USB tethering broken - Click General

The "mobile connection sharing" function doesn't work correctly on my HTC Tattoo anymore. The computer detects the device and tries to connect, but it receives no IP address from the phone.
I just tried to make USB tethering work with another ROM and now it works just fine, but I prefer my own ROM of which I made a back-up.
How to get USB tethering back to normal again on my ROM?
edit: when I enter the correct IP and DNS details manually, the connection works fine. Apparently the DHCP server is broken.

Related

Can't access network via Widcomm Bluetooth

Hi,
I’m using a Dynamode usb Bluetooth dongle with Widcomm 1.4.2.10 on WinXP and the bluetoothgps files on my XDA II. I'm trying to access my LAN and the internet using the Network Access profile, but so far I can’t even ping between the XDA and PC.
I've set up OBEX File Transfer and it works fine in both directions. I go to the Bluetooth Manager, add a new connection, browse the services of my PC and add Network Access. I authorise the connection on the PC then the network connection bubble appear on the XDA but it never connects. I've read on several guides that a specific IP address needs to be given, that’s fine, I want to use static IP addresses. So I go to connection settings for BT Network Access and on the Advanced page set the IP address to 192.168.0.101. I've set the username and password to an account on the PC that has access to everything. On my PC, in network connections I give the Bluetooth Network IP 192.168.0.100 and my LAN connection 192.168.0.1 (the subnet mask is 255.255.255.0 for all of them). When I try to connect again, it succeeds, but using vxUtil I get timeouts when l try to ping the PC and vice-versa.
I've also tried it the other way round, setting up the Personal Network Server in Bluetooth Settings and connecting from the PC. In connection settings->Advanced->Network card->BT PAN User Driver I've set the IP address to 192.168.0.101. Again it connects fine, but I can’t ping.
I've also tried the Activesync profile (although this is less important as I can activesync over the network if I get it working). I'm sure I've set Activesync to use the right comm port, but it just says the device is not recognised for one of two reasons.....
This is really frustrating me now, I've tried reinstalling the BT software on the PC side and I’ve tried different versions, but I get the same result every time. I’ve followed several step by step guides on how to do this but still no luck. If anyone's got any ideas please let me know!!
-Tom. A
HI,
Check out this tutorial:
http://en.pdamobiz.com/en/forum/forum_posts.asp?TID=74
That was the first tutorial i tried, everything works fine until I ping the PC or XDA and I get nothing
-Tom. A
I can ping from my Xda2 to Pc and the same from pc to xda2,everything seems to work fine but..
using resco explorer (trial) It can't find any network pcs.
What's wrong? someone can help me?

default IP address

Hello!
I have connected phone to PC and set 'internet sharing' on the phone, to have internet access on the desktop. It works well.
Then I connected other PC to that PC, both through LAN cards and set up home network.
Then I wanted to set up ICS (internet connection sharing) on the host PC, to access internet also on the other PC.
Problem is, that ICS is by default using address 192.168.0.1, which you can't change in winXP. And also my phone is connected to the host PC with the same address, which if I change, I loose internet connection on host PC.
How can I change this address which phone uses to connect to PC?
semi-bump.
Current setup: cable modem w/ wireless beams connection to my PC via wireless LAN. Modem is 192.168.0.1 on LAN, I'm .9, static. I want to setup ICS from my PC to my mob by bluetooth, as the wireless connection in my room is awful so I have to have a USB wireless adapter snaking under the door & out into the hallway.
Problem: ICS setup wants to host the service on 192.168.0.1 but that's the router & can't be changed. Is there any other way to do this? Cheers anyone.
can i circumvent this by connecting to the pc using bluetooth via activesync? won't i still need to setup ICS in the bluetooth config, or does activesynch overrule it?

[Q] USB Tethering Wildfire with Wildpuzzle- DNS issue?

WildPuzzleROM_2.2 Froyo v8.0.11 on HTC Wildfire (NextG)
Installed HTC Sync to get drivers and then turned on USB Tethering.
Windows detects and installs HTC Remote NDIS NIC- no problems.
DHCP assigns IP, MASK, GW and DNS server (DNS server = GW IP)
But.. I cannot do Name resolution (nslookup) and cannot ping IP address of known servers (google). So PC shows as connected to the phone, but no Internet access.
However, Browser on the phone is working fine. Perhaps my carrier Tel$tra blocks Tethering? Questions: 1. can someone confirm if Telstra allows tethering on HTC. 2. Does tethering even work on stock HTC Wildfire (2.1)?
Tried this in WinXP 32bit, and Win 7 Pro 64bit- same issue.
Any ideas?
i've got the same issue while tried wifi tethering.
I didn't found a soluce so i could advise u to try "Pdanet" for free (usb tethering only)
have a look here in google (can't post link due to restriction of my account...)
u need to install pdanet on ur pc, and install the apk on ur device.
It runs really well
i can confirm that it is available with wildpuzzle on telstra
have you turned on usb debugging? menu,settings,applications,development,usb debugging.
all i have to do is mount with usb tethering and look in my lan settings, also you can use the wifi hotspot (tested fine).

Wifi finally connected but cant browse

ok - i have gone through about 6 roms now and im constantly getting the same story.
i primarily use CM based roms cuz those are the only ones that seem to connect to ad-hoc networks shared from my computer. when i use CM7 roms the internet constantly connects and disconnects and when i use CM6 roms the phone says im connected but the PC doesnt see any present connections.. not even with connectify or the other hotspot programs seem to help
its strange cuz i also have an aria with a CM6 rom which connects flawlessly but the HD2 cant even be seen on the network.
PLEASE can anyone help me out with this problem? I've been awake for the past 2 days trying to fix this problem from all sorts of angles and i still cant connect to an ad-hoc wifi
i just tried connectify but the problem is the same, it says im connected but still there is no data coming from the computer. my MAC address appears fine so i have no idea what is causing the problem
not even changing the channels, editing wpa_supplicant, using static IP or DHCP... nothing helps..
just realized that if i try to connect while other devices like my aria are currently connected, the other devices get disconnected from the network.. no idea whats causing that but could use some insight
There is another longer thread with someone having the same or at least very similar problems. All non-Sense builds he's tried have wifi "connecting", but not actually transferring any data. When he loads up a Sense build, it all works fine. I'd look it up, but search unavailable for "10 minutes". I did comment on it though.
You wrote you try to setup an ad-hoc WiFi connection. This means you connect two devices together, not to a network (if you want to use your laptop as Internet bridge it's a more complex config).
You're talking about DHCP in ad-hoc connection... Do you setup a DHCP server on your computer (is this even possible)?
You said when you have other devices connected... this is not ad-hoc.
I think you try to connect the wrong way, sorry if I misunderstood but you have to provide more info for me to help.
As general advice:
Check for your ROM thread as initially their was a problem with all devices (with Android on HD2) having the same MAC (has been solved)
Start first to try to connect to a "normal" WiFi network
Make sur of the network config (try with basic b/g instead of n, n+...)
First step could be to setup a basic b/g network with DHCP enable, SSID broadcast, no security (wep,...): the kind of network you have when you take your access point out of the box.
No other advice... hope this will help.
Check the IP you have on your phone when connected. If it's kind of 169.xxx this can't work. It's auto IP from the device itself.
thanks for the response mate. Unfortunately, there are not many unsecured "routed" wifi connections available where i am to test - thats why i have to rely on the laptop to feed internet to my phones through an adhoc network.
let me explain what im doing:
im currently trying to use internet sharing from my laptop on my phones - i have 2 android phones, an aria and an HD2 - both of which connect to the internet through an ad-hoc wifi connection to the the laptop which has LAN internet connection.
the only way to connect is by issuing each device a static IP
eg. laptop - 192.168.0.1,
aria - 192.168.0.3,
HD2 - 192. 168.0.2
whenever i try to use DHCP i get "obtaining IP address" from the phones until it auto-disconnects.
using a static IP-Config, the aria connects and browses effortlessly. But the HD2 wont. Just says "connected" but the pc says "waiting for peers to connect" and doesnt feed any data to the HD2. Additionally, i found out that if the aria is already connected while attempting to connect the HD2, the aria gets kicked from the net..
if it helps, my rom is CMN V_2.0.. its the only one that gets me "connected", so to speak..
Then I will not be very helpful as I seldom use ad-hoc and bridge connection.
I connect my HD2 to my home network only (works in WEP or WPA anyway).
Just what I know:
1/ for ad-hoc you can't use DHCP (or you may have to activate a server on your laptop, this will add complexity to your setup)
2/ ad-hoc is only between 2 devices (1 laptop and 1 phone for ex), it could explain that when you connect the HD2 the other one is "kicked out".
3/ On your laptop you have to bridge your connections. Anyway, if with another device you can connect and broose, then your laptop setup has to be ok.
4/ if you're connected you may find a good IP in the HD2 (anyway if you use fix IP it has to be ok).
5/ to connect to a server you need a DNS. this is maybe what is missing. Usually when you connect to an access point you use the "AP IP". Not sure it can work here.
Try to manually put the DNS address in your HD2.
Just to make one test:
a/ from your laptop "ping" an Internet server (xda for ex).
--> Start menu, type "cmd", in the cmd windows type "ping server_name"
b/ from your HD2 try to connect with the IP instead of the server name.
This is the puprose of a DNS, to give your device the IP of a server.
NB: to find the DNS server used by your laptop:
In cmd type "ipconfig /all" it will give some info, you may find your DNS in it.
Sorry, no other idea...
I read again what you write and I think you can forget my previous post.
The answer from your laptop is different with the two phones.
I don't think it's a DNS problem.
Sorry, I will be useless! Hope someone with the same network config will help.
My home network is totally different.
If it's specific to your rom you can try to check in your ROM's post if other have the same problem. If no, try to ask there is someone has the same connection setup.
Edit: check this link, it seems that many people with non-sense build has problem with WiFi (I use sense build, always):
http://forum.xda-developers.com/showthread.php?t=907670
i would use a sense build but it seems all of them take up quite a lot of space from internal storage - im always left with 500-400Megs from the 1GB of space
its just odd because when i had a G1 (before i got my HD2) it connected effortlessly as well.. even more so, both aria and g1 could be connected to my laptop's adhoc simultaneously
OOOOHHH!!! i just rememberd hearing something about internet pass-through, but im not sure how ti works.. i will give it a try

Hotspot Issues

Considering that CM12.1 has a defunct USB connection - only charging and ADB work, MTP doesn't - I've used WiFi File Transfer to send files to my phone instead of using a USB connection for it. MTP works if you put it in Recovery Mode, but I'd rather not shut down the phone. My phone is an A3FU, by the way. Anyway, so sometimes, I'm in a place where I don't have any other wireless networks to connect to, so I have to make a Hotspot in order for the app to work. And it actually worked very well, up 'till a couple of days ago. Now, the Hotspot connection doesn't go properly. I'll try to clarify. When I start a Hotspot on my phone, my laptop can connect to it, but the configuration is all wrong.
My laptop is issued the following IP address 169.254.184.177, and the Subnet Mask is 255.255.0.0. On the other end, my phone's (the Hotspot host) IP address is 192.168.43.1, Subnet Mask is 255.255.255.0. Other devices that I tried to connect to it, had similar issues.
The problem is resolved if I manually configure my laptop's IP address to (for example) 192.168.43.4 and set the Subnet Mask to 255.255.255.0, but other than that, I don't know how else to fix this issue - hell, I don't even know where the issue is, exactly.
So, any help in this matter would be greatly appreciated!

Categories

Resources