hello -- you are better off loading the drivers as a script...
take everything out of the GUI network manager in Gnome or KDE, and do it all by script.
your dns servers are set manually
you have to use static ips -- dhcp tends to be a real bastard
see below...
open up /etc/rc.d/rc.local with a text editor (vi / emacs / gedit / whatever).
add the following to rc.local
# --------------------------------------------------------
# START MADWIFI WIRELESS SETUP
#
http://madwifi.org/wiki/UserDocs/FirstTimeHowTo
# --------------------------------------------------------
# clearing out the old junk - making way for a fresh slate
ifconfig ath0 down
ifconfig wifi0 down
# creating our new wifi0 entry
wlanconfig ath0 create wlandev wifi0 wlanmode sta
# bring it up
ifconfig ath0 up
# specify your essid (the name of your network)
# what your router broadcasts as
iwconfig ath0 essid "myessid"
# specify the access point
# (the MAC address of YOUR router)
iwconfig ath0 ap 00:00:00:00:00:00
# WEP encryption...
# uncomment (remove the "#" in front of the following
# line ONLY if you are going to use WEP encryption.
# I have only had success with 64 bit wep which is
# a 10 digit key. It all depends on your card and
# situation.
# replace 0123456789 with a 10 digit key.
# iwconfig ath0 key 0123456789
# enter the IP address you want to statically set for
# the wireless card... change 192.168.0.100 to whatever
# you want (if your router is 192.168.1.X you have to use
# a 192.168.1.something number. if your router is
# 192.168.0.X, then you have to use a 192.168.0.something
# number
# netmask is usually 255.255.255.0 -- check with your router
ifconfig ath0 192.168.0.100 netmask 255.255.255.0
# adding a gateway
# replace 192.168.0.1 with the LAN ip address of your router
# routers have 2 ip addresses... one that they use to get
# the internet connection from your service provider which
# is called WLAN, and one that they broadcast to your home
# computers with. usually the default is 192.168.0.1 or
# 192.168.1.1 --- change to whatever yours is.
route add default gw 192.168.0.1
# --------------------------------------------------------
# END MADWIFI WIRELESS SETUP
#
http://madwifi.org/wiki/UserDocs/FirstTimeHowTo
# --------------------------------------------------------
I have always had success with this.