I have a question about pppd.
I got a Slack box with kernel 2.4.20.
I'm learning how to connect my CONSOLE to internet with a chat script.
Following these steps, MANY times I can connect to internet very pretty nice.
But also MANY times (says 50%-50%) SIGHUP received to pppd unintentionally.
These are my configurations:-
1. I attached a serial modem to /dev/ttyS0 and created a link ``/dev/modem''
2. I compiled kernel to support PPP.
3. I edit /etc/ppp/pap-secrets, and created a link from chap-secrets to the pap one.
4. I created a dial script as following.
5. I edit /etc/resolv.conf
Then I make a dial call.
As said 50% good, but 50% SIGHUP received to pppd.
And my /var/log/messages is
Could anyone please point me out?
Thanks in advance
P.S. This internet account work very well with MS Windows, so I think the problem should be in my configuration.
Check your modem vendor to see if there's any init string that you should use to keep the connection up. You can also search on your windows connection configuration to some init string.
>> 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
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]
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)
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)
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)
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)
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)
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)