LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Two things: ProFTPD & Getting Outside of LAN (https://www.linuxquestions.org/questions/slackware-14/two-things-proftpd-and-getting-outside-of-lan-126240/)

CanadianSlacker 12-16-2003 12:11 AM

Two things: ProFTPD & Getting Outside of LAN
 
Searching throughout the forum becomes rather tedious after a while, sooo....

1. ProFTPD

How do I configure my box to start this service automatically at bootup? I can't seem to find the script that gives the command, but I'm not sure if that's what I have to do. FYI: I'm pretty sure inetd is runinng too, as other network services are running, but I don't see it when I run 'top'.

2. Getting outside of my LAN

Okay, so I think I setup my network configuration soundly. I'm runn a network here with a Microsoft router. My Linux box can connect to it successfully, and every other computer on the network successfully, too.

However, everything seems to stop when I try to go outside. I can't ping any outside sites or IPs. I cannot imagine the router's firewall blocking outside access to this machine. All my Windows boxes connect without a hitch, and the configuration of the router looks sound, as well.

I'm probably missing something obvious and simple, so go easy on me please. :(

Thank you in advance for the help!

P.S. This is a great forum you've got here, guys -- keep it up!

Peacedog 12-16-2003 06:55 AM

is the router your nameserver? if so have you added it to resolve.conf?

CanadianSlacker 12-16-2003 08:59 AM

Nope, it isn't a nameserver.

So I edited resolv.conf to search for 192.168.1.1 (my router's IP). Would that make sense, or does resolv.conf only apply to domain names?

Another thing occured to me today: my server has a static IP, and DNS numbers are not specified. This is probably why I can't get outside, no? D'OH! So I just need to specify it in resolv.conf...

My friend here at work also tells me that I need to put my router's IP in rc.conf, as wel.

I guess that should do it.

Now, for my other problem...how do I get ProFTPD to start automatically?

malo_umoran 12-16-2003 09:29 AM

put a shell script (i.e. rc.proftpd) in /etc/rc.d/ i and chmod 700.

M.

CanadianSlacker 12-16-2003 09:52 AM

What do I put in the shell script, though?

malo_umoran 12-16-2003 10:00 AM

look in other scripts ....

i.e.

#/bin/sh
/usr/local/sbin/proftpd

if you need some options, "man proftpd".

you dont need anything ..... Slack starts every shell script from this dir which has chmod x.

M.


All times are GMT -5. The time now is 07:30 AM.