Backtrack:  
 
showing posts tagged with 'osx'
 
edited by on September 27th 2018, at 10:35

Similar as on FreeBSD and Linux, you can add/remove static network routes through the command line with the route command. The syntax somewhat differs from Linux, though.

To add a route (e.g. subnet 192.168.3.0/24 to gateway 192.168.1.254):

sudo route -n add -net 192.168.3.0/24 192.168.1.254

To remove a route:

sudo route -n delete -net 192.168.3.0/24

To show the current route table, you can use netstat:

netstat -nr
edited by on August 16th 2018, at 10:13
MacPostfactor is a tool to install Mac OSX 10.8+ on older Macbooks that normally only support up to OSX 10.7 (Lion). It works through a combination of a highly customized installer, a replaced set of drivers and various frameworks, and the original installation app from the App Store. The installation can be done directly on a Macbook already running OSX Lion (so no USB disk required), or on an USB media for installation on another system.

You need an Intel-based Macbook capable of running OSX Lion (10.7) (otherwise your Mac is too old), but one that does not support OSX Mountain Lion (10.8) or higher. PowerPC-based Macs are not supported (they do not run OSX Lion).

The installer app of th  ...
edited by on May 24th 2017, at 09:57

I had an issue with an app being stuck in Paused mode in Launchpad, and was unable to cancel/resume the update from the App Store because it wasn't listed in the updates list.

The solution, as stated here, was to open Launchpad, hold down the mouse on the app until it started jiggling, then clicking the delete button (x). The app reappeared normally and was even updated correctly.

The reason was probably the app got updated along with a system update, and Launchpad was unaware the update was completed.

edited by on January 30th 2017, at 11:33
Since Mac OSX Lion (10.7), it is possible to open a Terminal from a Finder window, similar to "Open Command Prompt" in Windows. The feature is available as a service and is by default disabled, but when enabled, it allows you to click a folder and then perform "Open Terminal", which will launch a terminal window at the specified folder.

To enable the "Open Terminal" service:

From Finder, click the Finder application menu, then under the Services menu, click Services Preferences.Alternatively, open System Preferences, click Keyboard, then Shortcuts and in the left pane, click Services.

In the right pane, scroll down to Files and Folders, and look for New Termi  ...
edited by on June 9th 2016, at 16:31
Mac OSX creates .DS_Store files on network mapped folders to store metadata (such as position of icons, added comments on files and folders, etc.). On a local (Mac-formatted) disk, these are stored as filesystem metadata, but on network folders, this is not possible, so this data is stored in a file instead. While this file is hidden for Mac-users, Windows-users will immediately spot the file in each folder that's accessed by a Mac. The creation of these metadata files can be turned off for network shares on SMB/CIFS, AFP, NFS, and WebDAV servers.

Open a Terminal, and run the following command:

defaults write com.apple.desktopservices DSDontWriteNetworkStores true

This is a user setting s  ...
edited by on May 15th 2016, at 12:31
Control + Shift + Eject*Locks your Mac so you will have to unlock it with your password. Note that this will also sleep the display but the Mac will continue to run.
Command + Option + Eject*Puts the entire Mac asleep. This is the same as clicking on the Apple-icon at the left-top and choose "Sleep".

* Newer Macs: Eject = Power

To properly "lock" your Mac when using either of the shortcuts, you will have to enable Require password after sleep or screen saver begins (System Preferences → Security & Privacy). When not set to immediately, the configured delay will be used when using the shortcuts.

edited by on July 8th 2015, at 16:36
By default, only processes that are run directly by root are allowed to load kexts. When a user (non-root) process tries to load a kext, an error is logged in system.log similar to:

Request from non-root process 'netbiosd' (euid 222) to load /System/Library/Extensions/smbfs.kext - not allowed.

You can resolve the issue by allowing the specific kext (e.g.: smbfs.kext) to be loaded by non-root processes. This is done by editing the Info.plist file that's included with the kext, usually at /path/to/kext-name.kext/Contents/Info.plist.

Open a Terminal.

Locate the kext and edit its Info.plist file.In our example, this would be the file: /System/Library/Extensions/smbfs.kext/Contents/Info.plist  ...
edited by on July 7th 2015, at 14:21

It may be useful to know whether your Mac has a 32-bit or 64-bit EFI. This can be done by running the following command from an OSX Terminal (can run from the installer or recovery partition):

ioreg -l -p IODeviceTree | grep firmware-abi

This should return something like the following:

• For 32-bit EFI:  | | "firmware-abi" = <"EFI32">
• For 64-bit EFI:  | | "firmware-abi" = <"EFI64">
edited by on July 7th 2015, at 12:23

MacPostFactor 1.0.1 has been officially released:

Download (direct link)

MacPostFactor is a tool to install Mac OSX 10.8+ on older (Intel) Macbooks that only support up to OSX 10.7 (Lion). It works through a combination of a highly customized installer, a replaced set of drivers and various frameworks, and the original install app from the App Store. The installation can be done directly on a Macbook already running OSX Lion (so no USB disk required), or on an USB media for installation on another system.

edited by on June 30th 2015, at 15:15

Recent models of Mac boot up with a black boot screen and white Apple logo, instead of the old gray and dark gray boot screen. DarkBoot enables older Mac systems to get the black boot screen as well. For newer Macs, the app can also change the boot screen back to the traditional gray color.

  1. Download latest release of DarkBoot.
  2. Unzip and run the DarkBoot app.
  3. Select the desired color, then click OK.
    You will be prompted for the admin password. Enter it and press OK.
  4. Reboot twice for changes to take effect.

Known to work with OSX 10.10 and 10.11 DP.

edited by on June 29th 2015, at 17:15

MacPostFactor 1.0 has been officially released:

Download (direct link)

MacPostFactor is a tool to install Mac OSX 10.8+ on older (Intel) Macbooks that only support up to OSX 10.7 (Lion). It works through a combination of a highly customized installer, a replaced set of drivers and various frameworks, and the original install app from the App Store. The installation can be done directly on a Macbook already running OSX Lion (so no USB disk required), or on an USB media for installation on another system.

edited by on March 16th 2015, at 11:09
EDIT: added Yosemite (it's exactly the same as for Mavericks).

Creating an USB installer for Mac OSX Mavericks or Yosemite is a little different than previous releases. The InstallESD.dmg no longer contains the complete bootable installation files, so writing that image to an USB stick is no longer a valid option.

There's now a tool within the downloaded OSX Mavericks or OSX Yosemite app which creates a bootable volume with all the required files for installation from a media. You can then unleash the command on any mounted volume (including disk images), provided they are big enough. For USB or other flash media, you'll need at least 8GB or more.

For this to wor  ...
edited by on November 15th 2013, at 16:05
After updating to OSX Mavericks, WebDAV no longer works properly. There's currently no solution available. Apple has released a workaround while they are attempting to fix the problem with the next update.

To workaround the issue, download the 3 files at this location:

http://www.opensource.apple.com/source/webdavfs/webdavfs-334.2/webdav_cert_ui.tproj/English.lproj/MainMenu.nib/

These 3 files will have to be placed in the folder:/System/Library/Filesystems/webdav.fs/Support/webdav_cert_ui.app/Contents/Resources/English.lproj/MainMenu.nib

You would normally overwrite the current ones present, but there's a catch. You can't simply overwrite the files because they are still in use by the sy  ...
 
showing posts tagged with 'osx'