You are not logged in.

#1 2016-08-12 13:05:01

zaf
Member
Registered: 2010-12-14
Posts: 4

netctl multiple profiles

Hello,
I connect to a lot of unsecured networks when I take the bus ride and the typical syntax is:
busnumber_busname.
The busname is always fixed and an example would be 2906_Transit. The bus number depends on the actual bus that picks me up and this is the only variable. Everytime I board the bus, I have to make a new profile and my /etc/netctl folder contains multiple of the same this with the difference being just a number. One example would be:

Description='Automatically generated profile by wifi-menu'
Interface=wlan0
Connection=wireless
Security=none
ESSID=2906_Transit
IP=dhcp

Is there a way to automate the process using a wildcard in such a way that netctl accepts all profiles that are of the form 2***_Transit?
All the help is greatly appreciated.
Thanks a lot.

Offline

#2 2016-08-13 05:49:55

Elizine
Member
From: United Kingdom
Registered: 2015-10-07
Posts: 39
Website

Re: netctl multiple profiles

There's a template for a bridge profile in /etc/netctl/examples, try it.

Offline

Board footer

Powered by FluxBB