Re: ppp!?!?!?!?!

From: Jörn Nettingsmeier <nettings.a.t.folkwang-hochschule.de>
Date: Mon Jun 18 2001 - 05:17:06 EDT

mike wrote:
>
> i am trying, unsuccessfully, to connect my ipaq to my linux box...
> i have copied the files directly from the howto, changing only the serial
> port on the desktop and the addresses...
> here is the output:
> [root@iris peers]# pppd call ipaq
> Serial connection established.
> Using interface ppp0
> Connect: ppp0 <--> /dev/ttyS2
> sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x508b84ce> <pcomp> <accomp>]
> sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x508b84ce> <pcomp> <accomp>]
> sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x508b84ce> <pcomp> <accomp>]
> sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x508b84ce> <pcomp> <accomp>]
> sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x508b84ce> <pcomp> <accomp>]
> sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x508b84ce> <pcomp> <accomp>]
> sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x508b84ce> <pcomp> <accomp>]
> sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x508b84ce> <pcomp> <accomp>]
> sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x508b84ce> <pcomp> <accomp>]
> sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x508b84ce> <pcomp> <accomp>]
> LCP: timeout sending Config-Requests
> Connection terminated.

did you run pppd on the ipaq, too ?
the demon must be present on both machines.

i only have a serial connection to my ipaq, so what i do is:
connect to the ipaq's serial console using minicom,
log in,
run "pppd defaultroute persist" # persist will let the demon stay
up and retry endlessly
stop minicom (the shell continues to run anyway).
now i log into my desktop machine as root and do
pppd -detach nocrtscts lock 192.168.200.210:192.168.200.205
/dev/ttyS0 115200

you need to adjust the ip addresses: the first is the one for the
ipaq, the second is the one for the ppp0 device on the desktop
machine (but if you're on a local network, don't use the same ip as
your network card !)

ttyS0 is first serial, ttyS1 the second (or COM1: and COM2: in
dosspeak)

the -detach (here, the hyphen is not an option delimiter but an
"off"-switch) will make pppd NOT detach itself from the console, so
that you can see the output.

if you still run into problems, you can try to add the "debug"
option to both pppd invocations to see in detail what's going on.

good luck,

jörn

-- 
Jörn Nettingsmeier     
home://Kurfürstenstr.49.45138.Essen.Germany      
phone://+49.201.491621
http://icem-www.folkwang-hochschule.de/~nettings/
http://www.linuxdj.com/audio/lad/
Received on Mon Jun 18 00:13:40 2001

This archive was generated by hypermail 2.1.8 : Tue May 04 2004 - 09:38:26 EDT