分页: 1 / 1

[问题]Set IP & MAC address to a variable?

发表于 : 2006-12-09 0:16
electronixtar
Help needed. How to set IP address and MAC address to variables in Ubunt 6.10 shell script? All ideas are appreciated, thanks.

发表于 : 2006-12-14 13:20
xiechy
You can try these
ifconfig eth0 hw ether 00:00:00:00:00:00
to set the mac address

代码: 全选

man ifconfig
you will get all informations you need.