LinuxQuestions.org
Review your favorite Linux distribution.
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 06-15-2002, 07:44 AM   #1
nutshell
Member
 
Registered: Feb 2002
Distribution: Slackware 8.1
Posts: 244

Rep: Reputation: 30
Establish connection in command-line...


Hi,

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?

THnx
 
Old 06-15-2002, 12:48 PM   #2
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
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.
 
Old 06-15-2002, 03:16 PM   #3
X Predator X
Member
 
Registered: Apr 2002
Location: New Jersey, US
Distribution: Mandrake 10.1, SuSE 9.2, DSL
Posts: 30

Rep: Reputation: 15
yeah

speaking of dialing up....

has anyone found out how to connect to the net using a cable modem yet!?!?!?!

just wondering...email me if you have the answer
 
Old 06-15-2002, 04:31 PM   #4
Syncrm
Member
 
Registered: Aug 2001
Location: Lansing, Michigan
Distribution: slackware8+
Posts: 472

Rep: Reputation: 30
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.
 
Old 06-15-2002, 05:47 PM   #5
X Predator X
Member
 
Registered: Apr 2002
Location: New Jersey, US
Distribution: Mandrake 10.1, SuSE 9.2, DSL
Posts: 30

Rep: Reputation: 15
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
 
Old 06-15-2002, 09:40 PM   #6
rootman147
Member
 
Registered: May 2002
Location: Hangon...find / -name location
Distribution: Slackware
Posts: 46

Rep: Reputation: 15
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.
 
Old 06-16-2002, 01:42 AM   #7
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 261Reputation: 261Reputation: 261
Quote:
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.
 
Old 06-16-2002, 05:03 AM   #8
nutshell
Member
 
Registered: Feb 2002
Distribution: Slackware 8.1
Posts: 244

Original Poster
Rep: Reputation: 30
RIght now i've got a cable modem and a router. The router does everything for me. SO i jus need to connect the lan cable to my NIC, thats it.
 
Old 06-17-2002, 02:23 PM   #9
MobyTurbo
Member
 
Registered: May 2002
Location: Brooklyn, NY
Distribution: Slackware
Posts: 45

Rep: Reputation: 15
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.
 
Old 08-18-2002, 03:58 AM   #10
fantanas
LQ Newbie
 
Registered: Aug 2002
Location: New England (USA)
Posts: 10

Rep: Reputation: 0
SB4100 USB CABLE MODEM UNDER LINUX

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!"

Good luck. One less reason to use Windows!
 
Old 08-18-2002, 04:01 AM   #11
fantanas
LQ Newbie
 
Registered: Aug 2002
Location: New England (USA)
Posts: 10

Rep: Reputation: 0
SB4100 USB CABLE MODEM UNDER LINUX

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!"

Good luck. One less reason to use Windows!
 
  


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
unable to establish connection neerajchaudhari Linux - Software 2 09-14-2005 10:22 PM
I can't establish a connection in my router Murilo Linux - Wireless Networking 1 08-18-2005 02:04 PM
Please help me establish an internect connection AlexBell Linux - Hardware 1 05-23-2005 12:11 PM
cannot establish dial up connection Mr_C Linux - Networking 5 06-03-2004 10:32 PM
setup an internet connection from the command line Aljaber Linux - Networking 3 12-28-2003 07:48 PM

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

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

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
Open Source Consulting | Domain Registration