Problem on AutoPPP

1999-07-28 Thread tboy

I'm trying to set up a PPP server using mgetty with AutoPPP option enabled. But 
my user cannot establish a connection using win95 dialup client.

Here's an excerpt of my ppp.log:

Jul 19 15:28:51 hylx pppd[839]: pppd 2.3.5 started by a_ppp, uid 0
Jul 19 15:28:51 hylx pppd[839]: Using interface ppp0
Jul 19 15:28:51 hylx pppd[839]: Connect: ppp0 -- /dev/ttyS1
Jul 19 15:28:51 hylx pppd[839]: sent [LCP ConfReq id=0x1 asyncmap 0x0 auth 
pap magic 0x221ab194 pcomp accomp]
Jul 19 15:28:51 hylx pppd[839]: rcvd [LCP ConfAck id=0x1 asyncmap 0x0 auth 
pap magic 0x221ab194 pcomp accomp]
Jul 19 15:28:53 hylx pppd[839]: rcvd [LCP ConfReq id=0x3 asyncmap 0xa 
magic 0x359b31 pcomp accomp callback 0x602]
Jul 19 15:28:53 hylx pppd[839]: sent [LCP ConfRej id=0x3 callback 0x600]
Jul 19 15:28:54 hylx pppd[839]: rcvd [LCP ConfReq id=0x4 asyncmap 0xa 
magic 0x359b31 pcomp accomp]
Jul 19 15:28:54 hylx pppd[839]: sent [LCP ConfAck id=0x4 asyncmap 0xa 
magic 0x359b31 pcomp accomp]
Jul 19 15:28:54 hylx pppd[839]: sent [LCP EchoReq id=0x0 magic=0x221ab194]
Jul 19 15:28:54 hylx pppd[839]: rcvd [PAP AuthReq id=0x1 user=guest 
password=]
Jul 19 15:28:54 hylx pppd[839]: user guest logged in
Jul 19 15:29:31 hylx pppd[839]: Hangup (SIGHUP)
Jul 19 15:30:11 hylx pppd[839]: sent [PAP AuthAck id=0x1 Login ok]
Jul 19 15:30:11 hylx pppd[839]: write: warning: Input/output error(5)
Jul 19 15:30:11 hylx pppd[839]: sent [IPCP ConfReq id=0x1 addr 192.168.0.73 
compress VJ 0f 01]
Jul 19 15:30:11 hylx pppd[839]: write: warning: Input/output error(5)
Jul 19 15:30:11 hylx pppd[839]: ioctl(PPPIOCSASYNCMAP): Input/output error(5)
Jul 19 15:30:11 hylx pppd[839]: Exit.

It seems that once 'guest' logged in, the pppd would not try to exchange 
packets with the remote peer anymore util the connection was dropped upon 
connection timeout.

My configuration is as following:

Hardware/software environment:

An ethernet LAN with Internet access. One of the PCs acts as the PPP server, 
running Debian 2.0 with mgetty (package version 1.1.18-1) and ppp (package 
version 2.3.5-2) installed

related section in configuration files:

/etc/inittab:
T3:23:respawn:/sbin/mgetty -x2 -D ttyS1

/etc/mgetty/login.config:
/AutoPPP/ - a_ppp   /etc/ppp/ppplogin
*   -   -   /bin/login @

/etc/ppp/ppplogin:
#!/bin/sh
mesg n
stty -echo
/usr/sbin/pppd file /etc/ppp/options.server

/etc/ppp/options.server:
ms-dns 192.168.0.1
asyncmap 0
auth
crtscts
lock
modem
netmask 255.255.255.0
-detach
+pap
-chap
proxyarp
login

/etc/ppp/options/ttyS1:
192.168.0.1:192.168.0.2

/etc/ppp/pap-secrets:
*   * *
root*   * *

the guest entry in my /etc/passwd is:
guest:x:1003:1003:,,,:/home/guest:/bin/bash


I'm puzzled. Please help me - thanks a lot! And, would someone mind showing me 
how to set up a PPP dialup account with shell access and a PPP dialup account 
without shell access, respectively?


How to pronouce Debian?

1999-06-23 Thread tboy
Hi all,

I'm not a native english speaker so i don't know how to pronouce Debian --- 
it seems somewhat strange to me.
When i introduce Debian to my friends i have to spell it out letter by letter. 
Any help from native english speakers?


How to upgrade to slink?

1999-03-11 Thread tboy
Hello!

I have been using hamm, and now want to upgrade to slink via FTP for apt, 
gnome and some new key libs, etc. Which packages do I need? How to upgrade
in a most economic way? Would anyone mind giving me some suggestion?

Please detail your suggestion because I'm not a veteran. Thanks.


How to move system directory to other partitions?(debian 2.0)

1999-02-22 Thread tboy
I have several partitions and want to move my /home to another partition. How 
to do this and make it work properly?
I've tried this( / is in /dev/hda3):

mount -t ext2 /dev/hdb2 /home

But I couldn't execute any script in the new '/home',even as root.
BTW: I noticed that some directories have a strange mode, e.g. drwxrwsr-x. What 
does the 's' mean? System directory? Why all the documentation I read don't 
mention it?