How to use ASUS M509D Laptop Wifi?

New to Puppy and have questions? Start here

Moderator: Forum moderators

Post Reply
MysticReverie
Posts: 18
Joined: Fri Nov 26, 2021 12:33 am

How to use ASUS M509D Laptop Wifi?

Post by MysticReverie »

Hi

I'm using
I'm using FossaPup 9.5
I have 6GB RAM
I have a ASUS M509D Laptop

I know this laptops' WiFi is not supported by many Linux OS's out of the box.

I can connect Via USB smartphone tethering, so if anyone knows how I can install the right driver I'll give it a go.

Many thanks

Last edited by Flash on Sat Nov 27, 2021 1:49 pm, edited 1 time in total.
Reason: Original title: How to instal Wifi Driver
User avatar
GMBudwrench
Posts: 98
Joined: Tue Feb 23, 2021 3:19 am
Has thanked: 14 times
Been thanked: 22 times

Re: How to instal Wifi Driver

Post by GMBudwrench »

@rcrsn51 I think this is his area of expertise

HP G71 Wins10 64 bit, 2.2ghz 320gb hdd, Bionicpup64 on a WD 500gb portable HDD.

User avatar
snoring_cat
Posts: 206
Joined: Tue Sep 21, 2021 3:40 pm
Location: Earth
Has thanked: 24 times
Been thanked: 46 times

Re: How to instal Wifi Driver

Post by snoring_cat »

This one looks to be tricky to set up. Also, I'm not sure which specific M509D model you have and what WIFI device is in it.

For a ASUS M509DA and M509DAP, it looks like the WIFI device is probably a Qualcomm Atheros QCA9377. Someone has a driver that has to be compiled at https://github.com/ajaybhatia/Qualcomm- ... ifi-Linux/

Qualcomm says that Linux does support this device. I see that some Linux Mint users got it to somewhat work, using the GitHub link above. But without knowing for sure your laptop model and WIFI device, we don't know if this is the correct driver. Please supply more hardware specs if you can.

Below are some tests to see if we get lucky, and can access the WIFI device. In Terminal, please copy/paste the following, and paste the output to this forum post.

Code: Select all

uname -ri
modprobe -r ath10k_pci
modprobe ath10k_pci
lsmod | grep ath
dmesg | grep ath10k
dmesg | grep -i qualcomm
lspci | grep -i network
sleep 2
iwconfig | cut -d\  -f1 | sort -u
ifconfig -a | cut -d\  -f1 | sort -u

Meeeooow!

-- substance over noise, since 5 minutes in the future --

MysticReverie
Posts: 18
Joined: Fri Nov 26, 2021 12:33 am

Re: How to instal Wifi Driver

Post by MysticReverie »

5.4.53 x86_64
root# modprobe -r ath10k_pci
root# modprobe ath10k_pci
root# lsmod | grep ath
ath10k_pci 40960 0
ath10k_core 315392 1 ath10k_pci
ath 32768 1 ath10k_core
mac80211 385024 1 ath10k_core
cfg80211 294912 4 ath,mac80211,8821ce,ath10k_core
hwmon 16384 3 k10temp,amdgpu,ath10k_core
root# dmesg | grep ath10k
root# dmesg | grep -i qualcomm
root# lspci | grep -i network
01:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8821CE 802.11ac PCIe Wireless Network Adapter
root# sleep 2
root# iwconfig | cut -d\ -f1 | sort -u
lo no wireless extensions.

I managed to paste in terminal. Had to use middle mouse button !

I also uploaded some images of laptop info:
https://www.dropbox.com/s/molas2gp26ddl ... 3.jpg?dl=0
https://www.dropbox.com/s/pntkmsfbi7res ... 4.jpg?dl=0

Thanks !

User avatar
bigpup
Moderator
Posts: 7001
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 915 times
Been thanked: 1531 times

Re: How to instal Wifi Driver

Post by bigpup »

Install this driver pet.
Reboot and update save so it is found and used.
http://distro.ibiblio.org/puppylinux/te ... x86_64.pet
Try using the Network Wizard to setup WIFI.
Does it now show a Wlan0 device to select?

The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

MysticReverie
Posts: 18
Joined: Fri Nov 26, 2021 12:33 am

Re: How to use ASUS M509D Laptop Wifi?

Post by MysticReverie »

I think I installed it correctly

But still no wlan device to select.

It has a list of drivers I can load, but I can't find mine on the list

User avatar
mikewalsh
Moderator
Posts: 6165
Joined: Tue Dec 03, 2019 1:40 pm
Location: King's Lynn, UK
Has thanked: 796 times
Been thanked: 1985 times

Re: How to use ASUS M509D Laptop Wifi?

Post by mikewalsh »

@MysticReverie :-

If all else fails, there is of course the old stand-by 'workaround'; use a wifi dongle. We know several of these to recommend that definitely work, despite that it's considered 'untidy' by some folks.

What would you rather do? Struggle for weeks/months, trying desperately to get a recalcitrant chip to behave itself.....or plug something that's guaranteed to work into a USB port, and 5 minutes later everything's up-and-running?

Just a suggestion.

Mike. ;)

MysticReverie
Posts: 18
Joined: Fri Nov 26, 2021 12:33 am

Re: How to use ASUS M509D Laptop Wifi?

Post by MysticReverie »

mikewalsh wrote: Sat Nov 27, 2021 5:41 pm

@MysticReverie :-

If all else fails, there is of course the old stand-by 'workaround'; use a wifi dongle. We know several of these to recommend that definitely work, despite that it's considered 'untidy' by some folks.

What would you rather do? Struggle for weeks/months, trying desperately to get a recalcitrant chip to behave itself.....or plug something that's guaranteed to work into a USB port, and 5 minutes later everything's up-and-running?

Just a suggestion.

Mike. ;)

I checked, I don't have one.

I travel very light, and also am on a budget.

I am using my phone to tether at the moment, at least that works.

It would be nice to get the wifi working if possible, but if it's not an option, I might try to get hold of a dongle in the near future

User avatar
snoring_cat
Posts: 206
Joined: Tue Sep 21, 2021 3:40 pm
Location: Earth
Has thanked: 24 times
Been thanked: 46 times

Re: How to use ASUS M509D Laptop Wifi?

Post by snoring_cat »

MysticReverie,

I hear you. If you have a WIFI adapter that should just work, it would be nice if it just worked. The good news is that you might be in good shape, because when you typed "lspci | grep -i network" you got the following

01:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8821CE 802.11ac PCIe Wireless Network Adapter

You do not have an Atheros WIFI device, like I originally thought, but a Realtek WIFI device.

Gather More Info

Code: Select all

lsmod | grep 8821
modprobe -r rtl8821ce
modprobe rtl8821ce
lsmod | grep 8821
ifconfig -a | cut -d\  -f1 | sort -u
iwconfig | cut -d\  -f1 | sort -u
iw wlan0 scan | grep SSID

Check Logs
Time to drill down in your logs

Code: Select all

dmesg > /tmp/dmesg.log
geany /tmp/dmesg.log &

Geany should open up, and you can search this log file for "Realtek". When you find that word reference, copy about 10 lines before and after that reference, and paste it to this form. Also, look at the bottom for error messages that you think should be pasted

Code: Select all

lspci -kvv > /tmp/lspci.log
geany /tmp/lspci.log &

again, copy/paste the lines related to Realtek.

Puppy Package Manager drivers
You might want to search for "rtl8821ce" in Puppy Package Manager, and install any matches it finds. After installing those packages, reboot and repeat above steps.

And here is some fun reading https://www.geeksforgeeks.org/installin ... in-ubuntu/

Meeeooow!

-- substance over noise, since 5 minutes in the future --

MysticReverie
Posts: 18
Joined: Fri Nov 26, 2021 12:33 am

Re: How to use ASUS M509D Laptop Wifi?

Post by MysticReverie »

Thanks, the first command gave these results:
root# iw wlan0 scan | grep SSID
<SSID> <control freq> [5|10|20|40|80|80+80|160] [<center1_freq> [<center2_freq>]] <beacon interval in TU> <DTIM period> [hidden-ssid|zeroed-ssid] head <beacon head in hexadecimal> [tail <beacon tail in hexadecimal>] [inactivity-time <inactivity time in seconds>] [key0:abcde d:1:6162636465]
dev <devname> auth <SSID> <bssid> <type:open|shared> <freq in MHz> [key 0:abcde d:1:6162636465]
dev <devname> connect [-w] <SSID> [<freq in MHz>] [<bssid>] [key 0:abcde d:1:6162636465] [mfp:req/opt/no]
Join the network with the given SSID (and frequency, BSSID).
dev <devname> ibss join <SSID> <freq in MHz> [NOHT|HT20|HT40+|HT40-|5MHz|10MHz|80MHz] [fixed-freq] [<fixed bssid>] [beacon-interval <TU>] [basic-rates <rate in Mbps,rate2,...>] [mcast-rate <rate in Mbps>] [key d:0:abcde]
Join the IBSS cell with the given SSID, if it doesn't exist create
join/create a cell on a different frequency. When a fixed BSSID is
requested use that BSSID and do not adopt another cell's BSSID even
if it has higher TSF and the same SSID. If an IBSS is created, create
Scan on the given frequencies and probe for the given SSIDs
with probing for the given SSIDs (or wildcard if not given) unless passive
SSIDs (or wildcard if not given) unless passive scanning is requested.

Please go to page two, it wont let me paste it all in here

Last edited by MysticReverie on Sun Nov 28, 2021 1:03 am, edited 1 time in total.
MysticReverie
Posts: 18
Joined: Fri Nov 26, 2021 12:33 am

Re: How to use ASUS M509D Laptop Wifi?

Post by MysticReverie »

he Geany Realtek search gave this:
1.929795] fotg210_hcd: FOTG210 Host Controller (EHCI) Driver
[ 1.929795] Warning! fotg210_hcd should always be loaded before uhci_hcd and ohci_hcd, not after
[ 1.929847] usbcore: registered new interface driver uas
[ 1.929858] usbcore: registered new interface driver usb-storage
[ 1.929862] usbcore: registered new interface driver ums-alauda
[ 1.929867] usbcore: registered new interface driver ums-cypress
[ 1.929871] usbcore: registered new interface driver ums-datafab
[ 1.929875] usbcore: registered new interface driver ums_eneub6250
[ 1.929879] usbcore: registered new interface driver ums-freecom
[ 1.929883] usbcore: registered new interface driver ums-isd200
[ 1.929887] usbcore: registered new interface driver ums-jumpshot
[ 1.929891] usbcore: registered new interface driver ums-karma
[ 1.929895] usbcore: registered new interface driver ums-onetouch
[ 1.929900] usbcore: registered new interface driver ums-realtek
[ 1.929904] usbcore: registered new interface driver ums-sddr09
[ 1.929908] usbcore: registered new interface driver ums-sddr55
[ 1.929915] usbcore: registered new interface driver ums-usbat
[ 1.929932] i8042: PNP: PS/2 Controller [PNP030b:PS2K] at 0x60,0x64 irq 1
[ 1.929933] i8042: PNP: PS/2 appears to have AUX port disabled, if this is incorrect please boot with i8042.nopnp
[ 1.931694] tsc: Refined TSC clocksource calibration: 2595.112 MHz
[ 1.931702] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x256832afed3, max_idle_ns: 440795228353 ns
[ 1.932234] clocksource: Switched to clocksource tsc
[ 1.932433] serio: i8042 KBD port at 0x60,0x64 irq 1
[ 1.932497] mousedev: PS/2 mouse device common for all mice
[ 1.933091] rtc_cmos 00:01: RTC can wake from S4
[ 1.933280] rtc_cmos 00:01: registered as rtc0
[ 1.933281] rtc_cmos 00:01: alarms up to one month, y3k, 114 bytes nvram, hpet irqs

It wont let me post the final results here. 'You can only use fonts of up to 200'

I managed to upload it here:
https://pastebin.com/nSs3ucBx

Thanks, now I will take a look at that article

P.S
I can't use that article becasue the Puppy linux terminal doesn't use the same langauge?
'root# sudo apt-get update
sudo: apt-get: command not found'

Hmm

I've searched online and can find nothing.
Nearest I can find is this. https://oldforum.puppylinux.com/viewtop ... 44b0b885ee
Someone compiled a driver for an older version of Puppy. It might have been wortth a try but it seems the download is unavailable now.

User avatar
bigpup
Moderator
Posts: 7001
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 915 times
Been thanked: 1531 times

Re: How to instal Wifi Driver

Post by bigpup »

Laptops have an off/on switch for WIFI.
So make sure that switch has turned it on.

To determine if it is Hard Blocked. In a terminal (console):

Code: Select all

 rfkill list all

wlan0 is usually the wifi

If it indicates it is hard blocked.
There is a switch on the laptop that turns it off/on.
Press that switch and rerun

Code: Select all

 rfkill list all

to see if it worked to stop the hard block.

bigpup wrote: Sat Nov 27, 2021 1:12 pm

Install this driver pet.
Reboot and update save so it is found and used.
http://distro.ibiblio.org/puppylinux/te ... x86_64.pet
Try using the Network Wizard to setup WIFI.
Does it now show a Wlan0 device to select?

If you downloaded this pet.
Installed it by left clicking on it in Rox file manager.

Try this:
menu>Setup>Internet connection Wizard>Wired or Wireless LAN>Network Wizard>Load Module
The 8821ce one should be listed to select and load.
Load it and see if it finds your WIFI hardware.

Screenshot(5).jpg
Screenshot(5).jpg (52.2 KiB) Viewed 737 times

The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

MysticReverie
Posts: 18
Joined: Fri Nov 26, 2021 12:33 am

Re: How to use ASUS M509D Laptop Wifi?

Post by MysticReverie »

I was able to load the driver by that method, but the wifi wizard still doesn't detect anything.

Oh well.. Thanks for the efforts

User avatar
bigpup
Moderator
Posts: 7001
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 915 times
Been thanked: 1531 times

Re: How to use ASUS M509D Laptop Wifi?

Post by bigpup »

Did you do the check to see if it is hard blocked?

The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

MysticReverie
Posts: 18
Joined: Fri Nov 26, 2021 12:33 am

Re: How to use ASUS M509D Laptop Wifi?

Post by MysticReverie »

I don't know what that is, but I can tell you it works on Windows 10, Mx Linux, Ubuntu Mate and Linux Lite - all installed in this laptop on SSD

Sorry, I missed that part of your post somehow.

But yes, the Wifi works ok on 4 other OS's on this laptop.

I did have to manually install it on Linux systems, but that was copying and pasting 'Sudo' commands, which Puppy doesn't seem to accept

User avatar
mikeslr
Posts: 2968
Joined: Mon Jul 13, 2020 11:08 pm
Has thanked: 179 times
Been thanked: 924 times

Re: How to use ASUS M509D Laptop Wifi?

Post by mikeslr »

1) Puppys 'run as Root'. Consequently, Puppys neither need nor understand the 'sudo' command. In most cases you can use the instructions such as 'sudo xyz' by just opening a terminal and typing 'xyz'.
2) I haven't followed the links to the driver you posted. But AFAIK, drivers have to be compiled against the kernel the operating system uses. To do that under Puppy you first must load it's 'compiling environment'. I'm not running Fossapup64 right now. But if memory serves, its available via Menu>Setup>Quickpet. Click the "Useful" tab. Then Click devx, [later kernel src if listed separately --sometimes packaged with devx]. That will download this/these in the form of SFSes. SFSes are loaded/unloaded >not installed. IIRC, after download it will offer to 'load and/or run'. If not, loading/unloading is done either by file-browsing to the SFS, Right-Clicking and selecting SFS-Load or Menu>Setup>SFS-load on the fly. The latter will search the /mnt/home AKA /mnt/dev_save partition for all SFS, and a provide a list from which you make your selection.
SFS-load to Unload when you're finished. SFS-Load is a toggle.
devx and src are rarely used. So they are not 'builtin' avoiding wasting RAM and bandwidth just to have them immediately available.
For a more 'apt-like' package manager, you could install pkg-cli, https://oldforum.puppylinux.com/viewtop ... 112927&i=1. It may already be in Fossapup64. Look for Menu>Setup>Package Manager NG & NG (cli). Read the cited thread for instructions and tips.

Last edited by mikeslr on Mon Nov 29, 2021 3:09 pm, edited 1 time in total.
User avatar
bigpup
Moderator
Posts: 7001
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 915 times
Been thanked: 1531 times

Re: How to use ASUS M509D Laptop Wifi?

Post by bigpup »

It does not matter what other OS's do or do not do.

Please run this in a terminal(console)

Code: Select all

rfkill list all

What is the output you get?

The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

Post Reply

Return to “Beginners Help”