06-10-2013
Run autoexpect and set it back, and you will have an expect script that does it. Basically, you could swap files back but then you need to wack the daemons and kernel so they reread config. You might use static files and point to the favored set with sym-links.
9 More Discussions You Might Find Interesting
1. Post Here to Contact Site Administrators and Moderators
https://www.unix.com/showthread.php?t=2971
Spelling Error.
You 'Adhere' to rules, not adhear. (2 Replies)
Discussion started by: Tux
2 Replies
2. Post Here to Contact Site Administrators and Moderators
rules are there but asking 2 questions out of 30 is surely understanable esp when the instructor gives an open book test and urged us to seek answers anywhere we can except from him directly. (2 Replies)
Discussion started by: vrn
2 Replies
3. Red Hat
Hey all
I need your help with ebtables. I want to redirect traffic through local interfaces.
I have am Ubuntu linux machine with several NICs.
(I understand that ebtables is the same for RH)...
eth0 and eth1 are part of a bridge (br0) and they are connected to tap device. On eth0 I get... (0 Replies)
Discussion started by: d0g
0 Replies
4. Red Hat
ENVIROMENT
Linux: Fedora Core release 1 (Yarrow)
iPlanet: iPlanet-WebServer-Enterprise/6.0SP1
Log Path: /usr/iplanet/servers/https-company/logs
I have iPlanet log rotation enabled rotating files on a daily basis.
The rotated logs are NOT compressed & are taking up too much space.
I... (7 Replies)
Discussion started by: zachs
7 Replies
5. Shell Programming and Scripting
Hi My requirement is very simple .
I juts need to delte some lines from a file.
here comes theactual scenario
I have some data in file like say
srinivasa prabhu kumar antony
srinivas king prabhu antony
srinivas prabhu king yar venkata
venkata kingson srinivas... (6 Replies)
Discussion started by: ptappeta
6 Replies
6. Shell Programming and Scripting
Hi
My directory structure is as below.
dir1, dir2, dir3
I have the list of files to be deleted in the below path as below.
/staging/retain_for_2years/Cleanup/log $ ls -lrt
total 0
drwxr-xr-x 2 nobody nobody 256 Mar 01 16:15 01-MAR-2015_SPDBS2
drwxr-xr-x 2 root ... (2 Replies)
Discussion started by: prasadn
2 Replies
7. Linux
Dear All,
I got the valgrind report as below
Mismatch free() / delete / delete
at 0x4006895: operator delete(void*) (vg_replace_malloc.c:480)
by 0x8EA6D11: corefunction.
I supect that it is expect me to write free() instead of delete p1.
Given the the code.
I have the structure.
... (7 Replies)
Discussion started by: SA_Palani
7 Replies
8. Programming
Could you tell me the possibilities of the reason to get the Mismatched free() / delete / delete .
I unable to see the line no in the valgrind report. it displays the function name. with that function name, I am not able to find where exactly the issue is there.I am getting the Mismatched free()... (3 Replies)
Discussion started by: SA_Palani
3 Replies
9. UNIX for Advanced & Expert Users
rsync with --delete won't honor the delete if the source is something/*. I want the delete to work, but not to delete directories on the target that are peer to the intended directory. For example, using these source and target file structures:
Source on desktop:
~/
Money/
... (4 Replies)
Discussion started by: JavaMeister
4 Replies
LEARN ABOUT DEBIAN
parprouted
PARPROUTED(8) Proxy ARP Bridging Daemon PARPROUTED(8)
NAME
parprouted - Proxy ARP IP bridging daemon
SYNOPSIS
parprouted [-d] [-p] interface [interface]
DESCRIPTION
parprouted is a daemon for transparent IP (Layer 3) proxy ARP bridging. Unlike standard bridging, proxy ARP bridging allows to bridge Eth-
ernet networks behind wireless nodes. Normal L2 bridging does not work between wireless nodes because wireless does not know about MAC
addresses used in the wired Ethernet networks. Also this daemon is useful for making transparent firewalls.
The daemon listens for incoming ARP requests, and in case the location of the requested IP address is unknown, forwards them to other
interfaces, as well as updates kernel ARP table with the received replies. When necessary, the daemon generates an ARP reply itself, which
causes the stations to send traffic to the host daemon is running on. By automatically adding appropriate /32 routes to Linux kernel IP
routing table for the hosts learned via ARP, daemon ensures that the Linux kernel will be able to route the packets to the destination host
when it receives them without any need routing/subnetting manually.
All routes entered by the daemon have a metric of 50.
Unless you use -p switch, all entries in the ARP table will be refreshed (rechecked by sending ARP requests) every 50 seconds. This keeps
them from being expired by kernel.
Normally it takes about 60 ms for a bridge to update all its tables and start sending packets to the destination.
REQUIREMENTS
This daemon can be used for unicast traffic only. I.e., DHCP is not supported. Use software such as dhcrelay to "bridge" DHCP.
You should have an IP address assigned on all of your interfaces that you do bridging on. There is no need for this address to be from the
same networks as the bridged networks. Any dummy address will do.
The system should have correct default route.
parprouted requires "ip" program from iproute2 tools to be installed in /sbin. If it is installed in another location, please replace
"/sbin/ip" occurances in the source with the correct path. As well you should have proc filesystem mounted in /proc because the daemon uses
/proc/net/arp.
parprouted is designed for and tested only with Linux 2.4.x kernels.
OPTIONS
The list of interfaces to do bridging on should be given via the command line.
The daemon accepts the following switches:
-d, which stands for debugging. If you run it in debugging mode the daemon will not go to background and will print additional debugging
information to stdout/stderr.
-p, which makes all ARP entries to be permanent. This will also result in that ARP tables will not be refreshed by ARP pings.
EXAMPLE
To bridge between wlan0 and eth0: parprouted eth0 wlan0
AUTHOR
(C) 2004, Vladimir Ivaschenko <vi@maks.net>
http://www.hazard.maks.net
parprouted January 2004 PARPROUTED(8)