Showing posts from August, 2008

Asus Eee PC 901

I've been waiting for this little one for weeks now. Ebuyer got it in stock on Thursday and I was quick to order one and pay an extra £10 for a Saturday delivery :-)

It arrived this morning and it's happily sitting on my desk at the moment. I've got the Xandros (Debian based) Linux edition that comes with 20GB of SSD and a gig of RAM.

First impressions are OUTSTANDING! This is the Eee PC as it was supposed to be. A couple of words on its features:
Screen: fantastic, 1024x600 is all you need for a little web browser.Keyboard: awkward, I managed to type 2s instead of 1s all the time. I'll get used to it. In any case this is not a machine to write your thesis on...USB: plugged in my Logitech mouse, Western Digital 320Gb passport, Lexar USB stick no problem. 3 ports in total should are enough for most of us.
MMC/SD: inserted my 4Gb Sandisk Extreme III card, no problem.
WiFi: connected nicely to my Netgear router. After restarting though I had to re-enable the WiFi connection, I…

Installing Samba on Debian

Install Samba:
apt-get install samba

Edit /etc/samba/smb.conf and change:
workgroup = your windows workgroup name
netbios name = xxx

Add shares:
valid users = user
admin users = user

Restart Samba:
/etc/init.d/samba restart

Linux Prompts and Aliases

I'm getting tired setting up my linux prompts every time I need to setup a new Linux machine (more on this later), so here's my cheat-sheet of linux settings for your .bashrc or .profile:

Production machine (red theme):
export PS1="\n\[\033[1;31m\]\u\[\033[1;37m\]@\[\033[0;31m\]\h\n\[\033[0m\][\[\033[1;33m\]\w\[\033[0m\]] "

QA machine (purple theme):
export PS1="\n\[\033[1;35m\]\u\[\033[1;37m\]@\[\033[0;35m\]\h\n\[\033[0m\][\[\033[1;33m\]\w\[\033[0m\]] "
Test machine (yellow theme):
export PS1="\n\[\033[1;33m\]\u\[\033[1;37m\]@\[\033[0;33m\]\h\n\[\033[0m\][\[\033[1;33m\]\w\[\033[0m\]] "

Test machine (cyan theme):
export PS1="\n\[\033[1;36m\]\u\[\033[1;37m\]@\[\033[0;36m\]\h\n\[\033[0m\][\[\033[1;33m\]\w\[\033[0m\]] "

Integration machine (blue theme):
export PS1="\n\[\033[1;34m\]\u\[\033[1;37m\]@\[\033[0;34m\]\h\n\[\033[0m\][\[\033[1;33m\]\w\[\033[0m\]] "

Personal/Local Account (green theme):
export PS1="\n\[\033[1;32m\]\u\[\033[1;37m…