Re: Fwd: WpaSupplicant how to

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

 



Hi Carl,

First off thanks for the guide, overall it made things quite easy for me.

As fro my ifcfg file for the interface, the didn't exist before I created while following the how-to. So at first I just had

_ONBOOT_="yes"

After some googling in attempts to fix my issue I modified it to have:

TYPE=Wireless
WPA=yes
_ONBOOT_="yes"
HWADDR=5C:D9:98:C2:0F:BD

None of these fixed my issue and that is when I changed the line in the prepnet init script.

I changed the prepnet init script back to killall dhclient and then added the BOOTPROTO and this didn't have the desired affect.

After that I copied your entire ifcfg file for my interface, excluding the UUID because I wasn't sure how to determine what mine was and just modified the HWADDR to match my MAC address. This seems to have worked. I'm not sure which setting(s) were the ones that got it up and running. If it isn't glaringly obvious let me know and I can experiment and try to determine what exactly I was missing from the file.

Thanks for the assistance.

Dan


On Thu, Jun 6, 2013 at 4:49 AM, Carl T. Miller <carl@xxxxxxxxxx> wrote:
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"

_______________________________________________
CentOS-docs mailing list
CentOS-docs@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos-docs

_______________________________________________
CentOS-docs mailing list
CentOS-docs@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos-docs

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Users]     [CentOS Virtualization]     [Linux Media]     [Asterisk]     [Netdev]     [X.org]     [Xfree86]     [Linux USB]     [Project Hail Cloud Computing]

  Powered by Linux