Penggy me demande de configurer le cgf... mai

Fermé
The Pink Castor - 20 nov. 2003 à 23:04
asevere Messages postés 13089 Date d'inscription lundi 28 janvier 2002 Statut Webmaster Dernière intervention 3 février 2022 - 6 janv. 2004 à 20:04
g tout bien configuré les cgf etc et quand je lance la commande en root penggy pour me connecter il me dit qu'il n'a pas trouvé le screen name alors que g tout configuré
linux c bien mais j'lai installé ya 2 jours resultat : 1 journee pour trouver comment installer mon modem et là je rame

8 réponses

asevere Messages postés 13089 Date d'inscription lundi 28 janvier 2002 Statut Webmaster Dernière intervention 3 février 2022 425
22 nov. 2003 à 00:27
Salut,

Peut tu nous copier le fichier de configuration de penggy, sans les commentaire si possible
la commande "grep ^[^#] /etc/penggy/penggy.cfg" devrait faire ça sans probleme si ton fichier de configuration et bien dans /etc/penggy/ sinon addapte

Comme je suppose que tu te connecter via windows (vu que penggy marche pas :p )
je te conseil de rediriger la sortie vers un fichier puor y acceder de windows ensuite...
# cd /mnt/ta_partoche_windows
# grep ^[^#] /etc/penggy/penggy.cfg > penggy_conf.txt

voili voilou, @++
"Si c'est stupide et que ça marche,
        alors ce n'est pas stupide"
0
The Pink Castor
22 nov. 2003 à 10:11
voila g pas precisé que j'avait aol adsl avec une mandrake 9.2

## WELCOME TO PENGGY
## -----------------
##
## This is a sample configuration file for Penggy.
##
## The general format is lines with parameter = value pairs.
## Lines starting with a hash mark (``#'') and empty lines are ignored.
##
## This default Penggy config file shows what the defaults for
## various options are. If you don't need to change a
## default option, you needn't uncomment the line.
##
## Most of these paramaters can be overidden from the command line.
## Try penggy --help for more information

## GENERAL OPTIONS, useful for everybody
## --------------------------------------------------------------------

## Parameter: access_method
## Type: string
## Possible values: modem, tcpip, cable, dsl
## Description: sets the type of device used for connecting
## Default: modem
##
## Cable and DSL are not really implemented yet.
## If you have that kind of connection device, you should use tcpip instead.
##
# access_method = tcpip

## Parameter: protocol
## Type: string
## Possible values: p3, l2tp
## Description: Sets the protocol used for communicating
## Default: p3
##
## L2TP (also known as FLAP on AOL) is the new protocol used by AOL software
## its support isn't implemented yet. Don't change it.
##
# protocol = p3

## Parameter: interface_type
## Type: string
## Possible values: tun
## Description: sets the interface type.
## Default: tun
##
## Only tun is currently supported. This option is only here for the future.
##
# interface_type = tun

## Parameter: interface_name
## Type: string
## Description: sets the created interface's name.
## No default
##
## Default is to reserve the first tun interface available and it's a good
## choice.
##
# interface_name = tun0

## Parameter: secret_file
## Type: path
## Description: sets the file where your passwords are stored
## Default: /etc/penggy/aol-secrets
##
## Change this only if you really want to store your passwords elsewhere.
##
# secret_file = /etc/penggy/aol-secrets

## Parameter: screen_name
## Type: string
## Description: sets the screen-name to be used for connection
## No default
##
## This option is used to tell penggy to connect on this screen name.
## You really need to change this parameter or pass it at the command line
## prompt, or penggy will complain about not having any screen name to
## connect as.
##
# screen_name = là j'ai mis mon pseudo

## Parameter: auto_reconnect
## Type: boolean
## Description: enable autoreconnection.
## Default: false
##
## If you set this option to true, penggy will automatically reconnect
## when it detects you were cut off.
##
# auto_reconnect = true

## Parameter: reconnect_delay
## Type: integer
## Description: sets the delay between reconnections.
## Default: 5
##
## This option will have no effect if autoreconnection is disabled.
## If set it to >0, penggy will wait this amount of time (in seconds)
## before attempting a new connection.
##
# reconnect_delay = 30

## Parameter: daemon
## Type: boolean
## Description: enables daemon mode, runs penggy in the background.
## Default: false
##
## If this option is set to true, penggy will work in the background
## and output will be done in (see syslogd(8) for more information).
## To end penggy you need to kill it with a :
## kill `cat /var/run/penggy.pid`
##
# daemon = true

## Parameter: debug_level
## Type: integer
## Possible values: 0 to 10
## Description: sets the verbosity level of the debug.
## Default: 0
##
## This option is probably only useful to developers.
##
# debug_level = 5

## Parameter: set_dns
## Type: boolean
## Description: set the when connected.
## Default: true
##
## The default(true) is to write the dns file (see resolv.conf(5) for more
## information) according to what the server gives.
## If you don't want this behavior (ex: you have your own DNS server), set
## this option to false.
##
# set_dns = false

## Parameter: pid_file
## Type: path
## Description: set the PID file to create.
## Default: /var/run/penggy.pid
##
## This is the file where penggy stores its current PID.
## Keeping the default is a good idea.
##
# pid_file = /foo/bar/penggy.pid

## Parameter: ip_up_script
## Type: path
## Description: set the script automatically called when IP is up.
## Default: /etc/penggy/ip-up
##
## This shell script is executed when IP tunneling is started.
## It may be useful to edit this script to change firewall rules or whatever.
## This script is also reponsible for making the connection up
## and setting the routing table, so very be careful when editing it.
##
# ip_up_script = /foo/bar/ip-up

## Parameter: ip_down_script
## Type: path
## Description: set the script automaticly called when IP is down.
## Default: /etc/penggy/ip-down
##
## As ip-up but when the connection ends.
##
# ip_down_script = /foo/bar/ip-down



## MODEM OPTIONS, only useful if you are using a modem to connect
## --------------------------------------------------------------------

## Parameter: modem_device
## Type: path
## Description: sets the serial device to use for the modem.
## Default: /dev/modem
##
## The default is probably good if /dev/modem is a link to your real serial
## device your modem is attached to. Otherwise change this parameter.
##
# modem_device = /dev/ttyS0

## Parameter: lock_path
## Type: path
## Description: sets path where locking files are stored
## Default: /var/lock on Linux
## /var/spool/locks on Solaris
## /var/spool/lock on others
##
## The default is what is used on Linux, other platforms should change this
## according to your platform policy.
##
# lock_path = /foo/bar

## Parameter: rtscts
## Type: boolean
## Description: enable hardware flow control.
## Default: true
##
## Nearly all modems support hardware flow control, so you don't want to change
## this parameter, unless you really have a good reason.
##
# rtscts = false

## Parameter: initstr1
## Type: string
## Description: sets the primary initialization string sent to the modem.
## Default: ATZ
##
## Hayes command to initialize the modem, keeping ATZ as primary init string
## is probably a good idea, you can complete with other string if you need.
## This command mustn't be longer than 58 bytes.
## Comonly used strings:
## M0 Speaker always disabled
## M1 Speaker enabled during connection
## M2 Speaker always enabled
## M3 Speaker enabled while connected
## L0 Set speaker at a very low volume (or muted)
## L1 Set speaker at a low volume
## L2 Set speaker at a normal volume
## L3 Set speaker at a high volume
## Q1 Ask modem to send responses (mandatory for penggy)
## X3 Do not add dial tone detection
## X4 Add dial tone detection (should be the default)
## V1 Set modem output to alphanumeric
## (alphanumeric output is mandatory for penggy)
## &F Set your modem in factory default (this is a good idea to add
## this command if you can't connect with ATZ)
## &Exxxx Set _ISDN_ MSN number (first 4 digits of your phone number)
##
## This commands are just here as example, they might not work on your
## modem.
##
# initstr1 = ATZ

## Parameter: initstr[2-9]
## Type: string
## Description: sets other initialization strings.
## No default
##
## Other Hayes commands to init the modem (see above).
##
# initstr2 = AT&F
# initstr3 = AT&E1234
# initstr4 =
# initstr5 =
# initstr6 =
# initstr7 =
# initstr8 =
# initstr9 =

## Parameter: dialstr
## Type: string
## Description: sets the string used to dial.
## Default: ATDT
##
## Do not change this parameter if you don't know what it is.
##
# dialstr = ATDP

## Parameter: dial_prefix
## Type: string
## Description: sets a prefix to dial before the number to get a dial tone.
## No default
##
## You may need a prefix to get an external line. This parameter
## will be used for this.
## Do not forget to add a colon if you need a pause (which is likely)
## You may also have to use the 'W' letter to wait for a second dial tone
##
# dial_prefix = 0,

## Parameter: phonetab
## Type: path
## Description: sets the file where phone numbers will be searched.
## Default: /etc/penggy/phonetab
##
## This is the first phone number penggy will try to connect to.
## You can complete with more, in case this one fails, with parameters
## phone[1-5].
##
# phonetab = /foo/bar/phonetab

## Parameter: line_speed
## Type: integer
## Possible values: 300, 1200, 2400, 4800, 9600, 19200, 38400, 57600, 115200
## Description: Sets the speed of your serial port.
## Default: 115200
##
## This is the speed of your serial device (do not confuse it with the
## speed of the connection). The default is probably good if you have
## a recent computer.
## Depending on your hardware and system, 230400 and 460800 may work.
##
# line_speed = 57600

## Parameter: dial_retry
## Type: integer
## Description: The number of times to dial the same number before considering
## it as dead.
## Default: 3
##
## This parameter describes how many times penggy will dial the same phone number
## before considering it as dead.
## NB : if autoreconnection is enabled, penggy will try again, after having
## waited for the reconnect_delay.
##
# dial_retry = 1

## Parameter: retry_delay
## Type: integer
## Description: The number of seconds to wait after an unsuccessful dialing.
## Default: 0
##
## In case of a failed dialing, penggy will wait this amount of times (in seconds)
## before retrying the phone number.
##
# retry_delay = 3



## TCP/IP OPTIONS, useful if you use tcpip, dsl or cable
## -------------------------------------------------------------------

## Parameter: aol_host
## Type: string
## Description: Sets the host to contact for a TCP/IP connection.
## Default: AmericaOnline.aol.com
##
## Use cs.access.compuserve.com if your provider CompuServe
##
# aol_host = cs.access.compuserve.com

## Parameter: aol_port
## Type: integer
## Description: Sets the port used to contact host for a TCP/IP connection.
## Default: 5190
##
## Default is for AOL, use 5191 for CompuServe. Nevertheless port from 5190 to
## 5192 should work
##
# aol_port = 5191
0
asevere Messages postés 13089 Date d'inscription lundi 28 janvier 2002 Statut Webmaster Dernière intervention 3 février 2022 425
22 nov. 2003 à 12:42
Salut,

## Lines starting with a hash mark (``#'') and empty lines are ignored.

C'est la raison pour la quelle je te demandais toute les lignes non-commentées :o)
Il faut que tu enleves les # devant les lignes que tu as modifié...
toute celle qui ont un diese au debut, ne sont pas lu au demarrage de penggy :o)

@+
"Si c'est stupide et que ça marche,
        alors ce n'est pas stupide"
0
The Pink Castor
22 nov. 2003 à 12:52
oh merci zavait pas vu j'aurai pu chercher longtemps merci beaucoup
0

Vous n’avez pas trouvé la réponse que vous recherchez ?

Posez votre question
Utilisateur anonyme
22 nov. 2003 à 13:18
## Lines starting with a hash mark (``#'') and empty lines are ignored.
C'était surtout marqué noir sur blanc.

Patapi Biribibi Rabada dada 
Dada dada !!
0
The Pink Castor
22 nov. 2003 à 13:37
escusez moi je debute sous linux j'y connai rien
0
Utilisateur anonyme
22 nov. 2003 à 14:52
Ce que je veux dire, c'est que tu débutes pas en tant qu'être humain. La première leçon étant d'apprendre à chercher l'info par soit même.

Patapi Biribibi Rabada dada 
Dada dada !!
0
the pink castor
22 nov. 2003 à 14:36
maintenant que c reglé g un autre probleme quand je lance la connexion il me dit :
resolution cs.access.compuserve.com: host name lookup failure
et il ressaye de se connecter
si qq a une idee merci
0
hum look dans ton repertoire aol windows, je sais plus ou mais il me semble que dans un fichier ascii on trouve le host du style AmerciaOnline.aol.com et un port a 5 chiffre pour l'adsl

perso j'ai pas encore configurer penggy mais deja je recup les info ;)
0
message d'erreur exacte STP

parceque screenname not found

a priori tu vecu lancer penggy en mode graphique (ca existe ?)

et tu n'a pas ouvert l'ecran aux utilisateurs externes ni exporter son adresse

si toto est logué sous X il doit liberer l'acces a l'ecran
>xhost +
puis tout utilisateur voulant y acceder doit exporter l'adresse de l'ecran sur lequel il veut envoyer ses fenetres
>export DISPLAY=localhost:0 (meme machine)
>export DISPLAY=IP.IP.IP.IP:0 (machine distante)
>PUISALORSSEULEMENTLANCERLACOMMANDE

j'ai utilisé penggy aussi mais sans mode graphique
peut etre que c'est ça le probleme mais comme on a pas le message exacte....


autre chose Castor tu nous donne ton fichier origine on s'en fou ca sert a rien c'est ton fichier configure qui pourrait nous aider a corriger ton probleme
0
asevere Messages postés 13089 Date d'inscription lundi 28 janvier 2002 Statut Webmaster Dernière intervention 3 février 2022 425
6 janv. 2004 à 20:04
"screenname" , c'est le nom qu'aol a donné a ce qu'on appel communément login :o)

"Si c'est stupide et que ça marche,
        alors ce n'est pas stupide"
0