|
2011-01-02
, 13:16
|
|
Posts: 820 |
Thanked: 436 times |
Joined on May 2010
@ Portsmouth, UK.
|
#1042
|
#!/bin/sh sudo ifconfig wlan0 down; sudo iwconfig wlan0 mode Monitor; sudo ifconfig wlan0 up; exit;
The Following User Says Thank You to James_Littler For This Useful Post: | ||
|
2011-01-02
, 15:12
|
Posts: 529 |
Thanked: 194 times |
Joined on Aug 2010
@ UK
|
#1043
|
right, got it
does the trickCode:#!/bin/sh sudo ifconfig wlan0 down; sudo iwconfig wlan0 mode Monitor; sudo ifconfig wlan0 up; exit;
|
2011-01-02
, 16:45
|
|
Posts: 820 |
Thanked: 436 times |
Joined on May 2010
@ Portsmouth, UK.
|
#1044
|
The Following 2 Users Say Thank You to James_Littler For This Useful Post: | ||
|
2011-01-02
, 17:44
|
Posts: 529 |
Thanked: 194 times |
Joined on Aug 2010
@ UK
|
#1045
|
swap Moritor for Managed to get back to managed mode.
I've put the call to load the driver
sh pathToFile.load.sh
as the first command of the monitor mode beecon so it loads the driver then switches to monitor mode.
|
2011-01-11
, 00:32
|
|
Posts: 1,503 |
Thanked: 2,688 times |
Joined on Oct 2010
@ Denmark
|
#1046
|
|
2011-01-11
, 10:25
|
|
Posts: 700 |
Thanked: 846 times |
Joined on Nov 2009
|
#1047
|
I was wondering if it is possible to use $QBW_WIDTH to make a beecon that changes size, it's for my custom battery meter which now just displays V and % battery (REAL %) - see my battery test thread: page #1 post #3
It would be cool to make a small QBW that changes size and maybe also color depending on my custom % reading.
_My % reading is based on a discharge test i did and is the same as the official graphs on LiPo capacity by voltage.
For the battery beecon i could be made with 100 pixels, 1 for every % and maybe 10 pixels for a battery icon (so you know what it is )
|
2011-01-12
, 16:51
|
|
Posts: 1,503 |
Thanked: 2,688 times |
Joined on Oct 2010
@ Denmark
|
#1048
|
|
2011-01-12
, 19:43
|
|
Posts: 700 |
Thanked: 846 times |
Joined on Nov 2009
|
#1049
|
have decided to go with an easier approach.
as the battery % meter is right now it is a little dull and can be "hard" to read.
So this is what i want to do:
Change the background color to match the different levels of charge so it goes from green to red.
but how do i do it, i have tried to include snippetExtBgRGB in my script but it does nothing or gives an error....
does nothing:
'snippetExtBgRGB #<ffff><0000><0000>
gives error
snippetExtBgRGB=#<ffff><0000><0000>
|
2011-01-12
, 22:38
|
|
Posts: 1,503 |
Thanked: 2,688 times |
Joined on Oct 2010
@ Denmark
|
#1050
|
If I go root then run the script it works perfectly.
Maybe if I put root as the first command.
Last edited by James_Littler; 2011-01-02 at 12:29.