Page 1 of 1

No network and intenet [SOLVED]

PostPosted: Oct 3rd, '24, 09:04
by pujithadimuthu
OS: Windows 10 Pro x64 and Mageia 9 x64 (Up to date)
Desktop: HP ProDesk 600 G1 Tower PC
Network: Intel(R) Ethernet Connection I217-LM

Windows I can connect to network and the internet. but in Linux sometimes I can not connect (connect and disconnect..) to internet and network.
Checked both auto and manual. DNS 8.8.8.8 and 8.8.4.4

Re: No network and intenet

PostPosted: Oct 3rd, '24, 09:31
by doktor5000
Hi there, how should the dxdiag from windows help us figure out why your network connection under Mageia does not work _sometimes_ ?

Re: No network and intenet

PostPosted: Oct 3rd, '24, 10:36
by pujithadimuthu
what do you need?

Re: No network and intenet

PostPosted: Oct 3rd, '24, 11:20
by doktor5000
Some actual details on your network connection under Mageia? And some more information on when it works and when not.

At least the output of the following commands would be required:
Code: Select all
ip -o a
ip -o r
cat /etc/resolv.conf

ping -c4 8.8.8.8
ping -c4 <IP_of_your_router>
nslookup mageia.org
ping -c4 mageia.org

Re: No network and intenet

PostPosted: Oct 3rd, '24, 12:51
by pujithadimuthu
yesterday night I installed the OS. Updated the OS. After the update internet connation got issues as I understand.
sometimes if I change auto to manual and manual to auto network worked.
Now internet not working.

Results:

Code: Select all
[root@Pujitha-PC ~]# ip -o a
1: lo    inet 127.0.0.1/8 scope host lo\       valid_lft forever preferred_lft forever
1: lo    inet6 ::1/128 scope host noprefixroute \       valid_lft forever preferred_lft forever
2: eno1    inet 192.168.2.2/24 brd 192.168.2.255 scope global eno1\       valid_lft forever preferred_lft forever
2: eno1    inet6 fe80::eeb1:d7ff:fe2e:d4e3/64 scope link proto kernel_ll \       valid_lft forever preferred_lft forever
[root@Pujitha-PC ~]#

[root@Pujitha-PC ~]# ip -o r
default via 192.168.2.1 dev eno1 metric 10
169.254.0.0/16 dev eno1 scope link metric 1002
192.168.2.0/24 dev eno1 proto kernel scope link src 192.168.2.2
[root@Pujitha-PC ~]#

[root@Pujitha-PC ~]# cat /etc/resolv.conf
nameserver 8.8.8.8
nameserver 8.8.4.4
[root@Pujitha-PC ~]#

[root@Pujitha-PC ~]# ping -c4 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
From 192.168.2.2 icmp_seq=1 Destination Host Unreachable
From 192.168.2.2 icmp_seq=2 Destination Host Unreachable
From 192.168.2.2 icmp_seq=3 Destination Host Unreachable
From 192.168.2.2 icmp_seq=4 Destination Host Unreachable

--- 8.8.8.8 ping statistics ---
4 packets transmitted, 0 received, +4 errors, 100% packet loss, time 3035ms
pipe 3
[root@Pujitha-PC ~]#

[root@Pujitha-PC ~]# ping -c4 192.168.2.1
PING 192.168.2.1 (192.168.2.1) 56(84) bytes of data.
From 192.168.2.2 icmp_seq=1 Destination Host Unreachable
ping: sendmsg: No route to host
From 192.168.2.2 icmp_seq=2 Destination Host Unreachable
From 192.168.2.2 icmp_seq=3 Destination Host Unreachable

--- 192.168.2.1 ping statistics ---
4 packets transmitted, 0 received, +3 errors, 100% packet loss, time 3028ms
pipe 3
[root@Pujitha-PC ~]#

[root@Pujitha-PC ~]# nslookup mageia.org
;; communications error to 8.8.8.8#53: timed out
;; communications error to 8.8.8.8#53: timed out
;; communications error to 8.8.8.8#53: timed out
;; communications error to 8.8.4.4#53: timed out
;; no servers could be reached


[root@Pujitha-PC ~]#

[root@Pujitha-PC ~]# ping -c4 mageia.org
ping: mageia.org: Name or service not known
[root@Pujitha-PC ~]#

Problems occurred during the network connectivity test.

This can be caused by invalid network configuration, or problems with your modem or router.

You might want to relaunch the configuration to verify the connection settings.


---- what will happen if i put yes to "allow interface to be controlled by network manager"?

Added code tags to output of commands. ~Germ

Re: No network and intenet

PostPosted: Oct 3rd, '24, 15:24
by doktor5000
pujithadimuthu wrote:
Code: Select all
[root@Pujitha-PC ~]# ping -c4 192.168.2.1
PING 192.168.2.1 (192.168.2.1) 56(84) bytes of data.
From 192.168.2.2 icmp_seq=1 Destination Host Unreachable
ping: sendmsg: No route to host
From 192.168.2.2 icmp_seq=2 Destination Host Unreachable
From 192.168.2.2 icmp_seq=3 Destination Host Unreachable

--- 192.168.2.1 ping statistics ---
4 packets transmitted, 0 received, +3 errors, 100% packet loss, time 3028ms
pipe 3
[root@Pujitha-PC ~]#


There's no connection to your router, hence also no internet connection.

pujithadimuthu wrote:---- what will happen if i put yes to "allow interface to be controlled by network manager"?

Nothing, that would allow networkmanager to manage the interface if you would use networkmanager.

Maybe it would help if you simply switch to networkmanager:
https://wiki.mageia.org/en/Switching_to_networkmanager

Re: No network and intenet

PostPosted: Oct 3rd, '24, 16:22
by pujithadimuthu
if i do not have internet how can i write these sentences? That is the problem. no connation to router or internet.. from the OS. Router is working

Re: No network and intenet

PostPosted: Oct 3rd, '24, 16:43
by pujithadimuthu
Code: Select all
[root@Pujitha-PC ~]# ping 127.0.0.1
PING 127.0.0.1 (127.0.0.1) 56(84) bytes of data.
64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=0.054 ms
64 bytes from 127.0.0.1: icmp_seq=2 ttl=64 time=0.043 ms
64 bytes from 127.0.0.1: icmp_seq=3 ttl=64 time=0.035 ms
64 bytes from 127.0.0.1: icmp_seq=4 ttl=64 time=0.060 ms
64 bytes from 127.0.0.1: icmp_seq=5 ttl=64 time=0.035 ms
64 bytes from 127.0.0.1: icmp_seq=6 ttl=64 time=0.035 ms
64 bytes from 127.0.0.1: icmp_seq=7 ttl=64 time=0.037 ms
64 bytes from 127.0.0.1: icmp_seq=8 ttl=64 time=0.084 ms
64 bytes from 127.0.0.1: icmp_seq=9 ttl=64 time=0.133 ms
^C
--- 127.0.0.1 ping statistics ---
9 packets transmitted, 9 received, 0% packet loss, time 8095ms
rtt min/avg/max/mdev = 0.035/0.057/0.133/0.030 ms
[root@Pujitha-PC ~]#


Code: Select all
[root@Pujitha-PC ~]# ping 192.168.2.2
PING 192.168.2.2 (192.168.2.2) 56(84) bytes of data.
64 bytes from 192.168.2.2: icmp_seq=1 ttl=64 time=0.052 ms
64 bytes from 192.168.2.2: icmp_seq=2 ttl=64 time=0.045 ms
64 bytes from 192.168.2.2: icmp_seq=3 ttl=64 time=0.047 ms

Re: No network and intenet

PostPosted: Oct 3rd, '24, 18:34
by doktor5000
Please use code-tags when posting output.

Also what is your ping output supposed to show? You ping your loopback adress and your own local IP adress, you still don't have a working network connection to your router.

Re: No network and intenet

PostPosted: Oct 5th, '24, 10:04
by pujithadimuthu
today morning installed openSuSE Leap 15.6 x64 (Updated) in a separate hard disk. it is working fine. FYI

Re: No network and intenet

PostPosted: Dec 18th, '24, 08:41
by pujithadimuthu
Today managed to get an update. Now OK. Thanks... :D

Re: No network and intenet

PostPosted: Dec 18th, '24, 13:12
by doktor5000
Please don't forget to mark the thread as solved, by editing the subject of the first post and prefix it with [SOLVED], thanks in advance.