Tru64 Tu(x) incrementing with DE500 move


 
Thread Tools Search this Thread
Operating Systems HP-UX Tru64 Tu(x) incrementing with DE500 move
# 1  
Old 04-08-2013
Tru64 Tu(x) incrementing with DE500 move

Hello all,

I am new around here with this being my first post. I am not sure if this group also discusses Tru64 but since I did not see a Tru64 section I will ask here. Let me know if I am posting in the wrong area. Smilie Here is my issue, well one of them anyway. Smilie

I have an AlphaServer 1200 running Tru64 5.1B non-commercial. After the initial install of the OS the sole NIC, a DE500-21143-PC installed as Tu0 as expected. After the install and network configuration I needed to install a different video card that required I relocate the DE500 to a different PCI slot. Upon restart the network services were not running and I found Tu0 had incremented to Tu1. To confirm this behavior I moved the card back to its original PCI slot and restarted. Tu1 has now become Tu2. Tu0 and Tu1 are not recognized by Tru64 and are reported as unavailable, as they should be since there is no physical interface, but I cannot figure out how I can force the DE500 Tu2 back to being Tu0 or Tu1. I have looked at all the SRM environment variables as well as all network related config files. I cannot find where ewa0 get mapped to Tu(x). SRM has not incremented the DE500 which remains ewa0 regardless of slot position. Has anyone seen this behavior? Thanks.
# 2  
Old 04-08-2013
Look at the network_manual_setup manpage(7). I believe you will have to change some variables in /etc/rc.config.
# 3  
Old 04-08-2013
Quote:
Originally Posted by fpmurphy
Look at the network_manual_setup manpage(7). I believe you will have to change some variables in /etc/rc.config.
Yes, That was the first place I looked and what I found were new values in rc.config for the new interface. I deleted the additions that refered to the new 'tu' and reverted to config back to a tu0 setup, with not impact on the interface.

NETDEV_0="tu0"
IFCONFIG_0="192.168.0.16 netmask 255.255.255.0"
NUM_NETCONFIG="1"

NETDEV_1="tu1" << deleted
IFCONFIG_1="" << deleted
NUM_NETCONFIG="2" << changed back to 1

I also replaced the empty NETDEV_1= and IFCONFIG_1= lines at the top of the rc.config file. This had no impact on the system. tu1 and later tu2 were still the only NICs detected and configurable. I believe the NETDEV_0="tu0" is ignored because there isn't a tu0 interface available when the tu gets incremented.

Last edited by unimorpheus; 04-08-2013 at 02:12 PM..
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Help with incrementing the date

I have a date variable like 2012-12-31 ( YYYY -MM -DD ) in flat file and it has to be incremtented by 1 every time i run the script Example : i tried the below script after data modifcation but this does not seem to work expr `20121231 +%Y%m%d` + 1 Note : Mine is not a GNU... (4 Replies)
Discussion started by: akshay01987
4 Replies

2. Shell Programming and Scripting

Incrementing number in bash

I have the following code and getting the error ./raytrac.bash: line 231: ((: 0++: syntax error: operand expected (error token is "+") iarg = 0 iarg=0 narg=$# # Number of arguments passed. echo "narg = $narg" argsArr=("$@") # Set... (1 Reply)
Discussion started by: kristinu
1 Replies

3. UNIX for Dummies Questions & Answers

Incrementing variable in for

Hi, want to increment a variable in a for loop like this: for (( c=$total-1; c>=0; c-- )) do if ; then maximo=$valores fi done But it gives the error: No such file or directory How can i do this only incrementing the c variable? Thanks (8 Replies)
Discussion started by: limadario
8 Replies

4. Shell Programming and Scripting

Incrementing with a twist - please help

I'm currently trying to write a ksh or csh script that would change the name of a file found in directories and attach to the name an incrementing three digit number. I know how to write a script that will go: 000, 001, 002, 003, etc The twist is I need more increments then allowed by a 3... (11 Replies)
Discussion started by: Rust
11 Replies

5. Programming

incrementing variables in C++

Hello, what is the result of the below, and how does it work? int i = 5; cout << i++ * ++i << endl; cout << i << endl; (12 Replies)
Discussion started by: milhan
12 Replies

6. Shell Programming and Scripting

Incrementing in while loop

echo "Enter Starting id:" echo "" read rvst_strt_idxx echo "" echo "Enter Closing id:" echo "" read rvst_clsn_idxx FIELD1=$rvst_strt_idxx FIELD2="USER" FIELD3="TEST" FIELD4="12345" FIELD5="00000" echo "" echo "INSERT INTO TABLE( FIELD1, FIELD2, FIELD3, FIELD4, ... (7 Replies)
Discussion started by: ultimatix
7 Replies

7. Programming

Interesting Problem About Incrementing ++

Here is my code: int startingPort = 200; string tempPort; stringstream out; out<<startingPort; tempPort = out.str(); //tempPort carries startingPort in string format //convert tempPort to *char - currentPort going to be passed into getaddrinfo() char currentPort;... (10 Replies)
Discussion started by: f.ben.isaac
10 Replies

8. Post Here to Contact Site Administrators and Moderators

No. post not incrementing

Hi Admin, i just noticed that when I do postings, the number does not increment. eg : Post A -Total Posts 312 Post B - Total Posts 312 Post C - Total Posts 313 Post D - Total Posts 313 Why is this so? Can you kindly check this out? Thank you. (5 Replies)
Discussion started by: incredible
5 Replies

9. Shell Programming and Scripting

Port incrementing using one file

Hi I wrote this script with the help of you guyz.My next challenge is to increment the port using single file.So far iam using this code to increment hp1 and hp2 .To increment port numbers, iam using two different files (.default_port_hp1 and .default_port_hp2).The challenge for me is to use... (0 Replies)
Discussion started by: coolkid
0 Replies

10. Shell Programming and Scripting

incrementing a for loop

I have, LIST="a b c d e" for word in $LIST do echo $word done would give me a b c d e With the first iteration of the for loop, I get "a" as the result. Is it possible that I get both "a" and "b" in only the first iteration. In the next iteration I get "c" and "d" and so on.... (2 Replies)
Discussion started by: run_time_error
2 Replies
Login or Register to Ask a Question