Fedora Linux Support Community & Resources Center
  #1  
Old 3rd February 2011, 03:52 PM
phoenixpb Offline
Registered User
 
Join Date: Mar 2009
Location: France & Québec
Posts: 173
linuxfedorafirefox
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
oki

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

thanks
__________________
Phoenix. Linux User number 495894

Fedora 21 alpha gnome 3.13
yum update junky
Reply With Quote
  #2  
Old 3rd February 2011, 04:34 PM
William Haller Online
Registered User
 
Join Date: Jul 2005
Age: 54
Posts: 1,080
linuxfedorakonqueror
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 03:24 PM. Reason: typo
Reply With Quote
  #3  
Old 24th February 2011, 08:24 PM
tekknokrat Offline
Registered User
 
Join Date: Mar 2009
Location: Magdeburg, Sachsen-Anhalt
Posts: 24
linuxfedorafirefox
Re: quite succesfull hostapd

Hi,
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, 322 views)
File Type: txt ifcfg-eth0.txt (76 Bytes, 276 views)
File Type: txt ifcfg-wlan0.txt (77 Bytes, 370 views)
File Type: conf hostapd.conf (492 Bytes, 351 views)
File Type: conf dnsmasq.conf (21.1 KB, 254 views)

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

Hi,

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

Thanks
Reply With Quote
Reply

Tags
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 04: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 02:31 PM


Current GMT-time: 19:50 (Saturday, 23-08-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

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