ndd matters


 
Thread Tools Search this Thread
Operating Systems Solaris ndd matters
# 1  
Old 04-06-2009
ndd matters

Hi,

I would like to know whether there is any config file that i can refer to for the result of 'ndd -get /dev/tcp tcp_time_wait_interval'?

When i man 'ndd', there is one statement which is -> Each driver chooses which parameters to make visible using ndd. Does it answering my question above that there isn't any config file that i can actually refer to for the outcome or otherwise? Smilie

Appreciate if you could shed some lights. Thanks.
# 2  
Old 04-06-2009
The settings that you set with an "ndd -set" command can also be set in the /etc/system file, I am not aware of where one can find the result of an "ndd -set" in a file and the fact the change is lost on reboot indicates that it is only set in memory, the methods of making ndd(1m) type changes permanent is to either call ndd from an rc script or SF service or to put them into /etc/system (the latter is better because it has an affect as soon as is possible during the boot process.

IIRC correctly a list of all the parameters for a given driver may be obtained by running for example:
Code:
# ndd -get /dev/tcp \?

N.B. Running "ndd -get" is how you would confirm that a run of "ndd -set" has changed something.
# 3  
Old 04-06-2009
How about the file (if there is any) for ndd default settings?

I have a server with e1000g0 interface whereby it only negotiates at 100Mbps. Both server and switch are set to AutoNeg. I have tried the followings :
1. Hard set switch to 1000Mbps
2. Configured e1000g.conf (ForceSpeedDuplex=7; AutoNegAdvertised=32Smilie to only advertise 1000Full

Both methods actually kills the connection. I have no such problem with other servers though. Any clue?
# 4  
Old 04-06-2009
1. If you hard set the switch to 1000 then you would have to do the same to the network interface, .i.e. both ends have to autoneg or neither end should.

2. Setting the switch or the port to only advertise 1000, FD, while still using autoneg should be okay.

Sounds like the switch or network cable are not 1000 capable?
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

Solaris 9 ndd -set issues

Hello forum, I have a Solaris 9 Sun Fire v240 server and Sun Fire v440 Recently we made changes and installed a new switch which both of them are connected to it. Cisco Catalyst 3750. Now the Sun Server v240 is having problems with the network. It was supposed to run at 1000mbs speed. ndd... (10 Replies)
Discussion started by: br1an
10 Replies

2. UNIX for Advanced & Expert Users

Question on NIC and ndd command

I have a T2000 server which has 4 e1000g NIC cards How do I configure each of it for 1Gbit full duplex and turnoff autonegotiation. Please assist Thanks (4 Replies)
Discussion started by: Tirmazi
4 Replies

3. Solaris

ndd /dev/tcp help

Solaris 10 server (SunOS 5.10 Generic_137137_09) I have a services file configured in /etc in there windows clients connect to my server on port 6034-6037 when I do the following netstat | grep TestServices it pulls all the connections active for those ports so right now I have 10 clients... (3 Replies)
Discussion started by: deaconf19
3 Replies

4. Programming

ndd commands using function calls

Hi, Is there any function calls available ( for using in a C program ) to get the Ethernet Link status. ? I am looking for the status available from ndd /dev/hme link_status And how about plumbing and configuring an interface using C program ? BTW, Is all this documented... (3 Replies)
Discussion started by: shibz
3 Replies

5. Solaris

Questions related to ndd commands

Hello Gurus I would like to know more about ndd commands related to ethernet(NIC) like how to set link_status, link_speed & link_mode as I know how to check these value. And I also would like to know how to make these setting permanents after reboot as I know that these setting will vanish... (5 Replies)
Discussion started by: amity
5 Replies

6. Solaris

ndd help

Hi Guys, I need help with ndd. I was going through network FAQ but i have more questions then answers regarding ndd. #ndd -set /dev/hme instance 0 #ndd -set /dev/hme adv_100fdx_cap 1 #ndd -set /dev/hme adv_100hdx_cap 0 #ndd -set /dev/hme adv_10fdx_cap 0 #ndd -set /dev/hme adv_10hdx_cap 0... (2 Replies)
Discussion started by: nitinkgoud
2 Replies

7. UNIX for Advanced & Expert Users

porting a unix programme to linux??what matters

My question is: difference between unix and linux in terms of compiler, file system, ANSI compliance, standard liabrary issues, threading issues, operating system calls memory issues..ie whether these things wud cause problems while porting a unix programme to linux.? I think answer is depend... (1 Reply)
Discussion started by: prasoon
1 Replies

8. IP Networking

ndd and le1

I am trying to set an interface to 100/Full, but the command I use are getting rejected. I think it is the last argument, but I don't know how to find the correct values. I am trying to use the following script, but change hme to le . echo "Setting hme interface 1: 100mb/full-duplex..." ... (2 Replies)
Discussion started by: bbrandeb49
2 Replies

9. UNIX for Dummies Questions & Answers

Does the programming language matters?

I see you guys encouraged people studied and used C while they were working on UNIX. Does C++ or JAVA matter? And in the past threads, Neo, PxT, and other members recommanded lots good books. I think those people who asked for the references, such as Dominic, had experiences on sys admin or... (8 Replies)
Discussion started by: HOUSCOUS
8 Replies
Login or Register to Ask a Question