Archive for May, 2008

xubuntu on usb stick

May 30, 2008

Only a few steps are needed to install a complete *ubuntu on an usb stick. I have coosen Xubuntu because I have never tested Xfce before and more important I thought a lightwight distribution would be a good idea for an usb stick. A detailed description can be found here:

http://www.pendrivelinux.com/2008/05/21/usb-xubuntu-804-persistent-install-from-live-cd/

It’s pretty easy, no special linux skills are needed, just double check which device you are formatting 😉

If you plan to use some part of the stick for other stuff, both on linux and on windows, keep in mind that windows got problems with partitions on removable media. Therefor the partition for random stuff has to be the first. (and fat formated of course )

Advertisements

WRT54GL SD-Card Mod

May 17, 2008

Does your router lack some space, too? At least mine did, therefore I attached a SD-card, resulting in 1gig of new fancy space.  It’s a pretty easy mod if you have decent soldering skills. First what materials do you need?

  • up to 1 gig SD/MMC card
  • soldering rod, soldering tin, (soldering skills) and some isolated wire etc.
  • SD card socket
  • Router, for me it is a WRT54Gl v 1.1 from Linksys on which I run ddwrt.

The SD card socket is optional, the SD card can be soldered directly, but then it’s not that easy to exchange the card. My socket is from my old mp3 player, a other possibility is a SD card reader.

Opening the device is a hard task, all the advices on the internet didn’t work for me.

Push where you can see the red dots and then pull down the blue front cover. Maybe you need help from someone. For my the pushing method did not work, therefor I used a screwdriver to remove the front cover.

Now it comes to the soldering part. Where to solder which wires can be viewed on the next picture:

You will need the colors when soldering the socket, what is what you will be doing probably now:

Now solder the corresponding wires, the sixth and the third pin are both on ground and have to be connected. After that you might want to test if everything is working. I use ddwrt 2.4 where everything works just out of the box. First format the SD card, this can be done with the “mke2fs” command in Linux, you can do it with the router too, but thats way slower. The format will be ext2, don’t ask me how do achive this under Windows, you have to googlesearch that. Now just log into the Web GUI, click on “Administration”, and scroll down to “MMC/SD Card Support”.

The picture shows the correct settings. After a reboot go to the status tab. Your card should be listed under “Space Usage”, otherwise something didn’t work. The last step is making a slot in the casing. I made it with a drill. Here the final pictures:

Links:

http://www.hendlsofen.de/WRT54GL/deu/WRT54GL_SDMod.html (German)

http://duff.dk/sd/

http://wiki.openwrt.org/OpenWrtDocs/Customizing/Hardware/MMC

http://www.dd-wrt.com/wiki/index.php/SD/MMC_mod

setting up Wlan (Acer Aspire 5920g)

May 2, 2008

My laptop(acer aspire 5920g) has built in wifi(Intel Wireless WiFi Link 4965AGN). The OS is Debian GNU/Linux, though it should work with other distros, too.

The Kernel module was already installed out of the box, but this one didn’t work for me, at least ifconfig and iwconfig didn’t show a wlan device. Thus I decided to compile the newest version myself. The sourcecode can be downloaded under click. To compile properly the kernel source/headers have to be installed. The rest is just some make, make install, make load routine. Follow the url above for more information.

The next step was to set up the gnome network-manager. (packages: network-manager and network-manager-gnome)

now edit /etc/network/interfaces and comment out all interfaces beside the loopback interface, otherwise the gnome network-manager will not work correctly. Now there should be an icon beside you clock at the top panel. Click on it to see the networks that are accessible. Choice one to connect. more information can be found here.

The network keys will be stored in the gnome-keyring. Therefore you will be prompted on every bootup to type in the password for the keyring. This can be avoided with the following steps:

  • install the package libpam-keyring.
  • now edit /etc/pam.d/gdm by adding the following lines at the end of the corresponding blocks (‘auth’, ‘session’)
  • auth            optional        pam_gnome_keyring.so
  • session         optional        pam_gnome_keyring.so  auto_start
  • now edit /etc/pam.d/passwd by adding the following line at the end of the password block:
  • password    optional    pam_gnome_keyring.so

The next time you boot there will a checkbox. select it as the last step.