Re: ifconfig, wifi, and DHCP

Sam Leffler <[email protected]>
Newsgroups gmane.os.freebsd.devel.mobile
Organization FreeBSD Project
Message-ID <[email protected]>
Alphons "Fonz" van Werven wrote:
> [email protected] wrote:
>
>> ifconfig_wi0="dhcp ssid Oz"
> [snip]
>> Can I use this quoted phrase when I invoke ifconfig manually? I see ssid
>> documented on the man page for ifconfig, but not dhcp.
>
> It's not ifconfig that calls DHCP, it's the network startup script
> /etc/rc.d/netif. It's also this script that reads rc.conf,  not ifconfig.
>
> You can either call that script (which will call ifconfig AND DHCP for 
> you)
> or call BOTH ifconfig and DHCP manually.
>
> In the former case:
> # /etc/rc.d/netif start
> should bring up the network.
>
> In the latter case:
> # ifconfig wi0 up
> should bring up the network,
> # ifconfig wi0 ssid Oz (plus any additional arguments)
> should get you associated to the network and then
> # dhclient wi0
> should get you an IP address.
>
> The ifconfig invokations can usually be combined into one, but if you 
> don't
> call the netif script you'll have to invoke DHCP manually.

Actually, the problem is in the wi driver; it isn't properly integrated 
with the 802.11 layer so devd isn't receiving the necessary events to 
trigger starting dhclient.  Noone seems to care about the driver and 
it's hard to get worked up about 5 year old cards when a new one that 
does 11g can be had for US$20.

    Sam

_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-mobile
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.