LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 07-12-2004, 03:02 PM   #1
pkuer
Member
 
Registered: Jul 2004
Posts: 37

Rep: Reputation: 15
network question


hi,

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.

thank you
 
Old 07-12-2004, 04:13 PM   #2
Ztyx
Member
 
Registered: Dec 2001
Location: Stockholm, Sweden
Distribution: Ubuntu, Kubuntu and Debian
Posts: 338

Rep: Reputation: 30
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?
 
Old 07-12-2004, 04:54 PM   #3
pkuer
Member
 
Registered: Jul 2004
Posts: 37

Original Poster
Rep: Reputation: 15
thank you for your help

here is the info after I type the ifconfig

lo Link encap: Local Loopback
ubet addr: 127.0.0.1 Mask: 255.0.0.0
UP LOOPBACK RUNNING MTU:16346 Metric:1
RX packets: 8 errors: 0 dropped : 0 overruns: 0 frame: 0
TX packets: 8 errors: 0 dropped: 0 overruns: 0 carrier: 0
collisions: 0 txqueaeleu: 0
RX bytes: 560 (560.0b) TX bytes: 560

I connect through LAN, I think i know the IP address, but it is not 127.0.0.1 so is that mean I have to reconfigure that, and how to?

thanks again
 
Old 07-12-2004, 08:04 PM   #4
utanja
Member
 
Registered: Apr 2004
Location: Europe:Salzburg Austria USA:Orlando,Florida;
Distribution: Debian
Posts: 643

Rep: Reputation: 32
if you running GNOME it is easy

click on Aplications>system tools>networking

make the appropriate changes and save
 
Old 07-12-2004, 08:16 PM   #5
twsnnva
Member
 
Registered: Oct 2003
Location: Newport News, Va
Distribution: Debian
Posts: 246

Rep: Reputation: 30
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'

Thomas
 
Old 07-12-2004, 11:16 PM   #6
pkuer
Member
 
Registered: Jul 2004
Posts: 37

Original Poster
Rep: Reputation: 15
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.
 
Old 07-13-2004, 12:09 AM   #7
twsnnva
Member
 
Registered: Oct 2003
Location: Newport News, Va
Distribution: Debian
Posts: 246

Rep: Reputation: 30
What is the make and model of your network card?
 
Old 07-13-2004, 10:46 AM   #8
pkuer
Member
 
Registered: Jul 2004
Posts: 37

Original Poster
Rep: Reputation: 15
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
 
Old 07-13-2004, 11:51 AM   #9
twsnnva
Member
 
Registered: Oct 2003
Location: Newport News, Va
Distribution: Debian
Posts: 246

Rep: Reputation: 30
Do thiis:

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


Try to ping linuxquestions.org (64.179.4.149)

Thomas
 
Old 07-13-2004, 03:33 PM   #10
pkuer
Member
 
Registered: Jul 2004
Posts: 37

Original Poster
Rep: Reputation: 15
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
 
Old 07-13-2004, 04:38 PM   #11
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
The package "bcm4400-source" is not in Woody/stable repository (but it's in testing and unstable). Read the package description:

http://packages.debian.org/testing/net/bcm4400-source

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.

http://www.debian.org/devel/debian-installer/
 
Old 07-13-2004, 05:59 PM   #12
twsnnva
Member
 
Registered: Oct 2003
Location: Newport News, Va
Distribution: Debian
Posts: 246

Rep: Reputation: 30
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

You need these 2 packages
module-assistant http://packages.debian.org/testing/m...dule-assistant
bcm4400-source http://packages.debian.org/testing/net/bcm4400-source

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.
 
Old 07-13-2004, 06:10 PM   #13
pkuer
Member
 
Registered: Jul 2004
Posts: 37

Original Poster
Rep: Reputation: 15
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.
 
Old 07-14-2004, 04:22 PM   #14
pkuer
Member
 
Registered: Jul 2004
Posts: 37

Original Poster
Rep: Reputation: 15
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?
 
Old 07-15-2004, 10:20 PM   #15
pkuer
Member
 
Registered: Jul 2004
Posts: 37

Original Poster
Rep: Reputation: 15
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!!!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
network question monohouse Linux - Software 6 12-17-2004 11:10 PM
Question 1 Firewall Log Question 2 Network Monitor Soulful93 Linux - Networking 4 08-04-2004 11:05 PM
Network question Scythe Slackware 4 07-15-2003 11:39 AM
Network Question Russy Linux - Networking 7 07-10-2003 10:36 PM
Network question o0k|ey Slackware 3 07-10-2003 04:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 07:22 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration