PPPD on ttya with serial console...?


 
Thread Tools Search this Thread
Operating Systems Solaris PPPD on ttya with serial console...?
# 1  
Old 06-13-2011
PPPD on ttya with serial console...?

Hi. I am very very new to Solaris. I found an abandoned Sun Blade 150. I created a 3-wire null modem cable, connected it to an abandoned laptop and successfully installed Solaris 10 using the serial port. This laptop doesn't have ethernet. So I want to establish a PPP connection.

Part of the problem is Windows 2000 as the client I'm sure, but I tried a simple test along the lines of:

pppd /dev/ttya 9600 192.168.1.2:192.168.1.3 local nocrtscts noauth connect "chat 'CLIENT CLIENTSERVER\c'"

Promptly after issuing the command a shell prompt "#" is shown again, but 'chat' seems to have control. After starting Windows 2000's "Direct Connection" (and it fails), returning to the terminal eventually shows "LENLETCINLE: not found" such that probably it is sending "CLIENT" a few times and it eventually gets there to the shell after chat times out..

I think the issue is that /dev/console is also on the serial port.. It's currently the only way I can access the machine so I don't really want to replace it. Also, it's a 3-wire serial cable, but at 9600 baud I don't think flow control would be the issue. We're low on pins and I didn't want to waste them for my games. heh. I have changed the modem settings on the Windows 2000 client to 9600 no flow as well.

Any pointers on how to proceed? Smilie
# 2  
Old 06-13-2011
hm, I had very similar problem trying to get Amiga online through Windows. this helped me: Connecting a Palm Vx to Windows XP with PPP.
don't you have any other serial port available?
edit: perhaps you could make a script that runs that ppp connection and set it to run in future. then disconnect terminal and wait for script. and when its connected use ssh?

Last edited by orange47; 06-13-2011 at 02:07 PM..
This User Gave Thanks to orange47 For This Post:
# 3  
Old 06-14-2011
Quote:
Originally Posted by orange47
hm, I had very similar problem trying to get Amiga online through Windows.
don't you have any other serial port available?
I think I recall using this for an Apple Classic II. Smilie

I suppose since neither machine is networked, using Windows as the server is just as good. The other part changes the CLIENT CLIENTSERVER strings to normal ppp strings, though that should be taken care of with 'chat'.

I may give it a go anyway. I will probably just bring in my personal netbook tomorrow (to connect via ethernet).

I see no other serial port available.

Thanks.

---------- Post updated at 03:35 PM ---------- Previous update was at 01:13 PM ----------

Having more success. I misused single quotes in my chat script, and pppd wasn't reading ttya because it was already open. Using something like,

exec pppd file test.ppp

fixes most things but the terminal seems to be put back in cooked mode since I must hit enter after 'CLIENT' to get the 'CLIENTSERVER' response..

Almost...

---------- Post updated 06-14-11 at 09:29 AM ---------- Previous update was 06-13-11 at 03:35 PM ----------

I made link over ttya without messing with any services basically just logged in as root on serial console and type

exec pppd /dev/ttya 9600 192.168.1.2:192.168.1.3 nocrtscts local connect "sleep 20; echo CLIENTSERVER"

That was good enough. Maybe someone else crazy as me will be helped with this. Helps to have a couple ssh sessions verus a single serial console. Now to actually learn this stuff! Smilie
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

$ Prompt on Serial console is not responding.

Hi Experts. i have been stuck up with an issue. i have connected my Solaris 8 , Sun fire V445 on serial port by using Teraterm. Initially i was able to login and executed some tasks. After executing some commands (mainly Control +c), i am not able to type any key or not able to do anything at... (2 Replies)
Discussion started by: siddulamadhu
2 Replies

2. Solaris

$ Prompt on Serial console is not responding.

Hi Experts. i have been stuck up with an issue. i have connected my Solaris 8 , Sun fire V445 on serial port by using Teraterm. Initially i was able to login and executed some tasks. After executing some commands (mainly Control +c), i am not able to type any key or not able to do anything at... (2 Replies)
Discussion started by: siddulamadhu
2 Replies

3. Solaris

How to setup a serial console?

i am running solaris 10 in my vmware workstation. How to setup a console for my solaris box. in Vmware i could see a serial port option. can some one help me on how i can setup a console . (0 Replies)
Discussion started by: chidori
0 Replies

4. Solaris

V890 serial console inaccessible

I am battling to get a V890 up and running. The system appears to have AUTOBOOT=false, so no OS comes up when it's powered on, and I do not have the credentials to get to the RSC management console. Output to ttya serial console ends at "Probing I/O buses", I assume because output is then being... (4 Replies)
Discussion started by: dstmark
4 Replies

5. UNIX for Dummies Questions & Answers

IP Console Vs Serial console.

Hi Gurus, Can some one explain me the difference between a IP console and a serial console. (1 Reply)
Discussion started by: rama krishna
1 Replies

6. OS X (Apple)

Use a Serial Console with Mac OS X Leopard

I'm trying to use an old Commodore 128D as a terminal to access OS X's shell via a serial port. I've used 'screen' and 'zterm' to ensure the two machines are successfully interfaced. Instructions for opening up the serial console on other Unix-y operating systems don't work with OS X Leopard. ... (3 Replies)
Discussion started by: joecassara
3 Replies

7. Solaris

Ultra 5 serial console problem

Hi I have a stupid problem with ultra 5 console connection. I can't connect to serial port with my laptop. I made these configurations from ok prompt: OK setenv input-device ttya OK setenv output-device ttya OK setenv auto-boot? false I tried to connect to machine with cisco rollover... (5 Replies)
Discussion started by: noizer`
5 Replies

8. HP-UX

serial console hangs

I have a HP Visualize C200 running hpux that I am trying to boot into using a null modem through com1 from my Sun Ultra 10. I get all the way to the login prompt and then it becomes innactive and wont let me access the machine anymore. Any ideas? (2 Replies)
Discussion started by: trajek
2 Replies

9. AIX

Installing via serial console

I'm stuck - when I boot the machine and hit 5 on the keyboard, all I get is an SP login. Can someone give me some tips on how to get to the install via the serial port? (2 Replies)
Discussion started by: tb0ne
2 Replies
Login or Register to Ask a Question