Re: [gentoo-user] Anyone get Acer laptop internal microphone working in Gentoo?

2011-02-21 Thread YoYo Siska
On Sun, Feb 20, 2011 at 08:33:22PM -0500, Walter Dnes wrote:
 On Sun, Feb 20, 2011 at 12:09:27PM +, Mick wrote
  Indeed, the Gentoo Alsa Guide still says pretty much the same thing:
  
  Please note that for ease of use, all examples show ALSA built as
  modules. It is advisable to follow the same as it then allows the
  use of alsaconf which is a boon when you want to configure your card.
  
  I've added some options for my alsa modules in
  /etc/modprobe.d/alsa-base.conf, e.g.:
  
options snd-hda-intel enable_msi=1
 
   This is exasperating.  After re-building alsa sound support as kernel
 modules, rather than built into the kernel, I see some improvement.
 When I blow into the internal mic I hear it from the laptop speakers.
 With mic-boost turned up, I can hear myself echoing when I talk into the
 internal mic or into an external mic.  Turn up the boost high enough,
 and the external mic generates a mean high-ptched feedback squeal,
 unless I also plug in headphones.
 
   So the hardware is working now, *BUT I STILL CAN'T RECORD THE BLEEPING
 THING*.  When I try ffmpeg -f oss -i /dev/dsp audio.wav it thinks it's
 recording, but the output file is only hiss.   Ditto for the command
 ffmpeg -f alsa -i plughw:0,0 audio.wav.

Seems that the mic works, but is not selected for capture... (routing it
to speakers recording from it are two different things ;)

You basically need to tell alsa which sources to record from, which may
be different from which are just unmuted in the mixer (and thus playing
from the speakers). I've seen a few different sets of alsa controls on
different sound cards that control the record sources, these are the two I 
remember:

Run alsamixer, pres F4 (capture) and either look for
- a mic control (along with CD, Line, Aux,... controls), then make sure it 
has a red CAPTURE text (spacebar
  toggles CAPTURE)
- if you dont't have separate Mic, Line, ... controls, try looking for a
  Input source control, you should be able to use up/down arrows to
  change it to mic

Also in both cases make sure a Capture control has CAPTURE on too..
You might have more Mic sources two choose from, or you might also have
a Mic Select control, with which you can switch between different
mics, so you might have to experiment to find which is the correct
one...

yoyo





Re: [gentoo-user] irritating cron habit : solved

2011-02-21 Thread YoYo Siska
On Mon, Feb 21, 2011 at 12:39:43AM -0500, Philip Webb wrote:
 110220 Philip Webb wrote:
  110220 Florian Philipp wrote:
  Just change your cron job to look like
  'test -e /var/run/dhcpcd.pid  fetchmail'
  That's by far the simplest  it still fetches the mail,
  so we'll see if it also avoids the occasional internal spam msgs.
 
 Indeed it does: I tried delaying starting the I/net connection
  there is no 'dead.letter' file.  Thanks again.
 
 PS the file is  /var/run/dhcpcd-eth0.pid , not as above.

btw, if I need to check if the network is up in a script, I usually do

ping -q -c1 -w4 some.remote.host /dev/null 21  
command-to-run-if-remote-host-reachable

It the advantage that it checks directly connection to the host
you wish to connect to, so it also won't run the command if your network
is up, but the remote host is inaccessible...

If your server doesn't respond to pings, just use some other server
(eg google's public dns 8.8.8.8)

The -w4 paramater controls  how long to wait for reply if the network is
up, but the reply is not comming (ie a network problem, if your network
connect is down, ping will return immediately with a network
unreachable or unknown host error)

yoyo



Re: [gentoo-user] flash drive mounting is very slow

2011-02-21 Thread Neil Bothwick
On Sun, 20 Feb 2011 23:10:18 -0500, David Relson wrote:

 You're suggesting that the RUN clause be
 
RUN+=pmount /dev/PNY 
 
 right?

Right. Most importantly, stop using mount -a.


-- 
Neil Bothwick

If you think that there is good in everybody, you haven't met everybody.


signature.asc
Description: PGP signature


Re: [gentoo-user] irritating cron habit : solved

2011-02-21 Thread Adam Carter

 btw, if I need to check if the network is up in a script, I usually do

 ping -q -c1 -w4 some.remote.host /dev/null 21 
 command-to-run-if-remote-host-reachable

 It the advantage that it checks directly connection to the host
 you wish to connect to, so it also won't run the command if your network
 is up, but the remote host is inaccessible...

 If your server doesn't respond to pings, just use some other server
 (eg google's public dns 8.8.8.8)



Or you could use hping, which has the advantage that it tests the actual
service you want to use, rather than just the host it sits on;

sphinx adam # hping2 -c 1 -S -p 80 www.google.com /dev/null 21  echo
it worked
it worked


Re: [gentoo-user] Re: Radeon HD 4350 benchmark

2011-02-21 Thread Mick
On 21 February 2011 04:27, James wirel...@tampabay.rr.com wrote:
 James wireless at tampabay.rr.com writes:


 In the kernel, under the Generic section, I first tried:
 CONFIG_FW_LOADER=y
 CONFIG_FIRMWARE_IN_KERNEL=y
 CONFIG_EXTRA_FIRMWARE=radeon
 CONFIG_EXTRA_FIRMWARE_DIR=/lib/firmware

This should have been:

# cat /usr/src/linux/.config | grep -i FIRMWARE
CONFIG_PREVENT_FIRMWARE_BUILD=y
CONFIG_FIRMWARE_IN_KERNEL=y
CONFIG_EXTRA_FIRMWARE=radeon/R700_rlc.bin
CONFIG_EXTRA_FIRMWARE_DIR=/lib/firmware/
CONFIG_FIRMWARE_EDID=y
# Firmware Drivers
CONFIG_FIRMWARE_MEMMAP=y


Also, check that you have the R700_rlc.bin in place:

ls -la /lib/firmware/radeon/R700_rlc.bin
-rw-r--r-- 1 root root 4096 Feb 15 19:40 /lib/firmware/radeon/R700_rlc.bin

and emerge x11-drivers/radeon-ucode if it's not already there.
-- 
Regards,
Mick



[gentoo-user] FIXED: Radeon HD 4350

2011-02-21 Thread James
Mick michaelkintzios at gmail.com writes:


 # cat /usr/src/linux/.config | grep -i FIRMWARE
 CONFIG_PREVENT_FIRMWARE_BUILD=y
 CONFIG_FIRMWARE_IN_KERNEL=y
 CONFIG_EXTRA_FIRMWARE=radeon/R700_rlc.bin
 CONFIG_EXTRA_FIRMWARE_DIR=/lib/firmware/
 CONFIG_FIRMWARE_EDID=y
 # Firmware Drivers
 CONFIG_FIRMWARE_MEMMAP=y

Fixed!
Done!
Thx!
YES!
Need more lines in the replay
so Gmane will allow post
braindead

James





Re: [gentoo-user] Re: help with xorg-server-1.9.4 and no hal; broken mouse/keyboard/X

2011-02-21 Thread Mick
On Monday 21 February 2011 04:07:20 Valmor de Almeida wrote:

 otherwise my keyboard keybindings do not work. I have also tried the
 pointer InputClass outside the xorg.conf file, that is, inside the
 xorg.conf.d/ directory. As long as the 10-synaptics.conf file is read
 first, the keyboard config works so do the usb mouse and trackpoint
 (with inverted buttons). However so far I have not been able to get the
 touchpad buttons to be inverted.
 
 This is a minor thing I can deal with later.

Try, as man synaptics suggest, to set in your synaptics: TapButton1=3 as an 
option and see if that works.
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


[gentoo-user] keyboard lighting control?

2011-02-21 Thread Mark Knecht
Is there either a kernel config option or additionally some
application that allows me to turn on and off the lights underneath
this groovy new laptop's keyboard?

They flash on when booting, and work in Windows, but I don't know how
to control them in Linux. I haven't found any function key that does
it in hardware so I assume it's possibly an ACPI type thing or
something else?

Thanks,
Mark



[gentoo-user] plenty of strange sshd-logs... what does it mean?

2011-02-21 Thread Jarry

Hi,

I just noticed my /var/log/sshd.log is suddenly somehow big.
After checking it out I have found a lot of messages like this:


2011-02-21T03:49:21+00:00 obelix sshd[19767]: SSH: Server;Ltype: 
Version;Remote: my.ip.add.ress-56254;Protocol: 2.0;Client: 
OpenSSH_5.8p1-hpn13v10


This message was recorded on 2011-02-14T17:45:24+00:00 for
the first time, and since then exactly every 2 minutes.
I think it was the day when I updated to openssh-5.6-p1-r2.

So first of all, what does the message mean? And next,
how can I turn it off, or at least reduce its frequency?

Jarry

--
___
This mailbox accepts e-mails only from selected mailing-lists!
Everything else is considered to be spam and therefore deleted.



Re: [gentoo-user] keyboard lighting control?

2011-02-21 Thread Mick
On Monday 21 February 2011 19:40:33 Mark Knecht wrote:
 Is there either a kernel config option or additionally some
 application that allows me to turn on and off the lights underneath
 this groovy new laptop's keyboard?
 
 They flash on when booting, and work in Windows, but I don't know how
 to control them in Linux. I haven't found any function key that does
 it in hardware so I assume it's possibly an ACPI type thing or
 something else?

You didn't say which groovy new laptop's keyboard you are trying to make light 
up, so I can only guess that SENSORS_APPLESMC may well do the trick for you, 
but YMMV ...
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] keyboard lighting control?

2011-02-21 Thread Mark Knecht
On Mon, Feb 21, 2011 at 12:10 PM, Mick michaelkintz...@gmail.com wrote:
 On Monday 21 February 2011 19:40:33 Mark Knecht wrote:
 Is there either a kernel config option or additionally some
 application that allows me to turn on and off the lights underneath
 this groovy new laptop's keyboard?

 They flash on when booting, and work in Windows, but I don't know how
 to control them in Linux. I haven't found any function key that does
 it in hardware so I assume it's possibly an ACPI type thing or
 something else?

 You didn't say which groovy new laptop's keyboard you are trying to make light
 up, so I can only guess that SENSORS_APPLESMC may well do the trick for you,
 but YMMV ...
 --
 Regards,
 Mick


Ah, if that makes a difference is a Asus G73JW. Assuming I enable that
kernel option is there a user space app that will allow my 83 year old
gaming mom to turn the lights off and on?

Thanks,
Mark

Here's the lspci data:

livecd ~ # lspci
00:00.0 Host bridge: Intel Corporation Core Processor DMI (rev 11)
00:03.0 PCI bridge: Intel Corporation Core Processor PCI Express Root
Port 1 (rev 11)
00:08.0 System peripheral: Intel Corporation Core Processor System
Management Registers (rev 11)
00:08.1 System peripheral: Intel Corporation Core Processor Semaphore
and Scratchpad Registers (rev 11)
00:08.2 System peripheral: Intel Corporation Core Processor System
Control and Status Registers (rev 11)
00:08.3 System peripheral: Intel Corporation Core Processor
Miscellaneous Registers (rev 11)
00:10.0 System peripheral: Intel Corporation Core Processor QPI Link (rev 11)
00:10.1 System peripheral: Intel Corporation Core Processor QPI
Routing and Protocol Registers (rev 11)
00:16.0 Communication controller: Intel Corporation 5 Series/3400
Series Chipset HECI Controller (rev 06)
00:1a.0 USB Controller: Intel Corporation 5 Series/3400 Series Chipset
USB2 Enhanced Host Controller (rev 06)
00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset
High Definition Audio (rev 06)
00:1c.0 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI
Express Root Port 1 (rev 06)
00:1c.1 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI
Express Root Port 2 (rev 06)
00:1c.3 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI
Express Root Port 4 (rev 06)
00:1c.4 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI
Express Root Port 5 (rev 06)
00:1c.5 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI
Express Root Port 6 (rev 06)
00:1d.0 USB Controller: Intel Corporation 5 Series/3400 Series Chipset
USB2 Enhanced Host Controller (rev 06)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev a6)
00:1f.0 ISA bridge: Intel Corporation Mobile 5 Series Chipset LPC
Interface Controller (rev 06)
00:1f.2 SATA controller: Intel Corporation 5 Series/3400 Series
Chipset 4 port SATA AHCI Controller (rev 06)
01:00.0 VGA compatible controller: nVidia Corporation GeForce GTX 460M
(rev a1) (rev a1)
01:00.1 Audio device: nVidia Corporation GF106 High Definition Audio
Controller (rev a1)
03:00.0 Network controller: Atheros Communications Inc. AR9285
Wireless Network Adapter (PCI-Express) (rev 01)
04:00.0 USB Controller: Fresco Logic Device 1400 (rev 01)
05:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd.
Device 5209 (rev 01)
06:00.0 Ethernet controller: Atheros Communications AR8131 Gigabit
Ethernet (rev c0)
ff:00.0 Host bridge: Intel Corporation Core Processor QuickPath
Architecture Generic Non-Core Registers (rev 04)
ff:00.1 Host bridge: Intel Corporation Core Processor QuickPath
Architecture System Address Decoder (rev 04)
ff:02.0 Host bridge: Intel Corporation Core Processor QPI Link 0 (rev 04)
ff:02.1 Host bridge: Intel Corporation Core Processor QPI Physical 0 (rev 04)
ff:03.0 Host bridge: Intel Corporation Core Processor Integrated
Memory Controller (rev 04)
ff:03.1 Host bridge: Intel Corporation Core Processor Integrated
Memory Controller Target Address Decoder (rev 04)
ff:03.4 Host bridge: Intel Corporation Core Processor Integrated
Memory Controller Test Registers (rev 04)
ff:04.0 Host bridge: Intel Corporation Core Processor Integrated
Memory Controller Channel 0 Control Registers (rev 04)
ff:04.1 Host bridge: Intel Corporation Core Processor Integrated
Memory Controller Channel 0 Address Registers (rev 04)
ff:04.2 Host bridge: Intel Corporation Core Processor Integrated
Memory Controller Channel 0 Rank Registers (rev 04)
ff:04.3 Host bridge: Intel Corporation Core Processor Integrated
Memory Controller Channel 0 Thermal Control Registers (rev 04)
ff:05.0 Host bridge: Intel Corporation Core Processor Integrated
Memory Controller Channel 1 Control Registers (rev 04)
ff:05.1 Host bridge: Intel Corporation Core Processor Integrated
Memory Controller Channel 1 Address Registers (rev 04)
ff:05.2 Host bridge: Intel Corporation Core Processor Integrated
Memory Controller Channel 1 Rank Registers (rev 04)
ff:05.3 Host bridge: Intel Corporation Core Processor 

[gentoo-user] [OT] etho app rating 10/100 etc in megabytes

2011-02-21 Thread Harry Putnam
I've gotten confused on this problem way too many times.. I'd like to
get some definitive starting points.

When you see net adapters online they are always rated like

10/100  or 10/100/1000.  So how does one turn that notation into
megabytes?

I think those numbers stand for bits, right?

But still, when I'm trying to measure how much data is moving to a
certain directory, and I want to compare it to what the adapter is
supposed to do... (in some easy homeboy way).

I vaguely remember something about 8 bits to a byte or maybe its the
other way round...

My homeboy transfer measurements:

I measure the incoming MegaBytes as measured with `du' with a while
loop interating in settable intervals.  So in this case when set to 60
seconds,I now the number of megabytes that arrive in 60 seconds but
would like to know how to convert that to the other notation.

I'm seeing between 222 and 237 MB in a full minute being transferred
and it seems quite slow for what is supposed to be a gigabyte network.

This is just across two computers on my home lan, both with gigabyte
adapters and they connect thru a gigabyte switch.  Or I hope they are.

My setup looks like this in brief (simplified).

The transfer is between h4 and h5 (windows XP, windows 7) You'll note
there is 10/100 router between the whole lan and the internet.

Both of the subject machines are set to the 10/100 router as default
route.  The Gigabyte switch has no address.

 internet
|
|
|
 (netgear router is lan `default route'  = 10/100* 
   NETGEAR ROUTER (inside address 192.168.0.20)
  | | |
  | | |
   (192.168.0.5) h1 | h3 (192.168.0.7)
|
|
   gigabyte switch
   ||
   ||
 (192.168.0.9) h4  h5 (192.168.0.17)

So I guess I worked another whole subject into this but really I would
like to know how to make the conversion mentioned.

But also if I should be expecting h4 h5 to be able to use GigaByte
transfer speeds.




Re: [gentoo-user] Anyone get Acer laptop internal microphone working in Gentoo?

2011-02-21 Thread Walter Dnes
On Mon, Feb 21, 2011 at 11:11:54AM +0100, YoYo Siska wrote

 Run alsamixer, pres F4 (capture) and either look for
 - a mic control (along with CD, Line, Aux,... controls), then make
 sure it has a red CAPTURE text (spacebar toggles CAPTURE)

  Thank you very much.  That was the last step that I was missing.  Both
alsa mode and oss compatibility mode work with their appropriate command
lines now...

ffmpeg -y -f alsa -i plughw:0,0 audio1.wav

ffmpeg -y -f oss  -i /dev/dsp audio2.wav

  Again, thank you very much.

-- 
Walter Dnes waltd...@waltdnes.org



[gentoo-user] Re: plenty of strange sshd-logs... what does it mean?

2011-02-21 Thread walt

On 02/21/2011 11:48 AM, Jarry wrote:

Hi,

I just noticed my /var/log/sshd.log is suddenly somehow big.


That's interesting.  I have no such logfile.  Did you change something
in /etc/ssh/sshd_config?

Oh, wait, I'm running openssh-5.8-p1, and my config file says the logging
configuration has eliminated the FascistLogging option.  (Nerds are a
laugh a minute, eh?)


After checking it out I have found a lot of messages like this:


2011-02-21T03:49:21+00:00 obelix sshd[19767]: SSH: Server;Ltype:
Version;Remote: my.ip.add.ress-56254;Protocol: 2.0;Client:
OpenSSH_5.8p1-hpn13v10




This message was recorded on 2011-02-14T17:45:24+00:00 for
the first time, and since then exactly every 2 minutes.
I think it was the day when I updated to openssh-5.6-p1-r2.


So, if your machine is running openssh-5.6 server, then whose machine
is running an openssh-5.8 client?

Could it be your cable or DSL router?  I can ssh into my DSL router,
but it doesn't send me any traffic unless I send some first.

I'd use a sniffer like ngrep or wireshark to see who is poking at your
ssh port, if anyone really is.

Anyway, my sshd_config file (version 5.8) has a LogLevel setting.
In your case I'd be tempted to increase the verbosity to figure out
what the messages are really trying to tell you.




[gentoo-user] pmount question

2011-02-21 Thread David Relson
G'day,

My USB subsystem is working much better now (than it was this
weekend).  /etc/fstab had a reference to /dev/hdb which no my current
kernel no longer supports.  Removing this has improved flash drive
mounting a whole lot!

I've also modified /etc/udev/rules.d/10-local.rules to use pmount
device label rather than mount -a.  This is mounting flash drives
in /media as desired:

root@osage media # ls -l
total 32
drwx-- 19 root plugdev 16384 Dec 31  1969 PNY
drwx--  3 root plugdev 16384 Dec 31  1969 SD_2G

However (as can be seen above) the permissions are 700, which
makes the drives unusable by members of the plugdev group.

Alternatively, I can use pmount -u 007 device label to provide full
access to the plugdev group.  This seems awkward and inelegant.

What's the right way to use pmount and set permissions?

Regards,

David



[gentoo-user] Re: [OT] etho app rating 10/100 etc in megabytes

2011-02-21 Thread Harry Putnam
Harry Putnam rea...@newsguy.com writes:

 I've gotten confused on this problem way too many times.. I'd like to
 get some definitive starting points.

 When you see net adapters online they are always rated like

 10/100  or 10/100/1000.  So how does one turn that notation into
 megabytes?

 I think those numbers stand for bits, right?

 But still, when I'm trying to measure how much data is moving to a
 certain directory, and I want to compare it to what the adapter is
 supposed to do... (in some easy homeboy way).

 I vaguely remember something about 8 bits to a byte or maybe its the
 other way round...

OK, I found all that and how to figure it out here:
  http://www.wisegeek.com/what-is-mbps.htm

----   ---=---   -   


But still needing some coaching about the network setup and what to
expect for data transfer in OP




Re: [gentoo-user] pmount question

2011-02-21 Thread Neil Bothwick
On Mon, 21 Feb 2011 18:58:38 -0500, David Relson wrote:

 I've also modified /etc/udev/rules.d/10-local.rules to use pmount
 device label rather than mount -a.  This is mounting flash drives
 in /media as desired:

mount -a was always a bad idea, because it could potentially affect
drives other than the one the rule was intended for. What would happen if
you had unmounted a filesystem to run fsck on it and you plugged in your
USB drive?
 
 root@osage media # ls -l
 total 32
 drwx-- 19 root plugdev 16384 Dec 31  1969 PNY
 drwx--  3 root plugdev 16384 Dec 31  1969 SD_2G
 
 However (as can be seen above) the permissions are 700, which
 makes the drives unusable by members of the plugdev group.
 
 Alternatively, I can use pmount -u 007 device label to provide full
 access to the plugdev group.  This seems awkward and inelegant.
 
 What's the right way to use pmount and set permissions?

pmount is supposed to be run as a user and it mounts the filesystem owned
by the user running it. If you only have a single user, you could call
pmount with su. If you have multiple users, you should be letting a
desktop tool handle the mounting anyway.


-- 
Neil Bothwick

We all know what comes after 'X', said Tom, wisely.


signature.asc
Description: PGP signature


Re: [gentoo-user] [OT] etho app rating 10/100 etc in megabytes

2011-02-21 Thread Adam Carter

 I've gotten confused on this problem way too many times.. I'd like to
 get some definitive starting points.

 When you see net adapters online they are always rated like

 10/100  or 10/100/1000.  So how does one turn that notation into
 megabytes?


That notation is in megabits per second, or Mb/s or Mbps. Bits are shown as
lowercase b and bytes are shown as uppercase B. So you want to change Mbps
to MBps. This is stating the raw throughput, so Ethernet headers are
included.



 But still, when I'm trying to measure how much data is moving to a
 certain directory, and I want to compare it to what the adapter is
 supposed to do... (in some easy homeboy way).

 I vaguely remember something about 8 bits to a byte or maybe its the
 other way round...


Yep - 8 bits to a byte in this case. Serial comms can be a different number
of bits per byte.


 My homeboy transfer measurements:

 I measure the incoming MegaBytes as measured with `du' with a while
 loop interating in settable intervals.  So in this case when set to 60
 seconds,I now the number of megabytes that arrive in 60 seconds but
 would like to know how to convert that to the other notation.


du is probably not a good way of doing it, depending on how the disk system
commits the writes. Some clients show you the data rate. Maybe wget or ssh?
Cant check where i am now. Thee numbers the application states (or du) is
just the data, so doesnt take into account ethernet, IP and TCP headers.



 I'm seeing between 222 and 237 MB in a full minute being transferred
 and it seems quite slow for what is supposed to be a gigabyte network.

 This is just across two computers on my home lan, both with gigabyte
 adapters and they connect thru a gigabyte switch.  Or I hope they are.

 My setup looks like this in brief (simplified).



IIRC typical speeds on 100Mbps LANs are 4 or 5 MBps. There's many factors
that can affect speed tho.


[gentoo-user] Re: Anyone get Acer laptop internal microphone working in Gentoo?

2011-02-21 Thread walt

On 02/21/2011 03:14 PM, Walter Dnes wrote:
 

ffmpeg -y -f alsa -i plughw:0,0 audio1.wav

ffmpeg -y -f oss  -i /dev/dsp audio2.wav


I understand the /dev/dsp, but where did plughw:0,0 come from?

After googling around a bit, I must say I've rarely seen such
opaque documentation as I've just found for alsa.

I can feel your frustration -- but I'm glad you got it fixed :)





Re: [gentoo-user] plenty of strange sshd-logs... what does it mean?

2011-02-21 Thread Alex Schuster
Jarry writes:

 I just noticed my /var/log/sshd.log is suddenly somehow big.
 
 After checking it out I have found a lot of messages like this:
  2011-02-21T03:49:21+00:00 obelix sshd[19767]: SSH: Server;Ltype:
  Version;Remote: my.ip.add.ress-56254;Protocol: 2.0;Client:
  OpenSSH_5.8p1-hpn13v10
 
 This message was recorded on 2011-02-14T17:45:24+00:00 for
 the first time, and since then exactly every 2 minutes.
 I think it was the day when I updated to openssh-5.6-p1-r2.
 
 So first of all, what does the message mean? And next,
 how can I turn it off, or at least reduce its frequency?

Now that you mention it, I see the same messages. This also started 
happening since I upgraded to openssh-5.8_p1-r1.
But I have them only when someone connnects to my server, not every two 
minutes.

Wonko



Re: [gentoo-user] Re: plenty of strange sshd-logs... what does it mean?

2011-02-21 Thread Jarry

On 22. 2. 2011 0:42, walt wrote:

On 02/21/2011 11:48 AM, Jarry wrote:

Hi,

I just noticed my /var/log/sshd.log is suddenly somehow big.


That's interesting. I have no such logfile. Did you change something
in /etc/ssh/sshd_config?


I forgot to say: I have set up filter for ssh-messages.
They would be otherwise logged probably into /var/log/messages


Oh, wait, I'm running openssh-5.8-p1, and my config file says the logging
configuration has eliminated the FascistLogging option. (Nerds are a
laugh a minute, eh?)


After checking it out I have found a lot of messages like this:


2011-02-21T03:49:21+00:00 obelix sshd[19767]: SSH: Server;Ltype:
Version;Remote: my.ip.add.ress-56254;Protocol: 2.0;Client:
OpenSSH_5.8p1-hpn13v10




This message was recorded on 2011-02-14T17:45:24+00:00 for
the first time, and since then exactly every 2 minutes.
I think it was the day when I updated to openssh-5.6-p1-r2.


So, if your machine is running openssh-5.6 server, then whose machine
is running an openssh-5.8 client?


No, my machine has openssh-5.8_p1-r1. But these messages
startet since I updated to 5.6-p1-r2. Later I updated
to 5.8_p1-r1, and they still keep comming. So up to
5.6-p1-r1 everything was normal, but since 5.6-p1-r2
I have these strange log messages...


Could it be your cable or DSL router? I can ssh into my DSL router,
but it doesn't send me any traffic unless I send some first.


I doubt about it. There is not dsl-router, just switch and
direct connection to internet. Funny is, that my.ip.add.ress
is actually IP-address of this server, and exactly the same
IP on which sshd is running. So if my.ip.add.ress is remote,
then it seems my server is trying to connect my server.
Very strange...



I'd use a sniffer like ngrep or wireshark to see who is poking at your
ssh port, if anyone really is.

Anyway, my sshd_config file (version 5.8) has a LogLevel setting.
In your case I'd be tempted to increase the verbosity to figure out
what the messages are really trying to tell you.


OK, I'll try it. Though in reality, I would actually like
to decrease somehow this verbosity. My sshd.log gets terribly
big, and is rotated every day...

Jarry

--
___
This mailbox accepts e-mails only from selected mailing-lists!
Everything else is considered to be spam and therefore deleted.