Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to
LinuxQuestions.org , a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free.
Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please
contact us . If you need to reset your password,
click here .
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a
virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month.
Click here for more info.
11-28-2023, 09:37 AM
#1
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:
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 .
11-28-2023, 01:03 PM
#2
Member
Registered: Sep 2015
Location: Australia
Distribution: Slackware, Devuan, Freebsd
Posts: 566
Rep:
Try the usual wifi commands to see if your ssid is being broadcasted
iwlist wlan0 scan
or
wavemon -i wlan0
11-28-2023, 02:21 PM
#3
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:
Quote:
Originally Posted by
yvesjv
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 .
11-29-2023, 02:04 PM
#4
Member
Registered: Sep 2015
Location: Australia
Distribution: Slackware, Devuan, Freebsd
Posts: 566
Rep:
Quote:
Originally Posted by
lattimro
[ 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?
11-29-2023, 07:55 PM
#5
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:
Quote:
Originally Posted by
yvesjv
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
11-30-2023, 11:20 AM
#6
Member
Registered: Sep 2015
Location: Australia
Distribution: Slackware, Devuan, Freebsd
Posts: 566
Rep:
Noice!
11-30-2023, 01:37 PM
#7
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:
Quote:
Originally Posted by
yvesjv
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.
All times are GMT -5. The time now is 05:42 AM .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know .
Latest Threads
LQ News