Displaying 20 results from an estimated 30000 matches similar to: "/etc/sysconfig/network HOSTNAME settings"
2016 Sep 03
2
/etc/sysconfig/network HOSTNAME settings
Hello,
I found different ways to define the hostname ...
this
HOSTNAME="host.domain.tld"
or this:
HOSTNAME="host"
DOMAIN="domain.tld"
what is the correct way?
Thanks,
Walter
2016 Sep 04
0
/etc/sysconfig/network HOSTNAME settings
On 2016-09-03, Walter H. <Walter.H at mathemainzel.info> wrote:
> Hello,
>
> I found different ways to define the hostname ...
>
> this
> HOSTNAME=3D"host.domain.tld"
>
> or this:
> HOSTNAME=3D"host"
> DOMAIN=3D"domain.tld"
>
> what is the correct way?
>
> Thanks,
> Walter
In the case of RHEL 5 and 6 the former way
2016 Sep 03
3
more than one IP address on network device?
Hello
/etc/sysconfig/network-scripts/ifcfg-eth0 looks like this:
# Intel Corporation 82545EM Gigabit Ethernet Controller (Copper)
TYPE=Ethernet
NAME=eth0
NM_CONTROLLED=no
IPV4_FAILURE_FATAL=yes
UUID=cc2635ff-3c14-48ba-b19a-84c5b9d36a9d
ONBOOT=yes
DEVICE=eth0
BOOTPROTO=none
HWADDR=00:50:56:01:00:01
BROADCAST=192.168.0.255
IPADDR=192.168.0.10
NETMASK=255.255.255.0
NETWORK=192.168.0.0
2015 Aug 25
2
C7 and /etc/sysconfig/network
Does Centos 7 use /etc/sysconfig/network or is this replaced by some
systemctl set of commands.
For example I know to set my host name with:
hostnamectl set-hostname nevia.htt-consult.com
But I don't know if this is the same as
cat <<EOF>/etc/sysconfig/network || exit 1
NETWORKING=yes
HOSTNAME=nevia.htt-consult.com
EOF
2017 May 15
2
Mini PCs
Hello Walter,
On Mon, 15 May 2017 09:22:54 +0200 "Walter H." <walter.h at mathemainzel.info> wrote:
> On Sun, May 14, 2017 11:00, wwp wrote:
> > On Sat, 13 May 2017 13:08:17 +0200 "Walter H."
> > <Walter.H at mathemainzel.info> wrote:
> >
> >> On 13.05.2017 00:29, Robert Moskowitz wrote:
> >> > I have been working,
2015 Apr 27
4
Prevent network setup from changing the hostname
On 04/26/2015 06:31 PM, Peter Larsen wrote:
> On 04/26/2015 07:26 PM, Robert Nichols wrote:
>> How can I block network setup (via NetworkManager) from changing
>> the machine's hostname whenever the network configuration changes?
>
> Make it a system connection instead of a user connection. Or give the
> host a static name on install and don't allow dhcp to override
2015 Apr 27
1
Prevent network setup from changing the hostname
On 04/26/2015 07:37 PM, Frank Cox wrote:
> On Sun, 26 Apr 2015 19:25:27 -0500
> Robert Nichols wrote:
>
>> Do you know of a place I can set a static name that NetworkManager
>> won't override?
>
> What about this:
>
> hostnamectl set-hostname whateveryouwant
# which hostnamectl
/usr/bin/which: no hostnamectl in
2015 Apr 21
4
hostname on centos 7.1
I have a file /etc/sysconfig/network and in the file is
cat /etc/sysconfig/network
# Created by anaconda
HOSTNAME=zotac_c7.msgnet.com
[root at localhost ~]#
I rebooted and the prompt is still localhost ?
What is the new thing in CentOS 7 to set the host name
such that then the prompt is correct also?
Thanks
Jerry
2016 Sep 05
4
more than one IP address on network device?
On Sep 4, 2016, at 1:27 PM, Walter H. <walter.h at mathemainzel.info> wrote:
> 'ifconfig' doesn't show these additional addresses ...
This is one of the many reasons why people don?t use ?ifconfig? anymore.
--
Jonathan Billings <billings at negate.org>
2017 May 30
3
IPv6 addresses order (CentOS6)
Hello,
in /etc/sysconfig/network-scripts/ifcfg-eth0 I have this
<ifcfg-eth0>
...
IPV6INIT=yes
IPV6ADDR=prefix::5
IPV6ADDR_SECONDARIES="prefix::2 prefix::3 prefix::4"
IPV6_AUTOCONF=no
IPV6_DEFAULTGW=prefix::1
IPV6_DEFAULTDEV=eth0
</ifcfg-eth0>
when I enter ifconfig the IPv6 addresses are in a different order
<ifconfig>
eth0 Link encap:Ethernet HWaddr ...
inet addr:...
2010 Nov 24
2
CentOS 5.5: what do /etc/sysconfig/networking and /etc/sysconfig/network-scripts exactly ?
Hi,
on our cluster we have 5 network interfaces. I was surprised to discover
that the ifcfd-* files under /etc/sysconfig/networking and
/etc/sysconfig/network-scripts were not the same. So I have searched a
little bit, but I'm now confused:
- the files under /etc/sysconfig/networking come from system-config-network.
- the files under /etc/sysconfig/network-scripts are read by the
2015 Apr 23
1
hostname on centos 7.1
Greetings everyone.
I have some CentOS 7 VMs running on the system for which I just made the inquiry about the kworker problem, and I was able to institute immediate change of hostname by updating the /etc/hostname file.
I have network manager running on the host, as well, and it also has the name populated in this file.
When I make the change in /etc/hostname, it takes immediate effect, and
2016 Apr 05
4
How to set hostname and domainnmae in CentOS 7?
We can permanently set hostname using hostnamectl set-hostname. How can we
permanently set *domain name* in CentOS 7?
I found an article
<http://unix.stackexchange.com/questions/239920/how-to-set-the-fully-qualified-hostname-on-centos-7-0>
that recommended setting FQDN using hostnamectl. Is that the right way to
set hostname and domainname at the same time using *hostnamectl
set-hostname*
2013 Jan 25
14
[PATCH] tools: revert to using /var and /etc/
26470:acaf29203cf9 "tools+stubdom: install under /usr/local by
default" moved more stuff under /usr/local than was desirable.
In particular SYSCONFIG_DIR (configuration for initscripts) moved to
/usr/local/etc/{sysconfig,defaults} while the initscripts themselves
(correctly) remained in /etc/init.d. Moving /etc/xen/scripts breaks
the udev bakcned rules file. Lastly stuff under /var was
2016 May 23
2
/etc/sysconfig/iptables syntax
?????? 23 ???? 2016 05:56,? "Mike" <1100100 at gmail.com> ???:
>
>
> After using iptables for a long time, I can't figure out where this syntax
> comes from.
> Can anyone point me in the right direction to understand the proper syntax
> necessary in /etc/sysconfig/iptables?
>
The syntax comes from the output of the 'iptables-save' command.
You can
2016 Jun 16
2
yum timeout ... (CentOS 6.8)
On 16.06.2016 20:51, Warren Young wrote:
> On Jun 16, 2016, at 12:41 PM, Walter H.<walter.h at mathemainzel.info> wrote:
>> On 16.06.2016 19:40, Frank Cox wrote:
>>> On Thu, 16 Jun 2016 19:34:09 +0200
>>> Walter H. wrote:
>>>
>>>> Yes, but doesn't help ...
>>>> the same before ...
>>>>
>>>> by the way, I
2015 Jan 04
2
additional network config
A system whose network routing table looks like this (abbreviated):
Destination Gateway Genmask Flags Metric Ref Use
Iface
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 eth0
needs to look like this:
Destination Gateway Genmask Flags Metric Ref Use
2017 May 14
2
Mini PCs
Hello Walter,
On Sat, 13 May 2017 13:08:17 +0200 "Walter H." <Walter.H at mathemainzel.info> wrote:
> On 13.05.2017 00:29, Robert Moskowitz wrote:
> > I have been working, for the past few years, with armv7 SOCs and have > a number of servers working.
> >
> > Intel, etal are catching up with ARM and I have seen ones like:
> >
> >
2012 Oct 06
7
How to auto-start Guests when using 'xl' toolstack? 'old' configs in /etc/xen/auto/ are ignored without xend service active.
I''ve migrated my Dom0 host to Xen 4.2.0 + xl toolstack.
With ''xm'' toolstack, configs in /etc/xen/auto are autostarted, assuming
xend/xendomains services are started.
IIUC, when using xl toolstack, those services are not to be started;
and, afaict, the installation process for 4.2 has them disabled by
default.
Now, the configs in /etc/xen/auto are simply ignored. I
2008 Feb 26
1
/etc/sysconfig/iptables on a stock CentOS 5 install
Greetings:
i have a pretty stock CentOS 5 machine with ports 80 and 22 exposed, so
my /etc/sysconfig/iptables file is pretty standard/straightforward.
my question is: how is this config file initially generated? i'd
like to
re-create it, and add a couple of rules .... so i don't want to lose
what's
in there already.
i see that my /etc/sysconfig/system-config-securitylevel has