02-22-2007
Perderabo,
Thanks for this. The host file says the new IP Address of the server (Host name is the same by the way)
I cant seem to find this defaultrouter file / folder under /etc but there is a default folder that contains the following:
-r-xr-xr-x 1 root bin 12 Jun 30 2005 cron
-r--r--r-- 1 root sys 204 Jun 30 2005 devfsadm
-r--r--r-- 1 root sys 3388 Jun 30 2005 dhcpagent
-r--r--r-- 1 root bin 10 Jun 30 2005 fs
-r--r--r-- 1 root sys 719 Jun 30 2005 inetd
-r--r--r-- 1 root sys 1697 Jun 30 2005 inetinit
-r-xr-xr-x 1 root sys 632 Jul 1 2005 init
-rw-r--r-- 1 root root 495 Jun 30 2005 jumpstart
-r--r--r-- 1 root sys 1183 Jun 30 2005 kbd
-r--r--r-- 1 root sys 523 Jun 30 2005 keyserv
-r--r--r-- 1 root sys 2014 Jun 30 2005 login
-r--r--r-- 1 root bin 16511 May 11 2004 lu
-rw-r--r-- 1 root sys 489 Oct 17 2003 metassist.xml
-r--r--r-- 1 root sys 481 Jun 30 2005 mpathd
-rw-r--r-- 1 root sys 1358 Jun 30 2005 nfs
-r--r--r-- 1 root bin 576 Jun 30 2005 nfslogd
-rw-r--r-- 1 root sys 749 Jun 30 2005 nss
-r--r--r-- 1 root sys 74 Jun 30 2005 passwd
-rw-r--r-- 1 root sys 5606 Apr 7 2002 rpc.nisd
-r--r--r-- 1 root sys 703 Jun 30 2005 su
-rw-r--r-- 1 root sys 803 Oct 5 2001 sys-suspend
-r--r--r-- 1 root sys 509 Jun 30 2005 syslogd
-r--r--r-- 1 root sys 526 Jun 30 2005 tar
-r--r--r-- 1 root sys 16 Jun 30 2005 utmpd
-r--r--r-- 1 root sys 509 Jun 30 2005 yppasswdd
Do I have to ammend one of these files under this directory.
Sorry to ask such daft questions it is just that I am really new to all this and dont fully understand the file structure for this OS
Thanks
9 More Discussions You Might Find Interesting
1. IP Networking
Hi sir,
i want to make such programe which takes MAC(Ethernet) address of any host & give me its IP address.......
but i'm nt getting that how i can pass the MAC address to Frame........
Please give me an idea for making such program...
Thanks & regards
Krishna (3 Replies)
Discussion started by: krishnacins
3 Replies
2. Shell Programming and Scripting
Hiii,
i have a doubt here--
I have to take backup of all the files inside directory dir(logs,tmp,corefiles) at the location $BackupLocation.i should take the backup of logs,tmp,corefiles inside the $BackupLocation directory and then remove the files and touch the files inside the directory... (1 Reply)
Discussion started by: namishtiwari
1 Replies
3. UNIX for Advanced & Expert Users
Hi all,
I am trying to get the exception count daily from a log file which is more than 1 GB in size.
I am using loops which get the count of the exception and transaction. But i need to take this exception count for a time frame from 5.00 am to 5:00 pm.
I Think I can use to exact the... (4 Replies)
Discussion started by: senthilkumar_ak
4 Replies
4. Shell Programming and Scripting
TAKE A LOOK AT THE ATTACHED PICTURE.
my goal is just to SELECT n DELETE Those lines :
Dialogue: Marked=0,0:02:39.49,0:02:40.49,Default,NTP,0000,00 00,0000,!Effect,
(without the text)
take a look at that picture... the marked line...
i just need ALL of these lines removed.. i managed... (3 Replies)
Discussion started by: mr_spidey
3 Replies
5. UNIX for Dummies Questions & Answers
:) Firstly Hi all!!, im NEW!! and on here hoping that someone might be able to offer me some help... i have a server that keeps crashing every few days with the error message:
PANIC KERNAL-MODE ADDRESS FAULT ON USER ADDRESS 0X14
KERNAL PAGE FAULT FROM (CS:EIP)=(100:EF71B5BD)
EAX=EF822000... (10 Replies)
Discussion started by: Twix
10 Replies
6. Shell Programming and Scripting
Hi there, i currently dont have access to my linux machine and need to get these script files sent to someone. Can someone please create .sh files for me with the code that i have displayed below. It would be very very helpfull.
There are 3 different scripts and it would be great if someone... (3 Replies)
Discussion started by: aLderzz
3 Replies
7. Shell Programming and Scripting
bash-2.05$ A=`cat /etc/group |awk -F':' '{if ($1$3$4 ==... (3 Replies)
Discussion started by: ak835
3 Replies
8. IP Networking
Hi there
I lost connectivity to one of our remote systems and when I checked the messages log I found the following:
Aug 10 23:42:34 host xntpd: time reset (step) 1.681729 s
Aug 16 13:20:51 host ip: WARNING: node "mac address" is using our IP address x.x.x.x on aggr1
Aug 16 13:20:51 host... (9 Replies)
Discussion started by: notreallyhere
9 Replies
9. UNIX for Advanced & Expert Users
Hi ,
Could someone let me know how to detect duplicate ip address after assigning ip address to ethernet interface using c program (3 Replies)
Discussion started by: Gopi Krishna P
3 Replies
LEARN ABOUT DEBIAN
mail::rfc822::address
Address(3pm) User Contributed Perl Documentation Address(3pm)
NAME
Mail::RFC822::Address - Perl extension for validating email addresses according to RFC822
SYNOPSIS
use Mail::RFC822::Address qw(valid validlist);
if (valid("pdw@ex-parrot.com")) {
print "That's a valid address
";
}
if (validlist("pdw@ex-parrot.com, other@elsewhere.com")) {
print "That's a valid list of addresses
";
}
DESCRIPTION
Mail::RFC822::Address validates email addresses against the grammar described in RFC 822 using regular expressions. How to validate a user
supplied email address is a FAQ (see perlfaq9): the only sure way to see if a supplied email address is genuine is to send an email to it
and see if the user recieves it. The one useful check that can be performed on an address is to check that the email address is
syntactically valid. That is what this module does.
This module is functionally equivalent to RFC::RFC822::Address, but uses regular expressions rather than the Parse::RecDescent parser.
This means that startup time is greatly reduced making it suitable for use in transient scripts such as CGI scripts.
valid ( address )
Returns true or false to indicate if address is an RFC822 valid address.
validlist ( addresslist )
In scalar context, returns true if the parameter is an RFC822 valid list of addresses.
In list context, returns an empty list on failure (an invalid address was found); otherwise a list whose first element is the number of
addresses found and whose remaining elements are the addresses. This is needed to disambiguate failure (invalid) from success with no
addresses found, because an empty string is a valid list.
AUTHOR
Paul Warren, pdw@ex-parrot.com
CREDITS
Most of the test suite in test.pl is taken from RFC::RFC822::Address, written by Abigail, abigail@foad.org
COPYRIGHT and LICENSE
This program is copyright 2001-2002 by Paul Warren.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to
the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of
the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY CLAIM, DAMAGES OR
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.
SEE ALSO
RFC::RFC822::Address, Mail::Address
perl v5.10.1 2002-04-13 Address(3pm)