Click to See Complete Forum and Search --> : Help configuring eth0 on Debian
Tiomera
02-13-2003, 10:02 AM
Ok, I had problems installing my network with woody. Now I am running Slack 8.1. I have found out that the problem was I didnt have my network card properly configured. THe card is a realtek 8139, and I did have the right module up. IS there a way to use the information on Slack to setup Debian properly???
Thanks
:rolleyes:
ph34r
02-13-2003, 10:17 AM
Know your IP, netmask, broadcast (optional) and gateway? Also your DNS server.
$IP="192.168.0.10"
$NETMASK="255.255.255.0"
$BROADCAST="192.168.0.255"
$GATEWAY="192.168.0.1"
ifconfig eth0 $IP $NETMASK $BROADCAST
route add default gw $GATEWAY metric 1
Then make sure /etc/resolv.conf looks something like
search yourdomain.com
nameserver <ip of name server>
nameserver <ip of other name server>
z0mbix
02-13-2003, 10:42 AM
Add you network details to /etc/network/interfaces
Tiomera
02-13-2003, 10:49 AM
Originally posted by ph34r
Know your IP, netmask, broadcast (optional) and gateway? Also your DNS server.
$IP="192.168.0.10"
$NETMASK="255.255.255.0"
$BROADCAST="192.168.0.255"
$GATEWAY="192.168.0.1"
ifconfig eth0 $IP $NETMASK $BROADCAST
route add default gw $GATEWAY metric 1
Then make sure /etc/resolv.conf looks something like
search yourdomain.com
nameserver <ip of name server>
nameserver <ip of other name server>
Well I use adsl, which uses PPPoE to connect. I already have the client downloaded and ready. The thing is it works on Slack, not on debian. On debian my network card led is off, while on Slack it is on(that is how I assumed the card was the issue)
EDIT: spelling
z0mbix
02-13-2003, 11:14 AM
Originally posted by Tiomera
Well I use adsl, which uses PPPoE to connect. I already have the client downloaded and ready. The thing is it works on Slack, not on debian. On debian my network card led is off, while on Slack it is on(that is how I assumed the card was the issue)
EDIT: spelling
In that case, try the command /sbin/modprobe 8138too as root to see if the module gets loaded. Run /sbin/lsmod to find out which modules are loaded. I heard someone saying that this driver does not come with the default woody kernel and you may need to rebuild the kernel selecting this as a module. If the module loads fine just add 8138too to the /etc/modules file on a new line.
Tiomera
02-13-2003, 11:16 AM
Originally posted by z0mbix
In that case, try the command /sbin/modprobe 8138too as root to see if the module gets loaded. Run /sbin/lsmod to find out which modules are loaded. I heard someone saying that this driver does not come with the default woody kernel and you may need to rebuild the kernel selecting this as a module. If the module loads fine just add 8138too to the /etc/modules file on a new line.
So after the proper module is installed the card will be running on eth0?
bwkaz
02-13-2003, 01:55 PM
In theory. Check ifconfig -a to make sure, though.