You are not logged in.

#1 2024-12-13 18:20:12

yayo_dinero
Member
Registered: 2024-10-17
Posts: 11

USB Wifi Adapter Not Turned on

(This is all from within arch linux installation, no access to ethernet)

When I do `lsusb` I see my usb adapter `bus 001 device 002: id Realtek Semiconductor Corp. RTL8191SU.11n WLAN Adapter`. I can unplug it, run it again and see it omitted from the list. `ip link` shows me Wlan0, enp2s0, and lo, the first 2 are DOWN, and setting either to UP does not work. I am using the usb adapter bc wifi card is broken on motherboard. in `iwctl`, device list returns empty


I can make the computer do stuff

Offline

#2 2024-12-13 19:59:02

yayo_dinero
Member
Registered: 2024-10-17
Posts: 11

Re: USB Wifi Adapter Not Turned on

Driver is updated as well


I can make the computer do stuff

Offline

#3 2024-12-13 20:34:53

dakota
Member
Registered: 2016-05-20
Posts: 363

Re: USB Wifi Adapter Not Turned on

You're working through the nework configuration page of the wiki, right?

1. What kernel driver is in use?
2. What kernel module is in use?
3. What command are you using to bring the interface up?
    a. What message is returned after running that command?

Cheers,


"Before Enlightenment chop wood, carry water. After Enlightenment chop wood, carry water." -- Zen proverb

Offline

#4 2024-12-13 21:49:51

yayo_dinero
Member
Registered: 2024-10-17
Posts: 11

Re: USB Wifi Adapter Not Turned on

dakota wrote:

You're working through the nework configuration page of the wiki, right?

1. What kernel driver is in use?
2. What kernel module is in use?
3. What command are you using to bring the interface up?
    a. What message is returned after running that command?

Cheers,

1. and 2. its a freashly installed arch iso
3. iwctl device list
  a.returns nothing
3.lsusb
  a.returns list of connected usb devices/ peripherals, including the usb wifi adapter dongle
With this information I know that we are detecting the dongle, but failing to be able to use it to connect to the wifi


I can make the computer do stuff

Offline

#5 2024-12-13 23:12:06

dakota
Member
Registered: 2016-05-20
Posts: 363

Re: USB Wifi Adapter Not Turned on

Sorry, I missed that this was a brand-new installation and you're still running off the iso.

I've never used wireless from the iso, but I think that even if you're using the iso you'll need to have the kernel module loaded (1), (2). (Could be wrong about this.)

I don't think...

iwctl device list 

... will bring the interface up. This is used to connect to a wireless device once the interface is already up.

Try

# ip link set interface up

... where interface is the name of your wireless interface, e.g., wlan0.

Cheers,


"Before Enlightenment chop wood, carry water. After Enlightenment chop wood, carry water." -- Zen proverb

Offline

#6 2024-12-14 00:06:33

yayo_dinero
Member
Registered: 2024-10-17
Posts: 11

Re: USB Wifi Adapter Not Turned on

Got some outputs from dmesg that might be of more help than what I can do

rootearchiso ~ # dmesg | grep wlan0
[20215.660984] r8712u 1-1:1.0 wlanO: 1 RCH=0x153f00e
[20215.674230] r8712u 1-1:1.0 mIanO: 2 RCR=0x553/00e
[20857.839340] r8712u 1-1:1.0 wlanO: 1 RCR=0x153f00e
[20857.841400] r0712u 1-1:1.0 wIanO: 2 RCH=0x553f00e

rootearchiso ~ # dmesg | grep firmware
120214.9335111 usb 1-1: r0712u: Loading firmare from "rtlwifi/rt1871Zu.bin"
120857.1062701 usb 1-1: r8712u: Loading firmuare from "rtlwifi/rt1871Zu.bin"

I've attempted to set the state to UP with

ip link set wlan0 up

already, but it persists in the DOWN state, i've even tried to set the state to DOWN, then back to UP

Last edited by yayo_dinero (2024-12-14 00:08:47)


I can make the computer do stuff

Offline

#7 2024-12-14 00:10:18

seth
Member
Registered: 2012-09-03
Posts: 61,581

Re: USB Wifi Adapter Not Turned on

The OP wrote:

`ip link` shows me Wlan0, enp2s0, and lo, the first 2 are DOWN, and setting either to UP does not work. I am using the usb adapter bc wifi card is broken on motherboard.

1. https://wiki.archlinux.org/title/Tethering will probably allow you to
a) install the system
b) don't paraphrase, https://bbs.archlinux.org/viewtopic.php?id=57855 and post the actual outputs of ip, iwctl, lsusb, etc.

2. You say the onboard NIC is "broken", does it still show up in lspci/lsusb? Ie. are we sure wlan0 is actually the RTL8191SU dongle?

3. unplug the dongle, run "dmesg -W", plug the dongle, post the entire output generated by that (you can "dmesg -W | tee /tmp/dmesg.tail" and then "cat /tmp/dmesg.tail | curl -F 'file=@-' 0x0.st")

Offline

#8 2024-12-14 00:38:30

yayo_dinero
Member
Registered: 2024-10-17
Posts: 11

Re: USB Wifi Adapter Not Turned on

seth wrote:

b) don't paraphrase, https://bbs.archlinux.org/viewtopic.php?id=57855 and post the actual outputs of ip, iwctl, lsusb, etc.

I am on my phone trying to convey all this, please bear with me

root@archiso ~ # ip a
1: 10: «LOOPBACK,UP, LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default glen 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_Ift forever preferred_Ift forever inet6 ::1/128 scope host noprefixroute valid_Ift forever preferred_lft forever
2: emp2s0: <NO-CARRIER, BROADCAST, MULTICAST, UP› mtu 1500 qdisc fa_codel state DOWN group default qlen 1000
link/ether 30:65tec:b0:46:78 brd Ffiff:ff:ff:ff:ff
8: wlan0: <NO-CARRIER, BROADCAST, MULTICAST, UP › mtu 1500 gdisc fq_codel state DON group default glen 1000 link/ether 00:87:33:16:06:69 brd ff:ff:ff:ff:ff:ff
seth wrote:

2. You say the onboard NIC is "broken", does it still show up in lspci/lsusb? Ie. are we sure wlan0 is actually the RTL8191SU dongle?

I know the onboard NIC isn't being recognized for wlan0 because when I unplug the dongle and rerun

ip a

wlan0 gets removed from the output

seth wrote:

3. unplug the dongle, run "dmesg -W", plug the dongle, post the entire output generated by that

Im going to assume you meant to rerun the command, the first instance of "dmesg -W" is with the dongle unplugged and the second is with the dongle plugged back in. Same output for both cases, exited wtih "crtl + c"

root@archiso # dmesg -W
[22595.098465] audit: type=1334 audit (1734139433.726:6694): prog-1đ=2256 op=LOAD
[22595.30663B] audit: type=1130 audit(1734139433.933:6695): pid=1 uid-0 auld-4294967295 ses-4294967295 msg-'unit-reflector com="systend" exe=" /usr/11b/systend hostname=? addr=? terninal=? res-failed'
[22595.324871] audit: type=1334 audit (1734139433.953:6696): prog-id=2256 op=UNLOAD
[22605.3483141 audit: tupe-1334 audit (1734139443.976:6697): prog-id=2257 op=LOAD
(22605.5539511 audit: type-1130 audit (1734139444.180:6698): pid-1 uid-D aula-4294967295 ses-4294967295 msg='unit-reflector cong="systend" exe="/usr/Iib/systend/systend" hostnane? adde-? terninale? res=falled*
[22605.568040] audit: type=1334 audit (1734139494.196:6699): prog-1đ=2257 op=UNLOAD
^C

130 root@archiso ~ dmesg -W
[22025.848260] audit: type=1534 audit(1734139464,426:6703); prog-1d=4259 op=LOAD
[22626.047228] audit: type-1130 audit (1734139464,673:6704): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit-reflector com="systend" exe="usr/Lib/systend/systend" hastnanes? addr=? terninal=? res=falled* (22026.0618121 audit: type=1334 audit (1734139464.693:6705); prog-id=2259 op=UNLOAD [22636.09B589] audit: type=1334 audit(1734139434.726:6706): prog-id=2260 op=LOAD
[22636.343521] audit: tupe=1130 audit(1734139974,970:6707); pid-1 ulđ=Đ auld=4294967295 ses=4294967295 msg='unit-reflector com="systend" exe="/ust/Lib/systend/systend* hastnanes? addr=? terninal-? res-falled"
[22636.361497] audit: type-1339 audit (1734139434,990:6708): prog-id=2260 op=UNLOAD
^C

Last edited by yayo_dinero (2024-12-14 00:39:40)


I can make the computer do stuff

Offline

#9 2024-12-14 00:41:15

seth
Member
Registered: 2012-09-03
Posts: 61,581

Re: USB Wifi Adapter Not Turned on

I am on my phone trying to convey all this, please bear with me

Yes, and the idea is to make your life easier and get us more accurate information by using your phone as network device.

The plan was to run "dmesg -W" *while* plugging the dongle, not before and after - that's pointless.

Offline

#10 2024-12-14 00:48:06

yayo_dinero
Member
Registered: 2024-10-17
Posts: 11

Re: USB Wifi Adapter Not Turned on

seth wrote:

The plan was to run "dmesg -W" *while* plugging the dongle, not before and after - that's pointless.

Unfamiliar with the "dmesg" command

130 root@archiso ~ # dmesg -W

[23752.8911431 usb 1-1: new high-speed USB device number 14 using xhci_hcd
[23753.029114] usb 1-1: New USB device found, idVendor=Obda, idProduct=8172, bcdDevice= 2.00
[23753.029141] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[23753.0291551 usb 1-1: Product: RTL8191S WLAN Adapter
[23753.029164] usb 1-1: Manufacturer: Manufacturer Realtek
[23753.0291741 usb 1-1: SerialNumber: 00e04c000001
[23753.0328301 r8712u: register rt18712_netdeu_ops to netdeu_ops
[23753.0328521 ush 1-1: r8712u: USB_SPEED_HIGH with 4 endpoints
[23753.0334941 usb 1-1: r8r1zu: Boot from EFUSE: Autoload OK
[23753.396794] usb 1-1: r8712u: CustomerID = 0x000a
[23753.396812] usb 1-1: r8712u: MAC Address from efuse = 00:87:33:16:06:69
[23753.396824] usb 1-1: r8712u: Loading firmware from "rtluifi/rt18712u.bin"
[23754. 096200] audit: type=1334 audit(1734140592.720:7033): prog-id=2369 op=LOAD
[23754.151063] r8712u 1-1:1.0 wlan0: 1 RCR=0x153f00e
[23754.151668] r8712u 1-1:1.0 wlan0: 2 RCR=0x553f00e

Last edited by yayo_dinero (2024-12-14 00:48:37)


I can make the computer do stuff

Offline

Board footer

Powered by FluxBB