Hi there.
I'm having a strange issue with a 3G modem from Vodafone, netcfg-wvdial from AUR (modified PKGBUILD to include the R.Pi architecture) on a Raspberry Pi running ArchLinuxArm.
I have managed to configure this modem, and I'm able to dial the connection fine on boot (via a udev rule which fires after usb_modeswitch does it's thing) using the netcfg script from AUR. It works very nicely, including when the connection gets disconnected pppd automatically reconnects. I am also able to stop and start the connection with $this->bbcode_second_pass_code('', ' sudo systemctl stop/start netcfg@wvdial ')
However, at some point after a disconnect, when pppd restarts and redials, following CHAP authentication, I receive the following message in the logs: $this->bbcode_second_pass_code('', 'IPCP: timeout sending Config-Requests') and following that, pppd exits and does not restart. Also I am no longer able to stop/start the connection via netcfg. Since this is destined for an embedded system, and the 3G modem is the only connection, auto-reconnect is pretty important as it is the only way of getting in remotely.
Relevant log files (please let me know if I can provide any more):
pppd logs of successful connect, reconnect and failure:
$this->bbcode_second_pass_code('', '
Jan 14 13:45:47 rpi pppd[1051]: pppd 2.4.5 started by root, uid 0
Jan 14 13:45:47 rpi pppd[1051]: Using interface ppp0
Jan 14 13:45:47 rpi pppd[1051]: Connect: ppp0 <--> /dev/ttyUSB0
Jan 14 13:45:47 rpi pppd[1051]: CHAP authentication succeeded: Welcome!!
Jan 14 13:45:47 rpi pppd[1051]: CHAP authentication succeeded
Jan 14 13:45:50 rpi pppd[1051]: Could not determine remote IP address: defaulting to 10.64.64.64
Jan 14 13:45:50 rpi pppd[1051]: Cannot determine ethernet address for proxy ARP
Jan 14 13:45:50 rpi pppd[1051]: local IP address 10.103.200.174
Jan 14 13:45:50 rpi pppd[1051]: remote IP address 10.64.64.64
Jan 14 13:45:50 rpi pppd[1051]: primary DNS address 88.82.13.60
Jan 14 13:45:50 rpi pppd[1051]: secondary DNS address 88.82.13.60
Jan 14 15:25:36 rpi pppd[1051]: LCP terminated by peer
Jan 14 15:25:36 rpi pppd[1051]: Connect time 99.8 minutes.
Jan 14 15:25:36 rpi pppd[1051]: Sent 66758 bytes, received 67207 bytes.
Jan 14 15:25:36 rpi pppd[1051]: Modem hangup
Jan 14 15:25:36 rpi pppd[1051]: Connection terminated.
Jan 14 15:25:37 rpi pppd[1051]: Exit.
Jan 14 15:26:12 rpi pppd[1294]: pppd 2.4.5 started by root, uid 0
Jan 14 15:26:12 rpi pppd[1294]: Using interface ppp0
Jan 14 15:26:12 rpi pppd[1294]: Connect: ppp0 <--> /dev/ttyUSB0
Jan 14 15:26:12 rpi pppd[1294]: CHAP authentication succeeded: Welcome!!
Jan 14 15:26:12 rpi pppd[1294]: CHAP authentication succeeded
Jan 14 15:26:15 rpi pppd[1294]: Could not determine remote IP address: defaulting to 10.64.64.64
Jan 14 15:26:15 rpi pppd[1294]: Cannot determine ethernet address for proxy ARP
Jan 14 15:26:15 rpi pppd[1294]: local IP address 10.103.72.209
Jan 14 15:26:15 rpi pppd[1294]: remote IP address 10.64.64.64
Jan 14 15:26:15 rpi pppd[1294]: primary DNS address 88.82.13.60
Jan 14 15:26:15 rpi pppd[1294]: secondary DNS address 88.82.13.60
Jan 14 18:30:44 rpi pppd[1294]: LCP terminated by peer
Jan 14 18:30:44 rpi pppd[1294]: Connect time 184.5 minutes.
Jan 14 18:30:44 rpi pppd[1294]: Sent 127943 bytes, received 127487 bytes.
Jan 14 18:30:44 rpi pppd[1294]: Modem hangup
Jan 14 18:30:44 rpi pppd[1294]: Connection terminated.
Jan 14 18:30:44 rpi pppd[1294]: Exit.
Jan 14 18:31:19 rpi pppd[1823]: pppd 2.4.5 started by root, uid 0
Jan 14 18:31:19 rpi pppd[1823]: Using interface ppp0
Jan 14 18:31:19 rpi pppd[1823]: Connect: ppp0 <--> /dev/ttyUSB0
Jan 14 18:31:19 rpi pppd[1823]: CHAP authentication succeeded: Welcome!!
Jan 14 18:31:19 rpi pppd[1823]: CHAP authentication succeeded
Jan 14 18:32:33 rpi pppd[1823]: IPCP: timeout sending Config-Requests
')
netcfg profiile
$this->bbcode_second_pass_code('', '
CONNECTION="wvdial"
WVDIAL_PROFILE=""
INTERFACE="ignore"
WVDIAL_CTL_FILE="/var/run/wvdial.pid"
WVDIAL_FLAGS=""
')