Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[WIFI] Przestawienie Intel 4965AGN w tryb monitoringu
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish) Instalacja i sprzęt
View previous topic :: View next topic  
Author Message
Wielebny
Tux's lil' helper
Tux's lil' helper


Joined: 12 Nov 2006
Posts: 142
Location: Bydgoszcz

PostPosted: Sun Jun 22, 2008 2:59 am    Post subject: [WIFI] Przestawienie Intel 4965AGN w tryb monitoringu Reply with quote

Potrzebuje przestawić karte w tryb monitoringu tak aby móc popracować w pełni na kismet oraz airodump-ng lecz przy zwykłym przesatwieniu :
Code:
iwconfig wlan0 mode monitor
airodump-ng wskazuje mi wartoś PWR -1 i nie zczytuje wektorów sieci wifi. wiec zgodnie z opisami z dokumentacji airodump-ng
wiem iż w sony vaio karta wifi intel 4965AGN pracuje na module iwl4965 z którym mogą być problemy z przejsciem w monitoring pełny i poprawny
błąd jest taki :
Code:

airmon-ng start wlan0
Interface       Chipset         Driver
 
 wlan0                   iwl4965 - [phy0]/usr/sbin/airmon-ng: line 338: /sys/class/ieee80211/phy0/add_iface: Permission denied
                                 mon0: unknown interface: No matching device found
                                 (monitor mode enabled on mon0)


Opis tego jest tutaj -> http://aircrack-ng.org/doku.php?id=install_drivers#mac802.11_versus_ieee802.11_stacks

Zaś tu http://aircrack-ng.org/doku.php?id=mac80211
napisane jest iż może pomóc załadowanie Latin SuD fragmentation patch dla kernela (2.6.24 and 2.6.25).
i ten patch wygląda tak :
Code:

# Patch to prevent mac80211 to clobber injected sequence numbers
diff -bBur linux-2.6.24.4/net/mac80211/tx.c linux-2.6.24.4-sud/net/mac80211/tx.c
--- linux-2.6.24.4/net/mac80211/tx.c   2008-01-24 23:58:37.000000000 +0100
+++ linux-2.6.24.4-sud/net/mac80211/tx.c   2008-04-05 16:43:19.000000000 +0200
@@ -281,6 +281,9 @@
 {
    struct ieee80211_hdr *hdr = (struct ieee80211_hdr *)tx->skb->data;
 
+   if (unlikely(tx->flags & IEEE80211_TXRXD_TX_INJECTED))
+      return TXRX_CONTINUE;
+
    if (ieee80211_get_hdrlen(le16_to_cpu(hdr->frame_control)) >= 24)
       ieee80211_include_sequence(tx->sdata, hdr);




Ale czy ktoś mi może wytłumaczyć jak sie taki patch ładuje (mam jajko 2.6.24 r8 gentoo linux)??
Może ktos z was już walczył z tą kartą w swoim laptopie??
_________________
Gentoo na razie mnie pokonuje ale walcze


Last edited by Wielebny on Sun Jun 22, 2008 11:48 am; edited 2 times in total
Back to top
View user's profile Send private message
Poe
Bodhisattva
Bodhisattva


Joined: 03 Apr 2004
Posts: 2155
Location: Mysłowice/Lublin, Poland

PostPosted: Sun Jun 22, 2008 11:19 am    Post subject: Reply with quote

ptachujesz bardzo prosto, dajesz patcha do katalogu ze źródłami i w tymże katalogu wydajesz polecenie
Code:

patch -p0 >> nazwa_patcha

(albo <<, teraz już mi się myli).
powinno Ci się założyć bez problemów. sprawdz czy przy patchowaniu nie wywala ci jakiś plików z końcówką *.rej
_________________
Hardware:HP Pavilion DV6875SE[C2DT5550@1.83GHz_3GB-DDR2_320GB-SATA_GF8400GS]
http://popularcoffee.blogspot.com - Popkulturowa Kawa
RLU#342333
Back to top
View user's profile Send private message
SlashBeast
Retired Dev
Retired Dev


Joined: 23 May 2006
Posts: 2922

PostPosted: Sun Jun 22, 2008 11:51 am    Post subject: Reply with quote

patch -p1 < nazwa.patch
Back to top
View user's profile Send private message
Wielebny
Tux's lil' helper
Tux's lil' helper


Joined: 12 Nov 2006
Posts: 142
Location: Bydgoszcz

PostPosted: Sun Jun 22, 2008 1:49 pm    Post subject: Reply with quote

Chyba nic z tego nie będzie :oops: bo jak na razie dla tej karty nie ma pełnej obsługi monitoringu i wyciągania danych z sicie wajfaj.
dowody:

http://tinyshell.be/aircrackng/forum/index.php?topic=3413.0
oraz
http://tinyshell.be/aircrackng/forum/index.php?topic=3598.0

Smutek i nostalgia mnie ogarnia :cry:
_________________
Gentoo na razie mnie pokonuje ale walcze
Back to top
View user's profile Send private message
Poe
Bodhisattva
Bodhisattva


Joined: 03 Apr 2004
Posts: 2155
Location: Mysłowice/Lublin, Poland

PostPosted: Sun Jun 22, 2008 5:27 pm    Post subject: Reply with quote

SlashBeast wrote:
patch -p1 < nazwa.patch

racja, pozajączkowało mi się.
_________________
Hardware:HP Pavilion DV6875SE[C2DT5550@1.83GHz_3GB-DDR2_320GB-SATA_GF8400GS]
http://popularcoffee.blogspot.com - Popkulturowa Kawa
RLU#342333
Back to top
View user's profile Send private message
Dagger
Retired Dev
Retired Dev


Joined: 11 Jun 2003
Posts: 765
Location: UK

PostPosted: Mon Jun 23, 2008 10:46 am    Post subject: Reply with quote

Moze odrobine off-topic, ale dla wszystkich ktorzy posiadaja Intel 4965 sporo ciekawych rzeczy pojawi sie w 2.6.26. Dla zainteresowanych wrzucilem na swoj server kilka backportow - http://patches.piasek.co.uk

Te patche zawieraja porawki do wielu sterownikow kart bezprzewodowych (nie tylko intel).

Zmiany to (Intel 4965):
W koncu (po ponad roku oczekiwan) obsluga LED
SCAN capability (sieci z hidden SSID)

inne:
Mesh networking

PS
co do Twojego watku to zerkni tutaj
_________________
95% of all computer errors occur between chair and keyboard (TM)
Join the FSF as an Associate Member!
Post under CC license.
Back to top
View user's profile Send private message
Wielebny
Tux's lil' helper
Tux's lil' helper


Joined: 12 Nov 2006
Posts: 142
Location: Bydgoszcz

PostPosted: Tue Jun 24, 2008 9:43 pm    Post subject: Reply with quote

A ktoś w ogóle wie kiedy 2.6.26 będzie w portage bo właśnie sprawdzałem po emerge --sync i jest nadal jedynie 2.6.24-r8 zaś na [url]kernel.org[/url] już widać pierwsze jajko 2.6.26 .
_________________
Gentoo na razie mnie pokonuje ale walcze
Back to top
View user's profile Send private message
Arfrever
Bodhisattva
Bodhisattva


Joined: 29 Apr 2006
Posts: 2463
Location: 異世界

PostPosted: Wed Jun 25, 2008 8:05 am    Post subject: Reply with quote

Wielebny wrote:
właśnie sprawdzałem po emerge --sync i jest nadal jedynie 2.6.24-r8


Nieprawda. Naucz się używać ACCEPT_KEYWORDS i/lub package.keywords :lol: .
Back to top
View user's profile Send private message
Dagger
Retired Dev
Retired Dev


Joined: 11 Jun 2003
Posts: 765
Location: UK

PostPosted: Wed Jun 25, 2008 8:25 am    Post subject: Reply with quote

Wielebny wrote:
A ktoś w ogóle wie kiedy 2.6.26 będzie w portage bo właśnie sprawdzałem po emerge --sync i jest nadal jedynie 2.6.24-r8 zaś na [url]kernel.org[/url] już widać pierwsze jajko 2.6.26 .

Nie wiem co masz na mysli. 2.6.25 i 2.6.26rc sa w portage od dosc dawna. Moze sprawdzasz tylko "stabilne" wersje.

paludis -q gentoo-sources
Code:

* sys-kernel/gentoo-sources
    gentoo:                  2.6.16-r13 {:2.6.16-r13} 2.6.19-r5 {:2.6.19-r5} 2.6.20-r10 {:2.6.20-r10} 2.6.22-r10 {:2.6.22-r10} 2.6.23-r9 {:2.6.23-r9} 2.6.24 {:2.6.24} 2.6.24-r1 {:2.6.24-r1} 2.6.24-r2 {:2.6.24-r2} 2.6.24-r3 {:2.6.24-r3} 2.6.24-r4 {:2.6.24-r4} 2.6.24-r5 {:2.6.24-r5} 2.6.24-r6 {:2.6.24-r6} 2.6.24-r7 {:2.6.24-r7} 2.6.24-r8 {:2.6.24-r8} 2.6.25 {:2.6.25} 2.6.25-r1 {:2.6.25-r1} 2.6.25-r2 {:2.6.25-r2} 2.6.25-r3 {:2.6.25-r3} 2.6.25-r4 {:2.6.25-r4} 2.6.25-r5 {:2.6.25-r5}
    installed:               2.6.25-r4 {:2.6.25-r4} 2.6.25-r5* {:2.6.25-r5}
    Description:             Full sources including the Gentoo patchset for the 2.6 kernel tree
    Homepage:                http://dev.gentoo.org/~dsd/genpatches
    Relevant USE flags:      (-build) (-symlink)
    License:                 GPL-2
    Installed time:          Thu Jun 19 23:00:31 2008
    Source repository:       gentoo
    Installed using:         paludis-0.26.2


paludis -q git-sources
Code:

* sys-kernel/git-sources
    gentoo:                  2.6.26_rc6-r1 {:2.6.26_rc6-r1} 2.6.26_rc6-r2 {:2.6.26_rc6-r2} 2.6.26_rc6-r3 {:2.6.26_rc6-r3} 2.6.26_rc6-r4 {:2.6.26_rc6-r4} 2.6.26_rc6-r5 {:2.6.26_rc6-r5} 2.6.26_rc6-r6 {:2.6.26_rc6-r6} 2.6.26_rc7-r1* {:2.6.26_rc7-r1}
    Homepage:                http://www.kernel.org
    Description:             The very latest -git version of the Linux kernel
    Relevant USE flags:      -build -symlink

_________________
95% of all computer errors occur between chair and keyboard (TM)
Join the FSF as an Associate Member!
Post under CC license.
Back to top
View user's profile Send private message
Wielebny
Tux's lil' helper
Tux's lil' helper


Joined: 12 Nov 2006
Posts: 142
Location: Bydgoszcz

PostPosted: Thu Jun 26, 2008 1:08 pm    Post subject: Reply with quote

faktycznie po przejściu na kernel 2.6.25 karta może już wyłapywać wektory sieci WIFI ale jeszcze trzeba sie na wyginać aby robić tzw INJECTION na AP a z tym mam jeszcze problem choć walczę.
_________________
Gentoo na razie mnie pokonuje ale walcze
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish) Instalacja i sprzęt All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum