[Bug 351870] New: wvdial has a few bugs:
https://bugzilla.novell.com/show_bug.cgi?id=351870 Summary: wvdial has a few bugs: Product: openSUSE 10.2 Version: Final Platform: i686 OS/Version: openSUSE 10.2 Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: olli@digger.org.ru QAContact: qa@suse.de Found By: Customer wvdial bug 1: ____________________________________________________________ wvdial require login name to be set in default section even if login name is set in custom section: screen-short: ============================================================================== ----------------- [ 02:35:22, root@sunbook, ~ ] # wvdial beeline-russia --> WvDial: Internet dialer version 1.54.0 --> Cannot get information for serial port. --> Initializing modem. --> Sending: ATZ ATZ OK --> Sending: AT&F AT&F OK --> Sending: AT+CGDCONT=1,"IP","internet.beeline.ru" AT+CGDCONT=1,"IP","internet.beeline.ru" OK --> Modem initialized. --> Idle Seconds = 300, disabling automatic reconnect. --> Configuration does not specify a valid login name. ----------------- [ 02:37:19, root@sunbook, ~ ] # ============================================================================== The config: ============================================================================== ----------------- [ 02:43:44, root@sunbook, /etc/ppp ] # cat /etc/wvdial.conf [Dialer Defaults] Modem = /dev/modem Baud = 115200 Init1 = ATZ Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 Init3 = Area Code = Phone = 0 Username = Password = Ask Password = 0 Dial Command = ATDT Stupid Mode = 1 Compuserve = 0 Force Address = Idle Seconds = 300 DialMessage1 = DialMessage2 = ISDN = 0 Auto DNS = 1 [Dialer beeline-russia] Modem = /dev/rfcomm3 Login = beeline Password = beeline Baud = 115200 Init1 = ATZ Init2 = AT&F Init3 = AT+CGDCONT=1,"IP","internet.beeline.ru" Dial Command = ATD Phone = *99***1# Auto DNS = 0 Remote Name = beeline Stupid Mode = 0 Check DNS = 0 Check Def Route = 0 Carrier Check = 0 New PPPD = no ----------------- [ 02:49:49, root@sunbook, /etc/ppp ] # ============================================================================== If changed Login & Password are set to 'unset' in the default section above - works OK. This beheviour either should be noted in man page, either removed as a brain damage (at list I think it is idiotic to claim that all section variables may be overriden and refuse to run unless default section has some possibly incorrect value set). ____________________________________________________________ wvdial bug 2: ____________________________________________________________ wvdial is compiled in a way, that it insist on using passwordfd plugin even if New PPPD is set to no according to man page: ============================================================================== ----------------- [ 02:43:44, root@sunbook, /etc/ppp ] # cat /etc/wvdial.conf [Dialer Defaults] Modem = /dev/modem Baud = 115200 Init1 = ATZ Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 Init3 = Area Code = Phone = 0 Username = Password = Ask Password = 0 Dial Command = ATDT Stupid Mode = 1 Compuserve = 0 Force Address = Idle Seconds = 300 DialMessage1 = DialMessage2 = ISDN = 0 Auto DNS = 1 [Dialer beeline-russia] Modem = /dev/rfcomm3 Login = beeline Password = beeline Baud = 115200 Init1 = ATZ Init2 = AT&F Init3 = AT+CGDCONT=1,"IP","internet.beeline.ru" Dial Command = ATD Phone = *99***1# Auto DNS = 0 Remote Name = beeline Stupid Mode = 0 Check DNS = 0 Check Def Route = 0 Carrier Check = 0 New PPPD = no ----------------- [ 02:49:49, root@sunbook, /etc/ppp ] # ----------------- [ 03:19:33, root@sunbook, /etc/ppp ] # wvdial beeline-russia --> WvDial: Internet dialer version 1.54.0 --> Cannot get information for serial port. --> Initializing modem. --> Sending: ATZ ATZ OK --> Sending: AT&F AT&F OK --> Sending: AT+CGDCONT=1,"IP","internet.beeline.ru" AT+CGDCONT=1,"IP","internet.beeline.ru" OK --> Modem initialized. --> Idle Seconds = 300, disabling automatic reconnect. --> Sending: ATD*99***1# --> Waiting for carrier. ATD*99***1# CONNECT ~[7f]}#@!}!}!} }8}#}$@#}(}"}'}"}"}&} } } } }%}&4qW}%V}-~ --> Carrier detected. Waiting for prompt. ~[7f]}#@!}!}"} }8}#}$@#}(}"}'}"}"}&} } } } }%}&4qW}%}<[1f]~ --> PPP negotiation detected. --> Starting pppd at Thu Jan 3 03:20:05 2008 --> pid of pppd: 4449 --> Disconnecting at Thu Jan 3 03:20:06 2008 --> The PPP daemon has died: pppd options error (exit code = 2) --> man pppd explains pppd error codes in more detail. --> I guess that's it for now, exiting --> The PPP daemon has died. (exit code = 2) ----------------- [ 03:20:09, root@sunbook, /etc/ppp ] # ----------------- [ 03:19:37, root@sunbook, ~ ] # cat /dev/null > /var/log/allmessages; tail -f /var/log/allmessages Jan 3 03:19:59 sunbook hcid[1260]: link_key_request (sba=00:16:CE:E5:EE:8D, dba=00:1C:A4:E0:46:A1) Jan 3 03:19:59 sunbook kernel: rfcomm_tty_ioctl: TIOCGSERIAL is not supported Jan 3 03:20:05 sunbook pppd[4449]: unrecognized option 'passwordfd' ============================================================================== ____________________________________________________________ wvdial bug 3: ____________________________________________________________ wvdial is modifying the /etc/ppp/pap-secrets and /etc/ppp/chap-secrets w/o user interaction and there seem to be no way to change that beheviour: ============================================================================== ----------------- [ 04:22:41, root@sunbook, ~ ] # cat /etc/ppp/pap-secrets | grep -v ^\#|grep -v ^\$ ----------------- [ 04:23:05, root@sunbook, ~ ] # $ man wvdial.conf 2>/dev/null| grep secret ----------------- [ 04:25:20, olli@sunbook, ~ ] $ ----------------- [ 04:23:05, root@sunbook, ~ ] # wvdial beeline-russia --> WvDial: Internet dialer version 1.54.0 --> Cannot get information for serial port. --> Initializing modem. --> Sending: ATZ ATZ OK --> Sending: AT&F AT&F OK --> Sending: AT+CGDCONT=1,"IP","internet.beeline.ru" AT+CGDCONT=1,"IP","internet.beeline.ru" OK --> Modem initialized. --> Idle Seconds = 300, disabling automatic reconnect. --> Sending: ATD*99***1# --> Waiting for carrier. ATD*99***1# CONNECT ~[7f]}#@!}!}!} }8}#}$@#}(}"}'}"}"}&} } } } }%}&. %)=t~ --> Carrier detected. Waiting for prompt. ~[7f]}#@!}!}"} }8}#}$@#}(}"}'}"}"}&} } } } }%}&. %)wf~ --> PPP negotiation detected. --> Starting pppd at Thu Jan 3 04:26:18 2008 --> pid of pppd: 4962 --> Disconnecting at Thu Jan 3 04:26:19 2008 --> The PPP daemon has died: pppd options error (exit code = 2) --> man pppd explains pppd error codes in more detail. --> I guess that's it for now, exiting --> The PPP daemon has died. (exit code = 2) ----------------- [ 04:26:21, root@sunbook, ~ ] # cat /etc/ppp/pap-secrets | grep -v ^\#|grep -v ^\$ unset beeline beeline ----------------- [ 04:26:31, root@sunbook, ~ ] # ----------------- [ 04:26:31, root@sunbook, ~ ] # cat /etc/wvdial.conf [Dialer Defaults] Modem = /dev/modem Baud = 115200 Init1 = ATZ Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 Init3 = Area Code = Phone = 0 Username = unset Password = unset Ask Password = 0 Dial Command = ATDT Stupid Mode = 1 Compuserve = 0 Force Address = Idle Seconds = 300 DialMessage1 = DialMessage2 = ISDN = 0 Auto DNS = 1 [Dialer beeline-russia] Modem = /dev/rfcomm3 Login = beeline Password = beeline Baud = 115200 Init1 = ATZ Init2 = AT&F Init3 = AT+CGDCONT=1,"IP","internet.beeline.ru" Dial Command = ATD Phone = *99***1# Auto DNS = 0 Remote Name = beeline Stupid Mode = 0 Check DNS = 0 Check Def Route = 0 Carrier Check = 0 New PPPD = no ----------------- [ 04:26:57, root@sunbook, ~ ] # ============================================================================== wvdial does that independently to existance of an entry suitable for connection being established with it, at least after adding string 'sunbook beeline beeline *' to the pap-secrets the result (after running 'wvdial beeline-russia' is the same: ============================================================================== ----------------- [ 04:29:12, root@sunbook, ~ ] # cat /etc/ppp/pap-secrets | grep -v ^\#|grep -v ^\$ sunbook beeline beeline * unset beeline beeline ----------------- [ 04:29:16, root@sunbook, ~ ] # ============================================================================== Also the wvdial adds the entry to the account specified in the default section, ignoring that it is being run for custom section overriding related values from default section. This is also a brain damage. The wvdial does this independently to the value of option 'Stupid Mode' - if set to 1 the result is the same: ============================================================================== ----------------- [ 04:39:28, root@sunbook, ~ ] # cat /etc/ppp/pap-secrets | grep -v ^\#|grep -v ^\$ sunbook beeline beeline * ----------------- [ 04:39:45, root@sunbook, ~ ] # cat /etc/ppp/chap-secrets | grep -v ^\#|grep -v ^\$ sunbook beeline beeline * sunbook "" "" * ----------------- [ 04:39:50, root@sunbook, ~ ] # wvdial beeline-russia --> WvDial: Internet dialer version 1.54.0 --> Cannot get information for serial port. --> Initializing modem. --> Sending: ATZ ATZ OK --> Sending: AT&F AT&F OK --> Sending: AT+CGDCONT=1,"IP","internet.beeline.ru" AT+CGDCONT=1,"IP","internet.beeline.ru" OK --> Modem initialized. --> Idle Seconds = 300, disabling automatic reconnect. --> Sending: ATD*99***1# --> Waiting for carrier. ATD*99***1# CONNECT ~[7f]}#@!}!}!} }8}#}$@#}(}"}'}"}"}&} } } } }%}&h\[13]W)g~ --> Carrier detected. Starting PPP immediately. --> Starting pppd at Thu Jan 3 04:40:06 2008 --> pid of pppd: 5043 --> Disconnecting at Thu Jan 3 04:40:06 2008 --> The PPP daemon has died: pppd options error (exit code = 2) --> man pppd explains pppd error codes in more detail. --> I guess that's it for now, exiting --> The PPP daemon has died. (exit code = 2) ----------------- [ 04:40:09, root@sunbook, ~ ] # cat /etc/ppp/pap-secrets | grep -v ^\#|grep -v ^\$ sunbook beeline beeline * unset beeline beeline ----------------- [ 04:40:15, root@sunbook, ~ ] # cat /etc/ppp/chap-secrets | grep -v ^\#|grep -v ^\$ sunbook beeline beeline * sunbook "" "" * unset beeline beeline ----------------- [ 04:40:23, root@sunbook, ~ ] # ----------------- [ 04:44:15, root@sunbook, ~ ] # cat /etc/wvdial.conf [Dialer Defaults] Modem = /dev/modem Baud = 115200 Init1 = ATZ Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 Init3 = Area Code = Phone = 0 Username = unset Password = unset Ask Password = 0 Dial Command = ATDT Stupid Mode = 1 Compuserve = 0 Force Address = Idle Seconds = 300 DialMessage1 = DialMessage2 = ISDN = 0 Auto DNS = 1 [Dialer beeline-russia] Modem = /dev/rfcomm3 Login = beeline Password = beeline Baud = 115200 Init1 = ATZ Init2 = AT&F Init3 = AT+CGDCONT=1,"IP","internet.beeline.ru" Dial Command = ATD Phone = *99***1# Auto DNS = 0 Remote Name = beeline Stupid Mode = 1 Check DNS = 0 Check Def Route = 0 Carrier Check = 0 New PPPD = no ----------------- [ 04:44:20, root@sunbook, ~ ] # ============================================================================== ____________________________________________________________ PS: Sorry for submitting this as one post - currently working over gprs - too slow, so repeating this 4 times 'll be painfull. %) Also sorry for no keys - no javascript right now. PPS: My MX is temp down for a month or so (depending when I'll 've time to reinstall OS on replacement hdd on my own collocation) - thus if need more info - use 19972005@mail.ru - my temp one. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=351870 Cyril Hrubis <chrubis@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.provo.novell.com |hvogel@novell.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=351870 User hvogel@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=351870#c1 Hendrik Vogelsang <hvogel@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WONTFIX --- Comment #1 from Hendrik Vogelsang <hvogel@novell.com> 2008-01-16 08:31:55 MST --- please report these bugs upstream http://alumnit.ca/wiki/?WvDial and not with us. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com