User Tools

Site Tools


linuxmce_ap

This is an old revision of the document!


LinuxMCE WLAN Access Point

/etc/network/interfaces

#####
# Loopback interface
#####
iface lo inet loopback

#####
# xDSL PPPoE interface
#####
iface dsl-provider inet ppp
	pre-up    /sbin/ifconfig eth1 up
	up /etc/wide-dhcpv6/dhcp6c-ifupdown start
	down /etc/wide-dhcpv6/dhcp6c-ifupdown stop
	provider dsl-provider

#####
# IPv4 network interfaces
#####

# --- External NIC ---

# --- Internal NIC ---
iface eth0 inet static
	address 192.168.80.1
	netmask 255.255.255.0
	pre-up sysctl -q -e -w  net.ipv6.conf.eth0.disable_ipv6=1
       # DNS Settings for Internal Net
        dns-nameservers 192.168.80.1
        dns-search LinuxMCE

# --- Wlan0 ---
iface wlan0 inet static
	address 192.168.81.1
	netmask 255.255.255.0
	pre-up sysctl -q -e -w  net.ipv6.conf.eth0.disable_ipv6=1
	dns-nameservers 192.168.81.1

#iface br0 inet static
#         bridge_ports eth0 wlan0
#         address 192.168.80.1
#         netmask 255.255.255.0
#          # DNS Settings for Internal Net
#         dns-nameservers 192.168.80.1
#         dns-search LinuxMCE

#####
# Activating interfaces
#####
auto dsl-provider eth0 wlan0 br0 lo
linuxmce_ap.1453574746.txt.gz · Last modified: 2016/01/23 19:45 by admin