今天装了个ubuntu7.04,感觉他的界面和使用操作就像改了主题的windows,都是用鼠标操作的,至于那些linux的指令在那里输入都没搞清楚,不知道红帽子是不是这样,
我所在的局域网电脑的IP-MAC被网管锁定,只能改mac地址才能用交换机上多台机,
我想问的问题系ubuntu7.04系统在那里可以改网卡MAC地址 ,有什么相关命令吗,
怎么改ubuntu7.04版,的网卡mac地址
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
-
- 帖子: 2
- 注册时间: 2007-07-13 2:24
怎么改ubuntu7.04版,的网卡mac地址
上次由 biao0416 在 2007-07-13 13:20,总共编辑 2 次。
- xhy
- 帖子: 3916
- 注册时间: 2005-12-28 1:16
- 系统: Ubuntu 12.10 X64
- 来自: 火星
临时修改
#/sbin/ifconfig eth0 down
#/sbin/ifconfig eth0 hw ether 00:AA:BB:CC:DD:EE
#/sbin/ifconfig eht0 up
或者
#ip link set eth0 down
#ip link set eth0 address 00:48:54:11:22:33
#in ling set eth0 up
永久修改可以将上面几行放入 /etc/rcS.d/rc.local 文件
或者直接编辑 /etc/network/interfaces 文件
在对应的网卡名后面加上 hwaddress ether AABBCCDDEEFF
#/sbin/ifconfig eth0 down
#/sbin/ifconfig eth0 hw ether 00:AA:BB:CC:DD:EE
#/sbin/ifconfig eht0 up
或者
#ip link set eth0 down
#ip link set eth0 address 00:48:54:11:22:33
#in ling set eth0 up
永久修改可以将上面几行放入 /etc/rcS.d/rc.local 文件
或者直接编辑 /etc/network/interfaces 文件
在对应的网卡名后面加上 hwaddress ether AABBCCDDEEFF
目前负债150多万
-
- 帖子: 1897
- 注册时间: 2006-09-12 14:09
感觉debian系改mac繁琐了一些,gentoo就方便多了
代码: 全选
fideas@zerone ~ $ cat /etc/conf.d/net
# This blank configuration will automatically use DHCP for any net.*
# scripts in /etc/init.d. To create a more complete configuration,
# please review /etc/conf.d/net.example and save your configuration
# in /etc/conf.d/net (this file :]!).
mac_eth0="00:13:D4:2D:71:A3"
config_eth0=( "192.168.2.204 netmask 255.255.255.0" )
routes_eth0=("default via 192.168.2.254")
Fair winds and following seas !
- 比较菜
- 帖子: 11
- 注册时间: 2007-02-04 5:34