You are not logged in.

#1 2023-05-28 17:21:30

chipuni
Member
Registered: 2023-05-28
Posts: 11

SOLVED: Newbie:Connect to network stops after one minute.

I managed to really mess up my connection to the wireless network.

Behavior:

I am able to connect to the Internet through wireless for about a minute at a time, and no more. I do so by clicking on the "KDE" icon, selecting my wireless, entering the password, and waiting for t

My KDE reports: Limited connectivity. This device appears to be connected to a network but is unable to reach the Internet.

Cause:

I was trying to move to NetworkManager, but I set up something badly.

System setup:

Here is the output of `systemctl list-units`:

  UNIT                                                                                                  LOAD   ACTIVE SUB       DESCRIPTION                                       >
  proc-sys-fs-binfmt_misc.automount                                                                     loaded active waiting   Arbitrary Executable File Formats File System Auto>
  sys-devices-pci0000:00-0000:00:02.0-drm-card0-card0\x2deDP\x2d1-intel_backlight.device                loaded active plugged   /sys/devices/pci0000:00/0000:00:02.0/drm/card0/car>
  sys-devices-pci0000:00-0000:00:03.0-sound-card0-controlC0.device                                      loaded active plugged   /sys/devices/pci0000:00/0000:00:03.0/sound/card0/c>
  sys-devices-pci0000:00-0000:00:14.0-usb1-1\x2d3-1\x2d3:1.2-bluetooth-hci0.device                      loaded active plugged   /sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:>
  sys-devices-pci0000:00-0000:00:14.0-usb2-2\x2d3-2\x2d3:1.0-host1-target1:0:0-1:0:0:0-block-sdb.device loaded active plugged   SD_Card_Reader
  sys-devices-pci0000:00-0000:00:1b.0-sound-card1-controlC1.device                                      loaded active plugged   /sys/devices/pci0000:00/0000:00:1b.0/sound/card1/c>
  sys-devices-pci0000:00-0000:00:1c.2-0000:03:00.0-net-wlan0.device                                     loaded active plugged   BCM43602 802.11ac Wireless LAN SoC
  sys-devices-pci0000:00-0000:00:1c.4-0000:05:00.0-0000:06:00.0-0000:07:00.0-domain0-0\x2d0.device      loaded active plugged   /sys/devices/pci0000:00/0000:00:1c.4/0000:05:00.0/>
  sys-devices-pci0000:00-0000:00:1c.4-0000:05:00.0-0000:06:00.0-0000:07:00.0-domain0.device             loaded active plugged   /sys/devices/pci0000:00/0000:00:1c.4/0000:05:00.0/>
  sys-devices-pci0000:00-0000:00:1c.5-0000:04:00.0-ata1-host0-target0:0:0-0:0:0:0-block-sda-sda1.device loaded active plugged   APPLE_SSD_SM0512G 1
  sys-devices-pci0000:00-0000:00:1c.5-0000:04:00.0-ata1-host0-target0:0:0-0:0:0:0-block-sda-sda2.device loaded active plugged   APPLE_SSD_SM0512G 2
  sys-devices-pci0000:00-0000:00:1c.5-0000:04:00.0-ata1-host0-target0:0:0-0:0:0:0-block-sda-sda3.device loaded active plugged   APPLE_SSD_SM0512G 3
  sys-devices-pci0000:00-0000:00:1c.5-0000:04:00.0-ata1-host0-target0:0:0-0:0:0:0-block-sda.device      loaded active plugged   APPLE_SSD_SM0512G
  sys-devices-platform-applesmc.768-leds-smc::kbd_backlight.device                                      loaded active plugged   /sys/devices/platform/applesmc.768/leds/smc::kbd_b>
  sys-devices-platform-serial8250-tty-ttyS0.device                                                      loaded active plugged   /sys/devices/platform/serial8250/tty/ttyS0
  sys-devices-platform-serial8250-tty-ttyS1.device                                                      loaded active plugged   /sys/devices/platform/serial8250/tty/ttyS1
  sys-devices-platform-serial8250-tty-ttyS10.device                                                     loaded active plugged   /sys/devices/platform/serial8250/tty/ttyS10
  sys-devices-platform-serial8250-tty-ttyS11.device                                                     loaded active plugged   /sys/devices/platform/serial8250/tty/ttyS11
  sys-devices-platform-serial8250-tty-ttyS12.device                                                     loaded active plugged   /sys/devices/platform/serial8250/tty/ttyS12
  sys-devices-platform-serial8250-tty-ttyS13.device                                                     loaded active plugged   /sys/devices/platform/serial8250/tty/ttyS13
  sys-devices-platform-serial8250-tty-ttyS14.device                                                     loaded active plugged   /sys/devices/platform/serial8250/tty/ttyS14
  sys-devices-platform-serial8250-tty-ttyS15.device                                                     loaded active plugged   /sys/devices/platform/serial8250/tty/ttyS15
  sys-devices-platform-serial8250-tty-ttyS16.device                                                     loaded active plugged   /sys/devices/platform/serial8250/tty/ttyS16
  sys-devices-platform-serial8250-tty-ttyS17.device                                                     loaded active plugged   /sys/devices/platform/serial8250/tty/ttyS17
  sys-devices-platform-serial8250-tty-ttyS18.device                                                     loaded active plugged   /sys/devices/platform/serial8250/tty/ttyS18
  sys-devices-platform-serial8250-tty-ttyS19.device                                                     loaded active plugged   /sys/devices/platform/serial8250/tty/ttyS19
  sys-devices-platform-serial8250-tty-ttyS2.device                                                      loaded active plugged   /sys/devices/platform/serial8250/tty/ttyS2
  sys-devices-platform-serial8250-tty-ttyS20.device                                                     loaded active plugged   /sys/devices/platform/serial8250/tty/ttyS20
  sys-devices-platform-serial8250-tty-ttyS21.device                                                     loaded active plugged   /sys/devices/platform/serial8250/tty/ttyS21
  sys-devices-platform-serial8250-tty-ttyS22.device                                                     loaded active plugged   /sys/devices/platform/serial8250/tty/ttyS22
  sys-devices-platform-serial8250-tty-ttyS23.device                                                     loaded active plugged   /sys/devices/platform/serial8250/tty/ttyS23
  sys-devices-platform-serial8250-tty-ttyS24.device                                                     loaded active plugged   /sys/devices/platform/serial8250/tty/ttyS24
  sys-devices-platform-serial8250-tty-ttyS25.device                                                     loaded active plugged   /sys/devices/platform/serial8250/tty/ttyS25
  sys-devices-platform-serial8250-tty-ttyS26.device                                                     loaded active plugged   /sys/devices/platform/serial8250/tty/ttyS26
  sys-devices-platform-serial8250-tty-ttyS27.device                                                     loaded active plugged   /sys/devices/platform/serial8250/tty/ttyS27
  sys-devices-platform-serial8250-tty-ttyS28.device                                                     loaded active plugged   /sys/devices/platform/serial8250/tty/ttyS28
  sys-devices-platform-serial8250-tty-ttyS29.device                                                     loaded active plugged   /sys/devices/platform/serial8250/tty/ttyS29
  sys-devices-platform-serial8250-tty-ttyS3.device                                                      loaded active plugged   /sys/devices/platform/serial8250/tty/ttyS3
  sys-devices-platform-serial8250-tty-ttyS30.device                                                     loaded active plugged   /sys/devices/platform/serial8250/tty/ttyS30
  sys-devices-platform-serial8250-tty-ttyS31.device                                                     loaded active plugged   /sys/devices/platform/serial8250/tty/ttyS31
  sys-devices-platform-serial8250-tty-ttyS4.device                                                      loaded active plugged   /sys/devices/platform/serial8250/tty/ttyS4
  sys-devices-platform-serial8250-tty-ttyS5.device                                                      loaded active plugged   /sys/devices/platform/serial8250/tty/ttyS5
  sys-devices-platform-serial8250-tty-ttyS6.device                                                      loaded active plugged   /sys/devices/platform/serial8250/tty/ttyS6
  sys-devices-platform-serial8250-tty-ttyS7.device                                                      loaded active plugged   /sys/devices/platform/serial8250/tty/ttyS7
  sys-devices-platform-serial8250-tty-ttyS8.device                                                      loaded active plugged   /sys/devices/platform/serial8250/tty/ttyS8
  sys-devices-platform-serial8250-tty-ttyS9.device                                                      loaded active plugged   /sys/devices/platform/serial8250/tty/ttyS9
  sys-devices-virtual-misc-rfkill.device                                                                loaded active plugged   /sys/devices/virtual/misc/rfkill
  sys-module-configfs.device                                                                            loaded active plugged   /sys/module/configfs
  sys-module-fuse.device                                                                                loaded active plugged   /sys/module/fuse
  sys-subsystem-bluetooth-devices-hci0.device                                                           loaded active plugged   /sys/subsystem/bluetooth/devices/hci0
  sys-subsystem-net-devices-wlan0.device                                                                loaded active plugged   BCM43602 802.11ac Wireless LAN SoC                >
  -.mount                                                                                               loaded active mounted   Root Mount
  boot-efi.mount                                                                                        loaded active mounted   /boot/efi
  dev-hugepages.mount                                                                                   loaded active mounted   Huge Pages File System
  dev-mqueue.mount                                                                                      loaded active mounted   POSIX Message Queue File System
  run-credentials-systemd\x2dsysctl.service.mount                                                       loaded active mounted   /run/credentials/systemd-sysctl.service
  run-credentials-systemd\x2dsysusers.service.mount                                                     loaded active mounted   /run/credentials/systemd-sysusers.service
  run-credentials-systemd\x2dtmpfiles\x2dsetup.service.mount                                            loaded active mounted   /run/credentials/systemd-tmpfiles-setup.service
  run-credentials-systemd\x2dtmpfiles\x2dsetup\x2ddev.service.mount                                     loaded active mounted   /run/credentials/systemd-tmpfiles-setup-dev.service
  run-credentials-systemd\x2dvconsole\x2dsetup.service.mount                                            loaded active mounted   /run/credentials/systemd-vconsole-setup.service
  run-user-1000-doc.mount                                                                               loaded active mounted   /run/user/1000/doc
  run-user-1000-gvfs.mount                                                                              loaded active mounted   /run/user/1000/gvfs
  run-user-1000.mount                                                                                   loaded active mounted   /run/user/1000
  sys-fs-fuse-connections.mount                                                                         loaded active mounted   FUSE Control File System
  sys-kernel-config.mount                                                                               loaded active mounted   Kernel Configuration File System
  sys-kernel-debug.mount                                                                                loaded active mounted   Kernel Debug File System
  sys-kernel-tracing.mount                                                                              loaded active mounted   Kernel Trace File System
  tmp.mount                                                                                             loaded active mounted   Temporary Directory /tmp                          >
  systemd-ask-password-plymouth.path                                                                    loaded active waiting   Forward Password Requests to Plymouth Directory Wa>
  systemd-ask-password-wall.path                                                                        loaded active waiting   Forward Password Requests to Wall Directory Watch >
  init.scope                                                                                            loaded active running   System and Service Manager
  session-2.scope                                                                                       loaded active running   Session 2 of User chipuni                         >
  alsa-restore.service                                                                                  loaded active exited    Save/Restore Sound Card State
  bluetooth.service                                                                                     loaded active running   Bluetooth service
  bolt.service                                                                                          loaded active running   Thunderbolt system service
  dbus.service                                                                                          loaded active running   D-Bus System Message Bus
  dhcpcd.service                                                                                        loaded active running   DHCP/ IPv4LL/ IPv6RA/ DHCPv6 client on all interfa>
  iwd.service                                                                                           loaded active running   Wireless service
  kmod-static-nodes.service                                                                             loaded active exited    Create List of Static Device Nodes
  ldconfig.service                                                                                      loaded active exited    Rebuild Dynamic Linker Cache
  lvm2-monitor.service                                                                                  loaded active exited    Monitoring of LVM2 mirrors, snapshots etc. using d>
  NetworkManager.service                                                                                loaded active running   Network Manager
  plymouth-quit-wait.service                                                                            loaded active exited    Hold until boot process finishes up
  plymouth-quit.service                                                                                 loaded active exited    Terminate Plymouth Boot Screen
  plymouth-read-write.service                                                                           loaded active exited    Tell Plymouth To Write Out Runtime Data
  plymouth-start.service                                                                                loaded active exited    Show Plymouth Boot Screen
  polkit.service                                                                                        loaded active running   Authorization Manager
● postgresql.service                                                                                    loaded failed failed    PostgreSQL database server
  rtkit-daemon.service                                                                                  loaded active running   RealtimeKit Scheduling Policy Service
  sddm.service                                                                                          loaded active running   Simple Desktop Display Manager
  systemd-backlight@backlight:intel_backlight.service                                                   loaded active exited    Load/Save Screen Backlight Brightness of backlight>
  systemd-backlight@leds:smc::kbd_backlight.service                                                     loaded active exited    Load/Save Screen Backlight Brightness of leds:smc:>
  systemd-fsck@dev-disk-by\x2duuid-E75C\x2dB46A.service                                                 loaded active exited    File System Check on /dev/disk/by-uuid/E75C-B46A
  systemd-journal-catalog-update.service                                                                loaded active exited    Rebuild Journal Catalog
  systemd-journal-flush.service                                                                         loaded active exited    Flush Journal to Persistent Storage
  systemd-journald.service                                                                              loaded active running   Journal Service
  systemd-logind.service                                                                                loaded active running   User Login Management
  systemd-modules-load.service                                                                          loaded active exited    Load Kernel Modules
  systemd-random-seed.service                                                                           loaded active exited    Load/Save OS Random Seed
  systemd-remount-fs.service                                                                            loaded active exited    Remount Root and Kernel File Systems
  systemd-sysctl.service                                                                                loaded active exited    Apply Kernel Variables
  systemd-sysusers.service                                                                              loaded active exited    Create System Users
  systemd-tmpfiles-setup-dev.service                                                                    loaded active exited    Create Static Device Nodes in /dev
  systemd-tmpfiles-setup.service                                                                        loaded active exited    Create Volatile Files and Directories
  systemd-udev-trigger.service                                                                          loaded active exited    Coldplug All udev Devices
  systemd-udevd.service                                                                                 loaded active running   Rule-based Manager for Device Events and Files
  systemd-update-done.service                                                                           loaded active exited    Update is Completed
  systemd-update-utmp.service                                                                           loaded active exited    Record System Boot/Shutdown in UTMP
  systemd-user-sessions.service                                                                         loaded active exited    Permit User Sessions
  systemd-vconsole-setup.service                                                                        loaded active exited    Setup Virtual Console
  udisks2.service                                                                                       loaded active running   Disk Manager
  upower.service                                                                                        loaded active running   Daemon for power management
  user-runtime-dir@1000.service                                                                         loaded active exited    User Runtime Directory /run/user/1000
  user@1000.service                                                                                     loaded active running   User Manager for UID 1000
  wpa_supplicant.service                                                                                loaded active running   WPA supplicant                                    >
  -.slice                                                                                               loaded active active    Root Slice
  system-getty.slice                                                                                    loaded active active    Slice /system/getty
  system-modprobe.slice                                                                                 loaded active active    Slice /system/modprobe
  system-systemd\x2dbacklight.slice                                                                     loaded active active    Slice /system/systemd-backlight
  system-systemd\x2dfsck.slice                                                                          loaded active active    Slice /system/systemd-fsck
  system.slice                                                                                          loaded active active    System Slice
  user-1000.slice                                                                                       loaded active active    User Slice of UID 1000
  user.slice                                                                                            loaded active active    User and Session Slice                            >
  dbus.socket                                                                                           loaded active running   D-Bus System Message Bus Socket
  dm-event.socket                                                                                       loaded active listening Device-mapper event daemon FIFOs
  lvm2-lvmpolld.socket                                                                                  loaded active listening LVM2 poll daemon socket
  systemd-coredump.socket                                                                               loaded active listening Process Core Dump Socket
  systemd-journald-dev-log.socket                                                                       loaded active running   Journal Socket (/dev/log)
  systemd-journald.socket                                                                               loaded active running   Journal Socket
  systemd-rfkill.socket                                                                                 loaded active listening Load/Save RF Kill Switch Status /dev/rfkill Watch
  systemd-udevd-control.socket                                                                          loaded active running   udev Control Socket
  systemd-udevd-kernel.socket                                                                           loaded active running   udev Kernel Socket                                >
  dev-disk-by\x2duuid-b4a70086\x2d6342\x2d47a7\x2d8c65\x2d5d7b65bbdd53.swap                             loaded active active    /dev/disk/by-uuid/b4a70086-6342-47a7-8c65-5d7b65bb>
  basic.target                                                                                          loaded active active    Basic System
  bluetooth.target                                                                                      loaded active active    Bluetooth Support
  cryptsetup.target                                                                                     loaded active active    Local Encrypted Volumes
  getty.target                                                                                          loaded active active    Login Prompts
  graphical.target                                                                                      loaded active active    Graphical Interface
  integritysetup.target                                                                                 loaded active active    Local Integrity Protected Volumes
  local-fs-pre.target                                                                                   loaded active active    Preparation for Local File Systems
  local-fs.target                                                                                       loaded active active    Local File Systems
  multi-user.target                                                                                     loaded active active    Multi-User System
  network.target                                                                                        loaded active active    Network
  paths.target                                                                                          loaded active active    Path Units
  remote-fs.target                                                                                      loaded active active    Remote File Systems
  slices.target                                                                                         loaded active active    Slice Units
  sockets.target                                                                                        loaded active active    Socket Units
  sound.target                                                                                          loaded active active    Sound Card
  swap.target                                                                                           loaded active active    Swaps
  sysinit.target                                                                                        loaded active active    System Initialization
  timers.target                                                                                         loaded active active    Timer Units
  veritysetup.target                                                                                    loaded active active    Local Verity Protected Volumes                    >
  archlinux-keyring-wkd-sync.timer                                                                      loaded active waiting   Refresh existing PGP keys of archlinux-keyring reg>
  man-db.timer                                                                                          loaded active waiting   Daily man-db regeneration
  pkgstats.timer                                                                                        loaded active waiting   Weekly pkgstats submission
  shadow.timer                                                                                          loaded active waiting   Daily verification of password and group files
  systemd-tmpfiles-clean.timer                                                                          loaded active waiting   Daily Cleanup of Temporary Directories

LOAD   = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
SUB    = The low-level unit activation state, values depend on unit type.
157 loaded units listed. Pass --all to see loaded but inactive units, too.
To show all installed unit files use 'systemctl list-unit-files'.

Here is the result of `dmesg | tail -30`:

[  887.638322] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[  894.493804] ieee80211 phy0: brcmf_inetaddr_changed: fail to get arp ip table err:-52
[  894.954607] ieee80211 phy0: brcmf_cfg80211_scan: Scanning suppressed: status (4)
[  914.954700] ieee80211 phy0: brcmf_cfg80211_scan: Scanning suppressed: status (4)
[  933.540419] ieee80211 phy0: brcmf_inetaddr_changed: fail to get arp ip table err:-52
[  935.048798] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[  942.390744] ieee80211 phy0: brcmf_inetaddr_changed: fail to get arp ip table err:-52
[  944.979540] ieee80211 phy0: brcmf_cfg80211_scan: Scanning suppressed: status (4)
[  964.979691] ieee80211 phy0: brcmf_cfg80211_scan: Scanning suppressed: status (4)
[  980.526856] ieee80211 phy0: brcmf_inetaddr_changed: fail to get arp ip table err:-52
[  981.025686] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[  982.049461] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[  990.378478] ieee80211 phy0: brcmf_inetaddr_changed: fail to get arp ip table err:-52
[ 1027.541430] ieee80211 phy0: brcmf_inetaddr_changed: fail to get arp ip table err:-52
[ 1028.026668] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 1328.924139] ieee80211 phy0: brcmf_cfg80211_scan: Connecting: status (3)
[ 1328.974820] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 1337.549710] ieee80211 phy0: brcmf_inetaddr_changed: fail to get arp ip table err:-52
[ 1358.973163] ieee80211 phy0: brcmf_inetaddr_changed: fail to get arp ip table err:-52
[ 1359.387410] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 1365.941279] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 1378.197479] ieee80211 phy0: brcmf_inetaddr_changed: fail to get arp ip table err:-52
[ 1432.527664] ieee80211 phy0: brcmf_inetaddr_changed: fail to get arp ip table err:-52
[ 1433.276627] ieee80211 phy0: brcmf_cfg80211_scan: Connecting: status (3)
[ 1433.318948] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 1779.527072] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 1783.009950] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 1789.505386] ieee80211 phy0: brcmf_inetaddr_changed: fail to get arp ip table err:-52
[ 1840.529661] ieee80211 phy0: brcmf_inetaddr_changed: fail to get arp ip table err:-52
[ 1840.966279] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready

Here is the relevant part of `lspci -v`:

03:00.0 Network controller: Broadcom Inc. and subsidiaries BCM43602 802.11ac Wireless LAN SoC (rev 01)
        Subsystem: Apple Inc. BCM43602 802.11ac Wireless LAN SoC
        Flags: bus master, fast devsel, latency 0, IRQ 76
        Memory at c1400000 (64-bit, non-prefetchable) [size=32K]
        Memory at c1000000 (64-bit, non-prefetchable) [size=4M]
        Capabilities: [48] Power Management version 3
        Capabilities: [58] MSI: Enable+ Count=1/16 Maskable- 64bit+
        Capabilities: [68] Vendor Specific Information: Len=44 <?>
        Capabilities: [ac] Express Endpoint, MSI 00
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [13c] Device Serial Number 0c-49-a7-ff-ff-9a-98-01
        Capabilities: [150] Power Budgeting <?>
        Capabilities: [160] Virtual Channel
        Capabilities: [1b0] Latency Tolerance Reporting
        Capabilities: [220] Physical Resizable BAR
        Capabilities: [240] L1 PM Substates
        Kernel driver in use: brcmfmac
        Kernel modules: brcmfmac

Here is the result of `iw dev wlan0 info`:

Interface wlan0
        ifindex 2
        wdev 0x1
        addr c6:54:e0:53:bd:83
        ssid Timulty4_5G
        type managed
        wiphy 0
        channel 36 (5180 MHz), width: 40 MHz, center1: 5190 MHz
        txpower 31.00 dBm

Thank you in advance for any help.

Last edited by chipuni (2023-05-28 22:45:30)

Offline

#2 2023-05-28 18:37:57

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,244

Re: SOLVED: Newbie:Connect to network stops after one minute.

Please use [code][/code] tags, the bbs predates markdown by a decade or so. Edit your post in this regard.
Then please post the output of

find /etc/systemd -type l -exec test -f {} \; -print | awk -F'/' '{ printf ("%-40s | %s\n", $(NF-0), $(NF-1)) }' | sort -f

Edit: though you seem to be running wpa_supplicant and iwd concurrently in some capacity.
Edit #2: if you want to use iwd as NM backend, see https://wiki.archlinux.org/title/Networ … Fi_backend - still post the output of the above command.

Last edited by seth (2023-05-28 18:39:56)

Offline

#3 2023-05-28 19:00:22

chipuni
Member
Registered: 2023-05-28
Posts: 11

Re: SOLVED: Newbie:Connect to network stops after one minute.

I waited for an hour for any answer, removed everything that seemed to be network-related from my system, then followed the instructions in https://www.linuxandubuntu.com/home/how … g-terminal

This gives me a solution that, at least, gives network connectivity (even if it doesn't allow KDE to control the network.)

Here is the result of the command on my system as it exists now:

# find /etc/systemd -type l -exec test -f {} \; -print | awk -F'/' '{ printf ("%-40s | %s\n", $(NF-0), $(NF-1)) }' | sort -f
bluetooth.service                        | bluetooth.target.wants
dbus-org.bluez.service                   | system
dbus-org.freedesktop.resolve1.service    | system
display-manager.service                  | system
gcr-ssh-agent.socket                     | sockets.target.wants
getty@tty1.service                       | getty.target.wants
netctl@your_profile.service              | multi-user.target.wants
p11-kit-server.socket                    | sockets.target.wants
pipewire-media-session.service           | pipewire.service.wants
pipewire-session-manager.service         | user
pipewire.socket                          | sockets.target.wants
postgresql.service                       | multi-user.target.wants
pulseaudio.socket                        | sockets.target.wants
remote-fs.target                         | multi-user.target.wants
systemd-resolved.service                 | sysinit.target.wants
xdg-user-dirs-update.service             | default.target.wants

Thank you for your time!

Offline

#4 2023-05-28 19:06:14

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,244

Re: SOLVED: Newbie:Connect to network stops after one minute.

You're now using netctl, if you want a KDE gadget supported network stack, use networkmanager.
Your problem was that you're running multiple services concurrently - as long as you stick w/ one, you're gonna be fine.

I waited for an hour for any answer

This isn't a helpdesk, the forum is driven by other users in their free time.

Offline

#5 2023-05-28 19:14:28

chipuni
Member
Registered: 2023-05-28
Posts: 11

Re: SOLVED: Newbie:Connect to network stops after one minute.

> This isn't a helpdesk, the forum is driven by other users in their free time.

I absolutely understand. Thank you for helping. I appreciate it. I understand that you are a volunteer.

I will try turning off netctl, turning on NetworkManager, getting the results of `find /etc/systemd -type l -exec test -f {} \; -print | awk -F'/' '{ printf ("%-40s | %s\n", $(NF-0), $(NF-1)) }' | sort -f`, and seeing whether it can work.

Offline

#6 2023-05-28 19:26:30

chipuni
Member
Registered: 2023-05-28
Posts: 11

Re: SOLVED: Newbie:Connect to network stops after one minute.

Here is the result of me shutting off netctl, then starting NetworkManager:

[root@hummingbird ~]# systemctl start NetworkManager.service
[root@hummingbird ~]# ls
Desktop  Documents  Downloads  Music  Pictures  Public  requested-command.sh  Templates  Videos
[root@hummingbird ~]# sh requested-command.sh 
bluetooth.service                        | bluetooth.target.wants
dbus-org.bluez.service                   | system
dbus-org.freedesktop.resolve1.service    | system
display-manager.service                  | system
gcr-ssh-agent.socket                     | sockets.target.wants
getty@tty1.service                       | getty.target.wants
p11-kit-server.socket                    | sockets.target.wants
pipewire-media-session.service           | pipewire.service.wants
pipewire-session-manager.service         | user
pipewire.socket                          | sockets.target.wants
postgresql.service                       | multi-user.target.wants
pulseaudio.socket                        | sockets.target.wants
remote-fs.target                         | multi-user.target.wants
systemd-resolved.service                 | sysinit.target.wants
xdg-user-dirs-update.service             | default.target.wants
[root@hummingbird ~]# systemctl stop NetworkManager.service

Offline

#7 2023-05-28 19:31:54

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,244

Re: SOLVED: Newbie:Connect to network stops after one minute.

Starting the service will not enable it, disabling netctl will not stop it (depending on how you did that)
And the main question is of course whether you can use the network w/ *only* NetworkManager enabled.

Offline

#8 2023-05-28 19:33:53

chipuni
Member
Registered: 2023-05-28
Posts: 11

Re: SOLVED: Newbie:Connect to network stops after one minute.

That is exactly what I would like to solve...

Offline

#9 2023-05-28 19:36:57

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,244

Re: SOLVED: Newbie:Connect to network stops after one minute.

What?
Disable the netctl service, enable networkmanager, reboot - does the network work?

There's really no magic to it, both use wpa_supplicant by default and your initial attempt was spoiled (at least) by the iwd interference.

Offline

#10 2023-05-28 19:38:08

chipuni
Member
Registered: 2023-05-28
Posts: 11

Re: SOLVED: Newbie:Connect to network stops after one minute.

I am a newbie. My current understanding:

systemctl start

will make a service run for now, but does not enable it when you restart the system.

systemctl enable

will make a service turn on when you reboot, but it does not turn it on now.

Do you have any ideas why

systemctl start NetworkManager

did not cause NetworkManager to start?

Offline

#11 2023-05-28 19:39:28

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,244

Re: SOLVED: Newbie:Connect to network stops after one minute.

did not cause NetworkManager to start?

I'm pretty sure it does, the command I asked for lists enabled services, not running ones.

Offline

#12 2023-05-28 19:46:42

chipuni
Member
Registered: 2023-05-28
Posts: 11

Re: SOLVED: Newbie:Connect to network stops after one minute.

Okay. I enabled NetworkManager, rebooted. Here is my terminal session.

(requested-command is

find /etc/systemd -type l -exec test -f {} \; -print | awk -F'/' '{ printf ("%-40s | %s\n", $(NF-0), $(NF-1)) }' | sort -f

)

[chipuni@hummingbird ~]$ sudo bash
[sudo] password for chipuni: 
[root@hummingbird chipuni]# ping 8.8.8.8
ping: connect: Network is unreachable
[root@hummingbird chipuni]# ls
Desktop  Documents  Downloads  Keyboards  lynis.log  lynis-report.dat  Music  Pictures  Public  redirects.sqlite  restart-network.sh  Source  Temp  Templates  Videos  Workspace
[root@hummingbird chipuni]# cd
[root@hummingbird ~]# ls
Desktop  Documents  Downloads  Music  Pictures  Public  requested-command.sh  Templates  Videos
[root@hummingbird ~]# sh requested-command.sh 
bluetooth.service                        | bluetooth.target.wants
dbus-org.bluez.service                   | system
dbus-org.freedesktop.nm-dispatcher.service | system
dbus-org.freedesktop.resolve1.service    | system
display-manager.service                  | system
gcr-ssh-agent.socket                     | sockets.target.wants
getty@tty1.service                       | getty.target.wants
NetworkManager.service                   | multi-user.target.wants
NetworkManager-wait-online.service       | network-online.target.wants
p11-kit-server.socket                    | sockets.target.wants
pipewire-media-session.service           | pipewire.service.wants
pipewire-session-manager.service         | user
pipewire.socket                          | sockets.target.wants
postgresql.service                       | multi-user.target.wants
pulseaudio.socket                        | sockets.target.wants
remote-fs.target                         | multi-user.target.wants
systemd-resolved.service                 | sysinit.target.wants
xdg-user-dirs-update.service             | default.target.wants
[root@hummingbird ~]# netctl start your_profile
Job for netctl@your_profile.service failed because the control process exited with error code.
See "systemctl status netctl@your_profile.service" and "journalctl -xeu netctl@your_profile.service" for details.
[root@hummingbird ~]# systemctl stop NetworkManager.service NetworkManager-wait-online.servie
Failed to stop NetworkManager-wait-online.servie.service: Unit NetworkManager-wait-online.servie.service not loaded.
[root@hummingbird ~]# systemctl stop NetworkManager.service NetworkManager-wait-online.service
[root@hummingbird ~]# netctl start your_profile
[root@hummingbird ~]# ping
ping: usage error: Destination address required
[root@hummingbird ~]# ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=115 time=8.71 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=115 time=3.25 ms
64 bytes from 8.8.8.8: icmp_seq=3 ttl=115 time=3.45 ms
^C
--- 8.8.8.8 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 3.247/5.135/8.710/2.529 ms

Thank you for your patience in helping this newbie.

Offline

#13 2023-05-28 19:50:09

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,244

Re: SOLVED: Newbie:Connect to network stops after one minute.

Since you had a bunch of wifi services running, are you using a wireless network? Did you create a NM profile for it?
Either see https://wiki.archlinux.org/title/Networ … i_examples or use the KDE connection manager GUI.

Offline

#14 2023-05-28 20:00:39

chipuni
Member
Registered: 2023-05-28
Posts: 11

Re: SOLVED: Newbie:Connect to network stops after one minute.

Here are the results of working with

nmcli

:

[root@hummingbird ~]# systemctl stop netctl
[root@hummingbird ~]# systemctl start NetworkManager.service NetworkManager-wait-online.service
[root@hummingbird ~]# nmcli device wifi list
IN-USE  BSSID  SSID  MODE  CHAN  RATE  SIGNAL  BARS  SECURITY 
[root@hummingbird ~]# nmcli device wifi list
IN-USE  BSSID  SSID  MODE  CHAN  RATE  SIGNAL  BARS  SECURITY 
[root@hummingbird ~]# nmcli device wifi list
IN-USE  BSSID  SSID  MODE  CHAN  RATE  SIGNAL  BARS  SECURITY 
[root@hummingbird ~]# nmcli connection show
NAME         UUID                                  TYPE      DEVICE 
lo           40459b64-7844-4f02-814f-6e157bd1799f  loopback  lo     
Timulty4     b35f487e-1c76-4007-96dc-134a671d6b0d  wifi      --     
Timulty4_5G  c2a8bdbc-c7e7-438a-8468-b85f83626236  wifi      --     
[root@hummingbird ~]# nmcli connection up Timulty4
Error: Connection activation failed: No suitable device found for this connection (device wlan0 not available because device is not available).
[root@hummingbird ~]# nmcli device
DEVICE  TYPE      STATE                   CONNECTION 
lo      loopback  connected (externally)  lo         
wlan0   wifi      unavailable             --         
[root@hummingbird ~]# ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP mode DEFAULT group default qlen 1000
    link/ether 22:7d:98:df:37:30 brd ff:ff:ff:ff:ff:ff permaddr 98:01:a7:9a:0c:49
[root@hummingbird ~]# systemctl stop NetworkManager.service NetworkManager-wait-online.service
[root@hummingbird ~]# netctl start your_profile

It's not seeing my local wireless networks.

Offline

#15 2023-05-28 20:05:29

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,244

Re: SOLVED: Newbie:Connect to network stops after one minute.

The device isn't available because it's in use (probably from netctl)
Use netctl to stop the connection, not systemctl to stop netctl, make sure the device is down before you attempt to connect to it w/ nmcli (the value inside the "<>" matters)

Offline

#16 2023-05-28 20:18:20

chipuni
Member
Registered: 2023-05-28
Posts: 11

Re: SOLVED: Newbie:Connect to network stops after one minute.

Got it.

I rebooted completely.

The good news is that I can see the local networks.

[root@hummingbird chipuni]# nmcli device wifi list
IN-USE  BSSID              SSID                     MODE   CHAN  RATE        SIGNAL  BARS  SECURITY    
        FC:34:97:D0:3B:F0  Timulty4                 Infra  10    270 Mbit/s  94      ▂▄▆█  WPA2        
        CC:40:D0:9F:7F:4C  Garlic Bread             Infra  1     130 Mbit/s  92      ▂▄▆█  WPA2        
        FC:34:97:D0:3B:F4  Timulty4_5G              Infra  36    270 Mbit/s  92      ▂▄▆█  WPA2        
        FA:8F:CA:66:AD:ED  --                       Infra  1     65 Mbit/s   90      ▂▄▆█  --          
        F0:99:BF:0D:FD:7E  BBTimeCapsule            Infra  1     195 Mbit/s  85      ▂▄▆█  WPA2        
        10:0C:6B:1F:EA:61  GilmoreBenayoun          Infra  4     195 Mbit/s  80      ▂▄▆_  WPA2        
        F0:21:E0:EE:D0:72  3b60bb                   Mesh   5     270 Mbit/s  69      ▂▄▆_  WPA3        
        F0:21:E0:EE:D0:76  --                       Infra  5     270 Mbit/s  69      ▂▄▆_  --          
        F0:21:E0:EE:D0:74  Kobomama                 Infra  5     270 Mbit/s  69      ▂▄▆_  WPA2        
        F4:05:95:A3:6B:2D  Meeko                    Infra  11    540 Mbit/s  64      ▂▄▆_  WPA2        
        CC:40:D0:9F:7F:4E  NETGEAR39-5G             Infra  36    270 Mbit/s  64      ▂▄▆_  WPA2        
        34:6B:46:41:A2:52  MySpectrumWiFi4c-2G      Infra  11    195 Mbit/s  60      ▂▄▆_  WPA2        
        F0:21:E0:AB:FB:46  Kobomama                 Infra  5     270 Mbit/s  59      ▂▄▆_  WPA2        
        88:57:1D:51:C7:DC  [range]_E30AJT7113987R   Infra  4     65 Mbit/s   57      ▂▄▆_  WPA2        
        F0:21:E0:EC:4E:44  Kobomama                 Infra  5     270 Mbit/s  52      ▂▄__  WPA2        
        78:D2:94:67:33:23  NETGEAR13                Infra  11    130 Mbit/s  50      ▂▄__  WPA2        
        88:DE:7C:32:AA:B1  SpectrumSetup-B3         Infra  6     260 Mbit/s  47      ▂▄__  WPA2        
        B0:FC:88:67:7F:39  SSspa                    Infra  6     540 Mbit/s  45      ▂▄__  WPA2        
        78:D2:94:67:33:24  NETGEAR13-5G             Infra  153   405 Mbit/s  42      ▂▄__  WPA2        
        FC:34:97:5D:DA:E0  AGO WIFI                 Infra  8     270 Mbit/s  40      ▂▄__  WPA2        
        F0:99:BF:0D:FD:7F  BBTimeCapsule            Infra  36    405 Mbit/s  37      ▂▄__  WPA2        
        F0:21:E0:EE:D0:73  Kobomama                 Infra  161   270 Mbit/s  37      ▂▄__  WPA2        
        0C:8D:DB:68:85:15  Victor on Venice - WiFi  Infra  6     130 Mbit/s  35      ▂▄__  --          
        F0:21:E0:AB:FB:45  Kobomama                 Infra  161   270 Mbit/s  35      ▂▄__  WPA2        
        4C:19:5D:0E:68:83  HaiderHelay              Infra  1     540 Mbit/s  34      ▂▄__  WPA2        
        C0:C9:E3:01:5E:B6  Garbanzo_5GHz            Infra  36    270 Mbit/s  32      ▂▄__  WPA2        
[root@hummingbird chipuni]# 
[root@hummingbird chipuni]# 
[root@hummingbird chipuni]# 
[root@hummingbird chipuni]# nmcli device wifi connect Timulty4 password "PASSWORD*GOES*HERE"
Error: Connection activation failed: Secrets were required, but not provided.

So I'm starting to look at https://unix.stackexchange.com/question … s-were-req

Offline

#17 2023-05-28 20:24:41

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,244

Re: SOLVED: Newbie:Connect to network stops after one minute.

Edit: if there're any special characters in the password you might have to quote or escape it w/ nmcli.

Just use the KDE GUI?

Last edited by seth (2023-05-28 20:27:24)

Offline

#18 2023-05-28 20:34:19

chipuni
Member
Registered: 2023-05-28
Posts: 11

Re: SOLVED: Newbie:Connect to network stops after one minute.

I'm now getting something different:

[root@hummingbird chipuni]# nmcli dev wifi con "Timulty4" password "PASSWORD*GOES*HERE"
Error: Connection activation failed: IP configuration could not be reserved (no available address, timeout, etc.).

My wife is streaming right now, but once she's done, I will try restarting my router.

I'm going to stop this now. Thank you very much for all of your help!

Offline

#19 2023-05-28 22:46:45

chipuni
Member
Registered: 2023-05-28
Posts: 11

Re: SOLVED: Newbie:Connect to network stops after one minute.

And restarting the router fixed the problem, finally.

Thank you, @seth, for your patience while I worked out this problem!

Offline

Board footer

Powered by FluxBB