On 12/22/2016 10:15 AM, Earl Ramirez wrote: > On Wed, 2016-12-21 at 13:10 +0100, François Patte wrote: >> 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 > > I believe that you will have to modify the file for your local SSID and > not create the file, e.g. if your SSID is my_wifi you will have to > edit /etc/sysconfig/network-scripts/ifcfg-my_wifi and use the settings > below. > >> >> 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 That will only work if he disables NetworkManager (NM) and enables netscripts (e.g. "network.service") in its place. NM doesn't use those scripts and you either use NM or netscripts--not both. They don't play nicely with each other. ---------------------------------------------------------------------- - Rick Stevens, Systems Engineer, AllDigital ricks@xxxxxxxxxxxxxx - - AIM/Skype: therps2 ICQ: 226437340 Yahoo: origrps2 - - - - Physics is like sex ... it may give some practical results, but - - that's not why we do it. -- Richard Feynman ---------------------------------------------------------------------- _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx