Wifi not working with Intel PRO/Wireless 4965

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.
Sojib

Wifi not working with Intel PRO/Wireless 4965

Post by Sojib »

Hi guys.
I am a new user in the linux world..
Recently i'have got a old pc and windows 7 was heavier for that so i have decided to install linux on my pc.

Firstly i install lubuntu..
But after installation i can't get any network access. I can connect to the wifi but there is no internet coming from that..Other devices are working fine with that same wifi connection.I have tried a lot of things but i could not able to solve that.

So i thought i will install kali linux.
But after install kali linux i was like what is this!!? Even i cant install an app without any command. That os is for very highly professional people. Still i wanted to stick with kali linux because it was running smoothly. And i will just use 2 application. One is Atom(an ide for programmin) and chrome. But after that i found another problem that was slow network. So i tried to solve that.I posted the problem in a facebook group which is about kali but they heavily criticised me!.
Still i found some solution in google. And i understand that it was for network repository. I changed that also added dns etc. But still i couldn’t fix that.


Then i heard linux mint is the best for new user who are used to with windows.
So i had some question and i need answer of them before switching to another os.

** Do linux mint have any network related problem? Like slow internet and not having any internet at all?
**And can a windows user operate linux mint?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
xenopeek
Level 25
Level 25
Posts: 29597
Joined: Wed Jul 06, 2011 3:58 am

Re: About network related issue.

Post by xenopeek »

** Do linux mint have any network related problem? Like slow internet and not having any internet at all?

Linux Mint doesn't have any networking issues of its own. But it might be the case the specific network device your system has is badly supported by its manufacturer on Linux and your specific network device doesn't have a good driver. Such may require some other driver to be installed or making some change to system configuration to make it work fully.

Others can advise on this but they would need to know the exact network device and Linux recognizes it. It'd suggest you do the following:
  1. download Linux Mint 20 and make a bootable USB stick from it (the installation guide provides help with this https://linuxmint-installation-guide.re ... /burn.html);
  2. boot your system from the USB stick so you can try out Linux mint live on your system without installing;
  3. try out the wifi from there and if it works, great! you can go ahead and install;
  4. if it doesn't work temporarily connect your system with a network cable and see if that works instead as this will be very helpful in the next step;
  5. if with the network cable attached you have working internet, open System Reports from the menu and go to System Information and click the Copy button there to copy some basic information about your hardware—then reply here and paste the copied information;
  6. with that information others can likely answer what the problem with your wifi device is on Linux.
**And can a windows user operate linux mint?

I should think so. It should look familiar and you should quickly find your way around what is where.

If you have specific questions you can make a topic to find help with those.
Image
missmoondog
Level 5
Level 5
Posts: 745
Joined: Wed Nov 07, 2018 9:17 am

Re: About network related issue.

Post by missmoondog »

yes, test driving a bootable live mint will show you any issues you may have with the os. as far as finding drivers and installing and making them work, the people here will pull as much hair out as needed to help you get things fixed! (i wonder how many bald people are on here) absolutely fabulous people here to help you. you just need to ask.
Sojib

Re: About network related issue.

Post by Sojib »

So i tried ubuntu mint..

And i tried

"Ping google.com"
Ping : google.com: Name or service not known

Then i tried:-
nslookup google.com
;; connection timed out; no servers could be reached


What should i do now?
User avatar
xenopeek
Level 25
Level 25
Posts: 29597
Joined: Wed Jul 06, 2011 3:58 am

Re: About network related issue.

Post by xenopeek »

- temporarily connect your system with a network cable and see if that works

- if with the network cable attached you have working internet, open System Reports from the menu and go to System Information and click the Copy button there to copy some basic information about your hardware—then reply here and paste the copied information;

others can help figure this out but they need system specs.
Image
Sojib

Re: About network related issue.

Post by Sojib »

Actually i dont have any network cable at this moment to work.But i do manage to copy the information and make a text file then copy the Text file to my android phone.Here is what i copied:-

Code: Select all

System:    Kernel: 5.4.0-26-generic x86_64 bits: 64 compiler: gcc v: 9.3.0 Desktop: Cinnamon 4.6.6 
           wm: muffin dm: LightDM Distro: Linux Mint 20 Ulyana base: Ubuntu 20.04 focal 
Machine:   Type: Laptop System: Hewlett-Packard product: HP Pavilion dv6700 Notebook PC v: Rev 1 
           serial: <filter> Chassis: Quanta type: 10 serial: <filter> 
           Mobo: Quanta model: 30CC v: 79.2E serial: <filter> BIOS: Hewlett-Packard v: F.58 
           date: 06/16/2008 
Battery:   ID-1: BAT0 charge: 0% condition: N/A/88.8 Wh volts: N/A/14.8 
           model: Hewlett-Packard Primary serial: <filter> status: Unknown 
CPU:       Topology: Dual Core model: Intel Core2 Duo T5750 bits: 64 type: MCP arch: Core Merom 
           rev: D L2 cache: 2048 KiB 
           flags: lm nx pae sse sse2 sse3 ssse3 bogomips: 7980 
           Speed: 1941 MHz min/max: 1000/2000 MHz Core speeds (MHz): 1: 1546 2: 1902 
Graphics:  Device-1: Intel Mobile GM965/GL960 Integrated Graphics vendor: Hewlett-Packard 
           driver: i915 v: kernel bus ID: 00:02.0 chip ID: 8086:2a02 
           Display: x11 server: X.Org 1.20.8 driver: modesetting unloaded: fbdev,vesa 
           resolution: 1280x800~60Hz 
           OpenGL: renderer: Mesa DRI Intel 965GM (CL) v: 2.1 Mesa 20.0.4 direct render: Yes 
Audio:     Device-1: Intel 82801H HD Audio vendor: Hewlett-Packard Pavilion dv6700 
           driver: snd_hda_intel v: kernel bus ID: 00:1b.0 chip ID: 8086:284b 
           Sound Server: ALSA v: k5.4.0-26-generic 
Network:   Device-1: Intel PRO/Wireless 4965 AG or AGN [Kedron] Network driver: iwl4965 
           v: in-tree: port: 1c20 bus ID: 02:00.0 chip ID: 8086:4229 
           IF: wlp2s0 state: up mac: <filter> 
           Device-2: Realtek RTL810xE PCI Express Fast Ethernet 
           vendor: Hewlett-Packard Pavilion dv6700 driver: r8169 v: kernel port: c000 
           bus ID: 08:00.0 chip ID: 10ec:8136 
           IF: enp8s0 state: down mac: <filter> 
Drives:    Local Storage: total: 232.89 GiB used: 7.99 GiB (3.4%) 
           ID-1: /dev/sda vendor: Fujitsu model: MHZ2250BH G2 size: 232.89 GiB speed: 3.0 Gb/s 
           serial: <filter> 
Partition: ID-1: / size: 227.74 GiB used: 7.99 GiB (3.5%) fs: ext4 dev: /dev/sda5 
USB:       Hub: 1-0:1 info: Full speed (or root) Hub ports: 4 rev: 2.0 chip ID: 1d6b:0002 
           Hub: 2-0:1 info: Full speed (or root) Hub ports: 6 rev: 2.0 chip ID: 1d6b:0002 
           Device-1: 2-4:3 info: Quanta HP Webcam type: Video driver: uvcvideo rev: 2.0 
           chip ID: 0408:030c 
           Hub: 3-0:1 info: Full speed (or root) Hub ports: 2 rev: 1.1 chip ID: 1d6b:0001 
           Hub: 4-0:1 info: Full speed (or root) Hub ports: 2 rev: 1.1 chip ID: 1d6b:0001 
           Device-2: 4-2:2 info: SiGma Micro Usb Mouse type: Mouse driver: hid-generic,usbhid 
           rev: 1.1 chip ID: 1c4f:0034 
           Hub: 5-0:1 info: Full speed (or root) Hub ports: 2 rev: 1.1 chip ID: 1d6b:0001 
           Device-3: 5-2:2 info: Holtek Keyboard type: Keyboard,HID driver: hid-generic,usbhid 
           rev: 2.0 chip ID: 04d9:1203 
           Hub: 6-0:1 info: Full speed (or root) Hub ports: 2 rev: 1.1 chip ID: 1d6b:0001 
           Hub: 7-0:1 info: Full speed (or root) Hub ports: 2 rev: 1.1 chip ID: 1d6b:0001 
Sensors:   System Temperatures: cpu: 65.0 C mobo: N/A 
           Fan Speeds (RPM): N/A 
Repos:     Active apt repos in: /etc/apt/sources.list 
           1: deb cdrom:[Linux Mint 20 _Ulyana_ - Release amd64 20200624]/ focal contrib main
           Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list 
           1: deb http: //packages.linuxmint.com ulyana main upstream import backport #id:linuxmint_main
           2: deb http: //archive.ubuntu.com/ubuntu focal main restricted universe multiverse
           3: deb http: //archive.ubuntu.com/ubuntu focal-updates main restricted universe multiverse
           4: deb http: //archive.ubuntu.com/ubuntu focal-backports main restricted universe multiverse
           5: deb http: //security.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse
           6: deb http: //archive.canonical.com/ubuntu/ focal partner
Info:      Processes: 179 Uptime: 1m Memory: 3.84 GiB used: 681.6 MiB (17.4%) Init: systemd v: 245 
           runlevel: 5 Compilers: gcc: 9.3.0 alt: 9 Client: Unknown python3.8 client inxi: 3.0.38 
User avatar
xenopeek
Level 25
Level 25
Posts: 29597
Joined: Wed Jul 06, 2011 3:58 am

Re: Wifi not working with Intel PRO/Wireless 4965

Post by xenopeek »

I read a lot of issues for that chip with Linux. To confirm the same issue, run this command:
dmesg | grep iwl
Does it show any messages about firmware not loading or not being found?
Image
Sojib

Re: Wifi not working with Intel PRO/Wireless 4965

Post by Sojib »

Code: Select all

sojib@sojib-HP-Pavilion-dv6700-Notebook-PC:~$ dmesg | grep iwl
[  165.134610] iwl4965: Intel(R) Wireless WiFi 4965 driver for Linux, in-tree:
[  165.134612] iwl4965: Copyright(c) 2003-2011 Intel Corporation
[  165.134683] iwl4965 0000:02:00.0: can't disable ASPM; OS doesn't have ASPM control
[  165.134850] iwl4965 0000:02:00.0: Detected Intel(R) Wireless WiFi Link 4965AGN, REV=0x4
[  165.173614] iwl4965 0000:02:00.0: device EEPROM VER=0x36, CALIB=0x5
[  165.801985] iwl4965 0000:02:00.0: Tunable channels: 11 802.11bg, 13 802.11a channels
[  165.819767] iwl4965 0000:02:00.0: loaded firmware version 228.61.2.24
[  165.820196] ieee80211 phy0: Selected rate control algorithm 'iwl-4965-rs'
[  165.941654] iwl4965 0000:02:00.0 wlp2s0: renamed from wlan0
[  196.194288] iwl4965 0000:02:00.0: Enabling power save might cause firmware crashes
sojib@sojib-HP-Pavilion-dv6700-Notebook-PC:~$ 

User avatar
xenopeek
Level 25
Level 25
Posts: 29597
Joined: Wed Jul 06, 2011 3:58 am

Re: Wifi not working with Intel PRO/Wireless 4965

Post by xenopeek »

Sounds like another issue. Hopefully somebody else can suggest what else to try for iwl4965 driver not letting you connect to servers.
Image
Sojib

Re: Wifi not working with Intel PRO/Wireless 4965

Post by Sojib »

Do i have to give another post about it? Or this will be enough?

Or do i have to give any other information here?
sleeper12
Level 21
Level 21
Posts: 14558
Joined: Thu May 25, 2017 3:22 pm

Re: Wifi not working with Intel PRO/Wireless 4965

Post by sleeper12 »

What do these show:

Code: Select all

 rfkill list 

Code: Select all

 mokutil --sb-state 
Sojib

Re: Wifi not working with Intel PRO/Wireless 4965

Post by Sojib »

Code: Select all

To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.

sojib@sojib-HP-Pavilion-dv6700-Notebook-PC:~$ rfkill list
0: hp-wifi: Wireless LAN
	Soft blocked: no
	Hard blocked: no
1: phy0: Wireless LAN
	Soft blocked: no
	Hard blocked: no
sojib@sojib-HP-Pavilion-dv6700-Notebook-PC:~$ mokutil --sb-state
bash: mokutil: command not found
sojib@sojib-HP-Pavilion-dv6700-Notebook-PC:~$ 

Sojib

Re: Wifi not working with Intel PRO/Wireless 4965

Post by Sojib »

Update:- I have connected my phone to the laptop and tried to use usb tethering.

And it did work..Network is working with usb tethering i can browse any site or ping any website..What to do now to get a working wifi solution?
sleeper12
Level 21
Level 21
Posts: 14558
Joined: Thu May 25, 2017 3:22 pm

Re: Wifi not working with Intel PRO/Wireless 4965

Post by sleeper12 »

I don't see an obvious problem, but try:

Code: Select all

 sudo service network-manager restart 
User avatar
xenopeek
Level 25
Level 25
Posts: 29597
Joined: Wed Jul 06, 2011 3:58 am

Re: Wifi not working with Intel PRO/Wireless 4965

Post by xenopeek »

Looking through other iwl4965 issues in this forum I stumbled upon something that looks related. Apparently for this chip the 802.11n is very unreliably and it's better to disable it.

Try the following:
1. Disconnect the phone tethering.
2. Run these two commands to unload the iwl4965 driver and then reload it with 802.11n disabled:

Code: Select all

sudo modprobe -rv iwl4965
sudo modprobe -v iwl4965 11n_disable=1
3. See if you can now connect to your wifi network and that browsing works.

It those steps work, you can after installing Linux Mint make that a permanent setting with this command (applies it upon each boot):
echo "options iwl4965 11n_disable=1" | sudo tee /etc/modprobe.d/iwl4965.conf
Image
Sojib

Re: Wifi not working with Intel PRO/Wireless 4965

Post by Sojib »

Code: Select all

sojib@sojib-HP-Pavilion-dv6700-Notebook-PC:~$ sudo modprobe -rv iwl4965
[sudo] password for sojib:     
rmmod iwl4965
rmmod iwlegacy
rmmod mac80211
rmmod libarc4
rmmod cfg80211
sojib@sojib-HP-Pavilion-dv6700-Notebook-PC:~$ sudo modprobe -v iwl4965 11n_disable=1
insmod /lib/modules/5.4.0-26-generic/kernel/lib/crypto/libarc4.ko 
insmod /lib/modules/5.4.0-26-generic/kernel/net/wireless/cfg80211.ko 
insmod /lib/modules/5.4.0-26-generic/kernel/net/mac80211/mac80211.ko 
insmod /lib/modules/5.4.0-26-generic/kernel/drivers/net/wireless/intel/iwlegacy/iwlegacy.ko 
insmod /lib/modules/5.4.0-26-generic/kernel/drivers/net/wireless/intel/iwlegacy/iwl4965.ko 11n_disable=1
sojib@sojib-HP-Pavilion-dv6700-Notebook-PC:~$ ping google.com
PING google.com (172.217.31.206) 56(84) bytes of data.
64 bytes from maa03s28-in-f14.1e100.net (172.217.31.206): icmp_seq=1 ttl=114 time=70.3 ms
64 bytes from maa03s28-in-f14.1e100.net (172.217.31.206): icmp_seq=2 ttl=114 time=125 ms
64 bytes from maa03s28-in-f14.1e100.net (172.217.31.206): icmp_seq=3 ttl=114 time=146 ms
64 bytes from maa03s28-in-f14.1e100.net (172.217.31.206): icmp_seq=4 ttl=114 time=168 ms
64 bytes from maa03s28-in-f14.1e100.net (172.217.31.206): icmp_seq=5 ttl=114 time=88.5 ms
64 bytes from maa03s28-in-f14.1e100.net (172.217.31.206): icmp_seq=6 ttl=114 time=112 ms
64 bytes from maa03s28-in-f14.1e100.net (172.217.31.206): icmp_seq=7 ttl=114 time=135 ms
^C
--- google.com ping statistics ---
7 packets transmitted, 7 received, 0% packet loss, time 6009ms
rtt min/avg/max/mdev = 70.278/120.573/168.111/31.018 ms
sojib@sojib-HP-Pavilion-dv6700-Notebook-PC:~$ 
Sojib

Re: Wifi not working with Intel PRO/Wireless 4965

Post by Sojib »

It worked.Thank you so much for your help.I really appreciate you for your valuable time and suggestion. One more question though do i have to run this command every single time when i boot?

Code: Select all

echo "options iwl4965 11n_disable=1" | sudo tee /etc/modprobe.d/iwl4965.conf
User avatar
antikythera
Level 15
Level 15
Posts: 5721
Joined: Thu Jul 02, 2020 12:52 pm
Location: Cymru

Re: Wifi not working with Intel PRO/Wireless 4965

Post by antikythera »

do i have to run this command every single time when i boot?
that's what the sudo tee part of the command automates for you
I’ll tell you a DNS joke but be advised, it could take up to 24 hours for everyone to get it.
User avatar
xenopeek
Level 25
Level 25
Posts: 29597
Joined: Wed Jul 06, 2011 3:58 am

Re: Wifi not working with Intel PRO/Wireless 4965

Post by xenopeek »

Sojib wrote: Mon Jul 13, 2020 2:01 pm It worked.Thank you so much for your help.I really appreciate you for your valuable time and suggestion. One more question though do i have to run this command every single time when i boot?

Code: Select all

echo "options iwl4965 11n_disable=1" | sudo tee /etc/modprobe.d/iwl4965.conf
Glad it worked.

After you have installed Linux Mint to your computer and logged in to the new install, you just need to run the above command once. It creates a configuration file that sets this option for you automatically each time you start Linux Mint. After that's done reboot to activate the change or one last time run these two commands (which set this option until you reboot the system):

Code: Select all

sudo modprobe -rv iwl4965
sudo modprobe -v iwl4965 11n_disable=1
Image
Sojib

Re: Wifi not working with Intel PRO/Wireless 4965

Post by Sojib »

Done . Thank you again from the bottom of my heart.
Locked

Return to “Networking”