yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] laff4fun:
Thanks! Tethering works great!

Many kudos to JF, Harry_m, and all the other Android developers! This app works great! It took a little while for me to get it to work - a few power off and power on cycles, but I absolutely got it to work!

A couple of hints for others who might be having some difficulty:

- Use the Windows drivers for your wireless card - I have a Netgear card (WG 511 v2)

and used its software/drivers and the laptop wouldn't connect.

- You might have to power down and power up your phone a number of times to get the changes "to take".

Thanks again! I had been taking my SIM chip out and moving it to my Nokia N80 phone and using it as a modem. However, it only connects to T-Mobile's EDGE network. Not only was it a hassle to take the chip out from one phone to another and back again, it was painfully slow!

Excellent work!

Phone:

JF1.42_RC33

HardSPL

Computer:

Windows XP SP3

Netgear WG 511 v2 - b/g card

Notes:

For newbies (and believe me, I absolutely include myself as one!):

Not to sound patronizing, but the purpose of this app is to allow you to connect your computer to the internet via T-Mobile's 3G Network. This app makes this possible by allowing the G1 to act as a WiFi Router, therefore you need a WiFi card or other way to access WiFi on your computer. On the phone, go to WiFI Tether and press "Start Tethering". When you look at the Networks that are available through Windows on your computer, you will see something like "Unsecured Network Access" - that is the network that you need to connect. Once that is done, you are good to go - in my case, it took a number of power off/power on cycles to get the whole process to work, but it definitely works! Don't be discouraged!
[G1 Android Development] newowner:
Hi,

I couldn't get the tether to work until I set my computer NIC to "Obtain IP address automatically." (Previously it was STATIC)

I love the way you can just add a computer by checking the box.

Great program - thank you :

parrothd - (shell-scripts for tethering - an excellent starting-point) http://xdaforums.com/showthread.php?t=474470

deviantdark - (iconset) http://www.gnome-look.org/content/show.php/Oxygen-Refit+2+-+Black+Version?content=83623

Eugene Ray - (iptables)

******

Only working with 2G in Hawaii, but its way faster than my "Optimized" webpages on the blackberry....

VISTA 32bit

Aloha,

newowner
[G1 Android Development] chain298:
I don't really know what's going on, I had no problems running the old tether 1.6 app before I updated to jf's rc33 but now whenever I try to tether with any app, my computer cannot find my G1. I haven't changed anything on my computer and I've even wiped my phone because I thought that may fix it but no luck. I know the app is working because my iPhone has no problems finding it and connecting but neither of my computers can find the G1. Any help is appreciated.
[G1 Android Development] yellow heel:
Thank you for the great app!!

Worked great!! but for some reason i was only getting 350kbps... what is 3G speed supposed to be?
[G1 Android Development] voixonline:
Works very good..

Did anybody have problems connecting using Ubuntu? A windoof vista pc works fine so does connecting using my old phone E90, but when connecting using the connection manager in ubuntu it seems to quit out while getting an IP.

I have tried a manual ip with (192.168.2.100 255.255.255.0 192.168.2.254) but with no luck..

dont think this is the TetherWifi which is not working but maybe something with my network card.

I have read from success stories connecting from linux, did anybody have similar problems?
[G1 Android Development] JanetPanic:
I have no problems tethering from Ubuntu 8.10 or Debian Sid.
[G1 Android Development] voixonline:
ok thanks - sound like its my "broadcom sta" network card or drivers, just pulled a different ubuntu pc from my magic hat and hey presto works no problems...
[G1 Android Development] zoid_99:
Very nice. Installed without an issues. I love the GUI and the notification icon. Is this doing anything different than what the script did? My speed test seem to indicate that this give me better results. Of course I'm testing at non-peak time.
[G1 Android Development] voixonline:
Ok just for the record it seams that the Broadcom BCM4328 (non open source) drivers for ubuntu dont support AdHoc or are buggy. using NdisWrapper drivers work fine...

All I have to do now is wait for sunny weather so I can go outside and tetherwifi in the park...
[G1 Android Development] netbus:
I am also using ubuntu 8.10 with broadcom nic and have the same problem then you. :mad:
[G1 Android Development] voixonline:
The try switching to the ndiswrapper version..

go here to get the download zip containing the drivers for the BCM4328 if you have a different card the try to download the windows drivers (you just need the .inf and .sys files)

http://ubuntuforums.org/showthread.php?t=616801

apt-get install ndiswrapper-utils-1.9
# load the driver
ndiswrapper -i (driver path and name).inf
modprobe ndiswrapper
# install them permanently
ndiswrapper -mi

if it doesnot work and

ndiswrapper -l

tells you that there is an ssb driver present then make a simple script that reloads the drivers in the correct order..

for example

create a file

sudo nano /etc/init.d/wlanFix

#! /bin/sh
rmmod ohci_hcd
rmmod ssb
rmmod ndiswrapper
modprobe ndiswrapper
modprobe ssb
modprobe ohci_hcd

chmod it

sudo chmod 755 /etc/init.d/wlanFix

create a runlevel runner to automatically start at boot

sudo ln -s /etc/init.d/wlanFix /etc/rc2.d/S99wlanFix

reboot

thats how i got mine to work
[G1 Android Development] waacow:
This works great. Another reason to love G1/Android.

Now i'm goingto get a netbook and it is gonna work get with G1.

This is my Edge speed from Home

Download Speed: 105 kbps (13.1 KB/sec transfer rate)

Upload Speed: 26 kbps (3.3 KB/sec transfer rate)
[G1 Android Development] metallicant:
Tethering at it's very finest for the G1. Seamless and error free. Doesn't get better then this. Thank you for creating this and yes for FREE. Who doesn't love the mighty G1 now?
[G1 Android Development] Autarkis:
Okay, I just got this running in 8 Minutes (!) under Debian Lenny.

As long as I can remember, what I did:

On G1:

download G1Tether APK

put on /sdcard

installed it via APK installer

turned off airplane mode (duh)

turned off "Use only 2G Networks" in Options.

switched on APN (via APNDroid)

startet app, clicked "Start Tethering"

On Linux box, as root

iwconfig eth2 essid "G1Tether"

iwconfig eth2 mode Ad-Hoc

dhclient eth2

Done. Worked instantly, without any fuss. Got very good transfer rates (didn't measure this time).

Laptop Computer wireless card was an Intel IPW2200, Kernel 2.6.27.8 .

HTC G1 US, JF 1.43 ADP1.1h flash with HardSPL and new radio.

Outstanding Job, I am in UTTER AWE of the quality of this seamless app. :eek: :cool: Thanks.
[G1 Android Development] Jeebster:
I don't exaclty get what tethering allows...Is it picking up a wifi connection to tether to a device or using wifi to send edge/3G data to a device?
[G1 Android Development] Autarkis:
It allows your WiFi-capable devices like your laptop to connect to your G1 as an Ad-Hoc station. The G1 then forwards all packets to the internet via 3G.

Usual at-home setup:

(Internet) = = = phone line = = = [ADSL modem] - - - WiFi - - - [laptop]

With G1 WiFiTether:

(Internet) * * * 3G wireless data link * * * [HTC G1] - - - WiFi - - - [laptop]

:)
[G1 Android Development] Jeebster:
Ah, thanks for the tip. I'm stuck with edge so I tried it out and it's pretty slow. How are the 3G speeds? What are the avg down and up rates?
[G1 Android Development] roggrat:
Sweet

I installed this and wow its a lifesaver, I was bored at work Friday tethered and i was watching shows on hulu all day i racked up so much data 850MB- I had to call T-mobile to confirm that I'm on the unlimited plan. 3G=Life:)
[G1 Android Development] beagz:
First tether app not working for me.

I have been using the 'tether start' and 'tether stop' without issue. I decided to try this and for some reason all I get is

Your phone is currently in an unknown state - try to reboot!

Log

Stopping dnsmasq...

pid-file does not exist

failed

Shutting down interface ...

done

NM... I have apps on sd... I see it doesn't work yet.

Disabling ip-forwarding ...

done

Resetting iptables ...

Could not open socket to kernel:

Operation not permitted

failed

Restarting wireless-interface

done

Removing wlan.ko module ...

done

end log.

Any help is greatly appreciated.

Thanks
[G1 Android Development] question.com:
wow i love it. connected instantly to my girls eee pc. now we have 3g everywere (hopefully)
[G1 Android Development] harry_m:
We are looking for testers with rooted phones who ARE NOT running JF's-Firmware!

If you are willing to help - please leave me a private message!

Thank you!

Harry
[G1 Android Development] kmetz:
Very nice, for me the best solution to tether at the moment (bluetooth is too slow due to the bad android bt driver (~80kbit/s), USB cable via AziLink does not work with my linux notebook somehow)

But two things:

- What limitation do we have to overcome to have WPA encryption? The mac filter is just as useful as having "donotconnecttome!!!1" as the SSID. I wouldn't use this at an airport for example. Have to test digging an PPTP tunnel through the air, tough, if this is stable forwarding GRE packets. (any experiences?)

- What limitation do we have to overcome to get away from ad-hoc, using the G1 as a base station / access point (with the ability to serve more than one client) instead?

Thanks for developing this anyway!
[G1 Android Development] 0xD34D:
Putting this on the market??

Wow, some asshole has made a tether app available on the market for $8.95. I have a developers account and would be willing to put this on the market for FREE to make it accessible to the masses.

Regards,

~clark
[G1 Android Development] harry_m:
We will release this app on market (for free - of course) BUT not now ... we need some time for bugfixing. Please be patient ...

Thank you.

Harry
[G1 Android Development] atconc:
Just wanted to add my thanks to the developers! This is great. The only thing I miss about my windows mobile was the WiFiMobileRouter app and this is a great step towards catching up to that.

I would love to see WPA encryption added next if it's possible.

Thanks again
[G1 Android Development] beagz:
I really appreciate the effort you put into this application. It works very well. Keep up the good work. Easiest internet connection for my laptop when away from home.
[G1 Android Development] SoTacMatt:
I just love it, love it, love it!! :D
[G1 Android Development] reuthermonkey:
works absolutely great!

I'm on EDGE, and this will be great when I take my next road trip!
[G1 Android Development] :
I have IE at work and the internet is brutally slow, my computer doesnt have wifi ability, I was wondering how I can tether my G1 to it, once again it uses IE as the browser.
[G1 Android Development] Micronics:
Top, easy!

Love to see some protection ofcourse and a gui for changing xspoint name.

My company IBM T61 won't connect though. have to dive into that later.
[G1 Android Development] ranger7424:
HELP unable to find G1 w/ Vista

Hey anybody know of why I can't find my G1 with vista. My Mac can do it and I'm guessing other computers can see it. Any idea if there's a special trick for Vista to see it?

BTW all my internet settings are good as far as I know and I can see my main wireless router.
[G1 Android Development] themykel:
For some reason it doesnt work on my phone :S I have successfully used the 1.6tether and am using JFs RC33 so not sure...

All it does is flashes really quick "The Application is starting up" and then nothing.There is no log generated....

EDIT:

Now it works so not sure what the issue was. I fixed it by uninstalling and reinstalling. FWIW - I am running it off my SD card too, NOT locally
[G1 Android Development] ranger7424:
ok i can connect to it now but it doesnt let me browse. :(
[G1 Android Development] SoTacMatt:
Mine works great with Vista or when I boot to Ubuntu. My buddies ipod touch even connected.
[G1 Android Development] caysman:
to harald.mue, ulfada, and all who helped ....

YOU ROCK. YOU ROCK. YOU ROCK. YOU ROCK. YOU ROCK.

gods ALL OF YOU!

lesser mortal here SALUTE YOU.
[G1 Android Development] clevetbs:
uninstall it and reinstall it a friend of mind had the same problem and running jfv1.42 multi touch... (that has nothing to do with it) and it works great on vista and linux (ubuntu)
[G1 Android Development] Karolis:
I've installed in on a fresh JFv1.43 RC9 -- didn't work. Then I have uninstalled and installed it again -- works like a charm.

What's up with double-installing? :)
[G1 Android Development] 13bjunkie:
Mine actually worked the first time on my laptop running Vista.

Slow days at work will never be the same now! Thanks!
[G1 Android Development] stellarman:
I am getting the "phone in an unknown state" message. My log shows what seem to be the same failure messages as have been posted previously in this thread.

I have tried four or five time now to uninstall and re-install. Still no joy.

I have my applications and data on the SD card, but others have said that this didn't seem to matter for them. I am on JF RC33.

I am still able to use the old, manual, superuser routine from the terminal to start and stop tethering. So I have (regretfully) uninstalled this app until I can get another idea from someone about how to make it work.

Interestingly, both the old "G1" SSID and the new "Tether G1" show up in my list of available networks in Windows XP. This is the case even when the application is uninstalled and when I have done "tether stop" in the terminal emulator. Both show five bars of available signal. How can this be?

I hope someone can figure this out. I would like to be able to use the simple GUI interface if possible. Otherwise, I will keep doing it manually I guess.

Thanks in advance to anyone who has any ideas for me.

Rick

EDIT: So the problem seems to NOT be with having applications on SD. The problem seems to be with having DATA also transferred to SD. When I reversed the move of DATA to the SD card, this program installed immediately and without further problems. My guess is that this program writes a file to the data directory on the phone during installation that the application cannot subsequently find later because the link points to data directory as being on the SD.
[G1 Android Development] thx997303:
Kept force closing on me, reinstall?
[G1 Android Development] sosasami:
I tried installing on an original ADP1 (rooted, but not running a hacked firmware) and it does not work.. the log contains failure errors for pretty much all steps. When I turn it off the phone ends up in an unknown state..

The mechanism does work, as when i run the commands manually as a root user in terminal it works.. It's just the app launcher that does not work.

Probably something with not having root permissions from the launcher?
[G1 Android Development] harry_m:
Please check "private messages" ... :)
[G1 Android Development] harry_m:
New version is available:

http://xdaforums.com/showthread.php?t=486767
[G1 Android Development] essojay:
whats new in the new version...

thanks
[G1 Android Development] harry_m:
* Updated tether shell script that works without "JF-specific utilities".

* Added the ability to change SSID under Setup.

* Added refresh-button to update connected-client-list.

* Added about-dialog (to display version-number, license, ...)

* (Few minor bugfixes.)

Cheers,

Harry
[G1 Android Development] Kline:
Thank you for this! It worked perfect after one Re-Install via the settings menu!

Also for everybody: You don't need AppsInstaller if you are using ASTRO for a file browser. ASTRO will install/uninstall any APK you click on within it.
[G1 Android Development] 4hed517:
Installed through Linda file manager, worked perfectly right off the bat, no reboot. On Edge dslreports .com reported 212kbps down and 82 kbps up, but also reported upload compression. 3g is almost non-existant around here. Seemed to drain the battery pretty good, which makes sense. If I had 3g and a laptop I would probably drop my ISP tomorrow.
[G1 Android Development] amjj05:
wifi tether wouldn't work

wifi tether wouldn't work.

i try to uninstall and reinstall still doesn't work still.

i try this one below but i get this message

cd /data/data/android.tether/bin : not found

Open terminal

Become root - type su <enter>

Change directory - cd /data/data/android.tether/bin <enter>

Try to start manually - ./tether start <enter>

help me ps

HTC dream

HARD SPL

Multi-Touch Browser

JF v1.41 RC33 Lite 1.42

Radio 1.22.14.11
[G1 Android Development] ThatGuy064:
I pressed the button to tether but nothing happened?

And it says I'm unable to open the log when I click show log...

Can anybody help?
[G1 Android Development] laff4fun:
Not a criticism, but new version less stable than old?

harry_m - GREAT work on the tether application, but I have been having problems with this version. Specifically, it simply decides to shut down or disconnect for no apparent reason. Regardless, it's a great app! Anyway, anything that you could do to address stability concerns would be greatly appreciated! Thanks!

Dream/HTC

JF 1.42_RC33

latest radio

HardSPL
[G1 Android Development] stgoerg:
Other solution:

chown 0.0 /data/data/android.tether/bin/*

an it is running also from sd.
[G1 Android Development] harry_m:
Oh interesting. Could somebody confirm that is working?!?

If yes, this could be easily implemented!

(I don't use a sd-mod and have to reflash my phone frequently because of stock ADP and JF-firmware testing.) :(

Thanks!

Cheers,

Harry
[G1 Android Development] harry_m:
Which version are you using?

We have noticed this behavior already and I've tried to figure out what's going on.

If you are using version 0.9.1 ... we made a configuration-change ... http://code.google.com/p/android-wifi-tether/source/detail?r=20 ... which gave me pretty good results concerning wifi-stability (not perfect but better).

If you want to play around with configuration-setting in tiwlan.ini you are welcome posting your results :)

I'm not sure ... but I don't think that you will ever get the same stability like on a ordinary wifi-accesspoints ...

Cheers,

Harry
[G1 Android Development] parrothd:
Maybe the phone is going to sleep? I have power manager configured to keep my phone awake when the keyboard is opened and haven't noticed the issue unless the phone is in sleep mode...
[G1 Android Development] harry_m:
Hi parrothd!

Do you now which type of wake lock (there are 4 different)?

http://developer.android.com/reference/android/os/PowerManager.html

Cheers,

Harry
[G1 Android Development] laff4fun:
Stability issue

I am using version 0.9.1 - it could be my imagination, but I thought that the previous version was more stable. Anyway, I am certainly not complaining - it's more of an observation. Believe me I am thrilled that your app works as well as it does!
[G1 Android Development] harry_m:
Now available on android-market!

:eek:

http://xdaforums.com/showthread.php?t=486767
[G1 Android Development] borodin1:
Wow.... this is great. Thank you so much
[G1 Android Development] ravenfox:
I dont post as often as I should but I just want to say thank you for such a great app.

I recently became unemployed but my G1 is unlimited till November. You cant get dsl where I live and Cable for 3mb is $70 a month. This is helping me a lot trying to find a job and not having to drive 7 miles to starbucks for free wifi everyday. :D
[G1 Android Development] parrothd:
I have no clue, that's programing stuff.. :) I just know out of habit I leave the phone open so it doesn't sleep...
[G1 Android Development] tonloc69:
This is the best tethering app I have used yet! and...even easier than the command line :p like I was using before.

I am also having the problem with the connection just shutting off after about 10-20 min. I am activily using the internet on my computer and then..........:confused:

Oh well I will give the power management app trick a try. I will also download the 0.94 version and see if that helps I am currently running the 0.93 version.

Let you guys know what I find out.

-Tonloc69
[G1 Android Development] hellbringer626:
Thank you to all involved in this project!

It was extremely helpful to tether my laptop when my home dsl line went down during a time when i most needed internet =)
[G1 Android Development] unrafa:
Doesnt get ip address

I have debian in my laptop and cant connect to my jf adp1.1.

My laptop stays waiting to be asigned an ip address that never comes. I have a customized kernel in my laptop so, do i need a NAT enabled kernel or ip tables enabled kernel for it to work?

The tether log show all green.
[G1 Android Development] vr24:
Awesome app!
[G1 Android Development] andonnguyen:
It looks like you would use PARTIAL_WAKE_LOCK :D
[G1 Android Development] no6969el:
you guys are teh best!!! thank you!
[G1 Android Development] laff4fun:
Stability Rock Solid!

Version 0.9.3 is rock solid stable! Just remember to set the display to "Never Timeout" before using the Tether. :)
[G1 Android Development] Rix:
This works great for me, I rooted my G1 just for this.

I haven't had any disconnections yet but I've only been using it since yesterday.

Well done and thanks for making my life easier.
[G1 Android Development] kgdg:
tethering with apps on sd

Guys,

Does this still NOT work with apps on SD?

I don't want to have to move apps back to phone just to make this work.

I am on RC33 JF release with /data/data on SD (as well as /data/app, /data/app-private on SD).

Keeps giving me 'Your phone is in an unknown state - try to reboot'. And rebooting it doesn't help. Have tried the workaround posted earlier regarding permissions, still the same issue.

Has anybody with apps on SD made this work?

KG

EDIT: Never mind, i just saw: http://xdaforums.com/showpost.php?p=3423669&postcount=130

This has resolved this issue, now i will test this out tonight and report back.
[G1 Android Development] crubio:
Hey guys. I'm here to report that I got it working under freebsd. Here is what I did to get it to work.

On my Laptop:

ifconfig iwi0 scan

ifconfig iwi0 ssid G1Tether

ifconfig iwi0 channel 11

ifconfig iwi0 mediaopt adhoc

ifconfig iwi0 192.168.2.55

route add default 192.168.2.254

From the G1

telnet 192.168.2.55

ssh chris@192.168.2.55

When you do a telnet it it says connection refused but it changes the media type of the Intel Pro Wireless 2200BG from

media: IEEE 802.11 Wireless Ethernet autoselect (autoselect <adhoc>)

to

media: IEEE 802.11 Wireless Ethernet autoselect (DS/11Mbps <adhoc>)

in the ifconfig output.

Then I was able to connect and am using it now. Thanks - this is great!
[G1 Android Development] richardism:
Problem with being disconnected as well

I can tether to my phone with no problem, thanks for the app, but after about 15-30min, I randomly get disconnected.

My laptop uses Windows Vista

When I hover my mouse over my system icon - network connection (showing the red x for disconnected), it says "Waiting for users to connect to your adhoc network"

I open my network folder and look at available connections, my tether is there but it says "Waiting for users to connect"

Although I've lost internet connection, it still gives me the option to disconnect from my tether.

Also, it shows my tether on the connection list for a short time after I've lost connection, then it randomly disappears

I have to disable then enable tether and it'll work again, only to do the same thing 15-30min later

I have my display set to never time out as well

Any help would be great

Dream/G1

JF 1.42 rc33

1.22.14.11

v0.9.3