Network manager applet: how to get it to connect at bootup

Arch based Porteus community project
Post Reply
User avatar
francois
Contributor
Contributor
Posts: 5787
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Network manager applet: how to get it to connect at bootup

Post#1 by francois » 27 Dec 2018, 03:07

Network manager applet: how to get it to connect at bootup?
Thanks.
Prendre son temps, profiter de celui qui passe.

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 2480
Joined: 20 Mar 2012, 03:42
Distribution: 5.0rc1-64bit all-DE+more
Location: australia
Contact:

Re: Network manager applet: how to get it to connect at bootup

Post#2 by ncmprhnsbl » 27 Dec 2018, 04:32

checkout <your install media>/config/network
you can set up your connection details including password in there..

:) this actually solves a mystery for me, as to why i was connectting automatically> i'd forgotten that i'd set this up :roll:
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

User avatar
Ed_P
Contributor
Contributor
Posts: 5510
Joined: 06 Feb 2013, 22:12
Distribution: 4.0 Cinnamon 64-bit ISO
Location: Western NY, USA

Re: Network manager applet: how to get it to connect at bootup

Post#3 by Ed_P » 27 Dec 2018, 04:46

With Cinnamon my network files are stored in /etc/NetworkManager/system-connections. You can edit the file you want to auto connect with a text editor and change the autoconnect=false parm to autoconnect=true or use the Network Manager's GUI to do the same thing.
Ed

User avatar
francois
Contributor
Contributor
Posts: 5787
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Re: Network manager applet: how to get it to connect at bootup

Post#4 by francois » 27 Dec 2018, 14:33

@ncmprhnsbl
### Standard settings (most common)?

Code: Select all

### Network config file.
### Options listed here will be parsed at boot.
### Options must be listed one per line without space before them.

## IMPORTANT - If you use a graphical network manager then set Ignore=yes in this file

### This option means the file will be ignored at boot.
### Uncomment this if you will manually setup your network or
### another application handles the setup.
Ignore=yes

### Give this configuration profile a name. This can be used from
### inside netctl to switch between profiles after boot. If this
### profile already exists as a nemesis module it will be skipped.
### Please use a human friendly name without special characters.
### This option is obligatory.
Profile=wired

################################################
### Standard settings (most common)
################################################

### This option sets an ethernet (wired) or wireless network card.
### This option allows: ethernet or wireless
Connection=ethernet
Connection=wireless

### This option is the name of your network device.
### A single ethernet card has the name: eth0
### A single wireless card has the name: wlan0
Interface=eth0
Interface=wlan0

### Choose if you want dhcp to automatically receive an ip address
### from a dhcp server on the network. Home routers usually supply this.
### If this option is chosen then all following options will be ignored.
### This option allows: dhcp or static
IP=dhcp

### Set a custom ip address. This option requires a gateway option to be
### supplied. dhcp above must be commented out or it will overwrite.
#Address=('10.0.2.20/24' '192.168.1.112')

### Set the gateway for the network. Usually it will be the router
### address on a home network.
#Gateway='10.0.2.2'

### Set your DNS servers. The example below is the google DNS server
#DNS=('8.8.8.8' '8.8.4.4')

### Uncomment this if you are using an ad-hoc connection
#AdHoc=yes

################################################
### Wireless configurations
################################################

### This is the name of the ESSID (wireless access point) that you
### want to connect to.
#ESSID='MyNetwork'

### This is the type of security the ESSID uses. 
### This option allows: wep, wpa or none (open network)
#Security=wpa

### This option sets your wireless encryption key.
### Prepend \" to hexadecimal keys (wep), but not to string keys
### If using wpa/wpa2 you can put your plain text key here or
### the hashed key obtained by: wpa_passphrase [yourESSID] [yourKEY]
#Key='WirelessKey'

### Uncomment this if your ssid is hidden
#Hidden=yes

################################################
### IPv6 settings
################################################

### For IPv6 autoconfiguration
#IP6=stateless

### For IPv6 static address configuration.
### This option allows: static or dhcp
#IP6=static

### for DHCPv6. This requires IP6 above to be set to dhcp
#DHCP6Client=dhclient

### Static ipv6 address example. This requires IP6 to be set to static.
#Address6=('1234:5678:9abc:def::1/64' '1234:3456::123/96')
#Routes6=('abcd::1234')
#Gateway6='1234:0:123::abcd'

### for IPv6 autoconfiguration
#IP6=stateless
@ed
Not in that file:

Code: Select all

[connection]
id=p4rc
uuid=7fb507be-4626-4945-97a5-1823a6836d8f
type=wifi
permissions=user:guest:;

[wifi]
mac-address=60:6C:66:CB:4C:D3
mac-address-blacklist=
mode=infrastructure
ssid=##########

[wifi-security]
auth-alg=open
key-mgmt=wpa-psk
psk=#########

[ipv4]
dns-search=
method=auto

[ipv6]
addr-gen-mode=stable-privacy
dns-search=
method=auto
It is the first time I had to do such settings usually network manager applet connects by itself.
Prendre son temps, profiter de celui qui passe.

User avatar
Ed_P
Contributor
Contributor
Posts: 5510
Joined: 06 Feb 2013, 22:12
Distribution: 4.0 Cinnamon 64-bit ISO
Location: Western NY, USA

Re: Network manager applet: how to get it to connect at bootup

Post#5 by Ed_P » 27 Dec 2018, 18:23

francois I mislead. :fool:

I checked a couple of more of my /etc/NetworkManager/system-connections files. Ones that do not auto connect have autoconnect=false in their [connection] settings. Ones that do auto connect do not have the autoconnect parm at all in their settings.

Sorry. :ouch:
Ed

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 2480
Joined: 20 Mar 2012, 03:42
Distribution: 5.0rc1-64bit all-DE+more
Location: australia
Contact:

Re: Network manager applet: how to get it to connect at bootup

Post#6 by ncmprhnsbl » 27 Dec 2018, 21:58

comment ignore=yes
pick wired or wifi, i don't think you can have both at the same time..
if wifi, fill out and uncomment the ESSID, Security and Key sections..
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

Post Reply