08-05-2008
I suggest you unplumb first then re-plumb and force a broadcast
#ifconfig ce0 inet 192.168.11.6 netmask .... broadcast + ..... up
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi everyone! It's been a while since I posted here!
Here's my question - Every week I check various logs (disk usage, etc), but the problem I'm finding with the user logs, is that they only go back a day, when I use the 'last' command. Is there any way of recording 7 day's worth of user access... (3 Replies)
Discussion started by: Ypnos
3 Replies
2. UNIX for Dummies Questions & Answers
Hello:
I'm having the following problem when I try to log in to our Tru64 system, from any machine using root or any other user.
After entering the passowrd I get the following message:
and not being directed to the shell console.
I think it has something to do with the audit process... (2 Replies)
Discussion started by: aladdin
2 Replies
3. Shell Programming and Scripting
I want to transfer files from ABC server to XYZ server in which i am successful. I would like to create a log file also by the name of current date. For some reason my script gives me an error on my scp -p command and it says LOCAL_LOG_FILE: not found and REMOTE_LOG_FILE not found. Any clues whats... (9 Replies)
Discussion started by: chris1234
9 Replies
4. UNIX for Dummies Questions & Answers
Hey Guys,
I am trying to do a recursive search in one directory. If the directory contains that specific folder then create a directory in my other remote machine and use SCP to transfer all the contents of the file.
Till this stage everything works fine. So now i need to add 2 more... (5 Replies)
Discussion started by: chris1234
5 Replies
5. Ubuntu
Hello everyone,
I have problems to log into systems recently. Here is the description of the problem:
I installed windows and ubuntu linux in my laptop, sometimes after I pushed the power button, the screen of the mainboard showed up, and then the whole screen came to grey without any letter... (0 Replies)
Discussion started by: tpltp
0 Replies
6. Solaris
Hi All,
I have a perl module TrxLog.pm and following are codes in it
#!/usr/local/bin/perl
package TrxLog;
%log_begin="";
%log_end="";
%log_msg="";
%log_start_time="";
%log_end_time="";
$ix=0;
@arr_msg="";
if (! -e "TrxLog.txt"){
open (TRX,">TrxLog.txt");
}else{
... (1 Reply)
Discussion started by: megh
1 Replies
7. Shell Programming and Scripting
Hi,
Please help me with below scenerio...
i have a shell script.. which should be scheduled in cron and should get the log when executed.
example, script.ksh :
echo "narayana" >$HOME/script.log
* * * * * bash -x $HOME/script.ksh >$HOME/script_cron.log
My question is:
I am... (2 Replies)
Discussion started by: lnviyyapu
2 Replies
8. Shell Programming and Scripting
Hi,
I have a problem with my logfile. I am redirecting my output to log file and when iam viewing as text doc it is looking with some nonsense characters...please do help me on this .thank you.
here is my logfile which it is showing different behaviour:
spawn
spawn minicom
Welcome... (6 Replies)
Discussion started by: vanid
6 Replies
9. Shell Programming and Scripting
Hi,
I have written a bash shell script. In order to create a log file when I run the script, as well as print the output to the terminal, I call it in the following manner:
my_shell_script 2>&1 | tee my_log_fileThis seems to work well. However, I have put some statements in the script to... (2 Replies)
Discussion started by: msb65
2 Replies
10. Shell Programming and Scripting
Hi,
I am in trouble ... again :wall:
I formating a log file as .txt from Unix (solaris 9) and then I compress it with gzip and I use uuencode and send it in an email.
gzip -c ${fic_report} | uuencode Report_File.gz > ${attachment_file}
my problem is when I received the mail with the... (6 Replies)
Discussion started by: Aswex
6 Replies
LEARN ABOUT NETBSD
route.conf
ROUTE.CONF(5) BSD File Formats Manual ROUTE.CONF(5)
NAME
route.conf -- static routes config file
DESCRIPTION
The route.conf file is read by the staticroute rc.d script during system start-up and shutdown, and is intended for adding and removing
static routes.
FILE FORMAT
Lines starting with a hash ('#') are comments and ignored. Lines starting with a plus sign ('+') are run during start-up, while lines start-
ing with a minus sign ('-') are run during system shutdown. If a line starts with a '!', the rest of the line will get evaluated as a shell
script fragment. All other lines are passed to route(8). During start-up, they are passed behind a ``route add -'' command and during shut-
down behind a ``route delete -'' command.
FILES
/etc/route.conf The route.conf file resides in /etc.
/etc/rc.d/staticroute
rc.d(8) script that parses route.conf.
EXAMPLES
In this example, the interface for the desired routing changes is set, the IP address on that interface is determined, and a route is added
during startup, or deleted during system shutdown.
# Set interface and determine current IP address for added route.
!ifname=bnx0
!ipaddr=$(/sbin/ifconfig ${ifname} | awk '$1 == "inet" {print $2}')
net 10.10.1 -interface ${ipaddr}
In this example, IP forwarding is turned on during start-up, and a static route added for 192.168.2.0. During system shutdown, the route is
removed and IP forwarding turned off.
# Turn on/off IP forwarding.
+sysctl -w net.inet.ip.forwarding=1
-sysctl -w net.inet.ip.forwarding=0
net 192.168.2.0 -netmask 255.255.255.0 192.168.150.2
SEE ALSO
rc.conf(5), rc(8), route(8)
BSD
May 1, 2012 BSD