PCLOS has recently started not having the internet connection active upon boot. It did for a while but not sure what could have caused it to not be active. I can re-configure it using gui and it is good until next time I boot and it is not active again.

What file do I need to edit to get it to be active upon boot?

thanks,
houndhen

Dani AI

Generated

Short diagnostic and persistence checklist for PCLOS network problems. Thread context: reports the GUI can reconfigure networking for the current session but the connection is not active after a reboot; pointed to the official project forum. Common, verifiable causes are: the network service/manager is not enabled at boot, the session GUI saves only a user session profile, or the interface/driver comes up after init scripts run (DHCP race). The steps below collect facts and provide simple, low-risk fixes.

Commands to gather facts (run as root):

ifconfig -a
ip addr show
ps aux | grep -i NetworkManager
grep -i dhcp /var/log/messages | tail -n 80
cat /etc/resolv.conf

Interpretation notes: presence of a running NetworkManager process indicates the NM path; missing IP after boot indicates the DHCP client did not run; log lines around boot show driver or DHCP errors.

Persistence options to try (pick the one that matches the environment):

# enable NetworkManager (if present)
chkconfig NetworkManager on
# or enable classic network service
chkconfig network on

# simple rc.local fallback (as root)
echo "/sbin/ifdown eth0 2>/dev/null || true
/sbin/ifup eth0 || /sbin/dhclient eth0" >> /etc/rc.d/rc.local
chmod +x /etc/rc.d/rc.local

Notes and cautions: if DHCP is used, avoid hand-editing /etc/resolv.conf because DHCP overwrites it. If the GUI has a "save system-wide" or "start at boot" checkbox, use it while running the GUI as root so settings are written system-wide. If the problem is intermittent, a late driver or a race with the DHCP client is likely; the rc.local fallback above is safe and reversible.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.