Re: Wireless Card and SSID
From: Daan Vreeken [PA4DAN] (Danovitsch_at_vitsch.net)
Date: 11/30/04
- Previous message: Richard Williamson: "sio0/sio1 swap"
- In reply to: RL: "Wireless Card and SSID"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: RL <rlurman@gmail.com> Date: Tue, 30 Nov 2004 11:59:50 +0100
On Monday 29 November 2004 23:51, RL wrote:
> Sending again... I really need to solve this.
>
> I have a Netgear WAG511 PC Card and am using the ath driver. In my
> /etc/rc.conf I have ath0 to use DHCP and also I have:
> ifconfig_ath0="ssid myssid". Now, I can set this all up manually
> using ifconfig and it works till I reboot. When I set it in my rc.conf
> and I boot it up, I get "ath0: association failed (reason 12) for
> 00:0f:66:02..." flash on my screen one right after another. And when I
> do ifconfig, it shows no IP address NOR the ssid I set. For some
> reason it doesn't see the SSID or DHCP I set up in rc.conf.
You can't combine "use DHCP" and "use this SSID" in /etc/rc.conf .
To do both, you need to create a startup script that sets the interface
options (ssid / wep key / etc) and then just set /etc/rc.conf to use DHCP.
In /etc/rc.conf put this :
ifconfig_ath0="DHCP"
Then place this in a file called /etc/start_if.ath0 :
ifconfig ath0 ssid "some network" wepmode on wepkey 0x1234567890123
--- end of /etc/start_if.ath0 ---
The RC scripts will now first execute /etc/start_if.ath0 on boot, and then try
to get an ip address on the interface with dhclient.
grtz,
Daan
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
- Previous message: Richard Williamson: "sio0/sio1 swap"
- In reply to: RL: "Wireless Card and SSID"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|