merlin.debian.net <-- php4 for potato?

2001-01-29 Thread will trillich
thanks to the unofficial sources.list page at

http://www.internatif.org/bortzmeyer/debian/apt-sources/

i remembered how i got a potato-happy apache up to version
1.3.14 (standard apache is still 1.3.9 for potato):

# sources.list
deb http://www.debian.org/~kitame/ipv6 ipv6 unstable

and the unofficial apt-sources page also led me to a
potential php4 page for potato, namely

# sources.list
deb http://merlin.debian.net/ php4/potato/

which is only partly formed -- needs "main" or "non-free"
or "contrib" or some such... what's the incantation?

--

(when i browse to merlin.debian.net i get lots of "you're
out" but that doesn't help a helluva lot... :)

-- 
http://groups.yahoo.com/group/newbieDoc -- next week's
newbie needs your brain: document your experience today!



Re: Fwd: File updates req'd for network(2nd try)

2001-01-29 Thread JD Kitch
On Mon, Jan 29, 2001 at 04:57:06PM -0600, ktb wrote:
> On Mon, Jan 29, 2001 at 05:41:57PM -0500, Noah L. Meyerhans wrote:
> > On Mon, Jan 29, 2001 at 02:47:00PM -0700, JD Kitch wrote:
> > > iface eth1 inet static
> > >   address 192.168.1.1
> > >   netmask 255.255.255.0
> > >   network 192.168.0.0
> > >   broadcast 192.168.1.255
> > 
> > This is wrong.  Well, I don't have experience that indicates that it
> > doesn't *work*, but it's still wrong.  Look closely at the values...one
> > of them doesn't match the others.  Network is not compatible with the
> > rest of the values.  You say you're on network 192.168.0.0, but your IP
> > address is 192.168.1.1 with a netmask of 255.255.255.0.  You should
> > change network to 192.168.0.0
> > 
> 
> Did you mean change the network to 192.168.1.0 ?

OK, I did make this change and it seemed to make some difference,
but the connectivity is VERY "iffy", meaning most everything times
out.  I'm now showing a TRUCKLOAD of errors on eth1 if I run an
ifconfig.

eth1  Link encap:Ethernet  HWaddr 00:A0:CC:E8:2A:BD
  inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
  UP BROADCAST RUNNING MULTICAST  MTU:1500Metric:1
  RX packets:0 errors:682 dropped:0  overruns:0 frame:0
  TX packets:0 errors:15 dropped:0 overruns:0 carrier:30
  collisions:0  txqueuelen:100
  Interrupt:10  Base address:0xe800


Any more ideas.  Intersting that with only the one other PC on a
crossover cable, that the "Network" setting did not seem to make a
difference...

Are there route commands that need to be issued?(That's a wild
guess, based on answers I've seen to similar questions) I'm clueless
about route, and the man page went right over my head. :(

jdk



Re: Fwd: File updates req'd for network(2nd try)

2001-01-29 Thread JD Kitch
On Mon, Jan 29, 2001 at 04:30:54PM -0600, ktb wrote:
> > 
> > # The loopback interface
> > iface lo inet loopback
> > 
> > # The ethernet interface, configured by etherconf
> > iface eth0 inet static
> > address 24.14.246.95
> > netmask 255.255.255.128
> > gateway 24.14.246.1
> > 
> > iface eth1 inet static
> > address 192.168.1.1
> > netmask 255.255.255.0
> > network 192.168.0.0
> > broadcast 192.168.1.255
> 
> Can you access the "outside" from your debian box?  This list isn't for
> windows but all you have to do is set up tcp/ip pointing them to your
> gateway 192.168.1.1, give them an ip and reboot.  If that didn't or
> doesn't work then I would open your firewall rules wide open to see
> if there is a block there.  Next the masquerading.  Also you mentioned
> all was working until you added another nic.  Are all your indicator
> lights (nic and hub) all lit up?  

That is exactly how I have the 2 windows PC's configured, with one
as 192.168.1.100 and the other as 192.168.1.102  I've had the same
results with or without the firewall rules.  Incidentally, I'm still
running the same rules as when I just had one other PC attached, and
they worked fine then.

jdk



Re: Still No Cursor in X

2001-01-29 Thread hammack
Andrea, Thanks for the response.  I think I tried your suggestins.  Below is
my setup for the mouse in gpm.config and XF86Config:
gpm.config:
device=/dev/psaux
responsiveness=
repeat_type=raw
type=psw
append=""

XF86Config Pointer section:
Section "Pointer"
Protocol"PS/2"
Device  "/dev/gpmdata"
   BaudRate1200
   Emulate3Timeout50
   Resolution   100
#  Buttons   3   this line is commeted out
   Emulate3Buttons
EndSection

I am about to give up and so skiing.  Thanks John
- Original Message -
From: "Andrea Vettorello" <[EMAIL PROTECTED]>
To: 
Cc: "User Debian" 
Sent: Monday, January 29, 2001 12:29 PM
Subject: Re: Still No Cursor in X


> hammack wrote:
>
> > Problem:  I cannot get a cursor in X with my PS/2 generic mouse.  I do
> > get a cursor in the Text mode and can cut and paste between VC's.  In
> > X I can click in the window and get menus to pop up and occasionally I
> > will lite up a button all in the blind.Below are the two
> > configurations that work. XF86Config:Protocol  "PS/2"Device
> > "/dev/gpmdata"orProtocol  "PS/2"Device"/dev/mouse"and gpm.conf
> > wasDevice/dev/psauxtype   ps2
>
> Try adding in your gpm.conf the line "repeat_type=raw"...
>
>
> Andrea
>
>
>
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact
[EMAIL PROTECTED]



Re: apt-get

2001-01-29 Thread will trillich
On Sun, Jan 28, 2001 at 10:34:54AM -0600, Shel Johnson wrote:
> What are the server's URL I could put in my source.list??.. It appears Stormix
> Technologies is about to go belly up and I need to add the Debian's 
> addresses..

http://groups.yahoo.com/group/newbieDoc/files/apt-get-intro.html

try 'apt-setup'

-- 
See, if you were allowed to keep the money, you wouldn't
create jobs with it. You'd throw it in the bushes or
something.  But the government will spend it, thereby
creating jobs.  -- Dave Barry

[EMAIL PROTECTED]***http://www.dontUthink.com/

http://groups.yahoo.com/group/newbieDoc -- next week's
newbie needs your brain: document your experience today!



Re: are apt/sources.list http: and ftp: same?

2001-01-29 Thread will trillich
On Sun, Jan 28, 2001 at 11:32:41AM -0600, Gregory Guthrie wrote:
> I found that with http: lines in my /etc/apt/sources.list I pointed to 
> woody, but apt-get would not install known things there. I changed it to 
> ftp: and it worked fine.
> 
> Should these be the same? If different, is this documented?

http://groups.yahoo.com/group/newbieDoc/files/apt-get-intro.html

or,

try "apt-setup" (if you don't have it, try apt-get install base-config)

-- 
See, if you were allowed to keep the money, you wouldn't
create jobs with it. You'd throw it in the bushes or
something.  But the government will spend it, thereby
creating jobs.  -- Dave Barry

[EMAIL PROTECTED]***http://www.dontUthink.com/

http://groups.yahoo.com/group/newbieDoc -- next week's
newbie needs your brain: document your experience today!



Sound

2001-01-29 Thread T. Green
newbie to debian
I have ensoniq audio PCI  model (ES1371) sound card, An  I can't get it
to make a sound.
Anyone know what  is needed to get the card to produce sound.
Tkank you



apache configuration, ssi don't work in users public_html dirs

2001-01-29 Thread Forrest English
includes are enabled there, and this configuration file works in apache
1.3.14 from unstable, but for some reason not in 1.3.9 from stable (what
i'd LIKE to use on my server...).

i know includes have to work in apache.  so, what am i doing wrong?

below is my httpd.conf file.


##
## httpd.conf -- Apache HTTP server configuration file

ServerType standalone
ServerRoot /etc/apache
LockFile /var/lock/apache.lock
PidFile /var/run/apache.pid
ScoreBoardFile /var/run/apache.scoreboard
Timeout 300
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 15
MinSpareServers 5
MaxSpareServers 20
StartServers 5
MaxClients 150
MaxRequestsPerChild 100

# Please keep this LoadModule: line here, it is needed for installation.
# LoadModule vhost_alias_module /usr/lib/apache/1.3/mod_vhost_alias.so
# LoadModule env_module /usr/lib/apache/1.3/mod_env.so
LoadModule config_log_module /usr/lib/apache/1.3/mod_log_config.so
# LoadModule mime_magic_module /usr/lib/apache/1.3/mod_mime_magic.so
LoadModule mime_module /usr/lib/apache/1.3/mod_mime.so
LoadModule negotiation_module /usr/lib/apache/1.3/mod_negotiation.so
LoadModule status_module /usr/lib/apache/1.3/mod_status.so
# LoadModule info_module /usr/lib/apache/1.3/mod_info.so
LoadModule includes_module /usr/lib/apache/1.3/mod_include.so
LoadModule autoindex_module /usr/lib/apache/1.3/mod_autoindex.so
LoadModule dir_module /usr/lib/apache/1.3/mod_dir.so
LoadModule cgi_module /usr/lib/apache/1.3/mod_cgi.so
# LoadModule asis_module /usr/lib/apache/1.3/mod_asis.so
# LoadModule imap_module /usr/lib/apache/1.3/mod_imap.so
# LoadModule action_module /usr/lib/apache/1.3/mod_actions.so
# LoadModule speling_module /usr/lib/apache/1.3/mod_speling.so
LoadModule userdir_module /usr/lib/apache/1.3/mod_userdir.so
LoadModule alias_module /usr/lib/apache/1.3/mod_alias.so
LoadModule rewrite_module /usr/lib/apache/1.3/mod_rewrite.so
LoadModule access_module /usr/lib/apache/1.3/mod_access.so
LoadModule auth_module /usr/lib/apache/1.3/mod_auth.so
# LoadModule anon_auth_module /usr/lib/apache/1.3/mod_auth_anon.so
# LoadModule dbm_auth_module /usr/lib/apache/1.3/mod_auth_dbm.so
# LoadModule db_auth_module /usr/lib/apache/1.3/mod_auth_db.so
# LoadModule proxy_module /usr/lib/apache/1.3/libproxy.so
# LoadModule digest_module /usr/lib/apache/1.3/mod_digest.so
# LoadModule cern_meta_module /usr/lib/apache/1.3/mod_cern_meta.so
LoadModule expires_module /usr/lib/apache/1.3/mod_expires.so
# LoadModule headers_module /usr/lib/apache/1.3/mod_headers.so
# LoadModule usertrack_module /usr/lib/apache/1.3/mod_usertrack.so
LoadModule unique_id_module /usr/lib/apache/1.3/mod_unique_id.so
LoadModule setenvif_module /usr/lib/apache/1.3/mod_setenvif.so
# LoadModule sys_auth_module /usr/lib/apache/1.3/mod_auth_sys.so
# LoadModule throttle_module /usr/lib/apache/1.3/mod_throttle.so
# LoadModule allowdev_module /usr/lib/apache/1.3/mod_allowdev.so
# LoadModule auth_mysql_module /usr/lib/apache/1.3/mod_auth_mysql.so
# LoadModule pgsql_auth_module /usr/lib/apache/1.3/mod_auth_pgsql.so
# LoadModule eaccess_module /usr/lib/apache/1.3/mod_eaccess.so
# LoadModule roaming_module /usr/lib/apache/1.3/mod_roaming.so

ExtendedStatus On
Port 80

User www-data
Group www-data

ServerAdmin [EMAIL PROTECTED]

ServerName truffula.net

DocumentRoot /home/httpd/html


Options SymLinksIfOwnerMatch IncludesNoExec
AllowOverride None




Options Indexes IncludesNoExec FollowSymLinks MultiViews ExecCGI
AllowOverride None
Order allow,deny
Allow from all




UserDir public_html



AllowOverride FileInfo AuthConfig Limit
Options MultiViews IncludesNoExec Indexes SymLinksIfOwnerMatch
ExecCGI

Order allow,deny
Allow from all


Order deny,allow
Deny from all




DirectoryIndex index.html index.htm index.shtml index.cgi


AccessFileName .htaccess


Order allow,deny
Deny from all


UseCanonicalName On


TypesConfig /etc/mime.types

DefaultType text/plain


MIMEMagicFile share/magic


HostnameLookups Off

ErrorLog /var/log/apache/error.log

LogLevel warn

LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"
%T %v" full
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"
%P %T" debug
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\""
combined
LogFormat "%h %l %u %t \"%r\" %>s %b" common
LogFormat "%{Referer}i -> %U" referer
LogFormat "%{User-agent}i" agent

CustomLog /var/log/apache/access.log combined

ServerSignature On

Alias /icons/ /usr/share/apache/icons/


Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all


ScriptAlias /cgi-bin/ /home/httpd/html/cgi-bin/


AllowOverride None
Options ExecCGI
Order allow,deny
Allow from all





IndexOptions FancyIndexing NameWidth=*


AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip

AddIconByType (TXT,/icons/text.gif) text/*
AddIconByType (IMG,/icons/image2.gif) image/*

Dist-upgrading to Woody (Testing)

2001-01-29 Thread Benjamin Pharr
Late last week I installed potato from a CD onto my test box.  I 
dist-upgraded all the packages in stable, built a 2.4 kernel, and installed 
modutils from unstable so I could load modules from 2.4.0.  At this point 
everything was still going fine, not a problem in site.  Next I add sources 
for "testing" to my sources.list and typed "apt-get update" and then 
"apt-get -u dist-upgrade".  It downloads over 100MBs of software and then 
starts installing it.  It does okay for a while, but then it bombs out on 
installing LILO.  I tried "apt-get -u dist-upgrade" again as well as 
"apt-get -f install".  Nothing works.  The unmet dependencies are libxpm4, 
xlibs, and a few for task-x-window-system.  Can anyone help me out?  I 
don't mind scrapping this setup, I've formatted four times in less than a 
week, but I would like to upgrade my "production" system to woody.  Thanks 
in advance!


Ben Pharr



apt-get install php4 -- broken packages?

2001-01-29 Thread will trillich
# apt-get -u install php4
Reading Package Lists... Done
Building Dependency Tree... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.

Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:

Sorry, but the following packages have unmet dependencies:
  php4: Depends: apache-common (< 1.3.9.1) but 1.3.12-2.0.potato.1 is
to be installed
E: Sorry, broken packages



"to be installed"? apache_perl *is* installed...

there's no way to get php4 working with apache > 1.3.9?



# dpkg -l \*apache\*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ NameVersion Description [SNIP]
+++-===-==
pn  apache  
ii  apache-common   1.3.12-2.0.potato.1
ii  apache-dev  1.3.12-2.0.potato.1
pn  apache-doc  
un  apache-modules  
ii  apache-perl 1.3.12-1-1.24-1.potato.1
un  libapache-mod-auth-sys  
un  libapache-mod-perl  
un  libapache-mod-put   
un  libapache-mod-roaming   
un  libapache-mod-ssl   


-- 
mailto:[EMAIL PROTECTED]
http://www.dontUthink.com/



Re: apache/php + apxs?

2001-01-29 Thread Andrei Ivanov
To get apxs you need to install apache-dev
Andrei
--
First there was Explorer...
Then came Expedition.
This summer
Coming to a street near you..
Ford Exterminator.
--
Andrei Ivanov
http://arshes.dyndns.org
[EMAIL PROTECTED]
12402354
--



apache/php + apxs?

2001-01-29 Thread will trillich
i've done

apt-get install apache-perl

which works like a champ... but how can i tell
if apxs support is included?

[and (OT) anybody know of a mirror site for www.freetype.org?
it's been "busy" or under DoS for hours now...]

-- 
mailto:[EMAIL PROTECTED]
http://www.dontUthink.com/



Re: Can't samba print to nt-shared printer on NT domain

2001-01-29 Thread Carel Fellinger
On Sun, Jan 28, 2001 at 08:54:08PM -0600, Kent West wrote:
> Carel Fellinger wrote:
> 
> > On Sun, Jan 28, 2001 at 06:45:18PM -0600, Kent West wrote:
...
> >> I have magicfilter installed, and I suspect that if I could feed my 
> >> printjobs through it these issues would be fixed; however, I don't know 
> >> how to use magicfilter since the if in my printcap is taken by the 
> >> smbprint script.
> > 
> > not being a printer man I thought that adding a redirection level
> > (with :rp:) in your printcap would solve this, like
> > 
> > lp:smb-printer:\
> > :lp=:rp=raw-smb-printer:sh:\
> > :sd=/var/spool/lpd/smb-printer:\
> > :if=/your/magic-filter/here:
> > 
> > raw-smb-printer:\
> > :lp=/dev/null:sh:\
> > :sd=/var/spool/lpd/raw-smb-printer:\
> > :if=/usr/local/samba/bin/smbprint:  
> > 
> 
> 
> First, the rm= trick you sent doesn't seem to be working. Now the 
> printer's not receiving anything.

Arch, should have used a bouch queue, here is one way to do it
But beware, I use LPRng and LPRng supports bounce queues.

dj970-smb|HP Deskjet 970 on WinGame
:rp=dj970-smb-raw:lpd_bounce
:tc=.spool,.log,.acct,.defaults
:if=/etc/magicfilter/dj550c-filter
:bq_format=l

dj970-smb-raw|raw HP Deskjet 970 on WinGame
:lp=/dev/null
:tc=.spool,.log,.acct,.defaults
:if=/etc/samba/smbprint

I had to edit smbprint slightly as indicated below, it's working here:)


> while getopts t c; do
>   case $c in
>t)
>   TRANS=1
>   ;;
> 
>'?')  # Bad parameters, ignore it ...
>   ;;
>   esac
> done

This whole getopts thing isn't working here, probably because I use LPRng
so I commented it out.  It's here only to cache the `translate on' flag,
but I've done tekst-nl conversion with magic-filter.

> (
> # NOTE You may wish to add the line `echo translate' if you want automatic
> # CR/LF translation when printing.
>if [ $TRANS -eq 1 ]; then
>  echo translate
>fi

I uncommentd the above three lines, again nl-translation is done with
magic-filter

-- 
groetjes, carel



Re: Romanian translation

2001-01-29 Thread Mircea Luca


Ionel Mugurel Ciob?c? wrote:

> 

>
> Why is no list debian-user-romanian, I am de only Romanian using
> Debian?
>

Nope,you're not,but I guess most of us learned everything computer_related in
English so we don't need a
romanian translation.:-)
I've tried to install RedHat(5.2 at the time) in Romanian and gave up after 5
screens or so.I actually had to think what they ment.
But if you start a translation project I'm willing to help-I don't use the
romanian key-mappings though so.your call.



Re: mailservers

2001-01-29 Thread Dietmar Schultz
On Mon, Jan 29, 2001 at 10:39:58PM +0100, ebirn wrote:

> Because of being quite new to server administration, I'd like to get some
> advise/personal opinions of mailservers (pop, imap and smtp). I don't want
> to use sendmail because its so unsecure and difficult to configure!

I've got things done with sendmail. Using exim, I get everything done
*and* I know, what I do. Sendmail still is a big strange thing to me.
Smail is a quick-and-easy thing for UUCP-only sites. Quite a lot
people are happy using qmail, but I prefer exim, because it's easy to
configure and to understand.

Exim is a MTA, it handles only smtp. You need other deamons to do the
pop and imap stuff (Package imap, ipod, or others...). To get mail via
pop3 or smtp to your server, you could use fetchmail.

-- 
Bye,
Dietmar



RE: XMMS + Gnome + Sawfish

2001-01-29 Thread Marc Wilson
Whearas I have the reverse problem using it under Blackbox... I can't get it
to stay on top, no matter WHAT I do.  ANY part of it... the player, the eq,
or the playlist.



-
Marc Wilson
[EMAIL PROTECTED]
[EMAIL PROTECTED]
http://www.moonkingdom.net/mwilson

 -Original Message-
From:   Jeremy Nickurak [mailto:[EMAIL PROTECTED]
Sent:   Monday, January 29, 2001 5:10 PM
To: debian-user@lists.debian.org
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject:XMMS + Gnome + Sawfish

I've been having problems for ages with XMMS, and I just thought I'd put a
little flag up to see if anyone else has has similar experiences. In
particular, XMMS seems to have a really hard time playing nicely with
respect to it's Always-On-Top-ness. As far as I can tell, there's litterally
no way for me to get the playlist to _not_ be always-on-top. I've reported
this problem on the XMMS tech support boards, but nobody there seems to know
anything about it, so I thought it might have something to do with the
debianization of something. Comments, suggestions, and random murmerings
would be appreciated.


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




Colours in MCEDIT

2001-01-29 Thread Russ Pitman
Can anyone tell me specifically how to change the colour of comments lines
in mcedit (Midnight Commander).

The default is illegible to my old eyes and I got bushed in the various docs.

TIA,
-- 
russ






RE: PPTP with ppp 2.4.0f-1 and pptp-linux 1.0.2-3

2001-01-29 Thread Ross Smith
Jord,

These links that may help:

http://bmrc.berkeley.edu/people/chaffee/linux_pptp.html

http://lists2.schulte.org/pipermail/pptp-server/2000-September/003342.html

ftp://ftp.paranoid.nl/linux/pptpd

We have it working with kernel 2.2.17.  I'm interested in hearing if this patch 
will work with 2.2.18 (or 2.2.16 which will tell me
if 2.2.18 is a possibility).

Good luck,

Ross

> -Original Message-
> From: Jordan [mailto:[EMAIL PROTECTED]
>
> Sorry if this is an FAQ but I am losing hair on this one. Is ppp
> 2.4.0f-1 from the testing distribution compiled with the mppe patches?
>
> I am running Debian potato with 2.2.16 kernel that has been compiled
> with the various modules for tunneling.  I have installed pptp-linux
> and ppp-2.4.0f-1 from the testing distribution but am still having
> problems connecting to my VPN server at work.
>
> I have read that the solution may rest with fixing pppd with the mppe
> patches from http://www.scooter.cx/alpha/pptp.html . However, I have
> also read that Debian demigods have poo-pooed these - I have been
> unable to locate information regarding Debian's solution to the
> problem of MS' use of non-standard authentication.
>
> I would appreciate any help.
>
> Jord



Re: NFS hangups.

2001-01-29 Thread iehrenwald
> This box is fairly important, being our main server (NFS, DNS, NIS,
> etc...)...
> 
> Any suggestions?

I know this is going to sound rather crass, but.. Don't use Linux for
NFS.  Linux NFS really is awful.  I'd throw that task to a BSD. 

Ian




Re: NFS hangups.

2001-01-29 Thread Ethan Benson
On Mon, Jan 29, 2001 at 05:34:05PM -0800, Alex Swavely wrote:
> Have a problem with NFS.  I have a nice running machine for a while here,
> and today it starts getting boggy, so I figure I'll reboot, have it clear
> out swap, dump the process tables, etc...
> 
> Well, I can't get it to boot up now.
> It gets as far as running exportfs (init.d script nfs-kernel-server) and
> hangs.  When I go to reboot, it hangs up at the same place (where it's
> unexporting), and I'm forced to give it the BRS treatment.
> 
> I've tried commenting out entries in my /etc/exportfs (using my rescue disk,
> of course) down to nothing, and it still hangs.
> 
> This box is fairly important, being our main server (NFS, DNS, NIS,
> etc...)...
> 
> Any suggestions?

sounds like you have something stale under /var/lib/nfs.  check the
etab and rmtab files.  if you have a hostname in etab which cannot be
resolved anymore exportfs seems to hang indefinitly.  

-- 
Ethan Benson
http://www.alaska.net/~erbenson/


pgpvq1q3YZ5RR.pgp
Description: PGP signature


Re: PPTP with ppp 2.4.0f-1 and pptp-linux 1.0.2-3

2001-01-29 Thread Erik Steffl
  I have tried to sert up pptp but was not succesfull, not sure why,
most of the time the other side (win nt) did not even answer (but it
worked fine when I tried to coonnect with win95), when it did answer the
connection was trminated after short time, similar to your output below.
I'd appreciate any info on this, sorry couldn't help but at least you
know you're not alone in this:-)

erik

Jordan wrote:
> 
> Sorry if this is an FAQ but I am losing hair on this one. Is ppp
> 2.4.0f-1 from the testing distribution compiled with the mppe patches?
> 
> I am running Debian potato with 2.2.16 kernel that has been compiled
> with the various modules for tunneling.  I have installed pptp-linux
> and ppp-2.4.0f-1 from the testing distribution but am still having
> problems connecting to my VPN server at work.
> 
> I have read that the solution may rest with fixing pppd with the mppe
> patches from http://www.scooter.cx/alpha/pptp.html . However, I have
> also read that Debian demigods have poo-pooed these - I have been
> unable to locate information regarding Debian's solution to the
> problem of MS' use of non-standard authentication.
> 
> I would appreciate any help.
> 
> Jord
> 
> CHAP-SECRETS
> 
> act.cmis.csiro.au\\how198   *   you_wish*
> 
> 
> 
> PPTP cmd
> 
> pptp pptp.act.cmis.csiro.au debug name act.cmis.csiro.au\\how198 remotename 
> PPTP noauth
> 
> 
> SYSLOG
> 
> Jan 29 13:56:01 fishhead pppd[8747]: pppd 2.4.0 started by root, uid 0
> 
> Jan 29 13:56:01 fishhead pppd[8747]: Using interface ppp1
> Jan 29 13:56:01 fishhead pppd[8747]: Connect: ppp1 <--> /dev/pts/1
> Jan 29 13:56:01 fishhead pppd[8747]: sent [LCP ConfReq id=0x1
>]
> Jan 29 13:56:03 fishhead pppd[8747]: rcvd [LCP ConfReq id=0x0  chap 81>   ]
> Jan 29 13:56:03 fishhead pppd[8747]: sent [LCP ConfNak id=0x0  chap MD5>]
> Jan 29 13:56:03 fishhead pppd[8747]: rcvd [LCP ConfAck id=0x1
>]
> Jan 29 13:56:03 fishhead pppd[8747]: rcvd [LCP ConfReq id=0x1  chap m$oft>   ]
> Jan 29 13:56:03 fishhead pppd[8747]: sent [LCP ConfAck id=0x1  chap m$oft>   ]
> Jan 29 13:56:03 fishhead pppd[8747]: sent [LCP EchoReq id=0x0
> magic=0x4906cb09]
> Jan 29 13:56:03 fishhead pppd[8747]: rcvd [CHAP Challenge id=0x6a
> , name = ""]
> Jan 29 13:56:03 fishhead pppd[8747]: sent [CHAP Response id=0x6a
>  302fce160c1ab01>,
> name = "act.cmis.csiro.au\\how198"]
> Jan 29 13:56:03 fishhead pppd[8747]: rcvd [LCP EchoRep id=0x0
> magic=0x211b]
> Jan 29 13:56:05 fishhead pppd[8747]: rcvd [CHAP Challenge id=0x6b
> <3b7b922c8aea2ebb>, name = ""]
> Jan 29 13:56:05 fishhead pppd[8747]: sent [CHAP Response id=0x6b
> <8406d39b8f7df844c3e386aa48959d8686e\
> 8654cc7d56cb801>,
> name = "act.cmis.csiro.au\\how198"]
> Jan 29 13:56:07 fishhead pppd[8747]: rcvd [CHAP Challenge id=0x6c
> <29cdd0cba25bc092>, name = ""]
> Jan 29 13:56:07 fishhead pppd[8747]: sent [CHAP Response id=0x6c
> <0bf909b0096e8a3d047d7775964ceb511db\
> 0844db45ebdf901>,
> name = "act.cmis.csiro.au\\how198"]
> Jan 29 13:56:09 fishhead pppd[8747]: rcvd [CHAP Challenge id=0x6d
> <4fb089e5b851fa58>, name = ""]
> Jan 29 13:56:09 fishhead pppd[8747]: sent [CHAP Response id=0x6d
>  c3de73e36354001>,
> name = "act.cmis.csiro.au\\how198"]
> Jan 29 13:56:11 fishhead pppd[8747]: rcvd [CHAP Challenge id=0x6e
> <61135dfe7dbfb179>, name = ""]
> Jan 29 13:56:11 fishhead pppd[8747]: sent [CHAP Response id=0x6e
> <496242adea6bc46a2d35242f3e8bd757569\
> 4bd0eca3f121201>,
> name = "act.cmis.csiro.au\\how198"]
> Jan 29 13:56:13 fishhead pppd[8747]: rcvd [CHAP Challenge id=0x6f
> <8793f8fa3ef972c7>, name = ""]
> Jan 29 13:56:13 fishhead pppd[8747]: sent [CHAP Response id=0x6f
>  3c9ef30445adc01>,
> name = "act.cmis.csiro.au\\how198"]
> Jan 29 13:56:13 fishhead pppd[8704]: sent [LCP EchoReq id=0x1
> magic=0xd5255050]
> Jan 29 13:56:13 fishhead pppd[8704]: rcvd [LCP EchoRep id=0x1
> magic=0x2afa01c7]
> Jan 29 13:56:15 fishhead pppd[8747]: rcvd [CHAP Challenge id=0x70
> <48208b0f8ad03ba9>, name = ""]
> Jan 29 13:56:15 fishhead pppd[8747]: sent [CHAP Response id=0x70
> <8c987716ea90a82e19ff1f54f44f6fcdf57\
> 206817527a0d801>,
> name = "act.cmis.csiro.au\\how198"]
> Jan 29 13:56:17 fishhead pppd[8747]: rcvd [CHAP Challenge id=0x71
> <96c73edc525edc30>, name = ""]
> Jan 29 13:56:17 fishhead pppd[8747]: sent [CHAP Response id=0x71
> <79cc24f6f680b80458ba963fb06ef75e1c6\
> f4ec926601eee01>,
> name = "act.cmis.csiro.au\\how198"]
> Jan 29 13:56:19 fishhead pppd[8747]: rcvd [CHAP Challenge id=0x72
> <601c6539160c689e>, name = 

Re: Odd CRC errors and md5 mis-matches - any ideas?

2001-01-29 Thread Henrique M Holschuh
Your problem sounds like hardware on crack.

Check if you don't have faulty memory modules, or disk corruption (caused
e.g.: by running kernel 2.4.0 in certain VIA-based boards, by bad cabling or
a bitrotten HD).

And I don't have to say anything about undoing any possible overclocking of
either the CPU or PCI bus you might be doing, I hope.

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


pgpUY0X2BL8Hg.pgp
Description: PGP signature


NFS hangups.

2001-01-29 Thread Alex Swavely
Have a problem with NFS.  I have a nice running machine for a while here,
and today it starts getting boggy, so I figure I'll reboot, have it clear
out swap, dump the process tables, etc...

Well, I can't get it to boot up now.
It gets as far as running exportfs (init.d script nfs-kernel-server) and
hangs.  When I go to reboot, it hangs up at the same place (where it's
unexporting), and I'm forced to give it the BRS treatment.

I've tried commenting out entries in my /etc/exportfs (using my rescue disk,
of course) down to nothing, and it still hangs.

This box is fairly important, being our main server (NFS, DNS, NIS,
etc...)...

Any suggestions?

FYI: Box uses debian potato.

T. Alex Swavely
I.S. Manager
The Software Revolution, Inc.
3330 Monte Villa Parkway
Suite 100
Bothell WA 98021-7212

Ph. +1 (425) 354-6464 x478
Fax +1 (425) 354-6465
BEGIN:VCARD
VERSION:2.1
N:Swavely;T.;Alex;Mr.
FN:T. Alex Swavely
ORG:The Software Revolution, Inc.
TITLE:System Administrator
TEL;WORK;VOICE:+1 (425) 893-8507 x478
TEL;PAGER;VOICE:(206) 516-2243
ADR;WORK;ENCODING=QUOTED-PRINTABLE:;;3330 Monte Villa Parkway=0D=0ASuite #100;Bothell;WA;98021-7212;United Stat=
es of America
LABEL;WORK;ENCODING=QUOTED-PRINTABLE:3330 Monte Villa Parkway=0D=0ASuite #100=0D=0ABothell, WA 98021-7212=0D=0AUn=
ited States of America
EMAIL;PREF;INTERNET:[EMAIL PROTECTED]
EMAIL;INTERNET:[EMAIL PROTECTED]
EMAIL;INTERNET:[EMAIL PROTECTED]
REV:2727T191022Z
END:VCARD


RE: USB printing under kernel 2.4: how?

2001-01-29 Thread Christopher R. Barry

--- Thomas Wegner <[EMAIL PROTECTED]> wrote:
> Hi Christopher!
> 
> On 29-Jan-2001 Christopher R. Barry wrote:
> > 
> > --- Thomas Wegner <[EMAIL PROTECTED]> wrote:
> >> Hi Christopher!
> >> 
> >> On 28-Jan-2001 Christopher R. Barry wrote:
> >> 
> >> >> > I try to print with the command
> >> >> > 
> >> >> >  $ lpr test.ps
> >> >> try "lpr -Plp or lpr -Plp0 file"
> >> > 
> >> > I tried that also. The docs say that if you don't specify a
> >> > -Pprinter
> >> > option
> >> > to lpr, then the default will be the first /etc/printcap entry,
> >> > which
> >> > is lp0
> >> > for me.
> >> 
> >> What does "lpq" and "lpc...status" say?
> > 
> > bash-2.04# lpq
> > Printer: [EMAIL PROTECTED] 
> >  Queue: no printable jobs in queue
> >  Status: removing job '[EMAIL PROTECTED]' - JREMOVE at 18:34:38.958
> this looks good.
> 
> > bash-2.04# lpc
> > lpc>status
> >  Printer   Printing Spooling Jobs  Server Subserver Redirect
> > Status/(Debug)
> > [EMAIL PROTECTED] enabled  enabled0nonenone
> > lpc>
> it seems also ok.
> > 
> > 
> >> Are you sure your usb-printer
> >> ist recognized by your system? 
> >> Try "cat  >/dev/lp0. Does it work?
> > 
> > No, the command just hangs.
> I think this is the problem. Take a look at the printing-HOWTO and and
> go ahead step by step. What filter-package do you have installed?
> Magicfilter?

I've installed the apsfilter package. I did go through the printing-HOWTO in
great detail. Since catting to the device does not work, I am beginning to
suspect some problem with interaction between 2.4.0 linux USB and my printer,
or perhaps just misconfiguration on my part. There is no way I haven't
compiled some module I was supposed to, but perhaps one of the modules needs
an option it hasn't gotten, or an alias that should be set hasn't been, or
something like that. Anything in particular I should look for?

(I'll try and get a parallel cable over the next few days and see if it at
least works with that.)


__
Do You Yahoo!?
Yahoo! Auctions - Buy the things you want at great prices. 
http://auctions.yahoo.com/



Re: Linux Partitions

2001-01-29 Thread ktb
On Mon, Jan 29, 2001 at 07:20:12PM -0500, David B. Harris wrote:
> To quote ktb <[EMAIL PROTECTED]>,
> # I would add /var to this list.  The reason being is if you run
> something
> # like squid and don't manage it right it will bring your system down if
> # it grows too large.  Maybe with todays large HD's it doesn't matter as
> # much but I've had it happen.  Log files can get large also.  Course if
> # you are on top of it there isn't a problem but not everyone is,
> # especially in the beginning:)  In addition take a look at -
> # http://www.linuxgazette.com/issue54/stoddard.html 
> # There is a little section on partitioning for a gateway.  There are
> good
> # reasons for having more than 3 partitions.
> 
> That's the entire point - "if you run something like squid and don't
> manage it right" ...
> 
> *IF* you run *something like squid*.
> 
> When you over-partition, you *really* screw up versatility. Until they
> know what they're using their system for, versatility is key.
> 

With todays large HD's in some sense both of our positions
are moot.  A one gig /var partition would be insane for a home user.
Enough room for versatility and months of bad squid administration.
Of course not everyone has large drives to work with.  I guess it comes
down to either you learn how to choose the size of your partitions in
the beginning or you don't.  You choose between versatility and
security.  Personal choice. 
kent

-- 
I'd really love ta wana help ya Flanders but... Homer Simpson



XMMS + Gnome + Sawfish

2001-01-29 Thread Jeremy Nickurak
I've been having problems for ages with XMMS, and I just thought I'd put a 
little flag up to see if anyone else has has similar experiences. In 
particular, XMMS seems to have a really hard time playing nicely with respect 
to it's Always-On-Top-ness. As far as I can tell, there's litterally no way for 
me to get the playlist to _not_ be always-on-top. I've reported this problem on 
the XMMS tech support boards, but nobody there seems to know anything about it, 
so I thought it might have something to do with the debianization of something. 
Comments, suggestions, and random murmerings would be appreciated.



Re: USB printing under kernel 2.4: how?

2001-01-29 Thread Christopher R. Barry

--- David Wright <[EMAIL PROTECTED]> wrote:
> Quoting Christopher R. Barry ([EMAIL PROTECTED]):
> 
> > > Are you sure your usb-printer
> > > ist recognized by your system? 
> > > Try "cat  >/dev/lp0. Does it work?
> > 
> > No, the command just hangs.
> 
> What did you actually type?
> I assume you *didn't* try /dev/lp0.

I created a file "hello.text" containing just "hello" and I typed:

# cat hello.text >/dev/usb/lp0

and also

# cat hello.text >/dev/lp0

it just hangs.

> But they are correct in that you should forget about printcap,
> lpr etc. until you can cat a file to the device.


__
Do You Yahoo!?
Yahoo! Auctions - Buy the things you want at great prices. 
http://auctions.yahoo.com/



xhost changes in X4

2001-01-29 Thread RAccess

I usually run applications remotely and view them on with my xserver.
Since I upgraded to X4, xhost doesnt seem to make any difference.
Secondly, I have noticed that root (through su) can now use the xserver
without 'localhost' being in xhost list. All signs say that xhost is dead.
So, who is the successor? :)

P.S. Running pico rmeotely is a pain in the ***. I want my emacs.
 (Dont start a vi vs. emacs war please) ;]

RAccess
#geeks/irc.openprojects.net

-BEGIN GEEK CODE BLOCK-
Version: 3.12
GCS GIT GP d- s+: a-- C+++ ULSB+++ P+ L+++ E+ W+++
N+ o K- w--- O- M-- V- PS+ PE Y+ PGP++ t++ 5-- X++
R* tv-- b+ DI+ D- G++ e h! r* !y+
--END GEEK CODE BLOCK--




Re: testing distribution security updates?

2001-01-29 Thread Anthony Towns
On Mon, Jan 29, 2001 at 04:23:52PM -0800, Joey Hess wrote:
> Chris Ruvolo wrote:
> > If a package is in the testing distribution and a security update is issued
> > that effects stable, testing and unstable, how long before the testing
> > package is updated?  Does it have to go through the full process of
> > maturation to make it to testing from unstable?
> Packages can be expidited into testing if the maintainer uploads them
> with a high urgency field set. I suppose that dependancies could still
> keep them out though.

They can be expedited even more by having an urgency of critical, but if
their dependencies are broken, or they're not recompiled on some architecture,
or they're buggy, they won't go in.

> > Would the updated packed be backported or otherwise
> > pushed into testing?  How soon?
> Good question. I suppose that if dependancies keep them out of testing,
> this could be a problem.

Getting packages compiled on all architectures is more likely to be the
problem: glibc has been held up because the arm autobuilder was running out
of space trying to compile it, eg.

Cheers,
aj

-- 
Anthony Towns <[EMAIL PROTECTED]> 
I don't speak for anyone save myself. GPG signed mail preferred.

``_Any_ increase in interface difficulty, in exchange for a benefit you
  do not understand, cannot perceive, or don't care about, is too much.''
  -- John S. Novak, III (The Humblest Man on the Net)


pgpDb5eDu6OJA.pgp
Description: PGP signature


Re: mailservers

2001-01-29 Thread Nate Amsden
ebirn wrote:

> Because of being quite new to server administration, I'd like to get some
> advise/personal opinions of mailservers (pop, imap and smtp). I don't want
> to use sendmail because its so unsecure and difficult to configure!

i use sendmail on all my mail servers, usually use exim or postfix on
the
ones that don't act as a "real" servers (just relaying mail for stuff
like
system accounts and scripts and stuff). currently i am working on
deploying
a new mail system which consists of:

1) sendmail 8.9.3 for SMTP
2) amavis (http://amavis.org) for Antivirus scanning
3) Sophos (www.sophos.com ?? i think) as the scanner $500 for 150 users
4) mcafee for unix (www.nai.com ??) as the 2nd scanner $9,000 for 150
users
5) Cyrus IMAP for IMAP4 access (very high performance and reliable)
6) Cyrus POP3 for POP3 access, because cyrus stores it's mail in
a special part of the server accessing it using a "generic" pop3
client would be difficult without modifying the sourcecode to it, so
i just use cyrus's pop3d.
7) sslwrap to enable SSL for POP3 and IMAP4 connections. considering
getting a real certificate from a CA for better SSL encryption.
8) evaluating squirrel mail (http://www.squirrelmail.org/) for the 
web front end(haven't actually started the eval yet)
9) Netscape Directory server 3.1 for LDAP database(this runs on
another machine, a sparc running on solaris 7) i never could get
openldap to do what i wanted. not sure how much this costs, the
current version probably runs $10k or something.

i use qmail on the mail hub which routes mail (via aliases and stuff) to
the leaf mail servers which run sendmail. it is not difficult to setup.
amavis is probably the most complicated as it does not have a debian
package last i checked and needs quite a bit of 3rd party programs
to be compiled from source. cyrus does not(AFAIKT) automagically
integrate with MTAs as theuy are installed so that requires some
manual configuration as well.

> 
> I already messed around with exim, what was quite easy to configure and the
> log analyzer was also nice. Having to make his own package from qmail-src
> does not seem to provide so many tools around it?

i haven't tried qmail under debian yet but i think it will be something
i will be attempting sooner rather then later the load on the mail
hub(redhat 6 running qmail) gets to about 10 to 15 when scanning for
viruses, so we are replacing the server with one that has hardware that
is about 6-8x faster.

good luck ...! 

nate

-- 
:::
ICQ: 75132336
http://www.aphroland.org/
http://www.linuxpowered.net/
[EMAIL PROTECTED]



PPTP with ppp 2.4.0f-1 and pptp-linux 1.0.2-3

2001-01-29 Thread Jordan
Sorry if this is an FAQ but I am losing hair on this one. Is ppp
2.4.0f-1 from the testing distribution compiled with the mppe patches?

I am running Debian potato with 2.2.16 kernel that has been compiled
with the various modules for tunneling.  I have installed pptp-linux
and ppp-2.4.0f-1 from the testing distribution but am still having
problems connecting to my VPN server at work.
 
I have read that the solution may rest with fixing pppd with the mppe
patches from http://www.scooter.cx/alpha/pptp.html . However, I have
also read that Debian demigods have poo-pooed these - I have been
unable to locate information regarding Debian's solution to the
problem of MS' use of non-standard authentication.
 
I would appreciate any help.

Jord

CHAP-SECRETS 
 
act.cmis.csiro.au\\how198   *   you_wish* 
 
 
 
PPTP cmd 
 
pptp pptp.act.cmis.csiro.au debug name act.cmis.csiro.au\\how198 remotename 
PPTP noauth 
 
 
SYSLOG 
 
Jan 29 13:56:01 fishhead pppd[8747]: pppd 2.4.0 started by root, uid 0 

Jan 29 13:56:01 fishhead pppd[8747]: Using interface ppp1 
Jan 29 13:56:01 fishhead pppd[8747]: Connect: ppp1 <--> /dev/pts/1 
Jan 29 13:56:01 fishhead pppd[8747]: sent [LCP ConfReq id=0x1 
   ] 
Jan 29 13:56:03 fishhead pppd[8747]: rcvd [LCP ConfReq id=0x0] 
Jan 29 13:56:03 fishhead pppd[8747]: sent [LCP ConfNak id=0x0 ] 
Jan 29 13:56:03 fishhead pppd[8747]: rcvd [LCP ConfAck id=0x1 
   ] 
Jan 29 13:56:03 fishhead pppd[8747]: rcvd [LCP ConfReq id=0x1] 
Jan 29 13:56:03 fishhead pppd[8747]: sent [LCP ConfAck id=0x1] 
Jan 29 13:56:03 fishhead pppd[8747]: sent [LCP EchoReq id=0x0 
magic=0x4906cb09] 
Jan 29 13:56:03 fishhead pppd[8747]: rcvd [CHAP Challenge id=0x6a 
, name = ""] 
Jan 29 13:56:03 fishhead pppd[8747]: sent [CHAP Response id=0x6a 
,  
name = "act.cmis.csiro.au\\how198"] 
Jan 29 13:56:03 fishhead pppd[8747]: rcvd [LCP EchoRep id=0x0 
magic=0x211b] 
Jan 29 13:56:05 fishhead pppd[8747]: rcvd [CHAP Challenge id=0x6b 
<3b7b922c8aea2ebb>, name = ""] 
Jan 29 13:56:05 fishhead pppd[8747]: sent [CHAP Response id=0x6b 
<8406d39b8f7df844c3e386aa48959d8686e\
8654cc7d56cb801>,  
name = "act.cmis.csiro.au\\how198"] 
Jan 29 13:56:07 fishhead pppd[8747]: rcvd [CHAP Challenge id=0x6c 
<29cdd0cba25bc092>, name = ""] 
Jan 29 13:56:07 fishhead pppd[8747]: sent [CHAP Response id=0x6c 
<0bf909b0096e8a3d047d7775964ceb511db\
0844db45ebdf901>,  
name = "act.cmis.csiro.au\\how198"] 
Jan 29 13:56:09 fishhead pppd[8747]: rcvd [CHAP Challenge id=0x6d 
<4fb089e5b851fa58>, name = ""] 
Jan 29 13:56:09 fishhead pppd[8747]: sent [CHAP Response id=0x6d 
,  
name = "act.cmis.csiro.au\\how198"] 
Jan 29 13:56:11 fishhead pppd[8747]: rcvd [CHAP Challenge id=0x6e 
<61135dfe7dbfb179>, name = ""] 
Jan 29 13:56:11 fishhead pppd[8747]: sent [CHAP Response id=0x6e 
<496242adea6bc46a2d35242f3e8bd757569\
4bd0eca3f121201>,  
name = "act.cmis.csiro.au\\how198"] 
Jan 29 13:56:13 fishhead pppd[8747]: rcvd [CHAP Challenge id=0x6f 
<8793f8fa3ef972c7>, name = ""] 
Jan 29 13:56:13 fishhead pppd[8747]: sent [CHAP Response id=0x6f 
,  
name = "act.cmis.csiro.au\\how198"] 
Jan 29 13:56:13 fishhead pppd[8704]: sent [LCP EchoReq id=0x1 
magic=0xd5255050] 
Jan 29 13:56:13 fishhead pppd[8704]: rcvd [LCP EchoRep id=0x1 
magic=0x2afa01c7] 
Jan 29 13:56:15 fishhead pppd[8747]: rcvd [CHAP Challenge id=0x70 
<48208b0f8ad03ba9>, name = ""] 
Jan 29 13:56:15 fishhead pppd[8747]: sent [CHAP Response id=0x70 
<8c987716ea90a82e19ff1f54f44f6fcdf57\
206817527a0d801>,  
name = "act.cmis.csiro.au\\how198"] 
Jan 29 13:56:17 fishhead pppd[8747]: rcvd [CHAP Challenge id=0x71 
<96c73edc525edc30>, name = ""] 
Jan 29 13:56:17 fishhead pppd[8747]: sent [CHAP Response id=0x71 
<79cc24f6f680b80458ba963fb06ef75e1c6\
f4ec926601eee01>,  
name = "act.cmis.csiro.au\\how198"] 
Jan 29 13:56:19 fishhead pppd[8747]: rcvd [CHAP Challenge id=0x72 
<601c6539160c689e>, name = ""] 
Jan 29 13:56:19 fishhead pppd[8747]: sent [CHAP Response id=0x72 
,  
name = "act.cmis.csiro.au\\how198"] 
Jan 29 13:56:21 fishhead pppd[8747]: rcvd [LCP TermReq id=0x2 00 00 02 
 
ce] 
Jan 29 13:56:21 fishhead pppd[8747]: LCP terminated by peer 
([EMAIL PROTECTED]@^BM-N) 
Jan 29 13:56:21 fishhead pppd[8747]: sent [LCP TermAck id=0x2] 
Jan 29 13:56:24 fishhead pppd[8747]: Connection terminated. 
Jan 29 13:56:25 fishhead pppd[8747]: Exit. 



-- 



Re: testing distribution security updates?

2001-01-29 Thread Joey Hess
Chris Ruvolo wrote:
> If a package is in the testing distribution and a security update is issued
> that effects stable, testing and unstable, how long before the testing
> package is updated?  Does it have to go through the full process of
> maturation to make it to testing from unstable?

Packages can be expidited into testing if the maintainer uploads them
with a high urgency field set. I suppose that dependancies could still
keep them out though.

> How about if the package in stable is not effected (i.e. only testing and
> unstable are vulnerable)?  Would there be any notification on the
> security-announce list?

Often not.

> Would the updated packed be backported or otherwise
> pushed into testing?  How soon?

Good question. I suppose that if dependancies keep them out of testing,
this could be a problem.

> Would you recommend keeping a line in /etc/apt/sources.list for the security
> server's stable collection if the box is running on testing or unstable
> packages?

Yes, it's a good idea because you may pick up updates from there before
they hit unstable/testing.

-- 
see shy jo



Re: Lots of problems: libc6, RAM not recognised etc.

2001-01-29 Thread Nate Amsden
Kyle Parfrey wrote:

> 1) RAM not recognised.
> I have 256mb of ram, but only 64mb are being recognised. I have a MEM=256M
> line in lilo.conf (this worked in mandrake) but it isn't working here. How
> can I get it all to be seen??
what is the exact line in lilo.conf ? should read:
append="mem=256M"
(im not sure if it is case sensitive but make it lower case just incase)

be sure to run /sbin/lilo after making changes to lilo.conf otherwise
the
changes will not take affect(and of course a reboot is required)

> 
> 2) Libc6 (& liblcms & libmng)
> I have installed kde2 , but to do this I needed to install libc6 2.2...

you don't need glibc 2.2 for kde2, get the potato kde2 debs from
kde.tdyc.com

> instead of 2.1.3 . I think it broke my compiler (well it doesn't work)
> and when I tried to install libc6-dev it said it needed the older version,
> but liblcms and libmng need the newer one. I don't know how to get out of
> this, or to get gcc working for that matter. Have already reinstalled gcc.
> Configure scripts say I am missing 'makeinfo'.

if you tried to install glibc 2.2 ..i don't know how to help ya here
chances are a lot of things broke. depending on what is going on
i may just reinstall if it was my machine.

> 
> 3) Sound n printer
> Any tools in debian to set up sound or printer? Otherwise I'm off to manpages
> and the wonderful world of emacs..

sound depends on soundcard, i usually compile my kernel and include the
driver
with the kernel(assuming you have a compadible soundcard) or you can
look
at alsa (there are debian packages not sure how old they are compared to
what is available at www.alsa-project.org, i think thats the right
website),
or there is OSS if you want to spend some cash and not have to worry
about configuration(www.oss.com) i have found it useful for certain
cards. OSS
like anything else does have it's fair share of problems though to be
fair.

printer.. you want to probably look at the apsfilter or magicfilter
packages
(apt-cache show apsfilter ..same for magicfilter) to configure the
printer.
i am by nomeans an expert on configuring printers in linux though so my
help for this must end at reccomending reading th docs for the package
you choose to go with :)

good luck.

nate


-- 
:::
ICQ: 75132336
http://www.aphroland.org/
http://www.linuxpowered.net/
[EMAIL PROTECTED]



Re: postgresSQL: howto start the machinery

2001-01-29 Thread Olivier Billet
Thanks a lot Britton.
Olivier.



Re: Broken reverse DNS - after recent bind upgrade?

2001-01-29 Thread Nate Amsden
Terry Boon wrote:

> === Extract from db.172.16.0 ===
> 
> ; BIND master database file
> ; 172.16.0
> ; Created by Terry Boon on 7 January 2001
> 
> 172.16.0.in-addr.arpa. IN SOA poulenc.herts.counterfactual.org. 
> terry.counterfactual.org (


first line of that file should be
$TTL 86400 

(or whatever your TTL is)
the next line should be 

@   IN  SOA poulenc.herts.counterfactual.org. 
terry.counterfactual.org   (

i think the @ is the most important part though. i would take out the
comments
at the top of the file just incase, although it shouldn't matter.

nate

-- 
:::
ICQ: 75132336
http://www.aphroland.org/
http://www.linuxpowered.net/
[EMAIL PROTECTED]



Re: Linux Partitions

2001-01-29 Thread David B . Harris
To quote ktb <[EMAIL PROTECTED]>,
# I would add /var to this list.  The reason being is if you run
something
# like squid and don't manage it right it will bring your system down if
# it grows too large.  Maybe with todays large HD's it doesn't matter as
# much but I've had it happen.  Log files can get large also.  Course if
# you are on top of it there isn't a problem but not everyone is,
# especially in the beginning:)  In addition take a look at -
# http://www.linuxgazette.com/issue54/stoddard.html 
# There is a little section on partitioning for a gateway.  There are
good
# reasons for having more than 3 partitions.

That's the entire point - "if you run something like squid and don't
manage it right" ...

*IF* you run *something like squid*.

When you over-partition, you *really* screw up versatility. Until they
know what they're using their system for, versatility is key.

David Barclay Harris, Clan Barclay
Aut agere, aut mori. (Either action, or death.)



Re: postgresSQL: howto start the machinery

2001-01-29 Thread Britton

You have to be user postgres to create postgreSQL users.  As root,
you can become any username you want like this:

su username


Britton Kerin
__
GNU GPL: "The Source will be with you... always."

On Tue, 30 Jan 2001, Olivier Billet wrote:

> Hi everyone,
>
> i'd like to use postgreSQL but running createuser as root
> throw me this error message :
>
> | $  createuser
> | Connection to database 'template1' failed.
> | FATAL 1:  SetUserId: user 'root' is not in 'pg_shadow'
> |
> | createuser: database access failed.
>
> how to set up the postgresql machinery ?
>
> Thanks,
> Olivier.
>



Re: use of apt-get upgrade...

2001-01-29 Thread Bob Nielsen
On Mon, Jan 29, 2001 at 02:29:57PM -0600, ktb wrote:
> On Mon, Jan 29, 2001 at 01:06:00PM -0700, Rick Macdonald wrote:
> > On Mon, 29 Jan 2001, Hall Stevenson wrote:
> > 
> > > > I've some doubts about apt-get behaivor...
> > > > I did a "normal" installation of potato some months
> > > > ago...from time to time I'll was install another packages
> > > > that I didn't installl at first installation...so I don't know if
> > > > when I do an apt-get upgrade or apt-get dist-upgrade it
> > > > review only the packages installed at first time or if it
> > > > review the other packages that I's been installed  since
> > > > months ago.
> > > 
> > > I'm not sure exactly what "apt-get dist-upgrade" does... as far as what
> > > packages is will install. I do know that "apt-get upgrade" only updates
> > > packages that you *currently* have installed.
> > > 
> > > I've done an installation and hopefully have the packages that I need
> > > and use often enough. I've also went through and removed packages that I
> > > don't need. Now, I keep those installed ones up-to-date with the
> > > "upgrade" option. I'm afraid that "dist-upgrade" will add some packages
> > > back that someone else thinks I need...
> > 
> > I've always used only dist-upgrade and haven't had any problems. I figure
> > that it's meant to do a better job if the dependencies of an installed
> > package change.
> > 
> 
> Take a look at the apt-get manpage. "dist-upgrade" upgrades to new
> *versions* of programs.  "upgrade" adds updates to the *current*
> version existing on your machine.  If you want to run stable "apt-get
> update" "apt-get upgrade"
> If you want to upgrade to another version(s) of a package, say in "testing"
> you would use "dist-upgrade"

'apt-get dist-upgrade' also handles situations where an updated package
introduces new dependencies and installs the dependencies as well. 
Plain 'apt-get upgrade' does not do this and will hold back an upgrade
if the dependencies aren't already installed.

-- 
Bob Nielsen, N7XY  [EMAIL PROTECTED]
Bainbridge Island, WA  http://www.oz.net/~nielsen
 



Odd CRC errors and md5 mis-matches - any ideas?

2001-01-29 Thread Pete Foley
Hey!

I am having a very odd problem that I am unable to solve.  I have a box setup 
at home which is a file-print server, running woody.  When I try to copy large 
files to it, the files tend to get CRC errors.  So at first I thought it was my 
network, so I did some testing.  I made a CD image, and rar'ed it into about 50 
rars.  Then tried to uncompress them.  I had to run the process several times 
before it finally worked - every time I ran it a different file would fail with 
a CRC error.  But when I would run it again, the initial erratic file would 
uncompress fine but another would then break.

Today, I tried to download the potato image (I did it directly from the server 
so I would not have to copy it over the network once it finished), and when I 
ran rsync, it would complain about the ISO being corrupt.  So after running 
rsync about 5 times and having it fail each time I decided to check out the md5 
checksum on the file.  The value I got obviously was not correct.  Then I ran 
md5sum again, and I got a different (still incorrect) value!  In fact, each 
time I run it I get different values.

Does anyone know why this is happening?  I have been having the CRC problems 
for a while, but upon discovering this I decided that I have had enough.  I 
have 2 other machines running woody and neither have this problem...

Any help/ideas would be greatly appreciated... Thanks,
-Pete




Re: apt-get segfaulting

2001-01-29 Thread kmself
on Sun, Jan 28, 2001 at 11:17:53PM +, Tiarnan O Corrain ([EMAIL PROTECTED]) 
wrote:
> Hey All,
> 
> many thanks to those who gave advice on installing kernel 2.4 on my
> laptop. Turned out the problem was that I hadn't set the processor
> type in the kernel configuration...
> 
> Now a new difficult rears its ugly head. Apt-get is segfaulting under
> the new kernel. When I try (for example) 
> apt-get install mpg123, the
> program segfaults immediately. Ditto with 
>   apt-get remove xxx
> 
> Any ideas? 

Try runnin 'strace' to see what system calls are run immediately prior
to the segfault.  Might be a corrupted file somewhere.

> Or methods of upgrading / correcting the faulty version of
> apt-get without using apt-get?

Download the appropriate package (e.g.:  ftp, wget), and install with
dpkg.  If this bombs  :-(   Write back (to list, not me).


-- 
Karsten M. Self http://kmself.home.netcom.com/
 What part of "Gestalt" don't you understand?   There is no K5 cabal
  http://gestalt-system.sourceforge.net/ http://www.kuro5hin.org


pgpc3jlIYNxKf.pgp
Description: PGP signature


Re: cursor disappears

2001-01-29 Thread kmself
on Sun, Jan 28, 2001 at 03:05:28PM -0500, MaD dUCK ([EMAIL PROTECTED]) wrote:
> hey,
> i am using vim-5.6.70 as comes with potato and i am experiencing some
> peculiarities when starting vim (or vi, but not mutt or other curses
> programs) on the console. namely, my cursor disappears during the
> vi/vim session and doesn't come back to the console until i issue
> 'reset'. not even logging off works...
> 
> now, since this is just vi/vim as far as i can tell, is this a bug
> about these programs?

I get this periodically and run through a cycle of 'reset; vi; top'
(continuing as needed) until the console is fully reset.

-- 
Karsten M. Self http://kmself.home.netcom.com/
 What part of "Gestalt" don't you understand?   There is no K5 cabal
  http://gestalt-system.sourceforge.net/ http://www.kuro5hin.org


pgpCymn4zmY9c.pgp
Description: PGP signature


postgresSQL: howto start the machinery

2001-01-29 Thread Olivier Billet
Hi everyone,

i'd like to use postgreSQL but running createuser as root
throw me this error message : 

| $  createuser 
| Connection to database 'template1' failed.
| FATAL 1:  SetUserId: user 'root' is not in 'pg_shadow'
| 
| createuser: database access failed.

how to set up the postgresql machinery ?

Thanks,
Olivier.



Re: French local under X

2001-01-29 Thread Martin Albert
On Son, 28 Jan 2001, Yvon VODOUNON wrote:
> I need help to set French local under X.

Yesterday i added 'export LC_ALL=de_DE" to my .profile

Most programs honour it.

Have a look for the french code, could be fr

HTH, greetings, martin



Re: Start up?

2001-01-29 Thread Martin Albert
On Mon, 29 Jan 2001, Andrew Clark wrote:
> The easiest way I have found to do SMB mounts at boot time is to put
> entries in /etc/fstab for them.  IIRC:
> 
> mount -t smbfs //winpc/share /mnt/winpc/ -o
> username=Administrator,password=blahblah
> 
> translates to:
> 
> //winpc/share /mnt/winpc smbfs username=Administrator,password=blahblah
> 0 2

You must have 'smbmount' installed for this to work.

greetings, martin



compiling lame - glib error

2001-01-29 Thread joeytsai
Hi, I just downloaded the newest version of lame (3.87) and I'm having problems
compiling.  The error message I'm getting is:

gcc  -DNDEBUG -O3 -fomit-frame-pointer -funroll-loops -ffast-math
-finline-functions -Wall -pedantic -DBRHIST -DHAVEGTK  -DUSE_LAYER_2
-DUSE_LAYER_1 -DHAVEMPGLIB -DLAMESNDFILE  -fPIC  -c main.c -o main.o
In file included from /usr/include/gdk/gdktypes.h:33,
 from /usr/include/gdk/gdk.h:31,
 from /usr/include/gtk/gtk.h:31,
 from main.c:18:
/usr/include/glib.h:66: glibconfig.h: No such file or directory
make: *** [main.o] Error 1

I have libglib1.2-dev installed, as well as libgtk1.2-dev. 

It appears that glibconfig.h exists in /usr/lib/glib/include/glibconfig.h.

Can anyone help?


Thanks,

// joey tsai



Broken reverse DNS - after recent bind upgrade?

2001-01-29 Thread Terry Boon
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I run a network of two machines on Debian 2.2 (potato).  apt-get
upgraded bind this evening, and since then, reverse name lookup on the
master name server for my domain has been broken.

The machines are as follows:

   poulenc (172.16.0.1)
   prokofiev (172.16.0.2)

poulenc is the master name server for the domain
herts.counterfactual.org (not visible to the outside world).

The logs (extract below) show that bind now has some problem upon
reading in the configuration files.  Error messages include "...not at
zone top..." and "...outside zone...".

Does anyone have ideas as to why this has suddenly stopped working and
generated these error messages?

Many thanks for any help.

=== Extract from /var/log/syslog (formatted for clarity) ===

Jan 29 22:04:54 poulenc named[517]: Zone "0.16.172.in-addr.arpa" (file
  /etc/bind/db.172.16.0): No default TTL ($TTL ) set, using SOA
  minimum instead

Jan 29 22:04:54 poulenc named[517]: /etc/bind/db.172.16.0:5: SOA for
  "172.16.0.in-addr.arpa" not at zone top "0.16.172.in-addr.arpa"

Jan 29 22:04:54 poulenc named[517]: /etc/bind/db.172.16.0:10: data
  "172.16.0.in-addr.arpa" outside zone "0.16.172.in-addr.arpa"
  (ignored)

Jan 29 22:04:54 poulenc named[517]: master zone
   "0.16.172.in-addr.arpa" (IN) rejected due to errors (serial 5)


=== Extract from /etc/bind/named.conf ===

zone "0.16.172.in-addr.arpa" in {
type master;
file "/etc/bind/db.172.16.0";
};


=== Extract from db.172.16.0 ===

; BIND master database file
; 172.16.0
; Created by Terry Boon on 7 January 2001

172.16.0.in-addr.arpa. IN SOA poulenc.herts.counterfactual.org. 
terry.counterfactual.org (
5   ; Serial
10800   ; Refresh after 3 hours
3600; Retry after 1 hour
604800  ; Expire after 1 week
86400 ) ; Minimum TTL of 1 day

;
; Name servers
;

0.16.172.in-addr.arpa.  IN NS   prokofiev.herts.counterfactual.org.
0.16.172.in-addr.arpa.  IN NS   poulenc.herts.counterfactual.org.

;
; Addresses point to canonical names
; 

1.0.16.172.in-addr.arpa.IN PTR  poulenc.herts.counterfactual.org.
2.0.16.172.in-addr.arpa.IN PTR  prokofiev.herts.counterfactual.org.

=== End extracts ===

- -- 
Terry Boon, Hertfordshire, UK
[EMAIL PROTECTED] 
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.5

iD8DBQE6dfigB+GG7A6DEUARAtO1AJ9Cp4FdktXBUWjiDimYwAk3O0LVIwCgv/Pa
KyaZaCe8cMaUCr44WlS2d2E=
=02a3
-END PGP SIGNATURE-



Re: Linux Partitions

2001-01-29 Thread ktb
On Mon, Jan 29, 2001 at 05:58:57PM -0500, David B. Harris wrote:
> To quote "Leonard Leblanc" <[EMAIL PROTECTED]>,
> # Hello Everyone,
> # 
> # I am going to be running a Linux box as Firewall/DNS/WWW/FTP/POP and
> maybe some other network applications.  I was wondering what your
> suggestions would be for Partitions.  I have already ready the Partition
> HOWTO, but still aren't quite sure what partitions would be best for my
> applications.
> 
> It depends on a number of things; what you'll be using the box for, how
> reliable it needs to be, how much space you have to throw around, how
> experienced you are, how much the box's uses will change over time, and
> a host of other things.
> 
> Most people I run in to drastically over-partition their hard drive.
> Five, six, even seven partitions for one running Linux system. Now,
> that's not to say it isn't useful - espeically in high-demand
> environments.
> 
> However, until you get a good feel for how much space the different
> directories will be taking, I suggest you make three partitions. One
> swap partition, one root partition, and one /home partition. Only
> reformat the root partition when you re-install your OS(if you ever do).
> 

I would add /var to this list.  The reason being is if you run something
like squid and don't manage it right it will bring your system down if
it grows too large.  Maybe with todays large HD's it doesn't matter as
much but I've had it happen.  Log files can get large also.  Course if
you are on top of it there isn't a problem but not everyone is,
especially in the beginning:)  In addition take a look at -
http://www.linuxgazette.com/issue54/stoddard.html 
There is a little section on partitioning for a gateway.  There are good
reasons for having more than 3 partitions.
kent

-- 
I'd really love ta wana help ya Flanders but... Homer Simpson



[Solution] Re: Gnome not starting.. (after a crash)

2001-01-29 Thread Paul Schulz
Grettings (again),

Found it!  The problem was with 'yiff', a sound server which is
suggested by the 'xshipwars' package.

I hardly switch off the machine that I installed it on, but when it was
rebooted (I'll have to talk to my SO about that one), 'yiff' opened
/dev/dsp.  This caused everything else to block:

gnome (sound)
xmms
mpg123 

Removing this package (and all the related 'xshipwars' packages) fixed
the problem.  I fould the problem by using 'strace' on mpg123, to find
that it was blocking on /dev/dsp, and 'lsof' to show that 'yiff' was
the culparate.

OK.  What do I do from here?  I can email a bug report to the
maintainer..  Raphael Bossek <[EMAIL PROTECTED]>.  I'm using a web
updated potato with security updates.

I only received one email from my original request (thanks Andrea).

Paul 

- --8<---(snip snip)---
Greetings,

'Gnome' is not starting up anymore, and I'm not able to run 
gnome applications:

It opens a connection on the localhost to port 16001,
and waits, but doesn't get anything.. and seems to just be hanging.

What is this port?  I don't know how the gnome system works, so any
pointers (to documentation or whatever) would be useful.

Running 'strace' on a gnome application gives
- ---8<--(snip)-
open("/etc/popt", O_RDONLY) = -1 ENOENT (No such file or directory)
getuid()= 1001
geteuid()   = 1001
open("/home/paul/.popt", O_RDONLY)  = -1 ENOENT (No such file or directory)
access("/tmp/.esd/socket", R_OK|W_OK)   = -1 ENOENT (No such file or directory)
socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 3
fcntl(3, F_SETFD, FD_CLOEXEC)   = 0
setsockopt(3, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0
connect(3, {sin_family=AF_INET, sin_port=htons(16001), 
sin_addr=inet_addr("0.0.0.0")}}, 16) = 0
rt_sigaction(SIGPIPE, {0x403a9eb0, [], SA_RESTART|0x400}, {SIG_DFL}, 8) = 0
open("/home/paul/.esd_auth", O_RDONLY)  = 4
read(4, "[EMAIL PROTECTED]@\314\373\377\277\0\236\0@", 16) = 16
write(3, "[EMAIL PROTECTED]@\314\373\377\277\0\236\0@", 16) = 16
write(3, "NDNE", 4) = 4
read(3,  

- ---8<--(snip)-

Paul


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



--- End of Forwarded Message



Re: Magic cookies and running programs under X as root

2001-01-29 Thread Gary Hennigan
kmself@ix.netcom.com writes:
> on Sun, Jan 28, 2001 at 02:12:44AM -0800, Terry Carney
> ([EMAIL PROTECTED]) wrote:
> > On Sat, 27 Jan 2001, Christopher R. Barry wrote:
> >
> > >   Xlib: connection to ":0.0" refused by server
> > >   Xlib: Client is not authorized to connect to Server
> > >   Error: Can't open display: :0.0
> > >
> > > I guess tonight I finally want to get around to figuring out how to
> stop this
> > > from happening. What do I do so I can run programs as root?
> >
> > The following works for me. All on one line in case of wordwrap.
> >
> > XAUTHORITY=/home/username/.Xauthority;DISPLAY=:0.0;export XAUTHORITY
> DISPLAY
>
> *Don't* do this.
>
> You're now allowing access to root's X display via an unprivileged
> user's file.  If that file is compromised, root's X access is
> compromised.  This includes changing the value of the cookie in the
> file.
>
> Better to merge against a user's file.  This allows you to match the
> present state of the file, but prevent future values from being applied
> to root's X authorization keys.  Puts root in stronger control.

I guess I don't understand the difference. If the user's ~/.Xauthority
file is compromised, and that user owns the X session, all bets are
off. Anything opened as root, and displayed in the user-owned X
session, is up for grabs. For example, I log in as a user, then su to
root and set my XAUTHORITY and DISPLAY environment variables as shown
above. I then pop up an xterm, from the root login, and proceed to log
in as root on another system. If X security for the user session is
compromised another user could, in theory, capture the key strokes and
get the root password as it's typed. How am I protected if, instead, I
do an xauth merge? Perhaps I'm missing something about how X works?

Then there's the whole issue of someone compromising the file
~user/.Xauthority, which should be a mode 600 file. If they do that
you've already got some pretty serious problems and someone watching
your X apps running as root seems a minor concern. 

Come to think of it, if they've compromised your user X-session
security they already have your root password because they could watch
your keystrokes when you did the "su" in an xterm and typed in the
root password.

If your concern about security is that strong, and there's nothing
necessarily wrong with that, you're best off only using the console to
log in as root, or at the very least log in as root and start the X
session as root.

As always, security is a matter of compromise. There's no absolute
security -- ever. There's absolutely no way to have a computer that's
impossible to get in to. If I were running a serious multi-user
system, with users who may try their hand at cracking I'd take the
route of never logging in as root except at the console or starting
the X session as root. On the other hand if this were my home system
and maybe one or two trusted user accounts. I wouldn't hesitate to set
the environment variables as described at the beginning.

Gary



Re: Fwd: File updates req'd for network(2nd try)

2001-01-29 Thread ktb
On Mon, Jan 29, 2001 at 05:41:57PM -0500, Noah L. Meyerhans wrote:
> On Mon, Jan 29, 2001 at 02:47:00PM -0700, JD Kitch wrote:
> > iface eth1 inet static
> > address 192.168.1.1
> > netmask 255.255.255.0
> > network 192.168.0.0
> > broadcast 192.168.1.255
> 
> This is wrong.  Well, I don't have experience that indicates that it
> doesn't *work*, but it's still wrong.  Look closely at the values...one
> of them doesn't match the others.  Network is not compatible with the
> rest of the values.  You say you're on network 192.168.0.0, but your IP
> address is 192.168.1.1 with a netmask of 255.255.255.0.  You should
> change network to 192.168.0.0
> 

Did you mean change the network to 192.168.1.0 ?
kent


-- 
I'd really love ta wana help ya Flanders but... Homer Simpson



Re:X troubles (serious) with testing/woody

2001-01-29 Thread Malcolm Gray
Hi

I had the same problem with my upgrade to 4.0.2.

By default it expects /etc/X11/X to be your server.  I set up a symlink from
there to the actual xserver which is xfree86 (sorry don't remember the path
and am away from my Linux box - a "find" should locate it).

Malcolm Gray




Re: Linux Partitions

2001-01-29 Thread David B . Harris
To quote "Leonard Leblanc" <[EMAIL PROTECTED]>,
# Hello Everyone,
# 
# I am going to be running a Linux box as Firewall/DNS/WWW/FTP/POP and
maybe some other network applications.  I was wondering what your
suggestions would be for Partitions.  I have already ready the Partition
HOWTO, but still aren't quite sure what partitions would be best for my
applications.

It depends on a number of things; what you'll be using the box for, how
reliable it needs to be, how much space you have to throw around, how
experienced you are, how much the box's uses will change over time, and
a host of other things.

Most people I run in to drastically over-partition their hard drive.
Five, six, even seven partitions for one running Linux system. Now,
that's not to say it isn't useful - espeically in high-demand
environments.

However, until you get a good feel for how much space the different
directories will be taking, I suggest you make three partitions. One
swap partition, one root partition, and one /home partition. Only
reformat the root partition when you re-install your OS(if you ever do).

David Barclay Harris, Clan Barclay
Aut agere, aut mori. (Either action, or death.)



Re: Fwd: File updates req'd for network(2nd try)

2001-01-29 Thread Noah L. Meyerhans
On Mon, Jan 29, 2001 at 02:47:00PM -0700, JD Kitch wrote:
> iface eth1 inet static
>   address 192.168.1.1
>   netmask 255.255.255.0
>   network 192.168.0.0
>   broadcast 192.168.1.255

This is wrong.  Well, I don't have experience that indicates that it
doesn't *work*, but it's still wrong.  Look closely at the values...one
of them doesn't match the others.  Network is not compatible with the
rest of the values.  You say you're on network 192.168.0.0, but your IP
address is 192.168.1.1 with a netmask of 255.255.255.0.  You should
change network to 192.168.0.0

If that doesn't help, then the problem doesn't seem to be with Linux.
Check the configurations on the win machines.

noah

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



pgpI3NV0REKQA.pgp
Description: PGP signature


Re: xterm

2001-01-29 Thread Erdmut Pfeifer
On Mon, Jan 29, 2001 at 02:38:11PM +0100, Ionel Mugurel Ciob?c? wrote:
> Hi all,
> 
> Someone knows where I can get the default behaviour of characters
> from 128 to 255, if they are separators or not.
> 
> In man xterm it sais about class CharClass, but it refer only to
> 0-127:
> 
>The default table is
> 
>static int charClass[128] = {
>/* NUL  SOH  STX  ETX  EOT  ENQ  ACK  BEL */
>32,   1,   1,   1,   1,   1,   1,   1,
> .
> .
> .
>/*   xyz{|}~  DEL */
>48,  48,  48, 123, 124, 125, 126,   1};
> 
> 
> Info xterm give the same answer as man xterm.

this seems to be a highly version-specific issue. The newer versions
of xterm seem to support the full 8-bit charset and even unicode
in CharClass definitions.

To quote from the manpage that comes with the most recent source
distribution of xterm (e.g. http://dickey.his.com/xterm/xterm.tar.gz):

(...)
CHARACTER CLASSES   

   Clicking the middle mouse button twice in rapid succession   

   will cause all characters of the same class (e.g. letters,   

   white space, punctuation) to be selected.  Since different   

   people have  different  preferences  for  what  should  be   

   selected  (for  example, should filenames be selected as a   

   whole or only the separate subnames), the default  mapping   

   can  be overridden through the use of the charClass (class   

   CharClass) resource. 



   This  resource  is  a   series   of   comma-separated   of   

   range:value pairs.  The range is either a single number or   

   low-high in the range of 0 to 65535, corresponding to  the   

   code for the character or characters to be set.  The value   

   is arbitrary, although the default table uses the  charac-   

   ter  number  of  the first character occurring in the set.   

   When not in UTF-8 mode, only the first 256 bytes  of  this   

   table will be used.  



   The default table starts as follows -



   static int charClass[256] = {

(...)


I can't tell you the exact version in which support for this was added.
If you are interested in all the details, you might want to browse the
changelog at

http://dickey.his.com/xterm/xterm.log.html

(though that's probably more than you want to know :)

Also, if you are not afraid of reading the source, have a look at
the file "charclass.c" from the source distribution...

HTH,
Erdmut


-- 
Erdmut Pfeifer
science+computing gmbh

-- Bugs come in through open windows. Keep Windows shut! --



Re: Fwd: File updates req'd for network(2nd try)

2001-01-29 Thread ktb
On Mon, Jan 29, 2001 at 02:47:00PM -0700, JD Kitch wrote:
> Trying again  No response on first attempt, which is odd for
> this list, so I'm sending again.  Any help is HUGELY appreciated.
> 
> - Forwarded message from JD Kitch <[EMAIL PROTECTED]> -
> After considerable mucking around and a great deal of help from this
> group some time back, I had connected a second PC to my Linux box
> using a second NIC and a crossover cable.  And really all I did at
> that time is add the second entry to my /etc/network/interfaces, and
> setup the attached PC with an internal(192.168.1.100) IP address
> pointing to eth1(192.168.1.1) as it's gateway. 
> 
> Now I have need to add another PC.  I added a 5 port hub, and now go
> >from the second NIC in my Debian box out to the hub, and then from
> there out to the other 2 PC's all using straight-through cables.  I
> configured the PC's that I attached(both windows machines) the same
> as before, but they don't see network connectivity.  Are there other
> files that I need to change on my Debian setup to make this work
> now?  I kind of assumed it would be no different, but that's
> apparently not the case.  My exact setup is:
> /->Windows PC
> cable modem -> (eth0)Debian box(eth1) -> Hub
> \->Windows PC
> 
> My /etc/network/interfaces
> 
> auto lo eth0 eth1
> 
> # The loopback interface
> iface lo inet loopback
> 
> # The ethernet interface, configured by etherconf
> iface eth0 inet static
>   address 24.14.246.95
>   netmask 255.255.255.128
>   gateway 24.14.246.1
> 
> iface eth1 inet static
>   address 192.168.1.1
>   netmask 255.255.255.0
>   network 192.168.0.0
>   broadcast 192.168.1.255
> 
> I am also running ipchains and masquerading, but have no
> restrictions on the local interface traffic.  The same ipchains
> setup worked fine with the single PC attached via crossover.
> 
> Any help would be greatly appreciated.
> 

Can you access the "outside" from your debian box?  This list isn't for
windows but all you have to do is set up tcp/ip pointing them to your
gateway 192.168.1.1, give them an ip and reboot.  If that didn't or
doesn't work then I would open your firewall rules wide open to see
if there is a block there.  Next the masquerading.  Also you mentioned
all was working until you added another nic.  Are all your indicator
lights (nic and hub) all lit up?  
hth,
kent
-- 
I'd really love ta wana help ya Flanders but... Homer Simpson



Re: Linux - DNS/WWW/POP

2001-01-29 Thread ktb
On Mon, Jan 29, 2001 at 04:06:25PM +0100, Viktor Rosenfeld wrote:
> Hello,
> 
> ktb wrote:
> 
> > > Can I have one Linux box working as my name server, web server, proxy 
> > > server, mail server, and ftp?
> > >
> > 
> > Yes you can do that.  Where I work the policy is one main service per
> > server for security and performance reasons.  If this box is for home
> 
> A related question:  Can I have a box serve both as a server (DNS, mail,
> proxy, web, ...) for the local network _and_ as a firewall for the local
> network at the same time?
> 
> I will soon have a DSL flat rate and plan to be online all the time. 
> However, to protect my boxen from stupid script kiddies, I want to have
> only one port open to the internet, and that is SSH.  On the other hand
> I want to have all the other ports open on the local net, because I
> don't risk anybody cracking the box, it will only be my roommates.
> 
> So, is this possible?  Only SSH open on one interface and all the rest
> restricted to the local interface?  Does netfilter in 2.4 help?  (I
> haven't read up on it, but I heared, that it's stateful firewalling.)
> 
> The alternative would be having one box serve as a dedicated firewall (I
> figure, my old 486DX/33 with 8MB will do it) and another box serve as a
> local server.  This has the advantage, that, if I screw up and my server
> goes down, I still have internet access.  On the other hand, it's
> another box consuming energy, and I like to avoid that as much as
> possible (for both financial and environmental reasons).
> 
> Thoughts?
> 

What ever services you run you need a port open so the "outside" can
access it.  In other words if you want to run a web server you must have
say, port 80 open.  I use openbsd for a firewall using NAT.  From what
little I have read the new firewall stuff in 2.4 works similar.
"Stateful" is a great thing.  You can set up a default rule to block all
incoming and another to allow any communication from the outside, if you
initiate it.  

What I would do if I were you is set up a three legged network (three
network cards in your firewall).  One card connecting to the outside,
one connecting to a server (dmz) and one to your internal network
(workstation).  Set up your firewall with a default 'deny all' from the
outside.  Then set up rules to let in just the services you want to
offer such as a web server, dns server, etc.  Have these services
redirected by your firewall to your server.  You could leave port 22
open on your firewall for ssh.  So you would have one port open on your
firewall and all other services redirected to your server and still be
able to send and receive mail, surf the web etc.  I think that is pretty
close to what you want.
hth,
kent
   
-- 
I'd really love ta wana help ya Flanders but... Homer Simpson



Lots of problems: libc6, RAM not recognised etc.

2001-01-29 Thread Kyle Parfrey
Hello all::
I have just installed debian on a nice 'n fast i686 computer but have had 
lots of problems getting the system working. If anyone knows a solution to 
any of these I would very much appreciate the mailing of said solution to me.

1) RAM not recognised.
I have 256mb of ram, but only 64mb are being recognised. I have a MEM=256M 
line in lilo.conf (this worked in mandrake) but it isn't working here. How 
can I get it all to be seen??

2) Libc6 (& liblcms & libmng)
I have installed kde2 , but to do this I needed to install libc6 2.2... 
instead of 2.1.3 . I think it broke my compiler (well it doesn't work) 
and when I tried to install libc6-dev it said it needed the older version, 
but liblcms and libmng need the newer one. I don't know how to get out of 
this, or to get gcc working for that matter. Have already reinstalled gcc. 
Configure scripts say I am missing 'makeinfo'.

3) Sound n printer
Any tools in debian to set up sound or printer? Otherwise I'm off to manpages 
and the wonderful world of emacs..

Thanks for the help,,

Kyle

-- 
"For he on honey dew hath fed,
and drunk the milk of paradise"
http://www.iol.ie/~gyle



Re: Debian Testing distro problems

2001-01-29 Thread William Shui
yes, they're all correct.

I could get my system back up and running and login working after pressing
the "reset" button.

it just takes ages for fsck to go through my 20GB harddisk.



On Mon, Jan 29, 2001 at 01:02:36PM +0100, Thomas Guettler wrote:
> On Mon, Jan 29, 2001 at 10:47:49AM +1100, William Shui wrote:
> > Hi,
> > I have recently upgraded my potato to testing.
> > 
> > A strange thing happened.
> 
> >  It appears that after 1 or 2 days of uptime, when I'm idle (either
> > in a x environment or in a console). The output of "whoami" would
> > be, "you do not exist, go away!"
> 
> Is your /etc/passwd correct?
> 
> -- 
> Thomas Guettler
> Office: <[EMAIL PROTECTED]> www.interface-business.de
> Private:<[EMAIL PROTECTED]>  http://yi.org/guettli

-- 
Bow to me for I might be root.
-
Bill Shui   Bioinformatics Programmer
Email: [EMAIL PROTECTED]
Phone: 61 2 8877 8932
Proteome Systems Ltd.



Re: Magic cookies and running programs under X as root

2001-01-29 Thread kmself
on Sun, Jan 28, 2001 at 02:12:44AM -0800, Terry Carney ([EMAIL PROTECTED]) 
wrote:
> On Sat, 27 Jan 2001, Christopher R. Barry wrote:
> 
> >   Xlib: connection to ":0.0" refused by server
> >   Xlib: Client is not authorized to connect to Server
> >   Error: Can't open display: :0.0
> > 
> > I guess tonight I finally want to get around to figuring out how to stop 
> > this
> > from happening. What do I do so I can run programs as root?
> 
> The following works for me. All on one line in case of wordwrap.
> 
> XAUTHORITY=/home/username/.Xauthority;DISPLAY=:0.0;export XAUTHORITY DISPLAY

*Don't* do this.

You're now allowing access to root's X display via an unprivileged
user's file.  If that file is compromised, root's X access is
compromised.  This includes changing the value of the cookie in the
file.

Better to merge against a user's file.  This allows you to match the
present state of the file, but prevent future values from being applied
to root's X authorization keys.  Puts root in stronger control.

-- 
Karsten M. Self http://kmself.home.netcom.com/
 What part of "Gestalt" don't you understand?   There is no K5 cabal
  http://gestalt-system.sourceforge.net/ http://www.kuro5hin.org


pgpUFk0iyL8fh.pgp
Description: PGP signature


Re: unofficial pine 4.32 .debs available

2001-01-29 Thread Coronya
Wow thanks!!!

On Mon, 29 Jan 2001, Jaldhar H. Vyas wrote:

> On Sun, 28 Jan 2001, Coronya wrote:
>
> > BTW, do you know any other unofficial deb sites? ;)
> >
> Debian developer, Stephane Bortzmeyer has a list of unoffical apt-gettable
> sites at:
>
> http://www.internatif.org/bortzmeyer/debian/apt-sources/
>
>



Re: Linux - DNS/WWW/POP

2001-01-29 Thread Viktor Rosenfeld
Hello,

ktb wrote:

> > Can I have one Linux box working as my name server, web server, proxy 
> > server, mail server, and ftp?
> >
> 
> Yes you can do that.  Where I work the policy is one main service per
> server for security and performance reasons.  If this box is for home

A related question:  Can I have a box serve both as a server (DNS, mail,
proxy, web, ...) for the local network _and_ as a firewall for the local
network at the same time?

I will soon have a DSL flat rate and plan to be online all the time. 
However, to protect my boxen from stupid script kiddies, I want to have
only one port open to the internet, and that is SSH.  On the other hand
I want to have all the other ports open on the local net, because I
don't risk anybody cracking the box, it will only be my roommates.

So, is this possible?  Only SSH open on one interface and all the rest
restricted to the local interface?  Does netfilter in 2.4 help?  (I
haven't read up on it, but I heared, that it's stateful firewalling.)

The alternative would be having one box serve as a dedicated firewall (I
figure, my old 486DX/33 with 8MB will do it) and another box serve as a
local server.  This has the advantage, that, if I screw up and my server
goes down, I still have internet access.  On the other hand, it's
another box consuming energy, and I like to avoid that as much as
possible (for both financial and environmental reasons).

Thoughts?

TIA,
Viktor
-- 
Viktor Rosenfeld
WWW: http://www.informatik.hu-berlin.de/~rosenfel/
Geek Code (3.1):
  GCS/SS d-@ s+: a20 C++@ UL++$ P+ L+++ E--- W++ N++ o? K? !W O? M? V?
  PS++@ PE+(-) Y+ P?(+++) t+ 5+ X- R? !tv b+ DI+ D- G e>+++ h-- r- !y+



Fwd: File updates req'd for network(2nd try)

2001-01-29 Thread JD Kitch
Trying again  No response on first attempt, which is odd for
this list, so I'm sending again.  Any help is HUGELY appreciated.

- Forwarded message from JD Kitch <[EMAIL PROTECTED]> -
After considerable mucking around and a great deal of help from this
group some time back, I had connected a second PC to my Linux box
using a second NIC and a crossover cable.  And really all I did at
that time is add the second entry to my /etc/network/interfaces, and
setup the attached PC with an internal(192.168.1.100) IP address
pointing to eth1(192.168.1.1) as it's gateway. 

Now I have need to add another PC.  I added a 5 port hub, and now go
>from the second NIC in my Debian box out to the hub, and then from
there out to the other 2 PC's all using straight-through cables.  I
configured the PC's that I attached(both windows machines) the same
as before, but they don't see network connectivity.  Are there other
files that I need to change on my Debian setup to make this work
now?  I kind of assumed it would be no different, but that's
apparently not the case.  My exact setup is:
/->Windows PC
cable modem -> (eth0)Debian box(eth1) -> Hub
\->Windows PC

My /etc/network/interfaces

auto lo eth0 eth1

# The loopback interface
iface lo inet loopback

# The ethernet interface, configured by etherconf
iface eth0 inet static
address 24.14.246.95
netmask 255.255.255.128
gateway 24.14.246.1

iface eth1 inet static
address 192.168.1.1
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.1.255

I am also running ipchains and masquerading, but have no
restrictions on the local interface traffic.  The same ipchains
setup worked fine with the single PC attached via crossover.

Any help would be greatly appreciated.

TIA,
jdk



Re: Need help/advise w/sound setup. LONG post!

2001-01-29 Thread David A. Rogers
John,

Take a look at debian university.  It will point you in the right direction.

http://www.xnet.com/~darogers/debian_university.txt

cheers,
dar


On Fri, 26 Jan 2001, John Foster wrote:

> I have been using OSS commercial grade for several years on our Debian
> systems. This requires a licensing fee to the end user. I would like to
> be able to get sound working on our systems using free software, to
> avoid that expense. If I am able to get it working on our server I think
> I will develop the skills to manage it on our retail systems.
>
> My basic software system is Debian-2.2r2 GNU/Linux Potato with a few
> tweaks from outside sources. I run Kernel-2.4.0_final compiled for SMP.
> WE tend to use sound boards with Yamaha chips (OPL3-SA2) because of cost
> purposes. I am using GDM as my display manager, Enlightenment as the
> window manager, and Gnome as the desktop manager. I selected Alsa rather
> than esound as my sound software after reading all of the docs. The
> reason is that alsa allows use of a greater range of software due to
> dependencies. I put the kernel .config file & the output from dmesg
> below for any questions regarding specefically how the kernel and
> modules work. I used alsaconf and  If I enter from root#:
> /etc/init.d/alsa start I get the message;Starting sound driver:
> snd-card-opl3sa2 failed.
> >From this point I am lost.
> Any help or advise is appreciated..Please excuse the use of bandwidth.
>
>
> My kernel config file is below:
> ---
[snip]
> --
>
>



mailservers

2001-01-29 Thread ebirn
I know that exim is the default mailserver on Debian.

Because of being quite new to server administration, I'd like to get some
advise/personal opinions of mailservers (pop, imap and smtp). I don't want
to use sendmail because its so unsecure and difficult to configure!

I already messed around with exim, what was quite easy to configure and the
log analyzer was also nice. Having to make his own package from qmail-src
does not seem to provide so many tools around it?

plz correct me if i'm wrong

regards
Erich Birngruber



Jed

2001-01-29 Thread Xucaen
would anyone care to comment on this (just for
the sake of my own curiosity)?

--
> > 
> > Incidently, I finally installed debian this
> weekend.  The way it is
> > installed appears to me to be quite
> convoluted and, in particular,
> > breaks my .jedrc script.
> 
> Do I ever agree! I've been using Debian for
> years, but its jed setup is,
> to say the least, rather misguided. For some
> obscure reason, the files
> that make up the standard jed tar ball are
> spread in Debian over several
> deb packages. More curious still is the complex
> set of config files it
> sees fit to set up.
> 
> It makes a great case in favor of compiling
> one's own.
> 


__
Do You Yahoo!?
Yahoo! Auctions - Buy the things you want at great prices. 
http://auctions.yahoo.com/



Re: About apt-get dist-upgrade

2001-01-29 Thread kmself
on Fri, Jan 26, 2001 at 06:46:45PM -0600, Rogelio E. Castillo Haro,,, ([EMAIL 
PROTECTED]) wrote:
> Hi!
> 
> I use Debian since some months ago (potato).
> I did upgrade my box with apt-get dist-upgrade some times.
> But the last three or for seems like is nothing to upgrade exception 
> from spidermonkey (gnome), so, It's better that I change my source.lists 
> to woody, or to another server?
> 
> Those are my actual lines:
> 
> # See sources.list(5) for more information, especialy
> # Remember that you can only use http, ftp or file URIs
> # CDROMs are managed through the apt-cdrom tool.
> deb http://http.us.debian.org/debian stable main contrib non-free
> deb http://non-us.debian.org/debian-non-US stable/non-US main contrib 
> non-free
> deb http://security.debian.org/ slink updates

Slink is no longer stable, it's obsolete.  Change "slink" to "stable" in
the line above.

> # Uncomment if you want the apt-get source function to work
> #deb-src http://http.us.debian.org/debian stable main contrib non-free
> #deb-src http://non-us.debian.org/debian-non-US stable non-US
> 
> deb http://kde.tdyc.com potato main crypto optional qt1apps

"potato" is stable, but it might be better to specify this directly.
Check at tdyc for what you want for KDE updates.  I believe KDE2 is in
woody (unstable) itself.

> deb http://galeon.sourceforge.net/nightly/debian galeoncvsm18/
> deb http://spidermonkey.helixcode.com/distributions/debian unstable main
> 
> ah! and I can't install galeon, always told me that I need mozilla but 
> neither I can't install it :(

I've found galeon doesn't install under stable. 

-- 
Karsten M. Self http://kmself.home.netcom.com/
 What part of "Gestalt" don't you understand?   There is no K5 cabal
  http://gestalt-system.sourceforge.net/ http://www.kuro5hin.org


pgptPadkdy7Yn.pgp
Description: PGP signature


Re: Linux - DNS/WWW/POP

2001-01-29 Thread Jim

Hi,

It is perfectly possible, it is the configuration that I have now.

It is worth looking at the documents from LDP. You can get them via ftp 
from:


ftp://sunsite.unc.edu/pub/Linux/docs/linux-doc-project

The Linux Network Administators Guide there would be worth a read at least.

Jim


Leonard Leblanc wrote:

I'm interested in setting up a Linux Box to host my web-site and 
network.  I've started reading the appropriate how-to's (Security, 
DNS, NIS, Firewall, etc.) and am just a little unsure about one thing. 
BTW: running debian of course.. :)


 

Can I have one Linux box working as my name server, web server, proxy 
server, mail server, and ftp?


 


Thanks,

Leonard Leblanc





building package with debug options?

2001-01-29 Thread debuser
Is there an easy way to compile a Debian source package with debugging
options turned on (removing the -O2 and adding -g to all the make
files) or is that something that has to be done manually? Something like
dpkg-buildpackage --debug???

Thanks,

Gerry



Hughes satellite modem?

2001-01-29 Thread DSC Lithuania




I'm way out here in the boondocks 
(spelled Lithuania), and it's rather nice, but 
internet is awfully expensive.  
I've been thinking for the future 2-3 years, and 
it occurred to me that Hughes offers 
a satellite modem setup (DirectWeb) 
for super-fast downloads.  It is essentially similar to 
their DirectTV.  You have
your internet dialup connection, as 
usual.  However, the outgoing requests all 
get routed to the Hughes center, 
which downloads items at super-high speed,
runs them up to their satellite, and 
back down to your own receiver dish.  Your
interpreter then decodes the 
information, and then releases it to your computer.
So instead of 2-way modem 
information, you pretty much have 1-way modem
information and 1-way satellite 
download.  
 
But of course, it requires special 
driver software.  
 
Does anyone know if this driver 
software has been developed for Linux?  Because
once you had such a satellite 
connection it would be -- though not trivial -- possible
to wire an entire building for 
internet with a Linux box being the distribution point.  
And then the costs per person would 
become trivial.  
 
 


Re: crontab ?

2001-01-29 Thread Dave Sherohman
On Mon, Jan 29, 2001 at 06:46:48PM +0200, Timo wrote:
> The main problem is, why does cron not understand network parameters while 
> using
> specific .
> I have tried ifconfig eth0 down,  /etc/init.d/networking stop, etc... 
> simulating
> Madrakes usernet command,

Just to hit on the obvious:

Who are you logged in as when you set the crontab?  If you're not root, you
don't have permission to do those things.

-- 
SGI products are used to create the 'Bugs' that entertain us in theatres
and at home. - SGI job posting
Geek Code 3.1:  GCS d? s+: a- C++ UL++$ P++>+++ L+++> E- W--(++) N+ o+
!K w---$ O M- V? PS+ PE Y+ PGP t 5++ X+ R++ tv b+ DI D G e* h+ r y+



Re: Linux Partitions

2001-01-29 Thread ktb
On Mon, Jan 29, 2001 at 01:42:12PM -0800, Leonard Leblanc wrote:
> Hello Everyone,
> 
> I am going to be running a Linux box as Firewall/DNS/WWW/FTP/POP and maybe 
> some other network applications.  I was wondering what your suggestions would 
> be for Partitions.  I have already ready the Partition HOWTO, but still 
> aren't quite sure what partitions would be best for my applications.
> 
> Any help would be greatly appreciated.
> 

Karsten has put together a mini-FAQ at -
http://kmself.home.netcom.com/Linux/FAQs/partition.html

At minimum I would make a /var partiton in addition to /.  Personally I
would go with -

/
/usr
/var
/tmp
/home

Of course you need a swap partition as well.  
hth,
kent

--
I'd really love ta wana help ya Flanders but... Homer Simpson



Re: need to add 255.255.255.255 to route table

2001-01-29 Thread Morgan Terry
> Nick Barron wrote:
> 
> hello,
> 
> I recently installed a fresh potato box from 2.2r
> I need to add:
> route add -host 255.255.255.255 dev eth1 to my route table to make
> windozs boxes happy w/ dhcp allocation
> 
> where can I add this line to execute at boot?
> 
> using 2.1 w/ 2..0.X I was able to add it to /etc/init.d/network
> 
> that file no longer exists and has been replaced by
> /etc/network/interface
> 
> I have tried to make an executable script and adding a link to
> /etc/rcS.d and rc3.d call S38interface, but that doesn't seem to work
> 
> thanks for any thoughtful suggestions

>From `man interfaces`:
 up command
  Run  command  after bringing the interface up. This
  option can be given multiple  times  for  a  single
  interface.  If so, the commands will be executed in
  order.  If one of the commands fails, none  of  the
  others  will  be  executed,  but the interface will
  remain configured.  (You can ensure a command never
  fails by suffixing "|| true".)


so you could add this line to your /etc/network/interfaces for the
interface in question:
up route add -host 255.255.255.255 dev eth1

-- 
Morgan Terry



Re: help... please!

2001-01-29 Thread ktb
On Mon, Jan 29, 2001 at 04:13:07PM +0100, Roberto Diaz wrote:
> > Could somebody send me the correct owmnership for each file/directory in
> > /var/log under debian potato please..
> 
> Just if somebody has a fresh installation and if you were so kind to send
> me the results of ls -l /var and ls -l /var/log
> 
> Just to see the correct ownership of /var/log and /var/log/*
> 
> Of course this from a local anonymous machine.. **I am not attempting to
> violate your security** JUST WANT TO FIX MINE..
>  
> 

See the attachment -
kent

-- 
I'd really love ta wana help ya Flanders but... Homer Simpson

ls -l /var
total 28
drwxr-xr-x2 root root 1024 Jan 29 06:25 account
drwxr-xr-x2 root root 1024 Dec 18 06:25 backups
drwxr-xr-x5 root root 1024 Dec  1 18:17 cache
drwxr-xr-x   15 root root 1024 Jan 22 22:06 lib
drwxrwsr-x2 root staff1024 May 27  2000 local
drwxrwxrwt2 root root 1024 May 27  2000 lock
drwxr-xr-x7 root root 3072 Jan 29 06:26 log
drwxr-xr-x2 root root12288 Oct 28 11:21 lost+found
drwxrwsr-x2 root mail 1024 Jan 29 14:17 mail
drwxr-xr-x6 root root 1024 Jan 29 11:04 run
drwxr-xr-x2 root root 1024 Jan 26 20:12 samba
drwxr-xr-x6 root root 1024 Oct 28 18:38 spool
drwxr-xr-x5 root root 1024 Oct 28 18:08 state
drwxrwxrwt3 root root 1024 Jan 29 12:49 tmp
drwxr-xr-x   10 root root 1024 Jan 29 13:50 www


ls -l /var/log
total 1865
drwxr-xr-x2 root root 1024 Jan 28 06:25 apache
-rw-r-1 root adm  1602 Jan 29 13:50 auth.log
-rw-r-1 root adm 12126 Jan 28 06:25 auth.log.0
-rw-r-1 root adm  1746 Jan 21 06:25 auth.log.1.gz
-rw-r-1 root adm  1610 Jan 14 06:25 auth.log.2.gz
-rw-r-1 root adm  1246 Jan  7 06:25 auth.log.3.gz
-rw-rw-r--1 root utmp  768 Jan 27 07:57 btmp
-rw-r--r--1 root root  384 Dec 26 11:05 btmp.1
-rw-r-1 root adm   583 Jan 29 09:26 daemon.log
-rw-r-1 root adm  1229 Jan 27 07:57 daemon.log.0
-rw-r-1 root adm   378 Jan 20 21:38 daemon.log.1.gz
-rw-r-1 root adm   356 Jan 13 17:02 daemon.log.2.gz
-rw-r-1 root adm   203 Jan  6 09:17 daemon.log.3.gz
-rw-r-1 root adm 0 Jan 28 06:48 debug
-rw-r-1 root adm   393 Jan 26 20:02 debug.0
-rw-r-1 root adm   189 Jan 20 10:52 debug.1.gz
-rw-r-1 root adm   127 Jan  7 13:13 debug.2.gz
-rw-r-1 root adm   111 Dec 31 19:01 debug.3.gz
-rw-r--r--1 root root 2959 Jan 26 20:02 dmesg
drwxr-xr-x2 mail mail 1024 Jan 29 06:25 exim
-rw-r--r--1 root root24096 Jan 29 00:29 faillog
-rw---1 root root 2606 Oct 28 11:36 installer.log
drwxr-x---2 root root 1024 Jan 29  2000 iptraf
-rw-r-1 root adm 0 Jan 28 06:48 kern.log
-rw-r-1 root adm 35876 Jan 26 20:02 kern.log.0
-rw-r-1 root adm  2467 Jan 21 06:26 kern.log.1.gz
-rw-r-1 root adm   177 Jan 13 16:52 kern.log.2.gz
-rw-r-1 root adm   185 Dec 31 19:01 kern.log.3.gz
drwxr-xr-x2 root root 1024 Jan 29 06:25 ksymoops
-rw-rw-r--1 root utmp   293168 Jan 29 13:50 lastlog
-rw-r--r--1 root root0 Oct 28 18:19 lp-acct
-rw-r--r--1 root root0 Oct 28 18:19 lp-errs
-rw-r-1 root adm 0 Jan 28 06:48 lpr.log
-rw-r-1 root adm 0 Jan 21 06:48 lpr.log.0
-rw-r-1 root adm30 Jan 14 06:48 lpr.log.1.gz
-rw-r-1 root adm30 Jan  7 06:48 lpr.log.2.gz
-rw-r-1 root adm30 Dec 31 06:48 lpr.log.3.gz
-rw-r-1 root adm 0 Jan 28 06:48 mail.err
-rw-r-1 root adm 0 Jan 21 06:48 mail.err.0
-rw-r-1 root adm31 Jan 14 06:48 mail.err.1.gz
-rw-r-1 root adm31 Jan  7 06:48 mail.err.2.gz
-rw-r-1 root adm31 Dec 31 06:48 mail.err.3.gz
-rw-r-1 root adm 0 Jan 28 06:48 mail.info
-rw-r-1 root adm 0 Jan 21 06:48 mail.info.0
-rw-r-1 root adm32 Jan 14 06:48 mail.info.1.gz
-rw-r-1 root adm32 Jan  7 06:48 mail.info.2.gz
-rw-r-1 root adm32 Dec 31 06:48 mail.info.3.gz
-rw-r-1 root adm 0 Jan 28 06:48 mail.log
-rw-r-1 root adm 0 Jan 21 06:48 mail.log.0
-rw-r-1 root adm31 Jan 14 06:48 mail.log.1.gz
-rw-r-1 root adm31 Jan  7 06:48 mail.lo

Re: help... please!

2001-01-29 Thread Oliver Elphick
Roberto Diaz wrote:
  >> Could somebody send me the correct owmnership for each file/directory in
  >> /var/log under debian potato please..

done

-- 
Oliver Elphick[EMAIL PROTECTED]
Isle of Wight  http://www.lfix.co.uk/oliver
PGP: 1024R/32B8FAA1: 97 EA 1D 47 72 3F 28 47  6B 7E 39 CC 56 E4 C1 47
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839  932A 614D 4C34 3E1D 0C1C
 
 "My son, if sinners entice thee, consent thou not."
Proverbs 1:10 




Re: use of apt-get upgrade...

2001-01-29 Thread ktb
On Mon, Jan 29, 2001 at 02:52:47PM -0500, Hall Stevenson wrote:
> > > I'm not sure exactly what "apt-get dist-upgrade" does...
> > > as far as what packages is will install. I do know that
> > > "apt-get upgrade" only updates packages that you
> > > *currently* have installed.
> > >
> > > I've done an installation and hopefully have the
> > > packages that I need and use often enough. I've also
> > > went through and removed packages that I don't need.
> > > Now, I keep those installed ones up-to-date with the
> > > "upgrade" option. I'm afraid that "dist-upgrade" will add
> > > some packages back that someone else thinks I need...
> > >
> >
> > In addition to the function "upgrade" "dist-upgrade" will -
> > ...will attempt to upgrade the most important packages
> > at the expense of less important ones if necessary.
> >
> > It looks like a "dist-upgrade" might change a few packages
> > from your original configuration if dependencies don't work
> > out.  It shouldn't add anything in terms of programs that
> > you don't have already.
> 
> apt-get upgrade handles dependencies too, except that it asks you first
> ;-)
> 
> You mention that dist-upgrade "will attempt to upgrade the most
> important packages". Who decides if they're important ?? Or, is it
> stored somewhere from when you first installed Debian that you did
> install "A" or install "B" ??
> 
> Still curious...

I don't know who makes those decisions.  I would assume a group of
people involved in maintaining and developing apt.  I was quoting from
the "apt-get" manpage.  Take a look there.
kent

-- 
I'd really love ta wana help ya Flanders but... Homer Simpson



Re: Still No Cursor in X

2001-01-29 Thread Andrea Vettorello
hammack wrote:

> Problem:  I cannot get a cursor in X with my PS/2 generic mouse.  I do
> get a cursor in the Text mode and can cut and paste between VC's.  In
> X I can click in the window and get menus to pop up and occasionally I
> will lite up a button all in the blind.Below are the two
> configurations that work. XF86Config:Protocol  "PS/2"Device
> "/dev/gpmdata"orProtocol  "PS/2"Device"/dev/mouse"and gpm.conf
> wasDevice/dev/psauxtype   ps2

Try adding in your gpm.conf the line "repeat_type=raw"...


Andrea





Re: use of apt-get upgrade...

2001-01-29 Thread ktb
On Mon, Jan 29, 2001 at 01:06:00PM -0700, Rick Macdonald wrote:
> On Mon, 29 Jan 2001, Hall Stevenson wrote:
> 
> > > I've some doubts about apt-get behaivor...
> > > I did a "normal" installation of potato some months
> > > ago...from time to time I'll was install another packages
> > > that I didn't installl at first installation...so I don't know if
> > > when I do an apt-get upgrade or apt-get dist-upgrade it
> > > review only the packages installed at first time or if it
> > > review the other packages that I's been installed  since
> > > months ago.
> > 
> > I'm not sure exactly what "apt-get dist-upgrade" does... as far as what
> > packages is will install. I do know that "apt-get upgrade" only updates
> > packages that you *currently* have installed.
> > 
> > I've done an installation and hopefully have the packages that I need
> > and use often enough. I've also went through and removed packages that I
> > don't need. Now, I keep those installed ones up-to-date with the
> > "upgrade" option. I'm afraid that "dist-upgrade" will add some packages
> > back that someone else thinks I need...
> 
> I've always used only dist-upgrade and haven't had any problems. I figure
> that it's meant to do a better job if the dependencies of an installed
> package change.
> 

Take a look at the apt-get manpage. "dist-upgrade" upgrades to new
*versions* of programs.  "upgrade" adds updates to the *current*
version existing on your machine.  If you want to run stable "apt-get
update" "apt-get upgrade"
If you want to upgrade to another version(s) of a package, say in "testing"
you would use "dist-upgrade"
kent
  
-- 
I'd really love ta wana help ya Flanders but... Homer Simpson



Re: How to clone a system easily?

2001-01-29 Thread Robert Waldner
On Mon, 22 Jan 2001 04:15:52 PST, kmself@ix.netcom.com writes:
>My preference is to do a minimal base system installation, then run:
>
>$ dpgk --get-selections > file
>
>..on the old system followed by
>
>$ dpkg --set-selections < file
>$ apt-get update; apt-get upgrade
>
>..on the new one.

...which was exactly what I did today on a colleagues new installation, 
cloning from mine.

But apt wasn´t impressed by that, so I reverted to dselect (which I 
didn´t use in ~ 1 year now), and there the [I]nstall - option
did the trick ;)

JIC someone´s going to search the archives for that...

cheers,
&rw
-- 
/  Ing. Robert Waldner  | Network Engineer | T: +43 1 89933  F: x533 \ 
\ <[EMAIL PROTECTED]> |KPNQwest/AT   | Diefenbachg. 35, A-1150 / 




help...

2001-01-29 Thread Roberto Diaz
I did a very stupid thing..

chowm root.daemon /var/log/*

yes stupid I know it was an accident..

Could somebody send me the correct owmnership for each file/directory in
/var/log under debian potato please..

Regards

Roberto


Roberto Diaz <[EMAIL PROTECTED]>
http://vivaldi.dtts.net 
Powered by ddt dynamic DNS
Powered by GNU running on a Linux kernel.
Powered by Debian (The real wonder)

Concerto Grosso Op. 3/8 A minor
Antonio Vivaldi (so... do you need beautiful words?)




Re: help... please!

2001-01-29 Thread Roberto Diaz
> Could somebody send me the correct owmnership for each file/directory in
> /var/log under debian potato please..

Just if somebody has a fresh installation and if you were so kind to send
me the results of ls -l /var and ls -l /var/log

Just to see the correct ownership of /var/log and /var/log/*

Of course this from a local anonymous machine.. **I am not attempting to
violate your security** JUST WANT TO FIX MINE..
 

Regards

Roberto


Roberto Diaz <[EMAIL PROTECTED]>
http://vivaldi.dtts.net 
Powered by ddt dynamic DNS
Powered by GNU running on a Linux kernel.
Powered by Debian (The real wonder)

Concerto Grosso Op. 3/8 A minor
Antonio Vivaldi (so... do you need beautiful words?)




Re: use of apt-get upgrade...

2001-01-29 Thread Rick Macdonald
On Mon, 29 Jan 2001, Hall Stevenson wrote:

> > I've some doubts about apt-get behaivor...
> > I did a "normal" installation of potato some months
> > ago...from time to time I'll was install another packages
> > that I didn't installl at first installation...so I don't know if
> > when I do an apt-get upgrade or apt-get dist-upgrade it
> > review only the packages installed at first time or if it
> > review the other packages that I's been installed  since
> > months ago.
> 
> I'm not sure exactly what "apt-get dist-upgrade" does... as far as what
> packages is will install. I do know that "apt-get upgrade" only updates
> packages that you *currently* have installed.
> 
> I've done an installation and hopefully have the packages that I need
> and use often enough. I've also went through and removed packages that I
> don't need. Now, I keep those installed ones up-to-date with the
> "upgrade" option. I'm afraid that "dist-upgrade" will add some packages
> back that someone else thinks I need...

I've always used only dist-upgrade and haven't had any problems. I figure
that it's meant to do a better job if the dependencies of an installed
package change.

...RickM...



Re: pppoe running as user?

2001-01-29 Thread reiner
A+B Frank wrote:

>
> Hi,
> I've got a question: which release of pppoe are you running?
> In my box runs 1.7.1 from woody and its started and stopped
> via /etc/init.d/pppoe by root. It's actually running as root.
>
> greetings
> Albrecht

pppoe -V shows this:

Roaring Penguin PPPoE Version 1.7

Here are the relevant output from ppp.log again:

snip
Jan 26 18:56:12 nathan pppd[10027]: Using interface ppp0
Jan 26 18:56:12 nathan pppd[10027]: Connect: ppp0 <--> /dev/pts/3
Jan 26 18:56:12 nathan pppd[10027]: sent [LCP ConfReq id=0x1 
   ]
Jan 26 18:56:12 nathan pppd[10027]: write: warning: Input/output error
(5)
snip

What is the reason for the warning message in the last line?



greetings

Reiner Stallknecht





Re: /dev/ttyS* permissions

2001-01-29 Thread Xucaen

--- David Wright <[EMAIL PROTECTED]> wrote:
> > I've never used kill -9 on it. I use wvdial
> and exit with ^C.

me too!

> Your problem is wvdial. That's probably why
> you're worrying about
> the permissions in the first place (wvdial
> seems to need g+w to


my $.02:
I just su to root and run wvdial rather than
changing the permission.


xucaen

__
Do You Yahoo!?
Yahoo! Auctions - Buy the things you want at great prices. 
http://auctions.yahoo.com/



Partitions Correction

2001-01-29 Thread Leonard Leblanc



Sorry I just realized that I didn't give any 
information in the previous post.
 
My system is a 400mhz with 128 megs of RAM and a 15 
gig HD
 
I will be running a firewall, dns, www, ftp, ssh, 
proxy, pop and maybe something else.
What partitions would be useful?
 
Leonard Leblanc


Re: use of apt-get upgrade...

2001-01-29 Thread Hall Stevenson
> > I'm not sure exactly what "apt-get dist-upgrade" does...
> > as far as what packages is will install. I do know that
> > "apt-get upgrade" only updates packages that you
> > *currently* have installed.
> >
> > I've done an installation and hopefully have the
> > packages that I need and use often enough. I've also
> > went through and removed packages that I don't need.
> > Now, I keep those installed ones up-to-date with the
> > "upgrade" option. I'm afraid that "dist-upgrade" will add
> > some packages back that someone else thinks I need...
> >
>
> In addition to the function "upgrade" "dist-upgrade" will -
> ...will attempt to upgrade the most important packages
> at the expense of less important ones if necessary.
>
> It looks like a "dist-upgrade" might change a few packages
> from your original configuration if dependencies don't work
> out.  It shouldn't add anything in terms of programs that
> you don't have already.

apt-get upgrade handles dependencies too, except that it asks you first
;-)

You mention that dist-upgrade "will attempt to upgrade the most
important packages". Who decides if they're important ?? Or, is it
stored somewhere from when you first installed Debian that you did
install "A" or install "B" ??

Still curious...
Hall Stevenson



Linux Partitions

2001-01-29 Thread Leonard Leblanc



Hello Everyone,
 
I am going to be running a Linux box as 
Firewall/DNS/WWW/FTP/POP and maybe some other network applications.  I was 
wondering what your suggestions would be for Partitions.  I have already 
ready the Partition HOWTO, but still aren't quite sure what partitions would be 
best for my applications.
 
Any help would be greatly appreciated.
 
Leonard Leblanc


missing modversions.h for net module

2001-01-29 Thread Stephen Uhlhorn
Hello,

I am trying to complie a module for my Intel PRO/100 VE NIC. When I run make 
on the module sources, it complains that "linux/modversions.h: file or 
directory does not exist." Is there a separate .deb package that contains the 
kernel header files? If so, is it located on the Official CD (#1)? Or, is 
something misconfigured on my system?

Thanks in advance,
Stephen
-- 
Stephen Uhlhorn
Vanderbilt University
Biomedical Engineering
tel: 615-343-5458
fax: 615-343-7919



/cron.daily/modutils, ksymoops, "No such file"

2001-01-29 Thread S Taylor
modutils tries to cleanup /var/log/ksymoops with
the /sbin/insmod_ksymoops_clean script, copying /proc files
then rm'ing with

find /var/log/ksymoops -type f -atime +2 -exec rm {} \;

but it just returns error messages like

/etc/cron.daily/modutils:
rm: cannot remove `/var/log/ksymoops/20010119092803.ksyms': No such file or 
directory

Feedback/man directions appreciated. Any of the find flags like
-atim, -ctime, -mtime return null at +2, return many at +1



Re: IP masq

2001-01-29 Thread David Wright
Quoting Gabor Gludovatz ([EMAIL PROTECTED]):
> On Mon, 29 Jan 2001, A+B Frank wrote:
> 
> > > I connect to the Internet from a masqueraded LAN through a masquerading
> > > gateway/proxy server. My problem is that, if I am logged in to somewhere
> > > outside our network with ssh or telnet, after a little while of inactivity
> > > the gateway resets the connection and I have to reconnect.
> > > 
> > > The proxy server is a Deb 2.1 with kernel 2.0.38. What should I set in its
> > > kernel if I want to keep the connection even if it's idle?
> > > 
> > > (it's all the same, wherever I connect to, I get disconnected, so it's
> > > not a logoutd thing.)
> > 
> > Hi,
> > it seems to me like a time out for idle lines. Search in th
> > configuration 
> > files of ppp/ippp for a parameter "huptimeout" or so.
> 
> there is no (i)ppp installed to that machine. it connects with 10baseT
> ethernet to a micro device, and we are connected (masquaraded) through it. 

You might try something like
echo 120 > /proc/sys/net/ipv4/tcp_keepalive_time
to change the tcp timeout from 2hours to 2mins.

Cheers,

-- 
Email:  [EMAIL PROTECTED]   Tel: +44 1908 653 739  Fax: +44 1908 655 151
Snail:  David Wright, Earth Science Dept., Milton Keynes, England, MK7 6AA
Disclaimer:   These addresses are only for reaching me, and do not signify
official stationery. Views expressed here are either my own or plagiarised.



Re: Newbie Shell Script Problems

2001-01-29 Thread Colin Watson
David B. Harris <[EMAIL PROTECTED]> wrote:
>You should also have "#!/bin/bash" as the first line in your script. "#!
>/bin/bash", with the space, is generally not how it's done. It probably
>won't case any problems, but it's best to do things the way they're
>expected to be done.

I always use '#! /bin/bash' (well, more commonly '#! /bin/sh', but
that's a different debate), and I believe support for that is required
for POSIX compliance. I've heard that there are some Unix systems
(Dynix?) that use the 4-byte string '#! /' as a magic number to indicate
a script. At work we build on quite a number of different Linux and Unix
systems, and I don't think any of them mind whether the space is there
or not.

At any rate, Linux certainly allows both forms.

-- 
Colin Watson [EMAIL PROTECTED]



Re: Newbie Shell Script Problems

2001-01-29 Thread ktb
On Mon, Jan 29, 2001 at 06:39:40PM +, [EMAIL PROTECTED] wrote:
> 
> > When you run your script, do you need to preface the command with
> > ./
> > 
> > eg  ./myscript
> > 
> > took me ages to find out that one!
> 
> Or else add '.' to your PATH, but I think there are security reasons
> for not doing this.
> 

Yes do not add '.' to your PATH.  Read -
http://www.npl.washington.edu/faq/unix-FAQ-2-13.html
kent

-- 
I'd really love ta wana help ya Flanders but... Homer Simpson



Verification/install

2001-01-29 Thread Jaye Inabnit ke6sls

   Hello,

I put a box together for a friend to enjoy and tinker with. I gave him
some brief instructions, a book, and some typed notes. I later learned
that he had been awake for at least 30 hours and probably didn't hear
much of the basic instructions like how to shutdown his box.

A call yesterday regarding fsck prompted my question of how did he shutdown!

I told him to do 'shutdown -h now' and he gets 'command not found' or 
something  So a quick look in /sbin/ shows that indeed, the program is
not there!  

I think he lost some data doing a power off as he was doing.

Is there a way that debian can check ALL it's packages and reinstall anything
that may have been toasted in this fashion without actually doing a complete
re-install?

tia

-- 

Jaye Inabnit, ARS ke6sls e-mail: [EMAIL PROTECTED]



Re: use of apt-get upgrade...

2001-01-29 Thread ktb
On Mon, Jan 29, 2001 at 01:25:42PM -0500, Hall Stevenson wrote:
> > I've some doubts about apt-get behaivor...
> > I did a "normal" installation of potato some months
> > ago...from time to time I'll was install another packages
> > that I didn't installl at first installation...so I don't know if
> > when I do an apt-get upgrade or apt-get dist-upgrade it
> > review only the packages installed at first time or if it
> > review the other packages that I's been installed  since
> > months ago.
> 
> I'm not sure exactly what "apt-get dist-upgrade" does... as far as what
> packages is will install. I do know that "apt-get upgrade" only updates
> packages that you *currently* have installed.
> 
> I've done an installation and hopefully have the packages that I need
> and use often enough. I've also went through and removed packages that I
> don't need. Now, I keep those installed ones up-to-date with the
> "upgrade" option. I'm afraid that "dist-upgrade" will add some packages
> back that someone else thinks I need...
> 

According to the apt-get man page. dist-upgrade performs the same
function of "upgrade" -
upgrade  is  used to install the newest versions of
all packages currently installed on the system...

In addition to the function "upgrade" "dist-upgrade" will -
...will attempt to upgrade the most important packages
at the expense of less important ones if necessary.

It looks like a "dist-upgrade" might change a few packages from your
original configuration if dependencies don't work out.  It shouldn't add
anything in terms of programs that you don't have already.
hth,
kent



-- 
I'd really love ta wana help ya Flanders but... Homer Simpson



Re: Newbie Shell Script Problems

2001-01-29 Thread ocorrain

> When you run your script, do you need to preface the command with
> ./
> 
> eg  ./myscript
> 
> took me ages to find out that one!

Or else add '.' to your PATH, but I think there are security reasons
for not doing this.

Cheers

T
> 



Re: Romanian translation

2001-01-29 Thread Tudor Oprea
On Mon, 29 Jan 2001, Ionel Mugurel Ciob?c? wrote:
> 
> Why is no list debian-user-romanian, I am de only Romanian using
> Debian?


No, I know of at least 3 others :)


Tudor



Re: Newbie Shell Script Problems

2001-01-29 Thread Hall Stevenson
> On Mon, Jan 29, 2001 at 08:03:01AM -0800, thus 
> spake Tom Schuetz:
> > Could someone please give me a hint re. how to get 
> > a functional shell script?
> > 
> > I've done the #! /bin/bash, and I've chmod'd to +x, 
> > and the CHMOD shows up correctly as executable 
> > in ls -l, but still will not "go".
> > 
> > What should I check?

> When you run your script, do you need to preface the 
> command with  ./
> 
> eg  ./myscript
> 
> took me ages to find out that one!

Or, put the script in a directory that's in your $PATH.

Hall



Re: use of apt-get upgrade...

2001-01-29 Thread Hall Stevenson
> I've some doubts about apt-get behaivor...
> I did a "normal" installation of potato some months
> ago...from time to time I'll was install another packages
> that I didn't installl at first installation...so I don't know if
> when I do an apt-get upgrade or apt-get dist-upgrade it
> review only the packages installed at first time or if it
> review the other packages that I's been installed  since
> months ago.

I'm not sure exactly what "apt-get dist-upgrade" does... as far as what
packages is will install. I do know that "apt-get upgrade" only updates
packages that you *currently* have installed.

I've done an installation and hopefully have the packages that I need
and use often enough. I've also went through and removed packages that I
don't need. Now, I keep those installed ones up-to-date with the
"upgrade" option. I'm afraid that "dist-upgrade" will add some packages
back that someone else thinks I need...

Regards
Hall



Re: Newbie Shell Script Problems

2001-01-29 Thread Glyn Millington
On Mon, Jan 29, 2001 at 08:03:01AM -0800, thus spake Tom Schuetz:
> Could someone please give me a hint re. how to get a functional shell 
> script?
> 
> I've done the #! /bin/bash, and I've chmod'd to +x, and the CHMOD shows up 
> correctly as executable in ls -l, but still will not "go".
> 
> What should I check?
> 
> Thanks,
> 
> Tom Schuetz
> _
> Get your FREE download of MSN Explorer at http://explorer.msn.com


Is this a concommitant of using hotmail??

When you run your script, do you need to preface the command with
./

eg  ./myscript

took me ages to find out that one!

Glyn



-- 
   
   * None can love freedom heartily but good men; *
   *the rest love not freedom but license *
   *John Milton   *
   



Re: Taper

2001-01-29 Thread Gabor Gludovatz
On Mon, 29 Jan 2001, Gabor Gludovatz wrote:

> I'd like to set up an auto-backup from cron. I run taper with the
> following command line, but it always gives me its help without any error
> message.
> 
> taper --append-on --erase-tape-off --unattended-id -1 -g `date` -t "Aryo
> ($(LANG=de_DE date "+%A"))" -U @default
> 
> What's wrong with it? And why does taper give no errors if something's
> wrong?

missing quotation marks...

taper --append-on --erase-tape-off --unattended-id -1 -g "$(date)" -t
"Aryo ($(LANG=de_DE date "+%A"))" -U @default

it works this way.

-- 
 Gabor Gludovatz <[EMAIL PROTECTED]> http://www.sopron.hu/~ggabor/



Re: IP masq

2001-01-29 Thread brian moore
On Mon, Jan 29, 2001 at 06:45:12PM +0100, A+B Frank wrote:
> Gabor Gludovatz wrote:
> > 
> > Hi,
> > 
> > I connect to the Internet from a masqueraded LAN through a masquerading
> > gateway/proxy server. My problem is that, if I am logged in to somewhere
> > outside our network with ssh or telnet, after a little while of inactivity
> > the gateway resets the connection and I have to reconnect.
> > 
> > The proxy server is a Deb 2.1 with kernel 2.0.38. What should I set in its
> > kernel if I want to keep the connection even if it's idle?
> > 
> > (it's all the same, wherever I connect to, I get disconnected, so it's
> > not a logoutd thing.)
> 
> Hi,
> it seems to me like a time out for idle lines. Search in th
> configuration 
> files of ppp/ippp for a parameter "huptimeout" or so.

Close, but the key isn't pppd, but ipmasq.

See the '-s' option to ipfwadm (or -S for ipchains).  From the Debian
'ipmasq' package:

[durin:/etc/ipmasq/rules] 133 % cat Z92timeouts.def 
# You should not edit this file.  Instead, create a file with the same
# name as this one, but with a .rul extension instead of .def.  The
# .rul file will override this one.
#
# However, any changes you make to this file will be preserved.

# Set masqerading timeouts:
#   2 hrs for TCP
#   10 sec for TCP after FIN has been sent
#   160 sec for UDP (important for ICQ users)
case $MASQMETHOD in
ipfwadm)
$IPFWADM -M -s 7200 10 160
;;
ipchains)
$IPCHAINS -M -S 7200 10 160
;;
esac


-- 
CueCat decoder .signature by Larry Wall:
#!/usr/bin/perl -n
printf "Serial: %s Type: %s Code: %s\n", map { tr/a-zA-Z0-9+-/ -_/; $_ = unpack
'u', chr(32 + length()*3/4) . $_; s/\0+$//; $_ ^= "C" x length; } /\.([^.]+)/g; 



  1   2   3   >