help.. I am in way over my head !!!!

Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers help.. I am in way over my head !!!!
# 1  
Old 04-24-2002
help.. I am in way over my head !!!!

my boss has done it again
I have been sent to fix a unix issue
and I ma hoping you can help
three issues
1st. I have a printer that when you try to print to it the print job comes out on a diffrent printer. If I take the printer ( dot matrix thourgh a serail connection) to a diffrent local the print job does not come out anywhere. if I put a good printer in the bad printers spot nothing happens either. we now have a new printer with a new serail interface card and a blank adpater for me to pin out if I can figure out the pinout needed from a diffrent printer to convert the serail to an rj45 plug.
2nd. I have a termianl that will not connect to the server (wyse 50) The client has purchased a new terminal but we have not installed any of the new equipment yet. the term lights up and you can interact with its interface but not the network
3rd. the client told me that the last tech had done something in the server itself to slow down some connections and speed up others unfortunatly the ones he slowed down are now the ones they needed sped up. and I have NO idea how to do this
I am not sure what version of unix this is I think it is ver. 8 if that sounds right it is about 2 years old.
any help would put me forever in your debt. (if your ever in the Atlantic city area I'd buy you lunch =:-) )
# 2  
Old 04-25-2002
ok update in order
the version is SCO rev. 5
I managed to muddle trough it I think
the issues are more software specific than
OS specific. but
how do I dump a directory list to a priticular printer
in dos I know it would be
what would be the unix equavelent?
# 3  
Old 04-26-2002
Think I might be able to help you out with issue 3, the slowing down of the network.

Firstly if you can do this, unplug the connection and plug it back in. Then it'll tell you what connection type it is connected at. 10/100mb's etc.

Just say you want to force the port 'qfe1' 'qfe2' to 100MHz Full Duplex. Add the following near the end of the '/etc/rc2.d/S72inetsvc' after the '&' it's near '/usr/sbin/route add default 1'' (Well that's what is in my file)

ndd -set /dev/qfe instance 0
ndd -set /dev/qfe adv_autoneg_cap 0
ndd -set /dev/qfe adv_100fdx_cap 1
ndd -set /dev/qfe instance 1
ndd -set /dev/qfe adv_autoneg_cap 0
ndd -set /dev/qfe adv_100fdx_cap 0

That will change the 2 ports qfe 0 & 1 to 100 Full Duplex. After the '_cap' the 0 or teh 1 you can change them around that will slow the network down or speed it up depending what way you change it. All this is done from a console window. the 'qfe' is a example, if you have 'hme' or 'le' or whatever change it to that for it to work.

If you have more ports just add another instance, you can take it to as many instances you want, providing you have the ports there. Say you have 8 ports (2 quad fast cards) you can force them all to whatever.

The only thing that changes is the port names. I.E;
ndd -set /dev/qfe
ndd -set /dev/hme
ndd -set /dev/le
etc etc

Well that's how I change the port speed. It man seem hard or maybe it is teh hard way of doing it but that's my way of doing it. Worked everytime for me when done correctly.
# 4  
Old 04-26-2002

Here is a way to get the directory list.

find . -type d -print

This will print from the current directory "." You can put a / in place of the . to start from root /.

Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Help using head cmd, print 20 then the next 20 etc

Hi all, I have a list of text, single column and I want to print the first 20, then the second 20 and so on. I was pointed to xarg to help with this, but can't get my head around how to use it. Would be great if it would put them into separate files with a certain name. Any suggestions... (2 Replies)
Discussion started by: onfirealot
2 Replies

2. Homework & Coursework Questions

Head Tail Problem

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: view the 7th line of the program 2. Relevant commands, code, scripts, algorithms: head command tail... (10 Replies)
Discussion started by: hbell221
10 Replies

3. UNIX for Dummies Questions & Answers

find and head -1

i have lots of files in /law/prod and /law/dev, such as AP20PD, AP20WS, AP20.scr, AP20.rpt if i am in /law DIR find . -name AP20PD, found in /law/prod and /law/dev i want to head -1 AP20PD from both location and >> /tmp/test.log can i use find and head in one line ? ----------... (1 Reply)
Discussion started by: tjmannonline
1 Replies

4. Shell Programming and Scripting

head command with more than one file

Hi, I have the following problem. I have files with one column of data (let's say file1.dat, file2.dat...file6.dat), and I would like to record the first value of the column of each file into another file (let's name it fileall.dat), which would have the the six values, one in each column. I use to... (4 Replies)
Discussion started by: josegr
4 Replies

5. Shell Programming and Scripting

head followed by variable??

I know that the common use of head is for example head -3 etc.Is there any possibility that,if i have a variable that equals to an integer(i=5),i can write head -i?? If not,what syntax or commands should i write down in order to have the same result? //maybe something lik head -"$variable" ? (2 Replies)
Discussion started by: bashuser2
2 Replies

6. UNIX for Dummies Questions & Answers

alternative for head command

Hi friends,I am new to unix and this is really a dummy question.but please help me out. How to simulate head command without using head command??? also tail command too,also more command. it is given as a homework to do....please tell me how to do (2 Replies)
Discussion started by: nikhilneela
2 Replies

7. Shell Programming and Scripting

Search HEAD of CVS

Im looking for a 'relatively' easy way to search through cvs to look for a particular string in the HEAD revisions. I realize the way CVS stores versions makes this difficult. But I'm trying to come up with some script to allow this search (performance is not expected here). Currently this... (0 Replies)
Discussion started by: bobtheowl2
0 Replies

8. Shell Programming and Scripting

head usage

$ct=1 head -n $ct file. When i used like this, i got an error , Bad usage of head Cant we use variables in place of number in HEAD. In my requirement for every iteration i should increase the number in Head and tail the last one. HOw can i achieve this (5 Replies)
Discussion started by: vasuarjula
5 Replies

9. Shell Programming and Scripting

head command

Hi All, How can the head command be used to extract only a particular line. By default head -n filename displays the first n lines. I want only the nth line. I couldn't get it from forum search. Thanks, Sumesh (6 Replies)
Discussion started by: sumesh.abraham
6 Replies
Login or Register to Ask a Question