Diald fails after IP Address received

Diald fails after IP Address received

Post by Norman Elliot » Sun, 28 Feb 1999 04:00:00



Hi all,
I have problems trying to set up diald.
Originally I tried to set up ppp-on with and
ppp-on-dialer
I kept getting
' Host is currently Unavailable '
Someone suggested I try pppsetup to get on line. This worked
brilliantly

Now I am trying to get diald working and get the same
problem

James Carlson suggested I turn on debug

It was enabled in pppd options but not in syslog.conf.

Now I have done that I see that it does log me on
then I get the remote IP address sent followed by
my dynamic local IP address. These come from one of
their 2 DHCP Servers and are in the same ranges as I
get from running ppp-go.

After that syslog shows lines like

pppd {2786]: rcvd [CCP ConfReq id=0x1 < 11 05 00 04 > < 12
06 00 00 00 01 >]

pppd {2786]: sent [CCP ConfReq id=0x1 ]

pppd {2786]: rcvd [CCP ConfRej id=0x1 < 11 05 00 04 > < 12
06 00 00 00 01 >]

pppd {2786]: sent [CCP ConfReq id=0x1 ]

last message repeated 2 times

pppd [2786]: rcvd TermReq id=0x0
pppd [2786]: rcvd TermAck id=0x0
pppd [2786]: sent ConfReq id=0x1
pppd [2786]: rcvd TermReq id=0x0
pppd [2786]: rcvd TermAck id=0x0
pppd [2786]: sent ConfReq id=0x1
pppd [2786]: rcvd TermReq id=0x0
pppd [2786]: rcvd TermAck id=0x0
pppd [2786]: sent ConfReq id=0x1
pppd [2786]: rcvd TermReq id=0x0
pppd [2786]: rcvd TermAck id=0x0
pppd [2786]: sent ConfReq id=0x1
pppd [2786]: rcvd TermReq id=0x0
pppd [2786]: rcvd TermAck id=0x0
pppd [2786]: sent ConfReq id=0x1

The above last three lines seem to be
repeated over and over until I kill diald.

I can see nothing extra to give me any clues in
/var/log/messages
/usr/adm/syslog
/usr/adm/messages
/usr/adm/debug

I end up with no connection.

I can run ppp-go straight before or after and it connects
every time.

Hope you now know what's wrong. I certainly don't.
Thanks,
norm

 
 
 

1. pppd fails to receive IP-address

I just face the challenging task to connect my laptop via
infrared/mobile/gprs to internet.
By now all is working almost to the end, pppd gets an connection, but then
it reports that it didnt receive ip-adresses and uses the default-adress.
This is the wrong adress, cause I cant even ping the given remote-adress -
not to talk about any other address. Ping just doesnt give any respond.
Routes are set ok and pppd is running until its killed.

# tcpdump -i ppp0
tcpdump: listening on ppp0
01:33:26.460128 10.100.0.1 > 195.58.176.137: icmp: echo request (DF)
01:33:27.460098 10.100.0.1 > 195.58.176.137: icmp: echo request (DF)
01:33:28.460132 10.100.0.1 > 195.58.176.137: icmp: echo request (DF)
01:33:29.460105 10.100.0.1 > 195.58.176.137: icmp: echo request (DF)
....

syslog looks like this: (the strange dialout-number is for the
gprs-connection)

Sep 29 01:13:27 limpio pppd[5860]: pppd 2.4.0 started by root, uid 0
Sep 29 01:13:28 limpio chat[5865]: send (at^M)
Sep 29 01:13:28 limpio chat[5865]: expect (OK)
Sep 29 01:13:29 limpio chat[5865]: at^M^M
Sep 29 01:13:29 limpio chat[5865]: OK
Sep 29 01:13:29 limpio chat[5865]:  -- got it
Sep 29 01:13:29 limpio chat[5865]: send  
(at+cgdcont=1,"IP","gprsinternet","0.0.0.0",0,0^M)
Sep 29 01:13:30 limpio chat[5865]: expect (OK)
Sep 29 01:13:30 limpio chat[5865]: ^M
Sep 29 01:13:30 limpio chat[5865]:
at+cgdcont=1,"IP","gprsinternet","0.0.0.0",0,0^M^M
Sep 29 01:13:30 limpio chat[5865]: OK
Sep 29 01:13:30 limpio chat[5865]:  -- got it
Sep 29 01:13:30 limpio chat[5865]: send (atd *99***1#^M)
Sep 29 01:13:30 limpio chat[5865]: expect (CONNECT)
Sep 29 01:13:30 limpio chat[5865]: ^M
Sep 29 01:13:32 limpio chat[5865]: atd *99***1#^M^M
Sep 29 01:13:32 limpio chat[5865]: CONNECT
Sep 29 01:13:32 limpio chat[5865]:  -- got it
Sep 29 01:13:32 limpio pppd[5860]: Serial connection established.
Sep 29 01:13:32 limpio pppd[5860]: Using interface ppp0
Sep 29 01:13:32 limpio pppd[5860]: Connect: ppp0 <--> /dev/ircomm0
Sep 29 01:13:57 limpio pppd[5860]: Could not determine remote IP address:
defaulting to 10.64.64.64
Sep 29 01:13:57 limpio pppd[5860]: local  IP address 10.100.0.1
Sep 29 01:13:57 limpio pppd[5860]: remote IP address 10.64.64.64

What does this tell me ?
Is this actually a proove that there is at least a pppd-connection, cause a
local address was received ?
Or doesnt it mean anything ?

Can there be any problem with the options in my pppd-call like wrong
compressions or something ?

pppd $PORT connect "chat -v -f $CHATFILE" $SPEED modem crtscts \
defaultroute  user $USER remotename $REMOTE

any advice would be appretiated, cause I'feel a bit in the dark here ...

thnx,
peter

--
peter pilsl

http://www.goldfisch.at

2. Solaris 8 Intel version

3. Fatal signal 11 received after receiving/losing IP address with ppp

4. Does Linux run on Apple's PowerBook?

5. diald:Failed to received first packet

6. 2 VGA's & 2 monitors ???

7. Diald not negotiating IP addresses at the final stage

8. Memory Allocation Iss

9. How to configure PPP to received dynamically allocated IP address

10. Does diald really work with dynamic IP addresses?

11. Determining IP address of received interface

12. Updating NAT-rules when receiving a new IP address via DHCP

13. Multiply IP addresses for receive and send