Thanks for FBSD6
Just a note to say thanks to all the hard working people who created FBSD6. I spent an annoying week trying to get some minimal lightweight Linux distros to work out of the box on an ancient laptop that I had lying around. They all had various problems, such as: unable to recognize/configure the wireless ethernet card, or the X server wouldn't come up properly. FBSD6 worked basically out of the box. I had to create a custom script in rc.d to get the wireless to work on boot, but that was about it. basically the meat of the script looks like: ifconfig ath0 ssid my wireless network dhclient ath0 if someone can tell me what /etc/rc.conf options i need to set to duplicate that, that would be cool. i played around with it for a while but never got it to work without my custom script. -jsd- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Thanks for FBSD6
Hi, On 12/7/05, Jon Drukman [EMAIL PROTECTED] wrote: Just a note to say thanks to all the hard working people who created FBSD6. I spent an annoying week trying to get some minimal lightweight Linux distros to work out of the box on an ancient laptop that I had lying around. They all had various problems, such as: unable to recognize/configure the wireless ethernet card, or the X server wouldn't come up properly. FBSD6 worked basically out of the box. I had to create a custom script in rc.d to get the wireless to work on boot, but that was about it. basically the meat of the script looks like: ifconfig ath0 ssid my wireless network dhclient ath0 if someone can tell me what /etc/rc.conf options i need to set to duplicate that, that would be cool. i played around with it for a while but never got it to work without my custom script. You can use in /etc/rc.conf: ifconfig_ath0=DHCP ssid your_ssid Read rc.conf(5) for more information. HTH Regards -jsd- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- There's this old saying: Give a man a fish, feed him for a day. Teach a man to fish, feed him for life. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Thanks for FBSD6
Dominique Goncalves wrote: basically the meat of the script looks like: ifconfig ath0 ssid my wireless network dhclient ath0 if someone can tell me what /etc/rc.conf options i need to set to duplicate that, that would be cool. i played around with it for a while but never got it to work without my custom script. You can use in /etc/rc.conf: ifconfig_ath0=DHCP ssid your_ssid That's FreeBSD 5.X and prior way of doing it. The suggested way to config your wirerless is with wpa_supplicant(8). In rc.conf add: wpa_suplicant_enable=YES ifconfig_ath0=DHCP and create wpa_supplicant.conf: network={ ssid=MyWireless mode=11g } The neat thing is that you can configure multiple networks and wpa_supplicant will try them in order. Note that dhclient was replaced with the new OpenBSD implementation in FBSD6, and wpa_supplicant introduced to handle association with wireless networks. Cheers, Erik -- Ph: +34.666334818 web: http://www.locolomo.org S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt Subject ID: A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9 Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Thanks for FBSD6
Erik Nørgaard wrote: and create wpa_supplicant.conf: network={ ssid=MyWireless mode=11g } ofcourse there are more options see wpa_supplicant.conf(5), I just now see that I've used 11g incorrectly. Well, another thing that maybe someone can highlight: Say you configure two (or more) networks, one uses dhcp the other static ip, or they use two different static ip's. How to go about that? Thanks, Erik -- Ph: +34.666334818 web: http://www.locolomo.org S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt Subject ID: A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9 Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Thanks for FBSD6
Dominique Goncalves wrote: You can use in /etc/rc.conf: ifconfig_ath0=DHCP ssid your_ssid That's FreeBSD 5.X and prior way of doing it. The suggested way to config your wirerless is with wpa_supplicant(8). In rc.conf add: According to this documentation http://www.freebsdmall.com/~loader/en_US.ISO8859-1/articles/wireless/article.html this syntax is ok on 6.0, but I don't know if the order of arguments have an importance. Yes, you're right, it works - I'm not sure of the order either. What doesn't work anymore is the ancient posibility of including these options in dhclient.conf However, wpa_supplicant is needed to handle encryption keys etc. And then comes the neat feature of supporting multiple networks. Cheers, Erik -- Ph: +34.666334818 web: http://www.locolomo.org S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt Subject ID: A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9 Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Thanks for FBSD6
You can use in /etc/rc.conf: ifconfig_ath0=DHCP ssid your_ssid That's FreeBSD 5.X and prior way of doing it. The suggested way to config your wirerless is with wpa_supplicant(8). In rc.conf add: wpa_suplicant_enable=YES ifconfig_ath0=DHCP and create wpa_supplicant.conf: network={ ssid=MyWireless mode=11g } According to this documentation http://www.freebsdmall.com/~loader/en_US.ISO8859-1/articles/wireless/article.html this syntax is ok on 6.0, but I don't know if the order of arguments have an importance. Regards. -- There's this old saying: Give a man a fish, feed him for a day. Teach a man to fish, feed him for life. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]