IP Address Problems

Derek Broughton news at pointerstop.ca
Tue Jan 10 18:17:57 UTC 2006


dan wrote:

> On 10/01/06, Andrew Jorgensen <andrew.jorgensen at gmail.com> wrote:
>> You say you have written your own script to spoof the MAC address?
>> This is very likely the source of your troubles.  When does this
>> script run?  (What other script triggers it?)  What exactly does your
>> script do?
> 
> The script (below) was run by me, after I had logged in (only on the
> spoofed machine)
> sudo /etc/init.d/networking stop
> sudo ifconfig eth0 hw ether AA:BB:CC:DD:EE:FF
> sudo /etc/init.d/networking start
> 
What can I tell you except to reiterate that you shouldn't be
using .../networking.

Read "man interfaces", set up /etc/network/interfaces to use DHCP and hwaddr
(Is this what Michael suggested?  I can't find all the posts in this
thread).

Then you should _not_ be doing anything else to that interface.  If you need
it to be able to bring itself up and down, use ifplugd. 

> But the problems occur on the *real* NIC as well.
> 
> I am using the method suggested by Michael (above) to spoof the MAC
> address now (in /etc/network/interfaces) and the problems still exist,
> unless I activate the network after I have logged in via the GUI.

And don't use the GUI.  It's fine for setting things up _once_, but it
shouldn't be necessary and it's obviously breaking things for you.

-- 
derek





More information about the ubuntu-users mailing list