Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
01-12-2011, 02:55 PM
|
#1
|
|
Member
Registered: Jul 2009
Posts: 31
Rep:
|
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?
|
|
|
|
01-12-2011, 04:03 PM
|
#2
|
|
Member
Registered: Dec 2010
Location: Noneya Business
Distribution: Fedora 18
Posts: 54
Rep:
|
|
|
|
|
04-03-2012, 02:17 PM
|
#3
|
|
LQ Newbie
Registered: Dec 2011
Posts: 1
Rep: 
|
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.
|
|
|
|
04-03-2012, 02:56 PM
|
#4
|
|
Member
Registered: Sep 2005
Distribution: Gentoo, Sabayon, Puppy, Arch
Posts: 165
Rep:
|
...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).
|
|
|
|
04-03-2012, 03:34 PM
|
#6
|
|
Member
Registered: Apr 2008
Location: UK
Distribution: Mepis; Maemo; openSUSE
Posts: 384
Rep:
|
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.
|
|
|
|
04-03-2012, 03:44 PM
|
#7
|
|
Member
Registered: Nov 2009
Posts: 124
Rep:
|
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):
and then
Code:
hostapd -B /path/to/config/file/for/hostapd
then wait few seconds
No iptables, arptables, ebtables needed. It is just working
|
|
|
1 members found this post helpful.
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 11:16 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|