2014-09-29 09:29:28

by poma

[permalink] [raw]
Subject: RTL8188SU(rtl8192su) - unavailable


- lsusb
0bda:8171 Realtek Semiconductor Corp. RTL8188SU 802.11n WLAN Adapter


- http://wireless.kernel.org/en/users/Drivers/rtl819x#staging_drivers
...
r8712u is a USB driver for RTL8712U/RTL8192SU devices, it's going to be replaced by rtl8192su.


- /etc/modprobe.d/blacklist-r8712u.conf
blacklist r8712u


- http://wireless.kernel.org/en/users/Drivers/rtl819x#rtlwifi
...
rtl8192su is a USB driver for RTL8712U/RTL8192SU devices. (WIP : http://github.com/chunkeey/rtl8192su )


- modulecomb

mac80211 - - rtl_usb -
\ / \
- rtlwifi - - rtl8192su
/ \ /
cfg80211 - - rtl8192s-common


- ls /usr/lib/modules/3.17.0-0.rc6.git2.1.fc22.x86_64/updates
rtl8192s-common.ko
rtl8192su.ko
rtl_usb.ko
rtlwifi.ko


- file /usr/lib/firmware/rtlwifi/rtl8192sufw.bin
/usr/lib/firmware/rtlwifi/rtl8192sufw.bin: symbolic link to `rtl8712u.bin'


- dmesg
rtlwifi: module verification failed: signature and/or required key missing - tainting kernel
rtl8192s_common: Chip version 0x3
rtl_usb: rx_max_size 9100, rx_urb_num 8, in_ep 3
rtl8192su: Power Save off (module option)
rtl8192su: FW Power Save off (module option)
rtl8192su: Driver for Realtek RTL8192SU/RTL8191SU
Loading firmware rtlwifi/rtl8192sufw.bin
usbcore: registered new interface driver rtl8192su
ieee80211 phy0: Selected rate control algorithm 'rtl_rc'
rtl8192su 2-1:1.0 wlp0s4f1u1: renamed from wlan0
systemd-udevd[391]: renamed network interface wlan0 to wlp0s4f1u1


- nmcli radio
WIFI-HW WIFI WWAN-HW WWAN
enabled enabled enabled enabled


- journalctl NetworkManager(debug)
[platform/nm-platform.c:2565] log_link(): signal: link added: 4: wlp0s4f1u1 <DOWN> mtu 1500 wifi driver 'rtl8192su' udi '/sys/devices/pci0000:00/0000:00:04.1/usb2/2-1/2-1:1.0/net/wlp0s4f1u1'
[nm-device-wifi.c:228] constructor(): (wlp0s4f1u1): kernel ifindex 4
(wlp0s4f1u1): using nl80211 for WiFi device control
(wlp0s4f1u1): driver supports Access Point (AP) mode
[devices/nm-device.c:6983] nm_device_update_hw_address(): (wlp0s4f1u1): hardware address is 00:E0:4C:81:92:E4
[nm-device-wifi.c:2623] update_initial_hw_address(): (wlp0s4f1u1): read initial MAC address 00:E0:4C:81:92:E4
[platform/nm-linux-platform.c:2099] sysctl_get(): error reading /sys/class/net/wlp0s4f1u1/phys_port_id: Failed to read from file '/sys/class/net/wlp0s4f1u1/phys_port_id': Operation not supported
[nm-manager.c:1372] manager_rfkill_update_one_type(): WiFi hw-enabled 1 sw-enabled 1
[nm-device-wifi.c:3230] set_enabled(): (wlp0s4f1u1): device now enabled
[nm-device-wifi.c:3236] set_enabled(): (enable): wlp0s4f1u1 blocked by UNMANAGED state
(wlp0s4f1u1): new 802.11 WiFi device (driver: 'rtl8192su' ifindex: 4)
(wlp0s4f1u1): exported as /org/freedesktop/NetworkManager/Devices/1
[devices/nm-device.c:5089] nm_device_set_ip4_config(): (wlp0s4f1u1): set IP4Config instance (/org/freedesktop/NetworkManager/IP4Config/0)
[devices/nm-device.c:5197] nm_device_set_ip6_config(): (wlp0s4f1u1): set IP6Config instance (/org/freedesktop/NetworkManager/IP6Config/0)
(wlp0s4f1u1): device state change: unmanaged -> unavailable (reason 'managed') [10 20 2]
[platform/nm-linux-platform.c:2067] _log_dbg_sysctl_get_impl(): sysctl: reading '/proc/sys/net/ipv6/conf/wlp0s4f1u1/accept_ra': '1'
[platform/nm-linux-platform.c:2067] _log_dbg_sysctl_get_impl(): sysctl: reading '/proc/sys/net/ipv6/conf/wlp0s4f1u1/accept_ra_defrtr': '1'
[platform/nm-linux-platform.c:2067] _log_dbg_sysctl_get_impl(): sysctl: reading '/proc/sys/net/ipv6/conf/wlp0s4f1u1/accept_ra_pinfo': '1'
[platform/nm-linux-platform.c:2067] _log_dbg_sysctl_get_impl(): sysctl: reading '/proc/sys/net/ipv6/conf/wlp0s4f1u1/accept_ra_rtr_pref': '1'
[platform/nm-linux-platform.c:2067] _log_dbg_sysctl_get_impl(): sysctl: reading '/proc/sys/net/ipv6/conf/wlp0s4f1u1/disable_ipv6': '0'
[platform/nm-linux-platform.c:2067] _log_dbg_sysctl_get_impl(): sysctl: reading '/proc/sys/net/ipv6/conf/wlp0s4f1u1/hop_limit': '64'
[platform/nm-linux-platform.c:2067] _log_dbg_sysctl_get_impl(): sysctl: reading '/proc/sys/net/ipv6/conf/wlp0s4f1u1/use_tempaddr': '0'
[platform/nm-linux-platform.c:1967] _log_dbg_sysctl_set_impl(): sysctl: setting '/proc/sys/net/ipv6/conf/wlp0s4f1u1/disable_ipv6' to '1' (current value is '0')
[platform/nm-linux-platform.c:1967] _log_dbg_sysctl_set_impl(): sysctl: setting '/proc/sys/net/ipv6/conf/wlp0s4f1u1/accept_ra_defrtr' to '0' (current value is '1')
[platform/nm-linux-platform.c:1967] _log_dbg_sysctl_set_impl(): sysctl: setting '/proc/sys/net/ipv6/conf/wlp0s4f1u1/accept_ra_pinfo' to '0' (current value is '1')
[platform/nm-linux-platform.c:1967] _log_dbg_sysctl_set_impl(): sysctl: setting '/proc/sys/net/ipv6/conf/wlp0s4f1u1/accept_ra_rtr_pref' to '0' (current value is '1')
[platform/nm-linux-platform.c:1965] _log_dbg_sysctl_set_impl(): sysctl: setting '/proc/sys/net/ipv6/conf/wlp0s4f1u1/use_tempaddr' to '0' (current value is identical)
[devices/nm-device.c:5542] nm_device_bring_up(): (wlp0s4f1u1): bringing up device.
[platform/nm-platform.c:806] nm_platform_link_set_up(): link: setting up 'wlp0s4f1u1' (4)
[platform/nm-linux-platform.c:2356] link_change_flags(): link: change 4: flags set 'up' (1)
[platform/nm-linux-platform.c:2250] link_change(): Netlink error changing link 4: <UP> mtu 0 (1) driver 'rtl8192su' udi '/sys/devices/pci0000:00/0000:00:04.1/usb2/2-1/2-1:1.0/net/wlp0s4f1u1': No such device
(wlp0s4f1u1): preparing device
[devices/nm-device.c:6396] nm_device_remove_pending_action(): (wlp0s4f1u1): remove_pending_action (0): 'autoconf6' not pending (expected)
[platform/nm-linux-platform.c:1965] _log_dbg_sysctl_set_impl(): sysctl: setting '/proc/sys/net/ipv6/conf/wlp0s4f1u1/disable_ipv6' to '1' (current value is identical)
[platform/nm-linux-platform.c:1967] _log_dbg_sysctl_set_impl(): sysctl: setting '/proc/sys/net/ipv6/conf/wlp0s4f1u1/accept_ra' to '0' (current value is '1')
[platform/nm-linux-platform.c:1965] _log_dbg_sysctl_set_impl(): sysctl: setting '/proc/sys/net/ipv6/conf/wlp0s4f1u1/use_tempaddr' to '0' (current value is identical)
[devices/nm-device.c:7024] nm_device_set_hw_addr(): (wlp0s4f1u1): no MAC address change needed
[devices/nm-device.c:5095] nm_device_set_ip4_config(): (wlp0s4f1u1): clear IP4Config instance (/org/freedesktop/NetworkManager/IP4Config/0)
[devices/nm-device.c:5203] nm_device_set_ip6_config(): (wlp0s4f1u1): clear IP6Config instance (/org/freedesktop/NetworkManager/IP6Config/0)
[supplicant-manager/nm-supplicant-manager.c:90] nm_supplicant_manager_iface_get(): (wlp0s4f1u1): creating new supplicant interface
[supplicant-manager/nm-supplicant-interface.c:881] interface_add(): (wlp0s4f1u1): adding interface to supplicant
[devices/nm-device.c:6342] nm_device_add_pending_action(): (wlp0s4f1u1): add_pending_action (1): 'waiting for supplicant'
[nm-manager.c:718] check_if_startup_complete(): check_if_startup_complete returns FALSE because of wlp0s4f1u1
[nm-device-wifi.c:1192] is_available(): (wlp0s4f1u1): not available because supplicant interface not ready
[devices/nm-device.c:6705] _set_state_full(): (wlp0s4f1u1): device not yet available for transition to DISCONNECTED
[nm-manager.c:718] check_if_startup_complete(): check_if_startup_complete returns FALSE because of wlp0s4f1u1
[devices/nm-device.c:6342] nm_device_add_pending_action(): (wlp0s4f1u1): add_pending_action (2): 'autoactivate'
[devices/nm-device.c:6376] nm_device_remove_pending_action(): (wlp0s4f1u1): remove_pending_action (1): 'autoactivate'
[nm-manager.c:718] check_if_startup_complete(): check_if_startup_complete returns FALSE because of wlp0s4f1u1
[supplicant-manager/nm-supplicant-interface.c:856] interface_add_cb(): (wlp0s4f1u1): error adding interface: wpa_supplicant couldn't grab this interface.
(wlp0s4f1u1): supplicant interface state: starting -> down
[devices/nm-device.c:6376] nm_device_remove_pending_action(): (wlp0s4f1u1): remove_pending_action (0): 'waiting for supplicant'
[supplicant-manager/nm-supplicant-manager.c:90] nm_supplicant_manager_iface_get(): (wlp0s4f1u1): creating new supplicant interface
[supplicant-manager/nm-supplicant-interface.c:881] interface_add(): (wlp0s4f1u1): adding interface to supplicant
[devices/nm-device.c:6342] nm_device_add_pending_action(): (wlp0s4f1u1): add_pending_action (1): 'waiting for supplicant'
[supplicant-manager/nm-supplicant-manager.c:182] get_capabilities_cb(): AP mode is supported
[supplicant-manager/nm-supplicant-manager.c:194] get_capabilities_cb(): EAP-FAST is supported
[supplicant-manager/nm-supplicant-interface.c:856] interface_add_cb(): (wlp0s4f1u1): error adding interface: wpa_supplicant couldn't grab this interface.
etc. etc.. etc...


- nmcli device
DEVICE TYPE STATE CONNECTION
wlp0s4f1u1 wifi unavailable --


poma



2014-09-29 19:46:46

by Dan Williams

[permalink] [raw]
Subject: Re: RTL8188SU(rtl8192su) - unavailable

On Mon, 2014-09-29 at 11:29 +0200, poma wrote:
> [platform/nm-platform.c:806] nm_platform_link_set_up(): link: setting up 'wlp0s4f1u1' (4)
> [platform/nm-linux-platform.c:2356] link_change_flags(): link: change 4: flags set 'up' (1)
> [platform/nm-linux-platform.c:2250] link_change(): Netlink error changing link 4: <UP> mtu 0 (1) driver 'rtl8192su' udi '/sys/devices/pci0000:00/0000:00:04.1/usb2/2-1/2-1:1.0/net/wlp0s4f1u1': No such device
> (wlp0s4f1u1): preparing device

This is likely the core problem, and it's also probably the cause of the
wpa_supplicant failures too. You can test this out without NM running
by simply doing:

ifconfig wlp0s4f1u1 up

and see if it returns an error or not. Does it? Does anything show up
in 'dmesg'? If we can't get 'ifconfig up' working for the device,
clearly NM won't work either...

Dan

> [devices/nm-device.c:6396] nm_device_remove_pending_action(): (wlp0s4f1u1): remove_pending_action (0): 'autoconf6' not pending (expected)
> [platform/nm-linux-platform.c:1965] _log_dbg_sysctl_set_impl(): sysctl: setting '/proc/sys/net/ipv6/conf/wlp0s4f1u1/disable_ipv6' to '1' (current value is identical)
> [platform/nm-linux-platform.c:1967] _log_dbg_sysctl_set_impl(): sysctl: setting '/proc/sys/net/ipv6/conf/wlp0s4f1u1/accept_ra' to '0' (current value is '1')
> [platform/nm-linux-platform.c:1965] _log_dbg_sysctl_set_impl(): sysctl: setting '/proc/sys/net/ipv6/conf/wlp0s4f1u1/use_tempaddr' to '0' (current value is identical)
> [devices/nm-device.c:7024] nm_device_set_hw_addr(): (wlp0s4f1u1): no MAC address change needed
> [devices/nm-device.c:5095] nm_device_set_ip4_config(): (wlp0s4f1u1): clear IP4Config instance (/org/freedesktop/NetworkManager/IP4Config/0)
> [devices/nm-device.c:5203] nm_device_set_ip6_config(): (wlp0s4f1u1): clear IP6Config instance (/org/freedesktop/NetworkManager/IP6Config/0)
> [supplicant-manager/nm-supplicant-manager.c:90] nm_supplicant_manager_iface_get(): (wlp0s4f1u1): creating new supplicant interface
> [supplicant-manager/nm-supplicant-interface.c:881] interface_add(): (wlp0s4f1u1): adding interface to supplicant
> [devices/nm-device.c:6342] nm_device_add_pending_action(): (wlp0s4f1u1): add_pending_action (1): 'waiting for supplicant'
> [nm-manager.c:718] check_if_startup_complete(): check_if_startup_complete returns FALSE because of wlp0s4f1u1
> [nm-device-wifi.c:1192] is_available(): (wlp0s4f1u1): not available because supplicant interface not ready
> [devices/nm-device.c:6705] _set_state_full(): (wlp0s4f1u1): device not yet available for transition to DISCONNECTED
> [nm-manager.c:718] check_if_startup_complete(): check_if_startup_complete returns FALSE because of wlp0s4f1u1
> [devices/nm-device.c:6342] nm_device_add_pending_action(): (wlp0s4f1u1): add_pending_action (2): 'autoactivate'
> [devices/nm-device.c:6376] nm_device_remove_pending_action(): (wlp0s4f1u1): remove_pending_action (1): 'autoactivate'
> [nm-manager.c:718] check_if_startup_complete(): check_if_startup_complete returns FALSE because of wlp0s4f1u1
> [supplicant-manager/nm-supplicant-interface.c:856] interface_add_cb(): (wlp0s4f1u1): error adding interface: wpa_supplicant couldn't grab this interface.
> (wlp0s4f1u1): supplicant interface state: starting -> down
> [devices/nm-device.c:6376] nm_device_remove_pending_action(): (wlp0s4f1u1): remove_pending_action (0): 'waiting for supplicant'
> [supplicant-manager/nm-supplicant-manager.c:90] nm_supplicant_manager_iface_get(): (wlp0s4f1u1): creating new supplicant interface
> [supplicant-manager/nm-supplicant-interface.c:881] interface_add(): (wlp0s4f1u1): adding interface to supplicant
> [devices/nm-device.c:6342] nm_device_add_pending_action(): (wlp0s4f1u1): add_pending_action (1): 'waiting for supplicant'
> [supplicant-manager/nm-supplicant-manager.c:182] get_capabilities_cb(): AP mode is supported
> [supplicant-manager/nm-supplicant-manager.c:194] get_capabilities_cb(): EAP-FAST is supported
> [supplicant-manager/nm-supplicant-interface.c:856] interface_add_cb(): (wlp0s4f1u1): error adding interface: wpa_supplicant couldn't grab this interface.
> etc. etc.. etc...
>
>
> - nmcli device
> DEVICE TYPE STATE CONNECTION
> wlp0s4f1u1 wifi unavailable --
>
>
> poma
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html



2014-10-14 00:59:36

by poma

[permalink] [raw]
Subject: Re: RTL8188SU(rtl8192su) & rtl8192sufw-ap.bin


Realtek RTL8188SU/RTL8191SU/RTL8192SU driver
https://github.com/chunkeey/rtl8192su
&
RTL8188SU

~~~~~~~

- lsusb

Bus 002 Device 003: ID 0bda:8171 Realtek Semiconductor Corp. RTL8188SU 802.11n WLAN Adapter

~~~~~~~~~~

- lsusb -t

/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/6p, 480M
...
|__ Port 3: Dev 3, If 0, Class=Vendor Specific Class, Driver=rtl8192su, 480M

~~~~~~~~~~~~~~~~~~~~~~~

- ethtool -i wlp0s4f1u3

driver: rtl8192su
...

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

- /usr/lib/firmware/rtlwifi/rtl8192sufw.bin
eq
https://github.com/chunkeey/rtl8192su/raw/master/firmwares/rtl8192sufw-ap.bin

~~~~~~~~~~~~~~~~~~~~~

- iwconfig wlp0s4f1u3

wlp0s4f1u3 IEEE 802.11bgn Mode:Master Tx-Power=20 dBm
Retry short limit:7 RTS thr=2347 B Fragment thr:off
Power Management:off

~~~~~~~~~~~~~~~~~~~~~

- ifconfig wlp0s4f1u3

wlp0s4f1u3: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 10.42.0.1 netmask 255.255.255.0 broadcast 10.42.0.255
inet6 fe80::201:2ff:fe03:405 prefixlen 64 scopeid 0x20<link>
ether 00:01:02:03:04:05 txqueuelen 1000 (Ethernet)
RX packets 77 bytes 7421 (7.2 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 126 bytes 27469 (26.8 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

~~~~~~~~~~~~~~~~~~~~

- iw wlp0s4f1u3 info

Interface wlp0s4f1u3
ifindex 5
wdev 0x100000001
addr 00:01:02:03:04:05
ssid RTL8188SU(rtl8192su)
type AP
wiphy 1
channel 1 (2412 MHz), width: 20 MHz, center1: 2412 MHz

~~~~~~~~~

- iw list

Wiphy phy1
max # scan SSIDs: 4
max scan IEs length: 2257 bytes
RTS threshold: 2347
Coverage class: 0 (up to 0m)
Device supports RSN-IBSS.
Supported Ciphers:
* WEP40 (00-0f-ac:1)
* WEP104 (00-0f-ac:5)
* TKIP (00-0f-ac:2)
* CCMP (00-0f-ac:4)
* CMAC (00-0f-ac:6)
Available Antennas: TX 0 RX 0
Supported interface modes:
* IBSS
* managed
* AP
* AP/VLAN
* monitor
* mesh point
* P2P-client
* P2P-GO
Band 1:
Capabilities: 0x1862
HT20/HT40
Static SM Power Save
RX HT20 SGI
RX HT40 SGI
No RX STBC
Max AMSDU length: 7935 bytes
DSSS/CCK HT40
Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
Minimum RX AMPDU time spacing: 16 usec (0x07)
HT TX/RX MCS rate indexes supported: 0-7, 32
Bitrates (non-HT):
* 1.0 Mbps
* 2.0 Mbps
* 5.5 Mbps
* 11.0 Mbps
* 6.0 Mbps
* 9.0 Mbps
* 12.0 Mbps
* 18.0 Mbps
* 24.0 Mbps
* 36.0 Mbps
* 48.0 Mbps
* 54.0 Mbps
Frequencies:
* 2412 MHz [1] (20.0 dBm)
* 2417 MHz [2] (20.0 dBm)
* 2422 MHz [3] (20.0 dBm)
* 2427 MHz [4] (20.0 dBm)
* 2432 MHz [5] (20.0 dBm)
* 2437 MHz [6] (20.0 dBm)
* 2442 MHz [7] (20.0 dBm)
* 2447 MHz [8] (20.0 dBm)
* 2452 MHz [9] (20.0 dBm)
* 2457 MHz [10] (20.0 dBm)
* 2462 MHz [11] (20.0 dBm)
* 2467 MHz [12] (20.0 dBm)
* 2472 MHz [13] (20.0 dBm)
* 2484 MHz [14] (disabled)
Supported commands:
* new_interface
* set_interface
* new_key
* start_ap
* new_station
* new_mpath
* set_mesh_config
* set_bss
* authenticate
* associate
* deauthenticate
* disassociate
* join_ibss
* join_mesh
* set_tx_bitrate_mask
* frame
* frame_wait_cancel
* set_wiphy_netns
* set_channel
* set_wds_peer
* probe_client
* set_noack_map
* register_beacons
* start_p2p_device
* set_mcast_rate
* Unknown command (104)
* connect
* disconnect
Supported TX frame types:
* IBSS: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
* managed: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
* AP: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
* AP/VLAN: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
* mesh point: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
* P2P-client: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
* P2P-GO: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
* P2P-device: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
Supported RX frame types:
* IBSS: 0x40 0xb0 0xc0 0xd0
* managed: 0x40 0xd0
* AP: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
* AP/VLAN: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
* mesh point: 0xb0 0xc0 0xd0
* P2P-client: 0x40 0xd0
* P2P-GO: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
* P2P-device: 0x40 0xd0
software interface modes (can always be added):
* AP/VLAN
* monitor
interface combinations are not supported
HT Capability overrides:
* MCS: ff ff ff ff ff ff ff ff ff ff
* maximum A-MSDU length
* supported channel width
* short GI for 40 MHz
* max A-MPDU length exponent
* min MPDU start spacing
Device supports TX status socket option.
Device supports HT-IBSS.
Device supports low priority scan.
Device supports scan flush.
Device supports AP scan.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~

- iw wlp0s4f1u3 station dump

Station 00:22:44:66:88:aa (on wlp0s4f1u3)
inactive time: 15052 ms
rx bytes: 36692
rx packets: 349
tx bytes: 67232
tx packets: 282
tx retries: 0
tx failed: 0
signal: -30 dBm
signal avg: -30 dBm
tx bitrate: 72.2 MBit/s MCS 7 short GI
rx bitrate: 6.0 MBit/s
authorized: yes
authenticated: yes
preamble: long
WMM/WME: yes
MFP: no
TDLS peer: no

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

- /etc/NetworkManager/system-connections/AP

[connection]
id=AP
uuid=12345678-1234-5678-9abc-123456789abc
type=wifi
autoconnect=true

[wifi]
ssid=RTL8188SU(rtl8192su)
mode=ap
mac-address=00:01:02:03:04:05
security=802-11-wireless-security

[wifi-security]
key-mgmt=wpa-psk
proto=rsn
pairwise=ccmp
psk=passphrase

[ipv4]
method=shared

[ipv6]
method=ignore

~~~~~~~~~~~~~~~~~~~~~~~~~~~

- journalctl NetworkManager

[ 25.277724] systemd[1]: Starting Network Manager...
[ 25.616088] NM[820]: <info> NetworkManager (version 0.9.10.0-5.git20140704.fc21) is starting...
[ 25.616296] NM[820]: <info> Read config: /etc/NetworkManager/NetworkManager.conf and conf.d: keyfile-plugin.conf
[ 25.616468] NM[820]: <info> WEXT support is enabled
[ 26.111881] NM[820]: <info> Loaded plugin keyfile: (c) 2007 - 2013 Red Hat, Inc. To report bugs please use the NetworkManager mailing list.
[ 26.137541] NM[820]: <info> new connection /etc/NetworkManager/system-connections/enp3s0
[ 26.271517] NM[820]: <info> new connection /etc/NetworkManager/system-connections/AP
[ 26.281099] NM[820]: <info> new connection /etc/NetworkManager/system-connections/MBB
[ 26.296694] NM[820]: <info> monitoring kernel firmware directory '/lib/firmware'.
[ 26.298418] NM[820]: <info> rfkill0: found WiFi radio killswitch (at /sys/devices/pci0000:00/0000:00:04.1/usb2/2-3/2-3:1.0/ieee80211/phy0/rfkill0) (driver rtl8192su)
[ 26.298898] NM[820]: <info> WiFi hardware radio set enabled
[ 26.299359] NM[820]: <info> WWAN hardware radio set enabled
[ 26.301854] NM[820]: <info> Loaded device plugin: /usr/lib64/NetworkManager/libnm-device-plugin-wwan.so
[ 26.302361] NM[820]: <info> Loaded device plugin: /usr/lib64/NetworkManager/libnm-device-plugin-wifi.so
[ 26.302818] NM[820]: <info> WiFi enabled by radio killswitch; enabled by state file
[ 26.303284] NM[820]: <info> WWAN enabled by radio killswitch; enabled by state file
[ 26.303754] NM[820]: <info> WiMAX enabled by radio killswitch; enabled by state file
[ 26.304255] NM[820]: <info> Networking is enabled by state file
[ 26.304632] systemd[1]: Started Network Manager.
[ 26.313508] NM[820]: <info> (lo): link connected
[ 26.313671] NM[820]: <info> (lo): carrier is ON
[ 26.313817] NM[820]: <info> (lo): new Generic device (driver: 'unknown' ifindex: 1)
[ 26.313967] NM[820]: <info> (lo): exported as /org/freedesktop/NetworkManager/Devices/0
[ 26.347836] NM[820]: <info> (enp3s0): carrier is OFF
[ 26.365975] NM[820]: <info> (enp3s0): new Ethernet device (driver: 'r8169' ifindex: 3)
[ 26.366704] NM[820]: <info> (enp3s0): exported as /org/freedesktop/NetworkManager/Devices/1
[ 26.367298] NM[820]: <info> (enp3s0): device state change: unmanaged -> unavailable (reason 'managed') [10 20 2]
[ 26.389929] NM[820]: <info> (enp3s0): preparing device
[ 26.391212] NM[820]: <info> (wlp0s4f1u3): using nl80211 for WiFi device control
[ 26.391720] NM[820]: <info> (wlp0s4f1u3): driver supports Access Point (AP) mode
[ 26.392201] NM[820]: <info> (wlp0s4f1u3): new 802.11 WiFi device (driver: 'rtl8192su' ifindex: 4)
[ 26.392649] NM[820]: <info> (wlp0s4f1u3): exported as /org/freedesktop/NetworkManager/Devices/2
[ 26.393123] NM[820]: <info> (wlp0s4f1u3): device state change: unmanaged -> unavailable (reason 'managed') [10 20 2]
[ 27.348116] NM[820]: <info> (wlp0s4f1u3): preparing device
[ 27.357681] NM[820]: <info> ModemManager available in the bus
[ 28.033860] NM[820]: <info> (enp3s0): link connected
[ 28.035054] NM[820]: <info> (enp3s0): device state change: unavailable -> disconnected (reason 'carrier-changed') [20 30 40]
[ 28.035713] NM[820]: <info> Auto-activating connection 'enp3s0'.
[ 28.040332] NM[820]: <info> Activation (enp3s0) starting connection 'enp3s0'
[ 28.040846] NM[820]: <info> Activation (enp3s0) Stage 1 of 5 (Device Prepare) scheduled...
[ 28.041318] NM[820]: <info> Activation (enp3s0) Stage 1 of 5 (Device Prepare) started...
[ 28.041776] NM[820]: <info> (enp3s0): device state change: disconnected -> prepare (reason 'none') [30 40 0]
[ 28.042246] NM[820]: <info> NetworkManager state is now CONNECTING
[ 28.042698] NM[820]: <info> Activation (enp3s0) Stage 2 of 5 (Device Configure) scheduled...
[ 28.043182] NM[820]: <info> Activation (enp3s0) Stage 1 of 5 (Device Prepare) complete.
[ 28.043634] NM[820]: <info> Activation (enp3s0) Stage 2 of 5 (Device Configure) starting...
[ 28.044072] NM[820]: <info> (enp3s0): device state change: prepare -> config (reason 'none') [40 50 0]
[ 28.061851] NM[820]: <info> Activation (enp3s0) Stage 2 of 5 (Device Configure) successful.
[ 28.062348] NM[820]: <info> Activation (enp3s0) Stage 2 of 5 (Device Configure) complete.
[ 28.325821] NM[820]: <info> wpa_supplicant started
[ 28.466946] NM[820]: <info> (wlp0s4f1u3) supports 4 scan SSIDs
[ 28.467471] NM[820]: <info> (wlp0s4f1u3): supplicant interface state: starting -> ready
[ 28.467930] NM[820]: <info> (wlp0s4f1u3): device state change: unavailable -> disconnected (reason 'supplicant-available') [20 30 42]
[ 28.468893] NM[820]: <info> (wlp0s4f1u3): supplicant interface state: ready -> disconnected
[ 28.469370] NM[820]: <info> (wlp0s4f1u3) supports 4 scan SSIDs
[ 28.469837] NM[820]: <info> Auto-activating connection 'AP'.
[ 28.475692] NM[820]: <info> Activation (wlp0s4f1u3) starting connection 'AP'
[ 28.476128] NM[820]: <info> Activation (wlp0s4f1u3) Stage 1 of 5 (Device Prepare) scheduled...
[ 28.476311] NM[820]: <info> Activation (wlp0s4f1u3) Stage 1 of 5 (Device Prepare) started...
[ 28.476491] NM[820]: <info> (wlp0s4f1u3): device state change: disconnected -> prepare (reason 'none') [30 40 0]
[ 28.476672] NM[820]: <info> Activation (wlp0s4f1u3) Stage 2 of 5 (Device Configure) scheduled...
[ 28.476852] NM[820]: <info> Activation (wlp0s4f1u3) Stage 1 of 5 (Device Prepare) complete.
[ 28.477047] NM[820]: <info> Activation (wlp0s4f1u3) Stage 2 of 5 (Device Configure) starting...
[ 28.477225] NM[820]: <info> (wlp0s4f1u3): device state change: prepare -> config (reason 'none') [40 50 0]
[ 28.477400] NM[820]: <info> Activation (wlp0s4f1u3/wireless): connection 'AP' has security, and secrets exist. No new secrets needed.
[ 28.477574] NM[820]: <info> Config: added 'ssid' value 'RTL8188SU(rtl8192su)'
[ 28.477750] NM[820]: <info> Config: added 'mode' value '2'
[ 28.477925] NM[820]: <info> Config: added 'frequency' value '2412'
[ 28.478111] NM[820]: <info> Config: added 'key_mgmt' value 'WPA-PSK'
[ 28.478286] NM[820]: <info> Config: added 'psk' value '<omitted>'
[ 28.478459] NM[820]: <info> Config: added 'proto' value 'RSN'
[ 28.478632] NM[820]: <info> Config: added 'pairwise' value 'CCMP'
[ 28.478809] NM[820]: <info> Activation (wlp0s4f1u3) Stage 2 of 5 (Device Configure) complete.
[ 28.478982] NM[820]: <info> Config: set interface ap_scan to 2
[ 28.738684] NM[820]: <info> (wlp0s4f1u3): supplicant interface state: disconnected -> completed
[ 28.738891] NM[820]: <info> Activation (wlp0s4f1u3/wireless) Stage 2 of 5 (Device Configure) successful. Started Wi-Fi Hotspot 'RTL8188SU(rtl8192su)'.
[ 34.977083] NM[820]: <info> Activation (enp3s0) Stage 3 of 5 (IP Configure Start) scheduled.
[ 34.977610] NM[820]: <info> Activation (enp3s0) Stage 3 of 5 (IP Configure Start) started...
[ 34.978096] NM[820]: <info> (enp3s0): device state change: config -> ip-config (reason 'none') [50 70 0]
[ 34.978554] NM[820]: <info> Activation (enp3s0) Beginning DHCPv4 transaction (timeout in 45 seconds)
[ 35.304547] NM[820]: <info> dhclient started with pid 1395
[ 35.305087] NM[820]: <info> Activation (enp3s0) Stage 3 of 5 (IP Configure Start) complete.
[ 35.306502] NM[820]: <info> Activation (wlp0s4f1u3) Stage 3 of 5 (IP Configure Start) scheduled.
[ 35.306985] NM[820]: <info> Activation (wlp0s4f1u3) Stage 3 of 5 (IP Configure Start) started...
[ 35.307480] NM[820]: <info> (wlp0s4f1u3): device state change: config -> ip-config (reason 'none') [50 70 0]
[ 35.307976] NM[820]: <info> Activation (wlp0s4f1u3) Stage 5 of 5 (IPv4 Configure Commit) scheduled...
[ 35.308447] NM[820]: <info> Activation (wlp0s4f1u3) Stage 3 of 5 (IP Configure Start) complete.
[ 35.308937] NM[820]: <info> Activation (wlp0s4f1u3) Stage 5 of 5 (IPv4 Commit) started...
[ 35.490657] dhclient[1395]: Internet Systems Consortium DHCP Client 4.3.1
[ 35.491211] dhclient[1395]: Copyright 2004-2014 Internet Systems Consortium.
[ 35.491674] dhclient[1395]: All rights reserved.
[ 35.492147] dhclient[1395]: For info, please visit https://www.isc.org/software/dhcp/
[ 35.492592] dhclient[1395]:
[ 35.493078] NM[820]: Internet Systems Consortium DHCP Client 4.3.1
[ 35.493519] NM[820]: Copyright 2004-2014 Internet Systems Consortium.
[ 35.493950] NM[820]: All rights reserved.
[ 35.494211] NM[820]: For info, please visit https://www.isc.org/software/dhcp/
[ 36.725988] NM[820]: <info> Executing: /usr/sbin/iptables --table filter --insert INPUT --in-interface wlp0s4f1u3 --protocol tcp --destination-port 53 --jump ACCEPT
[ 36.733764] NM[820]: <info> Executing: /usr/sbin/iptables --table filter --insert INPUT --in-interface wlp0s4f1u3 --protocol udp --destination-port 53 --jump ACCEPT
[ 36.752064] NM[820]: <info> Executing: /usr/sbin/iptables --table filter --insert INPUT --in-interface wlp0s4f1u3 --protocol tcp --destination-port 67 --jump ACCEPT
[ 36.757195] NM[820]: <info> Executing: /usr/sbin/iptables --table filter --insert INPUT --in-interface wlp0s4f1u3 --protocol udp --destination-port 67 --jump ACCEPT
[ 36.776083] NM[820]: <info> Executing: /usr/sbin/iptables --table filter --insert FORWARD --in-interface wlp0s4f1u3 --jump REJECT
[ 36.781590] NM[820]: <info> Executing: /usr/sbin/iptables --table filter --insert FORWARD --out-interface wlp0s4f1u3 --jump REJECT
[ 36.786875] NM[820]: <info> Executing: /usr/sbin/iptables --table filter --insert FORWARD --in-interface wlp0s4f1u3 --out-interface wlp0s4f1u3 --jump ACCEPT
[ 36.789805] NM[820]: <info> Executing: /usr/sbin/iptables --table filter --insert FORWARD --source 10.42.0.0/255.255.255.0 --in-interface wlp0s4f1u3 --jump ACCEPT
[ 36.792748] NM[820]: <info> Executing: /usr/sbin/iptables --table filter --insert FORWARD --destination 10.42.0.0/255.255.255.0 --out-interface wlp0s4f1u3 --match state --state ESTABLISHED,RELATED --jump ACCEPT
[ 38.812843] NM[820]: <info> Executing: /usr/sbin/iptables --table nat --insert POSTROUTING --source 10.42.0.0/255.255.255.0 ! --destination 10.42.0.0/255.255.255.0 --jump MASQUERADE
[ 38.816972] NM[820]: <info> Starting dnsmasq...
[ 38.818556] NM[820]: <info> (wlp0s4f1u3): device state change: ip-config -> ip-check (reason 'none') [70 80 0]
[ 38.818941] NM[820]: <info> Activation (wlp0s4f1u3) Stage 5 of 5 (IPv4 Commit) complete.
[ 38.822707] NM[820]: <info> (enp3s0): DHCPv4 state changed nbi -> preinit
[ 38.825233] NM[820]: <info> (wlp0s4f1u3): device state change: ip-check -> secondaries (reason 'none') [80 90 0]
[ 38.826026] NM[820]: <info> (wlp0s4f1u3): device state change: secondaries -> activated (reason 'none') [90 100 0]
[ 38.881776] dhclient[1395]: Listening on LPF/enp3s0/00:12:34:56:78:30
[ 38.882317] dhclient[1395]: Sending on LPF/enp3s0/00:12:34:56:78:30
[ 38.882777] dhclient[1395]: Sending on Socket/fallback
[ 38.883995] dhclient[1395]: DHCPREQUEST on enp3s0 to 255.255.255.255 port 67 (xid=0x9c4e1f)
[ 38.884524] dhclient[1395]: DHCPACK from 192.168.2.1 (xid=0x9c4e1f)
[ 38.885027] NM[820]: Listening on LPF/enp3s0/00:12:34:56:78:30
[ 38.885471] NM[820]: Sending on LPF/enp3s0/00:12:34:56:78:30
[ 38.885903] NM[820]: Sending on Socket/fallback
[ 38.886356] NM[820]: DHCPREQUEST on enp3s0 to 255.255.255.255 port 67 (xid=0x9c4e1f)
[ 38.886787] NM[820]: DHCPACK from 192.168.2.1 (xid=0x9c4e1f)
[ 39.008666] dnsmasq[1416]: started, version 2.72 cachesize 150
[ 39.009255] dnsmasq[1416]: compile time options: IPv6 GNU-getopt DBus no-i18n IDN DHCP DHCPv6 no-Lua TFTP no-conntrack ipset auth DNSSEC loop-detect
[ 39.009719] dnsmasq-dhcp[1416]: DHCP, IP range 10.42.0.10 -- 10.42.0.254, lease time 1h
[ 39.010186] dnsmasq[1416]: reading /etc/resolv.conf
[ 39.010634] dnsmasq[1416]: using nameserver 192.168.2.1#53
[ 39.012048] dnsmasq[1416]: cleared cache
[ 44.464210] NM[820]: <info> Activation (wlp0s4f1u3) successful, device activated.
[ 44.470643] NM[820]: <info> (enp3s0): DHCPv4 state changed preinit -> reboot
[ 44.472389] NM[820]: <info> address 192.168.2.35
[ 44.472910] NM[820]: <info> plen 24 (255.255.255.0)
[ 44.473421] NM[820]: <info> gateway 192.168.2.1
[ 44.473892] NM[820]: <info> server identifier 192.168.2.1
[ 44.474382] NM[820]: <info> lease time 600
[ 44.474841] NM[820]: <info> nameserver '192.168.2.1'
[ 44.476312] NM[820]: <info> Activation (enp3s0) Stage 5 of 5 (IPv4 Configure Commit) scheduled...
[ 44.476428] NM[820]: <info> Activation (enp3s0) Stage 5 of 5 (IPv4 Commit) started...
[ 44.476548] NM[820]: <info> (enp3s0): device state change: ip-config -> ip-check (reason 'none') [70 80 0]
[ 44.476664] NM[820]: <info> Activation (enp3s0) Stage 5 of 5 (IPv4 Commit) complete.
[ 44.476782] NM[820]: <info> (enp3s0): device state change: ip-check -> secondaries (reason 'none') [80 90 0]
[ 44.476897] NM[820]: <info> (enp3s0): device state change: secondaries -> activated (reason 'none') [90 100 0]
[ 44.477060] NM[820]: <info> NetworkManager state is now CONNECTED_LOCAL
[ 44.671564] dhclient[1395]: bound to 192.168.2.35 -- renewal in 253 seconds.
[ 44.672104] NM[820]: bound to 192.168.2.35 -- renewal in 253 seconds.
[ 44.672581] NM[820]: <info> NetworkManager state is now CONNECTED_GLOBAL
[ 44.673074] NM[820]: <info> Policy set 'enp3s0' (enp3s0) as default for IPv4 routing and DNS.
[ 44.719277] NM[820]: <info> Activation (enp3s0) successful, device activated.
[ 44.721265] NM[820]: <info> startup complete
[ 95.712977] dnsmasq[1416]: reading /etc/resolv.conf
[ 95.713657] dnsmasq[1416]: using nameserver 192.168.2.1#53
[ 95.715255] dnsmasq[1416]: cleared cache
[ 217.044170] dnsmasq-dhcp[1416]: DHCPREQUEST(wlp0s4f1u3) 10.42.0.77 00:22:44:66:88:aa
[ 217.044896] dnsmasq-dhcp[1416]: DHCPACK(wlp0s4f1u3) 10.42.0.77 00:22:44:66:88:aa android-0123456789abcdef
...
[ 1240.752553] dnsmasq-dhcp[1416]: DHCPREQUEST(wlp0s4f1u3) 10.42.0.77 00:22:44:66:88:aa
[ 1240.813416] dnsmasq-dhcp[1416]: DHCPACK(wlp0s4f1u3) 10.42.0.77 00:22:44:66:88:aa android-0123456789abcdef
...
[ 1408.894826] dnsmasq-dhcp[1416]: DHCPREQUEST(wlp0s4f1u3) 10.42.0.77 00:22:44:66:88:aa
[ 1408.895557] dnsmasq-dhcp[1416]: DHCPACK(wlp0s4f1u3) 10.42.0.77 00:22:44:66:88:aa android-0123456789abcdef

- systemctl suspend
& resume(S3)

[ 1689.325793] NM[820]: <info> (wlp0s4f1u3): device state change: activated -> unmanaged (reason 'removed') [100 10 36]
[ 1689.325961] NM[820]: <info> (wlp0s4f1u3): deactivating device (reason 'removed') [36]
[ 1689.326448] NM[820]: <info> radio killswitch /sys/devices/pci0000:00/0000:00:04.1/usb2/2-3/2-3:1.0/ieee80211/phy0/rfkill0 disappeared
[ 1689.326580] NM[820]: <info> (wlp0s4f1u3): using nl80211 for WiFi device control
[ 1689.326709] NM[820]: <info> (wlp0s4f1u3): driver supports Access Point (AP) mode
[ 1689.326834] NM[820]: <info> (wlp0s4f1u3): new 802.11 WiFi device (driver: 'rtl8192su' ifindex: 5)
[ 1689.326966] NM[820]: <info> (wlp0s4f1u3): exported as /org/freedesktop/NetworkManager/Devices/3
[ 1689.327098] NM[820]: <info> (wlp0s4f1u3): device state change: unmanaged -> unavailable (reason 'managed') [10 20 2]
[ 1689.327223] NM[820]: <info> (wlp0s4f1u3): preparing device
[ 1689.328176] NM[820]: <info> rfkill1: found WiFi radio killswitch (at /sys/devices/pci0000:00/0000:00:04.1/usb2/2-3/2-3:1.0/ieee80211/phy1/rfkill1) (driver rtl8192su)
[ 1689.329155] NM[820]: <info> Executing: /usr/sbin/iptables --table nat --delete POSTROUTING --source 10.42.0.0/255.255.255.0 ! --destination 10.42.0.0/255.255.255.0 --jump MASQUERADE
[ 1689.331088] NM[820]: <info> Executing: /usr/sbin/iptables --table filter --delete FORWARD --destination 10.42.0.0/255.255.255.0 --out-interface wlp0s4f1u3 --match state --state ESTABLISHED,RELATED --jump ACCEPT
[ 1689.334823] NM[820]: <info> Executing: /usr/sbin/iptables --table filter --delete FORWARD --source 10.42.0.0/255.255.255.0 --in-interface wlp0s4f1u3 --jump ACCEPT
[ 1689.336627] NM[820]: <info> Executing: /usr/sbin/iptables --table filter --delete FORWARD --in-interface wlp0s4f1u3 --out-interface wlp0s4f1u3 --jump ACCEPT
[ 1689.338561] NM[820]: <info> Executing: /usr/sbin/iptables --table filter --delete FORWARD --out-interface wlp0s4f1u3 --jump REJECT
[ 1689.341038] NM[820]: <info> Executing: /usr/sbin/iptables --table filter --delete FORWARD --in-interface wlp0s4f1u3 --jump REJECT
[ 1689.343125] NM[820]: <info> Executing: /usr/sbin/iptables --table filter --delete INPUT --in-interface wlp0s4f1u3 --protocol udp --destination-port 67 --jump ACCEPT
[ 1689.380119] NM[820]: <info> Executing: /usr/sbin/iptables --table filter --delete INPUT --in-interface wlp0s4f1u3 --protocol tcp --destination-port 67 --jump ACCEPT
[ 1689.385774] NM[820]: <info> Executing: /usr/sbin/iptables --table filter --delete INPUT --in-interface wlp0s4f1u3 --protocol udp --destination-port 53 --jump ACCEPT
[ 1690.325415] NM[820]: <info> Executing: /usr/sbin/iptables --table filter --delete INPUT --in-interface wlp0s4f1u3 --protocol tcp --destination-port 53 --jump ACCEPT
[ 1690.336827] NM[820]: <info> (wlp0s4f1u3) supports 4 scan SSIDs
[ 1690.337091] NM[820]: <info> (wlp0s4f1u3): supplicant interface state: starting -> ready
[ 1690.337297] NM[820]: <info> (wlp0s4f1u3): device state change: unavailable -> disconnected (reason 'supplicant-available') [20 30 42]
[ 1690.337493] NM[820]: <info> (wlp0s4f1u3): supplicant interface state: ready -> disconnected
[ 1690.337686] NM[820]: <info> (wlp0s4f1u3) supports 4 scan SSIDs
[ 1690.337884] NM[820]: <info> Auto-activating connection 'AP'.
[ 1690.338085] NM[820]: <info> Activation (wlp0s4f1u3) starting connection 'AP'
[ 1690.338281] NM[820]: <info> Activation (wlp0s4f1u3) Stage 1 of 5 (Device Prepare) scheduled...
[ 1690.338472] NM[820]: <info> Activation (wlp0s4f1u3) Stage 1 of 5 (Device Prepare) started...
[ 1690.338672] NM[820]: <info> (wlp0s4f1u3): device state change: disconnected -> prepare (reason 'none') [30 40 0]
[ 1690.338865] NM[820]: <info> Activation (wlp0s4f1u3) Stage 2 of 5 (Device Configure) scheduled...
[ 1690.339062] NM[820]: <info> Activation (wlp0s4f1u3) Stage 1 of 5 (Device Prepare) complete.
[ 1690.339257] NM[820]: <info> Activation (wlp0s4f1u3) Stage 2 of 5 (Device Configure) starting...
[ 1690.339452] NM[820]: <info> (wlp0s4f1u3): device state change: prepare -> config (reason 'none') [40 50 0]
[ 1690.343841] NM[820]: <info> Activation (wlp0s4f1u3/wireless): access point 'AP' has security, but secrets are required.
[ 1690.344110] NM[820]: <info> (wlp0s4f1u3): device state change: config -> need-auth (reason 'none') [50 60 0]
[ 1690.344304] NM[820]: <info> Activation (wlp0s4f1u3) Stage 2 of 5 (Device Configure) complete.
[ 1690.344436] NM[820]: <info> Activation (wlp0s4f1u3) Stage 1 of 5 (Device Prepare) scheduled...
[ 1690.348812] NM[820]: <info> Activation (wlp0s4f1u3) Stage 1 of 5 (Device Prepare) started...
[ 1690.348980] NM[820]: <info> (wlp0s4f1u3): device state change: need-auth -> prepare (reason 'none') [60 40 0]
[ 1690.349130] NM[820]: <info> Activation (wlp0s4f1u3) Stage 2 of 5 (Device Configure) scheduled...
[ 1690.349260] NM[820]: <info> Activation (wlp0s4f1u3) Stage 1 of 5 (Device Prepare) complete.
[ 1690.349389] NM[820]: <info> Activation (wlp0s4f1u3) Stage 2 of 5 (Device Configure) starting...
[ 1690.349519] NM[820]: <info> (wlp0s4f1u3): device state change: prepare -> config (reason 'none') [40 50 0]
[ 1690.349653] NM[820]: <info> Activation (wlp0s4f1u3/wireless): connection 'AP' has security, and secrets exist. No new secrets needed.
[ 1690.349783] NM[820]: <info> Config: added 'ssid' value 'RTL8188SU(rtl8192su)'
[ 1690.349911] NM[820]: <info> Config: added 'mode' value '2'
[ 1690.350052] NM[820]: <info> Config: added 'frequency' value '2412'
[ 1690.350186] NM[820]: <info> Config: added 'key_mgmt' value 'WPA-PSK'
[ 1690.350311] NM[820]: <info> Config: added 'psk' value '<omitted>'
[ 1690.350440] NM[820]: <info> Config: added 'proto' value 'RSN'
[ 1690.350567] NM[820]: <info> Config: added 'pairwise' value 'CCMP'
[ 1690.350692] NM[820]: <info> Activation (wlp0s4f1u3) Stage 2 of 5 (Device Configure) complete.
[ 1690.355138] NM[820]: <info> Config: set interface ap_scan to 2
[ 1690.439942] NM[820]: <info> (wlp0s4f1u3): supplicant interface state: disconnected -> completed
[ 1690.440552] NM[820]: <info> Activation (wlp0s4f1u3/wireless) Stage 2 of 5 (Device Configure) successful. Started Wi-Fi Hotspot 'RTL8188SU(rtl8192su)'.
[ 1690.496432] NM[820]: <info> Activation (wlp0s4f1u3) Stage 3 of 5 (IP Configure Start) scheduled.
[ 1690.497084] NM[820]: <info> Activation (wlp0s4f1u3) Stage 3 of 5 (IP Configure Start) started...
[ 1690.497617] NM[820]: <info> (wlp0s4f1u3): device state change: config -> ip-config (reason 'none') [50 70 0]
[ 1690.498145] NM[820]: <info> Activation (wlp0s4f1u3) Stage 5 of 5 (IPv4 Configure Commit) scheduled...
[ 1690.498669] NM[820]: <info> Activation (wlp0s4f1u3) Stage 3 of 5 (IP Configure Start) complete.
[ 1690.499196] NM[820]: <info> Activation (wlp0s4f1u3) Stage 5 of 5 (IPv4 Commit) started...
[ 1690.519773] NM[820]: <info> Executing: /usr/sbin/iptables --table filter --insert INPUT --in-interface wlp0s4f1u3 --protocol tcp --destination-port 53 --jump ACCEPT
[ 1690.522189] NM[820]: <info> Executing: /usr/sbin/iptables --table filter --insert INPUT --in-interface wlp0s4f1u3 --protocol udp --destination-port 53 --jump ACCEPT
[ 1690.550111] NM[820]: <info> Executing: /usr/sbin/iptables --table filter --insert INPUT --in-interface wlp0s4f1u3 --protocol tcp --destination-port 67 --jump ACCEPT
[ 1690.555813] NM[820]: <info> Executing: /usr/sbin/iptables --table filter --insert INPUT --in-interface wlp0s4f1u3 --protocol udp --destination-port 67 --jump ACCEPT
[ 1690.573980] NM[820]: <info> Executing: /usr/sbin/iptables --table filter --insert FORWARD --in-interface wlp0s4f1u3 --jump REJECT
[ 1690.577369] NM[820]: <info> Executing: /usr/sbin/iptables --table filter --insert FORWARD --out-interface wlp0s4f1u3 --jump REJECT
[ 1690.580764] NM[820]: <info> Executing: /usr/sbin/iptables --table filter --insert FORWARD --in-interface wlp0s4f1u3 --out-interface wlp0s4f1u3 --jump ACCEPT
[ 1690.585441] NM[820]: <info> Executing: /usr/sbin/iptables --table filter --insert FORWARD --source 10.42.0.0/255.255.255.0 --in-interface wlp0s4f1u3 --jump ACCEPT
[ 1690.587979] NM[820]: <info> Executing: /usr/sbin/iptables --table filter --insert FORWARD --destination 10.42.0.0/255.255.255.0 --out-interface wlp0s4f1u3 --match state --state ESTABLISHED,RELATED --jump ACCEPT
[ 1690.590492] NM[820]: <info> Executing: /usr/sbin/iptables --table nat --insert POSTROUTING --source 10.42.0.0/255.255.255.0 ! --destination 10.42.0.0/255.255.255.0 --jump MASQUERADE
[ 1690.592764] NM[820]: <info> Starting dnsmasq...
[ 1690.593692] NM[820]: <info> (wlp0s4f1u3): device state change: ip-config -> ip-check (reason 'none') [70 80 0]
[ 1690.594290] NM[820]: <info> Activation (wlp0s4f1u3) Stage 5 of 5 (IPv4 Commit) complete.
[ 1690.595395] dnsmasq[3442]: started, version 2.72 cachesize 150
[ 1690.595629] dnsmasq[3442]: compile time options: IPv6 GNU-getopt DBus no-i18n IDN DHCP DHCPv6 no-Lua TFTP no-conntrack ipset auth DNSSEC loop-detect
[ 1690.595822] dnsmasq-dhcp[3442]: DHCP, IP range 10.42.0.10 -- 10.42.0.254, lease time 1h
[ 1690.596021] dnsmasq[3442]: reading /etc/resolv.conf
[ 1690.596216] dnsmasq[3442]: using nameserver 192.168.2.1#53
[ 1690.596793] dnsmasq[3442]: cleared cache
[ 1690.596982] NM[820]: <info> (wlp0s4f1u3): device state change: ip-check -> secondaries (reason 'none') [80 90 0]
[ 1690.597182] NM[820]: <info> (wlp0s4f1u3): device state change: secondaries -> activated (reason 'none') [90 100 0]
[ 1691.068838] NM[820]: <info> Activation (wlp0s4f1u3) successful, device activated.
[ 1698.780512] dnsmasq-dhcp[3442]: DHCPREQUEST(wlp0s4f1u3) 10.42.0.77 00:22:44:66:88:aa
[ 1698.781136] dnsmasq-dhcp[3442]: DHCPACK(wlp0s4f1u3) 10.42.0.77 00:22:44:66:88:aa android-0123456789abcdef

~~~~~~~

- dmesg

[ 2.126073] usb 2-3: new high-speed USB device number 3 using ehci-pci
[ 2.242873] usb 2-3: New USB device found, idVendor=0bda, idProduct=8171
[ 2.242880] usb 2-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 2.242883] usb 2-3: Product: RTL8188S WLAN Adapter
[ 2.242885] usb 2-3: Manufacturer: Manufacturer Realtek
[ 2.242887] usb 2-3: SerialNumber: 00e04c000001
[ 20.134415] rtlwifi: module verification failed: signature and/or required key missing - tainting kernel
[ 20.517392] rtl8192s_common: Chip version 0x3
[ 20.686391] rtl_usb: rx_max_size 9100, rx_urb_num 8, in_ep 3
[ 20.687057] rtl8192su: Power Save off (module option)
[ 20.687639] rtl8192su: FW Power Save off (module option)
[ 20.688394] rtl8192su: Driver for Realtek RTL8192SU/RTL8191SU
Loading firmware rtlwifi/rtl8192sufw.bin
[ 20.689751] usbcore: registered new interface driver rtl8192su
[ 20.850838] ieee80211 phy0: Selected rate control algorithm 'rtl_rc'
[ 20.854551] rtl8192su 2-3:1.0 wlp0s4f1u3: renamed from wlan0

- systemctl suspend

[ 1679.990678] PM: Preparing system for mem sleep
[ 1680.178832] Freezing user space processes ... (elapsed 0.048 seconds) done.
[ 1680.226937] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
[ 1680.228270] PM: Entering mem sleep
[ 1680.228299] Suspending console(s) (use no_console_suspend to debug)
[ 1682.772451] PM: suspend of devices complete after 2543.533 msecs
[ 1682.773864] PM: late suspend of devices complete after 1.407 msecs
[ 1682.775348] ehci-pci 0000:00:02.1: System wakeup enabled by ACPI
[ 1682.786410] PM: noirq suspend of devices complete after 12.536 msecs
[ 1682.787692] ACPI: Preparing to enter system sleep state S3
[ 1682.788861] PM: Saving platform NVS memory

& resume(S3)

[ 1682.798859] ACPI: Low-level resume complete
[ 1682.798924] PM: Restoring platform NVS memory
[ 1682.844566] ACPI: Waking up from system sleep state S3
[ 1682.855147] ehci-pci 0000:00:02.1: System wakeup disabled by ACPI
[ 1682.856186] PM: noirq resume of devices complete after 11.457 msecs
[ 1682.856759] PM: early resume of devices complete after 0.531 msecs
[ 1683.074063] PM: resume of devices complete after 217.286 msecs
[ 1683.074332] rtl8192s_common: Chip version 0x3
[ 1683.218439] rtl_usb: rx_max_size 9100, rx_urb_num 8, in_ep 3
[ 1683.218484] rtl8192su: Power Save off (module option)
[ 1683.218485] rtl8192su: FW Power Save off (module option)
[ 1683.218694] rtl8192su: Driver for Realtek RTL8192SU/RTL8191SU
Loading firmware rtlwifi/rtl8192sufw.bin
[ 1683.219176] ieee80211 phy1: Selected rate control algorithm 'rtl_rc'
[ 1683.234998] PM: Finishing wakeup.
[ 1683.235003] Restarting tasks ... done.
[ 1683.258259] rtl8192su 2-3:1.0 wlp0s4f1u3: renamed from wlan0
[ 1683.270928] IPv6: ADDRCONF(NETDEV_UP): wlp0s4f1u3: link is not ready
[ 1684.238973] IPv6: ADDRCONF(NETDEV_UP): wlp0s4f1u3: link is not ready
[ 1684.401143] r8169 0000:03:00.0 enp3s0: link up
[ 1691.249718] IPv6: ADDRCONF(NETDEV_UP): wlp0s4f1u3: link is not ready
[ 1691.376981] IPv6: ADDRCONF(NETDEV_CHANGE): wlp0s4f1u3: link becomes ready

~~~~~~~~~~~~~~~~~~~~

http://goo.gl/3O3Tz4


poma



2014-10-02 03:45:19

by poma

[permalink] [raw]
Subject: Re: RTL8188SU(rtl8192su) - unavailable

On 29.09.2014 21:46, Dan Williams wrote:
> On Mon, 2014-09-29 at 11:29 +0200, poma wrote:
>> [platform/nm-platform.c:806] nm_platform_link_set_up(): link: setting up 'wlp0s4f1u1' (4)
>> [platform/nm-linux-platform.c:2356] link_change_flags(): link: change 4: flags set 'up' (1)
>> [platform/nm-linux-platform.c:2250] link_change(): Netlink error changing link 4: <UP> mtu 0 (1) driver 'rtl8192su' udi '/sys/devices/pci0000:00/0000:00:04.1/usb2/2-1/2-1:1.0/net/wlp0s4f1u1': No such device
>> (wlp0s4f1u1): preparing device
>
> This is likely the core problem, and it's also probably the cause of the
> wpa_supplicant failures too. You can test this out without NM running
> by simply doing:
>
> ifconfig wlp0s4f1u1 up
>
> and see if it returns an error or not. Does it? Does anything show up
> in 'dmesg'? If we can't get 'ifconfig up' working for the device,
> clearly NM won't work either...
>
> Dan
>

It's OK Dan, NM ain't problem.

WIP encore party

------------[ cut here ]------------
WARNING: CPU: 1 PID: 867 at /rtl8192su/rtlwifi/rtl8192s/phy_common.c:1313 rtl92s_phy_chk_fwcmd_iodone+0x61/0x70 [rtl8192s_common]()
Modules linked in: ... rtl8192su(OE) rtl8192s_common(OE) rtl_usb(OE) rtlwifi(OE) mac80211 cfg80211 ...
CPU: 1 PID: 867 Comm: wpa_supplicant Tainted: G OE 3.17.0-0.rc7.git0.2.fc21.x86_64 #1
Call Trace:
[<ffffffff8173c1f1>] dump_stack+0x45/0x56
[<ffffffff81096e9d>] warn_slowpath_common+0x7d/0xa0
[<ffffffff81096fca>] warn_slowpath_null+0x1a/0x20
[<ffffffffa05b3b71>] rtl92s_phy_chk_fwcmd_iodone+0x61/0x70 [rtl8192s_common]
[<ffffffffa05b5871>] rtl92s_phy_set_fw_cmd+0x131/0x780 [rtl8192s_common]
[<ffffffffa05b5efa>] rtl92s_phy_scan_operation_backup+0x3a/0x40 [rtl8192s_common]
[<ffffffffa043054c>] rtl_op_sw_scan_start+0x8c/0xe0 [rtlwifi]
[<ffffffffa051b63f>] __ieee80211_start_scan+0x34f/0x5d0 [mac80211]
[<ffffffffa051c4a0>] ieee80211_request_scan+0x30/0x50 [mac80211]
[<ffffffffa052b838>] ieee80211_scan+0x68/0xc0 [mac80211]
[<ffffffffa04b7dab>] nl80211_trigger_scan+0x5bb/0x640 [cfg80211]
[<ffffffff816604ac>] genl_family_rcv_msg+0x1bc/0x3e0
[<ffffffff8161cc7b>] ? __alloc_skb+0x5b/0x200
[<ffffffff816606d0>] ? genl_family_rcv_msg+0x3e0/0x3e0
[<ffffffff81660749>] genl_rcv_msg+0x79/0xc0
[<ffffffff8165fd59>] netlink_rcv_skb+0xa9/0xd0
[<ffffffff816602d8>] genl_rcv+0x28/0x40
[<ffffffff8165f37a>] netlink_unicast+0x12a/0x1a0
[<ffffffff8165f741>] netlink_sendmsg+0x351/0x7b0
[<ffffffff8130f9f2>] ? sock_has_perm+0x72/0x90
[<ffffffff816132fe>] sock_sendmsg+0x9e/0xe0
[<ffffffff81612fce>] ? move_addr_to_kernel.part.20+0x1e/0x70
[<ffffffff81613ed1>] ? move_addr_to_kernel+0x21/0x30
[<ffffffff81613768>] ___sys_sendmsg+0x3c8/0x3e0
[<ffffffff810a5e86>] ? __set_current_blocked+0x36/0x60
[<ffffffff8101f67e>] ? fpu_finit+0x1e/0x30
[<ffffffff8101f8e1>] ? init_fpu+0x51/0xb0
[<ffffffff81020b58>] ? __restore_xstate_sig+0x268/0x660
[<ffffffff81013745>] ? do_signal+0x1a5/0x6f0
[<ffffffff81614681>] __sys_sendmsg+0x51/0x90
[<ffffffff816146d2>] SyS_sendmsg+0x12/0x20
[<ffffffff81743369>] system_call_fastpath+0x16/0x1b
---[ end trace 561080c39bcc6e50 ]---
------------[ cut here ]------------
WARNING: CPU: 2 PID: 81 at /rtl8192su/rtlwifi/rtl8192s/phy_common.c:1313 rtl92s_phy_chk_fwcmd_iodone+0x61/0x70 [rtl8192s_common]()
CPU: 2 PID: 81 Comm: kworker/u8:6 Tainted: G W OE 3.17.0-0.rc7.git0.2.fc21.x86_64 #1
Workqueue: phy0 ieee80211_scan_work [mac80211]
Call Trace:
[<ffffffff8173c1f1>] dump_stack+0x45/0x56
[<ffffffff81096e9d>] warn_slowpath_common+0x7d/0xa0
[<ffffffff81096fca>] warn_slowpath_null+0x1a/0x20
[<ffffffffa05b3b71>] rtl92s_phy_chk_fwcmd_iodone+0x61/0x70 [rtl8192s_common]
[<ffffffffa05b5871>] rtl92s_phy_set_fw_cmd+0x131/0x780 [rtl8192s_common]
[<ffffffffa05b5eeb>] rtl92s_phy_scan_operation_backup+0x2b/0x40 [rtl8192s_common]
[<ffffffffa042fd9b>] rtl_op_sw_scan_complete+0x6b/0xa0 [rtlwifi]
[<ffffffffa051b1ba>] __ieee80211_scan_completed+0x1ea/0x320 [mac80211]
[<ffffffff81012691>] ? __switch_to+0x191/0x5f0
[<ffffffffa051c06d>] ieee80211_scan_work+0xdd/0x4e0 [mac80211]
[<ffffffff810af67d>] process_one_work+0x14d/0x400
[<ffffffff810b000b>] worker_thread+0x6b/0x4a0
[<ffffffff810affa0>] ? rescuer_thread+0x2a0/0x2a0
[<ffffffff810b50ea>] kthread+0xea/0x100
[<ffffffff810b5000>] ? kthread_create_on_node+0x1a0/0x1a0
[<ffffffff817432bc>] ret_from_fork+0x7c/0xb0
[<ffffffff810b5000>] ? kthread_create_on_node+0x1a0/0x1a0
---[ end trace 561080c39bcc6e51 ]---
------------[ cut here ]------------
WARNING: CPU: 2 PID: 867 at /rtl8192su/rtlwifi/rtl8192s/phy_common.c:1313 rtl92s_phy_chk_fwcmd_iodone+0x61/0x70 [rtl8192s_common]()
CPU: 2 PID: 867 Comm: wpa_supplicant Tainted: G W OE 3.17.0-0.rc7.git0.2.fc21.x86_64 #1
Call Trace:
[<ffffffff8173c1f1>] dump_stack+0x45/0x56
[<ffffffff81096e9d>] warn_slowpath_common+0x7d/0xa0
[<ffffffff81096fca>] warn_slowpath_null+0x1a/0x20
[<ffffffffa05b3b71>] rtl92s_phy_chk_fwcmd_iodone+0x61/0x70 [rtl8192s_common]
[<ffffffffa05b5871>] rtl92s_phy_set_fw_cmd+0x131/0x780 [rtl8192s_common]
[<ffffffffa05b5efa>] rtl92s_phy_scan_operation_backup+0x3a/0x40 [rtl8192s_common]
[<ffffffffa043054c>] rtl_op_sw_scan_start+0x8c/0xe0 [rtlwifi]
[<ffffffffa051b63f>] __ieee80211_start_scan+0x34f/0x5d0 [mac80211]
[<ffffffffa051c4a0>] ieee80211_request_scan+0x30/0x50 [mac80211]
[<ffffffffa052b838>] ieee80211_scan+0x68/0xc0 [mac80211]
[<ffffffffa04b7dab>] nl80211_trigger_scan+0x5bb/0x640 [cfg80211]
[<ffffffff816604ac>] genl_family_rcv_msg+0x1bc/0x3e0
[<ffffffff811eda4a>] ? kmem_cache_alloc+0x1ca/0x1f0
[<ffffffff816606d0>] ? genl_family_rcv_msg+0x3e0/0x3e0
[<ffffffff81660749>] genl_rcv_msg+0x79/0xc0
[<ffffffff8165fd59>] netlink_rcv_skb+0xa9/0xd0
[<ffffffff816602d8>] genl_rcv+0x28/0x40
[<ffffffff8165f37a>] netlink_unicast+0x12a/0x1a0
[<ffffffff8165f741>] netlink_sendmsg+0x351/0x7b0
[<ffffffff8130f9f2>] ? sock_has_perm+0x72/0x90
[<ffffffff816132fe>] sock_sendmsg+0x9e/0xe0
[<ffffffff81612fce>] ? move_addr_to_kernel.part.20+0x1e/0x70
[<ffffffff81613ed1>] ? move_addr_to_kernel+0x21/0x30
[<ffffffff81613768>] ___sys_sendmsg+0x3c8/0x3e0
[<ffffffff810a5e86>] ? __set_current_blocked+0x36/0x60
[<ffffffff8101f67e>] ? fpu_finit+0x1e/0x30
[<ffffffff8101f8e1>] ? init_fpu+0x51/0xb0
[<ffffffff81020b58>] ? __restore_xstate_sig+0x268/0x660
[<ffffffff81013745>] ? do_signal+0x1a5/0x6f0
[<ffffffff81614681>] __sys_sendmsg+0x51/0x90
[<ffffffff816146d2>] SyS_sendmsg+0x12/0x20
[<ffffffff81743369>] system_call_fastpath+0x16/0x1b
---[ end trace 561080c39bcc6e52 ]---
------------[ cut here ]------------
...
---[ end trace 561080c39bcc6e53 ]---
------------[ cut here ]------------
...
---[ end trace 561080c39bcc6e54 ]---
------------[ cut here ]------------
...
---[ end trace 561080c39bcc6e55 ]---
------------[ cut here ]------------
...
---[ end trace 561080c39bcc6e56 ]---
------------[ cut here ]------------
...
---[ end trace 561080c39bcc6e57 ]---
------------[ cut here ]------------
...
---[ end trace 561080c39bcc6e58 ]---
------------[ cut here ]------------
...
---[ end trace 561080c39bcc6e59 ]---
------------[ cut here ]------------
...
---[ end trace 561080c39bcc6e5a ]---
------------[ cut here ]------------
...
---[ end trace 561080c39bcc6e5b ]---
wlp0s4f1u5: direct probe to ... (try 1/3)
... (try 2/3)
... (try 3/3)
wlp0s4f1u5: authentication with ... timed out
------------[ cut here ]------------
...
---[ end trace 561080c39bcc6e5c ]---
wlp0s4f1u5: authenticate with ...
------------[ cut here ]------------
...
---[ end trace 561080c39bcc6e5d ]---
wlp0s4f1u5: direct probe to ... (try 1/3)
... timed out
------------[ cut here ]------------
...
---[ end trace 561080c39bcc6e5e ]---
wlp0s4f1u5: authenticate with ...
------------[ cut here ]------------
...
---[ end trace 561080c39bcc6e5f ]---
wlp0s4f1u5: direct probe to ... (try 1/3)
wlp0s4f1u5: Connection to AP ... lost
... timed out
------------[ cut here ]------------
...
---[ end trace 561080c39bcc6e60 ]---
------------[ cut here ]------------
...
---[ end trace 561080c39bcc6e61 ]---
------------[ cut here ]------------
...
---[ end trace 561080c39bcc6e62 ]---
------------[ cut here ]------------
...
---[ end trace 561080c39bcc6e63 ]---
------------[ cut here ]------------
...
---[ end trace 561080c39bcc6e64 ]---
------------[ cut here ]------------
...
---[ end trace 561080c39bcc6e65 ]---
------------[ cut here ]------------
...
---[ end trace 561080c39bcc6e66 ]---
------------[ cut here ]------------
...
---[ end trace 561080c39bcc6e67 ]---
------------[ cut here ]------------
...
---[ end trace 561080c39bcc6e68 ]---
------------[ cut here ]------------
...
---[ end trace 561080c39bcc6e69 ]---
------------[ cut here ]------------
...
---[ end trace 561080c39bcc6e6a ]---
------------[ cut here ]------------
...
---[ end trace 561080c39bcc6e6b ]---
usbcore: deregistering interface driver rtl8192su




2014-10-02 15:04:31

by poma

[permalink] [raw]
Subject: Re: RTL8188SU(rtl8192su) - unavailable

On 02.10.2014 12:44, Christian Lamparter wrote:
> Am 02.10.2014 05:45 schrieb "poma" <[email protected]>:
>>
>> On 29.09.2014 21:46, Dan Williams wrote:
>>> On Mon, 2014-09-29 at 11:29 +0200, poma wrote:
>>>> [platform/nm-platform.c:806] nm_platform_link_set_up(): link: setting
> up 'wlp0s4f1u1' (4)
>>>> [platform/nm-linux-platform.c:2356] link_change_flags(): link: change
> 4: flags set 'up' (1)
>>>> [platform/nm-linux-platform.c:2250] link_change(): Netlink error
> changing link 4: <UP> mtu 0 (1) driver 'rtl8192su' udi
> '/sys/devices/pci0000:00/0000:00:04.1/usb2/2-1/2-1:1.0/net/wlp0s4f1u1': No
> such device
>>>> (wlp0s4f1u1): preparing device
>>>
>>> This is likely the core problem, and it's also probably the cause of the
>>> wpa_supplicant failures too. You can test this out without NM running
>>> by simply doing:
>>>
>>> ifconfig wlp0s4f1u1 up
>>>
>>> and see if it returns an error or not. Does it? Does anything show up
>>> in 'dmesg'? If we can't get 'ifconfig up' working for the device,
>>> clearly NM won't work either...
>>>
>>> Dan
>>>
>>
>> It's OK Dan, NM ain't problem.
>>
>> WIP encore party
>>
> This driver doesn't work with the rtl8712 Firmware. You have to use the
> real rtl8192sufw.
>
> Regards,
> chr
>

# file /usr/lib/firmware/rtlwifi/rtl8192sufw.bin
/usr/lib/firmware/rtlwifi/rtl8192sufw.bin: symbolic link to `rtl8192sufw-windows.bin'

# modprobe -v rtl8192su debug=5
insmod /lib/modules/3.17.0-0.rc7.git1.1.fc22.x86_64/kernel/net/mac80211/mac80211.ko.xz
insmod /lib/modules/3.17.0-0.rc7.git1.1.fc22.x86_64/updates/rtlwifi.ko
insmod /lib/modules/3.17.0-0.rc7.git1.1.fc22.x86_64/updates/rtl_usb.ko
insmod /lib/modules/3.17.0-0.rc7.git1.1.fc22.x86_64/updates/rtl8192s-common.ko
insmod /lib/modules/3.17.0-0.rc7.git1.1.fc22.x86_64/updates/rtl8192su.ko debug=5

# dmesg
..
[ 186.147953] rtlwifi: module verification failed: signature and/or required key missing - tainting kernel
[ 186.152677] rtl8192s_common: Chip version 0x3
[ 186.154167] rtl_usb: rx_max_size 9100, rx_urb_num 8, in_ep 3
[ 186.154191] rtl8192su: Power Save off (module option)
[ 186.154193] rtl8192su: FW Power Save off (module option)
[ 186.154255] rtl8192su: Driver for Realtek RTL8192SU/RTL8191SU
Loading firmware rtlwifi/rtl8192sufw.bin
[ 186.154340] usbcore: registered new interface driver rtl8192su
[ 186.193423] ieee80211 phy0: Selected rate control algorithm 'rtl_rc'
[ 186.207885] rtl8192su 1-4:1.0 wlp0s2f1u4: renamed from wlan0
[ 186.218983] systemd-udevd[3674]: renamed network interface wlan0 to wlp0s2f1u4
[ 187.615108] cfg80211: Calling CRDA for country: SI
[ 187.620745] cfg80211: Regulatory domain changed to country: SI
[ 187.620755] cfg80211: DFS Master region: ETSI
[ 187.620760] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[ 187.620768] cfg80211: (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 187.620775] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[ 187.620781] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz), (N/A, 2000 mBm), (0 s)
[ 187.620786] cfg80211: (5490000 KHz - 5710000 KHz @ 80000 KHz), (N/A, 2700 mBm), (0 s)
[ 187.620791] cfg80211: (57240000 KHz - 65880000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A)

# iwconfig wlp0s2f1u4
wlp0s2f1u4 IEEE 802.11bgn ESSID:off/any
Mode:Managed Access Point: Not-Associated Tx-Power=0 dBm
Retry short limit:7 RTS thr=2347 B Fragment thr:off
Encryption key:off
Power Management:on

# iw wlp0s2f1u4 info
Interface wlp0s2f1u4
ifindex 5
wdev 0x1
addr 00:e0:4c:81:92:9b
type managed
wiphy 0

# ethtool wlp0s2f1u4
Settings for wlp0s2f1u4:
Link detected: no

# ethtool -i wlp0s2f1u4
driver: rtl8192su
version: 3.17.0-0.rc7.git1.1.fc22.x86_64
firmware-version: N/A
bus-info: 1-4:1.0
supports-statistics: yes
supports-test: no
supports-eeprom-access: no
supports-register-dump: no
supports-priv-flags: no

# ifconfig -v wlp0s2f1u4 up
SIOCSIFFLAGS: No such device
WARNING: at least one error occured. (-1)

# nmcli device
DEVICE TYPE STATE CONNECTION
wlp0s2f1u4 wifi unavailable --


poma



2014-10-15 02:20:53

by poma

[permalink] [raw]
Subject: Re: RTL8188SU(rtl8192su) & rtl8192sufw-ap.bin

On 14.10.2014 22:22, Dan Williams wrote:
> On Tue, 2014-10-14 at 02:59 +0200, poma wrote:
>> Realtek RTL8188SU/RTL8191SU/RTL8192SU driver
>> https://github.com/chunkeey/rtl8192su
>> &
>> RTL8188SU
>>
>
> It looks like everything worked correctly here for AP mode, at least
> from the NM logs. Is that correct?
>
> Dan
>

If you don't hit something like this

[ 19.021232] rtlwifi: module verification failed: signature and/or required key missing - tainting kernel
[ 19.304159] rtl8192s_common: Chip version 0x3
[ 19.472156] rtl_usb: rx_max_size 9100, rx_urb_num 8, in_ep 3
[ 19.472765] BUG: unable to handle kernel paging request at ffff8800c8f3a3cc
[ 19.473348] IP: [<ffffffffa0501d5e>] rtl_usb_probe+0x64e/0x8f0 [rtl_usb]
[ 19.473937] PGD 202e067 PUD 12ffff067 PMD c8f65063 PTE 80000000c8f3a161
[ 19.474516] Oops: 0003 [#1] SMP
[ 19.475083] Modules linked in: rtl8192su(OE+) rtl8192s_common(OE) rtl_usb(OE) rtlwifi(OE) mac80211 cfg80211 rfkill ...
[ 19.478188] CPU: 0 PID: 470 Comm: systemd-udevd Tainted: G OE 3.17.0-301.fc21.x86_64 #1
[ 19.479373] task: ffff8800c9313ae0 ti: ffff8800c9828000 task.ti: ffff8800c9828000
[ 19.479962] RIP: 0010:[<ffffffffa0501d5e>] [<ffffffffa0501d5e>] rtl_usb_probe+0x64e/0x8f0 [rtl_usb]
[ 19.480558] RSP: 0018:ffff8800c982bb38 EFLAGS: 00010246
[ 19.481146] RAX: ffff8800c8f31a80 RBX: ffff8800c8f31a80 RCX: 0000000000000000
[ 19.481735] RDX: ffffffffa05032e0 RSI: ffffffffa05020c8 RDI: ffff8800c8f30680
[ 19.482317] RBP: ffff8800c982bb80 R08: ffff8800c8f36050 R09: ffff8800c8f35f18
[ 19.482897] R10: ffff8800c8f36058 R11: 00000000000003f6 R12: ffff8800c8f31a80
[ 19.483476] R13: ffff8800c8f30680 R14: ffff88007f53f800 R15: 0000000000000000
[ 19.484066] FS: 00007fe3393cb880(0000) GS:ffff88012fc00000(0000) knlGS:0000000000000000
[ 19.484662] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
[ 19.485253] CR2: ffff8800c8f3a3cc CR3: 00000000c9ed2000 CR4: 00000000000007f0
[ 19.485843] Stack:
[ 19.486431] ffff8800c8f35f18 ffff8800c8f36050 ffff8800c8f36058 0000000000000000
[ 19.487032] ffff88007f53f890 ffff88007f53f800 ffffffffa050a068 ffff8801297d3c30
[ 19.487633] ffffffffa050a100 ffff8800c982bb90 ffffffffa0507b55 ffff8800c982bbd8
[ 19.488233] Call Trace:
[ 19.488835] [<ffffffffa0507b55>] rtl8192su_probe+0x15/0x20 [rtl8192su]
[ 19.489433] [<ffffffff81524a0b>] usb_probe_interface+0x1cb/0x340
[ 19.490022] [<ffffffff81498233>] driver_probe_device+0xa3/0x400
[ 19.490596] [<ffffffff8149865b>] __driver_attach+0x8b/0x90
[ 19.491171] [<ffffffff814985d0>] ? __device_attach+0x40/0x40
[ 19.491746] [<ffffffff81495fd3>] bus_for_each_dev+0x73/0xc0
[ 19.492303] [<ffffffff81497cce>] driver_attach+0x1e/0x20
[ 19.492859] [<ffffffff814978a0>] bus_add_driver+0x180/0x250
[ 19.493418] [<ffffffff81498e24>] driver_register+0x64/0xf0
[ 19.493971] [<ffffffff81522fd2>] usb_register_driver+0x82/0x160
[ 19.494523] [<ffffffffa036b000>] ? 0xffffffffa036b000
[ 19.495081] [<ffffffffa036b01e>] rtl92su_driver_init+0x1e/0x1000 [rtl8192su]
[ 19.495638] [<ffffffff81002148>] do_one_initcall+0xd8/0x210
[ 19.496201] [<ffffffff811d1f52>] ? __vunmap+0xa2/0x100
[ 19.496760] [<ffffffff81116c4f>] load_module+0x1ebf/0x2640
[ 19.497320] [<ffffffff81112670>] ? store_uevent+0x70/0x70
[ 19.497877] [<ffffffff81211f37>] ? kernel_read+0x57/0x90
[ 19.498433] [<ffffffff81117596>] SyS_finit_module+0xa6/0xe0
[ 19.498982] [<ffffffff81743469>] system_call_fastpath+0x16/0x1b
[ 19.499523] Code: af 39 00 00 03 c7 80 b0 08 00 00 64 00 00 00 c6 80 b4 08 00 00 00 c6 80 b5 08 00 00 00 c6 80 b7 08 00 00 07 c6 80 b6 08 00 00 03 <c7> 80 4c 89 00 00 02 00 00 00 c7 80 50 89 00 00 ff ff ff ff c7
[ 19.500890] RIP [<ffffffffa0501d5e>] rtl_usb_probe+0x64e/0x8f0 [rtl_usb]
[ 19.501483] RSP <ffff8800c982bb38>
[ 19.502064] CR2: ffff8800c8f3a3cc
[ 19.502651] ---[ end trace a2f95d6ce906062b ]---

and if you don't take into account the measured bandwidth is relatively low comparing the actual possible speed,
see http://goo.gl/3O3Tz4 (speedof.me/m),
you can say it is good to go.


>> - lsusb
>>
>> Bus 002 Device 003: ID 0bda:8171 Realtek Semiconductor Corp. RTL8188SU 802.11n WLAN Adapter
>>
>> ~~~~~~~~~~
>>
>> - lsusb -t
>>
>> /: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/6p, 480M
>> ...
>> |__ Port 3: Dev 3, If 0, Class=Vendor Specific Class, Driver=rtl8192su, 480M
>>
>> ~~~~~~~~~~~~~~~~~~~~~~~
>>
>> - ethtool -i wlp0s4f1u3
>>
>> driver: rtl8192su
>> ...
>>
>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>
>> - /usr/lib/firmware/rtlwifi/rtl8192sufw.bin
>> eq
>> https://github.com/chunkeey/rtl8192su/raw/master/firmwares/rtl8192sufw-ap.bin
>>
>> ~~~~~~~~~~~~~~~~~~~~~
>>
>> - iwconfig wlp0s4f1u3
>>
>> wlp0s4f1u3 IEEE 802.11bgn Mode:Master Tx-Power=20 dBm
>> Retry short limit:7 RTS thr=2347 B Fragment thr:off
>> Power Management:off
>>
>> ~~~~~~~~~~~~~~~~~~~~~
>>
>> - ifconfig wlp0s4f1u3
>>
>> wlp0s4f1u3: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
>> inet 10.42.0.1 netmask 255.255.255.0 broadcast 10.42.0.255
>> inet6 fe80::201:2ff:fe03:405 prefixlen 64 scopeid 0x20<link>
>> ether 00:01:02:03:04:05 txqueuelen 1000 (Ethernet)
>> RX packets 77 bytes 7421 (7.2 KiB)
>> RX errors 0 dropped 0 overruns 0 frame 0
>> TX packets 126 bytes 27469 (26.8 KiB)
>> TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
>>
>> ~~~~~~~~~~~~~~~~~~~~
>>
>> - iw wlp0s4f1u3 info
>>
>> Interface wlp0s4f1u3
>> ifindex 5
>> wdev 0x100000001
>> addr 00:01:02:03:04:05
>> ssid RTL8188SU(rtl8192su)
>> type AP
>> wiphy 1
>> channel 1 (2412 MHz), width: 20 MHz, center1: 2412 MHz
>>
>> ~~~~~~~~~
>>
>> - iw list
>>
>> Wiphy phy1
>> max # scan SSIDs: 4
>> max scan IEs length: 2257 bytes
>> RTS threshold: 2347
>> Coverage class: 0 (up to 0m)
>> Device supports RSN-IBSS.
>> Supported Ciphers:
>> * WEP40 (00-0f-ac:1)
>> * WEP104 (00-0f-ac:5)
>> * TKIP (00-0f-ac:2)
>> * CCMP (00-0f-ac:4)
>> * CMAC (00-0f-ac:6)
>> Available Antennas: TX 0 RX 0
>> Supported interface modes:
>> * IBSS
>> * managed
>> * AP
>> * AP/VLAN
>> * monitor
>> * mesh point
>> * P2P-client
>> * P2P-GO
>> Band 1:
>> Capabilities: 0x1862
>> HT20/HT40
>> Static SM Power Save
>> RX HT20 SGI
>> RX HT40 SGI
>> No RX STBC
>> Max AMSDU length: 7935 bytes
>> DSSS/CCK HT40
>> Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
>> Minimum RX AMPDU time spacing: 16 usec (0x07)
>> HT TX/RX MCS rate indexes supported: 0-7, 32
>> Bitrates (non-HT):
>> * 1.0 Mbps
>> * 2.0 Mbps
>> * 5.5 Mbps
>> * 11.0 Mbps
>> * 6.0 Mbps
>> * 9.0 Mbps
>> * 12.0 Mbps
>> * 18.0 Mbps
>> * 24.0 Mbps
>> * 36.0 Mbps
>> * 48.0 Mbps
>> * 54.0 Mbps
>> Frequencies:
>> * 2412 MHz [1] (20.0 dBm)
>> * 2417 MHz [2] (20.0 dBm)
>> * 2422 MHz [3] (20.0 dBm)
>> * 2427 MHz [4] (20.0 dBm)
>> * 2432 MHz [5] (20.0 dBm)
>> * 2437 MHz [6] (20.0 dBm)
>> * 2442 MHz [7] (20.0 dBm)
>> * 2447 MHz [8] (20.0 dBm)
>> * 2452 MHz [9] (20.0 dBm)
>> * 2457 MHz [10] (20.0 dBm)
>> * 2462 MHz [11] (20.0 dBm)
>> * 2467 MHz [12] (20.0 dBm)
>> * 2472 MHz [13] (20.0 dBm)
>> * 2484 MHz [14] (disabled)
>> Supported commands:
>> * new_interface
>> * set_interface
>> * new_key
>> * start_ap
>> * new_station
>> * new_mpath
>> * set_mesh_config
>> * set_bss
>> * authenticate
>> * associate
>> * deauthenticate
>> * disassociate
>> * join_ibss
>> * join_mesh
>> * set_tx_bitrate_mask
>> * frame
>> * frame_wait_cancel
>> * set_wiphy_netns
>> * set_channel
>> * set_wds_peer
>> * probe_client
>> * set_noack_map
>> * register_beacons
>> * start_p2p_device
>> * set_mcast_rate
>> * Unknown command (104)
>> * connect
>> * disconnect
>> Supported TX frame types:
>> * IBSS: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
>> * managed: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
>> * AP: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
>> * AP/VLAN: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
>> * mesh point: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
>> * P2P-client: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
>> * P2P-GO: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
>> * P2P-device: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
>> Supported RX frame types:
>> * IBSS: 0x40 0xb0 0xc0 0xd0
>> * managed: 0x40 0xd0
>> * AP: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
>> * AP/VLAN: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
>> * mesh point: 0xb0 0xc0 0xd0
>> * P2P-client: 0x40 0xd0
>> * P2P-GO: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
>> * P2P-device: 0x40 0xd0
>> software interface modes (can always be added):
>> * AP/VLAN
>> * monitor
>> interface combinations are not supported
>> HT Capability overrides:
>> * MCS: ff ff ff ff ff ff ff ff ff ff
>> * maximum A-MSDU length
>> * supported channel width
>> * short GI for 40 MHz
>> * max A-MPDU length exponent
>> * min MPDU start spacing
>> Device supports TX status socket option.
>> Device supports HT-IBSS.
>> Device supports low priority scan.
>> Device supports scan flush.
>> Device supports AP scan.
>>
>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>
>> - iw wlp0s4f1u3 station dump
>>
>> Station 00:22:44:66:88:aa (on wlp0s4f1u3)
>> inactive time: 15052 ms
>> rx bytes: 36692
>> rx packets: 349
>> tx bytes: 67232
>> tx packets: 282
>> tx retries: 0
>> tx failed: 0
>> signal: -30 dBm
>> signal avg: -30 dBm
>> tx bitrate: 72.2 MBit/s MCS 7 short GI
>> rx bitrate: 6.0 MBit/s
>> authorized: yes
>> authenticated: yes
>> preamble: long
>> WMM/WME: yes
>> MFP: no
>> TDLS peer: no
>>
>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>
>> - /etc/NetworkManager/system-connections/AP
>>
>> [connection]
>> id=AP
>> uuid=12345678-1234-5678-9abc-123456789abc
>> type=wifi
>> autoconnect=true
>>
>> [wifi]
>> ssid=RTL8188SU(rtl8192su)
>> mode=ap
>> mac-address=00:01:02:03:04:05
>> security=802-11-wireless-security
>>
>> [wifi-security]
>> key-mgmt=wpa-psk
>> proto=rsn
>> pairwise=ccmp
>> psk=passphrase
>>
>> [ipv4]
>> method=shared
>>
>> [ipv6]
>> method=ignore
>>
>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>
>> - journalctl NetworkManager
>>
>> [ 25.277724] systemd[1]: Starting Network Manager...
>> [ 25.616088] NM[820]: <info> NetworkManager (version 0.9.10.0-5.git20140704.fc21) is starting...
>> [ 25.616296] NM[820]: <info> Read config: /etc/NetworkManager/NetworkManager.conf and conf.d: keyfile-plugin.conf
>> [ 25.616468] NM[820]: <info> WEXT support is enabled
>> [ 26.111881] NM[820]: <info> Loaded plugin keyfile: (c) 2007 - 2013 Red Hat, Inc. To report bugs please use the NetworkManager mailing list.
>> [ 26.137541] NM[820]: <info> new connection /etc/NetworkManager/system-connections/enp3s0
>> [ 26.271517] NM[820]: <info> new connection /etc/NetworkManager/system-connections/AP
>> [ 26.281099] NM[820]: <info> new connection /etc/NetworkManager/system-connections/MBB
>> [ 26.296694] NM[820]: <info> monitoring kernel firmware directory '/lib/firmware'.
>> [ 26.298418] NM[820]: <info> rfkill0: found WiFi radio killswitch (at /sys/devices/pci0000:00/0000:00:04.1/usb2/2-3/2-3:1.0/ieee80211/phy0/rfkill0) (driver rtl8192su)
>> [ 26.298898] NM[820]: <info> WiFi hardware radio set enabled
>> [ 26.299359] NM[820]: <info> WWAN hardware radio set enabled
>> [ 26.301854] NM[820]: <info> Loaded device plugin: /usr/lib64/NetworkManager/libnm-device-plugin-wwan.so
>> [ 26.302361] NM[820]: <info> Loaded device plugin: /usr/lib64/NetworkManager/libnm-device-plugin-wifi.so
>> [ 26.302818] NM[820]: <info> WiFi enabled by radio killswitch; enabled by state file
>> [ 26.303284] NM[820]: <info> WWAN enabled by radio killswitch; enabled by state file
>> [ 26.303754] NM[820]: <info> WiMAX enabled by radio killswitch; enabled by state file
>> [ 26.304255] NM[820]: <info> Networking is enabled by state file
>> [ 26.304632] systemd[1]: Started Network Manager.
>> [ 26.313508] NM[820]: <info> (lo): link connected
>> [ 26.313671] NM[820]: <info> (lo): carrier is ON
>> [ 26.313817] NM[820]: <info> (lo): new Generic device (driver: 'unknown' ifindex: 1)
>> [ 26.313967] NM[820]: <info> (lo): exported as /org/freedesktop/NetworkManager/Devices/0
>> [ 26.347836] NM[820]: <info> (enp3s0): carrier is OFF
>> [ 26.365975] NM[820]: <info> (enp3s0): new Ethernet device (driver: 'r8169' ifindex: 3)
>> [ 26.366704] NM[820]: <info> (enp3s0): exported as /org/freedesktop/NetworkManager/Devices/1
>> [ 26.367298] NM[820]: <info> (enp3s0): device state change: unmanaged -> unavailable (reason 'managed') [10 20 2]
>> [ 26.389929] NM[820]: <info> (enp3s0): preparing device
>> [ 26.391212] NM[820]: <info> (wlp0s4f1u3): using nl80211 for WiFi device control
>> [ 26.391720] NM[820]: <info> (wlp0s4f1u3): driver supports Access Point (AP) mode
>> [ 26.392201] NM[820]: <info> (wlp0s4f1u3): new 802.11 WiFi device (driver: 'rtl8192su' ifindex: 4)
>> [ 26.392649] NM[820]: <info> (wlp0s4f1u3): exported as /org/freedesktop/NetworkManager/Devices/2
>> [ 26.393123] NM[820]: <info> (wlp0s4f1u3): device state change: unmanaged -> unavailable (reason 'managed') [10 20 2]
>> [ 27.348116] NM[820]: <info> (wlp0s4f1u3): preparing device
>> [ 27.357681] NM[820]: <info> ModemManager available in the bus
>> [ 28.033860] NM[820]: <info> (enp3s0): link connected
>> [ 28.035054] NM[820]: <info> (enp3s0): device state change: unavailable -> disconnected (reason 'carrier-changed') [20 30 40]
>> [ 28.035713] NM[820]: <info> Auto-activating connection 'enp3s0'.
>> [ 28.040332] NM[820]: <info> Activation (enp3s0) starting connection 'enp3s0'
>> [ 28.040846] NM[820]: <info> Activation (enp3s0) Stage 1 of 5 (Device Prepare) scheduled...
>> [ 28.041318] NM[820]: <info> Activation (enp3s0) Stage 1 of 5 (Device Prepare) started...
>> [ 28.041776] NM[820]: <info> (enp3s0): device state change: disconnected -> prepare (reason 'none') [30 40 0]
>> [ 28.042246] NM[820]: <info> NetworkManager state is now CONNECTING
>> [ 28.042698] NM[820]: <info> Activation (enp3s0) Stage 2 of 5 (Device Configure) scheduled...
>> [ 28.043182] NM[820]: <info> Activation (enp3s0) Stage 1 of 5 (Device Prepare) complete.
>> [ 28.043634] NM[820]: <info> Activation (enp3s0) Stage 2 of 5 (Device Configure) starting...
>> [ 28.044072] NM[820]: <info> (enp3s0): device state change: prepare -> config (reason 'none') [40 50 0]
>> [ 28.061851] NM[820]: <info> Activation (enp3s0) Stage 2 of 5 (Device Configure) successful.
>> [ 28.062348] NM[820]: <info> Activation (enp3s0) Stage 2 of 5 (Device Configure) complete.
>> [ 28.325821] NM[820]: <info> wpa_supplicant started
>> [ 28.466946] NM[820]: <info> (wlp0s4f1u3) supports 4 scan SSIDs
>> [ 28.467471] NM[820]: <info> (wlp0s4f1u3): supplicant interface state: starting -> ready
>> [ 28.467930] NM[820]: <info> (wlp0s4f1u3): device state change: unavailable -> disconnected (reason 'supplicant-available') [20 30 42]
>> [ 28.468893] NM[820]: <info> (wlp0s4f1u3): supplicant interface state: ready -> disconnected
>> [ 28.469370] NM[820]: <info> (wlp0s4f1u3) supports 4 scan SSIDs
>> [ 28.469837] NM[820]: <info> Auto-activating connection 'AP'.
>> [ 28.475692] NM[820]: <info> Activation (wlp0s4f1u3) starting connection 'AP'
>> [ 28.476128] NM[820]: <info> Activation (wlp0s4f1u3) Stage 1 of 5 (Device Prepare) scheduled...
>> [ 28.476311] NM[820]: <info> Activation (wlp0s4f1u3) Stage 1 of 5 (Device Prepare) started...
>> [ 28.476491] NM[820]: <info> (wlp0s4f1u3): device state change: disconnected -> prepare (reason 'none') [30 40 0]
>> [ 28.476672] NM[820]: <info> Activation (wlp0s4f1u3) Stage 2 of 5 (Device Configure) scheduled...
>> [ 28.476852] NM[820]: <info> Activation (wlp0s4f1u3) Stage 1 of 5 (Device Prepare) complete.
>> [ 28.477047] NM[820]: <info> Activation (wlp0s4f1u3) Stage 2 of 5 (Device Configure) starting...
>> [ 28.477225] NM[820]: <info> (wlp0s4f1u3): device state change: prepare -> config (reason 'none') [40 50 0]
>> [ 28.477400] NM[820]: <info> Activation (wlp0s4f1u3/wireless): connection 'AP' has security, and secrets exist. No new secrets needed.
>> [ 28.477574] NM[820]: <info> Config: added 'ssid' value 'RTL8188SU(rtl8192su)'
>> [ 28.477750] NM[820]: <info> Config: added 'mode' value '2'
>> [ 28.477925] NM[820]: <info> Config: added 'frequency' value '2412'
>> [ 28.478111] NM[820]: <info> Config: added 'key_mgmt' value 'WPA-PSK'
>> [ 28.478286] NM[820]: <info> Config: added 'psk' value '<omitted>'
>> [ 28.478459] NM[820]: <info> Config: added 'proto' value 'RSN'
>> [ 28.478632] NM[820]: <info> Config: added 'pairwise' value 'CCMP'
>> [ 28.478809] NM[820]: <info> Activation (wlp0s4f1u3) Stage 2 of 5 (Device Configure) complete.
>> [ 28.478982] NM[820]: <info> Config: set interface ap_scan to 2
>> [ 28.738684] NM[820]: <info> (wlp0s4f1u3): supplicant interface state: disconnected -> completed
>> [ 28.738891] NM[820]: <info> Activation (wlp0s4f1u3/wireless) Stage 2 of 5 (Device Configure) successful. Started Wi-Fi Hotspot 'RTL8188SU(rtl8192su)'.
>> [ 34.977083] NM[820]: <info> Activation (enp3s0) Stage 3 of 5 (IP Configure Start) scheduled.
>> [ 34.977610] NM[820]: <info> Activation (enp3s0) Stage 3 of 5 (IP Configure Start) started...
>> [ 34.978096] NM[820]: <info> (enp3s0): device state change: config -> ip-config (reason 'none') [50 70 0]
>> [ 34.978554] NM[820]: <info> Activation (enp3s0) Beginning DHCPv4 transaction (timeout in 45 seconds)
>> [ 35.304547] NM[820]: <info> dhclient started with pid 1395
>> [ 35.305087] NM[820]: <info> Activation (enp3s0) Stage 3 of 5 (IP Configure Start) complete.
>> [ 35.306502] NM[820]: <info> Activation (wlp0s4f1u3) Stage 3 of 5 (IP Configure Start) scheduled.
>> [ 35.306985] NM[820]: <info> Activation (wlp0s4f1u3) Stage 3 of 5 (IP Configure Start) started...
>> [ 35.307480] NM[820]: <info> (wlp0s4f1u3): device state change: config -> ip-config (reason 'none') [50 70 0]
>> [ 35.307976] NM[820]: <info> Activation (wlp0s4f1u3) Stage 5 of 5 (IPv4 Configure Commit) scheduled...
>> [ 35.308447] NM[820]: <info> Activation (wlp0s4f1u3) Stage 3 of 5 (IP Configure Start) complete.
>> [ 35.308937] NM[820]: <info> Activation (wlp0s4f1u3) Stage 5 of 5 (IPv4 Commit) started...
>> [ 35.490657] dhclient[1395]: Internet Systems Consortium DHCP Client 4.3.1
>> [ 35.491211] dhclient[1395]: Copyright 2004-2014 Internet Systems Consortium.
>> [ 35.491674] dhclient[1395]: All rights reserved.
>> [ 35.492147] dhclient[1395]: For info, please visit https://www.isc.org/software/dhcp/
>> [ 35.492592] dhclient[1395]:
>> [ 35.493078] NM[820]: Internet Systems Consortium DHCP Client 4.3.1
>> [ 35.493519] NM[820]: Copyright 2004-2014 Internet Systems Consortium.
>> [ 35.493950] NM[820]: All rights reserved.
>> [ 35.494211] NM[820]: For info, please visit https://www.isc.org/software/dhcp/
>> [ 36.725988] NM[820]: <info> Executing: /usr/sbin/iptables --table filter --insert INPUT --in-interface wlp0s4f1u3 --protocol tcp --destination-port 53 --jump ACCEPT
>> [ 36.733764] NM[820]: <info> Executing: /usr/sbin/iptables --table filter --insert INPUT --in-interface wlp0s4f1u3 --protocol udp --destination-port 53 --jump ACCEPT
>> [ 36.752064] NM[820]: <info> Executing: /usr/sbin/iptables --table filter --insert INPUT --in-interface wlp0s4f1u3 --protocol tcp --destination-port 67 --jump ACCEPT
>> [ 36.757195] NM[820]: <info> Executing: /usr/sbin/iptables --table filter --insert INPUT --in-interface wlp0s4f1u3 --protocol udp --destination-port 67 --jump ACCEPT
>> [ 36.776083] NM[820]: <info> Executing: /usr/sbin/iptables --table filter --insert FORWARD --in-interface wlp0s4f1u3 --jump REJECT
>> [ 36.781590] NM[820]: <info> Executing: /usr/sbin/iptables --table filter --insert FORWARD --out-interface wlp0s4f1u3 --jump REJECT
>> [ 36.786875] NM[820]: <info> Executing: /usr/sbin/iptables --table filter --insert FORWARD --in-interface wlp0s4f1u3 --out-interface wlp0s4f1u3 --jump ACCEPT
>> [ 36.789805] NM[820]: <info> Executing: /usr/sbin/iptables --table filter --insert FORWARD --source 10.42.0.0/255.255.255.0 --in-interface wlp0s4f1u3 --jump ACCEPT
>> [ 36.792748] NM[820]: <info> Executing: /usr/sbin/iptables --table filter --insert FORWARD --destination 10.42.0.0/255.255.255.0 --out-interface wlp0s4f1u3 --match state --state ESTABLISHED,RELATED --jump ACCEPT
>> [ 38.812843] NM[820]: <info> Executing: /usr/sbin/iptables --table nat --insert POSTROUTING --source 10.42.0.0/255.255.255.0 ! --destination 10.42.0.0/255.255.255.0 --jump MASQUERADE
>> [ 38.816972] NM[820]: <info> Starting dnsmasq...
>> [ 38.818556] NM[820]: <info> (wlp0s4f1u3): device state change: ip-config -> ip-check (reason 'none') [70 80 0]
>> [ 38.818941] NM[820]: <info> Activation (wlp0s4f1u3) Stage 5 of 5 (IPv4 Commit) complete.
>> [ 38.822707] NM[820]: <info> (enp3s0): DHCPv4 state changed nbi -> preinit
>> [ 38.825233] NM[820]: <info> (wlp0s4f1u3): device state change: ip-check -> secondaries (reason 'none') [80 90 0]
>> [ 38.826026] NM[820]: <info> (wlp0s4f1u3): device state change: secondaries -> activated (reason 'none') [90 100 0]
>> [ 38.881776] dhclient[1395]: Listening on LPF/enp3s0/00:12:34:56:78:30
>> [ 38.882317] dhclient[1395]: Sending on LPF/enp3s0/00:12:34:56:78:30
>> [ 38.882777] dhclient[1395]: Sending on Socket/fallback
>> [ 38.883995] dhclient[1395]: DHCPREQUEST on enp3s0 to 255.255.255.255 port 67 (xid=0x9c4e1f)
>> [ 38.884524] dhclient[1395]: DHCPACK from 192.168.2.1 (xid=0x9c4e1f)
>> [ 38.885027] NM[820]: Listening on LPF/enp3s0/00:12:34:56:78:30
>> [ 38.885471] NM[820]: Sending on LPF/enp3s0/00:12:34:56:78:30
>> [ 38.885903] NM[820]: Sending on Socket/fallback
>> [ 38.886356] NM[820]: DHCPREQUEST on enp3s0 to 255.255.255.255 port 67 (xid=0x9c4e1f)
>> [ 38.886787] NM[820]: DHCPACK from 192.168.2.1 (xid=0x9c4e1f)
>> [ 39.008666] dnsmasq[1416]: started, version 2.72 cachesize 150
>> [ 39.009255] dnsmasq[1416]: compile time options: IPv6 GNU-getopt DBus no-i18n IDN DHCP DHCPv6 no-Lua TFTP no-conntrack ipset auth DNSSEC loop-detect
>> [ 39.009719] dnsmasq-dhcp[1416]: DHCP, IP range 10.42.0.10 -- 10.42.0.254, lease time 1h
>> [ 39.010186] dnsmasq[1416]: reading /etc/resolv.conf
>> [ 39.010634] dnsmasq[1416]: using nameserver 192.168.2.1#53
>> [ 39.012048] dnsmasq[1416]: cleared cache
>> [ 44.464210] NM[820]: <info> Activation (wlp0s4f1u3) successful, device activated.
>> [ 44.470643] NM[820]: <info> (enp3s0): DHCPv4 state changed preinit -> reboot
>> [ 44.472389] NM[820]: <info> address 192.168.2.35
>> [ 44.472910] NM[820]: <info> plen 24 (255.255.255.0)
>> [ 44.473421] NM[820]: <info> gateway 192.168.2.1
>> [ 44.473892] NM[820]: <info> server identifier 192.168.2.1
>> [ 44.474382] NM[820]: <info> lease time 600
>> [ 44.474841] NM[820]: <info> nameserver '192.168.2.1'
>> [ 44.476312] NM[820]: <info> Activation (enp3s0) Stage 5 of 5 (IPv4 Configure Commit) scheduled...
>> [ 44.476428] NM[820]: <info> Activation (enp3s0) Stage 5 of 5 (IPv4 Commit) started...
>> [ 44.476548] NM[820]: <info> (enp3s0): device state change: ip-config -> ip-check (reason 'none') [70 80 0]
>> [ 44.476664] NM[820]: <info> Activation (enp3s0) Stage 5 of 5 (IPv4 Commit) complete.
>> [ 44.476782] NM[820]: <info> (enp3s0): device state change: ip-check -> secondaries (reason 'none') [80 90 0]
>> [ 44.476897] NM[820]: <info> (enp3s0): device state change: secondaries -> activated (reason 'none') [90 100 0]
>> [ 44.477060] NM[820]: <info> NetworkManager state is now CONNECTED_LOCAL
>> [ 44.671564] dhclient[1395]: bound to 192.168.2.35 -- renewal in 253 seconds.
>> [ 44.672104] NM[820]: bound to 192.168.2.35 -- renewal in 253 seconds.
>> [ 44.672581] NM[820]: <info> NetworkManager state is now CONNECTED_GLOBAL
>> [ 44.673074] NM[820]: <info> Policy set 'enp3s0' (enp3s0) as default for IPv4 routing and DNS.
>> [ 44.719277] NM[820]: <info> Activation (enp3s0) successful, device activated.
>> [ 44.721265] NM[820]: <info> startup complete
>> [ 95.712977] dnsmasq[1416]: reading /etc/resolv.conf
>> [ 95.713657] dnsmasq[1416]: using nameserver 192.168.2.1#53
>> [ 95.715255] dnsmasq[1416]: cleared cache
>> [ 217.044170] dnsmasq-dhcp[1416]: DHCPREQUEST(wlp0s4f1u3) 10.42.0.77 00:22:44:66:88:aa
>> [ 217.044896] dnsmasq-dhcp[1416]: DHCPACK(wlp0s4f1u3) 10.42.0.77 00:22:44:66:88:aa android-0123456789abcdef
>> ...
>> [ 1240.752553] dnsmasq-dhcp[1416]: DHCPREQUEST(wlp0s4f1u3) 10.42.0.77 00:22:44:66:88:aa
>> [ 1240.813416] dnsmasq-dhcp[1416]: DHCPACK(wlp0s4f1u3) 10.42.0.77 00:22:44:66:88:aa android-0123456789abcdef
>> ...
>> [ 1408.894826] dnsmasq-dhcp[1416]: DHCPREQUEST(wlp0s4f1u3) 10.42.0.77 00:22:44:66:88:aa
>> [ 1408.895557] dnsmasq-dhcp[1416]: DHCPACK(wlp0s4f1u3) 10.42.0.77 00:22:44:66:88:aa android-0123456789abcdef
>>
>> - systemctl suspend
>> & resume(S3)
>>
>> [ 1689.325793] NM[820]: <info> (wlp0s4f1u3): device state change: activated -> unmanaged (reason 'removed') [100 10 36]
>> [ 1689.325961] NM[820]: <info> (wlp0s4f1u3): deactivating device (reason 'removed') [36]
>> [ 1689.326448] NM[820]: <info> radio killswitch /sys/devices/pci0000:00/0000:00:04.1/usb2/2-3/2-3:1.0/ieee80211/phy0/rfkill0 disappeared
>> [ 1689.326580] NM[820]: <info> (wlp0s4f1u3): using nl80211 for WiFi device control
>> [ 1689.326709] NM[820]: <info> (wlp0s4f1u3): driver supports Access Point (AP) mode
>> [ 1689.326834] NM[820]: <info> (wlp0s4f1u3): new 802.11 WiFi device (driver: 'rtl8192su' ifindex: 5)
>> [ 1689.326966] NM[820]: <info> (wlp0s4f1u3): exported as /org/freedesktop/NetworkManager/Devices/3
>> [ 1689.327098] NM[820]: <info> (wlp0s4f1u3): device state change: unmanaged -> unavailable (reason 'managed') [10 20 2]
>> [ 1689.327223] NM[820]: <info> (wlp0s4f1u3): preparing device
>> [ 1689.328176] NM[820]: <info> rfkill1: found WiFi radio killswitch (at /sys/devices/pci0000:00/0000:00:04.1/usb2/2-3/2-3:1.0/ieee80211/phy1/rfkill1) (driver rtl8192su)
>> [ 1689.329155] NM[820]: <info> Executing: /usr/sbin/iptables --table nat --delete POSTROUTING --source 10.42.0.0/255.255.255.0 ! --destination 10.42.0.0/255.255.255.0 --jump MASQUERADE
>> [ 1689.331088] NM[820]: <info> Executing: /usr/sbin/iptables --table filter --delete FORWARD --destination 10.42.0.0/255.255.255.0 --out-interface wlp0s4f1u3 --match state --state ESTABLISHED,RELATED --jump ACCEPT
>> [ 1689.334823] NM[820]: <info> Executing: /usr/sbin/iptables --table filter --delete FORWARD --source 10.42.0.0/255.255.255.0 --in-interface wlp0s4f1u3 --jump ACCEPT
>> [ 1689.336627] NM[820]: <info> Executing: /usr/sbin/iptables --table filter --delete FORWARD --in-interface wlp0s4f1u3 --out-interface wlp0s4f1u3 --jump ACCEPT
>> [ 1689.338561] NM[820]: <info> Executing: /usr/sbin/iptables --table filter --delete FORWARD --out-interface wlp0s4f1u3 --jump REJECT
>> [ 1689.341038] NM[820]: <info> Executing: /usr/sbin/iptables --table filter --delete FORWARD --in-interface wlp0s4f1u3 --jump REJECT
>> [ 1689.343125] NM[820]: <info> Executing: /usr/sbin/iptables --table filter --delete INPUT --in-interface wlp0s4f1u3 --protocol udp --destination-port 67 --jump ACCEPT
>> [ 1689.380119] NM[820]: <info> Executing: /usr/sbin/iptables --table filter --delete INPUT --in-interface wlp0s4f1u3 --protocol tcp --destination-port 67 --jump ACCEPT
>> [ 1689.385774] NM[820]: <info> Executing: /usr/sbin/iptables --table filter --delete INPUT --in-interface wlp0s4f1u3 --protocol udp --destination-port 53 --jump ACCEPT
>> [ 1690.325415] NM[820]: <info> Executing: /usr/sbin/iptables --table filter --delete INPUT --in-interface wlp0s4f1u3 --protocol tcp --destination-port 53 --jump ACCEPT
>> [ 1690.336827] NM[820]: <info> (wlp0s4f1u3) supports 4 scan SSIDs
>> [ 1690.337091] NM[820]: <info> (wlp0s4f1u3): supplicant interface state: starting -> ready
>> [ 1690.337297] NM[820]: <info> (wlp0s4f1u3): device state change: unavailable -> disconnected (reason 'supplicant-available') [20 30 42]
>> [ 1690.337493] NM[820]: <info> (wlp0s4f1u3): supplicant interface state: ready -> disconnected
>> [ 1690.337686] NM[820]: <info> (wlp0s4f1u3) supports 4 scan SSIDs
>> [ 1690.337884] NM[820]: <info> Auto-activating connection 'AP'.
>> [ 1690.338085] NM[820]: <info> Activation (wlp0s4f1u3) starting connection 'AP'
>> [ 1690.338281] NM[820]: <info> Activation (wlp0s4f1u3) Stage 1 of 5 (Device Prepare) scheduled...
>> [ 1690.338472] NM[820]: <info> Activation (wlp0s4f1u3) Stage 1 of 5 (Device Prepare) started...
>> [ 1690.338672] NM[820]: <info> (wlp0s4f1u3): device state change: disconnected -> prepare (reason 'none') [30 40 0]
>> [ 1690.338865] NM[820]: <info> Activation (wlp0s4f1u3) Stage 2 of 5 (Device Configure) scheduled...
>> [ 1690.339062] NM[820]: <info> Activation (wlp0s4f1u3) Stage 1 of 5 (Device Prepare) complete.
>> [ 1690.339257] NM[820]: <info> Activation (wlp0s4f1u3) Stage 2 of 5 (Device Configure) starting...
>> [ 1690.339452] NM[820]: <info> (wlp0s4f1u3): device state change: prepare -> config (reason 'none') [40 50 0]
>> [ 1690.343841] NM[820]: <info> Activation (wlp0s4f1u3/wireless): access point 'AP' has security, but secrets are required.
>> [ 1690.344110] NM[820]: <info> (wlp0s4f1u3): device state change: config -> need-auth (reason 'none') [50 60 0]
>> [ 1690.344304] NM[820]: <info> Activation (wlp0s4f1u3) Stage 2 of 5 (Device Configure) complete.
>> [ 1690.344436] NM[820]: <info> Activation (wlp0s4f1u3) Stage 1 of 5 (Device Prepare) scheduled...
>> [ 1690.348812] NM[820]: <info> Activation (wlp0s4f1u3) Stage 1 of 5 (Device Prepare) started...
>> [ 1690.348980] NM[820]: <info> (wlp0s4f1u3): device state change: need-auth -> prepare (reason 'none') [60 40 0]
>> [ 1690.349130] NM[820]: <info> Activation (wlp0s4f1u3) Stage 2 of 5 (Device Configure) scheduled...
>> [ 1690.349260] NM[820]: <info> Activation (wlp0s4f1u3) Stage 1 of 5 (Device Prepare) complete.
>> [ 1690.349389] NM[820]: <info> Activation (wlp0s4f1u3) Stage 2 of 5 (Device Configure) starting...
>> [ 1690.349519] NM[820]: <info> (wlp0s4f1u3): device state change: prepare -> config (reason 'none') [40 50 0]
>> [ 1690.349653] NM[820]: <info> Activation (wlp0s4f1u3/wireless): connection 'AP' has security, and secrets exist. No new secrets needed.
>> [ 1690.349783] NM[820]: <info> Config: added 'ssid' value 'RTL8188SU(rtl8192su)'
>> [ 1690.349911] NM[820]: <info> Config: added 'mode' value '2'
>> [ 1690.350052] NM[820]: <info> Config: added 'frequency' value '2412'
>> [ 1690.350186] NM[820]: <info> Config: added 'key_mgmt' value 'WPA-PSK'
>> [ 1690.350311] NM[820]: <info> Config: added 'psk' value '<omitted>'
>> [ 1690.350440] NM[820]: <info> Config: added 'proto' value 'RSN'
>> [ 1690.350567] NM[820]: <info> Config: added 'pairwise' value 'CCMP'
>> [ 1690.350692] NM[820]: <info> Activation (wlp0s4f1u3) Stage 2 of 5 (Device Configure) complete.
>> [ 1690.355138] NM[820]: <info> Config: set interface ap_scan to 2
>> [ 1690.439942] NM[820]: <info> (wlp0s4f1u3): supplicant interface state: disconnected -> completed
>> [ 1690.440552] NM[820]: <info> Activation (wlp0s4f1u3/wireless) Stage 2 of 5 (Device Configure) successful. Started Wi-Fi Hotspot 'RTL8188SU(rtl8192su)'.
>> [ 1690.496432] NM[820]: <info> Activation (wlp0s4f1u3) Stage 3 of 5 (IP Configure Start) scheduled.
>> [ 1690.497084] NM[820]: <info> Activation (wlp0s4f1u3) Stage 3 of 5 (IP Configure Start) started...
>> [ 1690.497617] NM[820]: <info> (wlp0s4f1u3): device state change: config -> ip-config (reason 'none') [50 70 0]
>> [ 1690.498145] NM[820]: <info> Activation (wlp0s4f1u3) Stage 5 of 5 (IPv4 Configure Commit) scheduled...
>> [ 1690.498669] NM[820]: <info> Activation (wlp0s4f1u3) Stage 3 of 5 (IP Configure Start) complete.
>> [ 1690.499196] NM[820]: <info> Activation (wlp0s4f1u3) Stage 5 of 5 (IPv4 Commit) started...
>> [ 1690.519773] NM[820]: <info> Executing: /usr/sbin/iptables --table filter --insert INPUT --in-interface wlp0s4f1u3 --protocol tcp --destination-port 53 --jump ACCEPT
>> [ 1690.522189] NM[820]: <info> Executing: /usr/sbin/iptables --table filter --insert INPUT --in-interface wlp0s4f1u3 --protocol udp --destination-port 53 --jump ACCEPT
>> [ 1690.550111] NM[820]: <info> Executing: /usr/sbin/iptables --table filter --insert INPUT --in-interface wlp0s4f1u3 --protocol tcp --destination-port 67 --jump ACCEPT
>> [ 1690.555813] NM[820]: <info> Executing: /usr/sbin/iptables --table filter --insert INPUT --in-interface wlp0s4f1u3 --protocol udp --destination-port 67 --jump ACCEPT
>> [ 1690.573980] NM[820]: <info> Executing: /usr/sbin/iptables --table filter --insert FORWARD --in-interface wlp0s4f1u3 --jump REJECT
>> [ 1690.577369] NM[820]: <info> Executing: /usr/sbin/iptables --table filter --insert FORWARD --out-interface wlp0s4f1u3 --jump REJECT
>> [ 1690.580764] NM[820]: <info> Executing: /usr/sbin/iptables --table filter --insert FORWARD --in-interface wlp0s4f1u3 --out-interface wlp0s4f1u3 --jump ACCEPT
>> [ 1690.585441] NM[820]: <info> Executing: /usr/sbin/iptables --table filter --insert FORWARD --source 10.42.0.0/255.255.255.0 --in-interface wlp0s4f1u3 --jump ACCEPT
>> [ 1690.587979] NM[820]: <info> Executing: /usr/sbin/iptables --table filter --insert FORWARD --destination 10.42.0.0/255.255.255.0 --out-interface wlp0s4f1u3 --match state --state ESTABLISHED,RELATED --jump ACCEPT
>> [ 1690.590492] NM[820]: <info> Executing: /usr/sbin/iptables --table nat --insert POSTROUTING --source 10.42.0.0/255.255.255.0 ! --destination 10.42.0.0/255.255.255.0 --jump MASQUERADE
>> [ 1690.592764] NM[820]: <info> Starting dnsmasq...
>> [ 1690.593692] NM[820]: <info> (wlp0s4f1u3): device state change: ip-config -> ip-check (reason 'none') [70 80 0]
>> [ 1690.594290] NM[820]: <info> Activation (wlp0s4f1u3) Stage 5 of 5 (IPv4 Commit) complete.
>> [ 1690.595395] dnsmasq[3442]: started, version 2.72 cachesize 150
>> [ 1690.595629] dnsmasq[3442]: compile time options: IPv6 GNU-getopt DBus no-i18n IDN DHCP DHCPv6 no-Lua TFTP no-conntrack ipset auth DNSSEC loop-detect
>> [ 1690.595822] dnsmasq-dhcp[3442]: DHCP, IP range 10.42.0.10 -- 10.42.0.254, lease time 1h
>> [ 1690.596021] dnsmasq[3442]: reading /etc/resolv.conf
>> [ 1690.596216] dnsmasq[3442]: using nameserver 192.168.2.1#53
>> [ 1690.596793] dnsmasq[3442]: cleared cache
>> [ 1690.596982] NM[820]: <info> (wlp0s4f1u3): device state change: ip-check -> secondaries (reason 'none') [80 90 0]
>> [ 1690.597182] NM[820]: <info> (wlp0s4f1u3): device state change: secondaries -> activated (reason 'none') [90 100 0]
>> [ 1691.068838] NM[820]: <info> Activation (wlp0s4f1u3) successful, device activated.
>> [ 1698.780512] dnsmasq-dhcp[3442]: DHCPREQUEST(wlp0s4f1u3) 10.42.0.77 00:22:44:66:88:aa
>> [ 1698.781136] dnsmasq-dhcp[3442]: DHCPACK(wlp0s4f1u3) 10.42.0.77 00:22:44:66:88:aa android-0123456789abcdef
>>
>> ~~~~~~~
>>
>> - dmesg
>>
>> [ 2.126073] usb 2-3: new high-speed USB device number 3 using ehci-pci
>> [ 2.242873] usb 2-3: New USB device found, idVendor=0bda, idProduct=8171
>> [ 2.242880] usb 2-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
>> [ 2.242883] usb 2-3: Product: RTL8188S WLAN Adapter
>> [ 2.242885] usb 2-3: Manufacturer: Manufacturer Realtek
>> [ 2.242887] usb 2-3: SerialNumber: 00e04c000001
>> [ 20.134415] rtlwifi: module verification failed: signature and/or required key missing - tainting kernel
>> [ 20.517392] rtl8192s_common: Chip version 0x3
>> [ 20.686391] rtl_usb: rx_max_size 9100, rx_urb_num 8, in_ep 3
>> [ 20.687057] rtl8192su: Power Save off (module option)
>> [ 20.687639] rtl8192su: FW Power Save off (module option)
>> [ 20.688394] rtl8192su: Driver for Realtek RTL8192SU/RTL8191SU
>> Loading firmware rtlwifi/rtl8192sufw.bin
>> [ 20.689751] usbcore: registered new interface driver rtl8192su
>> [ 20.850838] ieee80211 phy0: Selected rate control algorithm 'rtl_rc'
>> [ 20.854551] rtl8192su 2-3:1.0 wlp0s4f1u3: renamed from wlan0
>>
>> - systemctl suspend
>>
>> [ 1679.990678] PM: Preparing system for mem sleep
>> [ 1680.178832] Freezing user space processes ... (elapsed 0.048 seconds) done.
>> [ 1680.226937] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
>> [ 1680.228270] PM: Entering mem sleep
>> [ 1680.228299] Suspending console(s) (use no_console_suspend to debug)
>> [ 1682.772451] PM: suspend of devices complete after 2543.533 msecs
>> [ 1682.773864] PM: late suspend of devices complete after 1.407 msecs
>> [ 1682.775348] ehci-pci 0000:00:02.1: System wakeup enabled by ACPI
>> [ 1682.786410] PM: noirq suspend of devices complete after 12.536 msecs
>> [ 1682.787692] ACPI: Preparing to enter system sleep state S3
>> [ 1682.788861] PM: Saving platform NVS memory
>>
>> & resume(S3)
>>
>> [ 1682.798859] ACPI: Low-level resume complete
>> [ 1682.798924] PM: Restoring platform NVS memory
>> [ 1682.844566] ACPI: Waking up from system sleep state S3
>> [ 1682.855147] ehci-pci 0000:00:02.1: System wakeup disabled by ACPI
>> [ 1682.856186] PM: noirq resume of devices complete after 11.457 msecs
>> [ 1682.856759] PM: early resume of devices complete after 0.531 msecs
>> [ 1683.074063] PM: resume of devices complete after 217.286 msecs
>> [ 1683.074332] rtl8192s_common: Chip version 0x3
>> [ 1683.218439] rtl_usb: rx_max_size 9100, rx_urb_num 8, in_ep 3
>> [ 1683.218484] rtl8192su: Power Save off (module option)
>> [ 1683.218485] rtl8192su: FW Power Save off (module option)
>> [ 1683.218694] rtl8192su: Driver for Realtek RTL8192SU/RTL8191SU
>> Loading firmware rtlwifi/rtl8192sufw.bin
>> [ 1683.219176] ieee80211 phy1: Selected rate control algorithm 'rtl_rc'
>> [ 1683.234998] PM: Finishing wakeup.
>> [ 1683.235003] Restarting tasks ... done.
>> [ 1683.258259] rtl8192su 2-3:1.0 wlp0s4f1u3: renamed from wlan0
>> [ 1683.270928] IPv6: ADDRCONF(NETDEV_UP): wlp0s4f1u3: link is not ready
>> [ 1684.238973] IPv6: ADDRCONF(NETDEV_UP): wlp0s4f1u3: link is not ready
>> [ 1684.401143] r8169 0000:03:00.0 enp3s0: link up
>> [ 1691.249718] IPv6: ADDRCONF(NETDEV_UP): wlp0s4f1u3: link is not ready
>> [ 1691.376981] IPv6: ADDRCONF(NETDEV_CHANGE): wlp0s4f1u3: link becomes ready
>>
>> ~~~~~~~~~~~~~~~~~~~~
>>
>> http://goo.gl/3O3Tz4
>>
>>
>> poma
>>
>>
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
>> the body of a message to [email protected]
>> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
>


2014-10-14 20:23:03

by Dan Williams

[permalink] [raw]
Subject: Re: RTL8188SU(rtl8192su) & rtl8192sufw-ap.bin

On Tue, 2014-10-14 at 02:59 +0200, poma wrote:
> Realtek RTL8188SU/RTL8191SU/RTL8192SU driver
> https://github.com/chunkeey/rtl8192su
> &
> RTL8188SU
>

It looks like everything worked correctly here for AP mode, at least
from the NM logs. Is that correct?

Dan

> - lsusb
>
> Bus 002 Device 003: ID 0bda:8171 Realtek Semiconductor Corp. RTL8188SU 802.11n WLAN Adapter
>
> ~~~~~~~~~~
>
> - lsusb -t
>
> /: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/6p, 480M
> ...
> |__ Port 3: Dev 3, If 0, Class=Vendor Specific Class, Driver=rtl8192su, 480M
>
> ~~~~~~~~~~~~~~~~~~~~~~~
>
> - ethtool -i wlp0s4f1u3
>
> driver: rtl8192su
> ...
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> - /usr/lib/firmware/rtlwifi/rtl8192sufw.bin
> eq
> https://github.com/chunkeey/rtl8192su/raw/master/firmwares/rtl8192sufw-ap.bin
>
> ~~~~~~~~~~~~~~~~~~~~~
>
> - iwconfig wlp0s4f1u3
>
> wlp0s4f1u3 IEEE 802.11bgn Mode:Master Tx-Power=20 dBm
> Retry short limit:7 RTS thr=2347 B Fragment thr:off
> Power Management:off
>
> ~~~~~~~~~~~~~~~~~~~~~
>
> - ifconfig wlp0s4f1u3
>
> wlp0s4f1u3: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
> inet 10.42.0.1 netmask 255.255.255.0 broadcast 10.42.0.255
> inet6 fe80::201:2ff:fe03:405 prefixlen 64 scopeid 0x20<link>
> ether 00:01:02:03:04:05 txqueuelen 1000 (Ethernet)
> RX packets 77 bytes 7421 (7.2 KiB)
> RX errors 0 dropped 0 overruns 0 frame 0
> TX packets 126 bytes 27469 (26.8 KiB)
> TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
>
> ~~~~~~~~~~~~~~~~~~~~
>
> - iw wlp0s4f1u3 info
>
> Interface wlp0s4f1u3
> ifindex 5
> wdev 0x100000001
> addr 00:01:02:03:04:05
> ssid RTL8188SU(rtl8192su)
> type AP
> wiphy 1
> channel 1 (2412 MHz), width: 20 MHz, center1: 2412 MHz
>
> ~~~~~~~~~
>
> - iw list
>
> Wiphy phy1
> max # scan SSIDs: 4
> max scan IEs length: 2257 bytes
> RTS threshold: 2347
> Coverage class: 0 (up to 0m)
> Device supports RSN-IBSS.
> Supported Ciphers:
> * WEP40 (00-0f-ac:1)
> * WEP104 (00-0f-ac:5)
> * TKIP (00-0f-ac:2)
> * CCMP (00-0f-ac:4)
> * CMAC (00-0f-ac:6)
> Available Antennas: TX 0 RX 0
> Supported interface modes:
> * IBSS
> * managed
> * AP
> * AP/VLAN
> * monitor
> * mesh point
> * P2P-client
> * P2P-GO
> Band 1:
> Capabilities: 0x1862
> HT20/HT40
> Static SM Power Save
> RX HT20 SGI
> RX HT40 SGI
> No RX STBC
> Max AMSDU length: 7935 bytes
> DSSS/CCK HT40
> Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
> Minimum RX AMPDU time spacing: 16 usec (0x07)
> HT TX/RX MCS rate indexes supported: 0-7, 32
> Bitrates (non-HT):
> * 1.0 Mbps
> * 2.0 Mbps
> * 5.5 Mbps
> * 11.0 Mbps
> * 6.0 Mbps
> * 9.0 Mbps
> * 12.0 Mbps
> * 18.0 Mbps
> * 24.0 Mbps
> * 36.0 Mbps
> * 48.0 Mbps
> * 54.0 Mbps
> Frequencies:
> * 2412 MHz [1] (20.0 dBm)
> * 2417 MHz [2] (20.0 dBm)
> * 2422 MHz [3] (20.0 dBm)
> * 2427 MHz [4] (20.0 dBm)
> * 2432 MHz [5] (20.0 dBm)
> * 2437 MHz [6] (20.0 dBm)
> * 2442 MHz [7] (20.0 dBm)
> * 2447 MHz [8] (20.0 dBm)
> * 2452 MHz [9] (20.0 dBm)
> * 2457 MHz [10] (20.0 dBm)
> * 2462 MHz [11] (20.0 dBm)
> * 2467 MHz [12] (20.0 dBm)
> * 2472 MHz [13] (20.0 dBm)
> * 2484 MHz [14] (disabled)
> Supported commands:
> * new_interface
> * set_interface
> * new_key
> * start_ap
> * new_station
> * new_mpath
> * set_mesh_config
> * set_bss
> * authenticate
> * associate
> * deauthenticate
> * disassociate
> * join_ibss
> * join_mesh
> * set_tx_bitrate_mask
> * frame
> * frame_wait_cancel
> * set_wiphy_netns
> * set_channel
> * set_wds_peer
> * probe_client
> * set_noack_map
> * register_beacons
> * start_p2p_device
> * set_mcast_rate
> * Unknown command (104)
> * connect
> * disconnect
> Supported TX frame types:
> * IBSS: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
> * managed: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
> * AP: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
> * AP/VLAN: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
> * mesh point: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
> * P2P-client: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
> * P2P-GO: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
> * P2P-device: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
> Supported RX frame types:
> * IBSS: 0x40 0xb0 0xc0 0xd0
> * managed: 0x40 0xd0
> * AP: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
> * AP/VLAN: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
> * mesh point: 0xb0 0xc0 0xd0
> * P2P-client: 0x40 0xd0
> * P2P-GO: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
> * P2P-device: 0x40 0xd0
> software interface modes (can always be added):
> * AP/VLAN
> * monitor
> interface combinations are not supported
> HT Capability overrides:
> * MCS: ff ff ff ff ff ff ff ff ff ff
> * maximum A-MSDU length
> * supported channel width
> * short GI for 40 MHz
> * max A-MPDU length exponent
> * min MPDU start spacing
> Device supports TX status socket option.
> Device supports HT-IBSS.
> Device supports low priority scan.
> Device supports scan flush.
> Device supports AP scan.
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> - iw wlp0s4f1u3 station dump
>
> Station 00:22:44:66:88:aa (on wlp0s4f1u3)
> inactive time: 15052 ms
> rx bytes: 36692
> rx packets: 349
> tx bytes: 67232
> tx packets: 282
> tx retries: 0
> tx failed: 0
> signal: -30 dBm
> signal avg: -30 dBm
> tx bitrate: 72.2 MBit/s MCS 7 short GI
> rx bitrate: 6.0 MBit/s
> authorized: yes
> authenticated: yes
> preamble: long
> WMM/WME: yes
> MFP: no
> TDLS peer: no
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> - /etc/NetworkManager/system-connections/AP
>
> [connection]
> id=AP
> uuid=12345678-1234-5678-9abc-123456789abc
> type=wifi
> autoconnect=true
>
> [wifi]
> ssid=RTL8188SU(rtl8192su)
> mode=ap
> mac-address=00:01:02:03:04:05
> security=802-11-wireless-security
>
> [wifi-security]
> key-mgmt=wpa-psk
> proto=rsn
> pairwise=ccmp
> psk=passphrase
>
> [ipv4]
> method=shared
>
> [ipv6]
> method=ignore
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> - journalctl NetworkManager
>
> [ 25.277724] systemd[1]: Starting Network Manager...
> [ 25.616088] NM[820]: <info> NetworkManager (version 0.9.10.0-5.git20140704.fc21) is starting...
> [ 25.616296] NM[820]: <info> Read config: /etc/NetworkManager/NetworkManager.conf and conf.d: keyfile-plugin.conf
> [ 25.616468] NM[820]: <info> WEXT support is enabled
> [ 26.111881] NM[820]: <info> Loaded plugin keyfile: (c) 2007 - 2013 Red Hat, Inc. To report bugs please use the NetworkManager mailing list.
> [ 26.137541] NM[820]: <info> new connection /etc/NetworkManager/system-connections/enp3s0
> [ 26.271517] NM[820]: <info> new connection /etc/NetworkManager/system-connections/AP
> [ 26.281099] NM[820]: <info> new connection /etc/NetworkManager/system-connections/MBB
> [ 26.296694] NM[820]: <info> monitoring kernel firmware directory '/lib/firmware'.
> [ 26.298418] NM[820]: <info> rfkill0: found WiFi radio killswitch (at /sys/devices/pci0000:00/0000:00:04.1/usb2/2-3/2-3:1.0/ieee80211/phy0/rfkill0) (driver rtl8192su)
> [ 26.298898] NM[820]: <info> WiFi hardware radio set enabled
> [ 26.299359] NM[820]: <info> WWAN hardware radio set enabled
> [ 26.301854] NM[820]: <info> Loaded device plugin: /usr/lib64/NetworkManager/libnm-device-plugin-wwan.so
> [ 26.302361] NM[820]: <info> Loaded device plugin: /usr/lib64/NetworkManager/libnm-device-plugin-wifi.so
> [ 26.302818] NM[820]: <info> WiFi enabled by radio killswitch; enabled by state file
> [ 26.303284] NM[820]: <info> WWAN enabled by radio killswitch; enabled by state file
> [ 26.303754] NM[820]: <info> WiMAX enabled by radio killswitch; enabled by state file
> [ 26.304255] NM[820]: <info> Networking is enabled by state file
> [ 26.304632] systemd[1]: Started Network Manager.
> [ 26.313508] NM[820]: <info> (lo): link connected
> [ 26.313671] NM[820]: <info> (lo): carrier is ON
> [ 26.313817] NM[820]: <info> (lo): new Generic device (driver: 'unknown' ifindex: 1)
> [ 26.313967] NM[820]: <info> (lo): exported as /org/freedesktop/NetworkManager/Devices/0
> [ 26.347836] NM[820]: <info> (enp3s0): carrier is OFF
> [ 26.365975] NM[820]: <info> (enp3s0): new Ethernet device (driver: 'r8169' ifindex: 3)
> [ 26.366704] NM[820]: <info> (enp3s0): exported as /org/freedesktop/NetworkManager/Devices/1
> [ 26.367298] NM[820]: <info> (enp3s0): device state change: unmanaged -> unavailable (reason 'managed') [10 20 2]
> [ 26.389929] NM[820]: <info> (enp3s0): preparing device
> [ 26.391212] NM[820]: <info> (wlp0s4f1u3): using nl80211 for WiFi device control
> [ 26.391720] NM[820]: <info> (wlp0s4f1u3): driver supports Access Point (AP) mode
> [ 26.392201] NM[820]: <info> (wlp0s4f1u3): new 802.11 WiFi device (driver: 'rtl8192su' ifindex: 4)
> [ 26.392649] NM[820]: <info> (wlp0s4f1u3): exported as /org/freedesktop/NetworkManager/Devices/2
> [ 26.393123] NM[820]: <info> (wlp0s4f1u3): device state change: unmanaged -> unavailable (reason 'managed') [10 20 2]
> [ 27.348116] NM[820]: <info> (wlp0s4f1u3): preparing device
> [ 27.357681] NM[820]: <info> ModemManager available in the bus
> [ 28.033860] NM[820]: <info> (enp3s0): link connected
> [ 28.035054] NM[820]: <info> (enp3s0): device state change: unavailable -> disconnected (reason 'carrier-changed') [20 30 40]
> [ 28.035713] NM[820]: <info> Auto-activating connection 'enp3s0'.
> [ 28.040332] NM[820]: <info> Activation (enp3s0) starting connection 'enp3s0'
> [ 28.040846] NM[820]: <info> Activation (enp3s0) Stage 1 of 5 (Device Prepare) scheduled...
> [ 28.041318] NM[820]: <info> Activation (enp3s0) Stage 1 of 5 (Device Prepare) started...
> [ 28.041776] NM[820]: <info> (enp3s0): device state change: disconnected -> prepare (reason 'none') [30 40 0]
> [ 28.042246] NM[820]: <info> NetworkManager state is now CONNECTING
> [ 28.042698] NM[820]: <info> Activation (enp3s0) Stage 2 of 5 (Device Configure) scheduled...
> [ 28.043182] NM[820]: <info> Activation (enp3s0) Stage 1 of 5 (Device Prepare) complete.
> [ 28.043634] NM[820]: <info> Activation (enp3s0) Stage 2 of 5 (Device Configure) starting...
> [ 28.044072] NM[820]: <info> (enp3s0): device state change: prepare -> config (reason 'none') [40 50 0]
> [ 28.061851] NM[820]: <info> Activation (enp3s0) Stage 2 of 5 (Device Configure) successful.
> [ 28.062348] NM[820]: <info> Activation (enp3s0) Stage 2 of 5 (Device Configure) complete.
> [ 28.325821] NM[820]: <info> wpa_supplicant started
> [ 28.466946] NM[820]: <info> (wlp0s4f1u3) supports 4 scan SSIDs
> [ 28.467471] NM[820]: <info> (wlp0s4f1u3): supplicant interface state: starting -> ready
> [ 28.467930] NM[820]: <info> (wlp0s4f1u3): device state change: unavailable -> disconnected (reason 'supplicant-available') [20 30 42]
> [ 28.468893] NM[820]: <info> (wlp0s4f1u3): supplicant interface state: ready -> disconnected
> [ 28.469370] NM[820]: <info> (wlp0s4f1u3) supports 4 scan SSIDs
> [ 28.469837] NM[820]: <info> Auto-activating connection 'AP'.
> [ 28.475692] NM[820]: <info> Activation (wlp0s4f1u3) starting connection 'AP'
> [ 28.476128] NM[820]: <info> Activation (wlp0s4f1u3) Stage 1 of 5 (Device Prepare) scheduled...
> [ 28.476311] NM[820]: <info> Activation (wlp0s4f1u3) Stage 1 of 5 (Device Prepare) started...
> [ 28.476491] NM[820]: <info> (wlp0s4f1u3): device state change: disconnected -> prepare (reason 'none') [30 40 0]
> [ 28.476672] NM[820]: <info> Activation (wlp0s4f1u3) Stage 2 of 5 (Device Configure) scheduled...
> [ 28.476852] NM[820]: <info> Activation (wlp0s4f1u3) Stage 1 of 5 (Device Prepare) complete.
> [ 28.477047] NM[820]: <info> Activation (wlp0s4f1u3) Stage 2 of 5 (Device Configure) starting...
> [ 28.477225] NM[820]: <info> (wlp0s4f1u3): device state change: prepare -> config (reason 'none') [40 50 0]
> [ 28.477400] NM[820]: <info> Activation (wlp0s4f1u3/wireless): connection 'AP' has security, and secrets exist. No new secrets needed.
> [ 28.477574] NM[820]: <info> Config: added 'ssid' value 'RTL8188SU(rtl8192su)'
> [ 28.477750] NM[820]: <info> Config: added 'mode' value '2'
> [ 28.477925] NM[820]: <info> Config: added 'frequency' value '2412'
> [ 28.478111] NM[820]: <info> Config: added 'key_mgmt' value 'WPA-PSK'
> [ 28.478286] NM[820]: <info> Config: added 'psk' value '<omitted>'
> [ 28.478459] NM[820]: <info> Config: added 'proto' value 'RSN'
> [ 28.478632] NM[820]: <info> Config: added 'pairwise' value 'CCMP'
> [ 28.478809] NM[820]: <info> Activation (wlp0s4f1u3) Stage 2 of 5 (Device Configure) complete.
> [ 28.478982] NM[820]: <info> Config: set interface ap_scan to 2
> [ 28.738684] NM[820]: <info> (wlp0s4f1u3): supplicant interface state: disconnected -> completed
> [ 28.738891] NM[820]: <info> Activation (wlp0s4f1u3/wireless) Stage 2 of 5 (Device Configure) successful. Started Wi-Fi Hotspot 'RTL8188SU(rtl8192su)'.
> [ 34.977083] NM[820]: <info> Activation (enp3s0) Stage 3 of 5 (IP Configure Start) scheduled.
> [ 34.977610] NM[820]: <info> Activation (enp3s0) Stage 3 of 5 (IP Configure Start) started...
> [ 34.978096] NM[820]: <info> (enp3s0): device state change: config -> ip-config (reason 'none') [50 70 0]
> [ 34.978554] NM[820]: <info> Activation (enp3s0) Beginning DHCPv4 transaction (timeout in 45 seconds)
> [ 35.304547] NM[820]: <info> dhclient started with pid 1395
> [ 35.305087] NM[820]: <info> Activation (enp3s0) Stage 3 of 5 (IP Configure Start) complete.
> [ 35.306502] NM[820]: <info> Activation (wlp0s4f1u3) Stage 3 of 5 (IP Configure Start) scheduled.
> [ 35.306985] NM[820]: <info> Activation (wlp0s4f1u3) Stage 3 of 5 (IP Configure Start) started...
> [ 35.307480] NM[820]: <info> (wlp0s4f1u3): device state change: config -> ip-config (reason 'none') [50 70 0]
> [ 35.307976] NM[820]: <info> Activation (wlp0s4f1u3) Stage 5 of 5 (IPv4 Configure Commit) scheduled...
> [ 35.308447] NM[820]: <info> Activation (wlp0s4f1u3) Stage 3 of 5 (IP Configure Start) complete.
> [ 35.308937] NM[820]: <info> Activation (wlp0s4f1u3) Stage 5 of 5 (IPv4 Commit) started...
> [ 35.490657] dhclient[1395]: Internet Systems Consortium DHCP Client 4.3.1
> [ 35.491211] dhclient[1395]: Copyright 2004-2014 Internet Systems Consortium.
> [ 35.491674] dhclient[1395]: All rights reserved.
> [ 35.492147] dhclient[1395]: For info, please visit https://www.isc.org/software/dhcp/
> [ 35.492592] dhclient[1395]:
> [ 35.493078] NM[820]: Internet Systems Consortium DHCP Client 4.3.1
> [ 35.493519] NM[820]: Copyright 2004-2014 Internet Systems Consortium.
> [ 35.493950] NM[820]: All rights reserved.
> [ 35.494211] NM[820]: For info, please visit https://www.isc.org/software/dhcp/
> [ 36.725988] NM[820]: <info> Executing: /usr/sbin/iptables --table filter --insert INPUT --in-interface wlp0s4f1u3 --protocol tcp --destination-port 53 --jump ACCEPT
> [ 36.733764] NM[820]: <info> Executing: /usr/sbin/iptables --table filter --insert INPUT --in-interface wlp0s4f1u3 --protocol udp --destination-port 53 --jump ACCEPT
> [ 36.752064] NM[820]: <info> Executing: /usr/sbin/iptables --table filter --insert INPUT --in-interface wlp0s4f1u3 --protocol tcp --destination-port 67 --jump ACCEPT
> [ 36.757195] NM[820]: <info> Executing: /usr/sbin/iptables --table filter --insert INPUT --in-interface wlp0s4f1u3 --protocol udp --destination-port 67 --jump ACCEPT
> [ 36.776083] NM[820]: <info> Executing: /usr/sbin/iptables --table filter --insert FORWARD --in-interface wlp0s4f1u3 --jump REJECT
> [ 36.781590] NM[820]: <info> Executing: /usr/sbin/iptables --table filter --insert FORWARD --out-interface wlp0s4f1u3 --jump REJECT
> [ 36.786875] NM[820]: <info> Executing: /usr/sbin/iptables --table filter --insert FORWARD --in-interface wlp0s4f1u3 --out-interface wlp0s4f1u3 --jump ACCEPT
> [ 36.789805] NM[820]: <info> Executing: /usr/sbin/iptables --table filter --insert FORWARD --source 10.42.0.0/255.255.255.0 --in-interface wlp0s4f1u3 --jump ACCEPT
> [ 36.792748] NM[820]: <info> Executing: /usr/sbin/iptables --table filter --insert FORWARD --destination 10.42.0.0/255.255.255.0 --out-interface wlp0s4f1u3 --match state --state ESTABLISHED,RELATED --jump ACCEPT
> [ 38.812843] NM[820]: <info> Executing: /usr/sbin/iptables --table nat --insert POSTROUTING --source 10.42.0.0/255.255.255.0 ! --destination 10.42.0.0/255.255.255.0 --jump MASQUERADE
> [ 38.816972] NM[820]: <info> Starting dnsmasq...
> [ 38.818556] NM[820]: <info> (wlp0s4f1u3): device state change: ip-config -> ip-check (reason 'none') [70 80 0]
> [ 38.818941] NM[820]: <info> Activation (wlp0s4f1u3) Stage 5 of 5 (IPv4 Commit) complete.
> [ 38.822707] NM[820]: <info> (enp3s0): DHCPv4 state changed nbi -> preinit
> [ 38.825233] NM[820]: <info> (wlp0s4f1u3): device state change: ip-check -> secondaries (reason 'none') [80 90 0]
> [ 38.826026] NM[820]: <info> (wlp0s4f1u3): device state change: secondaries -> activated (reason 'none') [90 100 0]
> [ 38.881776] dhclient[1395]: Listening on LPF/enp3s0/00:12:34:56:78:30
> [ 38.882317] dhclient[1395]: Sending on LPF/enp3s0/00:12:34:56:78:30
> [ 38.882777] dhclient[1395]: Sending on Socket/fallback
> [ 38.883995] dhclient[1395]: DHCPREQUEST on enp3s0 to 255.255.255.255 port 67 (xid=0x9c4e1f)
> [ 38.884524] dhclient[1395]: DHCPACK from 192.168.2.1 (xid=0x9c4e1f)
> [ 38.885027] NM[820]: Listening on LPF/enp3s0/00:12:34:56:78:30
> [ 38.885471] NM[820]: Sending on LPF/enp3s0/00:12:34:56:78:30
> [ 38.885903] NM[820]: Sending on Socket/fallback
> [ 38.886356] NM[820]: DHCPREQUEST on enp3s0 to 255.255.255.255 port 67 (xid=0x9c4e1f)
> [ 38.886787] NM[820]: DHCPACK from 192.168.2.1 (xid=0x9c4e1f)
> [ 39.008666] dnsmasq[1416]: started, version 2.72 cachesize 150
> [ 39.009255] dnsmasq[1416]: compile time options: IPv6 GNU-getopt DBus no-i18n IDN DHCP DHCPv6 no-Lua TFTP no-conntrack ipset auth DNSSEC loop-detect
> [ 39.009719] dnsmasq-dhcp[1416]: DHCP, IP range 10.42.0.10 -- 10.42.0.254, lease time 1h
> [ 39.010186] dnsmasq[1416]: reading /etc/resolv.conf
> [ 39.010634] dnsmasq[1416]: using nameserver 192.168.2.1#53
> [ 39.012048] dnsmasq[1416]: cleared cache
> [ 44.464210] NM[820]: <info> Activation (wlp0s4f1u3) successful, device activated.
> [ 44.470643] NM[820]: <info> (enp3s0): DHCPv4 state changed preinit -> reboot
> [ 44.472389] NM[820]: <info> address 192.168.2.35
> [ 44.472910] NM[820]: <info> plen 24 (255.255.255.0)
> [ 44.473421] NM[820]: <info> gateway 192.168.2.1
> [ 44.473892] NM[820]: <info> server identifier 192.168.2.1
> [ 44.474382] NM[820]: <info> lease time 600
> [ 44.474841] NM[820]: <info> nameserver '192.168.2.1'
> [ 44.476312] NM[820]: <info> Activation (enp3s0) Stage 5 of 5 (IPv4 Configure Commit) scheduled...
> [ 44.476428] NM[820]: <info> Activation (enp3s0) Stage 5 of 5 (IPv4 Commit) started...
> [ 44.476548] NM[820]: <info> (enp3s0): device state change: ip-config -> ip-check (reason 'none') [70 80 0]
> [ 44.476664] NM[820]: <info> Activation (enp3s0) Stage 5 of 5 (IPv4 Commit) complete.
> [ 44.476782] NM[820]: <info> (enp3s0): device state change: ip-check -> secondaries (reason 'none') [80 90 0]
> [ 44.476897] NM[820]: <info> (enp3s0): device state change: secondaries -> activated (reason 'none') [90 100 0]
> [ 44.477060] NM[820]: <info> NetworkManager state is now CONNECTED_LOCAL
> [ 44.671564] dhclient[1395]: bound to 192.168.2.35 -- renewal in 253 seconds.
> [ 44.672104] NM[820]: bound to 192.168.2.35 -- renewal in 253 seconds.
> [ 44.672581] NM[820]: <info> NetworkManager state is now CONNECTED_GLOBAL
> [ 44.673074] NM[820]: <info> Policy set 'enp3s0' (enp3s0) as default for IPv4 routing and DNS.
> [ 44.719277] NM[820]: <info> Activation (enp3s0) successful, device activated.
> [ 44.721265] NM[820]: <info> startup complete
> [ 95.712977] dnsmasq[1416]: reading /etc/resolv.conf
> [ 95.713657] dnsmasq[1416]: using nameserver 192.168.2.1#53
> [ 95.715255] dnsmasq[1416]: cleared cache
> [ 217.044170] dnsmasq-dhcp[1416]: DHCPREQUEST(wlp0s4f1u3) 10.42.0.77 00:22:44:66:88:aa
> [ 217.044896] dnsmasq-dhcp[1416]: DHCPACK(wlp0s4f1u3) 10.42.0.77 00:22:44:66:88:aa android-0123456789abcdef
> ...
> [ 1240.752553] dnsmasq-dhcp[1416]: DHCPREQUEST(wlp0s4f1u3) 10.42.0.77 00:22:44:66:88:aa
> [ 1240.813416] dnsmasq-dhcp[1416]: DHCPACK(wlp0s4f1u3) 10.42.0.77 00:22:44:66:88:aa android-0123456789abcdef
> ...
> [ 1408.894826] dnsmasq-dhcp[1416]: DHCPREQUEST(wlp0s4f1u3) 10.42.0.77 00:22:44:66:88:aa
> [ 1408.895557] dnsmasq-dhcp[1416]: DHCPACK(wlp0s4f1u3) 10.42.0.77 00:22:44:66:88:aa android-0123456789abcdef
>
> - systemctl suspend
> & resume(S3)
>
> [ 1689.325793] NM[820]: <info> (wlp0s4f1u3): device state change: activated -> unmanaged (reason 'removed') [100 10 36]
> [ 1689.325961] NM[820]: <info> (wlp0s4f1u3): deactivating device (reason 'removed') [36]
> [ 1689.326448] NM[820]: <info> radio killswitch /sys/devices/pci0000:00/0000:00:04.1/usb2/2-3/2-3:1.0/ieee80211/phy0/rfkill0 disappeared
> [ 1689.326580] NM[820]: <info> (wlp0s4f1u3): using nl80211 for WiFi device control
> [ 1689.326709] NM[820]: <info> (wlp0s4f1u3): driver supports Access Point (AP) mode
> [ 1689.326834] NM[820]: <info> (wlp0s4f1u3): new 802.11 WiFi device (driver: 'rtl8192su' ifindex: 5)
> [ 1689.326966] NM[820]: <info> (wlp0s4f1u3): exported as /org/freedesktop/NetworkManager/Devices/3
> [ 1689.327098] NM[820]: <info> (wlp0s4f1u3): device state change: unmanaged -> unavailable (reason 'managed') [10 20 2]
> [ 1689.327223] NM[820]: <info> (wlp0s4f1u3): preparing device
> [ 1689.328176] NM[820]: <info> rfkill1: found WiFi radio killswitch (at /sys/devices/pci0000:00/0000:00:04.1/usb2/2-3/2-3:1.0/ieee80211/phy1/rfkill1) (driver rtl8192su)
> [ 1689.329155] NM[820]: <info> Executing: /usr/sbin/iptables --table nat --delete POSTROUTING --source 10.42.0.0/255.255.255.0 ! --destination 10.42.0.0/255.255.255.0 --jump MASQUERADE
> [ 1689.331088] NM[820]: <info> Executing: /usr/sbin/iptables --table filter --delete FORWARD --destination 10.42.0.0/255.255.255.0 --out-interface wlp0s4f1u3 --match state --state ESTABLISHED,RELATED --jump ACCEPT
> [ 1689.334823] NM[820]: <info> Executing: /usr/sbin/iptables --table filter --delete FORWARD --source 10.42.0.0/255.255.255.0 --in-interface wlp0s4f1u3 --jump ACCEPT
> [ 1689.336627] NM[820]: <info> Executing: /usr/sbin/iptables --table filter --delete FORWARD --in-interface wlp0s4f1u3 --out-interface wlp0s4f1u3 --jump ACCEPT
> [ 1689.338561] NM[820]: <info> Executing: /usr/sbin/iptables --table filter --delete FORWARD --out-interface wlp0s4f1u3 --jump REJECT
> [ 1689.341038] NM[820]: <info> Executing: /usr/sbin/iptables --table filter --delete FORWARD --in-interface wlp0s4f1u3 --jump REJECT
> [ 1689.343125] NM[820]: <info> Executing: /usr/sbin/iptables --table filter --delete INPUT --in-interface wlp0s4f1u3 --protocol udp --destination-port 67 --jump ACCEPT
> [ 1689.380119] NM[820]: <info> Executing: /usr/sbin/iptables --table filter --delete INPUT --in-interface wlp0s4f1u3 --protocol tcp --destination-port 67 --jump ACCEPT
> [ 1689.385774] NM[820]: <info> Executing: /usr/sbin/iptables --table filter --delete INPUT --in-interface wlp0s4f1u3 --protocol udp --destination-port 53 --jump ACCEPT
> [ 1690.325415] NM[820]: <info> Executing: /usr/sbin/iptables --table filter --delete INPUT --in-interface wlp0s4f1u3 --protocol tcp --destination-port 53 --jump ACCEPT
> [ 1690.336827] NM[820]: <info> (wlp0s4f1u3) supports 4 scan SSIDs
> [ 1690.337091] NM[820]: <info> (wlp0s4f1u3): supplicant interface state: starting -> ready
> [ 1690.337297] NM[820]: <info> (wlp0s4f1u3): device state change: unavailable -> disconnected (reason 'supplicant-available') [20 30 42]
> [ 1690.337493] NM[820]: <info> (wlp0s4f1u3): supplicant interface state: ready -> disconnected
> [ 1690.337686] NM[820]: <info> (wlp0s4f1u3) supports 4 scan SSIDs
> [ 1690.337884] NM[820]: <info> Auto-activating connection 'AP'.
> [ 1690.338085] NM[820]: <info> Activation (wlp0s4f1u3) starting connection 'AP'
> [ 1690.338281] NM[820]: <info> Activation (wlp0s4f1u3) Stage 1 of 5 (Device Prepare) scheduled...
> [ 1690.338472] NM[820]: <info> Activation (wlp0s4f1u3) Stage 1 of 5 (Device Prepare) started...
> [ 1690.338672] NM[820]: <info> (wlp0s4f1u3): device state change: disconnected -> prepare (reason 'none') [30 40 0]
> [ 1690.338865] NM[820]: <info> Activation (wlp0s4f1u3) Stage 2 of 5 (Device Configure) scheduled...
> [ 1690.339062] NM[820]: <info> Activation (wlp0s4f1u3) Stage 1 of 5 (Device Prepare) complete.
> [ 1690.339257] NM[820]: <info> Activation (wlp0s4f1u3) Stage 2 of 5 (Device Configure) starting...
> [ 1690.339452] NM[820]: <info> (wlp0s4f1u3): device state change: prepare -> config (reason 'none') [40 50 0]
> [ 1690.343841] NM[820]: <info> Activation (wlp0s4f1u3/wireless): access point 'AP' has security, but secrets are required.
> [ 1690.344110] NM[820]: <info> (wlp0s4f1u3): device state change: config -> need-auth (reason 'none') [50 60 0]
> [ 1690.344304] NM[820]: <info> Activation (wlp0s4f1u3) Stage 2 of 5 (Device Configure) complete.
> [ 1690.344436] NM[820]: <info> Activation (wlp0s4f1u3) Stage 1 of 5 (Device Prepare) scheduled...
> [ 1690.348812] NM[820]: <info> Activation (wlp0s4f1u3) Stage 1 of 5 (Device Prepare) started...
> [ 1690.348980] NM[820]: <info> (wlp0s4f1u3): device state change: need-auth -> prepare (reason 'none') [60 40 0]
> [ 1690.349130] NM[820]: <info> Activation (wlp0s4f1u3) Stage 2 of 5 (Device Configure) scheduled...
> [ 1690.349260] NM[820]: <info> Activation (wlp0s4f1u3) Stage 1 of 5 (Device Prepare) complete.
> [ 1690.349389] NM[820]: <info> Activation (wlp0s4f1u3) Stage 2 of 5 (Device Configure) starting...
> [ 1690.349519] NM[820]: <info> (wlp0s4f1u3): device state change: prepare -> config (reason 'none') [40 50 0]
> [ 1690.349653] NM[820]: <info> Activation (wlp0s4f1u3/wireless): connection 'AP' has security, and secrets exist. No new secrets needed.
> [ 1690.349783] NM[820]: <info> Config: added 'ssid' value 'RTL8188SU(rtl8192su)'
> [ 1690.349911] NM[820]: <info> Config: added 'mode' value '2'
> [ 1690.350052] NM[820]: <info> Config: added 'frequency' value '2412'
> [ 1690.350186] NM[820]: <info> Config: added 'key_mgmt' value 'WPA-PSK'
> [ 1690.350311] NM[820]: <info> Config: added 'psk' value '<omitted>'
> [ 1690.350440] NM[820]: <info> Config: added 'proto' value 'RSN'
> [ 1690.350567] NM[820]: <info> Config: added 'pairwise' value 'CCMP'
> [ 1690.350692] NM[820]: <info> Activation (wlp0s4f1u3) Stage 2 of 5 (Device Configure) complete.
> [ 1690.355138] NM[820]: <info> Config: set interface ap_scan to 2
> [ 1690.439942] NM[820]: <info> (wlp0s4f1u3): supplicant interface state: disconnected -> completed
> [ 1690.440552] NM[820]: <info> Activation (wlp0s4f1u3/wireless) Stage 2 of 5 (Device Configure) successful. Started Wi-Fi Hotspot 'RTL8188SU(rtl8192su)'.
> [ 1690.496432] NM[820]: <info> Activation (wlp0s4f1u3) Stage 3 of 5 (IP Configure Start) scheduled.
> [ 1690.497084] NM[820]: <info> Activation (wlp0s4f1u3) Stage 3 of 5 (IP Configure Start) started...
> [ 1690.497617] NM[820]: <info> (wlp0s4f1u3): device state change: config -> ip-config (reason 'none') [50 70 0]
> [ 1690.498145] NM[820]: <info> Activation (wlp0s4f1u3) Stage 5 of 5 (IPv4 Configure Commit) scheduled...
> [ 1690.498669] NM[820]: <info> Activation (wlp0s4f1u3) Stage 3 of 5 (IP Configure Start) complete.
> [ 1690.499196] NM[820]: <info> Activation (wlp0s4f1u3) Stage 5 of 5 (IPv4 Commit) started...
> [ 1690.519773] NM[820]: <info> Executing: /usr/sbin/iptables --table filter --insert INPUT --in-interface wlp0s4f1u3 --protocol tcp --destination-port 53 --jump ACCEPT
> [ 1690.522189] NM[820]: <info> Executing: /usr/sbin/iptables --table filter --insert INPUT --in-interface wlp0s4f1u3 --protocol udp --destination-port 53 --jump ACCEPT
> [ 1690.550111] NM[820]: <info> Executing: /usr/sbin/iptables --table filter --insert INPUT --in-interface wlp0s4f1u3 --protocol tcp --destination-port 67 --jump ACCEPT
> [ 1690.555813] NM[820]: <info> Executing: /usr/sbin/iptables --table filter --insert INPUT --in-interface wlp0s4f1u3 --protocol udp --destination-port 67 --jump ACCEPT
> [ 1690.573980] NM[820]: <info> Executing: /usr/sbin/iptables --table filter --insert FORWARD --in-interface wlp0s4f1u3 --jump REJECT
> [ 1690.577369] NM[820]: <info> Executing: /usr/sbin/iptables --table filter --insert FORWARD --out-interface wlp0s4f1u3 --jump REJECT
> [ 1690.580764] NM[820]: <info> Executing: /usr/sbin/iptables --table filter --insert FORWARD --in-interface wlp0s4f1u3 --out-interface wlp0s4f1u3 --jump ACCEPT
> [ 1690.585441] NM[820]: <info> Executing: /usr/sbin/iptables --table filter --insert FORWARD --source 10.42.0.0/255.255.255.0 --in-interface wlp0s4f1u3 --jump ACCEPT
> [ 1690.587979] NM[820]: <info> Executing: /usr/sbin/iptables --table filter --insert FORWARD --destination 10.42.0.0/255.255.255.0 --out-interface wlp0s4f1u3 --match state --state ESTABLISHED,RELATED --jump ACCEPT
> [ 1690.590492] NM[820]: <info> Executing: /usr/sbin/iptables --table nat --insert POSTROUTING --source 10.42.0.0/255.255.255.0 ! --destination 10.42.0.0/255.255.255.0 --jump MASQUERADE
> [ 1690.592764] NM[820]: <info> Starting dnsmasq...
> [ 1690.593692] NM[820]: <info> (wlp0s4f1u3): device state change: ip-config -> ip-check (reason 'none') [70 80 0]
> [ 1690.594290] NM[820]: <info> Activation (wlp0s4f1u3) Stage 5 of 5 (IPv4 Commit) complete.
> [ 1690.595395] dnsmasq[3442]: started, version 2.72 cachesize 150
> [ 1690.595629] dnsmasq[3442]: compile time options: IPv6 GNU-getopt DBus no-i18n IDN DHCP DHCPv6 no-Lua TFTP no-conntrack ipset auth DNSSEC loop-detect
> [ 1690.595822] dnsmasq-dhcp[3442]: DHCP, IP range 10.42.0.10 -- 10.42.0.254, lease time 1h
> [ 1690.596021] dnsmasq[3442]: reading /etc/resolv.conf
> [ 1690.596216] dnsmasq[3442]: using nameserver 192.168.2.1#53
> [ 1690.596793] dnsmasq[3442]: cleared cache
> [ 1690.596982] NM[820]: <info> (wlp0s4f1u3): device state change: ip-check -> secondaries (reason 'none') [80 90 0]
> [ 1690.597182] NM[820]: <info> (wlp0s4f1u3): device state change: secondaries -> activated (reason 'none') [90 100 0]
> [ 1691.068838] NM[820]: <info> Activation (wlp0s4f1u3) successful, device activated.
> [ 1698.780512] dnsmasq-dhcp[3442]: DHCPREQUEST(wlp0s4f1u3) 10.42.0.77 00:22:44:66:88:aa
> [ 1698.781136] dnsmasq-dhcp[3442]: DHCPACK(wlp0s4f1u3) 10.42.0.77 00:22:44:66:88:aa android-0123456789abcdef
>
> ~~~~~~~
>
> - dmesg
>
> [ 2.126073] usb 2-3: new high-speed USB device number 3 using ehci-pci
> [ 2.242873] usb 2-3: New USB device found, idVendor=0bda, idProduct=8171
> [ 2.242880] usb 2-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
> [ 2.242883] usb 2-3: Product: RTL8188S WLAN Adapter
> [ 2.242885] usb 2-3: Manufacturer: Manufacturer Realtek
> [ 2.242887] usb 2-3: SerialNumber: 00e04c000001
> [ 20.134415] rtlwifi: module verification failed: signature and/or required key missing - tainting kernel
> [ 20.517392] rtl8192s_common: Chip version 0x3
> [ 20.686391] rtl_usb: rx_max_size 9100, rx_urb_num 8, in_ep 3
> [ 20.687057] rtl8192su: Power Save off (module option)
> [ 20.687639] rtl8192su: FW Power Save off (module option)
> [ 20.688394] rtl8192su: Driver for Realtek RTL8192SU/RTL8191SU
> Loading firmware rtlwifi/rtl8192sufw.bin
> [ 20.689751] usbcore: registered new interface driver rtl8192su
> [ 20.850838] ieee80211 phy0: Selected rate control algorithm 'rtl_rc'
> [ 20.854551] rtl8192su 2-3:1.0 wlp0s4f1u3: renamed from wlan0
>
> - systemctl suspend
>
> [ 1679.990678] PM: Preparing system for mem sleep
> [ 1680.178832] Freezing user space processes ... (elapsed 0.048 seconds) done.
> [ 1680.226937] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
> [ 1680.228270] PM: Entering mem sleep
> [ 1680.228299] Suspending console(s) (use no_console_suspend to debug)
> [ 1682.772451] PM: suspend of devices complete after 2543.533 msecs
> [ 1682.773864] PM: late suspend of devices complete after 1.407 msecs
> [ 1682.775348] ehci-pci 0000:00:02.1: System wakeup enabled by ACPI
> [ 1682.786410] PM: noirq suspend of devices complete after 12.536 msecs
> [ 1682.787692] ACPI: Preparing to enter system sleep state S3
> [ 1682.788861] PM: Saving platform NVS memory
>
> & resume(S3)
>
> [ 1682.798859] ACPI: Low-level resume complete
> [ 1682.798924] PM: Restoring platform NVS memory
> [ 1682.844566] ACPI: Waking up from system sleep state S3
> [ 1682.855147] ehci-pci 0000:00:02.1: System wakeup disabled by ACPI
> [ 1682.856186] PM: noirq resume of devices complete after 11.457 msecs
> [ 1682.856759] PM: early resume of devices complete after 0.531 msecs
> [ 1683.074063] PM: resume of devices complete after 217.286 msecs
> [ 1683.074332] rtl8192s_common: Chip version 0x3
> [ 1683.218439] rtl_usb: rx_max_size 9100, rx_urb_num 8, in_ep 3
> [ 1683.218484] rtl8192su: Power Save off (module option)
> [ 1683.218485] rtl8192su: FW Power Save off (module option)
> [ 1683.218694] rtl8192su: Driver for Realtek RTL8192SU/RTL8191SU
> Loading firmware rtlwifi/rtl8192sufw.bin
> [ 1683.219176] ieee80211 phy1: Selected rate control algorithm 'rtl_rc'
> [ 1683.234998] PM: Finishing wakeup.
> [ 1683.235003] Restarting tasks ... done.
> [ 1683.258259] rtl8192su 2-3:1.0 wlp0s4f1u3: renamed from wlan0
> [ 1683.270928] IPv6: ADDRCONF(NETDEV_UP): wlp0s4f1u3: link is not ready
> [ 1684.238973] IPv6: ADDRCONF(NETDEV_UP): wlp0s4f1u3: link is not ready
> [ 1684.401143] r8169 0000:03:00.0 enp3s0: link up
> [ 1691.249718] IPv6: ADDRCONF(NETDEV_UP): wlp0s4f1u3: link is not ready
> [ 1691.376981] IPv6: ADDRCONF(NETDEV_CHANGE): wlp0s4f1u3: link becomes ready
>
> ~~~~~~~~~~~~~~~~~~~~
>
> http://goo.gl/3O3Tz4
>
>
> poma
>
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html



2014-10-17 17:26:36

by poma

[permalink] [raw]
Subject: Re: RTL8188SU(rtl8192su) & rtl8192sufw-ap.bin

On 15.10.2014 04:20, poma wrote:
> On 14.10.2014 22:22, Dan Williams wrote:
>> On Tue, 2014-10-14 at 02:59 +0200, poma wrote:
>>> Realtek RTL8188SU/RTL8191SU/RTL8192SU driver
>>> https://github.com/chunkeey/rtl8192su
>>> &
>>> RTL8188SU
>>>
>>
>> It looks like everything worked correctly here for AP mode, at least
>> from the NM logs. Is that correct?
>>
>> Dan
>>
>
> If you don't hit something like this
>
> [ 19.021232] rtlwifi: module verification failed: signature and/or required key missing - tainting kernel
> [ 19.304159] rtl8192s_common: Chip version 0x3
> [ 19.472156] rtl_usb: rx_max_size 9100, rx_urb_num 8, in_ep 3
> [ 19.472765] BUG: unable to handle kernel paging request at ffff8800c8f3a3cc
> [ 19.473348] IP: [<ffffffffa0501d5e>] rtl_usb_probe+0x64e/0x8f0 [rtl_usb]
> [ 19.473937] PGD 202e067 PUD 12ffff067 PMD c8f65063 PTE 80000000c8f3a161
> [ 19.474516] Oops: 0003 [#1] SMP
> [ 19.475083] Modules linked in: rtl8192su(OE+) rtl8192s_common(OE) rtl_usb(OE) rtlwifi(OE) mac80211 cfg80211 rfkill ...
> [ 19.478188] CPU: 0 PID: 470 Comm: systemd-udevd Tainted: G OE 3.17.0-301.fc21.x86_64 #1
> [ 19.479373] task: ffff8800c9313ae0 ti: ffff8800c9828000 task.ti: ffff8800c9828000
> [ 19.479962] RIP: 0010:[<ffffffffa0501d5e>] [<ffffffffa0501d5e>] rtl_usb_probe+0x64e/0x8f0 [rtl_usb]
> [ 19.480558] RSP: 0018:ffff8800c982bb38 EFLAGS: 00010246
> [ 19.481146] RAX: ffff8800c8f31a80 RBX: ffff8800c8f31a80 RCX: 0000000000000000
> [ 19.481735] RDX: ffffffffa05032e0 RSI: ffffffffa05020c8 RDI: ffff8800c8f30680
> [ 19.482317] RBP: ffff8800c982bb80 R08: ffff8800c8f36050 R09: ffff8800c8f35f18
> [ 19.482897] R10: ffff8800c8f36058 R11: 00000000000003f6 R12: ffff8800c8f31a80
> [ 19.483476] R13: ffff8800c8f30680 R14: ffff88007f53f800 R15: 0000000000000000
> [ 19.484066] FS: 00007fe3393cb880(0000) GS:ffff88012fc00000(0000) knlGS:0000000000000000
> [ 19.484662] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
> [ 19.485253] CR2: ffff8800c8f3a3cc CR3: 00000000c9ed2000 CR4: 00000000000007f0
> [ 19.485843] Stack:
> [ 19.486431] ffff8800c8f35f18 ffff8800c8f36050 ffff8800c8f36058 0000000000000000
> [ 19.487032] ffff88007f53f890 ffff88007f53f800 ffffffffa050a068 ffff8801297d3c30
> [ 19.487633] ffffffffa050a100 ffff8800c982bb90 ffffffffa0507b55 ffff8800c982bbd8
> [ 19.488233] Call Trace:
> [ 19.488835] [<ffffffffa0507b55>] rtl8192su_probe+0x15/0x20 [rtl8192su]
> [ 19.489433] [<ffffffff81524a0b>] usb_probe_interface+0x1cb/0x340
> [ 19.490022] [<ffffffff81498233>] driver_probe_device+0xa3/0x400
> [ 19.490596] [<ffffffff8149865b>] __driver_attach+0x8b/0x90
> [ 19.491171] [<ffffffff814985d0>] ? __device_attach+0x40/0x40
> [ 19.491746] [<ffffffff81495fd3>] bus_for_each_dev+0x73/0xc0
> [ 19.492303] [<ffffffff81497cce>] driver_attach+0x1e/0x20
> [ 19.492859] [<ffffffff814978a0>] bus_add_driver+0x180/0x250
> [ 19.493418] [<ffffffff81498e24>] driver_register+0x64/0xf0
> [ 19.493971] [<ffffffff81522fd2>] usb_register_driver+0x82/0x160
> [ 19.494523] [<ffffffffa036b000>] ? 0xffffffffa036b000
> [ 19.495081] [<ffffffffa036b01e>] rtl92su_driver_init+0x1e/0x1000 [rtl8192su]
> [ 19.495638] [<ffffffff81002148>] do_one_initcall+0xd8/0x210
> [ 19.496201] [<ffffffff811d1f52>] ? __vunmap+0xa2/0x100
> [ 19.496760] [<ffffffff81116c4f>] load_module+0x1ebf/0x2640
> [ 19.497320] [<ffffffff81112670>] ? store_uevent+0x70/0x70
> [ 19.497877] [<ffffffff81211f37>] ? kernel_read+0x57/0x90
> [ 19.498433] [<ffffffff81117596>] SyS_finit_module+0xa6/0xe0
> [ 19.498982] [<ffffffff81743469>] system_call_fastpath+0x16/0x1b
> [ 19.499523] Code: af 39 00 00 03 c7 80 b0 08 00 00 64 00 00 00 c6 80 b4 08 00 00 00 c6 80 b5 08 00 00 00 c6 80 b7 08 00 00 07 c6 80 b6 08 00 00 03 <c7> 80 4c 89 00 00 02 00 00 00 c7 80 50 89 00 00 ff ff ff ff c7
> [ 19.500890] RIP [<ffffffffa0501d5e>] rtl_usb_probe+0x64e/0x8f0 [rtl_usb]
> [ 19.501483] RSP <ffff8800c982bb38>
> [ 19.502064] CR2: ffff8800c8f3a3cc
> [ 19.502651] ---[ end trace a2f95d6ce906062b ]---
>
> and if you don't take into account the measured bandwidth is relatively low comparing the actual possible speed,
> see http://goo.gl/3O3Tz4 (speedof.me/m),
> you can say it is good to go.
>

BTW there is another firmware that provides full throughput, as well as the complete system crash.

https://wiki.debian.org/rtl819x#Drivers
https://packages.debian.org/firmware-realtek
https://packages.debian.org/sid/firmware-realtek
https://packages.debian.org/sid/all/firmware-realtek/download
http://ftp.us.debian.org/debian/pool/non-free/f/firmware-nonfree/firmware-realtek_0.43_all.deb


>>> - lsusb
>>>
>>> Bus 002 Device 003: ID 0bda:8171 Realtek Semiconductor Corp. RTL8188SU 802.11n WLAN Adapter
>>>
>>> ~~~~~~~~~~
>>>
>>> - lsusb -t
>>>
>>> /: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/6p, 480M
>>> ...
>>> |__ Port 3: Dev 3, If 0, Class=Vendor Specific Class, Driver=rtl8192su, 480M
>>>
>>> ~~~~~~~~~~~~~~~~~~~~~~~
>>>
>>> - ethtool -i wlp0s4f1u3
>>>
>>> driver: rtl8192su
>>> ...
>>>
>>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>>
>>> - /usr/lib/firmware/rtlwifi/rtl8192sufw.bin
>>> eq
>>> https://github.com/chunkeey/rtl8192su/raw/master/firmwares/rtl8192sufw-ap.bin
>>>
>>> ~~~~~~~~~~~~~~~~~~~~~
>>>
>>> - iwconfig wlp0s4f1u3
>>>
>>> wlp0s4f1u3 IEEE 802.11bgn Mode:Master Tx-Power=20 dBm
>>> Retry short limit:7 RTS thr=2347 B Fragment thr:off
>>> Power Management:off
>>>
>>> ~~~~~~~~~~~~~~~~~~~~~
>>>
>>> - ifconfig wlp0s4f1u3
>>>
>>> wlp0s4f1u3: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
>>> inet 10.42.0.1 netmask 255.255.255.0 broadcast 10.42.0.255
>>> inet6 fe80::201:2ff:fe03:405 prefixlen 64 scopeid 0x20<link>
>>> ether 00:01:02:03:04:05 txqueuelen 1000 (Ethernet)
>>> RX packets 77 bytes 7421 (7.2 KiB)
>>> RX errors 0 dropped 0 overruns 0 frame 0
>>> TX packets 126 bytes 27469 (26.8 KiB)
>>> TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
>>>
>>> ~~~~~~~~~~~~~~~~~~~~
>>>
>>> - iw wlp0s4f1u3 info
>>>
>>> Interface wlp0s4f1u3
>>> ifindex 5
>>> wdev 0x100000001
>>> addr 00:01:02:03:04:05
>>> ssid RTL8188SU(rtl8192su)
>>> type AP
>>> wiphy 1
>>> channel 1 (2412 MHz), width: 20 MHz, center1: 2412 MHz
>>>
>>> ~~~~~~~~~
>>>
>>> - iw list
>>>
>>> Wiphy phy1
>>> max # scan SSIDs: 4
>>> max scan IEs length: 2257 bytes
>>> RTS threshold: 2347
>>> Coverage class: 0 (up to 0m)
>>> Device supports RSN-IBSS.
>>> Supported Ciphers:
>>> * WEP40 (00-0f-ac:1)
>>> * WEP104 (00-0f-ac:5)
>>> * TKIP (00-0f-ac:2)
>>> * CCMP (00-0f-ac:4)
>>> * CMAC (00-0f-ac:6)
>>> Available Antennas: TX 0 RX 0
>>> Supported interface modes:
>>> * IBSS
>>> * managed
>>> * AP
>>> * AP/VLAN
>>> * monitor
>>> * mesh point
>>> * P2P-client
>>> * P2P-GO
>>> Band 1:
>>> Capabilities: 0x1862
>>> HT20/HT40
>>> Static SM Power Save
>>> RX HT20 SGI
>>> RX HT40 SGI
>>> No RX STBC
>>> Max AMSDU length: 7935 bytes
>>> DSSS/CCK HT40
>>> Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
>>> Minimum RX AMPDU time spacing: 16 usec (0x07)
>>> HT TX/RX MCS rate indexes supported: 0-7, 32
>>> Bitrates (non-HT):
>>> * 1.0 Mbps
>>> * 2.0 Mbps
>>> * 5.5 Mbps
>>> * 11.0 Mbps
>>> * 6.0 Mbps
>>> * 9.0 Mbps
>>> * 12.0 Mbps
>>> * 18.0 Mbps
>>> * 24.0 Mbps
>>> * 36.0 Mbps
>>> * 48.0 Mbps
>>> * 54.0 Mbps
>>> Frequencies:
>>> * 2412 MHz [1] (20.0 dBm)
>>> * 2417 MHz [2] (20.0 dBm)
>>> * 2422 MHz [3] (20.0 dBm)
>>> * 2427 MHz [4] (20.0 dBm)
>>> * 2432 MHz [5] (20.0 dBm)
>>> * 2437 MHz [6] (20.0 dBm)
>>> * 2442 MHz [7] (20.0 dBm)
>>> * 2447 MHz [8] (20.0 dBm)
>>> * 2452 MHz [9] (20.0 dBm)
>>> * 2457 MHz [10] (20.0 dBm)
>>> * 2462 MHz [11] (20.0 dBm)
>>> * 2467 MHz [12] (20.0 dBm)
>>> * 2472 MHz [13] (20.0 dBm)
>>> * 2484 MHz [14] (disabled)
>>> Supported commands:
>>> * new_interface
>>> * set_interface
>>> * new_key
>>> * start_ap
>>> * new_station
>>> * new_mpath
>>> * set_mesh_config
>>> * set_bss
>>> * authenticate
>>> * associate
>>> * deauthenticate
>>> * disassociate
>>> * join_ibss
>>> * join_mesh
>>> * set_tx_bitrate_mask
>>> * frame
>>> * frame_wait_cancel
>>> * set_wiphy_netns
>>> * set_channel
>>> * set_wds_peer
>>> * probe_client
>>> * set_noack_map
>>> * register_beacons
>>> * start_p2p_device
>>> * set_mcast_rate
>>> * Unknown command (104)
>>> * connect
>>> * disconnect
>>> Supported TX frame types:
>>> * IBSS: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
>>> * managed: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
>>> * AP: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
>>> * AP/VLAN: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
>>> * mesh point: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
>>> * P2P-client: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
>>> * P2P-GO: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
>>> * P2P-device: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
>>> Supported RX frame types:
>>> * IBSS: 0x40 0xb0 0xc0 0xd0
>>> * managed: 0x40 0xd0
>>> * AP: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
>>> * AP/VLAN: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
>>> * mesh point: 0xb0 0xc0 0xd0
>>> * P2P-client: 0x40 0xd0
>>> * P2P-GO: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
>>> * P2P-device: 0x40 0xd0
>>> software interface modes (can always be added):
>>> * AP/VLAN
>>> * monitor
>>> interface combinations are not supported
>>> HT Capability overrides:
>>> * MCS: ff ff ff ff ff ff ff ff ff ff
>>> * maximum A-MSDU length
>>> * supported channel width
>>> * short GI for 40 MHz
>>> * max A-MPDU length exponent
>>> * min MPDU start spacing
>>> Device supports TX status socket option.
>>> Device supports HT-IBSS.
>>> Device supports low priority scan.
>>> Device supports scan flush.
>>> Device supports AP scan.
>>>
>>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>>
>>> - iw wlp0s4f1u3 station dump
>>>
>>> Station 00:22:44:66:88:aa (on wlp0s4f1u3)
>>> inactive time: 15052 ms
>>> rx bytes: 36692
>>> rx packets: 349
>>> tx bytes: 67232
>>> tx packets: 282
>>> tx retries: 0
>>> tx failed: 0
>>> signal: -30 dBm
>>> signal avg: -30 dBm
>>> tx bitrate: 72.2 MBit/s MCS 7 short GI
>>> rx bitrate: 6.0 MBit/s
>>> authorized: yes
>>> authenticated: yes
>>> preamble: long
>>> WMM/WME: yes
>>> MFP: no
>>> TDLS peer: no
>>>
>>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>>
>>> - /etc/NetworkManager/system-connections/AP
>>>
>>> [connection]
>>> id=AP
>>> uuid=12345678-1234-5678-9abc-123456789abc
>>> type=wifi
>>> autoconnect=true
>>>
>>> [wifi]
>>> ssid=RTL8188SU(rtl8192su)
>>> mode=ap
>>> mac-address=00:01:02:03:04:05
>>> security=802-11-wireless-security
>>>
>>> [wifi-security]
>>> key-mgmt=wpa-psk
>>> proto=rsn
>>> pairwise=ccmp
>>> psk=passphrase
>>>
>>> [ipv4]
>>> method=shared
>>>
>>> [ipv6]
>>> method=ignore
>>>
>>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>>
>>> - journalctl NetworkManager
>>>
>>> [ 25.277724] systemd[1]: Starting Network Manager...
>>> [ 25.616088] NM[820]: <info> NetworkManager (version 0.9.10.0-5.git20140704.fc21) is starting...
>>> [ 25.616296] NM[820]: <info> Read config: /etc/NetworkManager/NetworkManager.conf and conf.d: keyfile-plugin.conf
>>> [ 25.616468] NM[820]: <info> WEXT support is enabled
>>> [ 26.111881] NM[820]: <info> Loaded plugin keyfile: (c) 2007 - 2013 Red Hat, Inc. To report bugs please use the NetworkManager mailing list.
>>> [ 26.137541] NM[820]: <info> new connection /etc/NetworkManager/system-connections/enp3s0
>>> [ 26.271517] NM[820]: <info> new connection /etc/NetworkManager/system-connections/AP
>>> [ 26.281099] NM[820]: <info> new connection /etc/NetworkManager/system-connections/MBB
>>> [ 26.296694] NM[820]: <info> monitoring kernel firmware directory '/lib/firmware'.
>>> [ 26.298418] NM[820]: <info> rfkill0: found WiFi radio killswitch (at /sys/devices/pci0000:00/0000:00:04.1/usb2/2-3/2-3:1.0/ieee80211/phy0/rfkill0) (driver rtl8192su)
>>> [ 26.298898] NM[820]: <info> WiFi hardware radio set enabled
>>> [ 26.299359] NM[820]: <info> WWAN hardware radio set enabled
>>> [ 26.301854] NM[820]: <info> Loaded device plugin: /usr/lib64/NetworkManager/libnm-device-plugin-wwan.so
>>> [ 26.302361] NM[820]: <info> Loaded device plugin: /usr/lib64/NetworkManager/libnm-device-plugin-wifi.so
>>> [ 26.302818] NM[820]: <info> WiFi enabled by radio killswitch; enabled by state file
>>> [ 26.303284] NM[820]: <info> WWAN enabled by radio killswitch; enabled by state file
>>> [ 26.303754] NM[820]: <info> WiMAX enabled by radio killswitch; enabled by state file
>>> [ 26.304255] NM[820]: <info> Networking is enabled by state file
>>> [ 26.304632] systemd[1]: Started Network Manager.
>>> [ 26.313508] NM[820]: <info> (lo): link connected
>>> [ 26.313671] NM[820]: <info> (lo): carrier is ON
>>> [ 26.313817] NM[820]: <info> (lo): new Generic device (driver: 'unknown' ifindex: 1)
>>> [ 26.313967] NM[820]: <info> (lo): exported as /org/freedesktop/NetworkManager/Devices/0
>>> [ 26.347836] NM[820]: <info> (enp3s0): carrier is OFF
>>> [ 26.365975] NM[820]: <info> (enp3s0): new Ethernet device (driver: 'r8169' ifindex: 3)
>>> [ 26.366704] NM[820]: <info> (enp3s0): exported as /org/freedesktop/NetworkManager/Devices/1
>>> [ 26.367298] NM[820]: <info> (enp3s0): device state change: unmanaged -> unavailable (reason 'managed') [10 20 2]
>>> [ 26.389929] NM[820]: <info> (enp3s0): preparing device
>>> [ 26.391212] NM[820]: <info> (wlp0s4f1u3): using nl80211 for WiFi device control
>>> [ 26.391720] NM[820]: <info> (wlp0s4f1u3): driver supports Access Point (AP) mode
>>> [ 26.392201] NM[820]: <info> (wlp0s4f1u3): new 802.11 WiFi device (driver: 'rtl8192su' ifindex: 4)
>>> [ 26.392649] NM[820]: <info> (wlp0s4f1u3): exported as /org/freedesktop/NetworkManager/Devices/2
>>> [ 26.393123] NM[820]: <info> (wlp0s4f1u3): device state change: unmanaged -> unavailable (reason 'managed') [10 20 2]
>>> [ 27.348116] NM[820]: <info> (wlp0s4f1u3): preparing device
>>> [ 27.357681] NM[820]: <info> ModemManager available in the bus
>>> [ 28.033860] NM[820]: <info> (enp3s0): link connected
>>> [ 28.035054] NM[820]: <info> (enp3s0): device state change: unavailable -> disconnected (reason 'carrier-changed') [20 30 40]
>>> [ 28.035713] NM[820]: <info> Auto-activating connection 'enp3s0'.
>>> [ 28.040332] NM[820]: <info> Activation (enp3s0) starting connection 'enp3s0'
>>> [ 28.040846] NM[820]: <info> Activation (enp3s0) Stage 1 of 5 (Device Prepare) scheduled...
>>> [ 28.041318] NM[820]: <info> Activation (enp3s0) Stage 1 of 5 (Device Prepare) started...
>>> [ 28.041776] NM[820]: <info> (enp3s0): device state change: disconnected -> prepare (reason 'none') [30 40 0]
>>> [ 28.042246] NM[820]: <info> NetworkManager state is now CONNECTING
>>> [ 28.042698] NM[820]: <info> Activation (enp3s0) Stage 2 of 5 (Device Configure) scheduled...
>>> [ 28.043182] NM[820]: <info> Activation (enp3s0) Stage 1 of 5 (Device Prepare) complete.
>>> [ 28.043634] NM[820]: <info> Activation (enp3s0) Stage 2 of 5 (Device Configure) starting...
>>> [ 28.044072] NM[820]: <info> (enp3s0): device state change: prepare -> config (reason 'none') [40 50 0]
>>> [ 28.061851] NM[820]: <info> Activation (enp3s0) Stage 2 of 5 (Device Configure) successful.
>>> [ 28.062348] NM[820]: <info> Activation (enp3s0) Stage 2 of 5 (Device Configure) complete.
>>> [ 28.325821] NM[820]: <info> wpa_supplicant started
>>> [ 28.466946] NM[820]: <info> (wlp0s4f1u3) supports 4 scan SSIDs
>>> [ 28.467471] NM[820]: <info> (wlp0s4f1u3): supplicant interface state: starting -> ready
>>> [ 28.467930] NM[820]: <info> (wlp0s4f1u3): device state change: unavailable -> disconnected (reason 'supplicant-available') [20 30 42]
>>> [ 28.468893] NM[820]: <info> (wlp0s4f1u3): supplicant interface state: ready -> disconnected
>>> [ 28.469370] NM[820]: <info> (wlp0s4f1u3) supports 4 scan SSIDs
>>> [ 28.469837] NM[820]: <info> Auto-activating connection 'AP'.
>>> [ 28.475692] NM[820]: <info> Activation (wlp0s4f1u3) starting connection 'AP'
>>> [ 28.476128] NM[820]: <info> Activation (wlp0s4f1u3) Stage 1 of 5 (Device Prepare) scheduled...
>>> [ 28.476311] NM[820]: <info> Activation (wlp0s4f1u3) Stage 1 of 5 (Device Prepare) started...
>>> [ 28.476491] NM[820]: <info> (wlp0s4f1u3): device state change: disconnected -> prepare (reason 'none') [30 40 0]
>>> [ 28.476672] NM[820]: <info> Activation (wlp0s4f1u3) Stage 2 of 5 (Device Configure) scheduled...
>>> [ 28.476852] NM[820]: <info> Activation (wlp0s4f1u3) Stage 1 of 5 (Device Prepare) complete.
>>> [ 28.477047] NM[820]: <info> Activation (wlp0s4f1u3) Stage 2 of 5 (Device Configure) starting...
>>> [ 28.477225] NM[820]: <info> (wlp0s4f1u3): device state change: prepare -> config (reason 'none') [40 50 0]
>>> [ 28.477400] NM[820]: <info> Activation (wlp0s4f1u3/wireless): connection 'AP' has security, and secrets exist. No new secrets needed.
>>> [ 28.477574] NM[820]: <info> Config: added 'ssid' value 'RTL8188SU(rtl8192su)'
>>> [ 28.477750] NM[820]: <info> Config: added 'mode' value '2'
>>> [ 28.477925] NM[820]: <info> Config: added 'frequency' value '2412'
>>> [ 28.478111] NM[820]: <info> Config: added 'key_mgmt' value 'WPA-PSK'
>>> [ 28.478286] NM[820]: <info> Config: added 'psk' value '<omitted>'
>>> [ 28.478459] NM[820]: <info> Config: added 'proto' value 'RSN'
>>> [ 28.478632] NM[820]: <info> Config: added 'pairwise' value 'CCMP'
>>> [ 28.478809] NM[820]: <info> Activation (wlp0s4f1u3) Stage 2 of 5 (Device Configure) complete.
>>> [ 28.478982] NM[820]: <info> Config: set interface ap_scan to 2
>>> [ 28.738684] NM[820]: <info> (wlp0s4f1u3): supplicant interface state: disconnected -> completed
>>> [ 28.738891] NM[820]: <info> Activation (wlp0s4f1u3/wireless) Stage 2 of 5 (Device Configure) successful. Started Wi-Fi Hotspot 'RTL8188SU(rtl8192su)'.
>>> [ 34.977083] NM[820]: <info> Activation (enp3s0) Stage 3 of 5 (IP Configure Start) scheduled.
>>> [ 34.977610] NM[820]: <info> Activation (enp3s0) Stage 3 of 5 (IP Configure Start) started...
>>> [ 34.978096] NM[820]: <info> (enp3s0): device state change: config -> ip-config (reason 'none') [50 70 0]
>>> [ 34.978554] NM[820]: <info> Activation (enp3s0) Beginning DHCPv4 transaction (timeout in 45 seconds)
>>> [ 35.304547] NM[820]: <info> dhclient started with pid 1395
>>> [ 35.305087] NM[820]: <info> Activation (enp3s0) Stage 3 of 5 (IP Configure Start) complete.
>>> [ 35.306502] NM[820]: <info> Activation (wlp0s4f1u3) Stage 3 of 5 (IP Configure Start) scheduled.
>>> [ 35.306985] NM[820]: <info> Activation (wlp0s4f1u3) Stage 3 of 5 (IP Configure Start) started...
>>> [ 35.307480] NM[820]: <info> (wlp0s4f1u3): device state change: config -> ip-config (reason 'none') [50 70 0]
>>> [ 35.307976] NM[820]: <info> Activation (wlp0s4f1u3) Stage 5 of 5 (IPv4 Configure Commit) scheduled...
>>> [ 35.308447] NM[820]: <info> Activation (wlp0s4f1u3) Stage 3 of 5 (IP Configure Start) complete.
>>> [ 35.308937] NM[820]: <info> Activation (wlp0s4f1u3) Stage 5 of 5 (IPv4 Commit) started...
>>> [ 35.490657] dhclient[1395]: Internet Systems Consortium DHCP Client 4.3.1
>>> [ 35.491211] dhclient[1395]: Copyright 2004-2014 Internet Systems Consortium.
>>> [ 35.491674] dhclient[1395]: All rights reserved.
>>> [ 35.492147] dhclient[1395]: For info, please visit https://www.isc.org/software/dhcp/
>>> [ 35.492592] dhclient[1395]:
>>> [ 35.493078] NM[820]: Internet Systems Consortium DHCP Client 4.3.1
>>> [ 35.493519] NM[820]: Copyright 2004-2014 Internet Systems Consortium.
>>> [ 35.493950] NM[820]: All rights reserved.
>>> [ 35.494211] NM[820]: For info, please visit https://www.isc.org/software/dhcp/
>>> [ 36.725988] NM[820]: <info> Executing: /usr/sbin/iptables --table filter --insert INPUT --in-interface wlp0s4f1u3 --protocol tcp --destination-port 53 --jump ACCEPT
>>> [ 36.733764] NM[820]: <info> Executing: /usr/sbin/iptables --table filter --insert INPUT --in-interface wlp0s4f1u3 --protocol udp --destination-port 53 --jump ACCEPT
>>> [ 36.752064] NM[820]: <info> Executing: /usr/sbin/iptables --table filter --insert INPUT --in-interface wlp0s4f1u3 --protocol tcp --destination-port 67 --jump ACCEPT
>>> [ 36.757195] NM[820]: <info> Executing: /usr/sbin/iptables --table filter --insert INPUT --in-interface wlp0s4f1u3 --protocol udp --destination-port 67 --jump ACCEPT
>>> [ 36.776083] NM[820]: <info> Executing: /usr/sbin/iptables --table filter --insert FORWARD --in-interface wlp0s4f1u3 --jump REJECT
>>> [ 36.781590] NM[820]: <info> Executing: /usr/sbin/iptables --table filter --insert FORWARD --out-interface wlp0s4f1u3 --jump REJECT
>>> [ 36.786875] NM[820]: <info> Executing: /usr/sbin/iptables --table filter --insert FORWARD --in-interface wlp0s4f1u3 --out-interface wlp0s4f1u3 --jump ACCEPT
>>> [ 36.789805] NM[820]: <info> Executing: /usr/sbin/iptables --table filter --insert FORWARD --source 10.42.0.0/255.255.255.0 --in-interface wlp0s4f1u3 --jump ACCEPT
>>> [ 36.792748] NM[820]: <info> Executing: /usr/sbin/iptables --table filter --insert FORWARD --destination 10.42.0.0/255.255.255.0 --out-interface wlp0s4f1u3 --match state --state ESTABLISHED,RELATED --jump ACCEPT
>>> [ 38.812843] NM[820]: <info> Executing: /usr/sbin/iptables --table nat --insert POSTROUTING --source 10.42.0.0/255.255.255.0 ! --destination 10.42.0.0/255.255.255.0 --jump MASQUERADE
>>> [ 38.816972] NM[820]: <info> Starting dnsmasq...
>>> [ 38.818556] NM[820]: <info> (wlp0s4f1u3): device state change: ip-config -> ip-check (reason 'none') [70 80 0]
>>> [ 38.818941] NM[820]: <info> Activation (wlp0s4f1u3) Stage 5 of 5 (IPv4 Commit) complete.
>>> [ 38.822707] NM[820]: <info> (enp3s0): DHCPv4 state changed nbi -> preinit
>>> [ 38.825233] NM[820]: <info> (wlp0s4f1u3): device state change: ip-check -> secondaries (reason 'none') [80 90 0]
>>> [ 38.826026] NM[820]: <info> (wlp0s4f1u3): device state change: secondaries -> activated (reason 'none') [90 100 0]
>>> [ 38.881776] dhclient[1395]: Listening on LPF/enp3s0/00:12:34:56:78:30
>>> [ 38.882317] dhclient[1395]: Sending on LPF/enp3s0/00:12:34:56:78:30
>>> [ 38.882777] dhclient[1395]: Sending on Socket/fallback
>>> [ 38.883995] dhclient[1395]: DHCPREQUEST on enp3s0 to 255.255.255.255 port 67 (xid=0x9c4e1f)
>>> [ 38.884524] dhclient[1395]: DHCPACK from 192.168.2.1 (xid=0x9c4e1f)
>>> [ 38.885027] NM[820]: Listening on LPF/enp3s0/00:12:34:56:78:30
>>> [ 38.885471] NM[820]: Sending on LPF/enp3s0/00:12:34:56:78:30
>>> [ 38.885903] NM[820]: Sending on Socket/fallback
>>> [ 38.886356] NM[820]: DHCPREQUEST on enp3s0 to 255.255.255.255 port 67 (xid=0x9c4e1f)
>>> [ 38.886787] NM[820]: DHCPACK from 192.168.2.1 (xid=0x9c4e1f)
>>> [ 39.008666] dnsmasq[1416]: started, version 2.72 cachesize 150
>>> [ 39.009255] dnsmasq[1416]: compile time options: IPv6 GNU-getopt DBus no-i18n IDN DHCP DHCPv6 no-Lua TFTP no-conntrack ipset auth DNSSEC loop-detect
>>> [ 39.009719] dnsmasq-dhcp[1416]: DHCP, IP range 10.42.0.10 -- 10.42.0.254, lease time 1h
>>> [ 39.010186] dnsmasq[1416]: reading /etc/resolv.conf
>>> [ 39.010634] dnsmasq[1416]: using nameserver 192.168.2.1#53
>>> [ 39.012048] dnsmasq[1416]: cleared cache
>>> [ 44.464210] NM[820]: <info> Activation (wlp0s4f1u3) successful, device activated.
>>> [ 44.470643] NM[820]: <info> (enp3s0): DHCPv4 state changed preinit -> reboot
>>> [ 44.472389] NM[820]: <info> address 192.168.2.35
>>> [ 44.472910] NM[820]: <info> plen 24 (255.255.255.0)
>>> [ 44.473421] NM[820]: <info> gateway 192.168.2.1
>>> [ 44.473892] NM[820]: <info> server identifier 192.168.2.1
>>> [ 44.474382] NM[820]: <info> lease time 600
>>> [ 44.474841] NM[820]: <info> nameserver '192.168.2.1'
>>> [ 44.476312] NM[820]: <info> Activation (enp3s0) Stage 5 of 5 (IPv4 Configure Commit) scheduled...
>>> [ 44.476428] NM[820]: <info> Activation (enp3s0) Stage 5 of 5 (IPv4 Commit) started...
>>> [ 44.476548] NM[820]: <info> (enp3s0): device state change: ip-config -> ip-check (reason 'none') [70 80 0]
>>> [ 44.476664] NM[820]: <info> Activation (enp3s0) Stage 5 of 5 (IPv4 Commit) complete.
>>> [ 44.476782] NM[820]: <info> (enp3s0): device state change: ip-check -> secondaries (reason 'none') [80 90 0]
>>> [ 44.476897] NM[820]: <info> (enp3s0): device state change: secondaries -> activated (reason 'none') [90 100 0]
>>> [ 44.477060] NM[820]: <info> NetworkManager state is now CONNECTED_LOCAL
>>> [ 44.671564] dhclient[1395]: bound to 192.168.2.35 -- renewal in 253 seconds.
>>> [ 44.672104] NM[820]: bound to 192.168.2.35 -- renewal in 253 seconds.
>>> [ 44.672581] NM[820]: <info> NetworkManager state is now CONNECTED_GLOBAL
>>> [ 44.673074] NM[820]: <info> Policy set 'enp3s0' (enp3s0) as default for IPv4 routing and DNS.
>>> [ 44.719277] NM[820]: <info> Activation (enp3s0) successful, device activated.
>>> [ 44.721265] NM[820]: <info> startup complete
>>> [ 95.712977] dnsmasq[1416]: reading /etc/resolv.conf
>>> [ 95.713657] dnsmasq[1416]: using nameserver 192.168.2.1#53
>>> [ 95.715255] dnsmasq[1416]: cleared cache
>>> [ 217.044170] dnsmasq-dhcp[1416]: DHCPREQUEST(wlp0s4f1u3) 10.42.0.77 00:22:44:66:88:aa
>>> [ 217.044896] dnsmasq-dhcp[1416]: DHCPACK(wlp0s4f1u3) 10.42.0.77 00:22:44:66:88:aa android-0123456789abcdef
>>> ...
>>> [ 1240.752553] dnsmasq-dhcp[1416]: DHCPREQUEST(wlp0s4f1u3) 10.42.0.77 00:22:44:66:88:aa
>>> [ 1240.813416] dnsmasq-dhcp[1416]: DHCPACK(wlp0s4f1u3) 10.42.0.77 00:22:44:66:88:aa android-0123456789abcdef
>>> ...
>>> [ 1408.894826] dnsmasq-dhcp[1416]: DHCPREQUEST(wlp0s4f1u3) 10.42.0.77 00:22:44:66:88:aa
>>> [ 1408.895557] dnsmasq-dhcp[1416]: DHCPACK(wlp0s4f1u3) 10.42.0.77 00:22:44:66:88:aa android-0123456789abcdef
>>>
>>> - systemctl suspend
>>> & resume(S3)
>>>
>>> [ 1689.325793] NM[820]: <info> (wlp0s4f1u3): device state change: activated -> unmanaged (reason 'removed') [100 10 36]
>>> [ 1689.325961] NM[820]: <info> (wlp0s4f1u3): deactivating device (reason 'removed') [36]
>>> [ 1689.326448] NM[820]: <info> radio killswitch /sys/devices/pci0000:00/0000:00:04.1/usb2/2-3/2-3:1.0/ieee80211/phy0/rfkill0 disappeared
>>> [ 1689.326580] NM[820]: <info> (wlp0s4f1u3): using nl80211 for WiFi device control
>>> [ 1689.326709] NM[820]: <info> (wlp0s4f1u3): driver supports Access Point (AP) mode
>>> [ 1689.326834] NM[820]: <info> (wlp0s4f1u3): new 802.11 WiFi device (driver: 'rtl8192su' ifindex: 5)
>>> [ 1689.326966] NM[820]: <info> (wlp0s4f1u3): exported as /org/freedesktop/NetworkManager/Devices/3
>>> [ 1689.327098] NM[820]: <info> (wlp0s4f1u3): device state change: unmanaged -> unavailable (reason 'managed') [10 20 2]
>>> [ 1689.327223] NM[820]: <info> (wlp0s4f1u3): preparing device
>>> [ 1689.328176] NM[820]: <info> rfkill1: found WiFi radio killswitch (at /sys/devices/pci0000:00/0000:00:04.1/usb2/2-3/2-3:1.0/ieee80211/phy1/rfkill1) (driver rtl8192su)
>>> [ 1689.329155] NM[820]: <info> Executing: /usr/sbin/iptables --table nat --delete POSTROUTING --source 10.42.0.0/255.255.255.0 ! --destination 10.42.0.0/255.255.255.0 --jump MASQUERADE
>>> [ 1689.331088] NM[820]: <info> Executing: /usr/sbin/iptables --table filter --delete FORWARD --destination 10.42.0.0/255.255.255.0 --out-interface wlp0s4f1u3 --match state --state ESTABLISHED,RELATED --jump ACCEPT
>>> [ 1689.334823] NM[820]: <info> Executing: /usr/sbin/iptables --table filter --delete FORWARD --source 10.42.0.0/255.255.255.0 --in-interface wlp0s4f1u3 --jump ACCEPT
>>> [ 1689.336627] NM[820]: <info> Executing: /usr/sbin/iptables --table filter --delete FORWARD --in-interface wlp0s4f1u3 --out-interface wlp0s4f1u3 --jump ACCEPT
>>> [ 1689.338561] NM[820]: <info> Executing: /usr/sbin/iptables --table filter --delete FORWARD --out-interface wlp0s4f1u3 --jump REJECT
>>> [ 1689.341038] NM[820]: <info> Executing: /usr/sbin/iptables --table filter --delete FORWARD --in-interface wlp0s4f1u3 --jump REJECT
>>> [ 1689.343125] NM[820]: <info> Executing: /usr/sbin/iptables --table filter --delete INPUT --in-interface wlp0s4f1u3 --protocol udp --destination-port 67 --jump ACCEPT
>>> [ 1689.380119] NM[820]: <info> Executing: /usr/sbin/iptables --table filter --delete INPUT --in-interface wlp0s4f1u3 --protocol tcp --destination-port 67 --jump ACCEPT
>>> [ 1689.385774] NM[820]: <info> Executing: /usr/sbin/iptables --table filter --delete INPUT --in-interface wlp0s4f1u3 --protocol udp --destination-port 53 --jump ACCEPT
>>> [ 1690.325415] NM[820]: <info> Executing: /usr/sbin/iptables --table filter --delete INPUT --in-interface wlp0s4f1u3 --protocol tcp --destination-port 53 --jump ACCEPT
>>> [ 1690.336827] NM[820]: <info> (wlp0s4f1u3) supports 4 scan SSIDs
>>> [ 1690.337091] NM[820]: <info> (wlp0s4f1u3): supplicant interface state: starting -> ready
>>> [ 1690.337297] NM[820]: <info> (wlp0s4f1u3): device state change: unavailable -> disconnected (reason 'supplicant-available') [20 30 42]
>>> [ 1690.337493] NM[820]: <info> (wlp0s4f1u3): supplicant interface state: ready -> disconnected
>>> [ 1690.337686] NM[820]: <info> (wlp0s4f1u3) supports 4 scan SSIDs
>>> [ 1690.337884] NM[820]: <info> Auto-activating connection 'AP'.
>>> [ 1690.338085] NM[820]: <info> Activation (wlp0s4f1u3) starting connection 'AP'
>>> [ 1690.338281] NM[820]: <info> Activation (wlp0s4f1u3) Stage 1 of 5 (Device Prepare) scheduled...
>>> [ 1690.338472] NM[820]: <info> Activation (wlp0s4f1u3) Stage 1 of 5 (Device Prepare) started...
>>> [ 1690.338672] NM[820]: <info> (wlp0s4f1u3): device state change: disconnected -> prepare (reason 'none') [30 40 0]
>>> [ 1690.338865] NM[820]: <info> Activation (wlp0s4f1u3) Stage 2 of 5 (Device Configure) scheduled...
>>> [ 1690.339062] NM[820]: <info> Activation (wlp0s4f1u3) Stage 1 of 5 (Device Prepare) complete.
>>> [ 1690.339257] NM[820]: <info> Activation (wlp0s4f1u3) Stage 2 of 5 (Device Configure) starting...
>>> [ 1690.339452] NM[820]: <info> (wlp0s4f1u3): device state change: prepare -> config (reason 'none') [40 50 0]
>>> [ 1690.343841] NM[820]: <info> Activation (wlp0s4f1u3/wireless): access point 'AP' has security, but secrets are required.
>>> [ 1690.344110] NM[820]: <info> (wlp0s4f1u3): device state change: config -> need-auth (reason 'none') [50 60 0]
>>> [ 1690.344304] NM[820]: <info> Activation (wlp0s4f1u3) Stage 2 of 5 (Device Configure) complete.
>>> [ 1690.344436] NM[820]: <info> Activation (wlp0s4f1u3) Stage 1 of 5 (Device Prepare) scheduled...
>>> [ 1690.348812] NM[820]: <info> Activation (wlp0s4f1u3) Stage 1 of 5 (Device Prepare) started...
>>> [ 1690.348980] NM[820]: <info> (wlp0s4f1u3): device state change: need-auth -> prepare (reason 'none') [60 40 0]
>>> [ 1690.349130] NM[820]: <info> Activation (wlp0s4f1u3) Stage 2 of 5 (Device Configure) scheduled...
>>> [ 1690.349260] NM[820]: <info> Activation (wlp0s4f1u3) Stage 1 of 5 (Device Prepare) complete.
>>> [ 1690.349389] NM[820]: <info> Activation (wlp0s4f1u3) Stage 2 of 5 (Device Configure) starting...
>>> [ 1690.349519] NM[820]: <info> (wlp0s4f1u3): device state change: prepare -> config (reason 'none') [40 50 0]
>>> [ 1690.349653] NM[820]: <info> Activation (wlp0s4f1u3/wireless): connection 'AP' has security, and secrets exist. No new secrets needed.
>>> [ 1690.349783] NM[820]: <info> Config: added 'ssid' value 'RTL8188SU(rtl8192su)'
>>> [ 1690.349911] NM[820]: <info> Config: added 'mode' value '2'
>>> [ 1690.350052] NM[820]: <info> Config: added 'frequency' value '2412'
>>> [ 1690.350186] NM[820]: <info> Config: added 'key_mgmt' value 'WPA-PSK'
>>> [ 1690.350311] NM[820]: <info> Config: added 'psk' value '<omitted>'
>>> [ 1690.350440] NM[820]: <info> Config: added 'proto' value 'RSN'
>>> [ 1690.350567] NM[820]: <info> Config: added 'pairwise' value 'CCMP'
>>> [ 1690.350692] NM[820]: <info> Activation (wlp0s4f1u3) Stage 2 of 5 (Device Configure) complete.
>>> [ 1690.355138] NM[820]: <info> Config: set interface ap_scan to 2
>>> [ 1690.439942] NM[820]: <info> (wlp0s4f1u3): supplicant interface state: disconnected -> completed
>>> [ 1690.440552] NM[820]: <info> Activation (wlp0s4f1u3/wireless) Stage 2 of 5 (Device Configure) successful. Started Wi-Fi Hotspot 'RTL8188SU(rtl8192su)'.
>>> [ 1690.496432] NM[820]: <info> Activation (wlp0s4f1u3) Stage 3 of 5 (IP Configure Start) scheduled.
>>> [ 1690.497084] NM[820]: <info> Activation (wlp0s4f1u3) Stage 3 of 5 (IP Configure Start) started...
>>> [ 1690.497617] NM[820]: <info> (wlp0s4f1u3): device state change: config -> ip-config (reason 'none') [50 70 0]
>>> [ 1690.498145] NM[820]: <info> Activation (wlp0s4f1u3) Stage 5 of 5 (IPv4 Configure Commit) scheduled...
>>> [ 1690.498669] NM[820]: <info> Activation (wlp0s4f1u3) Stage 3 of 5 (IP Configure Start) complete.
>>> [ 1690.499196] NM[820]: <info> Activation (wlp0s4f1u3) Stage 5 of 5 (IPv4 Commit) started...
>>> [ 1690.519773] NM[820]: <info> Executing: /usr/sbin/iptables --table filter --insert INPUT --in-interface wlp0s4f1u3 --protocol tcp --destination-port 53 --jump ACCEPT
>>> [ 1690.522189] NM[820]: <info> Executing: /usr/sbin/iptables --table filter --insert INPUT --in-interface wlp0s4f1u3 --protocol udp --destination-port 53 --jump ACCEPT
>>> [ 1690.550111] NM[820]: <info> Executing: /usr/sbin/iptables --table filter --insert INPUT --in-interface wlp0s4f1u3 --protocol tcp --destination-port 67 --jump ACCEPT
>>> [ 1690.555813] NM[820]: <info> Executing: /usr/sbin/iptables --table filter --insert INPUT --in-interface wlp0s4f1u3 --protocol udp --destination-port 67 --jump ACCEPT
>>> [ 1690.573980] NM[820]: <info> Executing: /usr/sbin/iptables --table filter --insert FORWARD --in-interface wlp0s4f1u3 --jump REJECT
>>> [ 1690.577369] NM[820]: <info> Executing: /usr/sbin/iptables --table filter --insert FORWARD --out-interface wlp0s4f1u3 --jump REJECT
>>> [ 1690.580764] NM[820]: <info> Executing: /usr/sbin/iptables --table filter --insert FORWARD --in-interface wlp0s4f1u3 --out-interface wlp0s4f1u3 --jump ACCEPT
>>> [ 1690.585441] NM[820]: <info> Executing: /usr/sbin/iptables --table filter --insert FORWARD --source 10.42.0.0/255.255.255.0 --in-interface wlp0s4f1u3 --jump ACCEPT
>>> [ 1690.587979] NM[820]: <info> Executing: /usr/sbin/iptables --table filter --insert FORWARD --destination 10.42.0.0/255.255.255.0 --out-interface wlp0s4f1u3 --match state --state ESTABLISHED,RELATED --jump ACCEPT
>>> [ 1690.590492] NM[820]: <info> Executing: /usr/sbin/iptables --table nat --insert POSTROUTING --source 10.42.0.0/255.255.255.0 ! --destination 10.42.0.0/255.255.255.0 --jump MASQUERADE
>>> [ 1690.592764] NM[820]: <info> Starting dnsmasq...
>>> [ 1690.593692] NM[820]: <info> (wlp0s4f1u3): device state change: ip-config -> ip-check (reason 'none') [70 80 0]
>>> [ 1690.594290] NM[820]: <info> Activation (wlp0s4f1u3) Stage 5 of 5 (IPv4 Commit) complete.
>>> [ 1690.595395] dnsmasq[3442]: started, version 2.72 cachesize 150
>>> [ 1690.595629] dnsmasq[3442]: compile time options: IPv6 GNU-getopt DBus no-i18n IDN DHCP DHCPv6 no-Lua TFTP no-conntrack ipset auth DNSSEC loop-detect
>>> [ 1690.595822] dnsmasq-dhcp[3442]: DHCP, IP range 10.42.0.10 -- 10.42.0.254, lease time 1h
>>> [ 1690.596021] dnsmasq[3442]: reading /etc/resolv.conf
>>> [ 1690.596216] dnsmasq[3442]: using nameserver 192.168.2.1#53
>>> [ 1690.596793] dnsmasq[3442]: cleared cache
>>> [ 1690.596982] NM[820]: <info> (wlp0s4f1u3): device state change: ip-check -> secondaries (reason 'none') [80 90 0]
>>> [ 1690.597182] NM[820]: <info> (wlp0s4f1u3): device state change: secondaries -> activated (reason 'none') [90 100 0]
>>> [ 1691.068838] NM[820]: <info> Activation (wlp0s4f1u3) successful, device activated.
>>> [ 1698.780512] dnsmasq-dhcp[3442]: DHCPREQUEST(wlp0s4f1u3) 10.42.0.77 00:22:44:66:88:aa
>>> [ 1698.781136] dnsmasq-dhcp[3442]: DHCPACK(wlp0s4f1u3) 10.42.0.77 00:22:44:66:88:aa android-0123456789abcdef
>>>
>>> ~~~~~~~
>>>
>>> - dmesg
>>>
>>> [ 2.126073] usb 2-3: new high-speed USB device number 3 using ehci-pci
>>> [ 2.242873] usb 2-3: New USB device found, idVendor=0bda, idProduct=8171
>>> [ 2.242880] usb 2-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
>>> [ 2.242883] usb 2-3: Product: RTL8188S WLAN Adapter
>>> [ 2.242885] usb 2-3: Manufacturer: Manufacturer Realtek
>>> [ 2.242887] usb 2-3: SerialNumber: 00e04c000001
>>> [ 20.134415] rtlwifi: module verification failed: signature and/or required key missing - tainting kernel
>>> [ 20.517392] rtl8192s_common: Chip version 0x3
>>> [ 20.686391] rtl_usb: rx_max_size 9100, rx_urb_num 8, in_ep 3
>>> [ 20.687057] rtl8192su: Power Save off (module option)
>>> [ 20.687639] rtl8192su: FW Power Save off (module option)
>>> [ 20.688394] rtl8192su: Driver for Realtek RTL8192SU/RTL8191SU
>>> Loading firmware rtlwifi/rtl8192sufw.bin
>>> [ 20.689751] usbcore: registered new interface driver rtl8192su
>>> [ 20.850838] ieee80211 phy0: Selected rate control algorithm 'rtl_rc'
>>> [ 20.854551] rtl8192su 2-3:1.0 wlp0s4f1u3: renamed from wlan0
>>>
>>> - systemctl suspend
>>>
>>> [ 1679.990678] PM: Preparing system for mem sleep
>>> [ 1680.178832] Freezing user space processes ... (elapsed 0.048 seconds) done.
>>> [ 1680.226937] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
>>> [ 1680.228270] PM: Entering mem sleep
>>> [ 1680.228299] Suspending console(s) (use no_console_suspend to debug)
>>> [ 1682.772451] PM: suspend of devices complete after 2543.533 msecs
>>> [ 1682.773864] PM: late suspend of devices complete after 1.407 msecs
>>> [ 1682.775348] ehci-pci 0000:00:02.1: System wakeup enabled by ACPI
>>> [ 1682.786410] PM: noirq suspend of devices complete after 12.536 msecs
>>> [ 1682.787692] ACPI: Preparing to enter system sleep state S3
>>> [ 1682.788861] PM: Saving platform NVS memory
>>>
>>> & resume(S3)
>>>
>>> [ 1682.798859] ACPI: Low-level resume complete
>>> [ 1682.798924] PM: Restoring platform NVS memory
>>> [ 1682.844566] ACPI: Waking up from system sleep state S3
>>> [ 1682.855147] ehci-pci 0000:00:02.1: System wakeup disabled by ACPI
>>> [ 1682.856186] PM: noirq resume of devices complete after 11.457 msecs
>>> [ 1682.856759] PM: early resume of devices complete after 0.531 msecs
>>> [ 1683.074063] PM: resume of devices complete after 217.286 msecs
>>> [ 1683.074332] rtl8192s_common: Chip version 0x3
>>> [ 1683.218439] rtl_usb: rx_max_size 9100, rx_urb_num 8, in_ep 3
>>> [ 1683.218484] rtl8192su: Power Save off (module option)
>>> [ 1683.218485] rtl8192su: FW Power Save off (module option)
>>> [ 1683.218694] rtl8192su: Driver for Realtek RTL8192SU/RTL8191SU
>>> Loading firmware rtlwifi/rtl8192sufw.bin
>>> [ 1683.219176] ieee80211 phy1: Selected rate control algorithm 'rtl_rc'
>>> [ 1683.234998] PM: Finishing wakeup.
>>> [ 1683.235003] Restarting tasks ... done.
>>> [ 1683.258259] rtl8192su 2-3:1.0 wlp0s4f1u3: renamed from wlan0
>>> [ 1683.270928] IPv6: ADDRCONF(NETDEV_UP): wlp0s4f1u3: link is not ready
>>> [ 1684.238973] IPv6: ADDRCONF(NETDEV_UP): wlp0s4f1u3: link is not ready
>>> [ 1684.401143] r8169 0000:03:00.0 enp3s0: link up
>>> [ 1691.249718] IPv6: ADDRCONF(NETDEV_UP): wlp0s4f1u3: link is not ready
>>> [ 1691.376981] IPv6: ADDRCONF(NETDEV_CHANGE): wlp0s4f1u3: link becomes ready
>>>
>>> ~~~~~~~~~~~~~~~~~~~~
>>>
>>> http://goo.gl/3O3Tz4
>>>
>>>
>>> poma
>>>
>>>
>>> --
>>> To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
>>> the body of a message to [email protected]
>>> More majordomo info at http://vger.kernel.org/majordomo-info.html
>>
>>
>