Re: Changing the MAC address on a LAN adapter

2011-01-24 Thread Paul B Mahol
On Sun, Jan 23, 2011 at 3:47 PM, John R. Levine jo...@iecc.com wrote:
 Is this a known problem?  As far as I know, it's supposed to work.

 How you change MAC address? With ether command?

 # ifconfig em0 ether 01:17:a4:8f:04:5d

Well, if it does not work it can be driver bug.

In iwn case try to set MAC address of iwn before creating wlan or
you will need to set same MAC on wlanX and iwn.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Changing the MAC address on a LAN adapter

2011-01-24 Thread Da Rock

On 01/25/11 01:14, Paul B Mahol wrote:

On Sun, Jan 23, 2011 at 3:47 PM, John R. Levinejo...@iecc.com  wrote:
   

Is this a known problem?  As far as I know, it's supposed to work.
 

How you change MAC address? With ether command?
   

# ifconfig em0 ether 01:17:a4:8f:04:5d
 

Well, if it does not work it can be driver bug.

In iwn case try to set MAC address of iwn before creating wlan or
you will need to set same MAC on wlanX and iwn.
   
Actually I can confirm that. I use lagg for failover, and I remember now 
you have to set the 'real' interface to the MAC of the other lagg 
member, not a 'psuedo-device' or it won't work. Same principle applies here.


HTH
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Changing the MAC address on a LAN adapter

2011-01-24 Thread John R. Levine

Is this a known problem?  As far as I know, it's supposed to work.



Well, if it does not work it can be driver bug.


Well, yes, that's what I'm asking.  Is it a known driver bug?


In iwn case try to set MAC address of iwn before creating wlan or
you will need to set same MAC on wlanX and iwn.


Done that, doesn't help.

Regards,
John Levine, jo...@iecc.com, Primary Perpetrator of The Internet for Dummies,
Please consider the environment before reading this e-mail. http://jl.ly___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

Re: Changing the MAC address on a LAN adapter

2011-01-24 Thread Fred

Da Rock wrote:

On 01/25/11 01:14, Paul B Mahol wrote:

On Sun, Jan 23, 2011 at 3:47 PM, John R. Levinejo...@iecc.com  wrote:
  

Is this a known problem?  As far as I know, it's supposed to work.
 

How you change MAC address? With ether command?
   

# ifconfig em0 ether 01:17:a4:8f:04:5d
 

Well, if it does not work it can be driver bug.

In iwn case try to set MAC address of iwn before creating wlan or
you will need to set same MAC on wlanX and iwn.
   
Actually I can confirm that. I use lagg for failover, and I remember 
now you have to set the 'real' interface to the MAC of the other lagg 
member, not a 'psuedo-device' or it won't work. Same principle applies 
here.


HTH
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
freebsd-questions-unsubscr...@freebsd.org




Ethernet MAC addresses are assigned by the manufacturer of the 
equipment.  Each unit gets a unique address which generally can't be 
changed and shouldn't be changed.  The manufacturer buys a block of 
addresses from the IEEE.


Best regards,
Fred

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Changing the MAC address on a LAN adapter

2011-01-24 Thread Chuck Swiger
On Jan 24, 2011, at 10:44 AM, Fred wrote:
 Ethernet MAC addresses are assigned by the manufacturer of the equipment.  
 Each unit gets a unique address which generally can't be changed and 
 shouldn't be changed.  The manufacturer buys a block of addresses from the 
 IEEE.

Yes, although folks can set the locally administered bit in the 6-byte MAC 
address instead of using globally administered addresses  vendor-assigned 
blocks from IEEE OUI...

Regards,
-- 
-Chuck

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Changing the MAC address on a LAN adapter

2011-01-24 Thread Da Rock

On 01/25/11 04:44, Fred wrote:

Da Rock wrote:

On 01/25/11 01:14, Paul B Mahol wrote:

On Sun, Jan 23, 2011 at 3:47 PM, John R. Levinejo...@iecc.com  wrote:

Is this a known problem?  As far as I know, it's supposed to work.

How you change MAC address? With ether command?

# ifconfig em0 ether 01:17:a4:8f:04:5d

Well, if it does not work it can be driver bug.

In iwn case try to set MAC address of iwn before creating wlan or
you will need to set same MAC on wlanX and iwn.
Actually I can confirm that. I use lagg for failover, and I remember 
now you have to set the 'real' interface to the MAC of the other lagg 
member, not a 'psuedo-device' or it won't work. Same principle 
applies here.


HTH
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
freebsd-questions-unsubscr...@freebsd.org




Ethernet MAC addresses are assigned by the manufacturer of the 
equipment.  Each unit gets a unique address which generally can't be 
changed and shouldn't be changed.  The manufacturer buys a block of 
addresses from the IEEE.


Best regards,
Fred
Yes, but for lagg to work both adapters need the same MAC- otherwise 
routing wouldn't work properly (long story short).


BTW, my wifi is iwn and I have had no trouble.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Changing the MAC address on a LAN adapter

2011-01-23 Thread Paul B Mahol
On Sun, Jan 23, 2011 at 3:38 AM, John Levine jo...@iecc.com wrote:
 My Lenovo laptop running 8.1 has two ordinary Intel network adapters,
 a wired PRO/1000 with the em driver and a WiFi PRO/Wireless 5300 with
 the iwn driver.  They work fine, but for either one if I use ifconfig
 to change the MAC address, the adapter won't actually work until I
 change the address back to the native one.  Typical symptoms are
 endless DHCP queries with no response.

 Is this a known problem?  As far as I know, it's supposed to work.

How you change MAC address? With ether command?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Changing the MAC address on a LAN adapter

2011-01-23 Thread John R. Levine

Is this a known problem?  As far as I know, it's supposed to work.


How you change MAC address? With ether command?


# ifconfig em0 ether 01:17:a4:8f:04:5d

Regards,
John Levine, jo...@iecc.com, Primary Perpetrator of The Internet for Dummies,
Please consider the environment before reading this e-mail. http://jl.ly___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

Changing the MAC address on a LAN adapter

2011-01-22 Thread John Levine
My Lenovo laptop running 8.1 has two ordinary Intel network adapters,
a wired PRO/1000 with the em driver and a WiFi PRO/Wireless 5300 with
the iwn driver.  They work fine, but for either one if I use ifconfig
to change the MAC address, the adapter won't actually work until I
change the address back to the native one.  Typical symptoms are
endless DHCP queries with no response.

Is this a known problem?  As far as I know, it's supposed to work.

R's,
John

PS: If you were wondering, obnoxious airport wifi that cuts you off
after an hour and won't let you back on until the next day, keyed by
MAC address.

em0: Intel(R) PRO/1000 Network Connection 7.0.5 port 0x1840-0x185f mem 
0xf260-0xf261,0xf2625000-0xf2625fff irq 20 at device 25.0 on pci0
em0: Using MSI interrupt

iwn0: Intel(R) PRO/Wireless 5300 mem 0xf250-0xf2501fff irq 17 at device 
0.0 on pci3
iwn0: MIMO 3T3R, MoW, address 00:21:6a:b5:18:48
iwn0: [ITHREAD]
iwn0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
iwn0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
iwn0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 
36Mbps 48Mbps 54Mbps
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org