possivel solucao = pppoeconf nao funciona apos fresh install do sarge 01ago2004 = plog

2004-08-03 Thread Andre Felipe Machado
Olá,
A linha abaixo do plog apontou um caminho.

 Aug  2 20:59:32 debian pppd[758]: Failed to create PPPoE socket: Address
 family not supported by protocol

Indicou que o módulo não estava carregado no momento do boot.
Após testar com modprobe, resolvi tentar editar /etc/modules para incluir a 
linha:

pppoe

Agora parece funcionar na maior parte das vezes. Pois constatei que ele 
tenta conectar durante apenas uns 2 segundos e, se não conseguir, desiste.
A versão anterior ficava tentando BASTANTE tempo antes de desistir, tanto que 
algumas vezes eu já tinha aberto o kde e tentado navegar quando então ficava 
disponível a rede internet.
Bem, parece que o novo pppoeconf não inclui o módulo em local apropriado.
É apropriado colocar isso no /etc/modules?
Obrigado.
André Felipe



Re: pppoeconf nao funciona apos fresh install do sarge 01ago2004 = plog

2004-08-02 Thread Andre Felipe Machado
Olá, 
Continuam os problemas com instalação do sarge 01ago2004.

 Instale o pacote etherconf para configurar a placa de rede.

Pois segui a dica e instalei o etherconf.
Ele tentou configurar dhcp. 
tive de reconfigurar para static, pelo menos (dpkg-reconfigure etherconf).
Em seguida, editei /etc/network/interfaces para comentarizar as linhas de 
static.
Então pude chamar pppoeconf e aí pareceu funcionar.
É que depois de um boot não carrega mais pppoe.
Tenho de entrar novamente em ppoeconf para acionar a conexão adsl.
Não adianta simplesmente chamar pon.
O curioso é que DEPOIS de configurar com ppoeconf , sem reboot, posso fazer 
poff e novamente pon que volta.

Vejam o plog logo após um boot:

Aug  2 20:59:31 debian pppd[754]: RP-PPPoE plugin version 3.3 compiled against 
pppd 2.4.2
Aug  2 20:59:31 debian pppd[758]: pppd 2.4.2 started by root, uid 0
Aug  2 20:59:32 debian pppd[758]: PPP session is 5304
Aug  2 20:59:32 debian pppd[758]: Failed to create PPPoE socket: Address 
family not supported by protocol
Aug  2 20:59:32 debian pppd[758]: Exit.


Agora vejam o plog após uma configuração de pppoeconf (troquei os números de 
ip reais por letras)

Aug  2 21:03:22 debian pppd[1101]: Couldn't increase MRU to 1500
Aug  2 21:03:22 debian pppd[1101]: Couldn't increase MTU to 1500
Aug  2 21:03:22 debian pppd[1101]: Couldn't increase MRU to 1500
Aug  2 21:03:22 debian pppd[1101]: PAP authentication succeeded
Aug  2 21:03:22 debian pppd[1101]: peer from calling number 00:xx:yy:zz:tt:kk 
authorized
Aug  2 21:03:23 debian pppd[1101]: Cannot determine ethernet address for proxy 
ARP
Aug  2 21:03:23 debian pppd[1101]: local  IP address 200.zz.XX.xx
Aug  2 21:03:23 debian pppd[1101]: remote IP address 200.zz.XX.yy
Aug  2 21:03:23 debian pppd[1101]: primary   DNS address 200.zz.xx.yy
Aug  2 21:03:23 debian pppd[1101]: secondary DNS address 200.zz.xx.yy


Por que é que não consegue estabelecer pppoe após o boot a menos que refaça o 
pppoeconf?

Muito obrigado!
André Felipe



Re: plog messages tell me what does it mean

2002-04-26 Thread ben
On Thursday 25 April 2002 08:22 pm, faisal gillani wrote:
 as i told earlier that i cannot dial using pppconfig i

 i type pon connection namenothing happens 

 here is what is present in the plog

 server pppd [255] : Terminating on signal 15
 server pppd [255] : Connect Script failed
 server pppd [255] : Exit

 can you tell me what does this mean ?


it's looks like your connect script isn't configured correctly to connect to 
your isp. try using wvdial from a console to make the connection. you'll have 
to configure wvdial.conf with the details of user, pass, and the number 
you're dialling. that will output more information that might help better to 
indicate what the problem is.

ben


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: plog messages tell me what does it mean

2002-04-26 Thread faisal gillani
 Well can you tell me how to use wvdial ? i mean how to make a new connection in wvdial .. or edit the connection ..
it seems that wvdial cannot find my modem as it said when i install wvdial .. but my modem is there on com port 2 
as pppconfig did pick it up in its default connection file "providers" 

thanks for the reply
Faisal
 ben [EMAIL PROTECTED] wrote: 
On Thursday 25 April 2002 08:22 pm, faisal gillani wrote: as i told earlier that i cannot dial using pppconfig i i type pon  nothing happens  here is what is present in the plog server pppd [255] : Terminating on signal 15 server pppd [255] : Connect Script failed server pppd [255] : Exit can you tell me what does this mean ?it's looks like your connect script isn't configured correctly to connect to your isp. try using wvdial from a console to make the connection. you'll have to configure wvdial.conf with the details of user, pass, and the number you're dialling. that will output more information that might help better to indicate what the problem is.ben-- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]*º¤., ¸¸,.¤º*¨¨¨*¤ Allah-hu-Akber*º¤., ¸¸,.¤º*¨¨*¤Do You Yahoo!?
Yahoo! Games - play chess, backgammon, pool and more

Re: plog messages tell me what does it mean

2002-04-26 Thread faisal gillani
 
 ben [EMAIL PROTECTED] wrote: 
On Thursday 25 April 2002 08:22 pm, faisal gillani wrote: as i told earlier that i cannot dial using pppconfig i i type pon  nothing happens  here is what is present in the plog server pppd [255] : Terminating on signal 15 server pppd [255] : Connect Script failed server pppd [255] : Exit can you tell me what does this mean ?it's looks like your connect script isn't configured correctly to connect to your isp. try using wvdial from a console to make the connection. you'll have to configure wvdial.conf with the details of user, pass, and the number you're dialling. that will output more information that might help better to indicate what the problem is.ben-- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]*º¤., ¸¸,.¤º*¨¨¨*¤ Allah-hu-Akber*º¤., ¸¸,.¤º*¨¨*¤Do You Yahoo!?
Yahoo! Games - play chess, backgammon, pool and more

Re: plog messages tell me what does it mean

2002-04-26 Thread faisal gillani

 ben [EMAIL PROTECTED] wrote: 
On Thursday 25 April 2002 08:22 pm, faisal gillani wrote: as i told earlier that i cannot dial using pppconfig i i type pon  nothing happens  here is what is present in the plog server pppd [255] : Terminating on signal 15 server pppd [255] : Connect Script failed server pppd [255] : Exit can you tell me what does this mean ?it's looks like your connect script isn't configured correctly to connect to your isp. try using wvdial from a console to make the connection. you'll have to configure wvdial.conf with the details of user, pass, and the number you're dialling. that will output more information that might help better to indicate what the problem is.ben-- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]*º¤., ¸¸,.¤º*¨¨¨*¤ Allah-hu-Akber*º¤., ¸¸,.¤º*¨¨*¤Do You Yahoo!?
Yahoo! Games - play chess, backgammon, pool and more

Re: plog messages tell me what does it mean

2002-04-26 Thread ben
On Thursday 25 April 2002 09:50 pm, faisal gillani wrote:
  Well can you tell me how to use wvdial ? i mean how to make a new
 connection in wvdial .. or edit the connection  .. it seems that wvdial
 cannot find my modem as it said when i install wvdial .. but my modem is
 there on com port 2 as pppconfig did pick it up in its default connection
 file providers


faisal, please just reply to the list. don't cc: to me. i just end up with 
double the messages. if i'm responding to the list, it means i'm reading the 
list, so the cc: is redundant.

the sample /etc/wvdial.conf below works for my box to connect to my isp. my 
modem is also on com port 2--from a windoze perspective--which in linux 
translates to /dev/ttyS1. as far as com ports are concerned on linux, or 
indeed an unix variant, the numbering starts at 0, respecting arabic rather 
than roman numerics, reflecting a plain sense incorporation of common  
mathematical logic that should be honored by anyone purporting to serve the 
interest humans using computers. (sorry, that was an involuntary rant against 
micro$hit.) 

getting back to the issue at hand, fire up your favorite editor and load 
/etc/wvdial.conf and edit it to include the appropriate details for your 
connection in those sections that are x'ed out in the sample below. you may 
have to run wvdial as root. that is, if you're running x, open an xterm, type 
su, hit enter, enter the root password. at the prompt, type wvdial, and hit 
enter.

Modem = /dev/ttyS1
Baud = 57600
Init = ATZ
Init2 = AT S11=50
Phone = xxx
Username = x
Password = xxx
Dial Command = ATDP

in the event that that doesn't work for you, get back to us--but, please 
remember, you don't need to cc: to me; just send it to the list.

i hope this helps you along.

ben


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: plog messages tell me what does it mean

2002-04-26 Thread John Hasler
Please re-post your question.  I missed it because you did not mention ppp
in the subject.
-- 
John Hasler
[EMAIL PROTECTED]
Dancing Horse Hill
Elmwood, Wisconsin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



reposting pppconfig problem ... output of the plog file..

2002-04-26 Thread faisal gillani
here is to a freind who wanted me to repost .. as he missed this post .. thanks for the help ..

as i told earlier that i cannot dial using pppconfig i i type pon  nothing happens  here is what is present in the plog server pppd [255] : Terminating on signal 15 server pppd [255] : Connect Script failed server pppd [255] : Exit can you tell me what does this mean ?*º¤., ¸¸,.¤º*¨¨¨*¤ Allah-hu-Akber*º¤., ¸¸,.¤º*¨¨*¤Do You Yahoo!?
Yahoo! Games - play chess, backgammon, pool and more

Re: reposting pppconfig problem ... output of the plog file..

2002-04-26 Thread John Hasler
faisal gillani writes:
 server pppd [255] : Terminating on signal 15
 server pppd [255] : Connect Script failed
 server pppd [255] : Exit

 can you tell me what does this mean ?

Just what it says: your connect script failed.  Post the contents of
/etc/ppp/peers/provider and /etc/chatscripts/provider and I may be able to
help you figure out why.
-- 
John Hasler
[EMAIL PROTECTED]
Dancing Horse Hill
Elmwood, Wisconsin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



plog messages tell me what does it mean

2002-04-25 Thread faisal gillani
as i told earlier that i cannot dial using pppconfig i
i type pon connection name   nothing happens 
here is what is present in the plog 
server pppd [255] : Terminating on signal 15server pppd [255] : Connect Script failedserver pppd [255] : Exit
can you tell me what does this mean ?
thanks


*º¤., ¸¸,.¤º*¨¨¨*¤ Allah-hu-Akber*º¤., ¸¸,.¤º*¨¨*¤Do You Yahoo!?
Yahoo! Games - play chess, backgammon, pool and more

Re: pon y plog

2000-10-03 Thread Santiago Romero
El lun, 02 de oct de 2000, a las 06:21:27 +0200, Chafar dijo:
 Rodrigo De la Vega pregunta:
  
 ...
   1.-¿como hago que un usuario cualquiera se conecte a internet? (si, si
  se que es tarea del root levantar una interfaz de red, pero hacer su
  solamente para eso...)
 
 Añadelo al grupo dip.

 hecho: ocurre ahora lo siguiente:

[EMAIL PROTECTED]:~$ pon ono
/usr/bin/pon: /usr/sbin/pppd: Permiso denegado
/usr/bin/pon: exec: /usr/sbin/pppd: cannot execute: Permiso denegado

 :? 

-- 
Ley de Murphy: Cuando cambias de carril siempre hay un autobús en él.
 _-_
|  NoP / Compiler   -- [EMAIL PROTECTED]  |
|---|
|  POWERED BY - Linux RedHat 6.0  -  Reg. User #74.821  |
|  http://web.jet.es/s.romero   |
 ~-~



Re: pon y plog

2000-10-03 Thread Amaya
Santiago Romero dijo:
 /usr/bin/pon: /usr/sbin/pppd: Permiso denegado
 /usr/bin/pon: exec: /usr/sbin/pppd: cannot execute: Permiso denegado

Yo tuve que volver a ejecutar pppconfig para cada proveedor, porque no me
funcionaba la configuración de Slink. El nuevo pppconfig permite poner un DNS
por conexión y especificar qué usuarios pueden ejecutar pppd, bajo Advanced
options - Add User (entre otras muchas cositas). Dice así:

Enter the username of a user who you want to be able to start and stop ppp.
She will be able to start any connection. To remove a user run the program vigr
and remove the user from the dip group.

No he tenido tiempo de mirarlo mucho, pero por ahí deben ir los tiros. 

-- 
  The easiest way to get the root password is to become system admin.

 Barbwired (The Translatrix)  -  U. Complutense de Madrid  -  Filología Inglesa
 Web personal  http://www.bigfoot.com/~barbwired/
  Proudly running Debian GNU/Linux 2.3 Woody (Kernel 2.2.16) on a Dell Laptop 



Re: pon y plog

2000-10-02 Thread Chafar
Rodrigo De la Vega pregunta:
 
...
  1.-¿como hago que un usuario cualquiera se conecte a internet? (si, si
 se que es tarea del root levantar una interfaz de red, pero hacer su
 solamente para eso...)

Añadelo al grupo dip.

   2.-¿como hacer para que ese usuario pueda ver el resultado con plog?

Añadelo al grupo adm (mejor dicho al grupo al que pertenezca
/var/log/syslog).

   3.-al conectar con pon que hay que hacer para que cuando se corte la
 coneccion esta se restaure automaticamente como lo hace el wvdial?
 

A esto ya te han contestado.

Saludos.
-- 
José Esteban
Granada. Spain.



Re: pon y plog

2000-10-02 Thread Cosme P. Cuevas
El Sat, Sep 30, 2000,
Manuel Garcia...

2.-¿como  hacer  para  que  ese  usuario  pueda  ver  el
resultado con plog?

 adduser adm usuario

En Slink la conexión  se registraba en `/var/log/ppp.log', que
con  permisos `640  root.dip' permitía  mirar el  registro con
`plog' por un  usuario. Pero ahora no se  utiliza `ppp.log', a
mi en  Potato me lo  escribe únicamente en  `messages'... que,
por cierto,  yo lo tengo  con permisos `644',por lo  que, para
hacerle un `tail -f' como usuario no sería necesario incluirlo
en el grupo `adm'.

¿Alguien sabe cómo modificar esto?

Saludos.

-- 
__
Cosme P. Cuevas - ICQ 86011094 - GnuPG KeyID: 0A4305FB
  http://www.geocities.com/CollegePark/Lounge/8698/
--



pon y plog

2000-09-30 Thread Rodrigo De la Vega
Hola
Estoy tratando de dejar de lado wvdial para conectarme a
internet, y hasta el momento va bien, pppconfig lo hace muy facil, aun
asi tengo unas dudas
 1.-¿como hago que un usuario cualquiera se conecte a internet? (si, si
se que es tarea del root levantar una interfaz de red, pero hacer su
solamente para eso...)
  2.-¿como hacer para que ese usuario pueda ver el resultado con plog?

  3.-al conectar con pon que hay que hacer para que cuando se corte la
coneccion esta se restaure automaticamente como lo hace el wvdial?

 Desde ya agradecido

Rodrigo



Re: pon y plog

2000-09-30 Thread Manuel Garcia
El dom, 01 de oct de 2000, Rodrigo De la Vega escribió...
 Hola
 Estoy tratando de dejar de lado wvdial para conectarme a
 internet, y hasta el momento va bien, pppconfig lo hace muy facil, aun
 asi tengo unas dudas
  1.-¿como hago que un usuario cualquiera se conecte a internet? (si, si
 se que es tarea del root levantar una interfaz de red, pero hacer su
 solamente para eso...)

adduser dip usuario

   2.-¿como hacer para que ese usuario pueda ver el resultado con plog?

adduser adm usuario

   3.-al conectar con pon que hay que hacer para que cuando se corte la
 coneccion esta se restaure automaticamente como lo hace el wvdial?

Mira por las opciones del pppd, creo que la opción concreta es persist
# Do not exit after a connection is terminated; instead try to reopen
# the connection.
#persist

  Desde ya agradecido
 
 Rodrigo

Bueno mi primera intervención en la lista, espero haber sido de ayuda.
Un saludo



plog and wvdial output

1999-07-16 Thread David Karlin
Hello,
My ppp connection quit working this afternoon, and before finding out
that there was a problem on my ISP's end, I reran pppconfig, and edited
a config file or two, but I can't remember exaxtly what I did.

Well now my ISP is back up again, but my PPP connection is broken.
Here's the plog output.  It loops infinitely spewing lines like these,
differing only by the timestamp:

Jul 16 00:13:00 champagne pppd[427]: rcvd [IPCP ConfNak id=0xd2 addr
206.175.227.6]
Jul 16 00:13:00 champagne pppd[427]: sent [IPCP ConfReq id=0xd3 addr
192.168.1.10 compress VJ 0f 01]
Jul 16 00:13:00 champagne pppd[427]: rcvd [IPCP ConfNak id=0xd3 addr
206.175.227.6]
Jul 16 00:13:00 champagne pppd[427]: sent [IPCP ConfReq id=0xd4 addr
192.168.1.10 compress VJ 0f 01]
Jul 16 00:13:01 champagne pppd[427]: rcvd [IPCP ConfNak id=0xd4 addr
206.175.227.6]
Jul 16 00:13:01 champagne pppd[427]: sent [IPCP ConfReq id=0xd5 addr
192.168.1.10 compress VJ 0f 01]
Jul 16 00:13:01 champagne pppd[427]: rcvd [IPCP ConfNak id=0xd5 addr
206.175.227.6]
Jul 16 00:13:01 champagne pppd[427]: sent [IPCP ConfReq id=0xd6 addr
192.168.1.10 compress VJ 0f 01]
Jul 16 00:13:01 champagne pppd[427]: rcvd [IPCP ConfNak id=0xd6 addr
206.175.227.6]
Jul 16 00:13:01 champagne pppd[427]: sent [IPCP ConfReq id=0xd7 addr
192.168.1.10 compress VJ 0f 01]
Jul 16 00:13:01 champagne pppd[427]: rcvd [IPCP ConfNak id=0xd7 addr
206.175.227.6]
Jul 16 00:13:01 champagne pppd[427]: sent [IPCP ConfReq id=0xd8 addr
192.168.1.10 compress VJ 0f 01]

When I run wvdial, it also loops, trying (unsuccessfully) to make a
connection.  Here is the output from wvdial:

ATDT 9494614
CONNECT 14400/ARQ
-- Carrier detected.  Waiting for prompt.
 0025VLE
Host Name:
-- Looks like a login prompt.
-- Sending: [EMAIL PROTECTED]
[EMAIL PROTECTED]
? Syntax error after host name
Host Name:
-- Looks like a login prompt.
-- Sending: [EMAIL PROTECTED]
[EMAIL PROTECTED]
? Syntax error after host name
Host Name:
-- Looks like a login prompt.
-- Sending: [EMAIL PROTECTED]
[EMAIL PROTECTED]
? Syntax error after host name
Disconnected
[03][03][03][03][04]
-- Don't know what to do!  Starting pppd and hoping for the best.
-- Starting pppd at Fri Jul 16 00:19:04 1999
-- PPP daemon has died! (exit code = 1)
-- Disconnecting at Fri Jul 16 00:19:06 1999
-- Auto Reconnect will be attempted in 5 seconds
-- Initializing modem.
-- Sending: ATZ
ATZ
-- Bad init string.
-- Initializing modem.
-- Sending: ATZ
ATZ
OK
-- Sending: ATZ
ATZ
OK
-- Modem initialized.
-- Sending: ATDT 9494614
-- Waiting for carrier.
ATDT 9494614

If anyone can make sense of this, it would sure be
appreciated.  If you need any other info, please let
me know.

Thanks,

--David


Re: plog and wvdial output

1999-07-16 Thread Michael Merten
On Fri, Jul 16, 1999 at 12:41:49AM -0700, David Karlin wrote:
 Hello,
 My ppp connection quit working this afternoon, and before finding out
 that there was a problem on my ISP's end, I reran pppconfig, and edited
 a config file or two, but I can't remember exaxtly what I did.
 
 Well now my ISP is back up again, but my PPP connection is broken.
 Here's the plog output.  It loops infinitely spewing lines like these,
 differing only by the timestamp:
 
 Jul 16 00:13:00 champagne pppd[427]: sent [IPCP ConfReq id=0xd3 addr
 192.168.1.10 compress VJ 0f 01]
 Jul 16 00:13:00 champagne pppd[427]: rcvd [IPCP ConfNak id=0xd3 addr
 206.175.227.6]
[snip]

Try adding the line

   noipdefault

to your /etc/ppp/peers/isp file.  Your pppd is insisting on an ip
of 192.168.1.10, but your ISP refuses to accept it.


 When I run wvdial, it also loops, trying (unsuccessfully) to make a
 connection.  Here is the output from wvdial:
 
 ATDT 9494614
 CONNECT 14400/ARQ
 -- Carrier detected.  Waiting for prompt.
  0025VLE
 Host Name:
 -- Looks like a login prompt.
 -- Sending: [EMAIL PROTECTED]
 [EMAIL PROTECTED]

Can't help you with this one.

 
 If anyone can make sense of this, it would sure be
 appreciated.  If you need any other info, please let
 me know.
 
 Thanks,
 
 --David
 

HTH,
Mike

[I'm subscribed to the list, no need to CC: me on replys.]

--
Michael Merten ([EMAIL PROTECTED])
  --- NRA Life Member (http://www.nra.org)
  --- Debian GNU/Linux Fan (http://www.debian.org)
  --- CenLA-LUG Founder (http://www.angelfire.com/la2/cenlalug)
--
They can't stop us... we're on a mission from God!
 -- The Blues Brothers


Re: plog and wvdial output

1999-07-16 Thread John Hasler
 I reran pppconfig, and edited a config file or two, but I can't remember
 exaxtly what I did.

You changed the value in the IP Numbers screen from the default
'noipdefault' to '192.168.1.10:' .  Run pppconfig and change it back.
-- 
John HaslerThis posting is in the public domain.
[EMAIL PROTECTED]Do with it what you will.
Dancing Horse Hill Make money from it if you can; I don't mind.
Elmwood, Wisconsin Do not send email advertisements to this address.


Plog

1999-02-24 Thread Andrei Ivanov
I've , for whatever reason I had (dunno why I did this), deleted
/var/log/ppp.log
SInce then none of the plog messages appear. I know that plog gets the
data from ppp.log, but whenever ppp is working, it no longer seems to
write to ppp.log (doesnt create it/write to it when its created). Syslog
shows nothing like failure to write a write-protected file or anything...
please help me out.
Andrew

---
 Andrei S. Ivanov  
 [EMAIL PROTECTED]   
 UIN 12402354  
 http://members.tripod.com/AnSIv   --Little things for Linux.


Re: Plog

1999-02-24 Thread Mark Phillips
 I've , for whatever reason I had (dunno why I did this), deleted
 /var/log/ppp.log
 SInce then none of the plog messages appear.

I don't know the correct solution to your problem, but you could try this:

Do touch ppp.log to create the file, then use chown and chmod so
that the file has the right permissions and ownerships.  Ie, the
directory listing should look like:

-rw-r-   1 root adm  0 Feb 24 15:34 /var/log/ppp.log

Then have a go and see if this fixes the problem.

Cheers,

Mark.


_/\___/~~\
/~~\_/~~\__/~~\__Mark_Phillips
/~~\_/[EMAIL PROTECTED]
/~~\HE___/~~\__/~~\APTAIN_
/~~\__/~~\
__
They told me I was gullible ... and I believed them! 




Re: Plog

1999-02-24 Thread Andrei Ivanov
  I've , for whatever reason I had (dunno why I did this), deleted
  /var/log/ppp.log
  SInce then none of the plog messages appear.
 
 I don't know the correct solution to your problem, but you could try this:
 
 Do touch ppp.log to create the file, then use chown and chmod so
 that the file has the right permissions and ownerships.  Ie, the
 directory listing should look like:
 
 -rw-r-   1 root adm  0 Feb 24 15:34 /var/log/ppp.log
 

I've tried doing that, but still nothing gets written into the file, when
pon is called. I can write into it by piping the output to the file just
fine, and then plog just shows me the right output (whatever I piped into
the file), but pon refuses to send any data into it.
Where can I look for error messages, or what else can I do to fix this,
besides reinstall, which I am not sure will be possible, since ppp is a
dep. for too many packages.?
TIA,
  Andrew


Re: Plog

1999-02-24 Thread John Hasler
Andrei Ivanov writes:
 I've tried doing that, but still nothing gets written into the file, when
 pon is called. I can write into it by piping the output to the file just
 fine, and then plog just shows me the right output (whatever I piped into
 the file), but pon refuses to send any data into it.

Pon doesn't send logging data anywhere.  It is just a script that starts
pppd.  Pppd sends its logging data to syslogd, which sends it on to ppp.log
as its config file tells it to.  Because syslogd has ppp.log open, removing
ppp.log just removed the link.  The file still exists and syslogd is still
writing to it.

As root, type

/etc/init.d/sysklogd restart

this will restart syslogd, causing it to reread its config file and reopen
all its files.

 Where can I look for error messages, or what else can I do to fix this,
 besides reinstall, which I am not sure will be possible, since ppp is a
 dep. for too many packages.?

Reinstalling ppp would have no effect on this problem.
-- 
John Hasler
[EMAIL PROTECTED] (John Hasler)
Dancing Horse Hill
Elmwood, WI


plog

1999-01-15 Thread Robert Kerr
When I type plog I get this:

tail: /var/log/ppp.log: Permission denied

the attributes for ppp.log are 
-rw-r-   1 root adm  8305 Jan 14 20:38 /var/log/ppp.log

What can I do to change this?

-bob

The amount of time between slipping on the peel and landing on the
pavement is precisely one bananosecond---
**
* Robert Kerr, The morphing guy.  *368 Clyde Building, BYU   *
* [EMAIL PROTECTED]   *Provo, Utah  84602*
* [EMAIL PROTECTED] *  Phone: (801) 378-2029   *
* http://www.et.byu.edu/~kerrr*  Fax: (801) 378-4449 *
**



Re: plog

1999-01-15 Thread Ben Collins
On Thu, Jan 14, 1999 at 08:32:47PM -0700, Robert Kerr wrote:
 When I type plog I get this:

 tail: /var/log/ppp.log: Permission denied

 the attributes for ppp.log are
 -rw-r-   1 root adm  8305 Jan 14 20:38 /var/log/ppp.log

 What can I do to change this?

You have to run plog as root. The reason that ppp.log isn't world
readable is that your ppp password is more than likely in the log file.

--
--- -  -   ---  -  - - ---   
Ben Collins [EMAIL PROTECTED]  Debian GNU/Linux
UnixGroup Admin - Jordan Systems Inc. [EMAIL PROTECTED]
-- -- - - - ---   --- -- The Choice of the GNU Generation


Re: plog

1999-01-15 Thread ktb
Ben Collins wrote:

 On Thu, Jan 14, 1999 at 08:32:47PM -0700, Robert Kerr wrote:
  When I type plog I get this:
 
  tail: /var/log/ppp.log: Permission denied
 
  the attributes for ppp.log are
  -rw-r-   1 root adm  8305 Jan 14 20:38 /var/log/ppp.log
 
  What can I do to change this?

 You have to run plog as root. The reason that ppp.log isn't world
 readable is that your ppp password is more than likely in the log file.

H, my   ppp.log file shows the same:

~$ ls -l /var/log/ppp.log
-rw-r-   1 root adm848182 Jan 14 16:04 /var/log/ppp.log


And as a regular user gives me this:

~$ plog
Jan 14 16:03:25 crossyourfingers pppd[772]: sent [LCP EchoReq id=0x76 
magic=0x3f1d]
Jan 14 16:03:25 crossyourfingers pppd[772]: rcvd [LCP EchoRep id=0x76
magic=0x6581af77]
Jan 14 16:03:55 crossyourfingers pppd[772]: sent [LCP EchoReq id=0x77 
magic=0x3f1d]
Jan 14 16:03:55 crossyourfingers pppd[772]: rcvd [LCP EchoRep id=0x77
magic=0x6581af77]
Jan 14 16:04:25 crossyourfingers pppd[772]: sent [LCP EchoReq id=0x78 
magic=0x3f1d]
Jan 14 16:04:25 crossyourfingers pppd[772]: rcvd [LCP EchoRep id=0x78
magic=0x6581af77]
Jan 14 16:04:55 crossyourfingers pppd[772]: sent [LCP EchoReq id=0x79 
magic=0x3f1d]
Jan 14 16:04:55 crossyourfingers pppd[772]: rcvd [LCP EchoRep id=0x79
magic=0x6581af77]
Jan 14 16:05:25 crossyourfingers pppd[772]: sent [LCP EchoReq id=0x7a 
magic=0x3f1d]
Jan 14 16:05:25 crossyourfingers pppd[772]: rcvd [LCP EchoRep id=0x7a
magic=0x6581af77]


I looked at the file  /var/log/ppp.log  itself  as a regular user  using  cat 
 and
found my password there.  So if I don't have to use plog as root do I have a 
security
problem?  I'm confused.
Thanks,
Kent


Re: plog

1999-01-15 Thread Rob Mahurin
On Thu, Jan 14, 1999 at 10:08:15PM +, ktb wrote:
 Ben Collins wrote:
 
  On Thu, Jan 14, 1999 at 08:32:47PM -0700, Robert Kerr wrote:
   When I type plog I get this:
  
   tail: /var/log/ppp.log: Permission denied
  
   the attributes for ppp.log are
   -rw-r-   1 root adm  8305 Jan 14 20:38 /var/log/ppp.log
  
   What can I do to change this?
 
  You have to run plog as root. The reason that ppp.log isn't world
  readable is that your ppp password is more than likely in the log file.
 
 H, my   ppp.log file shows the same:
 
 ~$ ls -l /var/log/ppp.log
 -rw-r-   1 root adm848182 Jan 14 16:04 /var/log/ppp.log
 
 
 And as a regular user gives me this:
 
 ~$ plog
 --lots of successful looking output---
 
 I looked at the file  /var/log/ppp.log  itself  as a regular user  using  
 cat  and
 found my password there.  So if I don't have to use plog as root do I have a 
 security
 problem?  I'm confused.
 Thanks,
 Kent

How 'bout this:  While only root can write to the log, in both cases it's 
readable by 
anyone in the adm group.  So if the output of the command groups user 
includes adm, 
then that user can read the plog (and a bunch of other things, too) but not 
write to them.

adduser user group will add user to group and give him all of the rights and 
privileges (sp?)
he is thereto entitled.

as for removing a user from a group, I don't remember off the top of my head 
and couldn't 
find the command in two minutes or less.  Anybody?  

Rob

-- 
If a train station is a place where a train stops, what's a workstation?


Re: plog

1999-01-15 Thread Anthony Wong
On Fri, Jan 15, 1999 at 01:35:09AM -0500, Rob Mahurin wrote:
|
|adduser user group will add user to group and give him all of the rights and 
privileges (sp?)
|he is thereto entitled.
|
|as for removing a user from a group, I don't remember off the top of my head 
and couldn't 
|find the command in two minutes or less.  Anybody?  

vigr, or edit /etc/groups.


Re: plog

1999-01-15 Thread john
ktb writes:
 H, my   ppp.log file shows the same:

 ~$ ls -l /var/log/ppp.log
 -rw-r-   1 root adm848182 Jan 14 16:04 /var/log/ppp.log

 And as a regular user gives me this:
 ~$ plog
 Jan 14 16:03:25 crossyourfingers pppd[772]: sent [LCP EchoReq id=0x76 
 magic=0x3f1d]

Your regular user is in group adm, right? /var/log/ppp.log is in group
adm and is group readable.

 I looked at the file /var/log/ppp.log itself as a regular user using
 cat and found my password there.  So if I don't have to use plog as
 root do I have a security problem?

Depends.  Do you trust your regular user?

I don't know why your regular user would be in adm, though.
-- 
John Hasler
[EMAIL PROTECTED] (John Hasler)
Dancing Horse Hill
Elmwood, WI


Re: plog

1999-01-15 Thread Jim Foltz
On Thu, Jan 14, 1999 at 10:08:15PM +, ktb wrote:
 Ben Collins wrote:
 
 I looked at the file  /var/log/ppp.log  itself  as a regular user  using  
 cat  and
 found my password there.  So if I don't have to use plog as root do I have a 
 security
 problem?  I'm confused.
 Thanks,
 Kent

I found this to be true. The ppp.log is readable by any user on a newly
installed hamm system. I think one of the scripts in cron.weekly set its
permissions to the adm group. If you don't happen to run your machine
24/7, you are unlikey to ever notice, unless you have your machine booted
up on when cron.weekly is run.

 
 
 -- 
 Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null
 

-- 
Jim Foltz [EMAIL PROTECTED]
--purge \*, let dpkg sort them out
AOL/IM: jim foltz


Re: plog

1999-01-15 Thread Jim Foltz
On Thu, Jan 14, 1999 at 10:39:25PM -0500, Ben Collins wrote:
 On Thu, Jan 14, 1999 at 08:32:47PM -0700, Robert Kerr wrote:
  When I type plog I get this:
 
  tail: /var/log/ppp.log: Permission denied
 
  the attributes for ppp.log are
  -rw-r-   1 root adm  8305 Jan 14 20:38 /var/log/ppp.log
 
  What can I do to change this?
 
 You have to run plog as root. The reason that ppp.log isn't world
 readable is that your ppp password is more than likely in the log file.

Under what conditins does the password show up? I just grep'd my 
/var/log/ppp.log for my password, andi t wasn't there. Is it because
I use CHAP that it doesn't show up?

 
 --
 --- -  -   ---  -  - - ---   
 Ben Collins [EMAIL PROTECTED]  Debian GNU/Linux
 UnixGroup Admin - Jordan Systems Inc. [EMAIL PROTECTED]
 -- -- - - - ---   --- -- The Choice of the GNU Generation
 
 
 -- 
 Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null
 

-- 
Jim Foltz [EMAIL PROTECTED]
--purge \*, let dpkg sort them out
AOL/IM: jim foltz


Re: plog

1999-01-15 Thread Ben Collins
On Fri, Jan 15, 1999 at 11:00:24AM -0500, Jim Foltz wrote:
  You have to run plog as root. The reason that ppp.log isn't world
  readable is that your ppp password is more than likely in the log file.
 
 Under what conditins does the password show up? I just grep'd my 
 /var/log/ppp.log for my password, andi t wasn't there. Is it because
 I use CHAP that it doesn't show up?

Not sure since I use pap, but my log shows all the transactions between
the client and server, including the plain text password as gotten from
/etc/ppp/peers/* (which is 600 root.root by default).

Very simple solution is be careful who you add to groups other than
'staff' and 'users'. Those groups are usually there for administration
reasons. If you need a new group for access control of users, don't use
one of the ones already there, make a new one.

-- 
--- -  -   ---  -  - - ---   
Ben Collins [EMAIL PROTECTED]  Debian GNU/Linux
UnixGroup Admin - Jordan Systems Inc. [EMAIL PROTECTED]
-- -- - - - ---   --- -- The Choice of the GNU Generation


Re: plog

1999-01-15 Thread John C. Ellingboe
Jim Foltz wrote:
 
 On Thu, Jan 14, 1999 at 10:39:25PM -0500, Ben Collins wrote:
  On Thu, Jan 14, 1999 at 08:32:47PM -0700, Robert Kerr wrote:
   When I type plog I get this:
  
   tail: /var/log/ppp.log: Permission denied
  
   the attributes for ppp.log are
   -rw-r-   1 root adm  8305 Jan 14 20:38 /var/log/ppp.log
  
   What can I do to change this?
 
  You have to run plog as root. The reason that ppp.log isn't world
  readable is that your ppp password is more than likely in the log file.
 
 Under what conditins does the password show up? I just grep'd my
 /var/log/ppp.log for my password, andi t wasn't there. Is it because
 I use CHAP that it doesn't show up?
 

Turn off debug and kdebug after you get things working proper.  I
believe it is kdebug that puts the userid and password in the log if I
remember correctly.

John

 
  --
  --- -  -   ---  -  - - ---   
  Ben Collins [EMAIL PROTECTED]  Debian GNU/Linux
  UnixGroup Admin - Jordan Systems Inc. [EMAIL PROTECTED]
  -- -- - - - ---   --- -- The Choice of the GNU Generation
 
 
  --
  Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null
 
 
 --
 Jim Foltz [EMAIL PROTECTED]
 --purge \*, let dpkg sort them out
 AOL/IM: jim foltz
 
 --
 Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null


Re: plog

1999-01-15 Thread John Hasler
John writes:
 Turn off debug and kdebug after you get things working proper.  I
 believe it is kdebug that puts the userid and password in the log if I
 remember correctly.

Plain old 'debug' does it.  It's a known bug in pppd.
-- 
John HaslerThis posting is in the public domain.
[EMAIL PROTECTED]  Do with it what you will.
Dancing Horse Hill Make money from it if you can; I don't mind.
Elmwood, Wisconsin Do not send email advertisements to this address.


plog permissions

1998-10-22 Thread XRD Lab
Hello,

I am currently running hamm. Setting up my machine for dial-up to my
isp (tcp/ip) was very simple using ppconfig (My sincere thanks to its
author).

After setting up everything, as an user I could pon and get connected.
I could even type plog and see whether the connection was active or
not. After some time, whenever I tried to plog, I got 'Permission
denied' message. I tracked it the changed group ownership of
/var/log/ppp.log from dip to adm. I reset it. It changed again. Should
ppp.log belong to adm or dip? If it is being changed periodically,
where can I disable it (if it is advisible)?

Thanks,

sridhar


*
Sridhar M. A
Department of Studies in Physics
University of Mysore, Manasagangotri
Mysore 570 006, INDIA

Tel: +91-821-516133
Fax: +91-821-516133

E-mail: [EMAIL PROTECTED]
**


Re: plog permissions

1998-10-22 Thread john
XRD Lab writes:
 After some time, whenever I tried to plog, I got 'Permission denied'
 message. I tracked it the changed group ownership of /var/log/ppp.log
 from dip to adm. I reset it. It changed again. Should ppp.log belong to
 adm or dip? If it is being changed periodically, where can I disable it
 (if it is advisible)?

ppp.log is being written by syslogd, which I believe is changing the group.
It is not a good idea to make ppp.log too accessible as it may contain
passwords.

The real solution to this is a safe suid plog.
-- 
John Hasler
[EMAIL PROTECTED] (John Hasler)
Dancing Horse Hill
Elmwood, WI


plog not working

1998-06-20 Thread Robert Kerr
Hi all,
I have a question regarding plog.  I just recently installed Debian, and
have no complaints,but I am kind of puzzled.  Until about a week ago, the
plog command worked beautifully--it showed me everything I needed to know
about my ppp connection.  But then it stopped logging to /var/log/ppp.log
and just put everything into syslog, which is not nearly so easy to use.
How can I get it back to logging in ppp.log?
Thanks

-bob

Always remember you're unique, just like everybody else.
**
* Robert Kerr, The morphing guy.  *MS 0441 Sandia National Labs  *
* [EMAIL PROTECTED]   *Albuquerque NM 87185-0441 *
* [EMAIL PROTECTED] *  Phone: (505) 844-8606   *
* http://www.et.byu.edu/~kerrr*  Fax: (505) 844-9297 *
**



--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: plog not working

1998-06-20 Thread Bob Nielsen
On Fri, 19 Jun 1998, Robert Kerr wrote:

 Hi all,
 I have a question regarding plog.  I just recently installed Debian, and
 have no complaints,but I am kind of puzzled.  Until about a week ago, the
 plog command worked beautifully--it showed me everything I needed to know
 about my ppp connection.  But then it stopped logging to /var/log/ppp.log
 and just put everything into syslog, which is not nearly so easy to use.
 How can I get it back to logging in ppp.log?

In /etc/syslog.conf, have a line:

local2.*-/var/log/ppp.log

Bob


Bob Nielsen Internet: [EMAIL PROTECTED]
Tucson, AZ  AMPRnet:  [EMAIL PROTECTED]
DM42nh  http://www.primenet.com/~nielsen


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: plog not working

1998-06-20 Thread Robert Kerr

Thanks Bob, that was just the ticket.



On Fri, 19 Jun 1998, Bob Nielsen wrote:

 On Fri, 19 Jun 1998, Robert Kerr wrote:
 
  Hi all,
  I have a question regarding plog.  I just recently installed Debian, and
  have no complaints,but I am kind of puzzled.  Until about a week ago, the
  plog command worked beautifully--it showed me everything I needed to know
  about my ppp connection.  But then it stopped logging to /var/log/ppp.log
  and just put everything into syslog, which is not nearly so easy to use.
  How can I get it back to logging in ppp.log?
 
 In /etc/syslog.conf, have a line:
 
 local2.*-/var/log/ppp.log
 
 Bob
 
 
 Bob Nielsen Internet: [EMAIL PROTECTED]
 Tucson, AZ  AMPRnet:  [EMAIL PROTECTED]
 DM42nh  http://www.primenet.com/~nielsen
 

-bob

Always remember you're unique, just like everybody else.
**
* Robert Kerr, The morphing guy.  *MS 0441 Sandia National Labs  *
* [EMAIL PROTECTED]   *Albuquerque NM 87185-0441 *
* [EMAIL PROTECTED] *  Phone: (505) 844-8606   *
* http://www.et.byu.edu/~kerrr*  Fax: (505) 844-9297 *
**



--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


plog not working in hamm.

1998-06-02 Thread Mark Phillips

I have just upgraded to hamm.  

pon seems to work okay, but plog doesn't come up with anything.  I suspect
this is because 
/etc/syslog.conf
has changed, but I'm not sure.  I had a look, but I don't know how to
change it to fix the problem.  Does anyone know?

Thanks,

Mark.

__
_\/___\__/___Mark_Phillips___/
\__/_\__/--\__/[EMAIL PROTECTED]/
\__/HE___\__/--APTAIN/   
\__/_\__/--\__/__/  /__To be is to do.__I. Kant___/
\__/__\__/___/  /__To do is to be.__A. Sartre_/
/__I am.God___/
/__Jesus did.___/





--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: plog not working in hamm.

1998-06-02 Thread joost


On Tue, 2 Jun 1998, Mark Phillips wrote:

 I have just upgraded to hamm.  
 
 pon seems to work okay, but plog doesn't come up with anything.  I suspect
 this is because 
   /etc/syslog.conf
 has changed, but I'm not sure.  I had a look, but I don't know how to
 change it to fix the problem.  Does anyone know?

Strange. Does /etc/syslog.conf contain a line:

local2.*-/var/log/ppp.log

on your machine?

Cheers,


Joost


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: plog not working in hamm.

1998-06-02 Thread Mark Phillips
On Tue, 2 Jun 1998 [EMAIL PROTECTED] wrote:

 On Tue, 2 Jun 1998, Mark Phillips wrote:
 
  I have just upgraded to hamm.  
  
  pon seems to work okay, but plog doesn't come up with anything.  I suspect
  this is because 
  /etc/syslog.conf
  has changed, but I'm not sure.  I had a look, but I don't know how to
  change it to fix the problem.  Does anyone know?
 
 Strange. Does /etc/syslog.conf contain a line:
 
 local2.*-/var/log/ppp.log
 
 on your machine?

No it doesn't.  I've added it in now though.  Can I activate this without
rebooting?

Cheers,

Mark.

__
_\/___\__/___Mark_Phillips___/
\__/_\__/--\__/[EMAIL PROTECTED]/
\__/HE___\__/--APTAIN/   
\__/_\__/--\__/__/  /__To be is to do.__I. Kant___/
\__/__\__/___/  /__To do is to be.__A. Sartre_/
/__I am.God___/
/__Jesus did.___/


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: plog not working in hamm.

1998-06-02 Thread Michael Acklin
At 12:06 AM 6/3/98 +0930, you wrote:
On Tue, 2 Jun 1998 [EMAIL PROTECTED] wrote:


No it doesn't.  I've added it in now though.  Can I activate this without
rebooting?

Cheers,

Mark.


Mark,

You don't need to reboot to get the deamon to restart. Luckily on this
list, I found out that you can do a ps ax and find out which process
inetd is. Then do a kill -1 (PS#). That's the numeral one.

Then for example, if inetd was process 183, you could do a kill -1 183
and it will stop/restart inetd program. Makes it a lot easier that having
to reboot everytime I changed something, which I was doing.

I have learn a lot over the past few months just listening to this list.
Hope this helps...

Mike


Mike Acklin
[EMAIL PROTECTED] (Work)
[EMAIL PROTECTED] (Home)
Debian Newbie (Please bear with me!)


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: plog not working in hamm.

1998-06-02 Thread Michael Acklin
At 12:06 AM 6/3/98 +0930, you wrote: 



 No it doesn't.  I've added it in now though.  Can I activate this without
 rebooting?

 Cheers,

 Mark.


Oops, 

 That last message should have been the syslogd instead of the inetd. Sorry
but
the same Idea.


Mike


Mike Acklin
[EMAIL PROTECTED] (Work)
[EMAIL PROTECTED] (Home)
Debian Newbie (Please bear with me!)


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: plog not working in hamm.

1998-06-02 Thread Jack Kern
On Wed, Jun 03, 1998 at 12:06:22AM +0930, Mark Phillips wrote:
 On Tue, 2 Jun 1998 [EMAIL PROTECTED] wrote:
 
  On Tue, 2 Jun 1998, Mark Phillips wrote:
  
[...]
   pon seems to work okay, but plog doesn't come up with anything.  I suspect
   this is because 
 /etc/syslog.conf
[...]
  Strange. Does /etc/syslog.conf contain a line:
  
  local2.*-/var/log/ppp.log
  
  on your machine?
 
 No it doesn't.  I've added it in now though.  Can I activate this without
 rebooting?

killall -HUP syslogd 

No need to reboot.

-- 
  [EMAIL PROTECTED]   Jack Kern   Yarmouth, Nova Scotia   Debian GNU/Linux 2.0


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: plog not working in hamm.

1998-06-02 Thread joost


On Wed, 3 Jun 1998, Mark Phillips wrote:

 On Tue, 2 Jun 1998 [EMAIL PROTECTED] wrote:
 
  Strange. Does /etc/syslog.conf contain a line:
  
  local2.*-/var/log/ppp.log
  
  on your machine?
 
 No it doesn't.  I've added it in now though.  Can I activate this without
 rebooting?

You shouldn't even have to restart syslogd.  Try:

  /etc/init.d/sysklogd reload

and if that doesn't work, try

  /etc/init.d/sysklogd restart

You have to be root to do this of course.

Cheers,


Joost


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: plog not working in hamm.

1998-06-02 Thread Nathan E Norman
On Tue, 2 Jun 1998, Michael Acklin wrote:

[ snip ]

: 
:   You don't need to reboot to get the deamon to restart. Luckily on this
: list, I found out that you can do a ps ax and find out which process
: inetd is. Then do a kill -1 (PS#). That's the numeral one.

As usual, there's an even easier way.  Daemons such as inetd keep a PID
file in /var/run - so to get inetd to reread its config, do a 

kill -HUP `cat /var/run/inetd.pid`

In the case of daemons like Apache, I find it netter to use 

/etc/init.d/apache reload

(Or restart, or stop; start ... it's up to you!)

Cheers,

--
Nathan Norman
MidcoNet - 410 South Phillips Avenue - Sioux Falls, SD  57104
mailto://[EMAIL PROTECTED]   http://www.midco.net
finger [EMAIL PROTECTED] for PGP Key: (0xA33B86E9)



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: plog

1998-01-20 Thread Adam Klein
On Mon, Jan 19, 1998 at 06:49:33PM -0500, James Dietrich wrote:
 
 My 'plog' command has stopped working--by that I mean that when I type 'plog'
 nothing is printed.  And possibly related is the fact that my ppp.log files
 are empty.  I'm running the latest from hamm.
 
 Any ideas?

For some reason, the 'syslog.conf' file distributed with the latest
version of the 'sysklogd' package doesn't include an entry for ppp.log.
You can add the following one:

local2.*-/var/log/ppp.log

--
Adam Klein


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


plog

1998-01-19 Thread James Dietrich

My 'plog' command has stopped working--by that I mean that when I type 'plog'
nothing is printed.  And possibly related is the fact that my ppp.log files
are empty.  I'm running the latest from hamm.

Any ideas?

Thanks.

James


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: [PPP] pon and plog not working

1997-10-22 Thread Mark Phillips
On Mon, 20 Oct 1997, Joost Kooij wrote:

 On Mon, 20 Oct 1997, Mark Phillips wrote:
 
  A friend of mine has installed debian on his laptop.  I tried running pon.
  It runs without complaining, but doesn't do anything much.  The modem
  doesn't make any of the usual noises associated with an attempt to
  connect.  When I do plog, it comes up blank.  When I do a ps, it seems
  that pon has indeed started up a couple of processes.  These sit there for
  a few minutes and then die.  Other than this I have no idea what is going
  on.  Certainly plog is no help.
 
 Does your friend have a line
 
 local2.*-/var/log/ppp.log
 
 in his /etc/syslog.conf ?

Yes he does have this line.  Any other ideas?

Thanks,

Mark.

_/\___/~~\
/~~\_/~~\__/~~\__Mark_Phillips
/~~\_/[EMAIL PROTECTED]
/~~\HE___/~~\__/~~\APTAIN_
/~~\__/~~\
__
  They told me I was gullible ... and I believed them!


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: [PPP] pon and plog not working

1997-10-22 Thread Mark Phillips
On Mon, 20 Oct 1997, Jeff Gunter wrote:

 Silly question:  can he use the modem at all?  Is he using a pcmcia modem or
 hooking up to a serial port?  Some pcmcia configs have trouble w/ interrupt
 conflicts...

I'm not sure if he can use the modem at all.  I'll see if I can find out.

He is using a pcmcia modem.  How would I find out about interrupt conflict
problems?

The funny thing though is that plog doesn't produce any output.  I would
have thought that at least it would output some error.

Cheers,

Mark.


_/\___/~~\
/~~\_/~~\__/~~\__Mark_Phillips
/~~\_/[EMAIL PROTECTED]
/~~\HE___/~~\__/~~\APTAIN_
/~~\__/~~\
__
  They told me I was gullible ... and I believed them!


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: [PPP] pon and plog not working (fwd)

1997-10-22 Thread Mark Phillips

Hi,

Well I don't know why, but plog has suddenly started to work.  At least we
now have a clue as to why pon isn't working.  It comes up with the
following:

Oct 21 22:36:51 genoa pppd[239]: pppd 2.2.0 started by root, uid 0
Oct 21 22:36:51 genoa pppd[239]: tcgetattr: I/O error
Oct 21 22:36:51 genoa pppd[239]: Exit.

Any ideas?

Mark.


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: [PPP] pon and plog not working (fwd)

1997-10-22 Thread Joost Kooij
On Wed, 22 Oct 1997, Mark Phillips wrote:

 
 Hi,
 
 Well I don't know why, but plog has suddenly started to work.  At least we
 now have a clue as to why pon isn't working.  It comes up with the
 following:
 
 Oct 21 22:36:51 genoa pppd[239]: pppd 2.2.0 started by root, uid 0
 Oct 21 22:36:51 genoa pppd[239]: tcgetattr: I/O error
 Oct 21 22:36:51 genoa pppd[239]: Exit.
 
 Any ideas?

Did you check /proc/interrupts for interrupt conflicts?
Can you dial out from minicom?
What device does pppd try to use, /dev/cua* (wrong) or /dev/ttyS* (right)?


Joost


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . Trouble? 
e-mail to [EMAIL PROTECTED] .


[PPP] pon and plog not working

1997-10-20 Thread Mark Phillips

Hi,

A friend of mine has installed debian on his laptop.  I tried running pon.
It runs without complaining, but doesn't do anything much.  The modem
doesn't make any of the usual noises associated with an attempt to
connect.  When I do plog, it comes up blank.  When I do a ps, it seems
that pon has indeed started up a couple of processes.  These sit there for
a few minutes and then die.  Other than this I have no idea what is going
on.  Certainly plog is no help.

Any ideas?

Thanks,

Mark.


_/\___/~~\
/~~\_/~~\__/~~\__Mark_Phillips
/~~\_/[EMAIL PROTECTED]
/~~\HE___/~~\__/~~\APTAIN_
/~~\__/~~\
__
  They told me I was gullible ... and I believed them!


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: [PPP] pon and plog not working

1997-10-20 Thread Joost Kooij
On Mon, 20 Oct 1997, Mark Phillips wrote:

 Hi,
 
 A friend of mine has installed debian on his laptop.  I tried running pon.
 It runs without complaining, but doesn't do anything much.  The modem
 doesn't make any of the usual noises associated with an attempt to
 connect.  When I do plog, it comes up blank.  When I do a ps, it seems
 that pon has indeed started up a couple of processes.  These sit there for
 a few minutes and then die.  Other than this I have no idea what is going
 on.  Certainly plog is no help.

Does your friend have a line

local2.*-/var/log/ppp.log

in his /etc/syslog.conf ?

If not, try adding it and running /etc/init.d/sysklogd reload


Joost


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: plog doesn't work anymore under 1.3

1997-06-18 Thread Mark Phillips
On 16 Jun 1997, Stig Sandbeck Mathisen wrote:

  MP == Mark Phillips [EMAIL PROTECTED] writes:
 
 MP Hi,
 
 MP I had a look at /var/log/ppp.log and it is empty.  It seems like
 MP this file is no longer written to???
 
 MP Any ideas?
 
 What's in /etc/syslog.conf? 
 
 If this file has been replaced by the upgrade process, I think the old
 file is copied as /etc/syslog.conf.dpkg-old (AFAIR).  

Yes, this may be the problem.  I did a 
diff /etc/syslog.conf /etc/syslog.conf.dpkg-old 
and came up with:

7,8c7
 daemon.*  -/var/log/daemon.log
 mail.*/var/log/mail.log
---
 daemon.*;mail.*   -/var/log/daemon.log
28a28
 local2.*  -/var/log/ppp.log


Does this mean there is a bug with the upgrade procedure?
Should I change back to the old file?

Thanks,

-
Mark Phillips  [EMAIL PROTECTED]
   They told me I was gullible ... and I believed them!
-


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


plog doesn't work anymore under 1.3

1997-06-16 Thread Mark Phillips

Hi,

I've just upgraded to 1.3 and tried using ppp.  I've managed to connect
okay (enabling me to send this email) by plog no longer works.  When
I type it, it comes up blank.  I had a look at /var/log/ppp.log and it
is empty.  It seems like this file is no longer written to???

Any ideas?


-
Mark Phillips  [EMAIL PROTECTED]
   They told me I was gullible ... and I believed them!
-


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: plog doesn't work anymore under 1.3

1997-06-16 Thread Stig Sandbeck Mathisen
 MP == Mark Phillips [EMAIL PROTECTED] writes:

MP Hi,

MP I had a look at /var/log/ppp.log and it is empty.  It seems like
MP this file is no longer written to???

MP Any ideas?

What's in /etc/syslog.conf? 

If this file has been replaced by the upgrade process, I think the old
file is copied as /etc/syslog.conf.dpkg-old (AFAIR).  


-- 
 SSM - Stig Sandbeck Mathisen
  Trust the Computer, the Computer is your Friend


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: plog doesn't work anymore under 1.3

1997-06-16 Thread Dale Scheetz
On Mon, 16 Jun 1997, Mark Phillips wrote:

 
 Hi,
 
 I've just upgraded to 1.3 and tried using ppp.  I've managed to connect
 okay (enabling me to send this email) by plog no longer works.  When
 I type it, it comes up blank.  I had a look at /var/log/ppp.log and it
 is empty.  It seems like this file is no longer written to???
 
I believe that the newer ppp writes its logs to /var/log/daemon.log

Dwarf
-- 
_-_-_-_-_-_-  _-_-_-_-_-_-_-

aka   Dale Scheetz   Phone:   1 (904) 656-9769
  Flexible Software  11000 McCrackin Road
  e-mail:  [EMAIL PROTECTED] Tallahassee, FL  32308

_-_-_-_-_-_- If you don't see what you want, just ask _-_-_-_-_-_-_-


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: plog doesn't work anymore under 1.3

1997-06-16 Thread Stig Sandbeck Mathisen
 DS == Dale Scheetz [EMAIL PROTECTED] writes:

DS I believe that the newer ppp writes its logs to
DS /var/log/daemon.log

Go change the script instead, then?


-- 
 SSM - Stig Sandbeck Mathisen
  Trust the Computer, the Computer is your Friend


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


PPP connect using pon / poff / plog scripts

1997-01-05 Thread Andrew Martin Adrian Cater
Help,

I can connect to my ISP using pon as root: when I attempted to use this
as user amacater, I got cannot read /etc/ppp.chatscript errors: chmod
755 cured this for /etc/ppp.chatscript and /etc/ppp.options_out but I
now get: cannot execute /usr/sbin/pppd - permission denied.  I know
that pppd is suid, owned by root with group of dip - what do I need to
do next.  I am *very* unclear on suid so would appreciate any help here
- apologies for a possible FAQ.  System is Debian 1.2 from i-connect CD
mastered 13/12/96 - clean install (previously using 1.1 which I wiped).

Andy
-- 
Andrew Martin Adrian Cater


--
This message was delayed because the list mail delivery agent was down.


Re: PPP connect using pon / poff / plog scripts

1997-01-05 Thread Nathan L. Cutler
 Andrew == Andrew Martin Adrian Cater [EMAIL PROTECTED] writes:

Andrew Help, I can connect to my ISP using pon as root: when I
Andrew attempted to use this as user amacater, I got cannot read
Andrew /etc/ppp.chatscript errors: chmod 755 cured this for
Andrew /etc/ppp.chatscript and /etc/ppp.options_out but I now
Andrew get: cannot execute /usr/sbin/pppd - permission denied.
Andrew I know that pppd is suid, owned by root with group of dip
Andrew - what do I need to do next.  I am *very* unclear on suid
Andrew so would appreciate any help here - apologies for a
Andrew possible FAQ.

I remember having the exact same behavior on my system.  Here is an
'ls -l' listing for pppd:

-rwsr-x--x   1 root dip 75944 Dec  8 01:54 /usr/sbin/pppd*

Note that the group 'dip' has read and execute permissions, and other
only have execute permission.  I'm not exactly sure why (I'm not too
clear on SUID root myself), but I was able to solve the problem by
adding myself to the the group 'dip' in /etc/group.

Perhaps doing a 'chmod o+r /usr/sbin/pppd' as root would do the trick
as well?  (Haven't tried this, though.)

-- 
Nathan L. Cutler
Linux Enthusiast
http://www.cise.ufl.edu/~nlc


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]