On Fri, Oct 02, 2009 at 11:37:03AM -0600, Esteban Monge wrote:
> Hello I haved installed Debian GNU/Linux in my Neo Freerunner, but I cant use
> the wireless.
> 
> What is the problem?

Hi,

1. You need to configure eth0
2. Device does not exist until you enable it via fso-frameworkd
   (this will save power when not using wifi)

You can do the second step with dbus-send. I use the follwing script:

elektra...@freerunner ~ % cat /usr/local/bin/wifi
#!/bin/bash
if [[ $# < 1 ]] ; then
    echo "$0 <start|stop>"
    exit
fi

if [[ $1 == "start" ]] ; then
    dbus-send --system --dest=org.freesmartphone.odeviced --type=method_call 
--print-reply /org/freesmartphone/Device/PowerControl/WiFi 
org.freesmartphone.Device.PowerControl.SetPower int32:1
else
    dbus-send --system --dest=org.freesmartphone.odeviced --type=method_call 
--print-reply /org/freesmartphone/Device/PowerControl/WiFi 
org.freesmartphone.Device.PowerControl.SetPower int32:0
fi
elektra...@freerunner ~ % wifi start
method return sender=:1.9 -> dest=:1.31 reply_serial=2
elektra...@freerunner ~ % ifconfig eth0
eth0      Link encap:Ethernet  HWaddr 00:12:cf:8e:e2:ba  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:2 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:15 (15.0 B)  TX bytes:0 (0.0 B)

elektra...@freerunner ~ % wifi stop    
method return sender=:1.9 -> dest=:1.32 reply_serial=2
elektra...@freerunner ~ % ifconfig eth0
eth0: error fetching interface information: Device not found

-- Sebastian

Attachment: signature.asc
Description: Digital signature

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

Reply via email to