Bug 344391
Summary: | Connect with modem fails | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | David <david-d> |
Component: | system-config-network | Assignee: | Bill Nottingham <notting> |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 8 | CC: | harald, rvokal |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2007-10-29 19:57:46 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 348831 | ||
Bug Blocks: | 235703 |
Description
David
2007-10-21 12:25:34 UTC
please attach you /etc/sysconfig/network-scripts/ifcfg-* files (not ifcfg-lo) [david@localhost ~]$ cat /etc/sysconfig/network-scripts/ifcfg-Tele2 # Please read /usr/share/doc/initscripts-*/sysconfig.txt # for the documentation of these parameters. TYPE=Modem DEVICE=ppp0 BOOTPROTO=dialup ONBOOT=no USERCTL=yes PEERDNS=yes AC=off BSDCOMP=off VJCCOMP=off CCP=off PC=off VJ=off LINESPEED=115200 MODEMPORT=/dev/ttyS0 PROVIDER=Tele2 DEFROUTE=yes PERSIST=yes PAPNAME=tele2internet WVDIALSECT=Tele2 MODEMNAME=Modem0 DEMAND=no IPV6INIT=no IDLETIMEOUT=600 what does this output?: $ ifup Tele2 [root@localhost ~]# ifup Tele2 Device Tele2: The connect script failed (maybe wrong password or wrong phone number). Wvdial works... [root@localhost ~]# cat /etc/wvdial.conf [Modem0] Modem = /dev/ttyS0 Baud = 115200 SetVolume = 3 Dial Command = ATDT Init1 = ATZ Init3 = ATM1L3 FlowControl = CRTSCTS [Dialer Tele2] Username = tele2internet Password = tele2internet Phone = 1005019271000 Stupid Mode = 1 Init1 = ATZ Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 Inherits = Modem0 strange, ifup should call wvdial... If you do 'sh -x /etc/sysconfig/network-scripts/ifup-ppp Tele2' (might need some adjusting), can you post the output? [root@localhost ~]# sh -x /etc/sysconfig/network-scripts/ifup-ppp Tele2 + . /etc/init.d/functions ++ TEXTDOMAIN=initscripts ++ umask 022 ++ PATH=/sbin:/usr/sbin:/bin:/usr/bin ++ export PATH ++ '[' -z '' ']' ++ COLUMNS=80 ++ '[' -z '' ']' +++ /sbin/consoletype ++ CONSOLETYPE=pty ++ '[' -f /etc/sysconfig/i18n -a -z '' -a -z '' ']' ++ . /etc/profile.d/lang.sh +++ sourced=0 +++ '[' -n en_US.UTF-8 ']' +++ sourced=1 +++ '[' -n '' ']' +++ '[' 1 = 1 ']' +++ '[' -n en_US.UTF-8 ']' +++ export LANG +++ '[' -n '' ']' +++ unset LC_ADDRESS +++ '[' -n '' ']' +++ unset LC_CTYPE +++ '[' -n '' ']' +++ unset LC_COLLATE +++ '[' -n '' ']' +++ unset LC_IDENTIFICATION +++ '[' -n '' ']' +++ unset LC_MEASUREMENT +++ '[' -n '' ']' +++ unset LC_MESSAGES +++ '[' -n '' ']' +++ unset LC_MONETARY +++ '[' -n '' ']' +++ unset LC_NAME +++ '[' -n '' ']' +++ unset LC_NUMERIC +++ '[' -n '' ']' +++ unset LC_PAPER +++ '[' -n '' ']' +++ unset LC_TELEPHONE +++ '[' -n '' ']' +++ unset LC_TIME +++ '[' -n '' ']' +++ unset LC_ALL +++ '[' -n '' ']' +++ unset LANGUAGE +++ '[' -n '' ']' +++ unset LINGUAS +++ '[' -n '' ']' +++ unset _XKB_CHARSET ++++ /sbin/consoletype +++ consoletype=pty +++ '[' -n '' ']' +++ '[' -n '' ']' +++ '[' -n en_US.UTF-8 ']' +++ case $LANG in +++ '[' xterm = linux ']' +++ unset SYSFONTACM SYSFONT +++ unset sourced +++ unset langfile ++ unset LANGSH_SOURCED ++ '[' -z '' ']' ++ '[' -f /etc/sysconfig/init ']' ++ . /etc/sysconfig/init +++ BOOTUP=color +++ GRAPHICAL=yes +++ RES_COL=60 +++ MOVE_TO_COL='echo -en \033[60G' +++ SETCOLOR_SUCCESS='echo -en \033[0;32m' +++ SETCOLOR_FAILURE='echo -en \033[0;31m' +++ SETCOLOR_WARNING='echo -en \033[0;33m' +++ SETCOLOR_NORMAL='echo -en \033[0;39m' +++ LOGLEVEL=3 +++ PROMPT=yes +++ AUTOSWAP=no ++ '[' pty = serial ']' ++ '[' color '!=' verbose ']' ++ INITLOG_ARGS=-q ++ __sed_discard_ignored_files='/\(~\|\.bak\|\.orig\|\.rpmnew\|\.rpmorig\|\.rpmsave\)$/d' + cd /etc/sysconfig/network-scripts + . ./network-functions ++ PATH=/sbin:/usr/sbin:/bin:/usr/bin ++ export PATH ++ '[' -z '/\(~\|\.bak\|\.orig\|\.rpmnew\|\.rpmorig\|\.rpmsave\)$/d' ']' + '[' Tele2 = daemon ']' + CONFIG=Tele2 + '[' -f Tele2 ']' + CONFIG=ifcfg-Tele2 + source_config ++ basename ifcfg-Tele2 ++ sed 's/^ifcfg-//g' + DEVNAME=Tele2 + grep -q '[^g]-' + echo ifcfg-Tele2 + . ifcfg-Tele2 ++ TYPE=Modem ++ DEVICE=ppp0 ++ BOOTPROTO=dialup ++ ONBOOT=no ++ USERCTL=yes ++ PEERDNS=yes ++ AC=off ++ BSDCOMP=off ++ VJCCOMP=off ++ CCP=off ++ PC=off ++ VJ=off ++ LINESPEED=115200 ++ MODEMPORT=/dev/ttyS0 ++ PROVIDER=Tele2 ++ DEFROUTE=yes ++ PERSIST=no ++ PAPNAME=tele2internet ++ WVDIALSECT=Tele2 ++ MODEMNAME=Modem0 ++ DEMAND=no + '[' -r keys-Tele2 ']' + case "$TYPE" in + DEVICETYPE=ppp + '[' -z ppp ']' + '[' -z '' -a -n '' ']' + '[' -z '' ']' + REALDEVICE=ppp0 + '[' ppp0 '!=' ppp0 ']' + ISALIAS=no + '[' -n '' ']' + '[' -n '' ']' + '[' no '!=' yes -a Modem '!=' xDSL ']' + exec /sbin/ppp-watch Tele2 '' Device Tele2: The connect script failed (maybe wrong password or wrong phone number). the connect script is wrong, as per bug #348831 Thanks Please try the wvdial rpms at: http://koji.fedoraproject.org/scratch/notting/task_218610/ Tentatively nominating for blocker list. Need testing of this fix. Fixed in 1.60-3.fc8. |