Elric of Grans
03-01-2004, 11:19 PM
G'Day,
I switched from RedHat to Debian a few months ago, and have been going through the obvious confusion of everything being done differently. The last thing I need to do for my system to be back where it was before I made the switch is to get this system back on the LAN. Well, redhat-config-network doesn't exist (funny that :p ), so I'm currently fumbling through doing things the Debian way. I've activated the network things I need in kernel, have installed dhcpd and dhclient3. When I ran dhclient3, it couldn't get a lease though. Little wonder when it was trying to get a lease via lo rather than eth0!
I'm on a dhcp network, but have a static IP on it, so I set up /etc/network/interfaces like this:
# The loopback interface
# Interfaces that comes with Debian Potato does not like to see
# "auto" option before "iface" for the first device specified.
iface lo inet loopback
#iface eth0 inet static
# address 130.194.219.18
# netmask 255.255.255.0
# network 130.194.219.0
# broadcast 130.194.219.255
auto lo #eth0
I commented out the eth0 bits when, after doing /etc/init.d/network restart returned the following:
/etc/init.d/networking restart
Reconfiguring network interfaces: SIOCSIFADDR: No such device
eth0: ERROR while getting interface flags: No such device
SIOCSIFNETMASK: No such device
SIOCSIFBRDADDR: No such device
eth0: ERROR while getting interface flags: No such device
eth0: ERROR while getting interface flags: No such device
done.
Obviously I've skipped a step, but I'm not sure what, or where. I've tried looking about a bit, but have not had much success. I'm running a 2.4.22 kernel (yeah, I'd update it, but I need this working to get online), with Woody. My ethernet is on-board (I have a GA-8PE667). Sorry if I've missed out any information: I was not sure what else would be useful here.
Thanks.
I switched from RedHat to Debian a few months ago, and have been going through the obvious confusion of everything being done differently. The last thing I need to do for my system to be back where it was before I made the switch is to get this system back on the LAN. Well, redhat-config-network doesn't exist (funny that :p ), so I'm currently fumbling through doing things the Debian way. I've activated the network things I need in kernel, have installed dhcpd and dhclient3. When I ran dhclient3, it couldn't get a lease though. Little wonder when it was trying to get a lease via lo rather than eth0!
I'm on a dhcp network, but have a static IP on it, so I set up /etc/network/interfaces like this:
# The loopback interface
# Interfaces that comes with Debian Potato does not like to see
# "auto" option before "iface" for the first device specified.
iface lo inet loopback
#iface eth0 inet static
# address 130.194.219.18
# netmask 255.255.255.0
# network 130.194.219.0
# broadcast 130.194.219.255
auto lo #eth0
I commented out the eth0 bits when, after doing /etc/init.d/network restart returned the following:
/etc/init.d/networking restart
Reconfiguring network interfaces: SIOCSIFADDR: No such device
eth0: ERROR while getting interface flags: No such device
SIOCSIFNETMASK: No such device
SIOCSIFBRDADDR: No such device
eth0: ERROR while getting interface flags: No such device
eth0: ERROR while getting interface flags: No such device
done.
Obviously I've skipped a step, but I'm not sure what, or where. I've tried looking about a bit, but have not had much success. I'm running a 2.4.22 kernel (yeah, I'd update it, but I need this working to get online), with Woody. My ethernet is on-board (I have a GA-8PE667). Sorry if I've missed out any information: I was not sure what else would be useful here.
Thanks.