Wolfgang S. Rupprecht napisa³(a):
> Booski Cinek <(E-Mail Removed)> writes:
>> I would be more than happy if I could pass *all* traffic between
>> wlan0 and wlan1 (raw frames?), so I could see on my home computers
>> every Access Points that can be seen by wlan0 and connect to them,
>> but I will be also happy when I'll be able to connect with AP_Master
>> only.
>
> Depending on your OS, there may be a bridge device you can configure
> to do this. Look for "br0".
I'm using linux and I have already tried to make a wlan0-wlan1 bridge.
It doesn't work.
> The simplest way to share the connection is probably to just run NAT
> on your internal networks
Hmmm...I'm already under one NAT (my provider's NAT). Anyway, I tried to
mess with NAT. Here's what I did on my HostAP box:
echo 1 > /proc/sys/net/ipv4/ip_forward
iptables -F
iptables -F INPUT
iptables -F OUTPUT
iptables -F FORWARD
iptables -F -t mangle
iptables -t mangle -X
iptables -F -t nat
iptables -t nat -X
iptables -X
iptables -P INPUT ACCEPT
iptables -P OUTPUT ACCEPT
iptables -P FORWARD ACCEPT
wlan0 (master AP client) address: 192.168.1.194 (gateway 192.168.1.1)
wlan1 (home AP) address: 192.168.230.1
DHCP server with addresses from the same class (192.168.230.x)
#route
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.230.0 * 255.255.255.0 U 0 0 0 wlan1
192.168.1.0 * 255.255.255.0 U 0 0 0 wlan0
default 192.168.1.1 0.0.0.0 UG 0 0 0 wlan0
1. I can ping the Internet from HostAP box
2. I can ping the gateway form HostAP box
3. I can ping my home computer connected to wlan1 AP
4. I can ping my wlan1 AP from my home computer
5. I can ping my wlan0 (192.168.1.194) from my home computer
6. I can't ping the gateway (192.168.1.1) from my home computer
Any ideas?
> (wlan1 or even eth0 if you start using
> that).
No way. I want wifi only, no ethernet.
--
|3 0 $ |< ! < i N e |<
=========================
"make install, not love!"
http://boskastrona.xhejn.org