Search found 22 matches

by m0t0m
2020/10/24 20:15:34
Forum: CentOS 8 - Networking Support
Topic: [Solved] No external internet access
Replies: 3
Views: 96

Re: No external internet access

Reboot fixed it.

Code: Select all

sudo systemctl restart NetworkManager
was not enough
by m0t0m
2020/10/24 19:41:29
Forum: CentOS 8 - Networking Support
Topic: [Solved] No external internet access
Replies: 3
Views: 96

Re: No external internet access

This is not a VM. It is a laptop I am using on my home network as a server.
I can ssh into it and use the Samba drives, but the server itself cannot access the internet.

I don't know where the search line in resolv.d comes from. It is auto-generated.
by m0t0m
2020/10/24 16:11:28
Forum: CentOS 8 - Networking Support
Topic: [Solved] No external internet access
Replies: 3
Views: 96

[Solved] No external internet access

When I try to ping 8.8.8.8 I get 100% packet loss. Internally on the network the server works as expected. my /etc/sysconfig/network # Created by anaconda and /etc/resolv.conf # Generated by NetworkManager search bbn net dk nameserver 192.168.0.1 My /etc/sysconfig/network-scripts/ifcfg-ethernet TYPE...
by m0t0m
2020/10/13 07:59:07
Forum: CentOS 8 - General Support
Topic: [Solved] How suspend remotely or without sudo?
Replies: 5
Views: 609

Re: [Solved] How suspend remotely or without sudo?

Yes that would work.
I ended up using ProxyJump so only my local machine has the root ssh key.

Code: Select all

Host raspberryPI
    HostName $PUBLIC_IP 
    User $USER
    port $OTHER_THAN_22

Host root-server
    HostName $LOCAL_IP 
    User root
    port 22
    ProxyJump raspberryPI
by m0t0m
2020/10/12 16:38:12
Forum: CentOS 8 - General Support
Topic: [Solved] How suspend remotely or without sudo?
Replies: 5
Views: 609

Re: [Solved] How suspend remotely or without sudo?

Switching to my sudo user requires a password, so I don't see how -t or tty is not required would fix the issue.
by m0t0m
2020/10/12 16:01:22
Forum: CentOS 8 - General Support
Topic: [Solved] How suspend remotely or without sudo?
Replies: 5
Views: 609

Re: How suspend remotely or without sudo?

Maybe not the safest way, but I added my ssh access to root and just send the command via the root user

Code: Select all

$ ssh root@machine "systemctl suspend" &
by m0t0m
2020/09/29 20:11:37
Forum: CentOS 8 - General Support
Topic: [Solved] Systemd-wakeonlan not working
Replies: 6
Views: 1124

Re: Systemd-wakeonlan not working

I don't know why the machine defaults to d, I assumed it was normal behavior as someone wrote a guide to make the change persist after reboot. It seems like a common behavior with tutorials for Linux Mint and Arch linux to make the change persistent. My machine is an old laptop, an Dell inspiron 154...
by m0t0m
2020/09/29 06:04:36
Forum: CentOS 8 - General Support
Topic: [Solved] Systemd-wakeonlan not working
Replies: 6
Views: 1124

Re: Systemd-wakeonlan not working

Thanks for the idea to add a debug log to /usr/lib/systemd/systemd-wakeonlan The problem was the .service at the end of systemctl stop wakeonlan.service as shown in the guide I linked. running systemctl stop wakeonlan works. For future reference, to enable wake on lan on boot for an ethernet device ...
by m0t0m
2020/09/28 10:14:29
Forum: CentOS 8 - General Support
Topic: [Solved] How suspend remotely or without sudo?
Replies: 5
Views: 609

[Solved] How suspend remotely or without sudo?

I want to be able to suspend my CentOS 8.2 remotely. Currently I log in with ssh and run $ sudo systemctl suspend However instead I want to be able to send command with $ ssh $MACHINE "systemctl suspend" & % Failed to set wall message, ignoring: Interactive authentication required. Failed to suspend...
by m0t0m
2020/09/26 05:15:47
Forum: CentOS 8 - General Support
Topic: [Solved] Systemd-wakeonlan not working
Replies: 6
Views: 1124

[Solved] Systemd-wakeonlan not working

My wakeonlan settings won't persist over reboot. i created a udev rule following this https://www.linuxunit.com/add-systemd-service-to-start-wake-on-lan/ . A part that isn't working is # vi /usr/lib/systemd/systemd-wakeonlan #!/bin/sh # only usable for root [ $EUID = 0 ] || exit 4 start() { ethtool ...

Go to advanced search