Navigacija
Lista poslednjih: 16, 32, 64, 128 poruka.

mgetty problem

[es] :: Linux/UNIX serveri i servisi :: mgetty problem

[ Pregleda: 4233 | Odgovora: 8 ] > FB > Twit

Postavi temu Odgovori

Autor

Pretraga teme: Traži
Markiranje Štampanje RSS

MoDcHe
SER Sabac

Član broj: 4
Poruke: 486
*.ptt.yu

Jabber: modche@elitesecurity.org
ICQ: 73295306
Sajt: localhost


+3 Profil

icon mgetty problem04.02.2003. u 21:22 - pre 257 meseci
Pozdrav ljudi, ovako imam problem sa podesavanjem mgetty-ja

evo kako sam ga ja konfigurisao:

--mgetty.config--:

debug 4

speed 38400

port-owner uucp
port-group uucp
port-mode 0666


port ttyS1
speed 38400
init-chat "" \d\d\d+++\d\d\dAT OK ATX3 OK

--dialin.config--:
brojevi koje sam dodao za pristup
!all

--login.config--:

/AutoPPP/ - a_ppp /usr/sbin/pppd auth login -chap +pap

--inittab--:
S1:2345:respawn:/sbin/mgetty -s 38400 ttyS1 (na kraj fajla)

--pap.secrets--:

* chetnik ""

i to je to sto se tice konfigurisanja e sad greske:

#tail /var/log/mgetty.log.ttyS1
02/04 21:29:55 yS1 additional info: 'a007880284C6002F'
02/04 21:29:55 yS1 modem quirks: 0004
02/04 21:29:55 yS1 mdm_send: 'AT+FCLASS=2' -> ERROR
02/04 21:29:55 yS1 mdm_send: 'AT+FCLASS=2.0' -> ERROR
02/04 21:29:55 yS1 mdm_send: 'AT+FCLASS=2' -> ERROR
02/04 21:29:55 yS1 waiting...
#

kad me nazove ortak ciji sam broj dodao u dialin.config fajl i koji ima acc na sistemu u /var/log/messages dobijam
02/04 21:42:37 ##### denied caller dev=ttyS1, pid=105, caller='none'

i tako stalno, e sad mozda je to do mdm_send greske a mozda i nije ...?

os: slackware
When you say "I wrote a program
that crashed Windows", people
just stare at
you blankly and say "Hey, I got
those with the system, *for
free*".
-- Linus Torvalds
 
Odgovor na temu

B o j a n
eCTRL
EU

Član broj: 1178
Poruke: 2925
194.247.209.*

Jabber: bc@default.co.yu
Sajt: default.co.yu/~bc


+1 Profil

icon Re: mgetty problem04.02.2003. u 23:37 - pre 257 meseci
Iskomentiraj ceo dialin.config. Taj fajl se koristi samo kada imas ukljucenu podrsku u centrali za prepoznavanje callerid-a.

"It's okay, I'm just admiring to the shape of your skull!" -- Dr. Gonzo
 
Odgovor na temu

MoDcHe
SER Sabac

Član broj: 4
Poruke: 486
*.ptt.yu

Jabber: modche@elitesecurity.org
ICQ: 73295306
Sajt: localhost


+3 Profil

icon Re: mgetty problem05.02.2003. u 07:52 - pre 257 meseci
Uradio sam to ali opet nista, javlja

#tail /var/log/mgetty.log.ttyS1
02/04 21:29:55 yS1 additional info: 'a007880284C6002F'
02/04 21:29:55 yS1 modem quirks: 0004
02/04 21:29:55 yS1 mdm_send: 'AT+FCLASS=2' -> ERROR
02/04 21:29:55 yS1 mdm_send: 'AT+FCLASS=2.0' -> ERROR
02/04 21:29:55 yS1 mdm_send: 'AT+FCLASS=2' -> ERROR
02/04 21:29:55 yS1 waiting...
#

mozda mi nije odgovarajuci init string?
When you say "I wrote a program
that crashed Windows", people
just stare at
you blankly and say "Hey, I got
those with the system, *for
free*".
-- Linus Torvalds
 
Odgovor na temu

B o j a n
eCTRL
EU

Član broj: 1178
Poruke: 2925
194.247.209.*

Jabber: bc@default.co.yu
Sajt: default.co.yu/~bc


+1 Profil

icon Re: mgetty problem05.02.2003. u 13:10 - pre 257 meseci
Pa kako ti se pre javljao ???

A da proveris da li ti je modem okej ? hm ? l;)

"It's okay, I'm just admiring to the shape of your skull!" -- Dr. Gonzo
 
Odgovor na temu

MoDcHe
SER Sabac

Član broj: 4
Poruke: 486
*.ptt.yu

Jabber: modche@elitesecurity.org
ICQ: 73295306
Sajt: localhost


+3 Profil

icon Re: mgetty problem05.02.2003. u 17:13 - pre 257 meseci
Ok evo me kod tece i uspeo sam da dobijem komp :)
When you say "I wrote a program
that crashed Windows", people
just stare at
you blankly and say "Hey, I got
those with the system, *for
free*".
-- Linus Torvalds
 
Odgovor na temu

MoDcHe
SER Sabac

Član broj: 4
Poruke: 486
*.ptt.yu

Jabber: modche@elitesecurity.org
ICQ: 73295306
Sajt: localhost


+3 Profil

icon Re: mgetty problem05.02.2003. u 20:24 - pre 257 meseci
Samo ovo sam uspeo da se nakacim iz hyper terminala ali kad probam dialup onda on sve lepo ucita i zakaci se ali veza pukne za SEC error log:

Feb 5 10:27:32 chetnik mgetty[315]: data dev=ttyS1, pid=315, caller='none', conn='38400', name='', cmd='/usr/sbin/pppd', user='/AutoPPP/'
Feb 5 10:27:33 chetnik kernel: CSLIP: code copyright 1989 Regents of the University of California
Feb 5 10:27:33 chetnik kernel: PPP generic driver version 2.4.1
Feb 5 10:27:33 chetnik pppd[315]: pppd 2.4.1 started by a_ppp, uid 0
Feb 5 10:27:33 chetnik pppd[315]: Using interface ppp0
Feb 5 10:27:33 chetnik pppd[315]: Connect: ppp0 <--> /dev/ttyS1
Feb 5 10:27:36 chetnik pppd[315]: user vlada logged in
Feb 5 10:27:36 chetnik kernel: PPP BSD Compression module registered
Feb 5 10:27:36 chetnik kernel: PPP Deflate Compression module registered
Feb 5 10:27:36 chetnik insmod: Warning: loading /lib/modules/2.4.18/kernel/drivers/net/ppp_deflate.o.gz will taint the kernel: non-GPL license - BSD without advertisement clause
Feb 5 10:27:36 chetnik insmod: See http://www.tux.org/lkml/#s1-18 for information about tainted modules
Feb 5 10:27:36 chetnik insmod: Module ppp_deflate loaded, with warnings
Feb 5 10:27:37 chetnik pppd[315]: LCP terminated by peer (^ZM-;=,^@<M-Mt^@^@^@^@)
Feb 5 10:27:38 chetnik pppd[315]: Hangup (SIGHUP)
Feb 5 10:27:38 chetnik pppd[315]: Modem hangup
Feb 5 10:27:38 chetnik pppd[315]: Connection terminated.
Feb 5 10:27:38 chetnik pppd[315]: Connect time 0.1 minutes.
Feb 5 10:27:38 chetnik pppd[315]: Sent 115 bytes, received 125 bytes.
Feb 5 10:27:38 chetnik pppd[315]: Exit.
When you say "I wrote a program
that crashed Windows", people
just stare at
you blankly and say "Hey, I got
those with the system, *for
free*".
-- Linus Torvalds
 
Odgovor na temu

B o j a n
eCTRL
EU

Član broj: 1178
Poruke: 2925
194.247.209.*

Jabber: bc@default.co.yu
Sajt: default.co.yu/~bc


+1 Profil

icon Re: mgetty problem05.02.2003. u 22:45 - pre 257 meseci
Umm,
Kako ti izgleda ppp.options ?



"It's okay, I'm just admiring to the shape of your skull!" -- Dr. Gonzo
 
Odgovor na temu

MoDcHe
SER Sabac

Član broj: 4
Poruke: 486
*.ptt.yu

Jabber: modche@elitesecurity.org
ICQ: 73295306
Sajt: localhost


+3 Profil

icon Re: mgetty problem06.02.2003. u 08:39 - pre 257 meseci
#cat /etc/ppp/options
asyncmap 0
modem
proxyarp
lcp-echo-interval 30
When you say "I wrote a program
that crashed Windows", people
just stare at
you blankly and say "Hey, I got
those with the system, *for
free*".
-- Linus Torvalds
 
Odgovor na temu

B o j a n
eCTRL
EU

Član broj: 1178
Poruke: 2925
*.yubc.net

Jabber: bc@default.co.yu
Sajt: default.co.yu/~bc


+1 Profil

icon Re: mgetty problem06.02.2003. u 17:16 - pre 257 meseci
Hm,
okej, sad sam pogledao malo detaljnije ...
Fale ti neke osnovne stavke u /AutoPPP/ delu.
Moras da imas ovo:
Code:


-detach
asyncmap 0
modem
crtscts
require-pap
refuse-chap
proxyarp
ms-dns 1.2.3.4      # ovo samo za windows klijente
ms-dns 1.2.3.5      # takodje
netmask 255.0.0.0 # maska na tvom localnet-u


To mozes da dodas direktno kao argument pppd-u, ili jednostavno da stavis to u jedan file, i da to pozoves sa pppd file /ppp.server ( zbog preglednosti u login.conf ).

Ovaj sistem mora da radi, ili u protivnom nemas ispravno kompajliran ( mejkovan l;) ) pppd ili/i mgetty.

useful link
"It's okay, I'm just admiring to the shape of your skull!" -- Dr. Gonzo
 
Odgovor na temu

[es] :: Linux/UNIX serveri i servisi :: mgetty problem

[ Pregleda: 4233 | Odgovora: 8 ] > FB > Twit

Postavi temu Odgovori

Navigacija
Lista poslednjih: 16, 32, 64, 128 poruka.