LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 06-16-2004, 11:33 PM   #1
jrdioko
Member
 
Registered: Oct 2002
Distribution: Debian 6.0.2 (squeeze)
Posts: 944

Rep: Reputation: 30
Exclamation pppd doesn't recognize device


This is a strange problem. I set up my modem (ran pppsetup, checked that /etc/ppp/options had been created properly, confirmed that /dev/modem was listed there and that /dev/modem was a link to the correct device), and ran ppp-go to test. I immediately received the error:

Code:
/usr/sbin/pppd: In file /etc/ppp/options: unrecognized option '/dev/modem'
I played around with removing this line altogether, just putting "modem" instead of "/dev/modem", looking through man pppd, but nothing worked and I couldn't figure out what was wrong. What is going on here?

Thanks,
Johnathan
 
Old 06-16-2004, 11:58 PM   #2
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
what modem you got ? are drivers installed and loaded ?
 
Old 06-17-2004, 01:06 AM   #3
jrdioko
Member
 
Registered: Oct 2002
Distribution: Debian 6.0.2 (squeeze)
Posts: 944

Original Poster
Rep: Reputation: 30
I have a winmodem (don't know off the top of my head the name), but I've gone through exact procedures for configuring the drivers for the modem for this laptop. The program/driver (slmodemd) creates a device /dev/ttySL0, which I've symlinked to /dev/modem. I tried replacing /dev/modem in /etc/ppp/options with /dev/ttySL0, but that doesn't work either. The error message almost sounds like it's an error in syntax, but all the reading I did in man pppd made it sound like that's the proper way to do it.
 
Old 06-17-2004, 01:25 AM   #4
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 58
Post the modem onfo listed by this command:

cat /proc/pci
 
Old 06-17-2004, 02:28 AM   #5
jrdioko
Member
 
Registered: Oct 2002
Distribution: Debian 6.0.2 (squeeze)
Posts: 944

Original Poster
Rep: Reputation: 30
What gets me about all this is that it says "unrecognized option" which makes me think it's something about the /etc/ppp/options file not having the proper syntax that pppd requires rather than an actual problem with the modem.

Here's my /proc/pci:

PCI devices found:
Bus 0, device 0, function 0:
Host bridge: Intel Corp. 82855PM Processor to I/O Controller (rev 3).
Prefetchable 32 bit memory at 0xd0000000 [0xdfffffff].
Bus 0, device 1, function 0:
PCI bridge: Intel Corp. 82855PM Processor to AGP Controller (rev 3).
Master Capable. Latency=96. Min Gnt=12.
Bus 0, device 29, function 0:
USB Controller: Intel Corp. 82801DB USB (Hub #1) (rev 1).
IRQ 11.
I/O at 0x1800 [0x181f].
Bus 0, device 29, function 1:
USB Controller: Intel Corp. 82801DB USB (Hub #2) (rev 1).
IRQ 11.
I/O at 0x1820 [0x183f].
Bus 0, device 29, function 2:
USB Controller: Intel Corp. 82801DB USB (Hub #3) (rev 1).
IRQ 11.
I/O at 0x1840 [0x185f].
Bus 0, device 29, function 7:
USB Controller: Intel Corp. 82801DB USB2 (rev 1).
IRQ 11.
Non-prefetchable 32 bit memory at 0xc0000000 [0xc00003ff].
Bus 0, device 30, function 0:
PCI bridge: Intel Corp. 82801BAM/CAM PCI Bridge (rev 129).
Master Capable. No bursts. Min Gnt=4.
Bus 0, device 31, function 0:
ISA bridge: Intel Corp. 82801DBM LPC Interface Controller (rev 1).
Bus 0, device 31, function 1:
IDE interface: Intel Corp. 82801DBM Ultra ATA Storage Controller (rev 1).
IRQ 11.
I/O at 0x1860 [0x186f].
Non-prefetchable 32 bit memory at 0x20000000 [0x200003ff].
Bus 0, device 31, function 3:
SMBus: Intel Corp. 82801DB/DBM SMBus Controller (rev 1).
IRQ 11.
I/O at 0x1880 [0x189f].
Bus 0, device 31, function 5:
Multimedia audio controller: Intel Corp. 82801DB AC'97 Audio Controller (rev 1).
IRQ 11.
I/O at 0x1c00 [0x1cff].
I/O at 0x18c0 [0x18ff].
Non-prefetchable 32 bit memory at 0xc0000c00 [0xc0000dff].
Non-prefetchable 32 bit memory at 0xc0000800 [0xc00008ff].
Bus 0, device 31, function 6:
Modem: Intel Corp. 82801DB AC'97 Modem Controller (rev 1).
IRQ 11.
I/O at 0x2400 [0x24ff].
I/O at 0x2000 [0x207f].
Bus 1, device 0, function 0:
VGA compatible controller: ATI Technologies Inc Radeon R250 Lf [Radeon Mobility 9000 M9] (rev 2).
IRQ 11.
Master Capable. Latency=66. Min Gnt=8.
Prefetchable 32 bit memory at 0xe0000000 [0xe7ffffff].
I/O at 0x3000 [0x30ff].
Non-prefetchable 32 bit memory at 0xc0100000 [0xc010ffff].
Bus 2, device 0, function 0:
CardBus bridge: PCI device 104c:ac46 (Texas Instruments) (rev 1).
IRQ 11.
Master Capable. Latency=168. Min Gnt=192.Max Lat=5.
Non-prefetchable 32 bit memory at 0xb0000000 [0xb0000fff].
Bus 2, device 0, function 1:
CardBus bridge: PCI device 104c:ac46 (Texas Instruments) (rev 1).
IRQ 11.
Master Capable. Latency=168. Min Gnt=192.Max Lat=5.
Non-prefetchable 32 bit memory at 0xb1000000 [0xb1000fff].
Bus 2, device 1, function 0:
Ethernet controller: PCI device 8086:101e (Intel Corp.) (rev 3).
IRQ 11.
Master Capable. Latency=64. Min Gnt=255.
Non-prefetchable 32 bit memory at 0xc0220000 [0xc023ffff].
Non-prefetchable 32 bit memory at 0xc0200000 [0xc020ffff].
I/O at 0x8000 [0x803f].
Bus 2, device 2, function 0:
Network controller: Intel Corp. PRO/Wireless LAN 2100 3B Mini PCI Adapter (rev 4).
IRQ 11.
Master Capable. Latency=64. Min Gnt=2.Max Lat=34.
Non-prefetchable 32 bit memory at 0xc0210000 [0xc0210fff].
 
Old 06-17-2004, 04:02 PM   #6
jrdioko
Member
 
Registered: Oct 2002
Distribution: Debian 6.0.2 (squeeze)
Posts: 944

Original Poster
Rep: Reputation: 30
Ok, I figured out what was wrong. The driver that I'm using tells you to run slmodemd which then states that the device has been created, but I guess as soon as slmodemd quits the device no longer exists. slmodemd has to be running before I do ppp-go for it to work. Problem solved... at least that part.

Now I type ppp-go and I get a "Connect script failed." What could be causing this?

[edit:]
Also, how can I make this slmodemd startup and run as root at startup rather than having to start and background it every time?

Last edited by jrdioko; 06-17-2004 at 04:04 PM.
 
Old 06-17-2004, 04:39 PM   #7
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 58
If slackware has an /etc/rc.d/rc.local file, add what you want to run at the bottom of that file.

That should be the last script run upon boot.
 
Old 06-17-2004, 06:17 PM   #8
jrdioko
Member
 
Registered: Oct 2002
Distribution: Debian 6.0.2 (squeeze)
Posts: 944

Original Poster
Rep: Reputation: 30
Opps, now I've messed things up. I assume to run slmodemd I need to put "slmodemd &" instead of "slmodemd" in that file? Now I boot up, it starts it, and then it just stops the bootup process entirely. Ctrl-c doesn't work either. I can't get in to change the file, now what do I do?
 
Old 06-17-2004, 06:32 PM   #9
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 58
Any hints on the download page?

<subtle hint>
buy external serial port modems that really are modems and will work with all OSs. Boycot winmodems.
</subtle hint>
 
Old 06-17-2004, 09:05 PM   #10
jrdioko
Member
 
Registered: Oct 2002
Distribution: Debian 6.0.2 (squeeze)
Posts: 944

Original Poster
Rep: Reputation: 30
How about a subtle hint of persistence instead? I got in with a boot disk and added the '&' so it would boot up, and I used kppp instead of ppp-go to dialup and it worked fine. I'm only using this modem over the summer before I go to college and use their LAN and wireless connections, so there's no need to shell out more money for a serial modem when I can get this one working as I did.

Thanks all for your help!
 
Old 06-17-2004, 09:10 PM   #11
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 58
Hey, way to go, outstubborn it.

I had little choice when I switched to linux because the winmodem drivers hadn't been hacked yet.

I like my little flashing lights and reliable connections and no errors filling up /var/log/messages from it.
 
Old 06-17-2004, 10:01 PM   #12
jrdioko
Member
 
Registered: Oct 2002
Distribution: Debian 6.0.2 (squeeze)
Posts: 944

Original Poster
Rep: Reputation: 30
I even found a way to get cool flashing lights with gkrellm .
 
Old 06-17-2004, 10:08 PM   #13
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 58
Of course, that is always in my fluxbox slit too.
 
  


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
Linux doesn't recognize CD Burner as SCSI device Eric3 Linux - Hardware 3 09-20-2005 09:29 AM
ndiswrapper with Belkin F5D7010 on Ubuntu: does not recognize device qscomputing Linux - Wireless Networking 3 07-03-2005 03:39 PM
How to recognize a USB device? enemorales Linux - General 2 04-10-2005 06:05 AM
Req: possible to recognize a system or a RH distribution from device list? erlasagn Red Hat 0 09-07-2004 07:47 AM
X CD Roast don't recognize my DVD drive as a read device lectraplayer Linux - Newbie 15 05-28-2003 04:57 PM

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

All times are GMT -5. The time now is 11:32 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration