Welcome!
Important information
-- Required MX 15/16 Repository Changes
-- Information on torrent hosting changes
-- Information on MX15/16 GPG Keys
-- Spectre and Meltdown vulnerabilities

News
-- Introducing our new Website
-- MX Linux on social media: here

Current releases
-- MX-18.2 Point Release release info here
-- Migration Information to MX-18 here
-- antiX-17.4.1 release info here

New users
-- Please read this first, and don't forget to add system and hardware information to posts!
-- Here are the Forum Rules

WiFi not working, need help to fix it

Bijay
Forum Novice
Forum  Novice
Posts: 13
Joined: Tue Feb 12, 2019 1:54 am

WiFi not working, need help to fix it

#1

Post by Bijay » Tue Feb 12, 2019 2:18 am

Hi all
Just installed MX Linux-18 on my brand new HP laptop. It was not showing any WiFi signals. searched internet from another device. the search revealed, driver issue with the WiFi adapter. Realtek RTL8723DE driver.
I dont access to wired Lan. then installed https://packages.debian.org/sid/firmware-realtek package using $dpkg -i command. but it does not work. No error outcome.
Apart from this MX-Linux running very smoothly, efficiently.
Now, how can I fix the WiFi issue in MX??


$ inxi -F
System: Host: suv Kernel: 4.19.0-1-amd64 x86_64 bits: 64 Desktop: Xfce 4.12.3
Distro: MX-18_x64 Continuum Dec 20 2018
Machine: Type: Laptop System: HP product: HP Laptop 14q-cs0xxx v: Type1ProductConfigId
serial: <root required>
Mobo: HP model: 849A v: KBC Version 74.22 serial: <root required> UEFI [Legacy]: Insyde v: F.14
date: 07/27/2018
Battery: ID-1: BAT0 charge: 2.3 Wh condition: 42.4/42.4 Wh (100%)
CPU: Topology: Dual Core model: Intel Core i3-7020U bits: 64 type: MT MCP L2 cache: 3072 KiB
Speed: 559 MHz min/max: 400/2300 MHz Core speeds (MHz): 1: 532 2: 566 3: 585 4: 538
Graphics: Device-1: Intel driver: i915 v: kernel
Display: x11 server: X.Org 1.19.2 driver: modesetting unloaded: fbdev,vesa resolution: 1366x768~60Hz
OpenGL: renderer: Mesa DRI Intel HD Graphics 620 (Kaby Lake GT2) v: 4.5 Mesa 18.2.6
Audio: Device-1: Intel driver: snd_hda_intel
Sound Server: ALSA v: k4.19.0-1-amd64
Network: Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet driver: r8169
IF: eth0 state: down mac: e4:e7:49:98:73:4a
Device-2: Realtek driver: N/A
Drives: Local Storage: total: 935.24 GiB used: 8.35 GiB (0.9%)
ID-1: /dev/sda vendor: Western Digital model: WD10SPZX-60Z10T0 size: 931.51 GiB
ID-2: /dev/sdb type: USB vendor: Kingston model: DataTraveler 130 size: 3.73 GiB
RAID: Hardware-1: Intel 82801 Mobile SATA Controller [RAID mode] driver: ahci
Partition: ID-1: / size: 19.58 GiB used: 4.76 GiB (24.3%) fs: ext4 dev: /dev/sda5
Sensors: System Temperatures: cpu: 30.0 C mobo: N/A
Fan Speeds (RPM): N/A
Info: Processes: 184 Uptime: 4m Memory: 3.74 GiB used: 417.6 MiB (10.9%) Shell: bash inxi: 3.0.25

User avatar
JmaCWQ
Forum Regular
Forum Regular
Posts: 143
Joined: Fri Sep 09, 2016 4:42 am

Re: WiFi not working, need help to fix it

#2

Post by JmaCWQ » Tue Feb 12, 2019 2:34 am

Hello,

I've just been through the same issue I believe.

viewtopic.php?p=483746#p483746

This post of Stevo's in another thread has the fix - viewtopic.php?p=476327#p476327

The steps are download the .zip from Stevo's post.
Run 'make' on it, then 'sudo make install' and restart the computer & you should have wireless working.

Bijay
Forum Novice
Forum  Novice
Posts: 13
Joined: Tue Feb 12, 2019 1:54 am

Re: WiFi not working, need help to fix it

#3

Post by Bijay » Tue Feb 12, 2019 11:47 pm

Hi @JmaCWQ
Thanks for the reply. so, I am following the method-2 of (http://subinsb.com/install-realtek-d723 ... /#method-2). is the How-to ok? plz paste other links if you know better.

User avatar
JmaCWQ
Forum Regular
Forum Regular
Posts: 143
Joined: Fri Sep 09, 2016 4:42 am

Re: WiFi not working, need help to fix it

#4

Post by JmaCWQ » Wed Feb 13, 2019 1:45 am

What I did was this:

Downloaded the .zip from Stevo's post to the Desktop.
Right clicked on the .zip & went Extract Here.
Opened the extracted folder, right clicked in that folder & went Open Terminal Here.
In the Terminal typed make then hit Enter.
After the make process was finished in the Terminal typed sudo make install then hit Enter.
That finished with a "Success" message so I restarted the computer & wireless was then working.

Bijay
Forum Novice
Forum  Novice
Posts: 13
Joined: Tue Feb 12, 2019 1:54 am

Re: WiFi not working, need help to fix it

#5

Post by Bijay » Wed Feb 13, 2019 10:14 pm

I followed the steps.
after the installation, my system was sluggish. simply a reboot was taking too long. even the NetworkManager was not running.
what should I do next?

User avatar
Stevo
Forum Veteran
Forum Veteran
Posts: 18731
Joined: Fri Dec 15, 2006 8:07 pm

Re: WiFi not working, need help to fix it

#6

Post by Stevo » Wed Feb 13, 2019 11:10 pm

A simple compile and install of a known open source wi-fi driver does not have this effect. I think that something else is to blame.

You can even try a compile and install on a live system to test this, though you will have to manually load the module with modprobe instead of rebooting.

Bijay
Forum Novice
Forum  Novice
Posts: 13
Joined: Tue Feb 12, 2019 1:54 am

Re: WiFi not working, need help to fix it

#7

Post by Bijay » Thu Feb 14, 2019 11:08 pm

ok. I tried to install the driver into live USB system. but it returns error.

Code: Select all

demo@mx1:/media/demo/NEW VOLUME/rtlwifi_new-extended
$ make
make -C /lib/modules/4.19.0-1-amd64/build M=/media/demo/NEW VOLUME/rtlwifi_new-extended modules
make[1]: Entering directory '/usr/src/linux-headers-4.19.0-1-amd64'
arch/x86/Makefile:150: CONFIG_X86_X32 enabled but no binutils support
make[3]: *** No rule to make target 'VOLUME/rtlwifi_new-extended'.  Stop.
Makefile:146: recipe for target 'sub-make' failed
make[2]: *** [sub-make] Error 2
Makefile:8: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.19.0-1-amd64'
Makefile:87: recipe for target 'all' failed
make: *** [all] Error 2
demo@mx1:/media/demo/NEW VOLUME/rtlwifi_new-extended
$ 

Bijay
Forum Novice
Forum  Novice
Posts: 13
Joined: Tue Feb 12, 2019 1:54 am

Re: WiFi not working, need help to fix it

#8

Post by Bijay » Thu Feb 14, 2019 11:12 pm

what is next?

User avatar
JayM
Forum Regular
Forum Regular
Posts: 383
Joined: Tue Jan 08, 2019 4:47 am

Re: WiFi not working, need help to fix it

#9

Post by JayM » Fri Feb 15, 2019 12:46 am

It sounds like you first need to install some dependencies. From the README.md file in that wifi driver's .zip file:
#### Installation instruction
You can find <<YOUR WIRELESS DRIVER CODE>> using `lspci | grep Wireless`.
Afterwards, execute the following lines of codes in your shell:

```
You will need to install "make", "gcc", "kernel headers", "kernel build essentials", and "git".

If you are running Ubuntu, then

sudo apt-get install linux-headers-generic build-essential git

Please note the first paragraph above.

For all distros:
git clone https://github.com/lwfinger/rtlwifi_new.git
cd rtlwifi_new
make
sudo make install
sudo modprobe -r <<YOUR WIRELESS DRIVER CODE>>
sudo modprobe <<YOUR WIRELESS DRIVER CODE>>

#### Option configuration
If it turns out that your system needs one of the configuration options, then do the following:

sudo vim /etc/modprobe.d/<<YOUR WIRELESS DRIVER CODE>>.conf

There, enter the line below:
`options <<YOUR WIRELESS DRIVER CODE>> <<driver_option_name>>=<value>`

The ONLY option you are likely to need is "ant_sel". The penny-pinchers at some laptop vendors,
mostly HP, decided to save a few cents to install only one antenna. That would not have been a
problem as the driver contains the logic necessary to handle this case; however, the idiots
failed to correrctly encode that information in the devices ROM. Accordingly, the driver follow
the ROM setting and uses the WRONG antenna. Effectively, the device has NO usable antennas. To test
if this is the case on your system, please run the following commands (set 1):

DEVICE=$(iw dev | grep Interface | cut -d " " -f2)
sudo iw dev $DEVICE scan | egrep "SSID|signal|\(on"

If the signal for the AP to which you wish to connect is -60 or less, then you have this problem.
The fix is to supply the "ant_sel" option. Run the following commands (set 2):

sudo su -
echo "options rtl8723be ant_sel=2" > /etc/modprobe.d/50-rtl8723be.conf
exit

If you have an RTL8723DE, make the appropriate adjustments to the above command.

At this point, do a complete shutdown! The device may retain the old setting with a warm reboot.
To be safe, do a power off. After the system come back up, rerun the set 1 comamands again. If
The signals are now a lot stronger, you are done. If not, repeat command set 2 with "ant_sel=1".
If that does not help, I have no idea what is wrong.
Hope that helps. By the way, you already have make and gcc so you'd just need to install linux-headers-generic, build-essential and git, either from MX Tools/MX Package installer or using the "sudo apt-get install" command. Either one would work.
OS: MX-18.1 x64, Kernel: 4.9.160-antix.1-amd64-smp x86_64, CPU: AMD Athlon 64 X2 5000+ 2.6GHz, GPU: AMD RS780 (Radeon HD 3200), Mobo: ASRock A780GM-LE, BIOS: AMI P1.50 (5/25/2010), HDs: WD 500GB+SG Barracuda 1TB, Memory: 2x4GB 400MHz DDR2

Bijay
Forum Novice
Forum  Novice
Posts: 13
Joined: Tue Feb 12, 2019 1:54 am

Re: WiFi not working, need help to fix it

#10

Post by Bijay » Fri Feb 15, 2019 6:22 am

Hi
according to the manual...

Code: Select all

$ lspci | grep Wireless
returns nothing.

according to the manual....

Code: Select all

demo@mx1:~
$ sudo apt-get install linux-headers-generic build-essential git
We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:

#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.

[sudo] password for demo:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package linux-headers-generic is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'linux-headers-generic' has no installation candidate
demo@mx1:~
:confused: outcomes of a live system with tethered net connection

Post Reply

Return to “Hardware /Configuration”