Skip to content

Commit

Permalink
oops, forgot netcfg
Browse files Browse the repository at this point in the history
  • Loading branch information
crackofdusk committed Aug 30, 2011
1 parent d65b35e commit db4a408
Show file tree
Hide file tree
Showing 5 changed files with 43 additions and 3 deletions.
9 changes: 9 additions & 0 deletions config.d/etc/network.d/ethernet-dhcp
@@ -0,0 +1,9 @@
CONNECTION='ethernet'
DESCRIPTION='A basic dhcp ethernet connection using iproute'
INTERFACE='eth0'
IP='dhcp'
## for DHCPv6
#IP6='dhcp'
## for IPv6 autoconfiguration
#IP6='stateless'

8 changes: 8 additions & 0 deletions config.d/etc/network.d/wireless-wpa-config
@@ -0,0 +1,8 @@
CONNECTION='wireless'
DESCRIPTION='A wpa_supplicant configuration based wireless connection'
INTERFACE='wlan0'
SECURITY='wpa-config'
WPA_CONF='/etc/wpa_supplicant.conf'
IP='dhcp'
# Uncomment this if your ssid is hidden
#HIDDEN=yes
17 changes: 17 additions & 0 deletions config.d/etc/network.d/wireless-wpa-configsection
@@ -0,0 +1,17 @@
CONNECTION='wireless'
INTERFACE=wlan0
SECURITY='wpa-configsection'
# Uncomment this if your ssid is hidden
#HIDDEN=yes
IP='dhcp'
CONFIGSECTION='
ssid="University"
key_mgmt=WPA-EAP
eap=TTLS
group=TKIP
pairwise=TKIP CCMP
anonymous_identity="anonymous"
identity="myusername"
password="mypassword"
priority=1
phase2="auth=PAP"'
7 changes: 5 additions & 2 deletions config.d/etc/rc.conf
Expand Up @@ -102,7 +102,10 @@ NETWORK_PERSIST="no"
#
# This requires the netcfg package
#
NETWORKS=(ethernet wireless)
#NETWORKS=()

WIRELESS_INTERFACE="wlan0"
WIRED_INTERFACE="eth0"

# -----------------------------------------------------------------------
# DAEMONS
Expand All @@ -115,4 +118,4 @@ NETWORKS=(ethernet wireless)
# If something other takes care of your hardware clock (ntpd, dual-boot...)
# you should disable 'hwclock' here.
#
DAEMONS=(hwclock syslog-ng @net-profiles @ifplugd @crond)
DAEMONS=(hwclock syslog-ng @net-auto-wireless @net-auto-wired @crond)
5 changes: 4 additions & 1 deletion packages.d/002.net.list
Expand Up @@ -11,5 +11,8 @@ ngrep
curl
wget

wpa_supplicant_gui
netcfg
ifplugd
wpa_actiond
wpa_supplicant_gui

0 comments on commit db4a408

Please sign in to comment.