Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* NIC configuration
@ 2002-04-01 23:30 Andrew Li
  2002-04-02  0:54 ` Zoong Pham
  0 siblings, 1 reply; 5+ messages in thread
From: Andrew Li @ 2002-04-01 23:30 UTC (permalink / raw)


Hi all,

Do any of you know how to determine whether a NIC is full duplex or half
duplex under Tru64? Under FreeBSD, this information can be retrieve by
using "ifconfig".

tl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        ether 00:50:8b:dc:8a:75
        media: Ethernet 100baseTX <full-duplex>
        status: active

Note that the "media" line tells you this card if full duplex.

There is a SIOCIFSETCHAR (struct ifchar) under ioctl, but there doesn't
seem to be any read interface. Has anyone bumped into this before?

Andrew



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: NIC configuration
  2002-04-01 23:30 NIC configuration Andrew Li
@ 2002-04-02  0:54 ` Zoong Pham
  2002-04-02  1:55   ` Andrew Li
  0 siblings, 1 reply; 5+ messages in thread
From: Zoong Pham @ 2002-04-02  0:54 UTC (permalink / raw)


In article <Pine.OSF.4.33.0204020916450.22429-100000@aald03.alcatel.com.au>, Andrew Li wrote:
> Hi all,
> 
> Do any of you know how to determine whether a NIC is full duplex or half
> duplex under Tru64? Under FreeBSD, this information can be retrieve by

Look at /var/adm/messages.
May 28 13:05:47 alpha1 vmunix: tu0: DECchip 21140: Revision: 2.2
May 28 13:05:47 alpha1 vmunix: tu0: auto negotiation capable device
May 28 13:05:47 alpha1 vmunix: tu0 at pci0 slot 2
May 28 13:05:47 alpha1 vmunix: tu0: DEC TULIP (10/100) Ethernet Interface,
hardware address: 00-00-F8-10-60-A9
May 28 13:05:47 alpha1 vmunix: tu0: auto negotiation off: selecting 100BaseTX
(UTP) port: full duplex

To set it permanent, in SRM:
set ew*0_mode "value"
where "value" can be something like "fast duplex"

Hope it helps.
-- 
Zoong Pham                        zpham@mercy.com.au
UNIX Systems Administrator        Mercy Health and Aged Care Inc.

To get my PGP public key, email me with the subject:
Request for Zoong Pham's PGP public key


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: NIC configuration
  2002-04-02  0:54 ` Zoong Pham
@ 2002-04-02  1:55   ` Andrew Li
  2002-04-02  4:55     ` Zoong Pham
  0 siblings, 1 reply; 5+ messages in thread
From: Andrew Li @ 2002-04-02  1:55 UTC (permalink / raw)


On 2 Apr 2002, Zoong Pham wrote:

> In article <Pine.OSF.4.33.0204020916450.22429-100000@aald03.alcatel.com.au>, Andrew Li wrote:
> > Hi all,
> >
> > Do any of you know how to determine whether a NIC is full duplex or half
> > duplex under Tru64? Under FreeBSD, this information can be retrieve by
>
> Look at /var/adm/messages.
> May 28 13:05:47 alpha1 vmunix: tu0: DECchip 21140: Revision: 2.2
> May 28 13:05:47 alpha1 vmunix: tu0: auto negotiation capable device
> May 28 13:05:47 alpha1 vmunix: tu0 at pci0 slot 2
> May 28 13:05:47 alpha1 vmunix: tu0: DEC TULIP (10/100) Ethernet Interface,
> hardware address: 00-00-F8-10-60-A9
> May 28 13:05:47 alpha1 vmunix: tu0: auto negotiation off: selecting 100BaseTX
> (UTP) port: full duplex
>
> To set it permanent, in SRM:
> set ew*0_mode "value"
> where "value" can be something like "fast duplex"
>
> Hope it helps.
> --
> Zoong Pham                        zpham@mercy.com.au
> UNIX Systems Administrator        Mercy Health and Aged Care Inc.
>
> To get my PGP public key, email me with the subject:
> Request for Zoong Pham's PGP public key
>

Sorry, there's a very important bit I left out in my question. Is there
any way to tell other than looking through the boot messages and the SRM?

Thanks for your answer Zoong Pham.

Andrew



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: NIC configuration
  2002-04-02  1:55   ` Andrew Li
@ 2002-04-02  4:55     ` Zoong Pham
  2002-04-05  5:08       ` Andrew Li
  0 siblings, 1 reply; 5+ messages in thread
From: Zoong Pham @ 2002-04-02  4:55 UTC (permalink / raw)


In article <Pine.OSF.4.33.0204021149460.22429-100000@aald03.alcatel.com.au>, Andrew Li wrote:
> Sorry, there's a very important bit I left out in my question. Is there
> any way to tell other than looking through the boot messages and the SRM?

Why can't you use the boot messages and the SRM?

Here is one way:
# hwmgr -show comp | grep tu
   32:  alphadev   r---- none    tu0
   33:  alphadev   r---- none    tu1
# hwmgr -get attribute current -id 32
32:
  name = tu0
  category = network
  sub_category = Ethernet
  model = 21143
  hardware_rev = 4.1
  firmware_rev = 
  MAC_address = 00-10-64-30-37-78
  MTU_size = 1500
  media_speed = 100
  media_selection = Set by SRM Console
  media_type = Unshielded Twisted Pair (UTP)
  loopback_mode = 0
  promiscuous_mode = 0
  full_duplex = 1
  multicast_address_list = CF-00-00-00-00-00 01-00-5E-00-00-01 09-00-2B-00-00-0F 09-00-2B-02-01-04
  interface_number = 1
  registration_time = Tue Jan 15 10:05:21 2002
  user_name = (null) (settable)
  location = (null) (settable)
  software_module = (null)
  state = available
  state_previous = unknown
  state_change_time = none
  event_count = 0
  last_event_time = none
> 
> Thanks for your answer Zoong Pham.

No problem.
-- 
Zoong Pham                        zpham@mercy.com.au
UNIX Systems Administrator        Mercy Health and Aged Care Inc.

To get my PGP public key, email me with the subject:
Request for Zoong Pham's PGP public key


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: NIC configuration
  2002-04-02  4:55     ` Zoong Pham
@ 2002-04-05  5:08       ` Andrew Li
  0 siblings, 0 replies; 5+ messages in thread
From: Andrew Li @ 2002-04-05  5:08 UTC (permalink / raw)


On 2 Apr 2002, Zoong Pham wrote:

> In article <Pine.OSF.4.33.0204021149460.22429-100000@aald03.alcatel.com.au>, Andrew Li wrote:
> > Sorry, there's a very important bit I left out in my question. Is there
> > any way to tell other than looking through the boot messages and the SRM?
>
> Why can't you use the boot messages and the SRM?
>
> Here is one way:
> # hwmgr -show comp | grep tu
>    32:  alphadev   r---- none    tu0
>    33:  alphadev   r---- none    tu1

Too bad I'm running 4.0F here...  :-(
And it is highly unlikely that the source of hwmgr can be found
anywhere... Thanks for the quick reply though !

Andrew



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2002-04-05  5:08 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-01 23:30 NIC configuration Andrew Li
2002-04-02  0:54 ` Zoong Pham
2002-04-02  1:55   ` Andrew Li
2002-04-02  4:55     ` Zoong Pham
2002-04-05  5:08       ` Andrew Li

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox