#! /bin/sh
. /etc/default/lejos
. ${LEJOS_HOME}/bin/funcs.sh
# We act as a server for USB and Bluetooth network connections. Bridge
# both types of connections together and run dhcpd on them
# get our network address
log "Start network"
LJBIN=${LEJOS_HOME}/bin
ifconfig usb0 up 2> /dev/null
ifconfig usb1 up 2> /dev/null
#brctl show > /log
#ifconfig >> /log
#cat /var/run/ifstate >> /log
# Now we start wlan
${LJBIN}/startwlan
# and the pan
${LJBIN}/startpan

