Easily Share Internet Connection in Ubuntu Ibex
So here is the case, you have more than one computers in your place, one internet connection, one of them (or all) has Ubuntu inside, and you want all of your pcs to be able to connect to internet through the Ubuntu pc. What you need to do in your Ubuntu pc (the gateway) is:
- Install dhcp server
sudo apt-get install dhcp3-server - Install firestarter
sudo apt-get install firestarter - Create symbolic link for dhcpd. Need to do this because firestarter looks for dhcpd, while in Ibex there’s only dhcpd3.
sudo ln -s /usr/sbin/dhcpd3 /usr/sbin/dhcpd - You might need to assign ipaddress to the network interface card that connect to your LAN.
sudo ifconfig eth0 192.168.0.1 - Run firestarter




- Just connect your other pcs to the hub/switch

Note:
- I used Intrepid Ibex.
- I connected the pcs through cable. Haven’t tried this method for sharing internet connection over wireless (adhoc).
Advertisement





