by makuab » Mon Mar 11, 2013 12:19 am
$this->bbcode_second_pass_quote('moonman', 'I')nsert $this->bbcode_second_pass_code('', 'PRE_UP="sleep 20"') after interface=... in your /etc/network.d/<yourconnection>
The service still fails.
Here's my network config
$this->bbcode_second_pass_code('', '
CONNECTION='wireless'
DESCRIPTION='A simple WPA encrypted wireless connection'
INTERFACE='wlan0'
PRE_UP='sleep 20'
SECURITY='wpa'
ESSID='omitted'
## Uncomment if the supplied ESSID is hexadecimal
#ESSID_TYPE='hex'
KEY='omitted'
IP='dhcp'
# Uncomment this if your ssid is hidden
#HIDDEN=yes
')
and here's my conf.d/netcfg
$this->bbcode_second_pass_code('', '
# Enable these netcfg profiles at boot time.
# - prefix an entry with a '@' to background its startup
# - set to 'last' to restore the profiles running at the last shutdown
# - set to 'menu' to present a menu (requires the dialog package)
# Network profiles are found in /etc/network.d
NETWORKS=(wired-eth0 omitted)
# Specify the name of your wired interface for net-auto-wired
WIRED_INTERFACE="eth0"
# Specify the name of your wireless interface for net-auto-wireless
WIRELESS_INTERFACE="wlan0"
# Array of profiles that may be started by net-auto-wireless.
# When not specified, all wireless profiles are considered.
#AUTO_PROFILES=("omitted")
')