Re: compile kernel for remote machine

2005-08-18 Thread Oliver Elphick
On Fri, 2005-08-19 at 08:34 +0200, Brent Clark wrote:
> Hi all
> 
> Would anyone know how I can compile a kernel for my remote machine on
> my machine.
...
> Baring in mind they are both debian machine and both running 2.6
> kernel and both running testing.

Since they are both Debian machines, you should install kernel-package
and use it to make debs of the kernel image that can be installed like
any other package.

apt-get install kernel-package
cd .../kernel-source-2.6.x
make-kpkg --revision=1 --append-to-version=.remote kernel-image

This makes the package ../kernel-image-2.6.x.remote_1_xxx.deb which you
can install on your remote machine.  (--append-to-version is optional,
but lets you distinguish a kernel image targetted on your remote machine
from any other of a different configuration.)

Things would be more complicated if the remote machine had a different
architecture.

Oliver


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



Re: Printer & localhost:631 -- Don't Give Up Yet

2005-08-18 Thread Marty

Charlie wrote:


My /etc/hostname file is:-

ariestao 


This is incorrect.  It should just be your hostname, with no IP address.
(Could this be the cause of your problem?)


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




compile kernel for remote machine

2005-08-18 Thread Brent Clark

Hi all

Would anyone know how I can compile a kernel for my remote machine on my 
machine.

I have the .config file.

Normally on I just type

make && make bzlilo && make modules && make modules_install

But by typing bzlilo, I will be installing that kernel on my machine.

Can I just type

make bzImage

and then scp the vmlinuz file to the remote machine.

Baring in mind they are both debian machine and both running 2.6 kernel and 
both running testing.

If anyone could give me a brief run down it would be greatfully be appreciated.

Kind Regards
Brent Clark


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




Re: Gigabit ethernet as second network interface troubles

2005-08-18 Thread Bob Proulx
Tom Deconinck wrote:
> I'm trying to add a second gigabit ethernet nic to my system.
> It's an Intel PRO/1OOOGT. (82541PI chip)

A good chipset.

> It shows up when i do lspci
> So I load the e1000 kernel module... but nothing happens, lsmod shows
> it is loaded but that is it.
> 
> I guess i need some way to link the newly added card to eth1?
> I added eth1 to /etc/network/interfaces but when if ifup eth1 it dies
> saying no invalid device eth1.

Did you modify /etc/network/interfaces to configure the new device?

  auto eth1
  iface eth1 inet dhcp

For DHCP.  Or you could use something like the following for a static IP.

  auto eth1
  iface eth1 inet static
  address 192.0.34.166
  netmask 255.255.255.0
  network 192.0.34.0
  broadcast 192.0.34.255
  gateway 192.0.34.1

Bob


signature.asc
Description: Digital signature


Re: rsync won't stop password prompt

2005-08-18 Thread Bob Proulx
Rob Brenart wrote:
> I'm trying to script an rsync process and I keep getting the password 
> prompt... here's my "script"
> 
> rsync -avz -e /usr/bin/ssh --password-file=/home/username/pwd.rsync 

The --password-file option is not useful with ssh as the transport.
See the man page:

   --password-file
  This option allows you to provide  a  password  in  a  file  for
  accessing  a  remote rsync server. Note that this option is only
  useful when accessing an rsync server using the built in  trans‐
  port,  not  when using a remote shell as the transport. The file
  must not be world readable. It should contain just the  password
  as a single line.

If you want automated batch mode use of ssh you will need to use ssh
keys without a passphrase.  Because the files are not encrypted and do
not have a passprase they must be protected with filesystem level
protection.  Any user that can read those files can use it to access
the remote system.

Bob


signature.asc
Description: Digital signature


Re: Deb packages dependent tree

2005-08-18 Thread Bob Proulx
[EMAIL PROTECTED] wrote:
> Is there is a simple way to get all deb packages that on dependent tree
> of some deb package.
> 
> For example i have deb package A that depends of package B and C. And B
> depends of D.
> I want to run some command on A and get B, C, D.

You may be wanting a tool like apt-zip?

  apt-cache show apt-zip

 These scripts simplify the process of using dselect and apt on a
 non-networked Debian box, using removable media like ZIP floppies.
 One generates a `fetch' script (supporting backends such as wget and
 lftp, in a modular, extensible way) to be run on a host with better
 connectivity, check space constraints of your removable media, and
 then install the package on your Debian box.

Bob


signature.asc
Description: Digital signature


Re: Upgraded kernels, now eth0 and framebuffer are gone

2005-08-18 Thread Bob Proulx
M Carlock wrote:
> I recently upgraded from woody to sarge per the
> instructions (aptitude etc), which was successful.
> 
> However, after then upgrading the kernel from
> 2.2.20-idepci to 2.6.8-2-386, I found I could boot OK,
> but I'd lost eth0 and the ATI framebuffer.
> 
> lspci can see both devices, but I'm at a loss as to
> how to make the kernel see them again.
> 
> modprobe eth1349 seems to work OK.  modprobe eth16i
> fails, no hardware found.  The card is a 3c905.

Install 'discover' and 'hotplug' and that should take care of most of
your problems.  Those are hardware discovery programs.  They will map
the hardware found to the current device drivers.  Very nice.

If you have the 2.6 kernel installed then install 'udev' too since it
makes for a nice /dev management.

> This must be a common question, but after a fair
> amount of googling I haven't been able to spot an answer.

Hopefully this answer will add to the google hits.

Bob


signature.asc
Description: Digital signature


Re: mailing list header exlanation

2005-08-18 Thread Bob Proulx
Jörg Sommer wrote:
> can someone explain me the meaning of the list header 
> X-Mailing-List:  archive/latest/405738
> 
> What is the last number? Can I construct the url of this article in the
> archive? And can I use this number to report spam anyhow?

Unfortunately that seems to be an internal identifier from smartlist
and not related to the mhonarc web mail archive.  I have often wanted
that.

Instead I use google with a site:debian.org restriction and search for
articles that way.

Bob


signature.asc
Description: Digital signature


Re: Printer & localhost:631 -- Don't Give Up Yet

2005-08-18 Thread Charlie
On Thu, 18 Aug 2005 19:59:05 -0700 using the keyboard as a tool Jeff crafted
these words:

|- Charlie,
|- 
|- That looks like our winner.  As you can see, you have three interfaces.
|- The "lo" interface is your loopback interface.  This should be
|- configured with the IP address 127.0.0.1.  Apparently it isn't.
|- 
|- The quick fix is to run "ifconfig lo 127.0.0.1" as root and you'll be
|- able to ping localhost.  I'm not sure you'll be able to configure CUPS,
|- as I think this is a name resolution issue as indicated in the CUPS
|- logs.
|- 
|- There is a reason for this however and I hope someone else will chime
in
|- here with some comments.  In your email off list your /etc/hosts file
|- has the following line at the top:
|- 
|- 127.0.0.1 localhost
|- 
|- Let's change this to:
|- 
|- 127.0.0.1 localhost localhost.localdomain ariestao
|- 
|- I haven't seen your /etc/network/interfaces file, but make sure you
have
|- a stanza in there somewhere along the lines of:
|- 
|- # The loopback network interface
|- auto lo
|- iface lo inet loopback
|- 
|- I *think* when your lo interface is restarted it should be assigned the
|- address 127.0.0.1.  Just for further verification, can you make sure
|- your /etc/nsswitch.conf has a line like this:
|- 
|- hosts:  files dns
|- 
|- We want to make sure that when CUPS starts and looks up the host
|- "ariestao" it is configured to look in "files" (/etc/hosts) where it
|- resolve correctly.
|- 
|- Anyway, once you have verified nsswitch.conf is correct, restart CUPS
|- and that name resolution error should be gone.
|- 
|- Post again with your results.
|- 
|- -Jeff
|- 
|- > |- What does "ifconfig -a" show?  Can you clarify what error your
|- > browser
|- > |- was giving when you tried to connect to http://127.0.0.1:631/?
|- > 
|- > ariestao:~# ifconfig -a
|- > eth0  Link encap:Ethernet  HWaddr 00:C0:9F:38:31:75
|- >   BROADCAST MULTICAST  MTU:1500  Metric:1
|- >   RX packets:0 errors:0 dropped:0 overruns:0 frame:0
|- >   TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
|- >   collisions:0 txqueuelen:1000
|- >   RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
|- >   Interrupt:4 Base address:0x1800
|- > 
|- > loLink encap:Local Loopback
|- >   LOOPBACK  MTU:16436  Metric:1
|- >   RX packets:0 errors:0 dropped:0 overruns:0 frame:0
|- >   TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
|- >   collisions:0 txqueuelen:0
|- >   RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
|- > 
|- > ppp0  Link encap:Point-to-Point Protocol
|- >   inet addr:144.139.163.21  P-t-P:139.134.24.241
|- > Mask:255.255.255.255
|- >   UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:576  Metric:1
|- >   RX packets:1564 errors:0 dropped:0 overruns:0 frame:0
|- >   TX packets:1162 errors:0 dropped:0 overruns:0 carrier:0
|- >   collisions:0 txqueuelen:3
|- >   RX bytes:596135 (582.1 KiB)  TX bytes:59323 (57.9KiB)
|- 
|- 
|- 


Jeff, you have it. Absoloominlootly marvellous, you are a legend.

I had to change nothing at all, and you just caught me in time. I went out to
cut some Tagasaste for the sheep, and thought, before I reinstall, I would
have another look. There was your post.

I just did as you said:-

ifconfig lo 127.0.0.1

And then in Firefox tried http://localhost:631 and there it was, CUPS up and
ready.

My /etc/hosts file is:- 

127.0.0.1 localhost 
 ariestao

Thanks to Mirko, and the way to find the address for this machine, because of
my doubt, and it still not working to Clive.

My /etc/hostname file is:-

ariestao 

I think that's all that is different. Have a worked on several files, but have
returned everything else to "as was" when it didn't work.

Now I will configure my printer and see if that works as it should.

I have to thank you for your time and perseverance, and timing as well.

Thank you very much indeed.

Charlie


*
Registered Linux User:- 329524
+++
My facts shall be falsehoods to the common sense. I would so state facts that
they shall be significant, shall be myths or mythologies. Facts which the mind
perceived, thoughts which the body thought -- with these I deal.
.Henry David Thoreau

***
Trying Linux Debian Sarge
_


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



Re: sendmail: 'Unrecognized host name'

2005-08-18 Thread James Vahn

On Tue, 16 Aug 2005, [EMAIL PROTECTED] wrote:


Hello,

I am trying to make my sendmail work and it should work when I fix
this problem:
sendmail -bv [EMAIL PROTECTED] returns [EMAIL PROTECTED]
Unrecognized host name lyderis.com.


Apparently you are offline when this happens - sounds like something is
preventing a name lookup. If this is indeed the case and not abnormal,
remove "dns" from /etc/mail/service.switch .. Otherwise, maybe you could
provide more info by posting your sendmail.mc (minus the comments).



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




Re: how to disable vfat permissions checking?

2005-08-18 Thread 张学成
have a try be changing your umask to 777

2005/8/19, phyrster <[EMAIL PROTECTED]>:
> Hi debianers,
> 
> When I use rox to copy a file to a vfat partitoin, I got warning saying that:
> 
> ---
> cp: preserving times for `/mnt/hda1/bennis.pdf': Operation not permitted
> Failed to copy '/home/phyrster/bennis.pdf'
> ---
> 
> Of course vfat does not have permission setting like ext3 does. How to
> disable this warning with rox? Copying and moving files in terminal does not
> give warning like this.
> 
> Below is an entry in my fstab:
> 
> 
> # /etc/fstab: static file system information.
> #--
> /dev/hdb2 /mnt/hdb2 vfat users,exec,umask=000,iocharset=utf8 0 0
> 
> 
> 
> 
> 
> regards
> 
> bxuef
> 
> --
> dhammapada says:
> 
>   People beset by desire run here and there, like a snared rabbit, and
>   those trapped in the bonds of attachments keep returning for a long time
>   to suffering. 342
> 
> 
> 
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 
> 


-- 
Best regards
张学成


Re: Can't create .Xauthority for users

2005-08-18 Thread Cláudio E. Elicker
On Thursday 18 August 2005 16:26, Haines Brown wrote:
> I'm setting up a new machine with 2.6.8-2-686 kernel on sarge. Things
> seem to be working except for one thing: Users can't start the x
> server (root has no problem).
>
> When user does startx, the nVidia splash screen appears momentarily,
> but I'm thrown back to the console. The startx messages only say that
> .Xauthority is being created. However, no .Xauthority shows up in the
> user's home directory.


Did you put the user(s) in the group "video"?

[]'s
Cláudio



Can't create .Xauthority for users

2005-08-18 Thread Haines Brown
I'm setting up a new machine with 2.6.8-2-686 kernel on sarge. Things
seem to be working except for one thing: Users can't start the x
server (root has no problem). 

When user does startx, the nVidia splash screen appears momentarily,
but I'm thrown back to the console. The startx messages only say that
.Xauthority is being created. However, no .Xauthority shows up in the
user's home directory. 

In ~/Xsession-errors, I get: 

  Xsession: X session started for brownh at ...
  open: Permission denied

I assume the lack of permission is the result of their being no
.Xauthority file actually created in user's account.

/var/log/auth.log records that a session has opened for user, but no
errors are reported.

I tried

  # su - user
  $ startx
  xauth: creating new authority file /home/user/.Xauthority
  /usr/bin/X11/startx: line 132: cannot create temporary file for here 
document: Permission denied
  X: user not authorized to run the X server, aborting
  xinit: Server error.
  xauth: craeting new authority file /home/user/.Xauthority
  Couldn't get a file descriptor referring to the console

The section in /usr/bin/X11/startx:

  for displayname in $authdisplay $hostname$authdisplay; do
if ! xauth list ""displayname" | grep "$displayname " 
>/dev/null 2>&1; then
  xauth << EOF

Line 132 is this last line. The /etc/X11/Xsession is writable by
anyone. At this point I get in way over my head and don't see any
creation of a temporary file.

When root does:

  $ xauth list
  teufel.hartford-hwp.com/unix:0  MIT-MAGIC-COOKIE-1  ...
  localhost.localdomain:0  MIT-MAGIC-COOKIE-1  ...
  hartford-hwp.com/unix:0  MIT-MAGIC-COOKIE-1 ... 
  64.227.154.66:0  MIT-MAGIC-COOKIE-1  ...
  teufel/unix:0  MIT-MAGIC-COOKIE-1  ...
  teufel.hartford-hwp.com:0  MIT-MAGIC-COOKIE-1 ...
  127.0.1.1:0  MIT-MAGIC-COOKIE-1  ... 

When root does: 

  # xauth list  
  teufel.hartford-hwp.com:0  MIT-MAGIC-COOKIE-1 ...
  teufel/unix:0  MIT-MAGIC-COOKIE-1 ...
  192.168.1.1:0   MIT-MAGIC-COOKIE-1 ...

it is clear something is wrong with network configuration, for on an
old running machine with same configuration:

  $ xauth list
  teufel.hartford-hwp.com/unix:0  MIT-MAGIC-COOKIE-1  ...
  localhost.localdomain:0  MIT-MAGIC-COOKIE-1  ...
  hartford-hwp.com/unix:0  MIT-MAGIC-COOKIE-1 ... 
  64.227.154.66:0  MIT-MAGIC-COOKIE-1  ...
  teufel/unix:0  MIT-MAGIC-COOKIE-1  ...
  teufel.hartford-hwp.com:0  MIT-MAGIC-COOKIE-1 ...
  127.0.1.1:0  MIT-MAGIC-COOKIE-1  ... 

Missing on the new machine is the loopback device and other lines. I
suspect the lack of loopback might prevent creation of the user
.Xauthority files.

The /etc/hosts and /etc/hostname files on the two machines are the
same. A difference is that the old machine uses /etc/resolv.conf,
while the new machine uses the resolvconf utility.

A clue may come from the result of running # ifconfig -a , for there
are two ethN interfaces listed (I'm using only the MAC on my Asus A8N 
motherboard and no NIC. The two machines address a hardware
firewall). 

The eth0 interface is down, and so lacks the lines: 

  Link encap: Ethernet HWadd... and the line
  inet addr: ...
  Interrupt:NNN Base address:NNN

In /etc/network/interfaces I must use "iface eth1 inet dhcp" because
the eth0 is down and does not support communications. 

-- 
 
   Haines Brown
   KB1GRM   


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



how to disable vfat permissions checking?

2005-08-18 Thread phyrster
Hi debianers, 

When I use rox to copy a file to a vfat partitoin, I got warning saying that:

---
cp: preserving times for `/mnt/hda1/bennis.pdf': Operation not permitted
Failed to copy '/home/phyrster/bennis.pdf'
---

Of course vfat does not have permission setting like ext3 does. How to
disable this warning with rox? Copying and moving files in terminal does not
give warning like this. 

Below is an entry in my fstab:


# /etc/fstab: static file system information.
#--
/dev/hdb2 /mnt/hdb2 vfat users,exec,umask=000,iocharset=utf8 0 0





regards

bxuef

--
dhammapada says:
 
  People beset by desire run here and there, like a snared rabbit, and
  those trapped in the bonds of attachments keep returning for a long time
  to suffering. 342
 


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



CUPS "No pages found!" error

2005-08-18 Thread ctrlER
Hi, I have an Epson C40UX (usb). I've configured CUPS and it detects the 
printer but when i try to print a teste page from the CUPS Admin Page it 
doesnt print and the job status is "aborted".


Can someone help?

Thank you.

Ricardo







This are the last lines from /var/log/cups/error_log

D [19/Aug/2005:04:46:23 +0100] [Job 27] max_gray = 1, dither_grays = 2
D [19/Aug/2005:04:46:23 +0100] [Job 27] max_color = 1, dither_colors = 2
D [19/Aug/2005:04:46:23 +0100] [Job 27] Using color profile in PPD file!
D [19/Aug/2005:04:46:23 +0100] [Job 27] cups->header.Duplex = 0
D [19/Aug/2005:04:46:23 +0100] [Job 27] cups->page = 1
D [19/Aug/2005:04:46:23 +0100] [Job 27] cupsPPD = 0x8685650
D [19/Aug/2005:04:46:23 +0100] [Job 27] cupsPPD->flip_duplex = 0
D [19/Aug/2005:04:46:23 +0100] [Job 27] width = 2889, height = 3884
D [19/Aug/2005:04:46:23 +0100] [Job 27] PageSize = [ 595 842 ], 
HWResolution = [

 360 360 ]
D [19/Aug/2005:04:46:23 +0100] [Job 27] HWMargins = [ 8.600 39.600 8.600 
25.510

]
D [19/Aug/2005:04:46:23 +0100] [Job 27] matrix = [ 5.000 0.000 0.000 
-5.000 -43.

000 4082.450 ]
D [19/Aug/2005:04:46:23 +0100] [Job 27] resmp FindResource beg 
Helvetica-Bold
D [19/Aug/2005:04:46:23 +0100] [Job 27] resmp ResourceStatus beg 
/Helvetica-Bold

D [19/Aug/2005:04:46:23 +0100] [Job 27] resmp ResourceStatus end
D [19/Aug/2005:04:46:23 +0100] [Job 27] FAPIhook NimbusSanL-BoldESP 
Ghostscript

815.00: Error: Font Renderer Plugin ( FreeType ) return code = -1
D [19/Aug/2005:04:46:23 +0100] [Job 27]
D [19/Aug/2005:04:46:23 +0100] [Job 27] FAPIhook is in .loadfont context 
for the

 font Font NimbusSanL-Bold.
D [19/Aug/2005:04:46:23 +0100] [Job 27] Trying to render the font Font 
NimbusSan

L-Bold with FAPI...
D [19/Aug/2005:04:46:23 +0100] [Job 27] FAPIhook Helvetica-Bold
D [19/Aug/2005:04:46:23 +0100] [Job 27] PathLoad known for the font 
Error: /inva

lidfont in -dict-
D [19/Aug/2005:04:46:23 +0100] [Job 27] Operand stack:
D [19/Aug/2005:04:46:23 +0100] [Job 27] bigFont   Helvetica-Bold   Font 
  Helvet
ica-Bold   313136   Helvetica-Bold   --nostringval--   false 
Helvetica-Bold
--dict:14/15(G)--   Font   Helvetica-Bold   --dict:14/15(G)-- 
Helvetica-Bold

D [19/Aug/2005:04:46:23 +0100] [Job 27] Execution stack:
D [19/Aug/2005:04:46:23 +0100] [Job 27] %interp_exit   .runexec2 
--nostringval
--   --nostringval--   --nostringval--   2   %stopped_push 
--nostringval--   -
-nostringval--   --nostringval--   false   1   %stopped_push   1   3 
%oparray_
pop   1   3   %oparray_pop   1   3   %oparray_pop   1   3   %oparray_pop 
  .rune
xec2   --nostringval--   --nostringval--   --nostringval--   2 
%stopped_push
 --nostringval--   2   3   %oparray_pop   3   3   %oparray_pop 
--nostringval--
   --nostringval--   --nostringval--   --nostringval-- 
--nostringval--   --nos
tringval--   false   1   %stopped_push   6   4   %oparray_pop 
--nostringval--
  0   --nostringval--   %repeat_continue   9   5   %oparray_pop 
--nostringval-
-   10   5   %oparray_pop   11   5   %oparray_pop   --nostringval-- 
--nostring
val--   --nostringval--   15   6   %oparray_pop   --nostringval--   15 
 6   %op

array_pop
D [19/Aug/2005:04:46:23 +0100] [Job 27] Dictionary stack:
D [19/Aug/2005:04:46:23 +0100] [Job 27] --dict:1119/1686(ro)(G)-- 
--dict:0/20(
G)--   --dict:99/200(L)--   --dict:20/27(ro)(G)-- 
--dict:1119/1686(ro)(G)--

--dict:20/27(ro)(G)--
D [19/Aug/2005:04:46:23 +0100] [Job 27] Current allocation mode is local
D [19/Aug/2005:04:46:23 +0100] [Job 27] ESP Ghostscript 815.00: 
Unrecoverable er

ror, exit code 1
E [19/Aug/2005:04:46:23 +0100] PID 8468 stopped with status 1!
E [19/Aug/2005:04:46:23 +0100] [Job 27] No pages found!
E [19/Aug/2005:04:46:23 +0100] PID 8469 stopped with status 1!
D [19/Aug/2005:04:46:23 +0100] UpdateJob: job 27, file 0 is complete.
D [19/Aug/2005:04:46:23 +0100] CancelJob: id = 27
D [19/Aug/2005:04:46:23 +0100] StopJob: id = 27, force = 0
D [19/Aug/2005:04:46:23 +0100] StopJob: printer state is 3


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




Re: Ownership of cdrom devices

2005-08-18 Thread [KS]
[KS] wrote:
> [EMAIL PROTECTED] wrote:
> 
>>On Thursday 18 August 2005 03:23 am, [KS] wrote:
>>
>>
>>>$ ls -l /dev/hdc
>>>brw-rw  1 root floppy 22, 0 2005-08-15 15:28 /dev/hdc
>>>
>>>$ ls -l /dev/hdd
>>>brw-rw  1 root floppy 22, 64 2005-08-15 15:28 /dev/hdd
>>>
>>
>>It is default for media to be mounted as root.  Try seeing if your user is 
>>added to the 'cdrom' group (groups user_name).  If not, add each user that 
>>you want to have access to the cdrom without having to mount root.
>>
>>Alternativly, you can add 'user' to the options in /etc/fstab and reboot.
>>
>>If this doesn't help, please let me know.
>>
>>Steve
>>
>>
> 
> 
> I am in the cdrom group and in the floppy group too. But the wierd thing
> is why the /dev/hdc (cdrw) and /dev/hdd (dvdrw) have a group ownership
> of floppy! I saw something related to this in debian bugs. Will update
> if it is relevant.
> 
> /KS
> 
> 
Bug 321276 seems to be the cause. It is fixed in udev version 0.068-1


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



Re: Hardware issues

2005-08-18 Thread Kent West
[EMAIL PROTECTED] wrote:

> Hi, I am wondering if it is possible to use Debian as my OS and be
> able to get my ... TV-Tuner card [ATI TV Wonder-Pro] to work.
>

I can't speak about your particular card, but I have an older ATI
All-In-Wonder TV card that mostly works. I had to get the gatos ati.2
driver (and everytime X has too much of an upgrade, I have to re-place
the gatos driver).

-- 
Kent


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



Re: Gigabit ethernet as second network interface troubles

2005-08-18 Thread Henrique de Moraes Holschuh
On Thu, 18 Aug 2005, Tom Deconinck wrote:
> It shows up when i do lspci
> So I load the e1000 kernel module... but nothing happens, lsmod shows
> it is loaded but that is it.

dmesg should tell you that the module found the card. If it did not, lspci
with a bit more care and make sure the bios/linux ACPI post enabled
interrupts, etc for the card...

ifconfig -a should list a new eth* interface which is the gigabit card. If
it doesn't, either your kernel/kernel config/bios is screwed, or something
in the hardware setup itself is.

> The system is a Intel P4 single board with chipset 845 and a pci
> backplane.

Does that chipset support the proper PCI version required by the e1000 card?

Also, using the newest kernel (2.6.12.5) is always a good try when a driver
that has seen constant updates lately fails to do what you expect...

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh


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



Re: Printer & localhost:631 -- Don't Give Up Yet

2005-08-18 Thread Jeff Stevens
Charlie,

That looks like our winner.  As you can see, you have three interfaces.
The "lo" interface is your loopback interface.  This should be
configured with the IP address 127.0.0.1.  Apparently it isn't.

The quick fix is to run "ifconfig lo 127.0.0.1" as root and you'll be
able to ping localhost.  I'm not sure you'll be able to configure CUPS,
as I think this is a name resolution issue as indicated in the CUPS
logs.

There is a reason for this however and I hope someone else will chime in
here with some comments.  In your email off list your /etc/hosts file
has the following line at the top:

127.0.0.1 localhost

Let's change this to:

127.0.0.1 localhost localhost.localdomain ariestao

I haven't seen your /etc/network/interfaces file, but make sure you have
a stanza in there somewhere along the lines of:

# The loopback network interface
auto lo
iface lo inet loopback

I *think* when your lo interface is restarted it should be assigned the
address 127.0.0.1.  Just for further verification, can you make sure
your /etc/nsswitch.conf has a line like this:

hosts:  files dns

We want to make sure that when CUPS starts and looks up the host
"ariestao" it is configured to look in "files" (/etc/hosts) where it
resolve correctly.

Anyway, once you have verified nsswitch.conf is correct, restart CUPS
and that name resolution error should be gone.

Post again with your results.

-Jeff

> |- What does "ifconfig -a" show?  Can you clarify what error your
> browser
> |- was giving when you tried to connect to http://127.0.0.1:631/?
> 
> ariestao:~# ifconfig -a
> eth0  Link encap:Ethernet  HWaddr 00:C0:9F:38:31:75
>   BROADCAST MULTICAST  MTU:1500  Metric:1
>   RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>   TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>   collisions:0 txqueuelen:1000
>   RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
>   Interrupt:4 Base address:0x1800
> 
> loLink encap:Local Loopback
>   LOOPBACK  MTU:16436  Metric:1
>   RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>   TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>   collisions:0 txqueuelen:0
>   RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
> 
> ppp0  Link encap:Point-to-Point Protocol
>   inet addr:144.139.163.21  P-t-P:139.134.24.241
> Mask:255.255.255.255
>   UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:576  Metric:1
>   RX packets:1564 errors:0 dropped:0 overruns:0 frame:0
>   TX packets:1162 errors:0 dropped:0 overruns:0 carrier:0
>   collisions:0 txqueuelen:3
>   RX bytes:596135 (582.1 KiB)  TX bytes:59323 (57.9KiB)




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



Re: Ownership of cdrom devices

2005-08-18 Thread [KS]
[EMAIL PROTECTED] wrote:
> On Thursday 18 August 2005 03:23 am, [KS] wrote:
> 
>>
>>$ ls -l /dev/hdc
>>brw-rw  1 root floppy 22, 0 2005-08-15 15:28 /dev/hdc
>>
>>$ ls -l /dev/hdd
>>brw-rw  1 root floppy 22, 64 2005-08-15 15:28 /dev/hdd
>>
> 
> It is default for media to be mounted as root.  Try seeing if your user is 
> added to the 'cdrom' group (groups user_name).  If not, add each user that 
> you want to have access to the cdrom without having to mount root.
> 
> Alternativly, you can add 'user' to the options in /etc/fstab and reboot.
> 
> If this doesn't help, please let me know.
> 
> Steve
> 
> 

I am in the cdrom group and in the floppy group too. But the wierd thing
is why the /dev/hdc (cdrw) and /dev/hdd (dvdrw) have a group ownership
of floppy! I saw something related to this in debian bugs. Will update
if it is relevant.

/KS


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



Join us for the Contact Advocate, Inc. - 2005 - Get Found! Conference

2005-08-18 Thread Contact Advocate, Inc.



 

 
  
  
   

 
  
   
  
  
   

 
  
 



 
  
   


 


 
 
  
   
  
  
   
  
 
 



 
 
  
      

  
  
   
 

  
 
 



 
 
  
   


  
  
   
Title Sponsors

  
 
 



 
 
  
   
  
  
   
  
 
 



 
 
  
   
  
  
   
  
 
 



 
 
  
   


  
  
   
Sponsors

  
 
 



 
 
  
    

  
  
   
 

 
 
 
  
 

 


 
 
 

 
 
 

 
 

 
  
 

 
 
 
 
 
 
  


  
 
 



 
 
  
   

  
  
   
 

For more information contact Angelo Rossetti 
at 203-996-4417.

  
 
 



 
  
  Know someone who would be interested in receiving this information? Click here to tell them about it.

   
  
  
   


 
Join us for the 2005 - Get Found! 
Conference 

 
The 2005 - Get Found! Conference is the largest conference in New England 
that keeps you informed about search engine marketing and optimization issues. 
At this event you will hear from top experts in the field and the search engines 
themselves about the ins-and-outs of search engine marketing. 

Don't be left behind as your fellow marketers gather to learn how to maximize 
search engine marketing opportunities and stay informed of the latest search 
developments and solutions in this area. As the industry keeps reinventing 
itself at an amazing pace, this is a must attend conference. 


September 8, 20058:00am - 4:30pmMarriott 
HotelRocky Hill, CT
Only $125 per person if registered by August 20th, 
2005

Individuals who register before August 20th will be 
entered into a drawing to win a Timex Watch.

 



 





Dynamic Keynote Speakers 


 
Fredrick Marckini, CEO and Founder, 
iProspectFredrick Marckini is the Founder and Chief Executive Officer of 
iProspect. He is recognized as a leading expert in the field of search engine 
marketing and has authored three of the SEM industry's most respected books 
including the ground-breaking, Secrets To Achieving Top-10 Positions (1997), 
Achieving Top-10 Rankings in Internet Search Engines (1998), and Search Engine 
Positioning (2001) — considered by most the "bible" of the industry. Mr. 
Marckini is considered one of the pioneers of search engine marketing and writes 
a regular column for the online version of CMO Magazine covering a variety of 
marketing issues, including search. 
Bill Hunt, President/CEO, Global 
Strategies InternationalBill is the President/CEO of Global Strategies International, LLC. Bill 
leads a team of brilliant Search Engine Marketing Strategists who help 
Fortune 500 companies integrate search techniques into their 
enterprise workflow and how to execute their Search Engine Marketing programs on 
a global scale. Bill is the co-author of the IBM Press book 
"Search Engine Marketing, Inc." Driving Traffic to Your Company's Web Site. 

The Convergence of SearchManish 
Chowdhary, President, MachroTech, LLCMr. Chowdhary is the Founder, President & CEO of MachroTech, a new 
generation software and search engine marketing company that understands 
business and the bottom line.  Mr. Chowdhary provides business and 
technology leadership, and he is an innovative business leader and visionary who 
creates and

Re: why upgrade kernel?

2005-08-18 Thread Mark Fletcher

[EMAIL PROTECTED] wrote:


On Thursday 18 August 2005 11:50 am, [EMAIL PROTECTED] wrote:
 


I have a couple of machines which I'm in the process of upgrading to
Sarge.  I'm wondering about whether to upgrade the kernels.  They're
all running some version of 2.4, which I've built for the particular
machines.  If I don't get new hardware which need newer drivers, and I
don't care about any of the fancy new features of 2.6 (whatever those
are), is there any benefit in upgrading the kernel?  Will newer
versions of some packages eventually need a newer kernel?

Thanks in advance for any opinions.

-David


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


[EMAIL PROTECTED]
 

   


David,

Wow, this is a sensitive question and my response is heavily opinionated, as 
many answers to this question may be.  I think a person in your situation 
really needs to figure out their needs from the systems the operate, which 
you obviously have.  Let me qualify my response first with saying that I am 
currently running 2.4.27-2 but will be upgrading/recompiling my kernel today.  
I am learning towards staying with the 2.4 if I can get my webcam to work.


They're all running some version of 2.4, which I've built for the particular
 


machines.  If I don't get new hardware which need newer drivers, and I
don't care about any of the fancy new features of 2.6 (whatever those
are), is there any benefit in upgrading the kernel?
   



Exactly.  Since 2.4 and 2.6 kernels are both currently supported, and you 
don't need any new fangled features in the 2.6 kernel...you'll probably best 
be suited staying with 2.4.  Why do I say this?

- Don't fix what isn't broken
	- You will need to reconfig your kernel without use of a previous .config 
	file between 2.4 and 2.6.  

Not true. When I upgraded from 2.4.19 to 2.6.12.2, I copied over my 
.config and then re-ran make xconfig to tweak anything that was new / 
changed. Of course, I got error messages about missing options, but the 
window came up with everything available anyway and all the things that 
_hadn't_ changed were automatically selected for me. Configuring the 2.6 
kernel was thus much easier than configuring the 2.4 kernel had been (I 
did the 2.4 kernel from scratch because my pre-2.4 kernel was the 
2.2.22idepci kernel that came with the distro when I installed it).



Not too big a deal, but with the new options you 
	have to (should) go through each menu and make the right selections.
	- Going of the last, you should continue to upgrade within the 2.4 kernel 
	series, for however long it is supported.  Using your existing .config file 
	will save time and headaches!  Upgrading your kernel within the series, of 
	course, keeps you current on security issues and other system related 
	'upgrades' (the problem with SCSI-emulation comes to mind).
	- As a previous Hardened Debian programmer told me not too long ago, the 2.6 
	kernel is suffering from expansion issues.  I see his point.  There are lots 
	of programmers doing lots of things to the 2.6 kernel right now, inviting 
	security issues that are inherent in new software.


 


Will newer versions of some packages eventually need a newer kernel?
   



Perhaps  (again, mention the SCSI-emulation).  I wouldn't worry about it right 
now.  Since both kernels are supported, I would stay with what you need.  2.6 
isn't the devil or anything, and I would upgrade to it in a heartbeat if I 
determined that is what I needed.  First I need to do some research to see my 
hardware dependencies before I can make an informed decision.  I respect that 
you did the same before asking the question.


Hope this helps.

Respectfully,

Steve Siebert


 

Since I've now weighed in on this topic, let me state my position -- 
upgrade unless you have a good reason not to. Having no immediate need 
to and being concerned about downtime may or may not be a good reason 
not to upgrade depending on your situation and the criticality of the 
machine / machines in question.


You will probably find performance improvements with the 2.6 kernel 
since, for example, an O(1) scheduler has been introduced in the 2.6 
kernel which means that, no matter how loaded up with potentially 
runnable processes your machine gets, the time taken by the scheduler to 
make a decision about what process to run next is constant. This is a 
significant benefit over the 2.4 and earlier kernels, where the time 
taken to make the decision was a function of the number of runnable 
processes in the system. If you really put your machines to work, this 
can make a noticeable difference to the responsiveness of the machine.


There are a lot of improvements in the 2.6 kernel -- another is improved 
ALSA drivers for sound -- OSS is still supported but the ALSA drivers 
are generally considered better. I could go on but others are no doubt 
better qualified to do so.


Mark


--
To UNSUBSCRIBE, email to [EMAIL PRO

Re: Printer & localhost:631

2005-08-18 Thread Charlie
On Wed, 17 Aug 2005 21:01:34 -0700 using the keyboard as a tool Jeff crafted
these words:

|- My thoughts are (1) verify cupsd.conf, (2) verify daemon is listening,
|- (3) verify my firewall is in fact off...

Thanks for your help Jeff. I have decided that the only way is to go for a
complete new install to get this localhost thing resolved
 I have worked on it too many weeks, and the answer is apparently not some
throw away line that will allow me to chase that rabbit to its warren.

I could imagine that it might be a hardware thing, but through Mandrake and
windows it all works. So it must be something peculiar to Debian.

Thank you for your time though.

Kind Regards,
Charlie

*
Registered Linux User:- 329524
+++
The law will never make men free, it is men that have to make the law free.
.Henry David Thoreau

***
Trying Linux Debian Sarge
_


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



Re: why upgrade kernel?

2005-08-18 Thread phyrster
On 10:13 Thu 18 Aug 2005, Hugo Vanwoerkom wrote:
> And when a newer version of a package, can't think of one, NEEDS the 2.6 
> kernel, it will tell you.
> 
> My own reason for 2.6.9 is that the soundest patch for multi-user Linux 
> (2.6.9-ruby.vz11) wants that kernel release.

Is this patch for a server with many users simutaneously logged in?
> 
> If I were to go to 2.6.12 I would get fancier scheduling.
I am using 2.6.12 but never noticed  'scheduling' feature of it. Where is
this scheduling feature and what is it for?

regards

bxuef

--
dhammapada says:
 
  All processes are painful. When one sees this with understanding, then
  one is disillusioned with the things of suffering. This is the Path of
  Purification. 278
 


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



Re: Pulling out the new EPOX EP-8VTAI motherboard

2005-08-18 Thread Jules Dubois
On Thursday 18 August 2005 09:49, Hugo Vanwoerkom <[EMAIL PROTECTED]>
(<[EMAIL PROTECTED]>) wrote:

> This is for info in case anybody googles for this motherboard, by chance.

It's not very good information, except that you have what appear to be
hardware problems.  What you said was insufficient to diagnose the defect
but you assigned blame anyway.

> Who knows whether it is the CPU, the mobo or the memory, not a clue.

Raise the voltage on the memory by 0.05V.  It fixed those problems for me.


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



Re: Printer & localhost:631

2005-08-18 Thread Marie-Louise
On Thu, 18 Aug 2005 12:39:02 +0200 using the keyboard as a tool Mirko crafted
these words:

|- > >
|- > # telnet localhost 631
|- > Trying 127.0.0.1...
|- > telnet: Unable to connect to remote host: Connection timed out
|- 
|- That seems like your networking setup is broken, or you have a firewall
|- which drops packages. If networking was OK, and no server process was
|- listening on port 631, you would get the following error:
|- telnet: Unable to connect to remote host: Connection refused

No Mirko, thanks to Clive I discovered what the net address for this machine
was, I had actually tried that row of numbers without any success, that's why
I thought I might just have it wrong.

Now when I ping I get:-  

ariestao:~# ping -c1 ariestao
connect: Invalid argument

So maybe the network is broken, though i don't have a network, and will go for
a clean install. That must be what is required, I think this is what they do
in windows mainly so Debian is probably following suit. It should fix it.

So thank you for your help, and I will just have to maybe leave the default
"Debian" when they ask for the hostname? Maybe that will work then.

Thank you,
Charlie.

-- 
>>
As for me, I delight in the everyday Way, Among mist-wrapped vines and rocky
caves. Here in the wilderness I am completely free, With my friends, the white
clouds, idling forever. There are roads, but they do not reach my world; Since
I am mindless, who can rouse my thoughts? On a bed of stone I sit, alone in
the night, While the round moon climbs up Cold Mountain.
..Han-shan
###
Trying a Linux Debian Sarge System


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



Re: Printer & localhost:631

2005-08-18 Thread Charlie
On Fri, 19 Aug 2005 01:21:16 +0100 using the keyboard as a tool Clive crafted
these words:

|- On (19/08/05 09:28), Marie-Louise wrote:
|- > But one more question. how do I find out the Net address that
is Mine,
|- > for this machine I know nothing of networking.
|- 
|- As root $ ifconfig
|- 
|- Regards
|- 
|- Clive
|- 
|- -- 
|- www.clivemenzies.co.uk ...
|- ...strategies for business

Thanks again Clive,

Be well,
Charlie


*
Registered Linux User:- 329524
+++
What I am I am, and say not. Being is the great explainer. Henry
David Thoreau

***
Trying Linux Debian Sarge
_


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



Re: why upgrade kernel?

2005-08-18 Thread David Zelinsky
I wrote:

> I have a couple of machines which I'm in the process of upgrading to
> Sarge.  I'm wondering about whether to upgrade the kernels.
> They're all running some version of 2.4, which I've built for the particular
> machines.  If I don't get new hardware which need newer drivers, and I
> don't care about any of the fancy new features of 2.6 (whatever thosea
> are), is there any benefit in upgrading the kernel?  Will newer
> versions of some packages eventually need a newer kernel?

Thanks for all the suggestions.  I guess I'll stick with my 2.4
kernels.

But let me also refine the question a bit.  Is there any reason to
recompile the _same_ kernel in the newly upgraded environment, given
that things like the C libraries and the compiler may have changed?
Or if the kernel ran fine under woody, will it also be fine under
sarge?

Thanks.

-David


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



Re: Info on debian boot/xwindow process

2005-08-18 Thread Albert

Paul E Condon wrote:

On Thu, Aug 18, 2005 at 06:44:34PM -0500, Albert wrote:



If you run all programs as root then you are risking your system to the
quality of all the code that you play with. Seriously, _don't_ _do_ _it_.

As an alternative that is somewhat more safe and still pretty convenient,
I take the time to log in a console as root and leave it open while I do
most of my work as a user under gnome and kde. The screen looks very 
different under a console so it is hard to forget that I am running as

root.


Thank you, Paul.  I really do appreciate your advice.  It is 
indeed *very good* advice for most users.  I certainly would not 
encourage anyone I personally know to do otherwise.  But I 
started programming for a living in the late '60s doing assembler 
on IBM mainframes.  My first desktop was a Heathkit I built 
myself.  I keep at least three Linux systems installed on my 
machine. Each  mounts the others as data partitions for easy 
fixing.  For a couple of years now I have built LFS systems, 
installing pre-built distros from the net only when a new box 
came with MSCrap pre-installed.  I don't mind fixing my messes 
and I am very careful, so it happens very seldom.  When building 
and exploring a new distro, like Debian, running as root speeds 
up the process greatly.


For the record, I did screw up an installation really good a 
couple of years ago.  I was writing a package manager app built 
around owner:group, supergroups and permissions.  That required a 
wipe and rebuild.


In short, an installation, to me, is a consumable that I expect 
to break.  It's how I learn :)


Thanks again for your concern and advice.



--
Blessed are the cracked:
For it is they who let in the light.



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




Re: Printer & localhost:631

2005-08-18 Thread Clive Menzies
On (19/08/05 09:28), Marie-Louise wrote:
> But one more question. how do I find out the Net address that is Mine,
> for this machine I know nothing of networking.

As root $ ifconfig

Regards

Clive

-- 
www.clivemenzies.co.uk ...
...strategies for business



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



Caution about preferences and security

2005-08-18 Thread Ross Boylan
I had testing set with a preference of 600 in /etc/apt/preferences.
Even though I had security in my sources.list, none of the updates were
getting installed.

Preference priority matters more than package version number, so the
security updates weren't going in despite their higher number.

I lowered the priority to 500 for testing, and everything worked.

My preferences file has no explicit mention of stable; I think that
means it's considered 500.  I didn't see this info explicitly on the man
page.
-- 
Ross Boylan  wk:  (415) 502-4031
530 Parnassus Avenue (Library) rm 115-4  [EMAIL PROTECTED]
Dept of Epidemiology and Biostatistics   fax: (415) 476-9856
University of California, San Francisco
San Francisco, CA 94143-0840 hm:  (415) 550-1062


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



Re: rsync won't stop password prompt

2005-08-18 Thread Niklas Schönberg
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Rob Brenart wrote:
> Niklas Schönberg wrote:
> 
> Rob Brenart wrote:
>  
> 
 I'm trying to script an rsync process and I keep getting the password
 prompt... here's my "script"

 rsync -avz -e /usr/bin/ssh --password-file=/home/username/pwd.rsync
 /home/user/test/ host:/home/username/test

 And it works fine, but it prompts me for a password even though I'm
 using --password-file
   
> 
> 
> --password-file only works if you are connecting to an rsync daemon
> running on "host". I'm not totally sure about this, but since you have
> specified the "-e ssh" option, I'm guessing that you are running rsync
> with ssh as transport. In this case it is ssh, not rsync, that
> authenticates you. The best way I know of to do scripts lke this is to
> create a key-pair for ssh, and add the public key to authorized_keys
> file on "host".
> 
> "man ssh" has more on this. Of course you could also run rsync as daemon
> on "host" with "rsync --daemon", but this is not recommended unless you
> are on a trusted network, or run a public anonymous rsync service.

>>
> Well, host is running the daemon, as setup in inetd... and I get the
> same error problem if I use -e ssh or not, though that might be set
> somewhere in the debian package as a default so I'm not certain.

I haven't used rsync in daemon mode myself, but I found some istructions
stating that you should use a syntax of host::modulename/path/to/file
when trying to connect to a rsync daemon. (note the double ':' )
It also stared that you should not normally specify the -e option.

Hope this helps. You should perhaps check your network traffic to see
that it is connecting to the correct port (tcp/873), since I have no
idea if the :: works or not.


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDBRg2oGhcRzXgBl4RAh4gAJ95xzLA9xD2u967dbCE4dfQCWUKhwCfT+0N
hOKm331Ic3TNh4/z3EvojNA=
=13MB
-END PGP SIGNATURE-


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



Re: Printer & localhost:631

2005-08-18 Thread Marie-Louise
On Thu, 18 Aug 2005 12:39:02 +0200 using the keyboard as a tool Mirko crafted
these words:

|- On Thu, Aug 18, 2005 at 09:53:01AM +1000, Marie-Louise wrote:
|- > This is the message that is in /var/log/cups/error_log
|- > 
|- > I [18/Aug/2005:08:37:47 +1000] Listening to 0:631
|- > [...]
|- > E [18/Aug/2005:08:37:49 +1000] StartListening: Unable to find IP
address
|- > for server name "ariestao" - Host name lookup failure
|- 
|- The last message seems to be the root of the problem.  Your machine has
|- a host name of ariestao, but the resolver doesn't know how to translate
|- this into an IP address. Try the following command:
|- ping -c1 ariestao
|- 
|- If this produces an error message like
|- "ping: unknown host ariestao", 
|- the easiest way to fix this would be to add a line to /etc/hosts with
|- the hosts IP address and the hostname:
|- 192.168.xxx.yyy  ariestao
|- (adjust 192.168.xxx.yyy to match your actual IP)
|- Check again with ping afterwards.
|- 
|- If you get a different error, and cannot interpret it, please post it
|- here.
|- 
|- > >
|- > # telnet localhost 631
|- > Trying 127.0.0.1...
|- > telnet: Unable to connect to remote host: Connection timed out
|- 
|- That seems like your networking setup is broken, or you have a firewall
|- which drops packages. If networking was OK, and no server process was
|- listening on port 631, you would get the following error:
|- telnet: Unable to connect to remote host: Connection refused
|- 
|- > 
|- > # /sbin/fuser -n tcp 631
|- > -su: /sbin/fuser: No such file or directory
|- 
|- The error message gives you a hint why the command failed: On Debian
|- systems, the fuser command is not in /sbin/fuser, but in /bin/fuser.
|- 
|- Try the following command instead (as root):
|- fuser -n tcp 631
|- 
|- Or better yet (also as root):
|- netstat -atnp | grep 631
|- 
|- > Its not a firewall problem, because nothing changes even when there
is no
|- > firewall or I use the command :- # iptables -nL INPUT
|- 
|- Does the command "iptables-save" output anything?
|- 
|- Mirko
|- 
|- 
|- -- 
|- To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
|- with a subject of "unsubscribe". Trouble? Contact
[EMAIL PROTECTED]
|- 

That's exactly what I get Mirko, you are brilliant. This is what I wanted to
know and thank you for your time with this.

But one more question. how do I find out the Net address that is Mine,
for this machine I know nothing of networking.

Thank you again for your time.

Be well,
Charlie.

-- 
>>
Books must be read as deliberately and reservedly as they were written.
...Henry David Thoreau
###
Trying a Linux Debian Sarge System


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



Re: Apache2::Util not getting installed?

2005-08-18 Thread David Dyer-Bennet
Colin Ingram <[EMAIL PROTECTED]> writes:

> David Dyer-Bennet wrote:
> 
> >However, that file doesn't exist:
> >
> >[EMAIL PROTECTED]:~$ ls -F /usr/lib/perl5/Apache2/  Apache/  APR/
> > APR.pm  auto/  ModPerl/  mod_perl.pm
> >
> >
> It is located at /usr/lib/perl5/Apache2/Apache/Util.pm
> 
> At least in my installation

Ah.  Mine too.  Which means it's been renamed back to Apache::Util for
purposes of actually using it, which is what threw me off; I hadn't
expected renaming.  Thanks!
-- 
David Dyer-Bennet, , 
RKBA:  
Pics:  
Dragaera/Steven Brust:   Much of which is still down


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



Re: apt-get source + pentium-builder = i386?

2005-08-18 Thread Eriberto

Ok. Thanks!

New doubt: how to see i686 in the package? The "dpkg -I" command don't 
show this information.


Regards,

Eriberto

Roberto C. Sanchez escreveu:

Are you saying this because filename ends in _i386.deb?  If so, that is
normal.  Even the i686 kernel image packages end in that suffix:



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




emacs syntax colorizing only comments and strings in ruby-mode

2005-08-18 Thread creightiok
Help!

When editing Ruby code, emacs syntax highlighting is only colorizing
strings and comments!  Somehow I managed to hit some keys (in emacs)
that made the colorizing work correctly earlier today, but when I
quit and restarted emacs the nice colors went away.

I've tried removing my .emacs file.

I've tried adding these to my .emacs file:
  (setq font-lock-use-default-fonts t)
  (setq font-lock-use-default-colors t)
  (setq font-lock-maximum-decoration t)

Here are the emacs packages I have installed:
ii  emacs2121.4a-1
ii  emacs21-bin-co 21.4a-1
ii  emacs21-common 21.4a-1
ii  emacsen-common 1.4.16
ii  psgml  1.3.1-13
ii  ruby-elisp 1.8.2-1
ii  ruby1.8-elisp  1.8.2-7sarge1

I *think* I had the same problem with the php-elisp package before I
removed it because it wasn't highlighting anything.

Any suggestions?
David


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



Re: how-to for using xfwm4 and ROX?

2005-08-18 Thread Cybe R. Wizard
On Wed, 17 Aug 2005 10:18:11 -0500
Albert <[EMAIL PROTECTED]> wrote:

> I can find no documentation for using a window manager other than
> xdm, e.g. xfwm4 with ROX.  I don't want either Gnome or KDE. Can
> anyone here point me in the right direction.  X Windows was up
> and running before I installed these two packages. Now I just get
> a gray screen and no pop up menus.  Also, some script has 
> hijacked my text login and replaced it with a graphical login. I 
> prefer to startx myself.  Thanks ahead for any help.

Your console login screen has been hijacked by xdm which is a display
manager (window manager picker in a graphical face), not a window
manager itself.  You need to (as root):
 apt-get install 
Heck, install them all and play around.  That's what I did and I still
change from time to time.
In addition, if you want to lose the graphical login (as root):
 apt-get remove xdm

Cybe R. Wizard
-- 
Q: What's the difference between MicroSoft Windows and a virus? 
A: Apart from the fact that viruses are supported by their authors, 
use optimized, small code and usually perform well, none.
Winduhs


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



Re: PDF Plugin in Firefox Deer Park

2005-08-18 Thread Ganeshram Iyer
> > [...]you need to find nppdf.so file in the browser
> > plugin folder/directory under your Acrobat directory. copy this file 
> > to your plugins folder under firefox and restart firefox. if you need
> > more then reply and i will try to help.
> 
> I used Adobe's programme thingy to do this. Suffice it to say that nppdf.so
> exists in my /firefox/plugins folder. 
> 
> What now?
alright when u say it does not work what happens when u click on a pdf
file in firefox? does the pdf start downloading to the disk instead of
opening it in the browser window? is the plugin enabled? try
Edit->preferences->downloads-> plugins button. is pdf enabled there?
if this does not work then tell us what happens when u try to open a
pdf file from firefox and lets take it from there.

i unfortunately do not have acrobat reader installed so am helping from memory.
ganesh



Re: File Permissions: Allow write, but not modify

2005-08-18 Thread Niklas Schönberg
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Chris Purves wrote:
> Is it possible to set up a directory so that a user can add a new
> file, but once the file is there the same user cannot modify, rename,
> or delete the file?
> 
> The shared directory is a samba share, and will only be accessed
> through windows, so solving this problem through samba is just as
> good.

How about setting "create mode " and "directory mode " for the
share in the smb.conf file. Or the modes to 0444 and 0555, if you want
the files to be readable. I have not specificly tested this method for
this purpose, but it should work.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDBRGqoGhcRzXgBl4RAhS/AJsFFA3s+2JATsLT7Au8GRP3KXQRfACfcQO7
3GQnE4ZKzQa/5EYvgsNR2E8=
=HOXd
-END PGP SIGNATURE-


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



Re: rsync won't stop password prompt

2005-08-18 Thread michael

Quoting Rob Brenart <[EMAIL PROTECTED]>:

I'm trying to script an rsync process and I keep getting the password 
prompt... here's my "script"


rsync -avz -e /usr/bin/ssh --password-file=/home/username/pwd.rsync 
/home/user/test/ host:/home/username/test


And it works fine, but it prompts me for a password even though I'm 
using --password-file


I also tried putting
export RSYNC_PASSWORD=pwd

but that didn't have an effect either.

Any help?

You may want to try using rsync with ssh.
I think the sarge version of rsync will automatically use ssh.
The key to ssh, rsync and no passwords is to have manually generated 
ssh keys with a blank password. That way, when you ssh to another host, 
it just logs in.

Combine it with rsync and away you go.
A simple command like:
# rsync -a host:/foo/ /foo/bar/
should work fine with ssh.

Check the ssh man page for more info on creating custom keys if you 
haven't been down that way before.


Cheers,
Mike


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




Re: rsync won't stop password prompt

2005-08-18 Thread Niklas Schönberg
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Rob Brenart wrote:
> I'm trying to script an rsync process and I keep getting the password
> prompt... here's my "script"
> 
> rsync -avz -e /usr/bin/ssh --password-file=/home/username/pwd.rsync
> /home/user/test/ host:/home/username/test
> 
> And it works fine, but it prompts me for a password even though I'm
> using --password-file

- --password-file only works if you are connecting to an rsync daemon
running on "host". I'm not totally sure about this, but since you have
specified the "-e ssh" option, I'm guessing that you are running rsync
with ssh as transport. In this case it is ssh, not rsync, that
authenticates you. The best way I know of to do scripts lke this is to
create a key-pair for ssh, and add the public key to authorized_keys
file on "host".

"man ssh" has more on this. Of course you could also run rsync as daemon
on "host" with "rsync --daemon", but this is not recommended unless you
are on a trusted network, or run a public anonymous rsync service.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDBQ7JoGhcRzXgBl4RAjiNAKD7xFa9uVRV130e/KwdY724f+lbRgCfdIVJ
Iqw7SN0rhqdhrb9vVGvjn3k=
=uTRg
-END PGP SIGNATURE-


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



Hardware issues

2005-08-18 Thread kirkby

 Hi, I am wondering if it is possible to use Debian as my OS and be able to get my soundcard [Creative Sound Blaster Audigy Gamer-24bit] and TV-Tuner card [ATI TV Wonder-Pro] to work. Have tried simplyMepis and now Mandrake 10 and can't get them to work. There is an ALSA driver that suppossedly works for my soundcard. I suppose the best solution would be to invest in a soundcard and TV tunercard that include a Linux driver, but can't reaaly afford them right now. Was until recently using XP-PRO with which all worked well. I made a lot of DVD's. Would like to continue doing that without the expense and hassles of Microsoft products:eg. if you erase hard-drive you get major hassles trying to get the product key accepted again! So thought Linux and Debian in particuliar to be an alternative suited to me. But only if I can get all my cards working as well as being able to record and edit video files [MPEG-2 from several sources] as I had before. My videocard [ABIT R9600XT-V10/ with ATI chip] is working fine at least, and ATI does make a Linux driver [which I didn't need to install] for some of their newer cards but not the TV Wonder. So would hope there is some software available for DVD production available as well. But the main thing now is whether I can get  the above mentioned cards to work. Hope you can advise. Yours' Sincerely John.   [EMAIL PROTECTED]  [Stratford ON Canada]


Re: rsync won't stop password prompt

2005-08-18 Thread Rob Brenart

Niklas Schönberg wrote:


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Rob Brenart wrote:
 


I'm trying to script an rsync process and I keep getting the password
prompt... here's my "script"

rsync -avz -e /usr/bin/ssh --password-file=/home/username/pwd.rsync
/home/user/test/ host:/home/username/test

And it works fine, but it prompts me for a password even though I'm
using --password-file
   



- --password-file only works if you are connecting to an rsync daemon
running on "host". I'm not totally sure about this, but since you have
specified the "-e ssh" option, I'm guessing that you are running rsync
with ssh as transport. In this case it is ssh, not rsync, that
authenticates you. The best way I know of to do scripts lke this is to
create a key-pair for ssh, and add the public key to authorized_keys
file on "host".

"man ssh" has more on this. Of course you could also run rsync as daemon
on "host" with "rsync --daemon", but this is not recommended unless you
are on a trusted network, or run a public anonymous rsync service.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDBQ7JoGhcRzXgBl4RAjiNAKD7xFa9uVRV130e/KwdY724f+lbRgCfdIVJ
Iqw7SN0rhqdhrb9vVGvjn3k=
=uTRg
-END PGP SIGNATURE-
 

Well, host is running the daemon, as setup in inetd... and I get the 
same error problem if I use -e ssh or not, though that might be set 
somewhere in the debian package as a default so I'm not certain.




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




Re: xfce4 had overwritten kde (SOLVED)

2005-08-18 Thread Joe Mc Cool

Oh dear again,

I am such a twit !

All I had to do was stipulate the session type on the KDM login menu !

You see, I use KDE so little  :-(

My apologies.

Joe.


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




boot with incorrect FSTAB info?

2005-08-18 Thread [EMAIL PROTECTED]
Hello all,

I just finished config'ing my new 2.6.8 kernel (debian, not vanilla) form 2.4 
(both Sarge) and am ready to boot to it but due to my SATA hard drive I will 
need to change my boot and /etc/fstab (from here on referred to as FSTAB)  
entries from hd* to sd*.  I have no problem doing it in grub but when it 
comes to FSTAB I have some reluctance.  Does anybody know a way for me to 
recover and be able to boot into the system for me to fix the FSTAB file if, 
for some reason, the system still won't boot?  

This is my only computer system, and only Operating System, that I have over 
here (living in Korea).  So if I lose my system it will be a problem for me.  
Would a rescue floppy/CD be an answer?  Would the rescue mode of grub allow 
me to get to a prompt to manually mount my partitons and than fix FSTAB?

Thanks,

Steve


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



Re: Info on debian boot/xwindow process

2005-08-18 Thread Paul E Condon
On Thu, Aug 18, 2005 at 06:44:34PM -0500, Albert wrote:
> Kent West wrote:
> 
> Thanks, Kent.  That was a very useful mini-tutorial.
> 
> >Concerning logging into Gnome (or any X setup) as root: that's not
> >recommended practice. Generally, you can override this safety setting by
> >tinkering in the Gnome configuration file (but I'm not sure of the
> >specifics, as I don't use Gnome). If you _must_ log into X as root (AND
> >YOU DON'T NEED TO!!), I recommend that you do it manually with "startx"
> >rather than allowing it from the login manager. Just start a second X
> >session ("startx -- :1", then Ctrl-Alt-F7 or Ctrl-Alt-F8 to toggle back
> >and forth between the two sessions) or kill the login manager first
> >("/etc/init.d/gdm stop").
> 
> Hmm. I'll have to try killing the login manager.  My reply above 
> to Paul describes what I did to enable use of startx.
> 
> :) I've been on Linux for several years on my home machine using 
> several distributions. I know logging on as root is not 
> recommended but it's just too big a pain in the butt to *not* be 
> root.  I've encountered no downside yet.
> 

If you run all programs as root then you are risking your system to the
quality of all the code that you play with. Seriously, _don't_ _do_ _it_.

As an alternative that is somewhat more safe and still pretty convenient,
I take the time to log in a console as root and leave it open while I do
most of my work as a user under gnome and kde. The screen looks very 
different under a console so it is hard to forget that I am running as
root.

-- 
Paul E Condon   
[EMAIL PROTECTED]


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



Maria G.Valencia Customer Service @Clubmosaico

2005-08-18 Thread Bartolov


Date: Agosto 18,2005   time 4:36pm
 Soy una clienta del Club de Mosaico .
Mi numero de Cuenta es # 845191204  y pedido # 0508
 
 Mi Nombre es Maria G. Valencia  y necesito que se me cancele lo de agost 30,2005
Mi vida de nina soldado 26-6752 y La Sombra del Templario _15-9119
Por ahora cancelo esos pedidos y quisiera que por favor me envien tambien vatalogos en Ingles; me gustaria recibir de los dos idiomas Espanol y English para mis hijos.
 
 
   Gracias


viewing netwerkcamera DCS-2100+ output under Debian (Linux in general) ?

2005-08-18 Thread Frank Guthorel
Hi,

I got a D-Link DCS-2100+ network camera some time ago, but my efforts to
view it's output somehow under Debian / Linux have been fruitless.

In the specs, it is very clearly specified that you need active-x
controls and Internet Explorer to view streaming video and the image
captured by the cam - but maybe somebody here can shed some light on
whether I should bury the hope of viewing it's output in Linux.

It's mainly the image I'm interested in, somehow.

Some tidbits I gathered so far :

* the cam uses H.263 compression (MPEG4) according to the specs and manual
* package helix-player has support for this codec
* http://plugindoc.mozdev.org/linux.html#Helix gives some information to
run this plugin in Mozilla ; the plugin was already installed by default
(files mentioned in the link were already present)

I'm fearing that using the cam output in a browser will be truly
optimistic - but I was wondering whether I could try to use the stream
immediately in something like helix-player ?

There is an option on the DCS-2100+ that let's you define a port on the
network cam - the Video Channel Port, default on :5003.

If somebody has any experience in this, or could point me to something
interesting on the web - that would be super.

Thanks already !

Frank

-- 

Frank Guthorel

T : 09/329.49.38 - G : 0495/105.776
mailto:[EMAIL PROTECTED] - http://www.codedor.be




signature.asc
Description: OpenPGP digital signature


Gigabit ethernet as second network interface troubles

2005-08-18 Thread Tom Deconinck
Hi,

I'm trying to add a second gigabit ethernet nic to my system.
It's an Intel PRO/1OOOGT. (82541PI chip)

It shows up when i do lspci
So I load the e1000 kernel module... but nothing happens, lsmod shows
it is loaded but that is it.

I guess i need some way to link the newly added card to eth1?
I added eth1 to /etc/network/interfaces but when if ifup eth1 it dies
saying no invalid device eth1.

The system is a Intel P4 single board with chipset 845 and a pci
backplane.

Any suggestion would be greatly appreciated

Thanks,
Tom


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



Re: rsync won't stop password prompt

2005-08-18 Thread Clive Menzies
On (18/08/05 15:56), Rob Brenart wrote:
> I'm trying to script an rsync process and I keep getting the password 
> prompt... here's my "script"
> 
> rsync -avz -e /usr/bin/ssh --password-file=/home/username/pwd.rsync 
> /home/user/test/ host:/home/username/test
> 
> And it works fine, but it prompts me for a password even though I'm 
> using --password-file
> 
> I also tried putting
> export RSYNC_PASSWORD=pwd
> 
> but that didn't have an effect either.
> 
> Any help?

Are you running rsync in daemon mode?  I'm not sure what's causing your
problem because my setup is a bit different.  I put some notes up with
some links to some great docs:

http://www.clivemenzies.co.uk/selfhelp/FileServer_Install_manual.html

Regards

Clive

-- 
www.clivemenzies.co.uk ...
...strategies for business



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



rsync won't stop password prompt

2005-08-18 Thread Rob Brenart
I'm trying to script an rsync process and I keep getting the password 
prompt... here's my "script"


rsync -avz -e /usr/bin/ssh --password-file=/home/username/pwd.rsync 
/home/user/test/ host:/home/username/test


And it works fine, but it prompts me for a password even though I'm 
using --password-file


I also tried putting
export RSYNC_PASSWORD=pwd

but that didn't have an effect either.

Any help?


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




Re: Can't create .Xauthority for users

2005-08-18 Thread Philippe Grenard
Hi!
well, i had some problems with this .Xauthority, but not the same way : when 
logged in, root couldn't open X-based applications...
after a lot of googling, i found something in the FAQ of xfree86-common
http://darbujan.fzu.cz/cgi-bin/dwww?type=text/plain&location=/usr/share/doc/xfree86-common/FAQ.gz

under the question "how do I run an X client as root when the X session is run 
by a user?" you could maybe find some ideas about this .Xauthority ? (they 
are speaking of a XAUTHORITY environment variable for example, but it's way 
above my level...) 


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



cdrecord needs dev specified

2005-08-18 Thread Vegard|drageV
When I burn a cd with cdrecord, I have to use the commandline option
dev=0,1,0 to burn. I edited /etc/default/cdrecord and set the
following options:
---Part of /etc/default/cdrecord
CDR_DEVICE=cdrw

# drive namedevice  speed   fifosize driveropts
   cdrw=  0,1,0   -12m  burnfree
---
With this configuration, I still need the dev option in commandline. I
use scsi emulation with kernel 2.4.27-2-686. The important part of
/boot/grub/menu.lst is added below:
Part of  /boot/grub/menu.lst-
title   Debian GNU/Linux, kernel 2.4.27-2-686
root(hd0,0)
kernel  /boot/vmlinuz-2.4.27-2-686 root=/dev/hda1 ro
hdc=ide-scsi hdd=ide-scsi max_scsi_luns=1
initrd  /boot/initrd.img-2.4.27-2-686
savedefault
boot

The output of "cdrecord -scanbus" and "cdrecord -checkdrive dev=0,1,0"
is added below:
 "cdrecord -scanbus"-
hjem:/dev# cdrecord -scanbus
Cdrecord-Clone 2.01.01a01 (i686-pc-linux-gnu) Copyright (C) 1995-2004
Joerg Schilling
NOTE: this version of cdrecord is an inofficial (modified) release of cdrecord
  and thus may have bugs that are not present in the original version.
  Please send bug reports and support requests to
<[EMAIL PROTECTED]>.
  The original author should not be bothered with problems of this version.

Linux sg driver version: 3.1.25
Using libscg version 'ubuntu-0.8ubuntu1'.
cdrecord: Warning: using inofficial version of libscg
(ubuntu-0.8ubuntu1 '@(#)scsitransp.c  1.91 04/06/17 Copyright
1988,1995,2000-2004 J. Schilling').
scsibus0:
cdrecord: Warning: controller returns wrong size for CD capabilities page.
0,0,0 0) 'SONY' 'CDU5211 ' 'YYS2' Removable CD-ROM
0,1,0 1) 'LITE-ON ' 'LTR-48126S  ' '2QS5' Removable CD-ROM
0,2,0 2) *
0,3,0 3) *
0,4,0 4) *
0,5,0 5) *
0,6,0 6) *
0,7,0 7) *
hjem:/dev#
---
"cdrecord -checkdrive dev=0,1,0"
hjem:/dev# cdrecord -checkdrive dev=0,1,0
Cdrecord-Clone 2.01.01a01 (i686-pc-linux-gnu) Copyright (C) 1995-2004
Joerg Schilling
NOTE: this version of cdrecord is an inofficial (modified) release of cdrecord
  and thus may have bugs that are not present in the original version.
  Please send bug reports and support requests to
<[EMAIL PROTECTED]>.
  The original author should not be bothered with problems of this version.

scsidev: '0,1,0'
scsibus: 0 target: 1 lun: 0
Linux sg driver version: 3.1.25
Using libscg version 'ubuntu-0.8ubuntu1'.
cdrecord: Warning: using inofficial version of libscg
(ubuntu-0.8ubuntu1 '@(#)scsitransp.c  1.91 04/06/17 Copyright
1988,1995,2000-2004 J. Schilling').
Device type: Removable CD-ROM
Version: 0
Response Format: 2
Capabilities   :
Vendor_info: 'LITE-ON '
Identifikation : 'LTR-48126S  '
Revision   : '2QS5'
Device seems to be: Generic mmc CD-RW.
Using generic SCSI-3/mmc   CD-R/CD-RW driver (mmc_cdr).
Driver flags   : MMC-3 SWABAUDIO BURNFREE FORCESPEED
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R
hjem:/dev#
---

How do I make the dev option unescessary?
I'm using debian sarge, kernel 2.4.27-2-686. 

Thanks in advance, cheers Vegard!



Re: lame not in the debian package repository?

2005-08-18 Thread Vincent Lefevre
On 2005-08-18 13:15:23 +0800, csj wrote:
> If that's the case the patent on mp3 should have expired by
> now.

There are several patents. See .

-- 
Vincent Lefèvre <[EMAIL PROTECTED]> - Web: 
100% accessible validated (X)HTML - Blog: 
Work: CR INRIA - computer arithmetic / SPACES project at LORIA


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



Re: weird characters

2005-08-18 Thread Vincent Lefevre
On 2005-08-18 12:17:04 -0400, Hendrik Boom wrote:
> On Thu, Aug 18, 2005 at 12:07:21PM -0400, Hendrik Boom wrote:
> > For one thing, the Mutt arrow problem happens to me too,
> > starting when I made UTF-8 English the default characterset.
> That is, the messed up arrow occur when I'm running on the
> text console -- some of the time.  Right now, today, the
> arrows are fine.

I've had problems with text console and line graphics characters
in the past too. If this is a terminal configuration problem, a
"reset" could solve it.

-- 
Vincent Lefèvre <[EMAIL PROTECTED]> - Web: 
100% accessible validated (X)HTML - Blog: 
Work: CR INRIA - computer arithmetic / SPACES project at LORIA


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



Re: how to install ubuntu from hd ?

2005-08-18 Thread mess-mate
Roberto C. Sanchez <[EMAIL PROTECTED]> wrote:
| On Thu, Aug 18, 2005 at 07:10:56PM +0100, belahcene wrote:
| > Hi,
| > I want to  install directly ( ubuntu : debian base)  from the iso in hd, I 
know 
| > how to do it in fedora and debian,
| > but i coudn't find the appropriate installer, normally in FC for example we 
| > have the installer for network or from Hd in isolinux directory, so you 've 
| > juste declare in the menu.list of grub the link to the installer vmlinuz, 
it 
| > seems that is not the case here
| > 
| > in debian you've to download the corresponding vmlinuz ( it is not the same 
as 
| > the Cd installer) .
| > 
| > 
| > If someone has any idea , thank you for help
| > bela
| 
| If you are asking how to install Ubuntu from the harddrive, then you
| should ask in the Ubuntu support forums.  I am not trying to be mean,
| simply stating that people on this list are Debian users, not
| necessarily Ubuntu users.  I would start there.
| 
REFORMAT your question : how to install DEBIAN from hd ?


mess-mate   
--
Reader, suppose you were an idiot.  And suppose you were a member of
Congress.  But I repeat myself.
-- Mark Twain


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



Re: Firefox and Debian Testing: Getting Security Updates?

2005-08-18 Thread Vincent Lefevre
On 2005-08-17 23:17:01 -0500, [EMAIL PROTECTED] wrote:
> That's it?  What about setting it up so that simply running "firefox"
> from anywhere executes the version installed in /opt/firefox?  Do you
> make a link in /usr/bin, overwriting the file there,
[...]

You should never touch /usr/bin or you may break your system.
/usr/local is here for things you install yourself as root,
and /usr/local/bin is at the beginning of the default $PATH
(see /etc/profile), so everything is fine with it. A symlink
should be sufficient for Firefox.

If for some reason you need other directories in $PATH for all
users, you can modify the /etc/profile file.

> *sigh*  Why does it have to be so hard?  I hate Windows, but it's not
> even this hard on Windows.

Once you know how to do this, this is really easy.

-- 
Vincent Lefèvre <[EMAIL PROTECTED]> - Web: 
100% accessible validated (X)HTML - Blog: 
Work: CR INRIA - computer arithmetic / SPACES project at LORIA


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



Re: how to install ubuntu from hd ?

2005-08-18 Thread Roberto C. Sanchez
On Thu, Aug 18, 2005 at 07:10:56PM +0100, belahcene wrote:
> Hi,
> I want to  install directly ( ubuntu : debian base)  from the iso in hd, I 
> know 
> how to do it in fedora and debian,
> but i coudn't find the appropriate installer, normally in FC for example we 
> have the installer for network or from Hd in isolinux directory, so you 've 
> juste declare in the menu.list of grub the link to the installer vmlinuz, it 
> seems that is not the case here
> 
> in debian you've to download the corresponding vmlinuz ( it is not the same 
> as 
> the Cd installer) .
> 
> 
> If someone has any idea , thank you for help
> bela

If you are asking how to install Ubuntu from the harddrive, then you
should ask in the Ubuntu support forums.  I am not trying to be mean,
simply stating that people on this list are Debian users, not
necessarily Ubuntu users.  I would start there.

-Roberto

-- 
Roberto C. Sanchez
http://familiasanchez.net/~roberto


pgpVfc2ZLn7sT.pgp
Description: PGP signature


meaning of this? gethostby*.getanswer: ... got type "39"

2005-08-18 Thread Anonymous
I sometimes find such messages in my syslog:
  mutella gethostby*.getanswer: asked for "gwc1c.olden.ch.3557.nyud.net IN A",
  got type "39"

Maybe two or three in a day, then nothing like it for weeks. What
does it signify? Should I concern about it?

Thanks.


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



Re: Can't create .Xauthority for users

2005-08-18 Thread Greg Norris
On Thu, Aug 18, 2005 at 03:26:12PM -0400, Haines Brown wrote:
>   xauth: creating new authority file /home/user/.Xauthority
>   /usr/bin/X11/startx: line 132: cannot create temporary file for here 
> document: Permission denied

This sort of error can be caused by bad permissions on "/tmp" (or 
wherever $TMPDIR is pointing, if set).  Here's what mine looks like:

   [EMAIL PROTECTED] ls -ld /tmp
   drwxrwxrwt  13 root root 4096 2005-08-18 14:42 /tmp

If the permissions look OK, you should also verify that the filesystem 
isn't completely full.


signature.asc
Description: Digital signature


Can't create .Xauthority for users

2005-08-18 Thread Haines Brown

I'm setting up a new machine with 2.6.8-2-686 kernel on sarge. Things
seem to be working except for one thing: Users can't start the x
server (root has no problem). 

When user does startx, the nVidia splash screen appears momentarily,
but I'm thrown back to the console. The startx messages only say that
.Xauthority is being created. However, no .Xauthority shows up in the
user's home directory. 

In ~/Xsession-errors, I get: 

  Xsession: X session started for user at ...
  open: Permission denied

I assume the lack of permission is the result of their being no
.Xauthority file actually created in user's account.

/var/log/auth.log records that a session has opened for user, but no
errors are reported.

I tried

  # su - user
  $ startx
  xauth: creating new authority file /home/user/.Xauthority
  /usr/bin/X11/startx: line 132: cannot create temporary file for here 
document: Permission denied
  X: user not authorized to run the X server, aborting
  xinit: Server error.
  xauth: creating new authority file /home/user/.Xauthority
  Couldn't get a file descriptor referring to the console

The section in /usr/bin/X11/startx:

  for displayname in $authdisplay $hostname$authdisplay; do
if ! xauth list ""displayname" | grep "$displayname " 
>/dev/null 2>&1; then
  xauth << EOF

Line 132 is this last line. The /etc/X11/Xsession is writable by
anyone. At this point I get in way over my head and don't see any
creation of a temporary file.

When root does on a similarly configured sarge 2.4.8 machine::

  $ xauth list
  teufel.hartford-hwp.com/unix:0  MIT-MAGIC-COOKIE-1  ...
  localhost.localdomain:0  MIT-MAGIC-COOKIE-1  ...
  hartford-hwp.com/unix:0  MIT-MAGIC-COOKIE-1 ... 
  64.227.154.66:0  MIT-MAGIC-COOKIE-1  ...
  teufel/unix:0  MIT-MAGIC-COOKIE-1  ...
  teufel.hartford-hwp.com:0  MIT-MAGIC-COOKIE-1 ...
  127.0.1.1:0  MIT-MAGIC-COOKIE-1  ... 

When root does on the targe 2.6.8 machine: 

  # xauth list  
  teufel.hartford-hwp.com:0  MIT-MAGIC-COOKIE-1 ...
  teufel/unix:0  MIT-MAGIC-COOKIE-1 ...
  192.168.1.1:0   MIT-MAGIC-COOKIE-1 ...

it is clear something is wrong with network configuration which might
affect xauth, for on an old running machine with much the same
configuration: 

  $ xauth list
  teufel.hartford-hwp.com/unix:0  MIT-MAGIC-COOKIE-1  ...
  localhost.localdomain:0  MIT-MAGIC-COOKIE-1  ...
  hartford-hwp.com/unix:0  MIT-MAGIC-COOKIE-1 ... 
  64.227.154.66:0  MIT-MAGIC-COOKIE-1  ...
  teufel/unix:0  MIT-MAGIC-COOKIE-1  ...
  teufel.hartford-hwp.com:0  MIT-MAGIC-COOKIE-1 ...
  127.0.1.1:0  MIT-MAGIC-COOKIE-1  ... 

Missing on the target machine is the loopback device and other
lines. I suspect the lack of loopback might prevent creation of the
user .Xauthority files. Is that true?

The /etc/hosts and /etc/hostname files on the two machines are the
same. A difference is that the old machine uses /etc/resolv.conf,
while the new machine uses the resolvconf utility.

A clue may come from the result of running # ifconfig -a , for there
are two ethN interfaces listed (I'm using only the MAC on my Asus A8N 
motherboard and no NIC. The two machines address a hardware
firewall). 

The eth0 interface is down, and so lacks the lines enjoyed by eth1: 

  Link encap: Ethernet HWadd... and the line
  inet addr: ...
  Interrupt:NNN Base address:NNN

In /etc/network/interfaces I must use "iface eth1 inet dhcp" because
the eth0 is down and does not support communications. 

-- 

   Haines Brown
   KB1GRM   



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



Re: GNOME Wants Internet V6

2005-08-18 Thread Jason Edson
On 8/18/05, Bryan Batten <[EMAIL PROTECTED]> wrote:
> I'm running Debian Sarge 2.8.1-6. Every time it starts, I get the
> following messages in .xsession-error:
> 
> _IceTransSocketOpenCOTSServer: Unable to open socket for inet6
> _IceTransOpen: transport open failed for inet6/Pentium90:
> _IceTransMakeAllCOTSServerListeners: failed to open listener for inet6
> 
> I've compiled my kernel without internet v6 support, and do not want
> to have to add it in just to make this message go away.
> 
> Anybody know what gnome setting I change to make it not try for v6?
> 
> 
> 
> Thanks,
> 
> Bryan
> 
> 
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 
> 

I think in the gnome networking tool or whatever its called, theres
some options for trying ipv6 and you have to remove them manually. I
use e17 and havent used gnome for awhile but I think that will solve
your problem.



Re: System backup/snapshot

2005-08-18 Thread Tom Vier
I've been using pdumpfs, for years, and works great. It emulates plan9's
dump fs.

-- 
Tom Vier <[EMAIL PROTECTED]>
DSA Key ID 0x15741ECE


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



font size in xine's file browser dialog

2005-08-18 Thread H. S.

Hi,

Anybody know how to change the fonts in Xine's file browser's dialogbox?
Currently, on my Testing machine running xine-ui 0.99.3-1, the fonts are
too small (screen resolution of 1792x1344). Perhaps I just need the
right option to set in .Xdefaults(?)

thanks,
->HS


-- 
Please remove the underscores ( the '_' symbols) from my email address
to obtain the correct one. Apologies, but the fudging is to remove spam.


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



GNOME Wants Internet V6

2005-08-18 Thread Bryan Batten
I'm running Debian Sarge 2.8.1-6. Every time it starts, I get the 
following messages in .xsession-error:


_IceTransSocketOpenCOTSServer: Unable to open socket for inet6
_IceTransOpen: transport open failed for inet6/Pentium90:
_IceTransMakeAllCOTSServerListeners: failed to open listener for inet6

I've compiled my kernel without internet v6 support, and do not want 
to have to add it in just to make this message go away.


Anybody know what gnome setting I change to make it not try for v6?



Thanks,

Bryan


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




Re: Info on debian boot/xwindow process

2005-08-18 Thread Kent West
Albert wrote:

> I know logging on as root is not recommended but it's just too big a
> pain in the butt to *not* be root.  I've encountered no downside yet.

And I always look down the barrel of my pistol to see if it's loaded;
I've encountered no downside yet.

YMMV ;-)

Glad you found the mini-tutorial to be useful.


-- 
Kent West
Technology Support
/A/bilene /C/hristian /U/niversity


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



Re: Info on debian boot/xwindow process

2005-08-18 Thread Albert

Kent West wrote:

Thanks, Kent.  That was a very useful mini-tutorial.


Concerning logging into Gnome (or any X setup) as root: that's not
recommended practice. Generally, you can override this safety setting by
tinkering in the Gnome configuration file (but I'm not sure of the
specifics, as I don't use Gnome). If you _must_ log into X as root (AND
YOU DON'T NEED TO!!), I recommend that you do it manually with "startx"
rather than allowing it from the login manager. Just start a second X
session ("startx -- :1", then Ctrl-Alt-F7 or Ctrl-Alt-F8 to toggle back
and forth between the two sessions) or kill the login manager first
("/etc/init.d/gdm stop").


Hmm. I'll have to try killing the login manager.  My reply above 
to Paul describes what I did to enable use of startx.


:) I've been on Linux for several years on my home machine using 
several distributions. I know logging on as root is not 
recommended but it's just too big a pain in the butt to *not* be 
root.  I've encountered no downside yet.




--
Blessed are the cracked:
For it is they who let in the light.



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




Re: Info on debian boot/xwindow process

2005-08-18 Thread Albert

Paul E Condon wrote:


This is just a hint that I hope is helpful:
To keep the Xwindow system from starting during boot up, remove
all the various versions of 'display managar', these are xdm,
kdm, gdm and a few more whose names I do not remember. These are
the programs that start X and give you a graphical user logon
screen. You can get rid of them with apt-get remove ... . What
you do next to achieve your goal is more difficult. First, see
what this suggestion does for you, then ask more questions here.


Thanks, Paul.  I made a renamed copy of initd/xdm. Then wrote a 
new xdm that did nothing but echo 'dummy xdm' and returned 0. 
This left me in the terminal and able to use startx.  I then 
entered Gnome as root.





--
Blessed are the cracked:
For it is they who let in the light.



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




Re: boot logging

2005-08-18 Thread Wackojacko

Adam writes:

OK. I'm with you so far. Now that I seem to have boot logging working, 
where is the actual output? Checking in /var/log didn't reveal anything.


According to man, the default output is /var/log/boot but I don't have 
one.


From the bootlogd script, it seems that bootlogd is being started without 
any options, so the default log file should be where it goes.


Man does say intriguingly:

Bootlogd tries to parse the kernel command line, looking for console= 
lines and deducts the real console device from that. If that syntax is 
ever changed by the kernel,  or  a console-type is used bootlogd does not 
know about, bootlogd will not work.


Could that be what is happening?


I have the same problem with Bootlog.  AFAIK its due to udev renaming the 
console just as you described above.  If you watch the very bootlog messages 
you are trying to capture you should see an error saying something like 
'bootlogd: ioctl (/dev/ttyzf, TIOCCONS): Bad file descriptor '.  I have yet 
to find a solution to this problem myself.  This may not be your problem, 
but at least it could save you some wasted time if it is :).


HTH

Wackojacko 




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




Re: changing xdm settings

2005-08-18 Thread ctrlER

Thank you all for your help :)

Jeff Stevens wrote:

Ricardo,

Once you have changed your background color, you may find configuring
the actual XDM login window useful.  The XDM man page [1] covers a
number of X resources that will configure how the various widgets in the
login window are drawn.  I believe XDM in Debian
reads /etc/X11/xdm/Xresources.  Also, this project [2] covers some
details of configuring a pretty XDM.

[1]  http://man.linuxquestions.org/?query=xdm§ion=0&type=2
[2]  http://www.kaszeta.org/rich/unix/xterminal/




I would like to change xdm default background (the one that apears when 
the login information is prompted) to solid black.

Does anybody what file I have to edit to change that?

I was thinking of something along the line of

xsetroot -solid black

but I dont know where to put it.



Put it in /etc/X11/xdm/Xsetup, or add "-br" to the command line in
/etc/X11/xdm/Xservers.









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




Re: Menu Highlighting Probs in Firefox 1.0.4 (WAS: firefox package screwed)

2005-08-18 Thread Albert

Jeff Stevens wrote:

Albert,


Hopefully someone on this list will help you find a work-around. 




The workaround I found is to simply change the theme.

--
Blessed are the cracked:
For it is they who let in the light.



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




how to install ubuntu from hd ?

2005-08-18 Thread belahcene

Hi,
I want to  install directly ( ubuntu : debian base)  from the iso in hd, 
I know how to do it in fedora and debian,
but i coudn't find the appropriate installer, normally in FC for example 
we have the installer for network or from Hd in isolinux directory, so 
you 've juste declare in the menu.list of grub the link to the installer 
vmlinuz, it seems that is not the case here


in debian you've to download the corresponding vmlinuz ( it is not the 
same as the Cd installer) .



If someone has any idea , thank you for help
bela


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




Re: Menu Highlighting Probs in Firefox 1.0.4 (WAS: firefox package screwed)

2005-08-18 Thread Jeff Stevens
Albert,

If you are running Firefox 1.0.4, you are likely running sarge/stable.
See "Debian Releases" [1] for more information on the three main
distributions. The Debian release cycle is such that every so often a
new stable release is created.  Packages in stable are exactly that,
they are stable and the versions will (generally) not change.  The
"Debian GNU/Linux FAQ" [2] is great reading and describes the release
cycle.

This list is a great list to post questions/problems you want to resolve
regarding the odd behavior in Firefox you are experiencing.  If you want
to do some digging yourself, the "Debian Package Tracking System" [3]
can put you in touch with most all the package information you could
care to explore.  The "mozilla-firefox" entry in the DPTS [4] shows
there are plenty of bugs being worked on.

Hopefully someone on this list will help you find a work-around.  In the
future, as you find apparent bugs in packages that aren't listed in the
bug log, feel free to report them.  Better yet, if you can find a
solution (patch), include it in your report.

I know I didn't provide any solution for you (FF 1.0.4 works fine for
me).  Just wanted to bring attention to some tools that are available.
Let me know if you have any further questions.

-Jeff

[1] http://www.debian.org/releases/
[2] http://www.debian.org/doc/FAQ/
[3] http://packages.qa.debian.org/common/index.html
[4] http://packages.qa.debian.org/m/mozilla-firefox.html




On Thu, 2005-08-18 at 17:01 -0500, Albert wrote:
> The deb package for Firefox 1.0.4 is screwed up:
> 
> All menus are affected.  The cursor, instead of highlighting a 
> choice, displays it as white block.  It's probably in the default 
> theme, because changing the theme fixes it.
> 
> Also, 1.0.4 is not the current version of firefox.
> 
> I don't know which group should receive this info.
> 
> -- 
> Blessed are the cracked:
> For it is they who let in the light.



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



Exim4 and smtp_accept_queue_per_connection

2005-08-18 Thread Burton Windle
Is there some magik needed to get Exim4 (4.52-1) to understand and obey 
the smtp_accept_queue_per_connection setting? I've tried setting it (and 
restarting exim), but Exim ignores me (I still get "no immediate delivery: 
more than 10 messages received in one connection" in my logs).


In my /etc/exim4/update-exim4.conf.conf I have:
smtp_accept_queue_per_connection='0'

and I re-ran 'update-exim4.conf' and restarted Exim but Exim still won't 
immediately process more than 10 emails at once from fetchmail.


I know I can tell fetchmail to only push 10 at once, but I'd rather do it 
at Exim.


(by the way, the default smtp_accept_queue_per_connection of '10' is a 
really bad idea when you've already told exim4-config that you get your 
mail via fetchmail!)


--
Burton Windle   [EMAIL PROTECTED]


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




Re: apt-get source + pentium-builder = i386?

2005-08-18 Thread Roberto C. Sanchez
On Thu, Aug 18, 2005 at 10:37:08AM -0300, Eriberto wrote:
> Hello,
> 
> I installed the pentium-builder package and I made the export 
> DEBIAN_BUILDARCH=i686. However, after a apt-get build-dep and apt-get source 
> -b, the result was a i386 package. Why the result wasn't a i686 package? I 
> tested with IPTraf and Postgresql-8.0.
> 

Are you saying this because filename ends in _i386.deb?  If so, that is
normal.  Even the i686 kernel image packages end in that suffix:

http://ftp.es.debian.org/debian/pool/main/k/kernel-image-2.6.8-i386/kernel-image-2.6.8-2-686_2.6.8-16_i386.deb

-Roberto
-- 
Roberto C. Sanchez
http://familiasanchez.net/~roberto


pgpWDBBeL3w5e.pgp
Description: PGP signature


Re: Network fails in 2.6.12

2005-08-18 Thread Tom Brown
On Thursday 18 August 2005 08:37, Jose E. Suarez wrote:
> Hi!
>
> I'm compiling a 2.6.12 kernel in a hp tc2110 server
> ( http://h18004.www1.hp.com/products/servers/tc2110/ ) with 2 ethernet
> cards, one is a 3com 3c905 Tornado (3c59x) Intel and another
> 82801BA/BAM/CA/CAM (e100).
>
> When i start with the original sarge kernel, it runs well, but when i
> run with my 2.6.12 configuration, the network cards seem run well, the
> dmesg show me a normal startup, and later i'm try make a ping or another
> thing and no response are received...
>
> I  trying to shut down my firewall and enable support to SMbus but i
> don't succeed anything...
>
> Any idea?
>
> J.Ernesto

Did you try swapping network cables? I had to do this after upgrading to a 
newer kernel.

Tom


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



Missing device node

2005-08-18 Thread Graham Smith
Hi,

I seem to be missing a device node but I am unsure as to how I should get it 
back.

I have a machine that has just two ide devices the hard drive and an old DVD 
drive. There is a device node /dev/hda that corresponds to the HD but 
not /dev/hdc for the DVD drive. This latter node has only disappeared since I 
upgraded to kernel version 2.6.12 (two days ago). I suspect, although I have 
no evidence for this, that is has something to do with udev as that is the 
only "important" thing that start working AFAIK when I upgraded from 2.6.11.

The machine certainly seems to be able to find the drive at boot time as this 
extract from dmesg shows

Probing IDE interface ide0...
hda: Maxtor 6Y120L0, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
hdc: CREATIVE DVD-ROM DVD6240E, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
...
hdc: ATAPI 24X DVD-ROM drive, 512kB Cache, DMA
Uniform CD-ROM driver Revision: 3.20

I am running the amd64 unstable port and have udev and hotplug installed.

Any ideas what is wrong?

Graham


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



Re: Changing Bitstream Vera

2005-08-18 Thread csj
On 18. August 2005 at 11:42AM -0400,
Sam Rosenfeld <[EMAIL PROTECTED]> wrote:

> I have looked at Bitstream Vera and have found it to be a very
> pleasing font.  I have just one question: Is it possible for a
> user to "tune" the font -- actually it is only one letter I
> want to change, the lower-case "l".

There's a packaged called fontforge, described as a "Font Editor
for PS, TrueType and OpenType fonts FontForge (formerly PfaEdit)
allows you to edit outline and bitmap fonts.  You can create new
ones or modify old ones.  It is also a font format converter and
can convert among PostScript (ASCII & binary Type 1, some Type
3s, some Type 0s), TrueType, and OpenType (Type2)."


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



Re: lame not in the debian package repository?

2005-08-18 Thread csj
On 17. August 2005 at 10:37PM -0700,
Paul Johnson <[EMAIL PROTECTED]> wrote:

> On Wednesday 17 August 2005 08:57 am, Javier-Elias Vasquez-Vivas wrote:
> > On 8/13/05, Paul Johnson <[EMAIL PROTECTED]> wrote:
> > > On Saturday 13 August 2005 10:05 pm, Rishi wrote:
> > > > Just curious. Any reasons why the 'lame' package is not included in
> > > > the debian package repository?
> > >
> > > Thanks to BMG Music, all MP3 encoders are non-free.  Try a
> > > patent-unencumbered format like Ogg Vorbis instead.
> >
> > How about flac?  Is there any comparisson between flac and Ogg in
> > terms of compresion and sound quality?
> 
> Well, FLAC aims to be lossless, so I would estimate compression
> to be practically nil (I could be wrong; don't know about
> FLAC).  Haven't heard or seen comparisons between the two
> formats.

My "real life" tests tell me FLAC compresses to better than 50%
of a .wav ripped from a digitally recorded (DDD) "classical"
music CD. That is, the file size is effectively halved. The ratio
can get as good as 1/3 of the file. "Remastered" analog
recordings (AAD or ADD) fare slightly worse.

Not as good as Vorbis or MP3, where you typically get 1/10th
compression. But for archiving my audio CDs, there's simply no
substitute. It's a different matter if I'm looking to have the
music available in a "portable" format. Then I settle for Ogg
Vorbis.

> I do know the odds of finding a portable Ogg Vorbis player is
> slightly better than that of finding a portable FLAC player,
> though.

More like orders of magnitude better. I now see Ogg Vorbis
players from non-niche manufacturers like Samsung (which
manufactures everything from TVs to washing machines).


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



firefox package screwed

2005-08-18 Thread Albert

The deb package for Firefox 1.0.4 is screwed up:

All menus are affected.  The cursor, instead of highlighting a 
choice, displays it as white block.  It's probably in the default 
theme, because changing the theme fixes it.


Also, 1.0.4 is not the current version of firefox.

I don't know which group should receive this info.

--
Blessed are the cracked:
For it is they who let in the light.



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




Re: Starting USB in Debian with kernel 26

2005-08-18 Thread Philippe Grenard
Le Jeudi 18 Août 2005 12:25, Jesús Fernández a écrit :
> > If you guys (or any of you) is using sarge, and the 2.6 kernel is the
> > one shipped with sarge, in many cases you will have usb problems. That
> > kernel had problems, there were things it can not handle. After some
> > back and forth, the solution that I found was very simple, thanks to
> > an idea that came up in the replies:
> > I just grabbed a kernel image from sid, 2.6.11, installed it, and all
> > my usb problems dissapeared. It may work for you.
> > Find the one you need here
> > http://packages.debian.org/unstable/base/
> > See the thread here
> > http://lists.debian.org/debian-user/2005/08/msg01354.html
>
> but how can we install a new kernel if we cannot even start in "safe mode"?

well, i had the same problem : 
i have a USB keyboard, and when i try to "enter" in grub with this keyboard, 
the problem appears(blocks on usb)
but when i let grub countdown till the end, the problem disappears and i boot 
with no problem : else you can try with no usb hardware linked during the 
boot

my kernel 2.6.8-1-386 is the one from sarge i think...

hope it helps
good luck



Re: root partition (reiserfs) mounting read-only on boot

2005-08-18 Thread Pablo Santiago Blum de Aguiar
On Wed, 2005-08-17 at 22:19 -0400, Bill Marcum wrote: 
> Maybe there is a hardware problem with the disk drive.  If smartmontools 
> are installed, try "smartctl -a /dev/hda".  Also try "fsck -c".

Thank you for the reply, Bill.

Sorry, there is no -c option on fsck for reiserfs, (see man
fsck.reiserfs or man reiserfsck for bad block checking options). Also,
my harddrive does not support S.M.A.R.T. therefore smartctl won't help
me, unfortunately =(

Well, I don't think there is a hardware problem. Anyway, I checked for
bad blocks on the device (/sbin/badblocks -b 4096 /dev/hdb1) and there
are no bad blocks. But I'll use the manufacturer's diagnostic utility
and run the tests, just to be sure.

Thanks,
-- 
 .''`.  Pablo Aguiar <[EMAIL PROTECTED]>
: :'  :  Proud Debian GNU/Linux Admin and User
`. `'`  GNU/Linux User #346447 - PC #238975
  `-  Due to APT, upgrading to a new version of Debian is a snap.

Thu, Aug 18 2005, 02:09:03 GMT - 0300


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



Re: weird characters

2005-08-18 Thread Hendrik Boom
On Thu, Aug 18, 2005 at 12:07:21PM -0400, Hendrik Boom wrote:
> On Wed, Aug 17, 2005 at 09:28:26PM -0400, Vikki Roemer wrote:
> > Hi,
> > My problem is, after I had to reboot (computer overheated again), some of
> > the characters in programs  don't display right.
> 
> This doesn't sound like an overheating problem to me.
> For one thing, the Mutt arrow problem happens to me too,
> starting when I made UTF-8 English the default characterset.
That is, the messed up arrow occur when I'm running on the
text console -- some of the time.  Right now, today, the
arrows are fine.

-- hendrik

> I don't know how to fix it.
> 
> -- hendrik
> 
> > The worst ones are the
> > arrows in threads in Mutt aren't arrows anymore, they're accented a's and
> > boxes; and in all windowmanagers the program names in the titlebars and the
> > writing on the blackbox slit, the letters are separated by @ signs.  The


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



Re: Automatically load module at boottime

2005-08-18 Thread Stephen Patterson
On Thu, 18 Aug 2005 17:00:14 +0200, Gabe Granger wrote:
> 
> I've just completed setup of a OnStream SCSI backup device in my  
> Debian box, which is working really really well.  I had a power cut  
> earlier today and when power was restored I checked the backup device  
> and noticed that the osst module was not loaded.  how can i make the  
> system automatically load the module at boottime?

Add the module name to /etc/modules


-- 
Stephen Patterson [EMAIL PROTECTED] http://patter.mine.nu/ GPG: E3E8E974 
Jabber: patter on jabber.earth.li MSN: [EMAIL PROTECTED]
"Whoever said nothing is impossible never tried slamming a revolving door."
  -- Melissa O'Brien


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



Pulling out the new EPOX EP-8VTAI motherboard

2005-08-18 Thread Hugo Vanwoerkom

Hi Debian!

This is for info in case anybody googles for this motherboard, by chance.

I bought an EPOX EP-8VTAI 2 months ago with an Athlon XP 2700+ 
Thoroughbred CPU. (combo less that $100)


I am pulling them out and returning to the old Abit KT7A.

Reason: unexplained kernel panics in the weirdest places at no 
particular speed or load or place or temperature.


Yesterday broke the camel's back: I was browsing the internet and Wham! 
solid freeze. CPU (runs hot) temp: 46C. Load on the system: nil. CPU 
speed: way underclocked at 1.7GHz.


It started right after I installed with segfaults in the compiler doing 
a make-kpkg. I use c++ a lot and it never ever segfaults.


Then there would be kernel panics that I caught because I was on a 
console screen. In the timer, or a page allocation error.


Who knows whether it is the CPU, the mobo or the memory, not a clue.

H


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




Re: weird characters

2005-08-18 Thread Hendrik Boom
On Wed, Aug 17, 2005 at 09:28:26PM -0400, Vikki Roemer wrote:
> Hi,
> My problem is, after I had to reboot (computer overheated again), some of
> the characters in programs  don't display right.

This doesn't sound like an overheating problem to me.
For one thing, the Mutt arrow problem happens to me too,
starting when I made UTF-8 English the default characterset.
I don't know how to fix it.

-- hendrik

> The worst ones are the
> arrows in threads in Mutt aren't arrows anymore, they're accented a's and
> boxes; and in all windowmanagers the program names in the titlebars and the
> writing on the blackbox slit, the letters are separated by @ signs.  The
> only 2 things that I can think of that caused it are a) overheating
> (hopefully not), or b) broken UTF-8 support.  Before I made UTF-8 English
> the default characterset, everything was fine.  Now it's messed up.
> 
> Anyway, my question is, how do I set i back to the ascii (i forget the
> number) charset?  I forgot what command I used to change it in the first
> place. :(
> 
> TIA.
> 
> -- 
> Vikki RoemerHomepage: http://neuromancer.homelinux.com/
> Registered Linux user #280021   http://counter.li.org/
> 
> Whenever people agree with me I always feel I must be wrong.
> -- Oscar Wilde
> 
> PGP fingerprint: 0A3E 0AE4 CCD9 FF31 B4BB  C859 2DE1 B1D8 5CE0 1578
> Keyserver: http://pgp.mit.edu/
> 
> -BEGIN GEEK CODE BLOCK-
> Version: 3.12
> GAT d---(-) s: a19 C(++) UL P+ L+++> E- W++ N+ o? 
> K- w--() O? M? V?(-) PS+(+++) PE(++) Y+ PGP++ t+@ 5 X+
> R*(?) tv-- b+++(++) DI+ D--(?) G e-(*)>+ h! r x*
> --END GEEK CODE BLOCK--
> 
> 
>  



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



Re: Problems with software RAID on SATA

2005-08-18 Thread michael

Quoting Stephen Tait <[EMAIL PROTECTED]>:

I'm just in the process of setting up a Sarge server to be used as a 
sort of backup server. The main PATA discs are used to boot the OS 
offof software RAID1, with the rest of the disc space used in JBOD 
for not-so-important backups. However, I'm having problems getting 
the new disc array up and running.


We've put a SATA controller in the box, a cheap-as-chips PCI Adaptec 
1210SA which, according to lspci, uses the SIlicon Image SI3112 
chipset to provide two SATA channels. Connected to this are two 320GB 
drives which I want to turn into a RAID1 array. When the system 
booted first, I used mdadm to create the RAID1 array md2 (mdadm 
--create /dev/md2 --level=1 --raid-disks=2 /dev/sda1 /dev/sdb1), 
checked /proc/mdstat to wait for the array to finish syncing, and 
then formatted it ext3 and mounted it. Everything seemed to work fine 
until I rebooted, whereupon the mount failed with the report that it 
wasn't a valid ext[2|3] superblock; fsck confirmed this and on 
further inspection it seemed that it wasn't a RAID device any more 
either.


...and booted with that instead after editing GRUB's menu.lst. The 
exact same error occurred, and I'm now at a bit of a loss to explain 
what's happening. If I try and mount the discs on their own (i.e. 
mount /dev/sdX /mnt/somedir) then they work just fine, so the 
hardware works fine - so I'm almost certain it's a problem with 
initting the RAID arrays at boot. At the moment I'm just rebuilding 
the array to see what happens when I don't try and mount it at boot, 
but only after the OS has finished booting, but of course that'll 
only be a temporary workaround. If it's any help, here are my fstab 
and mdadm.conf's:


[EMAIL PROTECTED]:~$ cat /etc/fstab
# /etc/fstab: static file system information.
#
#
proc/proc   procdefaults0   0
/dev/md1/   ext3defaults,errors=remount-ro 0   1
/dev/md0/boot   ext2defaults0   2
/dev/hdb9   /home   ext3defaults0   2
/dev/hdb4   /mnt/avj-backup ext3defaults0   2
/dev/hda7   /mnt/dcj-backup ext3defaults0   2
/dev/hdb8   /tmpext3defaults0   2
/dev/md4/usrext3defaults0   2
/dev/md3/varext3defaults0   2
/dev/hdb7   noneswapsw  0   0
/dev/hdc/media/cdrom0   iso9660 ro,user,noauto  0   0
#/dev/md2   /mnt/dcj-archiveext3defaults0   2


===


[EMAIL PROTECTED]:~$ cat /etc/mdadm/mdadm.conf
DEVICE partitions
ARRAY /dev/md4 level=raid1 num-devices=2 
UUID=b8093124:a6d6f876:a29eecb7:e1b332f3

   devices=/dev/hda6,/dev/hdb6
ARRAY /dev/md3 level=raid1 num-devices=2 
UUID=1973b0c3:e38869d2:ffef0cde:92048042

   devices=/dev/hda5,/dev/hdb5
ARRAY /dev/md2 level=raid1 num-devices=2 
UUID=78a3be5a:f0838fe2:4d4ce7ed:3a969954

   devices=/dev/sda1,/dev/sdb1
ARRAY /dev/md1 level=raid1 num-devices=2 
UUID=51d55d28:3e653dce:631dd682:8dd52a37

   devices=/dev/hda2,/dev/hdb2
ARRAY /dev/md0 level=raid1 num-devices=2 
UUID=56e09876:a751356e:b86535d0:95091b5b

   devices=/dev/hda1,/dev/hdb1

As you can see, most of the important directories are mounted in 
software RAID1 on the two PATA discs with unimportant stuff on JBOD, 
although of course this shouldn't make any difference. All the usual 
dmesg etc. stuff doesn't seem to tell me anything I don't already 
know. If anyone has experienced this before or has any pointers as to 
how I can troubleshoot it, I'd be much obliged!


I have had some trouble getting a raid array to inialize on boot in the past.
My fix, was to remove its entry from the mdadm.conf file, and re-cfdisk 
the disks with the auto-detect-raid setting. Then create the raid array 
and reboot, it came up just fine.

Other than that, I'm not sure that else could be wrong.
Hopefully someone else on the list has some better ideas.

Cheers,
Mike


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




Changing Bitstream Vera

2005-08-18 Thread Sam Rosenfeld

I have looked at Bitstream Vera and have found it to be a very pleasing
font.  I have just one question:  Is it possible for a user to "tune"
the font -- actually it is only one letter I want to change, the
lower-case "l".

Thanks.

sam


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



Network fails in 2.6.12

2005-08-18 Thread Jose E. Suarez
Hi! 

I'm compiling a 2.6.12 kernel in a hp tc2110 server
( http://h18004.www1.hp.com/products/servers/tc2110/ ) with 2 ethernet
cards, one is a 3com 3c905 Tornado (3c59x) Intel and another
82801BA/BAM/CA/CAM (e100).

When i start with the original sarge kernel, it runs well, but when i
run with my 2.6.12 configuration, the network cards seem run well, the
dmesg show me a normal startup, and later i'm try make a ping or another
thing and no response are received... 

I  trying to shut down my firewall and enable support to SMbus but i
don't succeed anything...

Any idea?

J.Ernesto


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



Re: debian system users delete or change access

2005-08-18 Thread michael

Quoting Brent Clark <[EMAIL PROTECTED]>:


Hi list

I have the following in my /etc/passwd file.

daemon:x:1:1:daemon:/usr/sbin:/bin/sh
bin:x:2:2:bin:/bin:/bin/sh
sync:x:4:65534:sync:/bin:/bin/sync
games:x:5:60:games:/usr/games:/bin/sh
man:x:6:12:man:/var/cache/man:/bin/sh
lp:x:7:7:lp:/var/spool/lpd:/bin/sh
mail:x:8:8:mail:/var/mail:/bin/sh
news:x:9:9:news:/var/spool/news:/bin/sh
uucp:x:10:10:uucp:/var/spool/uucp:/bin/sh
proxy:x:13:13:proxy:/bin:/bin/sh
backup:x:34:34:backup:/var/backups:/bin/sh
operator:x:37:37:Operator:/var:/bin/sh
list:x:38:38:Mailing List Manager:/var/list:/bin/sh
irc:x:39:39:ircd:/var/run/ircd:/bin/sh
gnats:x:41:41:Gnats Bug-Reporting System (admin):/var/lib/gnats:/bin/sh
nobody:x:65534:65534:nobody:/nonexistent:/bin/sh

Ive always wondered, can I delete these users / groups, or maybe change
the shell access to /bin/false instead.


I suppose you could, but it might break your system.
All those system users are there for a reason. I would guess mainly to 
run apps or processes as non root.




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




Re: why upgrade kernel?

2005-08-18 Thread Hugo Vanwoerkom

[EMAIL PROTECTED] wrote:

I have a couple of machines which I'm in the process of upgrading to
Sarge.  I'm wondering about whether to upgrade the kernels.  They're
all running some version of 2.4, which I've built for the particular
machines.  If I don't get new hardware which need newer drivers, and I
don't care about any of the fancy new features of 2.6 (whatever those
are), is there any benefit in upgrading the kernel?  Will newer
versions of some packages eventually need a newer kernel?



There is no benefit under those assumptions.

And when a newer version of a package, can't think of one, NEEDS the 2.6 
kernel, it will tell you.


Aside from that: the 2.6 kernels boot faster, generally, and support for 
sound (ALSA) and sensors (i2c) is directly in the kernel, so the 
headache of installing packages goes away and there are more cases like 
that.


My own reason for 2.6.9 is that the soundest patch for multi-user Linux 
(2.6.9-ruby.vz11) wants that kernel release.


If I were to go to 2.6.12 I would get fancier scheduling.


H


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




CVS and PAM

2005-08-18 Thread Erhard Schultchen
Hello group,

today I tried to run a cvs pserver from xinetd / tcpwrapper as non root.
Like this:

service cvspserver
{
flags   = NAMEINARGS
socket_type = stream
protocol= tcp
wait= no
user= cvs
server  = /usr/sbin/tcpd
server_args = /usr/sbin/cvs-pserver 
}

Also, I would like to have a site-global authentication method that does
not use login passwords (for obvious security-not-my-problem-reasons of
cvs) - so PAM should be the right choice. I set up a postgresql based
authentication that already works well for other services.

However, pserver does not. When I cvs login with the CORRECT password, I
get a

PAM account error: Authentication service cannot retrieve authentication
info.

which is strange because libpam-pgsql claims that authentication
succeeded. Even more strange is that I get a different message when the
password was wrong:

PAM authenticate error: Authentication failure

So I guess authentication did work after all. This problem remains with
regular unix authentication. The problem can be "solved" by running cvs
pserver as root - pam auth works fine than. Only I don't want pserver to
be run that way.

However, thats not all. When using per-repository authentication with
CVSROOT/passwd, I can login also if pserver is run as restricted user
(no complaints, ~/.cvspass written). Problem is I cannot c/o anything:

$ cvs -d :pserver:... co ...
setgid failed: Operation not permitted

AFAICS, the cvs user is the owner of and has rwX access to the
Repository and all files within. Also, I set u+s in case that isn't
implied by being the owner. I (the user I work with) have full access to
my working directory but (of course) not to the repository. Again,
thinks work with a "root" pserver.

Hm, so something is quite wrong there. Anyone succeeded to run pserver
restricted? Can't be that hard after all...

My system is debian/sid, CVS 1:1.12.9-14

Any ideas appreciated,
Erhard


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



Re: File Permissions: Allow write, but not modify

2005-08-18 Thread michael

Quoting Chris Purves <[EMAIL PROTECTED]>:


Is it possible to set up a directory so that a user can add a new
file, but once the file is there the same user cannot modify, rename,
or delete the file?

The shared directory is a samba share, and will only be accessed
through windows, so solving this problem through samba is just as
good.


Sounds like you want a drop box.
This is what we do at our work place for drop boxes.

# chmod 2773 /usr/local/share/dropbox

# ls -l
drwxrws-wx  2 root  staff 4096 Aug 18 07:48 dropbox

Then set your samba share to inherit permissions.
This should allow a regular user to drop files or folders.
If they drop a file, I don't think they will be to overwrite it.
However, if they drop a folder with a file in it, and then do it again,
they should be able to overwrite it. For most cases, we ask our users to drop
folders, that way they can overwrite it if they made a mistake on a 
file and need to re-drop it in.
Either way, only the orignal user who drops stuff in, and the 
owners/groups of the share have access.


You can do the same for a netatalk share too, but folder drops do not 
work quite right.


Hope this helps,
Cheers,
Mike





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




Problems with software RAID on SATA

2005-08-18 Thread Stephen Tait
I'm just in the process of setting up a Sarge server to be used as a sort 
of backup server. The main PATA discs are used to boot the OS offof 
software RAID1, with the rest of the disc space used in JBOD for 
not-so-important backups. However, I'm having problems getting the new disc 
array up and running.


We've put a SATA controller in the box, a cheap-as-chips PCI Adaptec 1210SA 
which, according to lspci, uses the SIlicon Image SI3112 chipset to provide 
two SATA channels. Connected to this are two 320GB drives which I want to 
turn into a RAID1 array. When the system booted first, I used mdadm to 
create the RAID1 array md2 (mdadm --create /dev/md2 --level=1 
--raid-disks=2 /dev/sda1 /dev/sdb1), checked /proc/mdstat to wait for the 
array to finish syncing, and then formatted it ext3 and mounted it. 
Everything seemed to work fine until I rebooted, whereupon the mount failed 
with the report that it wasn't a valid ext[2|3] superblock; fsck confirmed 
this and on further inspection it seemed that it wasn't a RAID device any 
more either.


I thought this may have been due to the kernel trying to mount the drives 
before the needed modules (as far as I can tell, libata, scsi_mod and 
sata_sil) had been loaded, as I'm using the stock debian 2.6.8-k7-smp 
kernel image. So I tried making a custom initrd with the needed modules in 
it, namely:


[EMAIL PROTECTED]:~$ cat /etc/mkinitrd/modules
# /etc/mkinitrd/modules: Kernel modules to load for initrd.
#
# This file should contain the names of kernel modules and their arguments
# (if any) that are needed to mount the root file system, one per line.
# Comments begin with a `#', and everything on the line after them are ignored.
#
# You must run mkinitrd(8) to effect this change.
#
# Examples:
#
#  ext2
#  wd io=0x300

#First the modules needed to init the discs
ide_core
ide_generic
amd74xx
scsi_mod
libata
sr_mod
sd_mod
dm_mod
sata_sil
md
raid1

#Filesystems
ext2
ext3

#Other stuff I'm not sure if we need
shpchp
pciehp
pci_hotplug

===

...and booted with that instead after editing GRUB's menu.lst. The exact 
same error occurred, and I'm now at a bit of a loss to explain what's 
happening. If I try and mount the discs on their own (i.e. mount /dev/sdX 
/mnt/somedir) then they work just fine, so the hardware works fine - so I'm 
almost certain it's a problem with initting the RAID arrays at boot. At the 
moment I'm just rebuilding the array to see what happens when I don't try 
and mount it at boot, but only after the OS has finished booting, but of 
course that'll only be a temporary workaround. If it's any help, here are 
my fstab and mdadm.conf's:


[EMAIL PROTECTED]:~$ cat /etc/fstab
# /etc/fstab: static file system information.
#
#
proc/proc   procdefaults0   0
/dev/md1/   ext3defaults,errors=remount-ro 0   1
/dev/md0/boot   ext2defaults0   2
/dev/hdb9   /home   ext3defaults0   2
/dev/hdb4   /mnt/avj-backup ext3defaults0   2
/dev/hda7   /mnt/dcj-backup ext3defaults0   2
/dev/hdb8   /tmpext3defaults0   2
/dev/md4/usrext3defaults0   2
/dev/md3/varext3defaults0   2
/dev/hdb7   noneswapsw  0   0
/dev/hdc/media/cdrom0   iso9660 ro,user,noauto  0   0
#/dev/md2   /mnt/dcj-archiveext3defaults0   2

# Dirs from the main server (zaphod) over X-over cable
zaphodxover:/home/share/avj /mnt/zaphod/avj 
nfs ro,hard,intr,bg,rsize=8192,wsize=8192   0 0
zaphodxover:/home/share/dcj /mnt/zaphod/dcj 
nfs ro,hard,intr,bg,rsize=8192,wsize=8192   0 0


===

[EMAIL PROTECTED]:~$ cat /etc/mdadm/mdadm.conf
DEVICE partitions
ARRAY /dev/md4 level=raid1 num-devices=2 
UUID=b8093124:a6d6f876:a29eecb7:e1b332f3

   devices=/dev/hda6,/dev/hdb6
ARRAY /dev/md3 level=raid1 num-devices=2 
UUID=1973b0c3:e38869d2:ffef0cde:92048042

   devices=/dev/hda5,/dev/hdb5
ARRAY /dev/md2 level=raid1 num-devices=2 
UUID=78a3be5a:f0838fe2:4d4ce7ed:3a969954

   devices=/dev/sda1,/dev/sdb1
ARRAY /dev/md1 level=raid1 num-devices=2 
UUID=51d55d28:3e653dce:631dd682:8dd52a37

   devices=/dev/hda2,/dev/hdb2
ARRAY /dev/md0 level=raid1 num-devices=2 
UUID=56e09876:a751356e:b86535d0:95091b5b

   devices=/dev/hda1,/dev/hdb1

As you can see, most of the important directories are mounted in software 
RAID1 on the two PATA discs with unimportant stuff on JBOD, although of 
course this shouldn't make any difference. All the usual dmesg etc. stuff 
doesn't seem to tell me anything I don't already know. If anyone has 
experienced this before or has any pointers as to how I can troubleshoot 
it, I'd be much obliged!


Stephen Tait

P.S. before all you hardware types tel

Automatically load module at boottime

2005-08-18 Thread Gabe Granger


I've just completed setup of a OnStream SCSI backup device in my  
Debian box, which is working really really well.  I had a power cut  
earlier today and when power was restored I checked the backup device  
and noticed that the osst module was not loaded.  how can i make the  
system automatically load the module at boottime?


Many thanks

Gabe



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




Re: Keep the NVIDIA driver for different kernel releases

2005-08-18 Thread Dominique Orban
On 8/18/05, Mauricio Lin <[EMAIL PROTECTED]> wrote:
> Hi all,
> 
> I use Debian Sarge and recently I installed the nvidia driver on kernel
> 2.6.12.
> It works perfectly.
> 
> But when I compiled and installed the kernel 2.6.12.5, I had to
> install the nvidia driver again, since the newest kernel was not able
> to detect the old nvidia driver compiled for kernel 2.6.12.
> 
> AFAIK the NVIDIA driver is compiled specifically for each kernel. But
> when I compile and install the NVIDIA driver for kernel 2.6.12.5, the
> nvidia-installer removes the driver for kernel 2.6.12.
> 
> So I can load X server from the running kernel 2.6.12.5, but the
> kernel 2.6.12 is not able to load the X server anymore, since during
> the installation of NVIDIA driver for kernel 2.6.12.5 the
> nvidia-installer removed the old driver.
> 
> How can I compile and install the NVIDIA driver for kernel 2.6.12.5
> without removing the old installed driver for kernel 2.6.12?

Mauricio,

As someone already mentioned, use the -K option to the installer. I
recently upgraded to 2.6.12-1-686 and I compiled an nvidia module for
the new kernel like so:

# sh NVIDIA-Linux-x86-1.0-7667-pkg1.run -K

I also have kernel 2.6.12-1-686-smp. To add the nvidia module for that
kernel without removing the first one, I do

# sh NVIDIA-Linux-x86-1.0-7667-pkg1.run -K --kernel-name=2.6.12-1-686-smp

(not that to do this, I believe the kernel you are adding must not be
running). Also, make sure you installed the kernel headers.

I am using the nvidia installer rather than the Debian package for no
particular reason. The Debian driver is a little behind (7174 I think)
and Nvidia fixed some bugs since then. But then again, their driver
has tons of remaining bugs. If you completely uninstall your current
modules and use the Debian package, the procedure may be much simpler.

Good luck,
Dominique



Re: boot logging

2005-08-18 Thread John Hasler
> OK. I'm with you so far. Now that I seem to have boot logging working,
> where is the actual output?

I don't know.  Mine is right there in /var/log/boot.  I'm using a 2.6.4
kernel built from Debian source.
-- 
John Hasler


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



Re: initrd, reboot makes kernel panic

2005-08-18 Thread debian-user

Ignore my last mail.



Ironic, 2 days troubleshooting and 2h after mailing this list and the 
problem solves. ;)



FYI, according to Documentation/initrd.txt you should(?) have a pivot_root 
and a chroot in your /linuxrc (initrd-image). This is not so, works better 
without them. The kernel already knows where to mount '/' (pivot_root not 
needed) and it knows which 'init' to load (chroot not needed). Mounts root 
and starts init automatically.


//N

On Thu, 18 Aug 2005 [EMAIL PROTECTED] wrote:


From: [EMAIL PROTECTED]
Subject: initrd, reboot makes kernel panic
Cc: debian-user@lists.debian.org

Hi!


Some background...
I've got an IDE-raid card (Promise SX6000) which is causing some problems 
when I reboot my linux. As the kernel does not support this card (and promise 
only support 2.4 kernel modules) I've got an 2.4.31 kernel and an initrd 
loading the promise module (pti_st.o). And this works fine. It boots up, 
mounts the ide-raid as '/' and works pretty good.




The problem is when I reboot my system, init jumps into runlevel 6 and starts 
executing all the /etc/rc6.d things. When it gets to the last it prints:


Kernel panic: VFS: Unable to mount root fs on 08:02


Very strange that it tries to _mount_ something when it should reboot...
I've looked in /etc/rc6.d and I dont see anyting there about mounting.


I've been testing different things in /linuxrc-script but cant figure this 
one out, really strange. If I instead if 'init' run 'sh' in /linuxrc I get 
the 'sh' prompt and from there I can do 'reboot' without any complaints - so 
it should be something with 'init' ...



Any ideas greatfully accepted (including troubleshooting ideas) =)


My linuxrc script is basically:
PATH=.:/bin:/sbin
export PATH
insmod -k /modules/pti_st.o
mount -o ro /dev/sda2 /mnt/root   # ro/rw makes no diff
umount /proc 2> /dev/null || error "unmounting proc filesystem failed"
cd /mnt/root
pivot_root . initrd || error "changing to new root failed"
#exec /usr/sbin/chroot . /sbin/init 2# does not work, compl. /dev/initctl
#exec /usr/sbin/chroot . /sbin/init -i
#exec /usr/sbin/chroot . /bin/sh -c '/bin/umount /initrd; exec /sbin/init -i' 
dev/console 2>&1

exec /usr/sbin/chroot . /bin/sh dev/console 2>&1
#umount /initrd



//Niklas




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




Re: Info on debian boot/xwindow process

2005-08-18 Thread Kent West
Albert wrote:

> Could someone point me to info on the debian boot and X Window startup
> process?  I hate it that I don't get to startx for X and that I cannot
> login to Gnome as root.

* The PowerOnSelfTest (POST)

* The bootloader (grub/lilo/etc)

* The kernel loads

* The kernel probes and self-configures

* The kernel's last task before sitting in the background, controlling
all, is to run "init" with "/etc/inittab" as it's config file

* "/etc/inittab" instructs init to go to the appropriate run-level (2 on
a default Debian setup), and it (normally) starts 6 gettys (terminal
sessions)

* as part of switching to the run-levels, the scripts in
/etc/rc[runlevel].d are run, first with the K scripts, then the S
scripts, in alpha-numerical order

* if one of the last S scripts in the default run-level is a display
manager (xdm, kdm, wdm, gdm), the graphical login window fires up; else
you're dropped to a text-mode login prompt


> I want to use a different window manager than the default, which I
> assume is Metacity, and I want to use the ROX-session manager.  My
> head has exploded trying to figure out how this can be done without
> documentation or deb packages.

If you're using a login manager (gdm, kdm, etc), each of them has its
own configuration file, in which you can configure the default window
manager.

Or, more likely, the login manager is paying attention to the settings
in your "alternatives" system; see what "ls -l
/etc/alternatives/x-window-manager" says. To change it, run
"update-alternatives --config x-window-manager".

Or, the login manager is reading your personal "~/.xinitrc" file.

Or, the login manager is paying attention to the last wm used as chosen
by the lm's pull-down menu; for example, somewhere in the GDM screen is
a menu that allows you to choose your preferred window manager.

Concerning logging into Gnome (or any X setup) as root: that's not
recommended practice. Generally, you can override this safety setting by
tinkering in the Gnome configuration file (but I'm not sure of the
specifics, as I don't use Gnome). If you _must_ log into X as root (AND
YOU DON'T NEED TO!!), I recommend that you do it manually with "startx"
rather than allowing it from the login manager. Just start a second X
session ("startx -- :1", then Ctrl-Alt-F7 or Ctrl-Alt-F8 to toggle back
and forth between the two sessions) or kill the login manager first
("/etc/init.d/gdm stop").

Better would be to log into X as a normal user, and then use "sudo" to
do any root-like things.

-- 
Kent


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



[SOLVED] Broken install (files list file for package `x11-common' missing)

2005-08-18 Thread Andrey Andreev
Andrey Andreev wrote:
> Some time ago I installed X.org from debian.linux-systeme.com on my
> Debian Sid.
> Yesterday I decided to switch to the X.org, now provided unstable so I
> lowered the priority of debian.linux-systeme.com in /etc/apt/preferences
> I ran dist-upgrade with aptitude, but this failed, giving the following
> (among others) message:
[snip]
> /var/cache/apt/archives/x11-common_6.8.2.dfsg.1-5_all.deb (--unpack):
>  trying to overwrite `/etc/X11/Xsession', which is also in package
> xorg-common

Two packages were overlapping (x11-common from unstable, and xorg-common
from the unofficial repo)

Force removing both and reinstalling x11-common fixed all:

dpkg -P --force-depends x11-common xorg-common

apt-get -f install x11-common

Andro

-- 
Andrey Andreev
University of Helsinki
Dept. of Computer Science


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



  1   2   >