NSLU2-Linux
view · edit · print · history

Main.UpSlug2onOSX History

Hide minor edits - Show changes to markup

February 20, 2013, at 09:29 AM by Enrico Carlesso -- typo
Changed lines 24-25 from:

1.1 brew install brew install https://raw.github.com/carlesso/upslug2/master/brew_formula/upslug2.rb

to:

1.1 brew install https://raw.github.com/carlesso/upslug2/master/brew_formula/upslug2.rb

February 20, 2013, at 09:28 AM by Enrico Carlesso -- Added brew formula for upslug2 on mac os x
Changed lines 6-7 from:

UpSlug2 works well with Mac OS X. The easiest way to install it on a Mac is using either MacPorts or Fink; both will automatically handle all dependencies.

to:

UpSlug2 works well with Mac OS X. The easiest way to install it on a Mac is using MacPorts, Fink or HomeBrew; all of them will automatically handle all dependencies.

If you need the source or want to compile by yourself, the source can be find here https://github.com/carlesso/upslug2

Changed lines 20-21 from:

1.0 fink install upslug2

to:

1.1 fink install upslug2

Installing with HomeBrew? (see page)

1.1 brew install brew install https://raw.github.com/carlesso/upslug2/master/brew_formula/upslug2.rb

Deleted line 65:
June 13, 2010, at 01:14 PM by RunAway --
Changed lines 12-13 from:

1.2 Install upslug2 sudo port install upslug2

to:

1.2 Install UpSlug2 sudo port install upslug2

June 13, 2010, at 01:13 PM by RunAway --
Changed lines 14-15 from:

If you have an ObeseSlug? the command to install UpSlug2 will be sudo port install upslug2 +flashmod16

to:

If you have an ObeseSlug the command to install UpSlug2 will be sudo port install upslug2 +flashmod16

June 13, 2010, at 01:10 PM by RunAway --
Changed lines 14-15 from:

If you have an ObeseSlug? the command to install UpSlug2 will be sudo port install upslug2 +flashmod16

to:

If you have an ObeseSlug? the command to install UpSlug2 will be sudo port install upslug2 +flashmod16

June 13, 2010, at 01:07 PM by RunAway --
Changed lines 8-9 from:

Installing with MacPorts? (version r41, latest from svn):

to:

Installing with MacPorts (version r41, latest from svn):

June 13, 2010, at 01:06 PM by RunAway --
Changed lines 8-9 from:

Installing with MacPorts? (version r41, latest from svn)

to:

Installing with MacPorts? (version r41, latest from svn):

Changed lines 16-17 from:

Installing with Fink (version 0.11)

to:

Installing with Fink (version 0.11):

June 13, 2010, at 01:04 PM by RunAway -- Updated instructions to install UpSlug2 with MacPorts since now a ready to use upslug2 port is available
Changed lines 6-11 from:

UpSlug2 works well with Mac OS X. You must use/install three pieces of software, the primary one being UpSlug2, and also libpcap, a library needed for UpSlug2 to run, and finally, you need MacPorts, the installation conduit by which you install libpcap. This has been tested on a PPC G5 under Mac OS 10.4.7. The Mac OS X UpSlug2 binary is PPC only while the most recent version of libpcap accessed by MacPorts is an intel binary. Until a universal binary of UpSlug2 is made available, UpSlug2 will have to be compiled from source for Intel Macs (tested on a Macbook Pro running 10.4.9).

Installing UpSlug2 on Intel MacOS

The binary version on SourceForge (mentioned in 2.4 below) is a PowerPC binary and will not work with the Intel binary lipcap. Until a universal binary of UpSlug2 is made available, UpSlug2 will have to be compiled from source for Intel Macs.

to:

UpSlug2 works well with Mac OS X. The easiest way to install it on a Mac is using either MacPorts or Fink; both will automatically handle all dependencies.

Installing with MacPorts? (version r41, latest from svn)

Changed lines 12-47 from:

1.2 Install libpcap sudo port install libpcap

1.3 Install GNU autotools sudo port install autoconf automake

1.4 Download the UpSlug2 source code upslug2-11.tar.gz from http://sourceforge.net/project/showfiles.php?group_id=116564

1.5 Double click on upslug2-11.tar.gz and relocate the folder upslug2-11 to an appropriate location.

1.6 Build the UpSlug2 source

cd upslug2-11
autoreconf -i
./configure --with-libpcap
sudo make install

Installing UpSlug2 on PowerPC MacOS

2.1 Download and install the MacPorts software.

2.2 Update the available ports for installation by opening up a new terminal window and typing: port sync

2.3 Install libpcap in the Terminal by typing: sudo port install libpcap

2.4 Download and install the UpSlug2 binary package for OS X. [The current version at the time of this writing is 2-11, the file for OS X is named "upslug2-11-osx.tgz"

2.5 After the upslug download archive has been expanded, locate the file named "upslug2" This file needs to be moved to the operating directory of the Terminal.

2.6 Use the Terminal to move the upslug2 file to the /usr/bin/ directory

2.6.1 or move upslug2 manually by quitting Terminal and in the Finder goto: Go > Goto Folder... and type /usr/bin/ then click "Go" in the resulatnt dialog box. The /bin/ folder should open.
2.6.2 Drag and drop the "upslug2" file into the /bin/ directory and choose "Authenticate" and type your administrative password to move upslug to the Terminal's working directory.

[ For Fink, upslug2 version 0.11 is available: fink install upslug2 (20080721)]

to:

1.2 Install upslug2 sudo port install upslug2

If you have an ObeseSlug? the command to install UpSlug2 will be sudo port install upslug2 +flashmod16

Installing with Fink (version 0.11)

1.0 fink install upslug2

July 21, 2008, at 06:13 PM by Morten Kjeldgaard -- Added note about upslug2 in fink
Added lines 48-49:

[ For Fink, upslug2 version 0.11 is available: fink install upslug2 (20080721)]

July 07, 2008, at 08:58 PM by mhornsby --
Changed line 64 from:
3.1.2 Disover NSLU2 Device code:
to:
3.1.2 Discover NSLU2 Address:
June 13, 2008, at 08:38 PM by mhornsby -- removed steps not required
Deleted lines 67-72:
Write the NSLU2 address replacing spaces with 0. so, 0:f:66:89:19:69 = 00:0f:66:89:19:69
3.1.3 Rewrite new temp path for NSLU2:
Open Terminal and type sudo arp -s 192.168.0.1 [the NSLU2 adress]
June 13, 2008, at 08:23 PM by mhornsby --
Changed lines 62-63 from:
Enter the manual IP of the form 192.168.0.2
to:
Enter the manual IP of the form 192.168.1.2
January 01, 2008, at 06:47 PM by Tom Gross -- I needed to specify my ethernet device, the default is eth0, running 10.4.11 on a Macbook
Changed lines 76-77 from:

4.2 Run upslug2 with no command line options sudo upslug2 It should find your NLSU2 and tell you it is ready for upgrade and display its MAC address. If this doesn't find your Slug it means that either you have not put it in upgrade mode successfully, or the network connection between the PC and the Slug is not working.

to:

4.2 Run upslug2 with a command line option to specify your ethernet device, sudo upslug2 -d en0 It should find your NLSU2 and tell you it is ready for upgrade and display its MAC address. If this doesn't find your Slug it means that either you have not put it in upgrade mode successfully, or the network connection between the PC and the Slug is not working.

October 17, 2007, at 01:13 AM by fcarolo -- formatting
Changed lines 18-23 from:

1.4 Download the `Upslug2 source code upslug2-11.tar.gz from http://sourceforge.net/project/showfiles.php?group_id=116564

1.5 Double click on upslug2-11.tar.gz and relocate the folder upslug2-11 to an appropriate location.

1.6 Build the upslug2 source

to:

1.4 Download the UpSlug2 source code upslug2-11.tar.gz from http://sourceforge.net/project/showfiles.php?group_id=116564

1.5 Double click on upslug2-11.tar.gz and relocate the folder upslug2-11 to an appropriate location.

1.6 Build the UpSlug2 source

September 24, 2007, at 08:41 PM by fcarolo -- formatting, cleared info about external links
Changed lines 10-11 from:

The binary version on `Unslug2 is a PowerPC binary and will not work with the Intel binary lipcap. Until a universal binary of UpSlug2 is made available, UpSlug2 will have to be compiled from source for Intel Macs.

to:

The binary version on SourceForge (mentioned in 2.4 below) is a PowerPC binary and will not work with the Intel binary lipcap. Until a universal binary of UpSlug2 is made available, UpSlug2 will have to be compiled from source for Intel Macs.

Changed lines 38-39 from:

2.4 Download and install the UpSlug2 package for OS X. [The current version at the time of this writing is 2-11, the file for OS X is named "upslug2-11-osx.tgz"

to:

2.4 Download and install the UpSlug2 binary package for OS X. [The current version at the time of this writing is 2-11, the file for OS X is named "upslug2-11-osx.tgz"

Deleted line 47:
Changed line 50 from:

If your system MTU is not 1500, UpSlug2 may fail with the following error message: Message too long: transmit error N12NSLU2Upgrade9SendErrorE. Therefore, temporarily change your MTU size to 1500. I was using 1492.

to:

If your system MTU is not 1500, UpSlug2 may fail with the following error message: Message too long: transmit error N12NSLU2Upgrade9SendErrorE. Therefore, temporarily change your MTU size to 1500. I was using 1492.

Changed lines 76-77 from:

4.2 Run upslug2 with no command line options sudo upslug2 It should find your NLSU2? and tell you it is ready for upgrade and display its MAC address. If this doesn't find your Slug it means that either you have not put it in upgrade mode successfully, or the network connection between the PC and the Slug is not working.

to:

4.2 Run upslug2 with no command line options sudo upslug2 It should find your NLSU2 and tell you it is ready for upgrade and display its MAC address. If this doesn't find your Slug it means that either you have not put it in upgrade mode successfully, or the network connection between the PC and the Slug is not working.

September 24, 2007, at 08:38 PM by fcarolo -- removed false wikilinks
Changed lines 1-3 from:

This page described how to install UpSlug2 on MacOS X. For basic information about UpSlug2, see Main.UpSlug2.

to:

This page described how to install UpSlug2 on MacOS X. For basic information about UpSlug2, see its wiki page.

Changed lines 6-11 from:

UpSlug2 works well with Mac OS X. You must use/install three pieces of software, the primary one being UpSlug2, and also libpcap, a library needed for UpSlug2 to run, and finally, you need MacPorts, the installation conduit by which you install libpcap. This has been tested on a PPC G5 under Mac OS 10.4.7. The Mac OS X UpSlug2 binary is PPC only while the most recent version of libpcap accessed by MacPorts is an intel binary. Until a universal binary of UpSlug2 is made available, UpSlug2 will have to be compiled from source for Intel Macs (tested on a Macbook Pro running 10.4.9).

Installing UpSlug2 on Intel MacOS

The binary version on Unslug2 is a PowerPC binary and will not work with the Intel binary lipcap. Until a universal binary of UpSlug2 is made available, UpSlug2 will have to be compiled from source for Intel Macs.

to:

UpSlug2 works well with Mac OS X. You must use/install three pieces of software, the primary one being UpSlug2, and also libpcap, a library needed for UpSlug2 to run, and finally, you need MacPorts, the installation conduit by which you install libpcap. This has been tested on a PPC G5 under Mac OS 10.4.7. The Mac OS X UpSlug2 binary is PPC only while the most recent version of libpcap accessed by MacPorts is an intel binary. Until a universal binary of UpSlug2 is made available, UpSlug2 will have to be compiled from source for Intel Macs (tested on a Macbook Pro running 10.4.9).

Installing UpSlug2 on Intel MacOS

The binary version on `Unslug2 is a PowerPC binary and will not work with the Intel binary lipcap. Until a universal binary of UpSlug2 is made available, UpSlug2 will have to be compiled from source for Intel Macs.

Changed lines 18-19 from:

1.4 Download the Upslug2 source code upslug2-11.tar.gz from http://sourceforge.net/project/showfiles.php?group_id=116564

to:

1.4 Download the `Upslug2 source code upslug2-11.tar.gz from http://sourceforge.net/project/showfiles.php?group_id=116564

Changed lines 30-31 from:

Installing UpSlug2 on PowerPC MacOS

to:

Installing UpSlug2 on PowerPC MacOS

Changed lines 49-50 from:

Using UpSlug2 to Flash your NSLU2

to:

Using UpSlug2 to Flash your NSLU2

September 23, 2007, at 09:17 AM by mhornsby --
Changed lines 75-76 from:

4.1 Put your NSLU2 into upgrade mode by restarting it with only the ethernet cable connected while holding a paperclip in the reset hole in the back of the NSLU2. When the light on the fron turns red, remove the paperclip. The NSLU2 should now be blinking red. Note: on newer slugs, the red might be a darker shade of yellow: orange, not red.

to:

4.1 Put your NSLU2 into upgrade mode by restarting it with only the ethernet cable connected while holding a paperclip in the reset hole in the back of the NSLU2. When the ready/status light on the front turns red, remove the paperclip. The NSLU2 should now be blinking red.

July 28, 2007, at 08:08 PM by david -- Corrected command to launch update of available MacPorts (ports sync changed to port sync).
Changed lines 34-35 from:

2.2 Update the available ports for installation by opening up a new terminal window and typing: ports sync

to:

2.2 Update the available ports for installation by opening up a new terminal window and typing: port sync

July 25, 2007, at 08:43 PM by mhornsby -- added 1.5 , moved 1.6
Changed lines 18-21 from:

1.4 Download the Upslug2 source code upslug2-11 from http://sourceforge.net/project/showfiles.php?group_id=116564

1.5 Build the upslug2 source

to:

1.4 Download the Upslug2 source code upslug2-11.tar.gz from http://sourceforge.net/project/showfiles.php?group_id=116564

1.5 Double click on upslug2-11.tar.gz and relocate the folder upslug2-11 to an appropriate location.

1.6 Build the upslug2 source

July 25, 2007, at 08:36 PM by mhornsby -- fix 4.2
Changed lines 75-76 from:

4.2 Run upslug2 with no command line options sudo upslug2 It should find your NLSU2? and tell you it is ready for upgrade and display its MAC address.

to:

4.2 Run upslug2 with no command line options sudo upslug2 It should find your NLSU2? and tell you it is ready for upgrade and display its MAC address. If this doesn't find your Slug it means that either you have not put it in upgrade mode successfully, or the network connection between the PC and the Slug is not working.

July 25, 2007, at 08:28 PM by mhornsby -- typo
Changed lines 79-80 from:
sudo upslug2 -d en0 -t [the NSLU2 MAC] -i [the path to the flash file]
to:
sudo upslug2 -d en0 -t [the NSLU2 address] -i [the path to the flash file]
July 25, 2007, at 08:27 PM by mhornsby -- formatting
July 25, 2007, at 08:27 PM by mhornsby -- formatting
Changed lines 75-76 from:

4.2 Run upslug2 with no command line options upslug2 It should find your NLSU2 and tell you it is ready for upgrade

to:

4.2 Run upslug2 with no command line options sudo upslug2 It should find your NLSU2? and tell you it is ready for upgrade and display its MAC address.

Changed lines 79-80 from:
sudo upslug2 -d en0 -t [the NSLU2 adress] -i [the path to the flash file]
to:
sudo upslug2 -d en0 -t [the NSLU2 MAC] -i [the path to the flash file]
Changed line 82 from:
-t [the NSLU2 adress] specifies the address of the NSLU2 you wish to upgrade
to:
-t [the NSLU2 address] specifies the MAC address of the NSLU2 you wish to upgrade
Deleted line 93:
  • should line 1.3 read "autoconf" instead of "autoreconf"?
July 23, 2007, at 02:31 AM by drew harris -- should line 1.3 read \"autoconf\" instead of \"autoreconf\"?
Added lines 93-94:
  • should line 1.3 read "autoconf" instead of "autoreconf"?
July 20, 2007, at 07:16 PM by fcarolo -- removed false wikilinks
Changed lines 1-3 from:

This page described how to install UpSlug2 on MacOS? X. For basic information about UpSlug2, see Main.UpSlug2.

to:

This page described how to install UpSlug2 on MacOS X. For basic information about UpSlug2, see Main.UpSlug2.

Changed lines 7-11 from:

UpSlug2 works well with Mac OS X. You must use/install three pieces of software, the primary one being UpSlug2, and also libpcap, a library needed for UpSlug2 to run, and finally, you need MacPorts?, the installation conduit by which you install libpcap. This has been tested on a PPC G5 under Mac OS 10.4.7. The Mac OS X UpSlug2 binary is PPC only while the most recent version of libpcap accessed by MacPorts? is an intel binary. Until a universal binary of UpSlug2 is made available, UpSlug2 will have to be compiled from source for Intel Macs (tested on a Macbook Pro running 10.4.9).

Installing UpSlug2 on Intel MacOS?

The binary version on Unslug2 is a PowerPC? binary and will not work with the Intel binary lipcap. Until a universal binary of UpSlug2 is made available, UpSlug2 will have to be compiled from source for Intel Macs.

to:

UpSlug2 works well with Mac OS X. You must use/install three pieces of software, the primary one being UpSlug2, and also libpcap, a library needed for UpSlug2 to run, and finally, you need MacPorts, the installation conduit by which you install libpcap. This has been tested on a PPC G5 under Mac OS 10.4.7. The Mac OS X UpSlug2 binary is PPC only while the most recent version of libpcap accessed by MacPorts is an intel binary. Until a universal binary of UpSlug2 is made available, UpSlug2 will have to be compiled from source for Intel Macs (tested on a Macbook Pro running 10.4.9).

Installing UpSlug2 on Intel MacOS

The binary version on Unslug2 is a PowerPC binary and will not work with the Intel binary lipcap. Until a universal binary of UpSlug2 is made available, UpSlug2 will have to be compiled from source for Intel Macs.

Changed lines 28-29 from:

Installing UpSlug2 on PowerPC? MacOS?

to:

Installing UpSlug2 on PowerPC MacOS

Changed lines 75-76 from:

4.2 Run upslug2 with no command line options upslug2 It should find your NLSU2? and tell you it is ready for upgrade

to:

4.2 Run upslug2 with no command line options upslug2 It should find your NLSU2 and tell you it is ready for upgrade

July 18, 2007, at 06:43 AM by mhornsby --
Changed lines 91-92 from:

4.5 You can now access the NSLU2 via SSH e.g. ssh -v root@192.168.1.77 You can find the default password here OpenSlugDefaultPassword?

to:

4.5 You can now access the NSLU2 via SSH e.g. ssh -v root@192.168.1.77 You can find the default password here.

July 18, 2007, at 06:39 AM by mhornsby --
Changed lines 91-92 from:

4.5 You can now access the NSLU2 via SSH

to:

4.5 You can now access the NSLU2 via SSH e.g. ssh -v root@192.168.1.77 You can find the default password here OpenSlugDefaultPassword?

July 18, 2007, at 06:31 AM by mhornsby -- clarification
Deleted lines 49-51:
Added lines 52-53:

The default factory assigned IP address of the NSLU2 is 192.168.1.77 . Use the following steps if you have not changed the default address of your NSLU2. If your NSLU2 is currently on your network and accessable via its Web interface then skip step 3 below and go straight to step 4.

Changed lines 72-75 from:

4.1 Reflash your NSLU2 with the UpSlug2 command line

4.2 Put your NSLU2 into upgrade mode by restarting it with only the ethernet cable connected while holding a paperclip in the reset hole in the back of the NSLU2. When the light on the fron turns red, remove the paperclip. The NSLU2 should now be blinking red. Note: on newer slugs, the red might be a darker shade of yellow: orange, not red.

to:

4.1 Put your NSLU2 into upgrade mode by restarting it with only the ethernet cable connected while holding a paperclip in the reset hole in the back of the NSLU2. When the light on the fron turns red, remove the paperclip. The NSLU2 should now be blinking red. Note: on newer slugs, the red might be a darker shade of yellow: orange, not red.

4.2 Run upslug2 with no command line options upslug2 It should find your NLSU2? and tell you it is ready for upgrade

Changed lines 89-92 from:

4.4 let the command run and let the NSLU2 reboot before accessing it via the web interface or attempting to unsling it again.

- Ockham

to:

4.4 Let the command run and let the NSLU2 reboot

4.5 You can now access the NSLU2 via SSH

July 17, 2007, at 10:13 AM by mhornsby --
Changed lines 12-13 from:

1.1 Download and install the MacPorts software.

to:

1.1 Download and install the MacPorts software.

Changed lines 30-31 from:

2.1 Download and install the MacPorts software.

to:

2.1 Download and install the MacPorts software.

Changed lines 34-37 from:

2.3 Install libpcap in the Terminal by typing: sudo /opt/local/bin/port install libpcap

2.4 Download and install the UpSlug2 package for OS X. [The current version at the time of this writing is 2-11, the file for OS X is named "upslug2-11-osx.tgz" (Note for Intel Mac users: you will need to download the source version "upslug2-11.tar.gz since the Mac OS X version is a ppc binary and will not work with the intel binary libpcap)]

to:

2.3 Install libpcap in the Terminal by typing: sudo port install libpcap

2.4 Download and install the UpSlug2 package for OS X. [The current version at the time of this writing is 2-11, the file for OS X is named "upslug2-11-osx.tgz"

July 17, 2007, at 10:09 AM by mhornsby -- formatting
Changed lines 22-27 from:

cd upslug2-11 autoreconf -i ./configure --with-libpcap sudo make install

to:
cd upslug2-11
autoreconf -i
./configure --with-libpcap
sudo make install
July 17, 2007, at 10:05 AM by mhornsby -- changed typing
Changed lines 7-8 from:

UpSlug2 works well with Mac OS X. You must use/install three pieces of software, the primary one being UpSlug2, and also libpcap, a library needed for UpSlug2 to run, and finally, you need DarwinPorts?, the installation conduit by which you install libpcap. This has been tested on a PPC G5 under Mac OS 10.4.7. The Mac OS X UpSlug2 binary is PPC only while the most recent version of libpcap accessed by Darwin Ports (now MacPorts?) is an intel binary. Until a universal binary of UpSlug2 is made available, UpSlug2 will have to be compiled from source for Intel Macs (tested on a Macbook Pro running 10.4.9).

to:

UpSlug2 works well with Mac OS X. You must use/install three pieces of software, the primary one being UpSlug2, and also libpcap, a library needed for UpSlug2 to run, and finally, you need MacPorts?, the installation conduit by which you install libpcap. This has been tested on a PPC G5 under Mac OS 10.4.7. The Mac OS X UpSlug2 binary is PPC only while the most recent version of libpcap accessed by MacPorts? is an intel binary. Until a universal binary of UpSlug2 is made available, UpSlug2 will have to be compiled from source for Intel Macs (tested on a Macbook Pro running 10.4.9).

Changed lines 12-15 from:

1.1 Download and install the MacPorts? software.

1.2 Install libpcap 'sudo port install libpcap' 1.3 Install GNU autotools 'sudo port install autoconf automake'

to:

1.1 Download and install the MacPorts software.

1.2 Install libpcap sudo port install libpcap

1.3 Install GNU autotools sudo port install autoconf automake

Added line 19:
Changed lines 30-31 from:

2.1 Download and install the DarwinPorts software.

to:

2.1 Download and install the MacPorts software.

July 17, 2007, at 10:01 AM by mhornsby -- Changed for MacOS Intel Build
Changed lines 1-12 from:

This page described how to install UpSlug2 on MacOS? X. For basic information about UpSlug2, see Main.UpSlug2. This material has been moved here from that page and needs tidying up by someone who knows about this subject.

Building Upslug2 for operating systems other than Linux

For BSD derived operating systems -including Mac OS X- the source includes support for using libpcap in place of the raw packet interfaces used for Linux. Simply change the configure step:

./configure --with-libpcap

If necessary install libpcap to make this work - the configure step will fail if you do not already have libpcap installed.

to:

This page described how to install UpSlug2 on MacOS? X. For basic information about UpSlug2, see Main.UpSlug2.

Changed lines 6-30 from:

Upslug2 (version 11) can be used on OS X, most easily either via DarwinPorts (gets you libpcap, not upslug2, yet?) or Fink (will shortly bring both, at least in 'unstable').

DarwinPorts: 'sudo port install libpcap' + build upslug2 & use '-d en0'

Note : DarwinPorts needs the libpcap libraries defined as in the Upslug2 README.macos

Fink: 'sudo fink install upslug2'

You may need to type 'rehash' before the 'upslug2' command becomes visible.

The following need to be considered:

  • libpcap >= 0.9.3 required (use DarwinPorts or Fink)
  • use 'sudo' to run the command: sudo upslug2
  • running a self-compiled upslug2, use './upslug2' to find the file

If your system MTU is not 1500, UpSlug2 may fail with the following error message: Message too long: transmit error N12NSLU2Upgrade9SendErrorE. Therefore, temporarily change your MTU size to 1500. I was using 1492.

For some reason, upslug2 is not available via fink. So go ahead and grab it directly from sourceforge.net: http://sourceforge.net/project/showfiles.php?group_id=116564

- Farhan Yousaf

to:
Changed lines 9-19 from:

1.1 Download and install the DarwinPorts software.

1.2 Update the available ports for installation by opening up a new terminal window and typing: ports sync

1.3 Install libpcap in the Terminal by typing: sudo /opt/local/bin/port install libpcap

2.1 Download and install the UpSlug2 package for OS X. [The current version at the time of this writing is 2-11, the file for OS X is named "upslug2-11-osx.tgz" (Note for Intel Mac users: you will need to download the source version "upslug2-11.tar.gz since the Mac OS X version is a ppc binary and will not work with the intel binary libpcap)]

2.2 After the upslug download archive has been expanded, locate the file named "upslug2" This file needs to be moved to the operating directory of the Terminal.

2.3 Use the Terminal to move the upslug2 file to the /usr/bin/ directory

to:

Installing UpSlug2 on Intel MacOS?

The binary version on Unslug2 is a PowerPC? binary and will not work with the Intel binary lipcap. Until a universal binary of UpSlug2 is made available, UpSlug2 will have to be compiled from source for Intel Macs.

1.1 Download and install the MacPorts? software.

1.2 Install libpcap 'sudo port install libpcap' 1.3 Install GNU autotools 'sudo port install autoconf automake' 1.4 Download the Upslug2 source code upslug2-11 from http://sourceforge.net/project/showfiles.php?group_id=116564 1.5 Build the upslug2 source

cd upslug2-11 autoreconf -i ./configure --with-libpcap sudo make install

Installing UpSlug2 on PowerPC? MacOS?

2.1 Download and install the DarwinPorts software.

2.2 Update the available ports for installation by opening up a new terminal window and typing: ports sync

2.3 Install libpcap in the Terminal by typing: sudo /opt/local/bin/port install libpcap

2.4 Download and install the UpSlug2 package for OS X. [The current version at the time of this writing is 2-11, the file for OS X is named "upslug2-11-osx.tgz" (Note for Intel Mac users: you will need to download the source version "upslug2-11.tar.gz since the Mac OS X version is a ppc binary and will not work with the intel binary libpcap)]

2.5 After the upslug download archive has been expanded, locate the file named "upslug2" This file needs to be moved to the operating directory of the Terminal.

2.6 Use the Terminal to move the upslug2 file to the /usr/bin/ directory

Changed line 39 from:
2.3.1 or move upslug2 manually by quitting Terminal and in the Finder goto: Go > Goto Folder... and type /usr/bin/ then click "Go" in the resulatnt dialog box. The /bin/ folder should open.
to:
2.6.1 or move upslug2 manually by quitting Terminal and in the Finder goto: Go > Goto Folder... and type /usr/bin/ then click "Go" in the resulatnt dialog box. The /bin/ folder should open.
Changed lines 41-42 from:
2.3.2 Drag and drop the "upslug2" file into the /bin/ directory and choose "Authenticate" and type your administrative password to move upslug to the Terminal's working directory.
to:
2.6.2 Drag and drop the "upslug2" file into the /bin/ directory and choose "Authenticate" and type your administrative password to move upslug to the Terminal's working directory.

Using UpSlug2 to Flash your NSLU2

If your system MTU is not 1500, UpSlug2 may fail with the following error message: Message too long: transmit error N12NSLU2Upgrade9SendErrorE. Therefore, temporarily change your MTU size to 1500. I was using 1492.

- Farhan Yousaf

April 20, 2007, at 05:57 AM by Kyle Harr -- Intel Mac
Changed lines 40-41 from:

UpSlug2 works well with Mac OS X. You must use/install three pieces of software, the primary one being UpSlug2, and also libpcap, a library needed for UpSlug2 to run, and finally, you need DarwinPorts?, the installation conduit by which you install libpcap. This has been tested on a PPC G5 under Mac OS 10.4.7. This has not been tested on an Intel based Mac, although it will quite possibly work fine under Rosetta emulation.

to:

UpSlug2 works well with Mac OS X. You must use/install three pieces of software, the primary one being UpSlug2, and also libpcap, a library needed for UpSlug2 to run, and finally, you need DarwinPorts?, the installation conduit by which you install libpcap. This has been tested on a PPC G5 under Mac OS 10.4.7. The Mac OS X UpSlug2 binary is PPC only while the most recent version of libpcap accessed by Darwin Ports (now MacPorts?) is an intel binary. Until a universal binary of UpSlug2 is made available, UpSlug2 will have to be compiled from source for Intel Macs (tested on a Macbook Pro running 10.4.9).

Changed lines 46-49 from:

1.3 Install libcap in the Terminal by typing: sudo /opt/local/bin/port install libpcap

2.1 Download and install the UpSlug2 package for OS X. [The current version at the time of this writing is 2-11, the file for OS X is named "upslug2-11-osx.tgz"]

to:

1.3 Install libpcap in the Terminal by typing: sudo /opt/local/bin/port install libpcap

2.1 Download and install the UpSlug2 package for OS X. [The current version at the time of this writing is 2-11, the file for OS X is named "upslug2-11-osx.tgz" (Note for Intel Mac users: you will need to download the source version "upslug2-11.tar.gz since the Mac OS X version is a ppc binary and will not work with the intel binary libpcap)]

March 03, 2007, at 03:12 PM by Phil Endecott -- Create tis page with material from UpSlug2. Needs tidying up by a MacOS user.
Added lines 1-95:

This page described how to install UpSlug2 on MacOS? X. For basic information about UpSlug2, see Main.UpSlug2. This material has been moved here from that page and needs tidying up by someone who knows about this subject.

Building Upslug2 for operating systems other than Linux

For BSD derived operating systems -including Mac OS X- the source includes support for using libpcap in place of the raw packet interfaces used for Linux. Simply change the configure step:

./configure --with-libpcap

If necessary install libpcap to make this work - the configure step will fail if you do not already have libpcap installed.

UpSlug2 and OSX

Upslug2 (version 11) can be used on OS X, most easily either via DarwinPorts (gets you libpcap, not upslug2, yet?) or Fink (will shortly bring both, at least in 'unstable').

DarwinPorts: 'sudo port install libpcap' + build upslug2 & use '-d en0'

Note : DarwinPorts needs the libpcap libraries defined as in the Upslug2 README.macos

Fink: 'sudo fink install upslug2'

You may need to type 'rehash' before the 'upslug2' command becomes visible.

The following need to be considered:

  • libpcap >= 0.9.3 required (use DarwinPorts or Fink)
  • use 'sudo' to run the command: sudo upslug2
  • running a self-compiled upslug2, use './upslug2' to find the file

If your system MTU is not 1500, UpSlug2 may fail with the following error message: Message too long: transmit error N12NSLU2Upgrade9SendErrorE. Therefore, temporarily change your MTU size to 1500. I was using 1492.

For some reason, upslug2 is not available via fink. So go ahead and grab it directly from sourceforge.net: http://sourceforge.net/project/showfiles.php?group_id=116564

- Farhan Yousaf

UpSlug2 works well with Mac OS X. You must use/install three pieces of software, the primary one being UpSlug2, and also libpcap, a library needed for UpSlug2 to run, and finally, you need DarwinPorts?, the installation conduit by which you install libpcap. This has been tested on a PPC G5 under Mac OS 10.4.7. This has not been tested on an Intel based Mac, although it will quite possibly work fine under Rosetta emulation.

1.1 Download and install the DarwinPorts software.

1.2 Update the available ports for installation by opening up a new terminal window and typing: ports sync

1.3 Install libcap in the Terminal by typing: sudo /opt/local/bin/port install libpcap

2.1 Download and install the UpSlug2 package for OS X. [The current version at the time of this writing is 2-11, the file for OS X is named "upslug2-11-osx.tgz"]

2.2 After the upslug download archive has been expanded, locate the file named "upslug2" This file needs to be moved to the operating directory of the Terminal.

2.3 Use the Terminal to move the upslug2 file to the /usr/bin/ directory

2.3.1 or move upslug2 manually by quitting Terminal and in the Finder goto: Go > Goto Folder... and type /usr/bin/ then click "Go" in the resulatnt dialog box. The /bin/ folder should open.
2.3.2 Drag and drop the "upslug2" file into the /bin/ directory and choose "Authenticate" and type your administrative password to move upslug to the Terminal's working directory.

3.1 Connect your NSLU2 directly to your computer's ethernet port [be sure you have downloaded the flash file for reflashing]

3.1.1 If you have not already done so, Duplicate Network Port Configuration:
goto System Preferences > Network Port Configurations.
Select built in ethernet and hit "duplicate" and rename the configuration
Select the new configuration and click the "TCP/IP" tab
Select "Using DHCP with manual address,"
Enter the manual IP of the form 192.168.0.2
3.1.2 Disover NSLU2 Device code:
Open Terminal and type arp -a
Find the address for the NSLU2 under 192.168.1.77
Write the NSLU2 address replacing spaces with 0. so, 0:f:66:89:19:69 = 00:0f:66:89:19:69
3.1.3 Rewrite new temp path for NSLU2:
Open Terminal and type sudo arp -s 192.168.0.1 [the NSLU2 adress]

4.1 Reflash your NSLU2 with the UpSlug2 command line

4.2 Put your NSLU2 into upgrade mode by restarting it with only the ethernet cable connected while holding a paperclip in the reset hole in the back of the NSLU2. When the light on the fron turns red, remove the paperclip. The NSLU2 should now be blinking red. Note: on newer slugs, the red might be a darker shade of yellow: orange, not red.

4.3 Open a new Terminal window and type the following command:

sudo upslug2 -d en0 -t [the NSLU2 adress] -i [the path to the flash file]
where -d en0 specifies that you wish to use the "en0" ethernet port, the default on Macintosh computers
-t [the NSLU2 adress] specifies the address of the NSLU2 you wish to upgrade
-i [the path to the flash file] specifies the flash image you wish to use.

So, for example, the command would be typed as:

sudo upslug2 -d en0 -t 00:0f:66:89:19:69 -i ~/Desktop/NSLU2_V23R63.bin

4.4 let the command run and let the NSLU2 reboot before accessing it via the web interface or attempting to unsling it again.

- Ockham

Page last modified on February 20, 2013, at 09:29 AM