Another setup WiFi Question

Questions about Wi-Fi and other network devices, file sharing, firewalls, connection sharing etc
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
miknun
Level 3
Level 3
Posts: 131
Joined: Thu Mar 15, 2018 7:44 am

Another setup WiFi Question

Post by miknun »

Code: Select all

ser@user-Latitude-E6540:~$ inxi -Fxz
System:
  Kernel: 5.15.0-89-generic x86_64 bits: 64 compiler: gcc v: 11.4.0
    Desktop: Cinnamon 5.6.8 Distro: Linux Mint 21.1 Vera
    base: Ubuntu 22.04 jammy
Machine:
  Type: Laptop System: Dell product: Latitude E6540 v: 00
    serial: <superuser required>
  Mobo: Dell model: 0G83RY v: A00 serial: <superuser required> UEFI: Dell
    v: A27 date: 06/13/2019
Battery:
  ID-1: BAT0 charge: 19.1 Wh (100.0%) condition: 19.1/66.6 Wh (28.6%)
    volts: 12.5 min: 11.1 model: SMP DELL HTX4D2A status: Full
CPU:
  Info: dual core model: Intel Core i5-4210M bits: 64 type: MT MCP
    arch: Haswell rev: 3 cache: L1: 128 KiB L2: 512 KiB L3: 3 MiB
  Speed (MHz): avg: 1697 high: 2230 min/max: 800/3200 cores: 1: 1527 2: 898
    3: 2230 4: 2136 bogomips: 20753
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: Intel 4th Gen Core Processor Integrated Graphics vendor: Dell
    driver: i915 v: kernel bus-ID: 00:02.0
  Device-2: Microdia Integrated Webcam type: USB driver: uvcvideo
    bus-ID: 1-1.5:3
  Display: x11 server: X.Org v: 1.21.1.4 driver: X: loaded: modesetting
    unloaded: fbdev,vesa gpu: i915 resolution: 1920x1080~60Hz
  OpenGL: renderer: Mesa Intel HD Graphics 4600 (HSW GT2)
    v: 4.6 Mesa 23.0.4-0ubuntu1~22.04.1 direct render: Yes
Audio:
  Device-1: Intel Xeon E3-1200 v3/4th Gen Core Processor HD Audio
    vendor: Dell driver: snd_hda_intel v: kernel bus-ID: 00:03.0
  Device-2: Intel 8 Series/C220 Series High Definition Audio vendor: Dell
    driver: snd_hda_intel v: kernel bus-ID: 00:1b.0
  Sound Server-1: ALSA v: k5.15.0-89-generic running: yes
  Sound Server-2: PulseAudio v: 15.99.1 running: yes
  Sound Server-3: PipeWire v: 0.3.48 running: yes
Network:
  Device-1: Intel Ethernet I217-LM vendor: Dell driver: e1000e v: kernel
    port: f080 bus-ID: 00:19.0
  IF: eno1 state: up speed: 1000 Mbps duplex: full mac: <filter>
  Device-2: Intel Centrino Advanced-N 6235 driver: N/A bus-ID: 03:00.0
  IF-ID-1: wwan0 state: down mac: <filter>
Bluetooth:
  Device-1: Intel Centrino Bluetooth Wireless Transceiver type: USB
    driver: btusb v: 0.8 bus-ID: 2-1.5:3
  Report: hciconfig ID: hci0 rfk-id: 1 state: up address: <filter>
    bt-v: 2.1 lmp-v: 4.0
Drives:
  Local Storage: total: 2.11 TiB used: 557.95 GiB (25.8%)
  ID-1: /dev/sda vendor: Western Digital model: WD3200LPLX-75ZNTT0
    size: 298.09 GiB
  ID-2: /dev/sdb type: USB vendor: Seagate model: Expansion size: 1.82 TiB
Partition:
  ID-1: / size: 291.86 GiB used: 53.73 GiB (18.4%) fs: ext4 dev: /dev/sda2
  ID-2: /boot/efi size: 511 MiB used: 6.1 MiB (1.2%) fs: vfat
    dev: /dev/sda1
Swap:
  ID-1: swap-1 type: file size: 2 GiB used: 1 MiB (0.0%) file: /swapfile
Sensors:
  System Temperatures: cpu: 49.0 C mobo: 46.0 C sodimm: SODIMM C
  Fan Speeds (RPM): cpu: 0
Info:
  Processes: 251 Uptime: 1h 13m Memory: 7.66 GiB used: 2.93 GiB (38.3%)
  Init: systemd runlevel: 5 Compilers: gcc: 11.4.0 Packages: 2623 Shell: Bash
  v: 5.1.16 inxi: 3.3.13
user@user-Latitude-E6540:~$ 
I have a Wifi printer which works but not with my new laptop.
I realise that the laptop has no WiFi included so I have bought an AC1300 Dual Band USB WiFi Adapter, but I still can't get any communication to the printer.
Any help will be most appreciated
Mike
JeremyB
Level 21
Level 21
Posts: 13643
Joined: Fri Feb 21, 2014 8:17 am

Re: Another setup WiFi Question

Post by JeremyB »

Please see the wireless script link in my signature and post results, the Intel 6235 is supported
miknun
Level 3
Level 3
Posts: 131
Joined: Thu Mar 15, 2018 7:44 am

Re: Another setup WiFi Question

Post by miknun »

I seem to have got into a bit of a mess with the new format. But I hope the posted replies are correct.

user@user-Latitude-E6540:~$ wget -N -t 5 -T 10 https://github.com/UbuntuForums/wireles ... eless-info && chmod +x wireless-info && ./wireless-info
--2023-11-30 18:27:57-- https://github.com/UbuntuForums/wireles ... eless-info
Resolving github.com (github.com)... 140.82.121.3
Connecting to github.com (github.com)|140.82.121.3|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://raw.githubusercontent.com/Ubunt ... eless-info [following]
--2023-11-30 18:27:57-- https://raw.githubusercontent.com/Ubunt ... eless-info
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.110.133, 185.199.108.133, 185.199.111.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.110.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 17534 (17K) [text/plain]
Saving to: ‘wireless-info’

wireless-info 100%[===================>] 17.12K --.-KB/s in 0.05s

Last-modified header missing -- time-stamps turned off.
2023-11-30 18:27:58 (334 KB/s) - ‘wireless-info’ saved [17534/17534]


Results saved in "/home/user/wireless-info.txt".

user@user-Latitude-E6540:~$ cat wireless.txt | nc termbin.com 9999
cat: wireless.txt: No such file or directory
user@user-Latitude-E6540:~$
JeremyB
Level 21
Level 21
Posts: 13643
Joined: Fri Feb 21, 2014 8:17 am

Re: Another setup WiFi Question

Post by JeremyB »

It is

Code: Select all

cat wireless-info.txt|nc termbin.com 9999
miknun
Level 3
Level 3
Posts: 131
Joined: Thu Mar 15, 2018 7:44 am

Re: Another setup WiFi Question

Post by miknun »

user@user-Latitude-E6540:~$ cat wireless-info.txt|nc termbin.com 9999
https://termbin.com/nvb0
user@user-Latitude-E6540:~$
JeremyB
Level 21
Level 21
Posts: 13643
Joined: Fri Feb 21, 2014 8:17 am

Re: Another setup WiFi Question

Post by JeremyB »

In terminal

Code: Select all

echo "blacklist dell-wmi"|sudo tee /etc/modprobe.d/dell-wmi.conf
Reboot
miknun
Level 3
Level 3
Posts: 131
Joined: Thu Mar 15, 2018 7:44 am

Re: Another setup WiFi Question

Post by miknun »

user@user-Latitude-E6540:~$ echo "blacklist dell-wmi"|sudo tee /etc/modprobe.d/dell-wmi.conf
[sudo] password for user:
blacklist dell-wmi
user@user-Latitude-E6540:~$

I have rebooted
Still no Wi-Fi to the printer
JeremyB
Level 21
Level 21
Posts: 13643
Joined: Fri Feb 21, 2014 8:17 am

Re: Another setup WiFi Question

Post by JeremyB »

Do

Code: Select all

sudo rm /etc/modprobe.d/dell-wmi.conf
Find the wifi switch to enable wifi, might be on the right side
miknun
Level 3
Level 3
Posts: 131
Joined: Thu Mar 15, 2018 7:44 am

Re: Another setup WiFi Question

Post by miknun »

ser@user-Latitude-E6540:~$ cat wireless-info.txt|nc termbin.com 9999
https://termbin.com/cm68
user@user-Latitude-E6540:~$ cat wireless-info.txt|nc termbin.com 9999
https://termbin.com/1oxs
user@user-Latitude-E6540:~$ echo "blacklist dell-wmi"|sudo tee /etc/modprobe.d/dell-wmi.conf
[sudo] password for user:
blacklist dell-wmi
user@user-Latitude-E6540:~$
JeremyB
Level 21
Level 21
Posts: 13643
Joined: Fri Feb 21, 2014 8:17 am

Re: Another setup WiFi Question

Post by JeremyB »

Try moving the small switch just above the DVD drive
miknun
Level 3
Level 3
Posts: 131
Joined: Thu Mar 15, 2018 7:44 am

Re: Another setup WiFi Question

Post by miknun »

I have moved the Wi-Fi switch on the laptop and run the script you sent
user@user-Latitude-E6540:~$ ^[[200~wget -N -t 5 -T 10 https://github.com/UbuntuForums/wireles ... eless-info && chmod +x wireless-info && ./wireless-info
wget: command not found
user@user-Latitude-E6540:~$
user@user-Latitude-E6540:~$ Cod~
Cod~: command not found
user@user-Latitude-E6540:~$ cat wireless-info.txt | nc termbin.com 9999
https://termbin.com/hywj
user@user-Latitude-E6540:~$

I am beginning to think the Wi-Fi dongle i bought isn't the correct one.
If it helps I will happily buy another dongle that will do the job.
JeremyB
Level 21
Level 21
Posts: 13643
Joined: Fri Feb 21, 2014 8:17 am

Re: Another setup WiFi Question

Post by JeremyB »

Try

Code: Select all

echo "blacklist dell_wmi" | sudo tee /etc/modprobe.d/dell-wmi.conf
sudo apt remove backport-iwlwifi-dkms
Reboot
miknun
Level 3
Level 3
Posts: 131
Joined: Thu Mar 15, 2018 7:44 am

Re: Another setup WiFi Question

Post by miknun »

sudo apt remove backport-iwlwifi-dkms
[sudo] password for user:
blacklist dell_wmi
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package 'backport-iwlwifi-dkms' is not installed, so not removed
The following packages were automatically installed and are no longer required:
libwmf0.2-7 linux-headers-5.15.0-83 linux-headers-5.15.0-83-generic
linux-headers-5.15.0-84 linux-headers-5.15.0-84-generic
linux-headers-5.15.0-86 linux-headers-5.15.0-86-generic
linux-image-5.15.0-83-generic linux-image-5.15.0-84-generic
linux-image-5.15.0-86-generic linux-modules-5.15.0-83-generic
linux-modules-5.15.0-84-generic linux-modules-5.15.0-86-generic
linux-modules-extra-5.15.0-83-generic linux-modules-extra-5.15.0-84-generic
linux-modules-extra-5.15.0-86-generic
Use 'sudo apt autoremove' to remove them.
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
user@user-Latitude-E6540:~$ sudo apt autoremove
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be REMOVED
libwmf0.2-7 linux-headers-5.15.0-83 linux-headers-5.15.0-83-generic
linux-headers-5.15.0-84 linux-headers-5.15.0-84-generic
linux-headers-5.15.0-86 linux-headers-5.15.0-86-generic
linux-image-5.15.0-83-generic linux-image-5.15.0-84-generic
linux-image-5.15.0-86-generic linux-modules-5.15.0-83-generic
linux-modules-5.15.0-84-generic linux-modules-5.15.0-86-generic
linux-modules-extra-5.15.0-83-generic linux-modules-extra-5.15.0-84-generic
linux-modules-extra-5.15.0-86-generic
0 to upgrade, 0 to newly install, 16 to remove and 0 not to upgrade.
After this operation, 1,745 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 738419 files and directories currently installed.)
Removing libwmf0.2-7:amd64 (0.2.12-5ubuntu1) ...
Removing linux-headers-5.15.0-83-generic (5.15.0-83.92) ...
Removing linux-headers-5.15.0-83 (5.15.0-83.92) ...
Removing linux-headers-5.15.0-84-generic (5.15.0-84.93) ...
Removing linux-headers-5.15.0-84 (5.15.0-84.93) ...
Removing linux-headers-5.15.0-86-generic (5.15.0-86.96) ...
Removing linux-headers-5.15.0-86 (5.15.0-86.96) ...
Removing linux-modules-extra-5.15.0-83-generic (5.15.0-83.92) ...
Removing linux-modules-extra-5.15.0-84-generic (5.15.0-84.93) ...
Removing linux-modules-extra-5.15.0-86-generic (5.15.0-86.96) ...
Removing linux-image-5.15.0-83-generic (5.15.0-83.92) ...
/etc/kernel/postrm.d/initramfs-tools:
update-initramfs: Deleting /boot/initrd.img-5.15.0-83-generic
/etc/kernel/postrm.d/zz-update-grub:
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/50_linuxmint.cfg'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.15.0-89-generic
Found initrd image: /boot/initrd.img-5.15.0-89-generic
Found linux image: /boot/vmlinuz-5.15.0-88-generic
Found initrd image: /boot/initrd.img-5.15.0-88-generic
Found linux image: /boot/vmlinuz-5.15.0-86-generic
Found initrd image: /boot/initrd.img-5.15.0-86-generic
Found linux image: /boot/vmlinuz-5.15.0-84-generic
Found initrd image: /boot/initrd.img-5.15.0-84-generic
Found linux image: /boot/vmlinuz-5.15.0-56-generic
Found initrd image: /boot/initrd.img-5.15.0-56-generic
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot
entries.
Adding boot menu entry for UEFI Firmware Settings ...
done
Removing linux-image-5.15.0-84-generic (5.15.0-84.93) ...
/etc/kernel/postrm.d/initramfs-tools:
update-initramfs: Deleting /boot/initrd.img-5.15.0-84-generic
/etc/kernel/postrm.d/zz-update-grub:
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/50_linuxmint.cfg'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.15.0-89-generic
Found initrd image: /boot/initrd.img-5.15.0-89-generic
Found linux image: /boot/vmlinuz-5.15.0-88-generic
Found initrd image: /boot/initrd.img-5.15.0-88-generic
Found linux image: /boot/vmlinuz-5.15.0-86-generic
Found initrd image: /boot/initrd.img-5.15.0-86-generic
Found linux image: /boot/vmlinuz-5.15.0-56-generic
Found initrd image: /boot/initrd.img-5.15.0-56-generic
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot
entries.
Adding boot menu entry for UEFI Firmware Settings ...
done
Removing linux-image-5.15.0-86-generic (5.15.0-86.96) ...
/etc/kernel/postrm.d/initramfs-tools:
update-initramfs: Deleting /boot/initrd.img-5.15.0-86-generic
/etc/kernel/postrm.d/zz-update-grub:
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/50_linuxmint.cfg'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.15.0-89-generic
Found initrd image: /boot/initrd.img-5.15.0-89-generic
Found linux image: /boot/vmlinuz-5.15.0-88-generic
Found initrd image: /boot/initrd.img-5.15.0-88-generic
Found linux image: /boot/vmlinuz-5.15.0-56-generic
Found initrd image: /boot/initrd.img-5.15.0-56-generic
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot
entries.
Adding boot menu entry for UEFI Firmware Settings ...
done
Removing linux-modules-5.15.0-83-generic (5.15.0-83.92) ...
Removing linux-modules-5.15.0-84-generic (5.15.0-84.93) ...
Removing linux-modules-5.15.0-86-generic (5.15.0-86.96) ...
user@user-Latitude-E6540:~$


The wireless sign showed on the laptop during the reboot
JeremyB
Level 21
Level 21
Posts: 13643
Joined: Fri Feb 21, 2014 8:17 am

Re: Another setup WiFi Question

Post by JeremyB »

Code: Select all

dpkg -l|grep iwlwifi
Somehow the iwlwifi backports are involved as this was in previous results iwlwifi-stack-public:master:9858:4c7cba27
miknun
Level 3
Level 3
Posts: 131
Joined: Thu Mar 15, 2018 7:44 am

Re: Another setup WiFi Question

Post by miknun »

OK, how can I get around or utilise these back ports?
JeremyB
Level 21
Level 21
Posts: 13643
Joined: Fri Feb 21, 2014 8:17 am

Re: Another setup WiFi Question

Post by JeremyB »

They have to be removed as they interfere with other wifi drivers and they only support the newest Intel wifi devices
miknun
Level 3
Level 3
Posts: 131
Joined: Thu Mar 15, 2018 7:44 am

Re: Another setup WiFi Question

Post by miknun »

how can I remove these, and or what devices will work with them.
miknun
Level 3
Level 3
Posts: 131
Joined: Thu Mar 15, 2018 7:44 am

Re: Another setup WiFi Question

Post by miknun »

Hello Jeremy B
I tried to follow what you did, but I am afraid the coding was a bit too much for me. However somewhere along the line, you have cured my problem. The Laptop's WiFi is now working correctly. Thank you very much.
Mike
JeremyB
Level 21
Level 21
Posts: 13643
Joined: Fri Feb 21, 2014 8:17 am

Re: Another setup WiFi Question

Post by JeremyB »

You are probably using a newer kernel now and the backports didn't get included because it wasn't installed using dkms, you can check the kernel version with uname -r
I see 5.15.0-91 is in my update list
miknun
Level 3
Level 3
Posts: 131
Joined: Thu Mar 15, 2018 7:44 am

Re: Another setup WiFi Question

Post by miknun »

5.15.0-89-generic
Post Reply

Return to “Networking”