Linux For Mac Intel

That said, there seems to have been an open source effort to compile Linux Intel drivers for Mac OS X as seen here. But note that the versions of Mac OS X referred to are Mac. Linux Mint is the distro that you probably want to use if you don’t pick Ubuntu GNOME. It is based on Ubuntu and its developers are determined to fix all the issues that Ubuntu users complain about. Linux Mint is, in a manner of speaking, a cooler Ubuntu, and its UI is easy to navigate. It will be a good pick to run on your Mac. Many people may like the look and feel of Linux over other Desktop Operating Systems (OS). For this reason someone may want to install Linux on a Mac. There are many types of Apple Mac systems available. For this article I used an iMac 6.1 from late 2006. The specs on the iMac are as follows: Intel Core 2 Duo 2.16 GHz. Linux is a powerful operating system beloved by coders and capable of breathing life into old Macs. In this feature we look at how to install Linux on a Mac - including how to completely replace. Dual boot with OS X and Linux the easiest way I have found to get Linux to install consistently on an EFI motherboard. This is actually easier than trying to get the Mac to boot just Linux by itself. The Mac uses EFI to control the boot loading process which takes place of the BIOS in traditional x86 based hardware.

IntroReference GuideBookInstall Guide
DownloadChangelogZenmap GUIDocs
Bug ReportsOS DetectionPropagandaRelated Projects
In the MoviesIn the News

Downloading Nmap

Nmap and Zenmap (the graphical front end) are available inseveral versions and formats. Recent source releases and binarypackages are described below. Older version (and sometimes newer testreleases) are available from the dist directory(and really old ones are in dist-old).For the moresecurity-paranoid (smart) users, GPG detached signatures and SHA-1hashes for each release are available in the sigsdirectory (verification instructions). Before downloading, be sure to read the relevant sections for your platform from the Nmap Install Guide. The mostimportant changes (features, bugfixes, etc) in each Nmap version aredescribed in the Changelog. Using Nmap is covered in the Reference Guide, and don't forget to readthe other available documentation, particularly the new book Nmap Network Scanning!

Nmap users are encouraged to subscribe to the Nmap-hackersmailing list. It is a low volume (7 posts in 2015), moderated listfor the most important announcements about Nmap, Insecure.org, andrelated projects. You can join the 128,953 current subscribers (as ofSeptember 2017) by submitting your email address here:

Linux For Apple

You can also get updates from our Facebook and Twitter pages.

Nmap is distributed with source code under custom license terms similar to (and derived from) the GNUGeneral Public License, as noted in the copyright page.

Microsoft Windows binaries

Please readthe Windows section of theInstall Guide for limitations and installation instructions for theWindows version of Nmap. You can choosefrom a self-installer (includes dependencies and also the Zenmap GUI)or the much smaller command-line zip file version. We support Nmap on Windows 7 and newer, as well as Windows Server 2008 and newer. We also maintain a guide for userswho must run Nmap on earlier Windows releases..

The Nmap executable Windows installer can handle Npcapinstallation, registry performance tweaks, and decompressing theexecutables and data files into your preferred location. It also includes the Zenmap graphical frontend. Skip all thecomplexity of the Windows zip files with a self-installer:

Latest stable release self-installer: nmap-7.91-setup.exe

We have written post-install usageinstructions. Please notify usif you encounter any problems or have suggestions for theinstaller.

For those who prefer the command-line zip files (Installation Instructions; UsageInstructions), they are still available. The Zenmap graphicalinterface is not included with these, so you need to runnmap.exe from a DOS/command window. Oryou can download and install a superior command shell such as thoseincluded with the free Cygwin system.Also, you need to run the Npcapand Microsoft Visual C++ 2013 Redistributable Packageinstallers which are included in the zip file. The main advantage is that these zip files are a fraction of the size of the executable installer:

Latest stable command-line zipfile:nmap-7.91-win32.zip

Linux RPM Source and Binaries

Many popular Linux distributions (Redhat, Mandrake, Suse, etc) usethe RPM package management system forquick and easy binary package installation. We havewritten a detailed guide toinstalling our RPM packages, though these simple commands usually dothe trick:You can also download and install the RPMs yourself:

Latest stable release:
x86-64 (64-bit Linux)Nmap RPM: nmap-7.91-1.x86_64.rpm
x86-64 (64-bit Linux)Ncat RPM: ncat-7.91-1.x86_64.rpm
x86-64 (64-bit Linux)Nping RPM: nping-0.7.91-1.x86_64.rpm
Optional Zenmap GUI (all platforms): zenmap-7.91-1.noarch.rpm
Source RPM (includes Nmap, Zenmap, Ncat, and Nping): nmap-7.91-1.src.rpm

Mac OS X Binaries

Nmap binaries for Mac OS X (Intel x86) are distributed as a disk image filecontaining an installer. The installer allows installing Nmap, Zenmap,Ncat, and Ndiff. The programs have been tested on Intel computersrunning Mac OS X 10.8 and later. See theMac OS X Nmap installpage for more details. Users of PowerPC (PPC) Mac machines, which Apple ceased selling in 2006, should see this page instead for support information.
Latest stable release installer: nmap-7.91.dmg

Source Code Distribution

This is the traditional compile-it-yourself format. The Nmaptarball compiles under Linux, Mac OS X, Windows, and many UNIXplatforms (Solaris, Free/Net/OpenBSD, etc.) It includes Zenmap, theGUI frontend.

Detailed Linux/BSD/Solaris compilation instructions and options are provided here, though this usually does the trick:

Most Windows users install with our Windows executable installer, but we also provide Windows source code compilation instructions.

Most Mac OS X users install with our Mac installer, but we also provide Mac OS X source code compilation instructions.

If you are compiling Nmap anyway, you might prefer to get the very latest code from our SVN source code repository rather than downloading a tarball here.

Linux For Mac Intel

Latest stable Nmap release tarball: nmap-7.91.tar.bz2 (or gzip compressed)

Other Operating Systems

Many other operating systems support Nmap so well that I have no needto create and distribute binary packages myself. You can choose touse the packages below, or compile the sourcedistribution, which is often newer. We have created installation pages for the following platforms:
Linux (all distributions)
Microsoft Windows
Mac OS X
FreeBSD, OpenBSD, and NetBSD
Sun Solaris
Amiga, HP-UX, and Other Platforms

Nmap Site Navigation

IntroReference GuideBookInstall Guide
DownloadChangelogZenmap GUIDocs
Bug ReportsOS DetectionPropagandaRelated Projects
In the MoviesIn the News

Contents

  1. Before starting
  2. After installing
    1. Wireless
    2. iSight (integrated Webcam)
    3. Video
    4. Sensors (applesmc module)

Why this page?

Because i want to regroup some interesting informations/process/hooks to configure iMac Intel 5,1 late 2006 model with Debian GNU/Linux Lenny (2008/08/28)

Update (2011/08/12) : aluminium iMac Intel 12,1 / Wheezy , see the 'video' section.

Before starting

This hardware can be used with i386 or amd64 architecture. The little bench test i made shows that the use of amd64 arch improve cache read access.

Get space from others filesystems or OS

I successfully re-partionned the drive of the iMac with gparted to get some Gigas for GNU/Linux

After installing

It is recommended to install with the ethernet interface (sky2 driver) if netinstall (wireless not natively supported by linux driver)

Update (2015/12/08) No issues with default stable nor testing install.

Wireless

Wireless on this model (Broadcom 4328) is not yet supported by any Linux driver1. NDISwrapper does the job quite well.

Update (2015/12/08) See https://wiki.debian.org/wl no need for ndiswrapper / driver loading / init script anymore.

NDISwrapper

Driver loading (non-dfsg/non-free)

Init script

Mac

Alternative: graphical installation

Some help here: http://doc.ubuntu-fr.org/bcm4328

More information on NDISwrapper is available on this wiki.

iSight (integrated Webcam)

Firmware location on Mac OS X filesystem (required and non-free)

uvc module loading

Update (2015/12/08) Not needed on testing. Not tried on stable.

You can test the integrated webcam with cheese for example.

Sound

Automatically discovered, nothing to do

Screen resolution

Nothing to do, Xorg (1.4.2 release now), recognize and adapt resolution.

Keyboard

Nothing to do specific; multimedia shorcuts (Sound level, mute, eject) are functionnal with Gnome (2.22.3 now)

Update (2015/12/08) If you want normal behaviour of 'F' keys, then configure as a module parameter following instructions on: https://wiki.debian.org/InstallingDebianOn/Apple/PageFragmentKeyboard

Video

Aluminium iMac intel 12,1 mid 2011 and 7,1 mid 2007 (and potentially other models)

* Xorg radeon driver (default setup after installation)

The RadeonHD 6600M needs KMS to run Xorg with the free radeon Xorg driver. By default, KMS is enabled, but the card needs a non-free firmware that is not installed and will make the screen unuseable at boot time when the kernel initialiazes KMS. You will need to install the package 'firmware-linux-nonfree (http://packages.debian.org/wheezy/firmware-linux-nonfree). For this, modify the grub command line (press e) and add to the kernel boot parameters :

You will then be able to boot and login as root. Edit /etc/apt/sources.list to add contrib and non-free, you should have something like :

And install firmware-linux-nonfree:

Reboot, and enjoy your new Debian

iMac Intel 5,1 late 2006 (and potentially other models)

Update (2015/12/08) on this specific iMac model: It doesn't work on stable. Go for testing and you'll get a reasonable working driver: still some glitches and flashing second monitor from time to time. AMD dropped support for older graphics cards in Catalyst v. 9.3, which also requires the use of a Kernel older than v. 2.6.28 and X server older than v. 1.5. See: http://askubuntu.com/questions/310754/ati-radeon-xpress-1200-graphics-card-driver-install-problems

Interesting links: https://wiki.debian.org/AtiHowTohttps://wiki.debian.org/ATIProprietary

2 choices:

  • radeonhd (for my specific model, Radeon X1600/R500, 3D support)

  • fglrx (non-free driver, 3D support)

Radeonhd

Update (2015/12/08) This package does not exist on stable: https://packages.debian.org/search?keywords=radeonhd

Installed by default Desktop install and provide 3D/2D acceleration support

Fglrx

Verify:

Apple Infrared Remote

As you have seen before, the IR Receiver is connected via USB bus:

This don't require any other kernel support and you just have to install lirc:

Edit /etc/lirc/hardware.conf:

Generate /etc/lirc/lircd.conf:

that give you:

Because if not you don't have volume up button enabled (not investigated).

Restart lirc:

Launch irw to verify:

and push buttons, you may see:

After pressing button Pause, Volume up, Next, Volume down, Precedent, Menu.

Linux For Mac Intel Core I5

You can now have a ~/.lircrc to use this buttons !

Thanks http://idebian.wordpress.com/2008/07/15/infrared-in-linux-lirc/

Sensors (applesmc module)

Loading modules

  • 2.6.26 (current Debian lenny/testing kernel) don't have support for iMac5,12.

>= 2.6.27 kernel has support

  • Compile as kernel module
  • Load module (modprobe applesmc)

Management

To manage fan speed:

Where X could be 1 (ODD fan), 2 (HDD fan) or 3 (CPU fan).

: Gnome sensors applet can be used for showing temperature and fan speed. You can alternatively use the sensors command to verify the speed.

Temperature and fan descriptions

Here is a complete list of the 12 temp sensors (mactel-linux-devel archive):

Sensors command now show us the right label:

: you have to load the coretemp kernel module to have cpu temperature.

Software suspend

The iMac Intel presented here seems to consume 220 Watts (french measure).

  • The s2ram -f works (uswsusp)

  • All others mode not tested yet.

Boot loader

grub2 boot loader works very good in the Linux partition:

: Please note that grub2 partition number now start at 1 and not 0

TODO

  • Microphone (no clues)
  • Brightness (no clues)
  • bless --device /dev/disk0s2 --legacy --setBoot --verbose # where /dev/disk0s2 is the partition you installed grub (Mac OS X command)

See Also

  • iMacG5 - Previous model and some tips

Intel

External Links

  • http://hardware4linux.info/computers/sysinfo/3618/ - Complete hardware listing (my model)

  • http://support.apple.com/kb/HT1463?locale=fr_FR - How to identify hardware version

  • https://help.ubuntu.com/community/MacBook - many stuff to apply here

  • https://help.ubuntu.com/community/MacBookPro

Core

CategoryMacintoshComputer

  1. http://wireless.kernel.org/en/users/Drivers/b43#unsupported (1)

  2. http://lkml.org/lkml/2008/10/22/348 (2)