校园网ip帮定MAC 每次进入系统都得修改成有线连接1 怎么保存?
- dangtianye
- 帖子: 112
- 注册时间: 2007-06-03 8:18
- 来自: WWW.SDU.SDU.SDU.SDU.....
校园网ip帮定MAC 每次进入系统都得修改成有线连接1 怎么保存?
原来有个auto eth0 我又新建了一个有线连接1 可每次进入系统总是auto eht0 这样的话不能上网 怎么让他默认是有线连接1 呢?
-
- 帖子: 11
- 注册时间: 2008-10-28 7:47
Re: 校园网ip帮定MAC 每次进入系统都得修改成有线连接1 怎么保存?
都是network manager 惹得祸!建议卸载netword manager
-
- 帖子: 11
- 注册时间: 2008-10-28 7:47
Re: 校园网ip帮定MAC 每次进入系统都得修改成有线连接1 怎么保存?
这是我的解决办法
一,在新利得里卸载那个烦人的network manager!
二,用终端配置静态ip 和dns
设置静态ip的方法如下:
1) 编辑 /etc/network/interfaces
1.1)将dhcp 一行屏蔽
# The primary network interface
auto eth0
#iface eth0 inet dhcp
1.2)添加和静态ip有关的参数
# The primary network interface
iface eth0 inet static
address 192.168.0.10
netmask 255.255.255.0
gateway 192.168.0.1
2)编辑 /etc/resolv.conf,设置dns
nameserver 202.96.134.133
nameserver 202.106.0.20
三,重启电脑
一,在新利得里卸载那个烦人的network manager!
二,用终端配置静态ip 和dns
设置静态ip的方法如下:
1) 编辑 /etc/network/interfaces
1.1)将dhcp 一行屏蔽
# The primary network interface
auto eth0
#iface eth0 inet dhcp
1.2)添加和静态ip有关的参数
# The primary network interface
iface eth0 inet static
address 192.168.0.10
netmask 255.255.255.0
gateway 192.168.0.1
2)编辑 /etc/resolv.conf,设置dns
nameserver 202.96.134.133
nameserver 202.106.0.20
三,重启电脑
- dangtianye
- 帖子: 112
- 注册时间: 2007-06-03 8:18
- 来自: WWW.SDU.SDU.SDU.SDU.....
Re: 校园网ip帮定MAC 每次进入系统都得修改成有线连接1 怎么保存?
完美解决 多谢两位
-
- 帖子: 11
- 注册时间: 2008-10-28 7:47
-
- 帖子: 111
- 注册时间: 2008-06-11 12:30
Re: 校园网ip帮定MAC 每次进入系统都得修改成有线连接1 怎么保存?
哎 ,为啥我的困难重重呢 楼主 你是怎么解决的啊 帮个忙
viewtopic.php?f=48&t=161261 这个是我的帖子 了解详情 请去看一下
viewtopic.php?f=48&t=161261 这个是我的帖子 了解详情 请去看一下