お知らせ

  • 利用規約を守って投稿してください。また、よくある質問および投稿の手引きも参照してください。
  • メッセージの投稿にはアカウントが必要です。未登録の方は、ユーザ登録ページからアカウントを作成することができます。

#1 2012-06-03 13:12:09

getlpioracle
メンバ
登録日: 2012-06-03

Ubuntuの無線LAN接続ができない

こんにちは。

Windows7がプリインストールされていたPCにWubiを使ってデュアルブートした
Ubuntu10.04で無線LAN接続を試みています。
初心者ながらいろいろ試行錯誤しているのですが
どうしても無線LAN接続ができなく困っています。

有線環境がないので必要なファイルは一度Windowsを立ち上げてからダウンロードして
外付けHDDに保存し、Ubuntuを立ち上げてコピーしています。

今まで試したこと、理解したことは、
なんとかndiswrapperとndisgtkというソフトをUbuntuにインストールして
Windowsで使われている無線LANドライバをデバイスマネージャで探し(Ralink RT5390と判明)
対応するドライバ(exeファイル)をPCのメーカーサイトからダウンロードしましたが
実行するとインストール先が既存のネットワーク環境だったので
元の設定を壊してしまうのではと思いインストールはまだしていません。

その代り、既存ので使用している該当するドライバ
(必ずXP対応のものにすることと
どこかのサイトに書いてあったのでXPフォルダの下の86bitの
infファイルとsysファイル)をUbuntuでndisgtkを起動し、
「新しいドライバのインストール」でinfファイルを選択して実行後
再起動してみましたが通知領域の無線LANアイコンは、
いろいろ操作する前の赤のビックリマークのままでした。
ちなみにUbuntuにコピーしたのはinfファイルとsysファイルで
/home/デスクトップ/driver
というフォルダを作って入れてあります。

クリックしても、選択不可の「有線LAN」と「切断」、
それとVPN接続という項目しかありません。

アドバイスよろしくお願いします。





以下、関係しそうなコマンドの実行結果です。
******************************
lspciを実行したところ
Network controller: RaLink Device 539f
というドライバを使っているようです。

******************************
Windowsでipconfig/all

Wireless LAN adapter ワイヤレス ネットワーク接続:

   接続固有の DNS サフィックス . . . :
   説明. . . . . . . . . . . . . . . : Ralink RT5390 802.11b/g/n WiFi Adapter

******************************
user1@ubuntu:/etc/ndiswrapper/rt2860$ sudo /sbin/modprobe ndiswrapper
[sudo] password for user1:
WARNING: All config files need .conf: /etc/modprobe.d/ndiswrapper, it will be ignored in a future release.

*********************************************
user1@ubuntu:~$ ndiswrapper -l
WARNING: All config files need .conf: /etc/modprobe.d/ndiswrapper, it will be ignored in a future release.
rt2860 : driver installed
    device (1814:539F) present
*********************************************
usr1@ubuntu:/etc/ndiswrapper/rt2860$ ls
1814:0601.5.conf            1814:0781:130F:1043.5.conf
~略~
1814:0781:029A:1028.5.conf  1814:539F:F002:1814.5.conf
1814:0781:0302:1A32.5.conf  rt2860.inf
1814:0781:1059:1A3B.5.conf  rt2860.sys


*********************************************
user1@ubuntu:~$ ifconfig
eth0      Link encap:イーサネット  ハードウェアアドレス 44:1e:a1:cd:6e:11 
          UP BROADCAST MULTICAST  MTU:1500  メトリック:1
          RXパケット:0 エラー:0 損失:0 オーバラン:0 フレーム:0
          TXパケット:0 エラー:0 損失:0 オーバラン:0 キャリア:0
          衝突(Collisions):0 TXキュー長:1000
          RXバイト:0 (0.0 B)  TXバイト:0 (0.0 B)
          割り込み:36 ベースアドレス:0xc000

lo        Link encap:ローカルループバック 
          inetアドレス:127.0.0.1  マスク:255.0.0.0
          inet6アドレス: ::1/128 範囲:ホスト
          UP LOOPBACK RUNNING  MTU:16436  メトリック:1
          RXパケット:140 エラー:0 損失:0 オーバラン:0 フレーム:0
          TXパケット:140 エラー:0 損失:0 オーバラン:0 キャリア:0
          衝突(Collisions):0 TXキュー長:0
          RXバイト:10928 (10.9 KB)  TXバイト:10928 (10.9 KB)
*********************************************
user1@ubuntu:~$ iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

pan0      no wireless extensions.

*********************************************

オフライン

 

#2 2012-06-03 13:27:10

3kneko
メンバ
登録日: 2012-05-20

Re: Ubuntuの無線LAN接続ができない

http://www.ralinktech.com/en/04_support … php?sn=501

ここからLinux用ドライバーがダウンロードできるようです。

オフライン

 

#3 2012-06-03 22:07:32

getlpioracle
メンバ
登録日: 2012-06-03

Re: Ubuntuの無線LAN接続ができない

回答ありがとうございます。

そのドライバ一覧の「RT539x PCIe」が対応してると思ったのでクリックしたところ
「2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO_GPL.bz2」
がダウンロードされました。

これを展開・解凍したところ、
「2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO」
というフォルダが生成されましたが、その中にはinfファイルもsysファイルも
入っていませんでした。

調べてみたところ、展開して適当な場所に置いた後、

生成フォルダ/os/linuxにあるconfig.mkをエディタで開き、
HAS_CFG80211_SUPPORT=yをHAS_CFG80211_SUPPORT=nに書き換え、
make
make install
の順に実行すると無線LANが使えるようになるそうですが
OSをリブートしても通知領域の無線LANアイコンは相変わらず反応なしでした。

ちなみにconfig.mkはもともとHAS_CFG80211_SUPPORT=nでした。

オフライン

 

#4 2012-06-03 22:31:33

getlpioracle
メンバ
登録日: 2012-06-03

Re: Ubuntuの無線LAN接続ができない

すみません、よく見たらエラーが出ていました。
エラー内容を載せます。
crypt_md5.oが作れないからコンパイルできないと言っているのでしょうか?
アドバイスよろしくお願いします。

***********************************
user1:~/デスクトップ/tmp/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO$ make
make -C tools
make[1]: ディレクトリ `/home/nashimoto/デスクトップ/tmp/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/tools' に入ります
gcc -g bin2h.c -o bin2h
make[1]: ディレクトリ `/home/nashimoto/デスクトップ/tmp/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/tools' から出ます
/home/nashimoto/デスクトップ/tmp/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/tools/bin2h
cp -f os/linux/Makefile.6 /home/nashimoto/デスクトップ/tmp/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/Makefile
make -C /lib/modules/2.6.32-21-generic/build SUBDIRS=/home/nashimoto/デスクトップ/tmp/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux modules
make[1]: ディレクトリ `/usr/src/linux-headers-2.6.32-21-generic' に入ります
  CC [M]  /home/nashimoto/デスクトップ/tmp/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../common/crypt_md5.o
/bin/sh: cannot create /home/nashimoto/デスク��ップ/tmp/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../common/.crypt_md5.o.tmp: Directory nonexistent
make[2]: *** [/home/nashimoto/デスクトップ/tmp/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../common/crypt_md5.o] エラー 2
make[1]: *** [_module_/home/nashimoto/デスクトップ/tmp/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux] エラー 2
make[1]: ディレクトリ `/usr/src/linux-headers-2.6.32-21-generic' から出ます
make: *** [LINUX] エラー 2

*******************************************************


user1:~/デスクトップ/tmp/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO$ make install
make -C /home/nashimoto/デスクトップ/tmp/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux -f Makefile.6 install
mkdir: ディレクトリ `/etc/Wireless' を作成できません: Permission denied
make[1]: ディレクトリ `/home/nashimoto/デスクトップ/tmp/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux' に入ります
rm -rf /etc/Wireless/RT2860STA
mkdir /etc/Wireless/RT2860STA
mkdir: ディレクトリ `/etc/Wireless/RT2860STA' を作成できません: No such file or directory
make[1]: *** [install] エラー 1
make[1]: ディレクトリ `/home/nashimoto/デスクトップ/tmp/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux' から出ます
make: *** [install] エラー 2
nashimoto@ubuntu:~/デスクトップ/tmp/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_D
PO$

オフライン

 

#5 2012-06-03 22:44:58

3kneko
メンバ
登録日: 2012-05-20

Re: Ubuntuの無線LAN接続ができない

makeやmake installの前にsudoをつけて実行してみてください。

オフライン

 

#6 2012-06-05 20:46:39

getlpioracle
メンバ
登録日: 2012-06-03

Re: Ubuntuの無線LAN接続ができない

実行しましたが、やはりエラーでした。。。

user1@ubuntu:~/デスクトップ/tmp/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO$ sudo make
make -C tools
make[1]: ディレクトリ `/home/nashimoto/デスクトップ/tmp/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/tools' に入ります
gcc -g bin2h.c -o bin2h
make[1]: ディレクトリ `/home/nashimoto/デスクトップ/tmp/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/tools' から出ます
/home/nashimoto/デスクトップ/tmp/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/tools/bin2h
cp -f os/linux/Makefile.6 /home/nashimoto/デスクトップ/tmp/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/Makefile
make -C /lib/modules/2.6.32-21-generic/build SUBDIRS=/home/nashimoto/デスクトップ/tmp/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux modules
make[1]: ディレクトリ `/usr/src/linux-headers-2.6.32-21-generic' に入ります
  CC [M]  /home/nashimoto/デスクトップ/tmp/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../common/crypt_md5.o
/bin/sh: cannot create /home/nashimoto/デスク��ップ/tmp/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../common/.crypt_md5.o.tmp: Directory nonexistent
make[2]: *** [/home/nashimoto/デスクトップ/tmp/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../common/crypt_md5.o] エラー 2
make[1]: *** [_module_/home/nashimoto/デスクトップ/tmp/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux] エラー 2
make[1]: ディレクトリ `/usr/src/linux-headers-2.6.32-21-generic' から出ます
make: *** [LINUX] エラー 2

*******************************************************

user1@ubuntu:~/デスクトップ/tmp/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO$ sudo make install
make -C /home/nashimoto/デスクトップ/tmp/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux -f Makefile.6 install
make[1]: ディレクトリ `/home/nashimoto/デスクトップ/tmp/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux' に入ります
rm -rf /etc/Wireless/RT2860STA
mkdir /etc/Wireless/RT2860STA
cp /home/nashimoto/デスクトップ/tmp/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/RT2860STA.dat /etc/Wireless/RT2860STA/.
install -d /lib/modules/2.6.32-21-generic/kernel/drivers/net/wireless/
install -m 644 -c rt5390sta.ko /lib/modules/2.6.32-21-generic/kernel/drivers/net/wireless/
install: stat `rt5390sta.ko'を実行できません: No such file or directory
make[1]: *** [install] エラー 1
make[1]: ディレクトリ `/home/nashimoto/デスクトップ/tmp/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux' から出ます
make: *** [install] エラー 2
nashimoto@ubuntu:~/デスクトップ/tmp/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_D
PO$

オフライン

 

#7 2012-06-05 22:19:57

3kneko
メンバ
登録日: 2012-05-20

Re: Ubuntuの無線LAN接続ができない

8.04で再現できました。
パスに日本語が含まれていると失敗するようです。

/home/nashimoto
にフォルダーを移動してもう一度makeしてください。

オフライン

 

#8 2012-06-06 14:17:46

getlpioracle
メンバ
登録日: 2012-06-03

Re: Ubuntuの無線LAN接続ができない

回答ありがとうございます。
フォルダ移動したら進展がありました。
しかしmake installの結果で「作成できないディレクトリがある」と言っているのでまだ
完全にコンパイルが通ってないようです。
コンピュータをリブートして通知領域を確認してもまだ無線LANは認識されてませんでした。
(赤のビックリマークのままです。)


※間違ってsudo付けずにmakeしたのでもう一度makeし直しました。


nashimoto:~/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO$ make
make -C tools
make[1]: ディレクトリ `/home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/tools' に入ります
gcc -g bin2h.c -o bin2h
make[1]: ディレクトリ `/home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/tools' から出ます
/home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/tools/bin2h
cp -f os/linux/Makefile.6 /home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/Makefile
make -C /lib/modules/2.6.32-21-generic/build SUBDIRS=/home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux modules
make[1]: ディレクトリ `/usr/src/linux-headers-2.6.32-21-generic' に入ります
  CC [M]  /home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../common/crypt_md5.o
  CC [M]  /home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../common/crypt_sha2.o
  CC [M]  /home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../common/crypt_hmac.o
  CC [M]  /home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../common/crypt_aes.o
  CC [M]  /home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../common/crypt_arc4.o
  CC [M]  /home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../common/mlme.o
  CC [M]  /home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../common/cmm_wep.o
  CC [M]  /home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../common/action.o
  CC [M]  /home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../common/cmm_data.o
  CC [M]  /home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../common/rtmp_init.o
  CC [M]  /home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../common/rtmp_init_inf.o
  CC [M]  /home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../common/cmm_tkip.o
  CC [M]  /home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../common/cmm_aes.o
  CC [M]  /home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../common/cmm_sync.o
  CC [M]  /home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../common/eeprom.o
  CC [M]  /home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../common/cmm_sanity.o
  CC [M]  /home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../common/cmm_info.o
  CC [M]  /home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../common/cmm_cfg.o
  CC [M]  /home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../common/cmm_wpa.o
  CC [M]  /home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../common/dfs.o
  CC [M]  /home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../common/spectrum.o
  CC [M]  /home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../common/rtmp_timer.o
  CC [M]  /home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../common/rt_channel.o
  CC [M]  /home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../common/cmm_profile.o
  CC [M]  /home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../common/cmm_asic.o
/home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../common/cmm_asic.c: In function ‘AsicGetAutoAgcOffset’:
/home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../common/cmm_asic.c:882: warning: unused variable ‘bTempSuccess’
/home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../common/cmm_asic.c:881: warning: unused variable ‘LookupTableIndex’
/home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../common/cmm_asic.c:880: warning: unused variable ‘CurrentTemp’
/home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../common/cmm_asic.c:879: warning: unused variable ‘BbpValue’
/home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../common/cmm_asic.c:878: warning: unused variable ‘pTxPowerTuningEntry2’
/home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../common/cmm_asic.c:875: warning: unused variable ‘RFValue’
/home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../common/cmm_asic.c:874: warning: unused variable ‘pTxPowerTuningEntry’
/home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../common/cmm_asic.c: In function ‘AsicAdjustTxPower’:
/home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../common/cmm_asic.c:1575: warning: unused variable ‘flags’
/home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../common/cmm_asic.c:1562: warning: unused variable ‘pFinalTxPwr’
/home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../common/cmm_asic.c:1560: warning: unused variable ‘bAutoTxAgc’
  CC [M]  /home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../common/cmm_cmd.o
  CC [M]  /home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../os/linux/rt_profile.o
  CC [M]  /home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../chips/rtmp_chip.o
  CC [M]  /home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../sta/assoc.o
  CC [M]  /home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../sta/auth.o
  CC [M]  /home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../sta/auth_rsp.o
  CC [M]  /home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../sta/sync.o
  CC [M]  /home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../sta/sanity.o
  CC [M]  /home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../sta/rtmp_data.o
  CC [M]  /home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../sta/connect.o
/home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../sta/connect.c: In function ‘LinkUp’:
/home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../sta/connect.c:1446: warning: unused variable ‘pCurrEntry’
/home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../sta/connect.c:1445: warning: unused variable ‘HashIdx’
  CC [M]  /home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../sta/wpa.o
  CC [M]  /home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../sta/ags.o
  CC [M]  /home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../sta/sta_cfg.o
  CC [M]  /home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../common/rt_os_util.o
  CC [M]  /home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../os/linux/sta_ioctl.o
  CC [M]  /home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../os/linux/rt_linux.o
  CC [M]  /home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../os/linux/rt_main_dev.o
  CC [M]  /home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../common/ba_action.o
  CC [M]  /home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../common/rt_led.o
  CC [M]  /home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../common/cmm_mac_pci.o
  CC [M]  /home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../common/cmm_data_pci.o
  CC [M]  /home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../os/linux/rt_rbus_pci_drv.o
/home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../os/linux/rt_rbus_pci_drv.c: In function ‘RTMPrt3xSetPCIePowerLinkCtrl’:
/home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../os/linux/rt_rbus_pci_drv.c:1793: warning: unused variable ‘offset’
/home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../os/linux/rt_rbus_pci_drv.c:1792: warning: unused variable ‘Vendor’
  CC [M]  /home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../common/ee_prom.o
  CC [M]  /home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../common/frq_cal.o
/home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../common/frq_cal.c: In function ‘FrequencyCalibration’:
/home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../common/frq_cal.c:202: warning: comparison of distinct pointer types lacks a cast
/home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../common/frq_cal.c:215: warning: comparison of distinct pointer types lacks a cast
/home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../common/frq_cal.c:230: warning: comparison of distinct pointer types lacks a cast
/home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../common/frq_cal.c:252: warning: comparison of distinct pointer types lacks a cast
/home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../common/frq_cal.c:265: warning: comparison of distinct pointer types lacks a cast
/home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../common/frq_cal.c:280: warning: comparison of distinct pointer types lacks a cast
/home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../common/frq_cal.c:136: warning: unused variable ‘bUpdateRFR’
  CC [M]  /home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../common/ee_efuse.o
  CC [M]  /home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../common/rtmp_mcu.o
/home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../common/rtmp_mcu.c: In function ‘RtmpAsicSendCommandToMcu’:
/home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../common/rtmp_mcu.c:481: warning: passing argument 3 of ‘pci_read_config_word’ from incompatible pointer type
include/linux/pci.h:663: note: expected ‘u16 *’ but argument is of type ‘ULONG *’
/home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../common/rtmp_mcu.c:487: warning: format ‘%x’ expects type ‘unsigned int’, but argument 2 has type ‘ULONG’
/home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../common/rtmp_mcu.c:487: warning: format ‘%x’ expects type ‘unsigned int’, but argument 3 has type ‘ULONG’
/home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../common/rtmp_mcu.c:500: warning: passing argument 3 of ‘pci_read_config_word’ from incompatible pointer type
include/linux/pci.h:663: note: expected ‘u16 *’ but argument is of type ‘ULONG *’
/home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../common/rtmp_mcu.c:509: warning: format ‘%x’ expects type ‘unsigned int’, but argument 2 has type ‘ULONG’
/home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../common/rtmp_mcu.c:509: warning: format ‘%x’ expects type ‘unsigned int’, but argument 3 has type ‘ULONG’
  CC [M]  /home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../common/rt_rf.o
  CC [M]  /home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../chips/rt30xx.o
  CC [M]  /home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../chips/rt3090.o
  CC [M]  /home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../chips/rt33xx.o
  CC [M]  /home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../chips/rt3390.o
/home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../chips/rt3390.c: In function ‘NICInitRT3390RFRegisters’:
/home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../chips/rt3390.c:42: warning: unused variable ‘bbpreg’
  CC [M]  /home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../chips/rt5390.o
/home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../chips/rt5390.c: In function ‘RT5390_Init’:
/home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../chips/rt5390.c:490: warning: assignment makes integer from pointer without a cast
/home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../chips/rt5390.c: In function ‘RT5390LoadRFSleepModeSetup’:
/home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../chips/rt5390.c:910: warning: unused variable ‘RFValue’
/home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../chips/rt5390.c: In function ‘RT5390ReverseRFSleepModeSetup’:
/home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../chips/rt5390.c:986: warning: unused variable ‘RFValue’
/home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../chips/rt5390.c: In function ‘RT5390_ChipSwitchChannel’:
/home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../chips/rt5390.c:1631: warning: comparison of distinct pointer types lacks a cast
/home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../chips/rt5390.c:1642: warning: comparison of distinct pointer types lacks a cast
/home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../chips/rt5390.c:1656: warning: comparison of distinct pointer types lacks a cast
/home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../chips/rt5390.c:1526: warning: unused variable ‘BbpR110’
/home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../chips/rt5390.c:1525: warning: unused variable ‘BbpR109’
/home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../chips/rt5390.c: In function ‘GetDesiredTssiAndCurrentTssi’:
/home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../chips/rt5390.c:3120: warning: missing braces around initializer
/home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../chips/rt5390.c:3120: warning: (near initialization for ‘htTssiInfo.PartA.field’)
/home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../chips/rt5390.c: In function ‘RT5390_ATETssiCalibration’:
/home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../chips/rt5390.c:3391: warning: ISO C90 forbids mixed declarations and code
/home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../chips/rt5390.c:3480: warning: passing argument 3 of ‘eFuseWrite’ from incompatible pointer type
/home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/include/rtmp.h:5742: note: expected ‘PUSHORT’ but argument is of type ‘UCHAR *’
/home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../chips/rt5390.c:3392: warning: unused variable ‘ChannelPower’
/home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../chips/rt5390.c: In function ‘GetPowerDeltaFromTssiRatio’:
/home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../chips/rt5390.c:3622: warning: format ‘%d’ expects type ‘int’, but argument 4 has type ‘LONG’
/home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../chips/rt5390.c:3651: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘LONG’
/home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../chips/rt5390.c: In function ‘RT5390_AsicResetBbpAgent’:
/home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../chips/rt5390.c:3929: warning: unused variable ‘BBPValue’
/home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../chips/rt5390.c:3928: warning: unused variable ‘loop’
/home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../chips/rt5390.c: In function ‘RT5390_ATETssiCalibration’:
/home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../chips/rt5390.c:3395: warning: ‘BBPR47’ may be used uninitialized in this function
/home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../chips/rt5390.c:3392: warning: ‘BbpData’ may be used uninitialized in this function
  CC [M]  /home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../os/linux/rt_pci_rbus.o
  CC [M]  /home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../os/linux/rt_rbus_pci_util.o
  CC [M]  /home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../os/linux/pci_main_dev.o
/home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../os/linux/pci_main_dev.c: In function ‘rt2860_probe’:
/home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../os/linux/pci_main_dev.c:326: warning: assignment discards qualifiers from pointer target type
  CC [M]  /home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../common/rt_ate.o
/home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../common/rt_ate.c: In function ‘DefaultATEAsicSwitchChannel’:
/home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../common/rt_ate.c:1248: warning: comparison of distinct pointer types lacks a cast
/home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../common/rt_ate.c:1034: warning: unused variable ‘RFValue2’
/home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../common/rt_ate.c: In function ‘ATETxPwrHandler’:
/home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../common/rt_ate.c:5162: warning: unused variable ‘CfgOfTxPwrCtrlOverMAC’
/home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../common/rt_ate.c: In function ‘Set_ATE_TX_FREQOFFSET_Proc’:
/home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../common/rt_ate.c:7623: warning: comparison of distinct pointer types lacks a cast
/home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../common/rt_ate.c: In function ‘Set_ATE_TSSI_CALIBRATION_EX_Proc’:
/home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../common/rt_ate.c:9373: warning: unused variable ‘CurrentChannel’
/home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../common/rt_ate.c:9372: warning: unused variable ‘BSSID_ADDR’
/home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../common/rt_ate.c:9371: warning: unused variable ‘ChannelPower’
/home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../common/rt_ate.c:9370: warning: unused variable ‘EEPData’
/home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../common/rt_ate.c:9369: warning: unused variable ‘TssiDeltaPerChannel’
/home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../common/rt_ate.c:9369: warning: unused variable ‘TssiRefPerChannel’
/home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../common/rt_ate.c:9368: warning: unused variable ‘BBP49Value’
/home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../common/rt_ate.c:9368: warning: unused variable ‘RF28Value’
/home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../common/rt_ate.c:9368: warning: unused variable ‘RF27Value’
/home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../common/rt_ate.c:9368: warning: unused variable ‘RFValue’
/home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../common/rt_ate.c:9368: warning: unused variable ‘BbpData’
/home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../common/rt_ate.c:9376: warning: control reaches end of non-void function
/home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../common/rt_ate.c: In function ‘Set_ATE_TSSI_CALIBRATION_Proc’:
/home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../common/rt_ate.c:9360: warning: control reaches end of non-void function
  LD [M]  /home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/rt5390sta.o
  Building modules, stage 2.
  MODPOST 1 modules
WARNING: modpost: missing MODULE_LICENSE() in /home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/rt5390sta.o
see include/linux/module.h for more information
  CC      /home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/rt5390sta.mod.o
  LD [M]  /home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/rt5390sta.ko
make[1]: ディレクトリ `/usr/src/linux-headers-2.6.32-21-generic' から出ます
cp -f /home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/rt5390sta.ko /tftpboot
cp: 通常のファイル `/tftpboot' を作成できません: Permission denied
make: *** [LINUX] エラー 1

*********************************************

nashimoto@ubuntu:~/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO$ sudo make
[sudo] password for nashimoto:
make -C tools
make[1]: ディレクトリ `/home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/tools' に入ります
gcc -g bin2h.c -o bin2h
make[1]: ディレクトリ `/home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/tools' から出ます
/home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/tools/bin2h
cp -f os/linux/Makefile.6 /home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/Makefile
make -C /lib/modules/2.6.32-21-generic/build SUBDIRS=/home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux modules
make[1]: ディレクトリ `/usr/src/linux-headers-2.6.32-21-generic' に入ります
  CC [M]  /home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../common/rtmp_mcu.o
/home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../common/rtmp_mcu.c: In function ‘RtmpAsicSendCommandToMcu’:
/home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../common/rtmp_mcu.c:481: warning: passing argument 3 of ‘pci_read_config_word’ from incompatible pointer type
include/linux/pci.h:663: note: expected ‘u16 *’ but argument is of type ‘ULONG *’
/home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../common/rtmp_mcu.c:487: warning: format ‘%x’ expects type ‘unsigned int’, but argument 2 has type ‘ULONG’
/home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../common/rtmp_mcu.c:487: warning: format ‘%x’ expects type ‘unsigned int’, but argument 3 has type ‘ULONG’
/home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../common/rtmp_mcu.c:500: warning: passing argument 3 of ‘pci_read_config_word’ from incompatible pointer type
include/linux/pci.h:663: note: expected ‘u16 *’ but argument is of type ‘ULONG *’
/home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../common/rtmp_mcu.c:509: warning: format ‘%x’ expects type ‘unsigned int’, but argument 2 has type ‘ULONG’
/home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/../../common/rtmp_mcu.c:509: warning: format ‘%x’ expects type ‘unsigned int’, but argument 3 has type ‘ULONG’
  LD [M]  /home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/rt5390sta.o
  Building modules, stage 2.
  MODPOST 1 modules
WARNING: modpost: missing MODULE_LICENSE() in /home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/rt5390sta.o
see include/linux/module.h for more information
  LD [M]  /home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/rt5390sta.ko
make[1]: ディレクトリ `/usr/src/linux-headers-2.6.32-21-generic' から出ます
cp -f /home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/rt5390sta.ko /tftpboot

*************************************************

nashimoto@ubuntu:~/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO$ sudo make install
make -C /home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux -f Makefile.6 install
mkdir: ディレクトリ `/etc/Wireless' を作成できません: File exists
make[1]: ディレクトリ `/home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux' に入ります
rm -rf /etc/Wireless/RT2860STA
mkdir /etc/Wireless/RT2860STA
cp /home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/RT2860STA.dat /etc/Wireless/RT2860STA/.
install -d /lib/modules/2.6.32-21-generic/kernel/drivers/net/wireless/
install -m 644 -c rt5390sta.ko /lib/modules/2.6.32-21-generic/kernel/drivers/net/wireless/
/sbin/depmod -a 2.6.32-21-generic
make[1]: ディレクトリ `/home/nashimoto/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux' から出ます
nashimoto@ubuntu:~/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO$

オフライン

 

#9 2012-06-06 15:44:34

3kneko
メンバ
登録日: 2012-05-20

Re: Ubuntuの無線LAN接続ができない

コード:

mkdir: ディレクトリ `/etc/Wireless' を作成できません: File exists

このエラーは"/etc/Wireless"ディレクトリが既に作成されていたため出たもののようです。

その後の処理は行われているようなので、インストールは成功していると思います。

モジュールが読み込まれているか確認したいので、sudo lsmodを実行して結果を貼り付けてください。

オフライン

 

#10 2012-06-06 16:03:12

getlpioracle
メンバ
登録日: 2012-06-03

Re: Ubuntuの無線LAN接続ができない

結果を貼り付けます。

user1@ubuntu:~$ sudo lsmod
[sudo] password for user1:
Module                  Size  Used by
rfcomm                 33421  4
binfmt_misc             6587  1
sco                     7885  2
bridge                 45582  0
stp                     1655  1 bridge
bnep                    9436  2
ppdev                   5259  0
l2cap                  30624  16 rfcomm,bnep
usb_storage            39425  1
usbhid                 36110  0
hid                    67032  1 usbhid
fbcon                  35102  71
tileblit                2031  1 fbcon
font                    7557  1 fbcon
bitblit                 4707  1 fbcon
softcursor              1189  1 bitblit
btusb                  10925  2
uvcvideo               56990  0
bluetooth              49892  9 rfcomm,sco,bnep,l2cap,btusb
xhci                   35666  0
videodev               34361  1 uvcvideo
psmouse                63245  0
vga16fb                11385  1
hp_accel               11144  0
v4l1_compat            13251  2 uvcvideo,videodev
ndiswrapper           184677  0
vgastate                8961  1 vga16fb
lis3lv02d               6007  1 hp_accel
video                  17375  0
serio_raw               3978  0
input_polldev           2482  1 lis3lv02d
output                  1871  1 video
lp                      7028  0
led_class               2864  1 hp_accel
parport                32635  2 ppdev,lp
ahci                   32008  1
r8169                  33884  0
mii                     4381  1 r8169

オフライン

 

#11 2012-06-06 16:44:49

3kneko
メンバ
登録日: 2012-05-20

Re: Ubuntuの無線LAN接続ができない

モジュールを読み込んでいないようなので、

sudo modprobe rt5390sta

と実行して認識するか確認してください。

オフライン

 

#12 2012-06-06 18:23:54

getlpioracle
メンバ
登録日: 2012-06-03

Re: Ubuntuの無線LAN接続ができない

認識してないようです。。

user1@ubuntu:~$ sudo modprobe rt5390sta
[sudo] password for user1:
WARNING: All config files need .conf: /etc/modprobe.d/ndiswrapper, it will be ignored in a future release.

オフライン

 

#13 2012-06-06 19:32:26

3kneko
メンバ
登録日: 2012-05-20

Re: Ubuntuの無線LAN接続ができない

ndiswrapperが原因かもしれません。

ndiswrapper -r rt2860

と実行してndiswrapperからWindows用ドライバーを削除してください。

オフライン

 

#14 2012-06-06 22:13:12

getlpioracle
メンバ
登録日: 2012-06-03

Re: Ubuntuの無線LAN接続ができない

実行しました。
どのディレクトリで打てばいいかわからなかったので以下2つの場所で実行しました。

user1@ubuntu:~$ ndiswrapper -r rt2860
couldn't delete /etc/ndiswrapper/rt2860: Inappropriate ioctl for device

user1@ubuntu:/etc/modprobe.d$ ndiswrapper -r rt2860
couldn't delete /etc/ndiswrapper/rt2860: Inappropriate ioctl for device

また、modprobe.dには以下のようなファイルがありました。

user1@ubuntu:/etc/modprobe.d$ ls
alsa-base.conf              blacklist-modem.conf     libpisock9.conf
blacklist-ath_pci.conf      blacklist-oss.conf       ndiswrapper
blacklist-firewire.conf     blacklist-watchdog.conf
blacklist-framebuffer.conf  blacklist.conf

ndiswrapperはテキストファイルで中にはrt2860というキーワードはなかったです。
(rtというキーワードもなかったです。)
blacklist-oss.confだけシンボリックリンクでした。

下はndiswrapperのviの結果
alias pci:v00001814d00000601sv*sd*bc*sc*i* ndiswrapper
alias pci:v00001814d00000601sv00000015sd0000182Dbc*sc*i* ndiswrapper
alias pci:v00001814d00000601sv00000016sd0000182Dbc*sc*i* ndiswrapper
alias pci:v00001814d00000601sv00000022sd000017F9bc*sc*i* ndiswrapper

~略~

alias pci:v00001814d00005392sv*sd*bc*sc*i* ndiswrapper
alias pci:v00001814d00005392sv0000F053sd00001814bc*sc*i* ndiswrapper
alias pci:v00001814d00005392sv0000F054sd00001814bc*sc*i* ndiswrapper
alias pci:v00001814d0000539Fsv*sd*bc*sc*i* ndiswrapper
alias pci:v00001814d0000539Fsv00001637sd0000103Cbc*sc*i* ndiswrapper
alias pci:v00001814d0000539Fsv0000F002sd00001814bc*sc*i* ndiswrapper
*************************

オフライン

 

#15 2012-06-07 07:00:34

3kneko
メンバ
登録日: 2012-05-20

Re: Ubuntuの無線LAN接続ができない

sudo modprobe -r ndiswrapper

と実行してndiswrapperを停止してから、

sudo modprobe rt5390sta

をもう一度実行してください。

オフライン

 

#16 2012-06-07 08:22:37

getlpioracle
メンバ
登録日: 2012-06-03

Re: Ubuntuの無線LAN接続ができない

実行しました。
停止できていないようです。

******************************************
user1@ubuntu:~$ sudo modprobe -r ndiswrapper
[sudo] password for user1:
WARNING: All config files need .conf: /etc/modprobe.d/ndiswrapper, it will be ignored in a future release.

user1@ubuntu:~$ cd /etc/modprobe.d/
user1@ubuntu:/etc/modprobe.d$ sudo modprobe -r ndiswrapper
WARNING: All config files need .conf: /etc/modprobe.d/ndiswrapper, it will be ignored in a future release.

user1@ubuntu:/etc/modprobe.d$ sudo modprobe rt5390sta
WARNING: All config files need .conf: /etc/modprobe.d/ndiswrapper, it will be ignored in a future release.

オフライン

 

#17 2012-06-07 13:01:24

3kneko
メンバ
登録日: 2012-05-20

Re: Ubuntuの無線LAN接続ができない

確認したいので、

sudo lsmod

と実行して貼り付けてください。

オフライン

 

#18 2012-06-07 20:59:17

getlpioracle
メンバ
登録日: 2012-06-03

Re: Ubuntuの無線LAN接続ができない

仕事で回答遅れてしまい申し訳ありません。
実行しました。


user1@ubuntu:~$ sudo lsmod
[sudo] password for user1:
Module                  Size  Used by
rfcomm                 33421  4
binfmt_misc             6587  1
sco                     7885  2
bridge                 45582  0
stp                     1655  1 bridge
ppdev                   5259  0
bnep                    9436  2
l2cap                  30624  16 rfcomm,bnep
usb_storage            39425  1
usbhid                 36110  0
hid                    67032  1 usbhid
fbcon                  35102  71
tileblit                2031  1 fbcon
font                    7557  1 fbcon
bitblit                 4707  1 fbcon
btusb                  10925  2
softcursor              1189  1 bitblit
bluetooth              49892  9 rfcomm,sco,bnep,l2cap,btusb
uvcvideo               56990  0
xhci                   35666  0
videodev               34361  1 uvcvideo
hp_accel               11144  0
vga16fb                11385  1
v4l1_compat            13251  2 uvcvideo,videodev
psmouse                63245  0
lis3lv02d               6007  1 hp_accel
vgastate                8961  1 vga16fb
video                  17375  0
ndiswrapper           184677  0
input_polldev           2482  1 lis3lv02d
output                  1871  1 video
serio_raw               3978  0
led_class               2864  1 hp_accel
lp                      7028  0
parport                32635  2 ppdev,lp
ahci                   32008  1
r8169                  33884  0
mii                     4381  1 r8169

オフライン

 

#19 2012-06-07 21:24:29

3kneko
メンバ
登録日: 2012-05-20

Re: Ubuntuの無線LAN接続ができない

sudo ndiswrapper -r rt2860

sudoをつけるのを忘れてました。
これで実行してみてください。

オフライン

 

#20 2012-06-07 22:59:46

getlpioracle
メンバ
登録日: 2012-06-03

Re: Ubuntuの無線LAN接続ができない

回答ありがとうございます。

sudo ndiswrapper -r rt2860
を実行したところ、エラーも含めて何も表示されなかったです。
下はその後のsudo lsmodとsudo modprobe rt5390sta
の実行結果です。

user1@ubuntu:~$ sudo lsmod
Module                  Size  Used by
rfcomm                 33421  4
binfmt_misc             6587  1
sco                     7885  2
ppdev                   5259  0
bridge                 45582  0
stp                     1655  1 bridge
bnep                    9436  2
l2cap                  30624  16 rfcomm,bnep
usb_storage            39425  1
usbhid                 36110  0
hid                    67032  1 usbhid
fbcon                  35102  71
tileblit                2031  1 fbcon
font                    7557  1 fbcon
bitblit                 4707  1 fbcon
softcursor              1189  1 bitblit
btusb                  10925  2
uvcvideo               56990  0
bluetooth              49892  9 rfcomm,sco,bnep,l2cap,btusb
videodev               34361  1 uvcvideo
hp_accel               11144  0
vga16fb                11385  1
video                  17375  0
xhci                   35666  0
psmouse                63245  0
v4l1_compat            13251  2 uvcvideo,videodev
lis3lv02d               6007  1 hp_accel
vgastate                8961  1 vga16fb
output                  1871  1 video
ndiswrapper           184677  0
input_polldev           2482  1 lis3lv02d
serio_raw               3978  0
lp                      7028  0
led_class               2864  1 hp_accel
parport                32635  2 ppdev,lp
r8169                  33884  0
mii                     4381  1 r8169
ahci                   32008  1

user1@ubuntu:~$ sudo modprobe rt5390sta
WARNING: All config files need .conf: /etc/modprobe.d/ndiswrapper, it will be ignored in a future release.

オフライン

 

#21 2012-06-07 23:17:50

3kneko
メンバ
登録日: 2012-05-20

Re: Ubuntuの無線LAN接続ができない

ndisgtkをアンインストールして、

sudo modprobe rt5390sta



sudo lsmod

を実行してみてください。

オフライン

 

#22 2012-06-08 15:18:39

jackalope
メンバ
登録日: 2009-01-01

Re: Ubuntuの無線LAN接続ができない

ndiswrapperを削除したいのであれば、パッケージはndiswrapper-commonとndiswrapper-utils-1.9になると思います。
パッケージ削除後も、/etc/modprobe.d/ndiswrapperと/etc/ndiswrapper/が削除されないと思いますので、手動で削除します。
他にもndiswrapper関係で変更した所があればすべて元に戻しておきます。
それと、ralinktechのソースのコンパイルで、os/linux/config.mkの57行と61行のnをyに変更しなけば、Network Managerによる管理ができないと思いますので、変更していないのであれば現在のドライバを、sudo make uninstallで削除後makeからやり直してください。
うまく動作しない時は、rt5390sta.koが必要とするdatファイル関係のエラーがでていないか、/var/log/dmesgを確認してください。

オフライン

 

#23 2012-06-09 14:00:08

getlpioracle
メンバ
登録日: 2012-06-03

Re: Ubuntuの無線LAN接続ができない

回答遅くなって申し訳ありません。
実は昨日からUbuntuにアクセスしているのですが
無線うんぬんの前にマウスが反応しなくなってしまいました・・・
他のキーも反応しないようです。

起動してはCtrl+alt+deleteでメニューから再起動しているのですが
この解決法を先に教えていただけないでしょうか?
申し訳ありません。

オフライン

 

Board footer

Powered by FluxBB