Re: snd-bt-sco.ko modprobe success?

2005-01-04 Thread ms419
On Jan 4, 2005, at 11:32 AM, Markus Becker wrote:
Hello,
I have seen your posting to debian-users. Currently I'm trying to get 
this
running as well on a debian machine, but I have several problems:

1) When doing make in the kernel subdirectory,
/lib/modules/2.6.9-1-686/source is not available. Found this:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=281739
But where to link source then? Shall I install kernel-source-2.6.9 and
link source into that?
2) modprobe says:
FATAL: Module snd_bt_sco not found.
Have you solver your problem and can you give me some hints?
Hey Markus!
I managed to build snd-bt-sco.ko - my problem is building snd-hwdep.ko, 
on which snd-bt-sco.ko depends.

You need your current kernel's source - either from kernel.org or a 
Debian kernel-source-* package - to build a kernel module.

Kernel modules are built many ways - I used the Debian way: I made a 
rough Debian bluetooth-alsa package 
(http://cgi.sfu.ca/~jdbates/debian/pool/bluetooth-alsa/). Install 
bluetooth-alsa-source. From your kernel's source directory, run:

	make-kpkg ... --added-modules bluetooth-alsa | path to 
bluetooth-alsa ... modules_image

Install the resulting bluetooth-alsa-modules-* package.
I can't make more progress with bluetooth-alsa till I can build 
snd-hwdep.ko,  I'm still struggling to manually add 
CONFIG_SND_HWDEP=m to my .config 
(http://thread.gmane.org/gmane.linux.debian.user/178252).

If anyone has suggestions, they'd be very gratefully appreciated!
Thanks!
Jack
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Manually Editing Kernel .config

2004-12-19 Thread ms419
How do I manually configure my kernel to build snd-hwdep.ko?
I built an extra kernel module (snd-bt-sco.ko) which requires 
snd-hwdep.ko, but snd-hwdep.ko isn't built,  there's no kernel 
configuration option to enable it.

I tried manually adding CONFIG_SND_HWDEP=m to my .config, but it is 
removed by make-kpkg kernel_package. I even tried running make-kpkg 
configure first, but the configure rule depends on .config, so it's 
always rerun after I add CONFIG_SND_HWDEP=m.

Some googling / gmaning only confirmed that the .config shouldn't be 
edited manually. No information how to manually configure 
CONFIG_SND_HWDEP=m.

Can anyone help?
Thanks!
Jack
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: login script xterm

2004-11-26 Thread ms419
On Nov 17, 2004, at 5:10 AM, Andrea Vettorello wrote:
On Tue, 16 Nov 2004 23:12:46 -0800, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
Where should I put commands to be executed when I login,  when I open
an xterm, but not when a shell is run on other occasions?
I want some commands executed when I login, but not when a shell is
otherwise run, so I put them in my ~/.login, vs. my ~/.bashrc.
Unfortunately, they aren't executed when I open an xterm.
I hoped there might be a ~/.xtermrc I could put them in, but I haven't
found mention of an xterm initialization script anywhere in the
documentation.
Also, I thought I could configure xterm to start as if with the -ls
flag. Anyway, there's probably a reason it doesn't, like a login shell
might break some application using xterm?
Where should I put them?
Well, .bash_profile is executed for login shells and .bashrc is
executed for non-login shells.
If you want to set some environment variables or execute some commands
only when xterm are launched, you can add a condition in your
.bashrc, something like:
case $TERM in
xterm*)
echo This is an XTerm
;;
*)
echo This isn't an XTerm
;;
esac
Hope this helps.
That's awesome! Thanks! These lines work great, in .bash_profile for 
login shells  .bashrc for xterms:

if [ -n $PS1 ]; then
if [ -z $STY ]; then
# An interactive shell without screen.
exec screen -xRR
else
# An interactive shell within screen.
alias grep=grep --color
alias ls=ls --color
fi
fi
Thanks again!
Jack
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Script to Set Environment Variable?

2004-11-26 Thread ms419
How do I write a script to set an environment variable?
I feel like I should know this. I want to set my PATH in pbuilder  the 
author suggested using an A hook. However, I can't create a hook - an 
executable - which sets an environment variable.

I tried:
#!/bin/sh
export PATH=/usr/lib/ccache:$PATH
and just:
export PATH=/usr/lib/ccache:$PATH
but in either case, calling ./A10hook doesn't change my environment 
variable. I hope I'm just missing something foolishly obvious.

Thanks for any help!
Jack
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



login script xterm

2004-11-16 Thread ms419
Where should I put commands to be executed when I login,  when I open 
an xterm, but not when a shell is run on other occasions?

I want some commands executed when I login, but not when a shell is 
otherwise run, so I put them in my ~/.login, vs. my ~/.bashrc. 
Unfortunately, they aren't executed when I open an xterm.

I hoped there might be a ~/.xtermrc I could put them in, but I haven't 
found mention of an xterm initialization script anywhere in the 
documentation.

Also, I thought I could configure xterm to start as if with the -ls 
flag. Anyway, there's probably a reason it doesn't, like a login shell 
might break some application using xterm?

Where should I put them?
Thanks!
Jack
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: aptitude: packages have been kept back?

2004-10-22 Thread ms419
On Oct 17, 2004, at 5:51 AM, Nate Bargmann wrote:
* Katipo [EMAIL PROTECTED] [2004 Oct 16 21:56 -0500]:
[EMAIL PROTECTED] wrote:
Can anyone suggest how else to learn more about aptitude's problem
with these kept back packages?
Thanks!
Which packages are you referring to exactly?
Regards,
The list of packages being kept back is growing each time I run 
aptitude dist-upgrade. Here is a current example:

	wum:~# aptitude dist-upgrade
	Reading Package Lists... Done
	Building Dependency Tree
	Reading extended state information
	Initializing package states... Done
	Reading task descriptions... Done
	The following packages have been kept back:
	  apt aptitude autofs bash bind9 bsdmainutils debianutils fakeroot gawk
	  grep heimdal-dev libapache-mod-ssl libapache2-svn libapt-pkg-perl
	  libasn1-6-heimdal libdevmapper1.00 libdiscover1 libdiscover1-pic 
libgcc1
	  libgpmg1 libgssapi1-heimdal libhdb7-heimdal libkadm5clnt4-heimdal
	  libkadm5srv7-heimdal libkafs0-heimdal libkrb5-17-heimdal libnewt-dev
	  libnewt-pic libnewt0.51 libpng12-0 libreadline-common libreadline4
	  libsasl2 libsasl2-gssapi-mit libtiff4 libxml2 libxslt1.1 netselect 
nscd
	  quagga sasl2-bin slrn ssh-krb5 strace whiptail whois xsltproc
	The following packages will be upgraded:
	  libexpat1
	1 packages upgraded, 0 newly installed, 0 to remove and 47 not 
upgraded.
	Need to get 59.5kB of archives. After unpacking 4096B will be used.
	Do you want to continue? [Y/n/?]

apt-get dist-upgrade doesn't have this problem:
	wum:~# apt-get dist-upgrade
	Reading Package Lists... Done
	Building Dependency Tree... Done
	Calculating Upgrade... Done
	The following packages will be upgraded:
	  apt aptitude autofs bash bind9 bsdmainutils debianutils fakeroot 
gawk grep
	  heimdal-dev libapache-mod-ssl libapache2-svn libapt-pkg-perl
	  libasn1-6-heimdal libdevmapper1.00 libdiscover1 libdiscover1-pic 
libexpat1
	  libgcc1 libgpmg1 libgssapi1-heimdal libhdb7-heimdal 
libkadm5clnt4-heimdal
	  libkadm5srv7-heimdal libkafs0-heimdal libkrb5-17-heimdal libnewt-dev
	  libnewt-pic libnewt0.51 libpng12-0 libreadline-common libreadline4 
libsasl2
	  libsasl2-gssapi-mit libtiff4 libxml2 libxslt1.1 netselect nscd quagga
	  sasl2-bin slrn ssh-krb5 strace whiptail whois xsltproc
	48 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
	1 not fully installed or removed.
	Need to get 8988kB/11.7MB of archives.
	After unpacking 1128kB disk space will be freed.
	Do you want to continue? [Y/n]

Here is a view from aptitude; I don't know how to un-hold bash, or why 
in this case aptitude wants to remove it:

	 Actions  Undo  Package  Search  Options  Views  Help
	f10: Menu  ?: Help  q: Quit  u: Update  g: Download/Install/Remove Pkgs
	aptitude 0.2.15.8#Broken: 94  Will free 373MB of disk space  DL 
Size: 59.5kB
	idbash -1589kB 3.0-7  
3.0-8
	idbsdutils -160kB  1:2.12-10  
1:2.12-10
	p cfdisk-utf8  none 
2.11n-5+1
	idcoreutils-7266kB 5.2.1-2
5.2.1-2
	iddebianutils  -238kB  2.10.2 
2.10.3
	iddpkg -3961kB 1.10.23
1.10.23
	iddselect  -471kB  1.10.23
1.10.23
	ide2fsprogs-1286kB 1.35-8 
1.35-8
	p elilonone 
3.4-8
	p elvis-tiny   none 
1.4-18
	The GNU Bourne Again SHell
	Bash is an sh-compatible command language interpreter that executes 
commands   a
	read from the standard input or from a file.  Bash also incorporates 
usefula
	features from the Korn and C shells (ksh and csh). 
a
	   
a
	Bash is ultimately intended to be a conformant implementation of the 
IEEE POSIXa
	Shell and Tools specification (IEEE Working Group 1003.2). 
a
	   
a
	Included in the bash package is the Programmable Completion Code, by 
Ian   a
	Macdonald. 
a

   a

I haven't held or removed any packages - only run aptitude.
This seems to be a new feature of some releases back.  Try hitting
Shift-u and see if they are now marked as upgradable.
Thank you for your suggestion! Unfortunately I found shift-u had no 
effect.

What is wrong with aptitude? Has no one else observed this behavior? I 
am experiencing it on each of three machines running Debian.

Many thanks for your help!
Jack
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



FIXED: Package Download Tool?

2004-10-21 Thread ms419
On Aug 26, 2004, at 1:56 AM, Thomas Adam wrote:
On Thu, Aug 26, 2004 at 08:49:20AM +0800, John Summerfield wrote:
apt-get -y --print-uris install lyx | awk '/http:/ {print wget  $1}'
I like to use the following for that:
http://linuxmafia.com/~n6tadam/apt-fetch
-- Thomas Adam
Thanks, everyone, for your help with this problem! I really appreciate 
all the suggestions.

I finally figured out how to download foreign architecture packages 
using aptitude  -o APT::Architecture=foreignarch.

I think this feature is unfortunately very hidden, so I contributed 
this patch: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=277123

However, I'm still searching for a tool to download packages' 
dependancies.

Thanks again!
Jack
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: aptitude: packages have been kept back?

2004-10-16 Thread ms419
On Oct 7, 2004, at 3:59 AM, robin wrote:
 --- [EMAIL PROTECTED]  wrote:
Can someone please explain why some packages might be kept back, or
how I might find out?
I guess what I'd like to know is how to get more information about why
aptitude is concluding that these couple packages should be kept
back, to better understand whether the fault is aptitude's or mine.
Unfortunately I haven't managed to gather this, using only aptitude's
ample documentation.

I don't think it's a bug. I see something similar with synaptic. It
usually happens after I update my lists and choose a range of files to
upgrade. The files kept back are the upgradeable files I have chosen
not to upgrade.
It would be worth installing synaptic as it is much clearer what is 
happening than aptitude, in my opinion.:-)
I have a kept-back which is waiting for other packages to be upgraded 
which are not available yet. It is unlikely that you are doing any 
thing wrong.

 Robin
Thanks for your help!
I'm confident that these packages dependancies are met. I haven't put 
anything on hold or chosen not to upgrade these packages - I'd like 
them upgraded!

I've gone so far as to examine these packages in aptitude, hoping to 
un-hold them, or discover why they are kept back; from in aptitude, 
these packages are marked id - installed and will be deleted.

I can't explain why these packages are kept back from aptitude 
dist-upgrade, will be deleted from in aptitude,  yet apt-get 
dist-upgrade upgrades them just fine.

Installing synaptic is probably a good idea - unfortunately I'm not 
running X  I'd rather not setup an X server just to resolve this 
problem with aptitude.

Can anyone suggest how else to learn more about aptitude's problem with 
these kept back packages?

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



Contents files

2004-10-13 Thread ms419
Anyone know how to generate Contents files from a repository, for use 
with apt-file? I found no hints in the apt-file documentation...

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



Re: aptitude: packages have been kept back?

2004-10-06 Thread ms419
On Oct 2, 2004, at 1:11 AM, Thomas Adam wrote:
 --- [EMAIL PROTECTED] wrote:
Can someone please explain why some packages might be kept back, or
how I might find out?
http://bugs.debian.org/cgi-bin/pkgreport.cgi?pkg=aptitude
Enjoy.
Thanks for the tip, Thomas, but did you mean this problem has already 
been reported, or that I should submit a bug report?

If you mean this has already been reported, I can't find the bug to 
which you're referring.

If you mean I should submit a bug, I'm not convinced my problem isn't 
my misuse of aptitude.

I guess what I'd like to know is how to get more information about why 
aptitude is concluding that these couple packages should be kept 
back, to better understand whether the fault is aptitude's or mine. 
Unfortunately I haven't managed to gather this, using only aptitude's 
ample documentation.

Could you please clarify what you meant, Thomas?
Thanks again!
Jack
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



aptitude: packages have been kept back?

2004-10-01 Thread ms419
I'm a long time apt-get user, trying to make sense of aptitude.
I really like aptitude's automatic dependancy tracking; but it keeps 
keeping packages back whenever I run aptitude dist-upgrade. 
apt-get dist-upgrade doesn't keep packages back.

Examining these kept back packages in aptitude, they are marked id, 
which I gather means installed and will be deleted. I can think of 
no reason why these packages should be kept back or deleted, nor 
have I been able to find such a reason using aptitude.

Can someone please explain why some packages might be kept back, or 
how I might find out?

Thanks oodles!
Jack
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



initrd / linuxrc: /bin/sh: can't access tty; job control turned off

2004-09-15 Thread ms419
I been trying for what feels like ever to build an initrd to boot an 
LVM 2 root partition on a foreign architecture. Unfortunately, I keep 
seeing:

RAMDISK: Compressed image found at block 0
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 164k init 4k chrp 32k prep
/bin/sh: can't access tty; job control turned off
#
with even the simplest linuxrc : (
I created an initrd consisting of:
/bin
/bin/dash
/bin/echo
/bin/sh - dash
/dev
/dev/console c 5 1
/lib
/lib/ld.so.1
/lib/libc.so.6
/linuxrc
linuxrc is a not-overly-complicated shell script:
#!/bin/sh
echo linuxrc is working!
But you'll notice, instead of linuxrc is working!, I see /bin/sh: 
can't access tty; job control turned off. Entering echo linuxrc is 
broke, broke, broke! at the prompt works as expected. I've been over  
over Documentation/initrd.txt in the kernel source tree. No help from 
Google.

Anyone who can suggest what might be wrong, or where I should ask, will 
win a just released, 30% more potent, personally autographed copy of my 
eternal gratitude!

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



Examine Package Conflicts

2004-09-09 Thread ms419
How does one examine conflicts between packages' dependancies?
I just tried upgrading my system,  APT concluded that an important 
package had to be removed. Now I must figure out which packages' 
dependancies require my important package's removal, so I can remove 
them, or otherwise satisfy their dependancies.

I've been over the APT HOWTO, but I'm still not clear which tool to 
use, to discover for what reason my important package must be removed.

Many thanks for your APT advice!
Jack
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Package Download Tool?

2004-08-25 Thread ms419
Is there a tool to quickly download, for a given architecture, a given 
package  its dependancies?

I've been doing a lot of cross development  find myself downloading 
lots of packages using the Debian web interface. Good as Debian's web 
interface is, this is tedious.

Investigating apt-get, I found: 
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=197424 but I can't 
figure out how to stipulate an architecture to aptitude (-a powerpc, or 
something) or download depended packages.

I need a tool to quickly download ( optionally extract, in one step) 
packages for a stipulated architecture,  there dependancies. Anyone 
know of a solution?

I thought that Debian, with a repository of cross architecture 
binaries,  the oldest package tools, would be great for cross 
development - but thus far, it's been surprisingly difficult!

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



Where's routed?

2004-08-23 Thread ms419
I run Debian unstable  plan to setup dynamic routing (for the first 
time). I'll probably start with RIP,  maybe graduate to OSPF.

I notice that routed isn't available in Debian any longer. Anyone know 
why this is? I think my alternatives include quagga or bird. Can anyone 
with dynamic routing experience recommend a good place to start?

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



Listing Files - Permissions in Octal?

2004-07-18 Thread ms419
How can I generate a directory listing, including permissions 
represented in octal, instead of r, w,  x?

I frequently use ls -l to list files, including their permissions, 
but I thought sometimes it would be nice to list these in terms of 
their octal values.

I couldn't find any hints in man ls, or google. Does anyone here know 
how it's done?

Sorry for asking such a general question - I'd be happy to ask 
elsewhere if someone knows a more appropriate list.

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



APT Removing Packages *With Met* Dependancies?

2004-07-07 Thread ms419
Why must libgle3 and xscreensaver-gl be removed when I try to install a 
package which conflicts with, but provides xlibmesa-gl?

I'm experimenting with some (ugly) video drivers. I need to remove 
xlibmesa-gl and install a different libGL.so, so I used the following 
control file and equivs to build xlibmesa-gl-dummy:

---
Package: xlibmesa-gl-dummy
Provides: xlibmesa-gl
Conflicts: xlibmesa-gl
---
However, when I try to install xlibmesa-gl-dummy, APT insists on 
removing libgle3 and xscreensaver-gl.

---
# apt-get install xlibmesa-gl-dummy
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages will be REMOVED:
  libgle3 xlibmesa-gl xscreensaver-gl
The following NEW packages will be installed:
  xlibmesa-gl-dummy
0 upgraded, 1 newly installed, 3 to remove and 0 not upgraded.
Need to get 2406B of archives.
After unpacking 7878kB disk space will be freed.
Do you want to continue? [Y/n]
---
As far as I understand, these packages' dependancies should be met ... 
Can someone spot what I'm doing wrong?

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



network names, sortlist, resolv.conf

2004-07-07 Thread ms419
I've looked around for a Linux resolver mailing list, but failing that, 
I thought I'd ask here.

I'm using the sortlist statement in my resolv.conf to prevent some 
programs from being confused by multihomed hosts.

I've also setup mnemonic names for our networks, so, for instance:
---
# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric RefUse 
Iface
zot *   255.255.255.0   U 0  00 
eth1
des *   255.255.255.0   U 0  00 
eth2
...
# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric RefUse 
Iface
192.168.179.0   0.0.0.0 255.255.255.0   U 0  00 
eth1
192.168.103.0   0.0.0.0 255.255.255.0   U 0  00 
eth2
...

---
I would like to use these same mnemonics in the sortlist statement: 
sortlist zot des ... Unfortunately this doesn't work.

Is someone able to please tell me what I'm doing wrong / whether names 
in resolv.conf is just silly / where I should ask / what source I 
should look at?

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



make-kpkg, cross compiling for powerpc?

2004-06-24 Thread ms419
How do I invoke make-kpkg to cross compile a kernel for powerpc?
I've built and installed gcc-3.3-powerpc-linux. I tried make-kpkg 
--revision 200406241 --rootcmd fakeroot --arch powerpc kernel_image, 
without success. Apparently the Specified GNU system type 
powerpc-linux does not match gcc system type i386-linux.

I've been over the make-kpkg man page, but I found the descriptions 
of --arch and --cross-compile unclear (or written for someone who 
already knew what they were doing). I'm afraid google couldn't help me 
this time.

Thanks for your help!
Jack
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Debian /etc/hosts Behavior

2004-04-18 Thread ms419
Hmm ... I am also running unstable; a fresh install. Fresh as fresh can 
be! I assumed that the installer had created this line - it asks for 
the hostname when configuring the network - but I'd have to do another 
installation to be sure.

Jack

On Apr 18, 2004, at 11:47 AM, Ken Irving wrote:

On Sun, Apr 18, 2004 at 09:33:11AM -0700, Marc Wilson wrote:
On Sat, Apr 17, 2004 at 10:32:29AM -0700, [EMAIL PROTECTED] wrote:
---
127.0.0.1   kas localhost
---
This realized, it was a quick fix:
---
127.0.0.1   localhost
---
If this entry prevents hostname -f and hostname -d from working,
why does Debian create it?
Debian doesn't, on any of my machines:
...
Personally, what YOU had in /etc/hosts looks like something that was 
added
locally.
I had the same thing on one machine running unstable (hostname before
localhost), but not on others running stable.  I recently used the
hostname command (followed by some grepping and editing other files
under /etc) to change the host's name; maybe that was responsible for
this format?
--
Ken Irving, [EMAIL PROTECTED]
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact 
[EMAIL PROTECTED]




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



FIXED: Debian /etc/hosts Behavior

2004-04-18 Thread ms419
Thanks Jo! That should save me future problems.

Jack

On Apr 18, 2004, at 8:22 PM, Joey Hess wrote:

[EMAIL PROTECTED] wrote:
Hmm ... I am also running unstable; a fresh install. Fresh as fresh 
can
be! I assumed that the installer had created this line - it asks for
the hostname when configuring the network - but I'd have to do another
installation to be sure.
The installer does indeed create that line. In recent daily builds,
we've changed things around to the more sane:
127.0.0.1	localhost	hostname

--
see shy jo


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



Re: distcc dpkg-buildpackage

2004-04-18 Thread ms419
Thanks very much for the info. Spot on. I've now got it working.

In addition to editing debian/rule, I discovered using 
CONCURRENCY_LEVEL instead of -j is advised (necessary)?

Jack

On Apr 18, 2004, at 4:29 AM, Pigeon wrote:

On Sat, Apr 17, 2004 at 10:17:58PM -0700, [EMAIL PROTECTED] wrote:
Is anyone successfully using distcc with dpkg-buildpackage?

I tried:
---
MAKE=make -j4 CC=distcc DISTCC_HOSTS=localhost kas 
dpkg-buildpackage
---
but distcc wasn't used : (
Frequently the package's build scripts will override anything you set
for things like CC and CFLAGS. If the overriding takes place in
debian/rules (most of the time it does), you can simply edit
debian/rules before running dpkg-buildpackage. If it takes place in
the actual Makefiles, though, either you've got to do a lot of tedious
editing, or you can do something gross but functional like making
/usr/bin/gcc a wrapper around the real compiler.
--
Pigeon
Be kind to pigeons
Get my GPG key here: 
http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0x21C61F7F


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



Debian /etc/hosts Behavior

2004-04-17 Thread ms419
I just spent a painful couple of days trying to figure out why Kerberos 
authentication was broken. DNS checked out, but it turns out hostname 
-f was only returning the short hostname, due to the following entry 
in /etc/hosts:
---
127.0.0.1	kas	localhost
---
This realized, it was a quick fix:
---
127.0.0.1	localhost
---

If this entry prevents hostname -f and hostname -d from working, 
why does Debian create it?

Thanks!

Jack

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



distcc dpkg-buildpackage

2004-04-17 Thread ms419
Is anyone successfully using distcc with dpkg-buildpackage?

I tried:
---
MAKE=make -j4 CC=distcc DISTCC_HOSTS=localhost kas dpkg-buildpackage
---
but distcc wasn't used : (
Jack

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



Debian XFree86 -nolisten tcp

2004-04-14 Thread ms419
I run a cluster of machines w/ only one display; I need to run lots of 
remote X apps. For performance, I think I need the X server listening 
on a TCP port - but Debian makes a big deal about the security 
implications. Have I any options besides A) using SSH, B) removing the 
-nolisten tcp option, (or C) avoiding remote X apps)?

Must I actually remove -nolisten tcp from /etc/X11/xinit/xserverrc 
and /etc/X11/xdm/Xservers, or is there a /etc/default or dpkg 
switch I missed somewhere?

# - SECURITY NOTE: Always pass the -nolisten tcp option to the X
#   server, as shown in the examples below, unless you know you
#   need the X server listening on a TCP port.  Omitting this
#   option can expose your X server to attacks from remote hosts.
#   Note also that SSH's X11 port-forwarding option works even with
#   X servers that do not listen on a TCP port, so you do not need
#   to remove the -nolisten tcp option for SSH's benefit.
Thanks!

Jack

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



kmod aliases

2004-04-04 Thread ms419
Where does Debian recommend putting network driver kernel module 
aliases for kmod (eg. alias eth0  8139too)? Should they all go in 
/etc/modutils/aliases? Or in a separate file, like 
/etc/modutils/net? Or each in its own file: /etc/modutils/eth0, et 
cetera ... Or even something else? What is good form?

Thanks!

Jack

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



uniqueIdentifier Command

2004-03-12 Thread ms419
I'm using uniqueIdentifier objects to define objects in my LDAP 
directory. Does a command exist to produce a random string?

Thanks!

Jack

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



sortlist, resolv.conf, DHCP client

2004-01-17 Thread ms419
I need to add a sortlist option to my resolv.conf. Unfortunately, 
it is periodically overwritten by my DHCP client. The nameserver 
options are not overwritten, using the supersede domain-name-servers 
option in dhclinet.conf. What configuration will prevent my 
sortlist option from being overwritten?

Thanks,

Jack

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



Debugging rsh

2004-01-17 Thread ms419
I am trying to rsh to my server. I am using kerberos authentication. I 
believe I have configured everything correctly, but rsh simply 
complains: hostname: Connection refused. I checked my inetd.conf. 
Unfortunately, I can't figure out how to debug rsh. Even using the -d 
option, nothing is printed either to stdout or the logs.

How can I debug rsh to determine why I can't connect?

Thanks,

Jack

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