在win7里面不会没有网关的。在win7里面打开命令行,输入ipconfig/all查看一下其详细的网络设置情况,然后在ubuntu中进行类似的设置。
给你一个参考吧,其它的你懂的:
eth0 Link encap:Ethernet HWaddr 30:85:a9:9f:7d:be
inet addr:192.168.0.231 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::3285:a9ff:fe9f:7dbe/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:108478827 errors:0 dropped:0 overruns:0 frame:0
TX packets:150173521 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
.....
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:42394930 errors:0 dropped:0 overruns:0 frame:0
TX packets:42394930 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
........
点击开始菜单--所有程序--维护人员工具---网络设置 就可以看见并修改正确且 装机时的初始IP
发错地方了