source

AMD k10 Modules – Temp Sensor

They say the AMD k10 support will be rolled into the k8 modules. Whatever they do in new, upcoming package is independent of chipset support now. After some painful seaching to get the source code for the k10 chipset I found this blog post http://blog.morrigan.ch/?p=9. It is not an easy to find post but it does walk you through the compilation and installation of the modules. I will repost it here because my blog is very easy to find on the internet due to great Google indexing. First download the make file: Makefile Download the source: k10temp Make sure you have build-essential installed:

sudo apt-get install build-essential

Run:

make -C /lib/modules/$(uname -r)/build M=$(pwd)

Copy to the appropriate system folder;

cp k10temp.ko /lib/modules/$(uname -r)/kernel/drivers/hwmon

Load the module:

sudo depmod && sudo modprobe k10temp

Reboot. Install gnome-sensors and you can view the temperature of your system as a convenient applet in your top panel!

Attansic atl1e eeePC 1000 LAN Driver Compile Install

To install the the lan driver for the eeePC 1000 you need build dependencies. If you are using a usb cd then after installation just use: sudo apt-get install build-essential linux-headers-$(uname -r) unrar If you don’t have anything you need to get the build dependencies onto your system the hard way. Luckily I spent 2 hours downloading every single package and associated dependencies from the Hardy repositories. The packages are for a default Hardy kernel 2.6.24 series straight off the CD. I also included the packages rerquired to build a kernel if you want to build the eeePC kernel provided at eeepc.asus.com. hardy_i386_build_dep_with_Kernel_build_support.tar.bz2 Unzip theƂ  package and use dpkg to take care of everything. Change to the directory: cd Desktop/hardy_i386_build_dep_with_kernel_build_support sudo dpkg -i * You will have to flip back and forth with the following command: sudo dpkg –configure -a Lots of files require configuration prior to installation of subsequent files. This took some time, but most of the time was because the packages were bad downloads and I had to keep downloading them form different sources till they all worked. The folder contains the default kernel headers requires, and basically its an all in 1 package with everything you’ll need. Now download the driver source direct from ASUS: http://dlsvr04.asus.com/pub/ASUS/mb/socket775/P5KPL-CM/LinuxDrivers.zip Unzip, and cd to the directory. Then cd to the src directory. Compile:

sudo KBUILD_NOPEDANTIC=1 make
sudo KBUILD_NOPEDANTIC=1 make install

After compilation and installation:

cd /lib/modules/2.6.24-19-generic/kernel/drivers/net/atl1e/atl1e.ko
sudo insmod ./atl1e.ko

Then run:

sudo depmod so modprobe knows the driver exists. If for some reason the driver
dousn't load automatically you can manually add it to /etc/modules.

Instant iPhone VPN

I highly recommend JanusVM for your iPhone VPN solution. Janus incorporates squid, tor, and privoxy providing much more than just a VPN. Squid is a proxy server, which will speed up your connection slightly. Tor is a network of servers around the world that will scramble your network traffic so its practically impossible to track who or where you are. And privoxy will strip all sensitive data from your website browsing to further improve your wireless security. Obviously the VPN part of Janus will allow your iPhone to have a secure connection to the internet, so you can access wifi anywhere without fear of anything!!! The best part is JanusVM is that it’s completely free. I highly recommend donating a little money if you have it. The author of the software is providing a great service to the open source community, and now allows iPhone users to have a secure, reliable, and instant VPN solution! http://janusvm.peertech.org/ Just pop JanusVM into a VirtualBox machine, and setup host networking to grab an external ip address. Configure your iphone to access your external ip address, the associated pptp port (port 1723), and viola your VPN should be up and running in about 15 minutes worth of configuration :) In the future I will post a graphical tutorial on this, but for now try searching this blog, in the upper right hand corner, for more information about setting up virtual machines and configuring host networking.

Source Compile Dependencies Debian and Red Hat

To compile source on Debian systems the following packages are required: sudo apt-get install linux-headers-$(uname -r) build-essential In Red Hat Nash based distributions the following packages are required: yum install gcc kernel-devel-$(uname -r) I have a couple of previous posts that deal with this topic. This post clarifies things specifically.

Compiling Source on Debian Etch

On all Linux systems the header files, and possibly the kernel source, is required to compile a program. To install the kernel headers, and kernel source, on Debian Etch, type the following: uname -r See what your kernel version is. Everything after the “-” is not required in the following line. For instance my “uname -r” results in: 2.6.18-5-486 And to install the appropriate kernel headers I used the following: sudo apt-get install linux-headers-$(uname -r) Or you can just type it manually: sudo apt-get install linux-headers-2.6.18-5-486 As described above, do not write what is striked. Then, for shits and giggles, as it most likely will never be required, you can install your kernel source code with: sudo apt-get install linux-source-2.6.18:)