We have moved to a new Sailfish OS Forum. Please start new discussions there.
0

[FIXED] XA2 / Sailfish 3.x: wifi hotspot fails to give access Linux Mint laptop, works on other machines

asked 2019-07-22 12:06:39 +0300

teemu gravatar image

updated 2019-07-23 14:45:13 +0300

I have a white MacBook dualbooting to OS X 10.6.8 and Linux Mint 19.1, and the weirdest problem with XA2 wifi hotspot.

When I try to share my mobile connection by creating a wifi hotspot on my XA2 running Sailfish OS, I can get the wifi connection up and to the OS X (and to my Aqua Fish too) and it connects to the internet.

I fail to do that for Linux Mint. The issue was already in 3.0.3.10 and persists in 3.1.0.11. On my Aqua Fish with 3.0.3.10 the connection sharing to Linux Mint worked ok.

Linux Mint connects to the wifi network created by XA2, but Chromium doesn't load web pages. Instead it notifies "resolving hosts" and soon after tells me I have no connection. The same Linux Mint connects to my home wifi router and gets internet access without problems.

This is what happens on the phone courtesy of devel-su journalctl --follow when I disconnect and again connect to the wifi hotspot with the Linux Mint laptop:

Jul 22 11:20:49 Sailfish kernel: R0: [cds_mc_thread][784780779207] [11:20:49.784117]  wlan: [24729:E :PE ] lim_delete_dph_hash_entry: 3035: reducing the non ECSA num to 0
Jul 22 11:20:49 Sailfish kernel: R0: [cds_mc_thread][784780803503] [11:20:49.785382]  wlan: [24729:I :HDD] hdd_hostapd_sap_event_cb: 2304:  disassociated 00:1d:4f:fb:1e:3f
Jul 22 11:20:49 Sailfish kernel: R0: [cds_mc_thread][784780806448] [11:20:49.785536]  wlan: [24729:I :HDD] __hdd_ipa_wlan_evt:6855: wlan0: EVT: WLAN_CLIENT_DISCONNECT, MAC: 00:1d:4f:fb:1e:3f sta_id: 1
Jul 22 11:20:49 Sailfish kernel: R0: [cds_mc_thread][784780807987] [11:20:49.785616]  wlan: [24729:I :HTT] htt_h2t_ipa_uc_set_active: HTT_H2T_MSG_TYPE_WDI_IPA_OP_REQ (2)
Jul 22 11:20:49 Sailfish kernel: R0: [cds_mc_thread][784780824732] [11:20:49.786488]  wlan: [24729:I :HDD] __hdd_ipa_wlan_evt:7298: sap_num_connected_sta=0
Jul 22 11:20:49 Sailfish wpa_supplicant[3756]: wlan0: AP-STA-DISCONNECTED 00:1d:4f:fb:1e:3f
Jul 22 11:20:49 Sailfish kernel: R0: [kworker/0:2][784781116187] [11:20:49.801668]  wlan: [27338:I :HTT] htt_h2t_ipa_uc_set_active: HTT_H2T_MSG_TYPE_WDI_IPA_OP_REQ (0)
Jul 22 11:20:52 Sailfish kernel: R0: [cds_mc_thread][784838508589] [11:20:52.790968]  wlan: [24729:E :WMA] wma_log_completion_timeout: Timeout occured for log completion command
Jul 22 11:20:57 Sailfish kernel: HTB: quantum of class 10010 is big. Consider r2q change.
Jul 22 11:20:57 Sailfish sailfish-eas[3986]: [EAS] [3986]: 22 Jul 2019 11:20:57 +0300 , 0: Messaging :  opening database
Jul 22 11:20:57 Sailfish sailfish-eas[3986]: [EAS] [3986]: 22 Jul 2019 11:20:57 +0300 , 0: virtual bool QtContactsSqliteExtensions::TwoWayContactSyncAdapter::storeSyncStateData(const QString&) invalid state 0
Jul 22 11:21:03 Sailfish kernel: R0: [cds_mc_thread][785040309673] [11:21:03.301829]  wlan: [24729:E :PE ] lim_check_wpa_rsn_ie: 751: RSN enabled auth, Re/Assoc req from STA: 00:1d:4f:fb:1e:3f
Jul 22 11:21:03 Sailfish kernel: R0: [cds_mc_thread][785040312347] [11:21:03.301969]  wlan: [24729:E :PE ] lim_process_assoc_req_frame: 1985: Received: Assoc Req  successful from 00:1d:4f:fb:1e:3f
Jul 22 11:21:03 Sailfish kernel: R0: [cds_mc_thread][785040331344] [11:21:03.302958]  wlan: [24729:I :WMA] wma_send_peer_assoc: vdev_id 0 associd 3 peer_flags 201002 nss 1 phymode 5 ht_caps 181c
Jul 22 11:21:03 Sailfish kernel: R0: [cds_mc_thread][785040410165] [11:21:03.307063]  wlan: [24729:I :HDD] hdd_hostapd_sap_event_cb: 2141:  associated 00:1d:4f:fb:1e:3f
Jul 22 11:21:03 Sailfish kernel: R0: [cds_mc_thread][785040411306] [11:21:03.307123]  wlan: [24729:I :HDD] hdd_softap_register_sta: 1033: STA:1, Auth:1, Priv:1, WMM:1
Jul 22 11:21:03 Sailfish kernel: R0: [cds_mc_thread][785040412456] [11:21:03.307183]  wlan: [24729:I :HDD] hdd_softap_register_sta: 1099: ULA auth StaId= 1.  Changing TL state to CONNECTED at Join time
Jul 22 11:21:03 Sailfish kernel: R0: [cds_mc_thread][785040413283] [11:21:03.307226]  wlan: [24729:I :HDD] hdd_softap_register_sta: 1110: Enabling queues
Jul 22 11:21:03 Sailfish kernel: R0: [cds_mc_thread][785040415408] [11:21:03.307337]  wlan: [24729:I :HDD] __hdd_ipa_wlan_evt:6855: wlan0: EVT: WLAN_CLIENT_CONNECT_EX, MAC: 00:1d:4f:fb:1e:3f sta_id: 1
Jul 22 11:21:03 Sailfish kernel: R0: [cds_mc_thread][785040528011] [11:21:03.313202]  wlan: [24729:I :HTT] htt_h2t_ipa_uc_set_active: HTT_H2T_MSG_TYPE_WDI_IPA_OP_REQ (1)
Jul 22 11:21:03 Sailfish kernel: R0: [cds_mc_thread][785040550977] [11:21:03.314398]  wlan: [24729:I :HTT] htt_h2t_ipa_uc_set_active: HTT_H2T_MSG_TYPE_WDI_IPA_OP_REQ (3)
Jul 22 11:21:03 Sailfish kernel: R0: [cds_mc_thread][785040560136] [11:21:03.314875]  wlan: [24729:I :HDD] __hdd_ipa_wlan_evt:7242: sap_num_connected_sta=1
Jul 22 11:21:03 Sailfish wpa_supplicant[3756]: wlan0: CTRL-EVENT-SUBNET-STATUS-UPDATE status=0
Jul 22 11:21:03 Sailfish kernel: R0: [cds_mc_thread][785040902693] [11:21:03.332717]  wlan: [24729:I :HDD] hdd_softap_change_sta_state: 1253: Station 1 changed to state 3
Jul 22 11:21:03 Sailfish kernel: R0: [cds_mc_thread][785040904516] [11:21:03.332812]  wlan: [24729:I :SME] ########### Set Key Complete #############
Jul 22 11:21:03 Sailfish wpa_supplicant[3756]: wlan0: AP-STA-CONNECTED 00:1d:4f:fb:1e:3f
Jul 22 11:21:09 Sailfish kernel: HTB: quantum of class 10010 is big. Consider r2q change.
Jul 22 11:21:09 Sailfish kernel: IRQ5 no longer affine to CPU1
Jul 22 11:21:10 Sailfish kernel: IRQ5 no longer affine to CPU2
Jul 22 11:21:27 Sailfish healthd: battery l=89 v=4210 t=35.0 h=2 st=2 c=-375 chg=u

And this is what ifconfig on my Linux Mint terminal hast to say:

teemu@teemu-MacBook:~$ ifconfig
enp0s29f7u1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.2.7  netmask 255.255.255.0  broadcast 192.168.2.255
        inet6 fe80::6586:b38a:f21c:c13a  prefixlen 64  scopeid 0x20<link>
        ether ba:60:d0:e6:06:97  txqueuelen 1000  (Ethernet)
        RX packets 279  bytes 63331 (63.3 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 392  bytes 54185 (54.1 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

ens5: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether 00:1b:63:af:90:b2  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 17  

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 949  bytes 76956 (76.9 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 949  bytes 76956 (76.9 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wls4: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 172.28.172.2  netmask 255.255.255.0  broadcast 172.28.172.255
        inet6 fe80::77cd:933a:f637:5d0  prefixlen 64  scopeid 0x20<link>
        ether 00:1d:4f:fb:1e:3f  txqueuelen 1000  (Ethernet)
        RX packets 1363  bytes 1486449 (1.4 MB)
        RX errors 0  dropped 0  overruns 0  frame 143
        TX packets 1940  bytes 186800 (186.8 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 16  

teemu@teemu-MacBook:~$

And on the /var/log/syslog on the Linux Mint:

Jul 22 11:19:26 teemu-MacBook xed[3464]: _gtk_widget_captured_event: assertion 'WIDGET_REALIZED_FOR_EVENT (widget, event)' failed
Jul 22 11:19:26 teemu-MacBook xed[3464]: message repeated 4 times: [ _gtk_widget_captured_event: assertion 'WIDGET_REALIZED_FOR_EVENT (widget, event)' failed]
Jul 22 11:19:26 teemu-MacBook systemd[1]: Starting Hostname Service...
Jul 22 11:19:26 teemu-MacBook dbus-daemon[705]: [system] Successfully activated service 'org.freedesktop.hostname1'
Jul 22 11:19:26 teemu-MacBook systemd[1]: Started Hostname Service.
Jul 22 11:19:30 teemu-MacBook kernel: [  413.821397] perf: interrupt took too long (2516 > 2500), lowering kernel.perf_event_max_sample_rate to 79250
Jul 22 11:19:31 teemu-MacBook systemd-resolved[689]: Using degraded feature set (UDP) for DNS server 172.28.172.1.
Jul 22 11:20:19 teemu-MacBook systemd-resolved[689]: Using degraded feature set (TCP) for DNS server 172.28.172.1.
Jul 22 11:20:23 teemu-MacBook NetworkManager[725]: <info>  [1563783623.3366] device (wls4): state change: activated -> deactivating (reason 'user-requested', sys-iface-state: 'managed')
Jul 22 11:20:23 teemu-MacBook NetworkManager[725]: <info>  [1563783623.3371] manager: NetworkManager state is now CONNECTED_LOCAL
Jul 22 11:20:23 teemu-MacBook NetworkManager[725]: <info>  [1563783623.3694] audit: op="device-disconnect" interface="wls4" ifindex=3 pid=1279 uid=1000 result="success"
Jul 22 11:20:23 teemu-MacBook dbus-daemon[705]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service' requested by ':1.15' (uid=0 pid=725 comm="/usr/sbin/NetworkManager --no-daemon " label="unconfined")
Jul 22 11:20:23 teemu-MacBook NetworkManager[725]: <info>  [1563783623.3700] device (wls4): state change: deactivating -> disconnected (reason 'user-requested', sys-iface-state: 'managed')
Jul 22 11:20:23 teemu-MacBook avahi-daemon[728]: Withdrawing address record for fe80::77cd:933a:f637:5d0 on wls4.
Jul 22 11:20:23 teemu-MacBook avahi-daemon[728]: Leaving mDNS multicast group on interface wls4.IPv6 with address fe80::77cd:933a:f637:5d0.
Jul 22 11:20:23 teemu-MacBook avahi-daemon[728]: Interface wls4.IPv6 no longer relevant for mDNS.
Jul 22 11:20:23 teemu-MacBook systemd[1]: Starting Network Manager Script Dispatcher Service...
Jul 22 11:20:23 teemu-MacBook dbus-daemon[705]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
Jul 22 11:20:23 teemu-MacBook systemd[1]: Started Network Manager Script Dispatcher Service.
Jul 22 11:20:23 teemu-MacBook nm-dispatcher: req:1 'connectivity-change': new request (2 scripts)
Jul 22 11:20:23 teemu-MacBook nm-dispatcher: req:1 'connectivity-change': start running ordered scripts...
Jul 22 11:20:23 teemu-MacBook NetworkManager[725]: <info>  [1563783623.3920] dhcp4 (wls4): canceled DHCP transaction, DHCP client pid 3163
Jul 22 11:20:23 teemu-MacBook NetworkManager[725]: <info>  [1563783623.3921] dhcp4 (wls4): state changed bound -> done
Jul 22 11:20:23 teemu-MacBook avahi-daemon[728]: Withdrawing address record for 172.28.172.2 on wls4.
Jul 22 11:20:23 teemu-MacBook avahi-daemon[728]: Leaving mDNS multicast group on interface wls4.IPv4 with address 172.28.172.2.
Jul 22 11:20:23 teemu-MacBook avahi-daemon[728]: Interface wls4.IPv4 no longer relevant for mDNS.
Jul 22 11:20:23 teemu-MacBook wpa_supplicant[726]: wls4: CTRL-EVENT-DISCONNECTED bssid=38:78:62:5a:fe:6b reason=3 locally_generated=1
Jul 22 11:20:23 teemu-MacBook wpa_supplicant[726]: nl80211: Was expecting local disconnect but got another disconnect event first
Jul 22 11:20:23 teemu-MacBook wpa_supplicant[726]: wls4: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
Jul 22 11:20:23 teemu-MacBook nm-dispatcher: req:2 'down' [wls4]: new request (2 scripts)
Jul 22 11:20:23 teemu-MacBook nm-dispatcher: req:2 'down' [wls4]: start running ordered scripts...
Jul 22 11:20:23 teemu-MacBook NetworkManager[725]: <warn>  [1563783623.4073] sup-iface[0x560833864240,wls4]: connection disconnected (reason -3)
Jul 22 11:20:23 teemu-MacBook NetworkManager[725]: <info>  [1563783623.4074] device (wls4): supplicant interface state: completed -> disconnected
Jul 22 11:20:24 teemu-MacBook dbus-daemon[929]: [session uid=1000 pid=929] Activating service name='org.freedesktop.Notifications' requested by ':1.40' (uid=1000 pid=1279 comm="nm-applet " label="unconfined")
Jul 22 11:20:24 teemu-MacBook dbus-daemon[929]: [session uid=1000 pid=929] Successfully activated service 'org.freedesktop.Notifications'
Jul 22 11:20:24 teemu-MacBook ntpd[839]: Deleting interface #11 wls4, 172.28.172.2#123, interface stats: received=0, sent=42, dropped=5, active_time=140 secs
Jul 22 11:20:24 teemu-MacBook ntpd[839]: 95.216.142.52 local addr 172.28.172.2 -> <null>
Jul 22 11:20:24 teemu-MacBook ntpd[839]: 185.31.136.34 local addr 172.28.172.2 -> <null>
Jul 22 11:20:24 teemu-MacBook ntpd[839]: 95.216.147.242 local addr 172.28.172.2 -> <null>
Jul 22 11:20:24 teemu-MacBook ntpd[839]: 95.216.160.182 local addr 172.28.172.2 -> <null>
Jul 22 11:20:24 teemu-MacBook ntpd[839]: 80.69.163.42 local addr 172.28.172.2 -> <null>
Jul 22 11:20:24 teemu-MacBook ntpd[839]: 194.100.206.70 local addr 172.28.172.2 -> <null>
Jul 22 11:20:24 teemu-MacBook ntpd[839]: 91.206.8.34 local addr 172.28.172.2 -> <null>
Jul 22 11:20:24 teemu-MacBook ntpd[839]: 91.189.91.157 local addr 172.28.172.2 -> <null>
Jul 22 11:20:24 teemu-MacBook ntpd[839]: 95.216.78.223 local addr 172.28.172.2 -> <null>
Jul 22 11:20:24 teemu-MacBook ntpd[839]: 139.112.153.37 local addr 172.28.172.2 -> <null>
Jul 22 11:20:24 teemu-MacBook ntpd[839]: 62.237.86.234 local addr 172.28.172.2 -> <null>
Jul 22 11:20:24 teemu-MacBook ntpd[839]: 91.189.89.199 local addr 172.28.172.2 -> <null>
Jul 22 11:20:24 teemu-MacBook ntpd[839]: 213.28.138.38 local addr 172.28.172.2 -> <null>
Jul 22 11:20:24 teemu-MacBook ntpd[839]: 5.135.3.88 local addr 172.28.172.2 -> <null>
Jul 22 11:20:24 teemu-MacBook ntpd[839]: 91.189.89.198 local addr 172.28.172.2 -> <null>
Jul 22 11:20:24 teemu-MacBook ntpd[839]: 91.189.94.4 local addr 172.28.172.2 -> <null>
Jul 22 11:20:24 teemu-MacBook ntpd[839]: Deleting interface #13 wls4, fe80::77cd:933a:f637:5d0%3#123, interface stats: received=0, sent=0, dropped=0, active_time=138 secs
Jul 22 11:20:44 teemu-MacBook NetworkManager[725]: <info>  [1563783644.3474] device (wls4): Activation: starting connection 'Sailfish-XA2' (6137ff75-a187-4a1f-9b38-2b9ebecd2637)
Jul 22 11:20:44 teemu-MacBook NetworkManager[725]: <info>  [1563783644.3483] audit: op="connection-activate" uuid="6137ff75-a187-4a1f-9b38-2b9ebecd2637" name="Sailfish-XA2" pid=1279 uid=1000 result="success"
Jul 22 11:20:44 teemu-MacBook NetworkManager[725]: <info>  [1563783644.3489] device (wls4): state change: disconnected -> prepare (reason 'none', sys-iface-state: 'managed')
Jul 22 11:20:44 teemu-MacBook NetworkManager[725]: <info>  [1563783644.3493] manager: NetworkManager state is now CONNECTING
Jul 22 11:20:44 teemu-MacBook NetworkManager[725]: <info>  [1563783644.3503] device (wls4): state change: prepare -> config (reason 'none', sys-iface-state: 'managed')
Jul 22 11:20:44 teemu-MacBook NetworkManager[725]: <info>  [1563783644.3584] device (wls4): Activation: (wifi) access point 'Sailfish-XA2' has security, but secrets are required.
Jul 22 11:20:44 teemu-MacBook NetworkManager[725]: <info>  [1563783644.3591] device (wls4): state change: config -> need-auth (reason 'none', sys-iface-state: 'managed')
Jul 22 11:20:44 teemu-MacBook NetworkManager[725]: <info>  [1563783644.3595] sup-iface[0x560833864240,wls4]: wps: type pbc start...
Jul 22 11:20:44 teemu-MacBook NetworkManager[725]: <info>  [1563783644.3689] device (wls4): state change: need-auth -> prepare (reason 'none', sys-iface-state: 'managed')
Jul 22 11:20:44 teemu-MacBook NetworkManager[725]: <info>  [1563783644.3726] device (wls4): state change: prepare -> config (reason 'none', sys-iface-state: 'managed')
Jul 22 11:20:44 teemu-MacBook NetworkManager[725]: <info>  [1563783644.3734] device (wls4): Activation: (wifi) connection 'Sailfish-XA2' has security, and secrets exist.  No new secrets needed.
Jul 22 11:20:44 teemu-MacBook NetworkManager[725]: <info>  [1563783644.3737] Config: added 'ssid' value 'Sailfish-XA2'
Jul 22 11:20:44 teemu-MacBook NetworkManager[725]: <info>  [1563783644.3740] Config: added 'scan_ssid' value '1'
Jul 22 11:20:44 teemu-MacBook NetworkManager[725]: <info>  [1563783644.3742] Config: added 'bgscan' value 'simple:30:-80:86400'
Jul 22 11:20:44 teemu-MacBook NetworkManager[725]: <info>  [1563783644.3744] Config: added 'key_mgmt' value 'WPA-PSK'
Jul 22 11:20:44 teemu-MacBook NetworkManager[725]: <info>  [1563783644.3746] Config: added 'psk' value '<hidden>'
Jul 22 11:20:46 teemu-MacBook NetworkManager[725]: <info>  [1563783646.3949] device (wls4): supplicant interface state: disconnected -> scanning
Jul 22 11:20:49 teemu-MacBook wpa_supplicant[726]: wls4: Trying to associate with 38:78:62:5a:fe:6b (SSID='Sailfish-XA2' freq=2412 MHz)
Jul 22 11:20:49 teemu-MacBook NetworkManager[725]: <info>  [1563783649.7032] device (wls4): supplicant interface state: scanning -> associating
Jul 22 11:20:59 teemu-MacBook wpa_supplicant[726]: wls4: Authentication with 38:78:62:5a:fe:6b timed out.
Jul 22 11:20:59 teemu-MacBook wpa_supplicant[726]: wls4: CTRL-EVENT-DISCONNECTED bssid=38:78:62:5a:fe:6b reason=3 locally_generated=1
Jul 22 11:20:59 teemu-MacBook NetworkManager[725]: <warn>  [1563783659.7015] sup-iface[0x560833864240,wls4]: connection disconnected (reason -3)
Jul 22 11:20:59 teemu-MacBook NetworkManager[725]: <info>  [1563783659.7061] device (wls4): supplicant interface state: associating -> disconnected
Jul 22 11:20:59 teemu-MacBook NetworkManager[725]: <info>  [1563783659.8335] device (wls4): supplicant interface state: disconnected -> scanning
Jul 22 11:21:03 teemu-MacBook wpa_supplicant[726]: wls4: Trying to associate with 38:78:62:5a:fe:6b (SSID='Sailfish-XA2' freq=2412 MHz)
Jul 22 11:21:03 teemu-MacBook NetworkManager[725]: <info>  [1563783663.2232] device (wls4): supplicant interface state: scanning -> associating
Jul 22 11:21:03 teemu-MacBook wpa_supplicant[726]: wls4: Associated with 38:78:62:5a:fe:6b
Jul 22 11:21:03 teemu-MacBook wpa_supplicant[726]: wls4: CTRL-EVENT-SUBNET-STATUS-UPDATE status=0
Jul 22 11:21:03 teemu-MacBook NetworkManager[725]: <info>  [1563783663.3075] device (wls4): supplicant interface state: associating -> associated
Jul 22 11:21:03 teemu-MacBook NetworkManager[725]: <info>  [1563783663.3158] device (wls4): supplicant interface state: associated -> 4-way handshake
Jul 22 11:21:03 teemu-MacBook wpa_supplicant[726]: wls4: WPA: Key negotiation completed with 38:78:62:5a:fe:6b [PTK=CCMP GTK=CCMP]
Jul 22 11:21:03 teemu-MacBook wpa_supplicant[726]: wls4: CTRL-EVENT-CONNECTED - Connection to 38:78:62:5a:fe:6b completed [id=0 id_str=]
Jul 22 11:21:03 teemu-MacBook wpa_supplicant[726]: bgscan simple: Failed to enable signal strength monitoring
Jul 22 11:21:03 teemu-MacBook NetworkManager[725]: <info>  [1563783663.3236] device (wls4): supplicant interface state: 4-way handshake -> completed
Jul 22 11:21:03 teemu-MacBook NetworkManager[725]: <info>  [1563783663.3237] device (wls4): Activation: (wifi) Stage 2 of 5 (Device Configure) successful.  Connected to wireless network 'Sailfish-XA2'.
Jul 22 11:21:03 teemu-MacBook NetworkManager[725]: <info>  [1563783663.3239] device (wls4): state change: config -> ip-config (reason 'none', sys-iface-state: 'managed')
Jul 22 11:21:03 teemu-MacBook NetworkManager[725]: <info>  [1563783663.3247] dhcp4 (wls4): activation: beginning transaction (timeout in 45 seconds)
Jul 22 11:21:03 teemu-MacBook NetworkManager[725]: <info>  [1563783663.3302] dhcp4 (wls4): dhclient started with pid 3674
Jul 22 11:21:03 teemu-MacBook dhclient[3674]: DHCPREQUEST of 172.28.172.2 on wls4 to 255.255.255.255 port 67 (xid=0x7833c044)
Jul 22 11:21:03 teemu-MacBook dhclient[3674]: DHCPACK of 172.28.172.2 from 172.28.172.1
Jul 22 11:21:03 teemu-MacBook NetworkManager[725]: <info>  [1563783663.3850] dhcp4 (wls4):   address 172.28.172.2
Jul 22 11:21:03 teemu-MacBook NetworkManager[725]: <info>  [1563783663.3851] dhcp4 (wls4):   plen 24 (255.255.255.0)
Jul 22 11:21:03 teemu-MacBook NetworkManager[725]: <info>  [1563783663.3851] dhcp4 (wls4):   gateway 172.28.172.1
Jul 22 11:21:03 teemu-MacBook NetworkManager[725]: <info>  [1563783663.3852] dhcp4 (wls4):   lease time 86400
Jul 22 11:21:03 teemu-MacBook NetworkManager[725]: <info>  [1563783663.3852] dhcp4 (wls4):   nameserver '172.28.172.1'
Jul 22 11:21:03 teemu-MacBook NetworkManager[725]: <info>  [1563783663.3852] dhcp4 (wls4): state changed unknown -> bound
Jul 22 11:21:03 teemu-MacBook avahi-daemon[728]: Joining mDNS multicast group on interface wls4.IPv4 with address 172.28.172.2.
Jul 22 11:21:03 teemu-MacBook NetworkManager[725]: <info>  [1563783663.3894] device (wls4): state change: ip-config -> ip-check (reason 'none', sys-iface-state: 'managed')
Jul 22 11:21:03 teemu-MacBook avahi-daemon[728]: New relevant interface wls4.IPv4 for mDNS.
Jul 22 11:21:03 teemu-MacBook avahi-daemon[728]: Registering new address record for 172.28.172.2 on wls4.IPv4.
Jul 22 11:21:03 teemu-MacBook NetworkManager[725]: <info>  [1563783663.3907] device (wls4): state change: ip-check -> secondaries (reason 'none', sys-iface-state: 'managed')
Jul 22 11:21:03 teemu-MacBook NetworkManager[725]: <info>  [1563783663.3911] device (wls4): state change: secondaries -> activated (reason 'none', sys-iface-state: 'managed')
Jul 22 11:21:03 teemu-MacBook NetworkManager[725]: <info>  [1563783663.3913] manager: NetworkManager state is now CONNECTED_LOCAL
Jul 22 11:21:03 teemu-MacBook dhclient[3674]: bound to 172.28.172.2 -- renewal in 32924 seconds.
Jul 22 11:21:03 teemu-MacBook NetworkManager[725]: <info>  [1563783663.4342] manager: NetworkManager state is now CONNECTED_SITE
Jul 22 11:21:03 teemu-MacBook NetworkManager[725]: <info>  [1563783663.4343] policy: set 'Sailfish-XA2' (wls4) as default for IPv4 routing and DNS
Jul 22 11:21:03 teemu-MacBook NetworkManager[725]: <info>  [1563783663.4350] device (wls4): Activation: successful, device activated.
Jul 22 11:21:03 teemu-MacBook dbus-daemon[705]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service' requested by ':1.15' (uid=0 pid=725 comm="/usr/sbin/NetworkManager --no-daemon " label="unconfined")
Jul 22 11:21:03 teemu-MacBook systemd[1]: Starting Network Manager Script Dispatcher Service...
Jul 22 11:21:03 teemu-MacBook dbus-daemon[929]: [session uid=1000 pid=929] Activating service name='org.freedesktop.Notifications' requested by ':1.40' (uid=1000 pid=1279 comm="nm-applet " label="unconfined")
Jul 22 11:21:03 teemu-MacBook dbus-daemon[705]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
Jul 22 11:21:03 teemu-MacBook systemd[1]: Started Network Manager Script Dispatcher Service.
Jul 22 11:21:03 teemu-MacBook nm-dispatcher: req:1 'up' [wls4]: new request (2 scripts)
Jul 22 11:21:03 teemu-MacBook nm-dispatcher: req:1 'up' [wls4]: start running ordered scripts...
Jul 22 11:21:03 teemu-MacBook dbus-daemon[929]: [session uid=1000 pid=929] Successfully activated service 'org.freedesktop.Notifications'
Jul 22 11:21:04 teemu-MacBook avahi-daemon[728]: Joining mDNS multicast group on interface wls4.IPv6 with address fe80::77cd:933a:f637:5d0.
Jul 22 11:21:04 teemu-MacBook avahi-daemon[728]: New relevant interface wls4.IPv6 for mDNS.
Jul 22 11:21:04 teemu-MacBook avahi-daemon[728]: Registering new address record for fe80::77cd:933a:f637:5d0 on wls4.*.
Jul 22 11:21:05 teemu-MacBook ntpd[839]: Listen normally on 14 wls4 172.28.172.2:123
Jul 22 11:21:05 teemu-MacBook ntpd[839]: Listen normally on 15 wls4 [fe80::77cd:933a:f637:5d0%3]:123
Jul 22 11:21:05 teemu-MacBook ntpd[839]: new interface(s) found: waking up resolver
Jul 22 11:21:08 teemu-MacBook systemd-resolved[689]: Using degraded feature set (UDP) for DNS server 172.28.172.1.
Jul 22 11:21:13 teemu-MacBook nm-dispatcher: req:2 'connectivity-change': new request (2 scripts)
Jul 22 11:21:13 teemu-MacBook nm-dispatcher: req:2 'connectivity-change': start running ordered scripts...
Jul 22 11:21:18 teemu-MacBook ntpdate[3802]: Can't find host 0.ubuntu.pool.ntp.org: Name or service not known (-2)
Jul 22 11:21:18 teemu-MacBook systemd-resolved[689]: Using degraded feature set (TCP) for DNS server 172.28.172.1.
Jul 22 11:21:28 teemu-MacBook ntpdate[3802]: Can't find host 1.ubuntu.pool.ntp.org: Name or service not known (-2)
Jul 22 11:21:38 teemu-MacBook ntpdate[3802]: Can't find host 2.ubuntu.pool.ntp.org: Name or service not known (-2)
Jul 22 11:21:48 teemu-MacBook ntpdate[3802]: Can't find host 3.ubuntu.pool.ntp.org: Name or service not known (-2)
Jul 22 11:21:48 teemu-MacBook systemd-resolved[689]: Using degraded feature set (UDP) for DNS server 172.28.172.1.
Jul 22 11:21:58 teemu-MacBook ntpdate[3802]: Can't find host ntp.ubuntu.com: Name or service not known (-2)
Jul 22 11:21:58 teemu-MacBook ntpdate[3802]: no servers can be used, exiting
Jul 22 11:22:01 teemu-MacBook xed[3464]: _gtk_widget_captured_event: assertion 'WIDGET_REALIZED_FOR_EVENT (widget, event)' failed
Jul 22 11:22:53 teemu-MacBook xed[3464]: message repeated 14 times: [ _gtk_widget_captured_event: assertion 'WIDGET_REALIZED_FOR_EVENT (widget, event)' failed]
Jul 22 11:22:58 teemu-MacBook dbus-daemon[705]: [system] Activating via systemd: service name='org.freedesktop.hostname1' unit='dbus-org.freedesktop.hostname1.service' requested by ':1.62' (uid=1000 pid=3464 comm="xed " label="unconfined")
Jul 22 11:22:58 teemu-MacBook xed[3464]: _gtk_widget_captured_event: assertion 'WIDGET_REALIZED_FOR_EVENT (widget, event)' failed
Jul 22 11:22:58 teemu-MacBook xed[3464]: message repeated 4 times: [ _gtk_widget_captured_event: assertion 'WIDGET_REALIZED_FOR_EVENT (widget, event)' failed]
Jul 22 11:22:58 teemu-MacBook systemd[1]: Starting Hostname Service...
Jul 22 11:22:58 teemu-MacBook dbus-daemon[705]: [system] Successfully activated service 'org.freedesktop.hostname1'
Jul 22 11:22:58 teemu-MacBook systemd[1]: Started Hostname Service.
Jul 22 11:23:07 teemu-MacBook kernel: [  630.946095] perf: interrupt took too long (3171 > 3145), lowering kernel.perf_event_max_sample_rate to 63000
Jul 22 11:23:19 teemu-MacBook ntpd[839]: 91.189.91.157 local addr 172.28.172.2 -> <null>
Jul 22 11:23:19 teemu-MacBook systemd-resolved[689]: Using degraded feature set (TCP) for DNS server 172.28.172.1.
Jul 22 11:23:22 teemu-MacBook ntpd[839]: Soliciting pool server 2001:67c:1560:8003::c8
Jul 22 11:23:22 teemu-MacBook ntpd[839]: Soliciting pool server 2a01:4f9:2a:666::2
Jul 22 11:23:23 teemu-MacBook ntpd[839]: 5.135.3.88 local addr 172.28.172.2 -> <null>
Jul 22 11:23:23 teemu-MacBook ntpd[839]: 91.189.89.199 local addr 172.28.172.2 -> <null>
Jul 22 11:23:24 teemu-MacBook NetworkManager[725]: <info>  [1563783804.8058] device (wls4): state change: activated -> deactivating (reason 'user-requested', sys-iface-state: 'managed')
Jul 22 11:23:24 teemu-MacBook NetworkManager[725]: <info>  [1563783804.8071] manager: NetworkManager state is now CONNECTED_LOCAL
Jul 22 11:23:24 teemu-MacBook NetworkManager[725]: <info>  [1563783804.8477] audit: op="device-disconnect" interface="wls4" ifindex=3 pid=1279 uid=1000 result="success"
Jul 22 11:23:24 teemu-MacBook dbus-daemon[705]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service' requested by ':1.15' (uid=0 pid=725 comm="/usr/sbin/NetworkManager --no-daemon " label="unconfined")
Jul 22 11:23:24 teemu-MacBook NetworkManager[725]: <info>  [1563783804.8483] device (wls4): state change: deactivating -> disconnected (reason 'user-requested', sys-iface-state: 'managed')
Jul 22 11:23:24 teemu-MacBook systemd[1]: Starting Network Manager Script Dispatcher Service...
Jul 22 11:23:24 teemu-MacBook avahi-daemon[728]: Withdrawing address record for fe80::77cd:933a:f637:5d0 on wls4.
Jul 22 11:23:24 teemu-MacBook avahi-daemon[728]: Leaving mDNS multicast group on interface wls4.IPv6 with address fe80::77cd:933a:f637:5d0.
Jul 22 11:23:24 teemu-MacBook avahi-daemon[728]: Interface wls4.IPv6 no longer relevant for mDNS.
Jul 22 11:23:24 teemu-MacBook dbus-daemon[705]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
Jul 22 11:23:24 teemu-MacBook systemd[1]: Started Network Manager Script Dispatcher Service.
Jul 22 11:23:24 teemu-MacBook nm-dispatcher: req:1 'connectivity-change': new request (2 scripts)
Jul 22 11:23:24 teemu-MacBook nm-dispatcher: req:1 'connectivity-change': start running ordered scripts...
Jul 22 11:23:24 teemu-MacBook NetworkManager[725]: <info>  [1563783804.8741] dhcp4 (wls4): canceled DHCP transaction, DHCP client pid 3674
Jul 22 11:23:24 teemu-MacBook avahi-daemon[728]: Withdrawing address record for 172.28.172.2 on wls4.
Jul 22 11:23:24 teemu-MacBook NetworkManager[725]: <info>  [1563783804.8742] dhcp4 (wls4): state changed bound -> done
Jul 22 11:23:24 teemu-MacBook avahi-daemon[728]: Leaving mDNS multicast group on interface wls4.IPv4 with address 172.28.172.2.
Jul 22 11:23:24 teemu-MacBook avahi-daemon[728]: Interface wls4.IPv4 no longer relevant for mDNS.
Jul 22 11:23:24 teemu-MacBook wpa_supplicant[726]: wls4: CTRL-EVENT-DISCONNECTED bssid=38:78:62:5a:fe:6b reason=3 locally_generated=1
Jul 22 11:23:24 teemu-MacBook ntpd[839]: error resolving pool 3.ubuntu.pool.ntp.org: Name or service not known (-2)
Jul 22 11:23:24 teemu-MacBook wpa_supplicant[726]: nl80211: Was expecting local disconnect but got another disconnect event first
Jul 22 11:23:24 teemu-MacBook wpa_supplicant[726]: wls4: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
Jul 22 11:23:24 teemu-MacBook ntpd[839]: error resolving pool 1.ubuntu.pool.ntp.org: Name or service not known (-2)
Jul 22 11:23:24 teemu-MacBook ntpd[839]: error resolving pool 0.ubuntu.pool.ntp.org: Name or service not known (-2)
Jul 22 11:23:24 teemu-MacBook NetworkManager[725]: <warn>  [1563783804.8888] sup-iface[0x560833864240,wls4]: connection disconnected (reason -3)
Jul 22 11:23:24 teemu-MacBook NetworkManager[725]: <info>  [1563783804.8889] device (wls4): supplicant interface state: completed -> disconnected
Jul 22 11:23:24 teemu-MacBook nm-dispatcher: req:2 'down' [wls4]: new request (2 scripts)
Jul 22 11:23:24 teemu-MacBook nm-dispatcher: req:2 'down' [wls4]: start running ordered scripts...
Jul 22 11:23:24 teemu-MacBook nm-dispatcher: req:3 'connectivity-change': new request (2 scripts)
Jul 22 11:23:24 teemu-MacBook nm-dispatcher: req:3 'connectivity-change': start running ordered scripts...
Jul 22 11:23:25 teemu-MacBook ntpd[839]: 95.216.147.242 local addr 172.28.172.2 -> <null>
Jul 22 11:23:25 teemu-MacBook dbus-daemon[929]: [session uid=1000 pid=929] Activating service name='org.freedesktop.Notifications' requested by ':1.40' (uid=1000 pid=1279 comm="nm-applet " label="unconfined")
Jul 22 11:23:25 teemu-MacBook dbus-daemon[929]: [session uid=1000 pid=929] Successfully activated service 'org.freedesktop.Notifications'
Jul 22 11:23:26 teemu-MacBook ntpd[839]: 91.189.94.4 local addr 172.28.172.2 -> <null>
Jul 22 11:23:26 teemu-MacBook ntpd[839]: 91.189.89.198 local addr 172.28.172.2 -> <null>
Jul 22 11:23:27 teemu-MacBook ntpd[839]: Deleting interface #14 wls4, 172.28.172.2#123, interface stats: received=1, sent=45, dropped=0, active_time=142 secs
Jul 22 11:23:27 teemu-MacBook ntpd[839]: 95.216.142.52 local addr 172.28.172.2 -> <null>
Jul 22 11:23:27 teemu-MacBook ntpd[839]: 185.31.136.34 local addr 172.28.172.2 -> <null>
Jul 22 11:23:27 teemu-MacBook ntpd[839]: 95.216.160.182 local addr 172.28.172.2 -> <null>
Jul 22 11:23:27 teemu-MacBook ntpd[839]: 80.69.163.42 local addr 172.28.172.2 -> <null>
Jul 22 11:23:27 teemu-MacBook ntpd[839]: 194.100.206.70 local addr 172.28.172.2 -> <null>
Jul 22 11:23:27 teemu-MacBook ntpd[839]: 91.206.8.34 local addr 172.28.172.2 -> <null>
Jul 22 11:23:27 teemu-MacBook ntpd[839]: 95.216.78.223 local addr 172.28.172.2 -> <null>
Jul 22 11:23:27 teemu-MacBook ntpd[839]: 139.112.153.37 local addr 172.28.172.2 -> <null>
Jul 22 11:23:27 teemu-MacBook ntpd[839]: 62.237.86.234 local addr 172.28.172.2 -> <null>
Jul 22 11:23:27 teemu-MacBook ntpd[839]: 213.28.138.38 local addr 172.28.172.2 -> <null>
Jul 22 11:23:27 teemu-MacBook ntpd[839]: Deleting interface #15 wls4, fe80::77cd:933a:f637:5d0%3#123, interface stats: received=0, sent=0, dropped=0, active_time=142 secs
Jul 22 11:24:01 teemu-MacBook dbus-daemon[4123]: [session uid=0 pid=4121] AppArmor D-Bus mediation is enabled
Jul 22 11:24:24 teemu-MacBook ntpd[839]: error resolving pool 3.ubuntu.pool.ntp.org: Name or service not known (-2)
Jul 22 11:24:27 teemu-MacBook ntpd[839]: Soliciting pool server 2a01:4f9:2b:14dd::2
Jul 22 11:24:27 teemu-MacBook ntpd[839]: error resolving pool 1.ubuntu.pool.ntp.org: Name or service not known (-2)
Jul 22 11:24:28 teemu-MacBook ntpd[839]: Soliciting pool server 2001:67c:1560:8003::c7
Jul 22 11:24:28 teemu-MacBook ntpd[839]: error resolving pool 0.ubuntu.pool.ntp.org: Name or service not known (-2)
Jul 22 11:25:08 teemu-MacBook NetworkManager[725]: <info>  [1563783908.8718] device (wls4): Activation: starting connection 'Telia2.4Ghz' (0927520a-0925-440f-9c6d-6adc9964d550)

It looks to my untrained eye like some sort of authentication fails when the laptop is connecting to the wifi, and the DNS name service provided by the Sailfish hotspot can't do its tricks with the degraded TCP.

I think the "timeout" mentioned in both devices' logs is the culprit.

edit retag flag offensive close delete

Comments

Jul 22 11:20:59 teemu-MacBook wpa_supplicant[726]: wls4: Authentication with 38:78:62:5a:fe:6b timed out. Jul 22 11:20:59 teemu-MacBook wpa_supplicant[726]: wls4: CTRL-EVENT-DISCONNECTED bssid=38:78:62:5a:fe:6b reason=3 locally_generated=1

Reason 3 apparently means the following:

3, "Deauthenticated because sending STA is leaving (or has left) IBSS or ESS" }

(Got it from https://www.toomanyatoms.com/computer/disconnection_codes.html)

What's the sending STA?

teemu ( 2019-07-22 14:55:14 +0300 )edit
1

I misfiled this insignificant comment as “answer”. @Direc was kind enough to humiliate me to make me understand my mistake by myself (what a kind teacher, with such a healthy pedagogy…). As a consequence, I erased the answer and filed it properly. (Please don't hesitate to take the time to thank him for making me clean up my mess) : “I know it does not help much, but I'm sending my message with an HP EliteBook with Linux Mint 19.1 Cinnamon 4.0.10 with a 4.18.0-15-generic kernel connected to a Xperia XA2 with sailfish 3.0.3.10…

lzbk ( 2019-07-22 18:54:09 +0300 )edit

@Chris_ this Macbook model has a bit iffy wifi card for Linux purposes.... Broadcom BCM4321. Apparently there aren't alternative drivers except this one, or then I just failed to find any. So, I would have, but couldn't.

It's actually the only third party driver that Linux Mint's "Update Drivers" finds in my system. Everything else is pretty much vanilla.

edit: Actually I'm wrong. There are options, they just weren't in the boot stick I was restricted to in lieu of internet connection. I'll try switching bcmwl-kernel-source to broadcom-sta-source.

@lzbk it's good that we know that XA2 with 3.0.3.10 and Linux Mint 19.1 is a combo that some has got working properly. It probably means that I personally got something funny going on and it's not a universal issue.

teemu ( 2019-07-22 20:47:43 +0300 )edit

@lzbk I did not mean to humiliate you, but I admit that my choice of words was not the most polite either, and I apologize for that. It was only meant to be short and effective. Also, thank you for turning the answer to a comment and for the feedback, too. Point taken :)

Direc ( 2019-07-22 23:32:10 +0300 )edit

So yeah, @Chris_, we're now going to do it so that you change your comment into an answer, and I will accept it as the correct one.

Turns out that nowadays the Linux kernel supports this particular wifi card with the b43 kernel driver, but the wifi card first needs to be jolted in line with firmware-b43-installer.

But I had had bcmwl-kernel-source automatically installed instead to drive the wifi card, and it had worked mostly correct but failed in these particular circumstances. Our with the source, in with the firmware, and now my Linux Mint 19.1 gets online through my XA2 hotspot.

Thank you, Chris_ and everyone.

teemu ( 2019-07-22 23:40:14 +0300 )edit

1 Answer

Sort by » oldest newest most voted
2

answered 2019-07-22 20:26:59 +0300

Chris_ gravatar image

updated 2019-07-22 20:28:04 +0300

@teemu did you try to install a different wifi firmware version on linux?

edit flag offensive delete publish link more
Login/Signup to Answer

Question tools

Follow
2 followers

Stats

Asked: 2019-07-22 12:06:39 +0300

Seen: 393 times

Last updated: Jul 23 '19