maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [ANNOUNCE] Wlan Driver Selector Applet - Switch easily between stock and bleeding edge drivers and shut down WLAN complitely [0.2.2 in extras] (https://talk.maemo.org/showthread.php?t=73682)

Estel 2011-07-18 01:35

Re: [ANNOUNCE] Wlan Driver Selector Applet - Switch easily between stock and bleeding edge drivers and shut down WLAN complitely [0.2.2]
 
Just to clarify things, he had plans to sell N8 and buy next N900 - but, lately, he received N950. This is only for clarification - I really, *really* don't attack laasonen.

Ps.

It's probably mainly our fault than none of us have skill (or those having it, are over-projected ATM) that we can't continue this great project. Complaining now is like complaining if laasonen was ever hit by a bus or whatever. Time to move a.s.s and try to learn some python, I guess.

laasonen 2011-08-18 13:37

Re: [ANNOUNCE] Wlan Driver Selector Applet - Switch easily between stock and bleeding edge drivers and shut down WLAN complitely [0.2.2]
 
I finally got to promote it to extras. Thank you for testing :)

GameboyRMH 2011-09-30 18:13

Re: [ANNOUNCE] Wlan Driver Selector Applet - Switch easily between stock and bleeding edge drivers and shut down WLAN complitely [0.2.2 in extras]
 
Just wanted to say this finally let me use the power kernel while connecting to DD-WRT APs at the same time! :D

Estel 2011-09-30 18:40

Re: [ANNOUNCE] Wlan Driver Selector Applet - Switch easily between stock and bleeding edge drivers and shut down WLAN complitely [0.2.2 in extras]
 
sorry, but could you elaborate more on this? I don't get how applet to switch between stock/bleeding-edge drivers may fix any problem with connecting to dd-wrt AP. Seems quite unrelated.

GameboyRMH 2011-09-30 18:52

Re: [ANNOUNCE] Wlan Driver Selector Applet - Switch easily between stock and bleeding edge drivers and shut down WLAN complitely [0.2.2 in extras]
 
There's a bug with kernel-power that prevents the N900 from seeing DD-WRT APs, but with the bleeding-edge drivers the APs show up again:

https://garage.maemo.org/tracker/ind...1528&atid=5521

Your switching applet gave me a quick, convenient and failsafe way to switch between drivers.

teamer 2012-01-14 09:32

Re: [ANNOUNCE] Wlan Driver Selector Applet - Switch easily between stock and bleeding edge drivers and shut down WLAN complitely [0.2.2 in extras]
 
had a problem and could not fix , installed the applet , downloaded the drivers and selected the wrong directory :s how can i fix it ? tried uninstall then install , still doesn't ask me for the right directory :s

teamer 2012-01-14 13:58

Re: [ANNOUNCE] Wlan Driver Selector Applet - Switch easily between stock and bleeding edge drivers and shut down WLAN complitely [0.2.2 in extras]
 
Quote:

Originally Posted by teamer (Post 1150442)
had a problem and could not fix , installed the applet , downloaded the drivers and selected the wrong directory :s how can i fix it ? tried uninstall then install , still doesn't ask me for the right directory :s

ok fixed it , selected the right directory , the newest power kernel installed .. still gives me an error "ifconfig: SIOCGIFFLAGS: No such device" :s

laasonen 2012-01-14 18:25

Re: [ANNOUNCE] Wlan Driver Selector Applet - Switch easily between stock and bleeding edge drivers and shut down WLAN complitely [0.2.2 in extras]
 
Quote:

Originally Posted by teamer (Post 1150442)
had a problem and could not fix , installed the applet , downloaded the drivers and selected the wrong directory :s how can i fix it ? tried uninstall then install , still doesn't ask me for the right directory :s

I haven't touched the code for half of an year, but I remember that it checks the folder for the drivers when you select it. And if you remove the drivers from the folder afterwards, it asks for the new location automatically next time.

Quote:

Originally Posted by teamer (Post 1150510)
ok fixed it , selected the right directory , the newest power kernel installed .. still gives me an error "ifconfig: SIOCGIFFLAGS: No such device" :s

What works and what doesn't?
  • Loading stock-drivers
  • Loading bleedingedge-drivers
  • Disabling wlan

Estel 2012-01-14 18:50

Re: [ANNOUNCE] Wlan Driver Selector Applet - Switch easily between stock and bleeding edge drivers and shut down WLAN complitely [0.2.2 in extras]
 
This applet is no longer developed. Use Advanced Interface Switcher instead (and Cleven or fAircrack for hassle-free injection enabling + aircrack frontend).

/Estel

getnani 2012-02-29 08:21

Re: [ANNOUNCE] Wlan Driver Selector Applet - Switch easily between stock and bleeding edge drivers and shut down WLAN complitely [0.2.2 in extras]
 
@laasonen,
is there any possibility that the state of the wlan (disabled or enabled) remains the same even after reboot?
At the moment, after every reboot it goes to enabled state.

It would be great if it stays at the last state it was before rebooted/ shutdown? if it can be done using a simple mod, please post it, if u dont want the applet to be updated.

Thanks for the wonderful applet. significant difference matey!

don_falcone 2012-02-29 08:31

Re: [ANNOUNCE] Wlan Driver Selector Applet - Switch easily between stock and bleeding edge drivers and shut down WLAN complitely [0.2.2 in extras]
 
Huh, isn't that what in preferences "startup-enable" (and the mode type) is for?

laasonen 2012-02-29 16:57

Re: [ANNOUNCE] Wlan Driver Selector Applet - Switch easily between stock and bleeding edge drivers and shut down WLAN complitely [0.2.2 in extras]
 
Quote:

Originally Posted by getnani (Post 1171872)
@laasonen,
is there any possibility that the state of the wlan (disabled or enabled) remains the same even after reboot?
At the moment, after every reboot it goes to enabled state.

It would be great if it stays at the last state it was before rebooted/ shutdown? if it can be done using a simple mod, please post it, if u dont want the applet to be updated.

Thanks for the wonderful applet. significant difference matey!

The applet doesn't save the status of the wlan anywhere, so you first would have to make it save the wlan's status to gconf when the status changes and on startup read the status from gconf and modify the wlan's status.

It's pretty easy task, if anyone is interested on implementing it, but I can't do it myself, because I don't have Maemo SDK or a device to test it on anymore.

getnani 2012-02-29 17:03

Re: [ANNOUNCE] Wlan Driver Selector Applet - Switch easily between stock and bleeding edge drivers and shut down WLAN complitely [0.2.2 in extras]
 
okay.... say if i wana start disabled on boot... how shud i do it?

getnani 2012-02-29 17:07

Re: [ANNOUNCE] Wlan Driver Selector Applet - Switch easily between stock and bleeding edge drivers and shut down WLAN complitely [0.2.2 in extras]
 
Quote:

Originally Posted by don_falcone (Post 1171875)
Huh, isn't that what in preferences "startup-enable" (and the mode type) is for?

Sorry I am not able to see any prefs in the settings.. where shud I look for this?

laasonen 2012-02-29 17:16

Re: [ANNOUNCE] Wlan Driver Selector Applet - Switch easily between stock and bleeding edge drivers and shut down WLAN complitely [0.2.2 in extras]
 
Quote:

Originally Posted by getnani (Post 1172158)
okay.... say if i wana start disabled on boot... how shud i do it?

Quickest way would probably be to add something like this:
Code:

start on started hildon-desktop

respawn

script
  exec /sbin/unload-drivers.sh
end script

to:
Code:

/etc/event.d/disable-wlan

getnani 2012-02-29 17:26

Re: [ANNOUNCE] Wlan Driver Selector Applet - Switch easily between stock and bleeding edge drivers and shut down WLAN complitely [0.2.2 in extras]
 
ta muchly m8

getnani 2012-02-29 17:30

Re: [ANNOUNCE] Wlan Driver Selector Applet - Switch easily between stock and bleeding edge drivers and shut down WLAN complitely [0.2.2 in extras]
 
one small request... any easyway to get the applet in the status menu to start in wlan disabled? becos, now wlan is disabled, yet it shows in the applet enabled!

laasonen 2012-02-29 17:47

Re: [ANNOUNCE] Wlan Driver Selector Applet - Switch easily between stock and bleeding edge drivers and shut down WLAN complitely [0.2.2 in extras]
 
Quote:

Originally Posted by getnani (Post 1172177)
one small request... any easyway to get the applet in the status menu to start in wlan disabled? becos, now wlan is disabled, yet it shows in the applet enabled!

Hmm, the applet probably starts up before wlan gets disabled, so it shows wrong status :/

To fix it, you could add this line:
Code:

                commands.getoutput('sudo /sbin/unload-drivers.sh')
after this line:
Code:

                StatusMenuItem.__init__(self)
on this file:
Code:

/usr/lib/hildon-desktop/status-area-wlan-driver-selector-applet.py
and remove this file:
Code:

/etc/event.d/disable-wlan

don_falcone 2012-03-01 17:24

Re: [ANNOUNCE] Wlan Driver Selector Applet - Switch easily between stock and bleeding edge drivers and shut down WLAN complitely [0.2.2 in extras]
 
Quote:

Originally Posted by getnani (Post 1172162)
Sorry I am not able to see any prefs in the settings.. where shud I look for this?

Dunno which version you have installed, but on mine, if i click any of the plugins buttons, i can select preferences (to the right of the screen which pops up). On the same screen where you f.e. select the mode for GSM.

Estel 2012-03-01 22:12

Re: [ANNOUNCE] Wlan Driver Selector Applet - Switch easily between stock and bleeding edge drivers and shut down WLAN complitely [0.2.2 in extras]
 
don_falcone, are You sure that You're not referring to Advanced Interface Switcher, instead of the WLAN Driver selector applet? ;)

/Estel

J4ZZ 2012-03-01 23:40

Re: [ANNOUNCE] Wlan Driver Selector Applet - Switch easily between stock and bleeding edge drivers and shut down WLAN complitely [0.2.2 in extras]
 
I'm facing the same "SIOCGIFFLAGS: no such device"-Error when loading bleeding edge drivers since installing u-boot lately.
so regarding to...

Quote:

Originally Posted by laasonen (Post 1150580)
What works and what doesn't?
  • Loading stock-drivers
  • Loading bleedingedge-drivers
  • Disabling wlan

-Loading stock works
-Disabling wlan works


Loading Bleedings egde using applet or load.sh gives me
Code:

Error while loading kernel modules
ifconfig: SIOCGIFFLAGS: No such device
Error while starting wlan0 interface
Drivers were not loaded

So, any ideas why this is happening and how to fix this?

Greetz,

J4ZZ

Edit: I tried advanced interface switcher, but under preferences - WLAN startup mode I can only select "stock"

don_falcone 2012-03-03 00:11

Re: [ANNOUNCE] Wlan Driver Selector Applet - Switch easily between stock and bleeding edge drivers and shut down WLAN complitely [0.2.2 in extras]
 
Yes i'm sure i'm referreing to interface switcher. Somebody has switched the thread title!

laasonen 2012-03-03 00:23

Re: [ANNOUNCE] Wlan Driver Selector Applet - Switch easily between stock and bleeding edge drivers and shut down WLAN complitely [0.2.2 in extras]
 
Quote:

Originally Posted by J4ZZ (Post 1172807)
I'm facing the same "SIOCGIFFLAGS: no such device"-Error when loading bleeding edge drivers since installing u-boot lately.
so regarding to...


-Loading stock works
-Disabling wlan works


Loading Bleedings egde using applet or load.sh gives me
Code:

Error while loading kernel modules
ifconfig: SIOCGIFFLAGS: No such device
Error while starting wlan0 interface
Drivers were not loaded

So, any ideas why this is happening and how to fix this?

Greetz,

J4ZZ

Edit: I tried advanced interface switcher, but under preferences - WLAN startup mode I can only select "stock"

Which kernel are you using?

Quote:

Originally Posted by don_falcone (Post 1173373)
Yes i'm sure i'm referreing to interface switcher. Somebody has switched the thread title!

The thread title has been the same since last summer..

don_falcone 2012-03-03 10:33

Re: [ANNOUNCE] Wlan Driver Selector Applet - Switch easily between stock and bleeding edge drivers and shut down WLAN complitely [0.2.2 in extras]
 
It was a joke, man.

J4ZZ 2012-03-04 13:45

Re: [ANNOUNCE] Wlan Driver Selector Applet - Switch easily between stock and bleeding edge drivers and shut down WLAN complitely [0.2.2 in extras]
 
I'm using power49 kernel. Thanks for helping mate. ;)

Edit: Nevermind, found the error.
In xterm
Code:

uname -r
revealed the answer.
Accidentily omap instead of power49 was loaded ;) *stupid me* :D

Greetz,

J4ZZ

taixzo 2012-04-02 20:54

Re: [ANNOUNCE] Wlan Driver Selector Applet - Switch easily between stock and bleeding edge drivers and shut down WLAN complitely [0.2.2 in extras]
 
I am also getting the "SIOCGIFFLAGS: no such device" error. uname -r shows:
Code:

~ $ uname -r
2.6.28.10-power50
~ $

So why am I getting the error?

StefanL 2012-04-04 16:25

Re: [ANNOUNCE] Wlan Driver Selector Applet - Switch easily between stock and bleeding edge drivers and shut down WLAN complitely [0.2.2 in extras]
 
Quote:

Originally Posted by taixzo (Post 1187354)
I am also getting the "SIOCGIFFLAGS: no such device" error. uname -r shows:
Code:

~ $ uname -r
2.6.28.10-power50
~ $

So why am I getting the error?

Looks like ifconfig in the load / unload script for the injection drivers throws up that error message looking for the hardware address of wlan0. With injection drivers loaded it doesn't seem to find the wlan0 device anymore. I am getting a "Unknown symbol in module" error when trying to load wl1251_spi.ko, which might explain why ifconfig doesn't see the hardware (ie. the drivers are not loaded).

Edit: Rebooted a few times and re-downloaded the KP50 version drivers again fixed the problem for a bit, but I have a feeling that they are not really stable; ie. after awhile, the loading / unloading runs into problems again. Might be a solution to just load them and run with them, ie. avoid repeated loading / unloading cycles.

laasonen 2012-04-05 20:54

Re: [ANNOUNCE] Wlan Driver Selector Applet - Switch easily between stock and bleeding edge drivers and shut down WLAN complitely [0.2.2 in extras]
 
I updated the new drivers to my server, so it should download the new ones, if you delete the old ones with file manager :)

casketizer 2012-04-21 11:10

Re: [ANNOUNCE] Wlan Driver Selector Applet - Switch easily between stock and bleeding edge drivers and shut down WLAN complitely [0.2.2 in extras]
 
Just updated to kp50 finally and i just had to use gconf editor (as explained in first post but I used the GUI gconf editor) to point to new drivers and all works fine here.

akitta 2012-07-07 15:19

Re: [ANNOUNCE] Wlan Driver Selector Applet - Switch easily between stock and bleeding edge drivers and shut down WLAN complitely [0.2.2 in extras]
 
Quote:

Originally Posted by casketizer (Post 1195302)
Just updated to kp50 finally and i just had to use gconf editor (as explained in first post but I used the GUI gconf editor) to point to new drivers and all works fine here.

I've Searched the thread and carn't find the instructions to edit with gconf..
By first post, you mean original poster ?.
I'l look through thread again.
Really want this working again KP50 also.

sifo 2012-11-06 21:37

Re: [ANNOUNCE] Wlan Driver Selector Applet - Switch easily between stock and bleeding edge drivers and shut down WLAN complitely [0.2.2 in extras]
 
Not sure if this is a bug or it is ok ;)
today i noticed that if the drivers directory name contains a "space" like this ( injection drivers ),
the applet wont be able to load'em and it will give this error :
Code:

sh: cd: line 1: can't cd to /home/user/MyDocs/injection
Error while loading kernel moduls
ifconfig: SIOCGIFFLAGS: No such device
Error while starting wlan0 interface
Drivers were not loaded

And of course that could be solved by renaming the folder : )


./sifo

peterleinchen 2012-11-06 22:31

Re: [ANNOUNCE] Wlan Driver Selector Applet - Switch easily between stock and bleeding edge drivers and shut down WLAN complitely [0.2.2 in extras]
 
Or just correct the script and wrap the path in quotes (double quotes, if it is given by env var).

mr_pingu 2012-11-06 22:48

Re: [ANNOUNCE] Wlan Driver Selector Applet - Switch easily between stock and bleeding edge drivers and shut down WLAN complitely [0.2.2 in extras]
 
Or use this, modules are included in kernel-power package from v50 (or v51) I believe.
Modified the script to work with all kernels ;) Atleast the newer ones

http://pastebin.com/cvU3ugNS

explit 2013-04-04 20:02

Re: [ANNOUNCE] Wlan Driver Selector Applet - Switch easily between stock and bleeding edge drivers and shut down WLAN complitely [0.2.2 in extras]
 
Hello mr_pingu

I have kernel-power52 and have the same Problem:

Error while loading kernel moduls
ifconfig: SIOCGIFFLAGS: No such device
Error while starting wlan0 interface
Drivers were not loaded

What should i do with Your updated script?
How i must name it and in which folder i must copy it to get the WLAN-Driver-Selector applet running ?

Thank You very much.

m750 2013-04-07 16:36

Re: [ANNOUNCE] Wlan Driver Selector Applet - Switch easily between stock and bleeding edge drivers and shut down WLAN complitely [0.2.2 in extras]
 
Same problem

lucalalo 2013-04-10 13:04

Re: [ANNOUNCE] Wlan Driver Selector Applet - Switch easily between stock and bleeding edge drivers and shut down WLAN complitely [0.2.2 in extras]
 
same,
anybody resolv the problem

Estel 2013-04-14 04:07

Re: [ANNOUNCE] Wlan Driver Selector Applet - Switch easily between stock and bleeding edge drivers and shut down WLAN complitely [0.2.2 in extras]
 
Considering that author of this application betrayed us with N950, and then, probably, some android device, + taking into account date of last update, I would strongly suggest switching to Advanced Interface Switcher.

Thanks for reminding me about unsubscribe here, anyway.

/Estel

tanago 2013-04-18 18:15

Re: [ANNOUNCE] Wlan Driver Selector Applet - Switch easily between stock and bleeding edge drivers and shut down WLAN complitely [0.2.2 in extras]
 
Fix
Quote:

Error while loading kernel modules
ifconfig: SIOCGIFFLAGS: No such device
Error while starting wlan0 interface
Drivers were not loaded
Copy everything from /opt/packet-injection-modules/2.6.28.10-power52 to the folder that contains Wlan Applet's scripts (something like MyDocs/wl1251-drivers)

Kabouik 2014-05-23 09:56

Re: [ANNOUNCE] Wlan Driver Selector Applet - Switch easily between stock and bleeding edge drivers and shut down WLAN complitely [0.2.2 in extras]
 
Quote:

Originally Posted by tanago (Post 1337092)
Fix


Copy everything from /opt/packet-injection-modules/2.6.28.10-power52 to the folder that contains Wlan Applet's scripts (something like MyDocs/wl1251-drivers)

Sorry for reviving this thread (but the applet is useful and deserves not to be abandonned), but I just did it with KP52 and can confirm it worked properly! Thanks a lot.

gustavoechavarria 2015-01-16 01:56

Re: [ANNOUNCE] Wlan Driver Selector Applet - Switch easily between stock and bleeding edge drivers and shut down WLAN complitely [0.2.2 in extras]
 
Quote:

Originally Posted by tanago (Post 1337092)
Fix


Copy everything from /opt/packet-injection-modules/2.6.28.10-power52 to the folder that contains Wlan Applet's scripts (something like MyDocs/wl1251-drivers)


Confirmo que aun hoy 15 de enero de 2015 Esta opcion funciona sin problemas estando en 2.6.28.10-power53
Mil gracias parcero, ha sido de gran ayuda :D


All times are GMT. The time now is 05:52.

vBulletin® Version 3.8.8