
Ubuntu日本語フォーラム
ログインしていません。
PC初心者です。
ubuntu14.04を最近パソコンにクリンインストールしました。
無線LANは、内蔵していなかったので、BUFFALO社の「WLI-UC-GNM」というUSBアダプタを購入し、パソコンに取り付けました。
パソコンでは、差しただけで認識しましたが、表示された無線ランに、エアステーションで確認したキー入力をしても、何度も認証キーを問われるだけの繰り返しで、WIFI接続ができません。
DoCoMoのケータイのテザリング(キー設定なしでもWPA2PSKでも)では普通に接続できます。どのように対処すればいいのでしょうか。教えてください。
ちなみに、無線親機は、BUFFLO社の「WZR2-G300N」というモデルで、AOSSが機能していて、二つ無線があって、
一つ目は、認証方式 AOSS WPA/WPA2 mixedmode - PSK
暗号化 AOSS TKIP/AES mixedmode
二つ目は、認証方式 AOSS WPA-PSK
暗号化 AOSS AES
でした。
無線パソコンの接続も制限してはいません。同じWIFIでWINDOWSのほかのパソコンはしっかり機能してます。
他、必要な情報がありましたら、言っていただければのせます。
オフライン
(追記)
https://forums.ubuntulinux.jp/viewtopic.php?id=16462
↑こちらを参考にして
sudo apt-get install build-essential linux-headers-generic linux-headers-`uname -r`
wget -O- http://linuxwireless.org/download/compat-wireless-2.6/compat-wireless-2012-07-03-pc.tar.bz2 | tar -xj
cd compat-wireless-2012-07-03-pc
./scripts/driver-select alx
make
sudo make install
こちらのコマンドを行ったのですが、次のようにエラーがでます。
ryo@ryo-Prime-Series:~$ sudo su -
root@ryo-Prime-Series:~# sudo apt-get install build-essential linux-headers-generic linux-headers-`uname -r`
パッケージリストを読み込んでいます... 完了
依存関係ツリーを作成しています
状態情報を読み取っています... 完了
build-essential は既に最新バージョンです。
linux-headers-3.13.0-24-generic は既に最新バージョンです。
linux-headers-generic は既に最新バージョンです。
アップグレード: 0 個、新規インストール: 0 個、削除: 0 個、保留: 0 個。
root@ryo-Prime-Series:~# wget -O- http://linuxwireless.org/download/compat-wireless-2.6/compat-wireless-2012-07-03-pc.tar.bz2 | tar -xj
--2014-07-09 16:45:46-- http://linuxwireless.org/download/compat-wireless-2.6/compat-wireless-2012-07-03-pc.tar.bz2
linuxwireless.org (linuxwireless.org) をDNSに問いあわせています... 5.9.151.49
linuxwireless.org (linuxwireless.org)|5.9.151.49|:80 に接続しています... 接続しました。
HTTP による接続要求を送信しました、応答を待っています... 301 Moved Permanently
場所: http://wireless.kernel.org/download/compat-wireless-2.6/compat-wireless-2012-07-03-pc.tar.bz2 [続く]
--2014-07-09 16:45:48-- http://wireless.kernel.org/download/compat-wireless-2.6/compat-wireless-2012-07-03-pc.tar.bz2
wireless.kernel.org (wireless.kernel.org) をDNSに問いあわせています... 5.9.151.49
linuxwireless.org:80 への接続を再利用します。
HTTP による接続要求を送信しました、応答を待っています... 200 OK
長さ: 4650013 (4.4M) [application/octet-stream]
`STDOUT' に保存中
100%[======================================>] 4,650,013 117KB/s 時間 42s
2014-07-09 16:46:31 (107 KB/s) - stdout へ出力完了 [4650013/4650013]
root@ryo-Prime-Series:~# cd compat-wireless-2012-07-03-pc
root@ryo-Prime-Series:~/compat-wireless-2012-07-03-pc# ./scripts/driver-select alx
Processing new driver-select request...
Backup exists: Makefile.bk
Backup exists: Makefile.bk
Backup exists: drivers/net/ethernet/broadcom/Makefile.bk
Backup exists: drivers/net/ethernet/atheros/Makefile.bk
Backup exists: Makefile.bk
Backup exists: Makefile.bk
Backup exists: drivers/net/ethernet/broadcom/Makefile.bk
root@ryo-Prime-Series:~/compat-wireless-2012-07-03-pc# make
make -C /lib/modules/3.13.0-24-generic/build M=/root/compat-wireless-2012-07-03-pc modules
make[1]: ディレクトリ `/usr/src/linux-headers-3.13.0-24-generic' に入ります
CC [M] /root/compat-wireless-2012-07-03-pc/drivers/net/ethernet/atheros/alx/alx_main.o
/root/compat-wireless-2012-07-03-pc/drivers/net/ethernet/atheros/alx/alx_main.c: In function ‘alx_hw_printk’:
/root/compat-wireless-2012-07-03-pc/drivers/net/ethernet/atheros/alx/alx_main.c:124:3: error: implicit declaration of function ‘__netdev_printk’ [-Werror=implicit-function-declaration]
__netdev_printk(level, hw->adpt->netdev, &vaf);
^
/root/compat-wireless-2012-07-03-pc/drivers/net/ethernet/atheros/alx/alx_main.c: In function ‘alx_receive_skb’:
/root/compat-wireless-2012-07-03-pc/drivers/net/ethernet/atheros/alx/alx_main.c:440:3: error: too few arguments to function ‘__vlan_hwaccel_put_tag’
__vlan_hwaccel_put_tag(skb, vlan);
^
In file included from /root/compat-wireless-2012-07-03-pc/drivers/net/ethernet/atheros/alx/alx.h:37:0,
from /root/compat-wireless-2012-07-03-pc/drivers/net/ethernet/atheros/alx/alx_main.c:17:
include/linux/if_vlan.h:337:31: note: declared here
static inline struct sk_buff *__vlan_hwaccel_put_tag(struct sk_buff *skb,
^
/root/compat-wireless-2012-07-03-pc/drivers/net/ethernet/atheros/alx/alx_main.c: In function ‘alx_vlan_mode’:
/root/compat-wireless-2012-07-03-pc/drivers/net/ethernet/atheros/alx/alx_main.c:1473:17: error: ‘NETIF_F_HW_VLAN_RX’ undeclared (first use in this function)
if (features & NETIF_F_HW_VLAN_RX) {
^
/root/compat-wireless-2012-07-03-pc/drivers/net/ethernet/atheros/alx/alx_main.c:1473:17: note: each undeclared identifier is reported only once for each function it appears in
/root/compat-wireless-2012-07-03-pc/drivers/net/ethernet/atheros/alx/alx_main.c: At top level:
/root/compat-wireless-2012-07-03-pc/drivers/net/ethernet/atheros/alx/alx_main.c:1955:22: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘alx_init_adapter_special’
static int __devinit alx_init_adapter_special(struct alx_adapter *adpt)
^
/root/compat-wireless-2012-07-03-pc/drivers/net/ethernet/atheros/alx/alx_main.c:2010:22: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘alx_init_adapter’
static int __devinit alx_init_adapter(struct alx_adapter *adpt)
^
/root/compat-wireless-2012-07-03-pc/drivers/net/ethernet/atheros/alx/alx_main.c: In function ‘alx_fix_features’:
/root/compat-wireless-2012-07-03-pc/drivers/net/ethernet/atheros/alx/alx_main.c:2495:17: error: ‘NETIF_F_HW_VLAN_RX’ undeclared (first use in this function)
if (features & NETIF_F_HW_VLAN_RX)
^
/root/compat-wireless-2012-07-03-pc/drivers/net/ethernet/atheros/alx/alx_main.c:2496:15: error: ‘NETIF_F_HW_VLAN_TX’ undeclared (first use in this function)
features |= NETIF_F_HW_VLAN_TX;
^
/root/compat-wireless-2012-07-03-pc/drivers/net/ethernet/atheros/alx/alx_main.c: In function ‘alx_set_features’:
/root/compat-wireless-2012-07-03-pc/drivers/net/ethernet/atheros/alx/alx_main.c:2514:16: error: ‘NETIF_F_HW_VLAN_RX’ undeclared (first use in this function)
if (changed & NETIF_F_HW_VLAN_RX)
^
/root/compat-wireless-2012-07-03-pc/drivers/net/ethernet/atheros/alx/alx_main.c: At top level:
/root/compat-wireless-2012-07-03-pc/drivers/net/ethernet/atheros/alx/alx_main.c:3472:22: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘alx_init’
static int __devinit alx_init(struct pci_dev *pdev,
^
/root/compat-wireless-2012-07-03-pc/drivers/net/ethernet/atheros/alx/alx_main.c:3780:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘alx_remove’
static void __devexit alx_remove(struct pci_dev *pdev)
^
/root/compat-wireless-2012-07-03-pc/drivers/net/ethernet/atheros/alx/alx_main.c:3903:17: error: ‘alx_init’ undeclared here (not in a function)
.probe = alx_init,
^
/root/compat-wireless-2012-07-03-pc/drivers/net/ethernet/atheros/alx/alx_main.c:3904:2: error: implicit declaration of function ‘__devexit_p’ [-Werror=implicit-function-declaration]
.remove = __devexit_p(alx_remove),
^
/root/compat-wireless-2012-07-03-pc/drivers/net/ethernet/atheros/alx/alx_main.c:3904:29: error: ‘alx_remove’ undeclared here (not in a function)
.remove = __devexit_p(alx_remove),
^
/root/compat-wireless-2012-07-03-pc/drivers/net/ethernet/atheros/alx/alx_main.c:135:12: warning: ‘alx_validate_mac_addr’ defined but not used [-Wunused-function]
static int alx_validate_mac_addr(u8 *mac_addr)
^
/root/compat-wireless-2012-07-03-pc/drivers/net/ethernet/atheros/alx/alx_main.c:210:12: warning: ‘alx_init_hw_callbacks’ defined but not used [-Wunused-function]
static int alx_init_hw_callbacks(struct alx_adapter *adpt)
^
/root/compat-wireless-2012-07-03-pc/drivers/net/ethernet/atheros/alx/alx_main.c:1698:12: warning: ‘alx_alloc_all_rtx_queue’ defined but not used [-Wunused-function]
static int alx_alloc_all_rtx_queue(struct alx_adapter *adpt)
^
/root/compat-wireless-2012-07-03-pc/drivers/net/ethernet/atheros/alx/alx_main.c:1757:13: warning: ‘alx_free_all_rtx_queue’ defined but not used [-Wunused-function]
static void alx_free_all_rtx_queue(struct alx_adapter *adpt)
^
/root/compat-wireless-2012-07-03-pc/drivers/net/ethernet/atheros/alx/alx_main.c:1773:12: warning: ‘alx_set_interrupt_param’ defined but not used [-Wunused-function]
static int alx_set_interrupt_param(struct alx_adapter *adpt)
^
/root/compat-wireless-2012-07-03-pc/drivers/net/ethernet/atheros/alx/alx_main.c:1824:13: warning: ‘alx_reset_interrupt_param’ defined but not used [-Wunused-function]
static void alx_reset_interrupt_param(struct alx_adapter *adpt)
^
/root/compat-wireless-2012-07-03-pc/drivers/net/ethernet/atheros/alx/alx_main.c:1914:12: warning: ‘alx_set_interrupt_mode’ defined but not used [-Wunused-function]
static int alx_set_interrupt_mode(struct alx_adapter *adpt)
^
/root/compat-wireless-2012-07-03-pc/drivers/net/ethernet/atheros/alx/alx_main.c:1941:13: warning: ‘alx_reset_interrupt_mode’ defined but not used [-Wunused-function]
static void alx_reset_interrupt_mode(struct alx_adapter *adpt)
^
/root/compat-wireless-2012-07-03-pc/drivers/net/ethernet/atheros/alx/alx_main.c:2125:12: warning: ‘alx_set_register_info_special’ defined but not used [-Wunused-function]
static int alx_set_register_info_special(struct alx_adapter *adpt)
^
/root/compat-wireless-2012-07-03-pc/drivers/net/ethernet/atheros/alx/alx_main.c:3043:13: warning: ‘alx_timer_routine’ defined but not used [-Wunused-function]
static void alx_timer_routine(unsigned long data)
^
/root/compat-wireless-2012-07-03-pc/drivers/net/ethernet/atheros/alx/alx_main.c:3064:13: warning: ‘alx_task_routine’ defined but not used [-Wunused-function]
static void alx_task_routine(struct work_struct *work)
^
cc1: some warnings being treated as errors
make[4]: *** [/root/compat-wireless-2012-07-03-pc/drivers/net/ethernet/atheros/alx/alx_main.o] エラー 1
make[3]: *** [/root/compat-wireless-2012-07-03-pc/drivers/net/ethernet/atheros/alx] エラー 2
make[2]: *** [/root/compat-wireless-2012-07-03-pc/drivers/net/ethernet/atheros] エラー 2
make[1]: *** [_module_/root/compat-wireless-2012-07-03-pc] エラー 2
make[1]: ディレクトリ `/usr/src/linux-headers-3.13.0-24-generic' から出ます
make: *** [modules] エラー 2
root@ryo-Prime-Series:~/compat-wireless-2012-07-03-pc# sudo make install
Updating Ubuntu's initramfs for 3.13.0-24-generic under /boot/ ...
Will now run update-grub to ensure grub will find the new initramfs ...
Generating grub configuration file ...
Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported.
Linux イメージを見つけました: /boot/vmlinuz-3.13.0-24-generic
Found initrd image: /boot/initrd.img-3.13.0-24-generic
Found memtest86+ image: /boot/memtest86+.elf
Found memtest86+ image: /boot/memtest86+.bin
完了
make -C /lib/modules/3.13.0-24-generic/build M=/root/compat-wireless-2012-07-03-pc modules
make[1]: ディレクトリ `/usr/src/linux-headers-3.13.0-24-generic' に入ります
CC [M] /root/compat-wireless-2012-07-03-pc/drivers/net/ethernet/atheros/alx/alx_main.o
/root/compat-wireless-2012-07-03-pc/drivers/net/ethernet/atheros/alx/alx_main.c: In function ‘alx_hw_printk’:
/root/compat-wireless-2012-07-03-pc/drivers/net/ethernet/atheros/alx/alx_main.c:124:3: error: implicit declaration of function ‘__netdev_printk’ [-Werror=implicit-function-declaration]
__netdev_printk(level, hw->adpt->netdev, &vaf);
^
/root/compat-wireless-2012-07-03-pc/drivers/net/ethernet/atheros/alx/alx_main.c: In function ‘alx_receive_skb’:
/root/compat-wireless-2012-07-03-pc/drivers/net/ethernet/atheros/alx/alx_main.c:440:3: error: too few arguments to function ‘__vlan_hwaccel_put_tag’
__vlan_hwaccel_put_tag(skb, vlan);
^
In file included from /root/compat-wireless-2012-07-03-pc/drivers/net/ethernet/atheros/alx/alx.h:37:0,
from /root/compat-wireless-2012-07-03-pc/drivers/net/ethernet/atheros/alx/alx_main.c:17:
include/linux/if_vlan.h:337:31: note: declared here
static inline struct sk_buff *__vlan_hwaccel_put_tag(struct sk_buff *skb,
^
/root/compat-wireless-2012-07-03-pc/drivers/net/ethernet/atheros/alx/alx_main.c: In function ‘alx_vlan_mode’:
/root/compat-wireless-2012-07-03-pc/drivers/net/ethernet/atheros/alx/alx_main.c:1473:17: error: ‘NETIF_F_HW_VLAN_RX’ undeclared (first use in this function)
if (features & NETIF_F_HW_VLAN_RX) {
^
/root/compat-wireless-2012-07-03-pc/drivers/net/ethernet/atheros/alx/alx_main.c:1473:17: note: each undeclared identifier is reported only once for each function it appears in
/root/compat-wireless-2012-07-03-pc/drivers/net/ethernet/atheros/alx/alx_main.c: At top level:
/root/compat-wireless-2012-07-03-pc/drivers/net/ethernet/atheros/alx/alx_main.c:1955:22: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘alx_init_adapter_special’
static int __devinit alx_init_adapter_special(struct alx_adapter *adpt)
^
/root/compat-wireless-2012-07-03-pc/drivers/net/ethernet/atheros/alx/alx_main.c:2010:22: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘alx_init_adapter’
static int __devinit alx_init_adapter(struct alx_adapter *adpt)
^
/root/compat-wireless-2012-07-03-pc/drivers/net/ethernet/atheros/alx/alx_main.c: In function ‘alx_fix_features’:
/root/compat-wireless-2012-07-03-pc/drivers/net/ethernet/atheros/alx/alx_main.c:2495:17: error: ‘NETIF_F_HW_VLAN_RX’ undeclared (first use in this function)
if (features & NETIF_F_HW_VLAN_RX)
^
/root/compat-wireless-2012-07-03-pc/drivers/net/ethernet/atheros/alx/alx_main.c:2496:15: error: ‘NETIF_F_HW_VLAN_TX’ undeclared (first use in this function)
features |= NETIF_F_HW_VLAN_TX;
^
/root/compat-wireless-2012-07-03-pc/drivers/net/ethernet/atheros/alx/alx_main.c: In function ‘alx_set_features’:
/root/compat-wireless-2012-07-03-pc/drivers/net/ethernet/atheros/alx/alx_main.c:2514:16: error: ‘NETIF_F_HW_VLAN_RX’ undeclared (first use in this function)
if (changed & NETIF_F_HW_VLAN_RX)
^
/root/compat-wireless-2012-07-03-pc/drivers/net/ethernet/atheros/alx/alx_main.c: At top level:
/root/compat-wireless-2012-07-03-pc/drivers/net/ethernet/atheros/alx/alx_main.c:3472:22: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘alx_init’
static int __devinit alx_init(struct pci_dev *pdev,
^
/root/compat-wireless-2012-07-03-pc/drivers/net/ethernet/atheros/alx/alx_main.c:3780:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘alx_remove’
static void __devexit alx_remove(struct pci_dev *pdev)
^
/root/compat-wireless-2012-07-03-pc/drivers/net/ethernet/atheros/alx/alx_main.c:3903:17: error: ‘alx_init’ undeclared here (not in a function)
.probe = alx_init,
^
/root/compat-wireless-2012-07-03-pc/drivers/net/ethernet/atheros/alx/alx_main.c:3904:2: error: implicit declaration of function ‘__devexit_p’ [-Werror=implicit-function-declaration]
.remove = __devexit_p(alx_remove),
^
/root/compat-wireless-2012-07-03-pc/drivers/net/ethernet/atheros/alx/alx_main.c:3904:29: error: ‘alx_remove’ undeclared here (not in a function)
.remove = __devexit_p(alx_remove),
^
/root/compat-wireless-2012-07-03-pc/drivers/net/ethernet/atheros/alx/alx_main.c:135:12: warning: ‘alx_validate_mac_addr’ defined but not used [-Wunused-function]
static int alx_validate_mac_addr(u8 *mac_addr)
^
/root/compat-wireless-2012-07-03-pc/drivers/net/ethernet/atheros/alx/alx_main.c:210:12: warning: ‘alx_init_hw_callbacks’ defined but not used [-Wunused-function]
static int alx_init_hw_callbacks(struct alx_adapter *adpt)
^
/root/compat-wireless-2012-07-03-pc/drivers/net/ethernet/atheros/alx/alx_main.c:1698:12: warning: ‘alx_alloc_all_rtx_queue’ defined but not used [-Wunused-function]
static int alx_alloc_all_rtx_queue(struct alx_adapter *adpt)
^
/root/compat-wireless-2012-07-03-pc/drivers/net/ethernet/atheros/alx/alx_main.c:1757:13: warning: ‘alx_free_all_rtx_queue’ defined but not used [-Wunused-function]
static void alx_free_all_rtx_queue(struct alx_adapter *adpt)
^
/root/compat-wireless-2012-07-03-pc/drivers/net/ethernet/atheros/alx/alx_main.c:1773:12: warning: ‘alx_set_interrupt_param’ defined but not used [-Wunused-function]
static int alx_set_interrupt_param(struct alx_adapter *adpt)
^
/root/compat-wireless-2012-07-03-pc/drivers/net/ethernet/atheros/alx/alx_main.c:1824:13: warning: ‘alx_reset_interrupt_param’ defined but not used [-Wunused-function]
static void alx_reset_interrupt_param(struct alx_adapter *adpt)
^
/root/compat-wireless-2012-07-03-pc/drivers/net/ethernet/atheros/alx/alx_main.c:1914:12: warning: ‘alx_set_interrupt_mode’ defined but not used [-Wunused-function]
static int alx_set_interrupt_mode(struct alx_adapter *adpt)
^
/root/compat-wireless-2012-07-03-pc/drivers/net/ethernet/atheros/alx/alx_main.c:1941:13: warning: ‘alx_reset_interrupt_mode’ defined but not used [-Wunused-function]
static void alx_reset_interrupt_mode(struct alx_adapter *adpt)
^
/root/compat-wireless-2012-07-03-pc/drivers/net/ethernet/atheros/alx/alx_main.c:2125:12: warning: ‘alx_set_register_info_special’ defined but not used [-Wunused-function]
static int alx_set_register_info_special(struct alx_adapter *adpt)
^
/root/compat-wireless-2012-07-03-pc/drivers/net/ethernet/atheros/alx/alx_main.c:3043:13: warning: ‘alx_timer_routine’ defined but not used [-Wunused-function]
static void alx_timer_routine(unsigned long data)
^
/root/compat-wireless-2012-07-03-pc/drivers/net/ethernet/atheros/alx/alx_main.c:3064:13: warning: ‘alx_task_routine’ defined but not used [-Wunused-function]
static void alx_task_routine(struct work_struct *work)
^
cc1: some warnings being treated as errors
make[4]: *** [/root/compat-wireless-2012-07-03-pc/drivers/net/ethernet/atheros/alx/alx_main.o] エラー 1
make[3]: *** [/root/compat-wireless-2012-07-03-pc/drivers/net/ethernet/atheros/alx] エラー 2
make[2]: *** [/root/compat-wireless-2012-07-03-pc/drivers/net/ethernet/atheros] エラー 2
make[1]: *** [_module_/root/compat-wireless-2012-07-03-pc] エラー 2
make[1]: ディレクトリ `/usr/src/linux-headers-3.13.0-24-generic' から出ます
make: *** [modules] エラー 2
root@ryo-Prime-Series:~/compat-wireless-2012-07-03-pc#
どうすれば改善できるでしょうか。またこの方法は正しいのですか?
おねがいします
オフライン
2ヶ月も前の投稿ですが、もう解決されました?ryo1013さんが参考にした投稿の投稿者です。実は私のほうではまだ解決していません。症状が出るたびに一度ルーターを再起動しています。そうすると数日から数週間と一時的に接続できるようになります。
今回わざわざ投稿しようと考えたのは、ある仮説を思いついたからです。私は今まで無線LANの接続をdhcpで設定していたのですが、手動でローカルIPアドレスを設定してみればどうかと考えました。根拠もなければ自信もありませんが、今試しているところです。もし良かったら数日試してみて報告していただけませんか?
オフライン
ddさん、すいません。解決しなかったので、無線LAN中継機を使った有線接続に切り替えてしまいました。お金を出せるのなら、設定などは不要で5000円ぐらいで出来るので、おすすめです。
オフライン