How can i get my vm running Linux to connect to my wifi. My system has the windows OS
What kind of VM software are you using? VMware? VirtualBox? Something else? In case you need set up networking to bridge mode and choose your wifi interface.
I am currently using VmWare
Typically, you select VM. Edit > Virtual Network Editor and Set to bridge mode. See https://docs.vmware.com/en/VMware-Workstation-Pro/15.0/com.vmware.ws.using.doc/GUID-4D35D1FC-5926-45A8-96B1-42C922DA97E9.html for info. I hope this helps.
Thank you so much for your response but it did not work. I am currently working on a project in school and it has to do with getting 5 Linux commands that are top level and make a video of how they work. I wanted my project to be on telnet and firewall but since my vm is not connecting to my wi-fi, i would have to do something different that does not need my vm to communicate outside.
Would you by any chance be able to provide me with a few commands and their uses?
You don’t need wifi to set up firewall and ssh. Do not use telnet. It is outdated. You need to use ssh. Log in to your Linux VM and you can run commands directly. Like
date ls pwd ## can you connect to outside ? ## ping google.com host www.google.com
To become a root user, type:
Now you can set up firewall. Is is Ubuntu VM? Or CentOS VM? Also state Linux version (see how to find Linux version https://www.cyberciti.biz/faq/how-to-check-os-version-in-linux-command-line/)
That’s the problem, i am unable to connect to outside and that was why i wanted to get it to my wi-fi. I have tried to ping google but it comes back with “name or service not known.” I even used the ip addr command to check if the vm has an ip but it does not. only loopback addresses and subnet mask.
Can you ping to public IP like 220.127.116.11?
ping 18.104.22.168 ping 22.214.171.124
Can you ping to your router IP (assuming that it is 192.168.1.254)?
How did you set up networking? Is it DHCP based?
Network unreachable. yes. Local DHCP network.