Peppermint OS

Support => New Users => Topic started by: Lin_Noob on May 26, 2019, 12:15:59 pm

Title: How to scan for WiFi (SOLVED)
Post by: Lin_Noob on May 26, 2019, 12:15:59 pm
Hello, I’m brand new to Linux and need to know how to scan for WiFi, when I pull up network connections I don’t see an option to look for WiFi?
I’m learning on my own but it’d be nice to have WiFi to help me learn. I’ve googled extensively and I’m not sure what I should do.
Title: Re: How to scan for WiFi
Post by: PCNetSpec on May 26, 2019, 12:20:58 pm
Open a terminal and post the output from these 3 commands
Code: [Select]
iwlist scanand
Code: [Select]
rfkill listand
Code: [Select]
lshw -C network
Title: Re: How to scan for WiFi
Post by: Lin_Noob on May 26, 2019, 12:27:25 pm
I’ve tried that and it tells me
eno1 Interface doesn’t support scanning.

lo Interface doesn’t support scanning

:(
Title: Re: How to scan for WiFi
Post by: PCNetSpec on May 26, 2019, 12:30:54 pm
And the output from other two commands ?

because it doesn't look like your wireless card is being recognised.
Title: Re: How to scan for WiFi
Post by: Lin_Noob on May 26, 2019, 12:33:57 pm
rfkill list
   hci0: Bluetooth
    Soft blocked: no
    Hard blocked: no

iwconfig
eno1    No wireless extension
lo         No wireless extension

Title: Re: How to scan for WiFi
Post by: Lin_Noob on May 26, 2019, 12:36:54 pm
Network controller is a Realtek Device d723
Title: Re: How to scan for WiFi
Post by: Lin_Noob on May 26, 2019, 12:57:02 pm
Update: I installed the drivers I needed but to enable them it had me crest a password, I have no idea where to enter said password
Title: Re: How to scan for WiFi
Post by: PCNetSpec on May 26, 2019, 01:15:15 pm
You'll have to explain that a little better .. where did you get these drivers ?
Title: Re: How to scan for WiFi
Post by: Lin_Noob on May 26, 2019, 03:34:35 pm
I followed these steps
https://askubuntu.com/questions/983251/realtek-semiconductor-rtl8723de-device-d723-issue
And it said I would need to set a password to enter upon reboot. Nothing happened when I rebooted...
Title: Re: How to scan for WiFi
Post by: Lin_Noob on May 26, 2019, 03:37:33 pm
I have the driver, I have no idea how to activate it.
Title: Re: How to scan for WiFi
Post by: Lin_Noob on May 26, 2019, 03:52:34 pm
Okay I have followed these steps and the module is installed
http://ubuntuhandbook.org/index.php/2019/04/nstall-rtl8723de-wifi-driver-ubuntu-19-04/
But my WiFi still does not work, so I try to load the module using
sudo modprobe -r rtl8723de && Sufi modprobe rtl8723de

When I try that I get the message
ERROR: could not insert rtl8723de : Operation not performed
Title: Re: How to scan for WiFi
Post by: PCNetSpec on May 27, 2019, 11:06:31 am
You're not helping yourself here

a) you're not answering questions asked
and
b) you're not being very descriptive .. I mean you say you followed those instructions, but which ones (there's more than one) ?

And where did you get
Code: [Select]
sudo modprobe -r rtl8723de && Sufi modprobe rtl8723defrom ?

When posting commands and output can you also be careful to post them EXACTLY as entered
Code: [Select]
sudo modprobe -r rtl8723de && Sufi modprobe rtl8723deshould have just errored out because it should probably be
Code: [Select]
sudo modprobe -r rtl8723de && sudo modprobe rtl8723de
Title: Re: How to scan for WiFi
Post by: Lin_Noob on May 28, 2019, 10:49:51 am
Sorry, I've been posting from my phone until now. Let me restart. The drivers for my Wifi card are not installed by default. I found them on this Github and downloaded all of them. https://github.com/lwfinger/rtlwifi_new
Then I installed the one for my specific device, rtl8723, my wifi is still not able to scan however. I did install the file rtl8723de, I see now that there are several other rtl8723de files in that repository. Any Idea on finding out which one I should install? I see an 8723ae, 8723com, and 8723be in there as well. Once I have the right driver installed should my Wifi begin to scan after reboot?
Title: Re: How to scan for WiFi
Post by: PCNetSpec on May 28, 2019, 11:03:48 am
What's the output from
Code: [Select]
sudo lshw -C networkand if it's a USB wireless adapter
Code: [Select]
lsusband if not USB
Code: [Select]
lspci -vnn | grep -i net
Title: Re: How to scan for WiFi
Post by: Lin_Noob on May 29, 2019, 04:19:28 pm
pep@pep-HP-Laptop-17-bs0xx ~ $ sudo lshw -C network
[sudo] password for pep:
  *-network                 
       description: Ethernet interface
       product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:01:00.0
       logical name: eno1
       version: 15
       serial: ac:e2:d3:04:74:94
       size: 10Mbit/s
       capacity: 1Gbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=half firmware=rtl8168h-2_0.0.2 02/26/15 latency=0 link=no multicast=yes port=MII speed=10Mbit/s
       resources: irq:16 ioport:4000(size=256) memory:b1104000-b1104fff memory:b1100000-b1103fff
  *-network UNCLAIMED
       description: Network controller
       product: Realtek Semiconductor Co., Ltd.
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:02:00.0
       version: 00
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress cap_list
       configuration: latency=0
       resources: ioport:3000(size=256) memory:b1000000-b100ffff
pep@pep-HP-Laptop-17-bs0xx ~ $ lspci -vnn |grep -i net
libkmod: ERROR ../libkmod/libkmod-config.c:656 kmod_config_parse: /etc/modprobe.d/rtl8723de.conf line 1: ignoring bad line starting with 'operations'
01:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 15)
   Subsystem: Hewlett-Packard Company RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [103c:8339]
02:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. Device [10ec:d723]

hope this helps you help me
Title: Re: How to scan for WiFi
Post by: PCNetSpec on May 29, 2019, 04:36:52 pm
What's the output from:
Code: [Select]
cat /etc/modprobe.d/rtl8723de.conf
Title: Re: How to scan for WiFi
Post by: Lin_Noob on May 29, 2019, 04:43:04 pm
operations rtl8723de ant_sel=2
Title: Re: How to scan for WiFi
Post by: PCNetSpec on May 29, 2019, 07:31:44 pm
I don't know if this is the problem (or if it's even right that is there at all), but (if anything) that should read
Code: [Select]
options rtl8723de ant_sel=2so run:
Code: [Select]
gksudo xed /etc/modprobe.d/rtl8723de.confchange it to read
Code: [Select]
options rtl8723de ant_sel=2SAVE the file and exit the text editor.

Now what happens when you run:
Code: [Select]
sudo modprobe rtl8723dedo you get any error ?

if not, does wireless work ?

If not, what's the output from:
Code: [Select]
modinfo rtl8723de
Title: Re: How to scan for WiFi
Post by: Lin_Noob on May 30, 2019, 07:54:22 pm
aahhhh I thought that was it for sure, so I changed operations to options in the text ediotr and saved and exited and then I got this.

pep@pep-HP-Laptop-17-bs0xx ~ $ gksudo xed /etc/modprobe.d/rtl8723de.conf

(xed:7036): Gtk-CRITICAL **: 21:50:42.857: _gtk_widget_captured_event: assertion 'WIDGET_REALIZED_FOR_EVENT (widget, event)' failed

(xed:7036): Gtk-CRITICAL **: 21:50:42.857: _gtk_widget_captured_event: assertion 'WIDGET_REALIZED_FOR_EVENT (widget, event)' failed

(xed:7036): Gtk-CRITICAL **: 21:50:42.858: _gtk_widget_captured_event: assertion 'WIDGET_REALIZED_FOR_EVENT (widget, event)' failed

(xed:7036): Gtk-CRITICAL **: 21:50:42.858: _gtk_widget_captured_event: assertion 'WIDGET_REALIZED_FOR_EVENT (widget, event)' failed

(xed:7036): Gtk-CRITICAL **: 21:50:42.858: _gtk_widget_captured_event: assertion 'WIDGET_REALIZED_FOR_EVENT (widget, event)' failed

** (xed:7036): WARNING **: 21:50:43.085: Set document metadata failed: Setting attribute metadata::xed-encoding not supported

** (xed:7036): WARNING **: 21:50:43.085: Set document metadata failed: Setting attribute metadata::xed-spell-language not supported

** (xed:7036): WARNING **: 21:50:45.895: Set document metadata failed: Setting attribute metadata::xed-position not supported
pep@pep-HP-Laptop-17-bs0xx ~ $ sudo modprobe rtl8723de
[sudo] password for pep:
modprobe: ERROR: could not insert 'rtl8723de': Operation not permitted
Title: Re: How to scan for WiFi
Post by: PCNetSpec on May 31, 2019, 10:42:46 am
Odd, can you give me the output from
Code: [Select]
modinfo rtl8723deas asked ?

and the output from
Code: [Select]
lsmod


BTW, you can safely ignore those xed warnings in the terminal.
Title: Re: How to scan for WiFi
Post by: Lin_Noob on May 31, 2019, 02:05:36 pm
Okay thanks,
I got
Code: [Select]
modinfo rtl8723de
filename:       /lib/modules/4.18.0-18-generic/updates/rtl8723de.ko
firmware:       rtlwifi/rtl8723defw.bin
description:    Realtek 8723DE 802.11n PCI wireless
license:        GPL
author:         Realtek WlanFAE <wlanfae@realtek.com>
author:         PageHe <page_he@realsil.com.cn>
srcversion:     225860B994CF8C6352A5C7A
alias:          pci:v000010ECd0000D723sv*sd*bc*sc*i*
depends:        rtlwifi,rtl_pci,btcoexist,rtl8723-common,phydm_mod
retpoline:      Y
name:           rtl8723de
vermagic:       4.18.0-18-generic SMP mod_unload
signat:         PKCS#7
signer:         
sig_key:       
sig_hashalgo:   md4
parm:           dma64:bool
parm:           swenc:Set to 1 for software crypto (default 0) (bool)
parm:           ips:Set to 0 to not use link power save (default 1) (bool)
parm:           swlps:Set to 1 to use SW control power save (default 0) (bool)
parm:           fwlps:Set to 1 to use FW control power save (default 1) (bool)
parm:           msi:Set to 1 to use MSI interrupts mode (default 1) (bool)
parm:           aspm:Set to 1 to enable ASPM (default 0) (int)
parm:           debug_level:Set debug level (0-5) (default 0) (int)
parm:           debug_mask:Set debug mask (default 0) (ullong)
parm:           disable_watchdog:Set to 1 to disable the watchdog (default 0) (bool)
parm:           int_clear:Set to 0 to disable interrupt clear before set (default 0) (bool)
parm:           ant_sel:Set to 1 or 2 to force antenna number (default 0) (int)
Code: [Select]
pep@pep-HP-Laptop-17-bs0xx ~ $ lsmod
Module                  Size  Used by
rfcomm                 77824  16
cmac                   16384  1
bnep                   20480  3
nls_iso8859_1          16384  1
hp_wmi                 16384  0
mac80211              802816  0
wmi_bmof               16384  0
intel_wmi_thunderbolt    16384  0
cfg80211              667648  1 mac80211
uvcvideo               94208  0
videobuf2_vmalloc      16384  1 uvcvideo
videobuf2_memops       16384  1 videobuf2_vmalloc
videobuf2_v4l2         24576  1 uvcvideo
videobuf2_common       40960  2 videobuf2_v4l2,uvcvideo
videodev              188416  3 videobuf2_v4l2,uvcvideo,videobuf2_common
media                  40960  2 videodev,uvcvideo
snd_hda_codec_hdmi     49152  1
snd_hda_codec_realtek   106496  1
snd_hda_codec_generic    73728  1 snd_hda_codec_realtek
intel_rapl             20480  0
x86_pkg_temp_thermal    16384  0
intel_powerclamp       16384  0
coretemp               16384  0
kvm                   626688  0
irqbypass              16384  1 kvm
crct10dif_pclmul       16384  0
crc32_pclmul           16384  0
ghash_clmulni_intel    16384  0
pcbc                   16384  0
aesni_intel           200704  2
aes_x86_64             20480  1 aesni_intel
crypto_simd            16384  1 aesni_intel
cryptd                 24576  3 crypto_simd,ghash_clmulni_intel,aesni_intel
glue_helper            16384  1 aesni_intel
intel_cstate           20480  0
intel_rapl_perf        16384  0
i915                 1740800  12
joydev                 24576  0
input_leds             16384  0
serio_raw              16384  0
btusb                  45056  0
btrtl                  16384  1 btusb
btbcm                  16384  1 btusb
btintel                20480  1 btusb
snd_soc_skl           102400  0
bluetooth             552960  45 btrtl,btintel,btbcm,bnep,btusb,rfcomm
snd_soc_skl_ipc        61440  1 snd_soc_skl
snd_soc_sst_ipc        16384  1 snd_soc_skl_ipc
snd_soc_sst_dsp        32768  1 snd_soc_skl_ipc
snd_hda_ext_core       24576  1 snd_soc_skl
ecdh_generic           24576  2 bluetooth
snd_soc_acpi           16384  1 snd_soc_skl
snd_soc_core          229376  1 snd_soc_skl
wmi                    24576  3 hp_wmi,intel_wmi_thunderbolt,wmi_bmof
snd_compress           20480  1 snd_soc_core
ac97_bus               16384  1 snd_soc_core
snd_pcm_dmaengine      16384  1 snd_soc_core
snd_hda_intel          40960  3
snd_hda_codec         126976  4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
snd_hda_core           81920  7 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_ext_core,snd_hda_codec,snd_hda_codec_realtek,snd_soc_skl
intel_vbtn             16384  0
drm_kms_helper        172032  1 i915
snd_hwdep              20480  1 snd_hda_codec
snd_pcm                98304  8 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_ext_core,snd_hda_codec,snd_soc_core,snd_soc_skl,snd_hda_core,snd_pcm_dmaengine
drm                   458752  13 drm_kms_helper,i915
sparse_keymap          16384  2 hp_wmi,intel_vbtn
int3400_thermal        16384  0
snd_timer              32768  1 snd_pcm
snd                    81920  16 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_compress,snd_soc_core,snd_pcm
i2c_algo_bit           16384  1 i915
mac_hid                16384  0
intel_pch_thermal      16384  0
soundcore              16384  1 snd
mei_me                 40960  0
fb_sys_fops            16384  1 drm_kms_helper
syscopyarea            16384  1 drm_kms_helper
processor_thermal_device    16384  0
sysfillrect            16384  1 drm_kms_helper
hp_wireless            16384  0
intel_soc_dts_iosf     16384  1 processor_thermal_device
sysimgblt              16384  1 drm_kms_helper
acpi_thermal_rel       16384  1 int3400_thermal
mei                    98304  1 mei_me
int3403_thermal        16384  0
video                  45056  1 i915
int340x_thermal_zone    16384  2 int3403_thermal,processor_thermal_device
acpi_pad              180224  0
sch_fq_codel           20480  3
sunrpc                352256  1
parport_pc             36864  0
ppdev                  20480  0
lp                     20480  0
parport                49152  3 parport_pc,lp,ppdev
ip_tables              28672  0
x_tables               40960  1 ip_tables
autofs4                40960  2
btrfs                1163264  0
xor                    24576  1 btrfs
zstd_compress         163840  1 btrfs
raid6_pq              114688  1 btrfs
libcrc32c              16384  1 btrfs
ahci                   40960  2
psmouse               151552  0
r8169                  86016  0
libahci                32768  1 ahci
mii                    16384  1 r8169
Title: Re: How to scan for WiFi
Post by: PCNetSpec on May 31, 2019, 03:09:45 pm
Okay type
Code: [Select]
sudo modprobe rtl8723deand hit enter

you will be prompted for your password .. type it, then hit enter.

Be aware you won't see anything echoed to screen when typing your password (not even ******) but it is going in, so just type it and hit enter.

did you still get the

Quote
modprobe: ERROR: could not insert 'rtl8723de': Operation not permitted

edrror ?
Title: Re: How to scan for WiFi
Post by: Lin_Noob on June 01, 2019, 10:19:39 am
Yep, I got the same output :(

pep@pep-HP-Laptop-17-bs0xx ~ $ sudo modprobe rtl8723de
[sudo] password for pep:
modprobe: ERROR: could not insert 'rtl8723de': Operation not permitted
Title: Re: How to scan for WiFi
Post by: PCNetSpec on June 01, 2019, 10:42:45 am
What's the output from:
Code: [Select]
dkms status
Title: Re: How to scan for WiFi
Post by: Lin_Noob on June 01, 2019, 11:29:57 am
dkms status
rtlwifi-new, 0.6, 4.18.0-18-generic, x86_64: installed (original_module exist
Title: Re: How to scan for WiFi
Post by: PCNetSpec on June 01, 2019, 01:42:38 pm
Run these commands in sequence (with an active internet connection):
Code: [Select]
sudo apt-get install dkms gitthen
Code: [Select]
sudo rm -v /etc/modprobe.d/rtl8723de.confthen
Code: [Select]
sudo dkms uninstall rtlwifi-new/0.6then
Code: [Select]
sudo dkms remove rtlwifi-new/0.6 --allthen
Code: [Select]
mkdir ~/Realtek-rtl8723dethen
Code: [Select]
cd ~/Realtek-rtl8723dethen
Code: [Select]
sudo git clone https://github.com/smlinux/rtl8723de.git -b 4.15-upthen
Code: [Select]
sudo dkms add ./rtl8723dethen
Code: [Select]
sudo dkms install rtl8723de/5.1.1.8_21285.20171026_COEX20170111-1414then
Code: [Select]
sudo depmod -anow does running
Code: [Select]
sudo modprobe rtl8723dework, and did wireless spring to life ?

If so, does it survive a reboot ?



TO UNINSTALL

Code: [Select]
sudo rmmod 8723dethen
Code: [Select]
sudo dkms uninstall rtl8723de/5.1.1.8_21285.20171026_COEX20170111-1414then
Code: [Select]
sudo dkms remove rtl8723de/5.1.1.8_21285.20171026_COEX20170111-1414 --all
Title: Re: How to scan for WiFi
Post by: Lin_Noob on June 02, 2019, 06:13:19 pm
It works! Thanks so much dude! I don't understand all that wizardry but it's working perfectly now.

Thanks so much man.
Title: Re: How to scan for WiFi
Post by: PCNetSpec on June 03, 2019, 06:05:53 am
You're most welcome, glad I could help :)

Can you please remember to mark your topics (SOLVED) when you consider them so. You can do this by editing the FIRST posting in your topic and appending (SOLVED) to the subject line.

TIA :)

PS. I've done this one for you.
Title: Re: How to scan for WiFi (SOLVED)
Post by: Lin_Noob on June 03, 2019, 03:50:03 pm
I’m sorry, tagging this as solved was the first thing I tried to do once I connected to my WiFi but I couldn’t find the edit button... lol thanks again!