Sandeep Khanna
2007-Apr-18 17:22 UTC
[Bridge] connecting PDA (wlan) to Linux laptop with bridged connections (eth + wlan) ...
Hi All, After hours of reading and trials, I got the following setup working... 1. Dell Axim X30 PocketPC with 802.11b wireless using DHCP with Open WEP -- successfully connected to --> 2. Laptop with DLink Airplus DWL-650+ PCMCIA wireless with ndiswrapper v1.1 driver with network bridge (wired + wireless) and running a DHCP server listening on interface br0 (eth0 + wlan0) Here is the situation: - The Dell Axim X30 PDA shows connected to the laptop in Ad-Hoc wireless mode. - It successfully gets an MAC address based IP address from the DHCP server running on the laptop. - I can successfully ping the PDA (10.3.2.209) from the laptop(10.3.2.175). - I can successfully ping the laptop(10.3.2.175) from the PDA(10.3.2.209). - When I open a browser on the PDA and try to open www.dell.com, tcpdump shows the following: 16:26:09.XXXXXX arp who-has 10.47.12.29 tell 10.3.2.209 16:26:10.XXXXXX arp who-has 10.47.12.27 tell 10.3.2.209 The above shows: time | protocol | who-has | Nameserver | tell | source IP address (PDA) - Internet browsing using the above Nameservers(10.47.12.29, 10.47.12.27) works on the laptop but apparently the PDA doesn't seem to even know about the Nameservers(10.47.12.29, 10.47.12.27)!! Going forward, if the above the setup works then, I would be able to browse Internet, use ActiveSync and more on my PDA not only in office (laptop eth0 active) but also at home (laptop wlan0 active). Any ideas? Any solutions? -Sandeep Khanna
Stephen Hemminger
2007-Apr-18 17:22 UTC
[Bridge] connecting PDA (wlan) to Linux laptop with bridged connections (eth + wlan) ...
On Tue, 29 Mar 2005 16:43:11 -0500 "Sandeep Khanna" <sandeep.khanna@villanova.edu> wrote:> Hi All, > > After hours of reading and trials, I got the following setup working... > > 1. Dell Axim X30 PocketPC with 802.11b wireless using DHCP with Open WEP > > -- successfully connected to --> > > 2. Laptop with DLink Airplus DWL-650+ PCMCIA wireless with ndiswrapper > v1.1 driver with network bridge (wired + wireless) and running a DHCP > server listening on interface br0 (eth0 + wlan0) > > Here is the situation: > - The Dell Axim X30 PDA shows connected to the laptop in Ad-Hoc wireless > mode. > - It successfully gets an MAC address based IP address from the DHCP > server running on the laptop. > - I can successfully ping the PDA (10.3.2.209) from the > laptop(10.3.2.175). > - I can successfully ping the laptop(10.3.2.175) from the > PDA(10.3.2.209). > - When I open a browser on the PDA and try to open www.dell.com, tcpdump > shows the following: > > 16:26:09.XXXXXX arp who-has 10.47.12.29 tell 10.3.2.209 > 16:26:10.XXXXXX arp who-has 10.47.12.27 tell 10.3.2.209 > > The above shows: > time | protocol | who-has | Nameserver | tell | source IP address (PDA) > > - Internet browsing using the above Nameservers(10.47.12.29, > 10.47.12.27) works on the laptop but apparently the PDA doesn't seem to > even know about the Nameservers(10.47.12.29, 10.47.12.27)!! > > Going forward, if the above the setup works then, I would be able to > browse Internet, use ActiveSync and more on my PDA not only in office > (laptop eth0 active) but also at home (laptop wlan0 active).Since you only really want to handle one device and a limited range of protocols you probably would have better success with routing and/or socks. The problem is that most wireless interfaces don't allow source address spoofing.