This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
c-services:wlan-c-base-crew-netctl [2015/12/16 01:08] xen |
c-services:wlan-c-base-crew-netctl [2016/02/23 00:25] (current) xen |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | Create a file **/etc/netctl/c-base-crew.conf** with this content (change $crewname and $password to your crew name and password): | + | Zertifikat runterladen |
+ | <code bash> | ||
+ | wget -O /etc/ssl/certs/cacert.org.pem https://www.cacert.org/certs/root.crt | ||
+ | </code> | ||
+ | |||
+ | Create a file **/etc/netctl/c-base-crew-5ghz.conf** with this content (change $crewname and $password to your crew name and password): | ||
+ | |||
+ | <code> | ||
+ | Description='Automatically generated profile by wifi-menu' | ||
+ | Interface=wlan0 | ||
+ | Connection=wireless | ||
+ | Security=wpa-configsection | ||
+ | ESSID=c-base-crew-5ghz | ||
+ | IP=dhcp | ||
+ | IP6=static | ||
+ | Address6=('2a02:f28:4::/64') | ||
+ | Gateway6='2a02:f28:4::1' | ||
+ | Priority=2 | ||
+ | WPAConfigSection=( | ||
+ | 'ssid="c-base-crew-5ghz"' | ||
+ | 'key_mgmt=WPA-EAP' | ||
+ | 'eap=PEAP' | ||
+ | 'group=TKIP CCMP' | ||
+ | 'pairwise=TKIP CCMP' | ||
+ | 'anonymous_identity="$crewname"' | ||
+ | 'identity="$crewname"' | ||
+ | 'password="$password"' | ||
+ | 'priority=1' | ||
+ | 'phase2="auth=MSCHAPV2"' | ||
+ | 'ca_cert="/etc/ssl/certs/cacert.org.pem"' | ||
+ | 'subject_match="/C=DE/ST=Berlin/L=Berlin/O=c-base e.V./CN=wlan.cbrp3.c-base.org"' | ||
+ | ) | ||
+ | </code> | ||
- | Description='c-base crew 2.4ghz network' | ||
- | Interface=wlan0 | ||
- | Connection=wireless | ||
- | Security=wpa-configsection | ||
- | IP=dhcp | ||
- | IP6=static | ||
- | Address6=('2a02:f28:4::/64') | ||
- | Gateway6='2a02:f28:4::1' | ||
- | Priority=2 | ||
- | WPAConfigSection=( | ||
- | 'ssid="c-base-crew"' | ||
- | 'key_mgmt=WPA-EAP' | ||
- | 'eap=PEAP' | ||
- | 'group=TKIP CCMP' | ||
- | 'pairwise=TKIP CCMP' | ||
- | 'anonymous_identity="$crewname"' | ||
- | 'identity="$crewname"' | ||
- | 'password="$password"' | ||
- | 'priority=1' | ||
- | 'phase2="auth=MSCHAPV2"' | ||
- | 'ca_cert="/etc/ssl/certs/CAcert_Class_3_Root.pem"' | ||
- | 'subject_match="C=DE, ST=Berlin, L=Berlin, O=c-base e.V., CN=wlan.cbrp3.c-base.org"' | ||
- | ) | ||
Enable the profile with: | Enable the profile with: | ||
- | netctl enable c-base-crew | + | netctl enable c-base-crew-5ghz |
And start it with: | And start it with: | ||
- | netctl switch-to c-base-crew | + | netctl switch-to c-base-crew-5ghz |
- | To use the 5GHz network add **-5ghz** to the network and filename. | + | To use the 2.4GHz network remove **-5ghz** to the network and filename. |