Re: Gnome2.2 backport for Debian Woody available for download

2003-02-25 Thread Matt Price
On Wed, Feb 19, 2003 at 09:53:58AM -0500, James D Strandboge wrote:
> First of all, a big thanks to all the Debian maintainers for making such
> good source packages.  They did all the real work.  Also, thank you

thank you, and everyone, for all the hard work!

> 
> Add this to your /etc/apt/sources.list:
> deb http://mirrors.evilgeniuses.org.uk/debian/backports/woody gnome2.2/
> deb-src http://mirrors.evilgeniuses.org.uk/debian/backports/woody gnome2.2/
> 
> I recommend exiting gnome if you are currently in it.  To install, simply do:
> apt-get update
> apt-get install gnome-core gdm gtk2-engines*

I tried this and apt-get wanted to remove most of my kde2
installation:

The following packages will be REMOVED:
  agbrowser ark gnome-help gnome-intro kab karm kate kbear kcalc
  kcharselect kchart kcoloredit kcron kdebase
  kdebase-audiolibs kdebase-libs kdelibs3 kdelibs3-bin kdelibs3-cups
  kdepasswd kdepim-libs kdevelop kdevelop-data
  kdf kdict kdm kedit kfind kformula kfract khexedit kiconedit kit
  kivio kjots kmail knewsticker knode knotes
  koffice koffice-libs konqueror konsole kontour korganizer korn
  koshell kpackage kpaint kpm kpresenter kruler
  kscreensaver ksirc ksnapshot kspread ksysv ktimer kugar kuser kview
  kword libfam0 libgtk-common libkdenetwork1
  libkmid libkonq3 libpango-common quanta secpolicy wordtrans-kde

Is this normal?  Can I get around it?  I'd rather not lose my kde
until I have gnome up and running.  
matt


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



Re: my CUPS RUnneth Over!!!

2003-02-27 Thread Matt Price
> | I saw on the web that CUPS stands for Can't Usually Print Stuff.
> 
> Heh.  It works well for me though.

me too now!

> 
> | Once upon a time, CUPS worked for me.  Then I tasted of the fruit of
> | knowledge,
> 
> _of Good and Evil_.  The Lord doesn't wish His people to be stupid.
> He desires for them to be holy and righteous.

nicely put, apologize for the flagrant out-of-context quoting

> 
> | the Lord grew angry, and cast me out of the Garden.
> 
> Ever since people have had knowledge of evil they ceased to be pure
> and holy.  Holiness can't abide with unholiness, thus the expulsion.
> 
> | Now I struggle to find my way in. 
> 
> The way is straight and narrow and presented before you.  It is your
> choice whether you want it or not.
> 

well, I still find it a struggle...

> | 
> | First, the Printers.conf:
> | 
> | 
> | Info Lexmark Z53
> | DeviceURI test:/dev/null
> 
> This URI can't be entirely right.  First, do you have a file named
> /usr/lib/cups/backend/test?  If not then cups won't understand a
> "test://" URI.  Secondly, sending data to /dev/null won't put ink on
> paper, but I think you realize that :-).

Well.  that was the issue actually.  

When I first installed debian, my printer (Lexmark z53) was only known
to work via a script called "lexmarkwrapper" written by the folks over
at linuxprinting.org, and installed via an obscure alienated rpm
called "lexmarkz53".  As I now understand it, lexmarkwrapper posed as
a filter, then hijacked the printing process ffrom CUPS 
and sent the relevant data to the printer all on its own.  then the
process was returned to CUPS, which finished the filtering process and
sent the data to /dev/null.  So under this plan, it was essential to
set the uri to /dev/null, so tht CUPS didn't actually try to contact
the printer.  As for 'test'...  I can't honestly say why the URI was
set to test -- that's just the advice I got when I was first setting
up debian.  I assume it should have been 'file://dev/null', but
nonetheless it worked fine back in the day.  

Anyway:  I did something to break this setup (don't know what) and
then tried to reinstall everything.  This doesn't work, though,
because in the meantime Lexmark has released new drivers which are
incompatible with both CUPS and lexmarkwrapper.  So I installed the
new driver and lexmarkwrapper remained broken.  


> 
> | --> this seems fine -- test:/dev/null is what I used to have to have
> | in that line, always worked before, though I never understood why
> | I needed it.  Anyway, changing it back to usb:/dev/usb/lp0 just
> | adds one more error.
> 
> You want to add '//' after "usb:".  If that doesn't solve the error,
> then something isn't right with your USB setup.

Fortunately, in the meantime GIMP has been shown to work with the z53,
so I installed gimp-print, reinstalled everything else, and now I
acutally _can_ print from usb://dev/usb/lp0 !  

yay.  

> 
> | Now, the error_log.  I've edited it somewhat, but left a lot in since
> | I don't know what's important.  The errors start in the last section,
> | which I've marked.  I hope someone cna figure out what's going on!!!  
> | 
> | thanks, 
> | matt
> | 
> | here's the log:

> | -- SNIP --
> | D [14/Feb/2003:23:24:34 -0500] LoadDevices: Added device
> | "usb:/dev/usb/lp0"...
> 
> This looks like cups finds your USB printer device.  Is it really
> there, though?  Does that file exist?  If you echo some characters to
> it, does the printer react?

um, I should try that -- I'm always kinda scared of my /dev files,
guess I oughtn't to be.  Anyway, though, it _is_ really there now.  

> 
> | -- SNIP --
> [test page begun]
> | I [14/Feb/2003:23:24:55 -0500] Started filter /usr/lib/cups/filter/pstops (PID 
> 23301) for job 4.
> | I [14/Feb/2003:23:24:55 -0500] Started filter
> | /usr/lib/cups/filter/cupsomatic (PID 23302) for job 4.
> 
> | D [14/Feb/2003:23:24:55 -0500] perl: warning: Setting locale failed.
> | D [14/Feb/2003:23:24:55 -0500] perl: warning: Please check that your
> | locale settings:
> | D [14/Feb/2003:23:24:55 -0500] LANGUAGE = (unset),
> | D [14/Feb/2003:23:24:55 -0500] LC_ALL = (unset),
> | D [14/Feb/2003:23:24:55 -0500] LANG = "en"
> | D [14/Feb/2003:23:24:55 -0500] are supported and installed on your
> | system.
> | D [14/Feb/2003:23:24:55 -0500] perl: warning: Falling back to the
> | standard locale ("C").
> 
> This warning from perl is not fatal, but it is a good idea to correct
> it.  Set $LANG (in /etc/environment) to a locale listed in
> /etc/locale.gen.

I'm a bit confused about these errors, actually.  $LANG _is_ set in
/etc/environment -- to en_US, which is also what's echoed for $LANG
from the command line.  I've actually had quite a bit of trouble with
locales, I should figure out once and for all what's wrong.  


> This looks like the printer is configured to use /dev/lp0 as the
> device, however the user cups is running as doesn't have permission to
> write to it.

interesting. I thght CUPS ran as root?

debian on laptop w/ limited ram/speed/HD

2003-02-28 Thread Matt Price
Hi everyone,

A middle-aged (~4 years old -- so, not old, not new) laptop is about
to become available to me, and I'd like to install debian on it.
The system is an HP Omnibook A4100,
P-II 300
96 meg ram
20 gig hard drive

I'd like to take the machine on a month-long trip, where I'd use it
mmostly for writing and checking email.   My *preference* would be to
run:

-a minimal GUI
-mutt, plus something to fetch my mail from a remote location

and... 
-openoffice.  

sigh.  I'm a bit concerned that openoffice can't feasibly be run in
such an environment; but I'm revising a book manuscript that was
originally written several years ago in Word, and I really, really,
really don't want to have to edit it in emacs or something.  

So does anyone have suggesions about 
-tweaks to get debian to run optimally on a (relatively) small
memory/processing speed budget;
-favorite lightweight window managers;
-if necessary, alternatives to / modifications of OpenOffice that
don't require quite so much room to work as the standard OO
installation needs?

Would it perhaps be useful to compile stuff from scratch, rather than
use generic debian packages?  

Anyway, thanks for thei nput,

Matt


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



Re: debian on laptop w/ limited ram/speed/HD

2003-03-11 Thread Matt Price
Sorry for the long delay -- just wanted to say THANK YOU to everyone
who responded, you were all very helpful.  I'm looking forward to this
project -- and I'll see if I can hunt down some extra ram for this
machine!  thanks,
matt


On Mon, Mar 03, 2003 at 10:21:28AM -0500, Narins, Josh wrote:
> 
> > Hi everyone,
> > 
> 
> Hi!
> 
> > A middle-aged (~4 years old -- so, not old, not new) laptop is about
> > to become available to me, and I'd like to install debian on it.
> > The system is an HP Omnibook A4100,
> > P-II 300
> > 96 meg ram
> > 20 gig hard drive
> > 
> > I'd like to take the machine on a month-long trip, where I'd use it
> > mmostly for writing and checking email.   My *preference* would be to
> > run:
> > 
> > -a minimal GUI
> > -mutt, plus something to fetch my mail from a remote location
> > 
> > and... 
> > -openoffice.  
> > 
> 
> 
> Also, very important.
> Go through _all_ the processes you see with ps -ef.
> Each and every one you can eliminate helps.
> Do you really need atd and crond? or is just one anacrond sufficient?
> Do you have lpd or cupsd running, but no printer around?
> 
> Each one of these things you can remove in the first place will greatly help
> in the long run.
> 
> I ran stable, and testing for a while, on a 64MB box, with X, and everything
> worked fine (apache+mod_perl + mysql + vim + eterms + browser)
> 
> And it was 300MhZ
> 
> You'll be fine.
> 
> --
> This message is intended only for the personal and confidential use of the 
> designated recipient(s) named above.  If you are not the intended recipient of this 
> message you are hereby notified that any review, dissemination, distribution or 
> copying of this message is strictly prohibited.  This communication is for 
> information purposes only and should not be regarded as an offer to sell or as a 
> solicitation of an offer to buy any financial product, an official confirmation of 
> any transaction, or as an official statement of Lehman Brothers.  Email transmission 
> cannot be guaranteed to be secure or error-free.  Therefore, we do not represent 
> that this information is complete or accurate and it should not be relied upon as 
> such.  All information is subject to change without notice.
> 


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



Re: newbie mutt questions

2003-03-11 Thread Matt Price
On Tue, Mar 11, 2003 at 02:56:15PM -0500, Chris Hoover wrote:
> Sorry for this newbie type of questions, but how do you move mail messages to 
> another folder when in mutt?

"s"

it';ll prompt you for a folder name.

look in the mutt manual (the whole hting, in /usr/share/doc/mutt, not
"man mutt", google "my first mutt", and/or check out your .muttrc if that
doesn't work.

matt

> Thanks,
> 
> Chris
> 
> 
> -- 
> 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]



emacs fonts/locale error

2003-03-13 Thread Matt Price
Hi everyone,

when I run emacs from within X, I suddenly now get the following
message: 

---
[EMAIL PROTECTED]:~$ emacs .muttrc
No fonts match `-*-*-medium-r-normal--14-*-*-*-c-*-iso8859-15'
---
this seems especially wierd since my locale is set to en_US, which
uses iso8859-1.  This error does not occur when I run emacs from a
terminal, or when I run 'emacs -nw' to force text mode.  

I have been messing with my locales a bit lately, but I made sure to
dpkg-reconfigure locales, and to set everything back to en_US.  Also I
have been experimenting for the first time with using emacs in server
mode, but commenting out '(server-start)' from my .emacs had no effect
on emacs' behaviour.  

any ideas out there?  thanks,
matt


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



'gcc logjam'

2003-03-13 Thread Matt Price
hi everyone,

I've noticed frequent references in this list to the 'gcc logjam'.
Now, I know gcc is the C compiler, and that more or less everything in
Debian is dependent on it...  ut I don't know much else.  Can anyone
tell me what the _issues_ are with gcc, and what the nature of the
'logjam' is?  I just want to understand batter what it's all about.
thanks as always,
matt


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



mozilla-xmlterm

2003-03-14 Thread Matt Price
hey folks,

anyone had any luck getting xmlterm to work on the woody backports of
mozilla 1,.2?  So far all I've gotten is an empty window popping up.

btw:  mozilla 1.2 seems *way* fater than 1.0!  thanks folks!
matt


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



gneralized locale error! [was: emacs fonts/locale error]

2003-03-14 Thread Matt Price
On Thu, Mar 13, 2003 at 11:41:59AM -0500, Matt Price wrote:
> Hi everyone,
> 
> when I run emacs from within X, I suddenly now get the following
> message: 
> 
> ---
> [EMAIL PROTECTED]:~$ emacs .muttrc
> No fonts match `-*-*-medium-r-normal--14-*-*-*-c-*-iso8859-15'
> ---
> this seems especially wierd since my locale is set to en_US, which
> uses iso8859-1.  This error does not occur when I run emacs from a
> terminal, or when I run 'emacs -nw' to force text mode.  



Update:  just noticed I have a similar error ino ther programs -- I
ran dpkg-www for fun, and it gave me the following:

Cannot convert string "-*-*-medium-r-normal--14-*-*-*-c-*-iso8859-15"
to type FontStruct

Anybody have any idea where htis error comes from?  

thanks
m















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



caendar recommendations

2003-03-17 Thread Matt Price
hi folks,

I'm looking for a calendar program (not a full groupware suite) that I
can use from home and at work.  At home I use a mac, so I would need
either something that makes the calendar web-accessible (and
password-protected),or (less desirable) a text-based calendar that I
can access via ssh.  

I tried apt-cache search calendar, which brought up a numbero f
options, but the most promising of these (php-groupware) wanted to
uninstall php4, which I need for something else.  And I also have
mozilla-calendar installed (using the mozilla 1.2 woody backport) but
(1) in general it doesn't sseem to be functioning so well (e.g., the
"publish" option doesn't seem to produce any files, far as I can
tell), (2) from what I can see it doesn't produce a browser-accessible
calendar, which is what I want.  

any hints?  

thanks,
matt


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



Re: pdfs and mutt

2003-03-18 Thread Matt Price
On Mon, Mar 17, 2003 at 06:06:23PM -0500, Emma Jane Hogbin wrote:
> I'd like to be able to open PDFs from mutt. Right now when I try to "v"iew
> a PDF it shows me a stream of text in the mutt window. (Would it make a
> difference if the PDF was sent from a Mac vs. a PC?)
> 
> I've added:
>   .mime.types add the line:
> 
>application/pdf pdf
> 
>   In .mailcap add the lines:
> 
># Use xpdf to view PDF files.
>application/pdf; xpdf -err %s
> 
> according to the man pagesbut it's not working. Am I supposed to
> source something for this to work? I thought just closing and then
> re-opening mutt would be enough.

I have the following section for pdf in my .mailcap:

application/pdf;  mutt_bgrun  /usr/bin/X11/gv '%s'; test=test -n "$DISPLAY"
application/pdf;  pdftotext %s -; copiousoutput

this is more or less copied from gary johnson's setup, at 
http://www.spocom.com/users/gjohnson/mutt

I find the mutt_bgrun script descriped there (and used above)
essential, as is mutt_octet_view for viewing (especially) M$ office
docs.  

> 
> Also on the HTML + mutt front, someone else recommended this recently,
> which means I can now reply to an HTML email and I get a plain text email
> (which is GREAT). Unfortunately I now get the emails in plain text as
> well. It's not a huge big deal--and I'm convinced I'll switch, but is 
> there any way to view in HTML and reply in text? Thanks!
> in .mailcap:
> text/html; lynx -force_html %s
> text/html; lynx -force_html -dump %s; copiousoutput

can't help you there...
matt

> 
> emma :)
> 
> -- 
> Emma Jane Hogbin
> [[ 416 417 2868 ][ www.xtrinsic.com ]]
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


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



locales problem / grep question

2003-03-19 Thread Matt Price
hi everyone,

In an earlier threasd (which since moved on in a different direction)
I mentioned this error I've been getting when I try to run some
programs, most pressingly emacs:

>---
>[EMAIL PROTECTED]:~$ emacs .muttrc
>No fonts match `-*-*-medium-r-normal--14-*-*-*-c-*-iso8859-15'
>---

if I run emacs -nw, the error doesn't occur, so I asusme the issue is
x-specific.  Anyway, though people were sympathetic, no one seemed to
have seen this specific problem before (if it's familiar, help would
still be absolutely welcome!)...  it's been bugging me on and off, and
today I tried to use grep to look for this string somewhere in some
file on the system.  

now obviously the following doesn't work: 
grep -r -*-*-medium-r-normal--14-*-*-*-c-*-iso8859-15 /
(*'s need to be escaped)

slightly less obviously, neither does this:
grep -r -\*-\*-medium-r-normal--14-\*-\*-\*-c-\*-iso8859 / 
(grep looks for a switch after the '-')

and neither did this, which I tried more or less at random: 
grep -r \-\*-\*-medium-r-normal--14-\*-\*-\*-c-\*-iso8859 /

now, I've worked around the problem by using this:
grep -r medium-r-normal.*iso8559 /

(which is running right now, and will probably take a while!) but I'm
curious: what's the CORRECT way to search for a string like this,
since I'm not interested in the dozens of files that seem to contain
similar (but not identical) expressions?  

thanks,
matt


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



Re: CUPS printing (newbie)

2003-03-19 Thread Matt Price
On Wed, Mar 19, 2003 at 10:01:17AM -0500, Subba Rao wrote:
> 
> Hi,
> 
> I am a newbie to CUPS printing system.  I have installed it on my Debian 3.0
> (woody) system. Now I can print test pages thru the Browser.
> 
> How do I print from KWord, OpenOffice Writer and even from command line?

from the command line, 'lp' and 'lpr' should both send print ocmmands
to CUPS.  If you have more than one printer, use
lpr -P printername filename
(I think)

For OpenOffice, run the 'spadmin' script which is to be found in the
install directory.  This opens up a dialog box in which you cna
configure and add printers.  It's pretty straightforward, assuming lp
and lpr are working: you just add the commands you find
work for you from the ocmmand line.

For KWord, I think you use the KPrinter dialog in the KDE Control
Center (I run 3.1, and in that version you find it under
Peripherals/Printers).  However, i don't use many kfde-specific
features, and I don't remember that bit very well.  

g'luck,
matt


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



firewire/hfs volumes

2003-01-21 Thread Matt Price
Hi everyone,

I run woody on a 


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




firewire / hfs volumes (continued)

2003-01-21 Thread Matt Price
sorry about the last message

I run debian woody at work, and macos 9 at home.  I'd like to start
backing up both systems on an external ieee1394 drive (not yet
purchased).  I have two questions:

-does woody (running on x86) work stably with hfs volumes?  I seem to
 remember there were some issues areound it.
-If I get one large drive (I'm thinking 160gb) will woody be able to
 see all of it?  I know that there used to be some problems with the
 mac around large drives, but haven't found anything about linux
 andthis problem.
- (I guess this is 3) how would folks recommend I initialize and
 partition the drive?  From my mac, or from my woody box?  

Thanks as always for your help!  
matt


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




diskspace error in /tmp

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

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

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

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

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

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

-

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

--

thanks as usual.
matt



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



OpenOffice 1.0.2 font ugliness

2003-01-27 Thread Matt Price
Hi folks,

just upgraded to OpenOffice 1.0.2, and the fonts are _exceedingly_
ugly, despite the fact that I installed the x-ttcidfont-conf as
suggested by the openoffice package, and up
dated the FontPath settings in the XServer.  I remember having fixed this
problem in the past somehow, but can't remember how I managed it.  Can
anyone point me to a solution?  thanks,
Matt


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




Re: diskspace error in /tmp

2003-01-27 Thread Matt Price
well, as everyone pointed out, df was the utility I needed.  Thank you
for helping me in my ignorance... in fact, I had stupidly placed a
large directory full of mp3's on the root partition, hence the
problem.  sorry to be so stupid.  andthanks as usual!
matt


On Fri, Jan 24, 2003 at 11:50:43PM +0100, David Dumortier wrote:
> Hello
> 
> > files in other places.  Any hints?  
> 
> One !!!
> Try anothere OS ... and die !! ;-))
> 
> > more info (cat of fstab, du of /tmp):
> > /dev/hda1   /   ext3errors=remount-ro   0   1
> 
> df is more usuable !
> 
> > du of /tmp:
> > matt@anarres://$ sudo du /tmp
> > 4   /tmp/.X11-unix
> > 4   /tmp/.font-unix
> > 4   /tmp/ssh-XXtzyXgi
> > 456 /tmp/kde-matt
> > 8   /tmp/ksocket-matt
> > 4   /tmp/.ICE-unix
> > 8   /tmp/mcop-matt
> > 8   /tmp/orbit-root
> > 8   /tmp/orbit-matt
> > 4   /tmp/ksocket-root
> > 740 /tmp
> 
> df / is more usuable but think U need mor space on /tmp ! mzke a whole
> patition for it (ext2 don't ned journal !)
> 
> David Dumortier
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


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




partition table incorrect/ fdisk messed up?

2003-01-27 Thread Matt Price
Hi everyone,

in the course of fixing another problem (thanks for the help everyone)
I discovered something odd on my system.  

My (currently oly) hard drive is an 80-gig maxtor.  here's the
partition table:


 sudo fdisk /dev/hda

The number of cylinders for this disk is set to 9732.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)

Command (m for help): p

Disk /dev/hda: 255 heads, 63 sectors, 9732 cylinders
Units = cylinders of 16065 * 512 bytes

   Device BootStart   EndBlocks   Id  System
/dev/hda1 1   373   2996091   83  Linux
/dev/hda2   374   871   4000185   83  Linux
/dev/hda3   872  1120   292+  83  Linux
/dev/hda4  1121  5116  320978705  Extended
/dev/hda5  1121  1493   2996091   83  Linux
/dev/hda6  1494  1991   4000153+  83  Linux
/dev/hda7  1992  2489   4000153+  83  Linux
/dev/hda8  2490  2684   1566306   82  Linux swap
/dev/hda9  2685  3900   9767488+  83  Linux
/dev/hda10 3901  5116   9767488+  83  Linux


---

and here's the output of df -h

matt@anarres:~$ df -h
FilesystemSize  Used Avail Use% Mounted on
/dev/hda1 2.8G  1.7G  1.0G  63% /
/dev/hda2 3.8G  2.4G  1.2G  67% /usr
/dev/hda3 1.9G  804M 1021M  45% /usr/local
/dev/hda5 2.8G  1.2G  1.4G  44% /var
/dev/hda6 3.8G   74M  3.4G   3% /tehanu
/dev/hda7 3.8G   82M  3.4G   3% /tehanu/usr
/dev/hda9  19G  6.5G   11G  37% /moreaudio
/dev/hda109.2G  5.8G  2.9G  67% /home

-

as I read these two tables, I should have just under half the disk
free, amounting to almost 40 gig.  And yet when I try to add a
partition in fdisk ('n'), it tells me "No free sectors available".
What am I missing?  

one last bit of information:  in "expert" mode (obviously I don't
quali\fy!), fdisk prints the following alist of extended partitions:


Expert command (m for help): e

Disk /dev/hda: 255 heads, 63 sectors, 9732 cylinders

Nr AF  Hd Sec  Cyl  Hd Sec  CylStart Size ID
 4 00 254  63 1023 254  63 1023 17992800 64195740 05
 5 00 254  63 1023 254  63 1023  5992245  8000370 05
 6 00 254  63 1023 254  63 1023 13992615  8000370 05
 7 00 254  63 1023 254  63 1023 21992985  3132675 05
 8 00 254  63 1023 254  63 1023 25125660 19535040 05
 9 00 254  63 1023 254  63 1023 44660700 19535040 05
10 00   0   00   0   0000 00

does anyone know why hda10 (/home!) has only 0's in its listing?

thanks as usual!!!,
matt


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




Re: partition table incorrect/ fdisk messed up?

2003-01-28 Thread Matt Price
hey anita,

htanks for the advice.  I'm gonna buy a new hard drive (I wanted one
anyway, copy all the data over, then try your method.  I guess I"m a
bit queasy about your method b/c I don't have proper backups.  

very cool ikdea.
m

On Tue, Jan 28, 2003 at 06:50:38AM -0500, [EMAIL PROTECTED] wrote:
> > I have remade a partition table before from a printout after losing it.  The
> > data was still there.
> 
> Something is nagging me about this remaking the partition table.  I'm not
> positive, but I think it is important to reboot before writing to the
> partitions.  So just to be safe, be sure that you reboot after you remake
> the table whether you do it by moving all the data first or by just leaving
> the data in place.  I think there is a warning about that when you do the
> write with linux fdisk at the end of editing the table, but I'm not sure
> about that.
> 
> Anita
> 
> 
> -- 
> 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: OpenOffice 1.0.2 font ugliness

2003-01-30 Thread Matt Price
hm, thanks for the tip, but it didn't help...
matt
On Mon, Jan 27, 2003 at 10:21:46AM -0800, Jeff wrote:
> Matt Price, 2003-Jan-27 12:22 -0500:
> > Hi folks,
> > 
> > just upgraded to OpenOffice 1.0.2, and the fonts are _exceedingly_
> > ugly, despite the fact that I installed the x-ttcidfont-conf as
> > suggested by the openoffice package, and up
> > dated the FontPath settings in the XServer.  I remember having fixed this
> > problem in the past somehow, but can't remember how I managed it.  Can
> > anyone point me to a solution?  thanks,
> > Matt
> 
> Did you add the ttf fonts to OOo using spadmin?  I believe you still
> need to do that.
> 
> jc
> 
> -- 
> Jeff Coppock  Systems Engineer
> Diggin' DebianAdmin and User
> 
> 
> -- 
> 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]




woody and demudi/sid on one machine

2003-01-30 Thread Matt Price
hi everyone,

just bought a nice big hard drive so I have lots of space, and thought
it would be fun to run stable and unstable simultaneously on my
machine.  In fact, more specifically, here is my plan:

-continue to run woody in its current location
-install a second copy of woody in a new partition, and use it as the
base system for an installation of demudi -- which broke stuff the
lastt time I tried to install it.  Once I get that working, I'd like
to slowly start migrating the demudi distribution to sid.  

My question is:  what partitions can I share between the distros?  And
if I want to be able to change freely back and forth between them with
chroot, what do I have to be careful to keep consistent?  So for
instance, do I need to be absolutely sure to have the same kernel in
both distros?  And can I share /usr/local, /var, and /home?  What else?

ANy advice is welcome.  Including advising me that this is a stupid
plan.  thanks for the help,
matt


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




Re: partition table incorrect/ fdisk messed up?

2003-01-30 Thread Matt Price
it worked!!  thanks loads,
matt
On Tue, Jan 28, 2003 at 06:29:32PM -0500, Matt Price wrote:
> hey anita,
> 
> htanks for the advice.  I'm gonna buy a new hard drive (I wanted one
> anyway, copy all the data over, then try your method.  I guess I"m a
> bit queasy about your method b/c I don't have proper backups.  
> 
> very cool ikdea.
> m
> 
> On Tue, Jan 28, 2003 at 06:50:38AM -0500, [EMAIL PROTECTED] wrote:
> > > I have remade a partition table before from a printout after losing it.  The
> > > data was still there.
> > 
> > Something is nagging me about this remaking the partition table.  I'm not
> > positive, but I think it is important to reboot before writing to the
> > partitions.  So just to be safe, be sure that you reboot after you remake
> > the table whether you do it by moving all the data first or by just leaving
> > the data in place.  I think there is a warning about that when you do the
> > write with linux fdisk at the end of editing the table, but I'm not sure
> > about that.
> > 
> > Anita
> > 
> > 
> > -- 
> > 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]


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




kde won't save display options!

2003-01-30 Thread Matt Price
for reasons that I odn't understand, kde (v. 2, under woody) has
stopped saving the options I choose in the Control Center.  I thought
I'd hu8nt around in the configuration files to see if I could save
them by hand, or figure out if there's some kind of permissions file,
but I can't seem to find the right file.  Does anyone know where
users' display information is stored under kde?  I've looked under
~/.kde/share/config, but haven't found anything that looks right --
e.g., something with a variable like "no_of_desktops" or something.  

I did find .kcmdisplayrc, but that only says: 

matt@anarres:~/.kde/share$ more config/kcmdisplayrc
[DisplayEnergy]
displayEnergySaving=true
displayPowerOff=0
displayStandby=10
displaySuspend=35

[X11]
useResourceManager=true

any help welcome... thanks,
matt


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




initrd -- what exactly is it?

2003-01-31 Thread Matt Price
hi there,

can someone help me figure out what exactly initrd is, and why
kernels use it?  I have looked through the docs, and I understand that
it's thefile used for an initial ramdisk in some cases, but I don't
understand why it would be used in some cases and not in others.  So
for inst ance, the demudi kernel I just installed seems to demand the
use of initrd, and I take it GRUB needs an anitrd argument to load the
kernel.  But why don't my own self-compiled kernels require an initrd
argument at boot (nor have an initrd file anywhere in /boot, as far as
I can tell)?  

thanks for the (continuing) assistance.  
Matt


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




twiki installation

2003-01-31 Thread Matt Price
Anyone out there use twiki?  how do you do the initial configuration??
(like, setting the webmaster's password, etc)
doesn't seem to be indicated in /usr/share/doc/twiki, and I didn't
notice it in the debconf setup.  

thx for the help...
matt


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




Re: OpenOffice 1.0.2 font ugliness

2003-02-01 Thread Matt Price
> 
> Well, 'exceeding ugly' is quite a subjective statement so I can't be sure
> what you see.  Perhaps you are talking about the fact that we reverted back
> to the internal libfreetype used in OOo instead of the Debian version, due
> to many problems experienced by users?   This is documented in the
> changelog. 

...  maybe I exagerrate.  Would a screenshot help?  I guess the main
thing is, that I was disappoiinted to go back to ugly fonts after
having (somehow, in a way I don't remember) enabled quite nice-looking
fonts in OOo 1.0.1.  In the current setup, for instance, it's rather
difficult to tekll the difference between bold and normal faces, which
is fine in many instances, but not when I'm copyediting!

anyway, thanks for the hint, I'll probably justw ait around for your
fix and see if that helps things.  best,
matt

> We are testing a fix to this problem so I hope to be able to re-enable the
> newer version again soon.


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




Re: initrd -- what exactly is it?

2003-02-01 Thread Matt Price
I just want to thank everyone for all your explanations -- it's been
very helpful!  Moving on to newer problems now, but it's always great
to have things explained to you!
matt



On Fri, Jan 31, 2003 at 05:34:59PM -0600, Shyamal Prasad wrote:
>     "Matt" == Matt Price <[EMAIL PROTECTED]> writes:
> 
> Matt> hi there, can someone help me figure out what exactly initrd
> Matt> is, and why kernels use it?  I have looked through the docs,
> Matt> and I understand that it's thefile used for an initial
> Matt> ramdisk in some cases, but I don't understand why it would
> Matt> be used in some cases and not in others.  So for inst ance,
> Matt> the demudi kernel I just installed seems to demand the use
> Matt> of initrd, and I take it GRUB needs an anitrd argument to
> Matt> load the kernel.  But why don't my own self-compiled kernels
> Matt> require an initrd argument at boot (nor have an initrd file
> Matt> anywhere in /boot, as far as I can tell)?
> 
> I'm not expert on this, but here goes anyway: the initrd image is,
> like you point out, a ramdisk image that common Linux bootloaders
> (lilo, grub, ) can load off a wide variety of file systems.
> 
> There is no real need to use initrd for personal use. If you know
> exactly what you need in your kernel, just build it in. (well,
> personally, I never build a kernel unless my hardware requires it, the
> pre-packaged Debian kernels are wonderful bits of art :-)
> 
> Initrd gets to be very useful when you try to build a kernel that will
> be used in a wide variety of environments. You don't want to build
> everything into the kernel, but at the same time you are not sure what
> might be required to boot a system up and find the rest of the system.
> 
> In that case you build a small kernel with what you know everyone will
> absolutely need. Then you throw a lot of stuff that will satisfy a
> large variety of systems into the intird image. The initrd ram disk is
> used to bootstrap the kernel: basically you boot the kernel, mout the
> initrd image, which pokes around and loads modules it figures that
> specific system needs to find the rest of the hardware (e.g. it needs
> ext3 or rieserfs file system support for the root partition or some
> such thing), then mounts the root file system and goes on with the
> usual initialization.
> 
> The advantage is of this approach is, for example, that if you don't
> use ext3 you will not find ext3 in your memory. But if you use ext3
> you can still boot the system even though ext3 is not built into the
> kernel (because it is in the initrd image).
> 
> You can use 'mount -t cramfs -o loop /mnt intrd.img.file.path' to look
> into an initrd image. You will find it quite instructive I'm sure.
> 
> Cheers!
> Shyamal
> 
> 
> -- 
> 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: twiki installation

2003-02-02 Thread Matt Price
do you run woody?  moin wanted to install a huge number of upgrades,
including (I think) a new gcc...  I was scared to do it.
matt
On Sat, Feb 01, 2003 at 07:36:18PM -0600, Ryan Nowakowski wrote:
> I had some problems setting up twiki for Debian.  I switched to moin
> instead.
> 
> - Ryan
> 
> On Fri, Jan 31, 2003 at 08:26:23PM -0500, Matt Price wrote:
> > Anyone out there use twiki?  how do you do the initial configuration??
> > (like, setting the webmaster's password, etc)
> > doesn't seem to be indicated in /usr/share/doc/twiki, and I didn't
> > notice it in the debconf setup.  
> > 
> > thx for the help...
> > matt
> > 
> > 
> > -- 
> > 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]


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




kernel patches kill usb?

2003-02-03 Thread Matt Price
hi everyone,

I'm trying to install demudi on my woody amd k7 box, but in order to do so I have to 
re-roll
my kernel, and it's giving my trouble.  here's the situation:

the demudi kernel is patched with: Posix capability; low-latency; and
acpi.
I need: full support for nvidia graphics; and usb input support (no
serial or ps/2 ports on my box)

so, I reinstalled the 21.4.18 source, the nvidia-kernel-src and
nvidia-glx-src packages (I had to install nvidia once before).  Then I
installed kernel-patch-demudi, which in effect installs low-latency,
"capability", and acpi patches.

then I copied my old config file to /usr/src/linux/.config (after
linking linux to kernel-source-2.4.18, of ocurse), and ran make
menuconfig.  The only settings I changed had to do with acpi power
management (I turned it on) and latency control (turned it on too).

then I followed the instructions for nvidia support (involves building
and installing two packages)

then I made a new grub entry in menu.lst and rebootead.  
After a couple of screwups, I got the system to boot and start X
(Yay!).  But for some reason USB is broken.  

So, question:  does anyone know if any of these patches has knwon
incompatibilities with usb support, or if they introduce new
mouse/keyboard/usb options within config?  If so, does anyone know
what I shou
ld do?  I've looked through the options, and it seems to me that
everything is checked about right... but I can't be 100l% sure.  

Another question:  can modconf or modprobe change the de1fault status
of a module for a kernel that _isn't currently running_?  I was
wondering whether the problem might be that the necessary modules
aren't loading for some reason, but I 3don't know how I would fix
that.  


thanks as usual!!!
matt


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




Re: Upgrading the kernel package from 2.4.18 to 2.4.20 on Woody

2003-02-03 Thread Matt Price
I donm't think the necessary packages are on the cds and such (though
I haven't checked).  But I don't see why you don't just build up a
tiny base system with the floppy-based kernel, get apt and your
network working, and then compile a kernel "the debian way" as was
suggested earlier.  I think that ought to work.  There are a couple of
great guides to kernel-building on the web.  Here are two of them:

http://myrddin.org/howto/debian-kernel-recompile.html
http://www.debian.org/doc/manuals/reference/ch-kernel.en.html

the second is from the awesome Debian Reference Manual, whcih is
fabulous.  

I've been rebuilding kernels too, and I'm really not very competent,
but with the assistance of these folks I've been managing.  

hope this helps.  good luck,
matt

On Tue, 
Feb 04, 2003 at 02:48:30AM +0100, Anand Buddhdev wrote:
> On Mon, Feb 03, 2003 at 05:25:40PM -0800, [EMAIL PROTECTED] wrote:
> 
> > > Earlier, I had problems installing Debian on my system because of the
> > > Realtek 8139 ethernet device on my desktop's motherboard. I got round
> > > that problem by building my own boot floppy with a newer kernel on
> > > it.
> > 
> > Why not just get the sources and use kernel-package to make your own
> > custom kernel package?
> 
> And is this script/program available in the initial base system that is
> installed from the network? I want to start with just the base debs,
> upgrade my kernel so that my network works, and then install all the
> other packages.
> 
> -- 
> Anand Buddhdev
> http://anand.org
> 
> 
> -- 
> 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]




what are kernel-headers?

2003-02-03 Thread Matt Price
this is only sort of in the same thread as my last post.  I've learned
from another list that I can supposedly recompile the relevant nvidia
packages against "the kernel headers" instead of the kernel source.
Now, I've been trying for a while to figure out what 'kernel headers'
are.  none of my linux books really says much about it, nor do I
understand what I've read so far on the linux documentation project.
What kind of informmation do the headers have?  and how would I use
them to compile a module package?

thank you thank you thank you!
matt


On Mon, Feb 03, 2003 at 05:53:50PM -0500, Matt Price wrote:
> hi everyone,
> 
> I'm trying to install demudi on my woody amd k7 box, but in order to do so I have to 
>re-roll
> my kernel, and it's giving my trouble.  here's the situation:
> 
> the demudi kernel is patched with: Posix capability; low-latency; and
> acpi.
> I need: full support for nvidia graphics; and usb input support (no
> serial or ps/2 ports on my box)
> 
> so, I reinstalled the 21.4.18 source, the nvidia-kernel-src and
> nvidia-glx-src packages (I had to install nvidia once before).  Then I
> installed kernel-patch-demudi, which in effect installs low-latency,
> "capability", and acpi patches.
> 
> then I copied my old config file to /usr/src/linux/.config (after
> linking linux to kernel-source-2.4.18, of ocurse), and ran make
> menuconfig.  The only settings I changed had to do with acpi power
> management (I turned it on) and latency control (turned it on too).
> 
> then I followed the instructions for nvidia support (involves building
> and installing two packages)
> 
> then I made a new grub entry in menu.lst and rebootead.  
> After a couple of screwups, I got the system to boot and start X
> (Yay!).  But for some reason USB is broken.  
> 
> So, question:  does anyone know if any of these patches has knwon
> incompatibilities with usb support, or if they introduce new
> mouse/keyboard/usb options within config?  If so, does anyone know
> what I shou
> ld do?  I've looked through the options, and it seems to me that
> everything is checked about right... but I can't be 100l% sure.  
> 
> Another question:  can modconf or modprobe change the de1fault status
> of a module for a kernel that _isn't currently running_?  I was
> wondering whether the problem might be that the necessary modules
> aren't loading for some reason, but I 3don't know how I would fix
> that.  
> 
> 
> thanks as usual!!!
> matt
> 
> 
> -- 
> 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]




did lilo rewrite my boot sector?

2003-02-07 Thread Matt Price
Hi,

 I was installing a new kernel and accidentally pressed "return" when
 asked if I wanted to have lilo rewrite the boot sector of my disk.
 The install failed, and I want to figure out whether the boot sector
 was ACTUALLY rewritten.  I use GRUB, so I'd really rather not have to
 deal with setting up the boot loader all over again...

Is there a way to look at the boot record and see when it was last
modified, or what its contents are?  

thanks,
matt


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




gnome 2 on woody

2003-02-08 Thread Matt Price
Hi everyone,

I've seen a lot of talk here lately about installing kde 3.1 on
woody.  How about gnome 2 or 2.2?  Any tips about what to delete from
the gnome installation, and what isl ikely to break? 


thanks,
matt


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




startx as user

2003-02-09 Thread Matt Price
Im having some trouble with kde, but still depend on my sup as a daily
work environment.  So I'd like to be able to ru kde on one display
(:0) and afterstep on a second (1).  

I tried this:

startx /usr/bin/afterstep -- :1
and got the message "can't open .Xauthority"
so I tried writing a tiny script:


#!/bin/bash

X -auth .Xauthority1 :1
/usr/bin/afterstep

and got the message: 
X: user not authorized to run the X server, aborting.
AfterStep: can't open display

as root or with sudo either method works.  
Any advice on a safer way to start a second x session?

thanks as usual,
matt


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




xserver in chroot with nvidia?

2003-02-10 Thread Matt Price
hi everyone,

I run woody, and have  recently followed Colin's excellent
instructions on howw to set up a sid chroot directory
(http://people.debian.org/~walters/chroot.html).  I'm trying to get X
to start up from chroot, and keep getting a "no screens found" error,
accompanied by "can't load module "nvidia" -- module not found").
These are errors I remember from my initial installation of debian,
before I installed the nvidia drivers (which, unfortunately, I requrie
in order to make my graphics card work at all). 

At present I have no kernel installed in the chroot directory.  I had
thought that, since I really only wnat to chroot into it, I would
always be using the kernel from my main installation; and that
therefore the location of modules, etc., would still make sense to the
chroot installation.

Now that appears not to be the case.  Does anyone know how to fix
this?  For instance, can I somehow tell chroot that it needs to look
back in the main installation for modules? or wouldi t help if I
installed the kernel form my main installation in the chroot/boot
directory, and recompiled the nvidia modules?  

anyway, thanks for the help.  
matt


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




Re: xserver in chroot with nvidia?

2003-02-12 Thread Matt Price
> Presumably you can still see it in a 'lsmod' from within the chroot?
> Have you created the /dev/nv* devices?  Do they have reasonable
> permissions?

argh! that's it -- I didn't create the devices.  But now I don't know
how to go further.  Ordinarily I would follow some set of instructions
to mknod the file using particular major and minor node numbers; but I
don't have those numbers recorded anywhere.  Is there a way to fnd out
what the mode numbers of an existing device file are (then I could
just look them up and duplicate the file...).
Alternatively, is there anything wrong with just copying the /dev
directory on my main installation over to my chroot?  Or better, just
making /chroot/dev a symbolic link to the main /dev directory?  If
that's an acceptable solution, it would certainly be the one I
prefer.  I imagine this would help me with ALSA as well, which I
haven't been able to interact with either.  

matt

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



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




CUPS errors

2003-02-14 Thread Matt Price
Hi everyone,

after some misguided, uninformed apt-getting I broke my CUPS system
and couldn't figure out what was wrong.  So I decided to remove all
CCUPS packages (cupsys, cupsys-client, and a couple of tohers) as well
as the foomatic packages, reinstall them, and try again.  

Now CUPS is reinstalled, but I'm having a terrible time getting my
printer reinstalled.  Here's the situation:

even though I ran apt-get remove --purge, when I reinstalled CUPS my
old printer ocnfiguration files were still there.  So to try and get
rtd of htem, I erased /etc/cupsys/printers.conf.  This was not
sufficient; cups still seems to think that my old printers are there,
andwhen I try to removethem I get 
"ckient-error-gone" in the web interface (I can't find these errors
in the error log, or I'd give you a afuller reading from the log)

SAo I figured I'd just try to add a new pritner description.  When I
do this, I get 
"client-error-not-authorized".  

I tried fiddng around with the authorizations in cupsd.ocnf, but this
hasn't helped yet.  

I should add that I had some trouble setting my printer up when I first
installed it (I have a Lexmark z53 on USB), but I kept careful notes
about how to fix the problem (after someone helped me out on this
list!) and have followed them scrupulously. 

Can anyone help me?  I can't find a description of these
"client-errors" anywhere inth e CUPS docs!  

thanks,

matt


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




Re: CUPS errors

2003-02-14 Thread Matt Price
Fixed it by upgrading to testing (CUPS 1.1.15). (in case anyone has
same problem).

see new thread for new problems!
matt


On Fri, Feb 14, 2003 at 12:54:37PM -0500, Matt Price wrote:
> Hi everyone,
> 
> after some misguided, uninformed apt-getting I broke my CUPS system
> and couldn't figure out what was wrong.  So I decided to remove all
> CCUPS packages (cupsys, cupsys-client, and a couple of tohers) as well
> as the foomatic packages, reinstall them, and try again.  
> 
> Now CUPS is reinstalled, but I'm having a terrible time getting my
> printer reinstalled.  Here's the situation:
> 
> even though I ran apt-get remove --purge, when I reinstalled CUPS my
> old printer ocnfiguration files were still there.  So to try and get
> rtd of htem, I erased /etc/cupsys/printers.conf.  This was not
> sufficient; cups still seems to think that my old printers are there,
> andwhen I try to removethem I get 
> "ckient-error-gone" in the web interface (I can't find these errors
> in the error log, or I'd give you a afuller reading from the log)
> 
> SAo I figured I'd just try to add a new pritner description.  When I
> do this, I get 
> "client-error-not-authorized".  
> 
> I tried fiddng around with the authorizations in cupsd.ocnf, but this
> hasn't helped yet.  
> 
> I should add that I had some trouble setting my printer up when I first
> installed it (I have a Lexmark z53 on USB), but I kept careful notes
> about how to fix the problem (after someone helped me out on this
> list!) and have followed them scrupulously. 
> 
> Can anyone help me?  I can't find a description of these
> "client-errors" anywhere inth e CUPS docs!  
> 
> thanks,
> 
> matt
> 
> 
> -- 
> 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]




my CUPS RUnneth Over!!!

2003-02-14 Thread Matt Price
Hi everyone,  

I saw on the web that CUPS stands for Can't Usually Print Stuff.
That describs my current situation perfectly.  Here's the situation:

1) CUPS 1.1.15 (testing) on a mostly-woody box
2) Lexmark z53 on USB
3) /usr/share/cups/model/Lexmark/Lexmark-Z53-lexmarkinkjet-ppd.ppd as
my ppd file

Once upon a time, CUPS worked for me.  Then I tasted of the fruit of
knowledge, the Lord grew angry, and cast me out of the Garden.  Now I
struggle to find my way in. 

- printing broke somehow
- I uninstalled everything (apt-get remove --purge)
- I reinstalled everything

-printing was broke worse (couldn't use the web interface at all)

- so I upgraded to testing, and now the web interface works

But now I'm in the same predicament, namely, I can't print.  

The only thing I can think to do here is to enclose a little bit of
the error log.  I suspect the problem is in the interaction of CUPS
with other parts of the print system (like ghostview?) but I can't
figure out where exactly.  

So, I've enclosed my printers.conf and and some of the error_log.  Can
anyone help me???


First, the Printers.conf:


Info Lexmark Z53
DeviceURI test:/dev/null
State Idle
Accepting Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0


--> this seems fine -- test:/dev/null is what I used to have to have
in that line, always worked before, though I never understood why
I needed it.  Anyway, changing it back to usb:/dev/usb/lp0 just
adds one more error.

Now, the error_log.  I've edited it somewhat, but left a lot in since
I don't know what's important.  The errors start in the last section,
which I've marked.  I hope someone cna figure out what's going on!!!  

thanks, 
matt

here's the log:

I [14/Feb/2003:23:24:33 -0500] Listening to 0:631
D [14/Feb/2003:23:24:33 -0500] AddLocation: added location '/'
D [14/Feb/2003:23:24:33 -0500] AllowIP: / allow /
D [14/Feb/2003:23:24:33 -0500] AllowIP: / allow 7f01/
D [14/Feb/2003:23:24:33 -0500] AddLocation: added location '/admin'
D [14/Feb/2003:23:24:33 -0500] AllowIP: /admin allow /
D [14/Feb/2003:23:24:33 -0500] AllowIP: /admin allow 7f01/
D [14/Feb/2003:23:24:33 -0500] ReadConfiguration()
ConfigurationFile="/etc/cups/cupsd.conf"
I [14/Feb/2003:23:24:33 -0500] Configured for up to 100 clients.
I [14/Feb/2003:23:24:33 -0500] LoadPPDs: Read "/etc/cups/ppds.dat",
926 PPDs...
I [14/Feb/2003:23:24:34 -0500] LoadPPDs: No new or changed PPDs...
D [14/Feb/2003:23:24:34 -0500] LoadDevices: Added device "ipp"...

-- SNIP --
D [14/Feb/2003:23:24:34 -0500] LoadDevices: Added device
"usb:/dev/usb/lp0"...
D [14/Feb/2003:23:24:34 -0500] LoadDevices: Added device
"usb:/dev/usb/lp1"...
D [14/Feb/2003:23:24:34 -0500] LoadDevices: Added device
"usb:/dev/usb/lp2"...
D [14/Feb/2003:23:24:34 -0500] LoadDevices: Added device
"usb:/dev/usb/lp3"...
D [14/Feb/2003:23:24:34 -0500] LoadDevices: Added device
"usb:/dev/usb/lp4"...

-- SNIP --

D [14/Feb/2003:23:24:34 -0500] StartListening: NumListeners=1
D [14/Feb/2003:23:24:34 -0500] StartListening: address=
port=631
D [14/Feb/2003:23:24:34 -0500] ResumeListening: setting input bits...
D [14/Feb/2003:23:24:34 -0500] LoadAllJobs: Scanning
/var/spool/cups...
D [14/Feb/2003:23:24:34 -0500] LoadAllJobs: Loading attributes for job
1...
D [14/Feb/2003:23:24:34 -0500] LoadAllJobs: Loading attributes for job
2...
D [14/Feb/2003:23:24:34 -0500] LoadAllJobs: Loading attributes for job
3...
vD [14/Feb/2003:23:24:42 -0500] AcceptClient() 3 from
67.69.252.21:631.
D [14/Feb/2003:23:24:42 -0500] ReadClient() 3 GET /printers HTTP/1.1
D [14/Feb/2003:23:24:42 -0500] CGI /usr/lib/cups/cgi-bin/printers.cgi
started - PID = 23296
I [14/Feb/2003:23:24:42 -0500] Started
"/usr/lib/cups/cgi-bin/printers.cgi" (pid=23296)
D [14/Feb/2003:23:24:42 -0500] SendCommand() 3 file=5
D [14/Feb/2003:23:24:42 -0500] AcceptClient() 6 from 127.0.0.1:631.
D [14/Feb/2003:23:24:42 -0500] ReadClient() 6 POST / HTTP/1.1
D [14/Feb/2003:23:24:42 -0500] ReadClient() 6 POST / HTTP/1.1
D [14/Feb/2003:23:24:42 -0500] CloseClient() 6
D [14/Feb/2003:23:24:43 -0500] CloseClient() 3
D [14/Feb/2003:23:24:55 -0500] AcceptClient() 3 from 67.69.252.21:631.
D [14/Feb/2003:23:24:55 -0500] ReadClient() 3 GET
/printers/commandlinez53?op=print-test-page HTTP/1.1
D [14/Feb/2003:23:24:55 -0500] CGI /usr/lib/cups/cgi-bin/printers.cgi
started - PID = 23300
I [14/Feb/2003:23:24:55 -0500] Started
"/usr/lib/cups/cgi-bin/printers.cgi" (pid=23300)
D [14/Feb/2003:23:24:55 -0500] SendCommand() 3 file=6
D [14/Feb/2003:23:24:55 -0500] AcceptClient() 5 from 127.0.0.1:631.
D [14/Feb/2003:23:24:55 -0500] ReadClient() 5 POST
/printers/commandlinez53 HTTP/1.1
D [14/Feb/2003:23:24:55 -0500] print_job: request file type is
application/postscript.
D [14/Feb/2003:23:24:55 -0500] check_quotas: requesting-user-name =
'root'
D [14/Feb/2003:23:24:55 -0500] print_job: requesting-user-name =
'root'
D [14/Feb/2003:23:24:55 -0500] Adding default job-sheets values
"none,non

(OT?) general help understanding printing system

2003-02-16 Thread Matt Price
Hi everyone,

As a result of my printer breaking down catastrophically, I have come
to realize that I have precious little iedea of how printing works,
how CUPS is different from other systems, etc.  So, first of all, this
is a question: can anyone recommend a relatively approachable guide to
the subject?  

Second, I thought I'd ask whether the general notion I have of the
print process is correct.  I reckon it's something like this, at least
with CUPS, which I use (or rather, don't use, isnce for the past 4
months my  printer has steadfastly refused to print:

- the printer communicates its existence to the kernel, which assigns
  the printer to a device file.
- The printing system recognizes, or is told about, the printer, and
  interacts with it through a 'driver'
- when a print command is issued by the user (either via the gui or
  the command line) this command is passed to the print system, which
  assigns the job to a printer after passing it through a set of
  filters, at least one of which is probably ghostscript, which
  converts to (or is it from?) postscript.  

Is this right?  And I guess what I really want to know is:  is CUPS
really my best bet for printing, given that I've been having such
difficulty with it at the moment?  I just imagine there must be a
simpler way: some way of passing the printjob to PostScript for
parsing, then to a printer-specific driver, then bakc out, without
bothering with CUPS.  I say this because, while I love the CUPS in
terface, I just can't get the damned thing to work for me right now!!
I figure if I could work at a (very slightly!) lower level, I might be
able to figure out where the problem is -- as it stands, stuff just
doesn't ocme out of my printer right now!!  I's pretty frustrating.  

anyway...  thanks as usual,
matt


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




ssh: connection reset error & where's the error log?

2003-09-09 Thread Matt Price
Hello everyone,

largely due to everyone's help I now have nfs over ssh up and
runningbetween my home network (two computers behind an SMC Barricade
router) and my work ((a computer which sits directly on the Internet). Recently two 
things have been happening>

- the connection has slowed dramatically (ls on a largish directory
takes sometimes about a minute to respond)

- the connection keeps getting broken, usually with a "reset by peer"
error message.  I've played around with KeepAlive and
ProtocolKeepAlives in the ssh_config and sshd_config files, but
haven't had any luck fixing the problem (I don't quite understand what
the keepalive signals do -- do they tell the other computer not to
break the connection? or do they let the signal sender know that now
would be a good time to break it?  The language in the man pages seems to suggest 
both...)

Anyway, mostly I want to fix this problem, but I also would like to
set up ssh so that error messages are logged somewhere that I can
check regularly.  Right now ssh doesn"t seem to put messages anywhere,
while ssh writes them directly to stderr.  I couldn't find a "logfile"
config option in either of the _config files.  Am I missing something?

anyway, thanks,
matt


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



mozilla & mozilla-firebird won't start separately

2003-09-11 Thread Matt Price
after recent upgrades mozilla and mozilla-firebird seem unable to
start up separately -- if one is already running, invoking the other
just opens a new window in the existing session of the first.  I seem
to recall that this didn't happen with earlier versions.  Anyone know
what's changed?

matt


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



wierd printing problem

2003-09-12 Thread Matt Price
hi,

I have a usb printer (Brother HL-1440) at home which I share between
my laptop (HP Omnibook 4100) and my desktop (Apple Bue-and-White G3).
Since I usually only have one computer on at a time, the printer isn't
networked; instead I simply unplug it from one computer and throw it
into the other when I need it.

On the laptop (running debian sarge/sid) the printer works perfectly.
When I boot into MacOS 9.2 on the desktop, the printer once again
works perfectly.  But using debian Sid(PowerPC) on the desktop, I get
strange and unpredictable errors.  3 or 4 pages may print perfectly,
followed by half a page, a line or two of non-alphanumeric characters
(mostly smiley faces and playing-card suits like hearts, clubs,
spades...), then a page break, the next section of the page, more
garbage, and then maybe the rest of the page.  In some cases I can
pretty reliably count on particular pages to print poorly; in others
the errors are non-reproducible.

I've checked all the USB connections and they seem to work pretty
well; and as I said, the printer works perfectly when I boot into
MacOS. Using OpenOffice, I compared the .ps files prduced when
printing one particularly troublesome file.  The file produced on my
laptop (which works perfectly) was identical to the one produced on my
desktop.  Then I compared the /var/log/cups/error_log's on the two
machines -- the output was nearly identical, with slight version
differences in foomatic-rip and a couple of minor configuration
differences in the ppd's; I apt-got and edited the ppd's on the
desktop, but still to no avail.

Where should I look next?  I don't know how else to diagnose this issue.  

thanks as always,

matt


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



why won't 2.6.0-test4 compile\

2003-09-18 Thread Matt Price
hi everyone,

haven't been able to get kerel 2.6.0-test4 to compile on my mixed
sid/sarge machine.  I have gcc 2.95, 3.2, and 3.3 installed, and have
tried setting HOSTCC to gcc-2.95 and gcc-3.2, but even in the
best-case scenario I still get massive compiler errors.  In the best
case scenarios, using make-kpkg,  this happens only after the bzImage has been 
compiled,
usually late in the module-compiling process.  Module-init-tools is
installed, the compiler versions are uptodate.  Before I mail everyone the long and 
tiresome error messages, 

- is there something crucial that I'm missing?

- Is it sufficient to set HOSTCC, or do I need to modify the Makefile
in some other way (or, perhaps better, set the CC variables from the
shell)?

compiling the non-debian way, I'm able to make the bzImage, but nothing else.  

Anyway, thanks, 

matt


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



Re: why won't 2.6.0-test4 compile?

2003-09-19 Thread Matt Price
On Fri, Sep 19, 2003 at 02:46:52PM +0900, Nick Hastings wrote:
> > - is there something crucial that I'm missing?
> 
> Yes. It is beta code. Some of it is buggy and _won't_ compile (at
> least this was the case with many of the scsi drivers in test1). Only
> try to compile the drivers/modules that you actually need.

Thanks for that bit of advice -- it forces me ot make cleaner kernels in any case, I 
guess!  After taking out most everything, I'm able to make-kpkg with either gcc-2.95 
or gcc-3.2!

> 
> > - Is it sufficient to set HOSTCC, or do I need to modify the Makefile
> > in some other way (or, perhaps better, set the CC variables from the
> > shell)?
> 
> I set the compiler by putting the following in my .kernel-pkg.conf
> CC:=gcc-3.2

great, thanks for that tip!


matt


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



Re: mozilla & mozilla-firebird won't start separately

2003-09-19 Thread Matt Price
> TMK, this has always happened.  However as I've stated (on this list)
> before, if you invoke the second with a "-" option it will launch
> seperately.
> 
>$ mozilla & # launches and backgrounds mozilla
>$ MozillaFirebird - & # launches and backgrounds firebird
> 

`Thanks Jamie, and thanks for taking so long to get back to you.  For
some reason I hadn't had this issue before, but maybe KDe set up
launcher buttons using the "-" switch.  Anyway thanks, now I
understand.

matt


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



Re: number-up=2, openoffice, and cups

2003-09-19 Thread Matt Price
On Sat, Sep 06, 2003 at 08:39:27AM +0100, Karsten M. Self wrote:
> on Sat, Sep 06, 2003 at 02:41:28AM -0400, Matt Price ([EMAIL PROTECTED]) wrote:
> > one more printing problem with cups before I switch to lpr
> > (hopefully)...  I'm having trouble printing multiple pages/printed
> > page using openoffice.  I'm running sid/i386 using CUPS.  Normal
> > printing (1 page/page) works fine with OOo and with other programs.  2
> > pages/page works fine from the command line (haven't tested it with
> > other programs) with the command:
> > 
> > lp -o number-up=2 FILE
> > 
> > However, the same command fails when executed from OOo.  
> > 
> > any clues?
> 
> I install mpage or a2ps, and use it as a filter on the 'lpr' command,
> using CUPS for printer support:
> 
> mpage -2 | lpr
> 
> ...as a print command works in pretty much all apps.

THAnks Karsten -- actually this didn't work in OOo for me either, but
I did find a rather clumsy user interface from within OOo that allws
multi-page printing -- it's a button on a toolbar in "page preview"
view.

I wonder if maybe OOo does something funny with its print jobs that
screws up the multipage printing somehow...

best,
mp


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



Re: Moz & Firebird

2003-09-19 Thread Matt Price
On Fri, Sep 19, 2003 at 07:22:50PM -0400, Geordie Birch wrote:
> Oki DZ <[EMAIL PROTECTED]> [18 Sep 2003 14:09 +0700]:
> > Have you stumbled upon the text fields that wouldn't accept any input? 
> > (ie: no keystroke accepted, but the mouse works).
> > It happens to me, on Mozilla snapshot and also the recent Firebird.
> 
>   I get this with the unstable package but not at all with the
> daily builds.

any issues around installing the dailies and the debian packages
side-by-side?  I also get keystroke failure with mozilla-snapshot and
mozilla-firebird from the .deb's, and sometimes I lose the ability to
left-click after left-clicking in mozilla (especially the google
search box).

matt



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



[OT]: launch a file from mc?

2003-09-29 Thread Matt Price
anyone know if it's possible to launch an external program from mc?
For instance, I'd like to get mc to launch openoffice when I
double-lick or press  on a .sxw file.  Is there a way to do this?  

thx,
matt


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



Re: [OT]: launch a file from mc?

2003-09-29 Thread Matt Price
problem solved -- I had been editing a local .mc/mc.ext file, but had
failed to remove the .mc/bindings link ot the default bindings.  After
several attempts failed, I thought I must have badly misinterpreted
the man pages, and that perhaps mc.ext did something else
entirely... anyway, it's all ok now, thanks.  mc is so FAST!

matt




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



Re: modconf under 2.6.0-testn

2003-10-02 Thread Matt Price
On Wed, Oct 01, 2003 at 05:55:46PM +0200, Bjoern Paetzel wrote:
> Nick Hastings wrote:
> 
> >>I have been unable to get modconf to work under 2.6.0-test2 or -test4.
> >>The program runs, but shows only the "exit" option, with no modules
> >>displayed for selecting. Has anyone else seen this sort of problem,and
> >>if, any suggestions?
> > 
> > 
> > Modconf doesn't work with kernels > 2.5. Just use modprobe.
> 
> There is a patch for modconf to work with Linux 2.6.0 available at:
> 
> http://kolrabi.de/files/modconf-linux2.6.0-patch.gz

so glad to see this -- I'm addicted to modconf.  am I right that to use this patch I 
must do the following:

gunzip modconf-linux2.6.0-patch
apt-get source modconf 
cd /path/to/source/
patch sourcedir modconf-linux2.6.0-patch
dpkg -b sourcedir

> 
> HTH :)
> 
> 
> -- 
> 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]



repairing unusable console keyboard

2003-10-03 Thread Matt Price
Hi folks,

having just recently figured out xmodmap and installed a .Xmodmap
file, I wanted to see if I could make the console work the same way.
Reading the loadkeys man page, I saw that the file syntax was nearly
the same for loadkeys as for xmodmap, so I just tried running loadkeys
.Xmodmap...  not realizing that the keycodes are different for the
console and x keyboards!  doh!

So now my console is completely unsuable (e.g., no backspace), and I
can't reset it.  Short of rebooting, is there something I can do from
an xsession to fix the console?

Also, assuming I get this fixed and figure out the keycodes for
loadkeys, anyone now how I can produce the effect of these lines from
my .Xmodmap using loadkeys:

keycode 115 = Mode_switch Multi_key
keycode 116 = Mode_switch Multi_key

I want to turn the 'logo' key on my apple keyboard into a modifier key
so I can access the @ symbol on my apple German keyboard (the pre-made
keyboards don't seem to do this properly).  

Also, is there a straightforward wayto make simultaneous modifications
to the x keymap and th console keymap, so that the keyboard behaviour
is always identical in both environments?

thanks as always,

matt


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



help! bogofilter broken, flooded with spam

2003-10-03 Thread Matt Price
hey folks,

wasn't bpaying attention to disk usage and my /home directory filled
up due to the eormous number of swen mails I've been getting.
bogofilter was running when the directory filled up, and the database
got messed up so that I now get this error message whenever it runs:

[EMAIL PROTECTED]:~$ bogofilter -sNM -I Mail/spam-bogofilter
bogofilter: (db) db_get_dbvalue( '.MSG_COUNT' ), err: -30982, DB_RUNRECOVERY: Fatal 
error, run database recovery

anyone know how to 'run database recovery'?  

meanwhile, I'm drowning in spam!

matt


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



SOLVED: help! bogofilter broken, flooded with spam

2003-10-03 Thread Matt Price
On Fri, Oct 03, 2003 at 08:27:24AM -0400, Matt Price wrote:
> hey folks,
> 
> wasn't bpaying attention to disk usage and my /home directory filled
> up due to the eormous number of swen mails I've been getting.
> bogofilter was running when the directory filled up, and the database
> got messed up so that I now get this error message whenever it runs:
> 
> [EMAIL PROTECTED]:~$ bogofilter -sNM -I Mail/spam-bogofilter
> bogofilter: (db) db_get_dbvalue( '.MSG_COUNT' ), err: -30982, DB_RUNRECOVERY: Fatal 
> error, run database recovery
> 
> anyone know how to 'run database recovery'?  
> 
> meanwhile, I'm drowning in spam!

sorry
y, answer was in the bogofilter faq -- 

db_verify wordlist.db  ... etc.

problem was, i had to run db4.1_verify instead

m

> 
> matt
> 
> 
> -- 
> 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]



simple shell scripting question

2002-10-07 Thread Matt Price

hi everyone,

just trying to learn how to do shell scription, assigned myself a
simple task:

I have a webstie which I manage both from home (mac) and work
(woody).  I use sitecopy at work but my access is only via ftp, so
sitecopy can't identify newer files on the website.  So after I
upsdate the site form home,  I usually log in to my work ocmputer and
immediately ftp the new site files over.  This can be slightly
tedious, and I would like to be able to do this in just one command.
so I'd like to be able to do this:

ftp -i origin.chass.utoronto.ca

cd public_html
mget * */* */*/*
quit



unfortunately the last three commands have to be entered on the ftp
command line, far as I can tell.  so: is there a way to pass these
instructions on to ftp from a shell script?  I imagine this must be a
very ocmmon question...  

thanks for your help, sorry if this is a little OT.  

matt


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




Re: simple shell scripting question

2002-10-07 Thread Matt Price

Michael,
thanks for the ref to ncftpput.  I'l\l look into that and lftp, as
someone else suggested.  But re: the here script:  does this work if I
write it ina simple shell script?  That is do I write a script thus:
cd ~!/website
ftp -i origin.chass.utoronto.ca< On Mon, Oct 07, 2002 at 05:44:53PM -0400, Matt Price wrote:
> > command line, far as I can tell.  so: is there a way to pass these
> > instructions on to ftp from a shell script?  I imagine this must be a
> 
> The first thing I'd suggest is using one of the script-oriented FTP
> tools that was designed to work this way, like "ncftpput". But to answer
> your general question, there's a shell construct called a "here script".
> It works like this:
> 
> command_needing_input < input 1
> input 2
> ..
> EOF
> 
> You can actually do this at the command line if you want to try it out.
> 
> -- 
> Michael Heironimus
> 
> 
> -- 
> 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]




locales

2002-10-07 Thread Matt Price

Hi,

can someone explain to me what locales are for and how to set them?
I'm having some problems in openoffice which seem to be related to
locale issues...  there's a man entry for "setlocale", which I would
have thought to have been the right command, but debian doesn't find
the command when I lok for it (even as sudo).  in any case, I don't
really understnad the locale thing and would love to know more about
what its function is supposed to be.  thaqnksm uch,
matt


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




odbc with debian woody/postgres

2002-10-08 Thread Matt Price

Hi there,

I'm trying to get odbc to work on my machine.  Here's the setup:
Debian Woody with Postgresql 7.2; unixodbc and odbc-postgresql also
installed.  I followed the directionsi n the 'Debian HOWTO' that comes
with the odbc-postgresql package, so my odbcinit.ini looks like this:

[PostgreSQL]
Description = PostgreSQL ODBC driver for Linux and Windows
Driver  = /usr/lib/postgresql/lib/libodbcpsql.so
Setup   = /usr/lib/odbc/libodbcpsqlS.so
Debug   = 0
CommLog = 1
FileUsage   = 1


My odbc.ini currently looks like this (slightly modified from the
original):

  
[PostgreSQL]
Description = PostgreSQL template1
Driver  = PostgreSQL
Trace   = No
TraceFile   = /tmp/odbc.log
Database= template1
Servername  = localhost
UserName= postgres
Password= postgres
Port= 5432
Protocol= 6.4
ReadOnly= Yes
RowVersioning   = No
ShowSystemTables= No
ShowOidColumn   = No
FakeOidIndex= No
ConnSettings=


and the relevant lines of pg_hba.conf are the following: 
localall   trust
host all 127.0.0.1 255.0.0.0   ident
sameuser
host all 0.0.0.0   0.0.0.0 reject


With this setup I can't seem to get odbc towork.  I should note that
psql works fine, and that odbc works fine with mysql (I've left the
mysql bits of the odbc*.ini files out) -- in fact, it worked right out
of the box, which was kind of amazing given how hard a time I'm having
with postgresql).  using isql I get the following error:  
---
isql Postgresql -v
[unixODBC]FATAL 1:  IDENT authentication failed for user "postgres"

[ISQL]ERROR: Could not SQLConnect
-
I'm doing all this directly from the shell, so I don't understand why
Postgres is using the 'ident' verification method.  Can anyone give me
any pointers?  Again, I've had no problem iwth psql or the mysql/odbc
combination, so I assume something is wrongwith my setup for
postgres.  Thanks,
Matt

ps:  assuming I get thisworking, how do I add other database names to
odbc.ini?  Do I need whole new sections (like
"[Postgresql/dbname]") or can I just add the dbnames to the Database
line of the file?  


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




Re: [GENERAL] odbc with debian woody/postgres

2002-10-09 Thread Matt Price

On Wed, Oct 09, 2002 at 08:56:49AM +0200, Michael Meskes wrote:
> On Wed, Oct 09, 2002 at 02:22:38AM -0400, Matt Price wrote:
> > localall   trust
> > host all 127.0.0.1 255.0.0.0   ident
> 
> Here you tell PostgreSQL to use ident.

hmm, ok, I'll take out that line -- though I would have thought
that, since I'm connecting from localhost, this wouldn't be an issue. 


> Sorry I don't fully understand that. You define one ODBC conenction for
> exactly one database, so what are you looking for?
> 

that's the reply I was looking for -- I didn't undersetand exactly how
 ODBC works.  

I can't for the life of me get postgresql to start and stop.  running 
/etc/init.d/postgresql stop gets me this: 

Stopping PostgreSQL database: postmaster
/etc/init.d/postgresql: start-stop-daemon: command not found

while running 
/usr/lib/postgresql/bin/pg_ctl-D /var/lib/postgres/data stop 
gives the following: 

pg_ctl: cannot find /var/lib/postgres/data/postmaster.pid
Is postmaster running?

I guess I'm missing something important, but it's not evident what
when I read the docs.  any help is appreciated!  thanks,
m


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




php not working

2002-10-15 Thread Matt Price

hey htere everyone,

trying to get php4 installed on my woody server and don't seem to have
it figured out right.  I've downloaded a package (SPIP) that runs on
php3; I have php4 installed; when I try to load page
(http://pc09.hist.utoronto.ca/~matt/spip/ecrire/index.php3) in my
browser, it always wants to download it, and if it opens the page, all
I see is the sourcecode.  Do I need to use php3 instead?  

thanks,
matt


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




Re: php not working (this message fixed it!!)

2002-10-17 Thread Matt Price


for me, it was just slightly more complicated -- instead of
uncommenting 

AddType application/x-httpd-php3 .php3

I just added .php3 o the php4 mime-types:
AddType application/x-httpd-php .php .php4 .php3 .phtml

and everything now seems to work fine.  I got this trick from a
friend's RedHat configuraiton file, by the way...  

thanks for al lthe help
m



On Wed, Oct 16, 2002 at 04:45:27PM -0400, Chip Rose wrote:
> 
> 
> On Wed, 16 Oct 2002, James Hughes wrote:
> 
> > On Wed, Oct 16, 2002 at 12:08:25PM +1000, Rob Weir wrote:
> > > On Tue, Oct 15, 2002 at 03:52:00PM -0400, Matt Price wrote:
> > > > hey htere everyone,
> > > >
> > > > trying to get php4 installed on my woody server and don't seem to have
> > > > it figured out right.  I've downloaded a package (SPIP) that runs on
> > > > php3; I have php4 installed; when I try to load page
> > > > (http://pc09.hist.utoronto.ca/~matt/spip/ecrire/index.php3) in my
> > > > browser, it always wants to download it, and if it opens the page, all
> > > > I see is the sourcecode.  Do I need to use php3 instead?
> > >
> > > I think you just need to edit your /etc/apache/httpd.conf file and
> > > uncomment this line:
> > > AddType application/x-httpd-php3 .php3
> >
> > Also, maybe try uncommenting this line:
> >
> >  LoadModule php4_module /usr/lib/apache/1.3/libphp4.so
> >
> > >
> > > -rob
> 
> Yahho!It worked for me - I had the same "wants to
> download it" situation - uncommenting the AddType wasn't good
> enough and I was really puzzling over it.  I was going to
> research a couple more days and then post a request on the
> mysql list, but after reading your message, uncommenting the LoadModule
> line did the trick.  THANKS!!!
>  - Chip Rose
> 
> 
> -- 
> 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]




locales and terminal

2002-10-23 Thread Matt Price
hi,

I've browsedsome recent posts but didn't see a direct answer, sorry if
I'm being repetitive.  

I've recently started geting emails in french and german that I need
to be able read.  And I'd like to be able to respond to them in french
and german as well...  

so I set LC_ALL=en_US.utf8 .

but this does not allow the display of the relevant accented
characters.  Instead, I get a variety of responses from different
programs -- emacs gives ?'s, cat gives funny hieroglyphics, and mutt
in the default pager gives what I take are numerical character codes,
eg \344 .  

so what's the problem?  do I need a different system font or
something?  I would have thought locales would take care of that...  

the other thing is, when I run dpkg-reconfigure locales, it doesn't
let me set the default locale.  The menu dialog comes up, but there
are no choices.  Could these things be related?  

I've been avoidingthis problem, but since I'm a european historian I'm
really getting to the point where I have to be able to read and write
in other languages... any help, or pointers to really good
documentation/how-tos, would be extremely appreciated.
thanks,
matt


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




Re: CLASSPATH with j2sdk1.3

2002-10-18 Thread Matt Price

thanks everyone, it seems to be working now.

m

On Sat, Oct 12, 2002 at 01:16:41AM +0100, Colin Watson wrote:
> On Fri, Oct 11, 2002 at 06:14:07PM -0400, Matt Price wrote:
> > also, I need to seet JAVA_HOME to an appropriate value -- is this
> > /usr/share/j2sdk1.3  ?
> 
> /usr/lib/j2sdk1.3 works for me.
> 
> Cheers,
> 
> -- 
> Colin Watson  [[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]




tomcat4, libapache-mod-jk and apache-ssl

2002-10-19 Thread Matt Price
he everyone,

so I've been having trouble with an application that requires tomcat
and mod_jk, and I thought maybe the problem might have to do with
encryption (actually I think I was wrong about this, but htat's
another story).  so I uninstalled apache, then tried reinstalling
apache-ssl and libapache-mod-jk. It didn't work; libapache-mod-jk
apparently depends strictly on apache, and won't accept apache-ssl as
a substitute.  

Since I don't know that much about this stuff, I thought I would ask

before I try installing libapache-mod-jk  with broken dependencies:
does anyone know if there is a really strong reason why
libapache-mod-jk wont accept apache-ssl?  if there is a good reason,
then I'll either compile from source or keep apache; if there isn't,
I'll try to install from the .deb and see how that goes.  

Anyway, thanks for the help as always!
m


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




Re: locales and accented charaters

2002-10-28 Thread Matt Price
hi,

I've also been having trouble with locales and been reading this and
other threads trying to fix them...  
I haven't been able to get things to work -- but I noticed that
localeconf went through everything TWICE on my ystem, and that on the
second go-rond, not all options were presented (in particular,
EN_US.UTF8 was missing the second time.  Is anyone familiar with this
behaviour?  have any ideas if this might point me towards the problem
with my system?

thanks,
matt

On Sun, Oct 27, 2002 at 08:56:36AM +0100, Oliver Fuchs wrote:
> On Sat, 26 Oct 2002, Oliver Fuchs wrote:
> 
> > On Fri, 25 Oct 2002, Nori Heikkinen wrote:
> > 
> > > i upgraded to woody last night, and my locales appear to be completely
> > > borked.  messages in mutt with accented characters in them show up
> > > in ascii codes like this:
> > > 
> > >   Die Aufnahmepr\374fung dient uns und Ihnen: Zur Kl\344rung Ihrer
> > >   Kenntnisse, zur Beratung. Nur wenn wir sicher sind, dass Sie das
> > >   mitbringen, was wir voraussetzen, k\366nnen wir Ihnen den Zugang zum
> > >   Studium \366ffnen.
> > > 
> > > when replying to an email, the same text when quoted looks fine (the
> > > accented characters render as what they're supposed to be).  weird.
> > > 
> > > i tried `dpkg-reconfigure locales`, and generated en_US.ISO-8859-1 and
> > > en_US.UTF-8 ... still the same problem.  i really don't have any
> > > further ideas ... can someone point me in the right direction?
> > 
> > Hi,
> > have a look at /etc/inputrc:
> > 
> > # To allow the use of 8bit-characters like the german umlauts, comment out
> > # the line below. However this makes the meta key not work as a meta key,
> > # which is annoying to those which don't need to type in 8-bit characters.
> > 
> > # set convert-meta off
> > 
> > and comment this one out.
> 
> Hi,
> here is what I did:
> run dpkg-reconfigure localeconf
> set all questions about languages to de_DE.ISO-8859-15
> If that works do the same procedure but setting it to
> en_US.ISO-8859-1 and
> Hope you succeed.
> 
> Oliver
> -- 
> .. don't touch the bang bang fruit
> 
> 
> -- 
> 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]




Locales, Mutt, OpenOffice, Emacs [was: locales and terminal]

2002-10-30 Thread Matt Price
hi,

sorry to take a whie responding back to this thread.  Ie been trying
out various solutions proposed here, in other threads from the last
month or so, and in a couple of places on the web.  I haven't been
able to fix my problem, but I can gve a more precise description of it
now.  

The Problem:

I need to be able to write and read accented characters (in French,
German, and Spanish) in both email and formatted text documents.  

The Setup:
Debian Woody, running KDE 2.

What I've done so far:

-run localeconf several times, enabling the generation of various french, german, and
 english locales.
-run locale-gen a bunch of times, too.  
-set environment variables (usuay $LANG and either $LC_CTYPE or $LC_ALL in 
/etc/profile, .bashrc, and a
 console/terminal window

What I've figured out:

-in most situations, I can read and write accented characters without
 difficuly!  I use a saved email as a test: cat, more, and 
less all show accented characters properly.  xemacs also displays and
 generates accented characters.  So does jed, and so does kword.

-unfortunately, the three programs for which I really REQUIRE this
 feature simply don't work properly:
 -mutt simply WON'T display accented characters properly\.  Depending
 on whether I set the CHARSET variable (in .muttrc) to UTF-8 or
 iso-8859-1, accented characters display as ? or \xxx (a three-digit
 numerical dcode).  
 -terminal-based emacs (emacs -nw, which I use to write emails, especially when
 I'm not at my desk) will not display accented charactersm.  When I try
 to type them in using the us-with-deadkeys keyboard, emacs freaks out
 and sometimes crashes.
 -openoffice can read accented characters, but it won't accept them
 from my keyboard:  Oddly, if I use a French keyboard setting oo can
 read french characters; if I use a German keyboard it can read
 umlauted characters; but it simply doesnt seem to be able to handle
 the characters composed with dead keys.  

It seems to me, after lots of experimentation, that this isn't exactly
a problem with locales, but a problem with the relevant programs.
does anyone have any idea what I should do next??  


response to earlier posting:
> > I've recently started geting emails in french and german that I need
> > to be able read.  And I'd like to be able to respond to them in french
> > and german as well...  
> > 
> > so I set LC_ALL=en_US.utf8 .
> 
> Is this variable exported to other programs?

well, I use the command "export", eg, "export $LANG=en_US.UTF-8"
but I feel like mutt, at least, doesn't automatically import the
variables from the environment.

> 
> With UTF-8 you need a multibyte aware terminal emulator. Which terminal
> emulator do you use? Try mlterm as it allows you to change the encoding
> at run time (Ctrl-button3).

I'[ve been using kterm -- mlterm wouldn't run on my system for some
reason and I didn't want   to expend the energy necessary to fix it.

> For emacs, it might be a good idea to install mule-ucs. Yudit is also a
> very nice UTF aware editor with integrated truetype support.

what is mule-ucs?

> 
> > the other thing is, when I run dpkg-reconfigure locales, it doesn't
> > let me set the default locale.  The menu dialog comes up, but there
> > are no choices.
> 
> Weird. Did you choose to generate the desired locales then?

- I did, and this onaly happenekd once.  ANother time, localeconf ran
  through the whole set of options twice...  I'm not sure what's
  up,. but this last time it worked normally.  

thanks for everything, matt


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




Re: Locales, Mutt, OpenOffice, Emacs [was: locales and terminal]

2002-10-30 Thread Matt Price
thanks, but didn´t seem to help.  see in line:  


> this variable. First, you need to upgrade. Version 1.3.28 is obsolete.
> IIRC, iconv support was recently rewritten; perhaps you have the old
> version in 1.3.28 (I don't remember).

upgraded to 4.0.4 (testing); no difference in performance.

> I don't use us-with-deadkeys, just direct accented characters. I have
> the following in my .emacs if this may help you...
> 
> (standard-display-european 1)
> (set-input-mode (car (current-input-mode))
>   (nth 1 (current-input-mode)) 0))
gave me an error at first; I deleted the final ")", which eliminated
the error, but didn't help withthe typing propblem

> 
> > well, I use the command "export", eg, "export $LANG=en_US.UTF-8"
> 
> without the $, I suppose.

that´s right


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




Re: Locales, Mutt, OpenOffice, Emacs [was: locales and terminal]

2002-10-30 Thread Matt Price
hi nori,

been following your postings on locales; 
> 
> what's the output of `locale`?
> 


here it is: 

matt@anarres:~$ locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=


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




Re: Locales, Mutt, OpenOffice, Emacs [was: locales and terminal]

2002-10-30 Thread Matt Price
> 
> This is archaic.  Use the below instead.
> 
> (set-language-environment "Latin-1")

thanks, I'll try it

> 
> `set-keyboard-coding-system' might be of interest too.

ooh, sounds good -- do I put that in .emacs in the same format as
above (parameter-name-here "value") ?  

thx,
m


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




vncserver errors

2002-11-17 Thread Matt Price
hi,

trying to run vncserver...  I getthe following error on startup:

vncserver
xauth:  /home/matt/.Xauthority not writable, changes will be ignored
xauth:  error in locking authority file /home/matt/.Xauthority

New 'X' desktop is anarres:3

Starting applications specified in /etc/X11/Xsession
Log file is /home/matt/.vnc/anarres:3.log

vncserver starts and seems to work fine (I can view the session
remotely), but kde won't start; it gives a screen with the following:

no access to '/home/matt/.ICEAuthority'

anyone know what setting, where, I hz


system screwy after kernel install; apt-get log?

2002-11-28 Thread Matt Price
so, I screwed up pretty thoroughly yesterday.  I tried to install the
new DeMuDi beta (a sub-distro of debian that focuses on sound
software) to my existing (mostly) woody machine.  I was fairly
cavalier
about it, didn't pay such close attention to the installation process,
which involved a new kernel and new versions of alsa & the JACK sound
server.

I had trouble getting the woody version to install so I went ahead and
installed the sid version (using apt-get).

Also the install process hung up two or three times during the
configuration of the ALSA sound modules.  (so my original modules and
modules.conf files are gone)

...And at the end of the process, a whole bunch of stuff was broken.
Most Importantly:
-my printer only prints blank pages
-no sound-related software will open, let alone play/record

sooo...  I would like to have my old, only-slightly-broken, system
back.  Unfortunately I installed the demudi-base package, which in its
turn installs a whole bunch f other packages, and I didn't keep
careful track during the process itself.  Does apt-get keep a
log somewhere that I can use to make sure I've undone (most of) the
damage I did when I installed demudi?  I've been through the apt howto
and the Debian Reference and I didn't find mention of such a log
file...

anyway,
thanks much,
matt


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




apt log

2002-11-29 Thread Matt Price
hi all,

does apt-get/dpkg keep a log somewhere? the debian FAQ says dpkg does,
but I don't see it in /var/log or with 
locate (dpkg|apt) | grep log
I've messed up my system and need to figure out what to uninstall.  

thanks,
matt


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




Re: openoffice

2002-11-30 Thread Matt Price
I've been having the same problem and haven't been able to fix it.
But try scanning the archives of [EMAIL PROTECTED], there have been
several long threads about locales and how to use them with OO.o.  Or
you can post there directly -- in my experience, that's where the most
extensive knowledge about OO.o-specific problems resides.

good luck!  let me know if you fix this problem -- I'd love to get
special characters working on my box, too!

matt
On Sat, Nov 30, 2002 at 01:56:28PM +0100, fLokNo wrote:
> hello!
> 
> how do i enable special (german) characters in openoffice like äöü.
> i have an english keyboard that works fine with evolution/mozilla etc.
> there i press " and then a which gives me ä.
> 
> in oo this procedure doesnt work, how to enable it.
> 
> keyboard in x is us_intl with 105 keys.
> 
> thanks for help!
> 
> --flo
> 
> 
> -- 
> 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]




mbox--> maildir with getmail, procmail,mutt

2003-08-18 Thread Matt Price
hi folks,

converting from mbox ot maildirs, and wanted to check I was doingthis
right before I screwed it up.  Here's what I plan to do:

in .getmail/getmailrc (2.3.7, woody package (can't use the sid
packages, not compatible with my provider): is there anything to
change?  Right now mail just gets sent to |/usr/bin/procmail .
Shouldn't procmail take care of everything?

in .procmailrc
add line 
MAILDIR=$HOME/Maildir
and in individual recipes, add trailing slash to all of the old mbox names.  

will procmail then still try to deliver to /var/spool/mail/username
when messages fall through all the recipes?  Or will it somehow know
to deliver to $HOME/Maildir?

In .muttrc

set mbox_type = maildir
set folder = "~/Maildir

With all that done, then run 
mb2md -m -d Maildir
mb2md -s Mail -R -d Maildir

doesthis sound right?  have I left anything out?  

thanks,

matt


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



Re: mbox--> maildir with getmail, procmail,mutt

2003-08-18 Thread Matt Price
On Mon, Aug 18, 2003 at 06:40:30PM +, Miquel van Smoorenburg wrote:
> You need to set DEFAULT=$HOME/Maildir in .procmailrc.

thanks for the hint -- did that.  

So, I converted everything over and it seems to have mostly gone well, except that 
mutt seems to be poorly configured now.  I can't seem to get mutt to naviagete from 
one maildir to another -- it keeps dumping me out in message files, and not seeing the 
.foldername ifles  that mb2mh generated.  On the other hand, if I start with mutt -f 
=Maildir/.IN.debian (for instance) I can get my mail.  Any suggestions?  

Thanks,

Matt

> 
> Mike.
> 


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



jpilot + serial palm + usb port/cable

2003-08-19 Thread Matt Price
Hi everyone,

just inherited an old palm from a friend and am trying to figure out
how to sync it with my debian dmachine (mostly sid).  Installed
jpilot, jpilot-sync, pilot-link; jpilot seems to run ithout
difficulties, but I can't figure out how to sync.  I have an older
palm with a serial port, but my computer has no serial connections on
the mainboard, so I use a serial --> usb cable and connect through a
usb port.  This has worked fine for me on both windoze and mac, so I
think the hardware is ok.  The problem seems to be that the device
jpilot uses to search for my palm is not set properly.  Here's the
error message:

J-Pilot: sync PID = 27400
J-Pilot: press the hotsync button on the cradle or "kill 27400"
pi_bind: No such device
pi_bind Illegal seek
Check your serial port and settings
Exiting with status SYNC_ERROR_BIND
Finished

i tried reseting the device using dpkg-reconfigure jpilot, as
suggested in the README.debian file, and set the device to ttyusb0 and
later, to ttyusb1.  Neither seemed to work, and both created links of
the following form:

ll /dev/pilot
lrwxrwxrwx1 root root7 2003-08-19 14:35 /dev/pilot -> ttyUSB1

ll /dev/ttyUSB1
crw-rw-rw-1 root dialout  188,   1 2002-03-14 16:54 /dev/ttyUSB1

which looks ok to me, do others agree?  What would folks suggest I do
to fix the problem?  

Thanks for your help,

Matt


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



SOLVED: Re: jpilot + serial palm + usb port/cable

2003-08-21 Thread Matt Price
On Tue, Aug 19, 2003 at 02:45:02PM -0400, Matt Price wrote:
> Hi everyone,
> 
> just inherited an old palm from a friend and am trying to figure out
> how to sync it with my debian dmachine (mostly sid).  Installed
> jpilot, jpilot-sync, pilot-link; jpilot seems to run ithout
> difficulties, but I can't figure out how to sync.  I have an older
> palm with a serial port, but my computer has no serial connections on
> the mainboard, so I use a serial --> usb cable and connect through a
> usb port. 

figured out the problem, in case anyone was wondering: just needed to
load the module kl5kusb105 using modconf, now it works!

m


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



Re: mbox--> maildir with getmail, procmail,mutt

2003-08-21 Thread Matt Price
> And if you store things based on sender address, then you only need to
> maintain .procmailrc.  Here are the interesting tidbits from my .muttrc:
> 
> # mailing lists
> subscribe `find $HOME/var/mail/received/mailing_lists/ -type d -mindepth 1 -maxdepth 
> 1 -printf '%f '; echo`
> 
> # mailboxes
> mailboxes =default
> mailboxes `find $HOME/var/mail/received/family -type d -mindepth 1 -maxdepth 1 
> -printf '%h/%f '; echo`
> mailboxes `find $HOME/var/mail/received/mailing_lists -type d -mindepth 1 -maxdepth 
> 1 -printf '%h/%f '; echo`

ah, that's quite  nice!  thanks,
matt


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



Re: mbox--> maildir with getmail, procmail,mutt

2003-08-21 Thread Matt Price
> So, I converted everything over and it seems to have mostly gone
well, except that mutt seems to be poorly configured now.  I can't
seem to get mutt to naviagete from one maildir to another -- it keeps
dumping me out in message files, and not seeing the .foldername ifles
that mb2mh generated.  On the other hand, if I start with mutt -f
=Maildir/.IN.debian (for instance) I can get my mail.  Any
suggestions?

-

sorry about the unwrapped line.  

I think the problem may actually be more with procmail than with mutt
-- I'm not sure it was sending messages to the right mailboxes.  For
the moment I've gone back to mbox, will return to this problem when I
have more time.

thanks again,

matt


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



Re: Debian policy, major change ?

2003-08-21 Thread Matt Price
On Wed, Aug 20, 2003 at 10:09:01PM -0700, Paul Johnson wrote:
> On Tue, Aug 19, 2003 at 04:51:42PM +0200, Stephane wrote:
> > Next debian stable to be released on 1st december:
> > 
> > http://lists.debian.org/debian-devel-announce/2003/debian-devel-announce-200308/msg00010.html
> > 
> > I would love to hear some comments :)
> 

If the question is, what do people think of having a projected release
date, I for one quite like it.  Gives me something to look forward.  

A couple of technical questions about the release: 

- first of all, is it possible to get one's hands on debian-installer
-- and does it largely work at this point?  I'd love to try it out.  

- and second: has a decision been made regarding the version of gcc
that sarge will be compiled with?  Is this question related to the
delays in getting gnome2.2 and kde 3.1 in sarge (referred to earlier
by Colin, whose mail I accidentally deleted)?

best,
matt


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



looong x startup delay with nvidia geforce 4 mx 440 ddr

2003-08-25 Thread Matt Price

Hey folks, my x setup at work functions perfectly -- clear, crisp, etc
-- except that on startup, or when switching between x sessions or
from console to an x session, there's a delay of close to a minute
before the monitor activiates (in between, it makes a couple of clicks
like it does on first powerup and poweroff).

I had at first just assumed that's the way x works, or a problem with
the nvidia drivers, or some such; but I've since set up a couple other
systems with nvidia cards and not had the same problem.  I thought
maybe I would try putting the XFDev option back in my XF86Config-4
file (took it out long ago when I switched from the nv driver to
nvidia non-free drivers), but I notice dpkg-reconfigure -plow
xserver-xfree86 doesn't give me that option with the nvidia drivers.
So I gues that's not the solution.  

Anyone know what might be causing this problem?  Any ideas on the solution?  

I'm running:

xserver-xfree86 4.2.1-6 (testing)
nvidia-kernel-src  1.0.4349-2 (no longer current, I see from apt-cache)
nvidia-glx-src  1.0.4349-1
a self-rolled 2.4.21 kernel


on this hardware:
AMD Athlon 1.8 MHz
ABIT AT7 motherboard
NVidia Geforce 4 MX 4430 ddr
LG Flatron 995ft monitor

... but I should say that I've switched around from woody to testing
to sid and had the same issues with all three versions.  

Thanks for the help!
matt



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



start program in ssh command line?

2003-08-27 Thread Matt Price
hi folks,

tweaking the relationship between my work and home computers...  I
keep my mail on my work computer, and would like to be able to make an
alias on the HOME computer that will log me in to work and start mutt
without my having to type the additional command.

my initial thought was this:

ssh -l matt work.host.name mutt

but this seems to send mutt off into the ether.  I guess there's no
tty associated with the ssh process or something...

anyway, is there a way to get the new process spawned by ssh to run in
a login shell to which I have access?  I can think of lots of ways in which such a 
feature would be useful...  

Thanks,
matt


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



nfs/ssh woes

2003-08-27 Thread Matt Price
Hey folks,

about 2 months ago I sent out a call for help on this list which, like
most such calls I've made, was duly answered by a coule of folks,
especially James S.  Then my baby son was born, and we went away for a
while, and when I came back home I rebooted all my machines, ended up
losing a bunch of personal mail, and my carefully setup system no
longer worked...

Goal: to set up an ssh-encrypted nfs which shares a directory on my
work computer (call it nfs.server) and either or both of two computers
at home (nfs.client).

Method: as described in James Strandboge's excellent article,
"Encrypted NFS with OpenSSH and Linux"
http://linuxtoday.com/security/2002021301020SCSV .

1.  set up /etc/exports:

add this line:
/home/matt/Personal 128.100.34.9(rw,insecure,root_squash)

test it on the server:  
mount -t nfs 128.100.34.9:/home/matt /mnt/nfs
--> works fine.

2. set up iptables.  Add a file nfsforward.rul in /etc/ipmasq/rules:  
# cat nfsforward.rul
# /sbin/iptables -A INPUT -i eth0 -p tcp -s mprice.dyndns.org --dport ssh -j ACCEPT
# /sbin/iptables -A OUTPUT -o eth0 -p tcp --sport ssh -d mprice.dyndns.org -j ACCEPT
# /sbin/iptables -A INPUT -i eth0 -p tcp -s mprice.dyndns.org --dport 111 -j ACCEPT
# /sbin/iptables -A OUTPUT -o eth0 -p tcp --sport 111 -d mprice.dyndns.org -j ACCEPT

# /sbin/iptables -A INPUT -i eth0 -p tcp -s $MATTSIP  --dport ssh -j ACCEPT
/sbin/iptables -A INPUT -i eth0 -p tcp -s $MATTSIP  --dport ssh -j ACCEPT
/sbin/iptables -A OUTPUT -o eth0 -p tcp -d $MATTSIP  --sport ssh  -j ACCEPT
/sbin/iptables -A INPUT -i eth0 -p tcp  -s $MATTSIP --dport 111 -j ACCEPT
/sbin/iptables -A OUTPUT -o eth0 -p tcp --sport 111 -d $MATTSIP  -j ACCEPT

... where $MATTSIP is passed to ipmasq whenever it's run (I have dns
-- and if I replace $MATTSIP with an ip address, the situation doesn't
change)

3.  set up an ssh tunnel:  
firct check server's ports:

rpcinfo -p 128.100.34.9:
   program vers proto   port
102   tcp111  portmapper
102   udp111  portmapper
1000241   udp914  status
1000241   tcp917  status
151   udp810  mountd
152   udp810  mountd
151   tcp813  mountd
152   tcp813  mountd
132   udp   2049  nfs
132   tcp   2049  nfs

ssh -f -c blowfish -L2818:128.100.34.9:2049 -L 3045:128.100.34.9:813 -l matt 
128.100.34.9 /bin/sleep 86400

tried it with the -v switch enabled, didn't get any error messages, I
assume thetunnel is really being set up.

4. try to mount the directory on nfs.client:  
# mount -t nfs -o tcp,port=2818,mountport=3045 128.100.34.9:/home/matt/Personal 
/mnt/nfs
mount: RPC: Remote system error - Connection refused

If I try to ssh and mountfrom nfs.server, I have the same problem,
though as I mentioned earlier a straight up nfs mount on nfs.server
works fine:

mount -t nfs 128.100.34.9:/home/matt/Personal /mnt/nfs

if I briefly disable iptables:

nfs.server# /etc/init.d/iptables stop (I know, this is STUPID)
and try to mount the directory from nfs.client, I get a slightly
different error : 

nfs.client# mount -t nfs 128.100.34.9:/home.matt/Personal /mnt/nfs
mount: 128.100.34.9:/home/matt failed, reason given by server: Permission denied

I checked in hosts.allow and found both these listings (somewhat
overbroad, but hopefully not too terrible for the moment):

ALL: 128.100.34.9 localhost
ALL: 67.68.52.40

so I don't think the problem is there.  

Question: where to look now?  I feel like the problem's in the tunnel
-- or at least, there is some kind of problem with the tunnel -- but I
can't diagnose it myself.  who can help??  

thanks as ALWAYS,
matt


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



Re: start program in ssh command line?

2003-08-27 Thread Matt Price
On Tue, Aug 26, 2003 at 10:54:00PM -0500, Michael Heironimus wrote:
> On Tue, Aug 26, 2003 at 11:26:37PM -0400, Matt Price wrote:

> Right, no pseudo-TTY unless you ask for one. That's what the '-t' option
> is for, refer to the ssh man page for more details.

I'm an idiot!  sorry, thought I'd looked over the man page pretty
thoroughly, but I missed the -t switch.  mea culpa mea culpa mea
culpa!

matt


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



dynamic dns IP assignment from behind router

2003-09-04 Thread Matt Price
Hi folks,

I'm trying to get a dynamic dns client working on my home machines.
The home connection is dsl (bell sympatico in Canada), and works fine,
but the IP seems to be changing more often nowadays than it used to.
I've set up a little network between my office and my home, so it's
somewhat important for me to have some way of knowing what my home IP
is when I'm at work...  dynamic dns seems to be the answer.

At home, 3 computers (1 debian desktop, one debian laptop, one windoze
xp laptop) sit behind an SMC Barricade router.  IP assignment on this
intranet seems to work fine, and I only mention it b/c I suspect the
router plays into some of my difficulties (see below).

So I went and got an account at dyndns.org (mmtprice.dyndns.org). Set
up through their web interface works without a hitch, and I'm able to
change the IP address assigned to the domain name instantaneously on
the web site.  I verified this from a couple of different computers
using ping.

Unfortunately, though, I haven't yet been able to get any of the
dynamic dns clients available in debian to actually remap the hostname
correctly.  I've tried and failed with both ddclient and ipcheck,
leading me to wonder whether (a) I'm missing some basic point, or (b)
there's some serious problem with my setup.

-- neither script seems to be able to interact well with my router,
though both have switches that are meant to get IP data from the SMC router.  

-- so I've resorted to using "checkip.dyndns.org" to figure out what
my IP address is.

--ddclient seems to be ble to figure out the address, but as far as I
can tell it doesn't actually SET the IP at dyndns.org.  Unfortunately
ddclient doesn't have very verbose messaging, so I'm not exactly sure
what's going wrong.  One thing I noticed is that I do not get an error
message if I change my username or password, suggesting to me that
whatever goes wrong happens before this stage.

For reference, here's my /etc/ddclient.conf
# Configuration file for ddclient generated by debconf
#
# /etc/ddclient.conf

pid=/var/run/ddclient.pid
protocol=dyndns2
# use=if, if=
server=members.dyndns.org
login=WishYouKnew
password=NotTelling
# use=smc-barricade, fw=192.168.2.1:80
# fw-login=admin
# fw-password=WontSay
use=web, web=checkip.dyndns.org, fw-skip='IP Address' mercey.dyndns.org 
mprice.dyndns.org

-

ddclient gives the following responses:  

# ddclient -daemon=0 -query
use=if, if=eth0 address is 192.168.2.198
use=if, if=lo address is 127.0.0.1
use=web, web=dyndns address is 67.69.252.101 
   ^^^
this is the address I want

# ddclient -daemon=0   
WARNING:  unable to determine IP address

--

Isn't that kinda wierd?  

Anyone know what's going on?

thanks as always,

matt


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



CUPS alternative?

2003-09-04 Thread Matt Price
Hello,

after minor difficulties I've gotten cups to work on my decrepit
laptop, using a brother hl-1440 laserprinter (the printer interprets
PostScript on its own, though I think it doesn't use the Adobe
interpreters).  Right now it seems to be working well (though for a
while it was printing strangely at unpredictable intervals, and I keep
worrying it will resume its ugly old habits).  

But I only have 96 megs of ram, and cups seems unnecessarily lrge,
given that I don't want to act assa printserver or anything.  I DO,
however, want to print pretty documents from OpenOffice & one or two
other programs (possibly sometimes gimp).  

Are there any workable alternatives to CUPS?  Any alternatives that
folks actually RECOMMEND using?  It would be great to run a somewhat
leaner print system...

thanks again,
matt


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



number-up=2, openoffice, and cups

2003-09-05 Thread Matt Price
one more printing problem with cups before I switch to lpr
(hopefully)...  I'm having trouble printing multiple pages/printed
page using openoffice.  I'm running sid/i386 using CUPS.  Normal
printing (1 page/page) works fine with OOo and with other programs.  2
pages/page works fine from the command line (haven't tested it with
other programs) with the command:

lp -o number-up=2 FILE

However, the same command fails when executed from OOo.  

any clues?

thx,

matt


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



2 Hardware Questions (LCD/Wireless Router)

2003-04-05 Thread Matt Price
Hi,


In the process of setting up a home network which will have the
following machines on it:
- 1 IBM ThinkPad X31 connected alternately by ethernet and wireless
 (802.11b).  Will unfortunately be running XP, unless I replace that
 by Win 2000 Professional (not for my use, or it'd be Debian all the way)
- 1 G3 Mac, currently running MacOS 9, hopefully soon to move to
 Debian PPC, connected by ethernet cable
- 1 Old HP Omnibook. hopefully running a slimmed-down version of
 Debian, connectd hopefully by 802.11 b as well
- (Maybe) a relatively new PC running Debian Woody, connected by
 Ethernet

I need to buy a wireless router and a monitor, and have questions
about both.

First the router.  Looking around, I gather all these routers run
their own networking and encryption software.  Having recently
converted to Debian GNU/Linux, I'm bummed at having to give up control
of these features to some hardware I have no real access to, and I
feel just a little suspicious of these closed-platform boxes.  On the
other hand, they do seem to be pretty practical devices.  So my
question:  can anyone share opinions about particular models, or
general criteria to apply in deciding between competing models?

Then the monitor.  We've settled on buying an LCD monitor, and I wanted
to check about compatibility before I bought one.  I've noticed some
companies talk about "mac compatible" or "linux compatible" products.
Any idea what this means?  My impression with ordinary CRT monitors
is, that as long as the cable on the monitor (DVI; VGA, ADC,
whatever) matches the port on your video card, you're OK.  Is this not
true of LCD's?  Do some of the LCD's require proprietary color
adjustment software, for instance; and if so, are there ways to
compensate under Linux?  


Thanks as always for the help!  Look forward to hearing back,
Matt



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



exporting /var/spool/mail/user as mailbox

2003-06-20 Thread Matt Price
Hey folks,

here's the situation:

I get my mail through a university account, which I download and
filter every ten minutes on my work machine.

I am about to go on an extended vacation, during which time I'll only
have access to a Windows pc and a modem connection.  I would like to
be able to pick up my mai, which I can do already through my
university account; but I'd rather not have to refilter it and reread
it all when I get back home.  so if possible, I'd like to export the
mailspool on my work computer as a pop or IMAP mailbox , which I can
then access from the net to download my mail.

Can this be done?  

Thanks forthe assistance,

Matt


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



nfs through dsl router

2003-06-20 Thread Matt Price

Hi folks,

I would liketo be able to mount a directory from my work computer
(debian sid, with a fixed IP address) from my home computer
(debian-ppc-woody, behind a simple, cheap router from smc).  I've set
up nfsd on the work machine, and it does work for localhost (that is,
I can mount a directory from my work machine at a mountpoint on the
same machine, as an nfs device).  However, I can't seem to mount the
volume from my home machine, even when I include the following line in
/etc/exports:

/home/me  *(rw)

(obviously not a good plan for permanent use...)

Is this a port forwarding issue?  If so, how do I figure out which
ports I need to tell the router to forward on to the home machine?  

Thanks for the hints,
mat


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



reconfigure broken network? (kinda urgent)

2003-06-22 Thread Matt Price
Hi everyone,

In an effort to change form a dynamic to a staticIP configuration, I
seem to have partially broken my network setup.  Here's what I did:

-- added an extra line to /etc/hosts:
192.16.8.2.199  matts-mac   localhost

-- changed the devinition of eth0 in /etc/networking/interfaces from 

auto eth0
iface eth0 inet dhcp

to 

# replace dhcpwith static
# auto eth0
# iface eth0 inet static
#address 192.168.2.199
#netmask 255.255.255.0
#broadcast 192.168.2.255
#gateway 192.168.2.1

as you can see, I've since commented it out.  

At this point my interface was broken, and although I tried returning
the files to their pristie state and rebooting, I didn't have much
luck.  Then (no doubt compounding the problem) I ran dpkg-reconfigure
on any package that looked like it might help revert me to my original
setup, like ifupdown, inetd, net-tools, network-base.  In so doing I
worry I might have screwed things up further...  and after I returned
the files I'd edited by hand to their original state, things were
still broken.

the situation now is the following:  

- on boot, any network relateddaemon takes forever to start up before
some connection times out.  But the system boots nonetheless.  - ping
breaks when applied to myself (127.0.0.1, 192.168.2.101, etc).  I get
this kind of output:

a) with 127.0.0.1
matts-mac:~# ping 127.0.0.1
PING 127.0.0.1 (127.0.0.1): 56 data bytes

--- 127.0.0.1 ping statistics ---
4 packets transmitted, 0 packets received, 100% packet loss


b) with the address assigned to me by the dhcp server on my home router:
matts-mac:~# ping 192.168.2.101
PING 192.168.2.101 (192.168.2.101): 56 data bytes
ping: sendto: Invalid argument
ping: wrote 192.168.2.101 64 chars, ret=-1
ping: sendto: Invalid argument
ping: wrote 192.168.2.101 64 chars, ret=-1
ping: sendto: Invalid argument
ping: wrote 192.168.2.101 64 chars, ret=-1
ping: sendto: Invalid argument

wierd, eh?  And I notice that ping is sending 56 bytes to these
addresses, but 64 bytes to other addresses.  I have no idea what that
signifies.

meanwhile, lots of outgoing connections still seem to work.  For
instance, I can browse the web and make ssh connections.  However, I
can't seem to reach my computer even from outside (can't ssh to it,
for instance).

so, 2 questions:

-- WHAT'S WRONG WITH MY SYSTEM? 

and 

-- HOW DO I FIX IT?

the latter is more pressing than the former...  I was hoping it would
be possible to reduplicate the "configure your system" step from the
debian install process, but I couldn't figure out whether that's
possible.

Anyway, thanks again, as usual, for the help!

matt


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



Re: nfs through dsl router

2003-06-22 Thread Matt Price

James, Bob, and others, 

thanks for your help.  sorry to take so long getting back (see below
for explanation!)

On Sat, Jun 21, 2003 at 12:24:05AM -0400, James Strandboge wrote:
> > 
> Ouch.  You may already be hacked.

jeez, guys, it was only up for about 5 minutes -- I'm not THAT stupid (though
I can be pretty dumb if left to my own devices)
> 
> The ports are portmap and whatever is listed with 'rpcinfo -p'.

thanks.  I think I understand (though I don't see how to get information using 
portmap.)

> 
> But please don't do this at all-- you are opening yourself up to a whole
> bunch of problems.  

do you mean, don't do NFS via ssh either?

> I'd recommend scp.  

scp is very cool,  thanks for the recommendation.  

> If you must have nfs, it is possible to use nfs with
> ssh.  See:
> 
> http://www.samag.com/documents/s=4072/sam0203d/sam0203d.htm

this is a great article, James, thanks for writing it and pointing me
to it.

Unfortunately, even with directions as explicit and clear as yours, I
couldn't get NFS over SSH to work for me.  I think the issue is part
denseness, part the result of working around my home router, and not
understanding port forwarding very well; and at least a small part is
a little harder to explain.

Hope folks don't mind if I go through James' article step by step.  

SERVER CONFIGURATION

1) setting up /etc/exports
no problem.  added this line:
#trying to do ssh tunnelling
/home/matt/Projects 128.100.34.9(ro,insecure,root_squash)

2) edit nfs init script 
...er... that didn't go so well!  it was easy to get nfs to
stop and kill sshd before working, by adding the lines:

/etc/init.d/ssh stop
killall sshd

at the beginning of the script

but no matter where I put the restart command:

/etc/init.d/ssh restart

I couldn't get sshd to start back up again.  James, do you have a copy
of a working /etc/init.d/nfs-user-server that starts ssh and then
restarts it?  I think I don't fully understand the bash syntax (sorry
for my ignorance).

(this is part of the reason I've taken so long replying -- I couldn't
log in to my work account and my email environment for two days!).

3. setup iptables (in my case using ipmasq) 

had a little trouble here specifying the address of my client (home)
machine, which is set dynamically by pppoe.  Finally realized that I
couldn't do as I'd planned and enter my dyndns domain name, since it
can't be determined without DNS, and iptables really didn't want to
let me use dns.  I'm wondering if this can somehow be done with a
script -- run a cron job every five minutes that checks the IP adress
of my dyndns.org domain, exports the value as a variable, which is
then read by iptables/ipmasq.  Does that sound like it would work?
Anyone know a tool that just returns an IP address?

For now I just entered my current IP, which works fine.  

CLIENT CONFIGURATION
1. get server's ports
no problem.  here's the current output:
matts-mac:~# rpcinfo -p 128.100.34.9
   program vers proto   port
102   tcp111  portmapper
102   udp111  portmapper
1000241   udp865  status
1000241   tcp868  status
132   udp   2049  nfs
132   tcp   2049  nfs
151   udp986  mountd
152   udp986  mountd
151   tcp989  mountd
152   tcp989  mountd

2. set up tunnel
this usually works,with a command like this: 

ssh -f -c blowfish -L 2820:128.100.34.9:2049 -L 3047:128.100.34.9:989 -l matt 
128.100.34.9 /bin/sleep 86400

right now I seem to have broken the networking on my home computer
(see separate post, to follow) but I expect this part will work
eventually.

3. mount the nfs volume...  ... this always fails catastrophically.
In particular, I never seem to be able to open up the requisite ports
on the client end.  I suspect this has something to do with the home
network.  Now, on my router (an SMC Barricade, with a web-only
interface) I don'th ave tons of options.  I can forward individual
port directly from the router to the home computer; or I can put the
home computer in a DMZ.  Will either of these strategies work?  what
further information can I provide to help with diagnosis?

whew.  Thanks for the help you've already given, and thanks for help
in solving my current conundrum.  best,

Matt



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



Re: exporting /var/spool/mail/user as mailbox

2003-06-22 Thread Matt Price
On Fri, Jun 20, 2003 at 01:49:31PM -0400, Matt Price wrote:
> have access to a Windows pc and a modem connection.  I would like to
> be able to pick up my mai, which I can do already through my
> university account; but I'd rather not have to refilter it and reread
> it all when I get back home.  so if possible, I'd like to export the
> mailspool on my work computer as a pop or IMAP mailbox , which I can
> then access from the net to download my mail.
> 
> Can this be done?  

thanks everyone, I'll try to give courier a spin.  
matt


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



choosing version of gcc to compile with

2003-06-23 Thread Matt Price
Hi,

How do I tell make (or, in the case of a kernel compile, make-kpkg)
which verison of gcc to compile with?

thanks,
matt


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



passing environment variables back to shell

2003-06-23 Thread Matt Price
Hi,

anyone know if it's possible to pass the value of variables assigned
within a bash script back out to the executing shell?  Or better yet,
to all subsequent shells?

I've written a tiny script to figure out the IP address of my
(dynamically assigned) home computer and pass it to ipmasq on my work
computer.  I would like to run this as a cron job (probably daily,
since my IP is pretty stable) and only rerun ipmasq if the new IP
address differs from the old one.  But I don't understand howto pass
the new value back out to the executing environment.

I think if you look at the script you'll see what I'm trying to do... 

/usr/local/scripts/gethomeip :
---
#!/bin/bash
HOSTRESULT=`host youknowwho.dyndns.org`
RESULTIP=`echo ${HOSTRESULT##[^0-9]*[^0-9\.]}`

# check the initial values
echo "$RESULTIP"
echo "$MATTSIP"
if [ "$RESULTIP" = "$MATTSIP" ]
 then
echo "no problem, the address is up to date"
else

#set the new value 
MATTSIP=$RESULTIP
echo "$MATTSIP"

# export -- but of course it only exports to daughter processes, not parent processes
export MATTSIP
ipmasq
fi

# check to make sure the variables been set within the script
echo "$MATTSIP"

---

obviously export isn't what I'm looking for.  Any ideas what I ought
to substitute there?  thanks,

matt


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



long delays switching from consoles to x with nvidia

2003-06-23 Thread Matt Price
Hi,

my gazillionth post this week...

Now that I have a second debian system at home (yay!), I notice a
problem at the work machine.  At work I have an NVidia GeForce
something/or/other video card, and use the nonfree nvidia drivers to
run it.  When I switch form console to X, it takes about 30/45 seconds
for X to come up (this is for an already-running X session).  Now at 
ome that doesn't happen, even though my home computer is zillions of
time slower.  

It would be nice not to have to deal with the delay.

How would I go about diagnosing the slowdown at work?


anyway, gotta get some sleep,

Matt


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



apt-get error

2003-01-10 Thread Matt Price
hi,

can someone parse this error for me?  Got it while trying apt-get update:


Reading Package Lists... Error!
E: Dynamic MMap ran out of room
E: Error occured while processing kernel-image-2.4.18-hotplugforalsa
(NewVersion1)
E: Problem with MergeList /var/lib/dpkg/status
E: The package lists or status file could not be parsed or opened.

 kernel-image-2.4.18-hotplugforalsa is a kernel I compiled myself
 using the debian method.  

Thanks!!!
matt


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




apt-get error (more)

2003-01-10 Thread Matt Price
... and now I get a "segmentation fault" every time I try using
apt-get or apt-cache.  

help much appreciated as always!!!
matt


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




Re: apt-get error

2003-01-14 Thread Matt Price
thank you!!!  that did it.  so what exactly was the problem?
why/where/how did apt run out of room??

saved my butt, I really appreciate it!
m

On Fri, Jan 10, 2003 at 03:17:35PM -0500, Bruno Diniz de Paula wrote:
> Hi Matt,
> 
> try adding 'APT::Cache-Limit 25165824;' to your /etc/apt/apt.conf file.
> 
> Cheers,
> Bruno.
> 
> On Fri, 2003-01-10 at 15:13, Matt Price wrote:
> > hi,
> > 
> > can someone parse this error for me?  Got it while trying apt-get update:
> > 
> > 
> > Reading Package Lists... Error!
> > E: Dynamic MMap ran out of room
> > E: Error occured while processing kernel-image-2.4.18-hotplugforalsa
> > (NewVersion1)
> > E: Problem with MergeList /var/lib/dpkg/status
> > E: The package lists or status file could not be parsed or opened.
> > 
> >  kernel-image-2.4.18-hotplugforalsa is a kernel I compiled myself
> >  using the debian method.  
> > 
> > Thanks!!!
> > matt
> -- 
> Bruno Diniz de Paula <[EMAIL PROTECTED]>
> Rutgers University



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




  1   2   3   4   5   >