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.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > GNU Linux Zone > Wireless Internet > Wifi card always set dhcp ip instead of static ip after reboot

Forgot Password?
 Wireless Internet   Anything related to getting wireless set up in Linux. WLAN, WiFi, etc.

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 07-27-2007   #1 (permalink)
Just Joined!
 
Join Date: Jul 2007
Posts: 1
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.

Pls help me.
dipu183 is offline  


Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
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



All times are GMT. The time now is 03:54 PM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2