01-29-2005
Quote:
Originally Posted by kuultak
I want to change the IPsetting and the broadcast setting.
With ipconfig I get this:
hme0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet xx.17x.18x.xx netmask fffffff0 broadcast xx.17x.18x.xx
ether yy:0:yy:b6:yy:xx
What command(squence) do I use to change the inet and broadcast? Or where do I find that sequence?
Does changing this automatcally change the telnet IP as well?
Yes, it does.
The command you need is
ifconfig. Depending on the OS you are using, there may a startup script or file that will set this information for you. You need to find that script and make your changes there.
10 More Discussions You Might Find Interesting
1. Debian
Ok, I made changes to my routing tables..... which file do I modify to make the routes initialize correctly when the machine boots up? I work with all flavours of Unix/Linux... but this is an older box...
Linux, Release 2.2.14-5.0.
I did a grep for the default route in /etc, but didnt find... (2 Replies)
Discussion started by: djsal
2 Replies
2. Shell Programming and Scripting
How do i set ulimit for user (4 Replies)
Discussion started by: Krrishv
4 Replies
3. UNIX for Dummies Questions & Answers
How can we set the Sticky bit in the umask itself. Please help me :confused:
I tried to set like umask 1000 but when I run umask, the value of umask is 00 (0 Replies)
Discussion started by: geniman2004
0 Replies
4. Shell Programming and Scripting
I am modifying some script and need to have the script reflect the current date. I have the script below. In the section yy="2010",mm="07", dd="12" What would I need to change to have the script automatically input the current year month & date instead of manually updated the script daily?
... (2 Replies)
Discussion started by: libertyforall
2 Replies
5. UNIX for Dummies Questions & Answers
I need to "sync" a directory from a prod server to a test server. Rsync is working but it prompts for a password and I'd like to automate the process. The directory on the prod/source server is owned by root, and some subdirectories are only readable by root. On the test/destination servers, I can... (1 Reply)
Discussion started by: LAToro
1 Replies
6. Shell Programming and Scripting
I want to set an alias to connect to sqlplus and also run a command while it it logs in.
How can I do that? (4 Replies)
Discussion started by: som.nitk
4 Replies
7. Red Hat
Hi there
There's a script I would like to run daily every 5 minutes and this job should restart every 12:03AM so it would append to a new file with the following day date format instead of running and updating continuously into one log. I am not sure of the syntaxing, what I did was to set it... (9 Replies)
Discussion started by: hedkandi
9 Replies
8. UNIX for Dummies Questions & Answers
I have a Win7 laptop that I have installed Xming with Xlaunch so that I can remote a Solaris10 server. After the initial install on my Win7 machine what do I need to set and configure to be able to remote Solaris. This is my 3rd day working with Unix. (1 Reply)
Discussion started by: SIFT3R
1 Replies
9. UNIX for Dummies Questions & Answers
I have set PSI for my prompt using the following command:
PS1="${debian_chroot:+($debian_chroot)}\\u@\h:\\\w\a]\ "which produces
chrisd@pguk:~]I want to include [ in the beginning but cannot understand the way to do this.
Also I want to show only the current directory, not the whole... (4 Replies)
Discussion started by: kristinu
4 Replies
10. Solaris
Trying to figure out the best method of security for oracle user accounts. In Solaris 10 they are set as regular users but have nologin set forcing the dev's to login as themselves and then su to the oracle users.
In Solaris11 we have the option of making it a role because RBAC is enabled but... (1 Reply)
Discussion started by: os2mac
1 Replies
LEARN ABOUT DEBIAN
ipsec_tncfg
IPSEC_TNCFG(5) [FIXME: manual] IPSEC_TNCFG(5)
NAME
ipsec_tncfg - lists IPSEC virtual interfaces attached to real interfaces
SYNOPSIS
ipsec tncfg
cat/proc/net/ipsec_tncfg
OBSOLETE
Note that tncfg is only supported on the classic KLIPS stack. It is not supported on any other stack and will be completely removed in
future versions. A replacement command still needs to be designed
DESCRIPTION
/proc/net/ipsec_tncfg is a read-only file which lists which IPSEC virtual interfaces are attached to which real interfaces, through which
packets will be forwarded once processed by IPSEC.
Each line lists one ipsec I/F. A table entry consists of:
+
an ipsec virtual I/F name
+
a visual and machine parsable separator '->', separating the virtual I/F and the physical I/F,
+
a physical I/F name, to which the ipsec virtual I/F is attached or NULL if it is not attached,
+
the keyword mtu=,
+
the MTU of the ipsec virtual I/F,
+
the automatically adjusted effective MTU for PMTU discovery, in brackets,
+
a visual and machine parsable separator '->', separating the virtual I/F MTU and the physical I/F MTU,
+
the MTU of the attached physical I/F.
EXAMPLES
ipsec2 -> eth3 mtu=16260(1443) -> 1500
shows that virtual device ipsec2 with an MTU of 16260 is connected to physical device eth3 with an MTU of 1500 and that the effective MTU
as a result of PMTU discovery has been automatically set to 1443.
ipsec0 -> wvlan0 mtu=1400(16260) -> 1500
shows that virtual device ipsec0 with an MTU of 1400 is connected to physical device wvlan0 with an MTU of 1500 and no PMTU packets have
gotten far enough to bump down the effective MTU from its default of 16260.
ipsec3 -> NULL mtu=0(0) -> 0
shows that virtual device ipsec3 is not connected to any physical device.
FILES
/proc/net/ipsec_tncfg, /usr/local/bin/ipsec
SEE ALSO
ipsec(8), ipsec_manual(8), ipsec_eroute(5), ipsec_spi(5), ipsec_spigrp(5), ipsec_klipsdebug(5), ipsec_tncfg(8), ipsec_version(5),
ipsec_pf_key(5)
HISTORY
Written for the Linux FreeS/WAN project <http://www.freeswan.org/> by Richard Guy Briggs.
[FIXME: source] 10/06/2010 IPSEC_TNCFG(5)