Arne writes:
> is there a way to allow a user to dialin via isdn, so he is part of my
> lan?
Sure. This is how I do it:
DEVICE=ippp5
MSN=123456 # own number
NUMBERS="012345678" # List of remote numbers to dial
isdnctrl addif $DEVICE
isdnctrl eaz $DEVICE $MSN
isdnctrl addphone $DEVICE in "*"
isdnctrl addphone $DEVICE out "$NUMBERS"
isdnctrl dialmode $DEVICE manual
isdnctrl huptimeout $DEVICE 600
isdnctrl l2_prot $DEVICE hdlc
isdnctrl l3_prot $DEVICE trans
isdnctrl encap $DEVICE syncppp
isdnctrl ihup $DEVICE off
ifconfig $DEVICE here pointopoint there netmask 255.255.255.0
#route add ppp-atv $DEVICE # seems to be set automatically now
ipppd file /etc/ppp/options.$DEVICE
The /etc/ppp/options.ippp5 file looks like this:
/dev/ippp5
debug
user "papusername"
here:there
netmask 255.255.255.0
-vj
-vjccomp
-ac
-pc
-bsdcomp
mru 1524
mtu 1500
In /etc/hosts I have an entry like this o define the hosts:
here 192.168.10.1
there 192.168.10.2
Finally, in /etc/ppp/pap-secrets, this is used for the simple
unencrypted PAP authentication:
"papusername" * "pappassword"
Use "isdnctrl dial ipp5" to call the remote host, or just wait to be
called by him. isdnctrl hangup ippp5 to hangup.
Alex
--
Alex Schuster [EMAIL PROTECTED] PGP Key available
[EMAIL PROTECTED]
--
[EMAIL PROTECTED] mailing list