caiwang / board2ihost

0 stars 0 forks source link

Wifi Module on Radxa Rock #35

Open caiwang opened 9 years ago

caiwang commented 9 years ago

Issue by caiwang Saturday Feb 28, 2015 at 11:30 GMT Originally opened as https://github.com/caiwang/ihostsrc/issues/35


Wifi module mode:

managed mode : working as a wireless station master mode : working as an access point monitor mode : working as a sniffer

ihost mode

base mode : BAS(Broadband Access Server) only plus mode : BAS and Hotspot

ihost & wifi

1, ihost in base mode : wifi chipset works in monitor mode (interface mon0) 2, ihost in plus mode : wifi chipset works in master mode (interface wlan0); there is a virtual interface (mon.wlan0) created by hotspot service (hostapd), packet sniffing is carried out on mon.wlan0

both monitor mode and master mode are needed; with managed mode as default

master mode only is acceptable : hotspot service starts up and keeps hidden from user. we can use mon.wlan0 for packet capture. deficiencies:1, channel occupied but not used; 2, mon.wlan0 seems less stable than mon0. it's a work-around anyway.

chipset on radxa

rtl8723 on radxa pro rtl8188etv on radxa lite

http://wiki.radxa.com/Rock/Wireless

For RR full version the output is

root@radxa:~# lsusb Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 002: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB Bus 002 Device 003: ID 0bda:0724 Realtek Semiconductor Corp.

on lite version, the output is:

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 002: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB Bus 002 Device 003: ID 0bda:0179 Realtek Semiconductor Corp The 0bda:0724 is the id of rtl8723 modlue, the 0bda:0179 is the id of rtl8188etv module.

doc

http://wiki.radxa.com/Rock/hardware_docs

Wifi/BT Module - BL-8723RB1 or RTL8188ETV (only has wifi) lb-link 8723rb1 realtek 8188etv

caiwang commented 9 years ago

Comment by caiwang Saturday Feb 28, 2015 at 11:30 GMT


Existing Linux Wireless drivers

https://wireless.wiki.kernel.org/en/users/Drivers?action=print

image image image

image image

Existing Linux Wireless drivers

http://www.linuxwireless.org/en/users/Drivers/ image image

RPi USB Wi-Fi Adapters

http://elinux.org/RPi_USB_Wi-Fi_Adapters

image image

caiwang commented 9 years ago

Comment by caiwang Saturday Feb 28, 2015 at 11:30 GMT


rtl8188 does not support monitor mode

but rtl8192 supports monitor mode

http://raspberrypi.stackexchange.com/questions/8578/enable-monitor-mode-in-rtl8188cus-realtek-wifi-usb-dongle

rtl8187 supports monitor mode http://blog.cvallance.net/?p=212#comment-28

caiwang commented 9 years ago

Comment by caiwang Saturday Feb 28, 2015 at 11:30 GMT


RTL8723AE does not support monitor mode

http://ubuntu.aspcode.net/view/635400140124705175660694/realtek-rtl8723ae-monitor-mode

caiwang commented 9 years ago

Comment by caiwang Saturday Feb 28, 2015 at 11:30 GMT


RTL8188 supports ap mode

http://www.jenssegers.be/blog/43/Realtek-RTL8188-based-access-point-on-Raspberry-Pi Realtek RTL8188 based access point on Raspberry Pi

http://blog.sip2serve.com/post/48420162196/howto-setup-rtl8188cus-on-rpi-as-an-access-point Howto setup RTL8188CUS on RPi as an Access Point.(8192cu driver)

http://www.raspberrypi.org/forums/viewtopic.php?f=46&t=25921&p=285160 wireless AP with hostapd and realtek chipset (works)

caiwang commented 9 years ago

Comment by caiwang Saturday Feb 28, 2015 at 11:31 GMT


AP mode(RR acts as wireless router)

http://wiki.radxa.com/Rock/Wireless/AP_mode_manually