Neotel CDMA Modem Constant PPP Disconnect/Reconnect Issue

mxc

Well-Known Member
Joined
Sep 12, 2005
Messages
204
Hi all,

I need some trouble-shooting help. I have a neotel prime data device. The modem works fine, with only occassional disconnects, on an Ubuntu 10.04 desktop. There are several minutes or hours between disconnects with the ppp script reconnecting immediatly. These disconnect result in the following log entries in the debug log. I have "debug" and "kdebug 7" in my peers file.

Below you can see the down script being called and then the ppp connection immediately reconnecting.

Code:
Jun 14 23:28:29 mark-desktop pppd[30008]: Script /etc/ppp/ip-up finished (pid 31360), status = 0x0
Jun 14 23:28:29 mark-desktop pppd[30008]: rcvd [LCP ConfReq id=0xf1 <mru 1500> <asyncmap 0x0> <auth pap> <magic 0x78fd8ec9>]
Jun 14 23:28:29 mark-desktop pppd[30008]: Script /etc/ppp/ip-down started (pid 31404)
Jun 14 23:28:29 mark-desktop pppd[30008]: sent [LCP ConfReq id=0x1b <asyncmap 0x0> <magic 0xfed0d8a2> <pcomp> <accomp>]
Jun 14 23:28:29 mark-desktop pppd[30008]: sent [LCP ConfAck id=0xf1 <mru 1500> <asyncmap 0x0> <auth pap> <magic 0x78fd8ec9>]
Jun 14 23:28:29 mark-desktop pppd[30008]: rcvd [LCP ConfRej id=0x1b <pcomp> <accomp>]
Jun 14 23:28:29 mark-desktop pppd[30008]: sent [LCP ConfReq id=0x1c <asyncmap 0x0> <magic 0xfed0d8a2>]
Jun 14 23:28:29 mark-desktop pppd[30008]: Script /etc/ppp/ip-down finished (pid 31404), status = 0x0
Jun 14 23:28:29 mark-desktop pppd[30008]: rcvd [LCP ConfAck id=0x1c <asyncmap 0x0> <magic 0xfed0d8a2>]
Jun 14 23:28:29 mark-desktop pppd[30008]: sent [PAP AuthReq id=0xe user="xxxxxx@neotel.co.za" password=<hidden>]
Jun 14 23:28:30 mark-desktop pppd[30008]: rcvd [PAP AuthAck id=0xe "Welcome to pdsn."]
Jun 14 23:28:30 mark-desktop pppd[30008]: sent [IPCP ConfReq id=0x22 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>]
Jun 14 23:28:30 mark-desktop pppd[30008]: rcvd [IPCP ConfReq id=0x0 <addr 2.2.2.2>]
Jun 14 23:28:30 mark-desktop pppd[30008]: sent [IPCP ConfAck id=0x0 <addr 2.2.2.2>]
Jun 14 23:28:30 mark-desktop pppd[30008]: rcvd [IPCP ConfRej id=0x22 <compress VJ 0f 01>]
Jun 14 23:28:30 mark-desktop pppd[30008]: sent [IPCP ConfReq id=0x23 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>]
Jun 14 23:28:30 mark-desktop pppd[30008]: rcvd [IPCP ConfNak id=0x23 <addr 41.174.8.114> <ms-dns1 41.160.0.36> <ms-dns2 41.160.128.12>]
Jun 14 23:28:30 mark-desktop pppd[30008]: sent [IPCP ConfReq id=0x24 <addr 41.174.8.114> <ms-dns1 41.160.0.36> <ms-dns2 41.160.128.12>]
Jun 14 23:28:30 mark-desktop pppd[30008]: rcvd [IPCP ConfAck id=0x24 <addr 41.174.8.114> <ms-dns1 41.160.0.36> <ms-dns2 41.160.128.12>]
Jun 14 23:28:30 mark-desktop pppd[30008]: Script /etc/ppp/ip-up started (pid 31439)
Jun 14 23:28:30 mark-desktop pppd[30008]: Script /etc/ppp/ip-up finished (pid 31439), status = 0x0
Jun 14 23:28:52 mark-desktop pppd[30008]: rcvd [LCP ConfReq id=0xf2 <mru 1500> <asyncmap 0x0> <auth pap> <magic 0x78fdc685>]
Jun 14 23:28:52 mark-desktop pppd[30008]: Script /etc/ppp/ip-down started (pid 31535)
Jun 14 23:28:52 mark-desktop pppd[30008]: sent [LCP ConfReq id=0x1d <asyncmap 0x0> <magic 0x2b796882> <pcomp> <accomp>]

Now I replaced my non-working ADSL modem and line with the neotel service. The ADSL modem was connected to a wireless router running openwrt. So I replaced the ADSL modem with a small form factor, thin client. I installed Ubuntu 10.04 on this, setup the ppp connection and enable masquerading with iptables. I know that it is a waste of cycles since the openwrt router does nating and now the thin client does as well but I am no rush :)

When the cdma modem is connected to the thin client, so it can be shared, I get the disconnects a lot more often. These disconnects like the one above and just reconnect automatically. It does this, like, every 2 seconds. There is nothing in the debug or log files. I tried tcpdump but it shows nothing relating to the ppp protocols. What's also weird is that for the first 3-5 minutes the connection is stable and then it starts giving problems.

I don't know what could be causing the disconnect. I know neotel is a bit flaky but why does the frequency increase with iptables? What other tools are avialable to troubleshoot a ppp connection? Has anyone succesfully shared a neotel modem?

Will be getting a simple switch and taking the openwrt out of the loop for some testing later this week.

Thanks
 

locutis

Active Member
Joined
Sep 8, 2008
Messages
52
From my experience them problem is most likely Neotel and has nothing to do with your setup. I fought with their prime service for 18 months before cancelling.

Having a connection longer than a few hours at the best of times was rare. Worse than that I needed a cron job testing the connection every 5 minutes and manually re-connecting whenI started getting 100% packet loss.

Log a call, they'll probably get back to you in a few months.
 
Top