jonam
Group: Members
Posts: 37
Joined: May 2006 |
|
Posted: June 19 2006,12:33 |
|
I am running DSL 2.1b on an HP5700CT laptop with a DWL-G650 Wifi card (madwifi driver). After configuring ath0 using:
wlanconfig ath0 create wlandev wifi0 wlanmode sta, and wpa_supplicant -B -c/etc/wpa_supplicant.conf -iath0 -Dmadwifi
the card successfully connects to my Access point/ router. I then try to get an address allocated by typing:
pump -i ath0
which returns, after a wait of at least 30 seconds with:
Operation failed
I have checked the /etc/dhcpc/resolv.conf file and it contains:
search (my ISP name) nameserver 192.168.0.1
which I believe is correct after checking the pump man pages on the web.
If instead of using pump, I manually configure the connection by:
ifconfig ath0 192.168.0.100 netmask 255.255.255.0 up route add -net 192.168.0.0 netmask 255.255.255.0 ath0 route add default gw 192.168.0.1 ath0
I am briefly able to connect to the internet (from 10 mins to an hour) before the connection fails. I then have to issue a:
ifconfig ath0 down
before repeating the manual configuration above to get access back.
I have tried using pump with many command line options including the suggestion in the DHCP Howto of adding a dummy hostname, ie pump -i ath0 -h box, but this doesn't work either. I have clicked on DHCP client in the DSL Control Panel, again to no effect.
I have a Windows PC connected with a wired connection to the same router and it works fine with DHCP address allocation renewed every hour.
Has anyone experienced a similar problem and know the answer? I have searched this forum and the web with no luck so far.
Regards,
Jonam
|