I’m trying to setup a wireless AP with my old asus eeepc, so it can act as a repeater to connect my android device on the other end of the apartment.
I’ve already created the Wireless Access Point using hostapd. It took very little configuring, just changed from mode ‘a’ to ‘g’ and changed the channel from 60 to 1 and It was all set.
Next I setup a dhcp server. Also simple enough using yast.
Up to this point, I was able to connect my android device to the newly created wireless network. However It doesn’t have internet access. I guess I have to configure iptables for this, but I find it incredibly confusing!
Here are a few specs to help with any examples:
The laptop is connected to the internet through eth0 with IP 192.168.2.120
Hostapd is using wlan0, and I’m pretty sure it created mon.wlan0
So, to sum up, when I connect my android device to the network I can, for instance, see what ever pages apache is currently serving on the laptop, but can’t access the internet.
On 08/07/2011 04:16 PM, evilnoxx wrote:
>
> Hi there,
>
> I’m trying to setup a wireless AP with my old asus eeepc, so it can act
> as a repeater to connect my android device on the other end of the
> apartment.
>
> I’ve already created the Wireless Access Point using hostapd. It took
> very little configuring, just changed from mode ‘a’ to ‘g’ and changed
> the channel from 60 to 1 and It was all set.
> Next I setup a dhcp server. Also simple enough using yast.
>
> Up to this point, I was able to connect my android device to the newly
> created wireless network. However It doesn’t have internet access. I
> guess I have to configure iptables for this, but I find it incredibly
> confusing!
>
> Here are a few specs to help with any examples:
> The laptop is connected to the internet through eth0 with IP
> 192.168.2.120
> Hostapd is using wlan0, and I’m pretty sure it created mon.wlan0
>
> So, to sum up, when I connect my android device to the network I can,
> for instance, see what ever pages apache is currently serving on the
> laptop, but can’t access the internet.
If you look in the wireless forum, there is an article on how to set up an AP
using hostapd. It includes the commands needed to forward packets from the AP
section to the rest of the world.