1. 請問如何在SUSE11.1下面裝載FAST FW54U無線網卡的驅動。無線網卡的晶元為AR9271,linux內核是2.6.27.7。我
參考下這個網站最好。
http://wireless.kernel.org/en/users/Drivers/ath9k_htc
一般無線網卡想驅動使用的話包括三個部分的樣子 firmware mole wireless-tools
=====================================
1.firmware
從資料來看適合你的firmware 應給是這個
http://wireless.kernel.org/en/users/Drivers/ath9k_htc?action=AttachFile&do=view&target=ar9271.fw
或者這里找
http://git.kernel.org/?p=linux/kernel/git/dwmw2/linux-firmware.git;a=tree
將文件復制到 /lib/firmware/ 的樣子,
======================================
2.mole
mole獲得一般是獨立源代碼自己編譯,當前很多網卡驅動加入到了內核代碼裡面。
短時間,沒找到官方發布的源代碼。不過自查到的消息看 ≥2.6.27的內核應該有驅動了你需要
或者你可以在這里獲得驅動
Configuring your kernel
Enable these options in your kernel config.
CONFIG_ATH_COMMON=m
CONFIG_ATH9K_HW=m
CONFIG_ATH9K_COMMON=m
CONFIG_ATH9K_HTC=m
但是推薦內核
≥2.6.32
通過重編譯內核模塊,你應該就能獲得mole
-----------------------------------------------------------------------
或者你可以這里獲得驅動源代碼編譯
http://wireless.kernel.org/en/users/Download/stable/
編譯mole後cp到你的mole目錄
----------------------------------------------------------------------------
然後你可能需要
#depmod -a
#modprobe ath9k_htc (應該是這個 ath9k 和 ath9k_htc 不一樣的樣子,athk_htc是usb的ath9k是pci pci-e pcmcia的
還有可能需要
#mkinitrdfs -u 更新initrd 不太能確定是不是需要這個,對initrd不很了解,一般啟動時initrd應該會按配置文件自動載入mole
===============================================================
3
然後建議你安裝wireless-tools 包 應該是這個名字,不然你就zypper se wireless 找找看
然後zypper in wireless-tools
你可能需要安裝usb-modeswith
================================================
然後建議重啟系統看看效果。
應該可以的。
ps:
1.你的mole有可能系統最早就默認編譯好了最好先查看下你有沒有ath9k_htc
2.一般usb-modeswith suse11.3可能默認安裝了但11.1記憶中好像沒有。
3.多數firmware默認不安裝,有寫發行版網卡可能只要cp了那個就直接能用了,別的都直接裝好了。
4.當前不用suse不保證包名字准確
5.不用的發行版和不同的軟體安裝方式因為發行版自動配置的關系可能有些步驟不太一樣,我提供的是個比較通用的思路,向著這個方向走吧,還不行的地方再參考下別的資料。
2. kali linux安裝ar9271無線網卡驅動
你在電腦里安裝一個驅動人生就好啦,一鍵檢測無線網卡驅動,然後按照提示來操作就好了
3. 怎樣在cdlinux中添加spoonwep,spoonwpa等工具
安裝軟體包。
sudo dpkg -i jre6u1.deb
sudo dpkg -i aircrack-ng_1.0~rc3-1_i386.deb
sudo apt-get -f install
sudo dpkg -i spoonwep-wpa-rc3.deb
sudo chmod +x /usr/local/bin/wifispoonfeeder/spoonwep/侍數lib/sniff.sh
sudo gedit /usr/local/bin/wifispoonfeeder/spoonwep/lib/sniff.sh
找到如下文字
cd /usr/local/bin/wifispoonfeeder/spoonwep/tmp
在後面添加
ln -sf /usr/local/bin/wifispoonfeeder/spoonwep/tmp/wscapture-01.csv /usr/local/bin/wifispoonfeeder/spoonwep/tmp/wscapture-01.txt
sudo gedit /usr/local/bin/wifispoonfeeder/spoonwpa/lib/sniff.sh
找到如下文字
cd /usr/local/bin/wifispoonfeeder/spoonwpa/tmp
在後面添加
ln -sf /usr/local/bin/wifispoonfeeder/spoonwpa/tmp/wscapture-01.csv /usr/local/bin/wifispoonfeeder/spoonwpa/tmp/wscapture-01.txt
3. 所有工具安裝完畢後,破解步驟如下:
sudo ifconfig wlan0 up
sudo airmon-ng start wlan0 6
sudo spoonwep
在SPOONWEP SETTINGS裡面選擇WLAN0、NORMAL、UNKNOWN VICTIM,然後到VICTIMS DISCOVERY里執行LAUNCH即老薯首手世可進行搜索
由於Ubuntu 10.10帶了ar9271的驅動,因而就沒有必要安裝無線網卡的驅動程序了。
4. 求助,Linux下安裝RTL8723AE驅動的具體操作
Linux下安裝RTL8723AE驅動的具體操作
linux 編譯安裝驅動有兩種,動態載入與靜態載入 動態載入 一,編譯,在指點內核樹下編譯巧做枯,生成.o文件或.ko文件 二,將生成的.o或.ko文件拷到孝洞相應目錄,一般是/lib/mole/kernel下面 三,用insmod命令載入,用rmmod命令卸載 靜態載入 靜胡明態載入主
(終端下,要求root許可權,並要求聯網)
01 root許可權查看驅動 (開頭為$為普通許可權 #為超級用戶許可權)
02 03 04 都是在終端里顯示出來的
05 創建文件夾 ar9271
06 進入 ar9721 文件夾
07 在 git 上 同步代碼
08 類似於復制 或者 備份
09 下載驅動
10 解壓
5. linux 安裝無線網卡驅動,在網上找的辦法,看不懂。具體應該怎麼操作。比如下面說的方法
(終端下,要求root許可權,並要求聯網)
01 root許可權查看專驅動 (開頭為$為普通許可權 #為超級用戶許可權)
02 03 04 都是在屬終端里顯示出來的
05 創建文件夾 ar9271
06 進入 ar9721 文件夾
07 在 git 上 同步代碼
08 類似於復制 或者 備份
09 下載驅動
10 解壓
11 進入 compat-wireless-2010-10-04 文件夾
12 運行安裝程序
13 14 15 都是在終端里顯示出來的
說明已經 備份
6. 請教一些關於Athores新晶元ar9271的問題
Luis介紹的AR9271驅動開發情況八月 18th, 2009 efly Post in Linux驅動開發, 自由軟體 1.>What is the difference between the AR9271 and AR9170ar9271 uses a new Atheros MAC. ar9170 uses an old Zydas based MAC.As such they are different in many ways.2.>Is the AR9170 is able to drive the basis of making someadjustments and modifications in order to get the Linux driver AR9271?Some code could potentially be shared, but that is extremely minor.The hardware functionality and firmware interface is completey different.I am working on the ar9271 support. I already sent patches for ath9k for thisbut a driver core is missing. This driver core will be different though. Atthis point I'd like to ask for you patience as I try to get what I have released,even if it does not work. The idea is to make my tree public so I can receivehelp from the community to help complete the driver. At that point I look forwardto receiving patches from you.
7. linux 不識別usb無線網卡
網路一下驅動程序啊。硬體安裝以後都要在操作系統上安裝驅動程序的。
有些事通用硬體,系統自帶。
有些品牌通用性差或有特殊功能需要在網上下載該硬體設備的驅動程序。
8. ar9271 linux 驅動安裝
http://hi..com/kerving/blog/item/77be9b25f664eb23c8955986.html
你參考一下
9. linux 怎麼解決failed to update rate sets in kernel mole
Cybergibbons
Reverse engineer, hardware hacker, security analyst, lock picker, heist planner. Definitely not involved in the Hatton Garden job.
Search
Menu
SKIP TO CONTENT
HOME
ABOUT
BENEFITS
CONTACT
PGP KEY
Quick and easy fake WiFi access point in Kali
POSTED ON FEBRUARY 4, 2015 BY CYBERGIBBONS
I』m working on a project at the moment that requires me to observe traffic from an iOS/Android app to various external IPs.
The easiest way to do this is to setup a fake WiFi access point and use Wireshark to sniff the traffic. This is very easy in Kali Linux.
1. Connect the Kali box to the Internet
On my machine, this is as simple as connecting to my WiFi network 「DoingAJob5G」 using the built-in wireless card on my x220. I use the GUI provided with Kali.
Using ifconfig I can see that this adapter is called wlan0.
You could use wired Ethernet, then in all likelihood this will be eth0 instead.
2. Connect an external WiFi adapter that is supported by hostapd
I』m using a USB TP-LINK TL-WN722N which is using an Atheros AR9271 chipset. These are cheap (£8-£10), powerful and reliable.
I suspect many USB WiFi adapters are compatible with hostapd, unfortunately I can』t see a clear source documenting which ones.
Check it works by connecting to any network using Kali』s GUI. This will save you hassle later if there are any driver or hardware issues.
3. Bring up the new wireless interface.
Use ifconfig -a to see the new wireless interface name:
1
2
3
4
5
6
wlan3 Link encap:Ethernet HWaddr c0:4a:00:1e:64:fd
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Bring this up as the gateway for your new wireless network. I am using 10.0.0.1/24 simply to avoid any chance of confusion with my internal NATed 192.168.0.1/24 network.
1
2
3
4
5
6
7
8
9
root@kali:~# ifconfig wlan3 10.0.0.1/24 up
root@kali:~# ifconfig wlan3
wlan3 Link encap:Ethernet HWaddr c0:4a:00:1e:64:fd
inet addr:10.0.0.1 Bcast:10.0.0.255 Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
4. Configure and run DHCP and DNS services
DHCP assigns IP addresses when clients connect, and DNS provides resolution of names to IPs.
Most wireless clients expect DHCP by default, so it is convenient to run a DHCP server. You can manually set IP addresses, but it』s really easier to do DHCP.
Running our own DNS server means that we can easily intercept and alter DNS queries, which can assist in setting up man-in-the-middle attacks.
A piece of software called dnsmasq does both DHCP and DNS and is very simple to setup.
First, install dnsmasq:
1
apt-get install dnsmasq
Next, create a config file dnsmasq.conf as follows:
1
2
3
4
5
6
7
interface=wlan3
dhcp-range=10.0.0.10,10.0.0.250,12h
dhcp-option=3,10.0.0.1
dhcp-option=6,10.0.0.1
server=8.8.8.8
log-queries
log-dhcp
This is about as simple as it gets. Only listen on wlan3, our additional wireless adapter. Hand out DHCP addresses from 10.0.0.10-10.0.0.250. DHCP option 3 is the gateway, DHCP option 6 is the DNS server – both of these should be set to our wlan3 IP of 10.0.0.1. serverspecifies upstream DNS servers that will handle most DNS queries – I have provided Google』s DNS server of 8.8.8.8. Finally, log DNS queries and DHCP requests – this just makes it easier to check everything is working.
We also want to create a file fakehosts.conf to allow us to spoof certain DNS requests:
1
10.0.0.9 neohub.co.uk
This will cause the dnsmasq DNS server to respond with 10.0.0.9 to any request forneohub.co.uk.
We then need to bring dnsmasq up. I want it to run with output to stderr, so this is done as follows:
1
dnsmasq -C dnsmasq.conf -H fakehosts.conf -d
5. Configure and run hostapd
Next, we need to get our wireless adapter to run as a access point.
hostapd allows us to do this.
Install hostapd:
1
apt-get install hostapd
Create a config file hostapd.conf:
1
2
3
4
interface=wlan3
driver=nl80211
ssid=Kali-MITM
channel=1
Again – really simple. Use our additional wireless adapter wlan3 with the nl80211 drivers (which seem to cover pretty much all modern adapters than can be APs), set the SSID to Kali-MITM and set the channel to 1. There is no encryption etc. but I really don』t need or want it for sniffing traffic.
Then start hostapd:
1
2
3
4
root@kali:~# hostapd ./hostapd.conf
Configuration file: ./hostapd.conf
Failed to update rate sets in kernel mole
Using interface wlan3 with hwaddr c0:4a:00:1e:64:fd and ssid 'Kali-MITM'
6. Setup routing for the access point
You want a very simple setup at the moment – act as a basic NAT gateway between wlan3and wlan0.
Without going into any detail, the following commands will set this up:
1
2
3
sudo sysctl -w net.ipv4.ip_forward=1
sudo iptables -P FORWARD ACCEPT
sudo iptables --table nat -A POSTROUTING -o wlan0 -j MASQUERADE
At this stage, you should now be able to connect to Kali-MITM, get an IP address, and start using the Internet.
10. linux的kernel config在哪裡
第一步: 進入/usr/src目錄
第二步: make menuconfig,應該會出現配置界面了