Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Say i've got no gui. How do i make a SLIP or PPP connection to my ISP if i haven't got cable internet and need to use a command line interface? Any special programs i need?
You might be talking about minicom http://www.netsonic.fi/~walker/minicom.html , is it for dial-up? If you need for ADSL - PPP connection - roaring penguin rp-pppoe is your best bet.
huh? connect to the net using a cable modem? of course... i run multiple domains with everything from sendmail to http off my cable modem. so yeah... it's possible. :-)
come back with a specific problem and maybe we can help you.
I have the same modem, first off no usb n case you weren't sure. AFAIK it isn't the modem but the network card, first make sure it is configured correctly, rightdrivers and all that, then pull the modems plug and shutdown linux completely (power down) then after 30 seconds plug the modem back in it should do its little flashy light thing. When that finishes and you have 4 solid lights power up the linux machine, assuming the networking is done right the modem should give linux an ip addy and you should be online. Lemme know if it works.
Originally posted by X Predator X i run redhat 7.2
<-- it says over here
and whenever i turn on my cable modem...i cant log on.
i have Motorola SB4100 USB Cable Modem
i think i set up my adapters and everything right...but i can not get on to the internet with it.
if you can help me find a solution, please do tell
Didn't I already answer this for you, as of now, they don't have USB drivers available for Linux for this modem. If you have a ethernet card and a ethernet jack option on the modem, I would suggest going out and getting an ethernet card for your machine, it will be a cinch then to get going on the net with your modem.
For a PPP connection to a dial-up account (I think this is what you're asking) the easiest command line method is using wvdial. Your distribution may have already configured it for you as kinternet (and maybe kppp) use it behind the scenes.
Since so many have discussed how to connect a Motorola SB4100 modem under Linux through a USB port, I am happy to anounce that I have done it. I am using SuSE 8.0 professional distro (with the upgrade) and its 2.4.18 kernel. Here is how I have done it:
(1) Make sure that your kernel supports USB over Ethernet for this modem. To do that, configure your kernel (with an interface such as 'make xconfig', after changing to /usr/src/linux ) to allow experimental drivers; under the 'USB support' menu make sure that you activate 'USB Communication Class Ethernet device support (EXPERIMENTAL)'. The help for this selection explains that this driver is specifically designed for the SB4100 and other cable modems. (Therefore, whoever claims there are no drivers for this modem is DEAD WRONG!!!!) I compiled this as a module. (This code basically encapsulates the packets over the USB inteface to look like Ethernet.)
(2) Make sure that some form of pppd is running (in my distro it is smpppd). This daemon is used for serial connections, like dialup and USB modems.
(3) Make sure that USB and hotplugging are running.
(4) Make sure that the dhcpcd daemon has been installed in your system. This daemon is needed no matter if you are using the ethernet or the USB connection of your modem; it is responsible for negotiating the dynamic IP address allocation with your cable operator's server.
(5) When I connect the SB4100 to my USB port, hotplugging assigns it eth1 (see about the encapsulation above).
(6) Follow the normal procedures for bringing up the eth1 interface afterwards: 'ifconfig eth1 up' to bring up eth1 (I have not experimented with MAC address masquerading yet) and 'dhcpcd eth1' (by default, dhcpcd will modify your /etc/resolv.conf file and the routing tables of the kernel, unless you have configured it otherwise). You should be ready to go!
To everybody who says that the SB4100 cannot be connected to USB under Linux, I have to say, "You are wrong; if you are reading this, this is proof you wrong because I have my SB4100 connected to my laptop which is running Linux as I am typing this!"
Since so many have discussed how to connect a Motorola SB4100 modem under Linux through a USB port, I am happy to anounce that I have done it. I am using SuSE 8.0 professional distro (with the upgrade) and its 2.4.18 kernel. Here is how I have done it:
(1) Make sure that your kernel supports USB over Ethernet for this modem. To do that, configure your kernel (with an interface such as 'make xconfig', after changing to /usr/src/linux ) to allow experimental drivers; under the 'USB support' menu make sure that you activate 'USB Communication Class Ethernet device support (EXPERIMENTAL)'. The help for this selection explains that this driver is specifically designed for the SB4100 and other cable modems. (Therefore, whoever claims there are no drivers for this modem is DEAD WRONG!!!!) I compiled this as a module. (This code basically encapsulates the packets over the USB inteface to look like Ethernet.)
(2) Make sure that some form of pppd is running (in my distro it is smpppd). This daemon is used for serial connections, like dialup and USB modems.
(3) Make sure that USB and hotplugging are running.
(4) Make sure that the dhcpcd daemon has been installed in your system. This daemon is needed no matter if you are using the ethernet or the USB connection of your modem; it is responsible for negotiating the dynamic IP address allocation with your cable operator's server.
(5) When I connect the SB4100 to my USB port, hotplugging assigns it eth1 (see about the encapsulation above).
(6) Follow the normal procedures for bringing up the eth1 interface afterwards: 'ifconfig eth1 up' to bring up eth1 (I have not experimented with MAC address masquerading yet) and 'dhcpcd eth1' (by default, dhcpcd will modify your /etc/resolv.conf file and the routing tables of the kernel, unless you have configured it otherwise). You should be ready to go! 'lsmod' should show that the module 'CDCEther' (responsible for the USB-over-Ethernet encapsulation) has been loaded and is used.
To everybody who says that the SB4100 cannot be connected to USB under Linux, I have to say, "You are wrong; if you are reading this, this is proof you wrong because I have my SB4100 connected to my laptop which is running Linux as I am typing this!"
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.