FS#41880 - [netctl] Mobile ppp connection fails if computer already has an ip on another interface

Attached to Project: Arch Linux
Opened by karoneun (karoneun) - Monday, 08 September 2014, 21:03 GMT
Last edited by Doug Newgard (Scimmia) - Sunday, 12 June 2016, 21:54 GMT
Task Type Bug Report
Category Arch Projects
Status Closed
Assigned To Jouke Witteveen (jouke)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

When I start a mobile ppp connection while my computer has an active wlan connection, the dialing process fails and I get no connection. I inspected the verbose logs of pppd: It seems like it asks the wwan access point to be assigned the ip address of the wireless interface. The wwan access point rejects and terminates the dialing process. As soon as my computer has no other ip, the process works just fine.
My device is a thinkpad x220 with an internal ericsson f5521gw mobile broadband modem (usb id 0bdb:1911). I am located in Germany, the carrier is 1&1, they use the vodafone D2 mobile network. Unfortunately I have no logs at the moment because my contract expired and I'm waiting for a new sim card. I can/will add them later, if needed.

Additional info:
* package version(s)
netctl 1.9-1
ppp 2.4.6-2

* config and/or log files etc.
netctl Profile:

Description='PPP mobile connection'
Interface=ttyACM0
Connection=mobile_ppp

DefaultRoute=true
UsePeerDNS=true

AccessPointName='web.vodafone.de'



Steps to reproduce:
Connect e.g. to a wireless lan and then start the mobile connection via netctl.
Maybe this bug is specific to 1&1/vodafone mobile carrier?
This task depends upon

Closed by  Doug Newgard (Scimmia)
Sunday, 12 June 2016, 21:54 GMT
Reason for closing:  Fixed
Additional comments about closing:  User requested: I'm sorry forgot about this, but I recently checked again and now (pppd 2.4.7, netctl 1.11) it works!
Comment by Jouke Witteveen (jouke) - Tuesday, 16 September 2014, 15:17 GMT
This is odd. Could it be a problem with ppp? At the moment I cannot say anything meaningful about it. Please attach some relevant log entries.
Comment by karoneun (karoneun) - Sunday, 21 September 2014, 18:52 GMT
Hi, I received another SIM-Card. Unfortunately I can't get the ppp connection to work at all; the connection process always terminates. However, I can still see pppd requesting my local ip address if I'm connected to (e.g.) a wireless lan. The three log files show the verbose output of pppd:
-Once while I'm connected to a wireless lan with the IP 192.168.178.20
-Once with no other connected interfaces
-Once with WLAN on but the "noipdefault" option set in /usr/lib/network/connections/mobile_ppp after line 28.
In line 96 pppd is requesting my local IP in the first case and 0.0.0.0 in both other cases. I have no clue why the new SIM card does not work at all, but I think it should not do that anyways?
I will try to get the new SIM card working and see if the requested IPs still make a difference in the connection process.
Please let me know if there are any other log files that I should add!
Comment by Jouke Witteveen (jouke) - Sunday, 21 September 2014, 22:02 GMT
Just a wild guess here. What happens if you add

User=vodafone
Password=vodafone

to your profile?
Comment by karoneun (karoneun) - Friday, 26 September 2014, 08:11 GMT
Thanks for the tip. Unfortunately with an active other IP the behavior seems to be the same. Without any other IP pppd prints "Connect script failed". I will test the SIM-Card in a Phone to see if that's the problem and try some more things to get it working. I'll keep you posted!
Comment by Jouke Witteveen (jouke) - Friday, 26 September 2014, 09:18 GMT
I don't see it trying to authenticate... What happens if you add

PPPD='pppd debug'

to your profile?
Comment by karoneun (karoneun) - Saturday, 27 September 2014, 19:03 GMT
Hi, I finally got the SIM card to work now, here are the logs. It works when WLAN is off and doesn't work when WLAN is on. PPPD='pppd debug' is set. I tried [User=vodafone Password=vodafone] as well, but that made no difference.

Loading...