I finally got wifi connectivity at boot using the Handbook, man pages, the internet, and some very helpful members of the community, but I always get strange and annoying error messages at boot. First, I have ntp set to set the date and time, but it always complains about the hostname nor servname provided. I think it's because my wireless internet connects after my computer tries to update the time. Here is the actual error I see in the boot messages:
While the boot messages are appearing, this is what I see for my wireless connection. I don't know what it means when it says it "[needs] multicast update callback". As you can see I use the wpi driver that comes with FreeBSD 8
Then, as soon as the login prompt is available, more of these errors appear, so it looks like this:
...and I have to hit [ENTER] again before I can type in my login info. It's really annoying.
Here are the relevant files:
/boot/loader.conf:
Relevant parts of my /etc/rc.conf:
(where MYSSID is my wifi network's ssid, MY10DIGITKEY is the wep key, and MYHOST is the host name of this laptop.)
I hope someone here can make sense of these messages and help me get rid of them. The wireless internet seems to be working alright, although the max download speed is only 150Kbps, when in Linux or Windows it is usually ~175Kbps (perhaps because the wpi driver is so new and experimental), but I hate these error messages and am always afraid something is going wrong.
Thanks for any help,
Allamgir
Code:
Setting date via ntp.
Error : hostname nor servname provided, or not known
2 Dec 16:03:15 ntpdate[937]: can't find host north-america.pool.ntp.org
Error : hostname nor servname provided, or not known
2 Dec 16:03:15 ntpdate[937]: can't find host 0.freebsd.pool.ntp.org
Error : hostname nor servname provided, or not known
2 Dec 16:03:15 ntpdate[937]: can't find host 1.freebsd.pool.ntp.org
Error : hostname nor servname provided, or not known
2 Dec 16:03:15 ntpdate[937]: can't find host 2.freebsd.pool.ntp.org
2 De 16:03:15 ntpdate[937]: no servers can be used, exiting
While the boot messages are appearing, this is what I see for my wireless connection. I don't know what it means when it says it "[needs] multicast update callback". As you can see I use the wpi driver that comes with FreeBSD 8
Code:
wpi_newstate: SCAN -> AUTH flags 0x0
config chan 2 flags 8005 cck f ofdm 15
wpi_newstate: AUTH -> ASSOC flags 0x0
wpi_newstate: ASSOC -> RUN flags 0x0
config chan 2 flags 8035
wpi0: need multicast update callback
Then, as soon as the login prompt is available, more of these errors appear, so it looks like this:
Code:
login: wpi0: need multicast update callback
wpi0: need multicast update callback
...and I have to hit [ENTER] again before I can type in my login info. It's really annoying.
Here are the relevant files:
/boot/loader.conf:
Code:
if_wpi_load="YES"
wlan_scan_ap_load="YES"
wlan_scan_sta_load="YES"
wlan_wep_load="YES"
wlan_ccmp_load="YES"
wlan_tkip_load="YES"
autoboot_delay="1"
Relevant parts of my /etc/rc.conf:
Code:
# -- sysinstall generated deltas -- # Sat Nov 28 12:14:30 2009
sendmail_enable="YES"
ntpdate_flags="north-america.pool.ntp.org"
ntpdate_enable="YES"
rpcbind_enable="YES"
amd_enable="YES"
wlans_wpi0="wlan0"
ifconfig_wlan0="ssid MYSSID wepmode on weptxkey 1 wepkey 1:0xMY10DIGITKEY DHCP"
defaultrouter="192.168.1.254"
inetd_enable="YES"
hostname="MYHOST.example.com"
I hope someone here can make sense of these messages and help me get rid of them. The wireless internet seems to be working alright, although the max download speed is only 150Kbps, when in Linux or Windows it is usually ~175Kbps (perhaps because the wpi driver is so new and experimental), but I hate these error messages and am always afraid something is going wrong.
Thanks for any help,
Allamgir