Re: GPRS / Wifi

2008-08-11 Thread Stroller
On 11 Aug 2008, at 16:11, Mike Baroukh wrote: >> What about the mail application? Every 5 minutes it should only check >> for new messages if you're on your provider's own network ... >> I described how the Nokia N95 handles this in my post of 10 August >> 2008 13:30:19 BST (search for "N95" in t

Re: GPRS / Wifi

2008-08-11 Thread Mike Baroukh
> > I described how the Nokia N95 handles this in my post of 10 August > 2008 13:30:19 BST (search for "N95" in the subject) but perhaps not > very clearly, as I hoped for more replies. Apparently I wasted too > Well, I found your post. Effectively, it was pretty ... long ... On each typ

Re: GPRS / Wifi

2008-08-11 Thread arne anka
> What about the mail application? Every 5 minutes it should only check > for new messages if you're on your provider's own network, not when > you are on holiday in Spain. i am afraid that's beyond the scope of the solution i outlined. though i guess as soon as the necessary informations are avai

Re: GPRS / Wifi

2008-08-11 Thread Stroller
On 11 Aug 2008, at 10:52, arne anka wrote: > ... all programs > connecting to the net should be absolutely agnostic to the kind of > connection you use. What about the mail application? Every 5 minutes it should only check for new messages if you're on your provider's own network, not when y

Re: GPRS / Wifi

2008-08-11 Thread Mike Baroukh
> > i don't think so -- checking the proxy variable should be transparent to > the apps and done by which layer is responsible for managing th connection. indeed, if the variable is only in environnement, you must restart. Also, I'm still not sure that there is a variable. Who can set it ? Only p

Re: GPRS / Wifi

2008-08-11 Thread arne anka
>> for the proxy: as someone mentioned before -- there is a global variable >> defining the proxy . > > Does this mean that I have to re-start my applications when I connect ? > Not optimal ... i don't think so -- checking the proxy variable should be transparent to the apps and done by which la

Re: GPRS / Wifi

2008-08-11 Thread Mike Baroukh
> > for the proxy: as someone mentioned before -- there is a global variable > defining the proxy . Does this mean that I have to re-start my applications when I connect ? Not optimal ... Anyway do you know who put this variable ? And where to configure it's value ? Mike arne anka a écrit :

Re: GPRS / Wifi

2008-08-11 Thread arne anka
> If I take a concrete example : my ~/.wgetrc. > i wan't to connect to internet > - from home, with wifi, I have direct access to internet. > - from work, with wifi, I must use a proxy. > - from outside, I must use GPRS with another proxy. > > It's easy to make a script that will update .wgetrc.

Re: GPRS / Wifi

2008-08-10 Thread Mike Baroukh
ur > provider puts you in some kind of vpn, not available from the inet by othe > means then a proxy of your provider. > - bt networking seem snot to be a widely used option > > so, imo the only means of networking subject to intelligent settings are > wfi and gprs. > wif

Re: GPRS / Wifi

2008-08-10 Thread arne anka
i need either a new keyboard or new hands ... ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community

Re: GPRS / Wifi

2008-08-10 Thread arne anka
bt networking seem snot to be a widely used option so, imo the only means of networking subject to intelligent settings are wfi and gprs. wifi is, as said before, configurable in wpa_supplicant.conf (ar any othe way, like networkmanager). gprs does not need more than one setting since you usually

Re: GPRS / Wifi

2008-08-10 Thread Mike Baroukh
> > you can do that in wpa_supplicant.conf. > just add your different wifi-aps to the conf (it does wep and no enc, too) > and let wpa_supplicant handle it. I'll take a look. But there must be something I don't understand. Because if wpa_supplicant handle only wifi, what about usb, gprs or other

Re: GPRS / Wifi

2008-08-10 Thread arne anka
> Not so easy : > - you may have 2 places where the same interface has different > parameters (wifi at home and wifi at work ...). So you can't just add you can do that in wpa_supplicant.conf. just add your different wifi-aps to the conf (it does wep and no enc, too) and let wpa_supplicant handl

Re: GPRS / Wifi

2008-08-10 Thread Roland Mas
Mike Baroukh, 2008-08-10 12:43:49 +0200 : >> >> Putting scripts into /etc/network/if-up.d would probably work. > > Not so easy : > - you may have 2 places where the same interface has different > parameters (wifi at home and wifi at work ...). So you can't just add > "[pre|post]-up" parameters in

Re: GPRS / Wifi

2008-08-10 Thread Mike Baroukh
> > Putting scripts into /etc/network/if-up.d would probably work. Not so easy : - you may have 2 places where the same interface has different parameters (wifi at home and wifi at work ...). So you can't just add "[pre|post]-up" parameters in /etc/network/interface. - Not so easy to configure tan

Re: GPRS / Wifi

2008-08-10 Thread Roland Mas
Mike Baroukh, 2008-08-10 00:52:11 +0200 : > But I'm asking this : When using wifi or usb, I don't need a proxy. > When using GPRS, I need a proxy. > I will not re-configure anything each time. > > Does somebody know if there is a solution ? Putting scripts into /etc/network/if-up.d would probab

GPRS / Wifi

2008-08-09 Thread Mike Baroukh
Hi. I succeded to connect to GRPS with FSO. I never succedeed under OM2007 or ASU. If somebody is interested, I'm in France and my provider is Bouyges Telecom. I completed http://wiki.openmoko.org/wiki/Manually_using_GPRS with my APN. But I'm asking this : When using wifi or usb, I don't need a p

Re: Fast questions (email, GPRS, WiFi...)

2008-07-26 Thread Peter Nijs
After a while it became clear it was only reproducible when my neo can visibly see my router. When there's concrete in between it doesn't work for my neo. My notebook on the other hand reports 60% signal strength and can connect in seconds. When udhcpc is sending "discovers" I can see on my rou

Re: Fast questions (email, GPRS, WiFi...)

2008-07-26 Thread Peter Nijs
Ok, I switched to wpa. I had to change the key anyway (If you watch the iwconfig output I posted, you can see my wep-key :P ). Peter Op Friday 25 July 2008 00:06:38 schreef Evan: > "wep_key0=" > > its wep, therefore obsolete. if anyone lives near you and wants to know > your key, they will tak

Re: Fast questions (email, GPRS, WiFi...)

2008-07-25 Thread Charles-Henri Gros
Yaroslav Halchenko wrote: >> Is it possible to leave the USB connection up, so you can work on the >> Freerunner via ssh, and at the same time bring up the WIFI? > sure -- just have wifi and usb0 on different networks (e.g. > 192.168.0.0/24 for usb and 192.168.1.0/24 for wifi). the only glitch > mi

Re: Fast questions (email, GPRS, WiFi...)

2008-07-24 Thread Peter Nijs
With udhcpc eth0 immediatly after ifup eth0 I seem to get an IP (reproducably!). I also did ifdown usb0 now before I did ifup eth0. I was planning to that _after_ I got an IP on eth0. Thanks for the help! Peter Nijs Op Thursday 24 July 2008 23:09:12 schreef Jim Morris: > Make sure you do ifdown

Re: Fast questions (email, GPRS, WiFi...)

2008-07-24 Thread Evan
"wep_key0=" its wep, therefore obsolete. if anyone lives near you and wants to know your key, they will take the 10 minutes or less that it takes to crack any wep key. consider wpa Jim Morris wrote: Make sure you do ifdown usb0 before ifup eth0 Then if dhcp does not get a lease first tim

Re: Fast questions (email, GPRS, WiFi...)

2008-07-24 Thread Yaroslav Halchenko
> Is it possible to leave the USB connection up, so you can work on the > Freerunner via ssh, and at the same time bring up the WIFI? sure -- just have wifi and usb0 on different networks (e.g. 192.168.0.0/24 for usb and 192.168.1.0/24 for wifi). the only glitch might come if you are going to acce

Re: Fast questions (email, GPRS, WiFi...)

2008-07-24 Thread Al Johnson
It's also worth using wpa_cli to see whether wpa_supplicant it associating with the AP properly. On Thursday 24 July 2008, Jim Morris wrote: > Make sure you do ifdown usb0 before ifup eth0 > > Then if dhcp does not get a lease first time through (which for me is about > 50/50) then you can do th

Re: Fast questions (email, GPRS, WiFi...)

2008-07-24 Thread Dale Schumacher
On Thu, Jul 24, 2008 at 4:09 PM, Jim Morris <[EMAIL PROTECTED]> wrote: > > Make sure you do ifdown usb0 before ifup eth0 > > Then if dhcp does not get a lease first time through (which for me is about > 50/50) > then you can do this from the console which always gets the lease for me. > > > udhcp

Re: Fast questions (email, GPRS, WiFi...)

2008-07-24 Thread Jim Morris
Make sure you do ifdown usb0 before ifup eth0 Then if dhcp does not get a lease first time through (which for me is about 50/50) then you can do this from the console which always gets the lease for me. > udhcpc eth0 After that wifi should work. Peter Nijs wrote: > After a whole lot of tweaki

Re: Fast questions (email, GPRS, WiFi...)

2008-07-24 Thread Peter Nijs
After a whole lot of tweaking I still cannot get an IP from my wireless router. My current setup looks like this: /etc/network/interfaces:--- # /etc/network/interfaces -- configuration file for ifup(8), ifdown(8) # The loopback interface auto lo iface lo inet loopback #

Re: Fast questions (email, GPRS, WiFi...)

2008-07-15 Thread Brad Pitcher
; > > >>>>get the instructions for using WIFI on freerunner posted to the wiki. >>>> > > >>>>Michael assist. >>>> > > >>>> Steve >>>> > > >>>

Re: Fast questions (email, GPRS, WiFi...)

2008-07-15 Thread Marco Trevisan (Treviño)
Yaroslav Halchenko wrote: > On Mon, 14 Jul 2008, papa-piet wrote: >> Hi Ian, >> check out that one: >> http://freeyourphone.de/portal_v1/viewtopic.php?f=21&t=295#p2956 > wow... someone (at best original author) should simply create a project > within openmoko.org for those openmokoscripts and see i

Re: Fast questions (email, GPRS, WiFi...)

2008-07-14 Thread Yaroslav Halchenko
Michael assist. > >> Steve > >> -Original Message- > >> From: [EMAIL PROTECTED] > >> [mailto:[EMAIL PROTECTED] On Behalf Of ian douglas > >> Sent: Friday, July 11, 2008 4:32 PM > >> To: List for Openmoko community discussion > >>

Re: Fast questions (email, GPRS, WiFi...)

2008-07-14 Thread papa-piet
AIL PROTECTED] On Behalf Of ian douglas >> Sent: Friday, July 11, 2008 4:32 PM >> To: List for Openmoko community discussion >> Subject: Re: Fast questions (email, GPRS, WiFi...) >> >> Diego Fernández Durán wrote: >>> - Is there any UI to conect using WiFi? and

Re: Fast questions (email, GPRS, WiFi...)

2008-07-14 Thread ian douglas
m: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of ian douglas > Sent: Friday, July 11, 2008 4:32 PM > To: List for Openmoko community discussion > Subject: Re: Fast questions (email, GPRS, WiFi...) > > Diego Fernández Durán wrote: >> - Is there any UI to conect

Re: Fast questions (email, GPRS, WiFi...)

2008-07-13 Thread Łukasz Holetzke
> > > I've been trying for several hours to get wifi working, it never seems to > connect although it can > > see my station. > > > > I tried this too as it makes sense to turn off usb0, but that didn't seem > to work either, I wrote > > this script to make it easy from console (I also tried ifconf

Re: Fast questions (email, GPRS, WiFi...)

2008-07-12 Thread Jim Morris
Jim Morris wrote: > Alexander Syring wrote: >> I think you have to bring up a nameserver >> >> echo namserver 1.2.3.4 > /etc/resolv.conf >>^ ip of nameserver to use >> >> >> > > Good point, I already have a hardwired resolv.conf, and the wifi and usb can > use the

Re: Fast questions (email, GPRS, WiFi...)

2008-07-12 Thread Jim Morris
Alexander Syring wrote: > I think you have to bring up a nameserver > > echo namserver 1.2.3.4 > /etc/resolv.conf >^ ip of nameserver to use > > > Good point, I already have a hardwired resolv.conf, and the wifi and usb can use the same dns for now. Wifi does s

Re: Fast questions (email, GPRS, WiFi...)

2008-07-12 Thread Jim Morris
Alexander Syring wrote: > And probably you have to del the usb0 default route > > route del default gw 192.168.0.202 > That seems to happen automatically when I do ifdown usb0 ifup eth0 routes look good now, but wifi is flaky, keeps just stopping, but as the ssh also freezes its hard to say

Re: Fast questions (email, GPRS, WiFi...)

2008-07-12 Thread Alexander Syring
And probably you have to del the usb0 default route route del default gw 192.168.0.202 Am Sonntag, 13. Juli 2008 01:14:59 schrieb Jim Morris: > Ok using these scripts u and d (below) and the suggestion below it works, > but is unreliable, I can ssh into it over wifi, but it quickly loses its >

Re: Fast questions (email, GPRS, WiFi...)

2008-07-12 Thread Alexander Syring
I think you have to bring up a nameserver echo namserver 1.2.3.4 > /etc/resolv.conf ^ ip of nameserver to use Am Sonntag, 13. Juli 2008 01:14:59 schrieb Jim Morris: > Ok using these scripts u and d (below) and the suggestion below it works, > but is unreliable, I

Re: Fast questions (email, GPRS, WiFi...)

2008-07-12 Thread Jim Morris
Ok using these scripts u and d (below) and the suggestion below it works, but is unreliable, I can ssh into it over wifi, but it quickly loses its connection, not sure why yet. # u this turns on wifi and usb0 off ifdown usb0 ifup eth0 # d this brings back usb0 ifdown eth0 killall wpa_supplicant

Re: Fast questions (email, GPRS, WiFi...)

2008-07-12 Thread arne anka
> Although it says encryption key off, but I presume wpa_supplicant is > handling that. says here, too. but since my ap does only wpa and the fr can reach inet it's probably only cosmetic. > So its connected to my access point, and I turned off eth0, but I cannot > ping the wireless, eith

Re: Fast questions (email, GPRS, WiFi...)

2008-07-12 Thread Jim Morris
arne anka wrote: > well, i did what > http://wiki.openmoko.org/wiki/GTA02_wlan > says -- adding > > iface eth0 inet dhcp > wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf > Ok that worked, although I have some routing issues now. The manual method did not work though. > iwconfig eth0 AR

Re: Fast questions (email, GPRS, WiFi...)

2008-07-12 Thread arne anka
well, i did what http://wiki.openmoko.org/wiki/GTA02_wlan says -- adding iface eth0 inet dhcp wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf to /etc/network/interfaces. make sure, the path to wpa_supplicant.conf matches yours. to fire wkan w/ wpa up i have to do ifup eth0 not sure, though,

Re: Fast questions (email, GPRS, WiFi...)

2008-07-12 Thread Jim Morris
Russell Sears wrote: > I do this: > > ifdown eth0 > iwconfig eth0 essid "TheEssid" && ifup eth0 && ifdown usb0 > > I haven't setup wpa or even wep though... > > - What does iwconfig say before you do udhcpc? Did the card associate > with the access point (non-zero link quality)? Did the card

Re: Fast questions (email, GPRS, WiFi...)

2008-07-12 Thread Jim Morris
I'll try these things but without a usb connection and ssh terminal they are all very hard to do from the on screen terminal window :) My access point shows up in the scan list, but does not connect, and I don't see and errors. Russell Sears wrote: > I do this: > > ifdown eth0 > iwconfig eth0

Re: Fast questions (email, GPRS, WiFi...)

2008-07-12 Thread Al Johnson
ROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of ian douglas > Sent: Friday, July 11, 2008 4:32 PM > To: List for Openmoko community discussion > Subject: Re: Fast questions (email, GPRS, WiFi...) > > Diego Fernández Durán wrote: > > - Is there any UI to conect usi

RE: Fast questions (email, GPRS, WiFi...)

2008-07-11 Thread steve
Subject: Re: Fast questions (email, GPRS, WiFi...) Diego Fernández Durán wrote: > - Is there any UI to conect using WiFi? and with GPRS? > - Is network-manager been ported? > - The NM backend? > - Anybody is doing an UI for this? I havne't seen any wifi UI applica

Re: Fast questions (email, GPRS, WiFi...)

2008-07-11 Thread Russell Sears
I do this: ifdown eth0 iwconfig eth0 essid "TheEssid" && ifup eth0 && ifdown usb0 I haven't setup wpa or even wep though... - What does iwconfig say before you do udhcpc? Did the card associate with the access point (non-zero link quality)? Did the card discover the access points MAC address

Re: Fast questions (email, GPRS, WiFi...)

2008-07-11 Thread Jim Morris
ian douglas wrote: > I havne't seen any wifi UI applicaiton yet. I SSH'd into my Freerunner, > edited /etc/wpa_supplicant/wpa_supplicant.conf to alter the essid and > key, typed "ifup eth0", then unplugged the USB cable, opened a terminal, > ran "ifconfig usb0 down", opened the browser and navigat

Re: Fast questions (email, GPRS, WiFi...)

2008-07-11 Thread ian douglas
Diego Fernández Durán wrote: > - Is there any UI to conect using WiFi? and with GPRS? > - Is network-manager been ported? > - The NM backend? > - Anybody is doing an UI for this? I havne't seen any wifi UI applicaiton yet. I SSH'd into my Freerunner, edited /etc/wpa_supplicant/w

Fast questions (email, GPRS, WiFi...)

2008-07-11 Thread Diego Fernández Durán
Hi all, My FR is here! :) The 8GB Sandisk card works flawlessly. Now a few simple questions: - Is there any UI to conect using WiFi? and with GPRS? - Is network-manager been ported? - The NM backend? - Anybody is doing an UI for this? - Can I help? [1] - Is there any