Sponsored Content
Operating Systems Solaris PPPD on ttya with serial console...? Post 302530303 by neutronscott on Tuesday 14th of June 2011 09:29:10 AM
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
 

9 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

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. 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

7. 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

8. 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

9. 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
PPPCONFIG(8)						      System Manager's Manual						      PPPCONFIG(8)

NAME
pppconfig - configure pppd to connect to the Internet SYNOPSIS
pppconfig [--version] | [--help] | [[--dialog] | [--whiptail] | [--gdialog] [--noname] | [providername]] DESCRIPTION
pppconfig is a dialog based interactive, menu driven utility to help automate setting up a dial out ppp connection. It provides extensive explanations at each step. pppconfig supports PAP, CHAP, and chat methods of authentication. It uses the standard ppp configuration files and sets ppp up so that the standard pon and poff commands can be used to control ppp. Some features supported by pppconfig are: - Multiple ISP's with separate nameservers. - Modem detection. - Dynamic DNS. - Dial on demand. - Allow non-root users to run ppp. - Uses the gdialog GUI dialog replacement if possible. Before running pppconfig you should know what sort of authentication your isp requires, the username and password that they want you to use, and the phone number. If they require you to use chat authentication, you will also need to know the login and password prompts and any other prompts and responses required for login. If you can't get this information from your isp you could try dialing in with minicom and working through the procedure until you get the garbage that indicates that ppp has started on the other end. pppconfig allows you to configure connections to multiple providers. For example, you might call your isp 'provider', your employer 'the- office' and your university 'theschool'. Then you can connect to your isp with 'pon', your office with 'pon theoffice', and your univer- sity with 'pon theschool'. It can determine which serial port your modem is on, but the serial port must already be configured. This is normally done when installing Linux. It can help you set your nameservers, or, if your ISP uses 'dynamic DNS', it can set up ppp to use that. It can configure ppp for demand dialing, so that your ppp connection will come up automatically. It will not, however, start pppd for you. You must still start pppd yourself ('pon' will do it). Pppd will then wait in the background for you to attempt to access the Net and bring up the link. If you select "Static" in the "Configure Nameservers" screen pppconfig will create a file in the /etc/ppp/resolv directory named after the provider you are configuring and containing "nameserver" lines for each of the IP numbers you gave. This file will be substituted for /etc/resolv.conf when the connection comes up. The provider name is passed in the ipparam variable so that 0dns-up knows which file to use. The original resolv.conf will be put back when the connection goes down. You can edit this file if you wish and add such things as "search" or "domain" directives or additional nameservers. Be sure and read the resolv.conf man page first, though. The "search" and "domain" directives probably do not do what you think they do. If you select "dynamic" in the "Configure Nameservers" screen pppconfig will configure pppd for 'dynamic DNS' and create a file in the /etc/ppp/resolv directory named after the provider you are configuring but containing nothing. When the connection comes up the name- servers supplied by your ISP will be added and the file substituted for /etc/resolv.conf. You can edit this file if you wish and add such things as "search" or "domain" directives or additional nameservers. If you select "None" in the "Configure Nameservers" screen pppconfig will create no file in /etc/ppp/resolv and will leave /etc/resolv.conf alone. ipparam is not set to the provider name and so is free for the administrator to use. FILES
/etc/ppp/peers/provider is the standard pppd options file for the default service provider. /etc/ppp/peers/<name> is the pppd options file for the provider that you have named <name>. /etc/ppp/peers/provider.bak is a backup copy of /etc/ppp/peers/provider. /etc/chatscripts/provider is the standard chat script for the default service provider. /etc/chatscripts/<name> is the chat script for the provider that you have named <name>. /etc/chatscripts/provider.bak is a backup copy of /etc/chatscripts/provider. /etc/ppp/resolv is a directory where resolv.conf files for each provider are stored. /etc/ppp/ip-up.d/0dns-up is a script that arranges for the correct resolv.conf file to be copied into place when a connection comes up. /etc/ppp/ip-down.d/0dns-down is a script that arranges for the original resolv.conf file to be copied into place when a connection goes down. /etc/init.d/dns-clean is a script that runs 0dns-down at bootup to clean up any mess left by a crash. /var/run/pppconfig is a directory where temporary files created by 0dns-up are stored. /var/run/pppconfig/resolv.conf.bak.<provider> is a backup copy of the original resolv.conf file. 0dns-down restores /etc/resolv.conf from it. /var/run/pppconfig/0dns.<provider> is a backup copy of the resolv.conf file for <provider>. 0dns-down uses it to determine if /etc/resolv.conf has been overwritten by another process. /etc/ppp/pap-secrets and /etc/ppp/chap-secrets are described in the pppd documentation. pppconfig may add lines to these files and will change lines that it previously added. NOTES
pppconfig requires pppd 2.3.7 or higher. TO DO
Add full support for MSCHAP. BUGS
Don't tell pppconfig to find your modem while pppd is running. SEE ALSO
chat(8), gpppon(1), plog(1), poff(1), pon(1), pppd(8), and whiptail(1). AUTHOR
pppconfig was written by John Hasler <jhasler@debian.org>. COPYRIGHT
This man page may be treated as if it were in the public domain. I waive all rights. Debian GNU/Linux Version 2.3.16 PPPCONFIG(8)
All times are GMT -4. The time now is 01:19 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy