Date: Thu, 22 Jun 2006 21:51:15 +1000 From: Mikhail Goriachev <mikhailg@webanoide.org> To: dick hoogendijk <dick@nagual.st> Cc: fbsdq <freebsd-questions@freebsd.org> Subject: Re: dhcp resolv.conf and loading priority of network cards Message-ID: <449A8433.7070100@webanoide.org> In-Reply-To: <20060622131443.598cd7ae.dick@nagual.st> References: <20060622131443.598cd7ae.dick@nagual.st>
next in thread | previous in thread | raw e-mail | index | archive | help
dick hoogendijk wrote: > 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 > Not sure about initialising interfaces in specific order but if you don't want to accept changes from a DHCP then: man dhclient.conf (look at supersede) Cheers, Mikhail. -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: mikhailg@webanoide.org Web: http://www.webanoide.org PGP Key ID: 0x4E148A3B PGP Key Fingerprint: D96B 7C14 79A5 8824 B99D 9562 F50E 2F5D 4E14 8A3B
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?449A8433.7070100>