802.11 w/ WEP requires deftxkey explicitly set after 2007-08-24
Tom Uffner
tom at uffner.com
Tue Nov 27 17:45:05 PST 2007
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
More information about the freebsd-current
mailing list