[Solved] Re: Can't upgrade my desktop

2023-10-24 Thread rudu

Le 24/10/2023 à 05:17, Max Nikulin a écrit :

On 24/10/2023 06:53, Jeffrey Walton wrote:

 $ grep -iIR -E 'bookworm|bullseye|buster|stretch|jessie'  /etc/apt

may list additional suspects, especially if they are hidden away in
/etc/apt/sources.list.d.


I would prefer either

    apt policy

or

    apt-cache policy

to get list of configured repositories as it is seen by apt.



Many thanks to you all who responded, you put me on the right track.

For the record, I used to have the debian-multimedia.org repository in 
my previous sources.list and I now have to get rid of some old packages ...
That did the trick and I was finally able to install libsvtav1enc1d1 and 
everything went smoothly again.

I still have some work ahead though :
$ apt-show-versions | grep dmo | wc -l
78

Thank you again
Rudu




Can't upgrade my desktop

2023-10-21 Thread rudu

Hi everybody,

I'm stuck with something my googling didn't help much.
I just can't upgrade my system Debian GNU/Linux trixie/sid :
 LANG="en_US" apt autoremove
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 libavif16 : Depends: libsvtav1enc1d1 (>= 1.7.0+dfsg) but it is not 
installed
 libsane1:i386 : Depends: libgphoto2-6:i386 (>= 2.5.10) but it is not 
installed

 Recommends: sane-airscan:i386 but it is not installed
 Recommends: ipp-usb:i386
 libwine-gl:i386 : Depends: libwine:i386 (>= 1.6.2-20) but it is not 
installed
 wine32:i386 : Depends: libwine:i386 (= 8.0.1~repack-3) but it is not 
installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages 
(or specify a solution).


I can't upgrade, I cant' fix--broken install, I mean that whatever I 
try, same error message ...


Any help would be welcomed.
Rudu



Re: Debian 12 Fresh Install

2023-08-18 Thread rudu

Le 18/08/2023 à 22:23, Brian Clarke a écrit :

Hello,
I have just installed Debian 12 onto my server however it boots normally, but 
when its in the log in screen and i move my mouse the screen just turns off.

Can you help me with this please.

I use a VGA monitor for the server.

Hi,

If it could be related to your graphic driver, we could use some more info.
While on the log screen, could you switch to a console screen hitting 
ctrl+alt+F1 ?

Then after log in, give us the result of :
$ inxi -G

Rudu



Re: Are there Nvidia drivers on Trixie repositories right now ?

2023-07-27 Thread rudu

Le 26/07/2023 à 23:16, Greg Wooledge a écrit :

On Wed, Jul 26, 2023 at 11:15:13PM +0200, rudu wrote:

Thank you David, but I thought that non-free-firmware should be enough for
the new testing repositories.
Should I had "non-free" to "main contrib non-free-firmware" ?
Sounds weird to me ... ??

The non-free-firmware section only contains firmware.  Not drivers.

If you need to build non-free drivers (e.g. nvidia) you'll need both
sections.


Thanks to David and Greg, I finally understood the difference between 
firmwares and drivers ...

;)
Indeed adding the non-free section to my source.list was what I needed.
Sorry for the noise.

Nice Day to all
Rudu



Re: Are there Nvidia drivers on Trixie repositories right now ?

2023-07-26 Thread rudu

Le 26/07/2023 à 17:12, David Wright a écrit :

# cat /etc/apt/sources.list
# deb cdrom:[Debian GNU/Linux testing_Bookworm_  - Official Snapshot
amd64 NETINST 20221031-03:18]/ bookworm main

#deb cdrom:[Debian GNU/Linux testing_Bookworm_  - Official Snapshot
amd64 NETINST 20221031-03:18]/ bookworm main

debhttp://ftp.fr.debian.org/debian  trixie main contrib non-free-firmware
deb-srchttp://ftp.fr.debian.org/debian  trixie main contrib
non-free-firmware

debhttp://ftp.fr.debian.org/debian-security/  trixie-security main
contrib non-free-firmware
deb-srchttp://ftp.fr.debian.org/debian-security/  trixie-security main
contrib non-free-firmware

debhttp://ftp.fr.debian.org/debian  trixie-updates main contrib
non-free-firmware
deb-srchttp://ftp.fr.debian.org/debian  trixie-updates main contrib
non-free-firmware

You appear to be lacking non-free in your sources.list.

Cheers,
David.
Thank you David, but I thought that non-free-firmware should be enough 
for the new testing repositories.

Should I had "non-free" to "main contrib non-free-firmware" ?
Sounds weird to me ... ??

Rudu





Are there Nvidia drivers on Trixie repositories right now ?

2023-07-26 Thread rudu

Hi there,

Switching from the nouveau driver to some nvidia-driver does not seam to 
be possible on my laptop running Debian Testing/Trixie.

Now, it can be found right here apparently :
https://packages.debian.org/trixie/nvidia-driver
Am I missing something ?
Some information about my system is following, just ask for more if needed.

Thanks

Rudu

$ LANG=C inxi -G
Graphics:
  Device-1: Intel HD Graphics 530 driver: i915 v: kernel
  Device-2: NVIDIA GM204GLM [Quadro M3000M] driver: nouveau v: kernel
  Device-3: Bison ThinkPad P50 Integrated Camera driver: uvcvideo type: USB
  Display: server: X.org v: 1.21.1.7 with: Xwayland v: 22.1.9 driver: 
X: loaded: modesetting
    unloaded: fbdev,vesa dri: iris,nouveau gpu: i915 tty: 158x38 
resolution: 1920x1080

  API: OpenGL Message: GL data unavailable in console. Try -G --display

$ LANG=C nvidia-detect
Detected NVIDIA GPUs:
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GM204GLM 
[Quadro M3000M] [10de:13fa] (rev a1)


Checking card:  NVIDIA Corporation GM204GLM [Quadro M3000M] (rev a1)
Uh oh. Failed to identify your Debian suite.

# LANG=C apt policy nvidia-driver
nvidia-driver:
  Installed: (none)
  Candidate: (none)
  Version table:

# cat /etc/apt/sources.list
# deb cdrom:[Debian GNU/Linux testing _Bookworm_ - Official Snapshot 
amd64 NETINST 20221031-03:18]/ bookworm main


#deb cdrom:[Debian GNU/Linux testing _Bookworm_ - Official Snapshot 
amd64 NETINST 20221031-03:18]/ bookworm main


deb http://ftp.fr.debian.org/debian trixie main contrib non-free-firmware
deb-src http://ftp.fr.debian.org/debian trixie main contrib 
non-free-firmware


deb http://ftp.fr.debian.org/debian-security/ trixie-security main 
contrib non-free-firmware
deb-src http://ftp.fr.debian.org/debian-security/ trixie-security main 
contrib non-free-firmware


deb http://ftp.fr.debian.org/debian trixie-updates main contrib 
non-free-firmware
deb-src http://ftp.fr.debian.org/debian trixie-updates main contrib 
non-free-firmware


# This system was installed using small removable media
# (e.g. netinst, live or single CD). The matching "deb cdrom"
# entries were disabled at the end of the installation process.
# For information about how to configure apt package sources,
# see the sources.list(5) manual.




Re: OT : Debian VPS for backup through SFTP protocol for a win10 client

2022-09-30 Thread rudu

Le 29/09/2022 à 09:00, Bottenberg, Michael a écrit :

Am 29.09.2022 03:43, schrieb Gareth Evans:
On Thu 29 Sep 2022, at 00:29, Gareth Evans  
wrote:

[...]

Alternatively, BackupPC supports Windows:

https://backuppc.github.io/backuppc


Actually rsync (as opposed to tar or SMB over the internet) seems to
be the only BackupPC option for a Windows backup source where the
backup server is remote, so either cygwin or WSL or cwrsync are
required here too afaics.  BackupPC also deduplicates backups though,
with optional compression.


I'm using burp [1] which is also a simple backup solution of that 
kind. It offers a Windows client with VSS support.


[1] https://burp.grke.org/
https://github.com/grke/burp

But for Rudu, who is already using luckybackup, it's probably the best 
idea to use the luckybackup Windows-Client? At least as a short-term 
solution. For a long-term solution there's maybe other solutions 
preferable? As the project seems to be "stalled" ... !? (I don't know)


hede



Thank you very much Gareth and Hede for your help.
I'll investigate your suggestions ASAP.
I had configured a BackupPC server in the LAN once, who could "pull" 
backups from Linux and windows boxes, but now some of the staff are 
working from different places now, hence the necessity of a alternative 
which could "push" its backups online.


Thanks again,
Rudu




OT : Debian VPS for backup through SFTP protocol for a win10 client

2022-09-28 Thread rudu

Hello,

I've set up openssh-server on a debian bullseye VPS which serves as a 
backup for some folders of debian testing laptops.

I'm using luckybackup for the clients part and all seems fine so far.
Now I'm asked to add a pair of win10 boxes to the clients of that VPS, 
and I don't know how I could do this.
I tried successfully to mount my VPS volume as a network drive using 
SSHFS for windows :

https://github.com/winfsp/sshfs-win
But I can't find a way or a software (preferably free) able to schedule 
some incremental backup on it.


I know I'm a bit OT on this, but maybe someone has already been there 
and could send me in the right direction.


Thanks for reading me anyway,
Rudu



Re: Hibernation issue [was: Bookworm : graphic glitches all over my screen after upgrade]

2022-08-29 Thread rudu

Le 27/08/2022 à 11:42, Computer Enthusiastic a écrit :

Hello,

Il giorno 26 ago 2022, alle ore 19:31, piorunz  ha 
scritto:


On 26/08/2022 10:18, rudu wrote:


You should be right, but after booting on both 5.10 kernels I found in
my repositories :
ii linux-image-5.10.0-13-amd64  5.10.106-1   amd64 Linux 5.10
for 64-bit PCs (signed)
ii linux-image-5.10.0-16-amd64  5.10.127-1   amd64 Linux 5.10
for 64-bit PCs (signed)

... the hibernation process fails as described above ...

With Linux birdynam 5.7.0-3-amd64 #1 SMP Debian 5.7.17-1 (2020-08-23)
x86_64 GNU/Linux hibernation works as expected.


I suggest you should report this error as soon as


A bug report is already opened [1]. A workaround (using kernel boot 
parameters) and a kernel patch are reported in [1]. Working is in 
progress to let the patch reach upstream kernel [2]. I have 
successfully used both the workaround parameters or the patch and I’m 
currently using a custom Debian kernel with the aforementioned 
patch to solve this bug.


HTH

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=989705
[2] https://lists.freedesktop.org/archives/nouveau/2022-August/040756.html


Thank you very much, the boot parameters trick worked like a charm.
Now whatever Kernel I choose to boot, the hibernation process works as 
expected.


Rudu



Re: Hibernation issue [was: Bookworm : graphic glitches all over my screen after upgrade]

2022-08-26 Thread rudu

  bthLe 25/08/2022 à 23:51, piorunz a écrit :

On 25/08/2022 09:13, rudu wrote:

Le 24/08/2022 à 22:32, piorunz a écrit :

Looking at your kernel version, why you are running two years old
kernel? Support for this kernel has ended upstream, your system is
vulnerable to security issues.



That's because I experienced hibernation issues from this kernel up.
The screen shuts down ok, but the power never goes off, I have to use
the button.
And next boot is a standard one.
Don't know where to look for a clue here.

Regards
Rudu



That's very sad to hear.
Have you tried to report this to Debian BTS?
How about LTS kernel 5.10? That didn't worked either?

You are on Debian Testing and using older kernel than Debian Stable,
that's very uncommon.


You should be right, but after booting on both 5.10 kernels I found in 
my repositories :
ii  linux-image-5.10.0-13-amd64  5.10.106-1   amd64 Linux 5.10 
for 64-bit PCs (signed)
ii  linux-image-5.10.0-16-amd64  5.10.127-1   amd64 Linux 5.10 
for 64-bit PCs (signed)


... the hibernation process fails as described above ...

With Linux birdynam 5.7.0-3-amd64 #1 SMP Debian 5.7.17-1 (2020-08-23) 
x86_64 GNU/Linux hibernation works as expected.


Rudu



Re: Hibernation issue [was: Bookworm : graphic glitches all over my screen after upgrade]

2022-08-25 Thread rudu

Le 24/08/2022 à 22:32, piorunz a écrit :

Looking at your kernel version, why you are running two years old
kernel? Support for this kernel has ended upstream, your system is
vulnerable to security issues.



That's because I experienced hibernation issues from this kernel up.
The screen shuts down ok, but the power never goes off, I have to use 
the button.

And next boot is a standard one.
Don't know where to look for a clue here.

Regards
Rudu




Re: Bookworm : graphic glitches all over my screen after upgrade

2022-08-24 Thread rudu

Piotr, Sven, Thank you for your help, see below.

Le 23/08/2022 à 20:55, piorunz a écrit :

On 23/08/2022 14:13, rudu wrote:

Hi,

Coming back from holidays, I did a pretty huge upgrade of my Bookworm
system on my aging desktop (2009).
After a reboot, what I could see is best described via this snapshot :
https://wtf.roflcopter.fr/pics/rVcN0HFu/vgQCGy7g.png


Only one thing I can think of is nouveau driver issue.
If I am not mistaken, Bookworm has libdrm-nouveau2 and
xserver-xorg-video-nouveau packages to provide nouveau driver.
Only libdrm-nouveau2 has seen new upstream release landing in bookworm
recently.

See in your apt logs if these packages were part of the upgrade you
undertaken recently? For me, history.log shows upgrade entry on
2022-08-03 (20 days ago): libdrm-nouveau2:amd64 (upgrade from version
2.4.110-1 to version 2.4.112-3).

Also please show output of
inxi -G
command in terminal. Install inxi if you haven't already.

--
With kindest regards, Piotr.


I've been already trying some downgrades, of :
Downgrade: xserver-xorg-video-nouveau:amd64 (1:1.0.17-2, 1:1.0.17-1), 
xserver-xorg-input-evdev:amd64 (1:2.10.6-2+b1, 1:2.10.6-2), 
xserver-xorg-core:amd64 (2:21.1.4-1, 2:1.20.11-1+deb11u1)

Purge: xserver-xephyr:amd64 (2:21.1.4-1)
Downgrade: xserver-xorg:amd64 (1:7.7+23, 1:7.7+22), xserver-common:amd64 
(2:21.1.4-1, 2:1.20.11-1+deb11u1)

... the stable versions of those packages.
But nothing changed.

Then, Piotr drew my attention to this libdrm-nouveau2 :
Downgrade: libdrm-nouveau2:amd64 (2.4.112-3, 2.4.104-1), 
libdrm-nouveau2:i386 (2.4.112-3, 2.4.104-1)

... still no luck.

Looking at its dependencies, I noticed a libdrm2 and libdrm-common 
packages. Their downgrade had some consequences :
Install: libllvm11:amd64 (1:11.1.0-6+b2, automatic), 
kwin-wayland-backend-x11:amd64 (4:5.25.4-2, automatic), 
libdrm-intel1:amd64 (2.4.104-1, automatic)
Downgrade: libglx-mesa0:amd64 (22.2.0~rc2-1, 20.3.5-1), libgbm1:amd64 
(22.2.0~rc2-1, 20.3.5-1), libgl1-mesa-dri:amd64 (22.2.0~rc2-1, 
20.3.5-1), libdrm-common:amd64 (2.4.112-3, 2.4.104-1), xwayland:amd64 
(2:22.1.3-1, 2:1.20.11-1+deb11u1), libglapi-mesa:amd64 (22.2.0~rc2-1, 
20.3.5-1), libdrm-amdgpu1:amd64 (2.4.112-3, 2.4.104-1), 
libdrm-radeon1:amd64 (2.4.112-3, 2.4.104-1), libdrm-radeon1:i386 
(2.4.112-3, 2.4.104-1), libdrm2:amd64 (2.4.112-3, 2.4.104-1), 
libdrm2:i386 (2.4.112-3, 2.4.104-1), libegl-mesa0:amd64 (22.2.0~rc2-1, 
20.3.5-1), libdrm-intel1:i386 (2.4.112-3, 2.4.104-1)
Remove: libxcb-present0:i386 (1.15-1), libglx-mesa0:i386 (22.2.0~rc2-1), 
libglvnd0:i386 (1.4.0-1), libxshmfence1:i386 (1.3-1), libdecor-0-0:i386 
(0.1.0-3), libfltk1.1:i386 (1.1.10-29), libwayland-cursor0:i386 
(1.21.0-1), libxcb-dri2-0:i386 (1.15-1), libxcb-dri3-0:i386 (1.15-1), 
libgbm1:i386 (22.2.0~rc2-1), libwayland-server0:i386 (1.21.0-1), 
libglx0:i386 (1.4.0-1), libdrm-nouveau2:i386 (2.4.104-1), libllvm14:i386 
(1:14.0.6-2), kwin-wayland-backend-drm:amd64 (4:5.25.4-2), libz3-4:i386 
(4.8.12-1+b1), libxcvt0:amd64 (0.1.2-1), libgl1-mesa-dri:i386 
(22.2.0~rc2-1), libxkbcommon0:i386 (1.4.1-1), freeglut3:i386 (2.8.1-6), 
libxcb-glx0:i386 (1.15-1), libwayland-egl1:i386 (1.21.0-1), 
libglapi-mesa:i386 (22.2.0~rc2-1), libsdl2-2.0-0:i386 (2.0.22+dfsg-6), 
libdrm-amdgpu1:i386 (2.4.112-3), libgl1:i386 (1.4.0-1), 
libwayland-client0:i386 (1.21.0-1), libxcb-sync1:i386 (1.15-1), 
libatomic1:i386 (12.1.0-8), libxcb-xfixes0:i386 (1.15-1)


Then a reboot and ... bingo ! The artefacts were gone, everything back 
in order.


So Sven, you must be right as I can see some mesa packages removed or 
downgraded in my last move, hope that bug will be resolved soon.


I know it's a bit late, but Piotr asked me for an output, here it is :
$ inxi -G
Graphics:
  Device-1: NVIDIA G96C [GeForce 9400 GT] driver: nouveau v: kernel
  Display: x11 server: X.Org v: 1.20.11 with: Xwayland driver: X:
    loaded: modesetting gpu: nouveau resolution: 1920x1080~60Hz
  OpenGL: renderer: NV96 v: 3.3 Mesa 20.3.5

And for good mesure :
$ uname -a && cat /etc/debian_version
Linux birdynam 5.7.0-3-amd64 #1 SMP Debian 5.7.17-1 (2020-08-23) x86_64 
GNU/Linux

bookworm/sid

Thanks again to Piotr and Sven and all the subscribers of this great list
Rudu




Re: no JAVA_HOME in the path

2022-08-23 Thread rudu

On 2022-08-23 9:40 a.m., Roberto C. Sánchez wrote:

On Tue, Aug 23, 2022 at 09:21:38AM -0400, Amn wrote:
    When I type echo $JAVA_HOME, Debian 11's Konsole displays ... 
nothing,

    'echo $PATH' reports -
/usr/local/[1]bin:/usr/bin:/bin:/usr/local/games:/usr/games:/snap/bin:libtool:
    /usr/bin/libtool /usr/share/libtool 
/usr/share/man/man1/libtool.1.gz -

    However if I type, 'java --version' I get -
/usr/local/[2]bin:/usr/bin:/bin:/usr/local/games:/usr/games:/snap/bin:libtool:
    /usr/bin/libtool /usr/share/libtool 
/usr/share/man/man1/libtool.1.gz -,

    which is correct.
    Where is $JAVA_HOME set or how do I add it to the path permanently?


You have to set it yourself.

Options include /etc/bashrc, /etc/profile, /etc/profile.d,
/etc/environment, /etc/environment.d, and possibly others, for setting
it system-wide, and their per-user counterparts in $HOME for setting it
on a per-user basis.

Regards,

-Roberto



Le 23/08/2022 à 15:49, Amn a écrit :

Thank you for your prompt response.
Adding Java to the $PATH variable requires me to know the location 
where Java was installed, which I don't know. Is there a way to find 
out where Java was installed?





Maybe this could help :

$ java -version
openjdk version "11.0.16" 2022-07-19
OpenJDK Runtime Environment (build 11.0.16+8-post-Debian-1)
OpenJDK 64-Bit Server VM (build 11.0.16+8-post-Debian-1, mixed mode, 
sharing)


$ update-alternatives --config java
Il existe 6 choix pour l'alternative java (qui fournit /usr/bin/java).

  Sélection   Chemin Priorité  État

  0    /usr/lib/jvm/java-11-openjdk-amd64/bin/java   
mode automatique
  1    /usr/lib/jvm/java-1.5.0-sun/jre/bin/java 53    mode 
manuel
  2    /usr/lib/jvm/java-10-openjdk-amd64/bin/java 1101  
mode manuel
* 3    /usr/lib/jvm/java-11-openjdk-amd64/bin/java   
mode manuel

  4    /usr/lib/jvm/java-6-sun/jre/bin/java 63    mode manuel
  5    /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java 1081  
mode manuel
  6    /usr/lib/jvm/oracle-java8-jdk-amd64/jre/bin/java 
318   mode manuel


Appuyez sur  pour conserver la valeur par défaut[*] ou 
choisissez le numéro sélectionné :


(Sorry, it's french)

Rudu




Bookworm : graphic glitches all over my screen after upgrade

2022-08-23 Thread rudu

Hi,

Coming back from holidays, I did a pretty huge upgrade of my Bookworm 
system on my aging desktop (2009).

After a reboot, what I could see is best described via this snapshot :
https://wtf.roflcopter.fr/pics/rVcN0HFu/vgQCGy7g.png

What I tried so far :
- replacing my nouveau driver by a proprietary one, but :
$ nvidia-detect
Detected NVIDIA GPUs:
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation G96C 
[GeForce 9400 GT] [10de:0641] (rev a1)


Checking card:  NVIDIA Corporation G96C [GeForce 9400 GT] (rev a1)
Your card is only supported by the 340 legacy drivers series, which is 
only available up to buster.


- installed the last kernel for testing :
$ dpkg -l linux-image-* | grep ^ii
ii  linux-image-5.18.0-4-amd64  5.18.16-1    amd64 Linux 5.18 
for 64-bit PCs (signed)
ii  linux-image-5.7.0-2-amd64   5.7.10-1 amd64 Linux 5.7 for 
64-bit PCs (signed)
ii  linux-image-5.7.0-3-amd64   5.7.17-1 amd64 Linux 5.7 for 
64-bit PCs (signed)
ii  linux-image-amd64   5.18.16-1    amd64 Linux for 
64-bit PCs (meta-package)

... no change.

- reconfigured window display management between lightdm/sddm/gdm3 :
Curiously, only sddm showed no sign of being affected, until I opened a 
graphic environment (LXDE, XFCE4, Gnome-Xorg/wayland, 
Plasma-Xorg/wayland) where the problem was always back.


- I looked into /var/log/apt/term.log resulting from my last upgrade and 
tried to find something relevant and I saw this :

cat /var/log/apt/term.log | grep xserver
Préparation du dépaquetage de .../38-xserver-common_2%3a21.1.4-1_all.deb ...
Dépaquetage de xserver-common (2:21.1.4-1) sur (2:21.1.3-2) ...
Préparation du dépaquetage de 
.../39-xserver-xorg-core_2%3a21.1.4-1_amd64.deb ...

Dépaquetage de xserver-xorg-core (2:21.1.4-1) sur (2:21.1.3-2+b1) ...
Préparation du dépaquetage de 
.../359-xserver-xephyr_2%3a21.1.4-1_amd64.deb ...

Dépaquetage de xserver-xephyr (2:21.1.4-1) sur (2:21.1.3-2+b1) ...
Paramétrage de xserver-common (2:21.1.4-1) ...
Paramétrage de xserver-xephyr (2:21.1.4-1) ...
Paramétrage de xserver-xorg-core (2:21.1.4-1) ...

I don't know what to do or where to look, my system is barely usable now 
and freezes regularly ...


Any help would be warmly appreciated
Rudu





Re: Screenshot with Gnome

2022-07-27 Thread rudu

Le 27/07/2022 à 08:49, Thiemo Kellner a écrit :
My favorite is flameshot for its capabilities for annotation, marking 
and such.




+1



Re: Exim4 smarthost conf

2022-07-20 Thread rudu

Thank you Tixy.

Le 19/07/2022 à 20:26, Tixy a écrit :

On Tue, 2022-07-19 at 17:37 +0200, rudu wrote:

Hi,

I'm at a lost here trying to configure exim4 on a laptop running
bookworm as a smarthost relay to my email provider.
I already made it working on my desktop machine (bookworm also) on the
same local network though I had difficulties too at the time.
All I'm trying to do is to send myself a mail in a terminal.

To make it quick and with the help of the config files I found on my
desktop, I did :

# dpkg-reconfigure exim4-config    # smtpauth.provider.fr::465

Do you definitely need port 465, not 587?

Just my provider's recommendations.
And my desktop uses them just fine.





# vi /etc/exim4/passwd.client    # putting the credentials here

The steps below aren't something I've needed to do


# vi /etc/exim4/exim4.conf.localmacros    # MAIN_TLS_ENABLE = 1
# /usr/share/doc/exim4/examples/exim-gencert    # generating exim.crt
and exim.key files in /etc/exim4/

My notes for the steps I did when setting up exim are...

Install exim4, ca-certificates and s-nail.

Run 'dpkg-reconfigure exim4-config' and answer questions...

General type of mail configuration: "mail sent by smarthost; received via 
SMTP or fetchmail"
System mail name: "yxit.co.uk"
IP-addresses to listen on for incoming SMTP connections: ""
Other destinations for which mail is accepted: "home"
Machines to relay mail for: "192.168.0.0/22"
IP address or host name of the outgoing smarthost: 
"mail.myisp.co.uk::587"
Hide local mail name: "Yes"
Visible domain name for local users: "yxit.co.uk"
Keep number of DNS-queries minimal (Dial-on-Demand)? "No"
Delivery method for local mail: "Maildir format in home directory"
Split configuration into small files?: "Yes"

Edit /etc/exim4/passwd.client to add

mail.myisp.co.uk:usen...@myisp.co.uk:password
My general type of exim4 configuration is "satellite" as I just intend 
to relay the outgoing mails to my provider.

Here is my config files :
# cat /etc/exim4/update-exim4.conf.conf
[...]
dc_eximconfig_configtype='satellite'
dc_other_hostnames=''
dc_local_interfaces='127.0.0.1'
dc_readhost='mydomain.com'
dc_relay_domains='*.*'
dc_minimaldns='false'
dc_relay_nets=''
dc_smarthost='smtpauth.provider.fr::465'
CFILEMODE='644'
dc_use_split_config='false'
dc_hide_mailname='true'
dc_mailname_in_oh='true'
dc_localdelivery='mail_spool'

# cat /etc/exim4/passwd.client
[...]
smtpauth.provider.fr:usern...@provider.fr:password

# exim4 -v -qff
LOG: queue_run MAIN
  Start queue run: pid=6510 -qff
delivering 1oDoHK-ta-0W (queue run pid 6510)
R: smarthost for m...@mydomain.com
T: remote_smtp_smarthost for m...@mydomain.com
Transport port=25 replaced by host-specific port=465
Connecting to provider.fr [109.234.xxx.xxx]:465 ...  TFO mode sendto, no 
data: EINPROGRESS

 connected
  SMTP(closed)<<
  SMTP(close)>>
cmdlog: '(unset)'
LOG: MAIN
  H=provider.fr [109.234.xxx.xxx]: Remote host closed connection in 
response to initial connection

LOG: MAIN
  == m...@mydomain.com R=smarthost T=remote_smtp_smarthost defer (-18) 
H=provider.fr [109.234.xxx.xxx]: Remote host closed connection in 
response to initial connection

delivering 1oDorR-0001DY-1p (queue run pid 6510)
R: smarthost for m...@free.fr
T: remote_smtp_smarthost for m...@free.fr
Transport port=25 replaced by host-specific port=465
Connecting to provider.fr [109.234.xxx.xxx]:465 ...  TFO mode sendto, no 
data: EINPROGRESS

 connected    *< Hangs there for several minutes*
  SMTP(closed)<<
  SMTP(close)>>
cmdlog: '(unset)'
LOG: MAIN
  H=provider.fr [109.234.xxx.xxx]: Remote host closed connection in 
response to initial connection

LOG: MAIN
  == m...@free.fr R=smarthost T=remote_smtp_smarthost defer (-18) 
H=provider.fr [109.234.xxx.xxx]: Remote host closed connection in 
response to initial connection

LOG: queue_run MAIN
  End queue run: pid=6510 -qff

Regards
Rudu



Exim4 smarthost conf

2022-07-19 Thread rudu

Hi,

I'm at a lost here trying to configure exim4 on a laptop running 
bookworm as a smarthost relay to my email provider.
I already made it working on my desktop machine (bookworm also) on the 
same local network though I had difficulties too at the time.

All I'm trying to do is to send myself a mail in a terminal.

To make it quick and with the help of the config files I found on my 
desktop, I did :


# dpkg-reconfigure exim4-config    # smtpauth.provider.fr::465
# vi /etc/exim4/passwd.client    # putting the credentials here
# vi /etc/exim4/exim4.conf.localmacros    # MAIN_TLS_ENABLE = 1
# /usr/share/doc/exim4/examples/exim-gencert    # generating exim.crt 
and exim.key files in /etc/exim4/

# update-exim4.conf
# systemctl restart exim4
$ echo "exim4 test" | mail -s "exim4 test" m...@mydomain.com

Then tail /var/log/exim4/mainlog shows invariably :

2022-07-19 17:16:22 1oDoHK-ta-0W H=provider.fr [109.234.xxx.xxx]: 
Remote host closed connection in response to initial connection
2022-07-19 17:16:22 1oDoHK-ta-0W == m...@mydomain.com R=smarthost 
T=remote_smtp_smarthost defer (-18) H=provider.fr [109.234.xxx.xxx]: 
Remote host closed connection in response to initial connection

2022-07-19 17:16:22 End queue run: pid=4692 -qff

I have a doubt concerning the generation of the TLS files, I didn't know 
what to answer to some questions (what domain name should I choose for 
my local network for example ?) and I may have not given the same 
answers at the time I got it working on my desktop.


So if this rings a bell for anybody, I would welcome any hint to track 
down what's wrong here.


TIA
Rudu



Re: exim4 as a smarthost with TLS

2021-07-31 Thread rudu

Guys, guess what ?

I received my test mails !!!

Reco, thank you very much, Sven also for your input.

Rudu



Re: exim4 as a smarthost with TLS

2021-07-31 Thread rudu

Reco, Sven, thank you for your help, my next steps below :

Le 31/07/2021 à 16:24, Reco a écrit :

On Sat, Jul 31, 2021 at 04:03:43PM +0200, Sven Hartge wrote:

Reco  wrote:

On Sat, Jul 31, 2021 at 02:45:34PM +0200, Sven Hartge wrote:

Reco  wrote:


Seems straightforward enough.
Edit /etc/exim4/exim4.conf.template, you'll need to comment out a block
similar to this:
  .ifndef REMOTE_SMTP_SMARTHOST_TLS_VERIFY_HOSTS
    REMOTE_SMTP_SMARTHOST_TLS_VERIFY_HOSTS = *
  .endif
Do not touch second block (starting with .ifdef
REMOTE_SMTP_SMARTHOST_TLS_VERIFY_HOSTS).
Execute /usr/sbin/update-exim4.conf.
Bounce exim4.
Smarthost certificate verification should be disabled after this.

Wouldn't it be easier to just create /etc/exim4/exim4.conf.localmacros
and put

  REMOTE_SMTP_SMARTHOST_TLS_VERIFY_HOSTS = !*

in it?

Could be. Will exim4.conf.localmacros apply to non-split exim config?

It will *only* apply to a non-split config.

Agreed. There's nothing wrong in trying
REMOTE_SMTP_SMARTHOST_TLS_VERIFY_HOSTS = !* as far as I'm concerned.

What I just did :
# nano /etc/exim4/exim4.conf.template
I commented out this :
#.ifndef REMOTE_SMTP_SMARTHOST_TLS_VERIFY_HOSTS
#  REMOTE_SMTP_SMARTHOST_TLS_VERIFY_HOSTS = *
#.endif

Then
# update-exim4.conf
# systemctl restart exim4.service
# rm /var/spool/exim4/db/retry*
# rm /var/spool/exim4/db/wait-remote_smtp_smarthost*
# tail -f /var/log/exim4/mainlog
Then in a user terminal :
$ mail -s test my.n...@provider.fr

The log :
2021-08-01 00:33:34 1m9xXy-00035e-PB <= my.n...@provider.fr U=rudu 
P=local S=463
2021-08-01 00:33:35 1m9xXy-00035e-PB H=smtpauth.provider.fr 
[185.204.xxx.xxx]: SMTP error from remote mail server after AUTH PLAIN 
: 454 4.7.0 
Temporary authentication failure: Connection lost to authentication server
2021-08-01 00:33:35 1m9xXy-00035e-PB == my.n...@provider.fr R=smarthost 
T=remote_smtp_smarthost defer (0) H=smtpauth.provider.fr 
[185.204.xxx.xxx]: SMTP error from remote mail server after AUTH PLAIN 
: 454 4.7.0 
Temporary authentication failure: Connection lost to authentication server


Sorry to be so lost, but really I can't figure out what all this means ...
But that's sort of new kind of mainlog from exim4 ...

Rings some bell ?

Thanks in advance
Rudu



Re: exim4 as a smarthost with TLS

2021-07-31 Thread rudu

Hi Reco,

Le 31/07/2021 à 08:25, Reco a écrit :

On Sat, Jul 31, 2021 at 09:21:02AM +0300, Reco wrote:

grep split /etc/exim4/update-exim4.conf.conf

# grep split /etc/exim4/update-exim4.conf.conf
dc_use_split_config='false'

And this part shows that to change this you have to edit files at
/etc/exim4/conf.d.

Damn. I need to think more before I send e-mails.
Of course this part shows that you lack a split exim4 config, so we'll
have to edit /etc/exim4/exim4.conf.template.

So, in addition to:

grep -R REMOTE_SMTP_SMARTHOST_TLS_VERIFY_HOSTS /etc/exim4/conf.d

# grep -R REMOTE_SMTP_SMARTHOST_TLS_VERIFY_HOSTS /etc/exim4/conf.d
/etc/exim4/conf.d/transport/30_exim4-config_remote_smtp_smarthost:.ifdef 
REMOTE_SMTP_SMARTHOST_TLS_VERIFY_HOSTS
/etc/exim4/conf.d/transport/30_exim4-config_remote_smtp_smarthost: 
tls_verify_hosts = REMOTE_SMTP_SMARTHOST_TLS_VERIFY_HOSTS
/etc/exim4/conf.d/transport/10_exim4-config_transport-macros:.ifndef 
REMOTE_SMTP_SMARTHOST_TLS_VERIFY_HOSTS
/etc/exim4/conf.d/transport/10_exim4-config_transport-macros: 
REMOTE_SMTP_SMARTHOST_TLS_VERIFY_HOSTS = *



Please also post this:

grep REMOTE_SMTP_SMARTHOST_TLS_VERIFY_HOSTS /etc/exim4/exim4.conf.template

# grep REMOTE_SMTP_SMARTHOST_TLS_VERIFY_HOSTS /etc/exim4/exim4.conf.template
.ifndef REMOTE_SMTP_SMARTHOST_TLS_VERIFY_HOSTS
  REMOTE_SMTP_SMARTHOST_TLS_VERIFY_HOSTS = *
.ifdef REMOTE_SMTP_SMARTHOST_TLS_VERIFY_HOSTS
  tls_verify_hosts = REMOTE_SMTP_SMARTHOST_TLS_VERIFY_HOSTS


Thank you
Rudu




Re: exim4 as a smarthost with TLS

2021-07-30 Thread rudu

Thank you Reco, see below

Le 30/07/2021 à 18:27, Reco a écrit :

On Fri, Jul 30, 2021 at 07:25:34PM +0300, Reco wrote:

Hi.

On Fri, Jul 30, 2021 at 03:35:28PM +0200, rudu wrote:

Still, a simple :
$ mail -s test my.n...@provider.fr
... ends up to show in # tail -f /var/log/exim4/mainlog :
2021-07-30 10:58:09 1m9OLJ-000cAf-Ss <= my.n...@provider.fr U=rudu P=local S=461
2021-07-30 10:58:10 1m9OLJ-000cAf-Ss == my.n...@provider.fr R=smarthost 
T=remote_smtp_smarthost defer (-37) H=smtpauth.provider.fr [185.204.xxx.xxx]: 
TLS
session: (certificate verification failed): certificate invalid

Your exim certificate has nothing to do with this.
But your smarthost certificate certainly does.

Every time you try to send a mail, your exim checks certificate of
remote MTA, and it does not like what it sees.


So, when I ran the command :
# bash /usr/share/doc/exim4-base/examples/exim-gencert
... did I miss something that should be there ?

It's possible. Please provide an output of:

grep -i 'tls_.*verify' /var/lib/exim4/config.autogenerated

grep split exim4/update-exim4.conf.conf

A typo.

grep -i 'tls_.*verify' /var/lib/exim4/config.autogenerated

# grep -i 'tls_.*verify' /var/lib/exim4/config.autogenerated
.ifndef MAIN_TLS_VERIFY_CERTIFICATES
MAIN_TLS_VERIFY_CERTIFICATES = ${if 
exists{/etc/ssl/certs/ca-certificates.crt}\

tls_verify_certificates = MAIN_TLS_VERIFY_CERTIFICATES
.ifdef MAIN_TLS_VERIFY_HOSTS
tls_verify_hosts = MAIN_TLS_VERIFY_HOSTS
.ifdef MAIN_TLS_TRY_VERIFY_HOSTS
tls_try_verify_hosts = MAIN_TLS_TRY_VERIFY_HOSTS
.ifndef REMOTE_SMTP_SMARTHOST_TLS_VERIFY_HOSTS
  REMOTE_SMTP_SMARTHOST_TLS_VERIFY_HOSTS = *
.ifdef REMOTE_SMTP_SMARTHOST_TLS_VERIFY_CERTIFICATES
  tls_verify_certificates = REMOTE_SMTP_SMARTHOST_TLS_VERIFY_CERTIFICATES
.ifdef REMOTE_SMTP_SMARTHOST_TLS_VERIFY_HOSTS
  tls_verify_hosts = REMOTE_SMTP_SMARTHOST_TLS_VERIFY_HOSTS


grep split /etc/exim4/update-exim4.conf.conf

# grep split /etc/exim4/update-exim4.conf.conf
dc_use_split_config='false'

I'm afraid I don't understand much of what you're asking me.
Hope that it gives you any hint about what's going wrong here.

Thank you again.

Rudu



exim4 as a smarthost with TLS

2021-07-30 Thread rudu

Dear Debian users,

I would greatly appreciate some help here, as I'm trying to tighten up 
my configuration of exim4 in a smarthost way.
My desktop runs Bullseye and performs a few cron tasks who used to send 
me by mail the notifications of their successful executions (or not).

I stopped receiving these notifications around late April this year.
But my initial configuration of exim4 was way back, I suppose I just did 
something like this at the time :

https://wiki.debian.org/Exim#Smarthost_with_Authentication

My e-mail service provider seems not to accept this anymore so I went to 
this chapter :

https://wiki.debian.org/Exim#TLS_and_authentication
... and followed each step except the "Dual stack RSA/ECDSA 
configuration" which seemed unnecessary.


Still, a simple :
$ mail -s test my.n...@provider.fr
... ends up to show in # tail -f /var/log/exim4/mainlog :
2021-07-30 10:58:09 1m9OLJ-000cAf-Ss <= my.n...@provider.fr U=rudu 
P=local S=461
2021-07-30 10:58:10 1m9OLJ-000cAf-Ss == my.n...@provider.fr R=smarthost 
T=remote_smtp_smarthost defer (-37) H=smtpauth.provider.fr 
[185.204.xxx.xxx]: TLS session: (certificate verification failed): 
certificate invalid


So, when I ran the command :
# bash /usr/share/doc/exim4-base/examples/exim-gencert
... did I miss something that should be there ?

Rudu



Re: ping gateway ok, ping any other local network address fails

2021-04-09 Thread rudu

Le 09/04/2021 à 12:08, Alexander V. Makartsev a écrit :

On 09.04.2021 14:41, rudu wrote:

Hi,

First, I tried to understand why a single machine among others 
couldn't print on the local printer.

So I tried to ping the printer and it failed.
The machine could nevertheless surf the web with no problem ...

I paste here a few commands I passed when remotely connected to the 
problematic machine (sorry for the french locale).

What should I check next ? Ideas ?


It looks like your printer could be mis-configured.

What is make\model of your printer?
How printer was connected to your local area network (using Switch or 
Router)?

What method have you used to configure IP address of the printer?
Usually, network settings could be verified by printing a special 
settings report page.


Thanks for your help Alexander,

To configure the printer, I first have to be able to ping it on the 
local network, which every over computer can do.
And they can print all right, so this desktop must have some network 
misconfiguration of some sort, I guess ...
It seems like trapped into a tunnel toward the gateway/router to get 
out, but can't shake hands with a pal next door.

I first suspected a firewall rule of some sort, but there's none.

I had to investigate remotely as I can't physically access the machine, 
so until I can have another chance (the lock-down situation here doesn't 
help) I'm gathering hints and ideas.


Rudu



ping gateway ok, ping any other local network address fails

2021-04-09 Thread rudu

Hi,

First, I tried to understand why a single machine among others couldn't 
print on the local printer.

So I tried to ping the printer and it failed.
The machine could nevertheless surf the web with no problem ...

I paste here a few commands I passed when remotely connected to the 
problematic machine (sorry for the french locale).

What should I check next ? Ideas ?

Thanks


$ /sbin/ifconfig
enp2s0: flags=4163  mtu 1500
    inet 192.168.1.50  netmask 255.255.255.0  broadcast 192.168.1.255
    inet6 fe80::f67f:8a2c:e338:3db4  prefixlen 64  scopeid 0x20
    ether d0:50:99:7a:ae:6f  txqueuelen 1000  (Ethernet)
    RX packets 26166  bytes 6940725 (6.9 MB)
    RX errors 0  dropped 0  overruns 0  frame 0
    TX packets 33708  bytes 29316822 (29.3 MB)
    TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73  mtu 65536
    inet 127.0.0.1  netmask 255.0.0.0
    inet6 ::1  prefixlen 128  scopeid 0x10
    loop  txqueuelen 1000  (Boucle locale)
    RX packets 513  bytes 48788 (48.7 KB)
    RX errors 0  dropped 0  overruns 0  frame 0
    TX packets 513  bytes 48788 (48.7 KB)
    TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

$ ping -c 4 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
64 octets de 192.168.1.1 : icmp_seq=1 ttl=64 temps=0.468 ms
64 octets de 192.168.1.1 : icmp_seq=2 ttl=64 temps=0.435 ms
64 octets de 192.168.1.1 : icmp_seq=3 ttl=64 temps=0.445 ms
64 octets de 192.168.1.1 : icmp_seq=4 ttl=64 temps=0.427 ms

--- statistiques ping 192.168.1.1 ---
4 paquets transmis, 4 reçus, 0 % paquets perdus, temps 3068 ms
rtt min/avg/max/mdev = 0.427/0.443/0.468/0.015 ms


$ ping -c 4 192.168.1.20
PING 192.168.1.20 (192.168.1.20) 56(84) bytes of data.
De 192.168.1.50 icmp_seq=1 Hôte de destination injoignable
De 192.168.1.50 icmp_seq=2 Hôte de destination injoignable
De 192.168.1.50 icmp_seq=3 Hôte de destination injoignable
De 192.168.1.50 icmp_seq=4 Hôte de destination injoignable

--- statistiques ping 192.168.1.20 ---
4 paquets transmis, 0 reçus, +4 erreurs, 100 % paquets perdus, temps 3048 ms
 tuyau 3



$ netstat -r
Table de routage IP du noyau
Destination Passerelle  Genmask Indic   MSS Fenêtre irtt 
Iface
default msbr.home   0.0.0.0 UG    0 0  0 
enp2s0
link-local  0.0.0.0 255.255.0.0 U 0 0  0 
enp2s0
192.168.1.0 0.0.0.0 255.255.255.0   U 0 0  0 
enp2s0



$ ping -c 4 msbr.home
PING msbr.home (192.168.1.1) 56(84) bytes of data.
64 octets de msbr.home (192.168.1.1) : icmp_seq=1 ttl=64 temps=0.412 ms
64 octets de msbr.home (192.168.1.1) : icmp_seq=2 ttl=64 temps=0.447 ms
64 octets de msbr.home (192.168.1.1) : icmp_seq=3 ttl=64 temps=0.415 ms
64 octets de msbr.home (192.168.1.1) : icmp_seq=4 ttl=64 temps=0.436 ms

--- statistiques ping msbr.home ---
4 paquets transmis, 4 reçus, 0 % paquets perdus, temps 3059 ms
rtt min/avg/max/mdev = 0.412/0.427/0.447/0.014 ms


$ sudo iptables -L -n -v
Chain INPUT (policy ACCEPT 0 packets, 0 bytes)
 pkts bytes target prot opt in out source destination

Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
 pkts bytes target prot opt in out source destination

Chain OUTPUT (policy ACCEPT 0 packets, 0 bytes)
 pkts bytes target prot opt in out source destination


$ groups
administration adm cdrom sudo dip plugdev lpadmin sambashare






Re: apparmor="DENIED" operation="open" profile="/usr/lib/ipsec/charon" name="/run/NetworkManager/resolv.conf"

2020-03-21 Thread rudu

Le 21/03/2020 à 08:56, Reco a écrit :

On Sat, Mar 21, 2020 at 10:52:53AM +0300, Reco wrote:

What I figure out is the problem is that somehow, apparmor denies to 
network-manager the ability to provide a valid resolv.conf file.
So ipsec can't add a DNS server to my VPN connection.

For that particular file it's:

Forgot a coma:

echo "/run/NetworkManager/resolv.conf rwk," \
>> /etc/apparmor.d/local/usr.lib.ipsec.charon
aa-complain /usr/lib/ipsec/charon
aa-enforce /usr/lib/ipsec/charon
  
Reco


Thank you very much Reco, you taught me something I had to know indeed.
Apparmor isn't installed on my laptop, but it is on my desktop and I 
wasn't aware of this.

It explains why I hadn't experienced any problem setting up the laptop.

I had to install apparmor-utils on my desktop though, it wasn't there so 
neither were

the aa-logprof, aa-complain and aa-enforce commands (among others).

So I read some docs online to understand the general idea, then :
birdynam:~# echo "/run/NetworkManager/resolv.conf rwk," >> 
/etc/apparmor.d/local/usr.lib.ipsec.charon

birdynam:~# cat /etc/apparmor.d/local/usr.lib.ipsec.charon
/run/NetworkManager/resolv.conf rwk,
birdynam:~# systemctl restart apparmor.service
birdynam:~# ipsec restart
Stopping strongSwan IPsec...
Starting strongSwan 5.8.2 IPsec [starter]...
birdynam:~# ipsec up protonvpn
[...]
scheduling reauthentication in 9993s
maximum IKE_SA lifetime 10533s
installing DNS server 10.6.9.1 to /etc/resolv.conf
installing new virtual IP 10.6.6.11
selected proposal: ESP:AES_CBC_256/HMAC_SHA2_256_128/NO_EXT_SEQ
CHILD_SA protonvpn{1} established with SPIs c14ac58d_i c5737b8a_o and TS 
10.6.6.11/32 === 0.0.0.0/0
received AUTH_LIFETIME of 27883s, reauthentication already scheduled in 
9993s

peer supports MOBIKE
connection 'protonvpn' established successfully
birdynam:~#

Et voilà !!
Now I'm surfing through my protonvpn access.

Again thanks a lot Reco

Rudu



apparmor="DENIED" operation="open" profile="/usr/lib/ipsec/charon" name="/run/NetworkManager/resolv.conf"

2020-03-20 Thread rudu

Greetings,

I'm trying to setup a vpn connection to my local desktop.
I've successfully achieved it with my local laptop using this tutorial :
https://protonvpn.com/support/linux-ikev2-protonvpn/

I figured that I would as well achieve it on my desktop.
But I fail to have a working connection though I reproduced the exact 
same operations.

Both are running the same OSes :
# lsb_release -d
Description:    Debian GNU/Linux bullseye/sid

My desktop goes as far as getting a connection :
[...]
scheduling reauthentication in 9886s
maximum IKE_SA lifetime 10426s
adding DNS server failed
adding DNS server failed
handling INTERNAL_IP4_DNS attribute failed
installing new virtual IP [xx.xx.xx.xx]
selected proposal: ESP:AES_CBC_256/HMAC_SHA2_256_128/NO_EXT_SEQ
CHILD_SA protonvpn{1} established with SPIs ccb24adf_i cbaecc2f_o and TS 
10.6.4.188/32 === 0.0.0.0/0
received AUTH_LIFETIME of 28133s, reauthentication already scheduled in 
9886s

peer supports MOBIKE
connection 'protonvpn' established successfully

And dmesg sends lots of things like those I put in the subject of my mail.

I searched the web with as many keywords as I could think of, to no 
avail ... for me.


What I figure out is the problem is that somehow, apparmor denies to 
network-manager the ability to provide a valid resolv.conf file.

So ipsec can't add a DNS server to my VPN connection.

It's beyond me right now, if anIt's beyond me right now, if anybody can 
see some light in this haze, feel free to ask for more information.ybody 
can see some light in this haze, feel free to ask for more information.


Sorry for my bad English
Take care

Rudu




[Solved] Re: apt --fix-broken install >> ValueError

2019-10-16 Thread rudu

Le 14/10/2019 à 18:36, rudu a écrit :

Do you want to continue? [Y/n]
dpkg: error: parsing file '/var/lib/dpkg/status' near line 44958 
package 'libqwt-qt5-6':

 field name '!use' must be followed by colon
E: Sub-process dpkg --set-selections returned an error code (2)
E: Couldn't clean the currently selected dpkg states

Isn't there a problem with that /var/lib/dpkg/status file too ?



I finally got out of my problem by doing this :
# cd /var/lib/dpkg
# cp status status.backup
# cp status-old status-old.backup
# cp status-old status
# apt --fix-broken install
# apt-get update
# apt-get upgrade
# rm status.backup
# rm status-old.backup

Great thanks to Jonas for his help,

Rudu



Re: apt --fix-broken install >> ValueError

2019-10-14 Thread rudu

Thank you Jonas,
Unfortunately, I'm still stuck. See below.


Le 14/10/2019 à 17:23, Jonas Smedegaard a écrit :

Quoting rudu (2019-10-14 16:41:36)

Hi debian users,

In the process of upgrading my debian testing laptop today, I finally
end up with a broken apt system.
I can't figure out how to get out of the mess I'm in.
I pasted a few commands and theirs results just below.
I hope this is going to make sense for some of you and that you could
give me some hints.
Thank you.
You might want to run 'apt --fix-broken install' to correct these.

You did as you were told, but...

[...]


The above exception was the direct cause of the following exception:

Traceback (most recent call last):
    File "/usr/bin/apt-listchanges", line 280, in 

...unfortunately apt cannot always automatically fix when a package
hooking into apt itself is broken.

Concretely, you can manually move aside the file
/etc/apt/apt.conf.d/20listchanges and try above apt command again.

When apt is working again and you are done upgrading your system, then
most likely a newer /etc/apt/apt.conf.d/20listchanges has been installed
and you can throw away the one you had put aside.  If there is no such
file installed, then I recommend to _not_ put your file back, but
instead try "apt install --reinstall apt-listchanges" and see if that
installs a fresh configfile.

I did that, but the file 20listchanges hasn't been reinitiated.
And then :

# LANG=C apt install --reinstall apt-listchanges
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 gnome-flashback : Depends: libgnome-desktop-3-18 (>= 3.17.92) but it 
is not going to be installed
 gnome-screensaver : Depends: libgnome-desktop-3-18 (>= 3.17.92) but it 
is not going to be installed
 gnome-session-flashback : Depends: gnome-session-bin (>= 3.33.92) but 
3.30.1-2 is to be installed
 gnome-settings-daemon : Depends: libgnome-desktop-3-18 (>= 3.17.92) 
but it is not going to be installed
 Recommends: iio-sensor-proxy but it is not 
going to be installed

 libgd-graph-perl : Depends: libgd-perl but it is not going to be installed
    Depends: libgd-text-perl but it is not going to be 
installed
 libtypes-serialiser-perl : Depends: libcommon-sense-perl but it is not 
going to be installed
 mutter : Depends: libmutter-5-0 (>= 3.29.4) but it is not going to be 
installed
 python3 : PreDepends: python3-minimal (= 3.7.3-1) but 3.7.5-1 is to be 
installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages 
(or specify a solution).


# LANG=C apt --fix-broken install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following package was automatically installed and is no longer required:
  linux-image-4.19.0-4-amd64
Use 'apt autoremove' to remove it.
The following additional packages will be installed:
  gnome-session-bin libcommon-sense-perl libgd-perl libgd-text-perl 
libgnome-desktop-3-18 libmutter-5-0

  libpython3-stdlib python3
Suggested packages:
  fonts-dustin python3-doc python3-tk python3-venv
The following NEW packages will be installed:
  libcommon-sense-perl libgd-perl libgd-text-perl libgnome-desktop-3-18 
libmutter-5-0

The following packages will be upgraded:
  gnome-session-bin libpython3-stdlib python3
3 upgraded, 5 newly installed, 0 to remove and 442 not upgraded.
103 not fully installed or removed.
Need to get 0 B/1835 kB of archives.
After this operation, 5101 kB of additional disk space will be used.
Do you want to continue? [Y/n]
dpkg: error: parsing file '/var/lib/dpkg/status' near line 44958 package 
'libqwt-qt5-6':

 field name '!use' must be followed by colon
E: Sub-process dpkg --set-selections returned an error code (2)
E: Couldn't clean the currently selected dpkg states

Isn't there a problem with that /var/lib/dpkg/status file too ?

Thanks
Rudu




apt --fix-broken install >> ValueError

2019-10-14 Thread rudu

Hi debian users,

In the process of upgrading my debian testing laptop today, I finally 
end up with a broken apt system.

I can't figure out how to get out of the mess I'm in.
I pasted a few commands and theirs results just below.
I hope this is going to make sense for some of you and that you could 
give me some hints.

Thank you.


# LANG=C apt upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 gnome-flashback : Depends: libgnome-desktop-3-18 (>= 3.17.92) but it 
is not installed
 gnome-screensaver : Depends: libgnome-desktop-3-18 (>= 3.17.92) but it 
is not installed
 gnome-session-flashback : Depends: gnome-session-bin (>= 3.33.92) but 
3.30.1-2 is installed
 gnome-settings-daemon : Depends: libgnome-desktop-3-18 (>= 3.17.92) 
but it is not installed
 Recommends: iio-sensor-proxy but it is not 
installed

 libgd-graph-perl : Depends: libgd-perl but it is not installed
    Depends: libgd-text-perl but it is not installed
 libtypes-serialiser-perl : Depends: libcommon-sense-perl but it is not 
installed

 mutter : Depends: libmutter-5-0 (>= 3.29.4) but it is not installed
 python3 : PreDepends: python3-minimal (= 3.7.3-1) but 3.7.5-1 is installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages 
(or specify a solution).



# LANG=C apt --fix-broken install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following package was automatically installed and is no longer required:
  linux-image-4.19.0-4-amd64
Use 'apt autoremove' to remove it.
The following additional packages will be installed:
  gnome-session-bin libcommon-sense-perl libgd-perl libgd-text-perl 
libgnome-desktop-3-18 libmutter-5-0

  libpython3-stdlib python3
Suggested packages:
  fonts-dustin python3-doc python3-tk python3-venv
The following NEW packages will be installed:
  libcommon-sense-perl libgd-perl libgd-text-perl libgnome-desktop-3-18 
libmutter-5-0

The following packages will be upgraded:
  gnome-session-bin libpython3-stdlib python3
3 upgraded, 5 newly installed, 0 to remove and 442 not upgraded.
103 not fully installed or removed.
Need to get 0 B/1835 kB of archives.
After this operation, 5101 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Traceback (most recent call last):
  File "/usr/share/apt-listchanges/DebianFiles.py", line 117, in readfile
    self.stanzas += [ControlStanza(x) for x in f.read().split('\n\n') if x]
  File "/usr/share/apt-listchanges/DebianFiles.py", line 117, in 
    self.stanzas += [ControlStanza(x) for x in f.read().split('\n\n') if x]
  File "/usr/share/apt-listchanges/DebianFiles.py", line 70, in __init__
    field, value = line.split(':', 1)
ValueError: not enough values to unpack (expected 2, got 1)

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/bin/apt-listchanges", line 280, in 
    main(config)
  File "/usr/bin/apt-listchanges", line 83, in main
    status.readfile('/var/lib/dpkg/status')
  File "/usr/share/apt-listchanges/DebianFiles.py", line 120, in readfile
    {'what': file, 'errmsg': str(ex)}) from ex
RuntimeError: Error processing '/var/lib/dpkg/status': not enough values 
to unpack (expected 2, got 1)
dpkg: error: parsing file '/var/lib/dpkg/status' near line 44958 package 
'libqwt-qt5-6':

 field name '!use' must be followed by colon
E: Sub-process dpkg --set-selections returned an error code (2)
E: Couldn't clean the currently selected dpkg states





Re: Exim4 as a smarthost : Unrouteable address

2019-08-08 Thread rudu

Thank you Joe.

Le 07/08/2019 à 19:45, Joe a écrit :

On Wed, 7 Aug 2019 18:37:05 +0200
rudu  wrote:


Thank you Dan for your input.

Le 07/08/2019 à 17:28, Dan Purgert a écrit :

rudu wrote:

Hi all,

Until recently my machines running debian testing used to send me
e-mails as reports from cron tasks or from LAMP applications.
This is not working anymore.
I did of course a dpkg-reconfigure exim4-config to get this
/etc/exim4/update-exim4.conf.conf file :
[...]
# This is a Debian specific file

dc_eximconfig_configtype='satellite'
dc_other_hostnames='*'

Not sure if it makes a difference or not; but my exim satellite
configs have this entry (dc_other_hostnames) set to the local
system's name.

[...]

dc_smarthost='mail.myprovider.fr::465'

This is another problem I noticed.  My satellite configs simply
state dc_smarthost='mail.djph.net'; without any port
configurations.

As you suggested, I changed both parameters and this is what I get :



Here's one of many how-tos:

https://somoit.net/linux/linux-exim-authenticated-and-tls-mail-through-smarthost

I have done it in the past for a client, but too long ago to remember
anything.
Thanks to this link, I tried to use port 587, and changed a few things 
to finally get it working \o/ !

For the record, here's my final /etc/exim4/update-exim4.conf.conf file :
[...]
# This is a Debian specific file

dc_eximconfig_configtype='satellite'
dc_other_hostnames=''
dc_local_interfaces='127.0.0.1;192.168.0.20'
dc_readhost='example.org'
dc_relay_domains='*.fr'
dc_minimaldns='false'
dc_relay_nets=''
dc_smarthost='mail.myprovider.fr::587'
CFILEMODE='644'
dc_use_split_config='false'
dc_hide_mailname='true'
dc_mailname_in_oh='true'
dc_localdelivery='mail_spool'

Many thanks to all
Have a good day
Rudu



Re: Exim4 as a smarthost : Unrouteable address

2019-08-07 Thread rudu

Thank you Dan for your input.

Le 07/08/2019 à 17:28, Dan Purgert a écrit :

rudu wrote:

Hi all,

Until recently my machines running debian testing used to send me
e-mails as reports from cron tasks or from LAMP applications.
This is not working anymore.
I did of course a dpkg-reconfigure exim4-config to get this
/etc/exim4/update-exim4.conf.conf file :
[...]
# This is a Debian specific file

dc_eximconfig_configtype='satellite'
dc_other_hostnames='*'

Not sure if it makes a difference or not; but my exim satellite configs
have this entry (dc_other_hostnames) set to the local system's name.

[...]

dc_smarthost='mail.myprovider.fr::465'

This is another problem I noticed.  My satellite configs simply state
dc_smarthost='mail.djph.net'; without any port configurations.

As you suggested, I changed both parameters and this is what I get :


$ echo 'Hello there !!' | mail my.n...@domain.org -s Test13 -v
LOG: MAIN
  <= j...@example.org U=jean P=local S=453
jean@poste1:~$ delivering 1hvOe8-000392-5m
R: smarthost for my.n...@domain.org
T: remote_smtp_smarthost for my.n...@domain.org
Connecting to mail.myprovider.fr [91.217.154.228]:25 ... connected
  SMTP<< 220 mx0.myprovider.fr ESMTP Postfix (Debian/GNU)
  SMTP>> EHLO example.org
  SMTP<< 250-mx0.myprovider.fr
 250-PIPELINING
 250-SIZE 18442404
 250-VRFY
 250-ETRN
 250-AUTH PLAIN LOGIN
 250-AUTH=PLAIN LOGIN
 250-ENHANCEDSTATUSCODES
 250-8BITMIME
 250-DSN
 250 SMTPUTF8
  SMTP>> MAIL FROM: SIZE=1490
  SMTP>> RCPT TO:
  SMTP>> DATA
  SMTP<< 250 2.1.0 Ok
  SMTP<< 554 5.7.1 Service unavailable; Client host [109.12.75.40] 
blocked using lk55tga7gkjpcy432ojwxtvvim.zen.dq.spamhaus.net; 
https://www.spamhaus.org/query/ip/109.12.75.40

  SMTP<< 554 5.5.1 Error: no valid recipients
  SMTP>> QUIT
  SMTP(close)>>
LOG: MAIN
  ** my.n...@domain.org R=smarthost T=remote_smtp_smarthost 
H=mail.myprovider.fr [91.217.154.228]: SMTP error from remote mail 
server after RCPT TO:: 554 5.7.1 Service 
unavailable; Client host [109.12.75.40] blocked using 
lk55tga7gkjpcy432ojwxtvvim.zen.dq.spamhaus.net; 
https://www.spamhaus.org/query/ip/109.12.75.40

LOG: MAIN
  <= <> R=1hvOe8-000392-5m U=Debian-exim P=local S=2163
delivering 1hvOe8-000395-GS
R: system_aliases for j...@example.org
R: hub_user for j...@example.org
R: system_aliases for j...@example.org
R: hub_user_smarthost for j...@example.org
T: remote_smtp_smarthost for j...@example.org
LOG: MAIN
  Completed
Connecting to mail.myprovider.fr [91.217.154.228]:25 ... connected
  SMTP<< 220 mx0.myprovider.fr ESMTP Postfix (Debian/GNU)
  SMTP>> EHLO example.org
  SMTP<< 250-mx0.myprovider.fr
 250-PIPELINING
 250-SIZE 18442404
 250-VRFY
 250-ETRN
 250-AUTH PLAIN LOGIN
 250-AUTH=PLAIN LOGIN
 250-ENHANCEDSTATUSCODES
 250-8BITMIME
 250-DSN
 250 SMTPUTF8
  SMTP>> MAIL FROM:<> SIZE=3243
  SMTP>> RCPT TO:
  SMTP>> DATA
  SMTP<< 250 2.1.0 Ok
  SMTP<< 554 5.7.1 Service unavailable; Client host [109.12.75.40] 
blocked using lk55tga7gkjpcy432ojwxtvvim.zen.dq.spamhaus.net; 
https://www.spamhaus.org/query/ip/109.12.75.40

  SMTP<< 554 5.5.1 Error: no valid recipients
  SMTP>> QUIT
  SMTP(close)>>
LOG: MAIN
  ** j...@example.org R=hub_user_smarthost T=remote_smtp_smarthost 
H=mail.myprovider.fr [91.217.154.228]: SMTP error from remote mail 
server after RCPT TO:: 554 5.7.1 Service unavailable; 
Client host [109.12.75.40] blocked using 
lk55tga7gkjpcy432ojwxtvvim.zen.dq.spamhaus.net; 
https://www.spamhaus.org/query/ip/109.12.75.40

LOG: MAIN
  Frozen (delivery error message)

I understand that I've been rejected as a spammer.
My provider insist on using port 465 though and maybe I didn't tell 
exim4 to use ssl/tls ??

Where should I look ?

Thanks
Rudu




Exim4 as a smarthost : Unrouteable address

2019-08-07 Thread rudu

Hi all,

Until recently my machines running debian testing used to send me 
e-mails as reports from cron tasks or from LAMP applications.

This is not working anymore.
I did of course a dpkg-reconfigure exim4-config to get this 
/etc/exim4/update-exim4.conf.conf file :

[...]
# This is a Debian specific file

dc_eximconfig_configtype='satellite'
dc_other_hostnames='*'
dc_local_interfaces='127.0.0.1;192.168.0.20'
dc_readhost='example.org'
dc_relay_domains='*'
dc_minimaldns='false'
dc_relay_nets='192.168.0.0/24'
dc_smarthost='mail.myprovider.fr::465'
CFILEMODE='644'
dc_use_split_config='false'
dc_hide_mailname='true'
dc_mailname_in_oh='true'
dc_localdelivery='mail_spool'

But here is an attempt to actually send a mail :

~$ echo 'Hello there !!' | mail my.n...@domain.org -s Test13 -v
LOG: MAIN
  <= j...@example.org U=jean P=local S=453
jean@poste1:~$ delivering 1hvLI6-0001yn-GI
R: system_aliases for my.n...@domain.org
LOG: MAIN
  ** my.n...@domain.org: Unrouteable address
LOG: MAIN
  <= <> R=1hvLI6-0001yn-GI U=Debian-exim P=local S=1668
delivering 1hvLI6-0001yp-Kr
R: system_aliases for j...@example.org
R: hub_user for j...@example.org
R: system_aliases for j...@example.org
R: hub_user_smarthost for j...@example.org
T: remote_smtp_smarthost for j...@example.org
LOG: MAIN
  Completed
LOG: retry_defer MAIN
  == j...@example.org R=hub_user_smarthost T=remote_smtp_smarthost 
defer (-53): retry time not reached for any host for 'example.org'


I keep getting this "Unrouteable address" whatever address I try to 
write to, addresses who do receive mails via thunderbird.
Thunderbird is also successfully using the smtp server credentials I 
feed exim4 with ...


I must be missing something obvious here but I'm completely in the dark.

Thanks for any help,
Rudu




Re: netbeans crashing on testing/sid

2018-05-28 Thread rudu

Le 25/05/2018 à 18:28, Glenn Holmer a écrit :
On Fri, May 25, 2018 at 5:59 AM, rudu <r...@cegetel.net 
<mailto:r...@cegetel.net>> wrote:
> Thank you very much Glenn, this was all I needed to know to come 
back on track.
> Do you know if/when a package will be in the sid/testing 
repositories ? (For easier updates)


Still can't post from ce...@kolabnow.com <mailto:ce...@kolabnow.com> 
so I'll repeat from this address:


I don't know if there are any plans for that, but I don't see it as
necessary. NetBeans has its own update center and will notify you when
updates are available.


OK, Thank you Glenn.

Rudu


Re: netbeans crashing on testing/sid

2018-05-25 Thread rudu

Le 23/05/2018 à 21:00, Glenn Holmer a écrit :

[I seem to be having problems posting to the Debian list, so I'm
re-sending this to you personally.]

On 05/23/2018 05:13 AM, rudu wrote:

I can't get netbeans to start, I see the splash screen displaying
messages as "initialysing, loading modules, loading services" and then
it disappears, leaving no clue in a terminal.
ii  netbeans 8.1+dfsg3-2  all  Extensible Java IDE

8.1 is an old version, released 2015-11-04. The most recent version is
8.2, released by Oracle on 2016-10-03. However, since then, NetBeans has
become an incubating Apache project:

http://netbeans.apache.org/

We are very close to releasing 9.0 (the IPMC release vote for RC1 is in
progress). It's been tested on JDK8 and JDK10. Here is the feature list:

http://netbeans.apache.org/download/nb90/

I recommend trying the current build rather than the beta, since many
bugs were fixed during testing. You can find it here:

https://builds.apache.org/view/Incubator%20Projects/job/incubator-netbeans-release/lastSuccessfulBuild/artifact/dist/

Just download the zip file and extract it to a convenient location, then
run netbeans/bin/netbeans.

Note that we are still awaiting the second code donation from Oracle, so
you will have to install the JavaEE modules from the update center if
you need them. They will appear as part of the install in a subsequent
release.


Thank you very much Glenn, this was all I needed to know to come back on 
track.
Do you know if/when a package will be in the sid/testing repositories ? 
(For easier updates)


Thanks again,

Rudu



netbeans crashing on testing/sid

2018-05-23 Thread rudu

Hello,

I've been googling for a few days now to find a solution to this.
I can't get netbeans to start, I see the splash screen displaying 
messages as "initialysing, loading modules, loading services" and then 
it disappears, leaving no clue in a terminal.

My best bet was there :
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=894715
and
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=891957

But it seems I must be missing something else ...

~$ dpkg -l libequinox* netbeans | grep ^ii
ii  libequinox-osgi-java 3.8.1-10 all  Equinox OSGi framework
ii  netbeans 8.1+dfsg3-2  all  Extensible Java IDE

~$ java -version
java version "1.8.0_172"
Java(TM) SE Runtime Environment (build 1.8.0_172-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.172-b11, mixed mode)

This is oracle-java8-jdk-amd64 but I tried with java-8-openjdk-amd64 too.

Any piece of advice would be welcomed.

Rudu



Re: [Solved] KDE-Plasma Hibernation

2017-12-29 Thread rudu

Le 29/12/2017 à 16:17, bw a écrit :

On Fri, 29 Dec 2017, rudu wrote:


running a debian/buster kde-plasma environment for maybe a year already, but I
can't find a way to make the Kickoff>Leave menu to show any choice other than
system> quit or restart (apart from the usual session options).

Is powerdevil installed?

Thank you BW, you got it right !!
Installing this missing packet and rebooting the machine did it.
No further tweaking needed.

I owe you a beer ... virtual as it may be ...

Have a nice new year's eve.
Rudu



KDE-Plasma Hibernation

2017-12-28 Thread rudu

Hello,
Please, forgive my bad English here.
I would like to have the opportunity of choosing to hibernate my system 
running a debian/buster kde-plasma environment for maybe a year already, 
but I can't find a way to make the Kickoff>Leave menu to show any choice 
other than system> quit or restart (apart from the usual session options).

$ systemctl hibernate works nevertheless as expected in a konsole terminal.
So, I googled of course to find a cause and a cure to this odd behavior.
What I tried was this :
Create a file : 
/etc/polkit-1/localauthority/50-local.d/enable-hibernate.pkla

With this content :
[Re-enable hibernate by default in upower]
Identity=unix-user:*
Action=org.freedesktop.upower.hibernate
ResultActive=yes

[Re-enable hibernate by default in logind]
Identity=unix-user:*
Action=org.freedesktop.login1.hibernate
ResultActive=yes

... to no avail ...

Does this ring any bell to anybody of you ?
Thanks in advance to any piece of advice.

Rudu


Re: Java perspective missing in Eclipse 3.8.1-10

2017-08-05 Thread rudu

Le 05/08/2017 à 13:57, Joey Corleone a écrit :

The Eclipse Debian package is outdated and not maintained currently [0].
I recommend downloading the most recent version of Eclipse directly from
their website [1]. The installation is trivial and works out of the box.

[0] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=681726
[1] https://www.eclipse.org/


Thank you Joey.
That's what I finally inferred.
Preferring to stick with debian packages, I'm in the process of 
transferring my code to the netbeans IDE.

Seems to be the best way to keep my development safe in the future.

Regards
Rudu



Java perspective missing in Eclipse 3.8.1-10

2017-08-03 Thread rudu

Hello,

It was almost a year ago when I last used Eclipse to work on some Java 
projects and everything was going fine.

Today, it freezed on its splash screen on every launch.
I first removed ~/.eclipse to no avail.
When I removed path/to/my/workspace/.metadata Eclipse did open a fresh 
window where I should have been able to re-create my Java project ... 
unless there was no way to initiate Java projects anymore.

I purge eclipse and its dependencies :
# apt-get autoremove eclipse* --purge

Then did a fresh install :
$ dpkg -l eclipse* | grep ^ii
ii  eclipse 3.8.1-10 all  Extensible Tool 
Platform and Java IDE
ii  eclipse-jdt 3.8.1-10 all  Eclipse Java 
Development Tools (JDT)
ii  eclipse-pde 3.8.1-10 amd64Eclipse Plug-in 
Development Environment (PDE)
ii  eclipse-platform3.8.1-10 amd64Eclipse platform 
without development plug-ins
ii  eclipse-platform-data   3.8.1-10 all  Eclipse platform 
without development plug-ins (data)
ii  eclipse-rcp 3.8.1-10 amd64Eclipse Rich 
Client Platform (RCP)


Still, there is no way to generate a java project.
Did I overlooked anything ?

I'am running debian testing.

Thanks in advance for any hint.

Rudu



Re: A server getting mad

2015-10-15 Thread rudu

Le 14/10/2015 21:32, Sven Hartge a écrit :

rudu <r...@cegetel.net> wrote:


All I could gather via phone call during the problem with a top and
netstat command on the server is that a "xddlvqhhrd" command is
consuming 25% of CPU and that a connection is established with a
remote IP by a program named "grep "A""
Sounds like a rootkit to me.

Definitely.


Some action/documentation to help to get rid of this ?

The only sure way to clean the server is to backup the data, then wipe
the system and reinstall it.

Every other way or attempt to save or clean the system by doing checks
with things like "debsums -c" will likely not catch everything and thus
leaves the system hacked and vulnerable.

Even if "rkhunter" or "chkrootkit" or "debsums -c" don't find anything
suspicious you cannot be sure there really is nothing going on behind
your back.

For example: One of my servers got hacked some time ago and the attacker
installed a kernel based rootkit and backdoor which was untracable in
the running system. Only by booting from an external device (like a USB
key or DVD) allowed me to find the changed /sbin/init and the hidden
/dev/.w0rm directory. The kernel code redirected every read (and write)
to /sbin/init to the saved original file, so "debsums -c" did not
provide any help. And the directory in /dev was also hidden by the
kernel code the same way.

Also just reinstalling the system is not enough, you need to identify
the intrusion point and fix that too, or the attacker will be back soon.

Maybe you are lucky and only the process you see running has been
injected, but can you really be sure?

My advise if you want to sleep in peace: Flatten and rebuild. It is
painful but it will get rid of the attacker.

Grüße,
Sven.

Thank you Sven,

You've comforted my first impulse.
That's definitely the way to go.

Regards,
Rudu




A server getting mad

2015-10-14 Thread rudu

Hello,

I'm in search of advice here as I don't know where to start.
A server has been running backuppc nicely for several years.
And then a couple of months ago, it began to eat up the bandwidth of the 
local network.
I don't have much information now as it's a remote location and I can't 
get a connection when the problem occurs.
I may have a few hours to investigate though, after a reboot of the 
server, but what am I looking for ?
All I could gather via phone call during the problem with a top and 
netstat command on the server is that a "xddlvqhhrd" command is 
consuming 25% of CPU and that a connection is established with a remote 
IP by a program named "grep "A""


Sounds like a rootkit to me.

Some action/documentation to help to get rid of this ?

TIA
Rudu



Re: Bash script calling python script fails

2015-06-17 Thread rudu

Le 16/06/2015 17:38, rudu a écrit :
Tomas, you hit something here I guess : I ran the symlink as root from 
/etc/network/if-up.d/

:/etc/network/if-up.d# ./dynhost
And received the same e-mail as after a reboot (see below) + my 
dynhost address has not been updated

Well, I finally got it right.
I overlooked some piece of code I thought was of no consequence ... but 
it was :

EXEDIR=$(dirname $0)
echo $EXEDIR
cd ${EXEDIR}

When launched from the symlink, this code set the working directory to 
if-up.d where no python script was to be found.

My bad, but thanks a lot to Tomas for having put me on the right track.

Rudu


Re: Bash script calling python script fails

2015-06-16 Thread rudu

Le 16/06/2015 12:47, to...@tuxteam.de a écrit :

On Tue, Jun 16, 2015 at 11:23:51AM +0200, rudu wrote:

Hello,
There's something I just can't figure out :
I wrote a bash script to compare my actual IP address to the one of
my DynDNS service provider.
That bash script calls a python script (provided by the DynDNS
service) to update my DynDNS Address if necessary.
Everything runs smoothly when I run my script by hand as root or as
a standard user.

But when I put a symbolic link to my script in /etc/network/if-up.d/
in order to make the checking / updating automatic at boot time, the
python script doesn't seem to be launched at all, although my Bash
script logs fine and sends me a success e-mail.

What could prevent a python script to be executed in such circumstances ?

Difficult to say without seeing the actual scripts, but my hunch would be
that some environment variable(s) is different when run by hand and
when run from if-up. The first candidate would be, of course, PATH.

If you call ipcheck from the shell script just like ipcheck.py, then
the shell looks for it in all places indicated by $PATH.

As a first test, try putting the call with the full path like so:
/usr/local/bin/ipcheck.py (replace the path by the correct one in
your case).

hth
- -- tomás

Thank you Tomas,
You're right I should have pasted my script in the first place (see below).
By the way, you'll see I already thought about this $PATH thing, but 
unless I forgot something that doesn't seem to be the case here.

So, briefly said, that line :
/usr/bin/python /home/rudu/DynHost/ipcheck.py $OPTIONS 
$LOGIN $PASSWORD $HOST  $THISLOG
runs as expected when the script is launched manually but nothing 
happens at boot time.


TIA
Rudu

-
#! /bin/sh


LOGFILE=/home/rudu/DynHost/dynhost.log
HOST=my.dynhost.org
LOGIN=mylogin
PASSWORD=mypassword
OPTIONS=-r checkip.dyndns.org:8245
THISLOG=/tmp/thislog.txt

getip() {
wget -O /home/rudu/DynHost/index.html -o /dev/null 
http://checkip.dyndns.org/
IP=`cat /home/rudu/DynHost/index.html | fgrep Address | cut 
-f2 -d: | cut -f1 -d | sed -e s/ //g`
OLDIP=`dig my.dynhost.org | grep -i -A 1 'answer 
section' | grep my.dynhost | cut -f2 -dA | cut -f2 | sed -e s/ //g`

}
#

echo --  $LOGFILE
echo `date`  $LOGFILE
echo Démarrage de DynHost  $LOGFILE
getip

if [ $IP ]; then
if [ $OLDIP != $IP ]; then
echo -n Ancienne IP:   $LOGFILE
echo $OLDIP  $LOGFILE
   echo -n Nouvelle IP:   $LOGFILE
  echo $IP  $LOGFILE
echo Mise à jour!  $LOGFILE

echo Log ipcheck   : $THISLOG
/usr/bin/python /home/rudu/DynHost/ipcheck.py $OPTIONS 
$LOGIN $PASSWORD $HOST  $THISLOG

cat $THISLOG  $LOGFILE
SUBJECT=Update DynDNS OVH
# Email To ?
EMAIL=myem...@mydomain.com
# send an email using /bin/mail
/usr/bin/mail -s $SUBJECT $EMAIL  $THISLOG

 else
   echo IP Identique! Pas de mise à jour.  $LOGFILE
 fi
 else
 echo Panique à bord: Aucune IP Disponible!!  $LOGFILE
 fi


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

Archive: https://lists.debian.org/55801e2a.3000...@cegetel.net



Re: Bash script calling python script fails

2015-06-16 Thread rudu

Le 16/06/2015 15:53, to...@tuxteam.de a écrit :

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tue, Jun 16, 2015 at 03:01:30PM +0200, rudu wrote:

Le 16/06/2015 12:47, to...@tuxteam.de a écrit :

On Tue, Jun 16, 2015 at 11:23:51AM +0200, rudu wrote:

Hello,
There's something I just can't figure out :

[...]


Thank you Tomas,
You're right I should have pasted my script in the first place (see below).
By the way, you'll see I already thought about this $PATH thing, but
unless I forgot something that doesn't seem to be the case here.
So, briefly said, that line :
 /usr/bin/python /home/rudu/DynHost/ipcheck.py $OPTIONS
$LOGIN $PASSWORD $HOST  $THISLOG
runs as expected when the script is launched manually but nothing
happens at boot time.

OK, next thing(s):
   (1) is the script readable by the user (probably root) from the point
 where the ifup is? (perhaps some intervening dir isn't readable)
Tomas, you hit something here I guess : I ran the symlink as root from 
/etc/network/if-up.d/

:/etc/network/if-up.d# ./dynhost
And received the same e-mail as after a reboot (see below) + my dynhost 
address has not been updated



   (2) perhaps /home or /home/rudu isn't mounted yet when that happens?
   (3) do you see anything in your log file (you should at least see the
 first -, that would answer (2). In that case you might want
 do do

   test -f /home/rudu/DynHost/ipcheck.py  echo readable || echo 
non-readable  $LOGFILE
 or something similar.
I actually receive each time an e-mail confirming that my bash script 
has been executed plus this is logged in my logfile :

--
mardi 16 juin 2015, 17:15:17 (UTC+0200)
Démarrage de DynHost-- DynHost starting
Ancienne IP: 85.68.xx.xx-- old IP
Nouvelle IP: 85.69.xx.xx -- new IP
Mise à jour!-- Update!
Log ipcheck   :


What gives you the impression that it's the invocation of the python
script what is failing? How does the output to $LOGFILE look in the
failing case?
When I run my script from userland, I find something like this in my log 
file :

Log ipcheck   :
ipcheck.py: my.dynhost.org good 85.69.xx.xx -update successful



(BTW  I didn't go with too a fine comb through your script, but it looks
basically sensible. I wouldn't wget to a file but directly pass the result
through grep (wget -O - | grep ...), and I'd redirect the output of the
python script  $LOGFILE, instead of passing it through $THISLOG, but
those are minor nits which shouldn't alter the result).

Thanks, I'll have a better look at this.


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

Archive: https://lists.debian.org/55804307.5050...@cegetel.net



Bash script calling python script fails

2015-06-16 Thread rudu

Hello,
There's something I just can't figure out :
I wrote a bash script to compare my actual IP address to the one of my 
DynDNS service provider.
That bash script calls a python script (provided by the DynDNS service) 
to update my DynDNS Address if necessary.
Everything runs smoothly when I run my script by hand as root or as a 
standard user.


But when I put a symbolic link to my script in /etc/network/if-up.d/ in 
order to make the checking / updating automatic at boot time, the python 
script doesn't seem to be launched at all, although my Bash script logs 
fine and sends me a success e-mail.


What could prevent a python script to be executed in such circumstances ?

FWIW : my bash script : dynhost/the python script : ipcheck.py
$ ls -al /etc/network/if-up.d/
total 44
[...]
lrwxrwxrwx 1 root root   26 nov.  24  2014 dynhost - 
/home/rudu/DynHost/dynhost


$ ls -al DynHost/
total 296
drwxr-xr-x   2 rudu rudu   4096 juin  12 08:13 .
drwxr-xr-x 109 rudu rudu   4096 juin  15 11:46 ..
-rwxr--r--   1 rudu rudu   2148 juin  11 09:05 dynhost
-rw-r--r--   1 rudu rudu  18800 juin  16 09:51 dynhost.log
-rw-r--r--   1 rudu rudu104 juin  16 09:48 index.html
-rw-r--r--   1 rudu rudu 29 juin   3 08:36 ipcheck.dat
-rw-r--r--   1 rudu rudu 15 juin   3 08:36 ipcheck.html
-rwxr-xr-x   1 rudu rudu  57008 janv. 15  2004 ipcheck.py

Thanks
Rudu


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

Archive: https://lists.debian.org/557feb27.5010...@cegetel.net



gftp bug #763314 workaround

2014-10-22 Thread rudu

Hi,
I've been hit by this bug :
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=763314

Here, someone seems to have found a workaround :
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=763314#37

But here on my jessie box, I can't find any GTK+2.0 package to upgrade.
So, what am I missing here ?

TIA,
Rudu


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

Archive: https://lists.debian.org/544786d0.1070...@cegetel.net



[solved]Re: gftp bug #763314 workaround

2014-10-22 Thread rudu

Le 22/10/2014 13:08, Martin Read a écrit :

On 22/10/14 11:28, rudu wrote:

But here on my jessie box, I can't find any GTK+2.0 package to upgrade.
So, what am I missing here ?


The relevant package is libgtk2.0-0. Note that the version number 
appears to have been mis-stated in message #37, and is 2.24.25-1, not 
2.25.1.


Thank you very much Martin.
Simple and effective, now gftp is running fine.

Rudu


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

Archive: https://lists.debian.org/5447a3ac.1010...@cegetel.net



Re: lots of udevd failed to execute at boot time

2014-01-17 Thread rudu

Le 16/01/2014 20:06, Sven Joachim a écrit :

On 2014-01-16 19:20 +0100, rudu wrote:


$ dmesg | grep -i failed | tail
[   16.255858] udevd[1999]: failed to execute
/lib/udev/socket:@/org/freedesktop/hal/udev_event'
socket:@/org/freedesktop/hal/udev_event': No such file or directory

That's http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=705489.

Remove the hal package and you should be fine.

Cheers,
Sven


Thank you Sven,
Can't reboot right now, but it seems you got the point.
I should have taken a look on bugs.debian.org though, sorry ;)

Cheers,
Rudu


--
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/52d93682.30...@cegetel.net



lots of udevd failed to execute at boot time

2014-01-16 Thread rudu

Hello,
I'll keep it simple at first.
Running jessie amd64.
$ uname -r
3.12-1-amd64

$ dmesg | grep -i failed | wc -l
123

$ dmesg | grep -i failed | tail
[   16.255858] udevd[1999]: failed to execute 
'/lib/udev/socket:@/org/freedesktop/hal/udev_event' 
'socket:@/org/freedesktop/hal/udev_event': No such file or directory
[   16.319975] udevd[2002]: failed to execute 
'/lib/udev/socket:@/org/freedesktop/hal/udev_event' 
'socket:@/org/freedesktop/hal/udev_event': No such file or directory
[   16.359108] udevd[2003]: failed to execute 
'/lib/udev/socket:@/org/freedesktop/hal/udev_event' 
'socket:@/org/freedesktop/hal/udev_event': No such file or directory
[   16.408339] udevd[2004]: failed to execute 
'/lib/udev/socket:@/org/freedesktop/hal/udev_event' 
'socket:@/org/freedesktop/hal/udev_event': No such file or directory
[   16.464899] udevd[2005]: failed to execute 
'/lib/udev/socket:@/org/freedesktop/hal/udev_event' 
'socket:@/org/freedesktop/hal/udev_event': No such file or directory
[   17.973220] udevd[2420]: failed to execute 
'/lib/udev/socket:@/org/freedesktop/hal/udev_event' 
'socket:@/org/freedesktop/hal/udev_event': No such file or directory
[   18.269706] udevd[2465]: failed to execute 
'/lib/udev/socket:@/org/freedesktop/hal/udev_event' 
'socket:@/org/freedesktop/hal/udev_event': No such file or directory
[   18.269783] udevd[2466]: failed to execute 
'/lib/udev/socket:@/org/freedesktop/hal/udev_event' 
'socket:@/org/freedesktop/hal/udev_event': No such file or directory
[   38.145742] udevd[3155]: failed to execute 
'/lib/udev/socket:@/org/freedesktop/hal/udev_event' 
'socket:@/org/freedesktop/hal/udev_event': No such file or directory
[   38.836431] udevd[3278]: failed to execute 
'/lib/udev/socket:@/org/freedesktop/hal/udev_event' 
'socket:@/org/freedesktop/hal/udev_event': No such file or directory


I'd like to get rid of those screenfull of lines at the beginning of 
each boot.

Anybody ?

Rudu


--
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/52d8230b.3080...@cegetel.net



Re: apache2 + munin configuration

2013-11-13 Thread rudu

Le 13/11/2013 09:39, Vicios a écrit :

Hi!

I don't know why your configuration doesn't work. When I install Munin 
always add my subnet in the config file, for example:


[...]
Allow from localhost 127.0.0.0/8 ::1 192.168.0.0/24
[...]

Regards.
Fernando.


Thank for the suggestion Fernando.
I tried but still no luck.

Rudu




El 12/11/13 17:55, rudu escribió:

Hi,
Well, I wouldn't have thought having so many difficulties setting up 
a simple monitoring system on my Jessie amd64 desktop, but after a 
few hours wandering the net, I guess I could use some guidance ...


What I've done so far :
aptitude install apache2 munin munin-node
ii  apache2  2.4.6-3 amd64 Apache HTTP Server
ii  munin2.0.17-3 all network-wide graphing 
framework (grapher/gatherer)
ii  munin-node   2.0.17-3 all network-wide graphing 
framework (node)


Then I tried to connect to http://localhost/munin only to get :
Forbidden
You don't have permission to access /munin on this server.
Apache/2.4.6 (Debian) Server at localhost Port 80

I found some threads here and there via google which lead me to try 
several things.

First in /etc/munin/apache.conf :
replace

Directory /var/cache/munin/www
Order allow,deny
Allow from localhost 127.0.0.0/8 ::1

Options None
[...]
/Directory

by

Directory /var/cache/munin/www
Order allow,deny
Allow from all

Options None
[...]
/Directory

Then I did :
chown -R www-data:munin /var/cache/munin/www
chmod -R 775 /var/cache/munin/www

I even added my user to the munin group
But I still get this error 403 from apache.

FWIW I got this in /var/log/apache2/error.log :
[Tue Nov 12 17:53:03.987560 2013] [authz_core:error] [pid 2758:tid 
139900372383488] [client ::1:53049] AH01630: client denied by server 
configuration: /var/cache/munin/www


Thanks for any help.
Rudu








--
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/52834394.8000...@cegetel.net



Re: apache2 + munin configuration

2013-11-13 Thread rudu

Le 13/11/2013 11:49, Karl E. Jorgensen a écrit :

Hi

On Tue, Nov 12, 2013 at 05:55:13PM +0100, rudu wrote:

Hi,
Well, I wouldn't have thought having so many difficulties setting up
a simple monitoring system on my Jessie amd64 desktop, but after a
few hours wandering the net, I guess I could use some guidance ...

What I've done so far :
aptitude install apache2 munin munin-node
ii  apache2  2.4.6-3 amd64   Apache
HTTP Server
ii  munin2.0.17-3 all
network-wide graphing framework (grapher/gatherer)
ii  munin-node   2.0.17-3 all
network-wide graphing framework (node)

Then I tried to connect tohttp://localhost/munin  only to get :
Forbidden
You don't have permission to access /munin on this server.
Apache/2.4.6 (Debian) Server at localhost Port 80

At this point, your first stop should be the apache error log...

[...]



But I still get this error 403 from apache.

FWIW I got this in /var/log/apache2/error.log :
[Tue Nov 12 17:53:03.987560 2013] [authz_core:error] [pid 2758:tid
139900372383488] [client ::1:53049] AH01630: client denied by server
configuration: /var/cache/munin/www

Hm.. That is reasonably conclusive...

But there is a clue: authz_core ...  Isn't that the apache module that
is used for user authentication?

Makes me wonder what the rest of your apache configuration is like -
there must be some interaction between munin and other things in
apache...

Hope this helps

Hello Karl,
Thanks for your help.

I guess this is an apache2 config problem ...
FWIW, here is my /etc/apache2/apache2.conf file :
http://cjoint.com/?CKnmznaq7cZ

There's a symlink of /etc/munin/apache2.conf in 
/etc/apache2/conf-{available|enabled}/

Should'nt there be something in sites-enabled too ?
# ls -al /etc/apache2/sites-enabled/
total 8
drwxr-xr-x 2 root root 4096 août  12 21:02 .
drwxr-xr-x 8 root root 4096 nov.  13 12:19 ..

Regards,
Rudu


--
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/528364c3.3030...@cegetel.net



Re: [solved] apache2 + munin configuration

2013-11-13 Thread rudu

Le 13/11/2013 12:22, Darac Marjal a écrit :

If you're running Apache 2.4 (which you are), you should add Require
all granted below the Allow/Deny statements. This basically tells the
new authorisation module to honour the configuration of the older
module.


Brilliant Darac !
That did it nicely.

Thanks to Karl and Fernando too.

;c)

Rudu


--
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/528366b5.1000...@cegetel.net



apache2 + munin configuration

2013-11-12 Thread rudu

Hi,
Well, I wouldn't have thought having so many difficulties setting up a 
simple monitoring system on my Jessie amd64 desktop, but after a few 
hours wandering the net, I guess I could use some guidance ...


What I've done so far :
aptitude install apache2 munin munin-node
ii  apache2  2.4.6-3 amd64   Apache HTTP 
Server
ii  munin2.0.17-3 all 
network-wide graphing framework (grapher/gatherer)
ii  munin-node   2.0.17-3 all 
network-wide graphing framework (node)


Then I tried to connect to http://localhost/munin only to get :
Forbidden
You don't have permission to access /munin on this server.
Apache/2.4.6 (Debian) Server at localhost Port 80

I found some threads here and there via google which lead me to try 
several things.

First in /etc/munin/apache.conf :
replace

Directory /var/cache/munin/www
Order allow,deny
Allow from localhost 127.0.0.0/8 ::1

Options None
[...]
/Directory

by

Directory /var/cache/munin/www
Order allow,deny
Allow from all

Options None
[...]
/Directory

Then I did :
chown -R www-data:munin /var/cache/munin/www
chmod -R 775 /var/cache/munin/www

I even added my user to the munin group
But I still get this error 403 from apache.

FWIW I got this in /var/log/apache2/error.log :
[Tue Nov 12 17:53:03.987560 2013] [authz_core:error] [pid 2758:tid 
139900372383488] [client ::1:53049] AH01630: client denied by server 
configuration: /var/cache/munin/www


Thanks for any help.
Rudu


--
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/52825d71.5060...@cegetel.net



Re: hibernate gone?

2013-10-15 Thread rudu

Le 15/10/2013 15:17, Joel Rees a écrit :

Since the point release over the weekend, neither of my debian boxes
(32 bit AMDx86 and 64 bit Intel Atomizer) seem to be hibernating.

Is everybody else seeing this?

+1 here.
Jessie kernel 3.10.3-amd64
Since a week or so, I can hibernate but it won't wake up, ends with a 
full boot everytime.


Rudu


--
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/525d453a.3010...@cegetel.net



Re: Sound problems on Wheezy upgrade

2013-09-16 Thread rudu

Le 16/09/2013 10:51, Lisi Reisz a écrit :

On Monday 16 September 2013 01:41:29 Gregory Nowak wrote:

I suggest you run either amixer/alsamixer,
and see if they will let you unmute sound.

I had tried to run alsamixer.  It gave me two channels, neither of which
helped. (master and capture)  I tied all possible variations that I could
think of with no result.  I obviously wasn't thinking very well. :-(

I had thought that sound was probably muted somewhere - I just couldn't find
where!  amixer shows it clearly.  All (all? ;-) ) I now have to do is use the
man pages to find out how to unmute the master at the command line.  I have
found how to unmute capture, but capture isn't muted!

Thanks, both.  I'll report back for the archives when (if?) I succeed.

Lisi

Hi Lisi,
FWIW, when I run alsamixer, it defaults to the channels of pulseaudio 
(master and capture).
To get the actual channels of my audiocard, I have to explicitly choose 
it via the F6 key.


HTH
Rudu


--
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/5237034e.6090...@cegetel.net



Re: Identifying CPU

2013-08-29 Thread rudu

Le 29/08/2013 15:25, Richard Owlett a écrit :
I'll be installing Debian 7.1 on two unrelated sets of machines. I 
have no record of the cpu in any of the machines. Is there a utility 
to identify the processors, particularly bus width. All machines 
originally ran various 32 bit MS Windows incarnations.



$ apt-file search lscpu
manpages-fr-extra: /usr/share/man/fr/man1/lscpu.1.gz
manpages-pl: /usr/share/man/pl/man1/lscpu.1.gz
util-linux: /usr/bin/lscpu
util-linux: /usr/share/man/man1/lscpu.1.gz

My 2 cents,
rudu


--
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/521f87bd.50...@cegetel.net



Re: Another xfce4 panel Q: no right justify?

2013-06-17 Thread rudu

Le 17/06/2013 14:49, Patrick Wiseman a écrit :

Since the xfce4 update, it doesn't seem possible to align some icons
to the right of a screenwide panel as I used to do. Does anyone have a
fix, or did upstream fix something which wasn't broken?

Patrick



Something similar happened here too.
Fixed by a separator with extend option.

HTH
rudu


--
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/51bf47d6.2080...@cegetel.net



Re: [SOLVED] mysqld fails to start at boot time only

2012-09-27 Thread rudu

I finally found a workaround.
I commented out the line 'bind-address = ...' in /etc/mysql/my.cnf
Now everything works as expected.

Thanks for your input.
JM


--
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/50642251.80...@cegetel.net



mysqld fails to start at boot time only

2012-09-22 Thread rudu

Hi,
Running wheezy on my laptop.
I can glimpse while booting a message :
Starting MySQL database server: mysqld .. Failed!

Indeed  a command ps aux | grep mysql  at the end of the boot returns 
nothing.

But I can start it with service mysql start ok.

/var/log/mysql.err and mysql.log are empty.
dmesg | grep -i mysqlreturns nothing

I'm at a loss here.
Anybody sees how I could get mysql to be fired up at boot time ?

TIA
Jean-Marc


--
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/505d81e2.2010...@cegetel.net



Re: mysqld fails to start at boot time only

2012-09-22 Thread rudu

Le 22/09/2012 13:51, Avi Greenbury a écrit :

rudu wrote:

Hi,
Running wheezy on my laptop.
I can glimpse while booting a message :
Starting MySQL database server: mysqld .. Failed!

Indeed  a command ps aux | grep mysql  at the end of the boot
returns nothing.
But I can start it with service mysql start ok.

/var/log/mysql.err and mysql.log are empty.
dmesg | grep -i mysqlreturns nothing

I'm at a loss here.
Anybody sees how I could get mysql to be fired up at boot time ?


You want to be checking syslog, since that's where MySQL's startup
messages go. Does it fail on *every* boot, and succeed on *every*
manual start?



Hi Avi, thanks.(Posting back on the list)

Well it seems a little bit clearer now.

# cat /var/log/syslog | grep -i mysql | tail -n 30
Sep 22 15:06:12 ubajm mysqld:
Sep 22 15:06:12 ubajm mysqld_safe: mysqld from pid file 
/var/run/mysqld/mysqld.pid ended
Sep 22 15:07:22 ubajm mysqld_safe: Starting mysqld daemon with databases 
from /var/lib/mysql
Sep 22 15:07:22 ubajm mysqld: 120922 15:07:22 [Note] Plugin 'FEDERATED' 
is disabled.
Sep 22 15:07:22 ubajm mysqld: 120922 15:07:22 InnoDB: The InnoDB memory 
heap is disabled
Sep 22 15:07:22 ubajm mysqld: 120922 15:07:22 InnoDB: Mutexes and 
rw_locks use GCC atomic builtins
Sep 22 15:07:22 ubajm mysqld: 120922 15:07:22 InnoDB: Compressed tables 
use zlib 1.2.3

Sep 22 15:07:22 ubajm mysqld: 120922 15:07:22 InnoDB: Using Linux native AIO
Sep 22 15:07:22 ubajm mysqld: 120922 15:07:22 InnoDB: Initializing 
buffer pool, size = 128.0M
Sep 22 15:07:22 ubajm mysqld: 120922 15:07:22 InnoDB: Completed 
initialization of buffer pool
Sep 22 15:07:22 ubajm mysqld: 120922 15:07:22 InnoDB: highest supported 
file format is Barracuda.
Sep 22 15:07:23 ubajm mysqld: 120922 15:07:23  InnoDB: Waiting for the 
background threads to start
Sep 22 15:07:24 ubajm mysqld: 120922 15:07:24 InnoDB: 1.1.8 started; log 
sequence number 33023319
Sep 22 15:07:24 ubajm mysqld: 120922 15:07:24 [Note] Server hostname 
(bind-address): '192.168.1.60'; port: 3306
Sep 22 15:07:24 ubajm mysqld: 120922 15:07:24 [Note]   - '192.168.1.60' 
resolves to '192.168.1.60';
Sep 22 15:07:24 ubajm mysqld: 120922 15:07:24 [Note] Server socket 
created on IP: '192.168.1.60'.
Sep 22 15:07:24 ubajm mysqld: 120922 15:07:24 [ERROR] Can't start 
server: Bind on TCP/IP port: Cannot assign requested address
Sep 22 15:07:24 ubajm mysqld: 120922 15:07:24 [ERROR] Do you already 
have another mysqld server running on port: 3306 ?

Sep 22 15:07:24 ubajm mysqld: 120922 15:07:24 [ERROR] Aborting
Sep 22 15:07:24 ubajm mysqld:
Sep 22 15:07:24 ubajm mysqld: 120922 15:07:24  InnoDB: Starting shutdown...
Sep 22 15:07:25 ubajm mysqld: 120922 15:07:25  InnoDB: Shutdown 
completed; log sequence number 33023319
Sep 22 15:07:25 ubajm mysqld: 120922 15:07:25 [Note] /usr/sbin/mysqld: 
Shutdown complete

Sep 22 15:07:25 ubajm mysqld:
Sep 22 15:07:25 ubajm mysqld_safe: mysqld from pid file 
/var/run/mysqld/mysqld.pid ended
Sep 22 15:07:35 ubajm /etc/init.d/mysql[]: 0 processes alive and 
'/usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf ping' resulted in
Sep 22 15:07:35 ubajm /etc/init.d/mysql[]: #007/usr/bin/mysqladmin: 
connect to server at 'localhost' failed
Sep 22 15:07:35 ubajm /etc/init.d/mysql[]: error: 'Can't connect to 
local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)'
Sep 22 15:07:35 ubajm /etc/init.d/mysql[]: Check that mysqld is 
running and that the socket: '/var/run/mysqld/mysqld.sock' exists!

Sep 22 15:07:35 ubajm /etc/init.d/mysql[]:

What I'm understanding here is that my laptop hasn't got his IP address 
yet when mysqld tries to initialize itself ...

Am I right ?
If so, what should I do ?

Jean-Marc


--
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/505dbbc2.5070...@cegetel.net



Wheezy X broken ?

2011-12-05 Thread rudu

Hello,
After my last upgrade  reboot, my wheezy refused to fire up gdm3/kdm.
All I have is a black console offering a login.
I saw that nvidia was upgraded to a 290 something version so I removed 
all the nvidia* packages to let nouveau take its place.

That changed nothing.
Here is some info about my config :
$ uname -a
Linux birdynam 3.1.0-1-amd64 #1 SMP Mon Nov 14 08:02:25 UTC 2011 x86_64 
GNU/Linux


'ps aux' shows an impressive amount of lines like this :
root  4005  0.0  0.1  81988  3352 ?S19:18   0:00 
/usr/lib/gdm3/gdm-simple-slave --display-id 
/org/gnome/DisplayManager/Display1226


and like this :
root  6549  0.0  0.0  0 0 ?Z19:18   0:00 
[gdm-simple-slav] defunct


$ grep EE /var/log/Xorg.0.log
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[96.019] (II) Loading extension MIT-SCREEN-SAVER
[96.021] (EE) Failed to load module nouveau (module does not exist, 0)
[96.021] (EE) Failed to load module nv (module does not exist, 0)
[96.021] (EE) Failed to load module vesa (module does not exist, 0)
[96.021] (EE) Failed to load module fbdev (module does not exist, 0)
[96.021] (EE) No drivers available.

Don't know where to start ...
Any help appreciated.

Jean-Marc


--
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/4edd0e13.9020...@cegetel.net



Re: Wheezy X broken ?

2011-12-05 Thread rudu

Le 05/12/2011 20:25, Andrei Popescu a écrit :

On Lu, 05 dec 11, 19:31:47, rudu wrote:

Hello,
After my last upgrade  reboot, my wheezy refused to fire up gdm3/kdm.
All I have is a black console offering a login.
I saw that nvidia was upgraded to a 290 something version so I
removed all the nvidia* packages to let nouveau take its place.

Make sure to 'purge' not 'remove' nvidia stuff.


$ grep EE /var/log/Xorg.0.log
 (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[96.019] (II) Loading extension MIT-SCREEN-SAVER
[96.021] (EE) Failed to load module nouveau (module does not exist, 0)

This would indicate xserver-xorg-video-nouveau is not installed.

Hope this helps,
Andrei

It helped a lot, thank you very much Andrei !
Indeed, as soon as I installed xserver-xorg-video-nouveau, gdm3 was back 
and I'm now typing in gnome3, in fallback mode though ...

But that's a start.

Again, thanks a lot.
Jean-Marc


--
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/4edd3816.30...@cegetel.net



Re: Fn Backlight keys on Dell XPS

2011-10-21 Thread rudu

Le 21/10/2011 18:13, Camaleón a écrit :

On Thu, 20 Oct 2011 22:07:41 +0200, rudu wrote:


My question isn't debian specific, but I guess a similar problem might
occur with debian on that laptop.


Nice try ;-)


I'm configuring a double boot Win7/Ubuntu 10.04.03 on a Dell XPS L502X
for a friend of mine.
Everything's Ok except for those Fn Backlight Up/Down Keys. The others
Fn Keys for sound, wifi, touchpad disabling, etc. work fine.


How about setting the backlight bright from the GNOME power management
applet? Does it work from there?


I googled the web for hours, and found several grub tweaking through the
/etc/default/grub file and his GRUB_CMDLINE_LINUX_DEFAULT parameter. So
far I tried :
GRUB_CMDLINE_LINUX_DEFAULT=quiet splash noacpi
GRUB_CMDLINE_LINUX_DEFAULT=quiet splash nolapic
GRUB_CMDLINE_LINUX_DEFAULT=quiet splash acpi_backlight=vendor
GRUB_CMDLINE_LINUX_DEFAULT=quiet splash acpi_backlight=video
GRUB_CMDLINE_LINUX_DEFAULT=quiet splash dell_acpi ... without success.


Is there anything logged at dmesg related to this acpi problem? (dmesg |
grep -i acpi)


If someone can shed some light on this one I would be very grateful.


Mmm, you can consider:

a) Asking at Ubuntu forums/mailing lists
b) Open a bug report in Ubuntu for the non-functional function keys
c) Try with a new kernel version (from a LiveCD to avoid messing up
things)
d) Using xbacklight application

Greetings,



Thank you very much Camaleón.
I'll investigate this thoroughly.

And apologies to the list for this misplaced question.

Jean-Marc


--
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/4ea1a731.3080...@cegetel.net



Fn Backlight keys on Dell XPS

2011-10-20 Thread rudu

Hi everybody,
My question isn't debian specific, but I guess a similar problem might 
occur with debian on that laptop.
I'm configuring a double boot Win7/Ubuntu 10.04.03 on a Dell XPS L502X 
for a friend of mine.

Everything's Ok except for those Fn Backlight Up/Down Keys.
The others Fn Keys for sound, wifi, touchpad disabling, etc. work fine.
I googled the web for hours, and found several grub tweaking through the 
/etc/default/grub file and his GRUB_CMDLINE_LINUX_DEFAULT parameter.

So far I tried :
GRUB_CMDLINE_LINUX_DEFAULT=quiet splash noacpi
GRUB_CMDLINE_LINUX_DEFAULT=quiet splash nolapic
GRUB_CMDLINE_LINUX_DEFAULT=quiet splash acpi_backlight=vendor
GRUB_CMDLINE_LINUX_DEFAULT=quiet splash acpi_backlight=video
GRUB_CMDLINE_LINUX_DEFAULT=quiet splash dell_acpi
... without success.

If someone can shed some light on this one I would be very grateful.

Jean-Marc


--
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/4ea07f8d.5000...@cegetel.net



vncviewer can't see

2011-07-20 Thread rudu

Hi,
For maintenance or training purposes, I use my old Lenny desktop as a 
vnc client with the command :

$ vncviewer -listen
This is working fine for connections from debian-like distros AND 
windows environments.


Now, I'm just trying to have this working on my Testing desktop as the 
vnc client and it's ok for ubuntu incomming connections but not for windows.
I googled a bit yesterday and I found this bug describing exactly what I 
get :

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=477664

Anybody can think of a fix or workaround to that ?
TIA

old Lenny :
~$ ls -l /etc/alternatives/vncviewer
lrwxrwxrwx 1 root root 23 sep 23  2008 /etc/alternatives/vncviewer - 
/usr/bin/xrealvncviewer

~$ dpkg -S xrealvncviewer
xvncviewer: /usr/share/man/man1/xrealvncviewer.1.gz
xvncviewer: /usr/bin/xrealvncviewer
~$ dpkg -l xvncviewer
Souhait=inconnU/Installé/suppRimé/Purgé/H=à garder
| 
État=Non/Installé/fichier-Config/dépaqUeté/échec-conFig/H=semi-installé/W=attend-traitement-déclenchements
|/ Err?=(aucune)/H=à garder/besoin Réinstallation/X=les deux (État,Err: 
majuscule=mauvais)

||/ Nom  Version  Description
+++---
ii  xvncviewer   3.3.7-14 Virtual network computing client 
software for X




Testing :
~$ ls -l /etc/alternatives/vncviewer
lrwxrwxrwx 1 root root 24 20 juil. 11:11 /etc/alternatives/vncviewer - 
/usr/bin/xtightvncviewer

~$ dpkg -l xtight*
Souhait=inconnU/Installé/suppRimé/Purgé/H=à garder
| 
État=Non/Installé/fichier-Config/dépaqUeté/échec-conFig/H=semi-installé/W=attend-traitement-déclenchements

|/ Err?=(aucune)/besoin Réinstallation (État,Err: majuscule=mauvais)
||/ Nom Version Description
+++-===-===-==
ii  xtightvncviewer 1.3.9-6.2   virtual network 
computing client software for X




--
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/4e269d74.5050...@cegetel.net



Re: Any package for surveys?

2011-01-25 Thread rudu

Le 25/01/2011 11:11, Daniel Andersson a écrit :


Hi all,

Is there a package for doing surveys? Preferably a web solution.

I need to easily create and modify multiple choice forms, with several
correct answers. Also extract some kind of summary.

Any suggestions?


Best regards,
Daniel Andersson



http://www.limesurvey.org/en

Rudu



--
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/4d3ed8cc.2050...@cegetel.net



Re: Debian Squeeze Cannot Paste From Epiphany Browser to Evolution or Gnome Terminal

2010-12-23 Thread rudu

Le 23/12/2010 05:10, Jackie Wang a écrit :


Hi all,

I'm using Debian Squeeze on my laptop (Upgraded from Lenny 5.0.4 to
Squeeze). I cannot paste some text from epiphany to evolution or Gnome
terminal. I first select some text from the browser then use right-click
and select command copy and then in evolution or Gnome terminal
right-click and select command paste but nothing pasted. But I can first
paste the text to epiphany's address line and copy it again in the
address line, and then can paste to Gnome terminal or evolution.


Have you tried to paste using the click of your mouse scroller ?

rudu


--
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/4d135c41.5090...@cegetel.net



Re: Looking for software to manage snail-mail subscriptions

2010-12-06 Thread rudu

Le 05/12/2010 00:42, Doug a écrit :


On 12/4/2010 12:57 PM, Alex Gould wrote:

Hi, does anyone know of a Free Software program for managing
subscriptions and
mailing lists -- the old fashioned dead tree kind? Ideally it would
handle
individual periodical subscribers and bookstore orders (consignment
deals on
multiple copies of each issue), and help to automate the printing of
mailing
labels and subscription renewal/expiration notices. Thanks in advance,
Alex



For a friend who publishes a newsletter but does not (and never will)
use Linux, I would be interested in knowing an answer for Macintosh
and/or Windows.

--doug



Maybe you should take a look at PMB :
http://www.sigb.net/doc/en_UK/html-user/index.html

HTH
Jean-Marc


--
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/4cfcc83e.9090...@cegetel.net



Re: Strange pdf behaviour

2010-11-10 Thread rudu

Le 09/11/2010 20:12, Camaleón a écrit :


On Tue, 09 Nov 2010 18:59:48 +0200, Dotan Cohen wrote:


On Tue, Nov 9, 2010 at 17:36, rudur...@cegetel.net  wrote:

Thank you very much to you all.
Suspecting the file itself, I re-composed it using pdftops -  Gimp -
pdftk. The resulting file opens fine now, including with WinXP/Adobe
Reader (v.9.3.4) :
http://www.ubapar.org/IMG/pdf/plketUBApays.pdf ... to the cost of a
sligth quality loss thought.



No, this is a huge quality loss! Try opening in a PDF reader that does
not anti-alias, such as Okular. It looks terrible.


It looks better than just a bunch of black ;-)

Now the source of the problem has been detected, it's just a matter of
tweaking the right values to get a higher quality output (Ghostscript has
many options for controlling this and GNOME/KDE virtual PDF printer does
also a nice job on this regard).

Greetings,



Well, the original file was designed for on-screen viewing, so I 
couldn't achieve a much better work anyway.
There was another one, designed for printing purpose, and the results 
have been totally satisfying.


Thanks for your help.
Rudu


--
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/4cdaa221.5010...@cegetel.net



Re: Strange pdf behaviour

2010-11-09 Thread rudu

Le 09/11/2010 11:41, Camaleón a écrit :


On Tue, 09 Nov 2010 08:02:15 +0530, Sridhar M.A. wrote:


On Mon, Nov 08, 2010 at 09:26:43PM +0100, Arnt Karlsen wrote:

  a...@a45:/tmp $ pdfinfo plaquetteUBA1.pdf Creator:
  pdfsam-console (Ver. 1.1.5e) Producer:   iText 2.0.7 (by
  lowagie.com) CreationDate:   Mon Jan 12 11:11:57 2009 ModDate:
Mon Jan 12 11:11:57 2009 Tagged: no
  Pages:  2
  Encrypted:  no
  Page size:  595 x 842 pts (A4)
  File size:  1072117 bytes
  Optimized:  no
  PDF version:1.5
  a...@a45:/tmp $

A suggestion : Can you try exporting the document to version 1.4 and
check with the readers? Maybe all the readers do not support version 1.5
yet.


Acrobat Reader 9 does (up to 1.7) and fails in the same manner.

Greetings,



Thank you very much to you all.
Suspecting the file itself, I re-composed it using pdftops - Gimp - pdftk.
The resulting file opens fine now, including with WinXP/Adobe Reader 
(v.9.3.4) :

http://www.ubapar.org/IMG/pdf/plketUBApays.pdf
... to the cost of a sligth quality loss thought.

Again, your feedback has been precious.

Nice day,
Rudu


--
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/4cd96a8a.9030...@cegetel.net



Strange pdf behaviour

2010-11-08 Thread rudu

Greetings,
A few people are complaining that this pdf file :
http://www.ubapar.org/IMG/pdf/plaquetteUBA1.pdf
shows two black pages, while others can see and read a two pages leaflet 
... which it's supposed to be indeed.


On my squeeze desktop, evince (2.30.3-1) presents two black pages, while 
okular (4:4.4.5-2) doesn't ...

Does anybody have seen this before ?
Any hint to prevent this from happening ?

Thanks,
rudu


--
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/4cd83d03.5040...@cegetel.net



Re: Strange pdf behaviour

2010-11-08 Thread rudu

Le 08/11/2010 19:17, Camaleón a écrit :


On Mon, 08 Nov 2010 19:10:11 +0100, rudu wrote:


Greetings,
A few people are complaining that this pdf file :
http://www.ubapar.org/IMG/pdf/plaquetteUBA1.pdf shows two black pages,
while others can see and read a two pages leaflet ... which it's
supposed to be indeed.

On my squeeze desktop, evince (2.30.3-1) presents two black pages, while
okular (4:4.4.5-2) doesn't ...


Evince for lenny (2.22) displays it fine :-?


Does anybody have seen this before ?
Any hint to prevent this from happening ?


It could be a bug in the reader, not the first time I've see it... and
not the last time, I'm afraid :-)

How do you create/generate the PDF files?


I still have to investigate on the generation of the file, it may be 
crucial indeed.


Thank you for your time.
Rudu


--
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/4cd844fb.2000...@cegetel.net



Re: Strange pdf behaviour

2010-11-08 Thread rudu

Le 08/11/2010 19:21, Paul Cartwright a écrit :


On 11/08/2010 01:10 PM, rudu wrote:


On my squeeze desktop, evince (2.30.3-1) presents two black pages,
while okular (4:4.4.5-2) doesn't ...
Does anybody have seen this before ?
Any hint to prevent this from happening ?

I've had similar issues with other PDF documents where Adobe reader
won't show it, but Okular would.. I LOVE Okular!




Thank you Paul, but I'm supposed to find a solution for some windows 
users too.


Rudu


--
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/4cd845ac.2070...@cegetel.net



Re: Debian Live Problem: No binary.img

2010-10-07 Thread rudu

Le 07/10/2010 03:18, Thomas H. George a écrit :


I followed the steps in the Debian Live manual Section 4.3: Building an
USB/HDD image.  The lb build command appeared to end successfully but
there was no binary.img file.  A file binary.packages was created.
Could this just be a name change?


There is probably a problem during the build process.
Try to get some logs with a build command like :
# lh build 21 | tee buildlog.txt

HTH
Jean-Marc


--
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/4cadcefd.3020...@cegetel.net



Re: Xorg error with 2.6.32-5 kernel

2010-09-27 Thread rudu

Le 27/09/2010 10:48, Virgo Pärna a écrit :


On Sun, 26 Sep 2010 20:51:47 -0400 (EDT), Stephen Powellzlinux...@wowway.com  
wrote:


Look in directory /etc/modprobe.d for a file called i915-kms.conf.
Look at the contents of that file.  Does it say

options i915 modeset=0

If so, change the 0 to 1 and file it, then shutdown and reboot.
If no such file exists, then create it, specifying modeset as 1.



 I hope, that this works for him, but just in case. I had different problem 
- after upgrading to
squeeze  X would freeze the whole computer in startup without X startup log 
(also Intel graphics).
Modeset support was enabled, but changing it didn't seem to have any effect. I 
got it working with
Vesa driver and later by building 2.6.32.22 kernel. But then that one didn't 
work for video playback,
so I upgraded to 2.6.33.7. It seems, that 2.6.32 lines has some major problems 
with integrateed
Intel graphics - at least with some of them. Just as a word of warning - if any 
of those problems
should appear.



+1
I have a Dell inspiron 510m running squeeze.
Same thing here since the last linux-image-2.6.32.5-i686 upgrade ...
From memory my Xorg.0.log complained about missing modules, one of them 
being related to my GAlps/touchpad something ... (sorry for the lack of 
precision, I'm away from my laptop now).

I think the KMS problem was also there.

I'll stay tuned to that thread, thanks.

Jean-Marc


--
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/4ca098bb.7020...@cegetel.net



Re: How to get rid of the websites' ads/flash ads, without loosing their (flash) content?

2010-09-09 Thread rudu

Le 09/09/2010 20:26, Merciadri Luca a écrit :

Hi,

There are sometimes some websites (such as news ones) which make an
extensive use of flash stuff. Amongst the animations, flash is sometimes
also used for ads, etc., and I don't like this. Are there any Iceweasel
tools which can detect these ads, or use a public DB to avoid displaying
these ads? Or is there any related solution?

Thanks.



Maybe this is what you're looking for :
http://adblockplus.org/en/

HTH
Jean-Marc


--
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/4c892b2e.4040...@cegetel.net



Fwd: Re: How to get rid of the websites' ads/flash ads, without loosing their (flash) content?

2010-09-09 Thread rudu

Alex, you mailed me directly.
I forward to du.

 Message original 
Sujet:  Re: How to get rid of the websites' ads/flash ads, without
loosing their (flash) content?
Date :  Thu, 9 Sep 2010 22:08:06 +0100
De :Alex macgeek...@gmail.com
Pour :  rudu r...@cegetel.net



I second the recomendation of AdBlock - on my slow internet connection,
it makes many pages load literaly 10x faster.


--
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/4c894ee8.4070...@cegetel.net



Re: External USB HDD : files disappeared

2010-07-29 Thread rudu

Le 28/07/2010 20:55, Aniruddha a écrit :


First things first, make an image of the hard disk with dd and work on
that. That way you don't have to experiment with your only available
copy.


Thank you Aniruddha, I will do that as soon as I can get a spare HDD.

Jean Marc


--
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/4c517a9c.8000...@cegetel.net



Re: External USB HDD : files disappeared

2010-07-27 Thread rudu

Le 27/07/2010 09:10, Andrei Popescu a écrit :

On Lu, 26 iul 10, 17:22:05, Jordon Bedwell wrote:


have the same problem.  If you do Repair it from the Windows
partition as well since Windows is far better with FAT and NTFS than
any other operating system and then check again.  If they're still
missing post back and let us know and we'll go from there.


Any reference on that? I remember reading about some errors that Windows
was not able to repair, but the equivalent Linux tools did.

Regards,
Andrei


Andrei, Jordon, Thanks for your help.
I mounted the Drive from a Win XP pro laptop.
Same story: from the 5 directories at the root of the drive, 3 are Ok 
and I can browse them and read any file I want.

The two others are holding empty directories and 0b files ...
Same incoherence between the global occupation (~ 200GB) and the defrag 
utility report (~ 30GB).
I can't trust build in windows utilities as I'm sure they would delete 
every incoherent data.


Does all this ring somebody's bell ?
Apart from using photorec which would save thousands of weirdly named 
files, is there still a chance to get them with their original names and 
hopefully in their original directory path ?


TIA
Jean-Marc


--
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/4c4ea9a7.8070...@cegetel.net



Re: External USB HDD : files disappeared

2010-07-27 Thread rudu

Le 27/07/2010 12:22, Jordon Bedwell a écrit :


On 7/27/10 4:40 AM, rudu wrote:

Any reference on that? I remember reading about some errors that Windows
was not able to repair, but the equivalent Linux tools did.



What you hear and what's true are two different things. It's Microsoft's
technology, they would be better with it than anybody else. Regardless
of what anybody says. That's like claiming OSX is better at working with
EXT4 than Linux.


I can't trust build in windows utilities as I'm sure they would delete
every incoherent data.


Entirely illogical thinking. The files are already unavailable, and if
those sectors are dead (which could be possible as this does sound like
a typical dying drive) well, you can figure out that logic. Windows
ckdisk does not delete files, you are assuming that Windows is a bad
guy, this is typical. Did you hear? The aliens are here and they brought
their pew pew lazer guns. If you are that scared, uncheck the automatic
repair and only checking.


Sorry for being mean but it had to be done. And, no, I'm no windows
fan-boy, I work from Debian mostly and main OS X but I also run enough
Windows servers to know that Windows is not what everybody says it is.


Ok Jordon, understood.
I unchecked the automatic repair of the graphic checking utility, but I 
only got an Ok dialog telling me that the checking was finished.

So I opened a command line window and hit:
chkdsk E:
Every empty directory was reported as an invalid link and at the end : 
(sorry, it's french)


Vérification des fichiers et des dossiers terminée.
Convertir les liens perdus en fichiers (O/N) ? N
172758304 Ko d'espace disque seront libérés.  // disk space to be freed
Windows a détecté des problèmes sur le système de fichiers.
Exécutez CHKDSK avec l'option /F pour les corriger.
  488 264 736 Ko d'espace disque au total.  // Total
  256 Ko dans 8 fichiers cachés.// hiden files
   31 232 Ko dans 969 dossiers. // directories
   32 648 320 Ko dans 15 035 fichiers.  // files
  282 826 592 Ko sont disponibles.  // free

   32 768 octets dans chaque unité d'allocation.
   15 258 273 unités d'allocation au total sur le disque.
8 838 331 unités d'allocation disponibles sur le disque.

Well if I let it free the disk space, I suppose that I definitively 
loose the names of the directories and the files still visible ?

I'm still trying to find an alternative, if it exists ...

Thanks,
Jean-Marc


--
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/4c4ed850.6080...@cegetel.net



External USB HDD : files disappeared

2010-07-26 Thread rudu

Hi,
A friend of mine recently experienced a loss of data on his 500G 
external WD drive.
Quite inexplicably, some directories became empty, some file sizes 
became null while others stayed intact.

df -h
Sys. de fichiersTaille  Uti. Disp. Uti% Monté sur
[...]
/dev/sdb1 466G  196G  270G  43% /media/My Book

du -sh /media/My\ Book
32G/media/My Book

fdisk -l
Disk /dev/sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x44fdfe06

   Device Boot  Start End  Blocks   Id  System
/dev/sdb1   1   60801   488384001c  W95 FAT32 (LBA)

What I tried :
Photorec : the renaming of restored files would take years, not an 
option for my friend ...


Testdisk : No need to partition recovery here, the Repair FAT option 
only states that everything's OK.


dosfsck -v /dev/sdb1 : shows a lot of  Start does point to root 
directory. Deleting dir.

I suppose it's going to wipe out all incoherent result.

I'd suspect the FAT file system for having messed something for some reason.
Is there any chance to restore the FAT tables or to reconstruct them ?

Thanks for any help.
Jean-Marc


--
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/4c4e0381.1060...@cegetel.net



Re: Showing recommended packages from cli

2010-06-23 Thread rudu

Le 23/06/2010 00:46, Greg Madden a écrit :



Thanks for the info. I am trying to migrate from dselect to aptitude.

To do a search in aptitude I use the '/' option. In dselect  the search
feature is the same '/', once you enter your search if you keep pressing
the '/' key you cycle through all the matches to the search string.

  In aptitude the '/'  key brings up the search dialog again and I have to
press three keys to continues the search,
  '/' to open search dialog,
'tab' key to select the 'OK' or ''Cancel' button,
then the 'enter' key to find , repeat.

I am wondering if I am missing a feature of aptitude, or if I just need to
learn the new way. ?


Try 'n' to cycle through the results of an aptitude search.

HTH
Jean-Marc


--
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/4c21e651.3080...@cegetel.net



Re: i915 mod insert blanks screen

2010-06-23 Thread rudu

Le 23/06/2010 06:42, Alexander Samad a écrit :


any one had this problem with new laptops.

udev finds the i915 and does a mod insert and bang screens gone

Alex


FWIW, I had a similar problem on a fresh install of ubuntu 10.04.
Have a look here :
https://wiki.ubuntu.com/X/Bugs/Lucidi8xxFreezes
Workaround A did the trick for me.

HTH
Jean-Marc


--
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/4c21e856.9030...@cegetel.net



Re: [Solved] Re: Ctrl+alt+Fn not showing consoles

2010-04-30 Thread rudu

Le 29/04/2010 20:42, Hugo Vanwoerkom a écrit :


rudupere wrote:

Le 29/04/2010 05:55, Justin The Cynical a écrit :


rudu wrote:


Launching a graphic session with startx instead of gdm/kdm doesn't
change anything except that I don't even have any flashing prompt on
my black screen anymore.



This is an old, old bug (IMO) in the binary nvidia module. I've had this
problem since getting Linux running on my old pentium m laptop with a
6000 go series chip.

For example:

http://www.nvnews.net/vbulletin/showthread.php?t=131639

and possible fix (seems to be hit or miss):
http://www.nvnews.net/vbulletin/showthread.php?t=120492




Bingo !!
That was it, an old bug from nvidia drivers.
The workaround that worked for me :
Append the line :
options nvidia NVreg_UseVBios=0
to the file /etc/modprobe.d/nvidia-kernel-nkc.conf

A big thank you to Justin and everyone who helped.


Good that you got it solved. Except I don't understand when the problem
started. You must have run at one time w/o black screens. And then they
started.

Hugo


Well, I've lived with it for quite a long time before calling for help 
here, but IIRC it started after a kernel upgrade, then I couldn't 
install the nvidia driver so I switched to nv, and so on.

I hadn't enough time at the moment to investigate ...

JM


--
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/4bdaadfa.90...@cegetel.net



Re: Ctrl+alt+Fn not showing consoles

2010-04-28 Thread rudu
On Tue, Apr 27, 2010 at 16:08, rudu r...@cegetel.net 
mailto:r...@cegetel.net wrote:


Le 27/04/2010 03:48, Hugo Vanwoerkom a écrit :


rudu wrote:

Le 26/04/2010 20:55, Hugo Vanwoerkom a écrit :


and what was the driver that wouldn't compile?
I run x86-195.36.15 on the latest Sid kernel and it
compiles just
fine, but I don't (yet) have a AMD64 system.


Excerpt from /var/log/nvidia-installer.log :

Using: nvidia-installer ncurses user interface
WARNING: Skipping the runlevel check (the utility
`runlevel` failed
to run).
- License accepted.
- Installing NVIDIA driver version 195.36.15.
- Performing CC sanity check with CC=cc.
- Performing CC version check with CC=cc.
- The CC version check failed:

  [...]



Indeed. Forget this if it is beating a dead horse, but did you
have
gcc-4.3 + gcc-4.4 both installed? I did and I set the symlink
gcc to
gcc-4.3 and that got rid of the message.


Thank you Hugo, I managed to compile the proprietary driver.
Now every ctrl+alt+Fn leads to a complete black screen, with no
prompt or cursor or anything.
Ctrl+alt+F7 works as expected.
Could it be that my system stopped creating the consoles at boot
time ?
What should I check and where ?



Le 27/04/2010 12:59, Anand Sivaram a écrit :
 How about single user mode?  Are you able to get virtual console there.
 Also try to disable gdm/kdm, see whether virtual consoles are working.

Thanks Anand,
In single user mode, I can login on the first virtual console but every 
other ctrl+alt+Fn I hit only gives me a black screen with a prompt 
flashing in the upper left corner ...
Launching a graphic session with startx instead of gdm/kdm doesn't 
change anything except that I don't even have any flashing prompt on my 
black screen anymore.


Any help would be appreciated.
Jean-Marc


Re: Ctrl+alt+Fn not showing consoles

2010-04-28 Thread rudu

Le 28/04/2010 18:30, Anand Sivaram a écrit :


What is your default runlevel.  It should be 2 in normal mode.  You
could find it from the command runlevel.


# runlevel
N 2



Anyway,  just see your /etc/inittab and make sure that the required
gettys are there.

For my debian squeeze system, these are the relevant lines.

# Note that on most Debian systems tty7 is used by the X Window System,
# so if you want to add more getty's go ahead but skip tty7 if you run X.
#
1:2345:respawn:/sbin/getty 38400 tty1
2:23:respawn:/sbin/getty 38400 tty2
3:23:respawn:/sbin/getty 38400 tty3
4:23:respawn:/sbin/getty 38400 tty4
5:23:respawn:/sbin/getty 38400 tty5
6:23:respawn:/sbin/getty 38400 tty6




I've got exactly the same lines in my inittab file.

ps aux | grep getty
root  2183  0.0  0.0   5864   604 tty1 Ss+  09:58   0:00 
/sbin/getty 38400 tty1
root  2184  0.0  0.0   5864   600 tty2 Ss+  09:58   0:00 
/sbin/getty 38400 tty2
root  2185  0.0  0.0   5864   604 tty3 Ss+  09:58   0:00 
/sbin/getty 38400 tty3
root  2186  0.0  0.0   5864   604 tty4 Ss+  09:58   0:00 
/sbin/getty 38400 tty4
root  2187  0.0  0.0   5864   604 tty5 Ss+  09:58   0:00 
/sbin/getty 38400 tty5
root  2188  0.0  0.0   5864   604 tty6 Ss+  09:58   0:00 
/sbin/getty 38400 tty6

root  3807  0.0  0.0   9604   896 pts/0S+   19:30   0:00 grep getty

But still no virtual console ... :(

Thanks for your interest Anand.

Jean-Marc


--
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/4bd87310.3020...@cegetel.net



Re: Ctrl+alt+Fn not showing consoles

2010-04-27 Thread rudu

Le 27/04/2010 03:48, Hugo Vanwoerkom a écrit :


rudu wrote:

Le 26/04/2010 20:55, Hugo Vanwoerkom a écrit :


So are you still running nv?

Yes


and what was the driver that wouldn't compile?
I run x86-195.36.15 on the latest Sid kernel and it compiles just
fine, but I don't (yet) have a AMD64 system.


Excerpt from /var/log/nvidia-installer.log :

Using: nvidia-installer ncurses user interface
WARNING: Skipping the runlevel check (the utility `runlevel` failed
to run).
- License accepted.
- Installing NVIDIA driver version 195.36.15.
- Performing CC sanity check with CC=cc.
- Performing CC version check with CC=cc.
- The CC version check failed:

   [...]




Indeed. Forget this if it is beating a dead horse, but did you have
gcc-4.3 + gcc-4.4 both installed? I did and I set the symlink gcc to
gcc-4.3 and that got rid of the message.


Thank you Hugo, I managed to compile the proprietary driver.
Now every ctrl+alt+Fn leads to a complete black screen, with no prompt 
or cursor or anything.

Ctrl+alt+F7 works as expected.
Could it be that my system stopped creating the consoles at boot time ?
What should I check and where ?

TIA,
Jean-Marc




--
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/4bd6bea3.3060...@cegetel.net



Ctrl+alt+Fn not showing consoles

2010-04-26 Thread rudu

Hi,
Running squeeze on AMD64 arch, my system recently stopped to let me get 
my consoles after I hit the ctrl+alt+Fn keys (n = 1 to 6).
Instead, my monitor first blackens then presents me the exact replica of 
my graphic session's screen except that it reacts to nothing, there is 
no mouse cursor anyway, until I hit ctrl+alt+F7 to get my fully 
functional graphic session back again.
I tried to replace gdm by kdm, to test from within KDE4 or gnome, and 
got the exact same behavior.
I don't know where to look now, nor which words would make a valuable 
google search ...


Thanks for any help.
Jean-Marc


--
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/4bd5cd44.4040...@cegetel.net



Re: Ctrl+alt+Fn not showing consoles

2010-04-26 Thread rudu

Le 26/04/2010 19:43, Hugo Vanwoerkom a écrit :


rudu wrote:

Hi,
Running squeeze on AMD64 arch, my system recently stopped to let me
get my consoles after I hit the ctrl+alt+Fn keys (n = 1 to 6).



When did it stop?


I can't be sure but that may coincide with that kernel*-trunk thing, 
when I had to go back to the nv driver as I couldn't get the proprietary 
Nvidia driver to compile with my new kernel.

FWIW, a few more details :
$ uname -a
Linux birdynam 2.6.32-3-amd64 #1 SMP Wed Feb 24 18:07:42 UTC 2010 x86_64 
GNU/Linux

$ lspci | grep VGA
01:00.0 VGA compatible controller: nVidia Corporation G96 [GeForce 9400 
GT] (rev a1)







Instead, my monitor first blackens then presents me the exact replica
of my graphic session's screen except that it reacts to nothing,
there is no mouse cursor anyway, until I hit ctrl+alt+F7 to get my
fully functional graphic session back again.
I tried to replace gdm by kdm, to test from within KDE4 or gnome, and
got the exact same behavior.
I don't know where to look now, nor which words would make a valuable
google search ...








--
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/4bd5dc01.3070...@cegetel.net



Re: Ctrl+alt+Fn not showing consoles

2010-04-26 Thread rudu

Le 26/04/2010 20:55, Hugo Vanwoerkom a écrit :


rudu wrote:

Le 26/04/2010 19:43, Hugo Vanwoerkom a écrit :


rudu wrote:

Hi,
Running squeeze on AMD64 arch, my system recently stopped to let me
get my consoles after I hit the ctrl+alt+Fn keys (n = 1 to 6).


When did it stop?


I can't be sure but that may coincide with that kernel*-trunk thing, 
when I had to go back to the nv driver as I couldn't get the 
proprietary Nvidia driver to compile with my new kernel.

FWIW, a few more details :
$ uname -a
Linux birdynam 2.6.32-3-amd64 #1 SMP Wed Feb 24 18:07:42 UTC 2010 
x86_64 GNU/Linux

$ lspci | grep VGA
01:00.0 VGA compatible controller: nVidia Corporation G96 [GeForce 
9400 GT] (rev a1)




So are you still running nv? 

Yes


and what was the driver that wouldn't compile?
I run x86-195.36.15 on the latest Sid kernel and it compiles just 
fine, but I don't (yet) have a AMD64 system.


Excerpt from /var/log/nvidia-installer.log :

Using: nvidia-installer ncurses user interface
WARNING: Skipping the runlevel check (the utility `runlevel` failed to 
run).

- License accepted.
- Installing NVIDIA driver version 195.36.15.
- Performing CC sanity check with CC=cc.
- Performing CC version check with CC=cc.
- The CC version check failed:

   The compiler used to compile the kernel (gcc 4.3) does not exactly 
match the
   current compiler (gcc 4.4).  The Linux 2.6 kernel module loader 
rejects kern
   el modules built with a version of gcc that does not exactly match 
that of t

   he compiler used to build the running kernel.

   If you know what you are doing and want to ignore the gcc version 
check, sel
   ect No to continue installation.  Otherwise, select Yes to 
abort install
   ation, set the CC environment variable to the name of the compiler 
used to c

   ompile your kernel, and restart installation.  Abort now? (Answer: Yes)
ERROR: Installation has failed.  Please see the file
   '/var/log/nvidia-installer.log' for details.  You may find 
suggestions
   on fixing installation problems in the README available on the 
Linux

   driver download page at www.nvidia.com.


Thanks Hugo.


--
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/4bd5e68e.5030...@cegetel.net



Re: Icedove 2.0 and French Dictionary

2009-12-09 Thread rudu

Merciadri Luca a écrit :

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

I am using Icedove 2.0 on my Debian Lenny. Everything is in English
here, but I would like my Icedove to handle French words too. I tried
the add-ons on the website, but they seem to be written for
Thunderbird 3.x. Any idea?

Thanks.
- -- 
Merciadri Luca


$ aptitude search icedove

You should find some icedove-l10n-fr package to install.

hth,
Jean-Marc


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




Dual-Head / extended desktop

2009-11-04 Thread rudu

Hi,
A friend asked for my help in configuring his laptop with a video projector.
He is looking for an all GUI solution.
His ACER Travelmate is running Ubuntu 8.04 that he is willing to keep 
until the next LTS release.

The graphic card is an ATI Radeon X700.
First, using the fglrx driver with the ATI Catalyst GUI, we couldn't 
prevent both of the screens to show colored horizontal lines as soon as 
we tried to activate the second one.
Then, using the radeon driver, with grandr or with the system 
preferences screen resolution tool, we couldn't get further than showing 
a full 1280x800 desktop on the LCD but projected on the wall, only a 
portion of 1024x768 on the far right of that same desktop.
Booting the same hardware with wXP we could extend the desktop to an 
extra 1024x768 on the right with no problem.

There must be something obvious that we missed ...
I would be very thankfull to any pointer ...

Jean Marc


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




Re: configuring printer in newly installed Lenny

2009-08-26 Thread rudu

bdebreil a écrit :

I feel sorry that I installed Lenny in a somewhat automated install
program. During previous installs of earlier distros, I was being asked
if I wanted to configure a printer and what kind, etc... There were no
such questions here, and my printer is not operating. This is an old
parallel port printer (HP DeskJet 1120C), that worked perfectly under
Debian Sarge.

What packages should I install and run so that my parallel printer gets
proper drivers and config ?


  

aptitude install cups
It should be already there ...
Then connect your web-browser to : http://localhost:631

HTH,
Jean Marc


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




Re: [HS] dvdrip extsub inopérant

2009-07-18 Thread rudu

se...@srv0.ath.cx a écrit :

Le Saturday 18 July 2009 02:45:11 rudu, vous avez écrit :
  

Salut la liste,
sous testing, amd64, j'essaie d'encoder un DVD avec dvdrip et
incrustation de sous-titre.
J'obtiens l'image et le son sans problème, mais aucun sous-titre
n'apparait. Pas de message d'erreur.
Le code :
[...]
Mon pote gougueule me laisse tomber, je m'en remet à vous.
Merci,
Jean-Marc



Salut,

Tu ouvres une fenêtre DVD::RIP -- Déboguer -- Vérifier les dépendances.
Les outils optionnels comme rar en version 2.71 (uniquement) est obligatoire 
pour certains sous-titres.


+@
  

Merci Serge, piste intéressante en effet.
Dvdrip n'accepte pas rar en version supérieure à la 2.99 et les dépôts 
debian ne le proposent pas en dessous d'une version 3.7b1-2 pour etch ...

Quelqu'un a un lien vers un paquet rar en version = 2.99 ?

Merci,
Jean Marc

--
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: Problème de audio device ?

2009-07-18 Thread rudu

mess-mate a écrit :

rudu wrote:



rudu a écrit :

Bonjour,
Pas d'aide mais juste pour signaler un problème similaire avec une 
config voisine :

Noyau 2.6.26-2-amd64

[...]

Je n'ai qu'une carte son et rien ne sort vers mes enceintes.
Remarque : alsamixer ne voit que les voies Master, PCM, Capture et 
digital, et impossible de muter/démuter une voie ...


En bootant sur un live-CD Ubuntu 9.04, aucun souci et alsamixer me 
présente une dizaine de voies dont front, rear, mic, etc ..., la 
plupart mutables ou démutables sans problème...


J'ai upgradé alsa-utils vers unstable (je souhaite rester en testing) :
aucun changement. 
Pour info, problème résolu chez moi en installant le kernel de Sid 
(2.6.30-1-amd64) et en ajoutant en fin de fichier 
/etc/modprobe.d/alsa-base.conf :

options snd-hda-intel model=6stack-digout

JM


Bonjour,
tu est en sid ou en squeeze ?
Dans le cas de squeeze tu pourrais me dire comment tu as fait ?
Merci


Salut,
Je suis en squeeze, mais j'ai ajouté les dépôts sid dans mon source.list 
et réglé le pinning apt.
Puis j'ai cherché la bonne option à ajouter à mon alsa-base.conf en 
cherchant là :

/usr/share/doc/alsa-base/driver/HD-Audio-Models.txt.gz
Après cela, alsamixer m'a proposé toutes mes voies et tout baigne ...

Opzatelpse
JM

--
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: [HS] dvdrip extsub inopérant

2009-07-18 Thread rudu

rudu a écrit :

se...@srv0.ath.cx a écrit :

Le Saturday 18 July 2009 02:45:11 rudu, vous avez écrit :
 

Salut la liste,
sous testing, amd64, j'essaie d'encoder un DVD avec dvdrip et
incrustation de sous-titre.
J'obtiens l'image et le son sans problème, mais aucun sous-titre
n'apparait. Pas de message d'erreur.
Le code :
[...]
Mon pote gougueule me laisse tomber, je m'en remet à vous.
Merci,
Jean-Marc



Salut,

Tu ouvres une fenêtre DVD::RIP -- Déboguer -- Vérifier les 
dépendances.
Les outils optionnels comme rar en version 2.71 (uniquement) est 
obligatoire pour certains sous-titres.


+@ 


Bon, j'ai trouvé et installé rar en version 2.71:
http://www.exit1.org/dvdrip/doc/install.cipp#inst_rar
Dvdrip est content.
Mais aucun sous titre ne s'incruste ...

Là, je sèche grave.
JM


--
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: [HS] dvdrip extsub inopérant

2009-07-18 Thread rudu

se...@srv0.ath.cx a écrit :

Le Saturday 18 July 2009 16:27:22 rudu, vous avez écrit :

[...]
Un répertoire '/tmp/rar' contient plusieurs fichiers, chez moi ayant modifier 
la variable PATH pour regarder d'abord '~/bin' , j'ai copié les 
binaires 'rar' et 'unrar' dans ~/bin':


% cp /tmp/rar/rar ~/bin/
% cp /tmp/rar/unrar ~/bin/
  
Ok Serge, j'ai fait comme tu dis, puis renommé le dossier rar en 
rar2.71, puis j'ai copié le dossier dans /opt/rar2.71 et j'ai fais :

# ln -s /opt/rar2.71/rar /usr/local/bin/
Pareil pour unrar.
Bref, dvdrip retrouve ses petits, et me dit que tout baigne.
* Maintenant il faut dire à 'DVD::RIP' que nous voulons aussi les sous titres, 
pour cela rendez-vous dans 'Editions...' -- 'Préférences' :


   - Onglet 'Basic settings':
choisir l'option 'langue préférée' -- 'fr - Français'
  - Onglet 'Commandes':
s'assurer que dans la fenêtre en bas, la commande 'rar' est bien 
trouvée,
sinon séléctionner 'rar' dans l'option 'Commande rar'.
  

dvdrip me dit :
Commande rar (pour la compression vobsub): /usr/local/bin/rar est 
exécutable : correct



  - Onglet 'Options diverses':
L'option 'Capture des sous-titres pendant l'extraction' doit être
positionner sur 'capture des sous-titres de la langue préférée'.
  
Là effectivement, j'étais positionné sur capture de tous les 
sous-titres mais je ne pense pas que cela soit bloquant, au contraire ...

* Nouveau projet:

Pour le teste, j'ai choisi le dvd 'Imortal ad vital' de Enki Bilal 
http://www.allocine.fr/film/fichefilm_gen_cfilm=43226.html


Lancer DVD::RIP et nommer le nouveau projet = 'Imortal_ad_vital' puis appuyer 
sur 'Créer le projet'.
On modifie les réglages d'extraction en validant l'option 'Copier le contenu 
du DVD sur l'ordinateur' à 'Oui' dans l'onget 'Stockage'.
Dans l'onglet 'Extraction', clic sur 'Lire la table des matières du DVD'. 
Ensuite, on choisis la piste Audio ( français ) et l'option 'Extraction des 
aperçus de sous-titres à 'Par langue'.
  
OK, je fais pareil sauf que je met la piste audio sur la langue qui me 
semble être l'originale, et l'extraction des sous-titres sur 'Tout'.


Pour ce teste, je choisi de séparer les chapitres pour ne pas ripper la 
totalité du DVD mais plutôt le premier chapitre ( 9 minutes ) ou un dieu 
égyptien parle dans sa langue et les sous-titres apparaissent dans le filme.
  

Moi je prend tout le film.

On valide 'Extraire les titres ou chapitres sélectionnés' .
  

Oui, il faut attendre un peu que tout soit copié sur le DD.

On se déplace dans l'onglet 'Sous-titres':
Au Chapitre  'Sélection des sous-titres', l'option 'Sélectionner le 
sous-titres' doit être modifier pour choisir un nombre d'image suffisant. 
Dans cette exemple = '01 - fr - 6 images'.

Il faut aussi activer la case 'Activer ce sous-titre'.
Il y a plus d'options, comme par exemple changer la couleur des sous-titres 
suivant le fond, etc...
DVD::RIP donne la possibilité de voir un aperçu des réglage ( il faut Xine ou 
Mplayer ) avant de ripper définitivement, donc on profite pour validé - 
Fenêtre d'aperçu -- 'Ouvrir' . Mplayer ou Xine est lancé pour visionner le 
passage avec les sous-titres mais sans le sons ( pas encore rippé ).
  
Je connais cette manip qui marchait bien sous Lenny quand elle était en 
testing.
Maintenant sous squeeze et amd64, aucune réaction au clic sur aperçu  
ouvrir ...
Dernier onglet, 'Encodage'. Dans 'options audio' choisir une piste avec sa 
langue évidement.


Enfin, activer 'Encoder' et patienter le temps de l'encodage...

Ici il s'agit d'encoder 9 minutes du premier chapitre du DVD, ce qui ce fait 
rapidement pour tester nos modifications avant de s'aventurer dans le rippage 
du DVD, accès long.


Une fois terminer le chapitre sélectioné ( chapitre n°1 ), j'ai mon fichier au 
format AVI ( DIVX et MP3 ) de 181 Mo, en français et ses sous-titres.


 
  

Perso, j'ai copié l'intégralité du DVD sur mon disque dur (voir plus haut).
Dans l'onglet Encoder, j'ai un cadre Options générales dans le quel 
je peux définir un intervalle d'images, par exemple 4000 à 4500 pour 
avoir environ 20 secondes de film (à estimer par tâtonnement, à raison 
de 25 images par secondes).
Quand je clique sur le bouton Encoder, c'est rapide, et je peux 
visionner 20 secondes de mon film avec les paramètres de sous-titres en 
cours dans l'onglet Sous-titres.
Mon problème, c'est que quelque soient ces paramètres, je ne vois rien 
apparaître sur mon extrait, bien que nickel au niveau image et son ...


En espérant que tu trouves les renseignements qu'ils te manquaient pour ripper 
joyeusement avec les sous-titres :-)


Merci Serge, mais rar2.71 ou pas, j'en suis toujours au même point.
Sympa ton coup de main,

A+
JM

--
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

Re: [HS] dvdrip extsub inopérant

2009-07-18 Thread rudu

se...@srv0.ath.cx a écrit :

Le Saturday 18 July 2009 23:10:14 rudu, vous avez écrit :
  
Une fois le projet stocké sur le disque, as-tu regardé les sous-titres 
décompresses dans le répertoires dvdrip-data/Nom_Du_Projet/tmp/subtitles ?
  
Oui, je trouve plein de fichier png dans divers sous dossiers, qui me 
présentent le texte des sous titres ...



ajuster les réglages et installer Mplayer ou Xine ( ou les deux... )
  

Les deux sont installés.

Perso, j'ai copié l'intégralité du DVD sur mon disque dur (voir plus haut).
Dans l'onglet Encoder, j'ai un cadre Options générales dans le quel
je peux définir un intervalle d'images, par exemple 4000 à 4500 pour
avoir environ 20 secondes de film (à estimer par tâtonnement, à raison
de 25 images par secondes).
Quand je clique sur le bouton Encoder, c'est rapide, et je peux
visionner 20 secondes de mon film avec les paramètres de sous-titres en
cours dans l'onglet Sous-titres.
Mon problème, c'est que quelque soient ces paramètres, je ne vois rien
apparaître sur mon extrait, bien que nickel au niveau image et son ...



Chez moi , les projets sont enregistrées dans:
 - ~/dvdrip-data/nom_du_projet

les sous répertoires du projet nom_du_projet:

- avi --  ~/dvdrip-data/nom_du_projet/avi
		- tmp --  ~/dvdrip-data/nom_du_projet/tmp 
			- dans tmp tu as aussi ( une fois stocké sur HD ) les sous titres

- subtitles : 
--~/dvdrip-data/nom_du_projet/tmp/subtitles
( les sous-titres sont des fichiers au format .png )
- vob --  ~/dvdrip-data/nom_du_projet/vob

Chez moi, c'est pareil, ...

Voila le résultat de la commande 'Déboguer' -- 'Vérifier les dépendances':

  ProgrammeVersion   
  ---
  dvd::rip 0.98.8
  transcode1.0.3 
  ImageMagick  6.3.8 
  ffmpeg   SVN-r11599,

  xvid4confnon installé
  subtitle2pgm 0.4   
  lsdvd0.16  
  rar  2.71  
  mplayer  1.0   
  ogmtools 1.5   
  dvdxchap 1.5   
  mjpegtools   1.9.0 
  xine non installé
  fping2.4   
  hal  0.5.11
  ---
  

La mienne :
ProgrammeVersion  
 ---
 dvd::rip 0.98.10  
 transcode1.1.2
 ImageMagick  6.3.7
 ffmpeg   SVN-r19166,
 xvid4conf1.12 
 subtitle2pgm 0.3  
 lsdvd0.16 
 rar  2.71 
 mplayer  cvs  
 ogmtools non installé

 dvdxchap non installé
 mjpegtools   1.9.0
 xine 0.99.6   
 fping2.4  
 hal  0.5.12   
 ---


J'utilise Mpayer a la place de Xine ( cela doit être pareil ) pour visualiser 
et valider les étapes avant de ripper définitivement le projet avec une 
langue ( le français ) et les sous titres pour le français - quand un acteur 
parle une autre langue que le français dans une scène.


Pour le reste, je penses qu'en ajustant les options des étapes, tu trouveras 
la solution.


Faire des testes sur des chapitres comme dans ma démonstration te permettrait 
de perdre moins de temps tout en ajustant les réglages.


Tu as le programmes subtitle2pgm installé ?

Oui, voir ci-dessus.
C'est sûr qu'on a pas tout à fait les mêmes versions mais, qui a raison, 
qui est en retard ?


Merci en tout cas,
JM


--
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



[HS] dvdrip extsub inopérant

2009-07-17 Thread rudu

Salut la liste,
sous testing, amd64, j'essaie d'encoder un DVD avec dvdrip et 
incrustation de sous-titre.

J'obtiens l'image et le son sans problème, mais aucun sous-titre n'apparait.
Pas de message d'erreur.
Le code :
mkdir -m 0775 -p '/home/jean/perso/video/dvdrip-data/monDVD/tmp'  cd 
/home/jean/perso/video/dvdrip-data/monDVD/tmp  mkdir -p 
/home/jean/perso/video/dvdrip-data/monDVD/avi/001  execflow -n 19 
transcode -H 10 -a 0 -x vob -i 
\/home\/jean\/perso\/video\/dvdrip\-data\/monDVD\/vob\/001\/ -w 850,50 
-c 4-504 -L 162252 -b 128,0,2 -s 1.491 --a52_drc_off -J 
smartyuv=threshold=10:Blend=1:diffmode=2:highq=1 -f 25.000 -Y -4,0,-4,0 
-B 25,6,8 -y xvid -E 44100 -o 
/home/jean/perso/video/dvdrip-data/monDVD/avi/001/monDVD-001.avi 
--progress_meter 2 --progress_rate 25 -J extsub=0:10:0:0:0:0:255:1:2  
echo EXECFLOW_OK


Mon pote gougueule me laisse tomber, je m'en remet à vous.
Merci,
Jean-Marc

--
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: Problème de audio device ?

2009-07-15 Thread rudu

rudu a écrit :

Bonjour,
Pas d'aide mais juste pour signaler un problème similaire avec une 
config voisine :

Noyau 2.6.26-2-amd64

[...]

Je n'ai qu'une carte son et rien ne sort vers mes enceintes.
Remarque : alsamixer ne voit que les voies Master, PCM, Capture et 
digital, et impossible de muter/démuter une voie ...


En bootant sur un live-CD Ubuntu 9.04, aucun souci et alsamixer me 
présente une dizaine de voies dont front, rear, mic, etc ..., la 
plupart mutables ou démutables sans problème...


J'ai upgradé alsa-utils vers unstable (je souhaite rester en testing) :
aucun changement. 
Pour info, problème résolu chez moi en installant le kernel de Sid 
(2.6.30-1-amd64) et en ajoutant en fin de fichier 
/etc/modprobe.d/alsa-base.conf :

options snd-hda-intel model=6stack-digout

JM

--
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



  1   2   >