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