Results 1 to 9 of 9

Thread: Any routers that accept USB HDs formatted in ext4?

  1. #1
    Join Date
    Jun 2019
    Beans
    46

    Any routers that accept USB HDs formatted in ext4?

    I have an unused 1T hard drive and I planned to use a USB adapter so I could plug in into my Linksys router. In reading the Linksys docs it says the router will only accept FAT, NTFS and HFS+ formats. As I understand it, Ubuntu would only read FAT. I'm certainly not going to format a 1T HD in FAT. Are there any routers that accept a USB HD formatted in ext4? Or is there another solution?

  2. #2
    Join Date
    Jun 2006
    Location
    UK
    Beans
    Hidden!
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: Any routers that accept USB HDs formatted in ext4?

    Quote Originally Posted by thumper76 View Post
    As I understand it, Ubuntu would only read FAT.
    Ubuntu reads from, and writes to, NTFS out of the box just fine, and has done for years. However, that is irrelevant in the situation you describe. It would be the router firmware that would be reading the HD, not Ubuntu. Ubuntu would access the data on the HD served by the router through a sharing protocol - I guess SMB.
    Last edited by coffeecat; June 6th, 2021 at 10:40 PM.
    Ubuntu 20.04 Desktop Guide - Ubuntu 22.04 Desktop Guide - Forum Guide to BBCode - Using BBCode code tags

    Member: Not Canonical Team

    If you need help with your forum account, such as SSO login issues, username changes, etc, the correct place to contact an admin is here. Please do not PM me about these matters unless you have been asked to - unsolicited PMs concerning forum accounts will be ignored.

  3. #3
    Join Date
    Jun 2019
    Beans
    46

    Re: Any routers that accept USB HDs formatted in ext4?

    OK, good to know about NTFS. I wasn't familiar with SMB, so I had to do some research. If they use SMB does that mean I will need to install SAMBA?

  4. #4
    Join Date
    May 2006
    Location
    Switzerland
    Beans
    2,907
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Any routers that accept USB HDs formatted in ext4?

    Quote Originally Posted by thumper76 View Post
    Are there any routers that accept a USB HD formatted in ext4?
    My Synology router works without problems with Ext4. But as others have already mentioned: This isn't even relevant. Since the disk will be attached to the router, it will be the router that does the reading and writing, in whatever file format. Your Ubuntu machine will only indirectly access the disk via a network file sharing protocol, e.g. SMB, NFS, SSH, SFTP or whatever, depending on how you set this up and/or what file manager you use. Most Linux file managers can already talk in SMB or SSH/SFTP, you just need to type in the network location into the file manager.

    639e9d3b1.jpg
    Last edited by slickymaster; June 18th, 2021 at 04:59 PM. Reason: Removed large image

  5. #5
    Join Date
    Jun 2019
    Beans
    46

    Re: Any routers that accept USB HDs formatted in ext4?

    This is a follow up on my original problem. I formatted the 1T hard drive in NTFS. SMB wouldn't work, but I was able to connect using password protected FTP. It seems to be just as fast as a local HD.

  6. #6
    Join Date
    May 2006
    Location
    Switzerland
    Beans
    2,907
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Any routers that accept USB HDs formatted in ext4?

    Quote Originally Posted by thumper76 View Post
    I was able to connect using password protected FTP. It seems to be just as fast as a local HD.
    FTP protocol is NOT encrypted. Anyone in that same network (tech-savvy kids? Neighbours with access to your WLAN? etc.) can read the password in clear text each time you login. Too bad if you used that same password elsewhere too, because in that case they can now do all kinds of things to you...

    Please do not use this outdated + unsafe dinosaur protocol.

    If anything try setting up SFTP (... that "S" matters ...) which is encrypted and a lot safer, if your router supports it that is.

  7. #7
    Join Date
    Jun 2019
    Beans
    46

    Re: Any routers that accept USB HDs formatted in ext4?

    Quote Originally Posted by scorp123 View Post
    Too bad if you used that same password elsewhere too, because in that case they can now do all kinds of things to you...
    It's worst than that. The router won't accept SFTP and Linksys forces you to use the main router password as the FTP password! If Linksys is so oblivious to security on this, you wonder what other aspects of security they're ignoring.

  8. #8
    Join Date
    May 2006
    Location
    Switzerland
    Beans
    2,907
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Any routers that accept USB HDs formatted in ext4?

    Quote Originally Posted by thumper76 View Post
    It's worst than that. The router won't accept SFTP and Linksys forces you to use the main router password as the FTP password!
    Wow. Just wow. And "Ouch!!"

  9. #9
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Any routers that accept USB HDs formatted in ext4?

    Let's think about this for a moment.
    Connecting storage to a WAN router. Does that seem like a good idea?

    My common sense "smells bad" test says no. Certain things don't make sense.

    • Putting passwords onto the internet fails the "smells bad test."
    • So does connecting any storage you don't intend to share with the world to a WAN router.
    • Using plain FTP for any purpose in 2021 (really since 2002-ish) also fails the "smells bad test."


    For fun, google "router storage hacked". See what I mean? Last fall, a Netgear router was hacked the first day it were connected to the internet. This has been an ongoing issue for the last decade. Basically, every router company and most NAS companies that provide a way to either connect USB storage to the router or make the NAS storage available over the internet have been cracked - leaving the storage available to people around the world.

    Fails the "smell's bad" test.

    There are better options. Yes, they are nearly as easy, but they are 10,000,000x more secure. Any Unix-like OS with USB storage on your LAN can be setup to provide remote access over ssh using ssh-keys. Don't allow passwords, only ssh-keys. when we setup ssh-server, we get scp, sftp and a bunch of other capabilities for free. Every networked client OS today has a great sftp client program. Don't confuse sftp and ftps. One is good with strong authentication, the other is an SSL wrapper around plain FTP, typically with very poor authentication. With sftp, any Linux client setup with ssh-keys (that's just 2 commands), can use almost any Linux file manager for access to the storage. It will use the ssh-keys automatically. If you like, you can setup ssh-agent, so that unlocking the ssh-key need only happen once per login session. If you don't logout of the client machine, it is easy to go for a week or a month without having to unlock the ssh-key via a password.

    Create an ssh-key and push the public version to another system:
    Https://ubuntuforums.org/showthread....6#post13916386

    As for blocking internet brute force attacks, first, we disable passwords from source IPs outside our LAN, second, we install fail2ban which dynamically blocks offending source IPs after 3 or 5 failures. The chances that any remote attacker would have your private ssh-key is extremely remote - nearly zero. Plus, if you upgrade your key type from RSA to ed25519, then it is even more unlikely that any attacker will have the private key.

    https://ubuntuforums.org/showthread....8#post13959278 has the ssh-keys and fail2ban and some other ssh security stuff.

    Anyways, lots of possible solutions. ssh is THE tool for how Unix-like OSes communicate. Remote access, remote control, tunnels, socks proxies, remote mount of file systems, backups, mirroring files, remote desktops ... and 50 other things. All use ssh.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •