ta parakato den einai entelos ok gia ISDN netmod
sigkekrimena to: 

OK "ats7=45s0=0l3v1x3&d0&c1e1q0"

prepei na ginei: OK "atz"
(den exo netmod)


xrisimes entoles einai oi:
route -n 
ifconfig ppp0
arp
ping www.flash.gr
traceroute www.flash.gr



ta scripts /etc/ppp/ip-up.local kai /etc/ppp/ip-down.local
einai xrisima afou exoun oles tis metavlites kai ektelountai
meta tin sindesi apo ton pppd

gia na sikoni inet o kathe xristis
thes chmod +s /usr/sbin/pppd --gia setuid-root ston pppd --des man chmod
chmod sto /dev/ttyS0 me o=rwx

to parakato THELI ALLAGES sto username
/etc/peers/options

defaultroute
asyncmap 0x00000000
crtscts
modem
noipdefault
mtu 576
debug
lcp-echo-interval 30
lcp-echo-failure 4
nodetach
user isp_username
name machine_hostname
ipcp-accept-local
ipcp-accept-remote
deflate 15,15
vj-max-slots 16




sto /etc/ppp/peers/ch

chat script----ch


ECHO ON
REPORT CONNECT
ABORT "NO CARRIER"
ABORT "NO DIALTONE"
ABORT "ERROR"
ABORT "NO ANSWER"
ABORT "BUSY"
ABORT "VOICE"
HANGUP ON
ECHO ON

"" "atz"
OK "ats7=45s0=0l3v1x3&d0&c1e1q0"
OK "atdt0962555555"
CONNECT ""



ppp major init script

#!/bin/sh
exec /usr/sbin/pppd "/dev/ttyS0" "115200" connect "/usr/sbin/chat -f /etc/ppp/peers/ch -s -v -V -r /var/log/chat" call options



gia na to trexis prepei na einai chown se esena, na exeis chmod
permissions kai na to exei to path tou to $PATH sou
diladi PATH=$PATH:/etc/ppp/


pap-secrets

# Secrets for authentication using PAP
# client server secret IP addresses
isp_username * isp_password



sto magaz.hellug.gr iparxei arthro apo kampriani
pou leei ta stoixeia (dns,pap i chap) ton ellinikwn isp's gia linux
http://magaz.hellug.gr/06/05_xisp2.html

allios sto /etc/ppp/chap-secrets

orise hostname:


/etc/sysconfig/network
NETWORKING=yes
HOSTNAME=my_hostname


to parakato kai sta dio directory:
/etc/sysconfig/networking
/etc/sysconfig/network-scripts




[root@panagia network-scripts]# more ifcfg-ppp0
DEVICE=ppp0
NAME=test
WVDIALSECT=test
MODEMPORT=/dev/ttyS0
LINESPEED=115200
PAPNAME=test
USERCTL=true
ONBOOT=no
PERSIST=no
DEFROUTE=yes
PEERDNS=yes
DEMAND=no
IDLETIMEOUT=600



more /etc/resolv.conf
search .
nameserver 195.170.0.2
nameserver 195.170.2.1



more /etc/hosts.allow
ALL: LOCAL
ALL: my_domain.
ALL: 127.0.0.1




more /etc/hosts.deny
ALL: ALL




/etc/modules.conf
# Alias ppp compression routines
alias net-pf-4 off
alias net-pf-5 off
alias ppp-compress-21 ppp_deflate
alias ppp-compress-26 ppp_deflate
alias ppp-compress-24 ppp_deflate
alias /dev/ppp ppp_generic
alias tty-ldisc-3 ppp_async
alias tty-ldisc-14 ppp_synctty