Hello,
I have been trying to get wireless to auto-connect at boot but seems to have no success.
$this->bbcode_second_pass_code('', 'systemctl status netcfg@TyrionLannister.service
netcfg@TyrionLannister.service - Netcfg networking service for profile TyrionLannister
Loaded: loaded (/usr/lib/systemd/system/netcfg@.service; enabled)
Active: failed (Result: exit-code) since Thu 1970-01-01 01:00:08 BST; 20min ago
Process: 111 ExecStart=/usr/bin/netcfg check-iface %i (code=exited, status=1/FAILURE)')
$this->bbcode_second_pass_code('', 'cat TyrionLannister
CONNECTION='wireless'
DESCRIPTION='A simple WPA encrypted wireless connection'
INTERFACE='wlan0'
SECURITY='wpa'
ESSID='TyrionLannister'
## Uncomment if the supplied ESSID is hexadecimal
#ESSID_TYPE='hex'
KEY='*************'
IP='static'
ADDR='192.168.0.86'
GATEWAY='192.168.0.1'
DNS=('8.8.8.8')
#IP='dhcp'
# Uncomment this if your ssid is hidden
#HIDDEN=yes')
$this->bbcode_second_pass_code('', 'cat /etc/conf.d/netcfg
# 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=(wlan0)
# 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=("profile1" "profile2")
DHCP_TIMEOUT=30')
I will only connect to one network and I would like it to have auto reconnect as wireless may go down from time to time and Pi might not have access to monitor or keyboard to manually reconnect.
Thanks for working on this.
Donnie.
