Sponsored Content
Full Discussion: SIGHUP received to pppd
Operating Systems Linux SIGHUP received to pppd Post 54195 by jaguar on Thursday 5th of August 2004 07:38:19 AM
Old 08-05-2004
hi

thanks for your response.

>> init string
do you mean Hayes commands?
i don't think it's about Hayes commands.
because I should have not even got it connected, if Hayes commands have been wrong.
i repeat, 50% of connection is very nice.
my /var/log/messages above shows that SIGHUP received to pppd, while connection is still there.
and i don't understand these messages in /var/log/messages
Code:
Aug  2 21:08:40 darkstar pppd[670]: No response to 4 echo-requests
Aug  2 21:08:40 darkstar pppd[670]: Serial link appears to be disconnected.

Thanks anyway

[edit]
another symptoms
just after connection created i normally do 'ping' somewhere.
1. if 'ping' works properly, connection will last very long and very pretty nice.
2. else, connection will be broken very very soon (not longer than 10 minutes).
So if i force my modem to keep connection up, it still can't ping anywhere.
[/edit]

Last edited by jaguar; 08-07-2004 at 10:39 AM..
 

6 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

how to make a current running process ignore SIGHUP signal?

I ask this question since sometimes i run a time-consuming ftp in foreground and forget to use nohup ftp.sh & to put this work background and can still running after i log off. Assume this ftp task have run 1 hour, and still 1 hour time to end, i don't want to abort the ftp, first, i use ctrl+Z... (3 Replies)
Discussion started by: stevensxiao
3 Replies

2. UNIX for Dummies Questions & Answers

pppd problem

Hello, I have Zydas 56k USB modem.... (it tells you lots of:) and the thing is I'd like to make it work with FreeBSD 5.2.1, however after all: /etc/ppp/options /etc/ppp/chat.script have been set up it gives an error like: tcgettatr: Invalid argument. (the modem is connected to ugen0) If you... (3 Replies)
Discussion started by: wopsis
3 Replies

3. Cybersecurity

pppd-pap problem

Hi Everybody, i need to make the ppp-authentication phase (pap) up in my linux -2.4 and the peer is Mandrake-linux-2.6. I am using pppd command for the same. I am using the below command. $pppd /dev/ppps locip:remip user (user_name) remotename(remote_name) papcrypt In... (1 Reply)
Discussion started by: sriram.ec
1 Replies

4. Programming

'SIGHUP','SIGTSTP' undeclared

I compile following statement signal(SIGHUP,sig_hup); kill(getpid(),SIGTSTP); $gcc test.c it raise following error: error:'SIGHUP' undeclared (first use in this function) error:'SIGTSTP' undeclared (first use in this function) Why raise above error? which head file include... (1 Reply)
Discussion started by: konvalo
1 Replies

5. Solaris

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... (2 Replies)
Discussion started by: neutronscott
2 Replies

6. AIX

SIGHUP killing Oracle Listener Process

I have a cold backup script which backs up my database and then restarts the oracle listener and database at around 01:30 I can see at this time that my database and listener are indeed running. However at around 02:17 my listener process receives a SIGHUP 1 signal from the AIX OS ( version 5.3 )... (2 Replies)
Discussion started by: jimthompson
2 Replies
PON(1)								    Debian PPPD 							    PON(1)

NAME
pon, poff, plog - starts up, shuts down or lists the log of PPP connections SYNOPSIS
pon [ isp-name [ options ] ] poff [ -r ] [ -d ] [ -c ] [ -a ] [ -h ] [ isp-name ] plog [ arguments ] DESCRIPTION
This manual page describes the pon, plog and poff scripts, which allow users to control PPP connections. pon pon, invoked without arguments, runs the /etc/ppp/ppp_on_boot file, if it exists and is executable. Otherwise, a PPP connection will be started using configuration from /etc/ppp/peers/provider. This is the default behaviour unless an isp-name argument is given. For instance, to use ISP configuration "myisp" run: pon myisp pon will then use the options file /etc/ppp/peers/myisp. You can pass additional pppd options after the ISP name, too. pon can be used to run multiple, simultaneous PPP connections. pon takes the following command line options: -q --quick disconnect when ip-up finishes running. This function is only available to the root user. poff poff closes a PPP connection. If more than one PPP connection exists, the one named in the argument to poff will be killed, e.g. poff myprovider2 will terminate the connection to myprovider2, and leave the PPP connections to e.g. "myprovider1" or "myprovider3" up and running. poff takes the following command line options: -r causes the connection to be redialed after it is dropped. -d toggles the state of pppd's debug option. -c causes pppd(8) to renegotiate compression. -a stops all running ppp connections. If the argument isp-name is given it will be ignored. -h displays help information. -v prints the version and exits. If no argument is given, poff will stop or signal pppd if and only if there is exactly one running. If more than one connection is active, it will exit with an error code of 1. plog plog shows you the last few lines of /var/log/ppp.log. If that file doesn't exist, it shows you the last few lines of your /var/log/syslog file, but excluding the lines not generated by pppd. This script makes use of the tail(1) command, so arguments that can be passed to tail(1) can also be passed to plog. Note: the plog script can only be used by root or another system administrator in group "adm", due to security reasons. Also, to have all pppd-generated information in one logfile, that plog can show, you need the following line in your /etc/syslog.conf file: local2.* -/var/log/ppp.log FILES
/etc/ppp/options PPPd system options file. /etc/ppp/pap-secrets System PAP passwords file. /etc/ppp/chap-secrets System CHAP passwords file. /etc/ppp/peers/ Directory holding the peer options files. The default file is called provider. /etc/chatscripts/provider The chat script invoked from the default /etc/ppp/peers/provider. /var/log/ppp.log The default PPP log file. AUTHORS
The p-commands were written by Christoph Lameter <clameter@debian.org>. Updated and revised by Philip Hands <phil@hands.com>. This manual was written by Othmar Pasteka <othmar@tron.at>. Modified by Rob Levin <lilo@openprojects.net>, with some extensions taken from the old p-commands manual written by John Hasler <jhasler@debian.org>. SEE ALSO
pppd(8), chat(8), tail(1). Debian Project July 2000 PON(1)
All times are GMT -4. The time now is 02:33 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy