No wireless in Debian Sid
Sebastian Reichel
elektranox at gmail.com
Fri Oct 2 22:09:14 CEST 2009
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:
elektranox at 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
elektranox at freerunner ~ % wifi start
method return sender=:1.9 -> dest=:1.31 reply_serial=2
elektranox at 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)
elektranox at freerunner ~ % wifi stop
method return sender=:1.9 -> dest=:1.32 reply_serial=2
elektranox at freerunner ~ % ifconfig eth0
eth0: error fetching interface information: Device not found
-- Sebastian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://lists.openmoko.org/pipermail/community/attachments/20091002/fd60c576/attachment.pgp
More information about the community
mailing list