Re: GPRS / Wifi

2008-08-11 Thread Mike Baroukh
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 use only the entry point your provider offers. all

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. why

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 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 pam

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 you

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

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 the

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 probably

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

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 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 handle

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
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 use only the entry point your provider offers. all connections

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

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

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

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 might

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-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

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. udhcpc eth0

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 this

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

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

2008-07-24 Thread Evan
"wep_key0=I'm not showing that!" 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

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-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=21t=295#p2956 wow... someone (at best original author) should simply create a project within openmoko.org for those openmokoscripts and see if it

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

2008-07-15 Thread Brad Pitcher
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 with GPRS? - Is network-manager been ported? - The NM backend? - Anybody is doing an UI

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

2008-07-14 Thread ian douglas
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 with GPRS? - Is network-manager been ported

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

2008-07-14 Thread papa-piet
: 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 applicaiton yet. I SSH'd into my

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

2008-07-14 Thread Yaroslav Halchenko
] 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 with GPRS? - Is network-manager been ported

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 ifconfig usb0

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

2008-07-12 Thread Al Johnson
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 with GPRS? - Is network-manager been ported? - The NM backend

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 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 discover the

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 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, either

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

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 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 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 seem to

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 same dns for now.

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

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

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 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 applicaiton yet. I SSH'd into my