Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Well,
I don't know what are you trying to. Lets start by the first things first.
You have to connect your machines with a null modem cable. Basically, you need three wires in this cable: logical ground connecting both pins 7 of db25, pin 2 of one side connecting pin 3 of the other side and pin 3 of one side connecting pin 2 of the other side. All this description is for 25 pin connector. You may google with "null modem" between quotes. After having a cable be sure you have the you Sun port enabled for login and use minicom on the linux side to configure the port and open a session in the Sun. When you get this, you know that all the physical configuration is ok.
After this, I need to know if you want to just open a session in linux from the Sun, or want to establish a network connection. All this is possible, depending on the system software you have on the Sun machine.
I attached a DB25->RJ45 adapter to the Sun machine and a DB9->RJ45 adapter to one of the COM ports on the Linux box. Finally, I connected the two machine with a RJ45 cable.
I tried minicom, but I wasn't able to get it to connect.
I installed kermit, but it still doesn't connect:
(/root/) C-Kermit>set line /dev/ttyS5
(/root/) C-Kermit>set speed 9600
/dev/ttyS5, 9600 bps
(/root/) C-Kermit>set parity none
(/root/) C-Kermit>set stop-bits 1
(/root/) C-Kermit>set carrier-watch off
(/root/) C-Kermit>connect
Connecting to /dev/ttyS5, speed 9600
Escape character: Ctrl-\ (ASCII 28, FS): enabled
Type the escape character followed by C to get back,
or followed by ? to see other options.
----------------------------------------------------
nothing happens after this - the connection is never established...
Is there something I'm missing? or is it some hardware/driver issue?
It's your physical connection. Both the machines may have transmit connected to th transmit of the other and receive connected to receive of the other. Look for "null cable".
I am using null-modem cable. I tried with a standard cable and a null-modem cable, but neither worked. I also tried to connect to another device I have w/o success (I know I was able to connect to it using Windows' hyper terminal before). Any ideas?
I would appreciate any suggestion, advice, ideas...
That link is for setting up a PPP connection between a Windows box and a Linux box. I want to set-up a ASCII terminal and bring up the Sun machine's console.
I tried Windows' hyper terminal and it worked w/o any problems...?!? Perhaps I need to set some parameter in Kermit which Windows sets automatically...? In windows I just set the baud rate, parity, data bits and stop-bits, and pressed 'ok'...
Maybe it's a driver issue in Linux even though 'setserial -a' produce a nice output...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.