wireless freezes [solved]

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.
wilby
Level 1
Level 1
Posts: 38
Joined: Tue Nov 12, 2013 6:10 pm

Re: wireless freezes

Post by wilby »

No it still does the same.

Edit: I've got to go for a bit be back in 20 mins.
PatH57

Re: wireless freezes

Post by PatH57 »

ok
I will prepare something but I need the exact model of your machine.
wilby
Level 1
Level 1
Posts: 38
Joined: Tue Nov 12, 2013 6:10 pm

Re: wireless freezes

Post by wilby »

Righto :D and thanks!!
Model X54H
MB Ver :K54L ID=7L
X54H-SX287V
Check number 9540
PatH57

Re: wireless freezes

Post by PatH57 »

and the brand would be ASUS (luckily my crystal ball doesn't strike today) :lol:

we need the output of

Code: Select all

cat /sys/class/dmi/id/product_name
and

Code: Select all

lsmod | grep -e ath9k -e asus
wilby
Level 1
Level 1
Posts: 38
Joined: Tue Nov 12, 2013 6:10 pm

Re: wireless freezes

Post by wilby »

Here we are...

willy@pooter ~ $ cat /sys/class/dmi/id/product_name
K54L
willy@pooter ~ $ lsmod | grep -e ath9k -e asus
asus_nb_wmi 16990 0
asus_wmi 24191 1 asus_nb_wmi
sparse_keymap 13948 1 asus_wmi
ath9k 164164 0
ath9k_common 13551 1 ath9k
ath9k_hw 453856 2 ath9k_common,ath9k
ath 28698 3 ath9k_common,ath9k,ath9k_hw
mac80211 626489 1 ath9k
cfg80211 484040 3 ath,ath9k,mac80211
wmi 19177 1 asus_wmi
video 19476 2 i915,asus_wmi
willy@pooter ~ $
PatH57

Re: wireless freezes

Post by PatH57 »

getting better and better at the command line thing.

Code: Select all

sudo echo "options asus_nb_wmi wapf=4" | sudo tee /etc/modprobe.d/asus_nb_wmi.conf
reboot and check if everything is fine.
wilby
Level 1
Level 1
Posts: 38
Joined: Tue Nov 12, 2013 6:10 pm

Re: wireless freezes

Post by wilby »

I dunno about getting better.
video 19476 2 i915,asus_wmi
willy@pooter ~ $ sudo echo "options asus_nb_wmi wapf=4" | sudo tee /etc/modprobe.d/asus_nb_wmi.conf
[sudo] password for willy: [sudo] password for willy:


Sorry, try again.
[sudo] password for willy:
^[[1;2Aoptions asus_nb_wmi wapf=4

But after a reboot of the laptop and the modem (just to be safe) , The web pages seem to be loading quicker than they were before the reboot.
However, it did stop loading pages though it seemed to take longer. So I turned the wireless off and on and it was fine for a while then stopped loading again. But the good news is that after several restarts of the wireless it seem to be locking up the laptop, freezing the mouse or giving strange symbols in the network popup box.
It goes along fine and then stops loading pages. After restarting the wireless it loads the pages fine for a while.
Heres a screen shot of the network history from the system monitor.
PatH57

Re: wireless freezes

Post by PatH57 »

ok,

let's do this

Code: Select all

sudo gedit /etc/modprobe.d/ath9k.conf
and add this to this file
options ath9k nohwcrypt=1
close and save the file.
Reboot
wilby
Level 1
Level 1
Posts: 38
Joined: Tue Nov 12, 2013 6:10 pm

Re: wireless freezes

Post by wilby »

Ok first I should mention that it did freeze the mouse and lock up the system.
After a hard restart I've done the sudo gedit /etc/modprobe.d/ath9k.conf and added the line as requested then rebooted.
Now it seems slower loading pages but that could be congestion on the network.
I can retry in the morning when I always get good speeds if you want.
I really appreciate you help with this.

EDIT: I just tried speedtest on both my phone and laptop and am getting the same speeds.
PatH57

Re: wireless freezes

Post by PatH57 »

try it in the morning and if it freezes (network)
run the script again

Code: Select all

su

Code: Select all

sudo wget -N -t 5 -T 10 https://www.dropbox.com/s/0h4ef93hjiz0dgy/wireless_script_mod && \chmod +x wireless_script_mod && \./wireless_script_mod
wilby
Level 1
Level 1
Posts: 38
Joined: Tue Nov 12, 2013 6:10 pm

Re: wireless freezes

Post by wilby »

Heres a little story on exactly what happened this morning.
Righto, I booted up, opened firefox,opened a terminal and become su and posted the command to be ready ,opened this page the opened a bookmarked folder containing 4 bookmarks. Everything was loading ok, then I right clicked on the log on for this forum and opened it in a new tab and clicked logon. The pages immediatly stopped loading (two of the other tabs plus the log on one) though the activity indicator on the tabs continued spinning.) It seems to follow this pattern of the network freezing when I reload or open a link in a new tab while another page(s) are still loading. Like if the wireless is halfway through doing something and gets a fresh comand it just throws the whole thing into the to hard basket and quits.)

I then immediatly ran the command.

willy@pooter ~ $ su
Password:
pooter willy # sudo wget -N -t 5 -T 10 https://www.dropbox.com/s/0h4ef93hjiz0d ... script_mod && \chmod +x wireless_script_mod && \./wireless_script_mod
--2014-08-22 06:50:43-- https://www.dropbox.com/s/0h4ef93hjiz0d ... script_mod
Resolving www.dropbox.com (www.dropbox.com)... failed: Connection timed out.
wget: unable to resolve host address 'www.dropbox.com

I then turned the wireless off then on in the network applet and re-ran the command

pooter willy # sudo wget -N -t 5 -T 10 https://www.dropbox.com/s/0h4ef93hjiz0d ... script_mod && \chmod +x wireless_script_mod && \./wireless_script_mod
--2014-08-22 06:51:27-- https://www.dropbox.com/s/0h4ef93hjiz0d ... script_mod
Resolving www.dropbox.com (www.dropbox.com)... 108.160.167.208
Connecting to www.dropbox.com (www.dropbox.com)|108.160.167.208|:443... connected.
Unable to establish SSL connection.

Then I refreshed a tab in firefox and the page loaded so I re-ran the command again.
It worked and heres the paste bin link
http://pastebin.ubuntu.com/8109405/
Now theres two in there as I ran the wireless scriptmod in the home folder and I thought I should post both.
PatH57

Re: wireless freezes

Post by PatH57 »

Failed to stop TX DMA
we are getting somewhere but I'm afraid that the problem also involves your huawei e589 (it's using an open source firmware based on linux)
Is there anyway you could use the motels wifi and test your card on there?
Last edited by PatH57 on Fri Aug 22, 2014 8:53 am, edited 1 time in total.
wilby
Level 1
Level 1
Posts: 38
Joined: Tue Nov 12, 2013 6:10 pm

Re: wireless freezes

Post by wilby »

The motels wifi is open but I cant connect to it for some reason.
Would using the wifi on my phones hotspot be sufficient? If not I can take the laptop to a friends place and try it there.
Did you want me to run any commands while I'm testing?
Edit:Phone is samsung galaxy s2
PatH57

Re: wireless freezes

Post by PatH57 »

Motor Inn Wifi 1>, Freq 2412 MHz, Rate 54 Mb/s, Strength 29

it's a bit low but it should work, try to get as close to it as possible or try at your friends place.
Basically once you are connected to another wifi, use it as normal and check if you see the same problems. Then run the script again so I can see if the error is there.
wilby
Level 1
Level 1
Posts: 38
Joined: Tue Nov 12, 2013 6:10 pm

Re: wireless freezes

Post by wilby »

I'll do it first thing in the morning.
Could you remove the town and street from your previous post. Cheers
PatH57

Re: wireless freezes

Post by PatH57 »

done but it's in your file also ...
wilby
Level 1
Level 1
Posts: 38
Joined: Tue Nov 12, 2013 6:10 pm

Re: wireless freezes

Post by wilby »

PatH57 wrote:done but it's in your file also ...
Thanks :) It should have only been in the one I pm'd you the link to.
I think you've found the problem!! :) :D :lol:
I connected to another wifi and loaded and refreshed lots of tabs without any problem at all.
Here is the paste bin file http://pastebin.ubuntu.com/8117838/
When I got back home I connected to my router and tried reloading the tabs and it failed immediately.
Tried running the script and got
sudo wget -N -t 5 -T 10 https://www.dropbox.com/s/0h4ef93hjiz0d ... script_mod && \chmod +x wireless_script_mod && \./wireless_script_mod
--2014-08-23 08:51:43-- https://www.dropbox.com/s/0h4ef93hjiz0d ... script_mod
Resolving www.dropbox.com (www.dropbox.com)... failed: Connection timed out.
wget: unable to resolve host address 'www.dropbox.com
PatH57

Re: wireless freezes

Post by PatH57 »

I was a bit afraid of this.
Waht type of connection did you use? (adsl,cable...)
How is the connection when you use your phone hotspot?
I would have loved to use your router via usb and modem connection but it seems it doesn't work anymore on your model? could you confirm this? (with previous models we could just do it)
connect the usb and run

Code: Select all

lsusb


the funny thing (not so much for you) is that I suspect the same groups did work on the open source firmware for your card and router or at least part of it.
wilby
Level 1
Level 1
Posts: 38
Joined: Tue Nov 12, 2013 6:10 pm

Re: wireless freezes

Post by wilby »

I connected via a wireless router which is adsl.
The phones hotspot seems alright.
Here's the results
Bus 002 Device 003: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 002: ID 12d1:1f01 Huawei Technologies Co., Ltd.
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 004: ID 058f:6366 Alcor Micro Corp. Multi Flash Reader
Bus 001 Device 003: ID 13d3:5710 IMC Networks UVC VGA Webcam
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

And results from the other us port. I done noth as one is usb3 and somethings don't work on it eg tv tuner.
Bus 002 Device 006: ID 12d1:1442 Huawei Technologies Co., Ltd.
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 004: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 004: ID 058f:6366 Alcor Micro Corp. Multi Flash Reader
Bus 001 Device 003: ID 13d3:5710 IMC Networks UVC VGA Webcam
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
huawei e589 (it's using an open source firmware based on linux)
the funny thing (not so much for you) is that I suspect the same groups did work on the open source firmware for your card and router or at least part of it.
And it works fine with windows. :|
PatH57

Re: wireless freezes

Post by PatH57 »

windows
probably xp or windows 7, windows 8 also fully implements now the latest wifi standards and has closed some security holes... and off course manufacturers have to provide whql certified drivers (linux people are volunteers that do the best they can and sometimes just implement some features a bit too strictly (my opinion only)
First thing we can do is disable IPV6 support in your router (won't be really used in the next 2 or 3 years anyway)
I'll take a bit of time this evening to try to get the source code for the router and speak with some friends about it.
Don't like too much disabling features but if we have to we will find a way.
12d1:1f01 Huawei Technologies Co., Ltd
that means only the wifi is available for networking, they have removed the usb modem part (or disabled it for some reason) again something I will check.
Locked

Return to “Networking”