Fedora Linux Support Community & Resources Center
Old 3rd February 2011, 04:52 PM
phoenixpb Offline
Registered User
Join Date: Mar 2009
Location: France & Québec
Posts: 173
Question quite succesfull hostapd

what i want to do is

client <--> wlan0 <--> computer <--> eth0 <--> internet

i have 2 network connections
eth0 wired connected to internet
wlan0 wireless (work fine)

i have installed hostapd with madwifi and so on

when i run hostapd the clients see the hot spot oki
clients connect with wpa oki

network manager run at demand not automatic (keep it for internet help)

now i'm a bit lost

what do i need is wlan0 give the client an ip (dhcp demand)
create a bridge between wlan0 and eth0

if someone can give the steps to create a permanent bridge between wlan0 and eth0

Phoenix. Linux User number 495894

Fedora 21 alpha gnome 3.13
yum update junky
Reply With Quote
Old 3rd February 2011, 05:34 PM
William Haller Offline
Registered User
Join Date: Jul 2005
Age: 57
Posts: 1,176
Re: quite succesfull hostapd

You need to configure the dhcpd service (man dhcpd.conf) start the service, and make sure that it passes out addresses wlan0 is configured for. Don't give a gateway to wlan0 and it should forward to eth0 automatically. You can configure dhcpd to look for particular mac addresses and assign them to specific IPs in the wlan0 subnet if you want a marginal amount more security.

You may need to install dhcp if it isn't installed.

yum install dhcp

Last edited by William Haller; 14th February 2012 at 04:24 PM. Reason: typo
Reply With Quote
Old 24th February 2011, 09:24 PM
tekknokrat Offline
Registered User
Join Date: Mar 2009
Location: Magdeburg, Sachsen-Anhalt
Posts: 24
Re: quite succesfull hostapd

I have created a bridge setup with hostapd on FC14 bridging wlan0/eth0. Perhaps this is also easier to maintain with dnsmasq. There's only an issue with my wlan-card link status on bootup (posted here) - perhaps this is hardware related only. I'll attach my config for your convenience perhaps it may help you.
Attached Files
File Type: txt ifcfg-br0.txt (76 Bytes, 368 views)
File Type: txt ifcfg-eth0.txt (76 Bytes, 321 views)
File Type: txt ifcfg-wlan0.txt (77 Bytes, 434 views)
File Type: conf hostapd.conf (492 Bytes, 399 views)
File Type: conf dnsmasq.conf (21.1 KB, 290 views)

Last edited by tekknokrat; 24th February 2011 at 09:24 PM. Reason: info
Reply With Quote
Old 14th February 2012, 09:05 AM
mico85 Offline
Registered User
Join Date: Feb 2012
Location: Albania
Posts: 2
Re: quite succesfull hostapd


I have a HP NC6120 noteboook with an Intel Pro 2200 BG wireless card running on Fedora 13. I have installed hostapd versio 0.6.10 and mad appropriate configurations in order to share my wired internet connections to wireless devices e.g My smartphone. I also confed DHCP and IP masq, but when i try to run hostapd it keep telling me :

Failed to create interface mon.eth1.
nl80211 driver initialization failed.
eth1: Unable to setup interface.
rmdir[ctrl_interface]: No such file or directory

eth1 is my wireless interface and is not managed by Network Manager... I checked http://linuxwireless.org/en/users/Drivers for my card and it is supported..

Any Idea

Reply With Quote

hostapd, succesfull

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
hostapd problem cloud2020 Servers & Networking 0 30th November 2010 05:52 PM
hostapd ???? shortfatandbald Servers & Networking 1 4th August 2007 07:49 PM
problem : madwifi-0.9.3 and hostapd-0.5.7 (new)??? xula_1983 Servers & Networking 0 21st May 2007 11:09 AM
Not Booting Right after Succesfull Install. keeler1 Installation, Upgrades and Live Media 3 21st April 2007 04:04 AM
FC 5 installation not succesfull Beginner Using Fedora 1 30th March 2006 03:31 PM

Current GMT-time: 02:50 (Monday, 21-08-2017)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat