Discussion in 'all things UNIX' started by Infected, Jun 19, 2020.
A bit off topic but mounting network shares beat me. Any details you could provide?
It's a good question because it gives me an opportunity to show the experts what I have figured out, and how. Here's an exact copy of my notes from a .doc I have for setting up Kubuntu.
1. I install
sudo apt-get install nfs-common
sudo apt-get install cifs-utils
to be honest don't know whether I need one or both but the bloody thing auto-mounts when I've finished.
2. Mount the drive. I have two on a network drive, Public and Ian. Grab the ip address of your drive and change below as necessary for your situation. Where it says vers=2.0, there are different versions (of course, there has to be!) I have a MyBookLive and found vers=2.0 worked for me. In https://askubuntu.com/questions/967144/ubuntu-17-10-issue-with-mount-cifs you will find reference to 2.1, 3.1.1, etc. I don't want to be a server expert, I just want the drive to auto-mount. If an expert can explain the differences, much appreciated.
Make the directories
sudo mkdir /media/windowsshare
sudo mkdir /media/ianshare
Use the editor to change fstab
sudo nano /etc/fstab
add the following (different bits for you)
//192.168.0.9/Public /media/windowsshare cifs guest,uid=1000,iocharset=utf8,users,vers=2.0 0 0
//192.168.0.9/Ian /media/ianshare cifs guest,uid=1000,iocharset=utf8,users,vers=2.0 0 0
I had a problem in that the it was trying to auto-mount before the network adapter had connected to the wireless network, so need to delay mounting until PC has a network connection. BTW, while I'm learning I don't have a clue what I'm doing. I'm blindly googling for solutions.
sudo nano /etc/network/if-up.d/fstab
add the following and save
to start at boot you need to (don't ask why, don't know)
sudo chmod +x /etc/network/if-up.d/fstab
That's about it. In Dolphin I have added shares under remote for Public and Ian.
to add share to side-bar list, right-click in side-bar and add entry, e.g. smb://192.168.0.9/Public
When using Back In Time to sync important docs to "Ian" you find it under root/media/ianshare. It's not listed as smb://192.168.0.9/Ian
That's it folks! How a noob conquered auto-mounting a network share through trial and error. Do you experts see what us noobs have to go through? I'm not really sure what I have done, but it works. To get here I can't remember how may different things I tried, I do remember it was a lot of hours.
Well, if you're a noob, what does that make me??
To be fair, Linux does the very little I ask it to so haven't had to dig to get much done.
Many thanks. I'm using Mint Cinnamon.
I was very careful in following your instructions and after restarting I have...
But with windowsshare I get...
Unable to mount windowsshare (mount error(2): No such file or directory)
The "same" error occurs with ianshare.
Can you see windowsshare and ianshare when you use file manager to open /root/media? If not, you haven't created the directories.
I was actually using Linix Mint when I figured out how to do auto-mounting. Spent 3hrs one evening and nearly gave up, next evening I was so annoyed I spent another 3hrs and got there.
I'm hoping one of the experts will jump in as I'm a noob who got there by trial and error.
Ian, the folders are in /root/media
I notice my cifs was ver 2:6.8-1
I edited the lines to
Now the error is
Unable to mount ianshare (mount error(22):Invalid argument)
did vers=2.0 0 0 not work? Then try vers=1.0 0 0 Other than that I don't know.
Unfortunately, none of the vers work.
You could always try Mrkvonic's favourite, https://www.dedoimedo.com/computers/kubuntu-focal.html. I used the same instructions to set up my wife's HP X360 last week and everything worked straightaway on Kubuntu. Just copy/paste my exact instructions except change your shared drive IP address and that doesn't work? Just to check, you do have shared folders named Public and Ian on your drive, https://i.postimg.cc/yxfCSZsJ/2020-06-23time17-11.png? Create them in the root if you don't, or use ones you already have.
Ian, I have a Public folder in folder 192.168.0.138. I don't have an Ian folder.
In Public Properties, the folder isn't shared and if I click Create Share I get a long error message.
Ian, thanks for your help but I've lost interest in Linux sharing for the time being. It would have been icing on the cake but I can cope without. I'm not prepared to spend more time on this subject.
Perhaps this helps.
Another vote for macOS. Best of both worlds... most polished GUI (imho, ), first-class versions of nearly all productivity apps, and I can run zsh (along with oh-my-zsh) along with a package manager (Homebrew) much like a Linux distro. I also very much prefer Parallels as one of the best desktop virtual machine hosts for those occassions where I do wish to run Windows, Linux, or an older version of macOS. Gaming is probably the only reason I would switch out for Windows, but: (1) I don't PC game as much as I used to, (2) I'm more of an RPG'er than an FPS'er demanding extreme frame-rates; and (3) Steam has mac versions of most games I'm interested in.
Thanks but I'm no longer interested.
Your needs are probably different from mine in terms of business software for Linux, but for me the situation has improved in the last few years, to the point where I'm ready to try doing a project entirely in Kubuntu. I may soon be in a position to say bye-bye to Windows.
In my line of business, the most important applications are a word processor and a PDF editor. LibreOffice doesn't offer enough compatibility with MS Office for my needs, but SoftMaker Office has performed well. And Master PDF Editor has fielded every ball I've hit at it (so far) with respect to functions such as markup, commenting, page insertion/extraction, and the like.
An acceptable replacement for Outlook is likely the only thing holding me back. I'm tired of giving money to billionaires.
I agree, me too.
There isn't one, but I have learnt to live with Thunderbird.
On the plus side I use Thunderbird on my Linux Desktop, W10 laptop, and Mac iPad.
There is no mobile version of Thunderbird for any mobile OS, but as I don't use email on my phone that's not a problem for me.
So, I'm guessing you don't use Excel, which is usually every ones number 1 choice for using MS Office rather than Libre.
Some of the issues raised here show a basic lack of understanding regarding Linux. What might have been years ago is no longer relevant and issues pertinent to one distro don’t necessarily apply to another. But here also lies the answer to the question. With Windows you get just the one item but with Linux there are multiple base systems and multiple desktops 50% of which no one needs but the resulting confusion is totally understandable.
Security is still the major factor between the two systems. The statement above: “Windows is now by default a secure environment” only applies if you remove users from the equation. The way in which many Windows users insist on using their machines however makes Windows far from secure not just for them but for other Windows users and no amount of security software free or paid is going to guarantee protection. The popular pastime of surfing malicious porn sites would be one of the best examples.
Yes it’s fiddly but if you have the time and inclination using your Windows PC for general stuff and a live session of Linux for dodgy surfing and online shopping is probably the best compromise. Gaming is also a high exposure medium but Windows is still hands down the best platform for this and a live session of Linux next to useless.
Nope, there isn't one. Thunderbird doesn't get the job done. I tried running Thunderbird and Sunbird and it just comes short of being good enough.
I know the comment about Excel was for someone else but my 2 cents on the subject is that I prefer Calc to Excel, especially if working with delimited files like Tab delimited files and CSV. Calc doesn't mess with my data. Excel tries to "fix" it.
I agree. TB isn't good enough.
Only at tax time.
You're right, I don't have any great need for spreadsheet software, so having or lacking one hasn't been an obstacle to making the switch to Kubuntu. On those few times where I've used it, PlanMaker in SoftMaker Office has done the job. I'll probably be using it to do my taxes next year.
I realize this wasn't address to me, but I use LibreOffice Calc everyday. I keep track of the finances at a small non-profit I have am the Finance Officer of. I keep track of our social hall, several restricted funds, various accounts payable, receivable, employee, member loans, monthly cash, income and condition statements, payroll, annual reports, etc. All done with Calc. I've tried this with Excel, it can be done, except Excel seems to have real issues with external links.
Why? I just don't like TB. It works, I don't have any problems with TB's functions. But the "feel" isn't the same for me. I just use my browser to check my emails.