You are not logged in.

#1 2021-06-25 12:41:00

nixIT
Member
Registered: 2010-01-13
Posts: 528

wireless network keeps dropping.

hello all,

I have a lenovo thinkpad x1 tablet, been running arch on it for a couple years, wifi works great, I can connect to every wifi signal...except my hotspot. when I connect to the hotspot (for traveling), my signal gets disconnected every 15 seconds, which makes it very hard to troubleshoot.

every other device I have, my wife's surface pro, our phones, connect and stay connected just fine, so it has something to do with linux and this hotspot.

I am not sure what to check.

the wifi hotspot is a teltonika rut240 with a sim card from verizon wireless.

I am using netctl as my network manager.

has anyone had any experience with this? what could I check to see why my network keeps dropping? would couldn't see anything on in dmesg.

any help is appreciated.

--nixit


ASRock X570 PG VELOCITA AM4 AMD X570  | AMD Ryzen 5900x | 128GB G.SKILL RipjawsV  | ASRock Radeon RX 6700 XT Challenger D

Offline

#2 2021-06-25 12:52:25

seth
Member
Registered: 2012-09-03
Posts: 51,064

Re: wireless network keeps dropping.

system journal, netctl status.
What chip/driver (lsusb/lspci - there's more than one LTPX1)?
Is the 15 seconds an estimation, an average or a clock?
Does the hotspot keep a log (that you can access)?

Typical offenders
- power saving
- scannig/mac spoofing
- you run more than one network managing daemon
- bluetooth (for 2.4GHz networks, the bands are congruent - try a different channel)

Offline

#3 2021-08-23 19:28:40

nixIT
Member
Registered: 2010-01-13
Posts: 528

Re: wireless network keeps dropping.

@seth,

thanx for the items to check, and thanx for your patience with the delay in response... here are the answers to the questions you asked:

$sudo journalctl |grep netctl >network-20210822.txt

--- contents of file for the date of test  ---
Aug 22 10:59:33 thnkpd systemd[1]: Created slice Slice /system/netctl-auto.
Aug 22 10:59:33 thnkpd systemd[1]: Starting Automatic wireless network connection using netctl profiles...
Aug 22 10:59:33 thnkpd netctl-auto[439]: Included profile 'wlp4s0-4gltehotspot'
Aug 22 10:59:33 thnkpd netctl-auto[454]: Included profile 'wlp4s0-homebase'
Aug 22 10:59:34 thnkpd systemd[1]: Started Automatic wireless network connection using netctl profiles.
Aug 22 10:59:34 thnkpd audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=netctl-auto@wlp4s0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Aug 22 11:06:26 thnkpd systemd[1]: Stopping Automatic wireless network connection using netctl profiles...
Aug 22 11:06:27 thnkpd systemd[1]: netctl-auto@wlp4s0.service: Deactivated successfully.
Aug 22 11:06:27 thnkpd systemd[1]: Stopped Automatic wireless network connection using netctl profiles.
Aug 22 11:06:27 thnkpd audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=netctl-auto@wlp4s0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Aug 22 11:06:27 thnkpd systemd[1]: netctl-auto@wlp4s0.service: Consumed 3.183s CPU time.
Aug 22 11:06:27 thnkpd systemd[1]: Removed slice Slice /system/netctl-auto.
Aug 22 11:06:27 thnkpd systemd[1]: system-netctl\x2dauto.slice: Consumed 3.183s CPU time.
Aug 22 11:17:14 thnkpd systemd[1]: Created slice Slice /system/netctl-auto.
Aug 22 11:17:14 thnkpd systemd[1]: Starting Automatic wireless network connection using netctl profiles...
Aug 22 11:17:14 thnkpd netctl-auto[429]: Included profile 'wlp4s0-4gltehotspot'
Aug 22 11:17:14 thnkpd netctl-auto[448]: Included profile 'wlp4s0-homebase'
Aug 22 11:17:15 thnkpd systemd[1]: Started Automatic wireless network connection using netctl profiles.
Aug 22 11:17:15 thnkpd audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=netctl-auto@wlp4s0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Aug 22 11:22:31 thnkpd systemd[1]: Stopping Automatic wireless network connection using netctl profiles...
Aug 22 11:22:32 thnkpd systemd[1]: netctl-auto@wlp4s0.service: Deactivated successfully.
Aug 22 11:22:32 thnkpd audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=netctl-auto@wlp4s0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Aug 22 11:22:32 thnkpd systemd[1]: Stopped Automatic wireless network connection using netctl profiles.
Aug 22 11:22:32 thnkpd systemd[1]: netctl-auto@wlp4s0.service: Consumed 1.956s CPU time.
Aug 22 11:22:32 thnkpd systemd[1]: Removed slice Slice /system/netctl-auto.
Aug 22 11:22:32 thnkpd systemd[1]: system-netctl\x2dauto.slice: Consumed 1.956s CPU time.
$ sudo lsusb
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 8087:0a2b Intel Corp. Bluetooth wireless interface
Bus 001 Device 003: ID 04ca:706b Lite-On Technology Corp. Integrated Camera
Bus 001 Device 002: ID 17ef:60b5 Lenovo ThinkPad X1 Tablet Thin Keyboard Gen 3
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
sudo lspci
00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers (rev 08)
00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 620 (rev 07)
00:04.0 Signal processing controller: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem (rev 08)
00:05.0 Multimedia controller: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Imaging Unit (rev 01)
00:08.0 System peripheral: Intel Corporation Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th/8th Gen Core Processor Gaussian Mixture Model
00:13.0 Non-VGA unclassified device: Intel Corporation Sunrise Point-LP Integrated Sensor Hub (rev 21)
00:14.0 USB controller: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller (rev 21)
00:14.2 Signal processing controller: Intel Corporation Sunrise Point-LP Thermal subsystem (rev 21)
00:14.3 Multimedia controller: Intel Corporation CSI-2 Host Controller (rev 01)
00:15.0 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #0 (rev 21)
00:15.1 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #1 (rev 21)
00:15.2 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #2 (rev 21)
00:16.0 Communication controller: Intel Corporation Sunrise Point-LP CSME HECI #1 (rev 21)
00:16.3 Serial controller: Intel Corporation Sunrise Point-LP Active Management Technology - SOL (rev 21)
00:1c.0 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #2 (rev f1)
00:1c.3 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #4 (rev f1)
00:1c.4 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #5 (rev f1)
00:1d.0 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #9 (rev f1)
00:1e.0 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO UART Controller #0 (rev 21)
00:1f.0 ISA bridge: Intel Corporation Sunrise Point LPC Controller/eSPI Controller (rev 21)
00:1f.2 Memory controller: Intel Corporation Sunrise Point-LP PMC (rev 21)
00:1f.3 Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21)
00:1f.4 SMBus: Intel Corporation Sunrise Point-LP SMBus (rev 21)
02:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS522A PCI Express Card Reader (rev 01)
04:00.0 Network controller: Intel Corporation Wireless 8265 / 8275 (rev 78)
05:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller SM981/PM981/PM983
06:00.0 PCI bridge: Intel Corporation JHL6540 Thunderbolt 3 Bridge (C step) [Alpine Ridge 4C 2016] (rev 02)
07:00.0 PCI bridge: Intel Corporation JHL6540 Thunderbolt 3 Bridge (C step) [Alpine Ridge 4C 2016] (rev 02)
07:01.0 PCI bridge: Intel Corporation JHL6540 Thunderbolt 3 Bridge (C step) [Alpine Ridge 4C 2016] (rev 02)
07:02.0 PCI bridge: Intel Corporation JHL6540 Thunderbolt 3 Bridge (C step) [Alpine Ridge 4C 2016] (rev 02)
07:04.0 PCI bridge: Intel Corporation JHL6540 Thunderbolt 3 Bridge (C step) [Alpine Ridge 4C 2016] (rev 02)
08:00.0 System peripheral: Intel Corporation JHL6540 Thunderbolt 3 NHI (C step) [Alpine Ridge 4C 2016] (rev 02)
3c:00.0 USB controller: Intel Corporation JHL6540 Thunderbolt 3 USB Controller (C step) [Alpine Ridge 4C 2016] (rev 02)

the 15 seconds is a guess, the one thing I did not do is set a stopwatch, should have.

Does the hotspot keep a log (that you can access)?

I checked the hotspot log and did not see anything out of the ordinary. I did have my wifes SP5 running windows, next to me, connected to the hotspot and it stayed connected. I even ran a ping 9.9.9.9 /t and it kept pinging, though every now and then there was a 2-3 second "request timed out" message, though that could have been normal because she never lost network connection according to the windows network manager.

the only bluetooth package that is installed is bluez-libs (dependency for pipewire), though I only migrated to pipewire about a week ago.

I only run one network manager that I know of, netcfg, and it's been working on every other wifi I've tried. going to see if I can stop by a friends office and see if i can connect.

could it be a difference of 5g (home network) and 2.4gh (4g lte hotspot)?

any info to help solve this is appreciated, as it's quite hard to troubleshoot and work on the road when your connection is dropped constantly.

I'm not sure what to look for, any ideas?

again, thanx for all the help in trying to resolve this issue.

~nixit


ASRock X570 PG VELOCITA AM4 AMD X570  | AMD Ryzen 5900x | 128GB G.SKILL RipjawsV  | ASRock Radeon RX 6700 XT Challenger D

Offline

#4 2021-08-23 21:15:34

seth
Member
Registered: 2012-09-03
Posts: 51,064

Re: wireless network keeps dropping.

Ideally, we'd see the entire journal ("systemctl status netctl", resp "netctl status" was meant as a different thing) - the grep seems to be you restarting the service?

Offline

#5 2021-08-23 22:40:19

nixIT
Member
Registered: 2010-01-13
Posts: 528

Re: wireless network keeps dropping.

@seth,

the grep is showing the service restarting though I am not manually restarting the service, it keeps starting and stopping automatically.

as for the journal, if I do sudo journalctl, that is going to output the entire journal, is that what you are asking for? 

I am using the following to start/enable my network:

sudo systemctl enable netctl-auto@wlp4s0.service

I have 2 profiles active, my homebase and lte profiles. I am pretty sure I've tried this with the auto disabled, and just enabling the specific profile, and same thing would happen...

thank you again for your help.

~nixit


ASRock X570 PG VELOCITA AM4 AMD X570  | AMD Ryzen 5900x | 128GB G.SKILL RipjawsV  | ASRock Radeon RX 6700 XT Challenger D

Offline

#6 2021-08-23 22:52:05

seth
Member
Registered: 2012-09-03
Posts: 51,064

Re: wireless network keeps dropping.

is that what you are asking for?

Yup, context matters.
You can pipe it into ix.io,

sudo journalctl -b | curl -F 'f:1=<-' ix.io

Offline

Board footer

Powered by FluxBB