LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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

Reply
 
Search this Thread
Old 09-02-2008, 05:12 PM   #1
AE_Devster
LQ Newbie
 
Registered: Sep 2008
Location: California, USA
Distribution: Ubuntu Server Linux 8.04.1
Posts: 3

Rep: Reputation: 0
Post 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?
 
Old 09-02-2008, 05:39 PM   #2
indienick
Senior Member
 
Registered: Dec 2005
Location: London, ON, Canada
Distribution: Arch, Ubuntu, Slackware, OpenBSD, FreeBSD
Posts: 1,853

Rep: Reputation: 65
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?
 
Old 09-02-2008, 07:40 PM   #3
AE_Devster
LQ Newbie
 
Registered: Sep 2008
Location: California, USA
Distribution: Ubuntu Server Linux 8.04.1
Posts: 3

Original Poster
Rep: Reputation: 0
Lightbulb

Quote:
Originally Posted by indienick View Post
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 07:43 PM.
 
Old 09-02-2008, 08:05 PM   #4
henry_shadowjet
Member
 
Registered: Oct 2006
Posts: 55

Rep: Reputation: 15
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 ^^
 
Old 09-02-2008, 08:58 PM   #5
billymayday
Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Have a look into openvpn- that should do what you seem to be describing
 
Old 09-22-2008, 03:19 PM   #6
AE_Devster
LQ Newbie
 
Registered: Sep 2008
Location: California, USA
Distribution: Ubuntu Server Linux 8.04.1
Posts: 3

Original Poster
Rep: Reputation: 0
Talking

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.
 
  


Reply

Tags
ftp, openvpn, samba


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
[SOLVED] Looking for insight on correcting this output from 'ls -l': ?--------- ? ? ? rayfordj Linux - Newbie 3 02-23-2008 11:32 PM
trying to use insight knobby67 Programming 1 08-16-2006 01:40 PM
How to put insight at panel permata Linux - Newbie 0 06-01-2006 10:25 PM
Is pascal *dead* ? (need insight) Dark Carnival Programming 10 01-25-2005 01:42 PM
ddd or Insight? lazyboy0001 Programming 1 04-16-2004 11:35 PM


All times are GMT -5. The time now is 11:38 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