[YLUG] Modem
Patrick Dupre
pd520 at york.ac.uk
Wed Sep 15 09:29:34 UTC 2010
OK;
/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 "$@"
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 = tele2 at tele2.fr
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
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Thank for your help.
> On Tue, Sep 14, 2010 at 08:49:16PM +0100, Patrick Dupre wrote:
>> Hello,
>>
>> I am trying to use the modem of my laptop (fedora 13).
>> Modem conexant HDA DIOOMDC V.92 Modem CDM3
>> I am trying to use the generic driver. I can configure it but I
>> cannot activate it.
>> When I do ifup ppp0, I get:
>> RTNETLINK,answers: No such process.
>> pppd unrecognized option /dev/modem
>>
>> Do you have any idea ?
>
> Not without any more information. Why not provide us with your
> actual configuration details? i.e. the configuration files
> from under /etc/ppp[/peers] such as /etc/ppp/options,
> /etc/ppp/peers/xxx and so on.
>
>
> Regards,
> Roger
>
>
--
---
==========================================================================
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: pd520 at york.ac.uk
==========================================================================
More information about the York
mailing list