上周我停电了几次,今天我登录 NAS 仔细检查文件系统是否有错误。我的系统检查无误,但我没有更多的互联网。
- NAS 型号:QNAP TBS-453DX
- 固件版本:4.4.2.1320
我将提供一些背景信息和一些我尝试过的 SSH 命令:
- IP 地址显然已从 更改
192.168.1.6
为192.168.1.3
。 - 通过 macOS 上的 Qfinder,我将其改回了固定状态
192.168.1.6
,之后我意识到我没有互联网。 - 我仔细检查了我的路由器页面,在 LAN 地址管理下,它仍然显示
192.168.1.3
在我的 NAS 名称旁边。 - 我尝试将 NAS 改回:“通过 DHCP 自动获取 IP 地址设置”,之后它会回到
192.168.1.3
IP 地址。 - 但仍然没有网络。
我通过 SSH 进入 NAS 并运行以下命令:
[~] # ping www.google.com
PING www.google.com (172.217.27.68): 56 data bytes
ping: sendto: Network is unreachable
和
[~] # route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.0.3.0 * 255.255.255.0 U 0 0 0 lxcbr0
10.0.5.0 * 255.255.255.0 U 0 0 0 docker0
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
和
[~] # nslookup qnap.com
Server: 127.0.1.1
Address: 127.0.1.1#53
Non-authoritative answer:
Name: qnap.com
Address: 54.236.152.254
Name: qnap.com
Address: 52.73.74.127
最后
[~] # ifconfig
docker0 Link encap:Ethernet HWaddr 06:BE:53:BE:70:6E
inet addr:10.0.5.1 Bcast:10.0.5.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:11638 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:1172174 (1.1 MiB)
eth0 Link encap:Ethernet HWaddr 24:5E:BE:43:A8:0D
inet addr:192.168.1.3 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::265e:beff:fe43:a80d/64 Scope:Link
inet6 addr: 240d:1a:3ff:1500:265e:beff:fe43:a80d/64 Scope:Global
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:910735 errors:0 dropped:0 overruns:0 frame:0
TX packets:668965 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:303881310 (289.8 MiB) TX bytes:260874678 (248.7 MiB)
Memory:a1600000-a161ffff
eth1 Link encap:Ethernet HWaddr 24:5E:BE:43:A8:0E
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:974126 errors:0 dropped:0 overruns:0 frame:0
TX packets:974126 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:335475891 (319.9 MiB) TX bytes:335475891 (319.9 MiB)
lxcbr0 Link encap:Ethernet HWaddr 16:E4:17:61:31:61
inet addr:10.0.3.1 Bcast:10.0.3.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:12075 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:1242393 (1.1 MiB)
veth619e958 Link encap:Ethernet HWaddr 06:BE:53:BE:70:6E
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:7988 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:691721 (675.5 KiB)
任何帮助都非常感谢!