Compiled new kernel; still no WiFi...

You have a problem with Salix? Post here and we'll do what we can to help.
Post Reply
User avatar
Megamieuwsel
Posts: 5
Joined: 27. Jan 2015, 19:06

Compiled new kernel; still no WiFi...

Post by Megamieuwsel »

So...
I got my new iron: a HP Pavilion 17-f237nd and installed Salix 14.1 on it.
And, as expected, I got no WiFi as the Wireless adapter (a realtek RTL8723BE) is not supprted in the shipped kernel.(Needs at least the 3.15 kernel)
So I compiled the 3.18.5 kernel, using the old config-file.

Still no wireles, but least now the system actually sees the Wireles nic is there:

Code: Select all

00:18.5 Host bridge: AMD [Advanced Micro Devices, Inc.] Device 1585
02:00.0 Network controller: Realtek Semiconductor Co., Ltd. Device b723
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 07)
04:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5229 PCI Express Card Reader (rev 01)
lsmod gives me:

Code: Select all

Module                  Size  Used by
usb_storage            48468  1 
rfcomm                 33541  8 
ipv6                  308619  20 
bnep                   10644  2 
cpufreq_ondemand        8781  4 
lp                      9819  0 
ppdev                   5830  0 
parport_pc             19268  0 
parport                30165  3 lp,ppdev,parport_pc
uvcvideo               72853  0 
videobuf2_vmalloc       2944  1 uvcvideo
videobuf2_memops        1911  1 videobuf2_vmalloc
videobuf2_core         35595  1 uvcvideo
v4l2_common             4090  1 videobuf2_core
videodev              126288  3 uvcvideo,v4l2_common,videobuf2_core
btusb                  22884  0 
bluetooth             291045  24 bnep,btusb,rfcomm
fuse                   79634  3 
hid_generic             1145  0 
usbhid                 36978  0 
hid                    95976  2 hid_generic,usbhid
snd_hda_codec_realtek    55413  1 
snd_hda_codec_generic    52916  1 snd_hda_codec_realtek
snd_hda_codec_hdmi     38255  1 
snd_hda_intel          22091  2 
snd_hda_controller     20650  1 snd_hda_intel
snd_hda_codec          97171  5 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_intel,snd_hda_controller
snd_hwdep               6484  1 snd_hda_codec
joydev                  9623  0 
snd_pcm                81425  4 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_hda_controller
rtsx_pci_sdmmc         10145  0 
rtsx_pci_ms             5298  0 
mmc_core               92310  1 rtsx_pci_sdmmc
memstick                6800  1 rtsx_pci_ms
acpi_cpufreq            7058  0 
hp_wmi                  7038  0 
sparse_keymap           3106  1 hp_wmi
rfkill                 15571  3 hp_wmi,bluetooth
kvm                   396877  0 
snd_timer              18742  1 snd_pcm
crc32_pclmul            2851  0 
crc32c_intel           13025  0 
ghash_clmulni_intel     4258  0 
hp_accel               17174  0 
lis3lv02d              11147  1 hp_accel
input_polldev           3662  1 lis3lv02d
rtsx_pci               28071  2 rtsx_pci_ms,rtsx_pci_sdmmc
i2c_piix4               8720  0 
r8169                  70908  0 
mii                     4019  1 r8169
processor              23907  5 acpi_cpufreq
radeon               1493152  0 
ttm                    71004  1 radeon
drm_kms_helper         70684  1 radeon
drm                   248519  3 ttm,drm_kms_helper,radeon
agpgart                27296  2 drm,ttm
tpm_tis                 8262  0 
i2c_algo_bit            5351  1 radeon
i2c_core               35408  7 drm,i2c_piix4,drm_kms_helper,i2c_algo_bit,v4l2_common,radeon,videodev
psmouse                91870  0 
evdev                  10325  19 
serio_raw               4585  0 
microcode              14876  0 
snd                    59196  11 snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel
xhci_pci                3699  0 
ehci_pci                3592  0 
xhci_hcd              105680  1 xhci_pci
ehci_hcd               43294  1 ehci_pci
thermal                 8839  0 
video                  12766  0 
tpm                    22671  1 tpm_tis
thermal_sys            26243  3 video,thermal,processor
soundcore               5226  2 snd,snd_hda_codec
wmi                     7987  1 hp_wmi
k10temp                 2948  0 
fam15h_power            2686  0 
battery                13370  0 
button                  4644  0 
ac                      4525  0 
hwmon                   3026  4 fam15h_power,k10temp,radeon,thermal_sys
loop                   19051  0 
and this is what I get from ifconfig:

Code: Select all

Module                  Size  Used by
usb_storage            48468  1 
rfcomm                 33541  8 
ipv6                  308619  20 
bnep                   10644  2 
cpufreq_ondemand        8781  4 
lp                      9819  0 
ppdev                   5830  0 
parport_pc             19268  0 
parport                30165  3 lp,ppdev,parport_pc
uvcvideo               72853  0 
videobuf2_vmalloc       2944  1 uvcvideo
videobuf2_memops        1911  1 videobuf2_vmalloc
videobuf2_core         35595  1 uvcvideo
v4l2_common             4090  1 videobuf2_core
videodev              126288  3 uvcvideo,v4l2_common,videobuf2_core
btusb                  22884  0 
bluetooth             291045  24 bnep,btusb,rfcomm
fuse                   79634  3 
hid_generic             1145  0 
usbhid                 36978  0 
hid                    95976  2 hid_generic,usbhid
snd_hda_codec_realtek    55413  1 
snd_hda_codec_generic    52916  1 snd_hda_codec_realtek
snd_hda_codec_hdmi     38255  1 
snd_hda_intel          22091  2 
snd_hda_controller     20650  1 snd_hda_intel
snd_hda_codec          97171  5 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_intel,snd_hda_controller
snd_hwdep               6484  1 snd_hda_codec
joydev                  9623  0 
snd_pcm                81425  4 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_hda_controller
rtsx_pci_sdmmc         10145  0 
rtsx_pci_ms             5298  0 
mmc_core               92310  1 rtsx_pci_sdmmc
memstick                6800  1 rtsx_pci_ms
acpi_cpufreq            7058  0 
hp_wmi                  7038  0 
sparse_keymap           3106  1 hp_wmi
rfkill                 15571  3 hp_wmi,bluetooth
kvm                   396877  0 
snd_timer              18742  1 snd_pcm
crc32_pclmul            2851  0 
crc32c_intel           13025  0 
ghash_clmulni_intel     4258  0 
hp_accel               17174  0 
lis3lv02d              11147  1 hp_accel
input_polldev           3662  1 lis3lv02d
rtsx_pci               28071  2 rtsx_pci_ms,rtsx_pci_sdmmc
i2c_piix4               8720  0 
r8169                  70908  0 
mii                     4019  1 r8169
processor              23907  5 acpi_cpufreq
radeon               1493152  0 
ttm                    71004  1 radeon
drm_kms_helper         70684  1 radeon
drm                   248519  3 ttm,drm_kms_helper,radeon
agpgart                27296  2 drm,ttm
tpm_tis                 8262  0 
i2c_algo_bit            5351  1 radeon
i2c_core               35408  7 drm,i2c_piix4,drm_kms_helper,i2c_algo_bit,v4l2_common,radeon,videodev
psmouse                91870  0 
evdev                  10325  19 
serio_raw               4585  0 
microcode              14876  0 
snd                    59196  11 snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel
xhci_pci                3699  0 
ehci_pci                3592  0 
xhci_hcd              105680  1 xhci_pci
ehci_hcd               43294  1 ehci_pci
thermal                 8839  0 
video                  12766  0 
tpm                    22671  1 tpm_tis
thermal_sys            26243  3 video,thermal,processor
soundcore               5226  2 snd,snd_hda_codec
wmi                     7987  1 hp_wmi
k10temp                 2948  0 
fam15h_power            2686  0 
battery                13370  0 
button                  4644  0 
ac                      4525  0 
hwmon                   3026  4 fam15h_power,k10temp,radeon,thermal_sys
loop                   19051  0 
ifconfig gives me:

Code: Select all

eth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether 38:63:bb:ab:af:cb  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 0  (Local Loopback)
        RX packets 240  bytes 19200 (18.7 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 240  bytes 19200 (18.7 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
Indeed: No show of "wlan0"

"ifconfig -a wlan0" gives me:

Code: Select all

wlan0: error fetching interface information: Device not found
Apparently I'm missing something and any clear pointers/outright step-by-step-solution would be highly appreciated.

Btw.- Tried the Realtek-site itself, but the only referrence to that adapter I got from there was a press-release...
<crappy sig>
User avatar
gapan
Salix Wizard
Posts: 6361
Joined: 6. Jun 2009, 17:40

Re: Compiled new kernel; still no WiFi...

Post by gapan »

Megamieuwsel wrote:So I compiled the 3.18.5 kernel, using the old config-file.
Just using the old config file will simply not work. You need to at least run:

Code: Select all

make oldconfig
and enable the new module you need.
Image
Image
User avatar
Megamieuwsel
Posts: 5
Joined: 27. Jan 2015, 19:06

Re: Compiled new kernel; still no WiFi...

Post by Megamieuwsel »

Ow...
OK.
That'll be for tomorrow then.

Btw- I don't know who's weaving the scepter over the Wiki-howto, but could that one about kernel-compiling be updated to take that blaste UEFI into account?
Drove me nuts when I couldn't find lilo.conf...
<crappy sig>
User avatar
Megamieuwsel
Posts: 5
Joined: 27. Jan 2015, 19:06

Re: Compiled new kernel; still no WiFi...

Post by Megamieuwsel »

Okies!
Logging in from my new rig.

Note: When following the howto in the WiKi AND having a UEFI-enabled system one should'nt edit /etc/lilo.conf, but rather /boot/efi/EFI/Salix/elilo.conf

Might be worth an edit in that howto...

That qualifies this thread as "[SOLVED]" methinks.
:D
<crappy sig>
Post Reply