Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Write an article for LinuxForums Today! Win Great Prizes!
Wifi card always set dhcp ip instead of static ip after reboot
Hi ;
I have a netgear WA311T wlan card installed on my FC5 pc with Madwifi 0.9.2.1 driver. I also have a linksys W54GT broadband router with dhcp server enabled. Now the problem is when I try to set a static ip (192.168.7.10) on the wlan card with the command "netconfig -d ath0" followed by "service network restart" it sets the static ip which is shown by the ifconfig output. But as I reboot my pc what I find that wlan card always sets the dhcp ip (192.168.7.102) [dhcp range is 192.168.7.100 -150]. The strange thing that the ifconfig output shows the ip 192.168.7.102, but when I see the file etc/sysconfig/network-scripts/ifcfg-ath0 , the IPADDR written as 192.168.7.10. I just do service network restart and now the ip set as 192.168.7.10 also showing by ifconfig output. When I reboot my pc
again the ifconfig output sets the dhcp ip as 192.168.7.102. I make the dhcp server down, I see that during reboot the wlan card never set any ip for dhcp failure though it has static ip set and the ifconfig output says that no ip is assigned with wlan card. Why the wlan card always looks for dhcp address? Is it default behavior ? But works for Dlink wifi card.
Open Source Security Myths Dispelled Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization subscribe
InformationWeek InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology. subscribe