Posts: 14 | Thanked: 2 times | Joined on Jan 2009
#1
Hi,
I'm a newbie and I need some help regarding ad-hoc networking in tablets. The scenario is this:
I have 3 tablets. I establish an ad-hoc nw(using iwconfig) wid T1(tablet 1) and T2 connects to it. I tried connecting to T3 and it connects properly. But what I want is T3 should be connected to T2 which in turn connects to T1. I tried establishing another ad-hoc nw in T2 but then the exiting link with T1 gets cut. How can I connect T2 to T1 and then T3 to T2. Need some help.
 
tso's Avatar
Posts: 4,783 | Thanked: 1,253 times | Joined on Aug 2007 @ norway
#2
the thing about ad-hoc networks are that one uses a "computer" as a "hotspot" rather then a dedicated access point or router.

so no matter how you envision it, one device have to be the center of the setup. its one thing thats different between wifi and bluetooth (as there both parties in a connection are peers rather then one being "master").
 
Posts: 14 | Thanked: 2 times | Joined on Jan 2009
#3
Sorry I forgot to mention one point in the scenario:
T1 is connected to a computer (host) through usbnet and it has access to internet. T2 is connected to T1. My only concern is how to connect T3 to T2 and not T1.
 
speculatrix's Avatar
Posts: 880 | Thanked: 264 times | Joined on Feb 2007 @ Cambridge, UK
#4
I used ad-hoc all the time up till recently. The tablet is unusual in that

1/ it will automatically find the channel for the ad-hoc network, most systems need to have it set manually as there's no "master" as such
2/ the tablet will run the dhcp client to get an ip address, most systems won't, again because there's no master or controller.

You can kick off the ad-hoc connection at any point whether there's anything else there. I once proposed we could use this as the basis of a community mesh, but it would need a lot more devices around.

I used to use a linux firewall with a minipci card in ad-hoc mode as my access point. Good news: it was cheap and easy. Bad news: ad-hoc is limited to 10M unless you bend the rules. Bad news 2: the tablet can't do much in the way of power saving. Since I got a proper access point my battery life has risen immensely, it used to last maybe 2 hours, now it'll last 40 hours!

So, my recommendations
1/ set all the tablets to a fixed channel because you won't have a "server" if they're all tablets
2/ set all tablets to fixed IP addresses with fixed DNS resolver
3/ set the default route to the tablet acting as a gateway
4/ set the power output to minimum

HTH
Paul
__________________
Fujitsu U820, HTC Vision/G2/DesireZ, Nokia N800 770 E71, Zaurus 6000, Palm T3, Zaurus C3100 - stolen
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 17:08.