Linux Lite Forums
Wifi USB Adapter stops working intermittently - Printable Version

+- Linux Lite Forums (https://www.linuxliteos.com/forums)
+-- Forum: Hardware - Support (https://www.linuxliteos.com/forums/forumdisplay.php?fid=6)
+--- Forum: Network (https://www.linuxliteos.com/forums/forumdisplay.php?fid=24)
+--- Thread: Wifi USB Adapter stops working intermittently (/showthread.php?tid=469)

Pages: 1 2 3 4


Re: Wifi USB Adapter stops working intermittently - AndyOpie150 - 06-22-2014

Try:
Code:
sudo su
ifdown wlan0



Re: Wifi USB Adapter stops working intermittently - Colin23erk - 06-23-2014

Code:
colin@colin-NC110:~$ sudo su
[sudo] password for colin:
root@colin-NC110:/home/colin# ifdown wlan0
ifdown: interface wlan0 not configured
root@colin-NC110:/home/colin#



Re: Wifi USB Adapter stops working intermittently - Colin23erk - 06-23-2014

the preious output error-ed with (  interface wlan0 not configured) so I tried rfkill list wlan  to see how the WLANs were listed but I am confused with the output as it does not use (  wlan0  etc  )
Code:
colin@colin-NC110:~$ rfkill list wlan
1: phy0: Wireless LAN
    Soft blocked: no
    Hard blocked: no
2: samsung-wlan: Wireless LAN
    Soft blocked: no
    Hard blocked: no
4: phy1: Wireless LAN
    Soft blocked: no
    Hard blocked: no
colin@colin-NC110:~$
Item 4 is the dongle - If I unplug /plug it in the item number and the phy number steps up one

Does this shed any light why the command fails or am I looking for the wrong items


Re: Wifi USB Adapter stops working intermittently - AndyOpie150 - 06-23-2014

I think we need to concentrate on the other machine instead of the Samsung with the already great WiFi connection.
Try the commands on the Advent, as thats the one you need to get the WiFi working on.


Re: Wifi USB Adapter stops working intermittently - Colin23erk - 06-23-2014

OK I was hoping to sort out the problem while the Advent is away and possibly help someone else in the future .
I have noticed a difference with the adapter between Linux (adapter light stays on ) and Win7  ( light flashes)

Thanks for all the effort you put in trying to solve it .

Bye Colin


Re: Wifi USB Adapter stops working intermittently - AndyOpie150 - 06-23-2014

Sorry about that. Didn't see the last output clearly. Not enough sleep last night due to installing Linux Lite on another computer, but only had phones throttled 3G signal 25KB/s to update-took forever).
If you want you could try:
The kill command, switching wlan0 with phy0.

Again sorry for not seeing the last output clearly.



Re: Wifi USB Adapter stops working intermittently - N4RPS - 06-24-2014

Hello!

Found this helpfile in rfkill:

rob@N4RPS-D630-L:~$ rfkill --help
Usage: rfkill [options] command
Options:
--version show version (0.5-1ubuntu1 (Ubuntu))
Commands:
help
event
list [IDENTIFIER]
block IDENTIFIER
unblock IDENTIFIER
where IDENTIFIER is the index no. of an rfkill switch or one of:
<idx> all wifi wlan bluetooth uwb ultrawideband wimax wwan gps fm nfc

Apparently, 'wlan0' is not supported. Given what the help file says, I must stand corrected about wifi as a legal parameter for this command. Additionally, I'd run this rfkill command BEFORE inserting the USB adapter, so you don't kill IT, TOO.

As for the 'ifdown' command, try 'sudo' in front of it. Whenever you see 'Permission denied', it's probably because it's a 'super user only ' command...

73 DE N4RPS
Rob


73





Re: Wifi USB Adapter stops working intermittently - Colin23erk - 06-24-2014

Hi
Loosing Hope with solving this --each step forward just presents a new problem to solve !

I have found out what the identifier is for rfkill its the devices number as shown with ( rfkill list )
Code:
root@colin-NC110:/home/colin# rfkill list
0: hci0: Bluetooth
    Soft blocked: no
    Hard blocked: no
1: phy0: Wireless LAN
    Soft blocked: no
    Hard blocked: no
2: samsung-wlan: Wireless LAN
    Soft blocked: no
    Hard blocked: no
3: samsung-bluetooth: Bluetooth
    Soft blocked: no
    Hard blocked: no
4: phy1: Wireless LAN
    Soft blocked: yes
    Hard blocked: no
root@colin-NC110:/home/colin# rfkill unblock 1
root@colin-NC110:/home/colin# rfkill unblock 4
root@colin-NC110:/home/colin#
I blocked 1 before I connected the dongle  to find I still had no WiF

The next problem is that both phy1 and phy0 are both blocked

In the output above item 1 that is shown as not blocked is also blocked for use as well as Item 4 which is shown as soft blocked

I could not unblock 1  (rfkill unblock 1) directly

I only got WiFi back when unblocking 4 (rfkill unblock 4) which unlocked 1 and 4

Where do I go now ??????

Colin









Re: Wifi USB Adapter stops working intermittently - AndyOpie150 - 06-24-2014

Time to do some more research on my part. Will post if I find out anything. It's got to be something simple that I'm missing.