^@ is mnemonic for a null. It's my opinion that this isn't significant in
your setup. You might want to add S2=255 to your modem init string if it's
not there already. Some (dodgy) modems do not honour the 0.5 second guard
time gap to the +++ escape sequence, thus anytime three plusses occur in
the outbound data stream the modem might flip into command mode and
shortly after disconnection occurs due to LCP timeouts. The S2=255 setting
usually disabled the escape sequence such that it will only go into
command mode when the carrier drops or the DTR signal is dropped.
It would also help if you turned on the PPP debug option, the level of
logging shown isn't enough for us to really see what's going on.
Another possibility is either an inactivity timeout or a firewall
rejecting possible heartbeat signals. Try turning on the LCP keepalive
(from memory) option. Or failing that... a simple script like so
#!/bin/sh
while [ 0 ]; do
ping -c 100 -w 1 -i 60 www.yourispdomain.com.au
done
That'll ping 100 times, wait up to a second for the response, do this
every 60 seconds then repeat indefinitely. Thus producing *some* traffic
defeating idle timeouts.
On Fri, 31 Oct 2003, Roger Salisbury wrote:
> Hi sluggers
>
> Someone may had the very same modem problem listed below.
>
> IE a "^@" sequence sent from the remote end. (ISP=bigpond)
>
> I am running RedHat 9 and having trouble with frequent unexpected disconnections
> with a bigpond dialup account.
> Have tried different dial up 56 external modems with the exactly same problem.
>
> The hint given belopw is for some reason always a "^@" sent from the remote end.
>
> I nearly always get cutoff within 15 minutes, although the longest is about 35
> minutes.
>
> Any help greatly appreciated
>
> Thanks
> Roger
>
>
>
>
>
>
> KPPP error message:
> ###########################################################
> Notice that the remote system has sent the following message:
> "^@"
> This may give you a hint why the the connection has failed.
> Check that you supplied the correct username and password!
> #############################################################
>
>
>
> Extra Info:
> ATI responses (won't mean much) & log
> #############################################################
> ATI : 33600
> ATI 3: V2.200-V34_ACF_DS1
> ATI 6: RCV336DPFSP Rev 44BC
> #####################################################################
> ct 29 00:11:26 localhost pppd[4701]: pppd 2.4.1 started by root, uid 0
> Oct 29 00:11:26 localhost pppd[4701]: Using interface ppp0
> Oct 29 00:11:26 localhost pppd[4701]: Connect: ppp0 <--> /dev/ttyS1
> Oct 29 00:11:27 localhost pppd[4701]: Remote message: ^@
> Oct 29 00:11:27 localhost pppd[4701]: local IP address 203.40.128.204
> Oct 29 00:11:27 localhost pppd[4701]: remote IP address 144.130.139.242
> Oct 29 00:11:27 localhost pppd[4701]: primary DNS address 203.49.70.92
> Oct 29 00:11:27 localhost pppd[4701]: secondary DNS address 139.134.2.190
> Oct 29 00:24:22 localhost pppd[4701]: Hangup (SIGHUP)
> Oct 29 00:24:22 localhost pppd[4701]: Modem hangup
> Oct 29 00:24:22 localhost pppd[4701]: Connection terminated.
> Oct 29 00:24:22 localhost pppd[4701]: Connect time 13.0 minutes.
> Oct 29 00:24:22 localhost pppd[4701]: Sent 45144 bytes, received 7870 bytes.
> Oct 29 00:24:22 localhost pppd[4701]: Exit.
> #####################################################################
>
>
--
---<GRiP>---
Electronic Hobbyist, Former Arcadia BBS nut, Occasional nudist,
Linux Guru, SLUG/AUUG/Linux Australia member, Sydney Flashmobber,
BMX rider, Walker, Raver & rave music lover, Big kid that refuses
grow up. I'd make a good family pet, take me home today!
Do people actually read these things?
--
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug