나는 그것을 원한다이 카드액세스 포인트가 되었지만 실패했습니다. 다양한 Ubuntu 버전을 시도해보고 ARM과 i386을 확인했습니다. 제가 사용하고 있는 커널 버전은 2.6.35이고 네트워크 관리자가 없습니다.
/var/log/syslog
장치를 연결할 때 기록되는 로그 항목은 다음과 같습니다.
May 27 10:56:46 vab kernel: usb wakeup is here
May 27 10:56:46 vab kernel: ehci_fsl_bus_resume, Host 1
May 27 10:56:46 vab kernel: usb 2-1.2: new high speed USB device using fsl-ehci and address 8
May 27 10:56:47 vab kernel: usb 2-1.2: New USB device found, idVendor=0cf3, idProduct=9271
May 27 10:56:47 vab kernel: usb 2-1.2: New USB device strings: Mfr=16, Product=32, SerialNumber=48
May 27 10:56:47 vab kernel: usb 2-1.2: Product: WLAN
May 27 10:56:47 vab kernel: usb 2-1.2: Manufacturer: MVA1020
May 27 10:56:47 vab kernel: usb 2-1.2: SerialNumber: 12345
May 27 10:56:47 vab kernel: usb 2-1.2: ath9k_htc: Transferred FW: ar9271.fw, size: 51312
May 27 10:56:49 vab kernel: ath: EEPROM regdomain: 0x10
May 27 10:56:49 vab kernel: ath: EEPROM indicates we should expect a direct regpair map
May 27 10:56:49 vab kernel: ath: Country alpha2 being used: CO
May 27 10:56:49 vab kernel: ath: Regpair used: 0x10
May 27 10:56:49 vab kernel: Registered led device: ath9k-phy4::radio
May 27 10:56:49 vab kernel: Registered led device: ath9k-phy4::assoc
May 27 10:56:49 vab kernel: Registered led device: ath9k-phy4::tx
May 27 10:56:49 vab kernel: Registered led device: ath9k-phy4::rx
May 27 10:56:49 vab kernel: usb 2-1.2: ath9k_htc: USB layer initialized
hostapd
구성 파일:
$ cat config
interface=wlan0
driver=nl80211
ssid=test
channel=1
그리고 실행하세요:
$ sudo hostapd conf
Configuration file: conf
Failed to set interface wlan0 to master mode.
nl80211 driver initialization failed.
ELOOP: remaining socket: sock=5 eloop_data=0xa4a38 user_data=(nil) handler=0x3d2f8
출력 iw list
:
Wiphy phy4
Band 1:
Capabilities: 0x104e
HT20/HT40
SM Power Save disabled
RX HT40 SGI
No RX STBC
Max AMSDU length: 7935 bytes
DSSS/CCK HT40
Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
Minimum RX AMPDU time spacing: 8 usec (0x06)
HT TX/RX MCS rate indexes supported: 0-7
Frequencies:
* 2412 MHz [1] (27.0 dBm)
* 2417 MHz [2] (27.0 dBm)
* 2422 MHz [3] (27.0 dBm)
* 2427 MHz [4] (27.0 dBm)
* 2432 MHz [5] (27.0 dBm)
* 2437 MHz [6] (27.0 dBm)
* 2442 MHz [7] (27.0 dBm)
* 2447 MHz [8] (27.0 dBm)
* 2452 MHz [9] (27.0 dBm)
* 2457 MHz [10] (27.0 dBm)
* 2462 MHz [11] (27.0 dBm)
* 2467 MHz [12] (disabled)
* 2472 MHz [13] (disabled)
* 2484 MHz [14] (disabled)
Bitrates (non-HT):
* 1.0 Mbps
* 2.0 Mbps (short preamble supported)
* 5.5 Mbps (short preamble supported)
* 11.0 Mbps (short preamble supported)
* 6.0 Mbps
* 9.0 Mbps
* 12.0 Mbps
* 18.0 Mbps
* 24.0 Mbps
* 36.0 Mbps
* 48.0 Mbps
* 54.0 Mbps
max # scan SSIDs: 4
Supported interface modes:
* IBSS
* managed
* monitor
Supported commands:
* new_interface
* set_interface
* new_key
* new_beacon
* new_station
* set_bss
* authenticate
* associate
* deauthenticate
* disassociate
* join_ibss
* Unknown command (55)
* Unknown command (57)
* Unknown command (59)
* set_wiphy_netns
* Unknown command (65)
* connect
* disconnect
그러기 위해 나는 보고 싶다.AP 통신이 출력 에 나열됩니다 Supported interface modes
(Network Manager를 실행하는 Debian 7.0+ 데스크톱에 연결할 때).
답변1
가장 가능성이 높은 문제는 내 커널이 너무 오래되었다는 것입니다. 나는 이점을 취했다무선 도구와 호환 가능, 이는 새 무선 드라이버를 이전 커널로 백포트합니다. 해당 페이지에 표시된 최신 버전(3.6.x)을 얻었고 지침을 따랐더니 제대로 작동합니다...기쁩니다.