As per my previous post, I've just started using Red Hat Enterprise Linux (RHEL) 6.2, having got used to using RHEL 5.x for the past few years.
I typically run my Linux servers without X11 started, as I tend to run most processes via command-line ( being an old OS/400 junkie at heart ).
To achieve this, I edit /etc/inittab and change: -
id:5:initdefault:
to: -
id:3:initdefault:
which means that Linux starts at run-level 3 ( Multi-User mode, console logins only ) rather than 5 ( Multi-User mode, with display manager as well as console logins [X11] ), as per Wikipedia below: -
This works perfectly in RHEL 5.x and also in 6.2.
However, I found that my network interface ( eth0 ) wasn't activating on boot-up, requiring me to run: -
$ ifup eth0
post-login, which was a pain.
A quick Google later, and I found this: -
[SOLVED] 2 eth interfaces not coming up at boot
which said: -
The interfaces will come up on boot if you add the following line to your /etc/sysconfig/network-scripts/ifcfg-eth# files.
ONBOOT=yes
I checked, and lo and behold ....
$ cat /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE="eth0"
HWADDR="08:00:27:87:E2:DC"
NM_CONTROLLED="yes"
ONBOOT="no"
I changed this to read ONBOOT="yes", rebooted and .... c'est voila
Job done.
Geeking in technology since 1985, with IBM Development, focused upon Docker and Kubernetes on the IBM Z LinuxONE platform In the words of Dr Cathy Ryan, "If you don't write it down, it never happened". To paraphrase one of my clients, "Every day is a school day". I do, I learn, I share. The postings on this site are my own and don’t necessarily represent IBM’s positions, strategies or opinions. Remember, YMMV https://infosec.exchange/@davehay
Subscribe to:
Post Comments (Atom)
Reminder - installing podman and skopeo on Ubuntu 22.04
This follows on from: - Lest I forget - how to install pip on Ubuntu I had reason to install podman and skopeo on an Ubuntu box: - lsb_rel...
-
Why oh why do I forget this ? Running this command : - ldapsearch -h ad2012.uk.ibm.com -p 389 -D CN=bpmbind,CN=Users,DC=uk,DC=ibm,DC=com -w...
-
Error "ldap_sasl_interactive_bind_s: Unknown authentication method (-6)" on a LDAPSearch command ...Whilst building my mega Connections / Domino / Portal / Quickr / Sametime / WCM environment recently, I was using the LDAPSearch command tha...
-
Whilst building a new "vanilla" Kubernetes 1.25.4 cluster, I'd started the kubelet service via: - systemctl start kubelet.se...
No comments:
Post a Comment