I plan to run the machine in a way that is as automatic as possible.
So far I have got it to do the following:
Boot
Assign Static IP
Assign Persistent Routes
Use a persistent set of settings
The last thing I would like to achieve is to have the WAN emulation process automatically start.
Is there a command line I can use to actually start WANem automatically?
At the moment i have to browse through the GUI and click the "Start WANem" button.
Thanks in advance!
Threenub
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Yes thats the path I was going down. But i am having a tough time figuring out how to actually start the simulation without having to login to the GUI and click the "Start WANem" button.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
1. Capture the tc command you would want to run as default settings from the WANem GUI.
2. You can use 'ifconfig eth0 <IP Address> and such commands to assign static IP to WANem machine at startup
3. Put the persistant route related commands again in a shell scripts.
4. It would be a better idea to have different shell scripts for the above mentioned activities.
5. Call those shell scripts in the required sequence towards the end of wanem_init.sh
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi All,
Just a quick one.
I have setup WANem as an appliance using the information found at http://www.ogris.de/howtos/wanem.html
I plan to run the machine in a way that is as automatic as possible.
So far I have got it to do the following:
Boot
Assign Static IP
Assign Persistent Routes
Use a persistent set of settings
The last thing I would like to achieve is to have the WAN emulation process automatically start.
Is there a command line I can use to actually start WANem automatically?
At the moment i have to browse through the GUI and click the "Start WANem" button.
Thanks in advance!
Threenub
You can create a shell script that does all the mentioned activities and call it at the end of wanem_init.sh
Yes thats the path I was going down. But i am having a tough time figuring out how to actually start the simulation without having to login to the GUI and click the "Start WANem" button.
1. Capture the tc command you would want to run as default settings from the WANem GUI.
2. You can use 'ifconfig eth0 <IP Address> and such commands to assign static IP to WANem machine at startup
3. Put the persistant route related commands again in a shell scripts.
4. It would be a better idea to have different shell scripts for the above mentioned activities.
5. Call those shell scripts in the required sequence towards the end of wanem_init.sh