Re: The Very Verbose Guide to Updating and Compiling Your Debian Kernel

2003-03-05 Thread Bob Proulx
Daniel Farnsworth Teichert wrote:
> # Make it! You'll be asked to configure it first--here's where
> # other documentation like that mentioned can help; another
> # helpful thing if you have a working Debian kernel image
> # already installed is to load the configuration for the
> # current kernel from within the /boot directory. You may want
> # to copy it to another location first, or when you 'Save and
> # Exit' I think it might overwrite it.
> make-kpkg kernel_image
> 
> (Note that the above requires that root has access to your X
> display, because it uses 'xconfig'.

I personally use 'make menuconfig' which uses the terminal and not X.
My personal preference and avoids the X11 issue.  I may not even have
X available to me at the time I am doing this.  Although you were able
to solve the problem nicely.  menconfig needs libncurses5-dev.

  apt-get install libncurses5-dev

Also, as mentioned in a followup, you can copy a mostly working
/boot/config-version file to your .config and then run 'make
oldconfig' which will start you off with the previous configuration.
Then you can tweak changes starting from that base.

Bob


pgp0.pgp
Description: PGP signature


where'd my mouse go?

2003-03-05 Thread sean finney
hey -user,

so i just upgraded my laptop's kernel, threw in devfs, apt-got devfsd, and
booted back up with minimal hassle[1].  everything is completely
functional and happy, with the exception of my touchpad mouse.  the
device /dev/psaux no longer exists.  what i do have is

/dev/mouse -> /dev/gpmdata
/dev/usbmouse -> /dev/input/mouse

i messed around with various things (/etc/devfsd/*, update-devfsd) but
to no avail.  this is very strange because on my desktop which has an
almost identical setup (unstable, devfs, 2.4.20), i do have /dev/psaux,
which is a symlink to /dev/misc/psaux.

has anyone else had this problem, and more importantly, does anyone
haev a fix?


thanks
sean

[1] actually, i forgot to install devfsd, and didn't realize until i booted.
fortunately i had a knoppix cd handy...


pgp0.pgp
Description: PGP signature


Re: Mouse Cursor Offset in X

2003-03-05 Thread Hubert Chan
> "Paul" == Paul M Foster <[EMAIL PROTECTED]> writes:

Paul> It seems like I've read about this problem before, but I can seem
Paul> to find it in the archives.

Paul> I have Debian testing running, with the X 4.2 statically linked
Paul> binary.  I'm running a Cyberblade i/1 video card, and a generic
Paul> wheel mouse (IMPS/2). Sometimes when I go into X, the mouse cursor
Paul> will show up about a quarter of an inch to the right of what it's
Paul> actually pointing at. That is, if you attempt to click on
Paul> something, you're actually clicking a quarter inch to the right of
Paul> where you think you're clicking.

Try editing /etc/X11/XF86Config-4.  In the video card Device section,
add a line `Option "SWCursor" "on"'.  For example, I have:

Section "Device"
Identifier  "Generic Video Card"
Driver  "trident"
VideoRam8192
Option  "SWCursor" "on"
Option  "backingstore"
EndSection

The SWCursor option causes XFree86 to draw the cursor itself, rather
than telling the video card to draw it.  It causes a minor performance
hit (very minor), and you may notice the cursor flickering sometimes.
But at least you'll be able to click on stuff. ;-)

-- 
Hubert Chan <[EMAIL PROTECTED]> - http://www.uhoreg.ca/
PGP/GnuPG key: 1024D/124B61FA
Fingerprint: 96C5 012F 5F74 A5F7 1FF7  5291 AF29 C719 124B 61FA
Key available at wwwkeys.pgp.net.   Encrypted e-mail preferred.


pgp0.pgp
Description: PGP signature


To get GNOME2, should I Upgrade or Dist-Upgrade or... ?

2003-03-05 Thread arief_mulya
Dear all,



I kept getting wonder and never be sure about this whenever 
I'm reaching this step.

The thing is, I finally want to upgrade my GNOME1.4 to 
GNOME2. I know that there's woody backport of GNOME2, but I 
wanted to have the latest version of it, and continue to 
watch it.

My current laptop is Sarge.What should I need to do to have 
GNOME2 installed. Upgrade? Dist-Upgrade? OR.. ? Oh one more 
thing, I try not to compile it from sources myself.. at 
least not now. So the option of downloading tarballs is not 
suitable, yet.

I have done a dist-upgrade to get GNOME2 before, but it was 
about a year ago. I can't forget much of the stuff I do 
then, and I'm pretty sure that many things has change now, 
hasn't it?

Thanks for all the clues,

Best Regards,
arief_mulya
--


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



Semi OT: Strange source display in Konqueror

2003-03-05 Thread Leo Spalteholz
Sorry this is pretty OT but can anyone running KDE 3.1 check this out?

Go to http://www.daniel-kuefner.de/j1/installation.html
and then view source in Konqueror.  For some reason it looks really 
wonky on my system.  Every other page works just fine...

theres a space between each character (or kinda half a space) and the 
text does strange stretchy things when you highlight it.

looks like this:
http://leo.spalteholz.ca/useless/fckedupsource.png

thanks,
leo


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



Re: kernel-source-2.4.18-bf2.4?

2003-03-05 Thread Kent West
Donald Spoon wrote:

That said, you can install a perfectly workable version of ALSA using 
apt-get on the pre-compiled debs in the Debian package repository.  
All you have to do is match the pre-compiled ALSA version with your 
kernel.  Not all available kernels have matching pre-compiled ALSA 
debs, but the 2.4.19 kernel-image series does.
Do you know if this is due to policy? Technical reasons? No one's gotten 
around to it yet? What? I'm running stock 2.4.20, and there appear to be 
no alsa deb for that version. Or maybe I'm just not seeing it . . . .

Thanks!






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



make-kpkg, stock kernel, and alsa

2003-03-05 Thread Kent West
I've compiled a kernel or few, but mostly just stumbled through the process.

Question 1:

Currently I'm running a stock 2.4.20-k7 kernel (apt-get install 
kernel-image-2.4.20-k7). My sound card is not supported yet by the 
kernel drivers, so I have to fall back to using alsa, which does support 
the card.

Near as I can tell, there are no binary alsa drivers; I have to download 
the source and compile. However, apparently I can't compile the alsa 
modules without having the full kernel source for my running kernel. Can 
anyone confirm or deny this? It seems a bit crazy that I can't run alsa 
modules with a stock kernel, forcing me to roll my own kernel. Perhaps 
there's a good reason for that? Or am I misunderstanding?

When I downloaded the alsa-source, it put a tar.bz2 file in /usr/src. I 
bunzip2'ed it and untarred it, which put the "alsa-driver" directory in 
/usr/src/modules. I also downloaded the kernel-headers. Then run I run 
cd into /usr/src/linux and "make-kpkg modules", it seems to think I'm 
compiling a kernel instead of just the modules against the headers. But 
as I say, I'm just stumbling through, so am probably expecting too much 
or am doing the wrong thing(s).

Question 2:

Closely related, last time I faced a situation like this, I downloaded 
the kernel source for the same version of stock kernel I was running and 
copied the "config-[kernelverson]" file to /usr/src/linux/.config, and 
then compiled, expecting to get almost the exact same kernel I started 
with. However, it wasn't nearly the same (I don't remember the details 
now). I know this is vague information, but does anyone have an 
explanation for that?

Thanks!

Kent



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



RE: Working with WAV files

2003-03-05 Thread Jack Pistachio
>Before I go off experimenting with modconf, I wonder
> if anyone has
>been over this ground. If I add a driver using modconf
> and get no
>result, how do I remove it?
>-- 
>David

That's an easy one... remove it the same way you added it. 
You could also do: bash$ rmmod MODNAME
finally lsmod gives a quick list of all modules you have
loaded.  
I haven't any experience with that particular soundcard but
many cards need to pass the ioport, interrupt, and dma
parameters.  You may not need to and could certainly try
without first.  Check in the kernel Documentation for
specific module parameter info.
-jackp




__
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/


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



Re: kernel-source-2.4.18-bf2.4?

2003-03-05 Thread Donald Spoon
Kris Kerwin wrote:
Hi all,

Something tells me this is a question that has already been asked, and that 
I'll probably be flamed for it, so, flame away!  :-)  Anyways - could anyone 
tell me where I could find the source for kernel 2.4.18-bf2.4?  I've checked 
in Debian's archives, as well as kernel.org and on Google.  Scary thing - 
Google either says it doesn't exist, or (more likely) I don't know where to 
begin to look.  

I'm looking to install ALSA and a (pirated) copy of VMWare, so if you can 
think of a better kernel for those (that has a source and image available), I 
could do with any help I can get. Thanks.

Kris Kerwin


There is only one "kernel-source" for the 2.4.18 kernels, or for any 
kernel tree for that matter.  All the variations you see in pre-compiled 
binaries are made at compile time via the specific ".config" file used. 
 Therefore to get ANY version you want, you just d/l the kernel-source 
package for the 2.4.18 kernel, and apply the .config file you want.  For 
the "bf2.4" kernel you can find this file in /boot/config-2.4.18-bf2.4, 
if you are already running the 2.4.18-bf4 pre-compiled kernel.  Other 
pre-compiled kernels (the "kernel-image" packages) keep their .config 
file in the same place and named in a similar manner.

That said, you can install a perfectly workable version of ALSA using 
apt-get on the pre-compiled debs in the Debian package repository.  All 
you have to do is match the pre-compiled ALSA version with your kernel. 
 Not all available kernels have matching pre-compiled ALSA debs, but 
the 2.4.19 kernel-image series does.  That is what I use here.  I would 
recommend you upgrade to the 2.4.19 kernel for your machine and install 
the matching ALSA debs as the path of least resistance.  Compiling 
kernels and ALSA can be a pain if you haven't done this before.

Can't say anything about VMWare, but the kernel version you use 
shouldn't matter.

Cheers,
-Don Spoon-


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



Re: kernel-source-2.4.18-bf2.4?

2003-03-05 Thread Rob Weir
On Wed, Mar 05, 2003 at 05:30:47PM -0600, Kris Kerwin wrote:
> Hi all,
> 
> Something tells me this is a question that has already been asked, and that 
> I'll probably be flamed for it, so, flame away!  :-)  Anyways - could anyone 
> tell me where I could find the source for kernel 2.4.18-bf2.4?  I've checked 
> in Debian's archives, as well as kernel.org and on Google.  Scary thing - 
> Google either says it doesn't exist, or (more likely) I don't know where to 
> begin to look.  
> 
> I'm looking to install ALSA and a (pirated) copy of VMWare, so if you can 
> think of a better kernel for those (that has a source and image available), I 
> could do with any help I can get. Thanks.

2.4.blah-bf2.4 is the install kernel.  The install guide talks more
about that.  You want to get a 'proper' kernel-image-2.4.18-
package, firstly.  As for the source sid, you usually only need the
approriate kernel headers, which can be found in the
'kernel-headers-2.4.18-' package.  I think ALSA is an exception to
this general rule, though; have a look in the alsa-source package's
README.Debian.  No idea about VMWare, sorry.

-- 
Rob Weir <[EMAIL PROTECTED]>http://ertius.org/


pgp0.pgp
Description: PGP signature


Mouse Cursor Offset in X

2003-03-05 Thread Paul M Foster
It seems like I've read about this problem before, but I can seem to 
find it in the archives.

I have Debian testing running, with the X 4.2 statically linked binary. 
I'm running a Cyberblade i/1 video card, and a generic wheel mouse 
(IMPS/2). Sometimes when I go into X, the mouse cursor will show up 
about a quarter of an inch to the right of what it's actually pointing 
at. That is, if you attempt to click on something, you're actually 
clicking a quarter inch to the right of where you think you're clicking.

I think the solution is to fiddle with something in the X config file, 
but I don't recall what.

Paul


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



ppp as normal user

2003-03-05 Thread Gandalf the Grey
well, that, the interfaces are not usable as a normal user in default
instalation.. i add my user to the groups: dialout,dip
ok.. pon is ok but poff NO.. in fact i use the gnome applet modem lights
   and it can start the conectios but not stop it, i have to stop it
from console but is posible to do it as normal user.. and the applet 
cant show the status or speed..
why that diference? from applet and from console..


¡Internet GRATIS es Yahoo! Conexión!
Usuario "yahoo", contraseña "yahoo". 
Desde Buenos Aires, 4004-1010.
Otras ciudades: http://conexion.yahoo.com.ar/avanzados.html

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



delay for the initial session data to be persisted to DB2

2003-03-05 Thread John Joe
sorry, this isn't Debian specific, but i have no
channel to seek help, except this.

could you explain the following?

On the same project, we thought we were seeing an
unexplained delay for the initial session data to be
persisted to DB2 in the test environment.

or

EMs persisting data to a DB2 database

from:
http://www7b.boulder.ibm.com/wsdd/library/techarticles/0203_polozoff/polozoff.html

In particular, pls explain "persisting data to a DB2 "
in simple terms. i'm not professional IT.

thanks in advance! 

__
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/


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



Re: OT:Cross-compiling

2003-03-05 Thread Jeff Elkins
>On Wednesday 05 March 2003 9:23 pm, Jeff Elkins wrote:
>I'm running a mixed network of i386 and ppc boxen and have been working on
>building cross-compilers. The i386 side is completed and working well. The
>ppc side is crashing with the final step...compiling glibc.
>
>/usr/local/lib/gcc-lib/i386-linux/3.2.2/../../../../i386-linux/bin/ld:/home
>/ jeff/bglibc/libc.so.lds:114: syntax error
>collect2: ld returned 1 exit status
>make[1]: *** [/home/jeff/bglibc/libc.so] Error 1
>make[1]: Leaving directory `/home/jeff/glibc-2.3.2'
>make: *** [all] Error 2

/home/jeff/glibc-2.3.2/configure --prefix=/usr/local/i386-linux
 --host=i386-linux --build=powerpc-linux --enable-add-ons --enable-threads
 --enable-shared --with-headers=/usr/local/i386-linux/include

Unfortunately, rebuilding the tool chain with a newer copy of binutils didn't 
make a difference.  The configure options I used are printed above. If anyone 
has an idea why this linking step fails, I'd sure appreciate hearing it.

Jeff Elkins




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



Re: please help! multi-boot problem, i think

2003-03-05 Thread nate
Wesley Harris said:
> I was running windows me, used partition magic to partition linux
> partitions, then installed debian 3. Unwisely, I let it boot from the mbr.
>   Now windows won't load at all, saying system files are missing or
> corrupt.

more info is needed:

fdisk -l /dev/hda


mount each of the win32 partitions and show output of ls of them

e.g. if win9x is on /dev/hda2 then
mkdir /mnt/c ; mount /dev/hda2 /mnt/c -t vfat

same for any other win32 partitions, mount them on different mount
points.

sounds like you may of wiped out the wrong partition? not sure without
more info.

nate




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



Re: HELP

2003-03-05 Thread nate
Ricardo said:
> hi.
> i'm having a problem with my asus dvd-rom under debian 3.0(woody). i was
> installing a few things from the 1st cdrom(after the basic
> installation of the system). when i finnished installing, i reboot the
> system but i could no longer access the dvd-rom drive. every time i try
> it reports this message: /dev/cdrom is not a block device
>
> what can i do to resolve this problem?

if you have a cdrom and a dvd-rom /dev/cdrom probably points to
your cdrom.

if your DVD and CDROMs are both IDE I'd do:

dmesg |  grep ^hd

and see which devices are which ..then mount them directly, or
make another link..e.g. if cdrom is /dev/hdc:

cd /dev ; rm cdrom ; ln -s hdc cdrom

and if dvdrom is hdd:

cd /dev ; ln -s hdd dvdrom

then mount the dvd using /dev/dvdrom ..

nate




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



Re: Sound

2003-03-05 Thread Seneca
On Wed, Mar 05, 2003 at 09:25:41PM -0500, Joel Konkle-Parker wrote:
> Ok, so I just compiled kernel 2.2.20 with sound support and emu10k1 (or 
> whatever it's called) supported by default. So what do I need to install 
> to actually get some sound playing? Some sort of sound infrastructure or 
> something?
> 
> I have a soundblaster audigy.

"cat foo > /dev/dsp", however I can't promise that it'll sound good ;-)

You should add yourself to the audio group, download some proper audio
players, and try playing something.  If by "supported by default" you
mean that it is compiled directly into the kernel, and is not a module,
then you don't have to load it separately.  Otherwise, just do a quick
"modprobe emu10k1" before trying to play anything.

-- 
Seneca
[EMAIL PROTECTED]


pgp0.pgp
Description: PGP signature


Re: Upgrade to KDE 3.1

2003-03-05 Thread Deryk Barker
Thus spake Fraser Campbell ([EMAIL PROTECTED]):
...
> What I would usually do (and there may be a better way) is on the new PC I 
> would add the appropriate URL to /etc/apt/sources.list for retreiving the 
> debs and then run an "apt-get update" to make the computer aware of the 
> available updates.
> 
> Next I would copy all of the debs to /var/cache/apt/archives on the new PC and 
> simply run "apt-get dist-upgrade".  This way you can use apt to solve any 
> dependency issues for you but still use the pre-downloaded files.

I did this on my wife's machine, going from 2.2 (standard woody) to
3.1 and some packages were not updated properly - in fact I think they
were removed and no replacement installed. Unfortunately I cannot
recall the details - it was moderately traumatic, as I thought she'd
said to go ahead and do it and she thought she hadn't

It's all OK now, but it wasn't as smooth as it could have been. 

caveat emptor. 
-- 
|Deryk Barker, Computer Science Dept. | Music does not have to be understood|
|Camosun College, Victoria, BC, Canada| It has to be listened to.   |
|email: [EMAIL PROTECTED] | |
|phone: +1 250 370 4452   | Hermann Scherchen.  |


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



please help! multi-boot problem, i think

2003-03-05 Thread Wesley Harris
I was running windows me, used partition magic to partition linux 
partitions, then installed debian 3. Unwisely, I let it boot from the mbr.  
Now windows won't load at all, saying system files are missing or corrupt.

lilo.conf looks like this for where windows should be:

other=/dev/hda2
  label="Other(hda2)"
It also says that Windows is at hda6, which can't be right (and doesn't even 
give me the error messages I get when trying to boot from hda2).

When I boot from a windows me startup disk, c: is my data partition, but 
before installing debian, c: was naturally my windows partition.

Now I'm stuck, b/c not only am I unfamiliar with Linux, I have installed 
only the minimal web-installer distribution of debian.

Please help if you have any ideas. Thank you!

_
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.  
http://join.msn.com/?page=features/virus

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



Re: annoying problem with TFT on dell laptop

2003-03-05 Thread nate
Shri Shrikumar said:

> The first is that every second time I load linux up, it shrinks the screen
> size to the center. I have a 15" screen but it only uses the center (maybe
> 12" or something - looked like 640x480 or something). When I reboot, the
> bios post screen is *also* this size and so is the grub screen.

check the bios ..most laptops have a "stretch screen" option. at least
most that i have used. Haven't used a dell in years.(typing this on
a thinkpad T20)

> The second problem that I am having may or may not be related to the above
> and is that once the xserve-xfree86 has been run, the consoles 1-6 dont
> display properly anymore - there is serious flicker there. I wonder if
> this might even damage the TFT.

it's generally a bad idea to switch to a virtual terminal once X
is loaded. some systems can handle it, many cannot. I've experienced
this for many many years on many different versions of Xfree86.


> instead of using dselect ?

or tasksel, yes. you told it to install 1 package, and as you saw,
X is many packages. I do the same thing and usually caught with
the same problem(lacking fonts, lacking startx etc).

nate




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



Re: OT:Cross-compiling

2003-03-05 Thread Jeff Elkins
On Wednesday 05 March 2003 9:23 pm, Jeff Elkins wrote:
>I'm running a mixed network of i386 and ppc boxen and have been working on
>building cross-compilers. The i386 side is completed and working well. The
>ppc side is crashing with the final step...compiling glibc.
>
>/usr/local/lib/gcc-lib/i386-linux/3.2.2/../../../../i386-linux/bin/ld:/home/
>jeff/bglibc/libc.so.lds:114: syntax error
>collect2: ld returned 1 exit status
>make[1]: *** [/home/jeff/bglibc/libc.so] Error 1
>make[1]: Leaving directory `/home/jeff/glibc-2.3.2'
>make: *** [all] Error 2

Oops. I'm not sure if this is the problem, but I compiled an older copy of 
binutils on the ppc side. I'm recompiling with a newer version and will try 
again...

Jeff Elkins


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



Debian, Putty and home and end keys

2003-03-05 Thread Agustín Fernández
Hi, I've been a long while trying to figure this out and I thought that 
this might be of use to others.

If you want to connect to a debian box from Putty you may notice that 
the home and end keys don't work, and just write "~" to the terminal. In 
order to get them working you must set the terminal-type string (under 
connection, in the configuration) to be "linux" instead of the default 
"xterm".

-.A.-

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



Sound

2003-03-05 Thread Joel Konkle-Parker
Ok, so I just compiled kernel 2.2.20 with sound support and emu10k1 (or 
whatever it's called) supported by default. So what do I need to install 
to actually get some sound playing? Some sort of sound infrastructure or 
something?

I have a soundblaster audigy.

- Joel

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



annoying problem with TFT on dell laptop

2003-03-05 Thread Shri Shrikumar
Hi,

I have spent the last few hours installing debian testing on a brand new
dell inspiron laptop and have managed to get it very close to working
properly. I am however, having two problems that are throwing me off
both to do with the display.

The first is that every second time I load linux up, it shrinks the
screen size to the center. I have a 15" screen but it only uses the
center (maybe 12" or something - looked like 640x480 or something). When
I reboot, the bios post screen is *also* this size and so is the grub
screen. 

However, when it goes into linux the next time, it will resize it to the
proper size. This just keeps on alternating. I have built a kernel
(2.4.20) manually (make bzImage) and I can post the config if anyone is
interested. I am *not* using a framebuffer device. The display card is
an NVidia Geforce 2

The second problem that I am having may or may not be related to the
above and is that once the xserve-xfree86 has been run, the consoles 1-6
dont display properly anymore - there is serious flicker there. I wonder
if this might even damage the TFT.

I also noticed that installing xserver-xfree86 did not install all of
the necessary files that we necessary like xfonts-base and
xbase-clients. Would this just be because I was silly in running 


apt-get install xserver-xfree86

instead of using dselect ?

Has anyone met with the strange behaviour of the TFT before ? One thing
to mention is that I used 2.2.20-idepci kernel to boot the installation
and compile the new kernel all the time with no problems with screen
shrinking or anything like that. I did not however, run the xserver on
that so cant say if the terminal display corruption is due to the new
kernel.

I am sure that I have enabled an option that I shouldnt have or not
enabled on I should have but having recompiled it a few times, havent
found the right combination.

Any and all help or pointers very much appreciated.

Thank you for your time,



Shri


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



OT:Cross-compiling

2003-03-05 Thread Jeff Elkins
Hello list,

I'm running a mixed network of i386 and ppc boxen and have been working on 
building cross-compilers. The i386 side is completed and working well. The 
ppc side is crashing with the final step...compiling glibc. 

/usr/local/lib/gcc-lib/i386-linux/3.2.2/../../../../i386-linux/bin/ld:/home/jeff/bglibc/libc.so.lds:114:
 
syntax error
collect2: ld returned 1 exit status
make[1]: *** [/home/jeff/bglibc/libc.so] Error 1
make[1]: Leaving directory `/home/jeff/glibc-2.3.2'
make: *** [all] Error 2

Any thoughts on what might be casusing the ld error?

Thanks

Jeff Elkins


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



HELP

2003-03-05 Thread Ricardo
hi.
i'm having a problem with my asus dvd-rom under debian 3.0(woody).
i was installing a few things from the 1st cdrom(after the basic 
installation of the system). when i finnished installing, i reboot the 
system but i could no longer access the dvd-rom drive. every time i try 
it reports this message: /dev/cdrom is not a block device

what can i do to resolve this problem?



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



information

2003-03-05 Thread Ricardo
hi.
i was wondering if the book "Debian GNU/Linux 2.1 Unleashed" is useful 
for Debian 3.0 users or if there are many changes or diferences?
i'll be waitting for your answer.



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



Re: Unidentified subject!

2003-03-05 Thread nate
Jerry Van Brimmer said:
>
>>tune2fs -c 0 -i 0 /dev/the-file-system-you-mounting
>>
> Does it have to be done this way? Isn't there a config file somewhere
> with a number in it I can change? Say, from 20 to 30, for once a month?


-c # = number of mounts before forced check
-i #d = number of days before forced check
-i #w = number of weeks before forced check

so maybe.. tune2fs -c 30 /dev/whatever

to run every 30 mounts.. or tune2fs -i 30d to run it once a month

nate






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



Re: Unidentified subject!

2003-03-05 Thread Jerry Van Brimmer
Wilfried Essig wrote:

Am Son, 2003-03-02 um 03.54 schrieb debian_newbie:
 

Hello Everybody,

How do I change the number of times I can boot up before fsck does a
complete file system check? It does it on my Woody machine every 20
times. Also, I'm using ext3 filesystem. isn't it a journalized fs? I
thought journalized filesystems didn't have to be fscked?
   

tune2fs -c 0 -i 0 /dev/the-file-system-you-mounting

Does it have to be done this way? Isn't there a config file somewhere 
with a number in it I can change? Say, from 20 to 30, for once a month?

 

--
debian_newbie,
Thanks
   





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



Re: The Very Verbose Guide to Updating and Compiling Your Debian Kernel

2003-03-05 Thread Osamu Aoki
On Wed, Mar 05, 2003 at 02:13:24PM -0800, Vineet Kumar wrote:
> * Daniel Farnsworth Teichert <[EMAIL PROTECTED]> [20030305 12:23 PST]:
> > (Note that the above requires that root has access to your X
> > display, because it uses 'xconfig'. Now, this is probably going
> > to show you how clue-less I am, but one simple way I do this on
> > occasion is by 'ssh -X [EMAIL PROTECTED]' to become root for the
> > above; go ahead, tell me it's silly--I know : ).
> 
> Actually, you get a big round of applause.  ssh -X [EMAIL PROTECTED] is a
> fine way to go.  When you started to say clueless I was preparing myself
   should have been "is one way"
> for another "why nobody should ever use xhost, ever" rant coming on, but
> you've done things the^H^H^H^H a good way =)

ssh is cpu bandwidth eater for no reason other than short typing.

  http://www.debian.org/doc/manuals/reference/ch-tune.en.html#s-ss-xsu

> > Anyway, like I have already implied, I'm no expert here--but I
> > thought this was more along the Debian lines.

As the other said, fakeroot is the ticket :-)

-- 
~\^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]



apt-src question

2003-03-05 Thread Simon Eilting
Hi,

hope this is the correct place to ask. Why is it, that when I install a 
package with apt-src, and do an apt-get -u upgrade after that, that the 
package is to be 'upgraded' to another package of the exact same 
version from the debian server? Isn't it only supposed to upgrade if 
the version number has changed? Or do I need to do something special 
after installing the from-source package? This happens with every 
package, I tried 9. I am using an up-to-date sid.
Thanks, Simon

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



Re: USB device detection problem

2003-03-05 Thread Osamu Aoki
On Wed, Mar 05, 2003 at 09:02:41AM -0800, Jack Pistachio wrote:
> After either rebooting from windoze to linux, or even with
> a complete shutdown/poweroff, my two usb mass-storage
> devices aren't detected unless I boot Linux twice!  Loading
> and unloading modules doesn't help.
> Everything USB works fine in linux afterwards (and
> beforewards).  There are no error messages, just a lack of
> device detection messages.  /proc/bus/usb/devices won't
> show the drives when this happens, but all USB ports are
> detected.
> ctl-alt-del as bios is scanning for a bootable floppy does
> the trick, but a better solution should definately be had.

On Linux ACPI/USB seems to be evolving fast and seems to have gliches.
If I have mu mouse on USB, my boot fails :-(  Second booting, I
remember, fixed it.

I deal this by plugging mouse later.  I have hotplug package installed.

Try booting without drive and plug in later.

IMHO, USB/ACPI/Firewire are still flaky even on 2.4.  I ever bothered to
patch with latest patches.  It seems there are enough fixes going on...

New hardwares are always bitch on Linux.
-- 
~\^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]



Re: How can I power down the computer?

2003-03-05 Thread Ian Melnick
> If there any way to configure debian so it does everything in one step and 
> I don't need to press the power bottom after all?


You can configure your kernel to use power management - either APM or
ACPI depending on your hardware. I don't know how it's done with the
debian packaged kernel, but if you compile from scratch, the power
management stuff is under General setup in menuconfig.

Hope this helps


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



Re: getting the initrd to load

2003-03-05 Thread Ian Melnick
> You can use romfs or even ext2/ext3.  Check out the MKIMAGE setting
> in mkinitrd.conf.

Okay, I used genromfs (i think) according to the example in your man page. 
Lilo doesn't load it, and on startup, I still get a message:
"RAMDISK: Couldn't find valid ram disk image starting at 0."
It's still in /boot; in lilo.conf it says: initrd=/boot/initrd-2.4.20

What now?
Thanks


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



interlink versapoint rf?

2003-03-05 Thread Cliff Draper
Has anyone gotten this wireless keyboard/mouse combo to work?  The
base receiver has a single USB connection that handles both the
keyboard and mouse data.  The keyboard works easily enough, but the
mouse refuses to do anything for me.

Thanks for any help you can provide.
-Cliff

Here's some data from my syslog:
Mar  3 00:37:58 odin kernel: usb.c: registered new driver usbdevfs
Mar  3 00:37:58 odin kernel: usb.c: registered new driver hub
Mar  3 00:37:58 odin kernel: usb-uhci.c: $Revision: 1.275 $ time 17:58:27 Mar  2 2003
Mar  3 00:37:58 odin kernel: usb-uhci.c: High bandwidth mode enabled
Mar  3 00:37:58 odin kernel: PCI: Found IRQ 10 for device 00:10.0
Mar  3 00:37:58 odin kernel: usb-uhci.c: USB UHCI at I/O 0xdc00, IRQ 10
Mar  3 00:37:58 odin kernel: usb-uhci.c: Detected 2 ports
Mar  3 00:37:58 odin kernel: usb.c: new USB bus registered, assigned bus number 1
Mar  3 00:37:58 odin kernel: hub.c: USB hub found
Mar  3 00:37:58 odin kernel: hub.c: 2 ports detected
Mar  3 00:37:58 odin kernel: PCI: Found IRQ 11 for device 00:10.1
Mar  3 00:37:58 odin kernel: PCI: Sharing IRQ 11 with 00:0a.0
Mar  3 00:37:58 odin kernel: usb-uhci.c: USB UHCI at I/O 0xe000, IRQ 11
Mar  3 00:37:58 odin kernel: usb-uhci.c: Detected 2 ports
Mar  3 00:37:58 odin kernel: usb.c: new USB bus registered, assigned bus number 2
Mar  3 00:37:58 odin kernel: hub.c: USB hub found
Mar  3 00:37:58 odin kernel: hub.c: 2 ports detected
Mar  3 00:37:58 odin kernel: PCI: Found IRQ 5 for device 00:10.2
Mar  3 00:37:58 odin kernel: usb-uhci.c: USB UHCI at I/O 0xe400, IRQ 5
Mar  3 00:37:58 odin kernel: usb-uhci.c: Detected 2 ports
Mar  3 00:37:58 odin kernel: usb.c: new USB bus registered, assigned bus number 3
Mar  3 00:37:58 odin kernel: hub.c: USB hub found
Mar  3 00:37:58 odin kernel: hub.c: 2 ports detected
Mar  3 00:37:58 odin kernel: usb-uhci.c: v1.275:USB Universal Host Controller 
Interface driver
Mar  3 00:37:58 odin kernel: usb.c: registered new driver keyboard
Mar  3 00:37:58 odin kernel: usbkbd.c: :USB HID Boot Protocol keyboard driver

odin:/proc/bus/usb[116]# cat devices 
T:  Bus=03 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 1.00 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor= ProdID= Rev= 0.00
S:  Product=USB UHCI Root Hub
S:  SerialNumber=e400
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   8 Ivl=255ms
T:  Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 1.00 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor= ProdID= Rev= 0.00
S:  Product=USB UHCI Root Hub
S:  SerialNumber=e000
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   8 Ivl=255ms
T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
B:  Alloc=118/900 us (13%), #Int=  1, #Iso=  0
D:  Ver= 1.00 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor= ProdID= Rev= 0.00
S:  Product=USB UHCI Root Hub
S:  SerialNumber=dc00
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   8 Ivl=255ms
T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  7 Spd=1.5 MxCh= 0
D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=04df ProdID=0020 Rev= 3.00
S:  Manufacturer=Link
S:  Product=keybd
C:* #Ifs= 2 Cfg#= 1 Atr=a0 MxPwr=100mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=01 Prot=01 Driver=keyboard
E:  Ad=81(I) Atr=03(Int.) MxPS=   8 Ivl=10ms
I:  If#= 1 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=01 Prot=02 Driver=(none)
E:  Ad=82(I) Atr=03(Int.) MxPS=   4 Ivl=10ms
odin:/proc/bus/usb[117]# cat drivers 
 usbdevfs
 hub
 keyboard
 usb-storage


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



Re: kernel-source-2.4.18-bf2.4?

2003-03-05 Thread Russell Shaw
Kris Kerwin wrote:
Hi all,

Something tells me this is a question that has already been asked, and that 
I'll probably be flamed for it, so, flame away!  :-)  Anyways - could anyone 
tell me where I could find the source for kernel 2.4.18-bf2.4?  I've checked 
in Debian's archives, as well as kernel.org and on Google.  Scary thing - 
Google either says it doesn't exist, or (more likely) I don't know where to 
begin to look.  
maybe here: http://packages.debian.org/stable/devel/kernel-source-2.4.18.html

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



How can I power down the computer?

2003-03-05 Thread Didier Caamano
Greetings:

I was wondering if there is any option in which I can setup Debian to 
automatically power down my computer. So far whenever I issue the shutdown 
-h now command it does all what the OS needs to do but, it stop with a 
message of Power Down, like Now is save to turn your computer off, and I 
have to press the power bottom.

If there any way to configure debian so it does everything in one step and I 
don't need to press the power bottom after all?

Any suggestion will be apretiated.
Didier.
"Nothing would please me more than being able to hire ten programmers and 
deluge the hoby market with good software"...Bill Gates 1976...We're still 
waiting



_
Add photos to your e-mail with MSN 8. Get 2 months FREE*.  
http://join.msn.com/?page=features/featuredemail

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



Re: Setting Default Framebuffer Mode

2003-03-05 Thread Ian Melnick
> I think it depends on your specific framebuffer driver.

It does. I use the rivafb driver on this computer, and it doesn't
support kernel arguments at stat-up, so 'vga=whatever' doesn't work with
this driver. Instead, you need to edit the fbdev.c file in
linux/drivers/video/riva, and change the default settings within "struct
fb_var_screeninfo rivafb_default_var", to match the settings that you
want from /etc/fb.modes. Since I was satisfied with 640x480 but wanted a
better refresh rate (from 60 to 100Hz), I had to change pixclock to
22272, left_margin to 48, right_margin to 32, upper_margin to 17,
lower_margin to 22, hsync_len to 128, vsync_len to 12. Hopefully this is
useful to someone else. Thanks for cluing me on referring to
'documentation' (what's that?!).


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



kernel-source-2.4.18-bf2.4?

2003-03-05 Thread Kris Kerwin
Hi all,

Something tells me this is a question that has already been asked, and that 
I'll probably be flamed for it, so, flame away!  :-)  Anyways - could anyone 
tell me where I could find the source for kernel 2.4.18-bf2.4?  I've checked 
in Debian's archives, as well as kernel.org and on Google.  Scary thing - 
Google either says it doesn't exist, or (more likely) I don't know where to 
begin to look.  

I'm looking to install ALSA and a (pirated) copy of VMWare, so if you can 
think of a better kernel for those (that has a source and image available), I 
could do with any help I can get. Thanks.

Kris Kerwin


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



Re: OT: EchoLink equivalent for Linux

2003-03-05 Thread Kent West
Kent West wrote:

As an amateur radio operator (ham), I've just been introduced to a 
very neat little program called EchoLink, which is an interesting 
marriage between the internet and radio. The only problem is that it 
appears to be Windows only. Does anyone know of a similar program for 
Linux?
I've been able to get EchoLink to _almost_ work in Linux via WINE. I can 
see who's online/on-air, I can connect to them, I can type and recieve 
messages, I can hear their audio, but I can't send audio. As I've 
tinkered with it, I've about decided the problem is not in 
EchoLink/WINE, but rather in my sound setup. I've never used a 
microphone on Linux before, and no matter what I try I can't seem to get 
any indication of audio from my mic. I can hear audio if I get right up 
close to the mic, but I think it's just feeding straight through the 
sound card without getting digitized and processed through the computer 
itself. I've tried playing with the settings in aumix and gmix and kmix 
and krec and etc, but haven't had much luck. Well, that's not entirely 
true; from the command prompt I can type "rec hello.wav" and record some 
voice audio that way, and then play it back via "play hello.wav". If any 
of you hams out there have a few minutes and have working microphone 
audio, you might try downloading EchoLink 
(http://www.synergenics.com/el/) and giving it a try and letting me know 
if it works or not.

Thanks!

Kent



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



Re: Patched sendmail? testing?

2003-03-05 Thread Colin Watson
On Wed, Mar 05, 2003 at 05:05:05PM -0500, Joey Hess wrote:
> Colin Watson wrote:
> > the new safe signals implementation has caused some problems which mean 
> > that the next upstream release will allow them to be turned off.
> 
> Argh.
> Do you know if that is a compile-time switch or a run-time switch? I've
> had some very fun debugging sessions based on perl's signal handling
> changes and the only thing worse than having to deal with the current
> safe signals would be making my programs have to deal with both sorts.

Fear not; I believe that it'll be controlled by $ENV{PERL_SIGNALS} being
'unsafe' or 'safe'. All the other syntactic tricks that were proposed
seemed to blow up on older versions of perl, which would have defeated
the point.

(The signature was the implementor's frustrated summary on trying to get
anyone to agree on what the switch should be ...)

-- 
Colin Watson  [EMAIL PROTECTED]
"My suggestion is that we create a new programming language for the
purpose, written completely in Akkadian cuneiform, Nepalese, and
backwards." -- Jarkko Hietaniemi, perl5-porters


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



Re: The Very Verbose Guide to Updating and Compiling Your DebianKernel

2003-03-05 Thread Travis Crump
Daniel Farnsworth Teichert wrote:
# make sure you've got the bzip2 package; the comment in the
# article confusing 'tar' and 'gzip' also confused me, BTW...
apt-get install bzip2
not necessary since kernel-source depends on bzip2 it will be brought it 
automatically when you install the kernel source
# Get the make-kpkg program and friends...
apt-get install kernel-package
# get the kernel source...
apt-get install kernel-source-2.4.20
From this point on you shouldn't be root, add yourself to the group 
'src' instead.['adduser  src' as root, you'll have to restart 
your shell for this to take effect, the easiest way is to just start a 
new subshell with 'bash' or similar.]
# go to the source...
cd /usr/src
# unpack it; note that the 'j' flag un-bzips it...
tar -xjvf kernel-source-2.4.20.tar.bz2
# into the unzip'ed, un-tar'ed  source...
cd kernel-source-2.4.20
make-kpkg kernel_image

You need to use fakeroot for this step since you shouldn't be doing this 
as root.  I typically use 'fakeroot make-kpkg --append-to-version blah 
--initrd kernel_image kernel_headers modules_image'.  The 
append-to-version option makes it possible to install two kernels from 
the same tree simultaneously.

(Note that the above requires that root has access to your X
display, because it uses 'xconfig'. Now, this is probably going
to show you how clue-less I am, but one simple way I do this on
occasion is by 'ssh -X [EMAIL PROTECTED]' to become root for the
above; go ahead, tell me it's silly--I know : ).
It is not a silly way to become root, it is just silly to become root. :)

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



formail help

2003-03-05 Thread Attila Csosz
Hi,

Which fields should I place at least to this list to get correct 
mailbox? I use the followings but I've got an error message in mutt 
"this is not a correct mailbox" (or similar)

in my .procmailrc

:0
*
| formail -k X From: -X Subject: >> inbox
Thanks
Attila




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



Mozilla and TrueType

2003-03-05 Thread Ismael Valladolid Torres
Hi,

To enable TrueType support for Mozilla at work I configure my
/etc/mozilla/prefs.js as follows:

// TrueType
pref("font.FreeType2.enable", true);
pref("font.freetype2.shared-library", "libfreetype.so.6");
pref("font.FreeType2.autohinted", true);
pref("font.FreeType2.unhinted", false);
pref("font.antialias.min",10);
pref("font.directory.truetype.1", "/usr/share/fonts/truetype");

I have copied some .ttf files inside this directory. But Mozilla only
allows me to select these fonts if the directory, owned by root, is
world writable, as I have detected that a .mozilla_font_summary.ndb
file needs first to be created and later to be open for writing.

I'd like to know the usage for this file. I also wonder if there is some
kind of workaround that allows me to avoid having that
/usr/share/fonts/truetype directory world writable, as if I install
the msttcorefonts package, those fonts show up in Mozilla without the
need of changing /usr/lib/X11/fonts/TrueType permissions. Any info
will be very useful. Thanks.

Regards, Ismael


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



Re: X doesn't seem to load app-defaults using gdm

2003-03-05 Thread Wim De Smet
On Wed, 5 Mar 2003 07:42:33 +0100
Martin Kacerovsky <[EMAIL PROTECTED]> wrote:
> Hi,
>   
> On Tue, Mar 04, 2003 at 07:17:41PM -0800, Marc Wilson wrote:
> > So, try this:
> > 
> > rxvt*background:black
> > rxvt*foreground:white
> > 
> > I don't know for sure what class name rxvt actually uses, 
> > but a preusal of the documentation will tell you.
> > 
> 
> Most terminal emulators accept class name XTerm, I guess,
> (yeah, I know, Eterm does not, it has it's own conf. file)
> so I have in my /etc/X11/Xresources/xterm file:
> 
> ! /etc/X11/Xresources/xterm
> 
> XTerm*font: -misc-fixed-medium-r-normal--20-*iso8859-2
> XTerm*scrollBar:false
> XTerm*foreground:   grey
> XTerm*background:   black
> 
> And rxvt accepts it so, and aterm too.
> 

My bad. Apparently there was no line like this present. So basically the
settings for xterm background color get loaded from somewhere else when
not using the Xsession session under gdm. Only question is where. I'll
look to /etc/X11/Session.d/ but I didn't find it in there earlier. Maybe
I overlooked it...

-- 
Only two things are infinite: human stupidity and the universe, and I'm
not sure about the latter. -- Albert Einstein


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



Re: The Very Verbose Guide to Updating and Compiling Your Debian Kernel

2003-03-05 Thread Vineet Kumar
* Daniel Farnsworth Teichert <[EMAIL PROTECTED]> [20030305 12:23 PST]:
> (Note that the above requires that root has access to your X
> display, because it uses 'xconfig'. Now, this is probably going
> to show you how clue-less I am, but one simple way I do this on
> occasion is by 'ssh -X [EMAIL PROTECTED]' to become root for the
> above; go ahead, tell me it's silly--I know : ).

Actually, you get a big round of applause.  ssh -X [EMAIL PROTECTED] is a
fine way to go.  When you started to say clueless I was preparing myself
for another "why nobody should ever use xhost, ever" rant coming on, but
you've done things the^H^H^H^H a good way =)

> Anyway, like I have already implied, I'm no expert here--but I
> thought this was more along the Debian lines.

I haven't taken a look at the referenced document yet, so I can't say
how it compares, but your procedure looks good, at least by my cursory
glance.  (Although, I generally use menuconfig, which makes the whole X
discussion moot.  That's just a matter of personal preference, though.)

good times,
Vineet
-- 
http://www.doorstop.net/
-- 
http://www.digitalconsumer.org/


signature.asc
Description: Digital signature


Re: X doesn't seem to load app-defaults using gdm

2003-03-05 Thread Wim De Smet
On Tue, 4 Mar 2003 19:17:41 -0800
Marc Wilson <[EMAIL PROTECTED]> wrote:
> On Tue, Mar 04, 2003 at 10:45:11PM +0100, Wim De Smet wrote:
> > /etc/X11/app-defaults/Rxvt contains the following two lines:
> > background:black
> > foreground:white
> > Yet rxvt is allways loaded with background white and foreground
> > black.
> 
> If that's all the line actually says, of course rxvt isn't going to
> pay the slightest attention.  You haven't created a resource that it
> SHOULD pay attention to.

I haven't created any resource. This is a standard app-default that gets
installed with the package. Maybe a bug?

> 
> X resources are hierarchial.  The name of the file they're defined in
> is entirely irrelevant.
> 
> So, try this:
> 
> rxvt*background:black
> rxvt*foreground:white
> 
> I don't know for sure what class name rxvt actually uses, but a
> preusal of the documentation will tell you.
> 
> -- 

I'll try it. But this still doesn't solve the entire problem. When using
.xsession, none of the app-defaults get loaded (eg. Xterm has a white
background and other stuff like that). Any thoughts on that would still
be welcome.

thx,
Wim


-- 
Only two things are infinite: human stupidity and the universe, and I'm
not sure about the latter. -- Albert Einstein


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



Re: Network config help needed

2003-03-05 Thread Patrick Wiseman
On Wed, 5 Mar 2003 at 9:00pm, [EMAIL PROTECTED] wrote:

:Setting up the loopback and pingin it works fine, pinging into the 
:machine also works fine (tried from an old win95 machine). But 
:pinging out of the machine dosn't work, I'm getting the error message 
:"Unable to connect to remote host: No route to host" when telnetting.

Does "route -n" show a gateway?  It should show something like:

Kernel IP routing table
Destination  Gateway  Genmask  Flags Metric RefUse Iface
192.168.1.0  0.0.0.0  255.255.255.0   U 00  0  eth1
0.0.0.0  192.168.1.1  0.0.0.0 UG00  0  eth1

If it shows something like

Destination  Gateway  Genmask  Flags Metric RefUse Iface
192.168.1.0 * 255.255.255.0   U 00  0  eth1

then you don't have a default gateway set up.  Do "route add default gw
192.168.1.1" substituting the correct IP address for your gateway of
course.  Edit /etc/interfaces (as directed at "man interfaces") to have it
work on boot.

Patrick

-- 
Patrick Wiseman   [EMAIL PROTECTED]
Linux user #17943 *Google First, Ask Later*



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



Re: Patched sendmail? testing?

2003-03-05 Thread Joey Hess
Colin Watson wrote:
> the new safe signals implementation has caused some problems which mean 
> that the next upstream release will allow them to be turned off.

Argh.
Do you know if that is a compile-time switch or a run-time switch? I've
had some very fun debugging sessions based on perl's signal handling
changes and the only thing worse than having to deal with the current
safe signals would be making my programs have to deal with both sorts.

-- 
see shy jo


pgp0.pgp
Description: PGP signature


RE: Working with WAV files

2003-03-05 Thread David Turetsky




>>> On Tue, Mar 04, 2003 at 04:07:07PM -0500, David Turetsky wrote:

   What packages are out there which facilitate editing?


>>> sean finney [mailto:[EMAIL PROTECTED] 
>>> Sent: Wednesday, March 05, 2003 11:14 AM

   a good one that you can run from the command line is sox.  it has a
bunch
   of basic effects and filters you can pass the sound through, i've
used
   it in the past and been happy with it
   

>>> David Turetsky:

   I checked it out and was impressed. Not seeing how to listen to the
   WAV file, I tried 'play' which makes use of sox and discovered that
   my sound card uses a chip set provided by a bankrupted manufacturer,
   Aureal

   I check 'modconf' and before attempting to install any driver,
   visited http://aureal.sourceforge.net/ and
   http://www.vortexofsound.com/techhelp/th-v2a43.htm and
   related sites. Windows identifies my sound card as 'Aureal Vortex
   8830 Audio (WDM)'. 'lspci' gives Multimedia audio controller: Aureal
   Semiconductor Vortex 2 (rev fe)

   When I purchased the card with my Dell system, it was described as
   Montego Bay (which shows up on 'modconf's list)

   Before I go off experimenting with modconf, I wonder if anyone has
   been over this ground. If I add a driver using modconf and get no
   result, how do I remove it?

   
   -- 
   David


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



Re: lost X... non valid arg: tcp ....

2003-03-05 Thread Bruno Boettcher
On Wed, Mar 05, 2003 at 06:07:26PM +0100, Mark Schouten wrote:
> Perhaps you could be more specific?
uhm indeed the image shown me on the start of xdm is a pixelized
chaos, i thus disabled xdm
in fact a strange mix of old images somehow still stored in the grafic
card buffer

started with startx 

>   * Does your displaymanager start?
starts, reports no errors, but i only get an empy frame on the display
where normally the chooser would be...
typing blindly the login doesn't yield any result...

>   * Does your windowmanager start?
i can't start another one.. so somehow sawfish seems started

> What do /var/log/XFree86.0.log ~/.xsession-errors say?
general one ends with:
(EE) Generic Mouse: cannot open input device
(EE) PreInit failed for input device "Generic Mouse"
(II) UnloadModule: "mouse"
(II) XINPUT: Adding extended input device "Configured Mouse" (type:
  MOUSE)
Could not init font path element unix/:7100, removing from list!

which seems quite normal

xsession-errors gives:
SESSION_MANAGER=local/laptop:/tmp/.ICE-unix/1357
Gnome-Message: gnome_execute_async_with_env_fds: returning -1
Gnome-Message: gnome_execute_async_with_env_fds: returning -1
Gnome-Message: gnome_execute_async_with_env_fds: returning -1

no idea what that means

i started X with : startx 2>&1 |tee log
and that gives a lot more stuff, but still:
** (gnome-panel:8513): WARNING **: Unable to load panel stock icon 'go'

No panel_id set for panel object with ID 0001
Unable to open desktop file
file:///home/bboett/.gnome2/panel2.d/default/launcher
s/hammer-0051ace0aa.desktop for panel launcher: Error reading file
'file:///home/
bboett/.gnome2/panel2.d/default/launchers/hammer-0051ace0aa.desktop':
File not found


last 2 things repeated several times


i tryed exporting the display from a console and start there an xterm to
see what's happening

the strange thing is, the xterm launches, gives no error messages
anyway, and on the display appears a rectangle with some old grafic
buffer displayed inside, no windowmanager borders, no shell inside

its really strange...

-- 
ciao bboett
==
[EMAIL PROTECTED]
http://inforezo.u-strasbg.fr/~bboett
===


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



RE: Network config help needed

2003-03-05 Thread deFreese, Barry


Barry deFreese
NTS Technology Services Manager
Nike Team Sports
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 05, 2003 1:16 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Network config help needed
> 
> 
> 
> Yep, read Net-HOWTO, but still I can't get it to work. ...
> 
> Setting up the loopback and pingin it works fine, pinging into the 
> machine also works fine (tried from an old win95 machine). But 
> pinging out of the machine dosn't work, I'm getting the error message 
> "Unable to connect to remote host: No route to host" when telnetting.
> 
> Is "ifconfig eth0 192.168.0.1 netmask 255.255.255.0 up" enough to 
> set up the network, I don't have to edit /etc/hosts or something 
> else?
> 

Chris,

Your /etc/network/interfaces should look like so:

iface eth0 inet static
address 192.168.0.1
netmask 255.255.255.0
network 192.168.0.0
broadcast   192.168.0.255
gateway 192.168.0.?? --> Whatever your default router/gateway
address is.

Actually the gateway shouldn't matter since the other host is on the same
subnet.  Again, you need to verify that the subnet mask for both hosts are
the same.

Barry deFreese
NTS Technology Services Manager
Nike Team Sports
(949)-616-4005
[EMAIL PROTECTED]

"Technology doesn't make you less stupid; it just makes you stupid faster."
Jerry Gregoire - Former CIO at Dell



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



Re: ssh and X---where do I switch the remote to X-listen

2003-03-05 Thread David Gaudine
Here is a link to a pdf file that contains everything I know about
running remote X clients with and without ssh, and with and without xdm.
Since it contains everything I know, it's a very short download.
http://annette.concordia.ca/~david/X.pdf


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



Problems building a GCC cross compiler using the toolchain-sourcepackage

2003-03-05 Thread Pedro Sanchez
Hello,

I'm trying to build a cross compiler using the toolchain-source and
dpkg-cross packages, along the lines of what is described at
http://people.debian.org/~debacle/cross.html

But I'm running into problems:

1. When building binutils the scripts complain about dh_split not found.
I thought this was part of the debhelper package but it is not. Where do
I find it? The scripts keep processing though, so I'm assuming this is
harmless, but I really don't know.

2. When building gcc, dpkg-checkbuilddeps complains with "Build
conflicts: libgcc300" and aborts processing. I don't want to override
this with the -d flag because I believe my host machine is going to be
toasted with the wrong libraries. What is the work around?

My host machine is an Intel PC running Debian/unstable. I would
appreciate any suggestions.

Thank you,

-- 
Pedro Sanchez <[EMAIL PROTECTED]>
Nortel Networks



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



Re: Network config help needed

2003-03-05 Thread chris1622

Yep, read Net-HOWTO, but still I can't get it to work. ...

Setting up the loopback and pingin it works fine, pinging into the 
machine also works fine (tried from an old win95 machine). But 
pinging out of the machine dosn't work, I'm getting the error message 
"Unable to connect to remote host: No route to host" when telnetting.

Is "ifconfig eth0 192.168.0.1 netmask 255.255.255.0 up" enough to 
set up the network, I don't have to edit /etc/hosts or something 
else?

On 2 Mar 2003, at 10:05, praveen kallakuri wrote:

> -BEGIN PGP SIGNED MESSAGE-
> 
> you dont have a lo in ur route: loopback interface.
> 
> check whether you can ping to yourself (lo) 127.0.0.1 on each pc.
> then configure pc1 as 192.168.0.1. repeat the two steps with pc2,
> only changing the ip address.
> 
> the initial sections of Net-HOWTO must help.
> 
> solong
> 
> [EMAIL PROTECTED] wrote:
>  >
>  > Please help me
>  > I'm trying to connect two pc's, but I allways get the message
>  > "unable to  connect to remote host: No route to host". What am I
>  > missing?
>  >
>  > My config for pc1 looks like this:
>  > ifconfig eth0 192.168.0.1 netmask 255.255.255.0 up
>  > rout add -host 192.168.0.2 eth0
>  >
>  > "route -n" output:
>  > 192.168.0.2  0.0.0.0  255.255.255.255  UH  0  0  0  eth0
>  > 192.168.0.0  0.0.0.0  255.255.255.0UH  0  0  0  eth0
>  >
>  > /etc/hosts
>  > domain home
>  > search home
>  > nameserver 10.0.0.1
>  > nameserver 10.0.0.2
>  >
>  >
> 
> 
> -BEGIN PGP SIGNATURE-
> Version: PGPfreeware 6.5.8 for non-commercial use 
> 
> iQB1AwUBPmIrugSOhI6OETvlAQGXogMAxNdOci2Hq7P+oAsQgg2GF6Gdj6xKVwU4
> h7H9RNO+mOx7EG0ZllbKI40UY71th2+aUeQJnsOdOlGhC5s4MBMPnCFGaWQBvXIw
> 8yZE0HdNJiuL39IZilLYW60WBrWWTQpv
> =EQvk
> -END PGP SIGNATURE-
> 
> 
> 
> -- 
> 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: VIA Tahoe onboard LAN

2003-03-05 Thread Alvin Oga

hi ya

On Wed, 5 Mar 2003, Gabriel Granger wrote:

> I'm looking into setting up a 1U rack server, I'm looking at getting a 
> board with LAN ie saving the 1 pci I will have for something else, Epox 
> do a motherboard with onboard LAN which is VIA Tahoe.  Does anyone know 
> if this supported under debian, and if so how good it compared with 
> say... 3com or other well known NIC's

most 1U chassis manufacturers do not yet support the whacky mini-itx
connector layout on the back of the eden motherboard ( aka mini-itx aka
shuttle shoebox )

there's a couple out ...  but i can get a bunch of it if needed for
testing
http://www.Linux-1U.net/1U_Others
( mini-itx stuff at the bottom )

c ya
alvin


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



Help please - KDE GUI won't display

2003-03-05 Thread Marsha Petry
I did a dist-upgrade this morning, and now my initial KDE screen comes up
with an OK background but a black box where the user login should be.  I can
figure out where the text input boxes are for logging, but when I log in the
desktop shows my wallpaper with some icons scattered around and that's it.
Nothing happen if I click on icons, or rt-click, or left-click.

I'm using 'unstable' on a IBM Thinkpad T20. The new KDE worked fine 'til
today.  A big guess is that when a config screen came up saying something
like "if you want better rendering on your display, click yes" I selected
yes and caused all this - but I can't find where to undo that selection.

I've reinstalled KDE (3.1), KDM, xserver* and reconfig'd just about every
package.  No luck.  Now I'm saving my files to try and reinstall OS.

Is there a log of what was done in the latest dist-upgrade so that I can see
what was upgraded this morning?  In all the reinstalling, I did an apt-get
clean so I don't have cached packages.  Probably dumb, but I'm getting a
little desparate.

Please help with any info you can.

Thanks
Marsha


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



Re: Newbie bull brings own china shop.

2003-03-05 Thread Klaus Imgrund
On Mon, 03 Mar 2003 18:19:09 +0100
Michael Bona <[EMAIL PROTECTED]> wrote:

> Klaus,
> 
> so did you find a pattern under what circumstances it works and when
> it does not? I would be very interested especially concerning Debian
> ...
> 
> Michael

Sorry,

late reply - technical problems.
Basically what does work is a netinstall with the 'boot.iso'from Eduard
Bloch.
I suppose his 'bootbf2.4.iso' would also work if I could get the iso to
CD in one peace.
The 'sarge-businesscard' and 'sarge-netinstall' iso's from debian have
the problem that the module sis900 isn't there when you choose the
option'netinstall' at boot.
When you just hit 'enter' and load all available options - thats what I
do since I can't see the fist 13 on my screen - a couple of times the
sis900 module is available but modprobe can't load it for some reason;it
does load with 'insmod sis900'.
After that detection with dhcp fails.I tried to look at the config files
with nano - but that complains about something UTF8 as far as I
remember.
The detection works fine.
With an old potato CD I got everything worked fine.

If you need any more or any specific info please let me know.

Klaus


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



Re: ssh and X---where do I switch the remote to X-listen

2003-03-05 Thread John
Have you checked the config files for ssh, here theyre located under 
/etc/ssh  ( debian unstable )

cheers

Gary Turner wrote:

I'm trying to get X and cygwin working so that I can ssh into the home
machine from my notebook.  I originally set my Linux box to no-listen.
Like some kind of idiot, I cannot find where I put the switch.:)  Will
some kind soul please let me know where to look so I can hit the FM?
tnx

--
gt  [EMAIL PROTECTED]
If someone tells you---
"I have a sense of humor, but that's not funny." 
 ---they don't.

 



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



Re: ssh and X---where do I switch the remote to X-listen

2003-03-05 Thread David Gaudine
> I'm trying to get X and cygwin working so that I can ssh into the home
> machine from my notebook.  I originally set my Linux box to no-listen.
> Like some kind of idiot, I cannot find where I put the switch.:)  Will
> some kind soul please let me know where to look so I can hit the FM?

Here are a couple of possible locations, there are probably others.
/etc/X11/xinit
/etc/X11/Xdm/Xservers


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



Re: Kernel compile for dhcpd

2003-03-05 Thread Johan Ehnberg
Hello!
I had the same problem once, and it turned out you need to compile in 
some extra functions.
At least CONFIG_FILTER (Socket filtering) was required.
There might have been other options too, but I don't remember which 
right now.

hth,
/johan
Curtis Vaughan wrote:

When I recompiled the kernel for one server, dhcpd would not work. 
According to the error I didn't compile the kernel for certain aspects 
of dhcpd. However, when I went through all the configuration items in 
menuconfig I couldn't find what it seemed to be requiring.  What in 
fact do I need to check for?

Curtis Vaughan
North Pacific Corporation
WashTech (CWA Local 37083)
IWW x353203



--
Johan Ehnberg
[EMAIL PROTECTED]
"Windows? No... I don't think so."


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



Re: Upgrade to KDE 3.1

2003-03-05 Thread Alan Chandler
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Wednesday 05 Mar 2003 7:03 pm, Fraser Campbell wrote:

>
> If you want to set up your server as an apt source then I'm sure that can
> be done as well (I'm just not sure how).


Set up apache to serve a directory such as /var/www/debian as 
http://your.domain.com/debian

Layout your packages in subdirectories under this (you don't have to follow 
the standards if you don't want to but it does mean you have to use a 
different type of deb line in sources.list)

deb http://your.domain.com/debian/ ./  (note trailing slashes)

read the manual for and run dpkg-scanpackages in the /var/www/debian directory 
(I think you can leave out (or perhaps have a blank) override file - its been 
a couple of months since I last did this for a private kde debs directory 
prior to 3.1 in sid)


- -- 
Alan Chandler
[EMAIL PROTECTED]
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+ZloAuFHxcV2FFoIRAjABAJ9hV6mik3ezjR1SrCR5FkQ8whyKSACfbhQQ
KUnbBHr1Ef+2Vpzk7ibEo6Q=
=XP0o
-END PGP SIGNATURE-


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



Re: ssh and X---where do I switch the remote to X-listen

2003-03-05 Thread nate
Gary Turner said:
> I'm trying to get X and cygwin working so that I can ssh into the home
> machine from my notebook.  I originally set my Linux box to no-listen.
> Like some kind of idiot, I cannot find where I put the switch.:)  Will
> some kind soul please let me know where to look so I can hit the FM?

if your asking how to set X to listen to TCP connections you don't need
to if your tunneling X over SSH (ssh -X). If your asking how to enable
X11 forwarding in ssh that is done in /etc/ssh/sshd_config (after you
change it you must restart ssh /etc/init.d/ssh restart). If your still
wanting to turn on X-over-TCP then grep -nri nolisten /etc/X11/* and
change the files that are returned & restart X & any display managers
that you use(xdm/gdm/kdm/etc)

nate




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



Re: Kernel compile for dhcpd

2003-03-05 Thread Hubert Chan
> "Curtis" == Curtis Vaughan <[EMAIL PROTECTED]> writes:

Curtis> When I recompiled the kernel for one server, dhcpd would not
Curtis> work. According to the error I didn't compile the kernel for
Curtis> certain aspects of dhcpd. However, when I went through all the
Curtis> configuration items in menuconfig I couldn't find what it seemed
Curtis> to be requiring.  What in fact do I need to check for?

The option is CONFIG_FILTER, which in menuconfig is something like
socket filtering.  On my (sid) system, that information can be found in
/usr/share/doc/dhcp3-client/README.Debian.  I'm sure that on Woody,
there's a similar file.

BTW, when compiling your kernel, it's generally a good idea to start off
with the configuration that's found in /boot/config-.
Then just turn off any options that you know for sure you don't need,
and turn on options that you know you need.

-- 
Hubert Chan <[EMAIL PROTECTED]> - http://www.uhoreg.ca/
PGP/GnuPG key: 1024D/124B61FA
Fingerprint: 96C5 012F 5F74 A5F7 1FF7  5291 AF29 C719 124B 61FA
Key available at wwwkeys.pgp.net.   Encrypted e-mail preferred.


pgp0.pgp
Description: PGP signature


Re: Debian SCSI HD Install Failing

2003-03-05 Thread nate
DOUGLAS RIST said:

> I boot up and get the message that "No hard disk drives were detected".

try the compact kernel it's on the debian 3.0 install CD. view the
help in the boot loader to figure out how to load it. Last I checked
the stock kernel did not support adaptec SCSI cards w/o loading modules.
Not certain why I can only assume that the adaptec scsi driver can interfere
with other drivers(I've read in the past that it did) so they took it
out for that particular kernel.

the compact kernel supports adaptec cards. this subject came up a few
days ago under a subject like "ultra 160 cards in debian" or something.

afterwards you can install whatever kernel you want. I prefer to compile
my own.

nate




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



Re: The Very Verbose Guide to Updating and Compiling Your Debian Kernel

2003-03-05 Thread Daniel Farnsworth Teichert
And I heard Haralambos Geortgilakis exclaim:
> spotted the above titled article & it seemed to me some of us & me might 
> find it of use, so here is the url
> 
> http://www.osnews.com/printer.php?news_id=2949

I was very excited to see this link, but after scanning the
article concluded that the word 'Debian' should have been left
out of the title, as it doesn't describe The Debian Way, but a
more-or-less generic way of compiling a kernel. Is my perception
here correct? I was under the impression that The Debian Way was
something like:

# make sure you've got the bzip2 package; the comment in the
# article confusing 'tar' and 'gzip' also confused me, BTW...
apt-get install bzip2

# Get the make-kpkg program and friends...
apt-get install kernel-package

# set up the conf file to do packaged patches and run the config
# after patching--if you're not going to use Debian-packaged
# patches, you don't need the first line; if you want to run the
# configure as a separate step, you can leave out the second. I
# use these for building kernels with the openmosix patch,
# although I don't know whether it's packaged for 2.4.20 yet
# : ( ...

echo "patch_the_kernel := YES" >> /etc/kernel-pkg.conf
echo "config_target := xconfig" >> /etc/kernel-pkg.conf

# get the kernel source...
apt-get install kernel-source-2.4.20

# go to the source...
cd /usr/src

# unpack it; note that the 'j' flag un-bzips it...
tar -xjvf kernel-source-2.4.20.tar.bz2

# into the unzip'ed, un-tar'ed  source...
cd kernel-source-2.4.20

# Make it! You'll be asked to configure it first--here's where
# other documentation like that mentioned can help; another
# helpful thing if you have a working Debian kernel image
# already installed is to load the configuration for the
# current kernel from within the /boot directory. You may want
# to copy it to another location first, or when you 'Save and
# Exit' I think it might overwrite it.
make-kpkg kernel_image

(Note that the above requires that root has access to your X
display, because it uses 'xconfig'. Now, this is probably going
to show you how clue-less I am, but one simple way I do this on
occasion is by 'ssh -X [EMAIL PROTECTED]' to become root for the
above; go ahead, tell me it's silly--I know : ).

Anyway, like I have already implied, I'm no expert here--but I
thought this was more along the Debian lines.
-- 
Daniel Teichert
[EMAIL PROTECTED]


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



Re: howto verify burn?

2003-03-05 Thread Osamu Aoki
On Wed, Mar 05, 2003 at 11:03:28AM -0800, Craig Dickson wrote:
> bob parker wrote:
> 
> > On Thu, 6 Mar 2003 04:22, Ray wrote:
> > > how do i verify that the burned cd is correctly burned?
> > >
> > > i burned a set of Debian 3.0r1 cds and have md5sums of the isos, but they
> > > don't match the output of
> > > md5sum -b /dev/cdrom
> > 
> > Not really an expert on what happens on cds but I belive it has something to 
> > do with the some extra nulls packing it out to the end of a 2048 block or 
> > something like that.
> > 
> > In any case the actual cd generally has a different md5sum than the iso.
> > 
> > One way:
> > cat /dev/cdrom > test.iso
> > md5sum test.iso
> > md5sum original.iso

Yes they are different :-)

> Isn't
> 
>md5sum /dev/cdrom
> 
> equivalent to
> 
>cat /dev/cdrom >test.iso
>md5sum test.iso
> 

I think so.  But there are junk sectors added when creating data on CD.

  http://www.debian.org/doc/manuals/reference/ch-tune.en.html#s9.3.7

So read exact # of sectors back to harddisk.  Run MD5 or cmp :-)

-- 
~\^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]



Re: kernel menuconfig

2003-03-05 Thread Hubert Chan
> "Curtis" == Curtis Vaughan <[EMAIL PROTECTED]> writes:

Curtis> Has anyone created a file that shows all the options available
Curtis> in menuconfig when doing a kernel compile?

//.config?

Curtis> It would be handy so that I can note on it what options I
Curtis> absolutely need for various configurations.

Just copy the .config file to the new tree.  Then do a "make oldconfig"
and it'll prompt you for any new options, if there are any.

-- 
Hubert Chan <[EMAIL PROTECTED]> - http://www.uhoreg.ca/
PGP/GnuPG key: 1024D/124B61FA
Fingerprint: 96C5 012F 5F74 A5F7 1FF7  5291 AF29 C719 124B 61FA
Key available at wwwkeys.pgp.net.   Encrypted e-mail preferred.


pgp0.pgp
Description: PGP signature


ssh and X---where do I switch the remote to X-listen

2003-03-05 Thread Gary Turner
I'm trying to get X and cygwin working so that I can ssh into the home
machine from my notebook.  I originally set my Linux box to no-listen.
Like some kind of idiot, I cannot find where I put the switch.:)  Will
some kind soul please let me know where to look so I can hit the FM?

tnx

--
gt  [EMAIL PROTECTED]
 If someone tells you---
 "I have a sense of humor, but that's not funny." 
  ---they don't.


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



Re: kernel menuconfig

2003-03-05 Thread sean finney
On Wed, Mar 05, 2003 at 11:12:09AM -0800, Curtis Vaughan wrote:
> Has anyone created a file that shows all the options available in 
> menuconfig when doing a kernel compile?

how about /usr/src/linux/.config ? or maybe i misunderstood you?  you
can also see what kernel options are compiled into your current running
kernel by looking at /boot/config-`uname -r`


hth
sean


pgp0.pgp
Description: PGP signature


Re: Dumb question: How do you reboot?

2003-03-05 Thread Roberto Sanchez

On Wed, Mar 05, 2003 at 02:06:21AM -0500, Roberto Sanchez wrote:
> However, if you trust people enough to enable
> XDMCP for them, then you can probably trust them enough to 
shutdown/reboot
> the machine.

Uh...  No.

X terminals?  Thin clients?  Diskless workstations?  Any of these may
rely on an XDMCP server to provide them with something to display and
run everything remotely.  In my experience, the users on these sorts
of workstations are typically _less_ likely to be trusted than those
with self-contained workstations.  (I know I sure as hell don't want
any of the 40 people currently logged in on my XDMCP server to be
able to shut the box down...)
I stand corrected.

-Roberto

_
STOP MORE 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]



Re: Upgrade to KDE 3.1

2003-03-05 Thread Fraser Campbell
On Wednesday 05 March 2003 08:05, Sharninder wrote:

> I have been using kde 2.2 which comes with woody since a long time
> now. But recently i downloaded all the 250 MBs of backported debian
> packages of KDE 3.1 from ftp.kde.org. And i have them on a comp.
> somewhere on my network. Now, i want to upgrade my personal desktop
> to kde 3.1. I downloaded all the files from the kde server to my
> server and have ftp access to it. What line do i insert in my
> sources.list to apt-get update and install the kde update on all the
> desktops from the server itself. And what command should i give to
> update everything.I have downloaded the whole /pub/kde/stable/*
> hierarchy from kde's servers

What I would usually do (and there may be a better way) is on the new PC I 
would add the appropriate URL to /etc/apt/sources.list for retreiving the 
debs and then run an "apt-get update" to make the computer aware of the 
available updates.

Next I would copy all of the debs to /var/cache/apt/archives on the new PC and 
simply run "apt-get dist-upgrade".  This way you can use apt to solve any 
dependency issues for you but still use the pre-downloaded files.

If you want to set up your server as an apt source then I'm sure that can be 
done as well (I'm just not sure how).

-- 
Fraser Campbell <[EMAIL PROTECTED]> http://wehave.net/
Brampton, Ontario, CanadaDebian GNU/Linux


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



kernel compile for ide modules

2003-03-05 Thread Curtis Vaughan
I have tried compiling my kernel twice now, but the ide modules that 
would appear in modconf don't show up. What do I need to check?

And by the way, if I just download a kernel and install it, it will 
have all the modules with it. Surely there's a command that can be 
issued when compiling a kernel such that it just automatically includes 
all the modules.  What command would that be?

Curtis Vaughan
North Pacific Corporation
WashTech (CWA Local 37083)
IWW x353203
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Debian SCSI HD Install Failing

2003-03-05 Thread DOUGLAS RIST
I am trying to install Debian 3.0rc1. 

My system is: 
AMD K6-350 
ASUS Motherboard 
Adaptec AHA-294x/AIC-78xx 
Seagate SCSI HD (9Gb) 
Intel Pro/100+ 
ATI Tech 3d Rage Pro PCI 
Hitachi CDR-7930 

I boot up and get the message that "No hard disk drives were detected". 

Everything else can detect this drive (Gentoo, Vector, FreeBSD, 
Win2000), so I know it is configured properly. What do I need to do to 
boot an install kernel with aic7xxx support? 

Btw, I can't find my answer in the Debian docs, nor has IRC been 
helpful - they directed me to inquire here.

Michael D. Schleif wrote:
> Regarding the former, I am speaking of the general sense, in which I
> frequently change terminal sessions, and I know that I typed out some
> complex string in last couple of days, but I'm really not interested in
> foraging all open sessions to find that one (1) exquisite instance ;>
> 
> This, imho, is a productivity issue, and I have never understood why
> bash did not follow this ksh behaviour ;<

I have no idea if you can do it with bash, but you can with zsh:

setopt share_history

-- 
see shy jo


Kernel compile for dhcpd

2003-03-05 Thread Curtis Vaughan
When I recompiled the kernel for one server, dhcpd would not work. 
According to the error I didn't compile the kernel for certain aspects 
of dhcpd. However, when I went through all the configuration items in 
menuconfig I couldn't find what it seemed to be requiring.  What in 
fact do I need to check for?

Curtis Vaughan
North Pacific Corporation
WashTech (CWA Local 37083)
IWW x353203
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



kernel menuconfig

2003-03-05 Thread Curtis Vaughan
Has anyone created a file that shows all the options available in 
menuconfig when doing a kernel compile?

It would be handy so that I can note on it what options I absolutely 
need for various configurations.

Curtis Vaughan
North Pacific Corporation
WashTech (CWA Local 37083)
IWW x353203
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: howto verify burn?

2003-03-05 Thread Craig Dickson
bob parker wrote:

> On Thu, 6 Mar 2003 04:22, Ray wrote:
> > how do i verify that the burned cd is correctly burned?
> >
> > i burned a set of Debian 3.0r1 cds and have md5sums of the isos, but they
> > don't match the output of
> > md5sum -b /dev/cdrom
> 
> Not really an expert on what happens on cds but I belive it has something to 
> do with the some extra nulls packing it out to the end of a 2048 block or 
> something like that.
> 
> In any case the actual cd generally has a different md5sum than the iso.
> 
> One way:
> cat /dev/cdrom > test.iso
> md5sum test.iso
> md5sum original.iso

Isn't

   md5sum /dev/cdrom

equivalent to

   cat /dev/cdrom >test.iso
   md5sum test.iso

?

Craig


pgp0.pgp
Description: PGP signature


Re: some doubts - [newbie]

2003-03-05 Thread Travis Crump
Gilberto Garcia Jr. wrote:
4) why a simple hello word program in java, that works fine on windows,
return this error on linux (java.lang.NoDefFoundError)
bash$cat test.java
public class test {
public test() {}
public static void main(String[] argc) {
System.out.print("Hello World\n");
}
}
bash$javac test.java
bash$java test
Hello World
bash$
Works fine here, could you elaborate...

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



Re: Dumb question: How do you reboot?

2003-03-05 Thread Dave Sherohman
On Wed, Mar 05, 2003 at 02:06:21AM -0500, Roberto Sanchez wrote:
> However, if you trust people enough to enable 
> XDMCP for them, then you can probably trust them enough to shutdown/reboot 
> the machine.

Uh...  No.

X terminals?  Thin clients?  Diskless workstations?  Any of these may
rely on an XDMCP server to provide them with something to display and
run everything remotely.  In my experience, the users on these sorts
of workstations are typically _less_ likely to be trusted than those
with self-contained workstations.  (I know I sure as hell don't want
any of the 40 people currently logged in on my XDMCP server to be
able to shut the box down...)

-- 
The freedoms that we enjoy presently are the most important victories of the
White Hats over the past several millennia, and it is vitally important that
we don't give them up now, only because we are frightened.
  - Eolake Stobblehouse (http://stobblehouse.com/text/battle.html)


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



Re: Dumb question: How do you reboot?

2003-03-05 Thread Dave Sherohman
On Tue, Mar 04, 2003 at 08:37:29PM -0800, Leo Spalteholz wrote:
> CTRL+ALT+DEL is more equivalent to "shutdown -r now" than holding the 
> power button..

To be precise, under a default debian config, C-A-D is equivalent to
`/sbin/shutdown -t1 -a -r now`, per /etc/inittab.

-- 
The freedoms that we enjoy presently are the most important victories of the
White Hats over the past several millennia, and it is vitally important that
we don't give them up now, only because we are frightened.
  - Eolake Stobblehouse (http://stobblehouse.com/text/battle.html)


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



Re: Patched sendmail? testing?

2003-03-05 Thread Dave Sherohman
On Wed, Mar 05, 2003 at 07:53:16AM -0500, stan wrote:
> Is it possible that some mechanisim could be set up such that a package
> which has recieved a security related update in stable, could become the
> latest package for testing?
> 
> I'm trying to think of a way to leverage the fact the security issues _are_
> being addressed in stable into the testing regim.
> 
> Perhpas someone who understands the Debian packagin system better than I
> could comment on whether this makes sense or not?

Wouldn't work, for reasons not particularly related to the packaging
system itself.

Consider:

Right now, the current stable version of exim is 3.35.  The current
testing version of exim is 3.36.  exim 3.36 may or may not
incorporate features which are not present in version 3.35.  If it
does and if the packaging system were to declare a security-patched
3.35 to be more current than testing's 3.36, any sites which run
testing and use those features will break.

Your idea could probably work if stable and testing are both based on
the same upstream revision (although I wouldn't be terribly surprised
to find that there are cases where it still wouldn't), but it would
definitely be likely to cause problems when testing has a more recent
upstream version than stable.

-- 
The freedoms that we enjoy presently are the most important victories of the
White Hats over the past several millennia, and it is vitally important that
we don't give them up now, only because we are frightened.
  - Eolake Stobblehouse (http://stobblehouse.com/text/battle.html)


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



Re: Patched sendmail? testing?

2003-03-05 Thread Dave Sherohman
On Wed, Mar 05, 2003 at 06:44:07AM -0500, stan wrote:
> I agree thta it is not -the only_ measuer of stability. However in this
> case, the stated uptime includes all apps (including X). So I think it's
> still a valid indication of the stability of the entire release (as used in
> this particular application).

We don't know that.  Uptime is how long the computer has gone without a
reboot.  X (or any other program) could be completely hosed and crashing
every 5 minutes, but, unless it takes the machine down with it, uptime
will not be affected.  And don't forget that X gets restarted every
time you log out and back in, various apps run from inetd or cron, etc.
Even if something has been available continuously since the last boot
and has never crashed, the application's uptime is most likely less than
the system's.

-- 
The freedoms that we enjoy presently are the most important victories of the
White Hats over the past several millennia, and it is vitally important that
we don't give them up now, only because we are frightened.
  - Eolake Stobblehouse (http://stobblehouse.com/text/battle.html)


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



Re: howto verify burn?

2003-03-05 Thread bob parker
On Thu, 6 Mar 2003 04:22, Ray wrote:
> how do i verify that the burned cd is correctly burned?
>
> i burned a set of Debian 3.0r1 cds and have md5sums of the isos, but they
> don't match the output of
> md5sum -b /dev/cdrom

Not really an expert on what happens on cds but I belive it has something to 
do with the some extra nulls packing it out to the end of a 2048 block or 
something like that.

In any case the actual cd generally has a different md5sum than the iso.

One way:
cat /dev/cdrom > test.iso
md5sum test.iso
md5sum original.iso


Or do it file by file:
mount /cdrom/
md5sum /cdrom/* | cut -d ' ' -f 1 > cdsums
mount original.iso -r -t iso9660 -o loop /mnt
md5sum /mnt/* | cut -d ' ' -f 1 > isosums
diff cdsums isosums

hth
Bob


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



Re: bash: common history across multiple sessios ???

2003-03-05 Thread Michael D. Schleif
Also sprach Vineet Kumar (Wed 05 Mar 02003 at 09:17:47AM -0800):
> * Michael D. Schleif <[EMAIL PROTECTED]> [20030304 19:15 PST]:
> > By-the-by, where does a bash session keep track of command history while
> > that session is open?
> > 
> > How does it know whether to use ~/.bash_history or this elusive memory
> > pointer?
> 
> It always performs history search/substitution from the history in
> memory.  ~/.bash_history (or, more precisely, HISTFILE) is read at start
> and written at exit.  That's all the file is used for; bash doesn't do
> any seeking/reading during normal operations.  The file is just to store
> the data when bash exits.
> 
> This information is in the manual (bash(1)).

Thank you, for this explanation.  Yes, I now see where the manpage
references this; but, I did not understand this until your -- imho,
clearer -- explanation.

-- 
Best Regards,

mds
mds resource
888.250.3987
-
Dare to fix things before they break . . .
-
Our capacity for understanding is inversely proportional to how much
we think we know.  The more I know, the more I know I don't know . . .
--


pgp0.pgp
Description: PGP signature


Re: Problems with new Debian install.

2003-03-05 Thread Brian Dockter
Eduardo wrote:
> Did you set the DNS ?
> I always get this... my dns server doesn't work full
> time :(, but what I
> do is:
> change to other console i.e. alt+F2 and edit
> /etc/resolv.conf and put
> the new dns in the file 

Since I am behind a firewall, I can't directly access
the mirror, so I wouldn't expect /etc/resolv.conf to
help. Also, the installer just completed installing
the base system. Why would installing the base system
work but installing the kernel fail?


Brian

__
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/


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



howto verify burn?

2003-03-05 Thread Ray
how do i verify that the burned cd is correctly burned?

i burned a set of Debian 3.0r1 cds and have md5sums of the isos, but they 
don't match the output of
md5sum -b /dev/cdrom

i used x-cdroast 0.98+0alpha9-9 and didn't get any error/warning messages, 
and it all seemed to go fine.

and the cd mounts fine and running md5sum -c md5sum.txt on the cd shows only 
the README.non-US doesn't match, reading that file doesn't show any odd 
characters.
mounting the iso through the loopback shows the same thing (the readme 
doesn't match the md5sum.txt)
the md5 for the iso does match the published md5 for the iso.

xcdroast's verify says that the track matches the iso, but i thought iso 
could be multiple tracks, so it seems like track matches iso is not a good 
thing.

(so far only checked cd 1_non-US)

and google just takes me to the debian faq and similar for verifing the 
download and how to burn, but nothing on verify the burn.


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



Re: bash: common history across multiple sessios ???

2003-03-05 Thread Vineet Kumar
* Michael D. Schleif <[EMAIL PROTECTED]> [20030304 19:15 PST]:
> By-the-by, where does a bash session keep track of command history while
> that session is open?
> 
> How does it know whether to use ~/.bash_history or this elusive memory
> pointer?

It always performs history search/substitution from the history in
memory.  ~/.bash_history (or, more precisely, HISTFILE) is read at start
and written at exit.  That's all the file is used for; bash doesn't do
any seeking/reading during normal operations.  The file is just to store
the data when bash exits.

This information is in the manual (bash(1)).

good times,
Vineet
-- 
http://www.doorstop.net/
-- 
--Nick Moffitt
A: No.
Q: Should I include quotations after my reply?


signature.asc
Description: Digital signature


Re: some doubts - [newbie]

2003-03-05 Thread Michael P. Soulier
On 05/03/03 Gilberto Garcia Jr. did speaketh:

> Hey guys...
> 
> 1) How can I make some commands available to all user. (i.e.) shutdown (only
> root can execute this, what can I make to other user do this too?)

man sudo

Sorry, I don't use Java. 

Mike

-- 
Michael P. Soulier <[EMAIL PROTECTED]>, GnuPG pub key: 5BC8BE08
"...the word HACK is used as a verb to indicate a massive amount
of nerd-like effort."  -Harley Hahn, A Student's Guide to Unix
HTML Email Considered Harmful: http://expita.com/nomime.html


pgp0.pgp
Description: PGP signature


Re: lost X... non valid arg: tcp ....

2003-03-05 Thread Mark Schouten
On Wed, Mar 05, 2003 at 05:29:05PM +0100, Bruno Boettcher wrote:
> the start option for the xserver tcp isn't anymore wanted, but even
> after removing it, i am far from a usable system.
> some graphical stuff starts up, but stops somewhere leaving me
> basicly with the background that existed before the thing went
> unusable...
> 
> wondering what's going wrong

Perhaps you could be more specific?

E.g:
* Does your displaymanager start?
* Does your windowmanager start?


What do /var/log/XFree86.0.log ~/.xsession-errors say?

Mark

-- 
Mark Schouten
Alphen aan den Rijn, Holland
[EMAIL PROTECTED]


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



Re: The Very Verbose Guide to Updating and Compiling Your Debian Kernel

2003-03-05 Thread csj
At Tue, 4 Mar 2003 08:10:59 -0800,
Carla Schroder wrote:
> 
> On Tuesday 04 March 2003 3:16 am, Haralambos Geortgilakis wrote:
> > Hi Yall,
> >
> > spotted the above titled article & it seemed to me some of us
> > & me might find it of use, so here is the url
> >
> > http://www.osnews.com/printer.php?news_id=2949
> 
> 
> That's a great link, thanks. Compiling kernels isn't so scary
> with instructions like this!

Actually I found it quite terrifying. It was quite a long way to
go about describing a system that was designed to make kernel
compiling easier in the first place.

I learned about make-kpkg from a few posts about how to (1) wget
http://kernel/linux.tgz (2) untar linux.tgz (3) cd linux/ (4)
"make xconfig" (5) make-kpkg --put-your-useless-options-here (6)
watch TV (7) dpkg -i spanking_new_kernel.deb.(8) reboot and pray.

It would be another matter if he had written a Very Verbose Guide
to Compiling Your Kernel the Non-Debian Way.


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



USB device detection problem

2003-03-05 Thread Jack Pistachio
After either rebooting from windoze to linux, or even with
a complete shutdown/poweroff, my two usb mass-storage
devices aren't detected unless I boot Linux twice!  Loading
and unloading modules doesn't help.
Everything USB works fine in linux afterwards (and
beforewards).  There are no error messages, just a lack of
device detection messages.  /proc/bus/usb/devices won't
show the drives when this happens, but all USB ports are
detected.
ctl-alt-del as bios is scanning for a bootable floppy does
the trick, but a better solution should definately be had.

-jackp

note: M$ has no problems ever detecting the devices so I
don't think its a BIOS issue.

__
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/


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



Re: bash: common history across multiple sessios ???

2003-03-05 Thread Joey Hess
Michael D. Schleif wrote:
> Regarding the former, I am speaking of the general sense, in which I
> frequently change terminal sessions, and I know that I typed out some
> complex string in last couple of days, but I'm really not interested in
> foraging all open sessions to find that one (1) exquisite instance ;>
> 
> This, imho, is a productivity issue, and I have never understood why
> bash did not follow this ksh behaviour ;<

I have no idea if you can do it with bash, but you can with zsh:

setopt share_history

-- 
see shy jo


pgp0.pgp
Description: PGP signature


Re: commands within shell script

2003-03-05 Thread Nori Heikkinen
on Wed, 05 Mar 2003 07:49:52AM -0600, Ron Johnson insinuated:
> On Tue, 2003-03-04 at 20:41, Nori Heikkinen wrote:
> > on Tue, 04 Mar 2003 05:13:33PM -0500, Benjamin Rutt insinuated:
> > > Nori Heikkinen <[EMAIL PROTECTED]> writes:
> > > > okay, this is cool ... i'd just misunderstood a friend's question.
> > > > he doesn't even want to run top, he wants to stick in a bunch of
> > > > echo statements.
> > > 
> > > In that case, place 'set -x' as the 2nd line of the shell script
> > > (the line after the #! business) and see every command echoed as it
> > > is executed.  -- Benjamin
> > 
> > *exactly* what i(/he) wanted!  thanks!
> 
> Try this:
> #!/bin/bash
> set -x
> set -v
> for i in 1 2 3 4 5;
> do
> echo foobar${i} ;
> done
> 
> After seeing Benjamin Rutt mention "-x", I tried it along with "-v",
> and having both makes it much easier to see the flow of the script.

well, it's cluttered for me, but both are cool options.  

thanks again,



-- 
.~.  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: Dumb question: How do you reboot?

2003-03-05 Thread Nori Heikkinen
on Tue, 04 Mar 2003 08:37:29PM -0800, Leo Spalteholz insinuated:
> On March 4, 2003 07:51 pm, Nori Heikkinen wrote:
> > on Tue, 04 Mar 2003 07:23:42PM -0800, Marc Wilson insinuated:
> > > IMHO your box is broken somewhere if Ctrl-Alt-Del *ever* works
> > > to reboot the machine.
> >
> > so, say you're in charge of a server, and you or another sysadmin
> > has lost root, and you need to take it down in order to reboot
> > into single-user mode and reclaim root.  wouldn't CTRL+ALT+DEL be
> > better than just holding down the power button?  or are they
> > equivalent?
> 
> CTRL+ALT+DEL is more equivalent to "shutdown -r now" than holding
> the power button..  The power button will physically cut power (bad
> idea) while CTRL+ALT+DEL will initiate a proper shutdown sequence (I
> think).

right, that's what i thought.  therefore, it's good (imho) to have a
CTRL+ALT+DEL option, rather than a hard power cut as your only last
resort.



-- 
.~.  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]



lost X... non valid arg: tcp ....

2003-03-05 Thread Bruno Boettcher
Hello!

after the last update of my unstable distribution on my laptop, the
whole X system is out of order

the start option for the xserver tcp isn't anymore wanted, but even
after removing it, i am far from a usable system.
some graphical stuff starts up, but stops somewhere leaving me
basicly with the background that existed before the thing went
unusable...

wondering what's going wrong

-- 
ciao bboett
==
[EMAIL PROTECTED]
http://inforezo.u-strasbg.fr/~bboett
===


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



some doubts - [newbie]

2003-03-05 Thread Gilberto Garcia Jr.
Hey guys...

1) How can I make some commands available to all user. (i.e.) shutdown (only
root can execute this, what can I make to other user do this too?)

2) which is the easiest way to upgrade jdk 1.3.1 to jdk 1.4.1?

3) how can I get a new ssl certificate? I have apache-ssl installed and now
the certificate has expired.

4) why a simple hello word program in java, that works fine on windows,
return this error on linux (java.lang.NoDefFoundError)

thanks to all of you
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.449 / Virus Database: 251 - Release Date: 27/01/03


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



Re: Dumb question: How do you reboot?

2003-03-05 Thread David Z Maze
Leo Spalteholz <[EMAIL PROTECTED]> writes:

> On March 4, 2003 09:01 pm, Eric G. Miller wrote:
>> On Tue, Mar 04, 2003 at 09:17:39PM -0600, Kent West wrote:
>> > I believe the next version of Gnome's login screen (gdm)
>> > implements a menu allowing you to shutdown/reboot.
>>
>> Hmm, doesn't the version in Woody have that cabability?  GDM has
>> been able to do that for quite some time (I think SystemMenu is set
>> "false" by default).
>
> How come that works anyway?  If you are not logged in as root, in fact 
> you're not logged in at all, then why are you allowed to shut down 
> the machine?

The gdm process runs as root (it has to to be able to change user ID's
to yours when you log in), so it also has permission to run shutdown.

> Is this not a security risk?  Couldn't anyone just ssh in and then
> reboot the machine without logging in or what am I missing here?

It's hard to be able to click on the gdm window on the local console
from a remote ssh session.  :-)

-- 
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: bash: common history across multiple sessios ???

2003-03-05 Thread Bob Proulx
Michael D. Schleif wrote:
> Is there a way to coerce bash to behave as my old ksh?

I like the different histories myself.  But I have been recommending
this to people who have asked who wanted it.  In your .bashrc file.
This syncs the histories between shells in the same way as ksh did.

  PROMPT_COMMAND='history -a;history -n'

Bob


pgp0.pgp
Description: PGP signature


Re: Working with WAV files

2003-03-05 Thread sean finney
On Tue, Mar 04, 2003 at 04:07:07PM -0500, David Turetsky wrote:
> What packages are out there which facilitate editing?

a good one that you can run from the command line is sox.  it has a bunch
of basic effects and filters you can pass the sound through, i've used
it in the past and been happy with it

sean


pgp0.pgp
Description: PGP signature


VIA Tahoe onboard LAN

2003-03-05 Thread Gabriel Granger
Hi All,

I'm looking into setting up a 1U rack server, I'm looking at getting a 
board with LAN ie saving the 1 pci I will have for something else, Epox 
do a motherboard with onboard LAN which is VIA Tahoe.  Does anyone know 
if this supported under debian, and if so how good it compared with 
say... 3com or other well known NIC's

--

Gabriel Granger

+-+
|   .~.   |
|   /V\ L I N U X - Debian|
|  // \\The force is strong in this one   |
| /(   )\ |
|  ^^-^^  |
+-+


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



  1   2   >