3.13 Kernel

2014-02-24 Thread David Baron
Is it just my very subjective impression or are these significantly faster than 
3.12??


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/16043228.LCojq5odpY@dovidhalevi



Re: Am I paranoid?

2014-02-24 Thread Scott Ferguson
On 25/02/14 17:22, John L. Ries wrote:
> On Mon, 24 Feb 2014, Scott Ferguson wrote:
> 
>> Yes - you are paranoid. There is no conspiracy. Those files were
>> installed by the operator/user/sysadmin.
>> So relax. :)
>>
> Besides, we're not scheduled to come after you until next month.

That's what you want us to believe ;)



Kind regards


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/530c465b.7050...@gmail.com



Re: Am I paranoid?

2014-02-24 Thread Scott Ferguson
Thanks for replying

On 25/02/14 17:10, Reco wrote:
>  Hi.
> 
> On Tue, 25 Feb 2014 16:48:37 +1100
> Scott Ferguson  wrote:
> 
>> Please note the difference between *are/is* installed, and *were* installed.
> 
> There's a difference, indeed.
> 
> 
>> I would expect dpkg -S to fail if those packages had been wrongly
>> removed (corrupting dpkg database) but the pam and man files are
>> extremely unlikely to be the result of malware. The OP never responded
>> to my query about the other files that would have been installed - or
>> checked the installation history with dpkg --get-selections (it won't
>> show if purge was run, but then, those files would likely not be left).
> 
> My guess is that this situation is the result of invoking:
> dpkg -X *deb /
> 
> or, simply unpacking a tarball into /.
> But your guess is as good as mine.

Maybe, certainly my guesses as to the cause are similar... the tarball'd
be tricky (debsums).

> 
> What I cannot understand is how exactly removing a package would fix
> this issue if both apt and dpkg claim that the package is not installed.

*If* the package was legitimately installed - then it's removal would
ease Ha's concern. Though without understanding how it happened it's no
less likely to happen again.

I haven't seen the result of checking the selections with dpkg. There
are a couple of scenarios where the user/operator can damage the dpkg
database - I'm not familiar with all of them.


> 
> 
>> It is possible[*1] vmtoolsd is a trojan - though that scenario means the
>> rest of it's expected files would likely be there (and dpkg -S would
>> find it) - an md5sum is a simple way to check.
> 
> If you browse this part of thread up, you'll see that OP did checked
> the root filesystem with debsums, and debsums haven't found anything.
> Therefore I agree that it's unlikely that vmtoolsd is a malware.
> 
> 
>> Simply re-installing a system because some one "suspects" a security
>> breach - will zero evidence to support the suspicion, is not a good
>> idea.
> 
> Agreed. That's why I wrote earlier that no reinstall is necessary.

Unfortunately the OP's editing combined with my free time limitations
mean I'm not sure who said what - so that comment wasn't aimed at any
particular participant in the thread. It's a convoluted thread and at
present there's still three recent posts I haven't read.

> 
> 
>> By all mean re-install from a known clean source - but first check
>> to see if the installation was legitimate (check package selections
>> status), check "suspect" file/s. Otherwise it confirms nothing and do
>> even less to help detect and defend against real malware.
>>
>> Always test when security is in doubt - but it's probably not a good
>> idea to rule out user error.
> 
> Yet, there is another thing - OP claims that he didn't install anything
> like this.

I'd hate to hold anyone responsible for their memory - AFAIK no one can
remember what they don't remember (this is why we take notes and run
script) - I can only assume their memory is complete. With other areas a
guess/"instinct" may be good enough - with security I prefer proof.
Even if they didn't specifically install open-vm-tools it could well
have been a dependency

> 
> Reco
> 
> 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/530c4542.6070...@gmail.com



Re: Am I paranoid?

2014-02-24 Thread Zenaan Harkness
On 2/25/14, Zenaan Harkness  wrote:
>>> > debsums -ac -r /mnt
>>> >
>>> Great, thanks! I didn't know about debsums.
>>> However, it does not report anything when started from the debian live
>>> usb.
>
> Hopefully you realise that should take quite a while to run, and you
> correctly mounted etc for your check...

"mounted, and etc..., for your check"

sorry for confusion.


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



Re: Am I paranoid?

2014-02-24 Thread Zenaan Harkness
>> > debsums -ac -r /mnt
>> >
>> Great, thanks! I didn't know about debsums.
>> However, it does not report anything when started from the debian live
>> usb.

Hopefully you realise that should take quite a while to run, and you
correctly mounted etc for your check...


> Well, that's good. Meaning, that's simply a misuse of root, not a
> rooted host. No reinstall in necessary, probably, simple removal of:
>
> /etc/init.d/vmtoolsd
> /etc/pam.d/vmtoolsd
> /usr/bin/vmtoolsd

Looking at those files makes me think of a possible installation error:
that one or more partitions on the old install were used and mounted
"without reformatting" for the new install.

Is there a timestamp check that could be performed (install time/date
for the file, rather than the datetime that ls -l shows?


-- 
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/CAOsGNSThq-ZxY1=tkkese9eidoj15xtyzojqexferzezoux...@mail.gmail.com



Re: Am I paranoid?

2014-02-24 Thread John L. Ries

On Mon, 24 Feb 2014, Scott Ferguson wrote:


Yes - you are paranoid. There is no conspiracy. Those files were
installed by the operator/user/sysadmin.
So relax. :)


Besides, we're not scheduled to come after you until next month.

--|
John L. Ries  |
Salford Systems   |
Phone: (619)543-8880 x107 |
or (435)867-8885  |
--|


--
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/alpine.LFD.2.11.1402242321100.2861@godzilla.salford.riesenhaus.local



Re: Am I paranoid?

2014-02-24 Thread Reco
 Hi.

On Tue, 25 Feb 2014 16:48:37 +1100
Scott Ferguson  wrote:

> Please note the difference between *are/is* installed, and *were* installed.

There's a difference, indeed.


> I would expect dpkg -S to fail if those packages had been wrongly
> removed (corrupting dpkg database) but the pam and man files are
> extremely unlikely to be the result of malware. The OP never responded
> to my query about the other files that would have been installed - or
> checked the installation history with dpkg --get-selections (it won't
> show if purge was run, but then, those files would likely not be left).

My guess is that this situation is the result of invoking:
dpkg -X *deb /

or, simply unpacking a tarball into /.
But your guess is as good as mine.

What I cannot understand is how exactly removing a package would fix
this issue if both apt and dpkg claim that the package is not installed.


> It is possible[*1] vmtoolsd is a trojan - though that scenario means the
> rest of it's expected files would likely be there (and dpkg -S would
> find it) - an md5sum is a simple way to check.

If you browse this part of thread up, you'll see that OP did checked
the root filesystem with debsums, and debsums haven't found anything.
Therefore I agree that it's unlikely that vmtoolsd is a malware.


> Simply re-installing a system because some one "suspects" a security
> breach - will zero evidence to support the suspicion, is not a good
> idea.

Agreed. That's why I wrote earlier that no reinstall is necessary.


> By all mean re-install from a known clean source - but first check
> to see if the installation was legitimate (check package selections
> status), check "suspect" file/s. Otherwise it confirms nothing and do
> even less to help detect and defend against real malware.
> 
> Always test when security is in doubt - but it's probably not a good
> idea to rule out user error.

Yet, there is another thing - OP claims that he didn't install anything
like this.

Reco


-- 
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/20140225101059.4ab6fc61ff53039be28f7...@gmail.com



Re: Am I paranoid?

2014-02-24 Thread Scott Ferguson
On 25/02/14 16:16, Reco wrote:
>  Hi.
> 
> On Tue, 25 Feb 2014 11:07:23 +1100
> Scott Ferguson  wrote:
> 
>> Am I missing part of the thread?
> 
> Probably no, as you've replied in it:
> 
> https://lists.debian.org/debian-user/2014/02/msg01346.html
> 
> 
>>  Where did the OP check to see if
>> open-vm-tools and open-vm-toolbox *were* installed. I see where to OP
>> tried looking for a filename using a command that expects a package name...
> 
> This:
> 
>> dpkg --search /usr/bin/vmtoolsd
>> dpkg-query: no path found matching pattern /usr/bin/vmtoolsd
> 
> equals to 'no package owns /usr/bin/vmtoolsd'.
> 'open-vm-tools' package owns /usr/bin/vmtoolsd file.
> 
> If open-vm-tools is installed - 'dpkg -S' would find it.
> 
> 
> Reco
> 
> 


Please note the difference between *are/is* installed, and *were* installed.

I would expect dpkg -S to fail if those packages had been wrongly
removed (corrupting dpkg database) but the pam and man files are
extremely unlikely to be the result of malware. The OP never responded
to my query about the other files that would have been installed - or
checked the installation history with dpkg --get-selections (it won't
show if purge was run, but then, those files would likely not be left).

It is possible[*1] vmtoolsd is a trojan - though that scenario means the
rest of it's expected files would likely be there (and dpkg -S would
find it) - an md5sum is a simple way to check.
Simply re-installing a system because some one "suspects" a security
breach - will zero evidence to support the suspicion, is not a good
idea. By all mean re-install from a known clean source - but first check
to see if the installation was legitimate (check package selections
status), check "suspect" file/s. Otherwise it confirms nothing and do
even less to help detect and defend against real malware.

Always test when security is in doubt - but it's probably not a good
idea to rule out user error.

[*1] the first reported case.

Kind regards


-- 
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/530c2eb5.1070...@gmail.com



Re: Am I paranoid?

2014-02-24 Thread Reco
 Hi.

On Tue, 25 Feb 2014 11:07:23 +1100
Scott Ferguson  wrote:

> Am I missing part of the thread?

Probably no, as you've replied in it:

https://lists.debian.org/debian-user/2014/02/msg01346.html


>  Where did the OP check to see if
> open-vm-tools and open-vm-toolbox were installed. I see where to OP
> tried looking for a filename using a command that expects a package name...

This:

> dpkg --search /usr/bin/vmtoolsd
> dpkg-query: no path found matching pattern /usr/bin/vmtoolsd

equals to 'no package owns /usr/bin/vmtoolsd'.
'open-vm-tools' package owns /usr/bin/vmtoolsd file.

If open-vm-tools is installed - 'dpkg -S' would find it.


Reco


-- 
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/20140225091635.79460dd6cdd1d3f97cb3b...@gmail.com



Re: open files/ forcing dismount

2014-02-24 Thread Scott Ferguson
On 25/02/14 14:58, Zenaan Harkness wrote:
> On 2/25/14, Scott Ferguson  wrote:
>> On 25/02/14 14:21, Zenaan Harkness wrote:
>>> One long term "non-easy" issue that keeps coming up a few times a
>>> year, is attempting to dismount an external drive/usb stick and this
>>> failing due to a file being opened.
>>>

>>
>> Is that the process that shows how much space is available in the GNOME
>> file manager widget?
> 
> No idea. I use the cmd line not a 'file manager'.
> $ ps aux|grep 10600
> justa10600  0.0  0.0 132636  3704 ?Sl   Feb24   0:00
> /usr/lib/gvfs/gvfsd-metadata


https://developer.gnome.org/gio/stable/GVolumeMonitor.html
I've got nothing.
I'm guessing you wouldn't have Tracker installed:-
http://en.wikipedia.org/wiki/MetaTracker

Nautilus? Perhaps they use the hooks from the gvfs-metadata?



> $ man gvfs-metadata
> No manual entry for gvfs-metadata

http://manpages.ubuntu.com/manpages/saucy/man1/gvfsd-metadata.1.html

> 
> 
>> You don't have your file manager attempting to display the contents of a
>> drive you simultaneously want to unmount (and therefore not display, or
>> it's free space) - do you?
> 
> I'm pretty sure not: besides the panel and plugins (I know, dirty,
> dirty screen),

metho and a rag will fix that. ;)

> I run sensors viewer, firefox and some xterms. It's
> about as simple as it gets ('cept those dirty xfce4 panels!)
> 
>> ps aux | grep -i gproxyvol
> 
> Nope. Blank as it greps.
> 
> 

so maybe nothing is using it. Possibly?:-
# cp ~/.local/share/gvfs-metadata{,.bak}
# rm -rf ~/.local/share/gvfs-metadata


Kind regards


-- 
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/530c268e.2030...@gmail.com



Re: open files/ forcing dismount

2014-02-24 Thread Zenaan Harkness
On 2/25/14, Scott Ferguson  wrote:
> On 25/02/14 14:21, Zenaan Harkness wrote:
>> One long term "non-easy" issue that keeps coming up a few times a
>> year, is attempting to dismount an external drive/usb stick and this
>> failing due to a file being opened.
>>
>> lsof is a good start, and sometimes advised in the error message with
>> some other command.
>>
>> However, what ends up the case is gvfs has it's greedy fingers stuck
>> right up the drive and refuses to let go!
>>
>> There _ought_ be a simple force dismount option. There ought be one
>> command (I know, let's say "umount") that achieves this, optionally
>> with a --quiet option so it doesn't stop to ask the user in case some
>> file is actually open for editing.
>>
>> Does such a thing exist?
>>
>> But more importantly, how do I cause gvfs to "detach", e.g.:
>> $ sudo umount -vd /media/tmp # same result with -i option
>> umount: /media/tmp: device is busy.
>>  (In some cases useful info about processes that use
>>  the device is found by lsof(8) or fuser(1))
>
> I don't run GNOME, but I imagined gvfs didn't use mount.

I run XFCE, and I have the "Mount Plugin" applet, to assist
unmounting, but it seems to have the same problem.


>> $ lsof /media/tmp/
>> COMMAND PID  USER   FD   TYPE DEVICE SIZE/OFF  NODE NAME
>> gvfsd-met 10600 justa  memREG  254,532768 49238
>> /media/tmp/352/.local/share/gvfs-metadata/uuid-e4dffbb8-6a22-4ae5-99a7-11d3734976c3-b71ca6c5.log
>> gvfsd-met 10600 justa  memREG  254,5  696 49235
>> /media/tmp/352/.local/share/gvfs-metadata/uuid-e4dffbb8-6a22-4ae5-99a7-11d3734976c3
>> gvfsd-met 10600 justa9r   REG  254,5  696 49235
>> /media/tmp/352/.local/share/gvfs-metadata/uuid-e4dffbb8-6a22-4ae5-99a7-11d3734976c3
>> gvfsd-met 10600 justa   10u   REG  254,532768 49238
>> /media/tmp/352/.local/share/gvfs-metadata/uuid-e4dffbb8-6a22-4ae5-99a7-11d3734976c3-b71ca6c5.log
>>
>> $ gvfs-mount -l # extract follows:
>> Volume(3): 1.1 GB Volume
>>  Type: GProxyVolume (GProxyVolumeMonitorUDisks2)
>>  Mount(0): 1.1 GB Volume -> file:///media/tmp
>>   Type: GProxyMount (GProxyVolumeMonitorUDisks2)
>>
>> $ gvfs-mount -ui /media/tmp/
>> Error unmounting mount: One or more programs are preventing the
>> unmount operation.
>>
>> WTFiretruck?
>
> :)
>
>
>
> Is that the process that shows how much space is available in the GNOME
> file manager widget?

No idea. I use the cmd line not a 'file manager'.
$ ps aux|grep 10600
justa10600  0.0  0.0 132636  3704 ?Sl   Feb24   0:00
/usr/lib/gvfs/gvfsd-metadata
$ man gvfs-metadata
No manual entry for gvfs-metadata


> You don't have your file manager attempting to display the contents of a
> drive you simultaneously want to unmount (and therefore not display, or
> it's free space) - do you?

I'm pretty sure not: besides the panel and plugins (I know, dirty,
dirty screen), I run sensors viewer, firefox and some xterms. It's
about as simple as it gets ('cept those dirty xfce4 panels!)

> ps aux | grep -i gproxyvol

Nope. Blank as it greps.


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



Re: Am I paranoid?

2014-02-24 Thread Scott Ferguson
On 25/02/14 11:03, Scott Ferguson wrote:
> Yes - you are paranoid. There is no conspiracy. Those files were
> installed by the operator/user/sysadmin.
> So relax. :)
> 
> If you want to remove them:-
> # apt-get remove open-vm-tools open-vm-toolbox
and
# apt-get remove zerofree open-vm-dkms libdumbnet1

> 
> 
> On 25/02/14 03:04, ha wrote:
>>
>>> I did. It only shows that files are there:
>>> /etc/pam.d/vmtoolsd
>>> /usr/bin/vmtoolsd
> 
> etc/pam.d/vmtoolsd
> /usr/bin/vmtoolsd
> /usr/lib/libvmtools.a
> /usr/lib/libvmtools.so
> /usr/lib/libvmtools.so.0
> /usr/lib/libvmtools.so.0.0.0
> /usr/share/man/man3/libvmtools.3.gz
> /usr/share/open-vm-tools/messages/de/vmtoolsd.vmsg
> /usr/share/open-vm-tools/messages/ja/vmtoolsd.vmsg
> /usr/share/open-vm-tools/messages/ko/vmtoolsd.vmsg
> 
>>
>> By the way, there is also /etc/vmware-tools folder
> 
> 
> It's difficult to tell who you're quoting as you've stripped all the
> attributions from the post.
> You'll also find you have:-
> /etc/vmware-tools/xautostart.conf
> /etc/vmware-tools/poweroff-vm-default
> /etc/vmware-tools/poweron-vm-default
> /etc/vmware-tools/resume-vm-default
> /etc/vmware-tools/scripts/vmware/network
> /etc/vmware-tools/statechange.subr
> /etc/vmware-tools/suspend-vm-default
> /etc/vmware-tools/tools.conf
> /etc/vmware-tools/vm-support

Unless, most likely, you've since removed the packages (and open-vm-dkms
and zerofree)

There's an easy test:-
$ dpkg --get-selections | grep 'zerofree\|open-vm'

> 



 dpkg --search ${filename}
> 
> Will search for the installed *package* name

Woops! No it won't. Apologies to whoever suggested that (I didn't strip
the attributions.)  --search is the long-hand for -S.
It *will* search for a file installed as part of a package and the
following should happen if openvm-tools and openvm-toolbox have been
installed and removed at some point (but not purged):-
$ dpkg -S vmtoolsd
open-vm-tools: /etc/pam.d/vmtoolsd


Kind regards


-- 
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/530c148f.20...@gmail.com



Re: open files/ forcing dismount

2014-02-24 Thread Scott Ferguson
On 25/02/14 14:21, Zenaan Harkness wrote:
> One long term "non-easy" issue that keeps coming up a few times a
> year, is attempting to dismount an external drive/usb stick and this
> failing due to a file being opened.
> 
> lsof is a good start, and sometimes advised in the error message with
> some other command.
> 
> However, what ends up the case is gvfs has it's greedy fingers stuck
> right up the drive and refuses to let go!
> 
> There _ought_ be a simple force dismount option. There ought be one
> command (I know, let's say "umount") that achieves this, optionally
> with a --quiet option so it doesn't stop to ask the user in case some
> file is actually open for editing.
> 
> Does such a thing exist?
> 
> But more importantly, how do I cause gvfs to "detach", e.g.:
> $ sudo umount -vd /media/tmp # same result with -i option
> umount: /media/tmp: device is busy.
>  (In some cases useful info about processes that use
>  the device is found by lsof(8) or fuser(1))

I don't run GNOME, but I imagined gvfs didn't use mount.

> 
> $ lsof /media/tmp/
> COMMAND PID  USER   FD   TYPE DEVICE SIZE/OFF  NODE NAME
> gvfsd-met 10600 justa  memREG  254,532768 49238
> /media/tmp/352/.local/share/gvfs-metadata/uuid-e4dffbb8-6a22-4ae5-99a7-11d3734976c3-b71ca6c5.log
> gvfsd-met 10600 justa  memREG  254,5  696 49235
> /media/tmp/352/.local/share/gvfs-metadata/uuid-e4dffbb8-6a22-4ae5-99a7-11d3734976c3
> gvfsd-met 10600 justa9r   REG  254,5  696 49235
> /media/tmp/352/.local/share/gvfs-metadata/uuid-e4dffbb8-6a22-4ae5-99a7-11d3734976c3
> gvfsd-met 10600 justa   10u   REG  254,532768 49238
> /media/tmp/352/.local/share/gvfs-metadata/uuid-e4dffbb8-6a22-4ae5-99a7-11d3734976c3-b71ca6c5.log
> 
> $ gvfs-mount -l # extract follows:
> Volume(3): 1.1 GB Volume
>  Type: GProxyVolume (GProxyVolumeMonitorUDisks2)
>  Mount(0): 1.1 GB Volume -> file:///media/tmp
>   Type: GProxyMount (GProxyVolumeMonitorUDisks2)
> 
> $ gvfs-mount -ui /media/tmp/
> Error unmounting mount: One or more programs are preventing the
> unmount operation.
> 
> WTFiretruck?

:)



Is that the process that shows how much space is available in the GNOME
file manager widget?
You don't have your file manager attempting to display the contents of a
drive you simultaneously want to unmount (and therefore not display, or
it's free space) - do you?

ps aux | grep -i gproxyvol

> 
> Of course a reboot would work, but that' just not the GNU way! :)
> 
> Craziness ending suggestions REALLY appreciated,
> Zenaan
> 
> 

Kind regards


-- 
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/530c1162.30...@gmail.com



open files/ forcing dismount

2014-02-24 Thread Zenaan Harkness
One long term "non-easy" issue that keeps coming up a few times a
year, is attempting to dismount an external drive/usb stick and this
failing due to a file being opened.

lsof is a good start, and sometimes advised in the error message with
some other command.

However, what ends up the case is gvfs has it's greedy fingers stuck
right up the drive and refuses to let go!

There _ought_ be a simple force dismount option. There ought be one
command (I know, let's say "umount") that achieves this, optionally
with a --quiet option so it doesn't stop to ask the user in case some
file is actually open for editing.

Does such a thing exist?

But more importantly, how do I cause gvfs to "detach", e.g.:
$ sudo umount -vd /media/tmp # same result with -i option
umount: /media/tmp: device is busy.
 (In some cases useful info about processes that use
 the device is found by lsof(8) or fuser(1))

$ lsof /media/tmp/
COMMAND PID  USER   FD   TYPE DEVICE SIZE/OFF  NODE NAME
gvfsd-met 10600 justa  memREG  254,532768 49238
/media/tmp/352/.local/share/gvfs-metadata/uuid-e4dffbb8-6a22-4ae5-99a7-11d3734976c3-b71ca6c5.log
gvfsd-met 10600 justa  memREG  254,5  696 49235
/media/tmp/352/.local/share/gvfs-metadata/uuid-e4dffbb8-6a22-4ae5-99a7-11d3734976c3
gvfsd-met 10600 justa9r   REG  254,5  696 49235
/media/tmp/352/.local/share/gvfs-metadata/uuid-e4dffbb8-6a22-4ae5-99a7-11d3734976c3
gvfsd-met 10600 justa   10u   REG  254,532768 49238
/media/tmp/352/.local/share/gvfs-metadata/uuid-e4dffbb8-6a22-4ae5-99a7-11d3734976c3-b71ca6c5.log

$ gvfs-mount -l # extract follows:
Volume(3): 1.1 GB Volume
 Type: GProxyVolume (GProxyVolumeMonitorUDisks2)
 Mount(0): 1.1 GB Volume -> file:///media/tmp
  Type: GProxyMount (GProxyVolumeMonitorUDisks2)

$ gvfs-mount -ui /media/tmp/
Error unmounting mount: One or more programs are preventing the
unmount operation.

WTFiretruck?

Of course a reboot would work, but that' just not the GNU way! :)

Craziness ending suggestions REALLY appreciated,
Zenaan


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



Re: Wireless AP setup: RTL8188CUS

2014-02-24 Thread Scott Ferguson
On 25/02/14 07:03, Csanyi Pal wrote:
> Csanyi Pal  writes:
> 
>> Csanyi Pal  writes:
>> 
>>> Hi Selim,
>>> 
>>> "Selim T. Erdogan"  writes:
>>> 
 Csanyi Pal,  3.02.2014:
> Csanyi Pal  writes:
> 
>> Csanyi Pal  writes:
>> 
>>> Scott Ferguson 
>>> writes:
>>> 
 On 02/02/14 09:14, Csanyi Pal wrote:
> Scott Ferguson 
> writes:
> 
>> On 01/02/14 21:57, Csanyi Pal wrote:
>>> Scott Ferguson
>>>  writes:
>>> 
 On 31/01/14 04:53, Csanyi Pal wrote:
> 
> I just bought an USB dongle nano Netis
> WF-2120 adapter.

WI1 chip1: Realtek RTL8188CUS
FCC ID: T58WF2120R
https://apps.fcc.gov/oetcf/eas/reports/GenericSearchResult.cfm?RequestTimeout=500



> I want to set it up on my
> headless Debian Wheezy server as a Wireless 
> Access Point.
> 
>> 
> 

>>> 
>>> sudo make modules_install
>>> 
>>> This did install the modules in the right place.
>>> 
>>> Now I'm trying to setup the network and interfaces so get the
>>> usb wireless adapter to works.
>>> 
>>> I'm following the advices described here: 
>>> http://www.cyberciti.biz/faq/debian-ubuntu-linux-setting-wireless-access-point/
>>>
>>>
>>> and here:
>>> https://agentoss.wordpress.com/2011/10/31/creating-a-wireless-access-point-with-debian-linux/
>>>
>>>
>>> sofar without success..
>>> 
>>> When I run the command bellow: sudo hostapd -dd
>>> /etc/hostapd/hostapd.conf
>>> 
>>> I get the messages: random: Trying to read entropy from
>>> /dev/random Configuration file: /etc/hostapd/hostapd.conf Line 6:
>>> invalid/unknown driver 'rtl8192sfw' 1 errors found in
>>> configuration file '/etc/hostapd/hostapd.conf'
>>> 
>>> I tried with driver names: rtl8192cu

FWIW that's the one I'd try (only if the stock module failed would I
compile one from non-Debian source).

>>>, rtlwifi to, but without
>>> any success. Which drivername is walid? How can I find the proper
>>> drivername for my usb wireless network adapter?

See above paragraph (based on the chipset from the FCCID)


apropos of little what do you get from?:-
$ mlocate rtl8192sfw

>> 
>> Moreover, now, when I connect my usb wifi adapter to my Bubba 2, I
>> get a new interface, the wlanN, where the N is a number, from 1 to
>> 5 so far.

That's as it should be I believe.

>> 
>> How can I setup this, to always get the wlan0 name of the wifi
>> interface?

$ grep wlan /etc/udev/rules.d/70-persistent-net.rules
if it's there (I don't have one I can check at present) then edit the
entry matching the correct MAC address and change it's name from wlanN
to wlan0, then remove the other wlanN lines. You'll need to be root to
edit the file.

> 
> OK, I have now the followings in my /etc/network/interfaces file:

> 
> # wifi on wlan0 allow-hotplug wlan0 iface wlan0 inet manual
> 

> 
> Now, when I run the command: sudo ifup wlan0
> 
> I get nothing as output..
> 
> If I run it again, I get: ifup: interface wlan0 already configured

Yes. ifup only does something if the net device is not up already.
Instead try:-
# ifdown wlan0;ifup wlan0

> 
> but, the command sudo ifconfig -a gives to me only: eth0  Link
> encap:Ethernet  HWaddr 00:22:02:00:07:3c

> 
> eth1  Link encap:Ethernet  HWaddr 00:22:02:00:07:3d

> 
> loLink encap:Local Loopback

> and sudo iwconfig lono wireless extensions.
> 
> eth0  no wireless extensions.
> 
> eth1  no wireless extensions.
> 
> Where is the wlan0 interface?

You set it to manual (so it's off somewhere reading the manual?) ;p

It's there, but you haven't specified it e.g.:-
# iwconfig wlan0
which is why iwconfig it's trying all of the *configured* network devices.

man interfaces 
"The manual Method
   This method may be used to define interfaces for which *no*
configuration is done by default. Such interfaces can be configured
manually by means of up and down commands or /etc/net‐work/if-*.d scripts."

What I take that to mean is - that unless you have something in
/etc/network/if-*.d then the if up/down commands need to be qualified.
.i.e issuing:-
# ifup wlan0
is interpreted as "do nothing to wlan0". Compare that to "ifup eth1"
which is interpreted as "ifup eth1 "



Ref:-
https://wiki.debian.org/WiFi
https://wiki.debian.org/WiFi/HowToUse
http://linux-wless.passys.nl/query_alles.php



Kind regards


-- 
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/530c06f3.9080...@gmail.com



Re: Am I paranoid?

2014-02-24 Thread Scott Ferguson
On 25/02/14 04:44, Reco wrote:
> On Mon, 24 Feb 2014 18:26:30 +0100
> Nemeth Gyorgy  wrote:
> 
>> 2014-02-24 18:05 keltezéssel, Reco írta:
>>> Well, that's good. Meaning, that's simply a misuse of root, not a
>>> rooted host. No reinstall in necessary, probably, simple removal of:
>>>
>>> /etc/init.d/vmtoolsd
>>> /etc/pam.d/vmtoolsd
>>> /usr/bin/vmtoolsd
>>>
>>> should do it.
>>
>> Or simply apt-get purge open-vm-tools.
> 
> Which OP doesn't have installed :)
> Reading all mails in the thread is a good habit - saves you these
> mistakes.
> 
> Reco
> 
> 


Am I missing part of the thread?  Where did the OP check to see if
open-vm-tools and open-vm-toolbox were installed. I see where to OP
tried looking for a filename using a command that expects a package name...



Kind regards


-- 
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/530bdebb.7080...@gmail.com



Re: Am I paranoid?

2014-02-24 Thread Scott Ferguson
Yes - you are paranoid. There is no conspiracy. Those files were
installed by the operator/user/sysadmin.
So relax. :)

If you want to remove them:-
# apt-get remove open-vm-tools open-vm-toolbox



On 25/02/14 03:04, ha wrote:
> 
>> I did. It only shows that files are there:
>> /etc/pam.d/vmtoolsd
>> /usr/bin/vmtoolsd

etc/pam.d/vmtoolsd
/usr/bin/vmtoolsd
/usr/lib/libvmtools.a
/usr/lib/libvmtools.so
/usr/lib/libvmtools.so.0
/usr/lib/libvmtools.so.0.0.0
/usr/share/man/man3/libvmtools.3.gz
/usr/share/open-vm-tools/messages/de/vmtoolsd.vmsg
/usr/share/open-vm-tools/messages/ja/vmtoolsd.vmsg
/usr/share/open-vm-tools/messages/ko/vmtoolsd.vmsg

>
> By the way, there is also /etc/vmware-tools folder


It's difficult to tell who you're quoting as you've stripped all the
attributions from the post.
You'll also find you have:-
/etc/vmware-tools/xautostart.conf
/etc/vmware-tools/poweroff-vm-default
/etc/vmware-tools/poweron-vm-default
/etc/vmware-tools/resume-vm-default
/etc/vmware-tools/scripts/vmware/network
/etc/vmware-tools/statechange.subr
/etc/vmware-tools/suspend-vm-default
/etc/vmware-tools/tools.conf
/etc/vmware-tools/vm-support


 This rather highlights why I like Arch's package manager (Pacman.) more
 than APT. Pacman features a command (pacman -Qo ) that explicitly
 checks a file you specify for package ownership.
>>>
>>> dpkg --search ${filename}

Will search for the installed *package* name
"vmtoolsd" is *not* the package name
"open-vm-tools" is

So you 'could':-
dpkg --search open-vm-tools


It's unlikely to be an attempted backdoor - more likely it was simply
unwittingly installed as part of something else e.g. open-vm-tools-dev
Anyone/thing capable of installing software requires root - while it's
possible they/it could achieve that and still be dumb enough not hide
that file, it's very unlikely.
NOTE: vmtoolsd is *not* a back door, or part of any rootkit.

To see if the package was legitimately installed:-
dpkg --get-selections | grep open-vm

In your case you'll find *you've* installed:-
open-vm-tools and open-vm-toolbox

and:-

man open-vm-tools  # unlikely even a script kiddie'd leave the
documentation for you don't you think? :)


Kind regards



-- 
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/530bdded.70...@gmail.com



Re: DHCP request IP address

2014-02-24 Thread Zenaan Harkness
On 2/25/14, digiphoenix  wrote:
> Am Montag, 24. Februar 2014, 14:07:22 schrieb Ric Moore:
>> Which file do you edit to request an IP address from a DHCP server? It's
>> been awhile! Ric
>
> Try execute "dhclient xxx0 IP-of-Server" as root. For example
> dhclient eth0 192.168.1.1
> or
> dhclient wlan0 192.168.1.1

When are doing a one-shot (ie/or just testing), then I always add the
"-d" option to stop dhclient from backgrounding as a daemon - this way
it runs in the foreground, and I can kill it with a CTRL-C at any
stage - having to ps aux|grep dh then kill the appropriate IP has been
a source of frustration in the past.

> You can request each interface as needed.
>
> If you want it automatically at boot, edit /etc/network/interfaces.
>
> The syntax i.e. for eth0 is
>
> auto io eth0

I think you mean "auto lo eth0". I separate the lines, so leave the
"auto lo" line as it is and add a new line (if wanted):
auto eth0

> iiface eth0 dhcp

Looks like you have a bit of a thing for this 'i' char :)

> If you do so, each command "/etc/network/interfaces restart" let you request
>
> an IP from the dhcp-server. All interfaces named in the "auto"-line are
> initialized new then.

Or in multiple "auto" lines, to belabour the point.

Good luck,
Zenaan


-- 
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/CAOsGNSQsyJHG+T_DoSNCevh1FCP=wosomu-tbee1h9dpky3...@mail.gmail.com



Re: DHCP request IP address

2014-02-24 Thread Lisi Reisz
On Monday 24 February 2014 19:22:38 digiphoenix wrote:
> auto io eth0
>
> iiface eth0 dhcp

surely:
auto eth0
iface eth0 inet dhcp

Lisi


-- 
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/201402242311.30274.lisi.re...@gmail.com



Re: cron.daily logrotate beating up my server

2014-02-24 Thread André Nunes Batista
On Mon, 2014-02-24 at 13:57 +0100, Tazman Deville wrote:
> I have a little server running here in my office,
> and logrotate kept running at c. 7am, and using up 100% CPU.
> I changed the line in /etc/crontab to run cron.daily scripts
> at 4:15am, instead of 7:whateveritwas am.
> 15 4 * * *
> Also, in cron.daily/logrotate
> I added 
> nice -n 15

If you do not want this process to take precedence, why did you choose
such a low niceness to other processes? Shouldn't you have chosen
something above 10 or at least above 0?

-- 
André N. Batista
GNUPG/PGP KEY: 6722CF80



-- 
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/1393281504.28660.36.camel@tagesuhu-pc



Re: resolv.conf misbehaving

2014-02-24 Thread Pascal Hambourg
Danny a écrit :
> 
>> Warning : this setup is wrong and may not work as you expect. All listed
>> nameservers should be equivalent. Multiple nameservers are only for
>> redundancy, not to provide multiple sources.
>>
>> If you query the first server for an information out of its scope, it
>> may reply negatively (status: NXDOMAIN or NOERROR, ANSWER: 0) and the
>> next server won't be queried. So in the end you won't get your answer.
> 
> However, what would be the point of giving resolv.conf multiple nameserver
> options then

I wrote it : redundancy.

> if one cannot "force" (for lack of
> a better word) it, or even arbitrarily change the order in which servers can 
> be
> queried?

You can force or change the order of the nameservers. /etc/resolv.conf
even has an option "rotate" to do round-robin among the listed
nameservers. What you cannot do is expect the current resolver library to :
- ask a given nameserver for a given type of queries (e.g. "external
names"), and another nameserver for another given type of queries (e.g.
"internal names") ;
- ask the next nameserver if the previous nameserver replied that the
requested name does not exist or does not have a resource record for the
requested type (aka negative answer).

> The setup I had (Debian 3.0) worked. Unfortunately smart devices and more
> wireless laptops demanded attention. So I upgraded (clean install) to Debian
> 7.0. All I want to do is for all wireless devices to get DHCP from Debian (not
> the router) and query Debian (not the router) for name resolution. Simple as
> that.

Why then are you messing with the router's nameserver ?

If you need to resolve both internal and external names, I suggest that
you query only the Debian nameserver and configure it to reply to
recursive queries, either by itself or by forwarding them to the
router's nameserver.


-- 
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/530bbdaf.3090...@plouf.fr.eu.org



Re: [Fwd: Re: Re: Third-Party Software Needs Non-Debian Format for Kernel Version]

2014-02-24 Thread Thomas Vaughan
>> What I'm wondering is whether I can get uname to return the desired
>> format by somehow compiling a custom kernel.
>
> Yes you can, by getting the source code from kernel.org.
> If you simply copy the config from the Debians kernel, then IIRC
> # make-kpkg --initrd kernel-image kernel-headers
> won't use the Debians naming, but name the package and the output for
> uname -r and any string else as the original kernel.org name is.

Thank you very much! That worked well and was easy!

-- 
Thomas E. Vaughan


-- 
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/caao_ux-s-lz2rtcqmg1kjzdffzrmewogt7uwfyem1bpca03...@mail.gmail.com



Re: cron.daily logrotate beating up my server

2014-02-24 Thread Andrei POPESCU
On Lu, 24 feb 14, 15:06:48, Tazman Deville wrote:
> On Mon, Feb 24, 2014 at 01:57:02PM +0100, Tazman Deville wrote:
> > I have a little server running here in my office,
> > and logrotate kept running at c. 7am, and using up 100% CPU.
> > I changed the line in /etc/crontab to run cron.daily scripts
> > at 4:15am, instead of 7:whateveritwas am.
> > 15 4 * * *
> > Also, in cron.daily/logrotate
> > I added 
> > nice -n 15
> > I made these changes two days ago,
> > and still, yesterday and today, logrotate is running at 7:30ami-ish,
> > and using up almost 100% of CPU cycles.
> > The "server" is an old refurbed eMachines box,
> > 3.2ghz single core celeron with 2gb ram (was my work box from 2007 to
> > 2011), and logrotate is beating it up.
> > 
> > How do I get logrotate, first,
> > to run at a time when the server is not busy with other stuff 
> > (I'm actively doing stuff on the server at 7am, but not at 4am, which is
> > why I had made that change).
> > and/or
> > limit its abuse of CPU cycles?
> > 
> > Why is it seemingly not honouring the changes I made to /etc/crontab
> > and cron.daily/logrotate?
> 
> Off-list someone suggested I restart the cron daemon, which I have done.
> I won't know if that helped until tomorrow morning, though.

According to the manpage it is not necessary to restart the daemon, so 
this should not fix your problem. How about you attach your crontab and 
the relevant parts from syslog? Also check if you have anacron 
installed.

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic
http://nuvreauspam.ro/gpg-transition.txt


signature.asc
Description: Digital signature


Re: bandwidth whole use

2014-02-24 Thread Pol Hallen

Take a look on Cacti.
http://www.cacti.net/
It's in the Debian repositories.


Thanks Daniel :-)

Pol


--
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/530ba93b.5090...@fuckaround.org



Re: bandwidth whole use

2014-02-24 Thread Steve
> Hi folks! I'm searching for a tool that evaluate a total bandwidth 
> (i.e.) from month/year interval
> 
> any idea about that tool?


http://www.debian-administration.org/article/330/Monitoring_your_bandwidth_usage_with_vnstat

Steve
-- 
http://www.steve.org.uk/


Re: bandwidth whole use

2014-02-24 Thread Daniel Bareiro
On Monday, 24 February 2014 20:46:50 +0100,
Pol Hallen wrote:

> Hi folks!

Hi, Pol.

> I'm searching for a tool that evaluate a total bandwidth
> (i.e.) from month/year interval
> 
> any idea about that tool?

Take a look on Cacti.

http://www.cacti.net/

It's in the Debian repositories.


Regards,
Daniel
-- 
Daniel Bareiro
Fingerprint: BFB3 08D6 B4D1 31B2 72B9  29CE 6696 BF1B 14E6 1D37
Powered by Debian GNU/Linux Wheezy - Linux user #188.598


signature.asc
Description: Digital signature


Re: Wireless AP setup: RTL8188CUS

2014-02-24 Thread Csanyi Pal
Csanyi Pal  writes:

> Csanyi Pal  writes:
>
>> Hi Selim,
>>
>> "Selim T. Erdogan"  writes:
>>
>>> Csanyi Pal,  3.02.2014:
 Csanyi Pal  writes:
 
 > Csanyi Pal  writes:
 >
 >> Scott Ferguson  writes:
 >>
 >>> On 02/02/14 09:14, Csanyi Pal wrote:
  Scott Ferguson  writes:
  
 > On 01/02/14 21:57, Csanyi Pal wrote:
 >> Scott Ferguson  writes:
 >>
 >>> On 31/01/14 04:53, Csanyi Pal wrote:
 
  I just bought an USB dongle nano Netis WF-2120 adapter.
  I want to set it up on my headless Debian Wheezy server as a 
  Wireless
  Access Point. 
 
 > 
 
  However, I can't find the installed driver, and I don't know how 
  can I
  load it as a kernel module? 
 >>>
 >>> Had you read this wiki page about that chipset?
 >>> https://wiki.debian.org/rtl819x
 >>
 >> Yes, I had. There I found that that my USB Wifi adapter is 
 >> supported:
 >>
 >> when I plug in the WiFi usb adapter, lsusb shows the following:
 >> Bus 001 Device 004: ID 0bda:8176 Realtek Semiconductor Corp. 
 >> RTL8188CUS
 >> 802.11n WLAN Adapter
 >>
 >> and on the webpage https://wiki.debian.org/rtl819x there is this 
 >> davice
 >> listed:
 >>
 >> USB: 0BDA:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN
 >> Adapter 
 >>
 >> On the web page: https://wiki.debian.org/rtl819x there I found the
 >> following information:
 >>
 >> rtl8192cu (supported devices)
 >>
 >>  Supports USB devices based on the RTL8188CUS and RTL8192CU chips.
 >>
 >>  Introduced in Linux 2.6.39, enabled at 
 >>  linux-2.6  2.6.39~rc7-1~experimental.1. 
 >>
 >> So now what should I do to get this USB Wifi adapter works?
  
 > Did you install the matching headers? 
  
  I did install the linux-headers-2.6-powerpc.
  
 > Do you get a match on the chipset series when greping through the
 > likely modules after piping through string? 
  
  When I run 'make menuconfig' in the kernel source directory, I found 
  the
  Realtek RTL8192CU/RTL8188CU USB Wireless Network Adapter
  module
  
  in the 
  
  Linux/powerpc 2.6.39.4-4 Kernel Configuration / \
   Device Drivers / Network device support / Wireless LAN 
  
  In menuconfig I saved the setup in to .config file.
  
  But when I run after 'make menuconfig' the 'make' command, I get
  error message: 
  
  arch/powerpc/kernel/align.c: In function ‘fix_alignment’:
  arch/powerpc/kernel/align.c:704:33: error: variable ‘instruction’ set
  but not used [-Werror=unused-but-set-variable]
  cc1: all warnings being treated as errors
  make[1]: *** [arch/powerpc/kernel/align.o] Error 1
  make: *** [arch/powerpc/kernel] Error 2
  
  What could be the problem here?
 >>>
 >>> Sorry (again). But I don't have clue.
 >>> I can tell you how to suppress the warning (--disable-werror):-
 >>> http://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html
 >>>
 >>> but not how to fix the problem that generates it.
 >>
 >> I'm trying to fix this problem with installing gcc-4.4 on my Debian
 >> Wheezy system.
 >>
 >> Now when I have installed the gcc-4.4, I made a symbolic link:
 >> ls -l /usr/bin/gcc
 >> lrwxrwxrwx 1 root root 16 febr   2 06:34 /usr/bin/gcc -> 
 >> /usr/bin/gcc-4.4
 >>
 >> The gcc symbolic link are linked before this to the /usr/bin/gcc-4.6.
 >>
 >> Now I'm running the 'make' command in the kernel source file with the
 >> .config setup file. Sofar it is successfull, but it is ongoing yet. I'm
 >> waiting the make command to terminate successfull.
 >
 > It's done ( after 8 houers ):
 >
 > sudo dpkg -i bubba3-kernel-headers-powerpc_2.6.39.4-13_powerpc.deb
 > bubba3-kernel_2.6.39.4-13_powerpc.deb
 > (Adatbázis olvasása ... 76193 files and directories currently
 > installed.)
 > bubba3-kernel-headers-powerpc 1:2.6.39.4-13 cseréjének előkészítése (e
 > csomaggal: bubba3-kernel-headers-powerpc_2.6.39.4-13_powerpc.deb) ...
 > Csere kicsomagolása: bubba3-kernel-headers-powerpc ...
 > Selecting previously unselected package bubba3-kernel.
 > dpkg: considering removing bubba-kernel in favour of bubba3-kernel ...
 > dpkg: yes, will remove bubba-kernel in favour of bubba3-kernel
 > Kicsomagolás: bubba3-kernel innen: bubba3-kernel_2.6.39.4-13_powerpc.deb
 > ...
 > Beállítás: bubba3-kernel-headers-powerpc (1:2.6.39.4-13) ...
 > Beállítás

Re: How to configure eth0 with static ip and eth1 dhcp

2014-02-24 Thread Markos

On 22-02-2014 23:57, Scott Ferguson wrote:

On 23/02/14 13:09, Markos wrote:
   

On 22-02-2014 20:11, Scott Ferguson wrote:
 

On 23/02/14 09:58, Stephen Powell wrote:

   

On Sat, 22 Feb 2014 17:22:16 -0500 (EST), Markos wrote:

 

I'm trying to configure a machine with two network cards to share
Internet access to an internal network

the /etc/network/interface is:

# The loopback network interface
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
   address 192.168.0.1
   netmask 255.255.255.0

auto eth1
iface eth1 inet dhcp

The card eth0 is used as gateway on the internal network with static IP
192.168.0.1 and eth1 is connected to the B-890 -53 Huawei modem.

But the modem do not send an IP during initialization.

The IP of modem is 192.168.1.1.

The modem sends the IP address (192.168.0.4) to my laptop by wifi
without problems.

Any suggestions of what I should check?

   

I'm afraid that I don't understand the problem.  Is this a traditional
async dial-up modem?  If so, I would expect it to be configured with
ppp,
its interface name would be ppp0, and it would not be listed in
/etc/network/interfaces at all.  I don't get it.


 

I'm guessing it's a cdc_ether device - probably running a web and dn
server at 192.168.0.100.  Hopefully the OP will correct my assumption
(Vendor and Product codes from dmesg?).
I'm not familiar with that particular model - but I've had to hack Linux
support for the chipset either side of it (model number).


Kind regards



   

Dear Scot and Stephen,

I am using this model of modem:

http://www.4glterouter.de/huawei-b890-4g-lte-smart-hub.html
 

Thanks - yes it's the chipset I was expecting.

   

I just tested on another machine and the modem supplied the IP to my
laptop via wireless and IP to a computer (with 1 NIC) via ethernet
without problem.
 

Yes.

   

Tomorrow I'll change the network card (of the machine with 2 NICs) and
test again to see if the problem is the network card.
 


OK - I misunderstood - I didn't realise you had a second card installed
and assumed you'd just noticed the USB modem cable is seen as a NIC, or
that networkmanager had autoconfigured it for you (it should, if you
have a recent version of usb-modeswitch installed).
You don't need the 2nd network card unless you want to duplicate the
routing functionality build into your modem/hub/router. Just connect the
modem to that computer with the USB cable. Make sure you have
usb_modeswitch installed and add the extra line I suggest (the gateway
stanza).

The modem should then be seen as /dev/eth1 by Debian and will be used as
the gateway for your internet. You'll find that resolv.conf will
automagically use the modem as the nameserver .i.e. /etc/resolv.conf
will contain:-
nameserver 192.18.1.1

You don't need to add netmask and broadcast stanzas to
/etc/network/interfaces, you do need to change auto to hot-plug for the
modem (yes it's USB but the system will see it as an eth device).

Any other devices you connect to the modem should automagically (via
DHCP) do the same - and by default will all be able to communicate with
each other.

NOTE: the route output I quoted (in the previous post) is from a box
connected to a similar Huwaei modem in the same situation.

/etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug eth0
iface eth0 inet static
 address 192.168.0.6
 netmask 255.255.255.0
 gateway 192.168.1.1
 # dns-* options are implemented by the resolvconf package, if
installed

allow-hotplug eth1
iface eth1 inet dhcp
 # you could make this static, but more typing would be involved


NOTE: network and broadcast stanzas are optional

   

Thanks for your attention,
Markos


 

Kind regards


   
Dear Scott Ferguson, Stephen Powell, Dan Purgert, Andrei POPESCU, Pascal 
Hambourg, Rod James Bio and Rob Owens,


Thanks for your comments.

As I said, I tested the modem at home, and it worked well.

I imagine that the initial problem was related to the network adapter.

The next day I changed the network card and realized the following:

When I changed the network card the system started to assign the address 
to eth2 the new card and the modem sent the IP address for this card (eth2).


Despite that the /etc/network/interfaces is:

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
address 192.168.0.1
netmask 255.255.255.0

auto eth1
iface eth1 inet dhcp


Then I replace the second NIC by another one and again the system 
assigned the number "eth3" for this new card.


And also the modem sent the IP number OK.

Every time I change the card the system increment the number to the 
interface: eth2, eth3 etc..


I searched on the Web and

Re: DHCP request IP address

2014-02-24 Thread digiphoenix
Am Montag, 24. Februar 2014, 14:07:22 schrieb Ric Moore:
> Which file do you edit to request an IP address from a DHCP server? It's
> been awhile! Ric

Try execute "dhclient xxx0 IP-of-Server" as root. For example

dhclient eth0 192.168.1.1 

or 

dhclient wlan0 192.168.1.1
 you 
You can request each interface as needed.

If you want it automatically at boot, edit /etc/network/interfaces.

The syntax i.e. for eth0 is 

auto io eth0

iiface eth0 dhcp

If you do so, each command "/etc/network/interfaces restart" let you request 
an IP from the dhcp-server. All interfaces named in the "auto"-line are 
initialized new then.

Hope this helps.

Good luck!

Hans

 


-- 
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/11728386.aXZDe5IkkU@protheus7



bandwidth whole use

2014-02-24 Thread Pol Hallen
Hi folks! I'm searching for a tool that evaluate a total bandwidth 
(i.e.) from month/year interval


any idea about that tool?

thanks!
--
Pol


--
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/530ba1aa.5060...@fuckaround.org



Re: Wireless AP setup: RTL8188CUS

2014-02-24 Thread Csanyi Pal
Csanyi Pal  writes:

> Hi Selim,
>
> "Selim T. Erdogan"  writes:
>
>> Csanyi Pal,  3.02.2014:
>>> Csanyi Pal  writes:
>>> 
>>> > Csanyi Pal  writes:
>>> >
>>> >> Scott Ferguson  writes:
>>> >>
>>> >>> On 02/02/14 09:14, Csanyi Pal wrote:
>>>  Scott Ferguson  writes:
>>>  
>>> > On 01/02/14 21:57, Csanyi Pal wrote:
>>> >> Scott Ferguson  writes:
>>> >>
>>> >>> On 31/01/14 04:53, Csanyi Pal wrote:
>>> 
>>>  I just bought an USB dongle nano Netis WF-2120 adapter.
>>>  I want to set it up on my headless Debian Wheezy server as a 
>>>  Wireless
>>>  Access Point. 
>>> 
>>> > 
>>> 
>>>  However, I can't find the installed driver, and I don't know how 
>>>  can I
>>>  load it as a kernel module? 
>>> >>>
>>> >>> Had you read this wiki page about that chipset?
>>> >>> https://wiki.debian.org/rtl819x
>>> >>
>>> >> Yes, I had. There I found that that my USB Wifi adapter is supported:
>>> >>
>>> >> when I plug in the WiFi usb adapter, lsusb shows the following:
>>> >> Bus 001 Device 004: ID 0bda:8176 Realtek Semiconductor Corp. 
>>> >> RTL8188CUS
>>> >> 802.11n WLAN Adapter
>>> >>
>>> >> and on the webpage https://wiki.debian.org/rtl819x there is this 
>>> >> davice
>>> >> listed:
>>> >>
>>> >> USB: 0BDA:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN
>>> >> Adapter 
>>> >>
>>> >> On the web page: https://wiki.debian.org/rtl819x there I found the
>>> >> following information:
>>> >>
>>> >> rtl8192cu (supported devices)
>>> >>
>>> >>  Supports USB devices based on the RTL8188CUS and RTL8192CU chips.
>>> >>
>>> >>  Introduced in Linux 2.6.39, enabled at 
>>> >>  linux-2.6  2.6.39~rc7-1~experimental.1. 
>>> >>
>>> >> So now what should I do to get this USB Wifi adapter works?
>>>  
>>> > Did you install the matching headers? 
>>>  
>>>  I did install the linux-headers-2.6-powerpc.
>>>  
>>> > Do you get a match on the chipset series when greping through the
>>> > likely modules after piping through string? 
>>>  
>>>  When I run 'make menuconfig' in the kernel source directory, I found 
>>>  the
>>>  Realtek RTL8192CU/RTL8188CU USB Wireless Network Adapter
>>>  module
>>>  
>>>  in the 
>>>  
>>>  Linux/powerpc 2.6.39.4-4 Kernel Configuration / \
>>>   Device Drivers / Network device support / Wireless LAN 
>>>  
>>>  In menuconfig I saved the setup in to .config file.
>>>  
>>>  But when I run after 'make menuconfig' the 'make' command, I get
>>>  error message: 
>>>  
>>>  arch/powerpc/kernel/align.c: In function ‘fix_alignment’:
>>>  arch/powerpc/kernel/align.c:704:33: error: variable ‘instruction’ set
>>>  but not used [-Werror=unused-but-set-variable]
>>>  cc1: all warnings being treated as errors
>>>  make[1]: *** [arch/powerpc/kernel/align.o] Error 1
>>>  make: *** [arch/powerpc/kernel] Error 2
>>>  
>>>  What could be the problem here?
>>> >>>
>>> >>> Sorry (again). But I don't have clue.
>>> >>> I can tell you how to suppress the warning (--disable-werror):-
>>> >>> http://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html
>>> >>>
>>> >>> but not how to fix the problem that generates it.
>>> >>
>>> >> I'm trying to fix this problem with installing gcc-4.4 on my Debian
>>> >> Wheezy system.
>>> >>
>>> >> Now when I have installed the gcc-4.4, I made a symbolic link:
>>> >> ls -l /usr/bin/gcc
>>> >> lrwxrwxrwx 1 root root 16 febr   2 06:34 /usr/bin/gcc -> /usr/bin/gcc-4.4
>>> >>
>>> >> The gcc symbolic link are linked before this to the /usr/bin/gcc-4.6.
>>> >>
>>> >> Now I'm running the 'make' command in the kernel source file with the
>>> >> .config setup file. Sofar it is successfull, but it is ongoing yet. I'm
>>> >> waiting the make command to terminate successfull.
>>> >
>>> > It's done ( after 8 houers ):
>>> >
>>> > sudo dpkg -i bubba3-kernel-headers-powerpc_2.6.39.4-13_powerpc.deb
>>> > bubba3-kernel_2.6.39.4-13_powerpc.deb
>>> > (Adatbázis olvasása ... 76193 files and directories currently
>>> > installed.)
>>> > bubba3-kernel-headers-powerpc 1:2.6.39.4-13 cseréjének előkészítése (e
>>> > csomaggal: bubba3-kernel-headers-powerpc_2.6.39.4-13_powerpc.deb) ...
>>> > Csere kicsomagolása: bubba3-kernel-headers-powerpc ...
>>> > Selecting previously unselected package bubba3-kernel.
>>> > dpkg: considering removing bubba-kernel in favour of bubba3-kernel ...
>>> > dpkg: yes, will remove bubba-kernel in favour of bubba3-kernel
>>> > Kicsomagolás: bubba3-kernel innen: bubba3-kernel_2.6.39.4-13_powerpc.deb
>>> > ...
>>> > Beállítás: bubba3-kernel-headers-powerpc (1:2.6.39.4-13) ...
>>> > Beállítás: bubba3-kernel (1:2.6.39.4-13) ...
>>> > WARNING: could not open /lib/modules/2.6.39.4-13/modules.builtin: No
>>> > such file or directory
>>> >
>>> > Well, about this WA

Re: Wireless AP setup: RTL8188CUS

2014-02-24 Thread Csanyi Pal
Hi Selim,

"Selim T. Erdogan"  writes:

> Csanyi Pal,  3.02.2014:
>> Csanyi Pal  writes:
>> 
>> > Csanyi Pal  writes:
>> >
>> >> Scott Ferguson  writes:
>> >>
>> >>> On 02/02/14 09:14, Csanyi Pal wrote:
>>  Scott Ferguson  writes:
>>  
>> > On 01/02/14 21:57, Csanyi Pal wrote:
>> >> Scott Ferguson  writes:
>> >>
>> >>> On 31/01/14 04:53, Csanyi Pal wrote:
>> 
>>  I just bought an USB dongle nano Netis WF-2120 adapter.
>>  I want to set it up on my headless Debian Wheezy server as a 
>>  Wireless
>>  Access Point. 
>> 
>> > 
>> 
>>  However, I can't find the installed driver, and I don't know how 
>>  can I
>>  load it as a kernel module? 
>> >>>
>> >>> Had you read this wiki page about that chipset?
>> >>> https://wiki.debian.org/rtl819x
>> >>
>> >> Yes, I had. There I found that that my USB Wifi adapter is supported:
>> >>
>> >> when I plug in the WiFi usb adapter, lsusb shows the following:
>> >> Bus 001 Device 004: ID 0bda:8176 Realtek Semiconductor Corp. 
>> >> RTL8188CUS
>> >> 802.11n WLAN Adapter
>> >>
>> >> and on the webpage https://wiki.debian.org/rtl819x there is this 
>> >> davice
>> >> listed:
>> >>
>> >> USB: 0BDA:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN
>> >> Adapter 
>> >>
>> >> On the web page: https://wiki.debian.org/rtl819x there I found the
>> >> following information:
>> >>
>> >> rtl8192cu (supported devices)
>> >>
>> >>  Supports USB devices based on the RTL8188CUS and RTL8192CU chips.
>> >>
>> >>  Introduced in Linux 2.6.39, enabled at 
>> >>  linux-2.6  2.6.39~rc7-1~experimental.1. 
>> >>
>> >> So now what should I do to get this USB Wifi adapter works?
>>  
>> > Did you install the matching headers? 
>>  
>>  I did install the linux-headers-2.6-powerpc.
>>  
>> > Do you get a match on the chipset series when greping through the
>> > likely modules after piping through string? 
>>  
>>  When I run 'make menuconfig' in the kernel source directory, I found the
>>  Realtek RTL8192CU/RTL8188CU USB Wireless Network Adapter
>>  module
>>  
>>  in the 
>>  
>>  Linux/powerpc 2.6.39.4-4 Kernel Configuration / \
>>   Device Drivers / Network device support / Wireless LAN 
>>  
>>  In menuconfig I saved the setup in to .config file.
>>  
>>  But when I run after 'make menuconfig' the 'make' command, I get
>>  error message: 
>>  
>>  arch/powerpc/kernel/align.c: In function ‘fix_alignment’:
>>  arch/powerpc/kernel/align.c:704:33: error: variable ‘instruction’ set
>>  but not used [-Werror=unused-but-set-variable]
>>  cc1: all warnings being treated as errors
>>  make[1]: *** [arch/powerpc/kernel/align.o] Error 1
>>  make: *** [arch/powerpc/kernel] Error 2
>>  
>>  What could be the problem here?
>> >>>
>> >>> Sorry (again). But I don't have clue.
>> >>> I can tell you how to suppress the warning (--disable-werror):-
>> >>> http://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html
>> >>>
>> >>> but not how to fix the problem that generates it.
>> >>
>> >> I'm trying to fix this problem with installing gcc-4.4 on my Debian
>> >> Wheezy system.
>> >>
>> >> Now when I have installed the gcc-4.4, I made a symbolic link:
>> >> ls -l /usr/bin/gcc
>> >> lrwxrwxrwx 1 root root 16 febr   2 06:34 /usr/bin/gcc -> /usr/bin/gcc-4.4
>> >>
>> >> The gcc symbolic link are linked before this to the /usr/bin/gcc-4.6.
>> >>
>> >> Now I'm running the 'make' command in the kernel source file with the
>> >> .config setup file. Sofar it is successfull, but it is ongoing yet. I'm
>> >> waiting the make command to terminate successfull.
>> >
>> > It's done ( after 8 houers ):
>> >
>> > sudo dpkg -i bubba3-kernel-headers-powerpc_2.6.39.4-13_powerpc.deb
>> > bubba3-kernel_2.6.39.4-13_powerpc.deb
>> > (Adatbázis olvasása ... 76193 files and directories currently
>> > installed.)
>> > bubba3-kernel-headers-powerpc 1:2.6.39.4-13 cseréjének előkészítése (e
>> > csomaggal: bubba3-kernel-headers-powerpc_2.6.39.4-13_powerpc.deb) ...
>> > Csere kicsomagolása: bubba3-kernel-headers-powerpc ...
>> > Selecting previously unselected package bubba3-kernel.
>> > dpkg: considering removing bubba-kernel in favour of bubba3-kernel ...
>> > dpkg: yes, will remove bubba-kernel in favour of bubba3-kernel
>> > Kicsomagolás: bubba3-kernel innen: bubba3-kernel_2.6.39.4-13_powerpc.deb
>> > ...
>> > Beállítás: bubba3-kernel-headers-powerpc (1:2.6.39.4-13) ...
>> > Beállítás: bubba3-kernel (1:2.6.39.4-13) ...
>> > WARNING: could not open /lib/modules/2.6.39.4-13/modules.builtin: No
>> > such file or directory
>> >
>> > Well, about this WARNING at the end: is this serious?
>> >
>> > Should I reboot my Bubba box now safely?
>> 
>> I did the followings.
>> 
>> 1.
>> dget -xu \
>> http://b3.update.ex

very slow Xorg and/or bash

2014-02-24 Thread Morel Bérenger
Hello.

Since few days, say 4 or 5, my netbook is *really* slow when a terminal
starts. After taking a look with top, it seems that it's bash itself which
is the problem: it makes the terminal freezing for at least 15s on login,
and almost the same when using auto-completion.

There is also xorg, which uses constantly at least 10% of the CPU, if I
trust top ( at least, means that it is the minimal value ).

I have no idea about how to find the origin of the problem, this is why I
am not giving any real hint or suppositions.
I do not remember having updated anything particular ( but no doubt that I
did, otherwise I could not have such kind of constant slowness ).

I am using a testing/unstable/experimental debian, no DE.
wheezy's packages have priority 900, unstable ones only 200, except for
compilers ( Package: clang* gcc* g++* cpp* libgfortran* )
Running services are currently:
# service --status-all
 [ + ]  acpi-fakekey
 [ - ]  acpi-support
 [ + ]  acpid
 [ ? ]  alsa-utils
 [ ? ]  binfmt-support
 [ - ]  bootlogs
 [ ? ]  bootmisc.sh
 [ ? ]  checkfs.sh
 [ ? ]  checkroot-bootclean.sh
 [ - ]  checkroot.sh
 [ - ]  console-setup
 [ - ]  cups
 [ + ]  dbus
 [ ? ]  hdparm
 [ - ]  hostname.sh
 [ ? ]  hwclock.sh
 [ - ]  kbd
 [ - ]  keyboard-setup
 [ ? ]  killprocs
 [ ? ]  kmod
 [ - ]  motd
 [ ? ]  mountall-bootclean.sh
 [ ? ]  mountall.sh
 [ ? ]  mountdevsubfs.sh
 [ ? ]  mountkernfs.sh
 [ ? ]  mountnfs-bootclean.sh
 [ ? ]  mountnfs.sh
 [ + ]  mpd
 [ ? ]  networking
 [ - ]  procps
 [ ? ]  rc.local
 [ - ]  rmnologin
 [ - ]  rsync
 [ ? ]  sendsigs
 [ - ]  ssh
 [ - ]  sudo
 [ + ]  tor
 [ + ]  udev
 [ ? ]  umountfs
 [ ? ]  umountnfs.sh
 [ ? ]  umountroot
 [ - ]  urandom
 [ + ]  wicd
 [ - ]  x11-common

Any idea about the problem? Or at least any idea about what to look for to
have one?
I suspect some bash script, but the slowness is also with root, and I did
not changed anything by hand that could affect root since at least 2
weeks.


-- 
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/86712e3ad1ea599954cd06dce49c2802.squir...@www.sud-ouest.org



Re: Am I paranoid?

2014-02-24 Thread Brian
On Mon 24 Feb 2014 at 19:23:29 +0100, Ralf Mardorf wrote:

> On Mon, 2014-02-24 at 09:51 -0600, y...@marupa.net wrote:
> > Thank you. Using that command it'd be trivial to see if those files
> > were installed by the package manager, maybe a dependency, which is
> > more likely than being compromised, in all honesty.
> 
> When something is installed as a dependency, then it would show up in
> the history. Assumed the OP isn't mistaken and the OP didn't install
> something that included those stuff, then somebody has got access to the
> machine. Somebody mentioned this already and I agree with this. I only
> wonder why somebody should install this. Perhaps it's something else,
> with this harmless, but faked name. I suspect the OP installed it,
> without being aware of it and didn't find it in the history or deleted
> parts of the history. In case of doubt only a new install is secure.

   apt-cache rdepends --no-breaks open-vm-tools

gives

   Reverse Depends:
 open-vm-tools-dbg
 open-vm-toolbox
 open-vm-dkms

Does that resolve the ". . . . maybe a dependency" question?


-- 
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/24022014185708.e78a1ed5c...@desktop.copernicus.demon.co.uk



DHCP request IP address

2014-02-24 Thread Ric Moore
Which file do you edit to request an IP address from a DHCP server? It's 
been awhile! Ric


--
My father, Victor Moore (Vic) used to say:
"There are two Great Sins in the world...
..the Sin of Ignorance, and the Sin of Stupidity.
Only the former may be overcome." R.I.P. Dad.
/https://linuxcounter.net/cert/44256.png /


--
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/530b986a.3040...@gmail.com



Re: Am I paranoid?

2014-02-24 Thread Ralf Mardorf
On Mon, 2014-02-24 at 09:51 -0600, y...@marupa.net wrote:
> Thank you. Using that command it'd be trivial to see if those files
> were installed by the package manager, maybe a dependency, which is
> more likely than being compromised, in all honesty.

When something is installed as a dependency, then it would show up in
the history. Assumed the OP isn't mistaken and the OP didn't install
something that included those stuff, then somebody has got access to the
machine. Somebody mentioned this already and I agree with this. I only
wonder why somebody should install this. Perhaps it's something else,
with this harmless, but faked name. I suspect the OP installed it,
without being aware of it and didn't find it in the history or deleted
parts of the history. In case of doubt only a new install is secure.



-- 
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/1393266209.1127.5.camel@archlinux



Re: Am I paranoid?

2014-02-24 Thread Reco
On Mon, 24 Feb 2014 18:26:30 +0100
Nemeth Gyorgy  wrote:

> 2014-02-24 18:05 keltezéssel, Reco írta:
> > Well, that's good. Meaning, that's simply a misuse of root, not a
> > rooted host. No reinstall in necessary, probably, simple removal of:
> > 
> > /etc/init.d/vmtoolsd
> > /etc/pam.d/vmtoolsd
> > /usr/bin/vmtoolsd
> > 
> > should do it.
> 
> Or simply apt-get purge open-vm-tools.

Which OP doesn't have installed :)
Reading all mails in the thread is a good habit - saves you these
mistakes.

Reco


-- 
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/20140224214404.e06fdbe3b03162d4d31bc...@gmail.com



Re: The case of the read-only USB sticks.

2014-02-24 Thread Frank Miles
On Sat, 22 Feb 2014 15:40:01 +0100, Hendrik Boom wrote:

> I have a problem with my USB sticks mysteriously becoming read-only.
> 
> I decided to investigate. I bought three identical 8G USB sticks, 
> identical except for colour).  None of them appear have any switches on 
> them.
> 
> The first I used my Linux laptop to write a file into the top-level 
> directory of the first stick:  I mounted it, wrote it, and unmounted it.  
> I handed it to my wife, who was to read it on her Mac.  She told me it 
> failed to even notice there was a USB stick plugged in.  But returned to 
> me, I could mount it and read it.
> 
> I put the second into my Linux laptop, mounted it, listed the top-level 
> directory (it was empty), unmounted it.  I passed it to my wife, who 
> plugged it into her Mac, and it immediately noticed the USB stick and 
> allowed her to look at its contents.  It was, of course, empty.
> 
> I'm running Debian testing on an ASUS netbook.
> 
> Speculation: 
> 
> Now this doesn't tell me anything about how my USB sticks turn read-
> only.  But it does tell me that something weird is happening to them.  
> Perhaps the two OS's have different ieas as to how USB sticks are to be 
> written or read?  Perhaps one of the other machined in the house it 
> writing the in such a was that Linux can't read them?
> 
> What do I need to know to investigate this.
> 
> Has anyone else had problems like this?
> 
> Online all I found was some people on Windows with read-only USB sticks.  
> One of them said that some friend using Linux had "fixed" them.  No one 
> else had any luck.  I have no idea if their experience has any relevance.
> 
> -- hendrik

You said you wrote to the "top level directory".  I'm guessing you were
running as root and wrote to a section that you shouldn't have tampered with.
For example, a drive might appears both as /dev/sdd and /dev/sdd1.  You don't
want to mess with /dev/sdd - loosely speaking, that's just for the partition
table (i.e. use fdisk or one of its kin to alter if necessary).  
Read/write/mount
only the /dev/sdd1.

Of course the drive could have failed, but it seems unlikely.

Have you tried to fsck the drive?

HTH--
  -F


-- 
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/leg008$p6k$1...@dont-email.me



Re: Am I paranoid?

2014-02-24 Thread Nemeth Gyorgy
2014-02-24 18:05 keltezéssel, Reco írta:
> Well, that's good. Meaning, that's simply a misuse of root, not a
> rooted host. No reinstall in necessary, probably, simple removal of:
> 
> /etc/init.d/vmtoolsd
> /etc/pam.d/vmtoolsd
> /usr/bin/vmtoolsd
> 
> should do it.

Or simply apt-get purge open-vm-tools. Perhaps you can search in history
files in /var/log/apt/ directory and find entry of the open-vm-tools
package.


-- 
--- Friczy ---
'Death is not a bug, it's a feature'


-- 
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/530b80c6.2080...@freemail.hu



Re: netcat usage.

2014-02-24 Thread Jonathan Dowland
On 24/02/2014 10:21, Brian wrote:
> the OP could consider doing (as root)
> 
>setcap cap_net_bind_service=+ep /usr/bin/ncat
> 
> as a solution to his problem.

If they do, they should be aware that would essentially permit any user
on the machine to bind to any port; since nc is a redirection system it
can be paired with any daemon or program.


-- 
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/530b7f2d.8040...@debian.org



Re: Am I paranoid?

2014-02-24 Thread Reco
On Mon, 24 Feb 2014 17:28:32 +0100
ha  wrote:

> 
> >
> > debsums -ac -r /mnt
> >
> Great, thanks! I didn't know about debsums.
> However, it does not report anything when started from the debian live usb.

Well, that's good. Meaning, that's simply a misuse of root, not a
rooted host. No reinstall in necessary, probably, simple removal of:

/etc/init.d/vmtoolsd
/etc/pam.d/vmtoolsd
/usr/bin/vmtoolsd

should do it.

Don't forget to change the root password just in case.


> I will format disk and do the fresh install anyway, but I simply do not 
> understand how something like this could be done. This is the first time 
> I noticed something like this, simply because it is a fresh install.

Three possible ways:

1) Unofficial install media. You won't believe what kind of strange
gizmos people put into these ;)

2) Lack of physical security. Remove an HDD, place it into another
host, copy some files, put back.

3) Someone has a root password, and that's not you. Or, you left root
shell and an unlocked screen, someone has used it.


> By the way, do not have sshd installed (and there is no /usr/sbin/sshd).

I mentioned sshd as an example. There are plenty of ways to do remote
connection to the host (telnet, VNC, XDMCP), all of them can be used
for the root access.

Just to be on a safe side, scan your host with 'nmap -sT -sU 1-65535'
for both ipv4 and ipv6. Consider blocking everything unneeded with
iptables.


> And no suspicious users in /etc/passwd.

That's good.

Reco


-- 
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/20140224210509.103123f0ed1df4043fbd6...@gmail.com



Re: Am I paranoid?

2014-02-24 Thread John W. Foster
On Mon, 2014-02-24 at 16:17 +0100, ha wrote: 
> FYI, this was a log entry that caught my attention:
> 
> vmusr[3785]: [ warning] [vmtoolsd] The vmusr service needs to run inside 
> a virtual machine.
> 
> 
> ... And I repeat once again: This is not a virtual machine and I did not 
> install any VM software.
> 
Check to see if you have any new users or groups added to your system
that look suspicious. The log entry for vmuser indicates that someone is
or has tried to use your system as a vmuser. I use this type of login on
an OpenVZ system that I use on a remote host. That may give you some
insite.
john


-- 
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/1393255879.5430.2.ca...@beast.johnwfoster.com



Re: Am I paranoid?

2014-02-24 Thread ha




debsums -ac -r /mnt


Great, thanks! I didn't know about debsums.
However, it does not report anything when started from the debian live usb.


4) If, and only if debsums won't report anything unusual - purge
vmtoolsd, cleanup anything in /usr/local, change root password,
remove any ssh public keys from /root/.ssh/authorized_keys, reboot to
normal.

5) If debsums show any file replacements
(especially /usr/sbin/sshd, /bin/bash, etc) - reinstall the OS from the
scratch.



I will format disk and do the fresh install anyway, but I simply do not 
understand how something like this could be done. This is the first time 
I noticed something like this, simply because it is a fresh install.


By the way, do not have sshd installed (and there is no /usr/sbin/sshd).

And no suspicious users in /etc/passwd.



--
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/lefrlt$7f4$1...@ger.gmane.org



Re: Am I paranoid?

2014-02-24 Thread ha



I did. It only shows that files are there:
/etc/pam.d/vmtoolsd
/usr/bin/vmtoolsd


By the way, there is also /etc/vmware-tools folder


This rather highlights why I like Arch's package manager (Pacman.) more
than APT. Pacman features a command (pacman -Qo ) that explicitly
checks a file you specify for package ownership.


dpkg --search ${filename}





Thank you:

dpkg --search /usr/bin/vmtoolsd
dpkg-query: no path found matching pattern /usr/bin/vmtoolsd

dpkg --search /etc/pam.d/vmtoolsd
dpkg-query: no path found matching pattern /etc/pam.d/vmtoolsd

dpkg --search vmtoolsd
dpkg-query: no path found matching pattern *vmtoolsd*



--
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/lefq9o$kuq$1...@ger.gmane.org



Re: Am I paranoid?

2014-02-24 Thread Rene Engelhard
Hi,

On Mon, Feb 24, 2014 at 09:43:39AM -0600, y...@marupa.net wrote:
> This rather highlights why I like Arch's package manager (Pacman.) more than 
> APT. Pacman features a command (pacman -Qo ) that explicitly checks a 
> file 
> you specify for package ownership.

Interesting.

"I don't have a clue about the package system I use but XYZ is better
because I didn't find feature A in mine."

:)

> Rather than getting paranoid, go see if APT has a tool that does the same 
> thing. I find it doubtful you've been compromised.

Because that's the low-end package manager job, and, - surpise! - dpkg can
do that.

dpkg -S /path/to/dile 

for installed packages.

There's also apt-file, too, if you look for what (un)installed paclage
a file is in. That one looks in the ahives Contents files

Regards,

Rene
> 
> Conrad
> 
> 
> -- 
> 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/1943927.mP18IQJb7E@twilight
> 


-- 
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/20140224155145.ga14...@rene-engelhard.de



Accessing Glipper in testing (Jessie)

2014-02-24 Thread David Parker
Hello,

I was running Wheezy for a while, with a little bit of tweaking, I came to
enjoy the new Gnome interface (I had been a KDE fan for years until I
upgraded to Wheezy).  In installed the Glipper clipboard manager and could
access it by placing the mouse cursor into the lower right corner of the
screen.  It was otherwise hidden, and I thought the whole thing was very
slick.

I recently upgraded to testing, and Glipper disappeared.  It's still
installed, but I can no longer access it like I used to.  The only way I
can find to access Glipper is to open the Gnome Tweak Tool and enable the
"Window list" extension.  This enables a traditional task bar at the bottom
of the screen which shows the currently open windows, a workspace switcher,
and at the very end on the right it has a blue circle with a "1" on it.  If
I click on that blue circle, a gray bar slides up and shows the Glipper
icon, which I can then click on.

I don't care for this solution, because the task bar takes up space at the
bottom of the screen and I can't seem to hide it, and I also have to click
the blue circle in order to get to Glipper.  I neither need nor want the
window list or workspace switcher, so to have it there simply for the
puspose of accessing Glipper is irksome.  It was much nicer when I could
simply move the cursor to the lower right corner without clicking on
anything.  Is there something I can do to get this old behavior back?

Thanks in advance.

- Dave

P.S.  Yes, I do realize that I can use CTRL-ALT-C to pop up Glipper
anytime, and that's what I'm doing right now, but I really liked the
mouse-only solution I had before.

-- 
Dave Parker
Systems Administrator
Utica College
Integrated Information Technology Services
(315) 792-3229
Registered Linux User #408177


Re: Am I paranoid?

2014-02-24 Thread yaro
On Monday, February 24, 2014 03:48:04 PM Karl E. Jorgensen wrote:
> Hi
> 
> On Mon, Feb 24, 2014 at 09:43:39AM -0600, y...@marupa.net wrote:
> > On Monday, February 24, 2014 04:40:39 PM ha wrote:
> > > On 02/24/14 16:24, ha wrote:
> > > > Hi!
> > > > 
> > > >> Try to find that file. ( run something like "find / -name vmtoolsd" )
> > > > 
> > > > I did. It only shows that files are there:
> > > > /etc/pam.d/vmtoolsd
> > > > /usr/bin/vmtoolsd
> > > 
> > > By the way, there is also /etc/vmware-tools folder
> > 
> > This rather highlights why I like Arch's package manager (Pacman.) more
> > than APT. Pacman features a command (pacman -Qo ) that explicitly
> > checks a file you specify for package ownership.
> 
> dpkg --search ${filename}

Thank you. Using that command it'd be trivial to see if those files were 
installed by the package manager, maybe a dependency, which is more likely 
than being compromised, in all honesty. 

Conrad


-- 
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/1521775.fCcAIDVUWK@twilight



Re: Am I paranoid?

2014-02-24 Thread Karl E. Jorgensen
Hi

On Mon, Feb 24, 2014 at 09:43:39AM -0600, y...@marupa.net wrote:
> On Monday, February 24, 2014 04:40:39 PM ha wrote:
> > On 02/24/14 16:24, ha wrote:
> > > Hi!
> > > 
> > >> Try to find that file. ( run something like "find / -name vmtoolsd" )
> > > 
> > > I did. It only shows that files are there:
> > > /etc/pam.d/vmtoolsd
> > > /usr/bin/vmtoolsd
> > 
> > By the way, there is also /etc/vmware-tools folder
> 
> This rather highlights why I like Arch's package manager (Pacman.) more than 
> APT. Pacman features a command (pacman -Qo ) that explicitly checks a 
> file 
> you specify for package ownership.

dpkg --search ${filename}

-- 
Karl E. Jorgensen


-- 
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/20140224154804.GB4691@hawking



Re: Am I paranoid?

2014-02-24 Thread ha

On 02/24/14 16:24, ha wrote:

Hi!


Try to find that file. ( run something like "find / -name vmtoolsd" )



I did. It only shows that files are there:
/etc/pam.d/vmtoolsd
/usr/bin/vmtoolsd



By the way, there is also /etc/vmware-tools folder


--
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/lefos4$vca$1...@ger.gmane.org



Re: Am I paranoid?

2014-02-24 Thread yaro
On Monday, February 24, 2014 04:40:39 PM ha wrote:
> On 02/24/14 16:24, ha wrote:
> > Hi!
> > 
> >> Try to find that file. ( run something like "find / -name vmtoolsd" )
> > 
> > I did. It only shows that files are there:
> > /etc/pam.d/vmtoolsd
> > /usr/bin/vmtoolsd
> 
> By the way, there is also /etc/vmware-tools folder

This rather highlights why I like Arch's package manager (Pacman.) more than 
APT. Pacman features a command (pacman -Qo ) that explicitly checks a 
file 
you specify for package ownership.

Rather than getting paranoid, go see if APT has a tool that does the same 
thing. I find it doubtful you've been compromised.

Conrad


-- 
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/1943927.mP18IQJb7E@twilight



Re: Am I paranoid?

2014-02-24 Thread Reco
 Hi.


On Mon, 24 Feb 2014 16:24:19 +0100
ha  wrote:

> Hi!
> 
> > Try to find that file. ( run something like "find / -name vmtoolsd" )
> >
> 
> I did. It only shows that files are there:
> /etc/pam.d/vmtoolsd
> /usr/bin/vmtoolsd
<…>
> echo $PATH
> does not shows my home directory
> 
> I did not installed anything from source.

To answer your question - yes, you're right being paranoid.

In Debian, software doesn't install by itself, installing a
software requires human intervention. You didn't do it = someone else
did it.

Whenever virtualization can be used to gain a backdoor is irrelevant
here, what's relevant is that someone has a root privileges on your
host already.

Now, whenever these privileges were carelessly used to install vmtoolsd
Slackware-style (i.e. not using apt or deb), or these privileges were
used to do something more (say, replacing sshd with its' keylogged
version) - that's really interesting.

I suggest you to:

1) Reboot the system using the good-known LiveCD. That's really
important as you cannot trust the integrity of the OS on this host.

2) Mount host's / filesystem and /var filesystem somewhere ('/mnt' will
do).

3) Run

debsums -ac -r /mnt

4) If, and only if debsums won't report anything unusual - purge
vmtoolsd, cleanup anything in /usr/local, change root password,
remove any ssh public keys from /root/.ssh/authorized_keys, reboot to
normal.

5) If debsums show any file replacements
(especially /usr/sbin/sshd, /bin/bash, etc) - reinstall the OS from the
scratch.

Reco


-- 
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/20140224193636.644bbfe2c7ae59b2aa558...@gmail.com



Re: Am I paranoid?

2014-02-24 Thread ha

Hi!


Try to find that file. ( run something like "find / -name vmtoolsd" )



I did. It only shows that files are there:
/etc/pam.d/vmtoolsd
/usr/bin/vmtoolsd


dpkg ( or apt, aptitude, synaptic, etc ) is not the only way to install
things. It's only the most efficient ( on Debian ) and secure.
It is still possible to install from sources, for example, in this case,
it will problably be installed in /usr/local.
Also, it could be that your $PATH include a directory of your $HOME,
where an installer could have then installed something. For example, I
have installed some games like that: regnum, or redeclipse ( but I have
to type their complete names for now. I should add their pathes to my
$PATH for more ease of use, or bind their binaries to a shortcut... ).


echo $PATH
does not shows my home directory

I did not installed anything from source.




Good hunt.




Thnx


--
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/lefntf$kca$1...@ger.gmane.org



Re: Am I paranoid?

2014-02-24 Thread ha

FYI, this was a log entry that caught my attention:

vmusr[3785]: [ warning] [vmtoolsd] The vmusr service needs to run inside 
a virtual machine.



... And I repeat once again: This is not a virtual machine and I did not 
install any VM software.



--
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/lefng7$crv$1...@ger.gmane.org



Re: Am I paranoid?

2014-02-24 Thread berenger . morel



Le 24.02.2014 13:14, ha a écrit :

I have a relatively new installation (2 months) of Debian Wheezy, and
not many additionaly packages installed. I *never* installed any
virtual machine on this computer, however, after some problems (that 
I
first though were hardware related) I found that vmtoolsd is 
installed

on this computer.

Synaptic does not show any installed VM package, same as my shell 
history.


I'm aware that virtualization theoretically could be used to gain
backdoor (or at least processing power) and I wonder if I'm the lucky
one. I'm willing to explore this if anybody is interested to lead me.


Try to find that file. ( run something like "find / -name vmtoolsd" )

dpkg ( or apt, aptitude, synaptic, etc ) is not the only way to install 
things. It's only the most efficient ( on Debian ) and secure.
It is still possible to install from sources, for example, in this 
case, it will problably be installed in /usr/local.
Also, it could be that your $PATH include a directory of your $HOME, 
where an installer could have then installed something. For example, I 
have installed some games like that: regnum, or redeclipse ( but I have 
to type their complete names for now. I should add their pathes to my 
$PATH for more ease of use, or bind their binaries to a shortcut... ).


Good hunt.


--
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/1e49a80919ffb381f02a4666487cf...@neutralite.org



Re: ethernet and wifi together

2014-02-24 Thread Reco
 Hi.

On Mon, 24 Feb 2014 15:32:08 +0100
"S3v3ran ."  wrote:

> Is there a way how to connect
> dynamically to both interfaces, using the eth0 as default route? Thanks in
> advance.

Sure, there's a way. Remove NetworkManager and wicd as both of them are
unsuitable for managing network settings anyway. Install wpasupplicant
and resolvconf (unless you have them already).

Configure your network interfaces at /etc/network/interfaces:

1) Wired - the usual way, with 'gateway' and 'dns-nameservers' stanzas.

2) Wireless - in accordance
with /usr/share/doc/wpasupplicant/README.Debian.gz, section 'Roaming
profiles' IIRC.

Reco


-- 
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/20140224190202.667e5f26727555c6acf4b...@gmail.com



ethernet and wifi together

2014-02-24 Thread S3v3ran .
Hello

My scenario is the following. I'm connected to the wired network, which is
the default network i'm using. The default gateway, DNS server and
everything else is via this interface. On the other side i have some
virtual machines inside and i need them to use the bridged wifi connection
(because the wired one is behind a proxy server). For this i also need to
have connected the wireless network (using WPA2-PSK). When i use Wicd. When
i use Wicd to connect to wifi, it automatically disconnects me from
ethernet and when i connect to ethernet, it disconnects me from wifi. Both
connections (wifi and wired) should be configured dynamically (i'm using
various networks at home or in the company). I tried a network-manager but
I couldn't connect to wifi with it. Is there a way how to connect
dynamically to both interfaces, using the eth0 as default route? Thanks in
advance.

Severan


RE: resolv.conf misbehaving

2014-02-24 Thread Bonno Bloksma
Hi Danny,

> My apologies, I must have missed your reply
>
>> Warning : this setup is wrong and may not work as you expect. All 
>> listed nameservers should be equivalent. Multiple nameservers are only 
>> for redundancy, not to provide multiple sources.
>> 
>> If you query the first server for an information out of its scope, it 
>> may reply negatively (status: NXDOMAIN or NOERROR, ANSWER: 0) and the 
>> next server won't be queried. So in the end you won't get your answer.
>
> However, what would be the point of giving resolv.conf multiple nameserver
> options then (if I understand you correctly), if one cannot "force" (for lack 
> of a better word) it, or even arbitrarily change the order in which servers 
> can
> be queried? So it would be absolutely pointless in even trying?

Multiple dns servers are for REDUNDANCY. So if one fails and is no longer 
available you will automatically use the next one available.

> The setup I had (Debian 3.0) worked. Unfortunately smart devices and more 
> wireless 
> laptops demanded attention.So I upgraded (clean install) to Debian 7.0. All I 
> want to
> do is for all wireless devices to get DHCP from Debian (not the router) and 
> query
> Debian (not the router) for name resolution. Simple as that.

Ok, so
1: Make sure to either disable DHCP in the router or make sure the router 
cannot answer those devices
2: Enable DHCP (isc-dhcp-server) on your linux machine
3: in the /etc/dhcp/dhcp.conf file have a line that points to the proper dns 
server

Me, I have a linux box conneted to the LAN and the and the router on the same 
NIC. Internally I use 172.16.17.0/24 and my router is on 192.168.178.1
In my /etc/dhcp/dhcpd.conf file I have:
#network definition
shared-network internal.xxx.xx. {
  subnet 172.16.17.0 netmask 255.255.255.0 {
option routers 172.16.17.1;
option domain-name-servers 172.16.17.1, 194.109.104.104;
option ntp-servers 172.16.17.1;
range 172.16.17.20 172.16.17.39;
range dynamic-bootp 172.16.17.40 172.16.17.45;
default-lease-time 86400;   # one day
max-lease-time 172800;  # two days
  }
  subnet 192.168.178.0 netmask 255.255.255.0 {
  }
}

This provides all information to the clients. If you want the router to handle 
all the traffic directly and not via the linux machine then change the "option 
routers ..." line. But...
If you want it all in one network range then change that part of the setup too.
For me, my linux box routes between several segments which my ISP router knows 
nothing about, which is why it is the default route for my network. Also, it is 
why I run my own dns server. Because there I CAN tell it where to look for the 
proper information if it is not available on the default "internet" dns servers.

Bonno Bloksma


--
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/89d1798a7351d040b4e74e0a043c69d775194...@hglexch-01.tio.nl



Re: cron.daily logrotate beating up my server

2014-02-24 Thread Tazman Deville
On Mon, Feb 24, 2014 at 01:57:02PM +0100, Tazman Deville wrote:
> I have a little server running here in my office,
> and logrotate kept running at c. 7am, and using up 100% CPU.
> I changed the line in /etc/crontab to run cron.daily scripts
> at 4:15am, instead of 7:whateveritwas am.
> 15 4 * * *
> Also, in cron.daily/logrotate
> I added 
> nice -n 15
> I made these changes two days ago,
> and still, yesterday and today, logrotate is running at 7:30ami-ish,
> and using up almost 100% of CPU cycles.
> The "server" is an old refurbed eMachines box,
> 3.2ghz single core celeron with 2gb ram (was my work box from 2007 to
> 2011), and logrotate is beating it up.
> 
> How do I get logrotate, first,
> to run at a time when the server is not busy with other stuff 
> (I'm actively doing stuff on the server at 7am, but not at 4am, which is
> why I had made that change).
> and/or
> limit its abuse of CPU cycles?
> 
> Why is it seemingly not honouring the changes I made to /etc/crontab
> and cron.daily/logrotate?

Off-list someone suggested I restart the cron daemon, which I have done.
I won't know if that helped until tomorrow morning, though.

Taz
-- 
http://tazmandevil.info
taz hungry


-- 
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/20140224140648.ga18...@myownsite.me



Re: Am I paranoid?

2014-02-24 Thread ha

Hi

I cannot see a package named "vmtoolsd" in the debian archives. But I
can see a package named "open-vm-tools", which has files named like
that:



Yes, I know. No, I do not have "open-vm-tools" package.



This package seems to be the VMware Tools bit intended to be installed
on a guest VM - i.e. it does not provide virtualisation, but does
stuff guests...

Is your box a VMWare guest? If not, then you should not need open-vm-tools.



Yes, I know. No, my computer is not a virtual machine and I did not 
install on it any virtual machine software (and especially not VMware).


My guess was that somebody assumed it is a VM box. (That's why I 
mentioned stealing of processor cycles)




I would not suspect this to be the case here. If you have the
open-vm-tools package from the Debian repository, you should be safe.

Hope this helps



No, according to synaptic I do not have installed any package that has 
"VM" in it.


But thanks anyway.


--
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/lefja6$n5b$1...@ger.gmane.org



Re: resolv.conf misbehaving

2014-02-24 Thread Danny
Hi,

My apologies, I must have missed your reply

> Warning : this setup is wrong and may not work as you expect. All listed
> nameservers should be equivalent. Multiple nameservers are only for
> redundancy, not to provide multiple sources.
> 
> If you query the first server for an information out of its scope, it
> may reply negatively (status: NXDOMAIN or NOERROR, ANSWER: 0) and the
> next server won't be queried. So in the end you won't get your answer.

However, what would be the point of giving resolv.conf multiple nameserver
options then (if I understand you correctly), if one cannot "force" (for lack of
a better word) it, or even arbitrarily change the order in which servers can be
queried? So it would be absolutely pointless in even trying?

I think I am missing something somewhere, previously (Debian 3.0 and even later)
one could add multiple nameservers in resolv.conf and the list would be queried
one at a time if an ANSWER SECTION could not be obtained from the previous one.
I fail to understand then the reasoning for "limiting" resolv.conf (and
everything associated with it).

I am no expert (by a long way) when it comes to any sort of DNS, but you don't
need to be a Doctor to know when someone is ill.

The setup I had (Debian 3.0) worked. Unfortunately smart devices and more
wireless laptops demanded attention. So I upgraded (clean install) to Debian
7.0. All I want to do is for all wireless devices to get DHCP from Debian (not
the router) and query Debian (not the router) for name resolution. Simple as
that.

I appreciate your input.

Thank You

Danny


-- 
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/20140224132600.GA7788@fever.havannah.local



Authentication problem which ejabberd using ODBC

2014-02-24 Thread Daniel Bareiro

Hi all.

Some time ago, I decided to migrate from a compiled ejabberd 2.0 to
version 2.1.5 from Debian GNU/Linux repositories.

After that, everything was working, although the weekend I was checking
some things of setup and I noticed that was running with a version of
MySQL modules I compiled at the time (2011).

The idea is that everything is running Debian packages for ease of
administration and security updates. Then I tried the authentication is
done with ODBC.

Then, to achieve this, I commented the lines:

---
{host_config, "sysadminhaiku.com.ar", [
 {odbc_server, {mysql, "localhost", "sysadminhaiku", "ejabberd",
"password"}}
]}.
---

and added these lines:

---
{odbc_server,
"DSN=MySQLEjabberdSysadminHaiku;UID=ejabberd;PWD=password"}.
---

But I get an authentication error:

---
I(<0.568.0>:ejabberd_c2s:649) : 
({socket_state,tls,{tlssock,#Port<0.4138>,#Port<0.4140>},<0.567.0>}) Failed 
authentication for dan...@sysadminhaiku.com.ar

=INFO REPORT 2014-02-24 09:38:56 === 
D(<0.568.0>:ejabberd_c2s:1553) : Send XML on stream = <<"">> 

=INFO REPORT 2014-02-24 09:38:57 === 
D(<0.567.0>:ejabberd_receiver:320) : Received XML on stream = 
"" 

=INFO REPORT 2014-02-24 09:38:57 === 
D(<0.567.0>:shaper:61) : State: {maxrate,1000,999.6358088704133, 
1393245537046358}, Size=16 
M=15.994175063316883, I=5.973


=INFO REPORT 2014-02-24 09:38:57 ===
D(<0.568.0>:ejabberd_c2s:1553) : Send XML on stream = ""
---

Could the authentication error be related to a connection issue? What I
find strange is that I did a test with isql, and the connection is
established. When I undo the change and authentication is back with
Erlang compiled modules, everything returns to normal.

Any idea what could be the problem?


Thanks in advance for your reply.

Regards,
Daniel
-- 
Daniel Bareiro
Fingerprint: BFB3 08D6 B4D1 31B2 72B9  29CE 6696 BF1B 14E6 1D37
Powered by Debian GNU/Linux Squeeze - Linux user #188.598


signature.asc
Description: Digital signature


Re: PROBLEMA DE IMPRESSÃO NO DEBIAN

2014-02-24 Thread Tazman Deville
On Mon, Feb 24, 2014 at 12:40:56PM +, Nuno Magalhães wrote:
> Boas,
> 
> Esta lista é em inglês, e é considerado má etiqueta usar CAPS.
> Se quiseres continuar em português, usa a
> https://lists.debian.org/debian-user-portuguese/
> 
> 2014-02-24 8:34 GMT+00:00 Vanderlei Gouvêa :
> > As impressoras de rede brother e HP na empresa que eu trabalho está muito
> > lento no SO DEBIAN.
> > E parece que este problema sempre ocorreu no DEBIAN e nos fóruns na web
> > ninguém conhece a solução.
> 
> Quanto às impressoras, tenta o HPLIP, nunca tive problemas com um
> multi-funções da HP.
> 

Posso dizer que tenho um HP5610 All-in-One
e funciona perfectamente com Wheezy (e Lenny e Squeeze) com o HPLIP.
O meu não esta ligado num rede, porem, mas com um maquina só.

boa sorte
Taz
-- 
http://tazmandevil.info
taz hungry


-- 
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/20140224130023.gb16...@myownsite.me



cron.daily logrotate beating up my server

2014-02-24 Thread Tazman Deville
I have a little server running here in my office,
and logrotate kept running at c. 7am, and using up 100% CPU.
I changed the line in /etc/crontab to run cron.daily scripts
at 4:15am, instead of 7:whateveritwas am.
15 4 * * *
Also, in cron.daily/logrotate
I added 
nice -n 15
I made these changes two days ago,
and still, yesterday and today, logrotate is running at 7:30ami-ish,
and using up almost 100% of CPU cycles.
The "server" is an old refurbed eMachines box,
3.2ghz single core celeron with 2gb ram (was my work box from 2007 to
2011), and logrotate is beating it up.

How do I get logrotate, first,
to run at a time when the server is not busy with other stuff 
(I'm actively doing stuff on the server at 7am, but not at 4am, which is
why I had made that change).
and/or
limit its abuse of CPU cycles?

Why is it seemingly not honouring the changes I made to /etc/crontab
and cron.daily/logrotate?

Taz
--
http://tazmandevil.info
taz hungry


-- 
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/20140224125702.ga16...@myownsite.me



Re: PROBLEMA DE IMPRESSÃO NO DEBIAN

2014-02-24 Thread Nuno Magalhães
Boas,

Esta lista é em inglês, e é considerado má etiqueta usar CAPS.
Se quiseres continuar em português, usa a
https://lists.debian.org/debian-user-portuguese/

2014-02-24 8:34 GMT+00:00 Vanderlei Gouvêa :
> As impressoras de rede brother e HP na empresa que eu trabalho está muito
> lento no SO DEBIAN.
> E parece que este problema sempre ocorreu no DEBIAN e nos fóruns na web
> ninguém conhece a solução.

Quanto às impressoras, tenta o HPLIP, nunca tive problemas com um
multi-funções da HP.


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



Re: Am I paranoid?

2014-02-24 Thread Karl E. Jorgensen
Hi

On Mon, Feb 24, 2014 at 01:14:10PM +0100, ha wrote:
> I have a relatively new installation (2 months) of Debian Wheezy,
> and not many additionaly packages installed. I *never* installed any
> virtual machine on this computer, however, after some problems (that
> I first though were hardware related) I found that vmtoolsd is
> installed on this computer.

I cannot see a package named "vmtoolsd" in the debian archives. But I
can see a package named "open-vm-tools", which has files named like
that:

https://packages.debian.org/search?suite=default§ion=all&arch=any&searchon=contents&keywords=vmtoolsd

This package seems to be the VMware Tools bit intended to be installed
on a guest VM - i.e. it does not provide virtualisation, but does
stuff guests...

Is your box a VMWare guest? If not, then you should not need open-vm-tools.

> Synaptic does not show any installed VM package, same as my shell history.
> 
> I'm aware that virtualization theoretically could be used to gain
> backdoor (or at least processing power) and I wonder if I'm the
> lucky one. I'm willing to explore this if anybody is interested to
> lead me.

I would not suspect this to be the case here. If you have the
open-vm-tools package from the Debian repository, you should be safe.

Hope this helps
-- 
Karl E. Jorgensen


-- 
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/20140224122513.GA4691@hawking



Am I paranoid?

2014-02-24 Thread ha
I have a relatively new installation (2 months) of Debian Wheezy, and 
not many additionaly packages installed. I *never* installed any virtual 
machine on this computer, however, after some problems (that I first 
though were hardware related) I found that vmtoolsd is installed on this 
computer.


Synaptic does not show any installed VM package, same as my shell history.

I'm aware that virtualization theoretically could be used to gain 
backdoor (or at least processing power) and I wonder if I'm the lucky 
one. I'm willing to explore this if anybody is interested to lead me.



--
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/lefcou$68c$1...@ger.gmane.org



Re: disk quota

2014-02-24 Thread emmanuel segura
yes


2014-02-22 22:32 GMT+01:00 Pol Hallen :

> Hi folks!
>
> Reading some howtos about quota disk I'm not sure about this topic
> (because is very old):
>
> "checking quotas regularly - Linux doesn't check quota usage each time a
> file is opened, you have to force it to process the aquota.user and
> aquota.group files periodically with the quotacheck command.You can setup a
> cron job to run a script similar to the one below to achieve this"
>
> so, I need remount fs without quota, do:
>
> quotaon -vaug
>
> e remount with quota?
>
> Can anyone that use disk quota confirm this thing?
>
> thanks for help!
> --
> Pol
>
>
> --
> 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/53091753.6050...@fuckaround.org
>
>


-- 
esta es mi vida e me la vivo hasta que dios quiera


Re: [WARNING] libc6 upgrade from 2.17.97 to 2.18.1 (unstable) fails -now segfaults on apt-get etc.

2014-02-24 Thread Darac Marjal
On Sat, Feb 22, 2014 at 01:52:27AM +, Robin wrote:
> **This of course may apply only to my PC but just in case it is not**:
> 
> Just done dist-upgrade 01:30 22/02/2014 and upgrade fails whilst
> updating libc6. Applications that were open are still functioning but
> everything else segfaults.
> Looks like a reinstall

I had that same issue at the weekend. Somehow my amd64/x86 multiarch
machine had got libc6:i386 at 2.18 but libc6:amd64 was at 2.17. I think
it was this mismatch that was throwing segfaults.

In the end, I was able to complete the upgrade by:
 * Download the libc6:amd64 deb
 * dpkg-deb --extract  
 * dpkg-deb -e  
 * Edit /DEBIAN/preinst and insert "exit 0" near the top
 * dpkg-deb -b 
 * dpkg -i 

This skipped some checks, but it did get things back in sync and I was
able to complete the upgrade.

The joys of running unstable(!)




signature.asc
Description: Digital signature


Re: [WARNING] libc6 upgrade from 2.17.97 to 2.18.1 (unstable) fails -now segfaults on apt-get etc.

2014-02-24 Thread Robin
On 22 February 2014 01:52, Robin  wrote:
> **This of course may apply only to my PC but just in case it is not**:
>
> Just done dist-upgrade 01:30 22/02/2014 and upgrade fails whilst
> updating libc6. Applications that were open are still functioning but
> everything else segfaults.
> Looks like a reinstall
>
> --
> rob

Fix information:

Aurelien Jarno wrote:


For already broken systems like yours, here is a procedure to fix it. On
a rescue system, change to the root directory of the system to be fixed.
- make sure ldconfig won't be run anymore:
ln -sf /bin/true lib/ldconfig
- point the symlink to the correct libc version:
ln -sf /lib/x86_64-linux-gnu/libdl-2.18.so lib64/ld-linux-x86-64.so.2
  note that the version 2.18 might have to be adjusted depending on the
  libc currently installed on your system

Then reboot on the system and run the following commands:
- remove libc6-amd64:
apt-get remove libc6-amd64
- reinstall and/or upgrade at least libc6 and libc-bin:
apt-get --reinstall libc6 libc-bin

Bug#739734


-- 
rob


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



Re: Installing nodejs binaries as a .deb package

2014-02-24 Thread Darac Marjal
On Sat, Feb 22, 2014 at 11:40:51AM +1100, Scott Ferguson wrote:
> On 22/02/14 11:39, Scott Ferguson wrote:
> > On 22/02/14 09:49, Blaine LaFreniere wrote:
> >> Hi, I was wondering how I might be able to install the nodejs binaries
> >> as a .deb package, so I could easily uninstall it later.
> > 
> > Why not:-
> > https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager
> > 
> > Or:-
> > http://blog.blakesimpson.co.uk/read/41-install-node-js-on-debian-wheezy
> > 
> >>
> >> I tried to use the alien utility to convert a .tgz file to a .deb, but
> >> after installing with dpkg -i , it didn't appear to install
> >> correctly, because I couldn't access the binaries, and when I do `which
> >> node`, there are no results.
> >>
> >>
> > 
> > I've not always had a lot of success with alien in the past, so where
> > possible I avoid it.
> > 
> > P.S. What Debian release you are trying to install to may be relevant -
> > likewise any error messages or lack thereof.
> 
> Sorry - hit Enter too soon.
> 
> nodejs *is* in the Sid repostitory.

Note, however, that due to a conflict with an existing package (node aka
ax25-node), Debian ships the binary as /usr/bin/nodejs. If you need to
use the old name (/usr/bin/node), then the node-legacy package seems to
provide for you.



signature.asc
Description: Digital signature


Re: netcat usage.

2014-02-24 Thread Brian
On Mon 24 Feb 2014 at 20:18:16 +1100, Scott Ferguson wrote:

> On 24/02/14 20:07, Zenaan Harkness wrote:
> > I'd include socat in the list, but perhaps it's command line options
> > are different? socat is my preferred network swiss army knife.
> > 
> > A little different, but there are also netsed, netrw etc.
> 
> And the excellent crypcat - but I just counted the ones with netcat in
> their name (in case the OP was, um, fussy about it), not necessarily
> their functionality. I don't know what the actual criteria for being
> "netcat" is, for me if it does the job and is in /etc/alternatives I'm
> happy.

There is also ncat, which comes in the nmap package and is described as
"a much-improved reimplementation of the venerable Netcat". This is what
the OP is apparently using. He might also have nc aliased to ncat.

I'd not previously come across the CAP_NET_BIND_SERVICE capability Pascal
Hambourg mentions; the OP could consider doing (as root)

   setcap cap_net_bind_service=+ep /usr/bin/ncat

as a solution to his problem.



-- 
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/20140224102150.ga8...@copernicus.demon.co.uk



Re: Multiple monitors - one screensaver

2014-02-24 Thread Gian Uberto Lauri
Ric Moore writes:
 > Has anyone managed to get one screensaver stretched across multiple 
 > monitors? I use the nvidia driver with four monitors using two nvidia 
 > cards. Ric

Which screensaver?

I use dual heading, no DE, only X11, window manager & shell. The old
venerable xlock does what you ask.

Chances are that has not the some of the fancy modules of the
screensaver Zawinsky wrote...


-- 
 /\   ___Ubuntu: ancient
/___/\_|_|\_|__|___Gian Uberto Lauri_   African word
  //--\| | \|  |   Integralista GNUslamicomeaning "I can
\/ coltivatore diretto di software   not install
 già sistemista a tempo (altrui) perso...Debian"

Warning: gnome-config-daemon considered more dangerous than GOTO


--
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/21259.4419.252701.171...@mail.eng.it



Re: netcat usage.

2014-02-24 Thread Scott Ferguson
On 24/02/14 20:07, Zenaan Harkness wrote:
> I'd include socat in the list, but perhaps it's command line options
> are different? socat is my preferred network swiss army knife.
> 
> A little different, but there are also netsed, netrw etc.
> 
> 

And the excellent crypcat - but I just counted the ones with netcat in
their name (in case the OP was, um, fussy about it), not necessarily
their functionality. I don't know what the actual criteria for being
"netcat" is, for me if it does the job and is in /etc/alternatives I'm
happy.


Kind regards



-- 
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/530b0e58.4090...@gmail.com



PROBLEMA DE IMPRESSÃO NO DEBIAN

2014-02-24 Thread Vanderlei Gouvêa

Prezados,


As impressoras de rede brother e HP na empresa que eu trabalho está 
muito lento no SO DEBIAN.
E parece que este problema sempre ocorreu no DEBIAN e nos fóruns na web 
ninguém conhece a solução.




Att.



Vanderlei


--
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/530b0420.7030...@terra.com.br



Multiple monitors - one screensaver

2014-02-24 Thread Ric Moore
Has anyone managed to get one screensaver stretched across multiple 
monitors? I use the nvidia driver with four monitors using two nvidia 
cards. Ric


--
My father, Victor Moore (Vic) used to say:
"There are two Great Sins in the world...
..the Sin of Ignorance, and the Sin of Stupidity.
Only the former may be overcome." R.I.P. Dad.
/https://linuxcounter.net/cert/44256.png /


--
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/530b0c54.9070...@gmail.com



Re: netcat usage.

2014-02-24 Thread Zenaan Harkness
I'd include socat in the list, but perhaps it's command line options
are different? socat is my preferred network swiss army knife.

A little different, but there are also netsed, netrw etc.


-- 
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/CAOsGNST1WYd9Dg3KCmqe5yzUgmQSq=oqao008whkh-1yel+...@mail.gmail.com



Re: netcat usage.

2014-02-24 Thread Scott Ferguson
On 24/02/14 15:44, Peter Easthope wrote:
> References: 
> <530a9882.4040...@gmail.com>
> 
> From: Scott Ferguson 
> Date: Mon, 24 Feb 2014 11:55:30 +1100
>> NOTE: there four different "netcats" available in Wheezy.
> 
> I found three.
> netcat-openbsd, netcat-traditional, netcat6.

OK. I miscounted transitional as a separate package.

> 
> netcat-openbsd pleads ignorance.
> peter@dalton:~$ nc -l 25 -e ssmtp
> nc: invalid option -- 'e'
>   ...
> 
> netcat-traditional listens on the port; or appears to and does nothing.
> peter@dalton:~$ nc -l 25 -e ssmtp
> [gears humming]

What are the contents of the file "ssmtp"?

> 
> netcat6 refuses.
> peter@dalton:~$ nc -l -p 25 -e ssmtp

"-p 25" is not the same as "-l 25"

> nc: bind to source :: 25 failed: Permission denied
> nc: bind to source 0.0.0.0 25 failed: Permission denied
> nc: failed to bind to any local addr/port

$ nc -lvv -p 1025 -w 2;nc -lvv -p 25
listening on [any] 1025 ...
no connection : Connection timed out
Can't grab 0.0.0.0:25 with bind : Permission denied

(netcat-traditional   1.10-40)



Kind regards




-- 
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/530b0a36.6080...@gmail.com