Ricky Ford

Tech & BBQ Enthusiast

Your Cart Contents

Your cart is empty.



Twitter: @rickylford

@jk_rowling Do not apologize to anyone; their hurt feelings do not make what you said in the past any less true. Th… twitter.com/i/web/status/1…
February 15th, 2023

@dallascowboys Every year. Same result.
January 23rd, 2023

@DetectiveAF @BigTimeGeks December 31, 1995
August 4th, 2022

I recently began playing around with Fedora and am actually enjoying it quite well. One thing I noticed, however, is that upon booting the camera, it is failing to mount my CIFS shares because the NetworkManager will simply not wait for the network to actually be ready before processing the CIFS shares. After a ton of research I finally found a resolution.

Under su conditions, create a file called, "really-wait-online.service" inside of "/etc/systemd/system". Inside of this file, include the following text:

Description=Really wait for the network
Before=network.target network-online.target

ExecStart=/bin/bash -c "until ifconfig | grep 'inet 10.1'; do continue; done"


Now, you're going to need to know what your internal IP address scheme is. As mentioned above, mine is 10.1.*.*. Most home networks are 192.168.*.* - be sure you know which one yours is, as we will only need the first two octets.

You need to edit the "ExecStart=" line so that after "ifconfig | grep 'inet" you type your first two IP address octets. Also make a manual edit so that the "ExecStart=" line is ALL ON ONE LINE. I cannot stress that enough. WordPress is a bit ridiculous in that it drops "continue; done'" to the next line, however that needs to be moved back up to the line before it, so that it follows directly after "'10.1'; do". If you do not move that back up, the daemon will process it accordingly and break on bootup. One last bit of edits you might need to make include modifying the quote symbols to actual quote symbols (if you copy/pasted the above instead of manually typing it out). WordPress is stupid in that it also modifies quotes to being the italicized quotes (not sure what the actual name of them are, and too lazy to look it up).

Once you've created this file, go ahead and issue "systemctl enable really-wait-online.system" in the terminal and then reboot the computer.

After your computer comes back up, you should be able to cd into the mount directory of your CIFS share and it should now show up without issue.

Posted on October 29th, 2016 by Ricky Ford in Technology.

Updated on October 10th, 2018 at 12:00 AM.


Post Comment

Comments (0)

No comments have been posted to this article yet.


© 2011-2023 www.rickylford.com | All Rights Reserved.