You are Here:
Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section



Wifi USB Adapter stops working intermittently

Author (Read 23621 times)

0 Members and 1 Guest are viewing this topic.

Re: Wifi USB Adapter stops working intermittently
« Reply #39 on: June 24, 2014, 08:22:20 AM »
 

AndyOpie150

  • Guest
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.
 

Re: Wifi USB Adapter stops working intermittently
« Reply #38 on: June 24, 2014, 05:02:19 AM »
 

Colin23erk

  • Forum Regular
  • ***
  • 212
    Posts
  • Reputation: 13
  • Linux Lite Member
    • View Profile

  • MEMORY: 256mb
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: [Select]
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






I Learn something new Every Day !
An "example" is worth a 1000 words
 

Re: Wifi USB Adapter stops working intermittently
« Reply #37 on: June 24, 2014, 03:34:36 AM »
 

N4RPS

  • Donator
  • Platinum Level Poster
  • **********
  • 1149
    Posts
  • Reputation: 155
  • Knows JUST ENOUGH Linux to be DANGEROUS
    • View Profile
    • Orphans for Christ, Self Advocates of Mecklenburg

  • CPU: Several Different 32-bit & 64-bit CPUs, 2-8 GB RAM

  • MEMORY: 8Gb

  • VIDEO CARD: Several Different AMD and Intel GPUs
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




A gun in your hand is worth more than a whole police force on the phone.
 

Re: Wifi USB Adapter stops working intermittently
« Reply #36 on: June 23, 2014, 06:42:46 PM »
 

AndyOpie150

  • Guest
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
« Reply #35 on: June 23, 2014, 03:46:23 PM »
 

Colin23erk

  • Forum Regular
  • ***
  • 212
    Posts
  • Reputation: 13
  • Linux Lite Member
    • View Profile

  • MEMORY: 256mb
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
I Learn something new Every Day !
An "example" is worth a 1000 words
 

Re: Wifi USB Adapter stops working intermittently
« Reply #34 on: June 23, 2014, 10:50:39 AM »
 

AndyOpie150

  • Guest
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
« Reply #33 on: June 23, 2014, 08:19:47 AM »
 

Colin23erk

  • Forum Regular
  • ***
  • 212
    Posts
  • Reputation: 13
  • Linux Lite Member
    • View Profile

  • MEMORY: 256mb
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: [Select]
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
I Learn something new Every Day !
An "example" is worth a 1000 words
 

Re: Wifi USB Adapter stops working intermittently
« Reply #32 on: June 23, 2014, 03:55:41 AM »
 

Colin23erk

  • Forum Regular
  • ***
  • 212
    Posts
  • Reputation: 13
  • Linux Lite Member
    • View Profile

  • MEMORY: 256mb
Code: [Select]
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#
I Learn something new Every Day !
An "example" is worth a 1000 words
 

Re: Wifi USB Adapter stops working intermittently
« Reply #31 on: June 22, 2014, 06:19:38 PM »
 

AndyOpie150

  • Guest
Try:
Code: [Select]
sudo su
ifdown wlan0
 

Re: Wifi USB Adapter stops working intermittently
« Reply #30 on: June 22, 2014, 01:34:09 PM »
 

Colin23erk

  • Forum Regular
  • ***
  • 212
    Posts
  • Reputation: 13
  • Linux Lite Member
    • View Profile

  • MEMORY: 256mb
Hi This is the output
Code: [Select]


colin@colin-NC110:~$ rfkill block wlan0
Bogus block argument 'wlan0'.

colin@colin-NC110:~$ ifdown wlan0
ifdown: failed to open lockfile /run/network/.ifstate.lock: Permission denied

colin@colin-NC110:~$
I Learn something new Every Day !
An "example" is worth a 1000 words
 

Re: Wifi USB Adapter stops working intermittently
« Reply #29 on: June 22, 2014, 08:25:41 AM »
 

AndyOpie150

  • Guest
LOL. No it should be wlan0.
Thanks for catching my brain dead mistake.

Colin23erk: Replace wifi0 with wlan0 in the code. Sorry for the mistake.

EDIT: Looking at the outputs to the Advent; the code should be the same for it to. Don't know why I was thinking it was wifi0 (I help out at to many linux forum sites).
« Last Edit: June 22, 2014, 08:38:49 AM by AndyOpie150 »
 

Re: Wifi USB Adapter stops working intermittently
« Reply #28 on: June 22, 2014, 05:16:21 AM »
 

N4RPS

  • Donator
  • Platinum Level Poster
  • **********
  • 1149
    Posts
  • Reputation: 155
  • Knows JUST ENOUGH Linux to be DANGEROUS
    • View Profile
    • Orphans for Christ, Self Advocates of Mecklenburg

  • CPU: Several Different 32-bit & 64-bit CPUs, 2-8 GB RAM

  • MEMORY: 8Gb

  • VIDEO CARD: Several Different AMD and Intel GPUs
Hello!

Am I just being ignorant, or should wifi0 be wl0 or wlan0 instead?

73 DE N4RPS
Rob


A gun in your hand is worth more than a whole police force on the phone.
 

Re: Wifi USB Adapter stops working intermittently
« Reply #27 on: June 22, 2014, 04:06:17 AM »
 

Colin23erk

  • Forum Regular
  • ***
  • 212
    Posts
  • Reputation: 13
  • Linux Lite Member
    • View Profile

  • MEMORY: 256mb
Code: [Select]
colin@colin-NC110:~$ rfkill block wifi0
Bogus block argument 'wifi0'.
colin@colin-NC110:~$ ifdown wifi0
ifdown: failed to open lockfile /run/network/.ifstate.lock: Permission denied

As it failed I tried

Code: [Select]
colin@colin-NC110:~$ sudo ifdown wifi0
[sudo] password for colin:
ifdown: interface wifi0 not configured
colin@colin-NC110:~$

The Advent gets used when my friend comes so I would like it to be able to connect to You Tube
I Learn something new Every Day !
An "example" is worth a 1000 words
 

Re: Wifi USB Adapter stops working intermittently
« Reply #26 on: June 21, 2014, 05:23:55 PM »
 

AndyOpie150

  • Guest
Did it work?
 

Re: Wifi USB Adapter stops working intermittently
« Reply #25 on: June 21, 2014, 01:23:39 PM »
 

Colin23erk

  • Forum Regular
  • ***
  • 212
    Posts
  • Reputation: 13
  • Linux Lite Member
    • View Profile

  • MEMORY: 256mb
Sorry

The problem happened when my Advent PC's Internal WiFi stopped connecting to my router so I used the USB WiFi adapter and although it connected successfully via the Router the Internet kept dropping out .

To see if it was a problem with the Adapter I tried it in the Samsung PC and found it was exactly the same .

At the moment the Advent is not serviceable so I have been using the Samsung to try and find a solution that will work in both PCs
 
I Learn something new Every Day !
An "example" is worth a 1000 words
 

 

-->
X Close Ad

Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section