Solarum – Information For Everyone

Archive for the ‘Linux’ Category

May
11

Linux, your iPhone and your pictures

I suppose this might work for an iPod touch as well, but the ones I have and have seen don’t have cameras.  OK, on to the tip!  Recently I wanted to get all of my pictures copied off of my iPhone and onto my computer running Linux, specifically Debian 5.0.  Normally with something like a USB thumb drive this is easy, once you plug it in, even if it doesn’t auto mount itself you can at least look in your messages file to see the actual device path in order to mount it manually.  However, what I noticed with my iPhone (3GS version 3.1.2) is that not only did it not auto mount, my messages file didn’t list any information about a device path for me to mount it manually.

From here naturally I turned to Google, but everything I came across talked about installing iFuse and some kind of ipod-convenience package or said it couldn’t be done, or my favorite that you had to have a jail-broken phone in order to do it.  Now, I didn’t want to install a bunch of packages I wasn’t familiar with just for this, and I darn sure didn’t want to jail-break my phone either.  If for no other reason than because I was convinced that if I could do it in Windows (connect to my iPhone and copy my pics off), there had to be a way to do it in Linux too, without having to alter the device.  I am hard headed that way, but in this case it worked.

Now this might be obvious and simple to everyone else, and if so I am sorry to bore you, but it wasn’t something I was familiar with.  I did have an inspiration though, something so simple I just knew it wouldn’t work but I decided to try it out anyway.  I fired up gthumb which was conveniently installed already, and is a tool for doing just what I wanted to do, importing pictures from a digital camera among other things.  I then plugged in my iPhone and gthumb picked it up immediately and started pulling up a list of all my pics on the phone.  From there I could import, rotate, delete originals and more, easy as pie.  It worked perfect, and was very simple, just like it should be.

In the end, I found that I didn’t have to install any software hacks or jail-break my phone, just use the right tool for the job.  Ain’t Linux grand?

Oct
4

Verizon Email Update and Solution

You have heard me share information about the fiasco that Verizon created.  In case you haven’t heard, I’ll recap quickly.  In the name of fighting SPAM, Verizon decided that they would block ALL port 25 SMTP traffic on their network for all of their ISP customers.  That means that anyone and everyone that uses Verizon as their ISP (DSL, FIOS, Dial-up, etc) cannot use any third party mail server or service that is configured to use the industry standard port 25.  That’s just plain stupid, but I have complained about that already.

I was in a quandary with this one, or maybe a catch-22 is a better term.  If I didn’t do anything about this “problem” that Verizon created, then all the people that I host email services for that use Verizon as their ISP are now out of luck.  They can’t send mail through their (read: my) mail servers.  So, I can just change the port that sendmail listens on, right?  Yeah, I could, and then my Verizon tethered customers can send mail again … but, all my other customers that don’t use Verizon have to change their email client settings too, since they would still be sending through port 25.  OK, I didn’t want to go down that road.  I wanted to fix the problem with the least impact on everyone. Read the rest of this entry »

Feb
22

MySQL Database Backup Script

Here we go folks, I thought I would share a handy little script with you that I use to backup all of the databases on a particular Linux/UNIX server.  I do this by getting a list of the databases, and then using mysqldump to dump them all to a text file.  This seems to be the best way (short of replication) to get good clean backups of the data.  Toss it into a cron job and you can have it done automagically.  There isn’t anything yet to rotate files, but I might add that later.  Also, I am going to try and rewrite this in PERL so our Windows (and other OS’s that don’t have a shell like Bash) brethren can run this script as well.  For now though, it’s written for Bash but almost any shell would work I think.

OK, onto the script.  Read the rest of this entry »

Feb
3

Hard Drive Labeling Update

I have updated the article about labeling in Linux to include some special stuff for Ubuntu and Debian since they use UUIDs instead of LABELs.  Check it out and get to adding and mounting those drives!

Feb
2

Solarum’s MySQL Reference

Heads up, I have added something that I think you will find useful.  I have added a MySQL reference to the Library!  This is more than a cheat sheet, I try to explain the things that are going on in there as we do it, so it should be a good way to not only see how to do specific things, but also understand them as well.  Check it out here and see what you think, if you see anything wrong with it or you have some tip of you own you’d like me to add, drop a line and let me know.  Enjoy!

Jan
31

Nice Usenet News Reader For Free

XanaNews Screenshot

XanaNews Screenshot

I was looking for a good, solid and preferably open source news reader (usenet client) whilst booted into Windows XP on my laptop earlier, and I found a dandy. I found a lightweight client called XanaNews, which although lightweight, not over burdened or bulky, it is also solid and easy to use. Throw in that it is open source and free, and it’s a nice application.

I looked at the screen shots and it looked like it was along the lines of what I wanted, so I decided to download it and give it a try.  After running the installer I easilly configured my news server (Giganews, if you aren’t using them and you want AWESOME usenet access, check these guys out! Like NOW!) and off I went, effortlessly subscribing to groups and reading posts on procmail.  That’s what I was working on at the time.

Well, I liked XanaNews so much, that I decided to install it on my main machine running Ubuntu.  I fired up Wine and ran through the same install steps and it again worked like a charm.  So now I can use this dandy little news reader on Windows and Linux.  I felt like I just had to share with everyone, because it seems like good usenet clients are hard to find unless you want to try and use something bundled into a web browser or email client which I usually don’t.  Give me an app made especially for what I want to use it for, and it’s probably going to do a better job of it every time.  Not always, but most of the time I would say.  Hope you enjoy it!

Pages

Articles