Displaying 20 results from an estimated 20000 matches similar to: "Network scripts ifup-post"
2020 Oct 28
1
Unable to get dummy interfaces to persist across reboots in CentOS 8
Requirement is a very strong word , but you should consider using it and here is a short demo why:
- By default, RHEL uses NetworkManager to configure and manage network connections, and the /usr/sbin/ifup and /usr/sbin/ifdown scripts use NetworkManager to process ifcfg files in the /etc/sysconfig/network-scripts/ directory.
[root at system ~]# ls -l /usr/sbin/ifup
lrwxrwxrwx. 1 root root 22 21
2007 Sep 05
2
Hard-set network via ifup scripts...
Anyone know off the top of their head the "right" way to hard set a
link automatically to 100Mbps Full Duplex, etc using the ifup or ifcfg
files?
Don't see options in the scripts that might cover this, but maybe
there's a more elegant way to do it than to do something in rc.local or
hack up the ifup files myself...
Ray
2009 May 24
1
NetworkManager under CentOS 4 *without* GNome...
I have been *manually* dealing with my wired and wireless network
interfaces on my laptop. I have a pair of config files (in
/etc/sysconfig/network-scripts/: ifcfg-eth0 (wired: Intel Corporation
82540EP Gigabit Ethernet Controller (Mobile)) and ifcfg-eth1 (wireless:
Intel Corporation PRO/Wireless LAN 2100 3B Mini PCI Adapter), both with
USERCTL=true (and ifcfg-eth0 also has ONBOOT=true). I have
2011 Oct 08
1
CentOS 5.7 Ethernet bonding - order of enslavement matters?
Setting up bonding in active-backup mode 1 (using ARP monitoring)
on a server, it looked OK, but pulling the active link cable
didn't actually work, it didn't fail over.
Eventually with manual playing around with modprobe, ifconfig,
ifenslave, etc., a solution was stumbled upon: enslave the eth1
device before eth0, and all is good.
Why this should matter is a puzzle - I could not find
2017 Feb 13
8
CentOS 7, systemd, NetworkMangler, oh, my
My manager tells me a system in the datacenter is down. I go down there,
and plug in a monitor-on-a-stick and keyboard. It's up, but no network. I
try systemctl restart NetworkManager several times, and ip a shows *no*
change.
Finally, I do an ifdown, followed by an ifup, and everything's wonderful.
My manager thinks that the NM daemon thinks everything's fine, and
there've been
2014 Feb 03
1
what is difference between ifconfig and ifup?
I and testing command line to up and down ethernet connection.
if I perform following, client can not re-connect.
????? ifconfig eth0 down
????? ifconfig eth0 up
if I use following, client can re-connect:
????? ifconfig eth0 down
????? ifup eth0
What difference between "ifconfig up" and "ifup"?
thanks.
2017 May 17
1
Centos 7 and MAC address munging
Odd situation: I've mentioned before that I have several users for whom I
have to spoof the MAC address, due to a software license. Now, I've got
net.ifnames=0 biosdevname=0 on the grub2 command line, and I've got the
spoofed MAC address in /etc/sysconfig/network-sctipts/ifcfg-eth0.
But he had a serious problem - X froze, and he thought to reboot, rather
than call me. It came up with
2004 Aug 18
1
Small patch to zaptel Makefile
Minor fix. I'm using this in my RPM specfile.
John
--- ./zaptel-1.0-RC1/Makefile.bigu 2004-07-16 17:09:07.000000000 -0500
+++ ./zaptel-1.0-RC1/Makefile 2004-08-18 16:28:45.000000000 -0500
@@@ -316,10 +318,10 @@
elif [ -d $(INSTALL_PREFIX)/etc/init.d ]; then \
install -m 755 zaptel.init
$(INSTALL_PREFIX)/etc/init.d/zaptel;\
\
fi
- if [ !
2011 Sep 14
3
Run commands automatically when bringing up/down network interfaces?
I'm looking for a capability similar to Debian/Ubuntu's pre/post up/down
network commands capability.
The problem: we've got a colo in which hosts talk directly to the hosting
provider's router (through a bridging firewall) and hence our hosts MAC
addresses are cached by the router.
We should be able to solve this by pinging the router directly when bringing
up the interface,
2009 Oct 08
12
resolv.conf rewritten every reboot. How to figure out who and why?
My machine has a static IP, with dhcp and IPv6 disabled. Every time I
reboot, some process rewrites /etc/resolv.conf, including a comment
about dhcpclient. The only package I have installed that shows up in
"rpm -qa|grep -i dhcp" is dhcpv6-client-1.0.10-16.el5, and nothing in
there is named dhcpclient.
I'd like to figure out what software is rewriting this file and why.
man 5
2019 Dec 03
2
midco stealling searches, was browsers slowing Centos 7 installation to a crawl
On Mon, Dec 02, 2019 at 06:51:44PM -0600, Michael Hennebry wrote:
> I've chacked on that.
> I've made what seemed like promissing changes to
> /etc/sysconfig/network-scripts/ifup-post and
> /etc/sysconfig/network-scripts/network-functions .
> No go.
> I still get the search line in resolv.conf .
> I've tried putting in search google.com ,
> but on reboot, it
2005 Dec 12
1
Netcard don't up
Dear Friends
I have 2 netcards (eth0 to Internet and eth1 to internal network) in
CENTOS 4.2, bit when I boot system the up eth0 and et1i [OK].
When I run ifconfig the eth1 has not IP configure, then I run command
ifdown eth1 and ifup eth1, after eth1 is work perfect.
Below I show file /etc/sysconfig/network-scripts/ifcfg-eth1
# Please read /usr/share/doc/initscripts-*/sysconfig.txt
# for
2015 Dec 11
2
CentOS 7 Lost NIC
Hello,
I have a big problem with my servers.
I have 4 NIC on all my KVM Servers but the most time on a start (restart) I
lost one NIC? It is not always the same, but this two are virtio NICs.
with ifup eth0(1) the system say,I have no configured eth0 or eth1 file ?
Can any tell me what I can do?
thank's for a answer
NetworkManager is disabled.
--
mit freundlichen Gr??en / best regards,
2018 May 15
5
CentOS 7.5 (1804) and NetworkManager
Hi,
I'm running CentOS on all kinds of setups: servers, workstations,
desktops and laptops.
Up until now, I'm only using NetworkManager on laptops, since it makes
sense to use it there. On servers and desktop clients, I usually remove
it and configure the network "traditionally" by simply editing
/etc/sysconfig/network-scripts/ifcfg-whatever, /etc/resolv.conf,
/etc/hosts,
2012 May 17
1
Centos 6 - Networking: Some Queries
Hello all
I am setting up a Centos 6 machine with one network card & one onboard
network port. Both are recognized & work. Onboard Network port is unused
yet, but is required for dedicated access to LTSP LAN, which would allow
older PIII machines to boot from this system. I have installed LTSP but
again Networking seems to be the problem area, as the clients won't boot
from this
2015 Apr 21
4
C7 systemd and network configuration
On Tue, Apr 21, 2015 at 03:46:52PM +0200, Dennis Jacobfeuerborn wrote:
> Networking isn't really controlled by systemd but by NetworkManager. I
> usually just yum remove NetworkManager* and then everything works just
> as it did in CentOS 6.
Note: NetworkManager is in CentOS6 too, and is part of the default
workstation install. The NM in CentOS7 is a bit more polished than
the NM
2008 Aug 26
5
restarting static-routes-ipv6
I want to change the contents of my /etc/sysconfig/static-routes-ipv6
and NOT restart the network.
Is there a way to do this???
I know about ifup and ifdown for interfaces, but what about routing (and
IP6 at that).
2005 Jun 13
2
SuSE 9.3 domU /sbin/ifup workaround
Hi all
I have a SuSE 9.3 domU. It has a eth0 interface, corresponding
to some vif interface in the dom0. Running
ifup eth0
doesn''t seem to work. This means I don''t get any network.
It seems that /sbin/ifup relies upon /sbin/getcfg but getcfg
does not seem to find the right configuration for the eth0 device.
A attached a patch below with a work around for this.
2016 Nov 15
2
Need help getting two NICs to work on CentOS 7
On 11/15/2016 06:07 AM, Sean Son wrote:
> I have no network connectivity even
> when I restart the network service. Should I reenable NetworkManager now?
Yeah, the switch is just a test to see if the problem is specific to
NetworkManager. It seems that you have other problems as well.
Before you do that, post the output of the following:
ip route show
ip route show table 300
ip
2019 Aug 05
2
browsers slowing Centos 7 installation to a crawl
On Sun, 4 Aug 2019, John Pierce wrote:
> So you need to modify the source file that NetworkManager is using.
> somewhere in /etc/network or /etc/networking-scripts, a config file has
> DNS0=192.168.0.1 or sokmething, or your system is getting that from DHCP
Will check on that.
> the web login on 192.168.0.1 is undoubtably your modem/router.
--
Michael hennebry at