public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Joseph <syscon780@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] spoof mac address
Date: Tue, 10 Sep 2013 13:38:54 -0600	[thread overview]
Message-ID: <20130910193854.GB8083@syscon7.inet> (raw)
In-Reply-To: <522F6EF2.7050207@gmail.com>

On 09/10/13 21:11, Albert wrote:
>Al 10/09/2013 19:47, En/na Joseph ha escrit:
>> Does anybody know how to spoof mac address on Gentoo?
>>
>> I want to connect a machine directly to the modem but if I do so my
>> static IP will change; so to retain static IP I want to spoof mac
>> address on one of my machine to the same MAC as on my router.
>>
>ifconfig yournetdevice hw ether 00:00:de:ad:be:ef
>

Yes, that is what I did:

# ifconfig net0 down
# ifconfig net0 hw ether 00:21:5A:9B:00:F2
# ifconfig net0 up

Now how to reset to the original mac address, without restarting. 

-- 
Joseph


  reply	other threads:[~2013-09-10 19:39 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-10 17:47 [gentoo-user] spoof mac address Joseph
2013-09-10 18:05 ` joost
2013-09-10 19:30   ` Mick
2013-09-10 18:24 ` Canek Peláez Valdés
2013-09-10 19:11 ` Albert
2013-09-10 19:38   ` Joseph [this message]
2013-09-10 21:10 ` Alan McKinnon
2013-09-10 21:38   ` Joseph
2013-09-10 21:48     ` Mick
2013-09-10 22:44       ` Joseph
2013-09-10 21:50   ` Joseph
2013-09-10 22:44     ` Alan McKinnon
2013-09-11  0:06       ` Joseph

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130910193854.GB8083@syscon7.inet \
    --to=syscon780@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox