On Fri, Dec 14, 2012 at 02:46:33PM -0800, Chris H wrote: > > On Fri, Dec 14, 2012 at 12:11 PM, Chris H <chris#@1command.com> wrote: > > > >> > Greetings, > >> > I attempted another BSD install on another piece of hardware the > >> > other day. I'm evaluating a different ISP, and the gateway/router/modem > >> > they provided, has 1 ether, which I currently use on my server, and 1 > >> > USB(3) port that I had intended to use with the new install. Problem I > >> > ran into, was that BSD generates random (fake) MAC(3) addresses, when > >> > utilizing the CDCE(4)/ue0. This worked just fine during the install. > >> > But the modem "held" the MAC(3) generated during the install, and I > >> > now have no idea how to tell BSD to use that MAC(3) when negotiating > >> > with the modem. I had absolutely no difficulty assigning the MAC(3) > >> > address when spinning up several "live" Linux distro(s) -- they provide > >> > the following: > >> > su > >> > password: *** > >> > ifconfig eth1 down > >> > ifconfig eth0 hw ether ##:##:##:##:##:## > >> > dhclient eth0 > >> > blah, blah, blah > >> EDIT > >> those _should_ have all read "eth1" in the session quoted above. > >> Sorry. > >> > > >> > And I'm connected. > >> > Couldn't manage that with BSD. What must I do? Is it even possible? > >> > If so, can it be assigned for use on a permanent basis? > >> > > >> > Thank you for all your time, and consideration. > >> > >> > > http://lmgtfy.com/?q=freebsd+change+mac+address > > Further internet searches provided useless, incorrect information. > So, just for kicks, I spun up, and installed a copy PC-BSD-9. > The LXDE desktop provided a network applet that allowed to use > the hardware MAC(3), or one of my choosing. I chose my own. > But even that failed. So I attempted to use: > > # ifconfig ue0 ether ##:##:##:##:##:## > # ifconfig ue0 > ether ##:##:##:##:##:## > # dhclient ue0 > blah, blah, blah > # ping yahoo.com > 64 bytes from 98.138.253.109: icmp_seq=0 ttl=53 time=48.867 ms > 64 bytes from 98.138.253.109: icmp_seq=1 ttl=53 time=51.118 ms > 64 bytes from 98.138.253.109: icmp_seq=2 ttl=53 time=80.145 ms > 64 bytes from 98.138.253.109: icmp_seq=3 ttl=53 time=48.964 ms > > OK. So it is possible with BSD. Let's try to make it permanent! > adding any of the following attempts failed miserably: > ifconfig_ue0="ether ##:##:##:##:##:## DHCP" > > ifconfig_ue0="DHCP" > ifconfig_ue0_alias0="ether ##:##:##:##:##:##" > > So apparently it's not possible (for me) to accomplish this > with anything but Linux. Bummer, have used BSD exclusively > since the early 80's. Couldn't imagine having to use anything > else. :( > >
ifconfig_ue0="ether ##:##:##:##:##:##; DHCP" -- Mateusz Guzik <mjguzik gmail.com> _______________________________________________ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"