LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   unrecognized option '/dev/ttyUSB0' (https://www.linuxquestions.org/questions/slackware-14/unrecognized-option-dev-ttyusb0-767029/)

just1newbie 11-05-2009 05:16 AM

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)

quanta 11-05-2009 09:42 AM

I have never used ppp, but did you try open the file /etc/ppp/options to see configuration relates to /dev/ttyUSB0?

rg3 11-05-2009 01:02 PM

/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.

just1newbie 11-08-2009 01:23 PM

thank you rg3, i will try it !


All times are GMT -5. The time now is 07:43 AM.