Need to do one of two things... or both? - G1 Q&A, Help & Troubleshooting

Ok, well basically my end need is to have my Google Calendar synced to my phone on which I have no service or access to WiFi internet. I'm in Iraq right now, and the only internet I have is via Ethernet.
I am hoping to, at the least, sync my calender over USB. But one thing I'd love to do is share my internet connection to my phone via USB like WinMo does. That way I can mess with new roms and the such while I'm out here. Thing is, it can't have it's own IP address because all IP's are assigned and I have to log in via my browser on my computer once I'm connected. It's a pain in the ass.
But, any help would be great. Thanks!

I am pretty sure there is not a way to do what you are asking. Without wifi or and kind of data signal, there is no way to connect the gmail servers to your phone. I am pretty sure that usb is out of the question, which seems to be your only option.
Sorry my friend.

This might help, all you need is linux. You could virtualize it, but idk if you can do that where you are at right now.

any possibility of getting a usb wifi device and setting up Internet Connection Sharing so your phone would have a local ip like 192.168. and share the connection on your computer with your phone???

I don't know exactly how the IP shiz works with ICS, but the ISP out here uses 192.168 IP's. All I know is that the phone would need to not have an IP, or something along those lines, for it to work. IDFK....

If you're in iraq, it might be hard to get your hands on one of these, BUT, in the interests of completeness,
Use of a regular cheap broadband router with integrated wifi WILL do what you are looking to do...
You might need to clone your computer's MAC address to the router's WAN device, then it'll connect to the DHCP server, then using EITHER the computer OR the phone, go to the browser and authenticate.
Note: I don't think that there is really any way to network the phone to the computer using USB, though bluetooth IS an option... it'll be a console-only operation though.
Final option is to get your hands on a wifi device for the computer (can be a USB device) and run it as a NAT, i.e. use iptables.
my95z34 said:
Ok, well basically my end need is to have my Google Calendar synced to my phone on which I have no service or access to WiFi internet. I'm in Iraq right now, and the only internet I have is via Ethernet.
I am hoping to, at the least, sync my calender over USB. But one thing I'd love to do is share my internet connection to my phone via USB like WinMo does. That way I can mess with new roms and the such while I'm out here. Thing is, it can't have it's own IP address because all IP's are assigned and I have to log in via my browser on my computer once I'm connected. It's a pain in the ass.
But, any help would be great. Thanks!
Click to expand...
Click to collapse

lbcoder said:
If you're in iraq, it might be hard to get your hands on one of these, BUT, in the interests of completeness,
Use of a regular cheap broadband router with integrated wifi WILL do what you are looking to do...
You might need to clone your computer's MAC address to the router's WAN device, then it'll connect to the DHCP server, then using EITHER the computer OR the phone, go to the browser and authenticate.
Note: I don't think that there is really any way to network the phone to the computer using USB, though bluetooth IS an option... it'll be a console-only operation though.
Final option is to get your hands on a wifi device for the computer (can be a USB device) and run it as a NAT, i.e. use iptables.
Click to expand...
Click to collapse
They don't care what the MAC is, just IP's. I can get a WiFi router if I need to. But, if I turn off DHCP on the router, does it still need it's own IP address? Or does it just act as a switch? All IP configuration is done on the device, there is no DHCP ran by the ISP.

my95z34 said:
They don't care what the MAC is, just IP's. I can get a WiFi router if I need to. But, if I turn off DHCP on the router, does it still need it's own IP address? Or does it just act as a switch? All IP configuration is done on the device, there is no DHCP ran by the ISP.
Click to expand...
Click to collapse
The cheap broadband router has TWO IP addresses. The public IP address assigned by the ISP's DHCP server (or manually if the ISP doesn't have DHCP), and the PRIVATE IP address used to communicate with the other devices that you hook up to it. It uses NETWORK ADDRESS TRANSLATION (see http://en.wikipedia.org/wiki/Network_address_translation ) to connect the client machines to the public network. To the public network, it appears that there is ONLY ONE machine connecting -- the NAT box (router) itself.
You will leave the DHCP *SERVER* (LAN SIDE) running on the router, you will disable the DHCP *CLIENT* (WAN SIDE) and configure the WAN IP/NETMASK/DNS/GATEWAY to the specifications required by the ISP. You will use the router's WAN port to connect to your ISP, you will use any LAN port to connect to your computer, and you will use the WiFi to connect to your phone. You will then have private IP addresses assigned to your computer and your phone, and these devices will be able to connect through your ISP's network via the router.

So doing that the ISP will see my router as my computer, then both my phone and computer can connect at the same time because they'll have their own private IP?

Related

WM6 internet sharing with whole network

Hi, I have a Tilt and do not have a problem tethering to a single computer. What I would like to do is share with all four computers in my home. I have tried bridging the sharing connection to my lan connection and have gotten dhcp on the Tilt to assign addresses to all computers on the network, but they still can't ping each other (other than the tilt and the computer its directly tethered to. I have turned off all firewalls and still nothing. Rebooted everything. Still nothing. Is it possible to do this? Thanks for any help.
There's a program around here somewhere that allows you to make your TILT a wireless router. If you do this, any machine with wi-fi can connect to the SSID and go.
Anyone have the link handy?
Wireless Router
Could I have it connect with my current wireless router to provide internet to my wired network through the rj45 ports on the router ? 3 of the 4 computers are on a wired lan. You see, we just got HSDPA on Monday and I love it. I got a bit ahead of myself and cancelled my home DSL connection. Now I'm realizing that I am stuck with only having one computer on the internet at a time. This has got to be possible. - I just found the thread on setting up as a wireless router. I will start playing with it. Any suggestions/instructions are appreciated.
OK, get connected to your carrier whilst tethered.
Then from any Explorer window on your tethered PC, select, 'Set up a home or small Office Network'.
Select the first option in the following box 'This computer directly connects...' and follow it through.
This should set up your Activesync PC as an IP address of 192.168.1.1. (an access point IP)
If you connect any other PC/laptop to this PC via wireless or LAN (you do know how to do that I hope??) to this computer, it will share the internet connection..
Remember, this will change any prior Internet configuration you have on the PC/Laptop!
Hope this helps.
Internet sharing
Thanks for the suggestion. I am going to try that again. The first time I tried that I found out that the Tilt had already assigned itself the address of 192.168.0.1 . On the XP machine, the computer will always use that same address to share its connection, so it immediately complained that another computer on the network is already using the required address for internet connection sharing. Maybe all I need to do is force the Tilt to use a different ip address like 192.168.0.10? I am not sure how to do that since this is my first time using Windows Mobile as part of a network sharing its connection. The only reference I could find to 192.168.0.1 in the registry was HKLM\Comm\BTPAN1\Parms\TcpIp. Should I change that?
jebrown1 said:
Thanks for the suggestion. I am going to try that again. The first time I tried that I found out that the Tilt had already assigned itself the address of 192.168.0.1 . On the XP machine, the computer will always use that same address to share its connection, so it immediately complained that another computer on the network is already using the required address for internet connection sharing. Maybe all I need to do is force the Tilt to use a different ip address like 192.168.0.10? I am not sure how to do that since this is my first time using Windows Mobile as part of a network sharing its connection. The only reference I could find to 192.168.0.1 in the registry was HKLM\Comm\BTPAN1\Parms\TcpIp. Should I change that?
Click to expand...
Click to collapse
NO, 192.168.0.1 or 2.1 or.3.1 are all access point AD's.
You have to go into your PC/laptop Network Places icon to tel IT to then share the connection.
I am sorry, but if you have never shared an internet connection on your PC before (ie via modem or ADSL), you will not really understand how it is done.
Access points
Thanks for your reply. The problem is that we are trying to make the pc an access point and trying to make the tilt an access point at the same time. They both are using 192.168.0.1 as the default ip address and as far as I tell there is not a way given to change that. The Tilt automatically uses 192.168.0.1 and when you using the sharing wizard on the pc it also uses the same address for its network card thats connected to the home wired network. Unfortunately for me, two devices on a network cannot have the same ip address. There must be a way...
jebrown1 said:
Thanks for your reply. The problem is that we are trying to make the pc an access point and trying to make the tilt an access point at the same time. They both are using 192.168.0.1 as the default ip address and as far as I tell there is not a way given to change that. The Tilt automatically uses 192.168.0.1 and when you using the sharing wizard on the pc it also uses the same address for its network card thats connected to the home wired network. Unfortunately for me, two devices on a network cannot have the same ip address. There must be a way...
Click to expand...
Click to collapse
OK, set all computers on the network to fixed IP's of 192.168.0.xxx in Internet protocol (under TCPIP on network)with the same subnet mask with a default gateway matching your device! Try that...
sharing
That was my first attempt at a work around. The problem is that there are
actually two network connections to the pc. One for the Tilt (usb) and one for the LAN (nic card). They don't seem to see each other even when they have matching ip addresses and subnets. Thats why I tried right clicking them and selecting "bridge these connections." It seems that internet sharing "requires" DHCP to be used. I tried setting all the computers to use DHCP and actually had the Tilt assigning ip addresses to all of the computers on the network by bridging the two connections and using dhcp. Oddly, though, the computers on the network could not ping the Tilt. I think its because bridging uses the data link layer of the osi networking model?
There must be a hack to change the ip address that windows uses for the sharing access point. Alternatively, it would be nice if there were a device out there that could act as a hub to network usb and 100baseT devices together. In other words, plugging usb and cat5 cable rj45 plugs into the same box and having them all be on the same network.
OK, I have asked smitty to get on this but both of us are WAYYYYy past our bedtimes.
He should get back to you tomoz on this. (he's the Network buff..)
Hope it works out..
this is the app mentioned earlier and may help your solution...
http://forum.xda-developers.com/showthread.php?t=341398
I can't make this work. I don't have WiFi on all of my computers. I was hoping to use WMWifiRouter to connect to my wireless router and then to my whole wired network. Is there a way to make the Tilt wireless router to connect with another wireless router? I'm thinking what I will do is go back to an AT&T rom and use "wireles modem" instead of "internet sharing". That way I can share the modem with the whole network. There doesn't seem to be a good way to use the Tilt internet sharing with the whole network. What do you guys think?
Deleted.....
For any future readers of this thread: I put the stock AT&T rom back on this phone and did a soft reset during the initial boot to stop the bloatware from loading. I went to start>settings>connections and tapped the wireless modem icon to open the app. I selected "usb" and tapped done then plugged the usb into my computer. My win xp computer found the new modem hardware and installed the HTC modem driver. I then setup a new dialup connection on my computer, and used the following to setup the login and dial:
username: [email protected]
password: cingular1
dial #: *99***1#
When I clicked on dial, it quickly connected to the AT&T network and I had internet access on my computer! I went to a speed test website and clocked my download speed at 1.2mbs and upload at 300kbs. I then opened "my network" and started the network setup wizard. I selected "this computer connects directly to the internet" and "file and printer sharing". To make a long story short, I am now able to share the Tilt's HSDPA internet connection with my whole network! I could not do it using the internet sharing function of the Tilt with either the AT&T rom or the kaiser rom. It would be awesome if someone more educated than me could make this function part of the HTC kaiser rom.
Nojnaworb wrote:
.....the problem is that we are trying to make the pc an access point and trying to make the tilt an access point at the same time. They both are using 192.168.0.1 as the default ip address and as far as I tell there is not a way given to change that. The Tilt automatically uses 192.168.0.1 and when you using the sharing wizard on the pc it also uses the same address for its network card thats connected to the home wired network. Unfortunately for me, two devices on a network cannot have the same ip address. There must be a way.......
I have same problem. I agree with Nojnaworb, this is the reason why its not working.
I have no Wifi at home and have to use LAN for my home network (2 PC + 1 ppc).
Under WM5 it was easy to share Internetconnection with all Lan adapters.
I cannot believe there is no way.
PLS Networkexperts, tell me how to setup !!
Its really quite simple.
You dont connect all the computers to the tilt. You use ICS on the tilt to provide one pc with an internet connection.
You then share the internet connection from that pc to the other pc's using the networking wizard.
I think part of this persons problem was that he needed to bridge the 2 connections.
here have this.
http://www.windowsnetworking.com/articles_tutorials/wxpbrdge.html
You should be able to connect the Tilt, (let it use whatever address it wants) and then make a bridge from the tilt to your nic in the server. Then I beleive you just use internet connection sharing to disperse the lovely packets to the rest of the network. Without the bridge, there is no way to share from one network to another.
I'm pretty sure that you will need to set the address to 192.168.0.2 on the server or any other number were the 2 is. If your using a router then I would suggest turning off dhcp and not using the WAN port on it. Just treat the router like a switch/hub because it will just makes things even harder to figure out.
wish we had service that was worth sharing to my network.

WLAN ok, but no websites are shown.

That's why I've never had an Windows Mobile device before.
Symbian, iPhone, everthing works fine with my WLAN. WPA Key and go go go
My Kaiser has a WLAN connection but the IE wont' show any page. Why?
First thing is to isolate the problem. Are you able to access the internet via Actice Sync? When connected to the WLAN are you able to access any other services on the internet such as windows live to check your email or if you have HTC HOME the weather info?
Also check to make sure you are getting a proper IP address, Gateway, and DNS server from the router to your PPC. Task Manager is a good utility which lets you run the Ipconfig/all command. You can also use the PING command in Task Manager to see if you can ping anything on the internet.
If you are getting the proper TCP/IP settings trying accessing a site using its IP address instead of its Domain Name to islolate if the problem is with the DNS server settings in PPC.
If still no luck post the results from the above troubleshooting and we'll go from there.
Correct IP Address, check! I forgot to mention...
Thank's for your help, I'll check the steps in the evening at home.^^
I just can connect to my router's IP address and see the configuration page. My device has it's own static IP.
IE says "site cannot be displayed, because the connection has been interrupted".
Do I have to quit HSPDA and Bluetooth? I guess not.
Let me know if you can connect to this http://134.126.10.50/
shazaani said:
Let me know if you can connect to this http://134.126.10.50/
Click to expand...
Click to collapse
No, same error.
Surfing via ActiveSync is no problem.
If you said that it's possible to connect to router but not outside of router, then do you use MAC Access Control and/or MAC Fillter Internet Firewall on your router?
Possibility MAC Filter Internet Firewall. Without MAC Access Control specified, it's not possible to connect to router.
Hopefully it helps.
Best regards,
TwoAce
I'm using a MAC Filter, but the MAC of my Kaiser has been written to the MAC list. I'm trying without the filter...
Previously I could connect to my home WLAN, but I could not perform any surfing until I came across a suggestion to goto Settings->Wireless LAN->Power Mode slide to Best Performance.. and viola.. I am good to go..
don't know if you have the same issue, but jus my 2 cents.. ohh n I was using Polaris aka Touch Cruise..
I have the same problem as [email protected] has - the root cause may or may not be the same however. Here is what I found in my case -
(i) Connecting to WLAN - no probems, works every time
(ii) While connected to WLAN, sending/receiving emails through my exchange server or browsing my company's intranet site - no problem
(iii) Surfing internet while connected through USB cable/active sync - no problem
(iv) Can't connect to any internet site while connected to WLAN
I found that when connected through USB Cable/active sync - the proxy server address seen when I go to Settings->Connections->Connections->Edit proxy server is the correct company proxy server address. The moment I connect to WLAN - this field becomes blank. Even if I edit and insert the correct address, it doesn't stick. The moment I disconnet from WLAN and go and check the proxy server address - again it shows the correct address. So the root cause of the problem seems to be that something is wiping out the correct proxy address while I am connected to the WLAN.
I remember seeing a thread somewhere discussing this vanishing proxy settings problem. I wasn't able to find it today but I intend looking again when I get an hour or so.
I agree with roomer11 about the power settings, i have two HTC tytn ii's and i had the same problem with both(one mine,one is my wife's)...i'm running wpa2-psk now but does it on wep too...
It work's.
I have deactivated the MAC filtering. I doesn't make any sense, because the MAC I've entered is the right one, but ok. Must be a Windows Mobile voodoo thing.

reverse tether, ad-hoc, on mac filtered network?

I have a rooted N1 with cyanogen 5.0.4.1 on it.
I'm studying abroad this semester, and the university I'm at seems to have done everything they could to prevent me from connecting my phone to the internet on their network.
There is a wireless network, but it doesn't reach my room, and there's a proxy; I haven't been able to get any of the various proxy apps to work with it, at all. On a somewhat related note, since moving to cyanogen I'm not able to connect to that network anymore (wpa enterprise, tls/pap/user+pass). No real loss, since it didn't work as I couldn't get the proxy going.
The rooms have ethernet, with a static IP and mac filtering, and of course the same proxy. In addition, on the wired network in the rooms you have to connect to a vpn in order get anything other than the school's intranet
With cyanogen's rom, I have been able to connect my phone to my computer's ad-hoc network by giving it the parameters (IP, gateway, netmask, dns), that were provided to me, but I can't download anything. My only guess as to why that's not working is their static IP/mac filtering combo is not playing nicely.
I haven't ever delved very deeply into networking type stuff such as proxies, ssh tunnels, etc, so these two ideas of mine could be completely unworkable, but what I've been able to come up with is:
1. Is there a way to have my laptop keep handling all the proxy/ip/vpn nonsense, and just route http data to and from my phone? I've never dealt with ssh or anything of that sort, but I run linux so it should be pretty trivial to get it set up on the laptop's side of the equation.
2. Failing that, I'm allowed to have 3 devices with 3 different mac addresses, each of which is given a separate IP address, so I give the people in charge of the network the mac address for my phone and get an IP address for it. Then, connect to my laptop's ad-hoc network, which is on IP #1, and go to the advanced wifi settings on my N1 and set up a static IP with IP #2. Does that work, at all? This of course doesn't account for the vpn at all, but if it does in fact work I'd then move on to that.
What a ****ing brain-buster. Goodluck!
As an update, I can use cyanogen's included tethering ability, in conjunction with ConnectBot, to ssh from my phone to my computer (got that working after a bit of work, and learned something new). However, when I try to set up port forwarding in ConnectBot, it doesn't work; I don't know which ones to forward, whether to choose local or remote, and if I try to forward something below 1024 it gives me an error because of that. Does anybody know what ports I need to forward, and how to do that properly with ConnectBot?

REMOTE VNC Pro

hi
i have this application and whenever i try to set up and connect to the specified ip address it tells me socket is not connected
what does that mean and how can i fix it?
zidane said:
hi
i have this application and whenever i try to set up and connect to the specified ip address it tells me socket is not connected
what does that mean and how can i fix it?
Click to expand...
Click to collapse
Make sure that you open up the port on your computer's firewall, your router, and anything else that might have a say in your internet traffic.
I'm not going to explain it, but Google "port forwarding".
im in the campus dorms
i dont think i can do any port forwarding as i dont know how the whole lan thing is set up here
thanks
i am currently having the same problem ...i have forwarded the port 5900 on my router and opened up my firewall...could i possibly have to do something to the modem as well or could it be something else
i am on a I touch 3g slide and running windows xp home
i have also heard that port tunneling may be neccesary but i lack the knowledge to do so any help would be appreciated
its all about port forwarding because you have dynamic ip addresses on the LAN side and most likely you have a dynamic WAN ip also. Usually to do VNC you have to have a Public IP address. Home ADSL circuits provide one public ip address but out of a NAT pool so it will change. This could cause an issue unless you want to check the destinations ip address everyday. So instead of VNC to an ip address you can vnc to a host name. Dyndns provides a good service for free. So that solves the dynamic IP issue.
Now to the port issue. Since the internal LAN will assign each host a 192.xxx.xxx.xxx ip address (which are not publicly routed), you have to do port forwarding. To do this go to the command prompt (start>run>cmd) and type in "ipconfig /all" and press enter. Find the default gateway ip address (192.xxx.xxx.xxx). Type that into the web browser. That will log you into your router. I have a 2wire router provided by att so if you have different you will have to discover this on your on. Go to firewall settings and then add a new user-defined application. basically make a new application.
protocol tcp
port range 5900 (i believe that is right)
and then add it to the correct computer.
That should send all data on that port to that host.
Hope that has helped a little bit. if not, google it.
you can also try
http://forum.xda-developers.com/showthread.php?p=7004664
i figured it out and have it working fantastic. u were completely correct i just wish i could have had your advice sooner ...kinda forest gumped my way to the answer.
i do appreciate it tho and have a better understanding of the grander scale now. thanks to all on xda that give their time to help
zidane said:
im in the campus dorms
i dont think i can do any port forwarding as i dont know how the whole lan thing is set up here
thanks
Click to expand...
Click to collapse
You may want to give up with that and try out PhoneMyPC. I'm not 100% sure of how they do their tunneling, but I can tell you I've tested it a few times and it always manages to get through even if I purposely change WAN ip addresses and I don't do any port forwarding for it.
It also runs way faster (albeit lower resolution, i think) and more fluidly than either of the RDP or VNC solutions I tried out. I'm very impressed with it so far. I can even jump online with it and pull up my security camera software and actually see the live video feed from it, all running on my PC at home, even just over a 3G connection.

Router in hotel room

I'm wondering if anyone here has traveled to a hotel (room) where they only offered wired internet and were able to use a router to "wifi" their room
I know, in general terms, this can be done...but i'm trying to avoid bringing a laptop (would like to bring only my tablet)
the only thing is that i don't know if the hotel wired connection asks you to log in or hit an "i agree" to the terms before allowing you to connect to the internet
if this is the case (that you are being proxied through a login or "i agree" for terms)...is it possible to do with a standard router, where i would just connect my router to the connection and being able to send the connection wifi?
i know i can set up the bulk before i go on my trip (set up the ssid, password, etc)...but i'd just like to plug the router and use the wifi connection on my tablet to accept the terms, if any
hope i'm clear in my query...thanks for the help!
Never tried it, but I'd imagine that whatever login portal might come up from a wired connection would also come up on the wireless connections, step through that, and browse...
I see no reason why it wouldn't work. Also some hotels dont make you login, or click I agree, but most of the ones I stayed at did.And even with the router you'll be able to connect one device only.
jaszek said:
I see no reason why it wouldn't work. Also some hotels dont make you login, or click I agree, but most of the ones I stayed at did.And even with the router you'll be able to connect one device only.
Click to expand...
Click to collapse
Static IP everything at 192.168.1.100 and deal with IP conflicts?
i guess i could test...i only want one device to be connected to the router anyway..so multiple ip's are not a problem..
the problem i see is that the portals that the hotels make you log onto usually assign an ip to that mac address..which would be my router...so wouldn't my tablet not have an internet connection?
would bridge mode be a better option? (after searching a few forums, someone suggested that)
i know travel routers have particular firmwares that allow you to browse through that portal to let you log in...but i'm assuming it is just makign the router into a bridge? i would assume a standard router (i have dd-wrt installed on it) would be able to do it as well?
I don't think that will be an issue, but if that happens, clone the MAC... in terminal emulator as root:
#ip l set eth0 address <mac>
I can't "thank" you for some reason...the button is not popping up...but i will when i see it again...thanks and i will let this thread know when it happens to see if it works...
No thanks button in OT.

Categories

Resources