WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: HP-2000 Ralink RT5390R Wireless Adapter  (Read 16442 times)

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: HP-2000 Ralink RT5390R Wireless Adapter
« Reply #15 on: June 21, 2019, 10:14:42 AM »
...
Code: [Select]
tc@box:~$ lsmod
Module                  Size  Used by    Tainted: P 
cpufreq_userspace      12288  0
cpufreq_conservative    12288  0
cpufreq_powersave      12288  0
wl                   6033408  0
cfg80211              167936  1 wl
squashfs               28672 43
zstd_decompress        53248  1 squashfs
xxhash                 16384  1 zstd_decompress
loop                   20480 86
rtsx_pci_sdmmc         16384  0
hp_wmi                 12288  0
mmc_core               65536  1 rtsx_pci_sdmmc
sparse_keymap          12288  1 hp_wmi
rtsx_pci_ms            12288  0
wmi_bmof               12288  0
memstick               12288  1 rtsx_pci_ms
video                  28672  0
backlight              12288  1 video
serio_raw              12288  0
pcspkr                 12288  0
wmi                    16384  2 hp_wmi,wmi_bmof
ac                     12288  0
battery                16384  0
hp_wireless            12288  0
r8169                  49152  0
rtsx_pci               28672  2 rtsx_pci_sdmmc,rtsx_pci_ms
acpi_cpufreq           12288  0

Here’s a misfit, i keep noticing “wl” module being loaded which is the wrong wifi module.  I realize this may be Bluetooth related but still something not right here..

Maybe you could post the contents of onboot.lst ?


Sent from my iPhone using Tapatalk

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14516
Re: HP-2000 Ralink RT5390R Wireless Adapter
« Reply #16 on: June 21, 2019, 10:18:09 AM »
When troubleshooting it is better not to set any extensions "onboot", then:

* load the relevent wifi firmware extension(s)
* load the wifi extension
* switch wifi on with the f12 key
* check dmesg

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11178
Re: HP-2000 Ralink RT5390R Wireless Adapter
« Reply #17 on: June 21, 2019, 10:33:38 AM »
Hi mnemonic76
I noticed this in your last  dmesg  post:
Code: [Select]
Kernel command line: BOOT_IMAGE=/boot/vmlinuz quiet  tce=sda1 waitusb=5:UUID="7bfa788c-cd5b-4ec7-9da0-123d192e6d6d" tce=UUID="7bfa788c-cd5b-4ec7-9da0-123d192e6d6d"  initrd=/boot/core.gz
Remove the  tce=sda1  entry from your bootloaders config file. I don't know if it's causing a problem but it certainly does not
belong there.

Offline mnemonic76

  • Newbie
  • *
  • Posts: 35
Re: HP-2000 Ralink RT5390R Wireless Adapter
« Reply #18 on: June 21, 2019, 04:21:41 PM »
Coreplayer: that machine is at my office. Will try that Monday.

Juanito: I can do that except the F12 key LED does nit change states when I push it like in Lubuntu... It stays amber.

Rich: when I installed to USB I put the tce=sda1 option in for persistence... How does tinycore know where to look?
Thanks,

mnemonic76

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11178
Re: HP-2000 Ralink RT5390R Wireless Adapter
« Reply #19 on: June 21, 2019, 05:48:25 PM »
Hi mnemonic76
... Rich: when I installed to USB I put the tce=sda1 option in for persistence... How does tinycore know where to look?
This part of it tells it where to look:
Code: [Select]
tce=UUID="7bfa788c-cd5b-4ec7-9da0-123d192e6d6d"It says that the  tce  directory will be found by the disks  UUID  which is  "7bfa788c-cd5b-4ec7-9da0-123d192e6d6d".  UUID is
unique to that disk. Due to the asynchronous nature of device detection there is no guarantee  sda1  will always be assigned
to the same device when multiple disks are involved.

Offline Pats

  • Sr. Member
  • ****
  • Posts: 322
Re: HP-2000 Ralink RT5390R Wireless Adapter
« Reply #20 on: June 21, 2019, 07:07:25 PM »
Though it is easy to use WiFi in TC, but for those who are setting up RaLink adapter for the first time and experienced to setup wifi thru TC or linux , here is the simple way thru Windoz :

1) Dnload Coreplus and YUMI software to a Windoz dire.  Put USB stick or Pendrive in USB port
2) start YUMI .. Follow the instructions. A YUMI tutorial is already available on YUMI site. Coreplus will be installed on USB stick.
 3) Adjust PCs or laptops BIOS setting to boot from USB.
4) Reboot. If successful , TC boot menu will be available with diff flavours.
5) From menu options , Select Tinycore with WiFi and Firmware.
6) A nice TC screen with diff icons at bottom appears. Click on WiFi icon.
7) Wait a minute. A prompt will ask to select wifi from available numbered wifi networks. Select your network.
8) Then when prompted, Enter wifi passkey.

 If all is OK , you will get a working Wifi.

 ... Enjoy net or dnload install diff TC application from Apps . :)
« Last Edit: June 21, 2019, 07:15:14 PM by Pats »

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14516
Re: HP-2000 Ralink RT5390R Wireless Adapter
« Reply #21 on: June 22, 2019, 12:49:32 AM »
Juanito: I can do that except the F12 key LED does nit change states when I push it like in Lubuntu... It stays amber.

It's worth trying anyway..

Offline mnemonic76

  • Newbie
  • *
  • Posts: 35
Re: HP-2000 Ralink RT5390R Wireless Adapter
« Reply #22 on: June 25, 2019, 11:16:48 AM »
Here's onboot.lst

Code: [Select]
Xvesa.tcz
aterm.tcz
wbar.tcz
wl-modules-4.19.10-tinycore.tcz
iw.tcz
pci-utils.tcz
dillo.tcz
rfkill.tcz
ntpclient.tcz
flwm_topside.tcz

mnemonic76
Thanks,

mnemonic76

Offline mnemonic76

  • Newbie
  • *
  • Posts: 35
Re: HP-2000 Ralink RT5390R Wireless Adapter
« Reply #23 on: June 25, 2019, 12:09:43 PM »
Also, where can I remove the sda1 reference from the bootloader config file. I have searched the TinyCore docs and I am not finding it.

Thanks,

EDIT: I found it under
Code: [Select]
/mnt/sda1/boot/extlinux/extlinux.conf
Finally found it here: https://distro.ibiblio.org/tinycorelinux/install.html

Used vi to modify it.
Only after finding instructions here: https://support.plesk.com/hc/en-us/articles/360001084114-How-to-edit-file-using-vi-utility-on-Linux-
« Last Edit: June 25, 2019, 12:26:37 PM by mnemonic76 »
Thanks,

mnemonic76

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
HP-2000 Ralink RT5390R Wireless Adapter
« Reply #24 on: June 25, 2019, 12:46:30 PM »
Here's onboot.lst
...

Ok, to start..   
connect via Ethernet and download and install wifi.tcz extension using APPS or one of the commandline extension managers

then change your onboot.lst to this

Code: [Select]
Xvesa.tcz
aterm.tcz
wbar.tcz
pci-utils.tcz
dillo.tcz
flwm_topside.tcz
firmware-ralinkwifi.tcz
wifi.tcz

Then reboot and select the wifi icon
Check dmesg for errors


Sent from my iPhone using Tapatalk
« Last Edit: June 25, 2019, 01:07:38 PM by coreplayer2 »

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: HP-2000 Ralink RT5390R Wireless Adapter
« Reply #25 on: June 25, 2019, 12:55:39 PM »
Also, where can I remove the sda1 reference from the bootloader config file. I have searched the TinyCore docs and I am not finding it.

Thanks,

EDIT: I found it under
Code: [Select]
/mnt/sda1/boot/extlinux/extlinux.conf ...

VI might be fun & challenging but if you have a graphical desktop  why not use graphic tools

Code: [Select]
sudo editor
Then using editors file > open menu
navigate to  /mnt/sdx1/boot/extlinux/extlinux.conf  for editing.

Please read the core book, I think you’ll find it quite interesting




Sent from my iPhone using Tapatalk

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: HP-2000 Ralink RT5390R Wireless Adapter
« Reply #26 on: June 25, 2019, 01:09:28 PM »
Sorry, I remembered we already figured out the firmware extension so I modified the onboot.lst accordingly

Good luck


Sent from my iPhone using Tapatalk

Offline mnemonic76

  • Newbie
  • *
  • Posts: 35
Re: HP-2000 Ralink RT5390R Wireless Adapter
« Reply #27 on: June 26, 2019, 08:22:39 AM »
Here's onboot.lst
...

Ok, to start..   
connect via Ethernet and download and install wifi.tcz extension using APPS or one of the commandline extension managers

then change your onboot.lst to this

Code: [Select]
Xvesa.tcz
aterm.tcz
wbar.tcz
pci-utils.tcz
dillo.tcz
flwm_topside.tcz
firmware-ralinkwifi.tcz
wifi.tcz

Then reboot and select the wifi icon
Check dmesg for errors


Ok here goes:

Code: [Select]
Here's onboot.lst
Xvesa.tcz
aterm.tcz
wbar.tcz
flwm_topside.tcz
wl-modules-4.19.10-tinycore.tcz
iw.tcz
pci-utils.tcz
opera9.tcz
rfkill.tcz
wifi.tcz

Rebooted,

See attachment: dmesg.txt

Then clicked wifi icon, got a blank terminal window then it timed out and went away. So I did:
Code: [Select]
tc@box:~$ sudo wifi.sh
No wifi devices found!

I really want to make TInyCore work... I think there is still something to be learned by booting into Lubuntu since the hardware is made to work by Lubuntu somehow... I would be willing to do other experiments if you can think of them!

Thanks,
mnemonic76

Thanks,

mnemonic76

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14516
Re: HP-2000 Ralink RT5390R Wireless Adapter
« Reply #28 on: June 26, 2019, 08:35:12 AM »
It would be better for troubleshooting to have only the following in onboot.lst:

Xvesa
flwm
wbar
aterm

Once booted and in the gui, then:
Code: [Select]
$ tce-load -i firmware-ralinkwifi
$ tce-load -i wifi
$ dmesg | tail -20

..and paste the dmesg results

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11178
Re: HP-2000 Ralink RT5390R Wireless Adapter
« Reply #29 on: June 26, 2019, 08:57:02 AM »
Hi mnemonic76
Ok here goes:

Code: [Select]
Here's onboot.lst
Xvesa.tcz
aterm.tcz
wbar.tcz
flwm_topside.tcz
wl-modules-4.19.10-tinycore.tcz
iw.tcz
pci-utils.tcz
opera9.tcz
rfkill.tcz
wifi.tcz
OK, I think I see the problem. Try getting rid of that  wl-modules-4.19.10-tinycore.tcz  entry from your onboot.lst  file. Those are
Broadcom drivers but I don't see any Broadcom hardware listed.