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

wvdial

[es] :: Linux :: wvdial

[ Pregleda: 4880 | Odgovora: 9 ] > FB > Twit

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 - pre 252 meseci
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)
 
Odgovor na temu

MMX
Miloš Malović
Platform engineer, Supplyframe
Beograd

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

Jabber: mmx@elitesecurity.org
ICQ: 98797759
Sajt: www.mmx.rs


+11 Profil

icon Re: wvdial01.08.2003. u 23:07 - pre 252 meseci
Postuj config fajl pa cemo videti sta nije uredu.
↑ ↑ ↓ ↓ ← → ← → B A B A [select] [start]
 
Odgovor na temu

mekani
Goran Mekic
Novi Sad

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

ICQ: 163226991


Profil

icon Re: wvdial02.08.2003. u 03:26 - pre 252 meseci
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)
 
Odgovor na temu

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 - pre 252 meseci
A shta cje ti uopshte pap (chap) secrets kad koristish wvdial?
 
Odgovor na temu

mekani
Goran Mekic
Novi Sad

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

ICQ: 163226991


Profil

icon Re: wvdial02.08.2003. u 04:14 - pre 252 meseci
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)
 
Odgovor na temu

NLO

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



Profil

icon Re: wvdial02.08.2003. u 11:16 - pre 252 meseci
Code:

Phone = 4873333
Username = gost
Password = gost

stavish ovde telefon i user/pass i konektujesh se, prosto :)
 
Odgovor na temu

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 - pre 252 meseci
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..
 
Odgovor na temu

mekani
Goran Mekic
Novi Sad

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

ICQ: 163226991


Profil

icon Re: wvdial03.08.2003. u 07:13 - pre 252 meseci
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)
 
Odgovor na temu

tdjokic
Tomislav Djokic
u penziji
Beograd

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

Sajt: www.distrowatch.com


+210 Profil

icon Re: wvdial12.08.2003. u 08:47 - pre 252 meseci
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


Na svetu postoje samo 2 OS-a: 1. Mint, 2. svi ostali!
 
Odgovor na temu

-V-O-Y-A-G-E-R-
EU

SuperModerator
Član broj: 6086
Poruke: 8289

Sajt: MacOglasi.com


+349 Profil

icon Re: wvdial14.10.2003. u 16:29 - pre 249 meseci
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 Treo750 MioA701 KG275 iPhone3G
5000 E51 iPhone3GS Desire DesireHD E71
7110 iPhone4 Note Nexus Bold9780
100 Nexus4 Nexus5 Q10 Z3C
iPhone5C OnePlus2 S4 S7E HT70 Power5 Mate20Pro S22U Fold4 S23U
 
Odgovor na temu

[es] :: Linux :: wvdial

[ Pregleda: 4880 | Odgovora: 9 ] > FB > Twit

Postavi temu Odgovori

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