how to change mac adress ?
hi
i was using a laptop before at my school's network. Now i changed my laptop and installed latest version of kubuntu. But the problem is without changing my mac address, i cant use internet. So i changed the mac adress by a command but i dont want to use commands everytime i start the computer. So my question is, What should i do to change the mac adress of the computer automatically ? i tried to add this line: Code:
hwadress ether 00:macadress Didnt Work.. also tried many lines there but didnt work Can someone tell me please what line should i add to where to change my mac adress ? Thanks in advance. |
It should just be:
hwaddress ether XX:XX:XX:XX:XX:XX within your interface stanza Otherwise you might try a pre-up with: ifconfig eth0 hw ether XX:XX:XX:XX:XX:XX |
Quote:
i wrote my /etc/network/interfaces file is : Code:
auto lo Where should i write ? Code:
ifconfig eth0 hw ether XX:XX:XX:XX:XX:XX |
Can't you just tell the person who runs your school's network your new computer's MAC address?
|
Quote:
|
So you're trying to circumvent the rules?
|
Quote:
|
In the interfaces file, just put:
pre-up /sbin/ifconfig eth0 hw ether XX:XX:XX:XX:XX:XX You can also ignore the ifup/ifdown scripts altogether and just configure everything with ifconfig somewhere in the network startup scripts. |
Quote:
Thank you so much piiniped. |
Quote:
|
Quote:
No, you are the one in the wrong, don't blame the tool maker for the poor tradesman.; |
All times are GMT -5. The time now is 09:58 PM. |