DebianThis forum is for the discussion of Debian Linux.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
They go by the ethX naming. Did you configure the network during install, or install straight from cd? If the latter, edit the file /etc/network/interfaces then bring the device up with ifup (or dhclient). Is the card detected by lspci -v?
Originally posted by codedv I have done the following:
Run lspci -v: It said the following.
00:13.0 Ethernet controller: Silicon Integrated Systems [SiS] SiS900 10/100 Ethernet (rev 02)
Subsytem: Silicon Integrated Systems [SiS] SiS900 10/100 Ethernet Adapter
Flags: bus master, medium devsel, latency 64, IRQ 12
I/O ports at e400 [size=256]
Memory ay e8000000 (32 bit, non-prefetchable) [size=4k]
Expansion ROM at e7000000 [disabled] [size=128k]
Capabilities:  Power MAnagement version 2
I'll assume that means that it can see it.
I checked the /dev/ directory. It contains no ethXX device files.
I edited the interfaces file to the following:
auto lo, eth0
iface lo inet loopback
iface eth0 inet dhcp
For obvious resons it did not work, as there is no device file called eth0.
I did install straight from the CD. I do not understand why installing the server distro of debian, network support isn't included by default.
Networking support is included by default you are however expected to configure the system to load the proper modules if it is not already built into the kernel. Try this as root in a console or console window modprobe sis900 if the module loads correctly then /etc/init.d/networking restart this will restart the networking and now that the module was loaded it should be able to get the DHCP lease from whatever server you have that gives you your IP. You may want to check in your /etc/resolv.conf and make sure that you have at least one nameserver in there or you will not be able to resolve internet addresses. To make the change permanent edit the file /etc/modules as root and put the sis900 module name on a line by itself and it will be loaded at boot. BTW what does uname -a say you are running for a kernel if this does not work.
Originally posted by codedv On using modprobe it said it was unable to locate the module. I'm assuming this means I need to obtain the source for the Sis900 driver and compile it into the kernel?
Yes if it is available for the 2.2 kernel that you must be running in my firewall's old kernel config which was using the 2.4.18-bf2.4 kernel which would have been installed if you used that option the module is compiled into the kernel so you should be able to use your network card if you are running that kernel so what does uname -a in a console window tell you?
Thanks for the all the help. I have compiled the latest kernel 2.4.23 and made sure I included the SiS900 support. After a bit of tweaking I have got it working - for the moment though I have had to set the interfaces file up as follows:
auto lo eth0 eth0:1
iface lo inet loopback
iface eth0 inet static
iface eth0:1 inet static
Unfortunatly using the dhcp option causes them not to work - the dhcp server does not give them ip addresses.
Again, thanks for all the help. Debian is very different from RedHat :s so I might need some more guidance.