LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   belkin usb > serial port adapter > external dialup modem -- no authentication (https://www.linuxquestions.org/questions/linux-hardware-18/belkin-usb-serial-port-adapter-external-dialup-modem-no-authentication-707000/)

SharpyWarpy 02-23-2009 10:23 PM

belkin usb > serial port adapter > external dialup modem -- no authentication
 
I got a Belkin f5u103 usb > serial port adapter because it is Linux compatible and I needed a way to connect with dialup with my lappy and an external dialup modem. Lappy is a Compaq Presario with 512mb ram, 60gb drive and 1.6ghz cpu running Fedora Core 10 and no serial port. I have a fledgling business I conduct over the internet and I want a backup system in case something happens to my desktop.
The kernel is 2.6.27.9-159.fc10.i686. It recognizes the adapter fine, assigns it to /dev/ttyUSB0, which I put in my /etc/ppp/options file and when I start pppd everything goes well until it starts the authentification. Well, see for yourself, here's some of /var/log/messages:
Feb 23 22:09:55 server pppd[17012]: pppd 2.4.4 started by root, uid 0
Feb 23 22:09:55 server pppd[17012]: Using interface ppp0
Feb 23 22:09:55 server pppd[17012]: local IP address 10.64.64.64
Feb 23 22:09:55 server pppd[17012]: remote IP address 10.112.112.112
Feb 23 22:09:57 server pppd[17012]: Starting link
Feb 23 22:09:58 server chat[17021]: timeout set to 40 seconds
Feb 23 22:09:58 server chat[17021]: abort on (NO CARRIER)
Feb 23 22:09:58 server chat[17021]: abort on (NO DIALTONE)
Feb 23 22:09:58 server chat[17021]: abort on (ERROR)
Feb 23 22:09:58 server chat[17021]: abort on (NO ANSWER)
Feb 23 22:09:58 server chat[17021]: abort on (BUSY)
Feb 23 22:09:58 server chat[17021]: abort on (Username/Password Incorrect)
Feb 23 22:09:58 server chat[17021]: send (atz^M)
Feb 23 22:09:58 server chat[17021]: expect (OK)
Feb 23 22:09:59 server chat[17021]: atz^M^M
Feb 23 22:09:59 server chat[17021]: OK
Feb 23 22:09:59 server chat[17021]: -- got it
Feb 23 22:09:59 server chat[17021]: send (atm0^M)
Feb 23 22:09:59 server chat[17021]: expect (OK)
Feb 23 22:09:59 server chat[17021]: ^M
Feb 23 22:09:59 server chat[17021]: atm0^M^M
Feb 23 22:09:59 server chat[17021]: OK
Feb 23 22:09:59 server chat[17021]: -- got it
Feb 23 22:09:59 server chat[17021]: send (atS0=0^M)
Feb 23 22:09:59 server chat[17021]: expect (OK)
Feb 23 22:09:59 server chat[17021]: ^M
Feb 23 22:09:59 server chat[17021]: atS0=0^M^M
Feb 23 22:09:59 server chat[17021]: OK
Feb 23 22:09:59 server chat[17021]: -- got it
Feb 23 22:09:59 server chat[17021]: send (atdt5476658^M)
Feb 23 22:09:59 server chat[17021]: expect (CONNECT)
Feb 23 22:09:59 server chat[17021]: ^M
Feb 23 22:10:19 server chat[17021]: atdt5476658^M^M
Feb 23 22:10:19 server chat[17021]: CONNECT
Feb 23 22:10:19 server chat[17021]: -- got it
Feb 23 22:10:19 server pppd[17012]: Serial connection established.
Feb 23 22:10:19 server pppd[17012]: Connect: ppp0 <--> /dev/ttyUSB0
Feb 23 22:10:50 server pppd[17012]: LCP: timeout sending Config-Requests
Feb 23 22:10:50 server pppd[17012]: Connection terminated.

I did several searches several different ways here and with Google and after MUCH reading I am still unable to get past this point. I have tried several mods to /etc/ppp/options like "passive" and others trying to get it to work but it doesn't seem to be communicating with the peer. I have checked permissions on the pap-secrets file and they are rw-------.
Is it possible I need a null modem cable for the connection between adapter > modem? And what is LCP? The manual for pppd is vague on this and other things, like how to make debugging more verbose. Any help would be greatly appreciated.

michaelk 02-24-2009 09:23 AM

Quote:

Feb 23 22:09:59 server chat[17021]: send (atdt5476658^M)
Feb 23 22:09:59 server chat[17021]: expect (CONNECT)
Feb 23 22:09:59 server chat[17021]: ^M
Feb 23 22:10:19 server chat[17021]: atdt5476658^M^M
Feb 23 22:10:19 server chat[17021]: CONNECT
Feb 23 22:10:19 server chat[17021]: -- got it
Feb 23 22:10:19 server pppd[17012]: Serial connection established.
Feb 23 22:10:19 server pppd[17012]: Connect: ppp0 <--> /dev/ttyUSB0
Your hardware seems to be functioning correctly. The modem dials and establishes a connection.
Looks like a ppp configuration problem. Post your ppp options file.

Google?
http://www.javvin.com/protocolLCP.html

SharpyWarpy 02-24-2009 10:13 AM

Quote:

Originally Posted by michaelk (Post 3455692)
Your hardware seems to be functioning correctly. The modem dials and establishes a connection.
Looks like a ppp configuration problem. Post your ppp options file.

Google?
http://www.javvin.com/protocolLCP.html

Oh, crap, I've changed that options file a thousand times since I submitted this question. Let me see if I can get this right:
/dev/ttyUSB0
# 115200
# debug
57600
connect '/usr/sbin/chat -v -f /etc/ppp/chat-rbandmb'
demand
passive
# connect-delay 10000
lcp-max-configure 100
lock
novj
idle 1200
usepeerdns
noipdefault
defaultroute
user rbandmb@wfeca.net
ipcp-accept-remote
ipcp-accept-local
crtscts
noauth
Now, it doesn't seem to matter if "noauth" is there or if "auth" is there. Also makes no difference if "nocrtscts" or "crtscts". I think what is happening is I'm gettings sends and no receives, but that makes no sense because it connects, it just times out with the LCP, whatever that is, I think it's authentication?
Thank you for your reply.
Edit: I just started reading the link you provided regarding LCP. Thank you.


All times are GMT -5. The time now is 07:38 PM.