29.11.2014 Views

Fast Models Reference Manual - ARM Information Center

Fast Models Reference Manual - ARM Information Center

Fast Models Reference Manual - ARM Information Center

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Peripheral and Interface Components<br />

10. At the prompt that informs you of the changes that the script is to make to your system,<br />

input Yes if you are happy to accept these changes, or input No to leave your system<br />

unchanged.<br />

Warning<br />

After entering Yes, you might temporarily lose network connectivity. Also, the IP address<br />

of the system might change.<br />

11. The network bridge is disabled after the host system is reset. If you want the host system<br />

to be configured to support RTSM bridged networking, you might have to create links to<br />

the init script (FMNetwork) in appropriate directories on your system. The script<br />

suggests some appropriate links for Red Hat Enterprise Linux 5.<br />

Note<br />

You only have to perform the above steps once, at the beginning.<br />

Configuring the networking environment<br />

Using System Canvas or a related <strong>Fast</strong> <strong>Models</strong> tool, load the required project or model and select<br />

your component. For more information, see the <strong>Fast</strong> <strong>Models</strong> User Guide.<br />

Set the following parameters on the HostBridge and SMSC_91C111 components. Enter:<br />

hostbridge.interfaceName="<strong>ARM</strong>"<br />

smsc_91c111.enabled=1<br />

where <strong>ARM</strong> is the adapter built into the network bridge.<br />

Note<br />

Firewall software might block network traffic in the network bridge, and might result in a<br />

networking failure in the model. If the model does not work after configuration, check the<br />

firewall settings.<br />

5.6.4 Disabling and re-enabling networking<br />

You can disable RTSM networking without having to uninstall it. Use the installed init script<br />

(by default, /etc/init.d/FMNetwork) for this purpose.<br />

To disable RTSM networking, invoke the init script as root with the parameter stop. For<br />

example, sudo /etc/init.d/FMNetwork stop. To re-enable RTSM networking, invoke the init<br />

script as root with the parameter start. For example, sudo /etc/init.d/FMNetwork start.<br />

Warning<br />

These operations remove/restore TAP devices and the network bridge. There is a temporary loss<br />

of network connectivity and your IP address might change.<br />

5.6.5 Uninstalling networking<br />

To uninstall networking:<br />

1. In a shell window, change to the bin directory of your <strong>Fast</strong> <strong>Models</strong> installation. For<br />

example, cd /<strong>Fast</strong>ModelPortfolio_X.Y/ModelNetworking<br />

2. Run remove_adapters.sh as root, passing the location of the init script (FMNetwork) as<br />

an argument. For example, sudo ./remove_adapters.sh /etc/init.d/FMNetwork<br />

<strong>ARM</strong> DUI 0423J Copyright © 2008-2011 <strong>ARM</strong>. All rights reserved. 5-162<br />

ID051811<br />

Non-Confidential

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!