LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices



Reply
 
Search this Thread
Old 02-23-2009, 11:23 PM   #1
SharpyWarpy
Member
 
Registered: Feb 2003
Location: Florida
Distribution: Fedora 18
Posts: 862

Rep: Reputation: 90
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.
 
Old 02-24-2009, 10:23 AM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 12,174

Rep: Reputation: 784Reputation: 784Reputation: 784Reputation: 784Reputation: 784Reputation: 784Reputation: 784
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
 
Old 02-24-2009, 11:13 AM   #3
SharpyWarpy
Member
 
Registered: Feb 2003
Location: Florida
Distribution: Fedora 18
Posts: 862

Original Poster
Rep: Reputation: 90
Quote:
Originally Posted by michaelk View Post
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.

Last edited by SharpyWarpy; 02-24-2009 at 11:18 AM. Reason: didn't read link
 
  


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
Help configuring USB dialup external modem apsrmusic Linux - Newbie 1 02-27-2008 06:57 PM
Laptop doesn't have serial port for external modem allelopath Linux - Hardware 3 05-18-2006 05:51 PM
Startech USB-to-Serial 4 Port adapter on RH9 mscollins1 Linux - Hardware 6 08-27-2005 12:25 AM
Can't get Belkin USB-Serial adapter to work for synchronizing palm pilot dmk2000 Linux - Hardware 1 11-05-2004 02:46 PM
zoom external serial with usb to serial adapter foustware Linux - Hardware 1 12-07-2003 03:02 AM


All times are GMT -5. The time now is 11:08 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