Menu

WANem Automatic Start

Threenub
2012-08-30
2013-02-03
  • Threenub

    Threenub - 2012-08-30

    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

     
  • buzzLightYear

    buzzLightYear - 2012-08-30

    You can create a shell script that does all the mentioned activities and call it at the end of wanem_init.sh

     
  • Threenub

    Threenub - 2012-08-30

    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.

     
  • buzzLightYear

    buzzLightYear - 2012-08-30

    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

     

Log in to post a comment.