Public bug reported:

I sometimes use my laptop as a DHCP-server for a network without
permanent Internet connection.

sudo su
iptables --table nat --append POSTROUTING --out-interface ppp0 -j MASQUERADE
iptables --append FORWARD --in-interface eth0 -j ACCEPT

ifconfig eth0 192.168.1.1 netmask 255.255.255.0 broadcast 192.168.1.255 up
/etc/init.d/dhcp*-server restart

/etc/sysctl.conf and /etc/dhcp3/dhcpd.conf have also been edited to my
choice. Everything works until I close the lid of the routing computer.
When I do the Internet connection is interrupted and I need to give the
restart-command to the dhcp-server to make it work again. I need to run
the dhcp-server with the computer's lid open.

** Affects: ubuntu
     Importance: Undecided
         Status: New

-- 
closing computer's lid interrupt network
https://bugs.launchpad.net/bugs/586198
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to