sorry ... continues ...
"cp /dev/null /etc/defaultrouter", since the DHCP client software will automatically put the needed entries on this file, we just need to make sure that it exists as an empty file, if it already exists, rename it and create the empty file in its place. "cp /dev/null /etc/resolv.conf", again, the necessary entries will be added by DHCP client, if you already have this file, rename it and create an empty file in its place, edit /etc/nsswitch.conf and look at hosts: line, by default it reads "files", change it to read "hosts: files dns", this will enable your machine to resolve addresses using DNS.
Hope this helps,
Carlos Almeida,