wireless usb does not sets on

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.
Locked
nasser.man

wireless usb does not sets on

Post by nasser.man »

hey, when plug usb wifi (dlink dwa123 n150) linux (networkmanager) does not recognizes it, ifconfig and iwconfig shows it but i can not power up it using "ifconfig wlanx up" command (seems not working command! no message no error) . if reboot linux to windows, and it works well, then i reboot to linux and plug wifi again, it works !! what happen?
what i have to do in first linux boot to wifi usb works?
i blacklisted some modules and it uses rt2800usb driver,
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.
JeremyB
Level 21
Level 21
Posts: 13880
Joined: Fri Feb 21, 2014 8:17 am

Re: wireless usb does not sets on

Post by JeremyB »

Sounds like firmware isn't loaded in linux

Code: Select all

sudo apt-get install linux-firmware
nasser.man

Re: wireless usb does not sets on

Post by nasser.man »

i installed that but it stil don't work in restart of start linux, i have to boot to windows and then reboot to linux to work,
"ip link show wlan1" says device is DOWN, after coming back from linux it says "UP",

and dmesg | grep firm result in to state :
[ 22.424975] ieee80211 phy0: rt2x00lib_request_firmware: Info - Loading firmware file 'rt2870.bin'
[ 22.470545] ieee80211 phy0: rt2x00lib_request_firmware: Info - Firmware detected - version: 0.29

it means i have to use rt2870 module?

lsmod | grep rt result:
rt2800usb 26581 0
rt2x00usb 20041 1 rt2800usb
rt2800lib 83150 1 rt2800usb
rt2x00lib 48886 3 rt2x00usb,rt2800lib,rt2800usb
mac80211 545990 3 rt2x00lib,rt2x00usb,rt2800lib
cfg80211 409394 2 mac80211,rt2x00lib
crc_ccitt 12627 1 rt2800lib
parport_pc 31981 0
parport 40836 3 lp,ppdev,parport_pc
JeremyB
Level 21
Level 21
Posts: 13880
Joined: Fri Feb 21, 2014 8:17 am

Re: wireless usb does not sets on

Post by JeremyB »

nasser.man wrote:i installed that but it stil don't work in restart of start linux, i have to boot to windows and then reboot to linux to work,
"ip link show wlan1" says device is DOWN, after coming back from linux it says "UP",

and dmesg | grep firm result in to state :
[ 22.424975] ieee80211 phy0: rt2x00lib_request_firmware: Info - Loading firmware file 'rt2870.bin'
[ 22.470545] ieee80211 phy0: rt2x00lib_request_firmware: Info - Firmware detected - version: 0.29

it means i have to use rt2870 module?

lsmod | grep rt result:
rt2800usb 26581 0
rt2x00usb 20041 1 rt2800usb
rt2800lib 83150 1 rt2800usb
rt2x00lib 48886 3 rt2x00usb,rt2800lib,rt2800usb
mac80211 545990 3 rt2x00lib,rt2x00usb,rt2800lib
cfg80211 409394 2 mac80211,rt2x00lib
crc_ccitt 12627 1 rt2800lib
parport_pc 31981 0
parport 40836 3 lp,ppdev,parport_pc
What is the result of

Code: Select all

lsusb
nasser.man

Re: wireless usb does not sets on

Post by nasser.man »

lsusb :

Bus 002 Device 002: ID 04f2:b090 Chicony Electronics Co., Ltd
Bus 002 Device 003: ID 2001:3c1d D-Link Corp.
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
JeremyB
Level 21
Level 21
Posts: 13880
Joined: Fri Feb 21, 2014 8:17 am

Re: wireless usb does not sets on

Post by JeremyB »

Interesting, what does

Code: Select all

rfkill list
say?
nasser.man

Re: wireless usb does not sets on

Post by nasser.man »

soft and hard is not blocked (no)
JeremyB
Level 21
Level 21
Posts: 13880
Joined: Fri Feb 21, 2014 8:17 am

Re: wireless usb does not sets on

Post by JeremyB »

I am not sure what could be happening with wireless working run this

Code: Select all

 wget -N -t 5 -T 10 http://dl.dropbox.com/u/57264241/wireless_script && chmod +x wireless_script 
Then when wireless isn't working

Code: Select all

./wireless_script
and paste the resulting wireless-info.txt into a post
nasser.man

Re: wireless usb does not sets on

Post by nasser.man »

when start linux mint ( usb not connecting ):


########## wireless info START ##########

Report from: 02 Mar 2015 14:16 IRST +0330

Booted last: 02 Mar 2015 14:15 IRST +0330

Script from: 20 Sep 2014 23:04 UTC +0000

##### release ###########################

Distributor ID: LinuxMint
Description: Linux Mint 17 Qiana
Release: 17
Codename: qiana

##### kernel ############################

Linux 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:08:14 UTC 2014 i686 i686 i686 GNU/Linux

Parameters: ro, quiet, splash, vt.handoff=7

##### desktop ###########################

default.desktop

##### lspci #############################

04:00.0 Network controller [0280]: Intel Corporation PRO/Wireless 5100 AGN [Shiloh] Network Connection [8086:4237]
Subsystem: Intel Corporation WiFi Link 5100 AGN [8086:1211]

07:00.0 Ethernet controller [0200]: Broadcom Corporation NetLink BCM5906M Fast Ethernet PCI Express [14e4:1713] (rev 02)
Subsystem: Lenovo IdeaPad S10e [17aa:3a23]
Kernel driver in use: tg3

##### lsusb #############################

Bus 002 Device 002: ID 04f2:b090 Chicony Electronics Co., Ltd
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 2001:3c1d D-Link Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

##### PCMCIA card info ##################

##### rfkill ############################

0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no

##### lsmod #############################

rt2800usb 26581 0
rt2x00usb 20041 1 rt2800usb
rt2800lib 83150 1 rt2800usb
rt2x00lib 48886 3 rt2x00usb,rt2800lib,rt2800usb
mac80211 545990 3 rt2x00lib,rt2x00usb,rt2800lib
cfg80211 409394 2 mac80211,rt2x00lib
crc_ccitt 12627 1 rt2800lib

##### interfaces ########################

auto lo
iface lo inet loopback

##### ifconfig ##########################

eth0 Link encap:Ethernet HWaddr <MAC 'eth0' [IF]>
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:17

wlan1 Link encap:Ethernet HWaddr <MAC 'wlan1' [IF]>
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

##### iwconfig ##########################

lo no wireless extensions.

eth0 no wireless extensions.

wlan1 IEEE 802.11bgn ESSID:off/any
Mode:Managed Access Point: Not-Associated Tx-Power=20 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Power Management:on


##### route #############################

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface

##### resolv.conf #######################

##### nm-tool ###########################

NetworkManager Tool

State: disconnected

- Device: wlan1 ----------------------------------------------------------------
Type: 802.11 WiFi
Driver: rt2800usb
State: disconnected
Default: no
HW Address: <MAC 'wlan1' [IF]>

Capabilities:

Wireless Properties
WEP Encryption: yes
WPA Encryption: yes
WPA2 Encryption: yes

Wireless Access Points

- Device: eth0 -----------------------------------------------------------------
Type: Wired
Driver: tg3
State: unavailable
Default: no
HW Address: <MAC 'eth0' [IF]>

Capabilities:
Carrier Detect: yes

Wired Properties
Carrier: off

##### NetworkManager.state ##############

[main]
NetworkingEnabled=true
WirelessEnabled=true
WWANEnabled=true
WimaxEnabled=true

##### NetworkManager.conf ###############

[main]
plugins=ifupdown,keyfile,ofono
dns=dnsmasq

[ifupdown]
managed=false

##### NetworkManager profiles ###########

[[/etc/NetworkManager/system-connections/Auto Datasheen]] (600 root)
[connection] id=Auto Datasheen | type=802-11-wireless
[802-11-wireless] ssid=Datasheen | mac-address=<MAC 'wlan1' [IF]>
[ipv4] method=auto
[ipv6] method=auto

##### iw reg get ########################

Region: Asia/Tehran (based on set time zone)

country 00:
(2402 - 2472 @ 40), (3, 20)
(2457 - 2482 @ 40), (3, 20), PASSIVE-SCAN, NO-IBSS
(2474 - 2494 @ 20), (3, 20), NO-OFDM, PASSIVE-SCAN, NO-IBSS
(5170 - 5250 @ 40), (3, 20), PASSIVE-SCAN, NO-IBSS
(5735 - 5835 @ 40), (3, 20), PASSIVE-SCAN, NO-IBSS

##### iwlist channels ###################

lo no frequency information.

eth0 no frequency information.

wlan1 14 channels in total; available frequencies :
Channel 01 : 2.412 GHz
Channel 02 : 2.417 GHz
Channel 03 : 2.422 GHz
Channel 04 : 2.427 GHz
Channel 05 : 2.432 GHz
Channel 06 : 2.437 GHz
Channel 07 : 2.442 GHz
Channel 08 : 2.447 GHz
Channel 09 : 2.452 GHz
Channel 10 : 2.457 GHz
Channel 11 : 2.462 GHz
Channel 12 : 2.467 GHz
Channel 13 : 2.472 GHz
Channel 14 : 2.484 GHz

##### iwlist scan #######################

lo Interface doesn't support scanning.

eth0 Interface doesn't support scanning.

wlan1 No scan results

##### module infos ######################

[rt2800usb]
filename: /lib/modules/3.13.0-24-generic/kernel/drivers/net/wireless/rt2x00/rt2800usb.ko
license: GPL
firmware: rt2870.bin
description: Ralink RT2800 USB Wireless LAN driver.
version: 2.3.0
author: http://rt2x00.serialmonkey.com
srcversion: D6F814DAF78F2BEA3DA12CB
depends: rt2x00lib,rt2800lib,rt2x00usb
intree: Y
vermagic: 3.13.0-24-generic SMP mod_unload modversions 686
signer: Magrathea: Glacier signing key
sig_key: 77:D7:0E:1D:F4:29:96:DC:92:B0:1D:75:9D:3E:85:62:EA:32:A1:C7
sig_hashalgo: sha512
parm: nohwcrypt:Disable hardware encryption. (bool)

[rt2x00usb]
filename: /lib/modules/3.13.0-24-generic/kernel/drivers/net/wireless/rt2x00/rt2x00usb.ko
license: GPL
description: rt2x00 usb library
version: 2.3.0
author: http://rt2x00.serialmonkey.com
srcversion: 44768071492503F8EFE1EED
depends: rt2x00lib,mac80211
intree: Y
vermagic: 3.13.0-24-generic SMP mod_unload modversions 686
signer: Magrathea: Glacier signing key
sig_key: 77:D7:0E:1D:F4:29:96:DC:92:B0:1D:75:9D:3E:85:62:EA:32:A1:C7
sig_hashalgo: sha512

[rt2800lib]
filename: /lib/modules/3.13.0-24-generic/kernel/drivers/net/wireless/rt2x00/rt2800lib.ko
license: GPL
description: Ralink RT2800 library
version: 2.3.0
author: http://rt2x00.serialmonkey.com, Bartlomiej Zolnierkiewicz
srcversion: 9BD0087B6943A41E7FD8EDA
depends: rt2x00lib,mac80211,crc-ccitt
intree: Y
vermagic: 3.13.0-24-generic SMP mod_unload modversions 686
signer: Magrathea: Glacier signing key
sig_key: 77:D7:0E:1D:F4:29:96:DC:92:B0:1D:75:9D:3E:85:62:EA:32:A1:C7
sig_hashalgo: sha512

[rt2x00lib]
filename: /lib/modules/3.13.0-24-generic/kernel/drivers/net/wireless/rt2x00/rt2x00lib.ko
license: GPL
description: rt2x00 library
version: 2.3.0
author: http://rt2x00.serialmonkey.com
srcversion: C57F87A3569F5363E79FD42
depends: mac80211,cfg80211
intree: Y
vermagic: 3.13.0-24-generic SMP mod_unload modversions 686
signer: Magrathea: Glacier signing key
sig_key: 77:D7:0E:1D:F4:29:96:DC:92:B0:1D:75:9D:3E:85:62:EA:32:A1:C7
sig_hashalgo: sha512

[mac80211]
filename: /lib/modules/3.13.0-24-generic/kernel/net/mac80211/mac80211.ko
license: GPL
description: IEEE 802.11 subsystem
srcversion: C0F95BBF832E05DEFD722F4
depends: cfg80211
intree: Y
vermagic: 3.13.0-24-generic SMP mod_unload modversions 686
signer: Magrathea: Glacier signing key
sig_key: 77:D7:0E:1D:F4:29:96:DC:92:B0:1D:75:9D:3E:85:62:EA:32:A1:C7
sig_hashalgo: sha512
parm: max_nullfunc_tries:Maximum nullfunc tx tries before disconnecting (reason 4). (int)
parm: max_probe_tries:Maximum probe tries before disconnecting (reason 4). (int)
parm: beacon_loss_count:Number of beacon intervals before we decide beacon was lost. (int)
parm: probe_wait_ms:Maximum time(ms) to wait for probe response before disconnecting (reason 4). (int)
parm: ieee80211_default_rc_algo:Default rate control algorithm for mac80211 to use (charp)

[cfg80211]
filename: /lib/modules/3.13.0-24-generic/kernel/net/wireless/cfg80211.ko
description: wireless configuration support
license: GPL
author: Johannes Berg
srcversion: 8B3D642D1F2E6406EF33F74
depends:
intree: Y
vermagic: 3.13.0-24-generic SMP mod_unload modversions 686
signer: Magrathea: Glacier signing key
sig_key: 77:D7:0E:1D:F4:29:96:DC:92:B0:1D:75:9D:3E:85:62:EA:32:A1:C7
sig_hashalgo: sha512
parm: ieee80211_regdom:IEEE 802.11 regulatory domain code (charp)
parm: cfg80211_disable_40mhz_24ghz:Disable 40MHz support in the 2.4GHz band (bool)

##### module parameters #################

[rt2800usb]
nohwcrypt: N

[mac80211]
beacon_loss_count: 7
ieee80211_default_rc_algo: minstrel_ht
max_nullfunc_tries: 2
max_probe_tries: 5
probe_wait_ms: 500

[cfg80211]
cfg80211_disable_40mhz_24ghz: N
ieee80211_regdom: 00

##### /etc/modules ######################

lp

##### modprobe options ##################

[/etc/modprobe.d/blacklist-ath_pci.conf]
blacklist ath_pci

[/etc/modprobe.d/blacklist.conf]
blacklist evbug
blacklist usbmouse
blacklist usbkbd
blacklist eepro100
blacklist de4x5
blacklist eth1394
blacklist snd_intel8x0m
blacklist snd_aw2
blacklist i2c_i801
blacklist prism54
blacklist bcm43xx
blacklist garmin_gps
blacklist asus_acpi
blacklist snd_pcsp
blacklist pcspkr
blacklist amd76x_edac
blacklist iwldvm
blacklist iwlwifi

[/etc/modprobe.d/blacklist-rare-network.conf]
alias net-pf-3 off
alias net-pf-6 off
alias net-pf-9 off
alias net-pf-11 off
alias net-pf-12 off
alias net-pf-19 off
alias net-pf-21 off
alias net-pf-36 off

[/etc/modprobe.d/iwlwifi.conf]
remove iwlwifi \
(/sbin/lsmod | grep -o -e ^iwlmvm -e ^iwldvm -e ^iwlwifi | xargs /sbin/rmmod) \
&& /sbin/modprobe -r mac80211

[/etc/modprobe.d/mlx4.conf]
softdep mlx4_core post: mlx4_en

##### rc.local ##########################

exit 0

##### pm-utils ##########################

##### udev rules ########################

[/etc/udev/rules.d/70-persistent-net.rules]
# PCI device 0x14e4:0x1713 (tg3)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="<MAC 'eth0' [IF]>", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
# PCI device 0x8086:0x4237 (iwlwifi)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="<MAC address>", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan0"
# USB device 0x:0x (rt2800usb)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="<MAC 'wlan1' [IF]>", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan1"

##### dmesg #############################

[ 52.533096] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 5390, rev 0503 detected
[ 52.561338] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 5370 detected
[ 52.582702] systemd-udevd[2020]: renamed network interface wlan0 to wlan1
[ 52.587119] ieee80211 phy0: rt2x00lib_request_firmware: Info - Loading firmware file 'rt2870.bin'
[ 52.748138] ieee80211 phy0: rt2x00lib_request_firmware: Info - Firmware detected - version: 0.29
[ 52.980804] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready (repeated 2 times)

########## wireless info END ############




i just restart linux mint to windows xp and after some minutes, restart back to linux mint and usb cart works fine and connects to network !!
this is affter restarting back to linux :



########## wireless info START ##########

Report from: 02 Mar 2015 14:09 IRST +0330

Booted last: 02 Mar 2015 13:47 IRST +0330

Script from: 20 Sep 2014 23:04 UTC +0000

##### release ###########################

Distributor ID: LinuxMint
Description: Linux Mint 17 Qiana
Release: 17
Codename: qiana

##### kernel ############################

Linux 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:08:14 UTC 2014 i686 i686 i686 GNU/Linux

Parameters: ro, quiet, splash, vt.handoff=7

##### desktop ###########################

default.desktop

##### lspci #############################

04:00.0 Network controller [0280]: Intel Corporation PRO/Wireless 5100 AGN [Shiloh] Network Connection [8086:4237]
Subsystem: Intel Corporation WiFi Link 5100 AGN [8086:1211]

07:00.0 Ethernet controller [0200]: Broadcom Corporation NetLink BCM5906M Fast Ethernet PCI Express [14e4:1713] (rev 02)
Subsystem: Lenovo IdeaPad S10e [17aa:3a23]
Kernel driver in use: tg3

##### lsusb #############################

Bus 002 Device 003: ID 04f2:b090 Chicony Electronics Co., Ltd
Bus 002 Device 002: ID 2001:3c1d D-Link Corp.
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

##### PCMCIA card info ##################

##### rfkill ############################

0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no

##### lsmod #############################

rt2800usb 26581 0
rt2x00usb 20041 1 rt2800usb
rt2800lib 83150 1 rt2800usb
rt2x00lib 48886 3 rt2x00usb,rt2800lib,rt2800usb
mac80211 545990 3 rt2x00lib,rt2x00usb,rt2800lib
cfg80211 409394 2 mac80211,rt2x00lib
crc_ccitt 12627 1 rt2800lib

##### interfaces ########################

auto lo
iface lo inet loopback

##### ifconfig ##########################

eth0 Link encap:Ethernet HWaddr <MAC 'eth0' [IF]>
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:17

wlan1 Link encap:Ethernet HWaddr <MAC 'wlan1' [IF]>
inet addr:192.168.1.6 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::9294:e4ff:fea4:c814/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:29522 errors:0 dropped:0 overruns:0 frame:0
TX packets:27996 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:28288074 (28.2 MB) TX bytes:4543667 (4.5 MB)

##### iwconfig ##########################

lo no wireless extensions.

eth0 no wireless extensions.

wlan1 IEEE 802.11bgn ESSID:"Datasheen"
Mode:Managed Frequency:2.412 GHz Access Point: <MAC 'Datasheen' [AC1]>
Bit Rate=13.5 Mb/s Tx-Power=20 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Power Management:on
Link Quality=31/70 Signal level=-79 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:866 Invalid misc:1145 Missed beacon:0

##### route #############################

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 wlan1
192.168.1.0 0.0.0.0 255.255.255.0 U 9 0 0 wlan1

##### resolv.conf #######################

nameserver 127.0.1.1

##### nm-tool ###########################

NetworkManager Tool

State: connected (global)

- Device: wlan1 [Auto Datasheen] ----------------------------------------------
Type: 802.11 WiFi
Driver: rt2800usb
State: connected
Default: yes
HW Address: <MAC 'wlan1' [IF]>

Capabilities:
Speed: 13 Mb/s

Wireless Properties
WEP Encryption: yes
WPA Encryption: yes
WPA2 Encryption: yes

Wireless Access Points (* = current AP)
*Datasheen: Infra, <MAC 'Datasheen' [AC1]>, Freq 2412 MHz, Rate 54 Mb/s, Strength 43 WPA
ramin: Infra, <MAC 'ramin' [AN2]>, Freq 2457 MHz, Rate 54 Mb/s, Strength 15 WPA WPA2
tirakhtor: Infra, <MAC 'tirakhtor' [AN3]>, Freq 2432 MHz, Rate 54 Mb/s, Strength 15 WPA WPA2

IPv4 Settings:
Address: 192.168.1.6
Prefix: 24 (255.255.255.0)
Gateway: 192.168.1.1

DNS: 192.168.1.1

- Device: eth0 -----------------------------------------------------------------
Type: Wired
Driver: tg3
State: unavailable
Default: no
HW Address: <MAC 'eth0' [IF]>

Capabilities:
Carrier Detect: yes

Wired Properties
Carrier: off

##### NetworkManager.state ##############

[main]
NetworkingEnabled=true
WirelessEnabled=true
WWANEnabled=true
WimaxEnabled=true

##### NetworkManager.conf ###############

[main]
plugins=ifupdown,keyfile,ofono
dns=dnsmasq

[ifupdown]
managed=false

##### NetworkManager profiles ###########

[[/etc/NetworkManager/system-connections/Auto Datasheen]] (600 root)
[connection] id=Auto Datasheen | type=802-11-wireless
[802-11-wireless] ssid=Datasheen | mac-address=<MAC 'wlan1' [IF]>
[ipv4] method=auto
[ipv6] method=auto

##### iw reg get ########################

Region: Asia/Tehran (based on set time zone)

country 00:
(2402 - 2472 @ 40), (3, 20)
(2457 - 2482 @ 40), (3, 20), PASSIVE-SCAN, NO-IBSS
(2474 - 2494 @ 20), (3, 20), NO-OFDM, PASSIVE-SCAN, NO-IBSS
(5170 - 5250 @ 40), (3, 20), PASSIVE-SCAN, NO-IBSS
(5735 - 5835 @ 40), (3, 20), PASSIVE-SCAN, NO-IBSS

##### iwlist channels ###################

lo no frequency information.

eth0 no frequency information.

wlan1 14 channels in total; available frequencies :
Channel 01 : 2.412 GHz
Channel 02 : 2.417 GHz
Channel 03 : 2.422 GHz
Channel 04 : 2.427 GHz
Channel 05 : 2.432 GHz
Channel 06 : 2.437 GHz
Channel 07 : 2.442 GHz
Channel 08 : 2.447 GHz
Channel 09 : 2.452 GHz
Channel 10 : 2.457 GHz
Channel 11 : 2.462 GHz
Channel 12 : 2.467 GHz
Channel 13 : 2.472 GHz
Channel 14 : 2.484 GHz
Current Frequency=2.412 GHz (Channel 1)

##### iwlist scan #######################

Channel occupancy:

1 APs on Frequency:2.412 GHz (Channel 1)

lo Interface doesn't support scanning.

eth0 Interface doesn't support scanning.

wlan1 Scan completed :
Cell 01 - Address: <MAC 'Datasheen' [AC1]>
Channel:1
Frequency:2.412 GHz (Channel 1)
Quality=35/70 Signal level=-75 dBm
Encryption key:on
ESSID:"Datasheen"
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
9 Mb/s; 12 Mb/s; 18 Mb/s
Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
Mode:Master
Extra:tsf=00000003586ab0bb
Extra: Last beacon: 69280ms ago
IE: WPA Version 1
Group Cipher : CCMP
Pairwise Ciphers (1) : CCMP
Authentication Suites (1) : PSK

##### module infos ######################

[rt2800usb]
filename: /lib/modules/3.13.0-24-generic/kernel/drivers/net/wireless/rt2x00/rt2800usb.ko
license: GPL
firmware: rt2870.bin
description: Ralink RT2800 USB Wireless LAN driver.
version: 2.3.0
author: http://rt2x00.serialmonkey.com
srcversion: D6F814DAF78F2BEA3DA12CB
depends: rt2x00lib,rt2800lib,rt2x00usb
intree: Y
vermagic: 3.13.0-24-generic SMP mod_unload modversions 686
signer: Magrathea: Glacier signing key
sig_key: 77:D7:0E:1D:F4:29:96:DC:92:B0:1D:75:9D:3E:85:62:EA:32:A1:C7
sig_hashalgo: sha512
parm: nohwcrypt:Disable hardware encryption. (bool)

[rt2x00usb]
filename: /lib/modules/3.13.0-24-generic/kernel/drivers/net/wireless/rt2x00/rt2x00usb.ko
license: GPL
description: rt2x00 usb library
version: 2.3.0
author: http://rt2x00.serialmonkey.com
srcversion: 44768071492503F8EFE1EED
depends: rt2x00lib,mac80211
intree: Y
vermagic: 3.13.0-24-generic SMP mod_unload modversions 686
signer: Magrathea: Glacier signing key
sig_key: 77:D7:0E:1D:F4:29:96:DC:92:B0:1D:75:9D:3E:85:62:EA:32:A1:C7
sig_hashalgo: sha512

[rt2800lib]
filename: /lib/modules/3.13.0-24-generic/kernel/drivers/net/wireless/rt2x00/rt2800lib.ko
license: GPL
description: Ralink RT2800 library
version: 2.3.0
author: http://rt2x00.serialmonkey.com, Bartlomiej Zolnierkiewicz
srcversion: 9BD0087B6943A41E7FD8EDA
depends: rt2x00lib,mac80211,crc-ccitt
intree: Y
vermagic: 3.13.0-24-generic SMP mod_unload modversions 686
signer: Magrathea: Glacier signing key
sig_key: 77:D7:0E:1D:F4:29:96:DC:92:B0:1D:75:9D:3E:85:62:EA:32:A1:C7
sig_hashalgo: sha512

[rt2x00lib]
filename: /lib/modules/3.13.0-24-generic/kernel/drivers/net/wireless/rt2x00/rt2x00lib.ko
license: GPL
description: rt2x00 library
version: 2.3.0
author: http://rt2x00.serialmonkey.com
srcversion: C57F87A3569F5363E79FD42
depends: mac80211,cfg80211
intree: Y
vermagic: 3.13.0-24-generic SMP mod_unload modversions 686
signer: Magrathea: Glacier signing key
sig_key: 77:D7:0E:1D:F4:29:96:DC:92:B0:1D:75:9D:3E:85:62:EA:32:A1:C7
sig_hashalgo: sha512

[mac80211]
filename: /lib/modules/3.13.0-24-generic/kernel/net/mac80211/mac80211.ko
license: GPL
description: IEEE 802.11 subsystem
srcversion: C0F95BBF832E05DEFD722F4
depends: cfg80211
intree: Y
vermagic: 3.13.0-24-generic SMP mod_unload modversions 686
signer: Magrathea: Glacier signing key
sig_key: 77:D7:0E:1D:F4:29:96:DC:92:B0:1D:75:9D:3E:85:62:EA:32:A1:C7
sig_hashalgo: sha512
parm: max_nullfunc_tries:Maximum nullfunc tx tries before disconnecting (reason 4). (int)
parm: max_probe_tries:Maximum probe tries before disconnecting (reason 4). (int)
parm: beacon_loss_count:Number of beacon intervals before we decide beacon was lost. (int)
parm: probe_wait_ms:Maximum time(ms) to wait for probe response before disconnecting (reason 4). (int)
parm: ieee80211_default_rc_algo:Default rate control algorithm for mac80211 to use (charp)

[cfg80211]
filename: /lib/modules/3.13.0-24-generic/kernel/net/wireless/cfg80211.ko
description: wireless configuration support
license: GPL
author: Johannes Berg
srcversion: 8B3D642D1F2E6406EF33F74
depends:
intree: Y
vermagic: 3.13.0-24-generic SMP mod_unload modversions 686
signer: Magrathea: Glacier signing key
sig_key: 77:D7:0E:1D:F4:29:96:DC:92:B0:1D:75:9D:3E:85:62:EA:32:A1:C7
sig_hashalgo: sha512
parm: ieee80211_regdom:IEEE 802.11 regulatory domain code (charp)
parm: cfg80211_disable_40mhz_24ghz:Disable 40MHz support in the 2.4GHz band (bool)

##### module parameters #################

[rt2800usb]
nohwcrypt: N

[mac80211]
beacon_loss_count: 7
ieee80211_default_rc_algo: minstrel_ht
max_nullfunc_tries: 2
max_probe_tries: 5
probe_wait_ms: 500

[cfg80211]
cfg80211_disable_40mhz_24ghz: N
ieee80211_regdom: 00

##### /etc/modules ######################

lp

##### modprobe options ##################

[/etc/modprobe.d/blacklist-ath_pci.conf]
blacklist ath_pci

[/etc/modprobe.d/blacklist.conf]
blacklist evbug
blacklist usbmouse
blacklist usbkbd
blacklist eepro100
blacklist de4x5
blacklist eth1394
blacklist snd_intel8x0m
blacklist snd_aw2
blacklist i2c_i801
blacklist prism54
blacklist bcm43xx
blacklist garmin_gps
blacklist asus_acpi
blacklist snd_pcsp
blacklist pcspkr
blacklist amd76x_edac
blacklist iwldvm
blacklist iwlwifi

[/etc/modprobe.d/blacklist-rare-network.conf]
alias net-pf-3 off
alias net-pf-6 off
alias net-pf-9 off
alias net-pf-11 off
alias net-pf-12 off
alias net-pf-19 off
alias net-pf-21 off
alias net-pf-36 off

[/etc/modprobe.d/iwlwifi.conf]
remove iwlwifi \
(/sbin/lsmod | grep -o -e ^iwlmvm -e ^iwldvm -e ^iwlwifi | xargs /sbin/rmmod) \
&& /sbin/modprobe -r mac80211

[/etc/modprobe.d/mlx4.conf]
softdep mlx4_core post: mlx4_en

##### rc.local ##########################

exit 0

##### pm-utils ##########################

##### udev rules ########################

[/etc/udev/rules.d/70-persistent-net.rules]
# PCI device 0x14e4:0x1713 (tg3)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="<MAC 'eth0' [IF]>", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
# PCI device 0x8086:0x4237 (iwlwifi)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="<MAC address>", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan0"
# USB device 0x:0x (rt2800usb)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="<MAC 'wlan1' [IF]>", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan1"

##### dmesg #############################

[ 18.287966] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 5390, rev 0503 detected
[ 18.332159] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 5370 detected
[ 19.322984] systemd-udevd[367]: renamed network interface wlan0 to wlan1
[ 22.568804] ieee80211 phy0: rt2x00lib_request_firmware: Info - Loading firmware file 'rt2870.bin'
[ 22.698088] ieee80211 phy0: rt2x00lib_request_firmware: Info - Firmware detected - version: 0.29
[ 22.942946] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready (repeated 2 times)
[ 25.922553] wlan1: authenticate with <MAC 'Datasheen' [AC1]>
[ 25.947335] wlan1: send auth to <MAC 'Datasheen' [AC1]> (try 1/3)
[ 25.952933] wlan1: authenticated
[ 25.956245] wlan1: associate with <MAC 'Datasheen' [AC1]> (try 1/3)
[ 25.964813] wlan1: RX AssocResp from <MAC 'Datasheen' [AC1]> (capab=0x411 status=0 aid=3)
[ 25.971660] wlan1: associated
[ 25.971691] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
[ 28.894705] wlan1: disassociated from <MAC 'Datasheen' [AC1]> (Reason: 15)
[ 28.929010] wlan1: deauthenticating from <MAC 'Datasheen' [AC1]> by local choice (reason=3)
[ 30.180435] wlan1: authenticate with <MAC 'Datasheen' [AC1]>
[ 30.214085] wlan1: send auth to <MAC 'Datasheen' [AC1]> (try 1/3)
[ 30.239426] wlan1: authenticated
[ 30.240117] wlan1: associate with <MAC 'Datasheen' [AC1]> (try 1/3)
[ 30.246944] wlan1: RX AssocResp from <MAC 'Datasheen' [AC1]> (capab=0x411 status=0 aid=3)
[ 30.253785] wlan1: associated
[ 1131.200920] ieee80211 phy0: rt2800usb_entry_txstatus_timeout: Warning - TX status timeout for entry 15 in queue 2 (repeated 3 times)
[ 1131.201195] ieee80211 phy0: rt2800usb_entry_txstatus_timeout: Warning - TX status timeout for entry 0 in queue 2
[ 1131.231170] ieee80211 phy0: rt2800usb_txdone: Warning - Got TX status for an empty queue 2, dropping (repeated 2 times)

########## wireless info END ############
nasser.man

Re: wireless usb does not sets on

Post by nasser.man »

i attached 2 files below..
JeremyB
Level 21
Level 21
Posts: 13880
Joined: Fri Feb 21, 2014 8:17 am

Re: wireless usb does not sets on

Post by JeremyB »

Is there something wrong with the internal wifi? If that does work, it might be easier to figure out. I would edit the blacklist file

Code: Select all

sudo gedit /etc/modprobe.d/blacklist.conf
and delete the lines with iwldvm and iwlwifi and then

Code: Select all

echo "options iwlwifi 11n_disable=8" | sudo tee -a /etc/modprobe.d/iwlwifi.conf
and reboot without the USB plugged in
nasser.man

Re: wireless usb does not sets on

Post by nasser.man »

internal wifi card is broken and dont works (windows and linux), but same thing happens in my pc (without any wifi)...
JeremyB
Level 21
Level 21
Posts: 13880
Joined: Fri Feb 21, 2014 8:17 am

Re: wireless usb does not sets on

Post by JeremyB »

nasser.man wrote:internal wifi card is broken and dont works (windows and linux), but same thing happens in my pc (without any wifi)...
Ok, can you disable the internal wifi in BIOS or just remove it from the computer? For some reason, when the wifi doesn't work the device is detected 30 seconds later and it could be related to a bad wifi card
Locked

Return to “Networking”