Sponsored Content
Full Discussion: Network Interface
Top Forums UNIX for Dummies Questions & Answers Network Interface Post 2843 by mib on Thursday 7th of June 2001 08:07:22 AM
Old 06-07-2001
In most case 'ifconfig' will not give this info. Same happens with 'dmesg'. In this case you can try 'mii-diag' program which reports the link status.

http://www.scyld.com/diag/index.html


HTH


 

10 More Discussions You Might Find Interesting

1. AIX

Problem with a Network Interface

Hi every body, I have a Fiber Channel interface (fcs2) in AIX 5.2. This interface was fine & up but for some reason I could not return this interface UP again after I set it DOWN. When I tried to set this interface UP I encountered the following error: Method error... (7 Replies)
Discussion started by: aldowsary
7 Replies

2. Solaris

Network Interface Issue

Hi all, Here im facing problem with NIC Interface with my X86 Version of Solaris Express, even after loading module for that Interface. So please check this below mentioned log for your use and get back to me ASAP. - - - -- --... (0 Replies)
Discussion started by: baraghun
0 Replies

3. Solaris

Network interface not found ?

Hello, I have just installed Solaris 9 x86 in a VMWare and the 1st problem I have is to enable the networking. I can only see the loopback interface and nothing else. - I dont have any /etc/hostnames.xxx - ifconfig -a shows only the loopback - kstat -c net shows only the loopback ... Any... (11 Replies)
Discussion started by: Tex-Twil
11 Replies

4. Solaris

Network interface problem

Hi i have replace a NIC card on solaris 10 when i give the following command ifconfig -a it just show the lo0 (only loop back with inet 127.0.0.1) when i give the following command to config the interface, ifconfig elxl0 plumb ifconfig: plumb: elxl0: no such interface please help... (11 Replies)
Discussion started by: malikshahid85
11 Replies

5. Solaris

configure zones to have different network interface and network

i need to configure a zone to use different interface (bge2) than global and have connected to completely different network switch & to use its own defaultrouter and hosts file .. is it possible ..if so ..how ? Thanks (9 Replies)
Discussion started by: skamal4u
9 Replies

6. UNIX and Linux Applications

Access to network interface (Mac-network)

Hi, I'm a italian student. For my thesis I develop a gateway with protocol 6lowpan. For that I must access to network interface to develope my personal stack based on standard 802.15.4. Can you help me? I need an explanation for that. (0 Replies)
Discussion started by: berny88
0 Replies

7. IP Networking

Network interface-

Hello, Please what's the difference between: AND Thank you so much (3 Replies)
Discussion started by: chercheur857
3 Replies

8. IP Networking

network interface -

Hello, Please, how can i create a network interface with a routable IP address on linux (ubuntu) ? AND How can i desactivate an interface? Thank you so much for help. (1 Reply)
Discussion started by: chercheur857
1 Replies

9. Solaris

No network cable But Network interface is UP and Running

I've one Netra 240 After changing main board and system configuration card reader, Network is not accessible any more, Network interfaces are always UP and Running even when there is no cable connected to Network interfaces. I tried to restart and plumb/unplumb with no luck. ifconfig -a... (7 Replies)
Discussion started by: samer.odeh
7 Replies

10. UNIX for Dummies Questions & Answers

Adding a network interface to a bonded interface

I have a RHEL 5 system with a bonded interface configure using only one network port (eth0). So I have config file for ifcfg-bond0 and ifcfg-eth. I'd like to configure eth5 to be the second SLAVE in the bond. My question is, after I modify ifcfg-eth5, can I add eth5 to the bond0 interface without... (1 Reply)
Discussion started by: westmoreland
1 Replies
MII-DIAG(8)						      System Manager's Manual						       MII-DIAG(8)

NAME
mii-diag - Network adapter control and monitoring SYNOPSIS
mii-diag [options]<interface> DESCRIPTION
This manual page documents briefly the mii-diag network adapter control and monitoring command. Addition documentation is available from http://scyld.com/diag/index.html. This mii-diag command configures, controls and monitors the transceiver management registers for network interfaces, and configures driver operational parameters. For transceiver control mii-diag uses the Media Independent Interface (MII) standard (thus the command name). It also has additional Linux-specific controls to communicate parameters such as message enable settings and buffer sizes to the underlying device driver. The MII standard defines registers that control and report network transceiver capabilities, link settings and errors. Examples are link speed, duplex, capabilities advertised to the link partner, status LED indications and link error counters. OPTIONS
The mii-diag command supports both single character and long option names. Short options use a single dash ('-') in front of the option character. For options without parameters, multiple options may be concatenated after a single dash. Long options are prefixed by two dashes ('--'), and may be abbreviated with a unique prefix. A long option may take a parameter of the form --arg=param or --arg param. A summary of options is as follows. -A, --advertise <speed|setting> -F, --fixed-speed <speed|setting> Speed is one of: 100baseT4, 100baseTx, 100baseTx-FD, 100baseTx-HD, 10baseT, 10baseT-FD, 10baseT-HD. For more precise control an explicit numeric register setting is also allowed. -a, --all-interfaces Show the status of all interfaces. This option is not recommended with any other option, especially ones that change settings. -s,--status Return exit status 2 if there is no link beat. -D Increase the debugging level. This may be used to understand the actions the command is taking. -g, --read-parameters Show driver-specific parameters. -G, --set-parameters value[,value...] Set driver-specific parameters. Set a adapter-specific parameters. Parameters are comma separated, with missing elements retaining the existing value. -v Increase the verbosity level. Additional "-v" options increase the level further. -V Show the program version information. -w, --watch Continuously monitor the transceiver and report changes. -? Emit usage information. DESCRIPTION
Calling the command with just the interface name produces extensive output describing the transceiver capabilities, configuration and cur- rent status. The '--monitor' option allows scripting link beat changes. This option is similar to --watch, but with lower overhead and simplified output. It polls the interface only once a second and the output format is a single line per link change with three fixed words <unknown|down||negotiating|up> <STATUS> <PARTNER-CAP> Example output: mii-diag --monitor eth0 down 0x7809 0x0000 negotiating 0x7829 0x45e1 up 0x782d 0x45e1 down 0x7809 0x0000 This may be used as mii-diag --monitor eth0 | while read linkstatus bmsr linkpar; do case $linkstatus in up) ifup eth0 ;; down) ifdown eth0 ;; esac done It may be useful to shorten the DHCP client daemon timeout if it does not receive an address by adding the following setting to /etc/sysconfig/network: DHCPCDARGS="-t 3" SEE ALSO
ether-wake(8),net-diag(8),mii-tool(8). Addition documentation is available from http://scyld.com/diag/index.html. KNOWN BUGS
The --all-interfaces option is quirky. There are very few settings that are usefully applied to all interfaces. AUTHOR
The manual pages, diagnostic commands, and many of the underlying Linux network drivers were written by Donald Becker for the Scyld Beowulf(tm) cluster system. Scyld Beowulftm September 9, 2003 MII-DIAG(8)
All times are GMT -4. The time now is 10:30 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy