Notes – Raspberry Pi

Installing / Using Raspberry Pi Raspbian

Download image file from :

Format SD card with SDFormatter w/ Format Size Adjustment set to ON

Imaged SD card with Win32DiskImager

Username/Password for Raspbian
pi / raspberry

Checked the size of partitions with parted
> sudo parted -l

Expanded Filesystem with raspi-config
> sudo raspi-config
option 1


Install gqrx Software Defined Radio Package
> sudo apt-get install gqrx-sdr

Running gqrx failed with “gqrx: cannot connect to X server”

Removed gqrx
> sudo apt-get purge –auto-remove gqrx-sdr

Check linux version
> cat /proc/version

Install software-properties-common to use “add-apt-repository”
> sudo apt-get install software-properties-common

It appears gqrx is processor intensive, therefore the Raspberry Pi B+ is not a good platform
for this application


To run a GUI on Rasbian

> sudo tasksel
select enviroment with spacebar {I chose LXDE}
press enter
tasksel: apt-get failed (100)

I tried selecting “Debian desktop enviroment” and “LXDE”
same error

same error selecting “xfce”

Install LXDE with apt-get

> sudo apt-get install LXDE


a gui is not recommended as it’s very slow

to uninstall LXDE , sudo apt-get purge –auto-remove LXDE , doesn’t work
I could further remove all packages related to LXDE, however I’m not concerned with space at
this time

Setup Pi to boot into console on startup

run raspi-config
> sudo raspi-config
select boot options [3]
select B2 Console Autologin

A simple fix for an “offline” printer

I had a call from a customer today. Their issue was a network printer showing “offline”. They tried restarting the computer and printer before calling me.

Other computers on the network were able to print to this printer.
I verified the IP address from another working configuration.

I should note the OS is Windows 7.

I first tried disabling “SNMP Status Enabled” from the Port Settings under the TCP/IP port configuration of the printer. This brought the printer back online but still unable to print.

I removed the printer configuration from the computer. After keying in the IP address to add the printer back it would not “find” the printer..

After a cup of coffee, I finally thought to disable McAfee Firewall. After again typing the IP in the add printer wizard, the computer was able to establish the connection needed to install the printer.

I left the McAfee Firewall disabled.

Final thoughts.. Get your cup of coffee first, then check the firewall before banging your head against the wall for a simple issue such as this..

Trusting the Workstation

The Error :
(Windows 7 Professional) The trust relationship between this workstation and the primary domain failed.

This was a popup while trying to login to Windows.

Server Side: (Windows Server 2008) Event Viewer/System – Error NETLOGON 5722

I searched the Microsoft website for ” 5722 ” the results – The session setup from the computer “WORKSTATION NAME” failed to authenticate. The name(s) of the account(s) referenced in the security database is ” “. The following error occurred : Access is denied.

Well lovely. After a quick Google search I didn’t really find a good quick answer. As the error implies, this happens when a workstation on the Domain can no longer authenticate with the server for one reason or another. Most of the time that reason is unclear. Though deeper study could be done to find the issue.. but who has the time these days?

So.. what did I do to fix this problem?

Solution: Enable administrator account on local machine. Restart computer. Logon as Administrator. Change settings to Workgroup. Restart Computer. Logon as Administrator. Change settings back to Domain. Restart Computer.

Fairly simple.. anyway worked for me. Might help you too…

That’s all for now…