[CentOS-docs] Fwd: WpaSupplicant how to

Carl T. Miller

carl at carltm.com
Thu Jun 6 08:49:53 UTC 2013


On 06/06/2013 01:13 AM, Dan King wrote:
> Anyways, when going through this I was having issues because everything
> seemed to work but I was never getting an IP address when the system
> booted up.
>
> After lots of looking at this and working at understanding what
> everything does I found the that prepnet startup script was killing
> dhclient using this command:
>
>       killall dhclient >/dev/null 2>&1.
>
> I first attempted to remove this and after that didn't work I simply
> changed the line to call dhclient instead. Making this change seems to
> have solved my issues.

I wrote the guide, and I put the killall command there because
dhclient sometimes failed when I restarted the network service.
I double-checked everything, and the wiki page shows exactly how
I have it configured on my laptop.  Could you post the contents
of your ifcfg file for this interface?  In my example below the
bootproto is set to dhcp, which starts the dhclient program when
the interface is brought up.

c



DEVICE="wlan0"
BOOTPROTO="dhcp"
IPV6INIT="yes"
IPV6_AUTOCONF="yes"
NM_CONTROLLED="no"
ONBOOT="yes"
TYPE="Ethernet"
UUID="609ad8d9-785e-4508-978a-552b9a3bda7e"
HWADDR=08:3E:8E:B9:8C:7B
DEFROUTE=yes
PEERDNS=yes
PEERROUTES=yes
IPV4_FAILURE_FATAL=yes
IPV6_DEFROUTE=yes
IPV6_PEERDNS=yes
IPV6_PEERROUTES=yes
IPV6_FAILURE_FATAL=no
NAME="System wlan0"




More information about the CentOS-docs mailing list