Intermittent secured public wifi, but residential OK

Questions about Wi-Fi and other network devices, file sharing, firewalls, connection sharing etc
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
nachozamora
Level 1
Level 1
Posts: 2
Joined: Thu Aug 11, 2022 10:05 pm

Intermittent secured public wifi, but residential OK

Post by nachozamora »

I'm getting intermittent service from coffeeshop wifi access points. This includes some WPA/2 secured networks as well as some that send you to a login webpage to enter a short password or simply click for agreement with terms. My network manager indicates I'm connected, but I can't load any webpages.

Notably I haven't yet had any issues with residential access points, even when they appear to be secured the same way as WPA public access points.

Here's system info from when I was connected to a network at a local shop and the connection worked:

Code: Select all

System:
  Kernel: 5.4.0-104-generic x86_64 bits: 64 compiler: gcc v: 9.3.0 
  Desktop: MATE 1.24.0 Distro: Linux Mint 20 Ulyana base: Ubuntu 20.04 focal 
Machine:
  Type: Laptop System: LENOVO product: 20F5S17W00 v: ThinkPad X260 
  serial: <filter> 
  Mobo: LENOVO model: 20F5S17W00 v: SDK0J40705 WIN serial: <filter> 
  UEFI [Legacy]: LENOVO v: R02ET52W (1.25 ) date: 12/05/2016 
Battery:
  ID-1: BAT0 charge: 11.8 Wh condition: 20.5/23.5 Wh (87%) 
  model: LGC 45N1113 status: Discharging 
  ID-2: BAT1 charge: 1.1 Wh condition: 21.0/23.5 Wh (89%) model: LGC 45N1127 
  status: Unknown 
CPU:
  Topology: Dual Core model: Intel Core i5-6300U bits: 64 type: MT MCP 
  arch: Skylake rev: 3 L2 cache: 3072 KiB 
  flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx 
  bogomips: 19999 
  Speed: 2694 MHz min/max: 400/3000 MHz Core speeds (MHz): 1: 2664 2: 2592 
  3: 2674 4: 2657 
Graphics:
  Device-1: Intel Skylake GT2 [HD Graphics 520] vendor: Lenovo driver: i915 
  v: kernel bus ID: 00:02.0 
  Display: x11 server: X.Org 1.20.13 driver: modesetting 
  unloaded: fbdev,vesa resolution: 1920x1080~60Hz 
  OpenGL: renderer: Mesa Intel HD Graphics 520 (SKL GT2) v: 4.6 Mesa 21.2.6 
  direct render: Yes 
Audio:
  Device-1: Intel Sunrise Point-LP HD Audio vendor: Lenovo 
  driver: snd_hda_intel v: kernel bus ID: 00:1f.3 
  Sound Server: ALSA v: k5.4.0-104-generic 
Network:
  Device-1: Intel Ethernet I219-LM vendor: Lenovo driver: e1000e v: 3.2.6-k 
  port: efa0 bus ID: 00:1f.6 
  IF: enp0s31f6 state: down mac: <filter> 
  Device-2: Intel Wireless 8260 driver: iwlwifi v: kernel port: efa0 
  bus ID: 04:00.0 
  IF: wlp4s0 state: up mac: <filter> 
Drives:
  Local Storage: total: 238.47 GiB used: 61.84 GiB (25.9%) 
  ID-1: /dev/sda vendor: SanDisk model: SD7TB6S256G1001 size: 238.47 GiB 
Partition:
  ID-1: / size: 57.98 GiB used: 33.41 GiB (57.6%) fs: ext4 dev: /dev/sda6 
Sensors:
  System Temperatures: cpu: 40.0 C mobo: N/A 
  Fan Speeds (RPM): cpu: 0 
Info:
  Processes: 200 Uptime: 3h 10m Memory: 15.07 GiB used: 3.41 GiB (22.6%) 
  Init: systemd runlevel: 5 Compilers: gcc: 9.4.0 Shell: bash v: 5.0.17 
  inxi: 3.0.38 

Code: Select all

1: tpacpi_bluetooth_sw: Bluetooth
	Soft blocked: yes
	Hard blocked: no
2: phy0: Wireless LAN
	Soft blocked: no
	Hard blocked: no
Here's system info from when I was connected to the same network at a local shop and the connection did not work:

Code: Select all

System:
  Kernel: 5.4.0-104-generic x86_64 bits: 64 compiler: gcc v: 9.3.0 
  Desktop: MATE 1.24.0 Distro: Linux Mint 20 Ulyana base: Ubuntu 20.04 focal 
Machine:
  Type: Laptop System: LENOVO product: 20F5S17W00 v: ThinkPad X260 
  serial: <filter> 
  Mobo: LENOVO model: 20F5S17W00 v: SDK0J40705 WIN serial: <filter> 
  UEFI [Legacy]: LENOVO v: R02ET52W (1.25 ) date: 12/05/2016 
Battery:
  ID-1: BAT0 charge: 20.4 Wh condition: 20.5/23.5 Wh (87%) 
  model: LGC 45N1113 status: Unknown 
  ID-2: BAT1 charge: 14.6 Wh condition: 20.5/23.5 Wh (87%) 
  model: LGC 45N1127 status: Discharging 
CPU:
  Topology: Dual Core model: Intel Core i5-6300U bits: 64 type: MT MCP 
  arch: Skylake rev: 3 L2 cache: 3072 KiB 
  flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx 
  bogomips: 19999 
  Speed: 1400 MHz min/max: 400/3000 MHz Core speeds (MHz): 1: 1414 2: 1441 
  3: 1401 4: 1400 
Graphics:
  Device-1: Intel Skylake GT2 [HD Graphics 520] vendor: Lenovo driver: i915 
  v: kernel bus ID: 00:02.0 
  Display: x11 server: X.Org 1.20.13 driver: modesetting 
  unloaded: fbdev,vesa resolution: 1920x1080~60Hz 
  OpenGL: renderer: Mesa Intel HD Graphics 520 (SKL GT2) v: 4.6 Mesa 21.2.6 
  direct render: Yes 
Audio:
  Device-1: Intel Sunrise Point-LP HD Audio vendor: Lenovo 
  driver: snd_hda_intel v: kernel bus ID: 00:1f.3 
  Sound Server: ALSA v: k5.4.0-104-generic 
Network:
  Device-1: Intel Ethernet I219-LM vendor: Lenovo driver: e1000e v: 3.2.6-k 
  port: efa0 bus ID: 00:1f.6 
  IF: enp0s31f6 state: down mac: <filter> 
  Device-2: Intel Wireless 8260 driver: iwlwifi v: kernel port: efa0 
  bus ID: 04:00.0 
  IF: wlp4s0 state: up mac: <filter> 
Drives:
  Local Storage: total: 238.47 GiB used: 33.23 GiB (13.9%) 
  ID-1: /dev/sda vendor: SanDisk model: SD7TB6S256G1001 size: 238.47 GiB 
Partition:
  ID-1: / size: 57.98 GiB used: 33.23 GiB (57.3%) fs: ext4 dev: /dev/sda6 
Sensors:
  System Temperatures: cpu: 43.5 C mobo: N/A 
  Fan Speeds (RPM): cpu: 0 
Info:
  Processes: 202 Uptime: 4m Memory: 15.07 GiB used: 991.8 MiB (6.4%) 
  Init: systemd runlevel: 5 Compilers: gcc: 9.4.0 Shell: bash v: 5.0.17 
  inxi: 3.0.38 

Code: Select all

0: tpacpi_bluetooth_sw: Bluetooth
	Soft blocked: no
	Hard blocked: no
1: hci0: Bluetooth
	Soft blocked: no
	Hard blocked: no
2: phy0: Wireless LAN
	Soft blocked: no
	Hard blocked: no

Finally, here's system info from when I was connected to the same network at a local shop and the connection again did not work, but slightly different settings read out:

Code: Select all

System:
  Kernel: 5.4.0-104-generic x86_64 bits: 64 compiler: gcc v: 9.3.0 
  Desktop: MATE 1.24.0 Distro: Linux Mint 20 Ulyana base: Ubuntu 20.04 focal 
Machine:
  Type: Laptop System: LENOVO product: 20F5S17W00 v: ThinkPad X260 
  serial: <filter> 
  Mobo: LENOVO model: 20F5S17W00 v: SDK0J40705 WIN serial: <filter> 
  UEFI [Legacy]: LENOVO v: R02ET52W (1.25 ) date: 12/05/2016 
Battery:
  ID-1: BAT0 charge: 20.3 Wh condition: 20.4/23.5 Wh (87%) 
  model: LGC 45N1113 status: Unknown 
  ID-2: BAT1 charge: 17.9 Wh condition: 21.3/23.5 Wh (91%) 
  model: LGC 45N1127 status: Discharging 
CPU:
  Topology: Dual Core model: Intel Core i5-6300U bits: 64 type: MT MCP 
  arch: Skylake rev: 3 L2 cache: 3072 KiB 
  flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx 
  bogomips: 19999 
  Speed: 1299 MHz min/max: 400/3000 MHz Core speeds (MHz): 1: 1200 2: 1230 
  3: 1208 4: 1201 
Graphics:
  Device-1: Intel Skylake GT2 [HD Graphics 520] vendor: Lenovo driver: i915 
  v: kernel bus ID: 00:02.0 
  Display: x11 server: X.Org 1.20.13 driver: modesetting 
  unloaded: fbdev,vesa resolution: 1920x1080~60Hz 
  OpenGL: renderer: Mesa Intel HD Graphics 520 (SKL GT2) v: 4.6 Mesa 21.2.6 
  direct render: Yes 
Audio:
  Device-1: Intel Sunrise Point-LP HD Audio vendor: Lenovo 
  driver: snd_hda_intel v: kernel bus ID: 00:1f.3 
  Sound Server: ALSA v: k5.4.0-104-generic 
Network:
  Device-1: Intel Ethernet I219-LM vendor: Lenovo driver: e1000e v: 3.2.6-k 
  port: efa0 bus ID: 00:1f.6 
  IF: enp0s31f6 state: down mac: <filter> 
  Device-2: Intel Wireless 8260 driver: iwlwifi v: kernel port: efa0 
  bus ID: 04:00.0 
  IF: wlp4s0 state: up mac: <filter> 
Drives:
  Local Storage: total: 238.47 GiB used: 34.07 GiB (14.3%) 
  ID-1: /dev/sda vendor: SanDisk model: SD7TB6S256G1001 size: 238.47 GiB 
Partition:
  ID-1: / size: 57.98 GiB used: 34.07 GiB (58.8%) fs: ext4 dev: /dev/sda6 
Sensors:
  System Temperatures: cpu: 43.0 C mobo: N/A 
  Fan Speeds (RPM): cpu: 0 
Info:
  Processes: 201 Uptime: 4m Memory: 15.07 GiB used: 736.9 MiB (4.8%) 
  Init: systemd runlevel: 5 Compilers: gcc: 9.4.0 Shell: bash v: 5.0.17 
  inxi: 3.0.38 

Code: Select all

1: tpacpi_bluetooth_sw: Bluetooth
	Soft blocked: yes
	Hard blocked: no
2: phy0: Wireless LAN
	Soft blocked: no
	Hard blocked: no

Thanks to anyone who takes a look here. I'll keep an eye on the thread.
Last edited by LockBot on Sun Feb 12, 2023 11:00 pm, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
sleeper12
Level 21
Level 21
Posts: 14609
Joined: Thu May 25, 2017 3:22 pm

Re: Intermittent secured public wifi, but residential OK

Post by sleeper12 »

Just a guess, what does this show:

Code: Select all

iwconfig
nachozamora
Level 1
Level 1
Posts: 2
Joined: Thu Aug 11, 2022 10:05 pm

Re: Intermittent secured public wifi, but residential OK

Post by nachozamora »

sleeper12 wrote: Fri Aug 12, 2022 9:54 pm Just a guess, what does this show:

Code: Select all

iwconfig
I'm on a different network that's functioning properly just now, but here's what I get. Next time I'm somewhere it's broken I'll post another iwconfig.

wlp4s0 IEEE 802.11 ESSID:"The Hive"
Mode:Managed Frequency:5.22 GHz Access Point: 60:5F:8D:E2:8E:94
Bit Rate=866.7 Mb/s Tx-Power=22 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Power Management:on
Link Quality=63/70 Signal level=-47 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:59 Missed beacon:0

lo no wireless extensions.

enp0s31f6 no wireless extensions.
sleeper12
Level 21
Level 21
Posts: 14609
Joined: Thu May 25, 2017 3:22 pm

Re: Intermittent secured public wifi, but residential OK

Post by sleeper12 »

Turn power management off:

Code: Select all

sudo sed -i 's/3/2/' /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf
Reboot
User avatar
BwingBob
Level 3
Level 3
Posts: 183
Joined: Fri Sep 03, 2021 1:43 am
Location: Texas, USA.

Re: Intermittent secured public wifi, but residential OK

Post by BwingBob »

Just a guess, your problem might be due to MAC spoofing in network manager. I am guessing that when you logon through the portal your MAC address is authorized on that network. If you MAC changes then your machine looks like a new machine to the access point. Pretty good write up here. https://blogs.gnome.org/thaller/2016/08 ... ger-1-4-0/

In network manager you are able to choose how spoofing (cloning) of your MAC address is handled. Select permanent to uses the hardware MAC address of your device. This selection needs to be made for each access point. The blog post referenced describes how to change the default selection.

Bob
Attachments
Screenshot from 2022-08-13 21-14-12.png
Pop_OS! 22.04 {Dell Inspiron 15 5510}
Linux Mint Cinnamon 21 {Minisforum UM700}
Pop_OS! Thelio Mira ;-)
We have met the enemy and he is us. - Pogo
Locked

Return to “Networking”