Ubuntu Main Menu
| DHCP3-Server on Ubuntu Desktop 8.10 |
|
|
|
Написано от myOltrans
Сряда, 18 Март 2009 21:25
Последно променен на Сряда, 18 Март 2009 21:40
Dhcp3-server fails to start after rebootDHCP requires a static IP address and is looking for it here - /etc/network/interfaces. But Ubuntu 8.10 uses NetworkManager 0.7 which does not write static IP configuration to /etc/network/interfaces . If you rely on your network connection being constantly up during boot, you have to disable NetworkManager for the time being. Remove the NetworkManager: sudo update-rc.d NetworkManager remove You can also uninstall NetworkManager: sudo apt-get remove network-manager Set manually static IP: sudo gedit /etc/network/interfaces and add: auto eth0 iface eth0 inet static address 192.168.1.10 netmask 255.255.255.0 network 192.168.1.1 broadcast 192.168.1.255 gateway 192.168.1.1 Save the file and close gedit. Configure default nameserver: sudo gedit /etc/resolv.conf and add: nameserver 192.168.1.1 save the file and close gedit. Configure default interfaces for DHCP: sudo gedit /etc/default/dhcp3-server find this line: INTERFACES="" and replace with: INTERFACES="eth1" save the file and close gedit. Restart Networking: sudo /etc/init.d/networking restart Reboot your LTSP serve and check if DHCP is started in syslog. |


