ts-7000
[Top] [All Lists]

Re: [ts-7000] new to ts-7200, help to install a DWL-120+

To:
Subject: Re: [ts-7000] new to ts-7200, help to install a DWL-120+
From: Andrew Taylor <>
Date: Sat, 1 Oct 2005 11:09:28 +1000
On Fri, Sep 30, 2005 at 11:02:28PM -0000, artboreb wrote:
> hello list, (sorry if my english isn't good enough)
> I need WIFI 802.11 support to work with my ts-7200
> I have a D-Link DWL-120+ (USB pluggable) and I have not much
> experience with Linux (I work mainly on Freebsd), has anybody
> done this?

In case it'll help,  I've appended the /etc/rcS file I've been using
for an embedded ts7200 system.  Among other things, its starts up
wireless networking with a linksys wusb11 if it doesn't have an ethernet
connection.  All the /c/* programs are my apps.  Its just hacked it
together so there are probably better ways to do this - but it may give
you some clues.

Andrew


#!/bin/sh
set -x
trap ":" INT QUIT TSTP
PATH='/bin:/sbin:/usr/bin:/usr/sbin'
export PATH

/c/watchdog -v30 -obase_dir:/mnt/sda2/images &

/sbin/devfsd /dev 

echo "now mounting /proc"
/bin/mount -n -t proc proc /proc
echo "mounting local filesystems (in fstab)"
mount -a -rw -t nonfs

if [ -f /proc/driver/rtc ]; then
        echo "setting system clock"
        /sbin/hwclock -u -s
        date
fi

hostname ts7200a

ifconfig lo 127.0.0.1 netmask 255.0.0.0 broadcast 127.255.255.255 up
route add -net 127.0.0.0 netmask 255.0.0.0 dev lo

ifconfig eth0 192.168.1.50 netmask 255.255.255.0 broadcast 192.168.255.255 up


if [ -x /usr/sbin/inetd ]; then
        echo "starting inetd"
        /usr/sbin/inetd
fi
# power everything on except IR spotlight
/c/ts_arm_util set gpiob 0 0 set gpiob 1 0 set gpiob 2 0 set gpiob 3 1
sleep 10
modprobe usb-ohci-ep93xx
modprobe usb-storage
modprobe pwc 'size=vga' 'fps=5' 'fbufs=2' 'mbufs=2' 'compression=0'
sleep 20
swapon /dev/scsi/host0/bus0/target0/lun0/part1
mount /dev/scsi/host0/bus0/target0/lun0/part2 /mnt/sda2 
mount -t usbdevfs  /proc/bus/usb

ETHERNET_UP=1
case `ping -c 1 -q 192.168.1.1|sed '/packets received/!d;s/ *packets 
received.*//;s/.*, *//'` in
0)
        ETHERNET_UP=0
        ifconfig eth0 down
        /c/ts_arm_util set gpioh 2
        if grep 'ProdID=2233' /proc/bus/usb/devices >/dev/null
        then
                modprobe at76_usbdfu
                modprobe at76c503
                modprobe at76c505-rfmd2958
                sleep 10
                iwconfig wlan0 essid camera mode Managed
                ifconfig wlan0 up 192.168.1.50
                route add -net 192.168.1.0 netmask 255.255.255.0 dev wlan0
                route add default gw 192.168.1.1 wlan0
        fi
        ;;
*)
        route add -net 192.168.1.0 netmask 255.255.255.0 dev eth0
        route add default gw 192.168.1.1 eth0
esac
/c/run_camera_trap.sh &
/www/apache/bin/httpd &


------------------------ Yahoo! Groups Sponsor --------------------~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/CFFolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU