Re: Pytanie o licencję non-free

2022-03-10 Thread Raf Czlonka
On Thu, Mar 10, 2022 at 12:29:41PM GMT, wiew...@wp.eu wrote:
> Witam, czy możecie mi podpowiedzieć w sprawie instalacji pakietu
>  snmp-mibs-downloader - na podstawie poniższego artykułu,
> widzę, że jest non-free. Pytanie: czy w szkole państwowej
> na moich serwerach mogę ściągnąć ten pakiet i legalnie go
> użytkować? Potrzebne jest mi to do mrtg+oid... stackoverflow.com
> https://stackoverflow.com/questions/64774552/installing-snmp-mibs-down
> loader-on-debian-10-buster Robert

Cześć Robert,

Jeśli tylko bedziesz przestrzegał licencji to tak.

$ curl -s 
https://salsa.debian.org/debian/snmp-mibs-downloader/-/raw/master/debian/copyright
 | grep ^License
License: Tcl-Tk
License: ISOC-MIB-non-free
License: IETF-MIB-BSD

Przeczytaj cały ten plik, szczególnie jeśli chodzi
o tą środkową licencję.

Pozdrawiam,

Rafał



Re: debian10/11 ssh from ipv6 address not in /etc/hosts.allow = sshd segfault segfault

2021-08-19 Thread raf
On Thu, Aug 19, 2021 at 04:25:34PM +, Andy Smith  
wrote:

> Hello,
> 
> On Tue, Aug 17, 2021 at 11:17:05AM +1000, raf wrote:
> > I just noticed many many sshd segfaults listed in
> > /var/log/kern.log. There are two versions. They look
> > like this:
> > 
> >   sshd[1086]: segfault at 7fff615eaec8 ip
> >   7ff2a586f42f sp 7fff615eaed0 error 6 in
> >   libwrap.so.0.7.6[7ff2a586e000+5000]
> > 
> >   sshd[1094]: segfault at 7ffcd3ff6f08 ip
> >   7f18d4f5dac7 sp 7ffcd3ff6ed0 error 6 in
> >   libc-2.31.so[7f18d4f2a000+14b000]
> 
> I think you should report this as a bug against openssh source
> package and see if you get any assistance. As the segfaults happen
> inside libwrap and libc it could end up being a bug in either of
> those instead, or in how sshd uses them, but let's see.
>
> Using "reportbug openssh-server" is probably the easiest.

> Cheers,
> Andy

Thanks. I did that already. I just posted it to the list as well
in case it helped others while waiting for a fix.

cheers,
raf



Re: apparmors extra profiles.

2021-08-19 Thread raf
On Wed, Aug 18, 2021 at 10:32:11PM +0300, Georgios  
wrote:

> Hi!
> Im trying to install debian 11 on virtual machine manager in order to
> prepare my self for moving my laptop to debian 11.
> 
> Default install leaves unconfined a lot of apps so I tried to install
> extra profiles.
> According to documentation it supposed to install extra profiles at
> /usr/share/apparmor/extra-profiles/
> but there is no apparmor folder. only apparmor-features.
> 
> I would like to ask if anyone knows where apparmor-profiles-extra
> install its profiles?
> 
> Thanks in advance
> George

Strangely, it's the apparmor-profiles package that includes
/usr/share/apparmor/extra-profiles:

  > dpkg-query -L apparmor-profiles
  [...]
  /usr/share/apparmor/extra-profiles
  /usr/share/apparmor/extra-profiles/README
  /usr/share/apparmor/extra-profiles/bin.netstat
  /usr/share/apparmor/extra-profiles/etc.cron.daily.logrotate
  [...]

The apparmor-profiles-extra package only contains:

  > dpkg-query -L apparmor-profiles-extra
  /etc
  /etc/apparmor.d
  /etc/apparmor.d/abstractions
  /etc/apparmor.d/abstractions/gstreamer
  /etc/apparmor.d/abstractions/totem
  /etc/apparmor.d/local
  /etc/apparmor.d/usr.bin.irssi
  /etc/apparmor.d/usr.bin.pidgin
  /etc/apparmor.d/usr.bin.totem
  /etc/apparmor.d/usr.bin.totem-previewers
  /etc/apparmor.d/usr.sbin.apt-cacher-ng
  /usr
  /usr/share
  /usr/share/doc
  /usr/share/doc/apparmor-profiles-extra
  /usr/share/doc/apparmor-profiles-extra/README.Debian
  /usr/share/doc/apparmor-profiles-extra/changelog.gz
  /usr/share/doc/apparmor-profiles-extra/copyright

So you probably haven't installed the apparmor-profiles package.

  apt install apparmor-profiles

Check what apparmor packages you have with:

  dpkg-query -l | grep apparmor

And compare it with what is available:

  apt-cache search apparmor

And install any you think you'd like.

cheers,
raf



debian10/11 ssh from ipv6 address not in /etc/hosts.allow = sshd segfault segfault

2021-08-16 Thread raf
Hi,

I just noticed many many sshd segfaults listed in
/var/log/kern.log. There are two versions. They look
like this:

  sshd[1086]: segfault at 7fff615eaec8 ip
  7ff2a586f42f sp 7fff615eaed0 error 6 in
  libwrap.so.0.7.6[7ff2a586e000+5000]

  sshd[1094]: segfault at 7ffcd3ff6f08 ip
  7f18d4f5dac7 sp 7ffcd3ff6ed0 error 6 in
  libc-2.31.so[7f18d4f2a000+14b000]

The hex addresses are different each time, but the rest
is the same.

It happens every time there's an incoming ssh
connection attempt via IPv6 when the IPv6 address isn't
listed in /ertc/hosts.allow. There are many because
it's a cronned backup.

I am using /etc/hosts.allow for sshd and have a mixture
of IPv4 and IPv6 addresses in it.

When I added the IPv6 address in question to
/etc/hosts.allow, the segfaults stopped and the
connections worked.

This started 2 days before I upgraded to debian11 and
there was a different version number for libc (so it's
not new), but it's still happening with debian11.

It might be a bug in libwrap0 (whose version number
didn't change much), or in how openssh-server is using
it.

cheers,
raf



WARNING: debian11 + bind-9.16.15 + dnssec-policy in options{} = crashes

2021-08-15 Thread raf
Hi,

If like me, you've been eagerly awaiting debian11 to
get bind-9.16.15, which finally lets you implement
DNSSEC extremely easily on debian stable, I have a
warning.

Bind has a dnssec-policy {} stanza for defining your
own policy if you're feeling adventurous, but there's
also a default policy. And there's a dnssec-policy
usage directive to specify which dnssec-policy should
be applied to zones.

Bind's documentation says that the dnssec-policy usage
directive can either appear in the options {} stanza,
so as to apply to all zones, or it can appear in
individual zone {} stanzas.

My advice is:

  DO NOT PUT DNSSEC-POLICY IN THE OPTIONS {} STANZA.
  ONLY PUT DNSSEC-POLICY IN THE ZONE {} STANZAS.

I put it in the options {} stanza, not realising that
"all zones" doesn't just mean all of *my* authoritative
zones. It really means ALL zones. That means every zone
/etc/bind/named.conf.local (i.e. my zones), as well as
every zone in /etc/bind/named.conf.default-zones i.e.:

  localhost
  127.in-addr.arpa
  0.in-addr.arpa
  255.in-addr.arpa

And, if you uncomment the include "/etc/bind/zones.rfc1918"
in /etc/bind/named.conf.local, then it also means all of
those zones as well:

  16.172.in-addr.arpa
  17.172.in-addr.arpa
  ...
  31.172.in-addr.arpa
  168.192.in-addr.arpa

What happens next is that bind tries and fails to
create .jnl files in /etc/bind for these zones.
Apparmor or the directory permissions prevents it.
This sort of thing appears in the logs:

  general: error: /etc/bind/db.empty.jnl: create: permission denied
  general: error: /etc/bind/db.255.jnl: create: permission denied

Then bind gets an assertion failure and exits:

  general: notice: all zones loaded
  general: notice: running
  general: critical: rbtdb.c:6780: REQUIRE(((rbtnode->nsec == DNS_RBT_NSEC_NSEC3
&& (rdataset->type == ((dns_rdatatype_t)dns_rdatatype_nsec3) || 
rdataset->covers
== ((dns_rdatatype_t)dns_rdatatype_nsec3))) || (rbtnode->nsec != 
DNS_RBT_NSEC_NSEC3
&& rdataset->type != ((dns_rdatatype_t)dns_rdatatype_nsec3) && 
rdataset->covers
!= ((dns_rdatatype_t)dns_rdatatype_nsec3 failed, back trace
  general: critical: #0 0x558ce49ffeed in ??
  general: critical: #1 0x7fd079be6d9a in ??
  general: critical: #2 0x7fd079d7f73c in ??
  general: critical: #3 0x7fd079e45680 in ??
  general: critical: #4 0x7fd079c1b720 in ??
  general: critical: #5 0x7fd079c20f52 in ??
  general: critical: #6 0x7fd07995cea7 in ??
  general: critical: #7 0x7fd079590def in ??
  general: critical: exiting (due to assertion failure)

This repeats again and again until you work out what
happened, clean everything up, remove the dnssec-policy
from the options {} stanza, and restart bind.

And, unless I went temporarily insane, it even managed
somehow to overwrite my source zonefiles with signed
versions, and I had to restore them from backup. When
it works properly, it puts the signed versions in
separate files.

However, if you put the dnssec-policy usage directive in the
zone {} stanzas instead, it's absolutely brilliant.

So, go nuts. DNSSEC all the zones!
Well, not *ALL* the zones.
You know what I mean. :-)

cheers,
raf



Re: debian11 early - apt-get update - At least one invalid signature [OK NOW] was encountered

2021-08-15 Thread raf
On Sun, Aug 15, 2021 at 06:47:34PM +1000, raf  wrote:

> On Sun, Aug 15, 2021 at 08:24:13AM +0200, john doe  
> wrote:
> 
> > The below assumes that 'sources.list' is set only for bullseye
> > 
> > Some hints more than an answer:
> > - Try to remove the gpg keys in '/etc/apt' directory.
> > - Try to remove the Debian apt-keyring pkg ('$ apt-get --autoremove
> > purge  > 
> > $ apt-get update && apt-get full-upgrade
> > 
> > P.S.
> > 
> > I would first try the first step and see how it goes
> > 
> > --
> > John Doe

It's working now on the original VM. Someone else reported
that keys have finally made it to a German mirror, solving
a similar problem for them. I guess I was having the same
A problem with the Australian mirror. But maybe that's just
a guess. The keys aren't actually new. But it sounds like
something to do with something taking a while to propagate
to mirrors.

cheers,
raf



Re: debian11 early - apt-get update - At least one invalid signature was encountered

2021-08-15 Thread raf
On Sun, Aug 15, 2021 at 08:24:13AM +0200, john doe  
wrote:

> The below assumes that 'sources.list' is set only for bullseye
> 
> Some hints more than an answer:
> - Try to remove the gpg keys in '/etc/apt' directory.
> - Try to remove the Debian apt-keyring pkg ('$ apt-get --autoremove
> purge  
> $ apt-get update && apt-get full-upgrade
> 
> P.S.
> 
> I would first try the first step and see how it goes
> 
> --
> John Doe

Thanks, but removing keys from /etc/apt/trusted.gpg.d
didn't help. There is no apt-keyring package. And I
couldn't bring myself to uninstall the
debian-archive-keyring package because I assumed that
would make it impossible to ever install anything ever
again. There was an old debian-keyring package that I
removed. But nothing helped.

Never mind. On another VM with the same sized disk, an
upgrade of a fresh debian-10 install got past that
point happily, but then ran out of disk when it got to
the kernel. So it probably wouldn't have worked anyway
(but 1GB spare should have been enough). Another VM
with double the disk upgraded fine.

And the important VM that matters upgraded fine as
well. So it's OK now.

Although bind9 crashed in a heap and dumped core and
couldn't run, as soon as I got it to DNSSEC-sign all my
zones. I wasn't expecting bind9 to crash immediately on
debian stable!

And it overwrote my carefully crafted and documented
zonefiles. I wasn't expecting that either (having read
all the documentation on the subject).

But that's a discussion for a different mailing list,
unless someone here knows what the crashing is about
(bind9-9.16.15 + DNSSEC = firetrucks and sirens). :-)

I hope I won't have to wait too long for bind9-9.16.19.

cheers,
raf



debian11 early - apt-get update - At least one invalid signature was encountered

2021-08-14 Thread raf
 was encountered.
  W: An error occurred during the signature verification. The repository is not 
updated and the previous index files will be used. GPG error: 
http://ftp.au.debian.org/debian bullseye InRelease: At least one invalid 
signature was encountered.
  W: An error occurred during the signature verification. The repository is not 
updated and the previous index files will be used. GPG error: 
http://ftp.au.debian.org/debian bullseye-updates InRelease: At least one 
invalid signature was encountered.
  W: Failed to fetch http://ftp.au.debian.org/debian/dists/bullseye/InRelease  
At least one invalid signature was encountered.
  W: Failed to fetch 
http://security.debian.org/debian-security/dists/bullseye-security/InRelease  
At least one invalid signature was encountered.
  W: Failed to fetch 
http://ftp.au.debian.org/debian/dists/bullseye-updates/InRelease  At least one 
invalid signature was encountered.
  W: Some index files failed to download. They have been ignored, or old ones 
used instead.

Changing security.debian.org to ftp.au.debian.org added this:

  Err:3 http://ftp.au.debian.org/debian-security bullseye-security Release
404  Not Found [IP: 150.203.164.37 80]

Changing http to https (for ftp.au.debian.org) gives TLS certificate errors:

  Could not handshake: Error in the certificate verification

Changing ftp.au.debian.org to deb.debian.org still had the signature errors.

Here's what I think the preferred sources.list should be:

  deb https://deb.debian.org/debian/ bullseye main contrib non-free
  deb-src https://deb.debian.org/debian/ bullseye main contrib non-free
  deb https://deb.debian.org/debian-security bullseye-security main contrib 
non-free
  deb-src https://deb.debian.org/debian-security bullseye-security main contrib 
non-free
  deb https://deb.debian.org/debian/ bullseye-updates main contrib non-free
  deb-src https://deb.debian.org/debian/ bullseye-updates main contrib non-free

(but I want to keep using ftp.au.debian.org if I can)

But the apt update output is still bad:

  Get:1 https://deb.debian.org/debian bullseye InRelease [113 kB]
  Err:1 https://deb.debian.org/debian bullseye InRelease
At least one invalid signature was encountered.
  Get:2 https://deb.debian.org/debian-security bullseye-security InRelease 
[44.1 kB]
  Err:2 https://deb.debian.org/debian-security bullseye-security InRelease
At least one invalid signature was encountered.
  Get:3 https://deb.debian.org/debian bullseye-updates InRelease [40.1 kB]
  Err:3 https://deb.debian.org/debian bullseye-updates InRelease
At least one invalid signature was encountered.
  Reading package lists... Done
  W: GPG error: https://deb.debian.org/debian bullseye InRelease: At least one 
invalid signature was encountered.
  E: The repository 'https://deb.debian.org/debian bullseye InRelease' is not 
signed.
  N: Updating from such a repository can't be done securely, and is therefore 
disabled by default.
  N: See apt-secure(8) manpage for repository creation and user configuration 
details.
  W: GPG error: https://deb.debian.org/debian-security bullseye-security 
InRelease: At least one invalid signature was encountered.
  E: The repository 'https://deb.debian.org/debian-security bullseye-security 
InRelease' is not signed.
  N: Updating from such a repository can't be done securely, and is therefore 
disabled by default.
  N: See apt-secure(8) manpage for repository creation and user configuration 
details.
  W: GPG error: https://deb.debian.org/debian bullseye-updates InRelease: At 
least one invalid signature was encountered.
  E: The repository 'https://deb.debian.org/debian bullseye-updates InRelease' 
is not signed.
  N: Updating from such a repository can't be done securely, and is therefore 
disabled by default.
  N: See apt-secure(8) manpage for repository creation and user configuration 
details.

I just noticed that the bullseye items in sources.list
had "contrib non-free" which the buster details didn't
include. I removed them and tried again but it didn't
help.

This is a pure debian stable system.

apt-forktracer reported nothing when I started.
Now it reports 1682 packages.

The time on the VM is correct.

The VM disk isn't full (86% used, 950MB free).

Any idea what I can do to fix this?

Thanks for your time,
raf



Re: Debian ports

2016-08-13 Thread Raf Czlonka
On Fri, Aug 12, 2016 at 08:57:50AM BST, Bogdan wrote:
> Dear Sirs,

Witam,

Językiem używanym na tej liście jest język polski[0] - zakładam,
że mówisz po polsku.

> I have only one question, such a request for advice.
> I would like to buy terminal
> http://www.ebay.pl/itm/Thin-Client-Fujitsu-FUTRO-S550-2-1-0GHz-AMD-Sempron-1GR-1GF-stand-power-supply-/191730720785
> 
> 
> And I have a question about the port selection to Debian install.
> Which adaptation should I install?
> In my opinion, after hearing the descriptions,
> I would choose to install amd64.

Tak, AMD Sempron 200U[1] obsługuje instrukcje AMD64.

Na przyszłość radzę wysyłać linki do "Źródła"[2], a nie do aukcji
internetowych :^)

Pozdrawiam,

Rafał

[0] https://lists.debian.org/debian-user-polish/
[1] https://www.amd.com/Documents/45626B_Sempron_BGA_brief.pdf
[2] https://sp.ts.fujitsu.com/dmsp/Publications/public/ds-FUTRO-S550-2.pdf



Re: rozdzielczość konsoli

2016-04-13 Thread Raf Czlonka
On Wed, Apr 13, 2016 at 06:38:51PM BST, pawel wrote:
> Witam;

Cześć,

> Hubert Lautenszleger-2 wrote
> > Rozumiem, że zabieg w stylu dopisania w grub.cfg parametru
> > vga=0x312 nie przyniósł rezultatu?
> > 
> > W linii rozpoczynającej się od:
> > linux /boot/vmlinuz-3.16.0-4-686-pae (coś tam) vga=0x312
> 
> Nie przyniósł bo go nie stosowałem gdyż:
> 1) w nagłówku pliku /boot/grub/grub.cfg znalazłem info "DO NOT EDIT THIS
> FILE" itd...
> 2) w poradach do tematu, jakie znalazłem (8-letnich i starszych) zajmowano
> się plikiem /etc/default/grub, w którym nie ma śladu po liniach typu "linux
> /boot/vmlinuz..." itd.

Jak najbardziej /etc/default/grub, a linijki odpowiadające powyższemu to:

GRUB_CMDLINE_LINUX="vga=786"

lub

GRUB_CMDLINE_LINUX_DEFAULT="vga=786"

W zależności od tego czy chcesz tej opcji użyć również dla "rescue".

A tak w ogóle, to opcja "vga=" jest "przestarzała" (deprecated) i, zamiast niej,
powinieneś użyć:

GRUB_GFXMODE=640x480

W zależniści od tego czy Twój system używa KMS, musisz dodać "nomodeset"
do którejś z opcji powyższych GRUB_CMDLINE_LINUX*.

> Teraz nie mogę wypróbować porady Kolegi - dostęp do tematowego komputera
> będę miał dopiero w poniedziałek :( Ale się odezwę (jeśli się nie uda to na
> pewno ;P )

Pozdrawiam,

Rafał



Re: Files and directories showing in CLI but not in GUI

2012-05-13 Thread Raf Czlonka
On Sun, May 13, 2012 at 01:42:05AM BST, Marc Shapiro wrote:
 As I mentioned above and in the listed previous threads, this was a
 new install, but the home partition that is acting strangely s from a
 previous install.

That sounds simply like a permissions issue.
To rule it our mound the filesystem rw and change the permissions
on files and directories to 666 and 777 respectively (start with the
full patch as the GUI file manager might need to have access to read
those all the way from / up.

Cheers,
-- 
rjc


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120513100948.ga22...@linuxstuff.pl



Re: Błąd programu 'diffuse' czy u mnie w systemie?

2012-04-23 Thread Raf Czlonka
On Sun, Apr 22, 2012 at 07:18:02PM BST, populus tremula wrote:
 Cześć 



 Nie wiem czemu program diffuse u mnie się uruchamia w angielskiej 
 wersji językowej. Pomimo że w /usr/share/locale/pl/LC_MESSAGES/diffutils.mo
 jest polskie tłumaczenie programu.

Pomyliłeś programy, diffuse jest osobnym programem napisanym
w Pythonie, diffutils natomiast to pakiet zawierający narzędzia
takie jak diff czy cmp.

 Może ktoś wie czy to jest błąd 'diffuse',że się uruchamia w 
 angielskiej wersji czy u mnie w systemie?

Nie ma żadnego błędu, wszystko jest w porządku.

Pozdrawiam,
-- 
Raf


-- 
To UNSUBSCRIBE, email to debian-user-polish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120423062752.ga23...@linuxstuff.pl



Re: blad podczas instalacji debian 6.0.3

2012-04-16 Thread Raf Czlonka
On Mon, Apr 16, 2012 at 06:57:08PM BST, pawlinkag wrote:
 Witam,

Witam,

 dzisiaj chcialem sobie zainstalowac debian 6.0.3. Uruchomilem instalator i 
 wszystko przebiegalo dobrze do momentu zidentyfikowania przez instalator 
 urzadzen sieciowych.

Próbowałeś najnowszą wersję (6.0.4)?

 W tym momencie komputer zastygl w bezruchu a zielona dioda na karcie 
 sieciowej informujaca o polaczeniu przestala swiecic . Dodam, iz mam obiecnie 
 debiana 5.0.6 i tego typu blad (niemozliowsc wykrycia karty sieciowej) 
 zdarzyl mi sie po raz pierwszy.

Na pierwszy rzut oka wygląda to na kartę która wymaga niewolnego
firmware'u. Zapisz firmware na USB i załaduj podczas instalacji.

 Instalacji probowalem przy podlaczeniu kabla sieciowego do wbudowanej w plyte 
 karty sieciowej jak i przy uzyciu oddzielnej karty sieciowej.
 Prosze o jakies sugestie

Czy masz możliwość wyłączenia karty sieciowej w BIOSie, a jeśli tak to
czy to zrobiłeś przed próbą instalacji z oddzielnej?

A może to coś innego? Nie wiem, moja magiczna kula słabo dziś działa.
-- 
Raf


-- 
To UNSUBSCRIBE, email to debian-user-polish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120416232158.ga26...@linuxstuff.pl



Re: Logrotate - compress dla nie wszystkich rotowanych logów.

2012-03-21 Thread Raf Czlonka
On Wed, Mar 21, 2012 at 11:23:20AM GMT, Rafał Radecki wrote:
 Cześć.

Witam,

 Chciałbym by compress miał miejsce nie dla wszystkich plików rotowanych,
 np. maillog.0 , maillog.1, maillog.2 lecz np. od maillog.2 wzwyż.
 Kojarzycie jak osiągnąć taki efekt? W przypadku mailloga wolę mieć pod ręką
 np. 3 logi nieskompresowane i ewentualnie starsze rozpakowywać.

Z tego co mi wiadomo to jedynym wyjsciem jest oskryptowanie tego.

$ man 8 logrotate

compresscmd

Zamiast gzip lub compress podaj sciezke do skryptu.

delaycompress zrobi to dla plikow ktorych nie moze zamknac od razu, a
nocompress wylaczy kompresje w ogole.

Pozdrawiam,
-- 
Raf


-- 
To UNSUBSCRIBE, email to debian-user-polish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120321115533.ga13...@linuxstuff.pl



Re: Dvorak Keyboards.

2012-01-07 Thread Raf Czlonka
On Sat, Jan 07, 2012 at 10:52:53AM GMT, Camaleón wrote:
 I'm sure memorizing the keys or using a blank keyboard is an easy task 
 for professional typists :-)

I disagree, you don't have to be a professional typist to memorise the
keys on your keyboard. As long as you use a keyboard daily there's
nothing stopping you. First step, without which you'll never succeed, is
learning how to touch type. After you're comfortable with that switch to
a blank keyboard, it will be awkward at first but you'll get used to it.
You don't have to be a master touch typist, as long as you know how the
keys relate to each other you can figure it out. Practice and it'll
eventually come naturally.

 Anyway, I first thought the user was looking for a confortable dvorak 
 keyboard device and the answer is the same regardless the layout. I agree 
 with your suggestion of Cherry keyboards, I'm using a GD80-3000 (gold 
 contact keys) and won't replace it for any other but I don't know if 
 Cherry produces Dvorak keyboards :-?

Also using Cherry both at work and home.
Not sure but what you can do is to get Model M, Cherry or Das Keyboard,
re-arrange the keys and change the keyboard layout.

Regards,
-- 
Raf


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120107112631.gb19...@linuxstuff.pl



Re: Is there a separate Debian PowerPC list?

2012-01-06 Thread Raf Czlonka
On Fri, Jan 06, 2012 at 09:29:06AM GMT, Jeff Gordon wrote:
 Hi, Folks --
 
 Along with my normal 'work' computer, I've also installed Debian on my old
 iBook laptop (PowerPC) where some different problems apply.  Is there a
 separate list for Debian on PowerPC or is this the one for that?  (I checked
 the listing of mail lists at Debian, didn't see a separate one there.)

Amongst other platforms I'm running Debian on PowerPC - iBook G4 is my
main machine.
What sort of problems are you experiencing?

Regards,
-- 
Raf


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120106112025.ga23...@linuxstuff.pl



Re: Dvorak Keyboards.

2012-01-06 Thread Raf Czlonka
On Fri, Jan 06, 2012 at 05:39:03PM GMT, Weaver wrote:
 Hello all.
 I've been interested in this subject for some time, because of the greater
 typing speed potential and lowr incidence of RSI and have even delayed
 moving from two finger typing with an idea of implementing a Dvorak
 keyboard into the system.
 
 Who makes the best ones?
 Where can they be bought from.

Dvorak is a keyboard layout not a physical device.
You can buy a keyboard with a Dvorak layout by default but it might this
doesn't make sense if you're using more than one layout or you can buy
a blank keyboard - without anything printed on it.
What's wrong with simply using the existing keyboard with Dvorak layout?

Regards,
-- 
Raf


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120106182234.ga25...@linuxstuff.pl



Re: Dvorak Keyboards.

2012-01-06 Thread Raf Czlonka
On Fri, Jan 06, 2012 at 06:32:06PM GMT, Lisi wrote:
 On Friday 06 January 2012 18:22:35 Raf Czlonka wrote:
  What's wrong with simply using the existing keyboard with Dvorak layout?
 
 Because you wouldn't know where the letters are?  I think that Weaver means a 
 physical keyboard, not the choice of layout in your OS.

I guess I wasn't clear enough. This should have been:
What's wrong with simply re-arrange the keys on your existing keyboard
and changing the layout at the same time (I'm aware it won't be 100%)?
This way one can try it out without spending money and changing their
mind. Later it's time to start learning to touch type.

Regards,
-- 
Raf


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120106184422.ga29...@linuxstuff.pl



Re: Dvorak Keyboards.

2012-01-06 Thread Raf Czlonka
On Fri, Jan 06, 2012 at 06:37:16PM GMT, Camaleón wrote:
 That using a printed keyboard with a different layout (other than the one 
 printed) is a completely mess unless you can memory the full keymap in 
 your head and type without looking at the keyboard.

That's why I suggested a blank as it won't confuse you or swap the keys.
It's not really that hard to memorise the full keyboard layout and learn
to touch type.

Regards,
-- 
Raf


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120106185139.gb29...@linuxstuff.pl



Re: Dvorak Keyboards.

2012-01-06 Thread Raf Czlonka
On Fri, Jan 06, 2012 at 07:37:21PM GMT, Lisi wrote:
 On Friday 06 January 2012 18:44:22 Raf Czlonka wrote:
  What's wrong with simply re-arrange the keys on your existing keyboard
 
 How do you do that?  I know that there used to be IBM keyboards on which you 
 could rearrange the keys, but I do not know of any modern equivalent.

On laptops or cheap PS2/USB keyboards it's might be tricky.
Model M keyboards as these are the ones you referring to, originally made
by IBM, are still widely available either from your local second hand
computer shop or from eBay or you can still buy them new from Unicomp.

Cherry makes nice keyboards (the MX ones) or you can buy Das Keyboard
(available blank as well as printed) which AFAIK is based on Cherry.

Regards,
-- 
Raf


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120106200756.ga30...@linuxstuff.pl



Re: ~/.profile

2012-01-01 Thread Raf Czlonka
On Sun, Jan 01, 2012 at 09:30:55PM GMT, peasth...@shaw.ca wrote:
  ... executed with /bin/sh which is not bash by default.  
 
 Understood; but why does the installer put these and no .dashrc?
 
 peter@joule:~$ ls ~/.*ash*
 /home/peter/.bash_history  /home/peter/.bash_logout  /home/peter/.bashrc

1. You confused two things - system $SHELL (sh or /bin/sh) and user login
shell are not the same thing.
2. By default, user login shell is /bin/bash.
3. When new user account is being created by the installer, files are
being copied from /etc/skel to new user's $HOME.
4. root has /bin/sh as its $SHELL

Every time you create an account using high-level adduser utility
/bin/bash is being suggested, when using low-level useradd utility
however /bin/sh is the default.

Hope this sheds some light.

Regards,
-- 
Raf


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120101225105.ga8...@linuxstuff.pl



Re: ~/.profile

2012-01-01 Thread Raf Czlonka
On Sun, Jan 01, 2012 at 11:25:31PM GMT, Andrei Popescu wrote:
 On Du, 01 ian 12, 22:51:05, Raf Czlonka wrote:
  4. root has /bin/sh as its $SHELL
 
 Nope
 
 $ grep root /etc/passwd
 root:x:0:0:root:/root:/bin/bash

True, I've changed both to /bin/zsh some time ago on my Debian systems
and must have confused it with Solaris' root $SHELL - /sbin/sh.

Thanks for correcting me.
-- 
Raf


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120102003548.ga16...@linuxstuff.pl



Re: [OT] - Akcja z koszulkami - reaktywacja :)

2011-12-30 Thread Raf Czlonka
On Thu, Dec 29, 2011 at 05:51:19PM GMT, Michał Prokopiuk wrote:
 Hej.

Cześć Michał!

 Może słowo wstępu. Co starsi czytelnicy listy będę mnie pamietali
 jako założyciela pierwszego sklepu linuksowymi gadżetami
 linuxstuff.pl - a całość zaczęła się od pomysłu wykutego na
 debian-user-polish :).

Któż nie pamięta!? ;^)

 Jako, że ludzie mnie pytają czy nie dało by się powtórzyć akcji z
 hurtowym zakupem koszulek, pytanie do Was  - bylibyście
 zainteresowani taką akcją? Ostatnio zamawiałem koszulki do siebie do
 firmy, okazało się, że w hafciarni mają jeszcze wzory, odpadłby więc
 koszt przygotowania. W sumie za 20 za za porządną koszulkę (fruit of
 the loom) + ok 3 - 5 zł za logo + przesyłka można mieć fajną rzecz w
 dobrej jakości z haftowanym logotypem.

Ja wciaż mam i używam moich - tylko prace domowe niestety bo są dość
sprane. Widzę że fenio i ja mięliśmy ten sam problem ;^)

Tak czy inaczej byłbym zainteresowany 1-2, ale wszystko zależy
od ceny przesyłki i systemu płatności - nie mieszkam w Polsce.

 Żeby w ogóle na mnie spojrzeli musiałoby się zebrać minimum 20 - 30
 szt. Dajcie znać co o tym sądzicie. Wzorów było kilka, jeżeli będzie
 odzew gdzieś je wystawię, zeby każdy mógł coś dla siebie wybrać.

W takim razie czekam na wzory.

Pozdrawiam,
-- 
Rafał


-- 
To UNSUBSCRIBE, email to debian-user-polish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20111230113501.ga2...@linuxstuff.pl



Re: which is the best command to use

2011-12-27 Thread Raf Czlonka
On Tue, Dec 27, 2011 at 01:19:20PM GMT, Andrei Popescu wrote:
 To answer the question in your subject I think the correct command to 
 use is 'man' :)

Well put, sir! +1 ;^)

Regards,
-- 
Raf


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20111227140350.gb32...@linuxstuff.pl



Re: which is the best command to use

2011-12-27 Thread Raf Czlonka
On Tue, Dec 27, 2011 at 12:57:55PM GMT, lina wrote:
 Hi,
 
 I have two questions, wish to get advice,
 
 Question 1:
 
 For a series of files:
 
 cat  a_*.o* | grep WARNING

It's one of the useless uses of cat[0].

Use:

% grep WARNING a_*.o*

instead.

 some file like a_1.o12 has WARNING, but others does not have WARNING
 
 How can I let grep returns the filename?

% man grep

-l, --files-with-matches
Suppress normal output; instead print the name of each input file
from which output would normally have been printed. The scanning
will stop on the first match. (-l is specified by POSIX.)

 Question 2:
 
 ls . | xargs -i -t cp ./{} {}.bak
 
 How does xargs work,
 
 I checked google, :

Maybe it's time to start checking man instead ;^)

% man xargs

 -i : replace the string

--replace[=replace-str]
-i[replace-str]
This option is a synonym for -Ireplace-str if replace-str is
specified, and for -I{} otherwise.
This option is deprecated; use -I instead.

 -t print

--verbose
-t
Print the command line on the standard error output before
executing it.

 but still lack well understanding,

it's quite self explanatory ;^)

 how those xargs organise things,
 
 and
 $ ls .
 a.txt b.txt
 
 above will give a.txt.bak b.txt.bak
 ls | xargs -i cp ./{} {basename {}.bak}
 definitely not work,

How about:

% ls | xargs -I '{}' cp '{}' '{}'.bak

BTW, if you're only after copying the files with .bak appended to the
copied file name, this should suffice.

for i in `ls` ; do cp $i $i.bak ; done

There are other ways to do it as well.

 Sorry I send it to debian list, I asked on another bash list, for
 two days the second question, no one replied. I have much more faith
 in this list.

Good to hear that, but maybe you should start to reading more and
test a bit yourself before you write an email. It'll definitely be less
than two days to find a solution and sometimes it'll take less time to
find it in the manual than to write an email.

I appreciate the fact that you're a beginner but your problems are
NOT Debian-specific and ARE trivial to resolve so maybe it's time
to learn how to look for solutions yourself rather than others holding
your hand all the time, eh? ;^)

[0] http://partmaps.org/era/unix/award.html

All the best.
-- 
Raf


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/2011122714.ga32...@linuxstuff.pl



Re: No cdrom device

2011-12-23 Thread Raf Czlonka
On Fri, Dec 23, 2011 at 05:18:47PM GMT, Ed Jabbour wrote:
 CDROM tray will not respond to eject:
 
 [Fri Dec 23] edj:~$ eject
 eject: tried to use `/media/cdrom0' as device name but it is no block device
 eject: tried to use `/dev/scd0' as device name but it is no block device
 eject: unable to find or open device for: `cdrom'
 =

Which device is you optical drive?

 Perhaps related, dmesg reveals:
 ==
 6.720030] ata1: link is slow to respond, please be patient (ready=0)
 [   11.704028] ata1: device not ready (errno=-16), forcing hardreset
 [   16.900028] ata1: link is slow to respond, please be patient (ready=0)
 [   21.716029] ata1: SRST failed (errno=-16)
 [   26.912027] ata1: link is slow to respond, please be patient (ready=0)
 [   31.728027] ata1: SRST failed (errno=-16)
 [   36.924030] ata1: link is slow to respond, please be patient (ready=0)
 [   66.772029] ata1: SRST failed (errno=-16)
 [   71.800028] ata1: SRST failed (errno=-16)
 [   71.811047] ata1: reset failed, giving up
 [   71.811185] ata2: port disabled--ignoring
 =

Might be related, see below.

 modprobe cdrom sr_mod:
 ==
 FATAL: Error inserting cdrom (/lib/modules/3.1.0-1-686-
 pae/kernel/drivers/cdrom/cdrom.ko): Unknown symbol in module, or unknown 
 parameter (see dmesg)

You're trying to load two modules (cdrom and sr_mod) and modprobe treats
the second one as a parameter to the first one.
You should load modules one by one.

 728.919036] cdrom: Unknown parameter `sr_mod'

Which part of the above message is not clear? ;^)

 Nor will the tray open manually, except that it does if on reboot, I push the 
 button before GRUB takes over.   Running testing with the 3.1.0-1-686-pae  
 kernel, although the problem persists no matter which kernel I boot into.
 
 Any advice, pointers, etc. appreciated.

The above dmesg messages might point to faulty drive or cable.
Does the optical drive work at all, e.g. under another OS?

Regards,
-- 
Raf


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20111223174823.ga18...@linuxstuff.pl



Re: Ownership of external usb hard drive

2011-12-22 Thread Raf Czlonka
On Thu, Dec 22, 2011 at 10:35:34AM GMT, Sharon Kimble wrote:
 I've just tried to create a folder on the external h/d which failed.
 This is the error report;-
 ~~~
  mkdir /media/8eef3b99-c17b-4913-ae61-d34c7fd5d459/test
 mkdir: cannot create directory
 `/media/8eef3b99-c17b-4913-ae61-d34c7fd5d459/test': Permission denied
 
 
 Any ideas for a solution please?

1. What filesystem is it?
2. How do you mount it, using which utility?
3. Do you use /etc/fstab entry and if so what is it?
4. After mounting your drive do ls -la /media.

-- 
Raf


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20111222105226.ga19...@linuxstuff.pl



Re: Ownership of external usb hard drive

2011-12-22 Thread Raf Czlonka
On Thu, Dec 22, 2011 at 01:50:57AM GMT, Ashton Fagg wrote:
 On 22/12/11 11:39, Sharon Kimble wrote:
 As the drive is owned by root should it be run as sudo?
 
 Yes, or as root (su -c 'chown blah blah').

What's the point of running su as root?
Your example will only change user blah permissions for blah
file/directory. Example above is better as it changes the permissions
recursively and group ones as well.

Regards,
-- 
Raf


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20111222105520.gb19...@linuxstuff.pl



Re: Ownership of external usb hard drive

2011-12-22 Thread Raf Czlonka
On Thu, Dec 22, 2011 at 11:03:29AM GMT, Ashton Fagg wrote:
 On 22/12/11 20:55, Raf Czlonka wrote:
 On Thu, Dec 22, 2011 at 01:50:57AM GMT, Ashton Fagg wrote:
 On 22/12/11 11:39, Sharon Kimble wrote:
 As the drive is owned by root should it be run as sudo?
 
 Yes, or as root (su -c 'chown blah blah').
 
 What's the point of running su as root?
 
 My wording wasn't clear, apparently. I didn't mean run su whilst
 as root, I meant use su to run it as root as an alternative to
 sudo. Does that make more sense? :)

It makes more sense now, indeed :^)

 Your example will only change user blah permissions for blah
 file/directory. Example above is better as it changes the permissions
 recursively and group ones as well.
 
 By chown blah blah I actually meant insert the command from the
 previous reply. I thought that would be obvious...
 
 Apparently my internet communication skills are way off today, apologies.

No worries. One of those days, eh? ;^)

Regards,
-- 
Raf


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20111222111940.ga20...@linuxstuff.pl



Re: cron and MAILTO

2011-12-19 Thread Raf Czlonka
On Mon, Dec 19, 2011 at 05:32:44AM GMT, T o n g wrote:
 Let me explain with an example. 
 
 Say I have a file under /etc/cron.d/ with the following entry:
 
 42 4 1 * * user1 echo This command is run 4:42 am every 1st of the month
 01 * 19 07 * user2 echo This command is run hourly on the 19th of July
 
 Usually, when the jobs do get fired up, each user receives the 
 corresponding message in their email. 
 
 Now, if I put 'MAILTO=user3' at the top of the file, what will happen? 

It would've been quicker if you had tested it yourself or RTFM.

% man 5 crontab

 In  addition  to LOGNAME, HOME, and SHELL, cron(8) will look at MAILTO
 if it has any reason to send mail as a result of running commands in
 ``this'' crontab.
 If MAILTO is defined (and non-empty), mail is sent to the user so
 named. MAILTO may also be used to direct mail to multiple recipients
 by separating recipient users with a comma. If MAILTO is defined but
 empty (MAILTO=), no mail will be sent. Otherwise mail is sent to
 the owner of the crontab.

Regards,
-- 
Raf


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20111219090918.ga31...@linuxstuff.pl



Re: cron and MAILTO

2011-12-19 Thread Raf Czlonka
On Mon, Dec 19, 2011 at 03:34:27PM GMT, T o n g wrote:
 On Mon, 19 Dec 2011 09:09:19 +, Raf Czlonka wrote:
 
  % man 5 crontab
 
 I guess I assumed someone would be thoughtful enough to find out in OP 
 that I said I know it works for crontab.

File in /etc/cron.d ARE crontabs and the man page concerns them,
/etc/crontab and user crontabs.

  It would've been quicker if you had tested it yourself or RTFM.
 
 Who says I didn't test myself? 

Why did you ask the question below then?
Clearly you hadn't RTFM.
Had you done so, you wouldn't have send the email to the list.

 BTW, 
 
  Now, if I put 'MAILTO=user3' at the top of the file, what will happen?
 
 JFTA, cron messages all went to user3.

Exactly as the manual, which I quoted, said it would.

Regards,
-- 
Raf


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20111219232328.ga13...@linuxstuff.pl



Re: hosts.deny didn't block ip

2011-12-15 Thread Raf Czlonka
On Thu, Dec 15, 2011 at 09:56:48AM GMT, perlj...@gmail.com wrote:
 After a manual entry in  /etc/hosts.deny
 
 ip didn't blocked
 
 ALL: 151.12.xxx.xxx
 
 I wonder why?

What do you mean by didn't get blocked?
Using what service/port?
Does your service support tcp_wrappers?

 I use denyhosts for automatic entries

I use it too and it works just fine.

Regards,
-- 
Raf


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20111215114035.ga24...@linuxstuff.pl



Re: how to build a debian package from .run file

2011-12-10 Thread Raf Czlonka
On Sat, Dec 10, 2011 at 06:45:29AM GMT, lina wrote:
 Can someone provides some links/tutorials about how to build a debian
 package from a .run file.

There's no such thing as a .run file - it's a non-standard extension used
(sometimes) by companies to redistribute proprietary (non-free) software.
It's usually a shell script with embedded archive/binary blob.

 On debian, I tried the
 
 ./filename.run --buildpkg Debian/sid

Let me guess: ATI driver? It would've been easier if you had just said
that. ;^)

 it popped up lots of errors.

Try checkinstall.

Regards,
-- 
Raf


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20111210090656.ga16...@linuxstuff.pl



Re: how to check which files was installed by which package

2011-12-10 Thread Raf Czlonka
On Sat, Dec 10, 2011 at 08:41:30AM GMT, lina wrote:
 such as for file in
 
 /usr/lib/xorg/modules/drivers,
 
 how do I know which .so file installed by which package?

apt-file

-- 
Raf


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20111210090731.gb16...@linuxstuff.pl



Re: Launch default application from file in command line.

2011-12-05 Thread Raf Czlonka
On Mon, Dec 05, 2011 at 02:55:03PM GMT, Andreas Rönnquist wrote:
 For a non-gnome-specific alternative, take a look at xdg-open.

Or if you're using a shell which sucks less ;^) - ZSH[0].
You can simply use:

% alias -s pdf=mupdf,zathura,etc.

and then:

% file.pdf

[0] http://www.zsh.org/

Regards,
-- 
Raf


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20111205151739.ga1...@linuxstuff.pl



Re: gksu: Couldn't set environment variable...

2011-11-26 Thread Raf Czlonka
On Fri, Nov 25, 2011 at 11:14:20PM GMT, Bob Proulx wrote:
 Sthu Deus wrote:
  I can not run two applications w/ gksu:
  
  chromium and
  qbittorrent
 
 Why do you want to run those applications as root?  You should not do
 this.  Neither of those applications are designed for being run as
 root.  Those should be run as a normal non-root user.

Sthu hadn't mentioned even once that he tries to run those as root.

Nevertheless, in principle, I do agree with Bob here - IMHO, running
standard software as root is a bit silly, to say the least.
What I disagree with is the statement that they hadn't been designed
to run as root. Root, UID 0, a special kind of user it might be, is
still a user and can/should be able to run *any* program. The question
why would anyone do that is a different matter altogether.

However, only two programs causing the problem when run using gksu is
most peculiar and indeed shouldn't be ignored.

Regards,
-- 
Raf


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/2026124852.ga7...@linuxstuff.pl



Re: To escape saving double commands in shell command history.

2011-11-24 Thread Raf Czlonka
On Thu, Nov 24, 2011 at 05:54:27AM GMT, Sthu Deus wrote:
 Good time of the day.

G'day.

 I try to escaping saving double commands in shell command history.

The subject is somewhat confusing - escaping in regards to shell usually
means something else :^)

 env shows among other things:
 
 SHELL=/bin/bash

If bash is your login shell this is redundant.

 HISTCONTROL=ignoreboth

Have you put the second line into your .bashrc file?

 as I understand, it should be enough to cease saving the already
 had commands - but it is not so - the commands are saved still. What
 can be wrong or should be specified more?

This is enough as it is a shorthand for ignoredups and ingorespace so
you must be doing something wrong here ;^)

Regards,
-- 
Raf


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/2024084119.ga21...@linuxstuff.pl



Re: To escape saving double commands in shell command history.

2011-11-24 Thread Raf Czlonka
On Thu, Nov 24, 2011 at 10:01:00AM GMT, Sthu Deus wrote:
 Thank You for Your time and answer, Raf:
 
  I try to escaping saving double commands in shell command history.
 
 The subject is somewhat confusing - escaping in regards to shell
 usually means something else :^)
 
 Ahh. Seems alright to me. :o)

Then look for escape bash shell (or similar) on the net ;^)

  HISTCONTROL=ignoreboth
 
 Have you put the second line into your .bashrc file?

My bad, it should have been .bash_profile.

 I made it through
 
 .bash_login
 
 file this way:
 
 export HISTCONTROL=ignoreboth
 
 and it has other lines behind, therefore, yes. AFAIK if env shows the
 desired variable set as wanted, then, syntax does not matter - it is
 on already. 

.bash_login is read only for login shells if .bash_profile doesn't
exist.

Regards,
-- 
Raf


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/2024123126.ga...@linuxstuff.pl



Re: Need help with Latex error; Sorry LONG

2011-11-22 Thread Raf Czlonka
On Tue, Nov 22, 2011 at 03:29:35AM GMT, John W. Foster wrote:
   See LaTeXMLFyOem3/ltxmlimg.log
 ^^

 Since this is a straight forward setup from debian stable, I'm wondering why 
 latex can not find the file it needs. Is this a bug, maybe?

Have you had a look in there?

-- 
Raf


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/2022112845.ga10...@linuxstuff.pl



Re: Configuration #1 chosen from 4 choices ???

2011-11-22 Thread Raf Czlonka
On Mon, Nov 21, 2011 at 10:57:47PM GMT, Thomas H. George wrote:
 I have never been able to mount my ipod as a block device.  When
 connected to a usb port the message configuration #1 chosen from 4
 choices appears.  What are the other three choices?  Are they of any
 use?

Which version of iPod touch do you have?
After you plug the iPod in, please run these:

% lsusb # you might need -v to get more information about the iPod
% dmesg | tail -20
% ls -l /media/ipod
% id
% ipod-read-sysinfo-extended device|uuid|bus device /media/ipod

 ifuse /media/ipod reports:
   usbmuxd_get_device_list: error opening socket
   no device found
   is it connected?

Is usbmuxd running?

 gnome knows the ipod is connected but thinks its a camera.  The
 usual DCIM folder is recognized and from its subdirectories I can
 retrieve all the photos on the ipod.

In that case it does mount it and if so where or is it simply PTP?

 Must the ipod be jailbroken or is there another option?

No, unless you'd like to access the root filesystem.

Regards,
-- 
Raf


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/2022132401.ga11...@linuxstuff.pl



Re: why does apt-mirror's service always running even after scheduled

2011-11-15 Thread Raf Czlonka
On Tue, Nov 15, 2011 at 03:53:53AM GMT, Umarzuki Mochlis wrote:
 Hi,
 
 On Squeeze AMD64, apt-mirror seems to always run even after configured with
 below config in crontab
 
 # crontab -l

apt-mirror comes with it's own cron entry - no need to set your own.

 # m h  dom mon dow   command
 * 0-7 * * * /root/sync-mirror
 * 0-12 * * 6,0 /root/sync-mirror

Why did you set it up to run every hour? Once a day is enough.

 tcp0  0 10.0.0.125:4227491.189.92.170:80
 ESTABLISHED 8370/wget

This is canonical.com IP address so the problem might be there.

 the mirror server constantly use around 500 Mbps of bandwidth although this
 is a local mirror hosted in my work place where only 3 debian and ubuntu
 users including me.

Hard to tell without seeing your /etc/apt/mirror.list but I'd start with
running it manually first and see what's happening.

Regards,
-- 
Raf


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/2015104422.ga16...@linuxstuff.pl



Re: Debian Lenny support?

2011-11-15 Thread Raf Czlonka
On Wed, Nov 16, 2011 at 06:31:06AM GMT, Brent Clark wrote:
 Hiya
 
 Does anyone know when support for Debian Lenny will come to an end?
 Has there  been notice on Debian Announce?

Support for old-stable usually ends a year after the now stable has been
released (Feb 2011) so it'll probably be around Feb 2012.
The information regarding previous old-stable releases' support can be
found on Debian web pages.

Regards,
-- 
Raf


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/2016075435.ga29...@linuxstuff.pl



Re: Suspending script.

2011-11-10 Thread Raf Czlonka
On Thu, Nov 10, 2011 at 06:44:30AM GMT, Sthu Deus wrote:
 It was the permission problem - I did not set it to be executable. Now
 it seems to work.
 
 Thanks, Raf, again, for the point.

No worries mate. Most problems are usually easy to fix.
However, sometimes you need someone else to ask the right questions.

Regards,
-- 
Raf


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/2010101204.ga1...@linuxstuff.pl



Re: OT: Just a simple query

2011-11-10 Thread Raf Czlonka
On Wed, Nov 09, 2011 at 11:12:01PM GMT, Ismael Scalcon wrote:
 To clarify things up (ok, a bit off topic):
 
 Red Hat Linux is a commercial distro, but what they sell is the supporte

To clarify things, Red Hat Linux _was_ a distro available as a free
download with or without commercial support.
What you are talking about is Red Hat _Enterprise_ Linux.

Regards,
-- 
Raf


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/2010101252.ga1...@linuxstuff.pl



Re: OT: Just a simple query

2011-11-10 Thread Raf Czlonka
On Thu, Nov 10, 2011 at 12:29:03PM GMT, Tom H wrote:
 On Thu, Nov 10, 2011 at 5:12 AM, Raf Czlonka r...@linuxstuff.pl wrote:
  On Wed, Nov 09, 2011 at 11:12:01PM GMT, Ismael Scalcon wrote:
 
  To clarify things up (ok, a bit off topic):
 
  Red Hat Linux is a commercial distro, but what they sell is the supporte
 
  To clarify things, Red Hat Linux _was_ a distro available as a free
  download with or without commercial support.
 
  What you are talking about is Red Hat _Enterprise_ Linux.
 
 Very true; _was_ is the correct tense. But I was talking about RHL,
 the distribution that RH published before moving to a RHEL/Fedora
 model.

I know you were talking about RHL, I was replying to Ismael.

 You can't get RHEL for free, even the self-support option has a yearly 
 cost...

Yes, I'm aware of that. Rule of thumb: if it's free it's not RHEL.
If free is what you're after: CentoOS, Fedora, etc.
Hint: registered trademarks.

Regards,
-- 
Raf


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/2010132440.ga2...@linuxstuff.pl



Re: /etc/default/keyboard XKBOPTIONS not read by X

2011-11-09 Thread Raf Czlonka
On Wed, Nov 09, 2011 at 12:50:57AM GMT, Bob Proulx wrote:
 Dan B. wrote:
  I tried swapping the left Control key and Caps Lock key by modifying
  the XKBOPTIONS value in /etc/default/keyboard, per instructions that
  said it would take effect for both the virtual consoles and X.

I presume you've restarted restarted udev or rebooted since then?

% udevadm trigger --subsystem-match=input --action=change

Can we see the content of your file (without the comments), please?
Could you also point us to the instructions you've used as well, please?

Regards,
-- 
Raf


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/2009125942.ga16...@linuxstuff.pl



Re: Suspending script.

2011-11-09 Thread Raf Czlonka
On Wed, Nov 09, 2011 at 06:41:37AM GMT, Sthu Deus wrote:
 w/ the following content:

I assume that the script has got the shebang?

#!/bin/sh

 # /etc/pm/sleep.d/50osus
 [...]

 Now, after suspending/resuming I see that nothing was done: after
 resuming top shows me the same data about the process as it was before
 suspending.
 
 What can be wrong? Any suggestions, please.

What if happens you run it manually?

Regards,
-- 
Raf


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/2009173642.ga16...@linuxstuff.pl



Re: How to install broadcom BCM4312 on debian

2011-11-03 Thread Raf Czlonka
On Thu, Nov 03, 2011 at 01:50:50PM GMT, John Caveman wrote:
 Please if possible write me all the steps I need to follow in order to get
 my network driver up and running. Thanks!

% aptitude install firmware-b43-lpphy-installer b43-fwcutter

Regards,
-- 
Raf


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/2003141315.ga24...@linuxstuff.pl



Re: Package/program popularity weblist.

2011-11-02 Thread Raf Czlonka
On Wed, Nov 02, 2011 at 04:46:42AM GMT, Sthu Deus wrote:
 Good time of the day.

Any time of the day is good ;^)

 I'm looking for a Debian package/program user popularity rating list on
 the WWW. Can You share one w/ me/us?

Look at popularity-contest package.

Regards,
-- 
Raf


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/2002075342.ga27...@linuxstuff.pl



Re: required ip package for debian

2011-11-02 Thread Raf Czlonka
On Wed, Nov 02, 2011 at 12:50:22PM GMT, Darac Marjal wrote:
 On Wed, Nov 02, 2011 at 04:46:04PM +0530, Muhammad Fahad wrote:
 Hello 
  How to install ip package for debian, apt-get install is not working 
 kindly help me to download the ip package for debian 
 
 If you are looking for the /bin/ip program, the package you want is
 called iproute.
 
 You may find it useful to also install apt-file. You can then run
 apt-file update to update its database followed by apt-file search
 ip to list which packages have a file containing ip in its name.

I advise against apt-file search ip as it will show every single
package with ip in file's full path.

This is what you need to do to install the package which provides the
file in question:

% aptitude install `apt-file -l -x search \^/bin/ip\$`

Regards,
-- 
Raf


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/2002200650.ga7...@linuxstuff.pl



Re: how to boot debian installer iso directly from grub2 ?

2011-10-31 Thread Raf Czlonka
On Mon, Oct 31, 2011 at 07:32:43AM GMT, J. Bakshi wrote:
 How can I directly boot debian net installer iso directly from
 grub2 ?

You haven't even looked, have you? ;^)

http://michael-prokop.at/blog/2009/05/25/boot-an-iso-via-grub2/

-- 
Raf


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20111031084707.ga7...@linuxstuff.pl



Re: how to boot debian installer iso directly from grub2 ?

2011-10-31 Thread Raf Czlonka
On Mon, Oct 31, 2011 at 09:57:15AM GMT, J. Bakshi wrote:
 On Mon, 31 Oct 2011 08:47:08 +
 Raf Czlonka r...@linuxstuff.pl wrote:
  On Mon, Oct 31, 2011 at 07:32:43AM GMT, J. Bakshi wrote:
   How can I directly boot debian net installer iso directly from
   grub2 ?
  
  You haven't even looked, have you? ;^)
  
  http://michael-prokop.at/blog/2009/05/25/boot-an-iso-via-grub2/
  
 
 Yes read, but the things is not that smooth with debian.
 [...]
 and I really don't need the cdrom detection where as I'm booting from USB.
 Hence I asked the question..

I wish you had mentioned all that in your question in the first
place[0].

[0] http://catb.org/~esr/faqs/smart-questions.html#beprecise

Regards,
-- 
Raf


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20111031102838.gb8...@linuxstuff.pl



Re: Sharing files on a local network

2011-10-29 Thread Raf Czlonka
On Fri, Oct 28, 2011 at 08:39:58PM BST, Camaleón wrote:
  If it's not available through easy install system, e.g APT, then yes. 
 
 Only Windows system lacks for a ssh client on a default install and this 
 can be easily solved with one of the mentioned programs that don't 
 require even installation at all because they're portable.

I was writing it with Windows in mind indeed.

 Solaris and Linux both have good ssh clients available from the usual 
 repositories.

I'm well aware of that, thank you.

  If it doesn't play nicely with the system, then yes. There's no explorer
  extension to work with SFTP - that's enough for me.
 
 Shell integration on the window client is not a powerful argument for 
 dropping the easier and securest solution, IMO :-)

Most secure - yes. Easiest - no - for this very reason.
Let me give you an example - you have a server with you film and music
collection, and you chose to share it using SSH. Windows users will have
to copy files to their local machines each time they'd like to listen to
music or watch a film. Not to mention a document which needs editing -
copy from server to local machine, edit and upload it again.
No direct access for Windows users is enough of a pain for me not to
choose it for home, heterogeneous network. Another thing is encryption.
Why would you need it on every file you access at home-only network?

  Again, for access - yes; not for sharing.
 
 The line between sharing and accessing is very thin. For instance, I have 
 a samba share to which I access from my Debian boxes (meaning the samba 
 share is not mounted locally but accessed via smb:// protocol). That's 
 enough for me because I get/put files on the share sporadically.

We're coming from different points of view.
My preference over one NFS for unix only machines using one system mount
over per user mounts comes indeed from enterprise where users' files are
located on a server and accessed frequently. I still use that kind of
setup at home for unix-only machines as I don't like to authenticate
every time I need to access a file.
I also use SSHFS (unix-only) accessing files over the Internet, and CIFS
(unix, Windows) at home as it's better suited for that.

Regards,
-- 
Raf


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20111029092117.ga15...@linuxstuff.pl



Re: laptop wireless setup, wpa_supplicant.conf, driver ipw not supported? CLI only

2011-10-29 Thread Raf Czlonka
On Fri, Oct 28, 2011 at 06:22:00PM BST, Brian wrote:
  You don't, for simple setup that is indeed enough.
  If you have several wireless networks you can keep your interfaces file
  tidy and organised, not to mention that roaming mode won't work without
  wpa_supplicant.conf file.
 
 Yes, I'd agree with that; it gives a very flexible and powerful
 configuration, especially if wpagui is also used. However, if one has
 been stumbling along there is something to be said for walking before
 running.

Keeping things in one place is a good practice IMHO.
Security is another - /etc/network/interfaces is world readable by
default. Better keep settings like passphrase or PSK in one, root
readable file.

  I also recommend actual PSK rather than passphrase.
 
 I'm unsure of the advantage this brings as an ASCII passphrase is
 converted to a 64 hex string internally anyway. A disadvantage is passing
 an incomprehensible PSK on to someone to allow a connection to a network.

Main advantage - you're not keeping your passphrase in clear text on your
filesystem.
PSK is precomputed from a passphrase for a specific SSID and passphrase
cannot be quantified from it.
There's no disadvantage as you can still use the passphrase, there's no
need to pass the long PSK.

Regards,
-- 
Raf


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20111029103737.ga15...@linuxstuff.pl



Re: Software Raid, recovery after drive broke

2011-10-29 Thread Raf Czlonka
On Sat, Oct 29, 2011 at 01:45:43PM BST, Tom H wrote:
 On Fri, Oct 28, 2011 at 2:28 PM, Raf Czlonka r...@linuxstuff.pl wrote:
  On Fri, Oct 28, 2011 at 06:50:05PM BST, Tom H wrote:
  Given your posts, you're clearly confused...
 
  Would you care to elaborate?
 
 No.

Please refrain from posts claiming that someone's confused if you can't
point out what makes you think that.

Regards,
-- 
Raf


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20111029174741.ga17...@linuxstuff.pl



Re: laptop wireless setup, wpa_supplicant.conf, driver ipw not supported? CLI only

2011-10-28 Thread Raf Czlonka
On Fri, Oct 28, 2011 at 09:46:25AM BST, Brian wrote:
 As Raf Czlonka has already said, using /etc/network/interfaces and its
 integration with wpa_supplicant is the way to go. You do not even need a
 wpa_supplicant.conf file.

You don't, for simple setup that is indeed enough.
If you have several wireless networks you can keep your interfaces file
tidy and organised, not to mention that roaming mode won't work without
wpa_supplicant.conf file.

iface eth0 inet dhcp
  wpa-ssid myssid
  wpa-psk passphrase

I also recommend actual PSK rather than passphrase.

man wpa_passphrase.

Regards,
-- 
Raf


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20111028113626.ga23...@linuxstuff.pl



Re: laptop wireless setup, wpa_supplicant.conf, driver ipw not supported? CLI only

2011-10-28 Thread Raf Czlonka
On Fri, Oct 28, 2011 at 07:04:10AM BST, J. Bakshi wrote:
 How can I remove the wpa related entry from rc.local and add directly at 
 /etc/interfaces ?

Please read /usr/share/doc/wpasupplicant/README.Debian.gz - you can find
all the answers there.

A couple of hints:

wpa-driver nl80211
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf

in /etc/network/interfaces.

id_str in wpa_supplicant.conf

P.S. Please send only one reply, not four exactly the same ones.
-- 
Raf


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20111028120731.ga24...@linuxstuff.pl



Re: Observing IP Conflicts

2011-10-28 Thread Raf Czlonka
On Fri, Oct 28, 2011 at 03:46:51AM BST, green wrote:
 Volkan YAZICI wrote at 2011-10-27 12:16 -0500:
  I have two servers A and B, where both knows the IP address of itself
  and the other. Assume A goes down (that is, A is not reachable via
  ping), then B temporarily takes the IP address of A via IP aliasing.
 
 I have not used it, but you might want to look at the vrrpd package.

Or ucarp. I guess keepalived has been mentioned already and since
you're not running a cluster it might be an overkill.

Regards,
-- 
Raf


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20111028123651.ga24...@linuxstuff.pl



Re: Software Raid, recovery after drive broke

2011-10-28 Thread Raf Czlonka
On Fri, Oct 21, 2011 at 06:12:37PM BST, Tom H wrote:
 I'm sorry that I've confused you. I was just pointing out that the
 demarcation line between mdraid and dmraid isn't as straightforward as
 you made it out to be because mdadm (which is an mdraid tool) can be
 used to manage dmraid arrays.

You hadn't confused me :^)
I've never claimed it cannot. The difference is quite substantial
though:

dmraid

DESCRIPTION
dmraid discovers block and software RAID devices (eg, ATARAID)
by using multiple different metadata format handlers which
support various formats (eg, Highpoint 37x series).
It offers activating RAID sets made up by 2 or more discovered RAID
devices, display properties of devices and sets
(see option -l for supported metadata formats).
Block device access to activated RAID sets occurs via device-mapper
nodes /dev/mapper/RaidSetName.
RaidSetName starts with the format name (see -l option) which can be
used to access all RAID sets of a specific format easily with
certain options (eg, -a below).

mdadm is for kernel software RAID and can handle *any* block device,
no underlying RAID required whatsoever.

Regards,
-- 
Raf


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20111028135057.ga24...@linuxstuff.pl



Re: iptables limitations

2011-10-28 Thread Raf Czlonka
On Sat, Oct 22, 2011 at 06:39:42PM BST, Jim Pazarena wrote:
 I have been using debian as a border router, and using
 iptables to drop connections to various IPs which hit my honeypot.
 
 I am wondering, if there is a point where too many iptables rules
 impede the speed of the network?
 
 How many drops can I entertain, before I should look at some
 other method of firewall blocking?

It shouldn't matter.
Set your default policy to DROP and allow only the ones you need.

Regards,
-- 
Raf


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20111028135343.gb24...@linuxstuff.pl



Re: Sharing files on a local network

2011-10-28 Thread Raf Czlonka
On Sun, Oct 23, 2011 at 04:39:28PM BST, Claudius Hubig wrote:
 SSH (Secure Shell) - you don't need security on home-only network.
 
 That at least explains the millions of bots out there. Of course you
 need security on a home-only network, even if it is not accessible
 from the internet. And given that at least the Debian box appears to
 have direct internet access, you should definitely care about
 security, especially since IPv6 is not years away anymore.

You don't need security on your LAN interface. Never had I mentioned
that you shouldn't have firewall on your WAN interface.
Your WAN should be your firewall and if that's not sufficient enough
then there's something wrong with your network setup.
Obviously by not needing security I didn't mean not securing your medium
and having, e.g. unencrypted wifi.

 Of course, and you don’t have to set up that NFS share at all, it
 simply appears? Please, be realistic. SSHFS is as simple as:

Do I really need to mention that you still need to set something up?
Nothing works without any minimal configuration. Please, be realistic.

 client:# apt-get install sshfs
 server:# apt-get install sshd
 client:# sshfs user@server:/dir /mountpoint

That's exactly what I meant - mount per user rather than per system.
It's good for users accessing their files, not necessarily for file
sharing which the user mentioned.
With NFS mounts you depend on the filesystem permissions and ACLs or
you can kerberise it, you don't need user accounts on the server.

Regards,
-- 
Raf


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20111028150221.ga25...@linuxstuff.pl



Re: Sharing files on a local network

2011-10-28 Thread Raf Czlonka
On Sun, Oct 23, 2011 at 11:46:54PM BST, Arno Schuring wrote:
  SSH (Secure Shell) - you don't need security on home-only network.
 That depends. If you're running a wireless setup, even with WPA2
 protection, I'd still advise security.

Let's not get paranoid - firewall + RSN should be enough on a home
network.

  IMHO, it's not - dozens of options for both the server and client.
  You simply mount the NFS share and it's transparent to the system.
 Well, in all fairness - NFS requires that the user ids on all systems
 match. Forcing such a match can be quite troublesome.

If we're talking about r/w access then it might be, yes. Then you'll
need NIS, LDAP or Kerberos.

  FUSE as it name suggests is in user-space, NFS is supported in the
  kernel. You don't have the overhead.
 Overhead is peanuts :)
 
 No, not really. But for a home setup, convenience trumps performance.
 And besides, when's the last time that your desktop machine was pegged
 on CPU?

I use some ancient machines, but I guess it's just me ;^)

 For the current situation, I'd advise sshfs. If it's integrated in
 Nautilus, all the better. But SSH is only point-to-point -- as soon as
 you're sharing files with more than 2 machines, NFS is the way to go.

Thank you, that's exactly the point I was trying to get across, file
access and file sharing are two different things.

 My 2 cents: even for Linux-only systems, there really is no
 satisfactory answer to the OP's question besides Samba/CIFS. All
 (Unix-)native solutions have their roots in enterprise (managed)
 networking, which implies manual setup. In terms of autodiscovery and
 autoconfiguration, nothing can hold a candle to the original SMB.

If we're talking about file sharing, not per user access, then r/w
will always be an issue, regardless of what protocol you're using,
unless you don't care about security at all.

Regardless of how you look at it, you'll need to set it up somehow -
either a server with a user database on it (SMB, SFTP, etc.) and
authenticate every time you connect to it, even if it's just for r/o
access; or set up a file storage server (e.g. NFS) with minimal effort.

Regards,
-- 
Raf


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20111028154152.ga25...@linuxstuff.pl



Re: Sharing files on a local network

2011-10-28 Thread Raf Czlonka
On Mon, Oct 24, 2011 at 04:33:55AM BST, yudi v wrote:
 Samba looks like the best option as I will be adding windows clients and a
 solaris file server.

You hadn't mentioned Windows previously.
Had you provided that information at the beginning I would've suggested
Samba as well.

Regards,
-- 
Raf


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20111028155648.ga25...@linuxstuff.pl



Re: Sharing files on a local network

2011-10-28 Thread Raf Czlonka
On Tue, Oct 25, 2011 at 03:15:09PM BST, Camaleón wrote:
 SSH is still the winner, IMO: Solaris and linux include ssh client 
 facilities and windows has WinSCP or FileZilla that allow SFTP 
 connections.

Too many 3rd party software programs required, most of them don't
integrate with the rest of the system nicely or at all, e.g. explorer,
cmd.exe.

 If you finally go for the samba alternative (which is a complete 
 headache), just ensure to put a good (and monitored) firewall between the 
 host -that runs samba- and the Internet...

That's where SSL or SSH tunnels come in handy ;^)

Regards,
-- 
Raf


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20111028160146.gb25...@linuxstuff.pl



Re: Software Raid, recovery after drive broke

2011-10-28 Thread Raf Czlonka
On Fri, Oct 28, 2011 at 06:50:05PM BST, Tom H wrote:
 Given your posts, you're clearly confused...

Would you care to elaborate?

-- 
Raf


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20111028182841.ga25...@linuxstuff.pl



Re: Sharing files on a local network

2011-10-28 Thread Raf Czlonka
On Fri, Oct 28, 2011 at 05:12:20PM BST, Camaleón wrote:
  Too many 3rd party software programs required, most of them don't
  integrate with the rest of the system nicely or at all, e.g. explorer,
  cmd.exe.
 
 One program is too many for you? ;-)

If it's not available through easy install system, e.g APT, then yes.
If it doesn't play nicely with the system, then yes. There's no explorer
extension to work with SFTP - that's enough for me.

  That's where SSL or SSH tunnels come in handy ;^)
 
 I prefer the usual way: it's easier to manage, administer and setting up.

Again, for access - yes; not for sharing.

Regards,
-- 
Raf


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20111028183329.gb25...@linuxstuff.pl



Re: laptop wireless setup, wpa_supplicant.conf, driver ipw not supported? CLI only

2011-10-27 Thread Raf Czlonka
On Thu, Oct 27, 2011 at 10:45:38PM BST, kei...@strucktower.com wrote:
 [...]
 configure wpa_supplicant as a next step. When I try to invoke it I get a
 message saying the ipw driver isn't supported, although the man page for
 wpa_supplicant states that ipw _is_ supported...(for now I am running all
 these as root):

Clearly man page is out of date - file a bug.

 root@eve:~# wpa_supplicant -Dipw -c/etc/wpa_supplicant.conf -ieth0 -d
 [...]

Drop -D option, wpasupplicant will use wext, which is the default -
should work just fine. You can also try nl80211.

 root@eve:~# cat /etc/wpa_supplicant.conf

On Debian, there's already a directory /etc/wpa_supplicant/, it might be
worth putting it there.
There's no need to run wpa_supplicant by hand - it integrates nicely
with ifupdown. You can simply put:

iface eth0 inet dhcp
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf

into your /etc/network/interfaces (add wpa-debug-level 3 if you're
having problems) and use ifupdown.
Already suggested - read documents in /usr/share/doc/wpasupplicant.

Regards,
-- 
Raf


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20111027234307.ga5...@linuxstuff.pl



Re: Dual monitor setup

2011-10-27 Thread Raf Czlonka
On Wed, Oct 26, 2011 at 07:51:02AM BST, Johann Spies wrote:
  I tried to check the /etc/X11/xorg.conf file.
  But it's not there.
  
  Why is there no /etc/X11/xorg.conf file, then what configuration file is 
  the X
  using?
 
 I dont't know and would also like to know.

Since quite a while back, X.org Xserver, shipped with Debian and other
distributions, doesn't require xorg.conf file - it uses auto-detection.
You can still use xorg.conf however, and for dual monitor setup it might
be a better idea to create one.

Regards,
-- 
Raf


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20111028004923.ga5...@linuxstuff.pl



Re: ubuntu.

2011-10-25 Thread Raf Czlonka
On Tue, Oct 25, 2011 at 11:07:32AM BST, Darac Marjal wrote:
 Given the usual naming conventions, I would expect it to be either 
 debian-user-engl...@lists.debian.org or debian-engl...@lists.debian.org
 (I'm not sure why there is debian-user-$LANG and debian-$LANG, but it
 may just be that, for those languages where user translates to user,
 there is debian-user-$LANG, otherwise it's debian-user-$LANG).

All other mailing lists are in English as well, e.g. debian-devel, etc.
Debian is an international project and lingua franca of IT (not only) is
English (US, for what is worth) - even C locale defaults to it.
It's just something you have to live with - if the project's
international and there's no explicit language declaration, chances are
the discussion, support, etc. will be in English.

Regards,
-- 
Raf


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20111025120843.ga2...@linuxstuff.pl



Re: preseeding/partman-auto: LVM expert recipe problem

2011-10-25 Thread Raf Czlonka
On Tue, Oct 25, 2011 at 11:49:52AM BST, Thorsten Sperber wrote:
 100 1000 100 ext3  \
 $lvmok{ }   \
 method{ format }\
 format{ }   \
 use-filesystem{ }   \
 filesystem{ ext3 }  \
 mountpoint{ / } \

You're using 100MB as both the minimum and the maximum size of the /
(root) partition. It probably (I'm almost 100% sure) is not enough
space even for a basic installation - read point 7 in the document you
quoted.

 My desired recipe contains an explicitly declared PV, some more LV
 with more defined stuff and follows all the rules I found in the
 debian-installer:$doc/debian-installer/devel files (which could
 really need some more examples and rules description),

In the same document read points 5-6.

 The basic problem is the wrong calculation of the minimum size. I
 already tried it with different priorities to see their effect on
 the result, but no change.

I guess it's not the priority - it's the size.

Regards,
-- 
Raf


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20111025124417.ga3...@linuxstuff.pl



Re: go deep directories

2011-10-25 Thread Raf Czlonka
On Tue, Oct 25, 2011 at 04:23:51PM BST, lina wrote:
 a quick question, are there some tricks to go deep directories quickly,
 
 such as cd Atheone/

As long as theone is a unique name and you're using zsh:

% cd **/*/theone

will work.

Regards,
-- 
Raf


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20111025155053.ga13...@linuxstuff.pl



Re: go deep directories

2011-10-25 Thread Raf Czlonka
On Tue, Oct 25, 2011 at 04:50:53PM BST, Raf Czlonka wrote:
 On Tue, Oct 25, 2011 at 04:23:51PM BST, lina wrote:
  a quick question, are there some tricks to go deep directories quickly,
  
  such as cd Atheone/
 
 As long as theone is a unique name and you're using zsh:
 
 % cd **/*/theone
 
 will work.

Besides pushd, popd of course.

-- 
Raf


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20111025155308.ga13...@linuxstuff.pl



Re: suspend resume debugging

2011-10-23 Thread Raf Czlonka
On Sat, Oct 22, 2011 at 10:28:07PM BST, Max Tsepkov wrote:
 Laptop display is not powered on after resume.
 All other systems is fine, I managed to blindly reboot the machine.
 Kernel log doesn't show anything obvious.
 I was wondering, how to debug such cases? Where to begin?

1. What's the graphic card and screen?
2. Which driver are you using?
3. If a laptop has brightness control, does pressing the keys change
anything?
4. Stable, testing, unstable?

-- 
Raf


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20111023065334.ga2...@linuxstuff.pl



Re: Sharing files on a local network

2011-10-23 Thread Raf Czlonka
On Sun, Oct 23, 2011 at 11:25:16AM BST, yudi v wrote:
 I have a Debian PC connected to the Internet via mobile broadband and I have
 this Internet connection shared with an ubuntu pc via Ethernet connection.
 Internet connection works fine.

Let me recap:

Internet over mobile --- Debian PC --- Ubuntu PC

 I can ping the Debian PC but cannot ping the Ubuntu PC, how come?

Where from?

 I would like to share files between these two systems. From what I
 understand my options are Samba, SSH and NFS. I only used SSH before and it
 takes a while to set-up securely and I haven't used NFS or Samba, not sure
 how steep the learning curve is. Because it's a direct ethernet connection,
 SSH is more than what I need for this situation. I don't think a secure
 connection is needed. Is there a simpler way of achieving this?

If you're only trying to share files between Debian and Ubuntu, without
any MS Windows involved, you don't need Samba. As you mentioned before
SSH is an overkill as well - I'd suggest NFS in that case, it's very
easy to set up.
There are other ways of achieving this, e.g. FTP, but IMHO using a
mounted filesystem is easier and more convenient than using some sort of
client software, especially on home-only network.

Regards,
-- 
Raf


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20111023115756.ga21...@linuxstuff.pl



Re: Sharing files on a local network

2011-10-23 Thread Raf Czlonka
On Sun, Oct 23, 2011 at 01:52:14PM BST, Harry Putnam wrote:
 I don't understand why a few people have passed over ssh as being
 overkill.

SSH (Secure Shell) - you don't need security on home-only network.

 Its easiest of all to setup.  (well excepting the nautilus suggestion)

IMHO, it's not - dozens of options for both the server and client.
You simply mount the NFS share and it's transparent to the system.

 I mean with fuse and sshfs, then it acts much the same as nfs far as
 enduser experience.

FUSE as it name suggests is in user-space, NFS is supported in the
kernel. You don't have the overhead.

 nfs doesn't really apply to windows commonly, although there is an nfs
 program for windows.  

We're talking about Debian and Ubuntu, not Windows - besides I already
mentioned the rationale behind NFS in regards to that.

 These days its not that hard to get sshd running on windows either.
 Windows 7 is bit more than it used to be, what with needing a new user
 and such.. but still once its setup... ssh is quite a nice solution.

SFTP on Windows on a home network is an overkill. If Windows was one of
the systems I would've suggested Samba as CIFS is supported in Windows
without any additional software required.

 In fact with the choices mentioned so far (again excepting nautilus)
 sshd is the most versatile.

It isn't IMHO - see above.

Regards,
-- 
Raf


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20111023143936.ga21...@linuxstuff.pl



Re: Root missed at boot up.

2011-10-21 Thread Raf Czlonka
On Fri, Oct 21, 2011 at 10:37:23AM BST, Magicloud Magiclouds wrote:
 Hi there,
   Sorry for the delayed reply. I am using grub on x86_64. And
 regenerate initramfs (default configuration) did not help.
   Only way to work I know is to change root bootflag to
 /dev/mapper/vgroot-lvroot, uuid or /dev/vgroot/lvroot won't work.
   I am not sure how to redirect the output to a file. It was at the
 very beginning of booting up.

On a running system do:

% ls -Rl /dev/disk  file

also attach your /etc/fstab and paste the relevant config from your
grub.cfg (only relevant lines, not the whole file) please.

Regards,
-- 
Raf


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20111021122910.ga19...@linuxstuff.pl



Re: ssh/dsa strange issue

2011-10-21 Thread Raf Czlonka
On Thu, Oct 20, 2011 at 07:39:16PM BST, Joao Ferreira Gmail wrote:
 a) user jane on one system transfers her public DSA key to account john
 at a given remote host. it works. jane accesses john's account without
 typing a password.

Since you got the answer to your problems, the only thing I can add is
to suggest you use RSA keys instead of DSA ones[0].

[0] 
http://www.debian.org/doc/manuals/debian-reference/ch06.en.html#_connecting_without_remote_passwords

Regards,

Raf


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20111021123821.gb19...@linuxstuff.pl



Re: Software Raid, recovery after drive broke

2011-10-21 Thread Raf Czlonka
On Wed, Oct 19, 2011 at 12:29:14AM BST, Tom H wrote:
 On Tue, Oct 18, 2011 at 8:55 AM, Raf Czlonka r...@linuxstuff.pl wrote:
 
  dmraid and mdraid are not the same thing.
 
 Except for the fact that you can manage a dmraid array with mdadm
 (IIRC, you have to have containers on the DEVICE line in
 mdadm.conf, but there may be more to it than that).

Device mapper managed ATARAID can be in the container - I never claimed
it cannot. Please, do not confuse users.

dmraid as is Serial ATA RAID, SATA RAID or Fake RAID and mdadm (md raid)
as in Linux Software RAID[0].

[0] http://wiki.debian.org/DebianInstaller/SataRaid

Regards,
-- 
Raf


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20111021125757.ga1...@linuxstuff.pl



Re: bash command

2011-10-20 Thread Raf Czlonka
On Thu, Oct 20, 2011 at 09:29:35AM BST, Jesus arteche wrote:
 I want to create  a script to change some words in some sonf files at the
 start up of the system...do you know the command in bash for search the word
 and replace it??

You don't need bash for it, sed's your friend, e.g.:

% sed -i 's/old_word/new_word/' /etc/conf.file

I highly recommend.

% man sed

Regards,
-- 
Raf


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20111020083650.ga17...@linuxstuff.pl



Re: bash command

2011-10-20 Thread Raf Czlonka
On Thu, Oct 20, 2011 at 06:31:16PM BST, Doug wrote:
 |_|0|_|  |
 |_|_|0| Heghlu'Meh QaQ jajVam  |
 |0|0|0|  kuLa -  |
 
 What the heck is that, Klingon?
 What does it mean?  --doug

http://en.wikiquote.org/wiki/Klingon_proverbs

-- 
Raf


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20111020174429.ga29...@linuxstuff.pl



Re: which system is similar with debian

2011-10-19 Thread Raf Czlonka
On Wed, Oct 19, 2011 at 06:04:28AM BST, lina wrote:
 Hi,
 
 I want to download a software, which only provided the below options
 except Windows:
 
 1] RedHat Enterprise Linux 4 (64 bit)
 2] RedHat Enterprise Linux 5 (64 bit)
 3] Suse Linux Enterprise 10/11 (64 bit).
 
 I am not sure which one will relatively better fit the x86_64
 GNU/Linux wheezy one.
 
 Thanks for any suggestions.
 
 P.S I checked debian repository, there is no such software.

Would you care to share with us what is the name of the software in
question?

How about alien?

Regards,
-- 
Raf


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20111019065641.ga11...@linuxstuff.pl



Re: Software Raid, recovery after drive broke

2011-10-18 Thread Raf Czlonka
On Tue, Oct 18, 2011 at 12:14:58PM BST, Bartek W. aka Mastier wrote:
 Hi,
 
 I got two drives in RAID1 matrix, each one got 2 partitions, first
 boot also in raid, containg grub and such

RAID or RAID array, not matrix.

 My question is, what if I connect the new drive and it will appear
 as /dev/sda, and the already working one will be /dev/sdb. Will it
 overwrite it ?

http://zeldor.biz/2011/09/raid1-replace-broken-hdd/
http://www.howtoforge.com/replacing_hard_disks_in_a_raid1_array
http://www.debian-administration.org/articles/238
http://wiki.yobi.be/wiki/Debian_Soft_Raid

 The second question, Should I first create partitions partions on
 this new drive ? What about GRUB ? I was struggling last time to
 install it on both drives in MBR (do you have any proper procedure,
 because GRUB2 it can boot from dmraid, but cannot install on
 /dev/md0 for instance).

dmraid and mdraid are not the same thing.

http://wiki.debian.org/DebianInstaller/SataRaid
http://www.howtoforge.com/software-raid1-grub-boot-debian-etch
http://wiki.clug.org.za/wiki/RAID-1_in_a_hurry_with_grub_and_mdadm

That's after a couple of minutes of using google.
You could've found all of the bove yourself.

And above all:

% man mdadm

Regards,
-- 
Raf


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20111018125537.ga25...@linuxstuff.pl



Re: PXE installing Debian Squeeze on a 64-bit machine

2011-10-18 Thread Raf Czlonka
On Mon, Oct 17, 2011 at 11:13:14PM BST, Léa Massiot wrote:
iv) pxelinux.0 is a binary file. I can't create it myself or edit it.
 I don't even know what it is.
 So now obviously my other machine doesn't PXE boot.

Others already answered your questions regarding your 64-bit
architecture.
The only thing I'd like to add is PXELINUX is a part of SYSLINUX[0] project.
Internet is full of documentation regarding booting and installing Linux
using PXE - personally I highly recommend, it's the most flexible and
very fast (limited only by your network speed) way of installing Linux,
or any other OS for that matter.

[0] http://www.syslinux.org/wiki/ - currently out of order

Regards,
-- 
Raf


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20111018215305.ga29...@linuxstuff.pl



Re: deleting user account

2011-10-17 Thread Raf Czlonka
On Mon, Oct 17, 2011 at 11:18:54AM BST, Zachary Uram wrote:
 Thanks Raf!

No worries.
Just to recap, what was it in the end?
Was the account still in /etc/passwd or /etc/shadow?
Were you logged on with the account name and used sudo to remove it by
any chance?

Regards,
-- 
Raf


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20111017120646.ga22...@linuxstuff.pl



Re: OT: harddrive addition for RAID

2011-10-17 Thread Raf Czlonka
On Mon, Oct 17, 2011 at 06:12:00PM BST, Camaleón wrote:
  1. does the HD need to be exactly the same as the one its being paired
  with ?
 
 Not necessarily, but you will lose the remainder difference space between 
 the smallest and the bigger of the disks. If you were referring to the 
 brand/model/serial number of the disks some people think is better they 
 exactly match (me) others think the opposite.

It's not just size that matters ;^)
If you'd like your RAID array to perform better it's always better to
have the disks identical - cache size, speed, etc. If you have drives
which don't match, essentially your RAID will perform as good as your
worst drive.

Regards,
-- 
Raf


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20111017220904.ga5...@linuxstuff.pl



Re: deleting user account

2011-10-16 Thread Raf Czlonka
On Sun, Oct 16, 2011 at 07:04:14AM BST, Zachary Uram wrote:
 so i deleted a user account using deluser foo and then i had to \rm
 -r /home/foo but my tiger auditing report is telling me:

You could have combined it into a single command:

% deluser --remove-home foo

or

% deluser --remove-all-files foo

man deluser

 # Performing check of user accounts...
 OLD: --WARN-- [acc021w] Login ID foo appears to be a dormant account.
 # Performing check of passwd files...
 OLD: --WARN-- [pass014w] Login (foo) is disabled, but has a valid shell.

Check /etc/passwd and /etc/shadow for 'foo'.

 anything else i can do to remove any remnants of the account besides
 what i already did?

% delgroup --only-if-empty foo

Regards,
-- 
Raf


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20111016082725.ga1...@linuxstuff.pl



Re: why doesn't ~/.inputrc work

2011-10-16 Thread Raf Czlonka
On Sat, Oct 15, 2011 at 10:14:59PM BST, Harry Putnam wrote:
 Not too long ago, just wks, .inputrc worked on another system.  That
 was also recent bash.  

Is it by any chance related the recent ncurses library split[0] to which
libreadline links?

[0] http://enc.com.au/2011/09/ncurses-library-split/

Regards,
-- 
Raf


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20111016090302.ga1...@linuxstuff.pl



Re: posting

2011-10-16 Thread Raf Czlonka
On Fri, Oct 14, 2011 at 06:03:21PM BST, peasth...@shaw.ca wrote:
  Do you know of a good reference that teaches people how to post I could
  point to in my signature?
 
 http://wiki.debian.org/DebianMailingLists would be appropriate.

http://catb.org/~esr/faqs/smart-questions.html is also a good read.

Regards,
-- 
Raf


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20111016094729.ga2...@linuxstuff.pl



Re: Equivalencing usernames/ids across computers

2011-10-16 Thread Raf Czlonka
On Fri, Oct 14, 2011 at 05:17:14PM BST, Tony van der Hoff wrote:
 Thanks, Cameleón, I might take a look at LDA and/or NIS, although I
 have no experience with them. Otherwise, I guess I'm going to just
 change around the UIDs on some of the systems, which may well be the
 path of least resistance.

For your needs NIS/YP will be sufficient enough and it's easy to set up.
However it's not secure by design and it doesn't scale well so if you're
planning on growing I'd recommend going straight to LDAP.

Regards,
-- 
Raf


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20111016115221.ga2...@linuxstuff.pl



Re: Root missed at boot up.

2011-10-16 Thread Raf Czlonka
On Fri, Oct 14, 2011 at 02:23:25AM BST, Magicloud Magiclouds wrote:
   The error was cannot find root $UUID specified in root bootflag.
   I thought something wrong so the uuid of the root was changed. So in
 busybox, I `ls -l /dev/disk/by-uuid`, I got two items: dm-1(I am not
 quite sure now, maybe it displayed dm-0.), sda1. I knew sda1 was /boot
 partition, so I changed boot cmdline with the uuid I found temporally.
 Still cannot boot up. No root found with the new uuid.
   Then I changed bootflag root to device name
 (/dev/mapper/vgroot-lvroot). Then things worked.
   In the boot-uped system, I `ls -l /dev/disk/by-uuid`, and found
 that, the uuid of root is still the same as in boot cmdline, and the
 device is dm-0. dm-1 is the swap.

Could you do it again or on a running system and redirect the output to
a file, then attach the file to an email?

   So to sum up, my system cannot find lvm root device (dm-0) and its
 uuid at boot up. But can be booted up by its device name
 (/dev/mapper/vgroot-lvroot). And in boot-uped system, the root device
 looks fine in /dev.
   What happened? How to fix this?

You hadn't mentioned what architecture you're running and what
bootloader you're using.
What if you regenerate initrd/initramfs?

Regards,
-- 
Raf


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20111016174848.ga3...@linuxstuff.pl



Re: Debian SID - Can't setup Language for applications(using xdm, wmaker)

2011-10-16 Thread Raf Czlonka
On Sat, Oct 15, 2011 at 01:12:12PM BST, Csanyi Pal wrote:
 I run then the commands:
 
  $ sudo apt-get update
  $ sudo apt-get --reinstall install $(dpkg -S LC_MESSAGES | cut\
  -d: -f1 | tr ', ' '\n' | sort -u)
 
 I get after that - without reboooting my system - Hungarian menus in
 Midnight Commander under xterm or virtual terminal.
 
 I also tried to run GUI's, like Bluefish, Ekiga and I get Hungarian
 menus too. :)

Looks like we've nailed it then.
Glad it worked in the end.

Regards,
-- 
Raf


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20111016182243.ga3...@linuxstuff.pl



Re: Debian SID - Can't setup Language for applications(using xdm, wmaker)

2011-10-15 Thread Raf Czlonka
On Sun, Oct 09, 2011 at 09:49:05AM BST, Csanyi Pal wrote:
 I tried to run mc, ekiga, bluefish:
  $ LANG=hu_HU.UTF-8 mc
  $ LANG=hu_HU.UTF-8 ekiga
  $ LANG=hu_HU.UTF-8 bluefish
 
 Neither mc and ekiga nor bluefish gives to me Hungarian menus. :(

In that case are the actual locale generated at all?

% dpkg-reconfigure locales

or simply install 'locales-all'.

Also make sure you don't have 'localepurge' or similar, eating your
locale.

  Just tested it on my laptop with Hungarian locale and it works fine.
  If the above work that would point to your DM or WM not setting your
  environment properly.
   ^^
Try without xdm, use startx.
Also try running, e.g. 'mc' or other curses app under x-terminal and
under tty and see if it makes a difference.
If neither of the above works, I'm running out of ideas.

Regards,
-- 
Raf


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20111015080556.ga19...@linuxstuff.pl



Re: Canonical way to set compile flags with package manager

2011-10-15 Thread Raf Czlonka
On Thu, Oct 06, 2011 at 11:02:11PM BST, Harry Putnam wrote:
 I went ahead and compiled it myself and installed in /usr/local
 
 Is there anyway to do that and still allow pkgmanager to keep track of
 the install?

Apart from rebuilding the package from source packages,
would 'checkinstall' fulfil your needs?

Regards,
-- 
Raf


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20111015081307.gb19...@linuxstuff.pl



Re: php

2011-10-15 Thread Raf Czlonka
On Fri, Oct 07, 2011 at 06:24:46PM BST, Glenn English wrote:
 I don't do php on my web server because I was told of huge security problems 
 in it -- and until I turned off the php interpreter in Apache, I got many 
 break in attempts involving phpAdmin and such.
 
 Do any of you know of a similar package in, say, Perl or Python? Or can 
 anyone convince me that php is safe?

The system is as safe and secure as its administrator allows it to be.
Hardly anything is secure out of the box, even the default OpenBSD
install had two remote holes over the years.
Scott already gave you the advice you need.
Rule of thumb: only allow access to the bare minimum from the outside
world.

Good luck,
-- 
Raf


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20111015104106.ga20...@linuxstuff.pl



Re: switch window/session manager with gdm3

2011-10-13 Thread Raf Czlonka
On Thu, Oct 13, 2011 at 02:43:44AM BST, Hugo Vanwoerkom wrote:
 Hi,
 
 How do you switch window/session managers with gdm3?
 You get lots of hits with googling 'switching window manager' but it
 is all outdated.

Non-DM specific

% update-alternatives --config x-window-manager

Regards,
-- 
Raf


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20111013063126.ga14...@linuxstuff.pl



Re: login shell VS interactive shell

2011-10-13 Thread Raf Czlonka
On Thu, Oct 13, 2011 at 10:49:24PM BST, Joao Ferreira Gmail wrote:
 Hello all,
 
 I read a text about bash that mentions a difference between login
 shell and interactive shell.
 
 I'm affraid I don not know the difference. Can anyone enlighten me ?

Login shell is the shell executed at logon, the one in /etc/passwd.
Interactive shell is the one which user interacts with - it can be,
but doesn't have to, be the same as the login shell.

 text I read was:
 
 When Bash starts executes the commands in a variety of different
 scripts. When started as an interactive login shell: Bash reads and
 executes the /etc/profile (if it exists). After reading that file, it
 looks for ~/.bash_profile, ~/.bash_login, and ~/.profile in that order,
 and reads and executes the first one (that exists and is readable). When
 a login shell exits: Bash reads and executes ~/.bash_logout (if it
 exists). When started as an interactive shell (but not a login shell):
 Bash reads and executes ~/.bashrc (if it exists).


You can run bash, other shells as well if they support it, both as login
and interactive shell, even after you logged on.

man bash

options '-l' and '-i'

Regards,
-- 
Raf


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20111013234946.ga22...@linuxstuff.pl



Re: How to get version information in common notation

2011-10-12 Thread Raf Czlonka
On Wed, Oct 12, 2011 at 03:45:19PM BST, Harry Putnam wrote:
 And how can I know at a glance which xserver[s] are in use?  It appears
 the original installation routine has installed a heard of them.  37 in
 fact.

These are not different xservers - they're xserver-related (the main X.org one)
packages with input device and video drivers.

 The list is posted at the end.  And how can I tell quickly which are needed?
 And which can be removed?

You can remove most of the video drivers, leaving only the one(s)
corresponding to your graphic card. The same goes with input drivers.

 `ps wwaux|grep xserver-xorg'

ps auwx|grep X

P.S. Just for the reference, there are other xservers in Debian but you
don't have to worry about them.

Regards,
-- 
Raf


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20111012175851.ga9...@linuxstuff.pl



Re: hostname set to new-host

2011-10-12 Thread Raf Czlonka
On Wed, Oct 12, 2011 at 08:30:08PM BST, Celejar wrote:
 At the bash prompt (user@new-host). For a while I thought there was
 something messed up in my bash profile, until I finally realised that
 typing 'hostname' was yielding the wrong result ...

OK, since it's not the 127.0.1.1 in /etc/hosts and it happens even before
you're on the network; do you have any avahi/autoIP related packages
installed which might be doing so?
As suggested before, NetworkManager might be worth checking as well.

Regards,
-- 
Raf


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20111012194117.ga11...@linuxstuff.pl



Re: How to get version information in common notation

2011-10-12 Thread Raf Czlonka
On Wed, Oct 12, 2011 at 08:50:16PM BST, Harry Putnam wrote:
 I'm still managing to confuse myself.  
 
 When I look at some of the drivers that nearly positive I do not need
 with `aptitude why' It appears to be saying they are needed:
 
aptitude why xserver-xorg-video-mach64
   i   task-desktop   Depends xserver-xorg-video-all   
   ihA xserver-xorg-video-all Depends xserver-xorg-video-ati   
   i A xserver-xorg-video-ati Depends xserver-xorg-video-mach64
 
 Note that the output shows `Depends' rather than `Recommends', so I
 guess its saying if I want to run with `task-desktop'  I need this
 driver.  But do I really?

Answering your previous question, there's no way of automating the process
of auto-discovery of graphic card, therefore if you'd like to run
a desktop system and install 'task-desktop' (itself not a real package
but a virtual one, a task which installs other packages) all available
drivers are being installed.
Solution: do not install task-desktop, only pick the packages which you
need, remove xserver-xorg-video-all and only leave the one(s) which
match your hardware.
If you have a fairly new machine with a large HDD, the above won't be an
issue as, apart from some services run at startup or during your X
session, the it'll only take some of your HDD space.
But if you're really bothered or free space is scarce...

-- 
Raf


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20111012203121.ga11...@linuxstuff.pl



Re: installing dependencies along with deb package

2011-10-11 Thread Raf Czlonka
On Tue, Oct 11, 2011 at 08:23:57AM BST, karunakar medamoni wrote:
 Hello.
 
 This is karunakar. I was developed one package. i want convert that package
 into deb package. i was created deb package with my source code. i got the
 error when i install that package. it saying this package needs apache2
 package . how can i install dependencies which are mentioned in control
 file. i need to install all packages which are required and mentioned in
 control file at the time of deb package installation automatically .

http://www.debian.org/doc/debian-policy/ch-relationships.html

-- 
Raf


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20111011100700.ga14...@linuxstuff.pl



  1   2   >