<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.linuxmce.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Dirk</id>
	<title>LinuxMCE - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.linuxmce.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Dirk"/>
	<link rel="alternate" type="text/html" href="http://wiki.linuxmce.org/index.php/Special:Contributions/Dirk"/>
	<updated>2026-05-11T05:33:12Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.44.0</generator>
	<entry>
		<id>http://wiki.linuxmce.org/index.php?title=Create_RAID_in_LMCE&amp;diff=29674</id>
		<title>Create RAID in LMCE</title>
		<link rel="alternate" type="text/html" href="http://wiki.linuxmce.org/index.php?title=Create_RAID_in_LMCE&amp;diff=29674"/>
		<updated>2012-03-13T22:39:33Z</updated>

		<summary type="html">&lt;p&gt;Dirk: Versioninfo update&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Versioninfo|1004Status=Works with hotfix|1004UpdatedDate=13th Mar 2012|1004UpdatedBy=[[User:Dirk|Dirk]]|}}&lt;br /&gt;
{| align=&amp;quot;right&amp;quot;&lt;br /&gt;
  | __TOC__&lt;br /&gt;
  |}&lt;br /&gt;
[[Category: Tutorials]]&lt;br /&gt;
[[Category: Storage]]&lt;br /&gt;
[[Category: Admin Website]]&lt;br /&gt;
== Introduction ==&lt;br /&gt;
RAID (&amp;lt;b&amp;gt;R&amp;lt;/b&amp;gt;edundant &amp;lt;b&amp;gt;A&amp;lt;/b&amp;gt;rray of &amp;lt;b&amp;gt;I&amp;lt;/b&amp;gt;ndependent &amp;lt;b&amp;gt;D&amp;lt;/b&amp;gt;rives) refers to a data storage scheme which has as a benefit increase of the data integrity, fault-tolerance, throughput and/or capacity&lt;br /&gt;
There are 3 standard RAID levels which can be used in LMCE, to define RAIDS:&lt;br /&gt;
=== RAID 0 ===&lt;br /&gt;
* Striped Set (2 disk minimum) without parity&lt;br /&gt;
* provides improved performance &lt;br /&gt;
* additional storage &lt;br /&gt;
* no fault tolerance from disk errors or disk failure. Any disk failure destroys the array, which becomes more likely with more disks in the array&lt;br /&gt;
=== RAID 1 ===&lt;br /&gt;
* Mirrored Set (2 disks minimum) without parity. &lt;br /&gt;
* Provides fault tolerance from disk errors and single disk failure. &lt;br /&gt;
* Increased read performance occurs when using a multi-threaded operating system that supports split seeks, very small performance reduction when writing. &lt;br /&gt;
* A drive has its data duplicated on another different drive. If either drive fails, the other continues to function as a single drive until the failed drive is replaced. &lt;br /&gt;
Conceptually simple, RAID 1 is popular for those who require fault tolerance and don&#039;t need top-notch read performance.&lt;br /&gt;
=== RAID 5 ===&lt;br /&gt;
* Striped Set (3 disk minimum) with Distributed Parity&lt;br /&gt;
* Distributed parity requires all but one drive to be present to operate&lt;br /&gt;
* drive failure requires replacement, but the array is not destroyed by a single drive failure. &lt;br /&gt;
* Upon drive failure, any subsequent reads can be calculated from the distributed parity such that the drive failure is masked from the end user. &lt;br /&gt;
* The array will have data loss in the event of a second drive failure and is vulnerable until the data that was on the failed drive is rebuilt onto a replacement drive&lt;br /&gt;
== Creating RAID ==&lt;br /&gt;
[[Image:AdvancedRaid.jpeg]]&lt;br /&gt;
# Go to &#039;&#039;&#039;[[LinuxMCE Admin Website]]--&amp;gt;Advanced-&amp;gt;Configuration-&amp;gt;[[RAID]]&#039;&#039;&#039; &lt;br /&gt;
## Specify the computer that should hold the RAID in the &amp;lt;i&amp;gt;Parent&amp;lt;/i&amp;gt; section. &lt;br /&gt;
## Give a &amp;lt;i&amp;gt;Description&amp;lt;/i&amp;gt; to the Raid you’re creating. &lt;br /&gt;
## Choose the type of RAID, according to what you need to do. &lt;br /&gt;
## Check the &amp;lt;i&amp;gt;Use automatically&amp;lt;/i&amp;gt; box, if you want your data to be stored automatically using this RAID. &lt;br /&gt;
## Choose what kind of data structure you want for this RAID. Then click on the &amp;lt;i&amp;gt;Add&amp;lt;/i&amp;gt; button to save your settings.&amp;lt;/p&amp;gt;&lt;br /&gt;
# Choose the disk drives you want to include in the RAID, by selecting the available ones from the drive list. The list contains only the disks that there are not used. Also you have the option to add spare disks.&lt;br /&gt;
# When you have finished adding your disks, press the ‘Create RAID array’ button, to re-write your data in the desired pattern. You will see your RAID created in the list and you will be able to access the advanced configuration page, to add new drives, or to delete it.&lt;br /&gt;
# In &amp;lt;b&amp;gt;10.04&amp;lt;/b&amp;gt;, at the moment, a manual fix &amp;lt;b&amp;gt;before reboot&amp;lt;/b&amp;gt; seems necessary: sudo mdadm --detail --scan &amp;gt;&amp;gt; /etc/mdadm/mdadm.conf &lt;br /&gt;
&lt;br /&gt;
 Note: This is a totally software RAID, you don’t need to activate the RAID in your BIOS.&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
#If the array keeps coming back as failed, try stopping non-existant RAID devices:&lt;br /&gt;
## sudo mdadm --stop /dev/md0&lt;br /&gt;
## sudo mdadm --stop /dev/md1&lt;br /&gt;
#If you continue having problems then try ssh&#039;ing in, delete any partitions using fdisk, reboot and try again.&lt;/div&gt;</summary>
		<author><name>Dirk</name></author>
	</entry>
	<entry>
		<id>http://wiki.linuxmce.org/index.php?title=Create_RAID_in_LMCE&amp;diff=29673</id>
		<title>Create RAID in LMCE</title>
		<link rel="alternate" type="text/html" href="http://wiki.linuxmce.org/index.php?title=Create_RAID_in_LMCE&amp;diff=29673"/>
		<updated>2012-03-13T22:33:42Z</updated>

		<summary type="html">&lt;p&gt;Dirk: temporary hotfix for 10.04&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Versioninfo}}&lt;br /&gt;
{| align=&amp;quot;right&amp;quot;&lt;br /&gt;
  | __TOC__&lt;br /&gt;
  |}&lt;br /&gt;
[[Category: Tutorials]]&lt;br /&gt;
[[Category: Storage]]&lt;br /&gt;
[[Category: Admin Website]]&lt;br /&gt;
== Introduction ==&lt;br /&gt;
RAID (&amp;lt;b&amp;gt;R&amp;lt;/b&amp;gt;edundant &amp;lt;b&amp;gt;A&amp;lt;/b&amp;gt;rray of &amp;lt;b&amp;gt;I&amp;lt;/b&amp;gt;ndependent &amp;lt;b&amp;gt;D&amp;lt;/b&amp;gt;rives) refers to a data storage scheme which has as a benefit increase of the data integrity, fault-tolerance, throughput and/or capacity&lt;br /&gt;
There are 3 standard RAID levels which can be used in LMCE, to define RAIDS:&lt;br /&gt;
=== RAID 0 ===&lt;br /&gt;
* Striped Set (2 disk minimum) without parity&lt;br /&gt;
* provides improved performance &lt;br /&gt;
* additional storage &lt;br /&gt;
* no fault tolerance from disk errors or disk failure. Any disk failure destroys the array, which becomes more likely with more disks in the array&lt;br /&gt;
=== RAID 1 ===&lt;br /&gt;
* Mirrored Set (2 disks minimum) without parity. &lt;br /&gt;
* Provides fault tolerance from disk errors and single disk failure. &lt;br /&gt;
* Increased read performance occurs when using a multi-threaded operating system that supports split seeks, very small performance reduction when writing. &lt;br /&gt;
* A drive has its data duplicated on another different drive. If either drive fails, the other continues to function as a single drive until the failed drive is replaced. &lt;br /&gt;
Conceptually simple, RAID 1 is popular for those who require fault tolerance and don&#039;t need top-notch read performance.&lt;br /&gt;
=== RAID 5 ===&lt;br /&gt;
* Striped Set (3 disk minimum) with Distributed Parity&lt;br /&gt;
* Distributed parity requires all but one drive to be present to operate&lt;br /&gt;
* drive failure requires replacement, but the array is not destroyed by a single drive failure. &lt;br /&gt;
* Upon drive failure, any subsequent reads can be calculated from the distributed parity such that the drive failure is masked from the end user. &lt;br /&gt;
* The array will have data loss in the event of a second drive failure and is vulnerable until the data that was on the failed drive is rebuilt onto a replacement drive&lt;br /&gt;
== Creating RAID ==&lt;br /&gt;
[[Image:AdvancedRaid.jpeg]]&lt;br /&gt;
# Go to &#039;&#039;&#039;[[LinuxMCE Admin Website]]--&amp;gt;Advanced-&amp;gt;Configuration-&amp;gt;[[RAID]]&#039;&#039;&#039; &lt;br /&gt;
## Specify the computer that should hold the RAID in the &amp;lt;i&amp;gt;Parent&amp;lt;/i&amp;gt; section. &lt;br /&gt;
## Give a &amp;lt;i&amp;gt;Description&amp;lt;/i&amp;gt; to the Raid you’re creating. &lt;br /&gt;
## Choose the type of RAID, according to what you need to do. &lt;br /&gt;
## Check the &amp;lt;i&amp;gt;Use automatically&amp;lt;/i&amp;gt; box, if you want your data to be stored automatically using this RAID. &lt;br /&gt;
## Choose what kind of data structure you want for this RAID. Then click on the &amp;lt;i&amp;gt;Add&amp;lt;/i&amp;gt; button to save your settings.&amp;lt;/p&amp;gt;&lt;br /&gt;
# Choose the disk drives you want to include in the RAID, by selecting the available ones from the drive list. The list contains only the disks that there are not used. Also you have the option to add spare disks.&lt;br /&gt;
# When you have finished adding your disks, press the ‘Create RAID array’ button, to re-write your data in the desired pattern. You will see your RAID created in the list and you will be able to access the advanced configuration page, to add new drives, or to delete it.&lt;br /&gt;
# In &amp;lt;b&amp;gt;10.04&amp;lt;/b&amp;gt;, at the moment, a manual fix &amp;lt;b&amp;gt;before reboot&amp;lt;/b&amp;gt; seems necessary: sudo mdadm --detail --scan &amp;gt;&amp;gt; /etc/mdadm/mdadm.conf &lt;br /&gt;
&lt;br /&gt;
 Note: This is a totally software RAID, you don’t need to activate the RAID in your BIOS.&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
#If the array keeps coming back as failed, try stopping non-existant RAID devices:&lt;br /&gt;
## sudo mdadm --stop /dev/md0&lt;br /&gt;
## sudo mdadm --stop /dev/md1&lt;br /&gt;
#If you continue having problems then try ssh&#039;ing in, delete any partitions using fdisk, reboot and try again.&lt;/div&gt;</summary>
		<author><name>Dirk</name></author>
	</entry>
	<entry>
		<id>http://wiki.linuxmce.org/index.php?title=Access_Point&amp;diff=28907</id>
		<title>Access Point</title>
		<link rel="alternate" type="text/html" href="http://wiki.linuxmce.org/index.php?title=Access_Point&amp;diff=28907"/>
		<updated>2011-10-24T13:38:27Z</updated>

		<summary type="html">&lt;p&gt;Dirk: /* Restart Networking */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{versioninfo|810Status=relevant|810UpdatedDate=20th Sept 2010|810UpdatedBy=[[User:phenigma|phenigma]]}}&lt;br /&gt;
[[Category: Tutorials]]&lt;br /&gt;
{| align=&amp;quot;right&amp;quot;&lt;br /&gt;
  | __TOC__&lt;br /&gt;
  |}&lt;br /&gt;
= Introduction =&lt;br /&gt;
&lt;br /&gt;
This tutorial describes how to add Access Point functionality to your LinuxMCE Core/Hybrid. The Core/Hybrid will then act as a WiFi access point permitting wireless devices to connect to the core, the internal network and the Internet.  The drivers you choose will depend on your specific hardware.  Setting up an Access Point on your core allows you to use wireless orbiters such as the [[WebDT 366]] or [[Nokia N800]]/N900 without installing a separate wireless access point on your network.&lt;br /&gt;
&lt;br /&gt;
= Using nl80211 drivers (from back-ports) =&lt;br /&gt;
&lt;br /&gt;
== Hardware ==&lt;br /&gt;
A lot of modern hardware works.  Look up your device at http://wireless.kernel.org/en/users/Devices to determine which driver your card uses.  The driver needs to support AP, you can check that the driver has this support at http://wireless.kernel.org/en/users/Drivers/.  If the driver does not have AP support then you will not be able to operate the card as an Access Point.   &lt;br /&gt;
&lt;br /&gt;
Two Wireless-N adaptors that are known to work:&lt;br /&gt;
* Atheros Communications Inc. AR928X Wireless Network Adaptor (PCI-Express) (rev 01) &lt;br /&gt;
** This was pre-installed on a Zotac IONITX-A-U Atom N330 1.6 Ghz&lt;br /&gt;
** Uses the ath9k driver&lt;br /&gt;
* Atheros AR9280 MAC/BB Rev:2 AR5133 RF Rev:d0&lt;br /&gt;
** This is a D-Link DWA-522 Extreme N PCI Adaptor&lt;br /&gt;
** Uses the ath9k driver&lt;br /&gt;
* LinuxMCE 0810 BETA - Snapshot DVD 25289&lt;br /&gt;
&lt;br /&gt;
== Overview ==&lt;br /&gt;
* -&amp;gt; eth0 connects to internal network LMCE&lt;br /&gt;
* -&amp;gt; eth1 connects to the internet&lt;br /&gt;
* -&amp;gt; wlan0 is the wireless card&lt;br /&gt;
&lt;br /&gt;
== Required packages ==&lt;br /&gt;
=== Add the intrepid-backports repository ===&lt;br /&gt;
Adding the intrepid-backports repo gives us access to newer wireless drivers.&lt;br /&gt;
 $ echo &#039;deb http://archive.ubuntu.com/ubuntu intrepid-backports main universe&#039; | sudo tee -a /etc/apt/sources.list&lt;br /&gt;
 $ sudo apt-get update&lt;br /&gt;
&lt;br /&gt;
=== Install required packages ===&lt;br /&gt;
Install compat-wireless drivers including the mac80211/cfg80211 modules and the network bridge utilities.&lt;br /&gt;
 $ sudo apt-get install linux-backports-modules-intrepid bridge-utils&lt;br /&gt;
&lt;br /&gt;
=== Download, build and install hostapd ===&lt;br /&gt;
The hostapd package that ships with intrepid (0.5.10) is outdated, newer functionality is required.  Grab the most recent version that works with the compat-wireless drivers that we installed.  0.6.10 is the newest in the 0.6.x tree but it has a bug that causes it to fail with some cards, use 0.6.9.&lt;br /&gt;
&lt;br /&gt;
Install build dependencies for hostapd&lt;br /&gt;
 $ sudo apt-get install libnl-dev libssl-dev&lt;br /&gt;
Get hostapd 0.6.9&lt;br /&gt;
 $ wget http://w1.fi/releases/hostapd-0.6.9.tar.gz&lt;br /&gt;
 $ tar xvf hostapd-0.6.9.tar.gz&lt;br /&gt;
 $ cd hostapd-0.6.9/hostapd&lt;br /&gt;
 $ cp defconfig ./.config&lt;br /&gt;
Edit the .config file to enable the proper drivers:&lt;br /&gt;
*Enable nl80211 driver&lt;br /&gt;
 CONFIG_DRIVER_NL80211=y&lt;br /&gt;
*Enable IEEE 802.11n (High Throughput) support&lt;br /&gt;
 CONFIG_IEEE80211N=y&lt;br /&gt;
Build and Install hostapd&lt;br /&gt;
 $ make&lt;br /&gt;
 $ sudo make install&lt;br /&gt;
Copy the config file to /etc/hostapd&lt;br /&gt;
 $ sudo mkdir -p /etc/hostapd&lt;br /&gt;
 $ sudo cp hostapd.conf /etc/hostapd&lt;br /&gt;
&lt;br /&gt;
== Config Files ==&lt;br /&gt;
=== /etc/network/interfaces ===&lt;br /&gt;
Make a backup of your original interfaces file:&lt;br /&gt;
 $ sudo mv /etc/network/interfaces /etc/network/interfaces.bak&lt;br /&gt;
The interfaces file shown here is based on the setup described in the overview above.&lt;br /&gt;
 auto lo eth1 br0 eth0&lt;br /&gt;
 # Loopback Interface&lt;br /&gt;
 iface lo inet loopback&lt;br /&gt;
 # Internet Interface&lt;br /&gt;
 iface eth1 inet dhcp&lt;br /&gt;
 # LAN Interface&lt;br /&gt;
 iface eth0 inet manual&lt;br /&gt;
 	up /sbin/ifconfig eth0 up&lt;br /&gt;
 	down /sbin/ifconfig eth0 down&lt;br /&gt;
 # Wireless Interface&lt;br /&gt;
 iface wlan0 inet manual&lt;br /&gt;
 # Wireless/LAN Bridge&lt;br /&gt;
 iface br0 inet static&lt;br /&gt;
 	address 192.168.80.1&lt;br /&gt;
 	network 192.168.80.0&lt;br /&gt;
 	netmask 255.255.255.0&lt;br /&gt;
 	broadcast 192.168.80.255&lt;br /&gt;
 	pre-up /usr/sbin/brctl addbr br0&lt;br /&gt;
 	pre-up /usr/sbin/brctl addif br0 eth0&lt;br /&gt;
 	pre-up /usr/local/bin/hostapd -B /etc/hostapd/hostapd.conf&lt;br /&gt;
 	pre-up /usr/sbin/brctl addif br0 wlan0&lt;br /&gt;
        up /sbin/ifconfig br0 inet 192.168.80.1 broadcast 192.168.80.255 netmask 255.255.255.0&lt;br /&gt;
 	post-down /usr/sbin/brctl delif br0 eth0&lt;br /&gt;
 	post-down /usr/sbin/brctl delif br0 wlan0&lt;br /&gt;
 	post-down /usr/sbin/brctl delbr br0&lt;br /&gt;
&lt;br /&gt;
=== /etc/hostapd/hostapd.conf ===&lt;br /&gt;
Edit /etc/hostapd/hostapd.conf and verify/change the following:&lt;br /&gt;
 interface=wlan0&lt;br /&gt;
 driver=nl80211&lt;br /&gt;
 ssid=yourssidhere&lt;br /&gt;
 hw_mode=g&lt;br /&gt;
 ieee80211n=1&lt;br /&gt;
&lt;br /&gt;
=== /etc/default/dhcp3-server ===&lt;br /&gt;
Configure the dhcp server to respond to request from devices on the bridge instead of the wired connection alone.&lt;br /&gt;
 $ echo &#039;INTERFACES=&amp;quot;br0&amp;quot;&#039; | sudo tee /etc/default/dhcp3-server&lt;br /&gt;
&lt;br /&gt;
== Security/Encryption ==&lt;br /&gt;
All security/encryption related settings are in /etc/hostapd/hostapd.conf.  Edit this file as needed.&lt;br /&gt;
A good starting point for a wpa &amp;amp; wpa2 enabled access point is:&lt;br /&gt;
&lt;br /&gt;
 macaddr_acl=0&lt;br /&gt;
 auth_algs=1&lt;br /&gt;
 ignore_broadcast_ssid=0&lt;br /&gt;
 wpa=3&lt;br /&gt;
 wpa_passphrase=YourPassPhrase&lt;br /&gt;
 wpa_key_mgmt=WPA-PSK&lt;br /&gt;
 wpa_pairwise=TKIP&lt;br /&gt;
 rsn_pairwise=CCMP&lt;br /&gt;
&lt;br /&gt;
(from: http://linuxwireless.org/en/users/Documentation/hostapd#Authentication_and_Encryption )&lt;br /&gt;
&lt;br /&gt;
== Restart Networking ==&lt;br /&gt;
Restart the networking engine, or reboot.&lt;br /&gt;
 $ sudo service networking restart&lt;br /&gt;
&#039;&#039;&#039;or&#039;&#039;&#039;  (in case the above didn&#039;t work)&lt;br /&gt;
 $ /etc/init.d/networking restart&lt;br /&gt;
&lt;br /&gt;
= Using madwifi drivers =&lt;br /&gt;
WORK IN PROGRESS&lt;br /&gt;
&lt;br /&gt;
== Hardware setup ==&lt;br /&gt;
&lt;br /&gt;
* Dell Optiplex Gx620 &lt;br /&gt;
* WiFi card with Atheros chipset (using madwifi drivers)&lt;br /&gt;
* Linux MCE 810 alpha2&lt;br /&gt;
&lt;br /&gt;
If you install LMCE from scratch make sure that your wifi card is NOT inserted prior to installation so that LMCE doesn&#039;t use it as the internal network interface. After LCME installation has finished, insert the wifi card.&lt;br /&gt;
&lt;br /&gt;
== Overview ==&lt;br /&gt;
&lt;br /&gt;
the idea is to combine or bridge eth1 and ath0 to a new virtual interface called br0. &lt;br /&gt;
&lt;br /&gt;
* -&amp;gt; eth0 connects to my ADSL modem          (192.168.1.0)&lt;br /&gt;
* -&amp;gt; eth1 connects to my internal LAN switch (192.168.80.0)&lt;br /&gt;
* -&amp;gt; ath0 connects the wireless part of my internal network (192.168.80.0)&lt;br /&gt;
&lt;br /&gt;
== Needed packages ==&lt;br /&gt;
&lt;br /&gt;
* hostapd&lt;br /&gt;
* bridge&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Config files ==&lt;br /&gt;
&lt;br /&gt;
=== /etc/network/interfaces ===&lt;br /&gt;
&lt;br /&gt;
We&#039;ll make a copy of /etc/network/interfaces in case something goes wrong before we edit it.&lt;br /&gt;
&lt;br /&gt;
 mv /etc/network/interfaces /etc/network/interfaces.bck&lt;br /&gt;
&lt;br /&gt;
 joe /etc/network/interfaces&lt;br /&gt;
&lt;br /&gt;
 auto lo eth0 eth1 br0&lt;br /&gt;
automatically initialise eth0 (external interface) eth1 (internal LAN) and br0 (our bridge interface). Keep ath0 out of this for now, we&#039;ll initialise it separately.&lt;br /&gt;
&lt;br /&gt;
 iface lo inet loopback&lt;br /&gt;
&lt;br /&gt;
 # Internet Interface&lt;br /&gt;
 iface eth0 inet static&lt;br /&gt;
        address 192.168.1.2&lt;br /&gt;
        netmask 255.255.255.0&lt;br /&gt;
        gateway 192.168.1.1&lt;br /&gt;
        dns-nameservers 192.168.1.1&lt;br /&gt;
&lt;br /&gt;
Fill in your own settings here, in my case 192.168.1.1 is the ADSL modem. Alternatively you can use dhcp to get the adress details from your ADSL modem.&lt;br /&gt;
&lt;br /&gt;
 # LAN interface&lt;br /&gt;
 iface eth1 inet manual&lt;br /&gt;
   up /sbin/ifconfig eth0 up&lt;br /&gt;
   down /sbin/ifconfig eth0 down&lt;br /&gt;
&lt;br /&gt;
The internal interface, note that it doesn&#039;t get an adress assigned.&lt;br /&gt;
&lt;br /&gt;
 # Wireless interface&lt;br /&gt;
 auto ath0&lt;br /&gt;
 iface ath0 inet manual&lt;br /&gt;
   up /sbin/ifconfig ath0 up&lt;br /&gt;
&lt;br /&gt;
The wireless interface, again no adress details here.&lt;br /&gt;
&lt;br /&gt;
 iface br0 inet static&lt;br /&gt;
    address 192.168.80.1&lt;br /&gt;
    network 192.168.80.0&lt;br /&gt;
    netmask 255.255.255.0&lt;br /&gt;
    broadcast 192.168.80.255&lt;br /&gt;
    pre-up /usr/sbin/brctl addbr br0&lt;br /&gt;
    pre-up /usr/sbin/brctl addif br0 eth1&lt;br /&gt;
&lt;br /&gt;
The fun part. Finally we assign the adress for the internal LAN to the bridge interace br0 (I&#039;m sticking here with the standard LMCE network 80.0). The pre-up will create a bridge and add the eth1  interface to it. &lt;br /&gt;
&lt;br /&gt;
    pre-up /sbin/wlanconfig ath0 destroy&lt;br /&gt;
    pre-up /sbin/wlanconfig ath0 create wlandev wifi0 wlanmode ap&lt;br /&gt;
    pre-up /sbin/iwconfig ath0 channel 3&lt;br /&gt;
&lt;br /&gt;
This part is necessary as the atheros interface has some issues to switch ino access point mode (master mode)&lt;br /&gt;
&lt;br /&gt;
    pre-up /usr/sbin/brctl addif br0 ath0&lt;br /&gt;
&lt;br /&gt;
After firing up the wireless interface we add it to the bridge as well.&lt;br /&gt;
&lt;br /&gt;
    post-down /usr/sbin/brctl delif br0 eth1&lt;br /&gt;
    post-down /usr/sbin/brctl delif br0 ath0&lt;br /&gt;
    post-down /usr/sbin/brctl delbr br0&lt;br /&gt;
&lt;br /&gt;
Just some lines to define how to cleanly shut down the bridge: remove both interfaces and then remove the bridge interace itself&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We need to set the bridge (which contains eth1 and ath0) as the new interface for the dhcpd server. &lt;br /&gt;
Edit /etc/default/dhcp.conf as followed:&lt;br /&gt;
&lt;br /&gt;
    INTERFACES=&amp;quot;br0&amp;quot;&lt;br /&gt;
&lt;br /&gt;
/etc/default/dhcpd3/dhcpd.conf&lt;br /&gt;
&lt;br /&gt;
=== wireless configuration ===&lt;br /&gt;
&lt;br /&gt;
We&#039;ll use hostapd to manage the wireless part as it provides WPA encryption. I suggest that you first try to setup your network without encryption, make sure it works and then enable encryption.&lt;br /&gt;
&lt;br /&gt;
== Enable WPA encryption ==&lt;br /&gt;
&lt;br /&gt;
* edit the /etc/hostapd&lt;br /&gt;
&lt;br /&gt;
== Set static IP adresses ==&lt;br /&gt;
&lt;br /&gt;
It is possible to set static ip adresses manually instead of using LMCE.&lt;/div&gt;</summary>
		<author><name>Dirk</name></author>
	</entry>
</feed>