LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 03-16-2019, 02:30 PM   #1
penciltester
LQ Newbie
 
Registered: Mar 2019
Posts: 2

Rep: Reputation: Disabled
Question about setting up nas for linux.


I see routers set up to work with an external drive plugged into its usb port to share files over your network, I would like to do this with my linux systems to be able to use it as an automatic backup device/ file sharing. Im new to linux. Do I need a special router for this? Can I just get one off amazon and all should be good or do I need one setup specifically to work with linux systems?

Thanks in advance.
 
Old 03-16-2019, 03:26 PM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 18,857

Rep: Reputation: 2825Reputation: 2825Reputation: 2825Reputation: 2825Reputation: 2825Reputation: 2825Reputation: 2825Reputation: 2825Reputation: 2825Reputation: 2825Reputation: 2825
Hello and welcome to LQ.

Not sure I fully get your question.

Many routers have this ability. Not all have usb. The ones that do have usb in many cases can be used under stock firmware to access the usb. Some could run an open sourced OS to provide various types of support for usb.

Now as to using linux on a dedicated or VM to use as a nas then that is quite normal. Things like Freenas and others are pre-built for that task. Really almost any distro could do that.

To backup computers in a sort of Ghost way I'd look to Bacula.

Otherwise you will have to explain to us (or at least me) more.
 
Old 03-16-2019, 04:06 PM   #3
penciltester
LQ Newbie
 
Registered: Mar 2019
Posts: 2

Original Poster
Rep: Reputation: Disabled
Thanks for the reply. It looks like these routers just have you plug in your hard drive to it and then you have access to it through whatever devices are attached. I just didn't know if I would have to do anything special with whatever software that manages this on the router or if these systems just work well across the board with windows, Mac and Linux. I'm new to this so sorry if this all seems obvious to most.
 
Old 03-16-2019, 04:53 PM   #4
ferrari
Senior Member
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 3,547

Rep: Reputation: 624Reputation: 624Reputation: 624Reputation: 624Reputation: 624Reputation: 624
Usually routers with this functionality provide a samba service to support file sharing (for multi-OS environments).

FWIW, at the start of this year I set up a Raspberry Pi NAS (using DietPi) to share files on my home LAN, including photos and videos taken over the years. I also have an Emby server running on it.
 
Old 03-16-2019, 05:10 PM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 17,625

Rep: Reputation: 2777Reputation: 2777Reputation: 2777Reputation: 2777Reputation: 2777Reputation: 2777Reputation: 2777Reputation: 2777Reputation: 2777Reputation: 2777Reputation: 2777
So, it will just look like a network mount - in Linux as well. However I doubt it will do "automatic backup device/ file sharing" for you. You can, of course, do that from each of your Linux systems - maybe even set one up as a server to manage it for everyone.

I looked at it once, but I wanted more control, so instead I dug up an old no longer used stand-alone NAS and hacked that to have a modern Linux I could setup as I wanted. But to answer your question, plug a disk in the router and it should "just work".
 
Old 03-16-2019, 06:32 PM   #6
michaelk
Moderator
 
Registered: Aug 2002
Posts: 18,217

Rep: Reputation: 2545Reputation: 2545Reputation: 2545Reputation: 2545Reputation: 2545Reputation: 2545Reputation: 2545Reputation: 2545Reputation: 2545Reputation: 2545Reputation: 2545
Check the router's manual or its Web configuration setup. Some router's require you to setup a share/password.

In addition you might have to specify smb version since recent samba versions and windows no longer default to smb 1.0
 
  


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
Nextcloud/NAS/Backup NAS oguruma Linux - Server 1 03-14-2017 06:23 PM
reliable centos nas server with raid or nas boxes which is better ? Gil@LQ Linux - Server 9 09-10-2015 05:13 AM
Help figuring out: NAS, FreeNas, Linux "NAS", or Linux server JohnLocke Linux - General 24 04-18-2015 10:16 AM
automatically backup folder on Free NAS computer to another Free NAS computer tom treadway Linux - Newbie 1 01-26-2011 07:28 PM
Buffalo NAS - how do we get files on NAS syncing with Windows Sync? bykerbob Linux - Newbie 0 10-21-2008 08:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:05 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration