Wireless Lost
I received email from David, for his trouble in wireless connection using Mandriva.
I am having problem with my wireless connection using Mandriva Linux 2006. I’m using a D-Link Airplus G+ laptop card with NdisWrapper to connect to my D-Link G604T wireless router on bootup. Everything starts OK and if I check /etc/resolv.conf the name server is set to 212.30.8.151. All is well for about 20 to 30 minutes and then I find I am unable to connect to any webpages. The network is still showing as up but when I check /etc/resolv.conf again, it now reads ‘nameserver 192.168.1.1′ and I have to set up my wireless connection using Mandriva Control Center all over again.
This happens regardless of whether I have WEP encryption set. I had a similiar problem using Mandriva Linux 2005 and overcome this by setting the permission to resolv.conf as read only, but this doesn’t seem to work with 2006.
Mandriva is using DHCP to get web address and routing information from the router. It would appear that your router is running as DHCP server but not a DNS server / cache. This router provide both services, so it is likely that DNS is either disabled or misconfigured. In fact, the router is telling your computer to use it as DNS server, which should work. The solution is to go into the DNS’s section of router’s web configuration and set it to Auto Discovery. If this fails, you can set the servers manually on the same page.
Alternatively, you can prevent Mandriva from upgrade the DNS server via DHCP. Go into Mandriva Control Center > Network & Internet > Reconfiguration A Network Interface, select your interface, go to the DHCP tab and turn off the option to Get DNS Servers From DHCP. Setting /etc/resolv.conf to read-only will not help if DHCP client is running as root, since root is still able to modify write-protected files.






