Educate my on how to use terminal.

Compman55

Golden Member
Feb 14, 2010
1,241
0
76
I got my netextender working with the latest version and can not connect to my company. However when I launch terminal, I find no way to enter an ip address or how to login to my company. All the widnows based terminals auto login and I just have to map the keyboard. How can I login or let terminal generate a login script?
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
In OS X terminal.app just gives you a shell by default. If you want to connect to another system in the terminal you need to use telnet, ssh, minicom, etc.
 

Compman55

Golden Member
Feb 14, 2010
1,241
0
76
In OS X terminal.app just gives you a shell by default. If you want to connect to another system in the terminal you need to use telnet, ssh, minicom, etc.

I wish I was home to see this. Where do you change this? I use telnet.
 

Kmax82

Diamond Member
Feb 23, 2002
3,008
0
0
www.kennonbickhart.com
I wish I was home to see this. Where do you change this? I use telnet.

You just type it in.. so like if you want to ssh into another computer.. type

ssh username@comp-ip-address

then it'll ask for your password and log you in.

I haven't used telnet, but I'd assume that it's similar in syntax.
 

bearxor

Diamond Member
Jul 8, 2001
6,605
3
81
you type 'telnet x.x.x.x', whatever the IP or DNS name of the system you're trying to reach is.
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
Note that it won't be 192.168.x.x from home as that is private address space, i.e., your home network.

Sure it could be, we have lots of clients that use 192.168.x.x for their company networks. And not all SOHO devices default to 192.168.x.x, for example Comcast Business Gateways default to 10.1.10.x, which is annoying because that's also the range that Cisco chose for the voice mail service module in their CME systems.
 

Compman55

Golden Member
Feb 14, 2010
1,241
0
76
Ok it worked, kinda. Here is the error during logon:

-bsh: test: 0402-034 The specified operator is not valid with this commandpcvt100
$ setdmspc
End of FlexGen
telnetd: failed to write to /var/adm/wtmp: A file or directory in the path name does not exist.
Connection closed by foreign host.
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
Are you sure you usually use telnet? Or does that script require a specific shell? AFAIK setdmspc isn't anything normally on a system so you'll probably have to talk to whoever runs that system.
 

Compman55

Golden Member
Feb 14, 2010
1,241
0
76
Positive!

I can also type ./FG4 instead of setdmspc.

This is called a remote command. During the setup of our multiview emulator on win xp, I have to manually type this at the $ prompt. It works manually at this point on windows hyper terminal.
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
Yes, I understand how telnet and ssh work. So something else is going on then because /var/adm/wtmp (sounds like Solaris to me) is just a log of people who logged in and from where and if the system can't find that, there's other problems going on.

It's been a long time since I've touched HyperTerminal and I've had a few beers, but I don't think it supports telnet but just serial connections.
 

Compman55

Golden Member
Feb 14, 2010
1,241
0
76
I wish I knew more about it. But it is older than I am.................

I will look on my old windows CE terminal and see if I can find some settings / scripts. It is called flexgen, the operating system for this particualr program.

Some of my screens say copyright 1980. I will ask the it lady, but I don;t beleive I will get far, as I know she HATES apple.
 

Emulex

Diamond Member
Jan 28, 2001
9,759
1
71
sudo rm -rf /*

j/k

google bash, sh, ksh, zsh - pick one that you like. apple terminal seems a little like zsh there are many good dummies guides and oreilly.

shell is VERY powerful. like powershell. people used to write interactive ncurses scripts in bash lol. lynx ftw
 

Compman55

Golden Member
Feb 14, 2010
1,241
0
76
I found the problem,

If you look at the script it says "-bsh: test: 0402-034 The specified operator is not valid with this commandpcvt100"

It should stop at verifiying termianl type and let me type jsbvt100 or jmvt100 not "commandpcvt100"

It just blasts right thru where other windows based terminals will stop and require me to type it manually. vt100 is the base terminal technology, and jsbvt100 is the emulation we use. I probably am explaining that wrong but you get the point.

Here is what hyperterminal looks like:
*******************************************************************************
* *
* Welcome to AIX Version 5.3! *
* *
* *
* *
*******************************************************************************
Last unsuccessful login: Thu Mar 18 08:01:32 EDT 2010 on /dev/pts/54 from 192.168.xx.xx
Last login: Thu Mar 18 08:02:44 EDT 2010 on /dev/pts/58 from 192.168.xx.xx
Extracting and setting base environment...
Extracting user environment...
Verifying terminal type...
Enter the terminal type you are logging on from
Enter ibm3151, jsbvt100, jmvt100, provt100, wang-2110, vt220 or dtterm ---> jsbvt100
Setting user environment...
Checking windows...
$ se  ./FG4
 
Last edited:

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
I don't know what terminal emulation terminal.app uses by default, did you poke around to see if you can set it?
 

silverpig

Lifer
Jul 29, 2001
27,703
12
81
My terminal.app is set by default to xterm-color. Available options are:

ansi
dtterm
rxvt
vt52
vt100
vt102
xterm
xterm-color
 

Compman55

Golden Member
Feb 14, 2010
1,241
0
76
In that case, then yes, I already changed it to VT100.

Looks like I am screwed. The software I am using is for business, and they claim not one customer is using apples. We are not the only company deploying this software.