LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-18-2003, 09:35 AM   #1
sukeshshetty
LQ Newbie
 
Registered: Mar 2003
Distribution: SuSE 8.0
Posts: 1

Rep: Reputation: 0
ip configuration for usb port


Hi guys,

Can anyone tell me howto assign ip to a modem on usb port.
I have SuSE 8.0 linux on my machine.
This modem is a cable modem. I have been assigned a static IP
but have no idea how to configure this for linux. This is not a DSL
service. I need no user/password configuration. All I need is to assign a IP address.

Hoping for a positive response.

Sukesh
 
Old 03-18-2003, 12:33 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
It depends if it uses PPP (kind of traditional modem) or works like NIC (Ethernet card).

From what you write, I assume it's closer to modem. If it uses PPP protocol, you need a kind of dialling (may not need to dial, but it's needed to create a ppp device). If you have the modem detected, you may use kppp (should be an option to set your IP) or create the file you need for it manually. The filename is /etc/ppp/pap-secrets. The format of the file is
yourlogin * yourpassword
yourIP
To use it and connect I use the command below (I have a similar connection, but it uses /dev/ttyS1 instead of USB, you need to change the device name):
pppd/dev/ttyS1 115200 modem defaultroute lock noauth login myloginhere
(115200 is my conection speed).
 
  


Reply



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
After plug in apacer ht202 usb mass storage into usb port. Nothing appear. tellmeimhong Linux - Hardware 3 02-04-2006 02:32 AM
Using an USB port as a standard DB9 Serial Port Lsteele Linux - Newbie 1 10-22-2005 09:48 AM
Any problems with USB-port PCMCIA cards and USB Floppy Drives? DreameR-X Linux - Laptop and Netbook 9 05-14-2005 01:37 PM
IrDA and USB configuration on laptop and port replicator SuSE_Lamer SUSE / openSUSE 2 03-06-2005 09:25 AM
linux locks up when usb mouse attached to usb port during startup. BGuy891653 Linux - Hardware 0 02-08-2004 05:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:24 PM.

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