This shows you the differences between two versions of the page.
Next revision | Previous revision Next revision Both sides next revision | ||
c-services:wlan-c-base-crew-netctl [2015/07/06 00:10] xen created |
c-services:wlan-c-base-crew-netctl [2016/01/14 23:06] return |
||
---|---|---|---|
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=stateless | ||
- | 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.org.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: | ||
Line 31: | Line 42: | ||
netctl switch-to c-base-crew | netctl switch-to c-base-crew | ||
- | To use the 5GHz network use this file and save it as **/etc/netctl/c-base-crew-5ghz**: | + | To use the 2GHz network remove **-5ghz** to the network and filename. |
- | + | ||
- | Description='c-base crew 5ghz network' | + | |
- | Interface=wlan0 | + | |
- | Connection=wireless | + | |
- | Security=wpa-configsection | + | |
- | IP=dhcp | + | |
- | IP6=stateless | + | |
- | 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"' | + | |
- | ) | + |