Archive for hack

Ironing out opensolaris 2008.05 issues

Posted in software with tags , , , , on 2008.05.12 by ipv5

(see also this post on how to install it on a Dell inspiron 2650 )

install flash player:

$ cd
$ mkdir .mozilla/plugins/
$ wget http://fpdownload.macromedia.com/get/flashplayer/current/flash_player_9_solaris_x86.tar.bz2
$ tar xvjf flash_player_9_solaris_x86.tar.bz2
drwxr-xr-x leon.sha/other 0 2008-04-03 01:04 flash_player_9_solaris_r124_x86/
-rw-r--r-- leon.sha/other 856 2008-04-03 01:04 flash_player_9_solaris_r124_x86/flashplayer.xpt
-rwxr-xr-x leon.sha/other 6733684 2008-04-03 01:04 flash_player_9_solaris_r124_x86/libflashplayer.so
$ cp flash_player_9_solaris_r124_x86/* ~/.mozilla/plugins/

Pidgin does not start:

Invoke it via a shell script like this:
#!/bin/sh
LD_LIBRARY_PATH="/usr/lib/mps"
export LD_LIBRARY_PATH

/usr/bin/pidgin

Icons not showing up in the menu:

the gnome menu reads /usr/share/applications for application.desktop files, packages do provide them, but if they are not showing up they got installed somewhere else, just copy/symlink ’em.
more on the .desktop format at http://standards.freedesktop.org/desktop-entry-spec/latest/

Nautilus is dumb:

You’ll need to create a Documents folder in your home, for a start.

Quick OpenSolaris pkg howto

Posted in software with tags , , , on 2008.05.11 by ipv5

Well, time for me to learn YAPMSTM (Yet Another Package Management System).
Opensolaris 2008.05 ships with the IPS Image Packaging System, which, even if it’s got very few packages, has both command line and gui tools.

search for an installed package:

# pkg list -s | egrep or whatever you like
NAME (AUTHORITY) SUMMARY
FSWxorg-fonts X.Org Foundation X11 fonts
SUNW1394 Sun IEEE1394 Framework
SUNWDTraceToolkit SUNWDTraceToolkit
...

or

# pkg search -l zip
INDEX ACTION VALUE PACKAGE
basename file usr/bin/zip pkg:/SUNWzip@2.32-0.86
# pkg info -l pkg:/SUNWzip@2.32-0.86
Name: SUNWzip
Summary: The Info-Zip (zip) compression utility
State: Installed
Authority: opensolaris.org (preferred)
Version: 2.32
Build Release: 5.11
Branch: 0.86
Packaging Date: Sat Apr 26 18:12:56 2008
Size: 167 kB
FMRI: pkg:/SUNWzip@2.32,5.11-0.86:20080426T181256Z
# pkg contents pkg:/SUNWzip@2.32-0.86
PATH
usr
usr/bin
usr/bin/zip
usr/bin/zipcloak
usr/bin/zipnote
usr/bin/zipsplit

check for updated packages:

# pkg list -u
NAME (AUTHORITY) VERSION STATE UFIX
entire 0.5.11-0.86 installed u---
openoffice 2.4.0-0.86 installed u---

search for and install new packages:

# pkg search -r rdesktop
INDEX ACTION VALUE PACKAGE
basename file usr/bin/rdesktop pkg:/SUNWrdesktop@0.5.11-0.86
basename file usr/bin/rdesktop pkg:/SUNWrdesktop@0.5.11-0.86
# pkg install -n -v SUNWrdesktop
Before evaluation:
UNEVALUATED:
+pkg:/SUNWrdesktop@0.5.11,5.11-0.86:20080426T180128Z


After evaluation:
None -> pkg:/SUNWrdesktop@0.5.11,5.11-0.86:20080426T180128Z
None
# pkg install -v SUNWrdesktop
Before evaluation:
UNEVALUATED:
+pkg:/SUNWrdesktop@0.5.11,5.11-0.86:20080426T180128Z

After evaluation:
None -> pkg:/SUNWrdesktop@0.5.11,5.11-0.86:20080426T180128Z
None
DOWNLOAD PKGS FILES XFER (MB)
Completed 1/1 42/42 0.27/0.27

PHASE ACTIONS
Install Phase 55/55

add other repositories:

# pkg set-authority -O http://pkg.sunfreeware.com:9000 sunfreeware.com
# pkg set-authority -O http://blastwave.network.com:10000 blastwave.org
# pkg authority
AUTHORITY URL
opensolaris.org (preferred) http://pkg.opensolaris.org:80/
blastwave.org http://blastwave.network.com:10000/
sunfreeware.com http://pkg.sunfreeware.com:9000/
# pkg refresh --full

uh?:

# pkg info -l pkg:/openoffice@2.4.0-0.86
Name: openoffice
Summary: Base module for OpenOffice.org 2.4
State: Installed
Authority: opensolaris.org (preferred)
Version: 2.4.0
Build Release: 5.11
Branch: 0.86
Packaging Date: Thu Apr 24 10:48:39 2008
Size: 420.6 MB
FMRI: pkg:/openoffice@2.4.0,5.11-0.86:20080424T104839Z


# pkg info -r pkg:/openoffice@2.4.0-0.86
Name: openoffice
Summary: Base module for OpenOffice.org 2.4
State: Not installed
Authority: opensolaris.org (preferred)
Version: 2.4.0
Build Release: 5.11
Branch: 0.86
Packaging Date: Mon Apr 28 16:36:48 2008
Size: 420.6 MB
FMRI: pkg:/openoffice@2.4.0,5.11-0.86:20080428T163648Z

I wonder why the build release does not increment… oh, well, it does not do it even for entire it does seem…

updating the system:

# pkg image-update -n -v
Before evaluation:
UNEVALUATED:
+pkg:/entire@0.5.11,5.11-0.86:20080504T125439Z

After evaluation:
pkg:/entire@0.5.11,5.11-0.86:20080426T182618Z -> pkg:/entire@0.5.11,5.11-0.86:20080504T125439Z
None
# pkg image-update -v
Before evaluation:
UNEVALUATED:
+pkg:/entire@0.5.11,5.11-0.86:20080504T125439Z

After evaluation:
pkg:/entire@0.5.11,5.11-0.86:20080426T182618Z -> pkg:/entire@0.5.11,5.11-0.86:20080504T125439Z
None
PHASE ACTIONS
Update Phase 1/1
Install Phase 3/3
A clone of opensolaris exists and has been updated and activated. On next boot the Boot Environment opensolaris-1 will be mounted on '/'. Reboot when ready to switch to this updated BE.
# zfs list
NAME USED AVAIL REFER MOUNTPOINT
rpool 3.18G 14.0G 56.5K /rpool
rpool@install 18.5K - 55K -
rpool/ROOT 2.95G 14.0G 18K /rpool/ROOT
rpool/ROOT@install 15K - 18K -
rpool/ROOT/opensolaris 233K 14.0G 2.12G legacy
rpool/ROOT/opensolaris-1 2.95G 14.0G 2.12G legacy
rpool/ROOT/opensolaris-1@install 352M - 2.22G -
rpool/ROOT/opensolaris-1@static:-:2008-05-10-22:50:27 44.0M - 2.12G -
rpool/ROOT/opensolaris-1/opt 450M 14.0G 450M /opt
rpool/ROOT/opensolaris-1/opt@install 121K - 3.61M -
rpool/ROOT/opensolaris-1/opt@static:-:2008-05-10-22:50:27 0 - 450M -
rpool/ROOT/opensolaris/opt 0 14.0G 450M /opt
rpool/export 233M 14.0G 19K /export
rpool/export@install 15K - 19K -
rpool/export/home 233M 14.0G 233M /export/home
rpool/export/home@install 19K - 21K -

interesting links:

how to create your own ips repository, some primers from the os people, either in plain old html, o as a screencast. And here there’s even more links.

Essential Firefox plugins

Posted in software with tags , on 2008.05.10 by ipv5

Well, not so essential maybe, but I cannot resist modding the hell out of this browser.

Screen Real estate

Browsing aids

Security

Search engines

If anyone passing by knows some must-have plugins I’ve not mentioned please do leave a comment

Pystar’s Hax4u a bit overpriced

Posted in hardware, software with tags , , , on 2008.04.30 by ipv5

Here we go again with the open computer scam mac clone. Ars has some more coverage, but what’s really interesting there are the comments imo.

Oh, and there’s some photos too, but the guy posting it might be someone from pystar, so beware.

So, the deal it’s this: you get more or less 200€ worth of hardware, with a copy of Leopard. You got osx already hacked and runing, but to reinstall it you need to re-hack it too (or download the hacked images you find floating on the net). In your Country the Apple eula might not be legally binding, so it could even be legal, but given the number of people installing osx everywhere (including on the eepc and on the OQO) you’re probably better off buying the pieces wherever you want and assemble your own mac clone.

Google summer of code 2008

Posted in net, software with tags , , , , , , , , on 2008.04.23 by ipv5

Here we go again, let’s see what picks my fancy this time.

Mac clones a moving target

Posted in hardware with tags , , on 2008.04.18 by ipv5

Well, it seems the whole mac clone story is shadierthan I tought.
The guardian tracked down Pystar’s movements, both on the web and on the map.
Yep, on the map. Not only their website appeared out of nowhere a couple of weeks ago, but their physical address is moving around too, seems they’re changin it every few days.
Maybe it’s to escape the wrath of netkas, who claims pystar stole his v8 efi emulator.

Scam or no scam? Well, they promised Ars they’ll send them a unit for review, so we just have to sit back and wait.

Buy an already-hacked mac clone

Posted in hardware with tags , , on 2008.04.15 by ipv5

There’s people buying apple hardware because it is quality stuff, people with a ton of hardware already around hacking macosx to run on their iron.

And then there’s people offering you a pre-hacked mac minitower for sale at 400 bucks, yep, that’s right. Those soon-to-be-sued-to-hell guys at psystar offer you a mac clone with osx already installed.

If you want it, do get it fast, this box is making the rounds on the net and I doubt it will be avaiable for long.