1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Linux raspi-linux 4.19.97-v7+でI-O Data Device, Inc. WNGDNUS2 802.11nを使おうとしたら繋がらなかったのを直した件

Last updated at Posted at 2020-04-11

##Volumioではwi-fiで繋がっていたIO-DATAのWNGDNUS2が、RaspbianBusterでは認識しない。

困ったぞ。4時間くらいずっとネットで調べてたけど、やっと分かった。

##状況

dmesg
Feb 13 16:23:11 raspberrypi kernel: [  375.799308] usb 1-1.3: Product: WN-GDN/US2
Feb 13 16:23:11 raspberrypi kernel: [  375.799319] usb 1-1.3: Manufacturer: I-O DATA
Feb 13 16:23:11 raspberrypi kernel: [  375.799330] usb 1-1.3: SerialNumber: xxx
Feb 13 16:23:11 raspberrypi kernel: [  375.897969] usb 1-1.3: reset high-speed USB device number 6 using dwc_otg
Feb 13 16:23:11 raspberrypi kernel: [  376.068233] usb 1-1.3: Direct firmware load for carl9170-1.fw failed with error -2

"failed with error -2"?iwconfigでwlan0が出てこない。

##解決方法
私はこれで治りました。

###参考サイト
Atheros AR9170 devices (carl9170)

1 firmware-linux-freeをインストール

apt-get
sudo apt-get install firmware-linux-free

2 インストールし終わったら、sudo rebootする。
すると、

dmesg
[   17.266924] wlan0: send auth to xx:xx:xx:xx:xx:xx (try 1/3)
[   17.290829] wlan0: authenticated
[   17.298323] wlan0: associate with xx:xx:xx:xx:xx:xx (try 1/3)
[   17.323843] wlan0: RX AssocResp from xx:xx:xx:xx:xx:xx (capab=0xcxx status=0 aid=2)
[   17.332894] wlan0: associated

ちなみに

lsusb
Bus 001 Device 005: ID 04xx:xxxf I-O Data Device, Inc. WNGDNUS2 802.11n
iwconfig
wlan0     IEEE 802.11  ESSID:"xxxxx"
          Mode:Managed  Frequency:2.462 GHz  Access Point: xx:xx:xx:xx:xx:xx
          Bit Rate=30 Mb/s   Tx-Power=20 dBm
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality=70/70  Signal level=-35 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:741   Missed beacon:0
ping
PING 192.168.0.22 (192.168.0.22) 56(84) bytes of data.
64 bytes from 192.168.0.22: icmp_seq=1 ttl=64 time=0.209 ms
64 bytes from 192.168.0.22: icmp_seq=2 ttl=64 time=0.270 ms
64 bytes from 192.168.0.22: icmp_seq=3 ttl=64 time=0.219 ms
64 bytes from 192.168.0.22: icmp_seq=4 ttl=64 time=0.211 ms
--- 192.168.0.22 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 101ms
rtt min/avg/max/mdev = 0.209/0.227/0.270/0.027 ms

こんな感じで繋がってくれました。
ただし、
/etc/wpa_supplicant/wpa_supplicant.conf
/etc/network/interfaces
は設定してあります。

とりあえず、自分用備忘録です。

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?