2009-07-26

WLAN configuration

There is lots of difference between distribution configurations. Today I finally fixed my sister's wlan configuration from pre-up-post-down-hax. I read about debian/ubuntu wpa_supplicant configuration, when one of my study pal was searching the correct way to do that. I found an article from Made of Bugs blog.

Debian way to do wpa_supplicant activation:
iface wlan0 inet dhcp
wpa-driver wext
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf


Gentoo way (baselayout1) to do same thing:
config_wlan0=( "dhcp" )
modules_wlan0=( "wpa_supplicant" )
wpa_supplicant_wlan0="-Dwext"

Personally I like the gentoo way more.

2009-07-22

Long time no blogging and some unix related stuff

I haven't blogged for a long time. Last time I tested new program, which improves blogging, but it was only one time.

In about a year I have changed my major linux distribution from ubuntu to gentoo. It is quite fast to compile with dual core, so I haven't regreted my choice ;) It isn't just the minor speed improve, which might come with self-compiled packages, but the configuration system. I like the gentoo way to do thing. And the default bash colors, I can only say aww <3

I saw an url today in IRC, which points in Kenneth Falck's blog post. It was about the $PATH variable. I got an inspiration from that and made my own variation much useable: [[ -d ${HOME}/bin ]] && ! [[ ${PATH} =~ "${HOME}/bin" ]] && export PATH="${PATH}:${HOME}/bin"

All comments are welcome :)