Window Managers

2003-01-24 Thread James Buchanan
Hi,

When I run `startx' I would like afterstep to run, and I would like a menu
giving me a list of all the window managers/desktop environments that I can
run.  How do I tell startx to run afterstep by default?  I have done `man
startx'  but it's all incomprehensible gibberish to me!  :-(  I did look at
xinitrc but again, I can't read shell scripts.  None of it looks obvious to
me unfortunately.  Oh yes, apparently Gnome is installed, but how do I run
it?

Thanks for any help - btw I am running Potato 2.2r6.

Cheers
James


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




tmpfs / shm on 2.4.x

2003-01-24 Thread nate
the current thread on memory usage in debian got me thinkin.

I remember back when I first played with 2.4.x(.7?), and before that
reading about the shm filesystem for shared memory. Running 'free'
today on my laptop which runs 2.4.20 didn't show shared memory
(as expected under 2.4.x) but I realized that I didn't have the
shm filesystem in use. And haven't used it since I started testing
2.4.20(my kernel build date appears to be dec 19). Haven't had any
trouble.. X.. phoenix.. xmms, gnome-terminal, staroffice, buncha other
stuff ..reading a bit more on the shm filesystem(specifically on IBM's
site) it mentions this is needed for POSIX shared memory. So, what
uses it? I logged into my redhat machine which has 2.4.18 and it has
the filesystem mounted.

I remember reading that I think apache 2 uses it? I have apache 1.3
on my laptop and theres no problems.

so my question is what needs POSIX shared memory? My laptop doesn't
get extensive use, but was suprised that I haven't noticed the
slightest trouble since I started using 2.4.x while not having this
filesystem mounted.

the IBM site mentions that System V shared memory isn't affected by
this, so I guess thats what everything I use uses ...if it uses shared
memory.

I suppose I'll unmount the filesystem and enable it again if I ever
see a problem.

thanks

nate




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




Re: Memory usage on debian

2003-01-24 Thread Jason McCarty
Colin Watson wrote:
> On Fri, Jan 24, 2003 at 05:53:19PM -0500, Jason McCarty wrote:
> > So, I understand the output of "free" and all that, but can anyone
> > explain the behavior shown below? This after my computer has been up for
> > a couple hours, doing very little. It usually shows this behavior,
> > especially if I've run a lot of programs first. It seems like memory is
> > being reclaimed from somewhere (kernel data? X11?) without free knowing
> > about it.
 
> The usual cause of this one is as follows: to start with, you have a
> fairly quiet system with lots of data in the kernel's cache - see the
> 'buffers' and 'cached' entries - held there against the possibility that
> it will be needed in the future. Then you run a program that asks for a
> lot of memory. A program running now is of course more important than
> data cached for the future, so, when it runs out of other memory to
> allocate, the kernel throws that data away and gives the reclaimed
> memory to your program. In fact, it eats through about 78Mb of the cache
> like this before it exits.
> 
> When the program does finally exit, it hasn't really done anything
> cacheable: the kernel can cache the executable itself, but nothing else.
> Therefore, it just frees up all the formerly-cached memory your program
> munched through. As time goes on, you'll probably see the count of used
> memory start to swing back towards the previous steady state.

Colin,

Thanks for the response, but I don't think that explains it. The
-/+ buffers/cache line is supposed to eliminate the contribution of cache
already, so sucking all the memory shouldn't change that line too much.
But instead it changed by 78 MB.

Anyway, in trying to figure out what was going on, I found a thread on
LKML [1] about a similar question. Apparently, the inode cache isn't
included in the kernel's memory reports, but only in /proc/slabinfo.
Furthermore, it is only reclaimed when no other memory is available,
which explains why I get these seeming memory leaks that go away when I
malloc all the memory.

I went so far as to write a script to sum the values reported in
/proc/slabinfo, which closely agrees with how much my apparent memory
usage shrinks when I run my memory-eater.
  echo 0 `tail +2 /proc/slabinfo | awk '{print $3, $4, "* +"}'` 1 k \
  1048576 / p | dc

[1] http://www.uwsg.iu.edu/hypermail/linux/kernel/0103.2/0461.html,
http://www.uwsg.iu.edu/hypermail/linux/kernel/0103.2/0477.html

Hope this interests somebody besides myself ;)

Jason


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




Re: Turning off error messages

2003-01-24 Thread Karsten M. Self
on Fri, Jan 24, 2003 at 07:21:22AM -0600, Ian Melnick ([EMAIL PROTECTED]) 
wrote:
> Hello, all
> 
> I was wondering if there was a way to turn off kernel messages from
> getting spit out on the active tty. I keep getting this error message;
> I have no idea what it means; I don't see any problem (I can still mount
> netware drives just fine...), and I'd like it to stop popping up.
> 
> IPX: Network number collision 12342
>   eth0 802.2 and eth0 EtherII
> 
> This also gets sent to syslog. So I guess that's two questions. I wonder
> what it means, anyway.

You'll find this in your /etc/syslog.conf file.  There should be an
example of logging this to an idle virtual console in the default file.

Peace.

-- 
Karsten M. Self <[EMAIL PROTECTED]>http://kmself.home.netcom.com/
 What Part of "Gestalt" don't you understand?
   Geek for hire:  http://kmself.home.netcom.com/resume.html


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




cdrom read errors.

2003-01-24 Thread Jason Pepas
hi all,

investigating cdrom read errors.

- error only occurs at the very end of the disc
- error occurs wether using dd or cat
- error occurs wether using hdparm or not
- error occurs wether media is mounted or not
- resulting iso seems just fine.
- error seems to occur randomly among discs, but consistently for a single 
disc.

(pts/8)jason@marsala:/tmp$ sdd if=/dev/cdrom of=foo.iso
sdd: Input/output error. Error reading '/dev/cdrom'.
sdd: Read  1116528 records + 0 bytes (total of 571662336 bytes = 558264.00k).
sdd: Wrote 1116528 records + 0 bytes (total of 571662336 bytes = 558264.00k).

(pts/8)jason@marsala:/tmp$ cat /dev/cdrom > foo2.iso 
cat: /dev/cdrom: Input/output error

(pts/8)jason@marsala:/tmp$ mount /mnt/cdrom/
(pts/8)jason@marsala:/tmp$ cat /dev/cdrom > foo3.iso 
cat: /dev/cdrom: Input/output error

after the error:

(pts/8)root@marsala:~$ /sbin/hdparm /dev/cdrom 

/dev/cdrom:
 HDIO_GET_MULTCOUNT failed: Invalid argument
 I/O support  =  0 (default 16-bit)
 unmaskirq=  0 (off)
 using_dma=  0 (off)
 keepsettings =  0 (off)
 HDIO_GET_NOWERR failed: Invalid argument
 readonly =  1 (on)
 readahead=  8 (on)
 HDIO_GETGEO failed: Invalid argument
 busstate =  1 (on)

after running hdparm.sh:

(pts/8)root@marsala:~$ /sbin/hdparm /dev/cdrom 

/dev/cdrom:
 HDIO_GET_MULTCOUNT failed: Invalid argument
 I/O support  =  0 (default 16-bit)
 unmaskirq=  1 (on)
 using_dma=  1 (on)
 keepsettings =  0 (off)
 HDIO_GET_NOWERR failed: Invalid argument
 readonly =  1 (on)
 readahead=  8 (on)
 HDIO_GETGEO failed: Invalid argument
 busstate =  1 (on)

hdparm.sh: (/dev/cdrom is /dev/hdc)

(pts/8)root@marsala:~$ cat /etc/init.d/hdparm.sh 
#! /bin/sh

# hdparm script

PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin

MAXTOR=/dev/hda
WD=/dev/hdb
DVD=/dev/hdc
BURNER=/dev/hdd

case "$1" in
  start)
echo -n "Adjusting drive parameters using hdparm... "

# d1 = dma on
# c3 = 32bit io w/sync
# m16 = read upto 16 sectors at a time
# u1 = unmask other interrupts while processing disk interrupt

if [ `hostname` == "marsala" ]
then
hdparm -d1 -c3 -m16 -u1 $MAXTOR
hdparm -d1 -c3 -m16 -u1 $WD
hdparm -d1 -u1 $DVD
# hdparm -d1 -u1 $BURNER
fi

echo "done."
;;
  stop)
;;
  restart|force-reload)
;;
  *)
;;
esac

exit 0

anyone have any ideas what is causing this?  my only guess is that the cdrom 
is trying to read past the end of the media?

thanks,
jason pepas


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




Re: Re: Some myths regarding apt pinning

2003-01-24 Thread Travis Crump
Lloyd Zusman wrote:

Erik Steffl <[EMAIL PROTECTED]> writes:



[ ... ]

  but the point is that pinning is not very good because you either
  bring a number of important packages from unstable (libc6, perl etc)
  or you simply cannot use it. reading of the manual page and checking
  the apt-listchanges does not solve the problem. i.e. you recommend
  pinning, person reads the manpage, tries pinning and finds out that
  it was pretty much pointless excercise because it would upgrade large
  part of the system to unstable. or yet another wording: Adrian Bunk
  wasn't complaining about system actually upgrading packages but about
  system trying to upgrade packages.

	erik


I want to be sure that I understand the significance of this.  Are you
saying that pinning a certain package, say "randompackage", to
"unstable" in /etc/apt/preferences is worse than doing this the first
time that "randompackage" is installed? ...

  apt-get -t unstable install randompackage

Or do these two methods have equally undesirable effects?




Pinning is roughly equivalent to 'apt-get install 
randompackage/unstable'.  Neither will try to pull in unstable 
dependencies, but will instead just fail if the package can't be 
installed with testing dependencies. 'apt-get -t unstable install 
randompackage' is probably the worst command to use since it will pull 
unstable dependencies for uninstalled packages even for unversioned 
dependencies.  Pinning has essentially been useless for the past 2 
months, but for the 10 months before that I thought that pinning *was* 
useful so it seems disingenuous to claim that it is always useless.


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



make-kpkg install question

2003-01-24 Thread Ramsay D. Seielstad

  Hello all, between following the list and reading the various man
pages and documentation I'm about ready to try my hand at rolling my
own kernel.  I'm planning on using 'make-kpkg' to do this and the 
one item I have not seen (or found an answer for) is an option for
installation into the directories using the version revision.
I'm thinking this will may be the default action, but haven't
seen any mention of it in man pages, or documentation any where.

  For example, I'm currently running 2.2.19, the kernel and related 
files are located in /boot/* (vmlinuz has a link to 
/boot/vmlinuz-2.2.19) and installed modules are located in
/lib/modules/2.2.19/* 

  Is there a specific environment variable or command line option
to set for this, or is that the default action?

 (e.g. Modules: //lib/modules/revision/*
   Kernel & boot files:  /boot/revision/*  )

   73 de Ramsay, KC2GMW


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




CPU usage on debian (was: Re: Memory usage on debian)

2003-01-24 Thread Pigeon
On a sort of related point... writing a CD (at 28x), top shows 80-85%
system CPU usage. That's with an Athlon 1800XP (1.53GHz). Feeling the
heatsink, however, it's running as cool as it usually does. I reckon
this must be because it's spending lots of time waiting on the IDE bus.

Pigeon


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




Re: Memory usage on debian

2003-01-24 Thread Isaac To
> "Colin" == Colin Watson <[EMAIL PROTECTED]> writes:

>   quaternion:~$ free
>total   used   free sharedbuffers cached
>   Mem:256104 251680   4424  0  67536  66640
>   -/+ buffers/cache: 117504 138600
>   Swap:0  0  0
>   quaternion:~$ ./src/crap 
>   zsh: killed ./src/crap
>   quaternion:~$ free
>total   used   free sharedbuffers cached
>   Mem:256104  59900 196204  0   6828  13932
>   -/+ buffers/cache:  39140 216964
>   Swap:0  0  0

Colin> The usual cause of this one is as follows: to start with, you
Colin> have a fairly quiet system with lots of data in the kernel's
Colin> cache - see the 'buffers' and 'cached' entries - held there
Colin> against the possibility that it will be needed in the
Colin> future.

Hm... then why the numbers after "-/+ buffers/cache" can decrease (by nearly
80M) after running such crap?  There is no swap, so nothing can migrate
there.  Perhaps some clean mmapped pages are simply removed from memory?
(Does Linux do that?)  I simply can't tell for sure.

Regards,
Isaac.


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




Re: DEVFS, howto test creation of devices in /dev?

2003-01-24 Thread Jerome Acks Jr
On Fri, Jan 24, 2003 at 09:02:40PM -0500, Jameson C. Burt wrote:
> For "Device File System", Debian "devfsd" package,
> how might I test that "devfsd" properly creates files in /dev?
> 
> As a particular example, I work with the Debian "camserv" package,
> so I added to devfsd's configuration file,
>/etc/devfs/devfsd.conf
> the line,
>REGISTER  ^v4l/video0$  CFUNCTION GLOBAL symlink v4l/video0 video0
> When starting "camserv", I get the not so specific error message,
>(V4L) video_open: No such file or directory
> Unfortunately, this message does not specify the problematic file,
> but I get neither the device /dev/v4l/video0 nor /dev/video0.
> So, with several possible sources for this error 
> (camserv, devfsd, devfsd.conf),
> I would like to test that "devfsd" properly creates devices in /dev.
> For example, I would like some testing-tool that my command line 
> ***   some-testing-tool   /dev/video0
> would induce "devfsd" to consider devfsd.conf, then create the following
> device and link,
>/dev/v4l/video0
>/dev/video0  -->  v4l/video0

On my computer devfs is mounted on /dev. To test creation of devices
for my webcam, all I did was modprobe pwc and pwcx and then plug
webcam into usb port. I did not modify any configuration file in
/etc/devfsd. 

A simple "ls -l /dev/v[4i]*" verifies that /dev/video0 symlink and
/dev/v4l/video0 were created when camera was plugged in. There should
also be entries in /var/log/messages when the devices register and
unregister.

> Such a testing-tool would hopefully induce "devfsd" to create 
> any specified device, whether concerning video, audio, or mass-storage.
> *** Does anyone know of such a "devfsd" testing-tool?
> 
> 
> PS:  I would address this question to a devfs email-list, 
>  but the author's email-list site,
> http://oss.sgi.com/projects/devfs/archive
>  no longer exists, and I find no replacement.
> 



-- 
Jerome


msg26086/pgp0.pgp
Description: PGP signature


Re: Apt-get problem with libc

2003-01-24 Thread Jerome Acks Jr
On Fri, Jan 24, 2003 at 01:57:12PM -0700, Curtis Call wrote:
> Disclaimer, I'm a novice so bear with me.  I've run into some problems with
> apt-get.  Currently, when trying to use 'apt-get -f install' to clean things
> up I continue to get this error:
> 
> ogd2jpr6908:/home/curtis# apt-get -f install
> Reading Package Lists... Done
> Building Dependency Tree... Done
> Correcting dependencies... Done
> The following extra packages will be installed:
>   libc6
> The following NEW packages will be installed:
>   libc6
> 0 packages upgraded, 1 newly installed, 0 to remove and 0  not upgraded.
> 1 packages not fully installed or removed.
> Need to get 0B/3191kB of archives. After unpacking 12.4MB will be used.
> Do you want to continue? [Y/n]
> E: Cannot get debconf version. Is debconf installed?
> (Reading database ... 11 files and directories currently installed.)

Since your system reports that only 11 files and directories are
install, /var/lib/dpkg/status is probably badly damaged. I suspect
a damaged filesystem or hardware that is failing. You should
boot into single mode or boot from rescue disk and run fsck on the
partition in which /var is located. After repairing any file system
damage, replace the /var/lib/dpkg/status with a backup. Look in
/var/backups for a recent backup of the status file. The backups will
have names dpkg.status.0 or dpkg.status.[123456].gz.

Good luck.

> Unpacking libc6 (from .../libc6_2.3.1-10_i386.deb) ...
> dpkg not recorded as installed, cannot check for epoch support !
> dpkg: error processing /var/cache/apt/archives/libc6_2.3.1-10_i386.deb
> (--unpack):
>  subprocess pre-installation script returned error exit status 1
> Errors were encountered while processing:
>  /var/cache/apt/archives/libc6_2.3.1-10_i386.deb
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> 
> I noticed that dpkg is complaining that perhaps it isn't installed?  Any ideas
> of how to go about fixing this?
> 
> Thanks
> 
> 

-- 
Jerome


msg26084/pgp0.pgp
Description: PGP signature


Re: Initrd diskless boot

2003-01-24 Thread Jameson C. Burt
I re-emphasize the www.ltsp.org approach. 
In the mid-1990's, I worked with diskless Suns
and also tried making several Debian Linux computers diskless.
After several weeks identifying files I wanted to keep,
sometimes different for each computer,
I abandoned that too-time-consuming approach to diskless computers.

The Linux Terminal Server Project (ltsp) approach greatly simplifies
running computers diskless.
You still must configure your DHCP server (configure one file),
run the package tftpd or atftpd on your server,
configure NFS with permissions to server your diskless computers (one
file on your server),
configure xdm/gdm/kdm to serve your diskless computers (2 files on your
server),
and install the operating system files for your diskless computers (in
/opt with LTSP's packages).
The last part was greatly simplified by LTSP.

With LTSP, your disless Linux GUI terminals let you login to your main
computer, and only by changing the runlevel can you even see your
tranparently running diskless computer (its processes, its mounts, ...).
LTSP's default installation has your diskless computers working like
X-servers, but without software on a local disk.
While you can extend this with LTSP to run software locally,
you increase configuration complexities; eg, you must then
run Network Information Service (NIS) for usernames/passwords
and you must tailor several files for each computer.

Without extra configuration, your local computer can
rather easily get sound off your main computer into your
diskless workstation (if it has a sound card),
by running a daemon without needing full NIS user configuration.
And you can attach a webcam to your workstation,
though I have worked for 2 days trying 
to get someone else's webcam tar files working in Debian.

I bought a diskless workstation 3 weeks ago from a link on ltsp.org,
a workstation the size of your outstretched hand yet having 
audio, USB, parallel, serial, and ethernet ports -- all with 
a 15 watt power supply and no fans.  
Magic.

This LTSP approach gives "wonder",
since so many technical details work so smoothly,
and those diskless workstations work seemingly oddly.


On Thu, Jan 16, 2003 at 08:42:42PM +0100, Tobias Kraus wrote:
> Check www.ltsp.org . This might help you.
> Tobias
> 
> Am Donnerstag, 16. Januar 2003 17:17 schrieb Rodrigo F. Baroni:
> > m needing to set a diskless pc, and I have been
> > studing the initrd procedure.
> >   The idea is to have the read-only directories
> > mounted on nfs, and others one read-write in
> > ram-disks.

-- 
Jameson C. Burt, NJ9L   Fairfax, Virginia, USA
[EMAIL PROTECTED]   http://www.coost.com
(202) 690-0380 (work)



msg26083/pgp0.pgp
Description: PGP signature


Re: Apt-get problem with libc

2003-01-24 Thread David P James
Curtis Call was roused into action on 2003-01-24 15:57 and wrote:

Disclaimer, I'm a novice so bear with me.  I've run into some problems with
apt-get.  Currently, when trying to use 'apt-get -f install' to clean things
up I continue to get this error:

ogd2jpr6908:/home/curtis# apt-get -f install
Reading Package Lists... Done
Building Dependency Tree... Done
Correcting dependencies... Done
The following extra packages will be installed:
  libc6
The following NEW packages will be installed:
  libc6
0 packages upgraded, 1 newly installed, 0 to remove and 0  not upgraded.
1 packages not fully installed or removed.
Need to get 0B/3191kB of archives. After unpacking 12.4MB will be used.
Do you want to continue? [Y/n]
E: Cannot get debconf version. Is debconf installed?
(Reading database ... 11 files and directories currently installed.)
Unpacking libc6 (from .../libc6_2.3.1-10_i386.deb) ...
dpkg not recorded as installed, cannot check for epoch support !
dpkg: error processing /var/cache/apt/archives/libc6_2.3.1-10_i386.deb
(--unpack):
 subprocess pre-installation script returned error exit status 1
Errors were encountered while processing:
 /var/cache/apt/archives/libc6_2.3.1-10_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

I noticed that dpkg is complaining that perhaps it isn't installed?  Any ideas
of how to go about fixing this?



No ideas but I have the exact same problem so you're not alone (and I've 
been using Debian for 2-3 years now). Myself, I was trying to install a 
Mozilla snapshot as it contains a new type of spam filter when I ran 
into this problem.

--
David P. James
4th Year Economics Student
Queen's University
Kingston, Ontario
http://members.rogers.com/dpjames/

The bureaucratic mentality is the only constant in the universe.
-Dr. Leonard McCoy, Star Trek IV


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



Re: umount hdb?

2003-01-24 Thread Nori Heikkinen
on Thu, 23 Jan 2003 07:11:49PM -0500, Stephen Gran insinuated:
> Let's see - I missed the start of this thread, but it looks like a
> couple of things are awry.  Try mount (with no arguments) to see
> what mtab says is mounted.  

it doesn't say anything about hdb7.  neither does catting
/proc/mounts.

> It looks like your / partition (hda5) is still pretty stuffed up -
> I'd try to delete some stuff out of there.  

yeah, it's clogged right now -- suffering from this problem i'm trying
to fix in this thread.  but i've now got enough room to maneuver.

> Also, are you sure you mounted something on /mnt/mikan, or did you
> copy /home there from another disk?  

ohhh, good call.  i bet that's what happened.  yeah, check it out:
having deleted the mount point i made,

orange:/# df -h
FilesystemSize  Used Avail Use% Mounted on
/dev/hda5  93M   25M   63M  29% /
/dev/hda1  29M  2.1M   25M   8% /boot
/dev/hda6 6.0G  1.8G  3.8G  32% /usr
/dev/hda7  30G   28G  1.1G  97% /home
/dev/hda8 465M  408M   33M  93% /var
/dev/hda9 465M   40k  440M   1% /tmp

and mounting the partition i wanted (/dev/hdb7) on a new mountpoint i
created restores it all.  woo-hoo!!  thanks, stephen and all!



-- 
.~.  nori @ sccs.swarthmore.edu 
/V\  http://www.sccs.swarthmore.edu/~nori/jnl/
   // \\  @ maenad.net
  /(   )\   www.maenad.net
   ^`~'^


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




Re: Fwd: Re: fun with tulip not autoloading

2003-01-24 Thread Kent West
Kieren Diment wrote:


From: Kent West <[EMAIL PROTECTED]>
Newsgroups: linux.debian.user
Subject: Re: fun with tulip not autoloading

Kieren Diment wrote:

 

From: Ray <[EMAIL PROTECTED]>
Newsgroups: linux.debian.user
Subject: fun with tulip not autoloading

i'm using
00:10.0 Ethernet controller: Lite-On Communications Inc LNE100TX (rev 21)
and for some reason the tulip module that runs it wont load by default.

I came up with a really ugly hack for this:

Just add the line:

modprobe tulip 

near the top of /etc/init.d/networking 

(before any conditional statements).



 

You're right; that is ugly.

I'd suggest you take the line out of /etc/init.d/networking, and instead 
add the single line

  tulip

to /etc/modules.
   


Well, i was lying slightly.  The driver I had to do this for was
natsemi, and the reason I did it was that placing 
natsemi
in /etc/modules didn't work.  Rather than spending another couple of
hours of my time and my boss's money working out how to do it cleanly,
I simply applied the ugly hack.  I could of course put a conditional
around it for when the module is already loaded, and I probably will
one day unless I can magically work out how to autoload the thing in
the mean time without applying any effort...

 

Ah, makes sense then.

Kent




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



Re: Reconfigure of localepurge has no effect

2003-01-24 Thread Lloyd Zusman
OOPS.  I'm sorry I sent my previous message in this thread to the
mailing list.  I intended to send it to Paul Selig, and forgot to change
the address before typing ^C^C in gnus.
-- 
 Lloyd Zusman
 [EMAIL PROTECTED]


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




Re: Fwd: Re: fun with tulip not autoloading

2003-01-24 Thread Kent West
Kieren Diment wrote:


From: Kent West <[EMAIL PROTECTED]>
Newsgroups: linux.debian.user
Subject: Re: fun with tulip not autoloading

Kieren Diment wrote:

 

From: Ray <[EMAIL PROTECTED]>
Newsgroups: linux.debian.user
Subject: fun with tulip not autoloading

i'm using
00:10.0 Ethernet controller: Lite-On Communications Inc LNE100TX (rev 21)
and for some reason the tulip module that runs it wont load by default.

I came up with a really ugly hack for this:

Just add the line:

modprobe tulip 

near the top of /etc/init.d/networking 

(before any conditional statements).



 

You're right; that is ugly.

I'd suggest you take the line out of /etc/init.d/networking, and instead 
add the single line

  tulip

to /etc/modules.
   


Well, i was lying slightly.  The driver I had to do this for was
natsemi, and the reason I did it was that placing 
natsemi
in /etc/modules didn't work.  Rather than spending another couple of
hours of my time and my boss's money working out how to do it cleanly,
I simply applied the ugly hack.  I could of course put a conditional
around it for when the module is already loaded, and I probably will
one day unless I can magically work out how to autoload the thing in
the mean time without applying any effort...

 

Ah, makes sense then.

Kent




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



Re: Reconfigure of localepurge has no effect

2003-01-24 Thread Lloyd Zusman
> [ ... ]
>
> Would you please run "script /tmp/localepurge.typescript" (the command
> /usr/bin/script is part of the bsdutils package) and within this very
> script session run first "localepurge -d", then "dpkg-reconfigure
> localepurge", and then again "localepurge -d". After that, exit the
> session and please send me the resulting "/tmp/localepurge.typescript"
> (preferably g'zipped ;) along with the separate output of the command
> "dpkg -l "*" | grep ^ii" to "[EMAIL PROTECTED]".
>
> This would be most helpful helpful to find out what goes wrong!
>
>  Thanks, P. *8^)

No problem.  I'm glad to help you with this.  Attached are
"typescript.gz" with the script output, and "grep.gz" with the grepped
output of dpkg (the exact command sequence you specified).

I hope this helps.

Also, if you'd like me to run any more tests, feel free to let me know,
as I'm glad to help you debug this.  I've had years of Unix experience,
and so I know all about 'script' and all sorts of other tools.

Sincerely,

- Lloyd




typescript.gz
Description: typescript


grep.gz
Description: grep


-- 
 Lloyd Zusman
 [EMAIL PROTECTED]



DEVFS, howto test creation of devices in /dev?

2003-01-24 Thread Jameson C. Burt
For "Device File System", Debian "devfsd" package,
how might I test that "devfsd" properly creates files in /dev?

As a particular example, I work with the Debian "camserv" package,
so I added to devfsd's configuration file,
   /etc/devfs/devfsd.conf
the line,
   REGISTER  ^v4l/video0$  CFUNCTION GLOBAL symlink v4l/video0 video0
When starting "camserv", I get the not so specific error message,
   (V4L) video_open: No such file or directory
Unfortunately, this message does not specify the problematic file,
but I get neither the device /dev/v4l/video0 nor /dev/video0.
So, with several possible sources for this error 
(camserv, devfsd, devfsd.conf),
I would like to test that "devfsd" properly creates devices in /dev.
For example, I would like some testing-tool that my command line 
***   some-testing-tool   /dev/video0
would induce "devfsd" to consider devfsd.conf, then create the following
device and link,
   /dev/v4l/video0
   /dev/video0  -->  v4l/video0
Such a testing-tool would hopefully induce "devfsd" to create 
any specified device, whether concerning video, audio, or mass-storage.
*** Does anyone know of such a "devfsd" testing-tool?


PS:  I would address this question to a devfs email-list, 
 but the author's email-list site,
http://oss.sgi.com/projects/devfs/archive
 no longer exists, and I find no replacement.

-- 
Jameson C. Burt, NJ9L   Fairfax, Virginia, USA
[EMAIL PROTECTED]   http://www.coost.com
(202) 690-0380 (work)



msg26076/pgp0.pgp
Description: PGP signature


Re: Memory usage on debian

2003-01-24 Thread Colin Watson
On Fri, Jan 24, 2003 at 05:53:19PM -0500, Jason McCarty wrote:
> So, I understand the output of "free" and all that, but can anyone
> explain the behavior shown below? This after my computer has been up for
> a couple hours, doing very little. It usually shows this behavior,
> especially if I've run a lot of programs first. It seems like memory is
> being reclaimed from somewhere (kernel data? X11?) without free knowing
> about it.
> 
>   quaternion:~$ free
>total   used   free sharedbuffers cached
>   Mem:256104 251680   4424  0  67536  66640
>   -/+ buffers/cache: 117504 138600
>   Swap:0  0  0
>   quaternion:~$ ./src/crap 
>   zsh: killed ./src/crap
>   quaternion:~$ free
>total   used   free sharedbuffers cached
>   Mem:256104  59900 196204  0   6828  13932
>   -/+ buffers/cache:  39140 216964
>   Swap:0  0  0

The usual cause of this one is as follows: to start with, you have a
fairly quiet system with lots of data in the kernel's cache - see the
'buffers' and 'cached' entries - held there against the possibility that
it will be needed in the future. Then you run a program that asks for a
lot of memory. A program running now is of course more important than
data cached for the future, so, when it runs out of other memory to
allocate, the kernel throws that data away and gives the reclaimed
memory to your program. In fact, it eats through about 78Mb of the cache
like this before it exits.

When the program does finally exit, it hasn't really done anything
cacheable: the kernel can cache the executable itself, but nothing else.
Therefore, it just frees up all the formerly-cached memory your program
munched through. As time goes on, you'll probably see the count of used
memory start to swing back towards the previous steady state.

Cheers,

-- 
Colin Watson  [[EMAIL PROTECTED]]


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




Re: Some myths regarding apt pinning

2003-01-24 Thread Lloyd Zusman
Erik Steffl <[EMAIL PROTECTED]> writes:

> [ ... ]
>
>but the point is that pinning is not very good because you either
>bring a number of important packages from unstable (libc6, perl etc)
>or you simply cannot use it. reading of the manual page and checking
>the apt-listchanges does not solve the problem. i.e. you recommend
>pinning, person reads the manpage, tries pinning and finds out that
>it was pretty much pointless excercise because it would upgrade large
>part of the system to unstable. or yet another wording: Adrian Bunk
>wasn't complaining about system actually upgrading packages but about
>system trying to upgrade packages.
>
>   erik

I want to be sure that I understand the significance of this.  Are you
saying that pinning a certain package, say "randompackage", to
"unstable" in /etc/apt/preferences is worse than doing this the first
time that "randompackage" is installed? ...

  apt-get -t unstable install randompackage

Or do these two methods have equally undesirable effects?


-- 
 Lloyd Zusman
 [EMAIL PROTECTED]


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




Re: Some myths regarding apt pinning

2003-01-24 Thread Russell
Erik Steffl wrote:

Adrian 'Dagurashibanipal' von Bidder wrote:


On Fre, 2003-01-24 at 14:59, Adrian Bunk wrote:


Since some people seem to thing apt pinning can solve all problems 
with outdated packages in stable I want to explain why this is wrong:

apt pinning is good if you are running testing but need a package (e.g.
a security update) from unstable.

There are people that use apt pinning to install packages from 
unstable on a woody system. This is bad because nearly every 
installation of a package from unstable pulls a new libc6 and it's 
also possible that it pulls a new Perl and Python. Then some _very_ 
essential components of your system are upgraded to the potentially 
more buggy versions in unstable.



apt-get tells you beforehand exactly what it's going to do.
apt-listchanges even shows you the changelogs so you have a very late
point of no return. I claim everybody who accidently upgraded perl
deserves it.

The only thing that could be better is perhaps that apt-get should
display what it's going to install in terms of ... NEW packages ...
perl/unstable or so.
I often recommend apt pinning if somebody asks about installing woody
but wanting newre packages. I'd expect that reading a man page and
thinking about what one is going to do is something that everybody
learns to do on a unixy system.



  but the point is that pinning is not very good because you either 
bring a number of important packages from unstable (libc6, perl etc) or 
you simply cannot use it. reading of the manual page and checking the 
apt-listchanges does not solve the problem. i.e. you recommend pinning, 
person reads the manpage, tries pinning and finds out that it was pretty 
much pointless excercise because it would upgrade large part of the 
system to unstable. or yet another wording: Adrian Bunk wasn't 
complaining about system actually upgrading packages but about system 
trying to upgrade packages.

Another way to install the odd package from testing or unstable is to
download the *.deb package with a browser download, then use dpkg -i.


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



RE: xwindows

2003-01-24 Thread Bob Wheate
i got it working late last nite,im new to debian and the install was
different from other flavors,how ever once i got it working i enjoy "woody"
a lot,i'm led to believe that the kernel is 2.2.x,is that correct ?,any way
thanks for the reply,my internet access is limited.

bob w.

-Original Message-
From: Bas Zoetekouw [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 24, 2003 9:32 AM
To: Bob Wheate
Cc: '[EMAIL PROTECTED]'; [EMAIL PROTECTED]
Subject: Re: xwindows


Hi Bob!

You wrote:

> i successfully installed debian,how do you start xwindows ?

Normally, X is started with the command "startx". Alternatively, you can
install a so-called display manager (like wdm or kdm), which will start
X and present you with a nice login window.

BTW: this list (debian-project) is meant for (non-technical) discussions
about the Debian project.  You should direct your user questions to the
debian-user mailing list (http://lists.debian.org/debian-user/)

-- 
Kind regards,
++
| Bas Zoetekouw  | GPG key: 0644fab7 |
|| Fingerprint: c1f5 f24c d514 3fec 8bf6 |
| [EMAIL PROTECTED], [EMAIL PROTECTED] |  a2b1 2bae e41f 0644 fab7 |
++ 


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




Re: Error instaling xserver-xfree86 !!

2003-01-24 Thread Russell
Paladin wrote:

Hi,

With the objective of changing a fs from ext3 to reiserfs, I've
managed to loose all the /usr files (tar seems to have failed the
backup! :/). So, after a great amount of work I have the system
almost working, but I have this problem with xserver-xfree86
package:


...

Unpacking xserver-xfree86 (from
.../xserver-xfree86_4.2.1-3_i386.deb) ...
dpkg: error processing
/var/cache/apt/archives/xserver-xfree86_4.2.1-3_i386.deb (--unpack):
 unable to create `./usr/X11R6/lib/modules/extensions/libGLcore.a':
No such file or directory


I'd try un-installing *all* X system components then re-install.


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



Re: Mapping eth0 two ways

2003-01-24 Thread Hugh Saunders
On Fri, Jan 24, 2003 at 08:22:32PM +, Soren A wrote:
> One thing I need to achive, that is failing apparently, is assigning a
> different MAC address to my NIC than the one 'hard-coded' in or
> automatic to, that card. The reason being of course that my cable
> provider tracks MACs and won't allow connection by a new system (as
> sensed by a different MAC address). But it seems like the card isn't
> accepting the change, even though the HOWTOs and docus seem to say that
> most cards will: 
> 
>   root$ifconfig eth0 down
>   root$ifconfig eth0 [IP] netmask [NETMASK] hw ether AB:CD:EF:01:02:03 [up]
> 
> If anyone can see what I might be doing wrong in that command above please 
> help me out!
the following works for me:
ifconfig eth0 [inet] 192.168.0.6 netmask 255.255.255.0 hw ether  AB:CD:EF:01:02:03 [up]
with our without the inet and the up.

anni:/home/hugh# ifconfig 
eth0  Link encap:Ethernet  HWaddr AB:CD:EF:01:02:03  
  inet addr:192.168.0.6  Bcast:192.168.0.255  Mask:255.255.255.0

find it much easier to put these details in /etc/network/interfaces

what error do you get? or does ifconfig still show the orig. mac
address?

hugh


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




openssl Illegal instruction with sid version

2003-01-24 Thread Mark Devin
I am not sure if this is a bug or I just don't have things installed
correctly.  I have just installed the sid version of openssl and its
required dependencies with:
apt-get -t unstable install openssl

But the perl script CA.pl that came with openssl didn't seem to work on
my system.

When I did:
cd /usr/lib/ssl/misc
./CA.pl -newca

It created the demoCA directory but didn't ask me the usual questions
and didn't generate any keys.

Then upon reading through the perl script I tried running the command
directly:
openssl req -new -x509 -keyout demoCA/private/cakey.pem -out
demoCA/cacert.pem -days 3650
Illegal instruction

So then I tried running:
openssl version
Illegal instruction

I then tried the following on another machine running the testing
version and got:
openssl version
OpenSSL 0.9.6g 9 Aug 2002

So I figure that there is a problem with the sid version of openssl on
my system.

I have both libc6 and libssl0.9.7 from unstable.

Does anyone have any idea what I should check next?

Regards.
Mark.


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




Nullmailer problems.

2003-01-24 Thread donw
I've been using nullmailer for quite some time with nary a hitch, but
it looks like it's just sort-of stopped relaying messages; apparently
this happened a few weeks ago, and I never noticed it as I usually end
up using my work email address for everything.

Whenever I try to flush the queue by hand, I get the following:

Sending failed: Permanent error in sending the message

Useful, eh?  I've tested that I can manually telnet to the SMTP port on
the remote mailserver and relay messages through...any ideas?

-- 
Don Werve <[EMAIL PROTECTED]> (Unix System Administrator)

Yorn desh born, der ritt de gitt der gue,
Orn desh, dee born desh, de umn bork! bork! bork!


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




Re: IDE for java

2003-01-24 Thread Benedict Verheyen
A lot of good suggestions from a lot of people.
Time to improve my java program building time!

-- 
Benedict Verheyen 
Linux 2.4.20 AMD Athlon(tm) Processor AuthenticAMD GNU/Linux


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




Re: locales fr_CA

2003-01-24 Thread Emma Jane Hogbin
On Fri, Jan 24, 2003 at 05:07:04AM -0500, Mark L. Kahnt wrote:
> Typing:
> $ locate LC_CTYPE
> on my system yields:
> /usr/lib/locale/fr_CA/LC_CTYPE

Which is great, but when I type LC_CTYPE I find nothing. I'm sorry that
wasn't clear in my first email. :/ Which libc and libc-dev packages are
you using?

debian:/home/emmajane# apt-get install locales
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
  libc6 libc6-dev 

debian:/home/emmajane# dpkg-reconfigure locales
Generating locales...
en_CA.ISO-8859-1... done
en_US.ISO-8859-1... done
en_US.UTF-8... done
fr_CA.ISO-8859-1... done
fr_FR.ISO-8859-1... done
fr_FR.UTF-8... done
[EMAIL PROTECTED] done
Generation complete.
debian:/home/emmajane# updatedb
debian:/home/emmajane# locate LC_CTYPE
debian:/home/emmajane# 

When I do the same thing on my server (woody stable using the same apt-get
install locale...except that it's stable) I get the following when I
update the locales:

Generating locales...
  en_CA.ISO-8859-1... done
en_US.UTF-8... done
  fr_CA.ISO-8859-1... done
  Generation complete.
  emma@medusa:~$ sudo updatedb
  emma@medusa:~$ locate LC_CTYPE  
  /usr/lib/locale/en_CA/LC_CTYPE
  /usr/lib/locale/en_US.utf8/LC_CTYPE
  /usr/lib/locale/fr_CA/LC_CTYPE
  

What's up with that?

-- 
Emma Jane Hogbin
[[ 416 417 2868 ][ www.xtrinsic.com ]]


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




Re: Reconfigure of localepurge has no effect

2003-01-24 Thread Paul Seelig
[EMAIL PROTECTED] (Lloyd Zusman) writes:

> And I've run the localepurge reconfiguration repeatedly, each time this
> message comes up, but it never seems to have any effect.
> 
> Any ideas?
> 
> Thanks in advance.
> 
> Here's the message that I get:
> 
>   localepurge: checking for new locale files ...
>   Some new locales have appeared on your system:
> 
>   mn
> 
>   They will not be touched at all until you reconfigure localepurge
>   with the following command:
> 
>   dpkg-reconfigure localepurge
> 
I have two bug reports pending complaining about exactly the
same. Unfortunately i simply find no way how to reproduce this
behaviour. On my machines localepurge simply does what i've written it
for.

Since the two bug reporters still didn't seem to be able to provide me
with any useful information other than describing the symptoms, maybe
you could help me:

Would you please run "script /tmp/localepurge.typescript" (the command
/usr/bin/script is part of the bsdutils package) and within this very
script session run first "localepurge -d", then "dpkg-reconfigure
localepurge", and then again "localepurge -d". After that, exit the
session and please send me the resulting "/tmp/localepurge.typescript"
(preferably g'zipped ;) along with the separate output of the command
"dpkg -l "*" | grep ^ii" to "[EMAIL PROTECTED]".

This would be most helpful helpful to find out what goes wrong!

 Thanks, P. *8^)


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




Fwd: Re: fun with tulip not autoloading

2003-01-24 Thread Kieren Diment
From: Kent West <[EMAIL PROTECTED]>
Newsgroups: linux.debian.user
Subject: Re: fun with tulip not autoloading

Kieren Diment wrote:

>>From: Ray <[EMAIL PROTECTED]>
>>Newsgroups: linux.debian.user
>>Subject: fun with tulip not autoloading
>>
>>i'm using
>>00:10.0 Ethernet controller: Lite-On Communications Inc LNE100TX (rev 21)
>>and for some reason the tulip module that runs it wont load by default.
>>
>>I came up with a really ugly hack for this:
>>
>>Just add the line:
>>
>>modprobe tulip 
>>
>>near the top of /etc/init.d/networking 
>>
>>(before any conditional statements).
>>
>>  
>>
>You're right; that is ugly.
>
>I'd suggest you take the line out of /etc/init.d/networking, and instead 
>add the single line
>
>tulip
>
>to /etc/modules.

Well, i was lying slightly.  The driver I had to do this for was
natsemi, and the reason I did it was that placing 
natsemi
in /etc/modules didn't work.  Rather than spending another couple of
hours of my time and my boss's money working out how to do it cleanly,
I simply applied the ugly hack.  I could of course put a conditional
around it for when the module is already loaded, and I probably will
one day unless I can magically work out how to autoload the thing in
the mean time without applying any effort...

-- 
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: Desktop productivity with Debian GNU/LINUX

2003-01-24 Thread Eduard Bloch
#include 
* Karsten M. Self [Thu, Jan 23 2003, 03:05:20AM]:
> > over the last year or so the lack of home windows use has atrophied
> > those skills somewhat, epecially with XP stuff.
> 
> Heh.
> 
> I'm still embarassed by my ability to troubleshoot legacy MS Windows
> issues based on my GNU/Linux understanding of what's going on.  Useful?
> Perhaps.  But not the sort of thing you actually want to *advertise*.

Exactly. You loose the sence for such pervert kind of semi-technical
problems that may appear in the Windows environment. You begin to laugh
at some solution strategies known by Windows evangelists, and on the
other hand, your mind refuses to accept unlogical relations in the
Windows concepts.

Gruss/Regards,
Eduard.
-- 
Nicht rumn�rgeln, besser machen.
-- Klaus Knopper


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




Re: bash, but no .bashrc??

2003-01-24 Thread David Dumortier
Hello

aloow line . .bashrc on Ur's .bashr-profile or .rpofile file !

David Dumoerize


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




Re: hard crash despite UPS

2003-01-24 Thread W Klink
I use the powstatd package with my APC BackUPS 500.  The real advantage
that it offers is that you can run "powstatd -t" and see what signals
the UPS sends.

It's also a good idea when testing the UPS to *not* plug the computer
into the UPS.  Instead, just plug in a lamp into the UPS.

Another advantage of powstatd is that one machine can be configured as
a master machine and send signals to other machines on the network.
I have a second machine with a "dumb" UPS.  This won't help me if
there is a problem unique to the second UPS, but the most common problem
I have is power outages during electrical storms.  When the power goes
out for long enough, the master machine tells all machines to shutdown.

Similarly, if I only had a power problem on the primary UPS the second
machine may not really need to shut down, but the primary machine is the
NFS server for the /home filesystem, so if it goes down, the others should
as well...

Anyways, my powstatd.conf on the master machine is:

# Watch /dev/ttyS0
watch ttyS0
# CTS goes low when mains fail.
# OK
fail cts 1
# RTS goes low when battery is too low.
# Unknown
low dsr 1
# DTR must be set low at initialization.
init rts 0
init dtr 0
# DTR is initially set low; pulling it high causes UPS to turn off if main
# power is gone.
init dtr 0
kill dtr 1


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



Re: Some myths regarding apt pinning

2003-01-24 Thread Erik Steffl
Adrian 'Dagurashibanipal' von Bidder wrote:

On Fre, 2003-01-24 at 14:59, Adrian Bunk wrote:


Since some people seem to thing apt pinning can solve all problems with 
outdated packages in stable I want to explain why this is wrong:

apt pinning is good if you are running testing but need a package (e.g.
a security update) from unstable.

There are people that use apt pinning to install packages from unstable 
on a woody system. This is bad because nearly every installation of a 
package from unstable pulls a new libc6 and it's also possible that it 
pulls a new Perl and Python. Then some _very_ essential components of 
your system are upgraded to the potentially more buggy versions in 
unstable.


apt-get tells you beforehand exactly what it's going to do.
apt-listchanges even shows you the changelogs so you have a very late
point of no return. I claim everybody who accidently upgraded perl
deserves it.

The only thing that could be better is perhaps that apt-get should
display what it's going to install in terms of ... NEW packages ...
perl/unstable or so. 

I often recommend apt pinning if somebody asks about installing woody
but wanting newre packages. I'd expect that reading a man page and
thinking about what one is going to do is something that everybody
learns to do on a unixy system.

  but the point is that pinning is not very good because you either 
bring a number of important packages from unstable (libc6, perl etc) or 
you simply cannot use it. reading of the manual page and checking the 
apt-listchanges does not solve the problem. i.e. you recommend pinning, 
person reads the manpage, tries pinning and finds out that it was pretty 
much pointless excercise because it would upgrade large part of the 
system to unstable. or yet another wording: Adrian Bunk wasn't 
complaining about system actually upgrading packages but about system 
trying to upgrade packages.

	erik


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



Re: Memory usage on debian

2003-01-24 Thread Jason McCarty
So, I understand the output of "free" and all that, but can anyone
explain the behavior shown below? This after my computer has been up for
a couple hours, doing very little. It usually shows this behavior,
especially if I've run a lot of programs first. It seems like memory is
being reclaimed from somewhere (kernel data? X11?) without free knowing
about it.

  quaternion:~$ free
   total   used   free sharedbuffers cached
  Mem:256104 251680   4424  0  67536  66640
  -/+ buffers/cache: 117504 138600
  Swap:0  0  0
  quaternion:~$ ./src/crap 
  zsh: killed ./src/crap
  quaternion:~$ free
   total   used   free sharedbuffers cached
  Mem:256104  59900 196204  0   6828  13932
  -/+ buffers/cache:  39140 216964
  Swap:0  0  0

For this test, I've turned off swap, and "crap" is a program that just
does "while (1) malloc(1000);". Note that apparent memory usage dropped
from 117M to 39M. Any explanations?

PS, please CC me on replies.

Thanks,

  Jason


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




Re: vsound issue - a return

2003-01-24 Thread Curtis Vaughan
 I removed the -d and it worked.

Thanks to those who replied.



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



Re: sed

2003-01-24 Thread Rob Benton
How about

sed 's/^[^+]*\+-//g' SOMEFILE.TXT

I think your + needs to be escaped via \


On Fri, 2003-01-24 at 06:04, behapy wrote:
> Hi?
> 
> kdjwiskjkdf+-www.kde.org+-333.kjkd.html
> kdjfwiwji+-kbs.co.kr+-cgi-bin+-kkk.cgi
> kdjfwiwji+-kbs.co.kr+-cgi-bin+-kk2.cgi
> 
> =>
> 
> www.kde.org+-333.kjkd.html
> kbs.co.kr+-cgi-bin+-kkk.cgi
> kbs.co.kr+-cgi-bin+-kk2.cgi
> 
> I'd like to remove the first words everyliles ~+-
> 
> sed -e 's/^*+-//g' SOMEFILE.TXT don't work.
> How do I do?
> 
> Thanks,
> GGG


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




Re: bash, but no .bashrc??

2003-01-24 Thread Johannes Zarl

>  If I explicitely invoke bash (typing 'bash' at the shell), .bashrc is
> executed properly, but if I simply log in (locally or remotely), it
> doesn't happen.  Can anyone explain what is going on here?

When bash is invoked as login-shell, it executes the commandos 
in.bash_profile, if that exists (if not it searches for .bash_login and 
finally for .profile). .bashrc is not being looked at.

To enable processing of your .bashrc, simply comment out the following 
lines in your .bash_profile:
## include .bashrc if it exists:
#if [ -f ~/.bashrc ]; then
#source ~/.bashrc
#fi

greetings, 
  Johannes Zarl
-- 
"More than machinery we need humanity" -- Charlie Chaplin, The Great 
Dictator


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




Re: Debian Proxy

2003-01-24 Thread David Dumortier
Helo

> Does anyone know if it is possible to configure Windows Explorer(Latest
> Ver.) using the proxy settings rather than setting debian as the default
> gateway and pointing to my ISP's DNS server? I am new to using this OS. I am
> trying to get away from using my Win2k workstation as a proxy server(I am
> currently using Proxy+).

At somebody's said try apt-get install kernel-package.
If your's a newbye on kernel-recompiling I can help you (kernel vompile need
some habits' but is easy, after somes hours ;-)) !!!

David Dumortier


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




Re: USB Printer Problem - Partial Fix

2003-01-24 Thread Thomas H. George
On Fri, Jan 24, 2003 at 10:53:56AM -0500, Stephen Gran wrote:
> You'll want to use the gimp-print drivers for cups - they work very
> nicely with Epson printers.

Yes and No.  Installed gimp and gimpprint-doc.  Followed instructions
and printer worked perfectly printing a picture.

Installed cupsys-driver-gimpprint.  Test prints print the color hexagon
but no text. Where are the fonts?  apt-cache search gimp|grep font
doesn't find any.
> 
> -- 
>  --
> |  Stephen Gran  | Love is never asking why?   |
> |  [EMAIL PROTECTED] | |
> |  http://www.lobefin.net/~steve | |
>  --



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




squid: idnsCheckQueue: ID 5: giving up after 1 tries and 4295.4 seconds

2003-01-24 Thread Hans Wilmer
Hi!

>From time to time, in unregular intervals, squid seems to be unable to
access remote http servers. I can try to reload a page, but at best
the page is loaded partly, but mott not at all.

When this happens, there's a message in syslog:


squid[26681]: idnsCheckQueue: ID 5: giving up after 1 tries and 4295.4 seconds


There's no timeout before that message appears and the requested page
cannot be loaded. After the message appears the first time, squid
produces a CPU load of up to 20%, even when no clients are connected
and squid seems to do nothing. Restarting squid doesn't help; I have
to reboot the server to get it running again. For some time it runs
just fine then until that error message appears.

The best hint I've found so far is that there could be some problem
with DNS, but it was to no avail because DNS just works fine, doing
all name lookups and reverse lokups without any problem or delay.

Has anybody any idea what might cause this strange behaviour and how I
could solve the problem? Some obscure timing problem maybe?


squid Version 2.4.STABLE6, on Woody, kernel 2.4.18

GH


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




Re: diskspace error in /tmp

2003-01-24 Thread David Dumortier
Hello

> files in other places.  Any hints?  

One !!!
Try anothere OS ... and die !! ;-))

> more info (cat of fstab, du of /tmp):
> /dev/hda1   /   ext3errors=remount-ro   0   1

df is more usuable !

> du of /tmp:
> matt@anarres://$ sudo du /tmp
> 4   /tmp/.X11-unix
> 4   /tmp/.font-unix
> 4   /tmp/ssh-XXtzyXgi
> 456 /tmp/kde-matt
> 8   /tmp/ksocket-matt
> 4   /tmp/.ICE-unix
> 8   /tmp/mcop-matt
> 8   /tmp/orbit-root
> 8   /tmp/orbit-matt
> 4   /tmp/ksocket-root
> 740 /tmp

df / is more usuable but think U need mor space on /tmp ! mzke a whole
patition for it (ext2 don't ned journal !)

David Dumortier


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




Re: bash, but no .bashrc??

2003-01-24 Thread Colin Watson
On Fri, Jan 24, 2003 at 03:52:53PM -0500, Andy Estes wrote:
> I am running Debian Woody (3.0r1).  The default shell for my user account is
> bash, and I can verify this by typing 'ps' once I am logged on.  However,
> the contents of my .bashrc do not get executed by default.

Uncomment the three lines in the default ~/.bash_profile that source
~/.bashrc; you'll see them. The reason this doesn't happen automatically
is that some people like to keep login and non-login shells with
separate startup files, while some people prefer them to be the same.
See the INVOCATION section of 'man bash' for more.

Cheers,

-- 
Colin Watson  [[EMAIL PROTECTED]]


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




Error instaling xserver-xfree86 !!

2003-01-24 Thread Paladin
Hi,

With the objective of changing a fs from ext3 to reiserfs, I've
managed to loose all the /usr files (tar seems to have failed the
backup! :/). So, after a great amount of work I have the system
almost working, but I have this problem with xserver-xfree86
package:


Reading Package Lists... Done
Building Dependency Tree... Done
The following NEW packages will be installed:
  xserver-xfree86 
0 packages upgraded, 1 newly installed, 0 to remove and 0  not
upgraded.
Need to get 0B/3995kB of archives. After unpacking 11.5MB will be
used.
Preconfiguring packages ...
(Reading database ... 47074 files and directories currently
installed.)
Unpacking xserver-xfree86 (from
.../xserver-xfree86_4.2.1-3_i386.deb) ...
dpkg: error processing
/var/cache/apt/archives/xserver-xfree86_4.2.1-3_i386.deb (--unpack):
 unable to create `./usr/X11R6/lib/modules/extensions/libGLcore.a':
No such file or directory
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/xserver-xfree86_4.2.1-3_i386.deb
localepurge: checking for new locale files ...
localepurge: processing locale files ...
localepurge: processing man pages ...
E: Sub-process /usr/bin/dpkg returned an error code (1)

I used dpkg-deb -x to extract the files so that I can use X, but
still I'm having troubles installing packages because of unmet
dependencies... Any help would be welcome!

Thanks,

---
Paladin


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




Re: Installing on a FACELESS pc?

2003-01-24 Thread Carel Fellinger
On Fri, Jan 24, 2003 at 04:40:05PM +, Pigeon wrote:
> On Fri, Jan 24, 2003 at 03:33:19PM +0100, Carel Fellinger wrote:
...
> > To be serious again, what's really lacking to get headless machines
> > to fully work is lack of support in most (all?) BIOS'ses to use a
> > serial line instead of directly attached monitor and keyboard.
> > If your motherboard is supported the LinuxBIOS might solve that one.
> 
> You could make an adapter with a few resistors and diodes to drive the
> keyboard input of a PC from the parallel or serial port of another
> machine. You'd be typing blind though. You'd have to give an exact
> script to get the Debian installer to the point where the network
> interface is running. OK if nothing goes wrong.

Maybe, just maybe this would allow you to alter BIOS settings, but it
certainly wouldn't make it possible to react to BIOS warnings, like
when your S.M.A.R.T.-enabled harddrive yelled ALARM, or any other
failure your BIOS deals with prior to linux taking over:(

-- 
groetjes, carel


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




Re: Upgrade 3.0beta->3.0r0->3.0r1 with buggy behaviour ?

2003-01-24 Thread David Dumortier
Hello

try apt-get install apt

and try anothere time apt-get dist-upgrade !!!

Solution for my system !


David Dumortier


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




Re: debian woody beside suse

2003-01-24 Thread David Dumortier
Hello

get W$ and try !!!

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


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




Re: bash, but no .bashrc??

2003-01-24 Thread Steve Juranich
On 24 January 2003 at 15:52,
"Andy Estes" <[EMAIL PROTECTED]> wrote:

> I am running Debian Woody (3.0r1).  The default shell for my user account is
> bash, and I can verify this by typing 'ps' once I am logged on.  However,
> the contents of my .bashrc do not get executed by default.  If I explicitely
> invoke bash (typing 'bash' at the shell), .bashrc is executed properly, but
> if I simply log in (locally or remotely), it doesn't happen.  Can anyone
> explain what is going on here?

You need to read the bash man page. Specifically, the section labelled 
"INVOCATION".

--
Stephen W. Juranich [EMAIL PROTECTED]
Electrical Engineering http://students.washington.edu/sjuranic
University of Washingtonhttp://ssli.ee.washington.edu/ssli



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




Re: Newbie question: compiling specific 3com NIC drivers

2003-01-24 Thread David Dumortier
Hello

> > /usr/include/linux/malloc.h:4: warning: #warning linux/malloc.h is 
> > deprecated, use linux/slab.h instead.

[warning] only truly data !!!
Are U one a multii-proc ?
no ; every things are tru !!!
yes : can't say it ! perharps no problems (run a 3com like yours, send lspci
results and .config I hope I can reply !)))

David Dumortier


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




Re: dhclient-script, debug-enter, debug-exit

2003-01-24 Thread David Dumortier
Hello

Be blurzd and we don't understand 

David Dumortier


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




Re: bash, but no .bashrc??

2003-01-24 Thread Seneca
On Fri, Jan 24, 2003 at 03:52:53PM -0500, Andy Estes wrote:
> I am running Debian Woody (3.0r1).  The default shell for my user account is
> bash, and I can verify this by typing 'ps' once I am logged on.  However,
> the contents of my .bashrc do not get executed by default.  If I explicitely
> invoke bash (typing 'bash' at the shell), .bashrc is executed properly, but
> if I simply log in (locally or remotely), it doesn't happen.  Can anyone
> explain what is going on here?

Take a look at ~/.bash_profile. ~/.bashrc is used for non-login shells.

-- 
Seneca
[EMAIL PROTECTED]


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




RE: Kernel Compile Issue SOLVED

2003-01-24 Thread Michael Kahle
See below for information.  This is now solved.  The problem was that I
didn't have CONFIG_FILTER compiled into my kernel.  I don't get why this is
nessessary.

Thanks.

Michael

> -Original Message-
> From: Michael Kahle [mailto:[EMAIL PROTECTED]] 
> Sent: Friday, January 24, 2003 10:16 AM
> To: [EMAIL PROTECTED]
> Subject: RE: Kernel Compile Issue
> 
> 
> > > The new kernel boots fine, but eth0 no longer can get an 
> IP.  lsmod
> > > says that I have no modules loaded.  I double checked to 
> > ensure that I
> > > didn't build this into the kernel and I did!  So I did the same
> > > process a second time, same deal only this time I made 
> sure that I 
> > > specified my NIC to load as a module.  No dice, it is still built 
> > > right into the kernel.  Now I guess I don't really care if 
> > it is, the
> > > problem is that I can't get an IP from DHCP.  I tried:
> > 
> > Wait, so you built the module and it's not loaded, or you
> > build the driver directly into the kernel?  Did you quit 
> > menuconfig or xconfig with "Save settings and exit?"
> 
> Sorry I wasn't very clear here.  I wanted to load the 
> ethernet card as a module.  I thought that is what I had done 
> when I built the first kernel. But because I could not see 
> any modules with lsmod and mod probe, I went back to 
> menuconfig to check if I bult the ethernet card into the 
> kernel.  As it turnes out, I did.  So I rebult the kernel, 
> this time ensuring that I selected my NIC as a module.  After 
> compiling and installing I rebooted, same problem.  That is, 
> the NIC was still part of the kernel and NOT a module.  Worse 
> yet, it didn't grab an IP.
> 
> > 
> > I strongly reccommend modules for everything other than the
> > filesystem and disk controller you boot off of, as it can 
> > make life easier resetting tempermental devices and tends to 
> > give you a smaller, faster kernel, among other ease of use 
> > issues.  It's not the most intuitive thing in the world at 
> > first, but once you get the hang of it it becomes quite simple.
> 
> I wholeheartedly agree.  I haven't had a problem like this in 
> the past. Just this time.
> 
> > 
> > > ifdown eth0
> > > ifup eth0
> > > dhclient eth0
> > 
> > Restart networking with /etc/init.d/networking restart
> > instead, if you got an IP address before and you haven't 
> > changed /etc/network/interfaces, it'll shut down all 
> > interfaces and bring them back up and try to do DHCP again.
> 
> I tried this, to no avail.  Still can't get an IP.
> 
> > 
> > > None of these things give me an IP.  What am I missing.  
> You can be
> > > sure that I have tested everything out, i.e. good cable, 
> laptop can 
> > > get an ip from same port on switch, computer is plugged in etc.
> > 
> > In your kernel config, do you have CONFIG_FILTER=y ?
> 
> The only line that has CONFIG_FILTER in it is commented out.  
> I see: # CONFIG_FILTER is not set
> 
> > You can check by looking in /boot/config-(version), for
> > example on my system, /boot/config-2.4.20  (Hint:  You can 
> > pick up the settings you left off in menuconfig or xconfig by 
> > using the Load Configuration from file option)
> 
> Thanks so much for your help.
> 
> Michael
> 
> 
> -- 
> 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: regexp help

2003-01-24 Thread David Dumortier
Hello

don't forget Morgan's laws(rexep xould obey them) not (X and Y) = not X or
not Y.

Have fun with Linux and logic's laws !

David Dumortier


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




Re: Problems with own 2.4.18

2003-01-24 Thread David Dumortier
hello

> I have 4 dlink cards with this chip. The two newest cards will NOT work 
> with the 2.4.18 drivers and the drivers from dlink will not compile on a 
> 2.4.x kernel. Don't know if later kernels have a revised driver that will 
> work or not. Did not have time to figure out what was going on myself and 
> just used another card. I think dlink changed the ID numbers the PCI bus 
> sees on the later models. Perhaps you are caught up in something like this?

Just compile as modules, can be kernel linking but don't have link in memory
... sory !!! static link in kernel does detect only first network card !!!

Try modules !!!

David Dumortier


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




Re: bash, but no .bashrc??

2003-01-24 Thread Stephen Rueger
On Fri, Jan 24, 2003 at 03:52:53PM -0500, Andy Estes wrote:
> I am running Debian Woody (3.0r1).  The default shell for my user account is
> bash, and I can verify this by typing 'ps' once I am logged on.  However,
> the contents of my .bashrc do not get executed by default.  If I explicitely
> invoke bash (typing 'bash' at the shell), .bashrc is executed properly, but
> if I simply log in (locally or remotely), it doesn't happen.  Can anyone
> explain what is going on here?

1) install the bash-doc package, then read the section about bash
startup files in "info bash"

2) fix your problem with putting '. ~/.bashrc' (without the '') in
~/.bash_profile

mfg,

Stephen Rüger


-- 
Jede Nation spottet über die andere, und alle haben recht.
-- Schopenhauer



msg26035/pgp0.pgp
Description: PGP signature


Re: bash, but no .bashrc??

2003-01-24 Thread Craig Dickson
Andy Estes wrote:

> I am running Debian Woody (3.0r1).  The default shell for my user account is
> bash, and I can verify this by typing 'ps' once I am logged on.  However,
> the contents of my .bashrc do not get executed by default.  If I explicitely
> invoke bash (typing 'bash' at the shell), .bashrc is executed properly, but
> if I simply log in (locally or remotely), it doesn't happen.  Can anyone
> explain what is going on here?

"man bash" should do the trick. Look under "INVOCATION". .bashrc is only
executed for an interactive non-login shell.

If you put "source .bashrc" at the end of your .bash_profile, you should
get the behavior you want.

Craig




msg26034/pgp0.pgp
Description: PGP signature


Re: attempt to access beyond end of device

2003-01-24 Thread David Dumortier
Hello

Make save of your HDD !!!

Physics problems !!! It's my own diagnostic !!!

David Dumortier


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




Re: bash, but no .bashrc??

2003-01-24 Thread Matthew Daubenspeck
On Fri, Jan 24, 2003 at 03:52:53PM -0500, Andy Estes wrote:
> I am running Debian Woody (3.0r1).  The default shell for my user account is
> bash, and I can verify this by typing 'ps' once I am logged on.  However,
> the contents of my .bashrc do not get executed by default.  If I explicitely
> invoke bash (typing 'bash' at the shell), .bashrc is executed properly, but
> if I simply log in (locally or remotely), it doesn't happen.  Can anyone
> explain what is going on here?

if [ -f ~/.bashrc ]; then
source ~/.bashrc
fi

Add that to your ~/.bash_profile

-- 
:wq

  Matthew Daubenspeck
  http://www.oddprocess.org


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




Re: umount hdb?

2003-01-24 Thread David Dumortier
Hello

> orange:~# df -h
> FilesystemSize  Used Avail Use% Mounted on
> /dev/hda5  93M   93M 0 100% /

READ !!! or make better things of your time :-)))

/dev/hda5 is full !!!

Linux says everything just needs good read !

David Dumortier


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




Re: Logrotate LOTS of Apache Logfiles

2003-01-24 Thread Derrick 'dman' Hudson
On Wed, Jan 22, 2003 at 09:48:33PM +0100, Daniel Fabian wrote:
| Hi,
| 
| I'm trying to find an easy way to logrotate apache logfiles. The logfiles
| are created by cronolog, one in a day.
| 
| CustomLog "|/usr/sbin/cronolog
| /wwwhome/customer1/logs/www.customer1.tt-%Y-%m-%d.log" combined
| ErrorLog "|/usr/sbin/cronolog
| /wwwhome/customer1/logs/www.customer1.tt-%Y-%m-%d.err"
| 
| And that for a couple of houndred virtual domains. I want to keep 7 days
| worth of logfiles, where every one but the current is compressed by a zip
| program (not gzip). After 7 being 7 days old, the logfiles should be
| deleted.
| 
| Is there an easy way to do that using the logrotate program?

Yeah, this should give you a start :

/wwwhome/*/logs/www.*.log /wwwhome/*/logs/www.*.err
{
daily
rotate 7
#notifempty
nocompress
create 640 root adm
nosharedscripts
postrotate
/etc/init.d/apache reload > /dev/null
endscript
}

The last thing you have to do is write a script that will compress the
files using the "zip" program of your choice and call it from the
postrotate script.  You'll have to handle the delaycompress feature
yourself in that script.

-D

-- 
Many are the plans in a man's heart,
but it is the Lord's purpose that prevails.
Proverbs 19:21
 
http://dman.ddts.net/~dman/



msg26029/pgp0.pgp
Description: PGP signature


Re: Fwd: getting postfix + sasl to work

2003-01-24 Thread Derrick 'dman' Hudson
On Fri, Jan 24, 2003 at 06:21:18PM +0100, martin f krafft wrote:
| also sprach Derrick 'dman' Hudson <[EMAIL PROTECTED]> [2003.01.24.1630 +0100]:
| > though 2.0 was built with sasl 1.5.  Apparently the _sarge_ 1.11 was
| > built with sasl2, but the version you installed from woody was sasl
| > 1.5 as Markus on postfix-users pointed out.  Install the
| > libsasl-digestmd5-plain and libsasl-modules-plain packages to get the
| > rest of what you need for sasl 1.5.
| 
| cool. thanks. it seems like i fixed it. don't have SASL working yet,
| but it doesn't barf no more. now i just need to get it to
| authenticate... on monday...

That's progress!  :-)

/etc/postfix/sasl/smtpd.conf
pwcheck_method: PAM

/etc/pam.d/smtp
# (take your pick and remove the rest)
# (how do you want it to find the user/pass matches?)
authrequiredpam_permit.so
authrequiredpam_pwdfile.so pwdfile /etc/postfix/dman/passwd
authrequiredpam_unix.so
authrequiredpam_ldap.so

-D

-- 
You can't assign IP address 127.0.0.1 to the loopback adapter,
because it is a reserved address for loopback devices
(Microsoft Windows XP - P R O F E S S I O N A L)
 
http://dman.ddts.net/~dman/



msg26030/pgp0.pgp
Description: PGP signature


Re: Some myths regarding apt pinning

2003-01-24 Thread Noah L. Meyerhans
On Fri, Jan 24, 2003 at 09:23:26AM -0800, Craig Dickson wrote:
> > The testing distribution has *exactly* the same problem, as the
> > unstable libc is different from the testing libc.
> 
> That's true currently, but it should be temporary, right? (Of course,
> it's been temporary for some time now, but at least in theory, things
> are supposed to propagate from unstable to testing in relatively short
> order unless they have serious problems...)

Why would that be the case?  Every time a new libc is uploaded, it's
going to take time for it to move to testing.  Critical bugs introduced
by the upload might prevent it from moving to testing for a long time,
as we've seen lately, but it should still take a couple of weeks, during
this time testing users will be getting a new libc that they never
explicitly asked for.

noah

-- 
 ___
| Web: http://web.morgul.net/~frodo/
| PGP Public Key: http://web.morgul.net/~frodo/mail.html 



msg26028/pgp0.pgp
Description: PGP signature


Re: 486 kernel images

2003-01-24 Thread David Dumortier
Hello

> 586 (Pentium classic) won't work.  The 486 (and all pentiums and
> clones) is backwards compatible with the 386 ISA.  That means that any
> valid 386 program can be handled by the 486 (and pentium, etc.)
> processor.  Install the 386 package.  Or build your own (which I
> recommend if you are short on memory and disk and want to minimize the
> size).

Sure it is, by experience, you MUST recompile it!
lspci, libncurses, kernel-packages are your friends !
X not !
Perhaps can help you (simple reply, always recompilr my kernel and job
forces me to do !). Perhaps I will make an help on my page some time
(dudu.prout.be) just for posterity and search in archive !

David Dumortier, kernel builder :-D
"I'm basically a very lazy person who likes to get credit for things other
people actually do."
-- Linus Torvalds


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




Re: diskspace error in /tmp

2003-01-24 Thread Derrick 'dman' Hudson
On Fri, Jan 24, 2003 at 03:46:42PM -0500, Matt Price wrote:
| hey everyone.  I'm getting a "no space left on device" error whenever 
| mutt tries to save to /tmp.  The same error sometimes  (but not always) 
| comes up when I try to save a file there myself.  But /tmp is (maybe 
| stupidly) on the same device as / , and I don't have any trouble saving 
| files in other places.  Any hints?  

Try
df -h
and
df -ih
for more useful information about disk availability.

(df == _d_isk _f_ree)

-D

-- 
If we confess our sins, He is faithful and just and will forgive us our
sins and purify us from all unrighteousness.
I John 1:9
 
http://dman.ddts.net/~dman/



msg26026/pgp0.pgp
Description: PGP signature


Re: Aladdin Software's Stuffit for Linux

2003-01-24 Thread Derrick 'dman' Hudson
On Fri, Jan 24, 2003 at 11:16:36AM -0800, Curtis Vaughan wrote:
| Has any installed Stuffit on Linux?
| 
| According to their instructions, all you have to do is untar their 
| archive, place the files in /usr/local/bin and voila!
| 
| Well, I did that but I get the error: cannot execute binary file
| 
| So, it would seem I have to do something different.

chmod a+x 

That will make the file executable by all users.  Also make sure the
file is an ELF binary (use the 'file' command).  If it isn't then the
kernel won't be able to execute it anyways.  (actually, if it's
"a.out" it should work too, but no one should be using that format
anymore)

HTH,
-D

-- 
Dishonest money dwindles away,
but he who gathers money little by little makes it grow.
Proverbs 13:11
 
http://dman.ddts.net/~dman/



msg26025/pgp0.pgp
Description: PGP signature


Re: Mapping eth0 two ways

2003-01-24 Thread Soren A
[I set follow-ups to only gmane.linux.debian.user.laptop]

Phil Reynolds <[EMAIL PROTECTED]> wrote around 21 Jan 2003
[EMAIL PROTECTED]:">news:[EMAIL PROTECTED]: 

>>  Note that you either have to specify a kernel parameter or enter the
>>  chosen environment by hand during boot time. The boot process will
>>  stop until you entered something.
> 
> Unfortunately, there seems to be little if any documentation for this
> on how to get it to achieve what I need. 

It only *seems* that way. The lack of an 'info' page or an equivalent
'man' page for netenv is unfortunate for new users -- who are quite
precisely the people who are fairly likely to need detailed
instructions. I am such a person, and I have the same dilemma as you do.
Now, you may have discovered by time of this writing what I did when the
desperation grew sufficiently intense: that the real documentation for
netenv is fairly good (for Free Software) and extensive and lives in
/usr/share/doc/netenv. This dir contains a html-format guide and
supplemental files that demo various strategies. Specifically a file
"network.opts" existing there seems to be a starting-point for what you 
want to do. 

As I understand it, netenv is exactly what you want to use. I myself am
trying to set up a laptop to connect sometimes through a cable provider
using DHCP that gives out dynamic ip's, and sometimes as an unconnected
stand-alone box with only a reserved private IP (technically I guess I
don't even need that, but anyway I may being trying to peer-to-peer it
with a MSWin box later, so making an IP assignment from the reserve
pools, already, isn't a bad idea). 

One thing I need to achive, that is failing apparently, is assigning a
different MAC address to my NIC than the one 'hard-coded' in or
automatic to, that card. The reason being of course that my cable
provider tracks MACs and won't allow connection by a new system (as
sensed by a different MAC address). But it seems like the card isn't
accepting the change, even though the HOWTOs and docus seem to say that
most cards will: 

  root$ifconfig eth0 down
  root$ifconfig eth0 [IP] netmask [NETMASK] hw ether AB:CD:EF:01:02:03 [up]

If anyone can see what I might be doing wrong in that command above please 
help me out!

  Good Luck,
Soren A

-- 
"So, tell me, my little one-eyed one, on what poor, pitiful,
defenseless planet has my MONSTROSITY been unleashed?"
   - Dr. Jumba, Disney's "Lilo & Stitch"


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




Re: Memory usage after upgrade

2003-01-24 Thread Matthew Daubenspeck
On Fri, Jan 24, 2003 at 02:24:37PM -0600, Ron Johnson wrote:
> Looks like it only sees 1GB RAM.  What you have to do is recompile 
> the kernel to enable these options:
> CONFIG_HIGHMEM4G
> CONFIG_HIGHMEM
> 
> This is because, by default, the kernel only sees 1GB.  I think it
> has to do with the x86 archetecture.  Data above 1GB must be moved
> down below 1GB for certain IO operations.  If you have less than
> 1GB RAM, that code path need not be taken, so the system is optimised
> for people who have less than 1GB RAM.

The instructions on how to use the kernel-package stuff didn't make
much sense to me. How/why is that any easier then compiling directly
from source, the standard way?

I downloaded the standard 2.4.19 sources from kernel.org, compiled and
all is running with the new RAM being recognized. Thanks for the tip.

Now that I am running 2.4.19, is there anything specific that I should
watch out for?


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




Re: diskspace error in /tmp

2003-01-24 Thread nate
Matt Price said:
> hey everyone.  I'm getting a "no space left on device" error whenever


howbout outpts of

df /
df -i /

nate




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




Re: IDE disk corruption - A7M266-D; which kernel patches? or other solution

2003-01-24 Thread David Dumortier
Hello

WARNING : don't follow thread, perhaps out of subject.

briefly, I've got same chipset, excepted a "spurious" message at boot, have
no problems, 48Mo/s with DMA on ata5 'if remember fine) on HD and good rate
on (RW-)CD's.

Running 2.4.20 but 2.4.18 fine (customs kernel)

Hop'it'elp

David Dumortier


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




Re: Desktop productivity with Debian GNU/LINUX

2003-01-24 Thread Karsten M. Self
on Sat, Jan 25, 2003 at 12:54:46AM +1100, Russell ([EMAIL PROTECTED]) wrote:
> Rohan Nicholls wrote:

> >I have to say that I took over my windows partition, and now run
> >win2k in an emulator for the times I need to for work, and it runs as
> >fast, with a few trivial exceptions, in the emulator as it did on its
> >own, and for the rest of my life I get to run on a fast responsive
> >and endlessly configurable system.
> 
> I've got win2k. What is this emulator?

I suspect it's VMWare:  http://www.vmware.com/

Personal copy will set you back ~$100US or so.

Codeweaver's Crossover Office (also a proprietary product) is another
option.

Peace.

-- 
Karsten M. Self <[EMAIL PROTECTED]>http://kmself.home.netcom.com/
 What Part of "Gestalt" don't you understand?
   At the sound of the toner, boycott Lexmark:  trade restraint via DMCA.
http://news.com.com/2100-1023-979791.html


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




Apt-get problem with libc

2003-01-24 Thread Curtis Call
Disclaimer, I'm a novice so bear with me.  I've run into some problems with
apt-get.  Currently, when trying to use 'apt-get -f install' to clean things
up I continue to get this error:

ogd2jpr6908:/home/curtis# apt-get -f install
Reading Package Lists... Done
Building Dependency Tree... Done
Correcting dependencies... Done
The following extra packages will be installed:
  libc6
The following NEW packages will be installed:
  libc6
0 packages upgraded, 1 newly installed, 0 to remove and 0  not upgraded.
1 packages not fully installed or removed.
Need to get 0B/3191kB of archives. After unpacking 12.4MB will be used.
Do you want to continue? [Y/n]
E: Cannot get debconf version. Is debconf installed?
(Reading database ... 11 files and directories currently installed.)
Unpacking libc6 (from .../libc6_2.3.1-10_i386.deb) ...
dpkg not recorded as installed, cannot check for epoch support !
dpkg: error processing /var/cache/apt/archives/libc6_2.3.1-10_i386.deb
(--unpack):
 subprocess pre-installation script returned error exit status 1
Errors were encountered while processing:
 /var/cache/apt/archives/libc6_2.3.1-10_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

I noticed that dpkg is complaining that perhaps it isn't installed?  Any ideas
of how to go about fixing this?

Thanks


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




bash, but no .bashrc??

2003-01-24 Thread Andy Estes
I am running Debian Woody (3.0r1).  The default shell for my user account is
bash, and I can verify this by typing 'ps' once I am logged on.  However,
the contents of my .bashrc do not get executed by default.  If I explicitely
invoke bash (typing 'bash' at the shell), .bashrc is executed properly, but
if I simply log in (locally or remotely), it doesn't happen.  Can anyone
explain what is going on here?

-Andy


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




Re: Aladdin Software's Stuffit for Linux

2003-01-24 Thread Kent West
Curtis Vaughan wrote:


Has any installed Stuffit on Linux?

According to their instructions, all you have to do is untar their 
archive, place the files in /usr/local/bin and voila!

Well, I did that but I get the error: cannot execute binary file

So, it would seem I have to do something different.

Any ideas?

I'd double-check the permissions on the binary; it's probably not set to 
be executable.

Kent




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



Re: Support Sun Sparcstation 5

2003-01-24 Thread Sven Hoexter
On Fri, Jan 24, 2003 at 09:22:32AM -0500, Stephen Gran wrote:
> This one time, at band camp, Falco Chung said:

Hi,

> > Does Debian support Sun Sparcstation 5 workstation?
> >  
> > If yes, what version I should & when I can download?
I suggest to start with woody aka Debian 3.0, that's a stable working base.

> Try here:
> http://www.debian.org/ports/sparc/
Yepp and it is working like a charm :)
I suggest to also read the documentation at http://www.ultralinux.org/ when
you're not familar with the OpenBoot and SILO stuff.

HTH
Sven

-- 
One Unix to rule them all, One Resolver to find them,
One IP to bring them all and in the zone to bind them.
Have you mooed today? http://www.hoaxter.de/cows.txt
Apt-rpm packages for RedHat: http://www.hoaxter.de/aptrpm/index.html


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




Re: Debian Proxy

2003-01-24 Thread Ron Johnson
On Fri, 2003-01-24 at 11:43, Chuck Royan wrote:
> Does anyone know if it is possible to configure Windows Explorer(Latest
> Ver.) using the proxy settings rather than setting debian as the default
> gateway and pointing to my ISP's DNS server? I am new to using this OS. I am
> trying to get away from using my Win2k workstation as a proxy server(I am
> currently using Proxy+).

Hi, Chuck.

What are you using the Proxy for?  Connection sharing, or http caching?

-- 
+---+
| Ron Johnson, Jr.mailto:[EMAIL PROTECTED]  |
| Jefferson, LA  USA  http://members.cox.net/ron.l.johnson  |
|   |
| "Fear the Penguin!!"  |
+---+


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




diskspace error in /tmp

2003-01-24 Thread Matt Price
hey everyone.  I'm getting a "no space left on device" error whenever 
mutt tries to save to /tmp.  The same error sometimes  (but not always) 
comes up when I try to save a file there myself.  But /tmp is (maybe 
stupidly) on the same device as / , and I don't have any trouble saving 
files in other places.  Any hints?  

more info (cat of fstab, du of /tmp):

/etc/fstab:
# /etc/fstab: static file system information.
#
#

/dev/hda1   /   ext3errors=remount-ro   0   1
/dev/hda8   noneswapsw  0   0
proc/proc   procdefaults0   0
/dev/fd0/floppy autouser,noauto 0   0
/dev/cdrom  /cdrom  iso9660 ro,user,noauto  0   0

/dev/hda2   /usrext3defaults0   2
/dev/hda3   /usr/local  ext3defaults
0   2
/dev/hda5   /varext3defaults0   2
/dev/hda6   /tehanu ext3defaults0   2
/dev/hda7   /tehanu/usr ext3defaults
0   2
/dev/hda9   /moreaudio  ext3defaults
0   2
/dev/hda10  /home   ext3defaults0   2
/dev/cdrom1 /cdrom1 iso9660 ro,user,noauto  0   0

# mount my personal racesci directory as racesci/matt
128.100.34.8:/home/matt/racesci/matt  defaults  0  2
# mount the racesci website as racesci/race4sci
128.100.34.8:/home/racesciw/racesci/racesci  defaults   0  2

-

du of /tmp:
matt@anarres://$ sudo du /tmp
4   /tmp/.X11-unix
4   /tmp/.font-unix
4   /tmp/ssh-XXtzyXgi
456 /tmp/kde-matt
8   /tmp/ksocket-matt
4   /tmp/.ICE-unix
8   /tmp/mcop-matt
8   /tmp/orbit-root
8   /tmp/orbit-matt
4   /tmp/ksocket-root
740 /tmp
matt@anarres://$

--

thanks as usual.
matt



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



Re: AudioCD

2003-01-24 Thread bio
you don't state wether you use a GUI therefore pop in a cd & try these

Use cdplay to play an audio CD
To play an audio CD, type: cdplay
To play from track 3 type: cdplay 3
To end with a track, type: cdplay 1 4
To play only track 3 type: cdplay 3 3
Pausing an Audio CD  type  cdpause
Use cdplay to restart at paused
To restart paused CD from the beginning, type: cdplay x
Stopping an Audio CD type: cdstop
To shuffle playback, type: cdplay shuffle
To Display Info  type: cdinfo
To show tracks,  type: cddir
Ejecting a CDtype: cdeject
cdvolume type: cdvolume (value 0-255)

terri

- Original Message -
From: Sergey A. Ovchar <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, January 23, 2003 1:39 PM
Subject: AudioCD


> Hello.
> How can I play the Audio-CD's ?
>
> --
>  ,''`.  Sincerely yours
> : :' :   Sergey A. Ovchar
> `. `'   e-mail: [EMAIL PROTECTED]
>   `-   SMS: [EMAIL PROTECTED]
>
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact
[EMAIL PROTECTED]
>



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




Re: Memory usage after upgrade

2003-01-24 Thread Ron Johnson
On Fri, 2003-01-24 at 11:45, Matthew Daubenspeck wrote:
> Thanks to everyone for their help on my hard drive issue (HDA kept
> showing busy and then reset). I replaced the drive as well as the
> cable and I seem to be back in business.
> 
> While I had the server down and the case open, I decided to add more
> RAM. I upgraded from 512MB to 1280MB. Does anything have do be done to
> allow the system to use this much RAM?
> 
> After the reboot, top is showing some strange numbers for memory
> usage:
> 
> Mem: 970780K total, 964108K used, 6672K free, 891456K buffers
> 
> It doesn't look like it's recognizing all of the new RAM..

Hi, 

Looks like it only sees 1GB RAM.  What you have to do is recompile 
the kernel to enable these options:
CONFIG_HIGHMEM4G
CONFIG_HIGHMEM

This is because, by default, the kernel only sees 1GB.  I think it
has to do with the x86 archetecture.  Data above 1GB must be moved
down below 1GB for certain IO operations.  If you have less than
1GB RAM, that code path need not be taken, so the system is optimised
for people who have less than 1GB RAM.

-- 
+---+
| Ron Johnson, Jr.mailto:[EMAIL PROTECTED]  |
| Jefferson, LA  USA  http://members.cox.net/ron.l.johnson  |
|   |
| "Fear the Penguin!!"  |
+---+


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




Kernel Recompile for Debian

2003-01-24 Thread THOMAS CUNY
See http://www.debian.org/doc/manuals/reference/ch-kernel.en.html
chapter 7.

_
Help STOP SPAM with the new MSN 8 and get 2 months FREE*  
http://join.msn.com/?page=features/junkmail


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



Problem with fonts in Abiword 1.1.3

2003-01-24 Thread Riandi Wiguna
Hi,

I downloaded and compiled the development version of
Abiword (1.1.3),
but I keep getting the somewhat famous "AbiWord could
not load the
following font or fontset from the X Window System
display server,
[-*-Times New Roman-regular-r-*-*-*-0-*-*-*-*-*-*]"
message twice and
then Abiword dies.  I've checked that "type1" is in
the modules section
of my XF86Config-4 like abisource's FAQ said to do,
but that didn't
help.

The version of AbiWord that I 'apt-get'ted from
unstable (1.0.4cvs)
works fine, so is there something I can do to get
1.1.3 to work the same
way?  What sort of things were done to debian's 1.0.4
version that
allows it to work?  Thanks in advance,

-Riandi Wiguna

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com


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




Re: Kernel Recompile

2003-01-24 Thread Kirk Strauser
At 2003-01-24T18:17:29Z, "Irish, Jon D MEVATEC" <[EMAIL PROTECTED]> writes:

> Can anyone tell me if there is a HOW-TO, or paper available that covers
> recompiling the kernel for Debian? I found the Kernel HOWTO, but it
> appears to be slanted more toward RedHat, and I am a 'newbie' so I want to
> make sure that I am doing it right.


http://subwiki.honeypot.net/cgi-bin/view/Main/DebianKernelBuilding


-- 
Kirk Strauser
In Googlis non est, ergo non est.



msg26011/pgp0.pgp
Description: PGP signature


Re: Mouse Problem (solved - partial)

2003-01-24 Thread Kent West
[EMAIL PROTECTED] wrote:


Thanks to everyone who helped me here.

In the end after trying all the suggestions, it seem the only way I can get
it to work is by un-installing gpm.I did that and it works fine now.

I did try having the two running together with same protocl etc, but that
didnt work either. 

 


It will (Kent says with great confidence, unaware of the tide of failure 
about to wash over him) if you'll set the repeat type in /etc/gpm.conf 
to raw and set the device in /etc/X11/XF86Config-4 to /dev/gpmdata.

Kent



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



Problems with Gnome 2.2: missing Gnome menu.

2003-01-24 Thread Riccardo Gusso
Hello,
with last update of my debian I have installed Gnome 2.2.
However when it started up for the first time I received this error
message:
--
There was an error starting the GNOME Settings Daemon.

Some things, such as themes, sounds, or background settings may not work
correctly.

The Settings Daemon restarted too many times.

The last error message was:

Failed to activate 'OAFIID:GNOME_SettingsDaemon'

GNOME will still try to restart the Settings Daemon next time you log
in.


And I had anymore more neither the applications bar I had before on the
top of the screen with the gnome menu, nor the one on the bottom.
Then I looked in in the web, and following some suggestions I have
installed the gnome-control-center package, that was strangely missing.
Now I have no more the error message as before, but I still don't have
the application bar and so on, that is I am missing half of the
functions of the desktop.

Can anybody help me?
Bye,
  Riccardo


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




Re: Kernel Compile Issue

2003-01-24 Thread Elimar Riesebieter
On Fri, 24 Jan 2003 the mental interface of 
Michael Kahle told:

[...] 
> Sorry I wasn't very clear here.  I wanted to load the ethernet card as a
> module.  I thought that is what I had done when I built the first kernel.
> But because I could not see any modules with lsmod and mod probe, I went
  ^^^

check your config for
# Loadable module support
CONFIG_MODULES=y

> back to menuconfig to check if I bult the ethernet card into the kernel.  As
> it turnes out, I did.  So I rebult the kernel, this time ensuring that I
> selected my NIC as a module.  After compiling and installing I rebooted,
> same problem.  That is, the NIC was still part of the kernel and NOT a
> module.  Worse yet, it didn't grab an IP.

HTH



-- 
  Alles was viel bedacht wird ist bedenklich!;-)
 Friedrich Nietzsche



msg26008/pgp0.pgp
Description: PGP signature


Aladdin Software's Stuffit for Linux

2003-01-24 Thread Curtis Vaughan
Has any installed Stuffit on Linux?

According to their instructions, all you have to do is untar their 
archive, place the files in /usr/local/bin and voila!

Well, I did that but I get the error: cannot execute binary file

So, it would seem I have to do something different.

Any ideas?

--
Curtis Vaughan
North Pacific Corporation

Tel: (425) 822-1001
Cell: (206) 423-6979

WashTech (CWA Local 37083)
IWW x353203



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



Re: Can't figure out CVS

2003-01-24 Thread Derrick 'dman' Hudson
On Fri, Jan 24, 2003 at 04:53:51PM +, Pigeon wrote:
| On Thu, Jan 23, 2003 at 08:35:36PM -0500, Derrick 'dman' Hudson wrote:
| > On Thu, Jan 23, 2003 at 11:45:40PM +, Pigeon wrote:
[...]
| > | I'm wasting too much time online via dialup trying to figure out where
| > | the "modules" are, or how to identify them.
| > 
| > Often the project has a single module named the same as the project.
| > You can confirm this using the "Browse CVS Repository" link on the
| > instrution page.
| 
| Ha, I missed this. I went to "check it out" from the rhide home page;
| this took me into a directory tree, and it seemed to me that I was
| browsing said tree. (Hang on, I'm a pigeon, not a giraffe...) It
| didn't make it obvious that module names were directory names.

How did you know it was a directory?  CVSWeb gives you an HTML page to
look at :-).  The point is just that _how_ the data is stored in the
backend can be different from the specific way it is viewed from the
frontend.  Yes, cvs uses directories to store modules, but the top
directory (the "cvs root") must have the directory CVSROOT in it and
that contains several files related to the repository.  If you have
the cvs root on a local disk you can muck with the repository
directly, but it isn't a good idea unless you have a backup and/or you
know something about how cvs stores the data.

HTH,
-D

-- 
Thy Word is a lamp unto my feet
and a light unto my path.
Psalms 119:105
 
http://dman.ddts.net/~dman/



msg26006/pgp0.pgp
Description: PGP signature


Re: sed

2003-01-24 Thread David Z Maze
(Please send a new mail to debian-user if you're talking about
something new, rather than replying to a message you're not actually
replying to...)

"behapy" <[EMAIL PROTECTED]> writes:
> kdjwiskjkdf+-www.kde.org+-333.kjkd.html
> kdjfwiwji+-kbs.co.kr+-cgi-bin+-kkk.cgi
> kdjfwiwji+-kbs.co.kr+-cgi-bin+-kk2.cgi
>
> =>
>
> www.kde.org+-333.kjkd.html
> kbs.co.kr+-cgi-bin+-kkk.cgi
> kbs.co.kr+-cgi-bin+-kk2.cgi
>
> I'd like to remove the first words everyliles ~+-
>
> sed -e 's/^*+-//g' SOMEFILE.TXT don't work.
> How do I do?

If I were sed, I'd parse that as ^ (start-of-line) *+ (one or more
asterisks) - (hyphen), which isn't what you want.  You really want
start-of-line, any number of characters which aren't +, +, -; this
translates in sed-ese to

  sed -e 's/^[^+]*+-//g' file.txt

-- 
David Maze [EMAIL PROTECTED]  http://people.debian.org/~dmaze/
"Theoretical politics is interesting.  Politicking should be illegal."
-- Abra Mitchell


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




Re: vsound issue - a return

2003-01-24 Thread Curtis Vaughan
Actually, I also tried the command with the following variables: vsound 
-v -d -t -f  and got the same results.

Curtis

Travis Crump wrote:

Vaughan, Curtis wrote:


Whereas vsound would not record RealAudio on a PowerBook, I am now 
trying it
on an i686-based computer.

After issuing the command:
vsound -f test.wav realplay 
http://128.208.34.102:8080/ramgen/RadioIntersection/20021203intersection.rm 


RealPlayer is launched, connects and begins to stream and immediate 
crashes
with the following output:

/usr/bin/vsound: line 163: 4787 Aborted
LD_PRELOAD="$pkglibdir/libvsound.so"
"$@"

Any ideas how to this problem?

Curtis Vaughan



You have to use the '-t' option for internet streams.




--
Curtis Vaughan
North Pacific Corporation

Tel: (425) 822-1001
Cell: (206) 423-6979

WashTech (CWA Local 37083)
IWW x353203




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



Re: Kernel Recompile

2003-01-24 Thread Oliver Elphick
On Fri, 2003-01-24 at 18:17, Irish, Jon D MEVATEC wrote:
> Can anyone tell me if there is a HOW-TO, or paper available that covers
> recompiling the kernel for Debian? I found the Kernel HOWTO, but it appears
> to be slanted more toward RedHat, and I am a 'newbie' so I want to make sure
> that I am doing it right.

Install the package kernel-package and read its documentation.
-- 
Oliver Elphick[EMAIL PROTECTED]
Isle of Wight, UK http://www.lfix.co.uk/oliver
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839  932A 614D 4C34 3E1D 0C1C
 
 "If anyone has material possessions and sees his
  brother in need but has no pity on him, how can the
  love of God be in him?"
I John 3:17 


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




Speculation: Debian GNU/Watch

2003-01-24 Thread Mark L. Kahnt
Overcoming your typical limitations of watches, the Debian GNU/Watch is
a new, open source solution to portable timekeeping. A multi-user
solution, multiple people can elect to wear the same watch, and for one
person, it could be analog, for another digital, for a third a sundial,
for a fourth, a stopwatch. With wireless networking, its time server
ability allows it to correct the time of any clocks or vcrs the user
passes.

Avoid the problems of the Microsoft WinWatch, with it's virus problems,
and tendencies to try to read 13:00 AM/PM, at which point it crashes to
a BSoD.
-- 
Mark L. Kahnt, FLMI/M, ALHC, HIA, AIAA, ACS, MHP
ML Kahnt New Markets Consulting
Tel: (613) 531-8684 / (613) 539-0935
Email: [EMAIL PROTECTED]



signature.asc
Description: This is a digitally signed message part


Powerpc floppy net install

2003-01-24 Thread Thomas Thatcher
When in the woody installer from floppy on a powermac 
7500/G3/500/64ram/cd and doing a network install from the lan, I am 
consistently getting the following error:

wget: www.debian.org: Host name lookup failure

Attempting to access the console results in a kernel panic or total 
freeze which I must force restart.

The 7500 has two scsi hard drives.  The one with mac os 8.6 can connect 
to the internet on the lan and to www.debian.org without problem.

I have been unable to finish the installation this way.  What could be 
the problem with that url if it works on the mac os?

The gateway is a mac G4 and serves the lan via DHCP through a router.

I tried to make a woody CD-RW from the correct iso file on the G4 to 
boot the 7500 but it will not boot.  That is why I am left with the 
floppy install.

How can I fix the host name looukup failure?

Is there any other way I can get debian installed on the 7500 
considering that the CD method won't work?

Thanks


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



Re: Mouse Problem

2003-01-24 Thread Osamu Aoki
Hi, [EMAIL PROTECTED] and Pigion,

On Fri, Jan 24, 2003 at 05:04:58PM +, Pigeon wrote:
> On Thu, Jan 23, 2003 at 10:27:09PM -0500, Derrick 'dman' Hudson wrote:
> > On Thu, Jan 23, 2003 at 07:16:57PM -0500, Stephen Gran wrote:
> > | This one time, at band camp, [EMAIL PROTECTED] said:
> > 
> > | > I an having weird things happen to my mouse on bootup, and through X.
> > | > Generic ps/2 mouse, windows type clone
> > | > I am trying different combinations of :
> > | > /dev/mouse

Hi, [EMAIL PROTECTED]:
This is symlink usually.  Where is it linked.
lrwxrwxrwx1 root root7 Jan 16 23:04 /dev/mouse -> gpmdata

> > | > /dev/psaux (used by gpm)

If you have gpm running, why do not you have /dev/gpmdata
srwxrwxrwx1 root root0 Jan 18 21:16 /dev/gpmctl
prw-r--r--1 root root0 Jan 17 17:36 /dev/gpmdata

> > | > and different protocols
> > | > protocol PS/2
> > | > protocol mousesystems
> > | > protocol IntelliMouse (used with a different mouse than above two)

What is the content of /etc/gpm.conf ?
Which do you use for repeater protocol: ms3 or raw ?
If ms3 and reading from /dev/gpmdata, IntelliMouse

> > | > but the mouse if _still_ unstable. At the slightest touch it careers off
> > | > screen in some random direction, never to appear again, though upon
> > | > movement it squeals...
> > | 
> > | This sounds like a wrong mouse protocol
> > 
> > I agree here.  Try different protocols until one works.  You might
> > want to also unplug the mouse sometimes to "reset" it's internal
> > state.
> 
> echo -n '\377' > /dev/psaux should reset the mouse.

Pigion, great info. Thanks. Where did you find this trick.  Is there
similar for keyboad?  Does thiis work for USB?

-- 
~\^o^/~~~ ~\^.^/~~~ ~\^*^/~~~ ~\^_^/~~~ ~\^+^/~~~ ~\^:^/~~~ ~\^v^/~~~ +
Osamu Aoki <[EMAIL PROTECTED]>   Cupertino CA USA, GPG-key: A8061F32
 .''`.  Debian Reference: post-installation user's guide for non-developers
 : :' : http://qref.sf.net and http://people.debian.org/~osamu
 `. `'  "Our Priorities are Our Users and Free Software" --- Social Contract


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




Reconfigure of localepurge has no effect

2003-01-24 Thread Lloyd Zusman
After installing a series of packages, I received the following message
during the configuration process (see below).

I followed the instructions in this message and ran this:

  dpkg-reconfigure localepurge

I performed this reconfiguration and changed the status of the new
locale file mentioned in the message I received.  However, every package
installation I perform still causes that message to be printed.  It's as
if the reconfigure of localepurge didn't have any effect.

And I've run the localepurge reconfiguration repeatedly, each time this
message comes up, but it never seems to have any effect.

Any ideas?

Thanks in advance.

Here's the message that I get:

  localepurge: checking for new locale files ...
  Some new locales have appeared on your system:

  mn

  They will not be touched at all until you reconfigure localepurge
  with the following command:

  dpkg-reconfigure localepurge

-- 
 Lloyd Zusman
 [EMAIL PROTECTED]


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




Debian Proxy

2003-01-24 Thread Chuck Royan
Does anyone know if it is possible to configure Windows Explorer(Latest
Ver.) using the proxy settings rather than setting debian as the default
gateway and pointing to my ISP's DNS server? I am new to using this OS. I am
trying to get away from using my Win2k workstation as a proxy server(I am
currently using Proxy+).

Thanks
Chuck


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




Kernel Recompile

2003-01-24 Thread Irish, Jon D MEVATEC
Can anyone tell me if there is a HOW-TO, or paper available that covers
recompiling the kernel for Debian? I found the Kernel HOWTO, but it appears
to be slanted more toward RedHat, and I am a 'newbie' so I want to make sure
that I am doing it right.

Sincerely,
Jon D. Irish (Mevatec Contractor)
Lower Tier Project Office 


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




Re: Mouse Problem (solved - partial)

2003-01-24 Thread richard


Thanks to everyone who helped me here.

In the end after trying all the suggestions, it seem the only way I can get
it to work is by un-installing gpm.I did that and it works fine now.

I did try having the two running together with same protocl etc, but that
didnt work either. 

thanks again for the input,

with a working mouse ;)

richard


Re: active programs overview

2003-01-24 Thread Nicos Gollan
On Friday 24 January 2003 16:52, Joris Huizer wrote:
> What is the program to use when I want to know which
> programs are running ?

There's "ps" for a quick glimpse (has a load of options, so read the manpage) 
or "top" for continuous monitoring.

-- 
Got Backup?


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




Re: active programs overview

2003-01-24 Thread Seneca
On Fri, Jan 24, 2003 at 07:52:36AM -0800, Joris Huizer wrote:
> What is the program to use when I want to know which
> programs are running ?

ps aux
top
si
grep Name /proc/[0-9]*/status | awk '{ print $2 }'

There are more ways, but I think that this is enough.

-- 
Seneca
[EMAIL PROTECTED]


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




SOLVED - Re: Activate SoundBlaster IDE interface

2003-01-24 Thread Ronald Castillo
On Friday 24 January 2003 17:14, Nicos Gollan wrote:
> On Friday 24 January 2003 15:26, Ronald Castillo wrote:
> > I thought there was some kind of support in more modern kernels... I
> > remember seeing some option in xconfig while configuring my kernel which
> > did something like search for ISA PNP cards at boot time. Maybe that will
> > help some?  In any case I'll try to use the other instructions I found.
>
> That stuff depends on drivers being written to support it. I had similar
> problems with my ISDN card which were solved when switching do DSL. It
> might still work with the old isapnp tools. You will however have to change
> the init script a little to run it with a 2.4.x kernel.

Thanks to all for your help! No tweaking was necessary.  There is a kernel 
option (can't remember the name) which scans for PnP cards just after 
booting, so it detects sooner my card and configures well the IDE port.

Now, curiously, I see it gets configured as ide3, skipping ide2.  Checking I 
saw that ide2's IRQ (10 or 11, don't remember now) was taken by USB, but 
unloading usb_uhci and rebooting didn't solve the problem, the new ide was 
still recognized as ide3, regardless of that all the io ports and the IRQ of 
ide2 were free.

Checking in /proc/isapnp I see that the options for ide2 are set as 
"alternate" in the ide configuration.  Is there any way I can force the 
system to use these?

Thanks again for all the help you've provided so far.

Ronald


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




  1   2   3   >