Re: Package lists with state and extended state

2024-07-23 Thread stefano prina
this tool is : you write once the recipe and than you can 
reproduce easily the installation or keep a system updated. 

This is a short example  for the workstation.yaml I used:
```
- hosts: localhost
  connection: local
  become: true

 # install base packages
  tasks:
  - name: Install Base Packages
apt:
  pkg:
- gufw
- ufw
- remmina 
- clipit 
- zim 
- unzip
- p7zip-full 
- wine 
- winetricks 
- putty 
- cntlm
- xz-utils
- ca-certificates
- curl 
- gnupg
  state: latest
  update_cache: true
   
  - name: Update apt and install libvirt and quemu
apt:
  pkg:
- qemu-kvm 
- virt-manager 
- virtinst 
- libvirt-clients 
- bridge-utils 
- libvirt-daemon-system
- qemu-system
- qemu-system-gui
- qemu-system-arm 
  state: latest
  update_cache: true 
```

this is the doc page for the apt module:
https://docs.ansible.com/ansible/latest/collections/ansible/builtin/
apt_module.html

Let me know if you need more info :) 

Regards 
Stefano 









Creating custom rspberry image using ansible

2024-07-16 Thread Stefano Prina

Hello,

I am trying to create a custom raspberry image starting from the code here

https://salsa.debian.org/raspi-team/image-specs

I added the ansible step in this file raspi_master.yaml:

  - apt: install
packages:
  - ansible
  - python3
  - ca-certificates
  - dosfstools
  - iw
  - parted
  - ssh
  - wpasupplicant
  - systemd-timesyncd
  - __LINUX_IMAGE__
  - raspi-firmware
  - __WIRELESS_FIRMWARE__
  - __BLUETOOTH_FIRMWARE__
tag: tag-root
unless: rootfs_unpacked

  - ansible: tag-root
playbook: ansible/image.yaml

  - cache-rootfs: tag-root
unless: rootfs_unpacked

Then I created the folder and file  ansible/image.yaml whit this content

- hosts: image
  tasks:
- name: "set /etc/hostname"
  shell: |
echo "{{ hostname }}" > /etc/hostname

  vars:
hostname: discworld


When I run:
make raspi_3_bookworm.img

The output is:

Exec: ['chroot', '/tmp/tmpz7n89mb7', 'apt-get', 'clean']
Created /tmp/tmpvcwo8eje for Ansible inventory
Created /tmp/tmp3achsgue.yaml for Ansible variables
Exec: ['ansible-playbook', '-c', 'chroot', '-i', '/tmp/tmpvcwo8eje', '--tags', 
'all', '-e', '@/tmp/tmp3achsgue.yaml', 'ansible/image.yaml']
ERROR: Program failed: 1
ERROR: RuncmdError('Program failed: 1')
Something went wrong, cleaning up!
Removing /tmp/tmp3achsgue.yaml
Removing /tmp/tmpvcwo8eje
Exec: ['zerofree', '-v', '/dev/mapper/loop0p2']
Exec: ['kpartx', '-dsv', 'raspi_3_bookworm.img']
Exec: ['losetup', '--json', '-l', '/dev/loop0']
Command exited with non-zero status 1

I confirm all the dependencies listed on the remote are installed, also ansible 
is installed...

So what I am doing wrong ??

Thanks in advance

Stefano



Re: Debian12 with nginx and php-fpm

2024-07-11 Thread Stefano Prina

Ciao Michael,


simply the old-style /etc/init.d "start" that you show in your
post did not suffice.

I do note that you seem to have a mix of TCP ports here; both 80, 8080
(in the requested URL) and 8090 (in the podman invocation).


After your email, I double checked and I reported wrongly the port on 
the browser url.. of course there were no others containers running a 
the host


Anyway I tested the procedure using

* a vm as you did, and I confirm it is working... starting the services 
using systemd simply works.


* a vm, stopping the services using the systemd and restarting them 
using init.d and it works.


* docker running on a debian host, starting the services using init.d 
and it works.


* podman running on a debian host, starting the services using init.d 
and it works.


So case close... because the first try was running on a different 
distribution, confining all the check to debian do not reproduce the issue.


Thanks for your feedback

Stefano


Debian12 with nginx and php-fpm

2024-07-06 Thread Stefano Prina

Hello All,

I am Stefano from Torino, Italy;  I am just new to this  list, nice to 
virtually meet all of you : )


I am writing to you because I need support for a strange issue I' am facing.

I am trying to create a debian container to run some php app for a side 
project, the idea is to use nginx and php-fpm,


the procedure I am using is :

[host] $ podman run -ti -p 8090:80 debian:12-slim

[container]$apt update && apt install vim nginx php-fpm

edit`/etc/nginx/sites-enabled/default` de-commenting the php part

   # pass PHP scripts to FastCGI server
   #
   location ~ \.php$ {
   include snippets/fastcgi-php.conf;

   # With php-fpm (or other unix sockets):
   fastcgi_pass unix:/var/run/php/php8.2-fpm.sock;
   # With php-cgi (or other tcp sockets):
   #fastcgi_pass 127.0.0.1:9000;
   }

[container]$/etc/init.d/nginx start
[container]$ /etc/init.d/php8.2-fpm start

edit`/var/www/html/info.php using the content:`

   

connectinghttp://localhost:8080 I get the default nginx page

connectinghttp://localhost:8080/info.php I got Access denied.

and the logs report :

[container]$ tail -n 2 /var/log/nginx/error.log
2024/07/06 13:19:45 [error] 7365#7365: *1 FastCGI sent in stderr: "PHP 
message: PHP Warning:  PHP Request Startup: Failed to open stream: 
Permission denied in Unknown on line 0; Unable to open primary script: 
/var/www/html/info.php (Permission denied)" while reading resp
onse header from upstream, client: 127.0.0.1, server: _, request: "GET 
/info.php HTTP/1.1", upstream: 
"fastcgi://unix:/var/run/php/php8.2-fpm.sock:", host: "localhost:8090"
2024/07/06 13:19:45 [error] 7365#7365: *1 FastCGI sent in stderr: "PHP 
message: PHP Warning:  PHP Request Startup: Failed to open stream: 
Permission denied in Unknown on line 0; Unable to open primary script: 
/var/www/html/info.php (Permission denied)" while reading resp
onse header from upstream, client: 127.0.0.1, server: _, request: "GET 
/info.php HTTP/1.1", upstream: 
"fastcgi://unix:/var/run/php/php8.2-fpm.sock:", host: "localhost:8090"


It is strange because I the file /var/www/html/info.php exists and have 
to much open permission 0:)


[container]$ls -l /var/www/html/info.php
-rwxrwxrwx 1 root root 20 Jul  6 13:03 /var/www/html/info.php

the socket /var/run/php/php8.2-fpm.sock exist and it seems ok:

[container]$ls -l /var/run/php/php8.2-fpm.sock
srw-rw 1 www-data www-data 0 Jul  6 13:14 /var/run/php/php8.2-fpm.sock

all the workers seem running using the right user:

[container]$ps -aux
USER   PID %CPU %MEM    VSZ   RSS TTY  STAT START   TIME COMMAND
root 1  0.0  0.0   4188  3216 pts/0    Ss   12:58   0:00 bash
root  7255  0.0  0.0 201548  8448 ?    Ss   13:14   0:00 
php-fpm: master process (/etc/php/8.2/fpm/php-fpm.conf)
www-data  7256  0.0  0.0 201548 10792 ?    S    13:14   0:00 
php-fpm: pool www
www-data  7257  0.0  0.0 201548 10664 ?    S    13:14   0:00 
php-fpm: pool www
root  7364  0.0  0.0  10336  1512 ?    Ss   13:19   0:00 nginx: 
master process /usr/sbin/nginx
www-data  7365  0.0  0.0  10960  4104 ?    S    13:19   0:00 nginx: 
worker process
www-data  7366  0.0  0.0  10960  4244 ?    S    13:19   0:00 nginx: 
worker process
www-data  7367  0.0  0.0  10688  2684 ?    S    13:19   0:00 nginx: 
worker process
www-data  7368  0.0  0.0  10688  2684 ?    S    13:19   0:00 nginx: 
worker process
www-data  7369  0.0  0.0  10688  2684 ?    S    13:19   0:00 nginx: 
worker process
www-data  7370  0.0  0.0  10688  2684 ?    S    13:19   0:00 nginx: 
worker process
www-data  7371  0.0  0.0  10688  2684 ?    S    13:19   0:00 nginx: 
worker process
www-data  7372  0.0  0.0  10688  2684 ?    S    13:19   0:00 nginx: 
worker process
www-data  7373  0.0  0.0  10688  2684 ?    S    13:19   0:00 nginx: 
worker process
www-data  7374  0.0  0.0  10688  2684 ?    S    13:19   0:00 nginx: 
worker process
www-data  7375  0.0  0.0  10688  2684 ?    S    13:19   0:00 nginx: 
worker process
www-data  7376  0.0  0.0  10688  2684 ?    S    13:19   0:00 nginx: 
worker process

root  7386  0.0  0.0   8060  4248 pts/0    R+   13:51   0:00 ps -aux

So I have the feeling I am missing something stupid... but what ??

Can you help me ?

Thanks in advance

Stefano






Re: Sunrise and Sunset from terminal

2023-09-24 Thread Stefano
Cool this site..i didn't know it..thanks

Il 24 Settembre 2023 05:00:45 CEST, Greg Wooledge  ha 
scritto:
>On Sun, Sep 24, 2023 at 12:35:18AM +, Andy Smith wrote:
>> $ curl -s 
>> 'https://api.sunrise-sunset.org/json?lat=51.509865&lng=-0.118092&formatted=0'
>>  | jq .
>> {
>>   "results": {
>> "sunrise": "2023-09-24T05:47:54+00:00",
>> "sunset": "2023-09-24T17:57:14+00:00",
>> "solar_noon": "2023-09-24T11:52:34+00:00",
>> "day_length": 43760,
>> "civil_twilight_begin": "2023-09-24T05:16:19+00:00",
>> "civil_twilight_end": "2023-09-24T18:28:49+00:00",
>> "nautical_twilight_begin": "2023-09-24T04:37:02+00:00",
>> "nautical_twilight_end": "2023-09-24T19:08:06+00:00",
>> "astronomical_twilight_begin": "2023-09-24T03:56:14+00:00",
>> "astronomical_twilight_end": "2023-09-24T19:48:54+00:00"
>>   },
>>   "status": "OK"
>> }
>> 
>> The documentation is here:
>> 
>> https://sunrise-sunset.org/api
>
>Yes, that's pretty reasonable.  The times are given in UTC, so they
>must be converted.  Fortunately, GNU date can do that for us.
>
>As a one-liner:
>
>unicorn:~$ curl -s 
>'https://api.sunrise-sunset.org/json?lat=41.4483&lng=-82.1689&formatted=0' | 
>jq -r .results.sunrise,.results.sunset | { read -r sunrise; read -r sunset; 
>date "+Sunrise: %R" -d "$sunrise"; date "+Sunset: %R" -d "$sunset"; }
>Sunrise: 07:16
>Sunset: 19:24
>
>As a script:
>
>#!/bin/sh
>lat=41.4483
>lng=-82.1689
>curl -s "https://api.sunrise-sunset.org/json?lat=$lat&lng=$lng&formatted=0"; |
>  jq -r .results.sunrise,.results.sunset | {
>read -r sunrise
>read -r sunset
>date "+Sunrise: %R" -d "$sunrise"
>date "+Sunset: %R" -d "$sunset"
>  }
>


Re: Intel X540-AT2 and Debian: intermittent connection

2022-11-14 Thread stefano gozzi
Please loot at this:
https://www.linuxquestions.org/questions/linux-networking-3/intel-x540-t2-network-card-installed-but-only-at-100mbit-cant-change-or-improve-4175686736/

It seems that you need a 8x pcie slot to work fine

On Mon, Nov 14, 2022 at 12:25 PM hw  wrote:

>
> Hi,
>
> I have an X540-AT2 network card in my backup server and it worked when I
> was
> running Fedora on the server.
>
> I installed Debian on it and wanted to make backups with rsync, but the
> connection via this network card is now intermittent where it used to be
> stable
> with Fedora.
>
> The link always shows as up.  Every now and then rsync halts and pings
> don't get
> through.  After a while, rsync continues to work and pings also get through
> again.
>
> The interface is directly connected (i. e. without a switch in between) to
> another 10GB network card.
>
> When I make the backups over the "normal" 1GB link through a different
> network
> card (via switch), the 1GB connection is fine.
>
>
> Do I need to do something special to get the X540-AT2 to work?  Is this a
> known
> issue with Debian?  How could I debug this?
>
>


Fwd: Re: SSH timeout logoff don't work!

2022-06-27 Thread Conti Stefano
Loïc Grenié thanks!! Work well! I was trying to do a script exactly
like your script! Thanks and again thanks! 

--- Begin Message ---
Hi,

Le mar. 21 juin 2022 à 10:14, Conti Stefano  a écrit :

> Hello! In My Debian 11 SSH timeout logoff not work! I must put in .bashrc
> of my user: TMOUT=600 to loogut after 10 minutes. Work, of course, but
> close all bash terminal!
>
> This is my sshd_config with info for timeout:
>
> TCPKeepAlive no
> ClientAliveInterval 600
> ClientAliveCountMax 0
>
> Any suggest?
>

 Maybe

if [ "$(ps -o comm $PPID | tail -1)" = sshd ]; then TMOUT=600; fi

   This is not foolproof, but it should work if you do not abuse the system.

  Hope this helps,

 Loïc
--- End Message ---


SSH timeout logoff don't work!

2022-06-21 Thread Conti Stefano
Excuse me but i sure you that i use this practice from many years and
always work in the past. I've a other distro, an "old" Debian 9 and a
Centos 7 with SSH version 7.4p1 and i'm sure work all well because i
put  ClientAliveInterval 15 and after 15 seconds SSH session closed!
 However thanks for your time of course!   


On Tue, Jun 21, 2022 at 10:05:43AM +0200, Conti Stefano wrote:
> Hello! In My Debian 11 SSH timeout logoff not work! I must put in
> .bashrc of my user: TMOUT=600 to loogut after 10 minutes. Work, of
> course, but close all bash terminal!
> 
> This is my sshd_config with info for timeout: 
> 
> TCPKeepAlive no
> ClientAliveInterval 600
> ClientAliveCountMax 0

Those settings *are not* supposed to close an idle ssh session. 
Nothing
in ssh is supposed to close an idle session.  There isn't any facility
to do that, because it's entirely contrary to the design of ssh.

Your TMOUT solution is the standard way to appease the managerial
morons
who are asking this of you.  It asks the shell to terminate if it's
sitting idle for however many seconds you specify.  If the shell
closes,
then the ssh session is free to close as well, assuming there are no
active tunneling connections, etc.


: SSH timeout logoff don't work!

2022-06-21 Thread Conti Stefano
If I put ClientAliveCountMax 1 with ClientAliveInterval 600 timeout is
1200 inmy Debian 11. I have try all combinations but at the moment
nothing happen; session stay alive! There is somethng but i don't
understand what keep alive the session...
--- Begin Message ---


Le mardi 21 juin 2022 à 10:05 +0200, Conti Stefano a écrit :
> Hello! In My Debian 11 SSH timeout logoff not work! I must put in
> .bashrc of my user: TMOUT=600 to loogut after 10 minutes. Work, of
> course, but close all bash terminal!
> 
> This is my sshd_config with info for timeout: 
> 
> TCPKeepAlive no
> ClientAliveInterval 600
> ClientAliveCountMax 0
>  
> Any suggest?

Disclaimer: I am not knowledgeable in ssh/sshd matters

If I am not wrong, from what I understand from sshd_config manpage:
https://manpages.debian.org/bullseye/openssh-server/sshd_config.5.en.html
this behavior is what it is supposed to be: 
DisconnectionDelay=ClientAliveInterval*ClientAliveCountMax
(times expressed in seconds)

ClientAliveCountMax set to 0 disables disconnection and is set by
default to 3.

For example, to have a 10mn disconnection delay, you could set:
- ClientAliveCountMax to 3 (default) and ClientAliveInterval to 200
- ClientAliveCountMax to 1 and ClientAliveInterval to 600
- ClientAliveCountMax to 10 and ClientAliveInterval to 60
...


--- End Message ---


SSH timeout logoff don't work!

2022-06-21 Thread Conti Stefano
Hello! In My Debian 11 SSH timeout logoff not work! I must put in
.bashrc of my user: TMOUT=600 to loogut after 10 minutes. Work, of
course, but close all bash terminal!

This is my sshd_config with info for timeout: 

TCPKeepAlive no
ClientAliveInterval 600
ClientAliveCountMax 0
 
Any suggest?


Re: tomcat8 in debian 10/buster

2021-09-13 Thread stefano gozzi
i would suggest the same thing

On Mon, Sep 13, 2021 at 1:16 PM IL Ka  wrote:

>
>> Does anyone know of a third-party repo which offers a tomcat8 built for
>> debian 10?
>>
>>
> Try docker:
> https://hub.docker.com/_/tomcat?tab=tags&page=1&ordering=last_updated
>
> You can also download Tomcat, unpack it to the /opt/, and run with java.
>
>
>


Re: drag & drop after update to debian 10

2019-07-14 Thread Stefano Pardini
On Sun, Jul 14, 2019 at 07:13:24AM -0400, Carl Fink wrote:
> On 7/14/19 5:54 AM, Stefano Pardini wrote:
> > 
> > 
> > Good morning everyone from Italy, I updated my system from 9 to 10 and I
> > have a problem with drag & drop files, when I try to drag a file into a
> > folder the file is not moved and an error message appears, I would like
> > to know if someone is aware of a bug or has detected the same error, the
> > system has been updated correctly via apt. Have a good day. Stefano.
> > 
> What actual program are you using? Thunar? Caja?
> 
> What desktop environment if any? GNOME? Mate?
> 
> -- 
> Carl Fink   nitpick...@nitpicking.com
> 
> Read my blog at blog.nitpicking.com.  Reviews!  Observations!
> 

Nautilus and Gnome

-- 
Stefano P.  | Debian GNU/Linux 10   
   
| e-mail: s...@blu.it



drag & drop after update to debian 10

2019-07-14 Thread Stefano Pardini


Good morning everyone from Italy, I updated my system from 9 to 10 and I 
have a problem with drag & drop files, when I try to drag a file into a 
folder the file is not moved and an error message appears, I would like 
to know if someone is aware of a bug or has detected the same error, the 
system has been updated correctly via apt. Have a good day. Stefano.




[fwd: call for participation - Debian contributors survey, 1st ed.]

2016-11-07 Thread Stefano Zacchiroli
This was originally posted to debian-devel-announce minutes ago. I'm
forwarding it to debian-user in order to reach out to users who also
contribute to Debian (e.g., with bug reports), but do not follow more
developer-oriented Debian mailing lists.

Cheers.

- Forwarded message from Stefano Zacchiroli  -

TL;DR: all Debian contributors --- from bug reporters to Debian project
members and participants in any Debian team --- are invited to take part
in the first edition of the Debian contributors survey. To participate
visit:

  http://debian.limequery.org/696747

The deadline for participation is: 4 December 2016, at 23:59 UTC.



This is the first instance of what we hope will become a recurring
annual survey of Debian contributors. The survey is intended to help the
Debian project and community by enabling them to understand and document
the evolution of the project's population over time, through the lenses
of common demographics.

In addition, each year the survey will explore a specific aspect of the
project. The focus for this first edition is on work and labour issues,
specifically on the extent to which Debian contributors are volunteers
or paid to work on Debian, and on how that affects their contributions.

Participation in the survey is completely anonymous, with no logging of
any provenance information (e.g., IP address, HTTP referrer), and all
questions are optional.  The survey is conducted using the Free Software
platform LimeSurvey and hosted by LimeSurvey.org.  The results of the
survey will be analyzed as part of ongoing research work by the
organizers and released in aggregate form only. A report discussing the
results will be published under a DFSG-free license and distributed to
the Debian community as soon as it's ready. The raw, disaggregated
answers will not be distributed and will be processed under the
responsibility of the organizers.

The survey will remain open until: 4 December 2016, 23:59 UTC.

If you have any questions, you can always reach the survey organizers
at:

- Mathieu ONeil (mathieu.on...@canberra.edu.au)
- Molly de Blanc (debl...@riseup.net)
- Stefano Zacchiroli (z...@debian.org)

We thank you in advance for your participation!

For the organizers,
- End forwarded message -----

-- 
Stefano Zacchiroli . z...@upsilon.cc . upsilon.cc/zack . . o . . . o . o
Computer Science Professor . CTO Software Heritage . . . . . o . . . o o
Former Debian Project Leader . OSI Board Director  . . . o o o . . . o .
« the first rule of tautology club is the first rule of tautology club »


signature.asc
Description: PGP signature


Re: Updating Kernel

2016-01-06 Thread stefano gozzi
Please add backports repository andò then you've got 4.x kernel serie

Il giorno mer 6 gen 2016 09:11 Dwijesh Gajadur  ha
scritto:

> Hello everyone and Happy New Year !
>
> I got a new laptop Dell Inspiron 5559. The laptop has the new 6th
> generation Intel proceesor (Skylake) on it. After installing Debian 8 on it
> I got issues with the display and there was no sound also.
>
> I wanted to update the kernel to version 4.3.3 to see if it solved the
> problem.
>
> Can you please tell me how to update the linux kernel on Debian?
>


Re: apt-get upgrade fails on custom repository

2015-09-03 Thread Stefano Pugnetti
Ok, I figured it out: lines containing md5sums of index files must start
with a blank character.

Stefano



apt-get upgrade fails on custom repository

2015-09-03 Thread Stefano Pugnetti
Hi all!

I subscribed to the list 'cause I could not solve my problem with google
(and all the relevant Debian documentation I could find...).

I have created a local repository for distributing software inside my
local network. I wanted to secure the process, so I opted for a
hierarchical structure (dists/my-dist/my-component/binary-my-arch), a
dists/Release file and its gpg dists/Release.gpg signature.

On the client side I added a .list file to /etc/apt/sources.list.d/ with
just one line:
deb uri-of-my-repo my-dist my-component

When I launch `sudo apt-get upgrade`, the Release and Release.gpg files
are correctly downloaded into /var/lib/apt/lists/, but I get an error
"Unable to find expected entry my-component/binary-my-arch/Packages in
Release file" (my-dist, my-component and my-arch are not the actual
names; actual names are lowercase, only letters).

However the Release file does contain a line with the md5sum of the
Packages file, its length in bytes and its name (including path:
my-component/binary-my-arch/Packages). Moreover the Package file can be
downloaded from the repository (I tried with wget on the client). If I
manually copy the Packages file in /var/lib/apt/lists/ (with a name that
includes its path, like other files in that dir), everything works fine.

I don't understand what is the point. Any idea?

Thanks,

Stefano



Re: getent passwd doesn't show ldap user

2012-04-25 Thread stefano malini

Per, it runs. yes, i forgot to put it. thanks.
now it the samba round! maybe i'll wrote you again!

thank you very much.

On 04/23/2012 10:36 PM, Per Carlson wrote:

Hi Stefano


nslcd: [8b4567] DEBUG: myldap_search(base="dc=amahoro,dc=bi", 
filter="(objectClass=posixAccount)")
nslcd: [8b4567] DEBUG: ldap_simple_bind_s(NULL,NULL)
(uri="ldap://localhost:389";)

nslcd: [8b4567] ldap_result() failed: No such object


Looking back at your first post, I now see that you have a very
restrictive ACL with "by * none".

access to *
by dn.base="uid=nslcd_proc,ou=System,dc=amahoro,dc=bi" read
by self write
by * none

With this one in-place you must add back the binddn's in nslcd.conf.
Sorry for misleading you there.

Can you do a ldapsearch with the same parameters as nslcd tries (see
above), but binding with a DN?




--
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/4f9805e2.7000...@gmail.com



Re: getent passwd doesn't show ldap user

2012-04-23 Thread stefano malini

Hi Per.

something is improved! now i can log manually, there was an error, a big 
error, i didn't insert the root as ldif in the directory. Very big error!


Anyway, the problem with getent passwd is still there:

This is the output of nslcd -d typing getent passwd fro another shell:

nslcd: DEBUG: add_uri(ldap://localhost:389)
nslcd: version 0.7.15 starting
nslcd: DEBUG: unlink() of /var/run/nslcd/socket failed (ignored): No 
such file or directory

nslcd: DEBUG: setgroups(0,NULL) done
nslcd: DEBUG: setgid(107) done
nslcd: DEBUG: setuid(105) done
nslcd: accepting connections
nslcd: [8b4567] DEBUG: connection from pid=3478 uid=0 gid=0
nslcd: [8b4567] DEBUG: nslcd_passwd_all()
nslcd: [8b4567] DEBUG: myldap_search(base="dc=amahoro,dc=bi", 
filter="(objectClass=posixAccount)")

nslcd: [8b4567] DEBUG: ldap_initialize(ldap://localhost:389)
nslcd: [8b4567] DEBUG: ldap_set_rebind_proc()
nslcd: [8b4567] DEBUG: ldap_set_option(LDAP_OPT_PROTOCOL_VERSION,3)
nslcd: [8b4567] DEBUG: ldap_set_option(LDAP_OPT_DEREF,0)
nslcd: [8b4567] DEBUG: ldap_set_option(LDAP_OPT_TIMELIMIT,0)
nslcd: [8b4567] DEBUG: ldap_set_option(LDAP_OPT_TIMEOUT,0)
nslcd: [8b4567] DEBUG: ldap_set_option(LDAP_OPT_NETWORK_TIMEOUT,0)
nslcd: [8b4567] DEBUG: ldap_set_option(LDAP_OPT_REFERRALS,LDAP_OPT_ON)
nslcd: [8b4567] DEBUG: ldap_set_option(LDAP_OPT_RESTART,LDAP_OPT_ON)
nslcd: [8b4567] DEBUG: ldap_simple_bind_s(NULL,NULL) 
(uri="ldap://localhost:389";)

nslcd: [8b4567] ldap_result() failed: No such object

Thanks

On 04/23/2012 04:11 PM, Per Carlson wrote:

Hi Stefano.


Did you install nslcd by it self or in companion with libnss-ldapd and
libpam-ldapd?


nslcd has been installed automatically installing libnss-ldapd.


Ok.


This is my /etc/nsswitch.conf:

passwd: files ldap
group:  files ldap
shadow: files ldap


That's fine.


This is unnecessary, nslcd functions fine without a DN.


ok, i removed it


Try stopping the caching daemon ("sudo service nscd stop") and try
again. getent still doesn't resolve?

I'm not 100% sure, but LDAP might bee needed in pam as well.
Installing libpam-ldapd should do that automatically. Look for
"pam_ldap.so" in /etc/pam.d/common-{auth,password,session}


Looks like LDAP can't find the DN in the repository. Can you log in
manually as this user?


Trying your command:
root@amahoro:~# ldapsearch -xW -D
"uid=nslcd_proc,ou=System,dc=amahoro,dc=bi" -H ldapi:///
Enter LDAP Password:
ldap_bind: Invalid credentials (49)


That explains why nslcd didn't succeed binding.


I don't know why but trying with this:

root@amahoro:~# ldapsearch -xW -D "cn=Manager,dc=amahoro,dc=bi"
Enter LDAP Password:
# extended LDIF
#
# LDAPv3
# base  (default) with scope subtree
# filter: (objectclass=*)
# requesting: ALL
#

# search result
search: 2
result: 32 No such object

I don't understand where is wrong.


Are you sure you have a working LDAP-database? Make sure you can
resolve things manually first. When that is working you can continue
working on nslcd.


Do you have a slapd.conf? Have you compiled it from source or
installed as a Debian package?


I installed it as a Debian package:

root@amahoro:~# apt-cache policy slapd

slapd:
  Installed: 2.4.23-7.2
  Candidate: 2.4.23-7.2
  Version table:
  *** 2.4.23-7.2 0
500 http://ftp.us.debian.org/debian/ squeeze/main i386 Packages
100 /var/lib/dpkg/status


In that case the configuration isn't done by slapd.conf. Check out the
documentation: "zless /usr/share/doc/slapd/README.Debian.gz"


What do you think?


This command should give you the suffix and ACL's and some more info
(assuming a HDB database):

server$ sudo ldapsearch -Y EXTERNAL -H ldapi:/// -b "cn=config"
"(objectclass=olchdbconfig)"





--
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/4f95891f.7070...@gmail.com



Re: getent passwd doesn't show ldap user

2012-04-23 Thread stefano malini

Hi Per,

> Try stopping the caching daemon ("sudo service nscd stop") and try
> again. getent still doesn't resolve?

i tried without success

> I'm not 100% sure, but LDAP might bee needed in pam as well.
> Installing libpam-ldapd should do that automatically. Look for
> "pam_ldap.so" in /etc/pam.d/common-{auth,password,session}

i installed it and common-* files are updated automatically but it 
didn't resolve it.


> Are you sure you have a working LDAP-database? Make sure you can
> resolve things manually first. When that is working you can continue
> working on nslcd.

Checking with:

root@amahoro:~# ldapsearch -xW -D "cn=Manager,dc=amahoro,dc=bi"

it shows:

Enter LDAP Password:
# extended LDIF
#
# LDAPv3
# base  (default) with scope subtree
# filter: (objectclass=*)
# requesting: ALL
#

# search result
search: 2
result: 32 No such object

# numResponses: 1

Checking with:

root@amahoro:~# ldapsearch -xW -D "cn=Manager,dc=amahoro,dc=bi" -b "" -s 
base


it shows:

Enter LDAP Password:
# extended LDIF
#
# LDAPv3
# base <> with scope baseObject
# filter: (objectclass=*)
# requesting: ALL
#

#
dn:
objectClass: top
objectClass: OpenLDAProotDSE

# search result
search: 2
result: 0 Success

# numResponses: 2
# numEntries: 1

Why these differences only adding the DN for the search and adding the 
specified entry am looking for?


> In that case the configuration isn't done by slapd.conf. Check out the
> documentation: "zless /usr/share/doc/slapd/README.Debian.gz

I know. In this case i deleted slapd.d folder and i created a new file 
slapd.conf and i specified it in /etc/default/slapd


> This command should give you the suffix and ACL's and some more info
> (assuming a HDB database):

ldapsearch -Y EXTERNAL -H ldapi:/// -b "cn=config" 
"(objectclass=olchdbconfig)"

SASL/EXTERNAL authentication started
SASL username: gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth
SASL SSF: 0
# extended LDIF
#
# LDAPv3
# base  with scope subtree
# filter: (objectclass=olchdbconfig)
# requesting: ALL
#

# search result
search: 2
result: 32 No such object

# numResponses: 1

Another strange thing:

ls /var/lib/ldap/
alock   __db.001  __db.003  __db.005  dn2id.bdb log.01
cn.bdb  __db.002  __db.004  __db.006  id2entry.bdb  objectClass.bdb

There is not DB_CONFIG.

How is created it?




On 04/23/2012 04:11 PM, Per Carlson wrote:

Hi Stefano.


Did you install nslcd by it self or in companion with libnss-ldapd and
libpam-ldapd?


nslcd has been installed automatically installing libnss-ldapd.


Ok.


This is my /etc/nsswitch.conf:

passwd: files ldap
group:  files ldap
shadow: files ldap


That's fine.


This is unnecessary, nslcd functions fine without a DN.


ok, i removed it


Try stopping the caching daemon ("sudo service nscd stop") and try
again. getent still doesn't resolve?

I'm not 100% sure, but LDAP might bee needed in pam as well.
Installing libpam-ldapd should do that automatically. Look for
"pam_ldap.so" in /etc/pam.d/common-{auth,password,session}


Looks like LDAP can't find the DN in the repository. Can you log in
manually as this user?


Trying your command:
root@amahoro:~# ldapsearch -xW -D
"uid=nslcd_proc,ou=System,dc=amahoro,dc=bi" -H ldapi:///
Enter LDAP Password:
ldap_bind: Invalid credentials (49)


That explains why nslcd didn't succeed binding.


I don't know why but trying with this:

root@amahoro:~# ldapsearch -xW -D "cn=Manager,dc=amahoro,dc=bi"
Enter LDAP Password:
# extended LDIF
#
# LDAPv3
# base  (default) with scope subtree
# filter: (objectclass=*)
# requesting: ALL
#

# search result
search: 2
result: 32 No such object

I don't understand where is wrong.


Are you sure you have a working LDAP-database? Make sure you can
resolve things manually first. When that is working you can continue
working on nslcd.


Do you have a slapd.conf? Have you compiled it from source or
installed as a Debian package?


I installed it as a Debian package:

root@amahoro:~# apt-cache policy slapd

slapd:
  Installed: 2.4.23-7.2
  Candidate: 2.4.23-7.2
  Version table:
  *** 2.4.23-7.2 0
500 http://ftp.us.debian.org/debian/ squeeze/main i386 Packages
100 /var/lib/dpkg/status


In that case the configuration isn't done by slapd.conf. Check out the
documentation: "zless /usr/share/doc/slapd/README.Debian.gz"


What do you think?


This command should give you the suffix and ACL's and some more info
(assuming a HDB database):

server$ sudo ldapsearch -Y EXTERNAL -H ldapi:/// -b "cn=config"
"(objectclass=olchdbconfig)"





--
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/4f957431.1020...@gmail.com



Re: getent passwd doesn't show ldap user

2012-04-23 Thread stefano malini

Hi Per,

thanks for reply.

> Did you install nslcd by it self or in companion with libnss-ldapd and
> libpam-ldapd?

nslcd has been installed automatically installing libnss-ldapd.

> How does your /etc/nsswitch.conf look like? Here are the relevant
> lines from mine:

This is my /etc/nsswitch.conf:

# /etc/nsswitch.conf
#
# Example configuration of GNU Name Service Switch functionality.
# If you have the `glibc-doc-reference' and `info' packages installed, try:
# `info libc "Name Service Switch"' for information about this file.

passwd: files ldap
group:  files ldap
shadow: files ldap

hosts:  files dns
networks:   files

protocols:  db files
services:   db files
ethers: db files
rpc:db files

> This is unnecessary, nslcd functions fine without a DN.

ok, i removed it

> Looks like LDAP can't find the DN in the repository. Can you log in
> manually as this user?

Trying your command:
root@amahoro:~# ldapsearch -xW -D 
"uid=nslcd_proc,ou=System,dc=amahoro,dc=bi" -H ldapi:///

Enter LDAP Password:
ldap_bind: Invalid credentials (49)

I don't know why but trying with this:

root@amahoro:~# ldapsearch -xW -D "cn=Manager,dc=amahoro,dc=bi"
Enter LDAP Password:
# extended LDIF
#
# LDAPv3
# base  (default) with scope subtree
# filter: (objectclass=*)
# requesting: ALL
#

# search result
search: 2
result: 32 No such object

I don't understand where is wrong.

> Do you have a slapd.conf? Have you compiled it from source or
> installed as a Debian package?

I installed it as a Debian package:

root@amahoro:~# apt-cache policy slapd
slapd:
  Installed: 2.4.23-7.2
  Candidate: 2.4.23-7.2
  Version table:
 *** 2.4.23-7.2 0
500 http://ftp.us.debian.org/debian/ squeeze/main i386 Packages
100 /var/lib/dpkg/status

What do you think?






On 04/23/2012 02:44 PM, Per Carlson wrote:

Hi Stefano.


installed openldap and configured nslcd.conf and nsswitch.conf on debian
squeeze server.


Did you install nslcd by it self or in companion with libnss-ldapd and
libpam-ldapd?

How does your /etc/nsswitch.conf look like? Here are the relevant
lines from mine:

passwd: files ldap
group:  files ldap
shadow: files ldap

You need libnss-ldapd for the "ldap" rule in the lines above.


At the moment getent passwd doesn't show ldap user.
I create a user nslcd_proc for nslcd lookups.
this user belong to the System organizationalUnit.


This is unnecessary, nslcd functions fine without a DN.


nslcd: [8b4567] DEBUG:
ldap_simple_bind_s("uid=nslcd_proc,ou=System,dc=amahoro,dc=bi","***")
(uri="ldap://localhost:389";)
nslcd: [8b4567] ldap_result() failed: No such object


Looks like LDAP can't find the DN in the repository. Can you log in
manually as this user?

server$ ldapsearch -xW -D "uid=nslcd_proc,ou=System,dc=amahoro,dc=bi"
-H ldapi:///


slapd.conf


Do you have a slapd.conf? Have you compiled it from source or
installed as a Debian package?

server$ apt-cache policy slapd

I've got:

slapd:
   Installed: 2.4.23-7.2
   Candidate: 2.4.23-7.2
   Version table:
  *** 2.4.23-7.2 0
 700 http://ftp.no.debian.org/debian/ squeeze/main amd64 Packages
 100 /var/lib/dpkg/status


AFAIK the openldap server (binary package is called slapd in Debian)
packaged no longer use that file. Instead the config is stored in a
LDAP repository (/etc/ldap/slapd.d) and modified by using LDIF-files.




--
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/4f955955.1090...@gmail.com



getent passwd doesn't show ldap user

2012-04-23 Thread stefano malini

hi,
installed openldap and configured nslcd.conf and nsswitch.conf on debian 
squeeze server.

At the moment getent passwd doesn't show ldap user.
I create a user nslcd_proc for nslcd lookups.
this user belong to the System organizationalUnit.

You can see some checks.

FIRST SHELL
nslcd -d
nslcd: DEBUG: add_uri(ldap://localhost:389)
nslcd: version 0.7.15 starting
nslcd: DEBUG: unlink() of /var/run/nslcd/socket failed (ignored): No 
such file or directory

nslcd: DEBUG: setgroups(0,NULL) done
nslcd: DEBUG: setgid(107) done
nslcd: DEBUG: setuid(105) done
nslcd: accepting connections

SECOND SHELL: getent passwd-->shows only local users

FIRST SHELL shows:

nslcd: [8b4567] DEBUG: connection from pid=2055 uid=0 gid=0
nslcd: [8b4567] DEBUG: nslcd_passwd_all()
nslcd: [8b4567] DEBUG: myldap_search(base="dc=amahoro,dc=bi", 
filter="(objectClass=posixAccount)")

nslcd: [8b4567] DEBUG: ldap_initialize(ldap://localhost:389)
nslcd: [8b4567] DEBUG: ldap_set_rebind_proc()
nslcd: [8b4567] DEBUG: ldap_set_option(LDAP_OPT_PROTOCOL_VERSION,3)
nslcd: [8b4567] DEBUG: ldap_set_option(LDAP_OPT_DEREF,0)
nslcd: [8b4567] DEBUG: ldap_set_option(LDAP_OPT_TIMELIMIT,0)
nslcd: [8b4567] DEBUG: ldap_set_option(LDAP_OPT_TIMEOUT,0)
nslcd: [8b4567] DEBUG: ldap_set_option(LDAP_OPT_NETWORK_TIMEOUT,0)
nslcd: [8b4567] DEBUG: ldap_set_option(LDAP_OPT_REFERRALS,LDAP_OPT_ON)
nslcd: [8b4567] DEBUG: ldap_set_option(LDAP_OPT_RESTART,LDAP_OPT_ON)
nslcd: [8b4567] DEBUG: 
ldap_simple_bind_s("uid=nslcd_proc,ou=System,dc=amahoro,dc=bi","***") 
(uri="ldap://localhost:389";)

nslcd: [8b4567] ldap_result() failed: No such object

These are the permissions of nslcd files and folder

ls -ld /etc/nslcd.conf /var/run/nslcd/ /var/run/nslcd/*
-rw-r- 1 root  nslcd  635 Apr 21 11:54 /etc/nslcd.conf
drwxr-xr-x 2 nslcd nslcd 4096 Apr 21 11:55 /var/run/nslcd/
-rw-r--r-- 1 root  root 5 Apr 21 11:55 /var/run/nslcd/nslcd.pid
srw-rw-rw- 1 root  root 0 Apr 21 11:55 /var/run/nslcd/socket

Opening /var/run/nslcd/socket it shows:
Error reading /var/run/nslcd/socket: No such device or address


Follow nslcd.conf and slapd.conf.

__
# /etc/nslcd.conf
# nslcd configuration file. See nslcd.conf(5)
# for details.

# The user and group nslcd should run as.
uid nslcd
gid nslcd

# The location at which the LDAP server(s) should be reachable.
uri ldap://localhost:389

# The search base that will be used for all queries.
base dc=amahoro,dc=bi

# The LDAP protocol version to use.
#ldap_version 3

# The DN to bind with for normal lookups.
binddn uid=nslcd_proc,ou=System,dc=amahoro,dc=bi
bindpw *

# The DN used for password modifications by root.
#rootpwmoddn cn=admin,dc=example,dc=com

# SSL options
#ssl off
#tls_reqcert never

# The search scope.
#scope sub
___
slapd.conf


slapd.conf
#Basics
include /etc/ldap/schema/core.schema
include /etc/ldap/schema/cosine.schema
include /etc/ldap/schema/inetorgperson.schema
include /etc/ldap/schema/nis.schema

pidfile /var/run/slapd/slapd.pid
argsfile/var/run/slapd/slapd.args
logleveltrace
modulepath  /usr/lib/ldap
moduleload  back_hdb

#Database Configuration
backend hdb
databasehdb
suffix  "dc=amahoro,dc=bi"
rootdn  "cn=Manager,dc=amahoro,dc=bi"
rootpw  {SSHA}zH2A+jeSlbl2/UcAXm596KPV4IB/R6x9
directory   /var/lib/ldap
index   objectClass,cn  eq

#ACLs
access to attrs=userPassword
by anonymous auth
by self write
by * none

access to *
by dn.base="uid=nslcd_proc,ou=System,dc=amahoro,dc=bi" read
by self write
by * none

Please, do you have some ideas?

thanks


--
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/4f952d3c.2030...@gmail.com



User defaul profile

2012-04-12 Thread stefano malini

Hi,

i installed an ldap server on debian squeeze.
i'll add the users and i want that everyone will login on the server 
will have iceweasel, ooffice and some shared folders. do i have to 
modify /etc/skel/ on te server? and how?


thanks


--
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/4f86e306@gmail.com



Authentication problem using ldap credentials

2012-04-06 Thread stefano malini

Hi,

i've problems trying login from my client ubuntu 10.10 using ldap user 
credential. ldap server is debian squeeze.
i can enter using the local user of my computer and i can login from a 
shell using ldap user credential.


this is the output of auth.log:

Apr  4 15:50:51 dello gdm-session-worker[3414]: 
pam_succeed_if(gdm:auth): error retrieving information about user nslcd_proc
Apr  4 15:51:04 dello pkexec[3421]: gdm: The value for the SHELL 
variable was not found the /etc/shells file [USER=root] [TTY=unknown] 
[CWD=/] [COMMAND=/usr/sbin/gnome-power-backlight-helper --set-brightness 15]
Apr  4 15:51:17 dello gdm-session-worker[3414]: pam_unix(gdm:auth): 
check pass; user unknown
Apr  4 15:51:17 dello gdm-session-worker[3414]: pam_unix(gdm:auth): 
authentication failure; logname= uid=0 euid=0 tty=:0 ruser= rhost=
Apr  4 15:51:17 dello pkexec[3423]: gdm: The value for the SHELL 
variable was not found the /etc/shells file [USER=root] [TTY=unknown] 
[CWD=/] [COMMAND=/usr/sbin/gnome-power-backlight-helper --set-brightness 15]
Apr  4 15:51:42 dello pkexec[3429]: gdm: The value for the SHELL 
variable was not found the /etc/shells file [USER=root] [TTY=unknown] 
[CWD=/] [COMMAND=/usr/sbin/gnome-power-backlight-helper --set-brightness 15]


What is the problem?





question/answer website for user support: shapado.debian.net

2010-10-03 Thread Stefano Zacchiroli
Dear followers of the -user mailing list,
  you might be interesting in knowing that since yesterday there's a new
Debian experiment ongoing in the area of user support:

  http://shapado.debian.net/

which is a multi-language question/answer website where participants can
ask questions, answer questions, and rank answers given by others.  I'm
not a regular participant of this list, but the website might be a nice
complement for those who prefer (either temporarily or on a regular
basis) a web-based medium.  More information have appeared on -project
[1] and Planet Debian [2].

Now that I think of it, there might even be room for some synergies
among this (and similar) list(s) and shapado.debian.net; for instance,
regulars of this list might consider having posted to this list new
questions appearing on the question RSS feed [3]. This is just the idea,
as the actual details of similar syncs are always a bit delicate ...

Keep in mind however that for the moment all this is just an experiment,
the success of it will depend on community participation. See you there?

Cheers.

PS I'm not subscribed, so please Cc:-me on followups if you want your
   message to reach me.

[1] http://lists.debian.org/debian-project/2010/10/msg9.html
[2] 
http://upsilon.cc/~zack/blog/posts/2010/10/Question_and_Answer_support_for_Debian_users/
[3] 
http://shapado.debian.net/questions.atom?feed_token=4451756b93764d08af84009e7f3c628f

-- 
Stefano Zacchiroli -o- PhD in Computer Science \ PostDoc @ Univ. Paris 7
z...@{upsilon.cc,pps.jussieu.fr,debian.org} -<>- http://upsilon.cc/zack/
Quando anche i santi ti voltano le spalle, |  .  |. I've fans everywhere
ti resta John Fante -- V. Caposella ...| ..: |.. -- C. Adams


signature.asc
Description: Digital signature


Re: Debian on SGI 02

2010-06-09 Thread Stefano Rivera
Hi Brennan (2010.06.09_18:38:29_+0200)
> Has anyone had any prior experience with these machines who could
> verify this or give me any advice?

Yes, I installed Debian on one a few months ago. Follow the netinstall
instructions out there.

Lenny should run on it, but there is a problem with the bootloader in
squeeze. Haven't looked into that yet. You can upgrade to squeeze but
can't reboot afterwards.

SR

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  H: +27 21 465 6908 C: +27 72 419 8559  UCT: x3127


-- 
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/20100609170343.gc...@bach



Re: is firewire broken in Debain?

2010-05-29 Thread Stefano Rivera
Hi H.S. (2010.05.29_03:37:19_+0200)
> In today's Debian Testing, is there anyone here who has successfully
> grabbed dv video from a MiniDV camcorder at all using the newer
> firewire stack?

Yes. I have had some trouble with it (dvgrab refusing to find the
camera), but I blamed that on the camera. Unplugging and re-plugging in
the firewire cable tended to do the trick.

There was a point when I couldn't get dvgrab to work, but it worked
every time when I ran it under strace, so there could be timing issues.

Unfortunately, I can only give these anecdotes and can't really help
you, the DV camera was stolen last week and I don't think I'll get
another one.

SR

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  H: +27 21 465 6908 C: +27 72 419 8559  UCT: x3127


-- 
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/20100529094704.gh24...@bach



Re: [OT] Need old Packages.gz and Release Files

2008-04-25 Thread Stefano Zacchiroli
On Thu, Apr 03, 2008 at 03:35:57PM +0200, Michelle Konzack wrote:
> I have had an accident on my Debian-Archiv-Server and  unfortunatly  the
> files "Packages.gz",  "Packages.bz2",  "Sources.gz",  "Sources.bz2"  and
> "Release" from the directories

Neat project. I'm jumping into it with a question which unfortunately is
not solving your problem.

You are asking generically Packages without specifying a mirror. Are
they granted to be identically replicated among all mirrors?  Of course
they *probably* are due to how mirroring works, but is it *granted* that
there are no differences among mirrors?

Would such difference inhibit proper installation due to the apt-secure
stuff?

Cheers.

-- 
Stefano Zacchiroli -*- PhD in Computer Science ... now what?
[EMAIL PROTECTED],cs.unibo.it,debian.org}  -<%>-  http://upsilon.cc/zack/
(15:56:48)  Zack: e la demo dema ?/\All one has to do is hit the
(15:57:15)  Bac: no, la demo scema\/right keys at the right time


signature.asc
Description: Digital signature


CVS: how to restore a deleted directory

2008-02-07 Thread Stefano Sabatini
Hi all,

if I am in a directory managed by CVS and I do:

rm FILE
then cvs up will download the file.

But if I do instead:
rm -rf DIR
cvs up

won't download again the removed directory.

Same problem seems to occurr when in a new CVS version new dir are
added, cvs up doesn't seem to downlad them.

How can I tell cvs to download again a removed dir?

What am I missing?

Mnay thanks, regards.
-- 
Stefano Sabatini
Linux user number 337176 (see http://counter.li.org)


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



Re: CVS: how to restore a deleted directory

2008-02-07 Thread Stefano Sabatini
On date Thursday 2008-02-07 10:31:40 +0100, Stefano Sabatini wrote:
> Hi all,
> 
> if I am in a directory managed by CVS and I do:
> 
> rm FILE
> then cvs up will download the file.
> 
> But if I do instead:
> rm -rf DIR
> cvs up
> 
> won't download again the removed directory.
> 
> Same problem seems to occurr when in a new CVS version new dir are
> added, cvs up doesn't seem to downlad them.
> 
> How can I tell cvs to download again a removed dir?
> 
> What am I missing?

Reply to self: -d

cvs up -d 

does the trick.

Regards.
-- 
Stefano Sabatini
Linux user number 337176 (see http://counter.li.org)


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



Spam management and sa-learn

2008-01-04 Thread Stefano Sabatini
Hi all Debian users,

I have this setup for mail:

exim4 as MTA, fetchmail to fetch mails from different pop3 servers
which delivers mails to procmail and procmail calls spamc and finally
I'm using mutt as my mail reader.

I'm used to recollect spam messages in an archive named
~/Mail/archive/recent/spam, which contains *all* the spam messages
collected in the last 6 months (weekly refreshed by an anacron script).

In order to train spamassassin I also run weekly this anacron script:

#! /bin/bash

MAILROOT=$HOME/Mail

# maildir inboxes
# learn what is ham
sa-learn --ham $MAILROOT/archive/recent/generic/*

#learn what is spam
sa-learn --spam $MAILROOT/archive/recent/spam/*

both ~/archive/recent/spam and ~/archive/recent/generic are maildir
mailbox (this is the reason I use the * to match cur, new and tmp).

The problem with this setup is that I continue to get a *large* number
of spam messages in my generic inbox (which contains no mailing-list
mails), in the order of more then 50 messages per day, and I'm getting
tired to manually filter it, while most of spam messages (200+) are
directly addressed in the ~/inbox/probably-spam directory.

So my question is: what's wrong with this setup, in particular can you
suggest how to improve the spamassassing training?

Also I would like to avoid to encapsulate messages detected as spam as
it currently spamc does encapsulating in a message starting like this:

"Spam detection software, running on the system "santefisi.caos.org", has
identified this incoming email as possible spam.  The original message
has been attached to this so you can view it (if it isn't spam) or label
similar future email.  If you have any questions, see
the administrator of that system for details."

Can you suggest which option I have to switch off?

Also I ask if such messages are correctly classified when the sa-learn
is run against them (maybe *this* the problem).

Also have you suggestions for how to improve this spam management
system for this one-user system?

Many thanks, regards and and an happy debianish new year.
-- 
Stefano Sabatini
Linux user number 337176 (see http://counter.li.org)


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



Re: Bluetooth from command line

2007-12-18 Thread Stefano Sabatini
On date Friday 2007-11-30 18:14:53 +0100, Andrea Ganduglia wrote:
> Please, help me! I have read much much about bluetooth protocol and
> Debian, but from begin to now I cannot transfert my files from my PC
> to my cell phone without grafical interface (gnome-bluetooth and
> similar).
> 
> It's frustrating!
> 
> Now, I want and easy text-based way to trasfert one file PC->phone. I
> think `obex' family is the  right way, but despite
> /etc/bluetooth/hcid.conf said NO, cell phone ask me a password (PIN),
> isset on 1234, but it said it's wrong!
> 
> With grafical interface phone ask if I want receive file and then
> trasfert start without
> problems! Why?

Hi,

I had a similiar issue recently using obexftp and a Motorola V535. The
problem turned out to be that I needed a passkey manager running
during the authentication phase.

The very ugly solution I contrived consisted into compiling the source
of the passkey-agent included in /usr/share/doc/bluez-utils/examples,
then running it like:
passkey-agent 1234 

the phone should accept in this case the bluetooth passkey, then test
it with:
obexftp -b  -l

Documentation is very scarce and the various guides/tutorial I checked
are rather inconsistent, so I think there is a better solution, maybe
someone can enlighten us about the use of the passkey-agent (and where
to find an already compiled version).

HTH, regards.
-- 
Stefano Sabatini
Linux user number 337176 (see http://counter.li.org)


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



Re: ffmpeg encoding issues & AAC

2007-12-17 Thread Stefano Sabatini
On date Wednesday 2007-11-21 19:59:10 -0800, David Fox wrote:
> Guys,
> 
> I do quite a bit of video encoding / audio encoding in debian lenny,
> and oftentimes I use tovid (tovid.sourceforge.net) to do the encoding,
> usually with good results.
> 
> But recently I have had a problem with ffmpeg when I attempt to encode
> what looks like a 5.1 channel aac file that's part of an mp4 video, it
> tells me that it can't do the encode, that encoding more than 2
> channels is not supported. The upshot is that I may have to find
> another tool to extract the audio portion of the mp4 file, and then
> downmix it to two channels, then resample to ac3 dvd standard audio
> format.

You told it, ffmpeg can't still downmix (but that is a requested
feature, many related patches laying aroung ffmpeg-devel), so you have
to do it manually (for example using faad --downmix).

Check also the Gmane archive of ffmpeg-user where I recently discussed
that issue.

[...]

HTH, regards.
-- 
Stefano Sabatini
Linux user number 337176 (see http://counter.li.org)


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



Re: Convert .OGG to .MPEG or .SWF

2007-11-14 Thread Stefano Sabatini
On date Tuesday 2007-11-13 15:32:19 -0600, Alejandro Aguila Sáinz wrote:
> That worked for .mpg :) but any idea to convert to .avi or .swf? Thanks!
[...]

Please don't top post.

First you have to understand that Mpeg really means many different
things, it may refer both to some standard that defines many
multimedia *containers formats* (Mpeg-1, Mpeg-2:PS, Mpeg-2:TS,
Mpeg-4:14) or many *media stream formats* (Mpeg-1:video, Mpeg-2:video,
Mpeg-4:2, Mpeg-4:10 aka AVC aka H264).

Avi is a *container*, so you can put into it many different media
streams, but not necessarily all (in this rgards the Ogg file format
is far more restrictive). 

ffmpeg is clever enough to figure out which multimedia formats to use
when you only specify the extension of the output file (e.g. .avi ->
use as container avi+mpeg1:video+MP2, .mpg-> use as container Mpeg
1+mpeg1:video + MP2) but you can specify the codec to use and the
corresponding format to issue using the -acodec and -vcodec options
(have a look at ffmpeg -formats).

Example:
 
ffmpeg -i  -vcodec mpeg4 -acodec libmp3lame output.avi

For other examples (for example to get a FLV/SWF file) look at the
FFmpeg documentation FAQ.

HTH, regards.
-- 
Stefano Sabatini
Linux user number 337176 (see http://counter.li.org)


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



Re: Convert .OGG to .MPEG or .SWF

2007-11-13 Thread Stefano Sabatini
On date Monday 2007-11-12 22:45:54 -0600, Alejandro Aguila Sáinz wrote:
> Hi, I'm trying to convert a .OGG formated video that I've created using
> gtk-recordmydesktop , the only way I found in google was using ffmpeg, but
> it not working, when I put ' ffmpeg -i myvideo.ogg myvideo.mpeg ' I got
> this:
> 
> FFmpeg version SVN-rUNKNOWN, Copyright (c) 2000-2007 Fabrice Bellard, et al.
>   configuration: --enable-gpl --enable-pp --enable-swscaler
> --enable-pthreads --enable-libvorbis --enable-libtheora --enable-libogg
> --enable-liba52 --enable-libdts --enable-libgsm --enable-dc1394
> --disable-debug --enable-shared --prefix=/usr
>   libavutil version: 1d.49.3.0
>   libavcodec version: 1d.51.38.0
>   libavformat version: 1d.51.10.0
>   built on Jun 23 2007 14:31:53, gcc: 4.1.3 20070601 (prerelease) (Debian
> 4.1.2-12)
> [theora @ 0xb7e36b48]Theora bitstream version 30201
> [theora @ 0xb7e36b48]544 bits left in packet 81
> [theora @ 0xb7e36b48]7 bits left in packet 82
> Input #0, ogg, from 'gigared.ogg':
>   Duration: 00:01:58.8, start: 2.13, bitrate: 495 kb/s
>   Stream #0.0: Video: theora, yuv420p, 1024x768, 15.00 fps(r)
>   Stream #0.1: Audio: vorbis, 22050 Hz, mono, 89 kb/s
> Output #0, mpeg, to 'gigared.mpg':
>   Stream #0.0: Video: mpeg1video, yuv420p, 1024x768, q=2-31, 200 kb/s,
> 15.00fps(c)
>   Stream #0.1: Audio: mp2, 22050 Hz, mono, 64 kb/s
> Stream mapping:
>   Stream #0.0 -> #0.0
>   Stream #0.1 -> #0.1
> [mpeg1video @ 0xb7e36b48]MPEG1/2 does not support 15/1 fps
> Error while opening codec for output stream #0.0 - maybe incorrect
> parameters such as bit_rate, rate, width or height

It's using the same framerate input, -r 15 isn't supported by the
Mpeg-1:video standard. Try with -r 24, 25, 29.7 or 30 or 60 instead.

> If someone can help me will be great, thanks!

HTH, regards.
-- 
Stefano Sabatini
Linux user number 337176 (see http://counter.li.org)


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



Re: linux/config.h missing from linux-libc-dev

2007-11-12 Thread Stefano Sabatini
On date Sunday 2007-11-11 19:25:36 +0100, Sven Joachim wrote:
> Stefano Sabatini <[EMAIL PROTECTED]> writes:
> 
> > I'm on a Debian Lenny with a linux-2.6.22 kernel and the
> > linux-libc-dev 2.6.22-4 version.
> >
> > linux-libc-dev is replacing the old package linux-kernel-headers which
> > seems to be deprecated.
> 
> Correct.
> 
> > The problem is that I'm trying to compile the spca5xx module from
> > source, and it fails compiling because of the missing linux/config.h
> > file.
> 
> Please complain to whoever wrote that module that linux/config.h is a
> deprecated file which no longer exists in current kernel headers.
> 
> > Do you have any hint about the status of the linux/config.h file, and
> > about a possible fix to this problem?
> 
> It was removed upstream in Linux 2.6.19, I remember because I wanted
> to build another module that depended on it.  If you need it, here are
> its contents:
> 
> --8->--
> #ifndef _LINUX_CONFIG_H
> #define _LINUX_CONFIG_H
> /* This file is no longer in use and kept only for backward compatibility.
>  * autoconf.h is now included via -imacros on the commandline
>  */
> #include 
> 
> #endif
> ---8->-
> 
> Save that file under /usr/include/linux/config.h and hope that the
> module compiles.

Thank you, it fixed the problem (I simply substitute the include
directive in the spca5xx.c file).

Now I'm going to report the problem.

Best regards.
-- 
Stefano Sabatini
Linux user number 337176 (see http://counter.li.org)


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



linux/config.h missing from linux-libc-dev

2007-11-11 Thread Stefano Sabatini
Hi all,

I'm on a Debian Lenny with a linux-2.6.22 kernel and the
linux-libc-dev 2.6.22-4 version.

linux-libc-dev is replacing the old package linux-kernel-headers which
seems to be deprecated.

The problem is that I'm trying to compile the spca5xx module from
source, and it fails compiling because of the missing linux/config.h
file.

Do you have any hint about the status of the linux/config.h file, and
about a possible fix to this problem?

Many thanks in advance.

Best regards.
-- 
Stefano Sabatini
Linux user number 337176 (see http://counter.li.org)


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



gparted/hal permission puzzle

2007-09-27 Thread Stefano Sabatini
Hi to all debian users,
this is my first post on this list.

I'm having this problem with gparted (Debian lenny):
I launch it with:
sudo gparted 

then I can see:
[EMAIL PROTECTED] ~> ps -e -o user,uid,euid,cmd | grep g[p]arted
root 0 0 gparted


but I get a window with this message just at gparted startup:

Cannot mount volume.
Error org.freedesktop.Hal.Device.PermissionDeniedByPolicy.
Details ->
ha-storage-fixed-mount refused uid 1000
1000 is the uid of my account.

then I can't perform resize operations on the various partitions.

Any hint?

Thanks in advance.
-- 
Stefano Sabatini
Linux user number 337176 (see http://counter.li.org)


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



Re: ndiswrapper problem (solved)

2007-07-05 Thread Stefano Crema

I noticed there was an upgrade to the ndiswrapper source code and tools
so installed them and m-a'ed a new ndiswrapper module into the kernel.
Voila,  problem solved.

So, to whoever the developer is that is responsible for maintaining
ndiswrapper, Thank you.

You have solved but you didn't explain how you have made it,  and I
know dozens of people that are still knocking the wall with their
heads  because they don't know how to solve it.
You have given no   information on how you have solved .

Stefano


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




Postgresql very slow to start on Etch with LDAP

2007-05-25 Thread Stefano Salvi
I'm configuring a workstation in a network that manages users and groups 
with openLDAP.

I created nearly 60 users in Postgresql.
Now the server takes nearly 2 minutes on startup (/etc/init.d/postgresql 
start) and on stop.

How can shorten this time to a regular amount?
Thank you
   Stefano Salvi


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




RE: names good for marketing

2005-01-05 Thread Stefano Picchiotti


Hi everybody.

I suspect this conversation is more than OT here... I know I have
no right to ask you to suspend it, so let me hope your politeness
will suggest you to stop. 

Bye,
Stefano 

-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.296 / Virus Database: 265.6.8 - Release Date:
03/01/2005
 


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



Re: System clock too fast after kernel upgrade

2004-06-22 Thread Stefano Rivoir
Felix C. Stegerman wrote:
I realise this is probably not Debian-specific,
but I'm hoping someone on this list can help me out anyway.
[...]
It's a known problem, both in early -bk and in -mm1. Either wait for 
-mm2 or look for the right fix, it's been around in the lkml (an abs 
macro that failed on a cast).

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



mutt with nntp support

2004-05-14 Thread Stefano Zacchiroli
[ Please Cc:-me replies, I'm not subscribed ]

I would like to try mutt with nntp support. My trivial attempts to add
the relevant patch to the debian package failed since there are
incompatibilty between some patches.

Has anyone already faced this problem and, better, solved it brillantly?
:)

TIA,
Cheers.

-- 
Stefano Zacchiroli -*- Computer Science PhD student @ Uny Bologna, Italy
[EMAIL PROTECTED],debian.org,bononia.it} -%- http://www.bononia.it/zack/
If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. -!-


signature.asc
Description: Digital signature


Trovato virus nel messaggio "my product"

2004-03-24 Thread Grosset Stefano
Symantec AntiVirus ha trovato un virus in un allegato inviato da
([EMAIL PROTECTED] <[EMAIL PROTECTED]>) a
[EMAIL PROTECTED]

Per garantire che i destinatari possano utilizzare i file inviati, eseguire
una scansione dei virus, ripulire eventuali file infetti e inviare di nuovo
l'allegato.


Allegato:  product.zip
Nome virus: [EMAIL PROTECTED]
Azione intrapresa:  Quarantena riuscito : 
Stato file:  Infetto


<>

Re: [SID] kde3.2.1, konqueror and plugins

2004-03-12 Thread Stefano Pacifico
On Friday 12 March 2004 10:51, Juhan Kundla wrote:
> Ühel ilusal päeval [12-03-2004 11:45] kirjutas Gavrila:
> > Is anyone in the list experiencing problems with plugins with kde3.2.1?
>
> [...]
>
> > Any hint ? Ideas? Experience?
>
> It seems to me, that the konq-plugins package in Sid is still 3.1.5, while
> the rest of KDE is 3.2. This may be the reason for the problems.
>
> http://packages.debian.org/unstable/kde/konq-plugins
>
> Perhaps the newer konq-plugins package will be uploaded soon.

As far as I can remember with experimetal packages 3.2-pre1 all worked fine... 
that's why I'm asking ... however have u got this problem?

> Juhan


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



Re: Wheelmouse

2003-06-23 Thread Stefano
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Alle 19:48, sabato 21 giugno 2003, Piero ha scritto:
> I'm not able to make my wheelmouse work. It's a basic Logitech wheelmouse.
>
> The corresponding lines in my /etc/X11/XF86Config file are:
>
> Section "InputDevice"
>
> # Identifier and driver
>
> Identifier  "Mouse1"
> Driver  "mouse"
> Option "Protocol""PS/2"
> Option "Device"  "/dev/psaux"
> Option "ZAxisMapping" " 4 5"
>Option "Emulate3Buttons"
> EndSection
>
> Anything tu suggest? Thanks

I had the same problem with the same mice. I've tryed a lot of configurations
but problem goes away only when I've upgrade XFree to 4.3 version!
- --==§==--
stefano
(stefanoceci.it)
openyourmindopenyoursource
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE+9q4WbWLalhiEs1QRArMoAJ0WTc6YU9DetvP6JF7xrCP2rZiMXgCffeYP
UbW9ZVk8o05TnAFgzwjA0ME=
=V5iD
-END PGP SIGNATURE-


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



emacs and error message

2003-03-25 Thread Stefano Calza
Hi.

When I start emacs on "testing" I get this message:

No /etc/mailname. Reverting to default

It hangs the starting for few seconds so I'd like to remove it. How can I configure 
emacs 
not to ask for that file?

TIA,
Stefano


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



Re: gtk default font

2003-03-19 Thread Stefano Pacifico
Roman Joost wrote:

On Tue, Mar 18, 2003 at 08:26:39PM +0100, Gavrila wrote:
 

  How can i change default gtk font so to use my true type fonts?
   

What for gtk do you mean - the old one (1.2) or the newer one (2.X) ?

Greetings,

Roman
 

I have installed both, I would say the first one for compatibility 
issues only. The fact is that all gtk apps use that sucking font, I 
can't stand it. But I don't know how to change.

TIA

Gavrila

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



vfat and samba

2002-05-31 Thread Stefano D'Ubaldi
Hello everyone!!
I migrated to debian 2.2r5 from windows98 
preserving the original vfat filesystem ;
then I installed samba 2.0.8 in order to share this
filesystem with
other users in the network for read-write access;
it works fine but whenever the win9x clients  create
with explorer
a new folder in the shared resource,   they receive
a "error trying to create the object-the object
alreay exists" message and the folder is created at
last.
How can I avoid this unpleasant message?? 

Thanks 
Steve

__
Scommetti gratis sui Mondiali con Unibet.com!
http://it.yahoo.com/mail_it/foot/?http://ads.unibet.com/adverts/it/yahoo/


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



secure-mcserv & pam_listfile.so

2002-05-08 Thread Stefano Lodi

I am trying to deny access to the secure-mcserv daemon on a per user
basis through pam_listfile in Debian 3.0 (Woody).  There is a
secure-mcservuser file under /etc/ssocket/ which apparently has been
put there to the purpose.  But it does not seem to be working, e.g.,
if I list user john in /etc/ssocket/secure-mcservuser, john is however
perfectly able to login using pslogin.  Of course,
/etc/pam.d/secure-mcserv refers to /etc/ssocket/secure-mcservusers:

auth   requiredpam_listfile.so item=user sense=deny 
file=/etc/ssocket/secure-mcservusers onerr=succeed

auth   requiredpam_pwdb.so shadow nullok
auth   requiredpam_shells.so
accountrequiredpam_pwdb.so
sessionrequiredpam_pwdb.so

I would be grateful to anyone who could point out
what might be missing.

Many thanks

 Stefano Lodi



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




pam_listfile.so & secure-mcserv

2002-05-07 Thread Stefano Lodi

I am trying to deny access to the secure-mcserv daemon on a per user
basis through pam_listfile in Debian 3.0 (Woody).  There is a
secure-mcservuser file under /etc/ssocket/ which apparently has been
put there to the purpose.  But it does not seem to be working, e.g.,
if I list user john in /etc/ssocket/secure-mcservuser, john is however
perfectly able to login using pslogin.  Of course,
/etc/pam.d/secure-mcserv refers to /etc/ssocket/secure-mcservusers:

auth   requiredpam_listfile.so item=user sense=deny 
file=/etc/ssocket/secure-mcservusers onerr=succeed

auth   requiredpam_pwdb.so shadow nullok
auth   requiredpam_shells.so
accountrequiredpam_pwdb.so
sessionrequiredpam_pwdb.so

I would be grateful to anyone who could point out
what might be missing.

Many thanks

  Stefano Lodi


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




xfree86 4.x & woody

2001-10-24 Thread Stefano

Hi everybody.

I've upgraded my debian potato to woody. BUT many things went wrong. The 
last one, meaning the not already solved one, is that the server X gives me 
this message:


Couldn't load XKB keymap falling back to pre-XKB keymap

and using setxkeymap

couldn't interpret _XKB_RULES_NAMES property
...set the default ...
Segmentation fault

I have to say that I use the Italian keyboard, so the default doesn't work!

Actually I can't use the Alt-Gr key

What can I do?


TIA,

Stefano



Re: debian

2001-09-03 Thread Stefano Canepa<[EMAIL PROTECTED]>
> Hi,
>
> I've a look on you web-page and I'm very interested by
> your version; however, I'd like to install it on a
> laptop Dell latitude C600 with a PentiumIII 500Mhz; so
> I'd like to be informed if:
>
> - a debian version is available for this hardware
> - especially would it possible to install an WXindows
> version with drivers for an extended VGA monitor.

Debian can be installed on your hardware. Before going on with
installation check www.linux-laptop.net and look for your hardware it
could be helpfull to follow advice of somebody who installed Linux on
the same hardware. Please not I wrote "Linux" i.e. becouse it could be
of help also to read the experience of people using RedHat or so.
If you have troubles send e-mail to debian-laptop that is Debian list
focued on laptop.

Regards
Stefano

--
Stefano Canepa <[EMAIL PROTECTED]>
To follow the path: look at the master, follow the master, walk
with the master,
see trough the master, become the master.



Language

2001-05-20 Thread Stefano Canepa
Hi all,
what is the official language of debian-user? I thought it was
english. 

Stefano

-- 
Stefano Canepa e-mail: [EMAIL PROTECTED]
Via Coni Zugna 4/4 - 16164 - Genova 



potato or woody?

2001-05-17 Thread Stefano

Hi all.

I'm going to install debian gnu/linux on a new computer and I'm wondering 
if woody is stable enough. What would you suggest me: potato or woody?


The system is a PC workstation used for statistical analysis and 
"office-like" activity (and a bit of C++ programming too).



TIA,

Stefano


*******

Stefano Calza
Istituto di Statistica Medica e Biometria
Università degli Studi di Milano
Via G. Venezian, 1
20133 Milano

tel. +39 02/2361302, 02/70600908
fax 02/2362930



duplad? help for sharing deb package!

2001-03-08 Thread Stefano Peluchetti
i have build a package for mplayer-0.11.pre24 that i think is in line with 
the debian policy.
I simply can't figure out how to upload it!
do i have to get a user/pswd account?
thanks
Stefano



Re: init dying with NFS root

2001-01-04 Thread Stefano

I noticed the same problem. Linux 2.2.13 works, while 2.2.17 or higher 
does not. I installed 2.2.16 or 2.2.15 (I dont remember), and it works.

Good luck

Stefano Curtarolo


On Wed, 3 Jan 2001, Tim Bell wrote:

> I wrote:
> 
> > I'm trying to set up a Beowulf cluster using NFS root for booting,
> > but I'm not having much success.
> [...]
> > This is all using 2.4.0-prerelease.  (2.2.18 and 2.2.19pre3 both failed
> > before even getting to mounting root -- I'm not sure why yet.)  The
> > kernel is loaded by LILO from an ext2 filesystem on a floppy or hard
> > disk.
> 
> Well, I didn't find out what was causing the problem, but I found that
> booting from a kernel which was dd'd directly onto the floppy (as
> opposed to being loaded by lilo from a filesystem on the floppy) works.
> I was using lilo so I could use the kernel boot options, but I can get
> around that by using bootp instead.
> 
> Now I just need to sort out all the other little problems...
> 
> Tim.
> -- 
> Tim Bell - [EMAIL PROTECTED] - System Administrator & Programmer
> Trinity College, Royal Parade, Parkville, Victoria, 3052, Australia
> 
> 
> --  
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 



Re: Which editor for programming?

2000-11-03 Thread Stefano Calza
Damien wrote:
> 
> > I am not a newbie (using Debian for 3 years now, programming with pico for
> > 5), I prefer clean interfaces, and to remain outside of the jihad of
> > editors.
> 
> pico is clean the same way the microsoft windows interface is clean. reality
> is you've become quite adept in pico, despite its lacking as a text editor.
> rather than invest the energy to learn something more suited to the task
> (programming in pico? argh!) you find it easier to continue with what you
> know.
> 
> which is fair enough, too. a lot of people do it. but i wouldn't call pico
> 'clean'
> 
> ;o)

Well, I've entered the thread right now, but I wonder why nobody talked
about emacs. I think it's simply great for everything. If you have to
learn "one" editor, emacs is the right choice (sounds like a commercial,
doesn't it ;-)

Bye,
Stefano

-- 
***
Stefano Calza
Istituto di Statistica Medica e Biometria
Università degli Studi di Milano
Via G. Venezian, 1
20133 Milano

tel. +39 02/2361302, 02/70600908
fax 02/2362930



strange message

2000-11-02 Thread Stefano Calza
Hi everyboby.

Today my linux box has started sending me this message:
159.xxx.xxx.23 sent an invalid ICMP error to a broadcast
What does it means? How can I get rid of it?
It pops up on then screen every few minuts.

I use a debian 2.2 on a laptop connected to a LAN.

Thanks,
Stefano



PCMCIA Problem

1999-06-08 Thread Stefano D'Ubaldi
Hello everybody,

I installed Debian 2.1 (kernel ver. 2.0.36)on my i386 PC. When I try to
load the PCMCIA base modules I get the message
'modules/lib/modules/2.0.36/pcmcia/i82365.o
 init_module:device or resource busy' and in
/var/log/messages 'kernel build:2.0.36 unknown
  Intel PCIC probe: not found'

How can I get throught it? 
__
DO YOU YAHOO!?
Il tuo indirizzo gratis e per sempre @yahoo.it su http://mail.yahoo.it


Motif headers?

1999-05-07 Thread Stefano Stabilini
Hello world!

I friend of mine wrote a small C program and compiled it for a Silicon
Graphics machine.
He passed me the binaries (useless) and the C source code. I'd like to
run it on my Linux system, but it needs a number of Motif header files
to be compiled. Is there something like a free runtime version of Motif
around? Would Lesstif just do fine? Or have i to purchase it? In that
case: is it worthwhile?

P.S.: i asked for help a few days ago because of my X server getting
frozen anytime. I wish to thank all those who answered: eventually i had
to remove and reinstall all X packets (and dependent ones) to get rid of
the problem: everything's nice now!

T.U.
--
Stefano Stabilini
[EMAIL PROTECTED]

_/ _/_/_/  _/_/_/  _/_/ Lab. Dinamiche e Politiche Urbane
   _/ _/   _/ _/   _/ _/_/  Dip. Scienze del Territorio
  _/ _/   _/ _/_/_/  _/_/   Politecnico di Milano
 _/ _/   _/ _/  _/_/V. Golgi 39 - 20133 Milano
_/_/_/ _/_/_/  _/   _/_/_/  Tel. 23995447 - Fax 23995454

begin:vcard 
n:Stabilini;Stefano
tel;fax:+39 2 23995454
tel;home:+39 2 4079116
tel;work:+39 2 23995447
x-mozilla-html:TRUE
org:Politecnico di Milano;Scienze del Territorio
adr:;;V. Golgi 39;Milano;;20133;Italy
version:2.1
email;internet:[EMAIL PROTECTED]
title:Arch.
fn:Stefano Stabilini
end:vcard


X freezes!

1999-04-29 Thread Stefano Stabilini
I am a brand newbie to Linux.

I followed Debian's slink 2.1 standard installation and used dselect
afterwards to add X server and clients. Linux sits on my first hd in
partitions hda3 (linux) and hda4 (swap), the first two partitions are
Dos16-big and host win 95. I successfully configured LILO so as to
choose starting OS at booting time (that i am quite proud of...).

My problems came with the installation of the X server: i tried first
to
get it from XFree86.org, and XF86Setup'd it, but it would only start
the
VGA16 server. Then i realized that i could download and install X via
dselect, which i did overwriting previous installation.

I have a Cirrus Logic GD5465 AGP chipset with 4MB RAM and a HP D2817A
Ultra VGA monitor, so i am using the SVGA X server, which gets started
directly on boot. I configured it with XF86Setup again, leaving RAMDAC,
VRAM and clockchip to be probed and i chose an 800x600 16bpp resolution
for the monitor.

The server and client started smoothly, i am able to change video mode,
but after a few minutes' work everything freezes and i am no more able
to even Ctrl-Alt-Bksp or Ctrl-Alt-Del. Actually the only means i found
to get unstuck without powering-off is rebooting via telnet from
another
machine.

Can you help me?

--
Stefano Stabilini
[EMAIL PROTECTED]

_/ _/_/_/  _/_/_/  _/_/ Lab. Dinamiche e Politiche Urbane
   _/ _/   _/ _/   _/ _/_/  Dip. Scienze del Territorio
  _/ _/   _/ _/_/_/  _/_/   Politecnico di Milano
 _/ _/   _/ _/  _/_/V. Golgi 39 - 20133 Milano
_/_/_/ _/_/_/  _/   _/_/_/  Tel. 23995447 - Fax 23995454

begin:vcard 
n:Stabilini;Stefano
tel;fax:+39 2 23995454
tel;home:+39 2 4079116
tel;work:+39 2 23995447
x-mozilla-html:TRUE
org:Politecnico di Milano;Scienze del Territorio
adr:;;V. Golgi 39;Milano;;20133;Italy
version:2.1
email;internet:[EMAIL PROTECTED]
title:Arch.
fn:Stefano Stabilini
end:vcard


X freezes!

1999-04-28 Thread Stefano Stabilini
I am a brand newbie to Linux.

I followed Debian's slink 2.1 standard installation and used dselect
afterwards to add X server and clients. Linux sits on my first hd in
partitions hda3 (linux) and hda4 (swap), the first two partitions are
Dos16-big and host win 95. I successfully configured LILO so as to
choose starting OS at booting time (that i am quite proud of...).

My problems came with the installation of the X server: i tried first to
get it from XFree86.org, and XF86Setup'd it, but it would only start the
VGA16 server. Then i realized that i could download and install X via
dselect, which i did overwriting previous installation.

I have a Cirrus Logic GD5465 AGP chipset with 4MB RAM and a HP D2817A
Ultra VGA monitor, so i am using the SVGA X server, which gets started
directly on boot. I configured it with XF86Setup again, leaving RAMDAC,
VRAM and clockchip to be probed and i chose an 800x600 16bpp resolution
for the monitor.

The server and client started smoothly, i am able to change video mode,
but after a few minutes' work everything freezes and i am no more able
to even Ctrl-Alt-Bksp or Ctrl-Alt-Del. Actually the only means i found
to get unstuck without powering-off is rebooting via telnet from another
machine.

Can you help me?

--
Stefano Stabilini
[EMAIL PROTECTED]

_/ _/_/_/  _/_/_/  _/_/ Lab. Dinamiche e Politiche Urbane
   _/ _/   _/ _/   _/ _/_/  Dip. Scienze del Territorio
  _/ _/   _/ _/_/_/  _/_/   Politecnico di Milano
 _/ _/   _/ _/  _/_/V. Golgi 39 - 20133 Milano
_/_/_/ _/_/_/  _/   _/_/_/  Tel. 23995447 - Fax 23995454

begin:vcard 
n:Stabilini;Stefano
tel;fax:+39 2 23995454
tel;home:+39 2 4079116
tel;work:+39 2 23995447
x-mozilla-html:TRUE
org:Politecnico di Milano;Scienze del Territorio
adr:;;V. Golgi 39;Milano;;20133;Italy
version:2.1
email;internet:[EMAIL PROTECTED]
title:Arch.
fn:Stefano Stabilini
end:vcard