Sponsored Content
Full Discussion: Unable to ping host
Top Forums UNIX for Dummies Questions & Answers Unable to ping host Post 5699 by gavon on Monday 20th of August 2001 08:55:48 PM
Old 08-20-2001
Bug Thank you

Hi, thank you for everyone's advice, sad to say this equipment is no longer with me (sent back to vendor). Thank you guys!
 

10 More Discussions You Might Find Interesting

1. IP Networking

QNX host cannot ping SCO host, vice versa

The problem I am facing now is that the QNX host could not ping the SCO host and vice versa. They are in the same domain, ie, 172.20.3.xx. As I am very new to Unix, I guess I must have missed out some important steps. Pls help... Thanx alot (2 Replies)
Discussion started by: gavon
2 Replies

2. Shell Programming and Scripting

help to ping a host, is it alive or not ...

hello to everyone, i was wondering if you could help me with a script im working on, it's kind of simple but i dont have a lot experience on unix comands: well, here it is: you might apreciate the infinite while loop :D, it is supossed to be running on the server all day scaning it every 5... (12 Replies)
Discussion started by: sx3v1l_1n51de
12 Replies

3. Solaris

PING - Unknown host 127.0.0.1, Unknown host localhost - Solaris 10

Hello, I have a problem - I created a chrooted jail for one user. When I'm logged in as root, everything work fine, but when I'm logged in as a chrooted user - I have many problems: 1. When I execute the command ping, I get weird results: bash-3.00$ usr/sbin/ping localhost ... (4 Replies)
Discussion started by: Przemek
4 Replies

4. Solaris

unable to ping a host in another domain

Hello I have a server in it.siroe.com I added it.siroe.com in /etc/resolv.conf. I still can't ping the server. any service to restart here? any other file to edit? thx (4 Replies)
Discussion started by: melanie_pfefer
4 Replies

5. Solaris

Unable to ping Solaris VM from Xp host

Hi All, I am using Vmware Workstation 6.0.3 build-80004. Guest OS: Solaris 10 Host OS : Win XP I am getting request time out when i am trying to ping from XP ( cmd line) to Solaris VM - I have assigned IP 192.168.50.5 in Solaris VM ( Hostname: Tower1) and it is in UP status. ... (4 Replies)
Discussion started by: saurabh84g
4 Replies

6. IP Networking

ping can not recognize host but host command can

Hi, I have a weird problem. when ever I do ping command like for example ping unix.comI get the following message: # ping unix.com ping: unknown host unix.com but when I use host the computer is able to know the host. # host unix.com unix.com has address 81.17.242.186 unix.com mail is... (2 Replies)
Discussion started by: programAngel
2 Replies

7. Linux

Unable to ping Linux guest from win7 host

Hi, I am using win7 on my PC and installed VMware on it on which i am running linux I am unable to ping my linux guest from my win machine, but i can ping my windows host from linux guest : Below is my system configuration Linux root@localhost ~]# ifconfig eth0 Link... (9 Replies)
Discussion started by: chander_1987
9 Replies

8. Shell Programming and Scripting

Ping Host Until it is up and email

Hi I am trying to write a script which runs until the host is up. i got it figured out that it needs to be in loop till it return $? = 0. Not getting it through though. I am not sure about the 6th line !!! #!/bin/sh HOSTS="host.txt" ping(){ for myhost in "$HOSTS" do ping -c -1 "$myhost"... (8 Replies)
Discussion started by: Antergen
8 Replies

9. Solaris

Network issue on multinic. Unable to ping a host from One NIC but other works

Dear, I hope you all will be ok. I have an issue with Solaris box running on x86 Blade. I am unable to ping a node neither traceroute. I am able to do traceroute from oce0:6 port which have IP and subnet of same type which oce0:1 has. details are as follows: Problem: root@rinams02:/#... (3 Replies)
Discussion started by: khaniqshahid
3 Replies

10. Shell Programming and Scripting

Ping Response from the host name

Hi All, I have the requirement where am pinging the server and matching the IP address with the existing IP address. Below code is returning me the IP address and my requirement is i have to see that also whether it is pinging or not PING useipapd01 (172.22.32.87) 56(84) bytes of data. 64... (1 Reply)
Discussion started by: sharsour
1 Replies
sad(7)							 Miscellaneous Information Manual						    sad(7)

NAME
sad - STREAMS Administrative Driver SYNOPSIS
#include <sys/types.h> #include <sys/conf.h> #include <sys/sad.h> #include <sys/stropts.h> int ioctl( int fildes, const command, int arg); PARAMETERS
Specifies an open file descriptor of the sad driver. Specifies the administrative function to be performed. Points to a data structure. DESCRIPTION
The sad driver provides an interface to the autopush facility using the ioctl() function. As an interface, the sad driver enables adminis- trative tasks to be performed on STREAMS modules and drivers. Specifically, specifying the command parameter to the ioctl() function, an administrator can configure autopush information for a device, get information on a device, or check a list of modules. To access the sad driver, use /dev/sad/admin. ioctl Commands The commands used to perform administrative functions on a STREAMS module or driver are specified by the following ioctl() commands: Lets you use the sad driver to obtain autopush configuration information for a device by setting the sap_major and sap_minor fields of the stra- push structure (see the SAD_SAP command) to the major and minor device numbers of the device being queried. Upon successful completion, the strapush structure contains all of the information used to configure the device. Values of 0 (zero) will appear in any unused entry in the module list. Allows you to configure autopush information for a device. The arg parameter points to a strapush structure (defined in the sad.h header file), whose members are as follows: struct strapush { uint sap_cmd; long sap_major; long sap_minor; long sap_lastminor; long sap_npush; char sap_list[MAXAPUSH][FMNAMESZ+1]; }; Allows you to specify the type of configuration to perform. This field can have the following values: Configures all minor devices. Configures a range of minor devices. Configures a single minor device. Clears the previous set- tings. Specify only the sap_major and sap_minor fields when using this command. If a previous entry specified SAP_ALL, set the sap_minor field to 0 (zero). If a previous entry was specified as SAP_RANGE, set the sap_minor field to the lowest minor device number in the range. Specifies the major device number. Specifies the minor device number. Specifies the range of minor devices. Specifies the number of mod- ules to push. This number must be no more than MAXAPUSH, which is defined in sad.h. Additionally, this number must not exceed NSTRPUSH. Specifies, in order, the array of modules to push. Enables you to check a list of modules. For example, you can determine if a specific module has been installed. The arg parameter points to a str_list structure (defined in the stropts.h header file), whose members are as follows: struct str_list { int sl_nmods; struct str_mlist *sl_modlist; }; Specifies the number of entries you have allocated in an array. Points to the array of module names. The str_mlist structure (also in the stropts.h header file) is as follows: struct str_mlist { char 1_name[FMNAMESZ+1]; }; where 1_name[FMNAMESZ+1] specifies the array of module names. If the 1_name[FMNAMESZ+1] array is valid, the SAD_VML command returns a value of 0 (zero). If the array contains an invalid module name, the command returns a value of 1. Upon failure, the command returns a value of -1. NOTES
As a STREAMS driver, sad also supports the normal STREAMS ioctl(): int ioctl( int fildes, const I_STR, struct strioctl *strp); In this form, specify the ic_cmd field in the strioctl structure to either SAD_SAP, SAD_GAP, or SAD_VML. The ic_dp field points to the strapush structure (see the SAD_SAP command in the DESCRIPTION section). Refer to the streamio() reference page for further details. RETURN VALUES Unless specified otherwise, upon successful completion, the sad ioctl() commands return a value of 0 (zero). Otherwise, a value of -1 is returned. ERRORS
If any of the following conditions occur, the sad ioctl commands return the corresponding value: SAD_GAP The arg parameter points outside the allocated address space. The major device number (sad_major) is invalid. The device is not configured for autopush. The major device does not represent a STREAMS driver. SAD_SAP The specified major/minor device number pair (sad_major/sad_minor) has already been configured. The arg parameter points outside the allocated address space. The major device number (sad_major) is invalid, the number of modules (sap_list[MAXPUSH][FMNAMESZ+1]) is invalid, or the list of module names is invalid. The device is not configured for autopush. This value is returned from a SAD_GAP com- mand. A internal autopush data structure cannot be allocated. The major device does not represent a STREAMS driver. The sap.lastminor field is less than the sap_minor field when the command is SAP_RANGE, or the minor device specified in a SAP_CLEAR command does not exist. SAD_VML The arg parameter points outside the allocated address space. The list of module names is invalid. RELATED INFORMATION
Commands: autopush(8). Functions: ioctl(2). Interfaces: streamio(7). delim off sad(7)
All times are GMT -4. The time now is 07:43 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy