* [gentoo-user] spoof mac address
@ 2013-09-10 17:47 Joseph
2013-09-10 18:05 ` joost
` (3 more replies)
0 siblings, 4 replies; 13+ messages in thread
From: Joseph @ 2013-09-10 17:47 UTC (permalink / raw
To: gentoo-user
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.
--
Joseph
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] spoof mac address
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
` (2 subsequent siblings)
3 siblings, 1 reply; 13+ messages in thread
From: joost @ 2013-09-10 18:05 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 531 bytes --]
I don't have access to a Gentoo box atm. But there is an option in /etc/conf.d/net for this.
Check the net.example file.
--
Joost
Joseph <syscon780@gmail.com> wrote:
>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.
>
>--
>Joseph
--
Sent from my Android phone with K-9 Mail. Please excuse my brevity.
[-- Attachment #2: Type: text/html, Size: 797 bytes --]
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] spoof mac address
2013-09-10 17:47 [gentoo-user] spoof mac address Joseph
2013-09-10 18:05 ` joost
@ 2013-09-10 18:24 ` Canek Peláez Valdés
2013-09-10 19:11 ` Albert
2013-09-10 21:10 ` Alan McKinnon
3 siblings, 0 replies; 13+ messages in thread
From: Canek Peláez Valdés @ 2013-09-10 18:24 UTC (permalink / raw
To: gentoo-user
On Tue, Sep 10, 2013 at 12:47 PM, Joseph <syscon780@gmail.com> wrote:
> 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.
emerge -v net-analyzer/macchanger
macchanger --mac=00:11:22:33:44:55 device
Regards.
--
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] spoof mac address
2013-09-10 17:47 [gentoo-user] spoof mac address Joseph
2013-09-10 18:05 ` joost
2013-09-10 18:24 ` Canek Peláez Valdés
@ 2013-09-10 19:11 ` Albert
2013-09-10 19:38 ` Joseph
2013-09-10 21:10 ` Alan McKinnon
3 siblings, 1 reply; 13+ messages in thread
From: Albert @ 2013-09-10 19:11 UTC (permalink / raw
To: gentoo-user
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
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] spoof mac address
2013-09-10 18:05 ` joost
@ 2013-09-10 19:30 ` Mick
0 siblings, 0 replies; 13+ messages in thread
From: Mick @ 2013-09-10 19:30 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: Text/Plain, Size: 400 bytes --]
On Tuesday 10 Sep 2013 19:05:59 joost@antarean.org wrote:
> I don't have access to a Gentoo box atm. But there is an option in
> /etc/conf.d/net for this. Check the net.example file.
mac_eth0="00:11:22:33:44:55"
You will also need to set up PPPoE with username and password for
authenticating on your ISP's radius server, unless your modem is in half-
bridge mode.
--
Regards,
Mick
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 490 bytes --]
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] spoof mac address
2013-09-10 19:11 ` Albert
@ 2013-09-10 19:38 ` Joseph
0 siblings, 0 replies; 13+ messages in thread
From: Joseph @ 2013-09-10 19:38 UTC (permalink / raw
To: gentoo-user
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
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] spoof mac address
2013-09-10 17:47 [gentoo-user] spoof mac address Joseph
` (2 preceding siblings ...)
2013-09-10 19:11 ` Albert
@ 2013-09-10 21:10 ` Alan McKinnon
2013-09-10 21:38 ` Joseph
2013-09-10 21:50 ` Joseph
3 siblings, 2 replies; 13+ messages in thread
From: Alan McKinnon @ 2013-09-10 21:10 UTC (permalink / raw
To: gentoo-user
On 10/09/2013 19:47, Joseph wrote:
> 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.
>
If you have a host and a router with the same MAC address, how do you
suppose ethernet will continue to work?
Instead, rather do it right - your modem has a dhcp server. Configure it
to supply a specific address to your host's MAC address. Or, just set
the address statically in /etc/conf.d/net and don't use dhcp.
Or, do you actually want to bridge the modem and do pppoe on the host
instead of by the modem?
in /etc/conf.c/net:
mac_key_001122334455="s:foobar"
documented in /usr/share/doc/netifrc*/net.example.bz2
If you use a different network manager, consult that packages own docs
on how to change mac addresses.
--
Alan McKinnon
alan.mckinnon@gmail.com
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] spoof mac address
2013-09-10 21:10 ` Alan McKinnon
@ 2013-09-10 21:38 ` Joseph
2013-09-10 21:48 ` Mick
2013-09-10 21:50 ` Joseph
1 sibling, 1 reply; 13+ messages in thread
From: Joseph @ 2013-09-10 21:38 UTC (permalink / raw
To: gentoo-user
My connection to my provider is kind of slow, so they suggested I connect one of the box directly to the cable modem.
Since I have a dynamic IP (that hardly ever changes), I'll disconnect the router and configure one of my box to the same mac address has router eth0 has and connect it to
the mode.
This should ensure that my IP will not change.
All I want to do is to run a test speed from: testmy.net
--
Joseph
On 09/10/13 23:10, Alan McKinnon wrote:
>On 10/09/2013 19:47, Joseph wrote:
>> 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.
>>
>
>
>If you have a host and a router with the same MAC address, how do you
>suppose ethernet will continue to work?
>
>Instead, rather do it right - your modem has a dhcp server. Configure it
>to supply a specific address to your host's MAC address. Or, just set
>the address statically in /etc/conf.d/net and don't use dhcp.
>
>Or, do you actually want to bridge the modem and do pppoe on the host
>instead of by the modem?
>
>in /etc/conf.c/net:
>
>mac_key_001122334455="s:foobar"
>
>documented in /usr/share/doc/netifrc*/net.example.bz2
>
>If you use a different network manager, consult that packages own docs
>on how to change mac addresses.
>
>
>
>--
>Alan McKinnon
>alan.mckinnon@gmail.com
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] spoof mac address
2013-09-10 21:38 ` Joseph
@ 2013-09-10 21:48 ` Mick
2013-09-10 22:44 ` Joseph
0 siblings, 1 reply; 13+ messages in thread
From: Mick @ 2013-09-10 21:48 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: Text/Plain, Size: 977 bytes --]
On Tuesday 10 Sep 2013 22:38:35 Joseph wrote:
> My connection to my provider is kind of slow, so they suggested I connect
> one of the box directly to the cable modem. Since I have a dynamic IP
> (that hardly ever changes), I'll disconnect the router and configure one
> of my box to the same mac address has router eth0 has and connect it to
> the mode.
You would normally also need to authenticate onto your ISP's network, a
function previously performed by the modem. Unless you connect a router
behind the modem to do the PPPoE authentication you will need to do this at
the PC.
> This should ensure that my IP will not change.
There is a possibility that you will pick up a new IP address if your
connection resync's.
> All I want to do is to run a test speed from: testmy.net
I will be *really* surprised if you see a difference in speed in any way
attributable to the change you want to implement at the modem.
--
Regards,
Mick
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 490 bytes --]
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] spoof mac address
2013-09-10 21:10 ` Alan McKinnon
2013-09-10 21:38 ` Joseph
@ 2013-09-10 21:50 ` Joseph
2013-09-10 22:44 ` Alan McKinnon
1 sibling, 1 reply; 13+ messages in thread
From: Joseph @ 2013-09-10 21:50 UTC (permalink / raw
To: gentoo-user
I forgot to mention.
My router is an old 486-box running freesco. So I'm trying to find out if the router is the problem with slow connection.
as my download speed on cable is only 3.7Mbps and it should be about 15Mbps up to 25Mbps
upload speed is 1.5Mbps
--
Joseph
On 09/10/13 23:10, Alan McKinnon wrote:
>On 10/09/2013 19:47, Joseph wrote:
>> 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.
>>
>
>
>If you have a host and a router with the same MAC address, how do you
>suppose ethernet will continue to work?
>
>Instead, rather do it right - your modem has a dhcp server. Configure it
>to supply a specific address to your host's MAC address. Or, just set
>the address statically in /etc/conf.d/net and don't use dhcp.
>
>Or, do you actually want to bridge the modem and do pppoe on the host
>instead of by the modem?
>
>in /etc/conf.c/net:
>
>mac_key_001122334455="s:foobar"
>
>documented in /usr/share/doc/netifrc*/net.example.bz2
>
>If you use a different network manager, consult that packages own docs
>on how to change mac addresses.
>
>
>
>--
>Alan McKinnon
>alan.mckinnon@gmail.com
>
>
--
Joseph
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] spoof mac address
2013-09-10 21:48 ` Mick
@ 2013-09-10 22:44 ` Joseph
0 siblings, 0 replies; 13+ messages in thread
From: Joseph @ 2013-09-10 22:44 UTC (permalink / raw
To: gentoo-user
On 09/10/13 22:48, Mick wrote:
>On Tuesday 10 Sep 2013 22:38:35 Joseph wrote:
>> My connection to my provider is kind of slow, so they suggested I connect
>> one of the box directly to the cable modem. Since I have a dynamic IP
>> (that hardly ever changes), I'll disconnect the router and configure one
>> of my box to the same mac address has router eth0 has and connect it to
>> the mode.
>
>You would normally also need to authenticate onto your ISP's network, a
>function previously performed by the modem. Unless you connect a router
>behind the modem to do the PPPoE authentication you will need to do this at
>the PC.
>
>
>> This should ensure that my IP will not change.
>
>There is a possibility that you will pick up a new IP address if your
>connection resync's.
>
>
>> All I want to do is to run a test speed from: testmy.net
>
>I will be *really* surprised if you see a difference in speed in any way
>attributable to the change you want to implement at the modem.
>
>--
>Regards,
>Mick
I just changed the MAC and I got the same IP from the shaw modem but you are correct the speed did not improved I got only 4Mbps down.
--
Joseph
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] spoof mac address
2013-09-10 21:50 ` Joseph
@ 2013-09-10 22:44 ` Alan McKinnon
2013-09-11 0:06 ` Joseph
0 siblings, 1 reply; 13+ messages in thread
From: Alan McKinnon @ 2013-09-10 22:44 UTC (permalink / raw
To: gentoo-user
On 10/09/2013 23:50, Joseph wrote:
> I forgot to mention.
> My router is an old 486-box running freesco. So I'm trying to find out
> if the router is the problem with slow connection.
> as my download speed on cable is only 3.7Mbps and it should be about
> 15Mbps up to 25Mbps
> upload speed is 1.5Mbps
What speed NIC do you have in that 486?
10M? 100M? And is it running full duplex?
3.7M is, IIRC, about what I'd expect from 10M half-duplex. NIC cards of
that era were prone to getting auto-negotiation badly wrong.
Even an old 486 should be able to deal with 100M traffic easily.
Even so, I'd still not trust your cable provider's advice. There is
still a good chance the problem really is with the cable connection.
>
> --
> Joseph
>
> On 09/10/13 23:10, Alan McKinnon wrote:
>> On 10/09/2013 19:47, Joseph wrote:
>>> 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.
>>>
>>
>>
>> If you have a host and a router with the same MAC address, how do you
>> suppose ethernet will continue to work?
>>
>> Instead, rather do it right - your modem has a dhcp server. Configure it
>> to supply a specific address to your host's MAC address. Or, just set
>> the address statically in /etc/conf.d/net and don't use dhcp.
>>
>> Or, do you actually want to bridge the modem and do pppoe on the host
>> instead of by the modem?
>>
>> in /etc/conf.c/net:
>>
>> mac_key_001122334455="s:foobar"
>>
>> documented in /usr/share/doc/netifrc*/net.example.bz2
>>
>> If you use a different network manager, consult that packages own docs
>> on how to change mac addresses.
>>
>>
>>
>> --
>> Alan McKinnon
>> alan.mckinnon@gmail.com
>>
>>
>
--
Alan McKinnon
alan.mckinnon@gmail.com
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] spoof mac address
2013-09-10 22:44 ` Alan McKinnon
@ 2013-09-11 0:06 ` Joseph
0 siblings, 0 replies; 13+ messages in thread
From: Joseph @ 2013-09-11 0:06 UTC (permalink / raw
To: gentoo-user
On 09/11/13 00:44, Alan McKinnon wrote:
>On 10/09/2013 23:50, Joseph wrote:
>> I forgot to mention.
>> My router is an old 486-box running freesco. So I'm trying to find out
>> if the router is the problem with slow connection.
>> as my download speed on cable is only 3.7Mbps and it should be about
>> 15Mbps up to 25Mbps
>> upload speed is 1.5Mbps
>
>
>
>What speed NIC do you have in that 486?
>
>10M? 100M? And is it running full duplex?
>
>3.7M is, IIRC, about what I'd expect from 10M half-duplex. NIC cards of
>that era were prone to getting auto-negotiation badly wrong.
>Even an old 486 should be able to deal with 100M traffic easily.
>
>Even so, I'd still not trust your cable provider's advice. There is
>still a good chance the problem really is with the cable connection.
I called shaw tech.support and we did all kind of testing, with box connected directly to the modem (by-passing the router); no difference.
So they've scheduled technician to test it, they suspect it could be a modem itself.
--
Joseph
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2013-09-11 0:06 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox