PPPOE bağlantısıyla ilgili sorun yaşıyorum,
Hata günlükleri:
Dec 29 15:50:20 rahul-home pppd[4141]: PPP session is 1769
Dec 29 15:50:20 rahul-home pppd[4141]: Connected to 00:27:0e:14:d1:04 via interface eth0
Dec 29 15:50:20 rahul-home pppd[4141]: Using interface ppp0
Dec 29 15:50:20 rahul-home pppd[4141]: Connect: ppp0 <--> eth0
Dec 29 15:50:20 rahul-home NetworkManager[1131]: <warn> /sys/devices/virtual/net/ppp0: couldn't determine device driver; ignoring...
Dec 29 15:50:20 rahul-home NetworkManager[1131]: SCPlugin-Ifupdown: devices added (path: /sys/devices/virtual/net/ppp0, iface: ppp0)
Dec 29 15:50:20 rahul-home NetworkManager[1131]: SCPlugin-Ifupdown: device added (path: /sys/devices/virtual/net/ppp0, iface: ppp0): no ifupdown configuration found.
Dec 29 15:50:20 rahul-home pppd[4141]: CHAP authentication failed: bad username or password
Dec 29 15:50:20 rahul-home pppd[4141]: CHAP authentication failed
Dec 29 15:50:20 rahul-home pppd[4141]: Connection terminated.
Dec 29 15:50:20 rahul-home NetworkManager[1131]: SCPlugin-Ifupdown: devices removed (path: /sys/devices/virtual/net/ppp0, iface: ppp0)
Dec 29 15:50:20 rahul-home avahi-daemon[859]: Withdrawing workstation service for ppp0.
Dec 29 15:50:22 rahul-home pppd[4141]: Terminating on signal 15
Dec 29 15:50:22 rahul-home pppd[4141]: Exit.
Başarı Günlüğü
Dec 29 15:50:24 rahul-home pppd[4189]: PPP session is 22450
Dec 29 15:50:24 rahul-home pppd[4189]: Connected to 00:07:e9:a5:a8:85 via interface eth0
Dec 29 15:50:24 rahul-home pppd[4189]: Using interface ppp0
Dec 29 15:50:24 rahul-home pppd[4189]: Connect: ppp0 <--> eth0
Dec 29 15:50:24 rahul-home NetworkManager[1131]: <warn> /sys/devices/virtual/net/ppp0: couldn't determine device driver; ignoring...
Dec 29 15:50:24 rahul-home NetworkManager[1131]: SCPlugin-Ifupdown: devices added (path: /sys/devices/virtual/net/ppp0, iface: ppp0)
Dec 29 15:50:24 rahul-home NetworkManager[1131]: SCPlugin-Ifupdown: device added (path: /sys/devices/virtual/net/ppp0, iface: ppp0): no ifupdown configuration found.
Dec 29 15:50:24 rahul-home pppd[4189]: CHAP authentication succeeded: Welcome.
Dec 29 15:50:24 rahul-home pppd[4189]: CHAP authentication succeeded
Dec 29 15:50:24 rahul-home pppd[4189]: peer from calling number 00:07:E9:A5:A8:85 authorized
Dec 29 15:50:24 rahul-home pppd[4189]: local IP address xx.xx.xx.xx
Dec 29 15:50:24 rahul-home pppd[4189]: remote IP address 172.31.29.1
Dec 29 15:50:24 rahul-home pppd[4189]: primary DNS address xx.xx.xx.xx
Dec 29 15:50:24 rahul-home pppd[4189]: secondary DNS address xx.xx.xx.xx
Benim Gözlemim
N deneme denemesiyle denedim, ancak eş arayan numarayı kullanırken çeviricinin bağlandığını fark 00:07:E9:A5:A8:85
ettim, ancak bunu düzeltemiyorum. yardımı ile man pppd
, aşağıdaki seçeneği izlemeye çalıştım/etc/ppp/options
allow-number 00:07:E9:A5:A8:85 # Tested showing not authorized
remotenumber 00:07:E9:A5:A8:85 # Tested but not working
Geçici çözüm
#!/bin/bash
# Retry pppoe until get connected
rndc stop
interval=2
n=0
pppstats && { echo "Internet is working"; exit 1; }
until nc -vzw1 titanic 80
do
poff -a ||
pon dsl-provider
sleep $interval
((n++))
done
echo "Dialer Connected after total retry: $n"
plog
/etc/init.d/bind9 start
gözlük
Distributor ID: Ubuntu
Description: Ubuntu 13.10
Release: 13.10
Codename: saucy
pppd version 2.4.5
Soru
Pppoe'da sabit arama numarasını nasıl ayarlarım?