maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [ANNOUNCE] Advanced Interface Switcher (https://talk.maemo.org/showthread.php?t=60473)

412b 2012-07-15 18:05

Re: [ANNOUNCE] Advanced Interface Switcher
 
An update released to devel.
Main features:
- support for WLAN driver switching (needs backports modules or any corresponding to your kernal :))
- removed connected button
- cell part now show operator name (like in status bar) in messages and in status menu
- added "connecting" and "disconnecting" to wlan and "connecting" to GSM
- some minor fixes
- POT file for translations is now available in garage's svn

i'm a taking a look at the custom user scripts to be run at some event. suggestions and ideas are welcomed. @Estel, that one about setting JP i took into account ;)

dy1ng 2012-07-18 22:30

Re: [ANNOUNCE] Advanced Interface Switcher
 
hey,
since this update, sometimes i can't connect to wifi after once i disconnected

disabling the module and re-enable doesn't help, just rebooting, but then this again..

any suggestions?

Mentalist Traceur 2012-07-18 23:55

Re: [ANNOUNCE] Advanced Interface Switcher
 
Quote:

Originally Posted by 412b (Post 1237866)
- cell part now show operator name (like in status bar) in messages and in status menu

Keep in mind, that because buttons are so small in status menu, operator name doesn't fit and you end up being unable to see the connected/unconnected bit of info at a glance.

So I think it's great that it shows operator name in the notification messages, but I think it should stick to just showing "<>" in the status menu button when connected.

Quote:

Originally Posted by 412b
i'm a taking a look at the custom user scripts to be run at some event. suggestions and ideas are welcomed. @Estel, that one about setting JP i took into account ;)

While we're on the subject, the JP setting is currently not supported in the injection capable driver (I have no desire to call it bleeding edge at this point, it's ~ a year old by now). I believe the regulatory region for that driver is hardcoded.

So that leads me to point out that if you have support for custom scripts, I hope you remember to make them flexible enough to be able to decide if they fire on events for either wifi driver, or for both.

412b 2012-07-19 06:37

Re: [ANNOUNCE] Advanced Interface Switcher
 
Quote:

Originally Posted by dy1ng (Post 1239484)
hey,
since this update, sometimes i can't connect to wifi after once i disconnected

disabling the module and re-enable doesn't help, just rebooting, but then this again..

any suggestions?

what exact build are you using?
by "can't connect" do you mean that network is visible, but connection fails? (for consistance also check, is wlancond is started)
i had that behaviour in recent builds, but in last can't reproduce, meanwhile i'll upload an update this week/begining of next week, on which i can't reproduce that behaviour.

412b 2012-07-19 06:45

Re: [ANNOUNCE] Advanced Interface Switcher
 
Quote:

Originally Posted by Mentalist Traceur (Post 1239514)
Keep in mind, that because buttons are so small in status menu, operator name doesn't fit and you end up being unable to see the connected/unconnected bit of info at a glance.

So I think it's great that it shows operator name in the notification messages, but I think it should stick to just showing "<>" in the status menu button when connected.

Good point, I'll think about improvements during weekend :)

Quote:

Originally Posted by Mentalist Traceur (Post 1239514)
While we're on the subject, the JP setting is currently not supported in the injection capable driver (I have no desire to call it bleeding edge at this point, it's ~ a year old by now). I believe the regulatory region for that driver is hardcoded.

So that leads me to point out that if you have support for custom scripts, I hope you remember to make them flexible enough to be able to decide if they fire on events for either wifi driver, or for both.

At the moment scripts are flexible enough :)
5 main events:
1. if down (/usr/bin/advifsw/post-down)
2. loaded default driver (/usr/bin/advifsw/post-load0)
3. loaded injection driver (/usr/bin/advifsw/post-load1)
4. unloaded driver (/usr/bin/advifsw/post-unload)
5. if up (/usr/bin/advifsw/post-up)

In those dirs you can put your scripts (don't forget to +x them).

dy1ng 2012-07-19 12:13

Re: [ANNOUNCE] Advanced Interface Switcher
 
Quote:

Originally Posted by 412b (Post 1239592)
what exact build are you using?
by "can't connect" do you mean that network is visible, but connection fails? (for consistance also check, is wlancond is started)
i had that behaviour in recent builds, but in last can't reproduce, meanwhile i'll upload an update this week/begining of next week, on which i can't reproduce that behaviour.


my version: 0.3.11-9

all networks are visible, but i can't connect to any of them untl i do not restart the system

however, since i reinstall the package, this behaviour is gone.. i hope it's don't come back

and i'll check this wlancond thing

sorry for my noobish english, and thanks for the fast reply

peterleinchen 2012-07-19 18:50

Re: [ANNOUNCE] Advanced Interface Switcher
 
Did you play with "bleeding edge" driver and lost signal while connected to an AP?
This would explain that behaviour (would have needed unload of bleeding and reloading stock/bleeding again).

peterleinchen 2012-07-19 19:05

Re: [ANNOUNCE] Advanced Interface Switcher
 
Quote:

Originally Posted by Mentalist Traceur (Post 1239514)
Keep in mind, that because buttons are so small in status menu, operator name doesn't fit and you end up being unable to see the connected/unconnected bit of info at a glance.

For my use case and networks, it matches easily to distinguish.
Having a dual sim adapter and switching automatically via icon/app click between networks Vodafone (shown as Vod) and o2 - de (o2 ).
But for other maybe not so easy and not really needed, so I do not have a favourite here, keep it or change back.

Quote:

Originally Posted by Mentalist Traceur (Post 1239514)
While we're on the subject, the JP setting is currently not supported in the injection capable driver (I have no desire to call it bleeding edge at this point, it's ~ a year old by now). I believe the regulatory region for that driver is hardcoded.

Really? Sad.

Estel 2012-07-20 09:40

Re: [ANNOUNCE] Advanced Interface Switcher
 
Not so much, as "bleeding-edge-year-ago" drivers are open for all channels, by default :)

Mentalist Traceur 2012-07-20 13:53

Re: [ANNOUNCE] Advanced Interface Switcher
 
Quote:

Originally Posted by peterleinchen (Post 1239922)
For my use case and networks, it matches easily to distinguish.
Having a dual sim adapter and switching automatically via icon/app click between networks Vodafone (shown as Vod) and o2 - de (o2 ).
But for other maybe not so easy and not really needed, so I do not have a favourite here, keep it or change back.

I didn't know you could do that on the N900 - switch between two sim cards in a dual sim card adapter easily. That's awesome. Mind pointing me to a thread/post where this is covered?

Quote:

Originally Posted by Estel (Post 1240169)
Not so much, as "bleeding-edge-year-ago" drivers are open for all channels, by default :)

Are you sure? I don't believe you can actually access channels 12 and 13 with it? (Admittedly I don't remember if I ever tried, say, using aireplay-ng those channels, or airmon-ng to sniff on those channels....)


All times are GMT. The time now is 10:01.

vBulletin® Version 3.8.8