dhcp resolv.conf and loading priority of network cards

dick hoogendijk dick at nagual.st
Thu Jun 22 11:14:46 UTC 2006


I have tow nics: a re0 (cabled) and an ath0 (wifi) card. I want the
latter to use dhcp like this:

defaultrouter="192.168.11.1"
hostname="arwen.nagual.st"
ifconfig_re0="192.168.11.29 netmask 255.255.255.0"
ifconfig_ath0="dhcp ssid air01 nwkey 0xc1e1639b753021ab6d64be2575
hidessid authmode shared"

What happens is that the ath0 card gets loaded first (not wanted!) plus
the dhcp setting changes my resolv.conf (not wanted either).

How do I get this changed? re0 first, than my ath0 and NO changes to
resolv.conf?

System: freebsd-6.1R

-- 
dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 6.1 ++ The Power to Serve


More information about the freebsd-questions mailing list