Operating System - Tru64 Unix
1830339 Members
3894 Online
110001 Solutions
New Discussion

Re: How to check lan card setting on Tru64?

 
SOLVED
Go to solution
ericfjchen
Regular Advisor

How to check lan card setting on Tru64?

How to check lan card setting on Tru64 (such as speed, full duplex?)? How to change it?

Thanks

Eric
5 REPLIES 5
Venkatesh BL
Honored Contributor

Re: How to check lan card setting on Tru64?

check out /etc/rc.config file. Also, 'lan_config' to change the configuration. Check the manpages for more info.
Michael Schulte zur Sur
Honored Contributor

Re: How to check lan card setting on Tru64?

Hi,

what nic do you have and what os version?
tulip cards you can set with the console variables and intel cards should be on automatic. Tru64 5.x allows you to use sysman for settings.

greetings,

Michael
ericfjchen
Regular Advisor

Re: How to check lan card setting on Tru64?

# uname -a
OSF1 erpap V5.1 1885 alpha
Ross Minkov
Esteemed Contributor
Solution

Re: How to check lan card setting on Tru64?


Network Card SRM Console Name Tru64 UNIX driver/name
--------------------------------------------------------------
DE500 ewa0, ewb0, ... tu0, tu1, ...
DE600 eia0, eib0, ... ee0, ee1, ...
DEGPA-SA none (not visible) alt0, alt1, ...


DEGPA-SA cards are brain dead at the console and by default autonegotiate on UNIX boot.

DE600 cards have a console variable that you can set but regardless of the
value of it by default they autonegotiate on UNIX boot too.


The lan_config command allows you to modify the type of medium, speed, and
mode of operation (half- or full-duplex).
You can also use the lan_config command to enable or disable autonegotiation,
if the underlying device has this capability.

Modifications made with the lan_config command do not persist across
reboots of the operating system. To configure the interface or modify the
parameters automatically each time the system is booted, edit the
/etc/inet.local file and add the lan_config command entries to it.

Here is something from the man page for lan_config:

For DE5xx devices (tu), the characteristics managed with the lan_config
command are ordinarily set from the console level via the EWx0_MODE
environment variable. The lan_config command allows you to override this
default and configure the interface as needed after the system is up and
running. For all other devices, you must use the lan_config command to

RESTRICTIONS

You can configure only tu interfaces (DE5xx) by setting the appropriate
console environment variables.

You can also use the ifconfig command to set the speed and mode (half- or
full-duplex) either from the command line or in the inet.local file. If
you specify the command in the inet.local file, the command is executed
each time the system is booted.

============================

The /etc/inet.local file is a file that is called by /sbin/init.d/inet after all
the network interfaces are up and running, but before any other network
services are started.

============================

To verify what an interface is currently set to use hwmgr:

# hwmgr -get attr -cat network | grep -E 'name|speed|duplex|auto|link'

============================

The following commands peek into kernel memory.

- Speed
##
# (ifnet.if_next if the lan target is tu1, ifnet.if_next.if_netxt for tu2, ...)
dbx -k /vmunix
dbx > p ifnet
if_baudrate = speed

- Type
##
# X is the number of the target (tu1,tu2, etc...)
dbx -k /vmunix
dbx> p tu_softc[X].tu_flags
fast_speed = 1 ---> 1-> 100
0-> 10
full_duplex = 1 ---> 1-> Full duplex
0-> Half duplexmy

yang_8
New Member

Re: How to check lan card setting on Tru64?

how about checking the network configuration for tru64 version 4??

the above command is not able to perform on version 4.....