View previous topic :: View next topic |
Author |
Message |
ONEEYEMAN Advocate
Joined: 01 Mar 2005 Posts: 3650
|
Posted: Sat Jun 08, 2024 12:19 am Post subject: X + GNOME - no internet icon and no DNS |
|
|
Hi, A::,
I have the following issue.
My ISP cut off service couple of days ago.
I was able to repair it by paying the bill, but since then I losy the Network icon in the GNOME top bar.
Moreover - the Network settings not working properly.
When I open the "Settings" and go to "Network" it shows an error "Exclamation mar" and the following is displayed:
Quote: |
Network Unavailable
An error has occurred and network cannot be used.
Error details: Network Manager is not running
|
However this is not true, as I am posting this message from that machine.
Whats more - I can ping google.com, but I can't ping 8.8.8.8.
Could someone please help?
Code: |
igor@WaylandGnome ~ $ ifconfig
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 972 bytes 77612 (75.7 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 972 bytes 77612 (75.7 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.233 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 2601:7c0:cb80:b10:2c2a:e2e1:3c0:a1e3 prefixlen 64 scopeid 0x0<global>
inet6 fe80::d02b:944f:be3c:96dd prefixlen 64 scopeid 0x20<link>
inet6 2601:7c0:cb80:b10::ee3f prefixlen 128 scopeid 0x0<global>
ether a4:02:b9:4a:8b:57 txqueuelen 1000 (Ethernet)
RX packets 217789 bytes 63027064 (60.1 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 256343 bytes 61332536 (58.4 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
igor@WaylandGnome ~ $
|
As you can see I do have an IP and can access the Web. But I can't do anything IP related.
Thank you. |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5109 Location: Bavaria
|
Posted: Sat Jun 08, 2024 4:29 am Post subject: Re: X + GNOME - no internet icon and no DNS |
|
|
ONEEYEMAN wrote: | Whats more - I can ping google.com, but I can't ping 8.8.8.8. |
Then you have reached google.com via IPv6 ... and your IPv4 does not work. Have you set your IPv4 address (192.168.1.233) static or do you get it via DHCP. Can you ping your own router (maybe: 192.168.1.1?) If this works, then your IPv4 problem to 8.8.8.8 is caused either by your ISP or wrong settings in your router. _________________ https://wiki.gentoo.org/wiki/User:Pietinger |
|
Back to top |
|
|
ONEEYEMAN Advocate
Joined: 01 Mar 2005 Posts: 3650
|
Posted: Sat Jun 08, 2024 10:23 pm Post subject: |
|
|
Hi,
[ Code: |
igor@WaylandGnome ~/wxFork/buildGTK/samples/text $ ping -c 3 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
64 bytes from 192.168.1.1: icmp_seq=1 ttl=64 time=4.26 ms
64 bytes from 192.168.1.1: icmp_seq=2 ttl=64 time=3.99 ms
64 bytes from 192.168.1.1: icmp_seq=3 ttl=64 time=3.42 ms
--- 192.168.1.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2002ms
rtt min/avg/max/mdev = 3.423/3.893/4.262/0.349 ms
igor@WaylandGnome ~/wxFork/buildGTK/samples/text $ ping -c 3 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
--- 8.8.8.8 ping statistics ---
3 packets transmitted, 0 received, 100% packet loss, time 2075ms
igor@WaylandGnome ~/wxFork/buildGTK/samples/text $ ping -c 3 google.com
PING google.com (2607:f8b0:4002:c02::71) 56 data bytes
64 bytes from ym-in-f113.1e100.net (2607:f8b0:4002:c02::71): icmp_seq=1 ttl=54 time=18.8 ms
64 bytes from ym-in-f113.1e100.net (2607:f8b0:4002:c02::71): icmp_seq=2 ttl=54 time=23.1 ms
64 bytes from ym-in-f113.1e100.net (2607:f8b0:4002:c02::71): icmp_seq=3 ttl=54 time=22.5 ms
--- google.com ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2002ms
rtt min/avg/max/mdev = 18.818/21.488/23.119/1.903 ms
igor@WaylandGnome ~/wxFork/buildGTK/samples/text $
|
Yes, it looks like I can ping the router.
I called the ISP (Comcast) and they said that everything i set up properly.
What parameters in the modem should I check?
Also - I'd like to see that icon for the Internet access on top of the screen.
Thank you. |
|
Back to top |
|
|
ONEEYEMAN Advocate
Joined: 01 Mar 2005 Posts: 3650
|
Posted: Sun Jun 09, 2024 12:10 am Post subject: |
|
|
Hi,
Now this is done on my MAC:
Code: |
Igors-MacBook-Air:dbhandler igorkorot$ ping -c 3 google.com
PING google.com (142.250.105.113): 56 data bytes
Request timeout for icmp_seq 0
Request timeout for icmp_seq 1
^C
--- google.com ping statistics ---
3 packets transmitted, 0 packets received, 100.0% packet loss
Igors-MacBook-Air:dbhandler igorkorot$ ping -c 3 8.8.8.8
PING 8.8.8.8 (8.8.8.8): 56 data bytes
Request timeout for icmp_seq 0
Request timeout for icmp_seq 1
--- 8.8.8.8 ping statistics ---
3 packets transmitted, 0 packets received, 100.0% packet loss
Igors-MacBook-Air:dbhandler igorkorot$ ping -c 3 192.168.1.1
PING 192.168.1.1 (192.168.1.1): 56 data bytes
64 bytes from 192.168.1.1: icmp_seq=0 ttl=64 time=12.030 ms
64 bytes from 192.168.1.1: icmp_seq=1 ttl=64 time=4.666 ms
64 bytes from 192.168.1.1: icmp_seq=2 ttl=64 time=10.676 ms
--- 192.168.1.1 ping statistics ---
3 packets transmitted, 3 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 4.666/9.124/12.030/3.200 ms
Igors-MacBook-Air:dbhandler igorkorot$
|
AS you can see everything works.
And also everything works on Windows.
Thank you.
P.S.: The reason I'm looking into this is because while I can access GitHub from Windows and Mac, I can't do that from my Linux Gentoo box. And of course I need the Network Icon in GNOME... |
|
Back to top |
|
|
ONEEYEMAN Advocate
Joined: 01 Mar 2005 Posts: 3650
|
Posted: Sun Jun 09, 2024 5:24 am Post subject: |
|
|
Hi,
More info:
Gor the test I set the FW on the modem to be "Minimal Security (Low)".
And I was able to access github.
However when the FW is on the "Highest: - only Windows/OSX can access it.
I don't understand this.
I don't have a FW turned on on my machine on Gentoo.
Anything else I can do to debug it?
And I do need the Network Icon in GNOME...
Thank you.
P.S.:
With the High Security:
Code: |
igor@WaylandGnome ~/wxFork $ GIT_TRACE=1 git fetch
00:53:00.101530 git.c:463 trace: built-in: git fetch
00:53:00.101980 run-command.c:657 trace: run_command: unset GIT_PREFIX; GIT_PROTOCOL=version=2 ssh -o SendEnv=GIT_PROTOCOL git@github.com 'git-upload-pack '\''oneeyeman1/wxwidgets.git'\'''
ssh: connect to host github.com port 22: Connection timed out
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
|
With the Low Security:
Code: |
igor@WaylandGnome ~/wxFork $ GIT_TRACE=1 git fetch
01:03:27.458267 git.c:463 trace: built-in: git fetch
01:03:27.458705 run-command.c:657 trace: run_command: unset GIT_PREFIX; GIT_PROTOCOL=version=2 ssh -o SendEnv=GIT_PROTOCOL git@github.com 'git-upload-pack '\''oneeyeman1/wxwidgets.git'\'''
remote: Enumerating objects: 3, done.
remote: Counting objects: 100% (3/3), done.
remote: Total 3 (delta 2), reused 3 (delta 2), pack-reused 0
01:03:30.909521 run-command.c:657 trace: run_command: git unpack-objects --pack_header=2,3
01:03:30.911420 git.c:463 trace: built-in: git unpack-objects --pack_header=2,3
Unpacking objects: 100% (3/3), 336 bytes | 5.00 KiB/s, done.
01:03:31.104061 run-command.c:657 trace: run_command: git rev-list --objects --stdin --not --exclude-hidden=fetch --all --quiet --alternate-refs
01:03:31.106169 git.c:463 trace: built-in: git rev-list --objects --stdin --not --exclude-hidden=fetch --all --quiet --alternate-refs
From github.com:oneeyeman1/wxwidgets
0b7f76f9c5..5c8450e20a masked_edit_v2 -> origin/masked_edit_v2
01:03:32.017706 run-command.c:657 trace: run_command: cd 3rdparty/nanosvg; unset GIT_PREFIX; GIT_DIR=.git git rev-list -n 1 93ce879dc4c04a3ef1758428ec80083c38610b1f --not --all
01:03:32.019595 git.c:463 trace: built-in: git rev-list -n 1 93ce879dc4c04a3ef1758428ec80083c38610b1f --not --all
01:03:32.079826 run-command.c:657 trace: run_command: cd src/stc/lexilla; unset GIT_PREFIX; GIT_DIR=.git git rev-list -n 1 e1fc0520777932a6c2d5d82eca4911ee264e7b8d --not --all
01:03:32.081817 git.c:463 trace: built-in: git rev-list -n 1 e1fc0520777932a6c2d5d82eca4911ee264e7b8d --not --all
01:03:32.311005 run-command.c:1521 run_processes_parallel: preparing to run up to 1 tasks
01:03:32.311300 run-command.c:657 trace: run_command: cd /home/igor/wxFork/.git/modules/3rdparty/nanosvg; unset GIT_PREFIX; GIT_DIR=. git fetch --no-prune --no-prune-tags --recurse-submodules-default on-demand --submodule-prefix 3rdparty/nanosvg/
Fetching submodule 3rdparty/nanosvg
01:03:32.313452 git.c:463 trace: built-in: git fetch --no-prune --no-prune-tags --recurse-submodules-default on-demand --submodule-prefix 3rdparty/nanosvg/
01:03:32.314185 run-command.c:657 trace: run_command: git remote-https origin https://github.com/wxWidgets/nanosvg
01:03:32.316004 git.c:749 trace: exec: git-remote-https origin https://github.com/wxWidgets/nanosvg
01:03:32.316051 run-command.c:657 trace: run_command: git-remote-https origin https://github.com/wxWidgets/nanosvg
01:03:32.714078 run-command.c:657 trace: run_command: git rev-list --objects --stdin --not --exclude-hidden=fetch --all --quiet --alternate-refs
From https://github.com/wxWidgets/nanosvg
ccdb199..93ce879 wx -> origin/wx
01:03:32.764438 run-command.c:1521 run_processes_parallel: preparing to run up to 1 tasks
01:03:32.764454 run-command.c:1549 run_processes_parallel: done
01:03:32.764465 run-command.c:657 trace: run_command: git maintenance run --auto --no-quiet
01:03:32.766156 git.c:463 trace: built-in: git maintenance run --auto --no-quiet
01:03:32.767702 run-command.c:1549 run_processes_parallel: done
01:03:32.767746 run-command.c:657 trace: run_command: git maintenance run --auto --no-quiet
01:03:32.772318 git.c:463 trace: built-in: git maintenance run --auto --no-quiet
igor@WaylandGnome ~/wxFork $
|
Thank you. |
|
Back to top |
|
|
Banana Moderator
Joined: 21 May 2004 Posts: 1732 Location: Germany
|
|
Back to top |
|
|
ONEEYEMAN Advocate
Joined: 01 Mar 2005 Posts: 3650
|
Posted: Sun Jun 09, 2024 3:19 pm Post subject: |
|
|
Hi,
This laptop does not have a wired connection.
When I installed the OS - everything worked and I used DHCP to connect.
Initially it had Wayland with GNOME, but because it has touch screen and Wayland right now has issues I went to update it and put X11.
It was working fine, but then the service was off.
When the service turned back on I lost the icon and the signal was come-and-go.
I got new modem from Comcast, but it didn't help. I can browse, windows and OSX works, but not this laptop with Gentoo.
Thank you. |
|
Back to top |
|
|
Banana Moderator
Joined: 21 May 2004 Posts: 1732 Location: Germany
|
|
Back to top |
|
|
ONEEYEMAN Advocate
Joined: 01 Mar 2005 Posts: 3650
|
Posted: Sun Jun 09, 2024 6:04 pm Post subject: |
|
|
Hi,
I guess that update picked up the NetworkManager among other things:
Code: |
igor@WaylandGnome ~/wxFork $ emerge -pv networkmanager
* Last emerge --sync was 77d 14h 57m 31s ago.
These are the packages that would be merged, in order:
Calculating dependencies... done!
Dependency resolution took 39.00 s (backtrack: 0/20).
[ebuild R ] net-misc/networkmanager-1.42.6-r2::gentoo USE="concheck elogind gtk-doc introspection modemmanager nss policykit ppp tools wext wifi -audit -bluetooth -connection-sharing -debug -dhclient -dhcpcd -gnutls -iptables -iwd -libedit -nftables -ofono -ovs -psl -resolvconf (-selinux) -syslog -systemd -teamd -test -vala" ABI_X86="(64) -32 (-x32)" 0 KiB
Total: 1 package (1 reinstall), Size of downloads: 0 KiB
* IMPORTANT: 23 news items need reading for repository 'gentoo'.
* Use eselect news read to view new items.
igor@WaylandGnome ~/wxFork $
|
So what is the way forward?
If I remove it - I'm sure something else will break.
But if I keep it - I will not have an idea whether the network is operational or not..
I guess I can check what pulled it in and see what is needed...
Thank you.
EDIT:
Code: |
WaylandGnome /home/igor/wxFork # equery d networkmanager
* These packages depend on networkmanager:
app-misc/tracker-miners-3.6.2 (networkmanager ? net-misc/networkmanager)
gnome-base/gnome-control-center-45.2 (networkmanager ? >=net-misc/networkmanager-1.24.0[modemmanager])
gnome-base/gnome-settings-daemon-45.0 (networkmanager ? >=net-misc/networkmanager-1.0)
gnome-base/gnome-shell-45.2 (networkmanager ? >=net-misc/networkmanager-1.10.4[introspection])
gnome-extra/nm-applet-1.32.0 (>=net-misc/networkmanager-1.16[modemmanager?,teamd?])
net-libs/libnma-1.10.6-r1 (>=net-misc/networkmanager-1.7[introspection?])
(vala ? net-misc/networkmanager[vala])
www-client/firefox-115.9.0 (kernel_linux ? net-misc/networkmanager)
WaylandGnome /home/igor/wxFork #
|
which means I can't remove it - too much depends on it, including some GNOME packages.
I tried this:
Code: |
WaylandGnome /home/igor/wxFork # USE="-networkmanager" emerge -pvuDN @world
* Last emerge --sync was 77d 15h 23m 29s ago.
* IMPORTANT: config file '/etc/portage/package.use/zz-autounmask' needs updating.
* See the CONFIGURATION FILES and CONFIGURATION FILES UPDATE TOOLS
* sections of the emerge man page to learn how to update config files.
These are the packages that would be merged, in order:
Calculating dependencies... done!
Dependency resolution took 53.57 s (backtrack: 0/20).
[ebuild R ] gnome-base/gnome-settings-daemon-45.0::gentoo USE="colord elogind -cups -debug -modemmanager -networkmanager* -smartcard -systemd (-test) -wayland" INPUT_DEVICES="-wacom" 0 KiB
[ebuild R ] app-misc/tracker-miners-3.6.2:3::gentoo USE="exif gif gstreamer iso jpeg pdf playlist (seccomp) tiff upower xml -cue -ffmpeg -gsf -iptc -networkmanager* -raw (-rss) -test -xmp -xps" 0 KiB
[ebuild R ] gnome-base/gnome-control-center-45.2:2::gentoo USE="elogind gnome-online-accounts ibus -bluetooth -cups -debug -kerberos -networkmanager* -systemd -test -wayland" INPUT_DEVICES="-wacom" 0 KiB
[ebuild R ] gnome-base/gnome-shell-45.2::gentoo USE="elogind ibus -gtk-doc -networkmanager* -pipewire -systemd -test" PYTHON_SINGLE_TARGET="python3_11 -python3_10 -python3_12" 0 KiB
Total: 4 packages (4 reinstalls), Size of downloads: 0 KiB
* IMPORTANT: 23 news items need reading for repository 'gentoo'.
* Use eselect news read to view new items.
WaylandGnome /home/igor/wxFork #
|
so not everything will be rebuilt.
P.P.S.: the icon I'm talking about is the little network icon which is located in the top right corner of the GNOME screen (looks like 3 little machines connected with wires). I don't think its a NetworkManager" icon - I believe it is a basic network status icon. |
|
Back to top |
|
|
Banana Moderator
Joined: 21 May 2004 Posts: 1732 Location: Germany
|
Posted: Sun Jun 09, 2024 8:18 pm Post subject: |
|
|
Quote: | IMPORTANT: 23 news items need reading for repository 'gentoo'. |
That is not good. If you really did not read, nor did what those news items are telling, than you have and will have a lot of problems....
Since you have installed networkmanager you should use it. Click on it to manger your active connections and a right click gives advanced menu. If you have a manual IP setup you can manage it there. DHCP, too. _________________ Forum Guidelines
PFL - Portage file list - find which package a file or command belongs to.
My delta-labs.org snippets do expire |
|
Back to top |
|
|
ONEEYEMAN Advocate
Joined: 01 Mar 2005 Posts: 3650
|
Posted: Sun Jun 09, 2024 8:36 pm Post subject: |
|
|
Hi,
That installation was not intentional. It was pulled in by the default USE-flags/dependency.
But I guess I should switch to it, right?
And I don't know what icon you are talking about.
I don't have a static IP - DHCP is used.
Thank you.
P.S. I will try to go thru those news... |
|
Back to top |
|
|
ONEEYEMAN Advocate
Joined: 01 Mar 2005 Posts: 3650
|
Posted: Sun Jun 09, 2024 9:41 pm Post subject: |
|
|
Hi,
I presume I should remove the dhcpcd daemon, since it will be NM who will handle it, right?
Thank you. |
|
Back to top |
|
|
ONEEYEMAN Advocate
Joined: 01 Mar 2005 Posts: 3650
|
Posted: Mon Jun 10, 2024 1:33 am Post subject: |
|
|
Hi,
I checked the page here.
Had to rebuild the kernel, because some options were not turned on.
After rebuilding and re-installing the kernel and then rebooting, I lost the network acces. My "wlan0" service doesn't want to start anymore.
I added the option to turn off the predictable network names and its still not starting.
Anyone knows what could be the issue?
Thank you.
P.S.:
This is what I see during boot:
Code: |
Bringing up interface wlan0
Caching network module dependencies
ERROR: interface wlan0 does not exist
Ensure you have loded the correct kernel module for your hardware
ERROR: net,wlan0 failed to start
ERROR: cannot start netmount as net.wlan0 would not start
|
However, I do have a "net.wlan0" link inside /etc/init.d.
Any idea what is going on?
Thank you. |
|
Back to top |
|
|
Banana Moderator
Joined: 21 May 2004 Posts: 1732 Location: Germany
|
|
Back to top |
|
|
ONEEYEMAN Advocate
Joined: 01 Mar 2005 Posts: 3650
|
Posted: Tue Jun 11, 2024 3:39 am Post subject: |
|
|
Hi,
So, after looking at dmesg and leaving the laptop for a day I have a following conclusions:
First and foremost:
This laptop have a touch screen.
Initially it has Wayland along with GNOME. However Wayland experienced erratic mouse bhaviour, where the mouse was moving by itself without me moving it or even touching it.
So I decided to put X on it.
Everything ws working fine until this issue with NetworkManager hit.
Meaning that after rebuilding the kernel according to the guidelines and removing dhcpcd, the mouse erratic behavior is back.
I tried to go back to the old kernel (make menuconfig saved the old config, so I just renamed it), but this behavior staill happened.
Second:
I looked at the dmesg output. There is nothing explicitly wrong there. No, errors reported, except the issue with cfg80211 functions not being found. I will post this log tomorrow for you to review.
But because of the issue 1, I think I will have to remove NetworkManager and go back to basic dhcpcd.
Thank you. |
|
Back to top |
|
|
Banana Moderator
Joined: 21 May 2004 Posts: 1732 Location: Germany
|
|
Back to top |
|
|
ONEEYEMAN Advocate
Joined: 01 Mar 2005 Posts: 3650
|
Posted: Tue Jun 11, 2024 3:56 pm Post subject: |
|
|
Hi,
Banana wrote: |
Quote: |
This laptop have a touch screen.
|
And this is maybe the reason why the mouse behaves erratic?
|
It's possible.
However, it was not happenning when I run it on dhcpcd...
Banana wrote: |
In dmesg you should see the interface names and maybe a rename, thus the problem with the init
|
I will post the dmesg tonight.
Thank you. |
|
Back to top |
|
|
ONEEYEMAN Advocate
Joined: 01 Mar 2005 Posts: 3650
|
Posted: Wed Jun 12, 2024 4:02 am Post subject: |
|
|
H,
As promised - the dmesg can be found here.
Thank you. |
|
Back to top |
|
|
Banana Moderator
Joined: 21 May 2004 Posts: 1732 Location: Germany
|
|
Back to top |
|
|
ONEEYEMAN Advocate
Joined: 01 Mar 2005 Posts: 3650
|
Posted: Wed Jun 12, 2024 2:01 pm Post subject: |
|
|
Hi,
The output include:
Code: |
02:00.0 Network controller: Intel Corporation Wireless 7265 (rev 61)
DeviceName: Intel WLAN Intel 7265NGWG.NVW Stone Peak 2 D0 ac 2x2 + BT 4 LE PCIe +USB NGFF 2230 WW non- vPro
Subsystem: Intel Corporation Dual Band Wireless-AC 7265 [Stone Peak 2 AC]
Kernel module: iwlwifi
|
Thank you. |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5109 Location: Bavaria
|
|
Back to top |
|
|
Banana Moderator
Joined: 21 May 2004 Posts: 1732 Location: Germany
|
|
Back to top |
|
|
ONEEYEMAN Advocate
Joined: 01 Mar 2005 Posts: 3650
|
Posted: Wed Jun 12, 2024 6:41 pm Post subject: |
|
|
Hi,
Yes, it wqs. As stated - I looked at the NetworkManager page and did that accordingly.
Thank you. |
|
Back to top |
|
|
ONEEYEMAN Advocate
Joined: 01 Mar 2005 Posts: 3650
|
Posted: Thu Jun 13, 2024 5:08 am Post subject: |
|
|
H,
II rebuild the kernel wth the DEBUG kpriints and here s the output.
Thank you. |
|
Back to top |
|
|
Banana Moderator
Joined: 21 May 2004 Posts: 1732 Location: Germany
|
|
Back to top |
|
|
|