Starting Portmap on Boot


Forum: Networking
Topic: Starting Portmap on Boot
started by: Billsrock61

Posted by Billsrock61 on April 11 2005,14:45
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

Posted by cbagger01 on April 11 2005,16:24
/opt/bootlocal.sh

Make sure you are either

1) Using the DSL backup/restore function.

or

2) Using a full hd install.

Posted by Billsrock61 on April 11 2005,17:41
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

Posted by Billsrock61 on April 11 2005,17:45
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

Posted by cbagger01 on April 12 2005,02:35
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.

Posted by Billsrock61 on April 12 2005,05:11
Thanks cbagger I got it work now for somereason im having problems with the automounting of files off the server they won't do it it might be a syntax thing would you happen to have an example i could see??

Thanks-

Billsrock61

:laugh:

Posted by cbagger01 on April 12 2005,21:48
I don't have an exable but you can search the forums for appropriate keywords like

*portmap*

or

*nfs*

or

*nfs* AND *portmap*

and search ALL FORUMS and FROM THE BEGINNING or NEWER

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.