10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi All,
I have a file which is "|" pipe delimited. The file has 3 fields. the last field contains email ids which has different host names.
I want to sort the file based on host name, which is in 3rd filed and needs to create a file for each host.
For example, if out of 1000 records, 10... (6 Replies)
Discussion started by: ace_friends22
6 Replies
2. Shell Programming and Scripting
This is probably a real n00b question but i`m not able to figure it out.
I have a folder of configuration files that contain IP-adresses. The line i`m interested in looks like this:
IP_ADDRESS="123.123.123.1123"
Some have muliple ip adresses, so the line will look like :
... (5 Replies)
Discussion started by: DaneV
5 Replies
3. IP Networking
well i'm trying to change the ip adress on an old alphaserver runing tru64 4.0F using the
ifconfig hme0 IP_ADDRESS mask MASK broadcast BROADCAST
and when i check it using ifconfig -a it shows the new ip and all is well
but when the server is rebooted it reverts back to the old ip (3 Replies)
Discussion started by: randUSR()
3 Replies
4. Shell Programming and Scripting
Hi,
I need to find out the repeated IP address from the apache log file from my box. I did try to come out with the script, but I could not grep out the repeated Ip Address from the error_logs and need to redirect to a file. Can you guys please help me out of this problem.
Thanks in... (9 Replies)
Discussion started by: gsiva
9 Replies
5. OS X (Apple)
hello,
I need to obtain the Mac Adress and write him in a file.
I'm trying to do this with a command in crontab, with ifconfig, but it's only possible do this if i disabled the password for run the command, but than i have security problems.
I'm searching for a script (.sh) that allows me to... (5 Replies)
Discussion started by: Pedro Almeida
5 Replies
6. Shell Programming and Scripting
Hi all Unix Gurus!
Since hours (even days :-)) I'm trying to find the correct pattern to search for IP addesses in text files.
The pattern to find a IP address itself is not too difficult:
'((||1{2}|2|2{2})\.){3,}(||1{2}|2|2{2})'
BUT, of course the above pattern is also matching lines like... (9 Replies)
Discussion started by: desertchannel
9 Replies
7. HP-UX
I want change my IP address and hostname in my machine by use the console. Can any one tell me how can I execute that by command ?
Thanks & Regards (1 Reply)
Discussion started by: magasem
1 Replies
8. AIX
hello
I need for a script to capture the ip address from the connected user.
I have 5 logical partitions.
With "who", i have the ip adress, but only for 2 servers.
Do you know another command to know the ip address of connected clients ?
thank you (14 Replies)
Discussion started by: pascalbout
14 Replies
9. Solaris
Hello together
how can I find a ipadress from a login into remote system console?
Thanks a lot
Urs (1 Reply)
Discussion started by: MuellerUrs
1 Replies
10. UNIX for Dummies Questions & Answers
Hello
I need to show my MAC-Adress on a Unix System, is there someone that know how? (2 Replies)
Discussion started by: nkochr
2 Replies
VDETAPLIB(1) General Commands Manual VDETAPLIB(1)
NAME
vdetaplib - Virtual Distributed Ethernet tap emulation library
SYNOPSIS
No synopsis
DESCRIPTION
vdetaplib is a library that emulates tap (tuntap level2 interface, see in kernel sources Documentation/networking/tun.c) and connects tap
virtual interfaces to vde networks.
To use it, the libvdetab.so library must be preloaded (sh, ksh or bash syntax):
export LD_PRELOAD=/usr/lib/vde2/libvdetap.so
(csh, tchs syntax):
setenv LD_PRELOAD /usr/lib/vde2/libvdetap.so
If you want to divert all tap requests to a single vde_switch set the variable VDEALLTAP to the vde socket.
(sh, ksh or bash syntax):
export VDEALLTAP=/tmp/vde.ctl
(csh, tchs syntax):
setenv VDEALLTAP /tmp/vde.ctl
It is possible to set each single interface to different vde_switches by setting the environment variable with the same name of the inter-
face.
(sh, ksh or bash syntax):
export tap0=/tmp/vde.ctl
export tap1=/tmp/myvde.ctl
export ppc=/tmp/ppc.ctl
(csh, tchs syntax):
setenv tap0 /tmp/vde.ctl
setenv tap1 /tmp/myvde.ctl
setenv ppc /tmp/ppc.ctl
It is also possible to specify port, group or mode for a given interface setting environment variables as in the following example.
(sh, ksh or bash syntax):
export tap0_port=5
export tap0_group=vde-net
export tap0_mode=0660
(csh, tchs, syntax):
setenv tap0_port 5
setenv tap0_group vde-net
setenv tap0_mode 0660
The variable to set the specific interface is checked first then VDEALLTAP. VDEALLTAP thus works as a default choice for the vde switch to
be used. If VDEALLTAP is not set and there is no specific environment variable (and for tun -- IFF_TUN interfaces) the kernel provided
interface is used. In this latter case access to /dev/net/tun is required, generally root access.
NOTICE
Virtual Distributed Ethernet is not related in any way with www.vde.com ("Verband der Elektrotechnik, Elektronik und Informationstechnik"
i.e. the German "Association for Electrical, Electronic & Information Technologies").
SEE ALSO
vde_switch(1), vdeq(1).
AUTHOR
VDE is a project by Renzo Davoli <renzo@cs.unibo.it>
Virtual Distributed Ethernet December 6, 2006 VDETAPLIB(1)