factorQ.net

In the Past it was only a Prophecy…but in the Future, the Past has Occurred!

Posts Tagged ‘linux’

bike, jeep, image, scripting

Posted by jamba on August 13, 2010

I’ve put my bike up for sale…the ad/info/pictures are here:  jrob.co.cc/forsale/2005sv650/.  Ideally this will sell so I can use the funds to fix my jeep in a more timely manner.  Although I did have a pretty sweet deal worked out for a Dana 60 front and Dana 70u rear, it didn’t really appear that would work out–the front was PSD, and I need DSD (without significantly more work/money).  So, it looks like I am going to be going with a Dana 44 front / Ford 9″ rear as long as we can work something out with pricing.

Oh, I’m now on the Linux Outlaws Planet! sweet.  I forgot to copy my hackergotchi image over after my webhost crashed, so I’ll have to update that.

Along with some help from @psquid I got my AUR package update Bash script working –it can (almost) be run with cron at some regular interval on an Arch system, if they heybuddy version from launchpad > the AUR version, the PKGBUILD file is updated, and the taurball is created and uploaded to the AUR.

To do the uploading, I am currently using aurploader.  I am either going to modify this code to get it to work completly scriptable as I want ust fork it entirely.  This is the last bit of required human interaction required in this script.

It isn’t a very pretty script, and I really…really don’t know very much bash, but it seems to work like I want it to for something as simple as this is.  I will post it up, I think…maybe in my next post, hopefully by then I will have it all worked out!

That’s all I’ve got for now.

Posted in Random, jeep stuff, life, linux | Tagged: , , , , , | Leave a Comment »

set up ssh / encrypted socks tunnel

Posted by jamba on July 19, 2010

So I had started this a long time ago, and forgotten all about it as I really didn’t have a use for it.  Now that I have the ability to tether, and I have my eeePC working again, combined with attending LUGs–now I have the use for a secure tunnel.

In case you aren’t aware (I wasn’t), passwords and logins are sent in PLAIN TEXT–yes, I said plain text.  Nuts, huh?  Anyway, so when you are not on a known or somewhat secure network, this could be dangerous.

Setting up SSH is very easy to do, and it comes in very handy.  ArchLinux has a terrific wiki entry, as usual, which speedifies things quite a bit.  It is very straightforward, and I can certainly not do better here.

There is also a section for creating an encrypted SOCKS tunnel.  Once the SSH on the client and SSHd on the host have been configured, creating the tunnel is a breeze.  You just run a command:

$ ssh -ND 4711 user@host
and then configure your web browser:
  • For Firefox: Edit → Preferences → Advanced → Network → Connection → Setting:
Check the “Manual proxy configuration” radio button, and enter “localhost” in the “SOCKS host” text field, and then enter your port number in the next text field (I used 4711 above).
Make sure you select SOCKS4 as the protocol to use. This procedure will not work for SOCKS5.
I created a bash alias “sshtunnel” as menoned in the wiki so I have less to type.
Also worth mentioning, is that since my IP is dynamic, and my ssh host computer is behind a router, I have to have some kind of way to broadcast my REAL ip externally.  So, I wen on over to DynDNS.com and set up a free account for a subdmain. Then I just configured my router to forward my ssh port, as well as tell it to update DynDNS with my real IP address when it changes (It has been a built-in feature with my current Netgear as well as my past LinkSys routers).
Very simple, over all.  And it can definitely come in handy.   I have @NYBill to thank again, he reminded me I needed to finish setting this up.

Posted in linux | Tagged: , , , , , | Leave a Comment »

some recent distro-hoppage

Posted by jamba on July 15, 2010

I did have Jolicloud on my eeePC (900A), and it was fine for a while.  Actually, it was a pretty neat distro.  However when you try to install things using apt-get like a normal distro instead of through the “app cloud”, some things stop working and it goes downhil.  This, combined with me itching to hop a couple of distros let me to switch.

So I started out using UNetBootin to create a Live USB stick for Fedora 13 (LXDE), and installed on the EEE.  The eee is actually pretty well supported with Fedora, including the wireless (on the 900 model that I have, the 1100+ may be a different story).  This was okay, except that it was not optimized for the small screen, and some of the GUI prompts actually hung off of the screen.  Not to mention I was missing some “tap and click” functionality of the trackpad thing.  Total time installed…. about 4 hours.

From this point on…I had a bit of trouble.

Read the rest of this entry »

Posted in distro, linux | Tagged: , , , , | Leave a Comment »

Project, or Masters?

Posted by jamba on July 3, 2010

I had been planning to back to school to get my masters degree in Computer Science (or maybe Information Systems)–Work would pay for the schooling as long as I made at least a B, and all of that would be well and good.  However, it would take me 5 or 6 years to complete the program, and it would take up a lot of time.

I am now trying to decide if I would rather do that, or just undertake creating some project program or something on Linux for open source (or maybe for Android).  I’ve wanted to be more involved in FOSS for a long time, and if I did start this project it would be me “giving back” something.  But I’m not incredibly creative…I would be terrible at making a podcast and things of that sort, and I am not a very good blogger (yes, I realize this).  I do have some sort of ability to do some programming, and a desire to learn in that area so I guess that is where I am heading.

Now, the obvious problem with such a project….I have NO IDEA what i is I would like to do. I could create my own distribution, but I don’t see much added value for that. Just a lot of work!  But I have always wanted to try Linux From Scratch.

Or I could make some kind of identi.ca client: mobile like mustard or maybe something desktop like HeyBuddy.    Or maybe I could start out with some kind of project like this, and then see where I go from there.  I am definitely not thinking that whatever I do will take off and be tremendously popular or anything, but I guess it could happen.

I think I will start reading up on the identi.ca API and see what needs to be done, then can work something out!

Posted in code, linux, tech | Tagged: , , | 1 Comment »

My top 5 Linux Distributions (and runners up)

Posted by jamba on June 30, 2010

I’ve been running ArchLinux on my desktop for a couple of years now, but these days I am getting on that computer less and less.  Little enough that I worry that my infrequency of system updates may cause some breakage.  To-date, I have not had any problems, but it could happen.

This desktop hosts pictures, and runs ssh, samba, and cups primarily.  So, I was considering hopping to another distro that would possibly be more stable and run for longer periods without a need for manual updates.  After some discussion on identi.ca, I think I will be fine staying with Arch, though–I believe I can still manage to update once a month or so. :-)

I figure I will go ahead and re-detail my top 5 favorite Linux distros while I’m thinking about it, though. These are in order of my personal preference of use from past distro-hopping adventures:

  1. Arch …naturally!
  2. CrunchBang – I liked this one a lot the last time I tried it, and apparently now it is based off Debian instead of Ubuntu.
  3. Sabayon – although a bit bloated on the default ISO, this distro and I really got along, and the community was top-notch.
  4. Fedora – I don’t think I really gave fedora the close look it deserved, but I liked what I saw for the brief time that I used it.
  5. Pardus – this is definitely another good one.  I just didn’t “click” with it, but it was quality.

A few more that deserve mention as runners up are: Read the rest of this entry »

Posted in Random, linux | Tagged: , , , , , | Leave a Comment »

Mobile is the future!

Posted by jamba on June 20, 2010

As I was sitting here at home listening to the Linux adventure show podcast, I was just thinking about how mobilized everything is becoming. The iPad is ridiculously popular, as are the android tablets and ipad clones. Not to even mention the smartphone markets– I’m even writing this post on my iPhone!

… And the majority of my post was deleted… Thanks wordpress app

Editing with the continuation, which is going to be different since this is several hours later, and I am outside enjoying some vino and a habana.

There was a quote I saw on identi.ca the other day, something like: “the year of the Linux desktop will be the year after the desktop dies”

Read the rest of this entry »

Posted in tech | Tagged: , , , | Leave a Comment »

I got bored… so: Creating a www server

Posted by jamba on March 3, 2010

Over the weekend I had some time and then decided to do something I had always wanted to do:  create an http server.  I was using my desktop, which runs Arch of course,  and went through several of these links and set my desktop up with Apache, PHP, and MySQL.  Also, I installed vsftp as an FTP server.

I even signed up with DynDNS so that my dynamic IP can be updated to a (sub)domain and etc etc.

Once I had everything set up and working–which turned out to be amazingly simple by the way–…I asked myself “to what end?”
You know what, I don’t know.  I guess just to do it.  I won’t USE the webserver, being I use wordpress here (with a top-level domain for $9 a YEAR!  for a TLD at dynDNS it would be $30), and as long as it is flexible enough for me, I’ll keep it.
Also, I have my account at X10hosting where my code site (jrob.co.cc) is hosted and I could use it instead of my own desktop–I’m sure it would be faster, more reliable, and have about the same flexibility.

All-in-all, I think I could possibly use the FTP server, for backing up files and accessing them remotely.  But that is about it.

I also thought about setting up an email server, but while possible, I don’t think I would get much benefit out of it.  gmail does a pretty good job, with no maintenance from me (as much as I hate to admit, since google is taking over the world).

It was a good experience, and I am glad that I did it–I may set up something similar (but dedicated) at work sometime in the future.  It’s good knowing how to do something like that, whether or not there is a feasible application for it.

Posted in linux | Tagged: , , , , , , , | 1 Comment »

Some web browser wars, and the US reneges on ‘leave Internet alone’ policy

Posted by jamba on February 27, 2010

I wrote a little something about browsers not too long ago, but this is in quite a bit more details and compares several different browsers:

Review: Linux browsers, Part 1 – Arora, Chromium, Dillo, Epiphany, Firefox and Galeon. In part 2, we’ll look at HV3, Kazehakaze, Midori, and Opera

Review: Linux browsers, Part 2 – HV3, Kazehakaze, Midori, Opera and compare test results.

I think he has inspired me to try out some of these other browsers(on my laptop, Firefox actually runs fine on my desktop, and I do prefer it…for now)–I am especially interested in Epiphany, Midori and Opera.  Firefox just seems like it is running slower and slower, and Chromium (although awesome) just really doesn’t get the whole privacy thing.

Another browser project that is interesting is Iron –it is essentially Google Chromium with all of the privacy tracking features stripped away.

And in ‘other news’, the US government reneges on ‘leave Internet alone’ policy.

Posted in linux, news | Tagged: , , , , | Leave a Comment »

Just a few interesting points

Posted by jamba on February 25, 2010

I’m glad I am not the only one that feels this way about Google:
Anti-Google Sentiment Reaches a Tipping Point

Since my last topic was backups, and today is Backup Awareness day, here is another post about: http://blog.i-no.de//archives/2010/02/24/index.html#e2010-02-24T20_31_15.txt

This would be interesting to read from the beginning: “Building an all-text Linux workstation”, current part is part 11.  I went back to find part 8 and then gave up, part 1 is back in time somewhere!

How to: add/remove user accounts in Linux

Posted in linux | Tagged: , , | 1 Comment »

Making Backups

Posted by jamba on February 22, 2010

Backups can be very important, no one wants to lose any of their data–especially if it has happened to you before.

I have previously setup my x64 desktop PC with softRAID, so everything I have in my /home folder is mirrored across 2 drives.  However, I am not sure if I am overly paranoid, or maybe I just like to be extra secure because now I have implemented an additional backup measure.

It started when I read some of this stuff about backups and solutions, so I decided I should probably do something similar.  The one from distrowatch really pushed me a long though, as the Q&A thing really made sense.

To start off, I began by reading the ArchWiki backup tools page: wiki.archlinux.org/index.php/Backup_Programs.  I chose to try a few of them, I didn’t like arch-backup, backerupper didn’t really work the way I liked.  A few more just didn’t work for me. Read the rest of this entry »

Posted in linux | Tagged: , , , , , , | 2 Comments »