LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-28-2023, 09:37 AM   #1
lattimro
Member
 
Registered: Jul 2021
Distribution: SOLARIS/BSD-like, some Debian-like, some Arch-like, some GENTO-like, some RH-like, some slacky-like
Posts: 386

Rep: Reputation: Disabled
Alpine wifi


Hi Folks,

wifi suddenly failed to connect and I can't bring it up:
Code:
ip link set wlan0 up
Code:
ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN qlen 1000
    link/loopback 00:00:00:00:00:00 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: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
    link/ether 00:26:6c:3e:7f:38 brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.14/24 scope global eth0
       valid_lft forever preferred_lft forever
    inet6 fe80::226:6cff:fe3e:7f38/64 scope link 
       valid_lft forever preferred_lft forever
3: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN qlen 1000
    link/ether 76:3a:13:91:0d:fd brd ff:ff:ff:ff:ff:ff
Code:
nmcli d 
DEVICE  TYPE      STATE                   CONNECTION 
lo      loopback  connected (externally)  lo         
wlan0   wifi      unavailable             --         
eth0    ethernet  unmanaged               --
Code:
rfkill list
0: phy0: Wireless LAN
        Soft blocked: no
        Hard blocked: no
Code:
lsmod|grep rtl
rtl8192se              86016  0
rtl_pci                32768  1 rtl8192se
rtlwifi               114688  2 rtl_pci,rtl8192se
mac80211             1122304  3 rtl_pci,rtlwifi,rtl8192se
cfg80211             1159168  2 rtlwifi,mac80211
rfkill                 28672  3 rtlwifi,cfg80211
Code:
lshw -C network
  *-network                 
       description: Ethernet interface
       product: RTL810xE PCI Express Fast Ethernet controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:01:00.0
       logical name: eth0
       version: 02
       serial: 00:26:6c:3e:7f:38
       size: 100Mbit/s
       capacity: 100Mbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix vpd bus_master cap_list rom ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=6.1.62-0-lts duplex=full ip=192.168.1.14 latency=0 link=yes multicast=yes port=twisted pair speed=100Mbit/s
       resources: irq:16 ioport:3000(size=256) memory:d0410000-d0410fff memory:d0400000-d040ffff memory:d5400000-d541ffff
  *-network
       description: Wireless interface
       product: RTL8191SEvB Wireless LAN Controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:02:00.0
       logical name: wlan0
       version: 10
       serial: ee:ec:36:9c:24:43
       width: 32 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=rtl8192se driverversion=6.1.62-0-lts firmware=N/A latency=0 link=yes multicast=yes wireless=IEEE 802.11
       resources: irq:17 ioport:2000(size=256) memory:d4400000-d4403fff

Last edited by lattimro; 11-28-2023 at 10:36 AM.
 
Old 11-28-2023, 01:03 PM   #2
yvesjv
Member
 
Registered: Sep 2015
Location: Australia
Distribution: Slackware, Devuan, Freebsd
Posts: 566

Rep: Reputation: Disabled
Try the usual wifi commands to see if your ssid is being broadcasted
iwlist wlan0 scan
or
wavemon -i wlan0
 
Old 11-28-2023, 02:21 PM   #3
lattimro
Member
 
Registered: Jul 2021
Distribution: SOLARIS/BSD-like, some Debian-like, some Arch-like, some GENTO-like, some RH-like, some slacky-like
Posts: 386

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by yvesjv View Post
Try the usual wifi commands to see if your ssid is being broadcasted
iwlist wlan0 scan
or
wavemon -i wlan0
Code:
iwlist wlan0 scan|grep ESSID
                    ESSID:"VIRGIN817"
                    ESSID:"SmartRG-1e82"
                    ESSID:""
                    ESSID:"CA67B3B93027"
                    ESSID:"BELL965"
                    ESSID:"Ravenclaw WiFi"
                    ESSID:"ZyXEL24136"
                    ESSID:"ARLO_VMB_1672977596"
                    ESSID:"BELL079"
                    ESSID:"[LG_Oven]8f93"
                    ESSID:"Willmott"
                    ESSID:"COGECO-23EE0"
                    ESSID:"TRENDnet"
                    ESSID:"dlink-guest"
                    ESSID:""
                    ESSID:"TP-LINK_2ED7EC"
                    ESSID:"COGECO-29B50"
but wavemon:

Code:
wlan0 #3 (no carrier)                                                                                                               │
│mode:                                                                                                                               │
│mac: EA:3F:85:94:F8:D9                                                                                                              │
│ip4: n/a                                                                                                                            │
│ip6: n/a
also dmesg:

Code:
[   20.125732] RTL8201CP Ethernet r8169-0-100:00: attached PHY driver (mii_bus:phy_addr=r8169-0-100:00, irq=MAC)
[   20.187870] r8169 0000:01:00.0 eth0: Link is Down
[   21.737416] wlan0: authenticate with ec:43:f6:3d:03:d0
[   21.737435] wlan0: 80 MHz not supported, disabling VHT
[   21.756319] wlan0: send auth to ec:43:f6:3d:03:d0 (try 1/3)
[   21.759569] wlan0: authenticated
[   21.762856] wlan0: associate with ec:43:f6:3d:03:d0 (try 1/3)
[   21.766204] wlan0: RX AssocResp from ec:43:f6:3d:03:d0 (capab=0x411 status=0 aid=3)
[   21.767824] rtl8192se: switch case 0x5e not processed
[   21.767845] wlan0: associated
[   22.065040] r8169 0000:01:00.0 eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[   22.065064] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   26.649529] wlan0: deauthenticating from ec:43:f6:3d:03:d0 by local choice (Reason: 3=DEAUTH_LEAVING)
[   40.183634] [UFW BLOCK] IN=eth0 OUT= MAC=01:00:5e:00:00:01:ec:43:f6:3d:03:cf:08:00 SRC=192.168.1.1 DST=224.0.0.1 LEN=36 TOS=0x00 PREC=0x00 TTL=1 ID=0 DF PROTO=2

Last edited by lattimro; 11-29-2023 at 10:10 AM.
 
Old 11-29-2023, 02:04 PM   #4
yvesjv
Member
 
Registered: Sep 2015
Location: Australia
Distribution: Slackware, Devuan, Freebsd
Posts: 566

Rep: Reputation: Disabled
Question

Quote:
Originally Posted by lattimro View Post
[ 22.065040] r8169 0000:01:00.0 eth0: Link is Up - 100Mbps/Full - flow control rx/tx
Do you also have a patch lead connected to the NIC?
 
Old 11-29-2023, 07:55 PM   #5
lattimro
Member
 
Registered: Jul 2021
Distribution: SOLARIS/BSD-like, some Debian-like, some Arch-like, some GENTO-like, some RH-like, some slacky-like
Posts: 386

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by yvesjv View Post
Do you also have a patch lead connected to the NIC?
I do not know.

However I play with iwlist (totally irrelevant) and suddenly wlan0 is UP

Code:
ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN qlen 1000
    link/loopback 00:00:00:00:00:00 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: eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast state DOWN qlen 1000
    link/ether 00:26:6c:3e:7f:38 brd ff:ff:ff:ff:ff:ff
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
    link/ether c6:4e:d9:58:0b:4c brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.16/24 scope global wlan0
       valid_lft forever preferred_lft forever
and

Code:
udhcpc -i wlan0
udhcpc: started, v1.36.1
udhcpc: broadcasting discover
udhcpc: broadcasting select for 192.168.1.16, server 192.168.1.1
udhcpc: lease of 192.168.1.16 obtained from 192.168.1.1, lease time 86400
 
Old 11-30-2023, 11:20 AM   #6
yvesjv
Member
 
Registered: Sep 2015
Location: Australia
Distribution: Slackware, Devuan, Freebsd
Posts: 566

Rep: Reputation: Disabled
Noice!
 
Old 11-30-2023, 01:37 PM   #7
lattimro
Member
 
Registered: Jul 2021
Distribution: SOLARIS/BSD-like, some Debian-like, some Arch-like, some GENTO-like, some RH-like, some slacky-like
Posts: 386

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by yvesjv View Post
Noice!
How was fixed, I do not know. It reproduced and I could not brought it up with iwlist, restarting networking or network-manager. Rebooting in this last instance worked and wlan0 was up without intervention.

Thanks!
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
CUPS (ALPINE) - CUPS claiming print job completed despite printing nothing, How to debug the issue? (network printer, Alpine, Linux, Docker) vinnu543 Linux - Newbie 2 11-01-2018 03:18 PM
CUPS (ALPINE) - CUPS claiming print job completed despite printing nothing, How to debug the issue? (network printer, Alpine, Linux, Docker) vinnu543 Linux - Networking 1 11-01-2018 03:13 AM
Wifi option is there but no wifi scanning or wifi not working Aakash447 Linux - Newbie 3 06-28-2018 11:48 PM
Want to share my wifi by creating a wifi hotspot ( While staying connected to wifi)? shadyXV Linux - Desktop 4 07-20-2015 05:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:42 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration