run a command on startup



i have a box that my nic's eeprom got zapped last night. WOL is a must for
me, and as a last ditch, i finally have the card talking again if i set a mac
address manually. upon shutdown, apparently it remember the address i set,
and answers to a WOL packet. also, it appears to immediately forget the mac
that was set when the computer starts, because when i get back to the login,
the ifconfig shows the mac to be 00:00:00:00:00:00 again, and i have
to 'ifconfig fxp0 ether [mad address]' after each boot.

where can i stick that command so its run during boot up, maybe preferable
before the network configuration is loaded?

strangely enough, even when the mac address is 00's, i can still ping around
my lan (i didnt think this was possible without a mac address)

thanks,
jonathan

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



Relevant Pages

  • Re: WOL security issue
    ... If a host wants to know the MAC address of another system in the same broadcast domain, it sends an ARP request, and the destination host responds with its MAC address. ... Although you normally would only see your own unicast traffic, broadcasts, multicasts, and the occasional unicast packet flooded by the switch because it had not yet learned which port the destination device resided on, it is possible to see "all" of the traffic the switch handles. ... WOL itself is not a security issue. ...
    (alt.internet.wireless)
  • Re: [opensuse] WOL wont use files
    ... I supply the mac address as part of the command, ... I've tried both wol -f filename and wol ... MAC host port password ...
    (SuSE)
  • Re: WAKE ON LAN tool
    ... This gets the mac addresses from the WHS infrastructure somehow. ... The Magic Packet program builds a list of all LAN workstations and their associated IP and MAC addresses. ... I have found several WOL tools but you have to manully look up the MAC address of the computers on the DHCP snap in and then manully type it on the WOL tool. ...
    (microsoft.public.windows.server.sbs)
  • Re: forcedeth - WOL [SOLVED]
    ... you might just reverse the MAC address in ... NIC thing to manage all the work about WOL. ... But seeing this - one packet for windows and one magic packet for linux ... Are you saying that byte-reversing the MAC address make WOL work correctly? ...
    (Linux-Kernel)
  • Re: Need help to install OS9 on a mac that use to but now cant - post OSX.5
    ... "installed" os9 to boot the install program which of course can not be ... and no happy mac. ... Then start up the computer again, holding down the 'C' key to boot from ...
    (comp.sys.mac.system)