![]() | ![]() | ![]() | Using Debian From Scratch | ![]() |
---|
If your network hardware was detected and your LAN uses DHCP, you can simply say ifup eth0. Your network will be activated.
If your LAN does not use DHCP, you will need to edit /etc/networking/interfaces. You should delete the eth0 line and replace it with something along these lines:
iface eth0 inet static address 192.168.0.4 netmask 255.255.255.0 gateway 192.168.0.1
Then run ifup eth0. You'll also need to edit /etc/resolv.conf and add a line such as nameserver 192.168.0.1 to specify your nameserver. (If you run DHCP, this is usually taken care of for you, but you may occasionally need to do it anyway.)
If you are using wireless networking, first make sure that your hardware is detected. Sometimes the device name is not eth0; if so, figure out what your device is called. If your network is open -- has no encryption -- you should be able to enable your wireless device the same as a wired device. Otherwise, you will need to modify /etc/network/interfaces as described in the file /usr/share/doc/wireless-tools/README.Debian on the live DFS system.
<<< Detecting Hardware | Dialup with PPP >>> |