Re: Wireless Card and SSID
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 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Wireless Card and SSID
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. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Wireless Card and SSID
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, You really need to copy here exactly what you put in rc.conf and exactly what you type on the command line to set it up manually. From what you've said it's possible to assume you have two ifconfig_ath0= lines in rc.conf, and I don't think that would work. The latter would replace, not augment, the former. 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. That doesn't follow. Peter. -- the circle squared network systems and software http://www.circlesquared.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Wireless Card and SSID
Peter Risdon wrote: 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, You really need to copy here exactly what you put in rc.conf and exactly what you type on the command line to set it up manually. From what you've said it's possible to assume you have two ifconfig_ath0= lines in rc.conf, and I don't think that would work. The latter would replace, not augment, the former. 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. That doesn't follow. Peter. I'm in late on this have you tried: an /etc/rc.conf with ifconfig_ath0=DHCP and a /etc/dhclient.conf with something similar to interface ath0 { send dhcp-client-identifier YourHostName; media ssid YourSSID mode 11b channel 11 wepmode on wepkey 0xKeyHERE; request subnet-mask, broadcast-address, routers, domain-name-servers, domain-name, time-servers; } (mind the word wrap) HTH -- Regards, Eric ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Wireless Card and SSID
On Tue, 30 Nov 2004 04:41:47 +, Peter Risdon [EMAIL PROTECTED] wrote: 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, You really need to copy here exactly what you put in rc.conf and exactly what you type on the command line to set it up manually. From what you've said it's possible to assume you have two ifconfig_ath0= lines in rc.conf, and I don't think that would work. The latter would replace, not augment, the former. 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. That doesn't follow. Peter. -- the circle squared network systems and software http://www.circlesquared.com I fixed it. I saw another reply on here that said to make a /etc/start_if.ath0 startup script. That worked great. I am not sure why that wasn't documented anywhere. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]