Not connecting to internet - Scilinux 7.6 running on vwmare (host windows 10)
Red HatThis forum is for the discussion of Red Hat Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Not connecting to internet - Scilinux 7.6 running on vwmare (host windows 10)
Hello,
I'm having trouble connecting to the internet in my Scilinux virtual machine
I'm using a bridged connection
Things I've tried:
- Reinstalling vmware
- Reinstalling the OS: when i do this, the VM connects to the internet just fine, but when i log out and start the VM again it stops connecting.
- NAT connection
This is my first time using a Red Hat related OS (I've been using debian and related distros for a while)
Show us the output of ip address and ip route and the /etc/sysconfig/network-scripts/ifcfg* files.
How do you try connecting to the internet? Do you get a reply when running ping 1.1.1.1? Do you have connectivity to the Windows 10 host?
I am a bit confused by your remark about logging out. Do you lose connection when logging out, or when you reboot the VM?
Code:
[vnbl@localhost ~]$ ip address
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: ens33: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 00:0c:29:57:23:56 brd ff:ff:ff:ff:ff:ff
inet 192.168.1.124/24 brd 192.168.1.255 scope global dynamic ens33
valid_lft 62928sec preferred_lft 62928sec
3: bridge0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default qlen 1000
link/ether 92:a9:85:49:a7:fd brd ff:ff:ff:ff:ff:ff
4: virbr0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default qlen 1000
link/ether 52:54:00:22:6c:07 brd ff:ff:ff:ff:ff:ff
inet 192.168.122.1/24 brd 192.168.122.255 scope global virbr0
valid_lft forever preferred_lft forever
5: virbr0-nic: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast master virbr0 state DOWN group default qlen 1000
link/ether 52:54:00:22:6c:07 brd ff:ff:ff:ff:ff:ff
[vnbl@localhost ~]$ ip route
default via 192.168.1.1 dev ens33
169.254.0.0/16 dev ens33 scope link metric 1002
192.168.1.0/24 dev ens33 proto kernel scope link src 192.168.1.124
192.168.122.0/24 dev virbr0 proto kernel scope link src 192.168.122.1
[vnbl@localhost ~]$ ls /etc/sysconfig/network-scripts/ifcfg*
/etc/sysconfig/network-scripts/ifcfg-Bridge_connection_1
/etc/sysconfig/network-scripts/ifcfg-ens33
/etc/sysconfig/network-scripts/ifcfg-eth0
/etc/sysconfig/network-scripts/ifcfg-lo
How do you try connecting to the internet? Not sure i understand this question,
I tried using firefox, didn't work, I tried downloading a script using wget, didn't work either
I tried using ping again just now and it didn't work
If you don't get access to a web site, be it through a browser or wget or other tool, you may have internet connectivity problems or your DNS may not be set up correctly. Since you were able to access 1.1.1.1, I assumed the latter.
Now you seem to have intermittent lack of connectivity.
The problem is that there are several moving parts. Between your VM and the internet, you have VMware, the Windows PC, and whatever home or office networking equipment you use for internet access. Somewhere along this chain, the traffic is blocked (at least sometimes).
If I were you, I would use Wireshark or other network tracing tools like tcpdump on Linux to find out which component chokes your traffic. If you have never used them, the little time you need to invest to acquire beginners skills with these tools is well worth it in my opinion.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.