LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 11-05-2009, 06:16 AM   #1
just1newbie
Member
 
Registered: Jul 2009
Location: romania,iasi
Distribution: slackware 13.0
Posts: 46

Rep: Reputation: 15
unrecognized option '/dev/ttyUSB0'


hello,
i use ppp to connect to internet a dell latitude d500 laptop using a vodafone huawei e220 modem.
time to time, the connection is lost,and if i try again ppp-go i have this output(not all the time,sometime work ok) :
Quote:
bash-3.1# ppp-go
/usr/sbin/pppd: In file /etc/ppp/options: unrecognized option '/dev/ttyUSB0'
if i reboot it's working fine.how do i solved without rebooting ?(google did not help)
 
Old 11-05-2009, 10:42 AM   #2
quanta
Member
 
Registered: Aug 2007
Location: Vietnam
Distribution: RedHat based, Debian based, Slackware, Gentoo
Posts: 724

Rep: Reputation: 100Reputation: 100
I have never used ppp, but did you try open the file /etc/ppp/options to see configuration relates to /dev/ttyUSB0?
 
Old 11-05-2009, 02:02 PM   #3
rg3
Member
 
Registered: Jul 2007
Distribution: Slackware Linux
Posts: 514

Rep: Reputation: Disabled
/dev/ttyUSB0 is the name of the device, usually included in a single line in the configuration file. When the file exists, pppd interprets the line as the device to use. If the file does not exist, pppd prints that confusing error about the device name being an unrecognized option.

This has happened to me with a Huawei E220 too. Sometimes, an error happens and the device disappears. A few of those times, the device appears again as ttyUSB1 or ttyUSB2. My recommendation is to use a symbolic link instead. For example, I use /dev/modem and make it point to ttyUSB0 or whatever ttyUSB* device is first found, using a script, before calling pppd.
 
Old 11-08-2009, 02:23 PM   #4
just1newbie
Member
 
Registered: Jul 2009
Location: romania,iasi
Distribution: slackware 13.0
Posts: 46

Original Poster
Rep: Reputation: 15
thank you rg3, i will try it !
 
  


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
/dev/ttyUSB0 permissions joegumbo Slackware 6 03-11-2013 06:23 PM
/dev/ttyUSB0 is missing dalmat Linux - Newbie 4 12-04-2009 12:29 AM
/dev/ttyUSB0 absent after reboot dragoun Slackware 17 10-17-2009 06:51 AM
/dev/ttyUSB0 and permissions mrsolo Linux - Software 1 11-14-2004 04:24 PM
/dev/ttyUSB0 js72 Linux - Networking 1 01-05-2003 07:02 AM


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