Some DeLi Linux packages

Since the DeLi Linux project is no more, there's no updated packages. Of course, one could upgrade to ConnochaetOS but that's no fun. The packages for ConnochaetOS are .pkg.tar.xz, which don't install in DeLi for som reason. Anyway, I compiled a couple packages just to test out the Arch packaging system. Here's a repository for those still using DeLi since the DeLi site is down.

See attachements.

 

iStatd binary for Solaris 10 x86

Here's iStatd compiled on Solaris 10 x86 for those lazy not to compile it. Also make sure you have libxml2_devel installed. See the attachment. 

(I take no credit for the development of iStatd, rather presented is a binary package of it)

Download

Easton
iOS 4.2.1 on iPhone 3G

Photo by Noel Feans

After being fed up with 4.0 on my 3G, I downgraded the firmware back to 3.1.3. iOS 4.0.1 was supposed to fix the performance issues on the 3G but I wasn't so sure. So, I waited until 4.2.1. Jailbreaking was easy using redsn0w (the part that I always forget to do it upgrade the firmware on my iPhone first then jailbreak). 

 Apparently SSH doesn't work on 4.2.1 yet (or something) which is a big pain in the ass. So, I grabbed afc2add from Cydia and got iFunBox running on my computer. It fills the gap until OpenSSH works with 4.2.1. BiteSMS constantly crashes my iPhone so I have to disable it to be the default SMS app. Everything else seems to work fine (Winterboard, fcsb, SBSettings, etc).

Easton

Nexenta

Sweet and salty popcorn best describes Nexenta. OpenSolaris kernel but still using many GNU tools and such: the best of both worlds. The balls robustness of Solaris with easiness of the GNU userland, Debian to be specific, makes it easy to use Solaris. I've just got it running and I quite love it. I love Debian by itself, especially for apt-get.

So, this entire time I've been using sh on my Solaris server. Many things aren't quite the same. When I press the up arrow, I'd like to re-run the last command. So, I ran bash and ta-da there's bash. I upgraded it from 3.0 to 4.1 using Sunfreeware but things didn't work after. When I wanted to run BitchX or even nano I'd get: Error opening terminal: bash. Quite odd indeed. After some Googling, I found it. Running export TERM=vt100 fixed it immediately. 

 

Now, to get audio working in Nexenta...

Life update

Haven't posted in a bit, thought I'd tell everyone that I'm still alive. Schools started again, so that'll take some time away from coding. New motherboard has been running superbly. One of my other computers with an Asus P4PE board has a voice over when it's booting. So the other day, it's booting up and I hear voices coming from the headset. Finally figure out it's the BIOS that's speaking to me. I will say that I do admire my Solaris server. It's quite rock-solid (well, other than the random reboots when untar'ing something large) and everything feels like it's complete.

Other than that, life's been the same. My breadboard came in a little while ago so I've been experimenting with IC's and such. 

Well, back to doing nothing.

 

Easton
Dual Xeon build

I've had these Xeon processors sitting around for a while now and I thought it's about time to get a motherboard for them. Two are clocked at 3.0Ghz/1MB/800, other two are at 2.8Ghz/512/533. I ordered a Super Micro X6DVL-EG2  from eBay for $120 of which I seen this motherboard up to $250. Anyway, came the other day and finally put it together. Heatsinks didn't screw into the case as it should, so I had to screw the nut right onto the heatsink. 


The BIOS has a plethora of options to mess around with, most of which I don't even know. XP x64 running on here and it's running quite good. My first 64-bit system :)

Other than that, I haven't done any coding. Although I did make a change or two to Sysode the other day. 

Easton

nginx + php + Solaris 10

I wanted to set up a development server to test more intensive PHP applications, and also a sandbox so I opted to get a typical web server stack on Solaris.

First thing's first: grab nginx from  Cool Stack page. There's some great packages there, like Apache, PHP and MySQL all in one. I decided to go with nginx for something light and something new. 

The binary for nginx is  /opt/coolstack/nginx/sbin/nginx so be sure to set your configuration in /opt/coolstack/nginx/conf/nginx.conf (pretty straight forward). Be sure to enable the FastCGI section in the config file!

Next thing is PHP. Pretty standard here. Get the source from php.net, configure and install. I ran ./configure with --prefix=/usr/local/php5 --enable-fastcg=/usr/local --enable-force-cgi-redirect --enable-cli --enable-zip --with-layout=GNU --with-regex=php --with-zlib=/usr/local --with-curl=/usr/local --enable-exif --with-gd 

Once that's done, set up your php.ini in /usr/local/php5/etc And of course, add cgi.fix_pathinfo = 1 to the end of the file. Now, for everything to piece together, you'll need FastCGI to parse PHP with nginx (as far as I know). Grab FastCGI from here and the standard compile commands.

Now, nginx was running but I couldn't get it to parse PHP. nginx was listening for port 9000 for FastCGI but it wasn't there. After a bit of Googling I found spawn-cgi, as it comes with lighttpd by default. Anyway, get spawn-cgi and install.

Finally, spawn FastCGI with:
/usr/local/bin/spawn-fcgi -a 127.0.0.1 -p 9000 -u www-data -f /usr/local/php5/bin/php-cgi


(You'll have to create user www-data if it doesn't exist).

And that's about it. I now have Proftpd on there, and it's running quite smoothly indeed. Any comments or ideas are welcome.

iStat on Solaris 10

After experimenting with Solaris 10 for a bit, I thought I'd get iStat on there so I can see it's activity on my iPhone. After getting down and dirty with Solaris for a bit, I definitely learned some things. Since iStat needed libxml2, I grabbed that from Sun Freeware and installed it fine. Next thing was to, of course, install the iStat client. When I ran ./configure it was complaining about not being able to create a C++ executable. And with gcc already installed, libraries were the issue. /usr/bin/crle -c /var/ld/ld.config -l /lib:/usr/lib:/usr/local/lib:/usr/local/ssl/lib did the trick.

Solaris has a steep learning curve, as compared to Linux. I've always fancied nano as my text editor, but Solaris didn't have nano so I had to make do with vi (of which I'm quite better at than before). Tab completion and using the up or down arrow key to repeat the last command isn't there either. I've learned that I have to gunzip then tar xvf a tar.gz file (bunzip2 works for .tar.bz2).  Also, I found this great for some tricks on Solaris (alebeit it's Solaris 9).

Networking was a bit difficult to start, I had to get the driver from here.Although, I'm still having problems with the module not loading on boot. All in all, I find that Solaris definitely improved on my command line skills. It's like Linux, but without the fun.

iOS 4.0.1 released, now what?

Now, I'm not one to blog about the newest tech news or anything, but Apple has released iOS 4.0.1 which as they say, "improves the formula used to calculate the appropriate bars for signal strength". Available in iTunes and here. I've always had a cheap plastic case on mine, so I never noticed any reception loss greatly. Although if I do hold it in my left hand for an extended period, I saw 5 bars go to 1 bar.

Firmware 4.0.1 is jailbreakable with the 3G so far, so 3GS and 4 users are out of luck. If the only entry in the change log is the "improved formula", I don't see the need to update personally. Sure, it may say I have 1 bar, but hey, as long as it works.

Cycoder still doesn't work in 4.0. I finally found a working version of biteSMS, 4.93. I had to run redsn0w again last week or so because 3G didn't work. Working fine now, but it was strange that it didn't work at all. Still some themes don't work. Infinidock and Lockinfo don't seem to be compatible either. I do experience random reboots and lockups, but whatever. 

Easton
Tags