Hey Guys,
I have a question about using USB-OTG to USB/Ethernet adapter with the Nexus 6. I am running a nightly CM12 version 12-06022015. I have a USB-OTG to USB/Ethernet adapter. When I connect everything to the phone and the computer the phone recognizes the setup and I can view eth0 in the terminal and even assign a static IP to the eth0 interface. The adapter also shows activity lights and so does the ethernet port on the laptop. However, I cannot ping the computer. I have the ethernet port on the Laptop configured with the address 192.168.1.100/24 and the phone eth0 configured as 192.168.1.101/24 but the request times out trying to reach either device. The crazy part is that if I leave the laptop doing a continuous ping and reboot the phone through the terminal it pings until the phone is fully booted up and then it stops pinging and returns to the request timed out message!! I am at a loss. Any help would be awesome. Also sorry if this is in the wrong thread but it looked appropriate to post here.
Solved. I downloaded an app from the play store called "Ethernet" and had it automatically assign the IP. For some reason it assigned the phone an APIPA address. When I configured the laptop with an APIPA address on the same network it worked like a charm. There was an interface that showed up with "busybox ifconfig" command that had an APIPA address but it wasn't the eth0 interface. I believe it was the rmnet_usb0 interface bit I'm not sure. Either way the app worked but I'll continue to play around and get it to work without the app.
Related
I Installed WM6_RemoteDesktop.cab on my Tilt and on the connect screen entered ip address (68.50.15x.xxx) for computer and user name and password of my PC account and left domain blank. It comes back with error message.
Coannot Connect. Likely Reasons
1. The remote computer is not set up for this
2. Reached maximum connections
3. A network error occurred while connectin
I have set up a user account on my PC with password and access to remote services.
Number 2. cannot be true as there are no connections right now.
What am I doing wrong, Do I need to tweak anything to make this works.
Please help.. Thanks in advance.
Make sure you have the port open. I don't remember the number because I've changed my default port but I'm sure you can google it.
Port Number is 3389. How do I open this? I am directly connected to the cable modem. Thanks
You should try to connect to your pc using another pc first before focusing on connection on the PDA. Maybe some firewall software on your PC is just blocking incomming connections on port 3389? HTH
I used MS port queri to query the port. It looks like something is blocking the port. I dont know what. I tried the connection after disabling mcaffee firewall. still no luck.
Port queri returned with this
Querying target system called:
sk-machine
Attempting to resolve name to IP address...
Name resolved to 68.50.1xx.xxx
querying...
TCP port 3389 (unknown service): FILTERED
portqry.exe -n sk-machine -e 3389 -p TCP exits with return code 0x00000002.
abhayz said:
TCP port 3389 (unknown service): FILTERED
portqry.exe -n sk-machine -e 3389 -p TCP exits with return code 0x00000002.
Click to expand...
Click to collapse
"FILTERED" means, that the connection attempt was actually rejected by the PC. Meaning: there is an a firewall which is filtering the port. Maybe you have the windows firewall still enabled?
abhayz said:
I used MS port queri to query the port. It looks like something is blocking the port. I dont know what. I tried the connection after disabling mcaffee firewall. still no luck.
Port queri returned with this
Querying target system called:
sk-machine
Attempting to resolve name to IP address...
Name resolved to 68.50.1xx.xxx
querying...
TCP port 3389 (unknown service): FILTERED
portqry.exe -n sk-machine -e 3389 -p TCP exits with return code 0x00000002.
Click to expand...
Click to collapse
Try installing Hamachi both on your pc & kaiser, then you'll be able to connect securely from it with a fixed ip, no need to open ports
xdamatt said:
Try installing Hamachi both on your pc & kaiser, then you'll be able to connect securely from it with a fixed ip, no need to open ports
Click to expand...
Click to collapse
or setup an account over at LogMeIn. Web-based, fast, it's perfect for me.
abhayz said:
I used MS port queri to query the port. It looks like something is blocking the port. I dont know what. I tried the connection after disabling mcaffee firewall. still no luck.
Port queri returned with this
Querying target system called:
sk-machine
Attempting to resolve name to IP address...
Name resolved to 68.50.1xx.xxx
querying...
TCP port 3389 (unknown service): FILTERED
portqry.exe -n sk-machine -e 3389 -p TCP exits with return code 0x00000002.
Click to expand...
Click to collapse
You probably just have the Windows Default Firewall enabled. Which version of Windows are you running?
Windows XP
http://www.microsoft.com/windowsxp/using/security/internet/sp2_wfexceptions.mspx
Vista
http://windowshelp.microsoft.com/Windows/en-US/Help/4da18300-9044-47b6-9038-595c78db81ab1033.mspx
If that still doesn't fix your problem then look at your internet security/virus scanner
My Windows XP sp2 Firewall is turned off and also to be on the safer side, I have checked remote access under "exceptions".
I turned off my Antivirus (Mcaffee) firewall and tried ms port queri again and it still shows as filtered. I dont have any routers, PC is connected directly to the cable modem. Do you think ISPs block port 3389? ISP is comcast, rockville MD
I have made sure that Terminal services is running and Port 3389 is listening (netstat -a)
There are so many articles about identifying blocked/in active port 3389 port on the net but none actually says how to fix it.
That would suck if they block it. Try this out. Oh and I don't think just disabling the virus scanner will solve your problem if that is what is causing it.
http://www.auditmypc.com/firewall-test.asp
Maybe that will show you something you don't know already. (like if all your ports are closed, which would mean there is an active firewall somewhere) Also I would suggest that if you can't get it working any time soon, try to get a router and another computer hooked into yours. This way you can have a network and comcast out of the equation. Try remote desktop from the other computer. Also
Are you using XP pro or home?
Thanks Chumley, I am at work now so will run the firewall audit later on. I have xp media center (which would be home I think).
I tried to telenet to port 3389 to my Home Ip, connection errored out. So port 3389, even though shows as listening, still being blocked by something other than AV firewall or windows firewall.
media center is based off of pro, which is good because then remote desk is actually a feature. HEHE.
hmm, when I do
telnet ip 3389
it's goes to a totally black screen. Never tried that before. I think you can do the port test from work.
Cannot do the firewall test from work as it bases its test on work ip.
for telent test you can type telnet in Start->run
then
o [ip] 3389
I get connect failed.
Hey guys , so i have a netbook with bluetooth (lenovo S10) and my HTC touch Pro. I wanted to control my netbook with myphone using Gremote either via bluetooth or wifi.
First, i tried the bluetooth method. I followed the instrution at the main site and got all the way until i have to setup a PAN in my netbook. However i couldn't find any option to setup a PAN so i couldn't control my netbook with myphone via bluetooth.
Then i proceded to create an ad-hoc wifi network from my netbook. I made it's SSID and then set it as not using any encryption and the network key is automatically provided by windows. My phone detected the network and connected successfully to it. Both had ip's for within the network. Now the Gremote server is already running in my computer. I started the Gremote app in my phone and then went on to create a profile. When i press the FIND button (to search for the ip address) it says couldn't find ip. However in my netbook, The Gremote server shows in it's log file that it received request search from [my phone's ip here].
What is wrong? My netbook seems to be detecting my phone attempting to connect to it but the gremote app on my phone shows that it couldn't find anything?
P/s: I've tried manually key-ing the ipaddress and it didn't work.
Ive had that issue before and other issue with the app. Its strange, one day it will just start working.
For the bluetooth, make sure you have a serial port open, but i have yet to see a bluetooth stack on a PC that doesnt have an option to activate PAN.
With the wifi, you said you manually keyed it in, are you getting that IP from the status page on the gremote server app? make sure you have that port open as well, i think its 5656 or something.
you should try to
1. connect to your PC using a router
2. Drop the wep encyption on your adhoc connection
3. use a static IP for your PC
4. have your phone connected to the wifi connection for atleast 20 seconds before you try to initiate control with gremote.
ive used gremote on 2 laptops and a PC. the PC is my home PC which is the only one that has given me an issue. Regardless, it works now. One day it just started working. on the PC i can use gremote through my router wifi, adhoc connection straight to it, or bluetooth pan. On my laptop i use it through router wifi and adhoc without ever having an issue. on my sisters laptop ive used it with a adhoc connection......still no issue.
Keep messing with it. The only problems ive ever had seemed to have worked themselves out after a couple days.
Thanks YL Groper. Actually about 2 nights ago, i was playing around and it most certainly worked suddenly.
I made a standard Ad hoc network (open without encryption) and let it run. However my computer couldn't detect the network (which was created from the computer). Then i input the SSID to my Touch Pro, and it found the network. After being connected to the network, my computer found the network as well and begin to connect to it. Once it got the ip, my phone could retrieve the ip from the computer and now i have no problem
Hi, I know, probably someone have made the same question but I haven't found anything in the forum.
Is it possible share my internet connection from pc to android via usb or via wifi?
how? thanks
If your PC is on a wired connection with a wireless card you could probably bridge the connection (or just use internet connection sharing if you use windows) and make an ad-hoc network to connect to via wifi.
I have a laptop connected via ethernet... how I can make a ad hoc connection?
I have tried to create one, but the phone don't find anything!!
Nobody can help me ?
You can use Tether WiFi and make your handset as Adhoc access point.This will only work on rooted handsets.
Secondly use something like PdaNetA115 for wired usb connection to use your phone as modem in both cases.Will work with rooted/unrooted.
There is another one which is Tether Bluetooth for rooted phones.
dial100 said:
You can use Tether WiFi and make your handset as Adhoc access point.This will only work on rooted handsets.
Secondly use something like PdaNetA115 for wired usb connection to use your phone as modem in both cases.Will work with rooted/unrooted.
There is another one which is Tether Bluetooth for rooted phones.
Click to expand...
Click to collapse
Wrong way, he's trying to use his laptop's connection to get wifi to the phone, not trying to use the phone as a modem. Looking at some other stuff and trying it myself it doesn't look like you can connect the phone to ad hoc. Sorry
and via usb??? is it possible?
maybe with some adb command....
I have used this method on the micro hero 1.3, CyanogenMod v4.1.11.1 and I am just about to set it up on micro hero 1.4.
http://modmygphone.com/forums/showthread.php?t=22681
I have read on another site that this line should be added to the very end to change it back to read only
"mount -o ro,remount -t yaffs2 /dev/block/mtdblock3 /system"
The wifi modem at my G/Fs mothers has no internal PPPoE login and her adsl connection needs a PPPoE login, Android cant do this or I havnt been able to find and app that does.
I use my laptop(with 2 wifi cards, one internal and 1 external(pcmcia)) to do the PPPoE login(internal wifi) on the laptop and then share this connection via ad-hoc(external wifi) to my G1.
One thing that I would like to point out, if I lose the connection between the G1 and the laptop, I have to reboot the laptop to get it to share the internet again.I haven't worked out why yet.
I have ordered a new modem/wifi/router of ebay that will do away with all this crap, but for now it is a work around that does works, until the new modem arrives.
Hi All,
I also am looking for a way to get the phone connected to the internet FROM the PC via USB.
reason:
I have a Corporate SW that connects to WIFI access points around the world for free (at least free to me, not to the company).
this is done through a SW on the PC. now, I cannot mad an AD Hoc connection because the WIFI is already working. and I also cannot connect using the phone wifi due to the same reason..
is there a way to connect the phone to the Internet through the USB cable?
Thanks,
Itamar
Hi,
I just change my HTC HD for the Nexus One and I really need a way to do that, like ActiveSync for WM.
Is there a solution to use the pc connectivity with android using the USB cable ?
many thx
for WiFi sharing, you could try this: http://www.readwriteweb.com/archives/how_to_turn_your_windows_7_computer_into_a_wireles.php
I'm going to test it this weekend
Maybe this too:
http://www.brighthub.com/computing/windows-platform/articles/7785.aspx
Hi,
HTC Desire natively does not have the ability to see AdHoc connections.
So you will need to do some hacking,good thin this is easy !
Use this link :
forum.xda-developers.com/archive/index.php/t-755254.html
Unfortunately i don't have enough privileges to post links...so you make it a link
Good luck !
If the PC is connected to Wifi, there is no reason the Android device wouldnt be connected as so aswell.
Is there anyway I can share the internet on my notebook to my Android through USB cable, just like Activesync on WM ?
I can ofcourse use Wifi & connect to the same network my notebook is connected to, but the reason I wanna do this is to save power of the Android device by not using Wifi.
Well, here's a reason.... I fly alot and have a software from my workplace that connects me free to almost any non-free hotspot at airports around the world..
that means I can't use wifi on my device and am already using the wifi interface on my PC to connect to the internet.
which leaves me with a dongling USB cable that cannot pass the internet to my phone..
Bummer
im facing the same problem bec. i use a usb modem and i have only the cable to share the pc net on my android so .........waiting for an idea
share internet from pc to android via wifi
I used below way to share pc's internet via wifi.
Prerequisite
laptop:
Windows XP SP3
WIFI + LAN (access internet via LAN)
Android SDK has been installed.
phone:
HTC Desire with official 2.2 Android
Steps:
1. Rooted the phone with unrevoked3.
Because I can not paste link, Please search relevant threads.
Please notice, select "charge only" when link phone to PC.
Do not unplug phone till unrevoked3 display "done".
2. Set NAT on laptop
Please search relevant threads.
a) Modify Registry Entry:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
IPEnableRouter=1
In Command Prompt window, run below command:
b) net stop remoteaccess # Stop the RAS Service
c) netsh routing ip nat install
d) netsh routing ip nat add interface "Local Area Connection" full # This interface have internet link
e) netsh routing ip nat add interface "Wireless Network Connection" private # traffic on this interface will be routed.
f) netsh routing ip nat add interface Internal private
g) net start remoteaccess
h) command "netsh routing ip nat show interface" will output
NAT Internal Configuration
---------------------------
Mode : Private Interface
NAT Local Area Connection Configuration
---------------------------
Mode : Address and Port Translation
NAT Wireless Network Connection Configuration
---------------------------
Mode : Private Interface
3. Enable phone's Hot-Spot with default configuration(DHCP enabled).
Configure laptop connect to phone as AP.
So my laptop's WiFi interface will be DHCPed an ip 192.168.1.157
my phone ip is 192.168.1.1
4. Add route and DNS on phone.
a) "adb shell" in command prompt, then "su".
Now you should login as root.
b) run "ip route add default via 192.168.1.157",
So all phone's traffic will be routed to laptop's WiFi interface.
My LAN interface ip is 192.168.15.100.
Just try "ping 192.168.15.100", It should return successful response.
c) Set DNS server, run "setprop net.dns1 192.168.15.1", Get DNS from laptop with command "ipconfig /all".
Not try ping a existed web site. It should return correct response.
Note:
Windows XP can keep NAT configuration after restart. But you should re-run Step 4 after restart phone's hot-spot.
E-Market and Build-in Browser do work. But GMAIL does not work. It seems Gmail check network connection type.
share PC internet with Android over USB
I also need this solution badly... Let's experiment. Anyone got any ideas?
well, here is my thoughts
1) Create VPN server in phone\network, the server address is 127.0.0.1, enable PPTP protocol
2) adb forward tcp:xxxx tcp:1723
The tcp:1723 is phone's PPTP port
3) Setup a VPN server on PC using port xxxx
4) Start VPN connection on phone
Any idea?
Mac to Android via WiFi
I forgot that this requires ad-hoc support :-/
If you have a mac, you can share your wired/wireless connection via WiFi.
1) Open System Preferences > Sharing > Internet Sharing > Enable
2) Join a wireless connection on plug in ethernet
3) Click airport in the menubar, then 'Create Network'.
Hi All,
I recently acquired a chromecast and would very much like access to the BBC Iplayer (I live in the netherlands). I can already watch Iplayer on my phone using the VPN option in android but once I try to watch it on chromecast it doesn't start the stream which is probably because the chromecast is connected to my home network which is not behind the VPN. I also can't mirror screen since I loose connection from my phone to the chromecast as soon as I connect my phone to the VPN.
Now I read that it is possible to do with a DDWRT router but I do not have one of those and I wouldn't want my whole network to be on a different IP, just the chromecast & if needed my phone. I do however have something that I would like to consider a lot more powerful than a router, namely a "Server PC" running windows XP professional. Would I be able to use this server and enable the VPN on it and then make the chromecast connect to the server? Would I need 2 USB wireless adapters or 1 (so my phone connects to 1 and the chromecast to the second. My server connects via ethernet to my modem)? Could I somehow configure this USB adapter to be connected to the VPN by default? Could I use virtualization software? I would like the most clean option preferably without affecting the rest of my server (but it would be OK if the server is temporarily in the UK until I have watched the show). Perhaps this topic can be extended to other devices with wireless capabilities like NAS and raspberries etc.
Your help is greatly appreciated.
Ok so after some digging I found at least 1 way of doing it: http://alphaloop.blogspot.nl/2014/01/raspberry-pi-as-vpn-wireless-access.html
However I still think this should be possible on a windows XP machine with a wireless adapter.
On many Windows 7 PCs with wi-fi, you can use the following to create a hosted wifi network that your chromecast can connect to:
netsh wlan set hostednetwork mode=allow ssid=XXXX key=YYYY
netsh wlan start hostednetwork
if you then share your VPN adapter's internet connection with the hosted wifi that you've created, you can connect your phone and chromecast to the same wifi XXXX and that will be connected to the internet via the VPN on the laptop.
S4 mini, Cyanogenmod 12.1-20******, Android 5.1.1, KV 3.4.0.
I have USB mobile dongle on PC(good signal) and trying to get phone to use it's internet via USB cable and Android tool
Downloaded the Androidtool zip with all the relevant files.
Phone is rooted(CM) and is set to accept root access in dev options.
USB debugging is enabled.
I have also installed Xposed 22 and the hack connectivity module is installed. All looks good.
As far as I know I must have right USB drivers for PC as all connects with USB cable and looks good.
I have tried DNS both 8.8.4.4 and 8.8.8.8 (changed them manually in ini in AT folder)
USB tunnel service is running and connected.
So AndroidTool connects fine, first time Android asks for root access etc.
I get a # symbol in status bar on phone and all looks good. However no app will connect to internet. Tried chrome, Android browser, ClashofClans and a couple of others.
Any ideas why not.?