Toto je starší verze dokumentu!
apt install wvdial
nano /etc/wvdial.conf
[Dialer Defaults] Modem = /dev/ttyUSB2 Modem Type = Analog Modem ISDN*= 0 Baud = 460800 Dial Attempts = 1 Username = o2 Password = o2 Init1 = ATZ Init2 = AT&F &D2 &C1 Init3 = ATS7=60 S30=0 S0=0 Init4 = AT+CGDCONT=1,"IP","internet" Phone = *99# Stupid Mode = 1
vyzkousime wvdial
pak do /etc/network/interfaces jako prvni
auto ppp0 iface ppp0 inet wvdial
a reboot, default routa by mela jit pres ppp0
potrebujeme xl2tp: upravit /etc/xl2tpd/xl2tpd.conf
[global] access control = no auth file = /etc/ppp/chap-secrets debug avp = no debug network = no debug packet = no debug state = no debug tunnel = no[lac “lns name you specified on the server”] lns = “lns ip address (likely to be global address)” redial = yes redial timeout = 5 require chap = yes require authentication = yes ppp debug = no pppoptfile = /etc/ppp/options.l2tpd require pap = no autodial = yes name = “username for chap authentication”
username * password *