Exim4 : allow relaying for authenticateed users (LDAP,PAM over TLS)

2011-01-09 Thread Frank Lin PIAT
Hello,

I want to allow my remote users to submit emails through SMTP
on port 587 (using TLS). Obviously I want to enforce authenticate
for those mail submission (my user are stored in LDAP, with passwrd
as plain text, so both PAM and LDAP should be possible [?]).

Does anyone knows a good howto. I am especially wondering how to
instruct EXIM to use PAM/LDAP rather than the local /etc/exim4/passwd)

thanks

Franklin


-- 
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/d4361857e45ce32c419c45508e88777c.squir...@ssl.klabs.be



Re: passwordless ssh root logins stopped working after testing dist-upgrade

2010-04-10 Thread Frank Lin PIAT
Hello Russel,

I am suspecting an issue on the server side.
Can you provide a verbose log of the server side,

Regards,

Franklin

On Tue, 2010-04-06 at 20:00 -0700, Russell L. Carter wrote:
 
 On my main system I have two user accounts, 'rcarter' and 'sardine'.  I
 remove the .ssh directories from 'rcarter', 'sardine', and 'root'.  I
 create a new rsa key for rcarter (creates ~rcarter/.ssh) and then
 ssh-copy-id -i the new key to sard...@localhost and r...@localhost,
 which creates a new .ssh directory with authorized_keys for each.
 Then I ssh-add the new key to the agent as rcarter.
 
 1.  $ ssh sard...@localhost logs in w/o password
 2.  $ ssh r...@localhost asks for password
 
 This is reproducible on two 'testing' systems that have worked
 flawlessly for at least two years each, but were both dist-upgraded
 yesterday, and they now exhibit this same behavior.



-- 
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/1270897313.3786.878.ca...@solid.paris.klabs.be



Re: automate apt-get update

2010-04-10 Thread Frank Lin PIAT
On Thu, 2010-04-08 at 09:02 +0200, Jozsi Vadkan wrote:
 I don't want to put: apt-get update in:
  /etc/crontab
 
 But then how could I automate the: apt-get update

APT has such built-in feature, see
  /etc/cron.daily/apt
Which you can configure manually, or...

 ? Is there a program for it? [e.g.: update-manager under GUI?] that
 randomly runs apt-get update?

On Debian-Gnome installation, you can install update-notifier-common
which provide the file /etc/apt/apt.conf.d/10periodic, which contains
the required apt settings:
  APT::Periodic::Update-Package-Lists 1;
  APT::Periodic::Download-Upgradeable-Packages 0;
  APT::Periodic::AutocleanInterval 0;

(Since I don't use it on my laptop, I can't give you much details)

On servers, you might want to une apt-listchanges to get notifications,
see:
  http://wiki.aims.ac.za/mediawiki/index.php/Auto_Update_Notification


Regards,

Franklin


-- 
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/1270898372.3786.948.ca...@solid.paris.klabs.be



RE: How to use Sun Java instead of gcj

2010-01-06 Thread Frank Lin PIAT
On Thu, 2010-01-07 at 03:53 +0200, Ogya Chief wrote:
  From: haoniu...@gmail.com
  
  How about trying to use update-alternatives to set java?
  
  Ogya Chief wrote:
   I installed sun-java6 but java -version showed version 1.5. 
   Upon further investigation I realised gcj is also installed on 
   the machine and OpenOffice depends on it. I have two questions:
  
   1. How can I make OpenOffice use Sun-java instead of gcj so that I
   can remove gcj?

 Update-alternatives did the trick.
Yes, this is exactly the way to change the default jre.

   2. If it is not possible to remove gcj and keep OpenOffice 
   intact, how can I compile java 1.6 programs using sun-java6?

Also...

Since Openoffice declares a dependency:
  Suggest: java-gcj-compat | sun-java5-jre | java2-runtime

It means that OOo can use any of those JRE. Therefore, you can use your
package manager to remove gcj and install any `java2-runtime` instead.
(Assuming no other package depends exclusively on gcj).

Note that when you remove a package which provide an alternative, that
package will invoke update-alternatives when it is removed, so it is
reconfigured if needed.

Franklin


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Squeeze Release ?

2009-11-28 Thread Frank Lin PIAT
On Fri, 2009-11-27 at 16:49 -0800, Kelly Clowers wrote:
 On Fri, Nov 27, 2009 at 10:36, Ken Heard k...@heard.name wrote:
  Brent Clark wrote:
 
  Does anyone know if Squeeze is going be Frozen in December or know of
  anything for that matter.
 
  No announcement of a freeze yet, but read the following:
 
  - -
  The Debian Project http://www.debian.org/
  Debian adopts time-based release freezes pr...@debian.org
  July 29th, 2009  http://www.debian.org/News/2009/20090729
  - -
 
  Debian decides to adopt time-based release freezes
 
 
 snip
 
 They backed off on that almost right away.

No.
Debian still wants time-based freeze. Every two years, in December,
Debian would freeze it's development: i.e stop introducing new features,
and focus on finding and fixing bugs in the current packages and
documentations... and release-when-ready(TM)

Initially, the release-team wanted to start this new process in
December, but many developers voiced their concerns that it was too
soon, either for Debian users, or for their own migration plans
(switching to new libraries and new Gnome, KDE... requires planning,
time and efforts)

Therefore, the freeze has been delayed to March 2010, see[1].

Franklin

[1] http://lists.debian.org/debian-devel-announce/2009/10/msg2.html


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: SATA disk drivers missing from Debian 5.0.3 network installer

2009-11-23 Thread Frank Lin PIAT
[No top posting[1] and no HTML please ]

On Mon, 2009-11-23 at 07:04 -0800, Rigoberto Corujo wrote:
 On Sat, 2009-11-21, Frank Lin PIAT fp...@klabs.be wrote
  On Fri, 2009-11-20 at 11:06 -0800, Rigoberto Corujo wrote:

   I am a new Debian user and am trying to install 5.0.3 over the
   network.  My server has SATA drives and the installer isn't
   recognizing them.  In other words, cat /proc/partitions shows
   nothing.
   
   I noticed that the network version of the initrd.gz file is missing
   the ata_piix.ko and libata.ko drivers.   These drivers are present in
   the Debian distribution, however.  I tried copying the distribution's
   ata_piix.ko and libata.ko drivers into the initrd.gz, but they won't
   load because insmod says Invalid module format.   Does anyone know
   if there's a workaround for this problem? 
  
  Which Debian-Installer do you use ?
  Where did you get the .ko modules from ?
 
 If I install directly from the DVD, which has the loadable kernel
 modules, the disks are properly recognized, which leads me to believe
 that the BIOS setting isn't the issue.

Agreed.

 This is the Debian Installer I used to install over the network: 
 http://ftp.us.debian.org/debian/dists/lenny/main/installer-i386/current/images/netboot/debian-installer/i386/
 
 I also tried taking the libata.ko and ata_piix.ko modules from the
 [..] the DVD [..]
  
 # insmod libata.ko
 insmod: error inserting 'libata.ko' : -1 Invalid module format

I am not sure why it complains.

Interestingly, I never noticed that netboot images and CD images are
very different (see below). And that's reasonable: the initrd should
contains enough drivers, to be able to fetch the remaining
debian-installer .udeb (i.e modules and programs) :

+--+-+-+ 
|DIR(2)| CD  | NET | 
|--+-+-| 
|acpi  | yes | yes | 
|ata   | yes | --  | 
|base  | yes | yes | 
|block | yes | yes | 
|cdrom | yes | --  | 
|char  | yes | yes | 
|hid   | yes | yes | 
|ide   | yes | yes | 
|ieee1394  | yes | yes | 
|input | yes | yes | 
|leds  | --  | yes | 
|misc  | yes | yes | 
|mmc   | yes | yes | 
|net   | --  | yes | 
|parport   | yes | --  | 
|pcmcia| yes | yes | 
|scsi  | yes | yes | 
|serial| yes | yes | 
|ssb   | --  | yes | 
|thermal   | yes | yes | 
|usb   | yes | yes | 
|video | yes | yes | 
|virtio| --  | yes | 
+--+-+-+ 
(2) DIR: the directories in initrd's /lib/modules/*/kernel/drivers

So, the initrd included on a CD/DVD must contains all the IDE, SATA and
CD drivers, so it can later fetch extra .udeb from the CD/DVD (the
network driver are then read from the cdrom
in /pool/main/l/linux-kernel-di-i386-2.6/nic-*)

On the other hand, the initrd provided for netbooting must include all
the drivers so it can later download the extra .udeb from the network.
(the IDE, SATA, CD/DVD drivers are downloaded from
http://ftp.fr.debian.org/debian/pool/main/l/linux-kernel-di-i386-2.6/ )



So, to solve your problem, you probably just have to netboot and proceed
through Debian-Installer menu. Once the network is configured, D-I will
detect the hardware and download the appropriate packages.

If I am correct, your disk should be detected nicely before the
partitioning stage !

If you still have problem, you can send *me* the logs. To retrieve D-I
logs, follow the instruction in this wiki page (screenshots and logs are
retrieved the same way): 
  http://wiki.debian.org/ScreenShots#debian-installer-gui 

Franklin

[1] http://en.wikipedia.org/wiki/Posting_style#toc


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Iceweasel annoyance

2009-11-23 Thread Frank Lin PIAT
On Sat, 2009-11-21 at 18:51 -0800, John Jason Jordan wrote:
 I shouldn't blame Iceweasel, because when I used to use Firefox it did
 the same thing. And they are not the only apps that annoy me with this
 feature.
 
 What is this annoyance? 

Why annoyance?
Your email subject would have been way more descriptive if it was:
Changing the e-mail program used by Iceweasel

 I am on a web page and there is a link for Contact Us. I know little of
 html, but I think the code behind the link is mailto. [..]
 
 So I went into Preferences  Applications in Iceweasel and noted that
 for mailto only Yahoo mail and Gmail were listed. I don't want to use
 either of them; I want it to launch a Compose Message window in
 Sylpheed.

... and if you google for:
 Changing the e-mail program used by firefox

then guess what, the first answer is:
 http://support.mozilla.com/en-US/kb/Changing+the+e-mail+program+used+by+Firefox


BTW, And you can claim it :
   Firefox 3.5.5 was my idea
(because you can select your local program)

note: the solution in this email are 100% not-tested !

Franklin


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Nautilus messed up in testing

2009-11-20 Thread Frank Lin PIAT
On Fri, 2009-11-20 at 20:57 -0800, Alan Ianson wrote:
 On Fri November 20 2009 06:03:18 pm John Jason Jordan wrote:
  This morning I did a fresh install of testing amd64 to a new hard drive [..]
  However, the first time around I discovered that
  Nautilus was messed up. If you click on Preferences it will crash. You
  can't create bookmarks either.[..]
 
 I noticed the preferences in testing weren't working to. In my case I 
 installed unstable and that fixed the problem for me.
(testing is squeeze)

 What I usually do when I run testing is to have both testing and unstable in 
 my /etc/apt/sources.list and I have this in /etc/apt/apt.conf
 
 APT::Default-Release testing;
 
 That way if I do have a problem I can always install the version from 
 unstable. I have found that in most cases that will solve the problem.

I do this too but, but only if it doesn't install a large amount of
package from unstable.

Personally, I set this in /root/.aptitude/config :
  aptitude::UI::Package-Display-Format %c%a%M%S %p %Z %v %V %t;
so the distribution name appears next to the package version.

Franklin


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: SATA disk drivers missing from Debian 5.0.3 network installer

2009-11-20 Thread Frank Lin PIAT
On Fri, 2009-11-20 at 11:06 -0800, Rigoberto Corujo wrote:
 Hi,
  
 I am a new Debian user and am trying to install 5.0.3 over the
 network.  My server has SATA drives and the installer isn't
 recognizing them.  In other words, cat /proc/partitions shows
 nothing.

You might want to try configure your SATA controller in Compatible
mode in the BIOS (instead of AHCI)

 
 I noticed that the network version of the initrd.gz file is missing
 the ata_piix.ko and libata.ko drivers.   These drivers are present in
 the Debian distribution, however.  I tried copying the distribution's
 ata_piix.ko and libata.ko drivers into the initrd.gz, but they won't
 load because insmod says Invalid module format.   Does anyone know
 if there's a workaround for this problem? 

Is Debian-Installer booting ? (the initrd in D-I includes all the
sensible drivers. BTW, on installed systems, the initrd is built with
'MODULES=most' in initramfs.conf, by default)

Which Debian-Installer do you use ?
Where did you get the .ko modules from ?

Franklin


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug de type de clavier entre l'installateur et X après l'installation.

2009-11-19 Thread Frank Lin PIAT
Bonjour,

 Lorsque l'on installe Debian par l'installateur graphique en français,
 le clavier est en azerty. Au premier redémarrage, GDM puis gnome sont
 en qwerty. C'est très déstabilisant, surtout quand son mot de passe
 utilise autre chose que des lettres
 
 Cela semble être du à la configuration de HAL qui spécifie un clavier
 US par défaut sans tenir compte de la langue d'installation.
 
 Comment rapporter ce bug ? je ne sais pas à quel paquet l'assigner.

Il me semble que c'est le package console-setup de Debian-Installer qui
est en charge. Mais comme c'est un probleme d'installation, le mieux est
d'utiliser de déclarer le bug auprès de l'equipe de D-I, donc :
  reportbug installation-report

Franklin

-- 
Lisez la FAQ de la liste avant de poser une question :
http://wiki.debian.org/fr/FrenchLists Vous pouvez aussi ajouter le mot
``spam'' dans vos champs From et Reply-To:

Pour vous DESABONNER, envoyez un message avec comme objet unsubscribe
vers debian-user-french-requ...@lists.debian.org
En cas de soucis, contactez EN ANGLAIS listmas...@lists.debian.org



Re: asterisk-1.6.2 broken on debian squeeze

2009-11-17 Thread Frank Lin PIAT
Hello Rustam,

On Sun, 2009-11-15 at 17:59 +0100, Michael Wagner wrote:
 * Rustam Kovhaev rkovh...@gmail.com 15.11.2009
  when I try to aptitude asterisk, it tells me that
  package asterisk is Broken
  
  aptitude install asterisk
[..]
  The following packages have unmet dependencies:
asterisk: Depends: libopenais2 (= 0.83) which is a virtual package.

 
 the package 'libopenais2' exists only in the stable archiv. So put the
 lines for stable in your /etc/apt/sources.list and try to install again.
 And if you have problems like the above one, you can always try another
 solution from aptitude. Don't hit 'q', but hit the 'n' key and aptitude
 will suggest you another solution.

FYI,

You can search for you package in 
 http://packages.debian.org

Then you can compare the dependencies in stable/squeeze/sid.
As you can see, the maintainer is working on a new version in unstable,
which don't depends on 'libopenais2' (but 'libopenais3').

Now, if you wonder why that version isn't in squeeze yet, you should
click on the link Developer Information (PTS). On that page, click on
the link Check Why (in the problems section). That page[2]
explains that the new version of asterisk is waiting for package uw-imap
(because asterisk depends on libc-client2007e).
uw-imap can only enter squeeze only once all packages that depends on
it's library have been updated to use the new version.

Unfortunately, some packages haven't been updated and uploaded yet (And
once all those new packages are 10 days old, the transition will be able
to occur).

Franklin

[2] http://release.debian.org/migration/testing.pl?package=asterisk


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: AVAHI cupsd warning

2009-11-09 Thread Frank Lin PIAT
On Sun, 2009-11-08 at 17:44 -0400, Paul Cartwright wrote:
 On Sun November 8 2009, Frank Lin PIAT wrote:
  FYI, this has been fixed in the version of cups in Testing  (it now uses
  Avahi's native library: libavahi-client3)
 
 great ! Just good to know there isn't anything I did wrong. I can safely 
 ignore it, until I get to testing:)
 I was thinking of upgrading to testing anyway.

(Usual disclaimer)

Using Debian stable is the right thing to do.




-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: what's your favourite FLOSS?

2009-11-09 Thread Frank Lin PIAT
On Mon, 2009-11-09 at 14:10 +0200, Tshepang Lekhonkhobe wrote:
 On Sun, Nov 8, 2009 at 13:46, Frank Lin PIATfp...@klabs.be wrote:
  - Anonymous contributors
 
 can I liken this to one-time patch senders?

I was thinking of people who silently contribute to open-source
softwares, and whose names don't appear in changelog, copyright or
AUTHOR files... despite their valuable contribution.
(think people who belong to teams of developers, etc)

Franklin


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Major problems 2.6.26 kernel in lenny

2009-11-08 Thread Frank Lin PIAT
Hello,

On Sat, 2009-11-07 at 08:12 +, Virgo Pärna wrote:
 When I upgraded my Debian computer form Etch to Lenny, I had to give up 
 running 2.6.26  kernel for following reasons (computer has AMD Sempron 3000+ 
 CPU).
  [..]

 Now, with 686 kernel, I can no longer boot up - it just stops, when 
 checking disks - it shows, that it sucessfully checked /boot partition, that 
 has ext3 filesystem, but that's all.

Did you try to start in runlevel 1 (i.e recovery mode)?
What happens when you fsck your partition? 
Your problem might be the next script (in /etc/rcS.d/).

I doubt it would change anything, but did you try -486 kernel?


 Other partitions have jfs filesystem. 
 Amd64 kernel boots up fine, but it still cannot unmount smbmounted shares 
 as user.

Well, as a workaround, you could write a perl script to run with sudo.


Regarding your bugs:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=528746
- not supported by developers, because the client OS isn't 
   supported anymore.

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=523780
- You could ask the maintainers if they need more information on this
   bug. You could describe the other scenario that you have tested:
   Which other kernel you tried? Do you have the problem with other 
   client computer (running a recent version of windows)? What does
   mount | grep /mnt shows?

Hope this helps,

Franklin


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: what's your favourite FLOSS?

2009-11-08 Thread Frank Lin PIAT
On Thu, 2009-11-05 at 15:56 +0200, Tshepang Lekhonkhobe wrote:
 Here's a template where you can fill in your favourites If something
 doesn't fit in any of the categories, put it under misc utilities.
 Please don't add what you haven't really used. You can include more
 than one entrant per category.
I often have more than one entry, because I don't use when I am home, at
work or on the go.

 audio editor:
none
 audio player:
ncmpc/gmpc / rythmbox
 cd-ripper:
which ever is the default in Gnome.
 DBMS:
mysql (and sqlite)
 desktop environment OR window manager:
gnome
 development:
vim
 disc burner:
wodim
 e-mail client:
evolution + squirrelmail
 file manager:
mc + nautilus
 finance:
 ftp client:
mc (midnight commander) /  wget
 games:
 image creator/editor:
gimp  inkscape
 image viewer:
gthumb  eog
 instant messenger:
irssi / xchat
 mathematics:
 misc utilities:
 p2p:
 package manager:
aptitude, dpkg
 pdf/ps-reader:
evince
 spreadsheet:
openoffice
 terminal emulator:
gnome-terminal ; screen
 text editor:
vim
 video player:
totem
 web browser:
iceweasel
 word-processor:
you mean the legacy tool invented in the 80s?
openoffice
 non-free:
aptitude search ?Section(non-free) ~i -F %p

firmware-iwlwifi firmware-linux-nonfree intel-microcode make-doc tar-doc
ttf-xfree86-nonfree unrar w3-recs

 SPECIAL CATEGORIES
 anything unreleased and highly anticipated:
- Squeeze, what else? (especially Debian GNU/kFreeBSD)
- Some docbook viewers (CLI and GUI)

 anything dying/dead:
- info pages

 anything deserving great honours (EG. Linux, GCC):
gpg
 any organisation/community deserving great honours (EG. GNU, Debian):
Debian, Freedesktop, opensource.org...

 any FLOSS developer deserving great honours (max 5 at most, unless you 
 insist):
- Maintainers of components that no one notices (libraries,
  simple and so call standard utilities...)
- Anonymous contributors


Regards,

Franklin


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: AVAHI cupsd warning

2009-11-08 Thread Frank Lin PIAT
Hello,

On Sun, 2009-11-08 at 09:14 -0400, Paul Cartwright wrote:
 I was browsing my /var/log files this morning, and happened to tail messages. 
 I found these:
 Nov  7 14:22:05 paulandcilla cupsd[23014]: *** WARNING *** The program 
 'cupsd' 
 uses the Apple Bonjour compatibility layer of Avahi.
 Nov  7 14:22:05 paulandcilla cupsd[23014]: *** WARNING *** Please fix your 
 application to use the native API of Avahi!
 Nov  7 14:22:05 paulandcilla cupsd[23014]: *** WARNING *** For more 
 information see http://0pointer.de/avahi-compat?s=libdns_sde=cupsd

The version of cups provided in Lenny[1] uses a compatibility layer of
Avahi (package libavahi-compat-libdnssd1).
Therefore, Avahi is complaining/suggesting the developer [of cups], to
use avahi libraries directly.

FYI, this has been fixed in the version of cups in Testing  (it now uses
Avahi's native library: libavahi-client3)

 # dpkg --list cups
 ii  cups   1.3.8-1+lenny6 Common UNIX Printing System(tm) - server
[..]
 
 so, I guess my question is, do I need to change anything?
 
 running lenny, up-2-date

This message is intended to the developers (i.e it isn't intended to you
[the system admin]).
You can safely ignore this message. 

Regards,

Franklin

[1] http://packages.debian.org/lenny/cups
[2] http://packages.debian.org/squeeze/cups



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Empty password field for libuuid Debian-exim - Why not a security risk?

2009-10-16 Thread Frank Lin PIAT
On Thu, 2009-10-15 at 22:55 -0400, Dr. Mark A. Friedman wrote:
 Upon installation, Debian includes users libuuid and Debian-exim in
 /etc/shadow with an empty password field:
 

Which release do you use?

I checked some of my systems, those accounts are locked (shadow have an
exclamation mark in the password field).

Franklin


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: A bug in debian, but i don't know which package

2009-10-15 Thread Frank Lin PIAT
On Wed, 2009-10-14 at 22:41 -0600, Paul E Condon wrote:
 ... I prepared a new partition and used my netinstall CD to install a
 complete Xfce system there. This is not the first time I have 
 installed Debian, so everything went pretty smoothly and shortly I had
 an Xfce system up and running and looking like the screen shots
 on the web, but...
 
 It didn't seem to have a way to mount memory sticks like I had 
 become used to under Gnome, particularly the automatic creation
 of a mount-point in /media using the volume label for the name.
 
 ... I finally determined, to my satisfaction,
 that the hal package was needed to make the feature work. [..]
 
 Anyway, I think that hal should be included in the Xfce install that
 is burnt into the netinstall CD.

Well, Xfce's file manager is thunar. The thing is that thunar does
recommends hal, so aptitude would install it by default when you
install xfce.

Until Lenny Debian-Installer,including tasksel, did not install the
recommended packages, but only packages. At the same time, Debian
installer uses the Tasks and virtual package to list the package that
should be installed for each type of installation (gnome, xfce...
laptop,desktop... fileserver, webserver...). AFAIK, the purpose was to
be able to finely tune the content of Gnome/KDE/XFCE/LXDE, to fit the
maximum into the CD. (this is done very late in the release cycle).

In Squeeze, DebianInstaller might install all recommends by default (the
issue is that it would increase the default installation size
significantly)

  I know that Xfce is an avowedly
 minimalist environment, but the Debian install version of Xfce is
 definately not minimal.

Thunar maintainer seems to agree with you, since thunar recommends hal
(otherwise, it would be suggested only)

 So it seems to me that this package was simply overlooked when
 configuring tasksel, but maybe not.

may be.

 What is the package that determines what gets put into the tasksel for
 each of the different environments? I'd like this to get on a to-do
 list for the up-coming Squeeze netinstall CD.

The description and content of tasksel tasks are contained in
tasksel-data's /usr/share/tasksel/debian-tasks.desc

Read http://wiki.debian.org/KDE http://wiki.debian.org/Gnome for more
information about DesktopEnvironements tasks. I have little interest in
Xfce, so I never updated the page http://wiki.debian.org/Xfce

 An afterthought: Why does tasksel continue to exist and be used? 

The Debian-Installer team are the right person to ask. As I mentioned
above, I think it's essentially to determine the content of Debian CDs.

 I know of no way to look up what will be installed before I ask 
 commit to a run of tasksel. If I try something and there is a disaster,
 I have very little to go on to try to clean up the mess. But the
 apt system and aptitude are very helpful in avoiding serious errors.

tasksel has a test mode, the the manpage.

 The developers who configure tasksel for various situations surely
 know how to write package dependency lists. If special packages of
 packages for various popular cibfugurations were written, then people
 like me could use aptitude to determine what goes into a big, messy
 thing like a fully  configured desktop environment. 

I believe they are aware of the problem. However, tasksel is used, very
late in the release process, to finely tune what is installed in the
CDs.

You can read http://lists.debian.org/debian-boot/2009/03/msg00413.html

Did you install Debian Lenny or Debian Testing ? If you installed
testing, You should file an installation-report bug, using :
  reportbug installation‐report
And quickly explain that Xfce should install hal.

Regards,

Franklin


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Debian preseed errors with DHCP and network parameters

2009-10-04 Thread Frank Lin PIAT
On Sat, 2009-10-03 at 23:51 +0200, Josep M. wrote:
 Hello.
 
 I have a preseed file, all runs ok, except install network manually,
 always install DHCP, I have disabled DHCP and debconf is well
 configured, I have four problems :
 
 1 - For install network without enable dhcp I must write when boot:
 
 netcfg/disable_dhcp=true preseed/url=ftp://192.168.x.x/preseed.cfg 
  
 2 - I must enter network info manually, all network info in preseed.cfg
 is not used

Chicken and egg problem... to fetch the preseed file, your system needs
an IP address (which can be obtained by DHCP, or manually specified on
the command line).

I suppose that in most case, the server are netboot'ed using DHCP, to
perform the installation, then the computer is configured to use static
IP address (using the preseed file???). Of course, the DHCP could be
have MAC-IP address reservation.

BTW, If you go for DHCP you might want to have a look at the
auto-install/enable=true command line.

Regards,

Franklin


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: John the Ripper

2009-09-27 Thread Frank Lin PIAT
Hi,

On Sat, 2009-09-26 at 22:45 -0700, Mike McClain wrote:
 I've had John running since Jan '08 and it's yet to break my password.
 Admittedly the password is non-trivial being 13 characters, mixed
 upper and lower case, numbers and punctuation but I keep expecting
 John to send me a note saying it's been cracked since John runs
 six hours each night and my computer is on at night more often than
 not.
 Is there some further configuration necessary to John installed with
 apt-get before it will crack normal Debian passwords?
 BTW, this is a mostly stock Etch system.

See How long should I expect John to run? in/usr/share/doc/john/FAQ.gz

Regards,

Franklin


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: logrotate: olddir on different device?

2009-09-27 Thread Frank Lin PIAT
On Sat, 2009-09-26 at 11:59 +0200, Sascha Silbe wrote:
 ld (compressed) logfiles to a directory on a 
 different device (from SD card to hard disk in this case).
 Unfortunately 
 the olddir config option only works if both directories are on the 
 same device (probably for easier handling of the first rotate step).

That's probably to make sure that moving the file is immediate/atomic.

 Lastaction would be an option, but then I'd need to duplicate the
 entire rotation / removal logic (configured per logfile).

This might still be an option, if you set dateext in logrotate (the
old files are then named mylogfile.MMDD*)

Then periodically run something like:
  cd /path/to/logs ; ls -1 mylog* | sort -r | sed '1,5d' | xargs echo rm
(This assume you want to preserve the 5 last log files)

Once you have tested it, you can replace echo rm with rm ;)

 Maybe someone has a better idea?

There are probably better ideas, but this quick hack should work.

Regards,

Franklin


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: LVM2 raid1 without mdadm - Break the mirror and re-synchronize it back the other way around.

2009-09-27 Thread Frank Lin PIAT
Hi,

[Don't cross post. I am dropping debian-amd64, since the issue isn't
related to amd64]

On Fri, 2009-09-25 at 23:30 -0300, Andres Migliazzo wrote:
 
 I currently have /boot  and / (root) on raid 1 with mdadm. Which is
 useful for me specially when I patch the server because I break the
 mirror prior the patching and if something goes wrong is pretty
 straight forward to synchronize the mirror the other way around and
 fall back all the changes. 

Have you considered using LVM snapshots for this purpose?

Regards,

Franklin


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Emerald themes

2009-09-27 Thread Frank Lin PIAT
Hello,

On Fri, 2009-09-25 at 10:34 -0700, Freddy Freeloader wrote:
 Does anyone know why the Emerald themes have been dropped from the 
 Debian repositories?  Or, were they never there and I was just getting 
 them from Shame's repositories and not paying attention to where they 
 came from? 
 
 Some of the Emerald themes have a look that is far superior, imo, to 
 anything available outside of Emerald. 

The Request for package (RFP) was never closed, so it wasn't in
Debian:
  http://bugs.debian.org/522935


FYI, the removal of package from the archive are tracked on the
FTP-Master page:
  http://ftp-master.debian.org/#removed

Regards,

Franklin


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Lenny is acting screwing after alsa sourcecode install

2009-09-27 Thread Frank Lin PIAT
Hello,

On Sat, 2009-09-26 at 15:57 -0500, Laurin d'Volts wrote:
 I'm using Lenny stable.
 Linux debian 2.6.26-2-686-bigmem #1 SMP Wed Aug 19 06:34:05 UTC 2009
 i686 GNU/Linux
 
 The boot process is hanging on cupsd.

Keep in mind that the log files usually displays the action that are
completed (either successful of failed). So if you see 
 Starting Common Unix Printing System...
It probably means that the boot stucked in one of the next steps.

You can run ls -1 /etc/rc2.d/ to list the init script, and find out
which scripts are run after CUPS in runlevel 2.

 After logging into a user after GDM I get something like this:
 
 FAILED TO INITIALIZE HAL!

HAL is started much before gdm. Check for errors in your boot logs.

 and then it won't give me my networkmanager icon.
 I had to root terminal a dhclient command to get online.

No hal = no Network-manager ;)

 Following are the things I did to install alsa. I know that these were
 out of date. I didn't notice at first. I guess that screwed up my
 system, and hopefully someone will know how to fix this.
 
 I did as said in this section: Update to the Latest Version of ALSA
 - https://help.ubuntu.com/community/HdaIntelSoundHowto
 
 As I said before, I did it as that website said. I did not do it as the
 website it referenced.

Debian isn't Ubuntu, and vice-versa.
Don't blindly apply solution for the one to the other (the same way that
you shouldn't blindly apply solution for Debian Etch on Debian Lenny)

 Once I noticed I did something out of date, it was too late.

The Alsa stuffs you installed have broken HAL...

Revert you changes... then ask for help about your initial sound
problem.

 I think I'll install Sid next time if I want the sound card working.

Keep in mind that Sid is also known as Unstable = untested/new
versions of packages are entering that repository every day. Releasing a
distribution as stable involves spending months fixing those new bugs.




-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: ikiwiki + Apache 1.3 =?= NFG/SNAFU

2009-07-25 Thread Frank Lin PIAT
On Sat, 2009-07-25 at 03:00 -0400, Eric d'Alibut wrote:
 I notice the ikiwiki docs provide httpd server config hints only for
 Apache 2 and lighttpd. Should I take this as an implicit hint that my
 attempt to run ikiwiki (that *is* hard to type!) on the older Apache
 vintage are foolhardy, extremely ill-advised, a recipe for disaster,
 paving the road to perdition?
 
 ii  ikiwiki 3.14159a wiki compiler
 ii  apache  1.3.34-4.1+etch1  versatile,
 high-performance HTTP server

ughhh #...@?

You seems to be running the latest version of ikiwiki (from unstable),
with an apache version from etch #...@?

One sensible reason why ikiwiki 3.14159 doesn't mention apache v1, is
because apache v1 is deprecated upstream, and it is removed in Debian
Testing and Unstable

Franklin


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: request for a mono vote.

2009-07-25 Thread Frank Lin PIAT
Hi,

On Sat, 2009-07-25 at 20:06 +0300, Πρεκατές Αλέξανδρος wrote:
 As a dedicated  debian user i want to express my concerns and worries 
 regarding mono inclusion in main
 and i  ask for a vote for mono in non-free/main because:
 
 1) I feel like microsoft is not clear about the license issues.
 2) MS is a monopoly in desktop OS market and its monopoly aggresive 
 behavior has been proven
 in courts and is evident every day. see netbook market for example. 
 Wouldnt a pro-ms pro-monopoly  move harm the excellent name Debian has 
 build?
 3) Is essential to me and the way i perceive the debian identity to has 
 a clear position out of middleware rivalries of
 multinationals companies not favoring or taking sides.

Correct me if I am wrong, but Debian Testing now installs the meta
package gnome-desktop-environment by default (and not gnome, which
depends or recommends extra tools like gnome-office, gnumeric,
abiword ... and banshee, tomboy [which depends on mono])

So the problem is over, isn't it?

Franklin


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Grub2 made my systeum unbootable

2009-07-21 Thread Frank Lin PIAT
On Tue, 2009-07-21 at 19:04 +0100, thveillon.debian wrote:
 Anthony Campbell wrote:
  On 21 Jul 2009, thveillon.debian wrote:
  Anthony Campbell wrote:
  Rashly, after today's upgrade I followed the exhortation in the grub
  legacy package to move to grub2. I now cannot boot at all; I just get
  the message Grub and nothing more.
 
  Looking at /boot/grub with my rescue disk I see all sorts of files I
  don't recognize but no menu.lst. 

The configuration file has changed.
From my memory, it's /boot/grub/grub.cfg, but it's very different from
the previous one (it's actually a script, not a configuration file,
see /etc/*grub* stuffs)

  Is there any way to restore things? Please don't tell me I have to
  reinstall!

As usually, boot from the installation CD, choose the rescue mode.
I suppose you have to choose to chroot in the target system, then use
aptitude to install grub legacy (and therefore remove grub 2)

 grub hasn't been installed properly, you have to reinstall it from a
 live-cd or use a tool like SGD (SuperGrubDisk)

Such external tools shouldn't be needed.

Franklin


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Debian AMD64 and Intel CPUs

2009-07-13 Thread Frank Lin PIAT
On Sun, 2009-07-12 at 20:22 -0700, David Fox wrote:
 On Sun, Jul 12, 2009 at 2:24 PM, T o n gmlist4sunt...@yahoo.com wrote:

  Can someone tell me what kind of Intel CPUs have that EM64T?
  Any easy rule of thumb? E.g., can I safely assume all those Intel
  64 Duecore are

 One needs to be careful with Intel nomenclature. Some CoreDuos are 32
 bit only, but most if not all core 2 duos can do 64bit. Actually, 64
 bit is pretty commonplace these days, unless you have a fairly old
 processor.

 But to be certain, the rule of thumb is to do a 'cat /proc/cpuinfo' and
 look for the lm (long mode) flag. The presence of that flag
 indicates 64 bit capability.

The lazy way:

Fetch Debian's multi arch CD, which contains 3 architectures: amd64,
i386 and powerpc:
http://cdimage.debian.org/cdimage/release/5.0.2/multi-arch/iso-cd/

The CD's bootloader stuffs are configured to select the best
architecture supported by your hardware (you can still manually force i386
in the advanced menu).

Franklin



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: How to activate VESA mode on boot-up?

2009-07-07 Thread Frank Lin PIAT
On Sun, 2009-07-05 at 21:59 +0200, Robert Latest wrote:
 
 Long story short, when I put vga=ask in grub's menu.lst, I can't
 enter anything but the 80-by-something modes. I've searched the Net up
 and down, have tried the 0x30... modes in hex, in decimal , with the
 '0x' and without ... nothing. The kernel simply doesn't know any
 additional modes (and doesn't list them. either).

Assuming you are running a Debian kernel,

Quoting /usr/share/doc/linux-doc-2.6.26/Documentation/kernel-parameters.txt.gz
 vga=[BOOT,X86-32] Select a particular video mode
 See Documentation/i386/boot.txt and
 Documentation/svga.txt.
 Use vga=ask for menu.
 This is actually a boot loader parameter; the value is
 passed to the kernel using a special protocol.


The videomodes are then documented in 
  /usr/share/doc/linux-doc-2.6.26/Documentation/fb/vesafb.txt.gz, especially:
 So the table for the Kernel mode numbers are:
 
 | 640x480  800x600  1024x768 1280x1024
 +-
 256 |  0x3010x3030x3050x307
 32k |  0x3100x3130x3160x319
 64k |  0x3110x3140x3170x31A
 16M |  0x3120x3150x3180x31B

I usually have vga=791 (the decimal for 0x317),  to use 1024x768.

Hope this helps.

Franklin

Note: xen dom0 doesn't support framebuffer.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Boot issue, new installation of Lenny with mirrored /boot and mirrored lvm2

2009-07-03 Thread Frank Lin PIAT
Hi,

On Fri, 2009-07-03 at 12:53 +1000, Andrew McGlashan wrote:
 
 I have 2x IBM xSeries 346 servers, one has a RAID card (let's call this 
 machine 346a) and the other only has onboard SCSI (346b).
 
 [..] it stops at a 
 special initramfs sh after giving up on the lvm volume group (not found) ... 
 from there I can activate the md0 and md1 mirrors and activate the lvm2 
 logical volumes, I then exit the sh and boot continues as normal.
 
 I've checked the kernel and module files for each machine, they are 100% 
 identical.  I've checked all files in /boot and /boot/grub and the 
 differences don't give me any clues.

Your problem is probably inside your /boot/initrd... file

You might want to rebuild it, using update-initramfs

Also, did you read /usr/share/doc/mdadm/rootraiddoc.97.html (which is
outdated, but gives good overview)

Hope this helps,

Franklin


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Prepartitioning, Grub location for Lenny?

2009-06-28 Thread Frank Lin PIAT
On Sun, 2009-06-28 at 08:22 -0500, postid wrote:
 I'm preparing to install Debian Lenny on an IBM R40 laptop. My 
 old layout was as follows:
 
 hda1=primary=WinXP
 hda2=primary=Debian Sarge
 hda3=primary=swap
 hda4=primary=Knoppix
 
 (There's also a hidden partition with WinXP recovery stuff at the 
 end of the drive. I'm going to leave that designated by the BIOS 
 as hidden.) I've wiped the partitions and reinstalled WinXP on 
 hda1.
  I'll again use Partition Magic under WinXP (or a parted 
 magic live CD) to create a new layout:

For the record, You don't have to use special tools. Debian-Installer
can shrink Windows partition. (and it can create almost any partition
you want)

 hda1=primary=6GB=WinXP
 
 hda2=primary=10GB=Debian Lenny /
 
 hda3=primary=12GB= /home

I I were you, I wouldn't use a primary partition for /home (you you can
use that partition to install another OS)


 In order to get WinXP to boot during the reinstall, I did 
 an install-mbr /hda.

??

 After installing Lenny, should I install 
 Grub on the mbr or should I locate it somewhere else (for 
 example, at the beginning of hda2)?

Usually, you should install grub on the MBR.

However, in your situation, you could reinstall IBM's rescue tool's
boot-loader on the MBR, then install grub on Debian's partition (you
need to set Debian's partition as the bootable one, I guess.)... But
be prepared it's going to be a tough game.

So I recommend you just install grub on the MBR (i.e on /hda). If you
ever want to use the IBM's rescue tool, you would just restore the
tool's MBR.

Franklin


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: java applets

2009-06-28 Thread Frank Lin PIAT
On Sun, 2009-06-28 at 14:18 +0200, Jan Willem Stumpel wrote:
 Frank Lin PIAT wrote:
 
  Can you list the plugins in iceweasel, typically, with the _one_line_
  command:
  
  find /usr/lib/iceweasel/plugins/  -name *.so \
  ^^^
   Do you actually use Icweasel ?

| xargs -n 1 readlink -m | xargs dpkg -S
  
 This gives:
 sun-java5-bin:
 /usr/lib/jvm/java-1.5.0-sun-1.5.0.18/jre/plugin/i386/ns7/libjavaplugin_oji.so
 ^^^
Do you have sun-java5-plugin installed ?


 about:plugins in iceweasel, on the other hand, says I have plugins for
 
 Shockwave Flash
 Adobe Reader 9.1
 Helix DNA Plugin: RealPlayer G2 Plug-In Compatible

:(

 So neither Icedtea (for openjdk-6) nor the Sun plugin are
 available; 

Note that you can only have one java plugin enabled at a time.

$ ls  /usr/lib/iceweasel/plugins/libjavaplugin.so -al
lrwxrwxrwx. 1 root root 41 2009-06-10 21:35 
/usr/lib/iceweasel/plugins/libjavaplugin.so - 
/etc/alternatives/iceweasel-javaplugin.so

$update-alternatives --display iceweasel-javaplugin.so 
iceweasel-javaplugin.so - auto mode
 link currently points to /usr/lib/jvm/java-6-sun/jre/lib/i386/libnpjp2.so
/usr/lib/jvm/java-6-sun/jre/lib/i386/libnpjp2.so - priority 63
Current `best' version is /usr/lib/jvm/java-6-sun/jre/lib/i386/libnpjp2.so.

 and so, of course, applets do not work. It has been
 like this for ages now; am getting a bit desperate. Whatever I do,
 I cannot get a working Java plugin back.

If everything else fails:
- Purge all JRE
  See:   aptitude search ?and(~Pjava-runtime,~i)
- Purge iceweasel
- Reinstall iceweasel
- Reinstall sun-java6-plugin
- Create a new user account
- Test the JRE on http://java.com/en/download/help/testvm.xml

If that fails, I hope someone else can help you, because I can't think
of anything else.

Franklin


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Prepartitioning, Grub location for Lenny?

2009-06-28 Thread Frank Lin PIAT
On Sun, 2009-06-28 at 10:27 -0500, postid wrote:
 On Sunday 28 June 2009 09:01:45 am you wrote:
  On Sun, 2009-06-28 at 08:22 -0500, postid wrote:
 
   hda2=primary=10GB=Debian Lenny /
  
   hda3=primary=12GB= /home
 
  I I were you, I wouldn't use a primary partition for /home
  (you you can use that partition to install another OS)
 
 Why not install /home as primary?

If you are a multi-multi-boot guy, you might need a spare primary
partition at some-point

  I've read that data recovery is 
 easier when done from a primary partition. Is that not so?

It may help recovering broken partition table, but restoring a backup is
the best solution ;)

  Or 
 are there other considerations? Unlike Windows, Linux can be 
 bootable even when not installed early on the disk.
 
 I was also considering having WinXP, Debian's / and another 
 distro as primary partitions as you suggest, then swap, /home 
 and another distro as logical partitions.  Better? Why?

Yep.

 I've been trying to understand the primary versus logical issues 
 and frankly the more I read, still the more undecided I am.

Usually, the boot partition of operating systems needs to be installed
on a primary partition.
Multiple operating systems of the same vendor can usually boot from
the same boot partition.

Regards,

Franklin


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: how to activate usb port

2009-06-27 Thread Frank Lin PIAT
On Fri, 2009-06-26 at 20:58 +0100, abdelkader belahcene wrote:
 Hi,
 Sometimes (Not Always)  , the usb port are not activate, lsusb gives 
 $lsusb
 Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 
 while usb pen (flash disk) and webcam are both connected !!!
 
 I tryed other usb  port, plug in and out, nothing is changed !!!?
 
 the light of usb pen  is off, no lights, while normally it is on.
 
 How to activate the ports?  is it necessary to reload modules , if so
 which one?

I don't think you need any special step, but...
How long has it been like that? What has changed since then?
Does /var/log/syslog have entries related to USB?
It could be due to a lack of power (is your laptop on battery?)
trying connecting just one device at a time (for diagnosis)?

Franklin


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: editing protected fiels in a word document/remove password

2009-06-26 Thread Frank Lin PIAT
On Thu, 2009-06-25 at 18:14 -0600, lee wrote:
 Hi,
 
 how do I remove a password or at least edit protected fields in a MS
 word document that I'm editing with openoffice?
 
 I'm trying to fill out a form, but some of the information requested
 is not applicable. I need to replace some Yes/No boxes with my own
 text (does not apply), but openoffice doesn't let me edit
 this. These fields appear to be in a table.

I am definetly not a OOo expert, but you probably have to show the
Toolbar ViewToolbarsForm Controls,

Then click on the Design mode On/Off, to be able to change the
properties.

My 2¢,

Franklin


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: what happened to ftp.de.debian.org

2009-06-22 Thread Frank Lin PIAT
On Mon, 2009-06-22 at 08:44 +0200, Soren Orel wrote:
 Doesn anybody know?
 
 I mean it was down for a few hours.
 Just asking!! :P
 
 Hardware upgrade? :)

No announcement, either on 
 http://lists.debian.org/debian-infrastructure-announce/
or http://lists.debian.org/debian-mirrors/

That mirror seems to be hosted by Dresden university, so if you can
speak German, you can check there.

Franlin


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: is it possible to install a desktop-manager without python and perl?

2009-06-22 Thread Frank Lin PIAT
On Mon, 2009-06-22 at 17:40 +0800, 明覺 wrote:
 On Mon, Jun 22, 2009 at 4:54 PM, Tzafrir Cohentzaf...@cohens.org.il wrote:
  On Mon, Jun 22, 2009 at 09:17:18AM +0800, 明覺 wrote:
  I want to keep the programs in my system all written in c/c++, no
  python or perl or any other programming languages, is it possible to
  reach it? I removed the 2 packages, python and perl, from my system,
  and of cause, I losed my desktop, is it possible to install a desktop
  manager without perl and python? which is the proper desktop manager?
  thanks
 
  Let's throw some data into this discussion:
[..]
  Debconf needs perl. And you won't have much of a Debian system without
  debconf. I wouldn't try removing that one.

I have quickly analyzed the files in my /usr/bin:
 235 shell script
 71 python programs
 241 perl programs
 986 ELF programs

 So does it mean debian determines
 the use of python and perl? could you help recommend some
 distributions that do not need perl or python? thanks

Which company would hire a programmer that is unwilling to learn/use
anything but C/C++? Your employability is low, and it will get lower and
lower.

Sorry for telling you the truth, but you can't live in a world with only
C/C++

Franklin


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Pidgin 2.5.7 backport to Lenny

2009-06-22 Thread Frank Lin PIAT
On Mon, 2009-06-22 at 15:55 +0200, Jens Peter Secher wrote:
 I have recompiled pidgin 2.5.7-1 for Lenny and put it at
 http://people.debian.org/~jps/lenny/

That's nice. Are you willing to provide security updates?

Franklin


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Lenny does not recognise blank CD; Etch does.

2009-06-22 Thread Frank Lin PIAT
On Mon, 2009-06-22 at 16:49 +1200, Bruce Ward wrote:
 On Sun, 2009-06-21 at 12:18 +0200, Frank Lin PIAT wrote:
  On Sun, 2009-06-21 at 21:35 +1200, Bruce Ward wrote:
   On Sat, 2009-06-20 at 16:35 +0200, Frank Lin PIAT wrote:
On Sat, 2009-06-20 at 20:21 +1200, Bruce Ward wrote:
 I have a machine with a dvd writer (/dev/hdc) and a cd writer 
 (/dev/hdd).

 under Lenny, the CD writer will not recognise a blank CD. Nothing. 
 The 
 DVD writer will recognise one.

 Any ideas?

Humm... you might want to check how HAL detects that devices. There are
some GUIs, but you can send a report with:

 hal-find-by-capability  --capability storage.cdrom | xargs hal-device

I suppose it's important to have a line with storage.cdrom.cdrw =
true, then we can check storage.removable.media_available ...

Franklin

   Thanks for the ideas Franklin.
   This looks like it might open a can of worms ...
  
  Actually, nautilus-cd-burner's README.Debian states:
  
   This code detects available CD writers by examining files in /proc.
It will try /proc/sys/dev/cdrom/info which is created by the 'cdrom'
module, and /proc/scsi/sg/devices which is created by the 'sg'
module.  One of these modules must be loaded for nautilus-cd-burner
to work.
 I'm running standard Debian  2.6.26-1-686 kernel. Neither installation
 has sg devices; both have /proc/sys/dev/cdrom/info listing both hdd and
 hdc. The only difference between them is that the etch one thinks that
 hdd:
   Can read MRW:   1
   Can write MRW:  1
   Can write RAM:  1

That's odd.
Check if upstream program has it's own mailing list, or file a bug.

Regards,

Franklin


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Lenny does not recognise blank CD; Etch does.

2009-06-21 Thread Frank Lin PIAT
On Sun, 2009-06-21 at 21:35 +1200, Bruce Ward wrote:
 On Sat, 2009-06-20 at 16:35 +0200, Frank Lin PIAT wrote:
  On Sat, 2009-06-20 at 20:21 +1200, Bruce Ward wrote:
   I have a machine with a dvd writer (/dev/hdc) and a cd writer 
   (/dev/hdd).
  
   under Lenny, the CD writer will not recognise a blank CD. Nothing. The 
   DVD writer will recognise one.
  
   Any ideas?
  
  Humm... you might want to check how HAL detects that devices. There are
  some GUIs, but you can send a report with:
  
   hal-find-by-capability  --capability storage.cdrom | xargs hal-device
  
  I suppose it's important to have a line with storage.cdrom.cdrw =
  true, then we can check storage.removable.media_available ...
  
  Franklin
  
 Thanks for the ideas Franklin.
 This looks like it might open a can of worms ...

Actually, nautilus-cd-burner's README.Debian states:

 This code detects available CD writers by examining files in /proc.
  It will try /proc/sys/dev/cdrom/info which is created by the 'cdrom'
  module, and /proc/scsi/sg/devices which is created by the 'sg'
  module.  One of these modules must be loaded for nautilus-cd-burner
  to work.

So, check if the appropriate modules are loaded, then have a look on the
kernel side (which Kernel do you use? can you test 2.6.26 or 2.6.30)

Franklin


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: java applets

2009-06-21 Thread Frank Lin PIAT
Hello,

On Sun, 2009-06-21 at 14:16 +0200, Jan Willem Stumpel wrote:
 I just want to install a Java runtime environment which will allow
 me to see Java applets in action. It seems I have the choice of
 (at least)
 
 default-jre
 gcj-4.4-jre
 gcj-jre
 icedtea-6-jre-cacao
 openoffice.org (includes its own jre, apparently)
 openjdk-6-jre (required by Azureus/Vuze; it does not seem to
 accept other Javas)
 sun-java5-jre
 sun-java6-jre

The JRE package don't provide web browser plugins (to use applet), you
need to install an extra package, which contains the plugin.

 Today I did another attempt: rigorously dpkg --purge'd any trace
 of any other jre than openjdk-6-jre. It does not have a mozilla
 plugin, but suggests installing icedtea6-plugin and
 sun-java6-fonts. But then sun-java6-fonts wants to install
 sun-java6-bin and sun-java6-jre, and suggests sun-java6-plugin
 and ia32-sun-java6-plugin.

Yep, so I suppose you installed the whole thing.

 And the icedtea6-plugin does not work...

doesn't work is a bit short.
What did you do (restart the web browser?), What did you test?, what
worked what didn't?
Does the page about:plugins lists the plugins?
Did you test http://java.com/en/download/help/testvm.xml ?

 This is dependency hell.

Humm, installing sun-java6-plugin (or sun-java5-plugin or
icedtea-gcjwebplugin) should pull all the required dependencies.

 Does anybody know of a decent tutorial
 for setting up jre, any jre, on Debian?

Hopefully, aptitude install sun-java6-plugin should be enough.

 With only one boundary condition: it should work. I haven't been able
 to see applets working for about half a year now.



More on http://wiki.debian.org/Java


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: mixing debian and ubuntu [WAS] Re:

2009-06-21 Thread Frank Lin PIAT
On Sun, 2009-06-21 at 09:56 -0400, Celejar wrote:
 On 21 Jun 2009 07:31:11 -
 sai ram k_saira...@rediffmail.com wrote:
 
  Dear Friends! 
  I use Ubuntu Dapper Drake (on x86 pc) and wanted to install isomaster
  software package about which I read in a linux magazine. As this package
  was unavailable in my synaptic package manager with Ubuntu repositories,

Mixing distributions is a bad idea. If you need more recent versions,
you should consider upgrading to a more recent version of Ubuntu (or
Debian ;)

  I downloaded the package from Debian website.

If you don't want to upgrade your distro, you should pick the package
from a distribution as close from the orignal as possible.
In this situation, http:// packages.ubuntu.com/isomaster says it's from
Hardy.

But again Mixing distributions is a bad idea (Of course, it is
likely to solve your current problem, but it is also likely that you
will face some [compatibility] problems that no one have).

  While attempting the installation, I encountered dependency errors. 
 I believe these errors can be overcome by adding appropriate Debian 
 repositories to the etc/apt/sources.list file of my Ubuntu OS.

  (3) give me the exact debian package source location lines, that I
  need to add to my etc/sources.list file, so I can henceforth install
 packages from Debian repositories without any dependency errors.
 
 deb http://http.us.debian.org/debian stable main contrib non-free
BTW, the URL are http://ftp.XX.debian.org (the http.us.debian.org exists
for backward compatibility)

Franklin


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: java applets

2009-06-21 Thread Frank Lin PIAT
On Sun, 2009-06-21 at 16:40 +0200, Jan Willem Stumpel wrote:
 Frank Lin PIAT wrote:
 
  Humm, installing sun-java6-plugin (or sun-java5-plugin or 
  icedtea-gcjwebplugin) should pull all the required
  dependencies.
 
 Yess.. but that means I'll have at least two jre's: sun-java6 and
 the one required by Azureus/Vuze. How can I be sure that they
 won't bite each other? Now, with only the openjdk-6-jre
 installed, I don't see any applets working, but at least Iceweasel
 does not crash/become unresponsive, as it did invariably on
 applet-containing pages twhen there were 2 or more jre's.
 
  Does anybody know of a decent tutorial for setting up jre,
  any jre, on Debian?
 
  Hopefully, aptitude install sun-java6-plugin should be
  enough.
 
 But I need the openjdk-6-jre as well because of Azureus/Vuze.

To be on the safe side for your tests, you might want to remove openjdk.

  doesn't work is a bit short.
 
 In this case it means: after restarting the browser, the plugin
 does not show in about:plugins.

Can you list the plugins in iceweasel, typically, with the _one_line_
command:

find /usr/lib/iceweasel/plugins/  -name *.so \
  | xargs -n 1 readlink -m | xargs dpkg -S

 And applets do not work; I get an
 invitation to click something to download the plugin, but then it
 says that there is no appropriate plugin available.

:(

Franklin


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Application/octet stream

2009-06-20 Thread Frank Lin PIAT
Hi,

On Sat, 2009-06-20 at 09:22 -0400, Thomas H. George wrote:
 A friend sent me an email with an attachment I can't view - probably
 some Windoze format.  Iceape says it is a type application/octet stream.

application/octet-stream is a generic mime type which means The content
is something I don't recognize, but it isn't text based.

The mime type reported by Iceape is the mime type the sender's MUA set
(if iceape behaves like most MUAs).

You might want to save the document, then right click on it to get the
properties and/or open it.

If you run a freedesktop compatible Desktop environnement (Gnome, KDE),
and if the content still isn't recognized, it probably means that it's a
weird format that is probably unsupported :( If you are pretty sure it's
a picture, you can try to open it with gimp, or use Imagemagick's
identify command.

Hope this helps,

Franklin


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Where is file manage preference set

2009-06-20 Thread Frank Lin PIAT
On Sat, 2009-06-20 at 12:26 +0100, Alan Chandler wrote:
 I have a gnome desktop, but haven't always (meaning there are probably 
 dot directories with configuration hanging around in my home directory).
 
 I just installed Digikam, and presume it must have brought in Dolphin as 
 a dependency, because now when I select Places/Home Folder from my 
 panel, Dophin starts rather than Nautilus.
 
 I have tried how to change it back so that Nautilus starts, but can't 
 find out how.

I don't use either digikam or dolphin...
To configure Nautilus's file association, simply right click on the
property dialog of a file of that type, then go the the Open With tab.

Regards,

Franklin


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Lenny does not recognise blank CD; Etch does.

2009-06-20 Thread Frank Lin PIAT
On Sat, 2009-06-20 at 20:21 +1200, Bruce Ward wrote:
 I have a machine with a dvd writer (/dev/hdc) and a cd writer 
 (/dev/hdd).

 under Lenny, the CD writer will not recognise a blank CD. Nothing. The 
 DVD writer will recognise one.

 Any ideas?

Humm... you might want to check how HAL detects that devices. There are
some GUIs, but you can send a report with:

 hal-find-by-capability  --capability storage.cdrom | xargs hal-device

I suppose it's important to have a line with storage.cdrom.cdrw =
true, then we can check storage.removable.media_available ...

Franklin


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: OT Can't Register Joomla forum

2009-06-20 Thread Frank Lin PIAT
On Fri, 2009-06-19 at 18:06 -0400, Thomas H. George wrote:
 Help please.  I'm trying to install Joomla and having problems. Tried to
 register to be able to post, get help but the registration page thinks
 my email address li...@tomgeorge.info is not a valid email address.

I guess Joomla either don't like the .info domain (but google returns
no hits for that) or  Joomla has built-in protection to forbid email
containing the word list (to avoid spamming mailing lists).

 If anyone is an active user of their forums please communicate my
 dilemma.

Use Joomla's IRC or Jabbre channel (if they have some).

Regards,

Franklin


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Testing update wants to replace network-manager - will it be seamless?

2009-06-20 Thread Frank Lin PIAT
On Sat, 2009-06-20 at 19:17 -0400, Patrick Wiseman wrote:
 On Sat, Jun 20, 2009 at 6:16 PM, Daryl Styrk darylst...@gmail.com wrote:
 
  On Sat, Jun 20, 2009 at 06:05:40PM -0400, Patrick Wiseman wrote:
   Hello:
  
   I can't afford to lose network access just at the moment, so should I
   wait to do today's update on my testing system (amd64)?  I've
   previously had troubles with network-manager but it's been working OK
   lately.  Will the update, so far as anyone knows, preserve settings,
   etc.?  Thanks for any guidance.
  
 
  With what?  wicd works great here on Lenny, and perfect on my other
  Squeeze machine.  It was seemless.

Reading  http://bugs.debian.org/460691 , It seems that the maintainer
decided that network-manager(-gnome) and gnome-network-admin should
conflict because they do opposite thing.

 In today's update, gnome-network-admin conflicts with
 network-manager-gnome, which is therefore deleted, making
 network-manager and a few other things no longer needed.  If I try to
 hold gnome-network-admin, aptitude tells me that it depends on
 gnome-system-tools (= 2.22.1-4).  (I guess what it should be telling
 me is that I CAN'T hold it because the version of gnome-system-tools
 about to be installed is incompatible with the older version of
 gnome-network-admin.)  I can hold gnome-system-tools as well and keep
 network manager, which I guess is what I'll do for now.

I have removed network-manager-gnome* but not network-manager. My wired
network is still working (but I can't switch to wireless, etc...)
I'll reinstall network-manager-gnome as soon as I can.

*) make sure you get the .deb files before uninstalling the package,
   just in case you want to reinstall it;)

 I guess the question is why gnome-network-admin conflicts with
 network-manager-gnome in the first place, as it hasn't before.
Same here.
 But that's life on a testing system.

Regards,

Franklin


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Gimp and unstable

2009-06-14 Thread Frank Lin PIAT
On Sun, 2009-06-14 at 12:02 +0100, Harry Rickards wrote:
 
 On 06/14/09 11:03, Alan Chandler wrote:
  Gimp is currently uninstallable in unstable because it has a dependancy
  on libwebkit 1.0-1 and (as far as I can work out) it has changed its
  name to libwebkit 1.0-2.
  
 As to question B, there is a workaround (I remember having the same
 problem about two weeks ago).
 I don't know if it's the best way
  
You assumption was correct. One should not mix distributions.

 but as libwebkit-1.0-1 is only compiled for m68k in the Debian repo's,
 I got it from the Ubuntu one's
 (http://packages.ubuntu.com/jaunty/i386/libwebkit-1.0-1/download). It
 seems to work fine.

Regards,
Franklin


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: sudo logging

2009-06-11 Thread Frank Lin PIAT
On Wed, 2009-06-10 at 19:57 -0400, Mag Gam wrote:
 We have many users at my university engineering lab. Some professors
 need commands for root and of other users, so we decided to setup sudo
 permissions. I was wondering if there is a way to log all commands
 when they sudo into an account or root account.


You should only grant the right to execute some specific commands. One
should not be able to use sudo to run a shell as root.
Therefore each command is execute using sudo something and each
executed command is logged.

 I would like to even capture key strokes...

Once your users are root, you have to trust them (they can kill whatever
tool you run) but you can check the command script.

One idea... If you want to log all what is typed, you could tell your
users to connect to another box, from where they would telnet to the
target box. You can then use a sniffer to log the connection.

BTW, make sure this is legal in your country.

Franklin


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: connecting cable modem through usb port

2009-06-09 Thread Frank Lin PIAT
On Mon, 2009-06-08 at 13:37 +0530, Sandip Sandip wrote:

 
 I have an old debian 2.4x kernel machine. I want to connect a cable
 modem through the usb port.

Hi,

At the risk of telling the obvious, Debian releases with 2.4 kernel
(Sarge?) aren't supported anymore.

Connecting such machine to the internet is, well... insecure.

Debian Lenny has two 'light' desktop (XFCE and LXDE) that should be
suitable for older machine.

Regards,

Franklin


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Does anyone else consider this a bug?

2009-06-09 Thread Frank Lin PIAT
Hi,

On Mon, 2009-06-08 at 23:52 +0100, Nuno Magalhães wrote:
 Regardless of mode it should always ask for dhcp/static.

Static IP are only useful in managed environment (especially for
servers). In managed environnement, one is supposed to have RTFM.

On the other hand, computers used by regular users are configured using
DHCP. Regular users would only be confused if they were given the option
to configure IP address manually.

 Didn't it do this before?

I can't remember.

Regards,



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Does anyone else consider this a bug?

2009-06-08 Thread Frank Lin PIAT
Hello,

Last-point first, you can instruct Debian-Installer to prompt for fixed
IP (rather than using DHCP).

You need to pass this argument at boot prompt:
  netcfg/disable_dhcp=true 

(read http://www.debian.org/releases/lenny/i386/ch05s03 )

On Mon, 2009-06-08 at 13:51 -0500, JW wrote:
 There's a new feature of Lenny that keeps catching me off guard. I might be 
 wrong but I don't remember Etch ever doing this to me.
 
 It goes like this:
 
 1. Perform a new Lenny install of the standard package set (no Xorg) (I 
 always use net installs but I assume it's the same no matter what)
 
 2. Immediately install ssh and configure a static IP address
 
 3. Restart networking: /etc/init.d/networking restart
[..]
 Work around: Either kill dhcpclient or restart the server to get rid of it. 
 Problem is I keep forgetting this aspect :-)

I haven't tested it, but running ifdown eth0  may help.

Franklin


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Does anyone else consider this a bug?

2009-06-08 Thread Frank Lin PIAT
On Mon, 2009-06-08 at 15:33 -0500, Karl O. Pinc wrote:
 On 06/08/2009 03:29:06 PM, Frank Lin PIAT wrote:
  Hello,
  
  Last-point first, you can instruct Debian-Installer to prompt for
  fixed
  IP (rather than using DHCP).
 
 Isn't there a choice when in expert mode as well?

Sure, you are probably right. (It's just that I don't use Expert mode).

Franklin


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: What to do with bugs forever ?

2009-06-06 Thread Frank Lin PIAT
On Sat, 2009-06-06 at 17:06 +0200, Debian wrote:
 
 here are two bugs that exists for years and where no solution is in sight:
 
 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=252896
 and
 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=518815
 
 What can be done with such problems that will be not solved and are ONLY 
 existing
 in Debian?

What's the purpose of this emails? Upset someone? Actually help
debugging the problem?

* Did you try to diagnose why/when it happen?
* Did you try a new version of the various software involved?
* Did you try with upstream version?
 - Did you actually tried to reproduce this bug on another OS? (And
   tried to understand what the difference between the two OS?)
  or
 - Did you ensure the bug was opened upstream [if you can reproduce it
   with upstream's version]?

 Here the process of maintainers and bug reports is not working. :-(

The process is the same everywhere:
- Diagnose the bug (Find which softwares are involved, why, when...)
- Find a solution ( = Write one or more patches)
- Test the patchs.
- Submit the patch to the maintainer (to upstream)
It takes time, effort, and user contribution.


*YOU* can help fixing the bug. (or you can pay someone to fix it).

Thank you for reporting bugs.

Franklin



FYI
  The company I am working for is paying an awful lot of money to 
  get support from various software vendors.
  And guess what, we have lots of bugs that are unsolved (not to
  mention the bugs that are behavior by design, unsupported
  tools [that are only available for those who pay for the support,
  lol], or fixed in new release but we can't backport the patch
  because it isn't open-source).



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: How to make my desktop fit my laptop screen?

2009-06-05 Thread Frank Lin PIAT
Hi,

On Sat, 2009-06-06 at 00:34 +0200, Ron Kamm wrote:
 
 I have just installed debian on a very old laptop and have looked this
 up in various forums but haven't found an answer...
 
 Debian works beautifully so far... but I can't seem to use my whole
 screen: there is always a huge black border.

You have to be specific:
- Which laptop (brand and model)
- Which video card. In doubt, check the output of lspci -nn or
  Xorg.log by running grep -i chipset  /var/log/Xorg.0.log)
- Which version of Debian (I assume you use Lenny)

 When I go to change the screen resolution I only have the option of
 800x600 (and 60 or 56Hz refresh rate).

 How can I stretch things so it uses up my whole screen?

Xorg didn't auto-detect your configuration.

Regards,

Franklin


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: 64Bit installation on a 500 GB Sata DRIVE

2009-06-03 Thread Frank Lin PIAT
On Wed, 2009-06-03 at 13:51 +0800, 明覺 wrote:
 On Wed, Jun 3, 2009 at 1:46 PM, Rod James Bio rju...@gmail.com wrote:
  We've been doing an installation on this LTSP Server we are trying to
  build. While formatting the 500 GB HD the partitioning
  process is stock at 33%. 

Yes, hardware failure (hard disk or memory).
Go to your hard-disk manufacturer website, download the tool to test the
harddisk, then run the test.
Then use memtest to test your memory.

What's your motherboard chipset? Is your SATA controller configured in
AHCI or Compatibility mode ? (try switching to the other)

  Anyway just for additional information:
  I tried using lenny 64bit installer to no avail and 32bit installation is
  successful but we want to use 64bit because the machine has 5GB of memory so
  as to maximize the memory.

FYI, Debian i386 has a kernel flavor named bigmem, which supports up to
64GB (PAE see http://en.wikipedia.org/wiki/Physical_Address_Extension )

But unless you have a specific need to use stick to 32bit kernel
(driver, old application [in]compatibility), it is wise to move to
64bits.

 I donot have experience in it, if I encountered this problem, I would
 try to use the gNewSense livecd to partition the harddisk, and after
 that, install the 64bit debian. here is the gNewSense livecd,
 http://www.gnewsense.org/index.php?n=Main.Download

1. No FUD please. Debian-installer's partman works.
2. Formating with another tool is unlikely to help (because you still
   have to proceed through the installation)
3. Debian has it's own DebianLive CD


Regards,

Franklin


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: iwlist wlan0 scan problem with iwl4965

2009-06-03 Thread Frank Lin PIAT
On Wed, 2009-06-03 at 08:48 +0300, Volkan YAZICI wrote:
 On Tue, 2 Jun 2009, Alex Samad a...@samad.com.au writes:
  just something simple try
 
  ifconfig wlan0 up
  iwlist wlan0 scan
 
 Great! Now I need something wooden to hit my head.

Cool.


   # lsof | grep /lib/firmware
   # _

Note:
 * The firmware is uploaded in the wireless card, when the device
   is initialized.
 * [therefore] you need to unload and reload the module (rmmod iwl4965;
   modprobe iwl4965), in order to use the new firmware. (But that should
   not be needed, if you use Debian stable [Lenny]).

Regards,

Franklin
   


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: File size limit exceeded

2009-05-30 Thread Frank Lin PIAT
On Sat, 2009-05-30 at 21:52 +0930, Miguel Obliviemo wrote:
 On Sat, 30 May 2009, Boyd Stephen Smith Jr. wrote:
  In pine.lnx.4.64.0905301440120.29...@calypso.view.net.au, Miguel Obliviemo
  wrote:
  apt-get remove postfix:
  Processing triggers for man-db ...
  /var/lib/dpkg/info/man-db.postinst: 
  line 3:  6289 File size limit exceeded

Modify the file /var/lib/dpkg/info/man-db.postinst (usual disclamier: be
careful, make a copy, etc..): add set -x as the second line to get a
verbose output of what the posinst script is actually running.

  perl -e '@pwd = getpwnam(man); $( = $) = $pwd[3]; $ = $ = $pwd[2];
   exec /usr/bin/mandb, @ARGV' -- $@

Can you try running the command manually (slightly modified):

perl -e '@pwd = getpwnam(man); print gid:$pwd[3]\nuid:$pwd[2]\n;'

Then

perl -e '@pwd = getpwnam(man); $( = $) = $pwd[3]; $ = $ = $pwd[2];
exec /usr/bin/id'


  E: Sub-process /usr/bin/dpkg exited unexpectedly
 
  How big is /etc/passwd?
 
 Tiny.  It's a personal system.

Have you enabled some NSS (/etc/nsswitch.conf) or PAM extension
(/etc/pam.d/*) ? 

Franklin


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: udev tutorials or howtos?

2009-05-29 Thread Frank Lin PIAT
Hello,

On Thu, 2009-05-28 at 22:21 -0400, Jude DaShiell wrote:
 Do any such files exist?

As usually, see the docs in /usr/share/doc/udev/ and the manpages (use
apropos udev for the list of manpages related to udev).
Google is you friend too.

 Earlier I tried using mtools and even mount to 
 access a floppy disk and udev is configured to block access even to root. 

udev is merely a tool to populate /dev, and optionally change the owner
and group and permissions so not only root can access it.

udev won't prevent root from accessing those devices (that would be a
job for SELinux).

BTW, why don't you just mount the disk, rather than using the old mtools
thing?

 In future maybe mtools could talk to udev and give udev some clues and/or 
 instructions to tell it to create certain devices when those might not yet 
 exist.

Detecting hardware isn't udev's job.
If the module isn't loaded autoamtically, you need to load them manually
(or using /etc/modules)

Regards,

Franklin


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Installing linux-image-2.6.26-1-amd64 on lenny (grub problems)

2009-05-28 Thread Frank Lin PIAT
Hello,

On Thu, 2009-05-28 at 12:13 +1200, Simon wrote:
 
 We have a fresh install of lenny on a VM 

Which VM?

 and tried to perform the initial apt-get update/upgrade but are having
 issues with dependency problems. Can someone point me in the correct
 direction here please?


 # apt-get upgrade
[..]
 Setting up linux-image-2.6.26-1-amd64 (2.6.26-13lenny2) ...
[..]
 Running postinst hook script update-grub.
 Searching for GRUB installation directory ... found: /boot/grub
 warning: grub-probe can't find drive for /dev/sda1.

This error message is your actual problem.

What is the mount point for / and /boot ?
  mount | grep  /\(boot\)\? 

What are the partitions available one the system ?
  cat /proc/partitions


 grub-probe: error: Cannot find a GRUB drive for /dev/sda1.
 Check your device.map.

To solve your problem, you will have to adjust the content of the
file /boot/grub/device.map

Mine looks like :
   (hd0)/dev/sda

The disk device (sda) [not a partition like sda1], must be the first
disk device, as seen by the bios at boot time.


  subprocess post-installation script returned error exit status 1
[..]
 dpkg: error processing linux-image-2.6-amd64 (--configure):
  dependency problems - leaving unconfigured

linux-image-2.6-amd64 depends on linux-image-2.6.26-1-amd64, which has
just failed to be configured. Therefore dpkg complains that
linux-image-2.6-amd64 can't be configured because it depends on a
package (linux-image-2.6.26-1-amd64) that couldn't be configured.

This isn't a dependency problem.
This is a postinst (post-installation) script problem, due to grub
failing to configure.

Franklin


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Is gnome built on top of twm?

2009-05-28 Thread Frank Lin PIAT
On Wed, 2009-05-27 at 13:40 -0400, Tony Baldwin wrote:
 Barclay, Daniel wrote:
  Paul E Condon wrote:
...  [gdm] needs a window manager before the user has even logged in.

No.  xdm/kdm/gdm don't use a window manager (that's why the look and
feel is so different). Just run ps ax from a console if you have a
doubt.

  What features of a window manager does it need or use?
  
  (I don't use gdm.  Does it have multiple windows that the user might
  need to move around or that the user might want to see decorated?)

 I removed twm, and gdm still works fine here.

I can think of two good reasons (at least) why twm is there:
1. if the [gnome|kde|xfce|...] window manager is broken, you can still
   open a GUI session using twm to fix the problem.
2. if you remove gnome/gdm (because you want to switch to pure KDE
   system, for example), the packages dependencies on x-window-manager
   are still met... and not all packages are removed.
So using 390k to make the users' life easier seems a good deal.

Regards,

Franklin 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Howto install the patch for Intel NIC

2009-05-26 Thread Frank Lin PIAT
Niels Jende wrote:
 Hi friends,

 I am in trouble due to the fact that the driver for the Intel NIC 82567
 isn't in Squeeze. As a matter of fact I do need the NIC's working
 otherwise the system makes no sense. Another fact is, that I hadn't had to
 patch my system(s) as yet manually. And here is now my question:

 How will get the patch provided by Nate working?
 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=522922

See:
http://wiki.debian.org/HowToRebuildAnOfficialDebianKernelPackage

 I could get it onto a CD or a USB - Stick and then...???

Yep.

 Do Ihave to compile

Yes

 or rename the file?

No

 And then? Would a simple modprobe than do?

I assume so.

I think you can get in touch with Nate Carlson, to get a compiled
kernel. (Assuming you trust him. A gpg signed file may help ;).

Hope this helps,

Franklin


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Howto install the patch for Intel NIC

2009-05-26 Thread Frank Lin PIAT
Frank Lin PIAT wrote:
 Niels Jende wrote:

 I am in trouble due to the fact that the driver for the Intel NIC 82567
 isn't in Squeeze.

i forgot to mention...

If you use Testing (Squeeze), you have two options:
1. fetch 2.6.29 it from unstable (see http://wiki.debian.org/AptPinning )
or
2. fetch the latest kernel from the kernel snapshot buildd
   http://wiki.debian.org/DebianKernel

Franklin


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Multiple iso in a single dvd

2009-05-25 Thread Frank Lin PIAT
Hi,

[[CC'ing debian-cd, as they may have better suggestion than me]]

On Mon, 2009-05-25 at 19:37 +0530, Kousik Maiti wrote:
 
 Can anybody help me by giving instructions to create a bootable image
 containing multiple iso. I want to create a DVD image which may
 contain iso of different debian flavour .

Strictly speaking, you can't write multiple ISO images on one single
CD, because by definition, an ISO is the exact image of the final CD,
AFAIK.

You could merge multiple CD images, by copying the files contained in
multiple ISOs, but you would also have to re-install the CD's
bootloader, and poke it's the menu system. That's probably not an easy
game.

Alternatively, have a look at the debian-cd package and mailing-list
http://lists.debian.org/debian-cd/ .

By the way, are you aware that the multi-arch[1] DVD contains i386 +
amd64 + source, with all 4 debian Desktop envronnement (KDE, Gnome, Xfce
and LXDE)?

My 2¢

Franklin


[1] http://cdimage.debian.org/debian-cd/5.0.1/multi-arch/iso-dvd/
http://www.debian.org/releases/lenny/debian-installer/


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: slapd

2009-05-25 Thread Frank Lin PIAT
Hi,

On Mon, 2009-05-25 at 08:55 -0300, Márcio Luciano Donada wrote:
 I am using a server with debian lenny slapd (OpenLDAP 2.4.11) but when
 I start the process he never opens sub processes for the parent
 process of slapd, a single process is created. Is there a setting for
 this? In / etc / ldap / slapd.conf I have the following entries
 
 tool-threads 16
 threads 32

I do have multiple threads here, I have nothing specific regarding the
threads.
(Note: slapd has multiple threads, not multiple processes. You need to
use ps -eLf to list the threads).

Regards,

Franklin



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Questions regarding bash and sh.

2009-05-24 Thread Frank Lin PIAT
On Thu, 2009-05-21 at 13:18 -0700, Todd A. Jacobs wrote:
 On Thu, May 21, 2009 at 01:53:08AM +0700, Sthu Deus wrote:
 
  I have noticed that for some users in /etc/passwd the shell
  environment is set as bash and for some as sh. This has led me to the
  following questions:
  . Why is it so, meaning what is the meaning of it?
 
 System accounts and system scripts have traditionally used the Bourne
 shell for compatibility. So, it's either for legacy compatibility, or
 because the Debian policy requires it.
 
  . Do I give more insecure environment to a user setting for him sh
  instead of bash?
 
 Neither shell is really secure.

FUD[1] ?

Shells are intended to let user run arbitrary commands. If one wants to
control what program are executed, solutions like SELinux are the
correct way to control it. (It's sensible to access ~/.gnupg/secring.gpg
from a mail user agent, but certainly not using wget)

Want a root account ? see http://www.coker.com.au/selinux/ and have [no]
fun ;)

 Even rbash isn't really secure, although it's certainly better than
 the default...if you can get it to work with your scripts. 

rbash doesn't help at all. Escaping rbash is as trivial as running :
  perl -e 'exec(bash)';
Or starting vim, then type:
 [esc]:set shell=/bin/bash
 [esc]:shell

Regards,

Franklin

[1] http://en.wikipedia.org/wiki/Fear,_uncertainty_and_doubt


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Questions regarding bash and sh.

2009-05-24 Thread Frank Lin PIAT
On Sun, 2009-05-24 at 14:37 +0200, Frank Lin PIAT wrote:
 On Thu, 2009-05-21 at 13:18 -0700, Todd A. Jacobs wrote:
  On Thu, May 21, 2009 at 01:53:08AM +0700, Sthu Deus wrote:
  
   I have noticed that for some users in /etc/passwd the shell
   environment is set as bash and for some as sh. This has led me to the
   following questions:

Todd, 

What a heck is that auto-reply thing (below)?


 Forwarded Message 
From: Todd A. Jacobs nos...@codegnome.org
Reply-to: nospam-confirm-##...@codegnome.org
To: fp...@klabs.be
Subject: Please confirm your message
Date: Sun, 24 May 2009 05:37:30 -0700

This message was created automatically by mail delivery software (TMDA).

Your message attached below is being held because the address
fp...@klabs.be has not been verified.

To release your message for delivery, please send an empty message
to the following address, or use your mailer's Reply feature.

   nospam-confirm-...@codegnome.org

This confirmation verifies that your message is legitimate and not
junk-mail. You should only have to confirm your address once.

If you do not respond to this confirmation request within 14 days,
your message will not be delivered.
email message attachment, Original Message


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Telinit question

2009-05-24 Thread Frank Lin PIAT
On Sat, 2009-05-23 at 20:08 -0400, Alan Greenberger wrote:
 I have a question about telinit use.  For a long time, I occasionally
 have done telinit 1 before doing a backup.  However, I noticed in the
 man page that it says:
 
  On a Debian system, entering runlevel 1  causes  all  processes  to  be
  killed  except  for kernel threads and the script that does the killing
  and other processes in its session.  As a consequence of this, it isn’t
  safe  to  return from runlevel 1 to a multi-user runlevel: daemons that
  were started in runlevel S and are needed for normal operation  are  no
  longer running.  The system should be rebooted.

I fount the commit in the repository:
URL:http://svn.debian.org/wsvn/pkg-sysvinit/sysvinit/trunk/debian/patches/10_doc_manuals.dpatch?rev=237sc=1

It's related to this bug:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=238861


 Is this statement due to a change in Debian after Sarge, or is it just a
 new warning in the man page for an old problem?

The killall is still there, so it seems it hasn't changed.
Anyway, once you are in runlevel 1, rebooting is almost as fast as
switching to runlevel 2.

 Is this a likely problem or only a corner case that would rarely show
 up?  I never saw a problem from teliniting back up, but I am thinking
 I should modify my ways.
 
 [One problem is that I leave large files in /tmp that I later transfer
 somewhere.  If I just were to reboot, they would disappear.

As you probably know, /var/tmp/ is not purged on reboot.

 I gather that I should be able to thwart that by setting TMPTIME=1 in
 /etc/default/rcS .]

yep

 What are people currently doing before and after backup?

Stop/start services (one could use a runlevel for that)

Regards,

Franklin


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Can you recommend any screen capture utility for etch

2009-05-24 Thread Frank Lin PIAT
On Mon, 2009-05-25 at 08:36 +1200, Chris Bannister wrote:
 On Wed, May 20, 2009 at 06:08:52AM -0400, Long Wind wrote:
  I have try gimp for sarge
  It seems to have problem with capturing window
  I have tried scrot for etch
  It does not capture title bar when capturing window
  Thanks!
 
 Rick Moen maintains a listing of options here:  Screen Capture on

The defaults screenshots tools in Debian can capture a window without
it's decoration (at least Gnome and KDE ;).

For those who needs to make a screenshot *in Debian*, even in un-usual
situation (console, D-I, etc.), there's:
 http://wiki.debian.org/ScreenShots

Regards,

Franklin


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Problem with pure-ftpd

2009-05-20 Thread Frank Lin PIAT
Hi,

On Sun, 2009-05-17 at 21:37 -0400, William Lebel wrote:
 Hi all!
 
 I got a problem, When i do /etc/init.d/pure-ftpd start, It does
 nothing... I installed the package but there is nothing going up
 
 I am on debian Lenny 5.0.1

How is it configured to work ? (is it standalone or inetd,
see /etc/default/pure-ftpd-common ? )

My 2¢

Franklin


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Wu-ftpd problem

2009-05-20 Thread Frank Lin PIAT
Hi,

[No top posting please, http://en.wikipedia.org/wiki/TOFU#Top-posting ]

On Wed, 2009-05-20 at 21:57 +0800, Jerry wrote:
 Frank Lin PIAT said 
 
  On Wed, 2009-05-20 at 00:11 +0800, Jerry wrote:
  Dear all,
 
  I have installed the Wu-ftpd in Etch.  It works properly after
  configuration.  One thing strange is that it cannot display the files or
  folder by using the browser like the following link
  ftp://ftp.comp.hkbu.edu.hk
 
  When using the browser to access my own ftp, it shows the similar page as
  the above link but without the similar content inside (just a blank white
  page with the heading)
 
  I don't understand what's wrong.
 
  Do you login anonymously, or with your user account?
   ^
You did not answer my questions above.

 Thank you for your reply.  Referring to the link provide:
 ftp://ftp.comp.hkbu.edu.hk
 
 If you browse this link by your browser, you can read the following:
 05/07/2008 12:00AM  9 class
 05/20/2009 09:12PM  ¥Ø¿ý pub
 My problem is that my ftp cannot display these information, do you know the 
 problem.RegardsJerry


You should have a look at some other FTP servers which are either
simpler, or which have better documentation.

For a simple FTP server, ftpd might be a good choice.
For a complex FTP server, proftpd is one.

Since you seems new to FTP, I recommend the simple one (which is very
very likely to do what you want).

Franklin


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Wu-ftpd problem

2009-05-19 Thread Frank Lin PIAT
Hi,

On Wed, 2009-05-20 at 00:11 +0800, Jerry wrote:
 Dear all,
 
 I have installed the Wu-ftpd in Etch.  It works properly after
 configuration.  One thing strange is that it cannot display the files or
 folder by using the browser like the following link
 ftp://ftp.comp.hkbu.edu.hk
 
 When using the browser to access my own ftp, it shows the similar page as
 the above link but without the similar content inside (just a blank white
 page with the heading)

I don't understand what's wrong.

Do you login anonymously, or with your user account?

Try installing a command line based ftp client (apt-get install ftp),
then login. it would be interesting to run the command pwd to make
sure you are in the expected folder. I've attached a typical ftp session
below, in case you are not familiar with it.

Regards,

Franklin


$ ftp myetchbox
Connected to myetchbox
220 myetchbox FTP server (Version wu-2.6.2(1) Mon Dec 11 13:26:04 UTC
2006) ready.
Name (myetchbox:jdoe): frank
331 Password required for frank.
Password:
230 User frank logged in.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp pwd
257 /home/frank is current directory.
ftp ls
200 PORT command successful.
150 Opening ASCII mode data connection for /bin/ls.
total 12
-rw-r--r-- 1 frank frank  220 2009-05-20 07:51 .bash_logout
-rw-r--r-- 1 frank frank  414 2009-05-20 07:51 .bash_profile
-rw-r--r-- 1 frank frank 2227 2009-05-20 07:51 .bashrc
226 Transfer complete.



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Why is the kernel in testing so far behind what's current? [Ext4]

2009-05-16 Thread Frank Lin PIAT
On Fri, 2009-05-15 at 15:44 -0700, Mike Castle wrote:
 On Fri, May 15, 2009 at 2:30 PM, Paul Johnson ba...@ursamundi.org wrote:
 
  Anything that doesn't have a showstopping-type bug filed against it in
  sid moves to testing after a week, as I understand it.  You might check
  bugs.d.o for information.  Is there something in particular you need
  from 27, 28, or 29?
 
 ext4 that doesn't cause the system to lock up after resizing?

I've just created a wiki page about Ext4. Contribution, feedback and
ideas are welcome: 
  http://wiki.debian.org/Ext4


FWIW: 
* Resizing ext3 is ok
* Resising ext4 needs special attention:
  - Use a kernel = 2.6.30 (http://lwn.net/Articles/326708/)
  or
  - Read Ubuntu's release notes (quoted below) seems to provide
a workaround. -- Has anyone tested it in Debian =Testing ??

Ubuntu's release note abstracts:
 The resize2fs tool may cause data loss when growing or shrinking ext4
 filesystems off-line. See this mail from the upstream maintainer for
 more details. Unfortunately we became aware of this too late to fix it
 in Ubuntu 9.04. If you wish to resize an ext4 filesystem using the
 tools in Ubuntu 9.04, you may be able to work around these problems by
 first disabling the flex_bg and uninit_bg features (do not attempt
 this on a mounted filesystem!): 
 
 tune2fs -O ^flex_bg,^uninit_bg /dev/DEVICE_NAME
 e2fsck /dev/DEVICE_NAME
 
 However, we still strongly recommend taking significantly more care
 with backups than usual before attempting to resize an ext4
 filesystem.


Franklin

-- 
Stop Software Patents - http://ffii.org/
Sign the petition at http://stopsoftwarepatents.eu


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Stuck at Setting system clock when booting

2009-05-16 Thread Frank Lin PIAT
Hi,

On Sat, 2009-05-16 at 09:07 +0800, Umarzuki Mochlis wrote:
 Using: Lenny i386
 
 The only way I can bypass this is to go single user mode and
 pressing Ctrl+d, any other way to get rid of this problem?

I suspect it's a problem specific to your RTC clock. What's your
hardware (or motherboards)?

Also, try running:
$hwclock --show
and
$hwclock --show  --directisa

If the later works better, file a bug against the kernel and read
http://www.klabs.be/~fpiat/linux/debian/Etch_on_Thinkpad_T61.html#Clock

Regards,

Franklin


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: is it safe to reomve all the other video card driver?

2009-05-16 Thread Frank Lin PIAT
On Fri, 2009-05-15 at 09:24 +0300, Andrei Popescu wrote:
 On Fri,15.May.09, 12:08:55, 明覺 wrote:
  my video card is nVidia Corporation GeForce 9500 GT, but i found that
  my debian system also installed all the other drivers, like ati,
  arp.., is it safe to remove all the other drivers except the
  xserver-xorg-video-nv? thanks.
 
 Yes, unless you expect to move the installation to a different computer 
 or change the video card. I always keep -vesa, for my friend JustIn 
 Case.

At the same time, it doesn't take a lot of disk space, and it would make
your life easier when your upgrade your hardware, so it Just Works(TM).

You also remain on the safe side, for upgrades (in case your device is
better handled by a new module).

My 2¢

Franklin


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Why is the kernel in testing so far behind what's current?

2009-05-15 Thread Frank Lin PIAT
On Thu, 2009-05-14 at 11:32 +0200, Brent Clark wrote:
 Patrick Wiseman wrote:
  Thanks, guys, for suggesting that - I used to build a custom kernel
  the Debian way all the time, but am out of the habit.  I'll get back
  into it.
 

 Personally I dont know why you would.
 
 My suggestion, get unstables version

Sounds sensible (For those who have already decided to not use the
stable release [Lenny] and want to spend some time debugging problems).

 if that does not work, then try rolling your own.

Not such good suggestion:
1. File a bug
2. Try a kernel from kernel-archive.buildserver.net
3. Update your bug, telling if kernel-archive.buildserver.net solved
   the problem.

You'll probably save your time by switching back to your previous
kernel, wait for a few days and try kernel-archive.buildserver.net again
(Unless one really want to know all the bits about kernels).

Regards,

Franklin


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Using terminal output as input

2009-05-15 Thread Frank Lin PIAT
On Thu, 2009-05-14 at 13:26 -0400, S Scharf wrote:
 
 On Thu, May 14, 2009 at 11:13 AM, Dotan Cohen dotanco...@gmail.com
 wrote:
  Not pretty but how about
  `ekiga | head -2 | tail -1`
 
  (note use of backticks)
 
 
 
 That's creative! It doesn't seem to work on this system, I
 will try on
 Real Debian (tm) when I get home. However, it does require
 foreknowledge of the output, which I suppose is all right if
 the user
 can run the same command again.
 
 Oops, the output of ekiga is going to stderr and not stdout. Only
 stdout gets piped.
 
 Anyone know how to capture and pipe stdout?

I am not sure that's something I would do... but here it is:

$`ekiga  21 | sed -n 2p`

Where you tell sed:
   -n = Don't print the lines by default.
   2p = When you match the line Number 2, then _p_rint it.
(BTW, the dollar sign is the prompt, not something to type)

Alternatively, this one could be an option because your are prompted
before running the command:

$ekiga  21 | xargs -n 1 -p sh -c

Obviously, it becomes much more sexy if you create an alias:
$alias Qrun='xargs -n 1 -p sh -c'
So just type:
$ekiga  21 | Qrun

  sh -c The program 'ekiga' is currently not installed.  You can install
  it by typing: ?...n
  sh -c sudo apt-get install ekiga ?...y

And here you go !

Regards,

Franklin

P.S. All that is completely untested ;)


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Rotating logs (and keeping the log's tail)

2009-05-10 Thread Frank Lin PIAT
On Thu, 2009-05-07 at 14:01 +0200, Sjoerd Hardeman wrote:
 Frank Lin PIAT wrote:
  Hello,
  
  I use a wiki engine that produces an event log, which I want to rotate.
  
  Because the event-log is used to display the PageHits, I don't want to
  truncate the log every Monday. I wish the log could contain the last
  week, plus the current week, so the statistics are never empty.
  
  The scenario would be:
  
  On The 2nd Monday: store the last line of the log (i.e tag it)
  
  On the next Mondays: 
   * Save the top of the file (above the tag)
   * Delete the top of the current log.
   * Update the tag (to the bottom of the log file).
 Can't you just write a script that updates the tag to a separate file, 
 and use logrotate to do the normal logrotation? 

I was hoping that someone already wrote that script ;-) Anyway, here it
is (for those who may need it):


#!/bin/sh
#
# rotate-and-keep.sh - Rotate a log file, keeping the last period.

# This script is useful when you want to rotate a file 
# periodically, but you want the current log file to always
# contain two periods. (sometime needed for statistics)

#  Copyright 2009 Franklin Piat URL:http://www.klabs.be/~fpiat/
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program.  If not, see http://www.gnu.org/licenses/.

version=0.1

# LIMITATION
#
# Unique lines only
#Use this script on logfiles that don't produce duplicate line
#(i.e Each line MUST contain date and time, at least)
#
# Disk Space
#The partition must have free space to make a copy of the last logfile
# 
#  ,--[ KNOWN BUG / DISCLAIMER ]--.
#  |  |
#  |  The traditional way to rotate a log file is to move it. Which is|
#  |  guaranteed to be atomic and immediate.  |
#  |  |
#  |  ** THIS SCRIPT ISN'T ATOMIC AND ISN'T IMMEDIATE **  |
#  |  You may lose some new lines, appended while the rotation occurs.|
#  |  (because it has to copy and manipulate the log file. Typically if   |
#  |  you have more than 10 lines of log per seconds... that is  10  |
#  |  page hit per day!)  |
#  `--'


LOGFILE=event-log
ARCHIVE=event-log.$(date +%F_%T)
TMPFILE=event-log.tmp
LASTLINE=lastline


set -e
pivotline=0
if [ -s $LASTLINE -a -s $LOGFILE ]; then
pivotline=$(grep  -s -n -F -f $LASTLINE $LOGFILE | tail -n 1 | cut -d 
: -f 1)
#DEBUG: printf Rotate line #$pivotline:  2 ; cat $LASTLINE  2
fi

if [ $pivotline -gt 1 ] ; then
pivotline=$(( $pivotline + 1 ))
mv $LOGFILE $TMPFILE

if sed -n $pivotline,\$p $TMPFILE  $ARCHIVE ; then
cp $ARCHIVE $TMPFILE 
## TEST: for test purpose, you can insert a sleep here to
##   simulate the copy of large log file.
#sleep 1

# Try to catch new lines (that occured during the cp above)
if [ -s $LOGFILE ]; then
 cat $LOGFILE 2/dev/null | tee -a $ARCHIVE  
$TMPFILE
fi

mv $TMPFILE $LOGFILE
tail -n 1 $ARCHIVE  $LASTLINE
else
#Restore the logfile in case of error (especially disk-space!)
echo LOG ROTATION ABORTED: probably insufficient disk-space. 
2
mv $TMPFILE $LOGFILE
exit 1
fi
else
if [ -s $LOGFILE ]; then
cp $LOGFILE $ARCHIVE
tail -n 1 $ARCHIVE  $LASTLINE
else
cp /dev/null $LASTLINE
fi
fi
#
# To test/stress this script you can generate a fake log using
# while true; do date +%s.%N | tee -a event-log  log; sleep 0.01 ; done
##END##

Thanks,

Franklin

[Please CC me, I am not subscribed to this list]



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Re: python-moinmoin and fckeditor

2009-05-10 Thread Frank Lin PIAT
Hello,

 Florian Kulzer wrote
  On Thu, May 07, 2009 at 03:48:32 -0700, Todd A. Jacobs wrote:
   The README.Debian says that FCKeditor has been disabled, but that 
   it can be reinstated. However, I've installed the
   Debian-maintained fckeditor package, but can't figure out what I 
   need to do to integrate it with moinmoin.
 
  This works for me for the current Sid versions of python-moinmoin
  and fckeditor:
 
 If anyone else has had this issue, it turns out that upgrading to
 1.8.2 and following the new README.Debian resolves this issue. I don't
 know if it can't be resolved with the 1.7.x version in stable, but the
 upgrade fixed it for me.

Lenny ship moinmoin-1.7. It rely on an old version of fckeditor. Since
nobody wanted to provide security support for it, the GUI editor was
disabled. It should only be enabled in trusted environment (but you are
alone!).

Testing ships moinmoin-1.8. Upstream have upgraded to use the current
version of fckedior. So we modified moin package to use Debian's package
of that version of fckeditor.

We are considering to provide a backport of moin-1.8 (in backports.org
or similar), so people can use GUI. Feel free to file a wishlist bug if
you are interested.

Regards,

Franklin


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Re: Rotating logs (and keeping the log's tail)

2009-05-10 Thread Frank Lin PIAT
Chris Jones wrote:
 Frank Lin PIAT wrote:
  On Thu, 2009-05-07 at 14:01 +0200, Sjoerd Hardeman wrote:
   Frank Lin PIAT wrote:
I use a wiki engine that produces an event log, which I want to
rotate.

Because the event-log is used to display the PageHits, I don't
want to truncate the log every Monday. I wish the log could
contain the last week, plus the current week, so the statistics
are never empty.

 Doesn't something along the lines of:

 $ cat /var/log/event-logs/log.week[01] | pagehits-stats

The problem is that the wiki engine only parse the current log file to
display the current statistics, by design :(
The long term solution is to modify the wiki engine, but I need a
solution until Squeeze is released.

(Actually, my problem is exactly the same as the command last, which
only parses /var/log/wtmp).

Franklin


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Rotating logs (and keeping the log's tail)

2009-05-07 Thread Frank Lin PIAT
Hello,

I use a wiki engine that produces an event log, which I want to rotate.

Because the event-log is used to display the PageHits, I don't want to
truncate the log every Monday. I wish the log could contain the last
week, plus the current week, so the statistics are never empty.

The scenario would be:

On The 2nd Monday: store the last line of the log (i.e tag it)

On the next Mondays: 
 * Save the top of the file (above the tag)
 * Delete the top of the current log.
 * Update the tag (to the bottom of the log file).

I afraid there's probably no perfect tool to perform that (because it
can't be atomic)... But I wanted to ask before updating the code to
parse two log files.

Thanks,

Franklin

[Please CC me, I am not subscribed to this list]

-- 
Stop Software Patents - http://ffii.org/
Sign the petition at http://stopsoftwarepatents.eu


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: cpufreq_conservative on Lenny AMD64?

2009-04-22 Thread Frank Lin PIAT
[Follow-up on debian-laptop. Dropping other lists/newsgroups]

Hi,

On Wed, 2009-04-22 at 00:46 +, s. keeling wrote:
 
 This box is an HP Pavilion dv4, AMD64. [..] it's always running hot.  The fan 
 is
 always on.  I'd like to have this thing ramp its CPU frequency back to
 its minimum when CPU load is close to zero.

What does cpufreq-info (package cpufrequtils) reports, especially, what
governor is in use

which cpu freq driver do you use? 
(The available drivers are listed in :
/lib/modules/$(uname -r)/kernel/arch/x86/kernel/cpu/cpufreq/ I don't
know which one is the best for your CPU, but google is your friend).

 [..]  How do I get it to ramp down its CPU Hz?  It
 doesn't need to be running at 2.x GHz, so why is it?  It should ramp
 up to that level when the OS has stuff to do, yes?  Am I
 misunderstanding something basic here?

Correct. This is what the ondemand governor should do.

 I've been through /etc/default fixing stuff there.  I've fought with
 /etc/cpufreqd.conf, to no result.  Restarting CPU Frequency daemon:
 cpufreqd failed!  Ideas?  I would expect this machine to be new
 enough to handle cpufreq's latest abilities.

I haven't used cpufreqd for a while. I think it isn't required. Have you
tried to remove it, to return to pristine situation?

Then you could use cpufreq-set -g ondemand to modify the cpufreq
settings, live.


Some extra hints
* Make sure you run the latest (recommended) firmware.
* Try using powertop to make sure that nothing prevents the CPU
  from sleeping.

Regards,

Franklin


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: [HS] encoding avec sed

2008-12-06 Thread Frank Lin PIAT
Bonjour,

 Un HS, mais je ne m'explique pas le comportement de sed.
 
 Sur un fichier encodé en utf-8, je veux remplacer les espaces insécables
 par de véritables espaces :
 
 sed -i 's/\xa0/\x20/g' fichier.sql

en UTF-8, un blanc non-sécable, ça utilise 2 octets (c2a0)
 http://www.fileformat.info/info/unicode/char/00a0/index.htm

D'ailleurs:
   echo -n ### ###  test
   hexdump test -C
   23 23 23 c2 a0 23 23 23   |###..###|
On vois bien qu'il y a 2 octets (évidemment il fallait taper Alt-Espace
entre les caractère #)

Donc:
   sed  -i 's/\xc2\xa0/ /g' test

 Mais en réalité, l'espace insécable est bien remplacée, mais il y a un Â
 avant, et le fichier est encodé en latin1.

Ce que tu as fait c'est de remplacer la séquence d'octet c2a0 (qui est
un blanc insécable) par la séquence 20a0.
On se retrouve avec \x20 est effectivement un blanc normal, précédé de
l'octet \xc2.

Ton éditeur de texte se retrouve avec une séquence d'octets qui n'est
pas valide en UTF-8 (un octet entre \xC2 et \xDF doit être suivi de deux
octets compris entre \x80 et \xBF  voir [2])... du coup, ton editeur
continue d'essayer de détecter l'encodage, et choisi latin1, dans ton
cas précis.

Franklin


[2] http://www.fileformat.info/info/unicode/utf8.htm 

-- 
Lisez la FAQ de la liste avant de poser une question :
http://wiki.debian.org/DebFrFrenchLists
Vous pouvez aussi ajouter le mot ``spam'' dans vos champs From et
Reply-To:

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



Re: Debian Etch and a half

2008-11-22 Thread Frank Lin PIAT
[re CC'ing debian-laptop and debian-user, so others can help]

On Sat, 2008-11-22 at 14:40 -0800, jeffry killen wrote:
 On Nov 22, 2008, at 12:47 PM, Frank Lin PIAT wrote:
 
  On Sat, 2008-11-22 at 11:22 -0800, jeffry killen wrote:
  I downloaded the netinst and want to install [..] I have static ip
  address service with my ISP.
 
  IIRC, Debian installer will try DHCP, then offer to configure the
  interface manually.
 
 O.K., I downloaded the netisntall cd image and burned it to
 a disc as data file iso 9660.
 I put it in the cd/dvd tray and entered bios setup to tell
 the system to boot from cd.
 I started with the dhcp connection attempt and failed
 saying it did not get any offers. So the system switched
 back to the system on the hard drive and boot normally.
 This was with the netinstall image.

From what you describe, it seems that your computer is trying to
netboot (i.e boot from the network), as opposed to trying to boot from
the CDROM.

What we want is to boot from the CD, start installing the system from
the CDROM, then download the extra files from a Debian Mirror.

Is your laptop a PC or a Mac?

  The installer wants to get on the net using dhcp so I change
  the network interface configuration to use dhcp but I would
  rather download the business card image.
 
  I don't understand what's your problem here.
 
 
  The web page in
  the Debian site has this under the heading for the business
  card installer:
 
  businesscard CD image (generally 20-50 MB)
 
   * Available for all architectures.
   * Needs to be booted with the option 'suite=etch' to install
  etch-and-a-half.
   * Will automatically install the 2.6.24 kernel.
 
  specifically:
  Needs to be booted with the option 'suite=etch' to install
  etch-and-a-half.
  How do I do this?
 
  When your are at the boot prompt, select the install menu entry, then
  press the tab key, then type suite=etch, so you get something like 
  :
   install suite=etch

 So, it is 99% certain I am doing something wrong.
 What do you think it is?

You computer seems to try to boot from the network, not from the CD.

 The platform I used to download the cd image files
 was Mac OSX and the software I used to burn the
 cd was Roxio Toast. I do this because this machine
 Mac OSX is the one that is configured with one of
 the static ip addresses and is the one I use to
 contact the web and do down loads and such. The
 other machines I have, including the new one, are
 either configured with static private ip address
 or public static ip addresses and are web servers.
 
 So when I tried to use the netinstall cd, I had the
 machine connected to the ADSL modem/router
 with the interface configured for dhcp. This did not
 work. The reported reason that no offer was received.

I assume the No offer message comes from the BIOS 
screen (black and white), not from Debian-Installer (blue and red
screen)

 I believe this is because there is no dhcp server between
 the router/modem  and the machine.

The Modem/Router probably has a DHCP (most of htem have one). However a
DHCP isn't enough to allow PXE netboot.
Anyway, what you want to do is to boot from the CD, as mentioned above.

 So advertising re-
 quests have to go all the way out through the isp's system
 to find a dhcp server. My understanding is that at this
 stage of the boot process, the machine is trying to find
 a boot-p server to boot from.

Oh, yes that's correct. We reach the same conclusions.

 So it could be bypassing the cd as not bootable. I am not enough of a
 computer scientist to get to the bottom of this.

You look good enough :

 Could I be missing the boot prompt. Things happen
 quickly on this machine.

What computer brand / model?

 I have Debian Etch 4.0 r1 and am told that it does
 not support newer hardware (cd/dvd) drivers and
 to get Etch and a half, which I am trying to do.

You would be able to boot the CD anyway.

 Once I get the basic system installed I can use the existing
 cd's to install packages.

Correct.

 I have written a lot. I don't mean to be a pest but this
 is what I have to hand at present

You can try to ask on #debian irc channel, on irc.debian.org
Xchat ( http://en.wikipedia.org/wiki/Xchat ) is a good irc client that
is available on many platform. (It's time to sleep here).


Franklin


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