LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Cable modem Via USB (https://www.linuxquestions.org/questions/linux-hardware-18/cable-modem-via-usb-477585/)

phsythax 08-26-2006 12:18 PM

Cable modem Via USB
 
I have connected my box with a Cable Modem via USB, but it cant connect to the internet. I have enabled USB DSL modem support in the kernel (device drivers-> usb support-> USB DSL modem support->[*] USB DSL modem support & all other options) but it still doesnt work, Can anyone help me?

Code:

# lsusb
...
Bus 003 Device 002: ID 07b2:5100 Motorola BCS, Inc. SurfBoard SB5100 Cable Modem
...


ta0kira 08-26-2006 03:49 PM

What exactly have you tried? Have you checked /var/log/messages for a device name? After you have a device name, all you need to do is 'dhcpcd', 'ifconfig <device> up', and set up the DNS server name in '/etc/resolv.conf'.
ta0kira

phsythax 08-27-2006 03:23 AM

Quote:

Originally Posted by ta0kira
What exactly have you tried? Have you checked /var/log/messages for a device name? After you have a device name, all you need to do is 'dhcpcd', 'ifconfig /dev/device up', and set up the DNS server name in '/etc/resolv.conf'.
ta0kira

I have checked /var/log/messsages but it cant find any device name, maybee i am looking for the wrong thing, what am i "supposed" to find? can you give an example?

ta0kira 08-27-2006 08:21 AM

Before you connect or turn the modem on, type
Code:

tail -f /var/log/messages
This will show the end of the messages and will follow them as the file grows. Next, attach the modem via USB and turn it on (after you've loaded your modules, of course.) You should get several lines telling about the device. Somewhere in there you should see a line with a device name, such as
Code:

Aug 27 09:16:40 darkstar kernel: [4295058.178000]  sdc: sdc1
If not, then you need to obtain and/or load a different module. If possible you should try to connect through an ethernet card; that's MUCH more likely to work, and shouldn't require any additional modules.
ta0kira

phsythax 08-27-2006 08:44 AM

Quote:

Originally Posted by ta0kira
Before you connect or turn the modem on, type
Code:

tail -f /var/log/messages
This will show the end of the messages and will follow them as the file grows. Next, attach the modem via USB and turn it on (after you've loaded your modules, of course.) You should get several lines telling about the device. Somewhere in there you should see a line with a device name, such as
Code:

Aug 27 09:16:40 darkstar kernel: [4295058.178000]  sdc: sdc1
If not, then you need to obtain and/or load a different module. If possible you should try to connect through an ethernet card; that's MUCH more likely to work, and shouldn't require any additional modules.
ta0kira
ta0kira

but i havnt installed any extra modules, how do i find out what modules i need?

lazlow 08-27-2006 01:41 PM

phsthx

You are aware that hooking to the modem with usb will be much, much slower than using ethernet? Adding an ethernet card is a $10, half hour deal.

Lazlow

phsythax 08-27-2006 02:21 PM

Quote:

Originally Posted by lazlow
phsthx

You are aware that hooking to the modem with usb will be much, much slower than using ethernet? Adding an ethernet card is a $10, half hour deal.

Lazlow

yes i am aware of that fact, but untill my long ago ordered new modem arrives, i think i will use the not-fried usb port that i got left in my old modem.


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