Hi there! I tried to search for something like this here but couldn't find anything. I need to run a specific program when linux starts up. I need to run it after the rp-pppoe has started because this prog needs internet connection.
I start the program by entering ./dynix start (its in my home... (4 Replies)
I have two systems in my computer . I update the ubuntu system these days and always interrupt it and exit the system . now the system cannot boot after Running local boot scripts(/etc/rc.local), it just stops there. i have to terminate the gnome display manager. what can i do with it ? thank... (0 Replies)
Hi,
i have a script which need to do behave differently when run as a startup process from init.d/ rc2.d script and when run manually from shell.
How do i distinguish whether my script is run by init process or by shell??
Will the command
/proc/$$/psinfo | grep "myscript" work well???... (2 Replies)
Hi,
I am uising Suse linux on my system and i tried :
man ethtool and i got the manual for ethtool but when i tried to use the command as:
ethtool -a eth0
it says Command not found.
also, i tried rpm -qa|grep ethtool i got:
ethtool-3-15.2 so,it means my system has ethtool server or... (4 Replies)
Hi,
I'm using ethtool to change network settings:
Just for the experiment, i want to change speed to 10, instead of 100,
I type:
ethtool -s eth0 speed 10 duplex full autoneg off
and to view settings i type:
ethtool eth0, and get this:
Settings for eth0:
Supported ports:
... (4 Replies)
dears
am having solaris 10, and i would like to know if the NTP service is running when the OS staritng?on the other hand how can i make it start at the boot up?note the ntp is managed by the SMF in solaris 10.
thanks a lot (2 Replies)
I am using blow script :--
#!/bin/bash
FIND=$(ps -elf | grep "snmp_trap.sh" | grep -v grep) #check snmp_trap.sh is running or not
if
then
# echo "process found"
exit 0;
else
echo "process not found"
exec /home/Ketan_r /snmp_trap.sh 2>&1 & disown -h ... (1 Reply)
Dear community, as already done tons of times, I prepare the RedHat installation on VMWare, then clone it with clonezilla, and finally restore it on final server. Due to different hrdware, I have to boot from rhel-server-7.4-x86_64-boot.iso cd and rewrite the initramfs that contains the hardware... (3 Replies)
Hi All,
I am trying to find my NIC card speed in centos 5. But i am unable to get the info using ethtool command.
# ethtool eth0
Settings for eth0:
Link detected: yes
and even tried to look for the file # cd /sys/class/net/eth0/speed files which is also not available.... (8 Replies)
Discussion started by: sravani25
8 Replies
LEARN ABOUT SUSE
ifsysctl
IFSYSCTL(5) Network configuration IFSYSCTL(5)NAME
ifsysctl[-<interface name>] - per network interface sysctl settings
SYNOPSIS
/etc/sysconfig/network/ifsysctl
/etc/sysconfig/network/ifsysctl-<interface name>
DESCRIPTION
These files are intended to contain sysctl settings, that should be applied when a network interface is created. This are usually interface
specific settings, like:
net.ipv6.conf.eth0.use_tempaddr = 1
or
net.ipv4.conf.eth0.rp_filter = 0
The settings are applied by the /etc/sysconfig/network/scripts/ifup-sysctl script executed via /etc/udev/rules.d/77-network.rules rule (see
udev(7)), after the creation and after the rename of the interface name to its persistent name (when applicable), but before the ifup
<interface name> -o hotplug may be executed to configure the interface.
The settings are not applied by default when the NetworkManager is active (NETWORKMANAGER=yes), except when the IFSYSCTL_NETWORKMANAGER=yes
variable is set in the /etc/sysconfig/network/config file.
Settings from the ifsysctl- file are applied every time an interface has been created.
Settings from the ifsysctl-interface name file are applied when the interface with the corresponding interface name has been created.
SYNTAX
The sysctl(8) utility is required to apply the settings. It supports two separator characters for sysctl keywords: a "." in default format
and a "/" in the alternate format. Therefore the syntax is basically same to the /etc/sysctl.conf file.
Interface names may contain a ".". In the default sysctl format using a "." as separator, that is any "." in the interface name of the key-
word, has to be replaced with a "/". In the alternate sysctl format with "/" as separator, normal interface names can be used.
Optionally, the ifsysctl files may contain also the $INTERFACE and the $SYSCTL_IF variables, that are automatically replaced with the cur-
rent interface name usable in the alternate format and with the sysctl-quoted interface name for the default format, before the settings
are passed to the sysctl utility.
Note also, that settings with variables in the ifsysctl (without the -<interface name> suffix), will be applied for every interface!
Further, files with variables are not compatible to the /etc/sysctl.conf file.
EXAMPLES
Settings for "eth0" and "eth0.1" interfaces
# using "." as separator:
net.ipv6.conf.eth0.use_tempaddr = 1
net.ipv6.conf.eth0/1.use_tempaddr = 1
# using "/" as separator:
net/ipv6/conf/eth0/use_tempaddr = 1
net/ipv6/conf/eth0.0/use_tempaddr = 1
Settings with variables:
# using "." as separator:
net.ipv6.conf.$SYSCTL_IF.use_tempaddr = 1
# using "/" as separator:
net/ipv6/conf/$INTERFACE/use_tempaddr = 1
To test your ifsysctl-eth0 or ifsysctl file, use:
/etc/sysconfig/network/scripts/ifup-sysctl eth0 -o debug
BUGS
Please report bugs at <https://bugzilla.novell.com/>
AUTHOR
Marius Tomaschewski <mt@suse.de>
SEE ALSO ifup(8)ifcfg(5)sysctl(8)sysconfig December 2009 IFSYSCTL(5)