Ubuntu日本語フォーラム
ログインしていません。
どなたか、お助けいただけますでしょうか。
USB無線LANをPCに2本つなぎ、それぞれ外部のネットワークに接続し、
片側が切断した際ももう片側で通信できるようなルータを作成したいと考えてます。
wpa_supplicantを利用し外部ネットワークのDHCPよりIPアドレスを取得する際、
無線LAN1本ずつだと、どちらの無線LANデバイスでもIPアドレスを取得できますが、
2本同時接続の場合、片側しかIPアドレスの取得ができません。
何が原因なのかご教示いただけないでしょうか。
■環境
OS:5.4.0-59-generic
CPU:Intel(R) Celeron(R) CPU N2930
USB無線LAN:Realtek RTL8812BUチップを搭載したデバイス2つ
ドライバ:https://github.com/morrownr/88x2bu.gitを利用
■設定
/etc/wpa_supplicant/wpa_supplicant-wlx1cbfce3561d5.conf
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev update_config=1 country=JP network={ ssid="xxxxx" scan_ssid=1 bssid=xx:xx:xx:xx:xx:xx key_mgmt=WPA-EAP identity="xxxxx" password="xxxxx" }
/etc/wpa_supplicant/wpa_supplicant-wlx1cbfce35a209.conf
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev update_config=1 country=JP network={ ssid="xxxxx" scan_ssid=1 bssid=xx:xx:xx:xx:xx:xx key_mgmt=WPA-EAP identity="xxxxx" password="xxxxx" }
/lib/systemd/system/[email protected]
[Unit] Description=WPA supplicant daemon (interface-specific version) Requires=sys-subsystem-net-devices-%i.device After=sys-subsystem-net-devices-%i.device Before=network.target Wants=network.target # NetworkManager users will probably want the dbus version instead. [Service] Type=simple ExecStart=/sbin/wpa_supplicant -c/etc/wpa_supplicant/wpa_supplicant-%I.conf -Dnl80211,wext -i%I -f/var/log/wpa_supplicant-%I.log [Install] Alias=multi-user.target.wants/wpa_supplicant@%i.service
/lib/systemd/system/[email protected]
[Unit] Description=WPA supplicant daemon (interface-specific version) Requires=sys-subsystem-net-devices-%i.device After=sys-subsystem-net-devices-%i.device Before=network.target Wants=network.target # NetworkManager users will probably want the dbus version instead. [Service] Type=simple ExecStart=/sbin/wpa_supplicant -c/etc/wpa_supplicant/wpa_supplicant-%I.conf -Dnl80211,wext -i%I -f/var/log/wpa_supplicant-%I.log [Install] Alias=multi-user.target.wants/wpa_supplicant@%i.service
■状態
$ lsusb
Bus 001 Device 005: ID 0bda:b812 Realtek Semiconductor Corp. Bus 001 Device 004: ID 0bda:b812 Realtek Semiconductor Corp.
# systemctl list-unit-files -t service
[email protected] disabled enabled [email protected] disabled enabled wpa_supplicant.service disabled enabled [email protected] disabled enabled [email protected] enabled enabled [email protected] enabled enabled
/var/log/wpa_supplicant-wlx1cbfce3561d5.log
以下のメッセージが繰り返し表示されています。
wlx1cbfce3561d5: CTRL-EVENT-STARTED-CHANNEL-SWITCH freq=5260 ht_enabled=1 ch_offset=1 ch_width=40 MHz cf1=5270 cf2=0 wlx1cbfce3561d5: CTRL-EVENT-ASSOC-REJECT status_code=1 wlx1cbfce3561d5: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="xxxxx" auth_failures=90 duration=1154 reason=CONN_FAILED wlx1cbfce3561d5: CTRL-EVENT-SSID-REENABLED id=0 ssid="xxxxx" wlx1cbfce3561d5: Trying to associate with xx:xx:xx:xx:xx:xx (SSID='xxxxx' freq=5260 MHz)
オフライン