LinuxQuestions.org
Register a domain and help support LQ
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 10-17-2003, 11:34 PM   #1
j4m13
Member
 
Registered: Sep 2001
Location: Denton, Texas
Distribution: slack 9.1
Posts: 32

Rep: Reputation: 15
Motorola SB5100 cable modem and Slack 9.1


There must be something very simple I've overlooked. I've R'd TFM, done searches, pored over how-to's and I'm stumped. I just recently loaded Slack 9.1 and have been trying to fire up my cable modem. The ethernet card (DLink 530TX+; 8139too driver, 8139cp uncommented out in /etc/hotplug/blacklist) seems to work; ifconfig gives me

eth0 Link encap:Ethernet HWaddr 00:40:05:88:09:07
inet addr:192.168.100.11 Bcast:192.168.100.255 Mask:255.255.255.0
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:96 errors:0 dropped:0 overruns:0 frame:0
TX packets:97 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:49330 (48.1 Kb) TX bytes:49530 (48.3 Kb)
Interrupt:11 Base address:0x1000

...then of course the loopback and ppp stuff. route -n gives me

Destination Gateway Genmask Flags Metric Ref Use Iface
66.90.132.6 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
192.168.100.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 66.90.132.6 0.0.0.0 UG 0 0 0 ppp0

(sorry for the formatting; I can't seem to get it to line up)

When I run route -n before starting up ppp, the second and fifth lines aren't there but everything else is.

One thing I've noticed is that there is no rc.netdevice file in /etc/rc.d where the manual says it ought to be. I've run netconfig from the command prompt several times, opting for DHCP each time. All the lights on the front of the cable modem are on or blinking except for Online. I've turned it off and on. Part of my confusion is that I still don't know for sure what a successful connection looks like; what happens when the connection is made? Any help would be deeply appreciated.
Jamie

Last edited by j4m13; 10-17-2003 at 11:41 PM.
 
Old 10-18-2003, 08:03 AM   #2
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 46
If the SB5100 is like the earlier models then you've got a USB and an ethernet interface yeah? If this is the case then I would use the ethernet connection and simply set that interface to use DHCP and thats it done. Also you mention the front light blinking - when it powers up, and there is no activity the send light should blink while it gets its "return path" then go steady; and the receive light should blink while it gest its "accept path" and then go steady. Once this is done then the online light should come on and stay on - not blinking - does it do this when you power it up? If not then sounds to me like the cable modem might not be getting the connection it expects. Having said this I'm going on what I know about the SB3100 and SB4100 which might not be exactly the same!

cheers

Jamie..
 
Old 10-18-2003, 09:18 AM   #3
j4m13
Member
 
Registered: Sep 2001
Location: Denton, Texas
Distribution: slack 9.1
Posts: 32

Original Poster
Rep: Reputation: 15
First, cheers for the prompt reply.

When I power up the modem, once it settles down I'm left with the top two lights steady and the third (I believe it's Send; not abso sure--I'm at work) blinks. Online has never to my recollection come on.

When you say set that interface to use DHCP, I have yet to learn how you actually do that. I would guess I have to add that to the modules list or build it into the kernel, but the fiddly particulars elude me. Willing but ignorant, me.

Thanks, Jamie
Jamie
 
Old 10-18-2003, 09:22 AM   #4
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 46
I imagine you can run netconfig again, or you can simply edit /etc/rc.d/rc.inet1.conf directly to set the interface to dhcp.

cheers

Jamie...
 
Old 10-18-2003, 02:35 PM   #5
j4m13
Member
 
Registered: Sep 2001
Location: Denton, Texas
Distribution: slack 9.1
Posts: 32

Original Poster
Rep: Reputation: 15
So far, whenever I've run netconfig I've chosen dhcp so I'm okay there. What I don't understand is how to poll the cable modem either from the command line or in kde. How will I know when the ethernet card talks to the modem, and how do I get mozilla, kmail, e.g. to look at it? Is it significant that I don't have a /etc/rc.d/rd.netdevice file? Thanks, Jamie
 
Old 10-18-2003, 04:42 PM   #6
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 46
Uhm... OK - lets start from the beginning.

I'm assuming that you are connecting your PC to the cable modem using ethernet not USB yeah?
What network card are you running in your box?

The fact that you've got no rc.netdevice isn't a problem if you've got the necessary code to drive the network card built into the kernel. If you've recompiled the kernel then this may be the case, if you haven't recompiled the kernel then this probably isn't the case - are you using a stock kernel or have you 'rolled your own'?

Assuming you are on a stock kernel then we'll need to get the right module loading at boot time by creating the correct rc.netdevice. This should be easy once you post what card you are using.

What do you mean by 'poll the modem'? At boot time (after the network card is detected) your machine will run dhcpcd to get an IP address from your ISPs DHCP server, that's it, the fact you've got a cable modem is transparent to your PC - it just sees a network connection.

You will know when the ethernet card can talk to the modem as you can ping the Surfboard modems on 192.168.100.1, also hopefully by this stage you should be able to get to the web! You don't need to tell mozilla, kmail or anything else about the cable modem. The reason for this is they talk to the operating system in terms of IP addresses, the OS knows you've got a network card that is connected using IP to a nework, and has a default route associated with it. You machine throws everything to this default route and through the magic of IP you get your data (or an error) back. If you were on a LAN then things would only be sent to your default route if it was't destined for the LAN.

cheers

Jamie...
 
Old 10-18-2003, 04:45 PM   #7
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 46
Damn, just noticed you have said you are using hotplug, and that you've uncommented the card.

From what you've posted from ifconfig it suggests that you have the kind of IP address that the SB returns when you don't get an answer from your ISPs DHCP server (192.168.100.X). However your routing table shows a ppp address.

Does your ISP use PPPoE? If this is the case - whats the ouput of ifconfig ppp0 or just the output of the entire ifconfig.

cheers

Jamie...
 
Old 10-19-2003, 12:42 AM   #8
j4m13
Member
 
Registered: Sep 2001
Location: Denton, Texas
Distribution: slack 9.1
Posts: 32

Original Poster
Rep: Reputation: 15
I really appreciate your taking the time to explain; really, it's soaking in. I see why the expression "polling the modem" doesn't make sense (I was expecting to send it a query or something and have it ID itself to me).

First off, the NIC is a D-Link DFE-530-TX+. Honestly, enabling vs. commenting out "8139cp" in /etc/rc.d/hotplug/blacklist doesn't seem to make much of a difference when I run ifconfig. The whole ifconfig output is:

eth0 Link encap:Ethernet HWaddr 00:40:05:88:09:07
inet addr:192.168.100.11 Bcast:192.168.100.255 Mask:255.255.255.0
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:9130 errors:0 dropped:0 overruns:0 frame:0
TX packets:9131 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:5375730 (5.1 Mb) TX bytes:5375990 (5.1 Mb)
Interrupt:11 Base address:0x1000

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:6 errors:0 dropped:0 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:300 (300.0 b) TX bytes:300 (300.0 b)

ppp0 Link encap:Point-to-Point Protocol
inet addr:207.136.53.174 P-t-P:66.90.132.6 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1524 Metric:1
RX packets:158 errors:0 dropped:0 overruns:0 frame:0
TX packets:166 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:112882 (110.2 Kb) TX bytes:21783 (21.2 Kb)

This is from running ifconfig in a terminal window inside kde, and the ppp stuff pertains to my old dialup, which I am still using to access the net (and send this, for example) until I get the cable modem up. When I run ifconfig before I startup kde and launch ppp I only get info on eth0 and lo. I don't know what PPPoE is, and I can't find any reference to it in the literature (read: Windows install instructions) that came from my cable company. Thanks again, Jamie
 
Old 10-20-2003, 09:51 AM   #9
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 46
OK, we'll need a few more details about your ISP. When I was using my SB modem here my ISP required me to register my MAC address with them. Does your ISP need you to do the same? It looks to me like you have either given your network card a static IP address or that it is failing to get an address back from your ISPs DHCP server.

Are there any messages in your logs (/var/log/syslog or /var/log/messages) that suggest the DHCP Client Daemon (dhcpcd) has failed to get an ip address? When you run ps -ef can you see dhcpcd running? The only other thing I can think of is that your ISP is using private address space (192.168.100.x) on its cable network, which is then NAT'd out onto the web somewhere, in which case everything should work.

Could you post your /etc/rc.d/rc.inet1.conf file so I can see how that is configure too? This has got to be something silly, which are often the hardest faults to find! Have you connected using this box under windows? This would verifty that your connection is working and that it's just the Linux configuration that needs sorting. Also, what does lsmod list (before you dialup).

cheers

Jamie...
 
Old 10-20-2003, 05:32 PM   #10
j4m13
Member
 
Registered: Sep 2001
Location: Denton, Texas
Distribution: slack 9.1
Posts: 32

Original Poster
Rep: Reputation: 15
Jamie,
I called my ISP (Charter) a few minutes ago and registered my cable modem's MAC ID with them. Then I turned off the surfboard and pc, waited awhile, and powered up the surfboard and rebooted.

Ran lsmod before running ppp; it does not list dhcp.

Here's the line from ps -ef's output referencing dhcp:
root 174 1 0 16:45 ? 00:00:00 /sbin/dhcpcd -t 10 -d eth0

I run ifconfig (before starting ppp) and get pretty much the same output as before:

eth0 Link encap:Ethernet HWaddr 00:40:05:88:09:07
inet addr:192.168.100.11 Bcast:192.168.100.255 Mask:255.255.255.0
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:13 errors:0 dropped:0 overruns:0 frame:0
TX packets:14 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:5060 (4.9 Kb) TX bytes:5188 (5.0 Kb)
Interrupt:11 Base address:0x1000

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:2 errors:0 dropped:0 overruns:0 frame:0
TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:100 (100.0 b) TX bytes:100 (100.0 b)


I don't see any references to dhcp in var/log/syslog or messages.

# /etc/rc.d/rc.inet1.conf
#
# This file contains the configuration settings for network interfaces.
# If USE_DHCP[interface] is set to "yes", this overrides any other settings.
# If you don't have an interface, leave the settings null ("").

# Config information for eth0:
IPADDR[0]=""
NETMASK[0]=""
USE_DHCP[0]="yes"
DHCP_HOSTNAME[0]=""

# Config information for eth1:
IPADDR[1]=""
NETMASK[1]=""
USE_DHCP[1]=""
DHCP_HOSTNAME[1]=""

# Config information for eth2:
IPADDR[2]=""
NETMASK[2]=""
USE_DHCP[2]=""
DHCP_HOSTNAME[2]=""

# Config information for eth3:
IPADDR[3]=""
NETMASK[3]=""
USE_DHCP[3]=""
DHCP_HOSTNAME[3]=""

# Default gateway IP address:
GATEWAY=""

# Change this to "yes" for debugging output to stdout. Unfortunately,
# /sbin/hotplug seems to disable stdout so you'll only see debugging output
# when rc.inet1 is called directly.
DEBUG_ETH_UP="no"

Can't tell you how much I appreciate all the help.
Jamie

Addendum: I just called Charter Pipeline to ask if there was a particular IP address I should be plugging in for the ISP, and was told no. "It should be automatic."

Last edited by j4m13; 10-20-2003 at 08:55 PM.
 
Old 10-21-2003, 03:04 AM   #11
j4m13
Member
 
Registered: Sep 2001
Location: Denton, Texas
Distribution: slack 9.1
Posts: 32

Original Poster
Rep: Reputation: 15
Late breaking news:

Spoke with support at my ISP. My cable modem won't talk to them. Later this week I'll set up a service call and hopefully learn something then. Funny, I never suspected the modem (you did, though); I was so sure it was just something I'd done wrong, not that it's certain I didn't. I'm still uneasy that lsmod doesn't show dhcp. Anyway, I'll let you know what I find out. Many thanks again in the meantime.
Jamie
 
Old 11-03-2003, 03:26 PM   #12
j4m13
Member
 
Registered: Sep 2001
Location: Denton, Texas
Distribution: slack 9.1
Posts: 32

Original Poster
Rep: Reputation: 15
Here's the happy ending: we got the cable guy out to the house. Turns out we had an HP50 in series with our cable hookup. It's a kind of bandwidth filter, allowing analog cable but not digital signals. Strange that the troubleshooters at the home office didn't mention that possibility. Once that was taken out of the circuit however, C.G. still had to try two other cable modems before we found one that would work. Apparently my Surfboard won't work. So, my cable is enabled. X^D I have learned several things, including:

When using the _ethernet_ connection between the modem and NIC, don't give the ISP your _USB_ MAC ID. Very important.

Jamie, thanks once again for your help. Next, the firewall.

Jamie

Last edited by j4m13; 11-03-2003 at 03:28 PM.
 
Old 11-05-2003, 08:28 AM   #13
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 46
Glad that you got it sorted - sorry that I kinda disappeared halfway through this problem I got snowed under at work.

IPTables filewalls are pretty easy but good luck anyway.

cheers

Jamie...
 
Old 11-05-2003, 08:47 AM   #14
darkelf
LQ Newbie
 
Registered: Nov 2003
Location: AUS.QLD.BRIS.HOME
Distribution: Redhat 8.0
Posts: 5

Rep: Reputation: 0
Quote:
Originally posted by j4m13
Here's the happy ending: we got the cable guy out to the house. Turns out we had an HP50 in series with our cable hookup. It's a kind of bandwidth filter, allowing analog cable but not digital signals. Strange that the troubleshooters at the home office didn't mention that possibility. Once that was taken out of the circuit however, C.G. still had to try two other cable modems before we found one that would work. Apparently my Surfboard won't work. So, my cable is enabled. X^D I have learned several things, including:

When using the _ethernet_ connection between the modem and NIC, don't give the ISP your _USB_ MAC ID. Very important.

Jamie, thanks once again for your help. Next, the firewall.

Jamie
Hey Jamie it sounds very like hassles I had with my sb4100. When my ISP had run out of ideas they charged me to send out a techie who eventually found that the previous techie (they also ran my phone lines) had inadvertantly put a similar filter on their side of the modem. Basically, next time, if the modem wont go on line check the physical lines between the modem and them first. The SB4100/5100's are hardware set to authenticate by MAC address only (well, the ones delivered in Australia anyway).
cheers,
Mark
 
  


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
MOTOROLA SB5100 SURFboard Cable Modem Support? Mee Linux - Networking 12 08-03-2005 04:58 PM
Networking with motoral cable modem sb5100 xiste Linux - Networking 7 03-19-2005 07:49 AM
USB Cable Modem- Motorola SURFboard SB5100 Medjai Slackware 5 10-12-2004 11:15 PM
Motorola SB5100 USB Cable Modem only works after booting from Windows mrdarka Linux - Hardware 5 09-02-2004 05:07 PM
Can't connect to internet with Motorola sb5100 cable modem with redhat 7 Omnius1 Linux - Hardware 3 04-28-2004 12:32 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration