Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Blogs > markyd
User Name


Rate this Entry

Raspberry Pi - Debian Raspian-Wheezy

Posted 08-10-2012 at 03:02 AM by markyd
Updated 10-16-2013 at 05:31 AM by markyd

Thursday 9th August 2012 - VNC & Mounted Shares
What over a month since my last blog? Where did the time go? Well .. 2 weeks working in Edinburgh, 1 week in Paris (Disney land not work) and 1 week lost in data centres ... mmmm .... need portable Pi that's what we need.

Job "1" get the the latest Wheezy-Rasbian build loaded and updated "check" ... wow big improvement guys very happy with that! Enabled SSH from the raspi-config (starts up on first boot or sudo it from the CLI any time) and the resizing of the card (8GB) was so quick I had to check it had done it!

ok so that's comand line headless sorted out but it would be nice to get the GUI up as well so time to load up VNC server. Now I could pretend that my Linux Voodoo is strong and cut an paste the commands in here but that would be hiding the truth that my Google Voodoo is stronger, head over too:

What I will do is now do a step by step install using their instructions and report back :-) .... yup all works fine!

Time for that old chestnut network browsing, does not work "out of the box" from the file manager but I want to "mount" my shares anyway as VLC does not like SMB or CIFS to stream movies etc.

first I had to create directory as a mount point /home/pi/ServerVIDEO then edit /etc/fstab to mount the share

// /home/pi/ServerVIDEO cifs username=fred,password=derf 0 0

As per my previous Debian blog I am still getting network errors on boot up but it does work, and life is still to short to fix things that are working but if anyone does have any ideas because I don't like to see errors :-) here is the error produced during startup.

[Configuring network interfaces ...[ 19.594717] CIFS VFS: Error connecting to socket. Aborting operation [ 19.612283] CIFS VFS: cisfs_mount failed w/return code = -101 mount error (101): Network is unreachable

But for all its whining it works fine, is it a case of trying to start up the mounting process before the network has finished setting up? If so that's a bit daft but something thats driven me crackers with windows for year ... why waste time starting up all that crap when there is no network ... ahhh ... ahem I digress.

Next sudo apt-get install vlc so I can play my mp4 videos from my Samsung Note stored on the server .... moment of truth .... browse to share on server ... right click on file select vlc ... few moments wait ... app starts and still of video appears ... but it does not play :-( bummer! Play time over back to work, this will have to wait to another day!

Friday 31st August 2012 - Audio & WiFi

3 weeks between blog entries is not going to get me on the hall of fame is it, ah well, not been totally idle though .. just working up in Edinburgh and my Pi is in London, now have ssh and vnc working nicely thank you even on my Samsung Note :-) over 3G!

Time to finally tackle some of the niggles, sound and WiFi!

Sound, off to edit the modules file sudo nano /etc/modules

in my file the sound module appeared to be already loaded so I just added the to set the mixer output to HDMI

amixer cset numid=3 2

One other thing often mentioned is to force the HDMI output to include sound so the config file needs an edit .. sudo nano /boot/config.txt


.... now to find a TV with working sound, should have thought of that first ha ha!

Meanwhile lets play WiFi, from what I have read the little nano adaptors with the rtl8188 chip set seem to be the best bet so I got myself a Edimax EW-7811Un off Amazon for 10. Some bloke has obviously done a shed load of work on this but it does pay to read the instructions first as I did was some time dicking about but to summarise, make sure you have the Pi wired into the internet, unplug your nano dongle then from the cli:

sudo wget -O /boot/
This installs the file in the /boot directory ready to run then:

sudo /boot/
The script then runs, tells when to plug in your dongle, asks questions about your SSID etc ... then in my case, could not find my Virgin Media hub and bombed out .... sigh .. get back to you when I fix it!

Monday 3rd September 2012 - WiFi Update

Cor this PiWiFi game is a giggle isn't, rather than go into the sea of pain I will just point you to my thread (or the thread I jumped into) on the Pi forum ... .... I am making progress and when I get a solution I will repost.

Looks like the main sticking point was this bit below:

Check the file /etc/udev/rules.d/ This file can sometimes have invalid entries in it that effectively change the name associated with the wifi adapter and can stop it working. If there are any lines referencing "wlanx" - x=0, 1, etc. edit the file and delete them.

After that I did have to do a sudo apt-get update / upgrade and run the script twice ... eventually it all sorted out, I do suggest reading the entire thread on the Pi forum!

wlan0 Link encap:Ethernet HWaddr 80:1f:02:59:12:15
inet addr: Bcast: Mask:
RX packets:354 errors:0 dropped:373 overruns:0 frame:0
TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:42052 (41.0 KiB) TX bytes:1028 (1.0 KiB)
Posted in Raspberry Pi
Views 6393 Comments 0
« Prev     Main     Next »
Total Comments 0




All times are GMT -5. The time now is 02:16 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration