Re: Wymuszanie YES (permanentne) w fsck

2002-04-28 Thread Piotr Krukowiecki
On Thu, Apr 25, 2002 at 05:41:54PM +0200, Adrian Siemieniak wrote:
 
 Mozna bez rekompilacji fsck sprawic by ZAWSZE naprawialo dyski (nawet -a/-y

Nie wiem czy to zadziala, ale moze 
yes | fsck /dev/hdx
 

-- 
Piotrek  (@ ~)
irc: #debian.pl
Mors Drosophilis melanogastribus!


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



Re: ssh

2001-11-18 Thread Piotr Krukowiecki
On Thu, Nov 15, 2001 at 09:23:47PM +0100, Michal Niezbecki wrote:
 Witam
 Chcialbym sie upewnic u fachmanow :)

To nie do mnie, ale odpowiem :)

 Czy debianowe non-US/m ssh 1.2.3-9.3 jest bezpieczne?

Tak, zreszta czytales juz pewnie DSA...



-- 
Piotrek  (@ ~)
irc: #Debian.pl
Mors Drosophilis melanogastribus!



Re: IRC kanal #debian

2001-11-18 Thread Piotr Krukowiecki
On Wed, Nov 14, 2001 at 06:19:17PM +0100, Pablo wrote:
 Witam,
 
 Informuję, że w sieci POLNET (www.ircnet.pl) powstał nowy kanał
 #debian, na którym mamy jeszcze parę wakatów dla opów :-.

Pewnie zajrze, chocby z ciekawosci :)

 Bardzo polecam, na serwerach *.ircnet.pl są mechanizmy ochrony
 kanałów i nicków co jest bardzo przyjazne dla użytkownika.

iirc efnet tez ma {chan,nick}servy? 
Jeden serwer tej sieci juz jest w polsce (irc.efnet.pl iirc), co takiego
ma polnet, ze oplaca sie stawiac serwery w zupelnie nowej sieci, niz
dolaczyc sie do istniejacej?

Przy okazji, na ircnecie jest dosc duzy #debian.pl :)


-- 
Piotrek  (@ ~)
irc: #debian.pl
Mors Drosophilis melanogastribus!



Re: gcc work .........no

2001-07-03 Thread Piotr Krukowiecki
On Mon, 02 Jul 2001, seeb27 wrote:

 Witam wszystkich: debian-user-polish!
 
 mojhost:/usr/src/mysql-3.23.39# gcc
 gcc: No input files
 
 checking whether the C compiler (gcc   ) works... no
 configure: error: installation or configuration problem: C compiler cannot 
 create executables.
 
 dlaczego nie moze utworzyc wykonywalnych plikow ?
 o co chodzi bo juz zbaranialem
 z gory dzieki

Zobacz np.
http://groups.google.com/groups?as_q=compiler+cannot+create+executablesnum=100as_scoring=rbtnG=Google+Searchas_epq=as_oq=as_eq=as_ugroup=pl.%2Aas_usubject=as_uauthors=as_umsgid=lr=as_drrb=qas_qdr=as_mind=29as_minm=3as_miny=1995as_maxd=3as_maxm=7as_maxy=2001
  


-- 
Piotrek
irc: #Debian.pl



searching for old releases of debian

2001-06-26 Thread Piotr Krukowiecki
[Please CC me on replays]

Hi

On archive.debian.org the oldest release is buzz. 
I have debian 0.93r6, but only binaries for i386.
Does anybody has any older releases?


Thanks :)


-- 
Piotrek
irc: #Debian.pl



lists.debian.org/search.html nie działa poprawn ie?

2001-06-23 Thread Piotr Krukowiecki
Hej

Szukanie np.
experimental;postgresql
w debian-user zwraca 3 rezultaty.

Szukanie 
experimental;postgres.*
zwraca 0, co w.g mnie nie jest poprawne. 
Czy to ja robię coś nie tak, czy to wina systemu ?


-- 
Piotrek
irc: #Debian.pl



Re: lists.debian.org/search.html nie działa poprawn ie?

2001-06-23 Thread Piotr Krukowiecki
On Sat, 23 Jun 2001, Michal Politowski wrote:

 On Sat, 23 Jun 2001 11:28:34 +0200, Piotr Krukowiecki wrote:
  Szukanie np.
  experimental;postgresql
  w debian-user zwraca 3 rezultaty.
  
  Szukanie 
  experimental;postgres.*
  zwraca 0, co w.g mnie nie jest poprawne. 
  Czy to ja robię coś nie tak, czy to wina systemu ?
 
 Wygląda to na feature glimpse'a.
 http://lists.debian.org/glimpse.html:
Since the index is word based, a regular expression must match words that 
appear in the index for glimpse to find it.
Glimpse first strips the regular expression from all non-alphabetic 
characters, and searches the index for all remaining
words. It then applies the regular expression matching algorithm to the 
files found in the index. For example, glimpse
`abc.*xyz' will search the index for all files that contain both `abc' 
and `xyz', and then search directly for `abc.*xyz'
in those files. (If you use glimpse -w `abc.*xyz', then `abcxyz' will 
 
not be found, because glimpse will think that abc
^
and xyz need to be matches to whole words.)

Zauważ '-w' czyli 'match on complete words'. Nie wiem jak to jest
robione przy przeszukiwaniu archiwów. Jeśli nie dają '-w', to powinien 
znaleźć wyrażenie...
A jeśli dają to to jest imo błąd.


-- 
Piotrek
irc: #Debian.pl



Re: lists.debian.org/search.html nie działa poprawn ie?

2001-06-23 Thread Piotr Krukowiecki
On Sat, 23 Jun 2001, Piotr Krukowiecki wrote:

 On Sat, 23 Jun 2001, Michal Politowski wrote:
 
  On Sat, 23 Jun 2001 11:28:34 +0200, Piotr Krukowiecki wrote:
   Szukanie np.
   experimental;postgresql
   w debian-user zwraca 3 rezultaty.
   
   Szukanie 
   experimental;postgres.*
   zwraca 0, co w.g mnie nie jest poprawne. 
   Czy to ja robię coś nie tak, czy to wina systemu ?
  
  Wygląda to na feature glimpse'a.
  http://lists.debian.org/glimpse.html:
 Since the index is word based, a regular expression must match words 
  that 
 appear in the index for glimpse to find it.
 Glimpse first strips the regular expression from all non-alphabetic 
 characters, and searches the index for all remaining
 words. It then applies the regular expression matching algorithm to the 
 files found in the index. For example, glimpse
 `abc.*xyz' will search the index for all files that contain both `abc' 
 and `xyz', and then search directly for `abc.*xyz'
 in those files. (If you use glimpse -w `abc.*xyz', then `abcxyz' will 
  
 not be found, because glimpse will think that abc
 ^
 and xyz need to be matches to whole words.)
 
 Zauważ '-w' czyli 'match on complete words'. Nie wiem jak to jest
 robione przy przeszukiwaniu archiwów. Jeśli nie dają '-w', to powinien 
 znaleźć wyrażenie...
 A jeśli dają to to jest imo błąd.

Aha, pole 'partial match' mam zanaczone.


-- 
Piotrek
irc: #Debian.pl



Re: Mozilla 0.9.1 i flash

2001-06-20 Thread Piotr Krukowiecki
On Tue, 19 Jun 2001, Marcin Owsiany wrote:

 On Tue, Jun 12, 2001 at 09:10:37PM +0200, Piotr Krukowiecki wrote:
  U mnie niestety nie chce pluginu wykrywać, obojętnie czy instaluję go
  w $HOME czy ogólnie :(
 
 Jak wrzuciłem do /usr/lib/mozilla-0.9.1/plugins/ to poszło.

Nie wiem od czego to zależy, ale kilka innych osób też ma problemy:
http://www.debianhelp.org/viewtopic.php?topic=157forum=12

Chcę jeszcze sprawdzic orginalna mozille z mozilla.org i jak będzie
działać to zgłoszę buga.


 Inna sprawa, że są jaja z esd i trzeba trochę pokombinować,
 żeby się po tym w ogóle uruchomiła.

Hmm nie korzystam z esd więc nie zauważyłem problemów :)


-- 
Piotrek
irc: #Debian.pl



Mozilla 0.9.1 i flash

2001-06-12 Thread Piotr Krukowiecki
Hej

Używał już ktoś nowej mozilli 0.9.1 od Mytha lub Katame z pluginem
macromedia flash ?
U mnie niestety nie chce pluginu wykrywać, obojętnie czy instaluję go
w $HOME czy ogólnie :(
A na Redhacie chodzi, przypuszczam więc, że to albo problem z tym jednym
komputerem, albo ogólnie Debian-specyfic...

Chętnie wrócę do 0.9.0 jeśli tylko ktoś powie skąd jeszcze można
sciągnąć deby.


-- 
Piotrek
irc: #Debian.pl



Re: Mozilla dla Debian Potato.

2001-05-22 Thread Piotr Krukowiecki
On Mon, 21 May 2001, Miroslaw Sankowski wrote:

 Witam grupowiczów.
 
 Czy wiecie coś na temat dostępności pakietów .deb dla potato z Mozillą
 nowszą niż M18? Jeżeli tak, to proszę o informację.

URL:http://pluto.tuwien.ac.at/~robbe/debian/stable/mozilla/
deb http://pluto.tuwien.ac.at/~robbe/debian/stable mozilla/
deb-src http://pluto.tuwien.ac.at/~robbe/debian/stable mozilla/

-- 
Piotrek
irc: #Debian.pl



Re: ftp.pwr.wroc.pl

2001-05-11 Thread Piotr Krukowiecki
On Tue, 08 May 2001, Artur Gorniak wrote:

 On Tue, May 08, 2001 at 08:57:45AM +0200, Jakub Ambrożewicz wrote:

 netselect ftp.pwr.wroc.pl ftp.pl.debian.org

Hmm od 2 (?) dni nie moge sie tam dostac...


-- 
Piotrek
irc: #Debian.pl



Re: ftp.pwr.wroc.pl

2001-05-11 Thread Piotr Krukowiecki
On Fri, 11 May 2001, Jakub Ambrożewicz wrote:

  
  Hmm od 2 (?) dni nie moge sie tam dostac...
  
 Tam to gdzie? :-)

ftp.pwr.wroc.pl

-- 
Piotrek
irc: #Debian.pl



Re: [OT] pogoda

2001-04-27 Thread Piotr Krukowiecki
On Fri, 27 Apr 2001, Jakub Ambrozewicz wrote:

  Mam takie male pytanie - ma to byc lista o Debianie czy do pogaduch o
  pogodzie ?
  Bo jesli to drugie to ...
 
 :-)))
 Jakby to ujac, jesli na liscie nic nie ma, znaczy ze listy nie ma.
 A skoro zostala powolana to chyba dobrze ze cos sie kreci?
 Nawet jesli ma to sluzyc tylko wymianie pogladów miedzy
 polskimi uzytkownikami debiana i zaciesnianiu wiezi :-)

Ok. Jak ma byc cos o debianie to prosze :)
Chcialem zeby ktos zdebianizowal Contents*.gz, ale ze nikt sie nie
kwapil to zrobilem sam. 
http://pingu.ii.uj.edu.pl/~piotr/contents.deb.html

Ale ostrzegam ze nie wiem czy ktos poza mna je testowal :)


-- 
Piotrek
irc: #Debian.pl



Re: I have apt on RH, now i want dselect (or capt or sth. like that)

2000-10-18 Thread Piotr Krukowiecki
On Mon, 16 Oct 2000, Leen Besselink wrote:

 On Mon, 16 Oct 2000, Piotr Krukowiecki wrote:
 
  I thought it's clear. There are two computers - one in my home (debian,
  slow modem connection) and one where i study (RH, fast connection).
  Now, i can take my /var/lib/dpkg/status file, compress it (~100KB) and
  send it to RH. There i could choose what packages i want (using dselect),
  download them (apt-get -d dselect-upgrade), take them to my home and
  install. 
 
 Why don't you just use masqurading firewalling ?? First you need to have
 masquerading setup in your RH's kernel, then you add one rule to your
 ipchains, ipfwadm or iptables (depending on your RH's kernel version) and 
 add it to the startup. Then just point your gateway on your Debian machine
 at your RH machine.
 
 This seems like a lot easier way. And everytime you want the debian
 machine to use his slow connection, change the Debian's default route over
 the modem (PPP?) link.

If i understand you properly, debian machine should use RH as proxy
server ? This doesn't change anything, because there still be slow
connection from debian to RH. 


-- 
Piotrek
irc: #Debian.pl



Re: I have apt on RH, now i want dselect (or capt or sth. like that)

2000-10-16 Thread Piotr Krukowiecki
On Sat, 14 Oct 2000, kmself@ix.netcom.com wrote:

 On Sat, Oct 14, 2000 at 07:29:13PM +0200, Piotr Krukowiecki ([EMAIL 
 PROTECTED]) wrote:
  On Fri, Oct 13, 2000 at 11:07:57AM -0700, kmself@ix.netcom.com wrote:
   On Fri, Oct 13, 2000 at 01:27:40PM -0400, David Z. Maze ([EMAIL 
   PROTECTED]) wrote:
Karsten M Self kmself@ix.netcom.com writes:
KMS On Fri, Oct 13, 2000 at 05:42:41PM +0200, Piotr Krukowiecki 
([EMAIL PROTECTED]) wrote:
 PK I have installed apt on RedHat, it works ok (e.g apt-get update
 PK  apt-get -d install sth)
KMS 
KMS Using two different package management systems on a single system
KMS is a ***BAD*** idea.  You are violating the fundamental advantage
KMS of either system: single-point, centralized coordination of
KMS packages and dependencies on the system.
 
   man apt-zip?
   
   I haven't used it, but my understanding is that this is what it's for.
   You make your requests on the Debian box, then sneakernet storage from
   some other box, though I don't know what it wants on it.
  
  No, my question was different. Downloading, moving and installing is not
  a problem (i'm following /usr/share/doc/apt/offline.txt.gz).
  
  But now i'd like to have dselect, console-apt or aptitiude installed on
  RH system. I tried to install capt, but it failed (see my first mail)
  I don't know whether i need dpkg installed first or not (iirc there is
  dpkg for non-debian systems).
 
 Ok.  See my previous response quoted above.  ***WHY*** are you trying to
 install apt on a Red Hat system.  If you're planning to manage your RH
 system through apt, I strongly discourage it.

I thought it's clear. There are two computers - one in my home (debian,
slow modem connection) and one where i study (RH, fast connection).
Now, i can take my /var/lib/dpkg/status file, compress it (~100KB) and
send it to RH. There i could choose what packages i want (using dselect),
download them (apt-get -d dselect-upgrade), take them to my home and
install. 



-- 
Piotrek
irc: #Debian.pl



Re: I have apt on RH, now i want dselect (or capt or sth. like that)

2000-10-14 Thread Piotr Krukowiecki
On Fri, Oct 13, 2000 at 11:07:57AM -0700, kmself@ix.netcom.com wrote:
 On Fri, Oct 13, 2000 at 01:27:40PM -0400, David Z. Maze ([EMAIL PROTECTED]) 
 wrote:
  Karsten M Self kmself@ix.netcom.com writes:
  KMS On Fri, Oct 13, 2000 at 05:42:41PM +0200, Piotr Krukowiecki ([EMAIL 
  PROTECTED]) wrote:
   PK I have installed apt on RedHat, it works ok (e.g apt-get update
   PK  apt-get -d install sth)
  KMS 
  KMS Using two different package management systems on a single system
  KMS is a ***BAD*** idea.  You are violating the fundamental advantage
  KMS of either system: single-point, centralized coordination of
  KMS packages and dependencies on the system.
  
  It sounds like what he's actually trying to do is to install APT on a

Not trying, it works ok. :)

  machine with good connectivity, and using APT in download-only mode to 
  download packages to local disk.  He then copies the files to some
  other medium, uses SneakerNet to bring them over to his machine
  without connectivity, and installs them locally.
  
  This is all well and good and reasonable, but I don't know how to
  answer his question.  :-)
 
 man apt-zip?
 
 I haven't used it, but my understanding is that this is what it's for.
 You make your requests on the Debian box, then sneakernet storage from
 some other box, though I don't know what it wants on it.

No, my question was different. Downloading, moving and installing is not
a problem (i'm following /usr/share/doc/apt/offline.txt.gz).

But now i'd like to have dselect, console-apt or aptitiude installed on
RH system. I tried to install capt, but it failed (see my first mail)
I don't know whether i need dpkg installed first or not (iirc there is
dpkg for non-debian systems).


Thanks

-- 
Piotrek  (@ ~)
irc: #Debian.pl




I have apt on RH, now i want dselect (or capt or sth. like that)

2000-10-13 Thread Piotr Krukowiecki
Hi


I have installed apt on RedHat, it works ok (e.g apt-get update  apt-get
-d install sth)

Now i'd like to have sth. like dselect, do choose packages in dselect and
then apt-get dselect-upgrade. Do i need install dpkg first ?
I tried to compile capt, but there were some errors:

c++ -c -MD -DHAVE_CONFIG_H -D_REENTRANT -I. -Iinit -fPIC -DPIC -g -O2 -o
func/apt.o func/apt.cc
In file included from func/apt.cc:5:
init/std.h:22: apt-pkg/configuration.h: No such file or directory
[many other missing files]
In file included from func/apt.cc:8:
interface/acquire_status.h:13: apt-pkg/acquire.h: No such file or
directory
In file included from /usr/include/g++-2/std/bastring.h:36,
 from /usr/include/g++-2/string:6,
 from interface/wrappers.h:5,
 from interface/dialogs.h:5,
 from func/apt.cc:9:
/usr/include/g++-2/std/straits.h:84: macro `move' used with too many
(3) args

and more...


TIA

-- 
Piotrek
irc: #Debian.pl



Re: apt on non-debian system

2000-10-09 Thread Piotr Krukowiecki
On Fri, 06 Oct 2000, Jason Gunthorpe wrote:

 
 On Fri, 6 Oct 2000, Piotr Krukowiecki wrote:
 
  I'd like to install apt on RH. I don't want to install deb's on RH.
  I want only use it as it reads in /usr/share/doc/apt/offline.txt (apt-get
  update  apt-get -d dist-upgrade with state file from other, debian
  system)
  
  So, is it possibile ?
 
 Sure, just grab the source and do:
 
 make startup

I had to modify Makefile and exculde comiling docs, but it's
probably local problem, not with source. 

 make
 cd build/bin
 export LD_LIBRARY_PATH=`pwd`
 ./apt-get 
 
 You'll need to use the configuration options that offline.txt indicates so
 that you can use a custom sources.list that is not in /etc/apt/.

And i have to change some other things like Dir::Bin::methods and other,
but i think it will work. Now it's breaking on:

E: Could not open file /var/cache/apt/srcpkgcache.bin - open (2 No such
file or
directory)
E: Could not open file /var/cache/apt/pkgcache.bin - open (2 No such file
or directory)
E: The package lists or status file could not be parsed or opened.

Do i need *.cache.bin files too ?


Thx


-- 
Piotrek
irc: #Debian.pl



apt on non-debian system

2000-10-06 Thread Piotr Krukowiecki
Hi

I'd like to install apt on RH. I don't want to install deb's on RH.
I want only use it as it reads in /usr/share/doc/apt/offline.txt (apt-get
update  apt-get -d dist-upgrade with state file from other, debian
system)

So, is it possibile ?


-- 
Peter
irc: #Debian.pl



Re: pppd changes permission to /dev/ttyS1 (my modem)

2000-09-09 Thread Piotr Krukowiecki
On Fri, 08 Sep 2000, John Hasler wrote:

 Piotrek writes:
  So say how it should be, but don't say me how i should do it.
 
 When you ask for free help on a mailing list or newsgroup you get the
 answers people see fit to give you.  Statements such as this just might
 result in someone who could answer your questions deciding to ignore you

You're right.
If i didn't wrote my mail at 1 am, i think i would use other words.
I read his mail once more and it looks different than yesterday
(or rather todays night)
But let me quote:

 Debian has to be built for people who *do* care, so advice that
 compromises security is not to be welcomed here

For me it says sth like this:
Debian is only for users who care about security, so if you don't, we
don't want you here.

I hope others don't think like that.
This irritated me, which influenced on the tone of my post.


-- 
Piotrek
irc: #Debian.pl
GPG fingerprint: 13ED DF91 6DF9 A440 2D78  F657 3579 2D3D DDBD DEFD
GPG public key : http://pingu.ii.uj.edu.pl/~piotr/public.asc



Re: pppd changes permission to /dev/ttyS1 (my modem)

2000-09-08 Thread Piotr Krukowiecki
On Fri, 08 Sep 2000, David Wright wrote:

 Quoting Piotr Krukowiecki ([EMAIL PROTECTED]):
  On Mon, 04 Sep 2000, David Wright wrote:
  
   Quoting Mario Olimpio de Menezes ([EMAIL PROTECTED]):
On Mon, 4 Sep 2000, Piotr Krukowiecki wrote:
 
 pppd removes g+w from /dev/ttyS1 after it is started. So next time I 
 have
 to be root to use my modem (and to connect to internet). How to make 
 pppd
 stop removing it ? 


better: add users that need to use modem to dialout group; 
# adduser user dialout
   
   Wrong. That would allow all those users to snoop on each other's
   ppp connections, since they get read-access to the modem port.
  
  I'm the only user - it's my home computer so I don't care.
  
   The correct group is dip.
  
  Wrong again ;)
  At least with wvdial.
 
 Fair enough. Next time I'll read your mind. This time, I'll just
 point out that you didn't mention wvdial in your posting.

That's true. I just thought it was only pppd fault (that it
changes permission)

  With pon/poff it's all ok. i don't have to
  be in group dialout nor have g+w permission on /dev/ttyS1. If
  /dev/ttyS1 is g+w while starting pppd, pppd removes it and puts
  back on exit.
  But if i use wvdial, /dev/ttyS1 has to be group writable:
  
  SeLeR:/home/piotr# l /dev/ttyS1
  crw-r-1 root dialout4,  65 wrz  5 22:41 /dev/ttyS1
  [EMAIL PROTECTED]:~/download/5$ wvdial
  -- WvDial: Internet dialer version 1.41
  -- Cannot open /dev/ttyS1: Permission denied
 
 Well that appears to be broken behaviour. Why should your being
 entitled to run wvdial for PPP mean that you should have write-access 
 to all the serial ports?

One more thing:

[EMAIL PROTECTED]:~$ wvdial
-- Can't read config file /etc/wvdial.conf: Permission denied

[EMAIL PROTECTED]:~$ l /etc/wvdial.conf
-rw-r-1 root dialout   174 sie 20 22:18 /etc/wvdial.conf

So you have to be in dialout group to use wvdial.

  If it has g+w, wvdial is working ok. It connects to my IP and then
  starts pppd, and pppd removes +w. But I think it's not ending pppd
  properly. This is from syslog:
  
  pppd started by pon and ended by poff:
  Sep  5 23:00:24 SeLeR pppd[938]: Terminating on signal 15.
 ^
  Sep  5 23:00:24 SeLeR pppd[938]: sent [LCP TermReq id=0x2 User request]
  Sep  5 23:00:25 SeLeR pppd[938]: Script /etc/ppp/ip-up finished (pid 940),
  stat$Sep  5 23:00:25 SeLeR pppd[938]: Script /etc/ppp/ip-down started (pid
  970)
  Sep  5 23:00:26 SeLeR pppd[938]: Script /etc/ppp/ip-down finished (pid
  970), st$Sep  5 23:00:27 SeLeR pppd[938]: sent [LCP TermReq id=0x3 User
  request]
  Sep  5 23:00:30 SeLeR pppd[938]: sent [LCP TermReq id=0x4 User request]
  Sep  5 23:00:33 SeLeR pppd[938]: sent [LCP TermReq id=0x5 User request]
  Sep  5 23:00:36 SeLeR pppd[938]: sent [LCP TermReq id=0x6 User request]
  Sep  5 23:00:39 SeLeR pppd[938]: Hangup (SIGHUP)
  Sep  5 23:00:39 SeLeR pppd[938]: Modem hangup
  Sep  5 23:00:39 SeLeR pppd[938]: Connection terminated.
  Sep  5 23:00:39 SeLeR pppd[938]: Connect time 0.1 minutes.
  Sep  5 23:00:39 SeLeR pppd[938]: Sent 97 bytes, received 76 bytes.
  Sep  5 23:00:40 SeLeR pppd[938]: Exit.
  
  pppd started by wvdial (and ended by ^c as said in README for wvdial):
  Sep  5 23:05:41 SeLeR pppd[994]: Terminating on signal 15.
  
  And wvdial shows sth. like this:
  Caught signal #2!  Attempting to exit gracefully...
  -- Disconnecting at Tue Sep  5 23:05:43 2000
  
  So is it bug in wvdial or in pppd ?
  wvdial has bug (#33590) - there is mentioned my problem but the bug 
  is in resolved (maybe it's because the main problem in #33590 was 
  different) 
 
 Well, that may depend on how wvdial stops pppd. Killing pppd with
 SIGTERM seems to restore the port permission, whereas there are/have
 been bugs in pppd where exiting in some other manner (e.g. PAP
 failure) has not restored them. If wvdial used -SIGKILL for example,
 it would be difficult for pppd to do anything about it.

This is from todays connection with wvdial:

Sep  9 00:26:30 SeLeR pppd[1630]: Terminating on signal 15.
  ^
Sep  9 00:26:30 SeLeR pppd[1630]: Script /etc/ppp/ip-down started (pid
1651)
Sep  9 00:26:30 SeLeR pppd[1630]: sent [LCP TermReq id=0x2 User request]
Sep  9 00:26:30 SeLeR pppd[1630]: Script /etc/ppp/ip-down finished (pid
1651), status = 0x0

As you see (it was in previous mail too, but without debug option on)
pppd is in both cases ended with SIGTERM, but with wvdial pppd ends in
different way. I don't know why.

 A workaround may be a sudo'd script that checks whether pppd is running
 and restores the permission if it isn't.
 
 I'd be very unhappy if pppd didn't g-w the serial port it uses. Oh, and
 BTW, Debian has to be built for people who *do* care, 

Why's that? Is Debian meant only for servers ?.
Besides, I said I'm the only user. I don't have to pay such attention

Re: pppd changes permission to /dev/ttyS1 (my modem)

2000-09-05 Thread Piotr Krukowiecki
On Mon, 04 Sep 2000, David Wright wrote:

 Quoting Mario Olimpio de Menezes ([EMAIL PROTECTED]):
  On Mon, 4 Sep 2000, Piotr Krukowiecki wrote:
   
   pppd removes g+w from /dev/ttyS1 after it is started. So next time I have
   to be root to use my modem (and to connect to internet). How to make pppd
   stop removing it ? 
  
  
  better: add users that need to use modem to dialout group; 
  # adduser user dialout
 
 Wrong. That would allow all those users to snoop on each other's
 ppp connections, since they get read-access to the modem port.

I'm the only user - it's my home computer so I don't care.

 The correct group is dip.

Wrong again ;)
At least with wvdial. With pon/poff it's all ok. i don't have to
be in group dialout nor have g+w permission on /dev/ttyS1. If
/dev/ttyS1 is g+w while starting pppd, pppd removes it and puts
back on exit.
But if i use wvdial, /dev/ttyS1 has to be group writable:

SeLeR:/home/piotr# l /dev/ttyS1
crw-r-1 root dialout4,  65 wrz  5 22:41 /dev/ttyS1
[EMAIL PROTECTED]:~/download/5$ wvdial
-- WvDial: Internet dialer version 1.41
-- Cannot open /dev/ttyS1: Permission denied

If it has g+w, wvdial is working ok. It connects to my IP and then
starts pppd, and pppd removes +w. But I think it's not ending pppd
properly. This is from syslog:

pppd started by pon and ended by poff:
Sep  5 23:00:24 SeLeR pppd[938]: Terminating on signal 15.
Sep  5 23:00:24 SeLeR pppd[938]: sent [LCP TermReq id=0x2 User request]
Sep  5 23:00:25 SeLeR pppd[938]: Script /etc/ppp/ip-up finished (pid 940),
stat$Sep  5 23:00:25 SeLeR pppd[938]: Script /etc/ppp/ip-down started (pid
970)
Sep  5 23:00:26 SeLeR pppd[938]: Script /etc/ppp/ip-down finished (pid
970), st$Sep  5 23:00:27 SeLeR pppd[938]: sent [LCP TermReq id=0x3 User
request]
Sep  5 23:00:30 SeLeR pppd[938]: sent [LCP TermReq id=0x4 User request]
Sep  5 23:00:33 SeLeR pppd[938]: sent [LCP TermReq id=0x5 User request]
Sep  5 23:00:36 SeLeR pppd[938]: sent [LCP TermReq id=0x6 User request]
Sep  5 23:00:39 SeLeR pppd[938]: Hangup (SIGHUP)
Sep  5 23:00:39 SeLeR pppd[938]: Modem hangup
Sep  5 23:00:39 SeLeR pppd[938]: Connection terminated.
Sep  5 23:00:39 SeLeR pppd[938]: Connect time 0.1 minutes.
Sep  5 23:00:39 SeLeR pppd[938]: Sent 97 bytes, received 76 bytes.
Sep  5 23:00:40 SeLeR pppd[938]: Exit.

pppd started by wvdial (and ended by ^c as said in README for wvdial):
Sep  5 23:05:41 SeLeR pppd[994]: Terminating on signal 15.

And wvdial shows sth. like this:
Caught signal #2!  Attempting to exit gracefully...
-- Disconnecting at Tue Sep  5 23:05:43 2000

So is it bug in wvdial or in pppd ?
wvdial has bug (#33590) - there is mentioned my problem but the bug 
is in resolved (maybe it's because the main problem in #33590 was 
different) 


PS. Don't CC me. I got everything twice.

-- 
Peter
irc: #Debian.pl



pppd changes permission to /dev/ttyS1 (my modem)

2000-09-04 Thread Piotr Krukowiecki
Hi

pppd removes g+w from /dev/ttyS1 after it is started. So next time I have
to be root to use my modem (and to connect to internet). How to make pppd
stop removing it ? 
 


-- 
Peter
irc: #Debian.pl



Re: Man -K

2000-08-04 Thread Piotr Krukowiecki
On Thu, 03 Aug 2000, John Hasler wrote:

 Piotr Krukowiecki writes:
  But they don't. And you can't describe man which has 100 pages or more in
  one line.
 
 Of course you.  More importantly, you can put the keywords that people are
 most likely to search for in that one line.  The man foramt really ought to
  ^^^

But no all words. And maybe I remeber one fancy word from that man, what
then ? You include all words from manpage in description? ;)

 include a 'keywords' line, though.


-- 
Peter
irc: #Debian.pl



Re: Man -K

2000-08-03 Thread Piotr Krukowiecki
On 2 Aug 2000, John Hasler wrote:

 Andrew Sullivan writes:
  I thought the original poster was talking about a _full body_ search of the
  man pages.  Do RH and SuSE really do that?  Certainly, apropos doesn't --
  it searches the description (at least on my system).
 
 Which would be fine if people would write proper descriptions.

But they don't. And you can't describe man which has 100 pages or more in
one line.

I checked rpm from TurboLinux (man-1.5g-5.i386.rpm).
From it's man page:

-K Search for the specified string in *all* man pages.
  Warning:  this  is  probably very slow! It helps to
  specify a section.  (Just to give a rough idea,  on
  my  machine  this  takes about a minute per 500 man
  pages.)

I want to know why debian don't use that version of man.


-- 
Peter
irc: #Debian.pl



Re: Man -K

2000-08-03 Thread Piotr Krukowiecki
On Thu, 3 Aug 2000, Fabrizio Polacco wrote:

 On Wed, Aug 02, 2000 at 01:54:42PM +0200, [EMAIL PROTECTED] wrote:
  On Wed, 2 Aug 2000, Piotr Krukowiecki wrote:
  
   I wonder why debian have man without -K option (searching
   through body of manpage, not only title), unlike RH or Suse
   
 
 RedHat uses a different program.

Yes, I know. TurboLinux uses it too (debian uses man provided by man-db)

 But Suse uses the same man as Debian.
 Are you sure that Suse has the -L option? (I don't know how to get the
 hands on a suse machine).

No, I'm not. I had Suse and RedHat and I remember that at least one of
them had that option. 

But the question is why debian have chosen that version of man ?


-- 
Peter
irc: #Debian.pl




Man -K

2000-08-02 Thread Piotr Krukowiecki
Hi

I wonder why debian have man without -K option (searching
through body of manpage, not only title), unlike RH or Suse


P.S. sorry for my poor English

-- 
Peter
irc: #Debian.pl