ifconfig_wlan0=ifconfig xx.xx.xx.xx netmask xx.xx.xx.xx ssid myNWname mediaopt hostap
pciconf -lv
device = 'RTL8111/8168B PCI Express Gigabit Ethernet controller'
class = network
subclass = ethernet
class = network
rt28600@pci0:2:0:0: class=0x028000 card=0x27901814 chip=0x07811814 rev=0x00 hdr=0x00
vendor = 'Ralink corp.'
device = 'RT2860'
class = network
wlans_rt28600="wlan0"
create_args_wlan0="wlanmode hostap"
Ifconfig_wlan0="inet 192.168.1.1 netmask 255.255.255.0 ssid xxxxxxxxxxx mode 11g channel 7"
Code:#create_args_wlan0="wlanmode hostap"
wlans_rt28600="wlan0"
create_args_wlan0="wlanmode hostap"
Ifconfig_wlan0="inet 192.168.1.1 netmask 255.255.255.0 ssid xxxxxxxxxxx mode 11g channel 7"
[b]#hostapd_enable="YES"[/b]
gnoma said:Okay, this is useful info. If without encryption the system boots normally, load the driver and setup the interface in AP mode. My first suggestion would be that the problem is in the hostapd or the interface driver, not hardware. Would you be so kind to post the configuration of hostapd? And also if you are able to retrieve the dmesg from an unsuccessful boot that will be useful.
Thank you.
interface=wlan0
debug=1
ctrl_interface=/var/run/hostapad
ctrl_interface_group=wheel
ssid=concordfamily
wpa=2
wpa_passphrase=xxxxxxxxxxxxxx
wpa_key_mgmt=WPA-PSK
wpa_pairwise=CCMP TKIP
gnoma said:Hmm, I am sorry dude, but I don't see nothing wrong so far. It is really interesting for me if it is a bug or known problem, because I use a wi-fi card with the same chip and driver. I need to request some downtime to recreate the same situation, so I can see what's going wrong, but it will not happen the next 3 days.
kernel: uhub4: 8 ports with 8 removable, self powered
kernel: Root mount waiting for: usbus4
kernel: ugen4.2: <Ralink> at usbus4
kernel: run0: <1.0> on usbus4
kernel: run0: MAC/BBP RT3071 (rev 0x021C), RF RT3022 (MIMO 2T2R), address f4:6d:04:b1:f1:20
kernel: Root mount waiting for: usbus4
kernel: run0: firmware RT3071 loaded
kernel: ugen3.2: <APC> at usbus3
kernel: wlan0: Ethernet address: f4:6d:04:b1:f1:20
# wifi
wlans_run0="wlan0"
create_args_wlan0="wlanmode hostap ssid my_wifi authmode WPA"
ifconfig_wlan0="inet 192.168.3.1 netmask 255.255.255.0"
hostapd_enable="YES"
interface=wlan0
debug=1
ctrl_interface=/var/run/hostapd
ctrl_interface_group=wheel
ssid=my_wifi
wpa=3
wpa_passphrase=MyPass1234
wpa_key_mgmt=WPA-PSK
wpa_pairwise=CCMP
kernel boot file is /boot/kernel/kernel
Fatal trap 12: page fault while in kernel mode
cpuid = 1; apic id = 01
fault virtual address = 0xffffff8000ab1a68
fault code = supervisor read data, page not present
instruction pointer = 0x20:0xffffffff80532793
stack pointer = 0x28:0xffffff8122d1bad0
frame pointer = 0x28:0xffffff8122d1bb10
code segment = base 0x0, limit 0xfffff, type 0x1b
= DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags = interrupt enabled, resume, IOPL = 0
current process = 0 (run0 taskq)
trap number = 12
panic: page fault
cpuid = 1
KDB: stack backtrace:
#0 0xffffffff806225de at kdb_backtrace+0x5e
#1 0xffffffff805f04d7 at panic+0x187
#2 0xffffffff80921ef0 at trap_fatal+0x290
#3 0xffffffff809222cf at trap_pfault+0x28f
#4 0xffffffff809227af at trap+0x3df
#5 0xffffffff8090a8a4 at calltrap+0x8
#6 0xffffffff805378f3 at run_ratectl_cb+0x73
#7 0xffffffff8062d665 at taskqueue_run_locked+0x85
#8 0xffffffff8062d7fe at taskqueue_thread_loop+0x4e
#9 0xffffffff805c6cc8 at fork_exit+0x118
#10 0xffffffff8090ad6e at fork_trampoline+0xe
Uptime: 1d9h11m24s
Cannot dump. Device not defined or unavailable.
Automatic reboot in 15 seconds - press a key on the console to abort
panic: bufwrite: buffer is not busy???
cpuid = 1
Copyright (c) 1992-2011 The FreeBSD Project.
FreeBSD 8.2-RELEASE #11: Wed Feb 15 21:38:13 MSK 2012