Caleb Cushing's Blog

Override DNS on a Linux system without root

I had this problem for a long time, and no one ever proposed a good solution. Recently I got a new answer on my, almost 2 year old, Unix and Linux StackExchange question. This information seems very obscure and so I thought I’d share it, if you too have had this problem and were unable to find this, or at least found finding it hard, consider upvoting the answer. Read more →

Ubuntu isn’t Linux, What’s a Beginner anyways?

Today Joel Spolsky announced The results of the poll of whether ubuntu SE and unix SE would be merged, they won’t. In short the Unix community was in favor of it but the Ubuntu community was not. Joel had this to say: So, Ubuntu, Linux, I get it, it’s clearly not the same thing. If you love Ubuntu, we have a site for you. If you love Linux and Unix, we have a site for you. Read more →

Some Stack Exchange site’s I’d like to see come to fruition

Unix & Linux: I think it’d be more used than Super User and ServerFault for some questions.Outer Join: A place to ask questions about databases and queriesUser Interface: because this is something we could all do better with. Please consider following/committing. esp the unix/linux one (since I don’t think Ubuntu should get to have its own, while leaving the rest of us in the cold.)– This work by Caleb Cushing is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3. Read more →

Managing CPAN on Arch Linux

So if you’re running Arch Linux and want to install a bunch of packages from CPAN the best way is NOT to use the official cpan client, or even the new cpanminus. No your best bet is to use AUR or lacking AUR packages, create your own, and I’m gonna walk you through how I do it. The really nice thing about installing packages with Pacman is that unlike cpan there is a utility to uninstall them. Read more →

Port forwarding in OpenWRT

So you need the outside world to have access to some box’s on your internal network. first you should use Static DHCP to tell static the IP’s of the computer you’re routing to. Then you of course need to know the inbound from the outside world and the port on the computer you are forwarding too. For this example we’ll forward WAN (Wide Area Network (or (probably) the Internet)) port 8080 to a local dev box running Apache on httpd (we assume you know how to set apache up and make sure it’s working on the LAN(Local Area Network)). Read more →

Adding a new group to an open shell without logging in and out

Most Unix users believe it’s impossible to add a group that was recently added to your user account without logging in and logging out. If you’re running X and need to give your gui new permissions (like dolphin/konqueoror) this may be true, for the most part. I don’t know how to change it for those processes. However, if you need to change it for a shell prompt it’s easy. You merely execute the command newgrp in an open shell prompt and that prompt will now be loaded with the new group. Read more →

iptables browsing samba shares

NOTE: this assumes that you’ve read my previous post on basic iptables setup on the desktop So I just spent the longest time trying to determine what ports I needed to browse and use samba shares. The sad answer is it’s just one. iptables -A INPUT -p udp –sport 137 -j ACCEPT the catch with all the information I found with google was that most of it was for samba servers. Read more →

Regen2 0.9.1.0 Released

Release Highlights * vanilla-sources-2.6.28.9 * gcc-4.3.3 * glibc-2.9_20081201-r2 * openrc-0.4.3-r1 * baselayout-2.0.0-r2 * git-1.6.2.3 * perl-5.10.0 * bash-4.0_p17 app-sh/dash is now included in the tarball, in the next major release I hope to make it /bin/sh please test and report any bugs with doing this. apache2 and mysql are known to have issues. openrc works fine, the average desktop system should work. Known Issues emerge --sync will not clone the tree if it does not exist in portage 2. Read more →

Regen2 development has officially begun

That’s right I’m putting my money where my mouth is. It’s small but the first 2 packages when into the regen2 tree this morning. They are MySQL 5.1.30 which was added because the gentoo maintainer refused to add it do to instability. I agree that it is unstable, but we have ~M Hard Masked packages for that reason. It has been added as ~M. The other app added is qsynergy, the ebuild was already on portage and I know it to be good so I added it to the tree, I’ll probably stabilize it in a few weeks. Read more →

Finally Linux gets something first

… and it’s something we didn’t build. We get lots of things first but we usually build them. We never get proprietary software first. At best we get proprietary software the same day. Generally we get it months later. However, today linux takes another giant step towards being the dominant next OS, we are the first to receive 64-bit flash from adobe. Windows isn’t getting it, Mac OS X isn’t getting it, we are. Read more →