LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 01-12-2011, 02:55 PM   #1
james_larson
Member
 
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
thebombzen
Member
 
Registered: Dec 2010
Location: Noneya Business
Distribution: Linux Mint
Posts: 56

Rep: Reputation: 5
Try this: http://www.howtoforge.com/wifi_hotspot_setup
 
Old 04-03-2012, 02:17 PM   #3
jackcholt
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
headrift
Member
 
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:

http://www.linuxwireless.org/en/users/Drivers

...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.

https://wiki.archlinux.org/index.php...e_Access_Point

From there everything should Just Work(tm).
 
Old 04-03-2012, 03:07 PM   #5
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Gentoo, Slackware
Posts: 14,896
Blog Entries: 2

Rep: Reputation: 3810Reputation: 3810Reputation: 3810Reputation: 3810Reputation: 3810Reputation: 3810Reputation: 3810Reputation: 3810Reputation: 3810Reputation: 3810Reputation: 3810
Try this, it is for debian but should work with Ubuntu, too: http://agentoss.wordpress.com/2011/1...-debian-linux/
 
Old 04-03-2012, 03:34 PM   #6
rich_c
Member
 
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
WizadNoNext
Member
 
Registered: Nov 2009
Posts: 125

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


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are 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 08:59 PM.

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