Sponsored Content
Full Discussion: ifconfig
Top Forums UNIX for Dummies Questions & Answers ifconfig Post 50130 by Perderabo on Friday 16th of April 2004 01:53:36 PM
Old 04-16-2004
Go to single user mode and check /etc/rc.config.d/netconf. Be sure that the hostname and ip addresses are correct. Check /etc/hosts to be sure that you have the right hostname and ip address there as well.
 

10 More Discussions You Might Find Interesting

1. HP-UX

HP-UX ifconfig question.

This will most likely be a real dumb question for a HP-UX admin, but here it goes anyhow. lan0 - is up and configured lan1 - is down, I want to bring it up. lanconfig....ifconfig is there a difference? My real question is, in solaris there is an /etc/hostname."?" file, is there a... (4 Replies)
Discussion started by: viRaven
4 Replies

2. OS X (Apple)

ifconfig

Hi, I type (as root) "ifconfig en1 ether aa:aa: " but it doesnt change the mac of my airport. Can anyone help me? Thx. (0 Replies)
Discussion started by: Jariya
0 Replies

3. Shell Programming and Scripting

ifconfig!!!!

why the ifconfig command is not working in my machine? it says "-bash: ifconfig: command not found" why its says that? actually i m looking for "how can I know the Network Interface Card physical address?" Requesting u all for help. thanks (3 Replies)
Discussion started by: moco
3 Replies

4. UNIX for Dummies Questions & Answers

ifconfig and ipconfig

hey, I know that ifconfig on linux systems is identical to win ipconfig. I wanted to know if there is a linux distribution (new or old) that uses the ipconfig command. thanks alot :) (2 Replies)
Discussion started by: tsmotix
2 Replies

5. Solaris

ifconfig -a not working

Hi All, I logged into a sun microsystems server box, using both a vnc session and a ssh session. I am able to use "ifconfig -a" in a ssh session, but the same on a vnc session says that its a invalid command. how is this possible, when i am logging into the same box through two different... (4 Replies)
Discussion started by: pardhuhere
4 Replies

6. IP Networking

ifconfig modification

Hi all,,i have problem with my homework form my lecture.. He is give me a homework to create: ifconfig eth0 0.255.255.255 1.1.168.192 my lecture says, i can making the shell scripting to finish my homework.. i have question, can setting ifconfig like in the upper? (1 Reply)
Discussion started by: demhyt
1 Replies

7. IP Networking

ifconfig problem

Hi all, I am getting some error messages during bootup ifconfig :<hostname> bad address and some more messages related to it. I some how checked the /etc/hostanem.hme0 /etc/hosts file. Entries in these files were proper. If I am running the following command from root: ... (5 Replies)
Discussion started by: amit_sapre
5 Replies

8. Linux

ifconfig - information

Hi All, I need some info on ifconfig. ifconfig is available in Linux and Solaris. However the options available in Solaris is not there in Linux. 1. ifconfig -a == output is different in both OS. I am somewhat able to compare the output. But one thing I am not getting is after the flags... (2 Replies)
Discussion started by: ahamed101
2 Replies

9. Shell Programming and Scripting

not able to run ifconfig

Unable to run the ifconfig in my home dir.. I did add adding /sbin and /usr/sbin in th PATH But still unable to get that .. Am using red hat linux cat /etc/redhat-release Red Hat Enterprise Linux Server release 5.3 (Tikanga) (3 Replies)
Discussion started by: mail2sant
3 Replies

10. Solaris

Ifconfig command ?

What would be the command to remove the IP address from an interface? I want to remove the ip from this interface: ce3: flags=1000803<UP,BROADCAST,MULTICAST,IPv4> mtu 1500 index 5 inet 155.216.13.74 netmask fffffff0 broadcast 155.216.13.79 ether 0:3:ba:da:a6:96 (3 Replies)
Discussion started by: Kjons76
3 Replies
ASP(1)								    User Manual 							    ASP(1)

NAME
asp - find an host IP address by its name SYNOPSIS
asp [-uv] [-f | [-d dir] [-e ext]] [-a addresses] [-r repetitions] [-s send_delay] [-w wait_time] [-p port] hostname asp -V DESCRIPTION
Asp finds the IP address of an Internet connected host. In order to find it, the peer hostname (not the FQDN), and the range of its possi- ble IP addresses need to be specified. Those IP addresses could be simple IP addresses as 127.0.0.1 or "metaip" addresses as 127.0.0.1-20 or 127.0.0.*: the former is a simple way to avoid to type a lot of consecutive addresses, the latter is short for 127.0.0.1-254. In order to simplify the management of the associations between hostnames and addresses, asp searches in a specified directory a text file containing the possible IP addresses of the looked for host. The name of the text file has to be formed by the hostname followed by an optional extension of your choice. For example to find the author's dynamic IP address, obviously if I am on line, you can provide my metaip address on standard input with the command: echo "195.31.186.1-62 194.166.58.2-18" | asp -f atomic or you can put my metaip address in a file called atomic in your ~/.asp directory, like this: echo "195.31.186.1-62 194.166.58.2-18" > ~/.asp/atomic and then you can simply do: asp atomic OPTIONS
-u Update the file /etc/hosts with the IP address of hostname or delete the possible old entry if the address is not found. Obviously the file have to by writable by the user. -v Include more verbiage to make output readable by humans. Default consists only of dotted quad IP address, which is intended for output substitution in scripts. -f Force the reading of addresses from standard input instead that from the hostname's file. -d dir Set the directory containing the addresses file referred by hostname to dir. Default is ~/.asp. -e ext Set addresses files extension to ext. Default is no extension. -a addresses Set the number of queries to send before make a pause of send_delay seconds. Default is 12 queries. -r repetitions Set the number of times to try the same address. Default is 3 times. -s send_delay Delay the sending of the next group of addresses send_delay seconds. Default is 2 seconds. -w wait_time Wait the peer reply for wait_time seconds. Default is 5 seconds. -p port Specify an alternative port number. For default the port number is obtained searching the asp entry in /etc/services. -V Show version information. ENVIRONMENT
ASPCMD This variable could be used to store your preferred settings. An option set in this environment variable could be overridden or tog- gled from command line. BUGS
UDP is an unreliable protocol, therefore there is a chance you will not find the host even if it is on line. Anyway, if you are sure that the peer is on line and asp aware, you could adjust the various parameters until you get a reply. At last you will find the correct set- tings for your particular needs. This until the RDM communication style will be implemented under Linux. Obviously the hostname has to be unique among the possible IP addresses: asp will hook to the first correct reply. AUTHOR
Stenio Brunetta <stenio@brunettaeperin.it> Comments and suggestions are welcome. ACKNOWLEDGMENTS
Steven N. Hirsch <shirsch@ibm.net> for v1.3 bug fix and for the verbose option. Colin Phipps <cphipps@doomworld.com> for the tmpnam security issue. SEE ALSO
aspd(8). Linux February 1997 ASP(1)
All times are GMT -4. The time now is 03:00 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy