From owner-freebsd-current@FreeBSD.ORG Wed Nov 28 01:45:05 2007 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 38F7116A41A for ; Wed, 28 Nov 2007 01:45:05 +0000 (UTC) (envelope-from tom@uffner.com) Received: from eris.uffner.com (eris.uffner.com [207.245.121.212]) by mx1.freebsd.org (Postfix) with ESMTP id E389013C45D for ; Wed, 28 Nov 2007 01:45:04 +0000 (UTC) (envelope-from tom@uffner.com) Received: from xiombarg.uffner.com (static-71-162-143-94.phlapa.fios.verizon.net [71.162.143.94]) by eris.uffner.com (8.14.1/8.14.1) with ESMTP id lAS1j38p036876 for ; Tue, 27 Nov 2007 20:45:03 -0500 (EST) (envelope-from tom@uffner.com) Message-ID: <474CC81F.2070408@uffner.com> Date: Tue, 27 Nov 2007 20:45:03 -0500 From: Tom Uffner User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.1.9) Gecko/20071113 SeaMonkey/1.1.6 MIME-Version: 1.0 To: current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (eris.uffner.com [192.168.1.212]); Tue, 27 Nov 2007 20:45:04 -0500 (EST) X-Virus-Scanned: ClamAV 0.91.2/4921/Mon Nov 26 05:21:29 2007 on eris.uffner.com X-Virus-Status: Clean Cc: Subject: Re: 802.11 w/ WEP requires deftxkey explicitly set after 2007-08-24 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Nov 2007 01:45:05 -0000 Sam Leffler wrote: > deftxkey has defaulted to an undefined state since 6.0. Perhaps you can > show the specific case that is a regression for you. Sony Vaio PCG-XG9 Netgear WG511T from rc.conf: ifconfig_ath0="DHCP ssid Doke wepmode mixed wepkey 0x2718281828" with kernels prior to 2007-08-24 15:44:27 UTC the above config was sufficient to associate with AP defined above using WEP, get an address, etc. assigned by my dhcp server, and use the network. with kernels after that time i could see all traffic crossing the AP with tcpdump, but nobody received my packets. once i found the breaking point, i figured out that adding "deftxkey 1" to ifconfig_ath0 solved my problem for newer kernels. /boot/loader.conf: random_load="YES" if_ath_load="YES" wlan_wep_load="YES" wlan_ccmp_load="YES" wlan_tkip_load="YES" io_load="YES" mem_load="YES" sound_load="YES" snd_ds1_load="YES" sio_load="YES" ucom_load="YES" uplcom_load="YES" wlan_scan_sta_load="YES" debug.acpi.disable="timer" debug.witness.watch="0" exec="set boot_verbose" /sys/i386/conf/KALI: cpu I686_CPU ident KALI maxusers 0 makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols options SCHED_4BSD options PREEMPTION # Enable kernel thread preemption options INET #InterNETworking options FFS #Berkeley Fast Filesystem options SOFTUPDATES #Enable FFS soft updates support options UFS_ACL #Support for access control lists options UFS_DIRHASH #Improve performance on big directories options MD_ROOT #MD is a potential root device #options MSDOSFS #MSDOS Filesystem options CD9660 #ISO 9660 Filesystem options PROCFS # Process filesystem (requires PSEUDOFS) options PSEUDOFS # Pseudo-filesystem framework options GEOM_PART_GPT # GUID Partition Tables. options GEOM_LABEL # Provides labelization options COMPAT_43TTY # BSD 4.3 TTY compat [KEEP THIS!] options COMPAT_FREEBSD6 #Compatible with FreeBSD4 options KTRACE #ktrace(1) support options SYSVSHM #SYSV-style shared memory options SYSVMSG #SYSV-style message queues options SYSVSEM #SYSV-style semaphores options _KPOSIX_PRIORITY_SCHEDULING options KBD_INSTALL_CDEV # install a CDEV entry in /dev options ADAPTIVE_GIANT # Giant mutex is adaptive. options STOP_NMI # Stop CPUS using NMI instead of IPI # Debugging for use in -current options KDB #Enable the kernel debugger options DDB #Enable the kernel debugger #device isa device eisa device pci # Floppy drives device fdc # ATA and ATAPI devices device ata device atadisk # ATA disk drives device atapicd # ATAPI CDROM drives options ATA_STATIC_ID #Static device numbering # atkbdc0 controls both the keyboard and the PS/2 mouse device atkbdc # At keyboard controller device atkbd # at keyboard device psm # psm mouse device kbdmux # keyboard multiplexer device vga # VGA screen # splash screen/screen saver device splash # syscons is the default console driver, resembling an SCO console device sc device agp # support several AGP chipsets # Power management support (see NOTES for more options) device apm # Add suspend/resume support for the i8254. device pmtimer # PCCARD (PCMCIA) support device cbb # cardbus (yenta) bridge device pccard # PC Card (16-bit) bus device cardbus # CardBus (32-bit) bus # Serial (COM) ports #device sio # 8250, 16[45]50 based serial ports # Parallel port device ppc device ppbus # Parallel port bus (required) #device lpt # Printer #device plip # TCP/IP over parallel #device ppi # Parallel port interface device # PCI Ethernet NICs that use the common MII bus controller code. # NOTE: Be sure to keep the 'device miibus' line in order to use these NICs! device miibus # MII bus support #device ed # NE[12]000, SMC Ultra, 3c503, DS8390 cards # Pseudo devices - the number indicates how many units to allocate. device loop # Network loopback device ether # Ethernet support device pty # Pseudo-ttys (telnet etc) device md # Memory "disks" device firmware # firmware assist module # The `bpf' device enables the Berkeley Packet Filter. # Be aware of the administrative consequences of enabling this! device bpf # Berkeley packet filter # USB support device uhci # UHCI PCI->USB interface device usb # USB Bus (required) device ugen # Generic #device uplcom # USB support for Prolific PL-2303/2303X/2303HX #device ucom # USB tty support device uhid # "Human Interface Devices" device ukbd # Keyboard device ulpt # Printer device ums # Mouse options SC_HISTORY_SIZE=800 # number of history buffer lines options SC_NORM_ATTR="(FG_GREEN|BG_BLACK)" device spic