On Mon, 16 May 2011 23:57:13 -0300 Gustavo Sverzut Barbieri

> > well right now i don't see any logic in the sorting as it doesn't display
> > signal strength of each ap etc. :)
> 
> use efenniht theme :-) or wait someone to fix b&w

well thats part of shipping e17. the default needs to work properly :)

> > so connman can't disable a specific device? thats rather poopie. eg have 2
> > ethernet cards and i want just 1 controlled by connman, other left to "i'm
> > doing work on that one and configure that one by hand".
> 
> no, it can't. He says if you're doing development or other corner-case
> task (I do have to agree here, it's not a regular use case) you can
> start "connmand -I eth1" to ignore eth1.
> 
> He said if this is about host x gadget mode on USB, then he said it
> already detects USB gadget side, this is used to enable USB tethering.

well i swear theres some connman-gnome util GUI that lets me select specific
devices to ignore. so it's somehow possible...

> >> I did not look into connman's latest proxy stuff, but should be
> >> doable. however they were working on PAC (Proxy Auto Configuration)
> >> and this should reduce the need for auto-configuration.
> >
> > that's good - but it's still a need :)
> 
> Talked to him, he is pushing for PACrunner and its
> org.pacrunner.Client.FindProxyForURL(your_url) that will calculate the
> proxy for the given URL. They are providing a wrapper around libproxy
> for that, but anyone can (should) talk to DBus directly as it's
> asynchronous (while libproxy is synchronous).
> 
> The proxy configuration is based on the manual list of URL and
> excludes you provide manually or automatically with PAC/WPAD. He said
> his test case is within Intel's infrastructure with a quite complex
> PAC file of 24kb.

only 24kb? bah! 80kb pac sitting here... UGH!

well i was hoping for just the simple thing of "for network X, set up proxy for
http and https, or set no proxy". and presto. sure. full on PAC stuff and
per-url proxy stuff is nice. i was hoping for simpler yet useful. :)

> >> I'm not aware on how they implemented it, but if I was the one to
> >> implement, I'd do HTTP proxy transparently in the system by using
> >> iptables to redirect outgoing stream on port 80 to proxy.
> >
> > don't tell me. you would then be sensible and know what you are doing.
> > unfortunately there are massive IT departments around with significantly
> > less clue than you. and you are just a mere "programmer". :)
> 
> ehehe... when I mentioned the "locally transparent proxy" using
> iptables he almost spanked me. Although I never saw that in practice,
> he said proxy configuration is a dynamic matter and you can't provide
> it with fixed iptables rules :-)  Ok, he knows more than me there,
> let's agree with him.

but my point is that when you have a network that doesnt even tell you what
proxy to use and you need to look up manual ip addresses for the PAC url
location .. .for your browser, and then for simpler things like wget, apt have
to set http and https proxy env vars etc... it's be nice just to have 1 stop to
manually set it up.. much like manual ip address setup. :)

> > well it's currently not in the daemon, so it needs to exist somewhere. :)
> > the gui can implement it - we can have a nice ecore_con_url baby do the
> > job :) thay or ping (which means pprobably just ecore_exe_run'ing ping
> > +options and parsing its stdout)
> 
> he said connmand does HTTP request to validate connectivity. You need
> to enable the "portal" plugin and it will ping
> http://www.connman.net/online/status.html

hmm all fine and great to do http req... if your proxy setup is right :) does
it manage to just detect lan connectivity? eg if it can ping the router etc.? i
mulled this too but it all assumes that the user just wants connectivity to the
"big bad internet" and not "just the local network". does it have "levels of
success" eg. succeeded in getting address, succeeded in getting address AND can
ping/contact LAN hosts (gateway, dns server), got address, can access LAN hosts
ANd can get to the big bad interweebs? thats what the ready and online states
are? ready being step #2 above, online is #3?

> >> That's the reason connman now have a "ready" state as well as
> >> "online". There are also some properties like LoginRequired and
> >> SetupRequired to see if additional work must be done.
> >
> > sure... but... not done yet :)
> 
> seems it is done, check this "portal" plugin. We could just show a
> "limited connectivity" icon/status.

cool. i guess we msotly need to have handling for all the statuses (ready and
online, loginrequired etc.) and display appropriate icons/status. for
loginrequired state in theory we should launch a browser when u click on it or
offer a menu with "login now?" or something. it'd be nice to use eve at some
point... maybe e18. worry about that then.

> > oh yes. definitely. i forgot about this. sometimes connman gadget can sit
> > there and try and "connect" forever, or its connected and still displays
> > the "i'm connecting" animation forever.
> 
> ah, that is an edje bug :-P we don't handle one of the states (online
> or ready?) and don't stop the connecting animation.

aaaah ok. again - little things need fixing up here.

> > very cool - if connman supports it - add support. i was going to mention
> > this, but decided that it's able to be lived without if connman doesn't do
> > it yet. reality is that to tether you need to also run a dhcpd on some
> > other network port etc. etc. :) (to make it really easy to use).
> 
> it should be easy, a small set of properties to setup. The nasty bits
> are handled automatically.

sure. but if connman can do it.. we should try provide the option/button to
trigger it in connman.

> >>   - stats: we currently don't show any statistics (when we wrote there
> >> were any), BWM guys added lots of them, so you can know how much you
> >> transferred and how much should you pay, etc.
> >
> > that'd be most cool. and even track stats per connection and make them
> > persistent over multiple sessions (and record every session separately).
> 
> that is done already, data is persistent across sessions.

cool. then all we need to do is.. be able to display and otherwise "control
it" (turn it on and off, clear/delete sessions etc.)

-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    ras...@rasterman.com


------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to