You can make a file /etc/start_if.wi0 which has the line

ifconfig ssid GISH mode auto wepmode on wepkey 0x1234567890

Keep ifconfig_wi0="DHCP" in /etc/rc.conf.  That should do it.




On Sunday 01 May 2005 07:35 pm, Kiffin Gish wrote:
> I want to use DHCP for my wireless connection by placing the following
> lines in my /etc/rc.conf file:
>
> ifconfig_wi0="DHCP"
> ifconfig_wi0="ssid GISH mode auto wepmode on wepkey 0x1234567890"
>
> I have also tried running sysinstall again and reconfiguring my wireless
> connection by answering 'yes' to DHCP.
>
> However, these do not work for some weird reason. When I login as root
> and run 'dhclient wi0' then all is a-okay.
>
> How can I have this happen automatically during boot without having
> manually to run this command as root everytime?
>
> Thanks alot in advance as usual.

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

Reply via email to