Supra & Linux & PPP Server

Supra & Linux & PPP Server

Post by Houman Ghahremanl » Thu, 19 Dec 1996 04:00:00



Hi,

I tested this this morning... I used a modem to connect to the ppp server
using minicom. I am using uugetty in the PPP server and the files
conf.uugetty.ttySx are set right.

when I enter the username, password right, I could log in.
When I log out, I get disconnected, but the modem of the ppp server
does not reset!, same for if I put a wrong username, I get disconnected
and the modem is not reset and needs a manul power off.

Is this a Supra thing ? In the serial faq they say to use &C0 switch and
not &C1 which is documented everywhere for PPP/modem setup. Does anybody
use a PPP server on a Supra Express (Fax/Modem) that I could get the
init strings from ?

How could I issue an AT&F1 after the modem kicks the user out ?
since the modems are locked by uugetty, the echo <atcommand> > /dev/ttySx
would not work.

thanks,

Houman

P.S below is my conf.file

:
# /etc/conf.uugetty.ttyS1
#
SYSTEM=proton
VERSION=`/bin/uname -s -r`
LOGIN=/bin/login
ISSUE=/etc/issue
INITLINE=cua0
TIMEOUT=60
HANGUP=YES
INIT="" \d+++\dAT\r OK\r\n ATH0\r OK\r\n AT\sZ\r OK\r\n
# waitfor string... if this sequence of characters is received over the line,
# a call is detected.
WAITFOR=RING
# this line is the connect chat sequence.  This chat sequence is performed
# after the WAITFOR string is found.  The \A character automatically sets
# the baudrate to the characters that are found, so if you get the message
# CONNECT 2400, the baud rate is set to 2400 baud.
#
# format: <expect> <send> ... (chat sequence)
CONNECT="" ATA\r CONNECT\s
DELAY=2
#DEBUG=010              # uncomment this for debug output
#
# END /etc/conf.uugetty.ttyS1

 
 
 

Supra & Linux & PPP Server

Post by Rob Crittend » Thu, 19 Dec 1996 04:00:00




Quote:>I tested this this morning... I used a modem to connect to the ppp server
>using minicom. I am using uugetty in the PPP server and the files
>conf.uugetty.ttySx are set right.

>when I enter the username, password right, I could log in.
>When I log out, I get disconnected, but the modem of the ppp server
>does not reset!, same for if I put a wrong username, I get disconnected
>and the modem is not reset and needs a manul power off.

I had the same problem with a Supra 28.8 (not the express).  The transmit
and receive lights would go nuts!

I never did find a very good solution, but I did determine that if you
hang up (versus logging out) then the modem connection reset just fine
(usually).  So for PPP connections they work ok, they flake out only every
10 or so calls rather than every call.

rob
--
Rob Crittenden  Hughes STX                
NASA Goddard Space Flight Center


 
 
 

1. ppp && PPPoE && ADSL && net && buffer(s)

Hello!
i have a freebsd box (4.8-RELEASE) and a italian ADSL (256/128 if i remember good) line.
sometimes my freebsd box (that i use as firewall in my little lan) became stalled.
no data arrive and with ping IP i get error about some buffers full.
in ppp.log i see a lot of:
Jun 24 22:45:39 firewall ppp[66]: tun0: Phase: Clearing choked output queue

i search with google on newsgroups but i don't find nothing that work :)

i put some info on the configuration, because i read a lot of question about this parameters :)

kernel config:
maxusers        64
options         NMBCLUSTERS=32768       #expand nic buffer

in ppp.conf:
add default HISADDR

netstat -m:
1/400/131072 mbufs in use (current/peak/max):
        1 mbufs allocated to data
0/182/32768 mbuf clusters in use (current/peak/max)
464 Kbytes allocated to network (0% of mb_map in use)
0 requests for memory denied
0 requests for memory delayed
0 calls to protocol drain routines

netstat -t:
Internet:
Destination        Gateway            Flags    Refs      Use  Netif Expire
default            192.168.100.1      UGSc       15  8181837   tun0
localhost          localhost          UH         11   116358    lo0
192.168.0          link#1             UC          3        0    rl0
firewall           00:10:a7:06:7b:50  UHLW        3    31603    lo0
stefano            00:06:4f:01:08:86  UHLW       12 15328918    rl0    900
192.168.0.255      ff:ff:ff:ff:ff:ff  UHLWb       0     2635    rl0
192.168.100.1      hostXXX-172.pool62 UH         19        0   tun0

i hope that someone can help me :)

Regards,
        Stefano

--
Stefano Balocco
RIPE handle:    6BONE-SB27
Keyserver:      http://keyserver.linux.it ID:     8EF05AB2
Fingerprint:    DF65 A9E5 E307 D647 9E41 1CD1 9265 BF7D 8EF0 5AB2

2. helpfull website

3. &&&&----Looking for a unix shell------&&&&&

4. Tricking Ximian into installing on YDL 2.0

5. &#27809;&#26377;&#20154;&#29992;&#20013;&#25991;&#21527;&#65311;

6. WinLinux, not seeing the network

7. &&&&&& SUGGESTION ??? &&&&&&&&

8. Problems with SLIP and DIP Help... Help...

9. &&&&&How to erect DIAL-UP SERVER, BBS, ... ?&&&&&

10. &&&&&How to erect pc as DIAL-UP SERVER, BBS, ...?&&&&&

11. &&&&&How to erect DIAL-UP SERVER, BBS, ...?&&&&&

12. Concurrent, non-(blocking&&threaded&&forking) server