On Tuesday 13 November 2001 09:43, Neil R Porter wrote:
> Hi all

Hi... You got your ADSL working then ?

>
> I have LM 8.1 setup with an adsl connection networked and sharing the net
> connection to 2 win machines.  I'm having problems setting up samba and
> firewalling and ftp services properly.
>
> 1) How can I tell which processes are running... I have read about samba
> and learn that it doesn't necessarily start up auto at boot time.. how can
> I tell whether it is running somewhere in the background?  Also, when I try
> to test it the localhost doesn't seem to be setup correctly.. it's
> unknown.. omg.. how can localhost be unknown?  but it is.. what have I done
> wrong here..

>From a console type 'top' or for a graphical display
KDE Menu >Applications>Monitoring>KDE System Guard

If you just want to know which services you have defined, and running, and 
which will automatically load at boot the go to
Control Center>System>Services

Local host can indeed be unknown Check your file /etc/hosts The first line 
should read something like
127.0.0.1       localhost.localdomain   localhost

If you are trying to get the graphical samba setup facility SWAT running you 
must first check that the swat daemon is running (I think it may need the 
xinetd daemon as well) Check this in Control Center

>
> 2) this relates to number 1 in the sense that I have plenty of ways of
> configuring a 'firewall' available to me however I don't know which
> firewall is being used (whether more than 1 is actually running?!) etc.. I
> just installed the whole of LM with all options ticked when I installed it
> and notice that it says starting bastille firewall as it boots up.. again,
> which one is being used and how can i tell ?  (any suggestions for which
> firewall would be best accepted thankfully!)

>
All firewall utilities ultimately use the iptables function in the kernel. On 
the standard Mandrake install you have a choice of:
TinyFirewall - in the Firewall section of Control Center
BastilleChooser - To set up a basic firewall
InteractiveBastille- A questionaire type interface

I do not like any of them, because it is very difficult for a newbie to work 
out if the firewall is active or not, and they all stop Samba from working 
without mentioning the fact. The most common difficulty newbies seem to have 
with samba is having a firewall in place without realising it.

On the Mandrake Disc is a utility called Guarddog which allows you to set up 
your firewall in a simple intuitive way.
My favourite however is Firestarter which has a nice Wizard to set it up 
(Linux oldies will cringe at this point) What makes Firestarter good is that 
if the firewall is hit you get a visual and audible alert, and you can 
dynamically open holes or close them whenever you need to. It is not on the 
Mandrake disc, but Texstar has an rpm in his download section at 
www.pclinuxonline.com

To guide you in setting up samba check out the guide at mandrakeuser
http://www.mandrakeuser.org/docs/connect/index.html#ss

and if you look at these posts, where I have been guiding a newbie through 
setup, you will see some of the simple mistakes
http://www.mandrakeuser.org/mub/viewtopic.php?topic=2189&forum=6&17


> 3) I have full web and ftp services.. and while I'm happy(ish) with the web
> hosting (although it hasn't been tested as being  crack proof - and no
> doubt isn't with current settings!) I am definitely NOT happy with the ftp
> setting.. AGAIN, how can I tell which ftp proggy is giving the box the ftp
> service?  I can ftp in from a remote comp, however, if i use a user account
> on the LM box as the login then I can literally go round the whole file
> system.. eek.. i don't want this.. instead some way of making it only
> present a folder or two of my choosing would be safer..

I'm no expert. but I know all ftp access should be anonymous as they have 
passwords in clear text.

HTH
Derek



>
> I know it's a lot to ask of this list.. and it's a long email to read (made
> even longer by these few words).. but if i can get some help here it would
> be much appreciated as I really want to use linux (apache etc) instead of
> IIS <spits to one side>
>
> Neil
>
> ---------------------
> [EMAIL PROTECTED]

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to