Problem sa ADSL pppoe konekcijom

[quote=akiro]2. sa debug opcijom isti rezultat, ukratko:

Nov 07 18:44:44 akiro pppd[9423]: CHAP authentication failed: Authentication failed
Nov 07 18:44:44 akiro pppd[9423]: CHAP authentication failed

u /etc/ppp/chap-secrets ispravan user i password, sintaksa također ispravna, također ostale postavke koliko se razumijem su ok, zbog toga kažem misterij.[/quote]
Na Bihnetu trebaš koristiti PAP :smiley:

[quote=meho_r]Evo kako kod mene izgleda čitav proces:

Kad pravim konekciju (Desni klik na NM > Configure Network), biram “DSL” nakon čega imam ponuđena dva interface-a: 1) ppp0 + naziv prve mrežne i 2) ppp0 + naziv druge mrežne. Biram onaj u koji je kabel uštekan. Zatim biram “Unlisted” u popisu zemalja, nakon toga “PPP over Ethernet (PPPoE)”, unesem username i password i podesim da non-root user može pokrenuti konekciju, da starta prilikom boot-a i uključim praćenje prometa. Nakon ovoga me pita hoću li pokrenuti konekciju, kažem da hoću i konekcija se uspostavlja.[/quote]
Upravo na to sam i mislio. Meni se ne aktivira eth0 poslije toga osim ako ga ručno aktiviram

To je novo za mene, kod mene ide CHAP (ne MS-CHAP nego onaj drugi), nisam ni znao da bihnet podržava PAP.

[quote=akiro]2. sa debug opcijom isti rezultat, ukratko:

Nov 07 18:44:44 akiro pppd[9423]: CHAP authentication failed: Authentication failed
Nov 07 18:44:44 akiro pppd[9423]: CHAP authentication failed[/quote]
To je čudno, sa debug opcijom bi morao imati puno više poruka u logu, otprilike ovako nešto:

[quote]Tue May 10 12:55:26 2005 : using link 0
Tue May 10 12:55:26 2005 : Using interface ppp0
Tue May 10 12:55:26 2005 : Connect: ppp0 ↔ socket[34:17]
Tue May 10 12:55:26 2005 : sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x818bc24> ]
Tue May 10 12:55:26 2005 : rcvd [LCP ConfReq id=0x1 <magic 0x3ad63475>]
Tue May 10 12:55:26 2005 : lcp_reqci: returning CONFACK.
Tue May 10 12:55:26 2005 : sent [LCP ConfAck id=0x1 <magic 0x3ad63475>]
Tue May 10 12:55:26 2005 : rcvd [LCP ConfRej id=0x1 <asyncmap 0x0> ]
Tue May 10 12:55:26 2005 : sent [LCP ConfReq id=0x2 <magic 0x818bc24>]
Tue May 10 12:55:26 2005 : rcvd [LCP ConfAck id=0x2 <magic 0x818bc24>]
Tue May 10 12:55:26 2005 : sent [LCP EchoReq id=0x0 magic=0x818bc24]
Tue May 10 12:55:26 2005 : rcvd [CHAP Challenge id=0x1 , name = “”]
Tue May 10 12:55:26 2005 : sent [CHAP Response id=0x1 <000000000000000000000000000000000000000000000000f699c9d189ef9001ed244537d008a9d9bc4a11c77aad62da01>, name = “yachanin”]
Tue May 10 12:55:26 2005 : rcvd [LCP EchoRep id=0x0 magic=0x3ad63475]
Tue May 10 12:55:26 2005 : rcvd [CHAP Failure id=0x1 “Authentication failed.”]
Tue May 10 12:55:26 2005 : MS-CHAP authentication failed: Authentication failed.
Tue May 10 12:55:26 2005 : sent [LCP TermReq id=0x3 “Failed to authenticate ourselves to peer”]
Tue May 10 12:55:26 2005 : rcvd [LCP TermReq id=0x2 “Authentication failed”]
Tue May 10 12:55:26 2005 : sent [LCP TermAck id=0x2]
Tue May 10 12:55:26 2005 : rcvd [LCP TermAck id=0x3]
Tue May 10 12:55:26 2005 : Connection terminated.[/quote]

BTW većina postova koje sam našao na ovu temu Authentication failed govore o problemima u konfiguraciji ISPa.

Pokušaj sa Puppy Linux 4.2 i identičnom konfiguracijom:

/var/log/messages

[quote]Nov 7 21:51:29 (none) daemon.notice pppd[9898]: pppd 2.4.4 started by root, uid 0
Nov 7 21:51:29 (none) daemon.debug pppd[9898]: using channel 3
Nov 7 21:51:29 (none) daemon.info pppd[9898]: Using interface ppp0
Nov 7 21:51:29 (none) daemon.notice pppd[9898]: Connect: ppp0 ↔ /dev/pts/1
Nov 7 21:51:29 (none) daemon.debug pppoe[9899]: PADS: Service-Name: ‘’
Nov 7 21:51:29 (none) daemon.info pppoe[9899]: PPP session is 53660 (0xd19c)
Nov 7 21:51:30 (none) daemon.warn pppd[9898]: Warning - secret file /etc/ppp/pap-secrets has world and/or group access
Nov 7 21:51:30 (none) daemon.debug pppd[9898]: sent [LCP ConfReq id=0x1 <mru 1492> <magic 0xe7a1a7a0>]
Nov 7 21:51:30 (none) daemon.debug pppd[9898]: rcvd [LCP ConfReq id=0x1 <mru 1492> <magic 0x227d4ba9>]
Nov 7 21:51:30 (none) daemon.debug pppd[9898]: sent [LCP ConfAck id=0x1 <mru 1492> <magic 0x227d4ba9>]
Nov 7 21:51:30 (none) daemon.debug pppd[9898]: rcvd [LCP ConfAck id=0x1 <mru 1492> <magic 0xe7a1a7a0>]
Nov 7 21:51:30 (none) daemon.debug pppd[9898]: sent [LCP EchoReq id=0x0 magic=0xe7a1a7a0]
Nov 7 21:51:30 (none) daemon.debug pppd[9898]: rcvd [LCP EchoRep id=0x0 magic=0x227d4ba9]
Nov 7 21:51:30 (none) daemon.debug pppd[9898]: rcvd [CHAP Challenge id=0x1 , name = “BRAS_BIHAC”]
Nov 7 21:51:30 (none) daemon.warn pppd[9898]: Warning - secret file /etc/ppp/chap-secrets has world and/or group access
Nov 7 21:51:30 (none) daemon.debug pppd[9898]: sent [CHAP Response id=0x1 , name = “xxxx.xxxx@bih.net.ba”]
Nov 7 21:51:32 (none) daemon.debug pppd[9898]: rcvd [CHAP Failure id=0x1 “Authentication failed”]
Nov 7 21:51:32 (none) daemon.info pppd[9898]: CHAP authentication failed: Authentication failed
Nov 7 21:51:32 (none) daemon.err pppd[9898]: CHAP authentication failed
Nov 7 21:51:32 (none) daemon.debug pppd[9898]: sent [LCP TermReq id=0x2 “Failed to authenticate ourselves to peer”]
Nov 7 21:51:32 (none) daemon.debug pppd[9898]: rcvd [LCP TermReq id=0x2]
Nov 7 21:51:32 (none) daemon.debug pppd[9898]: sent [LCP TermAck id=0x2]
Nov 7 21:51:32 (none) daemon.debug pppd[9898]: rcvd [LCP TermAck id=0x2]
Nov 7 21:51:32 (none) daemon.notice pppd[9898]: Connection terminated.
Nov 7 21:51:32 (none) daemon.info pppoe[9899]: Session 53660 terminated – received PADT from peer
Nov 7 21:51:32 (none) daemon.info pppoe[9899]: Sent PADT
Nov 7 21:51:32 (none) daemon.debug pppd[9898]: Waiting for 1 child processes…
Nov 7 21:51:32 (none) daemon.debug pppd[9898]: script /usr/sbin/pppoe -p /var/run/pppoe.conf-pppoe.pid.pppoe -I eth0 -T 80 -U -m 1412 , pid 9899
Nov 7 21:51:32 (none) daemon.debug pppd[9898]: Script /usr/sbin/pppoe -p /var/run/pppoe.conf-pppoe.pid.pppoe -I eth0 -T 80 -U -m 1412 finished (pid 9899), status = 0x0
Nov 7 21:51:32 (none) daemon.info pppd[9898]: Exit.[/quote]
Također probao sa Ubuntu 9.04 sa jednakom rezultatom. Možda opensolaris uspije :slight_smile:

Vjerovatno da je tako, ali na mandrivi 2008.0 mogao sam uspostaviti konekciju.

[quote=vedran]Hm kod mene je radio step-by-step savjet:

  • konfiguriši ppp0
  • ne diraj ništa u vezi eth
  • radi :)[/quote]
    eth0 mora biti podignut (ne mora biti konfigurisan)

sudo ifconfig eth0 up
sudo pon ds-provider

Eh ja sam prije dvije godine prijavio bug da zašto pppoe konekcija ne odradi eth0 up kada je očito da bez toga neće raditi i to je napravljeno od verzije 2009.0.

Eh ja sam prije dvije godine prijavio bug da zašto pppoe konekcija ne odradi eth0 up kada je očito da bez toga neće raditi i to je napravljeno od verzije 2009.0.[/quote]
:wink:

eee moze li mi neko pomoci malo je glupo pitanje ali dobro… kada se konektujem na ADSL trazi mi da upisem username,pasword i domain…ali ja neznam koji je moj domain??? sta tu da upisem koji je moj domain??? pls odg odg posaljite ne ovu email adresu marija.spasic96@live.com ali ako moze brzo

Ako ne zelis biti naspamana do smrti skloni svoju mail adresu iz tog posta. A domain polje ostavi prazno?