reverse bluetooth tether? - G1 General

Hi.
I'm trying to use my G1 with the bluetooth pan network from my computer or from my mogul (which has an unlimited data plan) to go to the internet instead of using wifi to be more energy efficient.
So far, using wifi tether's bluetooth option, I manage to establish a pan network between my G1 and the computer running windows. However, traffic is not routed properly, I get "network unreachable" from the terminal when I try to ping something outside the local pan network.
Any ideas?

you cannot access the interwebs on your G1 from a network on your computer. you cannot reverse tether. it is not possible at this time, please people stop posting about this stuff
if you had searched you would have seen that it can't be done and you would have found a thread where theyare trying to get it working

I know it is not possible at this time, hence my post here.
I need someone with linux networking knowledge to have a look into this, the android platform is a bit peculiar to me, ifconfig is behaving differently on it then it does on a regular linux distro. I need help setting up the right dns entries, figuring out where they are stored in Android (resolv.conf? a property set using setprop?), etc...
The idea is to have Android connect to an existing bluetooth access point. Everything is there to do it, pand is working, a virtual bluetooth network adaptor can be created, I can even give it a proper ip address and I manage to ping it from the access point and I can ping the access point from android...
This is the perfect forum to post such a question.
Anyone else with a more useful comment?

stanelie said:
I know it is not possible at this time, hence my post here.
I need someone with linux networking knowledge to have a look into this, the android platform is a bit peculiar to me, ifconfig is behaving differently on it then it does on a regular linux distro. I need help setting up the right dns entries, figuring out where they are stored in Android (resolv.conf? a property set using setprop?), etc...
The idea is to have Android connect to an existing bluetooth access point. Everything is there to do it, pand is working, a virtual bluetooth network adaptor can be created, I can even give it a proper ip address and I manage to ping it from the access point and I can ping the access point from android...
This is the perfect forum to post such a question.
Anyone else with a more useful comment?
Click to expand...
Click to collapse
[MORE USEFUL COMMENT] post in the threads that are already discussing this topic rather than posting a new thread[/MORE USEFUL COMMENT]

You use the term "linux distro". Now, I know I may be beating a dead horse here, but linux is just the kernel--the rest is GNU software. Many things are going to behave differently on Android.

Exactly, what works in Fedora 10 possibly will not work in android... (and thats giving some ambition there.....)

that's exactly why I am asking here instead of elsewhere.
To tubaking182 : the really usefull answer would have been to give me a link to the right thread instead. The search features of this forum sucks.
Thanks anyway.

Hi stanelie,
I too am very interested in doing this VERY same thing. I've also searched and come up empty handed. If there is anyone out there with more information that could help please feel free to post. Thanks in advance.

I'm sorry some here do not like people asking questions but I too would very much appreciate REVERSE BLUETOOTH TETHER functionality for my Android phone. Despite what tubaking182 so very helpfully writes above (thank you ever so much!) there remains no EASY solution for this.
I will happily pay for an easy to install, reliable Android Market app that does this. I think lots of others will too.
So that there is no misunderstanding I wish to connect my phone as a Bluetooth PAN client to a Bluetooth PAN server. The server functionality is NOT required.
Thanks,
Paul

Related

Getting into a wireless network without the WEP key

My friend was boasting about how secure his network is and how nobody could ever hack into it. I am able to pick it up on my Universal, but it asks me for the WEP code. It would be very funny if I could use his connection after all his boasting :twisted: ! So, is there any app that can do this - perhaps by guessing all possible combinations until it gains access, or any other way?
Thanks
WEP is an older security method that has been proven to be hackable and especially true if the 64-bit version is being used.
There are tools around to hack WEP security, but I doubt it is for PPC. Even for PC, it requires some drivers for the wireless card, and a lot of the wireless card are not supported, including Centrino.
Lets assume that you have the appropriate equipment. Depending on the key size your friend used, e.g. 64 / 128 bits, you are required to be there to capture enough data (approx 500Mb for 128bits, I think) to get enough 'clue' to decode the key being used.
Finally, lets assume you had the key. You boasting friend may have a second layer of protection with wireless MAC address filtering, which filter out un authorized units based on MAC address. Of cource, MAC address can be spoof, but doubt there are any easy method of PPC unit yet.
You need another laptop as well as the PPC.
Download and install: Auditor: http://www.remote-exploit.org/index.php/Main_Page it is basically a boot from CD Linux with just the tools you need to 'probe' networks. use the PPC to find the Mac address, SSID and channel. Then fire up the laptop and start using all the tools to crack the WEP. The more data going over the network, the faster the apps will be able crack the WEP code. If enough data is flowing through the router, it is possbile to crack a 128 bit WEP in 10-20 minutes. If you have two laptops, you can get the other one to talk to the router (with spoofed MAC) to increase the data.
As already mentioned, all this depends if your card is supported by the apps, and can be put in silent mode (if you don't want to draw attention to yourself)
Of course, it is much easier just to walk 50 yards down the street and find an unsecured network for your free Skype calls.
cough.
/Mad
Thanks for the help. How would I find the chennel and MAC address with my universal?! I just want to get into my friends as a joke, and so finding another network wouldnt be much help!!
Thanks
6680abhi said:
Thanks for the help. How would I find the chennel and MAC address with my universal?!
Thanks
Click to expand...
Click to collapse
Mine is german, so my translations may be wrong
From the start menue
-> Settings
-> connections
-> Wireless-LAN
There you'll find the information you are looking for.
Do you have some experience with Linux? It's a bit more complicated than Windows Mobile
AFAIK for Wep cracking there are also a couple of programs for PocketPC existing which can do this within minutes.
but this depends strongly on the WLAN hardware.
Search in google for this.
BlackICE said:
AFAIK for Wep cracking there are also a couple of programs for PocketPC existing which can do this within minutes.
but this depends strongly on the WLAN hardware.
Search in google for this.
Click to expand...
Click to collapse
Thanks for the help. I have serached on google, but am unable to find a wep cracking application for ppc. Could you perhaps give me a link to one?
Thanks
look here:
http://www.google.com/search?num=30...esnum=0&ct=result&cd=1&q=wlan+sniffer&spell=1
Thanks again, but could you please be more specific with an application, and post a link to the application, as I was unable to find anything by clicking on the google search you posted.
Thanks
6680,
it is easyer to use a notebook, preferrably with two Prism2 based network cards, and boot WHAX from a CD.
Let that run for some time and it'll find the WEP key for you.
It took more than 30 hours to get the key for my neighbours WLAN :?
I did not post you more specific links, as I have to look myself through all these links. Actually, some of the Wlan sniffer programms do have also a PocketPC version.
Actually, it is far more easier to use a notebook than a pda. Also I doubt that there is any program around, which is fully supporting the Wlan hardware of the Universal. At least this was the case half year ago.

Universal as wireless accespoint?

I travel by train pretty much, and I have a HTC Universal. Since I can make use of UMTS i was wondering if i could let my universal act as an accespoint, so that i can use it as router for my Nintendo DS to play online in the train. Is there some way to do this?
Its possible, using a java program to add router software to your universal. Try googling it a bit.
Surur
Hey if you find something keep us posted will ya?
i can only find lots of Telnet clients and tutorials how to connect your ppc to a router ~ ___~);;' no luck yet.
oops i cried too early Xp I found it
http://www.pocketpcmag.com/blogs/index.php?blog=3&p=453&more=1
The first part says:
Just get the HTTPSnoopProxy.class file, copy it to, say, the root of your "access point" Pocket PC and get a decent Java Virtual Machine (I recommend CrEme 4.00 because of its superior speed, reliability and moderate memory consumption).
Seems like only web surfing will be allowed.
I got an idea when i saw this line in the link you provided:
"To share an Internet connection, you'd need operating system-level support for connection sharing as is present in, say, the desktop Windows"
I bet Linux has this. And since some smart people here has managed to get linux running on the Universal this might just be possible.
Is there anyone reading this with some linux knowlage that knows how to set this up in linux?
maicrosoft said:
oops i cried too early Xp I found it
http://www.pocketpcmag.com/blogs/index.php?blog=3&p=453&more=1
The first part says:
Just get the HTTPSnoopProxy.class file, copy it to, say, the root of your "access point" Pocket PC and get a decent Java Virtual Machine (I recommend CrEme 4.00 because of its superior speed, reliability and moderate memory consumption).
Click to expand...
Click to collapse
Have you tried it? If so does it work?
I would love to setup my Jasjar as a WiFi access point using 3G, now that Vodafone IE have an unlimited 3G data plan.
How about making some sort of quasi proxy/(repeater or relay) site on a home PC?
I'm thinking of some way to pass parameters as part of the URL for port forwarding to a proxy site that forwards to the intended destination site.
would you enjoy gaming on your DS with 200msec ping times? UMTS is fast but ping times are almost as high as GPRS's...
I this this would be a great project for someone like vjay, I'd certainly pay for an app that lets me use my universal as a wireless access point.
ppeettee said:
I this this would be a great project for someone like vjay, I'd certainly pay for an app that lets me use my universal as a wireless access point.
Click to expand...
Click to collapse
SAME HERE!!
I've been looking for a thread like this for a long time now and finally found it!
Otherwise I've would've made one myself with the same question..
Is there any progress about this issue?
Plz let me /us know...
kchris said:
would you enjoy gaming on your DS with 200msec ping times? UMTS is fast but ping times are almost as high as GPRS's...
Click to expand...
Click to collapse
Well, I'd say it depends on the GSM operator. My UMTS ping times (Europe) are generally (well) under 100 ms.
hlc1971 said:
SAME HERE!!
I've been looking for a thread like this for a long time now and finally found it!
Otherwise I've would've made one myself with the same question..
Is there any progress about this issue?
Plz let me /us know...
Click to expand...
Click to collapse
Not yet. I'm, however, pushing Microsoft (in internal forums) very hard to implement REAL connection sharing - some kind of an extended version of the AKU3+ Internet Sharing tool.
Isn't internet connection sharing enabled in Crossbow?
V

Cingular 8525 - various connection problems, app specific

Ok, I've recently purchased a 8525 from Cingular Wireless (USA), because I liked the phone and it's a good management tool. My only complaint is I play a mud game (ooh... yeah... mudgame ) here at http://www.dsl-mud.org , now I work for a large banking institution and more often than not, I find myself with too much time on my hands. I've spent two weeks searching for possible fixes to this, but I cannot seem to connect to the telnet to play it. If I use Terminal Client Services, I can connect to the server, which I am not the owner of DSL and have no access to it. If I try to put in the port # (mud.dsl-mud.org:4000 or www.dsl-mud.org:4000) it won't recognize the port because of the : I've tried upgrading the .NET Framework... to no avail as well.
Also, problem #2 is my Pocket MSN, which works great, I really do love the app, but after about a minute, I can send messages but not recieve any.... any ideas (Before and after .NET Framework update)
Edited to add this:
Also, using bluetooth connection, I cannot seem to connect to my brother's RAZR V3 phone to send files etc. The two will recognize eachother but it only shows "Dialup Networking" as the services available
The phone is the Cingular 8525 (hermes), no 3rd party app's except for the multiple telnet clients I've tried... is it possibly a registry edit I need to do?
Thanks in advance (I asked here because after searching through multiple forums, you guys seem to be the most knowedgeable/helpfull)
Hallo and welcome to the forum DSLMulassassin.
Unfortunately I am not competent to answer your question(s).
I just wanted to say that often more answers are gained when the thread title gives fairly specific info on the problem. So where people might not look at a thread called "a little confused here" they might open a thread called "problems connecting to telnet". This also helps greatly when people search based on thread titles. So if you get good answers, folks doing future searches on "telnet" will benefit as well.
Hope you get some replies
Mike
Yeah, you're correct Mike, just it's late and I couldn't think of a better topic, but you are 100% right.
Fixed bluetooth problem
For Terminal Services, frankly, upgrade to Crossbow, or search around for the registry hack that lets you specify a custom port. Can't remember it off hand, it might be in the wiki. Fuzzy search for it, or google the site.
V
Vijay -
While I agree that upgrading to Crossbow would probably be better, I do not feel like flashing my ROM, I say that because I am too new to this, and do not want to risk Bricking my device... maybe when I've read over everything for a few more weeks and feel comfortable that I know what I'm doing. Do you think it might be a registry setting blocking ports?

Android basic WiFi tether - new project

Hello everyone,
I'm a computing student and Ive got the task to develop a basic version of the WiFi router found here: http://code.google.com/p/android-wifi-tether/
Ive learned to program in Java during my 3 years of college and I consider that Ive got the basics covered but Im really bad at programming.. I am willing to learn a lot more to complete this project and in the process Im also planning to learn some serious programming skills considering the complexity of the application development.
Can someone please bring some light on this and help me with it? I actually dont even know where to start coding for this. All I managed to do in the last 24h is to find the below websites but I dont know how to put everything together and start coding. Ah, and I want to mention that once I finish it I will share it with the open source community, not looking for any profit. Its just a college project for me. Thanks in advance for any help that anyone can give me!
Android Developers
http://developer.android.com/
Wireless Tether for Root Users (Opensource)
http://forum.xda-developers.com/showthread.php?t=486767
Tethering my laptop with android
http://forum.xda-developers.com/showthread.php?t=577590
Tetherbot
http://graha.ms/androidproxy/
Tethering VIA USB - Install and troubleshooting
http://forum.xda-developers.com/showthread.php?t=443025&highlight=tether
tether Wifi
http://www.androidactivity.com/tetherWifi.html
iptables
http://www.netfilter.org/projects/iptables/index.html
Dnsmasq
http://www.thekelleys.org.uk/dnsmasq/doc.html
and of course wikipedia
http://en.wikipedia.org/wiki/Tethering
Well this is a functionality scenario for it. Id appreciate if one of the experienced programmers would give an opinion on it. Thanks!
#1 User starts the program by tapping the app icon.
#2 Code to check for Internet connection over GSM network (check gsm state. if off, go to 3. if on go to 7)
#3 Code to send instructions to the GSM modem to establish an internet conection.
#4 If the connection cant be established due to various technical errors like no signal, wrong APN settings etc then 5
#5 Code to show info message on the screen to inform user
#6 Once the device has a valid internet connection(check) then 7
#7 Code to show settings to user and allow customization of SSID (network name). [and security key(optional for now, we'll do it later if we have time)]
#8 The user presses the start button.
#9 Code to activate the wifi card in adhoc mode and broadcast the adhoc chosen SSID
#10 Code to accept connection from a valid device and communicate with it over wifi
#11 Code to share the established internet connection over GSM network with the device connected over wifi
Hi!
I'm one of the authors of "Wireless Tether for Root Users".
What means "a basic version of the WiFi router"?
You know that most wifi-interface-drivers of android-devices do not support master-mode which would be mandatory to implement a "wifi router/access-point" (that's the reason why we support adhoc-mode only)?
Harry
harry_m said:
Hi!
I'm one of the authors of "Wireless Tether for Root Users".
What means "a basic version of the WiFi router"?
You know that most wifi-interface-drivers of android-devices do not support master-mode which would be mandatory to implement a "wifi router/access-point" (that's the reason why we support adhoc-mode only)?
Harry
Click to expand...
Click to collapse
Hi Harry, I appreciate the reply, thanks a lot!
"a basic version of the WiFi router" means a functional application that will run on an android phone (hopefully not rooted), will accept an ad-hoc connection with another wifi device over wifi and share its built in Inet conneciton with the device that connects to it. If I manage to get this running within 3 weeks I will complete the project in time.
I didnt know about the android wifi-interface-drivers..I was planning to try and develop this (hopefully successful app) into a proper wifi router (the full version) as my last year project, but now that plan is down the drain
Could you please help me start this? Where did u start when u actually started coding for this project? Any advice you can give me will be very welcome!
Cheers m8, have a good weekend!
harry_m said:
Hi!
I'm one of the authors of "Wireless Tether for Root Users".
What means "a basic version of the WiFi router"?
You know that most wifi-interface-drivers of android-devices do not support master-mode which would be mandatory to implement a "wifi router/access-point" (that's the reason why we support adhoc-mode only)?
Harry
Click to expand...
Click to collapse
Hi Harry,
By ad-hoc mode do you mean that the phone has to be rooted?
My understanding is that there is no way to have GPRS/3G running at the same time as a WiFi connection on the normal Android OS on a non rooted phone?
@atl4ntys,
Nice to see another Irish developer on Android
What your trying to do in 3 weeks seems like a big task and the normal Android SDK wont be much help for the reason I have stated above unless you root the phone.
cheers draffodx, I appreciate the interest!
Abt your question, to my knowledge wifi can run at the same time with 3g on a stock non rooted phone but it will not run in adhoc/ap mode. Unless some found a workaround that.. I'd prefer to develop a very basic app that will run on any android but if it proves to be an impossible task (also given the dev time available) then I will be happy with a function one on a rooted android. Dont need security and fancy graphics I just need it to work, so Im sure between me and my project partner we'll get it done (hopefully with a bit of help from the android devs)
Have you got any resources for how to run 3G and Wifi at the same time?
Its something I need to be able to do and from a few days research it seems that the OS only switchs between Wifi and 3G and never runs both at the same time.
From the SDK API's I cant find anything allowing me to turn both 3G and Wifi on.
Can you also define what you mean by adhoc/ap mode?
Thanks
draffodx said:
Have you got any resources for how to run 3G and Wifi at the same time?
Click to expand...
Click to collapse
No, not yet.
draffodx said:
From the SDK API's I cant find anything allowing me to turn both 3G and Wifi on.
Click to expand...
Click to collapse
I havent looked into it properly yet. Maybe Harry will answer or if not, try here: http://forum.xda-developers.com/showthread.php?t=474470
draffodx said:
Can you also define what you mean by adhoc/ap mode?
Thanks
Click to expand...
Click to collapse
Adhoc is computer to computer connection, without an access point. Info here: http://compnetworking.about.com/cs/wirelessfaqs/f/adhocwireless.htm
ap is an access point
The difference is(wiki):
Wireless Access Point vs. Ad-Hoc Network
Some people confuse Wireless Access Points with Wireless Ad-Hoc networks. An Ad-Hoc network uses a connection between two or more devices without using a wireless access point: the devices communicate directly when in range. An Ad-Hoc network is used in situations such as a quick data exchange or a multiplayer LAN game because setup is easy and does not require an access point. Due to its peer-to-peer layout, Ad-Hoc connections are similar to Bluetooth ones and are generally not recommended for a permanent installation.
Internet access via Ad-Hoc networks, using features like Windows' Internet Connection Sharing, may work well with a small number of devices that are close to each other, but Ad-Hoc networks don't scale well. Internet traffic will converge to the nodes with direct internet connection, potentially congesting these nodes. For internet-enabled nodes, Access Points have a clear advantage, being designed to handle this load.
Thanks for that atl4ntys!
If you get wifi & 3G working at the same time let me know it would be very interesting.
Good luck with the project
draffodx said:
Thanks for that atl4ntys!
If you get wifi & 3G working at the same time let me know it would be very interesting.
Good luck with the project
Click to expand...
Click to collapse
hey draffodx, wifi and 3g do work in the same time but the wifi works in client mode not adhoc. the catch is to find out how to get it to work in adhoc mode while an inet connection is established over gsm
*1st post edited. Added possible functionality scenario opinions anyone? Thanks!
Hey atl4ntys,
How are you getting on with this?
draffodx said:
Hey atl4ntys,
How are you getting on with this?
Click to expand...
Click to collapse
hey draffdox,
I managed to get it working in the end but I had to base my code on harry's 9.3 http://code.google.com/p/android-wifi-tether/source/browse/#svn/branches/0.9.3
If u want to see my final report, wait a few days as I will upload it online somewhere.
cheers, have a good weekend!
atl4ntys said:
hey draffdox,
I managed to get it working in the end but I had to base my code on harry's 9.3 http://code.google.com/p/android-wifi-tether/source/browse/#svn/branches/0.9.3
If u want to see my final report, wait a few days as I will upload it online somewhere.
cheers, have a good weekend!
Click to expand...
Click to collapse
Thanks for that atl4ntys, excellent read, its a pity it still cant be done on a non rooted phone
Hey guys,
It's nice to meet some Irish People on this forum,
good luck with the project.
Sorry I can't add anything but I am an Android Developement newbie.(aswell as a java newbie)
I can't wait to see the app.
harry_m said:
I'm one of the authors of "Wireless Tether for Root Users".
Harry
Click to expand...
Click to collapse
Hi Harry, i'm using your software, all work fine except i have to use "proxoid" to re-write the user-agent. When not using it, no web surfing for my computer is impossible.
The problem is Poxoid is written in java, and slow down the internet connection from the phone. I'm downloading at about 100kB without proxoid, and only 20-30KB with.
I'm asking you if you know another program that does same thing (user agent rewriting) , easy to install for rooted android phones, or why not include that fonctionnailty to Wifi Tether?
Thanks for Wifi Tether, nice program !
is this - (the above posts)
a form of uma or gan???
mikob2d said:
Hi Harry, i'm using your software, all work fine except i have to use "proxoid" to re-write the user-agent. When not using it, no web surfing for my computer is impossible....
Click to expand...
Click to collapse
Hey mikob2d, I think its best if u send him a private msg or if u contact him here http://code.google.com/p/android-wifi-tether/
Don't think he's monitoring this thread anymore
Rptynan said:
Hey guys,
It's nice to meet some Irish People on this forum,
good luck with the project.
Sorry I can't add anything but I am an Android Developement newbie.(aswell as a java newbie)
I can't wait to see the app.
Click to expand...
Click to collapse
hey 2u2 and welcome here but I finished this project and will not release an open source or a commercial app. The project was way harder than I expected and I had to base my app on Harry's harry's 9.3 version of the app.
I sent u2 a pm with a link to the final technical specs. Hope you'll find the info useful

Creating a cisco VPN app

I know they may be some work around and other aspects of getting cisco to work, but I am thinking about attempting to develop an app for cisco VPN connections, it looks like thats what most companies use and would catch on like wildfire, can anyone tell me if this is even possible, or where I might start, or want to help with the build. PM me or message me back on here...thanks Guys..
Not a coder so I cant help you in any real sense, but I'm just posting to show my interest in you developing such an app.
I think it's a great idea, but if I was going to do it, I would focus on the tablet market.
When I was an employed programmer (LOL), we would use VPN ALL the time to log into work and fix things or even Remote Desktop into a Terminal Server or our own desktops.
I just can't see running a PC from the screen size of a phone vs. that of a tablet.

Categories

Resources