-   Linux - Networking (
-   -   how can I turn my linux laptop into a wifi hotspot? (

james_larson 01-12-2011 03:55 PM

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?

thebombzen 01-12-2011 05:03 PM

Try this:

jackcholt 04-03-2012 03:17 PM

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.

headrift 04-03-2012 03:56 PM

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

TobiSGD 04-03-2012 04:07 PM

Try this, it is for debian but should work with Ubuntu, too:

rich_c 04-03-2012 04:34 PM

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.

WizadNoNext 04-03-2012 04:44 PM

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

All times are GMT -5. The time now is 12:01 AM.