You are not logged in.

#1 2012-09-13 16:36:10

janoliver
Member
Registered: 2011-06-01
Posts: 54

Make my Laptop a Wifi Hotspot with dhcp server that bridges internet

Hi, I have the following situation: My laptop is connected via eth0 to the internet and is assigned an ip address by the router on eth0. I read the article about the Software Access Point in the wiki, but it seems like the standard solution, a bridge between eth0 and wlan0 and hostapd, only bridges the interfaces, and the ip adresses for the devices that are connected to my access point are still assigned by the router attached to eth0.

I, however, can only have one ip address on eth0. So I want to reach the following: I want my computer to work as a wifi access point that uses its own dhcp server to assign the ip addresses to the clients and, at the same time, bridge the internet from eth0. So the clients, though in the subnetwork of my new access point, should have internet access. It is something like the wifi tethering on, for example, android.

What software do I need? Is there any tutorial to set something like this up?

Thanks in advance, Jan Oliver

Offline

#2 2012-09-13 22:02:02

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,542

Re: Make my Laptop a Wifi Hotspot with dhcp server that bridges internet

Not all wifi adapters like being an AP. 
I use a dhcpd and iptables for the other way around (a wifi client, and a shared connection through wired).
Tethering is enabling internet access through your phone to your computer and it limited by bandwidth. 
You can't bridge wlan0 and eth0, you can route however.


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

Board footer

Powered by FluxBB