LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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-04-2004, 06:33 PM   #1
Ironica
Member
 
Registered: Jan 2003
Distribution: LFS
Posts: 64

Rep: Reputation: 15
Unhappy ifconfig ppp0 hw ppp....


Hey,
I'm trying to "up" my Alcatel SpeedTouch USB modem manually (with ifconfig). At the moment, I have a program that does it, but I need to be able to do it manually (because program is used for loading a driver, which I will no longer need. I will use the one compiled into my kernel.). At the moment, running:
# ifconfig ppp0
gives me this output:
Code:
ppp0      Link encap:Point-to-Point Protocol
          inet addr:x.x.x.x  P-t-P:x.x.x.x  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:416 errors:0 dropped:0 overruns:0 frame:0
          TX packets:397 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:253765 (247.8 Kb)  TX bytes:62621 (61.1 Kb)
Now, I need to do that without the program. If I run:
# ifconfig ppp0 up
without running the program, I get something like:
ppp0: unknown interface
So, I figured I have to specify what ppp0 is, somehow...
# ifconfig ppp0 hw ppp
But that gives out something like:
hw address type `ppp' has no handler to set address. failed.
SSH_AGENT_PID=1657: obscure host
ifconfig: `--help' gives usage information.
I don't know the device's hardware address, but I should be able to figure it out, if I need to. Since it's a USB device, should I give the address of the USB hub? So anyway, I tryed this, not expecting it to work, just to see what happens:
ifconfig ppp0 hw ppp 0
And that just gives the same 1st line as before:
hw address type `ppp' has no handler to set address. failed.

To be honest, I'm not so sure what I'm doing. I've only ever used ifconfig before, for the occasional "eth0 up" etc. But if anyone knows what I have to do, please help me out =)
Anyone?
 
  


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
ifconfig ppp0 ?????? nostromo Linux - Networking 3 03-27-2005 07:26 AM
ifconfig ppp0 reading incorrect colabus Debian 1 02-20-2005 03:47 PM
PPP byte count using ifconfig TruView Linux - Networking 3 10-09-2004 08:47 PM
Endless Loop: ppp0 Unregister Netdevice: waiting for ppp0 to be free. oberon-ken-obi Linux - Networking 1 07-20-2004 11:04 PM
adding ppp0 to ifconfig rains Linux - Networking 4 09-28-2003 09:00 AM

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

All times are GMT -5. The time now is 03:22 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