FS#43931 - [netctl] mobile_ppp connection fails due to improperly quoted AT+CGDCONT argument (patch inside)
Attached to Project:
Arch Linux
Opened by Jan Böcker (jboecker) - Tuesday, 24 February 2015, 17:35 GMT
Last edited by Jouke Witteveen (jouke) - Tuesday, 03 March 2015, 09:49 GMT
Opened by Jan Böcker (jboecker) - Tuesday, 24 February 2015, 17:35 GMT
Last edited by Jouke Witteveen (jouke) - Tuesday, 03 March 2015, 09:49 GMT
|
Details
Description:
On my Thinkpad X61t which has an integrated 3G modem, a mobile_ppp connection profile that has been working fine before stopped working a while ago. Running with PPPDebug=true (log attached) revealed that the modem chokes on this AT command: AT+CGDCONT=1,IP,"internet.eplus.de" It wants the IP argument to be quoted. The following modification to line 67 of /usr/lib/network/connections/mobile_ppp fixed it for me: $ diff /usr/lib/network/connections/mobile_ppp.bak /usr/lib/network/connections/mobile_ppp 67c67 < ${AccessPointName:+'OK-AT-OK' 'AT+CGDCONT=1,"IP",$(quote_word "$AccessPointName")'} --- > ${AccessPointName:+'OK-AT-OK' 'AT+CGDCONT=1,$(quote_word "IP"),$(quote_word "$AccessPointName")'} netctl version: 1.10-1 Please let me know if you need additional information or there is a more appropriate way to submit patches. |
This task depends upon
Closed by Jouke Witteveen (jouke)
Tuesday, 03 March 2015, 09:49 GMT
Reason for closing: Fixed
Additional comments about closing: 0491764
Tuesday, 03 March 2015, 09:49 GMT
Reason for closing: Fixed
Additional comments about closing: 0491764
I will push a new version as soon as I have time. If you want your name and e-mail attached to your patch, you should send it in `git --format-patch` format to arch-projects@archlinux.org.
Thank you for maintaining netctl!