MandrivaThis Forum is for the discussion of Mandriva (Mandrake) Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
like i said... i'm trying to set my PC up as a server.
I'm trying to use either ftp or samba (open to suggertions).
I installed the packages for OpenSSH, FTP, and samba. I have some documentation thet says i should use the wizard from the control center (KDE) but there is nothing there.
my goal is
-to be able to accses my computer (rwx) from any other computer on the LAN
-be able to make some files public on the LAN
-possibly accses my computer from the internet (i know i'ts more complicated, so not a priority.
When you mention Samba, does this mean that you'll have Windows machines on the LAN also? If you don't have Windows machines to deal with, you may consider NFS as a solution to share files over your LAN. This would allow you to control the hosts that can access your files and restrict others, while not requiring logins. More information on NFS is available in the man pages, (man nfs).
I use Samba as a file server with Red Hat 9.0, it was very simple to setup using the GUI that Red Hat packages with their setup. You can set it up for user level control or open to all users on the local network, more information is availabe in the man pages, (man samba).
You probably don't want to use ftp, if you already have openssh installed, you can just scp files as easily as you would ftp them.
It depends if you have a firewall between your lan and wan too. If you have a firewall, you can either forward the ssh ports to the linux box, or set it up a dmz.
C
PS If your other computers are running M$, you can try winscp to access files and putty for a terminal (but you need an x server to forward X11 connections) Also cygwyn if you need it.
Your best bet is to use Webmin. I think its installed by default in the build process. For samaba set up load the swat rpm. Its smaba's own config utility with documentation. Its Gui driven and much easier than sifting your way through the smb.conf file.
To launch wevmin open a browser and type https://localhost:10000 and you will see the certificate pop up. if you want to get to it from another machine just substitute the address for localhost and you can admin the samba box from anywhere on the lan. I use webmin for most of my server config. by useing webmin for a remote box you don't have to enable the x server on the linux box. it makes it that much faster without having to use resources to run a window manager.
Once you get the webmin open just go to the servers tab and look at samba. When the samba config page launches you should see a swat icon in the lower right. Click on it and you will be in samba config status. The help files and everything are there and its not terribly difficult to set up a samba server from there. Good luck. hope this helps
Distribution: Red Hat 7.0, 7.2,8,9, Mandrake 9.0, 9.2, Knoppix, DSL, Fedora Core 4,Solaris 8
Posts: 73
Rep:
I agree with the Webmin and/or SWAT combination. I use SWAT on a REdHat 7.2 PDC for non-Linux machines and the shares are very easy to create using SWAT. I access them with no problem from Network Neighborhood. SWAT listens on port 901. After you set up SWAT enter the following in your web broswer and supply the username and password. http://localhost:901/
I recently started using Webmin and it is incredible.
True the default port for Swat is 901. However the port that Mandrake uses is 10000 for Webmin and then there is a webmin plugin for swat. So its even nicer!!!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.