WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Wifi Setup on a HP Laptop running TinyCore 11.1 (64 bit)  (Read 25371 times)

Offline RYTCL

  • Jr. Member
  • **
  • Posts: 55
Re: Wifi Setup on a HP Laptop running TinyCore 11.1 (64 bit)
« Reply #15 on: November 25, 2020, 08:15:44 AM »
Ubuntu - nmcli - command-line tool for controlling NetworkManager


$> nmcli

Code: [Select]
wlp2s0f0: connected to A.RY.NETGEAR.2.4G
        "Ralink RT3290 1T/1R"
        wifi (rt2800pci), 74:29:AF:24:3B:87, hw, mtu 1500
        ip4 default
        inet4 192.168.1.44/24
        route4 0.0.0.0/0
        route4 192.168.1.0/24
        route4 169.254.0.0/16
        inet6 fe80::a3ae:9f16:ce63:de6/64
        route6 fe80::/64
        route6 ff00::/8

enp4s0: unavailable
        "Realtek RTL810xE"
        ethernet (r8169), 38:63:BB:E6:A7:E0, hw, mtu 1500

lo: unmanaged
        "lo"
        loopback (unknown), 00:00:00:00:00:00, sw, mtu 65536

DNS configuration:
        servers: 192.168.1.1
        domains: RRR
        interface: wlp2s0f0
“Success is not the key to happiness, happiness is the key to success.  If you love what you are doing, you will be successful.”

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14812
Re: Wifi Setup on a HP Laptop running TinyCore 11.1 (64 bit)
« Reply #16 on: November 25, 2020, 08:16:39 AM »
The firmware-ralinkwifi extension provides rt3290.bin, which I would guess is the firmware for your device.

Try this after reboot:
Code: [Select]
$ tce-load -i firmware-ralinkwifi wifi
$ dmesg | tail -20
..and check if you see a message about loading firmware.

If not, try this:
Code: [Select]
$ sudo rfkill list all

Offline RYTCL

  • Jr. Member
  • **
  • Posts: 55
Re: Wifi Setup on a HP Laptop running TinyCore 11.1 (64 bit)
« Reply #17 on: November 25, 2020, 09:07:06 AM »
1) Removed  all WiFI Firmware.TCZ & WiFi.tcz from the onboot and rebooted the machine.
2) Installed rfkill.tcz through  $> tce-ab
3) captured dmesg into a log file
  $>  dmesg > dmesg.1

4) Load extensions
  $> tce-load -i firmware-ralinkwifi.tcz  wifi.tcz

5) captured dmesg into a log file
  $>  dmesg > dmesg.2

6) DMESG analysis - no new lines added after installing extensions

7) Run RFKILL
  $> sudo rfill list all

  No output



I have the showapps pause bootcodes in my Grub Menu.

I see the following error message immediately after listing all the extensions:

udevd[183] : unknown key 'RUN{program}' in /etc/udev/rules.d/73-seat-late.rules:17


Is it possible to see the boot messages in some log file  once the GUI window manager shows up ?



“Success is not the key to happiness, happiness is the key to success.  If you love what you are doing, you will be successful.”

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11618
Re: Wifi Setup on a HP Laptop running TinyCore 11.1 (64 bit)
« Reply #18 on: November 25, 2020, 09:36:25 AM »
Hi RYTCL
... I see the following error message immediately after listing all the extensions:

udevd[183] : unknown key 'RUN{program}' in /etc/udev/rules.d/73-seat-late.rules:17 ...
I just fixed that. Update your system and it will go away:
Code: [Select]
tce-audit builddb
tce-audit updatedeps
tce-audit fetchmissing
tce-update

Then click the  Exit  icon and select reboot.

Offline RYTCL

  • Jr. Member
  • **
  • Posts: 55
Re: Wifi Setup on a HP Laptop running TinyCore 11.1 (64 bit)
« Reply #19 on: November 25, 2020, 09:47:46 AM »
Hi RYTCL
... I see the following error message immediately after listing all the extensions:

udevd[183] : unknown key 'RUN{program}' in /etc/udev/rules.d/73-seat-late.rules:17 ...
I just fixed that. Update your system and it will go away:
Code: [Select]
tce-audit builddb
tce-audit updatedeps
tce-audit fetchmissing
tce-update

Then click the  Exit  icon and select reboot.


Error message disappeared.  Thanks....  8)
“Success is not the key to happiness, happiness is the key to success.  If you love what you are doing, you will be successful.”

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14812
Re: Wifi Setup on a HP Laptop running TinyCore 11.1 (64 bit)
« Reply #20 on: November 25, 2020, 10:06:59 AM »
Does "lsmod" show if the driver for your wifi hardware (rt2800pci?) was loaded?

Offline RYTCL

  • Jr. Member
  • **
  • Posts: 55
Re: Wifi Setup on a HP Laptop running TinyCore 11.1 (64 bit)
« Reply #21 on: November 25, 2020, 10:16:16 AM »
Here is the lsmod output
Code: [Select]
/$> lsmod
Module                  Size  Used by    Not tainted
cpufreq_conservative    12288  0
cpufreq_powersave      12288  0
cpufreq_userspace      12288  0
squashfs               32768  0
zstd_decompress        65536  1 squashfs
hp_wmi                 12288  0
pcspkr                 12288  0
wmi_bmof               12288  0
video                  32768  0
backlight              12288  1 video
rtsx_pci_sdmmc         16384  0
wmi                    16384  2 hp_wmi,wmi_bmof
mmc_core               73728  1 rtsx_pci_sdmmc
rtsx_pci_ms            12288  0
memstick               12288  1 rtsx_pci_ms
mei_hdcp               12288  0
battery                16384  0
realtek                16384  0
rtsx_pci               36864  2 rtsx_pci_sdmmc,rtsx_pci_ms
intel_vbtn             12288  0
sparse_keymap          12288  2 hp_wmi,intel_vbtn
ac                     12288  0
loop                   20480  0
r8169                  57344  0
xhci_pci               12288  0
xhci_hcd               94208  1 xhci_pci
hp_wireless            12288  0
lpc_ich                20480  0
mei_txe                16384  1
mei                    40960  3 mei_hdcp,mei_txe
“Success is not the key to happiness, happiness is the key to success.  If you love what you are doing, you will be successful.”

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14812
Re: Wifi Setup on a HP Laptop running TinyCore 11.1 (64 bit)
« Reply #22 on: November 25, 2020, 10:21:32 AM »
There do not appear to be any wifi drivers loaded.

You can verify that the wireless-KERNEL extension is loaded with:
Code: [Select]
$ tce-status -i | grep wireless
If wireless-KERNEL is loaded, you can try this:
Code: [Select]
$ sudo modprobe rt2800pci..and then check lsmod and dmesg

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11618
Re: Wifi Setup on a HP Laptop running TinyCore 11.1 (64 bit)
« Reply #23 on: November 25, 2020, 10:31:17 AM »
Hi Juanito
I found this in his Ubuntu dmesg:
Code: [Select]
tc@box:~$ grep -E "wlp2s0f0|rt2|80211|02:00.0" .opera-11/temporary_downloads/dmesg.ubuntu
[    1.135971] pci 0000:02:00.0: [1814:3290] type 00 class 0x028000
[    1.136005] pci 0000:02:00.0: reg 0x10: [mem 0x90710000-0x9071ffff]
[    1.136140] pci 0000:02:00.0: PME# supported from D0 D3hot
[    4.956207] systemd[1]: unit_file_build_name_map: normal unit file: /lib/systemd/system/wpa_supplicant-nl80211@.service
[    7.049144] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    7.052037] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    7.236988] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 3290, rev 0015 detected
[    7.245501] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 3290 detected
[    7.245561] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[    7.720001] rt2800pci 0000:02:00.0 wlp2s0f0: renamed from wlan0
[   11.789939] ieee80211 phy0: rt2x00lib_request_firmware: Info - Loading firmware file 'rt3290.bin'
[   11.792261] ieee80211 phy0: rt2x00lib_request_firmware: Info - Firmware detected - version: 0.37
[   13.310515] wlp2s0f0: authenticate with 50:6a:03:ba:48:fb
[   13.312530] wlp2s0f0: send auth to 50:6a:03:ba:48:fb (try 1/3)
[   13.314619] wlp2s0f0: authenticated
[   13.315821] wlp2s0f0: associate with 50:6a:03:ba:48:fb (try 1/3)
[   13.319281] wlp2s0f0: RX AssocResp from 50:6a:03:ba:48:fb (capab=0x1411 status=0 aid=7)
[   13.319371] wlp2s0f0: associated
[   13.375871] IPv6: ADDRCONF(NETDEV_CHANGE): wlp2s0f0: link becomes ready
tc@box:~$

The Tinycore dmesg stops after the first 3 lines.

Offline RYTCL

  • Jr. Member
  • **
  • Posts: 55
Re: Wifi Setup on a HP Laptop running TinyCore 11.1 (64 bit)
« Reply #24 on: November 25, 2020, 10:37:23 AM »
There do not appear to be any wifi drivers loaded.

You can verify that the wireless-KERNEL extension is loaded with:
Code: [Select]
$ tce-status -i | grep wireless
If wireless-KERNEL is loaded, you can try this:
Code: [Select]
$ sudo modprobe rt2800pci..and then check lsmod and dmesg

It looks like WIRELESS-KERNEL is not loaded.

Code: [Select]
]~> tce-status -i | grep wire
wireless-5.4.3-tinycore64
wireless_tools
~>
~> tce-status -i | grep ral
firmware-ralinkwifi

“Success is not the key to happiness, happiness is the key to success.  If you love what you are doing, you will be successful.”

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14812
Re: Wifi Setup on a HP Laptop running TinyCore 11.1 (64 bit)
« Reply #25 on: November 25, 2020, 10:41:13 AM »
wireless-KERNEL=wireless-5.4.3-tinycore64

Did you try "sudo modprobe rt2800pci"?

Offline RYTCL

  • Jr. Member
  • **
  • Posts: 55
Re: Wifi Setup on a HP Laptop running TinyCore 11.1 (64 bit)
« Reply #26 on: November 25, 2020, 10:44:15 AM »
$> sudo modprobe rtl2800pci

no output

Is there a wireless-kernel.tcz module - I could not find one in 11.1 64 bit TCZ folder
“Success is not the key to happiness, happiness is the key to success.  If you love what you are doing, you will be successful.”

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14812
Re: Wifi Setup on a HP Laptop running TinyCore 11.1 (64 bit)
« Reply #27 on: November 25, 2020, 10:45:35 AM »
After "sudo modprobe rtl2800pci" you need to look at "lsmod" and "dmesg"

Offline RYTCL

  • Jr. Member
  • **
  • Posts: 55
Re: Wifi Setup on a HP Laptop running TinyCore 11.1 (64 bit)
« Reply #28 on: November 25, 2020, 10:54:29 AM »
I do see some rt2800 lines in LSMOD,   but no new messages in DMESG. dmesg.3 attachment included...

Is RT2800, the equivalent driver for RaLink RT3290 card for my laptop ?

Code: [Select]
~> lsmod

Module                  Size  Used by    Not tainted
rt2800pci              12288  0
rt2800mmio             12288  1 rt2800pci
rt2800lib              86016  2 rt2800pci,rt2800mmio
rt2x00mmio             12288  2 rt2800pci,rt2800mmio
rt2x00pci              12288  1 rt2800pci
rt2x00lib              28672  5 rt2800pci,rt2800mmio,rt2800lib,rt2x00mmio,rt2x00pci
mac80211              274432  3 rt2800lib,rt2x00pci,rt2x00lib
cfg80211              208896  2 rt2x00lib,mac80211
eeprom_93cx6           12288  1 rt2800pci
cpufreq_userspace      12288  0
cpufreq_conservative    12288  0
cpufreq_powersave      12288  0
squashfs               32768  0
zstd_decompress        65536  1 squashfs
wmi_bmof               12288  0
rtsx_pci_ms            12288  0
mei_hdcp               12288  0
hp_wmi                 12288  0
memstick               12288  1 rtsx_pci_ms
rtsx_pci_sdmmc         16384  0
mmc_core               73728  1 rtsx_pci_sdmmc
realtek                16384  0
r8169                  57344  0
video                  32768  0
backlight              12288  1 video
battery                16384  0
lpc_ich                20480  0
pcspkr                 12288  0
xhci_pci               12288  0
xhci_hcd               94208  1 xhci_pci
ac                     12288  0
wmi                    16384  2 wmi_bmof,hp_wmi
mei_txe                16384  1
mei                    40960  3 mei_hdcp,mei_txe
rtsx_pci               36864  2 rtsx_pci_ms,rtsx_pci_sdmmc
intel_vbtn             12288  0
sparse_keymap          12288  2 hp_wmi,intel_vbtn
loop                   20480  0
hp_wireless            12288  0
“Success is not the key to happiness, happiness is the key to success.  If you love what you are doing, you will be successful.”

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11618
Re: Wifi Setup on a HP Laptop running TinyCore 11.1 (64 bit)
« Reply #29 on: November 25, 2020, 10:57:42 AM »
Hi RYTCL
When extensions have the text  KERNEL  as part of their name, KERNEL is a symbol representing the kernel version you are
currently running. When  tce-load  encounters the  KERNEL  symbol, it replaces it with the output of this command:
Code: [Select]
uname -rwhich in your case would return  5.4.3-tinycore64.  So  wireless-KERNEL.tcz  becomes  wireless-5.4.3-tinycore64.tcz