WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

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

Offline RYTCL

  • Jr. Member
  • **
  • Posts: 55
Wifi Setup on a HP Laptop running TinyCore 11.1 (64 bit)
« on: November 24, 2020, 07:41:19 PM »
I need help in setup / configuration of WiFi on my HP Laptop

Here is the list of Extensions that are loaded at BOOT time

SDA9:/tce/onboot.lst
  jwm-full.tcz
  Xorg-7.7.tcz
  rxvt.tcz
  wbar.tcz
  xf86-input-synaptics.tcz
  firefox-ESR.tcz
  wifi.tcz

WiFi ICON shows up.  Clicking, brings up a blank window & dies after a min or so.

Any WiFi SETUP Guide, I could follow
“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 RYTCL

  • Jr. Member
  • **
  • Posts: 55
Re: Wifi Setup on a HP Laptop running TinyCore 11.1 (64 bit)
« Reply #1 on: November 24, 2020, 08:26:30 PM »
I have tried adding the following WiFi firmware extensions 1 at a time, rebooting every time.

WiFi FirmWare
  • firmware-iwlwifi.tcz
  • firmware-ralinkwifi.tcz
  • firmware-rtlwifi.tcz

Ran Command : "sudo wifi.sh"  for each firmware after bootup.
System Response : "
Code: [Select]
No WiFi devices detected"
“Success is not the key to happiness, happiness is the key to success.  If you love what you are doing, you will be successful.”

tinycorelinux

  • Guest
Re: Wifi Setup on a HP Laptop running TinyCore 11.1 (64 bit)
« Reply #2 on: November 24, 2020, 10:12:51 PM »
Note that firmware-*.tcz needs to be loaded before wifi.tcz can be loaded.

Edit your onboot.lst
Code: [Select]
jwm-full.tcz
Xorg-7.7.tcz
rxvt.tcz
wbar.tcz
xf86-input-synaptics.tcz
firefox-ESR.tcz
...
firmware-iwlwifi.tcz
firmware-ralinkwifi.tcz
firmware-rtlwifi.tcz
wifi.tcz
...
Reboot your machine and try again later.

If wifi still doesn't work, try the following:

Execute the following code on your terminal
Code: [Select]
tce-load -wil firmware-iwlwifi
tce-load -wil firmware-ralinkwifi
tce-load -wil firmware-rtlwifi
tce-load -wil wifi
tce-load -wil wpa_supplicant-dbus
tce-load -wil libnl
tce-load -wil dbus
tce-load -wil expat2
tce-load -wil elogind
tce-load -wil acl
tce-load -wil attr
tce-load -wil libcap
tce-load -wil openssl-1.1.1
tce-load -wil readline
tce-load -wil ncursesw
tce-load -wil wireless_tools
tce-load -wil wireless-5.4.3-tinycore64
tce-load -wil libiw
First remove wifi and firmware-* from your onboot.lst, then reboot your machine and execute the following code
Code: [Select]
tce-load -i firmware-iwlwifi wifi
tce-load -i firmware-ralinkwifi
tce-load -i firmware-rtlwifi
sudo wifi.sh
« Last Edit: November 24, 2020, 10:47:33 PM by ONE »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14516
Re: Wifi Setup on a HP Laptop running TinyCore 11.1 (64 bit)
« Reply #3 on: November 25, 2020, 01:23:57 AM »
You don't mention what wifi hardware you have.

Most, if not all, wifi hardware will try to load firmware under linux - if the hardware does not find the correct firmware, it will not work.

You can find which firmware your hardware is trying to load by looking at dmesg - you should see something analogous to this:
Code: [Select]
$ dmesg | tail -10
...
cfg80211: failed to load regulatory.db
Intel(R) Wireless WiFi driver for Linux
Copyright(c) 2003- 2015 Intel Corporation
iwlwifi 0000:02:00.0: enabling device (0000 -> 0002)
iwlwifi 0000:02:00.0: Direct firmware load for iwlwifi-7260-17.ucode failed with error -2
iwlwifi 0000:02:00.0: Falling back to sysfs fallback for: iwlwifi-7260-17.ucode
iwlwifi 0000:02:00.0: loaded firmware version 17.459231.0 op_mode iwlmvm
iwlwifi 0000:02:00.0: Detected Intel(R) Dual Band Wireless AC 7260, REV=0x144
iwlwifi 0000:02:00.0: base HW address: a0:a8:cd:2c:3e:13
..where, in this example, the firmware is iwlwifi-7260-17.ucode.

Once you know which firmware extension you need, it must be loaded before the wifi extension.

tinycorelinux

  • Guest
Re: Wifi Setup on a HP Laptop running TinyCore 11.1 (64 bit)
« Reply #4 on: November 25, 2020, 03:42:21 AM »
..where, in this example, the firmware is iwlwifi-7260-17.ucode.
I wonder if firmware and driver are the same concept on Linux? Is all the files under firmware-*.tcz  necessary for every computer, or is it just a file that suits firmware?

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14516
Re: Wifi Setup on a HP Laptop running TinyCore 11.1 (64 bit)
« Reply #5 on: November 25, 2020, 03:57:31 AM »
Usually just one or two files from the firmware extension

tinycorelinux

  • Guest
Re: Wifi Setup on a HP Laptop running TinyCore 11.1 (64 bit)
« Reply #6 on: November 25, 2020, 04:22:05 AM »
Usually just one or two files from the firmware extension
Is the same for other firmware? Like a graphic card, a sound card? Do I just need a few files to get my graphics and sound card to work?

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11178
Re: Wifi Setup on a HP Laptop running TinyCore 11.1 (64 bit)
« Reply #7 on: November 25, 2020, 04:22:21 AM »
Hi ONE
... Execute the following code on your terminal
Code: [Select]
tce-load -wil firmware-iwlwifi
tce-load -wil firmware-ralinkwifi
tce-load -wil firmware-rtlwifi
tce-load -wil wifi
tce-load -wil wpa_supplicant-dbus
tce-load -wil libnl
tce-load -wil dbus
tce-load -wil expat2
tce-load -wil elogind
tce-load -wil acl
tce-load -wil attr
tce-load -wil libcap
tce-load -wil openssl-1.1.1
tce-load -wil readline
tce-load -wil ncursesw
tce-load -wil wireless_tools
tce-load -wil wireless-5.4.3-tinycore64
tce-load -wil libiw
...

No. Everything listed after  wifi  will be included automatically. All you need is:
Code: [Select]
tce-load -wil firmware-iwlwifi
tce-load -wil firmware-ralinkwifi
tce-load -wil firmware-rtlwifi
tce-load -wil wifi

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11178
Re: Wifi Setup on a HP Laptop running TinyCore 11.1 (64 bit)
« Reply #8 on: November 25, 2020, 04:25:11 AM »
Hi ONE
Yes, the same applies to graphics and sound cards.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14516
Re: Wifi Setup on a HP Laptop running TinyCore 11.1 (64 bit)
« Reply #9 on: November 25, 2020, 04:27:03 AM »
A few graphics cards need firmware - I haven’t heard of any sound cards that need it.

Offline RYTCL

  • Jr. Member
  • **
  • Posts: 55
Re: Wifi Setup on a HP Laptop running TinyCore 11.1 (64 bit)
« Reply #10 on: November 25, 2020, 04:27:41 AM »
I updated onboot.lst and did a reboot.  Cannot identify any information related to wifi in dmesg.log

ONBOOT.LST

Code: [Select]
SDA9: /tce/onboot.lst

jwm-full.tcz
Xorg-7.7.tcz
rxvt.tcz
wbar.tcz
xf86-input-synaptics.tcz
firefox-ESR.tcz
firmware-iwlwifi.tcz
firmware-ralinkwifi.tcz
firmware-rtlwifi.tcz
wifi.tcz

I do run Ubuntu 20.04  and also Windows.10 on different partitions on the same laptop

O/S : Ubuntu 20.04 :
$>  lspci


Code: [Select]
00:00.0 Host bridge: Intel Corporation Atom Processor Z36xxx/Z37xxx Series SoC Transaction Register (rev 0e)
00:02.0 VGA compatible controller: Intel Corporation Atom Processor Z36xxx/Z37xxx Series Graphics & Display (rev 0e)
00:13.0 SATA controller: Intel Corporation Atom Processor E3800 Series SATA AHCI Controller (rev 0e)
00:14.0 USB controller: Intel Corporation Atom Processor Z36xxx/Z37xxx, Celeron N2000 Series USB xHCI (rev 0e)
00:1a.0 Encryption controller: Intel Corporation Atom Processor Z36xxx/Z37xxx Series Trusted Execution Engine (rev 0e)
00:1b.0 Audio device: Intel Corporation Atom Processor Z36xxx/Z37xxx Series High Definition Audio Controller (rev 0e)
00:1c.0 PCI bridge: Intel Corporation Atom Processor E3800 Series PCI Express Root Port 1 (rev 0e)
00:1c.1 PCI bridge: Intel Corporation Atom Processor E3800 Series PCI Express Root Port 2 (rev 0e)
00:1c.2 PCI bridge: Intel Corporation Atom Processor E3800 Series PCI Express Root Port 3 (rev 0e)
00:1c.3 PCI bridge: Intel Corporation Atom Processor E3800 Series PCI Express Root Port 4 (rev 0e)
00:1f.0 ISA bridge: Intel Corporation Atom Processor Z36xxx/Z37xxx Series Power Control Unit (rev 0e)
00:1f.3 SMBus: Intel Corporation Atom Processor E3800 Series SMBus Controller (rev 0e)
02:00.0 Network controller: Ralink corp. RT3290 Wireless 802.11n 1T/1R PCIe
02:00.1 Bluetooth: Ralink corp. RT3290 Bluetooth
03:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5227 PCI Express Card Reader (rev 01)
04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL810xE PCI Express Fast Ethernet controller (rev 07)

Windows 10 - System Information


Code: [Select]
Name    [00000001] Ralink RT3290 802.11bgn Wi-Fi Adapter
Adapter Type    Ethernet 802.3
Product Type    Ralink RT3290 802.11bgn Wi-Fi Adapter
Installed       Yes

I have also included the complete DMESG log.

It looks like WiFi module is  " Ralink corp. RT3290 Wireless 802.11n ".

How do I check if module RT3290 is loaded on TinyCore.
“Success is not the key to happiness, happiness is the key to success.  If you love what you are doing, you will be successful.”

tinycorelinux

  • Guest
Re: Wifi Setup on a HP Laptop running TinyCore 11.1 (64 bit)
« Reply #11 on: November 25, 2020, 04:32:28 AM »
I haven’t heard of any sound cards that need it.
???Doesn't ALSA include sound card firmware?
Don't need to install sound card drivers or firmware on Linux?

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11178
Re: Wifi Setup on a HP Laptop running TinyCore 11.1 (64 bit)
« Reply #12 on: November 25, 2020, 04:47:41 AM »
Hi RYTCL
It appears your wired connection requires firmware:
Code: [Select]
r8169 0000:04:00.0: Direct firmware load for rtl_nic/rtl8106e-1.fw failed with error -2
r8169 0000:04:00.0: Falling back to sysfs fallback for: rtl_nic/rtl8106e-1.fw
r8169 0000:04:00.0: Unable to load firmware rtl_nic/rtl8106e-1.fw (-11)
That would be in  firmware-rtl_nic.tcz.

I don't see the  RT3290  being detected in your dmesg listing.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11178
Re: Wifi Setup on a HP Laptop running TinyCore 11.1 (64 bit)
« Reply #13 on: November 25, 2020, 04:51:31 AM »
Hi RYTCL
Maybe run this on your Ubuntu setup and attach it to your next post:
Code: [Select]
dmesg > dmesg-ubuntu.txt

Offline RYTCL

  • Jr. Member
  • **
  • Posts: 55
Re: Wifi Setup on a HP Laptop running TinyCore 11.1 (64 bit)
« Reply #14 on: November 25, 2020, 05:09:50 AM »
I am including  the DMESG log attachment from Ubuntu.

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