
Ubuntu日本語フォーラム

ログインしていません。
類似のスレッドを検索しても解決できなかったのでよろしくお願いします。
題名のとおりですが、自分で調べた結果、
http://www.nanashinonozomi.com/tdiary/20070104.html
のサイトの追記(4)の
>/etc/sysconfig/kernel ファイルにある「MODULES_LOADED_ON_BOOT」の行
>(ダブルクオートで囲まれている)に「ndiswrapper」を追加
をすれば良いということがわりました。
しかし、その方法がわらないので教えていただけないでしょうか。
よろしくお願いします。
オフライン
u43さん
ubuntu7.04なら/etc/modulesにndiswrapperを追加したらいいと思います。
端末で
sudo gedit /etc/modules
その後、PCを再起動して端末で
lsmod | grep ndiswrapper
これで確認できるはずです。
オフライン
marinさん ありがとうございます。
教えていただいた
sudo gedit /etc/modules
の結果が以下です。
これのどこに ndiswrapper を追加すればいいのでしょうか。
右も左もわからないので、お手数ですがよろしくお願いします。
# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.
fuse
lp
オフライン
u43さん
# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.
fuse
lp
ndiswrapper
保存してからgeditを閉じてください。
オフライン
marinさん
lsmod | grep ndiswrapper
これで確認できましたが、再起動すると
ESSID:off/any に戻ってしまいました。
AirMac Expressをアクセス制御して使っています。
もちろんこのマシンのmacアドレスは許可していますが
それが何か問題でしょうか。
オフライン
u43さん
>AirMac Expressをアクセス制御して使っています。
これについては私にはわかりませんが、次は参考になりませんか。申し訳ないです。
http://forum.ubuntulinux.jp/viewtopic.php?pid=1433
オフライン
こんにちはmarinさん。ありがとうございます。
参考にといわれたリンク先も見てみました。
かなり長くなってしまいましたが、
情報になりそうなものをペーストしました。
# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.
fuse
lp
ndiswrapper
で、
lsmod | grep ndiswrapper
の結果が
ndiswrapper 188252 0
usbcore 134280 8 ndiswrapper,snd_usb_audio,snd_usb_lib,xpad,usbhid,ehci_hcd,ohci_hcd
で、
/etc/network/interfaces
の内容は
auto lo
iface lo inet loopback
iface eth0 inet dhcp
auto eth2
iface eth2 inet dhcp
auto ath0
iface ath0 inet dhcp
auto eth0
iface eth1 inet dhcp
wireless-essid xxxxxxxxxxx
wireless-key xxxxxxxxxxx
auto eth1
で、
lsmod で ndiswrapper があり、bcm43xx がない状態です。
kdesu kate /etc/modules が
X Error: BadDevice, invalid or uninitialized input device 169
Major opcode: 147
Minor opcode: 3
Resource id: 0x0
Failed to open device
X Error: BadDevice, invalid or uninitialized input device 169
Major opcode: 147
Minor opcode: 3
Resource id: 0x0
Failed to open device
sh:
kate: not found
X Error: BadDevice, invalid or uninitialized input device 169
Major opcode: 147
Minor opcode: 3
Resource id: 0x0
Failed to open device
X Error: BadDevice, invalid or uninitialized input device 169
Major opcode: 147
Minor opcode: 3
Resource id: 0x0
Failed to open device
kbuildsycoca running...
Reusing existing ksycoca
kio (KService*): WARNING: The desktop entry file /usr/share/applications/DefaultPlugins.desktop has Type=Link instead of "Application" or "Service"
kio (KService*): WARNING: Invalid Service : /usr/share/applications/DefaultPlugins.desktop
kio (KSycoca): ERROR: No database available!
X Error: BadDevice, invalid or uninitialized input device 169
Major opcode: 147
Minor opcode: 3
Resource id: 0x0
Failed to open device
X Error: BadDevice, invalid or uninitialized input device 169
Major opcode: 147
Minor opcode: 3
Resource id: 0x0
Failed to open device
xxx@xxxxxx:/$ ICE default IO error handler doing an exit(), pid = 8435, errno = 0
でした。
これで再起動し、端末で iwconfig で
lo no wireless extensions.
eth0 no wireless extensions.
eth1 IEEE 802.11g ESSID:off/any
Mode:Managed Frequency:2.462 GHz Access Point: Not-Associated
Bit Rate=54 Mb/s Tx-Power:32 dBm
RTS thr=2347 B Fragment thr=2346 B
Power Management:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
となり、再起動前に設定した ESSID が off/any になっています。
システム管理−ネットワークツールでは Ethernet インタフェース(eth1)が
インタフェースの情報
ハードウェア(MAC)アドレス:xx:xx:xx:xx:xx:xx
マルチキャスト:利用可
MTU:1500
リンク・スピード:54 Mbps
状態:有効
インタフェースの統計情報
転送したバイト数:0
(以下全て):0
でした。
これでもし何かわかりましたらよろしくお願いします。
オフライン
その後、ndiswrapper をアンインストールして最初から
やり直してみたら再起動後も設定が生きていました。
ですが、画面右上のネットワークのアイコンをクリックしても
有線ネットワークしか見えなくなってしまいました。
オフライン
解決しました。
さらにいろいろ調べてみて、
sudo apt-get install wifi-radar
とやって wifi-radar を起動してみると
携帯電話の電波強度のようなアイコンで、シグナルがあるのが確認できました。
そして、Lanケーブルを抜いてみると無線で接続出来ていました。
しかし、やはり画面右上のネットワークのアイコンでは無線は確認できませんでした。
そういうものなんだと思って使っていきます。
もしかしたら wifi-radar を入れる前でもLanケーブルを抜けば
無線接続できたのかも知れませんが。
marinさん、この度は大変お世話になりありがとうございました。
marinさんとこのフォーラムがなければきっと投げ出していたと思います。
まだ ubuntu を入れてから一週間の初心者ですので、
またお世話になることがあるかもしれませんが、その時はよろしくお願いします。
それでは、ありがとうございました。
オフライン