Turecko-americká vycházející matematická hvězda Levent Alpöge ze společnosti Anthropic vyvolal pozdvižení oznámením (PDF), že s pomocí superinteligence Claude od Antropicu dokázal vyřešit jeden ze sedmi největších matematických problémů tisíciletí, slavnou Riemannovu hypotézu (prvočísla se mezi čísly objevují zdánlivě nepravidelně, hypotéza tvrdí, že za jejich rozmístěním je určitý řád). Svůj důkaz uvolnil jako open-source
… více »nedari se mi pripojit Phillips Fision 925 pres Bluetooth na GPRS. Bluetooth uz funguje, pppd nabehne a hned zase skonci, na mobilu vsak zustane text GPRS. Vypada to, jako by server chtel autentifikaci, ale to by nemel. A autentifikaci mam prece vypnutou pres noauth. Tady je debugovaci vypis pppd. predem diky za radu.
[root@leos root]# pppd call provider
pppd options in effect:
nodetach
noauth
/dev/bluetooth/rfcomm/0
115200
lock
connect /usr/sbin/chat -v -f /etc/ppp/chatscripts/provider
disconnect /usr/sbin/chat -v -f /etc/ppp/chatscripts/provider-hang
cdtrcts local
lcp-echo-interval 0
novj novjccomp ipcp-accept-local
noipdefault defaultroute usepeerdns nobsdcomp noipx
Serial connection established.
using channel 3
Using interface ppp0
Connect: ppp0 <--> /dev/bluetooth/rfcomm/0
Looking for secret in /etc/ppp/pap-secrets for client leos server (null)
Looking for secret in /etc/ppp/chap-secrets for client leos server (null)
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x29a6c3ae> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x1 <asyncmap 0xa0000> <auth pap>]
sent [LCP ConfRej id=0x1 <auth pap>]
rcvd [LCP ConfRej id=0x1 <magic 0x29a6c3ae> <pcomp> <accomp>]
sent [LCP ConfReq id=0x2 <asyncmap 0x0>]
rcvd [LCP ConfReq id=0x2 <asyncmap 0xa0000>]
sent [LCP ConfAck id=0x2 <asyncmap 0xa0000>]
rcvd [LCP ConfAck id=0x2 <asyncmap 0x0>]
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15>]
rcvd [LCP TermReq id=0x3 "peer refused to authenticate"]
LCP terminated by peer (peer refused to authenticate)
sent [LCP TermAck id=0x3]
rcvd [LCP ProtRej id=0x4 80 fd 01 01 00 0c 1a 04 78 00 18 04 78 00]
Connection terminated.
Serial link disconnected.
/var/log/messages
Aug 30 11:42:56 leos hcid[980]: link_key_request (sba=F2:D5:63:ED:20:00, dba=E7:85:01:C6:08:00)
Aug 30 11:43:07 leos pppd[5387]: pppd 2.4.1 started by literakl, uid 0
Aug 30 11:43:07 leos chat[5389]: timeout set to 10 seconds
Aug 30 11:43:07 leos chat[5389]: abort on (BUSY)
Aug 30 11:43:07 leos chat[5389]: abort on (NO CARRIER)
Aug 30 11:43:07 leos chat[5389]: abort on (VOICE)
Aug 30 11:43:07 leos chat[5389]: abort on (NO DIALTONE)
Aug 30 11:43:07 leos chat[5389]: send (^MATZ^M)
Aug 30 11:43:08 leos chat[5389]: expect (OK)
Aug 30 11:43:08 leos chat[5389]: ^MATZ^M^M
Aug 30 11:43:08 leos chat[5389]: OK
Aug 30 11:43:08 leos chat[5389]: -- got it
Aug 30 11:43:08 leos chat[5389]: send (ATX1^M)
Aug 30 11:43:08 leos chat[5389]: expect (OK)
Aug 30 11:43:08 leos chat[5389]: ^M
Aug 30 11:43:08 leos chat[5389]: ATX1^M^M
Aug 30 11:43:08 leos chat[5389]: OK
Aug 30 11:43:08 leos chat[5389]: -- got it
Aug 30 11:43:08 leos chat[5389]: send (AT+CGDCONT=1,"IP","ointernet"^M)
Aug 30 11:43:08 leos chat[5389]: expect (OK)
Aug 30 11:43:08 leos chat[5389]: ^M
Aug 30 11:43:08 leos chat[5389]: AT+CGDCONT=1,"IP","ointernet"^M^M
Aug 30 11:43:08 leos chat[5389]: OK
Aug 30 11:43:08 leos chat[5389]: -- got it
Aug 30 11:43:08 leos chat[5389]: send (ATD*99***1#^M)
Aug 30 11:43:09 leos chat[5389]: expect (CONNECT)
Aug 30 11:43:09 leos chat[5389]: ^M
Aug 30 11:43:15 leos chat[5389]: ATD*99***1#^M^M
Aug 30 11:43:15 leos chat[5389]: CONNECT
Aug 30 11:43:15 leos chat[5389]: -- got it
Aug 30 11:43:15 leos pppd[5387]: Serial connection established.
Aug 30 11:43:15 leos pppd[5387]: Using interface ppp0
Aug 30 11:43:15 leos pppd[5387]: Connect: ppp0 <--> /dev/bluetooth/rfcomm/0
Aug 30 11:43:15 leos /etc/hotplug/net.agent: assuming ppp0 is already up
Aug 30 11:43:16 leos pppd[5387]: LCP terminated by peer (peer refused to authenticate)
Aug 30 11:43:19 leos pppd[5387]: Connection terminated.
Aug 30 11:43:19 leos chat[5400]: send (+++ath^M)
Aug 30 11:43:19 leos /etc/hotplug/net.agent: NET unregister event not supported
Aug 30 11:43:20 leos pppd[5387]: Serial link disconnected.
Aug 30 11:43:20 leos pppd[5387]: Exit.
Looking for secret in /etc/ppp/pap-secrets for client leos server (null) Looking for secret in /etc/ppp/chap-secrets for client leos server (null)... a o kousek dál se dohodnete na PAP, ne? Volba noauth říká, že vy nechcete, aby se auntentizovala (uf, no doplňte to správné slovo
, ale druhá strana chce vědět, kdo jste vy...
/dev/ttyS0 38400 cdtrcts nodetach noauth connect '/usr/sbin/chat -v -f /etc/chatscripts/provider' disconnect '/usr/sbin/chat -v -f /etc/chatscripts/provider-hang' defaultroute usepeerdns lockA subor /etc/chatscripts/provider:
TIMEOUT 15 ABORT BUSY ABORT 'NO CARRIER' ABORT VOICE ABORT 'NO DIALTONE' ABORT 'NO DIAL TONE' ABORT 'NO ANSWER' '' ATZ 'OK' AT+CGDCONT=1,"IP","ointernet"; OK-AT-OK "ATD*99***1#" CONNECT \d\cA potom uz len pppd call provider (ak sa nepletiem). Konfiguracia plati pre oskartu.
Tiskni
Sdílej: