Start up scripts in beagle board

Hi All,

I have ported linux in beagle board and I want to run a script which
automatically assign the ipaddress to my network card(wireless usb). I
have written the script and place it in init.d directory but my script
is not working...

Could any one please help us in further steps.

Regards,
Raghavendra

And I was sitting here thinking we already ported linux to beagle 3 years ago

For your startup scripts, have you simply placed them in init.d or
have you registered the scripts?

Assuming a script /etc/init.d/someScript
make the script executable ( chmod +wrx )
then register the script with a command something like update-rc.d
someScript defaults
For more configuration options for registering the script a quick
google of update-rc.d or look at the man page.

Kano

HiRaghavendra,

Hi All,

I have ported linux in beagle board and I want to run a script which
automatically assign the ipaddress to my network card(wireless usb). I

Ported is the wrong term to use here [1]. Maybe you mean installed (?)

have written the script and place it in init.d directory but my script
is not working...

Could any one please help us in further steps.

Why not just make entries in /etc/network/interfaces ? There are init
scripts that already configure interfaces based on settings there [2]

Something like this should work:
   iface eth1 inet static
          address 192.168.1.1
          netmask 255.255.255.0

Thanks,
Joel

[1] Porting - Wikipedia
[2] http://manpages.ubuntu.com/manpages/hardy/man5/interfaces.5.html

Hi Joel,

Thanks for the information. We have successfully ran the start up
scripts by placing the script in init.d folder. We have crearted soft
links in rcS.d folder.

We have followed the steps mentioned in the below link

http://www.linuxforums.org/forum/red-hat-fedora-linux/24951-start-script-boot-2.html

Regarding 'porting' term: