Quad-port Fast Ethernet on Debian

2005-06-03 Thread Simon Phillips
All,

I am after some general advice or info on people's experiences with quad
port ethernet cards.  Any assistance would be much appreciated.

I am looking to set up two servers acting in a group with high availability
(minimum) or load balancing (would be better) with Debian Sarge.  The servers
would run standard type services like a firewall/gateway, mail, web and DNS, 
and would run on modern AMD/x86 compatible-based desktop style PC hardware.
I am hoping to use some load balancing software like LVS or the Linux-HA
suite.

For this, I am specifically looking to use *quad* port ethernet cards, 
due to the number of ports and physical size of the hardware required for my 
configuration.  I will probably need two per box (+ onboard port = 9 ports 
total).

The options I seem to have at the moment are these.  If anyone can tell me 
if they know of them working properly (stable, without problems such as
packet loss etc.) under Debian with a similar configuration, that would be 
greatly appreciated.  Also any comments on how well the hardware lasts over 
time - incidence of dead ports, cards, etc. and also how much heat they
generate.

- Microtek Routerboard 24 (new, cheaper, if this works I'll be laughing.  They
use the National Semiconductor DP83816 chipset according to their webpage)
- Microtek Routerboard 44 (I am very suspicious of these because they use the
VIA Rhine chipset, and I had lockups and other annoying problems with that
years ago - but if anyone can tell me otherwise, I'm still interested)
- Adaptec ANA-6944/TX (used, cheap but possibly old/with wear and tear)
- Adaptec ANA-62044 (used, cheap but possibly old/with wear and tear)
- D-Link DFE-580TX (new and a bit more expensive)

If anyone has any other suggestions that won't break the bank that would also
be good.  Since the actual PCs don't cost over AUD$500 I don't want to spend 
that much on network controllers.  Keep in mind I will have to have them 
shipped to Australia, or buy them in Australia.  I know of the DFE-570TX cards,
and would love to get my hands on some, but I can't find anywhere to buy 
them.  :(

The other thing I am curious about is if this configuration is likely to 
cause any other problems.  I have read e-mails on lists and so forth saying 
that there are limits on the number of Ethernet ports supported at once, and
weird PCI bus or BIOS (i.e. AMIBIOS) behaviour that causes problems with this 
sort of setup.  But they too, unfortunately, are out of date.  Does anyone 
know if these problems are an issue with modern Linux setups such as one 
possible with modern hardware and Debian Sarge? 

It is fine if I have to compile a custom kernel to get this working, though
I would prefer a system that sticks as closely as possible to the Sarge
distribution so that all the package updates and so on will still work.

Please do not point me at the Ethernet-HOWTO or Hardware-HOWTO etc. unless
there is a new version of them around.  It is all well and good to know what
was supported a few years ago, but it probably doesn't answer my question
and there is not enough information there anyway.


Many thanks,

Simon Phillips.


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



Re: Re: No 1028x786 resolution on HP M50 Monitor On Sarge

2005-06-03 Thread Leonard Chatagnier



Leonard Chatagnier([EMAIL PROTECTED]) is reported to have said:
Only the 800x600 and 640x480 are available while previously 1028x786 was 
functional and I could switch
to it with cntrl ++.  The higher resolution had been available on both 
woody and sarge kernels(stock).

<-- snip -->

EndSection
There are no other entries beside the DEBCONF entries.
I'd certainly appreciate any help or guidance given and if one doesn't 
mind, copy my email address as I'm not subscribed.  Otherwise, I'll 
monitor the list on the web even though its harder to reply in the 
correct format.

Thanks for your help,


   SubSection "Display"
   Depth   24
   Modes   "1280x1024" "1024x768" "800x600" "640x480"
   EndSubSection

Have you tried adding them?

WT

Yes, all but the 1280x1024 resolution which my monitor doesn't support.  Actually, after 
adding the 1024x786 entry and rebooting the resolution looks finer but using cntrl-alt-++ only

cycles through 2 resolutions.  I need a bash command that explicitly shows the 
screen resolution
to be sure.  Kmow of one?
Thanks for the reply,
Leonard


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




Re: ASUS A7V880

2005-06-03 Thread Jonathan Kaye

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

En/La Hans du Plooy ha escrit, a 01/06/05 15:48:
| Hi list,
|
| I am having sleepless nights and severe hair-loss with this board.  I
| throught my gfx card was failing so I replaced it - I've tried six
| different cards already, and I'm still having the same problem (even in
| windows too...).
|
| Basically what happens is as soon as I load the drivers (nvidia or
| fglrx), when I start X (either XFree86 or X.org), my screen goes blank,
| keyboard dies, and eventually screen goes into DPMS mode.  For what it's
| worth, in windows the screen goes into funny corrupt mode, a bit like
| the old VGA screens did if you tried a too high resolution on them.
|
| Does anybody else run this board and have problems with it?
|
| Thanks

Hi Hans, I'm not sure which video card you have but have you looked here?
http://xoomer.virgilio.it/flavio.stanchina/debian/fglrx-installer.html
I have an asus K8V SE and the fglrx driver works fine for my ATI Radeon 9550
Cheers,
Jonathan
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFCoS2T64+f0AXUe+4RAiatAJsGq3czlGVvOGDz2l6idAFk4PVHJgCeNgUC
VBXiaJ9d+Vxh3B6fAA9zdS4=
=erVs
-END PGP SIGNATURE-


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




Re: Re: root is unable to change file permissions!

2005-06-03 Thread Andreas Hatz



Hello Jurgen,
 
Thanks for the tip re the chkrootkit. There are a 
couple of warnings:
 
Searching for t0rn's v8 defaults... Possible t0rn 
v8 (or variation) rootkit installedChecking `lkm'... You 
have 3 process hidden for ps commandWarning: 
Possible LKM Trojan installed
 
This is great info, but now I need to find a way to 
get rid of them.
 
Cheers,
 
Andreas


Re: Re: root is unable to change file permissions!

2005-06-03 Thread Andreas Hatz



Hello Robert,
 
when running lsattr I get mostly -- 
with a few exceptions:
 
ns:/bin# lsattr
suSiadAc-- /bin/ls
suSiadAc-- /bin/login
suSiadAc-- /bin/netstat
suSiadAc-- /bin/ps
 
also,
ns:/bin# lsattr /sbin
suSiadAc-- /sbin/ifconfig
 
Doesn't look too good for security. 
 
I have done a chattr  -ASacdistu on all 
relevant directories, but I aggree that this is a short term fix 
only.
 
Thanks all who gave advice on this one. Learnt 
something new after almost 10 years of linux sysadmin.
 
Cheers,
 
Andreas


Re: Woody-No Mouse, Sarge-OK

2005-06-03 Thread Bill Marcum
On Fri, Jun 03, 2005 at 02:01:38PM +, Leonard Chatagnier wrote:
> This problem started after removing devfsd on Sarge to overcome a 
> conflict between udev and devfs. It just
> took a while to realize it as woody is not booted very often.  So, I 
> reinstalled devfsd and recreated the symlink
> ln -s /dev/mouse /dev/psaux.  Although this hasn't changed anything when 
That's backward, it should be ln -s /dev/psaux /dev/mouse.
Now you probably have two symlinks pointing at each other.
ls -l /dev/psaux /dev/mouse

If psaux is a symlink:
rm /dev/psaux
mknod /dev/psaux c 10 1


-- 
Depend on the rabbit's foot if you will, but remember, it didn't help
the rabbit.
-- R.E. Shay


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



Re: ntpdate & script to update host at random time

2005-06-03 Thread Bill Marcum
On Fri, Jun 03, 2005 at 11:36:41AM -0400, jmr_071769 wrote:
> hello again with a debian question.
> 
> i'd like to be able to have a few machines 'apt-get update' themselves
> at a random time near/around midnight. how can i go about this with
> another easy script?
> 
I almost forgot, in my previous reply: if you use the 
'sleep $((RANDOM % 1200)) command directly in the crontab, not in a 
script, change the % to \%.


-- 
Depend on the rabbit's foot if you will, but remember, it didn't help
the rabbit.
-- R.E. Shay


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



Re: Debian Woody VI (6.1.18)

2005-06-03 Thread Bill Marcum
On Wed, Jun 01, 2005 at 08:44:59PM +0100, Chris Robinson wrote:
> Hi
> 
> I wonder if anyone can help me?  I am trying to "VI" a file that appears 
> to have control characters.
> They appear as bold "~U|" and bold " | |", without the ".
> 
> I have tried seaching for these characters, with ":/~U" and :/| and 
> :/ctrlvM etc.  But it appears as if they do not exist.
> 
> Is there any way to search and replace these characters?
> 
Have you tried using the mouse to paste those characters into the search 
command?


-- 
Depend on the rabbit's foot if you will, but remember, it didn't help
the rabbit.
-- R.E. Shay


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



Re: ntpdate & script to update host at random time

2005-06-03 Thread Bill Marcum
On Fri, Jun 03, 2005 at 11:36:41AM -0400, jmr_071769 wrote:
> hello again with a debian question.
> 
> i'd like to be able to have a few machines 'apt-get update' themselves
> at a random time near/around midnight. how can i go about this with
> another easy script?
> 
A random time around midnight?  You could write a crontab that runs at
23:50 and begins with "sleep $(( RANDOM % 1200 ))"


-- 
Depend on the rabbit's foot if you will, but remember, it didn't help
the rabbit.
-- R.E. Shay


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



Re: canon BJC-4650 printer under cups on Debian stable

2005-06-03 Thread Bill Marcum
On Wed, Jun 01, 2005 at 08:21:28PM +0100, debian wrote:
> Quick question: anyone got this working? I have tried various cups
> "drivers" (foomatic + bjc600, foomatic + bjc800) but no joy: most seem
> to print on half the width of a portrait format A4 page.  Debian
> stable, cups calling test page either from browser to cups or from
> kde.  Googling didn't nail anything clear at all.
> 
Have you tried the gimpprint drivers?

-- 
Depend on the rabbit's foot if you will, but remember, it didn't help
the rabbit.
-- R.E. Shay


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



Re: the first contact with debian

2005-06-03 Thread Kevin Mark
On Thu, Jun 02, 2005 at 11:53:01AM +0200, wb wrote:
> Dear debian users!
> My problems are:
> 1. in the red hat I used before, I could read from or write to floppy simply 
> by the mouse right clicking  on the graphical desktop, and then: disk->floppy.
> How can I access floppy in the graphical mode in debian

Hi wb,
Debian has the same choices as Redhat. Just choose the window/desktop
manager that you used in Redhat (gnome, kde, ...).

> 2. Is the midnight commander included into the distribution? Where resides? 
> How can be invoked?

It doesnt seem to be. It is marked 'Priority: optional'. To install it:
'apt-get install mc'.

> 3. I have digital camera, How can I download photos through the usb port?
Assuming you have loaded the proper usb kernel modules, udev and maybe
gnome-volume-manager, it should be easy. You can also use the various
Digital camera tools like: digikam, gphoto2,...
Cheers,
kev
-- 
counter.li.org #238656 -- goto counter.li.org and be counted!
  `$' $' 
   $  $  _
 ,d$$$g$  ,d$$$b. $,d$$$b`$' g$b $,d$$b
,$P'  `$ ,$P' `Y$ $$'  `$ $  "'   `$ $$' `$
$$ $ $$g$ $ $ $ ,$P""  $ $$
`$g. ,$$ `$$._ _. $ _,g$P $ `$b. ,$$ $$
 `Y$$P'$. `YP $$$P"' ,$. `Y$$P'$ $.  ,$.


signature.asc
Description: Digital signature


Re: problem installing Splashy

2005-06-03 Thread Kevin Mark
On Thu, Jun 02, 2005 at 12:59:07PM +0200, likeapear wrote:
> Hi all!
> 
> Trying install Splashy (bootsplash for linux). Updated  /etc/apt/sources.list 
> as is described here:
> 
> http://wiki.nanofreesoft.org/index.php/Splashy
> 
> deb http://splashy.alioth.debian.org/debian/ unstable main
> deb-src http://splashy.alioth.debian.org/debian/ unstable main
> 
> and tryed this:
Hi likeapear,
I am running sid aka unstable and it is available for Splashy version
0.1.3.  No special apt source list required.
--
apt-cache show splashy
Package: splashy
Priority: optional
Section: graphics
Installed-Size: 892
Maintainer: Otavio Salvador <[EMAIL PROTECTED]>
Architecture: i386
Version: 0.1.3
Replaces: usplash, debsplash-utils
Depends: libc6 (>= 2.3.0), libdirectfb-0.9-20, libglib2.0-0 (>= 2.6.0)
Conflicts: usplash, debsplash-utils
Filename: pool/main/s/splashy/splashy_0.1.3_i386.deb
Size: 807828
MD5sum: c00f9fe4915812c00ed694e9da707a83
Description: A complete user-space boot splash system
 A boot splash program that doesn't require patching the Linux kernel.
 It paints graphic images directly to framebuffers using libdirectfb.
 --
 Cheers,
 Kev
-- 
counter.li.org #238656 -- goto counter.li.org and be counted!
  `$' $' 
   $  $  _
 ,d$$$g$  ,d$$$b. $,d$$$b`$' g$b $,d$$b
,$P'  `$ ,$P' `Y$ $$'  `$ $  "'   `$ $$' `$
$$ $ $$g$ $ $ $ ,$P""  $ $$
`$g. ,$$ `$$._ _. $ _,g$P $ `$b. ,$$ $$
 `Y$$P'$. `YP $$$P"' ,$. `Y$$P'$ $.  ,$.


signature.asc
Description: Digital signature


Re: Software configuration question

2005-06-03 Thread Kevin Mark
On Thu, Jun 02, 2005 at 12:50:45PM -0400, Roberto C. Sanchez wrote:
> On Thu, Jun 02, 2005 at 12:28:23PM -0400, Jason Lieurance wrote:
> > Hello,
> >  
> > I'm fairly new to debian as I come from a FreeBSD background and have a
> > software question. How do you specify options for building your software
> > with apt-get?
> >  
> > Example:
> >  
> > When building software, I'm use to: ./configure , make, make
> > install. (Like if I want to configure apache with certain options)
> >  
> > Now, with apt-get, it just goes and does it with no intervention.
> >  
> > I tried apt-get source but I don't understand what to do as the source,it
> > looks different than what I'm use to.
> >  
> > Thanks for any help.
> 
> What you really want is pbuilder or sbuild.  I have used both and
> recently switched to pbuilder.  The documentation for both is actually
> pretty good.  I used sbuild (now pbuilder) to build the packages that I
> maintain a couple which I customize/backport.  Here is what you need:
 
Hi Roberto,
This informal HOWTO would be a really usefull thing to make into a
wiki.debian.net page or something on your own site.
Thanks for the cool HOWTO. People are alwaysing asking about
customizing packages for their own needs and want to be able to install
them as DEBs.
Cheers,
kev
-- 
counter.li.org #238656 -- goto counter.li.org and be counted!
  `$' $' 
   $  $  _
 ,d$$$g$  ,d$$$b. $,d$$$b`$' g$b $,d$$b
,$P'  `$ ,$P' `Y$ $$'  `$ $  "'   `$ $$' `$
$$ $ $$g$ $ $ $ ,$P""  $ $$
`$g. ,$$ `$$._ _. $ _,g$P $ `$b. ,$$ $$
 `Y$$P'$. `YP $$$P"' ,$. `Y$$P'$ $.  ,$.


signature.asc
Description: Digital signature


Re: Need Help: apt not regisytering any upgradable packages

2005-06-03 Thread Kevin Mark
On Thu, Jun 02, 2005 at 12:19:30PM -0500, John Foster wrote:
> I have been dealing with this issue for some time. I have a sid installation 
> & 
> apt quit showing any packages that were available for upgrade about 2 months 
> ago. I was using, for several years, kdepackage manager as my gui for 
> handeling all package management functions. When I decided to try synaptic & 
> aptitude, kdepackage quit showing the upgrades available. However synaptic 
> seemed to work OK. Today I upgraded apt-cacher, apt-build, & apt-file from 
> synaptic. After these were upgraded synaptic quit showing any upgradeable 
> packages, kde-package is not showing any & dselect is just nuts, it's showing 
> every thing installed is obsolete or local with no upgrades available either. 
> The fact is that every package on my systems seems to be working just fine 
> and all systems, & hardware are OK.
> So anybody with ANY idea PLEASE respond.
> -- 
> John Foster
Hi John,
you have found one of the inconsisencies of the various package manager:
all of them do not keep states the same way. And when you use more than
one package manager, the other get confused. I wish the maintainers
would either use the same format for storing state informations or
someone should develop a tool to syncronize them to avoid this package
manger confusion.
Cheers,
Kev
-- 
counter.li.org #238656 -- goto counter.li.org and be counted!
  `$' $' 
   $  $  _
 ,d$$$g$  ,d$$$b. $,d$$$b`$' g$b $,d$$b
,$P'  `$ ,$P' `Y$ $$'  `$ $  "'   `$ $$' `$
$$ $ $$g$ $ $ $ ,$P""  $ $$
`$g. ,$$ `$$._ _. $ _,g$P $ `$b. ,$$ $$
 `Y$$P'$. `YP $$$P"' ,$. `Y$$P'$ $.  ,$.


signature.asc
Description: Digital signature


Two sound problems

2005-06-03 Thread Omari Norman
I have been having two problems getting sound to work on my system.

The first problem involves only KDE apps. I can get sound in KDE,
because I can get sounds from user actions such as maximizing windows,
clicking on things, etc. However, I cannot play MP3s. Whenever I try
to play an MP3 using a KDE application in KDE, I get a SIGABRT crash,
with the crash text that is at the bottom of this message.

This problem playing MP3s is limited to KDE apps. I can play MP3s fine
inside GNOME using GNOME apps. I can also play MP3s fine if I am using
X apps in KDE, or even if I am using a GNOME app inside KDE. But I
cannot play MP3s on a KDE app in GNOME--the application won't even
launch.

KDE's problem with MP3s extends beyond trying to play MP3s. If I even
click on an MP3 on my desktop, my whole screen turns black for a
second, and then is restored to normal. If I open a Konqueror folder
full of MP3s, I get a SIGABRT. This happens even if I do not attempt
to open any of the files in the Konqueror window.

My other problem extends to both KDE and GNOME: my master volume
slider has no effect on my volume. If I open the mixer and adjust the
individual components, that works fine. But the master volume has no
effect whatsoever.

So far, here is what I have tried:
* using OSS drivers and Alsa drivers
* using sound servers, such as jackd and esd
* turning the built-in sound system in the KDE control panel off and on

None of these changes have had any effect.

My setup: Debian 3.1 (testing Sarge); KDE 3.3.2; Intel AC97 i810
integrated PCI sound.

Thanks for any help.
Omari

the SIGABRT crash text:
(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 4604)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[KCrash handler]
#5  0x412f07c1 in kill () from /lib/libc.so.6
#6  0x410af771 in pthread_kill () from /lib/libpthread.so.0
#7  0x410afa7b in raise () from /lib/libpthread.so.0
#8  0x412f0554 in raise () from /lib/libc.so.6
#9  0x412f1a88 in abort () from /lib/libc.so.6
#10 0x41273f57 in __cxa_call_unexpected () from /usr/lib/libstdc++.so.5
#11 0x41273f94 in std::terminate () from /usr/lib/libstdc++.so.5
#12 0x41274106 in __cxa_throw () from /usr/lib/libstdc++.so.5
#13 0x4127435f in operator new () from /usr/lib/libstdc++.so.5
#14 0x41260609 in std::__default_alloc_template::allocate ()
   from /usr/lib/libstdc++.so.5
#15 0x41ac9611 in std::vector
>::_M_range_insert<__gnu_cxx::__normal_iterator > > > () from
/usr/lib/libtag.so.1
#16 0x41ac7f68 in TagLib::ByteVector::mid () from /usr/lib/libtag.so.1
#17 0x41aadccf in TagLib::ID3v2::RelativeVolumeFrame::parseFields ()
   from /usr/lib/libtag.so.1
#18 0x41aadf2b in TagLib::ID3v2::RelativeVolumeFrame::RelativeVolumeFrame ()
   from /usr/lib/libtag.so.1
#19 0x41aa5fc4 in TagLib::ID3v2::FrameFactory::createFrame ()
   from /usr/lib/libtag.so.1
#20 0x41aa8bd5 in TagLib::ID3v2::Tag::parse () from /usr/lib/libtag.so.1
#21 0x41aa8a7e in TagLib::ID3v2::Tag::read () from /usr/lib/libtag.so.1
#22 0x41aa7364 in TagLib::ID3v2::Tag::Tag () from /usr/lib/libtag.so.1
#23 0x41aa3760 in TagLib::MPEG::File::read () fr

Re: bash error handling help

2005-06-03 Thread Monique Y. Mudama
On 2005-06-04, theal penned:
> I am have a script that uses a for loop to copy files to about 100
> servers.  I know how to get it to exit the entire script on an
> error, but I only want to stop what it is doing for the current $i
> and move to the next. here is the basics of the script. there may be
> some syntax errors in this script as I have edited it for public
> viewing.

Without looking in detail at the script, I think you're looking for
the "continue" keyword.  `man bash`, search for continue.

-- 
monique

Ask smart questions, get good answers:
http://www.catb.org/~esr/faqs/smart-questions.html


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



Re: No 1028x786 resolution on HP M50 Monitor On Sarge

2005-06-03 Thread Leonard Chatagnier
Thanks to all for the very quick response and for copying me direct.  
Noticed you
didn't copy list so am taking the liberty and doing so.  I'm using this 
response to

reply to all for efficiency but all responses have a reply.  See below.
Angelina Carlton wrote:


Hello,

On Fri, Jun 03, 2005 at 02:56:21PM +, Leonard Chatagnier wrote:
 

Only the 800x600 and 640x480 are available while previously 1028x786 was 
functional and I could switch
to it with cntrl ++.  The higher resolution had been available on both 
woody and sarge kernels(stock).
   



what kernel are you currently running and did you install with apt or
compile it yourself?
 

I'm using stock 2.6.8-2-686 and have 2.4.18-bf2.4 as backup.  Installed 
with apt

and I don't compile being a newbie.

 

I have ran dpkg --reconfigure and wajig reconfigure xserver-xfree86 and 
always select the 1028x786 max
resolution.  I've tried modprobe r128 and get a message that file not 
found or doesn't exist but it does and
modprobe gives the same message with or without the full path name.  
   



can you paste the complete message? (if you have no X windows to paste
from maybe ssh in from another machine with X)
 


ChatagnierL-Home:/etc/devfs# modprobe r128.ko
FATAL: Module r128.ko not found.
ChatagnierL-Home:/etc/devfs# modprobe 
/lib/modules/2.6.8-2-686/kernel/drivers/char/drm/r128.ko
FATAL: Module /lib/modules/2.6.8_2_686/kernel/drivers/char/drm/r128.ko 
not found.

ChatagnierL-Home:/etc/devfs#
PS-the above path is taken right out of the locate output after being 
updated.



what card is this? ati rage 128? (im not familiar with ati)
 

It's a module that I believe must be loaded for dri and the higher 
resolutions to work.
Read it somewhere while googling but don't remember where.  I'll stand 
corrected if I'm wrong.

My video card is ATI 3D Rage Pro AGP 1X/ 2X rev 5c

 

I'm 
somewhat of a newbie having
been with Debian and linux for about 6 months and don't know what else 
to do.  The pertinent section of my
XFConfig-4 file is copied below for referene and would be glad to 
provide any other needed date:


Section "Module"
  Load"GLcore"
  Load"bitmap"
  Load"dbe"
  Load"ddc"
  Load"dri"
  Load"extmod"
  Load"freetype"
  Load"glx"
  Load"int10"
  Load"pex5"   Comment: this module never loads
  Load"record"
  Load"speedo"
  Load"type1"
  Load"vbe"
  Load"xie"   Comment: this module never loads
EndSection

Section "Device"
  Identifier  "Generic Video Card"
  Driver  "vesa"
  Option  "UseFBDev"  "true"
EndSection

Section "Monitor"
  Identifier  "Generic Monitor"
  HorizSync   28-50
  VertRefresh 43-75
  Option  "DPMS"
EndSection

Section "Screen"
  Identifier  "Default Screen"
  Device  "Generic Video Card"
  Monitor "Generic Monitor"
  DefaultDepth24
  SubSection "Display"
  Depth   1
  Modes   "800x600" "640x480"
  EndSubSection
  SubSection "Display"
  Depth   4
  Modes   "800x600" "640x480"
  EndSubSection
  SubSection "Display"
  Depth   8
  Modes   "800x600" "640x480"
  EndSubSection
  SubSection "Display"
  Depth   15
  Modes   "800x600" "640x480"
  EndSubSection
  SubSection "Display"
  Depth   16
  Modes   "800x600" "640x480"
  EndSubSection
  SubSection "Display"
  Depth   24
  Modes   "800x600" "640x480"
  EndSubSection
EndSection

Section "DRI"
  Mode0666
EndSection
   



If you are sure the horizontal andvertical refreshes are correct,
(check the manufactures website for your monitor) then do:
 


HP M50 manual gives: line Horizontal freq 30-54 KHtz
  Raster Vertical freq 50-100 Htz
Also, max frequency for 1024x786 of 60Htz, 800x600 of 85 Htz and 640x480 
of 85 Htz.
Note that all resolutions were once working on both woody and sarge set 
up using the
simple selection when configuring xserver-xfree86.  Debconf or dpkg 
actually selected the frequencies.



cp -iv /etc/X11/XF86config /etc/X11/XF86config.backup

and then edit the file directly, adding the mode you want.
for example:

SubSection "Display"   
   Depth   16 
   Modes   "1028x786" "800x600" "640x480"
EndSubSection 


You can also install modconf, which is a curses based gui module
loader to make things a little eas

bash error handling help

2005-06-03 Thread theal
I am have a script that uses a for loop to copy files to about 100 servers.
I know how to get it to exit the entire script on an error, but I only want
to stop what it is doing for the current $i and move to the next. here is
the basics of the script. there may be some syntax errors in this script as
I have edited it for public viewing.

Thanks

Tony



#!/bin/bash

hostlist=`less /usr/local/src/client_hosts.txt|grep -v "#"|cut -d "," -f1`

if [ ! -f /usr/local/bin/myfile_client.sh ] ; then
echo "/usr/local/bin/myfile_client.sh does not exist"
exit 1
fi

function log()
{
echo [`date "+%Y-%m-%d %H:%M"`] $1
echo [`date "+%Y-%m-%d %H:%M"`] $1 >> /usr/local/bin/myfile.log
echo [`date "+%Y-%m-%d %H:%M"`] $1 >> /tmp/myfile.log
}

function run()
{
CMD=$1

# Don't abort on errors
set +e
# Capture STDERR to ERR
ERR=$($CMD 2>&1)
# Capture return value from command
RETVAL=$?
# re-enable abort-on-err
# set -e

if [ "$ERR" ] ; then
log "Error processing: $ERR"
fi

return $RETVAL
}

function errhandler()
{
log "Aborting abnormally..."
cleanup
}

trap errhandler ERR


for i in $hostlist
do
echo "determine if temp exits"
if [ -f /tmp/temp ] ; then
rm /tmp/temp
elif [ -d /tmp/temp ] ; then
rm -rf /tmp/temp
fi

echo "Creating client /tmp/temp directory"
log "Creating client /tmp/temp directory"
ssh -i ~/.ssh/$i [EMAIL PROTECTED] "mkdir -p /tmp/temp/"

echo "Transfering files to $i:/tmp/temp"
log "Transfering files to $i:/tmp/temp"
scp -i ~/.ssh/$i /usr/local/bin/myfile.sh [EMAIL PROTECTED]:/tmp/temp

echo "Executing myfile.sh"
log "Executing myfile.sh"
ssh -i ~/.ssh/$i [EMAIL PROTECTED] "/tmp/temp/myfile.sh"

echo "Removing client /tmp/temp"
log "Removing client /tmp/temp"
ssh -i ~/.ssh/$i [EMAIL PROTECTED] "rm -rf /tmp/temp"

echo "Finished $i myfile.sh "
log "Finished $i myfile.sh "
echo " "
done




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



lirc + deiban = HELP!

2005-06-03 Thread Mike
Can somebody point me in the right direction for lirc using debians 
packages? I'm just lost. I think I am probably doing WAY too much to get 
this working under debian so maybe I'm just screwing things up. I am no 
kernel builder. Basically, I've read all the documenation they make 
available. But it is very 'patchy' to say the least. Or they just seem 
to assume too much.


Here is what i've done;

1. installed and extracted the kernel headers, kernel source and 
lirc_source_modules packages

2. symlinked /usr/src/linux to the kernel source
3. make-kpkg --revision 2.6.11 modules_image (entered through all the 
config questions except said yes to all 'enable loadable module support' 
questions towards the beginning)

4. it built some debian package that I installed via dpkg -i
5. Modules weren't in the right place so I copied them into what I think 
is the right places
 cp /lib/modules/2.6.11/misc/* 
/lib/modules/2.6.11-1-k7/kernel/drivers/misc/

6. depmod -ae && update-modules
7. modprobe lirc_dev
   FATAL: Error inserting lirc_dev 
(/lib/modules/2.6.11-1-k7/kernel/drivers/misc/lirc_dev.ko): Invalid 
module format

8., modprobe modprobe lirc_i2c
  FATAL: Error inserting lirc_i2c 
(/lib/modules/2.6.11-1-k7/kernel/drivers/misc/lirc_i2c.ko): Invalid 
module format


I'm just trying to get my pvr-350 remote working with mythtv. Can 
anybody please help me with this? If I ignore the documentation that 
comes with it and go with people's notes I find on google, it just seems 
like everybody abandons debians lirc packages for whatever reason. 
(well, I can probably take a wild guess) Should I just follow them and 
skip debians lirc packages?


Please help, I'm going crazy here.

-Mike


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




Re: Wireless help

2005-06-03 Thread Paolo Alexis Falcone
On 6/4/05, Trevor <[EMAIL PROTECTED]> wrote:
> I have a Linksys WPC11 V4 for a wireless card.  I had it working in
> ubuntu, but now after my switch to Sarge i have been so far
> unsucessful.  I am using ndiswrapper to load the Realtek driver.  After
> a 'ndiswrapper -l' it shows taht the driver is installed and the device
> is detected.  I am unable to do a 'modprobe ndiswrapper' like i did in
> Ubuntu.  So yeah pretty much from there i am clueless as to what i need
> to do.  The device does not show up in ifconifg or the GUI networking
> devices app. like it did in ubuntu as wlan0 (im in windows right now
> till i get it working, once this prob. is solved...GOOD BYE WINDOZE!!)
> So the sooner i get this problem solved, the better.

You'd need to compile the ndiswrapper module (there's a kernel patch
package for this one) for the sarge kernel, as well as install the
ndiswrapper package.

-- 
Paolo Alexis Falcone
[EMAIL PROTECTED]



Re: No 1028x786 resolution on HP M50 Monitor On Sarge

2005-06-03 Thread Wayne Topa
Leonard Chatagnier([EMAIL PROTECTED]) is reported to have said:
> Only the 800x600 and 640x480 are available while previously 1028x786 was 
> functional and I could switch
> to it with cntrl ++.  The higher resolution had been available on both 
> woody and sarge kernels(stock).
<-- snip -->
> EndSection
> There are no other entries beside the DEBCONF entries.
> I'd certainly appreciate any help or guidance given and if one doesn't 
> mind, copy my email address as I'm not subscribed.  Otherwise, I'll 
> monitor the list on the web even though its harder to reply in the 
> correct format.
> Thanks for your help,
> 
SubSection "Display"
Depth   24
Modes   "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection

Have you tried adding them?

WT
-- 
Computers are a more fun way to do the same work you'd have to do
without them.
___


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



Re: Firefox no print issue

2005-06-03 Thread Jim Hall

Nicos Gollan wrote:

On Friday June 3 2005 04:40, Jim Hall wrote:


Web site page in Firefox. Go to File -> Print -> dialog box. Click
"print" button: page is sent to printer, first page is a PS error, lots
of blank pages follow.
The printer is listed as: QMS 1660@:64.



This looks like you're using xprint to print from Firefox. Don't use it, 
xprint is buggy as hell. The printer should be listed twice, once as "QMS 
1660@:64" as you said, and then again as "PostScript/QMS 1660". Try printing 
from the "PostScript/..."-entry. If this works, find all installed packages 
that have xprint in their names and deinstall them.


This way, you'll lose some settings in Firefox's print setup (e.g. duplex 
print if it's available at all), but at least it should work with the 
printer's default settings.





Results of suggestions.
Tried the Postscript entry; same bad result.
Looked for all pkgs related to xprint. Found: xprt-xprintorg, xprint, 
xprint-common. When I tried to remove them, that would also remove 
x-window-system! That seems like xprint is a necessary component and 
can't be separated from X.


So, if cups is the system default why did xprint stick it's nose into 
Firefox's business? If I can't remove xprint, is there any way to change 
it? Or, is this a Firefox problem, since no other app seems to be affected?


Jim


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




Re: Are archive files essential? - Thanks

2005-06-03 Thread Thomas H. George
On Fri, Jun 03, 2005 at 10:18:42PM +0200, Maurits van Rees wrote:
> On Fri, Jun 03, 2005 at 03:44:46PM -0400, Thomas H. George wrote:
> > I note that there are multiple entries for most of the packages in the 
> > archive with dates going back two or three years.  Perhaps it would have 
> > been better to weed out the older entries.  If so, is there a simple way 
> > to do this?
> 
> From the apt-get manual page:
> 
> 
>clean 
> 
> clean clears out the local repository of retrieved package files. It
> removes everything but the lock file from /var/cache/apt/archives/ and
> /var/cache/apt/archives/partial/. When APT is used as a dselect(8)
> method, clean is run automatically. Those who do not use dselect will
> likely want to run apt-get clean from time to time to free up disk
> space.
> 
>autoclean
> 
> Like clean, autoclean clears out the local repository of retrieved
> package files. The differ- ence is that it only removes package files
> that can no longer be downloaded, and are largely useless.  This
> allows a cache to be maintained over a long period without it growing
> out of control. The configuration option APT::Clean-Installed will
> prevent installed packages from being erased if it is set to off.
> 
> 
> So call 'apt-get autoclean' to remove most of your packages or
> 'apt-get clean' to remove them all. It doesn't hurt. You just need to
> fetch those files again when you have to reinstall for some reason.
> 
> Note though that having an older version of a package lying around in
> the apt cache can be useful when you discover a bug in the new version
> and want to revert to the old.
> 
> To have more control, cobble together some shell commands. For example
> see this posting by me:
> 
> http://lists.debian.org/debian-user/2004/10/msg01671.html
> 
> At the end that post boils down to the following shell line that
> prints all packages that have a more than two versions in that
> directory.
> 
> ls /var/cache/apt/archives | sort -g | uniq -c -t "_" -d -W 1 | grep -v -E 
> "^[[:blank:]]*2 " | sed "s/ *[[:digit:]*] \(.*\)$/\1/g" 
> 
> 
> I have another script in /usr/local/bin/cleanpackages that moves old
> packages to another directory. That should then be a directory on a
> partition where you have more space. Instead of moving them you can
> delete them if you want.
> 
> 
> #! /bin/sh
> 
> # Move old files to another dir. Mostly meant for the apt cache.
> 
> if test $# -eq 1; then
> DAYS=$1
> else
> DAYS=90
> fi
> 
> SRC_DIR="/var/cache/apt/archives"
> DEST_DIR="/backup/debian/packages/old"
> TMP_SCRIPT="tmp.sh"
> 
> find "$SRC_DIR" -daystart -mtime +$DAYS -printf "mv \"%p\" \"$DEST_DIR\";\n" 
> > "$TMP_SCRIPT"
> # For deleting the following should work (untested)
> #find "$SRC_DIR" -daystart -mtime +$DAYS -printf "rm \"%p\";\n" > 
> "$TMP_SCRIPT"
> 
> source "$TMP_SCRIPT"
> rm "$TMP_SCRIPT"
> 

Very neat.  Thanks - Tom George
> 
> -- 
> Maurits van Rees | http://maurits.vanrees.org/ [Dutch/Nederlands] 
> Public GnuPG key: keyserver.net ID 0x1735C5C2
> "Let your advance worrying become advance thinking and planning."
>  - Winston Churchill



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



Re: tomcat on sarge (for magnolia)

2005-06-03 Thread Roberto C. Sanchez
On Fri, Jun 03, 2005 at 04:41:59PM -0500, w trillich wrote:
> is there an apt-get install rigamarole to get tomcat going on sarge? 
> (ultimate 
> goal is to try to get 'magnolia' running...)
> 
> 
> sites such as http://www.whirljack.net/jeremy/blog/index.php?p=3
> indicate you can't do it from debian packages...
> 
> 
> # apt-cache search tomcat
> lg-issue69 - Issue 69 of the Linux Gazette.
> lg-issue95 - Issue 95 of the Linux Gazette.
> libapache-mod-jk - Apache 1.3 connector for the Tomcat Java servlet engine
> libapache2-mod-jk2 - Apache 2.0 connector for the Tomcat Java servlet engine
> libservlet2.3-java - Servlet 2.3 and JSP 1.2 Java classes and documentation
> 
> # dpkg -L libservlet2.3-java | grep -v share/doc
> /.
> /usr
> /usr/share
> /usr/share/java
> /usr/share/java/servlet-2.3.jar
> 
> so there's one java thingie-ma-bob in that package; all else is 
> documentation, 
> which looks like developer info.
> 
> where's tomcat?

On my system, it is in contrib. Make sure that you have the contrib and
non-free sections listed in your sources.list.  Also, make sure that you
have a suitable JVM installed (one of the free ones available in main,
or a Sun or IBM, ior whatever installed bia java-package).

-Roberto

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


pgp2dASVBIgfV.pgp
Description: PGP signature


Re: Posted Three Times - Thanks

2005-06-03 Thread Thomas H. George
On Fri, Jun 03, 2005 at 03:32:49PM -0400, Thomas H. George wrote:
> On Thu, Jun 02, 2005 at 09:41:13AM +0200, Aurélien Campéas wrote:
> > Le mercredi 01 juin 2005 à 23:21 +0200, Jochen Schulz a écrit :
> > > Thomas H. George:
> > > > 
> > > > The problem: Every time I must shut down the system it locks up when it 
> > > > tries to disconnect my Sony  USB dvdrw drive.
> > > > 
> > > > The Postings:  May 17 - USB dvdrw mount point Woes
> > > >May 22 - kernel-2.6.8  USB problem
> > > >May 31 - Oops when Sony USB dvdrw disconnected.
> > > > 
> > > > As noted in these postings I am using  2.6.8 kernel  complied from the 
> > > > latest kernal-source-2.6.8 (so recompiled yesterday after a apt-get 
> > > > dist-upgrade).
> > > 
> > > If I were you I'd get the most recent kernel source from kernel.org and
> > > compile that. You can treat them exactly the same way as the tar.bz
> > > files from the Debian source packages.
> > 
> > Or the latest 2.6.11 kernel from sid (a lot less work).
> > 
> Thanks.  A good idea and it worked.  I had never considered downloading
> anything from Sid but checking the Debian web page I found Sarge already
> had all of the required support packages so I downloaded the gzipped
> kernel-source-2.6.8.  

typo.  It was 2.6.11 I downloaded.

   Running make oldconfig and make menuconfig
> revealed additional support for usb devices and the compile went smooth
> as silk.  I had to suffer one more system hang shutting down from the
> 2.6.8 kernel but then booting and shutting down with the 2.6.11 kernel
> worked flawlessly.
> 
> Thanks again and that goes for all the replies.  I was feeling lonely
> until I received these responses.
> 
> Tom George
> 
> P.S.  This is the third time I have tried to reply with mutt.  The first
> two attempts resulted in a child process failure and were postponed.  I
> don't know how to recover them but if I find them before they are sent I
> will delete them.  I believe I know what went wrong and if I am correct
> this message will be posted.
> 
> > 
> > **
> > This email and any files transmitted with it are confidential and
> > intended solely for the use of the individual or entity to whom they
> > are addressed. If you have received this email in error please notify
> > the system manager.
> > 
> > This footnote also confirms that this email message has been swept by
> > MIMEsweeper for the presence of computer viruses.
> > 
> > www.clearswift.com
> > **
> > 
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


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



Re: reconstruct the system

2005-06-03 Thread John Fleming

What can I do ??


Restore from the regular weekly/daily backups you keep.


 I haven't, but what is the best way for do it back up of the system,
any documentation over there ??


Think about using Mondoarchive.  You should be able to backup your whole 
system to one or a few DVDs or CDs.  If you lose something, it is trivial to 
restore that file or directory from the backup.  Furthermore, if you really 
trash the system, you can just boot from the 1st backup medium, type "nuke" 
and watch it restore your system - everything!  It's a beautiful thing to 
watch!  - John



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




tomcat on sarge (for magnolia)

2005-06-03 Thread w trillich
is there an apt-get install rigamarole to get tomcat going on 
sarge? (ultimate goal is to try to get 'magnolia' running...)



sites such as http://www.whirljack.net/jeremy/blog/index.php?p=3
indicate you can't do it from debian packages...


# apt-cache search tomcat
lg-issue69 - Issue 69 of the Linux Gazette.
lg-issue95 - Issue 95 of the Linux Gazette.
libapache-mod-jk - Apache 1.3 connector for the Tomcat Java 
servlet engine
libapache2-mod-jk2 - Apache 2.0 connector for the Tomcat Java 
servlet engine
libservlet2.3-java - Servlet 2.3 and JSP 1.2 Java classes and 
documentation


# dpkg -L libservlet2.3-java | grep -v share/doc
/.
/usr
/usr/share
/usr/share/java
/usr/share/java/servlet-2.3.jar

so there's one java thingie-ma-bob in that package; all else is 
documentation, which looks like developer info.


where's tomcat?

--
will trillich
will at serensoft.com


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




Testing fails on Asus A7N8X, Sil3112 and SATA

2005-06-03 Thread c5qb-3fe3

Hi --

I am experiencing problems when trying to install Debian on my system. The
installation fails at the point at which it tries to load up the scsi modules
and read the disc, as far as I can see it is failing to read the superblock
properly. 

The disc is a WD1200JB SATA connected via the onboard Sil3112 SATA
controller.  I've tried installation using the the rc3 image as well as a
number of daily images including the latest.

If i search google groups for "debian ASUS a7n8x SATA" I find plenty of posts
by people who have experienced problems, though I can't find the related bug
under the cdimage package.

Does anyone know of a fix for this?

-- 
 


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



Re: Woody to Sarge "stable"?

2005-06-03 Thread John Hasler
I wrote:
> I suggest that you point them to Woody and then change them to Sarge and
> do 'apt-get update && apt-get dist-upgrade' one at a time after Sarge
> settles for a few weeks.  If the first few go well you might then
> consider doing the rest in bulk.

Steve Witt writes:
> There is no grace period as you suggest (at least there never was
> before).

Where did I suggest that?
-- 
John Hasler


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



Re: PPPD exit code 2

2005-06-03 Thread John Hasler
Marty writes:
> The only package that worked like that for me is wvdial (for both analog
> and DSL dialup).  After years of experiencing the problems you describe,
> it was a surprising contrast.

Did you have this problem after simply running pppconfig, answering the
questions, and using pon to bring up the connection?  If so, did you file a
bug report?
-- 
John Hasler


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



Auto detecting raid devices using mac partition table

2005-06-03 Thread Chris Leigh
Is it possible to have the kernel detect a raid partition from a mac 
partition table?


I'm running sarge on a beige G3 power mac.

I have a raid 1 array (md0) running across 3 partitions (hda1, sda1, sdb8).
Two of the drives (hda, sda) are partitioned normally, that is to say 
they use PC BIOS partition tables.

The partition types are set to 'fd' and are detecting just fine on boot.

The remaining (sdb) drive uses a mac partition table (this is required 
in order to have the computer boot from the hard disk).
The array works properly with this drive.  The problem is that it 
doesn't detect sdb8 as part of the array on boot, since its not type 
'fd', and mac partition tables don't have 'type' codes like a pc bios 
partition table.
This means every time I boot, the array comes up in degraded mode 
(missing a disk). I have to run mdadm --add to get sdb8 back into the 
array, and then wait for it to re sync.


Is it possible to define a raid array as a kernel boot option?  Or 
somehow force it to probe a particular device for superblock info?

Any help or advice would be greatly appreciated.

-Chris


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




No 1028x786 resolution on HP M50 Monitor On Sarge

2005-06-03 Thread Leonard Chatagnier
Only the 800x600 and 640x480 are available while previously 1028x786 was 
functional and I could switch
to it with cntrl ++.  The higher resolution had been available on both 
woody and sarge kernels(stock).
I have ran dpkg --reconfigure and wajig reconfigure xserver-xfree86 and 
always select the 1028x786 max
resolution.  I've tried modprobe r128 and get a message that file not 
found or doesn't exist but it does and
modprobe gives the same message with or without the full path name.  I'm 
somewhat of a newbie having
been with Debian and linux for about 6 months and don't know what else 
to do.  The pertinent section of my
XFConfig-4 file is copied below for referene and would be glad to 
provide any other needed date:


Section "Module"
   Load"GLcore"
   Load"bitmap"
   Load"dbe"
   Load"ddc"
   Load"dri"
   Load"extmod"
   Load"freetype"
   Load"glx"
   Load"int10"
   Load"pex5"   Comment: this module never loads
   Load"record"
   Load"speedo"
   Load"type1"
   Load"vbe"
   Load"xie"   Comment: this module never loads
EndSection

Section "Device"
   Identifier  "Generic Video Card"
   Driver  "vesa"
   Option  "UseFBDev"  "true"
EndSection

Section "Monitor"
   Identifier  "Generic Monitor"
   HorizSync   28-50
   VertRefresh 43-75
   Option  "DPMS"
EndSection

Section "Screen"
   Identifier  "Default Screen"
   Device  "Generic Video Card"
   Monitor "Generic Monitor"
   DefaultDepth24
   SubSection "Display"
   Depth   1
   Modes   "800x600" "640x480"
   EndSubSection
   SubSection "Display"
   Depth   4
   Modes   "800x600" "640x480"
   EndSubSection
   SubSection "Display"
   Depth   8
   Modes   "800x600" "640x480"
   EndSubSection
   SubSection "Display"
   Depth   15
   Modes   "800x600" "640x480"
   EndSubSection
   SubSection "Display"
   Depth   16
   Modes   "800x600" "640x480"
   EndSubSection
   SubSection "Display"
   Depth   24
   Modes   "800x600" "640x480"
   EndSubSection
EndSection

Section "DRI"
   Mode0666
EndSection
There are no other entries beside the DEBCONF entries.
I'd certainly appreciate any help or guidance given and if one doesn't 
mind, copy my email address as I'm not subscribed.  Otherwise, I'll 
monitor the list on the web even though its harder to reply in the 
correct format.

Thanks for your help,

Leonard Chatagnier


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




Re: Are /var/cache/apt/archive files essential?

2005-06-03 Thread Cybe R. Wizard
On Fri, 03 Jun 2005 15:44:46 -0400
"Thomas H. George" <[EMAIL PROTECTED]> wrote:

> Suddenly I have used up all 9 Gbytes of the /var partition.  I 
> eliminated some of the gzipped log files but that didn't help much. 
> For  the moment I moved all of the /var/cache/apt/archive files -
> about 3  Gbytes - to another partition. The system is still working
> but I don't  know how much damage this might cause in the future.
> 
> I note that there are multiple entries for most of the packages in the
> 
> archive with dates going back two or three years.  Perhaps it would
> have  been better to weed out the older entries.  If so, is there a
> simple way  to do this?
> 
> Tom George
> 
as root:

apt-get clean

doesn't get much simpler.

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: Posted Three Times - Thanks

2005-06-03 Thread Thomas H. George
On Thu, Jun 02, 2005 at 09:41:13AM +0200, Aurélien Campéas wrote:
> Le mercredi 01 juin 2005 à 23:21 +0200, Jochen Schulz a écrit :
> > Thomas H. George:
> > > 
> > > The problem: Every time I must shut down the system it locks up when it 
> > > tries to disconnect my Sony  USB dvdrw drive.
> > > 
> > > The Postings:  May 17 - USB dvdrw mount point Woes
> > >May 22 - kernel-2.6.8  USB problem
> > >May 31 - Oops when Sony USB dvdrw disconnected.
> > > 
> > > As noted in these postings I am using  2.6.8 kernel  complied from the 
> > > latest kernal-source-2.6.8 (so recompiled yesterday after a apt-get 
> > > dist-upgrade).
> > 
> > If I were you I'd get the most recent kernel source from kernel.org and
> > compile that. You can treat them exactly the same way as the tar.bz
> > files from the Debian source packages.
> 
> Or the latest 2.6.11 kernel from sid (a lot less work).
> 
Thanks.  A good idea and it worked.  I had never considered downloading
anything from Sid but checking the Debian web page I found Sarge already
had all of the required support packages so I downloaded the gzipped
kernel-source-2.6.8.  Running make oldconfig and make menuconfig
revealed additional support for usb devices and the compile went smooth
as silk.  I had to suffer one more system hang shutting down from the
2.6.8 kernel but then booting and shutting down with the 2.6.11 kernel
worked flawlessly.

Thanks again and that goes for all the replies.  I was feeling lonely
until I received these responses.

Tom George

P.S.  This is the third time I have tried to reply with mutt.  The first
two attempts resulted in a child process failure and were postponed.  I
don't know how to recover them but if I find them before they are sent I
will delete them.  I believe I know what went wrong and if I am correct
this message will be posted.

> 
> **
> This email and any files transmitted with it are confidential and
> intended solely for the use of the individual or entity to whom they
> are addressed. If you have received this email in error please notify
> the system manager.
> 
> This footnote also confirms that this email message has been swept by
> MIMEsweeper for the presence of computer viruses.
> 
> www.clearswift.com
> **
> 


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



Re: Problem downloading AMD64 Testing with Jigdo (DVD ISO)

2005-06-03 Thread roach
Hi,

This looks like a known problem.

Try http://lists.debian.org/debian-cd/2005/06/msg00011.html

"Bug#306926: marked as done (debian-cd: amd64 CD1 is missing nearly all 
udebs)"

Hope this helps.
All the best.

-- 
Robert "roach" Spencer
Pietermaritzburg
South Africa


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



Re: knoppix HD-install problem

2005-06-03 Thread roach
Hi,

Try http://www.knoppix.net/ for info on how to install knoppix. If memory 
serves me right, there are at least 3 different ways. I get the impression 
you've chosen the most severe route. I suggest you try again with one of the 
simpler installations.

To save your downloaded files you can collect them together with jigdo-lite 
and then burn the ISOs to CD. Unfortunately I can't remember where the files 
are saved on the system.

When you are ready to install again, please take small steps when upgrading. 
This will improve your chance of finding out what went wrong.

I am interested in your progress, so will try again to help if this does not.
All the best.

-- 
Robert "roach" Spencer
Pietermaritzburg
South Africa


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



Re: Are /var/cache/apt/archive files essential?

2005-06-03 Thread Maurits van Rees
On Fri, Jun 03, 2005 at 03:44:46PM -0400, Thomas H. George wrote:
> I note that there are multiple entries for most of the packages in the 
> archive with dates going back two or three years.  Perhaps it would have 
> been better to weed out the older entries.  If so, is there a simple way 
> to do this?

From the apt-get manual page:


   clean 

clean clears out the local repository of retrieved package files. It
removes everything but the lock file from /var/cache/apt/archives/ and
/var/cache/apt/archives/partial/. When APT is used as a dselect(8)
method, clean is run automatically. Those who do not use dselect will
likely want to run apt-get clean from time to time to free up disk
space.

   autoclean

Like clean, autoclean clears out the local repository of retrieved
package files. The differ- ence is that it only removes package files
that can no longer be downloaded, and are largely useless.  This
allows a cache to be maintained over a long period without it growing
out of control. The configuration option APT::Clean-Installed will
prevent installed packages from being erased if it is set to off.


So call 'apt-get autoclean' to remove most of your packages or
'apt-get clean' to remove them all. It doesn't hurt. You just need to
fetch those files again when you have to reinstall for some reason.

Note though that having an older version of a package lying around in
the apt cache can be useful when you discover a bug in the new version
and want to revert to the old.

To have more control, cobble together some shell commands. For example
see this posting by me:

http://lists.debian.org/debian-user/2004/10/msg01671.html

At the end that post boils down to the following shell line that
prints all packages that have a more than two versions in that
directory.

ls /var/cache/apt/archives | sort -g | uniq -c -t "_" -d -W 1 | grep -v -E 
"^[[:blank:]]*2 " | sed "s/ *[[:digit:]*] \(.*\)$/\1/g" 


I have another script in /usr/local/bin/cleanpackages that moves old
packages to another directory. That should then be a directory on a
partition where you have more space. Instead of moving them you can
delete them if you want.


#! /bin/sh

# Move old files to another dir. Mostly meant for the apt cache.

if test $# -eq 1; then
DAYS=$1
else
DAYS=90
fi

SRC_DIR="/var/cache/apt/archives"
DEST_DIR="/backup/debian/packages/old"
TMP_SCRIPT="tmp.sh"

find "$SRC_DIR" -daystart -mtime +$DAYS -printf "mv \"%p\" \"$DEST_DIR\";\n" > 
"$TMP_SCRIPT"
# For deleting the following should work (untested)
#find "$SRC_DIR" -daystart -mtime +$DAYS -printf "rm \"%p\";\n" > "$TMP_SCRIPT"

source "$TMP_SCRIPT"
rm "$TMP_SCRIPT"


-- 
Maurits van Rees | http://maurits.vanrees.org/ [Dutch/Nederlands] 
Public GnuPG key: keyserver.net ID 0x1735C5C2
"Let your advance worrying become advance thinking and planning."
 - Winston Churchill


signature.asc
Description: Digital signature


Woody-No Mouse, Sarge-OK

2005-06-03 Thread Leonard Chatagnier
This problem started after removing devfsd on Sarge to overcome a 
conflict between udev and devfs. It just
took a while to realize it as woody is not booted very often.  So, I 
reinstalled devfsd and recreated the symlink
ln -s /dev/mouse /dev/psaux.  Although this hasn't changed anything when 
booting Sarge, neither has it restored
the mouse when booting Woody.  Gpm and udev are installed and 
functioning on Sarge.  Gpm and devfsd are

installed, but not functioning on Woody.
Symptoms include no mouse(gpm) on console; have mouse pointer in KDE but 
doesn't respond to movement of
mouse but will respont to mouse keys although still can't select any 
thing with mouse buttons.
After much Googling on woody, devfsd and symlink /dev/mouse still can't 
come up with a solution although there

are many references.  Man devfsd didn't help either.

I'm sure there is a simple solution but I can't run it down.  Perhaps 
one on the list could point me in the right direction.

Thanks for any help,

Leonard Chatagnier


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




Re: excluding files w/ tar (retraction)

2005-06-03 Thread Winston Smith
On Thu, Jun 02, 2005 at 11:48:00PM -0400, Winston Smith wrote:
> One way to test exclude patterns is with 
> 
> tar -c --exclude=pattern  includedirectorys | tar -t - 
> 
> Unfortunately, I didn't run such a test before responding to the
> original poster, and now that I have I would like to retract my previous
> posts on the subject.  Sorry!
> 
> The examples below show that the stripping of the leading / by tar is
> not the issue as I thought it was.

I should add that the problem of the original poster was caused
by the presence of the leading slash in the exclude patterns and its
absence in the included files (tar wasn't stripping the leading
slash in the exclude patterns because there was no leading slash in the
included files). The problem is that the exclude patterns have absolute
paths while the included files have relative paths.

> $ rm -fr /tmp/{a,b}
> $ mkdir -p /tmp/a/b /tmp/b/tmp/a/c 

#absolute relative
$ cd /; tar -c --exclude=/tmp/a   tmp/{a,b} | tar -t -f -
tmp/a/
tmp/a/b/
tmp/b/
tmp/b/tmp/
tmp/b/tmp/a/
tmp/b/tmp/a/c/
# Nothing is excluded as in the case of the original poster.

Changing the exclude patterns to relative paths without using
"--anchored" before the exclude patterns can exclude too much:

$ cd /; tar -c --exclude=tmp/a  tmp/{a,b} | tar -t -f -
tmp/b/
tmp/b/tmp/
# Directory tmp/b/tmp/a is excluded.

$ cd /; tar -c --anchored  --exclude=tmp/a  tmp/{a,b} | tar -t -f -
tmp/b/
tmp/b/tmp/
tmp/b/tmp/a/
tmp/b/tmp/a/c/
# The desired result.

Changing everything to absolute paths also works:
$ tar -c  --exclude=/tmp/a  /tmp/{a,b} | tar -t -f -
tar: Removing leading `/' from member names
tmp/b/
tmp/b/tmp/
tmp/b/tmp/a/
tmp/b/tmp/a/c/
# The desired result.

This also works.
$ cd /; tar -c --exclude=./tmp/a  ./tmp/{a,b} | tar -t -f -

Winston


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



[SOLVED] Re: How to move debian from one drive to another and keep it working?

2005-06-03 Thread David Witbrodt

 
After having installed Debian to a partition on an old hard drive, connected to the motherboard's IDE controller, because the new drive (where I wanted to place Debian) wasn't recognized by the Debian installer CD (unsupported PCI controller), I found that I needed to transfer my working Debian system to a set of partitions on the new drive.  (The kernel installed by the Debian installer did recognize the PCI controller, whereas the CD kernel would not.)
 
Here is my report on how I was able to solve the problem:
 
First, I should note that I was installing 5 operating systems including Debian, so there were partitions galore on the two hard disks.  The relevant partitions on the old drive (for me) were 
 
/dev/hda7 '/'
/dev/hda5 swap
 
The working copy of Debian on /dev/hda7 was used to partition the new drive (/dev/hdg) as follows:
 
/dev/hdg1 [other OS]
/dev/hdg2 /boot
/dev/hdg3 [other OS]
/dev/hdg4 ["extended" partition containing the following "logical" partitions]
/dev/hdg5 /
/dev/hdg6 /usr
/dev/hdg7 /tmp
/dev/hdg8 /var
/dev/hdg9 /home
/dev/hdg10    [empty]
 
I used 'fdisk' to create all of these partitions.
  Following instructions in the 
Next, I had to create file systems (format) the Linux partitions.  I made hdg[25] ext2, and the rest ext3.  Following the instructions in the "Hard Disk Upgrade Mini How-To", I used 'mkfs.ext2' and 'mkfs.ext3' to do the job:
 
  mkfs.ext2 /dev/hdg2  (same for hdg5)
  mkfs.ext3 /dev/hdg6  (same for 7,8,9)
 
Then I had to mount the new partitions so that I could copy files to them.  The docs are not always newbie-friendly, so to make this absolutely clear I will show all the steps I performed.  Order matters as you mount the partitions.  My new root was going to be /dev/hdg5, so I ran this command:
 
  mount -t ext2 /dev/hdg5 /mnt
 
Now, the other partitions need proper places to mount, so I created directories for them in /mnt (which actually creates the directories on hdg5, not on the partition you are currently using):
 
  mkdir  boot  usr  tmp  var  home
 
The other partitions may then be properly mounted.  For my setup, this meant:
 
  mount -t ext2  /dev/hdg2  /mnt/boot
  mount -t ext3  /dev/hdg6  /mnt/usr

  mount -t ext3  /dev/hdg7  /mnt/tmp

  mount -t ext3  /dev/hdg8  /mnt/var
  mount -t ext3  /dev/hdg9  /mnt/home
 
The "Hard Disk Upgrade" HOWTO recommended changing the permissions on the /tmp directory for technical reasons.  As a newbie myself, I don't pretend to understand, but I went along with the expert advice:
 
  chmod  1777  /mnt/tmp
 
With the partitions properly mounted, it was time to copy files.  In order to kill most running processes and making it possible to copy all system files (and not have some blocked by running processes), the HOWTO recommended moving to single-user mode (runlevel 1):
 
  telinit  1
 
Since my working Debian was located on a single partition on the old drive, I could use the easiest of the 3 methods listed in the HOWTO.  (For others using 2 or more partitions, not including swap, for their working Linux, the HOWTO mentioned above gives 2 other methods to get your files transferred.)  I used:
 
  cp  -ax  /  /mnt
 
The "-a" option preserves the attributes of your currently working system as much as possible, and the "-x" option keeps 'cp' from copying files located in other file systems (in this case /mnt and /proc).
 
On my system, an emtpy /proc directory was created (at /mnt/proc), but if this hadn't happened I would have had to create a /proc directory with "mkdir /mnt/proc".
 
The HOWTO suggested checking the new file systems before trying to boot the copied system.  That meant unmounting the partitions first; the deeper directories in the structure have to be unmounted first):
 
  umount  /mnt/home

  umount  /mnt/var

  umount  /mnt/tmp

  umount  /mnt/usr

  umount  /mnt/boot
 

  umount  /mnt
 
Then the file system checker can be run on each partition:
 
  fsck.ext2  /dev/hdg5   (and hdg2, for me)
  fsck.ext3  /dev/hdg6   (and 7,8,9)
 
No problems on any of them for me.
 
The HOWTO also suggested it might be possible to see if the contents of regular files copied correctly.  (This takes a long time, and is merely optional.)  First, remount the partitions (same steps as above), then run (all one long command):
 
  find  /  -path /proc -prune -o -path /mnt -prune -o -xtype f -exec cmp {} /mnt{} \;
 
With the new partitions mounted, you can then edit the 'fstab' file to make the new copy of Linux use the new partitions instead of the old one(s):
 
  cd /mnt/etc
  nano fstab
 
I had to add entries for hdg5,2,6,7,8, and 9, and remove my entry for hda7 (see my partition scheme listed above).  I left the swap partition on the other drive, since it was located where I wanted it to be from the beginning.
 
I then had to edit 'menu.lst' so that I could boot to the new copy of Debian using 'grub'.  For me, the necessary changes were not obvious because I hadn't dealt with 'g

Are /var/cache/apt/archive files essential?

2005-06-03 Thread Thomas H. George
Suddenly I have used up all 9 Gbytes of the /var partition.  I 
eliminated some of the gzipped log files but that didn't help much.  For 
the moment I moved all of the /var/cache/apt/archive files - about 3 
Gbytes - to another partition. The system is still working but I don't 
know how much damage this might cause in the future.


I note that there are multiple entries for most of the packages in the 
archive with dates going back two or three years.  Perhaps it would have 
been better to weed out the older entries.  If so, is there a simple way 
to do this?


Tom George


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




Re: Discover device drivers built into a kernel image

2005-06-03 Thread David Jardine
On Sat, Jun 04, 2005 at 01:35:32AM +1200, Chris Bannister wrote:
> On Tue, May 31, 2005 at 04:42:26PM -0300, Paulo M C Arag?o wrote:
> > Hi,
> > 
> > Apologies in advance for the basic question. I'm counting on the
> > everlasting patience and generosity of the list members. I googled to no
> > avail in search of an answer.
> > 
> > How do I discover which device drivers are built into a given kernel
> > image, not accessing the sources ?
> 
> less /proc/modules 
> 
> oops that's all of them isn't it

I think that would show the ones that are NOT built into the running 
kernel.

I also think that perhaps the OP wanted to compare available kernel 
images before he decided to install one of them.  I'm afraid I can't 
help there, but if the information is availbale, I'm sure somebody 
on the list would know where to find it... :)

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

-- 
David Jardine

"Running Debian GNU/Linux and
loving every minute of it."  -L. von Sacher-M.(1835-1895)


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



Re: backup strategy (was Re: reconstruct the system)

2005-06-03 Thread Maurits van Rees
On Fri, Jun 03, 2005 at 02:28:26PM -0400, Marty wrote:
> If my backup scripts don't quite do it for you, here is an excellent
> web page with a general discussion of rsync as a backup tool, with
> more elaborate backup script, and links to other backup scripts:
> http://www.mikerubel.org/computers/rsync_snapshots/

rsnapshot is a Debian package that uses this approach. I use that for
taking snapshots on my home machine and a remote server.

I also do a nightly backup to cd. Here's my script. The comments
_should_ make everything clear. On my system it takes about an hour.



#! /bin/sh
# Make a full backup divided into several tar bzipped files. Put these
# into iso files that will fit on a CD-RW so you can have 7 CD-RWs and
# do this backup every day (night) of the week. Standard practice: the
# important stuff goes on the first CD so it gets written
# automatically, unless you forget to put the CD in the drive. :)

# Call this script with a name for the backup directory

# First commandline option is added to the name of the backup.
# If no option is given, the current date is used.
if test "x${1}" == "x"; then
NAME=`date -Idate`
else
NAME=$1
fi

# Edit these lines
MAINBACKUP=/backup/tar
TARDIR=$MAINBACKUP/$NAME
ROOTFS=/
READMEFILENAME=README

# Dir and script for saving some info about your system, if you have
# those:
SYSINFODIR=/var/local/system-info
SYSINFOSCRIPT=/usr/local/bin/system-info

# Make sure the necessary directories exist
mkdir -p $TARDIR
mkdir -p $SYSINFODIR

echo "Backup started:"
date
cd $ROOTFS
echo "Backup from computer $(hostname) made with $0 script." > 
$TARDIR/$READMEFILENAME
echo $NAME >> $TARDIR/$READMEFILENAME

if test -x $SYSINFOSCRIPT; then
cd "$SYSINFODIR"
$SYSINFOSCRIPT
cd -
fi

echo "Tarring various stuff ..."
# Make sure to adjust the excludes to match your system.
tar -cjf $TARDIR/div.tar.bz2 * --exclude backup --exclude extra --exclude 
firstdisk --exclude home --exclude sys --exclude music --exclude opt --exclude 
proc --exclude tmp --exclude usr --exclude var --exclude snapshot --exclude 
root/snapshot --exclude cdrom

echo "Tarring home ..."
tar -cjf $TARDIR/home.tar.bz2 home

echo "Tarring var various ..."
tar -cjf $TARDIR/var-rest.tar.bz2 var --exclude var/cache/apt --exclude 
/var/spool/bootcd

echo "Tarring usr/local ..."
tar -cjf $TARDIR/usr-local.tar.bz2 usr/local
echo "Tarring usr/lib ..."
tar -cjf $TARDIR/usr-lib.tar.bz2 usr/lib
echo "Tarring usr/share ..."
# /usr/share/doc is getting way too large and isn't all that important
# in a backup.
tar -cjf $TARDIR/usr-share.tar.bz2 usr/share --exclude usr/share/doc
echo "Tarring usr various ..."
tar -cjf $TARDIR/usr-rest.tar.bz2 usr --exclude usr/local --exclude usr/lib 
--exclude usr/share

# Make an easy softlink to the latest backup
cd $MAINBACKUP
rm -f latest
ln -s $TARDIR latest

# Make md5sums
echo "md5summing $TARDIR/*bz2 ..."
cd $TARDIR
for i in *bz2; do
md5sum $i > $i.md5
done

# Put it on cd images. It's trial and error to find out which goes
# where in order to make the images not too large.
mkdir cd1 cd2 cd3
mv div* home* usr-local* var-rest* cd1
mv usr* cd2
# Put some handy info on the cds
for i in cd1 cd2 cd3; do
cp $READMEFILENAME "$0" $i
done
rm $READMEFILENAME

# Only necessary/handy when you keep a package archive:
echo "Copying var/cache/apt ..."
cp -r /var/cache/apt $TARDIR/cd3
cd cd3
for i in * */* */*/*; do
if test -f $i; then 
md5sum $i >> apt.md5
fi
done
cd ..

# Make iso files for each cd. This is done by my mki script, which
# basically just calls mkisofs
mki *

# The cd directories can be removed now as we have iso files
rm -r cd*/

echo "Backup ended:"
date

# Checking and blanking below are only useful if you use cd
# rewritables.

# Before overwriting the previous backup check if any md5sums on the
# cd are still correct. If not you may have some bit rot on your
# cd. Use it as a frisbee then. ckcdsums is a script that basically
# mounts the cd, does 'md5sum -c *md5*', reports any errors and
# unmounts it again.
echo "Checking CD-RW..."
ckcdsums
echo "Fast blanking CD-Rom..."
cdrecord -blank=fast

# The burncheck script basically calls cdrecord to burn the iso,
# ejects the cd and reloads it (possibly superfluous), then calls the
# ckcdsums script mentioned above.
echo "Burning 1st cd to CD-Rom..."
burncheck cd1.iso
echo "Burning ended:"
date

# Report how large the iso files are:
ls -lh *

# Check if there is enough space left for future backups on the
# filesystem:
/bin/df -h "$MAINBACKUP"



For laughs: John Cleese at the renowned Institute for Backup Trauma:
http://www.backuptrauma.com/

-- 
Maurits van Rees | http://maurits.vanrees.org/ [Dutch/Nederlands] 
Public GnuPG key: keyserver.net ID 0x1735C5C2
"Let your advance worrying become advance thinking and planning."
 - Winston Churchill


signature.asc
Description: Digital signature


Re: Debian Sarge 3.1

2005-06-03 Thread Werner Mahr
Am Freitag, 3. Juni 2005 15:22 schrieb Roberto C. Sanchez:

> According to the release notes, the only "supported" way to upgrade
> is with aptitude.  Unfortunately, some the dependencies (particularly
> with KDE) have become so complext that Woody's version of apt simply
> craps out in some cases.

The only thing I use is dselect, and I never had any probs. The upgrade 
of apt is only needed to avoid that memory message, something with 
cachesettings or so.

-- 
MfG usw.

Werner Mahr
registered Linuxuser: 295882


pgpkZxSXJmPL5.pgp
Description: PGP signature


Wireless help

2005-06-03 Thread Trevor
I have a Linksys WPC11 V4 for a wireless card.  I had it working in 
ubuntu, but now after my switch to Sarge i have been so far 
unsucessful.  I am using ndiswrapper to load the Realtek driver.  After 
a 'ndiswrapper -l' it shows taht the driver is installed and the device 
is detected.  I am unable to do a 'modprobe ndiswrapper' like i did in 
Ubuntu.  So yeah pretty much from there i am clueless as to what i need 
to do.  The device does not show up in ifconifg or the GUI networking 
devices app. like it did in ubuntu as wlan0 (im in windows right now 
till i get it working, once this prob. is solved...GOOD BYE WINDOZE!!) 
So the sooner i get this problem solved, the better.


Thanks for the help,
Trevor Pankonien
[EMAIL PROTECTED]


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




Re: How to move debian from one drive to another and keep it working?

2005-06-03 Thread David Witbrodt
 
Lee Braiden <[EMAIL PROTECTED]> wrote:
> - specifies stdin, or stdout as files, where the | pipe character sends data.  You only need to
> use it if you use the f flag, which requires a filename.
>
> Combos along the lines of tar cv srcdir | (cd dest; tar xv) will work, too.
 
Thanks for the clarification.  I seem to remember using 'tar' without the '-' character in the past, but I noticed the Debian man pages were using the hypen, and thought it might be causing my problems.  Evidently not.
 
Actually, the copying of /mnt on top of itself seems to have been the real culprit.
 
 
Thanks again,
Dave W.

backup strategy (was Re: reconstruct the system)

2005-06-03 Thread Marty

gustavo halperin wrote:

Roberto C. Sanchez wrote:



What can I do ??
   


Restore from the regular weekly/daily backups you keep.
 


  I haven't, but what is the best way for do it back up of the system,
 any documentation over there ??


There is no "best way."  Or maybe you could say, the "best way" is the way
that you will use reliably so that the backup is there if and when you need it.
For this reason, I tend to favor simple methods: first a set of simple scripts
that take a few seconds to start, for doing quick snapshots before undertaking
any major system "surgery," and supplementing that, a backup server that
automatically works in the background (and emails me if anything goes wrong).

First I will explain my own system.  I use a custom script which comes in
two flavors, one for backing up locally, and one for backup of another system
on the same LAN.  Both backup scripts are listed below.  The first backs up
locally and is called "root-backup."  It assumes the backup directory is
either /mnt/backup/ or /mnt/$2/backup/ where $2 is supplied as the second
argument.  For the first argument, $1, I always use the hostname of the system.
(I make other obvious assumptions about file paths that may need to changed
to match your own requirements.)

Contents of script "root-backup":
-
#!/bin/bash
W=-backup-in-progress
if [ "$1" == "" ]
then

echo "* ERROR (backup-root): missing argument  **"
exit 1  
fi

if [ ! -d /mnt/$2/backup/$1 ]
then
if [ ! -d /mnt/$2/backup/$1$W ]
then
echo "* ERROR (backup-root): /mnt/$2/backup/$1 does not exis
t  **"
else
echo "* ERROR (backup-root): /mnt/$2/backup/$1 is being upda
ted *"
fi
exit 1
fi
echo $1 backup started `date '+%a %m/%d/%y %T'`
mv /mnt/$2/backup/$1 /mnt/$2/backup/$1$W
rsync -vxaHD --delete / /mnt/$2/backup/$1$W/ >/tmp/rsynclog 2>&1
N=`date +%a_%m-%d-%y_%T`
echo timestamp is $N
mv /tmp/rsynclog /mnt/$2/backup/$1-rsync.$N.log
/mnt/install/test/make-md5sums /mnt/$2/backup/$1$W
touch /mnt/$2/backup/$1$W
cp -al /mnt/$2/backup/$1$W/ /mnt/$2/backup/$1.$N/
cp /mnt/$2/backup/$1$W/md5sums.gz /
date '+%a %m/%d/%y %T' >/mnt/$2/backup/$1-md5chk.$N.log
/mnt/install/test/check-backup / >>/mnt/$2/backup/$1-md5chk.$N.log  2>&1
date '+%a %m/%d/%y %T' >>/mnt/$2/backup/$1-md5chk.$N.log
mv  /mnt/$2/backup/$1$W /mnt/$2/backup/$1
---

The second script backs up another system on the local lan.  It's called
"remote-root-backup" and works similarly to local backup, but requires ssh
to be installed on both systems.

Contents of script "remote-root-backup":
-
#!/bin/bash
W=-backup-in-progress
if [ "$1" == "" ]
then

echo "* ERROR (backup-root): missing argument  **"
exit 1  
fi

if [ ! -d /mnt/$2/backup/$1 ]
then
if [ ! -d /mnt/$2/backup/$1$W ]
then
echo "* ERROR (backup-root): /mnt/$2/backup/$1 does not exist  
**"
else
echo "* ERROR (backup-root): /mnt/$2/backup/$1 is being updated 
*"
fi
exit 1
fi
echo $1 backup started `date '+%a %m/%d/%y %T'`
mv /mnt/$2/backup/$1 /mnt/$2/backup/$1$W
rsync -vxaHD --rsh=ssh --numeric-ids  --delete [EMAIL PROTECTED]:/ /mnt/$2/backup/$1$W/ 
>/tmp/rsynclog 2>&1
N=`date +%a_%m-%d-%y_%T`
echo timestamp is $N
mv /tmp/rsynclog /mnt/$2/backup/$1-rsync.$N.log
/mnt/install/test/make-md5sums /mnt/$2/backup/$1$W
touch /mnt/$2/backup/$1$W
cp -al /mnt/$2/backup/$1$W/ /mnt/$2/backup/$1.$N/
scp /mnt/$2/backup/$1$W/md5sums.gz [EMAIL PROTECTED]:/
ssh $1 "date '+%a %m/%d/%y %T' >/tmp/$1-md5chk.$N.log"
ssh $1 "/mnt/install/test/check-backup / >>/tmp/$1-md5chk.$N.log  2>&1"
scp -p [EMAIL PROTECTED]:/tmp/$1-md5chk.$N.log /mnt/$2/backup
date '+%a %m/%d/%y %T' >>/mnt/$2/backup/$1-md5chk.$N.log
mv  /mnt/$2/backup/$1$W /mnt/$2/backup/$1


Some additional notes follow: these scripts use rsync and hardlinks in a way
that automatically "compresses" successive backups, by only updating changed 
files,
and creating hardlinks for the rest.  After running rsync the scripts create a 
list
of md5sums for the backup and then check that list against the backed up root 
file
system.  (The scripts "make-md5sums," "check-backup" and a few other related 
scripts
were posted in my message to debian-user called "My local debian archive 
maintenance
scripts," posted on May 12 and accessable in the archives.  Alternatively you 
could
just delete the lines calling those scripts, which are just double-checks for 
backup
integrity.  Part of my backup philosphy is "what good are backups if you can't 
validate
their file integrity?")  Finally, these scripts assume a single partition other 
than
what's mounted under the /mnt directory (which I suppose violates the FHS, oh 
well..
I

nfs failure after woody r6 update

2005-06-03 Thread Tom Brown
I update our woody servers to r6 and our nfs suddenly stopped working. At 
least the timing was about right. However, I didn't see anything in the 
update that would effect nfs. 

I restarted the nfs servers: 
zan:~# /etc/init.d/nfs-kernel-server stop
Stopping NFS kernel daemon: mountd nfsd.
Unexporting directories for NFS kernel daemon...done.
zan:~# /etc/init.d/nfs-common restart
Stopping NFS common utilities: statd.
Starting NFS common utilities: statd.
zan:~# /etc/init.d/nfs-kernel-server start
Exporting directories for NFS kernel daemon...done.
Starting NFS kernel daemon: nfsd mountd.

Here is my /etc/exports:
/mirror/share 
*(rw,sync,wdelay,hide,secure,no_root_squash,no_all_squash,no_subtree_check,secure_locks,mapping=identity,anonuid=-2,anongid=-2)
/mirror/home 
*(rw,sync,wdelay,hide,secure,no_root_squash,no_all_squash,no_subtree_check,secure_locks,mapping=identity,anonuid=-2,anongid=-2)

172.16.32.9 is my workstation which automounts /mirror/share and /mirror/home. 

Here is what I see in syslog:
Jun  3 11:04:09 zan rpc.mountd: Caught signal 15, un-registering and exiting.
Jun  3 11:04:09 zan kernel: nfsd: last server has exited
Jun  3 11:04:09 zan kernel: nfsd: unexporting all filesystems
Jun  3 11:04:19 zan rpc.statd[28138]: Caught signal 15, un-registering and 
exiting.
Jun  3 11:04:20 zan rpc.statd[29086]: Version 1.0 Starting
Jun  3 11:08:01 zan /USR/SBIN/CRON[29188]: (mail) CMD (  if [ -x 
/usr/sbin/exim -a -f /etc/exim/exim.conf ]; then /usr/sbin/exim -q ; fi)
Jun  3 11:12:12 zan kernel: svc: bad direction 65536, dropping request
Jun  3 11:12:12 zan kernel: svc: bad direction 65536, dropping request
Jun  3 11:13:48 zan rpc.mountd: authenticated mount request from 
172.16.32.9:818 for /mirror/share (/mirror/share)
Jun  3 11:14:10 zan rpc.mountd: authenticated mount request from 
172.16.32.9:818 for /mirror/share (/mirror/share)
Jun  3 11:15:02 zan last message repeated 2 times


Any ideas?

Thanks,
Tom


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



Re: Woody to Sarge "stable"?

2005-06-03 Thread Steve Witt

On Thu, 2 Jun 2005, John Hasler wrote:


Rhomboid Goatcabin writes:

My sources.list files are using specifically "stable" and I'm wondering
what happens when the Sarge big, red, shiny, candy-like button gets
pressed. Do all my systems go and try to install Sarge?


Yes.  I suggest that you point them to Woody and then change them to Sarge
and do 'apt-get update && apt-get dist-upgrade' one at a time after Sarge
settles for a few weeks.  If the first few go well you might then consider
doing the rest in bulk.
--
John Hasler



I'm in the process right now of upgrading about 80 machines from woody to 
sarge. I prefer to specifically name the Debian version (e.g. sarge) in my 
/etc/apt/source.list file instead of saying "stable" or "testing", etc., 
because, when sarge does go stable, the stable link will be changed to 
sarge in all the mirrors -- so one minute woody is stable and the next 
sarge is stable. There is no grace period as you suggest (at least there 
never was before).


If all your machines are very similar in terms of their hardware (harddisk 
type/size, video card, CPU), then I would suggest that you check out 
'systemimager'. This is a fabulous tool to use to image a lot of machines 
from one 'master' machine and then install all the others very quickly and 
easily.





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




Re: How to move debian from one drive to another and keep it working?

2005-06-03 Thread Hendrik Boom
On Fri, Jun 03, 2005 at 07:56:28AM -0700, David Witbrodt wrote:
> 
>  
> 
> tar --exclude=/mnt -cvf - / | (cd /mnt/; tar -xvf -)
> 

Check out the --one-file-system option.  It keeps you from
straying past mount points.

-- hendrik


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



waproamd and encryption key

2005-06-03 Thread Barry Samuels

I have waproamd installed on Sarge/Testing and everything seems to work
except for assigning a key automatically.

I have a file in /etc/waproamd/keys of the form 00:00:00:00:00:00.wep
which contains one key. The key _is_ correct as I can copy and paste it
onto the command line and it works.

However although my wireless card connects I cannot reach the network
until I type iwconfig wlan0 key xxx.

I have discovered, by running waproamd in the foreground, that the  
script in /etc/waproamd/scripts is being run and that it extracts and  
applies the correct encryption key.


dhclient is then run which contacts the DHCP server on my network and  
is assigned an IP address. I assume from this that at this point the  
wireless network link is made - otherwise how could the DHCP server be  
contacted?


However when this processing has finished the network encryption key
appears to have been lost, iwconfig shows 'enc: off', and the network
connection is no longer active. The light on the wireless Cardbus card  
is glowing steadily through all this. If I then set the key with  
iwconfig as mentioned above everything starts working.


I don't understand why this is happening - can anyone help? I'm not  
subscribed to the list but read it via Usenet.


I'm running Debian Sarge/Testing
kernel   2.4.27
waproamd 0.6-7
hotplug  0.0.2004032
ndiswrapper

Barry Samuels
http://www.beenthere-donethat.org.uk
The Unofficial Guide to Great Britain



ntp behind proxy

2005-06-03 Thread Andras Lorincz
What should I do in order to ntpd synchronize my clock if I am behind
a proxy server?



Re: reconstruct the system

2005-06-03 Thread Trevor
Quick question, how did you 'lose' the /var directory? just so i dont 
make the same mistake

rm -R /var  ???

gustavo halperin wrote:


Hello

Yesterday I lost all my directory "/var". There is any posibility for 
reconstruct the system using

the information of the other directories ??
What can I do ??
I have anothe partition in my laptop with knoppix, I´m currently using 
it. Can I just copy the

"/var" of the knoppix to the debian then make some final fix  ??
What can I do ??

Please help me.


Gustavo Halperin





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




Re: PPPD exit code 2

2005-06-03 Thread Marty

Mr Mike wrote:

Users shouldn't have to dig into man pppd and the options file to use  
dialup.  It should just work right out of the box...


The only package that worked like that for me is wvdial (for both
analog and DSL dialup).  After years of experiencing the problems
you describe, it was a surprising contrast.  YMMV.


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




Re: reconstruct the system

2005-06-03 Thread gustavo halperin

Roberto C. Sanchez wrote:


On Fri, Jun 03, 2005 at 07:15:18PM +0200, gustavo halperin wrote:
 


Hello

Yesterday I lost all my directory "/var". There is any posibility for 
reconstruct the system using

the information of the other directories ??
   

Probably not. 
 


What can I do ??
   


Restore from the regular weekly/daily backups you keep.
 


 I haven't, but what is the best way for do it back up of the system,
any documentation over there ??

I have anothe partition in my laptop with knoppix, I´m currently using it. Can 
I just copy the

"/var" of the knoppix to the debian then make some final fix  ??
   


NO!!! This will cause very bad things to happen.  /var is a directory
that houses much data specific to your system.  Specifically, in Debian,
the status of the packages installed and available to your system.
Unless your Knoppix system is identical in every way (including the same
packages at the same versions installed from the same repositories)
copying it over will cause *severe* problems.  To say nothing of log
files, sockets for running processes, ntp drift statistics, and so on.
 


OK


What can I do ??
   


Probably just backup /home and /etc to a CD and reinstall.
 


Yes, I think the same, just I  wanted be sure that the was not other way.


-Roberto

 


   Really thanks

Gustavo Halperin


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




one column of pixels missing

2005-06-03 Thread Lei Kong
Hi all,

I have sarge running on a dell inspiron 8200.
In kde, I noticed something really weird:
About 1/3 screen width from the right, there 
is one (maybe more) column of pixels missing. 
Whenever I move a window there, I can see contents 
missing in that column, no matter it is text or graphics.
For example, letter "l" appears to be ".", a squre across
that column looks not-so-square, narrower than it is supposed to be.

When it boots into windows, I don't see such a thing,
so it is not a hardware defect, or windows knows how
to handle it by default.

Anyone met similar problems before?

My video card is a Nvidia Gefore2, and the stock nv driver
is used for X11.

The following is my /etc/X11/XF86Config-4:

Section "Files"
FontPath"unix/:7100"# local font server
# if the local font server has problems, we can fall back on these
FontPath"/usr/lib/X11/fonts/misc"
FontPath"/usr/lib/X11/fonts/cyrillic"
FontPath"/usr/lib/X11/fonts/100dpi/:unscaled"
FontPath"/usr/lib/X11/fonts/75dpi/:unscaled"
FontPath"/usr/lib/X11/fonts/Type1"
FontPath"/usr/lib/X11/fonts/CID"
FontPath"/usr/lib/X11/fonts/Speedo"
FontPath"/usr/lib/X11/fonts/100dpi"
FontPath"/usr/lib/X11/fonts/75dpi"
EndSection

Section "Module"
Load"GLcore"
Load"bitmap"
Load"dbe"
Load"ddc"
Load"dri"
Load"extmod"
Load"freetype"
Load"glx"
Load"int10"
Load"record"
Load"speedo"
Load"type1"
Load"vbe"
EndSection

Section "InputDevice"
Identifier  "Generic Keyboard"
Driver  "keyboard"
Option  "CoreKeyboard"
Option  "XkbRules"  "xfree86"
Option  "XkbModel"  "pc104"
Option  "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier  "Configured Mouse"
Driver  "mouse"
Option  "CorePointer"
Option  "Device""/dev/psaux"
Option  "Protocol"  "ImPS/2"
Option  "Emulate3Buttons"   "true"
Option  "ZAxisMapping"  "4 5"
EndSection
Section "InputDevice"
Identifier  "Generic Mouse"
Driver  "mouse"
Option  "SendCoreEvents""true"
Option  "Device""/dev/input/mice"
Option  "Protocol"  "ImPS/2"
Option  "Emulate3Buttons"   "true"
Option  "ZAxisMapping"  "4 5"
EndSection

Section "Device"
Identifier  "Generic Video Card"
Driver  "nv"
EndSection

Section "Monitor"
Identifier  "Generic Monitor"
HorizSync   30-75
VertRefresh 50-85
Option  "DPMS"
EndSection

Section "Screen"
Identifier  "Default Screen"
Device  "Generic Video Card"
Monitor "Generic Monitor"
DefaultDepth24
SubSection "Display"
Depth   1
Modes   "1600x1200"
EndSubSection
SubSection "Display"
Depth   4
Modes   "1600x1200"
EndSubSection
SubSection "Display"
Depth   8
Modes   "1600x1200"
EndSubSection
SubSection "Display"
Depth   15
Modes   "1600x1200"
EndSubSection
SubSection "Display"
Depth   16
Modes   "1600x1200"
EndSubSection
SubSection "Display"
Depth   24
Modes   "1600x1200"
EndSubSection
EndSection

Section "ServerLayout"
Identifier  "Default Layout"
Screen  "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "Generic Mouse"
EndSection

Section "DRI"
Mode0666
EndSection



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



Re: PPPD exit code 2

2005-06-03 Thread Mr Mike

On 06/03/2005 10:26:34 AM, Lee Braiden wrote:

On Friday 03 Jun 2005 13:26, xxx xxx wrote:
> Pon isn't working!!! I mean it dials, but Mozilla isn't connecting.
Still
> surfing as root...
>
> Please Help!

Did you add yourself to the dialout and dip groups, and then logout
and in
again, as instructed?  It should work, if so.

But if not, you can login as a normal user, and use su to become  
root,

run
pon, and still run other programs to browse as a normal user.   With
sudo,
you could automate the permission change, so that a button on your
panel
could become root and dialup or disconnect.  There are many ways to  
do

it,
but it works for everyone else, so try the steps above first.



Not necessarily, I had problems with the permissions on the ppp*  
executables and had to muck with them a little bit to get access as a  
regular user...


Have had similar problems with other debian distros (Mepis, Ubuntu,  
Knoppix) but not always the same solution.  Somtime it was a  
misconfigured /etc/ppp/options file.  That really cranked me up!!   
Users shouldn't have to dig into man pppd and the options file to use  
dialup.  It should just work right out of the box...


Oh well..  That's my 2 cents worth of hot air today.. :-)






> _
> Don't just search. Find. Check out the new MSN Search!

No.

--
Lee.

Please do not CC replies directly to me.  I'll read them on the list.


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










Re: reconstruct the system

2005-06-03 Thread Roberto C. Sanchez
On Fri, Jun 03, 2005 at 07:15:18PM +0200, gustavo halperin wrote:
> Hello
> 
> Yesterday I lost all my directory "/var". There is any posibility for 
> reconstruct the system using
> the information of the other directories ??
Probably not. 
> What can I do ??
Restore from the regular weekly/daily backups you keep.
> I have anothe partition in my laptop with knoppix, I´m currently using it. 
> Can 
> I just copy the
> "/var" of the knoppix to the debian then make some final fix  ??
NO!!! This will cause very bad things to happen.  /var is a directory
that houses much data specific to your system.  Specifically, in Debian,
the status of the packages installed and available to your system.
Unless your Knoppix system is identical in every way (including the same
packages at the same versions installed from the same repositories)
copying it over will cause *severe* problems.  To say nothing of log
files, sockets for running processes, ntp drift statistics, and so on.
> What can I do ??
Probably just backup /home and /etc to a CD and reinstall.

-Roberto

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


pgpg8HmJlYppj.pgp
Description: PGP signature


reconstruct the system

2005-06-03 Thread gustavo halperin

Hello

Yesterday I lost all my directory "/var". There is any posibility for 
reconstruct the system using

the information of the other directories ??
What can I do ??
I have anothe partition in my laptop with knoppix, I´m currently using 
it. Can I just copy the

"/var" of the knoppix to the debian then make some final fix  ??
What can I do ??

Please help me.


Gustavo Halperin


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




Re: Installing Woody and LARGE download of UNCHOOSEN packages

2005-06-03 Thread Jon Dowland

Sebastijan Plut wrote:


Was it something wrong during Debian config?
I have to mention that I have not say YES when asked Run TaskSel nor 
DSelect

during Debian Config.
Where did I failed?

I believe this is a well known and much hated side-effect of opening 
dselect - a default package selection list.



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




Re: Only root access the internet

2005-06-03 Thread Kent West
Phil Dyer wrote:

> Phil Dyer said:
>
> >xxx xxx said:
>
> >>>Hi all,
> >>>
> >>>I'm trying for the last 6 months to connect to the Internet as an
> ordinary
> >>>user but only root can! I gave full permissions to pppd, all
> /etc/ppp files,
> >>>kppp, wvdial. I can connect but when I open Mozilla I can't connect
> >>>anywhere. Only root can! I tried to use pon with no result. I'm
> using Debain
> >>>Woody v3 r2 k2.4.18
> >>>Any advice would be appreciated!
>
> >add your normal user to the group dip.
>
> >adduser  dip
>
>
> Now that you've modified pppd permissions and files, I'd go ahead and
> reinstall pppd as well to fix all the permissions.


I don't suppose the perms on "/etc/resolv.conf" are muffed?

Can you connect with Mozilla using address instead of name?

-- 
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: ntpdate & script to update host at random time

2005-06-03 Thread Marty

jmr_071769 wrote:

hello again with a debian question.

i'd like to be able to have a few machines 'apt-get update' themselves
at a random time near/around midnight. how can i go about this with
another easy script?

tia!

-jeff




See my message in debian-user archives with the subject
"My local debian archive maintenance scripts" posted on May 12.
My scripts don't run apt-get but update my local debian archive
each morning when the cron.daily scripts run.  You can modify
them according to your requirements.


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




Re: ntpdate & script to update host at random time

2005-06-03 Thread jmr_071769
jmr_071769 wrote:
> hello again with a debian question.
> 
> i'd like to be able to have a few machines 'apt-get update' themselves
> at a random time near/around midnight. how can i go about this with
> another easy script?
> 
> tia!
> 
> -jeff
> 

please disregard the ntpdate comment in the subject! my apologies!

-jeff


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



ntpdate & script to update host at random time

2005-06-03 Thread jmr_071769
hello again with a debian question.

i'd like to be able to have a few machines 'apt-get update' themselves
at a random time near/around midnight. how can i go about this with
another easy script?

tia!

-jeff


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



Amaze your partner with the talents in sexual area!

2005-06-03 Thread Reggie

Large natural erection!
http://kkr.mj7xqn4fjwmcq54.achroacytegn.com



Never suffer the prejudice of the eye to determine the heart.  
The world is proof that God is a committee.
It is impossible to walk rapidly and be unhappy.




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




Re: PPPD exit code 2

2005-06-03 Thread Lee Braiden
On Friday 03 Jun 2005 13:26, xxx xxx wrote:
> Pon isn't working!!! I mean it dials, but Mozilla isn't connecting. Still
> surfing as root...
>
> Please Help!

Did you add yourself to the dialout and dip groups, and then logout and in 
again, as instructed?  It should work, if so.

But if not, you can login as a normal user, and use su to become root, run 
pon, and still run other programs to browse as a normal user.   With sudo, 
you could automate the permission change, so that a button on your panel 
could become root and dialup or disconnect.  There are many ways to do it, 
but it works for everyone else, so try the steps above first.

> _
> Don't just search. Find. Check out the new MSN Search!

No.

-- 
Lee.

Please do not CC replies directly to me.  I'll read them on the list.


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



Re: How to move debian from one drive to another and keep it working?

2005-06-03 Thread Lee Braiden
On Friday 03 Jun 2005 15:56, David Witbrodt wrote:
> David Witbrodt <[EMAIL PROTECTED]> wrote:
> >tar cvf - / | (cd /mnt/; tar xvf -)
>
> I'm a dummy.  I had just spend the past several days reading docs,
> including the 'man' page for 'tar', and failed to notice that the "cvf" and
> "xvf" switches for 'tar' do not have the '-' character, but the man page
> for 'tar' _does_ use it.

- specifies stdin, or stdout as files, where the | pipe character sends data.  
You only need to use it if you use the f flag, which requires a filename.

Combos along the lines of tar cv srcdir | (cd dest; tar xv) will work, too.

-- 
Lee.

Please do not CC replies directly to me.  I'll read them on the list.


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



Re: How to move debian from one drive to another and keep it working?

2005-06-03 Thread David Witbrodt
 

David Witbrodt <[EMAIL PROTECTED]> wrote:
>
>    tar cvf - / | (cd /mnt/; tar xvf -)
 
I'm a dummy.  I had just spend the past several days reading docs, including the 'man' page for 'tar', and failed to notice that the "cvf" and "xvf" switches for 'tar' do not have the '-' character, but the man page for 'tar' _does_ use it.
 
I copied the command quoted above from http://wiki.debian.net/?Move, and I seem to recall using versions of 'tar' in previous years that didn't use the '-' for its commands.  When I modified the above command to this,
 
tar --exclude=/mnt -cvf - / | (cd /mnt/; tar -xvf -)
 
things almost worked.  I noticed a lot of errors as the process neared completion, and when I compared the '/' dir to the '/mnt' dir, a lot seemed to be missing.  I considered making manual corrections, but when I tried to save a text file to '/mnt' I got an out of space error, from which I conclude that things are pretty messed up.
 
JacobS just sent a very helpful reference to a HOWTO in another message posted to debian-user, and I think I will try that out now (after clearing the new partitions for a fresh start).
 
DW
 

Re: How to move debian from one drive to another and keep it working?

2005-06-03 Thread David Witbrodt

Jacob S <[EMAIL PROTECTED]> wrote:
> You might want to try reading the Howto on upgrading hard drives.
> More specifically, step 7 lists several different ways to copy an
> installation from one drive to another and mentions which directories
> to exclude. 
>
> http://www.tldp.org/HOWTO/Hard-Disk-Upgrade/index.html
>
>
> HTH,
> Jacob
 
   Ahhh!  Beautiful!
  I wish you had seen my original post a few days ago and told me about this then.  Much obliged!  I think I will reformat the new partitions and try this.  I was getting some out of space errors the other way, once I got it to (almost) work.
 
Thanks,
Dave W.

Re: /etc/modprobe.d/sound does't work

2005-06-03 Thread Shidai Liu
On 6/3/05, Cameron Matheson <[EMAIL PROTECTED]> wrote:
Hi Mr. Liu,My modules all get autoloaded too, i'm not sure wherethe config file for that is (or if it's just somehardware-detection thing that they have now (youdidn't have to worry about these things back in the
day...), anyway, is your sound card detected in thekernel messages, or is it definitely loading the wrongdriver? (it might just be something as simple asneeding to add yourself to the 'audio' group...)
Cameron Matheson
It loads the right driver but because the driver has a bug that it only
works for ac97 compatible, mine is sound blaster. I'm thinking of
compiling a new kernel which enables only soudcard support without alsa
and oss modules, and try installing alsa/oss manually. Do you think
that would help?

-- Shidai
--- Shidai Liu <[EMAIL PROTECTED]
> wrote:> On 6/2/05, Cameron Matheson <[EMAIL PROTECTED]>> wrote:> >> > Hi,> >> > --- Shidai Liu <
[EMAIL PROTECTED]> wrote:> > > > I try to install oss (opensound). Every time I> > > start the oss install> > > program, it complains about sound driver already> > > running which I removed
> > > beforehand and 'lsmod' shows that the old driver> > > back again. Very annoying.> > > Any idea?> >> > oss is just a generic sound system (it won't load> any
> > drivers or anything for your sound card... that> module> > is probably loaded already anyway, can you send us> the> > output of lsmod?> >> > Cameron Matheson
> >> > Dear Cameron,>> I have a long list of `lsmod`. But 'lsmod |grep -i> snd' gives:> snd_nm256 69216 0> snd_ac97_codec 78360 1 snd_nm256> snd_pcm_oss 53344 0
> snd_mixer_oss 19872 1 snd_pcm_oss> snd_pcm 92712 3 snd_nm256,snd_ac97_codec,snd_pcm_oss> snd_timer 24644 1 snd_pcm> snd_page_alloc 10020 1 snd_pcm> snd 55300 6>snd_nm256,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
> soundcore 9664 1 snd>> I manully rmmod every module listed above, but they> get back whenever I> start './oss_install'.> By the way, do you happen to have a long list of> modules. It's a bit strange
> to me. I have no module in /etc/modules. Thanks.>__Do you Yahoo!?Read only the mail you want - Yahoo! Mail SpamGuard.
http://promotions.yahoo.com/new_mail


Re: Only root access the internet

2005-06-03 Thread Phil Dyer
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Phil Dyer said:
> xxx xxx said:
>>> Hi all,
>>> 
>>> I'm trying for the last 6 months to connect to the Internet as an ordinary 
>>> user but only root can! I gave full permissions to pppd, all /etc/ppp 
>>> files, 
>>> kppp, wvdial. I can connect but when I open Mozilla I can't connect 
>>> anywhere. Only root can! I tried to use pon with no result. I'm using 
>>> Debain 
>>> Woody v3 r2 k2.4.18
>>> Any advice would be appreciated!
> 
> add your normal user to the group dip.
> 
> adduser  dip

Now that you've modified pppd permissions and files, I'd go ahead and
reinstall pppd as well to fix all the permissions.

- --

/phil


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (MingW32)
Comment: Public Key: http://www.dyermaker.org/gpgkey

iD8DBQFCoGrTGbd/rBLcaFwRAn06AJ0bXk61ISt96Ntq2Ozxl0+wMgWUAQCgjVOV
0Oc6tMwDeh1I0vDvUjydvWo=
=B9ZU
-END PGP SIGNATURE-


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



Re: Only root access the internet

2005-06-03 Thread xxx xxx

add your normal user to the group dip.


adduser  dip

the user is already in the dip group...

_
Don't just search. Find. Check out the new MSN Search! 
http://search.msn.click-url.com/go/onm00200636ave/direct/01/



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




Re: /etc/modprobe.d/sound does't work

2005-06-03 Thread Shidai Liu
On 6/3/05, Ionut Georgescu <[EMAIL PROTECTED]> wrote:
On Thu, Jun 02, 2005 at 05:16:39PM +0100, Shidai Liu wrote: 
echo driver_you_don't_want >> /etc/hotplug/blacklistorecho driver_you_don't_want >> /etc/hotplug/blacklist.d/sound

This is what I want. Thank you! 
IonutBodyID:16364793.2.n.logpart (stored separately)
-- With best wishes!Shidai


Re: dspam deb ?

2005-06-03 Thread mess-mate
Brent Clark <[EMAIL PROTECTED]> wrote:
| Hi
| 
| Anyone know if there is any Dspam deb packages somewhere on the net.
| 
| Kind Regards
| Brent Clark
| 
# Architectures: all, i386
deb http://www.heydon.com.au/debian unstable/
deb-src http://www.heydon.com.au/debian unstable/
deb http://www.heydon.com.au/debian stable/
deb-src http://www.heydon.com.au/debian stable/

# Matches:
dspam 3.0.0-0.2 (i386)
dspam-cgi 3.0.0-0.2 (all)
libdspam-dev 3.0.0-0.2 (i386)
libdspam5 3.0.0-0.2 (i386)

mess-mate
   
--
You will attract cultured and artistic people to your home.


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



Re: Only root access the internet

2005-06-03 Thread Phil Dyer
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

xxx xxx said:
> Hi all,
> 
> I'm trying for the last 6 months to connect to the Internet as an ordinary 
> user but only root can! I gave full permissions to pppd, all /etc/ppp files, 
> kppp, wvdial. I can connect but when I open Mozilla I can't connect 
> anywhere. Only root can! I tried to use pon with no result. I'm using Debain 
> Woody v3 r2 k2.4.18
> Any advice would be appreciated!

add your normal user to the group dip.

adduser  dip

- --

/phil


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (MingW32)
Comment: Public Key: http://www.dyermaker.org/gpgkey

iD8DBQFCoGg1Gbd/rBLcaFwRAgsoAJwOEwKb0JKVVVsIGxkCXZoRhEcu4gCfSIOW
wcA2N4nVsdgUEtjHEuUfzSw=
=WCxK
-END PGP SIGNATURE-


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



Only root access the internet

2005-06-03 Thread xxx xxx

Hi all,

I'm trying for the last 6 months to connect to the Internet as an ordinary 
user but only root can! I gave full permissions to pppd, all /etc/ppp files, 
kppp, wvdial. I can connect but when I open Mozilla I can't connect 
anywhere. Only root can! I tried to use pon with no result. I'm using Debain 
Woody v3 r2 k2.4.18

Any advice would be appreciated!

_
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/



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




Re: copy one file, multiple machines

2005-06-03 Thread =?ISO-8859-1?Q?Diego_Mart=EDnez_Casta=F1eda?=
On 6/3/05, Jacob S <[EMAIL PROTECTED]> wrote:
> #!/bin/bash
> 
> MACHINES="hostname1 hostname2 ip.add.ress.3 hostname4"
> 
> for MACHINE in $MACHINES ; do
> 
>   scp script_filename_sh $MACHINE:/etc/cron.daily/
> 
> done
> 

if you had a key for your machines, you would use this command:

KEY="/my/master/key/id_dsa"
MACHINES="hostname1 hostname2 ip.add.ress.3 hostname4"

for $MACHINE in $MANCHINES
 do
   scp -i $KEY file.to.copy $MACHINE:/etc/cron.daily/
 done

cheers!
diego
-- 
___Diego Martínez Castañeda
_n1mh  @ n1mh.org
___http://www.n1mh.org

Trabaja como si no necesitaras el dinero. Ama como si nunca te
hubieran herido. Baila como si nadie te estuviera mirando.



Re: /etc/modprobe.d/sound does't work

2005-06-03 Thread Cameron Matheson
Hi Mr. Liu,

My modules all get autoloaded too, i'm not sure where
the config file for that is (or if it's just some
hardware-detection thing that they have now (you
didn't have to worry about these things back in the
day...), anyway, is your sound card detected in the
kernel messages, or is it definitely loading the wrong
driver? (it might just be something as simple as
needing to add yourself to the 'audio' group...)

Cameron Matheson

--- Shidai Liu <[EMAIL PROTECTED]> wrote:

> On 6/2/05, Cameron Matheson <[EMAIL PROTECTED]>
> wrote:
> > 
> > Hi,
> > 
> > --- Shidai Liu <[EMAIL PROTECTED]> wrote:
> > > > I try to install oss (opensound). Every time I
> > > start the oss install
> > > program, it complains about sound driver already
> > > running which I removed
> > > beforehand and 'lsmod' shows that the old driver
> > > back again. Very annoying.
> > > Any idea?
> > 
> > oss is just a generic sound system (it won't load
> any
> > drivers or anything for your sound card... that
> module
> > is probably loaded already anyway, can you send us
> the
> > output of lsmod?
> > 
> > Cameron Matheson
> > 
> > Dear Cameron,
> 
> I have a long list of `lsmod`. But 'lsmod |grep -i
> snd' gives:
> snd_nm256 69216 0 
> snd_ac97_codec 78360 1 snd_nm256
> snd_pcm_oss 53344 0 
> snd_mixer_oss 19872 1 snd_pcm_oss
> snd_pcm 92712 3 snd_nm256,snd_ac97_codec,snd_pcm_oss
> snd_timer 24644 1 snd_pcm
> snd_page_alloc 10020 1 snd_pcm
> snd 55300 6 
>
snd_nm256,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
> soundcore 9664 1 snd
> 
> I manully rmmod every module listed above, but they
> get back whenever I 
> start './oss_install'.
> By the way, do you happen to have a long list of
> modules. It's a bit strange 
> to me. I have no module in /etc/modules. Thanks.
> 




__ 
Do you Yahoo!? 
Read only the mail you want - Yahoo! Mail SpamGuard. 
http://promotions.yahoo.com/new_mail 


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



Re: copy one file, multiple machines

2005-06-03 Thread Gregory Seidman
On Fri, Jun 03, 2005 at 09:54:32AM -0400, jmr_071769 wrote:
} howdy everyone.
} 
} this is more of a linux question. i have script_filename_sh that i'd
} like to copy to multiple /etc/cron.daily/ directories on our network.
} what's a nifty script that could save me from up-arrow'ing/scp'ing to death?
} 
} for instance:
} 
} scp script_filename_sh machine1:/etc/cron.daily/
} scp script_filename_sh machine2:/etc/cron.daily/
} 
} so on, so on... we have like 50 machines...

csh derivatives:

foreach m (machine1 machine2 ...)
scp script_filename_sh "$m":/etc/cron.daily
end

sh derivatives:

for m in machine1 machine2 ...
do
scp script_filename_sh "$m":/etc/cron.daily
done

If you're feeling your Wheaties, use this script:

#!/bin/sh

if test $# -lt 3 || test ! -r "$1"
then
echo "Usage: $0   " >&2
exit 1
fi

FNAME="$1"
shift
DEST="$1"
shift

for m in "$@"
do
scp "$FNAME" "$m":"$DEST"
done

} thanks!
} -jeff
--Greg


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



Re: copy one file, multiple machines

2005-06-03 Thread Jacob S
On Fri, 03 Jun 2005 09:54:32 -0400
jmr_071769 <[EMAIL PROTECTED]> wrote:

> howdy everyone.
> 
> this is more of a linux question. i have script_filename_sh that i'd
> like to copy to multiple /etc/cron.daily/ directories on our network.
> what's a nifty script that could save me from up-arrow'ing/scp'ing to
> death?
> 
> for instance:
> 
> scp script_filename_sh machine1:/etc/cron.daily/
> scp script_filename_sh machine2:/etc/cron.daily/
> 
> so on, so on... we have like 50 machines...

Do you have a list of the hostnames/ips handy? Something like this
should work:

#!/bin/bash

MACHINES="hostname1 hostname2 ip.add.ress.3 hostname4"

for MACHINE in $MACHINES ; do

  scp script_filename_sh $MACHINE:/etc/cron.daily/

done

HTH,
Jacob


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



copy one file, multiple machines

2005-06-03 Thread jmr_071769
howdy everyone.

this is more of a linux question. i have script_filename_sh that i'd
like to copy to multiple /etc/cron.daily/ directories on our network.
what's a nifty script that could save me from up-arrow'ing/scp'ing to death?

for instance:

scp script_filename_sh machine1:/etc/cron.daily/
scp script_filename_sh machine2:/etc/cron.daily/

so on, so on... we have like 50 machines...

thanks!

-jeff


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



Re: How to move debian from one drive to another and keep it working?

2005-06-03 Thread Jacob S
On Fri, 3 Jun 2005 06:30:50 -0700 (PDT)
David Witbrodt <[EMAIL PROTECTED]> wrote:

>  
> 
> "Pedro M (Morphix User)" <[EMAIL PROTECTED]> wrote:
> 
> > Can anybody improve the page http://wiki.debian.net/?Move about the
> > same topic ?.
> 
> > Thank you a lot.
> 
>  
> 
>   After reviewing all of the helpful suggestions provided on this
>   list, I chose this method; it seemed simple and elegant.
> 
>   It bombed out pretty badly, though.  My system froze in an endless
>   loop of error messages about "DMA table too small" on my destination
>   drive.  A local Linux guru had warned me about making sure not to
>   copy the mounted destination partitions on top of themselves, so it
>   (in hindsight) seems logical to me that a command like
> 
>  
> 
>tar cvf - / | (cd /mnt/; tar xvf -)
> 
>  
> 
> would try to copy /mnt/* to itself, unless 'tar' has built-in
> safeguards.  (As a newb, I don't know the answers to such questions
> yet.)
> 
>   I'm going to try some variations on the above method -- excluding
>   /mnt from the tar process, for example -- and I'll post any
>   successes or failures back here.

You might want to try reading the Howto on upgrading hard drives. More
specifically, step 7 lists several different ways to copy an
installation from one drive to another and mentions which directories to
exclude. 

http://www.tldp.org/HOWTO/Hard-Disk-Upgrade/index.html


HTH,
Jacob


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



Re: How to move debian from one drive to another and keep it working?

2005-06-03 Thread David Witbrodt
 

"Pedro M (Morphix User)" <[EMAIL PROTECTED]> wrote:
> Can anybody improve the page http://wiki.debian.net/?Move about the same topic ?.
> Thank you a lot.
 
  After reviewing all of the helpful suggestions provided on this list, I chose this method; it seemed simple and elegant.
  It bombed out pretty badly, though.  My system froze in an endless loop of error messages about "DMA table too small" on my destination drive.  A local Linux guru had warned me about making sure not to copy the mounted destination partitions on top of themselves, so it (in hindsight) seems logical to me that a command like
 
   tar cvf - / | (cd /mnt/; tar xvf -)
 
would try to copy /mnt/* to itself, unless 'tar' has built-in safeguards.  (As a newb, I don't know the answers to such questions yet.)
  I'm going to try some variations on the above method -- excluding /mnt from the tar process, for example -- and I'll post any successes or failures back here.
 
Thanks to everyone for the help so far,
Dave W.

Re: Debian Sarge 3.1

2005-06-03 Thread Roberto C. Sanchez
On Sat, Jun 04, 2005 at 01:35:19AM +1200, Chris Bannister wrote:
> On Tue, May 31, 2005 at 04:23:32PM +0200, Werner Mahr wrote:
> > Am Dienstag, 31. Mai 2005 13:10 schrieb Chris Bannister:
> > 
> > > Are these steps correct?
> > >
> > > 1. apt-get update
> > 
> > Not necessary.
> > 
> > > 2. If necessary apt-get upgrade
> > 
> > Not necessary.
> > 
> > > 3. change sources.list to point to Sarge
> > 
> > OK
> > 
> > > 4. apt-get update
> > 
> > OK
> > 
> > > 5. apt-get upgrade
> > 
> > Not necessary.
> 
> Oh, OK, no harm though ;-)
> 
> > > 6. perform step 5 as necessary
> > 
> > Not necessary.
> > 
> > > 7. apt-get dist-upgrade
> > 
> > OK, but I would suggest you to do an apt-get install apt before that.
> 
> Thanks! Great advice.
> 

According to the release notes, the only "supported" way to upgrade is
with aptitude.  Unfortunately, some the dependencies (particularly with
KDE) have become so complext that Woody's version of apt simply craps
out in some cases.

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


pgp5Yo667KINw.pgp
Description: PGP signature


Re: getmail4 and python2.3

2005-06-03 Thread Kevin Coyner


On Tue, May 31, 2005 at 06:32:24PM -0400, Kevin Coyner wrote..

> I've been using getmail4 for some time with no problems.  My python
> version is 2.3.
> 
> Today I upgraded the kernel from 2.6.8 to 2.6.11.  Since then I've
> been getting the following error message whenever I execute getmail:
> 
> /usr/lib/python2.3/optparse.py:668: FutureWarning: %u/%o/%x/%X of
> negative int will return a signed string in Python 2.4 and up
>   return ("<%s at 0x%x: %r>"
> 
> I find it hard to imagine that the kernel upgrade has anything to do
> with this error.
> 
> But anyway, has anyone seen this before?
> 
> I checked the getmail site, and in their FAQ they mention this
> error, but simply say it's a bug in Python2.3.  Yet just this
> morning this was working for me, so I don't think Python2.3 has a
> bug.


I fixed this, although my solution won't survive an apt-get upgrade
to getmail4.

I simply went into /usr/bin/getmail and /usr/bin/getmail_maildir and
change the first line:

<   #!/usr/bin/python
>   #!/usr/bin/python -W ignore

Not elegant and not the right solution, but the getmail4 website
considers this a python2.3 bug, and the folks at comp.lang.python
simply suggested upgrading to python2.4.  So my simple hack will
suffice for now.

Kevin


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



Re: Discover device drivers built into a kernel image

2005-06-03 Thread Chris Bannister
On Tue, May 31, 2005 at 04:42:26PM -0300, Paulo M C Aragão wrote:
> Hi,
> 
> Apologies in advance for the basic question. I'm counting on the
> everlasting patience and generosity of the list members. I googled to no
> avail in search of an answer.
> 
> How do I discover which device drivers are built into a given kernel
> image, not accessing the sources ?

less /proc/modules 

oops that's all of them isn't it

-- 
Chris.
==


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



Re: Debian Sarge 3.1

2005-06-03 Thread Chris Bannister
On Tue, May 31, 2005 at 04:23:32PM +0200, Werner Mahr wrote:
> Am Dienstag, 31. Mai 2005 13:10 schrieb Chris Bannister:
> 
> > Are these steps correct?
> >
> > 1. apt-get update
> 
> Not necessary.
> 
> > 2. If necessary apt-get upgrade
> 
> Not necessary.
> 
> > 3. change sources.list to point to Sarge
> 
> OK
> 
> > 4. apt-get update
> 
> OK
> 
> > 5. apt-get upgrade
> 
> Not necessary.

Oh, OK, no harm though ;-)

> > 6. perform step 5 as necessary
> 
> Not necessary.
> 
> > 7. apt-get dist-upgrade
> 
> OK, but I would suggest you to do an apt-get install apt before that.

Thanks! Great advice.

-- 
Chris.
==


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



Re: Will Sid go nuts?

2005-06-03 Thread Jochen Schulz
Rogério Brito:
> 
> This has been done in the past and I would expect that things would not
> change so soon (see the many dummy bugs reported like "this package is not
> suitable for testing").

Exactly these packages *will* get into etch after sarge is stable! The
dummy bugs are there to prevent the package from being integrated into
the soon-to-be-released sarge.

J.
-- 
Television advertisements are the apothesis of twentieth century culture.
[Agree]   [Disagree]
 


signature.asc
Description: Digital signature


Re: make-kpkg binary

2005-06-03 Thread Roberto C. Sanchez
On Fri, Jun 03, 2005 at 10:08:56PM +1000, Stephen Grant Brown wrote:
> Hi All,
> 
> When running
> 
> make-kpkg binary
> 
> I only get the kernel-image and kernel-headers packages made.
> 
> How do I get the other two made?

Not sure.  On my system, the binary target produces 4 packages.

> 
> Also, how do I install the kernel-image package made?
> 
dpkg -i .deb

> Thanks in advance for your help.
> 
No problem.

> Stephen Grant Brown
> 

-Roberto

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


pgp5QkmdWcIWo.pgp
Description: PGP signature


Re: Mozilla-firefox printing menu non-working entries

2005-06-03 Thread Patrick Wiseman
On 6/3/05, Mitchell Laks <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> I print using the cups printing system.
> However when I try to print from mozilla-firefox and invoke print i get a
> dialog with a drop down menu that includes
> 
> hp_laserjet@:64
> xp_ps_spooldir_HOME_Xprintjobs@:64
> ...
> Postscript/hp_laserjet
> 
> now the first ones (until Postscript/hp_laserjet) don't work and are
> incomprehensible to me.

You have Xprint installed.  Since you don't need it (CUPS is all you
need), purge it, and those printer entries will go away.

Patrick



Mozilla-firefox printing menu non-working entries

2005-06-03 Thread Mitchell Laks
Hi,

I print using the cups printing system.
However when I try to print from mozilla-firefox and invoke print i get a 
dialog with a drop down menu that includes

hp_laserjet@:64
xp_ps_spooldir_HOME_Xprintjobs@:64
...
Postscript/hp_laserjet 

now the first ones (until Postscript/hp_laserjet) don't work and are 
incomprehensible to me.

What are they? Can I get them to work in addition to cups? 
Or else Can I at least get them  off the menu so I dont have to hunt for the 
Postscript/hp_laserjet 
in a click down menu? Where are the setttings in the mozilla-firefox package.

Clearly they seem (at least) to be related to my cups printer name.  

What is Xprint anyway? I just have figured out cups (so to speak, at least it 
works now...) .

I see Xprint on the google of mozilla-firefox. will it conflict with cups? 

Thanks,
MItchell Laks


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



Re: Woody to Sarge "stable"?

2005-06-03 Thread Jochen Schulz
Rhomboid Goatcabin:
> 
> [...] Do all my systems go and try to install Sarge? I'm guessing
> probably "yes", but will we get a nice announcement with a fair
> warning period?

The warning period has started some time ago. Act soon. Sarge will
probably (and hopefully) be finished this very weekend.  If you have 30
machines running Debian, you really should follow at least
debian-devel-announce to track major eventy like the release of sarge.

J.
-- 
I use a Playstation to block out the existence of my partner.
[Agree]   [Disagree]
 


signature.asc
Description: Digital signature


RE: PPPD exit code 2

2005-06-03 Thread xxx xxx
Pon isn't working!!! I mean it dials, but Mozilla isn't connecting. Still 
surfing as root...


Please Help!

_
Don't just search. Find. Check out the new MSN Search! 
http://search.msn.click-url.com/go/onm00200636ave/direct/01/



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




Re: root is unable to change file permissions!

2005-06-03 Thread Robert Storey
Using lsattr, see is the immutable flag has been set. Normally, no flags 
should be set:

[EMAIL PROTECTED]:~> lsattr *.txt
- 34sp-userguide.txt

If the immutable flag has been set, you can unset it with

  chattr -i filename

See "man lsattr" and "man chattr".

While this will (hopefully) solve your immediate problem, the larger problem 
is that your system was possibly compromised, and the cracker has been 
messing with your flags. Which means you need to do major surgery on it 
(reinstall, tighten firewall rules, etc).

good luck,
RS

Friday 03 June 2005 16:04, Andreas Hatz wrote:
> Hello Debain Users,
>
> We have an interesting phenomenon occuring on one of our servers. We have
> noticed that two files in the /bin directory have had their executable
> permissions removed and we are unable to chmod the files as root.
>
> current file permissions:
> -rw-r--r--   1 root root35464 May 31 13:02 /bin/login
> -rw-r--r--   1 root root54152 Aug 29  2001 /bin/netstat
>
> when trying to change permissions:
>
> ns:~# whoami
> root
>
> ns:~# id
> uid=0(root) gid=0(root) groups=0(root)
>
> ns:~# chmod 755 /bin/login
> chmod: changing permissions of `/bin/login': Operation not permitted
>
> We have tried doing the same thing from the rescue disc login prompt. same
> outcome.
>
> This seems to be a serious security issue. Root user seems to have lost
> control of some files. Other files can be changed using the above commands.
>
> Any ideas?
>
> Best regards,
>
> Andreas Hatz


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



Re: Firefox no print issue

2005-06-03 Thread Nicos Gollan
On Friday June 3 2005 04:40, Jim Hall wrote:
> Web site page in Firefox. Go to File -> Print -> dialog box. Click
> "print" button: page is sent to printer, first page is a PS error, lots
> of blank pages follow.
> The printer is listed as: QMS 1660@:64.

This looks like you're using xprint to print from Firefox. Don't use it, 
xprint is buggy as hell. The printer should be listed twice, once as "QMS 
1660@:64" as you said, and then again as "PostScript/QMS 1660". Try printing 
from the "PostScript/..."-entry. If this works, find all installed packages 
that have xprint in their names and deinstall them.

This way, you'll lose some settings in Firefox's print setup (e.g. duplex 
print if it's available at all), but at least it should work with the 
printer's default settings.

-- 
Got Backup?

Jabber: Shadowdancer at jabber.fsinf.de


pgpZdDK2Tiuu7.pgp
Description: PGP signature


make-kpkg binary

2005-06-03 Thread Stephen Grant Brown
Hi All,

When running

make-kpkg binary

I only get the kernel-image and kernel-headers packages made.

How do I get the other two made?

Also, how do I install the kernel-image package made?

Thanks in advance for your help.

Stephen Grant Brown


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



faubackup 0.5.8

2005-06-03 Thread Stephen Grant Brown
Hi All,

I have gone from Debian stable to Debian unstable, downloaded faubachup
0.5.8, which updated libc etc when I did apt-get install faubackup.

I have also downloaded the 2.6.11.7 Linux tarball, run "make-kpkg binary",
installed and are running the resulting kernel. The 2.4 series of kernels do
not seem the recognize the USB drive /dev/sda1.

When running faubackup onto the external USB hard drive, I get complete
copies of the files instead of hard syslinks to the files already backup up.

Can anybody suggest what is going on?

Thanks in advance

Stephen Grant Brown.


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



Re: udev, usb mouse et Xfree [SOLVED}

2005-06-03 Thread Nicolas
On Friday 03 June 2005 03:37, Steven Yap wrote:
> On Thu, 2005-02-06 at 11:56 -0400, Nicolas wrote:
> > The problem is when I remove and try to replug my mouse.  I can't get it
> > to work anymore.  If I use a symlink from /dev/usbmouse to
> > /dev/input/mouse0, when I replug the mouse, the /dev/input/mouse0 is not
> > accessible anymore (used by X?) and udev set the mouse to mouse1 (or
> > mouse2 then my touchpas is active).
>
> Configure X to use /dev/input/mice instead.

That's what I did yesterday night.  I also used 
http://www.wlug.org.nz/HotPlugNotes (thanks to Cameron Matheson for pointing 
me to Hotplug ) to switch between PS/2 and USB mouse.  Now, it works like a 
charm.

Nic Cola
-- 
()  ascii ribbon campaign - against html e-mail 
/\- against microsoft attachments


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



Re: /etc/modprobe.d/sound does't work

2005-06-03 Thread Ionut Georgescu
On Thu, Jun 02, 2005 at 05:16:39PM +0100, Shidai Liu wrote:
> Hi there,
> 
> Linux without sound sucks. Please help me sort it out.
> 
> I'm struggling to get my sound card nm256av working under kernel 2.6.11. As 
> some searches from google tell me, the alsa driver for neomagic 2200 has 
> problem. It can detect the souncard but can't drive it correctly. QUOTE from 
> 
> 
> http://www.linups.org/modules/doc/documentos/thinkpad-us/thinkpad-us.html
> ...
> "With a first look it may seem enough to enable the *NM256AV/NM256ZX
> audio*driver, but it's not even near the truth, because there are two
> versions of
> the NeoMagic audio chip: AV, SoundBlaster compatible and ZX, AC97 
> compatible. This driver enables AC97 sound and it doesn't work for the AV 
> chip."
> ...
> 
> I try to use some alternative drivers like opl3sa2/es423x etc. But the 
> problem is when you make any changes to /etc/modprobe.d/sound followed by 
> update-modules, the system will still dectect the soundcard as nm256 and 
> load the driver nm256 (I guess this is due to hotplug??).
> 
> My question is how to tell the hotplug not to handle the sound card 
> automatically and how to get the settings in /etc/modprobe.d/sound to work? 
> Many thanks for any help.
> 


echo driver_you_don't_want >> /etc/hotplug/blacklist

or 

echo driver_you_don't_want >> /etc/hotplug/blacklist.d/sound

Ionut


signature.asc
Description: Digital signature


Re: mkboot with grub

2005-06-03 Thread Vegard|drageV
> No problem with lilo, but if you like grub:
> -format a floppy
> -cd /floppy
> -mkdir /doc
> -mkdir /grub
> -mkdir /pict
> cp .. stage1 /floppy/grub/
> cp .. stage2 /floppy/grub/
> create and edit a file menu.lst as follows:
> 
> splashimage (fd0)/boot/grub/images/linuxinside.xpm.gz
> 
> # Boot automatically after 30 secs.
> timeout 30
> 
> # By default, boot the first entry.
> default 0
> 
> # Fallback to the second entry.
> fallback 1
> 
> # For booting Debian Linux
> title  Debian 2.6.8
> root (hd0,1)  # = /boot -> /dev/hda2
> kernel /vmlinuz-2.6.8-1-386  root=/dev/hda5  # '/' device
> initrd /initrd.img-2.6.8-1-386
> 
> title  Debian 2.6.10
> root (hd0,1)
> kernel /vmlinuz-2.6.10-1-686  root=/dev/hda5
> initrd=/initrd.img-2.6.10-1-686
> 
> (adjust vmlinuz and initrd... and where your /boot/vmlinuz... is,
> here first hd second oartition)
> 
> Save this file to /floppy/grub/
> 
> Adapt also your splashimage if necessary.
> 
> mess-mate
> --
> You are only young once, but you can stay immature indefinitely.

What do you mean with these commands?
> cp .. stage1 /floppy/grub/
> cp .. stage2 /floppy/grub/

Thanks for the help, Vegard



  1   2   >