Skip to content

Commit

Permalink
Connman in now default connection manager
Browse files Browse the repository at this point in the history
  • Loading branch information
joshas committed Dec 27, 2010
1 parent 07d3c4d commit 678f4d8
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 12 deletions.
2 changes: 1 addition & 1 deletion package/recipe/ubuntu-network.recipe
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ rdesktop

[action]
# extract connman
#tar jxf skeleton/archive/connman-git.tar.bz2 -C $MKXPUD_TARGET;
tar jxf skeleton/archive/connman-0.64.tar.bz2 -C $MKXPUD_TARGET;
mkdir -p $MKXPUD_TARGET/var/lock;

[binary]
Expand Down
Binary file removed skeleton/archive/connman-0.49.tar.bz2
Binary file not shown.
Binary file added skeleton/archive/connman-0.64.tar.bz2
Binary file not shown.
2 changes: 0 additions & 2 deletions skeleton/overwrite/usr/local/bin/connman-test.sh

This file was deleted.

18 changes: 9 additions & 9 deletions skeleton/overwrite/usr/local/bin/post-boot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,19 +20,19 @@ if [ ! -e /tmp/firsttime ]; then
dbus-launch --config-file=/etc/dbus-1/system.conf

# start connman
#connmand &
connmand &

# work through NIC and wake them up
/bin/ifconfig lo 127.0.0.1 netmask 255.0.0.0
#/bin/ifconfig lo 127.0.0.1 netmask 255.0.0.0

for NIC in eth0 eth1 eth2 wlan0 ath0 ra0; do
/bin/ifconfig $NIC up
/sbin/iwconfig $NIC mode Managed
done
#for NIC in eth0 eth1 eth2 wlan0 ath0 ra0; do
# /bin/ifconfig $NIC up
# /sbin/iwconfig $NIC mode Managed
#done

# try to setup DHCP
#/sbin/dhclient &
/bin/udhcpc &
#/bin/udhcpc &

# mount all partitions
for i in `fdisk -l | grep "^/dev" | cut -d' ' -f1`; do
Expand All @@ -52,7 +52,7 @@ if [ ! -e /tmp/firsttime ]; then
fi

# auto reconnect
/usr/local/bin/auto-reconnect.pl &
#/usr/local/bin/auto-reconnect.pl &

# install opt file if exist
if [ ! "$(cat /proc/cmdline | grep opt=no )" ]; then
Expand Down Expand Up @@ -101,6 +101,6 @@ if [ ! -e /tmp/firsttime ]; then
find /etc/post-boot.d/ -type f -exec {} \;

# get wireless SSID list
/usr/local/bin/get_ssid &
#/usr/local/bin/get_ssid &

fi

2 comments on commit 678f4d8

@joshas
Copy link
Collaborator Author

@joshas joshas commented on 678f4d8 Dec 27, 2010

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Finally connman works in xPUD. Now the only missing piece is a custom interface for connmand control using DBUS.

@penk
Copy link
Owner

@penk penk commented on 678f4d8 Dec 27, 2010

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AWESOME!!!

Please sign in to comment.