No wlan0 on older installation
Moderator: Moderators
No wlan0 on older installation
I've had Sabayon on my PC for over a year, but I've always used Ethernet. I'm trying to get a usb wireless working on it, but so far I haven't gotten wlan0 (or whatever wireless shows up as now.) How can I query bash to bring wlan0 or it's replacement up?
-
- Sagely Hen
- Posts: 8200
- Joined: Sat Mar 10, 2007 5:40
- Location: United Kingdom
- Contact:
Re: No wlan0 on older installation
You need to supply more information. Post the output of the following commands issued as root user:
Code: Select all
lspci
lsusb
lsmod
ifconfig
Re: No wlan0 on older installation
Weird that lsusb wasn't recognized by bash. I'm using a Belkin usb F5D7050 that's been in the kernel forever, a quick search shows it being rt73 in 2006.
Code: Select all
larry-pc larry # lspci
00:00.0 Host bridge: VIA Technologies, Inc. P4M890 Host Bridge
00:00.1 Host bridge: VIA Technologies, Inc. P4M890 Host Bridge
00:00.2 Host bridge: VIA Technologies, Inc. P4M890 Host Bridge
00:00.3 Host bridge: VIA Technologies, Inc. P4M890 Host Bridge
00:00.4 Host bridge: VIA Technologies, Inc. P4M890 Host Bridge
00:00.5 PIC: VIA Technologies, Inc. P4M890 I/O APIC Interrupt Controller
00:00.6 Host bridge: VIA Technologies, Inc. P4M890 Security Device
00:00.7 Host bridge: VIA Technologies, Inc. P4M890 Host Bridge
00:01.0 PCI bridge: VIA Technologies, Inc. VT8237/VX700 PCI Bridge
00:02.0 PCI bridge: VIA Technologies, Inc. P4M890 PCI to PCI Bridge Controller
00:03.0 PCI bridge: VIA Technologies, Inc. P4M890 PCI to PCI Bridge Controller
00:0f.0 IDE interface: VIA Technologies, Inc. Device 5337 (rev 80)
00:0f.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 07)
00:10.0 USB controller: VIA Technologies, Inc. VT82xx/62xx UHCI USB 1.1 Controller (rev a0)
00:10.1 USB controller: VIA Technologies, Inc. VT82xx/62xx UHCI USB 1.1 Controller (rev a0)
00:10.2 USB controller: VIA Technologies, Inc. VT82xx/62xx UHCI USB 1.1 Controller (rev a0)
00:10.3 USB controller: VIA Technologies, Inc. VT82xx/62xx UHCI USB 1.1 Controller (rev a0)
00:10.4 USB controller: VIA Technologies, Inc. USB 2.0 (rev 86)
00:11.0 ISA bridge: VIA Technologies, Inc. VT8237A PCI to ISA Bridge
00:11.7 Host bridge: VIA Technologies, Inc. VT8237/8251 Ultra VLINK Controller
00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102/VT6103 [Rhine-II] (rev 7c)
00:13.0 Host bridge: VIA Technologies, Inc. VT8237A Host Bridge
00:13.1 PCI bridge: VIA Technologies, Inc. VT8237A PCI to PCI Bridge
01:00.0 VGA compatible controller: VIA Technologies, Inc. P4M890 [S3 UniChrome Pro] (rev 01)
80:01.0 Audio device: VIA Technologies, Inc. VT8237A/VT8251 HDA Controller (rev 10)
larry-pc larry # lsusb
bash: lsusb: command not found
larry-pc larry # lsmod
Module Size Used by
rt73usb 23304 0
ppdev 7048 0
rt2500usb 19080 0
rt2x00usb 8772 2 rt73usb,rt2500usb
rt2x00lib 34986 3 rt73usb,rt2x00usb,rt2500usb
p54usb 11648 0
p54common 27570 1 p54usb
mac80211 367343 4 p54common,rt2x00lib,rt2x00usb,p54usb
cfg80211 223908 3 mac80211,p54common,rt2x00lib
crc_ccitt 1595 1 p54common
snd_hda_codec_realtek 55848 1
snd_hda_codec_generic 51604 1 snd_hda_codec_realtek
input_leds 2816 0
coretemp 5704 0
serio_raw 4608 0
pcspkr 1920 0
snd_hda_intel 22080 4
via_rhine 21712 0
i2c_viapro 6360 0
mii 4192 1 via_rhine
shpchp 22207 0
via_agp 5760 1
floppy 56209 0
fjes 20213 0
parport_pc 27945 0
tpm_tis 10648 0
tpm 29171 1 tpm_tis
sch_fq_codel 7616 2
ipv6 335307 22
virtio_pci 14071 0
virtio_scsi 10641 0
virtio_blk 8864 0
virtio_net 22002 0
virtio_console 18660 0
virtio_balloon 5714 0
virtio_ring 11059 6 virtio_blk,virtio_net,virtio_pci,virtio_balloon,virtio_console,virtio_scsi
virtio 5511 6 virtio_blk,virtio_net,virtio_pci,virtio_balloon,virtio_console,virtio_scsi
xts 3143 0
gf128mul 5915 1 xts
aes_x86_64 7631 0
sha512_generic 5913 0
sha256_generic 10457 0
iscsi_tcp 9070 0
libiscsi_tcp 12474 1 iscsi_tcp
tg3 150285 0
ptp 10716 1 tg3
pps_core 8769 1 ptp
e1000 114501 0
fuse 79317 3
overlay 33885 0
xfs 556617 0
nfs 121455 0
lockd 57969 1 nfs
grace 1922 1 lockd
sunrpc 178698 2 nfs,lockd
jfs 163961 0
reiserfs 222884 0
ext4 371722 1
jbd2 56816 1 ext4
ext2 62239 0
mbcache 4178 3 ext2,ext4
firewire_core 49126 0
sl811_hcd 16208 0
xhci_plat_hcd 3844 0
xhci_pci 5214 0
xhci_hcd 140188 2 xhci_plat_hcd,xhci_pci
ohci_pci 4296 0
ohci_hcd 35324 1 ohci_pci
sx8 13092 0
imm 10776 0
hid_generic 1449 0
pata_pcmcia 10268 0
pcmcia 43708 1 pata_pcmcia
uhci_hcd 33299 0
snd_hda_codec 86895 3 snd_hda_codec_realtek,snd_hda_codec_generic,snd_hda_intel
snd_hda_core 45577 4 snd_hda_codec_realtek,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel
snd_hwdep 6058 1 snd_hda_codec
snd_pcm 80870 3 snd_hda_codec,snd_hda_intel,snd_hda_core
snd_timer 20199 1 snd_pcm
snd 58251 15 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_pcm,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel
ehci_pci 4591 0
ehci_hcd 62673 1 ehci_pci
parport 32638 3 imm,ppdev,parport_pc
agpgart 25942 1 via_agp
larry-pc larry # lsusb
bash: lsusb: command not found
larry-pc larry # ifconfig
enp0s18: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether 00:e0:4d:5c:1a:01 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 1 (Local Loopback)
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
larry-pc larry #
- sabayonino
- Sagely Hen
- Posts: 3396
- Joined: Sun Sep 21, 2008 1:12
- Location: Italy
- Contact:
Re: No wlan0 on older installation
"lsusb" command provided by usbutils package can help you
or more details
Code: Select all
# lsusb
Code: Select all
# lsusb -v
-
- Sagely Hen
- Posts: 8200
- Joined: Sat Mar 10, 2007 5:40
- Location: United Kingdom
- Contact:
Re: No wlan0 on older installation
Also, make sure the firmware is installed for the Belkin USB Wi-Fi adapter:
Code: Select all
equo install linux-firmware
Re: No wlan0 on older installation
usbutils got lsusb working
And installed linux-firmware. Still don't have any wlan0. I see ethernet is listed as enp0s18
Code: Select all
[email protected] ~ $ lsusb
Bus 001 Device 004: ID 050d:7050 Belkin Components F5D7050 Wireless G Adapter v1000/v2000 [Intersil ISL3887]
Bus 001 Device 003: ID 03f0:d711 Hewlett-Packard
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 0461:4d0f Primax Electronics, Ltd HP Optical Mouse
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
-
- Sagely Hen
- Posts: 8200
- Joined: Sat Mar 10, 2007 5:40
- Location: United Kingdom
- Contact:
Re: No wlan0 on older installation
From the output you posted it appears your installation has loaded three different drivers for the same Wi-Fi device, and I suspect the different drivers could be interfering with each other.
The kernel image in one of the SL installations I use is:
And the kernel source code has three different drivers for USB device 050d:7050, as shown below:
I don't have your hardware, but my guess from what you have posted plus the above output is that you need to use the p54usb driver. Therefore I suggest you blacklist the other two drivers in /etc/modprobe.d/blacklist.conf to see if that has any effect:
I don't know if the firmware for the Intersil ISL3887 chipset is included in the package linux-firmware, but you will find out by rebooting once you have blacklisted the other two modules. Use the command lsmod again to make sure the two other modules are no longer loaded.
EDIT: Regarding the firmware for the p54usb driver, according to the Linux Wireless page for the driver (https://wireless.wiki.kernel.org/en/users/drivers/p54), you need to download the firmware from the following link and copy it to the firmware directory:
http://daemonizer.de/prism54/prism54-fw ... 0.lm87.arm
The kernel image in one of the SL installations I use is:
Code: Select all
sabayon fitzcarraldo # equo search --installed linux-sabayon
╠ @@ Searching...
╠ @@ Package: sys-kernel/linux-sabayon-4.8.17 branch: 5, [__system__]
╠ Installed: version: 4.8.17 ~ tag: NoTag ~ revision: 0
╠ Slot: 4.8
╠ Homepage: https://github.com/Sabayon/kernel
╠ Description: Official Sabayon Linux Standard
╠ kernel image
╠ License: GPL-2 freedist
╠ Keywords: linux-sabayon
╠ Found: 1 entry
sabayon fitzcarraldo # uname -a
Linux sabayon.local 4.8.0-sabayon #1 SMP Mon Jan 23 17:20:20 UTC 2017 x86_64 Intel(R) Pentium(R) CPU G2030 @ 3.00GHz GenuineIntel GNU/Linux
Code: Select all
sabayon fitzcarraldo # grep -r "USB_DEVICE(0x050d, 0x7050)" /usr/src/linux-4.8.0-sabayon/drivers/net/wireless/*
/usr/src/linux-4.8.0-sabayon/drivers/net/wireless/intersil/p54/p54usb.c: {USB_DEVICE(0x050d, 0x7050)}, /* Belkin F5D7050 ver 1000 */
/usr/src/linux-4.8.0-sabayon/drivers/net/wireless/ralink/rt2x00/rt73usb.c: { USB_DEVICE(0x050d, 0x7050) }, /* FCC ID: K7SF5D7050B ver. 3.x */
/usr/src/linux-4.8.0-sabayon/drivers/net/wireless/ralink/rt2x00/rt2500usb.c: { USB_DEVICE(0x050d, 0x7050) }, /* FCC ID: K7SF5D7050A ver. 2.x */
Code: Select all
blacklist rt2500usb
blacklist rt73usb
EDIT: Regarding the firmware for the p54usb driver, according to the Linux Wireless page for the driver (https://wireless.wiki.kernel.org/en/users/drivers/p54), you need to download the firmware from the following link and copy it to the firmware directory:
http://daemonizer.de/prism54/prism54-fw ... 0.lm87.arm
Code: Select all
# wget http://daemonizer.de/prism54/prism54-fw/fw-usb/2.13.25.0.lm87.arm --no-check-certificate
# cp 2.13.25.0.lm87.arm /lib/firmware/isl3887usb
Re: No wlan0 on older installation
Downloaded firmware. Bash couldn't recognize blacklist command for some reason.
Code: Select all
bash: blacklist: command not found
- sabayonino
- Sagely Hen
- Posts: 3396
- Joined: Sun Sep 21, 2008 1:12
- Location: Italy
- Contact:
Re: No wlan0 on older installation
Fitz wrote :
"blacklist" isn't a bash command
edit that file ad put
Therefore I suggest you blacklist the other two drivers in /etc/modprobe.d/blacklist.conf to see if that has any effect:

"blacklist" isn't a bash command
edit that file ad put
Code: Select all
blacklist rt2500usb
blacklist rt73usb
Re: No wlan0 on older installation
Alright, added the 2 drivers/modules to /etc/modprobe.d/blacklist.conf . So much for my reading skills.