![]() |
Main.UpSlug2onOSX HistoryHide minor edits - Show changes to markup February 20, 2013, at 09:29 AM
by -- typo
Changed lines 24-25 from:
1.1 to:
1.1 February 20, 2013, at 09:28 AM
by -- 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 Changed lines 20-21 from:
1.0 to:
1.1 Installing with HomeBrew? (see page) 1.1 Deleted line 65:
June 13, 2010, at 01:14 PM
by --
Changed lines 12-13 from:
1.2 Install upslug2 to:
1.2 Install UpSlug2 June 13, 2010, at 01:13 PM
by --
Changed lines 14-15 from:
If you have an ObeseSlug? the command to install UpSlug2 will be to:
If you have an ObeseSlug the command to install UpSlug2 will be June 13, 2010, at 01:10 PM
by --
Changed lines 14-15 from:
If you have an ObeseSlug? the command to install UpSlug2 will be to:
June 13, 2010, at 01:07 PM
by --
Changed lines 8-9 from:
to:
Installing with MacPorts (version r41, latest from svn): June 13, 2010, at 01:06 PM
by --
Changed lines 8-9 from:
to:
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 -- 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 MacOSThe 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 1.3 Install GNU autotools 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 1.6 Build the UpSlug2 source cd upslug2-11
autoreconf -i
./configure --with-libpcap
sudo make install
Installing UpSlug2 on PowerPC MacOS2.1 Download and install the MacPorts software. 2.2 Update the available ports for installation by opening up a new terminal window and typing: 2.3 Install libpcap in the Terminal by typing: 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:
July 21, 2008, at 06:13 PM
by -- 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 --
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 -- 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 --
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 -- 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 to:
4.2 Run upslug2 with a command line option to specify your ethernet device, October 17, 2007, at 01:13 AM
by -- 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 1.6 Build the UpSlug2 source September 24, 2007, at 08:41 PM
by -- 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: to:
If your system MTU is not 1500, UpSlug2 may fail with the following error message: Changed lines 76-77 from:
4.2 Run upslug2 with no command line options to:
4.2 Run upslug2 with no command line options September 24, 2007, at 08:38 PM
by -- 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 MacOSThe 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 MacOSThe 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 MacOSto:
Installing UpSlug2 on PowerPC MacOSChanged lines 49-50 from:
Using UpSlug2 to Flash your NSLU2to:
Using UpSlug2 to Flash your NSLU2September 23, 2007, at 09:17 AM
by --
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 -- 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: to:
2.2 Update the available ports for installation by opening up a new terminal window and typing: July 25, 2007, at 08:43 PM
by -- 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 -- fix 4.2
Changed lines 75-76 from:
4.2 Run upslug2 with no command line options to:
4.2 Run upslug2 with no command line options July 25, 2007, at 08:28 PM
by -- 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 -- formatting July 25, 2007, at 08:27 PM
by -- formatting
Changed lines 75-76 from:
4.2 Run upslug2 with no command line options to:
4.2 Run upslug2 with no command line options 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:
July 23, 2007, at 02:31 AM
by -- should line 1.3 read \"autoconf\" instead of \"autoreconf\"?
Added lines 93-94:
July 20, 2007, at 07:16 PM
by -- 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 MacOSThe 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:
to:
Installing UpSlug2 on PowerPC MacOSChanged lines 75-76 from:
4.2 Run upslug2 with no command line options to:
4.2 Run upslug2 with no command line options July 18, 2007, at 06:43 AM
by --
Changed lines 91-92 from:
4.5 You can now access the NSLU2 via SSH e.g. to:
4.5 You can now access the NSLU2 via SSH e.g. July 18, 2007, at 06:39 AM
by --
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. July 18, 2007, at 06:31 AM
by -- 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 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 --
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: 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: 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 -- 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 -- 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 1.3 Install GNU autotools 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 -- 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 LinuxFor BSD derived operating systems -including Mac OS X- the source includes support for using ./configure --with-libpcap
If necessary install 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: Note : DarwinPorts needs the libpcap libraries defined as in the Upslug2 README.macos Fink: You may need to type 'rehash' before the 'upslug2' command becomes visible.
The following need to be considered:
If your system MTU is not 1500, UpSlug2 may fail with the following error message: 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: 1.3 Install libpcap in the Terminal by typing: 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: 2.3 Install libpcap in the Terminal by typing: 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 NSLU2If your system MTU is not 1500, UpSlug2 may fail with the following error message: - Farhan Yousaf April 20, 2007, at 05:57 AM
by -- 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: 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: 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 -- 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 LinuxFor BSD derived operating systems -including Mac OS X- the source includes support for using ./configure --with-libpcap
If necessary install UpSlug2 and OSXUpslug2 (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: Note : DarwinPorts needs the libpcap libraries defined as in the Upslug2 README.macos Fink: You may need to type 'rehash' before the 'upslug2' command becomes visible.
The following need to be considered:
If your system MTU is not 1500, UpSlug2 may fail with the following error message: 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: 1.3 Install libcap in the Terminal by typing: 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
view ·
edit ·
print ·
history ·
Last edited by Enrico Carlesso.
Based on work by Enrico Carlesso, RunAway, Morten Kjeldgaard, mhornsby, Tom Gross, fcarolo, david, drew harris, and Kyle Harr. Originally by Phil Endecott. Page last modified on February 20, 2013, at 09:29 AM
|