LinuxAnswers - the LQ Linux tutorial section.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 01-12-2011, 02:55 PM   #1
Registered: Jul 2009
Posts: 31

Rep: Reputation: 0
how can I turn my linux laptop into a wifi hotspot?

ubunut 10.04, does anybody know how i can turn my ubuntu laptop into a wifi hotspot?
Old 01-12-2011, 04:03 PM   #2
Registered: Dec 2010
Location: Noneya Business
Distribution: Linux Mint
Posts: 56

Rep: Reputation: 5
Try this:
Old 04-03-2012, 02:17 PM   #3
LQ Newbie
Registered: Dec 2011
Posts: 1

Rep: Reputation: Disabled
LAPTOP Hotspot?

The link in the previous reply has to do with using a Linksys Router.

Still looking for the actual answer to the original question.
Old 04-03-2012, 02:56 PM   #4
Registered: Sep 2005
Distribution: Gentoo, Sabayon, Puppy, Arch
Posts: 165

Rep: Reputation: 29
...okay. I haven't done this for years, and it was with Slackware, but you'll need a wifi card that will go into "master" mode, hostapd, and probably to set up a bridge interface or do some iptables forwarding tricks.

For the first, run lspci and look for your wireless adapter's chipset number, and then go here:

...and see if there's a "yes" in the AP column. If not, you need a new wifi adapter.

After that, I'd look at this page. It's for Arch, but the basics will be the same for Ubuntu.

From there everything should Just Work(tm).
Old 04-03-2012, 03:07 PM   #5
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 16,657
Blog Entries: 2

Rep: Reputation: 4601Reputation: 4601Reputation: 4601Reputation: 4601Reputation: 4601Reputation: 4601Reputation: 4601Reputation: 4601Reputation: 4601Reputation: 4601Reputation: 4601
Try this, it is for debian but should work with Ubuntu, too:
Old 04-03-2012, 03:34 PM   #6
Registered: Apr 2008
Location: UK
Distribution: Mepis; Maemo; openSUSE
Posts: 384
Blog Entries: 74

Rep: Reputation: 81
Funnily enough, I'm potentially going to want to do something along these lines with a Red Hat/CentOS/Scientific* laptop...

*Depending on what I choose to go with.
Old 04-03-2012, 03:44 PM   #7
Registered: Nov 2009
Posts: 126

Rep: Reputation: 9
Use hostapd.
fisrt you need to put your eth0 to bridge
brctl addbr br0
ifconfig eth0
brctl addif br0 eth0
in hostapd you need to have line (preferably somewhere very close to top):
and then
hostapd -B /path/to/config/file/for/hostapd
then wait few seconds
dhclient -v br0
No iptables, arptables, ebtables needed. It is just working
1 members found this post helpful.


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
How to connect Acer Aspire One Linux Linpus to Wifi hotspot gazzelle Linux - Laptop and Netbook 3 01-06-2010 04:49 AM
wifi works:how to connect to hotspot,with console?alternative to wifi-wiz assistant? frenchn00b Debian 7 10-30-2009 12:31 PM
Can not turn on WiFi card in Ubuntu 8.10 in my hp dv5 laptop kasunbg Linux - Laptop and Netbook 5 09-04-2009 07:14 PM
Connect To Boingo Wifi Hotspot Using Linux nythacker Linux - Wireless Networking 5 06-16-2009 07:32 AM
linux wifi hotspot right for me? henrikwidth Linux - Wireless Networking 4 05-30-2006 02:06 PM

All times are GMT -5. The time now is 07:03 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration