Multicast not working

2021-05-27 Thread Daniele E. Domenichelli
Hello all,

after changing the hard drive on my laptop and reinstalling Debian
testing, multicast is no longer working.

I'm quite sure this is a software issue, because it worked with the
previous installation, it works from the windows partition on the same
drive, and it works if the laptop is started from a Debian live.

The broken system can definitely send multicast packages (they can be
received on other machines), but it cannot receive any (tcpdump sees the
outgoing packets, but do not see the incoming), not even the ones
generated on the same system.

Testing with a similar (both on hardware and software installed):

  $ iperf -s -u -B 224.0.55.55 -i 1 # on both laptops

(`ip maddr` shows that the multicast group was properly joined)

  $ sudo tcpdump -s 5001 host 224.0.55.55 # on both laptops

And running on the broken laptop

  $ iperf -c 224.0.55.55 -u -T 32 -t 3 -i 1

I can see on both tcpdump the packets, but only the iperf on the working
laptop receives them.

Running the same command on the working laptop, on the broken laptop
neither tcpdump nor iperf receives anything.

Some information:

* The network is configured using networkmanager, and I tried this on
different networks with the same results
* I did not add or change any iptables rule
* I did not add or change any route
* I did not change (voluntarily at least) any related configuration
* Multicast is enabled in the kernel
* MULTICAST is enabled on the network interfaces
* There are no special rules or registration on the router
* `sudo sysctl -a | grep \\.rp_filter` reports all 0
* I compared one by one all the files in the /etc folder with the one
from the previous installation, and with the ones of the other laptop),
and I didn't find any relevant difference.
* I compared line by line the output of `sudo sysctl -a` on the 2
systems, and I didn't find any relevant difference

I tried anything that came in to my mind and any suggestion that I found
on internet, but I did not find a solution. Now I run out of ideas...

Can anyone help me solving this issue?


Cheers,
 Daniele



Possible bug: "safely remove drive" freeze the system

2018-12-13 Thread Daniele Gervasoni
Hello,

I have the issue in the subject when a right click on a USB drive and click
on "safely remove drive". I am on Debian 9.6 with gnome.
It happen with different drives and different usb ports.
Looking on the www it was an old 2.6 kernel bug.
Below hostnamectl output concerning architecture.
If a patch already exist may you point me there?
Thank you.
Daniele

:~$ hostnamectl

  Operating System: Debian GNU/Linux 9 (stretch)
Kernel: Linux 4.9.0-8-amd64
  Architecture: x86-64


Re: Using wvdial and usb_modeswitch to connect to internet with usb internet key

2017-03-22 Thread Daniele Disco
Nobody can help me?



Using wvdial and usb_modeswitch to connect to internet with usb internet key

2017-03-22 Thread Daniele Disco
Hi!
Usually to connect to internet my linux box (with gnome), I insert in a usb 
port my dongle 3G/4g and selecting in Network Manager the broad band connection 
configured the first time, selecting _Connect_ the pc goes in internet without 
problems (% of success 99.999).

Now I have to use a debian 8.0 version in an embedded system (Raspberry Pi 3), 
without graphical interface (if I use the version with any X Window System my 
code runs slowly), and connect this device to internet with the same internet 
usb key.

After google search I define a procedure to connect to internet but the % of 
success is 50%. So I think that somethings is wrong or is not present in my 
procedure. For this reason I ask your help.

Tools used wvdial, usb_modeswith

The conf file are:
usb_modeswitch.conf-
# Configuration for the usb_modeswitch package, a mode switching tool for
# USB devices providing multiple states or modes
#
# Evaluated by the wrapper script /usr/sbin/usb_modeswitch_dispatcher
#
# To enable an option, set it to "1", "yes" or "true" (case doesn't matter)
# Everything else counts as "disable"


# Disable automatic mode switching globally (e.g. to access the original
# install storage)

DisableSwitching=1

# Onda MT8205 LTE

DefaultVendor=0x19d2
DefaultProduct=0x0266

TargetVendor=0x19d2
TargetProduct=0x0265

StandardEject=1

MessageContent="55534243d8a5238624008685002400"

# Enable logging (results in a extensive report file in /var/log, named
# "usb_modeswitch_" and probably others

EnableLogging=0


# Optional increase of "delay_use" for the usb-storage driver; there are hints
# that a recent kernel default change to 1 sec. may lead to problems, particu-
# larly with USB 3.0 ports. Set this to at least 3 (seconds) in that case.
# Does nothing if the current system value is same or higher

SetStorageDelay=4

usb_modeswitch.conf- 

wvdial.conf-
[Dialer Defaults]
Auto DNS = yes
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0   +FCLASS=0
Modem Type = Analog Modem
; Phone = 
ISDN = 0
; Password = 
New PPPD = yes
; Username = 
Modem = /dev/ttyUSB2
Baud = 9600

[Dialer ondaTim]
Init1 = ATH
Init2 = ATE1
Init3 = AT+CGDCONT=1,"IP","stringaAPN"
Stupid mode = yes
Phone = *99***1#
Modem = /dev/ttyUSB2
Username = blank
Dial Command = ATD
Password = blank
Baud = 460800
wvdial.conf- 

Procedure---
sudo usb_modeswitch -c /etc/usb_modeswitch.conf

verify if in the output of lsusb the product number is in modem mode (my is 
0x0265)

sudo modprobe usbserial vendor=0x19d2 product=0x0265

sudo wvdialconf /etc/wvdial.conf

sudo wvdial ondaTim
Procedure---
   
Can you hemp me to understand what is wrong or what is not present?
TIA



Network manager script

2016-09-27 Thread vincenzo daniele
I have a problem in my pc with debian. I can't  off debian Why freeze with 
network manager script dispatcher service 

Inviato da iPhone


openvswitch-(switch|brcompat|datapath-dkms| and bridge-utils

2012-11-13 Thread Daniele Sluijters
Hello everyone,

I've been trying to solve this issue for the past day and for the life of
me I can't figure out how.

What I want to do is use OpenVSwitch with Debian. However, I'd still like
to be able to use the traditional tools such as brctl provided by
bridge-utils to manage the OpenVSwitch bridges. To that end OpenVSwitch
provides the -brcompat package as well as the brcompat_mod.ko built by
-datapath-dkms.

However, as some might have guessed brcompat_mod.ko exports the same
symbols as the kernel's bridge module since it's meant as a replacement of
it. So, in order to be able to use it one needs to first unload bridge and
then load brcompat_mod. This needs to be done on boot. To that end a
/etc/modprobe.d/blacklist-bridge.conf was created containing the line
'blacklist bridge'. After that /etc/default/openswitch-switch was altered
to set the BRCOMPAT variable to 'yes' which, when openvswitch-switch is
started, will cause the initscript to try and load brcompat_mod.ko.

This is where it gets... interesting. After making those changes I rebooted
the machine (since there still doesn't seem to be a fool-proof way of
restarting networking) and noticed that despite my efforts bridge was still
getting loaded instead of brcompat_mod. Turns out, blacklisting bridge
doesn't really do you any good. As far as I've been able to gather
blacklisting a module is only relevant if that module is getting loaded
through a udev rule that triggers it. However, the package bridge-utils
installs an /etc/network/if-pre-up.d and if-post-down.d script called
bridge to create and destroy the bridges. Because those files are there
when starting networking bridge gets loaded and by the time we get to
starting openvswitch-switch it can't load brcompat_mod.

As a temporary solution I deleted the two bridge-scripts installed by
bridge-utils and rebooted the machine. Sure enough, bridge wasn't loaded
but brcompat_mod was. This has one nasty side-effect, bridges defined in
/etc/network/interfaces are now never initialised and we need those. The
idea behind brcompat_mod is that you can still use the 'traditional' way of
creating bridges but that does require brcompat_mod to be loaded from the
start.

As an alternative I sought to update openvswitch-switch's LSB headers to
try and get it to start and hence inserting brcompat_mod prior to starting
networking, alas to no avail. Though insserv -d isn't reporting any errors
its stubbornly refusing to pick up the changes in my LSB headers. On top of
that I do believe $network to be required before being able to start
openvswitch-switch which will result in bridge getting loaded due to the
scripts in if-pre-up.d.

At this point I'm stuck. The only thing I can think of right now is to try
and create an init-script that only requires mountkernfs and load the
module in the hope it comes early enough as to prevent bridge from getting
loaded to begin with.

There's also Debian bug #680538 that is sort of this issue, however the
maintainer(s) ha(s|ve) yet to respond (and the bug report isn't
tremendously helpful either).

Has anyone run into this before / does anyone have an idea what to do to
move forward?

Kind regards,

-- 
Daniele Sluijters


Re: [SOLVED] Encrypted LVM and failed message

2012-03-11 Thread Daniele Guerrieri
Thank You!
Daniele

2012/3/8 Claudius Hubig debian_1...@chubig.net

 Hello Daniele,

 Daniele Guerrieri d.guerri...@gmail.com wrote:
  Every time I START the system, just before the prompt for passphrase,
 there
  are some complaints about the / filesystem: something like Cannot find
  harpsiRoot volume and also mobprobe: unix module not found. So it

 The ‘modprobe: unix module not found’ message is a different problem
 introduced by a recent upgrade of initramfs-tools and the kernel, I
 think. It is no problem either, modprobe here tries to load the
 ‘unix’ module which is already compiled into the kernel and thus not
 available.

  complains about missing root volume, but is wrapped by the encrypted
 volume
  so it should be normal not to have / mounted before inserting the
  passphrase.. or not?

 Exactly. That’s why it first complains and then decides to ask you
 for a passphrase :) I see the exact same behaviour and my system is
 working fine.
  However, after inserting the passphrase, everything goes ok and the rest
  works perfectly.

 :)

  Otherside, every time i STOP the system, there is a fail: stopping early
  crypto disks failed.

 / is still mounted, trying to stop the encrypted device therefore
 fails. That is not a problem either, in my experience.

  Are this two issues related? Are my data safe in this double wrapped
  container (encrypted-lvm-logical volume-data)?

 Yes.

 Best regards,

 Claudius
 --
 I'd love to go out with you, but it's my parakeet's bowling night.
 Please use GPG: ECB0C2C7 4A4C4046 446ADF86 C08112E5 D72CDBA4
 http://chubig.net/ http://nightfall.org



Encrypted LVM and failed message

2012-03-08 Thread Daniele Guerrieri
Hi everyone,

i' m a new debian user and subscriber to this mailing list.

I'd have one or two questions about some weird messages.

I installed debian with 'expert install', made an encrypted volume
(LUKS-crypt) which requires a passphrase in which subsequently i put an LVM
physical volume which cointains some logical volume (root,swap,home).
The LVM volume is called harpsiPool and contains harpsiRoot,harpsiHome and
harpsiSwap.

Every time I START the system, just before the prompt for passphrase, there
are some complaints about the / filesystem: something like Cannot find
harpsiRoot volume and also mobprobe: unix module not found. So it
complains about missing root volume, but is wrapped by the encrypted volume
so it should be normal not to have / mounted before inserting the
passphrase.. or not?
However, after inserting the passphrase, everything goes ok and the rest
works perfectly.

Otherside, every time i STOP the system, there is a fail: stopping early
crypto disks failed.

Are this two issues related? Are my data safe in this double wrapped
container (encrypted-lvm-logical volume-data)?

Thank you very much,
Daniele


Re: IPtables localhost redirect

2010-07-11 Thread Daniele Orlando
On Sat, Jul 10, 2010 at 13:06, Javier Barroso javibarr...@gmail.com wrote:
 Hi, If you have ssh access to 192.168.1.113, you can try ssh port
 forwarding, with -L 5432:192.168.1.113:5432 option

 Regards,

Hi Javier,

thanks for the tip.
Your solution is one of the possible workarounds we came.
Another one (I'm using it) can be done with socat:
socat TCP4-LISTEN:${local_port},fork,reuseaddr
TCP4:${remote_host}:${remote_port}

Credits to the guys of #Netfilter and #debian channels.

Thanks Javier.

References:
http://lists.debian.org/debian-italian/2010/07/msg00148.html
http://lists.debian.org/debian-italian/2010/07/msg00170.html
http://www.linuxquestions.org/questions/showthread.php?p=4027927
freenode.#Netfilter
#debian


-- 
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/aanlktinskr6fw_md8o3v8meaqtbty-_ffkwlp43rd...@mail.gmail.com



Re: IPtables localhost redirect

2010-07-11 Thread Daniele Orlando
On Sat, Jul 10, 2010 at 19:00, Mart Frauenlob mart.frauen...@chello.at wrote:
 This picture shows the netfilter traffic flow:
 http://jengelh.medozas.de/images/nf-packet-flow.png

 Source address selection is done before the OUTPUT path.
 Locally generated packets NEVER hit the PREROUTING chain in mangle or nat
 table.
 There is a routing decision after the mangle table OUTPUT chain.
 But you cannot do address translation there (like in nat OUTPUT).
 What you can do, is MARK packets in the mangle table, and refer to this mark
 with iproute2 (ip rule add fwmark 0x1 lookup table custom_table) - this is
 called policy based routing.


 So from looking at the picture and from the theory I know, theoretically
 something like this could work:

 echo 101 custom_table  /etc/iproute2/rt_tables

 fill the table with appropriate routes:
 ip route add table custom_table ...
 ...

 mark in mangle table:
 iptables -t mangle -A OUTPUT -d 127.0.0.1 -p tcp --dport 5432 -j MARK
 --set-mark 0x1

 dnat in nat table:
 iptables -t nat -A OUTPUT -m mark --mark 0x1 -j DNAT --to-destination
 192.168.1.113

 snat in nat table:
 iptables -t nat -A POSTROUTING -m mark --mark 0x1 -j SNAT --to-source
 192.168.1.1?

 add iproute rule:
 ip rule add fwmark 0x1 lookup custom_table


 I've done all this for testing and I did not succeed.
 I also did:
 echo 0 /proc/sys/net/ipv4/conf/all/rp_filter
 not sure if that interacts.
 I then put a trace rule:
 iptables -t raw -A OUTPUT -d 127.0.0.1 -p tcp --dport 5432 -j TRACE

 The resulting log always ended in the nat table's OUTPUT chain.
 I don't know why acutally, from the picture (which is from a developer) it
 should hit nat POSTROUTING.
 I'm telling you this, so you could eventually try and maybe you have more
 luck than me, or maybe the information is otherwise useful.
 However maybe it's not possible, I can't tell for sure.
 I would have done some ssh tunneling myself in the first place.
 But I know there are people at the netfilter mailing list, who do know for
 sure. It's in general the best place to ask netfilter related questions.

 Best regards

 Mart

Thanks Mart,
your experiment will not be lost.

At the moment I have not a lot of time to spend extending your work,
but it is a good starting point for further enhancement.
As you are suggesting, I'll integrate it with the infos coming from the
netfilter mailing list and #Netfilter irc channel.

At the moment, the good news is that, together with the ssh,
netcat, and socat animals, we have a new friend:
xinetd

service postgresql
{
socket_type = stream
wait= no
user= root
redirect= 192.168.1.113 5432
bind= 127.0.0.1
}

Thanks again for the time spent answering me.

Daniele

p.s.:
The xinetd tip comes from SuperJediWombat! of linuxquestions.org.
http://www.linuxquestions.org/questions/linux-networking-3/iptables-redirect-127-0-0-1-to-192-168-1-113-a-818817/


-- 
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/aanlktila28gqhmpb75bm18kci-h7ufng0er53lg9j...@mail.gmail.com



Re: IPtables localhost redirect

2010-07-11 Thread Daniele Orlando
From the netfilter mailing list:
http://marc.info/?l=netfilterm=127377479932181w=2
http://marc.info/?l=netfilterm=126950781622980w=2

http://www.frozentux.net/iptables-tutorial/images/tables_traverse.jpg
http://xkr47.outerspace.dyndns.org/netfilter/packet_flow/packet_flow10.png

Nothing new, just some further details.


-- 
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/aanlktilc4qwuxecxi_yywqeue20ytghonhxwtm051...@mail.gmail.com



Re: IPtables localhost redirect

2010-07-09 Thread Daniele Orlando
On Fri, Jul 9, 2010 at 08:34, Boyd Stephen Smith Jr.
b...@iguanasuicide.net wrote:
 What have you tried?  It seems like you'd need to change this in a PREROUTING
 chain, probably in the mangle table.

 Also, depending on the application it my be using the unix socket instead of
 TCP/IP to connect to PostgreSQL.  In that case, iptables would not be
 involved.

I have tried any configuration of PREROUTING, POSTROUTING, OUTPUT over
nat table.
I have not tried the mangle table, but I know it is used to change the
packet headers,
and I think that is not our case.

I have done many attempt with other protocols and tools (netcat is one of this),
and the problem is note the unix socket because in every case I forced the use
of the 127.0.0.1 host (especially with the the postgres client).

The problem seams to reside in how netfilter process packets on the lo
device and the localhost ip family.

This is a related post in italian:
http://lists.debian.org/debian-italian/2010/07/msg00148.html

And this is the workaround we came:
http://lists.debian.org/debian-italian/2010/07/msg00170.html


--
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/aanlktimo4i13ethivknxdlj9ihggg3eyirnoioijs...@mail.gmail.com



Re: IPtables localhost redirect

2010-07-09 Thread Daniele Orlando
On Fri, Jul 9, 2010 at 19:09, Toan Pham tpham3...@gmail.com wrote:
 Here's the trick,

 # Trick the kernel to route localhost ip (127.0.0.1) in prerouting
 rule, and continue routing out through the valid network interface
 (not the loopback interface).
 ifconfig eth0:0 127.0.0.1

 # Setup NAT Table to redirect traffic
 iptables -t nat -A PREROUTING -p tcp --dport 5432 -j DNAT --to
 192.168.1.113:5432


 I haven't tried it yet, let me know if it works.

Thanks, but it doesn't work.

Someone said me on a forum:

You cannot redirect loopback traffic with iptables.

I'm investigating this statement.

reference:
http://www.linuxquestions.org/questions/showthread.php?p=4027927


-- 
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/aanlktikt33y5uoxl_vymxzpodkle1in_iwdodosal...@mail.gmail.com



IPtables localhost redirect

2010-07-08 Thread Daniele Orlando
Hello guys,

on my Debian 5 I'm trying to redirect
the TCP traffic generated by my machine
towards 127.0.0.1:5432 (PostgreSQL)
to the new destination 192.168.1.113:5432.

I have tried with iptables many rules, but no one seams good for the task.

Any idea?


-- 
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/aanlktilputvpvdqizjuoukcpcxcirfxny4oyak7on...@mail.gmail.com



help for a new user

2010-05-08 Thread daniele tavella
I'm new on Debian. I use Ubuntu 9.04, an I found it easy. I would like
use Debian, but for internet connection I use an internet key Huawey
E169, and Debian 5.04 can't manage it.
I'm not good on computer, but I hope someone helps me.

Thanks a lot, Daniele


-- 
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/aanlktimuojr6gujkp512snobh5gdm80djlrtavwlc...@mail.gmail.com



Re: need help with xorg.conf

2010-03-12 Thread daniele

On 03/12/10 07:42, Paul E Condon wrote:

I have a cheap flat screen monitor on one of my computers. I works
nicely, but not perfectly with Lenny. But in a much inferior way when
I switch to Squeeze.

In particular:

The screen is 1366x768 according to the user manual that came with it.
Under Lenny, X chooses to run it at 1280x768 which is OK, but
Under Squeeze, X chooses 1024x768 which makes things that should be
circle into broad elipses. And wastes a lot of the resolution on
over-size characters.

I would like to try composing some configuration lines and inserting
them in a conf file, xorg.conf, I think, but I'm not sure.

Some quidance would be greatly appreciated.


Hello Paul,

As of my experience the automatic configuration did not work so I 
manually configured the resolution following these steps (NOTEs : 
change the values to suit your hardware and be sure the video card 
supports the resolution and try to also follow xorg.conf man page ---)



1 - I found the suggested monitor resolution (1920x1...@60hz) in the 
User Manual


2 - I used the gtf utility to calculate a vesa compliant ModeLine, 
running at the command prompt the following:


gtf 1920 1080 60

3 - I Inserted in xorg.conf (section Monitor) the ModeLine that I got in 
step 2 (naming it 1920x1080_60.00)


4 - I set up VertRefresh e HorizSync (section Monitor) according to the 
monitor specs


5 - I inserted in xorg.conf (section Screen, subsection Display) in the 
Modes option listing  the already found 1920x1080_60.00 ModeLine


cheers

d


--
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/blu0-smtp33c1066e4c76d2c7a307eadc...@phx.gbl



reportbug doubt, help PLEASE

2010-02-16 Thread Daniele Nuzzo

hi,
I noticed that the Debian amd64 lenny /5.0.3/5.0.4 can not find any 
cd-rom drive after the initial bootstrap, I would file a bug as it seems 
did not I do not know what to use because reportbug is installed on the 
system but they my problem is installing the system (on IBM x3250 m3)

I hope I can help fill this request for bugs
thanks



--
Caselle da 1GB, trasmetti allegati fino a 3GB e in piu' IMAP, POP3 e SMTP 
autenticato? GRATIS solo con Email.it http://www.email.it/f

Sponsor:
Conto Arancio ti regala 50 Euro da spendere su Media World on line. Cosa 
aspetti, aprilo subito!
Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=10033d=17-2
attachment: daniele_nuzzo.vcf

Bug with translation

2010-01-21 Thread Daniele Di Sarli

Hi,
I don't know where to report a problem in the translation of the Lenny 
release notes.

It is a little problem:
in this page ( 
http://www.debian.org/releases/lenny/i386/release-notes/ch-information.it.html#no-sound 
) the text or the command is not translated to o il comando.


|release-notes http://bugs.debian.org/release-notes| ?
|debian-i18n http://bugs.debian.org/debian-i18n| ?
|qa.debian.org http://bugs.debian.org/qa.debian.org ?|

Thanks and sorry for my english
Daniele


RE : Download Opera brower package

2007-12-03 Thread Pendenza Daniele
yes... You should download it directly from the opera company website or try 
this
ftp://ftp.opera.com/pub/opera/linux/ and then follow the links

The latest stable is 9.24.

I also had to fix some issues and found some tips here:

http://mynbook.wordpress.com/2007/11/26/debian-etch-opera-924-error-not-finding-the-following-libraries-libawtso-libjvmso/

cheers

d



hce [EMAIL PROTECTED] a écrit : Hi,

I tried to install Opera brower packge from the apt-get install, but
could not find the package? What am I missing?

Thank you.

Jim


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



   
-
 Yahoo! Mail : un mail innovant avec Messenger compatible Windows Live + 
stockage illimité.

console login : number of access failures

2007-11-28 Thread daniele pendenza

Hi lists,

1- by default on our Debian system after a successful login through a 
tty  we are presented with the number of failures (unsuccesful logins) 
that took place before using the same login name.For a non root user 
this number is correct.


But what about the root user ? That number is correct unless no one 
tried to do su logins (login using the command su).
Do you think that su-logins must be considered as general logins and 
then the super user must know how many unsuccessful su-logins took 
place  ? And what about the date and time of the last root login ? :-)
Well, as a solution one could forbid the su-login but sometimes that 
command can be useful.


2 - by default whenever I press CTRL-D to log out as a non root user the 
screen is cleaned ... whenever I press CTRL-D to log out as a root user 
the screen is not cleaned - and maybe a non root user can see what the 
root did before ! Why did they choose this behavior ??


thank you for your attention, I appreciate suggestions and opinions ;)

saluti,

daniele


p.s. copy of this message has been sent also to debian-laptop list


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




Re: problem with postfix and libsasl2

2007-10-03 Thread Daniele Salatti
Hi!
Here is the output of the commands you suggested:

dpkg -S libsasl2.so.2:

libsasl2-2: /usr/lib/libsasl2.so.2
cyrus-sasl2-dbg: /usr/lib/debug/usr/lib/libsasl2.so.2.0.22
libsasl2-2: /usr/lib/libsasl2.so.2.0.22

file /usr/local/lib/libsasl2.so.2:

/usr/local/lib/libsasl2.so.2: symbolic link to `libsasl2.so.2.0.22'

stat -L /usr/local/lib/libsasl2.so.2:

  File: `/usr/local/lib/libsasl2.so.2'
  Size: 290327  Blocks: 584IO Block: 4096   regular file
Device: 801h/2049d  Inode: 262224  Links: 1
Access: (0755/-rwxr-xr-x)  Uid: (0/root)   Gid: (   50/   staff)
Access: 2007-10-03 06:34:58.0 +0200
Modify: 2007-09-30 12:09:54.0 +0200
Change: 2007-09-30 12:09:54.0 +0200

file /usr/lib/libsasl2.so.2:

/usr/lib/libsasl2.so.2: symbolic link to `libsasl2.so.2.0.22'

stat -L /usr/lib/libsasl2.so.2:

  File: `/usr/lib/libsasl2.so.2'
  Size: 88828   Blocks: 184IO Block: 4096   regular file
Device: 801h/2049d  Inode: 246065  Links: 1
Access: (0644/-rw-r--r--)  Uid: (0/root)   Gid: (0/root)
Access: 2007-09-30 12:13:22.0 +0200
Modify: 2006-12-13 22:26:16.0 +0100
Change: 2006-12-27 11:07:11.0 +0100


Daniele




2007/10/2, Florian Kulzer [EMAIL PROTECTED]:

 On Tue, Oct 02, 2007 at 11:17:28 +0200, Daniele Salatti wrote:

 [ top-posted reply shifted to proper place below ]

  2007/10/1, Florian Kulzer:
   On Mon, Oct 01, 2007 at 00:14:42 +0200, Daniele Salatti wrote:
Hi!
I'm trying to set up a mailserver on Debian etch for the first time,
 but
   I
have a problem: every time I restart postfix I get this message:
   
/usr/sbin/postconf: /usr/local/lib/libsasl2.so.2: no version
 information
available (required by /usr/sbin/postconf)
   
Any idea on how can I fix it? I can't use SASL...
  
   Where does /usr/local/lib/libsasl2.so.2 come from? The libsasl2-2
   package puts the library and this symlink into /usr/lib/. (Debian
   packages never touch the /usr/local/... directories.) You seem to have
   a non-Debian library installed which is broken.
 
  Hi,
  I used apt to set up everything. How could this happen?

 The output of these commands would be interesting:

 dpkg -S libsasl2.so.2
 file /usr/local/lib/libsasl2.so.2
 stat -L /usr/local/lib/libsasl2.so.2
 file /usr/lib/libsasl2.so.2
 stat -L /usr/lib/libsasl2.so.2

 --
 Regards,| http://users.icfo.es/Florian.Kulzer
   Florian   |


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




-- 
Daniele Salatti
http://www.salatti.net


Re: problem with postfix and libsasl2

2007-10-02 Thread Daniele Salatti
Already installed...

2007/10/1, Miles Bader [EMAIL PROTECTED]:

 You need to install the package libsasl2-modules.

 -Miles

 --
 My books focus on timeless truths.  -- Donald Knuth




-- 
Daniele Salatti
http://www.salatti.net


Re: problem with postfix and libsasl2

2007-10-02 Thread Daniele Salatti
Hi,
I used apt to set up everything. How could this appen?

Daniele

2007/10/1, Florian Kulzer [EMAIL PROTECTED]:

 On Mon, Oct 01, 2007 at 00:14:42 +0200, Daniele Salatti wrote:
  Hi!
  I'm trying to set up a mailserver on Debian etch for the first time, but
 I
  have a problem: every time I restart postfix I get this message:
 
  /usr/sbin/postconf: /usr/local/lib/libsasl2.so.2: no version information
  available (required by /usr/sbin/postconf)
 
  Any idea on how can I fix it? I can't use SASL...

 Where does /usr/local/lib/libsasl2.so.2 come from? The libsasl2-2
 package puts the library and this symlink into /usr/lib/. (Debian
 packages never touch the /usr/local/... directories.) You seem to have
 a non-Debian library installed which is broken.

 --
 Regards,| http://users.icfo.es/Florian.Kulzer
   Florian   |


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




-- 
Daniele Salatti
http://www.salatti.net


Re: problem with postfix and libsasl2

2007-10-01 Thread Daniele Salatti

Andrei Popescu wrote:

On Mon, Oct 01, 2007 at 12:31:36AM +0200, Daniele Salatti wrote:
  
I'm trying to set up a mailserver on Debian etch for the first time, 
but I have a problem: every time I restart postfix I get this 
message:


/usr/sbin/postconf: /usr/local/lib/libsasl2.so.2: no version information 
available (required by /usr/sbin/postconf)



  
You might not have it installed.  For a normal postfix setup you need 
the packages: postfix libsasl2 sasl2-bin libsasl2-modules libdb3-util 
procmail
  

---
procmail is *not* needed.

  
I can't use it because of this error (I think). It's installed...but 
someway not working. I'm following an how-to, and when I reach this 
point (http://workaround.org/articles/ispmail-etch/#id28 - 
Authenticated SMTP) I can't access my smtp as shown in the example. 
(Sorry, but my english is not so good...)



Please post the output of 'postconf -n'and 'dpkg -l *sasl2*|grep ^ii'

Regards,
Andrei
  

Hi!

Here is the output of 'postconf -n':

postconf: /usr/local/lib/libsasl2.so.2: no version information available 
(required by postconf)

alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
config_directory = /etc/postfix
inet_interfaces = all
inet_protocols = all
mailbox_command =
mailbox_size_limit = 0
mydestination = localhost
myhostname = salatti.net
mynetworks = 127.0.0.0/8
myorigin = /etc/mailname
recipient_delimiter = +
relayhost =
smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
smtpd_tls_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file = /etc/ssl/private/ssl-cert-snakeoil.key
smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
smtpd_use_tls = yes
virtual_alias_maps = 
mysql:/etc/postfix/mysql-virtual-alias-maps.cf,mysql:/etc/postfix/mysql-email2email.cf

virtual_gid_maps = static:6000
virtual_mailbox_domains = 
mysql:/etc/postfix/mysql-virtual-mailbox-domains.cf

virtual_mailbox_maps = mysql:/etc/postfix/mysql-virtual-mailbox-maps.cf
virtual_transport = dovecot
virtual_uid_maps = static:6000

And that's the output of ' dpkg -l *sasl2*|grep ^ii':

ii  cyrus-sasl2-dbg 2.1.22.dfsg1-8 Debugging symbols for 
Cyrus SASL
ii  libsasl22.1.22.dfsg1-8 Authentication 
abstraction library
ii  libsasl2-2  2.1.22.dfsg1-8 Authentication 
abstraction library
ii  libsasl2-modules2.1.22.dfsg1-8 Pluggable 
Authentication Modules for SASL
ii  libsasl2-modules-sql2.1.22.dfsg1-8 Pluggable 
Authentication Modules for SASL (S
ii  sasl2-bin   2.1.22.dfsg1-8 Administration 
programs for SASL users datab


Daniele


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




problem with postfix and libsasl2

2007-09-30 Thread Daniele Salatti

Hi!
I'm trying to set up a mailserver on Debian etch for the first time, but 
I have a problem: every time I restart postfix I get this message:


/usr/sbin/postconf: /usr/local/lib/libsasl2.so.2: no version information 
available (required by /usr/sbin/postconf)


Any idea on how can I fix it? I can't use SASL...

TIA
Daniele



http://www.salatti.net/


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




problem with postfix and libsasl2

2007-09-30 Thread Daniele Salatti

Hi!
I'm trying to set up a mailserver on Debian etch for the first time, but 
I have a problem: every time I restart postfix I get this message:


/usr/sbin/postconf: /usr/local/lib/libsasl2.so.2: no version information 
available (required by /usr/sbin/postconf)


Any idea on how can I fix it? I can't use SASL...

TIA
Daniele



http://www.salatti.net/


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




Re: problem with postfix and libsasl2

2007-09-30 Thread Daniele Salatti

Sam Leon wrote:

Daniele Salatti wrote:

Hi!
I'm trying to set up a mailserver on Debian etch for the first time, 
but I have a problem: every time I restart postfix I get this message:


/usr/sbin/postconf: /usr/local/lib/libsasl2.so.2: no version 
information available (required by /usr/sbin/postconf)


Any idea on how can I fix it? I can't use SASL...

TIA
Daniele



http://www.salatti.net/




You might not have it installed.  For a normal postfix setup you need 
the packages: postfix libsasl2 sasl2-bin libsasl2-modules libdb3-util 
procmail


What do you mean that you can't use SASL?  You can't use it because it 
is not installed or because you don't want to?


Sam



Hi Sam
I can't use it because of this error (I think). It's installed...but 
someway not working. I'm following an how-to, and when I reach this 
point (http://workaround.org/articles/ispmail-etch/#id28 - Authenticated 
SMTP) I can't access my smtp as shown in the example. (Sorry, but my 
english is not so good...)


Daniele


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




Re: serial console - working, then stuck output and can't login

2007-03-29 Thread Daniele P.
On Thursday 29 March 2007 11:37, Stephen G wrote:
 Hi there,

Thanks for the detailed explanation.

May be you miss that the order for the kernel options from
/boot/grub/menu.lst is important!
You should use something like console=tty0 console=ttyS0,115200
because:
The kernel can be configured to output messages to the serial port and
to the attached monitor. However messages from init and syslog only
appear on the last-listed console device

Quoted from
http://www.faqs.org/docs/Linux-HOWTO/Remote-Serial-Console-HOWTO.html#BUGS-MONITOR

About the login problem: look at something like this in /etc/inittab
# Example how to put a getty on a serial line (for a terminal)
T0:23:respawn:/sbin/getty -L ttyS0 115200 vt100

Regards,
Daniele P.


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



Re: RAM slot info?

2006-12-01 Thread Daniele P .
On Friday 01 December 2006 10:49, Mirco Piccin wrote:
 Hi all!
 Is there a way to know :
 - how many memory slots are empty
 - if not empty, which is the size of each memory bank installed?

 Of course, without open the case :-D !!

Hi Mirco,
Try with
lm-sensors using sensor
hwinfo using hwinfo --bios

I don't know if there is a list of supported mainboad/chipset.

Regards,
Daniele


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



Re: Rsync and different sizes

2006-10-20 Thread Daniele P .
On Thursday 19 October 2006 23:19, Sturla Holm Hansen wrote:
 Hmm, just wondering, would hardlinks report different sizes too?

Remember a file stored as an hard link.
Definitely yes. du, by default, reports the size of the file on disk.
The size of the file on disk is file dependent on your file system and 
on the block-size you choose when you use mkfs.
To get the apparent size (which is for me the real file size, it's 
called apparent because of sparse file, I guess) you have to use the -b
option.
But remember that the apparent size of directories is still file system 
dependent.

To complicate things the du man page also refers that the apparent size
could be increased by fragmentation and indirect blocks.
I don't think this is true.
It sound strange to me since du uses st_size from stat and st_size
in the SUS is defined: For regular files, the file size in bytes.
So st_size should be independent from the file system.
The du info manual (for --apparent) also explain:
Print apparent sizes, rather than disk usage.  The apparent size
of a file is the number of bytes reported by `wc -c' on regular
files, or more generally, `ls -l --block-size=1' or `stat --format=%s'.

 Since this is a sync of /var/lib/backuppc which contains a LOT of
 hardlinks this could explain the size-difference

You really want to say that /var/lib/backuppc contains a lot of files
with hard link count grater than 1.
And you hit another strange behaviour!
The size reported by du isn't absolute! It depends on how you ask!

$ ls
$ du -b
6   .
$ mkdir a
$ du -b ./a
6   ./a
$ du -b
6   ./a
20  .
$ mkdir b
$ du -b ./b
6   ./b
$ du -b
6   ./a
6   ./b
34  .
$ echo 'test'  a/test
$ du -b ./a/test
5   ./a/test
$ du -b ./a
22  ./a
$ du -b
22  ./a
6   ./b
50  .
$ ln a/test b/link
$ du -b ./b/link
5   ./b/link
$ du -b ./b
11  ./b
$ du -b
22  ./a
6   ./b
50  .

See that ./b one time is 11 and one time is 6 and realise the real 
meaning of the brief description of du: *estimate* file space usage.

Regards,
Daniele


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



Re: help: duplicate MAC address

2006-10-19 Thread Daniele P .
On Wednesday 18 October 2006 11:38, Lestat V wrote:
 I encouter an fake MAC address problem:

 I found that in ARP cache of some computer in myLAN, almost IP
 addresses have a same MAC address. While in ARP cache of some other
 computers in the same LAN, different IP addresses have a
 unique MAC address.

 Is it normal? Or what may be going on my computer and the LAN?

It could be normal. Ask your network administrator.
To configure ip1 and ip2 with the same mac:
ifconfig eth0 ip1
ifconfig eth0:0 ip2
Search also for arp proxy.

Regards,
Daniele


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



Re: Rsync and different sizes

2006-10-19 Thread Daniele P .
On Thursday 19 October 2006 09:52, Sturla Holm Hansen wrote:
 Hi list.
 I'm using rsync to sync /var/lib/backuppc from a backup-server to
 another server as a backup of the backup.
 I run rsync, it finishes without error, but when running du -hs on
 the local and remote copy of the data there's a significant
 size-difference...

And where is the big copy? I guess in the destination.

 Tried re-running rsync, same result.. 
 Any ideas?

May be you don't use rsync with --hard-links. Give a try.

Regards,
Daniele


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



Re: Rsync and different sizes

2006-10-19 Thread Daniele P .
On Thursday 19 October 2006 12:15, Sturla Holm Hansen wrote:
 Actually it's the original that's bigger, here's the rsync-command I
 use:

  rsync -aizH --delete --stats  --password-file=/etc/rsyncd.pass
 [EMAIL PROTECTED]::rsyncshare/* /destinationdir

Using '*' you could miss directories and files starting with a dot.

 I also get SIGUSR1 or SIGINT  error on a lot of syncs, got any idea
 what's causing this?

Maybe a cat walking on the keyboard?

However this could be interesting too:

The bakcup-server runs on xfs and the local rsync-server runs on ext3
if  that can have anything to do with anything

It seem's that the size of empty directory is file system dependant:
$ mkdir dir-on-xfs
$ mkdir dir-on-ext3
$ du -b dir-on-xfs
6   dir-on-xfs
$ stat dir-on-xfs | grep Size
Size: 6   Blocks: 0  IO Block: 4096   directory
$ du -b dir-on-ext3
4096dir-on-ext3
$ stat dir-on-ext3 | grep Size
Size: 4096Blocks: 8  IO Block: 4096   directory

So, if you want to check your backup, don't rely on du but use md5sum 
and/or sha1sum on the files.

Regards,
Daniele


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



Re: Finding hard links

2006-10-17 Thread Daniele P .
On Tuesday 17 October 2006 22:45, T wrote:
 Hi

 How can I find hard linked files?

Hi,
using for example:
[ `stat -c %h filename` -gt 1 ]   echo hard linked

 Is it possible to find the hard links of the same file? Ie, group the
 above finding into same file groups?

AFAIK it's not possible using general purpose tool.
Maybe some filesystem offer a specific interface to get the file name(s) given 
the inode number (as ncheck on aix), but I don't have made any deep 
investigation. 

Usually general purpose tools (tar, rsync) use an hash table and repeat the 
check for every file.

You could make your own simple map using this expensive command
find /somepath -xdev -type f -printf '%n %i% %p\n' | grep -v '^1 ' | sort -k2

Regards,
Daniele


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



Re: limit certain ports to be forwarded through ssh account..

2006-10-16 Thread Daniele P .
On Sunday 15 October 2006 22:47, Eric Persson wrote:
 Hi,

 I'm interested in allowing a few selected users forward their
 imap/smtp traffic over ssh. But I also want to prevent them from
 doing anything but that, they shouldnt be able to forward any ports,
 or get a shell at all, just some certain predefined ports.
 Is this possible with openssh or any other sshd?

Hi,
Have a look to PermitOpen in sshd_confing for openssh  4.
You could use the /bin/nologin shell for those users.

Regards,
Daniele


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



Re: spamcop

2006-09-22 Thread Daniele P .
On Thursday 21 September 2006 14:55, John Hasler wrote:
 Daniele writes:
  I have whitelisted the debian mailing lists. They are the first
  (and the only) source of spam in my inbox. I think that spamcop
  isn't entirely wrong.

 The Debian mailing-list servers never send mail to anyone who is not
 subscribed.

Yes, you are right. The spam flow through debian servers. They aren't 
the first source. My apologies for using the incorrect term.

Daniele


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



Re: spamcop

2006-09-21 Thread Daniele P .
On Wednesday 20 September 2006 20:54, John Kelly wrote:

 When spamcop admins don't have enough sense to whitelist servers like
 murphy.debian.org, it's time to abandon them

I don't agree. I have whitelisted the debian mailing lists. They are the 
first (and the only) source of spam in my inbox. I think that spamcop 
isn't entirely wrong.

Regards,
Daniele


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



Re: spamcop

2006-09-21 Thread Daniele P .
On Thursday 21 September 2006 15:23, John Kelly wrote:
 I don't agree. I have whitelisted the debian mailing lists. They are
  the first (and the only) source of spam in my inbox. I think that
  spamcop isn't entirely wrong.

 You are saying that thousands of individual users should each do what
 spamcop should already be doing for them.

Sorry, but I don't want to say that. I want only to remark that debian 
mailing lists are source of spam.
Additionally I'm not happy with my current solution (whitelist), but 
right now I don't have a plan to add and additional specific filter 
configuration.
I hope that somebody could solve this problem at the source (debian 
server).

Thanks,
Daniele P.


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



vmstat doesn't show me the swapped out processes column

2006-07-28 Thread daniele

Hi!
I read on the documentation and on internet that vmstat should show a 
column named 'w' under the header 'procs' which counts the number of 
swapped out processes.

Well, I can't see that column on my output (all other columns are ok).
What can I do to have vmstat report it?
In which other way can I see swapped out processes?

Thanks,
daniele paganelli

debian unstable
Linux paganelli 2.6.14-2-k7 #1 Sat Nov 26 14:04:05 UTC 2005 i686 GNU/Linux


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




Re: Command line audio and CD player?

2006-07-28 Thread daniele

From the manpage of mplayer:
mplayer [cdda|cddb]://traccia[-traccia_finale][:velocità][/device]

Maybe you should also specify the device name of the cd.
There should be a config file somewhere to save the default cd device, I 
think.



David E. Fox wrote:

On Mon, 10 Jul 2006 18:48:26 +0200


[EMAIL PROTECTED] (Bill Marcum) writes:


You've compiled MPlayer without cdparanoia.  Install that (and it's
-dev packages) and then recompile mplayer.


I didn't notice when I built 1.0cvs from source package any references
to cdparanoia. So I went ahead and installed the newest version with
aptitude. No change - mplayer cdda:// still fails.



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




Re: vmstat doesn't show me the swapped out processes column

2006-07-28 Thread daniele

Which version of manpages?
I found many manpages on internet that show the 'w' field under procs:
http://node1.yo-linux.com/cgi-bin/man2html?cgi_command=vmstat
http://www.princeton.edu/~psg/unix/solaris/troubleshoot/vmstat.html
http://www.linuxinfor.com/italian/man8/vmstat.html
http://www.linuxvalley.it/encyclopedia/ldp/manpage/man8/vmstat.8.php
http://www.linuxjournal.com/article/8178

But I found also manpages which do not show the 'w' field:
http://www.yiluda.net/manual/linux/man/vmstat.html
http://man.linuxquestions.org/index.php?query=vmstatsection=8type=2

The reason is the procps version as I found here:
http://procps.sourceforge.net/changelog.html , changelog 3.2.1:
 ps: STAT flags for swapped out process dropped (was broken)

I have a new procps version 1:3.2.7-2, and my manpage isn't up to date 
(but I have the last manpage package 2.35-1).


Anyone have an alternative to see how many processes are currently 
swapped out, since vmstat support for that option is broken?


Wayne Topa wrote:

daniele([EMAIL PROTECTED]) is reported to have said:

Hi!
I read on the documentation and on internet that vmstat should show a 
column named 'w' under the header 'procs' which counts the number of 
swapped out processes.


The man page for vmstat on my etch bos does not show that.  Only the
r: and b: fields.

vmstat part of procps version 3.2.7-2 here.


Well, I can't see that column on my output (all other columns are ok).
What can I do to have vmstat report it?
In which other way can I see swapped out processes?


Haven't a clue as the man page only shows
  Swap
  si: Amount of memory swapped in from disk (/s).
  so: Amount of memory swapped to disk (/s).

WT




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




Parallelizing fetchmail

2006-05-21 Thread Daniele Cortesi
Hello *,
 I recently uninstalled exim on my home pc, replacing it with esmtp
for outbound mail and fetchmail-procmail for inbound traffic.

Procmail checks every message for spam and viruses, introducing some
seconds of latency, mainly because of DNSRBL checks of spamc.

The disadvantage of this is that fetchmail launches only one procmail
for each message and waits for it termination. This leads to a very long
delay when downloading many messages.

I can parallely check more than one message with spamd (making it create
more childs) but I cannot find a configuration that will speed up with
more spamd-child. The bottleneck is always fetchmail that process every
message one by one.

Have you got any ideas about how to insert a queue in the chain?

I can replace procmail with maildrop or similar if necessary. Please
avoid solutions like re-install exim or install insert your
favourite mta here.

Please CC me, I'm not in the list.

Thank you.

Best regards,
-- 
Daniele JID: [EMAIL PROTECTED] (http://www.jabber.org)
and remember: respect is everything . . . . . . . . . . . free your mind


signature.asc
Description: Digital signature


cupsd segmentation fault

2006-01-07 Thread Daniele Cortesi
Hello there!

It's since quite a long time (months) that I've a problem with cupsd.

If I set it to use Basic authentication (which is the default) to grant
access to administration web pages (localhost:631) it exits with a
segfault just after reading my password.

Following is the output launching the program with gdb.

[EMAIL PROTECTED]:~$ sudo gdb /usr/sbin/cupsd   
   
GNU gdb 6.3.90_20051119-debian  

Copyright 2004 Free Software Foundation, Inc.   

GDB is free software, covered by the GNU General Public License, and you are

welcome to change it and/or distribute copies of it under certain conditions.   

Type show copying to see the conditions.  

There is absolutely no warranty for GDB.  Type show warranty for details. 

This GDB was configured as i486-linux-gnu...(no debugging symbols found)  

Using host libthread_db library /lib/tls/i686/cmov/libthread_db.so.1. 



(gdb) set args -f   

(gdb) run   

Starting program: /usr/sbin/cupsd -f

(no debugging symbols found)

[... again, 18 times ...]
(no debugging symbols found)



Program received signal SIGSEGV, Segmentation fault.

0xb7da093f in strncmp () from /lib/tls/i686/cmov/libc.so.6  

(gdb) continue  

Continuing. 



Program terminated with signal SIGSEGV, Segmentation fault. 

The program no longer exists.   

(gdb)   


The segmentation fault happens when I press OK on the firefox
username/password mask.

Using a non-existent username with an empty password does not crash
cupsd, it asks again for username/password.

I tried (I'm curious...) to change the permissions of
/etc/{passwd,shadow} to 644 but nothing changed.

cupsd log, even when using maximum verbosity, does not contain useful
indications.

Have you got any idea about how to resolve? Command line utility seems
to work but I prefer the web interface.

Please Cc: me, I'm not reading the list.

Regards,
-- 
Daniele JID: [EMAIL PROTECTED] (http://www.jabber.org)
and remember: respect is everything . . . . . . . . . . . free your mind


signature.asc
Description: Digital signature


[no subject]

2004-06-01 Thread Marino Daniele








Hi Staff,

Ive got a problem when i try to download. with apt-get,
KDE.

The screen shows that there are unmet dependencies for
KDE.

The repository is debian.fastweb.it.



How i solve the problem??



Thanks a lot

Best regards 

Daniel










DOMANDONA

2003-10-17 Thread Daniele Scollo
	Salve,
ho scaricato l'ultima release di Debian.Nel mio pc ho ora il sistema 
operativo Windows xp.2 Hd uno di 20 Giga e uno di 80.Vorrei Sapere dove 
devo installare linux,se è compatibile con windows xp,come dovrebbero 
essere formattate le partizioni,se posso mettere linux sul secondary ide 
channel anche se ho già installato windows.E se il bootloader funzionera' o 
dovro' riinstallare tutto!

Vorrei essere un utente linux e tentare di abbandonare windows...ma per ora 
vorrei vedere se riesco a trovare un modo di far convivere i due sistemi 
senza che litighino.

RISPONDETEMI vi prego

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


Re: isdn: what I've to do??

2000-10-21 Thread Daniele Cruciani
On Sat, Oct 21, 2000 at 09:10:08AM +0200, Shaul Karl wrote:
snip 
 
  I configure isdn with the prepared script that came with debian
  isdnutils package and those that are generate by isdnconfig utilities
  (and modified by hand).
  
  Now the problem is that the card do not compose number at all.
  
 
 
 What do you mean? What are you getting after issuing:
 
   isdnctrl dial ippp0
 
 I would also try using minicom and some ttyI just to see that I can reach my 
 ISP.

It means that I'm very stupid :(I wasn't doing that last time .. argh!)

Ok, I've checked the error message and fixed eaz and remote number,
thank to you.

Now it seems that the problem is on my isp, or on my ipppd
configuration.

After I've enabled debugging, I can see nothing is sent by remote
host. I use pap (supported by isp) the option ipppd are:

debug
lock
+pwlog
user crxop
papcrypt
+pap
noccp
nolzs
noipdefault
netmask 255.255.255.255
defaultroute
mtu 1500
ipcp-accept-local
ipcp-accept-remote
noipx

I'm configuring it as pointopoint.

 .. snip
 
 In addition to the your init messages I have:
...  
 Oct 16 07:39:30 rakefet kernel: ippp0: dialing 0 725...
 Oct 16 07:39:31 rakefet lpd[230]: restarted
 Oct 16 07:39:31 rakefet ipppd[222]: Local number: 35298903, Remote number: 
 927, Type: outgoing
 Oct 16 07:39:31 rakefet ipppd[222]: PHASE_WAIT - PHASE_ESTABLISHED, ifunit: 
 0, linkunit: 0, fd: 8
 Oct 16 07:39:31 rakefet kernel: isdn_net: ippp0 connected
 Oct 16 07:39:32 rakefet ipppd[222]: Remote message: 
 Oct 16 07:39:32 rakefet ipppd[222]: MPPP negotiation, He: No We: No
 Oct 16 07:39:32 rakefet ipppd[222]: local  IP address 212.179.144.29
 Oct 16 07:39:32 rakefet ipppd[222]: remote IP address 212.25.92.5

Now here is the problem: no Remote message and no MPPP negotiation:

Oct 21 13:35:28 localhost kernel: ippp0: dialing 1 050319...
Oct 21 13:35:31 localhost kernel: isdn_net: ippp0 connected
Oct 21 13:35:31 localhost kernel: isdn_net: chargetime of ippp0 now 6273230
Oct 21 13:35:31 localhost ipppd[3593]: Local number: 050970953, Remote number: 
050319, Type: outgoing
Oct 21 13:35:31 localhost ipppd[3593]: PHASE_WAIT - PHASE_ESTABLISHED, ifunit: 
0, linkunit: 0, fd: 8
Oct 21 13:35:31 localhost ipppd[3593]: sent [0][LCP ConfReq id=0x1 mru 1500 
auth pap magic 0xfd88ea1b pcomp accomp]
Oct 21 13:35:31 localhost ipppd[3593]: rcvd [0][LCP ConfReq id=0x5b auth chap 
md5 magic 0xdf636eec MPmrru 0x5f4 MPdiscr: 0x1 [ 72 73 35 38 30 30 2d 70 
69 2d 31 ]]
Oct 21 13:35:31 localhost ipppd[3593]: sent [0][LCP ConfRej id=0x5b MPmrru 
0x5f4]
Oct 21 13:35:31 localhost ipppd[3593]: rcvd [0][LCP ConfAck id=0x1 mru 1500 
auth pap magic 0xfd88ea1b pcomp accomp]
Oct 21 13:35:31 localhost ipppd[3593]: rcvd [0][LCP ConfReq id=0x5c auth chap 
md5 magic 0xdf636eec MPdiscr: 0x1 [ 72 73 35 38 30 30 2d 70 69 2d 31 ]]
Oct 21 13:35:31 localhost ipppd[3593]: sent [0][LCP ConfNak id=0x5c auth pap]
Oct 21 13:35:31 localhost ipppd[3593]: rcvd [0][LCP ConfReq id=0x5d auth pap 
magic 0xdf636eec MPdiscr: 0x1 [ 72 73 35 38 30 30 2d 70 69 2d 31 ]]
Oct 21 13:35:31 localhost ipppd[3593]: sent [0][LCP ConfAck id=0x5d auth pap 
magic 0xdf636eec MPdiscr: 0x1 [ 72 73 35 38 30 30 2d 70 69 2d 31 ]]
Oct 21 13:35:31 localhost ipppd[3593]: lcp layer is UP
Oct 21 13:35:31 localhost ipppd[3593]: sent [0][PAP AuthReq id=0x1
user=crxop password=my_password_here_is_ok]
Oct 21 13:35:31 localhost ipppd[3593]: rcvd [0][PAP AuthAck id=0x1msg=]
Oct 21 13:35:31 localhost ipppd[3593]: Remote message: 
Oct 21 13:36:01 localhost ipppd[3593]: sent [0][LCP TermReq id=0x2 61 75 74 68 
20 66 61 69 6c 75 72 65]
Oct 21 13:36:01 localhost ipppd[3593]: rcvd [0][LCP TermAck id=0x2]
Oct 21 13:36:01 localhost ipppd[3593]: Connection terminated.

 [08:56:08 /tmp]$ exit
 exit

Now that the interface is ok, I still need to test with seyon?

-- 
Daniele Cruciani [EMAIL PROTECTED]
Universita` di Pisa - Informatica -
http://www.cli.di.unipi.it/~cruciani/



Re: isdn: what I've to do??

2000-10-20 Thread Daniele Cruciani
 comes from but I believe the kernel config help 
 text mentions this. In any case:
 
 [20:54:13 /tmp]$ grep ISDN /boot/config-2.2.17
 # ISDN subsystem
 CONFIG_ISDN=m
 CONFIG_ISDN_PPP=y
 CONFIG_ISDN_PPP_VJ=y
 CONFIG_ISDN_MPP=y
 CONFIG_ISDN_AUDIO=y
 CONFIG_ISDN_TTY_FAX=y
 # ISDN feature submodules
 # CONFIG_ISDN_DRV_LOOP is not set
 # CONFIG_ISDN_DIVERSION is not set
 # Passive ISDN cards
 CONFIG_ISDN_DRV_HISAX=m
 # Active ISDN cards
 # CONFIG_ISDN_DRV_ICN is not set
 # CONFIG_ISDN_DRV_PCBIT is not set
 # CONFIG_ISDN_DRV_SC is not set
 # CONFIG_ISDN_DRV_ACT2000 is not set
 # CONFIG_ISDN_DRV_EICON is not set
 # CONFIG_ISDN_DRV_AVMB1 is not set
 [20:55:17 /tmp]$ grep SLIP /boot/config-2.2.17
 CONFIG_SLIP=m
 CONFIG_SLIP_COMPRESSED=y
 CONFIG_SLIP_SMART=y
 # CONFIG_SLIP_MODE_SLIP6 is not set
 CONFIG_PPP=m
 # CONFIG_SYNCLINK_SYNCPPP is not set
 CONFIG_ISDN_PPP=y
 CONFIG_ISDN_PPP_VJ=y
 [20:55:58 /tmp]$ 
 
 
   
   
   
I'm not subscribed to this list, please cc to me at
[EMAIL PROTECTED]
Thank

Daniele.

-- 
Daniele Cruciani [EMAIL PROTECTED]
Universita` di Pisa - Informatica -
http://www.cli.di.unipi.it/~cruciani/


-- 
Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null

   
   -- 
 
 Shaul Karl [EMAIL PROTECTED]
  
  -- 
  Daniele Cruciani [EMAIL PROTECTED]
  Universita` di Pisa - Informatica -
  http://www.cli.di.unipi.it/~cruciani/
 
 -- 
   
   Shaul Karl [EMAIL PROTECTED]

-- 
Daniele Cruciani [EMAIL PROTECTED]
Universita` di Pisa - Informatica -
http://www.cli.di.unipi.it/~cruciani/



isdn: what I've to do??

2000-10-19 Thread Daniele Cruciani
Hi all,

   I've installed debian package isdnutils (or such), but i've no idea
of what i've to do in order to have a running ipppd.

What do i have to configure? How it run? what I've to launch? what
evil is that HOWTO?

I'm reading the faq on web and I haven't still understand nothing.

I've only to use my isdn card for calling my isp.

The card work (module is loaded with no problem).

I've generated device.ippp0 and ipppd.ippp0 with isdnconfig, and
modified those files.

launching ipppd say:
Sorry - this system lacks PPP kernel support.
Check whether you configured at least the ippp0 device!

Yes! I do it.

I'm not subscribed to this list, please cc to me at
[EMAIL PROTECTED]
Thank

Daniele.

-- 
Daniele Cruciani [EMAIL PROTECTED]
Universita` di Pisa - Informatica -
http://www.cli.di.unipi.it/~cruciani/



Wanted a free library for computational geometry

2000-05-16 Thread Daniele Cruciani
Hi,

I'm going to write some programs of computational geometry, so i
need a library (probably a set of libs) for data type and
algorithms. AFAIK there are 2 library that could hit my need:
LEDA (http://www.mpi-sb.mpg.de/LEDA/) for data type and CGAL
(http://www.cs.ruu.nl/CGAL/) for algorithms.
But no one of that are GPLed.

I think I can use glib in place of LEDA, but it's not enought for me
so i need to link agaist something other.
I've no starting point at all for replacement of CGAL.


Any suggestion?

-- 
Daniele Cruciani [EMAIL PROTECTED]
Check my GPG sign at ..??..



Re: Wanted a free library for computational geometry

2000-05-16 Thread Daniele Cruciani
On Tue, May 16, 2000 at 11:36:58AM -0700, Sean 'Shaleh' Perry wrote:
 
 On 16-May-2000 Daniele Cruciani wrote:
  Hi,
  
  I'm going to write some programs of computational geometry, so i
  need a library (probably a set of libs) for data type and
  algorithms. AFAIK there are 2 library that could hit my need:
  LEDA (http://www.mpi-sb.mpg.de/LEDA/) for data type and CGAL
  (http://www.cs.ruu.nl/CGAL/) for algorithms.
  But no one of that are GPLed.
  
  I think I can use glib in place of LEDA, but it's not enought for me
  so i need to link agaist something other.
  I've no starting point at all for replacement of CGAL.
  
  
  Any suggestion?
  
 
 I am assuming that you have searched google.com and freshmeat?  Python has
 numerous math libs, perhaps you could crib some of their work.  Much of their
 math code is actually in C, then wrapped as a python module.
 

It's not exactly what i need: math library is good for numerical
computation, but there is no routine for geometrical computation such
as convex hull, seraching pair of closest points and so.
GDK library have similar routines but it don't menage flot number, and
implemenatation is far to be optimal.
I need somethink like gmp library but for geometrical routine, or
maybe like gsl.

Really I don't think i can find it on freshmeat or as a python
library, but in a research institute maybe, however i'll have a look,
thank you.


-- 
Daniele Cruciani [EMAIL PROTECTED]
Check my GPG sign at ..??..



Re: ext2resize: anyone know know to use it?

2000-03-31 Thread ---daniele---
On Thu, Mar 30, 2000 at 03:42:07PM -0500, Peter S Galbraith wrote:
 
 Does anyone know what to do with ext2resize?
 The docs quickly explain how to resize a filesystem in a file,
 but not one in a partition.  I assume the partition table must be
 changed as well but it does say how, and in what order.

ext2resize dosen't resize partition.
You can resize filesystem by ext2resize and partition by fdisk.

You can use parted for resize fs and partition.

Ciao

PS: sorry for my bad English but I'm Italian ...
-- 
Daniele Nicolodi
   -
 °°° Written and sent with only FREE and OPEN SOURCE software °°°


Installazione su HD secondario?

1999-02-11 Thread Daniele Rossi
Vorrei sapere se è possibile installare Linux su un HD secondary master con
WIN98 sul primary master e realizzare una configurazione dual boot.

Grazie e cordiali saluti

Daniele
email: [EMAIL PROTECTED]