Lubuntu 16.04 - 新しいISP「ゲートウェイ/ケーブルモデム/同軸」接続にインターネットがありません

Lubuntu 16.04 - 新しいISP「ゲートウェイ/ケーブルモデム/同軸」接続にインターネットがありません

Lubuntu mini.isoで、デスクトップ環境はなくfvwmしかないので、端末だけを使用してください。ネットワーク管理者がインストールされていません。

2 つのルーターがあります。

SIMルータでは、有線インターネット接続がLubuntuデバイスで機能します。

このSIMルーターのイーサネットケーブルをケーブルモデム(ゲートウェイ)を介してのみテレビケーブル/同軸接続のみ可能な他のプロバイダ(ルーター)に変更した後、インターネットに接続できなくなりました。

インターネットは、同じネットワークケーブル/ルーターポート(TVケーブル/同軸/ゲートウェイISP)を使用してWindows 7および10で動作します。

2つの異なるルータ/接続から見たところ、IPは動的に割り当てられています。

違いを確認するには、機能している接続と機能していない接続で必要なログを教えてください。

ありがとうございます。

アクティブインターネット接続(SIMルーター):

~$ ifconfig -a
eth0      Link encap:Ethernet  HWaddr 68:f7:28:21:c8:85  
          inet addr:192.168.8.100  Bcast:192.168.8.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:6773 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6029 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:5842607 (5.8 MB)  TX bytes:1038943 (1.0 MB)

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:7609 errors:0 dropped:0 overruns:0 frame:0
          TX packets:7609 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1 
          RX bytes:766404 (766.4 KB)  TX bytes:766404 (766.4 KB)

wlan0     Link encap:Ethernet  HWaddr ac:b5:7d:f2:ef:2f  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

インターネットが機能しない接続(SIMルーターから別のEthernetケーブルにEthernetケーブルを変更した後)

~$ ifconfig -a
eth0      Link encap:Ethernet  HWaddr 68:f7:28:21:c8:85  
          inet addr:192.168.8.100  Bcast:192.168.8.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:15580 errors:0 dropped:0 overruns:0 frame:0
          TX packets:14234 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:11441631 (11.4 MB)  TX bytes:2455373 (2.4 MB)

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:8093 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8093 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1 
          RX bytes:839056 (839.0 KB)  TX bytes:839056 (839.0 KB)

wlan0     Link encap:Ethernet  HWaddr ac:b5:7d:f2:ef:2f  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

私はWiFi接続に興味がありません。

両方のルーターまたはLinux / Windows 7 / Windows 10システムの構成は変更されていません。

1つのルーターから別のルーターへの3つの異なるデバイスすべてに対して同じケーブルを変更するだけです。 Windows 10およびWindows 7用のルーターは両方ともインターネットに接続されています。

Linux は、SIM ルーターでのみインターネットを使用できます。

Linux イーサネットケーブルが接続されているルータから起動して機能しないインターネット接続の場合は、オレンジ色の LED のみが点滅しますが、イーサネットケーブルを介して同じルータに接続されている他のインターネットアクチュエータの場合、緑色の LED もルータを点滅させます。

インターネット接続動作中:

~$ ping google.com
PING google.com (195.249.145.114) 56(84) bytes of data.
64 bytes from cache.google.com (195.249.145.114): icmp_seq=1 ttl=58 time=26.0 ms
64 bytes from cache.google.com (195.249.145.114): icmp_seq=2 ttl=58 time=35.6 ms
64 bytes from cache.google.com (195.249.145.114): icmp_seq=3 ttl=58 time=44.4 ms
64 bytes from cache.google.com (195.249.145.114): icmp_seq=4 ttl=58 time=43.2 ms
64 bytes from cache.google.com (195.249.145.114): icmp_seq=5 ttl=58 time=43.2 ms
64 bytes from cache.google.com (195.249.145.114): icmp_seq=6 ttl=58 time=39.4 ms
^C
--- google.com ping statistics ---
6 packets transmitted, 6 received, 0% packet loss, time 5008ms
rtt min/avg/max/mdev = 26.059/38.670/44.463/6.378 ms


~$ ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=57 time=48.4 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=57 time=57.6 ms
64 bytes from 8.8.8.8: icmp_seq=3 ttl=57 time=56.1 ms
^C
--- 8.8.8.8 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 48.494/54.102/57.670/4.023 ms

以下のように機能しないインターネット接続のためにgoogle.comをpingする前に数分間待ってください。

~$ ping google.com
ping: unknown host google.com

~$ ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
From 192.168.8.100 icmp_seq=1 Destination Host Unreachable
From 192.168.8.100 icmp_seq=2 Destination Host Unreachable
From 192.168.8.100 icmp_seq=3 Destination Host Unreachable
From 192.168.8.100 icmp_seq=4 Destination Host Unreachable
From 192.168.8.100 icmp_seq=5 Destination Host Unreachable
From 192.168.8.100 icmp_seq=6 Destination Host Unreachable
From 192.168.8.100 icmp_seq=7 Destination Host Unreachable
From 192.168.8.100 icmp_seq=8 Destination Host Unreachable
^C
--- 8.8.8.8 ping statistics ---
10 packets transmitted, 0 received, +8 errors, 100% packet loss, time 9026ms
pipe 3

動作するインターネット接続で実行し、dhcpcd eth0dhcpcdがすべてをロードした後、機能しないインターネットルーターにケーブルを接続し、インターネットが機能しました。それはおそらくdhcpcdが実行されていたからです。

それでも動作することを確認するためにデバイスを再起動しましたが、再起動後にLinuxをロードすると、コンソールに次のメッセージが表示されます。

Failed to start LSB: IPV4 DHCP client with IPV4ALL support.
See 'systemctl status dhcpcd.service' for details
16.780656 usb 1-1.4.3: device descriptor read/64, error -110
A start job is running to Raise network interfaces ( ** min **s / 5min 7s)

最後の部分「作業開始が実行中です...」 5分7秒ほど待たなければなりませんが、インターネットができないたびに出てきます。ネットワークが利用可能なときは決して表示されませんが、ネットワークが利用できない場合は常に表示されます。

インターネットが機能していない状態でLinuxを起動した後、この方法も試しましたがdhcpcd eth0...

eth0: waiting for carrier
timed out
dhcpcd exited

そしてまた…

インターネットに接続されていないルーターで動作するインターネット接続ルーターにケーブルを移動しました。 dhcpcd eth0

すべてが正常にロードされました(インターネット接続が接続されています)。ここに「dhcpcd eth0」の出力を貼り付けるのはお勧めできませんか?

動作しているインターネット接続を抜いて、インターネットではなく接続に接続しましたが、驚くべきことに、今は機能していないインターネット接続で公開していますが、今は機能しているようです。dhcpcd eth0

ところで、前回のように再起動すると、以前のように再び起きると思います。

「キャリア待機中」が他に何も触れていない場合は、Linuxシステムでネットワークケーブルの端を抜いてWindows 7システムに接続し、Windowsシステムでワイヤレスを完全に無効にし、LANを有効にしてインターネットを起動しました。 ..ルーター/ケーブル/ルーターポートが正しく機能しているという意味ですか?

ルーターをリセットしてみてください...

dhcpcd eth0インターネットアクセスが可能なルータに接続した後、インターネットを使用してインターネット以外のルータに接続してもインターネットに接続されていることを考慮すると、Linuxに異なる設定がある可能性がありますか? (再起動するまで)


インターネットが機能していないルーター(同じネットワークケーブル/同じルーターポート、すべてが機能していない場合と同じ)でインターネットが機能する唯一の方法は、dhcpcd eth0ネットワークケーブルを稼働中のインターネットルーターに接続してルーターを移動することです。機能しているインターネットルーターから機能していないインターネットルーターにケーブルを接続します。

しかし、マシンを再起動すると、前の手順を繰り返さないまでインターネットはありません。

また、ルーターを数回リセットして再起動しました(少なくとも30秒間プラグを抜きました)。また、別のポートルーターに接続されている別の有線ルーターを使用して、Linuxシステムをインターネットではなくルーターに再接続しようとしましたが、まだ接続されていません。動作しません。最初からそのステップを中断するまで。

他のWindows 7およびWindows 10コンピュータに接続すると、インターネット以外のルーターの同じイーサネットケーブルとルーターポートは、Windows上で何も変更したり、ルーターを最初から完全に/新しい/リセットせずにすぐにインターネットを提供します。

uname -a
Linux WindowsXP 4.4.0-78-generic #99-Ubuntu SMP Thu Apr 27 15:29:09 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 16.04.2 LTS
Release:    16.04
Codename:   xenial

これは /var/log/dmesg です。

https://paste.debian.net/hidden/8226e135/

以下のすべてのコマンドは、動作しているインターネットに出力されます(この再生の開始時にステップを実行しなくなるまで、通常はインターネットではなくルータに接続されます)。

lshw -C network  *-network DISABLED      
       description: Wireless interface
       product: QCA9565 / AR9565 Wireless Network Adapter
       vendor: Qualcomm Atheros
       physical id: 0
       bus info: pci@0000:02:00.0
       logical name: wlan0
       version: 01
       serial: ac:b5:7d:f2:ef:2f
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list rom ethernet physical wireless
       configuration: broadcast=yes driver=ath9k driverversion=4.4.0-78-generic firmware=N/A latency=0 link=no multicast=yes wireless=IEEE 802.11bgn
       resources: irq:18 memory:90500000-9057ffff memory:90580000-9058ffff
  *-network
       description: Ethernet interface
       product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:03:00.0
       logical name: eth0
       version: 10
       serial: 68:f7:28:21:c8:85
       size: 100Mbit/s
       capacity: 1Gbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=full firmware=rtl8168g-3_0.0.1 04/23/13 ip=192.168.110.11 latency=0 link=yes multicast=yes port=MII speed=100Mbit/s
       resources: irq:88 ioport:1000(size=256) memory:90404000-90404fff memory:90400000-90403fff

more /etc/resolv.conf
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
#     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 208.67.222.222
nameserver 208.67.220.220
nameserver 192.168.8.1

route 
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
default         192.168.110.1   0.0.0.0         UG    202    0        0 eth0
192.168.110.0   *               255.255.255.0   U     202    0        0 eth0

var/log/kern.logは大きすぎてどこにも貼り付けることができず、ファイルホスティングサイト、Googleドライブ、または他の場所にファイルをアップロードできない理由がわかりません。ファイルサイズはわずか2.1Mです。コピー/名前を変更しようとしましたが、どこにもアップロードできません。フォーラムのファイル添付でも可能です。おそらくファイルの内容によるものです。


以前の投稿を見ると、定期的に/通常は動作しないインターネットルーターを介してインターネットに接続しましたが、今回は再起動する前にインターネットが動作していました。 (インターネット接続が機能する理由は最初に確認できます。以前の投稿で)

コンピュータを再起動し、ルータ、ケーブルなど、他に何も触れませんでした。

再起動直後:

~$ ping google.com
ping: unknown host google.com

~$ ping 8.8.8.8
connect: Network is unreachable

~$ sudo dhcpcd eth0
[sudo] password for globalisation: 
eth0: waiting for carrier
timed out
dhcpcd exited

上記の公開/再生では、192.168.110.0はゲートウェイです。ブラウザに書き込むときにモデム/パスワードのユーザー名とパスワードを要求するため、これは正しいようです。

ping 192.168.110.1
connect: Network is unreachable
globalisation@WindowsXP:~$ ping 192.168.110.0
connect: Network is unreachable
globalisation@WindowsXP:~$ ping 192.168.8.1
connect: Network is unreachable
globalisation@WindowsXP:~$ ping 8.8.8.8
connect: Network is unreachable
globalisation@WindowsXP:~$ ping google.com
ping: unknown host google.com

:~$ dmesg |grep eth[0-9]
[    2.981426] r8169 0000:03:00.0 eth0: RTL8168g/8111g at 0xffffc90000768000, 68:f7:28:21:c8:85, XID 10900800 IRQ 88
[    2.981432] r8169 0000:03:00.0 eth0: jumbo features [frames: 9200 bytes, tx checksumming: ko]
[   15.883064] r8169 0000:03:00.0 eth0: link down
[   15.883066] r8169 0000:03:00.0 eth0: link down

:~$ sudo lshw -C network
  *-network DISABLED      
       description: Wireless interface
       product: QCA9565 / AR9565 Wireless Network Adapter
       vendor: Qualcomm Atheros
       physical id: 0
       bus info: pci@0000:02:00.0
       logical name: wlan0
       version: 01
       serial: ac:b5:7d:f2:ef:2f
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list rom ethernet physical wireless
       configuration: broadcast=yes driver=ath9k driverversion=4.4.0-78-generic firmware=N/A latency=0 link=no multicast=yes wireless=IEEE 802.11bgn
       resources: irq:18 memory:90500000-9057ffff memory:90580000-9058ffff
  *-network
       description: Ethernet interface
       product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:03:00.0
       logical name: eth0
       version: 10
       serial: 68:f7:28:21:c8:85
       size: 10Mbit/s
       capacity: 1Gbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=half firmware=rtl8168g-3_0.0.1 04/23/13 latency=0 link=no multicast=yes port=MII speed=10Mbit/s
       resources: irq:88 ioport:1000(size=256) memory:90404000-90404fff memory:90400000-90403fff

:~$ ifconfig -a
eth0      Link encap:Ethernet  HWaddr 68:f7:28:21:c8:85  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)


lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:1761 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1761 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1 
          RX bytes:130352 (130.3 KB)  TX bytes:130352 (130.3 KB)


wlan0     Link encap:Ethernet  HWaddr ac:b5:7d:f2:ef:2f  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

:~$ more /etc/resolv.conf
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
#     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 208.67.222.222
nameserver 208.67.220.220

:~$ route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface

オンラインではなくルータで動作するインターネット接続:

:~$ ethtool eth0
Settings for eth0:
    Supported ports: [ TP MII ]
    Supported link modes:   10baseT/Half 10baseT/Full 
                            100baseT/Half 100baseT/Full 
                            1000baseT/Half 1000baseT/Full 
    Supported pause frame use: No
    Supports auto-negotiation: Yes
    Advertised link modes:  10baseT/Half 10baseT/Full 
                            100baseT/Half 100baseT/Full 
    Advertised pause frame use: Symmetric Receive-only
    Advertised auto-negotiation: Yes
    Link partner advertised link modes:  10baseT/Half 10baseT/Full 
                                         100baseT/Half 100baseT/Full 
                                         1000baseT/Full 
    Link partner advertised pause frame use: No
    Link partner advertised auto-negotiation: Yes
    Speed: 100Mb/s
    Duplex: Full
    Port: MII
    PHYAD: 0
    Transceiver: internal
    Auto-negotiation: on
Cannot get wake-on-lan settings: Operation not permitted
    Current message level: 0x00000033 (51)
                   drv probe ifdown ifup
    Link detected: yes

上記と同じ非インターネット操作ルーターの場合、インターネットはありません(再起動のため)。リンクは検出されませんでしたが、再起動する前に同じケーブル/マシン/ポートにインターネットがありました...

:~$ ethtool eth0
Settings for eth0:
    Supported ports: [ TP MII ]
    Supported link modes:   10baseT/Half 10baseT/Full 
                            100baseT/Half 100baseT/Full 
                            1000baseT/Half 1000baseT/Full 
    Supported pause frame use: No
    Supports auto-negotiation: Yes
    Advertised link modes:  10baseT/Half 10baseT/Full 
                            100baseT/Half 100baseT/Full 
    Advertised pause frame use: Symmetric Receive-only
    Advertised auto-negotiation: Yes
    Link partner advertised link modes:  10baseT/Half 10baseT/Full 
                                         100baseT/Half 100baseT/Full 
                                         1000baseT/Full 
    Link partner advertised pause frame use: No
    Link partner advertised auto-negotiation: Yes
    Speed: 100Mb/s
    Duplex: Full
    Port: MII
    PHYAD: 0
    Transceiver: internal
    Auto-negotiation: on
Cannot get wake-on-lan settings: Operation not permitted
    Current message level: 0x00000033 (51)
                   drv probe ifdown ifup
    Link detected: yes

常にインターネットが動作するルーター(完全に異なるプロバイダー、異なる接続、異なるルーター)

:~$ ethtool eth0
Settings for eth0:
    Supported ports: [ TP MII ]
    Supported link modes:   10baseT/Half 10baseT/Full 
                            100baseT/Half 100baseT/Full 
                            1000baseT/Half 1000baseT/Full 
    Supported pause frame use: No
    Supports auto-negotiation: Yes
    Advertised link modes:  10baseT/Half 10baseT/Full 
                            100baseT/Half 100baseT/Full 
                            1000baseT/Full 
    Advertised pause frame use: Symmetric Receive-only
    Advertised auto-negotiation: Yes
    Link partner advertised link modes:  10baseT/Half 10baseT/Full 
                                         100baseT/Half 100baseT/Full 
    Link partner advertised pause frame use: Symmetric
    Link partner advertised auto-negotiation: Yes
    Speed: 100Mb/s
    Duplex: Full
    Port: MII
    PHYAD: 0
    Transceiver: internal
    Auto-negotiation: on
Cannot get wake-on-lan settings: Operation not permitted
    Current message level: 0x00000033 (51)
                   drv probe ifdown ifup
    Link detected: yes

挨拶。

ベストアンサー1

これら2つのコマンドで問題が解決したようです。

sudo ethtool -s eth0 autoneg off speed 100 duplex full

sudo dhcpcd eth0

再起動するたびにこれらの2つのコマンドを使用する必要があるため、今はシステム起動時にどのように実行できるかを調べる必要があります。

/etc/rc.localに追加しても効果がないようです。

起動中に、次の3つの問題がまだ存在します。

[FAILED] Failed to start LSB: IPV4 DHCP client with IPV4LL support
[17.289877] usb 1-1.4.3: device descriptor read/64, error -110
A start job is running for Raise network interfaces (**min **s / 5min 8s)

そして5分8秒が過ぎるまでまだ待ち時間が残っています。最後のエラーはインターネット接続が認識されない場合にのみ表示され、インターネットを起動するコマンドを使用せずに再起動後すぐにインターネット接続が機能し始める場合は表示されません。

おすすめ記事