看板 FreeBSD 關於我們 聯絡資訊
自問自答 我在kernel加入 device ral device ralfw device wlan device wlan_amrr device firmware 後重新compile 又在網路上找到其他說明 # ifconfig wlan0 create wlandev ral0 wlanmode hostap # ifconfig wlan0 inet 192.168.0.1 netmask 0xffffff00 ssid btest channel 11 freebsd 8.0之後 要用一個虛擬的介面出來 (說明http://forums.freebsd.org/showthread.php?t=8784) 這樣就可以work了 開機的話,就修改rc.conf rc.conf: wlans_ral0="wlan0" create_args_wlan0="wlanmode hostap mode 11g" ifconfig_wlan0="inet 192.168.0.1 netmask 0xffffff00 ssid btest channel 11" 不過又衍生出一個問題 isc-dhcp-server會對wlan0提供服務,但是因為wlan0在ral0上 所以isc-dhcp-server剛啟動會跳出關於ral0的warning message 但ral0上又不能設定IP address 不知道有什麼方法可以讓isc-dhcp-server不跳出這個warning ※ 引述《slinbody (不敗地球人)》之銘言: : 我用無線網卡想裝在freebsd 8.0 上 : 在官網上找支援的pci網卡 : http://www.freebsd.org/releases/8.1R/hardware.html#WLAN : 選定用型號GN-WP01GS 這張 : 插上去 重新弄kernel 可以看到有這張卡 : ral0: flags=8803<UP,BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 2290 : ether 00:16:e6:3c:f9:53 : media: IEEE 802.11 Wireless Ethernet autoselect mode 11b : status: associated : 當我要設定它的IP時 : #ifconfig ral0 10.77.77.254 netmask 255.255.255.0 : ifconfig: ioctl (SIOCAIFADDR): Invalid argument : 後來我在/etc/rc.conf中加入 : ifconfig_ral0="inet 10.77.77.254 netmask 255.255.255.0" : 開機都會跳出 : ral0: MAC/BBP RT2661B, RF RT2527 : ral0: [ITHREAD] : ral0: rt2661_load_microcode: timeout waiting for MCU to initialize : ral0: rt2661_init_locked: could not load 8051 microcode, error 5 : ral0: rt2661_load_microcode: timeout waiting for MCU to initialize : ral0: rt2661_init_locked: could not load 8051 microcode, error 5 : ral0: need multicast update callback : ral0: need multicast update callback : ral0: rt2661_load_microcode: timeout waiting for MCU to initialize : ral0: rt2661_init_locked: could not load 8051 microcode, error 5 : ral0: need multicast update callback : 黃色的字在man ral中有提到 : The onboard 8051 microcontroller unit failed to initialize in time. : 紅色的字在man ral中 : An error occurred while attempting to upload the microcode to the onboard : 8051 microcontroller unit. : Google也找不到解法 : 不知道有沒有人用過跟這張卡一樣晶片(Ralink系列) : 分享一下怎麼解決這些問題 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 112.105.91.245 ※ 編輯: slinbody 來自: 112.105.91.245 (04/03 19:05)