Portál AbcLinuxu, 10. května 2025 04:20
/dev/rfcomm1 115200 cdtrcts updetach noipx noauth connect '/usr/sbin/chat -v -f /etc/chatscripts/eurotel' ipcp-accept-local noipdefault defaultroute replacedefaultroute local novj novjccomp nobsdcomp lcp-echo-interval 10 disconnect '/usr/sbin/chat -v -f /etc/chatscripts/eurotel' usepeerdns locka link /etc/ppp/peers/provider nasmeroval na nej. Potom jeste je potreba /etc/chatscripts/eurotel:
TIMEOUT 10 ABORT BUSY ABORT "NO CARRIER" ABORT VOICE ABORT "NO DIALTONE" "" '\rATZ' OK ATX1 OK AT+CGDCONT=1,"IP","gointernet" OK "ATD*99***1#" CONNECT/etc/chatscripts/eurotel.hang:
"" "+++ath"Pak mi neco rika, ze kdyz soubor /etc/ppp/no_ppp_on_boot prejmenuji na ppp_on_boot, tak se pripoji pri startu systemu. Snad je to na Fedore podobne...
[root@Gogo ppp]# ls firewall-masq ip-down ipv6-down peers firewall-standalone ip-down.ipv6to4 ipv6-up pppoe-server-options chap-secrets ip-up options ioptions ip-up.ipv6to4 pap-secrets [root@Gogo ppp]# cat chap-secrets # Secrets for authentication using CHAP # client server secret IP addresses ####### redhat-config-network will overwrite this part!!! (begin) ########## ####### redhat-config-network will overwrite this part!!! (end) ############ [root@Gogo ppp]# cat options lock [root@Gogo ppp]# cat pap-secrets # Secrets for authentication using PAP # client server secret IP addresses ####### redhat-config-network will overwrite this part!!! (begin) ########## ####### redhat-config-network will overwrite this part!!! (end) ############ [root@Gogo ppp]# cat pppoe-server-options # PPP options for the PPPoE server # LIC: GPL require-pap login lcp-echo-interval 10 lcp-echo-failure 2 [root@Gogo ppp]# cd peers [root@Gogo peers]# ls isdn wvdial [root@Gogo peers]# cat wvdial noauth name wvdial usepeerdns
NAME ppp-watch - daemon to make PPP interfaces act more like other inter- faces SYNOPSIS ppp-watch interface-name [boot] DESCRIPTION ppp-watch manages one PPP connection, including starting, stopping, and redialing. It makes starting and stopping the connection synchronous activities. ppp-watch is not really meant to be called directly. It should only be used from within the ifup-ppp script. OPTIONS interface-name The name of the PPP interface to bring up. boot ppp-watch is being called at boot time and should time out after a while if the PPP connection does not come up in order not to hang the boot sequence. RHS Red Hat, Inc.
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.