Skip to navigation
How to add a startup script for virtualbox server?
07.12.13
1. Install $ sudo apt-get install bridge-utils uml-utilities 2. example script vbserver.sh what get copied to /etc/init.d ###Start Script #!/bin/sh tunctl -t tap1 -u YOURUSERNAME chown root.vboxusers /dev/net/tun chmod g+rw /dev/net/tun brctl addbr br0 ifconfig eth0 0.0.0.0 promisc brctl addif br0 eth0 ifconfig br0 192.168.0.8 netmask 255.255.255.0 route add default gw 192.168.0.1 br0 brctl addif br0 tap1 ifconfig tap1 up ###End Script 3. make the script to get executed when it boots up. $ sudo update-rc.d -f vbserver.sh defaults
Reply
Anonymous
How to add a startup script for virtualbox server?
1. Install $ sudo apt-get install bridge-utils uml-utilities 2. example script vbserver.sh what get copied to /etc/init.d ###Start Script #!/bin/sh tunctl -t tap1 -u YOURUSERNAME chown root.vboxusers /dev/net/tun chmod g+rw /dev/net/tun brctl addbr br0 ifconfig eth0 0.0.0.0 promisc brctl addif br0 eth0 ifconfig br0 192.168.0.8 netmask 255.255.255.0 route add default gw 192.168.0.1 br0 brctl addif br0 tap1 ifconfig tap1 up ###End Script 3. make the script to get executed when it boots up. $ sudo update-rc.d -f vbserver.sh defaults
07.12.13
Reply
Anonymous
Information Epoch 1732415616
Allow the user to tailor the environment.
Home
Notebook
Contact us