Subject: Re: dhclient configuration
To: Peter Mancuso <unishell@hotmail.com>
From: Herb Peyerl <hpeyerl@beer.org>
List: netbsd-help
Date: 09/04/2001 12:04:41
"Peter Mancuso" <unishell@hotmail.com> wrote:
> Hello Marc,
>
> you need to know your machines ID on the network, once you do simply insert
> this line in /etc/dhclient.conf
>
> interface "rtk0"{
> send dhcp-client-identifier "xxxxxxxxx";
> }
>
> replace "rtk0" with your network device (dmesg|more and find it there if you
> do not know it) and replace xxxxxxx with your machines ID on the network.
Related to this, I'm having a problem whereby I have a 'dhclient.conf'
and it says:
interface "wi0" {
script "/etc/dhclient-wi0";
}
along with the dhclient-wi0 script:
#!/bin/sh
/usr/sbin/wiconfig wi0 -p 3 -t 11 -k blah -e 0
ifconfig wi0 up
When I run 'dhclient' manually, I get a "wi0: not found" even though
the script exists in /etc/dhclient-wi0, and is executable, and
works quite fine when run by itself...
Anyone seen this or know what I'm doing wrong? This is 1.5U
incidentally.