Results 1 to 4 of 4
Hi All
I've just installed Deb 3.1 (net install) for the first time (although I am a reasonably competent linux user). I am using kernel 2.4.27-2-386. I know the 2.6 ...
- 02-22-2007 #1Linux Newbie
- Join Date
- Aug 2004
- Location
- Malvern, UK
- Posts
- 132
Setting Default Interface ?
Hi All
I've just installed Deb 3.1 (net install) for the first time (although I am a reasonably competent linux user). I am using kernel 2.4.27-2-386. I know the 2.6 kernel would probably work better however there is a reason that I need to stay with 2.4.
Anyway, during install I found that the onboard nic (eth0 - broadcom chipset) would not connect so I added a D-Link DGE-530-T gigabit card. I got this working by issuing the following:
I then installed the necessary packages and rebooted. On reboot the kernel messages appear to show that the system is trying to connect eth0 via dhcp, it fails (obviously as its not connected and no driver installed) it then looks for eth1 but fails to load the driver.Code:modprobe sk98lin ifconfig eth1 up /etc/init.d/networking restart
What I want to achieve is to set things up to load the sk98lin module at boot and make eth1 the default connection so that I get a connection straight away, rather than having to type in the above command sequence every time.
My /etc/network/interfaces is shown below for info ( as you can see, no mention of eth0):
Any suggestions appreciated.Code:# This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # The loopback network interface auto lo iface lo inet loopback # The primary network interface auto eth1 iface eth1 inet static address 192.168.10.25 netmask 255.255.255.0 network 192.168.10.0 broadcast 192.168.10.255 gateway 192.168.10.1 # dns-* options are implemented by the resolvconf package, if installed dns-nameservers 192.168.10.2 dns-search <domain-name> name Ethernet LAN card
Regards
BuboMy Computer Once Beat Me at Chess, but it is No Match for Me at Kickboxing !
Registered Linux User: #417183
- 02-22-2007 #2Linux User
- Join Date
- Feb 2006
- Posts
- 484
echo sk98lin >> /etc/modules
- 02-22-2007 #3Linux Newbie
- Join Date
- Aug 2004
- Location
- Malvern, UK
- Posts
- 132
Thanks for the suggestion. However when I tried it I could then not connect to anything, internal or external? Just got "network unreachable" responses from ping requests.
Anything alse I could try?
BuboMy Computer Once Beat Me at Chess, but it is No Match for Me at Kickboxing !
Registered Linux User: #417183
- 02-22-2007 #4Linux User
- Join Date
- Feb 2006
- Posts
- 484
that command add the requested module name to the modules file which checked at boot time
what say the "ifconfig -a" command


Reply With Quote
