Try just running dhcpcd ath0 This will tell ath0 to get an IP and all needed network information from your dhcp server. Is your access point connected to your router/internet provider? If not the wifi card could be asking for an address from your access point but never getting an address since your access point is not talking to a router/dhcp server. What is your network setup like? Do you have any other wifi cards that work on your wlan?
Unless I'm badly mistaken "ifconfig ath0 up" will not work since it is setup through dhcp. One thing I would try is setting the wifi card to static instead of dhcp, this will force the wifi card to talk to the network even if it doesn't see it, lol.
You will need to edit your /etc/rc.d/rc.inet1.conf and change your ipaddress to something like 192.168.0.15 (look at other computers on your lan to see the subnet and config accordingly), your netmask to whatever the other computers are set to on your lan, and type "route add default gw (your default gateway on your lan computers) ath0". And finally for dns find your dns servers in your lan pc's and type: echo "nameserver (lan dns server)" >> /etc/resolv.conf
|