Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ipw3945 and monitor mode
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
socken
n00b
n00b


Joined: 04 Apr 2005
Posts: 46

PostPosted: Tue Jul 25, 2006 1:35 pm    Post subject: ipw3945 and monitor mode Reply with quote

I'm trying to set my ipw3945 into monitor mode, (iwconfig eth1 mode monitor) but get the 'invalid argument' exception.

I just realised, that I didn't have monitor in my use flags. Is that a must? if so, how can I re-emerge the driver? (emerge --newuse doesn't do anything..)

Oh, and I'm using ipw3945-1.0.5.

Thanks for any help!! :D
Back to top
View user's profile Send private message
wynn
Advocate
Advocate


Joined: 01 Apr 2005
Posts: 2421
Location: UK

PostPosted: Tue Jul 25, 2006 2:55 pm    Post subject: Reply with quote

Quote:
I'm trying to set my ipw3945 into monitor mode, (iwconfig eth1 mode monitor) but get the 'invalid argument' exception.
This probably means it can't be done. The Intel README at http://ipw3945.sourceforge.net/ doesn't say anything about monitor, where did you see something about it?

Quote:
I didn't have monitor in my use flags
The use flags only contain "debug".

Quote:
how can I re-emerge the driver
Simply
Code:
emerge -av net-wireless/ipw3945
(I like --ask as it gives me more of a chance to stop doing something stupid, --verbose will show the use flags)

I hope this helps.
_________________
The avatar is jorma, a "duck" from "Elephants Dream": the film and all the production materials have been made available under a Creative Commons Attribution 2.5 License, see orange.blender.org for details.
Back to top
View user's profile Send private message
socken
n00b
n00b


Joined: 04 Apr 2005
Posts: 46

PostPosted: Tue Jul 25, 2006 4:10 pm    Post subject: Reply with quote

Thanks for your reply! In the said README on the sourceforge page, they write something about monitor mode:

Quote:
The following features are currently enabled, but not officially
supported:

+ QoS
+ Monitor mode (aka RFMon)
+ Associated RF promiscuous mode
+ Frame Rx simulation


If you build it manually, you can change the MAKEFILE and uncomment the specific line. However, I've installed it with gentoo portage directly and have no idea where to change something like that. Do I need to change the ebuild?

Not quite shure about the use flag, maybe you're right...
Back to top
View user's profile Send private message
wynn
Advocate
Advocate


Joined: 01 Apr 2005
Posts: 2421
Location: UK

PostPosted: Tue Jul 25, 2006 6:10 pm    Post subject: Reply with quote

Sorry, my mistake. I read the INSTALL document and referred to it as the README :oops:

emerge only allows --fetchonly — stopping after downloading the packages — but has no argument to stop after unpacking them. I think manual installation may be the only way.
_________________
The avatar is jorma, a "duck" from "Elephants Dream": the film and all the production materials have been made available under a Creative Commons Attribution 2.5 License, see orange.blender.org for details.
Back to top
View user's profile Send private message
socken
n00b
n00b


Joined: 04 Apr 2005
Posts: 46

PostPosted: Tue Jul 25, 2006 7:01 pm    Post subject: Reply with quote

Thanks alot for that!

If anyone else has an idea: SHOOT :D
Back to top
View user's profile Send private message
DirtyHairy
l33t
l33t


Joined: 03 Jul 2006
Posts: 608
Location: Würzburg, Deutschland

PostPosted: Tue Jul 25, 2006 10:39 pm    Post subject: Reply with quote

You can use "ebuild" instead of "emerge"; this will allow you to unpack the sources, then patch them manually and the compile and install them.
Back to top
View user's profile Send private message
socken
n00b
n00b


Joined: 04 Apr 2005
Posts: 46

PostPosted: Wed Jul 26, 2006 7:47 am    Post subject: Reply with quote

Perfect. Never used ebuild before. Will shure come in handy sometimes!

Altough it didn't sovled my problem... I performed all single steps, after 'ebuild unpack' I could change the Makefile, BUT: Monitor mode is already uncommented... So actually it should work, but I still get the same error..

Strange :cry:
Back to top
View user's profile Send private message
baygins
n00b
n00b


Joined: 01 Aug 2006
Posts: 29

PostPosted: Mon Aug 14, 2006 12:42 pm    Post subject: Reply with quote

I have the same problem. I tried emreging the package with
Code:
CONFIG_IPW3945_MONITOR=y emerge ipw3945

but that did not allow me to set the monitor mode by using
Code:
modrobe ipw3945 mode=2

The question is, how the heck do we pass the config entry to the emerge program? Or do we "really" need to hack the ebuild or the Makefile?
Thanks,
--selim
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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