• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

Noulakaz

The blog of Avinash, Christina, Anya and Kyan Meetoo.

20150709-avinash-christina-anya-kyan
  • Home
  • About
  • People
    • Christina & Avinash Meetoo
    • Avinash Meetoo
    • Christina Meetoo
    • Anya Meetoo
    • Kyan Meetoo
  • General
    • News
    • Mauritius
    • Politics
    • Education
    • Business
    • Travel
  • Computing
    • Apple
    • Linux
    • LUGM
    • Programming
    • Web
    • Technology
    • Knowledge Seven
  • Entertainment
    • Music
    • Movies
    • Photography
    • Sports

Apple

Mac OS X Leopard printing to Linux CUPS server

9 September 2009 By Avinash Meetoo 4 Comments

20090909-printing-press

I generally use my MacBook (running Mac OS X 10.5 Leopard) at work and it is essential for me to be able to print documents on my network printers attached to a Linux CUPS server (running CentOS Linux 5.3.)

What needs to be done on the Mac OS X Leopard computer

For some reason, Leopard cannot see printers shared by CUPS by default (it only sees Bonjour printers.) To rectify this, open a terminal and type:

sudo vi /etc/cups/cupsd.conf

and add “BrowseProtocols all” so that the file looks like this:

# Enable printer sharing and shared printers.
Browsing On
BrowseOrder allow,deny
BrowseAllow all
BrowseAddress @LOCAL
BrowseProtocols all
DefaultAuthType Basic
<Location />
# Allow shared printing…
Order allow,deny
Allow @LOCAL
</Location>
# Enable printer sharing and shared printers. Browsing On BrowseOrder allow,deny BrowseAllow all BrowseAddress @LOCAL BrowseProtocols all DefaultAuthType Basic &lt;Location /&gt;  # Allow shared printing...  Order allow,deny  Allow @LOCAL &lt;/Location&gt;

Then restart the CUPS daemon running on the Mac with

sudo launchctl unload /System/Library/LaunchDaemons/org.cups.cupsd.plist sudo launchctl load /System/Library/LaunchDaemons/org.cups.cupsd.plist

What needs to be done on the Linux server

Modify /etc/cups/cupsd.conf so that its beginning somewhat looks like this:

# Share local printers on the local network. Browsing On BrowseOrder allow,deny BrowseAddress @LOCAL DefaultAuthType Basic &lt;Location /&gt;   # Allow shared printing...   Order allow,deny   Allow @LOCAL &lt;/Location&gt;

and restart the CUPS server with one of:

/etc/init.d/cups restart /etc/init.d/cupsd restart

and everything should work from there. Go on your Mac and add your Linux printers in the usual way.

 

One observation I made

Printing generally works great but sometimes stop working when either the Mac or the Linux server are updated. What happens is that, during the update, the CUPS configuration (/etc/cups/cupsd.conf) gets slightly changed to something much more restrictive for security reasons (i.e. network printing is disabled.) I guess this is because both the Apple and Linux people think that it’s better be prudent than sorry especially in our era of fully opened Wifi network.

You’ve been warned :-)

Filed Under: Apple, Linux, Technology

X-Plane 9 simulator on Linux

2 September 2009 By Avinash Meetoo 17 Comments

20090902-x-plane-9

X-Plane 9 is the best flight simulator available on home computers. It has the best flight-model, the best scenery (60Gb of space required for installation!) and best performance. As Microsoft has killed Flight Simulator, I can easily foresee that a lot of people will get into X-Plane in the coming years.

For me (and I blogged on that before), the greatest thing about X-Plane is that it is multiplatform: it runs equally well on Linux, on Mac OS X and on that thing from Redmond… provided you have some decent hardware.

 

As I own a MacBook with an integrated (crap) Intel GMA950 GPU, X-Plane does not run well on it. Consequently, I run X-Plane 9 on my desktop PC which is a 3-4 years old AMD Athlon64 with 2Gb of RAM and an Nvidia GeForce 7 GPU. I run X-Plane under Linux Mint 7 (as I currently believe it is the best Linux distribution for home users.) And I have to say that I am very satisfied with the performance and the looks.

From Faro to Ibiza

Just to give you an idea of how X-Plane looks under Linux, here are some screenshots from my flight from Faro (in the south of Portugal) to Ibiza (which is an island off the coast of Spain.) The flight took some two hours (real flight simulator addicts do not use accelerated time!) and was very nice…

Here I am in my Piper Malibu, which has a single piston engine, over the south of Portugal. The scenery below is magnificent (don’t you think so?) and 100% realistic. The weather effects (real-time of course) are also very believable. We will reach Ibiza (in principle) in around two hours…

20090902-ibiza-1

After two hours of uneventful flight hopping from an NDB to a VOR back to a NDB (I didn’t want to use GPS), Ibiza in sight (I wonder where are parties are organised???):

20090902-ibiza-2

Landing at Ibiza on runway 06 is interesting as it does not have an ILS. Instead I used a VOR positioned at the airport for the approach and used the autopilot to align myself with the runaway. I also used the autopilot to give me a 500fpm rate of descent until at about 2-3 NM from the threshold:

20090902-ibiza-3

I landed manually and I have to take care because of some crosswinds. What is great about X-Plane (and so unlike Flight Simulator) is that runways are not flat: they follow the contour of the terrain below and the aircraft bumps and jumps (like real small aircrafts do when landing):

20090902-ibiza-4

After taxing to a nice parking slot, I switched off the engine and the avionics of the Piper Malibu:

20090902-ibiza-5

Get me the beer now!

Filed Under: Apple, Linux, News, Technology

Green is more peaceful than Blue…

31 July 2009 By Avinash Meetoo 17 Comments

20090730-windows-bsod

A few weeks ago, I got a network attached storage device (a D-Link DNS-323 if you want to know) and it works perfectly with Mac OS X and Linux. I must have transferred more than 500Gb to and fro up to now without any glitch.

Yesterday, I was feeling bored and I decided to boot into Windows XP (I have it on one computer and I have stopped using it) to see if the NAS works well with it. The initial connection went well but I got a Blue Screen of Death (pictured above) during transfer of data.

I rebooted the PC in Windows and tried again. Once more I got the BSOD.

I wonder what normal people do when they get a BSOD? Do they contact their system administrator or technical support group as advised? Or do they just reboot and pray that the problem will go away?

Personally, I only have to reboot the PC and, after a few seconds, something magical happens: the Linux login screen appears.

20090731-mint

This is when I realise how lucky I am.

Filed Under: Apple, Linux, Mauritius, Technology

  • « Go to Previous Page
  • Go to page 1
  • Interim pages omitted …
  • Go to page 5
  • Go to page 6
  • Go to page 7
  • Go to page 8
  • Go to page 9
  • Interim pages omitted …
  • Go to page 26
  • Go to Next Page »

Primary Sidebar

Our Personal Websites

Avinash Meetoo
Christina Meetoo
Anya Meetoo
Kyan Meetoo

Random Posts

A new look and orientation

Liverpool Champions League Group Stage

Some thoughts about GNOME 3.0...

Recent Comments

  • Avinash Meetoo on Teachers of RCC around 1989-1990
  • Vik Ramsoondur on Teachers of RCC around 1989-1990
  • Avinash Meetoo on The five biggest problems in Mauritius

Archives

  • August 2022 (2)
  • July 2022 (3)
  • June 2022 (5)
  • May 2022 (5)
  • January 2022 (3)
  • December 2021 (2)
  • November 2021 (1)
  • October 2021 (1)
  • September 2021 (4)
  • August 2021 (2)
  • July 2021 (14)
  • May 2021 (2)
  • April 2021 (4)
  • March 2021 (9)
  • February 2021 (2)
  • January 2021 (1)
  • October 2020 (1)
  • September 2020 (1)
  • August 2020 (2)
  • July 2020 (5)
  • June 2020 (3)
  • May 2020 (5)
  • April 2020 (6)
  • March 2020 (2)
  • February 2020 (2)
  • January 2020 (2)
  • October 2019 (1)
  • September 2019 (2)
  • July 2019 (2)
  • June 2019 (1)
  • May 2019 (3)
  • April 2019 (2)
  • March 2019 (1)
  • February 2019 (1)
  • January 2019 (3)
  • December 2018 (1)
  • October 2018 (3)
  • August 2018 (2)
  • July 2018 (2)
  • June 2018 (1)
  • May 2018 (1)
  • April 2018 (1)
  • February 2018 (1)
  • December 2017 (1)
  • October 2017 (1)
  • September 2017 (1)
  • August 2017 (1)
  • July 2017 (1)
  • May 2017 (4)
  • April 2017 (3)
  • March 2017 (4)
  • February 2017 (5)
  • January 2017 (3)
  • October 2016 (1)
  • September 2016 (1)
  • August 2016 (4)
  • July 2016 (1)
  • June 2016 (1)
  • March 2016 (3)
  • February 2016 (3)
  • January 2016 (1)
  • December 2015 (1)
  • November 2015 (2)
  • September 2015 (1)
  • August 2015 (3)
  • March 2015 (1)
  • December 2014 (1)
  • November 2014 (4)
  • October 2014 (1)
  • March 2014 (2)
  • February 2014 (3)
  • December 2013 (1)
  • October 2013 (1)
  • September 2013 (1)
  • August 2013 (1)
  • July 2013 (1)
  • June 2013 (2)
  • May 2013 (1)
  • March 2013 (3)
  • January 2013 (2)
  • December 2012 (3)
  • November 2012 (4)
  • September 2012 (3)
  • August 2012 (2)
  • July 2012 (3)
  • June 2012 (2)
  • May 2012 (1)
  • April 2012 (2)
  • February 2012 (1)
  • January 2012 (4)
  • December 2011 (2)
  • November 2011 (1)
  • October 2011 (4)
  • September 2011 (2)
  • August 2011 (1)
  • July 2011 (2)
  • June 2011 (4)
  • April 2011 (7)
  • March 2011 (2)
  • February 2011 (1)
  • January 2011 (3)
  • November 2010 (3)
  • October 2010 (1)
  • September 2010 (2)
  • August 2010 (4)
  • July 2010 (2)
  • June 2010 (1)
  • May 2010 (3)
  • April 2010 (4)
  • March 2010 (3)
  • February 2010 (3)
  • January 2010 (5)
  • December 2009 (2)
  • November 2009 (3)
  • October 2009 (1)
  • September 2009 (5)
  • August 2009 (3)
  • July 2009 (1)
  • June 2009 (3)
  • May 2009 (2)
  • April 2009 (7)
  • March 2009 (12)
  • February 2009 (10)
  • January 2009 (5)
  • December 2008 (4)
  • November 2008 (11)
  • October 2008 (6)
  • September 2008 (7)
  • August 2008 (3)
  • July 2008 (8)
  • June 2008 (6)
  • May 2008 (5)
  • April 2008 (7)
  • March 2008 (6)
  • February 2008 (3)
  • January 2008 (6)
  • December 2007 (11)
  • November 2007 (10)
  • October 2007 (7)
  • September 2007 (9)
  • August 2007 (3)
  • July 2007 (7)
  • June 2007 (8)
  • May 2007 (14)
  • April 2007 (11)
  • March 2007 (18)
  • February 2007 (14)
  • January 2007 (15)
  • December 2006 (16)
  • November 2006 (10)
  • October 2006 (7)
  • September 2006 (8)
  • August 2006 (8)
  • July 2006 (6)
  • June 2006 (4)
  • May 2006 (13)
  • April 2006 (10)
  • March 2006 (11)
  • February 2006 (7)
  • January 2006 (14)
  • December 2005 (8)
  • November 2005 (6)
  • October 2005 (7)
  • September 2005 (2)
  • August 2005 (6)
  • July 2005 (2)
  • June 2005 (6)
  • May 2005 (15)
  • April 2005 (12)
  • March 2005 (3)
  • February 2005 (8)
  • January 2005 (3)
  • December 2004 (1)
  • November 2004 (2)
  • October 2004 (2)
  • September 2004 (3)
  • August 2004 (3)
  • July 2004 (3)
  • June 2004 (3)
  • May 2004 (6)
  • April 2004 (10)
  • March 2004 (12)
Creative Commons License This work is licensed by Avinash Meetoo under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 Unported License.