Re: Tool to configure sound

2007-10-30 Thread swhe
>
> > can u get the sound when u use a headphone?
> >
>
> No, that seems silent too.

what's the result of " cat   /proc/asound/cards "


-- 
   Yours,
swhe


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



Re: Tool to configure sound

2007-10-30 Thread Richard Lyons
On Wed, Oct 31, 2007 at 09:13:55AM +0800, swhe wrote:

> On 10/31/07, Richard Lyons <[EMAIL PROTECTED]> wrote:
> > On Tue, Oct 30, 2007 at 11:32:18PM +0100, Florian Kulzer wrote:
> >
> > [...]
> > >
> > > That is indeed the normal output, so speaker-test seems to think
> > > everything is OK. What do you get from running "amixer"?
[...]
> > Needless to say, nothing did help.  Perhaps the sound is just muted
> > because Debian doesn't know about the blue function key things on
> > the laptop.  I have tried pressing the speaker-related ones, but also
> > to no avail.  Debian doesn't know about the screen brightness keys
> > either -- gives 2 error messages for every keypress -- but they still
> > work on the brightness.

> can u get the sound when u use a headphone?
> 

No, that seems silent too.

--
richard


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



Re: Apt-Get or Aptitude

2007-10-30 Thread Daniel Burrows
On Wed, Oct 31, 2007 at 12:53:46AM +0100, Richard Lyons <[EMAIL PROTECTED]> was 
heard to say:
> On Tue, Oct 30, 2007 at 05:22:16PM -0600, Nate Duehr wrote:
> 
> [...]
> > aptitude is by far one of the best package management tools out  
> > there.  Newbies and folks really stuck in the graphic-oriented/desktop  
> > user world may like synaptic better, but for just getting things done  
> > -- aptitude wins hands down, almost all the time.
> 
> I do agree!  Just occasionally, I fire up synaptic to browse a category,
> say stuff to do with sound, or mail for example.  It is slightly easier
> in synaptic to browse than it is in aptitude.  And I wish you could
> reverse direction in mid-search in aptitude.  I often race past a
> relevant match by being too quick on the "n".  If only "b" for back or
> "p" for previous or "N" or whatever switched the direction without
> having to reenter the search using \ or page up enough times to probably
> pass whatever it was you didn't quite see...

changeset:   604:42378273c12b
user:Daniel Burrows <[EMAIL PROTECTED]>
date:Sat Mar 10 16:46:30 2007 +
summary: [aptitude @ Add a keyboard command bound to 'N' that repeats the 
last search in the opposite direction (Closes: #414020, #397880)]

  Daniel


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



Re: Charging iPod / Listening to music

2007-10-30 Thread Andrew Sackville-West
On Tue, Oct 30, 2007 at 07:43:08PM -0400, steve wrote:
> Richard Lyons wrote:
> > On Tue, Oct 30, 2007 at 11:01:53PM +0100, Mathieu Malaterre wrote:
> > 
> >>   When I plug my iPod using the USB cable I get the 'Do not
> >> disconnect' screen on the ipod. It's great because I can see the ipod
> >> is charging. But to listen to music I do not understand what I need to
> >> do. I tried:
> 
> its not possible to listen and charge an ipod on any platform with the
> "ipod firmware".  I went through this many years ago. Maybe look at
> rockbox?
> 

I'm not sure what you mean by this but we listen to the ipod in the
car all the time while its hooked to a charger.

A


signature.asc
Description: Digital signature


Re: When I try to save html pages, nothing happens

2007-10-30 Thread Andrew Sackville-West
On Tue, Oct 30, 2007 at 11:28:53PM +0100, Florian Kulzer wrote:
> On Tue, Oct 30, 2007 at 15:07:23 -0700, tom arnall wrote:
> > On Tuesday 30 October 2007 14:28, Andrew Sackville-West wrote:
> > > On Tue, Oct 30, 2007 at 02:02:42PM -0700, tom arnall wrote:
> > > > when you say 'the rest of /var should be owned by root as well,' do you
> > > > mean everything under /var, not just the immediate subdirectories?
> > >
> > > [EMAIL PROTECTED]:~/src/gnucash$ ls -lR /var/* 2>&1 | awk '/^\// { /
> > > curr_dir=$0 } /^[^\/tl]/ {if ($3!="root")  print curr_dir " " $0}' > /
> > > ~/non_root_vars
> > >
> 
> I would prefer using find for this:
> 
> find /var/ -uid +0 -fprintf ~/non_root_vars "%p %M %u %g\n"

man, you gotta go and ruin my fun. show off! ;-)

seriously though, that's a much better way to do it. I was just happy
I could get what I needed. Now if tom would just understand what I'm
showing him... ;)


A


signature.asc
Description: Digital signature


Re: When I try to save html pages, nothing happens

2007-10-30 Thread Andrew Sackville-West
On Tue, Oct 30, 2007 at 03:07:23PM -0700, tom arnall wrote:
> On Tuesday 30 October 2007 14:28, Andrew Sackville-West wrote:
> > On Tue, Oct 30, 2007 at 02:02:42PM -0700, tom arnall wrote:
> > > when you say 'the rest of /var should be owned by root as well,' do you
> > > mean everything under /var, not just the immediate subdirectories?
> >
> > [EMAIL PROTECTED]:~/src/gnucash$ ls -lR /var/* 2>&1 | awk '/^\// { /
> > curr_dir=$0 } /^[^\/tl]/ {if ($3!="root")  print curr_dir " " $0}' > /
> > ~/non_root_vars
> >
> > produces the attached output. I think it is what you need, showing
> > only those things that are *not* root-owned in my /var.
> >
> > you can ignore /var/run.
> >
> 
> running:
> 
>   ls -lR /var/* 2>&1 | awk '/^\// {  curr_dir=$0 } /^[^\/tl]/ {if 
> ($3!="root")  print curr_dir " " $0}' >  ~/non_root_vars
> 
> in file 't', i get:
> 
>   [EMAIL PROTECTED]:~$ ./t
>   ./t: line 1: /bin: is a directory
> 
> and no 'non_root_vars' in my home.


you're missing the point tom. I was providing the output of that
command from *my* machine so that you could see what you're perms
should look like and change them appropriately. I provided you with
all the files and directories under my /var that were *not* owned by
root so you could compare and make adjustments as needed. I would
expect you'd get only a handful of items from that command as you
chown'ed the whole thign to root... 

Anyway, pull up that previous email and take a look at the
attachement.

A


signature.asc
Description: Digital signature


Re: Apt-Get or Aptitude

2007-10-30 Thread Andrew Sackville-West
On Tue, Oct 30, 2007 at 08:19:58PM -0700, Daniel Burrows wrote:
> On Tue, Oct 30, 2007 at 09:25:02AM -0700, Andrew Sackville-West <[EMAIL 
> PROTECTED]> was heard to say:
> > 
> > this bothers me, since I mostly use aptitude. When I need a build-dep
> > or source, I'm concerned that later aptitude may wipe something
> > inadvertantly. Do you know if there are plans to implement these
> > commands into aptitude? Or will apt-get always remain, so that its not
> > a problem?
> 
>   aptitude shouldn't wipe out packages installed with apt-get, period
> full stop.

you know, that wasn't fair of me. I was once concerned about that
problem, but have subsequently learned that it really doesn't
happen. So i apologise if that came across wrong.

> 
>   The thing that bothers me, sometimes, about build-dep is that I have no
> way of deleting the build-dep once I don't need it.  There would be real
> value in adding this command to aptitude if there was a way to tag
> packages installed by it for future removal.  (one could also get crazy
> and imagine putting arbitrary tags on packages)

yeah, i see what you mean. Personally, if I install a build-dep, I
want it to stick around and and stay in good shape like any other
package. My hacking is done intermittently at best and having a
build-dep go out of sync when I'm not looking would be frustrating. 

> 
>   I don't see the point of duplicating the functionality of "source",
> except that it means you can avoid running apt-get.

hmmm... I'mnot sure I understand this. Why not have aptitude be a
complete replacement for apt-get? I mean, if aptitude already replaces
some sufficiently large portion of apt-get's functionality, why not take it the
rest of the way so that aptitude users can stay with aptitude? Of
course I ask this purely out of curiosity as I have zero time ATM to
put into hacking on aptitude. :( 

one of the things that keeps recurring here is various discussions
about aptitude and its supposed propensity for removing whole swaths
of packages at inopportune moments. A lot of folks blame this on
switching back and forth between aptitude and apt-get. Of course,
you've said that this won't happen, and I believe you, but there is
still this impression being perpetuated on this list. My thinking is
that completing the duplication of functionality between apt-get and
aptitude would eliminate the percieved problem. Of course that's not a
very good reason to write code ;-P. 

> 
>   So I guess the answer wrt plans is that I have vague and mushy plans
> to implement build-dep, and no particular interest in implementing
> source (there are many higher-priority items in the input queue).

thanks for the update. We all love to hear about this stuff directly
from time to time.

thanks again for your work on debian too! its changed my life,
frankly.

A


signature.asc
Description: Digital signature


Re: Apt-Get or Aptitude

2007-10-30 Thread Daniel Burrows
  Thanks for the kind words. :)

  At the risk of spoling the mystery,

On Tue, Oct 30, 2007 at 05:22:16PM -0600, Nate Duehr <[EMAIL PROTECTED]> was 
heard to say:
> I think the niftiest feature (and one that still has me scratching my head 
> as to how you accomplished it) is the MOUSE control in curses over SSH from 
> a WINDOWS box?!  That's amazing.

  Turns out it's actually quite easy.  See mouse(3ncurses) for the
details.  Now you can amaze your friends with your curses knowledge. :-)

  Daniel


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



Re: Getting power off to work in Etch...

2007-10-30 Thread Digby Tarvin
On Tue, Oct 30, 2007 at 09:44:38PM +0100, Nigel Henry wrote:
> On Tuesday 30 October 2007 18:58, Digby Tarvin wrote:
> > Does anyone know the secret to getting Etch to power down the system
> > after a halt. I have tried 'apt-get install apmd', but it doesn't
> > seem to have helped.
> >
> > I know the hardware can do it, because it worked with the very old
> > version of Ubuntu I tried before Debian (5.04).
> >
> > The machine is a Dell Precision 410 with new Etch netinst just done...
> >
> > Thanks,
> > DigbyT
> 
> Hi Digby. Just an update. I found the the link to the bugreport for the 
> shutdown problem. It may, or may not resolve your problem, but is below.
> 
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=390547
> 
> Cordialement.
> 
> Nigel.

Hi Nigel,

I went through that bugreport, and creating a /etc/modprobe.d/apm containing
options apm power_off=1
fixed it for me.

Many thanks for all the pointers.

Regards,
DigbyT
-- 
Digby R. S. Tarvin  digbyt(at)digbyt.com
http://www.digbyt.com


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



Re: Apt-Get or Aptitude

2007-10-30 Thread Daniel Burrows
On Tue, Oct 30, 2007 at 09:25:02AM -0700, Andrew Sackville-West <[EMAIL 
PROTECTED]> was heard to say:
> On Mon, Oct 29, 2007 at 08:03:42PM -0400, Celejar wrote:
> > On Mon, 29 Oct 2007 00:13:23 -0500
> > Manoj Srivastava <[EMAIL PROTECTED]> wrote:
> > 
> > > On Sun, 28 Oct 2007 10:06:59 -0700, Daniel Burrows <[EMAIL PROTECTED]> 
> > > said: 
> > > 
> > > >   I'd say the main difference is that apt-get is a command-line tool,
> > > > whereas aptitude is an interactive tool that can be driven from the
> > > > command-line.
> > > 
> > > Are there still command line usages of apt-get that are not
> > >  exactly the same in aptitude?  And has apt-get started keeping track of
> > 
> > The classic examples that arise periodically on the list are apt-get's
> > 'build-dep' and 'source' actions, which apparently have no obvious
> > aptitude versions.
> 
> this bothers me, since I mostly use aptitude. When I need a build-dep
> or source, I'm concerned that later aptitude may wipe something
> inadvertantly. Do you know if there are plans to implement these
> commands into aptitude? Or will apt-get always remain, so that its not
> a problem?

  aptitude shouldn't wipe out packages installed with apt-get, period
full stop.

  The thing that bothers me, sometimes, about build-dep is that I have no
way of deleting the build-dep once I don't need it.  There would be real
value in adding this command to aptitude if there was a way to tag
packages installed by it for future removal.  (one could also get crazy
and imagine putting arbitrary tags on packages)

  I don't see the point of duplicating the functionality of "source",
except that it means you can avoid running apt-get.

  So I guess the answer wrt plans is that I have vague and mushy plans
to implement build-dep, and no particular interest in implementing
source (there are many higher-priority items in the input queue).

  Daniel


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



Re: debian repositories - connection refused

2007-10-30 Thread Russell L. Harris
* Chris Bannister <[EMAIL PROTECTED]> [071030 20:00]:
> On Sun, Oct 28, 2007 at 10:25:15PM -0500, Russell L. Harris wrote:
> > A day or two ago I began getting a "111 connection refused" error when
> > attempting to access the debian repositories with Synaptic.  
> > 
> > The command "aptitude update" also hangs.
> > 
> > However, Internet access with browser and mail appears to be normal.
> 
> Can you post the *exact* error message when trying aptitude from the
> command line.
> 
> Trying a different mirror in your "/etc/apt/sources.lst" file may
> indicate if the problem is outside or inside your machine.

Thanks, Chris.  But a couple of days ago I posted a message (perhaps
it got lost) stating that the problem vanished when I uninstalled
"anon-proxy" (which I had installed a week or so ago, out of
curiosity.)

RLH


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



Re: creative zen management with command-line interface

2007-10-30 Thread Russell L. Harris
* Davide Mancusi <[EMAIL PROTECTED]> [071030 19:21]:
> Russell L. Harris ha scritto:
>> I have used gnupod (command-line interface) with a 4th-generation
>> iPod.  It was an enjoyable experience.  I would like to find a tool of
>> this sort to manage the Creative Zen.
>
> Amarok has got a plugin to manage "Creative Nomad Jukebox" mp3
> players.  Might be worth a shot...
>
> Hope that helps.
> Davide

Ah, yes!  In my searching I did come across Amarok.  In fact, I
created another user on my desktop machine and installed for him the
KDE desktop, because I was concerned that Amarok might not run
properly under Gnome.

I tried to use Amarok for the Zen Jukebox, but I became so confused
that I returned to the Window$ machine and the manager which Creative
furnished, which, at least, is fairly intuitive.

The experience only reinforced my desire for a command-line interface
such as that provided by gnupod.  

RLH


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



Re: Log Question

2007-10-30 Thread Jeff Grossman

s. keeling wrote:

Jeff Grossman <[EMAIL PROTECTED]>:
  

 I just upgraded the following packages this morning from testing:

 [UPGRADE] console-data 2:1.02-2 -> 2:1.03-1
 [UPGRADE] dictionaries-common 0.85.2 -> 0.86.2
 [UPGRADE] razor 2.810-2 -> 1:2.84-1

 I am using MIMEDefang with Sendmail to do mail filtering.  Here is a 
 copy of one of those logs from MIMEDefang:


 Oct 28 04:15:02 apple mimedefang.pl[12585]: greylist: white; 0; 
 82.118.211.*; [EMAIL PROTECTED]; [EMAIL PROTECTED];


 Those are put into my /var/log/maillog log file.

 After the upgrade, the above log line looks like this:

 Oct 28 09:44:18 apple check[5889]: greylist: white; 0; 70.103.162.*; 
 [EMAIL PROTECTED]; [EMAIL PROTECTED];


 And, the lines are now put in /var/log/messages.

 If you notice it says the process is now check instead of mimedefang.pl 
 sending the output.  How come that changed?  I have restarted mimedefang 
 and sysklogd, but no change.



I would guess the install changed syslog.conf.  Did you accept the
maintainer's version, or keep your own?

  


No.  I have gone through that file many times and nothing has changed in
it.  Here is the output of that file:

# Log anything (except mail) of level info or higher.
# Don't log private authentication messages!
#*.info;cron.none;mail.none;news.none;authpriv.none /var/log/messages
*.info;cron.none;mail.none;news.none;authpriv.none  /var/log/messages

# The authpriv file has restricted access.
#authpriv.*  /var/log/secure
authpriv.*  /var/log/secure

# Log all the mail messages in one place.
mail.*  /var/log/maillog

# Log cron stuff
cron.*  /var/log/cron

# Everybody gets emergency messages, plus log them on another
# machine.
*.emerg *

# Save boot messages also to boot.log
local7.*/var/log/boot

#  Log all news items
news.*  /var/log/news

#  Log all mail notices
mail.notice
/var/log/mailerror

Jeff


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




long lines of [EMAIL PROTECTED]@^@ ... in messages and syslog?!? Etch, Sun Sparc U30.

2007-10-30 Thread s. keeling
This is on a Sun Ultra 30 running Debian Etch Sparc, all SCSI
interfaces and Sun hardware (incl. kb & mouse), 256 (?) Mb RAM, 9 Gb
HD.

(0) deviant /home/keeling_ free
 total   used   free sharedbuffers cached
Mem:255584 238952  16632  0  13968 146568
-/+ buffers/cache:  78416 177168
Swap:   457832  0 457832

  :-)  Running Fluxbox, FF, emacs, mrxvt, gkrellm, ...  Slick.

I was just looking into the logs on this thing for the first time
since installing it (day before yesterday).  EOF of both
/var/log/messages and syslog both have long lines of [EMAIL PROTECTED]@[EMAIL 
PROTECTED]@ and the
latest time stamp is (messages) Oct 28 23:44:02 and (syslog) Oct 30
03:55:25.

Otherwise the box looks mostly alright (functional), but I just tried
to install logrotate, and it wildly complains about everything
(obviously), so it's reboot time.  Clean shutdown & reboot, and /var's
no longer mounted ro.

That appears to have solved it for now.  aptitude's installing
logrotate now.  Now I see that all the original log entries are there
except for the ^@ crap.  Something's cleaned them up.  Weird.

BTW, both of these boxes are behind a router, and neither of them's
seen any non-FLOSS software.  I'm happily ssh-ing back and forth with
X forwarding.

Anybody have any idea what happened here?  What's a better way to sort
out what's going on than what I've done?  Is this just a flakey scsi
drive? 


-- 
Any technology distinguishable from magic is insufficiently advanced.
(*)http://blinkynet.net/comp/uip5.html  Linux Counter #80292
- -http://www.faqs.org/rfcs/rfc1855.htmlPlease, don't Cc: me.


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



Re: Log Question

2007-10-30 Thread s. keeling
Jeff Grossman <[EMAIL PROTECTED]>:
>  I just upgraded the following packages this morning from testing:
> 
>  [UPGRADE] console-data 2:1.02-2 -> 2:1.03-1
>  [UPGRADE] dictionaries-common 0.85.2 -> 0.86.2
>  [UPGRADE] razor 2.810-2 -> 1:2.84-1
> 
>  I am using MIMEDefang with Sendmail to do mail filtering.  Here is a 
>  copy of one of those logs from MIMEDefang:
> 
>  Oct 28 04:15:02 apple mimedefang.pl[12585]: greylist: white; 0; 
>  82.118.211.*; [EMAIL PROTECTED]; [EMAIL PROTECTED];
> 
>  Those are put into my /var/log/maillog log file.
> 
>  After the upgrade, the above log line looks like this:
> 
>  Oct 28 09:44:18 apple check[5889]: greylist: white; 0; 70.103.162.*; 
>  [EMAIL PROTECTED]; [EMAIL PROTECTED];
> 
>  And, the lines are now put in /var/log/messages.
> 
>  If you notice it says the process is now check instead of mimedefang.pl 
>  sending the output.  How come that changed?  I have restarted mimedefang 
>  and sysklogd, but no change.

I would guess the install changed syslog.conf.  Did you accept the
maintainer's version, or keep your own?


-- 
Any technology distinguishable from magic is insufficiently advanced.
(*)http://blinkynet.net/comp/uip5.html  Linux Counter #80292
- -http://www.faqs.org/rfcs/rfc1855.htmlPlease, don't Cc: me.


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



Re: Tool to configure sound

2007-10-30 Thread swhe
can u get the sound when u use a headphone?

On 10/31/07, Richard Lyons <[EMAIL PROTECTED]> wrote:
> On Tue, Oct 30, 2007 at 11:32:18PM +0100, Florian Kulzer wrote:
>
> [...]
> >
> > That is indeed the normal output, so speaker-test seems to think
> > everything is OK. What do you get from running "amixer"?
>
> Florian, hello.  How nice to have your help once again.
>
> Simple mixer control 'PCM',0
>   Capabilities: pvolume
>   Playback channels: Front Left - Front Right
>   Limits: Playback 0 - 255
>   Mono:
>   Front Left: Playback 230 [90%]
>   Front Right: Playback 230 [90%]
> Simple mixer control 'Front',0
>   Capabilities: pvolume pswitch
>   Playback channels: Front Left - Front Right
>   Limits: Playback 0 - 31
>   Mono:
>   Front Left: Playback 24 [77%] [on]
>   Front Right: Playback 24 [77%] [on]
> Simple mixer control 'Line',0
>   Capabilities: pvolume pswitch
>   Playback channels: Front Left - Front Right
>   Limits: Playback 0 - 31
>   Mono:
>   Front Left: Playback 19 [61%] [on]
>   Front Right: Playback 19 [61%] [on]
> Simple mixer control 'Mic',0
>   Capabilities: pvolume pswitch
>   Playback channels: Front Left - Front Right
>   Limits: Playback 0 - 31
>   Mono:
>   Front Left: Playback 4 [13%] [off]
>   Front Right: Playback 4 [13%] [off]
> Simple mixer control 'IEC958',0
>   Capabilities: pswitch pswitch-joined
>   Playback channels: Mono
>   Mono: Playback [off]
> Simple mixer control 'Capture',0
>   Capabilities: cvolume cswitch
>   Capture channels: Front Left - Front Right
>   Limits: Capture 0 - 31
>   Front Left: Capture 0 [0%] [off]
>   Front Right: Capture 0 [0%] [off]
> Simple mixer control 'Capture',1
>   Capabilities: cvolume cswitch
>   Capture channels: Front Left - Front Right
>   Limits: Capture 0 - 31
>   Front Left: Capture 0 [0%] [on]
>   Front Right: Capture 0 [0%] [on]
> Simple mixer control 'Input Source',0
>   Capabilities: enum
>   Items: 'Mic' 'Line'
>   Item0: 'Mic'
> Simple mixer control 'Input Source',1
>   Capabilities: enum
>   Items: 'Mic' 'Line'
>   Item0: 'Mic'
>
> I assume this is listing the results of my last wild click-on-
> anything-to-see-if-it-helps session with alsamixergui.
>
> Needless to say, nothing did help.  Perhaps the sound is just muted
> because Debian doesn't know about the blue function key things on
> the laptop.  I have tried pressing the speaker-related ones, but also
> to no avail.  Debian doesn't know about the screen brightness keys
> either -- gives 2 error messages for every keypress -- but they still
> work on the brightness.
>
> --
> richard
>
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
>
>


-- 
   Yours,
swhe


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



Re: GLIBC_2.4

2007-10-30 Thread hce
My appology. I simply did reply all, not knowing it was a message only
sent to me.

On 10/30/07, hyjial <[EMAIL PROTECTED]> wrote:
> A pleasure to help you, although I am quite clueless
> about GLIBC_2.4 ; I am going to dig a bit.
> Nevertheless, notice that you have sent your latest
> E-mail only to me and not to the list. You should fix
> it for others to give a try at fixing your problem.
> H.
>
>
>   
> __
> Stockage illimité de vos mails avec Yahoo! Mail. Changez aujourd'hui de mail !
>



Re: debian repositories - connection refused

2007-10-30 Thread Chris Bannister
On Sun, Oct 28, 2007 at 10:25:15PM -0500, Russell L. Harris wrote:
> A day or two ago I began getting a "111 connection refused" error when
> attempting to access the debian repositories with Synaptic.  
> 
> The command "aptitude update" also hangs.
> 
> However, Internet access with browser and mail appears to be normal.

Can you post the *exact* error message when trying aptitude from the
command line.

Trying a different mirror in your "/etc/apt/sources.lst" file may
indicate if the problem is outside or inside your machine.

-- 
Chris.
==


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



Re: GLIBC_2.4

2007-10-30 Thread Chris Bannister
On Mon, Oct 29, 2007 at 01:02:31PM +1100, hce wrote:
> Hi,
> 
> I am installing mutt and got an error of "GLIBC_2.4 is missing", I
> searched the Debian package, but could not found it. Which of Debian
> package contains the GLIBC_2.4?
> 
> Also, which http source should I add it to the source.list? I tried to
> download postfix-dev by apt-get install postfix-dev, but could not
> find it.

How are you installing mutt? Are you compiling mutt from source or
trying to install the Debian binary package?

-- 
Chris.
==


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



Re: Thinkpad T20 wireless troubles - revisited

2007-10-30 Thread Wayne Topa
Sjoerd Hiemstra([EMAIL PROTECTED]) is reported to have said:
> In an effort to get wireless on my IBM Thinkpad T30 laptop working,
> Wayne Topa wrote:
> > Sjoerd Hiemstra wrote:
> > > The installer saw three connection systems in the laptop:
> > >   - wireless connection with interface wifi0
> > >   - wireless connection with interface eth0
> > >   - ethernet connection with interface eth1.
> > > Odd enough, only eth0 worked, not wifi0 as one would expect.
> >
> > Now we need even more info.  Did you use the orinoco card to do the
> > install or was it eth1?  I suspect eth1 might be an IBM internal
> > Wireless interface.
> 
> The installer used eth0, as far as I recall.
> 
> > At a console prompt do
> > 
> > lspci -v 
> > 
> > Be sure the orinoco in plugged in when you run that.
> > That will tell us what the Network interfaces are.  They work in
> > windows so we have to find out what they are.  We need the lines like
> > these from my T40.  
> > 
> > :02:02.0 Network controller: Intel Corp. PRO/Wireless LAN 2100 3B
> > Mini PCI Adapter (rev 04)
> > 
> > :02:08.0 Ethernet controller: Intel Corp. 82801BD PRO/100 VE (MOB)
> > Ethernet Controller (rev 81)
> 
> Relevant output of 'lspci -v':
> 
> 02:02.0 Network controller: AIRONET Wireless Communications Cisco
> Aironet Wireless 802.11b
> 
> 02:08.0 Ethernet controller: Intel Corporation 82801CAM (ICH3)
> PRO/100 VE (LOM) Ethernet controller (rev 42)
> 
> (As a sidenote, there's no orinoco card; the OP had one.)
> 
> > Most (all) IBM interfaces will work in Linux so you need to know what
> > modules have to be loaded before bringing the interfaces up.
> 
> >From [1] I found that I probably need to do a 'modprobe airo_cs'.
> 
Add the airo_cs to /etc/modules. ie 'cat airo_cs >> /etc/modules'
or put it in the interfaces file

auto eth1
interface eth1 inet dhcp
pre-up modprobe airo_cs


post-down rmmod airo_cs

> Following the directions at [2], the entry for wifi0
> in /etc/network/interfaces now looks like this:
> 
> iface wifi0 inet dhcp
> wireless-essid <>
> wireless-key <>
> auto wifi0
> allow-hotplug wifi0
> 
> If I do an 'iwlist wifi0 scan' then my AP is detected correctly (as
> well as two neighbouring APs - interesting).
> 
> There is only one remaining obstacle.
> The following messages appear if I do an 'ifup wifi0'.
> They also appear after '/etc/init.d/networking stop' and then
> '/etc/init.d/networking start'.
> And they also appear if I do a 'dhclient wifi0'.
> 
Prior to doing the ifup, what does iwconfig show?

I have 5 wireless interfaces set up on my T40.  Some of them will not
come up if I do the 'iwconfig wlan0 essid "myAP"' _before_ I do the
'ifconfig wlan0 up'.  It seems to depend on the different drivers but
the ifconfig works, here, for all of them.

So I have a small script that I use to bring 
up which ever one I want to use.  The script brings up all the
interfaces in the same way.

1. Bring up the interface using 'ifconfig '
2. Run 'iwlist  scan'
3, Get which AP to connect to.  (any) is allowed
4. Run 'iwconfig  essid (answer from 3)'
5. Run 'dhclient '
6. Run 'ifconfig '  (To show the connection is up.)

I also don't use WPA on my AP as I have the dhcp server set to allow
only our MAC addresses and have it set to assign static IP addresses 
based on those MAC's.

We are very rural here.  :-)  Besides being only on dialup now.  


> wifi0: unknown hardware address type 801
> wifi0: unknown hardware address type 801
> Listening on LPF/wifi0/
> Sending on LPF/wifi0/
> Sending on Socket/fallback
> DHCPDISCOVER on wifi0 to 255.255.255.255 port 67 interval 5
> DHCPDISCOVER on wifi0 to 255.255.255.255 port 67 interval 12
> DHCPDISCOVER on wifi0 to 255.255.255.255 port 67 interval 14
> DHCPDISCOVER on wifi0 to 255.255.255.255 port 67 interval 11
> DHCPDISCOVER on wifi0 to 255.255.255.255 port 67 interval 12
> DHCPDISCOVER on wifi0 to 255.255.255.255 port 67 interval 7
> No DHCPOFFERS received.
> No working leases in persistent database - sleeping.
> 
> Something wrong with DHCP on the AP?  My main computer works well with
> it, through a wired ethernet connection.
> 

Maybe.  I used wireshark to capture the traffic to/from the AP to
troubleshoot connection problems.

:-) HTH, YMMV, HAND :-)

Wayne

-- 
I have a dream: 1073741824 bytes free.
___


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



Re: creative zen management with command-line interface

2007-10-30 Thread Davide Mancusi

Russell L. Harris ha scritto:

I have used gnupod (command-line interface) with a 4th-generation
iPod.  It was an enjoyable experience.  I would like to find a tool of
this sort to manage the Creative Zen.


	Amarok has got a plugin to manage "Creative Nomad Jukebox" mp3 players. 
Might be worth a shot...


Hope that helps.
Davide

--
A tautology is a thing which is tautological.
--
Time flies like an arrow.  Fruit flies like a banana.


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




Re: Charging iPod / Listening to music

2007-10-30 Thread Davide Mancusi

Richard Lyons ha scritto:

  When I plug my iPod using the USB cable I get the 'Do not
disconnect' screen on the ipod. It's great because I can see the ipod
is charging. But to listen to music I do not understand what I need to
do. I tried:

its not possible to listen and charge an ipod on any platform with the
"ipod firmware".  I went through this many years ago. Maybe look at
rockbox?


In fact, this may be another advantage of the samsung.  You cannot
listen via the headphones when the USB is connected, but since you have
complete access to the filesystem while it is charging, I assume you
could listen via the computer.  If I get sound working on the laptop, I
test this.


	You can actually do the same thing with an iPod using Amarok; it works 
for me. Oh, and my disconnection sequence is

$ umount /mnt/ipod && kdeeject /dev/ipod
where /dev/ipod is a udev-created symlink to the relevant iPod device.

HTH,
Davide

--
A tautology is a thing which is tautological.
--
Time flies like an arrow.  Fruit flies like a banana.


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




Re: Charging iPod / Listening to music

2007-10-30 Thread Nate Duehr


On Oct 30, 2007, at 4:01 PM, Mathieu Malaterre wrote:


Hi there,

 When I plug my iPod using the USB cable I get the 'Do not
disconnect' screen on the ipod. It's great because I can see the ipod
is charging. But to listen to music I do not understand what I need to
do. I tried:

$ eject /dev/sda
-> return an error

 Then I tried :

$ sudo rmmod usb_storage


So you're shutting down the entire USB storage subsystem.  Good thing  
you don't have any other USB-based hard disks plugged in at the same  
time!



 It works, I can listen to music again, but even if the cable is
pluged it does not seems to be charging...


That makes sense.  USB devices have to "request" how much power-draw  
they want to pull from the host.  If you kill the "stuff" that talks  
to USB devices, they can't request power.


--
Nate Duehr
[EMAIL PROTECTED]




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




Re: creative zen management with command-line interface

2007-10-30 Thread Russell L. Harris
* cs <[EMAIL PROTECTED]> [071030 16:00]:
> On Sun, 2007-10-21 at 17:43 -0500, Russell L. Harris wrote:

>> I have been searching without success for a command-line tool to
>> manage a Creative Zen mp3 player.
>> 
>> The only Creative Zen management tool for Linux which I have
>> discovered thus far is gnomad2 (version 2.8.12-2 currently in the
>> Debian "testing" archive).
>> 
>> But gnomad2 (which has a GUI) crashes on occasion, takes forever to
>> delete a file, and appears to have left a corrupted file on my
>> Creative Zen.  (Thankfully, Creative built into the Zen a drive
>> clean-up utility.)  So for the Zen, I am using Creative Media
>> Source running in W2000.
> 
> Unfort I can't get gnomad2 (2.8.8-1.1) to detect my Zen - is there
> anything specific you had to do?
> Thanks, M
> 

I am running Debian "testing".  I did nothing other than to plug the
Zen (which is a "Creative Nomad Jukebox Zen Xtra") into my USB hub,
and gnomad2 was able to see it.

See the gnomad2 project page on sourceforge.net ("Getting your
Jukebox/Zen running under Linux").  See also the gnomad2 README.

I did experience inconsistent behaviour with the USB ports on my
desktop machine, which has an ASUS P4PE motherboard.  Plugging a cable
from the Zen directly into the machine did not always work, but
plugging into a Belkin USB hub which was plugged into the machine
worked every time.

>> I have used gnupod (command-line interface) with a 4th-generation
>> iPod.  It was an enjoyable experience.  I would like to find a tool
>> of this sort to manage the Creative Zen.
> 
> Did anybody suggest alternatives to gnomad2??

I have not seen a reply.

> 
> M
> 


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



Re: etch apt - Failed to fetch kernel, Size Mismatch error

2007-10-30 Thread Raj Kiran Grandhi

Siju George wrote:

Hi I am unable to upgrade my Debian Etch System to the new kernel.
Could some one please help me with this?

Details below

==
fsdc:~# cat /etc/apt/sources.list
deb http://ftp.de.debian.org/debian/ etch main contrib
deb http://security.debian.org etch/updates main contrib
#for sun java
#deb http://ftp.de.debian.org/debian/ unstable non-free
fsdc:~# apt-get update
Get:1 http://security.debian.org etch/updates Release.gpg [189B]
Get:2 http://ftp.de.debian.org etch Release.gpg [378B]
Hit http://security.debian.org etch/updates Release
Hit http://ftp.de.debian.org etch Release
Ign http://security.debian.org etch/updates/main Packages/DiffIndex
Ign http://ftp.de.debian.org etch/main Packages/DiffIndex
Ign http://security.debian.org etch/updates/contrib Packages/DiffIndex
Ign http://ftp.de.debian.org etch/contrib Packages/DiffIndex
Hit http://security.debian.org etch/updates/main Packages
Hit http://ftp.de.debian.org etch/main Packages
Hit http://security.debian.org etch/updates/contrib Packages
Hit http://ftp.de.debian.org etch/contrib Packages
Fetched 2B in 2s (1B/s)
Reading package lists... Done
fsdc:~# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree... Done
Calculating upgrade... Done
The following packages will be upgraded:
  dhcp-client librpcsecgss3 linux-image-2.6.18-5-486 linux-image-2.6.18-5-686
4 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 32.5MB/32.6MB of archives.
After unpacking 24.6kB disk space will be freed.
Do you want to continue [Y/n]? y
Get:1 http://security.debian.org etch/updates/main
linux-image-2.6.18-5-486 2.6.18.dfsg.1-13etch4 [16.2MB]
Get:2 http://security.debian.org etch/updates/main
linux-image-2.6.18-5-686 2.6.18.dfsg.1-13etch4 [16.3MB]
Fetched 652B in 1s (398B/s)
Failed to fetch
http://security.debian.org/pool/updates/main/l/linux-2.6/linux-image-2.6.18-5-486_2.6.18.dfsg.1-13etch4_i386.deb
 Size mismatch
Failed to fetch
http://security.debian.org/pool/updates/main/l/linux-2.6/linux-image-2.6.18-5-686_2.6.18.dfsg.1-13etch4_i386.deb
 Size mismatch
E: Unable to fetch some archives, maybe run apt-get update or try with
--fix-missing?
fsdc:~# apt-get update --fix-missing
Get:1 http://security.debian.org etch/updates Release.gpg [189B]
Get:2 http://ftp.de.debian.org etch Release.gpg [378B]
Hit http://security.debian.org etch/updates Release
Hit http://ftp.de.debian.org etch Release
Ign http://security.debian.org etch/updates/main Packages/DiffIndex
Ign http://ftp.de.debian.org etch/main Packages/DiffIndex
Ign http://security.debian.org etch/updates/contrib Packages/DiffIndex
Ign http://ftp.de.debian.org etch/contrib Packages/DiffIndex
Hit http://security.debian.org etch/updates/main Packages
Hit http://ftp.de.debian.org etch/main Packages
Hit http://security.debian.org etch/updates/contrib Packages
Hit http://ftp.de.debian.org etch/contrib Packages
Fetched 2B in 2s (1B/s)
Reading package lists... Done
fsdc:~# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree... Done
Calculating upgrade... Done
The following packages will be upgraded:
  dhcp-client librpcsecgss3 linux-image-2.6.18-5-486 linux-image-2.6.18-5-686
4 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 32.5MB/32.6MB of archives.
After unpacking 24.6kB disk space will be freed.
Do you want to continue [Y/n]? y
Get:1 http://security.debian.org etch/updates/main
linux-image-2.6.18-5-486 2.6.18.dfsg.1-13etch4 [16.2MB]
Get:2 http://security.debian.org etch/updates/main
linux-image-2.6.18-5-686 2.6.18.dfsg.1-13etch4 [16.3MB]
Fetched 652B in 1s (465B/s)
Failed to fetch
http://security.debian.org/pool/updates/main/l/linux-2.6/linux-image-2.6.18-5-486_2.6.18.dfsg.1-13etch4_i386.deb
 Size mismatch
Failed to fetch
http://security.debian.org/pool/updates/main/l/linux-2.6/linux-image-2.6.18-5-686_2.6.18.dfsg.1-13etch4_i386.deb
 Size mismatch
E: Unable to fetch some archives, maybe run apt-get update or try with
--fix-missing?
fsdc:~# uname -a
Linux fsdc 2.6.18-5-486 #1 Thu Aug 30 01:46:45 UTC 2007 i686 GNU/Linux
fsdc:~#
=
Thank you so much :-)

Kind Regards
Siju




Inspect the output of

$ apt-cache show linux-image-2.6.18-5-486 --no-all-versions

and

$ wget --spider \
http://security.debian.org/pool/updates/main/l/linux-2.6/linux-image-2.6.18-5-486_2.6.18.dfsg.1-13etch4_i386.deb

Compare the "Size" field of apt-cache output with the "Length" field of 
wget output. They should match. (they do on my system)


If you get different sizes, then delete all the cached package lists in 
/var/lib/apt/lists, run apt-get update and apt-get dist-upgrade again to 
see if it fixes the problem



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




Re: Charging iPod / Listening to music

2007-10-30 Thread Richard Lyons
On Tue, Oct 30, 2007 at 07:43:08PM -0400, steve wrote:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> Richard Lyons wrote:
> > On Tue, Oct 30, 2007 at 11:01:53PM +0100, Mathieu Malaterre wrote:
> > 
> >>   When I plug my iPod using the USB cable I get the 'Do not
> >> disconnect' screen on the ipod. It's great because I can see the ipod
> >> is charging. But to listen to music I do not understand what I need to
> >> do. I tried:
> 
> its not possible to listen and charge an ipod on any platform with the
> "ipod firmware".  I went through this many years ago. Maybe look at
> rockbox?

In fact, this may be another advantage of the samsung.  You cannot
listen via the headphones when the USB is connected, but since you have
complete access to the filesystem while it is charging, I assume you
could listen via the computer.  If I get sound working on the laptop, I
test this.

-- 
richard


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



Re: Apt-Get or Aptitude

2007-10-30 Thread Richard Lyons
On Tue, Oct 30, 2007 at 05:22:16PM -0600, Nate Duehr wrote:

[...]
> aptitude is by far one of the best package management tools out  
> there.  Newbies and folks really stuck in the graphic-oriented/desktop  
> user world may like synaptic better, but for just getting things done  
> -- aptitude wins hands down, almost all the time.

I do agree!  Just occasionally, I fire up synaptic to browse a category,
say stuff to do with sound, or mail for example.  It is slightly easier
in synaptic to browse than it is in aptitude.  And I wish you could
reverse direction in mid-search in aptitude.  I often race past a
relevant match by being too quick on the "n".  If only "b" for back or
"p" for previous or "N" or whatever switched the direction without
having to reenter the search using \ or page up enough times to probably
pass whatever it was you didn't quite see...

Anyway, niggles apart, aptitude rules OK.

-- 
richard


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



Re: Contacts printing

2007-10-30 Thread Raj Kiran Grandhi

Rodolfo Medina wrote:

On Mon, Oct 29, 2007 at 01:12:06PM +0100, Rodolfo Medina wrote:


I wish a way to print the
Contacts (about 300) that I have stored in a directory, one per file.



Douglas A. Tutty" <[EMAIL PROTECTED]> writes:


I think you just need to write a script in your favorite language to
parse the files and format it to your liking then just print it out.



Rodolfo:
 

Every file is like this:

BEGIN:VCARD
VERSION:2.1
N:;Oliver Hardy ;;;
TEL;CELL:3391234567
TEL;VOICE;HOME:081123567
FN:Oliver Hardy
END:VCARD

, so the major problem would be sorting: how to sort whole items like that?



"Douglas A. Tutty" <[EMAIL PROTECTED]> writes:


So, assume that anything is possible:

1.  What do you want to do?



Rodolfo:
 

I want to cat all those file into one file and then sort the above entries, I
don't know how.  I also want to eliminate redundant symbols and words like
`BEGIN:VCARD', `END:VCARD', `N:;', `VERSION:2.1' etc.



Douglas:
 

2.  In what language do you want to do it?



Rodolfo:
 

This is the same for me.



Douglas:


What I mean is, in which programming language(s) are you proficient?


None.


The following line will get you your contacts in a format you can import 
into a spreadsheet.


$ for file in /path/to/dir/*;do tail -n4 $file|head -n 3 \
|cut -f 2 -d :|xargs echo $(basename $file);done

That will put the filename, the two phone numbers and name in each line. 
You might want to replace the spaces with comma's and save the file to 
some name ending with .csv to ease import into a spreadsheet



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




Re: Charging iPod / Listening to music

2007-10-30 Thread steve
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Richard Lyons wrote:
> On Tue, Oct 30, 2007 at 11:01:53PM +0100, Mathieu Malaterre wrote:
> 
>>   When I plug my iPod using the USB cable I get the 'Do not
>> disconnect' screen on the ipod. It's great because I can see the ipod
>> is charging. But to listen to music I do not understand what I need to
>> do. I tried:

its not possible to listen and charge an ipod on any platform with the
"ipod firmware".  I went through this many years ago. Maybe look at
rockbox?
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHJ8GLvcaLutW7oXQRApeaAJ9EGGEcwcuUXoRw2qHijkSrFt7+NACdE+dr
P6k7lqvn9CB39LAmjnfpx2A=
=Ed0M
-END PGP SIGNATURE-


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



Re: Tool to configure sound

2007-10-30 Thread Richard Lyons
On Tue, Oct 30, 2007 at 11:32:18PM +0100, Florian Kulzer wrote:

[...]
> 
> That is indeed the normal output, so speaker-test seems to think
> everything is OK. What do you get from running "amixer"?

Florian, hello.  How nice to have your help once again.

Simple mixer control 'PCM',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 255
  Mono:
  Front Left: Playback 230 [90%]
  Front Right: Playback 230 [90%]
Simple mixer control 'Front',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 24 [77%] [on]
  Front Right: Playback 24 [77%] [on]
Simple mixer control 'Line',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 19 [61%] [on]
  Front Right: Playback 19 [61%] [on]
Simple mixer control 'Mic',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 4 [13%] [off]
  Front Right: Playback 4 [13%] [off]
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 31
  Front Left: Capture 0 [0%] [off]
  Front Right: Capture 0 [0%] [off]
Simple mixer control 'Capture',1
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 31
  Front Left: Capture 0 [0%] [on]
  Front Right: Capture 0 [0%] [on]
Simple mixer control 'Input Source',0
  Capabilities: enum
  Items: 'Mic' 'Line'
  Item0: 'Mic'
Simple mixer control 'Input Source',1
  Capabilities: enum
  Items: 'Mic' 'Line'
  Item0: 'Mic'

I assume this is listing the results of my last wild click-on-
anything-to-see-if-it-helps session with alsamixergui.

Needless to say, nothing did help.  Perhaps the sound is just muted 
because Debian doesn't know about the blue function key things on 
the laptop.  I have tried pressing the speaker-related ones, but also 
to no avail.  Debian doesn't know about the screen brightness keys 
either -- gives 2 error messages for every keypress -- but they still
work on the brightness.

-- 
richard


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



Re: Apt-Get or Aptitude

2007-10-30 Thread Nate Duehr


On Oct 29, 2007, at 9:49 PM, Daniel Burrows wrote:


 Also, I was trying to gently point out that there's more to aptitude
than the command-line.  Excluding generic shared code, the rest of
aptitude is about 6 times larger than the command-line interface,  
and it

would be nice to think people occasionally use all that stuff. :-)  I
occasionally notice people writing that they just discovered  
aptitude's

curses interface after using it for ages, so I know that this isn't
universally known.



A!  I see.  You were doing a little marketing for the CUI.  :-)

I actually knew about the curses interface before I ever tried the  
command-line... and like it more, since it has more powerful  
features.  But then again, I was coming from dselect, and very used to  
that curses interface years and years ago.


I think the niftiest feature (and one that still has me scratching my  
head as to how you accomplished it) is the MOUSE control in curses  
over SSH from a WINDOWS box?!  That's amazing.


(In case you're not sure what I mean... get on a Windows box, fire up  
PuTTY (I'm sure PuTTY is also "helping" in this scenario somehow) and  
then click on the menu items in the curses interface with a mouse.   
Whoa... it works?  I stumbled across that by accident one day, and  
it's one of my favorite things to show programmers who think they're  
really good curses programmers... "Can you make your app do THIS?"   
Heh heh.  Wild.)


aptitude is by far one of the best package management tools out  
there.  Newbies and folks really stuck in the graphic-oriented/desktop  
user world may like synaptic better, but for just getting things done  
-- aptitude wins hands down, almost all the time.


--
Nate Duehr
[EMAIL PROTECTED]




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




Re: /etc/host.conf questions

2007-10-30 Thread Marty

Mike Kuhar wrote:

That would be
/etc/nsswitch.conf


Is this file used by Etch?  Here is what I get with the apt-file "search" 
command:

# apt-file search /etc/nsswitch.conf
gosa: usr/share/doc/gosa/contrib/altlinux/etc/nsswitch.conf
systemimager-boot-i386-standard: 
usr/share/systemimager/boot/i386/standard/initrd_template/etc/nsswitch.conf
systemimager-boot-ia64-standard: 
usr/share/systemimager/boot/ia64/standard/initrd_template/etc/nsswitch.conf

yard: usr/share/yard/Replacements/etc/nsswitch.conf

>
> on the line marked 'hosts'
>
> -mike


-Original Message-
From: Paul E Condon [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, October 30, 2007 11:21 AM

To: debian-user@lists.debian.org
Subject: /etc/host.conf questions

I'm running Etch. I'm involved in a project to understand
how networking is set up on my home lan. I'm looking at
/etc/host.conf . It contains a single line:

multi on

man host.conf says that a possible config-line in host.conf
is 'order', and there is no such line in my copy. This line
is supposed to determine whether BIND or /etc/hosts if 
searched first. Since there is no such line, resolver must

be doing some default. What is the default order in Debian
Etch? Or, is there some other place where the order is really
set in Debian Etch?




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




bcm43xx problem

2007-10-30 Thread Sinan Nalkaya
Hi,

i have updated Etch installed, Dell inspiron 1501 laptop, which has broadcom
wireless chip on it. i followed the every instruction step by step on
http://bcm43xx.berlios.de/ . since i have an supported chip (4311 rev1)
according to the list on bcm43xx homepage, i installed the
bcm43xx-fwcutter, run it and get the needed *.fw files under
/lib/firmware, but udev couldnt create device file for my
wireless ethernet. here is the commands i typed and results.

sinan:/home/sinan# lspci -nn | grep 14e4
05:00.0 Network controller [0280]: Broadcom Corporation Dell Wireless 1390
WLAN Mini-PCI Card [14e4:4311] (rev 01)
08:00.0 Ethernet controller [0200]: Broadcom Corporation BCM4401-B0
100Base-TX [14e4:170c] (rev 02)
sinan:/home/sinan#modprobe bcm43xx
dmesg;
ieee80211_crypt: registered algorithm 'NULL'
ieee80211: 802.11 data/management/control stack, git-1.1.13
ieee80211: Copyright (C) 2004-2005 Intel Corporation <
[EMAIL PROTECTED]>
bcm43xx driver

lsmod;
bcm43xx 408640 0
firmware_class 10048 1 bcm43xx
ieee80211softmac 27456 1 bcm43xx
ieee80211 30664 2 bcm43xx,ieee80211softmac
ieee80211_crypt 6272 1 ieee80211

udev-monitor;
sinan:/sys/class/net# udevmonitor
udevmonitor prints the received event from the kernel [UEVENT]
and the event which udev sends out after rule processing [UDEV]

UEVENT[1193788238.883126] add@/module/ieee80211_crypt
UDEV [1193788238.884073] add@/module/ieee80211_crypt
UEVENT[1193788238.886112] add@/module/ieee80211
UDEV [1193788238.887048] add@/module/ieee80211
UEVENT[1193788238.888978] add@/module/ieee80211softmac
UDEV [1193788238.889910] add@/module/ieee80211softmac
UEVENT[1193788238.891280] add@/module/firmware_class
UEVENT[1193788238.894374] add@/module/bcm43xx
UEVENT[1193788238.906811] add@/bus/pci/drivers/bcm43xx
UDEV [1193788238.907735] add@/module/firmware_class
UDEV [1193788238.908371] add@/module/bcm43xx
UDEV [1193788238.908935] add@/bus/pci/drivers/bcm43xx

kernel is 2.6.18-5-k7

what can i try from here,i dont want to use ndiwrapper.
thanks.


Re: Tool to configure sound

2007-10-30 Thread Florian Kulzer
On Tue, Oct 30, 2007 at 23:09:47 +0100, Richard Lyons wrote:
> On Tue, Oct 30, 2007 at 10:13:30PM +0100, Florian Kulzer wrote:
> > On Tue, Oct 30, 2007 at 22:00:43 +0100, Richard Lyons wrote:
> [...]
> > > 
> > > Mine is an Acer Aspire 1640Z, FWIW.
> > 
> > What happens if you run "speaker-test", do you get an error message or
> > is it just not producing any sound?
> 
> It says this sort of thing:
> 
> speaker-test 1.0.13
> 
> Playback device is default
> Stream parameters are 48000Hz, S16_LE, 1 channels
> Using 16 octaves of pink noise
> Rate set to 48000Hz (requested 48000Hz)
> Buffer size range from 2048 to 16384
> Period size range from 1024 to 1024
> Using max buffer size 16384
> Periods = 4
> was set period_size = 1024
> was set buffer_size = 16384
>  0 - Front Left
> Time per period = 2,657907
>  0 - Front Left
> Time per period = 2,986793
>  0 - Front Left
> Time per period = 2,986802
>  0 - Front Left
> Time per period = 2,986797
>  0 - Front Left
> ...
> 
> until I ctl-c out of it.  But silently.
> 
> That doesn't look to me like errors.

That is indeed the normal output, so speaker-test seems to think
everything is OK. What do you get from running "amixer"?


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


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



Re: When I try to save html pages, nothing happens

2007-10-30 Thread Florian Kulzer
On Tue, Oct 30, 2007 at 15:07:23 -0700, tom arnall wrote:
> On Tuesday 30 October 2007 14:28, Andrew Sackville-West wrote:
> > On Tue, Oct 30, 2007 at 02:02:42PM -0700, tom arnall wrote:
> > > when you say 'the rest of /var should be owned by root as well,' do you
> > > mean everything under /var, not just the immediate subdirectories?
> >
> > [EMAIL PROTECTED]:~/src/gnucash$ ls -lR /var/* 2>&1 | awk '/^\// { /
> > curr_dir=$0 } /^[^\/tl]/ {if ($3!="root")  print curr_dir " " $0}' > /
> > ~/non_root_vars
> >
> > produces the attached output. I think it is what you need, showing
> > only those things that are *not* root-owned in my /var.
> >
> > you can ignore /var/run.
> >
> > hth
> >
> > A
> 
> running:
> 
>   ls -lR /var/* 2>&1 | awk '/^\// {  curr_dir=$0 } /^[^\/tl]/ {if 
> ($3!="root")  print curr_dir " " $0}' >  ~/non_root_vars
> 
> in file 't', i get:
> 
>   [EMAIL PROTECTED]:~$ ./t
>   ./t: line 1: /bin: is a directory
> 
> and no 'non_root_vars' in my home.

I would prefer using find for this:

find /var/ -uid +0 -fprintf ~/non_root_vars "%p %M %u %g\n"

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



Re: alsaconf and printing

2007-10-30 Thread Ed
On Tue, 30 Oct 2007 22:10:15 +0100, Florian Kulzer wrote:

> On Tue, Oct 30, 2007 at 19:32:51 -, Ed wrote:
>> > 
>> > To test your ability to access the SMB-shared printer, run this
>> > command on the client machine:
>> > 
>> > smbclient -U USER -L //HOST
>> > 
>> > This will list all SMB-shares (folders, printers, etc.) which USER
>> > can access on HOST. (You will be prompted for USER's password on
>> > HOST.)
>> > 
>> > 
>> When I issue the above command from either the host machine that the
>> printer is connect to, OR the Debian machine that I have been trying to
>> get working, I get back an error message session setup failed:
>> NT_STATUS_LOGON_FAILURE --- yet the linux machine that the printer is
>> connected to prints fine, AND the two windows laptops print fine
>> through the linux samba server.  However, I suppose I have something
>> wrong in my smb.conf file.
> 
> Does your smb.conf file allow connections from that computer?
> 
> Are you sure you are using the right USERname and password?
> 
> I think getting NT_STATUS_LOGON_FAILURE means that there is at least
> some communication between client and host, so we can probably rule out
> elementary network problems. Nevertheless it cannot hurt to try pinging
> the host from the client and making sure that there isn't a firewall on
> the host blocking access of the client.
> 
> --
> Regards,| http://users.icfo.es/Florian.Kulzer
>   Florian   |

Hi,

I added a line to my /etc/hosts file on the debian machine indicating the 
ip address of the local machine that the printer is connected to and the 
machine name. Really the only reason I did this was so when I wanted to 
ping it, I could use the machine name which is 3 letters long, verses the 
ip number which is 12 char long.  Anyway, after that - printing and 
smbclient -H username started to work.  I don't know why, but then I 
guess I more want to use the machine, then become an expert in debian so 
I suppose, I am satisfied as long as it continues to work.  I admit, I 
hate when things just start working, or doing something for reason x 
solves problem y as serendipity.  Oh well  THANKS very much for all your 
help.  I 'think' everything is working now.

Ed


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



Re: Charging iPod / Listening to music

2007-10-30 Thread Richard Lyons
On Tue, Oct 30, 2007 at 11:01:53PM +0100, Mathieu Malaterre wrote:

>   When I plug my iPod using the USB cable I get the 'Do not
> disconnect' screen on the ipod. It's great because I can see the ipod
> is charging. But to listen to music I do not understand what I need to
> do. I tried:
> 
>  $ eject /dev/sda
> -> return an error

I had terrible problems with the ipod nano too.  IIRC, I eventually got
it to work with gtkpod, which was able to eject the pod so that is
"allowed" me to unplug it.  It was my first adventure with an mp3
player, so I may just have been being stupid.  Anyway my son borrowed it
and never gave it back, so I was free to buy a Samsung YP-K3 instead.
After a rather hairy experience "upgrading" the firmaware to the Taiwan
version, it is far easier, reads ogg or mp3 files, can be managed via
konqueror, mc or simply cli!  But listening to the pod while it is
attached?  I had the impression that was impossible with either machine.

Not that that helps -- I suppose you were not thinking of lending the
ipod permanently as a solution...

-- 
richard


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



Re: Tool to configure sound

2007-10-30 Thread Richard Lyons
On Tue, Oct 30, 2007 at 10:13:30PM +0100, Florian Kulzer wrote:

> On Tue, Oct 30, 2007 at 22:00:43 +0100, Richard Lyons wrote:
[...]
> > 
> > Mine is an Acer Aspire 1640Z, FWIW.
> 
> What happens if you run "speaker-test", do you get an error message or
> is it just not producing any sound?

It says this sort of thing:

speaker-test 1.0.13

Playback device is default
Stream parameters are 48000Hz, S16_LE, 1 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 2048 to 16384
Period size range from 1024 to 1024
Using max buffer size 16384
Periods = 4
was set period_size = 1024
was set buffer_size = 16384
 0 - Front Left
Time per period = 2,657907
 0 - Front Left
Time per period = 2,986793
 0 - Front Left
Time per period = 2,986802
 0 - Front Left
Time per period = 2,986797
 0 - Front Left
...

until I ctl-c out of it.  But silently.

That doesn't look to me like errors.

-- 
richard


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



Re: When I try to save html pages, nothing happens

2007-10-30 Thread tom arnall
On Tuesday 30 October 2007 14:28, Andrew Sackville-West wrote:
> On Tue, Oct 30, 2007 at 02:02:42PM -0700, tom arnall wrote:
> > when you say 'the rest of /var should be owned by root as well,' do you
> > mean everything under /var, not just the immediate subdirectories?
>
> [EMAIL PROTECTED]:~/src/gnucash$ ls -lR /var/* 2>&1 | awk '/^\// { /
> curr_dir=$0 } /^[^\/tl]/ {if ($3!="root")  print curr_dir " " $0}' > /
> ~/non_root_vars
>
> produces the attached output. I think it is what you need, showing
> only those things that are *not* root-owned in my /var.
>
> you can ignore /var/run.
>
> hth
>
> A

running:

ls -lR /var/* 2>&1 | awk '/^\// {  curr_dir=$0 } /^[^\/tl]/ {if 
($3!="root")  print curr_dir " " $0}' >  ~/non_root_vars

in file 't', i get:

[EMAIL PROTECTED]:~$ ./t
./t: line 1: /bin: is a directory

and no 'non_root_vars' in my home.


tom




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



Charging iPod / Listening to music

2007-10-30 Thread Mathieu Malaterre
Hi there,

  When I plug my iPod using the USB cable I get the 'Do not
disconnect' screen on the ipod. It's great because I can see the ipod
is charging. But to listen to music I do not understand what I need to
do. I tried:

 $ eject /dev/sda
-> return an error

  Then I tried :

 $ sudo rmmod usb_storage

  It works, I can listen to music again, but even if the cable is
pluged it does not seems to be charging...

  and doing a 'modprobe usb_storage' leads me to the 'do not
disconnect' screen back again.

Using: debian stable, dmesg returns:
...
scsi 0:0:0:0: Direct-Access AppleiPod 1.62 PQ: 0 ANSI: 0

Thanks for suggestion,

-- 
Mathieu


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



Re: gnome screensavers - can I get more?

2007-10-30 Thread Martin Waller

Chris Bannister wrote:

On Sat, Oct 27, 2007 at 05:27:36PM +0100, Martin Waller wrote:
  

[EMAIL PROTECTED]:~$ xscreensaver &
[2] 10481
[1]   Exit 127xscrennsaver


  
[EMAIL PROTECTED]:~$ Error: Cairo does not yet support the requested image 
format:

   Depth: 16
   Alpha mask: 0x
   Red   mask: 0x003f
   Green mask: 0x07c0
   Blue  mask: 0xf800
Please file an enhacement request (quoting the above) at:


 ^^
Hi Martin,

Were the errors, underlined above, the actual on screen errors as
printed? If so then it is sloppy coding and a bug should be filed.

If not, but caused by mistyping on your part, then could you please in
future either:

1) cut 'n' paste errors into your email client.
or
2) use the script program or redirection and then "read" the program
into your email program.

If you are using mutt + vim, then from within vim while you are
composing your mail:

 * move the cursor to where you want to type the errors produced

 * press  to get in command mode

 * type :r filename
   where filename is the file either from using script or from using
   redirection.

Mistakes in transcribing error messages can only lead two confusions.
:-)

  
The errors were 'cut'n'pasted' - thats how the errors appears. I musts 
admit I hadn't even noticed the missing 'n' in 'enhancement'. I think 
'sloppy coding' is a bit strong for a simple typo like that tho, don't 
you?  At least it reported an intelligible error.  The problem is now 
fixed however (follow rest of thread).


Martin


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




MIMEDefang Logging Question

2007-10-30 Thread Jeff Grossman
I was wondering if somebody would be able to shed some light on a problem
I am having with MIMEDefang logging to syslog.

I have compiled MIMEDefang from source instead of using the Debian
packages.  I am running a Debian testing system otherwise.

Right after I restart the MIMEDefang process my logs will look like this:

Oct 28 04:15:02 apple mimedefang.pl[12585]: greylist: white; 0;
82.118.211.*; [EMAIL PROTECTED]; [EMAIL PROTECTED];

After about 5-10 minutes, the logs will change to this:

Oct 28 09:44:18 apple check[5889]: greylist: white; 0; 70.103.162.*;
[EMAIL PROTECTED]; [EMAIL PROTECTED];

The first logs are logged in /var/log/maillog which is correct.  But, the
problem ones get logged to /var/log/messages.

If you notice it says the process is now check instead of mimedefang.pl
sending the output.  How come that changed?  I have restarted mimedefang
and sysklogd, but no change.  It was running fine for a couple of days,
but then the above started happening.  I have been running this same
MIMEDefang on a Gentoo box with no problems.  This is only on the Debian
setup that I have this.  Where is this "check" coming from?  And, how can
I monitor why the syslog facility is changing?

Any help would be appreciated.

Thanks,
Jeff



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



Re: Tool to configure sound

2007-10-30 Thread Florian Kulzer
On Tue, Oct 30, 2007 at 22:00:43 +0100, Richard Lyons wrote:
> On Wed, Oct 31, 2007 at 07:52:59AM +1100, Charlie wrote:
> > On Wed, 31 Oct 2007, Richard Lyons shared this with us all:
> [...]
> > >--} Lucky man!  I wish it would work for my Acer laptop!  Still, I suppose
> > >--} after all these years I should know better than to expect sound on a
> > >--} laptop. I see I have 3 modules loaded that you don't have, maybe it's
> > >--} something to do with them.
> > >--}
> > >--} snd_hda_intel  17140  0
> > >--} snd_hda_codec 126496  1 snd_hda_intel
> > >--} snd_pcm_oss35968  0
> > >--} snd_mixer_oss  15872  1 snd_pcm_oss
> > >--} snd_pcm74532  3 snd_hda_intel,snd_hda_codec,snd_pcm_oss
> > >--} snd_timer  20836  1 snd_pcm
> > >--} snd48100  6
> > >--} snd_hda_intel,snd_hda_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
> > >--} soundcore   9216  1 snd
> > >--} snd_page_alloc  9512  2 snd_hda_intel,snd_pcm
> > >--}
> > >--} Still, it's all way over my head...
> > 
> > I have two Acer laptops and both have sound configured and working using 
> > alsaconf, have you tried it?
> 
> A hundred times.  It says ALSA is ready to use, and wishes me a lot of
> fun.   As long as it's happy...  
> In fact the link given earlier in the thread to
> http://newbiedoc.berlios.de/wiki/Sound_in_Debian_GNU/Linux
> says:
> Alsaconf is so buggy that it is best not to use it at the moment
> (according to [bug no 432678]).
> 
> You now have to use udevtrigger instead of alsaconf.
> 
> But that did nothing useful either as far as I could tell.
> 
> Mine is an Acer Aspire 1640Z, FWIW.

What happens if you run "speaker-test", do you get an error message or
is it just not producing any sound?

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


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



Re: When I try to save html pages, nothing happens

2007-10-30 Thread Andrew Sackville-West
On Tue, Oct 30, 2007 at 02:02:42PM -0700, tom arnall wrote:
> 
> 
> when you say 'the rest of /var should be owned by root as well,' do you mean 
> everything under /var, not just the immediate subdirectories?
> 
[EMAIL PROTECTED]:~/src/gnucash$ ls -lR /var/* 2>&1 | awk '/^\// { /
curr_dir=$0 } /^[^\/tl]/ {if ($3!="root")  print curr_dir " " $0}' > /
~/non_root_vars

produces the attached output. I think it is what you need, showing
only those things that are *not* root-owned in my /var.

you can ignore /var/run.

hth

A
/var/cache: drwxr-sr-x 48 man  root 1.0K 2007-10-30 06:29 man
/var/cache/cups: -rw--- 1 lp   lp92K 2007-09-20 21:00 help.index
/var/cache/man: drwxr-sr-x 2 man root 1.0K 2006-07-28 18:41 cat1
/var/cache/man: drwxr-sr-x 2 man root 1.0K 2006-07-28 18:41 cat2
/var/cache/man: drwxr-sr-x 2 man root 1.0K 2006-07-28 18:41 cat3
/var/cache/man: drwxr-sr-x 2 man root 1.0K 2006-07-28 18:41 cat4
/var/cache/man: drwxr-sr-x 2 man root 1.0K 2006-07-28 18:41 cat5
/var/cache/man: drwxr-sr-x 2 man root 1.0K 2006-07-28 18:41 cat6
/var/cache/man: drwxr-sr-x 2 man root 1.0K 2006-07-28 18:41 cat7
/var/cache/man: drwxr-sr-x 2 man root 1.0K 2006-07-28 18:41 cat8
/var/cache/man: drwxr-sr-x 2 man root 1.0K 2006-07-28 18:41 cat9
/var/cache/man: drwxr-sr-x 2 man root 1.0K 2007-10-30 06:29 cs
/var/cache/man: drwxr-sr-x 2 man root 1.0K 2007-10-30 06:29 de
/var/cache/man: drwxr-sr-x 2 man root 1.0K 2007-10-30 06:29 de.UTF-8
/var/cache/man: drwxr-sr-x 2 man root 1.0K 2007-10-30 06:29 es
/var/cache/man: drwxr-sr-x 2 man root 1.0K 2007-10-30 06:29 es.UTF-8
/var/cache/man: drwxr-sr-x 2 man root 1.0K 2007-10-30 06:29 fi
/var/cache/man: drwxr-sr-x 2 man root 1.0K 2007-10-30 06:29 fr
/var/cache/man: drwxr-sr-x 2 man root 1.0K 2007-10-30 06:29 fr.ISO8859-1
/var/cache/man: drwxr-sr-x 2 man root 1.0K 2007-10-30 06:29 fr.UTF-8
/var/cache/man: drwxr-sr-x 2 man root 1.0K 2006-07-28 18:41 fsstnd
/var/cache/man: drwxr-sr-x 2 man root 1.0K 2007-10-30 06:29 gl
/var/cache/man: drwxr-sr-x 2 man root 1.0K 2007-10-30 06:29 hu
/var/cache/man: drwxr-sr-x 2 man root 1.0K 2007-10-30 06:29 id
/var/cache/man: -rw-r--r-- 1 man root 1.2M 2007-10-30 06:29 index.db
/var/cache/man: drwxr-sr-x 2 man root 1.0K 2007-10-30 06:29 it
/var/cache/man: drwxr-sr-x 2 man root 1.0K 2007-10-30 06:29 it.ISO8859-1
/var/cache/man: drwxr-sr-x 2 man root 1.0K 2007-10-30 06:29 it.UTF-8
/var/cache/man: drwxr-sr-x 2 man root 1.0K 2007-10-30 06:29 ja
/var/cache/man: drwxr-sr-x 2 man root 1.0K 2007-10-30 06:29 ja.UTF-8
/var/cache/man: drwxr-sr-x 2 man root 1.0K 2007-10-30 06:29 ko
/var/cache/man: drwxr-sr-x 2 man root 1.0K 2007-10-30 06:29 local
/var/cache/man: drwxr-sr-x 2 man root 1.0K 2007-10-30 06:29 nl
/var/cache/man: drwxr-sr-x 2 man root 1.0K 2007-10-30 06:29 oldlocal
/var/cache/man: drwxr-sr-x 2 man root 1.0K 2006-07-28 18:41 opt
/var/cache/man: drwxr-sr-x 2 man root 1.0K 2007-10-30 06:29 pl
/var/cache/man: drwxr-sr-x 2 man root 1.0K 2007-10-30 06:29 pl.ISO8859-2
/var/cache/man: drwxr-sr-x 2 man root 1.0K 2007-10-30 06:29 pl.UTF-8
/var/cache/man: drwxr-sr-x 2 man root 1.0K 2007-10-30 06:29 pt_BR
/var/cache/man: drwxr-sr-x 2 man root 1.0K 2007-10-30 06:29 ru
/var/cache/man: drwxr-sr-x 2 man root 1.0K 2007-10-30 06:29 ru.KOI8-R
/var/cache/man: drwxr-sr-x 2 man root 1.0K 2007-10-30 06:29 ru.UTF-8
/var/cache/man: drwxr-sr-x 2 man root 1.0K 2007-10-30 06:29 sk
/var/cache/man: drwxr-sr-x 2 man root 1.0K 2007-10-30 06:29 sr
/var/cache/man: drwxr-sr-x 2 man root 1.0K 2007-10-30 06:29 sv
/var/cache/man: drwxr-sr-x 2 man root 1.0K 2007-10-30 06:29 tr
/var/cache/man: drwxr-sr-x 2 man root 1.0K 2006-07-28 18:41 X11R6
/var/cache/man: drwxr-sr-x 2 man root 1.0K 2007-10-30 06:29 zh_CN
/var/cache/man: drwxr-sr-x 2 man root 1.0K 2007-10-30 06:29 zh_TW
/var/cache/man/cs: -rw-r--r-- 1 man root 3.1K 2007-10-28 06:47 index.db
/var/cache/man/de: -rw-r--r-- 1 man root 3.1K 2007-10-30 06:29 index.db
/var/cache/man/de.UTF-8: -rw-r--r-- 1 man root 3.9K 2007-10-28 06:47 index.db
/var/cache/man/es: -rw-r--r-- 1 man root 3.1K 2007-10-30 06:29 index.db
/var/cache/man/es.UTF-8: -rw-r--r-- 1 man root 3.9K 2007-10-28 06:47 index.db
/var/cache/man/fi: -rw-r--r-- 1 man root 3.1K 2007-10-28 06:47 index.db
/var/cache/man/fr: -rw-r--r-- 1 man root 3.1K 2007-10-30 06:29 index.db
/var/cache/man/fr.ISO8859-1: -rw-r--r-- 1 man root 4.5K 2007-10-28 06:47 
index.db
/var/cache/man/fr.UTF-8: -rw-r--r-- 1 man root 5.4K 2007-10-28 06:47 index.db
/var/cache/man/gl: -rw-r--r-- 1 man root 3.1K 2007-10-28 06:47 index.db
/var/cache/man/hu: -rw-r--r-- 1 man root 3.1K 2007-10-28 06:47 index.db
/var/cache/man/id: -rw-r--r-- 1 man root 3.1K 2007-10-28 06:47 index.db
/var/cache/man/it: -rw-r--r-- 1 man root 3.1K 2007-10-28 06:47 index.db
/var/cache/man/it.ISO8859-1: -rw-r--r-- 1 man root 4.6K 2007-10-28 06:47 
index.db
/var/cache/man/it.UTF-8: -rw-r--r-- 1 man root 5.4K 2007-10-28 06:47 index.db
/var/cache/man/ja: -rw-r--r-- 1 man root 3.1K 2007-10-28 06:47 index.db
/var/cache/man/ja.UTF-8: -rw-r--r-- 1 man root 4.

Re: intall nvidia driver on debian lenny

2007-10-30 Thread Florian Kulzer
On Wed, Oct 31, 2007 at 20:36:14 +0200, Bogdan Marian wrote:
> This is turning into a nightmare. I've been Google-ing for 2 days now and 
> i'm still stuck with the "nv" driver... I've used the NVIDIA way to install 
> because i can't find any good alternative way tutorial for Debian Lenny...

[...]

>> Bogdan Marian wrote:

[...]

>> Nick, I'm running Lenny, so nvidia-glx is not in the repos...
>> Michal, I tried the methods on that page and it didn't work... Last thing i 
>> tried was to install the NVIDIA way, using the Nvidia .bin supplied from 
>> their home site...still no luck.

Which kernel do you run? (Post the output of "uname -a".)

Which nvidia card are we talking about? (Post the relevant part of your
"lspci" output.)

Which version of the nvidia driver did you install? (We need the exact
name of the file that you downloaded and executed.) Did you get any
error messages or warnings when you attempted the installation?

Change your xorg.conf to use the nvidia driver and (re)start X. After it
fails/crashes, run the following two commands and post their output:

egrep '^\((EE|WW)\)' /var/log/Xorg.0.log

egrep -i 'nvidia|glx' /var/log/Xorg.0.log

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


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



Re: Tool to configure sound

2007-10-30 Thread Charlie
On Wed, 31 Oct 2007, Richard Lyons shared this with us all:


>--} A hundred times.  It says ALSA is ready to use, and wishes me a lot of
>--} fun.   As long as it's happy...  
>--} In fact the link given earlier in the thread to
>--}     http://newbiedoc.berlios.de/wiki/Sound_in_Debian_GNU/Linux
>--} says:
>--}     Alsaconf is so buggy that it is best not to use it at the moment
>--}     (according to [bug no 432678]).
>--}
>--}     You now have to use udevtrigger instead of alsaconf.
>--}
>--} But that did nothing useful either as far as I could tell.
>--}
>--} Mine is an Acer Aspire 1640Z, FWIW.
>--}
>--} --
>--} richard
>--}

That might be a more modern Acer lappy than my two. One being an Acer 1350 and 
the other an Acer 3610. Only have solar power, so have to rely on laptops and 
watch DVD's on them as well.

I didn't know about the bug. Maybe ignorance is bliss in this case. 

Also installed the alsamixergui package, thinking that it would work best with 
the sound card it discovered. It works well on both machines. I don't think 
anything other than that was done, and I use Debian testing on both, just in 
case that makes a difference?

So maybe its something particular to your Acer lappy?

Thanks for the heads up about udevtrigger. I might need that for a machine I 
install for someone else in the future.

Be well,
Charlie
-- 
Registered Linux User:- 329524
+++
The sun is but a morning star. .Henry David 
Thoreau
<<<>
Debian - Just the best way to do magic.



Re: Thinkpad T20 wireless troubles - revisited

2007-10-30 Thread Sjoerd Hiemstra
In an effort to get wireless on my IBM Thinkpad T30 laptop working,
Wayne Topa wrote:
> Sjoerd Hiemstra wrote:
> > The installer saw three connection systems in the laptop:
> >   - wireless connection with interface wifi0
> >   - wireless connection with interface eth0
> >   - ethernet connection with interface eth1.
> > Odd enough, only eth0 worked, not wifi0 as one would expect.
>
> Now we need even more info.  Did you use the orinoco card to do the
> install or was it eth1?  I suspect eth1 might be an IBM internal
> Wireless interface.

The installer used eth0, as far as I recall.

> At a console prompt do
> 
> lspci -v 
> 
> Be sure the orinoco in plugged in when you run that.
> That will tell us what the Network interfaces are.  They work in
> windows so we have to find out what they are.  We need the lines like
> these from my T40.  
> 
> :02:02.0 Network controller: Intel Corp. PRO/Wireless LAN 2100 3B
> Mini PCI Adapter (rev 04)
> 
> :02:08.0 Ethernet controller: Intel Corp. 82801BD PRO/100 VE (MOB)
> Ethernet Controller (rev 81)

Relevant output of 'lspci -v':

02:02.0 Network controller: AIRONET Wireless Communications Cisco
Aironet Wireless 802.11b

02:08.0 Ethernet controller: Intel Corporation 82801CAM (ICH3)
PRO/100 VE (LOM) Ethernet controller (rev 42)

(As a sidenote, there's no orinoco card; the OP had one.)

> Most (all) IBM interfaces will work in Linux so you need to know what
> modules have to be loaded before bringing the interfaces up.

>From [1] I found that I probably need to do a 'modprobe airo_cs'.

Following the directions at [2], the entry for wifi0
in /etc/network/interfaces now looks like this:

iface wifi0 inet dhcp
wireless-essid <>
wireless-key <>
auto wifi0
allow-hotplug wifi0

If I do an 'iwlist wifi0 scan' then my AP is detected correctly (as
well as two neighbouring APs - interesting).

There is only one remaining obstacle.
The following messages appear if I do an 'ifup wifi0'.
They also appear after '/etc/init.d/networking stop' and then
'/etc/init.d/networking start'.
And they also appear if I do a 'dhclient wifi0'.

wifi0: unknown hardware address type 801
wifi0: unknown hardware address type 801
Listening on LPF/wifi0/
Sending on LPF/wifi0/
Sending on Socket/fallback
DHCPDISCOVER on wifi0 to 255.255.255.255 port 67 interval 5
DHCPDISCOVER on wifi0 to 255.255.255.255 port 67 interval 12
DHCPDISCOVER on wifi0 to 255.255.255.255 port 67 interval 14
DHCPDISCOVER on wifi0 to 255.255.255.255 port 67 interval 11
DHCPDISCOVER on wifi0 to 255.255.255.255 port 67 interval 12
DHCPDISCOVER on wifi0 to 255.255.255.255 port 67 interval 7
No DHCPOFFERS received.
No working leases in persistent database - sleeping.

Something wrong with DHCP on the AP?  My main computer works well with
it, through a wired ethernet connection.

[1]
http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Linux.Wireless.drivers.802.11b.html

[2]
http://newbiedoc.berlios.de/wiki/How_to_set_up_a_wireless_network_card_using_drivers_from_Debian_packages#Short_version_if_you_are_impatient


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



Re: alsaconf and printing

2007-10-30 Thread Florian Kulzer
On Tue, Oct 30, 2007 at 19:32:51 -, Ed wrote:
> > 
> > To test your ability to access the SMB-shared printer, run this command
> > on the client machine:
> > 
> > smbclient -U USER -L //HOST
> > 
> > This will list all SMB-shares (folders, printers, etc.) which USER can
> > access on HOST. (You will be prompted for USER's password on HOST.)
> > 
> > 
> When I issue the above command from either the host machine that the 
> printer is connect to, OR the Debian machine that I have been trying to 
> get working, I get back an error message session setup failed: 
> NT_STATUS_LOGON_FAILURE --- yet the linux machine that the printer is 
> connected to prints fine, AND the two windows laptops print fine through 
> the linux samba server.  However, I suppose I have something wrong in my 
> smb.conf file.

Does your smb.conf file allow connections from that computer?

Are you sure you are using the right USERname and password?

I think getting NT_STATUS_LOGON_FAILURE means that there is at least
some communication between client and host, so we can probably rule out
elementary network problems. Nevertheless it cannot hurt to try pinging
the host from the client and making sure that there isn't a firewall on
the host blocking access of the client.

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


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



Re: When I try to save html pages, nothing happens

2007-10-30 Thread Richard Lyons
On Tue, Oct 30, 2007 at 02:02:42PM -0700, tom arnall wrote:

[...]
> 
> when you say 'the rest of /var should be owned by root as well,' do you mean 
> everything under /var, not just the immediate subdirectories?

Depending on what your webserver is serving, at least some tranches of
/var/www may need to be owned by www-data (or whatever the webserver is
running as).

-- 
richard


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



Re: When I try to save html pages, nothing happens

2007-10-30 Thread tom arnall
>On Tuesday 30 October 2007 13:42, Andrew Sackville-West wrote:
> On Tue, Oct 30, 2007 at 12:36:01PM -0700, tom arnall wrote:
> > On Monday 29 October 2007 16:03, Andrew Sackville-West wrote:
> > > Argh!!
> >
> > thanks for your patience. can it be old age? ;o) at any rate:
>
> it happens, eh?
>
> > [EMAIL PROTECTED]:/$ ls -ld /var
> > drwxr-xr-x 15 root root 360 2005-12-19 03:45 /var/
> > [EMAIL PROTECTED]:/$ ls -l /var
> > total 11
> > drwxr-xr-x  2 kloro root   768 2007-08-29 06:38 backups/
> > drwxr-xr-x 19 kloro root   528 2007-02-16 11:38 cache/
> > drwxr-xr-x  3 kloro root  3800 2007-01-12 14:49 games/
> > drwxr-xr-x 61 kloro root  1576 2007-09-25 10:49 lib/
> > drwxrwsr-x  2 kloro staff   48 2004-12-15 14:55 local/
> > drwxrwxrwt  4 kloro root96 2007-10-30 10:47 lock/
> > drwxr-xr-x 19 kloro root  2960 2007-10-30 10:47 log/
> > drwxrwsr-x  2 kloro mail   144 2007-10-30 12:08 mail/
> > drwxr-xr-x  2 kloro root48 2005-12-19 02:57 opt/
> > drwxr-xr-x 18 kloro root  1080 2007-10-30 10:48 run/
> > drwxr-xr-x 12 kloro root   328 2007-05-26 14:21 spool/
> > drwxrwxrwt  8 root  root   264 2007-10-30 11:02 tmp/
> > drwxr-xr-x 19 kloro root  1696 2007-07-26 15:34 www/
>
> the rest of /var should be owned by root as well.
>
> [EMAIL PROTECTED]:~$ ls -l /var
> total 64
> drwxr-xr-x  2 root root   4096 2007-10-25 18:51 backups
> drwxr-xr-x 13 root root   4096 2007-10-25 21:17 cache
> drwxr-xr-x  7 root root   4096 2007-08-07 17:55 games
> drwxr-xr-x 46 root root   4096 2007-10-27 09:29 lib
> drwxrwsr-x  2 root staff  4096 2007-04-24 04:56 local
> drwxrwxrwt  3 root root   4096 2007-10-30 13:33 lock
> drwxr-xr-x  9 root root   4096 2007-10-30 13:34 log
> drwxr-xr-x  2 root root  16384 2007-08-06 08:43 lost+found
> drwxrwsr-x  2 root mail   4096 2007-08-25 20:55 mail
> drwxr-xr-x  2 root root   4096 2007-08-06 16:30 opt
> drwxr-xr-x 17 root root   4096 2007-10-30 13:35 run
> drwxr-xr-x  7 root root   4096 2007-04-24 04:56 spool
> drwxrwxrwt  2 root root   4096 2007-10-30 13:34 tmp
>
> and I don't have anything in /var/tmp
>
> [EMAIL PROTECTED]:~$ ls -l /var/tmp
> total 0
>
> to compare to.
>
> > after doing 'sudo chown -R root /var/tmp', i get:
> >
> > [EMAIL PROTECTED]:/$ ls -l /var/tmp
> > total 0
> > drwx-- 8 root  kloro 256 2007-10-29 17:53 kdecache-kloro/
> > drwx-- 3 kloro kloro 128 2007-10-30 11:04 kdecache-kloro7k3iRa/
> > drwx-- 5 root  root  176 2006-01-29 16:10 kdecache-root/
> > drwx-- 4 root  root  152 2007-10-02 17:11 kdecache-rootcohchy/
> > drwx-- 6 root  root  200 2007-02-03 13:52 kdecache-rootKvAh16/
> > drwxrwxrwt 2 root  root   48 2005-12-19 02:58 vi.recover/
> > [EMAIL PROTECTED]:/$
> >
> > but firefox still won't save stuff unless i start it with 'sudo'.
>
> if you look at the perms of vi.recover/ you'll see that it has the
> same perms as its parent. I think that should be the case for all
> those. Seeing as that's a tmp dir though, what *I* would do at this
> point is log out and shutdown kde. then mv all those directories
> somewhere else for now, leaving just an empty /var/tmp and then
> reboot. If it bombs, you can move all those things back. Its a tmp
> directory, so you should be able to do that and have kde recreate
> whatever it needs there.
>
> hth
> A


when you say 'the rest of /var should be owned by root as well,' do you mean 
everything under /var, not just the immediate subdirectories?




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



Re: Tool to configure sound

2007-10-30 Thread Richard Lyons
On Wed, Oct 31, 2007 at 07:52:59AM +1100, Charlie wrote:

> On Wed, 31 Oct 2007, Richard Lyons shared this with us all:
[...]
> >--} Lucky man!  I wish it would work for my Acer laptop!  Still, I suppose
> >--} after all these years I should know better than to expect sound on a
> >--} laptop. I see I have 3 modules loaded that you don't have, maybe it's
> >--} something to do with them.
> >--}
> >--} snd_hda_intel  17140  0
> >--} snd_hda_codec 126496  1 snd_hda_intel
> >--} snd_pcm_oss35968  0
> >--} snd_mixer_oss  15872  1 snd_pcm_oss
> >--} snd_pcm74532  3 snd_hda_intel,snd_hda_codec,snd_pcm_oss
> >--} snd_timer  20836  1 snd_pcm
> >--} snd48100  6
> >--} snd_hda_intel,snd_hda_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
> >--} soundcore   9216  1 snd
> >--} snd_page_alloc  9512  2 snd_hda_intel,snd_pcm
> >--}
> >--} Still, it's all way over my head...
> 
> I have two Acer laptops and both have sound configured and working using 
> alsaconf, have you tried it?

A hundred times.  It says ALSA is ready to use, and wishes me a lot of
fun.   As long as it's happy...  
In fact the link given earlier in the thread to
http://newbiedoc.berlios.de/wiki/Sound_in_Debian_GNU/Linux
says:
Alsaconf is so buggy that it is best not to use it at the moment
(according to [bug no 432678]).

You now have to use udevtrigger instead of alsaconf.

But that did nothing useful either as far as I could tell.

Mine is an Acer Aspire 1640Z, FWIW.

-- 
richard


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



Re: creative zen management with command-line interface

2007-10-30 Thread cs
On Sun, 2007-10-21 at 17:43 -0500, Russell L. Harris wrote:
> I have been searching without success for a command-line tool to
> manage a Creative Zen mp3 player.
> 
> The only Creative Zen management tool for Linux which I have
> discovered thus far is gnomad2 (version 2.8.12-2 currently in the
> Debian "testing" archive).  
> 
> But gnomad2 (which has a GUI) crashes on occasion, takes forever to
> delete a file, and appears to have left a corrupted file on my
> Creative Zen.  (Thankfully, Creative built into the Zen a drive
> clean-up utility.)  So for the Zen, I am using Creative Media Source
> running in W2000.

Unfort I can't get gnomad2 (2.8.8-1.1) to detect my Zen - is there
anything specific you had to do?
Thanks, M

> I have used gnupod (command-line interface) with a 4th-generation
> iPod.  It was an enjoyable experience.  I would like to find a tool of
> this sort to manage the Creative Zen.

Did anybody suggest alternatives to gnomad2??

M


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



Re: Tool to configure sound

2007-10-30 Thread Charlie
On Wed, 31 Oct 2007, Richard Lyons shared this with us all:
>--} On Sun, Oct 28, 2007 at 10:55:02PM +0100, Bruno Costacurta wrote:
>--} [...]
>--} > I followed instructions at the here previous indicated URL and run
> 'alsaconf' --} > which indeed completed and corrected the configuration of
> my sound --} > card.
>--} > Now everything is fine. All tests are OK.
>--}
>--} Lucky man!  I wish it would work for my Acer laptop!  Still, I suppose
>--} after all these years I should know better than to expect sound on a
>--} laptop. I see I have 3 modules loaded that you don't have, maybe it's
>--} something to do with them.
>--}
>--} snd_hda_intel  17140  0
>--} snd_hda_codec 126496  1 snd_hda_intel
>--} snd_pcm_oss35968  0
>--} snd_mixer_oss  15872  1 snd_pcm_oss
>--} snd_pcm74532  3 snd_hda_intel,snd_hda_codec,snd_pcm_oss
>--} snd_timer  20836  1 snd_pcm
>--} snd48100  6
>--} snd_hda_intel,snd_hda_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
>--} soundcore   9216  1 snd
>--} snd_page_alloc  9512  2 snd_hda_intel,snd_pcm
>--}
>--} Still, it's all way over my head...
>--}
>--} :-(
>--}
>--} richard
>--}
>--}

I have two Acer laptops and both have sound configured and working using 
alsaconf, have you tried it?

Charlie

-- 
Registered Linux User:- 329524
+++
What's here right now? Delusion is yesterday's dream-enlightenment, tomorrow's 
delusion. - TAIZAN MAEZUMI
<<<>
Debian - Just the best way to do magic.


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



Re: Apt-Get or Aptitude

2007-10-30 Thread Andrew Sackville-West
On Tue, Oct 30, 2007 at 03:09:31PM -0400, Celejar wrote:
> On Tue, 30 Oct 2007 09:25:02 -0700
> Andrew Sackville-West <[EMAIL PROTECTED]> wrote:

...
> > 
> > this bothers me, since I mostly use aptitude. When I need a build-dep
> > or source, I'm concerned that later aptitude may wipe something
> > inadvertantly. Do you know if there are plans to implement these
> > commands into aptitude? Or will apt-get always remain, so that its not
> > a problem?
> 
> I really don't know; I have never built anything (except kernels and
> modules with kernel-package) from Debian source packages.  Why not ask
> Daniel directly?
> 

'cause that's too easy? 

;-)

I did in another sub-thread, we'll see what happens.

A


signature.asc
Description: Digital signature


Re: Getting power off to work in Etch...

2007-10-30 Thread Nigel Henry
On Tuesday 30 October 2007 18:58, Digby Tarvin wrote:
> Does anyone know the secret to getting Etch to power down the system
> after a halt. I have tried 'apt-get install apmd', but it doesn't
> seem to have helped.
>
> I know the hardware can do it, because it worked with the very old
> version of Ubuntu I tried before Debian (5.04).
>
> The machine is a Dell Precision 410 with new Etch netinst just done...
>
> Thanks,
> DigbyT

Hi Digby. Just an update. I found the the link to the bugreport for the 
shutdown problem. It may, or may not resolve your problem, but is below.

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

Cordialement.

Nigel.


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



Re: When I try to save html pages, nothing happens

2007-10-30 Thread Andrew Sackville-West
On Tue, Oct 30, 2007 at 12:36:01PM -0700, tom arnall wrote:
> On Monday 29 October 2007 16:03, Andrew Sackville-West wrote:
> > Argh!!
> >
> 
> thanks for your patience. can it be old age? ;o) at any rate:

it happens, eh?

> 
> [EMAIL PROTECTED]:/$ ls -ld /var
> drwxr-xr-x 15 root root 360 2005-12-19 03:45 /var/
> [EMAIL PROTECTED]:/$ ls -l /var
> total 11
> drwxr-xr-x  2 kloro root   768 2007-08-29 06:38 backups/
> drwxr-xr-x 19 kloro root   528 2007-02-16 11:38 cache/
> drwxr-xr-x  3 kloro root  3800 2007-01-12 14:49 games/
> drwxr-xr-x 61 kloro root  1576 2007-09-25 10:49 lib/
> drwxrwsr-x  2 kloro staff   48 2004-12-15 14:55 local/
> drwxrwxrwt  4 kloro root96 2007-10-30 10:47 lock/
> drwxr-xr-x 19 kloro root  2960 2007-10-30 10:47 log/
> drwxrwsr-x  2 kloro mail   144 2007-10-30 12:08 mail/
> drwxr-xr-x  2 kloro root48 2005-12-19 02:57 opt/
> drwxr-xr-x 18 kloro root  1080 2007-10-30 10:48 run/
> drwxr-xr-x 12 kloro root   328 2007-05-26 14:21 spool/
> drwxrwxrwt  8 root  root   264 2007-10-30 11:02 tmp/
> drwxr-xr-x 19 kloro root  1696 2007-07-26 15:34 www/

the rest of /var should be owned by root as well. 

[EMAIL PROTECTED]:~$ ls -l /var
total 64
drwxr-xr-x  2 root root   4096 2007-10-25 18:51 backups
drwxr-xr-x 13 root root   4096 2007-10-25 21:17 cache
drwxr-xr-x  7 root root   4096 2007-08-07 17:55 games
drwxr-xr-x 46 root root   4096 2007-10-27 09:29 lib
drwxrwsr-x  2 root staff  4096 2007-04-24 04:56 local
drwxrwxrwt  3 root root   4096 2007-10-30 13:33 lock
drwxr-xr-x  9 root root   4096 2007-10-30 13:34 log
drwxr-xr-x  2 root root  16384 2007-08-06 08:43 lost+found
drwxrwsr-x  2 root mail   4096 2007-08-25 20:55 mail
drwxr-xr-x  2 root root   4096 2007-08-06 16:30 opt
drwxr-xr-x 17 root root   4096 2007-10-30 13:35 run
drwxr-xr-x  7 root root   4096 2007-04-24 04:56 spool
drwxrwxrwt  2 root root   4096 2007-10-30 13:34 tmp

and I don't have anything in /var/tmp

[EMAIL PROTECTED]:~$ ls -l /var/tmp
total 0

to compare to. 

> 
> after doing 'sudo chown -R root /var/tmp', i get:
> 
> [EMAIL PROTECTED]:/$ ls -l /var/tmp
> total 0
> drwx-- 8 root  kloro 256 2007-10-29 17:53 kdecache-kloro/
> drwx-- 3 kloro kloro 128 2007-10-30 11:04 kdecache-kloro7k3iRa/
> drwx-- 5 root  root  176 2006-01-29 16:10 kdecache-root/
> drwx-- 4 root  root  152 2007-10-02 17:11 kdecache-rootcohchy/
> drwx-- 6 root  root  200 2007-02-03 13:52 kdecache-rootKvAh16/
> drwxrwxrwt 2 root  root   48 2005-12-19 02:58 vi.recover/
> [EMAIL PROTECTED]:/$
> 
> but firefox still won't save stuff unless i start it with 'sudo'.

if you look at the perms of vi.recover/ you'll see that it has the
same perms as its parent. I think that should be the case for all
those. Seeing as that's a tmp dir though, what *I* would do at this
point is log out and shutdown kde. then mv all those directories
somewhere else for now, leaving just an empty /var/tmp and then
reboot. If it bombs, you can move all those things back. Its a tmp
directory, so you should be able to do that and have kde recreate
whatever it needs there. 

hth
A


signature.asc
Description: Digital signature


Re: Tool to configure sound

2007-10-30 Thread Richard Lyons
On Sun, Oct 28, 2007 at 10:55:02PM +0100, Bruno Costacurta wrote:
[...]
> I followed instructions at the here previous indicated URL and run 'alsaconf' 
> which indeed completed and corrected the configuration of my sound 
> card.  
> Now everything is fine. All tests are OK.

Lucky man!  I wish it would work for my Acer laptop!  Still, I suppose
after all these years I should know better than to expect sound on a
laptop. I see I have 3 modules loaded that you don't have, maybe it's
something to do with them.

snd_hda_intel  17140  0 
snd_hda_codec 126496  1 snd_hda_intel
snd_pcm_oss35968  0 
snd_mixer_oss  15872  1 snd_pcm_oss
snd_pcm74532  3 snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd_timer  20836  1 snd_pcm
snd48100  6
snd_hda_intel,snd_hda_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
soundcore   9216  1 snd
snd_page_alloc  9512  2 snd_hda_intel,snd_pcm

Still, it's all way over my head...

:-(

richard


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



Re: Re: digital pictures: reordering and renaming (in a different way)

2007-10-30 Thread H. S.
On 10/30/07, Herb Mann <[EMAIL PROTECTED]> wrote:
>
>  Sorry, to bother you, but on a forum you wrote that you can rearrange
> images in XP via Drag and Drop. What program within XP are you using? This
> is precisely what I have been looking for.
>


I just used Windows explorer to do so.

Assume you want a bunch of images to be rearranged and renamed
GreatVacation(101).jpg (the first image is 101, next 102 and so on).

Based on memory, here are the steps I followed:
1. Open of the folder containing the pictures and arrange all your pics by
dragging and dropping them in the order you want.
2. Select the images that you want renamed sequentially.
3. Select the "Rename" option by right clicking on the *first image*.
4. The name of the file will become editable. Enter the name of you want and
the number you want the first file to be. In our example, we would type:
GreatVacation (101).jpg

Note the space before the first parenthesis. The space and parenthesis, both
are necessary.

5. Press Enter. The files will be renamed. If you make a mistake, I think
you can just click Undo from the menu at the top of the window and repeat
the process.

Now, what number to use in the parenthesis depends on the number of pictures
you have. If you just used (1) instead, the pictures will start from 1, go
on to 10 and and then to 100 so on. But they won't be listed in the proper
order later on due to the number of digits varying after 9, after 99 and so
on. Using (101), or (1001) or (10001) just fixes the width of the numbers.

In any case, you are stuck with the space and the parenthesis in the
filename, neither of which I like in a filename. I fix that in Linux using a
little Bash script I wrote. If you want that, let me know and I will paste
it here.

regards,
->HS


Re: alsaconf and printing

2007-10-30 Thread Ed

> 
> To test your ability to access the SMB-shared printer, run this command
> on the client machine:
> 
> smbclient -U USER -L //HOST
> 
> This will list all SMB-shares (folders, printers, etc.) which USER can
> access on HOST. (You will be prompted for USER's password on HOST.)
> 
> 
When I issue the above command from either the host machine that the 
printer is connect to, OR the Debian machine that I have been trying to 
get working, I get back an error message session setup failed: 
NT_STATUS_LOGON_FAILURE --- yet the linux machine that the printer is 
connected to prints fine, AND the two windows laptops print fine through 
the linux samba server.  However, I suppose I have something wrong in my 
smb.conf file.


Ed


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



Re: When I try to save html pages, nothing happens

2007-10-30 Thread tom arnall
On Monday 29 October 2007 16:03, Andrew Sackville-West wrote:
> Argh!!
>
> On Mon, Oct 29, 2007 at 03:35:13PM -0700, tom arnall wrote:
> > On Monday 29 October 2007 14:53, Andrew Sackville-West wrote:
> > > On Mon, Oct 29, 2007 at 02:19:04PM -0700, tom arnall wrote:
> > > > Reading changelogs... Done
> > > > Error: "/var/tmp/kdecache-kloro" is owned by uid 1000 instead 
> > > > of uid
> > > > 0. Link points to "/var/tmp/kdecache-rootcohchy"
> > > > Error: "/tmp/kde-kloro" is owned by uid 1000 instead of uid 0.
> > > > Link points to "/tmp/kde-root"
> > > > Error: "/tmp/ksocket-kloroyr3bC5" is owned by uid 1000 instead 
> > > > of
> > > > uid 0. Link points to "/tmp/ksocket-root"
> > > > Error: "/var/tmp/kdecache-kloro" is owned by uid 1000 instead 
> > > > of uid
> > > > 0. Link points to "/var/tmp/kdecache-rootcohchy"
> > > > apt-listchanges: Do you want to continue? [Y/n]?
> > >
> > > what are the perms of /var itself and its subdirs?  mine looks like
>
>  ^
>
> /var not /tmp
>
> > > anything under /var/tmp should be owned by root (UID 0), and not you
>
>   ^
>
> /var/tmp not /tmp
>
> > did a chown -R on var/tmp. then started ff and got some error messages.
> > session as follows:
>
> no. you chown'ed /tmp which is not /var/tmp. And, *look* at /var
> *first* to see if it matches what I posted.
>
> don't panic though, there is (or should not be) anything persistent in
> /tmp, so it will fix itself up with a reboot.
>
> meanwhile look at
>
> /var permissions for potential problems. In particular, /var/tmp
> should have the sticky bit set. Maybe you could post up the output of
>
> ls -ld /var
>
> and
>
> ls -l /var
>
> thanks
>
> A

Andy,

thanks for your patience. can it be old age? ;o) at any rate:

[EMAIL PROTECTED]:/$ ls -ld /var
drwxr-xr-x 15 root root 360 2005-12-19 03:45 /var/
[EMAIL PROTECTED]:/$ ls -l /var
total 11
drwxr-xr-x  2 kloro root   768 2007-08-29 06:38 backups/
drwxr-xr-x 19 kloro root   528 2007-02-16 11:38 cache/
drwxr-xr-x  3 kloro root  3800 2007-01-12 14:49 games/
drwxr-xr-x 61 kloro root  1576 2007-09-25 10:49 lib/
drwxrwsr-x  2 kloro staff   48 2004-12-15 14:55 local/
drwxrwxrwt  4 kloro root96 2007-10-30 10:47 lock/
drwxr-xr-x 19 kloro root  2960 2007-10-30 10:47 log/
drwxrwsr-x  2 kloro mail   144 2007-10-30 12:08 mail/
drwxr-xr-x  2 kloro root48 2005-12-19 02:57 opt/
drwxr-xr-x 18 kloro root  1080 2007-10-30 10:48 run/
drwxr-xr-x 12 kloro root   328 2007-05-26 14:21 spool/
drwxrwxrwt  8 root  root   264 2007-10-30 11:02 tmp/
drwxr-xr-x 19 kloro root  1696 2007-07-26 15:34 www/

after doing 'sudo chown -R root /var/tmp', i get:

[EMAIL PROTECTED]:/$ ls -l /var/tmp
total 0
drwx-- 8 root  kloro 256 2007-10-29 17:53 kdecache-kloro/
drwx-- 3 kloro kloro 128 2007-10-30 11:04 kdecache-kloro7k3iRa/
drwx-- 5 root  root  176 2006-01-29 16:10 kdecache-root/
drwx-- 4 root  root  152 2007-10-02 17:11 kdecache-rootcohchy/
drwx-- 6 root  root  200 2007-02-03 13:52 kdecache-rootKvAh16/
drwxrwxrwt 2 root  root   48 2005-12-19 02:58 vi.recover/
[EMAIL PROTECTED]:/$

but firefox still won't save stuff unless i start it with 'sudo'.

aren't the permissions in '/var/tmp' a little weird? 

thanks,

tom




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



Re: Re: digital pictures: reordering and renaming (in a different way)

2007-10-30 Thread Herb Mann
Sorry, to bother you, but on a forum you wrote that you can rearrange images
in XP via Drag and Drop. What program within XP are you using? This is
precisely what I have been looking for.



Re: Apt-Get or Aptitude

2007-10-30 Thread Celejar
On Tue, 30 Oct 2007 09:25:02 -0700
Andrew Sackville-West <[EMAIL PROTECTED]> wrote:

> On Mon, Oct 29, 2007 at 08:03:42PM -0400, Celejar wrote:
> > On Mon, 29 Oct 2007 00:13:23 -0500
> > Manoj Srivastava <[EMAIL PROTECTED]> wrote:
> > 
> > > On Sun, 28 Oct 2007 10:06:59 -0700, Daniel Burrows <[EMAIL PROTECTED]> 
> > > said: 
> > > 
> > > >   I'd say the main difference is that apt-get is a command-line tool,
> > > > whereas aptitude is an interactive tool that can be driven from the
> > > > command-line.
> > > 
> > > Are there still command line usages of apt-get that are not
> > >  exactly the same in aptitude?  And has apt-get started keeping track of
> > 
> > The classic examples that arise periodically on the list are apt-get's
> > 'build-dep' and 'source' actions, which apparently have no obvious
> > aptitude versions.
> 
> this bothers me, since I mostly use aptitude. When I need a build-dep
> or source, I'm concerned that later aptitude may wipe something
> inadvertantly. Do you know if there are plans to implement these
> commands into aptitude? Or will apt-get always remain, so that its not
> a problem?

I really don't know; I have never built anything (except kernels and
modules with kernel-package) from Debian source packages.  Why not ask
Daniel directly?

> A

Celejar
--
mailmin.sourceforge.net - remote access via secure (OpenPGP) email
ssuds.sourceforge.net - A Simple Sudoku Solver and Generator


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



Fluxbox 1.0 -- issue with transparent icons on toolbar

2007-10-30 Thread Miroslaw Zalewski
Hello

I'm running once-a-day updated Debian testing (I believe it's called
"lenny"). Today my aptitude safe-upgrade installed the newest version
of Fluxbox -- 1.0. 

After rebooting my computer, I found out that it doesn't display icons
on toolbar correctly. I think it's an issue with only PNGs with aplha
channel. I.e. rocket from Psi (old 0.10 release) is surrounded by
bright orange. Opera's logo is surrounded by bright grey. Of course
on previous version of Fluxbox -- 1.0rc3 -- everything was fine.

I have GeForce FX 5200 graphic card and I'm using free "nv" driver.
I have libimlib2 package installed at version 1.3.0.0debian1-4.
I tried reinstalling all xserver-xorg-video-nv, imlib-base, libimlib2,
libpng12-0 and imagemagick packages, but after 

  # startx -- :1

new instance of Fluxbox had the same issue. 

Did anybody had the same problem? How can I get things fixed? Or is it
known issue and I have to switch back to Fluxbox 1.0rc3 for some time
to have things working?

Thanks in advance for all your help.

PS. Please don't mind my poor English, Polish is my mother-tongue.
-- 
Niżej podpisany, zamieszkały w http://minio.xt.pl ,
   Mirosław Zalewski



Re: intall nvidia driver on debian lenny

2007-10-30 Thread Bogdan Marian
This is turning into a nightmare. I've been Google-ing for 2 days now 
and i'm still stuck with the "nv" driver... I've used the NVIDIA way to 
install because i can't find any good alternative way tutorial for 
Debian Lenny...


Bogdan
--- Begin Message ---

MRH wrote:

Dnia 29/10/07 20:50,Nick Lidakis napisał:

Bogdan Marian wrote:


Hello.

Yes, it was running with the free version of the driver. I can 
successfully start if i change the Driver section to "nv" from 
"nvidia". In fact, that's how i'm able to send you this mail.




I had a similar problem once; realized I forgot to do "apt-get 
install nvidia-glx" which creates some necessary TLS links.


This page should be helpful, it describes the whole process quite well 
(with different ways of installing the driver) and offers some 
troubleshooting:

http://wiki.debian.org/NvidiaGraphicsDrivers

Kind regards,
Michal R. Hoffmann



Hello,

Nick, I'm running Lenny, so nvidia-glx is not in the repos...
Michal, I tried the methods on that page and it didn't work... Last 
thing i tried was to install the NVIDIA way, using the Nvidia .bin 
supplied from their home site...still no luck.


Bogdan

--- End Message ---


Re: Getting power off to work in Etch...

2007-10-30 Thread Nigel Henry
On Tuesday 30 October 2007 18:58, Digby Tarvin wrote:
> Does anyone know the secret to getting Etch to power down the system
> after a halt. I have tried 'apt-get install apmd', but it doesn't
> seem to have helped.
>
> I know the hardware can do it, because it worked with the very old
> version of Ubuntu I tried before Debian (5.04).
>
> The machine is a Dell Precision 410 with new Etch netinst just done...
>
> Thanks,
> DigbyT

Hi Digby. There's a multitude of possible fixes for this one. I've had no 
problems with my Debian, Sarge, Etch, and Lenny installs, all on the same 
machine, but a Fedora version had shutdown problems on this machine, and 
appending the kernel line with acpi=force in /boot/grub/grub.conf fixed it.

I did see another possible fix in the Debian archives, but will have to look 
for that.

Nigel.


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



Getting power off to work in Etch...

2007-10-30 Thread Digby Tarvin
Does anyone know the secret to getting Etch to power down the system
after a halt. I have tried 'apt-get install apmd', but it doesn't
seem to have helped.

I know the hardware can do it, because it worked with the very old
version of Ubuntu I tried before Debian (5.04).

The machine is a Dell Precision 410 with new Etch netinst just done...

Thanks,
DigbyT
-- 
Digby R. S. Tarvin  digbyt(at)digbyt.com
http://www.digbyt.com


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



raw1394 and 2.6.22 in testing

2007-10-30 Thread H.S.

Hello,

I recall reading someplace that raw1394 module is no longer included in
2.6.22 kernel and up. Consequently, one cannot use dvgrab in these
kernels. Anybody know what is the status now? Or any other method with
which to use dvgrab (and/or kino) with these kernels in Debian?

thanks,
->HS


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



Re: tetex-base: Conflicts: jadetex (<= 3.13-6) but 3.13-6 is to be installed

2007-10-30 Thread Florian Kulzer
On Tue, Oct 30, 2007 at 10:18:02 +0100, Mathieu Malaterre wrote:
> On 10/29/07, Florian Kulzer wrote:
> > On Mon, Oct 29, 2007 at 15:24:00 +0100, Mathieu Malaterre wrote:
> > > Could someone please let me know what this is supposed to mean:
> > >
> > > tetex-base: Conflicts: jadetex (<= 3.13-6) but 3.13-6 is to be installed
> > >
> > > Command:
> > >
> > > $ sudo apt-get  install  docbook-utils jadetex tetex-bin tetex-extra 
> > > tetex-base
> > >
> > > on debian oldstable (sarge)
> >
> > It seems that you are trying to install Etch's version of tetex-base
> > together with Sarge's version of jadetex. Please post the output of
> >
> > apt-cache policy jadetex tetex-base
> 
> Hi Florian,
> 
>   Here it is:
> 
> jadetex:
>   Installed: (none)
>   Candidate: 3.13-6
>   Version table:
>  3.13-9 0
> -10 http://ftp.debian.org testing/main Packages
>  3.13-6 0
> 500 http://debian.theralys.com sarge/main Packages
> tetex-base:
>   Installed: (none)
>   Candidate: 3.0.dfsg.3-5~bpo.1
>   Version table:
>  2007-12 0
> -10 http://ftp.debian.org testing/main Packages
>  3.0.dfsg.3-5~bpo.1 0
> 900 http://debian.theralys.com sarge-backports/main Packages
> 100 /var/lib/dpkg/status
>  2.0.2c-8 0
> 500 http://debian.theralys.com sarge/main Packages

You seem to have pinned sarge-backports to a priority of 900, at least
as far as tetex is concerned. Jadetex is not available in
sarge-backports and its sarge version does not work with the backported
(newer) tetex. You can try this:

apt-get install  docbook-utils jadetex tetex-bin/sarge tetex-extra/sarge 
tetex-base/sarge

or simply reduce the pin priority of sarge-backports to <500.

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


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



Re: alsaconf and printing

2007-10-30 Thread Florian Kulzer
On Mon, Oct 29, 2007 at 22:41:37 -, Ed wrote:

[...]

> I added my user name to groups lp and lpadmin, rebooted, and can see both 
> in groups username.
> 
> However, using the Desktop->Administration->printing  Add Printer tool 
> still does not produce a printers.conf file in /etc/cups, BUT using the 
> CUPS HTML frontend, I did create a printers.conf file. In fact, the CUPS 
> HTML frontend 'said' the installation was successful.  However, I still 
> can not print.  The problem probably is the printer address.  I don't 
> know what to enter here. My printer is hooked up to another computer on 
> my local network that runs samba and my windows laptops can see and print 
> to it.  If I look at the printers.conf file on that computer, there is a 
> line that says DeviceURI hal:///org/freedesktop/Hal/devices/usb_device
> (more junk here).  Anyway, not knowing what to put for printer address, I 
> put http://'the ip address of the local computer that has the printer 
> connected to it':9100.  The CUPS HTML frontend tool seemed happy with 
> that, but obviously, that was not really what it wanted as I can not 
> print even a test page.
> 
> Still learning and reading, but not there yet.

See section "CUPS and Samba" here: http://wiki.debian.org/CUPS

To test your ability to access the SMB-shared printer, run this command
on the client machine:

smbclient -U USER -L //HOST

This will list all SMB-shares (folders, printers, etc.) which USER can
access on HOST. (You will be prompted for USER's password on HOST.)

It is also possible to bypass Samba by using ipp:// to connect to the
print server or by putting the appropriate ServerName into the client's
cupsd.conf file. However, both these methods require you to change the
default cupsd.conf on the print server to accept these connections. See
"man cupsd.conf" for details.

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


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



Re: getting sound to stick in Etch...

2007-10-30 Thread Digby Tarvin
That did it - Thanks!!

On Tue, Oct 30, 2007 at 03:59:25PM +0100, Florian Kulzer wrote:
> On Tue, Oct 30, 2007 at 14:28:27 +, Digby Tarvin wrote:
> > I am having a problem getting audio functionality to stick in a 
> > newly installed Etch system on a Dell precision 410 MT.
> > 
> > There was no sound device immediately after install, so I ran
> > alsaconf, selected:
> > legacy Probe legacy ISA (non-PnP) chips
> > told it to probe "cs4236   Cirrus Logic CS4235-9" then answered Y to
> > Do you want to modify /etc/modprobe.d/sound
> > And I get
> >  OK, sound driver is configured.
> >  ALSA CONFIGURATOR  will prepare the card for playing now.
> >  Now I will load the ALSA sound driver and use
> >  amixer to raise the default volumes.
> > 
> > This results in /etc/modprobe.d/sound containing:
> >  alias snd-card-0 snd-cs4236
> >  options snd-cs4236 index=0 port=0x530 cport=0x538 isapnp=0 dma1=1 dma2=0 
> > irq=5
> 
> [...]
> 
> > Two problems...
> > 1. after rebooting it is all gone and I have no sound again :(
> >I assume the modprobe.d/sound file should be causing sound to be 
> > configured
> >at boot time, but it appears not to be..
> >Any ideas what is going wrong or what I still need to do?
> >
> > 2. No /dev/dsp, so attempting to run esd for gnome fails...
> >Could it be anything to do with the /etc/modprobe.d entry:
> >lrwxrwxrwx 1 root root41 2007-10-27 21:42 linux-sound-base_noOSS -> 
> > /lib/linux-sound-base/noOSS.modprobe.conf
> 
> Adding the following two lines to /etc/modules might help:
> 
> snd_cs4236
> snd_pcm_oss
> 
> -- 
> Regards,| http://users.icfo.es/Florian.Kulzer
>   Florian   |
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

-- 
Digby R. S. Tarvin  digbyt(at)digbyt.com
http://www.digbyt.com


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



Re: alsaconf and printing

2007-10-30 Thread Andrew Sackville-West
On Mon, Oct 29, 2007 at 10:41:37PM -, Ed wrote:
> 
> However, using the Desktop->Administration->printing  Add Printer tool 
> still does not produce a printers.conf file in /etc/cups, BUT using the 
> CUPS HTML frontend, I did create a printers.conf file. In fact, the CUPS 
> HTML frontend 'said' the installation was successful.  However, I still 
> can not print.  The problem probably is the printer address.  I don't 
> know what to enter here. My printer is hooked up to another computer on 
> my local network that runs samba and my windows laptops can see and print 
> to it.  

try ipp:///printers/

and make sure that printer is published and available to other
computers and it should just work. (heh). Use a "Raw" printer driver
for it. BTW.

A


signature.asc
Description: Digital signature


Re: Apt-Get or Aptitude

2007-10-30 Thread Andrew Sackville-West
On Tue, Oct 30, 2007 at 11:50:37AM +0100, Dal wrote:
> Daniel Burrows wrote:
>> On Mon, Oct 29, 2007 at 12:14:18AM -0600, Nate Duehr <[EMAIL PROTECTED]> 
>> was heard to say:
>>   
>>> On Oct 28, 2007, at 11:06 AM, Daniel Burrows wrote:
>>> 
  I'd say the main difference is that apt-get is a command-line tool,
 whereas aptitude is an interactive tool that can be driven from the
 command-line.
   
>>> I would disagree.  Aptitude supports command-line operation as well as 
>>> interactive.
>>> 
>>
>>   What I meant by that is that the project's goals and focus ...


> Aptitude user interface is really great. When I started with debian there 
> was just dselect and I don't think that was user friendly.
> Just aptitude and synaptic too make debian easier for normal users. Anyway 
> it's pity that aptitude doesn't (maybe I just can't find it) source 
> download. Something like apt-get source package.
>
> Anyway it has really better problems-with-packages solving :)
>

yeah, Daniel, great work!

just want to ask the same question as above as regards build-dep? Will
that become a part of aptitude in the future or will it remain in
apt-get with the two packages maintained in parallel? 

thanks for your work on debian!

A


signature.asc
Description: Digital signature


Re: Apt-Get or Aptitude

2007-10-30 Thread Andrew Sackville-West
On Mon, Oct 29, 2007 at 08:03:42PM -0400, Celejar wrote:
> On Mon, 29 Oct 2007 00:13:23 -0500
> Manoj Srivastava <[EMAIL PROTECTED]> wrote:
> 
> > On Sun, 28 Oct 2007 10:06:59 -0700, Daniel Burrows <[EMAIL PROTECTED]> 
> > said: 
> > 
> > >   I'd say the main difference is that apt-get is a command-line tool,
> > > whereas aptitude is an interactive tool that can be driven from the
> > > command-line.
> > 
> > Are there still command line usages of apt-get that are not
> >  exactly the same in aptitude?  And has apt-get started keeping track of
> 
> The classic examples that arise periodically on the list are apt-get's
> 'build-dep' and 'source' actions, which apparently have no obvious
> aptitude versions.

this bothers me, since I mostly use aptitude. When I need a build-dep
or source, I'm concerned that later aptitude may wipe something
inadvertantly. Do you know if there are plans to implement these
commands into aptitude? Or will apt-get always remain, so that its not
a problem?

A


signature.asc
Description: Digital signature


Re: iptables and virtual hosts problem

2007-10-30 Thread Andrew Sackville-West
On Tue, Oct 30, 2007 at 05:09:50PM +0100, Erik Persson wrote:
> Hello!
>
> I have a server which is running 2 different virtual hosts (vserver), let's 
> call them S for the server, A and B for the virtual hosts A and B.
> S, A and B have different ip-addresses (say s.s.s.s, a.a.a.a and b.b.b.b).
>
> Since the server isn't really forwarding anything I haven't used the 
> FORWARD chain for anything, and I use INPUT and OUTPUT to regulate the flow 
> to the different servers, for example:
>
> iptables -P INPUT DROP
> iptables -P OUTPUT DROP
> iptables -P FORWARD DROP
> iptables -I INPUT -d a.a.a.a -p tcp --dport 80 -j ACCEPT
> on the server
> seems to do what I want. In the example above letting A and only A answer 
> requests on port 80.
>
> However, when I try to regulate the flow of traffic between the different 
> "machines" (S, A, and B) strange things happen.
>
> For example:
> iptables -I OUTPUT -d a.a.a.a -p tcp --dport 25 -j ACCEPT
> doesn't only allow any of the "machines" to try to contact port 25 on A, 
> but it *also allows A to answer* !!!

if by answer, you mean respond to the same request, then that is
appropriate, IIUC. The rules relate to *new* requests, not responses
to existing ones. That's why when you block port 80 inbound, you can
still recieve packets -- they match up to outbound requests your
browser has made.

I think that's right.

A


signature.asc
Description: Digital signature


iptables and virtual hosts problem

2007-10-30 Thread Erik Persson

Hello!

I have a server which is running 2 different virtual hosts (vserver), 
let's call them S for the server, A and B for the virtual hosts A and B.

S, A and B have different ip-addresses (say s.s.s.s, a.a.a.a and b.b.b.b).

Since the server isn't really forwarding anything I haven't used the 
FORWARD chain for anything, and I use INPUT and OUTPUT to regulate the 
flow to the different servers, for example:


iptables -P INPUT DROP
iptables -P OUTPUT DROP
iptables -P FORWARD DROP
iptables -I INPUT -d a.a.a.a -p tcp --dport 80 -j ACCEPT
on the server
seems to do what I want. In the example above letting A and only A 
answer requests on port 80.


However, when I try to regulate the flow of traffic between the 
different "machines" (S, A, and B) strange things happen.


For example:
iptables -I OUTPUT -d a.a.a.a -p tcp --dport 25 -j ACCEPT
doesn't only allow any of the "machines" to try to contact port 25 on A, 
but it *also allows A to answer* !!!


I would very much like to know why:
iptables -I INPUT [...] -d a.a.a.a -p tcp --dport 25 -j ACCEPT
isn't required.

Thanks in advance!

/erik


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




RE: /etc/host.conf questions

2007-10-30 Thread Mike Kuhar
That would be
/etc/nsswitch.conf

on the line marked 'hosts'

-mike

-Original Message-
From: Paul E Condon [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, October 30, 2007 11:21 AM
To: debian-user@lists.debian.org
Subject: /etc/host.conf questions

I'm running Etch. I'm involved in a project to understand
how networking is set up on my home lan. I'm looking at
/etc/host.conf . It contains a single line:

multi on

man host.conf says that a possible config-line in host.conf
is 'order', and there is no such line in my copy. This line
is supposed to determine whether BIND or /etc/hosts if 
searched first. Since there is no such line, resolver must
be doing some default. What is the default order in Debian
Etch? Or, is there some other place where the order is really
set in Debian Etch?

-- 
Paul E Condon   
[EMAIL PROTECTED]


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


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



/etc/host.conf questions

2007-10-30 Thread Paul E Condon
I'm running Etch. I'm involved in a project to understand
how networking is set up on my home lan. I'm looking at
/etc/host.conf . It contains a single line:

multi on

man host.conf says that a possible config-line in host.conf
is 'order', and there is no such line in my copy. This line
is supposed to determine whether BIND or /etc/hosts if 
searched first. Since there is no such line, resolver must
be doing some default. What is the default order in Debian
Etch? Or, is there some other place where the order is really
set in Debian Etch?

-- 
Paul E Condon   
[EMAIL PROTECTED]


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



Re: getting sound to stick in Etch...

2007-10-30 Thread Florian Kulzer
On Tue, Oct 30, 2007 at 14:28:27 +, Digby Tarvin wrote:
> I am having a problem getting audio functionality to stick in a 
> newly installed Etch system on a Dell precision 410 MT.
> 
> There was no sound device immediately after install, so I ran
> alsaconf, selected:
>   legacy Probe legacy ISA (non-PnP) chips
> told it to probe "cs4236   Cirrus Logic CS4235-9" then answered Y to
>   Do you want to modify /etc/modprobe.d/sound
> And I get
>OK, sound driver is configured.
>ALSA CONFIGURATOR  will prepare the card for playing now.
>Now I will load the ALSA sound driver and use
>amixer to raise the default volumes.
> 
> This results in /etc/modprobe.d/sound containing:
>  alias snd-card-0 snd-cs4236
>  options snd-cs4236 index=0 port=0x530 cport=0x538 isapnp=0 dma1=1 dma2=0 
> irq=5

[...]

> Two problems...
> 1. after rebooting it is all gone and I have no sound again :(
>I assume the modprobe.d/sound file should be causing sound to be configured
>at boot time, but it appears not to be..
>Any ideas what is going wrong or what I still need to do?
>
> 2. No /dev/dsp, so attempting to run esd for gnome fails...
>Could it be anything to do with the /etc/modprobe.d entry:
>lrwxrwxrwx 1 root root41 2007-10-27 21:42 linux-sound-base_noOSS -> 
> /lib/linux-sound-base/noOSS.modprobe.conf

Adding the following two lines to /etc/modules might help:

snd_cs4236
snd_pcm_oss

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


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



getting sound to stick in Etch...

2007-10-30 Thread Digby Tarvin
I am having a problem getting audio functionality to stick in a 
newly installed Etch system on a Dell precision 410 MT.

There was no sound device immediately after install, so I ran
alsaconf, selected:
legacy Probe legacy ISA (non-PnP) chips
told it to probe "cs4236   Cirrus Logic CS4235-9" then answered Y to
Do you want to modify /etc/modprobe.d/sound
And I get
 OK, sound driver is configured.
 ALSA CONFIGURATOR  will prepare the card for playing now.
 Now I will load the ALSA sound driver and use
 amixer to raise the default volumes.

This results in /etc/modprobe.d/sound containing:
 alias snd-card-0 snd-cs4236
 options snd-cs4236 index=0 port=0x530 cport=0x538 isapnp=0 dma1=1 dma2=0 irq=5

and /proc/asound contains:
 dr-xr-xr-x 4 root root 0 2007-10-30 15:23 card0
 -r--r--r-- 1 root root 0 2007-10-30 15:23 cards
 lrwxrwxrwx 1 root root 5 2007-10-30 15:23 CS4237B -> card0
 -r--r--r-- 1 root root 0 2007-10-30 15:23 devices
 -r--r--r-- 1 root root 0 2007-10-30 15:23 hwdep
 -r--r--r-- 1 root root 0 2007-10-30 15:23 modules
 dr-xr-xr-x 2 root root 0 2007-10-30 15:23 oss
 -r--r--r-- 1 root root 0 2007-10-30 15:23 pcm
 dr-xr-xr-x 2 root root 0 2007-10-30 15:23 seq
 -r--r--r-- 1 root root 0 2007-10-30 15:23 timers
 -r--r--r-- 1 root root 0 2007-10-30 15:23 version

Two problems...
1. after rebooting it is all gone and I have no sound again :(
   I assume the modprobe.d/sound file should be causing sound to be configured
   at boot time, but it appears not to be..
   Any ideas what is going wrong or what I still need to do?

2. No /dev/dsp, so attempting to run esd for gnome fails...
   Could it be anything to do with the /etc/modprobe.d entry:
   lrwxrwxrwx 1 root root41 2007-10-27 21:42 linux-sound-base_noOSS -> 
/lib/linux-sound-base/noOSS.modprobe.conf

Thanks,
DigbyT
-- 
Digby R. S. Tarvin  digbyt(at)digbyt.com
http://www.digbyt.com


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



etch apt - Failed to fetch kernel, Size Mismatch error

2007-10-30 Thread Siju George
Hi I am unable to upgrade my Debian Etch System to the new kernel.
Could some one please help me with this?

Details below

==
fsdc:~# cat /etc/apt/sources.list
deb http://ftp.de.debian.org/debian/ etch main contrib
deb http://security.debian.org etch/updates main contrib
#for sun java
#deb http://ftp.de.debian.org/debian/ unstable non-free
fsdc:~# apt-get update
Get:1 http://security.debian.org etch/updates Release.gpg [189B]
Get:2 http://ftp.de.debian.org etch Release.gpg [378B]
Hit http://security.debian.org etch/updates Release
Hit http://ftp.de.debian.org etch Release
Ign http://security.debian.org etch/updates/main Packages/DiffIndex
Ign http://ftp.de.debian.org etch/main Packages/DiffIndex
Ign http://security.debian.org etch/updates/contrib Packages/DiffIndex
Ign http://ftp.de.debian.org etch/contrib Packages/DiffIndex
Hit http://security.debian.org etch/updates/main Packages
Hit http://ftp.de.debian.org etch/main Packages
Hit http://security.debian.org etch/updates/contrib Packages
Hit http://ftp.de.debian.org etch/contrib Packages
Fetched 2B in 2s (1B/s)
Reading package lists... Done
fsdc:~# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree... Done
Calculating upgrade... Done
The following packages will be upgraded:
  dhcp-client librpcsecgss3 linux-image-2.6.18-5-486 linux-image-2.6.18-5-686
4 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 32.5MB/32.6MB of archives.
After unpacking 24.6kB disk space will be freed.
Do you want to continue [Y/n]? y
Get:1 http://security.debian.org etch/updates/main
linux-image-2.6.18-5-486 2.6.18.dfsg.1-13etch4 [16.2MB]
Get:2 http://security.debian.org etch/updates/main
linux-image-2.6.18-5-686 2.6.18.dfsg.1-13etch4 [16.3MB]
Fetched 652B in 1s (398B/s)
Failed to fetch
http://security.debian.org/pool/updates/main/l/linux-2.6/linux-image-2.6.18-5-486_2.6.18.dfsg.1-13etch4_i386.deb
 Size mismatch
Failed to fetch
http://security.debian.org/pool/updates/main/l/linux-2.6/linux-image-2.6.18-5-686_2.6.18.dfsg.1-13etch4_i386.deb
 Size mismatch
E: Unable to fetch some archives, maybe run apt-get update or try with
--fix-missing?
fsdc:~# apt-get update --fix-missing
Get:1 http://security.debian.org etch/updates Release.gpg [189B]
Get:2 http://ftp.de.debian.org etch Release.gpg [378B]
Hit http://security.debian.org etch/updates Release
Hit http://ftp.de.debian.org etch Release
Ign http://security.debian.org etch/updates/main Packages/DiffIndex
Ign http://ftp.de.debian.org etch/main Packages/DiffIndex
Ign http://security.debian.org etch/updates/contrib Packages/DiffIndex
Ign http://ftp.de.debian.org etch/contrib Packages/DiffIndex
Hit http://security.debian.org etch/updates/main Packages
Hit http://ftp.de.debian.org etch/main Packages
Hit http://security.debian.org etch/updates/contrib Packages
Hit http://ftp.de.debian.org etch/contrib Packages
Fetched 2B in 2s (1B/s)
Reading package lists... Done
fsdc:~# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree... Done
Calculating upgrade... Done
The following packages will be upgraded:
  dhcp-client librpcsecgss3 linux-image-2.6.18-5-486 linux-image-2.6.18-5-686
4 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 32.5MB/32.6MB of archives.
After unpacking 24.6kB disk space will be freed.
Do you want to continue [Y/n]? y
Get:1 http://security.debian.org etch/updates/main
linux-image-2.6.18-5-486 2.6.18.dfsg.1-13etch4 [16.2MB]
Get:2 http://security.debian.org etch/updates/main
linux-image-2.6.18-5-686 2.6.18.dfsg.1-13etch4 [16.3MB]
Fetched 652B in 1s (465B/s)
Failed to fetch
http://security.debian.org/pool/updates/main/l/linux-2.6/linux-image-2.6.18-5-486_2.6.18.dfsg.1-13etch4_i386.deb
 Size mismatch
Failed to fetch
http://security.debian.org/pool/updates/main/l/linux-2.6/linux-image-2.6.18-5-686_2.6.18.dfsg.1-13etch4_i386.deb
 Size mismatch
E: Unable to fetch some archives, maybe run apt-get update or try with
--fix-missing?
fsdc:~# uname -a
Linux fsdc 2.6.18-5-486 #1 Thu Aug 30 01:46:45 UTC 2007 i686 GNU/Linux
fsdc:~#
=
Thank you so much :-)

Kind Regards
Siju


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



Re: intall nvidia driver on debian lenny

2007-10-30 Thread Bogdan Marian

MRH wrote:

Dnia 29/10/07 20:50,Nick Lidakis napisał:

Bogdan Marian wrote:


Hello.

Yes, it was running with the free version of the driver. I can 
successfully start if i change the Driver section to "nv" from 
"nvidia". In fact, that's how i'm able to send you this mail.




I had a similar problem once; realized I forgot to do "apt-get 
install nvidia-glx" which creates some necessary TLS links.


This page should be helpful, it describes the whole process quite well 
(with different ways of installing the driver) and offers some 
troubleshooting:

http://wiki.debian.org/NvidiaGraphicsDrivers

Kind regards,
Michal R. Hoffmann



Hello,

Nick, I'm running Lenny, so nvidia-glx is not in the repos...
Michal, I tried the methods on that page and it didn't work... Last 
thing i tried was to install the NVIDIA way, using the Nvidia .bin 
supplied from their home site...still no luck.


Bogdan


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




suexec policy violation: see suexec log for more details

2007-10-30 Thread schemelab
I am running Debian/Etch 4.0 and I don't understand how to get rid of
this error.

Further, "locate" shows no suexec logfile:

[EMAIL PROTECTED]:/var/log# locate suexec
/etc/apache2/mods-available/suexec.load
/etc/apache2/mods-available/suexec.load.lock
/etc/apache2/mods-enabled/suexec.load
/usr/lib/apache2/modules/mod_suexec.so
/usr/lib/apache2/suexec
/usr/share/man/man8/suexec2.8.gz
/usr/share/webmin/apache/mod_suexec.pl

The problem occurs when I make a request to a CGI script:
[Tue Oct 30 08:26:26 2007] [error] [client 75.187.102.204] suexec
policy violation: see suexec log for more details
[Tue Oct 30 08:26:26 2007] [error] [client 75.187.102.204] Premature
end of script headers: hgwebdir.cgi


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



Re: Apt-Get or Aptitude

2007-10-30 Thread Dal

Daniel Burrows wrote:

On Mon, Oct 29, 2007 at 12:14:18AM -0600, Nate Duehr <[EMAIL PROTECTED]> was 
heard to say:
  

On Oct 28, 2007, at 11:06 AM, Daniel Burrows wrote:


 I'd say the main difference is that apt-get is a command-line tool,
whereas aptitude is an interactive tool that can be driven from the
command-line.
  
I would disagree.  Aptitude supports command-line operation as well as 
interactive.



  What I meant by that is that the project's goals and focus have always
been on interactivity.  This isn't a matter of excluding particular
lines of development, but most of the work that goes into aptitude is
weighted towards its interactive features.  That's one reason, for
instance, that the "show" output from the command-line is prettier
than in apt-get, but slower and less useful to scripts.  These
deficiencies could be corrected, but they are lower-priority than, say,
improving interactive dependency handling and fixing UI glitches.

  Also, I was trying to gently point out that there's more to aptitude
than the command-line.  Excluding generic shared code, the rest of
aptitude is about 6 times larger than the command-line interface, and it
would be nice to think people occasionally use all that stuff. :-)  I
occasionally notice people writing that they just discovered aptitude's
curses interface after using it for ages, so I know that this isn't
universally known.

  Daniel


  
Aptitude user interface is really great. When I started with debian 
there was just dselect and I don't think that was user friendly.
Just aptitude and synaptic too make debian easier for normal users. 
Anyway it's pity that aptitude doesn't (maybe I just can't find it) 
source download. Something like apt-get source package.


Anyway it has really better problems-with-packages solving :)


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




Re: ssh into chroot

2007-10-30 Thread Owen Townend
Hey,
  I've had a similar problem in BSD jails, sshd on the host system
defaulted to listen to all interfaces and hence began listening on the
virtual device assigned to the jail (or in this case chroot?). This was
fixed in a single line in the sshd config file. Perhaps a similar
problem is occurring here.

cheers,
Owen.

On Tue, 2007-10-30 at 01:58 -0700, Todd A. Jacobs wrote:
> I'm using schroot to run a sid chroot inside of etch, and have run into
> a problem. I googled around, and found the following:
> 
> 1. use bind to mount /proc inside the chroot
> 2. run sshd inside the chroot
> 3. connect
> 
> Only when I do these things, ssh seems to hang during the login process:
> 
> debug1: Authentication succeeded (password).
> debug1: channel 0: new [client-session]
> debug1: Entering interactive session.
> debug1: Sending environment.
> debug1: Sending env LANG = en_US.UTF-8
> 
> Obviously, it doesn't like the chroot somehow. What am I missing?
> 
> -- 
> "Oh, look: rocks!"
>   -- Doctor Who, "Destiny of the Daleks"
> 
> 


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



Re: tetex-base: Conflicts: jadetex (<= 3.13-6) but 3.13-6 is to be installed

2007-10-30 Thread Mathieu Malaterre
On 10/29/07, Florian Kulzer <[EMAIL PROTECTED]> wrote:
> On Mon, Oct 29, 2007 at 15:24:00 +0100, Mathieu Malaterre wrote:
> > Could someone please let me know what this is supposed to mean:
> >
> > tetex-base: Conflicts: jadetex (<= 3.13-6) but 3.13-6 is to be installed
> >
> > Command:
> >
> > $ sudo apt-get  install  docbook-utils jadetex tetex-bin tetex-extra 
> > tetex-base
> >
> > on debian oldstable (sarge)
>
> It seems that you are trying to install Etch's version of tetex-base
> together with Sarge's version of jadetex. Please post the output of
>
> apt-cache policy jadetex tetex-base

Hi Florian,

  Here it is:

jadetex:
  Installed: (none)
  Candidate: 3.13-6
  Version table:
 3.13-9 0
-10 http://ftp.debian.org testing/main Packages
 3.13-6 0
500 http://debian.theralys.com sarge/main Packages
tetex-base:
  Installed: (none)
  Candidate: 3.0.dfsg.3-5~bpo.1
  Version table:
 2007-12 0
-10 http://ftp.debian.org testing/main Packages
 3.0.dfsg.3-5~bpo.1 0
900 http://debian.theralys.com sarge-backports/main Packages
100 /var/lib/dpkg/status
 2.0.2c-8 0
500 http://debian.theralys.com sarge/main Packages


Thanks,
-- 
Mathieu


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



ssh into chroot

2007-10-30 Thread Todd A. Jacobs
I'm using schroot to run a sid chroot inside of etch, and have run into
a problem. I googled around, and found the following:

1. use bind to mount /proc inside the chroot
2. run sshd inside the chroot
3. connect

Only when I do these things, ssh seems to hang during the login process:

debug1: Authentication succeeded (password).
debug1: channel 0: new [client-session]
debug1: Entering interactive session.
debug1: Sending environment.
debug1: Sending env LANG = en_US.UTF-8

Obviously, it doesn't like the chroot somehow. What am I missing?

-- 
"Oh, look: rocks!"
-- Doctor Who, "Destiny of the Daleks"


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



Help with init script?

2007-10-30 Thread Rippit the Ogg Frog
I'm trying to control a BitTorrent seed from an init script.  The 
original init script (that I wrote) is in /etc/init.d/btseed.  It starts 
and stops a script that is in /usr/local/bin/btseed.  This script just 
starts btlaunchmany, which is used to seed multiple .torrents.


I couldn't get Debian Etch's btlaunchmany to work, so I installed the 
.deb for the current upstream BitTorrent that's found at 
http://download.bittorrent.com/dl/  When I run that version's 
btlaunchmany manually, it works fine.


My problem is that btlaunchmany forks a couple child processes.  When I 
try to stop my daemon, my script itself exits but the child processes 
don't.  I think I could fix this by putting a signal handler in my 
script that will kill the child processes, but I don't know how to do 
that.  I'm also not sure of what would be the best way to identify the 
child process' process ID numbers.  Perhaps ps | grep would do.


My btseed script takes no command line parameters.  Here is the code to 
start the daemon from /etc/init.d/btseed:


d_start() {
echo -n "$NAME"
start-stop-daemon --start --background --quiet \
--make-pidfile --pidfile "$PIDFILE" \
--chuid nobody \
--exec $DAEMON -- $DAEMONOPTS
}

Here is the code to stop it:

d_stop() {
start-stop-daemon --stop --oknodo --quiet --pidfile "$PIDFILE"
}

I have experimented with giving --signal to start-stop-daemon to try 
giving different signals to btseed, but nothing seemed to help.


Here is the btseed script:

#!/bin/sh

/usr/bin/btlaunchmany.py --max_upload_rate 128 \
 --save_in /var/bittorrent/torrentfiles \
 --torrent_dir /var/bittorrent/active \
 --minport 5 \
 --maxport 51000 \
 --data_dir /var/bittorrent/data | /bin/bzip2 > 
/var/bittorrent/logs/bt.log.bz2


The reason I didn't just run btlaunchmany.py directly from the init 
script is that I need to pipe its output through bzip2 and redirect it 
to a file.  I wasn't clear on how I could do that from the 
start-stop-daemon command line.


Compressing the log is necessary because btlaunchmany.py's output is 
quite verbose, and will fill a filesystem quickly.


The nonstandard port numbers are an effort to work around ISPs who 
filter BitTorrent traffic.  This doesn't always work, but probably does 
in some cases.  The BitTorrent protocol itself handles the nonstandard 
port numbers without any trouble.


Thanks for any help you can give me.

Rippit
--
Rippit the Ogg Frog
[EMAIL PROTECTED]
http://www.oggfrog.com/

  Software isn't the only thing that should be free.
Music should be too, as it once was.


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