|
http://www.hackerschool.org/HS_Boards/zboard.php?AllArticle=true&no=8 [복사]
결국 무선랜카드를 사게 되었습니다.
wlan0 으로 인식이 되더군요. 우분투 10.10에서요.
근데 문제는 저번에 올렸던 질문과 비슷했습니다. airmon-ng를 구동하게 되면 (예: #airmon-ng start wlan0) 이런식으로 메시지가 나온다고 했었죠..
Found 3 processes that could cause trouble.
If airodump-ng, aireplay-ng or airtun-ng stops working after
a short period of time, you may want to kill (some of) them!
PID Name
837 wpa_supplicant
6663 NetworkManager
6760 dhclient
아래 질문을 참조해보시면 어떤 질문인지 아실겁니다. mon0가 up되어 있고 kismet도 제대로 돌아가서 아무문제 없을 거라 생각했는데
aireplay-ng를 쓰면서 이상한 사항을 봤습니다. 채널이 고정되어 있다는거지요. -1로.
(예: #aireplay-ng -1 0 -e $SSID -a $BSSID -h $Attacker mon0)
만약 bssid의 채널은 1번인데 mon0의 채널은 -1이라서 구동을 할 수 없다는 메시지가 떴습니다. 현재 이 글을 쓰느라
인터넷에 연결해야 해서 오류메시지를 여기에다가 붙여넣기를 못했네요.
그래서
#iwconfig mon0 channel 1
명령어를 사용하여 채널을 바꾸어 주었는데도 여전히 같은 오류메시지를 나타내었습니다.
그래서-_-
인터넷을 검색해본 결과 위에 있는 프로세스가 채널을 고정시켜준다는 사실을 알았습니다.
"fixed channel" error message
If the top of your airodump screen looks something like:
CH 6 ][ Elapsed: 28 s ][ 2008-09-21 10:39 ][ fixed channel ath0: 1
Then this means you started started airodump-ng with a fixed channel parameter (-c / –channel) but some other process is changing the channel. “CH 6” on the left is the channel that was specified when airodump-ng was started. “fixed channel ath0: 1” on the right indicates that ath0 was used when airodump-ng was started but the interface is currently on channel 1 (instead of channel 6). You might also see this channel number changing indicating that channel scanning is taking place.
It is critical that the root cause of the problem be eliminated and then airodump-ng restarted again. Here are some possible reasons and how to correct them:
*
You have wpa_supplicant running at the same time. Stop wpa_supplicant.
*
You run airmon-ng to set the channel while airodump-ng is running. Do not do this.
*
You run another instance of airodump-ng in scanning mode or set to another channel. Stop airodump-ng and do not do this.
*
There is a known bug that affects recent versions of compat-wireless or wireless-testing drivers (shows channel as -1): http://trac.aircrack-ng.org/ticket/742
... 대충 이런 설명이었는데요. 전부 해결을 했는데 첫번째 문구인 wpa_supplicant가 문제였습니다.
다른 프로세스들은 서비스를 중지하면서 없앴는데 wpa_supplicant만큼은 없앨 수가 없더군요.
/etc/init.d에도 그런 파일은 없고 서비스에도 wpa_supplicant라는 서비스는 없었습니다.
이 프로세스만 없앤다면 aireplay-ng를 사용할 수 있을 것 같은데 wpa_supplicant를 멈추지 못해서 할 것도 많은데 하루종일 힘들어하고 있습니다.
제발 도와주세요 ㅠㅠ
kismet이나 airodump-ng를 사용할 때는 정상적으로 작동을 하지만 aireplay-ng부터 막히네요.
물론 aireplay-ng를 사용할 때는 kismet 과 airodump-ng를 멈추고 사용했습니다.(채널호핑때문에)
좀 글이 길어졌네요. 요약하자면 다음과 같습니다.
1.aireplay-ng를 사용하려면 채널을 설정해야 하는데 설정을 해도 채널은 고정값인 -1이 들어간다.(-1이라는 채널이 존재하는건지도모르그쎄네요)
2.채널고정을 없애려면 프로세스들을 죽여줘야 하는데 wpa_supplicant를 죽일 수가 없다. |
Hit : 6504 Date : 2011/04/06 07:51
|