Re: question

2001-07-21 Thread John
On Sat, Jul 21, 2001 at 10:36:20AM -0700, John Matters wrote:
> i am having a problem.  my mouse is not responding at all.  When my brother 
> left (he installed and configured everything) it was working, and then it 
> just stopped suddenly.  its not that the mouse is not plugged in or anything 
> like that.  I did get it to respond once, but the second that i moved the 
> mouse, it would automaticly move to the upper-lefthand corner of the screen.
> 
for the heck of it, try as root:

/etc/init.d/gpm stop

If that gets your mouse working in X, then search archives for how to
get gpm to play nicely with X.

(another) John

> 
>  ~John~
> 
> _
> Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 

-- 
-_-_-_-_-_-_-_-_-_-_-
 Using [Debian] Linux
_-_-_-_-_-_-_-_-_-_-_





[OT] NFS question

2001-07-21 Thread Hall Stevenson
How are the permissions of an NFS mount determined ?? I've got two
directories I'm mounting via NFS and they're "acting" the same.

When they're not mounted, they're both owned by hall.users. When they're
mounted, they're owned by amy.hall.

amy and hall are both users on the system. The group "users" exists also
and hall is a member of it.

>From reading "man mount" (or was it "man fstab" ??), it doesn't appear
that you can mount NFS partitions and assign a default user and group
setting like you can with others. Is this correct ??

What permissions should the *mounted* directories have ?? What about on
the NFS server ??

Thanks in advance
Hall



Helvetica disappeared from KDE!

2001-07-21 Thread Geoffrey Romer

I was in the process of trying out some new desktop environments. I had been
playing with KDE for a while with no ill effects, and then logged out to
try Gnome. Due to the awful performance of nautilus, which started by default,
I uninstalled nautilus (apt-get uninstall nautilus). This took 
task-gnome-desktop and task-gnome-games with it. On restarting KDE, I 
discovered to my horror that the fornt had switched to something really ugly
and illegible. Further investigation revealed that it was alphabetically the
first font which KDE was aware of, and when I tried to switch it back, I
discovered that Helvetica was totally absent, and could not be re-enabled.
An attempt to 'restore defaults' switched me to an equally ugly non-helvetica
font. 

Just in case, I tried reinstalling the uninstalled packages (though Gnome
*really* shouldn't be affecting KDE). the task-* packages wouldn't install,
but nautilus came back fine. However, KDE still doesn't see Helvetica. The
really odd part is that a few parts of KDE (particularly the opening KDE 
splash screen and the "really log out?" confirmation widnow) still seem to
use Helvetica, even though it doesn't seem to exist, which makes me wonder
if perhaps Helvetica is still there, but somehow invisible to KDE's font
configurator.

Where does KDE get its' font listing from? How can I determine if Helvetica
is actually gone, or just missing from the list? Whether the former or the
latter, how do I get it back? What package is it part of?

-- 
Geoffrey M. Romer
[EMAIL PROTECTED]
---
"Never let your sense of morals prevent you from doing what is right"
  -Salvor Hardin
"I can't leave you alone with this man! He might be a tenor!"
  -Fred Astaire



Re: running out of room on root system

2001-07-21 Thread Paul Campbell
Sorry GuyMike's way worked fine first time


> > "Mike" == Mike Fedyk <[EMAIL PROTECTED]> writes:
>
> > "Paul" == Paul Campbell wrote:
>
> Paul> hard drive partitions
>
> Paul> hda1 root 50meg
> Paul> hda2 swap 100meg
> Paul> hda3 usr 2 gig
> Paul> hda5 home 2 gig
> Paul> hda6 fat32 storage for transferred win docs etc
>
> Mike> Do this, but make sure you don't reboot before this has
> Mike> completed.
>
> Mike> mv /var /vr  #renames /var to /vr
> Mike> mv /vr /usr/var#moves /vr to /usr/var
>
> The last command won't work: mv cannot move directories across
> partitions. Replace it with this:
> mkdir /usr/var
> (cd /vr && tar cf - .) | (cd /usr/var && tar xf -)
> rm -rf /vr
>
> Mike> ln -s /usr/var /var#does a soft symlink of /usr/var
and creates  ~var in root partition

is this what is expected guys.

When I go into ~var  all directories inside are still there. I go into
~var/backup delete first bak file.no change to free space on
hda1..#expected as it is a symlink ???

I go into /usr/var/backup and delete same bak file changes free
space on hda3 which means the move command Mike gave me did work

Does this sound like what is expected



Press Release

2001-07-21 Thread Sugarpine . Sierra . West
For Immediate Release
Incline Village, Nevada
Contact Corporate Communications
www.sugarpinellc.com

Sugarpine Sierra West, LLC is proud to announce 4 additional services, Sports 
Memorabilia, Hair Raisers, Financial Services and Worlds-Best-4 the worlds 
largest virtual shopping mall featuring over 2.2 million products! Save time! 
Save money! Make money!!!

These services and products are now available to everyone. To view these 
tremendous opportunities, please visit our website. Sports Memorabilia may be 
viewed simply by clicking on its front-page banner. Hair Raisers may be viewed 
by visiting our web site, www.sugarpinellc.com, and select our associates’ 
link. Our Financial Services is linked and bannered on our home page.

As you all may already know, Sugarpine Sierra West, LLC is at its heart an 
asset hosting company.  Please don’t forget to look at our Asset Gallery to see 
some outstanding business and investment opportunities, as well as collectables 
and real estate.

Sugarpine Sierra West, LLC would like to extend its sincere thanks and 
appreciation to all!

Please visit us at our web site at: www.sugarpinellc.com.

Corporate Communications:
Sugarpine Sierra West, LLC
Mr. Charles J. Armstrong II or Ms. Denise Pavlo
Phone:  775-832-2552
E-Mail: [EMAIL PROTECTED]

To be removed from our e-mail list, reply to this e-mail with "REMOVE" in the 
subject line of your reply.




Press Release

2001-07-21 Thread Sugarpine . Sierra . West
For Immediate Release
Incline Village, Nevada
Contact Corporate Communications
www.sugarpinellc.com

Sugarpine Sierra West, LLC is proud to announce 4 additional services, Sports 
Memorabilia, Hair Raisers, Financial Services and Worlds-Best-4 the worlds 
largest virtual shopping mall featuring over 2.2 million products! Save time! 
Save money! Make money!!!

These services and products are now available to everyone. To view these 
tremendous opportunities, please visit our website. Sports Memorabilia may be 
viewed simply by clicking on its front-page banner. Hair Raisers may be viewed 
by visiting our web site, www.sugarpinellc.com, and select our associates’ 
link. Our Financial Services is linked and bannered on our home page.

As you all may already know, Sugarpine Sierra West, LLC is at its heart an 
asset hosting company.  Please don’t forget to look at our Asset Gallery to see 
some outstanding business and investment opportunities, as well as collectables 
and real estate.

Sugarpine Sierra West, LLC would like to extend its sincere thanks and 
appreciation to all!

Please visit us at our web site at: www.sugarpinellc.com.

Corporate Communications:
Sugarpine Sierra West, LLC
Mr. Charles J. Armstrong II or Ms. Denise Pavlo
Phone:  775-832-2552
E-Mail: [EMAIL PROTECTED]

To be removed from our e-mail list, reply to this e-mail with "REMOVE" in the 
subject line of your reply.




Re: Where do I find NAT for IPTABLES?

2001-07-21 Thread Wayne Topa

Subject: Where do I find NAT for IPTABLES?
Date: Sun, Jul 22, 2001 at 01:43:23AM +0200

In reply to:Daniel Mashao

Quoting Daniel Mashao([EMAIL PROTECTED]):
> Is it an option that I need to make a module or insert in the kernel? In
> which part of the kernel setting is NAT mentioned? If all I want is just a
> simple setting so that I can use my networked computer to surf the net
> what should my iptable look like? Where should it be kept?
> HELP

In my kernel-2.4.6 .config

#
# Networking options
#
CONFIG_PACKET=y
# CONFIG_PACKET_MMAP is not set
CONFIG_NETLINK=y
CONFIG_RTNETLINK=y
# CONFIG_NETLINK_DEV is not set
CONFIG_NETFILTER=y
CONFIG_NETFILTER_DEBUG=y
# CONFIG_FILTER is not set
CONFIG_UNIX=y
CONFIG_INET=y
CONFIG_IP_MULTICAST=y
# CONFIG_IP_ADVANCED_ROUTER is not set
# CONFIG_IP_PNP is not set
# CONFIG_NET_IPIP is not set
# CONFIG_NET_IPGRE is not set
# CONFIG_IP_MROUTE is not set
# CONFIG_ARPD is not set
# CONFIG_INET_ECN is not set
CONFIG_SYN_COOKIES=y

#
#   IP: Netfilter Configuration
#
CONFIG_IP_NF_CONNTRACK=m
CONFIG_IP_NF_FTP=m
# CONFIG_IP_NF_QUEUE is not set
CONFIG_IP_NF_IPTABLES=m
CONFIG_IP_NF_MATCH_LIMIT=m
# CONFIG_IP_NF_MATCH_MAC is not set
CONFIG_IP_NF_MATCH_MARK=m
CONFIG_IP_NF_MATCH_MULTIPORT=m
CONFIG_IP_NF_MATCH_TOS=m
CONFIG_IP_NF_MATCH_TCPMSS=m
CONFIG_IP_NF_MATCH_STATE=m
CONFIG_IP_NF_MATCH_UNCLEAN=m
CONFIG_IP_NF_MATCH_OWNER=m
CONFIG_IP_NF_FILTER=m
CONFIG_IP_NF_TARGET_REJECT=m
CONFIG_IP_NF_TARGET_MIRROR=m
CONFIG_IP_NF_NAT=m
CONFIG_IP_NF_NAT_NEEDED=y
CONFIG_IP_NF_TARGET_MASQUERADE=m
CONFIG_IP_NF_TARGET_REDIRECT=m
CONFIG_IP_NF_NAT_FTP=m
CONFIG_IP_NF_MANGLE=m
CONFIG_IP_NF_TARGET_TOS=m
CONFIG_IP_NF_TARGET_MARK=m
CONFIG_IP_NF_TARGET_LOG=m
CONFIG_IP_NF_TARGET_TCPMSS=m
# CONFIG_IP_NF_COMPAT_IPCHAINS is not set
# CONFIG_IP_NF_COMPAT_IPFWADM is not set
# CONFIG_IPV6 is not set

-- 
The reason computer chips are so small is computers don't eat much.
___



kernel config: pcmcia and network device support?

2001-07-21 Thread Gladimir
I'm probably just looking for a 'shove' here, but I'm having a problem
determining which network driver to build into my kernel.

Note: My networking is operating fine with whatever the default settings for
kernel-2.2.19pre17 'compact' happen to be.

I have a 3Com 3C589C Etherlink III pc card in my laptop.  I am trying to
complete my first attempt at configuring a linux kernel, and I am stuck in
'network device support'.  I do have the pcmcia-cs v3.1.22-0.2 package
installed (kernel version 2.2.19pre17).

In the 'network device support' menu:
 dummy net driver support

In the 'ethernet (10 or 100Mbit)' menu:
[*] ethernet (10 or 100Mbit)
other options that don't really match my situation

My best newbie interpretation of /var/log/messages suggests that 3c59x.c,
pcnet32.c, and via-rhine.c are being loaded as modules in my current
(default) kernel.  However, I am not sure which one of these )if any) is
actually doing me any good since none of them do any good until the card
services startup and find my adapter with IO port probes.

Any help, suggestions, or advice would be greatly appreciated.

- gladimir



Where do I find NAT for IPTABLES?

2001-07-21 Thread Daniel Mashao
Is it an option that I need to make a module or insert in the kernel? In
which part of the kernel setting is NAT mentioned? If all I want is just a
simple setting so that I can use my networked computer to surf the net
what should my iptable look like? Where should it be kept?
HELP

/--/
Daniel J. Mashao
Electrical Engineering[EMAIL PROTECTED]
University of Cape Town   http://www.eleceng.uct.ac.za/~daniel 
Rondebosch, 7700, S. Africa   (w) 021-6502816  (c) 082-928-3692
/--/



kde2 is running 1600x1200

2001-07-21 Thread Markus Hansen
hi my debian gnu/linux 2.2 potato
uses kde2 only with 1600x1200 display.
everything is small and bad to read,
so i would like to change solution to 1024x768, but how can i do that?

thanks for help
markus



Re: Soundblaster 16

2001-07-21 Thread Markus Hansen
Thank you bob, i said i dont know whether it works as root, but as user it 
doesnt.
but as the person before you wrote i think it would be possible that this would
be(root sound, user no sound)
but i dont know anyway, also not how to find out.
i tried your lines, but i was unshure what exactly to do.
you know, using the suse linux sound worked, but i use now
debian because my brother told me it is better,
by now i know it is different and more complicated, but i keep trying.
thanks for your help


Bob Nielsen wrote:

> mp3blaster or mpg123 should work for audio. If it only works as root,
> but not as a regular user, add yourself to the audio group (see man
> adduser).
>
> To find other mpeg players, I suggest you do 'apt-cache search mpeg'
> and look at the package names which are returned.  Then do 'apt-cache
> show' on likely packages to find a suitable one.
>
> Bob
>



re re soundblaster sb16

2001-07-21 Thread Markus Hansen

if i only could play sound if i am root:
how can i find out? how do i play an mp3 in the rootconsole? with
mp3blaster for
example?
and how do i find other mp3 audioand mpeg1 video player?
markus


> Many SB16 cards can be configured to select PnP or a fixed IRQ.  If
> yours has that capability, you should definitely use a fixed IRQ.  In
> my case, I created /etc/modutils/sb with the following line:
>
> options io=0x220 irq=7 dma=1 dma16=5 mpu_io=330
>
> I then ran 'update-modules' (which creates /etc/modules.conf) and
> 'insmod sb' and sound was working.
>
> I put this line in /etc/modules, so sound would be enabled after boot:

> sb #Soundblaster 16
>
> Bob
>
> On Thu, Jul 19, 2001 at 09:22:17AM -0400, Adam Bell wrote:
> > I have the same card.
> >
> > Probably your problem is that it's in plug and play mode, and since
it's
> > an ISA card that is suckland for Linux.
> >
> > You need a package called isapnp (apt-get install isapnp), which
might
> > already be there.  Then you need to dump the output of pnpdump
--config
> > into /etc/isapnp.conf (as root).  Then you should be set recognizing
the
> > card (IF isa plug and play is enabled in your kernel...which it
should
> > be.  If not, check modconf / recompile kernel with isapnp support).
Try
> > isapnp /etc/isapnp.conf.  It should recognize some crap and your
sound
> > card, and tell you your settings (dma, dma16, io, irq)  Write down
those
> > 4 things, then go into modconf.  The module you want is "sb" in with
all
> > the other cards (It'll automagically get sound-core and all that
other
> > crap).  For parameters, pass it all those 4 things ("io=0x220 dma=1
> > dma16=5 irq=5" for example).
> >
> > Now it should be recognizable, BUT probably only to root.  Anyone
whom
> > you wish to make able to use the card needs to be added to the
"audio"
> > group.
> >
> > OR, you could use ALSA, but I don't know how.  :)
> >
> > --adam b.
> >
> > BTW, you don't strictly have to have the kernel call isapnp; it's
just a
> > lot cleaner.  You can also use preloads in your system init scripts,
and
> > you can find how to do this on the net.  I didn't need to...I just
added
> > isapnp.conf to /etc and everything worked after I installed the sb
> > module.
> >
> > -Original Message-
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
> > Markus Hansen
> > Sent: Thursday, July 19, 2001 9:05 AM
> > To: Debian Mailinglist
> > Subject: Soundblaster 16
> >
> >
> > Hi
> > I have got a Debian gnu/linux 2.2 potato on my PC.
> > My problem is the soundcard while using KDE2.
> > I have a Creative Soundblaster sb16
> > I am not able to get the card working.
> > As I am a real linux-greenhorn I do not know how to do nearly
anything,
> > but you all know the start is the hardest... If you could send me a
list
> > of the things I have to do I would be very glad.
> >
> > Thank you very much.
> > Yours Markus Hansen.
> >
> > German Version:
> >
> > Hi ich habe ein Debian gnu/linux 2.2 potato installiert.
> > Mein problem ist momentan der sound.
> > Ich habe eine Creative Soundblaster sb16.
> > Ich habe KDE2 und weiss nicht wie ich die karte zum laufen kriege.
Es
> > waere sehr nett von Euch, wenn ihr mir eine art Anleitung oder so
> > schreiben koenntet. Ich bin der (fast) totale Linux Anfaenger und
somit
> > bitzte ich Euch um Nachsicht.
> >
> > Vielen dank im voraus
> > Euer Markus Hansen
> >
> >
> > --
> > 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]
>
> --
> Bob Nielsen, N7XY  [EMAIL PROTECTED]
> Bainbridge Island, WA  http://www.oz.net/~nielsen
> IOTA NA-065, USI WA-028S
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact
[EMAIL PROTECTED]





Re: Keeping kernel compilation options

2001-07-21 Thread Joost Kooij
On Sat, Jul 21, 2001 at 03:31:01PM -0700, Ross Boylan wrote:
> What is the recommended way to keep your responses to the 
> kernel configuration options when using the debian kernel
> package tools?

Use kernel-package to build your kernels.  It saves your .config
in /boot/config- so you always knwo the compile options
to the installed kernel.

> I built a 2.4.2 kernel, and would now like to build 2.4.6.

Surprise!  2.4.7 is out.

> I'm concerned that simply copying the .config file (name is from
> memory) is risky because options may get added or removed (even if it
> happens to be safe for the 2.4.2 -> 2.4.6 move).

Copy your old kernel's config the new linux kernel top level source 
directory, with the name .config, then type "make oldconfig".  It 
will skip all answers that were asked already when configuring the 
last kernel, but for all new options, the questions are asked.

> Do the package install scripts do anyhting clever (seems unlikely
> since they don't know where I actually built the kernal)?

There are so many compelling reasons to use kernel-package that 
they are listed in a document in /usr/share/doc/kernel-package.
Installing kernel-package will also pull in the other packages
needed to build the kernel from source.  Be sure to use dselect,
or you will miss the suggested and recommended packages.

> While I'm in kernel land, is there a way to get the alsa drivers to be
> built automatically as part of the kernel build (again, using the
> alsa-source debian package)?  I tried before, but didn't have much
> luck.  Is it possible to, e.g., build the 2.4.6 kernel with alsa
> drivers while running 2.4.2?  Or do the drivers end up targetted to
> the current kernel at the time they were built?

Read the kernel-package on how to do this with the modules-image
make-kpkg targets.  Generally, kernel drivers should match the kernel
they were compiled for, yes.

Cheers,


Joost



Re: Newbie question - XFree86 configuration - (not sure if this is the right list)g

2001-07-21 Thread Robin Gerard
 On Sat, Jul 21, 2001 at 02:21:10PM -0700, Alexandre Dornback wrote:
 > 
 >   Newbie alert.  I'm new to linux and am having issues.
 >   _X11TransSocketUNIXConnect: Can't connect: errno = 111
 > 
 >  Please HELP...  What am I missing?
 >  This is during initial configuration after installation reboot.  
 >  I clicked YES to "Do you want to create the XFree86 configuration file?"
 
 man XF86Setup  
 
 In a terminal, under root 
 - launch XF86Setup,
 - read information to configuration with XF86Setup.
 
 If your mouse doesn't work press enter, read the informations,
 press enter and use the key TAB to select:
 
 1: mouse ---   configure your mouse
 
 now with your mouse:
 
 2: keyboard    configure your ...
 3: card-   configure your ... 
 4: monitor -   configure your ...
 5: modeselection ---   configure your ...
 
 repeat this until X works fine be patient ...
 
 hth

-- 
Gerard



Re: What's happened to the task- packages?

2001-07-21 Thread Joost Kooij
On Sun, Jul 22, 2001 at 12:22:35AM +0200, Carel Fellinger wrote:
> On Sat, Jul 21, 2001 at 02:15:55PM +0200, Joost Kooij wrote:
> > On Sat, Jul 21, 2001 at 07:10:23AM -0500, Brian McGroarty wrote:
> > > What's happened to the task- packages?
> > > 
> > > Suddenly task-c-dev and the other programming-related task packages
> > > are listed as 'obsolete' on my system. Have these been replaced by
> > > something new?
> > 
> > The task-* packages in their current form have been pulled from the
> > archive.  Properly maintained metapackages are to come in their place,
> > some have already appeared.
> 
> What list should one read to be aware of such changes?

Try debian-devel, it is generally good to read that list if you are
running unstable or testing.  Supposedly, important announcements 
should be sent to debian-devel-announce, but many interesting topics
are only ever mentioned on debian-devel.

Cheers,


Joost



Re: Exim & fetchmail & procmail ...

2001-07-21 Thread Mark Wagnon
On 07/20/01 20:51:35 -0700, Cam Ellison wrote:
> I looked at what I sent, and half the message is missing.  Sorry about that 
> -- I'm still trying to get used to using emacs with mutt.
> 
> Here's another go at displaying fetchmailrc:
> 
> poll "mail.dccnet.com"
> protocol auto
> username "camellison"
> password "xx"
> set syslog
> mda "/usr/bin/procmail -d %s"
> 
> Any ideas will be gratefully received

Are you having problems filtering your mail? For me procmail was a
pain. I discovered (through this most excellent list) that exim has
filtering capability via a .forward file in your home directory. You
might want to take a look at the filter.txt.gz file in the exim docs
directory. Using that as a guideline, I was able to configure exim,
fectmail, and mutt to do what I need for email.

If you're having problems with retrieving mail, then maybe you could
run fectmail with the -v option and then inpspect the output.

I can't reælly tell what you're requesting help with. Did you make
an earlier post with more details?

-- 
Mark Wagnon <[EMAIL PROTECTED]>



Keeping kernel compilation options

2001-07-21 Thread Ross Boylan
What is the recommended way to keep your responses to the 
kernel configuration options when using the debian kernel
package tools?

I built a 2.4.2 kernel, and would now like to build 2.4.6.

I'm concerned that simply copying the .config file (name is from
memory) is risky because options may get added or removed (even if it
happens to be safe for the 2.4.2 -> 2.4.6 move).

Do the package install scripts do anyhting clever (seems unlikely
since they don't know where I actually built the kernal)?

While I'm in kernel land, is there a way to get the alsa drivers to be
built automatically as part of the kernel build (again, using the
alsa-source debian package)?  I tried before, but didn't have much
luck.  Is it possible to, e.g., build the 2.4.6 kernel with alsa
drivers while running 2.4.2?  Or do the drivers end up targetted to
the current kernel at the time they were built?



Re: What's happened to the task- packages?

2001-07-21 Thread Carel Fellinger
On Sat, Jul 21, 2001 at 02:15:55PM +0200, Joost Kooij wrote:
> On Sat, Jul 21, 2001 at 07:10:23AM -0500, Brian McGroarty wrote:
> > What's happened to the task- packages?
> > 
> > Suddenly task-c-dev and the other programming-related task packages
> > are listed as 'obsolete' on my system. Have these been replaced by
> > something new?
> 
> The task-* packages in their current form have been pulled from the
> archive.  Properly maintained metapackages are to come in their place,
> some have already appeared.

What list should one read to be aware of such changes?

-- 
groetjes, carel



Re: Driver Update Disk

2001-07-21 Thread Joost Kooij
On Thu, Jul 19, 2001 at 05:36:06PM -0400, Manoj Jose wrote:
> Can we update a driver at the time of dabian installation?.. 
> If yes how we can create driver update disk from source files.. 
> Any idea?.. 

Try asking that question on debian-boot@lists.debian.org, where
the people who know about this are more specifically reachable.

Cheers,


Joost



Re: dist-upgrade from potato to woody

2001-07-21 Thread Joost Kooij
On Sat, Jul 21, 2001 at 09:17:27PM +0100, Graham Ward wrote:
> I just tried to upgrade my system from potato to woody.  I believe
> these are the correct steps:
> 
>   (1) replace "potato" with "woody" everywhere in /etc/apt/sources.list
> 
>   (2) apt-get update
> 
>   (3) apt-get dist-upgrade.
> 
> When I do step (3), I see (among other things) the message
> 
> WARNING: The following essential packages will be removed
> This should NOT be done unless you know exactly what you are doing!
>   sysvinit util-linux (due to sysvinit) 
> 544 packages upgraded, 87 newly installed, 36 to remove and 6 not 
> upgraded.
> Need to get 348MB of archives. After unpacking 173MB will be used.
> You are about to do something potentially harmful
> 
> On the face of it, removing sysvinit looks like a bad idea, so I
> stopped at this point.  Has something gone horribly wrong with my
> set-up, or is this in fact harmless?

If you go ahead you system will most likely be hosed.  Why aren't you 
using dselect?  Both the dpkg and apt-get manual suggest you use dselect
as a frontend to manage the package selections.  For complex operations
like distribution upgrades, you should really always use dselect.

Here's what I would do in your current situation, I've added step (-1)
to get your system back to its initial state:

  (-1) reset the available database to stable: place back "potato" 
  everywhere in /etc/apt/sources.list and run:
dpkg --clear-avail

  (0) prepare for the upgrade by running:
dselect update select
  in the select screen, verify that you have no current unresolved
  dependencies and that your package selections are sane, eg all
  packages marked for installation are installed and at their latest
  versions.

  (1) replace "potato" with "woody" everywhere in /etc/apt/sources.list

  (2) update available list and verify the new dependencies by running:
dselect update select
  In the selections screen, don't add new packages yourself, just
  press enter and let dselect ponder on the current selections.
  As there have been some replacements in packages and some changed
  dependencies between packages, dselect will prompt you with a list
  of packages involved in an unresolved dependency.  Investigate the
  suggestions by dselect and accept these if reasonable.

  (3) download and install upgraded packages by running:
dselect install

Most dselect operations can also be done from the dselect main menu, 
which can be started by running dselect without command line arguments.

Cheers,


Joost



hylafax

2001-07-21 Thread Matt Fair
Hello,
I setup HylaFAX-server, and it is running.  I also added a faxmodem to 
/dev/ttyS0 with faxaddmodem.  It detected a class 1 modem and created a file 
called config.ttyS0.  The problem I have is when I try to send a fax to that 
computer, I dial the number that the modem is hooked up to, but it doesn't 
pick up, it just keeps on ringing.
What do I have to do to make the modem pickup and receive the fax?  In my 
/etc/inittab file I added t0:23:respawn:/usr/sbin/faxgetty ttyS0 , but I 
don't know if this is right.
Any help would be greatly appreciated.
Thanks,
Matt



Re: dselect: improper dependancy resolution behavior?

2001-07-21 Thread Noah Meyerhans
On Sat, Jul 21, 2001 at 10:34:15AM -0700, Gladimir wrote:
> 
> I am hand selecting my packages, but I am having a problem with libncurses4
> and libncurses5.  Until I know more about this, I suppose it won't harm
> anything to just install both versions.  However, if I try to remove
> libncurses4, the dependancy resolution also forces the removal of nvi.

Is there some specific reason that you don't want libncurses4?  It is
specifically listed as a dependency in nvi's meta-data.  It's quite
possible that nvi really does need that version of the library.  There
is no harm in having both versions installed at once.

You may wish to install vim, which is an enhanced version of vi.  It
does not require libncurses4, but version 5.  Be sure you install the
vim-rt package in addition to vim.

noah

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


pgpHiyMuOrTNL.pgp
Description: PGP signature


Newbie question - XFree86 configuration - (not sure if this is the right list)

2001-07-21 Thread Alexandre Dornback

  Newbie alert.  I'm new to linux and am having issues.
  _X11TransSocketUNIXConnect: Can't connect: errno = 111

 Please HELP...  What am I missing?
 This is during initial configuration after installation reboot.  
 I clicked YES to "Do you want to create the XFree86 configuration file?"
 
 If this is not the appropriate list, please direct me to the correct one.
 
  Thanks.

  Alex




Re: [users] Mail from OE to linux and more

2001-07-21 Thread Brian Nelson
On Sat, Jul 21, 2001 at 02:06:20PM -0400, D-Man wrote:
> On Sat, Jul 21, 2001 at 03:31:54AM -0700, Vineet Kumar wrote:
> | * Mark Wagnon ([EMAIL PROTECTED]) [010709 15:31]:
> | > Do you mean "with" or "without"? I'm a little confused. Mutt has some
> | > option to change the from header for outbound mail. I don't use it, so
> | 
> | (judicious use of hedgeclippers above)
> | 
> | In order to set the from address that mutt wil use, try setting the
> | "from" variable. You can have this do fun things for mailing lists
> 
> FYI, the "from" command doesn't work for me.  Instead I use the
> "my_hdr" command like :

This line is probably in your /etc/Muttrc, which is why the from
command won't work:

# don't generate a From header
unset use_from

For some strange reason, that's the default setting for mutt-1.3.x.

> # used to make the From: header correct.
> my_hdr From: [EMAIL PROTECTED] (D-Man)
> 
> At the moment I don't really need it (because I am sending directly
> from that account) but if I send stuff from my Linux box I need it or
> else the MTA will make my linux account the "from" (and thus the
> default reply-to) address which won't work.
> 
> HTH,
> -D
> 
> 

-- 
Brian Nelson <[EMAIL PROTECTED]>



modem troubles

2001-07-21 Thread Martin F. Krafft
hi all,

i got an external modem, it's working fine on my laptop on ttyS0, but
when i hook it up to a particular desktop machine (486DX2-66), it's
behaving weirdly. i tried using wvdialconf and minicom, knowing that
the modem is at ttyS0.

furthermore, setserial configures it fine:

embryo:/dev# setserial -v /dev/ttyS0
/dev/ttyS0, UART: 16550A, Port: 0x03f8, IRQ: 4

but wvdialconf fails:

embryo:/dev# wvdialconf /etc/wvdial.conf 
Scanning your serial ports for a modem.

ttyS0<*1>: ATQ0 V1 E1 -- ATQ0 V1 E1 -- ATQ0 V1 E1 -- nothing.
ttyS: Inappropriate ioctl for device
Port Scan<*1>: SS1   S2   S3   

Sorry, no modem was detected!  Is it in use by another program?


nevertheless, both, during the initialization phase of minicom, where
i send ATQ0 V1 E1 S0=0 &C1 &D2 S11=55 +FCLASS=0 (which is the inint
string that wvdialconf gave me on the laptop), and during the
detection of wvdialconf on the desktop, the SD and RD lights on the
modem flash for half a second or so.

three other lights on the modem are on: MR HS TR

furthermore, i use a RS232 line tester in between, and while the modem
is not in use, all its lights are on:
  green led: TD RD CD
  red led:   RTS CTS DSR DTR

and during an initialization phase, the following change:
  green led: RTS DTR CD
  red led:   TD CTS DSR
  off:   RD


if i echo anything redirected to /dev/ttyS0, the terminal just sits
there as if writing to a pipe that isn't being read from.

and i am doing all this as root, btw.

so i know that the modem works, but i can't get it to work on this
specific machine...

the bios has ttyS0 enabled on 0x3f8 with IRQ 4, and the flashing
lights are telling me that there is something going on...

i bet it has to do with setserial...

how can i fix this?

martin;  (greetings from the heart of the sun.)
  \ echo mailto: !#^."<*>"|tr "<*> mailto:"; [EMAIL PROTECTED]
-- 
in africa some of the native tribes have a custom of beating the
ground with clubs and uttering spine chilling cries. anthropologists
call this a form of primitive self-expression. in america they call
it golf.



Re: question

2001-07-21 Thread dude


What kind of mouse, what kind of desktop?



On Sat, 21 Jul 2001, John Matters wrote:

> Date: Sat, 21 Jul 2001 10:36:20 -0700
> From: John Matters <[EMAIL PROTECTED]>
> To: debian-user@lists.debian.org
> Subject: question
> Resent-From: debian-user@lists.debian.org
>
> i am having a problem.  my mouse is not responding at all.  When my brother
> left (he installed and configured everything) it was working, and then it
> just stopped suddenly.  its not that the mouse is not plugged in or anything
> like that.  I did get it to respond once, but the second that i moved the
> mouse, it would automaticly move to the upper-lefthand corner of the screen.
>
>
>  ~John~
>
> _
> Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
>
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
>
>



Re: [OT} Linux and reiserfs

2001-07-21 Thread MaX in the FaX

Frank Zimmermann wrote:


MaX in the FaX wrote:





Or you can find them here, worked very smooth
 for me:






yes, but the number of drivers is very poor (1 disk vs 4 disks).

ciao,
MaX




_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com




dist-upgrade from potato to woody

2001-07-21 Thread Graham Ward

Hi all,

I just tried to upgrade my system from potato to woody.  I believe
these are the correct steps:


  (1) replace "potato" with "woody" everywhere in /etc/apt/sources.list

  (2) apt-get update

  (3) apt-get dist-upgrade.


When I do step (3), I see (among other things) the message


WARNING: The following essential packages will be removed
This should NOT be done unless you know exactly what you are doing!
  sysvinit util-linux (due to sysvinit) 
544 packages upgraded, 87 newly installed, 36 to remove and 6 not upgraded.
Need to get 348MB of archives. After unpacking 173MB will be used.
You are about to do something potentially harmful


On the face of it, removing sysvinit looks like a bad idea, so I
stopped at this point.  Has something gone horribly wrong with my
set-up, or is this in fact harmless?

Thanks in advance for any guidance.


Cheers,


Graham



Re: Motherboards

2001-07-21 Thread Dan Berdine
On Sat, Jul 21, 2001 at 04:34:23PM +0100, Keith O'Connell wrote:
> Hi,

> I want a new machine, and for fun and education I am going to build
> it from scratch. I have pretty much decided on an Athlon 1.2GHz. I
> will run a small partition with Windows Me on it, but it will
> predominantly be up in Debian.
>
> I thought I would consult here as to the motherboard that will give
> the least compatibility problems with the various chip sets
> available and for on-board sound.

I'v got an FIC AZ-11.  From my experience, Iw ould suggest not getting 
it.  It works fine with linux, but the first board I got was a lemon, 
something wrong with the memory slots that deteriorated to the point it 
couldn't even boot without locking up, and the replacement I got seems 
to have broken USB support (USB worked just fine witht he first one, 
now devices don't even show in /proc/bus/usb/devices).

Good luck :)

-Dan



XftConfig docs

2001-07-21 Thread Philipp Lehman
Maybe I'm searching in the wrong places, but I can't find any docs
describing format/syntax of the XftConfig files. Any pointers?

-- 
Philipp Lehman <[EMAIL PROTECTED]>



configuring cups

2001-07-21 Thread Phil Reardon
I understood cups had a script or gui for configuring cups, but I can't find 
one.  Was I wrong?  How can I configjure cups for my HP deskjet 840C?
TIA, PCR



Re: Building kernel in new dir.

2001-07-21 Thread Dana J. Laude
On Sat, Jul 21, 2001 at 01:29:05PM -0400  [EMAIL PROTECTED] wrote:
> I'm working on building a new kernel (just realized my newly 'bought' debian 
> 2.2r3 has kernel 2.2 not 2.4 for some reason). Currently, the kernel is in 
> /boot but i thought i'd install the new one in /usr/src/linux as i'm told its 
> more of a "standard" directory for kernels. I know there's a symbolic link 
> (/vmlinuz) in the root directory. Are there any other sybolic links lying 
> around that i need to change? I've read about some on different tutorials on 
> the web but it seems like the only one present on my debian is /vmlinuz. Did 
> i miss any? I want to be sure b/c i'll bet it winds up in disaster if i do.

The file "vmlinuz" is a link to the actual kernel image vmlinuz-
2.2.19"whatever" that resides in the /boot partition.  The actual
linux kernel "source" code goes into the /usr/src directory.

When you compile the kernel, then you get a actual kernel image
that you then copy to the /boot directory, modify /etc/lilo.conf
to reflect the new kernel image, (this way if you screw up you
can still boot off of your OLD image) and run /sbin/lilo.

The following link explains everything in detail, follow it
and all shall be ok. ;)

http://www.linuxnewbie.org/nhf/intel/compiling/kernelcomp.html

Dana



Can run testing with slow net connect?

2001-07-21 Thread David A. Rogers
I've got a 56k modem on my home machine.  Is it feasible/reasonable for me
to run testing on this machine?  I've got 2.2r2 CDs.  Any guesstimates as to
how long it will take for the initial upgrade to testing?

TIA,
dar



Re: url-escaping a string in a shell script.

2001-07-21 Thread Martin F. Krafft
also sprach Joost Kooij (on Sat, 21 Jul 2001 05:27:49PM +0200):
> Of course, if you want to fake the behaviour of webbrowsers, avoid all
> standards like the plague.  Certain browsers will escape all characters
> when sending a request to the server.  Why do you think that .asp sites
> regularly have spaces in uris, without the "designer" being aware of that?

well, it's lynx that i am dealing with, so i am assuming a pretty
standard-aware browser.

anyway, i got it working by specifying all the reserved cpic
characters as the second argument to uri_escape.

thanks!

martin;  (greetings from the heart of the sun.)
  \ echo mailto: !#^."<*>"|tr "<*> mailto:"; [EMAIL PROTECTED]
-- 
have you drugged your kids today?


pgpobLLEPSB8e.pgp
Description: PGP signature


Re: obtaining the absolute path of a shell script within itself

2001-07-21 Thread Martin F. Krafft
also sprach Leonard Stiles (on Sat, 21 Jul 2001 05:45:57PM +0200):
> abspath=$(cd ${1%/*} && echo $PWD/${0##*/})

man, i *could* have figured that out myself.
beautuitous, as i like to say

thanks!

martin;  (greetings from the heart of the sun.)
  \ echo mailto: !#^."<*>"|tr "<*> mailto:"; [EMAIL PROTECTED]
-- 
i took an iq test and the results were negative.


pgpHr2jEj8pk7.pgp
Description: PGP signature


Re: "No such file or directory" - huh?!

2001-07-21 Thread Joost Kooij
On Sat, Jul 21, 2001 at 08:34:48PM +0200, Gary Jones wrote:
> ash-ock:/etc/init.d# ./firewall
> bash: ./firewall: No such file or directory
> ash-ock:/etc/init.d# ./hostname.sh
> ash-ock:/etc/init.d# more ./firewall
> #! /bin/sh
> # Script to control packet filtering.
> [snip]
> 
> What's going on? The script file is definitely there, I can 'more' 
> it, 'jed' it, whatever I like except run it. I'm sure I'm missing 
> something real simple here...

In the script, you are using a command with a tpyo in it or that is
located in a place not in your current $PATH.

Perhaps the command is "ipchains" (/sbin/ipchains) and you are used
to doing "su" to become root?  In that case, next time do "su -", so
you get a propor root login, with all the sbins in $PATH.

Cheers,


Joost



Re: "No such file or directory" - huh?!

2001-07-21 Thread Tim Moss

Gary Jones wrote:


Okay, now I'm /really/ confused! Who nicked my firewall script?!

Have a read of this (some snipped for brevity):

ash-ock:/etc/init.d# ls -la
total 60
drwxr-xr-x   2 root root 1024 Jul 21 19:26 .
drwxr-xr-x  40 root root 3072 Jul 21 19:24 ..
-rw-r--r--   1 root root  840 Jan 12  1999 README
-rwxr-xr-x   1 root root 2869 Nov  2  1998 alsa
-rwxr-xr-x   1 root root 1683 Jan  8  1999 bootmisc.sh
-rwxr-xr-x   1 root root  728 Jun 21  1998 checkfs.sh
-rwxr-xr-x   1 root root 2776 Jan 12  1999 checkroot.sh
-rwxr-xr-x   1 root root  835 Apr 11  1999 cron
-rwxr-xr-x   1 root root 1046 Jul 21  1999 exim
-rwxr-xr-x   1 root root  765 Jul 21 19:26 firewall
[snip]

ash-ock:/etc/init.d# ./firewall
bash: ./firewall: No such file or directory
ash-ock:/etc/init.d# ./hostname.sh
ash-ock:/etc/init.d# more ./firewall
#! /bin/sh
# Script to control packet filtering.
[snip]

What's going on? The script file is definitely there, I can 'more' 
it, 'jed' it, whatever I like except run it. I'm sure I'm missing 
something real simple here...







The "No such file" could be referring to the shebang line. Does /bin/sh 
exist? You may also want to remove the space in the shebang line and 
make it just say

#!/bin/sh
I'm not sure if a space there is "legal"



Re: Exim & fetchmail & procmail ...

2001-07-21 Thread Cam Ellison
This probably made no sense to anyone.

Sorry for wasting the bandwidth -- unbeknownst to me, the first message never 
made it.


* Cam Ellison ([EMAIL PROTECTED]) wrote:
> I looked at what I sent, and half the message is missing.  Sorry about that=
>  -- I'm still trying to get used to using emacs with mutt.
> 
> Here's another go at displaying fetchmailrc:
> 

I still have a problem, but I'm making slow progress

Cam

-- 
Cam Ellison Ph.D. R.Psych.
From Roberts Creek on B.C.'s incomparable Sunshine Coast
[EMAIL PROTECTED]
[EMAIL PROTECTED]



"No such file or directory" - huh?!

2001-07-21 Thread Gary Jones
Okay, now I'm /really/ confused! Who nicked my firewall script?!

Have a read of this (some snipped for brevity):

ash-ock:/etc/init.d# ls -la
total 60
drwxr-xr-x   2 root root 1024 Jul 21 19:26 .
drwxr-xr-x  40 root root 3072 Jul 21 19:24 ..
-rw-r--r--   1 root root  840 Jan 12  1999 README
-rwxr-xr-x   1 root root 2869 Nov  2  1998 alsa
-rwxr-xr-x   1 root root 1683 Jan  8  1999 bootmisc.sh
-rwxr-xr-x   1 root root  728 Jun 21  1998 checkfs.sh
-rwxr-xr-x   1 root root 2776 Jan 12  1999 checkroot.sh
-rwxr-xr-x   1 root root  835 Apr 11  1999 cron
-rwxr-xr-x   1 root root 1046 Jul 21  1999 exim
-rwxr-xr-x   1 root root  765 Jul 21 19:26 firewall
[snip]

ash-ock:/etc/init.d# ./firewall
bash: ./firewall: No such file or directory
ash-ock:/etc/init.d# ./hostname.sh
ash-ock:/etc/init.d# more ./firewall
#! /bin/sh
# Script to control packet filtering.
[snip]

What's going on? The script file is definitely there, I can 'more' 
it, 'jed' it, whatever I like except run it. I'm sure I'm missing 
something real simple here...

-- 
Gary
Debian 2.1r4 (kernel v2.0.39); XFree86 3.3.6
If I have seen farther than others, it is because I was standing on
the shoulders of giants. (Isaac Newton)



Re: MUA with html support

2001-07-21 Thread D-Man
On Fri, Jul 20, 2001 at 03:16:55PM -0700, Duncan Watson wrote:
| Hi all,
| 
| I am a current mutt/fetchmail user and have been for two years or so.  I
| use Linux at home and at work and keep about 630MB of mail in various
| maildirs.  I use mail to keep all sorts of notes and crap as well.
| 
| Overall I love mutt and am greatly attached to many little features of it,
| BUT I am constantly getting mail that only looks good/readable in html
| format (including color).  Also there is some weird interaction between
| fetchmail and the local exchange server that causes exchange to strip the
| rtf portion of messages that I download.  In other words I get exchange's
| plain text conversion only.  This doesn't affect on of my co-workers that
| uses kmail (both as an MUA and half an MTA (download only)).
| 
| So I am looking for either a super duper lynx-like tool that can render
| html attachments pretty and colorful or a new MUA that has similiar
| features.

The links in woody can handle color (at least to some extent), you
might want to try that.  For sending HTML mail you could try something
like gnp (It is an editor intended for HTML) and set the Content-Type:
header yourself.  

| I was tempted to look at balsa but the package is currently broken
| and downloading half of gnome always annoys me.

Balsa has a fairly nice GUI and can render HTML mail (and images,
IIRC) but it doesn't handle mailing lists (like mutt does) and I don't
think it can send HTML mail.

HTH,
-D



Re: MUA with html support

2001-07-21 Thread D-Man
On Sat, Jul 21, 2001 at 11:56:31AM +0200, Alexander Steinert wrote:
| > I do it with a combination of a line in my muttrc and a couple
| > of lines in my /etc/mailcap 
| > 
| > first put this line in /etc/mailcap:
| > 
| > text/html; /usr/bin/links -dump '%s'; copiousoutput; description=HTML Text; 
nametemplate=%s.html
| 
| Which version of links supports -dump?

The one in woody does (I don't have the number right now).  Version
0.84 (in potato) doesn't.  The woody version also has better color
support too.

| > I've also got auto_view lines and corresponding mailcap lines
| > for postscript, tex, and M$ word!!  (antiword).
| 
| Could you send the ones for ps and tex, please?

For PS I would use ggv (GNOME Ghostview).  I'd like to know how you
handle (La)TeX files without having the .aux .log and other temp stuff
laying around.  Also, what do you use for M$Word?

-D



Re: Hardware Question

2001-07-21 Thread D-Man
On Sat, Jul 21, 2001 at 02:06:29PM -0400, Allan M. Wind wrote:
| On 2001-07-21 13:17:14, Adam Bell wrote:
| 
| > What I would like to do is have one box, running Debian, which has a
| > constant routable IP (via cable or some other sort-of high speed protocol)
| > and a normal domain name.
| 
| You could have someone serve dns for your domain, ideally you would
| want someone to do secondary dns for you anyways.  Alternatively, you
| could consider something like dyndns.org which will give you a
| hostname in their domain for free (donations are encouraged).

Thanks, I'll have to look this place up :-).

| > This will act as a mail server, samba server, FTP server, and
| > internet sharing gateway for like four or five machines sitting
| > behind it (and also make info on it available to the owners of these
| > machines while they are wandering the world via IMAP).
| 
| I suspect that you will not be putting a heavy load on any of these,
| so a low-end machine (celeron/duron) should do just fine.

Yeah, it all depends on the load.  If you will do a lot of work, make
sure you have a fast disk first.

| > So my question is this:
| > 
| > What kind of hardware, and in what configuration, would be best to throw
| > at this problem?  What I'm assuming is that I'll need an interface for the
| > modem, an interface going into a hub, and interfaces for all the clients.
| > Is there a better way to do this?
| 
| wan --- gw --- hub  pc1
|  \--- pc2
|   \-- pc3
| 
| You might be able to find a switch not much more expense than a hub
| these days, but you should go with 100 Mb/s network (cables, network
| cards and hub/switch).

I'm having good experiences with the D-Link DSS-8+.  It is an 8 port
(plus 1 uplink) 10/100Mbps ethernet switch.  I got it from CompUSA for
~$80.  NICs are fairly cheap -- you can get good
Linksys/Netgear/D-Link NICs for around $20 each.  No-name NICs are
fine also if you know what chipset they use (I have one, its a
rtl8139).

Routing is trivial to setup with the 2.2 kernels -- simply 'apt-get
install ipmasq'.  I don't know about the 2.4 kernels (other than they
use iptables instead of ipchains).

-D



Re: Motherboards

2001-07-21 Thread D-Man
On Sat, Jul 21, 2001 at 04:34:23PM +0100, Keith O'Connell wrote:
| Hi,
| 
| I want a new machine, and for fun and education I am going to build it
| from scratch. I have pretty much decided on an Athlon 1.2GHz. I will run
| a small partition with Windows Me on it, but it will predominantly be up
| in Debian.
| 
| I thought I would consult here as to the motherboard that will give the
| least compatibility problems with the various chip sets available and
| for on-board sound.

I have a Gigabyte motherboard for my Duron 750 processor (it should be
able to handle Athlons as well).  It is based on the AMD 750 chipset
and I have had no problems with it (yet anyways ;-)).  The Tyan
Thunder K7 board looks cool (its a SMP board for the AthlonMP
processors and has a lot of stuff on-board) but has a price tag to
match its feature list (~$600).

On this list I have heard a lot of issues with the VIA KT133 chipset,
but I have no experience or documents to back that up.

HTH,
-D



Re: it keeps crashing

2001-07-21 Thread D-Man
On Sat, Jul 21, 2001 at 11:00:52AM +0200, Joost Kooij wrote:
| On Sat, Jul 21, 2001 at 09:43:39AM +0200, Guy Geens wrote:
| > > "Martin" == Martin F Krafft <[EMAIL PROTECTED]> writes:
| > 
| > Martin> instead, it keeps crashing on me... kernel panic in pid 0
| > Martin> "process swapper." however, memtest86 reports no errors for
| > Martin> the RAM chip, and badblocks, run with the destructive write
| > Martin> option, reports no bad blocks within the swap partition.
| > 
| > My guess is that you simply have not enough memory.
| 
| AFAIK 8MB is enough to boot linux, or it should be.

I can verify this.  I am using an old Gateway2000 i486sx, 25MHz with
8MB RAM right now to write this.  I have ~32MB swap.  It is running as
a router for my dial-up connection, but it also has a keyboard and
monitor so I am using it for ssh-ing to school to read my mail (and
write this).  I have kernel 2.2.19 and have no stability problems
(only performance problems :-), for example when I use dpkg)

-D



Re: [users] Mail from OE to linux and more

2001-07-21 Thread D-Man
On Sat, Jul 21, 2001 at 03:31:54AM -0700, Vineet Kumar wrote:
| * Mark Wagnon ([EMAIL PROTECTED]) [010709 15:31]:
| > Do you mean "with" or "without"? I'm a little confused. Mutt has some
| > option to change the from header for outbound mail. I don't use it, so
| 
| (judicious use of hedgeclippers above)
| 
| In order to set the from address that mutt wil use, try setting the
| "from" variable. You can have this do fun things for mailing lists

FYI, the "from" command doesn't work for me.  Instead I use the
"my_hdr" command like :

# used to make the From: header correct.
my_hdr From: [EMAIL PROTECTED] (D-Man)

At the moment I don't really need it (because I am sending directly
from that account) but if I send stuff from my Linux box I need it or
else the MTA will make my linux account the "from" (and thus the
default reply-to) address which won't work.

HTH,
-D



Re: Hardware Question

2001-07-21 Thread Allan M. Wind
On 2001-07-21 13:17:14, Adam Bell wrote:

> What I would like to do is have one box, running Debian, which has a
> constant routable IP (via cable or some other sort-of high speed protocol)
> and a normal domain name.

You could have someone serve dns for your domain, ideally you would
want someone to do secondary dns for you anyways.  Alternatively, you
could consider something like dyndns.org which will give you a
hostname in their domain for free (donations are encouraged).

> This will act as a mail server, samba server, FTP server, and
> internet sharing gateway for like four or five machines sitting
> behind it (and also make info on it available to the owners of these
> machines while they are wandering the world via IMAP).

I suspect that you will not be putting a heavy load on any of these,
so a low-end machine (celeron/duron) should do just fine.

> So my question is this:
> 
> What kind of hardware, and in what configuration, would be best to throw
> at this problem?  What I'm assuming is that I'll need an interface for the
> modem, an interface going into a hub, and interfaces for all the clients.
> Is there a better way to do this?

wan --- gw --- hub  pc1
   \--- pc2
\-- pc3

You might be able to find a switch not much more expense than a hub
these days, but you should go with 100 Mb/s network (cables, network
cards and hub/switch).

> Also, what salient packages will be needed?  Here's my list so far:
> dhcpd, imapd (courier or uw?), proftpd, fingerd, exim, bind.  I know there
> must be things missing!  :)

You might want to run both dhcp client and server on the gw (server
should only bind to internal itnerface).  Spend some quality time
looking at the packet filtering in the kernel and setting up proper
logging of your system.  (bsd) ftp should do just as well as proftpd,
as you really should use ssh/scp for non-anonymous file transfers.
postfix is nice also (re exim).  Probably want a web server on there
as well (e.g. apache).


/Allan
-- 
Allan M. Wind   email: [EMAIL PROTECTED]
P.O. Box 2022   finger: [EMAIL PROTECTED] (GPG/PGP)
Woburn, MA 01888-0022
USA


pgpPQybVENyGv.pgp
Description: PGP signature


Re: Debian books

2001-07-21 Thread Sam Varghese
On Sat, Jul 21, 2001 at 07:45:10AM -0700, Kurt Lieber wrote:
> "Running Linux" for instance, tells you that to configure your TCP/IP
> address, you should modify the /etc/rc.d/rc.inet1 file.  At least on my
> Debian box, that's completely wrong - I don't even have an rc.d
> directory, let alone an  rc.inet1 file.  (the file you want, BTW, is
> /etc/network/interfaces)

That's because the authors have based it on the oldest distribution
- Slackware Linux, which has a BSD-style init system unlike Debian
and all the others which follow the System V init system.

> That said, both books were essential in my ability to get two Debian
> boxes up and running, so they do provide some value.  Just understand
> that you'll have to take the concepts they give you and then go dig up
> the real command/file/location in the online Debian documentation.

For a raw newbie, Bill McCarty's book is still pretty good even though
it was written for Slink. And then there's tons of documentation on the
Net plus a very active user community.

Sam
-- 
(Sam Varghese)
http://www.gnubies.com



Re: question

2001-07-21 Thread Ari Pollak
Since I assume you're talking about X, are you sure you're using the
right mouse protocol (e.g. ExplorerPS/2..)? Is it a USB or PS/2 mouse?

On Sat, Jul 21, 2001 at 10:36:20AM -0700, John Matters wrote:
> i am having a problem.  my mouse is not responding at all.  When my brother 
> left (he installed and configured everything) it was working, and then it 
> just stopped suddenly.  its not that the mouse is not plugged in or anything 
> like that.  I did get it to respond once, but the second that i moved the 
> mouse, it would automaticly move to the upper-lefthand corner of the screen.
> 
> 
>  ~John~
> 
> _
> Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

-- 
   ___   ___ 
  / _ | / _ \   Ari Pollak - [EMAIL PROTECTED] - www.aripollak.com
 / __ |/ ___/  
/_/ |_/_/ Taxes still too low? Vote democrat in 2000



Re: Hardware Question

2001-07-21 Thread Sam Varghese
On Sat, Jul 21, 2001 at 01:17:14PM -0400, Adam Bell wrote:
> What kind of hardware, and in what configuration, would be best to throw
> at this problem?  What I'm assuming is that I'll need an interface for the
> modem, an interface going into a hub, and interfaces for all the clients.
> Is there a better way to do this?

I run a server which provides 24/7 Net connectivity off a
permanent modem connection. It serves as mail and web server and there
are five machines on my LAN. The machine is a P60,
32 meg RAM, one gig drive. Runs potato. I use my ISP's DNS.

> Also, what salient packages will be needed?  Here's my list so far:
> dhcpd, imapd (courier or uw?), proftpd, fingerd, exim, bind.  I know there
> must be things missing!  :)

Pick the basic server package when installing and add whatever
you want later. 

> Finally, is there a nice, easy (secure!) web interface for an IMAP store
> that can be dropped in easily?

Webmin.

Sam
-- 
(Sam Varghese)
http://www.gnubies.com



Re: MTAs: rejecting senders with exim and delivering responses to rejected senders

2001-07-21 Thread Sam Varghese
On Sat, Jul 21, 2001 at 04:57:23PM +0200, Hans Wilmer wrote:
> Hi,
> 
> I'm having some trouble setting up my MTAs. The situation is as
> follows:
> 
> 
> Server: provides dial-up connection to ISP, runs qmail
>   qmail sends any non-local mail using smtp.SoftHome.net
> as remote SMTP server
>   The remote SMTP server accepts mail only when envelope-sender
> and From: line are set to my mail-address
> ([EMAIL PROTECTED]).
>   To get mail from my accounts, I'm running fetchmail to fetch it.
> 
> Workstation: runs exim
>exim sends any non-local to Server, using it as a relay
>exim does address-rewriting, using /etc/email-addresses

I have a simple question here - if you are able to block mail at the
server level, why do you need to again block stuff from your workstation?

Sam

-- 
(Sam Varghese)
http://www.gnubies.com



Re: Building kernel in new dir.

2001-07-21 Thread Adam Bell
Er, I don't know if you want to do what you think you want to do. :)

To answer your original question, no you found the only one, but what
_really_ matters is where lilo thinks the kernel is.  Wherever you put it
and your system map (also generated when you compile the kernel) make sure
to edit /etc/lilo.conf and then RUN /sbin/lilo BEFORE you reboot.  might
want to test the files to make sure they are where you think, too.

BUT, you might be a little confused.  /boot _is_ the "standard" place to put
kernels which are compiled.../usr/src/linux is the standard place to put
kernel _source_ that you are working with (hence the "src").  Of course, you
can put your images anywhere you want, but I would keep them in /boot unless
you know what you are doing.

--adam b.

- Original Message -
From: <[EMAIL PROTECTED]>
To: 
Sent: Saturday, July 21, 2001 1:29 PM
Subject: Building kernel in new dir.


> I'm working on building a new kernel (just realized my newly 'bought'
debian
> 2.2r3 has kernel 2.2 not 2.4 for some reason). Currently, the kernel is in
> /boot but i thought i'd install the new one in /usr/src/linux as i'm told
its
> more of a "standard" directory for kernels. I know there's a symbolic link
> (/vmlinuz) in the root directory. Are there any other sybolic links lying
> around that i need to change? I've read about some on different tutorials
on
> the web but it seems like the only one present on my debian is /vmlinuz.
Did
> i miss any? I want to be sure b/c i'll bet it winds up in disaster if i
do.
>
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact
[EMAIL PROTECTED]
>
>
>



Re: Wherer is dselect putting the kernel-source_2.4.6.deb

2001-07-21 Thread Joost Kooij
On Sat, Jul 21, 2001 at 11:14:31AM -0500, John Foster wrote:
> I have been having problems getting a new kernel compiled. I have
> already posted a query about whether dpkg or make-kpkg is broke in
> testing with no response. I downloaded a raw linux-2.4.6.tar.gz from
> kernel.org, put it in /usr/src/linux and tried to compile with make-kpkg
> buildpackage. I have never had a problem with this working before, but
> it faild 3 times. I then used dselect to install the new
> kernel-source.2.4.6.deb file from Debian, expecting it to install in
> /usr/src/kernel-source-2.4.6 but although dselect says it is installed
> on my system I can not find it or any directory matching *kernel-source*
> using mc find except in /var/tmp which are markers for dpkg. I did see
> the /kernel-source-2.4.6_docs installed from my installation from
> dselect. Anyone have any ideas here???

  dpkg -L kernel-source-2.4.6

Cheers,


Joost



question

2001-07-21 Thread John Matters
i am having a problem.  my mouse is not responding at all.  When my brother 
left (he installed and configured everything) it was working, and then it 
just stopped suddenly.  its not that the mouse is not plugged in or anything 
like that.  I did get it to respond once, but the second that i moved the 
mouse, it would automaticly move to the upper-lefthand corner of the screen.



~John~

_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp



dselect: improper dependancy resolution behavior?

2001-07-21 Thread Gladimir

I am hand selecting my packages, but I am having a problem with libncurses4
and libncurses5.  Until I know more about this, I suppose it won't harm
anything to just install both versions.  However, if I try to remove
libncurses4, the dependancy resolution also forces the removal of nvi.

It is my understanding the nvi is the linux version of vi, which I prefer to
use above any other editor.  Will nvi work with libncurses5?  If so, will it
hurt anything to 'manually' force the removal of libncurses4 in the future?

dselect - main package listing
## the following packages are installed and marked for install:

 *** Req base  libncurses5 5.0-6.0pota
 *** Req base  ncurses-base 5.0-6.0pota
 *** Req base  ncurses-bin 5.0-6.0pota

## the following packages are not installed, but marked for install:
  n* Imp oldlibs  libncurses4 4.2-9

  n* Std admin  ncurses-term 5.0-6.0pota

Thanks in advance for your help.

- gladimir



agpgart, mga and Matrox G400 woes: resolution

2001-07-21 Thread Jim McCloskey

I'm following up on my own post of a day or two ago, because a Google
search suggests that the problem I asked about is quite a common one.

It was this: under X 4.0.3 (debian testing) I couldn't get hardware
acceleration enabled for my Matrox G400. The problem was that the
kernel module `agpgart' wouldn't load (because, I think, of an
unrecognized chip). That meant in turn that the `mga' module (which
depends on `agpgart') wouldn't load.

I did two things to solve this (which means, unfortunately, that I
don't know which was crucial): I upgraded to kernel 2.4.6, and I set
the CONFIG_AGP_VIA option in the kernel configuration.

Now `agpgart.o' loads without complaint, `mga.o' loads without
complaint, and direct rendering is enabled.

Hope this helps somebody,

Jim



Netscape wrapper

2001-07-21 Thread Jor-el
Hi,

I have to use a (closed-source) proprietary solution call Aventail
connect to VPN to work. On Linux, I have to prefix every command I run
with the command "avconnect" - for example : avconnect telnet 
. This has the effect of socksifying (or whatever the right term is for
VPN), the socket calls. The documentation for this product says that if I
use Netscape in this manner, not to use the wrapper script, or it can
cause Netscape to crash. Sure enough, Netscape does crash with a "bus
error" every now and then.

I looked at the wrapper script in question trying to figure out
what the heck it does, and I must confess defeat. Not only could I not
figure out the purpose of the script and what it was doing, I also have no
idea as to what exactly I am to invoke, if trying to execute Netscape
without the wrapper. Maybe there is a way to modify the wrapper itself to
do what I need to do, but I hope someone can give me a clue in that
matter.

Thanks,
Jor-el



Building kernel in new dir.

2001-07-21 Thread R1nso13
I'm working on building a new kernel (just realized my newly 'bought' debian 
2.2r3 has kernel 2.2 not 2.4 for some reason). Currently, the kernel is in 
/boot but i thought i'd install the new one in /usr/src/linux as i'm told its 
more of a "standard" directory for kernels. I know there's a symbolic link 
(/vmlinuz) in the root directory. Are there any other sybolic links lying 
around that i need to change? I've read about some on different tutorials on 
the web but it seems like the only one present on my debian is /vmlinuz. Did 
i miss any? I want to be sure b/c i'll bet it winds up in disaster if i do.



Hardware Question

2001-07-21 Thread Adam Bell
So I'm interested in setting up a small LAN, basically.

What I would like to do is have one box, running Debian, which has a
constant routable IP (via cable or some other sort-of high speed protocol)
and a normal domain name.  This will act as a mail server, samba server, FTP
server, and internet sharing gateway for like four or five machines sitting
behind it (and also make info on it available to the owners of these
machines while they are wandering the world via IMAP).

So my question is this:

What kind of hardware, and in what configuration, would be best to throw
at this problem?  What I'm assuming is that I'll need an interface for the
modem, an interface going into a hub, and interfaces for all the clients.
Is there a better way to do this?

Also, what salient packages will be needed?  Here's my list so far:
dhcpd, imapd (courier or uw?), proftpd, fingerd, exim, bind.  I know there
must be things missing!  :)

Finally, is there a nice, easy (secure!) web interface for an IMAP store
that can be dropped in easily?

Whew...lots of questions.  Feel free to point me to a HOW-TO or
something...this seems like the sort of thing that is probably documented
somewhere.  I read the DNS HOW-TO and it almost answered some of my
questions...

--adam b.



Re: NE2000-compatible network device

2001-07-21 Thread J.A.Serralheiro
its ne not ne2k. The modules ne will work on pci devices, but I think the
ne2k-pci will not work on isa. Its very likelly that U have ne on your
system as it is a very common and therefore comes withmost installations.
under debian ne.o is in
/lib/modules/2.4.5/kernel/drivers/net
where 2.4.5 is your klernel version

On Fri, 20 Jul 2001, [iso-8859-1] "Fischer, Bj?rn" wrote:

> Hi,
> I am quite a newbie to either Linux (I'm "playing" with Suse Linux for about
> half a year) and Debian (first try to install the day before yesterday) so
> please be patient with me.
> 
> But there's a Proble, that I wasnt able to solve yet: I have a NE2000
> compatible ethernet device (ISA). The german Debian GNU/Linux Handbook
> (http://www.openoffice.de/linux/buch/) said I would only have to load the
> Kernel-Module ne2k, supply it with the correct IO-Port and maybe a correct
> IRQ and it should work. But the problem is that modprobe can't find the
> module ne2k, only ne2k-pci is there. Does someone of you know an alternative
> to ne2k or can tell me where I can find the ne2k module?
> Another question: are modules stored in different .debs than the kernel or
> are they always packed together?
> 
> Many thanx for an answer
> 
> Greetings
> 
> Bj?rn Fischer
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 
> 



Re: Motherboards

2001-07-21 Thread Philipp Lehman
On Sat, 21 Jul 2001, Keith O'Connell <[EMAIL PROTECTED]> wrote:

>I want a new machine, and for fun and education I am going to build it
>>from scratch. I have pretty much decided on an Athlon 1.2GHz. I will run
>a small partition with Windows Me on it, but it will predominantly be up
>in Debian.
>
>I thought I would consult here as to the motherboard that will give the
>least compatibility problems with the various chip sets available and
>for on-board sound.

I can only comment on SDRAM based boards: all recent Athlon boards I'm
aware of are based on VIA's KT133A, they should all work. Recent 2.2.x
and 2.4.x kernels have support for the VIA 82C686 audio codec; I
haven't tried it myself but I've read many times that it works quite
well. The only thing that will probably not work is the
(pseudo-)hardware ATA RAID support present on the ATA RAID boards that
any manufacturer offers nowadays.

I've been running potato and now woody on an Epox EP-8KTA3 with an
Athlon 1000/133. It works like a charm, I highly recommend the Epox
board if you're planning to go with a SDRAM based solution. Avoid the
ATA RAID boards. They will work just fine, but I doubt you'll get
anywhere with the ATA-100/RAID controller. Wether cheapo ATA RAID is
worth the trouble anyway is quite a different question.

There's one caveat: the VIA 686b south bridge has a serious design
flaw in the way both IDE controllers interact. They communicate over
the PCI bus and heavy load on the PCI bus is known to corrupt data
when copying from the second to the first controller. VIA claims this
only happens with a SBLive! card (which put severe load on the PCI
bus), but there are reports from people observing this problem without
one. If possible, don't connect any hard drives to the second IDE
controller. And make sure you flash the latest BIOS ASAP!

HTH

-- 
Philipp Lehman <[EMAIL PROTECTED]>



Sybase Adaptive Server Enterprise 11.0.3.3 on Debian

2001-07-21 Thread Andy Chan



Anyone know how to install ASE 11.0.3.3 on Debian 
? I wanna use ASE on Debian, not on the Redhat.
 
Best Regards,
Andy


Wherer is dselect putting the kernel-source_2.4.6.deb

2001-07-21 Thread John Foster
I have been having problems getting a new kernel compiled. I have
already posted a query about whether dpkg or make-kpkg is broke in
testing with no response. I downloaded a raw linux-2.4.6.tar.gz from
kernel.org, put it in /usr/src/linux and tried to compile with make-kpkg
buildpackage. I have never had a problem with this working before, but
it faild 3 times. I then used dselect to install the new
kernel-source.2.4.6.deb file from Debian, expecting it to install in
/usr/src/kernel-source-2.4.6 but although dselect says it is installed
on my system I can not find it or any directory matching *kernel-source*
using mc find except in /var/tmp which are markers for dpkg. I did see
the /kernel-source-2.4.6_docs installed from my installation from
dselect. Anyone have any ideas here???
Thanks!
John



Re: Newly compiled kernel will not boot

2001-07-21 Thread Radar
On Sat, Jul 21, 2001 at 09:44:22AM -0400, Steve Gran wrote:
> 
> On Sat, 21 Jul 2001 10:29:13 Radar wrote:
> > I'm trying to boot a newly compiled 2.4.6 kernel in "potato" using the
> > updated
> > packages at people.debian.org/~bunk. After following steps outlined in a
> > few
> > kernel compile tutorials, I arrive at the same results, LILO says:
> > uncompressing the image. Ok...booting the kernel - and nothing. It just
> > hangs there. Prior to this, I had a newly installed woody system,
> > thinking I would not need the 
> > "Bunk" files. I used the kernel-package steps with the above results.
> > Then I 
> > wiped out the linux directory and started new without using the
> > kernel-package
> > steps. I can't think of why this is, when I compiled with no errors. I'll
> > list 
> > what steps I have taken thus far with the present setup.
> > 
> > Installed Debian 2.2 r3 from CDs and pointed sources.list to the "Bunk"
> > files
> > at people.debian.org.
> > 
> > Did an apt-get update and apt-get -u dist-upgrade
> > 
> > Installed libncurses5-dev, got the 2.4.6.tar.gz and untarred it in
> > /usr/src/
> > 
> > cd into usr/src/linux and issued: make mrproper, make menuconfig.
> > 
> > For my p166, I chose pentium pro / Pentium II. For my hard drive I chose 
> > enhanced IDE/ATA/MFM?/RLL (not sure about this). For filesystems, I used
> > defaultsfor cdrom, ext2. I chose all netfiltering/iptables options, and
> > chose my nic to
> > be loaded as a module. PPP, floppy support etc.  I'm really not sure
> > what's 
> > amiss in here.
> > 
> > I saved the config, Issued make dep, make clean, make bzImage, make
> > modules,
> > make modules_install.
> > 
> > I copied the System.map into /boot/ along with the bzImage from
> > /usr/src/linux
> > /arch/i386/boot/. I also copied vmlinux into /boot/ (not sure about that)
> > 
> > I updated lilo.conf:
> > 
> > Image=/boot/bzImage
> > root=/dev/hda2
> > label=Linux
> > read-only
> > #   restricted
> > alias=1
> > 
> > Image=/vmlinuz
> > label=LinuxOLD
> > read-only
> > #   restricted
> > alias=2
> > 
> > Everything else in lilo.conf was left as it was (except for the boot
> > message)
> > 
> > I can still boot the old kernel, the new one will always stop at ok
> > booting
> > kernel - with no error messages.
> > 
> > 
> > 
> > Maybe someone can help? My only other thought is to try this on a newer
> > machine.
> > 
> > Thanks,
> > Wayne
> > 
> 
> 
> I'm not sure - but I think you may have misidentified the processor in the
> kernel.  Try calling it a P1, and if that doesn't work, try the generic
> 386/486 config.  The first message you get at boot is CPU signals, and I
> got the same response when I misidentified a CPU (K6-2 vs. PII).
> Good luck
> Steve
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 
That was it! I was able to boot the kernel w/out errors. Thank You!

Regards,
Wayne 



Re: Newly compiled kernel will not boot

2001-07-21 Thread Howard Baker
On Sat, Jul 21, 2001 at 09:29:13AM -0500, Radar wrote:
> I'm trying to boot a newly compiled 2.4.6 kernel in "potato" using the updated
> packages at people.debian.org/~bunk. After following steps outlined in a few
> kernel compile tutorials, I arrive at the same results, LILO says: 
> uncompressing the image. Ok...booting the kernel - and nothing. It just hangs 
> there. Prior to this, I had a newly installed woody system, thinking I would 
> not need the 
> "Bunk" files. I used the kernel-package steps with the above results. Then I 
> wiped out the linux directory and started new without using the kernel-package
> steps. I can't think of why this is, when I compiled with no errors. I'll 
> list 
> what steps I have taken thus far with the present setup.
> 
> Installed Debian 2.2 r3 from CDs and pointed sources.list to the "Bunk" files
> at people.debian.org.
> 
> Did an apt-get update and apt-get -u dist-upgrade
> 
> Installed libncurses5-dev, got the 2.4.6.tar.gz and untarred it in /usr/src/
> 
> cd into usr/src/linux and issued: make mrproper, make menuconfig.
> 
> For my p166, I chose pentium pro / Pentium II. For my hard drive I chose 
> enhanced IDE/ATA/MFM?/RLL (not sure about this). For filesystems, I used 
> defaultsfor cdrom, ext2. I chose all netfiltering/iptables options, and chose 
> my nic to
> be loaded as a module. PPP, floppy support etc.  I'm really not sure what's 
> amiss in here.
> 
> I saved the config, Issued make dep, make clean, make bzImage, make modules,
> make modules_install.
> 
> I copied the System.map into /boot/ along with the bzImage from /usr/src/linux
> /arch/i386/boot/. I also copied vmlinux into /boot/ (not sure about that)
> 
> I updated lilo.conf:
> 
> Image=/boot/bzImage
>   root=/dev/hda2
>   label=Linux
>   read-only
> # restricted
>   alias=1
> 
> Image=/vmlinuz
>   label=LinuxOLD
>   read-only
> # restricted
>   alias=2
> 
> Everything else in lilo.conf was left as it was (except for the boot message)
> 
> I can still boot the old kernel, the new one will always stop at ok 
> booting
> kernel - with no error messages.

Here's my lilo.conf which works for 2.4.5.  Hope this is of some help:-

boot=/dev/hda
root=/dev/hdc3
install=/boot/boot.b
map=/boot/map
vga=normal
lba32
read-only
image=/boot/vmlinuz-2.4.5-686
root=/dev/hdc3
label=Debian2.4
initrd=/boot/initrd-2.4.5-686

Good luck.

-- 
Howard Baker
[EMAIL PROTECTED]



Re: Motherboards

2001-07-21 Thread Michael Perry
Quoting Joost Kooij on Sat, Jul 21, 2001 at 05:43:06PM +0200:
> On Sat, Jul 21, 2001 at 04:34:23PM +0100, Keith O'Connell wrote:
> > I thought I would consult here as to the motherboard that will give the
> > least compatibility problems with the various chip sets available and
> > for on-board sound.
> 
> I've yet to hear any bad stories about motherboards for athlon
> cpus with chipsets from amd.  personally, I've not had any problems
> with motherboards with via chipsets, but there are some rumors
> out there about stability problems when running a kernel compiled
> with athlon-specific bulk move instructions.
> 
> Cheers,
> 
> 
> Joost
> 
> 
There is a lot of information about issues with VIA chipsets especially the
KT133.  If you peruse the kernel sources, there are drivers and patches
which offset the problems with VIA and ide drives.  Also check out kernel
mailing list archives.  That said, I run two systems roughly comparable with
the Via/southbridge.  Be sure to read over the via driver information in
/usr/src/linux/driver/ide/via* also.

I run these systems with no problems whatsoever now.  Both running the 2.4.7
kernel with via patches enabled and compiled for the athlon chipset.

-- 
Michael Perry
[EMAIL PROTECTED]




Re: obtaining the absolute path of a shell script within itself

2001-07-21 Thread Leonard Stiles
"Martin F. Krafft" <[EMAIL PROTECTED]> writes:

> how can i obtain the absolute path of the script within itself,
>
>   echo `pwd`/$0,
>
> returns a POSIX-valid path like
>   /home/madduck/edu/swat/../../bin/myscript
>
> but this method only works for relative paths. if i call myscript as
> /home/madduck/bin/myscript then this method yields
>
>   /home/madduck/edu/swat//home/madduck/bin/myscript
> 
> which is a different path (and most likely invalid).
> 
> i *could* check the first character for a '/' and act accordingly, but
> there's got to be an easier way...

I'm not sure what you mean by easier (shorter, i assume), but that is
certainly not a bad way, as it can be implemented entirely using shell
builtins:

case $0 in
  /*) abspath=$0 ;;
  *) abspath=$PWD/$0 ;;
esac

echo $abspath

Off hand, I can think of only one alternative, which is quite elegant
and also normalises the pathname (removing .. and .):

abspath=$(cd ${0%/*} && echo $PWD/${0##*/})

(i.e. cd to the directory component of $0 and append the basename of
$0 to the PWD)

Interestingly, Plan9 contains a command which does exactly what you
want; see http://www.cs.bell-labs.com/magic/man2html/1/cleanname>

-- 

Leonard Stiles <[EMAIL PROTECTED]>



Re: Motherboards

2001-07-21 Thread Joost Kooij
On Sat, Jul 21, 2001 at 04:34:23PM +0100, Keith O'Connell wrote:
> I thought I would consult here as to the motherboard that will give the
> least compatibility problems with the various chip sets available and
> for on-board sound.

I've yet to hear any bad stories about motherboards for athlon
cpus with chipsets from amd.  personally, I've not had any problems
with motherboards with via chipsets, but there are some rumors
out there about stability problems when running a kernel compiled
with athlon-specific bulk move instructions.

Cheers,


Joost



Cannot load kde panel

2001-07-21 Thread Anthony Fox

Hello,

This morning, I updated my kernel to 2.4.7.  I rebooted and attempted
to log into a kde session.  The panel (kicker) attempted to start up
and aborted.  I cannot get a panel running.  My .xsession-errors is as
follows:

_KDE_IceTransmkdir: Owner of /tmp/.ICE-unix should be set to root
DCOPServer up and running.
Property 'Export' is defined multiple times (KOfficeFilter)
Property 'Import' is defined multiple times (KOfficeFilter)
kdecore (KLibLoader): WARNING: KLibrary: /usr/lib/libkdecore.so.3:
undefined symbol: init_spellchecking
kdecore (KLibLoader): WARNING: KLibrary: /usr/lib/libkdecore.so.3:
undefined symbol: init_audiocd
_IceTransmkdir: Owner of /tmp/.ICE-unix should be set to root
file format extension /usr/share/sounds/ unsupported
file format extension /usr/share/sounds/ unsupported
file format extension /usr/share/sounds/ unsupported
file format extension /usr/share/sounds/ unsupported
file format extension /usr/share/sounds/ unsupported
file format extension /usr/share/sounds/ unsupported
file format extension /usr/share/sounds/ unsupported
file format extension /usr/share/sounds/ unsupported
kicker: crashHandler called
DCOP aborting call from 'anonymous-576' to 'kicker'
ERROR: KUniqueApplication: DCOP communication error!
file format extension /usr/share/sounds/ unsupported
file format extension /usr/share/sounds/ unsupported
file format extension /usr/share/sounds/ unsupported
AlarmApp::newInstance()
AlarmDaemon::AlarmDaemon()
AlarmDaemon::reloadCal(): ''
AlarmApp::newInstance()
file format extension /usr/share/sounds/ unsupported
DCOP aborting call from 'anonymous-590' to 'kicker'
ERROR: KUniqueApplication: DCOP communication error!
file format extension /usr/share/sounds/ unsupported
file format extension /usr/share/sounds/ unsupported
file format extension /usr/share/sounds/ unsupported
file format extension /usr/share/sounds/ unsupported

Can anyone help with this problem?

Thanks,
Anthony



Re: Newly compiled kernel will not boot

2001-07-21 Thread John Foster

> >
> > For my p166, I chose pentium pro / Pentium II. 
---
I think you need to select 586 not PII as your CPU.



Motherboards

2001-07-21 Thread Keith O'Connell
Hi,

I want a new machine, and for fun and education I am going to build it
from scratch. I have pretty much decided on an Athlon 1.2GHz. I will run
a small partition with Windows Me on it, but it will predominantly be up
in Debian.

I thought I would consult here as to the motherboard that will give the
least compatibility problems with the various chip sets available and
for on-board sound.

Your views and suggestion, your experiences and advice are all keenly
sought.

Keith

-- 
+--+
| Keith O'Connell  | "That which does not kill |
| Maidstone, Kent (UK) |  us, usually still hurts. |
| [EMAIL PROTECTED]   |   That's just life, I'm afraid"   |
+--+



Re: url-escaping a string in a shell script.

2001-07-21 Thread Joost Kooij
On Sat, Jul 21, 2001 at 05:07:23PM +0200, Martin F. Krafft wrote:
> also sprach Joost Kooij (on Sat, 21 Jul 2001 03:53:58PM +0200):
> > You read the wrong rfc, the above characters are all allowed in http.
> > Try it again, using spaces, '%', '#' and some control characters.
> > Those will be escaped.
> 
>The restricted set of characters consists of dig?
>its, letters, and a few graphic symbols chosen from those
>common to most of the character encodings and input facil?
>ities available to Internet users:
> 
>  "A" .. "Z", "a" .. "z", "0" .. "9",
>  ";", "/", "?", ":", "@", "&", "=", "+", "$", ",",   # reserved
>  "-", "_", ".", "!", "~", "*", "'", "(", ")"
> 
>[...]
> 
>Some of the "uric" characters are reserved for use as
>delimiters or as part of certain URI components.  These
>must be escaped if they are to be treated as ordinary
>data.  Read RFC 2396 for further details.
> 
> you can see that both '$' and '/' are restricted (reserved
> characters), and these are escaped by browsers and other HTTP clients
> during form submissions - which is essentially what i want to fake
> from the command line.

They are not restricted, they are "reserved", which the rfc explains as:
you can use them, unless the particular uri of which they are a part 
gives them special meaning, in which case they must be escaped.  Read 
section 2.2 of the rfc.

  http://www.rfc-editor.org/rfc/rfc2396.txt

Of course, if you want to fake the behaviour of webbrowsers, avoid all
standards like the plague.  Certain browsers will escape all characters
when sending a request to the server.  Why do you think that .asp sites
regularly have spaces in uris, without the "designer" being aware of that?

Cheers,


Joost



Re: pcsnd driver and Pentium

2001-07-21 Thread Matteo Semplice
An update: I tried pretty much all Debian packages that play RAW or WAV
files and sinthetizers. The only good result is with "saytime", that says
the current time throug /dev/audio (minor 4).

Now, when I load the pcsnd module I get a message in kern.log saying

Jul 21 16:20:23 d6r2 kernel: PCSP on device 3
Jul 21 16:20:23 d6r2 kernel: PCSP mixer on device 0

so I guess that pcsnd is listening on /dev/dsp (minor 3) and not
/dev/audio... What's going on? I tried "ls -l" in the /dev directory to
make sure that one of them is not a link and it gives:

crw-rw1 root audio 14,   3 Dec  9  1999 /dev/dsp
crw-rw1 root audio 14,   4 Dec  9  1999 /dev/audio

(I didn't create the devices myself, but I assume that they were created
when I installed slink or upgraded to potato...)

Why does saytime work and the others don't? Anyone got any clue?

Thanks.

matteo

On Sat, 21 Jul 2001, Matteo Semplice wrote:

> Hi everyone,
>   I am trying the pcsnd driver patch (from
> ftp://ftp.uk.linux.org/pub/people/dwmw2/pcsp/) on my Pentium 100MHz
> laptop. It is supposed to provide some basic sound through the PC speaker
> for those that think that their box is too old to deserve a sound card...
> (Running potato on 2.2.17 kernel here)
> 
> Now, it doesn't work... Ok, I patched my 2.2.17 kernel source tree and
> built the driver as a module; I compiled also vplay in the pcsnd-kit that
> is at the same ftp site. The module loads ok and 'vplay' does indeed
> produce noise through the speaker... However playing the included
> enterprise.raw that is supposed to produce some StarTrek tune I get a
> FAX-like noise (you know, that sort of high-pitch rattling noise that you
> hear when you pick up the handset and discover it was a FAX...)
> 
> A web search revealed that reading IDE devices interferes with the driver
> slowing it down, so I tried to play the tune while 'find / -name whatever'
> was running: it sounds a bit better but still far from giving the right
> frequencies!
> 
> Ok, so does anyone have any experience out there?
> 
> I had a look at the code and there are comments about the need of a
> time-delay loop when Pentiums will become common... (toghether with
> warnings that a 386SX may not be fast enough: as you guess the original
> code is rather old!) So do I need such a delay loop? On the other hand it
> is a mantained patch and I assume that people out there are using it on
> new machines...
> 
> Of course it may just be a crap speaker... 
> 
> So, some success/unsuccess reports on machines equal or faster than mine
> would be much appreciated. Even better, if you have any idea on how this
> works and can diagnose my problem and/or have fixes to suggest...
> 
> (Also, has anyone tried to build and use the mono or stereo DAC on
> parallel port that the driver is supposed to support?)
> 
>   matteo
> 
> PS I read debian-user only in digest format, so please Cc replies to me if
> you are answering on that list only.
> 
> ---
> Matteo Semplice
> Wadham College
> Oxford OX1 3PN
> U.K.
> 
> 
> --  
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 
> 

---
Matteo Semplice
Wadham College
Oxford OX1 3PN
U.K.



Re: url-escaping a string in a shell script.

2001-07-21 Thread Martin F. Krafft
also sprach Joost Kooij (on Sat, 21 Jul 2001 03:53:58PM +0200):
> You read the wrong rfc, the above characters are all allowed in http.
> Try it again, using spaces, '%', '#' and some control characters.
> Those will be escaped.

   The restricted set of characters consists of dig­
   its, letters, and a few graphic symbols chosen from those
   common to most of the character encodings and input facil­
   ities available to Internet users:

 "A" .. "Z", "a" .. "z", "0" .. "9",
 ";", "/", "?", ":", "@", "&", "=", "+", "$", ",",   # reserved
 "-", "_", ".", "!", "~", "*", "'", "(", ")"

   [...]

   Some of the "uric" characters are reserved for use as
   delimiters or as part of certain URI components.  These
   must be escaped if they are to be treated as ordinary
   data.  Read RFC 2396 for further details.

you can see that both '$' and '/' are restricted (reserved
characters), and these are escaped by browsers and other HTTP clients
during form submissions - which is essentially what i want to fake
from the command line.

martin;  (greetings from the heart of the sun.)
  \ echo mailto: !#^."<*>"|tr "<*> mailto:"; [EMAIL PROTECTED]
-- 
micros~1: for when quality, reliability, and security
  just aren't that important!


pgpqlf0bHaQel.pgp
Description: PGP signature


MTAs: rejecting senders with exim and delivering responses to rejected senders

2001-07-21 Thread Hans Wilmer
Hi,

I'm having some trouble setting up my MTAs. The situation is as
follows:


Server: provides dial-up connection to ISP, runs qmail
qmail sends any non-local mail using smtp.SoftHome.net
  as remote SMTP server
The remote SMTP server accepts mail only when envelope-sender
  and From: line are set to my mail-address
  ([EMAIL PROTECTED]).
To get mail from my accounts, I'm running fetchmail to fetch it.

Workstation: runs exim
 exim sends any non-local to Server, using it as a relay
 exim does address-rewriting, using /etc/email-addresses


This works fine. I can send and receive mail reliably. Using
smtp.SoftHome.net to send mail to remote recipients instead of sending
it directly is required because I don't have a fixed IP address so
that I won't get error messages in case delivery of my mail
fails. Moreover, some stupid hosts won't accept my mail if sent
directly.

Now, I've set up exim to reject mails from some senders, using
/etc/exim.reject. This works fine, too: exim rejects mail from the
senders I specify, and the sender gets a mail like the following:


Return-Path: <>
Delivered-To: [EMAIL PROTECTED]
Date: 21 Jul 2001 14:10:46 -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: failure notice

Hi. This is the qmail-send program at little.home.de.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

<[EMAIL PROTECTED]>:
Connected to 192.168.0.1 but sender was rejected.
Remote host said: 550 rejected: administrative prohibition

--- Below this line is a copy of the message.

Return-Path: <[EMAIL PROTECTED]>
Received: (qmail 6102 invoked by uid 5000); 21 Jul 2001 14:10:46 -
Date: Sat, 21 Jul 2001 16:10:46 +0200
From: server maintainer <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: ee
Message-ID: <[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 1.0.1i

ddd


The problem is: If [EMAIL PROTECTED] sends mail and that mail is rejected by
exim, qmail would try to send the error message (as above) to
[EMAIL PROTECTED], thereby using smtp.SoftHome.net. But smtp.SoftHome.net
won't accept the error message because it is from
[EMAIL PROTECTED], not from [EMAIL PROTECTED]

What can I do to get the error messages sent? I don't want to replace,
on the server, qmail with exim, and it's not a good idea not to use
smtp.SoftHome.net as a relay.

Thus, I'd have to configure qmail to rewrite the From: and
envelope-sender to [EMAIL PROTECTED] when it tries to send such an
error message.

How can this be done? Is there maybe another good solution? Can qmail
be configured to reject mail from certain senders?


GH
-- 
Nieder mit der Mineralölsteuer!! Senkt die Benzinpreise!!

http://www.congressonlineproject.org/email.html:
> Timely, in-kind responses to e-mail provide the high-quality service
> that e-constituents expect, and failing to deliver it reflects poorly
> on Members of Congress.



Re: [OT] Perl: exec and $variables

2001-07-21 Thread Joost Kooij
On Sat, Jul 21, 2001 at 02:31:58PM +0200, Sven Burgener wrote:
> On Sat, Jul 21, 2001 at 01:46:25PM +0200, Joost Kooij wrote:
> > On Sat, Jul 21, 2001 at 01:04:40PM +0200, Sven Burgener wrote:
> > > my $BEGINREGEX   = "sprintf(\"^\$\")";
> > 
> > Please tell us what you're trying to accomplish first.  It is unclear
> > what assumptions you are making.
> 
> What I want is the variable $BEGINREGEX to contain a string like so:
> 
> ^$
> 
> or
> 
> ^$
> 
> The digit after the "news" should be whatever $no is set to at that
> point in the script.
 
You are still not telling really what you want to accomplish, but I infer
that you want to match lines like:

  

To test if the entire $line matches it, you would write:

  $line =~ m(^$);

Notice that I used the "m" operator explicitly, so I can use an alternate
regexp delimiter, or else I would have had to escape each of the slashes
in your pattern.

What is the need for the seperate variable $BEGINREGEX?  It complicates
things enormously when you want a variable $no to be evaluated whenever
$BEGINREGEX is evaluated.  The only sane way out is to completely reevaluate
$BEGINREGEX after each change to $no.  To do that successfully, you have
to escape '$', '"', and '\' and then escape some of the escapes, but others
not, depending on wheter they should never be expanded, expanded in the 
eval or expanded when applying the regexp.  I wouldn't touch that with a 
ten foot pole if I were you.  If you succeed at it, you have great job
security, and a maintenance nightmare.

Easier is to not use a $BEGINREGEX at all:

  $line =~ m(^$);

should always work, for the current value of $no.

> > > my $no = 1;
> > > my $bla = eval($BEGINREGEX);
> > > print "$bla\n";
> > > 
> > > $bla is empty for some reason.
> > 
> > You probably do not want to use eval here, or at least not in this way.
> 
> What should I do then?
> 
> It's simple, really. I am sure I am just making a stupid mistake.
> 
> my $BEGINREGEX = "sprintf(\"^\$\")";
> my $no = 99;
> my $bla = eval($BEGINREGEX);
> print "regex string: $bla\n";
> 
> What should be printed:
> 
> regex string: ^$

Why are you putting the sprintf in the regexp at all?  The '^' and '$' anchors
only work when at the begin, resp. at the end of the whole regexp.  I think 
that the use of sprintf is unnecessary, and even complicates things enormously.
 
> But it isn't, so what am I doing wrong here?

AFAICS, you're just not doing it in the most straightforward way.
Try to use fixed regexps, and leave the $no in it, so it will be expanded
every time perl uses the regexp.

Cheers,


Joost



Re: dselect trying to remove lots of stuff

2001-07-21 Thread Osamu Aoki
On Fri, Jul 20, 2001 at 04:14:07PM -0400, Anthony Fox wrote:
> KDE.  I don't want these packages to be removed.  Is there some way
> that I can make dselect forgot about previous selections?  That is, is
> there some way for dselect to just start over?

Not that I know too much about dselect, if you are still on "dselect"

R   "Revert! I did not mean it."
Discard auto generated selections.
Revert selection back to original.
D   "Damn it! I do not care what dselect thinks.  Just do it!"
Discard auto generated selections.
Set selections to directly requested state.

These works normally for me. (I bet you know this.)

If you have already executed selections,  dig into /var/lib/dpkg and make
"diff -u"s between archived "status".  Make apt-get scripts from it

It should work, but I never done it.  Maybe smarter way exists :-).

I am not expert like you but this is how I understand system.

Debian packaging is very difficult for me so I made quick reference for
mu use.

  My debian quick-reference, http://www.aokiconsulting.com/quick/

(Outdated for make-kpkg/flavour thing though...)

Regards,

Osamu
-- 
~\^o^/~~~ ~\^.^/~~~ ~\^*^/~~~ ~\^_^/~~~ ~\^+^/~~~ ~\^:^/~~~ ~\^v^/~~~ 
+  Osamu Aoki <[EMAIL PROTECTED]>, GnuPG-key: 1024D/D5DE453D  +



Re: DVDs

2001-07-21 Thread Hereward Cooper
On Saturday 21 July 2001 14:20, Brian Nelson wrote:
> On Sun, Jul 22, 2001 at 12:02:04AM +1000, Bek Oberin wrote:
> > Through fortuitous means, I just acquired a DVD player!
> >
> > I've looked at the DVD HOWTO and it recommends a whole bunch
> > of software from the LiVID project.
> >
> > Is any of this software packaged up for Debian/unstable anywhere?
> >
> > I don't  mind building it by hand, but not if there's packages out
> > there.  I couldn't find them though...
>
> I think the best DVD software package is xine, 

linux.com has a good article on how to get dvd working with Xine. (i think 
the guy writting it was running debian aswell).

Hereward



Re: [OT] Perl: exec and $variables

2001-07-21 Thread Andrew Perrin
eval() doesn't do what you want - it *executes* code, as opposed to
substituting values for variables. Try something like:

my $template = '^$';
my $no = 99;
my $bla = $template;
$bla =~ s/%no%/$no/g;



You can get fancy too, if you want:

$replace{no} = 99;
$bla =~ s/%(.+?)%/$replace{$1}/g;

now anything encased in % signs will be replaced by the associated value
in the %replace hash.

Disclaimer: these are trivial and not terribly robust solutions; take them
as a starting point, not a complete solution.

--
Andrew J Perrin - [EMAIL PROTECTED] - http://www.unc.edu/~aperrin
 Assistant Professor of Sociology, U of North Carolina, Chapel Hill
  269 Hamilton Hall, CB#3210, Chapel Hill, NC 27599-3210 USA


On Sat, 21 Jul 2001, Sven Burgener wrote:

> On Sat, Jul 21, 2001 at 01:46:25PM +0200, Joost Kooij wrote:
> > On Sat, Jul 21, 2001 at 01:04:40PM +0200, Sven Burgener wrote:
> > > my $BEGINREGEX   = "sprintf(\"^\$\")";
> > 
> > Please tell us what you're trying to accomplish first.  It is unclear
> > what assumptions you are making.
> 
> What I want is the variable $BEGINREGEX to contain a string like so:
> 
> ^$
> 
> or
> 
> ^$
> 
> The digit after the "news" should be whatever $no is set to at that
> point in the script.
> 
> > > my $no = 1;
> > > my $bla = eval($BEGINREGEX);
> > > print "$bla\n";
> > > 
> > > $bla is empty for some reason.
> > 
> > You probably do not want to use eval here, or at least not in this way.
> 
> What should I do then?
> 
> It's simple, really. I am sure I am just making a stupid mistake.
> 
> my $BEGINREGEX = "sprintf(\"^\$\")";
> my $no = 99;
> my $bla = eval($BEGINREGEX);
> print "regex string: $bla\n";
> 
> What should be printed:
> 
> regex string: ^$
> 
> 
> But it isn't, so what am I doing wrong here?
> 
> Cheers,
> Sven
> -- 
> The best way to escape from a problem is to solve it. 
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 
> 



RE: Debian books

2001-07-21 Thread Kurt Lieber
> Can someone tell me what they consider to be a good up to 
> date Debian book for a beginner, one that doesn't assume that 
> the reader has a background in Unix or DOS?  Is there such a book?

As a couple of people have mentioned already, most of the good
documentation is online.  Some folks also mention a couple of O'Reilly
Books; "Essential System Administration" and "Running Linux"

I happen to own both of those, and am a linux newbie myself.  I've found
both to be useful, but neither will stand on its own.  I've found them
most useful for helping me understand basic Linux concepts, such as run
levels and what goes in the /etc directory vs the /usr directory.  For
the nitty-gritty commands, however, I've found both of these books to be
either way out of date, or not focused (enough) on Debian.  

"Running Linux" for instance, tells you that to configure your TCP/IP
address, you should modify the /etc/rc.d/rc.inet1 file.  At least on my
Debian box, that's completely wrong - I don't even have an rc.d
directory, let alone an  rc.inet1 file.  (the file you want, BTW, is
/etc/network/interfaces)

That said, both books were essential in my ability to get two Debian
boxes up and running, so they do provide some value.  Just understand
that you'll have to take the concepts they give you and then go dig up
the real command/file/location in the online Debian documentation.

HTH

--kurt



Re: ipmasq ipchanis; newbie question

2001-07-21 Thread Osamu Aoki
On Fri, Jul 20, 2001 at 02:09:04PM -0700, Mike Egglestone wrote:
> You can use any private ranges from 192.168.x.x
> I think 10.0.0.x 
> is an another available range
> Someone could correct me on this.:)

Yes but more precisely, private network can use any of:

 Class A:  10.0.0.0  with net mask 255.0.0.0
 Class B:  172.16.0.0 through 172.31.0.0  with net mask 255.255.0.0
 Class C:  192.168.0.0 through 192.168.255.0  with net mask 255.255.255.0

You can always subnet them.  :-)
-- 
~\^o^/~~~ ~\^.^/~~~ ~\^*^/~~~ ~\^_^/~~~ ~\^+^/~~~ ~\^:^/~~~ ~\^v^/~~~ 
+  Osamu Aoki <[EMAIL PROTECTED]>, GnuPG-key: 1024D/D5DE453D  +
+  My debian quick-reference, http://www.aokiconsulting.com/quick/+



Re: DVDs

2001-07-21 Thread Brian Nelson
On Sun, Jul 22, 2001 at 12:02:04AM +1000, Bek Oberin wrote:
> Through fortuitous means, I just acquired a DVD player!
> 
> I've looked at the DVD HOWTO and it recommends a whole bunch
> of software from the LiVID project.
> 
> Is any of this software packaged up for Debian/unstable anywhere?
> 
> I don't  mind building it by hand, but not if there's packages out
> there.  I couldn't find them though...

I think the best DVD software package is xine, which is packaged for
Debian (though you won't find the decss plugin in the official
archives, of course).  Check this list's archives for more info.

-- 
Brian Nelson <[EMAIL PROTECTED]>



Re: Debian books

2001-07-21 Thread Brian Nelson
On Sat, Jul 21, 2001 at 08:14:25AM -0400, alex wrote:
> Can someone tell me what they consider to be a good up to date Debian
> book for a beginner, one that doesn't assume that the reader has a
> background in Unix or DOS?  Is there such a book?

I wouldn't worry about getting a Debian-specific book.  For beginning
material, most distros are quite similar.  I'd recommend O'Reilly's
_Running_Linux_ as a book for Linux beginners.  It does point out the
small variations among distros, including Debian.

Then, for Debian info regarding installation, the packaging system,
and FAQs, check out debian.org.  You should find enough info to get
you started.

> Where are the books about Debian?  I found dozens of up to date books
> for RedHat and just one out of date book for Debian (O'Reilly) in the 4
> large bookstores that I visited.  It's not that the Debian books were
> sold out, there just don't to be many published.

This is true.  There is a new book targeted at 2.2r2 named
_Debian/GNU_Linux_Bible_, but I don't know if it's any good.

-- 
Brian Nelson <[EMAIL PROTECTED]>



Re: Debian books

2001-07-21 Thread Joost Kooij
On Sat, Jul 21, 2001 at 08:14:25AM -0400, alex wrote:
> Can someone tell me what they consider to be a good up to date Debian
> book for a beginner, one that doesn't assume that the reader has a
> background in Unix or DOS?  Is there such a book?

Most of the interesting literature is available online at http://linuxdoc.org/
Have a look at "getting started" and the "network administrator's guide".

One of the best introductions would be learn to use, understand and
program the bash shell.  Read the bash(1) manual page and the whole lot
of shell scripts that many programs on your system are.  They are of
very high educational value, because you'll learn both about the shell
and about the system.

One very good book that is only available in the stores: Essential
system administration, by aeleen frisch (o'reily).  The book covers many
different flavours of unix and examines linux only cursorily.

> Where are the books about Debian?  I found dozens of up to date books
> for RedHat and just one out of date book for Debian (O'Reilly) in the 4
> large bookstores that I visited.  It's not that the Debian books were
> sold out, there just don't to be many published.

Check out the "documentation" secion on http://www.debian.org/

Debian is very generic and of all the linux distributions that I know, it
keeps in line with standard unix practices the most.

Cheers,


Joost



Re: video drives

2001-07-21 Thread Kyle Girard



Your video card is supported by Xfree86.  If your using Xfree86 3.3.x  use the XF86_SVGA sever with the tvga8900 driver  if you using the XFree 4  use the "trident" driver.

I got this info from here

http://www.xfree86.org/4.1.0/Status33.html#33

Kyle



On 07 Aug 2001 22:22:41 +0900, Outa wrote: 
I need drives to install the graphical mode but so hard to find this driver .. I don't know where? the video card is trident cyber blade i1  .. comes together compaq presario 1600 xl 258...
I'll hope for one solution
no more thanks for the attention...
 
send reply for this adress   [EMAIL PROTECTED]





obtaining the absolute path of a shell script within itself

2001-07-21 Thread Martin F. Krafft
hi,
in a shell script, $0 contains the name of the script as it was
called. i.e.
  ./myscript
  ../../myscript
  /home/madduck/bin/myscript.

how can i obtain the absolute path of the script within itself, given
this information. one possible solution is

  echo `pwd`/$0,

which returns a POSIX-valid path like
  /home/madduck/edu/swat/../../bin/myscript

but this method only works for relative paths. if i call myscript as
  /home/madduck/bin/myscript

then this method yields

  /home/madduck/edu/swat//home/madduck/bin/myscript

which is a different path (and most likely invalid).

i *could* check the first character for a '/' and act accordingly, but
there's got to be an easier way...

martin;  (greetings from the heart of the sun.)
  \ echo mailto: !#^."<*>"|tr "<*> mailto:"; [EMAIL PROTECTED]
-- 
i took an iq test and the results were negative.



DVDs

2001-07-21 Thread Bek Oberin
Through fortuitous means, I just acquired a DVD player!

I've looked at the DVD HOWTO and it recommends a whole bunch
of software from the LiVID project.

Is any of this software packaged up for Debian/unstable anywhere?

I don't  mind building it by hand, but not if there's packages out
there.  I couldn't find them though...


bekj

-- 
: Usual state:  (e) None of the above.
: [EMAIL PROTECTED]   http://www.tertius.net.au/~gossamer/
: The most beautiful people I have known are those who have known
: total defeat, suffering, struggle, loss and have found their way
: out of the depths.  These people have an appreciation, a
: sensitivity, radiate an understanding of life that fills them
: with compassion, gentleness, and a deep loving concern ...
: without saying a word.  -- Roy Nichols



Re: video drives

2001-07-21 Thread Joost Kooij
On Tue, Aug 07, 2001 at 10:22:41PM +0900, Outa wrote:
> I need drives to install the graphical mode but so hard to find this driver 
> .. 
> I don't know where? the video card is trident cyber blade i1  
> .. comes together compaq presario 1600 xl 258...
> I'll hope for one solution

You need to start here:

  http://linuxdoc.org/LDP/gs/gs.html

Read it thoroughly, it will answer most of the questions that you have
and will have.  Also look at the other texts at http://linuxdoc.org/

> no more thanks for the attention...
> 
> send reply for this adress   [EMAIL PROTECTED]

Next time, you do some of the work too:  set that yahoo address in the
email From: address, so that all replies are automatically sent there.

Cheers,


Joost



Re: url-escaping a string in a shell script.

2001-07-21 Thread Joost Kooij
On Sat, Jul 21, 2001 at 03:43:38PM +0200, Martin F. Krafft wrote:
> in fact, this doesn't seem to work at all:
> 
> fishbowl:~> echo '$1$19496519$xnqy/01WTA6pfhLBqZT13.' | \
>   perl -MURI::Escape -ne 'chomp; print uri_escape($_), "\n"'
> $1$19496519$xnqy/01WTA6pfhLBqZT13.
> 
> what am i doing wrong?

You read the wrong rfc, the above characters are all allowed in http.
Try it again, using spaces, '%', '#' and some control characters.
Those will be escaped.

Cheers,


Joost



Re: url-escaping a string in a shell script.

2001-07-21 Thread Joost Kooij
On Sat, Jul 21, 2001 at 03:11:06PM +0200, Martin F. Krafft wrote:
> also sprach Joost Kooij (on Sat, 21 Jul 2001 01:56:26PM +0200):
> >   perl -MURI::Escape -ne 'chomp; print uri_escape($_), "\n"'
> > 
> > A little scriptlet to do the same:
> > 
> >   #!/usr/bin/perl -w
> >   use URI::Escape;
> >   chomp, print uri_escape($_), "\n" while (<>);
> 
> almost, except that an input of "$1$29492948$6uK7lvoFHD2wWI.P.yF111"
> is output as "$1$29492948$6uK7lvoFHD2wWI.P.yF111" even though the '$'
> character needs to be escaped for HTTP... why?

Why needs the '$' character be escaped for http? 

If you insist on escaping everything, use:

  uri_escape("foo", "\0-\377")

Of course, this is all explained in the URI::Escape manual page.

Cheers,


Joost



Re: url-escaping a string in a shell script.

2001-07-21 Thread Martin F. Krafft
also sprach Joost Kooij (on Sat, 21 Jul 2001 01:56:26PM +0200):
>   perl -MURI::Escape -ne 'chomp; print uri_escape($_), "\n"'

in fact, this doesn't seem to work at all:

fishbowl:~> echo '$1$19496519$xnqy/01WTA6pfhLBqZT13.' | \
  perl -MURI::Escape -ne 'chomp; print uri_escape($_), "\n"'
$1$19496519$xnqy/01WTA6pfhLBqZT13.


what am i doing wrong?

martin;  (greetings from the heart of the sun.)
  \ echo mailto: !#^."<*>"|tr "<*> mailto:"; [EMAIL PROTECTED]
-- 
1-800-psych 
hello, welcome to the psychiatric hotline. 
if you are co-dependent, please ask someone to press 2. 


pgpw9hKAqy9e8.pgp
Description: PGP signature


Re: Newly compiled kernel will not boot

2001-07-21 Thread Steve Gran

On Sat, 21 Jul 2001 10:29:13 Radar wrote:
> I'm trying to boot a newly compiled 2.4.6 kernel in "potato" using the
> updated
> packages at people.debian.org/~bunk. After following steps outlined in a
> few
> kernel compile tutorials, I arrive at the same results, LILO says:
> uncompressing the image. Ok...booting the kernel - and nothing. It just
> hangs there. Prior to this, I had a newly installed woody system,
> thinking I would not need the 
> "Bunk" files. I used the kernel-package steps with the above results.
> Then I 
> wiped out the linux directory and started new without using the
> kernel-package
> steps. I can't think of why this is, when I compiled with no errors. I'll
> list 
> what steps I have taken thus far with the present setup.
> 
> Installed Debian 2.2 r3 from CDs and pointed sources.list to the "Bunk"
> files
> at people.debian.org.
> 
> Did an apt-get update and apt-get -u dist-upgrade
> 
> Installed libncurses5-dev, got the 2.4.6.tar.gz and untarred it in
> /usr/src/
> 
> cd into usr/src/linux and issued: make mrproper, make menuconfig.
> 
> For my p166, I chose pentium pro / Pentium II. For my hard drive I chose 
> enhanced IDE/ATA/MFM?/RLL (not sure about this). For filesystems, I used
> defaultsfor cdrom, ext2. I chose all netfiltering/iptables options, and
> chose my nic to
> be loaded as a module. PPP, floppy support etc.  I'm really not sure
> what's 
> amiss in here.
> 
> I saved the config, Issued make dep, make clean, make bzImage, make
> modules,
> make modules_install.
> 
> I copied the System.map into /boot/ along with the bzImage from
> /usr/src/linux
> /arch/i386/boot/. I also copied vmlinux into /boot/ (not sure about that)
> 
> I updated lilo.conf:
> 
> Image=/boot/bzImage
>   root=/dev/hda2
>   label=Linux
>   read-only
> # restricted
>   alias=1
> 
> Image=/vmlinuz
>   label=LinuxOLD
>   read-only
> # restricted
>   alias=2
> 
> Everything else in lilo.conf was left as it was (except for the boot
> message)
> 
> I can still boot the old kernel, the new one will always stop at ok
> booting
> kernel - with no error messages.
> 
> 
> 
> Maybe someone can help? My only other thought is to try this on a newer
> machine.
> 
> Thanks,
> Wayne
> 


I'm not sure - but I think you may have misidentified the processor in the
kernel.  Try calling it a P1, and if that doesn't work, try the generic
386/486 config.  The first message you get at boot is CPU signals, and I
got the same response when I misidentified a CPU (K6-2 vs. PII).
Good luck
Steve



Newly compiled kernel will not boot

2001-07-21 Thread Radar
I'm trying to boot a newly compiled 2.4.6 kernel in "potato" using the updated
packages at people.debian.org/~bunk. After following steps outlined in a few
kernel compile tutorials, I arrive at the same results, LILO says: 
uncompressing the image. Ok...booting the kernel - and nothing. It just hangs 
there. Prior to this, I had a newly installed woody system, thinking I would 
not need the 
"Bunk" files. I used the kernel-package steps with the above results. Then I 
wiped out the linux directory and started new without using the kernel-package
steps. I can't think of why this is, when I compiled with no errors. I'll list 
what steps I have taken thus far with the present setup.

Installed Debian 2.2 r3 from CDs and pointed sources.list to the "Bunk" files
at people.debian.org.

Did an apt-get update and apt-get -u dist-upgrade

Installed libncurses5-dev, got the 2.4.6.tar.gz and untarred it in /usr/src/

cd into usr/src/linux and issued: make mrproper, make menuconfig.

For my p166, I chose pentium pro / Pentium II. For my hard drive I chose 
enhanced IDE/ATA/MFM?/RLL (not sure about this). For filesystems, I used 
defaultsfor cdrom, ext2. I chose all netfiltering/iptables options, and chose 
my nic to
be loaded as a module. PPP, floppy support etc.  I'm really not sure what's 
amiss in here.

I saved the config, Issued make dep, make clean, make bzImage, make modules,
make modules_install.

I copied the System.map into /boot/ along with the bzImage from /usr/src/linux
/arch/i386/boot/. I also copied vmlinux into /boot/ (not sure about that)

I updated lilo.conf:

Image=/boot/bzImage
root=/dev/hda2
label=Linux
read-only
#   restricted
alias=1

Image=/vmlinuz
label=LinuxOLD
read-only
#   restricted
alias=2

Everything else in lilo.conf was left as it was (except for the boot message)

I can still boot the old kernel, the new one will always stop at ok booting
kernel - with no error messages.



Maybe someone can help? My only other thought is to try this on a newer machine.

Thanks,
Wayne





solution

2001-07-21 Thread Markus Hansen
hi i have a display solution of 1600x1200 but i want 1024x768 but i dont
know how to change it
using debian gnu/linux potato 2.2
and kde2
markus hansen



video drives

2001-07-21 Thread Outa



I need drives to install the graphical mode but so 
hard to find this driver .. I don't know where? the video card is trident 
cyber blade i1  .. comes together compaq presario 1600 xl 
258...
I'll hope for one solution
no more thanks for the attention...
 
send reply for this adress   [EMAIL PROTECTED]


Debian books

2001-07-21 Thread alex
Can someone tell me what they consider to be a good up to date Debian
book for a beginner, one that doesn't assume that the reader has a
background in Unix or DOS?  Is there such a book?


Where are the books about Debian?  I found dozens of up to date books
for RedHat and just one out of date book for Debian (O'Reilly) in the 4
large bookstores that I visited.  It's not that the Debian books were
sold out, there just don't to be many published.



Re: dselect trying to remove lots of stuff

2001-07-21 Thread dude

> > Hi,
> >
> > Seems I wasn't careful enough when using dselect.  I have been trying
> > to remove the gnome libs and binaries that I don't use on my system.
> > Somehow, I must have selected the wrong package for purging.  Dselect
> > now wants to remove from my system, among other packages, XFree86 and
> > KDE.  I don't want these packages to be removed.  Is there some way
> > that I can make dselect forgot about previous selections?  That is, is
> > there some way for dselect to just start over?


the other thing you should look at

is the package  debfoster

i use to clean out stuff i dont want
look into it.
G




Re: url-escaping a string in a shell script.

2001-07-21 Thread Martin F. Krafft
also sprach Joost Kooij (on Sat, 21 Jul 2001 01:56:26PM +0200):
>   perl -MURI::Escape -ne 'chomp; print uri_escape($_), "\n"'
> 
> A little scriptlet to do the same:
> 
>   #!/usr/bin/perl -w
>   use URI::Escape;
>   chomp, print uri_escape($_), "\n" while (<>);

almost, except that an input of "$1$29492948$6uK7lvoFHD2wWI.P.yF111"
is output as "$1$29492948$6uK7lvoFHD2wWI.P.yF111" even though the '$'
character needs to be escaped for HTTP... why?

martin;  (greetings from the heart of the sun.)
  \ echo mailto: !#^."<*>"|tr "<*> mailto:"; [EMAIL PROTECTED]
-- 
echo '[dO%O+38%O+PO/d0<0]Fi22os0CC4BA64E418CE7l0xAP'|dc


pgpQ7uhZzDPIh.pgp
Description: PGP signature


Re: dselect trying to remove lots of stuff

2001-07-21 Thread Danie Roux
On Fri, Jul 20, 2001 at 04:14:07PM -0400, Anthony Fox wrote:
> 
> Hi,
> 
> Seems I wasn't careful enough when using dselect.  I have been trying
> to remove the gnome libs and binaries that I don't use on my system.
> Somehow, I must have selected the wrong package for purging.  Dselect
> now wants to remove from my system, among other packages, XFree86 and
> KDE.  I don't want these packages to be removed.  Is there some way
> that I can make dselect forgot about previous selections?  That is, is
> there some way for dselect to just start over?
> 
> Thanks,
> Anthony

No, not as far as I know. Look into deity. It's independent of dselect, and it
saves it state in ~/.captstate.

-- 
Danie Roux *shuffle* Adore Unix



Re: Repeat: Problem with Postgresql database

2001-07-21 Thread p
> On Wed, Jul 11, 2001 at 09:04:01PM -0400, Brian Schramm wrote:

[snip]
> > problem is that the postgresql database says that my username does not
> > exist in the pg_shadow file any more.  I thought that this was a problem 
> > that
> > the users did not transfer so I created another user with the create user
> > command.  It still tells me that the pg_shadow file does not contain the
> > user.  Any ideas?

//


On Fri, Jul 13, 2001 at 01:28:45AM -0500, will trillich wrote:
> 
> can you get in via the postgres superuser? (su to root, then su
> to postgres). maybe try createuser from the postgres account.
> 
//

thx, will.

i was looking at this exact prob for about 2 hrs yesterday and
still couldn't find how to do it.  (i even bought momjian's
"postgresql--intro and concepts" book and was still shootin' 
blanks.) 

at least now i should be able to start creating db's and having
fun.  

man's may be good for the broad picture, but ofttimes
it's nut-'n-bolts details _with examples_  that make all the 
difference in the world.  and this list has a way of filling
that void.

so, thx, again.

bentley taylor.

//
  

> 



Re: [OT] Perl: exec and $variables

2001-07-21 Thread Sven Burgener
On Sat, Jul 21, 2001 at 01:46:25PM +0200, Joost Kooij wrote:
> On Sat, Jul 21, 2001 at 01:04:40PM +0200, Sven Burgener wrote:
> > my $BEGINREGEX   = "sprintf(\"^\$\")";
> 
> Please tell us what you're trying to accomplish first.  It is unclear
> what assumptions you are making.

What I want is the variable $BEGINREGEX to contain a string like so:

^$

or

^$

The digit after the "news" should be whatever $no is set to at that
point in the script.

> > my $no = 1;
> > my $bla = eval($BEGINREGEX);
> > print "$bla\n";
> > 
> > $bla is empty for some reason.
> 
> You probably do not want to use eval here, or at least not in this way.

What should I do then?

It's simple, really. I am sure I am just making a stupid mistake.

my $BEGINREGEX = "sprintf(\"^\$\")";
my $no = 99;
my $bla = eval($BEGINREGEX);
print "regex string: $bla\n";

What should be printed:

regex string: ^$


But it isn't, so what am I doing wrong here?

Cheers,
Sven
-- 
The best way to escape from a problem is to solve it. 



  1   2   >