Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have the following problem (sorry if my english is sometimes not very proper): My internet provider identifies its user by the mac adress. The thing is i often switch computers so i need to change (or better spoof) my mac adress. I am using the following commands:
ifconfig eth0 down
ifconfig eth0 hw ether XX:XX:XX:XX:XX:XX
ifconfig eth0 up
That actually works fine. But in order to keep it after restart i have to write the commands in a startup script. But i just cant find out which i should use. /etc/init.d/boot.local changes the mac adress but the internet doesnt work anymore. Same with the 'network' script.
Can anybody help me on that problem please? I am using SUSE 10.0 OSS
Instead of hijacking a particular script, why don't you just have this in a script of its own? That way if you have a system upgrade, your changes won't get wiped out by a new script.
the problem here is i dont know when this script should start? do you know what i mean? it must be before the ip service activates otherwise internet wont work. Do you have an idea?
hm here might be the problem! i tried it out in the console and after entering ifup eth0 i got an error: No configuration found. Does this mean anything to you? Obviously the problem has to do with the ip adress. I also tried 'killall dhcpcd' and restart with 'dhcpcd eth0'. When i enter 'killall dhcpcd' i got the message: no configuration file found. Will shut down dhcp anyways!
is it possible that i have to change the name of my /etc/sysconfig/network/ifcfg-eth-id-00:c2:4f:2e:df:bc so that the last part of the file contains the new spoofed mac adress?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.