I am using a plug and play dongle for internet connection. My WP8 emulator is not working ...I tried all the steps mentioned here and on various other forums.. but it was of no help...I am using a 64 bit machine and Hyper-V is on.What should I do?
This is a problem which even Microsoft is unable to answer as of date.
Windows Phone 8 Emulator has a separate IP of its own, different from the IP of the host computer. It needs a dedicated internet connection for itself.
When you are connecting the dongle, you are feeding internet only to the host system and not to the emulator.
One way to get internet on emulator is to use WLAN connection on the system. You can create a WiFi hotspot and that will provide internet to emulator.
In case, you only have dongle as an option, then you have to do tethering with another system.
Create a peer-to-peer network using a LAN cable with another nearby system and change the IPV4 of all available virtual switch adapters of both the systems to dynamic. (no static IP)
Then use dongle to share internet for both the systems. If the other system successfully gets the internet, be sure that the emulator will also get the internet.
You can google out how to create a peer-to-peer connection.
Happy coding :)
Related
Windows machine: After configuring on-board WiFi, I cannot access Arduino Yun board using arduino.local. However while configuring, I gave name of the board exactly arduino.
Linux (Ubuntu): However if I repeat same steps configuring WiFi in Ubuntu, I can access its webpanel using arduino.local in browser.
Any solution how can I access from a Windows machine. Or how to figure out IP address of the board to access its webpanel?
You should follow the instructions on their site very carefully.
Specifically:
NB: The Yún uses Bonjour services for auto-discovery on a wireless network. This service is not included with Windows by default. If you do not have Bonjour already installed, you can download the service from here. Additionally, you should make sure any anti-virus software is not blocking communication on port 5353.
I want to develop an Android app that connects with a Windows desktop application via TCP/IP.
However I have very little knowledge of networking and so please forgive me if this is a very basic doubt.
My Windows based laptop as well as Android phone are connected to the internet via the same WiFi router.
Now I checked the IP address for my laptop as well as phone using a website.
Both are same!
If both have the same IP address, then to achieve networking between these devices I will choose different set of port numbers.
Will this connection work?
Is the connection happening via the internet or just locally on my
router?
EDIT: After reading the answer from #Doon, I have broadened my question.
Let's say the local address of laptop is 192.168.1.10 and that of phone is 192.168.1.20.
If I code my application to use these IP addresses, it should work as it is a local network.
But what if I want my laptop to connect with another phone which is not connected to the WiFi router, rather by 3G network.
Then which IP address should be used for the laptop and the other phone?
Since I am not allowed to use any other server, I am going to use port forwarding i.e. the user will type in the IP address displayed on the other device. The connection could be initiated on either one of the devices.
If you could also show how to do this programmatically, it would be very helpful.
My Windows application is developed in C++ using Qt.
All of your devices are sharing 1 external or WAN IP address using NAPT (network address port translation). Internally on your LAN each device has its own address. So yes it will work but you are going to need to use internal addrss and the devices actual IP address not its perceived address via an external service.
As for the connection locally or via router that all depends on where you are connecting to. If both end points are on your lan or on the same Subnet then the router will not be involved. So in the average home network between your phone and desktop both connected to the same network say via wifi then they are most likely layer 2 adjacent (see the OSI 7 layer model for more info on layer 2 vs layer 3). But once they are not on the same network then routing will be involved and your router will be used. If the phone is connected to 3G or the cell data network and you want it to talk to your desktop on your home network you are going to need to deal with port forwarding on your router and other such fun things.
In regards to updates. Once you leave the local network it gets more complicated especially with IPv4 as address are running out so there is more and more use of nat or IPv6 with 6 to 4 gateways. Do you want the laptop to initiate connect to the phone or phone to the laptop? But normally you will need to iterate your address on your interfaces. Then connect with an external service to get your external IP address and compare and see if they are the same. if both endpoints are dynamically assigned you will need some sort of location mechanism could be dynamic DNS could be locator service etc.
I am having bit of a peculiar problem. Windows Phone 8 Emulator is unable to connect to internet when my host laptop is connected to WiFi. However, internet freely works when I connect the laptop using LAN to the same router. I checked and compared the configuration in both the cases. It is exactly the same! Here are screenshots of both the cases.
On WiFi adapters look like this and there's not internet on the emulator:
On wired connection, adapters look like this and internet happily works:
I'm totally confused about this. Everything worked on Windows 8. After upgrading to Windows 8.1 problems started.
When you connect to WiFi, verify the IPv4 settings in vEthernet(Windows Phone Emulator Internal Switch);
In IPv4 setting -> General Tab -> select "Obtain an IP address automatically"
-OR-
Try adding IP address manually in the IPv4 settings.
also add the Preferred DNS Servers and Alternate DNS server
I hope this helps.
How can I connect wireless network adapter to VMWare workstation ?(My Host OS is Windows 7 Ultimate, my Guest OS is Fedora 13 & my VMWare version is 6.5.0)
I'm running Windows 7 on my Dell Vostro A860 laptop & my wireless network adapter is Atheros.
Workstation doesn't have a wireless NIC type, so direct wireless hardware access is out. If you just want to access through the extant host wireless connection, bridging is your answer.
I think the only way to get a wireless NIC dedicated to the VM would be using a USB wireless NIC as a USB-passthrough device on the VM. When you have Workstation running and a USB device plugged in, it should give you an option to change whether that device is connected to the host or to the VM.
Add a local loop network in your normal PC (search google how to)
Click start -> type "ncpa.cpl" hit enter to open network connections.
While pressing Ctrl key, select both your wireless and recently created local loop network. right click on it and create the bridge.
Now in virtual network editor in vmware, select the network with type "Bridged" and change Bridged to option to the recently created bridge.
You will then have access to network via wifi card.
Use a Linux Live cd/usb and boot an that to be able to directly connect to your wifi hardware or use linux as the main OS with direct access to the wifi card and then use windows as a guest os, I know that this maybe not the ideal way but it will work.
I also encountered a similar problem. I run Ubuntu 11.04 on VMware on a Windows 7 host OS. Virtual machines can't expose the physical wireless cards. All of that is using a virtualization layer.
Since there is only one WiFi hardware on the computer its not possible to connect one WiFi hardware to multiple WiFi networks, if you want to that I think you have to map WiFi hardware to guest OS and how host you'll have to use some other hardware (may be Ethernet) but I'm sure that it will work in that way as no VM software allow us to allocate Hardware to Guest except for USB, you can also get USB WiFI and allocate that to VM only.
Change your network adapter to a bridged connection, this will directly connect to your computers physical network.
Here is a simple way to connect with your WIFI -
Click on Edit from the menu section
Virtual Network Editor
Change Settings
Add Network
Select a network name
Select Bridged option in VMnet Information -> Bridge to : Automatic
Apply
That's it. You might be asked password to connect. Add it and you would be able to connect to the network.
Kind Regards,
Rahul Tilloo
I'm a complete newbie to VMWare and troubleshooting networking issues.
I'm running the buildix app through VMWare Player on my laptop. Things work fine when I'm connected to my home wireless network.
However, when I'm not connected to a network, my wireless card is turned off (eg., to save power) or when I'm connected to another wireless network, the Buildix appliance / VMWare player fails to get an ip address.
I only want the appliance to be able to communicate with my laptop.
I've tried this in all 3 networking modes : Host-Only (which is what I believe I want), NAT and Bridged, all with no success.
I've also taken a look at the settings by running vmnetcfg.exe in the VMWare Player install dir, but can't see anything obvious here.
Can someone please assist?
Regards
Marty
Host-Only mode is probably the way to go in your case. The problem is NAT and Bridged mode are relying on some third-party DHCP server to provide an IP address, and that server is not available when you are running disconnected.
VMware Workstation (not sure about Player) provides a built-in DHCP server if your machine is configured onto the right virtual network switch. You can also adjust which virtual switch has the DHCP server, what IP addresses it gives out, etc.
If Player does not support this feature, you may be forced into setting the IP address of the virtual machine manually. This is dependent on what OS you are running.