Re: switching to kernel 2.6 - diald error: No pty found ...

2006-02-13 Thread Daniel B.

I wrote:


John Hasler wrote:


Daniel writes:


Is Sarge's diald supposed to work with kernel 2.6.8 and udev?




Do you really need diald at all?  What does it do for you that dial on
demand can't?



I don't know; maybe nothing.


However, I'd like to avoid changing too many things at once.  (At the
moment I'm trying to try a 2.6 kernel to see if it finally avoids severe
filesystem corruption when I try to enable DMA on my AMD IDE controller.)

So, does anyone know if there a solution to the No pty in range
pty[p-s][0-9a0-f] problem?


Okay, never mind the pty question; I did drop diald and use pppd's
demand-dialing option.

Daniel





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




switching to kernel 2.6 - diald error: No pty found ...

2006-02-10 Thread Daniel B.

In trying to switch to kernel 2.6(.8) and udev on Sarge, I'm
encountering a problem with diald.  It says:

  No pty in range pty[p-s][0-9a0-f]

and then fails (saying Diald is dying with code 1).

Any ideas (what to do to make such device nodes available, or maybe
how to reconfigure diald to use whatever those device nodes turned
into)?


Is Sarge's diald supposed to work with kernel 2.6.8 and udev?

Thanks,
Daniel





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




Re: switching to kernel 2.6 - diald error: No pty found ...

2006-02-10 Thread John Hasler
Daniel writes:
 Is Sarge's diald supposed to work with kernel 2.6.8 and udev?

Do you really need diald at all?  What does it do for you that dial on
demand can't?
-- 
John Hasler


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



Re: switching to kernel 2.6 - diald error: No pty found ...

2006-02-10 Thread Daniel B.

John Hasler wrote:


Daniel writes:


Is Sarge's diald supposed to work with kernel 2.6.8 and udev?



Do you really need diald at all?  What does it do for you that dial on
demand can't?


I don't know; maybe nothing.


However, I'd like to avoid changing too many things at once.  (At the
moment I'm trying to try a 2.6 kernel to see if it finally avoids severe
filesystem corruption when I try to enable DMA on my AMD IDE controller.)

So, does anyone know if there a solution to the No pty in range
pty[p-s][0-9a0-f] problem?



Daniel



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




diald setzt default route nicht

2005-04-25 Thread Manuel Schmitz
Hallo,
nach der Einwahl von diald über pppoe setzt mein Router nicht seine 
default-Route.

Es existieren zwar die Interfaces ppp0, tap0 und eth1 in der Routingtabelle, 
aber erst nach route add default dev ppp0 klappt alles. Eigentlich hätte 
ich gerne, dass diald das nach jeder Einwahl automatisch macht. Wie geht's?
Viele Grüße
--Manuel :-)

_
Ungestört surfen. MSN Toolbar mit Pop-up-Blocker. http://toolbar.msn.de/ 
Jetzt kostenlos downloaden!

--
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)


Referência da pagina diald(8)

2005-02-28 Thread nelber+nelber.com.br



Saudações
No_man diald(8)_ há uma referência a 
/etc/diald/diald.options (linhas 28 e 61). Mas não existe, na minha instalação 
(debian 30r3-i386-binary-1), este arquivo. Parece que no lugar dele, a julgar 
pelo conteúdo do man diald-examples(5), está o 
/etc/diald/diald.defaults.
Como sou mais que novato, sou foca, não quero 
arriscar pressupor que há erro no documento, sem uma opinião maior.
Alguém pode me confirmar se existe um 
"diald.options" ou ele é o atual "diald.defaults".
Obrigado
Nelson C.Bertulucci


diald.defaults diald.options in diald 0.99.4-5

2004-07-17 Thread petereasthope
Users of diald,

System: Debian Woody
Package: diald 0.99.4-5

The manual pages for diald and dialdexamples refer
to the configuration file diald.options.  Documentation
files do not mention diald.defaults.

Installation includes /etc/diald/diald.defaults but
there is no diald.options.

/etc/init.d/diald mentions both diald.defaults and
diald.options.

diald does does not work.

Can anyone illuminate the configuration of diald
in this context?

Thanks,Peter E.


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



prakt. Anwendungsfall zu diald

2004-06-15 Thread Christian Buhtz
Bei mir läuft diald und wird automatisch gestartet. Nun möchte ich diald
gerne deaktivieren.

Mir ist klar, dass ich dies tun könnte in dem ich einfach den link in
/etc/rcX.d entferne.

Ich stelle mir die Frage, ob das elegant ist!?

Gibt es eine Art Konfigurationstool oder conf-file unter Debian, mit dem
man so erledigen kann.

Beispielsweise möchte ich beim wieder deaktivieren, den jeweils
deaktivierten Dienst aus einer Liste auswählen können. Erst wieder auf
der shell einen Link anlegen, kommt mir etwas merkwürdig vor. Da gibt es
doch bestimmt was eleganteres unter Debian?


-- 
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



Re: prakt. Anwendungsfall zu diald

2004-06-15 Thread Christoph Wegscheider
Christian Buhtz wrote:

 Mir ist klar, dass ich dies tun könnte in dem ich einfach den link in
 /etc/rcX.d entferne.
 
 Ich stelle mir die Frage, ob das elegant ist!?
 
 Gibt es eine Art Konfigurationstool oder conf-file unter Debian, mit dem
 man so erledigen kann.
Ja zwei wrapper:
update-rc.d
rcconf

Christoph


-- 
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



Re: prakt. Anwendungsfall zu diald

2004-06-15 Thread Martin Mewes
Moin, moin ...

Christian Buhtz [EMAIL PROTECTED] wrote:

Beispielsweise möchte ich beim wieder deaktivieren, den jeweils
deaktivierten Dienst aus einer Liste auswählen können. Erst wieder auf
der shell einen Link anlegen, kommt mir etwas merkwürdig vor. Da gibt es
doch bestimmt was eleganteres unter Debian?

Du könntest das z.B. elegant mit der Maus in Webmin (siehe Signatur)
machen. Spracheinstellung deutsch vorrausgesetzt ;-)

Webmin
- System
- System-Start und -Stop

Unter Aktion Deinen Dienst anklicken.
Seite runterscrollen.
Disable selected on boot (noch nicht alles übersetzt).

bis dahin - kind regards

Martin Mewes

-- 
http://webmin.mamemu.de/
Official Webmin/Usermin Translation Co-Ordinator 2003/2004
http://www.mamemu.de/ | http://www.mewes.tv/



Re: prakt. Anwendungsfall zu diald

2004-06-15 Thread Christian Buhtz
Am Tue, 15 Jun 2004 20:01:21 +0200 schrieb Christoph Wegscheider:
 rcconf

Yeah! Danke, genau das was ich suchte.


-- 
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



Re: [diald] merkwürdige Meldungen nach Kernelwechsel

2004-06-13 Thread Christian Schmidt
Hallo Christian,

Christian Buhtz, 12.06.2004 (d.m.y):

 On Fri, 11 Jun 2004 18:13:18 +0200, Christian Schmidt wrote:
  Dann sorge doch am besten dafuer, dass der diald auch nicht gestartet
  wird. Wer weiss, was er sonst alles anrichten kann.
 
 Eigentlich soll ja ein dial-on-demand laufen, nur bekam ich das bis jetzt
 noch nicht hin. Daher läuft diald halt noch.

Er laeuft noch, weil er nicht funktioniert?
Sorry, aber das muss man nicht verstehen, oder?

 Nun frag ich mich halt, wo diald die den Unterschied zwischen meinen
 beiden Kernel macht?

Woher sollen wir das denn wissen?
Vergleiche doch mal die Konfigurationen der verschiedenen Kernel und
wirf mal einen Blick in die diald-Doku. Da wird doch sicher irgendwo
erwaehnt sein, welche Voraussetzungen Dein Kernel fuer den Betrieb des
diald erfuellen muss.

Oder nimm die Konfiguration des funktionierenden Kernels und schieb
sie dem anderen unter.

Gruss,
Christian
-- 
Freu' Dich des Lebens und Du freust Dich umsonst.


signature.asc
Description: Digital signature


Re: [diald] merkwürdige Meldungen nach Kernelwechsel

2004-06-12 Thread Christian Buhtz
On Fri, 11 Jun 2004 18:13:18 +0200, Christian Schmidt wrote:
 Dann sorge doch am besten dafuer, dass der diald auch nicht gestartet
 wird. Wer weiss, was er sonst alles anrichten kann.

Eigentlich soll ja ein dial-on-demand laufen, nur bekam ich das bis jetzt
noch nicht hin. Daher läuft diald halt noch.

Nun frag ich mich halt, wo diald die den Unterschied zwischen meinen
beiden Kernel macht?


-- 
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



[diald] merkwürdige Meldungen nach Kernelwechsel

2004-06-11 Thread Christian Buhtz
Habe von 2.4.18-bf2.4 auf 2.4.26-2 Kernel gewechselt. Ich gehe über 56K
Modem manuell (pon, poff) online.
Im Hintergrund läuft noch diald, weil ich irgendwann mal nen
dial-on-demand Zugang einrichten wollte, das aber noch nicht hingehauen
hat.

Nach dem Kernelwechsel tauchen in /var/log/messages solche Meldungen auf:
Jun 11 12:11:11 hotlips pppd[581]: PAP authentication succeeded
Jun 11 12:11:12 hotlips pppd[581]: local  IP address 145.254.233.59
Jun 11 12:11:12 hotlips pppd[581]: remote IP address 145.253.1.121
Jun 11 12:11:12 hotlips pppd[581]: primary   DNS address 145.253.2.81
Jun 11 12:11:12 hotlips pppd[581]: secondary DNS address 145.253.2.203
Jun 11 12:11:16 hotlips diald[317]: Trigger: udp   192.168.0.1/1025  145
.253.2.81/53   
Jun 11 12:11:16 hotlips diald[317]: Calling site 192.168.0.2 
Jun 11 12:11:16 hotlips diald[317]: Device ttyS1 is locked by pid 581
Jun 11 12:11:16 hotlips diald[317]: Device ttyS1 is locked by pid 581
Jun 11 12:11:16 hotlips diald[317]: No devices free to call out on.
Jun 11 12:11:16 hotlips diald[317]: Connect script failed.
Jun 11 12:11:16 hotlips diald[317]: Delaying 1 seconds before clear to dial.
Jun 11 12:11:19 hotlips diald[317]: Calling site 192.168.0.2 
Jun 11 12:11:19 hotlips diald[317]: Device ttyS1 is locked by pid 581
Jun 11 12:11:19 hotlips diald[317]: Device ttyS1 is locked by pid 581
Jun 11 12:11:19 hotlips diald[317]: No devices free to call out on.
Jun 11 12:11:20 hotlips diald[317]: Connect script failed.
Jun 11 12:11:20 hotlips diald[317]: Delaying 1 seconds before clear to dial.
Jun 11 12:11:21 hotlips diald[317]: Calling site 192.168.0.2 
Jun 11 12:11:21 hotlips diald[317]: Device ttyS1 is locked by pid 581
Jun 11 12:11:21 hotlips diald[317]: Device ttyS1 is locked by pid 581
Jun 11 12:11:21 hotlips diald[317]: No devices free to call out on.


1. Kann es sein, das mein diald unter dem alten Kernel nicht
funktionierte, weil dort irgendein Modul fehlte?

2. Warum zeigt mir diald solche Meldungen, wenn ich manuell (pon) online
gehe?


-- 
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



Re: [diald] merkwürdige Meldungen nach Kernelwechsel

2004-06-11 Thread Christian Schmidt
Hallo Christian,

Christian Buhtz, 11.06.2004 (d.m.y):

 Im Hintergrund läuft noch diald, weil ich irgendwann mal nen
 dial-on-demand Zugang einrichten wollte, das aber noch nicht hingehauen
 hat.

Dann sorge doch am besten dafuer, dass der diald auch nicht gestartet
wird. Wer weiss, was er sonst alles anrichten kann.

 Jun 11 12:11:16 hotlips diald[317]: Device ttyS1 is locked by pid 581
 Jun 11 12:11:16 hotlips diald[317]: Device ttyS1 is locked by pid 581
 Jun 11 12:11:16 hotlips diald[317]: No devices free to call out on.
 Jun 11 12:11:16 hotlips diald[317]: Connect script failed.

[..]
 1. Kann es sein, das mein diald unter dem alten Kernel nicht
 funktionierte, weil dort irgendein Modul fehlte?

Kann sein, muss aber nicht.

 2. Warum zeigt mir diald solche Meldungen, wenn ich manuell (pon) online
 gehe?

Weil der diald wohl gerne die Kontrolle darueber haette, ob ttyS1 eine
Verbindung aufreisst oder nicht, sie aber nicht erlangen kann, weil
das Device von dem Prozess mit der PID 581 blockiert ist. Ich vermute
mal, das duerfte Dein pppd gewesen sein.

Fuer die Zukunft waere es vielleicht ganz praktisch, wenn Du Dir Deine
Logfiles auch selbst mal genau durchlesen wuerdest. Zumindest die
Antworten auf Deine zweite Frage stehen da naemlich alle drin.

Grunz,
Christian
-- 
Ein wahrer Freund trägt mehr zu unserem Glück bei als tausend Feinde zu
unserem Unglück.


signature.asc
Description: Digital signature


Funktionsverständnis von diald und ppp

2004-05-13 Thread Christian Buhtz
Also ich hatte vor hier ein Dial-On-Demand anzurichten. Google, manpages
und Usenet bringen mich nicht weiter. Ich habe nicht mal Fehlermeldungen
in den logfiles. Nix läuft. Meine Vermutung ist, das ich einfach das ich
da Grundsätzlich was fasch verstehe.

ppp ist konfiguriert und läuft mit pon und poff

diald ist dazu da, um nicht-lokale-Anfragen (also ins Internet) zu
bemerken. Diese hebt er auf und veranlasst ppp eine Verbindung
anzuwählen. Steht diese, schickt diald die Anfragen und alle weiteren
raus. Besteht eine zeitlang Inaktivität, bricht pppd die Verbindung ab.
diald läßt sie dann bei Bedarf aber auch wieder aufbauen.

btw: Ich spreche hier von einfach Dial-On-Demand auf einem einzigen
Rechner. Nix mit NAT usw.


-- 
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



[diald] anfangsprobleme

2004-05-11 Thread Christian Buhtz
Also jetzt habe ich diald installiert. Mein ppp lief ja vorher schon
sauber.

In /etc/diald/diald.provider ist der entsprechende Name meines peers
eingetragen.

Mein /etc/diald/diald.defaults sieht so aus (ohne Kommentare):

accounting-log /var/log/diald.log
fifo /var/run/diald.fifo
mode ppp
dynamic
two-way
reroute
ip-up /etc/diald/ip-up
ip-down /etc/diald/ip-down
lock
connect-timeout 90
dial-fail-limit 0
died-retry-count 0
include /etc/diald/standard.filter

Ich ging runter auf init 1 und dann wieder hoch. diald ist in ps -A zu
sehen.
Ein ping auf www.heise.de bringt unknown host. Ein ping auf eine
imaginäre IP bringt auch nix. In /var/log/syslog und in
/var/log/diald.log ist nix zu sehen.

Stehe jetzt ziemlich auf dem Schlauch.


-- 
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



RE: ppp/diald networking dying under heavy IDE (or CPU?) load

2004-05-11 Thread Jens Simmoleit
 I am getting occasional kernel: PPP: VJ decompression error in my
 logs.  Might that result from dropped characters from a buffer
 overrun (e.g., if the CPU is too busy doing PIO disk I/O to service
 the serial port frequently enough)?


Hi Daniel,

the ppp error message is coming up because there seems to be a problem using
the Van Jacobsen-Compression, I've read that in a German Debian User
list. you can turn it off by removing -vj in /etc/ppp/options according
to this here (its' German though :-)
http://lists.debian.org/debian-user-de/2001/03/msg01171.html

But I don't know if this solves your problems ^^

Greets,
Simmel



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



RE: ppp/diald networking dying under heavy IDE (or CPU?) load

2004-05-10 Thread Jens Simmoleit

  Could it be by any chance that the NIC and the ide controller
 and also the
  serial port controller are hooked up on the same IRQ?

 At least according to /proc/interrupts, the serial port doesn't seem to
 be sharing interrupts:

 # more /proc/interrupts
 CPU0   CPU1
0:1924074  0  XT-PIC  timer
1:  13204  0  XT-PIC  keyboard
2:  0  0  XT-PIC  cascade
3: 490726  0  XT-PIC  serial
5:  0  0  XT-PIC  eth0
8:  3  0  XT-PIC  rtc
   10:  0  0  XT-PIC  CMI8738-MC6
   11:  53222  0  XT-PIC  ide2, ide3
   12: 125384  0  XT-PIC  PS/2 Mouse
   14:3696354  0  XT-PIC  ide0
   15: 121555  0  XT-PIC  ide1
 NMI:  0  0
 LOC:19229001924053
 ERR:   3287
 MIS:  0
 #


Try it this way pls.

Directly after your BIOS has loaded you'll get a list with all your devices
 their path on the PCI bus and also on the right the irqs which are used by
the devices, what does this tell you? To stop the loading process simply
press pause :-)

Are there any devices which share/have the same number?

 I was thinking that it was only disks on my ide0 and ide1 controllers
 (ports?) (for which I had disabled DMA to avoid horrible file system
 corruption) that were involved with network problems, but I need to see
 if things differ for disks on my ide2 and ide3 controllers (a Promise
 Ultra100/TX2 card).


Hmh, I don't quite get that, do you mean you've got an ide pci card of some
sort? The thing is, at least with older machines that the bus speed is not
high enough, so getting lots of network pakets and using an additional ide
pci card (even worse on a shared slot) could cause such an effect. Intense
work on 4 harddiscs and 1 or 2 network cards, could result in high cpu usage
and, how to say that? high bus activity.! Which also means that Requests
from other lower devices on the systembus are dropped at least held
back.

It's not so easy to explain it in English, I hope you get what I mean :/

 I am getting occasional kernel: PPP: VJ decompression error in my
 logs.  Might that result from dropped characters from a buffer
 overrun (e.g., if the CPU is too busy doing PIO disk I/O to service
 the serial port frequently enough)?


Sorry I don't know anything about PPP :-(

Simmel



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



Diald Implementation.

2003-11-25 Thread David Sudjiman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Dear All,

I leave my office for a week holiday and planned to get back to it with
success story about diald implementation next week.

Currently, on my toshiba tecra8100 laptop:
- - Installed diald
- - my wvdial works
- - my pon/poff works

I already read about Diald-HOWTO but I don't get the idea how can I
implement it as the HOWTO showed different
files for diald.option, diald.conf, etc.

I read PPP-HOWTO as well but I just get confused so I read Debian
Reference (or was it Debian FAQ) about using my PPP to work. Well, It
works with pon/poff.

I don't know where to start with my implementation and what error file(s)
should I bring here. I search (just for a while) about diald implemtation
on debian but just found a few.

Can I get a good URL or is there somebody here able to advice this newbie
about diald implementation.


thx
.dave

I don't believe it.
Believe it or not, you piece of shit, you're still gonna burn.

-- Cypher and Tank, The Matrix
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE/w1wXi49CVEIUJQgRAm8tAJsFIdzr7Nf1HVU2uXtqWmueedH6pACeN+hi
GGcXgAHkW79s3Mw9gIXLwro=
=MajZ
-END PGP SIGNATURE-


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



Re: Diald Implementation.

2003-11-25 Thread Karsten M. Self
on Tue, Nov 25, 2003 at 08:41:36PM +0700, David Sudjiman ([EMAIL PROTECTED]) wrote:

 I leave my office for a week holiday and planned to get back to it with
 success story about diald implementation next week.
 
 Currently, on my toshiba tecra8100 laptop:
 - - Installed diald
 - - my wvdial works
 - - my pon/poff works
 
 I already read about Diald-HOWTO but I don't get the idea how can I
 implement it as the HOWTO showed different
 files for diald.option, diald.conf, etc.
 
 I read PPP-HOWTO as well but I just get confused so I read Debian
 Reference (or was it Debian FAQ) about using my PPP to work. Well, It
 works with pon/poff.
 
 I don't know where to start with my implementation and what error file(s)
 should I bring here. I search (just for a while) about diald implemtation
 on debian but just found a few.
 
 Can I get a good URL or is there somebody here able to advice this newbie
 about diald implementation.

I believe that the 'demand' option for pppd will give you equivalent
functionality to diald at rather less complexity.  I messed with diald
way back in the dark ages (1997/98) and never got it working
satisfactorially.  I largely use manually triggered pppd (pon/poff) now.

Peace.

-- 
Karsten M. Self [EMAIL PROTECTED]http://kmself.home.netcom.com/
 What Part of Gestalt don't you understand?
   What doesn't kill you makes you stranger.
 -- Karsten M. Self, misreading as usual, San Marcos Pass Rd., 1988


pgp0.pgp
Description: PGP signature


utilisation de diald pour modem seulement?

2003-11-08 Thread patrice
bonsoir,

j'ai ce processus qui tourne :

 PID USER PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM   TIME COMMAND
431 root   7  -5   632  540   492 S0.0  0.4   0:01 diald

il me semble que diald est juste utile pour les modems rtc!
je n'ai pas de modem rtc (seulement un modem routeur en ethernet).

puis je retirer diald de ma machine?
autre question:
est ce normal que j'ai ce diald en fonction?

merci d'avance de vos lumiéres...
--
patrice 
--
La plupart des institutions sociales paraissent avoir pour objet de maintenir 
l'homme dans une médiocrité d'idées et de sentiments qui le rendent plus 
propre à gouverner ou à être gouverné. --.Ecrivain français [Chamfort ].--



Re: utilisation de diald pour modem seulement?

2003-11-08 Thread Frédéric Bothamy
* patrice [EMAIL PROTECTED] [2003-11-08 19:13] :
 bonsoir,
 
 j'ai ce processus qui tourne :
 
  PID USER PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM   TIME COMMAND
 431 root   7  -5   632  540   492 S0.0  0.4   0:01 diald
 
 il me semble que diald est juste utile pour les modems rtc!

Exact comme l'indique apt-cache show diald

 je n'ai pas de modem rtc (seulement un modem routeur en ethernet).
 
 puis je retirer diald de ma machine?

Oui

 autre question:
 est ce normal que j'ai ce diald en fonction?

Si tu l'as installé, probablement.


Fred

-- 
Comment poser les questions de manière intelligente ?
http://www.gnurou.org/documents/smart-questions-fr.html
Code de conduite des listes Debian
http://www.fr.debian.org/MailingLists/#codeofconduct



diald interferes with pppd? (was: Re: Installing a kernel off CD-ROM)

2003-10-15 Thread cr
I've had this sitting in my 'pending' folder while a bit of Real Life (TM) 
happened, but it's time I got back to it -

my problem was that, with the bf2.4 kernel (loaded off boot floppy), Kppp and 
pppd worked OK, but with the 2.4-18-k6 kernel on my hard drive, pppd just 
doesn't communicate with Kmail or browsers.   

I could find no difference in the ppp setups bertween the two kernels (I've 
attached my replies to Andreas' questions at the end of this message for 
completeness), except that the k6 kernel seems to start  diald   while bf2.4 
doesn't.

With the  bf24 kernel (under which Kppp/pppd works OK), /var/log/messages is 
as follows:

Oct 10 22:06:59 alti kernel: PPP generic driver version 2.4.1
Oct 10 22:06:59 alti pppd[404]: pppd 2.4.1 started by cr, uid 1000
Oct 10 22:06:59 alti pppd[404]: Using interface ppp0
Oct 10 22:06:59 alti pppd[404]: Connect: ppp0 -- /dev/ttyS0
Oct 10 22:07:15 alti kernel: PPP BSD Compression module registered
Oct 10 22:07:15 alti kernel: PPP Deflate Compression module registered
Oct 10 22:07:15 alti pppd[404]: local  IP address 219.88.129.175
Oct 10 22:07:15 alti pppd[404]: remote IP address 210.55.12.201
Oct 10 22:07:15 alti pppd[404]: primary   DNS address 210.55.12.205
Oct 10 22:07:15 alti pppd[404]: secondary DNS address 210.55.12.1
Oct 10 22:07:54 alti pppd[404]: Terminating on signal 15.
Oct 10 22:07:54 alti pppd[404]: Connection terminated.
Oct 10 22:07:54 alti pppd[404]: Connect time 1.0 minutes.
Oct 10 22:07:54 alti pppd[404]: Sent 5303 bytes, received 42981 bytes.
Oct 10 22:07:55 alti pppd[404]: Exit.

With the k6 kernel, (under which Kppp/pppd fails to communicate with apps), 
this happens:

Oct 10 21:26:31 alti diald[212]: Delaying 1 seconds before clear to dial.
Oct 10 21:26:34 alti diald[212]: Calling site 192.168.0.2 
Oct 10 21:26:34 alti diald[212]: No devices free to call out on.
Oct 10 21:26:35 alti diald[212]: Connect script failed.
Oct 10 21:26:35 alti diald[212]: Delaying 1 seconds before clear to dial.
Oct 10 21:26:59 alti pppd[485]: pppd 2.4.1 started by cr, uid 1000
Oct 10 21:26:59 alti pppd[485]: Using interface ppp0
Oct 10 21:26:59 alti pppd[485]: Connect: ppp0 -- /dev/ttyS0
Oct 10 21:27:00 alti pppd[485]: local  IP address 219.88.128.122
Oct 10 21:27:00 alti pppd[485]: remote IP address 210.55.12.201
Oct 10 21:27:00 alti pppd[485]: primary   DNS address 210.55.12.205
Oct 10 21:27:00 alti pppd[485]: secondary DNS address 210.55.12.1
Oct 10 21:27:00 alti diald[212]: Trigger: udp   192.168.0.1/32778
210.55.12.205/53   
Oct 10 21:27:00 alti diald[212]: Calling site 192.168.0.2 
Oct 10 21:27:00 alti diald[212]: No devices free to call out on.
Oct 10 21:27:00 alti diald[212]: Connect script failed.
Oct 10 21:27:00 alti diald[212]: Delaying 1 seconds before clear to dial.
Oct 10 21:27:03 alti diald[212]: Calling site 192.168.0.2 
Oct 10 21:27:03 alti diald[212]: No devices free to call out on.
Oct 10 21:27:04 alti diald[212]: Connect script failed.
Oct 10 21:27:04 alti diald[212]: Delaying 1 seconds before clear to dial.
Oct 10 21:27:06 alti diald[212]: Calling site 192.168.0.2 

I assume it's diald that is interfering with pppd; but why would the k6 
kernel start diald when bf2.4 doesn't?   (Or is diald called by a start-up 
file somewhere, but just not built in to the bf2.4 kernel so it fails to 
start?)   

I'll attach my answers to Andreas' helpful questions below, though I think 
they just show that ppp is installing itself OK with both kernels.

On Thu, 09 Oct 2003 19:40, Andreas Janssen wrote:
 Hello

 cr ([EMAIL PROTECTED]) wrote:
  On Mon, 06 Oct 2003 23:20, Andreas Janssen wrote:
  cr ([EMAIL PROTECTED]) wrote:
  Is there any way to install a kernel on the hard drive off the
  install
  CD-ROMs   (without going through the whole Install process)?
 
  Currently, I have the 2.4.18-k6  kernel installed on my hard drive,
  but it doesn't seem to have ppp enabled   (dmesg brings up no
  mention of ppp). I'm a little surprised, I would've thought a
  kernel I downloaded as a .deb off debian.org would have ppp
  enabled, but still...
  (did I do something wrong during the install, I wonder?)
 
  Check if the ppp support is built as modules. On my system (self
  compiled kernel with ppp support as modules), the following modules
  are loaded:
 
  [ppp modules]
 
  No, nothing for ppp (or PPP)
 
  A quick search on http://packages.debian.org shows that your kernel
  package has the ppp_async.o module (I didn't check for the other
  ones).
 
  Try this to find out:
 
  cat /boot/config-2.4.18-k6 | grep PPP
 
  Yes
 
  alti:/etc/modutils# cat /boot/config-2.4.18-1-k6 | grep PPP
  [kernel seems to have ppp support]
 
  On my system, these drivers are loaded automatically. There is a file
  /etc/modutils/ppp with the following lines:
 
  alias /dev/ppp  ppp_generic
  alias char-major-108ppp_generic
  alias tty-ldisc-3   ppp_async
  alias tty-ldisc-14  ppp_synctty
  alias ppp-compress-21   bsd_comp
  alias ppp-compress

diald me da problemas de instalacion

2003-09-03 Thread tresseth
Hola a todos, estando en woody ya instalado no me deja navegar, me dice host 
not found y pienso que debe ser por un error que me da dpkg al intentar 
instalsar diald (que me quedó sin instalar al principio) he probado con dselect 
y con apt-get install diald pero me dice lo siguiente

reading Package lists...done
building dependency tree...done
sorry, diald is already the newest version.

0 packages upgraded...etc
1 packages not fully... etc
Need to get 0b of archives. after unpacking 0b will be used
Setting up diald (0.99.4-5)
Starting up dialdetc
Starting diald: fifo-created dpkg: error processing diald (--configure):
subprocess post-installation script returned error exit status 1
...etc..etc

qué es lo que sucede con diald, existe alguna manera de forzar esta 
reinstalacion. Al menos si despues funciona diald sabré si mi problema de 
navegacion se debe a esto o a permisos de algun tipo (pero root tampoco navega).

gracias por todo



problema con la instalacion de diald

2003-09-03 Thread tresseth
Os adjunto el fichero del problema que me da al intentar apt-get install diald 
ya que no puedo navegar por la red y sin embargo si me conecta a internet 
wvdial. Quizás el problema sea otro (permisos,etc) perro descartaría este ya 
que en la instalacion de woody me falló el paquete diald. si se os ocurre otra 
cosa os lo agradezco.
gracias a todos
Reading Package Lists...
Building Dependency Tree...
Sorry, diald is already the newest version.
0 packages upgraded, 0 newly installed, 0 to remove and 0  not upgraded.
1 packages not fully installed or removed.
Need to get 0B of archives. After unpacking 0B will be used.
Setting up diald (0.99.4-5) ...


Re: problema con la instalacion de diald

2003-09-03 Thread Ricardo Frydman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

El Mié 03 Sep 2003 13:18, tresseth escribió:
| Os adjunto el fichero del problema que me da al intentar apt-get install
| diald ya que no puedo navegar por la red y sin embargo si me conecta a
| internet wvdial. Quizás el problema sea otro (permisos,etc) perro
| descartaría este ya que en la instalacion de woody me falló el paquete
| diald. si se os ocurre otra cosa os lo agradezco. gracias a todos

tu ISP se conecta por proxy? tienes un firewall? pusiste los DNS?
- -- 
Ricardo A.Frydman 
Analista de Sistemas de Computación
http://www.eureka-linux.com.ar
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE/VhiocZlYTzPrXw4RAhCRAJ9O7EcZoiXf/n0jyvpUYGe2fdQ+PQCfauMo
h07y9p/wRJmMhEAmlCPY9CI=
=LHhD
-END PGP SIGNATURE-



Re: Suspicious Diald Attempts to nsmialogin.passport.com:443 Etc

2003-09-01 Thread Nicos Gollan
On Monday 01 September 2003 00:02, Mark Hammer wrote:
 Every time I boot into linux, diald automatically dials up.  I
 tracked this down to the following series of connection attempts:

   65.54.131.249:443
 equivalent to https://msnialogin.passport.com

   207.46.106.191:1863
 name = baym-cs191.msgr.hotmail.com

   4.65.209.127:1901
   4.65.209.127:1975
 name = lsanca1-ar22-4-65-209-127.lsanca1.dsl-verizon.net

   207.68.171.238:80
 equivalent to http://msimg.com

Are you on a network with a Windows box? If you have forwarding enabled and 
the box uses a gateway to access the internet, it might be that the gateway 
address is configured as the broadcast address (happens all the time where I 
live, it's amazing what you see even on a switched network). This causes the 
Windows machine's connection attempts to be visible by the whole network.

-- 
Got Backup?


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



Suspicious Diald Attempts to nsmialogin.passport.com:443 Etc

2003-08-31 Thread Mark Hammer
Every time I boot into linux, diald automatically dials up.  I
tracked this down to the following series of connection attempts:

  65.54.131.249:443
equivalent to https://msnialogin.passport.com

  207.46.106.191:1863
name = baym-cs191.msgr.hotmail.com

  4.65.209.127:1901
  4.65.209.127:1975
name = lsanca1-ar22-4-65-209-127.lsanca1.dsl-verizon.net

  207.68.171.238:80
equivalent to http://msimg.com

This has me very concerned.  I recently did a dist-upgrade to the
testing distribution, and was expecting that the diald dialup was
being triggered by an exim cronjob or something.  But this is not
e-mail, and it looks very suspicious to me.

When I investigate the first link in a web browser, I am taken to
https://login.passport.net/uilogin.srf page, probably through
forwarding.  That is a .NET Passport Sign-in page.  I am not
seeing any automatic connections there through dctrl however, just
through my mozilla firebird when I investigate.

The next three connections (to two hosts) that I see by watching
dctrl are even more disturbing, since the names that are resolved
look like other dialup connections, but not through my ISP.  I think
that port 1863 might be used by MSN messenger, judging from google
searches.  Ports 1901 and 1975 don't turn up anything that I
recognize.  I do not have squid installed.

The last conection might have happened after I started investigating
things with a web browser.  I am not sure.  I didn't go there, but
it might have been an ad or something.  But the msimg.com domain
might have something to do with micro$loth something or other.

I cannot seem to get lsof to tell me anything.  Any ideas?

Thanks,
David Crane


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



Why Does Testing mozilla-firebird Wants To Remove diald

2003-08-23 Thread David Crane
When I try to apt-get install mozilla-firebird from the
testing distribution, it wants to remove the diald and ppp
packages.  I am certain that that would be bad, and that I
have done something wrong.
I added the following to my /etc/apt/sources.list:

dev http://http.us.debian.org/debian testing main contrib non-free

If the solution isn't obvious, please reply to the list with what other 
information I should gather.  I'm pretty new with
using debian, but I'm very experienced with writing UNIX
server software.  I'm impressed so far.

Thanks,
David Crane


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



Re: Problemas com Diald

2003-07-31 Thread Eduardo Peters
Em Qua, 2003-07-30 às 11:16, Leandro Guimarães Faria Corsetti Dutra
escreveu:
 On Wed, 30 Jul 2003 13:47:50 -0300, Eric Meris wrote:
 
  Os cds que eu baixei no source.list estão unstable!
 
   Não entendi.  Onde você obteve CDs?  Não existem CDs unstable
 que eu saiba.

Dá uma olhada nisso...

http://www.debian.org/CD/http-ftp/#testing



-- 
 coYote
|   Eduardo Peters - Canoinhas - SC |
|   _  Eng. de Telecomunicações |
|  °v° 47 9139-0566 |
| /(_)\ Linux User - 313310 |
|  ^ ^  Debian-br User   -  649 |
|___|
 MeAdNuY


___
Outgoing mail is certified Windows Free.
Checked by Debian GNU/Linux.




Re: Problemas com Diald

2003-07-31 Thread Leandro Guimarães Faria Corsetti Dutra
On Thu, 31 Jul 2003 09:59:21 -0300, Eduardo Peters wrote:

 Em Qua, 2003-07-30 às 11:16, Leandro Guimarães Faria Corsetti Dutra
 escreveu:
 
  Não entendi.  Onde você obteve CDs?  Não existem CDs unstable
 que eu saiba.
 
 Dá uma olhada nisso...
 
 http://www.debian.org/CD/http-ftp/#testing

Ai caramba!  Testing tudo bem, mas unstable... espero que poucos
usuários finais vão atrás disso.


-- 
 _   Leandro Guimarães Faria Corsetti Dutra +41 (21) 648 11 34
/ \  http://br.geocities.com./lgcdutra/ +41 (78) 778 11 34
\ /  Answer to the list, not to me directly!+55 (11) 5686 2219
/ \  Rate this if helpful: http://svcs.affero.net/rm.php?r=leandro




Re: O que é Diald ?

2003-07-30 Thread Gilberto F da Silva
Sao Bernardo do Campo SP Brazilo 
Stela dato: 2.452.850,668
Loka tempo: 2003-7-30 01:01:52

Saluton!

No dia 29/7/03, 23:08:18, Eric Meris [EMAIL PROTECTED] 
escreveu o seguinte sobre o tema O que é Diald ?:


   Estou iniciando agora no Debian,e executei o apt-get que não 
manjo nada
 ainda e reparei que ele retorna um erro em um tal de diald.

   Outra coisa, quando peço para instalar algo, ele sempre vai 
buscar nos
 cd's? existe a possibilidade de ele ir buscar a ultima versão do
 programa, tipo: se eu digitar:

 #apt-get install evolution (e ele ir buscar a 1.4 que eu acho ser a
 última?)

Você encontra um manual complete sobre o apt-get aqui:

http://debian-br.alioth.debian.org/view.php?doc=apt-howto-pt_BR

Amike

Gilberto F da Silva

+--+
| . ICQ 136782571  |
|  www.gfs1989.hpg.com.br  |
|  www.gfs1989.impg.com.br |
+--+
  AssSDato Rev. 2.452.791






Re: Problemas com diald

2003-07-30 Thread Gilberto F da Silva
Sao Bernardo do Campo SP Brazilo 
Stela dato: 2.452.850,716
Loka tempo: 2003-7-30 02:11:45

Saluton!

 Fala galera,

   Acabei de instalar pela primeira vez o Debian, estou tendo 
problemas
 com algumas coisas. Por exemplo:

 Toda vez que executo o apt-get, vem junto um erro de Diald, ai
 pergunto. Este programa não é para conexões discadas?

 E como faço para atualizar um programa para uma versão mais nova 
através
 do apt-get.

Você chegou a dar uma lida aqui?

http://debian-br.alioth.debian.org/view.php?doc=apt-howto-pt_BR

Amike

Gilberto F da Silva

+--+
| . ICQ 136782571  |
|  www.gfs1989.hpg.com.br  |
|  www.gfs1989.impg.com.br |
+--+
  AssSDato Rev. 2.452.791






Problemas com Diald

2003-07-30 Thread Eric Meris
Olá lista,

Sempre que instalo algo através do apt-get acontece um erro
relacionado ao programa Diald como mostro abaixo, alguém sabe do que se
trata?


Selecting previously deselected package netselect.
(Reading database ... 71587 files and directories currently installed.)
Unpacking netselect (from .../netselect_0.3-4_i386.deb) ...
Setting up diald (0.99.4-5) ...
Starting diald: fifo-created dpkg: error processing diald (--configure):
 subprocess post-installation script returned error exit status 1
Setting up netselect (0.3-4) ...

Errors were encountered while processing:
 diald
E: Sub-process /usr/bin/dpkg returned an error code (1)

Fico grato se alguém puder me ajudar!

[]'s
Eric Meris 




Re: Problemas com Diald

2003-07-30 Thread Leandro Guimarães Faria Corsetti Dutra
On Wed, 30 Jul 2003 03:30:38 -0300, Eric Meris wrote:

   Sempre que instalo algo através do apt-get acontece um erro
 relacionado ao programa Diald como mostro abaixo, alguém sabe do que se
 trata?

A primeira pergunta é, você precisa do diald?  Se não, remova-o...


 Selecting previously deselected package netselect.
 (Reading database ... 71587 files and directories currently installed.)
 Unpacking netselect (from .../netselect_0.3-4_i386.deb) ...
 Setting up diald (0.99.4-5) ...
 Starting diald: fifo-created dpkg: error processing diald (--configure):
  subprocess post-installation script returned error exit status 1
 Setting up netselect (0.3-4) ...
 
 Errors were encountered while processing:
  diald
 E: Sub-process /usr/bin/dpkg returned an error code (1)

Hmm, estranho... você usa stable, testing, unstable?


-- 
 _   Leandro Guimarães Faria Corsetti Dutra +41 (21) 648 11 34
/ \  http://br.geocities.com./lgcdutra/ +41 (78) 778 11 34
\ /  Answer to the list, not to me directly!+55 (11) 5686 2219
/ \  Rate this if helpful: http://svcs.affero.net/rm.php?r=leandro




Re: Problemas com Diald

2003-07-30 Thread Eric Meris
Os cds que eu baixei no source.list estão unstable! pode me dizer o que
é isso? unstable quer dizer que tenho uma versão do Debian Instável? é
isso mesmo? qual versão é estável???

On Wed, 2003-07-30 at 08:54, Leandro Guimarães Faria Corsetti Dutra
wrote:
 On Wed, 30 Jul 2003 03:30:38 -0300, Eric Meris wrote:
 
  Sempre que instalo algo através do apt-get acontece um erro
  relacionado ao programa Diald como mostro abaixo, alguém sabe do que se
  trata?
 
   A primeira pergunta é, você precisa do diald?  Se não, remova-o...
 
 
  Selecting previously deselected package netselect.
  (Reading database ... 71587 files and directories currently installed.)
  Unpacking netselect (from .../netselect_0.3-4_i386.deb) ...
  Setting up diald (0.99.4-5) ...
  Starting diald: fifo-created dpkg: error processing diald (--configure):
   subprocess post-installation script returned error exit status 1
  Setting up netselect (0.3-4) ...
  
  Errors were encountered while processing:
   diald
  E: Sub-process /usr/bin/dpkg returned an error code (1)
 
   Hmm, estranho... você usa stable, testing, unstable?
 
 
 -- 
  _   Leandro Guimarães Faria Corsetti Dutra +41 (21) 648 11 34
 / \  http://br.geocities.com./lgcdutra/ +41 (78) 778 11 34
 \ /  Answer to the list, not to me directly!+55 (11) 5686 2219
 / \  Rate this if helpful: http://svcs.affero.net/rm.php?r=leandro
 
 



Re: Problemas com Diald

2003-07-30 Thread Leandro Guimarães Faria Corsetti Dutra
On Wed, 30 Jul 2003 13:47:50 -0300, Eric Meris wrote:

   Os cds que eu baixei no source.list estão unstable!

Não entendi.  Onde você obteve CDs?  Não existem CDs unstable
que eu saiba.


 pode me dizer o que é isso? unstable quer dizer que tenho uma versão
 do Debian Instável?

Exato.


 é isso mesmo? qual versão é estável???

A stable, vulgo woody.  A testing é um meio-termo entre a
estabilidade da stable e a atualidade da unstable, mas sem
atualizações de segurança.

Vide minha assinatura... *nunca* responda à lista em privado!


-- 
 _   Leandro Guimarães Faria Corsetti Dutra +41 (21) 648 11 34
/ \  http://br.geocities.com./lgcdutra/ +41 (78) 778 11 34
\ /  Answer to the list, not to me directly!+55 (11) 5686 2219
/ \  Rate this if helpful: http://svcs.affero.net/rm.php?r=leandro




Re: O que é Diald ?

2003-07-30 Thread fredm





Estou iniciando agora no Debian,e executei o apt-get
  que não manjo nada ainda e reparei que ele retorna um erro em
  um tal de diald.

Copie o erro que dá, cole num e-mail e manda para a lista.

Outra coisa, quando peço para instalar algo, ele sempre vai
buscar nos
 cd's? existe a possibilidade de ele ir buscar a ultima versão do
 programa, tipo: se eu digitar:

 #apt-get install evolution (e ele ir buscar a 1.4 que eu acho ser a
 última?)

Tem sim. Configure isto com apt-setup (como root). O apt-setup vai
adicionar entradas ao seu arquivo /etc/apt/sources.list .








Re: Problemas com Diald

2003-07-30 Thread Diogo Leal Andrade
e ae galera tudo blz??

Alguém tem ou sabe onde consigo alguma documentação do cygwin em 
português 

se puder me mande em pvt. 

obrigado  [ ]'s

---
Diogo Leal Andrade
E-mail:[EMAIL PROTECTED]
Rio de Janeiro - RJ
Linux registered user #319433
Mozilla Firebird/0.6
Sylpheed-Claws 0.9.3
GTK+ version 1.3.0



Re: Problemas com Diald

2003-07-30 Thread Leandro Guimarães Faria Corsetti Dutra
On Wed, 30 Jul 2003 12:02:52 -0300, Diogo Leal Andrade wrote:

   Alguém tem ou sabe onde consigo alguma documentação do cygwin em 
 português 

Fora de tópico, e nem mudou o assunto...


-- 
 _   Leandro Guimarães Faria Corsetti Dutra +41 (21) 648 11 34
/ \  http://br.geocities.com./lgcdutra/ +41 (78) 778 11 34
\ /  Answer to the list, not to me directly!+55 (11) 5686 2219
/ \  Rate this if helpful: http://svcs.affero.net/rm.php?r=leandro




O que é Diald ?

2003-07-29 Thread Eric Meris
Estou iniciando agora no Debian,e executei o apt-get que não manjo nada
ainda e reparei que ele retorna um erro em um tal de diald.

Outra coisa, quando peço para instalar algo, ele sempre vai buscar nos
cd's? existe a possibilidade de ele ir buscar a ultima versão do
programa, tipo: se eu digitar:

#apt-get install evolution (e ele ir buscar a 1.4 que eu acho ser a
última?)

[]'s
Eric Meris





Problemas com diald

2003-07-29 Thread Eric Meris Vieira
Fala galera,

Acabei de instalar pela primeira vez o Debian, estou tendo problemas
com algumas coisas. Por exemplo:

Toda vez que executo o apt-get, vem junto um erro de Diald, ai
pergunto. Este programa não é para conexões discadas?

E como faço para atualizar um programa para uma versão mais nova através
do apt-get.

[]'s
Eric Meris





Re: ppp ile internet payla??m ? ve diald kullan?m?

2003-05-23 Thread Recai Oktas
* ?a?atay Tengiz [EMAIL PROTECTED] [2003-05-22 16:52:02+0300]
 1- ppp ba?lant?s?n?n otomatik kurulmas?n?, devaml?l???n? ve
 y?netimini nas?l sa?layabilirim. Yani hat kopunca tekrar ba?lanma,
 ilk talepte ba?lanma, belirli saatlerde kapntma vs. San?r?m diald bu
 i?in ??z?m? ama ben ??zemedim.

ppp'nin bir ton option'ini sabirla okumak lazim :)

 2- ?u anda pppd call provider ile ba?lant?y? kuruyorum. Peki bu
 ba?lant?y? nas?l kesiyorum? Bulabildi?im tek ??z?m modemi kapatmak
 :)... (ifdown ppp0 i?e yaramad? ya da ben beceremedim)

`pppconfig'i denediniz mi?  Bir onceki soruda ifade ettiginiz
`baglanti yonetimi' icin bundan daha iyi bir arac dusunemiyorum.
Dogru ayarlari bir kere yapmissaniz `pppd call provider' yerine
`pon/poff' scriptlerini kullanma imkaniniz olacak.  (Account'unuz ismi
`provider' ise sadece `pon' ile online, `poff' ile offline
olabiliyorsunuz.) `pppconfig'de detayi yapilandirmayi secerseniz her
turlu ince ayari da ekleyebilirsiniz.  (Bu asamada ppp howto/manual
okumalariyla belirleyeceginiz option'lar cok yardimci olacaktir.)

 3- ppp ba?lant?s? i?in iptables kullanan ?rnek bir firewall beti?ini
 bulabilece?im bir yer var m??

Bu konuda bilgim yok maalesef.

 Son S?z: Tanr?m ??renilecek ne ?ok ?ey var...

:)  Aynen oyle.  Buldugunuz cozumleri bizlerle paylasirsaniz isimiz
kolaylasabilir ;)

--
Recai Oktas



ppp ile internet paylaşımı ve diald kullanımı

2003-05-22 Thread Çağatay Tengiz
Merhaba,

Bir lokasyonda başka bir teknoloji alternatifi olmadığı için Interneti
dial-up ile lan'a vermek zorundayım. Bu işlem önceden windows nt yüklü bir
makinada proxy server kullanılarak yapılıyordu. Bu anlamsız çözümden debian
ile kurtulmaya karar verdim ve bu makinaya debian'ı kurdum.

ppp bağlantısı, masquireding vs. tamam. Şu anda lokal makinalar internerte
çıkabiliyorlar.

Ama bir kaç problemim var :

1- ppp bağlantısının otomatik kurulmasını, devamlılığını ve yönetimini nasıl
sağlayabilirim. Yani hat kopunca tekrar bağlanma, ilk talepte bağlanma,
belirli saatlerde kapntma vs. Sanırım diald bu işin çözümü ama ben
çözemedim.

2- Şu anda pppd call provider ile bağlantıyı kuruyorum. Peki bu bağlantıyı
nasıl kesiyorum? Bulabildiğim tek çözüm modemi kapatmak :)... (ifdown ppp0
işe yaramadı ya da ben beceremedim)

3- ppp bağlantısı için iptables kullanan örnek bir firewall betiğini
bulabileceğim bir yer var mı?

Teşekkürler.

Son Söz: Tanrım öğrenilecek ne çok şey var...

Çağatay Tengiz



Re: ppp ile internet paylaşımı ve diald kullanımı

2003-05-22 Thread Murat Demirten
Aslinda sorunuz Debian ile ilgili degil, bunun icin google'dan arama
yapmaniz daha yararli olur. Diald ile cok ugrasmadim ama bence hatta bir
trafik olustugunda otomatik baglanmasi hattin verimli kullanilmamasina
neden olacaktir. Ozellikle arkada windows makineler var ise mutlaka
gerekli gereksiz zamanlarda saga sola paket atacaklardir. Sonunda ayni
kapiya cikacaksa surekli baglantili bir modeli de secebilirsiniz.

pppd ile baglandiginiza gore killall pppd ile baglantiyi
sonlandirabilirsiniz. wvdial gibi basit ama kullanisli araclar ile
isteklerinizin buyuk bolumunu gerceklestirebilirsiniz (hat kopunca
tekrar baglanma vb.)

22-05-2003 Perşembe günü saat 16:52 sularında, Çağatay Tengiz dedi ki:
 Merhaba,
 
 Bir lokasyonda başka bir teknoloji alternatifi olmadığı için Interneti
 dial-up ile lan'a vermek zorundayım. Bu işlem önceden windows nt yüklü bir
 makinada proxy server kullanılarak yapılıyordu. Bu anlamsız çözümden debian
 ile kurtulmaya karar verdim ve bu makinaya debian'ı kurdum.
 
 ppp bağlantısı, masquireding vs. tamam. Şu anda lokal makinalar internerte
 çıkabiliyorlar.
 
 Ama bir kaç problemim var :
 
 1- ppp bağlantısının otomatik kurulmasını, devamlılığını ve yönetimini nasıl
 sağlayabilirim. Yani hat kopunca tekrar bağlanma, ilk talepte bağlanma,
 belirli saatlerde kapntma vs. Sanırım diald bu işin çözümü ama ben
 çözemedim.
 
 2- Şu anda pppd call provider ile bağlantıyı kuruyorum. Peki bu bağlantıyı
 nasıl kesiyorum? Bulabildiğim tek çözüm modemi kapatmak :)... (ifdown ppp0
 işe yaramadı ya da ben beceremedim)
 
 3- ppp bağlantısı için iptables kullanan örnek bir firewall betiğini
 bulabileceğim bir yer var mı?
 
 Teşekkürler.
 
 Son Söz: Tanrım öğrenilecek ne çok şey var...
 
 Çağatay Tengiz
 



diald waehlt sich schon beim Booten ein

2003-03-27 Thread Udo Peters
Hallo zusammen,

Seit der Neuinstallation von woody waehlt sich sich diald bei jedem 
Bootvorgang bei t-online ein. Das kostet zwar jedesmal nur eine Minute, aber 
ich wuesste doch gern, welcher Dienst dafuer verantwortlich ist, und ob ich 
den dann deaktivieren kann. Das Studium von /var/log/messages, 
/var/log/isdn/isdnlog und /var/log/syslog hat mich noch nicht weitergebracht. 
In welcher Logdatei kann ich noch nachsehen? Welche Logdatei soll ich mailen?

Herzliche Gruesse, Udo


-- 
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



diald+dsl connection fails

2003-01-20 Thread vdemart

I'm trying to make diald work with a dsl connection.
I've seen that diald with a ppp modem connection works fine (even with that 
SIOCSIFMETRIC: warning- see below) as well as the dsl connection alone (using 'pon 
dsl-provider' to start it).
But substituting 'dsl-provider' into /etc/diad/diald.provider all I get is and endless 
stream of 'no device free to call' as in the extract below from /var/log/message.
 
kernel: CSLIP: code copyright 1989 Regents of the University of California
  kernel: SLIP: version 0.8.4-NET3.019-NEWTTY-MODULAR (dynamic channels, max=256).
  kernel: SLIP linefill/keepalive option.
  diald[538]: start sl0: SIOCSIFMETRIC: Operation not supported 
  /etc/hotplug/net.agent: invoke ifup sl0
  diald[538]: Trigger: udp   192.168.0.1/32770  212.216.112.112/53   
  diald[538]: Calling site 192.168.0.2 
  diald[538]: No devices free to call out on.
  diald[538]: Connect script failed.
  diald[538]: Delaying 1 seconds before clear to dial.
  diald[538]: Calling site 192.168.0.2 
  diald[538]: No devices free to call out on.
 
 

PLEASE HELP

Vittorio


-
Invia un sms gratis! 
http://freesms.supereva.it/index.php

messaggio inviato con Freemail by www.superEva.it
-


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




Re: diald and error exit status 127(fixed)

2003-01-20 Thread Debian User
 
 
/var/lib/dpkg/info/diald.postinst: line 43: /etc/diald/cvtaddrs: No such
   ^-removed
this file here and reran 
now it works.
 
 dpkg: error processing diald (--configure):
  subprocess post-installation script returned error exit status 1
  Errors were encountered while processing:
   diald
   E: Sub-process /usr/bin/dpkg returned an error code (1)

 -- 

Now route out is gone :(  Manually added w/route add default gw works
but where could it be lost?  Suggestions-rtfm's
thanks again.
-- 

From the Desktop of a Debianized Mutt.

 


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




diald and error exit status 127

2003-01-19 Thread Debian User
Trying to install diald from unstable?
Cannot get past this error:
snip---
Setting up diald (0.99.4-5) ...
/var/lib/dpkg/info/diald.config: line 1: t: command not found
dpkg: error processing diald (--configure):
 subprocess post-installation script returned error exit status 127
 Errors were encountered while processing:
  diald
  E: Sub-process /usr/bin/dpkg returned an error code (1)

  Any suggestions would be greatly appreciated.

  I am just trying to get the demand dialing options.  If I use demand
  dial option inside of pppconfig it willnot dial out.  pppd will start
  and that is all.  

  Thank you to all that reply.

-- 

From the Desktop of a Debianized Mutt.

 


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




Re: Diald problems ... continued ...

2002-11-24 Thread Dave Selby
On Saturday 23 Nov 2002 1:47 pm, John Hasler wrote:
 Dave Selby writes:
  Unfortunately pppds demand dialling doesnt work very well with dynamic IP
  addresses alloctaion.

 It's working fine here.

  It will dial up but then says it cand find the URL, you click OK,
  re-request the URL while the link is up and it will work fine. This
  happens every time it dials up.

 I think this is happening because the DNS lookup is timing out before the
 connection comes up.  It has nothing to do with dynamic IP.  I think that
 you will have the same problem with diald.  If you don't, please let me
 know: I have the same problem.

Ive done some digging, and found out some info 
DIALD does indeed have the same problem as discussed, but on the diald 
website I found this in the FAQ section 

**
6.11  I'm using dynamic addresses, and the first TCP session over a line 
always freezes.

If your IP address is assigned dynamically when the connection comes up, then 
any TCP session that brings the link up will still be trying to use the IP 
address assigned to your machine by diald before the connection came up. The 
TCP protocol does not allow for active TCP sessions that move from one 
address to another. This really requires support for some kind of mobile TCP 
protocol. Both you and your provider would have to cooperate for this to 
work. This problem is not likely to go away in the near future. It would be 
much easier to get a static address. As a work around, you should avoid make 
TCP connections directly to a known IP address. This means your /etc/hosts 
file must not contain the IP addresses of any machines other than your local 
machine(s), and you should not be running named in such a way that it can 
pick up external addresses (which as near as I can tell means you must not 
run named). Also, making a connection by giving a numeric address, e.g. 
 
telnet 123.100.2.1
 will fail. The point of this exercise is to bring the diald link up with a 
nameserver query rather than a TCP session start. Once the link comes up the 
nameserver query will be resolved, and the TCP session will be started with 
the correct (dynamically assigned) address.
*

My experience of pppd having this problem was on an old red hat system, which 
is why I was trying to get diald going on debian !!

I will now pay my attention to pppd dial on demand for debian !!! it seems 
easier to configure, then follow the above ...

Its one BIG LEARNING CURVE !!!

dave

PS if you have any sucsess with the above, please let me know, I will do 
likewise.


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




Diald problems ... continued ...

2002-11-23 Thread Dave Selby
On Thursday 21 Nov 2002 11:49 pm, John Hasler wrote:
 Dave Selby writes:
  BUT I cant get diald to work !

 Is there some reason why you can't use pppd's demand dialing option?  You
 can configure it via pppconfig.

  Any help much appreciated

 You haven't given us enough information.

Unfortunately pppds demand dialling doesnt work very well with dynamic IP 
addresses alloctaion. It will dial up but then says it cand find the URL, you 
click OK, re-request the URL while the link is up and it will work fine. This 
happens every time it dials up.

More information .. yep I was a bit light on that front !!! here goes !!!

Using Woody, pretty standard setup. Want to use diald to dial my isp, NTL, 
with dynamicle allocated IPs, when needs be, just for my computer, no network 
connected !!

I am using a win-modem, YUK !! however I have a driver and it appears to work 
OK, I configured wvdial OK, internet works, using /dev/modem, actualy points 
to /dev/ham

I have read the 'man diald-examples' and setup a /etc/diald/diald.options 
file containing ..

mode ppp
device /dev/modem
connect /etc/diald/connect
speed 57600
modem
lock
crtscts
local 192.168.0.1
remote 192.168.0.2
dynamic
defaultroute
include /etc/diald/standard.filter

I have configured /etc/diald/connect as ...

**
DEBUG=-v

# The initialization string for your modem
MODEM_INIT=ATZ

# The phone number to dial
PHONE_NUMBER=126308005190100

# If the remote system calls you back, set to 1; otherwise leave to 0.
CALLBACK=0

# If you authentify using PAP or CHAP (that is let pppd handle the
# authentification, set this to 0.
AUTHENTIFY=0

# The chat sequence to recognize that the remote system
# is asking for your user name.
USER_CHAT_SEQ=name:--name:--name:--name:--name:--name:--name:

# The string to send in response to the request for your user name.
USER_NAME=X

# The chat sequence to recongnize that the remote system
# is asking for your password.
PASSWD_CHAT_SEQ=word:

# The string to send in response to the request for your password.
PASSWORD=X

# The prompt the remote system will give once you are logged in
# If you do not define this then the script will assume that
# there is no command to be issued to start up the remote protocol.
PROMPT=annex:

# The command to issue to start up the remote protocol
PROTOCOL_START=ppp

# The string to wait for to see that the protocol on the remote
:


I restart diald
/etc/init.d/diald restart

I ask konquerer to access lycos.co.uk
And the following happens 
The modem relay clicks once
I get all sorts of informantion in /var/log/messages and /var/log/syslog, 
both attatched.

It don't work !!!
About every 30 secs it re-clicks.

I tried to trace the output of the -v debug, I found it once then re-lost 
it!! however it said that the modem failed to initilise, part of connect 
script

# Initialize the modem. Usually this just resets it.
message Initializing Modem
chat $DEBUG TIMEOUT 5 OK-AT-OK $MODEM_INIT TIMEOUT 45 OK 
if [ $? != 0 ]; then
message Failed to initialize modem
exit 1

Any help greatly appreciated
Still a bit of a linux newbe !!




Nov 23 06:55:41 debian pppd[593]: Modem hangup
Nov 23 06:55:41 debian pppd[593]: Connection terminated.
Nov 23 06:55:41 debian pppd[593]: Using interface ppp0
Nov 23 06:55:41 debian pppd[593]: Connect: ppp0 -- /dev/pts/4
Nov 23 06:55:41 debian pppd[593]: Modem hangup
Nov 23 06:55:41 debian pppd[593]: Connection terminated.
Nov 23 06:55:41 debian pppd[593]: Using interface ppp0
Nov 23 06:55:41 debian pppd[593]: Connect: ppp0 -- /dev/pts/4
Nov 23 06:55:41 debian pppd[593]: Modem hangup
Nov 23 06:55:41 debian pppd[593]: Connection terminated.
Nov 23 06:55:41 debian pppd[593]: Exit.
Nov 23 06:55:41 debian diald[183]: start sl0: SIOCSIFMETRIC: Operation not supported 
Nov 23 06:55:41 debian diald[183]: start sl0: SIOCADDRT: File exists 
Nov 23 06:55:41 debian diald[183]: start sl0: SIOCDELRT: No such process 
Nov 23 06:55:41 debian diald[183]: start sl0: SIOCADDRT: File exists 
Nov 23 06:55:41 debian diald[183]: Disconnected. Call duration 0 seconds. 
Nov 23 06:55:41 debian diald[183]: IP transmitted 0 bytes and received 0 bytes. 
Nov 23 06:55:41 debian diald[183]: Closing /dev/modem
Nov 23 06:55:42 debian diald[183]: Delaying 30 seconds before clear to dial.
Nov 23 06:56:13 debian diald[183]: Calling site 192.168.0.2 
Nov 23 06:56:14 debian diald[183]: Connected to site 192.168.0.2 
Nov 23 06:56:14 debian diald[183]: Running pppd (pid = 650).
Nov 23 06:56:14 debian pppd[650]: pppd 2.4.1 started by root, uid 0
Nov 23 06:56:14 debian pppd[650]: Using interface ppp0
Nov 23 06:56:14 debian pppd[650]: Connect: ppp0 -- /dev/pts/4
Nov 23 06:56:15 debian pppd[650]: Modem hangup
Nov 23 06:56:15 debian pppd[650]: Connection terminated.
Nov 23 06:56:15 debian pppd[650]: Using interface ppp0
Nov 23 06:56:15 debian

Re: diald config ... more info

2002-11-23 Thread Dave Selby

I can now get 

pppd file /etc/ppp/peers/NTL
to dial sucessfully
I setup the scripts with pppconfig
They are ,



/etc/ppp/peers/NTL 

# This optionfile was generated by pppconfig 2.0.10.
#
#
hide-password
noauth
connect /usr/sbin/chat -v -f /etc/chatscripts/NTL
debug
/dev/modem
57600
defaultroute
noipdefault
user dave.selby
remotename NTL
ipparam NTL

usepeerdns

And for /etc/chatscripts/NTL ..

# This chatfile was generated by pppconfig 2.0.10.
# Please do not delete any of the comments.  Pppconfig needs them.
#
# ispauth PAP
# abortstring
ABORT BUSY ABORT 'NO CARRIER' ABORT VOICE ABORT 'NO DIALTONE' ABORT 'NO DIAL 
TONE' ABORT 'NO ANSWER' ABORT DELAYED
# modeminit
'' ATZ
# ispnumber
OK-AT-OK ATDT126308005190100
# ispconnect
CONNECT \d\c
# prelogin

# ispname
# isppassword
# postlogin

# end of pppconfig stuff

I seem to be very close 
It appears to me that diald is not setting the device to /dev/modem, so chat 
cannot find it ???

dave


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




Re: Diald problems ... continued ...

2002-11-23 Thread John Hasler
Dave Selby writes:
 Unfortunately pppds demand dialling doesnt work very well with dynamic IP
 addresses alloctaion.

It's working fine here.

 It will dial up but then says it cand find the URL, you click OK,
 re-request the URL while the link is up and it will work fine. This
 happens every time it dials up.

I think this is happening because the DNS lookup is timing out before the
connection comes up.  It has nothing to do with dynamic IP.  I think that
you will have the same problem with diald.  If you don't, please let me
know: I have the same problem.
-- 
John Hasler
[EMAIL PROTECTED] (John Hasler)
Dancing Horse Hill
Elmwood, WI


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




Re: Diald problems ... continued ...

2002-11-23 Thread Dave Selby
On Saturday 23 Nov 2002 1:47 pm, John Hasler wrote:
 Dave Selby writes:
  Unfortunately pppds demand dialling doesnt work very well with dynamic IP
  addresses alloctaion.

 It's working fine here.

  It will dial up but then says it cand find the URL, you click OK,
  re-request the URL while the link is up and it will work fine. This
  happens every time it dials up.

 I think this is happening because the DNS lookup is timing out before the
 connection comes up.  It has nothing to do with dynamic IP.  I think that
 you will have the same problem with diald.  If you don't, please let me
 know: I have the same problem.

Ive done some digging, and found out some info 
DIALD does indeed have the same problem as discussed, but on the diald 
website I found this in the FAQ section 

**
6.11  I'm using dynamic addresses, and the first TCP session over a line 
always freezes.

If your IP address is assigned dynamically when the connection comes up, then 
any TCP session that brings the link up will still be trying to use the IP 
address assigned to your machine by diald before the connection came up. The 
TCP protocol does not allow for active TCP sessions that move from one 
address to another. This really requires support for some kind of mobile TCP 
protocol. Both you and your provider would have to cooperate for this to 
work. This problem is not likely to go away in the near future. It would be 
much easier to get a static address. As a work around, you should avoid make 
TCP connections directly to a known IP address. This means your /etc/hosts 
file must not contain the IP addresses of any machines other than your local 
machine(s), and you should not be running named in such a way that it can 
pick up external addresses (which as near as I can tell means you must not 
run named). Also, making a connection by giving a numeric address, e.g. 
 
telnet 123.100.2.1
 will fail. The point of this exercise is to bring the diald link up with a 
nameserver query rather than a TCP session start. Once the link comes up the 
nameserver query will be resolved, and the TCP session will be started with 
the correct (dynamically assigned) address.
*

My experience of pppd having this problem was on an old red hat system, which 
is why I was trying to get diald going on debian !!

I will now pay my attention to pppd dial on demand for debian !!! it seems 
easier to configure, then follow the above ...

Its one BIG LEARNING CURVE !!!

dave

PS if you have any sucsess with the above, please let me know, I will do 
likewise.


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




diald config

2002-11-21 Thread Dave Selby
I have got my winmodem to work,
configured wvdial to work ... I now have internet access
BUT I cant get diald to work !!!

I have set up my /etc/diald/connect file
I have executed
/etc/init.d/diald start

Magically /var/log/ now has entries for diald !!!

If I'm doing something dumb, let me know, according to my
Debian GNU/Linux bible thats all I have to do and it should work !! 
OK so the bible is for POTATO !!

Any help much appreciated 
Dave


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




Re: diald config

2002-11-21 Thread John Hasler
Dave Selby writes:
 BUT I cant get diald to work !

Is there some reason why you can't use pppd's demand dialing option?  You
can configure it via pppconfig.

 Any help much appreciated

You haven't given us enough information.
-- 
John Hasler
[EMAIL PROTECTED] (John Hasler)
Dancing Horse Hill
Elmwood, WI


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




diald for a pptp connection

2002-10-25 Thread Jason D. Michaelson
Title: Message



i've got a pptp 
connection set up on my machine so that i can start the connection just by 
calling pppd. has anyone ever tried to configure diald to bring up a pptp 
connection like this on demand?

thanks

jdm

- Jason D. 
Michaelson 
| Debian GNU/ o http://www.debian.org [EMAIL PROTECTED] 
| __ VERITAS Software - 
ROS2-4 
| / / __ 
_ _ _ _ __ __ 2815 Cleveland 
Avenue 
| / /__ / / / \// //_// \ \/ / 
Roseville, MN 
55113 
| // /_/ /_/\/ /___/ /_/\_\ 
Voice: 
(651)746-7263 
| Cell: 
(612)812-2459 
| ...because lockups are for convicts... 
Getting a SCSI chain working is perfectly 
simple if you remember that there 
must be exactly three terminations: one on one end of the cable, one 
on the other end, and the goat, terminated 
over the SCSI chain with a 
silver-handled knife whilst burning *black* candles. --- Anthony 
DeBoer 



Re: diald on debian?

2002-10-15 Thread Karl E. Jorgensen

On Tue, Oct 15, 2002 at 08:37:26AM -0400, Kurt Yoder wrote:
 Hey list
 
 I recently tried to set up diald, but can't get the automatic internet
 connection to work. 

Do you get any error messages or interesting entries in /var/log/syslog ?

Does your kernel have tap support?

 I've definitely got a working internet connection if I start it
 manually using pon. I have diald installed, and all the configs look
 OK to my inexperienced eye. What else should I look at to get diald
 working correctly so that I don't have to manually bring up my
 internet connection?

There is a couple of outstanding bugs on diald - if you don't get any
error/log messages, have a look at the bug list:

http://bugs.debian.org/diald

-- 
Karl E. Jørgensen
[EMAIL PROTECTED]
www.karl.jorgensen.com
 Today's fortune:
Yeah, but you're taking the universe out of context.



msg07090/pgp0.pgp
Description: PGP signature


Re: diald on debian?

2002-10-15 Thread Chip Rose

On Tue, 15 Oct 2002, Kurt Yoder wrote:

 Hey list

 I recently tried to set up diald, but can't get the automatic internet
 connection to work. I've definitely got a working internet connection if I
 start it manually using pon. I have diald installed, and all the configs
 look OK to my inexperienced eye. What else should I look at to get diald
 working correctly so that I don't have to manually bring up my internet
 connection?



Me too.  I use pon and poff, and it dials on demand, but it keeps
redialing the connection at odd times throughout the day.  I haven't
figured out how to mute the noise (newbie alert?), so it's annoying.  I
don't have anything running that I know of to make it keep dialing up at
irregular intervals like that.  I'm still reading up on it..


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




Re: diald on debian?

2002-10-15 Thread Keith G. Murphy

Kurt Yoder wrote:
 Hey list
 
 I recently tried to set up diald, but can't get the automatic internet
 connection to work. I've definitely got a working internet connection if I
 start it manually using pon. I have diald installed, and all the configs
 look OK to my inexperienced eye. What else should I look at to get diald
 working correctly so that I don't have to manually bring up my internet
 connection?
 
I should mention that pppd's own dial-on-demand feature seems to work 
surprisingly well now.

pon starts up pppd, it hangs around waiting for an outgoing packet, then 
dials out.

poff kills off the pppd process, disabling dial-on-demand.

Turns out it's really easy to set up: add one line ('demand') to 
/etc/ppp/peers/provider.


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




Re: diald on debian?

2002-10-15 Thread Donald R. Spoon

Keith G. Murphy wrote:
  -SNP- 
 I should mention that pppd's own dial-on-demand feature seems to work 
 surprisingly well now.
 
 pon starts up pppd, it hangs around waiting for an outgoing packet, then 
 dials out.
 
 poff kills off the pppd process, disabling dial-on-demand.
 
 Turns out it's really easy to set up: add one line ('demand') to 
 /etc/ppp/peers/provider.
 
 

When running pppconfig. this option is available under the Advanced 
Options section near the end.

If you rename the /etc/ppp/no_ppp_on_boot file to /etc/ppp/ppp_on_boot 
then you don't even have to use PON. It will start up at boot time.

Also, some firewall / ipmasq setups that depend upon an external 
interface being defined prior to startup will have to be restarted after 
the connection via ppp0 is made.  The ppp0 interface doesn't exist until 
a connection is made.  A short script in /etc/ppp/ip-up.d can do this 
for you automatically.

I used this setup for over 2 years without problems.  It was MUCH easier 
to setup than diald, IMHO, and worked every bit as well.  Yes... I have 
used both.

Cheers,
-Don Spoon-


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




Re: diald dsl connect problem

2002-09-13 Thread Michael Schlenstedt

On Don Sep 12, 2002, Martin Bruns [EMAIL PROTECTED] wrote:

 Ja das ist eine Lösung, aber ich möchte die filter features von diald
 benutzen da die pppd Option active-filter nicht funktioniert. Ich
 bekomme leider immer irgend welche Packete die nicht den idle Timer
 zurücksetzen sollen.

Die Filter-Deatures des diald sind sicherlich umfangreicher, aber die
Active-Filter-Option funktioniert einwandfrei (sofern Du einen 2.4'er
Kernel verwendest. Läuft hier unter Woody einwandfrei.

http://www.adsl4linux.de/cgi-bin/faq?file=69

Bye,
Michael

-- 
  ___ [EMAIL PROTECTED] o
 /_\ `* `  _ ,   http://adsl4linux.de/~michael   /_\ ' ,,,
(o o)  -  (o)o)  ICQ: 38605983 (Schlenn)(o o) -   (o o)
ooO--(_)--Ooo--ooO'(_)--Ooo-ooO--(_)--Ooo-ooO--(_)--Ooo-


--
Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)




diald dsl connect problem

2002-09-12 Thread Martin Bruns

Hallo,

Ich möchte diald mit dls nutzen ich habe diald mit dem installation
script konfiguriert, pppoe funktioniert mit pon und poff ohne probleme.
diald behaubtet das das Connect Script fehlschlug. Ich habe mit strace
versucht herauszubekommen welches Script es benutzt konnte es allerdings
nicht finden.

Hier ist der Fehler Output von diald.

Sep 12 15:31:38 matti diald[1450]: Diald initial setup completed.
Sep 12 15:31:42 matti diald[1450]: filter accepted rule 27 proto 134624192 len 59 
packet 192.168.0.1,32770 = 194.8.194.60,53
Sep 12 15:31:42 matti diald[1450]: Trigger: udp   192.168.0.1/32770 
194.8.194.60/53   
Sep 12 15:31:42 matti diald[1450]: new state CONNECT action 0x8051200 timeout 90
Sep 12 15:31:42 matti diald[1450]: Calling site 192.168.0.2 
Sep 12 15:31:42 matti diald[1450]: No devices free to call out on.
Sep 12 15:31:42 matti diald[1450]: Connect script failed.
Sep 12 15:31:42 matti diald[1450]: new state CLOSE action 0x8051a2c timeout -1
Sep 12 15:31:42 matti diald[1450]: Delaying 1 seconds before clear to dial.
Sep 12 15:31:42 matti diald[1450]: new state RETRY action 0x8051bd8 timeout -1
Sep 12 15:31:43 matti diald[1450]: new state DOWN action 0x8051138 timeout -1
Sep 12 15:31:44 matti diald[1450]: new state CONNECT action 0x8051200 timeout 90
Sep 12 15:31:44 matti diald[1450]: Calling site 192.168.0.2 
Sep 12 15:31:44 matti diald[1450]: No devices free to call out on.
Sep 12 15:31:44 matti diald[1450]: Connect script failed.

Hat jemand eine funktionierende Konfiguration oder einen Tipp?

Schön Gruß
Martin





--
Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)




Re: diald dsl connect problem

2002-09-12 Thread Alexander Grümmer

Wenn du das dial on demand machen willst brauchst du nur in das skript
dsl-provider 
ein deand eintragen.
Ich habe hier eines das sich immer wieder einfählt wenn es offline geht.

--- skript ---
# Section 1
#pty pppoe -I eth1 -T 80
pty /usr/sbin/pppoe -I eth1 -T 80 -m 1452
#pty pppoe -I eth1 -T 80 -m 1412
# Section 2
demand
#idle 0
# Section 3
hide-password
lcp-echo-interval 60
lcp-echo-failure 3
noipdefault
defaultroute

connect /bin/true
noauth
persist
logfile /var/log/dsl.log
user [EMAIL PROTECTED]
--- skript ende ---

Wenn du willst das der nach eine Zeit die verbindung wieder abbaut dann
muß du nur das Idle einkommentieren und eine zeit setzen.


Am Don, 2002-09-12 um 16.51 schrieb Martin Bruns:
 Hallo,
 
 Ich möchte diald mit dls nutzen ich habe diald mit dem installation
 script konfiguriert, pppoe funktioniert mit pon und poff ohne probleme.
 diald behaubtet das das Connect Script fehlschlug. Ich habe mit strace
 versucht herauszubekommen welches Script es benutzt konnte es allerdings
 nicht finden.
 
 Hier ist der Fehler Output von diald.
 
 Sep 12 15:31:38 matti diald[1450]: Diald initial setup completed.
 Sep 12 15:31:42 matti diald[1450]: filter accepted rule 27 proto 134624192 len 59 
packet 192.168.0.1,32770 = 194.8.194.60,53
 Sep 12 15:31:42 matti diald[1450]: Trigger: udp   192.168.0.1/32770 
194.8.194.60/53   
 Sep 12 15:31:42 matti diald[1450]: new state CONNECT action 0x8051200 timeout 90
 Sep 12 15:31:42 matti diald[1450]: Calling site 192.168.0.2 
 Sep 12 15:31:42 matti diald[1450]: No devices free to call out on.
 Sep 12 15:31:42 matti diald[1450]: Connect script failed.
 Sep 12 15:31:42 matti diald[1450]: new state CLOSE action 0x8051a2c timeout -1
 Sep 12 15:31:42 matti diald[1450]: Delaying 1 seconds before clear to dial.
 Sep 12 15:31:42 matti diald[1450]: new state RETRY action 0x8051bd8 timeout -1
 Sep 12 15:31:43 matti diald[1450]: new state DOWN action 0x8051138 timeout -1
 Sep 12 15:31:44 matti diald[1450]: new state CONNECT action 0x8051200 timeout 90
 Sep 12 15:31:44 matti diald[1450]: Calling site 192.168.0.2 
 Sep 12 15:31:44 matti diald[1450]: No devices free to call out on.
 Sep 12 15:31:44 matti diald[1450]: Connect script failed.
 
 Hat jemand eine funktionierende Konfiguration oder einen Tipp?
 
 Schön Gruß
 Martin
 
 
 
 
 
 -- 
 Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
 mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
 



--
Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)




Re: diald dsl connect problem

2002-09-12 Thread Martin Bruns

Am Don, 2002-09-12 um 17.28 schrieb Alexander Grümmer:
 Wenn du das dial on demand machen willst brauchst du nur in das skript
 dsl-provider 
 ein deand eintragen.
 Ich habe hier eines das sich immer wieder einfählt wenn es offline geht.
 
 Wenn du willst das der nach eine Zeit die verbindung wieder abbaut dann
 muß du nur das Idle einkommentieren und eine zeit setzen.

Ja das ist eine Lösung, aber ich möchte die filter features von diald
benutzen da die pppd Option active-filter nicht funktioniert. Ich
bekomme leider immer irgend welche Packete die nicht den idle Timer
zurücksetzen sollen.

Gruß
Martin



--
Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)




diald dsl connect problem

2002-09-12 Thread Martin Bruns

Hi,

I want to use diald with dsl, but diald cannot connect and report the
following error in syslog. I configured diald with the installation
script.

Sep 12 15:31:38 matti diald[1450]: Diald initial setup completed.
Sep 12 15:31:42 matti diald[1450]: filter accepted rule 27 proto 134624192 len 59 
packet 192.168.0.1,32770 = 194.8.194.60,53
Sep 12 15:31:42 matti diald[1450]: Trigger: udp   192.168.0.1/32770 
194.8.194.60/53   
Sep 12 15:31:42 matti diald[1450]: new state CONNECT action 0x8051200 timeout 90
Sep 12 15:31:42 matti diald[1450]: Calling site 192.168.0.2 
Sep 12 15:31:42 matti diald[1450]: No devices free to call out on.
Sep 12 15:31:42 matti diald[1450]: Connect script failed.
Sep 12 15:31:42 matti diald[1450]: new state CLOSE action 0x8051a2c timeout -1
Sep 12 15:31:42 matti diald[1450]: Delaying 1 seconds before clear to dial.
Sep 12 15:31:42 matti diald[1450]: new state RETRY action 0x8051bd8 timeout -1
Sep 12 15:31:43 matti diald[1450]: new state DOWN action 0x8051138 timeout -1
Sep 12 15:31:44 matti diald[1450]: new state CONNECT action 0x8051200 timeout 90
Sep 12 15:31:44 matti diald[1450]: Calling site 192.168.0.2 
Sep 12 15:31:44 matti diald[1450]: No devices free to call out on.
Sep 12 15:31:44 matti diald[1450]: Connect script failed.

Does any one has working configuration files or a hint. I also tried to
find out which script diald is running but I cannot find it even with
strace not.

Kind Regards
Martin

 
-- 
Martin Bruns  mailto:[EMAIL PROTECTED]
fon: +49 221 2792134Weinsbergstr. 92
fax: +49 221 2792138   50823 Cologne
mob: +49 173 5320086 Germany


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




diald

2002-08-05 Thread swiks .
Salut,

Je viens d'installer Debian Potato sur un laptop. La
connection se fait par un modem 56k (fai: wanadoo) qui
est reconnu par la commande cardctl config. Le
deamon me fait le beep quand je retire et mets la
carte.

J'ai essayé de configurer diald /etc/diald/, j'ai
edité le fichier connect. Je suppose que j'ai fait un
erreur et/ou que j'ai oublié qqchose.

Merci de m'eclairer un peu la dessus
 a+
   swiks


___
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com



Re: diald

2002-08-05 Thread Yves Rutschle
On Mon, Aug 05, 2002 at 01:46:36PM +0200, swiks . wrote:
 Salut,

Bonjour,

 Je viens d'installer Debian Potato sur un laptop. La
 connection se fait par un modem 56k (fai: wanadoo) qui
 est reconnu par la commande cardctl config. Le
 deamon me fait le beep quand je retire et mets la
 carte.
 
 J'ai essayé de configurer diald /etc/diald/, j'ai
 edité le fichier connect. Je suppose que j'ai fait un
 erreur et/ou que j'ai oublié qqchose.
 
 Merci de m'eclairer un peu la dessus

Je crois que tu as oublié de décrire le problème.

/Y



Re: diald

2002-08-05 Thread swiks .
 --- Yves Rutschle [EMAIL PROTECTED] a
écrit :  On Mon, Aug 05, 2002 at 01:46:36PM +0200,
swiks .
 wrote:
  Salut,
 
 Bonjour,
 
  Je viens d'installer Debian Potato sur un laptop.
 La
  connection se fait par un modem 56k (fai: wanadoo)
 qui
  est reconnu par la commande cardctl config. Le
  deamon me fait le beep quand je retire et mets la
  carte.
  
  J'ai essayé de configurer diald /etc/diald/, j'ai
  edité le fichier connect. Je suppose que j'ai fait
 un
  erreur et/ou que j'ai oublié qqchose.
  
  Merci de m'eclairer un peu la dessus
 
 Je crois que tu as oublié de décrire le problème.

hum, on dirait oui, sorry.
Hé bien le probleme est que je n'arrive pas a me
connecter. En root, je tape ./connect dans le
repertoire /etc/diald/ et cela donne ceci:
[EMAIL PROTECTED]:/etc/diald/# ./connect
AT
[EMAIL PROTECTED]:/etc/diald/#

Seulement aucune connection n'est engagé. Dans le
fichier connect, on peut voir :
# The initialization string for your modem
MODEM_INIT=ATZC1D2%C0

Je ne sais pas si le AT viens de la ou non.
J'espere que mon probleme est plus clair maintenant.
   swiks

___
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com



Re: diald

2002-08-05 Thread Yves Rutschle
On Mon, Aug 05, 2002 at 02:19:08PM +0200, swiks . wrote:
  --- Yves Rutschle [EMAIL PROTECTED] a
 écrit :  On Mon, Aug 05, 2002 at 01:46:36PM +0200,
 swiks .
  wrote:
   Salut,
  
  Bonjour,
  
   Je viens d'installer Debian Potato sur un laptop.
  La
   connection se fait par un modem 56k (fai: wanadoo)
  qui
   est reconnu par la commande cardctl config. Le
   deamon me fait le beep quand je retire et mets la
   carte.
   
   J'ai essayé de configurer diald /etc/diald/, j'ai
   edité le fichier connect. Je suppose que j'ai fait
  un
   erreur et/ou que j'ai oublié qqchose.
   
   Merci de m'eclairer un peu la dessus
  
  Je crois que tu as oublié de décrire le problème.
 
 Hé bien le probleme est que je n'arrive pas a me
 connecter.

En fait je m'en doutais ;)

 En root, je tape ./connect dans le
 repertoire /etc/diald/ et cela donne ceci:
 [EMAIL PROTECTED]:/etc/diald/# ./connect
 AT
 [EMAIL PROTECTED]:/etc/diald/#

est-ce que pon/poff marchait avant? As-tu récupéré ta
config pour diald de pon/poff?

est-ce que tu as essayé la connection automatique? (i.e.
faire un ping www.yahoo.com pour lancer la connection,
plutôt que d'utiliser ./connect)

Qu'est ce qu'il y a dans /var/log/messages? Il devrait y
avoir plein de lignes venant de ppp et de diald...

(En passant: quand j'ai installé diald, je m'étais dis que
l'installeur de diald devrait récupérer automatiquement les
valeurs utilisées par pon/poff... Y'a-t-il une raison pour
mettre des valeurs par defauts et faire reconfigurer des
choses qui ont déjà été configurées?)

/Y



Re: diald

2002-08-05 Thread Pierre Machard
Salut,

On Mon, Aug 05, 2002 at 01:46:36PM +0200, swiks . wrote:
 Salut,
 
 Je viens d'installer Debian Potato sur un laptop. La
 connection se fait par un modem 56k (fai: wanadoo) qui
 est reconnu par la commande cardctl config. Le
 deamon me fait le beep quand je retire et mets la
 carte.
 
 J'ai essayé de configurer diald /etc/diald/, j'ai
 edité le fichier connect. Je suppose que j'ai fait un
 erreur et/ou que j'ai oublié qqchose.

pourquoi utiliser diald ?

essaye d'utiliser pppconfig dans le paquet du même nom.

a+
-- 
   Pierre Machard
[EMAIL PROTECTED] TuxFamily.org
[EMAIL PROTECTED]   techmag.net
+33(0)668 178 365  http://migus.tuxfamily.org/gpg.txt
GPG: 1024D/23706F87 : B906 A53F 84E0 49B6 6CF7 82C2 B3A0 2D66 2370 6F87



Re: diald

2002-08-05 Thread Yves Rutschle
[Recopié sur la liste. Toujours répondre sur la liste, car
la réponse peut être utile à quelqu'un d'autre, et peut-être
d'autres peuvent répondre mieux que moi]

 Etant donné que je ne connaissais pas l'existence de
 pon et de poff avant 5 minutes. Je ne peux pas
 repondre aux premieres questions :/

Comme suggéré par ailleurs, commence par faire marcher
pon/poff avec pppconfig. Une fois que ça marche, il suffit
pratiquement de copier les parametres dans les fichiers
équivalents de diald (si je me souviens bien).

 Je n'ai pas encore essaye avec l'execution automatique
 (ping) et je ne peux pas car je n'ai qu'un cable
 telephonique pour 2 ordi.  

Aucun rapport, tu peux lancer la connection avec diald et
faire le ping sur le même ordinateur. Ou alors j'ai pas
compris.

 Dans /var/log/messages les msg contenant diald:
 
 diald[554]: start sl0: SIOCSIFMETRIC: Operation not
 supported
 diald[554]: SIGTERM. Termination request received
 diald[554]: Diald is dying with code 0
 
 Et le seul concernant ppp que j'ai trouvé avec grep
 est:
 kernel: registered device ppp0

Tu as ppp ET slip configurés dans le noyau? (slip est
_indispensable_ pour diald, il est utilisé en interne).

/Y



Re: diald

2002-08-05 Thread swiks .
ca y est tout marche correctement, merci. J'ai utilis
pon puis diald.

Encore merci,
 swiks

___
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com



Re: diald problem

2002-06-16 Thread Daniel Toffetti
I had a somewhat similar problem some time ago, I don't remember the 
exact details now so I'm not sure I'm talking about the same issue.

When you upgrade your 2.2.x kernel to a 2.4.x one, you must upgrade 
many packages in order to keep them all working OK, this is documented 
in /Docs in the kernel source, CHANGES or README, IIRC. For example, 
pppd must be  2.4.

Be sure to upgrade all that packages as documented and try again.

Good luck !!!

 I installed Debian 2.2r6, installed a ppp-dialup link. This works
 fine with 'pon provider' I automated it with diald so it responds
 when there is an ISP-request an brings the link down after som idle
 time. So far, so good.

 I recently installed a new kernel 2.4.18. This look OK, but diald is
 dead (process is running thou). It won't  respond to commands such as
 'lynx', 'route' etc. Everything look the same as with 2.2r6. Same
 scripts are there, diald-process is running.

 Reinstalled diald while 2.4.18 is active, no change. ppp is working
 fine (pon provider establishes the link).  Running 2.2r6 (2.2.20
 kernel) everything works fine, including diald.

 What could be the problem here? Any clues?

 Anybody could help a little???

 Thanx in advance,
 Frank.

-- 
Daniel Toffetti --- 'There is no spoon...' - The Matrix
Running Debian Sid version 3.0 with Linux 2.4.13 i686


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



Re: diald won't respond

2002-06-16 Thread Scott Henson
On Sat, 2002-06-15 at 06:18, [EMAIL PROTECTED] wrote:
 Dear all,
 
 I installed Debian 2.2r6, installed a ppp-dialup link. This works fine with 
 'pon provider'
 I automated it with diald so it responds when there is an ISP-request an 
 brings the link
 down after som idle time. So far, so good.
 
 I recently installed a new kernel 2.4.18. This look OK, but diald is dead 
 (process is running thou). It won't respond
 to commands such as 'lynx', 'route' etc. Everything look the same as with 
 2.2r6. Same scripts are there, 
 diald-process is running.
 
 Reinstalled diald while 2.4.18 is active, no change. ppp is working fine (pon 
 provider establishes the link). Running 2.2r6
 (2.2.20 kernel) everything works fine, including diald.
 
 What could be the problem here? Any clues?
 
 Anybody could help a little???
2.2r* was not made to run with a 2.4.x kernel.  You will have to
dist-upgrade to woody before you will be able to run with a 2.4.x
kernel.  I would recommend upgrading to woody anyway because it will
soon be the stable branch anyway.  This should fix your problems with
using a 2.4.18 kernel and diald not working together.  
-- 
-Peace kid
  Scott Henson  [EMAIL PROTECTED]

God's the ultimate playa, so naturally He's going to have some haters,
rapper Ice Cube said. But these haters need to realize that  if you
mess with the man upstairs, you will get your ass smote. True dat.




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



diald won't respond

2002-06-15 Thread if . frijns
Dear all,

I installed Debian 2.2r6, installed a ppp-dialup link. This works fine with 
'pon provider'
I automated it with diald so it responds when there is an ISP-request an brings 
the link
down after som idle time. So far, so good.

I recently installed a new kernel 2.4.18. This look OK, but diald is dead 
(process is running thou). It won't respond
to commands such as 'lynx', 'route' etc. Everything look the same as with 
2.2r6. Same scripts are there, 
diald-process is running.

Reinstalled diald while 2.4.18 is active, no change. ppp is working fine (pon 
provider establishes the link). Running 2.2r6
(2.2.20 kernel) everything works fine, including diald.

What could be the problem here? Any clues?

Anybody could help a little???

Thanx in advance,
Frank.



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



diald problem

2002-06-15 Thread if . frijns
Dear all,

I installed Debian 2.2r6, installed a ppp-dialup link. This works fine with 
'pon provider'
I automated it with diald so it responds when there is an ISP-request an brings 
the link
down after som idle time. So far, so good.

I recently installed a new kernel 2.4.18. This look OK, but diald is dead 
(process is running thou). It won't  respond
to commands such as 'lynx', 'route' etc. Everything look the same as with 
2.2r6. Same scripts are there,
diald-process is running.

Reinstalled diald while 2.4.18 is active, no change. ppp is working fine (pon 
provider establishes the link).  Running 2.2r6
(2.2.20 kernel) everything works fine, including diald.

What could be the problem here? Any clues?

Anybody could help a little???

Thanx in advance,
Frank.



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



RE: diald y ipchains

2002-05-10 Thread Pisa09

/ Bueno amigos mi pregunta de hoy es las sig.. //Yo tengo un red de 4 PC en mi casa, una con Linux y las 
otras con //windoz... el tema es el sig. en estos momentos //estoy compartiendo mi conexion a internet por 
medio de ip masquerade, //que me anda de diez,, el tema es el sig. //como o que archivos de diald tengo que 
editar para que los clientes //cuando realizen un doble clic en Internet E //automaticamente el modem de la 
pc de Linux empieze a marcar, porque //busque info, puse algunos cambios pero //no marca ni en pedo el 
modem... si alguno sabe cual es el archivo que //tengo que //editar y que poner se los agradesco desde 
ya./


tenes que usar diald
apt-get install diald


/ SI por esoe el subjet del mail se llama diald y ipchains ja, es que 
ya lo tengo instaldo, lo que estoy tratando de hace es configurarlo por 
eso dicia que estaba viendo en el manual pero realize todos los cambios 
que decia y probe un par de cosas más pero no encuntro lo solucion 
:) si alguno tiene idea de la config. del diald joya /



/ LA otras es más facil diganme si esto funcionaria... //yo quiero que 
estos comando arranquen automaticamente al prender la pc/
/ # ipchains -P forward DENY // # ipchains -A forward -i ppp0 -j MASQ // # 
ipchains -A forward -i eth0 -s 192.1680.0.0/24 -j MASQ/
/esto mismo si lo agrego en/
/etc/init.d/bootmisc.sh //Funcionaria? o cual sera la forma más 
correcta.../



Mmm, ese archivo no es de Debian ?!
supuse que usabas debian por la firma del mail.


 Supusiste bien, tengo instaldo un debian potato,, el tema que si tengo el 
bootmisc.sh es más de ahi puse
que active el dma , y el teclado numerico en el inicio (y otras boludeces).. no 
se si es de debian o no, (te digo la verdad)
pero lo tengo...   :)


i se trata de redhat o de mandrake, fijate
si tenes un archivo en ese mismo directorio que
se llama local.rc o rc.local o algo asi.


No tengo ni red hat ni mandrake :)
Suerte y Gracias.
Pisa

--
--
\-  Federico E. Pereda - Debian GNU/Linux Potato 2.2r5 -/
|- E-mail:  [EMAIL PROTECTED] -  [EMAIL PROTECTED] -|
/-  Licq: 154997336-\
--





_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com



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



Re: diald y ipchains

2002-05-10 Thread Pisa09

Angel C Alvarez wrote:


El Vie 10 May 2002 15:06, Pisa09 escribió:
La configuracion de la palca interna como esta??
podes postearla???


Angel C Alvarez



/ Bueno amigos mi pregunta de hoy es las sig.. //Yo tengo un red de 4 PC
en mi casa, una con Linux y las otras con //windoz... el tema es el sig.
en estos momentos //estoy compartiendo mi conexion a internet por medio de
ip masquerade, //que me anda de diez,, el tema es el sig. //como o que
archivos de diald tengo que editar para que los clientes //cuando realizen
un doble clic en Internet E //automaticamente el modem de la pc de Linux
empieze a marcar, porque //busque info, puse algunos cambios pero
//no marca ni en pedo el modem... si alguno sabe cual es el archivo que
//tengo que //editar y que poner se los agradesco desde ya./



tenes que usar diald
apt-get install diald



/ SI por esoe el subjet del mail se llama diald y ipchains ja, es que
ya lo tengo instaldo, lo que estoy tratando de hace es configurarlo por
eso dicia que estaba viendo en el manual pero realize todos los cambios
que decia y probe un par de cosas más pero no encuntro lo solucion

:) si alguno tiene idea de la config. del diald joya /
:


/ LA otras es más facil diganme si esto funcionaria... //yo quiero
que estos comando arranquen automaticamente al prender la pc/ / #
ipchains -P forward DENY // # ipchains -A forward -i ppp0 -j MASQ // #
ipchains -A forward -i eth0 -s 192.1680.0.0/24 -j MASQ/ /esto mismo si lo
agrego en/
/etc/init.d/bootmisc.sh //Funcionaria? o cual sera la forma más
correcta.../



Mmm, ese archivo no es de Debian ?!
supuse que usabas debian por la firma del mail.



  Supusiste bien, tengo instaldo un debian potato,, el tema que si tengo el
bootmisc.sh es más de ahi puse que active el dma , y el teclado numerico en
el inicio (y otras boludeces).. no se si es de debian o no, (te digo la
verdad) pero lo tengo...   :)



i se trata de redhat o de mandrake, fijate
si tenes un archivo en ese mismo directorio que
se llama local.rc o rc.local o algo asi.


No tengo ni red hat ni mandrake :)
Suerte y Gracias.
Pisa


Si, puedo.. 
 con el tema de los IE de los clientes los dos tiene paginas de inicio, 
por lo cual estan pidiento al sevidor contantemente la conexion..
es decir despues de un rato me dice que no se encuentra la pagina , y 
bla, bla...
 La verdad que para mi estoy fallando en algo en el Fichero
diald.confy   connect...  o  el ppp que se encuantra dentro de diald..

Gracias de antemano
Pisa

--
--
\-  Federico E. Pereda - Debian GNU/Linux Potato 2.2r5 -/
|- E-mail:  [EMAIL PROTECTED] -  [EMAIL PROTECTED] -|
/-  Licq: 154997336-\
--





_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com



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



Diald y ipchains

2002-05-09 Thread Pisa09

Hola Lista,  Que tal..
  Bueno amigos mi pregunta de hoy es las sig..
Yo tengo un red de 4 PC en mi casa, una con Linux y las otras con 
windoz... el tema es el sig. en estos momentos
estoy compartiendo mi conexion a internet por medio de ip masquerade, 
que me anda de diez,, el tema es el sig.
como o que archivos de diald tengo que editar para que los clientes 
cuando realizen un doble clic en Internet E
automaticamente el modem de la pc de Linux empieze a marcar  si 
alguno sabe cual es el archivo que tengo que

editar y que poner se los agradesco desde ya.
 LA otras es más facil diganme si esto funcionaria...
yo quiero que estos comando arranquen automaticamente al prender la pc

 # ipchains -P forward DENY
 # ipchains -A forward -i ppp0 -j MASQ
 # ipchains -A forward -i eth0 -s 192.1680.0.0/24 -j MASQ

esto mismo si lo agrego en

etc/init.d/bootmisc.sh
Funcionaria? 


Gracias a todos...
Suerte

--
\-  Federico E. Pereda - Debian GNU/Linux Potato 2.2r5 -/
|- E-mail:  [EMAIL PROTECTED] -  [EMAIL PROTECTED] -|
/-  Licq: 154997336-\
--





_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com



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



diald extreme slowness

2002-05-01 Thread Matt Garman

I'm running Debian potato as my firewall/lan gateway/diald server.
The box is running diald 0.99.1-1.

Diald works almost as expected (connects to the Internet, hangs up
after timeout).  Diald dials and gets PPP up and running rather
quickly.  However, the connection that triggered diald has to timeout
and retry before it does anything useful.

Here's a concrete example: diald runs on septictank, my workstation is
sewage.  On sewage, I try to do a google search.  Immediately the
modem dials, and after a few seconds, the PPP connection is up and
running---I can use any Internet protocol except http.  I have to wait
for the browser to timeout trying to reach google, then retry the
search.  But during that waiting period, I could do a fetchmail.

The diald FAQ addresses this and says to try the option
buffer-packets on.  I've tried with this option both on and off, and
the problem persists both ways.  Another suggestion I found on the
'net was to set /proc/sys/net/ipv4/ip_dynaddr to 1.  I did this on
septictank, and it also had no effect.

Does anyone have a fix for this or any suggestions?

Are there any alternatives to diald for Linux?  I used to use OpenBSD
for septictank, and it's dial-on-demand program didn't suffer this
problem.

Any thoughts?

Thanks for your help!
Matt

-- 
Matt Garman, [EMAIL PROTECTED]
``I ain't never seen no whiskey, the blues made my sloppy drunk!''
-- Sleepy John Estes, ``Leaving Trunk''


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



Re: Diald configure problems

2002-04-26 Thread Karl E. Jorgensen
On Tue, Apr 23, 2002 at 05:02:23PM +0200, Theo Bierman wrote:
 Hi All
 
 I am having  trouble setting up Diald, once in dselect I try to configure it, 
 ie:
 
 running dpkg --pending --configure ...
 Setting up diald (0.99.4-5) ...
 Starting diald: fifo-created dpkg: error processing diald (--configure):
  subprocess post-installation script returned error exit status 1
 Errors were encountered while processing:
  diald
 
 I thought perhaps I had a broken package but I have downloaded it again and 
 obviously no joy
 
 Why do I get: script returned error exit status 1?

Basically because the post-installation script in the package failed...
(but you probably guessed that).

Unfortunately, you don't seem to get much helpful output from it. So
you'll have to provoke it to be helpful.

I'd suggest adding debug on the post-install script, by modifying
/var/lib/dpkg/info/diald.postinst: instead of set -e on line 6, try
set -ex.

And then try :
# dpkg --configure diald


Although it should fail again, you should have a lot more output to help
you pinpoint the problem. No doubt, the maintainer will need this output
if/when you report a bug.

HTH
-- 
Karl E. Jørgensen
[EMAIL PROTECTED]
www.karl.jorgensen.com
One disk to rule them all, One disk to find them. One disk to bring
 them all and in the darkness grind them. In the Land of Redmond
 where the shadows lie. -- The Silicon Valley Tarot
  Henrique Holschuh


pgppLcgYTnAGY.pgp
Description: PGP signature


Re: Diald configure problems

2002-04-25 Thread Theo Bierman
Hi

Still having hassles with diald:

dpkg -i diald_0.99.4-5_i386.deb 
(Reading database ... 22341 files and directories currently installed.)
Preparing to replace diald 0.99.4-5 (using diald_0.99.4-5_i386.deb) ...
Stopping diald: fifo-removed diald.
Unpacking replacement diald ...
Setting up diald (0.99.4-5) ...
Starting diald: fifo-created config-regenerated dpkg: error processing diald 
(--install):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 diald

Can anyone help

On Tue, Apr 23, 2002 at 05:02:23PM +0200, Theo Bierman wrote:
 Hi All
 
 I am having  trouble setting up Diald, once in dselect I try to configure it, 
 ie:
 
 running dpkg --pending --configure ...
 Setting up diald (0.99.4-5) ...
 Starting diald: fifo-created dpkg: error processing diald (--configure):
  subprocess post-installation script returned error exit status 1
 Errors were encountered while processing:
  diald
 
 I thought perhaps I had a broken package but I have downloaded it again and 
 obviously no joy
 
 Why do I get: script returned error exit status 1?
 
 Thanks
 
 The e
 
 -- 
 Theo Bierman
 Customer Implementation Team
 UUNET S.A., a WorldCom Company
 Tel: +27 11 235-6621
 Fax: +27 11 235-6501
 E-Mail:  [EMAIL PROTECTED]
 Customer Service Centre:  08600 UUNET / 08600 88638
 http://www.uunet.co.za
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
---end quoted text---

-- 
Theo Bierman
Customer Implementation Team
UUNET S.A., a WorldCom Company
Tel: +27 11 235-6621
Fax: +27 11 235-6501
E-Mail:  [EMAIL PROTECTED]
Customer Service Centre:  08600 UUNET / 08600 88638
http://www.uunet.co.za


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



Re: Diald configure problems

2002-04-25 Thread Donald R. Spoon

Theo Bierman [EMAIL PROTECTED] wrote:


Hi

Still having hassles with diald:

dpkg -i diald_0.99.4-5_i386.deb 
(Reading database ... 22341 files and directories currently installed.)

Preparing to replace diald 0.99.4-5 (using diald_0.99.4-5_i386.deb) ...
Stopping diald: fifo-removed diald.
Unpacking replacement diald ...
Setting up diald (0.99.4-5) ...
Starting diald: fifo-created config-regenerated dpkg: error processing diald 
(--install):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 diald

Can anyone help



Hi Theo.

I really can't help with this particular installation problem.  Looks 
like something is messed up in the post-install script on your system 
and the messages don't give any real clues.  This might be something to 
direct towards the package maintainer.  I would also check out the bug 
list against this package to see if any others have had this particular 
problem.


I might have an alternative for you, though.

The pppd program that comes with Debian provides a Dial on Demand 
function built-in that is just as good as that of diald.  About the only 
thing it doesn't provide is the logging and monitoring of your on-line 
time.  If this latter function (on-line time monitoring) is not 
important the I would highly recommend you look at setting up pppd for 
Dial on Demand.  It is easier to config and works just as well, IMHO.


In order to do this you should use the pppconfig program and go into 
the advanced settings section.  You will see some options there that 
control this function.  As I recall, it comes with the DoD turned off. 
It is a bit confusing at first to set up, but then so is diald!


I haven't used a PPP link in quite a while, so my memory is somewhat 
dated.  Holler if you need some help and I will see if I can dig out 
some old notes.  It would be nice to know which version of Debian and/or 
PPPD you are using...


Cheers,
-Don Spoon-



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




diald tap0 routing modem

2002-04-17 Thread Stefan Keul

Hallo,

ich hör schon das gähnen in der Liste, schon wieder einer der zu doof 
ist (... die richtige Anleitung zu finden).

Ich probiere nun schon seit gestern Nachmittag die Einwahl zu 
konfigurieren und die Howtos (ISP..., Modem, Network) sind nicht 
schlecht, aber die Folgenden Fragen sind dennoch offen und die 
Einwahl klappt nicht:


Was geht:

1. die Einwahl übers Modem mit wvdial
2. diald (on demand) reagiert auf ping www.debian.org

Was nicht geht:

Interaktion von diald und modem

Konkreter:

- diald meldet beim hochfahren in messages:
   ... diald[205]: start tap0: SIOCSIFMETRIC: Operation not supported
- route -n liefert beständig:
DestGateway  Genmask
192.168.0.2 0.0.0.0255.255.255.255...tap0
192.168.22.0   0.0.0.0255.255.255.0   ...   eth0
0.0.0.00.0.0.00.0.0.0   ... tap0


Fragen:

- Ich habe bei der Installation ethertap ausgewählt, wo für ist das?

- sollte diald nicht mit ppp oder ppp0 konfiguriert werden statt tap0?
  Wie geht das?

- Was ist mit der default-route?
  Muss ich die default-route nicht auf ppp oder ppp0 setzen?
  Und wie wird diese auf die dynIP nach der einwahl gesetzt?

- der ISP gibt keinen DNS an sondern dieser wird während der Einwahl 
bekannt gegeben. Ich hab da einfach mal einen dummy in resolv.conf 
eingetragen (nameserver 10.10.10.1). Woher weiss mein resover nach 
der Einwahl den richtigen DNS?

- beim hochfahren gibt es immer einen anwahlversuch durch:
  Trigger: udp 192.168.0.1/1025 10.10.10.1/53 (mein dummy dns)
  Wie kann ich das unterbinden?

- die Config-Dateien für diald heissen bei debian anders:
  Ist  /etc/diald/diald.defaults = .../diald.options = .../diald.conf ?

Ich bin über jede Antwort oder jeden link auf entsprechende 
Anleitungen dankbar.

Stefan


-- 
Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)




Re: diald tap0 routing modem

2002-04-17 Thread Gerhard Schromm

On Wed, 17 Apr 2002, Stefan Keul spake thusly:

 Ich probiere nun schon seit gestern Nachmittag die Einwahl zu 
 konfigurieren und die Howtos (ISP..., Modem, Network) sind nicht 
 schlecht, aber die Folgenden Fragen sind dennoch offen und die 
 Einwahl klappt nicht:
 
 
 Was geht:
 
 1. die Einwahl übers Modem mit wvdial
 2. diald (on demand) reagiert auf ping www.debian.org
 
 Was nicht geht:
 
 Interaktion von diald und modem

Was meinst du genau?
 
 Konkreter:
 
 - diald meldet beim hochfahren in messages:
... diald[205]: start tap0: SIOCSIFMETRIC: Operation not
supported

Das ist normal, und sollte kein Problem sein.

 - route -n liefert beständig:
 DestGateway  Genmask
 192.168.0.2 0.0.0.0255.255.255.255...tap0
 192.168.22.0   0.0.0.0255.255.255.0   ...   eth0
 0.0.0.0  0.0.0.00.0.0.0   ... tap0

auch dies sieht OK aus. 
 
 Fragen:
 
 - Ich habe bei der Installation ethertap ausgewählt, wo für ist das?

Irgendwie muß diald ja mitbekommen das irgend wer rauswill. Dafür
braucht er ein dummy-Netzwerkinterface auf dem er horchen kann. Zur
wahl steht ethertap (mehr dazu kannst du in der Kerneldoku finden)
oder slip.

 - sollte diald nicht mit ppp oder ppp0 konfiguriert werden statt
   tap0?  Wie geht das?

Nein.
 
 - Was ist mit der default-route?
   Muss ich die default-route nicht auf ppp oder ppp0 setzen?

Nein.
   Und wie wird diese auf die dynIP nach der einwahl gesetzt?

Die Defaultroute wird nicht auf die IP gesetzt, sondern auf das
Interface (also ppp0). Dies erledigt diald nach der Einwahl.

 - der ISP gibt keinen DNS an sondern dieser wird während der Einwahl
 bekannt gegeben. Ich hab da einfach mal einen dummy in resolv.conf
 eingetragen (nameserver 10.10.10.1). Woher weiss mein resover nach
 der Einwahl den richtigen DNS?

dafür gibt es ein Skript in der ip-up.d. Wenn nicht, sollte dir man
pppd weiterhelfen.
 
 - beim hochfahren gibt es immer einen anwahlversuch durch:
   Trigger: udp 192.168.0.1/1025 10.10.10.1/53 (mein dummy dns) Wie
   kann ich das unterbinden?

Man kann diald so konfigurieren, daß er auf bestimmte
Verbindungswünsche nicht reagieren soll. 

 - die Config-Dateien für diald heissen bei debian anders:
   Ist /etc/diald/diald.defaults = .../diald.options = .../diald.conf
   ?

Wirf einen Blick rein, dann sollte es klar werden.
 
bye Gerhard
-- 
147: Fortran
   Makrosprache für ein I/O-Verhinderungssystem (Arno Eigenwillig)


--
Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)




Re: ISDN diald: router setup tale of woe

2002-02-21 Thread Richard Gaywood
Sorry about delay in replying to this, Tony, and thanks for your help so
far.

On Sat, Feb 16, 2002 at 08:06:09PM +0100, Tony Crawford wrote:
 Richard Gaywood wrote (on 16 Feb 2002 at 18:37):
  On Sat, Feb 16, 2002 at 07:21:34PM +0100, Tony Crawford wrote:
   Richard Gaywood wrote (on 16 Feb 2002 at 18:05):
   Have you read in the man page about the demand and persist
   options?
  
  man ipppd reports persist as obsolete in ipppd; it'd get me into
  trouble with my ISP anyway, although I can see what you're saying.
  It doesn't mention a demand option at all.
 
 Yes, sorry, demand is a pppd option. What you want for ipppd is 
 dialmode=auto in /etc/isdn/device/ippp0. (Do you have lots of 
 nice explanatory comments in that file?) 

Rggght. Because of this weird-assed config script I've used, most of
the config is tucked away in /etc/isdn/accounts/conf-MYISP. However, I
can boot the router, run /etc/init.d/isdn, and then do this:

[/etc/isdn]# isdnctrl writeconf foo
Will overwrite section `ISDNCTRL'!
ISDN Configuration written to foo.
[/etc/isdn]# cat foo
###
#
# File foo generated by isdnctrl 3.0beta2 on Thu Feb 21 22:47:35 2002
#
###

[ISDNCTRL]
INTERFACES = {

  [INTERFACE]
  NAME = ippp0
  EAZ = 01495244285
  PHONE_OUT = 08089916001 08089916001
  SECURE = on
  DIALMODE = auto
  DIALMAX = 10
  HUPTIMEOUT = 7200
  IHUP = off
  CHARGEHUP = off
  L2_PROT = hdlc
  L3_PROT = trans
  ENCAP = syncppp
  PPPBIND = 0
}

So it looks like it's in auto dialmode already. Another piece of the
puzzle that might be relevent: 

[/etc/isdn]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric RefUse Iface
192.168.0.0 *   255.255.255.0   U 0  00 eth0
195.92.66.0 *   255.255.255.0   U 0  00 ippp0
default cougar.lns.watf 0.0.0.0 UG0  00 ippp0
[/etc/isdn]# isdnctrl hangup ippp0
ippp0 hung up
[/etc/isdn]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric RefUse Iface
192.168.0.0 *   255.255.255.0   U 0  00 eth0
195.92.66.0 *   255.255.255.0   U 0  00 ippp0
[/etc/isdn]# isdnctrl dial ippp0
Dialing of ippp0 triggered
[/etc/isdn]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric RefUse Iface
192.168.0.0 *   255.255.255.0   U 0  00 eth0
195.92.66.0 *   255.255.255.0   U 0  00 ippp0
default *   0.0.0.0 U 0  00 ippp0

Am I right in theorising the route is getting messed up?

 That should make the ISDN line dial whenever packets are sent to the
 interface ippp0. In order for packets to get sent there, you usually
 want to set a default route--your handy-dandy config scripts may have
 done this for you; verify using route -n.

Aha. Thought so. I'll have another comb through the config and try and
resolve where the default route gets deleted. What should happen to it
when ippp0 hangs up or the remote caller hangs up? I'm guessing it
should stay in place?

 Also, the isdnutils package sets up scripts in /etc/ppp/ip-up.d/ and
 ...ip-down.d. You can amend these scripts to activate firewall rules
 whenever you ISDN line is up, or to correct the routing.  (There was a
 time when the default route had to be restored in ip- down after every
 hangup.) These scripts are also full of helpful comments.

A, right. Thanks for your help; hopefully I'll be able to get this
licked now. I'll let you know :oD

-- 
Got you in my sites and I'm gonna make you bleed, |   -=R=-
 Get used to hearing this, `you have lost the lead.'  |web: http://
 -- MC Hawking |fscked.co.uk
   |icq:66545079



ssh'ing within LAN triggers diald

2002-02-18 Thread Matt Garman

I have a three-computer internal LAN: two Debian (potato) boxes and a
Windows NT machine.  For now, we won't worry about the NT computer.

Both Linuxes have identical /etc/hosts files:

127.0.0.1 localhost
192.168.0.1 septictank
192.168.0.2 sewage

septictank is my diald server/gateway/firewall machine for the rest of
the LAN (and sewage is my workstation).

Both machines are using OpenSSH-3.0.2p1 that I self-compiled and
installed (with the same configure options).

Here's the strange part:

Ssh'ing from septictank to sewage can be done using either of the
following commands:

ssh sewage
ssh 192.168.0.2

and the behavior is as expected (i.e. diald is not triggered).
However, if I try to ssh from sewage to septictank, I have to use the
following command:

ssh 192.168.0.1

else diald is triggered (in other words, ssh 192.168.0.1 from sewage
will login to septictank immediately.  Using ssh septictank will
cause diald to bring up a ppp connection, and ssh will wait until ppp
is up and running).

Two files I thought might be of interest are /etc/nsswitch.conf and
/etc/host.conf.  On both systems, however, these files are the same
(Debian's default).

Finally, one more interesting point that may or may not be related: I
have not configured the Windows NT box to recognize the symbolic
hostnames sewage and septictank.  So when I connect to the Linux
boxes from the NT boxes I always use their numerical IP addresses.
Anyway, I use a program called putty for ssh on NT.  When I ssh from
NT to 192.168.0.1 (septictank) the connection is established
immediately.  However, if I ssh from NT to 192.168.0.2 (sewage), the
connection will go through, but takes forever---the modem might be
dialing, but I'm not sure (forgot to check that before sending this
email).

Anyway, thanks for any thoughs or suggestions!

Matt

-- 
Matt Garman, [EMAIL PROTECTED]
``I ain't never seen no whiskey, the blues made my sloppy drunk!''
-- Sleepy John Estes, ``Leaving Trunk''



ISDN diald: router setup tale of woe

2002-02-16 Thread Richard Gaywood
Hi. I'm having massive grief configuring a standalone ISDN router and
I could desperately use some pointers.

Quick recap of the story so far: I started with a CD-based install of
2.2r5, then cast around looking for ways to configure the ISDN. I've
built routers before but never around dialup and I knew very little
about ISDN, so the default Debian configure tool confused me. Google
turned up a neat script at www.manna.nl which asked me questions in a
lovely hand-holding manner and set everything up.

Once this script was done, I had a init.d service called isdn that, when
started, does *everything* to configure the line. I have this service to
start at my default runlevel and on the router's console, I can type
'isdnctrl dial ippp0' immediately after booting and my net connection is
instantly up. I figured this meant I'd broken the back of the problem.

I have all the rest of the stuff I need-- masquerading, DHCP server
for local LAN, BIND, etc-- up and running. The last piece of the puzzle
is making the router dial out on demand but I've just spent nearly a
full day banging my head at the diald docs trying to make it co-operate.
I only need it to run isdnctrl dial and isdnctrl hangup to bring the
link up and down, but it's just not working.

Starting diald causes /var/log/syslog to fill with messages about
modules tap0-15 not existing; the diald docs mention that I should have
ethertap compiled in the kernel but modconf doesn't seem to know about
it. Even though diald shows up on ps aux, it doesn't seem to ever do
anything (pinging out etc doesn't make it dial) and route just shows my
LAN route. I'm presuming either route or ifconfig should show up the
SLIP loopback link diald uses.

Meanwhile, I'm looking at various diald docs and walkthroughs and
getting ever more confused because most of them assume normal dialup and
no two of them seem to do things the same way. It's possible I'm
supposed to be editing things under /etc/ppp but then again, maybe not
because I'm using ipppd; I'm so confused now, I really can't tell any
more!

Any insight into how I can get this working is very much appreciated.
I'd like to think I know what I'm doing with Debian after a year of use
but this really has me frustrated.

Here's the diald config I've put^Whacked^Wcludged together so far:

= diald.conf ===
#fifo /var/run/diald/diald.fifo
mode dev
connect sh /etc/diald/connect
device ippp0
lock
crtscts

# network options
local 192.168.0.1
remote 195.92.66.181
#dynamic
#defaultroute
#pppd-options asyncmap 0
#include /etc/diald/standard.filter

ip-up /etc/diald/ip-up
addroute /etc/diald/addroute
ip-down /etc/diald/ip-down
delroute /etc/diald/delroute

= connect ==
/etc/init.d/isdn restart


= ip-up 
/usr/sbin/isdnctrl dial ippp0


= ip-down ==
/usr/sbin/isdnctrl hangup ippp0


= addroute =
#!/bin/sh
logger -p local1.info $0 $* 

#. /etc/diald/config

# Setup the Link
#/sbin/isdnctrl addphone $1 out $PHONE
#/sbin/isdnctrl dial $1

# Setup Routes
# /sbin/route add janus $1 
/sbin/route add default $1
/sbin/route add $4 $1

exit 0


= delroute =
#!/bin/sh

. /etc/diald/config

logger -p local1.info $0 $*

# Delete The routes from the Link
/sbin/route del default
/sbin/route del $4

# Hangup the Linke
#/sbin/isdnctrl delphone $1 out $PHONE
#/sbin/isdnctrl delphone $1 out $PHONE
#/sbin/isdnctrl delphone $1 out $PHONE

/sbin/isdnctrl hangup $1 

exit 0


diald.options is empty.

Thanks in advance for anyone who actually read all that.

-- 
He couldn't get a clue during the clue mating season in a field|   -=R=-
full of horny clues if he smeared his body with clue musk and did  |web: http://
the clue mating dance. |fscked.co.uk
   |icq:66545079



Re: ISDN diald: router setup tale of woe

2002-02-16 Thread Tony Crawford
Richard Gaywood wrote (on 16 Feb 2002 at 18:05):

 Hi. I'm having massive grief configuring a standalone ISDN router
 and I could desperately use some pointers.

Are you using pppd or ipppd? What version? Have you read in the 
man page about the demand and persist options?

T.

-- 
-- Tony Crawford
-- [EMAIL PROTECTED]
-- +49-3341-30 99 99
-- 



Re: ISDN diald: router setup tale of woe

2002-02-16 Thread Richard Gaywood
On Sat, Feb 16, 2002 at 07:21:34PM +0100, Tony Crawford wrote:
 Richard Gaywood wrote (on 16 Feb 2002 at 18:05):
 
  Hi. I'm having massive grief configuring a standalone ISDN router
  and I could desperately use some pointers.
 
 Are you using pppd or ipppd? 

ipppd. Is this a bad idea?

 What version? 

Default potato -- i2.2 patchlevel 10anubis. Although man ipppd reports
2.2.9, oddly.

 Have you read in the man page about the demand and persist
 options?

man ipppd reports persist as obsolete in ipppd; it'd get me into
trouble with my ISP anyway, although I can see what you're saying. It
doesn't mention a demand option at all.

-- 
I actually hate every piece of hardware invented apart from the   |   -=R=-
ones I own, because I'm infallible and could never have misjudged  |web: http://
any purchases so all my hardware is gr8 and all yours is fuvg.|fscked.co.uk
 -- doki in [EMAIL PROTECTED][ROT13]|icq:66545079



Re: ISDN diald: router setup tale of woe

2002-02-16 Thread Tony Crawford
Richard Gaywood wrote (on 16 Feb 2002 at 18:37):

 On Sat, Feb 16, 2002 at 07:21:34PM +0100, Tony Crawford wrote:
  Richard Gaywood wrote (on 16 Feb 2002 at 18:05):
  
   Hi. I'm having massive grief configuring a standalone ISDN
   router and I could desperately use some pointers.
  
  Are you using pppd or ipppd? 
 
 ipppd. Is this a bad idea?

Not at all. But it makes a difference in the names of the options 
concerned ...
 
  What version? 
 
 Default potato -- i2.2 patchlevel 10anubis. Although man ipppd
 reports 2.2.9, oddly.

Not so odd, and fairly up to date. Individual package version 
numbers are independent from the distribution release number.

  Have you read in the man page about the demand and persist
  options?
 
 man ipppd reports persist as obsolete in ipppd; it'd get me into
 trouble with my ISP anyway, although I can see what you're saying.
 It doesn't mention a demand option at all.

Yes, sorry, demand is a pppd option. What you want for ipppd is 
dialmode=auto in /etc/isdn/device/ippp0. (Do you have lots of 
nice explanatory comments in that file?) That should make the ISDN 
line dial whenever packets are sent to the interface ippp0. In 
order for packets to get sent there, you usually want to set a 
default route--your handy-dandy config scripts may have done this 
for you; verify using route -n.

Also, the isdnutils package sets up scripts in /etc/ppp/ip-up.d/ 
and ...ip-down.d. You can amend these scripts to activate firewall 
rules whenever you ISDN line is up, or to correct the routing. 
(There was a time when the default route had to be restored in ip-
down after every hangup.) These scripts are also full of helpful 
comments.

Tony

-- 
-- Tony Crawford
-- [EMAIL PROTECTED]
-- +49-3341-30 99 99
-- 



diald problem

2002-02-04 Thread David Gardi

Hello,
I have diald 0.99.1-1 and I think I have set things up
properly put it is still not working.
I have replaces the contents of /etc/diald/connect
with pppd call name which is what I use to
bring up my ppp link. I have set things up for modem use,
and dynamic IP. When I start diald from /etc/init.d
it dumps a whole load of modprobe errors Ex:

modprobe: Can't locate module tap15
and many others.

Then it says:

diald[30416]: SLIP not supported by kernel, can't build proxy.

followed by:

diald[30416]: Unable to get a proxy interface. Manual control only.

Nevertheless diald starts but doesn't seem to dial a
connection.

Any ideas?
David.



stopping diald..

2001-12-20 Thread Vittorio
Under woody I've set up a small server to be a Squid proxy and to use
diald to dial on demand on a shared telephone line (used both to
make calls and to connect to the ISP).
 
The problem is that when on a client netscape or explorer is
erroneously started and immediatedly stopped while the line is busy
diald goes on endlessly trying to connect to the provider.

How can I limit the number of retrials under diald? 

Vittorio



Diald configuration

2001-12-19 Thread chidambaram_ram
Request to diagnose the problem with Diald.
 Copy of /syslog and /etc/chatscripts/vsnl.net is here.
command# /usr/sbin/pppd

pppd[535]:pppd 2.3.11 started by root, uid 0
pppd[535]:Using interface ppp0
pppd[535]:ppp0 -- /dev/pts/0
pppd[535]:LCP: timeout sending Config-Requests
pppd[535]:Connection terminated
pppd[535]:Exit

After using ppp dialup utility

kernel: ppp:version 2.3.7
kernel: PPP line discipline registered.
kernel: registered device ppp0
pppd[397]: ppp 2.3.11 started by root, uid 0
pppd[397]: Connect script failed.
pppd[397]: Exit

Active portions of /chatscripts/vsnl.net generated 
by pppconfig 2.0.5

ABORT BUSY ABORT 'NO CARRIER' ABORT VOICE 
ABORT 'NO DIALTONE' ABORT 'NO DIALTONE' ABORT 'NO ANSWER'
''ATZ
OK-AT-OK ATDP172226
CONNECT''
ogin:chidambaram_ram
ssword:
''\d\c
#end of pppconfig stuff.



RE: Diald configuration

2001-12-19 Thread Donald R. Spoon

[EMAIL PROTECTED] wrote:


Request to diagnose the problem with Diald.
 Copy of /syslog and /etc/chatscripts/vsnl.net is here.
command# /usr/sbin/pppd

pppd[535]:pppd 2.3.11 started by root, uid 0
pppd[535]:Using interface ppp0
pppd[535]:ppp0 -- /dev/pts/0
pppd[535]:LCP: timeout sending Config-Requests
pppd[535]:Connection terminated
pppd[535]:Exit

After using ppp dialup utility

kernel: ppp:version 2.3.7
kernel: PPP line discipline registered.
kernel: registered device ppp0
pppd[397]: ppp 2.3.11 started by root, uid 0
pppd[397]: Connect script failed.
pppd[397]: Exit

Active portions of /chatscripts/vsnl.net generated 
by pppconfig 2.0.5


ABORT BUSY ABORT 'NO CARRIER' ABORT VOICE 
ABORT 'NO DIALTONE' ABORT 'NO DIALTONE' ABORT 'NO ANSWER'

''ATZ
OK-AT-OK ATDP172226
CONNECT''
ogin:chidambaram_ram
ssword:
''\d\c
#end of pppconfig stuff.



I have not used DialD in quite a while, but as I recall, it was a PITA 
to get going.  I much prefer using the demand function built into all 
current pppd daemons.  You can set this up quite easily with the 
pppconfig program, by using the advanced section, where you can select 
this option.  Diald used to have over-lapping config files with pppd 
that took a lot of time to get them in sync, IMHO.  I would highly 
suggest you review the man page for pppd AND the PPP-HOWTO to get a feel 
for how all these files relate to each other.  It may be different now 
with more modern versions of diald  dunno.  I have been using a 
Cable Modem for over a year and my experience is dated  fading into a 
dim memory.



In any case, there are several inter-dependent scripts and config files 
you have to inspect for your problem(s).  Here are some of my pitfalls 
in the past that seem to be quite common among dial-up users.


1. /etc/ppp/options file:  This is the master config file read by pppd 
upon startup.  Some Options placed here can be over-ridden by subsequent 
(secondary) config files.  The main offender in this file is the AUTH 
option.  This requires the remote computer to authenticate itself to 
YOUR computer, and most ISPs will not do this.  The fix is to change 
it to NOAUTH.  Alternatively, this can be over-ridden by the 
/etc/ppp/peers/provider file, if you use it.  Dunno if Diald uses this 
file or not...(here's where understanding how all the config files link 
together comes in handy).  If you use the pppd demand function, this 
file (/etc/ppp/peers/provider) WILL be used and you really don't have to 
make this change.  BTW, the AUTH option was placed there in order for 
YOUR computer to safely accept dial-ins (like your ISP).  If you change 
AUTH to NOAUTH here, any dial-ins will NOT be authenticated.


2.  If you chose to use PAP authentication when you ran pppconfig, then 
the login and password lines in your chatscript are not necessary 
and might be the reason you are having a chatscript failure.  PAP is 
 used by most ISP's now, and it will take care of this for you.  If you 
have your /etc/ppp/pap-secrets file set up properly, (this should be 
done automatically by pppconfig), then these lines will probably not 
appear during the initial negotiations.  I suggest you comment out these 
two lines in your chatscript and see what happens.


3.  If I recall correctly, DialD prefers to take-over most of the 
functions of /etc/ppp/options and sub-files.  I had only a minimal set 
of options defined in the /etc/ppp/options file.  I had lots of problems 
with conflicting options between the DialD config files and the pppd 
config files.  This mainly involved things like setting the MTU, etc.  I 
don't think this would cause your current problem, thoughjust later 
on when you want to fine-tune your system to maximize d/l speeds, etc.


4.  Take a look at the /etc/init.d/ppp initscript.  If you want your 
system to automatically start the dial-up whenever you click on an 
outside link, you will have to re-name the /etc/ppp/no_ppp_on_boot file 
as explained in the initscript.  This is only needed if you use pppd 
demand function ...  dunno how it interacts with diald.  You probably 
DON't want to do this if you use diad, but agin, I just dunno.  You 
might also want to read the info in /etc/ppp/no_ppp_on_boot ...  there 
is some interesting info there that is not printed in other docs.  In 
fact, I have found LOTS of hints buried within all those config files.


As implied above, there is a multitude of interconnected config options 
when using diald.  The ONLY way I was able to get mine going was to wade 
through all the documentation and do a LOT of experimenting.  There 
doesn't seem to be a single answer to any given set of symptoms.  That 
is why I prefer the pppd demand option, and it simplifies the number 
of config files you have to inspect/correct.


HTH,
-Don Spoon-








Diald-configuration

2001-12-16 Thread chidambaram_ram
I failed to have internet dial-up inspite of best efforts.The syslog says Chat 
script failed. I have pppconfig and used /etc/chatscripts,read man diald, 
corrected diald.options,corrected /etc/diald/connect . Nothing works. I am also 
confused. Pl help.Internet with WINDOWS works fine in the same computer.(Dual 
OS)
C.Ramachandran



Re: Diald-configuration

2001-12-16 Thread Paolo Falcone
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


[EMAIL PROTECTED] wrote:

I failed to have internet dial-up inspite of best efforts.The syslog
says Chat script failed. I have pppconfig and used
/etc/chatscripts,read man diald, corrected diald.options,corrected
/etc/diald/connect . Nothing works. I am also confused. Pl
help.Internet with WINDOWS works fine in the same computer.(Dual
OS)
C.Ramachandran

Try using PAP authentication, since most ISP's use it.

Also check your kernel version against the pppd version. 2.4 kernels
need the 2.4
ppp daemon. And have kernel ppp stuff compiled as modules.

Be sure you're using an external modem (that has complete hardware
stuff inside,
w/c is most probably complete anyway...) or an internal modem that
has modules
for Linux use.

Call your ISP if everything else doesn't work. If they're open
enough, they'll
give you some tips and even support for configuring ppp on your box.

Sometimes you need to tweak your ppp configuration some more. It took
me a year
to get the perfect recipe in ppp (I only got it right 6 months ago),
but it was
well worth it, as networked operations are way better in Linux than
in Windows.
[I used to do my surfing in the office running Debian Potato on a
cable
connection - now I can use Linux at home as well]

Don't give up! 

Persistence is the key...


- --Paolo
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8HKH8CCC2VflBZH0RAthPAJ4yFXiC3WIhiQPWggo4gPA71RuGwgCeK0zr
1PFpXSx/2H0kX9nDC95/K/0=
=bqOH
-END PGP SIGNATURE-


__
www.edsamail.com



Setting up diald, DNS, netatalk, routing

2001-12-04 Thread Paul E Condon
I have a small LAN; two Linux boxes and two Macs. One of the Linux boxes
is used as a workstation, and one is used to provide common services.
The services are ppp, printing, backup, etc. I have had it working for
about a year.

Now I am working on converting the Linux boxes from Red Hat to Debian. I
have the workstation conversion done. I need advice on the conversion of
the common services box. I have installed Debian on it, and have
configured diald, but diald doesn't work (it did under Red Hat). My
questions are:

1 What is the best order for installing/configuring the various
deamons? Should I expect diald to work with other deamons/services not
yet configured?

2 While doing the initial install of Potato, I learned of pon, the
program that starts ppp. Is there some way to use pon in the connect
script of diald? I see that the edits that I had to make to the connect
script are entirely concerned with giving it information that I have
already provided to pon. It seems to me that good sys-admin proctice
should be to have these two functions working off the same database.
And, in my case, pon works but diald start never activates the modem.

3 I have already learned that Debian often (always?) has a way of
setting up that does not conform to the non-Debian information at
various web sites. How can I identify advise/information that is
specifically Debian, so that I avoid being confused by stuff that
doesn't apply?

4 Back to topic 2, above: I have read and followed the README.Debian
file in diald documentation. I have done the three steps indicated
there, and ppp does not come up when I try to use dselect to get new
packages. What am I missing?

I'm sending this email from the box that I am trying to configure, so
should understand that it is not entirely a basket case.

Paul



  1   2   3   4   5   6   7   >