Networking :: Starting Portmap on Boot



Hello -

I've gotten dsl to talk to my server but everytime i restart it i have to do a

/etc/init.d/portmap start
/etc/init.d/nfs-common start

Is there a script out there that will let DSL run these services at startup? Thanks!

Billsrock61

/opt/bootlocal.sh

Make sure you are either

1) Using the DSL backup/restore function.

or

2) Using a full hd install.

So do I go into that file and change something or do I add this file or am I way off???

And yes im in a HD install

Thanks!

Billsrock61

I think i figured it out i put this in my /opt/bootlocal.sh

fconfig eth0 ip 192.168.0.XX
route add default 192.168.0.1
echo nameserver <server ipaddy > /etc/resolv.conf

then write and quit

Is this correct?

Thanks! (im really starting to learn alot about this!)

Billsrock61

I use DHCP, so I cannot verify for you but it looks like you are making progress.

The best way to find out is to try it and see what happens.

Next Page...
original here.