LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-07-2004, 11:22 PM   #1
mittrekkie
LQ Newbie
 
Registered: Jul 2004
Posts: 16

Rep: Reputation: 0
Cable connection not working


I can't seem to get the Internet working. I am using a cable modem (Adelphia, Dynamic IP) through a router to my Broadcom 440x 10/100 NIC and am running MEPIS Linux (based on Debian), kernel version 2.4.22. The Internet works fine under Windows. "lsmod" shows the module "b44", and "modprobe b44" produces no message, confirming that it works. I also have tried the "bcm4400" driver (which if I recall correctly I got from the Internet), but "insmod bcm4400" produces the following error:

Using /lib/modules/2.4.22/kernel/drivers/net/bcm4400.o
/lib/modules/2.4.22/kernel/drivers/net/bcm4400.o: init_module: No such device
Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters."
You may find more information in syslog or the output from dmesg"

I don't know which is the correct driver nor why there appear to be two drivers for my NIC. "ifconfig" produces the following text:

eth0 Link encap:Ethernet HWaddr 00:0D:56:B2:68:69
inet addr:192.168.1.101 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3 errors:0 dropped:0 overruns:0 frame:0
TX packets:22 errors:0 dropped:0 overruns:0 carrier:9
collisions:0 txqueuelen:100
RX bytes:722 (722.0 b) TX bytes:3686 (3.5 KiB)
Interrupt:11

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:48 errors:0 dropped:0 overruns:0 frame:0
TX packets:48 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2880 (2.8 KiB) TX bytes:2880 (2.8 KiB)

"ping 192.168.1.1" (my router) appears to pause indefinetely after displaying "PING 192.168.1.1 (192.168.1.1): 56 data bytes", and "ping www.yahoo.com" results in the message "ping: unknown host www.yahoo.com". I don't know what level of automation I should expect in connecting to the Internet, how to test the connection, or in general what has to happen correctly to connect to the Internet, major roadblocks in my fixing the problem. Does anyone have any suggestions as to how to get it working? Thanks in advance for you help.
 
Old 08-08-2004, 01:25 AM   #2
Archite
Member
 
Registered: Jul 2004
Distribution: OpenBSD 3.5
Posts: 89

Rep: Reputation: 15
try typing route or netstat -rn and see if you have a default route to your gateway, which would be your routers ip. If not you may have to add one. Let me see if I can remember how to do this...

route add default gw 192.168.1.1 eth0

Don't take my word on that, I'm using OpenBSD and trying to remember how to do it on Linux. Hope that helps:-D
 
Old 08-08-2004, 09:40 AM   #3
mittrekkie
LQ Newbie
 
Registered: Jul 2004
Posts: 16

Original Poster
Rep: Reputation: 0
I'm not really sure how to read it, but here's the result from "netstat -rn"

Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0

I believe that there is a default route to the gateway based on that, but again, I don't really know what to look for. My experience with and knowledge in low-level networking are almost zero.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
My cable connection through router is like 56K connection ExtremeSupremacy Linux - Networking 1 07-10-2005 03:01 AM
Cable Connection Gerrard17 Linux - Newbie 1 08-27-2004 04:15 PM
Cable Connection Gerrard17 Linux - Networking 1 08-27-2004 04:11 PM
Cable connection with 9.1 nightowl512 Mandriva 1 12-20-2003 06:39 PM
AT&T Cable connection dameliod Linux - Networking 7 09-14-2002 03:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:22 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration