networking - RT3090 Wireless is 'disabled' - fixed, and problem came back - Ask Ubuntu
i've installed ubuntu server 16.4 on minipc, rt3090 wireless card. @ first, wifi wasn't working.
lshw -c network .... *-network disabled description: wireless interface product: rt3090 wireless 802.11n 1t/1r pcie vendor: ralink
found recommendation blacklist these modules:
#z copied http://askubuntu.com/questions/478018/ralink-rt3090-in-ubuntu-14-04-very-bad-reception-keeps-disconnecting blacklist rt2800usb blacklist rt2x00lib blacklist rt2x00pci blacklist rt2x00usb blacklist rt2800mmio blacklist rt2x00m
as far remember, @ point - annoying disabled
gone. managed connect manually wifi wpa_supplicant
. installed few packages such networkmanager
, tried make connection automatic - , i've lost wifi :-( i've removed networkmanager
, assuming made conflict.
now, in lshw
network disabled
again.
tried rfkill
- i'm not sure, seems ok me:
$ rfkill list 0: phy0: wireless lan soft blocked: no hard blocked: no
- what have disabled wifi, after worked?
in dmesg
, see this:
[ 8.519249] rt2800pci 0000:02:00.0 wlp2s0: renamed wlan0
- does mean rt2800pci not blacklisted?
searched /var/log/kern.log
, found interesting thing:
nov 2 23:06:27 ubuntu-maty kernel: [ 730.827229] ieee80211 phy0: rt2x00lib_request_firmware: info - loading firmware file 'rt2860.bin' nov 2 23:06:27 ubuntu-maty kernel: [ 730.828681] ieee80211 phy0: rt2x00lib_request_firmware: info - firmware detected - version: 0.34 nov 2 23:06:27 ubuntu-maty kernel: [ 730.920573] ipv6: addrconf(netdev_up): wlp2s0: link not ready nov 2 23:11:50 ubuntu-maty kernel: [ 1053.650997] wlp2s0: authenticate 38:d5:47:1e:60:a0 nov 2 23:11:50 ubuntu-maty kernel: [ 1053.682302] wlp2s0: send auth 38:d5:47:1e:60:a0 (try 1/3) nov 2 23:11:50 ubuntu-maty kernel: [ 1053.684214] wlp2s0: authenticated
it seems it's time wifi worked me - , loaded rt2860.bin
- isn't mentioned further.
- how return
rt2860.bin
?
edit
adding output of wireless-info
script:
########## wireless info start ########## report from: 03 nov 2016 01:30 ist +0200 booted last: 03 nov 2016 00:00 ist +0200 script from: 08 jul 2016 02:16 utc +0000 ##### release ########################### distributor id: ubuntu description: ubuntu 16.04.1 lts release: 16.04 codename: xenial ##### kernel ############################ linux 4.4.0-45-generic #66-ubuntu smp wed oct 19 14:12:37 utc 2016 x86_64 x86_64 x86_64 gnu/linux parameters: ro ##### desktop ########################### sed: can't read /home/zvika/.dmrc: no such file or directory not determined. ##### lspci ############################# 01:00.0 ethernet controller [0200]: realtek semiconductor co., ltd. rtl8111/8168/8411 pci express gigabit ethernet controller [10ec:8168] (rev 06) subsystem: realtek semiconductor co., ltd. rtl8111/8168/8411 pci express gigabit ethernet controller [10ec:0123] kernel driver in use: r8169 02:00.0 network controller [0280]: ralink corp. rt3090 wireless 802.11n 1t/1r pcie [1814:3090] subsystem: ralink corp. rt3090 wireless 802.11n 1t/1r pcie [1814:3090] kernel driver in use: rt2800pci ##### lsusb ############################# bus 002 device 001: id 1d6b:0003 linux foundation 3.0 root hub bus 001 device 007: id 090c:1000 silicon motion, inc. - taiwan (formerly feiya technology corp.) flash drive bus 001 device 006: id 045e:0780 microsoft corp. comfort curve keyboard 3000 bus 001 device 005: id 045e:077b microsoft corp. bus 001 device 004: id 0424:2514 standard microsystems corp. usb 2.0 hub bus 001 device 003: id 05e3:0608 genesys logic, inc. hub bus 001 device 002: id 0658:0200 sigma designs, inc. bus 001 device 001: id 1d6b:0002 linux foundation 2.0 root hub ##### pcmcia card info ################## 'pccardctl' not installed (package "pcmciautils"). ##### rfkill ############################ 0: phy0: wireless lan soft blocked: no hard blocked: no ##### lsmod ############################# rt2800pci 16384 0 rt2800mmio 20480 1 rt2800pci rt2800lib 94208 2 rt2800pci,rt2800mmio rt2x00pci 16384 1 rt2800pci rt2x00mmio 16384 2 rt2800pci,rt2800mmio rt2x00lib 57344 5 rt2x00pci,rt2800lib,rt2800pci,rt2800mmio,rt2x00mmio mac80211 737280 3 rt2x00lib,rt2x00pci,rt2800lib cfg80211 565248 2 mac80211,rt2x00lib eeprom_93cx6 16384 1 rt2800pci crc_ccitt 16384 1 rt2800lib snd_soc_rt5670 126976 0 snd_soc_rl6231 16384 1 snd_soc_rt5670 snd_soc_core 212992 2 snd_soc_rt5670,snd_soc_sst_mfld_platform snd_pcm 106496 8 snd_soc_rt5670,snd_soc_core,snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_soc_sst_mfld_platform,snd_pcm_dmaengine,snd_hda_core ##### interfaces ######################## source /etc/network/interfaces.d/* auto lo iface lo inet loopback auto enp1s0 iface enp1s0 inet dhcp ##### ifconfig ########################## enp1s0 link encap:ethernet hwaddr <mac 'enp1s0' [if1]> inet addr:192.168.1.191 bcast:192.168.1.255 mask:255.255.255.0 inet6 addr: fe80::<ip6 'enp1s0' [if1]>/64 scope:link broadcast running multicast mtu:1500 metric:1 rx packets:2115 errors:0 dropped:0 overruns:0 frame:0 tx packets:1628 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 rx bytes:214067 (214.0 kb) tx bytes:254823 (254.8 kb) wlp2s0 link encap:ethernet hwaddr <mac 'wlp2s0' [if2]> 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. enp1s0 no wireless extensions. wlp2s0 ieee 802.11bgn essid:off/any mode:managed access point: not-associated tx-power=0 dbm retry short limit:7 rts thr:off fragment thr:off power management:off ##### 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 enp1s0 192.168.1.0 0.0.0.0 255.255.255.0 u 0 0 0 enp1s0 ##### resolv.conf ####################### nameserver 192.168.1.1 ##### network managers ################## installed: none found. running: none found. ##### networkmanager info ############### networkmanager not installed (package "network-manager"). ##### networkmanager.state ############## [main] networkingenabled=true wirelessenabled=true wwanenabled=true ##### networkmanager.conf ############### [main] plugins=ifupdown,keyfile,ofono dns=dnsmasq [ifupdown] managed=false ##### networkmanager profiles ########### [[/etc/networkmanager/system-connections/yairhatal]] (600 root) [connection] id=yairhatal | type=wifi | permissions=user:zvika:; [wifi] mac-address=<mac 'wlp2s0' [if2]> | mac-address-blacklist= | ssid=yairhatal [ipv4] method=auto [ipv6] method=auto ##### iw reg ######################## region: asia/jerusalem (based on set time zone) country 00: dfs-unset (2402 - 2472 @ 40), (n/a, 20), (n/a) (2457 - 2482 @ 40), (n/a, 20), (n/a), no-ir (2474 - 2494 @ 20), (n/a, 20), (n/a), no-ofdm, no-ir (5170 - 5250 @ 80), (n/a, 20), (n/a), no-ir (5250 - 5330 @ 80), (n/a, 20), (0 ms), dfs, no-ir (5490 - 5730 @ 160), (n/a, 20), (0 ms), dfs, no-ir (5735 - 5835 @ 80), (n/a, 20), (n/a), no-ir (57240 - 63720 @ 2160), (n/a, 0), (n/a) ##### iwlist channels ################### lo no frequency information. enp1s0 no frequency information. wlp2s0 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. enp1s0 interface doesn't support scanning. wlp2s0 interface doesn't support scanning : network down ##### module infos ###################### [rt2800pci] filename: /lib/modules/4.4.0-45-generic/kernel/drivers/net/wireless/rt2x00/rt2800pci.ko license: gpl firmware: rt2860.bin description: ralink rt2800 pci & pcmcia wireless lan driver. version: 2.3.0 author: http://rt2x00.serialmonkey.com srcversion: 26cced9e0ce5efbfa9b8882 depends: rt2x00lib,rt2800lib,rt2800mmio,rt2x00mmio,rt2x00pci,eeprom_93cx6 intree: y vermagic: 4.4.0-45-generic smp mod_unload modversions parm: nohwcrypt:disable hardware encryption. (bool) [rt2800mmio] filename: /lib/modules/4.4.0-45-generic/kernel/drivers/net/wireless/rt2x00/rt2800mmio.ko license: gpl description: rt2800 mmio library version: 2.3.0 author: http://rt2x00.serialmonkey.com srcversion: 01c1a7641505065e52e0388 depends: rt2800lib,rt2x00lib,rt2x00mmio intree: y vermagic: 4.4.0-45-generic smp mod_unload modversions [rt2800lib] filename: /lib/modules/4.4.0-45-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: bb9f48b63a82c3fd3e73baf depends: rt2x00lib,mac80211,crc-ccitt intree: y vermagic: 4.4.0-45-generic smp mod_unload modversions [rt2x00pci] filename: /lib/modules/4.4.0-45-generic/kernel/drivers/net/wireless/rt2x00/rt2x00pci.ko license: gpl description: rt2x00 pci library version: 2.3.0 author: http://rt2x00.serialmonkey.com srcversion: 543b84557258f153ac267f0 depends: rt2x00lib,mac80211 intree: y vermagic: 4.4.0-45-generic smp mod_unload modversions [rt2x00mmio] filename: /lib/modules/4.4.0-45-generic/kernel/drivers/net/wireless/rt2x00/rt2x00mmio.ko license: gpl description: rt2x00 mmio library version: 2.3.0 author: http://rt2x00.serialmonkey.com srcversion: adbe279820cfd0a1081c682 depends: rt2x00lib intree: y vermagic: 4.4.0-45-generic smp mod_unload modversions [rt2x00lib] filename: /lib/modules/4.4.0-45-generic/kernel/drivers/net/wireless/rt2x00/rt2x00lib.ko license: gpl description: rt2x00 library version: 2.3.0 author: http://rt2x00.serialmonkey.com srcversion: 72e39180d883a5541f66494 depends: mac80211,cfg80211 intree: y vermagic: 4.4.0-45-generic smp mod_unload modversions [mac80211] filename: /lib/modules/4.4.0-45-generic/kernel/net/mac80211/mac80211.ko license: gpl description: ieee 802.11 subsystem srcversion: f1176862d12ecd05a1066cf depends: cfg80211 intree: y vermagic: 4.4.0-45-generic smp mod_unload modversions parm: minstrel_vht_only:use vht rates when vht supported sta. (bool) 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 decide beacon lost. (int) parm: probe_wait_ms:maximum time(ms) wait probe response before disconnecting (reason 4). (int) parm: ieee80211_default_rc_algo:default rate control algorithm mac80211 use (charp) [cfg80211] filename: /lib/modules/4.4.0-45-generic/kernel/net/wireless/cfg80211.ko description: wireless configuration support license: gpl author: johannes berg srcversion: 25a45701aaa64dac1e47d9d depends: intree: y vermagic: 4.4.0-45-generic smp mod_unload modversions parm: ieee80211_regdom:ieee 802.11 regulatory domain code (charp) parm: cfg80211_disable_40mhz_24ghz:disable 40mhz support in 2.4ghz band (bool) ##### module parameters ################# [rt2800pci] nohwcrypt: n [mac80211] beacon_loss_count: 7 ieee80211_default_rc_algo: minstrel_ht max_nullfunc_tries: 2 max_probe_tries: 5 minstrel_vht_only: y probe_wait_ms: 500 [cfg80211] cfg80211_disable_40mhz_24ghz: n ieee80211_regdom: 00 ##### /etc/modules ###################### ##### 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 rt2800usb blacklist rt2x00lib blacklist rt2x00pci blacklist rt2x00usb blacklist rt2800mmio blacklist rt2x00m [/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 ######################## ##### dmesg ############################# [ 8.177532] ieee80211 phy0: rt2x00_set_rt: info - rt chipset 3071, rev 0213 detected [ 8.181522] ieee80211 phy0: rt2x00_set_rf: info - rf chipset 0005 detected [ 8.518626] r8169 0000:01:00.0 enp1s0: link down (repeated 2 times) [ 8.518719] ipv6: addrconf(netdev_up): enp1s0: link not ready [ 8.519249] rt2800pci 0000:02:00.0 wlp2s0: renamed wlan0 [ 11.253234] r8169 0000:01:00.0 enp1s0: link [ 11.253259] ipv6: addrconf(netdev_change): enp1s0: link becomes ready ########## wireless info end ############
the interface showing disabled interface not declared in /etc/network/interfaces. please amend file to:
source /etc/network/interfaces.d/* auto lo iface lo inet loopback #auto enp1s0 iface enp1s0 inet dhcp auto wlp2s0 iface wlp2s0 inet static address 192.168.1.25 netmask 255.255.255.0 gateway 192.168.1.1 dns-nameservers 192.168.1.1 8.8.8.8 wpa-ssid <your_network> wpa-psk <your_secret_key>
i suggest static address in server can ftp , ssh it. sure select static address outside range used dhcp server in router, switch or other access point.
also, blacklist makes no sense whatever. suggest do:
sudo gedit /etc/modprobe.d/blacklist.conf
use nano or kate or leafpad if don't have text editor gedit. remove these lines added.
#z copied http://askubuntu.com/questions/478018/ralink-rt3090-in-ubuntu-14-04-very-bad-reception-keeps-disconnecting blacklist rt2800usb blacklist rt2x00lib blacklist rt2x00pci blacklist rt2x00usb blacklist rt2800mmio blacklist rt2x00m
proofread carefully, save , close text editor.
detach ethernet cable, reboot , tell if connected.
Comments
Post a Comment