
Ubuntu日本語フォーラム

ログインしていません。
当方大学の授業でubuntuやそれに関するソフトウェアの使用を余儀なくされ、早速配布された導入マニュアル通りに進めていたのですが、ubuntuをインストールした後にネット接続が出来ずに困っております。私は今までwindowsXP以外のOSをメインで使用したことがなく、日々ネットをするだけで、プログラムを組んだり深いところまで設定をしたりすることは出来ません。なのでお助け願いたいのです。
http://www.dospara.co.jp/5shopping/detail_prime.php?tg=3&tc=275&ft=...
PCはこれのwindows7版です。大学の授業中は、ubuntuをインストールするときですらすんなり行きませんでした。
周囲はDVDを入れたらインストールプログラムが起動する中、私は色々試しても全く無反応。なので、OS起動前の設定画面から、DVDドライブにあるubuntuのインストールデータを直で起動させ、結果的にインストールは成功しました。なので現在、私のノートPCには二つのOSが入ってます。
ネット環境はe-mansionで、要するにPCとLANケーブルと部屋にある端子を繋げるだけで、ネットが接続できるというマンションに住んでいます。なのでプロパイダとの契約などはしておらず、ルータなどもありません。ただしプロパイダ名はvectantと分かっております。また、話が黒くなってしまいますが必要なのでいわせていただきますと、WinnyやShareなどは使用できません。この類の知識には詳しくないのですが、なんでもプライベートIPアドレスだかグローバルIPアドレスだかが作れないから…だそうです。プロパイダから規制されてるそうで。
とりあえずコマンドラインから「sudo pppoeconf」とするのは試しましたが、LANケーブルを繋いだときもそうでないときも同じ画面が出てしまいます。Auto eth0という右上にあるらしいものも、そもそも右上にあるのが無線・VPN接続とやらだけで、存在すら確認できません。おそらく有線タブだの無線タブだのと並んでいる窓から設定するのでしょうが、そこに触れてる説明はネットを探す限り少ないようです。
文章が乱文になっていることからお分かりになるとおり、とにかく八方塞です。2度目になりますが皆様、助力をお願いします。
オフライン
考えられる原因は、有線用NICをUbuntuが認識していない。
確認する為に下記の2つのコマンドを端末で実行した結果を投稿してください。
sudo lshw -C network lspci -nn | grep -i eth
オフライン
返答が遅れまして申し訳ありません。お答えありがとうございます。
早速ubuntuの端末の方から、該当するコマンドを実行してきました。それと最初の書き込みで書き忘れたのですが、Verは10.10です
では早速結果のコピペを。
fuckyou@fuckyou-Prime-Series:~$ sudo lshw -c network
[sudo] password for fuckyou:
*-network DISABLED
description: Wireless interface
product: AR9285 Wireless Network Adapter (PCI-Express)
vendor: Atheros Communications Inc.
physical id: 0
bus info: pci@0000:02:00.0
logical name: wlan0
version: 01
serial: e0:91:53:48:ee:21
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=ath9k driverversion=2.6.35-22-generic firmware=N/A latency=0 link=yes multicast=yes wireless=IEEE 802.11bgn
resources: irq:17 memory:f6a00000-f6a0ffff
*-network UNCLAIMED
description: Ethernet controller
product: Atheros Communications
vendor: Atheros Communications
physical id: 0
bus info: pci@0000:03:00.0
version: c0
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress vpd bus_master cap_list
configuration: latency=0
resources: memory:f6000000-f603ffff ioport:b000(size=128)
fuckyou@fuckyou-Prime-Series:~$ lspci -nn | grep -1 eth
lspci: invalid option -- '1'
Usage: lspci [<switches>]
Basic display modes:
-mm Produce machine-readable output (single -m for an obsolete format)
-t Show bus tree
Display options:
-v Be verbose (-vv for very verbose)
-k Show kernel drivers handling each device
-x Show hex-dump of the standard part of the config space
-xxx Show hex-dump of the whole config space (dangerous; root only)
-xxxx Show hex-dump of the 4096-byte extended config space (root only)
-b Bus-centric view (addresses and IRQ's as seen by the bus)
-D Always show domain numbers
Resolving of device ID's to names:
-n Show numeric ID's
-nn Show both textual and numeric ID's (names & numbers)
-q Query the PCI ID database for unknown ID's via DNS
-qq As above, but re-query locally cached entries
-Q Query the PCI ID database for all ID's via DNS
Selection of devices:
-s [[[[<domain>]:]<bus>]:][<slot>][.[<func>]] Show only devices in selected slots
-d [<vendor>]:[<device>] Show only devices with specified ID's
Other options:
-i <file> Use specified ID database instead of /usr/share/misc/pci.ids.gz
-p <file> Look up kernel modules in a given file instead of default modules.pcimap
-M Enable `bus mapping' mode (dangerous; root only)
PCI access options:
-A <method> Use the specified PCI access method (see `-A help' for a list)
-O <par>=<val> Set PCI access parameter (see `-O help' for a list)
-G Enable PCI access debugging
-H <mode> Use direct hardware access (<mode> = 1 or 2)
-F <file> Read PCI configuration dump from a given file
オフライン
横からすみません。
1. ~$ sudo lshw -c networkの結果
(list hardwareの意味です。)
*-network DISABLED
description: Wireless interface
product: AR9285 Wireless Network Adapter (PCI-Express)
vendor: Atheros Communications Inc.
これは、無線ネットワークが作動していない。
*-network UNCLAIMED
description: Ethernet controller
product: Atheros Communications
vendor: Atheros Communications
これは、有線ネットワークが認識されてません。
2. ~$ lspci -nn | grep -1 eth
(list pciの意味です。)
lspci: invalid option -- '1'
コマンドのオプションが間違っているとのコメントです。
1ではなく、i です。
提示されたコマンドを実行するときは、キーボードで直接打つより、
プラウザの編集でコピーし、端末の編集でペーストすれば正確に入力できます。
( Ctrl+C でcopy, Shift+Ctrl+V でpast )
~$ lspci -nn | grep -i eth
オフライン
お返事ありがとうございます。一応間違えてたコマンドの方の結果を載せておきます。
fuckyou@fuckyou-Prime-Series:~$ lspci -nn |grep -i eth
Usage: lspci [<switches>]
Basic display modes:
-mm Produce machine-readable output (single -m for an obsolete format)
-t Show bus tree
Display options:
-v Be verbose (-vv for very verbose)
-k Show kernel drivers handling each device
-x Show hex-dump of the standard part of the config space
-xxx Show hex-dump of the whole config space (dangerous; root only)
-xxxx Show hex-dump of the 4096-byte extended config space (root only)
-b Bus-centric view (addresses and IRQ's as seen by the bus)
-D Always show domain numbers
Resolving of device ID's to names:
-n Show numeric ID's
-nn Show both textual and numeric ID's (names & numbers)
-q Query the PCI ID database for unknown ID's via DNS
-qq As above, but re-query locally cached entries
-Q Query the PCI ID database for all ID's via DNS
Selection of devices:
-s [[[[<domain>]:]<bus>]:][<slot>][.[<func>]] Show only devices in selected slots
-d [<vendor>]:[<device>] Show only devices with specified ID's
Other options:
-i <file> Use specified ID database instead of eth
-p <file> Look up kernel modules in a given file instead of default modules.pcimap
-M Enable `bus mapping' mode (dangerous; root only)
PCI access options:
-A <method> Use the specified PCI access method (see `-A help' for a list)
-O <par>=<val> Set PCI access parameter (see `-O help' for a list)
-G Enable PCI access debugging
-H <mode> Use direct hardware access (<mode> = 1 or 2)
-F <file> Read PCI configuration dump from a given file
fuckyou@fuckyou-Prime-Series:~$
とりあえず冒頭にも書いてある通り、windows以外のOSは全くの初心者です。意味が分かっても、結果に至るまでの対処法が思いつきません。
>提示されたコマンドを実行するときは、キーボードで直接打つより、プラウザの編集でコピーし、端末の編集でペーストすれば正確に入力できます。
ubuntuでネット見れない=このフォーラムをどのように見てるか、コマンドをどう入れなくてはいけないのか、お察しください。
オフライン
~$ lspci -nn |grep -i eth について、コマンドの入力ミスです。
| の後に、空白が必要です。"|grep"と認識させるとlspciのオプションとして判定します。
だからヅラヅラとコマンドの説明が出たのです。
lspci コマンドのoption -nn を実行し、
その結果をさらにパイプラインにて橋渡しを行い、
次のgrepコマンドで"eht"を含んだ項目を検索しています。
ネット上で、lspci とgrep を検索されるといいです。
これらのコマンドの意味が理解できます。またパイブラインについても。。。
オフライン
今までと明らかに違うのが出てきました。こんな作業にも正誤が生まれる辺り、windowsと比べてubuntuは使いづらいです…
ともかくついに「~$ lspci -nn |grep -i eth」で正しそうのなのが出ました
03:00.0 Ethernet controller [0200]: Atheros Communications Device [1969:1083] (rev c0)
それと無線LANで使用できそうな、「http://www.planex.co.jp/product/wireless/gw-us54gxs/」 この商品ももっております。
ともかく一刻も早くネット接続できないとまずいので、お暇な方はお力を貸していただけないでしょうか
オフライン
a252525さん による投稿:
ネット環境はe-mansionで、
要するにPCとLANケーブルと部屋にある端子を繋げるだけで、
ネットが接続できるというマンションに住んでいます。
想定ですが、このe-mansion環境だと無線基地局(親機)は提供されてないと思われます。
無線環境を構築するなら、PCと部屋にある端子の間に自前で無線ルータを導入する必要があります。
ハード的にはPC本体の無線子機は認識されているので、案外簡単に接続できそうです。
残念ながら普通のLANケーブルでPCに直接接続する有線接続は、UbuntuがEthernet controllerを
認識してくれていません。まだサポートされていないか、
自動認識しないので直接カーネルにドライバーを組み込む必要があります。
またこれが提供されているかも不明です。
~$ sudo lshw -short
このコマンドで一応のハード情報は提示されます。
お使いのnoteの機種名を提示されるとハード情報が明確になります。
このままではEthernet controllerに何が使われているかも検討がつきません。
そのため、アドバイスも得られないです。
私は最新の機種は詳しくありません。誰かが助言してくれますので期待してください。
オフライン
暇って事もないんだけど、少しだけ力をお貸ししましょう。
Planex GW-US54GXSはUbuntu10.10では挿すだけでは使用できません。
無線の子機は認識されていますがAR9285のドライバも問題があるようなので、動作確認なしで無線ルーターの購入はおすすめできません。
無線子機の動作を確認できれば無線ルーターを使う事も解決策になります。
有線LANを使う方法:
1.ドライバのソースにパッチを当てて作り直す。
2.システムを変更してNICを認識させる。
3.Ubuntu11.04では使えるらしいので11.04を使う。
Ubuntu11.04をインストールするのが一番簡単と思われます。
オフライン