10-24-2006
thanks!
I appreciate the help.
Could you tell me what is going on in this script so i can apply it to what im doing?
in other words whats going on below?
echo $?
if [ $? -ne 0 ] ; then
echo "Ping unsuccessful"
Last edited by anon0mus; 10-24-2006 at 12:29 PM..
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I need a shell script for OS X, one that can find IP addresses of machines connected to my LAN, get the names of the computer associated with those addresses, then display them like so in a list: "Bob's L33T Boxx: #.#.#.#" Something like the network scanner in Apple Remote Desktop is what I'm... (1 Reply)
Discussion started by: sladuuch
1 Replies
2. UNIX for Advanced & Expert Users
Im old to Unix but new to scripting
I have a MacBook running osx that I want to use as an nfs client. The server will be a linux box with a wake on lan card. Here's the idea. Run a cron command on the mac every minute that checks if I am on my home wireless network (the linux box is wired to... (0 Replies)
Discussion started by: anon0mus
0 Replies
3. Solaris
Hi ,
I am trying to configure a private LAN and corporate LAN on the same machien on Solaris 10.
How can I achieve this?
Thanks (1 Reply)
Discussion started by: deedee
1 Replies
4. Linux
Hi guys,
Two boxes on the same .23 subnet 192.168.1.x
The box I wanted to shutdown and restart remotely
went down, but didn't come back up when I used ether-wake 00:11:22:etc:etc:
The sleeper has two nics, but only one with cable. I configured both nics to wake on lan using the g option.
The... (0 Replies)
Discussion started by: Bloke
0 Replies
5. IP Networking
Hi,
We have a website running on a local centos 5.4 surfer, static IP.
The domain.com uses no-ip.com to take care of the DNS, it forwards all to my server.
My router receives the port 80 call, routes it to my server and the world can see domain.com perfectly fine.
However, we cannot see... (3 Replies)
Discussion started by: lawstudent
3 Replies
6. Red Hat
I am facing strange problem regarding hostname on my Linux(2.6.18-164.el5xen x86_64 GNU/Linux), the hostname changes if reboot with lan cable and with NO lan cable
Reboot with lan cable:
The hostname is ubunut
Unable to connect Oracle database using sqlplus some times database is not... (2 Replies)
Discussion started by: LinuxLearner
2 Replies
7. Shell Programming and Scripting
need perl script to get a comprehend statistic of network activity in a LAN.
The purpose is to get each indivisual data usages statistics so that I can determine who is doing the network congestion in terms of bandwidth usages both in real time and retrospectively..
Thanks in... (4 Replies)
Discussion started by: rrd1986
4 Replies
8. UNIX for Dummies Questions & Answers
As the title implies I'm having trouble setting up Wake-On-LAN with my Debian box. Here is the output from ethtool and my /etc/network/interfaces:
# cat /etc/network/interfaces
# /etc/network/interfaces - configuration file for ifup(8), ifdown(8)
# The loopback interface
auto lo
iface lo... (2 Replies)
Discussion started by: Azrael
2 Replies
9. UNIX for Dummies Questions & Answers
I'm a OS X user (MacBook Pro, OS X Lion) and I need it to wake up on Mondays, Wednesdays, Thursdays and Saturdays at 9:00 AM
on the rest of the days of the week at 7:00
I issue the following commands:
sudo pmset repeat wake MWRS 09:00:00 for the former
sudo pmset repeat wake TFU... (1 Reply)
Discussion started by: scrutinizerix
1 Replies
LEARN ABOUT DEBIAN
pommed
POMMED(1) General Commands Manual POMMED(1)
NAME
pommed - Apple laptops hotkeys event handler
SYNOPSIS
pommed [options]
DESCRIPTION
This manual page documents briefly the pommed daemon.
pommed is a daemon handling the hotkeys found on the Apple laptops, like the MacBook Pro, MacBook and PowerBook laptops. These hotkeys con-
trol, through pommed, the LCD backlight level, the audio volume, the keyboard backlight level (only on the MacBook Pro and the latest
PowerBook) and the CD/DVD drive ejection. Additionally, pommed monitors the ambient light sensors found on the MacBook Pro and the latest
PowerBook to automatically light up the keyboard backlight when the ambient light level gets too low.
pommed can optionally support the Apple Remote Control, too (this option is disabled by default and only available for the MacBook Pro and
MacBook).
OPTIONS
pommed accepts the following command-line options.
-v Print version information.
-f Run in the foreground, printing log messages to stdout.
-d Run in the foreground, printing log messages to stdout and debug messages to stderr.
FILES
/etc/pommed.conf
The configuration file for pommed. See the comments in the file for the structure of the file and the available options.
AUTHOR
pommed was written by Julien BLACHE <jb@jblache.org>.
2007-01-09 POMMED(1)