[ale] need working dialup

Dow Hurst Dow.Hurst at mindspring.com
Tue Dec 21 01:49:26 EST 2004


Let me clarify again.
Using chat you authenticate like a typical serial connection using 
expect send pairs.  Only after you have authenticated with the radius 
server this way are you allowed to start the ppp process.  Your already 
authenticated as a user so the PPP servers respond with the first part 
of PPP called LCP which goes by quickly and you get into Pap/Chap 
authentication (earthlink uses Pap).  After pap authenticates then you 
receive an IP, gateway, and so on.  After that encapsulated data flows 
which is your real pipe to the internet.  Oreilly has a great book on 
PPP that is a bit old but well worth the cost since the protocol hasn't 
changed at all.  I used it for working thru Linux and IRIX PPP 
connections over dialup and then later for debugging PPPoE over DSL.  
Several times when Earthlink would change their methods for connection, 
I would get nothing more than what you get with the LCP.  I'd have the 
ATM connection from the DSLAM unit out on the street but no response 
from the PPP servers.
Theoretically, if you login successfully to the dialup server and PPP 
fails in LCP then probably something is wrong at Earthlink.  But, you'd 
have to have a Win box to trouble shoot with if you get Earthlink 
involved.  They'll try to make you reinstall Windoze if your not 
politely tough on the phone.  You can't budge an inch and you can't have 
any cracks in your information.  Everyone on the list knows the drill by 
now. ;-)

I would go to the simplest method.  Configure wvdial with the barest 
bones configuration.  A simple email address and password.  Let it use 
it's defaults and attempt a connection.  If that fails then try 
different connection numbers.  If you still get the same behavior then 
someting is wrong.
Check for successfully Radius login/password responses in your chat 
script log.
If you get that then start looking at PPP messages.
If you fail during LCP then call earthlink and complain.
If you fail during Pap then check your not forcing chap instead of pap.
If you never get an IP then you may be tining out on a busy dialup server.
If you can't seem to resolve DNS or ping anything but see an IP in your 
logs, then set the gateway and DNS manually.

I can't think of anything else.  Since you see the CONNECT response, 
make sure that it is coming from the Radius server and isn't a bogus 
response from your chat script when it connects to the modem.  Do you 
hear the boingboing shshshsh of the serial connection negotiating?  
(Nobody laugh too much as you've been at this point sometime)  If you 
hear that and it goes quiet without disconnecting and THEN you get the 
CONNECT response, you should have the chat script "expect" the "ogin:" 
or "gin:"

Keep going from there and post back.  PPP and serial connections were a 
real mystery until I got the O'Reilly book.
Merry Christmas!
Dow


Dow Hurst wrote:

> Well, you should get a login prompt to respond to before you go into 
> PPP.  You are doing the right thing by using nsummerour at earthlink.net 
> as the login.  Does your chat script look for ogin: and word: as 
> strings to expect with the appropriate data sent back as the "send"?
>
> expect ogin:
> send nsummerour at earthlink.net
> expect word:
> xxxxxxx
> expect ~
> pppd blahblahblah
>
> something along those lines worked for me.  wvdial doesn't expect 
> anything after sending the password, it just starts ppp by default.  
> If you don't expect and send the login/password pairs then your not 
> authenticated and PPP will fail during LCP and never go further.  The 
> servers ignore you just like what your seeing.
> Dow
>
>
> Mark Wright wrote:
>
>>
>>
>> Well, I am using nsummerour but I have tried eln/nsummerour, 
>> ELN/nsummerour and nsummerour at earthlink.net.
>>
>>
>> On Dec 20, 2004, at 11:26 AM, Mike Terzo wrote:
>>
>>>
>>> What's the username that you are using?
>>>
>>>
>>>
>>>
>>>
>>> Mark Wright wrote:
>>>
>>>>
>>>>
>>>> I am not up yet.  I am running out of time and options though.  I 
>>>> wanted to get this box working for my mom before Christmas.
>>>>
>>>> Since you seem to know a bit more about this let me throw some more 
>>>> information at you.
>>>>
>>>> I am trying to connect two ways.  First using the network settings 
>>>> panel on Ubuntu's Gnome desktop I followed an excellent write up by 
>>>> someone on the Ubuntu web site using pppconfig but still had no 
>>>> success.  This dialer uses wvdial.
>>>>
>>>> After beating my head against this for a few days I found another 
>>>> great write up by W.G. Unruh. (nothing to do with Ubuntu)  and I am 
>>>> using a terminal window to run the show with the following command.
>>>>
>>>> /usr/sbin/pppd /dev/ttyS0 57600 debug connect "/usr/sbin/chat -v  ' 
>>>> ' ATZ OK ATDT6782454201 CONNECT '\d\c'"
>>>>
>>>>
>>>> I under stand most of this (because Unruh explains it).  The 
>>>> notable part is the use of chat instead of wvdial.  In his 
>>>> instructions he points out that by watching var/log/ppp I can learn 
>>>> how to modify this long command to successfully connect.  This 
>>>> command does not contain any UID or pwd information but it connects 
>>>> just as far and fails just like the wvdial through the network 
>>>> panel.  The network panel has the account info in it.  (User and 
>>>> pwd)  I have been assuming that none of the earthlink account data 
>>>> was getting passed at this point.
>>>>
>>>> Right now since everyone I have talked to has had dial up working 
>>>> in the past (with older distros) I am thinking about installing 
>>>> mandrake 9.2 or earlier to see if there is something to do with the 
>>>> 2.6 kernel that doesn't like Earthlink or US Robotics 56 modems.  I 
>>>> did like Ubuntu's minimal gnome gui.  My mom is using an old Mac 
>>>> and I think the gnome/Ubuntu look is Mac like and pretty.
>>>>
>>>> Oh well.  Any advise or comments warmly welcomed.
>>>>
>>>> Mark
>>>>
>>>> On Dec 19, 2004, at 9:32 PM, Dow Hurst wrote:
>>>>
>>>>> I meant that you authenticate in the chat script and not during 
>>>>> PPP negotiation.  Arrrghh!!!  Bad thought process and worse typing 
>>>>> here...
>>>>>
>>>>> In DSL you authenticate during PPP setup and after LCP completes.  
>>>>> In dialup you connect, authenticate in the chat script, then 
>>>>> autostart PPP, or look for a tilde in the next few frames of data 
>>>>> from the server to "see" that it is trying to start PPP.
>>>>>
>>>>> I've used the above method with wvdial and the full email address 
>>>>> for earthlink/mindspring for years.
>>>>> Dow
>>>>>
>>>>>
>>>>> Dow Hurst wrote:
>>>>>
>>>>>> Did you get it going?  LCP failure is before authentication on 
>>>>>> DSL but not on dialup since your chat script ought to 
>>>>>> authenticate you, IIRC.  For Earthlink you have to have your 
>>>>>> primary email address for the account as the login and the 
>>>>>> password as the password for that primary email account.   I 
>>>>>> don't see your login and password expect send pairs.  So your 
>>>>>> connected but not authenticated  so PPP is ignored at this 
>>>>>> point.  At least for earthlink, I would connect, authenticate, 
>>>>>> and the just start PPP on my own and forget waiting for the 
>>>>>> server to start PPP.  wvdial does a good job of this.  Also, you 
>>>>>> can demand dial in this situation.
>>>>>> Dow
>>>>>>
>>>>>>
>>>>>> Mark Wright wrote:
>>>>>>
>>>>>>>
>>>>>>> Hi all,
>>>>>>>
>>>>>>>
>>>>>>> I am exasperated. (ooh I even spelled it right)
>>>>>>>
>>>>>>> I have been trying for three months in my spare time to set up a 
>>>>>>> nice little Linux box for my mom.  She badly needs a replacement 
>>>>>>> for here Apple IIsi.  She is on dial up.  I am a computer 
>>>>>>> professional.  Whatever that means.  I have been repairing 
>>>>>>> Mainframes since 85.  I used dial up back when every modem 
>>>>>>> command and network option had to be entered by hand on whatever 
>>>>>>> tty device we were lucky enough to have.  So why can't I get a 
>>>>>>> Linux distro to connect to Earthlink?
>>>>>>>
>>>>>>> I have tried FC2, Mandrake 9.2, and 10.0, Knoppix 2.0, Linspire 
>>>>>>> 4.5, and Ubuntu.  I have two identical US robotics 56K modems 
>>>>>>> that work fine on any machine.  One of them was working on an 
>>>>>>> OS2 box only a few months ago.
>>>>>>>
>>>>>>> FC2 had a strange issue with the modem that I corrected via a 
>>>>>>> tip I found online.  All the others auto sense the modem and 
>>>>>>> dial it correctly without help.  I get to the same place with al 
>>>>>>> the different distos.
>>>>>>>
>>>>>>> From /var/log/message on Ubuntu:
>>>>>>>
>>>>>>> chat [24230]: send (ATST6782454201)
>>>>>>> chat [24230]:  expect (connect)
>>>>>>> chat [24230]:  ^M
>>>>>>> chat [24230]:  CONNECT
>>>>>>> chat [24230]:  - - got it
>>>>>>> chat [24230]:  send  (/d)
>>>>>>> pppd [24227]:  Serial connection established
>>>>>>> pppd [24227]:  Using interface ppp0
>>>>>>> pppd [24227]:  Connect :  ppp0  <--> /dev/ttyS0
>>>>>>> pppd [24227]:  LCP:  timeout sending config-Requests
>>>>>>> pppd [24227]:  Connection terminated
>>>>>>> pppd [24227]:  Hangup  (SIGHUP)
>>>>>>> pppd [24227]:  Exit .
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> I have printed a three inch notebook full of HOW-TO's from the 
>>>>>>> internet.  I have followed many rabbit trails.  I have read ppp 
>>>>>>> set up instructions from 1996 but I have no answers.  I have 
>>>>>>> tried to set up my Speedfactory account with a local dial up 
>>>>>>> number to verify that it is not Earhtlink being funny.
>>>>>>>
>>>>>>> Is any one using a Linux machine with a modem.   I am willing to 
>>>>>>> buy an internal or another external or really anything that will 
>>>>>>> make it work.
>>>>>>>
>>>>>>> I have looked at every file associated with communication for 
>>>>>>> config and privileges but will gladly go over anything again.  
>>>>>>> If you have a working configuration I would love to compare.  
>>>>>>> Sorry this is so long but I am only scratching the surface.
>>>>>>>
>>>>>>> Any ideas?
>>>>>>> Thanks,
>>>>>>>
>>>>>>> Mark Wright
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> Ale mailing list
>>>>>>> Ale at ale.org
>>>>>>> http://www.ale.org/mailman/listinfo/ale
>>>>>>>
>>>>>> _______________________________________________
>>>>>> Ale mailing list
>>>>>> Ale at ale.org
>>>>>> http://www.ale.org/mailman/listinfo/ale
>>>>>>
>>>>> _______________________________________________
>>>>> Ale mailing list
>>>>> Ale at ale.org
>>>>> http://www.ale.org/mailman/listinfo/ale
>>>>>
>>>>
>>>> _______________________________________________
>>>> Ale mailing list
>>>> Ale at ale.org
>>>> http://www.ale.org/mailman/listinfo/ale
>>>>
>>> _______________________________________________
>>> Ale mailing list
>>> Ale at ale.org
>>> http://www.ale.org/mailman/listinfo/ale
>>>
>>
>> _______________________________________________
>> Ale mailing list
>> Ale at ale.org
>> http://www.ale.org/mailman/listinfo/ale
>>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale
>



More information about the Ale mailing list