Reboot …


We kicked off a WordPress web server running on a Raspberry Pi earlier in 2015. The Pi went back on the shelf but now the time is right to dust it off, dust this blog off and get cracking !

Who else out there is tinkering with a Pi or Arduino etc ?

Advertisements

file transfer as easy as Pi from a Mac …


contrary to my earlier post on FTPing, it turns out it’s incredibly easy to shift files around between a Pi and a Mac. (cheers, milliways)

Get netatalk on the Pi:

sudo apt-get install netatalk

… this installs the appletalk protocol on the Pi. This lets you use the following (at the terminal prompt on the Mac) to connect to the Pi:

open afp://x.x.x.x (where x is your Pi’s local IP address)

Use Finder as normal:

Screen-Shot-2015-04-04-at-20.55.21et voilà:

Screen-Shot-2015-04-04-at-21.06.55


realvnc sorted !


https://www.realvnc.com/products/vnc/raspberrypi/

Screen-Shot-2015-04-04-at-20.01.50

not quite sure what went wrong and tightvncserver not to blame but all sorted with VNCserver/viewers. Now running virtual mode rather service mode so raspi-configged to stop unnecessary boot into startx.

pi-virtual


dash and blast ! vpn needs an overhaul …


a few vpn woes today. Disconnections when not expected. Window sizes. Nothing that can’t be solved but need to go back to basics later

Screen-Shot-2015-04-03-at-00.01.44

 

… so have a RealVNC connection into a sensibly sized TinyVNCServer instance on “:2” but the original VNCServer instance on the Pi didn’t have geometry set and is toooooooo small. (And, now, having rebooted the Pi from USB power from the Mac – i.e. no monitor etc. – we can get the the blog but not VNC … two steps forward, one step back).

Need to sort out some type of file transfer later, also. Will look at FileZilla again …


remoting


it’s at least a couple of yards to the other desk so clearly we need a remote access solution …

(original intent was to leave the Pi plugged into the USB of something and let it work away without kb/mouse/monitor but having found out that Minecraft won’t work on VNC, don’t think Daughter will allow that …)

Quick Google and looks like we’re after tightvncserver. So all installed then headed a couple of yards (!) back to the Mac to look for a solution. Interesting page from @DavidTheExpert showing how the Mac has Screen Sharing built in. Gave it a go. Didn’t go as planned (plus you can’t copy/paste) so reached for the ol’ standby, VNC. While we were about it, went for VNC on the Pi, also.

Now, the copy/paste doesn’t seem to work at the moment and it would be cool to get the Mac stuff working. That’s another day’s problem to sort …


πccalilli – eh ?


bit of an in-joke here at the ranch but also a play on words π = pi, πccalilli = piccalilli as in the English spiced pickle.

Haywards_Piccalilli_460__13445

So WordPress doesn’t seem to have a problem dealing with πccalilli as a name but we’re 2-days and counting to see if https://www.123-reg.co.uk can register πccalilli.com.

Now should resolve itself to http://xn--ccalilli-7dg.com so, essentially, that’s what we’ve tried to register. Had a chat to the 123 support team who have raised a ticket this evening … fingers crossed.

Have no idea if 123 offer Internationalised Domain Names (IDN) but their system shouldn’t have allowed us to buy one if not !

(Just realised that I’m talking to myself with these posts without an externally facing name … oh well, not much different to the other gazillions of blogs out there, eh ?)

UPDATE: So … 31 March 123reg confirm they canNOT manually create IDNs so back to the drawing board …

(originally March 30, 2015 … and πccalilli not the name of the new blog)


getting the Raspberry Pi up and running as a server (2)


The troubleshooting page over at elinux.org is a useful bookmark. Thought it wise to update the Pi via the console:

sudo apt-get update
sudo apt-get upgrade

There are some really great resources out there for the Pi Noob and the vast majority of how-to guides really do take you step-by-step. Handy if your UNIX is a bit rusty …

For example, the guide at raspberrypi.org helped us install Apache:

apache-html

… and PHP/MySQL …

apache-php

(Caution for Debian users – need to do everything via sudo, no root credentials …)

Not long before we had WordPress up-and-running:

wpress

Check @Hardware_Hacks if you’re getting Raspberry Pi WordPress Theme Installation FTP Setting Error ?

All looking good on the internal network. Haven’t tried yet on the external network … opened ports but need to check what happens if we mess with those settings when we’ve got the external address up and running …


getting the Raspberry Pi up and running as a server


Over the weekend, we got the Pi up and running as a server. Incredible how much you can throw at this little £25 card. To start with we wanted to replace the 8Gb SD that came with the Maplin kit in case we made an unrecoverable mistake. Got a great 32Gb SD from Amazon and grabbed Snappy Ubuntu and the Debian-based Raspbian.

Now what ? Got an image, got an SD card. As a pair of Noobs we have no idea whatsoever. As always, Google was our friend but not a huge amount of luck with the various options suggested for a Mac. In the end came across the ApplePi-Baker – splendid stuff and highly recommended.

Got Snappy on the card but no joy. Faced with this initially perplexing display:

… bit of troubleshooting indicated that kernel.img wasn’t booting. Advice is to replace with “known good copy” so decided to re-build the SD card to Raspbian using the ApplePi-Baker.

Now we’re in business !

wheezy

(originally March 29, 2015)


Prolific ?


logged into WordPress for the first time in aaaaages. WordPress wishes me “happy anniversary” … 7 years today. 8 posts since then. That’s more than one a year – makes me a “prolific” blogger 🙂


Do you speak better English than 90% of natives ?



If you can pronounce every word in this poem, you will be speaking English better than 90% of native speakers.

“The Chaos” by Gerard Nolst Trenité aka Charivarius:

Dearest creature in creation,
Study English pronunciation.
I will teach you in my verse
Sounds like corpse, corps, horse, and worse.
I will keep you, Susy, busy,
Make your head with heat grow dizzy.
Tear in eye, your dress will tear.
So shall I! Oh hear my prayer.
Just compare heart, beard, and heard,
Dies and diet, lord and word,
Sword and sward, retain and Britain.
(Mind the latter, how it’s written.)
Now I surely will not plague you
With such words as plaque and ague.
But be careful how you speak:
Say break and steak, but bleak and streak;
Cloven, oven, how and low,
Script, receipt, show, poem, and toe.
Hear me say, devoid of trickery,
Daughter, laughter, and Terpsichore,
Typhoid, measles, topsails, aisles,
Exiles, similes, and reviles;
Scholar, vicar, and cigar,
Solar, mica, war and far;
One, anemone, Balmoral,
Kitchen, lichen, laundry, laurel;
Gertrude, German, wind and mind,
Scene, Melpomene, mankind.
Billet does not rhyme with ballet,
Bouquet, wallet, mallet, chalet.
Blood and flood are not like food,
Nor is mould like should and would.
Viscous, viscount, load and broad,
Toward, to forward, to reward.
And your pronunciation’s OK
When you correctly say croquet,
Rounded, wounded, grieve and sieve,
Friend and fiend, alive and live.
Ivy, privy, famous; clamour
And enamour rhyme with hammer.
River, rival, tomb, bomb, comb,
Doll and roll and some and home.
Stranger does not rhyme with anger,
Neither does devour with clangour.
Souls but foul, haunt but aunt,
Font, front, wont, want, grand, and grant,
Shoes, goes, does. Now first say finger,
And then singer, ginger, linger,
Real, zeal, mauve, gauze, gouge and gauge,
Marriage, foliage, mirage, and age.
Query does not rhyme with very,
Nor does fury sound like bury.
Dost, lost, post and doth, cloth, loth.
Job, nob, bosom, transom, oath.
Though the differences seem little,
We say actual but victual.
Refer does not rhyme with deafer.
Foeffer does, and zephyr, heifer.
Mint, pint, senate and sedate;
Dull, bull, and George ate late.
Scenic, Arabic, Pacific,
Science, conscience, scientific.
Liberty, library, heave and heaven,
Rachel, ache, moustache, eleven.
We say hallowed, but allowed,
People, leopard, towed, but vowed.
Mark the differences, moreover,
Between mover, cover, clover;
Leeches, breeches, wise, precise,
Chalice, but police and lice;
Camel, constable, unstable,
Principle, disciple, label.
Petal, panel, and canal,
Wait, surprise, plait, promise, pal.
Worm and storm, chaise, chaos, chair,
Senator, spectator, mayor.
Tour, but our and succour, four.
Gas, alas, and Arkansas.
Sea, idea, Korea, area,
Psalm, Maria, but malaria.
Youth, south, southern, cleanse and clean.
Doctrine, turpentine, marine.
Compare alien with Italian,
Dandelion and battalion.
Sally with ally, yea, ye,
Eye, I, ay, aye, whey, and key.
Say aver, but ever, fever,
Neither, leisure, skein, deceiver.
Heron, granary, canary.
Crevice and device and aerie.
Face, but preface, not efface.
Phlegm, phlegmatic, ass, glass, bass.
Large, but target, gin, give, verging,
Ought, out, joust and scour, scourging.
Ear, but earn and wear and tear
Do not rhyme with here but ere.
Seven is right, but so is even,
Hyphen, roughen, nephew Stephen,
Monkey, donkey, Turk and jerk,
Ask, grasp, wasp, and cork and work.
Pronunciation (think of Psyche!)
Is a paling stout and spiky?
Won’t it make you lose your wits,
Writing groats and saying grits?
It’s a dark abyss or tunnel:
Strewn with stones, stowed, solace, gunwale,
Islington and Isle of Wight,
Housewife, verdict and indict.
Finally, which rhymes with enough,
Though, through, plough, or dough, or cough?
Hiccough has the sound of cup.
My advice is to give up !