Jump to content

RCA Cable Modem through 3 Com ethernet


Steve Scrimpshire
 Share

Recommended Posts

I use Comcast Cable internet and this is what I had in Michigan also. I moved back to Mississippi and I knew the RCA cable modem would work in Linux through the USB using the CDCEther module. Using USB, this is what I did: Added a line in /etc/modules.conf that said alias eth0 CDCEther, then created an /etc/sysconfig/network-scripts/ifcfg-eth0 that looks like this:

DEVICE="eth0"
BOOTPROTO="dhcp"
ONBOOT="yes"

 

After I do ifup eth0, the ifcfg-eth0 file gets changed to this:

DEVICE="eth0"
BOOTPROTO="dhcp"
ONBOOT="yes"
IPADDR=""
NETMASK=""
IPXNETNUM_802_2=""
IPXPRIMARY_802_2="no"
IPXACTIVE_802_2="no"
IPXNETNUM_802_3=""
IPXPRIMARY_802_3="no"
IPXACTIVE_802_3="no"
IPXNETNUM_ETHERII=""
IPXPRIMARY_ETHERII="no"
IPXACTIVE_ETHERII="no"
IPXNETNUM_SNAP=""
IPXPRIMARY_SNAP="no"
IPXACTIVE_SNAP="no"

 

apparently by the dhcp server. Now. through USB, I didn't even have the dhcpcd package installed (apparently, it's built into the CDCEther module?).

 

Now the problem:

I decided to try to hook the cable modem up to my ethernet card (Gigabit LAN onboard on my Asus a7v600), which I know works in Linux, because that is how I had our two computers networked up there in Michigan. This is how I configured it: I changed the line in /etc/modules.conf to alias eth0 3c2000 and installed the dhcpcd package. I've tried bringing the interface up with dhcpcd running and without it, with the same results. Doing ifup eth0 gives me this in my syslog:

 

 Oct 30 17:24:34 omarserenity network: Setting network parameters:  succeeded
Oct 30 17:24:34 omarserenity network: Bringing up loopback interface:  succeeded
Oct 30 17:24:34 omarserenity network: Enabling IPv4 packet forwarding succeeded
Oct 30 17:24:35 omarserenity kernel: 3C2000: 3Com Gigabit NIC Driver Version A11
Oct 30 17:24:35 omarserenity kernel: Copyright (C) 2003 3Com Corporation.
Oct 30 17:24:35 omarserenity kernel: Copyright (C) 2003 Marvell.
Oct 30 17:24:35 omarserenity kernel: eth0, Port A: Duplex setting not possible i 
n
Oct 30 17:24:35 omarserenity kernel:     default AutoNegotiation mode (Sense).
Oct 30 17:24:35 omarserenity kernel:     Using AutoNegotiation On
Oct 30 17:24:35 omarserenity kernel: eth0: 3Com Gigabit LOM (3C940)
Oct 30 17:24:35 omarserenity kernel:       PrefPort:A  RlmtMode:Check Link State
Oct 30 17:24:35 omarserenity ifplugd(eth0)[30824]: Using interface eth0/00:0C:6E 
:84:CA:EF
Oct 30 17:24:35 omarserenity ifplugd(eth0)[30824]: Failed to find working plug d 
etection mode for eth0
Oct 30 17:24:35 omarserenity ifplugd(eth0)[30824]: Executing '/etc/ifplugd/ifplu 
gd.action eth0 up'.
Oct 30 17:24:36 omarserenity kernel: eth0: network connection up using port A
Oct 30 17:24:36 omarserenity kernel:     speed:           100
Oct 30 17:24:36 omarserenity kernel:     autonegotiation: yes
Oct 30 17:24:36 omarserenity kernel:     duplex mode:     full
Oct 30 17:24:36 omarserenity kernel:     flowctrl:        symmetric
Oct 30 17:24:36 omarserenity kernel:     scatter-gather:  enabled
Oct 30 17:24:38 omarserenity dhclient: DHCPREQUEST on eth0 to 255.255.255.255 po 
rt 67
Oct 30 17:24:46 omarserenity dhclient: DHCPREQUEST on eth0 to 255.255.255.255 po 
rt 67
Oct 30 17:25:11 omarserenity dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 p 
ort 67 interval 3
Oct 30 17:25:14 omarserenity dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 p 
ort 67 interval 7
Oct 30 17:25:21 omarserenity dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 p 
ort 67 interval 9
Oct 30 17:25:30 omarserenity dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 p 
ort 67 interval 13
Oct 30 17:25:34 omarserenity ifplugd(eth0)[30824]: Killing child.
Oct 30 17:25:34 omarserenity ifplugd(eth0)[30824]: client: Determining IP inform 
ation for eth0...
Oct 30 17:25:34 omarserenity ifplugd(eth0)[30824]: Program execution failed, ret 
urn value is 0.
Oct 30 17:25:34 omarserenity ifplugd(eth0)[30824]: Exiting.
Oct 30 17:25:34 omarserenity network: Bringing up interface eth0:  failed
Oct 30 17:25:43 omarserenity dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 p 
ort 67 interval 20
Oct 30 17:26:03 omarserenity dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 p 
ort 67 interval 9
Oct 30 17:26:12 omarserenity dhclient: No DHCPOFFERS received.
Oct 30 17:26:12 omarserenity dhclient: Trying recorded lease <<my ipaddress>>
Oct 30 17:26:22 omarserenity kernel: eth0: network connection down

 

Notice that it even tries to use the ipaddress I am supposed to have from the recorded lease file:

Oct 30 17:26:12 omarserenity dhclient: Trying recorded lease <<my ipaddress>>

but it fails.

Am I missing some configuration file for dhcpcd? If so, how do I set it up?

 

This is the output when I have it hooked up to USB:

Oct 30 17:36:21 omarserenity kernel: usb.c: registered new driver CDCEther
Oct 30 17:36:21 omarserenity kernel: CDCEther.c: Ethernet information found at d 
evice configuration.  Trying to use it anyway.
Oct 30 17:36:21 omarserenity kernel: CDCEther.c: Found Header descriptor, CDC ve 
rsion 110.
Oct 30 17:36:21 omarserenity kernel: CDCEther.c: Imperfect filtering support - n 
eed sw hashing
Oct 30 17:36:21 omarserenity kernel: CDCEther.c: Can't use SetEthernetMulticastF 
ilters request
Oct 30 17:36:21 omarserenity kernel: CDCEther.c: detected BULK OUT packets of si 
ze 64
Oct 30 17:36:21 omarserenity kernel: CDCEther.c: interrupt address: 5
Oct 30 17:36:21 omarserenity kernel: CDCEther.c: interrupt interval: 64
Oct 30 17:36:21 omarserenity /etc/hotplug/net.agent: invoke ifplugd eth0
Oct 30 17:36:21 omarserenity kernel: usb-uhci.c: ENXIO 80000600, flags 0, urb d0 
f2a240, burb d0f2a1c0
Oct 30 17:36:21 omarserenity kernel: CDCEther.c: usb_set_interface() failed
Oct 30 17:36:21 omarserenity kernel: CDCEther.c: Attempted to set interface 1
Oct 30 17:36:21 omarserenity kernel: CDCEther.c: To alternate setting       1
Oct 30 17:36:21 omarserenity kernel: CDCEther.c: CDCEther_open can't enable_net_ 
traffic() - -1
Oct 30 17:36:21 omarserenity ifplugd(eth0)[2549]: Using interface eth0/00:90:64: 
CA:06:12 with driver <CDCEther> (version: 0.98.6)
Oct 30 17:36:21 omarserenity kernel: usb-uhci.c: ENXIO 80000600, flags 0, urb d0 
f2a240, burb d0f2a1c0
Oct 30 17:36:21 omarserenity kernel: CDCEther.c: usb_set_interface() failed
Oct 30 17:36:21 omarserenity kernel: CDCEther.c: Attempted to set interface 1
Oct 30 17:36:21 omarserenity kernel: CDCEther.c: To alternate setting       1
Oct 30 17:36:21 omarserenity kernel: CDCEther.c: CDCEther_open can't enable_net_ 
traffic() - -1
Oct 30 17:36:21 omarserenity ifplugd(eth0)[2549]: Using detection mode: SIOCETHT 
OOL
Oct 30 17:36:21 omarserenity ifplugd(eth0)[2549]: ifplugd 0.15 successfully init 
ialized, link beat detected.
Oct 30 17:36:21 omarserenity kernel: CDCEther.c: eth0: Thomson Inc. Thomson DOCS 
IS Cable Modem 009064CA0612
Oct 30 17:36:21 omarserenity ifplugd(eth0)[2549]: Executing '/etc/ifplugd/ifplug 
d.action eth0 up'.
Oct 30 17:36:21 omarserenity kernel: CDCEther.c: eth0: 00:90:64:CA:06:12
Oct 30 17:36:21 omarserenity kernel: CDCEther.c: CDCEther_open failed intr_urb - 
22
Oct 30 17:36:21 omarserenity kernel: CDCEther.c: eth0: set multicast filters
Oct 30 17:36:21 omarserenity kernel: CDCEther.c: eth0: too many MC filters for h 
ardware, using allmulti
Oct 30 17:36:21 omarserenity last message repeated 4 times
Oct 30 17:36:23 omarserenity dhclient: DHCPREQUEST on eth0 to 255.255.255.255 po 
rt 67
Oct 30 17:36:23 omarserenity dhclient: DHCPREQUEST on eth0 to 255.255.255.255 po 
rt 67
Oct 30 17:36:23 omarserenity dhclient: DHCPACK from 10.177.8.1
Oct 30 17:36:23 omarserenity dhclient: DHCPACK from 10.177.8.1
Oct 30 17:36:23 omarserenity kernel: CDCEther.c: eth0: too many MC filters for h 
ardware, using allmulti
Oct 30 17:36:23 omarserenity kernel: CDCEther.c: eth0: too many MC filters for h 
ardware, using allmulti
Oct 30 17:36:23 omarserenity dhclient: bound to <<my ipaddress here>> -- renewal in 2841 
42 seconds.
Oct 30 17:36:23 omarserenity kernel: CDCEther.c: eth0: too many MC filters for h 
ardware, using allmulti
Oct 30 17:36:23 omarserenity kernel: CDCEther.c: eth0: too many MC filters for h 
ardware, using allmulti
Oct 30 17:36:23 omarserenity ifplugd(eth0)[2549]: client: Determining IP informa 
tion for eth0...SIOCADDRT: File exists
Oct 30 17:36:23 omarserenity dhclient: bound to <<my ip address here>> -- renewal in 2841 
42 seconds.
Oct 30 17:36:23 omarserenity ifplugd(eth0)[2549]: client:  done.
Oct 30 17:36:23 omarserenity ifplugd(eth0)[2549]: Program executed successfully.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...