No network and intenet [SOLVED]

No network and intenet [SOLVED]

Postby pujithadimuthu » Oct 3rd, '24, 09:04

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
Attachments
DxDiag.txt
Windows 10 x64 DxDiag
(73.81 KiB) Downloaded 166 times
Last edited by pujithadimuthu on Dec 18th, '24, 16:44, edited 1 time in total.
User avatar
pujithadimuthu
 
Posts: 80
Joined: Nov 4th, '20, 10:13
Location: Taprobana

Re: No network and intenet

Postby doktor5000 » Oct 3rd, '24, 09:31

Hi there, how should the dxdiag from windows help us figure out why your network connection under Mageia does not work _sometimes_ ?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18040
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: No network and intenet

Postby pujithadimuthu » Oct 3rd, '24, 10:36

what do you need?
User avatar
pujithadimuthu
 
Posts: 80
Joined: Nov 4th, '20, 10:13
Location: Taprobana

Re: No network and intenet

Postby doktor5000 » Oct 3rd, '24, 11:20

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
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18040
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: No network and intenet

Postby pujithadimuthu » Oct 3rd, '24, 12:51

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
Attachments
Screenshot_20241003_160847.png
network setup
Screenshot_20241003_160847.png (73.42 KiB) Viewed 9689 times
User avatar
pujithadimuthu
 
Posts: 80
Joined: Nov 4th, '20, 10:13
Location: Taprobana

Re: No network and intenet

Postby doktor5000 » Oct 3rd, '24, 15:24

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
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18040
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: No network and intenet

Postby pujithadimuthu » Oct 3rd, '24, 16:22

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
User avatar
pujithadimuthu
 
Posts: 80
Joined: Nov 4th, '20, 10:13
Location: Taprobana

Re: No network and intenet

Postby pujithadimuthu » Oct 3rd, '24, 16:43

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
Attachments
Screenshot_20241003_200638.jpg
network Up
Screenshot_20241003_200638.jpg (221.82 KiB) Viewed 9657 times
User avatar
pujithadimuthu
 
Posts: 80
Joined: Nov 4th, '20, 10:13
Location: Taprobana

Re: No network and intenet

Postby doktor5000 » Oct 3rd, '24, 18:34

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.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18040
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: No network and intenet

Postby pujithadimuthu » Oct 5th, '24, 10:04

today morning installed openSuSE Leap 15.6 x64 (Updated) in a separate hard disk. it is working fine. FYI
User avatar
pujithadimuthu
 
Posts: 80
Joined: Nov 4th, '20, 10:13
Location: Taprobana

Re: No network and intenet

Postby pujithadimuthu » Dec 18th, '24, 08:41

Today managed to get an update. Now OK. Thanks... :D
User avatar
pujithadimuthu
 
Posts: 80
Joined: Nov 4th, '20, 10:13
Location: Taprobana

Re: No network and intenet

Postby doktor5000 » Dec 18th, '24, 13:12

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.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18040
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany


Return to Networking

Who is online

Users browsing this forum: No registered users and 1 guest