how to disable dhcp on a fedora client?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Bonjour,

I want to set a static IP adress for a laptop on my local network. So I
wrote a file

/etc/sysconfig/network-scripts/ifcfg-wlp3s0

like this:

DEVICE=wlp3s0
HWADDR=c4:d9:87:a6:67:33
TYPE=Wireless
BOOTPROTO=none
ONBOOT=yes
USERCTL=yes

IPADDR=192.168.1.29
GATEWAY=192.168.1.1
NETMASK=255.255.255.0

MODE=Managed
ESSID=Meenakshi

DNS1=192.168.1.1

But it seems that, in fact, dhcp protocole is still in use as I can read
in the boot log:

déc. 21 08:19:19 berrichon NetworkManager[1028]: <info>  (wlp3s0):
supplicant interface state: associating -> 4-wa
déc. 21 08:19:19 berrichon NetworkManager[1028]: <info>  (wlp3s0):
supplicant interface state: 4-way handshake ->
déc. 21 08:19:19 berrichon NetworkManager[1028]: <info>  (wlp3s0):
Activation: (wifi) Stage 2 of 5 (Device Configu
déc. 21 08:19:19 berrichon NetworkManager[1028]: <info>  (wlp3s0):
device state change: config -> ip-config (reaso
déc. 21 08:19:19 berrichon NetworkManager[1028]: <info>  Activation
(wlp3s0) Beginning DHCPv4 transaction (timeout
déc. 21 08:19:19 berrichon NetworkManager[1028]: <info>  dhclient
started with pid 1433
déc. 21 08:19:19 berrichon dhclient[1433]: DHCPREQUEST on wlp3s0 to
255.255.255.255 port 67 (xid=0x76518119)
déc. 21 08:19:19 berrichon dhclient[1433]: DHCPACK from 192.168.1.1
(xid=0x76518119)
déc. 21 08:19:19 berrichon NetworkManager[1028]: <info>    address
192.168.1.29
déc. 21 08:19:19 berrichon NetworkManager[1028]: <info>    plen 24
(255.255.255.0)
déc. 21 08:19:19 berrichon NetworkManager[1028]: <info>    gateway
192.168.1.1
déc. 21 08:19:19 berrichon NetworkManager[1028]: <info>    server
identifier 192.168.1.1
déc. 21 08:19:19 berrichon NetworkManager[1028]: <info>    lease time 86400
déc. 21 08:19:19 berrichon NetworkManager[1028]: <info>    nameserver
'192.168.1.1'
déc. 21 08:19:19 berrichon NetworkManager[1028]: <info>    nameserver
'192.168.1.1'
déc. 21 08:19:19 berrichon NetworkManager[1028]: <info>    domain name
'home'
déc. 21 08:19:19 berrichon NetworkManager[1028]: <info>  (wlp3s0):
DHCPv4 state changed unknown -> bound


How to stop that?

Thank you.

-- 
François Patte
UFR de mathématiques et informatique
Laboratoire CNRS MAP5, UMR 8145
Université Paris Descartes
45, rue des Saints Pères
F-75270 Paris Cedex 06
Tél. +33 (0)1 8394 5849
http://www.math-info.univ-paris5.fr/~patte

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]
  Powered by Linux