Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
| 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
09-02-2008, 04:12 PM
|
#1
|
|
LQ Newbie
Registered: Sep 2008
Location: California, USA
Distribution: Ubuntu Server Linux 8.04.1
Posts: 3
Rep:
|
Reference or insight into Samba
I am leary about using samba and cups to host my files and printers, but ideally I would like to have all my USB devices available to the network via one source, my server. All my computers are running some form of Windows XP or Vista and I have one sever set up running Ubuntu Server.
In theory is it possible to have my USB external hard drive connected to my linux server, as well as my printer/scanner/fax and still be able to utilize it the same way I would if it's connected to my windows machine?
If so can I make it so my external (FAT32) is also visible via ftp or perhaps mountable over the internet, with appropriate user permissions of course?
|
|
|
|
09-02-2008, 04:39 PM
|
#2
|
|
Senior Member
Registered: Dec 2005
Location: London, ON, Canada
Distribution: Arch, Ubuntu, Slackware, OpenBSD, FreeBSD
Posts: 1,853
Rep:
|
It is most certainly possible to have printers, and removable devices usable via a Linux box and Samba as though they were connected locally!
If you have your external drive mounted and shared through Samba, you would not need to use something like FTP to access it - it would be like a shared network drive in "My Network Places" (I've never used Vista, but I can only imagine they've changed the name for that, too).
When you say "over the internet", do you mean to make the drive accessible from another household, or just from another computer from within the same network in your house/apartment?
|
|
|
|
09-02-2008, 06:40 PM
|
#3
|
|
LQ Newbie
Registered: Sep 2008
Location: California, USA
Distribution: Ubuntu Server Linux 8.04.1
Posts: 3
Original Poster
Rep:
|
Quote:
Originally Posted by indienick
When you say "over the internet", do you mean to make the drive accessible from another household, or just from another computer from within the same network in your house/apartment?
|
To be less vague, what I meant was I want to be able to access the drive/mount it from another house/building with say another computer my network doesn't know about (the user is known however). I would like to have the drive accessible to me at work. Or on vacation in a hotel etc.
I did, incompletely, read a post somewhere that it was possible, but unsafe having something to do with Samba itself, or not necessarily samba, but the whole windows file sharing protocol. Is that true?
(maybe I'm thinking VPN?)
Last edited by AE_Devster; 09-02-2008 at 06:43 PM.
|
|
|
|
09-02-2008, 07:05 PM
|
#4
|
|
Member
Registered: Oct 2006
Posts: 55
Rep:
|
By default, the shared directory for FTP are the home directory of the user, if I remembered correctly. (sorry, I don't tinker much with FTP).
Although there might be some ways you can change the shared directories, for the simple purpose, maybe it should be easy to just add a symbolic link to the path of the removable drive or whatever you want to share? Add it to the user's home directory, he/she then should be able to access it.
Let me know how that goes ^^
|
|
|
|
09-02-2008, 07:58 PM
|
#5
|
|
Guru
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678
Rep: 
|
Have a look into openvpn- that should do what you seem to be describing
|
|
|
|
09-22-2008, 02:19 PM
|
#6
|
|
LQ Newbie
Registered: Sep 2008
Location: California, USA
Distribution: Ubuntu Server Linux 8.04.1
Posts: 3
Original Poster
Rep:
|
It took a little while (due to other projects) but I have worked out how to use Samba. All the replies were helpful so thank you very much.
I now have my Ubuntu server running Samba and it works flawlessly with XP and Vista. And it does allow access to the drive via domain name. (ie. \\myserver.com\share_drive)
Again thank you all for your quick and accurate responses and further more I am looking into an open source VPN solution to use for my team.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 03:59 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|