LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Thread Tools
Old 11-05-2009, 06:16 AM   #1
just1newbie
Member
 
Registered: Jul 2009
Location: romania,iasi
Distribution: slackware 13.0
Posts: 39
Thanked: 0
unrecognized option '/dev/ttyUSB0'


[Log in to get rid of this advertisement]
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)
linux just1newbie is offline     Reply With Quote
Old 11-05-2009, 10:42 AM   #2
quanta
Member
 
Registered: Aug 2007
Location: Vietnam
Distribution: Slackware
Posts: 122
Thanked: 4
I have never used ppp, but did you try open the file /etc/ppp/options to see configuration relates to /dev/ttyUSB0?
linux quanta is offline     Reply With Quote
Old 11-05-2009, 02:02 PM   #3
rg3
Member
 
Registered: Jul 2007
Distribution: Slackware Linux
Posts: 283
Thanked: 29
/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.
linuxslackware rg3 is offline     Reply With Quote
Old 11-08-2009, 02:23 PM   #4
just1newbie
Member
 
Registered: Jul 2009
Location: romania,iasi
Distribution: slackware 13.0
Posts: 39
Thanked: 0

Original Poster
thank you rg3, i will try it !
linux just1newbie is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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 absent after reboot dragoun Slackware 17 10-17-2009 06:51 AM
/dev/ttyUSB0 is missing dalmat Linux - Newbie 3 10-08-2009 03:58 PM
/dev/ttyUSB0 permissions joegumbo Slackware 5 10-06-2006 08:56 PM
/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 01:49 AM.

Main Menu
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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration