3531ap熱點支援說明
make arch=armcross_compile=arm-hisiv100nptl-linux- menuconfig
第一步:
-*- networking support --->
-*- wireless --->
<*> cfg80211 - wireless configuration api
<*> generic ieee 802.11 networking stack(mac80211)
第二步:
device drivers --->
[*] network device support --->
[*] wireless lan --->
<*> ieee 802.11 for host ap (prism2/2.5/3 andwep/tkip/ccmp)
[*] support downloading firmware images withhost ap driver
[*] support for non-volatile firmwaredownload
ralink driver support --->
ralinkrt27xx/rt28xx/rt30xx (usb) support
[*] rt2800usb - include support for rt33xxdevices (new)
make arch=armcross_compile=arm-hisiv100nptl-linux- uimage
make arch=armcross_compile=arm-hisiv100nptl-linux- modules
核心生成目錄: arch/arm/boot/uimage
驅動生成拷貝到目錄下:
cp drivers/net/wireless/rt2x00/*.ko /lib/modules -rf
cp net/wireless/*.ko /lib/modules -rf
cp net/mac80211/*.ko /lib/modules –rf
韌體拷貝:
cp rt2870.bin /lib/firmware/ -rf
# cat s01udev
#!/bin/sh
mkdir /dev/pts
mount -t devpts devpts /dev/pts
echo /sbin/mdev >/proc/sys/kernel/hotplug
mdev -s
udevd --daemon
udevstart
vi /etc/myhostapd.conf
#hostapd的配置檔案: wpa/wpa2
ctrl_inte***ce=/var/run/hostapd
#change wlan0 to your wireless device
inte***ce=wlan0
driver=nl80211
ssid=cyl
channel=1
# 認證/加密方式
macaddr_acl=0
auth_algs=1
ignore_broadcast_ssid=0
wpa=3
wpa_passphrase=1234567890
wpa_key_mgmt=wpa-psk
wpa_pairwise=tkip
rsn_pairwise=ccmp
vi /etc/udhcpd.conf
# cat udhcpd.conf
# sample udhcpd configuration file(/etc/udhcpd.conf)
# the start and end of the ip lease block
start 192.168.1.10 #default: 192.168.0.20
end 192.168.1.50 #default: 192.168.0.254
# the inte***ce that udhcpd will use
inte***ce wlan0 #default: eth0
#examles
opt dns 8.8.8.8 8.8.4.4 # public google dns servers
option subnet 255.255.255.0
opt router 192.168.1.1
option lease 864000 # 10 days of
修改/etc/mdev.conf自動啟動ap模式
cat /etc/mdev.conf
wlan0 0:0 777 * /sbin/auto_wifi_ap.sh
cat /sbin/auto_wifi_ap.sh
#!/bin/sh
if [ $action = "add" ];
then
hostapd-b /etc/myhostapd.conf
ifconfig wlan0 192.168.1.1
udhcpd /etc/udhcpd.conf
else
killall hostapd
killall udhcpd
fi增加可執行許可權:
chmod +x auto_wifi_ap.sh
熱點的ap頻段哪個快 熱點ap頻段有什麼區別
熱點ap就是所謂手機wlan熱點,也就是將網際網路分享給其它具備wlan功能的裝置。手持裝置可作為無線路由器使用,將無線網路向外廣播,然後由其它具備wlan功能的裝置來接收。手持裝置將使用本身的資料聯機來執行此功能。wlan簡單來說就是無線區域網,具有無線區域網靈活性和移動性,簡單的點對點技術,基礎...
偽造無線AP熱點流程,DNS劫持
第二步 偽造ap 安裝無線網絡卡橋接包 apt get install bridge utils 新增網橋 brctl addbr bridge 先把連線網路的網絡卡新增到網橋裡面 brctl addif bridge eth0 eth0 是已經連線網路的網絡卡,可以是有線網絡卡或者無線網絡卡 把自...
Linux下把WIFI網絡卡設定成AP熱點
hostapd工具的移植 修改makefile 在第四行增加cc arm hisiv200 linux gcc 生成hostapd,複製到交叉編譯平台的 usr bin iptables 1.4.1.1工具的移植 linux下wifi工具網路 iptables交叉編譯,及其支援iptables使用的...