Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 11-22-2012, 02:10 AM   #1
Registered: Jul 2012
Posts: 54

Rep: Reputation: Disabled
Problem creating WiFi hotspot from fedora 17.

Can anyone please help me to create adhoc network in fedora as in windows.
Old 11-23-2012, 11:30 AM   #2
Senior Member
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled

the authentication is done with the hostapd daemon. If the client has a static IP-adress you will need no DHCP-server. As the DNS-server use the same server as the fedora-computer. Enable ip_forwarding with
echo "1" > /proc/sys/net/ipv4/ip_forward
bring the wlan up with the desired IP-adress (which then also is the gateway for the clients)
ifconfig wlan0 up
Configure NAT
ptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
(if the Computer has an internet-connection at eth0).
Then start hostapd (it's a daemon, take a look at the documentation for Fedora). Be sure to have the correct /etc/hostapd/hostapd.conf file, but there are several explanations in the internet.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating linux wifi hotspot to share pc internet with android galaxy ace, dsnt detect bhupinderjitbawa Linux - Wireless Networking 1 06-17-2012 04:21 PM
WiFi can't switch the connection to wifi hotspot when already connect to an AP pologuy Linux - Wireless Networking 2 08-02-2011 03:05 AM
DHCP: Problem creating Private Network using 3G modem, fedora(DHCP) and wifi router sd|| Linux - Networking 1 07-23-2011 06:12 AM
wifi works:how to connect to hotspot,with console?alternative to wifi-wiz assistant? frenchn00b Debian 7 10-30-2009 12:31 PM
linux wifi hotspot right for me? henrikwidth Linux - Wireless Networking 4 05-30-2006 02:06 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:39 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration