Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Connection problems with Android Wi-Fi hotspot

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
cassiezer0
Posts: 1
Joined: 2021-11-04 02:32

Connection problems with Android Wi-Fi hotspot

#1 Post by cassiezer0 »

Hello! I'm having trouble when connecting to an Android mobile hotspot with my -almost- fresh Debian 11 installation. This problem happens on Kali Live and Debian Live too, but not on Windows 10.

What's exactly going on? After -apparently- having established a successful connection to my Android hotspot and being able to ping...

Code: Select all

$ ping -c 2 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=114 time=163 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=114 time=65.9 ms

--- 8.8.8.8 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1001ms
rtt min/avg/max/mdev = 65.916/114.412/162.908/48.496 ms
... I try to open some network application -let's say Firefox- and network suddenly becomes unreachable:

Code: Select all

Firefox: Server not found 

Code: Select all

$ ping -c 2 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
From 192.168.43.179 icmp_seq=1 Destination Host Unreachable
From 192.168.43.179 icmp_seq=2 Destination Host Unreachable

--- 8.8.8.8 ping statistics ---
2 packets transmitted, 0 received, +2 errors, 100% packet loss, time 1007ms
pipe 2 
I'm using an old ASUS EeePC netbook with an Atheros chipset. Here I'm posting some outputs I think might be interesting but that definitely don't give me any clue about what's actually happening :(

Code: Select all

$ sudo inxi -N
Network:   Device-1: Qualcomm Atheros AR8132 Fast Ethernet driver: atl1c 
           Device-2: Broadcom BCM4313 802.11bgn Wireless Network Adapter driver: bcma-pci-bridge 

Code: Select all

$ lsmod
brcmsmac              585728  0
brcmutil               16384  1 brcmsmac
cordic                 16384  2 b43,brcmsmac
mac80211              983040  3 b43,rtl8187,brcmsmac
cfg80211              970752  4 b43,mac80211,rtl8187,brcmsmac
bcma                   69632  2 b43,brcmsmac

Code: Select all

$ sudo dmesg
[17336.411137] wlp2s0b1: send auth to b4:9d:0b:XX:XX:XX (try 1/3)
[17336.414290] wlp2s0b1: authenticated
[17336.421282] wlp2s0b1: associate with b4:9d:0b:XX:XX:XX (try 1/3)
[17336.435279] wlp2s0b1: RX AssocResp from b4:9d:0b:XX:XX:XX (capab=0x431 status=0 aid=2)
[17336.439750] brcmsmac bcma0:1: brcmsmac: brcms_ops_bss_info_changed: associated
[17336.439774] brcmsmac bcma0:1: brcms_ops_bss_info_changed: qos enabled: true (implement)
[17336.439816] wlp2s0b1: associated
[17336.518800] brcmsmac bcma0:1: wl0: brcms_c_d11hdrs_mac80211:  txop exceeded phylen 159/256 dur 1778/1504
[17336.526033] brcmsmac bcma0:1: wl0: brcms_c_d11hdrs_mac80211:  txop exceeded phylen 137/256 dur 1602/1504
[17336.528785] IPv6: ADDRCONF(NETDEV_CHANGE): wlp2s0b1: link becomes ready
[17336.716476] brcmsmac bcma0:1: brcms_ops_bss_info_changed: arp filtering: 1 addresses (implement)

Code: Select all

$ sudo ifconfig
 enp1s0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether 20:cf:30:XX:XX:XX  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

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

wlp2s0b1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.43.179  netmask 255.255.255.0  broadcast 192.168.43.255
        inet6 fe80::96f7:58bc:af86:a6b9  prefixlen 64  scopeid 0x20<link>
        ether 74:f0:6d:XX:XX:XX  txqueuelen 1000  (Ethernet)
        RX packets 3956  bytes 535586 (523.0 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 2402  bytes 264335 (258.1 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

Code: Select all

$ sudo iwconfig
wlp2s0b1  IEEE 802.11  ESSID:"Mobile"  
          Mode:Managed  Frequency:2.412 GHz  Access Point: B4:9D:0B:83:58:21   
          Bit Rate=65 Mb/s   Tx-Power=30 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=70/70  Signal level=-37 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:2  Invalid misc:21   Missed beacon:0
Any idea or suggestion on how to navigate this would be really appreciated!

Thanks in advance! <3

Post Reply