Search This Blog

Tuesday, May 26, 2015

Making my Raspberry PI into a Print Server (inc AirPrint for iPad)

It's useful to print from any device wirelessly... with a cheaper non-wireless printer (in this case a Brother laser).... here's how to make a Raspberry Pi into a useful print server.

Source: http://www.raspberry-pi-geek.com/Archive/2013/01/Converting-the-Raspberry-Pi-to-a-wireless-print-server
Set up the IP address on the PI
Listing 1
/etc/network/interfaces
#/etc/network/interfaces
auto lo
iface lo inet loopback
iface eth0 inet static
address 192.168.0.3
netmask 255.255.255.0
gateway 192.168.0.1
allow-hotplug wlan0
iface wlan0 inet manual
wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
iface default inet dhcp

Upgrade ready for install CUPS
sudo apt-get update
sudo apt-get upgrade

Installing CUPS

CUPS (Common Unix Printing System) manages printers connected via USB or the network and provides a management interface. You can install CUPS on your system by running:
sudo apt-get install cups
You will want to add the pi user to the lpadmin group, so it can access the administrative functions of CUPS:
sudo usermod -a -G lpadmin pi
After the install, CUPS runs as a system service and provides a management interface on the local system. If the network on which the Rasp Pi resides is trustworthy – and that is the case with your home LAN – just run
sudo cupsctl --remote-any
sudo /etc/init.d/cups restart
Adding AirPrint for Apple i* devices
sudo apt-get install avahi-discover

Source:
http://www.makeuseof.com/tag/add-airprint-support-raspberry-pi-print-server/

Monday, May 25, 2015

Ubuntu on Mac Air

 

Installed Ubuntu on to my Mac Air…. had a few issues with the WiFi (Broadcom BCM4360 Wireless Network Adapter)

This post by Eneko Chan sorted it… many thanks to Eneko!!

http://tech.enekochan.com/en/2015/03/16/install-bcm4360-wi-fi-drivers-in-ubuntu-for-macbook-pro-13-retina-display-mid-2014/ 

But in case you don’t have one, it’s posible to download all the deb packages (from another computer and copy them to an USB drive) and install them manually. The version numbers will differ from one distribution version to another so check them. For Ubuntu 14.04 I installed those:

The installation process is quite simple, just follow this order:

$ sudo dpkg -i libfakeroot_1.20-3ubuntu2_amd64.deb
$ sudo dpkg -i fakeroot_1.20-3ubuntu2_amd64.deb
$ sudo dpkg -i dkms_2.2.0.3-1.1ubuntu5.14.04_all.deb
$ sudo dpkg -i bcmwl-kernel-source_6.30.223.248+bdcom-0ubuntu0.1_amd64.deb