Bugzilla – Bug 2716
sb3 can't connect to access point built in to bsd
Last modified: 2008-12-18 11:38:39 UTC
Customer reported, no known workaround yet. Does anyone have a system we could try this on? Report is as follows: Kevin Pearsall <support@slimdevices.com> writes: When you specify your encryption with bsd, does it create a multi-key index that you can choose 1 of 4 keys from? As far as I know it's a very basic 64 bit wep, with only one key given. There is an option to specify several keys, but I've only set one. If so which one is in use? Other than that, do you know if it's using open system or shared key authentication? Is there a way to toggle that? Actually I wasn't too sure - here's what my logs say for a successful association: Dec 14 21:42:28 skapet /bsd: ath0: sending assoc_resp to 00:04:20:06:16:83 on channel 6 Dec 14 21:47:36 skapet /bsd: ath0: received auth from 00:11:95:ca:e6:59 rssi 42 Dec 14 21:47:36 skapet /bsd: ath0: sending auth to 00:11:95:ca:e6:59 on channel 6 Dec 14 21:47:36 skapet /bsd: ath0: station 00:11:95:ca:e6:59 newly authenticated (open) Dec 14 21:47:36 skapet /bsd: ath0: received assoc_req from 00:11:95:ca:e6:59 rssi 38 Dec 14 21:47:36 skapet /bsd: ath0: sending assoc_resp to 00:11:95:ca:e6:59 on channel 6 so it must be open, then. Meanwhile the squeezebox seems to be looping: Dec 14 21:38:44 skapet /bsd: ath0: received auth from 00:04:20:06:16:83 rssi 8 Dec 14 21:38:44 skapet /bsd: ath0: sending auth to 00:04:20:06:16:83 on channel 6 Dec 14 21:38:44 skapet /bsd: ath0: station 00:04:20:06:16:83 newly authenticated (open) Dec 14 21:38:44 skapet /bsd: ath0: received assoc_req from 00:04:20:06:16:83 rssi 8 Dec 14 21:38:44 skapet /bsd: ath0: sending assoc_resp to 00:04:20:06:16:83 on channel 6 Dec 14 21:38:56 skapet /bsd: ath0: received auth from 00:04:20:06:16:83 rssi 18 Dec 14 21:38:56 skapet /bsd: ath0: sending auth to 00:04:20:06:16:83 on channel 6 Dec 14 21:38:56 skapet /bsd: ath0: station 00:04:20:06:16:83 newly authenticated (open) Dec 14 21:38:56 skapet /bsd: ath0: received assoc_req from 00:04:20:06:16:83 rssi 19 Dec 14 21:38:56 skapet /bsd: ath0: sending assoc_resp to 00:04:20:06:16:83 on channel 6 Dec 14 21:40:46 skapet /bsd: ath0: received auth from 00:04:20:06:16:83 rssi 19 Dec 14 21:40:46 skapet /bsd: ath0: sending auth to 00:04:20:06:16:83 on channel 6 Dec 14 21:40:46 skapet /bsd: ath0: station 00:04:20:06:16:83 newly authenticated (open) Dec 14 21:40:46 skapet /bsd: ath0: received assoc_req from 00:04:20:06:16:83 rssi 20 Dec 14 21:40:46 skapet /bsd: ath0: sending assoc_resp to 00:04:20:06:16:83 on channel 6 Dec 14 21:42:28 skapet /bsd: ath0: received auth from 00:04:20:06:16:83 rssi 18 Dec 14 21:42:28 skapet /bsd: ath0: sending auth to 00:04:20:06:16:83 on channel 6 Dec 14 21:42:28 skapet /bsd: ath0: station 00:04:20:06:16:83 newly authenticated (open) Dec 14 21:42:28 skapet /bsd: ath0: received assoc_req from 00:04:20:06:16:83 rssi 20 Dec 14 21:42:28 skapet /bsd: ath0: sending assoc_resp to 00:04:20:06:16:83 on channel 6 and it isn't happy with the IP address offered either: Dec 14 21:38:59 skapet dhcpd: DHCPDISCOVER from 00:04:20:06:16:83 via ath0 Dec 14 21:38:59 skapet dhcpd: DHCPOFFER on 10.168.103.9 to 00:04:20:06:16:83 via ath0 Dec 14 21:39:00 skapet dhcpd: DHCPDISCOVER from 00:04:20:06:16:83 via ath0 Dec 14 21:39:00 skapet dhcpd: DHCPOFFER on 10.168.103.9 to 00:04:20:06:16:83 via ath0 Dec 14 21:39:02 skapet dhcpd: DHCPDISCOVER from 00:04:20:06:16:83 via ath0 Dec 14 21:39:02 skapet dhcpd: DHCPOFFER on 10.168.103.9 to 00:04:20:06:16:83 via ath0 Dec 14 21:39:06 skapet dhcpd: DHCPDISCOVER from 00:04:20:06:16:83 via ath0 Dec 14 21:39:06 skapet dhcpd: DHCPOFFER on 10.168.103.9 to 00:04:20:06:16:83 via ath0 Dec 14 21:39:14 skapet dhcpd: DHCPDISCOVER from 00:04:20:06:16:83 via ath0 Dec 14 21:39:14 skapet dhcpd: DHCPOFFER on 10.168.103.9 to 00:04:20:06:16:83 via ath0 Dec 14 21:39:30 skapet dhcpd: DHCPDISCOVER from 00:04:20:06:16:83 via ath0 Dec 14 21:39:30 skapet dhcpd: DHCPOFFER on 10.168.103.9 to 00:04:20:06:16:83 via ath0 Dec 14 21:40:02 skapet dhcpd: DHCPDISCOVER from 00:04:20:06:16:83 via ath0 Dec 14 21:40:02 skapet dhcpd: DHCPOFFER on 10.168.103.9 to 00:04:20:06:16:83 via ath0 Dec 14 21:40:55 skapet dhcpd: DHCPDISCOVER from 00:04:20:06:16:83 via ath0 Dec 14 21:40:55 skapet dhcpd: DHCPOFFER on 10.168.103.9 to 00:04:20:06:16:83 via ath0 Dec 14 21:40:56 skapet dhcpd: DHCPDISCOVER from 00:04:20:06:16:83 via ath0 Dec 14 21:40:56 skapet dhcpd: DHCPOFFER on 10.168.103.9 to 00:04:20:06:16:83 via ath0 Dec 14 21:40:58 skapet dhcpd: DHCPDISCOVER from 00:04:20:06:16:83 via ath0 Dec 14 21:40:58 skapet dhcpd: DHCPOFFER on 10.168.103.9 to 00:04:20:06:16:83 via ath0 Dec 14 21:41:02 skapet dhcpd: DHCPDISCOVER from 00:04:20:06:16:83 via ath0 Dec 14 21:41:02 skapet dhcpd: DHCPOFFER on 10.168.103.9 to 00:04:20:06:16:83 via ath0 Dec 14 21:41:10 skapet dhcpd: DHCPDISCOVER from 00:04:20:06:16:83 via ath0 Dec 14 21:41:10 skapet dhcpd: DHCPOFFER on 10.168.103.9 to 00:04:20:06:16:83 via ath0 Dec 14 21:41:26 skapet dhcpd: DHCPDISCOVER from 00:04:20:06:16:83 via ath0 Dec 14 21:41:26 skapet dhcpd: DHCPOFFER on 10.168.103.9 to 00:04:20:06:16:83 via ath0 Dec 14 21:41:58 skapet dhcpd: DHCPDISCOVER from 00:04:20:06:16:83 via ath0 Dec 14 21:41:58 skapet dhcpd: DHCPOFFER on 10.168.103.9 to 00:04:20:06:16:83 via ath0 There's more from similar attempts earlier today in the logs I stored in accessible places on my gateway (http://bsdly.net/~peter/messages and http://bsdly.net/~peter/squeezeboxlog.txt - the last one is mainly a tcpdump sniffing for IEEE802_11_RADIO packets while I try to configure the squeezebox.
Need to know what driver and chipset is used. Do you have that information?
Is this the same as bug 1381?
more information on this issue. it's an atheros ar5212 apparently... the box in question is running OpenBSD-current from 24 July 2005. I really should have gotten around to updating, but the last few months have been really busy. Hopefully I get up to date sometime within the next week or so. the card in that box is a D-Link DWL-AG520, which shows up in dmesg as ath0 at pci1 dev 4 function 0 "Atheros AR5212" rev 0x01: irq 11 ath0: AR5212 5.6 phy 4.1 rf5111 1.7 rf2111 2.3, ETSI1W, address 00:0d:88:c8:a7:c4 with these commands fed to ifconfig via hostname.ath0: up media autoselect mediaopt hostap mode 11b chan 6 nwid kakemonster nwkey 0x4baadf00d2 inet 10.168.103.1 the machine is my home gateway, which also runs a tiny mail service for my vanity domains and acts as a slave name server for my domains. The list of currently installed packages (pkg_info output) is: arc-5.21e create & extract files from DOS .ARC files autoconf-2.13p0 automatically configure source code on many Un*x platforms autoconf-2.52p0 automatically configure source code on many Un*x platforms autoconf-2.57 automatically configure source code on many Un*x platforms autoconf-2.59 automatically configure source code on many Un*x platforms bash-2.05b-static GNU Bourne Again Shell bsd-airtools-0.2p2 wireless auditing suite bzip-0.21 block-sorting file compressor, encumbered bzip2-1.0.3 block-sorting file compressor, unencumbered c-client-4.61 University of Washington's c-client mail access routines clamav-0.86.1 free virus scanner curl-7.14.0 get files from FTP, Gopher, HTTP or HTTPS servers cvsup-16.1g-no_x11 network file distribution system dhcping-1.2 dhcp daemon ping program emacs-21.3 GNU editor: extensible, customizable, self documenting exim-4.44 Flexible mail transfer agent expat-1.95.6 XML 1.0 parser written in C fetchmail-6.2.4 mail retrieval utility for POP2, POP3, KPOP, IMAP and more freetds-0.62.4 project to document and implement the TDS protocol freetype-1.3.1p1 free and portable TrueType font rendering engine freeze-2.5 FREEZE / MELT compression program - often used in QNX gd-1.8.3 graphics library for fast PNG creation gdbm-1.8.3 GNU dbm gettext-0.10.40p1 GNU gettext glib-1.2.10 useful routines for C programming glib2-2.4.5 general-purpose utility library gmake-3.80 GNU make gmp-4.1.4 library for arbitrary precision arithmetic help2man-1.29 GNU help2man iodbc-2.50.3 ODBC 2.x driver manager john-1.6.37 extremely fast password cracker jpeg-6b IJG's JPEG compression utilities lha-1.14i.p0 archive files using LZW compression (.lzh files) libiconv-1.8 character set conversion library libltdl-1.5.8 GNU libtool system independent dlopen wrapper libmcrypt-2.5.5 interface to access block/stream encryption algorithms libtool-1.5.8 generic shared library support script libungif-4.1.0b1 tools and library routines for working with GIF images libxml-2.6.11 XML parsing library logsentry-1.1.1p1 logfile auditing tool lzo-1.08 portable speedy lossless data compression library lzop-1.01 fast file compressor similar to gzip mc-4.6.1pre1 free Norton Commander clone with many useful features metaauto-0.1 wrapper for gnu auto* mhash-0.9.1 strong hash library mtools-3.9.9.20030718 read/write/list/format DOS disks under Unix mutt-1.4.1i tty-based e-mail client mysql-client-4.0.20 multithreaded SQL database (client) ncftp-3.1.5p0 ftp replacement with advanced user interface ntp-4.1.1c network time protocol implementation ocaml-3.07pl2 ML language based on complete class-based objective system openldap-client-2.1.30 Open source LDAP software (client) p5-Archive-Tar-1.08 perl interface to tar archives p5-Archive-Zip-1.05 perl interface to ZIP files p5-Compress-Zlib-1.33 perl interface to the zlib compression library p5-Convert-TNEF-0.17 module to read TNEF files p5-Convert-UUlib-0.31 interface to the uulib library p5-Digest-HMAC-1.01 interface to HMAC Message-Digest Algorithms p5-Digest-SHA1-2.04 module to calculate SHA1 digests p5-HTML-Parser-3.35 modules to parse and extract information from HTML p5-HTML-Tagset-3.03 data tables useful for parsing HTML p5-IO-Zlib-1.01 IO:: style interface to Compress::Zlib p5-IO-stringy-2.108 in-core objects like strings and arrays for I/O p5-MIME-tools-5.411a modules for parsing (and creating!) MIME entities p5-Mail-SpamAssassin-3.0.4 mailfilter to identify and mark spam p5-Mail-Tools-1.15 modules for handling mail with perl p5-Net-DNS-0.45 module to interface the DNS resolver p5-Net-Server-0.87 extensible framework for Perl server engines p5-Term-ReadLine-Gnu-1.14 GNU Readline Library Wrapper Module p5-Term-Screen-1.02 positioning screen based module p5-Term-ScreenColor-1.09 screen positioning and coloring module p5-Unix-Syslog-0.97 interface to the UNIX system logger p5-XML-Parser-2.31 perl module for parsing XML documents pdflib-4.0.3 C library to produce PDF files pfm-1.92.2 personal file manager pfstat-1.7 packet filter statistics visualization pftop-0.4 curses-based real time state and rule display for pf php4-core-4.3.8 server-side HTML-embedded scripting language php4-mysql-4.3.8 mysql database access extensions for php4 pkgconfig-0.15.0 tool for managing library compile/link flags png-1.2.5p1 library for manipulating PNG images popt-1.7 getopt(3)-like library with a number of enhancements postgresql-client-7.4.3 PostgreSQL RDBMS (client) procmail-3.22 filtering local mail delivery agent recode-3.6p1 convert files between character sets and usages rsync-2.5.7 mirroring/synchronization over low bandwidth links sablotron-1.0.1 fast, compact and portable XSL/XSLT processor samba-2.2.10 SMB and CIFS client and server for UNIX t1lib-5.0.0 Type 1 rasterizer library for UNIX/X11 tcl-8.0.5 Tool Command Language tcl-8.3.5 Tool Command Language tcl-8.4.5 Tool Command Language tiff-3.5.7 tools and library routines for working with TIFF images tk-8.0.5 graphical toolkit for Tcl tk-8.3.5 graphical toolkit for Tcl tk-8.4.5 graphical toolkit for Tcl trafshow-3.1 full screen visualization of network traffic ucd-snmp-4.2.6 extendible SNMP implementation unarj-2.43 extract files from ARJ archives unison-2.9.1 multi-platform file synchronization tool unrar-3.30 extract, list, and test RAR archives unzip-5.51 extract, list & test files in a ZIP archive wget-1.8.2 retrieve files from the 'net via HTTP and FTP wordpress-1.2 standard compliant weblog zip-2.3 create/update ZIP files compatible with PKZip(tm) zoo-2.10.1 handle the old .ZOO archive format When I get the machine up with either OpenBSD 3.8-stable or 3.8-current I will take the time out to test the squeezebox as well. I am tending to think that it's an 11b vs 11g mode matter (the OpenBSD ath driver does not support 11g mode fully in the version I'm using on the gateway). I will report back when I unearth useful info.
also, i'd guess it's probably unrelated to bug 1381 since that specifically refers to madwifi, which is not in use in this case.
Actually, it may be related. These are both related to the atheros 5212 chip. (Which, ironically, is the same chip in SB2/3.) Keeping both open until we can test with the new driver in the sb.
Can you please try firmware 41 available in the nightly releases. In this version most of the wireless connectivity problems have been fixed. If you still are having problems please reopen this bug. Thanks.