Srodne teme
16.06.2001. wvdial & ??
17.11.2001. wvdial
18.03.2002. Problem sa wvdial
30.09.2002. problemi sa wvdial-1.53
06.10.2002. wvdial
04.10.2003. wvdial - NO DIALTONE
22.10.2003. wvdial --chat
26.10.2003. dialdl --wvdial --chat
17.07.2005. SuSE 9.3 + pppd(0) died
01.09.2005. Problem sa instalacijom wvdial
Navigacija
Lista poslednjih: 16, 32, 64, 128 poruka.

wvdial

[es] :: Linux :: wvdial

[ Pregleda: 1956 | Odgovora: 9 ]

Postavi temu Odgovori

Autor

Pretraga teme: Traži
Markiranje Štampanje RSS

mekani
Goran Mekic
Novi Sad

Član broj: 4544
Poruke: 51
*.ptt.yu

ICQ: 163226991


Profil

icon wvdial01.08.2003. u 16:30

Kada se konektujem preko wvdial-a nece da mi upise username i password u {pap,chap}-secrets. Jeste da mi nije tesko da to sam regulisem, ali opet kada znam da to moze sam wvdial da uradi, zasto da ne. :o) U pitanju je Gentoo Linux ako uopste ista znaci, pppd je 2.4.1 i wvdial 1.53. A ovako izgleda moj /etc/wvdial.conf
Meka(ni)
01.08.2003. u 16:30 

MMX
Miloš Malović
Beograd

SuperModerator
Član broj: 2423
Poruke: 1813
*.verat.net

Jabber: mmx@elitesecurity.org
ICQ: 98797759
Sajt: www.mmx.co.yu


Profil

icon Re: wvdial01.08.2003. u 23:07
Postuj config fajl pa cemo videti sta nije uredu.
01.08.2003. u 23:07 

mekani
Goran Mekic
Novi Sad

Član broj: 4544
Poruke: 51
*.ptt.yu

ICQ: 163226991


Profil

icon Re: wvdial02.08.2003. u 03:26
Pa ... kao sto se i vidi u gore, namera mi je i bila da ga posaljem. Iskreno, nemam pojma gde sam zabrljao. Uglavnom, evo ga:

[Dialer Defaults]
Modem = /dev/ttyS2
Baud = 115200
Init1 = ATX3
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 M1L0
ISDN = 0
Modem Type = Analog Modem
Phone = 4873333
Username = gost
Password = gost
Dial Command = ATDP
Auto Reconnect = 0
Auto DNS = 1
Idle Seconds = 300
Dial Attemts = 10
Stupid Mode = 1
New PPPD = 1

Da li mozda treba nesto da sredim u /etc/ppp/peers/wvdial i wvdial-pipe?
Meka(ni)
02.08.2003. u 03:26 

impaque
Ivan Savčić
YUnet International
Beograd, Zvezdara

Član broj: 717
Poruke: 939
*.ppp-bg.sezampro.yu

ICQ: 27215173
Sajt: www.imped.net


Profil

icon Re: wvdial02.08.2003. u 03:42
A shta cje ti uopshte pap (chap) secrets kad koristish wvdial?
02.08.2003. u 03:42 

mekani
Goran Mekic
Novi Sad

Član broj: 4544
Poruke: 51
*.ptt.yu

ICQ: 163226991


Profil

icon Re: wvdial02.08.2003. u 04:14
Pa koliko ja znam ne moze pppd da radi bez njega. Mada ... mozda i ne znam ja puno. Kako si ti mislio da se konektiram?
Meka(ni)
02.08.2003. u 04:14 

NLO

Član broj: 411
Poruke: 877
*.ppp-bg.sezampro.yu

Sajt: dlzz.net


Profil

icon Re: wvdial02.08.2003. u 11:16
Code:

Phone = 4873333
Username = gost
Password = gost

stavish ovde telefon i user/pass i konektujesh se, prosto :)
02.08.2003. u 11:16 

impaque
Ivan Savčić
YUnet International
Beograd, Zvezdara

Član broj: 717
Poruke: 939
*.ppp-bg.sezampro.yu

ICQ: 27215173
Sajt: www.imped.net


Profil

icon Re: wvdial02.08.2003. u 15:17
True, true.

man 5 wvdial.conf

A i ako pogledaš bolje, na dnu man wvdial piše:
Code:
       /etc/ppp/{pap,chap}-secrets
              Contains a list of usernames and passwords used by pppd for authentication.  wvdial maintains this
              list automatically.



PS: baš prijatno iznenađenje da ima Gentoo-ovaca (...ovaca?! ;D ) u Jugi..
02.08.2003. u 15:17 

mekani
Goran Mekic
Novi Sad

Član broj: 4544
Poruke: 51
*.ptt.yu

ICQ: 163226991


Profil

icon Re: wvdial03.08.2003. u 07:13
Pa slazem se da bi to tako TREBALO da radi, ali ne znam zasto kod mene to nije slucaj. Inace, wvdial sam i kao root pokusao da pokrenem misleci da mozda nema dozvolu da upise u {pap,chap}-secrets, medjutim i tada je ista prica. Ima li iko ikakvu ideju?
Meka(ni)
03.08.2003. u 07:13 

tdjokic

Član broj: 6736
Poruke: 5700
*.verat.net



Profil

icon Re: wvdial12.08.2003. u 08:47
Ovo je uputstvo za podesavanje wvdial-a koje sam slucajno nasao u nekom drajveru za Lucent modem, a cini mi se bolje od originalnog, wvdial-ovog. Da spomenem i ovo - wvdial nece da radi kao user pa teba otici do izvrsnog fajla wvdial, u mom slucaju ovde: /usr/bin/wvdial i u Properties mu dodati ovlascenja i za usera, ne samo za root. Ja imam v.1.42 na SuSE 8.2. (SuSE 8.2 ima i GUI wvdial = Kinternet, ali se meni vise dopada klasican)

THis is HowTo to set up WVDIAL for usage with winmodems.
The guidance here is for ltmodem hardware & drivers.
But the process will be substantially the same for any winmodem.
All steps should be run as Root, as an ordinary User may get a
"driver or resource busy" error.

1) First check that your drivers in fact have been added to the running kernel:
$ modprobe lt_serial
$ lsmod
among modules displayed there should be:
lt_serial 21008
lt_modem 314752 [lt_serial]

2) wvdialconf scans ONLY for ports with generic serial port names: /dev/ttyS*
The ports corresponding to PCMCIA modem cards should have such a
designation. But a symbolic link is needed to support scanning for other
types of Lucent modem cards: ISA, PCI or unknown types of some laptops.
First verify that there is present a real node needed by your winmodem.
For the case of ltmodems it is:
$ ls -l /dev/ttyLT0
crw-rw---- 1 root dialout 62, 64 Jun 2 13:32 /dev/ttyLT0

which should have been made earlier by
./autoload
Next make the TEMPORARY symbolic link using the "local/experimental" port
reservation space, S14 or S15:
$ ln -sf /dev/ttyLT0 /dev/ttyS14
Verify success with:
$ # ls -l /dev/ttyS14
lrwxrwxrwx 1 root root 11 Jun 2 13:16 /dev/ttyS14 -> /dev/ttyLT0

**************************************************

AFTER your setups below are completed, BE SURE to:
$ rm -f /dev/ttyS14
as for a Very-Small-Minority of Systems having resource conflicts,
retention of /dev/ttyS14 could cause a CRASH during bootup.

**************************************************

3) Now run the configuration test with command:
$ wvdialconf /etc/wvdial.conf
There should be output like:
-----
Scanning your serial ports for a modem.

ttyS0<*1>: ATQ0 V1 E1 -- ATQ0 V1 E1 -- ATQ0 V1 E1 -- nothing.
Port Scan<*1>: S1 S2 S3
ttyS14<*1>: ATQ0 V1 E1 -- OK
ttyS14<*1>: ATQ0 V1 E1 Z -- OK
ttyS14<*1>: ATQ0 V1 E1 S0=0 -- OK
ttyS14<*1>: ATQ0 V1 E1 S0=0 &C1 -- OK
ttyS14<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK
ttyS14<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 S11=55 -- OK
ttyS14<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 S11=55 +FCLASS=0 -- OK
ttyS14<*1>: Modem Identifier: ATI -- LT V.90 Data+Fax Modem Version 5.99
ttyS14<*1>: Speed 2400: AT -- OK
ttyS14<*1>: Speed 4800: AT -- OK
ttyS14<*1>: Speed 9600: AT -- OK
ttyS14<*1>: Speed 19200: AT -- OK
ttyS14<*1>: Speed 38400: AT -- OK
ttyS14<*1>: Speed 57600: AT -- OK
ttyS14<*1>: Speed 115200: AT -- OK
ttyS14<*1>: Max speed is 115200; that should be safe.
ttyS14<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 S11=55 +FCLASS=0 -- OK
--------
and there will be written a file /etc/wvdial.conf:

[Dialer Defaults]
Modem = /dev/ttyS14
Baud = 115200
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 S11=55 +FCLASS=0
; Phone = <Target Phone Number>
; Username = <Your Login Name>
; Password = <Your Password >

---------
The following should next be done:
1) Edit
/dev/ttyS14 ---> /dev/ttyLT0
2) Edit the lines beginning with ; including deletion of ;
3) Your modem May or May Not be set with an appropriate Country Code.
If in doubt, edit per below:

[Dialer Defaults]
Modem = /dev/ttyLT0
Baud = 115200
Init1 = ATZ
Init2 = AT+GCI=HexadecimalNumber
Init3 = ATQ0 V1 E1 S0=0 &C1 &D2 S11=55 +FCLASS=0
Phone = Target_Phone_Number
Username = Your_Login_Name
Password = Your_Password

-------
HexadecimalNumber should be chosen from the list in DOCs/CountryCodes.

That is the essense.
You should be able to dialout simple with:
$ wvdial
and terminate a session with:
$ Ctrl-C

For ltmodem users a liner within /etc/modules.conf
alias char-major-62 lt_serial

enables demand loading of drivers, upon start up of PPP.
--------------------------------------------------

Happily note that Wvdial supports Many Useful configuration variants
Do read the documentation suppled with the wvdial package.
Below is one of mine:

======================
[Dialer Defaults]
Modem = /dev/ttyLT0
Baud = 115200
Init1 = ATZ
# Init2 = AT+GCI=b5, country code usage when traveling
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 S11=55 +FCLASS=0

# Phone = 17574238738
Phone = 3019178111
Username = stodolsk
Password = xxxxxxx

[Dialer daughter]
phone=4301146
Username = xxxxxxxx
Password = YYYYYYY

[Dialer lake]
Phone = 17574238738

[Dialer hotel]
Phone = 8,1,9252189607

# for verbose report
# wvdial >/var/log/wvdial.log 2>&1 &

# Jacques advice.
# This last thing has rescued me from something looking like your new problem:
# pppd waited for a prompt and the ISP waited for a request.
# StupidMode = yes
# With StupidMode on using wvdial,
# pppd starts trying to establish a connection and everything works fine.
===============
For example, to use my daughter's IP when visiting, it suffices to:

$ wvdial daughter



12.08.2003. u 08:47 

-V-O-Y-A-G-E-R-
Mario Tomić
EXPERT team za sudska veštačenja
Novi Sad

SuperModerator
Član broj: 6086
Poruke: 4993
194.247.222.*

ICQ: 114123837
Sajt: mariotomic.com


Profil

icon Re: wvdial14.10.2003. u 16:29
Za sta je ono stupid mode?
d520 C35 A40 S45i SL45i ME45i 3650 6600 SX1 P800 S65 P910i Wizard W810i P990i BlueAngel 6280 E61 iPhone
-------
Uslužno kalibrisanje monitora.
-------
Potpišite peticiju za iPhone 3G u Srbiji!
14.10.2003. u 16:29 

[es] :: Linux :: wvdial

[ Pregleda: 1956 | Odgovora: 9 ]

Postavi temu Odgovori

Srodne teme
16.06.2001. wvdial & ??
17.11.2001. wvdial
18.03.2002. Problem sa wvdial
30.09.2002. problemi sa wvdial-1.53
06.10.2002. wvdial
04.10.2003. wvdial - NO DIALTONE
22.10.2003. wvdial --chat
26.10.2003. dialdl --wvdial --chat
17.07.2005. SuSE 9.3 + pppd(0) died
01.09.2005. Problem sa instalacijom wvdial
Navigacija
Lista poslednjih: 16, 32, 64, 128 poruka.