[kismac] Re: [binaervarianz] r191 - trunk/Sources/WaveDrivers
- From: Aki <achileos@xxxxxxxxx>
- To: kismac@xxxxxxxxxxxxx
- Date: Tue, 12 Sep 2006 08:05:39 +0200
Using a Macbook, my friend downloading using right close to me ...
still not getting any data packets :)
I don't even see him on the list of this AP client but on <any ssid>
list, am I doing something wrong ?
--Aki
On 9/12/06, Nicholas David McKinney <nickfrommaryland@xxxxxxxxx> wrote:
It seems think that there are some data packets, but they don't seem
to be right. I started generating a storm of traffic on the network
but that did not seem to do much. On the plus side, nothing broke.
Using a MBP (not sure if that makes a difference, but I'll report
just the same)
On 12 Sep 2006, at 1:23 AM, svn@xxxxxxxxxxxxxxxx wrote:
> Author: gkruse
> Date: 2006-09-12 07:22:59 +0200 (Tue, 12 Sep 2006)
> New Revision: 191
>
> Modified:
> trunk/Sources/WaveDrivers/WaveDriverAirportExtreme.m
> Log:
> Maybe if we open the device in promisc mode, we will actually get
> data packets on the mac book. Please test and report. I don't
> have a mac book, but nothing bad happens when we open the device in
> promisc mode on my pbg4
>
> Modified: trunk/Sources/WaveDrivers/WaveDriverAirportExtreme.m
> ===================================================================
> --- trunk/Sources/WaveDrivers/WaveDriverAirportExtreme.m 2006-09-11
> 04:46:44 UTC (rev 190)
> +++ trunk/Sources/WaveDrivers/WaveDriverAirportExtreme.m 2006-09-12
> 05:22:59 UTC (rev 191)
> @@ -263,13 +263,14 @@
> _apeType = APExtTypeUnknown;
> }
>
> - _device = pcap_open_live([[defs objectForKey:@"bpfdevice"]
> cString], 3000, 0, 2, err);
> + //pcap_open_live(char *device,int snaplen, int prmisc,int
> to_ms,char *ebuf)
> + _device = pcap_open_live([[defs objectForKey:@"bpfdevice"]
> cString], 3000, 1, 2, err);
> if (!_device) {
> if (![[BLAuthentication sharedInstance] executeCommand:@"/usr/
> bin/chgrp" withArgs:[NSArray arrayWithObjects:@"admin", [defs
> objectForKey:@"bpfloc"], nil]]) return Nil;
> if (![[BLAuthentication sharedInstance] executeCommand:@"/bin/
> chmod" withArgs:[NSArray arrayWithObjects:@"0660", [defs
> objectForKey:@"bpfloc"], nil]]) return Nil;
> [NSThread sleep:0.5];
>
> - _device = pcap_open_live([[defs objectForKey:@"bpfdevice"]
> cString], 3000, 0, 2, err);
> + _device = pcap_open_live([[defs objectForKey:@"bpfdevice"]
> cString], 3000, 1, 2, err);
> [[BLAuthentication sharedInstance] executeCommand:@"/usr/bin/
> chgrp" withArgs:[NSArray arrayWithObjects:@"wheel", [defs
> objectForKey:@"bpfloc"], nil]];
> [[BLAuthentication sharedInstance] executeCommand:@"/bin/chmod"
> withArgs:[NSArray arrayWithObjects:@"0600", [defs
> objectForKey:@"bpfloc"], nil]];
>
>
>
- Follow-Ups:
- [kismac] Re: [binaervarianz] r191 - trunk/Sources/WaveDrivers
- From: themacuser
- References:
- [kismac] [binaervarianz] r191 - trunk/Sources/WaveDrivers
- From: svn
- [kismac] Re: [binaervarianz] r191 - trunk/Sources/WaveDrivers
- From: Nicholas David McKinney
Other related posts:
- » [kismac] [binaervarianz] r191 - trunk/Sources/WaveDrivers
- » [kismac] Re: [binaervarianz] r191 - trunk/Sources/WaveDrivers
- » [kismac] Re: [binaervarianz] r191 - trunk/Sources/WaveDrivers
- » [kismac] Re: [binaervarianz] r191 - trunk/Sources/WaveDrivers
- » [kismac] Re: [binaervarianz] r191 - trunk/Sources/WaveDrivers
- » [kismac] Re: [binaervarianz] r191 - trunk/Sources/WaveDrivers
- » [kismac] Re: [binaervarianz] r191 - trunk/Sources/WaveDrivers
- » [kismac] Re: [binaervarianz] r191 - trunk/Sources/WaveDrivers
- » [kismac] Re: [binaervarianz] r191 - trunk/Sources/WaveDrivers
- » [kismac] Re: [binaervarianz] r191 - trunk/Sources/WaveDrivers
- » [kismac] Re: [binaervarianz] r191 - trunk/Sources/WaveDrivers
- » [kismac] Re: [binaervarianz] r191 - trunk/Sources/WaveDrivers
- » [kismac] Re: [binaervarianz] r191 - trunk/Sources/WaveDrivers
It seems think that there are some data packets, but they don't seem to be right. I started generating a storm of traffic on the network but that did not seem to do much. On the plus side, nothing broke.
Using a MBP (not sure if that makes a difference, but I'll report just the same)
On 12 Sep 2006, at 1:23 AM, svn@xxxxxxxxxxxxxxxx wrote:
> Author: gkruse
> Date: 2006-09-12 07:22:59 +0200 (Tue, 12 Sep 2006)
> New Revision: 191
>
> Modified:
> trunk/Sources/WaveDrivers/WaveDriverAirportExtreme.m
> Log:
> Maybe if we open the device in promisc mode, we will actually get
> data packets on the mac book. Please test and report. I don't
> have a mac book, but nothing bad happens when we open the device in
> promisc mode on my pbg4
>
> Modified: trunk/Sources/WaveDrivers/WaveDriverAirportExtreme.m
> ===================================================================
> --- trunk/Sources/WaveDrivers/WaveDriverAirportExtreme.m 2006-09-11
> 04:46:44 UTC (rev 190)
> +++ trunk/Sources/WaveDrivers/WaveDriverAirportExtreme.m 2006-09-12
> 05:22:59 UTC (rev 191)
> @@ -263,13 +263,14 @@
> _apeType = APExtTypeUnknown;
> }
>
> - _device = pcap_open_live([[defs objectForKey:@"bpfdevice"]
> cString], 3000, 0, 2, err);
> + //pcap_open_live(char *device,int snaplen, int prmisc,int
> to_ms,char *ebuf)
> + _device = pcap_open_live([[defs objectForKey:@"bpfdevice"]
> cString], 3000, 1, 2, err);
> if (!_device) {
> if (![[BLAuthentication sharedInstance] executeCommand:@"/usr/
> bin/chgrp" withArgs:[NSArray arrayWithObjects:@"admin", [defs
> objectForKey:@"bpfloc"], nil]]) return Nil;
> if (![[BLAuthentication sharedInstance] executeCommand:@"/bin/
> chmod" withArgs:[NSArray arrayWithObjects:@"0660", [defs
> objectForKey:@"bpfloc"], nil]]) return Nil;
> [NSThread sleep:0.5];
>
> - _device = pcap_open_live([[defs objectForKey:@"bpfdevice"]
> cString], 3000, 0, 2, err);
> + _device = pcap_open_live([[defs objectForKey:@"bpfdevice"]
> cString], 3000, 1, 2, err);
> [[BLAuthentication sharedInstance] executeCommand:@"/usr/bin/
> chgrp" withArgs:[NSArray arrayWithObjects:@"wheel", [defs
> objectForKey:@"bpfloc"], nil]];
> [[BLAuthentication sharedInstance] executeCommand:@"/bin/chmod"
> withArgs:[NSArray arrayWithObjects:@"0600", [defs
> objectForKey:@"bpfloc"], nil]];
>
>
>- [kismac] Re: [binaervarianz] r191 - trunk/Sources/WaveDrivers
- From: themacuser
- [kismac] [binaervarianz] r191 - trunk/Sources/WaveDrivers
- From: svn
- [kismac] Re: [binaervarianz] r191 - trunk/Sources/WaveDrivers
- From: Nicholas David McKinney