重启后不能自动上网的问题
安装好AS4 U4 linux后,系统不能自动上网也不能ping通。
机器上有两块网卡,eth0上接有网线。
需要运行一下。
ifdown eth0
ifup eth0网络才会通。
运行ifconfig -a显示如下:
eth0 Link encap:Ethernet HWaddr 00:18:8B:7B:6E:72
inet addr:198.168.8.60 Bcast:198.168.8.255 Mask:255.255.255.0
inet6 addr: fe80::218:8bff:fe7b:6e72/64 Scope:Link
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)
Interrupt:169 Memory:f4000000-f4011100
eth1 Link encap:Ethernet HWaddr 00:18:8B:7B:6E:70
inet addr:198.168.8.61 Bcast:198.168.8.255 Mask:255.255.255.0
inet6 addr: fe80::218:8bff:fe7b:6e70/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1655041 errors:0 dropped:0 overruns:0 frame:0
TX packets:819793 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1748755561 (1.6 GiB) TX bytes:53291375 (50.8 MiB)
Interrupt:169 Memory:f8000000-f8011100
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:2280 errors:0 dropped:0 overruns:0 frame:0