ts-7000
[Top] [All Lists]

Re: [ts-7000] Simple wireless question for the 7200

To:
Subject: Re: [ts-7000] Simple wireless question for the 7200
From: Joe Bouchard <>
Date: Thu, 26 Oct 2006 17:57:53 -0400
On Thu, Oct 26, 2006 at 02:03:08PM -0000, bozemanmt25 wrote:
> I have a board I bought a year ago or so and I just recently bought 
> two more boards. 7200's. They are all being used for educational 
> robots at a University. 
> This should be very easy questions:
> 
> I have a Netgear USB wireless card that came with the board. I 
> changed Redboot to auto boot off of the 
> flash drive. To get the wireless to work I have to put in the 
> following 
> commands:
> 
> ifconfig eth0 down
> ifconfig wlan0 up
> ifconfig wlan0 192.168.0.2
> iwconfig wlan0 mode Ad-Hoc
> iwconfig wlan0 essid robot
> 
> 
> I want this to automatically to be done when the board boots. I 
> tried to 
> put the commands in /etc/wireless/interfaces  but it didn't work. I 
> might 
> have just butchered the format, but when I restarted the network it 
> said 
> it didn't know what wlan0 was. 

Try making /etc/network/interfaces look something like this

auto wlan0
iface wlan0 inet static
        address 192.168.0.2
        netmask 255.255.255.0
        wireless-essid robot
        wireless-mode  Ad-Hoc
> 
> My other command I have to put in, which I'm not sure where to put 
> to load during boot is:
> stty 9600 << /dev/ttAM1  (((( That's /dev/ttyAM1 ????))))

One method is to put that command into a file /etc/init.d/mystty
then ln -s /etc/init.d/mystty /etc/rc2.d/S99mystty

Another is to use "setserial" and save the settings to be recalled
later... sounds like overkill.

Either way, be sure to edit /etc/inittab and comment out the line that
listens for a getty on /dev/ttyAM1

Good luck,
Joe


 
Yahoo! Groups Links

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

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> 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