Re: where is my WiFi card? (ThinkPad T61)

2014-06-06 Thread Stanisław Findeisen
On 2014-06-05 23:08, Jack Wilborn wrote:
 Might be that the wireless is 'wlan0' instead.  Might want to look at
 your config files to see it it's being used.  The items you are using
 (like 'lsusb', I assume you used 'lspci -vv' or something like that) are
 tools that read all ports, and usually the wifi stuff is located on a
 psi connection (does not have to be)..
 
 What installation stuff did you do?  (like 'wireless-tools') that should
 give you some indication of if it's working. Plus I think the 'lo' is
 the local loopback.
 
 Jack

According to the wiki:
https://wiki.debian.org/WiFi/HowToUse#NetworkManager , when using
NetworkManager, the wireless interface should not be referenced within
Debian's /etc/network/interfaces file.

So I didn't take any configuration steps, besides installing (aptitude)
the packages:

firmware-iwlwifi (non-free)
network-manager
network-manager-gnome
network-manager-kde
wireless-tools
wpasupplicant

and their dependencies.

I am using KDE. It says that network-manager-kde:
https://packages.debian.org/stable/network-manager-kde is a dummy
package, and that network-manager-gnome:
https://packages.debian.org/stable/network-manager-gnome works in KDE
too. But I can't see a systray applet anywhere, unless I run nm-applet
from the command line.

I also disabled openvpn on startup (I think it was installed as one of
the dependencies).

openvpn   0:off  1:off  2:off  3:off  4:off  5:off  6:off

-- 
http://people.eisenbits.com/~stf/
http://www.eisenbits.com/

OpenPGP: 80FC 1824 2EA4 9223 A986  DB4E 934E FEA0 F492 A63B


-- 
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/53916765.5090...@eisenbits.com



Re: where is my WiFi card? (ThinkPad T61)

2014-06-06 Thread Stanisław Findeisen
On 2014-06-06 14:39, Jack Wilborn wrote:
 I guess that's funny, I configure my wifi in the interfaces file... Oh
 well... I know I had lots of problems with configuring of my wireless
 interfaces mostly because they were proprietary chip sets.  I guess you
 are loading a 'blob', the term used for the extracted firmware of the
 manufacturers software.
 
 The 'wireless-tools' package is the best to interface with as the 'iw'
 commands are very useful.  I will try and dig my notes up with the
 commands that I used and post them for you..
 
 It seems like you should be able to at least figure out where the wifi
 is connected, i.e. usb or pci buss, I bet on the pci buss as it's faster
 I believe...
 
 Jack
 
 
 On Fri, Jun 6, 2014 at 12:01 AM, Stanisław Findeisen
 stf.list.debian.u...@eisenbits.com
 mailto:stf.list.debian.u...@eisenbits.com wrote:
 
 On 2014-06-05 23:08, Jack Wilborn wrote:
  Might be that the wireless is 'wlan0' instead.  Might want to look at
  your config files to see it it's being used.  The items you are using
  (like 'lsusb', I assume you used 'lspci -vv' or something like
 that) are
  tools that read all ports, and usually the wifi stuff is located on a
  psi connection (does not have to be)..
 
  What installation stuff did you do?  (like 'wireless-tools') that
 should
  give you some indication of if it's working. Plus I think the 'lo' is
  the local loopback.
 
  Jack
 
 According to the wiki:
 https://wiki.debian.org/WiFi/HowToUse#NetworkManager , when using
 NetworkManager, the wireless interface should not be referenced within
 Debian's /etc/network/interfaces file.
 
 So I didn't take any configuration steps, besides installing (aptitude)
 the packages:
 
 firmware-iwlwifi (non-free)
 network-manager
 network-manager-gnome
 network-manager-kde
 wireless-tools
 wpasupplicant
 
 and their dependencies.
 
 I am using KDE. It says that network-manager-kde:
 https://packages.debian.org/stable/network-manager-kde is a dummy
 package, and that network-manager-gnome:
 https://packages.debian.org/stable/network-manager-gnome works in KDE
 too. But I can't see a systray applet anywhere, unless I run nm-applet
 from the command line.
 
 I also disabled openvpn on startup (I think it was installed as one of
 the dependencies).
 
 openvpn   0:off  1:off  2:off  3:off  4:off  5:off
  6:off

I'm sorry, but it was simply disabled in the BIOS config. :)

The reason I couldn't find the right configuration switch was that it
was in Security - I/O Port Access, instead of Config - Network.

This + a proper stanza in /etc/network/interfaces solved the issue. No
NetworkManager needed.

-- 
http://people.eisenbits.com/~stf/
http://www.eisenbits.com/

OpenPGP: 80FC 1824 2EA4 9223 A986  DB4E 934E FEA0 F492 A63B


-- 
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/539208f5@eisenbits.com



where is my WiFi card? (ThinkPad T61)

2014-06-05 Thread Stanisław Findeisen
Hi

I am trying to configure WiFi on a Lenovo ThinkPad T61 laptop. I
installed NetworkManager and in /var/log/syslog I can see:

Jun  5 07:41:42 t61whe NetworkManager[2490]: info WiFi enabled by
radio killswitch; enabled by state file
Jun  5 07:41:42 t61whe NetworkManager[2490]: info WWAN enabled by
radio killswitch; enabled by state file
Jun  5 07:41:42 t61whe NetworkManager[2490]: info WiMAX enabled by
radio killswitch; enabled by state file

The problem is, I can't see the wireless interface, nor the wireless
device itself!

# lspci -t -v
-[:00]-+-00.0  Intel Corporation Mobile PM965/GM965/GL960 Memory
Controller Hub
   +-01.0-[01]00.0  NVIDIA Corporation G86 [Quadro NVS 140M]
   +-19.0  Intel Corporation 82566MM Gigabit Network Connection
   +-1a.0  Intel Corporation 82801H (ICH8 Family) USB UHCI
Controller #4
   +-1a.1  Intel Corporation 82801H (ICH8 Family) USB UHCI
Controller #5
   +-1a.7  Intel Corporation 82801H (ICH8 Family) USB2 EHCI
Controller #2
   +-1b.0  Intel Corporation 82801H (ICH8 Family) HD Audio
Controller
   +-1c.0-[02]--
   +-1c.2-[04]--
   +-1c.3-[05-0c]--
   +-1c.4-[0d-14]--
   +-1d.0  Intel Corporation 82801H (ICH8 Family) USB UHCI
Controller #1
   +-1d.1  Intel Corporation 82801H (ICH8 Family) USB UHCI
Controller #2
   +-1d.2  Intel Corporation 82801H (ICH8 Family) USB UHCI
Controller #3
   +-1d.7  Intel Corporation 82801H (ICH8 Family) USB2 EHCI
Controller #1
   +-1e.0-[15-18]--+-00.0  Ricoh Co Ltd RL5c476 II
   |   +-00.1  Ricoh Co Ltd R5C832 IEEE 1394 Controller
   |   +-00.2  Ricoh Co Ltd R5C822
SD/SDIO/MMC/MS/MSPro Host Adapter
   |   +-00.4  Ricoh Co Ltd R5C592 Memory Stick Bus
Host Adapter
   |   \-00.5  Ricoh Co Ltd xD-Picture Card Controller
   +-1f.0  Intel Corporation 82801HEM (ICH8M-E) LPC Interface
Controller
   +-1f.2  Intel Corporation 82801HM/HEM (ICH8M/ICH8M-E) SATA
Controller [IDE mode]
   \-1f.3  Intel Corporation 82801H (ICH8 Family) SMBus Controller

Is my integrated wireless card broken?! Or not present at all?!

This is Lenovo ThinkPad T61 6458-CTO, running the latest stable (Debian
Wheezy 7.5).

Thanks!

-- 
http://people.eisenbits.com/~stf/
http://www.eisenbits.com/

OpenPGP: 80FC 1824 2EA4 9223 A986  DB4E 934E FEA0 F492 A63B


-- 
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/53900e53.9030...@eisenbits.com



Re: where is my WiFi card? (ThinkPad T61)

2014-06-05 Thread Stanisław Findeisen
On 2014-06-05 13:08, Darac Marjal wrote:
 Is my integrated wireless card broken?! Or not present at all?!
 
 I don't know that laptop, but it probably can't hurt to also check the
 output of 'lsusb' and 'iw list'.

lsusb yields nothing interesting, but iw list:

# iw list
nl80211 not found.

Hm, unfortunately I don't know if WiFi ever worked on this machine, but
I am quite sure there *should* be a wireless card inside (perhaps
integrated). I also have a WiFi led here on the front panel.

Is there any way to check it without resourcing to the screwdriver? :)

-- 
http://people.eisenbits.com/~stf/
http://www.eisenbits.com/

OpenPGP: 80FC 1824 2EA4 9223 A986  DB4E 934E FEA0 F492 A63B


-- 
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/5390579c.4090...@eisenbits.com



Re: where is my WiFi card? (ThinkPad T61)

2014-06-05 Thread Stanisław Findeisen
On 2014-06-05 13:42, Stanisław Findeisen wrote:
 On 2014-06-05 13:08, Darac Marjal wrote:
 Is my integrated wireless card broken?! Or not present at all?!

 I don't know that laptop, but it probably can't hurt to also check the
 output of 'lsusb' and 'iw list'.
 
 lsusb yields nothing interesting, but iw list:
 
 # iw list
 nl80211 not found.

Well, I got some progress.

1. I found Intel 4965 AGN MM2 802.11 A/G/N card inside the machine.

2. Following these instructions:
http://www.thinkwiki.org/wiki/Installing_Debian_Wheezy_on_a_ThinkPad_T61#WiFi:_Intel_3945.2F4965AGN
, I installed non-free package firmware-iwlwifi.

3. If I do:

# modprobe iwl4965

it gives me the following:

# lsmod | grep -i 4965
iwl496583564  0
iwl_legacy 48206  1 iwl4965
mac80211  192806  2 iwl_legacy,iwl4965
cfg80211  137243  3 mac80211,iwl_legacy,iwl4965

and, in /var/log/syslog:

Jun  5 22:41:27 t61whe kernel: [  144.463316] cfg80211: Calling CRDA to
update world regulatory domain
Jun  5 22:41:27 t61whe kernel: [  144.500369] iwl4965: Intel(R) Wireless
WiFi 4965 driver for Linux, in-tree:
Jun  5 22:41:27 t61whe kernel: [  144.500372] iwl4965: Copyright(c)
2003-2011 Intel Corporation
Jun  5 22:41:27 t61whe kernel: [  144.553035] cfg80211: World regulatory
domain updated:
Jun  5 22:41:27 t61whe kernel: [  144.553041] cfg80211: (start_freq
- end_freq @ bandwidth), (max_antenna_gain, max_eirp)
Jun  5 22:41:27 t61whe kernel: [  144.553047] cfg80211: (2402000 KHz
- 2472000 KHz @ 4 KHz), (300 mBi, 2000 mBm)
Jun  5 22:41:27 t61whe kernel: [  144.553052] cfg80211: (2457000 KHz
- 2482000 KHz @ 2 KHz), (300 mBi, 2000 mBm)
Jun  5 22:41:27 t61whe kernel: [  144.553058] cfg80211: (2474000 KHz
- 2494000 KHz @ 2 KHz), (300 mBi, 2000 mBm)
Jun  5 22:41:27 t61whe kernel: [  144.553063] cfg80211: (517 KHz
- 525 KHz @ 4 KHz), (300 mBi, 2000 mBm)
Jun  5 22:41:27 t61whe kernel: [  144.553068] cfg80211: (5735000 KHz
- 5835000 KHz @ 4 KHz), (300 mBi, 2000 mBm)

4. After the successful modprobe, the command:

# iv list

does not complain about the missing nl80211 anymore, but doesn't print
anything either. :/ Same with:

# iv dev

Output of # lspci doesn't look any better, too. I also tried this:

# iwconfig
lono wireless extensions.

eth0  no wireless extensions.

What's wrong? Why do I need manual modprobe for the driver to load?!?
Why doesn't it work??

-- 
http://people.eisenbits.com/~stf/
http://www.eisenbits.com/

OpenPGP: 80FC 1824 2EA4 9223 A986  DB4E 934E FEA0 F492 A63B


-- 
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/5390daa2.7060...@eisenbits.com



Re: kernel: [drm] nouveau: fail ttm_validate

2013-07-10 Thread Stanisław Findeisen
On 2013-07-05 08:18, Stanisław Findeisen wrote:
 This is the latest stable Debian GNU/Linux (Wheezy 7.1) on a lenovo T61
 laptop. I am using KDE.
 
 $ uname -a
 Linux t61whe 3.2.0-4-amd64 #1 SMP Debian 3.2.46-1 x86_64 GNU/Linux

This time I was able to take a screenshot:
http://people.eisenbits.com/~stf/load/20130710-screen-distortion.png .

-- 
http://people.eisenbits.com/~stf/
http://www.eisenbits.com/

OpenPGP: 80FC 1824 2EA4 9223 A986  DB4E 934E FEA0 F492 A63B


-- 
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/51dd499e.4040...@eisenbits.com



kernel: [drm] nouveau: fail ttm_validate

2013-07-05 Thread Stanisław Findeisen
Hi

From time to time I am getting things like this in my syslog:

Jul  4 22:22:28 t61whe kernel: [177451.290364] [drm] nouveau
:01:00.0: fail ttm_validate
Jul  4 22:22:28 t61whe kernel: [177451.290370] [drm] nouveau
:01:00.0: validate vram_list
Jul  4 22:22:28 t61whe kernel: [177451.290411] [drm] nouveau
:01:00.0: validate: -12
Jul  4 22:22:28 t61whe kernel: [177451.329448] [drm] nouveau
:01:00.0: magic set 0:
Jul  4 22:22:28 t61whe kernel: [177451.329457] [drm] nouveau
:01:00.0:  0x00408904: 0x20085205
Jul  4 22:22:28 t61whe kernel: [177451.329460] [drm] nouveau
:01:00.0:  0x00408908: 0x0049552d
Jul  4 22:22:28 t61whe kernel: [177451.329463] [drm] nouveau
:01:00.0:  0x0040890c: 0x4e04
Jul  4 22:22:28 t61whe kernel: [177451.329467] [drm] nouveau
:01:00.0:  0x00408910: 0x4800
Jul  4 22:22:28 t61whe kernel: [177451.329470] [drm] nouveau
:01:00.0: PGRAPH - TRAP_TEXTURE - TP0: Unhandled ustatus 0x0003
Jul  4 22:22:28 t61whe kernel: [177451.329472] [drm] nouveau
:01:00.0: PGRAPH - TRAP
Jul  4 22:22:28 t61whe kernel: [177451.329477] [drm] nouveau
:01:00.0: PGRAPH - ch 4 (0x0002432000) subc 5 class 0x8297 mthd
0x15e0 data 0x
Jul  4 22:22:28 t61whe kernel: [177451.329489] [drm] nouveau
:01:00.0: VM: trapped write at 0x0049673400 on ch 4 [0x2432]
PGRAPH/PROP/RT0 reason: PAGE_NOT_PRESENT
Jul  4 22:22:28 t61whe kernel: [177451.329507] [drm] nouveau
:01:00.0: magic set 0:
Jul  4 22:22:28 t61whe kernel: [177451.329511] [drm] nouveau
:01:00.0:  0x00408904: 0x20093f05
Jul  4 22:22:28 t61whe kernel: [177451.329514] [drm] nouveau
:01:00.0:  0x00408908: 0x00494ea3
Jul  4 22:22:28 t61whe kernel: [177451.329517] [drm] nouveau
:01:00.0:  0x0040890c: 0x4e04
Jul  4 22:22:28 t61whe kernel: [177451.329520] [drm] nouveau
:01:00.0:  0x00408910: 0x4800
Jul  4 22:22:28 t61whe kernel: [177451.329523] [drm] nouveau
:01:00.0: PGRAPH - TRAP_TEXTURE - TP0: Unhandled ustatus 0x0003
Jul  4 22:22:28 t61whe kernel: [177451.329525] [drm] nouveau
:01:00.0: PGRAPH - TRAP
Jul  4 22:22:28 t61whe kernel: [177451.329529] [drm] nouveau
:01:00.0: PGRAPH - ch 4 (0x0002432000) subc 5 class 0x8297 mthd
0x15e0 data 0x
Jul  4 22:22:28 t61whe kernel: [177451.329547] [drm] nouveau
:01:00.0: VM: trapped read at 0x004962ad00 on ch 4 [0x2432]
PGRAPH/TEXTURE/00 reason: PAGE_NOT_PRESENT
Jul  4 22:22:28 t61whe kernel: [177451.329560] [drm] nouveau
:01:00.0: magic set 0:
Jul  4 22:22:28 t61whe kernel: [177451.329563] [drm] nouveau
:01:00.0:  0x00408904: 0x20013f0a
Jul  4 22:22:28 t61whe kernel: [177451.329566] [drm] nouveau
:01:00.0:  0x00408908: 0x00499079
Jul  4 22:22:28 t61whe kernel: [177451.329569] [drm] nouveau
:01:00.0:  0x0040890c: 0x4e04
Jul  4 22:22:28 t61whe kernel: [177451.329572] [drm] nouveau
:01:00.0:  0x00408910: 0x4800
Jul  4 22:22:28 t61whe kernel: [177451.329574] [drm] nouveau
:01:00.0: PGRAPH - TRAP_TEXTURE - TP0: Unhandled ustatus 0x0003
Jul  4 22:22:28 t61whe kernel: [177451.329577] [drm] nouveau
:01:00.0: PGRAPH - TRAP
Jul  4 22:22:28 t61whe kernel: [177451.329581] [drm] nouveau
:01:00.0: PGRAPH - ch 4 (0x0002432000) subc 5 class 0x8297 mthd
0x15e0 data 0x
Jul  4 22:22:28 t61whe kernel: [177451.329599] [drm] nouveau
:01:00.0: VM: trapped read at 0x0049973a00 on ch 4 [0x2432]
PGRAPH/TEXTURE/00 reason: PAGE_NOT_PRESENT
Jul  4 22:22:28 t61whe kernel: [177451.329609] [drm] nouveau
:01:00.0: magic set 0:
Jul  4 22:22:28 t61whe kernel: [177451.329612] [drm] nouveau
:01:00.0:  0x00408904: 0x20010f0a
Jul  4 22:22:28 t61whe kernel: [177451.329615] [drm] nouveau
:01:00.0:  0x00408908: 0x0049aac3
Jul  4 22:22:28 t61whe kernel: [177451.329618] [drm] nouveau
:01:00.0:  0x0040890c: 0x4e04
Jul  4 22:22:28 t61whe kernel: [177451.329621] [drm] nouveau
:01:00.0:  0x00408910: 0x4800
Jul  4 22:22:28 t61whe kernel: [177451.329624] [drm] nouveau
:01:00.0: PGRAPH - TRAP_TEXTURE - TP0: Unhandled ustatus 0x0003
Jul  4 22:22:28 t61whe kernel: [177451.329626] [drm] nouveau
:01:00.0: PGRAPH - TRAP
Jul  4 22:22:28 t61whe kernel: [177451.329630] [drm] nouveau
:01:00.0: PGRAPH - ch 4 (0x0002432000) subc 5 class 0x8297 mthd
0x15e0 data 0x
Jul  4 22:22:28 t61whe kernel: [177451.329645] [drm] nouveau
:01:00.0: VM: trapped read at 0x00429a1300 on ch 4 [0x2432]
PGRAPH/TEXTURE/00 reason: PAGE_NOT_PRESENT
Jul  4 22:22:28 t61whe kernel: [177451.425092] [drm] nouveau
:01:00.0: fail ttm_validate
Jul  4 22:22:28 t61whe kernel: [177451.425097] [drm] nouveau
:01:00.0: validate vram_list
Jul  4 22:22:28 t61whe kernel: [177451.425131] [drm] nouveau
:01:00.0: validate: -12
Jul  4 22:22:29 t61whe kernel: [177452.433713] [drm] nouveau
:01:00.0: magic set 0:
Jul  4 22:22:29 t61whe kernel: [177452.433725] [drm] nouveau
:01:00.0:  0x00408904: 0x2008540a
Jul  

Re: gadu-gadu (klienci)

2013-06-23 Thread Stanisław Findeisen
On 2013-06-01 16:49, Marcin wrote:
 Co złego w kadu?

W sumie to chyba nic... ale jakbyś np. chciał niepostrzeżenie wstawić do
Debian'a swojego trojana, który np. wykrada hasła do polskich banków,
allegro albo czegoś w tym rodzaju to jak byś to zrobił?

Nie za bardzo wiem jak jest z ochroną przed tego typu sytuacjami w
dystrybucji... podejrzewam że słabo. (??)

A kadu nie dość że dobrze mnie targetuje (mieszkam w Polsce, mam konto w
jednym z banków) to jeszcze pewnie mało kto się tym pakietem interesuje
(oprócz kilku Polaków).

Nie posądzam nikogo konkretnego o złe intencje i naprawdę sądzę że kadu
jest super, ale to trochę słabe gwarancje.

Zainstalowałem ze źródeł na oddzielnym użytkowniku. Pewnie można by też
uruchamiać w VM.

Problem jest w tym że w Debian'ie nie ma poziomowania przywilejów dla
pakietów ani nawet żadnego API --- jak pakiet się instaluje to dostaje
po prostu root'a, AFAIK. Mam rację?

-- 
http://people.eisenbits.com/~stf/
http://www.eisenbits.com/

OpenPGP: 80FC 1824 2EA4 9223 A986  DB4E 934E FEA0 F492 A63B


-- 
To UNSUBSCRIBE, email to debian-user-polish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/51c6ff08.3010...@eisenbits.com



Re: wacky question

2013-06-23 Thread Stanisław Findeisen
On 2013-06-20 04:44, Greg wrote:
 Does anyone think that debian could participate in any programs like
 PRISM? Or could a lone (or group of) sympathetic DD or DM slip a
 backdoor or something that could collect private info in the binary
 packages distributed by debian?

It all boils down to technical issues:

1. AFAIK when you install any Debian package it simply gets root access
to your system.

2. Later, when you use the package, you only have limited control over
what it really does. Perhaps SELinux: http://wiki.debian.org/SELinux
could help with this, but it is not enabled on my desktop so I am not
really sure how well it is supported. I.e. the policy files can
sometimes be incomplete, buggy etc.

3. Linux kernel is a monolithic one with ca. 15 million LOC (lines of code).

4. As Richard already mentioned:
http://lists.debian.org/debian-user/2013/06/msg00832.html , compilers
can be flawed and insert any backdoor.

I think the issues we could most easily deal with as a Debian community
are 1-2, i.e.:

1. design a new package system with restrictions on what a package can
do (a system API perhaps, that a package can use, instead of giving it a
root shell)

2. enable SELinux by default (even on a desktop), so that its support
matures and, at the same time, Debian installations become a harder
target for any surveillance attempts.

Ok, one more:

5. Perhaps we could also develop some more systematic ways of code
review. Have you ever read that 1997 Epson printer driver code (which is
part of your kernel) etc.

-- 
http://people.eisenbits.com/~stf/
http://www.eisenbits.com/

OpenPGP: 80FC 1824 2EA4 9223 A986  DB4E 934E FEA0 F492 A63B


-- 
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/51c72b1f.3060...@eisenbits.com



gadu-gadu (klienci)

2013-05-31 Thread Stanisław Findeisen
Cześć

Właśnie sobie zainstalowałem i uruchomiłem kopete:
http://packages.debian.org/wheezy/kopete , niby to obsługuje protokół
gadu-gadu (za pośrednictwem libgadu) ale się okazuje że jak jakiś mój
kontakt jest offline (lub invisible) to nie mogę do niego niczego wysyłać.

Więc to chyba jednak nie działa... a jaki jeszcze klient obsługuje
protokół gadu-gadu oprócz kadu?

Liczyłem na to że znajdę jednego sensownego klienta obsługującego
XMPP/Jabber + gadu-gadu (natywnie, a nie przez XMPP transport).

-- 
http://people.eisenbits.com/~stf/
http://www.eisenbits.com/

OpenPGP: 80FC 1824 2EA4 9223 A986  DB4E 934E FEA0 F492 A63B


-- 
To UNSUBSCRIBE, email to debian-user-polish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/51a8c715.9080...@eisenbits.com



modem-manager: re-checking support... (Huawei E1820)

2012-09-30 Thread Stanisław Findeisen
Hi

I am having Huawei E1820 HSPA+ USB modem plugged into my IBM ThinkPad
T42 laptop and a lot of messages in syslog like these:

Sep 30 15:34:57 t42deb modem-manager: (ttyUSB3): re-checking support...
Sep 30 15:34:57 t42deb modem-manager: (Huawei): (ttyUSB3) deferring
support check
Sep 30 15:34:57 t42deb modem-manager: (ttyUSB1): re-checking support...
Sep 30 15:34:57 t42deb modem-manager: (Huawei): (ttyUSB1) deferring
support check
Sep 30 15:34:57 t42deb modem-manager: (ttyUSB2): re-checking support...
Sep 30 15:34:57 t42deb modem-manager: (Huawei): (ttyUSB2) deferring
support check
Sep 30 15:34:57 t42deb modem-manager: (ttyUSB4): re-checking support...
Sep 30 15:34:57 t42deb modem-manager: (Huawei): (ttyUSB4) deferring
support check
Sep 30 15:35:00 t42deb modem-manager: (ttyUSB3): re-checking support...
Sep 30 15:35:00 t42deb modem-manager: (Huawei): (ttyUSB3) deferring
support check
Sep 30 15:35:00 t42deb modem-manager: (ttyUSB1): re-checking support...

What does that mean? And why are there different ttyUSBs? AFAIU the
modem is only using ttyUSB0, as seen earlier in the log:

Sep 30 15:25:54 t42deb pppd[5425]: Connect: ppp0 -- /dev/ttyUSB0

The connection basically works and is fast. However from time to time I
am experiencing huge network lags (like 25 seconds to ping google.com).
However this does not seem related to the above messages as I have been
getting them about once per second since 13:48 today. It is 15:58 now.
The connection has been active since the morning (9 AM or so) (with 2-3
resets).

This is the latest Squeeze (Debian 6.0.6).

-- 
http://people.eisenbits.com/~stf/
http://www.eisenbits.com/

OpenPGP: E3D9 C030 88F5 D254 434C  6683 17DD 22A0 8A3B 5CC0


-- 
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/50685084.7020...@eisenbits.com



Re: Filezilla a security risk

2012-06-28 Thread Stanisław Findeisen
On 2012-06-28 16:45, Camaleón wrote:
 1. encryption: that's the file system's job 
 
 True.

Hm? You mean partition encryption?

It won't help much if the malware is running with file owner's uid... or
even if the system is booted at all (if you e.g. encrypt just /home).

-- 
http://people.eisenbits.com/~stf/
http://www.eisenbits.com/

OpenPGP: E3D9 C030 88F5 D254 434C  6683 17DD 22A0 8A3B 5CC0


-- 
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/4feca6fb.7090...@eisenbits.com



server monitoring

2012-05-14 Thread Stanisław Findeisen
Hi

What tools would you recommend for monitoring the following on a server? :

* kernel + process images in memory
* shape of the process tree
* binary integrity of files + permissions
* network connections
* users, groups
* user sessions
* log files
* ...

I think this calls for a customizable solution with plugins (or so). Is
there any such thing in Debian? How reliable is it?

How about reporting? Logging would be good but logging to a local file
is problematic as that could be compromised on a server hack...

-- 
http://people.eisenbits.com/~stf/
http://www.eisenbits.com/

OpenPGP: E3D9 C030 88F5 D254 434C  6683 17DD 22A0 8A3B 5CC0


-- 
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/4fb1045f.1010...@eisenbits.com



ps2pdf: font problem

2011-10-12 Thread Stanisław Findeisen
Hi

I am having a PostScript (.ps) document that I am trying to convert to
PDF. I am using ps2pdf for that, but the result looks bad: some glyphs
are smaller than others, etc.

How to fix this?

-- 
http://people.eisenbits.com/~stf/
http://www.eisenbits.com/

OpenPGP: E3D9 C030 88F5 D254 434C  6683 17DD 22A0 8A3B 5CC0
attachment: algfinal.png

Re: SATA resetting, WTF ?!

2011-07-26 Thread Stanisław Findeisen
On 2011-07-26 07:02, bri...@aracnet.com wrote:
 Hi all,
 
 I could actually hear this happening to the hard disk - but thought it was my 
 imagination.
 
 Linux windy 2.6.32-5-amd64 #1 SMP Wed May 18 23:13:22 UTC 2011 x86_64 
 GNU/Linux
 
 [1289040.878979] ata2: irq_stat 0x0040, connection status changed
 [1289040.878982] ata2: SError: { DevExch }
 [1289040.878986] ata2: limiting SATA link speed to 1.5 Gbps
 [1289040.878989] ata2: hard resetting link
 [1289043.264515] ata2: COMRESET failed (errno=-32)
 [1289043.264520] ata2: reset failed (errno=-32), retrying in 8 secs
 [1289050.876509] ata2: hard resetting link
 [1289053.488513] ata2: COMRESET failed (errno=-32)
 [1289053.488518] ata2: reset failed (errno=-32), retrying in 8 secs
 [1289060.876509] ata2: hard resetting link
 [1289063.168016] ata2: SATA link down (SStatus 1 SControl 310)
 [1289063.168024] ata2: EH complete
 [1289063.168613] ata2: exception Emask 0x10 SAct 0x0 SErr 0x400 action 
 0xe frozen
 
 anybody have any ideas ?
 
 disk seems to be ok, not making any funny noises - well unless it resets.  I 
 can actually hear it !
 
 I seriously doubt this is the MB or disk.  This behavior started with 
 testing...
 
 Brian

Have you tried fsck?

-- 
http://people.eisenbits.com/~stf/
http://www.eisenbits.com/

OpenPGP: E3D9 C030 88F5 D254 434C  6683 17DD 22A0 8A3B 5CC0


-- 
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/4e2e5a56.9040...@eisenbits.com



Re: Using USB Printer on Router USB

2011-07-25 Thread Stanisław Findeisen
On 2011-07-25 12:06, David Baron wrote:
 How do I set up a USB printer plugged into a wireless router's USB so it can 
 be used through the router?
 
 Instructions through CUPs so not show me the way.

What OS do you have in your router?

What model is it?

-- 
http://people.eisenbits.com/~stf/
http://www.eisenbits.com/

OpenPGP: E3D9 C030 88F5 D254 434C  6683 17DD 22A0 8A3B 5CC0


-- 
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/4e2d46ba.1040...@eisenbits.com



Re: Using USB Printer on Router USB

2011-07-25 Thread Stanisław Findeisen
On 2011-07-25 13:04, David Baron wrote:
 On Monday 23 Tamuz 5771 13:34:34 Stanisław Findeisen wrote:
 On 2011-07-25 12:06, David Baron wrote:
 How do I set up a USB printer plugged into a wireless router's USB so it
 can be used through the router?

 Instructions through CUPs so not show me the way.

 What OS do you have in your router?

 What model is it?
 
 The router is an AudioCodes all-in-one box (includes decoders for phone 
 lines). I know nothing about its internals.

But what model?

You may want to replace the vendor firmware with some Linux distro. See
this:

http://openwrt.org/
http://en.wikipedia.org/wiki/List_of_wireless_router_firmware_projects

I use OpenWrt with an Asus router and it is ok (however I do not use a
printer with this).

-- 
http://people.eisenbits.com/~stf/
http://www.eisenbits.com/

OpenPGP: E3D9 C030 88F5 D254 434C  6683 17DD 22A0 8A3B 5CC0


-- 
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/4e2d4f42.8050...@eisenbits.com



Re: Whitespace problem with bash script for Icedove

2011-07-25 Thread Stanisław Findeisen
On 2011-07-25 20:07, Bill M wrote:
 Hi folks,
 
 I'm piecing together a small script to remove duplicate messages from
 various directories in Icedove. By default the files are stored in a
 directory called 'Local Folders' - with the space - and this seems to be
 creating a problem for bash. I can both cd to Local Folders and cd to
 Local\ Folders from the command line but within the script it's a
 different story. Bash refuses to recognize Local Folders as a
 directory and breaks at the whitespace. Here's the script and the error
 output. Any help appreciated.
 
 bill
 
 #! /bin/bash
 
 # A script to remove duplicate messages
 
 FILES=/home/bill/.icedove/qjimvr85.default/Mail/Local\
 Folders/2-Personal.sbd/*
 # or /home/bill/.icedove/qjimvr85.default/Mail/Local
 Folders/2-Personal.sbd/*
 
 for i in $FILES
 do
 mv $i $i.saved
 formail -D 65536 .msgid.cache -s  $i.saved  $i
 done
 
 mv: cannot stat `/home/bill/.icedove/qjimvr85.default/Mail/Local': No
 such file or directory
 ./mailscript: line 10:
 /home/bill/.icedove/qjimvr85.default/Mail/Local.saved: No such file or
 directory
 mv: cannot stat `Folders/2-Personal.sbd/*': No such file or directory
 ./mailscript: line 10: Folders/2-Personal.sbd/*.saved: No such file or
 directory

Hi Bill

Not sure about your Bash script, but 2 months ago I had the same problem
of removing duplicate messages from Thunderbird/Icedove directory tree
and crafted this: http://people.eisenbits.com/~stf/fsd/mboxgrep-perl/ .

Maybe this will be of some help to you, or maybe you will find a bug or
fix the documentation. :-)

mboxgrep-perl comes with no warranty, of course. Backup all your files
before using it.

mboxgrep-perl.pl 0.1 (2011-05-28)

Copyright (C) 2011 Stanislaw Findeisen stf at eisenbits.com
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/
This is free software: you are free to change and redistribute it.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

Usage:
  mboxgrep-perl-0.1.pl [OPTION]...

DESCRIPTION

mboxgrep-perl is a very simple mbox file parser. Features include:
* ability to grep on e-mail headers using regular expressions
* ability to filter out duplicate messages.

Each e-mail message encountered on input is processed once and classified
either as a match or not-match. Matching messages are printed out on
standard output. They can also be deleted from input files.

Using --dup you can filter out duplicate messages. There are 4 different
ways
to define when 2 messages are equal.

OPTIONS

Input control

--source
mbox file to parse. If this parameter is not specified, standard input
is read. If this parameter is a directory, it is being read recursively.

E-mail matching

--equiv
Message identity (equivalence relation) definition. Use 'message-id' for
Message-ID header fields, 'identity' for binary identity (i.e. hashes
over whole message) or 'content' for hashes over several fields (i.e.:
Message-ID, Date, From, To, Cc, Subject, body prefix, body suffix).

By default, all e-mail messages are considered different to each other.

Note: not every e-mail message has Message-ID field. If this parameter
is set to 'message-id' then all such messages will be considered
identical
(and a warning will be printed on standard error).

Note: message equivalence has precedence over regular expression
matching, i.e. if 2 messages are equivalent to each other and one of
them matches the regex while the other does not, it is unspecified
which one of them will be considered a match.

--expr
Perl-compatible regular expression to match the e-mail header against.
If this parameter is not specified, the expression is considered empty
and is satisfied by every e-mail message.

THIS IS A SECURITY HOLE (the expression is passed as-is to Perl's qr//).

-i
The regular expression specified with --expr is case-insensitive.

--dup
In order to match, the message must be a duplicate (in processing
order),
i.e. it must have been preceeded by some other, equivalent message
(see --equiv).

-v
Invert match, i.e. match messages that *do not* satisfy --expr *or are
not* a duplicate (if --dup is specified).

Output control

--del
Delete matching e-mail messages from input file(s).
You'd better make a backup first!

--tmpDir
Temporary directory to use.

-q
Quiet mode: do not output any e-mails (just parse the file and report
the count of matching e-mail messages).

--qq
Be even more quiet: suppress debug messages. This implies -q.

Miscellaneous

--help
Print this help message.

-w
By default, mboxgrep-perl uses SHA-256 hashes. Use this option for MD5
instead. This is weaker but may be faster.

BUGS

This software was written on purpose 

Re: Friends relation diagram

2011-07-21 Thread Stanisław Findeisen
On 2011-07-21 22:29, T o n g wrote:
 What the most appropriate tool to document/describe/diagram the inter-
 relations between a group of friends, of which the relations can be 
 anything, even like, neighbour, car-pool, play-hokey, etc, etc. 
 
 The graphviz comes first to my mind, but get ruled out for its lack of 
 ability to label relations. 
 
 Anything good at this?

You can use a relational database or a table in a spreadsheet.

-- 
http://people.eisenbits.com/~stf/
http://www.eisenbits.com/

OpenPGP: E3D9 C030 88F5 D254 434C  6683 17DD 22A0 8A3B 5CC0


-- 
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/4e289225.1040...@eisenbits.com



Re: How do you save passwords for Git/GitHub?

2011-07-21 Thread Stanisław Findeisen
On 2011-07-21 18:09, Jason Hsu wrote:
 I have a script that uses git clone multiple times to download all of the 
 repositories I need for my project Swift Linux. (Each major task has its own 
 repository.)  The code is at 
 https://github.com/swiftlinux/1-build/blob/master/get_reps_diet.sh .
 
 However, I'm asked for my password EVERY TIME the script tries to download a 
 repository. Is there a way to save my password (temporarily) so that I don't 
 have to enter it 20 times?  All I need here is a way to download multiple 
 repositories while only entering my password ONCE.  Is that too much to ask?
 
 I tried the suggestions at http://help.github.com/ssh-key-passphrases/ , but 
 the only thing that worked was entering ssh-keygen -p and eliminating the 
 password.

What exactly have you tried? Can you send us the console log?

You should be able to get away with this:

ssh-agent /bin/bash
ssh-add
git clone

-- 
http://people.eisenbits.com/~stf/
http://www.eisenbits.com/

OpenPGP: E3D9 C030 88F5 D254 434C  6683 17DD 22A0 8A3B 5CC0


-- 
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/4e2894ea@eisenbits.com



Re: Overwriting a 4096 byte sector harddisk drive with random data

2011-07-21 Thread Stanisław Findeisen
On 2011-07-21 11:47, yudi v wrote:
 I need to write random data to a partition before encrypting it.

Interesting.

Why do you need this?

-- 
http://people.eisenbits.com/~stf/
http://www.eisenbits.com/

OpenPGP: E3D9 C030 88F5 D254 434C  6683 17DD 22A0 8A3B 5CC0


-- 
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/4e289600.6070...@eisenbits.com



Re: How I can remove my folder icons in desktop screen?

2011-07-20 Thread Stanisław Findeisen
On 2011-07-20 17:12, Camaleón wrote:
 On Tue, 19 Jul 2011 21:29:50 +0200, Stanisław Findeisen wrote:
 # This file is written by xdg-user-dirs-update 
 # If you want to change or add directories, just edit the line you're 
 # interested in. All local changes will be retained on the next run 
 # Format is XDG_xxx_DIR=$HOME/yyy, where yyy is a shell-escaped 
 # homedir-relative path, or XDG_xxx_DIR=/yyy, where /yyy is an 
 # absolute path. No other format is supported. 
 #
 XDG_DESKTOP_DIR=$HOME/Desktop
 XDG_DOWNLOAD_DIR=$HOME/tmp
 XDG_TEMPLATES_DIR=$HOME/tmp
 XDG_PUBLICSHARE_DIR=$HOME/tmp
 XDG_DOCUMENTS_DIR=$HOME/tmp
 XDG_MUSIC_DIR=$HOME/tmp
 XDG_PICTURES_DIR=$HOME/tmp
 XDG_VIDEOS_DIR=$HOME/tmp

 and it seems to work (no icons, no dirs) however I don't know if it has
 any side effect or not.
 
 I hope not. It is intended for user customization. But does your user 
 have a /tmp folder? :-?

You mean $HOME/tmp ? Yes.

-- 
http://people.eisenbits.com/~stf/
http://www.eisenbits.com/

OpenPGP: E3D9 C030 88F5 D254 434C  6683 17DD 22A0 8A3B 5CC0


-- 
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/4e279e2c.5060...@eisenbits.com



Re: How I can remove my folder icons in desktop screen?

2011-07-19 Thread Stanisław Findeisen
On 2011-04-26 16:36, Camaleón wrote:
 On Tue, 26 Apr 2011 00:14:52 +0200, Jasper Noe wrote:
 
 Maybe you are searching for another key:

 /apps/nautilus/preferences/show_desktop [ ]

 If you toogle this off all your icons will vanish.

 I think it is still another key:

 /apps/nautilus/preferences/desktop_is_home_dir
 
 Well, I think with that option you are getting a different thing :-)
 
 - To graphically turn off your desktop icons (while they're still 
 available via nautilus) one has to enable /apps/nautilus/preferences/
 show_desktop
 
 - To use your $HOME dir as the folder container to be displayed in your 
 desktop (instead the default one located at $HOME/Desktop), you have to 
 enable /apps/nautilus/preferences/desktop_is_home_dir

Hm, I just deleted all those funny dirs in my $HOME: Music, Pictures...
and Desktop. When I rebooted (or so) I found all my $HOME subdirs (well,
at least many) on the desktop.

How to disable that?

I disabled /apps/nautilus/preferences/desktop_is_home_dir and I
recreated $HOME/Desktop, and even rebooted, but it didn't help.

??

This is Debian Squeeze (and GNOME).

-- 
http://people.eisenbits.com/~stf/
http://www.eisenbits.com/

OpenPGP: E3D9 C030 88F5 D254 434C  6683 17DD 22A0 8A3B 5CC0


-- 
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/4e252825.1050...@eisenbits.com



Re: How I can remove my folder icons in desktop screen?

2011-07-19 Thread Stanisław Findeisen
On 2011-07-19 09:52, Liam O'Toole wrote:
 On 2011-07-19, Stanisław Findeisen s...@eisenbits.com wrote:
 
 (...)
 
 Hm, I just deleted all those funny dirs in my $HOME: Music, Pictures...
 and Desktop. When I rebooted (or so) I found all my $HOME subdirs (well,
 at least many) on the desktop.

 How to disable that?

 I disabled /apps/nautilus/preferences/desktop_is_home_dir and I
 recreated $HOME/Desktop, and even rebooted, but it didn't help.

 ??

 This is Debian Squeeze (and GNOME).
 
 Sounds like the work of xdg-user-dirs:
 
   http://freedesktop.org/wiki/Software/xdg-user-dirs

Thanks! It helped! :-)

-- 
http://people.eisenbits.com/~stf/
http://www.eisenbits.com/

OpenPGP: E3D9 C030 88F5 D254 434C  6683 17DD 22A0 8A3B 5CC0


-- 
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/4e259894.2060...@eisenbits.com



Re: How I can remove my folder icons in desktop screen?

2011-07-19 Thread Stanisław Findeisen
On 2011-07-19 16:54, Camaleón wrote:
 On Tue, 19 Jul 2011 07:52:17 +, Liam O'Toole wrote:
 
 On 2011-07-19, Stanisław Findeisen s...@eisenbits.com wrote:

 (...)

 Hm, I just deleted all those funny dirs in my $HOME: Music, Pictures...
 and Desktop. When I rebooted (or so) I found all my $HOME subdirs
 (well, at least many) on the desktop.

 How to disable that?

 I disabled /apps/nautilus/preferences/desktop_is_home_dir and I
 recreated $HOME/Desktop, and even rebooted, but it didn't help.

 ??

 This is Debian Squeeze (and GNOME).

 Sounds like the work of xdg-user-dirs:

  http://freedesktop.org/wiki/Software/xdg-user-dirs
 
 There is a package available with that name (xdg-user-dirs), may be it 
 is required to tweak and set that settings :-?

In $HOME/.config/user-dirs.dirs I changed the line:

XDG_DESKTOP_DIR=$HOME

to:

XDG_DESKTOP_DIR=$HOME/Desktop

and commented out the rest.

This removed the icons from the desktop, but also recreated those
Pictures ... etc. dirs.

Then I tried this:

# This file is written by xdg-user-dirs-update
# If you want to change or add directories, just edit the line you're
# interested in. All local changes will be retained on the next run
# Format is XDG_xxx_DIR=$HOME/yyy, where yyy is a shell-escaped
# homedir-relative path, or XDG_xxx_DIR=/yyy, where /yyy is an
# absolute path. No other format is supported.
#
XDG_DESKTOP_DIR=$HOME/Desktop
XDG_DOWNLOAD_DIR=$HOME/tmp
XDG_TEMPLATES_DIR=$HOME/tmp
XDG_PUBLICSHARE_DIR=$HOME/tmp
XDG_DOCUMENTS_DIR=$HOME/tmp
XDG_MUSIC_DIR=$HOME/tmp
XDG_PICTURES_DIR=$HOME/tmp
XDG_VIDEOS_DIR=$HOME/tmp

and it seems to work (no icons, no dirs) however I don't know if it has
any side effect or not.

Uninstalling xdg-user-dirs is not possible since Gnome depends on it. In
fact, Gnome depends even on packages such as evolution-plugins or
totem-mozilla. 8-|

-- 
http://people.eisenbits.com/~stf/
http://www.eisenbits.com/

OpenPGP: E3D9 C030 88F5 D254 434C  6683 17DD 22A0 8A3B 5CC0


-- 
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/4e25db2e.8030...@eisenbits.com



Re: su without a password (not root)

2011-05-27 Thread Stanisław Findeisen
On 2011-05-26 22:11, William Hopkins wrote:
 On 05/26/11 at 07:31pm, Stanisław Findeisen wrote:
 pam_wheel lets you su to root without typing a password if you are a
 member of a specific group.

 I need a PAM module with more flexible applicant user / target user
 pairs management. For instance I'd like to be able to su with no
 password from user A to users B and C, but not to root.

 What is the way to do it?
 
 If you must use PAM, consider a usage of pam_listfile and an authorized list 
 of target users, or setting sense=deny and blacklisting root specifically. 
 Configuring multiple pam modules to work together may be necessary to meet 
 every part of your requirement, and this can be complicated and invites 
 serious study and testing prior to implementation.

Hm, in pam_listfile man page I can't see any way to restrict *target*
user set...

-- 
Eisenbits - proven software solutions: http://www.eisenbits.com/
OpenPGP: E3D9 C030 88F5 D254 434C  6683 17DD 22A0 8A3B 5CC0



signature.asc
Description: OpenPGP digital signature


su without a password (not root)

2011-05-26 Thread Stanisław Findeisen
pam_wheel lets you su to root without typing a password if you are a
member of a specific group.

I need a PAM module with more flexible applicant user / target user
pairs management. For instance I'd like to be able to su with no
password from user A to users B and C, but not to root.

What is the way to do it?

Thanks!

-- 
Eisenbits - proven software solutions: http://www.eisenbits.com/
OpenPGP: E3D9 C030 88F5 D254 434C  6683 17DD 22A0 8A3B 5CC0


-- 
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/4dde8e85.3040...@eisenbits.com



SWF (Adobe Flash) support

2011-05-18 Thread Stanisław Findeisen
Hi!

Is it possible to play Adobe Flash files from, for example, YouTube.com
without non-free software?

This is what I have:

$ dpkg-query --list | grep -i -E 'flash|gnash|swf'
ii  gnash0.8.4-3~lenny1 free
SWF movie player
ii  gnash-common 0.8.4-3~lenny1 free
SWF movie player - common files/librari
ii  libswfdec-0.6-90 0.6.8-1SWF
(Macromedia Flash) decoder library
ii  mozilla-plugin-gnash 0.8.4-3~lenny1 free
SWF movie player - Plugin for Mozilla a
ii  swfdec-gnome 2.22.2-2
Tools to play SWF files (Macromedia Flash) o
ii  swfdec-mozilla   0.6.0-5
Mozilla plugin for SWF files (Macromedia Fla

However I am unable to play YouTube.com videos in Iceweasel 3.0.6. I
even tried downloading one to the filesystem and running gnash on it,
but it only displays a black rectangle. :-(

What is the Debian recommended way, if any, to play SWF files?

Thanks!

-- 
Eisenbits - proven software solutions: http://www.eisenbits.com/
OpenPGP: E3D9 C030 88F5 D254 434C  6683 17DD 22A0 8A3B 5CC0



signature.asc
Description: OpenPGP digital signature


strange Icedove typo (Enigmail?)

2011-05-06 Thread Stanisław Findeisen
Today I sent an e-mail from my Icedove 2.0.0.24 and I am pretty sure it
looks different in my Sent folder (and in Sent folder file) than it was
when I was sending it.

There is an additional '' char at the beginning of the 3rd line of the
body (nothing was quoted in this e-mail, it was a new mail).

Has anyone encountered anything similar?

I ran memtest86+, but with no result.

I have Enigmail 0.95.0 plugin. Is that so, that each outgoing Icedove
e-mail is processed by Enigmail, and Enigmail can change it?? What is
the workflow here?

-- 
Eisenbits - proven software solutions: http://www.eisenbits.com/
OpenPGP: E3D9 C030 88F5 D254 434C  6683 17DD 22A0 8A3B 5CC0


-- 
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/4dc42afb.3070...@eisenbits.com



Re: strange Icedove typo (Enigmail?)

2011-05-06 Thread Stanisław Findeisen
On 2011-05-06 19:46, Camaleón wrote:
 On Fri, 06 May 2011 19:08:11 +0200, Stanisław Findeisen wrote:
 
 Today I sent an e-mail from my Icedove 2.0.0.24 and I am pretty sure it
 looks different in my Sent folder (and in Sent folder file) than it was
 when I was sending it.

 There is an additional '' char at the beginning of the 3rd line of the
 body (nothing was quoted in this e-mail, it was a new mail).

 Has anyone encountered anything similar?

 I ran memtest86+, but with no result.
 
 How weird... Can you reproduce it? 

Yes!

Example 1:


Hi

From this:


Example 2:


From this:


Example 3:


Hi

From this:

EOF


(Remove the separator lines.) Each time the line:

From this:

changes into:

From this:

This is crazy.

-- 
Eisenbits - proven software solutions: http://www.eisenbits.com/
OpenPGP: E3D9 C030 88F5 D254 434C  6683 17DD 22A0 8A3B 5CC0


-- 
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/4dc437b9.6070...@eisenbits.com



Re: strange Icedove typo (Enigmail?)

2011-05-06 Thread Stanisław Findeisen
On 2011-05-06 20:02, Stanisław Findeisen wrote:
 On 2011-05-06 19:46, Camaleón wrote:
 On Fri, 06 May 2011 19:08:11 +0200, Stanisław Findeisen wrote:

 Today I sent an e-mail from my Icedove 2.0.0.24 and I am pretty sure it
 looks different in my Sent folder (and in Sent folder file) than it was
 when I was sending it.

 There is an additional '' char at the beginning of the 3rd line of the
 body (nothing was quoted in this e-mail, it was a new mail).

 Has anyone encountered anything similar?

 I ran memtest86+, but with no result.
 How weird... Can you reproduce it? 
 
 Yes!
 
 Example 1:
 
 
 Hi
 
From this:
 
 
 Example 2:
 
 
From this:
 
 
 Example 3:
 
 
 Hi
 
From this:
 
 EOF
 
 
 (Remove the separator lines.) Each time the line:
 
From this:
 
 changes into:
 
From this:
 
 This is crazy.

Heh the first 4 occurences of From this: were at the beginning of the
line, only the last one was From this:. This is this bug. :-)

-- 
Eisenbits - proven software solutions: http://www.eisenbits.com/
OpenPGP: E3D9 C030 88F5 D254 434C  6683 17DD 22A0 8A3B 5CC0


-- 
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/4dc43834.90...@eisenbits.com



Re: FAT: Filesystem panic

2011-04-05 Thread Stanisław Findeisen
On 2011-04-05 09:46, George Chelidze wrote:
 On 04/03/2011 12:23 AM, Stanisław Findeisen wrote:
 On 2011-04-01 13:06, George Chelidze wrote:
 I'v got 2 boxes running squeeze and lenny, both up to date. On a box
 with squeeze, I copied 1.8G images to a 2G flash drive and tried to move
 them to my lenny box. After mounting a drive (hal) on a lenny box cpu
 jumped to 100%, and after about 30 secs a new window came up with some
 weird file names. Here is the output from cmd line:

 # ls -l
 ls: cannot access =jm°£û≈,.1/¡: No such file or directory
 ls: cannot access íz╫ƒuìöm.«/e: No such file or directory
 ls: cannot access kε╔┌*╧┘á.?/╧: No such file or directory
 ...

 dmesg output:

 [5372932.625012] FAT: Filesystem panic (dev sdd1)
 [5372932.625016] invalid access to FAT (entry 0xf7ab)
 
 [5374942.645072] FAT: Filesystem panic (dev sdd1)
 [5374942.645075] fat_bmap_cluster: request beyond EOF (i_pos 8268)

 Hm, up to date Lenny with 5374942 seconds uptime?

 Maybe you should reboot after you do an update? Not sure how update
 works but if it only changes the files, and not the images of running
 kernel or processes... And if you do several updates over 2 months
 period with no reboot... ??
 
 I usually reboot after kernel updates, however it's another story. Same
 results on fresh Squeeze box with 2 hours of uptime.

You can try to copy your FAT filesystem using dd to another device and
see if this is a hardware / driver problem or FAT support problem.
You can also try to access this FAT filesystem using yet another Linux
instance --- some live CD for example.

Is your FAT support compiled into the kernel or you use a kernel module?

-- 
Eisenbits - proven software solutions: http://www.eisenbits.com/
OpenPGP: DFD9 0146 3794 9CF6 17EA  D63F DBF5 8AA8 3B31 FE8A



signature.asc
Description: OpenPGP digital signature


Re: FAT: Filesystem panic

2011-04-02 Thread Stanisław Findeisen
On 2011-04-01 13:06, George Chelidze wrote:
 I'v got 2 boxes running squeeze and lenny, both up to date. On a box
 with squeeze, I copied 1.8G images to a 2G flash drive and tried to move
 them to my lenny box. After mounting a drive (hal) on a lenny box cpu
 jumped to 100%, and after about 30 secs a new window came up with some
 weird file names. Here is the output from cmd line:
 
 # ls -l
 ls: cannot access =jm°£û≈,.1/¡: No such file or directory
 ls: cannot access íz╫ƒuìöm.«/e: No such file or directory
 ls: cannot access kε╔┌*╧┘á.?/╧: No such file or directory
 ...
 
 dmesg output:
 
 [5372932.625012] FAT: Filesystem panic (dev sdd1)
 [5372932.625016] invalid access to FAT (entry 0xf7ab)
 
 [5374942.645072] FAT: Filesystem panic (dev sdd1)
 [5374942.645075] fat_bmap_cluster: request beyond EOF (i_pos 8268)

Hm, up to date Lenny with 5374942 seconds uptime?

Maybe you should reboot after you do an update? Not sure how update
works but if it only changes the files, and not the images of running
kernel or processes... And if you do several updates over 2 months
period with no reboot... ??

Have you checked what your file names:

=jm°£û≈,.1/¡
íz╫ƒuìöm.«/e
kε╔┌*╧┘á.?/╧

are in hex, for instance?

-- 
Eisenbits - proven software solutions: http://www.eisenbits.com/
OpenPGP: DFD9 0146 3794 9CF6 17EA  D63F DBF5 8AA8 3B31 FE8A



signature.asc
Description: OpenPGP digital signature


mailbox file permissions and timestamps

2011-03-30 Thread Stanisław Findeisen
Hi

What are the correct mailbox file mode bitmasks in /var/mail? This is
what I have:

:/var/mail$ ls -al
total 20
drwxrwsr-x  2 root mail 4096 2011-03-30 10:00 .
drwxr-xr-x 16 root root 4096 2010-01-14 20:21 ..
-rw---  1 root mail  582 2010-04-13 21:31 root
-rw---  1 u1   mail  528 2011-01-31 09:56 u1
-rw-rw  1 u2   mail  528 2011-03-30 10:00 u2

Is this correct?? The u1 user account is disabled, while u2 is active.
The 'mail' group seems to have no users.

I was also looking at Access, Modify and Change times of u2 file using
stat utility. It looks that Modify and Change times get updated on new
mail coming in (Postfix) (Access time remains the same), while all 3 get
updated on mail being pop3 (dovecot). If there is no new mail to pop3,
then the timestamps do not change. I thought Access is about read or
write, and Modify is about metadata (name, mode...) modification??! What
is going on?

I am running 5.0.8 (Lenny).

-- 
Eisenbits - proven software solutions: http://www.eisenbits.com/
OpenPGP: DFD9 0146 3794 9CF6 17EA  D63F DBF5 8AA8 3B31 FE8A



signature.asc
Description: OpenPGP digital signature


TeX: Corrupted NFSS tables

2010-12-13 Thread Stanisław Findeisen
Hi

I am getting mysterious errors with pdflatex:

 LaTeX Font Warning: Font shape `OT4/cmr/m/n' undefined
 (Font)  using `OT4/cmr/m/n' instead on input line 100.
 
 ! Corrupted NFSS tables.
 wr...@fontshape ...message {Corrupted NFSS tables}
   er...@fontshape else let 
 f...
 l.100 \fontencoding\encodingdefault\selectfont

What are NFSS tables? Why are they corrupted? I don't think I have done
anything bad...

-- 
Eisenbits - proven software solutions: http://www.eisenbits.com/
OpenPGP: DFD9 0146 3794 9CF6 17EA  D63F DBF5 8AA8 3B31 FE8A


-- 
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/4d05e6a6.1020...@eisenbits.com



Re: TeX: Corrupted NFSS tables

2010-12-13 Thread Stanisław Findeisen
On 2010-12-13 10:58, Jerome BENOIT wrote:
 Hello List,
 
 On 13/12/10 17:25, Stanisław Findeisen wrote:
 Hi

 I am getting mysterious errors with pdflatex:

 LaTeX Font Warning: Font shape `OT4/cmr/m/n' undefined
 (Font)  using `OT4/cmr/m/n' instead on input line 100.

 ! Corrupted NFSS tables.
 wr...@fontshape ...message {Corrupted NFSS tables}
er...@fontshape
 else let f...
 l.100 \fontencoding\encodingdefault\selectfont

 What are NFSS tables? Why are they corrupted? I don't think I have done
 anything bad...

 
 a relevant error or warning message may be printed before:
 can you send the full trace file (the log file) ?

I couldn't have seen any.

However installing texlive-lang-polish seems to have helped...

-- 
Eisenbits - proven software solutions: http://www.eisenbits.com/
OpenPGP: DFD9 0146 3794 9CF6 17EA  D63F DBF5 8AA8 3B31 FE8A


-- 
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/4d05eeef.3070...@eisenbits.com



Re: iPlus

2010-11-17 Thread Stanisław Findeisen
On 2010-11-17 06:36, Andrzej Kluz wrote:
 W dniu 17.11.2010 00:01, Stanisław Findeisen pisze:
 Udało mi się uruchomić Huawei E1820 HSPA+ (za pomocą usb-modeswitch),
 ale mam dziwny problem: nie działa mi DNS. Wygląda to tak:

 # ping 193.0.96.129
 PING 193.0.96.129 (193.0.96.129): 56 data bytes
 64 bytes from 193.0.96.129: seq=1 ttl=56 time=2857.646 ms
 64 bytes from 193.0.96.129: seq=2 ttl=56 time=1984.394 ms
 64 bytes from 193.0.96.129: seq=3 ttl=56 time=995.285 ms
 64 bytes from 193.0.96.129: seq=4 ttl=56 time=114.141 ms
 64 bytes from 193.0.96.129: seq=5 ttl=56 time=113.353 ms
 64 bytes from 193.0.96.129: seq=6 ttl=56 time=112.782 ms
 ^C
 --- 193.0.96.129 ping statistics ---
 7 packets transmitted, 6 packets received, 14% packet loss
 round-trip min/avg/max = 112.782/1029.600/2857.646 ms

 # ping google.com
 ping: bad address 'google.com'

 Gdzieś czytałem, że implementacje PPP po stronie providerów bywają
 buggy. Przeto pytanie: czy ktoś z Was wie coś o jakiś iPlus
 specyficznych rzeczach na które trzeba uważać?

 Witam,
 
 ja mam z iPlusem tak, że czasem dostaję DNSy a czasem nie.
 Zrobiłem sobie plik resolv.conf-iplus z ich DNSami (212.2.96.53,
 212.2.96.54).
 Po połączeniu do sieci skrypt umieszczony w /etc/ppp/ip-up.d kopiuje
 powyższy
 plik na /etc/resolv.conf.

Rzeczywiście, wystarczyło poczekać kilka godzin i zaczęło działać. Tym
razem dostały mi się serwery:
212.2.96.53
212.2.96.51

Więc wygląda na to, że te:
10.11.12.13
10.11.12.14
są uszkodzone.

Dzięki!

-- 
http://people.eisenbits.com/~stf/
OpenPGP: DFD9 0146 3794 9CF6 17EA  D63F DBF5 8AA8 3B31 FE8A

Like hardship, risk  challenge?  --- Follow Jesus!!


-- 
To UNSUBSCRIBE, email to debian-user-polish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4ce3944e.5080...@eisenbits.com



Re: iPlus

2010-11-16 Thread Stanisław Findeisen
Udało mi się uruchomić Huawei E1820 HSPA+ (za pomocą usb-modeswitch),
ale mam dziwny problem: nie działa mi DNS. Wygląda to tak:

# ping 193.0.96.129
PING 193.0.96.129 (193.0.96.129): 56 data bytes
64 bytes from 193.0.96.129: seq=1 ttl=56 time=2857.646 ms
64 bytes from 193.0.96.129: seq=2 ttl=56 time=1984.394 ms
64 bytes from 193.0.96.129: seq=3 ttl=56 time=995.285 ms
64 bytes from 193.0.96.129: seq=4 ttl=56 time=114.141 ms
64 bytes from 193.0.96.129: seq=5 ttl=56 time=113.353 ms
64 bytes from 193.0.96.129: seq=6 ttl=56 time=112.782 ms
^C
--- 193.0.96.129 ping statistics ---
7 packets transmitted, 6 packets received, 14% packet loss
round-trip min/avg/max = 112.782/1029.600/2857.646 ms

# ping google.com
ping: bad address 'google.com'

Gdzieś czytałem, że implementacje PPP po stronie providerów bywają
buggy. Przeto pytanie: czy ktoś z Was wie coś o jakiś iPlus
specyficznych rzeczach na które trzeba uważać?

Aktualnie mój plik /etc/ppp/options wygląda tak:

debug
logfile /var/log/ppp.stf.log
lock
maxfail 0
show-password
noipdefault
-ac
-am
-pc
-vj
usepeerdns
defaultroute
lcp-echo-failure 5
lcp-echo-interval 1

Te opcje z minusami są z tego co pamiętam do omijania jakiś negocjacji i
kompresji, wyłączyłem to bo właśnie przeczytałem że czasami trafiają się
bugi i np. provider nie obsługuje jakiejś tam kompresji...

A jak się łączę to w syslog'u mam takie wpisy (proszę zwrócić uwagę na
ten warning w #7 linii, to chyba nie jest normalne):

daemon.info pppd[1118]: Serial connection established.
daemon.debug pppd[1118]: using channel 1
daemon.info pppd[1118]: Using interface ppp0
daemon.notice pppd[1118]: Connect: ppp0 -- /dev/ttyUSB0
daemon.info pppd[1118]: CHAP authentication succeeded
daemon.notice pppd[1118]: CHAP authentication succeeded
daemon.warn pppd[1118]: Could not determine remote IP address:
defaulting to 10.64.64.64
daemon.info dnsmasq[1028]: reading /tmp/resolv.conf.auto
daemon.info dnsmasq[1028]: using nameserver 10.11.12.14#53
daemon.info dnsmasq[1028]: using nameserver 10.11.12.13#53
daemon.info dnsmasq[1028]: using local addresses only for domain lan
daemon.notice pppd[1118]: local  IP address 95.41.180.238
daemon.notice pppd[1118]: remote IP address 10.64.64.64
daemon.notice pppd[1118]: primary   DNS address 10.11.12.13
daemon.notice pppd[1118]: secondary DNS address 10.11.12.14
daemon.debug pppd[1118]: Script /etc/ppp/ip-up started (pid 1138)
user.notice rdate: Failed to sync with ptbtime1.ptb.de
user.notice rdate: Failed to sync with ac-ntp1.net.cmu.edu
user.notice rdate: Failed to sync with ntp.xs4all.nl
daemon.debug pppd[1118]: Script /etc/ppp/ip-up finished (pid 1138),
status = 0x1

Jakieś pomysły?...

-- 
http://people.eisenbits.com/~stf/
OpenPGP: DFD9 0146 3794 9CF6 17EA  D63F DBF5 8AA8 3B31 FE8A

Like hardship, risk  challenge?  --- Follow Jesus!!


-- 
To UNSUBSCRIBE, email to debian-user-polish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4ce30d48.7090...@eisenbits.com



Huawei E1820 (ZeroCD)

2010-11-10 Thread Stanisław Findeisen
On 2010-10-20 10:22, Krzysztof Burghardt wrote:
 Generalnie wystarczy skonfigurować sterownik (dla większości modemów
 Huawei będzie to moduł option), tak aby w systemie pojawił się port
 szeregowy powiązany z modemem.

Ja właśnie mam Huawei E1820 który ma ZeroCD, i o ile dobrze to rozumiem
to to działa tak że się na USB bus pojawia raz jako storage device a raz
jako GSM modem (czy jakoś tak).

Zdaje się że to jest pomyślane tak, że pojawia się jako storage device
żeby pociągnąć pliki sterownika które są w środku (ZeroCD), a potem
sterownik przestawia urządzenie tak żeby przy kolejnych razach
przedstawiało się jako modem GSM.

Używasz usb-modeswitch?

-- 
http://people.eisenbits.com/~stf/
OpenPGP: DFD9 0146 3794 9CF6 17EA  D63F DBF5 8AA8 3B31 FE8A

Like hardship, risk  challenge?  --- Follow Jesus!!



signature.asc
Description: OpenPGP digital signature


usb-modeswitch

2010-11-10 Thread Stanisław Findeisen
http://packages.debian.org/squeeze/usb-modeswitch

Please, someone adds this thing to lenny would be great. :-)

-- 
http://people.eisenbits.com/~stf/
OpenPGP: DFD9 0146 3794 9CF6 17EA  D63F DBF5 8AA8 3B31 FE8A

Like hardship, risk  challenge?  --- Follow Jesus!!


-- 
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/4cdac859.80...@eisenbits.com



Re: procmail and Unicode header lines (RFC 2047)

2010-10-31 Thread Stanisław Findeisen
On 2010-10-29 10:39, Camaleón wrote:
 On Thu, 28 Oct 2010 21:19:30 +0200, Stanisław Findeisen wrote:
 
 Is there any support in Debian for Unicode e-mail header lines
 processing, e.g. with procmail?

 Those header lines look like this:

 Subject: =?ISO-2022-JP?B?GyRCNEE7eiROJTUlViU4JSclLyVIGyhC?=

 so they need to be decoded before doing anything useful with them. (See:
 http://www.debian.org/doc/manuals/intro-i18n/ch-internet.en.html)
 
 Mmm, procmail is a delivery agent, it does not render the messages. 
 
 What e-mail client are you using for displaying e-mails? I have not 
 problems with encoded subjects using rfc 2047, they seem to render just 
 fine in Mutt.

I was talking about e-mail processing (e-mail filtering, header fields
modifications etc.) on the server. So no, no end-user client e-mail
software involved.

-- 
http://people.eisenbits.com/~stf/
OpenPGP: DFD9 0146 3794 9CF6 17EA  D63F DBF5 8AA8 3B31 FE8A

Like hardship, risk  challenge?  --- Follow Jesus!!



signature.asc
Description: OpenPGP digital signature


Re: procmail and Unicode header lines (RFC 2047)

2010-10-30 Thread Stanisław Findeisen
On 2010-10-29 21:35, Bob Proulx wrote:
 Stanisław Findeisen wrote:
 Is there any support in Debian for Unicode e-mail header lines
 processing, e.g. with procmail?
 Subject: =?ISO-2022-JP?B?GyRCNEE7eiROJTUlViU4JSclLyVIGyhC?=

 so they need to be decoded before doing anything useful with them. (See:
 http://www.debian.org/doc/manuals/intro-i18n/ch-internet.en.html)
 
 As far as I know there is no support in procmail for decoding those
 fields.  I have always needed to create rules working with the encoded
 data.
 
 Example from some localized mailman filtering:
   * 1^0 ^Subject: [^ ]+ post from
   * 1^0 ^Subject: .*El_envio_a_
   * 1^0 ^Subject: .*Un_envoi_sur_la_liste_
   * 1^0 ^Subject: .*_taraf=FDndan_g=F6nderilen_
 
 Using wildcards for the interesting characters has worked fairly well
 with the European languages.  But I have no experience and no
 suggestion for your example JP locale though.

Hm I wrote this little script:

http://people.eisenbits.com/~stf/software/conv2047/

It is easy to use it in .procmailrc along with formail (you decode
encoded subject (or any other field) and *then* you search for your
patterns of interest). Then you can, for instance, modify the subject
and encode it back.

It works for me, at least.

-- 
http://people.eisenbits.com/~stf/
OpenPGP: DFD9 0146 3794 9CF6 17EA  D63F DBF5 8AA8 3B31 FE8A

Like hardship, risk  challenge?  --- Follow Jesus!!


-- 
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/4ccbf11d.7050...@eisenbits.com



Re: iPlus

2010-10-28 Thread Stanisław Findeisen
On 2010-10-20 10:22, Krzysztof Burghardt wrote:
 W dniu 20 października 2010 09:26 użytkownik Stanisław Findeisen
 s...@eisenbits.com napisał:
 On 2010-10-19 23:07, Rafał Olejnik wrote:
 Akurat używam playonline na kartę z modemem huawei e156g.
 Możliwe że plus ma takie w ofercie.
 Jeżeli chodzi o konfigurację to network manager posiada większość albo i
 wszystkie ustawienia dla polskich sieci.
 Proszę, nie mów do mnie o network manager. ;-)
 Mam z tym same problemy (przy WiFi). Ostatnio go wywaliłem.
 
 Generalnie wystarczy skonfigurować sterownik (dla większości modemów
 Huawei będzie to moduł option), tak aby w systemie pojawił się port
 szeregowy powiązany z modemem. Czasem można użyć modułu usbserial i
 ustawić opcje vendor, product i maxSize. Działa to jako 115200bps i
 chyba tylko z modemami USB.

Jeżeli się używa usbserial, to przepustowość jest =115200bps?? Z czego
to wynika? To chyba nie jest ograniczenie samego USB.

 Gdy to jest zrobione potrzebne są skrypty chata, które zainicjują
 połączenie oraz konfiguracja pppd. Ostatnim, Debianowym, elementem
 układanki jest wpisanie nowego interfejsu do /etc/network/interfaces.
 Jeśli jesteś zainteresowany szczegółami, to mogę wysłać moją
 konfigurację wieczorem.

To przyślij.

 Dodam jeszcze, że działają mi modemy Huawei E272 (USB) oraz E870
 (ExpressCard na przejściówce do PCMCIA).

Ok. A czy komuś zadziałało coś z tego:
Huawei E1820
Huawei E1750
Huawei B260A
?

-- 
http://people.eisenbits.com/~stf/
OpenPGP: DFD9 0146 3794 9CF6 17EA  D63F DBF5 8AA8 3B31 FE8A

Like hardship, risk  challenge?  --- Follow Jesus!!


-- 
To UNSUBSCRIBE, email to debian-user-polish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4cc99ef6.5030...@eisenbits.com



procmail and Unicode header lines (RFC 2047)

2010-10-28 Thread Stanisław Findeisen
Hi

Is there any support in Debian for Unicode e-mail header lines
processing, e.g. with procmail?

Those header lines look like this:

Subject: =?ISO-2022-JP?B?GyRCNEE7eiROJTUlViU4JSclLyVIGyhC?=

so they need to be decoded before doing anything useful with them. (See:
http://www.debian.org/doc/manuals/intro-i18n/ch-internet.en.html)

-- 
http://people.eisenbits.com/~stf/
OpenPGP: DFD9 0146 3794 9CF6 17EA  D63F DBF5 8AA8 3B31 FE8A

Like hardship, risk  challenge?  --- Follow Jesus!!


-- 
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/4cc9ccc2.2090...@eisenbits.com



mail-only user accounts

2010-10-21 Thread Stanisław Findeisen
What are the best practices for restricting user accounts to e-mail +
passwd only?

Is allowing SSH access and setting user shell to passwd the way to go?

Thanks!

-- 
http://people.eisenbits.com/~stf/
OpenPGP: DFD9 0146 3794 9CF6 17EA  D63F DBF5 8AA8 3B31 FE8A

Like hardship, risk  challenge?  --- Follow Jesus!!



signature.asc
Description: OpenPGP digital signature


Re: mail-only user accounts

2010-10-21 Thread Stanisław Findeisen
On 2010-10-21 09:54, Ron Johnson wrote:
 On 10/21/2010 02:35 AM, Stanisław Findeisen wrote:
 What are the best practices for restricting user accounts to e-mail +
 passwd only?

 Is allowing SSH access and setting user shell to passwd the way to go?

 
 If the machine will just be an email server, I'd look into virtual
 accounts.
 
 http://www.debuntu.org/how-to-virtual-emails-accounts-with-postfix-and-dovecot

Okay, but does SSH+passwd + Postfix + Dovecot (no virtual accounts)
leave any inherent security holes? Like the ability to do scp or...?

My testing reveals that scp doesn't work with SSH+passwd:

 scp local-file some...@...:/somewhere/...
 some...@...'s password: 
 
 passwd: invalid option -- c
 Usage: passwd [options] [LOGIN]
 
 Options:
   -a, --all report password status on all accounts
   -d, --delete  delete the password for the named account
   -e, --expire  force expire the password for the named 
 account
   -h, --helpdisplay this help message and exit
   -k, --keep-tokens change password only if expired
   -i, --inactive INACTIVE   set password inactive after expiration
 to INACTIVE
   -l, --locklock the password of the named account
   -n, --mindays MIN_DAYSset minimum number of days before password
 change to MIN_DAYS
   -q, --quiet   quiet mode
   -r, --repository REPOSITORY   change password in REPOSITORY repository
   -S, --status  report password status on the named account
   -u, --unlock  unlock the password of the named account
   -w, --warndays WARN_DAYS  set expiration warning days to WARN_DAYS
   -x, --maxdays MAX_DAYSset maximim number of days before password
 change to MAX_DAYS
 
 lost connection

What is this c? What is scp doing?

Does scp assume that remote shell is GNU Bash, and tries to pass command
line arguments to it? My local GNU Bash manual says:

 -c string If the -c option is present, then commands are read from string.   
 If  there  are  arguments  after  the
  string, they are assigned to the positional parameters, 
 starting with $0.

so I think that would make sense... This -c option is probably POSIX?

Perhaps Debian SSH server only allows secure authentication +
communication and the rest is just to execute user shell with command
line parameters supplied by the client end. Is this correct?

-- 
http://people.eisenbits.com/~stf/
OpenPGP: DFD9 0146 3794 9CF6 17EA  D63F DBF5 8AA8 3B31 FE8A

Like hardship, risk  challenge?  --- Follow Jesus!!



signature.asc
Description: OpenPGP digital signature


Re: iPlus

2010-10-20 Thread Stanisław Findeisen
On 2010-10-19 23:07, Rafał Olejnik wrote:
 Akurat używam playonline na kartę z modemem huawei e156g.
 Możliwe że plus ma takie w ofercie.
 Jeżeli chodzi o konfigurację to network manager posiada większość albo i
 wszystkie ustawienia dla polskich sieci.

Proszę, nie mów do mnie o network manager. ;-)

Mam z tym same problemy (przy WiFi). Ostatnio go wywaliłem.

-- 
http://people.eisenbits.com/~stf/
OpenPGP: DFD9 0146 3794 9CF6 17EA  D63F DBF5 8AA8 3B31 FE8A

Like hardship, risk  challenge?  --- Follow Jesus!!


-- 
To UNSUBSCRIBE, email to debian-user-polish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4cbe99c1.9030...@eisenbits.com



Re: iPlus

2010-10-20 Thread Stanisław Findeisen
On 2010-10-20 01:10, Pablo wrote:
 Dnia 292 roku bieżącego, Stanisław Findeisen zeznał(a) jak następuje:
 
 Hej

 Jakie macie doświadczenia z iPlus'em i poszczególnymi modemami?
 
 To zależy czego oczekujesz, u mnie bezproblemowo ruszył HUAWEI E630
 (pcmcia)

==
Wymagania sprzętowe

* Procesor Intel Pentium 500 MHz lub lepszy
* 128 MB RAM
* 30 MB wolnego miejsca na dysku
* system operacyjny Microsoft Windows 2000/XP/Vista (wersja 32bity)
* wolne gniazdo PCMCIA typ II
* przeglądarka internetowa Internet Explorer 5.5 lub nowsza
* napęd CD ROM

http://www.iplus.pl/indywidualni-modemy-pcmcia-specyfikacja-modemu-huawei-e630-hsdpa-ready.html
==

Pewnie masz jakąś podstawową funkcjonalność, ale zaawansowanej już nie,
bo nie wgrałeś tego ich windowsowego soft'u?

Napisz coś więcej.

-- 
http://people.eisenbits.com/~stf/
OpenPGP: DFD9 0146 3794 9CF6 17EA  D63F DBF5 8AA8 3B31 FE8A

Like hardship, risk  challenge?  --- Follow Jesus!!


-- 
To UNSUBSCRIBE, email to debian-user-polish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4cbe9abc.50...@eisenbits.com



iPlus

2010-10-19 Thread Stanisław Findeisen
Hej

Jakie macie doświadczenia z iPlus'em i poszczególnymi modemami?

Ja do tej pory korzystałem z iPlus'a na kartę przez modem Comander M
EDGE podłączany do USB. Prędkość nie była zawrotna ale z konfiguracją
nie było problemów.

Teraz szukam jakiegoś lepszego modemu (w abonamencie) i się zastanawiam
który najlepiej wybrać. Najchętniej uniknąłbym instalowania dodatkowego
oprogramowania.

-- 
http://people.eisenbits.com/~stf/
OpenPGP: DFD9 0146 3794 9CF6 17EA  D63F DBF5 8AA8 3B31 FE8A

Like hardship, risk  challenge?  --- Follow Jesus!!



signature.asc
Description: OpenPGP digital signature


WiFi: nm-applet, nm-editor, replace NetworkManager

2010-10-12 Thread Stanisław Findeisen
Here in campus we have 2 networks:

eduroam-open, which is open and very restricted
eduroam, which requires authentication and is less restricted.

I have 3 questions.

1. How to actually select the network to use? I was trying nm-applet but
NetworkManager seems to fallback to eduroam-open simply becase it thinks
it is better:

 Oct 12 18:45:16 t42-debian NetworkManager: info  Activation (eth1) New 
 wireless user key requested for network 'eduroam'.
 Oct 12 18:45:16 t42-debian NetworkManager: info  Activation (eth1) Stage 2 
 of 5 (Device Configure) complete.
 Oct 12 18:45:22 t42-debian NetworkManager: info  SWITCH: found better 
 connection 'eth1/eduroam-open' than current connection 'eth1/eduroam'.  
 same_ssid=0, have_link=1
 Oct 12 18:45:22 t42-debian NetworkManager: info  Will activate connection 
 'eth1/eduroam-open'.

2. Where does nm-editor store network passwords? Are those files
encrypted in any way?

3. This is not the first time I am having problems with NetworkManager
here on Debian, so I think I will get rid of it. The question is how to
switch between available WiFi connections without NetworkManager.

For instance I could store network connection parameters unencrypted in
/etc/wpa_supplicant.conf (-rw---, root:root). How to make WPA
Supplicant select the network I want?

Thanks!

-- 
http://people.eisenbits.com/~stf/
OpenPGP: DFD9 0146 3794 9CF6 17EA  D63F DBF5 8AA8 3B31 FE8A

Like hardship, risk  challenge?  --- Follow Jesus!!


-- 
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/4cb4981b.20...@eisenbits.homelinux.net



802.11 WPA network key prompt despite GNOME keyring

2010-08-14 Thread Stanisław Findeisen
Hi

I am trying to use a 802.11 wireless network that frequently disconnects
me (low signal). The network is protected with WPA pre-shared key. The
problem is I am being prompted for this key every time.

Well, almost every. When I log in, I do not have to type the key. It is
stored in the GNOME keyring (I use nm-editor 0.6.6 for that).
But then, when it disconnects, I have to type it again and again. Why?

And sometimes it doesn't prompt me, and failes to authenticate also. :-|
I had to delete the network entry from the GNOME keyring (nm-editor),
get *prompted* for the key, and *then* I was authenticated. 8-|

What's wrong??!

STF

http://eisenbits.homelinux.net/~stf/
OpenPGP: DFD9 0146 3794 9CF6 17EA  D63F DBF5 8AA8 3B31 FE8A


-- 
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/4c6650ef.8030...@eisenbits.homelinux.net



[newbie] Logwatch + Postfix + Mailman

2010-07-22 Thread Stanisław Findeisen
Hi

I have several simple questions regarding Logwatch reporting on Postfix
logs with Mailman involved, too.

(1) How does Logwatch work? Suppose an attacker manages to break into
the machine and deletes/changes parts of the logs. Will Logwatch get
tricked by this or not?
I guess Logwatch is just run periodically from cron, so the answer is yes...

(2) This is what appeared in my logwatch today:

  ### Logwatch 7.3.6+cvs20080702-debian (07/02/08) 
  
 Processing Initiated: Thu Jul 22 09:30:47 2010
 Date Range Processed: yesterday
   ( 2010-Jul-21 )
   Period is day.
 [...]
  - Postfix Begin  
 
 1   *Warning: Queue file size limit exceeded 
  
16.730M  Bytes accepted17,542,489
29.163M  Bytes sent via SMTP   30,579,186
 8.382M  Bytes delivered8,788,693
     

I'd like to understand the numbers. :-)

First, the traffic yesterday was really low. With one exception: I have
a Mailman mailing list, and 1 subscriber (Ilona) sent to it an e-mail
with about 4 MB in size. So, the e-mail was delivered to:

1. a Mailman command
2. a local mailbox of list member (just 1)
3. 7 non-local mailing list members:
   3x gmail.com
   1x gazeta.pl relay=ASPMX.L.GOOGLE.COM
   3  other servers (all diferent).

The question is, how does this sum up to the Logwatch/Postfix numbers above.

* Does delivery to the mailman command and delivery to a local mailbox
(after mailman command execution) count each on its own, so there should
be ca. 4 MB + 4 MB? Or only the submission to the mailman command
counts, so there should be just 4 MB?

* Does 29 MB (sent via SMTP) comes from 7 * 4 MB? As I said there are
3 Gmail members, so that would mean that they all add up. How many times
is e-mail body physically transmitted over the network in such a case?

* I have no idea where does 16.7 MB accepted comes from, though. However
before successful 4 MB submission by Ilona someone tried to send in an
e-mail that was too big:

 Jul 21 12:11:26 smtpd[31280]: connect from 
 mail-ww0-f46.google.com[74.125.82.46]
 Jul 21 12:11:26 smtpd[31280]: 2E..36: 
 client=mail-ww0-f46.google.com[74.125.82.46]
 Jul 21 12:11:26 cleanup[31284]: 2E..36: message-id=aanlk.@mail.gmail.com
 Jul 21 12:11:34 smtpd[31280]: warning: 2E..36: queue file size limit exceeded
 Jul 21 12:11:39 smtpd[31280]: disconnect from 
 mail-ww0-f46.google.com[74.125.82.46]

Does this failed submission count as bytes accepted??

What was its size??

Thank you!

STF

http://eisenbits.homelinux.net/~stf/
OpenPGP: DFD9 0146 3794 9CF6 17EA  D63F DBF5 8AA8 3B31 FE8A



signature.asc
Description: OpenPGP digital signature