Re: Modem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



--- On Sat, 9/18/10, Patrick Dupre <[email protected]> wrote:

> From: Patrick Dupre <[email protected]>
> Subject: Modem
> To: "Fedora List" <[email protected]>
> Date: Saturday, September 18, 2010, 8:19 AM
> 
> Hello,
> 
> I am unable to activate a connection when using my modem
> (inspiron 9400 with fedora 13).
> (Modem conexant HDA DIOOMDC V.92 Modem CDM3)
> 
> I am not sure that it is the right place to post this
> email, but maybe
> somebody can help me.
> I copied some of the configuration files.
> 
> When I do ifup ppp0, I get:
> RTNETLINK,answers: No such process.
> pppd unrecognized option /dev/modem
> 
> Thank for your help.
> 
> 
> /etc/ppd/ip-up
> 
> #!/bin/bash
> # This file should not be modified -- make local changes
> to
> # /etc/ppp/ip-up.local instead
> 
> PATH=/sbin:/usr/sbin:/bin:/usr/bin
> export PATH
> 
> LOGDEVICE=$6
> REALDEVICE=$1
> 
> [ -f /etc/sysconfig/network-scripts/ifcfg-${LOGDEVICE} ]
> && /etc/sysconfig/network-scripts/ifup-post
> --realdevice ${REALDEVICE} ifcfg-${LOGDEVICE}
> 
> /etc/ppp/ip-up.ipv6to4 ${LOGDEVICE}
> 
> [ -x /etc/ppp/ip-up.local ] && /etc/ppp/ip-up.local
> "[email protected]"
> 
> exit 0
> ++++++++++++++++++++++++++++++++++++++
> /etc/ppp/options
> 
> lock
> ++++++++++++++++++++++++++++++++++++++++++++++++++
> /etc/ppp/option.ppp
> 
> ###############################################################################
> # $Id: options.pptp,v 1.3 2006/03/26 23:11:05 quozl Exp $
> #
> # Sample PPTP PPP options file /etc/ppp/options.pptp
> # Options used by PPP when a connection is made by a PPTP
> client.
> # This file can be referred to by an /etc/ppp/peers file
> for the tunnel.
> # Changes are effective on the next connection.  See
> "man pppd".
> #
> # You are expected to change this file to suit your
> system.  As
> # packaged, it requires PPP 2.4.2 or later from http://ppp.samba.org/
> # and the kernel MPPE module available from the CVS
> repository also on
> # http://ppp.samba.org/, which is packaged for DKMS as
> kernel_ppp_mppe.
> ###############################################################################
> 
> # Lock the port
> lock
> 
> # Authentication
> # We don't need the tunnel server to authenticate itself
> noauth
> 
> # We won't do PAP, EAP, CHAP, or MSCHAP, but we will accept
> MSCHAP-V2
> # (you may need to remove these refusals if the server is
> not using MPPE)
> refuse-pap
> refuse-eap
> refuse-chap
> refuse-mschap
> 
> # Compression
> # Turn off compression protocols we know won't be used
> nobsdcomp
> nodeflate
> 
> # Encryption
> # (There have been multiple versions of PPP with encryption
> support,
> # choose with of the following sections you will use. 
> Note that MPPE
> # requires the use of MSCHAP-V2 during authentication)
> 
> # http://ppp.samba.org/ the PPP project version of PPP by
> Paul Mackarras
> # ppp-2.4.2 or later with MPPE only, kernel module
> ppp_mppe.o
> # {{{
> # Require MPPE 128-bit encryption
> #require-mppe-128
> # }}}
> 
> # http://polbox.com/h/hs001/ fork from PPP project by Jan
> Dubiec
> # ppp-2.4.2 or later with MPPE and MPPC, kernel module
> ppp_mppe_mppc.o
> # {{{
> # Require MPPE 128-bit encryption
> #mppe required,stateless
> # }}}
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> /etc/ppp/wmdial.conf
> 
> [Modem0]
> Modem = /dev/modem
> Baud = 57600
> SetVolume = 1
> Dial Command = ATDP
> Init1 = ATZ
> Init3 = ATM1L1
> FlowControl = CRTSCTS
> [Dialer SFR]
> Username = [email protected]
> Password = mys
> Phone = 0860652000
> Stupid Mode = 1
> Init1 = ATZ
> Inherits = Modem0
> +++++++++++++++++++++++++++++++++++++++++++++++++
> 
> /etc/ppp/peers/SFR
> 
> connect "/usr/bin/wvdial --remotename SFR --chat 'SFR'"
> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> 
> /etc/ppp/peers/wmdial
> 
> noauth
> name wvdial
> usepeerdns
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> 
> 
> 
> -- ---
> ==========================================================================
>  Patrick DUPRÉ           
>           |   |
>  Department of Chemistry         
>   |   |    Phone:
> (44)-(0)-1904-434384
>  The University of York         
>    |   |   
> Fax:   (44)-(0)-1904-432516
>  Heslington             
>        
>    |   |
>  York YO10 5DD  United Kingdom     
> |   |    email: [email protected]
> ==========================================================================
> -----Inline Attachment Follows-----
> 


Patrick,

If the modem you have referenced above, then please do the following to see if you can get connected:
Fire up a terminal and run

$ su -
passwd:
# wvdialconf /etc/wvdial.conf 

if a modem is found, could be /dev/ttyS0 ... /dev/ttyS3?   then proceed to edit /etc/wvdial.conf and add your username, ISP phone no, and Password. then after you are done save that file and try

# wvdial

check to see if you can connect?  If you cannot edit the file /etc/resolv.conf by pasting the numbers output by wvdial that show up when it is connected.  Add these with to the file /etc/resolv.conf with the word nameserver in front of them.  Let me know if this helped or not.

Regards,


Antonio 


      
-- 
users mailing list
[email protected]
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux