RE: WvDial<Err>: Warning: Could not modify /etc/ppp/pap-secrets: From ModemData.txt:In case of a message like: Warning: Could not modify /etc/ppp/pap-secrets: Permission deniedsee http://linmodems.technion.ac.il/bigarch/archive-sixth/msg04656.html MarvS On Jan 2, 2008 5:29 AM, Chris Brown <chris@xxxxxxxxxxxxxxxxxxxxx> wrote:> Chris Brown, Australia, kernel 2.6.22-14-generic>>>> Ubuntu 7.10 desktop, PCI modem for dialup> downloaded and used scanModem> downloaded and installed driver> hcfpcimodem_1.14full_k2.6.22_14_generic_ubuntu_i386.deb.zip> installed GnomePPP> gnome-ppp_0.3.23-1_i386.deb>> couldn't get this to instal; don't know if I need to:> gnome-pppfixedforgutsy_0.3.24-1_i386.deb>>> modem initializes, connects, but fails authentication. Username and> password is same as used on a windows system (in the same box, on a> different hard drive)>>> ==================== ModemData>> -------------------------- System information> ----------------------------> CPU=i686,> Linux version 2.6.22-14-generic (buildd@palmer) (gcc version 4.1.3> 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)) #1 SMP Sun Oct 14> 23:05:12 GMT 2007> scanModem update of: 2007-12-07>>> There are no blacklisted modem drivers in /etc/modprobe* files>> The Advanced Linux Sound Architecture (ALSA) packages providing audio> support on your System,> also includes drivers for some modems. High Definition Audio (HDA)> cards can themselves host> a softmodem chipset, with both audio+modem supported by a snd-hda-> intel driver.> The ALSA diagnostics are written during bootup to /proc/asound/ folders.>>> Modem not detected though HDA card diagnostics, though not excluding> a possible Conexant modem chip impervious to ALSA diagnostics.> Proceeding through alternative possibilties.>> Summary card and chipset information is in:> /proc/asound/cards:> 0 [SI7012 ]: ICH - SiS SI7012> SiS SI7012 with ALC200,200P at irq 21>> /proc/asound/pcm:> 00-01: Intel ICH - MIC ADC : SiS SI7012 - MIC ADC : capture 1> 00-00: Intel ICH : SiS SI7012 : playback 1 : capture 1>> A copy of /proc/asound had been copied to Modem/ALSAroot.tgz> USB modem not detected by lsusb>> For candidate card, firmware information and bootup diagnostics are:>> PCI slot PCI ID SubsystemID Name> ---------- --------- --------- --------------> 00:10.0 127a:1005 127a:1005 Serial controller: Rockwell> International HCF 56k Data/Fax/Voice/Spkp>> Modem interrupt assignment and sharing:> --- Bootup diagnostics for card in PCI slot 00:10.0 ----> [ 22.311754] PCI: Enabling device 0000:00:10.0 (0004 -> 0006)> [ 22.311774] ACPI: PCI Interrupt 0000:00:10.0[A] -> GSI 19 (level,> low) -> IRQ 16> [ 22.311785] ACPI: PCI interrupt for device 0000:00:10.0 disabled>> The PCI slot 00:10.0 of the modem card may be disabled early in> a bootup process, but then enabled later. If modem drivers load> but the modem is not responsive, read Bootup.txt about possible> fixes.> Send dmesg.txt along with ModemData.txt to discuss@xxxxxxxxxxxxx> if help is needed.>>> === Finished modem firmware and bootup diagnostics section. ===> === Next deducing cogent software ===>>> There is candidate modem software.>> For candidate modem in PCI bus: 00:10.0> Class 0700: 127a:1005 Serial controller: Rockwell International> HCF 56k Data/Fax/Voice/Spkp> Primary PCI_id 127a:1005> Support type needed or chipset: hcflinmodem>>>> For owners of a Dell PCs with Conexant HSF modems, a driver source> package with full speed enabled is available, but requires driver> compiling. Read Conexant.txt>> Read Conexant.txt>> Writing Conexant.txt>>> Completed candidate modem analyses.>> The base of the UDEV device file system is: /dev/.udev>> Versions adequately match for the compiler installed: 4.1.3> and the compiler used in kernel assembly: 4.1.3>>>> Minimal compiling resources appear complete:> make utility - /usr/bin/make> Compiler version 4.1> linuc_headers base folder /lib/modules/2.6.22-14-generic/build>> However some compilations and executable functions may need> additional files,> in the FileNames.h (so called kernel "h"eaders) collection> installed in /usr/include/ .> For martian_modem, additional required packages are libc6-dev (and> for Debian/Ubuntu, linux-libc-dev). The also required headers of> package libc6 are commonly installed by default.>>>> If a driver compilation fails, with message including some lack of> some FileName.h (stdio.h for example), then> Some additional kernel-header files need installation to /usr/> include. The minimal additional packages are libc6-dev> and any of its dependents, under Ubuntu linux-libc-dev>> If an alternate ethernet connection is available,> $ apt-get update> $ apt-get -s install linux-kernel-devel> will install needed pacakage> For Debian/Ubuntu related distributions, run the following command to> display the needed package list:>> Otherwise packages have to be found through http://packages.ubuntu.com> Once downloaded and transferred into a Linux partition,> they can be installed alltogether with:> $ sudo dpkg -i *.deb>>> Checking pppd properties:> -rwsr-xr-- 1 root dip 269256 2007-10-05 05:27 /usr/sbin/pppd>> In case of an "error 17" "serial loopback" problem, see:> http://phep2.technion.ac.il/linmodems/archive-sixth/msg02637.html>> To enable dialout without Root permission do:> $ su - root (not for Ubuntu)> sudo chmod a+x /usr/sbin/pppd> or under Ubuntu related Linuxes> sudo chmod a+x /usr/sbin/pppd>> Checking settings of: /etc/ppp/options> asyncmap 0> noauth> crtscts> lock> hide-password> modem> proxyarp> lcp-echo-interval 30> lcp-echo-failure 4> noipx>> In case of a message like:> Warning: Could not modify /etc/ppp/pap-secrets: Permission denied> see http://linmodems.technion.ac.il/bigarch/archive-sixth/msg04656.html>> Read Modem/YourSystem.txt concerning other COMM channels: eth0> Which can interfere with Browser naviagation.>> Don't worry about the following, it is for the experts> should trouble shooting be necessary.> ==========================================================>> Checking for modem support lines:> --------------------------------------> /device/modem symbolic link:> slmodemd created symbolic link /dev/ttySL0:> Within /etc/udev/ files:>> Within /etc/modprobe.conf files:> /etc/modprobe.d/blacklist-modem:# Uncomment these entries in order to> blacklist unwanted modem drivers> /etc/modprobe.d/blacklist-modem:# blacklist snd-atiixp-modem> /etc/modprobe.d/blacklist-modem:# blacklist snd-via82xx-modem> /etc/modprobe.d/alsa-base:options snd-atiixp-modem index=-2> /etc/modprobe.d/alsa-base:options snd-via82xx-modem index=-2> Within any ancient /etc/devfs files:>> Within ancient kernel 2.4.n /etc/module.conf files:>> --------- end modem support lines -------->> ======================================= dial>> …> WvDial Modem<*1>: ATM1L3DT0198379000> WvDial Modem<*1>: CONNECT 115200> WvDial Modem<*1>: User Access Verification> WvDial Modem<*1>: login:> WvDial<*1>: Carrier detected. Waiting for prompt.> WvDial Modem<*1>: login:> WvDial<*1>: Looks like a login prompt.> WvDial<*1>: Sending: bbb> WvDial Modem<*1>: bbb> WvDial Modem<*1>: Password:> WvDial<*1>: Looks like a password prompt.> WvDial<*1>: Sending: (password)> WvDial Modem<*1>: % Authentication failed.> WvDial Modem<*1>: login:> WvDial<*1>: Looks like a login prompt.> WvDial<*1>: Sending: bbb> WvDial Modem<*1>: bbb> WvDial Modem<*1>: Password:> WvDial<*1>: Looks like a password prompt.> WvDial<*1>: Sending: (password)> WvDial Modem<*1>: % Authentication failed.> WvDial<Err>: Connected, but carrier signal lost! Retrying...> WvDial<*1>: Sending: ATM1L3DT0198379000> WvDial<*1>: Waiting for carrier.> WvDial Modem<*1>: NO CARRIER> WvDial<Warn>: No Carrier! Trying again.> WvDial<Warn>: Maximum Attempts Exceeded..Aborting!!> WvDial<*1>: Disconnecting at Wed Jan 2 12:53:40 2008>>> and a subsequent attempt:>> /home/cb/.wvdial.conf<Warn>: Ignoring malformed input line: ";Do NOT> edit this file by hand!"> WvDial<*1>: WvDial: Internet dialer version 1.56> WvModem<*1>: Cannot set information for serial port.> WvDial<*1>: Initializing modem.> WvDial<*1>: Sending: ATZ> WvDial Modem<*1>: ATZ> WvDial Modem<*1>: OK> WvDial<*1>: Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0> WvDial Modem<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0> WvDial Modem<*1>: OK> WvDial<*1>: Modem initialized.> WvDial<*1>: Sending: ATM1L3DT0198379000> WvDial<*1>: Waiting for carrier.> WvDial Modem<*1>: ATM1L3DT0198379000> WvDial Modem<*1>: CONNECT 115200> WvDial Modem<*1>: User Access Verification> WvDial Modem<*1>: login:> WvDial<*1>: Carrier detected. Waiting for prompt.> WvDial Modem<*1>: login:> WvDial<*1>: Looks like a login prompt.> WvDial<*1>: Sending: bbb> WvDial Modem<*1>: bbb> WvDial Modem<*1>: Password:> WvDial<*1>: Looks like a password prompt.> WvDial<*1>: Sending: (password)> WvDial Modem<*1>: % Authentication failed.> WvDial Modem<*1>: login:> WvDial<*1>: Looks like a login prompt.> WvDial<*1>: Sending: bbb> WvDial Modem<*1>: bbb> WvDial Modem<*1>: Password:> WvDial<*1>: Looks like a password prompt.> WvDial<*1>: Sending: (password)> WvDial Modem<*1>: % Authentication failed.> WvDial<Notice>: Don't know what to do! Starting pppd and hoping for> the best.> WvDial<Notice>: Starting pppd at Wed Jan 2 12:55:50 2008> WvDial<Err>: Warning: Could not modify /etc/ppp/pap-secrets:> Permission denied> WvDial<Err>: --> PAP (Password Authentication Protocol) may be flaky.> WvDial<Err>: Warning: Could not modify /etc/ppp/chap-secrets:> Permission denied> WvDial<Err>: --> CHAP (Challenge Handshake) may be flaky.> WvDial<Notice>: Pid of pppd: 6921> WvDial<*1>: Using interface ppp0> WvDial<*1>: Disconnecting at Wed Jan 2 12:56:21 2008> WvDial<*1>: The PPP daemon has died: A modem hung up the phone (exit> code = 16)> WvDial<*1>: man pppd explains pppd error codes in more detail.> WvDial<Notice>: Try again and look into /var/log/messages and the> wvdial and pppd man pages for more information.>>> ==============> exit code = 16:> The link was terminated because the peer is not responding to echo> requests.