DebianThis forum is for the discussion of Debian Linux.
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have just installed the Debian Linux. I used the CDs because I didn't have a network connection at that time. Now I can access the internet. Since I have not configure the network when I installed the system. Do I have to do it now if I want to use the internet. I add some address in the source.list file but they seems not work at all.
If you log in as the user root and run the command ifconfig, what output do you get? (just copy and paste here) It is important you have gotten an IP adress. Also, are you connecting to internet thrue a LAN, modem, DSL or anything else?
The only thing showing up is loopback. Your network is not configured. Did you configure networking when you installed Debian? Most likley the module that you need was not installed. Unless it's a very common network card Debian will not install it automatically. What is the output of 'lsmod'? What type and model of network card do you have? Less likley the interface is not up or configured. Run 'ifconfig eth0 2> /dev/null ; echo $?'. If the output is anything other than 0 then the module is not installed or it is not running, if it is 0 then you need to configure the /etc/inetwork/interfaces. It needs to look like this:
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
# The loopback interface
auto lo
iface lo inet loopback
# The first network card - this entry was created during the Debian installation
# (network, broadcast and gateway are optional)
auto eth0
iface eth0 inet static
address 192.168.1.1
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.254
of course using your ip settings. 'Then run /etc/init.d/networking restart'
I have not configure networking when I installed Debian because I didn't have a connection at that time.
the output of the 'ifconfig eth0 2> /dev/null ; echo $?' is not 0 but 1.
So that means the module is not installed? How can I install it?
I try the /etc/network/interfaces and have add in my IP address.
It just give me a error said 'No device' something like that.
And Unfortunately, I have not been able to intall the graphic interface like xfree86, so I can only work under a text edit interface now.
My network card is : Broadcom 440x 10/100 Integrated Controller
One of my friends told me I can use the command 'modconf' to add new module. Then is the above card information enough for it.
thanks
apt-get install bcm4400-sources
cd /usr/src
tar -xzf bcm4400.tar.gz
cd modules/src
make
make install
echo bcm4400 >> /etc/modules
modprobe bcm4400
/etc/init.d/networking restart
Now typing 'ifconfig eth0 2> /dev/null ; echo $?' should display 0. If your /etc/network/interfaces and /etc/resolv.conf are configured correctly networking should be working. You need to add the ip of your nameserver to /etc/resolv.conf.
You can add it like this echo "nameserver 192.168.1.254" >> /etc/resolv.conf
hi do you know which cd contain the bcm4400-sources package
I only burned the first and second cds, and it seems that package is not in those two cds. So I think I need to download the correct ISO and burn it again in order to install the networking card module.
thanks
It appears that this driver is included in the kernel version 2.4.22 and later versions. So the easiest way might be to do a reinstall using the Sarge beta installer.
You can download the packages on another system, put them on a floppy or burn them to a CD and install them manually with:
mount /dev/cdrom or /dev/fd0
cd /cdrom or /floppy
dpkg -i module-assistant bcm4400-source
cd /usr/src
tar -xzf bcm4400.tar.gz
cd modules/src
make
make install
echo bcm4400 >> /etc/modules
modprobe bcm4400
/etc/init.d/networking restart
I recommend using a cd if you will be downloading the packages on a windows box, because you may not have enabled vfat support which you will need to read the floppy in linux.
I have download the bcm4400-source package and get the bcm4400.tar.gz
but when I use the make to compile it, there is an error said /usr/include/asm/irq_vectors.h no such file or directory
Is it because I have not install the module -assistant package. I will try that first, anyway.
Thanks again for your warm help.
It still doesn't work. It is just in the /usr/include/asm/irq.h file, there is one line that #include 'irq_vectors.h' , but there is not such a file in that directory. what should I do now?
I copy the irq_vectors.h file from another guy's machine,
but after I try to compile it by typing 'make', it told me I need another .h file in the /usr/include/asm/ directory.
What can I do to fix this problem. This networking card seems gonna take me forever. help!!!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.