新しい Dell Vostro 2520 ラップトップでイーサネット コントローラーが動作しない

新しい Dell Vostro 2520 ラップトップでイーサネット コントローラーが動作しない

私はUbuntuの初心者です。今日、LANケーブルを差し込もうとしたら何も表示されませんでした。その結果、sudo lshw -C networkイーサネットコントローラーが表示されました*-network unclaimed。設定>ネットワークでは有線接続が表示されません。助けてください

suravi@suravi-Vostro-2520:~$ lspci -nn |grep 0200
09:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 07)

答え1

問題は解決しました。この郵便受け:

Ubuntu 11.04 - ナッティ イッカク

数週間前、オンボードの Realtek PCI Express が故障しました。オンボード チップが壊れたと思ったので、別のイーサネット カード ENLGA-1320 をインストールしました。今日 12:00pm 頃まではすべて順調でしたが、その後故障し、インターネットに接続できなくなりました。そこで Google で調べ始めたところ、5 時間後にようやく動作するようになりました。

動作しなかったが、これを起動して動作させるために試すことができるものを以下に示します。一部の人には動作しているようですが、私には動作しませんでした。

このスレッドから情報が収集されたコールド スタート。 http://www.uluga.ubuntuforums.org/showthread.php?t=1436667

そのフォーラムにリンクしてその功績を認め、以下の情報を提供します。

コールドスタート手順:

  • マシンをシャットダウンする
  • タワーからすべてのケーブルを取り外します(特に電源ケーブル)
  • 電源ボタンを30秒間押し続けてから離します
  • 念のためボタンを 1 回か 2 回押して、3 分間待ちます。
  • すべてのケーブルを再度差し込み、電源ボタンを押します
  • インターネットは現在アクティブかどうか不明です。

これは私にはうまくいきませんでした。もしあなたにもうまくいかなかったら、続けてください。これは上にリンクされたスレッドにある別の投稿です。もう一度要約します。ターミナルを開いて、次の操作を行います。

イーサネット コントローラーのモデル番号を確認します。

:~$ lspci | grep Realtek
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Check the driver your kernel is loading:

:~$ lsmod | grep r816*
r8169 36489 0
mii 4425 1 r8169
Download the 8168 Linux drivers from http://www.realtek.com.tw/downloads/downloadsView.aspx?Langid=1&PNid=5&PFid=5&Level=5&Conn=4&DownTypeID=3&GetDown=false#RTL8111B/RTL8168B/RTL8111/RTL8168%3Cbr%3ERTL8111C/RTL8111CP/RTL8111D%28L%29%3Cbr%3ERTL8168C/RTL8111DP/RTL8111E%3Cbr%3ERTL8105E

realtek ドライバーをダウンロードしたディレクトリに移動します。

:~$ cd Downloads extract the files:

:~$ tar -xvf r8168-8.020.00.tar.bz2 cd to the newly extracted folder:

:~$ cd r8168-8.020.00 Auto compile the driver:

:~$ sudo ./autorun.sh I highly doubt this is needed, because at this point my machine restarted its network connection on its own.

ただし、ドライバーをテストするためのオプションのコマンドは引き続き含めます。

:~$ sudo rmmod r8169
:~$ sudo modprobe r8168
:~$sudo /etc/init.d/networking restart
At this point your network should be up and running, if not do not take the following next two steps. Blacklist r8169:

:~$ sudo gedit /etc/modprobe.d/blacklist.conf
Append the following lines:
#Blacklist Realtek RTL8111/8169 gigabit driver
blacklist r8169
Save and quit
Update driver cache:
:~$ update-initramfs -u
Reboot, and see if correct driver has loaded:
$ lsmod | grep r816*
r8168 91629 0

まあ、それでうまくいったならいいのですが、私の場合はまたしても落胆し、別の解決策を見つけなければなりませんでした。今回は、これが私の開発ボックスだと信じて必死ですが、同時にちょっと狂っていて、とにかくそれを起動して実行するために必要なことをするつもりです。

http://www.webupd8.org/2009/06/how-to-manually-set-up-your-wired.html

以下の手順の大部分/一部は上記のリンクから得たものです。クレジットが必要な場合は、その旨を明記してください。

Remove any drivers/modules installed i had both r8169 and r8168 installed so in terminal write

:~$ sudo rmmod r8169
sudo rmmod r8168
So now I have no eth0 at this point. Remove network manager:

sudo apt-get remove network-manager-gnome network-manager now in terminal type:

:~$ ifconfig
all I saw was lo listed and not eth0, again I was lost but I thought what the hey might as well continue on with the instructions

上記のリンクから提供されたものです。ターミナルで手動で設定するには、 /etc/network/interfaces次のように入力します。gksu gedit /etc/network/interfaces 静的IPを設定しましたが、ファイルに記載されているものはすべて

auto lo
iface lo inet loopback I still appended the following to that file:

auto eth0
iface eth0 inet static
address 192.168.1.10
netmask 255.255.255.0
gateway 192.168.0.1 Change eth0, address, and gateway to your own network values. Save the file and close it. For the static IP It

ドメイン ネーム サーバー (DNS) を見つけるために必要です。これはファイルの機能な/etc/resolv.confので、編集する必要があります。ファイルが存在しない場合は作成します。ターミナルで:

gksu gedit /etc/resolv.conf In that file place the following:

nameserver 208.67.222.222
nameserver 208.67.220.220 Replace these values with your own DNS values. I just used googles DNS

nameserver 8.8.8.8
nameserver 8.8.4.4 Save and close the file. Download the 8168 Linux drivers from RealTek:

http://www.realtek.com.tw/downloads/downloadsView.aspx?Langid=1&PNid=5&PFid=5&Level=5&Conn=4&DownTypeID=3&GetDown=false#RTL8111B/RTL8168B/RTL8111/RTL8168%3Cbr%3ERTL8111C/RTL8111CP/RTL8111D%28L%29%3Cbr%3ERTL8168C/RTL8111DP/RTL8111E%3Cbr%3ERTL8105E

realtek ドライバーをダウンロードしたディレクトリに移動します。

:~$ cd Downloads extract the files:

:~$ tar -xvf r8168-8.020.00.tar.bz2 cd to the newly extracted folder:

:~$ cd r8168-8.020.00 Auto compile the driver:

:~$ sudo ./autorun.sh Now restart the network in terminal :

:~$ sudo /etc/init.d/networking restart

さて、この時点で、ネットワークをリセットした後、私の PC は完全に真っ暗になりました。電源は入っていましたが、家には誰もいませんでした。そこで、電源ボタンを押して手動でシャットダウンし、再び電源を入れると、eth0 は正常に動作するようになりました。これは、最初にマザーボードに内蔵されていたものです。

関連情報