RE: How to get linux headers or source code for debian 8.0 kernel 3.16.0-4-amd64

2021-12-15 Thread Kiyanovski, Arthur
>-Original Message-
>From: Thomas Schmitt 
>Sent: Tuesday, December 14, 2021 7:17 PM
>To: debian-user@lists.debian.org
>Cc: Kiyanovski, Arthur 
>Subject: RE: [EXTERNAL] How to get linux headers or source code for debian
>8.0 kernel 3.16.0-4-amd64
>
>CAUTION: This email originated from outside of the organization. Do not click
>links or open attachments unless you can confirm the sender and know the
>content is safe.
>
>
>
>Hi,
>
>> How do I get the Linux headers or source code for kernel
>> 3.16.0-4-amd64 Debian 8.0?
>
>Are you sure that this is the version code which you should be looking for if
>interested in source ?
>
>According to my mail archives uname -a on a Debian 8.1 says:
>  Linux ts6 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt11-1 (2015-05-24) x86_64
>GNU/Linux
>
>The string "3.16.0-4" is found in the web for various different "MP Debian
>3.16...". But "3.16.7-ckt11-1" seems to be the actual source version.
>
>Debian 8.0 was released april 26th 2015.
>This here is from april 23:
>
>  https://launchpad.net/debian/+source/linux/3.16.7-ckt9-3
>
>This snapshot of april 28
>
>
>https://snapshot.debian.org/archive/debian/20150428T040155Z/pool/main/l/
>linux/
>
>offers:
>
>  linux-headers-3.16.0-4-all-arm64_3.16.7-ckt9-3_arm64.deb
>  linux-image-3.16.0-4-amd64_3.16.7-ckt9-3_amd64.deb
>  linux-source-3.16_3.16.7-ckt9-3_all.deb
>
>
>Have a nice day :)
>
>Thomas

Thanks guys! Your answers were really helpful!

Using uname -a /-v showed me that the actual kernel is 3.16.7-ckt9-2 
(2015-04-13)

Thomas,  
You found 3.16.7-ckt9-3 snapshot which is very close. But more importantly you 
showed me how to look into snapshots.
Thanks for showing me where inside the snapshot I should look for the deb files 
- would have never found it myself with all of these paths there 
Looking in the snapshots I found 
linux-headers-3.16.0-4-all-amd64_3.16.7-ckt9-2_amd64.deb in - 
http://snapshot.debian.org/archive/debian/20150413T093346Z/pool/main/l/linux/
Added the snapshot to my sources.list and was able to install the 
linux-headers-3.16.0-4-amd64 package.
With is was able to compile my driver and load it.

Thanks a lot!
Arthur







How to get linux headers or source code for debian 8.0 kernel 3.16.0-4-amd64 ?

2021-12-14 Thread Kiyanovski, Arthur
Hi,

TL;DR - How do I get the Linux headers or source code for kernel 3.16.0-4-amd64 
Debian 8.0?

What I tried and failed doing:
---
I have an AWS instance with kernel:
3.16.0-4-amd64

apt-cache search doesn’t find a relevant package.

I tried updating the etc/apt/sources.list file with the archive so it now looks 
like this:

deb http://cloudfront.debian.net/debian jessie main
deb-src http://cloudfront.debian.net/debian jessie main
deb http://security.debian.org/ jessie/updates main
deb-src http://security.debian.org/ jessie/updates main
deb http://cloudfront.debian.net/debian jessie-updates main
deb-src http://cloudfront.debian.net/debian jessie-updates main
deb http://archive.debian.org/debian jessie main contrib non-free
deb-src http://archive.debian.org/debian jessie main contrib non-free

At first running apt-get update gave me an error 
W: GPG error: http://archive.debian.org jessie Release: The following 
signatures were invalid: KEYEXPIRED 1587841717

Then I used the solution of going back in time described in 
https://www.reddit.com/r/debian/comments/g9is3p/debian_8_jessie_keyexpired_drive_my_crazy/:
date 01012020; [apt-get update / upgrade / whatever]; ntpdate 2.pool.ntp.org

This stopped the GPG error but I still don’t see the headers package.

I tried getting the sources for the Linux-image package like this:
sudo apt-get source linux-image-3.16.0-4-amd64

But it got the sources for kernel linux-3.16.84 and not 3.16.0-4

Can you please help me? I need to make sure my code compiles on this kernel but 
I can't get its sources or headers ☹

Thanks!
Arthur


Re: debian-user-digest Digest V2020 #849

2020-08-27 Thread Arthur Wouk
unsubscribe.

> On 08/25/2020 8:12 PM debian-user-digest-requ...@lists.debian.org wrote:
> 
>  
> debian-user-digest Digest Volume 2020 : Issue 849
> 
> Today's Topics:
>   Re: stretch vs iptables auto-start[ Andrew Cater  ]
>   Re: stretch vs iptables auto-start[ Gene Heskett  
> ]
>   Re: Homebuilt NAS: System Drive File  [ David Christensen  ]
>   Re: Continuing problem with malfunct  [ David Christensen  ]
>   Re: Cannot see a process listening o  [ Victor Sudakov  ]
>   Re: Homebuilt NAS: System Drive File  [ Andrei POPESCU  ]
>   Re: Cannot see a process listening o  [ Anssi Saari  ]
>   Re: Homebuilt NAS: System Drive File  [ Patrick Bartek  ]
>   Signal [Was:] Re: Encrypt files on L  [ Celejar  ]
>   Re: Cannot see a process listening o  [ Victor Sudakov  ]
> Start here perhaps? https://wiki.debian.org/nftables
> 
> It should be relatively straightforward to move backward and forwards. 
> Working as a systemd service means that it will start automatically if you're 
> using systemd.
> 
> [When in doubt, check the Debian wiki for a topic - if that's no good, have a 
> quick look at the Arch Linux wiki - as folk who build from source, they're 
> good at documenting how things work.
> 
> All best, as ever,
> 
> Andy C.
> 
> On Mon, Aug 24, 2020 at 8:15 PM deloptes  wrote:
> > Gene Heskett wrote:
> > 
> >   > At the present time I have around 80 rules, all designed to deny the
> >   > network spiders and bots that think they have to mirror my several
> >   > giga-byte site, 2 or 3 times a day.  And that was eating up my bandwidth
> >   > allocation on a slow net connection.
> >   >
> >   > Is there a tut someplace to guide one in converting from iptables to 
> > this
> >   > newer nftables? I'm assumeing its a similar utility.
> > 
> >   Sure, but I have not looked into ... I only read there will be a couple of
> >   years transition period and somehow a compatibility layer is or can be
> >   used.
> > 
> >   Perhaps someone more in this can gives us a detail or a hint to a good
> >   tutorial
> > 
> On Monday 24 August 2020 17:03:13 Andrew Cater wrote:
> 
> > Start here perhaps? https://wiki.debian.org/nftables
> >
> > It should be relatively straightforward to move backward and forwards.
> > Working as a systemd service means that it will start automatically if
> > you're using systemd.
> >
> > [When in doubt, check the Debian wiki for a topic - if that's no good,
> > have a quick look at the Arch Linux wiki - as folk who build from
> > source, they're good at documenting how things work.
> >
> > All best, as ever,
> >
> > Andy C.
> 
> As always. good advice, thanks Andy.
> 
> > On Mon, Aug 24, 2020 at 8:15 PM deloptes  wrote:
> > > Gene Heskett wrote:
> > > > At the present time I have around 80 rules, all designed to deny
> > > > the network spiders and bots that think they have to mirror my
> > > > several giga-byte site, 2 or 3 times a day.  And that was eating
> > > > up my bandwidth allocation on a slow net connection.
> > > >
> > > > Is there a tut someplace to guide one in converting from iptables
> > > > to this newer nftables? I'm assumeing its a similar utility.
> > >
> > > Sure, but I have not looked into ... I only read there will be a
> > > couple of years transition period and somehow a compatibility layer
> > > is or can be used.
> > >
> > > Perhaps someone more in this can gives us a detail or a hint to a
> > > good tutorial
> 
> 
> Cheers, Gene Heskett
> -- 
> "There are four boxes to be used in defense of liberty:
>  soap, ballot, jury, and ammo. Please use in that order."
> -Ed Howdershelt (Author)
> If we desire respect for the law, we must first make the law respectable.
>  - Louis D. Brandeis
> Genes Web page 
> On 2020-08-24 02:40, Jonathan Dowland wrote:
> > On Fri, Aug 21, 2020 at 09:02:05PM -0700, Patrick Bartek wrote:
> >> Opinions?  Suggestions?  Recommendations?
> 
> > But I'd also avoid trying to run / on a flash drive. I just use a
> > logical volume on my NAS storage for the OS. I can't see a reason not
> > to.
> 
> I find it is easier to administer computers when the operating system is 
> on one device/RAID and the data is on another device/RAID (or several, 
> one for each subgroup of data) -- e.g. "separation of concerns".
> 
> 
> David
> On 2020-08-24 10:49, Mick Ab wrote:
> > I am still struggling to solve the problem with the malfunctioning USB 3
> > port on a desktop running Debian.
> > 
> > I would be very grateful if someone could please give useful answers to the
> > following questions :-
> > 
> > (1) Can the desktop be safely rebooted, if needed, given the USB 3 problem?
> 
> If your desktop cannot be safely rebooted, the USB ports are the least 
> of your worries.
> 
> 
> > (2) Can the USB 3 problem be fixed in some way or is the port now
> > permanently unavailable?
> 
> That depends upon your hardware, your operating system, your software, 
> and/or your definition of "fixed".
> 

Hello

2020-01-30 Thread Harry Arthur Foundation
We have donation for you contact us for more info.

Thank You
Harry Arthur Foundation.



recommended imapd?

2015-07-30 Thread Arthur Marsh
I finally removed the long-unsupported uw-imapd and have so far been 
unsuccessful setting up a replacement that is available in Debian.


Currently I have mailutils-imap4d installed but am unsure of 
configuration needed.


All it needs to do is to access the files in /var/mail/user and be 
accessible from icedove 38.0.1 (running Debian unstable i386 here) with 
reasonably straightforward configuration.


Arthur.


--
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/ij1q8c-18a@ppp14-2-48-242.lns21.adl2.internode.on.net



Re: recommended imapd?

2015-07-30 Thread Arthur Marsh

Arthur Marsh wrote on 31/07/15 02:26:

I finally removed the long-unsupported uw-imapd and have so far been
unsuccessful setting up a replacement that is available in Debian.

Currently I have mailutils-imap4d installed but am unsure of
configuration needed.

All it needs to do is to access the files in /var/mail/user and be
accessible from icedove 38.0.1 (running Debian unstable i386 here) with
reasonably straightforward configuration.

Arthur.



After doing:
[DOWNGRADE] icedove:i386 38.0.1-1 - 38.0~b5-1
[DOWNGRADE] icedove:i386 38.0~b5-1 - 31.7.0-1

IMAP is working with mailutils-imap4d 1:2.99.98-2 (not securely, but 
it's all restricted to the one machine).


It appears that icedove 38.x was misbehaving.

Arthur.


--
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/55ba6093.6010...@internode.on.net



debugging / logging udev?

2015-06-09 Thread Arthur Marsh
I'm trying to track down what is going on with my eth0 interface not 
coming up automatically on my amd64 machine with recent versions of udev 
219-10 or later, see:


http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=787364

Are there any good guides to debugging / logging udev? I'm unsure how to 
log debugging output of udev to a file.


Arthur.


--
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/nrvi4c-tht@ppp14-2-48-242.lns21.adl2.internode.on.net



SOLVED - Re: alsa-utils save / restore not working http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=768665

2014-11-09 Thread Arthur Marsh

Karl E. Jorgensen wrote on 09/11/14 20:04:

Hi

On Sun, Nov 09, 2014 at 06:12:32PM +1030, Arthur Marsh wrote:

Pardon me, but I'm a bit frustrated on how to debug
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=768665

does /var/run get saved across reboots?


I would not expect so.  http://www.pathname.com/fhs/2.2/fhs-5.13.html


Where are the state of the sound card(s) saved / restored?


I don't use alsa-utils, but based on my understanding of the FHS, I'd
expect somewhere under /var/lib/alsa-utils.

But from reading the bug report, I'm led to believe it is
/var/lib/alsa/asound.state

Hope this helps



The problem was that I'd plugged the pc speakers into the rear speakers 
output and KDE was set to do analogue stereo output, so it muted 
surround output and hence the rear speakers.


With the pc speakers plugged into the front/line output, things worked 
much better.


Thankfully I still had the documentation for motherboard handy.

Arthur.



--
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/jb34jb-trb@ppp14-2-48-242.lns21.adl2.internode.on.net



alsa-utils save / restore not working http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=768665

2014-11-08 Thread Arthur Marsh
Pardon me, but I'm a bit frustrated on how to debug 
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=768665


does /var/run get saved across reboots?

Where are the state of the sound card(s) saved / restored?

How can one increase debugging to see whether it is happening or not?

What determines the default sound card and how can it be set?

Thanks for any constructive suggestions.

Arthur.


--
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/9gi3jb-8be@ppp14-2-48-242.lns21.adl2.internode.on.net



good disk/cpu/videocard temperature display that works in KDE

2014-11-07 Thread Arthur Marsh
I finally upgraded my other pc to KDE 4.14.2, and am looking for a 
temperature display for the hard disks, CPU, video card and motherboard.


It needs to show actual temperatures and also have some labelling of 
which temperature is for what device.


Any suggestions?


--
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/rji0jb-drq@ppp14-2-48-242.lns21.adl2.internode.on.net



RE: Iptables

2014-07-22 Thread Joao Arthur

Ricardo, veja se da certo:

iptables -t nat -A PREROUTING -i eth0 -p tcp -d 192.168.10.29 --dport 80 -j 
DNAT --to 192.168.10.29
iptables -A FORWARD -p tcp --dport 80 -d 192.168.10.29 -j ACCEPT




  

João Arthur
 
Date: Tue, 22 Jul 2014 11:22:54 -0700
From: rtw...@yahoo.com.br
Subject: Iptables
To: debian-user-portuguese@lists.debian.org

Meus amigos, boa tarde.
Preciso fazer uma determinada manobra com o iptables e gostaria da ajuda de 
vocês.
Na minha rede local, existe uma máquina que precisa ser acessada por outras 
máquinas da mesma rede local passando pelo firewall.
O que fiz até agora foi:Cadastrei no DNS da rede local o nome e IP (ip externo) 
deste servidor.Assim, todas as máquinas da rede local que quiserem acessar este 
servidor, terão que resolver o nome e terão como resposta da resolução o IP 
externo.Assim, como se trata de um IP externo, terão que passar pelo 
firewall.No firewall eu coloquei uma regra na PREROUTING dizendo que tudo que 
chegar da rede local, com destino ao IP externo e na porta 80 deverá ser 
redirecionado ao IP interno do servidor na porta 80.
Vejam a regra como ficou:
Rede Local: 192.168.0.0/24IP interno do servidor que deverá ser acessoado: 
192.168.10.29 porta 80
iptables -A PREROUTING -i eth0 -s 192.168.10.0/24  -d 192.168.10.29 --dport 80 
-m state --state NEW,ESTABLISHED,RELATED -J DNAT --to 192.168.10.29:80
 Sei que é um pouco estranho uma máquina da rede local ter que ir no firewall 
para acessar uma máquina que faz parte do mesmo range/segmento.Mas gostaria de 
fazer assim por conta de alguns motivos.
Essa seria a melhor solução?Está faltando alguma regra de retorno?Esta faltando 
alguma regra na FOWARD?
Obrigado pela ajudaAtenciosamente,
Ricardo   

using Nokia C5-00 handset as an internet connection - looking for suggestions

2013-12-15 Thread Arthur Marsh
Hi, I've had a read and experiment with using a Nokia C5-00 handset as 
an internet connection and am stuck.


There are multiple options the mode of USB connection that the handset 
supports (PC Suite, mass storage, PTP transfer, media transfer and 
Connect PC to web).


I tried Connect PC to web and experimenting with usb-modeswitch, but 
don't have a machine running MS-Windows to sniff what happens on this 
handset and try it under Debian GNU/Linux, and trying the same procedure 
listed for other Nokia devices didn't appear to do anything.


I also had a look at documentation for connecting another model of Nokia 
handset to a pc running Debian at:


http://wiki.maemo.org/USB_networking#Debian

If I chose the PC Suite option when plugging the USB cable in to the 
Nokia handset, I get the following in dmesg:


[49603.601267] usb 3-2: USB disconnect, device number 3
[53791.136629] usb 3-2: new high-speed USB device number 4 using ehci-pci
[53791.269646] usb 3-2: New USB device found, idVendor=0421, idProduct=0596
[53791.269660] usb 3-2: New USB device strings: Mfr=1, Product=2, 
SerialNumber=3

[53791.269666] usb 3-2: Product: C5-00.3
[53791.269672] usb 3-2: Manufacturer: Nokia
[53791.269676] usb 3-2: SerialNumber: deleted
[53791.271387] cdc_acm 3-2:1.1: ttyACM0: USB ACM device
[53791.272771] usb 3-2: bad CDC descriptors
[53791.272885] usb 3-2: bad CDC descriptors

lsmod lists a bunch of new modules:

rndis_wlan 35123  0
rndis_host 12698  1 rndis_wlan
cdc_ether  12564  1 rndis_host
usbnet 26748  3 rndis_host,rndis_wlan,cdc_ether
cfg80211  394809  1 rndis_wlan
rfkill 18867  4 nfc,cfg80211,bluetooth
cdc_phonet 12793  0
phonet 27725  1 cdc_phonet
cdc_acm26225  0
mii12675  2 r8169,usbnet

usbpn0Link encap:UNSPEC  HWaddr 
1B-3A-30-30-30-30-3A-30-00-00-00-00-00-00-00-00

  POINTOPOINT NOARP  MTU:65541  Metric:1
  RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:3
  RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

The handset already has a packet internet connection, but I'm at a loss 
as to how to configure usbpn0 and make it the default route, so that the 
mobile handset can be the internet connection for the pc and LAN.


Has anyone done this successfully?

Regards,

Arthur.




--
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/s290oa-unn@ppp14-2-48-242.lns21.adl2.internode.on.net



Re: vlc, mplayer unable to play one particular CDDA / wav file

2013-05-23 Thread Arthur Marsh

Darac Marjal wrote, on 22/05/13 21:22:

On Wed, May 22, 2013 at 06:25:19PM +0930, Arthur Marsh wrote:

Hi, I'm a bit stuck as to how to report a problem with only a
particular track on a particular commercial CD failing to play in
mplayer or vlc (current versions in unstable) but playing alright in
mplayer2.

The track can be extracted by cdparanoia and plays fine in vlc and
mplayer when saved as a .flac file, but fails in vlc and mplayer
when saved as a wav file.

Can anyone suggest a way to narrow down the problem so that a proper
bug report can be submitted?


  * Can mplayer/vlc play the track directly from the CD? In VLC, do
Media  Open Disc  Audio CD  Audio Track : X  Play

  * Can play/aplay/paplay play the WAV file?

  * Can another ripper (perhaps on another OS) rip the track and provide
a usable WAV file?



The track fails to play when directly read off CD with vlc, but a .wav 
file extracted using cdparanoia plays fine with aplay.


As noted before the .wav file fails to play in vlc.

Arthur.


--
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/nv817a-q5l@ppp14-2-48-242.lns21.adl2.internode.on.net



Re: vlc, mplayer unable to play one particular CDDA / wav file

2013-05-23 Thread Arthur Marsh

Chris Bannister wrote, on 22/05/13 22:24:

On Wed, May 22, 2013 at 06:25:19PM +0930, Arthur Marsh wrote:

Hi, I'm a bit stuck as to how to report a problem with only a
particular track on a particular commercial CD failing to play in
mplayer or vlc (current versions in unstable) but playing alright in
mplayer2.

The track can be extracted by cdparanoia and plays fine in vlc and
mplayer when saved as a .flac file, but fails in vlc and mplayer
when saved as a wav file.


Could you explain what you mean when you say saved as a .flac file.
What is the command?


Can anyone suggest a way to narrow down the problem so that a proper
bug report can be submitted?


You could show commands and output.
If it is only one track, it seems very strange that it plays in one
player but not another player.

First though, don't bother filing a bug report
if you have any dmo packages involved. :(



By saved as a .flac file I mean ripping the track with CD paranoia

I'll file a report against vlc.

Arthur.


--
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/23917a-q5l@ppp14-2-48-242.lns21.adl2.internode.on.net



vlc, mplayer unable to play one particular CDDA / wav file

2013-05-22 Thread Arthur Marsh
Hi, I'm a bit stuck as to how to report a problem with only a particular 
track on a particular commercial CD failing to play in mplayer or vlc 
(current versions in unstable) but playing alright in mplayer2.


The track can be extracted by cdparanoia and plays fine in vlc and 
mplayer when saved as a .flac file, but fails in vlc and mplayer when 
saved as a wav file.


Can anyone suggest a way to narrow down the problem so that a proper bug 
report can be submitted?


Arthur.


--
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/oodu6a-24j@ppp14-2-48-242.lns21.adl2.internode.on.net



Re: easiest workaround for oom_adj to oom_score_adj transition (new kernels and kdeinit from KDE 3.5)

2012-10-13 Thread Arthur Marsh

Arthur Marsh wrote, on 13/10/12 15:54:

Hi, I've stuck with KDE 3.5.10 as it does what I want, but the new
kernels have removed support for /proc//oom_adj and insist on using
/proc//oom_score_adj.

The only part of KDE 3.5.X that uses /proc//oom_adj is kdeinit, but
I have had no success so far in rebuilding it from source.

I don't want to go to a wholesale migration to KDE 4.X or Trinity
Desktop, I just want to patch kdeinit or obtain a working KDE 3.5.10
kdeinit that uses the new /proc//oom_score_adj name.

Has anyone rebuilt kdelibs 3.5.10 this way for Debian or is is possible
to directly patch the kdeinit binary?

Regards,

Arthur.




After some tinkering and using archive.debian.org I was able to rebuild 
kdelibs 3.5.10 for AMD64 with it set to use oom_score_adj.


Next task is to do the same for i386.

Arthur.


--
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/50vnk9-0fb@ppp14-2-48-242.lns21.adl2.internode.on.net



Re: easiest workaround for oom_adj to oom_score_adj transition (new kernels and kdeinit from KDE 3.5)

2012-10-13 Thread Arthur Marsh

Arthur Marsh wrote, on 13/10/12 21:43:


After some tinkering and using archive.debian.org I was able to rebuild
kdelibs 3.5.10 for AMD64 with it set to use oom_score_adj.

Next task is to do the same for i386.

Arthur.




Building kdelibs 3.5.10 from source for i386 with the oom_score_adj fix 
turned out to be easier... base install from Debian net install, then 
add archive.debian.org lenny to /etc/apt/sources.list, install kdm, 
devscripts, build-essential, kdelibs source and build-dep for kdelibs 
and it built in about 20 minutes.


Arthur.


--
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/cccok9-4b5@ppp14-2-48-242.lns21.adl2.internode.on.net



easiest workaround for oom_adj to oom_score_adj transition (new kernels and kdeinit from KDE 3.5)

2012-10-12 Thread Arthur Marsh
Hi, I've stuck with KDE 3.5.10 as it does what I want, but the new 
kernels have removed support for /proc//oom_adj and insist on using 
/proc//oom_score_adj.


The only part of KDE 3.5.X that uses /proc//oom_adj is kdeinit, but 
I have had no success so far in rebuilding it from source.


I don't want to go to a wholesale migration to KDE 4.X or Trinity 
Desktop, I just want to patch kdeinit or obtain a working KDE 3.5.10 
kdeinit that uses the new /proc//oom_score_adj name.


Has anyone rebuilt kdelibs 3.5.10 this way for Debian or is is possible 
to directly patch the kdeinit binary?


Regards,

Arthur.


--
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/ugank9-u4v@ppp14-2-48-242.lns21.adl2.internode.on.net



Re: difficult to isolate problem - browser access to router has problems on on machine but not other

2012-04-18 Thread Arthur Marsh

Keith wrote, on 18/04/12 05:26:

On 17/04/12 14:53, Arthur Marsh wrote:



Thanks for your suggestions, but I've tried several browsers on the
AMD64 machine and experience the same fault, so I'm tending towards an
AMD64-specific bug that happens with the realtek 8169 chipset.

Arthur.



I haven't been following this thread, so may have missed it but have you
got the firmware drivers on your 64bit system, as you say it works on
your 32bit system?




Yes, firmware-realtek from non-free is installed on both machines.



--
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/964369-i66@ppp14-2-48-242.lns21.adl2.internode.on.net



Re: difficult to isolate problem - browser access to router has problems on on machine but not other

2012-04-17 Thread Arthur Marsh

Indulekha wrote, on 17/04/12 00:44:

Arthur Marsharthur.ma...@internode.on.net
  wrote:


Yes, gtklauncher from libwebkit on each machine.



Probably worth a try with elinks (or opera or iceweasel or
some other proper browser), as libwebkit purports to be
made to be embedded in other applications, such as mail
readers, or web browsers. It may not your best bet
in this particular instance...



I tried chromium and iceweasel and a few other browsers and still had 
the same problem on the AMD64 machine.


I also bought a replacement realtek 8169 NIC and tried that, with the 
same problem on the AMD64 machine but no problem on the Pentium4 machine 
running the i386 version of Debian.


I'd like to try a different chipset network card in the AMD64 machine next.

Arthur.


--
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/ur8069-2rm@ppp14-2-48-242.lns21.adl2.internode.on.net



Re: difficult to isolate problem - browser access to router has problems on on machine but not other

2012-04-17 Thread Arthur Marsh

Camaleón wrote, on 17/04/12 00:25:

On Mon, 16 Apr 2012 07:34:55 +0930, Arthur Marsh wrote:


Camaleón wrote, on 15/04/12 23:43:


(...)


Are you accessing to the router web interface using the same browser
from both machines? What's the browser that gets stuck after the login
screen?


Yes, gtklauncher from libwebkit on each machine.


Mmm, I don't know the capabilities of gtklauncher but if it works on
one computer it should also work in the other.

Are there any differences between both computer environments (e.g., same
package version of libwebkit?). Also, 32 and 64 bits package versions
can make a difference so to discard any bug or incompatibility problem
with gtklauncher I would try with a different browser.


As mentioned in another sub-thread I bought a realtek 8169 based network 
card (same chipset as the built-in ethernet on the AMD64 motherboard). 
This worked in the Pentium4 machine running the i386 version of Debian 
at accessing the router's web interface, but failed on the AMD64 machine 
running the AMD64 version of Debian.


I'd like to try a network card with a different chipset in the AMD64 
machine. (Also one could put the hard disk from the Pentium4 machine in 
the AMD64 machine to run the i386 version of Debian in the AMD64 machine).





I've saved wireshark traces from both machines.


As it gets stuck after login, more than a connectivity issue I would go
for a management issue, I mean, the browser cannot handle the client
request and this can be caused by many sources (bad web interface
programming, cookies, javascript error...).


Well, you can check if the router provides a telnet/ssh access
alternative and manage it from there. I find CLI modes of these devices
are most stable and reliable than their web interface.


It does have a telnet interface, but that interface doesn't offer any
management capabilities.


In my experience, it uses to be the opposite: while CLI provides all of
the settings that can be tweaked, the web GUI only gives the user the
possibility to configure the basics and hides the rest :-)

Greetings,



Thanks for your suggestions, but I've tried several browsers on the 
AMD64 machine and experience the same fault, so I'm tending towards an 
AMD64-specific bug that happens with the realtek 8169 chipset.


Arthur.


--
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/b79069-rq9@ppp14-2-48-242.lns21.adl2.internode.on.net



Re: difficult to isolate problem - browser access to router has problems on on machine but not other

2012-04-17 Thread Arthur Marsh

Camaleón wrote, on 18/04/12 00:02:

On Tue, 17 Apr 2012 23:23:14 +0930, Arthur Marsh wrote:


Camaleón wrote, on 17/04/12 00:25:


(...)


Are there any differences between both computer environments (e.g.,
same package version of libwebkit?). Also, 32 and 64 bits package
versions can make a difference so to discard any bug or incompatibility
problem with gtklauncher I would try with a different browser.


As mentioned in another sub-thread I bought a realtek 8169 based network
card (same chipset as the built-in ethernet on the AMD64 motherboard).
This worked in the Pentium4 machine running the i386 version of Debian
at accessing the router's web interface, but failed on the AMD64 machine
running the AMD64 version of Debian.

I'd like to try a network card with a different chipset in the AMD64
machine. (Also one could put the hard disk from the Pentium4 machine in
the AMD64 machine to run the i386 version of Debian in the AMD64
machine).


(...)

But you already discarded the network card because it worked from a
LiveCD (SystemRescueCD), right? Which makes me think this has to be some
sort of software issue :-?

Greetings,



Yes, but it could be software specific to the chipset on the network 
card that has been upgraded since the version that appeared on sysrescuecd.


Arthur.


--
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/8cc069-4gg@ppp14-2-48-242.lns21.adl2.internode.on.net



Re: difficult to isolate problem - browser access to router has problems on on machine but not other

2012-04-15 Thread Arthur Marsh

Camaleón wrote, on 15/04/12 23:43:

On Sun, 15 Apr 2012 13:30:14 +0930, Arthur Marsh wrote:


Hi, I've tried to run through all I can think of and am getting a bit
stuck.

I have two machines running Debian (one a dual-core Pentium4 with i386,
the other a quad-core AMD64-X2 with amd64), both with built-in ethernet
cards.

The Pentium4 machine can access the browser interface of the adsl router
I use with no problems.

The AMD64 machine has recently taken to stalling after entering the
username and password for the adsl router's browser interface, and I've
tried downgrading recent package upgrades, and different kernels and
browsers without success.


Are you accessing to the router web interface using the same browser from
both machines? What's the browser that gets stuck after the login screen?


Yes, gtklauncher from libwebkit on each machine.

I've saved wireshark traces from both machines.



Well, you can check if the router provides a telnet/ssh access
alternative and manage it from there. I find CLI modes of these devices
are most stable and reliable than their web interface.


It does have a telnet interface, but that interface doesn't offer any 
management capabilities.


Arthur.


--
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/79tr59-lih@ppp14-2-48-242.lns21.adl2.internode.on.net



Re: difficult to isolate problem - browser access to router has problems on on machine but not other

2012-04-15 Thread Arthur Marsh

Stan Hoeppner wrote, on 16/04/12 05:27:

On 4/14/2012 11:00 PM, Arthur Marsh wrote:

...

The AMD64 machine has recently taken to stalling after entering the
username and password for the adsl router's browser interface, and I've
tried downgrading recent package upgrades, and different kernels and
browsers without success.

...

Read the docs and everything you find online for that make/model of ADSL
router.  What you're looking for specifically is whether it is designed
to use an admin PC.  Some of these consumer routers force you to enter
an IP address of only one machine that can log into the admin interface.
  Others simply store a cookie on the first machine you log in with then
deny access from any machine without that cookie.  There are probably
other variations on this theme as well.

Given what you describe, I'd be 99% sure something like this is what
you're up against.  Clear the cookies cache on both machines, then try
the problem machine first.  In addition to reading all docs you can find.



Interesting suggestion, but given that the AMD64 machine can still 
access the router's web interface without problem when booted from 
sysrescuecd, I'm not sure that this is the case.


Thanks for the suggestion!

Arthur.


--
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/gjtr59-n2i@ppp14-2-48-242.lns21.adl2.internode.on.net



SOLVED Re: writing Hiragana/Katakana/Kanji with a US keyboard

2012-03-07 Thread Arthur Marsh

Arthur Marsh wrote, on 07/03/12 14:56:

Kelly Clowers wrote, on 07/03/12 13:03:

2012/3/6 Kazuo Ishiifreepar...@gmail.com:

Now I use Japanese input method using US keyboard on Debian Wheezy.

Anthy and Mozc is good. And I use ibus.

Please, input

sudo apt-get install ibus-anthy (on Squeeze or Wheezy)

or

sudo apt-get install ibus-mozc (on Wheezy)

Best,

--
Kazuo Ishii, Ph.D., Professor of Genome Science,


Thankyou to Camaleón, Lisi, Kelly Clowers, and sensei Ishii-san!

I'll stick with the US keyboard for now and will try out the suggestions.

Arthur.




ibus-mozc is working very well. ありがとう ございます!

Arthur.


--
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/lrbk29-m3l@ppp121-45-136-118.lns11.adl6.internode.on.net



writing Hiragana/Katakana/Kanji with a US keyboard

2012-03-06 Thread Arthur Marsh
Hi, what is the best way under Debian to write Japanese text? Is a 
Japanese keyboard a major help or can a US keyboard work alright.


What needs to be installed and configured to compose kana and kanji 
characters?


Arthur.


--
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/qmih29-5ms@ppp121-45-136-118.lns11.adl6.internode.on.net



Re: writing Hiragana/Katakana/Kanji with a US keyboard

2012-03-06 Thread Arthur Marsh

Kelly Clowers wrote, on 07/03/12 13:03:

2012/3/6 Kazuo Ishiifreepar...@gmail.com:

Now I use Japanese input method using US keyboard on Debian Wheezy.

Anthy and Mozc is good. And I use ibus.

Please, input

sudo apt-get install ibus-anthy (on Squeeze or Wheezy)

or

sudo apt-get install ibus-mozc (on Wheezy)

Best,

--
Kazuo Ishii, Ph.D., Professor of Genome Science,


Thankyou to Camaleón, Lisi, Kelly Clowers, and sensei Ishii-san!

I'll stick with the US keyboard for now and will try out the suggestions.

Arthur.


--
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/ck4j29-g0r@ppp121-45-136-118.lns11.adl6.internode.on.net



Re: Iniciar programa em modo via ssh em modo gráfico.

2011-12-22 Thread PEdro Arthur Duarte (aka JEdi)

On 12/22/2011 06:14 PM, Cleber Ianes wrote:

Alguém tem idéia de como faço isso???


Você precisa instalar o pacote ssh-askpass.

--
Pedro Arthur Duarte (aka JEdi)


--
To UNSUBSCRIBE, email to debian-user-portuguese-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4ef391fd.2060...@gmail.com



Re: Cadë o xorg.conf

2011-12-22 Thread PEdro Arthur Duarte (aka JEdi)

On 12/22/2011 03:10 PM, Fabiano Pires wrote:

Só pra completar, as opções -configure e -probe foram removidas do
Xorg ...
Realmente precisamos pesquisar mais antes de escrever, pq isso (também)
já é batido ...


Tem certeza? Utilizo a versão 1.11.1.902 (pacote padrão do testing) e 
elas continuam aqui, funcionando.


--
Pedro Arthur Duarte (aka JEdi)


--
To UNSUBSCRIBE, email to debian-user-portuguese-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4ef3a123.3010...@gmail.com



Re: Firewall - Ajuda

2011-11-23 Thread PEdro Arthur Duarte (aka JEdi)

On 11/23/2011 07:22 PM, pedro almeida wrote:

Pessoal,

Estou testando um firewall iptables.

No momento estou testando a regra que aceita somente conexoes
estabelecidas, novas .

E tambem estou testando a regra final onde tudo que nao e aceito e
bloqueado

Estou procurando a melhor forma de testar essas regras, alguem poderia
me ajudar, mandar algumas dicas...?


Cara, para análise off-line, uns colegas e eu costumávamos utilizar o 
método que apresentei em [1]. Funcionava bem em nossa equipe (5 pessoas).


Para análises em produção ou ambiente de testes, nós utilizávamos o 
HPing3, ScaPy, Nmap, Netcat, dentre outros, além de scripts 
personalizados para a situação.


[1] 
http://under-linux.org/blogs/pedroarthurjedi/mantendo-e-depurando-regras-do-netfilter-iptables-com-auxilio-de-381/


--
Pedro Arthur Duarte (aka JEdi)


--
To UNSUBSCRIBE, email to debian-user-portuguese-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4ecd6b9f.4010...@gmail.com



Re: [OFF-TOPIC] Emulador de terminal e programação Shell Script no Nokia E71

2011-10-13 Thread PEdro Arthur Duarte (aka JEdi)

On 10/13/2011 10:35 AM, Leandro Hamid wrote:

Bom dia a todos.

Eu sei qu este assunto não esta dentro do escopo das listas, eu tenho um
telefone celular Nokia E71 e gostaria de saber se há possibilidades de
instalar um emulador de terminal e um compilador Shell Script no mesmo
aparelho, se esta possibilidade existir a partir de onde posso fazer o
download dos aplicativos e como faço para instalar os mesmos?


Até onde eu sei, não existe um emulador terminal para o E71. Mas tem 
Python e funciona bem. Procure por PythonS60.


--
Pedro Arthur Duarte (aka JEdi)


--
To UNSUBSCRIBE, email to debian-user-portuguese-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4e96efa6.6010...@gmail.com



Re: Covardia da Micro$oft

2011-09-23 Thread PEdro Arthur Duarte (aka JEdi)

On 09/23/2011 04:17 PM, Jacques Teixeira wrote:

complicado de instalar linux no mac é, mas dá, nos primordios que
trabalhei com informatica numa universidade, tinha uns macs antigos com
linux, para o laboratorio de linux,,,


Em um Mac OS X que utilizei havia um utilitário chamado BootCamp. 
Através dele consegui instalar o Debian em dualboot com o Mac OS X sem 
maiores dificuldades.


Quanto ao UEFI, a especificação 2.3 do Secure Boot já considera as 
situações que preocupam-nos. Cabe aos implementadores (ou seja, 
fabricantes de hardware) seguirem-na a risca.


--
Pedro Arthur Duarte (aka JEdi)


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



Re: Regra Iptables

2011-08-08 Thread Pedro Arthur Duarte (aka JEdi)
Em segunda-feira 08 agosto 2011, às 12:05:56, pedro almeida escreveu:
 Pessoal,
 
 
 Estou com o seguinte problema, tenho algumas regras de bloqueio para 
todos
 da rede mais gostaria que determinados IP's fossem liberados já tentei
 inserir alguns tipos de regra e nao estou conseguindo aplicar a
 mesmaAlguem tem alguma dica ?

Como o Polegato menciounou, fica meio complicado visualizar o problema 
sem o conjunto de regras. Mas recomendo você utilizar o seguinte 
esqueleto:

Cria uma nova tabela:

 iptables -N liberados

Redireciona para a tabela liberados

 iptables -A FORWARD -j liberados

Ou, se a liberação depende do serviço

 iptables -A FORWARD -p tcp --dport 80 -j liberados

Bloqueia todos os outros

 iptables -A FORWARD -j DROP

Tem o mesmo efeito e é mais elegante caso o padrão seja bloquear tudo

 iptables -P FORWARD DROP

Agora, para liberar conexões, basta colocá-las na tabela de liberados:

 iptables -A liberados -p tcp --dport 80 -s 192.168.0.2 -j ACCEPT
 iptables -A liberados -p tcp --sport 80 -d 192.168.0.2 -j ACCEPT

Se você já restringiu por serviços, você pode fazer:

 iptables -A liberados -s 192.168.0.2 -j ACCEPT
 iptables -A liberados -d 192.168.0.2 -j ACCEPT

Recomendo você ativar o conntrack e suas devidas regras para tornar seu 
firewall mais eficiente.

-- 
Pedro Arthur P. R. Duarte (aka JEdi)
Computer Networks Research Group
Federal University of Rio Grande do Sul

(Sent from Alderan)


--
To UNSUBSCRIBE, email to debian-user-portuguese-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/201108081539.30253.pedroarthur.j...@gmail.com



Re: Free PDF viewer that can search for text across line-breaks?

2011-04-09 Thread Arthur Marsh

Brian wrote, on 09/04/11 18:33:

On Sat 09 Apr 2011 at 15:13:55 +0930, Arthur Marsh wrote:


Hi, I'm running Debian unstable but don't have GNOME or KDE 4 installed.

Can anyone suggest a Free PDF viewer that can search for text phrases
that may be broken by a line break in the original PDF?


Mupdf can do it.




Thanks, the '/' command in mupdf 'just works' tm.

Is there any Free PDF viewer in Debian that works outside of GNOME/KDE 
that can both search for text across line breaks and allows copying of 
text from the PDF document to the clip-board?


Arthur.


--
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/s1s578-0pr@ppp121-45-136-118.lns11.adl6.internode.on.net



Re: Free PDF viewer that can search for text across line-breaks?

2011-04-09 Thread Arthur Marsh

Brian wrote, on 09/04/11 23:40:

On Sat 09 Apr 2011 at 20:50:55 +0930, Arthur Marsh wrote:


Thanks, the '/' command in mupdf 'just works'tm.

Is there any Free PDF viewer in Debian that works outside of GNOME/KDE
that can both search for text across line breaks and allows copying of
text from the PDF document to the clip-board?


Mupdf.




Thanks, right again. From the manual page:

Dragging with the right mouse button selects an area and copies the 
enclosed text to the clipboard buffer.



--
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/rub678-754@ppp121-45-136-118.lns11.adl6.internode.on.net



Re: Free PDF viewer that can search for text across line-breaks?

2011-04-09 Thread Arthur Marsh

Brian wrote, on 10/04/11 01:39:

On Sun 10 Apr 2011 at 01:22:21 +0930, Arthur Marsh wrote:


Thanks, right again. From the manual page:

Dragging with the right mouse button selects an area and copies the
enclosed text to the clipboard buffer.


I generally just paste with the middle mouse button but Parcellite, with
Use Primary (Selection), is a nice clipboard utility.




I'm still running KDE 3.5.10, and if I try to select text with the right 
mouse button, I can't access klipper while mupdf is still running /-:.


Arthur.


--
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/73q678-jgg@ppp121-45-136-118.lns11.adl6.internode.on.net



Free PDF viewer that can search for text across line-breaks?

2011-04-08 Thread Arthur Marsh

Hi, I'm running Debian unstable but don't have GNOME or KDE 4 installed.

Can anyone suggest a Free PDF viewer that can search for text phrases 
that may be broken by a line break in the original PDF?


I've tried xpdf and evince-gtk and neither seem to offer that capability.

Arthur.


--
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/6a8578-5tf@ppp121-45-136-118.lns11.adl6.internode.on.net



Re: sandboxie like application for Debian? [Possible Threadjack]

2011-02-14 Thread Arthur Machlas
 YMMV, I currently only use schroot to run the 32-bit (only) ICAClient for
 work.

I tried to set up the same client and noticed it needed all kinds of
32bit libraries and was considering my options. Any link or sketched
outline about the steps you took to do this?

If you are inclined to respond, and feel it's unrelated to OP's
question, you can message me off list.

AM


-- 
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/AANLkTi=y7am5c4raszchl7vcyxu+vc3hgf1s2gnni...@mail.gmail.com



Boot without initrd when using full-disk encryption

2011-02-14 Thread Arthur Machlas
I've built kernels without an initrd a number of times, but never
before on a system with full-desk encryption. When installing Squeeze
on a laptop I used the assisted setup and created a ful-disk
encryption setup, that has a separate /boot partition, the rest of the
disk LVM and whatever encryption type is standard.

Now that I'm tweaking my kernel, I'm wondering if there are any
special extra steps to be concerned about, beyond merely building in
the modules for LVM and luks or what-not.

Google is being uncooperative, so I turn here for help instead.

Many thanks,
AM


-- 
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/AANLkTim8hH5SrW8YarUArVE+NfyLRtjjF4JB_CHF=b...@mail.gmail.com



Re: sandboxie like application for Debian? [Possible Threadjack]

2011-02-14 Thread Arthur Machlas
On Mon, Feb 14, 2011 at 5:45 PM, Boyd Stephen Smith Jr.
b...@iguanasuicide.net wrote:
 On Monday 14 February 2011 11:59:08 Arthur Machlas wrote:
  YMMV, I currently only use schroot to run the 32-bit (only) ICAClient for
  work.

 I tried to set up the same client and noticed it needed all kinds of
 32bit libraries and was considering my options. Any link or sketched
 outline about the steps you took to do this?

 Install schroot and debootstrap.  Create a new logical volume, probably need
 to be about 2G or so.  Create your favorite file system on that new volume.
 Debootstrap.  Unmount.  Drop a file with something like this:

snip

 I'd probably be willing to provide the patch to use /usr/share/ca-certificates
 instead of it's own directory, but the software is proprietary so I can't.
 Replacing /usr/lib/ICAClient/keystore/cacerts with a symlink to /usr/share/ca-
 certificates/mozilla probably works in most cases, and could be done without
 access to the source, but I couldn't distribute the .deb even if I made such a
 change.

 HTH, If that's not detailed enough, I can do a step-by-step with exact
 commands and expected output on my blog tomorrow evening and post a link.

Thanks. That's more than enough to go on. I've just to decide whether
to go this route or just add to a 32bit XP guest OS I've got running
sometimes for Rosetta stone and Excel. The excel is just there for
work, so it makes sense to put the work email icaclient in there too.
Downside is I'd have to grant the VM net access. :(

Thanks for coles notes though! It will make a decision possible now.

Best,
AM


--
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/AANLkTi=dt0lpwxxmzwl88q5u3zr3dti07g2fedmyt...@mail.gmail.com



Re: stable-updates versus volatile

2011-02-10 Thread Arthur Machlas
On Thu, Feb 10, 2011 at 4:01 AM, Andrei Popescu
andreimpope...@gmail.com wrote:
 On Mi, 09 feb 11, 20:13:06, Arthur Machlas wrote:
 SNIP
 would set them up properly. Doesn't make sense for a clean install of
 Debian 6 to put invalid repositories in your sources.list

 If this the final version of the installer adds squeeze-volatile to your
 sources.list you should report it.

Yeah, DVD 1 for AMD64 final release. I'll report it later today then.

PS. Apologies to Boyd for the accidental off list reply. I think I'll
setup this account on evolution + imap to have a bit easier control on
the reply to list type stuff.


-- 
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/AANLkTi=bo2f11_4bsdlx2mreizzchrw8yvcpkzi8p...@mail.gmail.com



Re: Debian way of compiling a kernel.

2011-02-10 Thread Arthur Machlas
Ughn.. think google just discarded my post instead of sending. Don't
want to retype; but here's the link:

http://users.wowway.com/~zlinuxman/Kernel.htm


-- 
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/AANLkTikwHint7Z5tS82Pkk=+f3p-ec6dbeg0nkgpq...@mail.gmail.com



Re: stable-updates versus volatile

2011-02-09 Thread Arthur Machlas
On Wed, Feb 9, 2011 at 3:50 AM, Boyd Stephen Smith Jr.
b...@iguanasuicide.net wrote:
 In 20110209093337.ga13...@furie.org.uk, Tom Furie wrote:
On Tue, Feb 08, 2011 at 09:20:04PM -0800, Mark wrote:
 Thank you, Rob.  This is very very helpful.  In step 2, you not only
 changed lenny to squeeze but also debian-volatile to
 squeeze-updates in the following lines?  Or did you do something else?
 Sorry for the extra question, this is not documented in Release Notes.

 deb http://volatile.debian.org/debian-volatile lenny/volatile main
 deb-src http://volatile.debian.org/debian-volatile lenny/volatile main

Yes it is. Specifically section 2.1.8. Stable-updates replaces the
functionality previously provided by volatile.

 I think the implication was that the release notes doesn't tell you how to
 edit the lines that refer to volatile.

 If your volatile line look like this:
 deb http://volatile.debian.org/debian-volatile lenny/volatile main
 change it to:
 deb http://cdn.debian.net/debian squeeze-updates main

 You can change cdn.debian.net to your favorite Debian mirror.

Thanks! I was getting error messages and hadn't gotten around to
looking into it. I didn't really read the release notes looking for
information about the sources list. I kind of assumed the installer
would set them up properly. Doesn't make sense for a clean install of
Debian 6 to put invalid repositories in your sources.list


--
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/AANLkTikonpsY=ox2pzjvhwurd0xcp_mlbmdeb1-1-...@mail.gmail.com



Re: Firware drivers?

2011-02-08 Thread Arthur Machlas
That cd with firmware isn't obviously useful, in that, I installed via
DVD 1 and when prompted to insert additional discs it was unable to
read from it. If I wanted to go around my friends and family house and
upgrade their computers, I'd have to basically integrate all firmwares
into a custom dvd using scripts above in order to ensure being able to
get everything up and running without network access?


-- 
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/AANLkTi=7avr9e9kjvfqn+ubykc_xrcxrno4qvrdgz...@mail.gmail.com



Firware drivers?

2011-02-07 Thread Arthur Barlow
Are you guys kidding??!!!  I've been using testing for years with
very little problems.  I noticed that Squeeze was just officially
released.  I also noticed that suddenly had about 200 upgradeable
packages.  So fine, I do the upgrade.  Reboot, and find I can't get on
the network.

After some hunting around, I realize the Intel e100 firmware has been
removed.  What!!!  Just because it's part of the non-free
packages??!!!   My PC is now bricked!!  I'm going to have to go to
another computer download the deb package, transfer and reload it.

Does this have some nonsense to do with the philosophy of free
software.  If so, it's absurd.


-- 
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/AANLkTinS4S++15os5d=qfkuoqojmdwzrkyzamm5ue...@mail.gmail.com



Re: Anyone else having problems installing Squeeze Stable on AMD64?

2011-02-06 Thread Arthur Machlas
No. No problems using the AMD64 DVD1.


-- 
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/AANLkTi=4xg3Df8UH=y-dbumdftggvoxp9hvr6u4cu...@mail.gmail.com



Re: Hidden Wireless WPA2-PERSONAL AES-CCMP trouble

2011-02-03 Thread Arthur Machlas
 Hi,

Hi

 I am in a hidden wireless network with this settings:

If you have control of this network, change it from hidden to visible.
First, because it provides no security benefits, and second because
the 802.11i specification amendment (which defines WPA2, discussed
later) even states that a computer can refuse to communicate with an
access point that doesn't broadcast its SSID. [1]

It's entirely possible that Windows connects and Debian/Ubuntu don't
because they implement this specification properly, while Windows
ignores it and allows you the false sense of security that comes from
connecting to a hidden network. Note, I said 'possible', not
'certainly'.

 - SSID: ABCDE5-FGHI
 - Status: Hidden
 - Autentication: Wpa2 - personal
 - Encryption: AES - CCMP
 - Password: 626C7F365F403572706F66
 - DHCP

There is no need to post the password, and if it's the correct one
then I'd suggest you change it. Your email could be enough to find
your location. And the information in signature would help a bit as
well. :)


-- 
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/aanlktinui3sj89cwtt5ehnerj-+p_qbmlxke5ddry...@mail.gmail.com



Re: Hidden Wireless WPA2-PERSONAL AES-CCMP trouble

2011-02-03 Thread Arthur Machlas
 If you have control of this network, change it from hidden to visible.
 First, because it provides no security benefits, and second because
 the 802.11i specification amendment (which defines WPA2, discussed
 later) even states that a computer can refuse to communicate with an
 access point that doesn't broadcast its SSID. [1]


Forgot the link:
http://blogs.technet.com/b/steriley/archive/2007/10/16/myth-vs-reality-wireless-ssids.aspx


-- 
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/aanlktindernu_d_trky41jgrcgnigyh0q-23tsqcx...@mail.gmail.com



Re: Re: Hidden Wireless WPA2-PERSONAL AES-CCMP trouble

2011-02-03 Thread Arthur Machlas
On Thu, Feb 3, 2011 at 11:09 AM, Marcelo Laia marcelol...@gmail.com wrote:
 Unfortunately, I don't have access to the access point to change from
 hidden to visible.

 So, or I connect to, or I don't use the net on my debian box!

 Any clue?

No. But perhaps a troubleshooting option. I'd try two things:

1) Install wicd and see if it can connect, sometimes it can do things
that Network Manager chokes on
2) use wpa_supplicant to manually connect
/usr/share/doc/wpa_supplicant has examples for most common types of
wpa2 connections.


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



Re: being up to date (Was: insserv + apache2 + bind9 = pain)

2011-01-05 Thread Arthur Machlas
On Wed, Jan 5, 2011 at 4:05 PM, Mike Bird mgb-deb...@yosemite.net wrote:
 On Wed January 5 2011 13:37:59 Mihamina Rakotomandimby wrote:
  mgb-deb...@yosemite.net :
  The issue is that insserv throws away
  years of work by Debian Developers,

 That is not always bad.
 Computers have improved during the last years, why not their OSes?

 compiz, upstart, lxc,... are modern tools for modern use :-)

 Change can be good or bad.

 Hardware and software improvements are generally beneficial.

 Throwing away years of DD work and thereby causing innumerable
 previously rock-solid Debian servers to fail to boot is not.

You keep asserting that 'years of DD work have been thrown away'. You
do realise the ordering is still there, right? It's now in the LSB
headers rather than the scripts numbering scheme.


-- 
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/aanlkti=qovrujlaffnrkvwwt6ywpbt8ppmgr0vtdr...@mail.gmail.com



Re: firewall package for laptop wi-fi client

2011-01-04 Thread Arthur Machlas
On Tue, Jan 4, 2011 at 6:23 AM, Eduardo M KALINOWSKI
edua...@kalinowski.com.br wrote:
 On Ter, 04 Jan 2011, Brian wrote:

 Because anyone nearby with a laptop can sniff the traffic, unlike with a
 regular cabled internet connection or a password protected wireless
 network (in which traffic in encrypted)?

 For internet banking/shopping over https (which would be the norm) it
 wouldn't give them anything of value, would it?

 Only the URLs of what you visit. But many sites still don't use https even
 for login. (Shame on them...) Or use https for login and later go back to
 http, using cookies in a way that it is easy for others to hijack the
 session, as the article mentions.

I recall reading, maybe on Debian planet, a post about a guy who was
running wireshark while on an open cafe network, and found that even
though he was using https Bank of America was transmitting the
password in clear text. Or something. I can't find it again, does that
ring any bells for anyone?

The point, if I remember, was that one your personal protected network
you are protecting yourself and being protected. So both have to fail
for you to be compromised.


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



Re: insserv + apache2 + bind9 = pain

2010-12-31 Thread Arthur Machlas
On Fri, Dec 31, 2010 at 12:35 PM, Bob Proulx b...@proulx.com wrote:
 Mike Bird wrote:
 But then they abuse the Debian packaging system by requiring
 instead of recommending unnecessary packages so that people are
 forced to use their silly hacks.

 The new APT default is that Recommends are the same as Requires and so
 a lot of unnecessary packages are now installed.  Those should now be
 pushed into Suggests.

 Bob

This post is pretty much entirely OT, but let's not start the New Year
with innaccurate information. Recommends are NOT the same as Requires.
What's happened - as of Lenny I thought, but perhaps Squeeze - is that
the option to install recommends automatically is now turned on by
default instead of off by default. You are, of course, free to change
it back to off before building up your minimal/customized install.

As for all the talk of losing years of wisdom and bug squashing and
what-not, I'm not really sure that's the case, but a debate about the
worthiness of insserv as a successor to all the Snn Knn links is
probably better suited to another thread, perhaps one where more dev's
hang out than here on user. In any event, if you hope to convince
people of that, I think calling DD's Script kiddies, especially one
who just resolved the bug you noted and I reported within about 12
hrs, probably won't leave them too open to taking your position
seriously.


--
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/aanlktik_gd1fc2npuv2vkl153vbozmixuobrucs=v...@mail.gmail.com



Re: insserv + apache2 + bind9 = pain

2010-12-30 Thread Arthur Machlas
On Thu, Dec 30, 2010 at 5:42 AM, Camaleón noela...@gmail.com wrote:
 It's not my fault that you don't know how to debug a non-booting service
 nor that you don't know how insserv and sys-rc works. It's neither my
 fault that you don't want to help your distribution to correct the lacks
 you are finding in documentation. And of course is not my fault that you
 can't even understand what I wrote.

 Grow up!

Dear Cam,

You're delusional about OP and acting like a massive douchebag. Oh,
and you're a last-word-troll too. So I highly doubt that will be your
last message... on the matter.

Kind regards,
AM


--
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/aanlkti=gae+nyoau5j1bkwerwuf+aaetn1g39b3am...@mail.gmail.com



Re: insserv + apache2 + bind9 = pain

2010-12-30 Thread Arthur Machlas
On Thu, Dec 30, 2010 at 6:56 PM, Mike Bird mgb-deb...@yosemite.net wrote:
 On Thu December 30 2010 16:24:19 Tom H wrote:
 As an aside, you refer to the pre-insserv setup as Snn/Knn startup
 mechanism but insserv doesn't deviate from that style. insserv
 creates the Snn/Knn symlinks dynamically in an order determined by a
 set of dependencies. pre-insserv the symlinks' order was set
 statically by the maintainers.

 That's a good point Tom.  insserv is not even properly parallel,
 just some kind of ha...@$$ed semi-parallel - starting groups of
 services in parallel but the groups are run serially.  I'd like
 to call the old mechanism sysv-rc but the insserv developer has
 abused the Debian package upgrade process to turn sysv-rc into
 insserv hell.

 We're trying to figure out the cleanest way to stop insserv from
 throwing away all the Snn/Knn information that Debian Developers
 have created over the years.  Then we'll attempt to reset the
 Snn/Knn to those sane values.

 My first thought was a loop over update-rc.d $script defaults but
 that no longer seems to work.  Still looking for a clean remedy.
 Hopefully there's a nice on-off switch in there somewhere.  I'm
 mostly working on some other projects now but I hope to be able to
 work on this full-time in a few days.

 --Mike Bird

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=608437


--
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/aanlktin6sf=utsbbx1ytjrccdgstp79-p2gex=o55...@mail.gmail.com



Re: insserv + apache2 + bind9 = pain

2010-12-30 Thread Arthur Machlas
On Fri, Dec 31, 2010 at 12:27 AM, Arthur Machlas
arthur.mach...@gmail.com wrote:

 We're trying to figure out the cleanest way to stop insserv from
 throwing away all the Snn/Knn information that Debian Developers
 have created over the years.  Then we'll attempt to reset the
 Snn/Knn to those sane values.

Have you considered file-rc?


--
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/aanlktikl2qqexfx+oihj5nzidqcekj2kp8arqvp9v...@mail.gmail.com



Re: insserv + apache2 + bind9 = pain

2010-12-29 Thread Arthur Machlas
On Wed, Dec 29, 2010 at 6:53 AM, Osamu Aoki os...@debian.org wrote:
 Hi,

 I am not developer of insserve ...

 On Wed, Dec 29, 2010 at 01:37:48AM -0800, Mike Bird wrote:
 On Wed December 29 2010 00:13:04 Camaleón wrote:
 ...
 Thanks for looking into this.  I still fail to see why saving half a
 second a year on server booting is worth inflecting days of drudgery
 on tens of thousands of sysadmins.

 So yet again, why is Debian forcing this horrible change?  The old
 sysv-rc is not hard to support alongside file-rc.  Why abuse the power
 of Debian dependencies to push this bad idea on sysadmins who don't
 want it?  Why can't we keep the excellent debugged working reliable
 sysv-rc from Lenny?  If some people want to use insserv let them, but
 don't force people to go through this nonsense!

 insserv simply throws away all the hard work by Debian Developers over
 many many years that went into tuning the default rc2.d/Snn priorities.

 As I recall, even with old boot system, boot order default was always
 hotly disputed topc among package maintainer.  This ordering default
 choice is independent issue from moving to dependancy based boot
 suystem.  Moving such default took good amount of package script.
 I think dependancy based boot system made this a bit more
 complicated for some case but made easy for some other case.

 Quite franky, complaining here does not make situation better.  If you
 find some issue to the package such as Documentation etc., please file
 bug with constructive proposal.

 Thank you,


I think he has found some issues, and listed them quite clearly a few
posts up. I also don't think he wants to get involved in bug squashing
the insserv system, he seems to want to go back to Snn Knn which seems
like an entirely reasonable request. I'll be interested to see if its
possible.
AM


--
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/aanlktinoxyfnkszhwzrej_oe97q-c0ppn_icakb4=...@mail.gmail.com



Re: insserv + apache2 + bind9 = pain

2010-12-27 Thread Arthur Machlas
On Mon, Dec 27, 2010 at 4:45 PM, Mike Bird mgb-deb...@yosemite.net wrote:
 If the Apache configuration needs DNS to start, Apache silently
 and without logging anything fails to start in Squeeze.  This
 used to work correctly under the old startup mechanism in Lenny.

Create a new group in /etc/insserv.conf, and name the scripts that are
required to start. Then list that group as a required start.


--
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/aanlkti=_6xe9bfwnx47du3r6qqo2mlf_qncbbcf0r...@mail.gmail.com



Re: Network-manager applet with multiple users

2010-12-23 Thread Arthur Machlas
On Thu, Dec 23, 2010 at 2:46 AM, Klistvud quotati...@aliceadsl.fr wrote:
 Dne, 22. 12. 2010 20:55:14 je Arthur Machlas napisal(a):

 It seems that whomever logs in first on the gnome-desktop, user1,
 user2 or user3 has exclusive control of network manager, even though
 I'd like all three to be able to control it.

 This must be on Squeeze, right? Because on my Lenny systems, all users have
 control.

Well, it's actually SID, and when it was squeeze I didn't have
multiple users configured, so I can't be certain about that. I don't
think it's a bug, because I'm fairly certain there's been some nm-dev
discussions about how to implement this. Which is why I am surprised
to hear that this is how it currently works for you on Lenny.

So, just to be clear, if you log in to your gnome desktop as user 1,
then switch users, not logging out the first one, user2 has the
nm-applet in their panel and can change networks, and when you switch
back to user 1, they still have the applet and are now connected to
the new network?


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



Re: Nautilus and/or ext4 killed three folders!

2010-12-23 Thread Arthur Machlas
On Thu, Dec 23, 2010 at 10:12 AM, Arthur Machlas
arthur.mach...@gmail.com wrote:
 On Wed, Dec 22, 2010 at 4:20 PM, Borden Rhodes j...@bordenrhodes.com wrote:
 I'm not quite sure how to debug or report this one which is why I'm
 mentioning it here.  I was moving to a new hard drive and copying
 /home/ files from my old hard drive to my new one.  I opened Nautilus
 and was dragging and dropping folders to my new hard drive when I
 selected three such folders and mid-dragging, they disappeared!  After
 a few searches, there is definitely no trace of them whatsoever either
 on my old drive or my new drive.

 What was the name of one of the folders that dissapeared? What
 searches did you execute?


Bah, sorry for the direct reply Borden.


--
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/aanlkti=5gu6et85ynek3xdaspesoztyyxb6+jgpuh...@mail.gmail.com



Network-manager applet with multiple users

2010-12-22 Thread Arthur Machlas
It seems that whomever logs in first on the gnome-desktop, user1,
user2 or user3 has exclusive control of network manager, even though
I'd like all three to be able to control it.

Is there a workaround for this?


-- 
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/aanlktinb-440z+y8exa-yjzcklny8z=dpzlh6iylk...@mail.gmail.com



Re: Network-manager applet with multiple users

2010-12-22 Thread Arthur Machlas
On Wed, Dec 22, 2010 at 1:55 PM, Arthur Machlas
arthur.mach...@gmail.com wrote:
 It seems that whomever logs in first on the gnome-desktop, user1,
 user2 or user3 has exclusive control of network manager, even though
 I'd like all three to be able to control it.

 Is there a workaround for this?

Just to respond to my own thread about this, I'm not married to using
network-manager, though I like the application. It occurs to me that
wpa_supplicant in roaming mode with wpa_gui as the interface might be
an option as workaround, and so might wicd, though I've no
experience with wicd myself so that's just a guess. Opions, thoughts,
links etal all most welcome.

best,
AM


-- 
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/aanlktimvwyhxjehoxv+vvzeudmaeqfb1xpts-68li...@mail.gmail.com



Re: Re: desbloquear chaveiro do gnome

2010-12-19 Thread Arthur



-- 
To UNSUBSCRIBE, email to debian-user-portuguese-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1290591677.2010.0.ca...@arthur-desktop



Re: How to disable services at startup... and keep them so.

2010-12-08 Thread Arthur Machlas
On Wed, Dec 8, 2010 at 9:21 AM, Camaleón noela...@gmail.com wrote:
 On Tue, 07 Dec 2010 17:09:14 -0600, Preston Boyington wrote:

 Camaleón wrote:

 I agree this is the most common place to set the desired variable
 values for the daemon and even the easiest way to turn on/off a service
 at boot time but the thing is that there is not such file for Network
 Manager under /etc/default/*.


 (apologies if this is not what you are asking.  late to the thread)

 if you have a GUI environment then couldn't you use Boot-Up Manager?

 aptitude install bum

 see:
 http://www.marzocca.net/linux/bumdocs.html

 Well, I was trying to disable -not managing nor manipulating, just turn
 off- a service using the only (?) tool I've got installed (update-rc.d
 is installed by default, but neither sysv-rc-conf nor bum are).

nano
insserv

I believe editing LSB headers is the preferred path, but all that you
suffer is some annoying error messages, so live and let live.


--
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/aanlkti=r9oukjccrcq1ud8x3vpjq-dqdyfptonugx...@mail.gmail.com



Re: How to disable services at startup... and keep them so.

2010-12-08 Thread Arthur Machlas
First, apologies to Shawn. I didn't pay attention when responding.
Time to have dinner I think.

On Wed, Dec 8, 2010 at 3:56 PM, shawn wilson ag4ve...@gmail.com wrote:


 On Wed, Dec 8, 2010 at 4:43 PM, Camaleón noela...@gmail.com wrote:

 On Wed, 08 Dec 2010 13:35:25 -0700, Bob Proulx wrote:

  shawn wilson wrote:
  It's generally advised that you use update-rc.d to do this. However,
  IIRC this is the exact same thing that the command does (nothing more)
  so you should be fine.
 
  I see a lot of advice to use update-rc.d to manipulate the symlinks.
  That is fine.  But it isn't required.  It is requored for packages to
  use update-rc.d by policy.  But it isn't required for people.  You
  wouldn't want packages all to do their own thing in the postinst scripts
  because then it would then all be done inconsistently and many would be
  buggy.  Therefore packages are required to use the update-rc.d tool as a
  consistent interface to update symlinks.  That way they don't introduce
  random bugs and changes to the scheme can be implemented all in one
  place.  But that is packages and not people.

 (...)

 I am open to any/better alternative.

 In fact, what this thread has shown us is that there is not a standard
 method (let's call it a common way) for doing a simple task like is
 disabling a script from running and keep its current status.

 I was looking for a Debian way for handling this, not just with Network
 Manager but with all the scripts.

 True is that man update-rc.d suggests using tools like sysv-rc-conf
 but this tool is no even installed by default, so, how does one can give
 credit to such tools if they are not part of the base system? :-)

 Other people in this thread has suggested the manipulation of /etc/
 init.d/* scripts headers and then re-injecting them with insserv,
 which is of course another option... so, what is the recommended/
 preferred way of doing this? update-rc.d, sysv-rc-conf, insserv,
 (other)...?


 the 'debian way' from what i've always understood is to use update-rc.d to
 do this. what Bob said was a pretty interesting way of doing things
 (changing the script and commenting so that you know why you did something).
 i've personally just gone and created and killed the symlinks and noted in
 the readme on each directory of what i did. i also keep a weekly backup of
 etc (a cron job on another server that does something like tar -cR /etc |
 gzip -c | scp - bac...@host:/backups) and look at backups or changes in my
 readme's if i need to.

 what we are saying is that 'the debian way' and the manual way are
 essentially the same thing. so i suppose just use what you are comfortable
 with.



The move to insserv  lsb headers to deal with concurrent boot issues
has thrown a bit of dust into the eyes of update-rc.d. I think if the
user is working on a concurrent boot system, as squeeze is, they ought
to consider handling scripts using insserv, /etc/insserv.conf and the
lsb headers for each script in /etc/init.d (AFAIK insserv uses
update-rc.d to ensure symlinks in various runlevels match lsb
headers.)

It will all be moot in a year or so anyway, once systemd gets tested
out on Fedora. Probably not in time for wheezy, but perhaps wheezy+1.


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



Re: Feedback needed: How to disable services at startup... and keep them so.

2010-12-07 Thread Arthur Machlas
On Tue, Dec 7, 2010 at 10:21 AM, Camaleón noela...@gmail.com wrote:
 Hello,

Hi

 A month ago, I disabled Network Manager service in my Squeeze system so
 it doesn't run on start up. I wanted to keep NM installed (just in case)
 but preferred to use the old ifup network setup method.

 So I issued update-rc.d network-manager remove and also disabled gnome
 NM applet from being started. So far so good, no more NM running at
 booting.

Seems like a good way to go.

 A couple of days ago I lost network connectivity in that system (no
 Internet/local access because eth0 was not getting an IP from dhcp
 server, as used to). I had to restart the whole system in order to
 restore network connectivity (neither restarting networking service nor
 ifup/down eth0 had any positive effect).

 After a bit of digging, I realized that Network Manager service was
 running (!) again. I did not enable, so something happened which caused
 the service to be reengaged again.

Cool. Err... I mean, interesting.

 Looking into /var/log/apt/term.log I saw the following (sorry, the log
 is recorded in Spanish, hope is still clear):

 snip
 Basically, the log says on December 1st there was an update for NM and a
 new package got installed (0.8.1-4). After that, even though NM service
 was expressly disabled, the update seems to re-enabled it again.

I don't read spanish, but my french is ok, and tha'ts what I would've
guessed had happened

 Before I fill a bug report (I think a service that has been manually
 disabled should keep its state regardless any further update it can be
 applied afterwards), I would like to get some feedback... what do you
 think on this matter? I missed something -there is a better way to handle
 this or should I write a report?

I'd definitely hold off on the bug report. I think you should look at
the lsb headers of the network-manager script in /etc/init.d and
change them to stop on all levels, start on none, then run insserv
without any arguments to again disable network-manager. If this isn't
a future proof method of disabling it then there is definitley a
problem in that packages update maintenance scripts.


--
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/aanlktikfzbnrwnppym2gm_k7j-mket_hhs5i6+tcm...@mail.gmail.com



Re: Feedback needed: How to disable services at startup... and keep them so.

2010-12-07 Thread Arthur Machlas
On Tue, Dec 7, 2010 at 1:35 PM, Camaleón noela...@gmail.com wrote:
 On Tue, 07 Dec 2010 10:51:11 -0600, Arthur Machlas wrote:

 On Tue, Dec 7, 2010 at 10:21 AM, Camaleón wrote:

 (...)

 Before I fill a bug report (I think a service that has been manually
 disabled should keep its state regardless any further update it can be
 applied afterwards), I would like to get some feedback... what do you
 think on this matter? I missed something -there is a better way to
 handle this or should I write a report?

 I'd definitely hold off on the bug report. I think you should look at
 the lsb headers of the network-manager script in /etc/init.d and change
 them to stop on all levels, start on none, then run insserv without
 any arguments to again disable network-manager. If this isn't a future
 proof method of disabling it then there is definitley a problem in that
 packages update maintenance scripts.

 Are you suggesting to manually edit the /etc/init.d/network-manager
 script header to fit my needs? Correct me if I'm wrong, but I expect this
 file (as any file located here) can be updated at any time and so
 replacing any of the customized values I can have written in there :-?

Yes, that is what I am suggesting. And if the upgrade overwrites your
changes, you should file a bug report and ask the maintainer to come
into compliance with Debian Policy:

The /etc/init.d scripts must be treated as configuration files, either
(if they are present in the package, that is, in the .deb file) by
marking them as conffiles, or, (if they do not exist in the .deb) by
managing them correctly in the maintainer scripts (see Configuration
files, Section 10.7). This is important since we want to give the
local system administrator the chance to adapt the scripts to the
local system, e.g., to disable a service without de-installing the
package, or to specify some special command line options when starting
a service, while making sure their changes aren't lost during the next
package upgrade. [1]

AND

Configuration file handling must conform to the following behavior:
- local changes must be preserved during a package upgrade, and
- configuration files must be preserved when the package is removed,
and only deleted when the package is purged. [2]

Best,
AM


[1] http://www.debian.org/doc/debian-policy/ch-opersys.html#s-sysvinit
[2] http://www.debian.org/doc/debian-policy/ch-files.html#s-config-files



 I can try it though, just want to be sure this is not going to cause any
 problem in the future :-)

 Oh, and thanks both, Mike and you, for replying.

 Greetings,

 --
 Camaleón


 --
 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/pan.2010.12.07.19.35...@gmail.com




--
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/aanlktin-kd7zswhhutunt1cypxtxt1q=uee_xc+ws...@mail.gmail.com



Re: Feedback needed: How to disable services at startup... and keep them so.

2010-12-07 Thread Arthur Machlas
On Tue, Dec 7, 2010 at 6:16 PM, Paul Lane kc9...@gmail.com wrote:
 On Tue, Dec 7, 2010 at 10:21 AM, Camaleón noela...@gmail.com wrote:
 Hello,

 A month ago, I disabled Network Manager service in my Squeeze system so
 it doesn't run on start up. I wanted to keep NM installed (just in case)
 but preferred to use the old ifup network setup method.

 So I issued update-rc.d network-manager remove and also disabled gnome
 NM applet from being started. So far so good, no more NM running at
 booting.
 I missed something -there is a better way to handle
 this or should I write a report?

 Greetings,

 --
 Camaleón
 AFAIK, the method to disable a boot time service is to change the name
 of its symlink in the appropriate runlevel (normally 2, for debian)
 folder. I'm not sure what the name of the NM script is as I did this
 many moons ago. But, if you look in /etc/rc2.d/, you will find a
 README that explains it all. Reprinted here for clarity:

 The scripts in this directory are executed each time the system enters
 this runlevel.

 The scripts are all symbolic links whose targets are located in
 /etc/init.d/ .

 To disable a service in this runlevel, rename its script in this directory
 so that the new name begins with a 'K' and a two-digit number, where the
 number is the difference between the two-digit number following the 'S'
 in its current name, and 100.  To re-enable the service, rename the script
 back to its original name beginning with 'S'.

 For a more information see /etc/init.d/README.

Problem is, or at least, what I think the problem with that is, is
that insserv is installed by default, and concurrent is now the
default as well. So whenever a system service is added removed,
changed or when insserv is called by some other means, it will look at
the LSB headers for the init script and fix any missing symlinks.

Haven't tested that, but it's my uninformed opinion.


--
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/aanlktik6szwjx+qfnxm5vqyic2fu=y9phhbejf1x7...@mail.gmail.com



sed with several lines, how?

2010-11-27 Thread Arthur Bela
hyphen's [ - ] are just for marking the start/end of a pattern, but
there are _not in_ the pattern!
OUTPUT is what i want after seding the PATTERN#X's


so i for e.g.: need the first, and second magic
sed FIRSTMAGIC PATTERN#1
sed SECONDMAGIC PATTERN#2




PATTERN#1:

---
SOMETEXT#1
brfont size=3SOMETEXT#2/fontbr
brfont size=3SOMETEXT#3/fontbr
SOMETEXT#4
---

exact pattern, what is unique from the pattern:
---
/fontbr\nbrfont size=3
---

OUTPUT:
---
SOMETEXT#1
brfont size=3SOMETEXT#3/fontbr
SOMETEXT#4
---





and:

PATTERN#2:

---
SOMETEXT#1
brfont size=3SOMETEXT#2/fontbr
/font/div/body/html
SOMETEXT#3
---

exact pattern, what is unique from the pattern:
---
/fontbr\n/font/div/body/html
---

OUTPUT:
---
SOMETEXT#1
/font/div/body/html
SOMETEXT#3
---


i just can't figure it out, how to sed when having several lines
[nor in awk, perl..]

could anyone post a link, or some guide, how to write these two lines of sed?

Thank You! :\


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



Re: sed with several lines, how?

2010-11-27 Thread Arthur Bela
thank you, and sorry, if i had formulated wrong, but the SOMETEXT#X
is a random STRING, like:

$ cat testfile.txt
alsjflsajfkljasdf
brfont size=3asfklasjlkyxcvo/fontbr
brfont size=3kldfjlkasjdfasdf/fontbr
kasfjxcvklajdflas

yxcvkjasafjads
brfont size=3asdfjkldjlasj/fontbr
/font/div/body/html
uiyxzckjhasfsd
$



$ awk 'BEGIN {sawpattern=0} ^SOMETEXT, ^SOMETEXT {if (($0
~/brfont size=3SOMETEXT/ )  (sawpattern == 0)) {sawpattern=1}
else {sawpattern=0;print $0}}' testfile.txt
alsjflsajfkljasdf
brfont size=3asfklasjlkyxcvo/fontbr
brfont size=3kldfjlkasjdfasdf/fontbr
kasfjxcvklajdflas

yxcvkjasafjads
brfont size=3asdfjkldjlasj/fontbr
/font/div/body/html
uiyxzckjhasfsd
$

On 27 November 2010 12:39, Arthur Bela jozsi.avad...@gmail.com wrote:
 hyphen's [ - ] are just for marking the start/end of a pattern, but
 there are _not in_ the pattern!
 OUTPUT is what i want after seding the PATTERN#X's


 so i for e.g.: need the first, and second magic
 sed FIRSTMAGIC PATTERN#1
 sed SECONDMAGIC PATTERN#2




 PATTERN#1:

 ---
 SOMETEXT#1
 brfont size=3SOMETEXT#2/fontbr
 brfont size=3SOMETEXT#3/fontbr
 SOMETEXT#4
 ---

 exact pattern, what is unique from the pattern:
 ---
 /fontbr\nbrfont size=3
 ---

 OUTPUT:
 ---
 SOMETEXT#1
 brfont size=3SOMETEXT#3/fontbr
 SOMETEXT#4
 ---





 and:

 PATTERN#2:

 ---
 SOMETEXT#1
 brfont size=3SOMETEXT#2/fontbr
 /font/div/body/html
 SOMETEXT#3
 ---

 exact pattern, what is unique from the pattern:
 ---
 /fontbr\n/font/div/body/html
 ---

 OUTPUT:
 ---
 SOMETEXT#1
 /font/div/body/html
 SOMETEXT#3
 ---


 i just can't figure it out, how to sed when having several lines
 [nor in awk, perl..]

 could anyone post a link, or some guide, how to write these two lines of 
 sed?

 Thank You! :\



-- 
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/aanlktim+cy7x9wqntxpee4krsb6nqt=wamckttgn8...@mail.gmail.com



run program with another user how?

2010-11-25 Thread Arthur Bela
I want to use an application with wine, but not with the user logged
in - with another user [it would be a chroot ~like thing :D -
because i don't trust the app...]:

i set the permissions:

chmod 705 -R ANOTHERUSER/

gksu -u ANOTHERUSER xcalc

it asks for a password, i type in the correct passwd, but nothing happens.

What am i doing wrong? :(

it doesn't give any error messages, that i can google.. :\

thank you for any tips


-- 
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/aanlkti=uyvje-b0vrfhes3sgdjx4r_eefunh7t7k9...@mail.gmail.com



Re: question regarding SSL

2010-11-25 Thread Arthur Bela
Thank you for the answer!

On 25 November 2010 00:50, Celejar cele...@gmail.com wrote:
 On Wed, 24 Nov 2010 22:45:59 +0100
 Arthur Bela jozsi.avad...@gmail.com wrote:

 If i use https, then my connection is safe, ok.

 I just want to know, that can someone see that what link i'm exactly 
 visiting?

 I mean, it can only see, that i'm visiting THISSITE.COM, or it can see
 THISSITE.COM/SOMELINK.html ?

 thank you for any info, link :\

 I'm no expert, and I may be totally wrong, but IIUC, the resource path
 is only sent within the HTTP request, as part of the request method
 (e.g. GET / HTTP/1.1[CRLF]), which is encapsulated within the SSL
 session, so it ought to be safe.

 Celejar
 --
 foffl.sourceforge.net - Feeds OFFLine, an offline RSS/Atom aggregator
 mailmin.sourceforge.net - remote access via secure (OpenPGP) email
 ssuds.sourceforge.net - A Simple Sudoku Solver and Generator


 --
 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/20101124185028.ce17b51a.cele...@gmail.com




-- 
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/aanlktimo-azo4xriy3=yu_p7yj126yqmx7hk-difk...@mail.gmail.com



Re: question regarding SSL

2010-11-25 Thread Arthur Bela
Well, I think yes, the URI could be displayed/retrieved. It is registered
in plain text in web server logs.

I meant someone is sniffing the connection between my pc, and the
server, not the server admin. :O

So if someone is sniffing the connection it can only see that, i'm
visiting https://THISSITE.COM, and it can't see, that I visit
https://THISSITE.COM/SOMELINK.html

Thank you!

On 25 November 2010 12:01, Camaleón noela...@gmail.com wrote:
 On Wed, 24 Nov 2010 22:45:59 +0100, Arthur Bela wrote:

 If i use https, then my connection is safe, ok.

 Your connection is encrypted, which means if someone can get a raw dump
 of the transaction data, it will have to decypher the chunk of code.

 I just want to know, that can someone see that what link i'm exactly
 visiting?

 Mmmm...

 I mean, it can only see, that i'm visiting THISSITE.COM, or it can see
 THISSITE.COM/SOMELINK.html ?

 Well, I think yes, the URI could be displayed/retrieved. It is registered
 in plain text in web server logs.

 Greetings,

 --
 Camaleón


 --
 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/pan.2010.11.25.11.01...@gmail.com




--
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/aanlktimzwn+vxoc73dnunve6kq3_ilrqckdhothjs...@mail.gmail.com



Re: run program with another user how?

2010-11-25 Thread Arthur Bela
When i log in with the ANOTHERUSER, and start the app, it works.

http://pastebin.com/raw.php?i=v00dEEtF

when i log in with USER, i can't even start xcalc with gksu, so the
problem is not with wine, or the program

On 25 November 2010 11:52, Michal mic...@sharescope.co.uk wrote:
 On 25/11/10 10:51, Arthur Bela wrote:

 I want to use an application with wine, but not with the user logged
 in -  with another user [it would be a chroot ~like thing :D -
 because i don't trust the app...]:

 i set the permissions:

 chmod 705 -R ANOTHERUSER/

 gksu -u ANOTHERUSER xcalc

 it asks for a password, i type in the correct passwd, but nothing happens.

 What am i doing wrong? :(

 it doesn't give any error messages, that i can google.. :\

 thank you for any tips


 What happens if you su to that user, or even login as that user, does it
 work then?


 --
 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/4cee4000.3010...@sharescope.co.uk




--
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/aanlktinogx8t8_nz+otzv+jbgyv-dt99gexvpqtpv...@mail.gmail.com



Re: run program with another user how?

2010-11-25 Thread Arthur Bela
$ gksu -u mm5-user -l -d xcalc
No ask_pass set, using default!
xauth: /tmp/libgksu-8oLjeq/.Xauthority
STARTUP_ID: gksu/xcalc/10131-0-g_TIME24032970
cmd[0]: /usr/bin/sudo
cmd[1]: -H
cmd[2]: -S
cmd[3]: -p
cmd[4]: GNOME_SUDO_PASS
cmd[5]: -u
cmd[6]: mm5-user
cmd[7]: --
cmd[8]: xcalc
buffer: -GNOME_SUDO_PASS-
brute force GNOME_SUDO_PASS ended...
Yeah, we're in...
xauth: /tmp/libgksu-8oLjeq/.Xauthority
xauth_env: /var/run/gdm/auth-for-gbor-Gb8eBC/database
dir: /tmp/libgksu-8oLjeq
$


On 25 November 2010 16:59, Camaleón noela...@gmail.com wrote:
 On Thu, 25 Nov 2010 15:06:08 +0100, Arthur Bela wrote:

 On 25 November 2010 11:52, Michal wrote:

 What happens if you su to that user, or even login as that user, does
 it work then?

 When i log in with the ANOTHERUSER, and start the app, it works.

 http://pastebin.com/raw.php?i=v00dEEtF

 when i log in with USER, i can't even start xcalc with gksu, so the
 problem is not with wine, or the program

 Try:

 gksu -u user -l -d xcalc

 Greetings,

 --
 Camaleón


 --
 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/pan.2010.11.25.15.59...@gmail.com




--
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/aanlktinxuc6ouspvz27xdueigcq+ifd1aq2s-9l4b...@mail.gmail.com



Re: run program with another user how?

2010-11-25 Thread Arthur Bela
gksu -u mm5-user -l -d -w xcalc

it worked!!! thank you!!

On 25 November 2010 19:17, Camaleón noela...@gmail.com wrote:
 On Thu, 25 Nov 2010 17:52:23 +0100, Arthur Bela wrote:


 On 25 November 2010 16:59, Camaleón wrote:

 (...)

 gksu -u user -l -d xcalc

 $ gksu -u mm5-user -l -d xcalc
 No ask_pass set, using default!
 xauth: /tmp/libgksu-8oLjeq/.Xauthority STARTUP_ID:
 gksu/xcalc/10131-0-g_TIME24032970 cmd[0]: /usr/bin/sudo
 cmd[1]: -H
 cmd[2]: -S
 cmd[3]: -p
 cmd[4]: GNOME_SUDO_PASS
 cmd[5]: -u
 cmd[6]: mm5-user
 cmd[7]: --
 cmd[8]: xcalc
 buffer: -GNOME_SUDO_PASS-
 brute force GNOME_SUDO_PASS ended...
 Yeah, we're in...
 xauth: /tmp/libgksu-8oLjeq/.Xauthority xauth_env:
 /var/run/gdm/auth-for-gbor-Gb8eBC/database dir: /tmp/libgksu-8oLjeq
 $

 Mmm... it works fine here:

 t...@debian:~$ gksu -u test2 -l -d xcalc
 xauth: -a195bd96819834793354c82655505b8a
 -
 display: -:0.0-
 final xauth: -a195bd96819834793354c82655505b8a
 -
 final display: -:0.0-
 STARTUP_ID: gksu/xcalc/2002-0-debian_TIME0
 gksu_context_run: buf: -Contraseña: -
 no password on keyring
 DEBUG (run:after-pass) buf: -Contraseña: -
 -EBUG (run:post-after-pass) buf: -
 -EBUG (run:post-after-pass) buf: -gksu: waiting
 -EBUG (gksu: waiting) buf: -gksu: waiting

 And xcalc is launched.

 I've noted you are using sudo, but maybe you can try to enforce
 su (using -w modifier):

 gksu -u mm5-user -l -d -w xcalc

 Greetings,

 --
 Camaleón


 --
 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/pan.2010.11.25.18.17...@gmail.com




--
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/aanlktik8aredjoow_l2vyepwx=7xu16gwmao5eoyx...@mail.gmail.com



question regarding SSL

2010-11-24 Thread Arthur Bela
If i use https, then my connection is safe, ok.

I just want to know, that can someone see that what link i'm exactly visiting?

I mean, it can only see, that i'm visiting THISSITE.COM, or it can see
THISSITE.COM/SOMELINK.html ?

thank you for any info, link :\


-- 
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/aanlktin++rkseu8ayhwx+hrtxu+q8ltkf=k4xrkkg...@mail.gmail.com



need a quick hashing method

2010-11-22 Thread Arthur Bela
HDD#1
HDD#2

I copy files between HDD#1 and HDD#2.

When i finish, i need a quick hasing method - i just want to check,
that the copy was 100% ok.

md5sum, sha256sum is slow - are there any very fast hash algoritms?
- just for checking if the copied file is corrupt or not [i just need
to know, if there were even 1 Byte error when copying]

i can write the script, that checks the files, i just need a hash
algoritm [software/command], that is fast enough.

Thank you!


-- 
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/aanlktinzuyqrsdjpydg+gvl_svs1ubz795fud7k=j...@mail.gmail.com



what to use besides selinux?

2010-11-21 Thread Arthur Bela
I

apt-get install selinux

Ok. Reboot. So I'm better protected now, or i have to set a few things?

I read that selinux is good for post-exploitation situations. What do
i have to google to search for solutions protecting me
before-exploitations?


*exploitations ~ intrusions, penetrations, sry4the english :P

thank you:\


-- 
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/aanlktikgxrkqbchuusjywrrrkd5ht=tjlgxwcnrk9...@mail.gmail.com



how to kill a process that is defunct?

2010-11-21 Thread Arthur Bela
I tried to:

kill -9 3341

but it's still there, and it's using 100% cpu :\

I only tried to download a few linux iso's, so i can seed them back a
couple of times [about ~20 at a time :O ] but transmission just
freezez

I tried to log out, and log in, when i log back, it's still there :O
only when i reboot my pc...only then it will dissapear..

Is there a way to kill that process?

Thank you :O
attachment: defunct.png

Re: what to use besides selinux?

2010-11-21 Thread Arthur Bela
just a normal desktop. [no server function on it]. on a plain notebook.

On 21 November 2010 14:23, Camaleón noela...@gmail.com wrote:
 On Sun, 21 Nov 2010 11:27:09 +0100, Arthur Bela wrote:

 I

 apt-get install selinux

 Ok. Reboot. So I'm better protected now, or i have to set a few things?

 Congrats. Now your odessy starts by here :-P

 http://wiki.debian.org/SELinux

 I read that selinux is good for post-exploitation situations. What do i
 have to google to search for solutions protecting me
 before-exploitations?

 http://www.debian.org/doc/manuals/securing-debian-howto/

 But you should be more specific. What services are you running? are all
 that services providing remote functionalities? Have you setup a
 firewall, IPS, IDS...? What are your requirements (server, home,
 workstation usage)?

 Greetings,

 --
 Camaleón


 --
 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/pan.2010.11.21.13.23...@gmail.com




--
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/aanlktink+bxmtmscmdadvd9-7fl7a9yue59hoqacg...@mail.gmail.com



encrypt file names zip

2010-11-19 Thread Arthur Bela
i can recursively zip a folder with password with:

zip -re some-folder.zip some-folder/

but how can i encrypt the filenames in the zip file? cause i can see
them, i just only can't extract them!

or there isn't any way? 7-zip under windows can do it :O

ubuntu 10.10

Thank you for any answer!


-- 
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/aanlkti=dhy3zwxacqs3tekq-v2ran0ofqzunn_65v...@mail.gmail.com



how to generate pi in c

2010-11-05 Thread Arthur Bela
Does anyone has a generate-pi.c source code?

Thanks.. :D :\


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlktinw53os6zrdwmnyvmx6mo5fwf_jetvdw4l9g...@mail.gmail.com



OT:Gmail and console-kit-daemon

2010-11-02 Thread Arthur Barlow
I believe that this has been mentioned before, but I still haven't heard a
credible argument.  If I monitor the processes on my when I first open a
browser, not much changes, expect maybe a few added processes for the
browser.  If I do a search on Google.. nothing.  But, as soon as I log into
Gmail, I get about 20 - 30 threads running console-kit-daemon and the user
is root.  Does anyone know why this happens?


Re: how can i hear my own voice with a microphone?

2010-10-26 Thread Arthur Machlas
On Tue, Oct 26, 2010 at 5:27 PM, green greenfreedo...@gmail.com wrote:
 Jozsef Vadkan wrote at 2010-10-26 16:08 -0500:
 How?

You shouldn't need a microphone, unless you speak very quietly. Then a
mic and amplifier might be needed.


-- 
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/aanlktikmw+x-oqe5oeto1m7l35=ddmsplav8hfbph...@mail.gmail.com



Re: Debian stock kernel config -- CONFIG_NR_CPUS=32?

2010-10-21 Thread Arthur Machlas
On Thu, Oct 21, 2010 at 8:15 PM, Andrew Reid rei...@bellatlantic.net wrote:
  But I'm curious if anyone on the list knows the rationale for
 distributing kernels with this set to 32.  Is that just a
 reasonable number that's never been updated?  Or is there some
 complication that arises after 32 cores, and should I be more
 careful about tuning other parameters?

I've always set the number of cores to exactly how many I have x2 when
I roll my own, which on my puny systems is either 4 or 8. I seem to
recall reading that there is a slight performance hit for every core
you support. Or was it memory hit? Or was that a bong hit I'm thinking
of?

I really can't remember, but I think it was in Greg's Linux Kernel In
A Nutshell book, by O'Reilly, though free to download.

This exchange seems appropriate now...
Peter Griffin: It's true. I read it in a book somewhere
Brian Griffin: Are you sure it was a book? Are you sure it wasn't... nothing?


--
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/aanlkti=vuzcd8znex5ywagcvtjevwqhwr_mf3c3l1...@mail.gmail.com



Debian Squeeze Boot-up stalls waiting for dhcp to obtain address

2010-10-15 Thread Arthur Machlas
Did a network install of Squeeze the other day, on a computer without
wireless. Normally I remove everything but lo in
/etc/network/interfaces, but after resume from suspend network-manager
reported disabling device eth0 for reason 2, whatever that meant, and
the only way to bring it back up was to reboot. It was gone from
ifconfig!

I found that adding eth0 back into /etc/network/interfaces prevented
this strange disabling of hardware by network-manager when coming out
of suspend, however, at boot now if the network cable isn't plugged
in, as it sometimes isn't, the boot process will stalll as dhcp tries
and tries and tries to obtain an ip address.

Hoping someone can help move me along here a bit quicker at boot-up.

Many thanks,
AM


-- 
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/aanlktinpf6usg-8wsett99re1p+sltbbo1ww5hh4c...@mail.gmail.com



Re: Debian Squeeze Boot-up stalls waiting for dhcp to obtain address

2010-10-15 Thread Arthur Machlas
On Fri, Oct 15, 2010 at 9:52 AM, Hugo Vanwoerkom hvw59...@care2.com wrote:
 Arthur Machlas wrote:

 Did a network install of Squeeze the other day, on a computer without
 wireless. Normally I remove everything but lo in
 /etc/network/interfaces, but after resume from suspend network-manager
 reported disabling device eth0 for reason 2, whatever that meant, and
 the only way to bring it back up was to reboot. It was gone from
 ifconfig!

 You mean you installed squeeze and after the install and the reboot did a
 suspend?


That's right. Install squeeze (netinstall, minimal, only base).
Reboot. Add packages (e.g., gnome-core, network-manager,
gnome-power-manager, etc.). Reboot. Internet works, but
network-manager isn't managing it. I remove eth0 from
/etc/network/interfaces and reload network-manager. It now manages
eth0.  Made desktop pretty. Configured to standby after 1 hr. Left
computer. Computer went to standby after one hour. When resumed, no
eth0 network interface in iwconfig. Network-manager logs have cryptic
message about disabling eth0 for reason 2.

Can't rmmod and modprobe eth driver has no effect. service
network-mananger restart has no effect. Reboot is only solution to
bringing eth0 interface back up.

Googling issue suggests its a bug related to network manager's managed
versus unmanaged settings regarding interfaces listed in
/etc/network/interfaces. I put eth0 back into /etc/network/interaces
and tell nm to manage devices in /etc/network/interfaces. Things work
well. Desktop is pretty. When resuming from suspend, network interace
is brought back up by n-m and connects normally.

Take laptop to kitchen, reboot at some point, and boot-up process is
slowed down while dhcp tries to obtain an ip address. This delays boot
by about a minute while it tries and tries and tries and fails to get
an ip address, and it won't ever get one because it's not connected to
the network.

Hopefully this is better summary of problem.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlkti=mpiqpat-z5c1kxg6=-rsrpjtt5wan6ugdd...@mail.gmail.com



Re: Debian Ciel -- A Theme Proposal for Squeeze

2010-10-15 Thread Arthur Machlas
I'm using it now. It's nice, but somehow is hard on the eyes. It
seems.. dull or dimmed. Foggy. Hard to describe.

Is the gamma for wallpaper correct according to specs on wiki?

Gamma: Please gamma-correct all this artwork. 0.45 (not 2.2).

Could just be my lcd. In any case, nice work. It's still a bit too
uniform in colour for my taste. When I look out my window, if the sky
and clouds are that similar in colour I usually avoid going outside.
The gtk theme choice goes well with it though, as does the tango icon
selection IMHO.


-- 
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/aanlkti=yosta_i8a+shzdfhz=mzwm3ppbiqiag3oo...@mail.gmail.com



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

2010-10-13 Thread Arthur Machlas
On Wed, Oct 13, 2010 at 5:55 AM, Wolodja Wentland
wolodja.wentl...@ed.ac.uk wrote:
 On Tue, Oct 12, 2010 at 22:48 +0100, Wolodja Wentland wrote:
 It works perfectly with eduroam and
 Let me elaborate on the eduroam configuration.

 For eduroam you choose PEAP with TKIP/MSCHAPV2

    Identity: u...@host.tld
    Password: YourPassword

 You should also obtain the GTE Cybertrust Global Root certificate and
 save it to (for example) /etc/wpa_supplicant/cert/gte_cybertrust_root.crt

 You might also want to refer to your university's documentation, which
 might provide further details.

 Good luck
 --
I only used wicd for a short time, but my understanding was that it
supported anything that wpa_supplicant does. Thing is, you have to
write your own profile/template, which requires an understanding of
how to do it in wpa_supplicant, and then how to modify it as a wicd
template. At that point I gave up and said why learn it twice? The
wicd forums can probably give you a more definitive answer.


--
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/aanlktin8ax_2kbmdadka3ysek-w5pq8v_+8i7f1tv...@mail.gmail.com



Re: KDE Question

2010-10-13 Thread Arthur Machlas
For those wanting to lighten up the gnome desktop, alt+f2,
gconf-editor, ctrl+f the following:

low_resource (enable)
workarounds (disable)
animation (disable all that come up)

The difference between xfce and gnome, for me is negligible, and
losing a decent screensaver, gdm and powermanager not worth it. Once
you install gnome-screensaver, you may as well just install gnome as
it pulls in about 60% of the core components anyway. For those who
want a light-de, LXDE is taking over from XFCE.

On the other hand, when Jack Bauer visited Tony at his home to ask for
help, his computer was running XFCE. So it's got some cool factor.


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



Re: KDE Question

2010-10-13 Thread Arthur Machlas
On Wed, Oct 13, 2010 at 8:10 AM, Paul Cartwright deb...@pcartwright.com wrote:
 On Wed October 13 2010, Arthur Machlas wrote:
 For those wanting to lighten up the gnome desktop, alt+f2,
 gconf-editor, ctrl+f the following:

 low_resource (enable)
 workarounds (disable)
 animation (disable all that come up)

 when I found those, the value on all said schema .
 it didn't find any low_resource, and it found 2 workarounds:
 /schema/apps/metacity/general/disable_workarounds
 /apps/metacity/general/disable_workarounds

Sorry, was going from memory. It's reduced_resources. And you never
touch schema. Therefore, the /apps is the one you want. Oh and check
'include key name' when searching.


-- 
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/aanlkti=aup-_dx4kicxm5n-6qqqb3xv14um1fsdb6...@mail.gmail.com



Re: KDE Question

2010-10-13 Thread Arthur Machlas
On Wed, Oct 13, 2010 at 1:44 PM, Celejar cele...@gmail.com wrote:
 On Wed, 13 Oct 2010 07:18:12 -0500
 Arthur Machlas arthur.mach...@gmail.com wrote:

 ...

 The difference between xfce and gnome, for me is negligible, and
 losing a decent screensaver, gdm and powermanager not worth it. Once

 Never really used Gnome or its screensaver - what does it do that
 Xscreensaver doesn't?  And what does powermanager do that Xfce's
 power manager doesn't?

Gnome's screensaver can switch users, leave messages, unlock with
fingerprint scanner, and as a bonus, doesn't look like its running on
an Atari system from 1983. C'mon, update the icon already.

Gnome's powermanager work for me. XFCE's doesn't. No idea why, or what
magic they are employing. More substantively, not sure that XFCe can
spin down hard drives.

Is this a threadjack, or is this now a desktop war thread?


--
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/AANLkTi=uF8c6wKuggUVhWOkzx7h4A4soDF7uEu0oP:@mail.gmail.com



Re: KDE Question

2010-10-13 Thread Arthur Machlas
 There is something to be said about stuff that puts functionality over form.
 XFCE is likely to be more stable and safer than anything KDE or Gnome.

1. The two are not mutually exclusive. A!!Y being a good example,
which gnome wins hands down over XFCE.

2. The biggest threat to a system, IMHO, tends to be the owner/user.
Adding complexity that reduces the chances/opportunities for errors
may be a good thing.

3. Given Red Hats deep involvement in gnome, I'd put my money on Gnome
being safer than kde and xfce.


-- 
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/aanlktikrkocaahphueo6nnmeuh40xrqgx=zyyz7hv...@mail.gmail.com



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

2010-10-12 Thread Arthur Machlas
2010/10/12 Stanisław Findeisen s...@eisenbits.homelinux.net:
 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?

wpa_supplicant in roaming mode might be suitable.
/usr/share/doc/wpa_supplicant has everything you need. Coles notes:

1. copy the example configuration to /etc/wpa_supplicant/wpa_supplicant.conf
2. Define your networks in wpa_supplicant.conf as described in example
file and /usr/share/doc
2b. Use network definition order, and priority keyword to have
preferred assocation
3. Add defined networks to /etc/network/interfaces
4. restart network (I do a reboot to make sure everything is restarted.
5. (optional) install wpa_gui to manage from the desktop. I find it's
buggy, but unless you're running conky, it's a good way to see what
you're connected to, and switch it if it happens to grab the wrong
one.


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



Re: Behavior of aptitude and autoremoving

2010-10-11 Thread Arthur Machlas
 I'm struggling to understand the autoremoval behavior of aptitude
 0.6.3. Let's say I have a virtual package A provided by A1 and

AFAIK, it gets autoremoved it it was automatically installed AND if
there are no other packages on the system that depend AND/OR recommend
it, depending on your preferences. Otherwise it gets left on there.

Does aptitude purge ~c get rid of them though?


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



Re: Postgrad research tools - any recommendations

2010-10-04 Thread Arthur Machlas
On Mon, Oct 4, 2010 at 3:33 PM, James Allsopp
jamesaalls...@googlemail.com wrote:
 Instead of Word and Endnotes, use Latex and bibtex, bit of a learning
 curve, but much better results,
 James

I'd recommend iceweasel with the zotero extension, and openoffice with
the zotero plugin.

There is always R for your statistical needs, but SPSS, or rather PSAS
or PSTHS or something, whatever they call themselves these days, they
have an linux package available for the same great price of $2000
dollars or so to do things that excel can do.


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



Re: Provide the default GNOME theme in gnome-core please

2010-09-29 Thread Arthur Machlas
 FYI, the request has been rejected with

 - I don’t think it is worth splitting. - need a better rationale
 - WTF is that debian-user Cc?

 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=598448

 Mmm, it hasn't been rejected (at least by now). DD asks you a reason for
 achieve the change...

 So I plead anyone who don't like junks in your system please follow up
 to 598...@bugs.debian.org, and try to convince the DD.

 Ugh, convince developers is a hard (and consuming) task :-P

 Anyway, I'll add my comments to the bug (time permitting), but have no
 expectations at all.


Although I disagree with your bug report, and think the DD is right on
this one, if you insist on pressing your case I would make an argument
along the lines of A default icon theme is included as part of the
gnome-core package, however no gtk theme is included. It's a losing
argument IMHO, but at least it's an argument.


--
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/aanlktik_rgxr+2keqw43pekbzq=vxs_fdk4oogrjz...@mail.gmail.com



Re: What pm-utils depends

2010-09-24 Thread Arthur Machlas
On Fri, Sep 24, 2010 at 11:10 AM, T o n g mlist4sunt...@yahoo.com wrote:
 On Fri, 24 Sep 2010 08:25:58 +0200, Sven Joachim wrote:
 Huh?  AFAIK, pm-utils never depended on HAL; it used to recommend it,
 but it does not do this anymore.

 pm-utils is the new suspend and powerstate setting framework. It is
 usually used by HAL to execute the various hacks. . . Both pm-suspend and
 pm-hibernate are usually called from HAL, initiated by desktop applets as
 gnome-power-manager or kpowersave... 

That says that HAL can use the pm-utils package. Not that pm-utils
depends on HAL. Systems without HAL installed can use other mechanisms
to call pm-utils, like acpi, udisks, udev, etc.

 A key package for Lenny's power management is HAL (hal)which watches for
 ACPI events. . . The package pm-utils is a package of power management
 software. It stands between HAL and actually suspending the system...

 So, what's the latest update on this?

That is referring to Gnome's power management on Lenny. It uses acpi,
pm-utils and hal. Squeeze may or may not do the same, I'm not sure.
But again, that says nothing about pm-utils needing HAL to work.
Merely that HAL is the mechanism used to watch for ACPI events, but
others are available to do that job as well.


--
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/aanlktinux755a6gauf9s6m=ugv8pca2hfx7gj5uce...@mail.gmail.com



Re: To enable the power management mechanism

2010-09-24 Thread Arthur Machlas
On Fri, Sep 24, 2010 at 2:47 PM, Javier Vasquez j.e.vasque...@gmail.com wrote:
 On Fri, Sep 24, 2010 at 12:55 PM, Mark Goldshtein
 mark.goldsht...@gmail.com wrote:
 On Fri, Sep 24, 2010 at 9:37 PM, Javier Vasquez j.e.vasque...@gmail.com 
 wrote:
...

 If you have couple of minutes, would you, please, to expand your
 comments about a system without desktop environment? Targeting a
 laptop.

 In both the laptops I manage:

 1.-  Dell Inspiron 600M (my dad's).
 2.-  Compaq 8510w (from work).

 I don't have a desktop environment such as kde, gnome, xfce, or any
 other.  In my dad's I call startfluxbox from ~/.xsession, and have xdm
 installed and working, that's it.

 For the one from work, as I'm the only one using it, I don't even have
 a session loader installed, to start X I just call startx, and again,
 I just call startfluxbox from ~/.xsession.

 I've lived that way for so long that I don't like bloated (my opinion,
 not to start a discussion) desktop environments...  Things might
 change, but I still feel confortable this way...

 Is that enough to install a base system, bootloader, then reboot,

 I don't know what a base system is.  For squeeze (I had recently to
 install it in other boxes, also without desktop environment) the first
 thing I did was to change the configuration that by default now sets
 APT to always install recommended packages:

 % cat /etc/apt/apt.conf.d/00InstallRecommends
 APT::Install-Recommends false;

 That I did through the installation process, since with recommends
 there's a lot of unnecessary (according to me) software installed.
 Then I didn't install anything else than the minimum required.  The
 default coming from squeeze might do.  Then I start installing the
 applications I want, including power management, fluxbox, X, alsa
 stuff, etc...  Without using tasksel, since most of such tasks are not
 good for me.  I always install build-essential, and some additional
 compilation stuff, plus other applications for office, web browsing
 etc.

 This is my approach, doesn't mean you have to follow though.  BTW, I
 use aptitude in ncurses mode to install, and select/unselect some
 dependencies...

 install acpi packages you have mentioned, xorg and then a window
 manager?
 Is there dependences on 'xorg', which allow a proper xorg installation?

 There's a package Xorg which automatically triggers lots of
 dependencies such as xserver-xorg.  I do install more stuff.  I don't
 like xserver-xorg-*-all, I go and unselect them, and instead select
 just the input devices, video devices etc that I need.  I don't like
 installing everything.  Then I also shoot for several fonts not
 automatically selected by Xorg, like TTFs, and terminus (the one I use
 for console and X terminals)...

 Please, correct me, I am sure I have missed a lot of useful system
 components. Like xscreensaver, for example.

 Xorg was having lots of problems with memory management with
 Xscreensaver on the Dell inspiron laptop.  There's a reported and
 unfixed bug about it, so I completely dropped xscreensaver.  I use
 instead a combination of:

 xlockmore
 xautolock

 I think that provides all I need in terms of screen saving.  And more
 now that I'm trying to play green a bit, :-)  So I just have blank
 screen to minimize power consuption, :-)

 Please notice that what works for one, doesn't mean works for
 everyone.  A lot of people is happy with desktop environments, so it
 might be they work OK for you...

 --
 Javier.

Lots of useful info in there Javier. Also worth mentioning, though it
doesn't seem you use it, is laptop-mode-tools.


--
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/aanlktikp8zg0b4zuvqvmx-lvi0gays-pqtaiy3=gn...@mail.gmail.com



Re: To enable the power management mechanism

2010-09-24 Thread Arthur Machlas
On Fri, Sep 24, 2010 at 3:39 PM, Javier Vasquez j.e.vasque...@gmail.com wrote:
 Lots of useful info in there Javier. Also worth mentioning, though it
 doesn't seem you use it, is laptop-mode-tools.

 I did include it in the ones I have installed, :-)  The original list
 had it with some words as well, so I thought it was not necessary to
 make additional comments...  See this was my list:
snip

Ah, my mistake.

 When you install it, I don't remember if hdparm and sdparm are
 automatically triggered as dependencies, but then if not it's pretty
 good idea to have them installed, so that laptop-mode  can play with
 the HDs speeds...  It can handle as well CPU frequency, but I prefer
 cpufreqd for that purpose.  By default in debian laptop-mode doesn't
 handle CPU frequency, so it coexists pretty well with cpufreqd in
 debian...


They are both recommends, and depending on whether you have a modern
sata, thus scsi to the kernel, or older ide drive, you just need
either sdparm or hdparm respectively. At least, I only install sdparm
and things seem to work well on my sata drive. YMMV.

I have never installed cpufreqd, or at least, not intentionally. I
install cpufrequtils, which sets one governor on boot, however if you
wish to switch between different governors based on whether you are on
ac or battery, laptopmode can switch that for you.

But perhaps I am misinformed and cpufrequtils is just another daemon
like cpufreqd... or maybe I am badly misinformed and they are the same
thing. In either case, it's almost a certainty that I'm misinformed.
;)

 One can do several configurations with laptop-mode-tools, cpufreqd,
 and several other power saving stuff.  They should also work out of
 the box (that has been my experience), but if one doesn't have desktop
 environment, one must agree with the idea of doing some tweaks to
 configuration files if necessary, :-)...

The last time I setup laptopmode-tools under squeeze it is disabled by
default and does nothing. You need to edit its conf file in
/etc/deault/laptoop mode and set it to be enabled at boot. And then
yes, there are a great many things to play with, however I've mainly
just used it for spindowns of hd's.


--
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/aanlktikeapbwqz+ext5raoycuz+18=povzcemsttr...@mail.gmail.com



  1   2   3   4   5   6   7   8   9   >