dhclient not working
Hi all, I have a installed the madwifi-ng drivers for my netgear wg511t card. I've set it up in ad-hoc mode and I connects to another windows pc (which has ICS enabled). The windows icons says I have connected; signal strength excellent...
The problem is that the command "dhclient ath0" returns the following: Code:
Internet Systems Consortium DHCP Client V3.0.1 |
Two things...First, have a look at the output of iwconfig to make sure that the card is ther. Second, if this is a stock Slackware box, usd dhcpcd instead of dhclient.
|
Ok I did use dhcpcd as well and was in fact issued an ip address. I thought it was dhclient not working. But thats not the problem. I could not ping the other pc. So I reverted to static ips
PC(ICS)1.1.1.1-->slackbox1.1.1.117 Like I said the icons indicate excellenct connectivity but I can't ping whatsoever. Don't understand why. Code:
root@SOL:~# iwconfig |
you need to set the default gw. (if the windows box is going to share the connection, then it will be the default gw) man route. (i am a bit confused as to why you try to use dhclient for an ad-hoc connection..)
|
You need dhcp for ICS
Actually the problem was two fold: 1-Windows was messed up: I had to download this winsockfix app to reset all winxp network settings 2-The madwifi driver as of 22/12/2005 is broken for ad-hoc. Have to wait till that gets resolved. |
hrm, i seem to remember running nat on my box without dhcp..
|
All times are GMT -5. The time now is 10:11 PM. |