Results tagged “linux” from Just Another Hacker

Since my iphone is a company phone, jailbreak was never an option. I'm surprised to see the amount of terrible "tether your iphone by jailbreaking it" guides there is out there. I suppose at some stage there was no decent driver in sight. ANyway, this is how you tether the iphone by installing third party compiled binaries.

First we add the third party repository and update the apt cache (this has security implications, so don't cry if your wall paper suddenly changes to tubgirl):
    sudo add-apt-repository ppa:pmcenery/ppa
    sudo apt-get update
Then we install the required modules (accept the dependencies):
    sudo apt-get install gvfs ipheth-utils
This will install and insmod the ipheth driver. Make sure that internet sharing is enabled on your iphone and plug it in. It should show up as a wired connection. If something went wrong check your dmesg. I have experience timeouts on TX which caused it not to initialize. Replugging did the trick.
The changes to package kit which allows non privileged users to install fedora signed packages without escalation privileges makes me glad I'm not a fedora user. There is just a crapton of potential for breakage and security abuse bundled in here and since I'm a reasonable fellow I will even supply some examples

Apache::LogRegex deb package

I was doing some apache log processing from the command line and recalled using a simple perl module for processing in the past. A quick cpan search later and I had packaged it for debian.

If you don't feel like running dh-make-perl you can grab a copy here;

Karmic annoyance

One of my pet hates about dist upgrades is the unknown that sits on the other side of the upgrade, especially when using binary drivers. To be honest, dist-upgrade is very usable these days. I usually only have to reconfigure x to use binary drivers after a dist-upgrade these days, whereas it did render the system inoperable in the past.

With my latest upgrade from jaunty jackalope to karmic koala (Ubuntu release names) I only experienced one VERY annoying issue. My speakers were constantly crackling, it was as if they were repeatedly initializing. Even when I plugged in headphones, both the speakers and the headphones were crackling. Adjusting the volume helped some as the crackling got muted, but did not stop the issue.

The solution as it turned out was to disable the power saver option for my sound card. I simply commented out the last line of /etc/modprobe.d/alsa-base.conf so it became;

# Power down HDA controllers after 10 idle seconds
#options snd-hda-intel power_save=8 power_save_controller=N
I have started work on a new module, since it is a pure perl module I wanted to try out Module::Starter for setting up the module instead of h2xs. Unfurtunately libmodule-starter-perl is not available for Etch. I backported it from Lenny, and figured I would make it available here;

No Clean Feed - Stop Internet Censorship in Australia
Creative Commons License
This weblog is licensed under a Creative Commons License.