[QtMoko] application development - 2

2010-05-26 Thread Kahless
Hi Radek, Hi List,

after successfully setting up the whole cross compile and qtmoko build
environment i'm trying to compile some test applications.

crosscompiling works and the resuling arm binary works fine on my
freerunner, but it's just a very ugly grey one.

i read in the wiki:

> if your package does not have qtmoko look and feel, place it in sub folder of 
> qtmoko git - e.g. qtmoko apps directory is best place. 

but that doesn't work for me. atm my sample programs are located here:
"build/qtmoko-apps/". i tested some other locations, but nothing worked
so far.

any help would be appreciated.

Sascha

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: FR as wifi access point

2010-05-26 Thread Timo Juhani Lindfors
Ed Kapitein  writes:
> I hope it saves someone 5 minutes of scripting :-)

Why all the sleeps? ;-)

My script for sharing gprs connection with wlan:

#!/bin/sh
om wifi power 1
sleep 4
sudo ifconfig wlan down
sudo iwconfig wlan mode ad-hoc
sudo iwconfig wlan channel 5
sudo iwconfig wlan essid "openmoko"
sudo ifconfig wlan up
sudo ip addr add 10.4.2.1/24 dev wlan

sudo /etc/init.d/udhcpd start
sudo /etc/init.d/bind9 start
# sudo /etc/init.d/ircd-hybrid start
# sudo /etc/init.d/thttpd start
sudo iptables -t nat -A POSTROUTING -s 10.4.2.0/24 -j MASQUERADE
sudo sh -c 'echo 1 > /proc/sys/net/ipv4/ip_forward'


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Using Wi-Fi

2010-05-26 Thread urodelo
Hi,
I don't know if you already know how to use a linux system, so that you  
can understand the command line. There are some softwares for enabling the  
wifi on shr and qtmoko, but with wep basically they never worked for me.  
However others told me on this ml about an application for shr, called  
iliwi, which works with wep if you are using dhcp on you access point, if  
i remember well it already comes with a fresh shr installation. If you  
can't use it, because don't have a dhcp server, open a terminal window and  
type following commands:


ifconfig eth0 "ipofyourfreerunner"
route add default gw "ipofyourwindowspc"
iwconfig eth0 essid "yournetworkessid" key "yourHEXpassphrase"

both IP should own to the same network class (ex 192.168.2.202 and  
192.2.200). For me, I always need to issue those commands twice for makind  
it work; I know I'm connected when the 2nd time I get :
SIOCADDRT: file exists.

Type iwconfig eth0 in a terminal, if it shows that it's associated to the  
ap/pc, you can now try to ping your default gateway, and if it works, you  
can transfer the file to your pc.

I suggest you to put all the above commmands inside a bash script to run  
when you need, it'll be faster and easier

bye
urodelo

On Wed, 26 May 2010 21:22:16 +0200, Tanmay Mathur  
 wrote:

> Hi,
>
> I am a beginner trying to connect neo freerunner to a wep wireless  
> network
> on my laptop using windows. The aim is to send a file from neo to the  
> laptop
> via WiFi. Please suggest the method to connect it with my laptop. What
> commands should i use..?
>
> Thanx.


-- 
Creato con il rivoluzionario client e-mail di Opera:  
http://www.opera.com/mail/


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Using Wi-Fi

2010-05-26 Thread Tanmay Mathur
Hi,

I am a beginner trying to connect neo freerunner to a wep wireless network
on my laptop using windows. The aim is to send a file from neo to the laptop
via WiFi. Please suggest the method to connect it with my laptop. What
commands should i use..?

Thanx.
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [Ventura] at&t wifi hotspot portal (Starbucks)

2010-05-26 Thread undrwater


Xavier Cremaschi wrote:
> 
> 
> Check
> 
> /etc/ssl/certs/ca-certificates.crt
> /etc/ssl/certs/ca.pem
> 
> maybe... IIRC, one of these was missing some time ago, therefore no https.
> 
> 

These and many others appear to be installed by default thee days.  Has
anyone with a linux box accessed this portal?  I wonder if it has its own
cert?
-- 
View this message in context: 
http://openmoko-public-mailinglists.1958.n2.nabble.com/Ventura-at-t-wifi-hotspot-portal-Starbucks-tp5101774p5105257.html
Sent from the Openmoko Community mailing list archive at Nabble.com.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: FR as wifi access point

2010-05-26 Thread Ed Kapitein
Hi,

I managed to set up ad-hoc networking between my laptop and fr with the
following scripts:

on the FR:
#!/bin/bash
echo s3c2440-sdi >/sys/bus/platform/drivers/s3c2440-sdi/unbind
sleep 2
modprobe -vr ar6000
sleep 2
modprobe -v ar6000 debuglevel=5
sleep 5
echo s3c2440-sdi >/sys/bus/platform/drivers/s3c2440-sdi/bind
sleep 2
iwconfig eth0 mode ad-hoc
sleep 2
iwconfig eth0 channel 11
sleep 2
iwconfig eth0 essid happy
sleep 2
ifconfig eth0 192.168.123.1 netmask 255.255.255.0

on the laptop:
#!/bin/bash
modprobe -vr iwlagn
sleep 2
modprobe -v iwlagn
sleep 2
iwconfig wlan0 mode ad-hoc
sleep 2
iwconfig wlan0 channel 11
sleep 2
iwconfig wlan0 essid happy
sleep 2
ifconfig wlan0 192.168.123.2 netmask 255.255.255.0

I hope it saves someone 5 minutes of scripting :-)

Kind regards,
Ed

On Wed, 2010-05-26 at 12:50 +0400, Paul Fertser wrote:
> Chuck Norris  writes:
> > Is it possible make FR act as wifi access point?
> > Which utils can help?
> 
> Only ad-hoc. iptables + iwconfig, nothing else needed i think. Set
> adhoc before setting ssid.
> 

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: FR as wifi access point

2010-05-26 Thread Paul Fertser
Chuck Norris  writes:
> Is it possible make FR act as wifi access point?
> Which utils can help?

Only ad-hoc. iptables + iwconfig, nothing else needed i think. Set
adhoc before setting ssid.

-- 
Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software!
mailto:fercer...@gmail.com

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


FR as wifi access point

2010-05-26 Thread Chuck Norris
Is it possible make FR act as wifi access point?
Which utils can help?

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [Ventura] at&t wifi hotspot portal (Starbucks)

2010-05-26 Thread Xavier Cremaschi
Le 26/05/2010 06:12, undrwater a écrit :
> 
> I'm sure I remember logging into the at&t portal at starbucks in the past
> using Ventura, but lately it's not possible.  
> 
> Pressing the "login" button, hitting "enter" returns no action.  Is it a
> certificate I'm missing?  Any clues?
> 
> Thanks
> Russell Dwiggins

Check

/etc/ssl/certs/ca-certificates.crt
/etc/ssl/certs/ca.pem

maybe... IIRC, one of these was missing some time ago, therefore no https.


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community