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)

Dragoss91 2011-06-20 14:20

Re: [ANNOUNCE] Wlan Driver Selector Applet - Switch easily between stock and bleeding edge drivers and shut down WLAN complitely [0.2.2]
 
Offtopic : How do you added that status menu incon for FM transmitter ?

laasonen 2011-06-20 14:48

Re: [ANNOUNCE] Wlan Driver Selector Applet - Switch easily between stock and bleeding edge drivers and shut down WLAN complitely [0.2.2]
 
Its the FMTX applet. Its usually only open when the FM transmitter is on, but if you have CSSU you can set it to be always visible via gconf:
Code:

gconftool-2 -s /apps/osso/maemo-statusmenu-fmtx/always_visible -t bool true

Dragoss91 2011-06-20 18:15

Re: [ANNOUNCE] Wlan Driver Selector Applet - Switch easily between stock and bleeding edge drivers and shut down WLAN complitely [0.2.2]
 
1 Attachment(s)
Thank you , one more problem , after I made ur mod I cant connect to a wireless network where I could've connected before .

Attachment 20940

AgogData 2011-06-20 18:49

Re: [ANNOUNCE] Wlan Driver Selector Applet - Switch easily between stock and bleeding edge drivers and shut down WLAN complitely [0.2.2]
 
@ laasonen : After the last update the code you gave me to disable the auto opening of available connection (i think it was removing about 4 lines) is lost, can you post it again ?

laasonen 2011-06-20 19:01

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

Originally Posted by Dragoss91 (Post 1033050)
Thank you , one more problem , after I made ur mod I cant connect to a wireless network where I could've connected before .

Attachment 20940

Sounds like a DHCP problem. Its probably caused by my applications last version, which filled router's DHCP lease table by changing mac address frequently. It should be fixed by rebooting your router and making sure you are using the latest version of this application.

Quote:

Originally Posted by AgogData (Post 1033093)
@ laasonen : After the last update the code you gave me to disable the auto opening of available connection (i think it was removing about 4 lines) is lost, can you post it again ?

Remove lines 144-146:
Code:

                        if driver > 0:
                                proxy = self.Parent.bus.get_object('com.nokia.icd_ui', '/com/nokia/icd_ui', 'com.nokia.icd_ui')
                                proxy.show_conn_dlg(False)


Dragoss91 2011-06-20 21:25

Re: [ANNOUNCE] Wlan Driver Selector Applet - Switch easily between stock and bleeding edge drivers and shut down WLAN complitely [0.2.2]
 
I can not reboot that router because it's from a pub , and the version of this app it's 0.2.1-2 , is this the last one ?

laasonen 2011-06-20 21:31

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

Originally Posted by Dragoss91 (Post 1033348)
I can not reboot that router because it's from a pub , and the version of this app it's 0.2.1-2 , is this the last one ?

0.2.2-2. You can easily check that from packages interface.

Estel 2011-06-20 22:01

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

Originally Posted by Dragoss91 (Post 1033348)
I can not reboot that router because it's from a pub , and the version of this app it's 0.2.1-2 , is this the last one ?

Gratz, You just performed pro Denial of Service attack at Your favorite pub wifi. It denied access not only for You, but for all Wifi users there. who was first to say that N900 is hacker phone? ;)

Disclaimer: Don't worry, it wasn't Your fault, and it won't bring You any legal consequences (although my statement about denial of service is somehow true - in fact totally true except "pro" part ;) ). It was just that i can't stop myself to write it :D )

laasonen, Thank You for new update and it's really my pleasure to contribute even in such small way.

Tested new package - works fine, in every possible combination my MAC remain the same (except event just after update via 3G and enabling wifi later - got message about "unable to restore mac" - for obvious reasons, wifi was disabled on old version, so new version wasn't able to locate non-existing MAC file :) ).

I also hit into too-fast-respawn bug You mentioned and i agree that it shouldn't be problem in real-life situations. Ho ever, if it happens, it's quite irritating, cause You must wait long time before using wifi again (or reboot phone). May is ask about rationale for restarting osso-wlan? I'm sure there is one, again I'm asking out-of-curiosity. It's related to MAC problem?

---

Anyway, for lazy ones here is link to vote for package - we want to finally made it into testing, don't we? Voting is also important form of contribution, so pierrem and other, if You like it, please vote for this package (after testing).

Dragoss91 2011-06-20 22:13

Re: [ANNOUNCE] Wlan Driver Selector Applet - Switch easily between stock and bleeding edge drivers and shut down WLAN complitely [0.2.2]
 
@laasonen - Thanks , I just updated it with FAM . I hope it will fix that problem .

@Estel - ahahahahahah that was funny :D:D:D . That router didn't deny all devices because a friend with an iphone 3 could connect and use their internet .

laasonen 2011-06-20 22:53

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

Originally Posted by Estel (Post 1033386)
I also hit into too-fast-respawn bug You mentioned and i agree that it shouldn't be problem in real-life situations. Ho ever, if it happens, it's quite irritating, cause You must wait long time before using wifi again (or reboot phone). May is ask about rationale for restarting osso-wlan? I'm sure there is one, again I'm asking out-of-curiosity. It's related to MAC problem?

I was just reading the source of the wifi-switcher when pierrem said that its working on him and saw that its restarting the wlancond. Couple other scripts seemed to do the same thing also, so I decided to just make my script restart it too :D

I'll take it off, because even the test script without it was working for him. If someone is having trouble with the new 0.2.2-3 try to uncomment these lines:
Code:

STOP="`stop wlancond`" 2> /dev/null
START="`start wlancond`" 2> /dev/null
if [ "$?" -gt "0" ]; then
        echo "Error while restarting wlancond, propably respawning too fast"
fi

From these files:
/sbin/load-bleeding-edge-drivers.sh
/sbin/load-stock-drivers.sh


All times are GMT. The time now is 16:12.

vBulletin® Version 3.8.8