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!
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.
I have successfuly run rStudio on Amazon Web Services and it is extremely useful.
I want to run eclipse on AWS as well. When I type this in to google most tutorials are about the eclipse plugin. That's not what I want. I want to run eclipse on AWS.
I tried setting up an instance on EC2 which allowed me to run windows server 2012 but I couldn't install anything because of various internet explorer configuration issues and anyway I hat windows. I also tried a remote linux installation but its not really what I want. I want to run eclipse so that I can access it from a public DNS in the same way that I have managed to do with rStudio. Is this possible. Are there other (even non-AWS) ways?
I presume that by "AWS" you are actually referring to Amazon EC2 virtual machines.
Installing software on an Amazon EC2 instance is no different to installing on any other computer -- it's the same copy of Microsoft Windows you would use elsewhere.
The difficulties you mention of running Internet Explorer on Windows 2012 is entirely part of Microsoft's (rather strange) security settings that discourage using Internet Explorer as a system administrator, in order to combat security weaknesses that people try to exploit. Windows 2012 will no longer be supported by Microsoft in 2018.
I recommend using Windows 2016, which does not seem to impose such restrictions. It's also a newer, supported operating system that matches Windows 10.
Then, just install the software as normal and things will work a lot better for you.
Update:
You're right -- IE has problems on Windows 2016 but they are different to what is happening on Windows 2012 (last time I looked).
To get around the silly Microsoft IE security:
Run Server Manager
Go to Local Server
Click IE Enhanced Security Configuration ("On")
Turn both settings off
Internet Explorer then works and you can install Eclipse.
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.
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.