Hi @ all.
I have a big problem and hope that you will help me to solve it.
I simply want to change MAC address of my network card.
so I do this:
(card on eth0)
I obtain ip and all info from dhcp server and it seems it will work ... butCode:ifconfig eth0 down ifconfig eth0 hw ether xx:xx:xx:xx:xx #where xx etc is the new MAC address ifconfig eth0 up #(dhcpcd is stopped) dhcpcd eth0
it doesn't work ; network doesn't work!
I use macchanger too but it doesn't work at all.
I know that there is the /etc/rc.d/rc.inet1 and also /etc/rc.d/rc.inet1.conf .
So I try to modify them adding HWADDR[interface] = "MAC"
After reboot rc.inet1.conf, we have the previous file without added line! Why???
So I try also to modify rc.inet1 and comment all... changes remain, but network doesn't work too.
The strange thing is that if I do this:
network works without rebooting!Code:ifconfig eth0 down ifconfig eth0 hw ether myoriginalMAC up killall dhcpcd dhcpcd eth0
So what's the prob? Does BT hold original mac info? where?
Good! I'm sorry for my long post and I hope you'll solve my problem.
Thank u in advance
First of all thank you for your fast reply.
but network doesn't work...Code:macchanger eth0 answer: Current MAC: 00:23:d5:88:c3:a4 (unknown) Faked MAC: 00:23:d5:88:c3:a5 (unknown) ifconfig eth0 up ifconfig answer: eth0 Link encap:Ethernet HWaddr 00:23:D5:88:C3:A5 inet addr:192.168.65.146 Bcast:192.168.65.255 Mask:255.255.255.0 inet6 addr: fe80::213:d4ff:fe88:c3a5/64 Scope:Link UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1 RX packets:30591 errors:0 dropped:0 overruns:0 frame:0 TX packets:5768 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:6633324 (6.3 MiB) TX bytes:1338645 (1.2 MiB) Interrupt:10 Base address:0xcc00 killall dhcpcd dhcpcd eth0
Thank you again
Thus, to change your mac to 00:11:22:33:44:55, you need to do:Code:macchanger [ options ] device
For more info,Code:macchanger -m 00:11:22:33:44:55 eth0
Maybe I didn't explain my problem well...
My problem isn't specified MAC... Every mac I use except original make network not work...
Even if I use proper switch, network doesn't work.
There isn't a network's prob 'cause I change mac on win xp (sorry for this...name ) and on kubuntu 7.10...
Thank you again for your reply...
sounds like its driver related. check what drivers kubuntu 7.10 is using for your eth0.
you change your mac and your card looses network functionality;
Yet you have proven that its not the card/hardware/network by using the same card with different operating systems and the same network.
So to me, its either,
a> your doing something wrong
b> its a driver issue
c> previous dhcpcd messing you up, try deleteing /etc/dhcpcd contents
Maybe I am overlooking something.
oh and fyi, I did read better your post before answering
Ok. Thank you for your answer.
Just try to aswer one question:
"Why when 'orginal mac comes back' network functionality returns?"
Is there a file where bt holds mac info?
I delete all /etc/dhcpcd info and problem remains...
Finally if you can't solve this problem... maybe there isn't a solution.
Thank you again
This may or may not be a stupid question, but here goes. Is mac filtering enabled on the network?
- Poul Wittig