Charlie Schluting wrote:
Hi :)

/etc/rc.conf:
ifconfig_xl0="ether 00:11:11:11:11:11"
ifconfig_xl0="DHCP"

The above doesn't work..
I'm trying to set the mac, and then dhcp.. is this the correct way?

With this config, its not getting the mac assigned to xl0, so I have to stop dhclient, run "ifconfig ether 00:11:11:11:11:11" manually, then dhcp again.

I needed to do the exact thing so I could switch to replace dead NIC without having to involve my Cable company.

/etc/rc.conf:
ifconfig_xl0="DHCP"             # DHCP on external interface

The key was created /etc/start_if.xl0:
#!/bin/sh
#
# Needed to fake my MAC at Comcast
#
/sbin/ifconfig xl0 ether 00:80:c8:de:1a:50
/sbin/ifconfig xl0 up

Jim

--
/"\   ASCII Ribbon Campaign  .
\ / - NO HTML/RTF in e-mail  .
 X  - NO Word docs in e-mail .
/ \ -----------------------------------------------------------------
[EMAIL PROTECTED]      http://www.FreeBSD.org     The Power to Serve
[EMAIL PROTECTED]  http://www.TheHousleys.net
---------------------------------------------------------------------
A Microsoft Certified Systems Engineer is to computing what
    a McDonalds Certified Food Specialist is to fine cuisine.
      -- Jack O'Neill

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature



Reply via email to