LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 12-16-2003, 01:11 AM   #1
CanadianSlacker
LQ Newbie
 
Registered: Dec 2003
Location: Cobourg, ON
Distribution: Slackware 10/Suse 9.2
Posts: 19

Rep: Reputation: 0
Question 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!
 
Old 12-16-2003, 07:55 AM   #2
Peacedog
Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,292

Rep: Reputation: 168Reputation: 168
is the router your nameserver? if so have you added it to resolve.conf?
 
Old 12-16-2003, 09:59 AM   #3
CanadianSlacker
LQ Newbie
 
Registered: Dec 2003
Location: Cobourg, ON
Distribution: Slackware 10/Suse 9.2
Posts: 19

Original Poster
Rep: Reputation: 0
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?
 
Old 12-16-2003, 10:29 AM   #4
malo_umoran
Member
 
Registered: Dec 2003
Distribution: Desktop: Slackware 13.1 &13.37 | Server: Debian 6.0
Posts: 270

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

M.
 
Old 12-16-2003, 10:52 AM   #5
CanadianSlacker
LQ Newbie
 
Registered: Dec 2003
Location: Cobourg, ON
Distribution: Slackware 10/Suse 9.2
Posts: 19

Original Poster
Rep: Reputation: 0
What do I put in the shell script, though?
 
Old 12-16-2003, 11:00 AM   #6
malo_umoran
Member
 
Registered: Dec 2003
Distribution: Desktop: Slackware 13.1 &13.37 | Server: Debian 6.0
Posts: 270

Rep: Reputation: 32
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Proftpd: Can reach withing LAN but not outside LAN Harlin Linux - Networking 4 07-18-2005 01:57 AM
Proftpd outside LAN what do i need? bagaudron54321 Linux - Networking 1 07-12-2005 07:45 PM
[Proftpd] Internal (LAN) access capped at 2MB/S? joekr Linux - Networking 4 07-10-2005 06:49 PM
Anonymous only from LAN, Users only from WAN ! on Proftpd RINO2004 Linux - Networking 3 06-30-2004 10:05 AM
proftpd - can't connect from outside lan hammer63 Linux - Networking 19 10-08-2003 08:08 AM


All times are GMT -5. The time now is 06:03 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration