Ad Hoc to Infrastructure (Readable post)

Denis Vlasenko vda
Mon Oct 3 02:24:32 PDT 2005


On Sunday 02 October 2005 10:36, Rahul Long wrote:
> Hi Everyone,
>                    I needed some advice on how to set up a adhoc to 
> infrastructure gateway. I have 2 wireless cards in the same laptop (Dell 
> Latitude) and am running Linux FC4 2.6.12 kernel.
> wlan0 (Netgear MA401, Prism 2.5) is in hostap (master) mode at 192.168.1.1 
> and the second wireless nic eth0 (Dell Truemobile 1150) is at 192.168.2.1 in 
> Ad Hoc mode. eth0 uses AODV-UU-0.9.1 to network and route with other PCs on 
> 192.168.2.0/24.
> 
> I tried setting "192.168.2.1" and "192.168.1.1" on each Nic to be the 
> default gateway for each of those networks. though the laptop saw both 
> networks the other PC's on the AD hoc network did not see the 192.168.1.0/24 
> network.

Because they were not told that 192.168.2.0 is their default gateway.

Show the ip addr and routing config of to-be-router box and of client boxes.
("ip a l; ip r l" for linux)
--
vda




More information about the Hostap mailing list