You are not logged in.
Hello, everyone !
After many a search, I finally decided to ask for help in a more personalized manner : trust me, I've tried a lot of stuff, also what's said in the wiki, and it made no difference.
I installed Arch about 1-2 months ago and since then the wifi connection worked on-and-off : most of the time it works for 5-15 minutes and then stops until I hard-reboot the machine ("reboot" doesn't help; only "poweroff" does..). Sometimes I doesn't work at all for a few days.
I've been dealing with this thanks to my trusty phone and usb-tethering, all the while reocurringly searching for a solution. I found a nice script that should grab everything you'd need for this kind of thread, "wireless-info" (https://github.com/UbuntuForums/wireless-info) which, though designed for ubuntu, still should be of help here.
Here's the output of it :
########## wireless info START ##########
Report from: 15 Jan 2018 01:35 CET +0100
Booted last: 15 Jan 2018 00:00 CET +0100
Script from: 05 Dec 2017 03:13 UTC +0000
##### release ###########################
./wireless-info: line 155: lsb_release: command not found
##### kernel ############################
Linux 4.14.12-1-ARCH #1 SMP PREEMPT Fri Jan 5 18:19:34 UTC 2018 x86_64 unknown unknown GNU/Linux
Parameters: rw, pci=nomsi, quiet
##### desktop ###########################
sed: can't read /home/rno/.dmrc: No such file or directory
Could not be determined.
##### lspci #############################
02:00.2 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller [10ec:8136] (rev 06)
Subsystem: ASUSTeK Computer Inc. RTL8101/2/6E PCI Express Fast Ethernet controller [1043:200f]
Kernel driver in use: r8169
03:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8723BE PCIe Wireless Network Adapter [10ec:b723]
Subsystem: Lite-On Communications Inc RTL8723BE PCIe Wireless Network Adapter [11ad:1723]
Kernel driver in use: rtl8723be
##### lsusb #############################
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 0bda:b721 Realtek Semiconductor Corp.
Bus 001 Device 003: ID 13d3:5a01 IMC Networks
Bus 001 Device 005: ID 04e8:6863 Samsung Electronics Co., Ltd GT-I9500 [Galaxy S4] / GT-I9250 [Galaxy Nexus] (network tethering)
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
##### PCMCIA card info ##################
##### rfkill ############################
0: hci0: Bluetooth
Soft blocked: yes
Hard blocked: no
1: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
##### lsmod #############################
rtl8723be 114688 0
btcoexist 212992 1 rtl8723be
rtl8723_common 28672 1 rtl8723be
rtl_pci 36864 1 rtl8723be
rtlwifi 102400 4 rtl_pci,btcoexist,rtl8723_common,rtl8723be
mac80211 901120 3 rtl_pci,rtlwifi,rtl8723be
asus_nb_wmi 28672 0
asus_wmi 32768 1 asus_nb_wmi
sparse_keymap 16384 1 asus_wmi
wmi_bmof 16384 0
cfg80211 733184 2 mac80211,rtlwifi
wmi 28672 2 asus_wmi,wmi_bmof
rfkill 28672 6 asus_wmi,bluetooth,cfg80211
led_class 16384 3 asus_wmi,input_leds,asus_wireless
video 45056 2 asus_wmi,i915
i8042 32768 1 asus_nb_wmi
##### interfaces ########################
sed: can't read /etc/network/interfaces: No such file or directory
##### ifconfig ##########################
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback <MAC address> brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: enp2s0f2: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN group default qlen 1000
link/ether <MAC 'enp2s0f2' [IF1]> brd <MAC address>
3: wlp3s0: <NO-CARRIER,BROADCAST,MULTICAST,DYNAMIC,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000
link/ether <MAC 'wlp3s0' [IF2]> brd <MAC address>
4: usb0: <BROADCAST,MULTICAST,DYNAMIC,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UNKNOWN group default qlen 1000
link/ether <MAC 'usb0' [IF3]> brd <MAC address>
inet 192.168.42.195/24 brd 192.168.42.255 scope global usb0
valid_lft forever preferred_lft forever
inet 192.168.42.194/24 brd 192.168.42.255 scope global secondary usb0
valid_lft forever preferred_lft forever
inet6 fe80::<IP6 'usb0' [IF3]>/64 scope link
valid_lft forever preferred_lft forever
##### iwconfig ##########################
usb0 no wireless extensions.
enp2s0f2 no wireless extensions.
lo no wireless extensions.
wlp3s0 IEEE 802.11 ESSID:off/any
Mode:Managed Access Point: Not-Associated Tx-Power=20 dBm
Retry short limit:7 RTS thr=2347 B Fragment thr:off
Power Management:off
##### route #############################
default via 192.168.42.129 dev usb0
default via 192.168.42.129 dev usb0 src 192.168.42.194 metric 204
192.168.42.0/24 dev usb0 proto kernel scope link src 192.168.42.194 metric 204
192.168.42.129 dev usb0 scope link
##### resolv.conf #######################
nameserver 192.168.42.129
##### network managers ##################
Installed:
ConnMan
Running:
root 278 1 0 01:29 ? 00:00:00 /usr/bin/connmand -n
##### NetworkManager info ###############
NetworkManager is not installed (package "network-manager").
##### NetworkManager.state ##############
cat: /var/lib/NetworkManager/NetworkManager.state: No such file or directory
##### NetworkManager.conf ###############
grep: /etc/NetworkManager/NetworkManager.conf: No such file or directory
##### NetworkManager profiles ###########
No NetworkManager profiles found.
##### Netplan config ####################
##### iw reg get ########################
global
country 00: DFS-UNSET
(2402 - 2472 @ 40), (6, 20), (N/A)
(2457 - 2482 @ 20), (6, 20), (N/A), AUTO-BW, PASSIVE-SCAN
(2474 - 2494 @ 20), (6, 20), (N/A), NO-OFDM, PASSIVE-SCAN
(5170 - 5250 @ 80), (6, 20), (N/A), AUTO-BW, PASSIVE-SCAN
(5250 - 5330 @ 80), (6, 20), (0 ms), DFS, AUTO-BW, PASSIVE-SCAN
(5490 - 5730 @ 160), (6, 20), (0 ms), DFS, PASSIVE-SCAN
(5735 - 5835 @ 80), (6, 20), (N/A), PASSIVE-SCAN
(57240 - 63720 @ 2160), (N/A, 0), (N/A)
##### iwlist channels ###################
usb0 no frequency information.
enp2s0f2 no frequency information.
lo no frequency information.
wlp3s0 13 channels in total; available frequencies :
Channel 01 : 2.412 GHz
Channel 02 : 2.417 GHz
Channel 03 : 2.422 GHz
Channel 04 : 2.427 GHz
Channel 05 : 2.432 GHz
Channel 06 : 2.437 GHz
Channel 07 : 2.442 GHz
Channel 08 : 2.447 GHz
Channel 09 : 2.452 GHz
Channel 10 : 2.457 GHz
Channel 11 : 2.462 GHz
Channel 12 : 2.467 GHz
Channel 13 : 2.472 GHz
##### iwlist scan #######################
usb0 Interface doesn't support scanning.
enp2s0f2 Interface doesn't support scanning.
lo Interface doesn't support scanning.
wlp3s0 No scan results
##### module infos ######################
[rtl8723be]
filename: /lib/modules/4.14.12-1-ARCH/kernel/drivers/net/wireless/realtek/rtlwifi/rtl8723be/rtl8723be.ko.xz
firmware: rtlwifi/rtl8723befw_36.bin
firmware: rtlwifi/rtl8723befw.bin
description: Realtek 8723BE 802.11n PCI wireless
license: GPL
author: Realtek WlanFAE <wlanfae@realtek.com>
author: PageHe <page_he@realsil.com.cn>
srcversion: 21605942C3963CD342F1A33
depends: rtlwifi,rtl8723-common,rtl_pci,btcoexist,mac80211
intree: Y
name: rtl8723be
vermagic: 4.14.12-1-ARCH SMP preempt mod_unload modversions
parm: swenc:Set to 1 for software crypto (default 0)
(bool)
parm: ips:Set to 0 to not use link power save (default 1)
(bool)
parm: swlps:Set to 1 to use SW control power save (default 0)
(bool)
parm: fwlps:Set to 1 to use FW control power save (default 1)
(bool)
parm: msi:Set to 1 to use MSI interrupts mode (default 0)
(bool)
parm: debug_level:Set debug level (0-5) (default 0) (int)
parm: debug_mask:Set debug mask (default 0) (ullong)
parm: disable_watchdog:Set to 1 to disable the watchdog (default 0)
(bool)
parm: ant_sel:Set to 1 or 2 to force antenna number (default 0)
(int)
[rtl8723_common]
filename: /lib/modules/4.14.12-1-ARCH/kernel/drivers/net/wireless/realtek/rtlwifi/rtl8723com/rtl8723-common.ko.xz
description: Realtek RTL8723AE/RTL8723BE 802.11n PCI wireless common routines
license: GPL
author: Larry Finger <Larry.Finger@lwfinger.net>
author: Realtek WlanFAE <wlanfae@realtek.com>
srcversion: D7EA94BD5D056F91DA3C87E
depends: rtlwifi
intree: Y
name: rtl8723_common
vermagic: 4.14.12-1-ARCH SMP preempt mod_unload modversions
[rtl_pci]
filename: /lib/modules/4.14.12-1-ARCH/kernel/drivers/net/wireless/realtek/rtlwifi/rtl_pci.ko.xz
description: PCI basic driver for rtlwifi
license: GPL
author: Larry Finger <Larry.FInger@lwfinger.net>
author: Realtek WlanFAE <wlanfae@realtek.com>
author: lizhaoming <chaoming_li@realsil.com.cn>
srcversion: 1484974AD686EE4962BD44A
depends: mac80211,rtlwifi
intree: Y
name: rtl_pci
vermagic: 4.14.12-1-ARCH SMP preempt mod_unload modversions
[rtlwifi]
filename: /lib/modules/4.14.12-1-ARCH/kernel/drivers/net/wireless/realtek/rtlwifi/rtlwifi.ko.xz
description: Realtek 802.11n PCI wireless core
license: GPL
author: Larry Finger <Larry.FInger@lwfinger.net>
author: Realtek WlanFAE <wlanfae@realtek.com>
author: lizhaoming <chaoming_li@realsil.com.cn>
srcversion: 9E3BB6F4B7CBAE8AAAC1DF7
depends: mac80211,cfg80211
intree: Y
name: rtlwifi
vermagic: 4.14.12-1-ARCH SMP preempt mod_unload modversions
[mac80211]
filename: /lib/modules/4.14.12-1-ARCH/kernel/net/mac80211/mac80211.ko.xz
license: GPL
description: IEEE 802.11 subsystem
srcversion: E427240664ACBE186C6AE39
depends: cfg80211
intree: Y
name: mac80211
vermagic: 4.14.12-1-ARCH SMP preempt mod_unload modversions
parm: max_nullfunc_tries:Maximum nullfunc tx tries before disconnecting (reason 4). (int)
parm: max_probe_tries:Maximum probe tries before disconnecting (reason 4). (int)
parm: beacon_loss_count:Number of beacon intervals before we decide beacon was lost. (int)
parm: probe_wait_ms:Maximum time(ms) to wait for probe response before disconnecting (reason 4). (int)
parm: ieee80211_default_rc_algo:Default rate control algorithm for mac80211 to use (charp)
[cfg80211]
filename: /lib/modules/4.14.12-1-ARCH/kernel/net/wireless/cfg80211.ko.xz
description: wireless configuration support
license: GPL
author: Johannes Berg
srcversion: CABB84F18ABE6D382C3E23D
depends: rfkill
intree: Y
name: cfg80211
vermagic: 4.14.12-1-ARCH SMP preempt mod_unload modversions
parm: bss_entries_limit:limit to number of scan BSS entries (per wiphy, default 1000) (int)
parm: ieee80211_regdom:IEEE 802.11 regulatory domain code (charp)
parm: cfg80211_disable_40mhz_24ghz:Disable 40MHz support in the 2.4GHz band (bool)
##### module parameters #################
[rtl8723be]
ant_sel: 0
debug_level: 0
debug_mask: 0
disable_watchdog: N
fwlps: N
ips: N
msi: N
swenc: N
swlps: N
[mac80211]
beacon_loss_count: 7
ieee80211_default_rc_algo: minstrel_ht
max_nullfunc_tries: 2
max_probe_tries: 5
probe_wait_ms: 500
[cfg80211]
bss_entries_limit: 1000
cfg80211_disable_40mhz_24ghz: N
ieee80211_regdom: 00
##### /etc/modules ######################
grep: /etc/modules: No such file or directory
##### modprobe options ##################
[/etc/modprobe.d/rtl8723be.conf]
options rtl8723be fwlps=N ips=N
##### rc.local ##########################
grep: /etc/rc.local: No such file or directory
##### pm-utils ##########################
find: ‘/etc/pm/*.d’: No such file or directory
##### udev rules ########################
##### dmesg #############################
[ 2.017606] [drm] Finished loading DMC firmware i915/kbl_dmc_ver1_01.bin (v1.1)
[ 2.045406] r8169 0000:02:00.2 eth0: RTL8402 at 0xffffb9c700a0d000, <MAC 'enp2s0f2' [IF1]>, XID 04000800 IRQ 16
[ 2.086032] r8169 0000:02:00.2 enp2s0f2: renamed from eth0
[ 2.162435] rtl8723be 0000:03:00.0: enabling device (0000 -> 0003)
[ 2.178445] rtl8723be: Using firmware rtlwifi/rtl8723befw_36.bin
[ 2.228803] r8169 0000:02:00.2 enp2s0f2: link down
[ 2.228903] IPv6: ADDRCONF(NETDEV_UP): enp2s0f2: link is not ready
[ 2.232226] ieee80211 phy0: Selected rate control algorithm 'rtl_rc'
[ 2.232412] rtlwifi: rtlwifi: wireless switch is on
[ 2.235387] rtl8723be 0000:03:00.0 wlp3s0: renamed from wlan0
[ 3.244607] IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready
[ 8.013434] wlp3s0: authenticate with <MAC address>
[ 8.053410] wlp3s0: send auth to <MAC address> (try 1/3)
[ 8.056309] wlp3s0: authenticated
[ 8.056703] wlp3s0: associate with <MAC address> (try 1/3)
[ 8.060926] wlp3s0: RX AssocResp from <MAC address> (capab=0x411 status=0 aid=8)
[ 8.062319] wlp3s0: associated
[ 8.149261] IPv6: ADDRCONF(NETDEV_CHANGE): wlp3s0: link becomes ready
[ 135.605737] rtlwifi: AP off, try to reconnect now
[ 135.605807] wlp3s0: Connection to AP <MAC address> lost
[ 135.688788] IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready
[ 152.401106] rndis_host 1-1:1.0 usb0: register 'rndis_host' at usb-0000:00:14.0-1, RNDIS device, <MAC 'usb0' [IF3]>
########## wireless info END ############As you can see on the dmesg, at time 135, the wifi fails, and i plug in my usb-tether at time 152.
Hoping that's all you need, thanks a lot in advance for your help, you'll be making my life a dream !
Last edited by Maltherd (2018-01-15 01:03:57)
Offline
Have looked at and/or tried some suggestions from this thread: https://bbs.archlinux.org/viewtopic.php?id=208472?
How are you starting your wireless connection? NetworkManager, ... ?
Offline
Try the suggestions from the thread twelveeighty posted.
This worked for me:
/etc/modprobe.d/rtl8723be.conf
-----------------------------------------
options rtl8723be swenc=1 fwlps=0 ips=0
rebootOffline
Have looked at and/or tried some suggestions from this thread: https://bbs.archlinux.org/viewtopic.php?id=208472?
How are you starting your wireless connection? NetworkManager, ... ?
Thanks for your answers !
I use connman as network manager.
I have seen this thread, but I haven't tried out its contents since installing connman, so here goes.
According to the thread, the ant_sel option is now available in the default driver, so I did not install anything else. I have tried all option sets, namely:
options rtl8723be fwlps=N ips=N swlps=N swenc=Y disable_watchdog=1 ant_sel=Xwith X=1 and 2, and notarobot's suggestion here.
No success unfortunately ! The connection still dies after at most 15 minutes !
Now, it seems as though "reboot" actually does suffice to restart the connection, whereas it didn't before. (But maybe it's just more random than I thought it was)
Offline