LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-05-2023, 09:40 AM   #1
goldennuggets
Member
 
Registered: Feb 2003
Location: USA
Distribution: Kubuntu, Manjaro
Posts: 239

Rep: Reputation: 24
Upload Files via a Website from a Network Share -- Failing!


What I'm Trying to Accomplish
Upload images (drag and drop or from file browser upload screen) to Dreamstime via a samba network share.

What I've Tried
This does not work, but does work when the files are local on the computer.
I used to use Autofs, but switched from a large desktop computer to a raspberry pi and an external SSD, and cannot for the life of me get autofs to work on the computers on the network with the pi. I've spent hours trying to configure the auto.fs files and nothing works, the mount directories just disappear when I restart the service and there's no access...
So, we're currently simply accessing the network via smb://networkshare.local
The files are clearly visible but do not upload to websites. (we also cannot open them from a file browser in programs like Libre Office but we can double-click on them and they load and save just fine.)

What I'd Like to Have
I'd like to have the network share automatically mounted and acting like a local filesystem (which is what autofs accomplished, and avoided all the fstab mounting mess when the network went down --T-mobile's router and internet often bomb and need reset and this threw the entire system into a tizzy when I wasn't using autofs).

Any tips/ideas/suggestions on how I can either upload from the network or how I can simply accomplish having the network share automounted?
 
Old 10-05-2023, 02:17 PM   #2
yvesjv
Member
 
Registered: Sep 2015
Location: Australia
Distribution: Slackware, Devuan, Freebsd
Posts: 581

Rep: Reputation: Disabled
You want to post your request for assistance in the Server forum.
 
Old 10-05-2023, 02:27 PM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,784

Rep: Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937
autofs as well as systemd automount should work with network shares. What linux distributions are running on the computers?

https://wiki.archlinux.org/title/autofs
 
Old 10-05-2023, 02:41 PM   #4
goldennuggets
Member
 
Registered: Feb 2003
Location: USA
Distribution: Kubuntu, Manjaro
Posts: 239

Original Poster
Rep: Reputation: 24
Autofs is giving me such fits.

I'm running Kubuntu on the computers that I want autofs to mount with. The PI is running raspian.
 
Old 10-05-2023, 02:47 PM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,784

Rep: Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937
x-systemd.automount is a bit easier to setup versus autofs IMHO.
 
Old 10-05-2023, 02:58 PM   #6
goldennuggets
Member
 
Registered: Feb 2003
Location: USA
Distribution: Kubuntu, Manjaro
Posts: 239

Original Poster
Rep: Reputation: 24
Quote:
Originally Posted by michaelk View Post
x-systemd.automount is a bit easier to setup versus autofs IMHO.
Any chance you have handy a tutorial/manual on x-systemd.automount?
 
Old 10-05-2023, 03:12 PM   #7
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,784

Rep: Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937
Basic options but add specific for your samba shares.
Code:
remote_share /mount_point fs_type noauto,x-systemd.automount,x-systemd.mount-timeout=30,_netdev 0 0
Are you also trying to use autofs on the Pi?
 
Old 10-05-2023, 03:18 PM   #8
goldennuggets
Member
 
Registered: Feb 2003
Location: USA
Distribution: Kubuntu, Manjaro
Posts: 239

Original Poster
Rep: Reputation: 24
Are you also trying to use autofs on the Pi?[/QUOTE]

It's installed on the pi, but I'm not trying to access anything from it. I just want to take a samba share of the external SSD that's attached to it and access it from a desktop and a laptop. I currently access another desktop "server" on our network with an internal drive and it's worked fine for years, but that computer is slowly dying, and I'd like to access the network the same way for the sake of the rest of the family. Less change is better.
 
Old 10-05-2023, 03:30 PM   #9
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,784

Rep: Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937
I have played with nfs and sshfs using x-systemd.automount and they work fine.
 
  


Reply

Tags
file access, image, network, raspberry pi, upload



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
LXer: Upload Photos On Flickr With Frogr Flickr Upload Client For Linux LXer Syndicated Linux News 0 09-21-2015 11:42 AM
Create Network Share via Samba on Linux machine via CLI Bindu19 Linux - Newbie 5 01-15-2014 02:34 PM
Cannot attach/upload JPEG files through any website. Other file formats are fine. yamel Linux - Newbie 11 07-02-2009 01:18 PM
Proftpd upload to a folder other than 'upload' fooboo Linux - Software 4 04-27-2006 07:51 PM
IglooFTP-PRO refuses to upload files in folder when I upload folder eBopBob Linux - Software 0 08-27-2004 05:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:03 PM.

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
Open Source Consulting | Domain Registration