Autor Wątek: Brak możliwości nawiązania połączenia GSM (Nokia500) od wersji Ubuntu 16.04  (Przeczytany 454 razy)

Offline mintgsm

  • Miętowe nasionko
  • *
  • Wiadomości: 3
  • Punkty: 0
Cześć,
próbuję połączyć się z internetem poprzez telefon Nokia 500, który podłączony jest do komputera kablem usb. W telefonie ustawiony jest tryb łączności 'Nokia Suite'. Po podłączeniu telefonu otrzymuję powiadomienie, że system zgłasza dostępność sieci komórkowej:
Cytuj
Mobile Broadband network.
You are now registered on a roaming network.

Po konfiguracji i próbie nawiązania połączenia pojawia się komunikat:
Cytuj
Failed to add/activate connection
(2) Active connection removed before it was initialized
Sprawdzałem też na innych wydaniach:
- Ubuntu 16.04.1, 16.04.2, 16.04.3 64 bit
- Ubuntu Mate 16.04.2, 16.04.03 32 i 64 bit
- Linux Mint 18.2, 18.3 32 i 64 bit
i jest podobnie.

Aktualnie testuję Linux Mint 18.3 'Sylvia' 'Mate 32 bit'.
$ uname -a
Linux dell 4.10.0-38-generic #42~16.04.1-Ubuntu SMP Tue Oct 10 16:30:51 UTC 2017 i686 i686 i686 GNU/Linux

Aby móc łączyć się z internetem, używam Ubuntu Studio 14.04:
$ uname -a
Linux computer 3.13.0-143-lowlatency #192-Ubuntu SMP PREEMPT Tue Feb 27 11:19:15 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
i tej wersji systemu problem nie występuje. Połączenie można nawiązać nawet, jeśli system uruchomiony jest w wersji 'live'.

Jak sobie z tym spróbować poradzić?

Ciastek1981, wklejam wynik polecenia, które mi podpowiedziałeś. Zebrałem jeszcze trochę informacji, tyle, na ile pozwala mi moja aktualna wiedza początkującego i dołączyłem poniżej.

$dmesg -w
[  234.120131] usb 2-3: new high-speed USB device number 3 using ehci-pci
[  234.270060] usb 2-3: New USB device found, idVendor=0421, idProduct=05c0
[  234.270066] usb 2-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  234.270070] usb 2-3: Product: 500
[  234.270074] usb 2-3: Manufacturer: Nokia
[  234.270078] usb 2-3: SerialNumber: ***************
[  234.532543] cdc_acm 2-3:1.1: ttyACM0: USB ACM device
[  234.534703] usbcore: registered new interface driver cdc_acm
[  234.534705] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[  234.571473] NET: Registered protocol family 35
[  234.653257] usbcore: registered new interface driver cdc_phonet
[  234.691608] usbcore: registered new interface driver cdc_ether
[  234.727973] usb 2-3: bad CDC descriptors
[  234.729022] usbcore: registered new interface driver rndis_host
[  234.745654] usb 2-3: bad CDC descriptors
[  234.746330] usbcore: registered new interface driver rndis_wlan
$lsusb
Bus 002 Device 005: ID 0421:05c0 Nokia Mobile Phones
$ifconfig -a
usbpn0    Link encap:UNSPEC  HWaddr 1B-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 
          POINTOPOINT NOARP  MTU:65541  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

Zawartość pliku /run/resolvconf/resolv.conf:
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
#     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN

Zawartość pliku /var/log/syslog
(w okresie od podłączenia telefonu do nieudanej próby połączenia)
Mar 23 01:59:03 dell kernel: [ 2171.596064] usb 2-3: new high-speed USB device number 8 using ehci-pci
Mar 23 01:59:03 dell kernel: [ 2171.753465] usb 2-3: New USB device found, idVendor=0421, idProduct=05c0
Mar 23 01:59:03 dell kernel: [ 2171.753471] usb 2-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Mar 23 01:59:03 dell kernel: [ 2171.753475] usb 2-3: Product: 500
Mar 23 01:59:03 dell kernel: [ 2171.753479] usb 2-3: Manufacturer: Nokia
Mar 23 01:59:03 dell kernel: [ 2171.753482] usb 2-3: SerialNumber: ****************
Mar 23 01:59:03 dell kernel: [ 2171.754961] cdc_acm 2-3:1.1: ttyACM0: USB ACM device
Mar 23 01:59:03 dell kernel: [ 2171.758938] usb 2-3: bad CDC descriptors
Mar 23 01:59:03 dell kernel: [ 2171.759068] usb 2-3: bad CDC descriptors
Mar 23 01:59:03 dell NetworkManager[913]: nm_device_get_device_type: assertion 'NM_IS_DEVICE (self)' failed
Mar 23 01:59:03 dell NetworkManager[913]: <info>  [1521766743.6442] manager: (usbpn0): new Generic device (/org/freedesktop/NetworkManager/Devices/8)
Mar 23 01:59:03 dell mtp-probe: checking bus 2, device 8: "/sys/devices/pci0000:00/0000:00:1d.7/usb2/2-3"
Mar 23 01:59:03 dell mtp-probe: bus: 2, device: 8 was an MTP device
Mar 23 01:59:03 dell org.gtk.vfs.GPhoto2VolumeMonitor[1219]: (process:1618): GVFS-GPhoto2-WARNING **: device (null) has no BUSNUM property, ignoring
Mar 23 01:59:03 dell NetworkManager[913]: <info>  [1521766743.7735] devices added (path: /sys/devices/pci0000:00/0000:00:1d.7/usb2/2-3/2-3:1.14/net/usbpn0, iface: usbpn0)
Mar 23 01:59:03 dell NetworkManager[913]: <info>  [1521766743.7736] device added (path: /sys/devices/pci0000:00/0000:00:1d.7/usb2/2-3/2-3:1.14/net/usbpn0, iface: usbpn0): no ifupdown configuration found.
Mar 23 01:59:03 dell org.gtk.vfs.Daemon[1219]: PTP: reading event an error 0x02ff occurredDevice 0 (VID=0421 and PID=05c0) is UNKNOWN in libmtp v1.1.10.
Mar 23 01:59:03 dell org.gtk.vfs.Daemon[1219]: Please report this VID/PID and the device model to the libmtp development team
Mar 23 01:59:11 dell ModemManager[859]: <info>  Creating modem with plugin 'Nokia' and '2' ports
Mar 23 01:59:11 dell ModemManager[859]: <warn>  Could not grab port (net/usbpn0): 'unsupported subsystem: 'net''
Mar 23 01:59:11 dell ModemManager[859]: <info>  Modem for device at '/sys/devices/pci0000:00/0000:00:1d.7/usb2/2-3' successfully created
Mar 23 01:59:12 dell ModemManager[859]: <warn>  (ttyACM0) response array is not empty when using cached reply, cleaning up 5 bytes
Mar 23 01:59:12 dell ModemManager[859]: <info>  Modem: state changed (unknown -> disabled)
Mar 23 01:59:12 dell NetworkManager[913]: <info>  [1521766752.2084] manager: (ttyACM0): new Broadband device (/org/freedesktop/NetworkManager/Devices/9)
Mar 23 01:59:12 dell NetworkManager[913]: <info>  [1521766752.2089] device (ttyACM0): state change: unmanaged -> unavailable (reason 'managed') [10 20 2]
Mar 23 01:59:12 dell NetworkManager[913]: <info>  [1521766752.2094] device (ttyACM0): modem state 'enabling'
Mar 23 01:59:12 dell ModemManager[859]: <info>  Modem /org/freedesktop/ModemManager1/Modem/3: state changed (disabled -> enabling)
Mar 23 01:59:12 dell ModemManager[859]: <info>  Modem /org/freedesktop/ModemManager1/Modem/3: 3GPP Registration state changed (unknown -> registering)
Mar 23 01:59:12 dell ModemManager[859]: <info>  Modem /org/freedesktop/ModemManager1/Modem/3: 3GPP Registration state changed (registering -> roaming)
Mar 23 01:59:12 dell ModemManager[859]: <info>  Modem /org/freedesktop/ModemManager1/Modem/3: state changed (enabling -> registered)
Mar 23 01:59:12 dell NetworkManager[913]: <info>  [1521766752.5004] device (ttyACM0): state change: unavailable -> disconnected (reason 'modem-available') [20 30 58]
Mar 23 01:59:22 dell ntpd[1377]: error resolving pool 1.ubuntu.pool.ntp.org: Temporary failure in name resolution (-3)
Mar 23 01:59:24 dell ntpd[1377]: error resolving pool 3.ubuntu.pool.ntp.org: Temporary failure in name resolution (-3)
Mar 23 01:59:27 dell ntpd[1377]: error resolving pool ntp.ubuntu.com: Temporary failure in name resolution (-3)
Mar 23 01:59:27 dell ntpd[1377]: error resolving pool 2.ubuntu.pool.ntp.org: Temporary failure in name resolution (-3)
Mar 23 01:59:27 dell ntpd[1377]: error resolving pool 0.ubuntu.pool.ntp.org: Temporary failure in name resolution (-3)
Mar 23 01:59:40 dell NetworkManager[913]: <info>  [1521766780.0842] device (ttyACM0): Activation: starting connection 'Play Online Default' (4d25d48a-ede9-46a9-905d-9989a6881269)
Mar 23 01:59:40 dell NetworkManager[913]: <info>  [1521766780.0848] audit: op="connection-activate" uuid="4d25d48a-ede9-46a9-905d-9989a6881269" name="Play Online Default" pid=1458 uid=1000 result="success"
Mar 23 01:59:40 dell NetworkManager[913]: <info>  [1521766780.0850] device (ttyACM0): state change: disconnected -> prepare (reason 'none') [30 40 0]
Mar 23 01:59:40 dell NetworkManager[913]: <info>  [1521766780.0852] manager: NetworkManager state is now CONNECTING
Mar 23 01:59:40 dell NetworkManager[913]: <warn>  [1521766780.0855] (ttyACM0): Failed to connect 'Play Online Default': Connection requested both IPv4 and IPv6 but dual-stack addressing is unsupported by the modem.
Mar 23 01:59:40 dell NetworkManager[913]: <info>  [1521766780.0855] device (ttyACM0): state change: prepare -> failed (reason 'modem-init-failed') [40 120 28]
Mar 23 01:59:40 dell NetworkManager[913]: <info>  [1521766780.0859] manager: NetworkManager state is now DISCONNECTED
Mar 23 01:59:40 dell NetworkManager[913]: (NetworkManager:913): GLib-GObject-WARNING **: invalid cast from 'NMSimpleConnection' to 'NMSettingsConnection'
Mar 23 01:59:40 dell NetworkManager[913]: <warn>  [1521766780.0865] device (ttyACM0): Activation: failed for connection 'Play Online Default'
Mar 23 01:59:40 dell NetworkManager[913]: <info>  [1521766780.0873] device (ttyACM0): state change: failed -> disconnected (reason 'none') [120 30 0]

Co do fragmentu pliku syslog:
Failed to connect 'Play Online Default': Connection requested both IPv4 and IPv6 but dual-stack addressing is unsupported by the modem.
Zmieniłem w konfiguracji połączenia IPv6 z „Automatic” na „Ignore”. Nadal telefon nie łączy się.

var/log/syslog (od momentu ponownego wybrania połączenia z IPv6 „Ignore”):
Mar 23 02:15:10 dell NetworkManager[913]: <info>  [1521767710.7780] device (ttyACM0): Activation: starting connection 'Play Online Default' (4d25d48a-ede9-46a9-905d-9989a6881269)
Mar 23 02:15:10 dell NetworkManager[913]: <info>  [1521767710.7782] audit: op="connection-activate" uuid="4d25d48a-ede9-46a9-905d-9989a6881269" name="Play Online Default" pid=1458 uid=1000 result="success"
Mar 23 02:15:10 dell NetworkManager[913]: <info>  [1521767710.7784] device (ttyACM0): state change: disconnected -> prepare (reason 'none') [30 40 0]
Mar 23 02:15:10 dell NetworkManager[913]: <info>  [1521767710.7786] manager: NetworkManager state is now CONNECTING
Mar 23 02:15:10 dell NetworkManager[913]: <warn>  [1521767710.7788] (ttyACM0): Failed to connect 'Play Online Default': Connection requested IPv4 but IPv4 is unsupported by the modem.
Mar 23 02:15:10 dell NetworkManager[913]: (NetworkManager:913): GLib-GObject-WARNING **: invalid cast from 'NMSimpleConnection' to 'NMSettingsConnection'
Mar 23 02:15:10 dell NetworkManager[913]: <info>  [1521767710.7789] device (ttyACM0): state change: prepare -> failed (reason 'modem-init-failed') [40 120 28]
Mar 23 02:15:10 dell NetworkManager[913]: <info>  [1521767710.7790] manager: NetworkManager state is now DISCONNECTED
Mar 23 02:15:10 dell NetworkManager[913]: <warn>  [1521767710.7796] device (ttyACM0): Activation: failed for connection 'Play Online Default'
Mar 23 02:15:10 dell NetworkManager[913]: <info>  [1521767710.7803] device (ttyACM0): state change: failed -> disconnected (reason 'none') [120 30 0]

Czy problem może być tu?
Mar 23 02:15:10 dell NetworkManager[913]: <warn>  [1521767710.7788] (ttyACM0): Failed to connect 'Play Online Default': Connection requested IPv4 but IPv4 is unsupported by the modem.

Offline napaony

  • Miętowe nasionko
  • *
  • Wiadomości: 23
  • Punkty: 0
Odp: Brak możliwości nawiązania połączenia GSM (Nokia500) od wersji Ubuntu 16.04
« Odpowiedź #1 dnia: Marzec 24, 2018, 07:56:42 am »
Myślę że błędnie to podłączasz, nie mam Nokii ale "Nokia Suite is an application for Nokia users to connect their devices with Microsoft Windows" u mnie na telefonie Xiaomi podłączam USB wchodzę do tethering i punkt dostępu/telefon jako modem   wybierasz nowe połączenie sieciowe komórkowe i konfigurator prowadzi cię za rączkę.