可以在CentOS下更改網卡的MAC值嗎? - Linux

By Rosalind
at 2007-01-25T22:47
at 2007-01-25T22:47
Table of Contents
※ 引述《[email protected] (andy)》之銘言:
: ==> 在 [email protected] (...) 的文章中提到:
: > 不好意思剛接觸Linux,想請教各位大大!
: > 是否在CentOS 4.4的作業系統,可去變更網卡的MAC值?
: > 類似在Windows系列中
: > 執行『裝置管理員』 -> 選擇網卡 -> 『進階』 -> 『設定MAC』(假設網卡有支援此功能)
: > 如果有的話,步驟應該如何去進行設定?
: > 謝謝各位大大的解答。
: 改 mac 除非是要讓多台電腦 使用
: 非法 tool
: 因為一般 軟體都鎖 mac
: 但是 linux 不連網路不是很怪嗎
我知道的方法 :p
1. 先把網卡停用 # /sbin/ifconfig eth0 down
2. 看要改成什麼 # /sbin/ifconfig eth0 hw ether 00:00:00:01:02:03
3. 接著啟用網卡 # /sbin/ifconfig eht0 up
===========================================
以下可以不用看:
若在suse,進yast 會發現多了一張網卡
卡號是剛改成的那"假MAC"網卡
configure一下即可。 XD
--
為什麼天上的星星像人群一樣擁擠,
又為什麼地上的人們像星星一樣疏離。
--
: ==> 在 [email protected] (...) 的文章中提到:
: > 不好意思剛接觸Linux,想請教各位大大!
: > 是否在CentOS 4.4的作業系統,可去變更網卡的MAC值?
: > 類似在Windows系列中
: > 執行『裝置管理員』 -> 選擇網卡 -> 『進階』 -> 『設定MAC』(假設網卡有支援此功能)
: > 如果有的話,步驟應該如何去進行設定?
: > 謝謝各位大大的解答。
: 改 mac 除非是要讓多台電腦 使用
: 非法 tool
: 因為一般 軟體都鎖 mac
: 但是 linux 不連網路不是很怪嗎
我知道的方法 :p
1. 先把網卡停用 # /sbin/ifconfig eth0 down
2. 看要改成什麼 # /sbin/ifconfig eth0 hw ether 00:00:00:01:02:03
3. 接著啟用網卡 # /sbin/ifconfig eht0 up
===========================================
以下可以不用看:
若在suse,進yast 會發現多了一張網卡
卡號是剛改成的那"假MAC"網卡
configure一下即可。 XD
--
為什麼天上的星星像人群一樣擁擠,
又為什麼地上的人們像星星一樣疏離。
--
Tags:
Linux
All Comments

By Catherine
at 2007-01-29T14:28
at 2007-01-29T14:28

By Freda
at 2007-02-02T17:53
at 2007-02-02T17:53

By Audriana
at 2007-02-07T10:36
at 2007-02-07T10:36

By Vanessa
at 2007-02-08T12:38
at 2007-02-08T12:38

By Zanna
at 2007-02-09T00:48
at 2007-02-09T00:48
Related Posts
Linux & Raid1

By Damian
at 2007-01-24T20:22
at 2007-01-24T20:22
FC 的論壇

By Hedwig
at 2007-01-23T17:50
at 2007-01-23T17:50
FC 的論壇

By Callum
at 2007-01-23T02:36
at 2007-01-23T02:36
增加firefox速度

By Xanthe
at 2007-01-20T11:16
at 2007-01-20T11:16
Re: dhcp是否可以拒絕某一張網卡 申請ip

By Kumar
at 2007-01-19T00:37
at 2007-01-19T00:37