Bug 1459529
Summary: | cannot connect gsm modem | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Vladimir Benes <vbenes> | ||||||
Component: | NetworkManager | Assignee: | Beniamino Galvani <bgalvani> | ||||||
Status: | CLOSED ERRATA | QA Contact: | Desktop QE <desktop-qa-list> | ||||||
Severity: | high | Docs Contact: | |||||||
Priority: | high | ||||||||
Version: | 7.4 | CC: | atragler, bgalvani, fgiudici, jkoten, lrintel, rkhan, sukulkar, thaller, vbenes | ||||||
Target Milestone: | rc | ||||||||
Target Release: | --- | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | NetworkManager-1.12.0-0.1.el7 | Doc Type: | If docs needed, set a value | ||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2018-10-30 11:11:02 UTC | Type: | Bug | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Attachments: |
|
Description
Vladimir Benes
2017-06-07 12:03:30 UTC
it worked in 7.3 not 7.2 as stated above Created attachment 1285773 [details]
debug logs from NM and MM
Bus 003 Device 005: ID 1c9e:9603 OMEGA TECHNOLOGY the same issue Hi, I tried the same on RHEL 7.3: # nmcli connection show Vodafone\ Mobile\ Internet | grep "ipv4.method\|ipv4.addresses\|ipv6.method" ipv4.method: manual ipv4.addresses: 10.0.0.1/24 ipv6.method: ignore # nmcli connection up Vodafone\ Mobile\ Internet Error: Connection activation failed. # rpm -q NetworkManager NetworkManager-wwan ModemManager NetworkManager-1.4.0-20.el7_3.x86_64 NetworkManager-wwan-1.4.0-20.el7_3.x86_64 ModemManager-1.6.0-2.el7.x86_64 From the journal: (ttyHS2): unhandled WWAN IPv4 method 'manual'; will fail device (ttyHS2): state change: ip-config -> failed (reason 'ip-config-unavailable') [70 120 5] active-connection[0x7fd7e1574b20]: set state deactivated (was activating) active-connection[0x7fd7e1574b20]: check-master-ready: not signalling (state deactivated, no master) device[0x7fd7e15f1760] (ttyHS2): remove_pending_action (0): 'activation::0x7fd7e1574b20' modem-broadband[ttyHS2]: notifying ModemManager about the modem disconnection policy: connection 'Vodafone Mobile Internet' failed to autoconnect; 3 tries left device (ttyHS2): Activation: failed for connection 'Vodafone Mobile Internet' Do you confirm it is working on RHEL 7.3 for you? (In reply to Beniamino Galvani from comment #4) > Hi, > > I tried the same on RHEL 7.3: > > # nmcli connection show Vodafone\ Mobile\ Internet | grep > "ipv4.method\|ipv4.addresses\|ipv6.method" > ipv4.method: manual > ipv4.addresses: 10.0.0.1/24 > ipv6.method: ignore > > # nmcli connection up Vodafone\ Mobile\ Internet > Error: Connection activation failed. > as Lubo told me, manual method is not supported. We have to use auto to be able to connect. Not sure if this shouldn't be at least announced in the error message. Vlad, can you confirm that a supported configuration works? (In reply to Beniamino Galvani from comment #8) > Vlad, can you confirm that a supported configuration works? yeah, connecting via modem works with auto method Manual method for gsm connections is not supported. Quoting dcbw on IRC: "you cannot really control the IP, if you do get a static IP from the provider, they will just assign it to you on the network side and you get it the same way you get dynamic addresses". So, the current limitation on the method=manual is intentional and it is not going to be changed. Created attachment 1370512 [details]
[PATCH] all: add more meaningful error code for unsupported IP method
I think we should return a specific code for this error.
# nmcli connection mod "3 Ricaricabile" ipv4.method manual ipv4.address 1.2.3.4/32 # nmcli connection up "3 Ricaricabile" Error: Connection activation failed: The selected IP method is not supported vs Error: Connection activation failed: IP configuration could not be reserved (no available address, timeout, etc.) (In reply to Beniamino Galvani from comment #11) > Created attachment 1370512 [details] > [PATCH] all: add more meaningful error code for unsupported IP method > > I think we should return a specific code for this error. lgtm Applied to master: https://cgit.freedesktop.org/NetworkManager/NetworkManager/commit/?id=aa820e93864a452ec5089381a332be106f4d2c69 and nm-1-10. We are now seeing an error of wrong IPv4 method. This is sufficient and should be saying enough about just auto being supported. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2018:3207 |