11-18-2011
10 More Discussions You Might Find Interesting
1. Solaris
I support a product which writes to log files and it's currently formatting the date in US format. I've established this is due to these settings:
account1# locale -k d_fmt t_fmt
d_fmt="%m/%d/%y"
t_fmt="%H:%M:%S"
If I log on with a different account the settings are different:
... (1 Reply)
Discussion started by: m223464
1 Replies
2. UNIX for Dummies Questions & Answers
As a regular (non-root) user on Unix servers I'm accustomed to changing my .profile file to set paths that I frequently use, etc.
I am trying to learn unix and set up a test server running SunOS 5.8. When I login as root I don't see a .profile file that belongs to root wherein I could change the... (1 Reply)
Discussion started by: FredSmith
1 Replies
3. HP-UX
Hi Folks,
I want the command to change the duplex settings of a HP-UX server.
Thanks in advance.
Sagar. (2 Replies)
Discussion started by: sag71155
2 Replies
4. AIX
I have software running under AIX 5.3 that should communicate with a special device using standard communication protocol (Modbus) using serial RS-232 line
The settings are correct in both sides, But I can't establish a connection.
I suspect that there's something that I should do regarding the... (3 Replies)
Discussion started by: ayman metwally
3 Replies
5. Solaris
Hello All,
In the output of the command "mpdcontrol -no xlist", I found that, some of the preferred paths are marked as "err". You can see the output below:
# mpdcontrol -noxlist
Unit Dev# MPD_ID/Policy DeviceName FC_AL DevMajMin IOcnt State... (0 Replies)
Discussion started by: sundar3350
0 Replies
6. AIX
Hi Guy's
Just I want to know the default settings of security password in AIX there is some changes happened in my machine when I try to change my password I'm getting this message
Changing password for "root"
root's New password:
a minimum of 1 elapsed week between changes.... (1 Reply)
Discussion started by: Mr.AIX
1 Replies
7. Solaris
Hi,
I use to work on solaris via putty
and always on session start
- i use to increase the font to 14 bold
- capture session output to a file
my requirement) to make these changes permanent, so that i need not to change the settings everytime i connect via putty
please advice.
... (0 Replies)
Discussion started by: saurabh84g
0 Replies
8. Red Hat
Hi,
I have 48 cores in my server. I want to assign 50% of the cores to certain programs and rest to some other programms. I found the command "taskset" very good option to assign cpu afinity to already running programms or newly created programms.
But the problem is even if i set a cron to... (1 Reply)
Discussion started by: Rantu
1 Replies
9. UNIX for Dummies Questions & Answers
how and where can i change permanent the settings of nslookup?
each time i change it by doing
nslookup
set timeout=2
the nslookup , does not save the settings , how can i do it in permanent way? (2 Replies)
Discussion started by: prpkrk
2 Replies
10. Shell Programming and Scripting
Hi, I have a big settings confg (file attached). There are a few separate tasks that I have to accomplish. All scripting/programming languages are appreciated.
1. I need to parse all values and output to stdout. Sample output (truncated):
VALUEA
2017-01-01
Lores ipsum
Lorem ipsum dolor sit... (11 Replies)
Discussion started by: useretail
11 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)