Difference between revisions of "Access Point"

From LinuxMCE
Jump to: navigation, search
(Set static IP adresses)
m (Introduction)
Line 1: Line 1:
 
== Introduction ==  
 
== Introduction ==  
  
This tutorial describes how to add Access Point functionality to your LMCE core. The core will act as a WiFi access point permitting wireless devices to connect to the core the internal network and the internet.
+
This tutorial describes how to add Access Point functionality to your LMCE core. The core will act as a WiFi access point permitting wireless devices to connect to the core, the internal network and the internet.
  
 
== Hardware setup ==
 
== Hardware setup ==

Revision as of 03:46, 29 September 2009

Introduction

This tutorial describes how to add Access Point functionality to your LMCE core. The core will act as a WiFi access point permitting wireless devices to connect to the core, the internal network and the internet.

Hardware setup

  • Dell Optiplex Gx620
  • WiFi card with Atheros chipset (using madwifi drivers)
  • Linux MCE 810 alpha2

If you install LMCE from scratch make sure that your wifi card is NOT inserted prior to installation so that LMCE doesn't use it as the internal network interface. After LCME installation has finished, insert the wifi card.

Overview

the idea is to combine or bridge eth1 and ath0 to a new virtual interface called br0.

  • -> eth0 connects to my ADSL modem (192.168.5.0)
  • -> eth1 connects to my internal LAN switch (192.168.80.0)
  • -> ath0 connects the wireless part of my internal network (192.168.80.0)

Needed packages

  • hostapd
  • bridge


Config files

/etc/network/interfaces


/etc/default/dhcp.conf

/etc/default/dhcpd3/dhcpd.conf

Enable WPA encryption

  • edit the /etc/hostapd

Set static IP adresses

It is possible to set static ip adresses manually instead of using LMCE