using an eeepc 701 running Debian/Lenny with its atheros wifi interface
and madwifi drivers on a 2.6.26 kernel (output of dpkg -l:)
ii madwifi-modules-2.6.26-2-686 2.6.26+0.9.4+r3772.20080716-4 Multiband Atheros Driver modules for Linux 2
ii madwifi-tools 1:0.9.4~rc2+dfsg-1 tools for the Multiband Atheros Driver for W
set the eeepc as an access point
# reset wifi interface
wlanconfig ath0 destroy
# define wifi interface as accesspoint
wlanconfig ath0 create wlandev wifi0 wlanmode ap
# define wifi parameters
iwconfig ath0 essid jmf chan 3
# set ip address (NDS = 10.0.1.20)
ifconfig ath0 10.0.1.1 up