12-05-2005
I agree that doing that will allow me to capture the errors in the output file however, it doesn't abort the script if there is an error. I need to know how to tell if there was an error. What do I look for? Is there a list of possible errors somewhere?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi everybody !
How can I configure the ftp in solaris systems ? Wich files ?
To resume : I want to create a user wich can get from a ftp session running from a PC, some files without going up in the directories. If I attached the ksh or sh shell to the user, he can go wherever he wants. If I... (7 Replies)
Discussion started by: MarcoW
7 Replies
2. Solaris
Hi All,
I need help using the native Solaris 8 ftp client. I need to ftp through a ftp proxy. How would this be confiured on Solaris 8? Any help would be greatly appreciated. (0 Replies)
Discussion started by: cstovall
0 Replies
3. Shell Programming and Scripting
Hello,
A couple of times per week, i receive emails notifications when files are available for processing.
Currently i read these eamails with a java program and store the attachement on my C: drive and would now like to generate a PC script to send this file name up to UNIX-Solaris and... (3 Replies)
Discussion started by: bobk544
3 Replies
4. Solaris
I there i have a big problem
i make some changes in the /etc/ftpd/ftpaccess , and after that i restart the service with #svcadm refresh /network/ftp:default but the changes dont take efect , i also trie with #svcadm restart /network/ftp:default with the same result
I cant restart the... (1 Reply)
Discussion started by: gonzo
1 Replies
5. Solaris
Hi All,
1. modify /etc/default/login file as
make commented # console=
2.put my laptops ip at both
/etc/inet/ipnodes and /etc/host file
still i can login via telnet/ftp through a DB9-serial cable, but when i tried
through a lan stratight cable directly connected that machine... (7 Replies)
Discussion started by: mahadib
7 Replies
6. UNIX for Dummies Questions & Answers
Can anyone point me in the right direction..
I have a test system which requires vxWorks to be loaded via TCPIP
I am using a Sun ultra10 box with Sol 9.0 installed as the server
I have configured the server and am able to load the boot image without any problems. I assume it is using the... (0 Replies)
Discussion started by: shortsrkt
0 Replies
7. Solaris
Hi All,
I am facing problem while doing FTp to solaris server through Windows XP machine.
showing msg as follows
220 matrix FTP server ready.
User (*.*.*.*:(none)): Sun
331 Password required for Sun.
Password:
530 Login incorrect.
Login failed.
ftp> bye
also while doing vi or... (2 Replies)
Discussion started by: sunray
2 Replies
8. Solaris
Hi everyone,
I am hoping anyone of you could help me in this weird problem we have in 1 of our Solaris 10 servers. Lately, we have been having some ftp problems in this server. Though it can ping any server within the network, it seems that it can only ftp to a select few. For most servers, the... (4 Replies)
Discussion started by: labdakos
4 Replies
9. Solaris
Hi,
I trying to use ftp on solaris to get an update for my sun storage 7000 simulator, but i'm unable to get te file.
For every command I get the following.
bash-3.00# telnet localhost 21
Trying ::1...
telnet: connect to address ::1: Network is unreachable
Trying 127.0.0.1...
Connected... (5 Replies)
Discussion started by: jld
5 Replies
10. Solaris
Hi All, I have a problem with FTP service on Solaris 10.
Whenever I try to FTP to one machine locally (ftp localhost) or from other machine I don't get any response, I see the ftp service on the machine is online and listening to port 21 but ftp is not responding.
Also it seems i can't... (16 Replies)
Discussion started by: belal84
16 Replies
LEARN ABOUT X11R4
pcap_activate
PCAP_ACTIVATE(3PCAP) PCAP_ACTIVATE(3PCAP)
NAME
pcap_activate - activate a capture handle
SYNOPSIS
#include <pcap/pcap.h>
int pcap_activate(pcap_t *p);
DESCRIPTION
pcap_activate() is used to activate a packet capture handle to look at packets on the network, with the options that were set on the handle
being in effect.
RETURN VALUE
pcap_activate() returns 0 on success without warnings, PCAP_WARNING_PROMISC_NOTSUP on success on a device that doesn't support promiscuous
mode if promiscuous mode was requested, PCAP_WARNING_TSTAMP_TYPE_NOTSUP on success if the time stamp type specified in a previous
pcap_set_tstamp_type() call isn't supported by the capture source (the time stamp type is left as the default), PCAP_WARNING on success
with any other warning, PCAP_ERROR_ACTIVATED if the handle has already been activated, PCAP_ERROR_NO_SUCH_DEVICE if the capture source
specified when the handle was created doesn't exist, PCAP_ERROR_PERM_DENIED if the process doesn't have permission to open the capture
source, PCAP_ERROR_PROMISC_PERM_DENIED if the process has permission to open the capture source but doesn't have permission to put it into
promiscuous mode, PCAP_ERROR_RFMON_NOTSUP if monitor mode was specified but the capture source doesn't support monitor mode,
PCAP_ERROR_IFACE_NOT_UP if the capture source is not up, and PCAP_ERROR if another error occurred. If PCAP_WARNING or PCAP_ERROR is
returned, pcap_geterr() or pcap_perror() may be called with p as an argument to fetch or display a message describing the warning or error.
If PCAP_WARNING_PROMISC_NOTSUP, PCAP_ERROR_NO_SUCH_DEVICE, or PCAP_ERROR_PERM_DENIED is returned, pcap_geterr() or pcap_perror() may be
called with p as an argument to fetch or display an message giving additional details about the problem that might be useful for debugging
the problem if it's unexpected.
SEE ALSO
pcap(3PCAP)
5 April 2008 PCAP_ACTIVATE(3PCAP)