Sponsored Content
Full Discussion: HP-UX ifconfig question.
Operating Systems HP-UX HP-UX ifconfig question. Post 49864 by Perderabo on Monday 12th of April 2004 03:05:46 PM
Old 04-12-2004
lanconfig configures link level stuff. It and lanadmin together are close to ndd on Solaris. ifconfig is very close between the two OS's. One gotcha: hp-ux has no ifconfig -a. Use netstat -in instead.

HP has many lan drivers and one is named btlan4.

A place to start is:
ioscan -fnClan
which will list your lan cards and tell you which drivers claimed them.
And:
swlist -l file LAN\*
will list the files that make up your installed lan products. Look for and read any documentation.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Further question on 'ifconfig' output

I asked a similar question earlier and got a very good answer but a new doubt came up. This is a few lines of a '/sbin/ifconfig' command on my PC: RX packets:3781025 errors:0 dropped:0 overruns:0 frame:0 TX packets:1941909 errors:0 dropped:0 overruns:0 carrier:0 Does the RX and TX packets... (1 Reply)
Discussion started by: mint1981
1 Replies

2. UNIX for Dummies Questions & Answers

Why do I have to cd into /sbin to get to ifconfig?

I have to cd into /sbin in order to use ifconfig to check out my network cards. This has only started to happen since I downloaded the last update from RedHat(The machine runs RedHat 8.0). Does anyone know what happened? More importantly, are there any sources that can help me with this... (3 Replies)
Discussion started by: Jody
3 Replies

3. UNIX for Dummies Questions & Answers

Newbie ifconfig question

SunOS Release 5.7. Original ifconfig -a output: pnt0: flags=863<UP, BROADCAST,NOTRAILERS........ inet 10.2.34.49 netmask fffffe00 broadcast 10.2.34.255 ... Attempted to change ip address for pnt0. Typed the following command and forgot the "netmask" "ifconfig pnt0 10.2.35.49... (1 Reply)
Discussion started by: forbin24
1 Replies

4. UNIX for Dummies Questions & Answers

ifconfig

I am trying to change an IP address on a machine running HPUX10 After I change it I can ping it from the outside but it completely locks the console. After a reboot it returns back to its previous IP. Any ideas?? Thanks Brian (7 Replies)
Discussion started by: breigner
7 Replies

5. 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

6. Solaris

Solaris 10 question on ifconfig

On prior versions to solaris 10 when I want to add/change the IP address of an interface I will use this command. ifconfig eri0 down ifconfig eri0 192.xxx.xxx.xxx netmask 255.xxx.xxx.xxx up then change /etc/hosts so that /etc/hostname.eri0 picks up on the correct IP. I strange thing... (2 Replies)
Discussion started by: sparcguy
2 Replies

7. 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

8. 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

9. 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

10. Shell Programming and Scripting

awk question - getting ip from ifconfig

Hi there, I have a script which loops through the physical interfaces of a box and populates a variable called $NIC with the interface name so if for example $NIC is equal to "e1000g0", I am trying to figure out some awk that will get the IP for that interface from ifconfig output lo0:... (9 Replies)
Discussion started by: rethink
9 Replies
inet_type(4)							   File Formats 						      inet_type(4)

NAME
inet_type - default Internet protocol type SYNOPSIS
/etc/default/inet_type DESCRIPTION
The inet_type file defines the default IP protocol to use. Currently this file is only used by the ifconfig(1M) and netstat(1M) commands. The inet_type file can contain a number of <variable>=<value> lines. Currently, the only variable defined is DEFAULT_IP, which can be assigned a value of IP_VERSION4, IP_VERSION6, or BOTH. The output displayed by the ifconfig and netstat commands can be controlled by the value of DEFAULT_IP set in inet_type file. By default, both commands display the IPv4 and IPv6 information available on the system. The user can choose to suppress display of IPv6 information by setting the value of DEFAULT_IP. The following shows the possible values for DEFAULT_IP and the resulting ifconfig and netstat output that will be displayed: IP_VERSION4 Displays only IPv4 related information. The output displayed is backward compatible with older versions of the ifconfig(1M) and netstat(1M) commands. IP_VERSION6 Displays both IPv4 and IPv6 related information for ifconfig and netstat. BOTH Displays both IPv4 and IPv6 related information for ifconfig and netstat. The command-line options to the ifconfig and netstat commands override the effect of DEFAULT_IP as set in the inet_type file. For example, even if the value of DEFAULT_IP is IP_VERSION4, the command example% ifconfig -a6 will display all IPv6 interfaces. EXAMPLES
Example 1: Suppressing IPv6 Related Output This is what the inet_type file must contain if you want to suppress IPv6 related output: DEFAULT_IP=IP_VERSION4 SEE ALSO
ifconfig(1M), netstat(1M) SunOS 5.10 16 Jun 1999 inet_type(4)
All times are GMT -4. The time now is 07:56 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy