unbale to do dhclient after MAC change (ifconfig eth1 hw ether XX:XX..)
Hello,..
im using debian SID (64 bit) on Acer 5102.
using bcm4318 wifi card.
kernel 2.6.21-2-amd64.
since i noticed that my local AP started to collected data about my serf
i guesed it is time to play with MAC masquerade.
i have compiled the madwifi module .
and loaded it.
i installed bcm43xx-fwcutter with the firmware
Code:
apt-get install bcm43xx-fuxtter
Code:
m-a -> choose -> madwifi get / build / install
then i read some man s
Code:
man ifconfig
then:
Code:
ifconfig eth1 hw ether 0a:b0:03:23:45:22
to set a fake MAC addres.
then dhclient eth1 but ..
Code:
Internet Systems Consortium DHCP Client V3.0.5 Copyright 2004-2006
Internet Systems Consortium. All rights reserved. For info, please visit
http://www.isc.org/sw/dhcp/ Listening on LPF/eth1/0a:b0:03:23:45:22
Sending on LPF/eth1/0a:b0:03:23:45:22 Sending on Socket/fallback
DHCPREQUEST on eth1 to 255.255.255.255 port 67 DHCPREQUEST on eth1 to
255.255.255.255 port 67 DHCPREQUEST on eth1 to 255.255.255.255 port 67
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 5 DHCPDISCOVER
on eth1 to 255.255.255.255 port 67 interval 6 DHCPDISCOVER on eth1 to
255.255.255.255 port 67 interval 7 DHCPDISCOVER on eth1 to
255.255.255.255 port 67 interval 10 DHCPDISCOVER on eth1 to
255.255.255.255 port 67 interval 10 DHCPDISCOVER on eth1 to
255.255.255.255 port 67 interval 9 DHCPDISCOVER on eth1 to
255.255.255.255 port 67 interval 11 DHCPDISCOVER on eth1 to
255.255.255.255 port 67 interval 3 No DHCPOFFERS received.
so i thought that mac was bad so i reload it (modprobe -r bcm43xx
modprobe bcm43xx)
and set to using the same MAC as the real mac.
and again the same (No DHCPOFFERS receive.).
P.s.
i was able to do iwlist eth1 scan (returend results);
i am able to connect to the same AP without changing the MAC.
what am i doing wrong ?
--
--
Could you at least use man ?
Jabka Atu (aka mha13/Mashrom Head)
--
Reply to: