I am using Visual Studio 2012 in Windows 8. I have set up Windows Phone 8 sdk and everything was working fine until I made some changes to network settings. First I was unable to connect to internet through the emulator. But I managed to set up internet connectivity by sharing the physical connection with my USB modem. However now I'm having problems in launching the emulator which has been working absolutely fine before. When I run the emulator separately (via Hyper-V manager) everything is okay and I can connect to internet but the problem is when I launch the emulator from Visual Studio 2012.
A related question can be found here [1] but the answer is not what I am looking for. Is there a way to fix this issue without running the emulator on a virtual machine?
Thanks
1 Windows Phone 8 Emulator Deployment Issue with Internet
When I ran into this it was caused by my anti-virus software. Specifically, the 'AVG network filter driver' was enabled for the Hyper-V virtual adapter. Unchecking this option fixed the problem for me.
Interference from other virtualization or networking software and drivers outlines specifically which items should be checked for the virtual adapter.
The debugger runs over a TCP/IP connection so if you've changed the HyperV network settings it's possible you've isolated the VM from the host so it cannot open a connection. Try and reset the connection back to it was before you changed it to get the Internet working and this should re-store your debugger.
Edit the .VMX file in your virtual machine folder
vhv.enable = "TRUE"
hypervisor.cpuid.v0 = “FALSE”
and save it.
A little late, but I had to face the same problem and found this solution (all the other solutions didn't work for me)
1.go to network and sharing center
2.go to change adapter setting
3.go to v Ethernet (internal Ethernet port windows phone emulator internal switch)
4.right click it and enable it(if already enabled then disable and enable it again).
Related
've looked around and can't seem to find the answer to this - probably because the feature is pretty new.
I tried the remote WSL:ubuntu connection on my windows desktop machine to connect to my WSL2 Ubuntu running on the same machine. This is pretty much perfect as it allows access to my Nvidia GPU under linux
Is there anyway I can do the same trick from my macbook? I can connect to the windows side of the desktop using the new remote tunnel feature but I'm drawing a blank on how to do for the WSL buried in that machine. It looks like it's just using the same remote connection feature so I'm thinking it should be possible but WSL2 network is not exposed the same way you can with a VM or other machine.
The desktop has way more everything than my macbook including a nvidia GPU I want to use for some machine learning.
I can do it from the desktop itself - but it's nice to be able to use that machine from my macbook at certain times of day.
I have recently started using VSCode so I'm on the learning curve with it - it may well be that it's not possible using the new remote tunnels - or requires some messing with adding a new hyper-v bridged adapter to the WSL installation. I'm hoping against hope there's an easy solve that I've somehow missed.
I tried setting up the remote tunnel as per https://code.visualstudio.com/blogs/2022/12/07/remote-even-better but it seems to setup a server to access windows not the WSL2 service.
Thanks for any help!
I had a similar problem and found this github issue. While the developers are looking into including this feature, you currently will need to install the VSCode CLI directly in WSL. You can find the downloads here
Notes
I would recommend the x64 CLI download in the Linux section. It will download a tar.gz file which will have a file named code in it when extracted.
The tunnel will launch from wherever you place that code file, so I put mine in the ~/ (home) directory.
You can then open a tunnel using the command ./code tunnel from that location. You can replace the . with the path to the code file to open the tunnel while in a different directory, i.e. ~/code.
You can still launch a tunnel from Windows with code tunnel. (note that this command does not have ./)
I use Visual Studio Code and RemoteSSH extension to connect to a remote server located across the ocean via the corporate VPN, The connection gets established when I connect via my mobile hotspot, but it keeps showing "Attempting to reconnect" asking for password repeatedly when I use my broadband.
I have compared the internet speed of both the service providers and below are the results.
1)Airtel hotspot(remote ssh works)
2)Hathway broadband(remote ssh does'nt work)
From the above images it is evident that my broadband speed(upload and download) is much better than my internet hotspot speed, In spite of this I am unable to use remote ssh to code using my broadband network, Is there something that needs to be tweaked, or are the internet speed tests in a way inaccurate?
I had similar experience and there are many threads on the subject, none of which resolved it for me.
I am working on a Windows laptop and connecting to remote Centos linux.
I also connect to company network via their VPN.
I resolved it in the following manner, maybe not all steps are required, but this is what I did -but firstly, I setup ssh keys so as not to have to keep using a password, well worth the effort.
Updated the fileWatcher in code to ignore .git folder and venv folder, this improves performance
Updated WSL to WSL2
Install a linux shell on Windows - I was already using an Ubuntu one, installed prior to vscode, but hints online suggested installing it after vscode, so I installed the Kali shell.
Installed openssh-server (to get ssh-keygen) on kali
Launched code from the kali shell, let it do its setup
Even though all extensions were installed on both machine, vscode didn't recognize that and I had to use the option in the extension section to "install exentsions on remote server"
After that, every thing was fine.
Hope that helps anyone else searching this problem.
In Airtel hotspot, your public IP address remains the same.
In case of Hathway broadband, public IP changes very frequently. So, if your VPN is redirecting you over IP, there may be possibility of delay because of authentication verification.
OK, I am having a problem setting up a virtual machine in Hyper-V, I’m not getting the use of the mouse. When I connect to the machine from Hyper-V and click somewhere I get:
Virtual Machine Connection
Mouse not captured in Remote Desktop session.
The mouse is available in a Remote Desktop session when integration services are installed in the guest operating system.
If I try the same from Virtual Machine Manager I get:
Virtual Machine Connection
The mouse is unavailable in a Remote Desktop session when virtual guest services are not installed in the guest operating system.
The operating system is Vista Ultimate x86 Service Pack 2.
I have installed the integration services disk (Action | Insert Integration Services Setup Disk). This runs through the installation, says it was successful and prompts for a restart. After the restart I log in, click on something and get the same error above.
I have been Googling and as a result I have tried:
Detecting the HAL
Adding a 2nd CPU
Installed all available Windows updates
Trying installing the integration services again by running as administrator
Building a new Vista machine
Importing a Vista .vhd file from VirtualBox
Nothing. No joy.
Does anyone know how I can allow my Vista machine to accept the mouse?
Thank you.
This might sound trivial, but have you tried enabling "Guest Services" on the Vista VM? Here is how you can do it:
* From Hyper-V manager, right click on the Vista VM and go to Settings
* Management > Integration Services > Check "Guest Services".
If that does not help, let me know the version of your Windows host and also the result of following Powershell cmdlet (You need to execute this when VM is running):
Get-VM -Name <Your VM Name> | Select IntegrationServicesVersion, IntegrationServicesState
Typically, attaching the ISO file from Host's "C:\Windows\System32\vmguest.iso" and running the Setup from inside the VM should enable Mouse on Vista VMs. This is automatically done when you do "Insert Integration Services Setup Disk" action.
Hopefully it is not too late. First of all, you need to turn off the VM, and change the OS type to Vista in VM summary. Then you are allowed to install Virtual Guest Services. After installation, issue disappeared.
Basically I think the issue is from the fact that Hyper-V was not to identify the OS correctly.
I added all the hyper-v system devices in manually. Check with another working VM to see what system devices are not shown. Re-started and it worked fine.
I have installed the VMware Player to use the CentOS 6.2 on my machine having Windows XP operating system. When I am using the CentOS , I am not able to access the internet . But the sites hosted by our organization's intranet are accessible.
Also , I am able to access the internet and intranet when I am accessing it in the XP environment.
I have not created any user for the CentOS and it is avaialbe to me when I am selecting any instance of the CentOS through the VMware Player.
Looking for Help!
I had this problem too, and it seems the solution is to modify
/etc/sysconfig/network-scripts/ifcfg-eth0
So that the line reads
ONBOOT=yes instead of the default ONBOOT=no
Then restart your computer, or run ifup eth0 and you should have internet working. Since the default is to have no network, it can be tricky to find the solution if you haven't got another computer to look it up from!
Im using parallels desktop on my macbook (lion os) and I want to get xampp/localhost to work on the version of XP I have installed so I am able to test my websites in Internet explorer.
Obviously I don't want to have to install two different versions of xampp on my parallels desktop as that would mean duplicating sql databases etc.
Anyone know how to do this?
Thanks for any help in advance!
After further research I have found that if you go to Terminal and type in the command "ifconfig" and look for the "vnic1" section which is the last section to be printed and it has an ip address called "inet" e.g. "10.37.129.2" this will take you directly to local host.
If it doesn't work you must ensure that your parallels is set to a shared network under the preferences network section. Hope this helps others who are having difficulties.