FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

LinkBack Thread Tools
Old 11-04-2008, 04:27 PM
Jim Dancer
Default Hostapd and Madwifi in Debian Etch

I am trying to create a "simple" wireless bridge and to control access
on it using Shorewall! I am using an Atheros card so I have followed the
directions to obtain the madwifi drivers from source and compiled them
using module-assistant.This process works perfectly and after installing
the bridge-tools I have a working bridge.


auto ath0
iface ath0 inet manual
pre-up wlanconfig ath0 destroy
per-up wlanconfig ath0 create wlandev wifi0 wlanmode ap
post-down wlanconfig ath0 destroy
wireless-mode master
wireless-channel 11
wireless-essid twister

auto br0
iface br0 inet static
address 192.168..253
bridge_ports ath0 eth0

This statements create a perfectly working bridge for my wireless
clients but has absolutely no security. In order to add WPA or WPA2 I
have installed hostapd. and the following additional configuration
statement for the bridge

pre-up /usr/sbin/hostapd -B /etc/hostapd/hostapd.conf

/etc/hostapd/hostapd.conf has the following changes to the base
configuration - this is nothing very fancy but at least it should work.


I have tried to compile hostapd from sources and make sure to provide a
link to the madwifi source but even this still gives the following error.

ioctl [SIOCGIFINDEX]: No such device
madwifi driver initialization failed
rmdir[ctrl_interface]: No such file or directory
failed to bring up br0

Does anyone have any idea why this is not working?

To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Thread Tools

All times are GMT. The time now is 03:08 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org