Comments (8)
The principal reason is because that's how it the script was written by the original author and we haven't found a need to change it.
Looking around on the internet, I could speculate that perhaps the reason it was written that way was in case the mount happened before name resolution happened. But I've read that there's a "netfs option that could also address this.
It sounds like you're saying that your archive server
- Doesn't have a stable IP address
- Isn't pingable
Is that right?
from teslausb.
I'm not sure how stable the IP address is, since this is fully Azure hosted, but they definitely block icmp ping on that address.
from teslausb.
it looks like the 'hping3' package can be used hping3 -c 1 -S -p 445 $hostname
instead in order to test for connectivity to a cifs share.
from teslausb.
Does hping3 work for all CIFS shares, on Windows, MacOS, Samba, others? If so, it seems reasonable to replace the ping test with that test for CIFS archives.
The alternative would be to add Azure File Share as another hosting technology. The current organization of the files actually makes that option easier, but it would be nice to consolidate all the CIFS options.
from teslausb.
I have only tested with azure's file shares, but I believe it should work. It works by using a TCP SYN to test if the port is open and listening.
from teslausb.
If you'll submit a PR I'll be happy to merge it into a branch in this repo to increase the chance that someone will try out the change with a Windows share.
from teslausb.
I've done some very basic testing locally with my windows 10 pc, and a freenas samba server I have running, and hping3 worked well.
from teslausb.
Merged!
from teslausb.
Related Issues (20)
- Pushover not working
- Video corruption on a lot of files. Any way to optimize the system?
- Error when running ./setup-teslausb script HOT 4
- Does not work with new rasbian images due to auto root expansion HOT 3
- Error running on raspbian buster - The location is outside of the device /dev/mmcblk0 HOT 6
- Help. I dont know how to set after 2019.5.x. HOT 1
- Mount /backingfiles/cam_disk to view files?
- no upload on the NAS HOT 2
- Link to Jeda USB hub?
- Slack invite link is expired
- Issue: outside of the device /dev/mmcblk0. HOT 4
- Not working after v10 update HOT 1
- Test
- Is this repo being maintained?
- This project is frustrating me... HOT 2
- New Track Mode Changes
- Case for a pi Zero
- Anyone did this project attaching to the PI a router with 3G SIM card?
- Anyway to buy a pre-setup and working product?
- 2023.44.30 Lock Sound Support
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from teslausb.