 |
 |
 |
 |
| Servers & Networking Discuss any Fedora server problems and Networking issues such as dhcp, IP numbers, wlan, modems, etc. |

17th February 2008, 05:30 PM
|
|
Registered User
|
|
Join Date: Jan 2008
Posts: 56

|
|
|
how to disable dhclient?
I wanna disable dhclient that I can use static IP address.
I made a static IP address in 'ifcfg-wlan0' for wlan0,but it not works.I need to ifdown/ifup to make it works manually.unfortunately I have to do this everyboot that I can use my static IP address.need you help please.
|

17th February 2008, 05:51 PM
|
 |
Registered User
|
|
Join Date: Nov 2004
Location: Seymour, Indiana
Posts: 2,511

|
|
|
Post contents of current ifcfg-wlan0 and /etc/rc.local
Brian
__________________
Distribution: RHEL 5.1 with Pieces of this and that.
Kernel 2.6.23.9, KDE 3.5.8 and KDE 4.0 beta, Plus Development src.rpm, ATI fglrx64_7_1_0-8.433-1 rpm with 3D and DRI working.
Acer 5100-5840 with webcam, ati, sdcard reader, sound, atheros based wireless, all working. Only thing not working is the memory stick reader.
|

17th February 2008, 06:13 PM
|
 |
Registered User
|
|
Join Date: Apr 2006
Location: Ohio, USA
Posts: 8,298

|
|
|
Are you using "NetworkManager"(NM) by any chance ? NM automatically spawns dhcp - no alternatives, although static IPs will be supported in some future release.
|

17th February 2008, 06:33 PM
|
 |
Registered User
|
|
Join Date: Nov 2004
Location: Seymour, Indiana
Posts: 2,511

|
|
|
Ah the dreaded NetworkManager. I always forget that since I never liked it to begin with.
Brian
__________________
Distribution: RHEL 5.1 with Pieces of this and that.
Kernel 2.6.23.9, KDE 3.5.8 and KDE 4.0 beta, Plus Development src.rpm, ATI fglrx64_7_1_0-8.433-1 rpm with 3D and DRI working.
Acer 5100-5840 with webcam, ati, sdcard reader, sound, atheros based wireless, all working. Only thing not working is the memory stick reader.
|

17th February 2008, 06:36 PM
|
|
Registered User
|
|
Join Date: Jan 2008
Posts: 56

|
|
Quote:
|
Originally Posted by Brian1
Post contents of current ifcfg-wlan0 and /etc/rc.local
Brian
|
post here
Code:
[root@localhost ~]# cat /etc/sysconfig/network-scripts/ifcfg-wlan0
# Please read /usr/share/doc/initscripts-*/sysconfig.txt
# for the documentation of these parameters.
ONBOOT=no
USERCTL=no
PEERDNS=yes
IPV6INIT=no
MTU=1500
GATEWAY=192.168.1.1
TYPE=Wireless
DEVICE=wlan0
HWADDR=00:11:f5:**:**:76
BOOTPROTO=static
NETMASK=255.255.255.0
DHCP_HOSTNAME=
IPADDR=192.168.1.150
DOMAIN=
ESSID=Kamui
CHANNEL=6
MODE=
RATE=
Code:
[root@localhost ~]# cat /etc/rc.local
#!/bin/sh
#
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don't
# want to do the full Sys V style init stuff.
touch /var/lock/subsys/local
nohup /usr/bin/pipclient -w /usr/bin &
to stevea: yes I using "NetworkManager",but I dont how can I online without NetworkManager.
|

17th February 2008, 07:22 PM
|
 |
Registered User
|
|
Join Date: Nov 2004
Location: Seymour, Indiana
Posts: 2,511

|
|
|
You have ONBOOT set to no and needs to be yes.
Also set DHCPPROTO to none
ONBOOT=yes
DHCPPROTO=none
And if you have a wired nic that is say eth0 the edit ifcfg-eth0 to have ONBOOT=no. One can really only have a single interface up with a defined gateway unless routing commands are set.
Brian
__________________
Distribution: RHEL 5.1 with Pieces of this and that.
Kernel 2.6.23.9, KDE 3.5.8 and KDE 4.0 beta, Plus Development src.rpm, ATI fglrx64_7_1_0-8.433-1 rpm with 3D and DRI working.
Acer 5100-5840 with webcam, ati, sdcard reader, sound, atheros based wireless, all working. Only thing not working is the memory stick reader.
|

17th February 2008, 07:33 PM
|
|
Registered User
|
|
Join Date: Jan 2008
Posts: 56

|
|
|
wow!cool!I did it.Thanks a lot dear Brian1.You did me a huge favor.
|

17th February 2008, 07:52 PM
|
 |
Registered User
|
|
Join Date: Nov 2004
Location: Seymour, Indiana
Posts: 2,511

|
|
|
Glad to be of help.
Brian
__________________
Distribution: RHEL 5.1 with Pieces of this and that.
Kernel 2.6.23.9, KDE 3.5.8 and KDE 4.0 beta, Plus Development src.rpm, ATI fglrx64_7_1_0-8.433-1 rpm with 3D and DRI working.
Acer 5100-5840 with webcam, ati, sdcard reader, sound, atheros based wireless, all working. Only thing not working is the memory stick reader.
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Similar Threads
|
| Thread |
Thread Starter |
Forum |
Replies |
Last Post |
|
DHClient in FC8
|
lbana |
Servers & Networking |
0 |
25th December 2008 09:25 PM |
|
dhclient
|
tony2008 |
Servers & Networking |
2 |
30th May 2007 02:51 PM |
|
dhclient/DNS
|
timomai |
Servers & Networking |
2 |
2nd April 2007 03:35 PM |
|
About dhclient
|
satimis |
Using Fedora |
0 |
8th February 2006 02:54 PM |
|
log dhclient
|
Konstantin |
Servers & Networking |
0 |
12th June 2005 06:18 PM |
Current GMT-time: 03:35 (Sunday, 19-05-2013)
|
|
 |
 |
 |
 |
|
|