Skip to content

Enhancement - speed up booting #80

@gpz1100

Description

@gpz1100

This applies to either of the *sense flavors.

In the script, in the following section;

# wait until wpa_cli has authenticated.
  WPA_STATUS_CMD="wpa_cli status | grep 'suppPortStatus' | cut -d= -f2"
  IP_STATUS_CMD="ifconfig ngeth0 | grep 'inet\ ' | cut -d' ' -f2"

  /usr/bin/logger -st "pfatt" "waiting EAP for authorization..."

immediately under the last line (after waiting for EAP...), add the following

sleep 5
/usr/sbin/wpa_cli logon >/dev/null 2>&1

I observed in testing that the ont sends out a "username......." request about every 30 seconds. Depending on timing, this may extend the boot up process by that long. By issuing the login command, it jumpstarts the eapol auth process almost immediately. The sleep 5 is there to allow the system time to bring up the interface.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions