Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Maemo: Users

network priority and autoreconnect (OS2008)

 

 

Maemo users RSS feed   Index | Next | Previous | View Threaded


joshua at willowisp

Jan 17, 2008, 10:34 AM

Post #1 of 12 (652 views)
Permalink
network priority and autoreconnect (OS2008)

I am wondering if this is even possible, but is there a way to set up
priorities (as in wpa_supplicant.conf, for example) for the different
networking connections (including tethered BT)? I am getting really sick
of having to manually reconnect each connection.
My personal setup:
Home network: visible SSID, WPA-PSK, reconnects automatically
Work network: hidden SSID, WPA-PEAP/MS-CHAPv2, does not reconnect
automatically
Phone network: HSDPA via BT (AT&T), does not connect automatically

The biggest problem for me is that if I am connected to my phone (say, on
my commute...) it keeps the phone connection even if the Home wireless
network is available. Same is true of the work network, although the work
network never autoconnects. The real problem here is it drains my phone
battery unnecessarily when a WLAN is available.

I have no problem editing configuration files by hand, but is this even
possible? It is really a source of irritation for me.

I also would rather not _ever_ be prompted to set up a new network - I will
browse for one when I want to add something to my preferred network list.

Any help greatly appreciated.

Rgds,
Josh

_______________________________________________
maemo-users mailing list
maemo-users[at]maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


atmasphere at atmasphere

Jan 17, 2008, 11:24 AM

Post #2 of 12 (632 views)
Permalink
Re: network priority and autoreconnect (OS2008) [In reply to]

I posted about this exact same issue as it's how the iPhone works and
one of the very cool features of that device.

http://www.maemoapps.com/2007/10/23/maemo-feature-request-connection-switching/

In the comments is a link to the roadmap wishlist -
http://maemo.org/community/wiki/roadmapwishlist/ where I also added it
formally but have not heard anything since then.


On Jan 17, 2008 1:34 PM, Joshua Layne <joshua[at]willowisp.net> wrote:
> I am wondering if this is even possible, but is there a way to set up
> priorities (as in wpa_supplicant.conf, for example) for the different
> networking connections (including tethered BT)? I am getting really sick
> of having to manually reconnect each connection.
> My personal setup:
> Home network: visible SSID, WPA-PSK, reconnects automatically
> Work network: hidden SSID, WPA-PEAP/MS-CHAPv2, does not reconnect
> automatically
> Phone network: HSDPA via BT (AT&T), does not connect automatically
>
> The biggest problem for me is that if I am connected to my phone (say, on
> my commute...) it keeps the phone connection even if the Home wireless
> network is available. Same is true of the work network, although the work
> network never autoconnects. The real problem here is it drains my phone
> battery unnecessarily when a WLAN is available.
>
> I have no problem editing configuration files by hand, but is this even
> possible? It is really a source of irritation for me.
>
> I also would rather not _ever_ be prompted to set up a new network - I will
> browse for one when I want to add something to my preferred network list.
>
> Any help greatly appreciated.
>
> Rgds,
> Josh
>
> _______________________________________________
> maemo-users mailing list
> maemo-users[at]maemo.org
> https://lists.maemo.org/mailman/listinfo/maemo-users
>



--
Jonathan Greene
+1.914.750.8740
AIM / iChat - atmasphere
gtalk / jabber - jonathangreene[at]gmail.com
Skype / Gizmo - JonathanGreene
blogs - http://www.atmasphere.net/wp / http://www.maemoapps.com
_______________________________________________
maemo-users mailing list
maemo-users[at]maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


kalle.valo at nokia

Jan 17, 2008, 9:08 PM

Post #3 of 12 (629 views)
Permalink
Re: network priority and autoreconnect (OS2008) [In reply to]

"ext Joshua Layne" <joshua[at]willowisp.net> writes:

> The biggest problem for me is that if I am connected to my phone (say, on
> my commute...) it keeps the phone connection even if the Home wireless
> network is available. Same is true of the work network, although the work
> network never autoconnects. The real problem here is it drains my phone
> battery unnecessarily when a WLAN is available.
>
> I have no problem editing configuration files by hand, but is this even
> possible? It is really a source of irritation for me.

Our current software implementation does not support this, not even
with some tweaking. Sorry.

--
Kalle Valo
_______________________________________________
maemo-users mailing list
maemo-users[at]maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


mail at jespercheetah

Jan 18, 2008, 7:38 AM

Post #4 of 12 (627 views)
Permalink
Re: network priority and autoreconnect (OS2008) [In reply to]

On Fri, Jan 18, 2008 at 07:08:27AM +0200, Kalle Valo wrote:
> "ext Joshua Layne" <joshua[at]willowisp.net> writes:
>
> > The biggest problem for me is that if I am connected to my phone (say, on
> > my commute...) it keeps the phone connection even if the Home wireless
> > network is available. Same is true of the work network, although the work
> > network never autoconnects. The real problem here is it drains my phone
> > battery unnecessarily when a WLAN is available.
> >
> > I have no problem editing configuration files by hand, but is this even
> > possible? It is really a source of irritation for me.
>
> Our current software implementation does not support this, not even
> with some tweaking. Sorry.

I believe I have seen wpa_supplicant for the N800 somewhere (probably
OS2007 at that time). Wouldn't that work, with the regular network
selection set to a dummy AP?

--
Jesper Cheetah <mail+maemo[at]jespercheetah.dk>
_______________________________________________
maemo-users mailing list
maemo-users[at]maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


joshua at willowisp

Jan 18, 2008, 8:56 AM

Post #5 of 12 (628 views)
Permalink
Re: network priority and autoreconnect (OS2008) [In reply to]

Kalle Valo wrote:
> "ext Joshua Layne" <joshua[at]willowisp.net> writes:
>
>
>> The biggest problem for me is that if I am connected to my phone (say, on
>> my commute...) it keeps the phone connection even if the Home wireless
>> network is available. Same is true of the work network, although the work
>> network never autoconnects. The real problem here is it drains my phone
>> battery unnecessarily when a WLAN is available.
>>
>> I have no problem editing configuration files by hand, but is this even
>> possible? It is really a source of irritation for me.
>>
>
> Our current software implementation does not support this, not even
> with some tweaking. Sorry.
>
>
Hi Kalle,
Thanks for the reply. Do you know if it is possible to use
wpa_supplicant (I realize I might have to port it myself), just
wondering about driver compatibility. Otherwise, maybe something like
gnome network manager to wrap it to get support for the BT DUN.

I saw the blog post and the feature request on maemo - any idea of
whether this is in scope for a future release?

Regards,
Josh
_______________________________________________
maemo-users mailing list
maemo-users[at]maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


joshua at willowisp

Jan 18, 2008, 9:03 AM

Post #6 of 12 (629 views)
Permalink
Re: network priority and autoreconnect (OS2008) [In reply to]

Jesper Cheetah wrote:
> On Fri, Jan 18, 2008 at 07:08:27AM +0200, Kalle Valo wrote:
>
>> "ext Joshua Layne" <joshua[at]willowisp.net> writes:
>>
>>
>>> The biggest problem for me is that if I am connected to my phone (say, on
>>> my commute...) it keeps the phone connection even if the Home wireless
>>> network is available. Same is true of the work network, although the work
>>> network never autoconnects. The real problem here is it drains my phone
>>> battery unnecessarily when a WLAN is available.
>>>
>>> I have no problem editing configuration files by hand, but is this even
>>> possible? It is really a source of irritation for me.
>>>
>> Our current software implementation does not support this, not even
>> with some tweaking. Sorry.
>>
>
> I believe I have seen wpa_supplicant for the N800 somewhere (probably
> OS2007 at that time). Wouldn't that work, with the regular network
> selection set to a dummy AP?
>
>
I think it would handle everything besides the BT DUN - I replied to
Kalle before I got your message, thanks for the suggestion - along the
same lines as my thinking :)

I really need to get my build environment up...
j.
_______________________________________________
maemo-users mailing list
maemo-users[at]maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


kalle.valo at nokia

Jan 21, 2008, 3:17 AM

Post #7 of 12 (613 views)
Permalink
Re: network priority and autoreconnect (OS2008) [In reply to]

"ext Joshua Layne" <joshua[at]willowisp.net> writes:

> Thanks for the reply. Do you know if it is possible to use
> wpa_supplicant (I realize I might have to port it myself), just
> wondering about driver compatibility.

Current WLAN driver is incompatible with wpa_supplicant, but Lauro
Venancio has posted a patch to cx3110x-devel for supporting
wpa_supplicant:

https://garage.maemo.org/pipermail/cx3110x-devel/2007-November/000005.html

--
Kalle Valo
_______________________________________________
maemo-users mailing list
maemo-users[at]maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


kalle.valo at nokia

Jan 21, 2008, 3:25 AM

Post #8 of 12 (613 views)
Permalink
Re: network priority and autoreconnect (OS2008) [In reply to]

"ext Jesper Cheetah" <mail[at]jespercheetah.dk> writes:

> On Fri, Jan 18, 2008 at 07:08:27AM +0200, Kalle Valo wrote:
>> "ext Joshua Layne" <joshua[at]willowisp.net> writes:
>>
>> > The biggest problem for me is that if I am connected to my phone (say, on
>> > my commute...) it keeps the phone connection even if the Home wireless
>> > network is available. Same is true of the work network, although the work
>> > network never autoconnects. The real problem here is it drains my phone
>> > battery unnecessarily when a WLAN is available.
>> >
>> > I have no problem editing configuration files by hand, but is this even
>> > possible? It is really a source of irritation for me.
>>
>> Our current software implementation does not support this, not even
>> with some tweaking. Sorry.
>
> I believe I have seen wpa_supplicant for the N800 somewhere (probably
> OS2007 at that time). Wouldn't that work, with the regular network
> selection set to a dummy AP?

I don't see any easy way to do this (ie. automatically switch from
BT-DUN to WLAN). Basically you would have to replace icd with some
other component handling higher level connection switching.

--
Kalle Valo
_______________________________________________
maemo-users mailing list
maemo-users[at]maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


atmasphere at atmasphere

Jan 21, 2008, 4:52 AM

Post #9 of 12 (613 views)
Permalink
Re: network priority and autoreconnect (OS2008) [In reply to]

On Jan 21, 2008 6:25 AM, Kalle Valo <kalle.valo[at]nokia.com> wrote:
> I don't see any easy way to do this (ie. automatically switch from
> BT-DUN to WLAN). Basically you would have to replace icd with some
> other component handling higher level connection switching.

The iPhone seems to continue to scan for networks on occasion even
when connected over edge (not DUN) which lets it see and auto-switch
to your known wifi locations. This is pretty slick actually and when
you walk in your house the device is on the faster network...


--
Jonathan Greene
+1.914.750.8740
AIM / iChat - atmasphere
gtalk / jabber - jonathangreene[at]gmail.com
Skype / Gizmo - JonathanGreene
blogs - http://www.atmasphere.net/wp / http://www.maemoapps.com
_______________________________________________
maemo-users mailing list
maemo-users[at]maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


marius at pov

Jan 22, 2008, 12:36 PM

Post #10 of 12 (607 views)
Permalink
Re: network priority and autoreconnect (OS2008) [In reply to]

On Mon, Jan 21, 2008 at 07:52:53AM -0500, Jonathan Greene wrote:
> On Jan 21, 2008 6:25 AM, Kalle Valo <kalle.valo[at]nokia.com> wrote:
> > I don't see any easy way to do this (ie. automatically switch from
> > BT-DUN to WLAN). Basically you would have to replace icd with some
> > other component handling higher level connection switching.
>
> The iPhone seems to continue to scan for networks on occasion even
> when connected over edge (not DUN) which lets it see and auto-switch
> to your known wifi locations. This is pretty slick actually and when
> you walk in your house the device is on the faster network...

Yummy.

Although I would prefer it not do that and kill my existing ssh
connections by changing my externally visible IP address.

Marius Gedminas
--
If it wasn't for C, we'd be using BASI, PASAL and OBOL
Attachments: signature.asc (0.18 KB)


atmasphere at atmasphere

Jan 22, 2008, 12:42 PM

Post #11 of 12 (607 views)
Permalink
Re: network priority and autoreconnect (OS2008) [In reply to]

On Jan 22, 2008 3:36 PM, Marius Gedminas <marius[at]pov.lt> wrote:
> On Mon, Jan 21, 2008 at 07:52:53AM -0500, Jonathan Greene wrote:
> > On Jan 21, 2008 6:25 AM, Kalle Valo <kalle.valo[at]nokia.com> wrote:
> > > I don't see any easy way to do this (ie. automatically switch from
> > > BT-DUN to WLAN). Basically you would have to replace icd with some
> > > other component handling higher level connection switching.
> >
> > The iPhone seems to continue to scan for networks on occasion even
> > when connected over edge (not DUN) which lets it see and auto-switch
> > to your known wifi locations. This is pretty slick actually and when
> > you walk in your house the device is on the faster network...
>
> Yummy.
>
> Although I would prefer it not do that and kill my existing ssh
> connections by changing my externally visible IP address.
>

Agree - the negative is that it auto-switches when you walk into
starbucks to t-mobile and unless you are prepared to login (or have an
account) you lose the link or process on which you were following ...
There's got to be a way though to consider how the E-Series phones let
you create a stack of connection priorities ...
_______________________________________________
maemo-users mailing list
maemo-users[at]maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


ktneely at astroturfgarden

Jan 22, 2008, 12:52 PM

Post #12 of 12 (609 views)
Permalink
Re: network priority and autoreconnect (OS2008) [In reply to]

On Tue, Jan 22, 2008 at 10:36:43PM +0200, Marius Gedminas wrote:
> Although I would prefer it not do that and kill my existing ssh
> connections by changing my externally visible IP address.


When I started running around with my 770, I found that the 'screen' program was my best long-lost friend. Had been a while since I used it, but I fell back in love with it now that I basically carry a wireless dumb terminal/mp3 player in my pocket.

Changes unexpected disconnects into a very minor annoyance.

K

--
In Vino Veritas
http://astroturfgarden.com
Attachments: signature.asc (0.19 KB)

Maemo users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.