LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   how can I turn my linux laptop into a wifi hotspot? (http://www.linuxquestions.org/questions/linux-networking-3/how-can-i-turn-my-linux-laptop-into-a-wifi-hotspot-855887/)

james_larson 01-12-2011 02: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 04:03 PM

Try this: http://www.howtoforge.com/wifi_hotspot_setup

jackcholt 04-03-2012 02: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 02: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:

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

TobiSGD 04-03-2012 03:07 PM

Try this, it is for debian but should work with Ubuntu, too: http://agentoss.wordpress.com/2011/1...-debian-linux/

rich_c 04-03-2012 03: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 03:44 PM

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


All times are GMT -5. The time now is 04:27 PM.