LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Password
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.

Notices

Reply
 
Search this Thread
Old 06-10-2010, 03:18 AM   #1
terawatt
LQ Newbie
 
Registered: Jun 2010
Posts: 1

Rep: Reputation: 0
PPP works with a modem and not with another one


Hello,

Before starting with my problem : I sent the same message to the mgetty mailing list a few days ago, but this list do not seem to be active any more (no message at all on the list since I registered). If someone knows an appropriate place to send my question, I would appreciate the advice...
That said, let's go :


I have an embedded system with linux OS + PPP + mgetty, on which I establish a dialup link from a windows machine using pap authentification.
That worked well until I had to change MODEM model. I had a socket modem based on a connexan chipset, working well, and the new one is based on a silabs chipset.
Of course I tried different hardwares (modems and embedded mother board) to be sure it is not because of a faulty component.

Here is what I have done and noticed :

I activated mgetty and pppd log.

Without changing the init string, mgetty don't even call pppd :
Code:
[...]
06/07 09:33:52 yS0   match: user='PROTOCOL: V44', key='/AutoPPP/'
06/07 09:33:52 yS0   match: user='PROTOCOL: V44', key='*'*** hit!
06/07 09:33:52 yS0   calling login: cmd='/bin/login', argv[]='login PROTOCOL: V44'
[...]
It seems that mgetty catches a string reporting protocol from the modem, instead of '/AutoPPP/'.
So I found an AT command that disables protocol reporting (AT\V2). It works better, because mgetty catches user='/AutoPPP/' and calls pppd. but that is still not enough, pppd log show me that the LCP negociation fails :
Code:
[...]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth pap> <magic 0x7e8f3f7f> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x2 <asyncmap 0x0> <magic 0x1d547146> <pcomp> <accomp> <callback CBCP> <mrru 1614> <endpoint [local:47.4a.4f.8e.42.72.46.03.a2.85.01.f8.77.a9.68.36.00.00.00.00]>]
sent [LCP ConfRej id=0x2 <callback CBCP> <mrru 1614>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth pap> <magic 0x7e8f3f7f> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth pap> <magic 0x7e8f3f7f> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x3 <asyncmap 0x0> <magic 0x1d547146> <pcomp> <accomp> <callback CBCP> <mrru 1614> <endpoint [local:47.4a.4f.8e.42.72.46.03.a2.85.01.f8.77.a9.68.36.00.00.00.00]>]
[...]
and it loops several times with LCP ConfReq and LCP ConfRej, until ending with :
Code:
LCP: timeout sending Config-Requests
Connection terminated.
So I spyed communications with wireshark on the windows machine : I can only see frames from windows to my embedded system, but it seems that no frames are comming back.

Any idea would be appreciated.


details :
OS version : linux 2.4.19
mgetty version : experimental test release 1.1.27-Oct21
modem : telecom design, model SMSIL, based on Si2493 chipset from silabs (http://www.silabs.com/pages/Download...portDocLibrary)

I can attach logs and config files (mgetty and pppd) if it helps.

Thanks
 
  


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
USB modem ppp help hadmanysons Linux - Networking 33 01-21-2010 07:28 AM
The Intel Corp.82801CA/CAM AC'97 Modem (aka Lucent Technologies Soft Modem AMR)works! tarek Linux - Laptop and Netbook 6 03-18-2006 04:05 AM
DSL modem and ppp TreeHugger Linux - Hardware 1 08-21-2004 06:45 PM
Modem/PPP problems slack---line Slackware 10 07-06-2004 05:07 PM
PPP: modem not fount kosong Linux - Newbie 2 09-19-2001 09:53 AM


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