Pauly's Soapbox

Home

Searching for something on my site? Not found it? Try here:

Surprisingly tricky NFS mounting my NAS

Oct2410/24
Eventually found this my d-link nas is a tricky fellow, when you enable mounting (so I can rsync my music from other linux boxes on the network) there is a "hidden" menu that shows you what the real path is that you need to mount to... previously using cifs on my other NAS this was not an issue... I could do

mount -t cifs //LINKSTATION/share /mnt/share -o ip=192.168.1.65


at least that was the note I made for myself, possibly

mount -t cifs 192.168.1.65/share /mnt/share


would have worked just as well. On the new NAS everything is in /Volume_1 instead so I thought

root@debianlaptop:~# mount.nfs -w 192.168.1.71:/Volume_1 /mnt/share


BUT NO! There's a secret path!

The correct solution is as follows: Under Account Management > Network Shares, when you set up the share for NFS access a little icon appears in the Network Shares Settings table in the NFS column in the row for that share. Although it does not appear to be a link, clicking the icon brings up a pop-up window with the settings for that share. The critical item here is the string labelled "Real Path"; this is the string that needs to follow the host name.

As an example, if your DNS-325 has a host name of "nas" and you are sharing "Volume_1/nfs". The correct string (at least on my box) to mount the share on Linux is "nas:/mnt/HD/HD_a2/nfs" and on the Mac is "nfs://nas/mnt/HD/HD_a2/nfs". I suspect the "/mnt/HD/HD_a2/" part is dependent on how the disks are configured so be sure to look up the correct string for the share on your own DNS-325.


So the answer (for me) was

mount.nfs -w 192.168.1.71:/mnt/HD/HD_a2 /mnt/share


This now makes it look as if the NAS (where all the music and pictures and TV and films are) is a local drive on the laptop, while I'm on the network. So I'll set up a job to synchronise with the laptop's real hard drive.
:: Comment / reply

We're still looking for four or five people like me

Oct2410/24
OK not exactly like me but we're employing four or five developers. And if you say you heard about the job through me and you get it, I earn a nice fat bonus. So do it!

Apply now.
:: Comment / reply

Lightwaverf have finally broken things for me to

Oct2410/24
Recommended / related
Lots of people on the forum have been complaining that a firmware update from lightwaverf broke their home automation things in the house. Insane that the company will send out firmware updates to the piece of hardware that I own without my permission, but they have done. This should be an option to update not automatic... it has stopped my energy monitor from logging for the past day and a half, not sure what else it has affected.

I'd not had the update until now, quite a while after most other people that were affected. Rumour was it was because they knew it was broken for the energy monitor and were not updating systems that used this. But now. Gah.

Hmm that should be "too" in the subject line there, but in my rush to super simplify posting things here I've removed the option to edit the subject for now.

At least my regular home automation control is still working. I've just turned the lights on and off with the robot butler so we're all good. I've updated version 0.7 of the robot butler to fix an issue that must have been putting people off for a while. It's about time to publish it I think. No harm, seeing as new users must have been having serious problems with the current version. Hitting the publish button now!

Glossary:

lightwaverf: the light switches etc that I use to give me remote control of everything in the house
:: Comment / reply

Just realised I posted four blog posts ending in an exclamation mark

Oct2410/24
I will desist from this in future, it makes me sound like an excitable fool.
:: Comment / reply

Further good day at work news

Oct2410/24
Not only the £2 scratchcard win, but also a free lunch from work too, mediterranean style, flatbreads to fill with hummus and falafel and veg and chilis and things, nice. There is also chicken and haloumi for other people.

Also I found the camera! I lost it a couple of weeks ago, I assumed it was at work somewhere. I was just looking for a phone charger in my back and found the camera in a little hidden pocket... Good timing because Tommy keeps being super cute at the moment he's just really started to talk and we want to capture some of it before he goes from "oops train... kiss daddy" etc to "I HATE YOU GET OUT OF MY ROOM!". Slightly bad timing in that today is the last day of Harry's gymnastics, and I've seen none of it and Clare is there without the camera. I hope she can capture some on her phone for me.

Surprising number of people have no idea what a falafel is. So much so that Neil the caterer had a tonne left over and has given me a big bag to take home. So it's falafel for tea too!
:: Comment / reply

Harry's gymnastics class is all booked up!

Oct2410/24
No not "he is now booked into a gymnastics class" but the class we wanted him to get back into is fully booked, he can't do gymnastics any more, he will not be pleased. It is seemingly a very popular class at Folkestone sports centre, you have to go down there on the morning the bookings open for the new class and book in. We could not do that today, because of having to get to work and school etc so Clare tried on the phone. "Don't worry" says I "it surely won't book up this fast". It did.

Maybe they are lying and they have heard about Harry, just pretending it is fully booked...

:: Comment / reply

Great scott!!!

Oct2410/24
An actual hoverboard!

An actual hoverboard like from back to the future? It's on BBC Click this week apparently.

Also I just won £2 on my free scratchcard from work. It's wellbeing week. This £2 has greatly increased my personal wellbeing, I might well put it towards a pint in the potting shed on my way home today.
:: Comment / reply

Got Windows off the desktop at last!

Oct2310/23
Was it Windows XP or was it even older than that? Whatever it was it's now gone, I'm posting this from my aged desktop PC which is now sporting Debian. I had to drag the PC upstairs in the end to wire it up while installing but it all went without a hitch and it's now wireless. I hope there was nothing left on it that was not backed up anywhere, it's all gone now. For a while now it's only had my pictures and music and they're all duplicated across the NAS and an external backup drive (and mostly some only space rented from the google.

Now what?
:: Comment / reply

In more Portsmouth news - Mystery Clown!

Oct2310/23
Local people are freaking out about Portsmouth's "mystery clown". It's not you is it George?
:: Comment / reply

Good sounding Doctor Who game

Oct2310/23
Teaching kids to code, sounds good for Harry. He has expressed an interest in Doctor Who though we have never watched it together. OK, he told me the "knock knock, doctor, doctor who" joke, which I'm not entirely sure he undersood, though he found it hilarious. Maybe we'll give this a go, though I'm not sure why it needs me to install special software, come on BBC you can do better than this...
:: Comment / reply

One for Dad (who wants a drone)

Oct2310/23
Recommended / related
Did you know they're illegal to fly in a built up area?

They are cool though.
:: Comment / reply

Car Trouble

Oct2310/23
Would you like to sit where Adam Ant sat?

Someone is selling a car seat Adam Ant has sat on. A bargain at £8.50. And it's in Portmsmouth.

I gave Adam Ant a lift in my car on 3/5/10 here is the seat he used on the journey. Selling this as my car is off to scrapyard next week. Happy bidding on a rare item. Message me for details, it's collection only though.


:: Comment / reply

Got Windows Vista off the laptop at last!

Oct2210/22
This did the trick, everything else worked out of the box. Not that there was a box. I downloaded an ISO and put it on a memory stick, then booted from that and configured. Was only the wifi that didn't work instantly so I had to trudge through some instructions to find out what to do.

This is posted from the new / old laptop. Everything looks alright to me, should work a lot faster than it did. It looks a bit utilitarian I'll have to experiment with display resolutions. Then the question is do I give it back to Mum and Dad? Do they really need this laptop?

It's been a good test, I'm going to install the same OS on the PC downstairs too, that has been struggling for a while. I have another wifi dongle that I will need to use on the old PC, it should hopefully be as easy as:


Add a "non-free" component to /etc/apt/sources.list, for example:
deb http://http.debian.net/debian/ wheezy main contrib non-free
Update the list of available packages and install the firmware-ralink package:
apt-get update && apt-get install firmware-ralink


though trying that on the laptop (so I have two wifi connections) just caused some sort of issue. Also, as this extra package (containing the drivers) is not part of the official Debain distribution it means I have to get it onto the old PC somehow, before it has an wireless connection... so either drag the PC upstairs or run a long network cable down the stairs to the study...

Then when I get used to using whatever-this-comes-with-instead-of-itunes it'll be nice and easy to rsync my music and things between each computer and the NAS. I've been using music monkey on the old PC for ages rather than itunes, but I still think of it as itunes... good branding apple. I will also need another photo editor / organiser too. Picasa has been good for me for years, but it's clear google are phasing it out. They want you to use google plus for everything but the offline syncing is not so good with that. I want my home copy of everything to be the master and online is just a backup, google etc want things the other way round...
:: Comment / reply

Mums Laptop

If its any good to you, think of it as an early Xmas prezzie LOL
Pops
:: 23 Oct :: Comment / reply

We have sound in the playroom

Oct2210/22
I figured out the strange issue with there being no sound from the playroom xbmc install on the TV down there, with a bit of online research. The network is all working fine now too. Sound out of that TV is terrible but it's a start. Next to mirror the config from my other xbmc so I don't have to set up all the sources and so on... I will version control those files.

Glossary:

xbmc: my media centre, runs on a raspberry pi connected to the tv, plays all my music and that
:: Comment / reply

Secret Seven

Oct2210/22
Quite pleased that I got away with a couple of audiobooks for the journey to and from Mum and Dad's at the weekend, a Secret Seven there and a Secret Seven back again. Harry was into them and Tommy didn't complain either. I asked Harry if he'd like to try one of the books for his bed time story and he was very keen, so I dug out a big box of books from the loft. Have found some more that I think he's about ready for but he won't look at anything else until all the Secret Sevens are gone. He will not look at Famous Five which I thought would also appeal, I think I pushed him into them too early, also they are even more old fashioned. I have more that are also old The Five Find Outers that were my favourites, maybe we'll get away with one of these next... all Enid Blyton of course.

Swimming yesterday was OK, not a raging success. I'm not very impressed with the lessons we have now, they don't seem to notice what Harry is even doing. There is one instructor who is good the others seem to be going through the motions and chatting with the other instructors. We don't have any choice right now though can't get him into any other lessons, so I suppose it's better than nothing.

I'm going to spend the rest of my lunch reading about the five find outers, I didn't know there were adaptations...
:: Comment / reply

Getting colder around here

Oct2210/22
We didn't see the expected very bad weather as the result of Hurricane Gonzalo though, passed us by completely. It's cold again at work though, and just generally cold and damp everywhere.

Aargh, forgot to bring some coffee into work today, not sure I can go back to the machine coffee now I've got used to having nespresso every day...
:: Comment / reply

Installing Debian on a Dell Inspiron 1525

Oct2110/21
Recommended / related
I have kidnapped Mum's laptop it is a Dell Inspiron 1525, they don't use it because it is too slow. It has windows vista on it but it was never powerful enough to run that operating system so I'm putting debian on it instead. It works nicely on all my raspberry pis so I think it should be OK! All installed ok though the built in wifi doesn't work and here's why. Got to try another driver, fingers crossed.

I have to have a network lead trailing from the router across to the table (at neck height) while I work on this, nice and safe! Also my rf butler is offline while I do this as I have a limited number of network ports.

Glossary:

raspberry pi: cheap low powered computer
:: Comment / reply

Just figured my "reply" links aren't working very well

Oct1910/19
Lovely weekend with Mum and Dad, Dad pointed out the reply links don't work so well here. It takes you off to the twitter to authenticate, then when it brings you back here it has lost the original message you were replying to so your reply disappears. I'll sort that.

Flying visit for Nan's birthday, she was eighty-four yesterday and doing well. Lovely to see everyone, shame it has to be such a short trip each time.
:: Comment / reply

So that might be working now

Dad can you try and reply to one of these?
:: 19 Oct :: Comment / reply

Can't believe I missed this that

Oct1810/18
Justin Hawkins is selling all his stuff on ebay. "Just in" case (just in, justin, geddit??) you're still shopping for a christmas present for a Darkness fan what about these trousers?

Or better shiny black trousers that Justin says are most likely the ones he wore at the Carling Homecoming gig at London Astoria. I was at that one!

Hmm, I was at quite a lot of them to be fair.
:: Comment / reply

Paul Clarke's blog - I work and live in Seabrook near Folkestone, Kent. wed to Clare and father to Harry and Tommy, I am a web dev, and I do javascript, nodejs, php, and ruby. I like Folkestone Gerald, pubs, restaurants, home automation and other diy jiggery-pokery, history, genealogy, TV, popbitch, squirrels, pirates ☠, and time travel...