How I got Debian Lenny working on my Eee.

Updated March 16 2009

Well, I thought I would post a tutorial on how I got Lenny working on my Eee, incase people are having problems. This will loosely be based on the Debian EeePC wiki and also this blog post, so this content is not 100% from me, only what worked. Just for a note, my EeePC is a 701 4GB (with camera)


Firstly, download the EeePC installer image here: You will need a USB flash drive, but I'm sure a SD card will work.

Now to copy the image onto your media choice: dd if=debian-eeepc.img of=/dev/#YOUR DEVICE# sync Now that that's done, plug your flash drive into your Eee, turn it on and hold the Escape key on bootup. Choose your flash drive and it will continue to boot. (Prior to this, I pluged in an ethernet cable; wireless is a choice but was unreliable for me).
The next few steps are self explanitory, such as filling in your country, username, password, etc. When it came to partitioning, I took out the swap parition and will add a swap file instead (read below). (Also, where it gets to the point where it asks you what packages to install, choose Standard system and Laptop then continue) After it has finished installing, remove your flash drive and boot into Lenny. Login with your username and pass.


Now, when I first booted Lenny, wireless was not working for me. Things that I did: Turned on wireless, Function + F2 Run lsmod and saw if ath_pci was there If not, I ran modprobe ath_pci Still didn't work for me so I tried: rmmod ath_pci then modprobe ath_pci. You should now have wireless working and be able to connect to other networks.

What else? How to get the webcam working: modprobe uvcvideo Then install: apt-get install luvcview Make a launcher/link to point to this command: luvcview -f yuv. For this to work, make sure 'camera' was enabled in your BIOS.


Tired of how ugly the bootscreen is? Install Splashy! apt-get install splashy Now to configure GRUB. Edit /boot/grub/menu.lst file and add hiddenmenu

In the file, you can also change the timeout. You will then come across a commented line: # defoptions=quiet Add this line: # defoptions=quiet splash vga=785 (788 for 800x600, 785 for 640x480) Update GRUB: update-grub and thats it, you now have a graphical loader.


So, lets make the swap file: dd if=/dev/zero of=/swap bs=1024k count=256

That will make a 256MB swap file, fine if you have 512MB RAM. Then: mkswap /swap Now add this to your /etc/fstab:

/swap swap swap defaults 0 0

Then sysctl -w vm.swappiness=1 Alter the last line of /etc/sysctl.conf: vm.swappiness=1

Activate it: swapon /swap


Install µswsusp aptitude install uswsusp To put your Eee in suspend or test it, run: s2disk. I haven't got it to suspend when I close the lid (yet), so you can make a launcher/link for now.

Desktop Enviroment

Since I love Xfce, I chose to install it: apt-get install xfce4.

Update: I tried LXDE and in my opinion it's faster than XFCE.

To install LXDE, use this: aptitude update aptitude install lxde Log out and change your session to log in to Xfce or whatever your desktop preference is. Since I was running low on space, I uninstalled, Evolution, and a number of other programs using Synaptic package manager. And thats it I hope that works for anyone out there, I would of loved this tutorial before I installed Debian. Any comments or ideas are appreciated :)

Free Eee size wallpapers too:

Bookmark and Share

URL to this post:

Thanks to:

Debian on my Eee

I installed Debian on my 701 4GB Eee the other day. Runs perfectly, I couldn't ask for more. The only thing I need to fix is wifi. I either use the MadWifi or the Atheros drivers. Doesn't sounds too hard, I had it working before...apparently. Not sure if sound works or not, I don't use it that much so I disabled it in the BIOS to save power. Something is wrong with my server.... I tried to access it via SSH & HTTP and nothing. Turn on the monitor; kernel panic. Whatever, I rebooted. CRC error. Rebooted; works fine but Apache doesn't start. Anyways, its Sunday time to relax and download some distros I'll post back later...


Whoa. I haven't posted here in a wee bit. And, its almost Friday! Nothing really new has been happening. Eat, sleep, go to school, repeat. I took apart my [701] Eee the other day and actually put it back together correctly works! So, I figured out I need to find/buy a U.FL to RP-SMA connector as I plan to put an external on it somewhere, preferably the shiny metal looking thinks on the left/right side. I currently have the stock antennas unhooked from the WiFi card, which sucks since I don't get as good as signal (duh!) but I use my other USB WiFi connector. Anywho, I'll go shopping one of these days and find that connector. Hopefully all goes well..... Till then -

Life with eeeXubuntu.

Well, I finally chose eeeXubuntu. Install was quick and configuring was even easier. After some kernel updates, I did have to recompile the madwifi drivers. I also have to find and compile Ralink drivers, since without them, the other dongle that I use doesn't have monitor mode enabled. Its pretty minimal right now, I just updated and installed some security/penetration programs. Anywho, I shall be off (I'm quite tired too)....

New OS?

Well, I've been debating over if I should install a different OS on my Asus EEE. I've tried Ubuntu Eee, Xandros and now Backtrack. I love Ubuntu, so I might try eeeXubuntu, the Xubuntu customized Eee version. The default Xandros is decent, Backtrack is really cool, but its based on Slackware, so its not exactly user friendly. So I think in the end, I might install Xubuntu, and have Backtrack on a USB jump drive or SD card. Results to come.

DIY WiFi pop can dish

Anyone use their Nintendo WiFi [USB] connector? Neither did I, until I found out that I can use it on my Windows machine. Never the less, I inserted it into my Eee (running Backtrack 3) and it worked, instantly. Now, I made my own Pepsi can dish and a LEGO tower. EDIT: I finally booted into Fluxbox :D I do, however, somehow get better reception from my router(s). An average of 10% better signal as compared to the internal Atheros card. Put this has puzzled me: The Nintendo connector only uses WEP (to my knowledge) and doesn't pick up all the networks in the area, making it seem like a short distance key. The Atheros card picks up two additional networks in my area as the connector doesn't. (I'm not too good with guides and instructions, so here it goes:) In short, I took two soda cans, cut off the top and bottom and was left with the outside 'shell'. Cut it down the side and make it about 7.5 cm long, and bending it into a C shape. Get the other pop can and do the same, but around 6 cm long. Shape it to this: . = white space Second Piece |---------| =............= |---------| - aprox. 6 cm -> First Piece (without slots) |------------------| |.......................| |......................| |------------------| - aprox. 7.5 cm -> First Piece (with slots) |------------------| |........-.............| |........_............| |------------------| - aprox. 7.5 cm -> With the first C shape in hand, cut two slots, 1-1.7 cm from the bottom and top. Insert the second piece into the first. With the two pieces inserted, cut two more slots (confuzing? I know) into the second piece, allowing the USB key to slip in. I also made a LEGO tower (as I said above), and mounted the USB key in the dish, atop the tower [using a USB extension cable to work]. More info & pictures to come....

Cracking WPA...well sorta.

I've managed to crack WPA, sorta. Problem is, the passkey must be in the dictionary, which might be a problem. Since some people could use made up words or names. Nevertheless, I'm still able to crack WEP and WPA [on my eee]. I even get a strong signal from AP's, like yesterday when a AP was a minimum of 300m away! I'm just blown away from what my Eee can do. I had Xandros in it for a while, then Ubuntu Eee and now Backtrack. It's like my own "offensive security" station, on the go. The only thing I am disappointed in is the battery. Mine, has a 4400mAH battery, but at the time when I got it, I thought it had a 5200mAH battery; The difference is about 30 minutes. If I turn down the brightness, turn off the volume, It lasts for about 2 and a half hours, or so. Anywho, I'm probably going to work on WorkSimple a little more tonight and at least release 1.10 beta 2. I also set up Streber here: I absolutely love it! If you would like to become a developer, tester, graphic artist, etc.. Use the contact page here:

Backtrack 3 on eeePC

I finally got Backtrack 3 working on my 4GB 701 ASUS Eee, following this tutorial. Worked perfectly, and I was able to crack 64 & 128 bit WEP at home under 5 minutes flawlessly. Although, Backtrack 3 beta has a installer, but Backtrack 3 final doesn't. So, I downloaded the installer from TPB and continued on (of course, I partitioned before). The installer took about 15~ minutes. I actually prefer this over Ubuntu Eee, which I had before. Everything worked on the LiveCD (I used a 4GB USB jump drive ), wireless, sound, video and so on. More results to come...