mersenneforum.org Troubleshooting wireless
 Register FAQ Search Today's Posts Mark Forums Read

 2015-12-24, 23:57 #1 Dubslow Basketry That Evening!     "Bunslow the Bold" Jun 2011 40
2015-12-25, 08:04   #2
S485122

"Jacob"
Sep 2006
Brussels, Belgium

2×3×5×61 Posts

It will be easier if I repost your original question :
Quote:
 Long story short, since I got a bad power jack on the motherboard of my laptop fixed, the WiFi has been wonky at best and non-operational at worst. Most networks, including ones on which it worked before, simply don't work (and it's not a password issue). There is at least one network which does work, but only for minutes at a time, and every time it disconnects, it asks me for the password again, and I have to say click "OK" each time (the password is saved and prefilled and of course hasn't changed in the last ten minutes). But on every other network I've tried it simply doesn't work. I'm reasonably certain the wired ethernet works fine, at least it is currently with this network and cable. I'm using LMDE/Cinnamon, and unfortunately I haven't found anywhere in the Cinnamon GUI that actually tells me what the error is (other than the utterly useless "Wireless is disconnected" a few seconds after trying to connect). I'm familiar with the command line and sort of familiar with some parts of the underlying kernel and OS, but as far as troubleshooting WiFi goes, I'm lost, and any help is very much appreciated. I suppose it should be noted that I've had some issues connecting even in Windows (which I hadn't booted in years before trying to test this), but I'm still holding out hope there's some something I can fix on a software level that will get it working again.
Jacob

2015-12-25, 08:16   #3
Dubslow

"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88

3·29·83 Posts

For thoroughness then, here's the sum of the discussion so far:

Quote:
 Originally Posted by /u/trollblut here is my wifi reset script, the hardware or driver is buggy and sometimes i have pings > 2000 ms, package losses or it simply won't connect. Code: rfkill block wlan sleep 0.1 echo 1 > /sys/bus/pci/devices/0000\:03\:00.0/remove sleep 0.1 echo 1 > /sys/bus/pci/rescan sleep 0.1 rfkill unblock wlan sleep 0.1 ip link set down wlp3s0 sleep 0.1 ip link set up wlp3s0 sleep 0.1 systemctl restart wpa_supplicant@wlp3s0 # this step is distribution dependant short of purging the kernel module this script resets the hardware to pre-init level for diagnosis purposes, do the following Code: rfkill list # show hard/soft-switches that can disable the hardware lspci # shows pci devices lsusb # shows usb devices ip link show # shows working network devices ip link set dev $DEV up # activates a link in case it is down iwlist$DEV scan # searches wifis in range (detailed), first test of the wifi-hardware iwlist $DEV scan | grep ESSID # only shows the names of wifis in range from this point on, i'd recommend to use wpa_supplicant in non-daemon mode. disable your network manager, enter a console and do the following Code: wpa_passphrase ESSID PASSWORD | grep -v '#' > wpa.conf wpa_supplicant -i$DEV -c wpa.conf -d then you see the actual action going on. with either dhcpcd $DEV or dhclient$DEV you can request an ip via dhcp
Quote:
 Originally Posted by Dubslow Okay some weird shit is going on. iwlist wlan0 scan either shows networks or it doesn't, and as far as I can tell, it's totally random whether it does or not. The other commands show the following: Code: bill@didact ~ $ip link show 1: lo: mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 2: eth0: mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000 link/ether 54:04:a6:4c:ca:88 brd ff:ff:ff:ff:ff:ff 3: wlan0: mtu 1500 qdisc mq state DOWN mode DORMANT group default qlen 1000 link/ether e4:d5:3d:c5:a7:f5 brd ff:ff:ff:ff:ff:ff bill@didact ~$ sudo ip link set dev wlan0: up bill@didact ~ \$ ip link show 1: lo: mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 2: eth0: mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000 link/ether 54:04:a6:4c:ca:88 brd ff:ff:ff:ff:ff:ff 3: wlan0: mtu 1500 qdisc mq state DOWN mode DORMANT group default qlen 1000 link/ether e4:d5:3d:c5:a7:f5 brd ff:ff:ff:ff:ff:ff

 2015-12-25, 08:21 #4 S485122     "Jacob" Sep 2006 Brussels, Belgium 2·3·5·61 Posts I see several possibilities : - When your laptop was repaired it could be that one of the antenna wires was not properly re-plugged on the WiFi adapter, this would lead to erratic connections. Can you open the laptop to check ? (Such a check is easy on Dell Latitudes for instance.) - Did you try the WiFi with a live OS ? This would eliminate all software issues of your current installation. - If it does not work with a live OS and you still have hardware warranty have the laptop repaired. - If it works you could disable the WiFi in the BIOS, boot, remove all drivers and configuration files for your WiFi adapter. Enable the adapter in the BIOS again and see what that gives. But since you say you have the problem in Windows as well I don't think it will work. Jacob
 2015-12-25, 08:35 #5 Dubslow Basketry That Evening!     "Bunslow the Bold" Jun 2011 40
 2015-12-25, 10:48 #6 Nick     Dec 2012 The Netherlands 5·353 Posts When a scan does work, do you see a lot of networks? As wifi use increases, routers can end up fighting over available channels. When it is working temporarily, do you have a strong signal? Do you have other Wifi devices which work in the same environment?
2015-12-26, 14:18   #7
henryzz
Just call me Henry

"David"
Sep 2007
Liverpool (GMT/BST)

599410 Posts

Quote:
 Originally Posted by Dubslow The first thought had occurred to me, though I'm rather useless when it comes to disassembling laptops. I have not, though I suppose it's worth a try. Hah! This thing is nearly four years old, far beyond warranty, and that's before I got it repaired by a third party technician Hmm... probably couldn't hurt, at this rate... I really appreciate you taking the time to ponder the question. Thanks!
I would consider taking it to the third party technician for him to check if he has knocked anything. Theoretically if it is something he has done accidentally you shouldn't have to pay.

2015-12-26, 18:56   #8
chalsall
If I May

"Chris Halsall"
Sep 2002

246178 Posts

Quote:
 Originally Posted by henryzz I would consider taking it to the third party technician for him to check if he has knocked anything. Theoretically if it is something he has done accidentally you shouldn't have to pay.

If you take it back to the tech, watch closely what he does. Disassembling and then reassembling hardware (which then still works) is a valuable skill set, and it's not as difficult and scary as it might seem.

Although, sometimes, you need special tools (very small screwdrivers, hex/allan keys, etc) and/or know the "special places" to pull, push or twist, especially for laptops and cellphones....

 2015-12-26, 21:49 #9 Dubslow Basketry That Evening!     "Bunslow the Bold" Jun 2011 40
2015-12-26, 21:54   #10
chalsall
If I May

"Chris Halsall"
Sep 2002

10,639 Posts

Quote:
 Originally Posted by Dubslow I'll look into taking it back to him...
Don't be benign.

Watch, learn, question.

 Similar Threads Thread Thread Starter Forum Replies Last Post jasong jasong 7 2014-01-02 01:56 ssybesma Information & Answers 8 2012-09-05 02:23 paulunderwood Soap Box 1 2009-12-27 02:51 Citrix Prime Sierpinski Project 2 2005-07-09 00:26

All times are UTC. The time now is 17:52.

Sun Sep 25 17:52:38 UTC 2022 up 38 days, 15:21, 0 users, load averages: 1.36, 1.20, 1.11