Similar queries have cropped up before.
Checkout posts with the subjects
WLAN Startup script
CRON and TS-7260
Some posts there give some hints on where to put startup stuff.
The startup stuff is fairly standard SysV init - found on very many
flavours of Unix and on most Linux's.
On Thu, 26 Oct 2006, 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
>
> which takes down eth0 brings up wlan0 and allows me to connect my
> robot to my laptop without the cables.
>
> 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.
>
> Any ideas?
>
> 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
>
> I have a servo controller that runs off com2 at 9600 baud.
>
> Thanks
>
>
>
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/
|