Re: three questions about debian

2006-04-24 Thread Marc Shapiro

Doofus wrote:



That was four questions.




But Passover was last week :-)

--
Marc Shapiro

No boom today. Boom tomorrow. There's always a boom tomorrow.
What?! Look, somebody's got to have some damn perspective around here.
Boom. Sooner or later ... boom!

- Susan Ivanova: B5 - Grail


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




Re: three questions about debian

2006-04-24 Thread Andrei Popescu
Marc Shapiro [EMAIL PROTECTED] wrote:

 Doofus wrote:
 
 
  That was four questions.
 
 
 
 But Passover was last week :-)

No! It was yesterday ;)

Andrei
-- 
If you can't explain it simply, you don't understand it well enough.
(Albert Einstein)


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



Re: three questions about debian

2006-04-23 Thread Matthew R. Dempsky
On Sun, Apr 23, 2006 at 11:18:48AM +1000, Star King of the Grape Trees wrote:
 It is much, much better  to use native programs, then if you can't find 
 native programs for linux, you may give wine a go.  Some people must use 
 emulators (ie, VMWare), and some (like me) are forever doomed to 
 dualbooting.

I have recently found rdesktop to be fairly useful for running Windows 
programs from Linux machines.

For example, a lot of my professors have an obnoxious habit of creating 
Powerpoint files that do not render well in OpenOffice.org (e.g. figures 
get distorted or labels get misplaced).  Fortunately, our University's 
Windows labs have Remote Desktop enabled, so I can log into them from 
home and use PDFCreator to convert them to PDFs.


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



three questions about debian

2006-04-22 Thread Xplicit Language
which program is used to compile and how do you
compile a program, and how do i run apt get, also is
anyone familiar with wine?

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


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



Re: three questions about debian

2006-04-22 Thread Roberto C. Sanchez
Xplicit Language wrote:
 which program is used to compile and how do you
 compile a program, and how do i run apt get, also is
 anyone familiar with wine?

To compile you use a compiler.  The most common one is gcc, though there
are others distributed with Debian.  Of course, it depends on what
programming language you are using.

To learn how to use apt-get, run `man apt-get`.

Yes, I am familiar with WINE.

-Roberto

-- 
Roberto C. Sanchez
http://familiasanchez.net/~roberto


signature.asc
Description: OpenPGP digital signature


Re: three questions about debian

2006-04-22 Thread Doofus

Xplicit Language wrote:


which program is used to compile


gcc



and how do you
compile a program,

According to the helpful instructions always provided with the source 
code (/usr/share/doc/{package_name}).




and how do i run apt get,



apt-get {package_name}

But since you're asking these questions, I would suggest you learn how 
to use aptitude initially.



also is
anyone familiar with wine?
 



No.

That was four questions.



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




Re: three questions about debian

2006-04-22 Thread Christopher Nelson
On Sat, Apr 22, 2006 at 03:00:54PM -0700, Xplicit Language wrote:
 which program is used to compile

Several.  gcc for C code.  There are others for C and other languages.

 and how do you
 compile a program,

Depends on how it was set up and where you got it.  Often as simple as
'make' 'make install' from the source directory.  If there's an
'INSTALL' file in the source directory it should give sufficient info.

 and how do i run apt get,

'apt-get install program name' or 'apt-get remove package name'
To find packages to install try 'apt-cache search foo'

 also is
 anyone familiar with wine?

As a user.  What's your question?  If it's generally how to use it, 'wine
windows binary name'.  Not all windows programs work under wine, and
some require tinkering.

-- 
Christopher Nelson -- [EMAIL PROTECTED]
---
Natural laws have no pity.


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



Re: three questions about debian

2006-04-22 Thread Doofus

Christopher Nelson wrote:


On Sat, Apr 22, 2006 at 03:00:54PM -0700, Xplicit Language wrote:
 




also is
anyone familiar with wine?
   



As a user.  What's your question?  If it's generally how to use it, 'wine
windows binary name'.  Not all windows programs work under wine, and
some require tinkering.



How mature is wine these days? The last time I looked at it (admittedly 
a long time ago) it was still a windows 3.1 emulator (when 32 bit 
windows had long been released). It wasn't particularly stable either. 
I've never really seen the point. If windows is your thing, why not use 
windows?


I'm not trying to bait anyone here. I'd be interested to read of what 
graphical windows software people out there are usefully running under a 
linux roof.



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




Re: three questions about debian

2006-04-22 Thread Christopher Nelson
On Sun, Apr 23, 2006 at 12:56:27AM +0100, Doofus wrote:
 Christopher Nelson wrote:
 
 On Sat, Apr 22, 2006 at 03:00:54PM -0700, Xplicit Language wrote:
 
 also is
 anyone familiar with wine?
 
 As a user.  What's your question?  If it's generally how to use it, 'wine
 windows binary name'.  Not all windows programs work under wine, and
 some require tinkering.
 
 
 How mature is wine these days? The last time I looked at it (admittedly 
 a long time ago) it was still a windows 3.1 emulator (when 32 bit 
 windows had long been released). It wasn't particularly stable either. 

It runs a lot of stuff written for the 32 bit windows systems now.  I
haven't had it in itself be unstable in awhile, just not fully support
some programs.

 I've never really seen the point. If windows is your thing, why not use 
 windows?

Generally I agree with you.  Some people are tied for work reasons to a
Windows application or two, though, despite their preference for Free
software.

 I'm not trying to bait anyone here. I'd be interested to read of what 
 graphical windows software people out there are usefully running under a 
 linux roof.

I've mostly used it to run my extensive collection of win98 games and
the GURPS Character Builder (though the 4th edition one does not work
under wine).  I've also seen it used for Lotus Notes by a person whose
company requires its use.

Now, however, most of my gaming need is filled by nethack, so I don't
use wine much anymore.  But not everybody has the option, such as that
person who need Lotus Notes for work.

-- 
Christopher Nelson -- [EMAIL PROTECTED]
---
The degree of civilization in a society can be judged by entering its prisons.
-- F. Dostoyevski


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



Re: three questions about debian

2006-04-22 Thread Kelly Clowers
On 4/22/06, Doofus [EMAIL PROTECTED] wrote:
 Christopher Nelson wrote:

 On Sat, Apr 22, 2006 at 03:00:54PM -0700, Xplicit Language wrote:
 
 
 
 also is
 anyone familiar with wine?
 
 
 
 As a user.  What's your question?  If it's generally how to use it, 'wine
 windows binary name'.  Not all windows programs work under wine, and
 some require tinkering.
 

 How mature is wine these days? The last time I looked at it (admittedly
 a long time ago) it was still a windows 3.1 emulator (when 32 bit
 windows had long been released). It wasn't particularly stable either.
 I've never really seen the point. If windows is your thing, why not use
 windows?

 I'm not trying to bait anyone here. I'd be interested to read of what
 graphical windows software people out there are usefully running under a
 linux roof.

Wine is getting pretty good. They went from alpha status to beta status
a while ago, and the current release is 0.9.12. The 0.9.X series has been
having a release every few weeks. It is definitely not win 3.1 oriented
anymore. It is more like win2k/win98 (but they are adding xp stuff as well).
The biggest advance is the addition of DirectX 8 and 9 (no need for Cediga).

Most of the apps on the top 10 platinum and gold lists are games
(CC, WoW, Call of Duty), but non-games on the list include
Paint Shop Pro 4, Band in a Box 2005, Winamp 5 and Frontpage 2k2.
See http://appdb.winehq.org/ for the complete list.

I personally play Starcraft and I will probably try Civ 3 soon. I don't really
care about any windows productivity apps. Anyway, it is good enough
for my needs.

Cheers,
Kelly


Re: three questions about debian

2006-04-22 Thread Florian Kulzer
On Sun, Apr 23, 2006 at 00:56:27 +0100, Doofus wrote:

[...]

 How mature is wine these days? The last time I looked at it (admittedly 
 a long time ago) it was still a windows 3.1 emulator (when 32 bit 
 windows had long been released). It wasn't particularly stable either. 
 I've never really seen the point. If windows is your thing, why not use 
 windows?

Wine is pretty OK these days. It helped me a lot to avoid constant
rebooting during my transition phase from Windows to Linux.

 I'm not trying to bait anyone here. I'd be interested to read of what 
 graphical windows software people out there are usefully running under a 
 linux roof.

At present I have two applications left: I sometimes need Micrografx
Designer to access old drawings of mine, and Microcal Origin because
inconsiderate colleagues keep sending experimental data in its specific
format. Luckily both these programs run very well under wine. 

-- 
Regards,
  Florian


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



Re: three questions about debian

2006-04-22 Thread Miles Bader
Doofus [EMAIL PROTECTED] writes:
 How mature is wine these days? The last time I looked at it
 (admittedly a long time ago) it was still a windows 3.1 emulator (when
 32 bit windows had long been released). It wasn't particularly stable
 either.

5 years ago wine was pretty flaky.  These days it appears to be pretty
nice.  It seems to run to run most modern windows software I've tried
with it (various 3rd part apps, nothing from MS) with no obvious
problems.

It even does internationalized software correctly: recently I used wine
to run some windows program I downloaded from a company's website, with
LANG=ja_JP, and all the UI stuff was in Japanese!

 I've never really seen the point. If windows is your thing, why
 not use windows?

People don't want to run windows apps because windows is their thing,
they want to run them to do something.  E.g., if you buy a hardware
synthesizer these days, quite often it will come with windows software;
sometimes this software is even necessary for normal use of the
hardware.

I'm not going to install windows to run such apps, and even if I _did_
have a dual-boot system, what a fucking pain -- reboot the machine, just
to use a single app?!?!?

-Miles
-- 
`There are more things in heaven and earth, Horatio,
 Than are dreamt of in your philosophy.'


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



Re: three questions about debian

2006-04-22 Thread Xplicit Language
thats the same reason i want to use wine Christopher
Nelson, but to play medal of honor with or without
gamespy, i am a little addicted to the game, but to
answer, i chose to switch to linux, after years of
hating constantly unstable windows os, winxp has had
the same error twice in a month after getting a
service pack 2 update, so i felt linux would be better
in a way.

--- Christopher Nelson [EMAIL PROTECTED] wrote:

 On Sun, Apr 23, 2006 at 12:56:27AM +0100, Doofus
 wrote:
  Christopher Nelson wrote:
  
  On Sat, Apr 22, 2006 at 03:00:54PM -0700, Xplicit
 Language wrote:
  
  also is
  anyone familiar with wine?
  
  As a user.  What's your question?  If it's
 generally how to use it, 'wine
  windows binary name'.  Not all windows programs
 work under wine, and
  some require tinkering.
  
  
  How mature is wine these days? The last time I
 looked at it (admittedly 
  a long time ago) it was still a windows 3.1
 emulator (when 32 bit 
  windows had long been released). It wasn't
 particularly stable either. 
 
 It runs a lot of stuff written for the 32 bit
 windows systems now.  I
 haven't had it in itself be unstable in awhile, just
 not fully support
 some programs.
 
  I've never really seen the point. If windows is
 your thing, why not use 
  windows?
 
 Generally I agree with you.  Some people are tied
 for work reasons to a
 Windows application or two, though, despite their
 preference for Free
 software.
 
  I'm not trying to bait anyone here. I'd be
 interested to read of what 
  graphical windows software people out there are
 usefully running under a 
  linux roof.
 
 I've mostly used it to run my extensive collection
 of win98 games and
 the GURPS Character Builder (though the 4th edition
 one does not work
 under wine).  I've also seen it used for Lotus Notes
 by a person whose
 company requires its use.
 
 Now, however, most of my gaming need is filled by
 nethack, so I don't
 use wine much anymore.  But not everybody has the
 option, such as that
 person who need Lotus Notes for work.
 
 -- 
 Christopher Nelson -- [EMAIL PROTECTED]

---
 The degree of civilization in a society can be
 judged by entering its prisons.
   -- F. Dostoyevski
 
 
 -- 
 To UNSUBSCRIBE, email to
 [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact
 [EMAIL PROTECTED]
 
 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


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



Re: three questions about debian

2006-04-22 Thread Roberto C. Sanchez
Miles Bader wrote:
 Doofus [EMAIL PROTECTED] writes:
 
How mature is wine these days? The last time I looked at it
(admittedly a long time ago) it was still a windows 3.1 emulator (when
32 bit windows had long been released). It wasn't particularly stable
either.
 
 
 5 years ago wine was pretty flaky.  These days it appears to be pretty
 nice.  It seems to run to run most modern windows software I've tried
 with it (various 3rd part apps, nothing from MS) with no obvious
 problems.
 

Out of curiousity, does it still choke on those braindead 16-bit
installers?  I recall a couple of years ago trying to install programs
that used a 16-bit installer and having the install utterly fail.
However, if I installed to a real Windows system and then copied all the
installed files over, it ran.

-Roberto

-- 
Roberto C. Sanchez
http://familiasanchez.net/~roberto


signature.asc
Description: OpenPGP digital signature


Re: three questions about debian

2006-04-22 Thread Xplicit Language
i was wondering, if i remove or completely remove
something from synaptic is that uninstalling the
program or just deleteing the package, and if it does
only remove the package, how do i uninstall things
like a older version of wine? this help page says that
it is best to uninstall it, lol i'm starting to wonder
if a windows -- linux switch was a good ideai'm
so lost.

--- Roberto C. Sanchez [EMAIL PROTECTED]
wrote:

 Miles Bader wrote:
  Doofus [EMAIL PROTECTED] writes:
  
 How mature is wine these days? The last time I
 looked at it
 (admittedly a long time ago) it was still a
 windows 3.1 emulator (when
 32 bit windows had long been released). It wasn't
 particularly stable
 either.
  
  
  5 years ago wine was pretty flaky.  These days it
 appears to be pretty
  nice.  It seems to run to run most modern windows
 software I've tried
  with it (various 3rd part apps, nothing from MS)
 with no obvious
  problems.
  
 
 Out of curiousity, does it still choke on those
 braindead 16-bit
 installers?  I recall a couple of years ago trying
 to install programs
 that used a 16-bit installer and having the install
 utterly fail.
 However, if I installed to a real Windows system and
 then copied all the
 installed files over, it ran.
 
 -Roberto
 
 -- 
 Roberto C. Sanchez
 http://familiasanchez.net/~roberto
 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


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



Re: three questions about debian

2006-04-22 Thread Roberto C. Sanchez
Xplicit Language wrote:
 i was wondering, if i remove or completely remove
 something from synaptic is that uninstalling the
 program or just deleteing the package, and if it does
 only remove the package, how do i uninstall things
 like a older version of wine? this help page says that
 it is best to uninstall it, lol i'm starting to wonder
 if a windows -- linux switch was a good ideai'm
 so lost.
 

A couple of things:

1. Please don't top post.  It is considered impolite.
2. You really should have started a new thread for this question.

I am not too familiar with synaptic as I have not used it in a long
time.  However, there really is not difference between uninstalling the
program and deleting the package.

When you install a package, its files are unpacked onto your
filesystem(s) in their designated places.  When you uninstall the
package (either remove or purge) their files are removed.  The
difference between removing and purging is that removing leaves the
configuration files in place.  When you purge, the configuration files
are also removed.

In terms of uninstalling an older version of WINE, I am not sure what
you mean.  If you install a newer version, the older version no longer
exists on your system.  That is, the files have been replaced by those
from the updated package.  If you want to remove the package, then you
can do so and it will remove WINE entirely.

Hopefully this clears it up some for you.

-Roberto

-- 
Roberto C. Sanchez
http://familiasanchez.net/~roberto


signature.asc
Description: OpenPGP digital signature


Re: three questions about debian

2006-04-22 Thread Miles Bader
Roberto C. Sanchez [EMAIL PROTECTED] writes:
 Out of curiousity, does it still choke on those braindead 16-bit
 installers?  I recall a couple of years ago trying to install programs
 that used a 16-bit installer and having the install utterly fail.

No idea, sorry.  I've never had problems with an installer under wine.

-Miles
-- 
I'm beginning to think that life is just one long Yoko Ono album; no rhyme
or reason, just a lot of incoherent shrieks and then it's over.  --Ian Wolff


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



Re: three questions about debian

2006-04-22 Thread Star King of the Grape Trees

Roberto C. Sanchez wrote:

Miles Bader wrote:
  

Doofus [EMAIL PROTECTED] writes:



How mature is wine these days? The last time I looked at it
(admittedly a long time ago) it was still a windows 3.1 emulator (when
32 bit windows had long been released). It wasn't particularly stable
either.
  

5 years ago wine was pretty flaky.  These days it appears to be pretty
nice.  It seems to run to run most modern windows software I've tried
with it (various 3rd part apps, nothing from MS) with no obvious
problems.




Out of curiousity, does it still choke on those braindead 16-bit
installers?  I recall a couple of years ago trying to install programs
that used a 16-bit installer and having the install utterly fail.
However, if I installed to a real Windows system and then copied all the
installed files over, it ran.
Afaik, Most windows programs now actually install. It is officially a 
bug if it does not. (Codeweaver's ran a very good initiative to get apps 
to install).


A caveat is that wine's configuration has changed, you probably don't 
need to change the settings or even make ~/.wine anymore. (It will 
automatically make a ~/.wine/c_drive for you)


I do recommend you use the latest versions of wine whenever possible, 
though.


Disclaimer: Not  a regular wine user.


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




Re: three questions about debian

2006-04-22 Thread Star King of the Grape Trees

Xplicit Language wrote:

i was wondering, if i remove or completely remove
something from synaptic is that uninstalling the
program or just deleteing the package, and if it does
only remove the package, how do i uninstall things
like a older version of wine? this help page says that
it is best to uninstall it, lol i'm starting to wonder
if a windows -- linux switch was a good ideai'm
so lost.
Wine is considered the third worst alternative to running a program you 
want.


It is much, much better  to use native programs, then if you can't find 
native programs for linux, you may give wine a go.  Some people must use 
emulators (ie, VMWare), and some (like me) are forever doomed to 
dualbooting.


(I'm doing DirectX game development for university, and I do alot of 
other Linux development.)


PS: Yes, wine does have very good DirectX support, but the code I'm 
using does not work on it (It is probable that it is not actually 
portable to many graphics cards, which could be why)



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




Re: three questions about debian

2006-04-22 Thread Xplicit Language


--- Roberto C. Sanchez [EMAIL PROTECTED]
wrote:

 Xplicit Language wrote:
  i was wondering, if i remove or completely remove
  something from synaptic is that uninstalling the
  program or just deleteing the package, and if it
 does
  only remove the package, how do i uninstall things
  like a older version of wine? this help page says
 that
  it is best to uninstall it, lol i'm starting to
 wonder
  if a windows -- linux switch was a good
 ideai'm
  so lost.
  
 
 A couple of things:
 
 1. Please don't top post.  It is considered
 impolite.
 2. You really should have started a new thread for
 this question.
 
 I am not too familiar with synaptic as I have not
 used it in a long
 time.  However, there really is not difference
 between uninstalling the
 program and deleting the package.
 
 When you install a package, its files are unpacked
 onto your
 filesystem(s) in their designated places.  When you
 uninstall the
 package (either remove or purge) their files are
 removed.  The
 difference between removing and purging is that
 removing leaves the
 configuration files in place.  When you purge, the
 configuration files
 are also removed.
 
 In terms of uninstalling an older version of WINE, I
 am not sure what
 you mean.  If you install a newer version, the older
 version no longer
 exists on your system.  That is, the files have been
 replaced by those
 from the updated package.  If you want to remove the
 package, then you
 can do so and it will remove WINE entirely.
 
 Hopefully this clears it up some for you.
 
 -Roberto
 
 -- 
 Roberto C. Sanchez
 http://familiasanchez.net/~roberto

thank you roberto and i did not know that i was being
rude, i will try to remember to bottom post.
 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


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



Re: three questions about debian

2006-04-22 Thread Matthew R. Dempsky
On Sat, Apr 22, 2006 at 06:29:08PM -0700, Xplicit Language wrote:
 thank you roberto and i did not know that i was being
 rude, i will try to remember to bottom post.

I think it's a bit extreme to say top posting is ``rude,'' but I would 
certainly agree that it makes reading posts a bit more difficult.

That said, proper posting style doesn't consist of just typing your 
reply below the entire original post (despite how many people here do 
that)---you should also snip out the irrelevent bits of the original 
post and interweave your responses as appropriate.

Remember, you're writing your email with the hope that others will read 
it and provide feedback.  Spending an extra minute formatting your 
message to make it easier to read makes it that much more likely someone 
will read it and respond.

(If it takes me too long to try to read an email, I'm more likely to 
just skip it than to spend any extra time reading it---there are too 
many other posts that people have taken the time to compose more 
carefully.)


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



logrotate: three questions

2004-02-15 Thread Monique Y. Herman
Hi all!  I've looked in the logrotate man page, /usr/share/doc/logrotate
(not much there), and google, and I can't seem to find the answer to
these questions:

1) I'd like to have the option of never deleting the backups for certain
files.  The 'rotate' keyword doesn't seem to do this for me, since 0
indicates no logkeeping at all.  Is there a way to specify that I don't
ever want to delete my logs?  Is this perhaps done simply by not having
a default 'rotate' entry and not specifying a 'rotate' value for the
files in question?

2) The 'extension' keyword -- can it be used to embed a date instead of
a number into the backups?  I found a number of posts asking this
question on google, but no definitive answer.  If I *did* manage to do
so, would putting dots in the filename confuse logrotate?  How does it
parse the files?  (The latter is probably a RTFS question, huh?)

3) Permissions.  The logrotate app is only executable by root on my box.
I'm trying to imagine the situation in which giving a normal user access
to logrotate would hurt anything, as long as logs have appropriate
permissions.  Could the paranoid among us speak up and educate me?

-- 
monique


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



Re: logrotate: three questions

2004-02-15 Thread Joey Hess
Monique Y. Herman wrote:
 3) Permissions.  The logrotate app is only executable by root on my box.
 I'm trying to imagine the situation in which giving a normal user access
 to logrotate would hurt anything, as long as logs have appropriate
 permissions.  Could the paranoid among us speak up and educate me?

That would be a violation of debian policy, and is not the case on any
of my systems.

-rwxr-xr-x1 root root  33K Oct  9  2002 /usr/sbin/logrotate*

-- 
see shy jo


signature.asc
Description: Digital signature


Re: logrotate: three questions

2004-02-15 Thread Monique Y. Herman
On 2004-02-15, Joey Hess penned:

 Monique Y. Herman wrote:
 3) Permissions.  The logrotate app is only executable by root on my
 box.  I'm trying to imagine the situation in which giving a normal
 user access to logrotate would hurt anything, as long as logs have
 appropriate permissions.  Could the paranoid among us speak up and
 educate me?

 That would be a violation of debian policy, and is not the case on any
 of my systems.

 -rwxr-xr-x1 root root  33K Oct  9  2002
 /usr/sbin/logrotate*


Well, Bastille locked those permissions down for me.  The question is,
was Bastille being overly paranoid, or can logrotate be exploited when
it's world-executable?

-- 
monique


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



Re: logrotate: three questions

2004-02-15 Thread Colin Watson
On Sun, Feb 15, 2004 at 12:20:26PM -0700, Monique Y. Herman wrote:
 On 2004-02-15, Joey Hess penned:
  That would be a violation of debian policy, and is not the case on any
  of my systems.
 
  -rwxr-xr-x1 root root  33K Oct  9  2002
  /usr/sbin/logrotate*
 
 Well, Bastille locked those permissions down for me.

Oh, God, why on earth?

 The question is, was Bastille being overly paranoid, or can logrotate
 be exploited when it's world-executable?

No executable that isn't set-user-id or set-group-id can ever let you do
anything you couldn't do yourself anyway. This is why Debian policy says
that non-set-id executables shouldn't have restrictive permissions.

I'd file a bug with the Bastille people.

Cheers,

-- 
Colin Watson  [EMAIL PROTECTED]


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



Re: logrotate: three questions

2004-02-15 Thread David Clymer
On Sun, 2004-02-15 at 11:16, Monique Y. Herman wrote:
 Hi all!  I've looked in the logrotate man page, /usr/share/doc/logrotate
 (not much there), and google, and I can't seem to find the answer to
 these questions:
 
 1) I'd like to have the option of never deleting the backups for certain
 files.  The 'rotate' keyword doesn't seem to do this for me, since 0
 indicates no logkeeping at all.  Is there a way to specify that I don't
 ever want to delete my logs?  Is this perhaps done simply by not having
 a default 'rotate' entry and not specifying a 'rotate' value for the
 files in question?
 

I dont have a logrotate answer to this, but you could possibly make a
script/cron job to copy or move or rename your Nth rotated log. However
that might not work very well if you are rotating based on size rather
than by time interval.

uh..ok. strike that, just use the logrotate config postrotate directive
to run a script that does the above.

 2) The 'extension' keyword -- can it be used to embed a date instead of
 a number into the backups?  I found a number of posts asking this
 question on google, but no definitive answer.  If I *did* manage to do
 so, would putting dots in the filename confuse logrotate?  How does it
 parse the files?  (The latter is probably a RTFS question, huh?)
 

from a quick glance through the code and a little experimentation, I
would guess that you wont be able to add a date in the way you are
suggesting. However, you could again, use a postrotate script to mv the
rotated file.

/root/test.log {
  rotate 1
  postrotate
mv /root/test.log.1 /root/minicom.log.`date +%F-%T`.1
  endscript
}

This would solve both the date problem and the keep your logs forever
problem.

 3) Permissions.  The logrotate app is only executable by root on my box.
 I'm trying to imagine the situation in which giving a normal user access
 to logrotate would hurt anything, as long as logs have appropriate
 permissions.  Could the paranoid among us speak up and educate me?
 

Actually, users already have access to logrotate. Its just that
/usr/sbin usually isnt in their path by default. So the only thing you
really need to consider is permissions (assuming the debian security
folks have already thought through problems with users accessing
logrotate itself). As long as they only have permissions on logs that
you dont care about, then I dont see a problem.

-davidc


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



Re: logrotate: three questions

2004-02-15 Thread Monique Y. Herman
On 2004-02-15, Colin Watson penned:
 On Sun, Feb 15, 2004 at 12:20:26PM -0700, Monique Y. Herman wrote:
 On 2004-02-15, Joey Hess penned:
  That would be a violation of debian policy, and is not the case on
  any of my systems.
 
  -rwxr-xr-x1 root root  33K Oct  9  2002
  /usr/sbin/logrotate*
 
 Well, Bastille locked those permissions down for me.

 Oh, God, why on earth?

Well, this was in my /var/log/Bastille/last.config :

# Q:  Would you like to set more restrictive permissions on the
# administration utilities? [N]
FilePermissions.generalperms_1_1=Y

And this was in my action-log:

{Sun Dec 21 22:50:35 2003} Answer to question FilePermissions.generalperms_1_1
is Y.

Followed by a whole slew of chmods, logrotate being among them.

 The question is, was Bastille being overly paranoid, or can logrotate
 be exploited when it's world-executable?

 No executable that isn't set-user-id or set-group-id can ever let you
 do anything you couldn't do yourself anyway. This is why Debian policy
 says that non-set-id executables shouldn't have restrictive
 permissions.

 I'd file a bug with the Bastille people.


Is this really a bug, or just a bad/pointless idea?  I mean, it asked me
if I should lock these tools down, and I said yes.  I can always loosen
up permissions on a case by case basis.

I should probably file a wishlist item, in any case, that the Bastille
interface enumerate the files it's going to chmod if you answer 'yes' to
this question.

-- 
monique


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



Re: logrotate: three questions

2004-02-15 Thread Joey Hess
Monique Y. Herman wrote:
 Is this really a bug, or just a bad/pointless idea?  I mean, it asked me
 if I should lock these tools down, and I said yes.  I can always loosen
 up permissions on a case by case basis.

Unless bastille closes down access to programs like perl, python, gcc,
the shell, and all file downloads, it is thoroughly useless to block
execution of any non suid/sgid binaries.

It is also a violation of debian policy, section 10.9:

 Setuid and setgid executables should be mode 4755 or 2755
 respectively, and owned by the appropriate user or group.  They should
 not be made unreadable (modes like 4711 or 2711 or even 4111); doing
 so achieves no extra security, because anyone can find the binary in
 the freely available Debian package; it is merely inconvenient.  For
 the same reason you should not restrict read or execute permissions on
 non-set-id executables.

-- 
see shy jo


signature.asc
Description: Digital signature


Re: three questions about modules

2001-04-24 Thread Iwan Mouwen
* Benjamin Black [EMAIL PROTECTED] [010422 21:35]:
 1.) the default behavior for debian seems to be to run modprobe on all
 modules listed in /etc/modules at boot time, without -k (autoclean).  is
 there a way to change this behavior?

edit /etc/init.d/modutils


 2.) i've looked through some of the kernel docs, but it seems that the
 only place i can find the names that the kernel uses to refer to
 devices, i.e. char-major-14 for sound, is in the documentation for each
 specific module, and most of the time it's not even listed there.  where
 can i find a list of all the names that the kernel uses for devices when
 it calls modprobe to load a module?

read linux-src-dir/Documentation/devices.txt




Re: three questions about modules

2001-04-24 Thread Kevin Easton

From: Benjamin Black [EMAIL PROTECTED]
To: debian-user@lists.debian.org
Sent: Sunday, April 22, 2001 1:50 AM
Subject: three questions about modules

1.) the default behavior for debian seems to be to run modprobe on all
modules listed in /etc/modules at boot time, without -k (autoclean).  is
there a way to change this behavior?

2.) i've looked through some of the kernel docs, but it seems that the
only place i can find the names that the kernel uses to refer to
devices, i.e. char-major-14 for sound, is in the documentation for each
specific module, and most of the time it's not even listed there.  where
can i find a list of all the names that the kernel uses for devices when
it calls modprobe to load a module?

Device drivers in the Linux kernel are accessed through a pair of numbers
called the major and minor number.  The major number specifies which driver
should be used (each driver is accessed through a unique major number) - the
minor number specifies which instance/device is being accessed.

There is a kind of file called a device special file while associates a name
with a
major/minor number pair.  These device files are what (mostly) make up the
/dev
directory.  You can see the major/minor number pair associated with a device
special file in a long directory listing.  For example, the device special
files /dev/hda,
/dev/hda1, /dev/hda2 and /dev/hda3 are:

brw-rw1 root disk   3,   0 Feb 23  1999 /dev/hda
brw-rw1 root disk   3,   1 Feb 23  1999 /dev/hda1
brw-rw1 root disk   3,   2 Feb 23  1999 /dev/hda2
brw-rw1 root disk   3,   3 Feb 23  1999 /dev/hda3

These all have major number 3, and minor numbers 0 to 3 respectively.  There
are
actually two types of devices: character devices and block devices - the 'b'
in the first
column of the directory listing tells us that these refer to block devices.

Now, back to the aliases.  If a program tries to access a device major
number that the
kernel doesn't know how to handle (because there's no driver currently
loaded that
has registered with that major number), the kernel will construct a module
name according
to the pattern:

type-major-major number

and try to load that module.

For example, on my laptop I have the device special file:

crw-r--r--1 root root   161,   0 Feb 23  1999 /dev/ircommnew0

and the entry in /etc/modules.conf:

alias char-major-161 ircomm-tty

which means that if I try to access /dev/ircommnew0, the kernel will
automatically load
the ircomm-tty module if it's not already loaded.

That's _one_ way the kernel works out which module it should use to provide
a service - for
this method, the listing you're looking for is given by constructing the
appropriate name from
the data given by ls -l /dev.

There are other ways too - for example, if you try to bring up a network
interface that doesn't exist,
the kernel will try to load a module by that name.  That's why you add

alias eth0 network card module name

to your modules.conf - when you try to bring up eth0, it will load the
correct module for your network
card.

I hope that's a least a little illuminating.


3.) i installed the kernel-image-2.4.3-686 package that was recently
uploaded to unstable, and i'm perplexed.  my root partition uses ext2 as
its filesystem, yet when i run lsmod, i see the ext2 module listed.  how
is this possible?  does kernel 2.4 use some kind of voodoo magic that
lets it read my kernel image off my root partition without knowing
anything about the filesystem used to store it?  the only thing i can
think of is that the new kernel package also uses an initrd image... is
this how it is accomplishing this amazing feat, superior even to
bootstrapping?  if so, please explain; i know nothing about initrd and
what it does--the only thing i know about ramdisks is from my dos days
when i could make a virtual drive out of ram and run programs super
duper fast off of it.

/ben


initrd allows a ramdisk to be created already initialised with data (from an
image file).  This means that you could have the ext2 module in the ramdisk
image, so that you can load it from the ramdisk, and then use it to mount
the
'real' root partition.

I'm not 100% on the way this works - I think the safest answer is yes, it
_is_ voodoo.

- Kevin.


--
|_|_ | _  _ |_   PGP public key: http://www.wilykit.com/wilykit.key
|_) . |_)|(_|(_ |\  Never rub another man's rhubarb. -- Joker





three questions about modules

2001-04-21 Thread Benjamin Black
1.) the default behavior for debian seems to be to run modprobe on all
modules listed in /etc/modules at boot time, without -k (autoclean).  is
there a way to change this behavior?

2.) i've looked through some of the kernel docs, but it seems that the
only place i can find the names that the kernel uses to refer to
devices, i.e. char-major-14 for sound, is in the documentation for each
specific module, and most of the time it's not even listed there.  where
can i find a list of all the names that the kernel uses for devices when
it calls modprobe to load a module?

3.) i installed the kernel-image-2.4.3-686 package that was recently
uploaded to unstable, and i'm perplexed.  my root partition uses ext2 as
its filesystem, yet when i run lsmod, i see the ext2 module listed.  how
is this possible?  does kernel 2.4 use some kind of voodoo magic that
lets it read my kernel image off my root partition without knowing
anything about the filesystem used to store it?  the only thing i can
think of is that the new kernel package also uses an initrd image... is
this how it is accomplishing this amazing feat, superior even to
bootstrapping?  if so, please explain; i know nothing about initrd and
what it does--the only thing i know about ramdisks is from my dos days
when i could make a virtual drive out of ram and run programs super
duper fast off of it.

/ben


-- 
|_|_ | _  _ |_   PGP public key: http://www.wilykit.com/wilykit.key
|_) . |_)|(_|(_ |\  Never rub another man's rhubarb. -- Joker



pgp413Hn6phkF.pgp
Description: PGP signature


RE: Three questions

1999-10-11 Thread Andrew Hately
  The poor quality of documentation, such as these how tos
 is one of the
  reasons why I recommend when ever I am asked whether a site
 should move
  to linux to recommend that they don't.

 Although I didn't agree with the tone of this message, I
 definitely think something
 needs to be done about Linux documentation, especially if it
 is expected that
 people switch to it from Windows/Mac (my personal opinion is
 that they *should*
 do that) where a lot of things are tucked away and done
 behind their backs.

For me this is a dangerous road to go down. It may be that to dumb down
Linux enough that it can be used by a larger group of less computer literate
people might alienate the current users. I believe one flaw in the Microsoft
Windows approach is that the inherent complexity in configuration can be
hidden but never eliminated; the poor user is left wondering what the
computer might be doing and why.
In Linux this complexity is in your face; but in my opinion that's the
safest place for it to be.

But I agree, Linux needs better documentation and some more tools to manage
the configuration in a canonical way; preferable across a network of similar
machines.

Andrew


RE: Three questions

1999-10-11 Thread aphro
if linux had more documentation that would take more of the fun outta it!@


[mailto:[EMAIL PROTECTED] ]--
  Linux System Administrator   http://www.firetrail.com/
  Firetrail Internet Services Limited  http://www.aphroland.org/
   Everett, WA 425-348-7336http://www.linuxpowered.net/
Powered By:http://comedy.aphroland.org/
Debian 2.1 Linux 2.0.36 SMPhttp://yahoo.aphroland.org/
-[mailto:[EMAIL PROTECTED] ]--

On Mon, 11 Oct 1999, Andrew Hately wrote:

   The poor quality of documentation, such as these how tos
  is one of the
   reasons why I recommend when ever I am asked whether a site
  should move
   to linux to recommend that they don't.
 
  Although I didn't agree with the tone of this message, I
  definitely think something
  needs to be done about Linux documentation, especially if it
  is expected that
  people switch to it from Windows/Mac (my personal opinion is
  that they *should*
  do that) where a lot of things are tucked away and done
  behind their backs.
 
 For me this is a dangerous road to go down. It may be that to dumb down
 Linux enough that it can be used by a larger group of less computer literate
 people might alienate the current users. I believe one flaw in the Microsoft
 Windows approach is that the inherent complexity in configuration can be
 hidden but never eliminated; the poor user is left wondering what the
 computer might be doing and why.
 In Linux this complexity is in your face; but in my opinion that's the
 safest place for it to be.
 
 But I agree, Linux needs better documentation and some more tools to manage
 the configuration in a canonical way; preferable across a network of similar
 machines.
 
 Andrew
 
 
 -- 
 Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null
 


Re: Three questions

1999-10-08 Thread brian . ross
I was under the _impression_ that people in the Linux community were
supposed to be helpful.  Obviously I was mistaken.

I asked some very specific questions, I hoped to get some helpful
answers.  Obviously I was mistaken to even bother if I was to simply be
directed to a Howto file.

The poor quality of documentation, such as these how tos is one of the
reasons why I recommend when ever I am asked whether a site should move
to linux to recommend that they don't.  They are far better off with a
proprietory WELL SUPPORTED form of unix, even if it costs considerably
more.  That way they won't get a smart arse answer like this when they
ask a direct question.

I don't want a long, indepth, very indirect discussion of how to manage
a network or ethernet connect.  I want clear, distinct EXAMPLES.

Now, little boy, pull your socks up.  If you're not willing to help then
it might be better for you to remain silent, rather than remove any
doubt in my mind that you're a fool.


 Take a look at the Ethernet and NETWORK HOWTOs.
 
  I have a system on which I've just installed debian.  It has two network
  cards but during setup only one was recognised.  I need to know how to:
 
  1) Make the system recognise the other network card.  Is there a utility
  which probes the card and determines what type it is and (hopefully)
  installs the correct driver for it?
 
  2) Make the system utilise the other network card.
 
  3) How do I assign a seperate IP number, gateway, etc. to it?
 
 
 
  cheers
 
  Brian
 
 
  --
  Brian Ross, Network Manager   Voice +61-1-2-6279-8336
  John Curtin School of Medical Research  Fax   +61-1-2-6247-4823
  Australian National University
 
 
  --
  Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null
 
 
 --
 Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null

-- 
Brian Ross, Network Manager Voice +61-1-2-6279-8336
John Curtin School of Medical Research  Fax   +61-1-2-6247-4823
Australian National University


Re: Three questions

1999-10-08 Thread Herbert Ho
I'm sorry that your experience with linux has thus far been so bad.  I
understand how frustrating dealing with linux and all these problems might
be.  The linux community as a whole is very willing to help, but there are
lots of questions that are commonly asked that are answered in howto and
mailing archives.

many people who use linux and read these mailing list are busy people,
though willing to help, are probably like you, with lots of
commitments.  they usually have little amount of time that they need to
delegate constructively.

you'll get much friendlier responses if you would do your homework
beforehand by: (1) reading the relavent howto's (2) browse/search the
mailing list archives for previous posts that are relevant.

now, though i'm no guru (far from it), let's get on to your questions =)

(1) it helps a LOT if you know we know what network card it is. also the
chipset the card uses.  you usually needs these in order to determine the
correct drivers.  i like to check /proc/pci to see if the card was
detected at startup.  

if it is, then you just need to install the drivers.  installing the
drivers can be done from modconf (again, i'm not sure of the program, i
don't use it =p ).  you can also compile your own kernel and put the
drivers in that way. read the kernel-howto. =)

(2) though i haven't setup a two network card system before i believe the
idea is the same. you would use 

ifconfig eth0 ...

the same arguments you give to the first card except changing eth0 to the
device file your second card is on (probably eth1).  these are usually
done at boot in a script: /etc/init.d/networking (/etc/init.d/network in
slink). though they've been changing that around on me. =p

please read the howto's and mailing list archives first. then post the
question. you'll find more people are willing to help you.


Herbert Ho


 On Fri, 8 Oct 1999
[EMAIL PROTECTED] wrote:

 I was under the _impression_ that people in the Linux community were
 supposed to be helpful.  Obviously I was mistaken.
 
 I asked some very specific questions, I hoped to get some helpful
 answers.  Obviously I was mistaken to even bother if I was to simply be
 directed to a Howto file.
 
 The poor quality of documentation, such as these how tos is one of the
 reasons why I recommend when ever I am asked whether a site should move
 to linux to recommend that they don't.  They are far better off with a
 proprietory WELL SUPPORTED form of unix, even if it costs considerably
 more.  That way they won't get a smart arse answer like this when they
 ask a direct question.
 
 I don't want a long, indepth, very indirect discussion of how to manage
 a network or ethernet connect.  I want clear, distinct EXAMPLES.
 
 Now, little boy, pull your socks up.  If you're not willing to help then
 it might be better for you to remain silent, rather than remove any
 doubt in my mind that you're a fool.
 
 
  Take a look at the Ethernet and NETWORK HOWTOs.
  
   I have a system on which I've just installed debian.  It has two network
   cards but during setup only one was recognised.  I need to know how to:
  
   1) Make the system recognise the other network card.  Is there a utility
   which probes the card and determines what type it is and (hopefully)
   installs the correct driver for it?
  
   2) Make the system utilise the other network card.
  
   3) How do I assign a seperate IP number, gateway, etc. to it?
  
  
  
   cheers
  
   Brian
  
  
   --
   Brian Ross, Network Manager   Voice +61-1-2-6279-8336
   John Curtin School of Medical Research  Fax   +61-1-2-6247-4823
   Australian National University
  
  
   --
   Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null
  
  
  --
  Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null
 
 -- 
 Brian Ross, Network Manager   Voice +61-1-2-6279-8336
 John Curtin School of Medical Research  Fax   +61-1-2-6247-4823
 Australian National University
 
 
 -- 
 Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null
 


Re: Three questions

1999-10-08 Thread Brian Servis
*- On  8 Oct, [EMAIL PROTECTED] wrote about Re: Three questions
 I was under the _impression_ that people in the Linux community were
 supposed to be helpful.  Obviously I was mistaken.
 
 I asked some very specific questions, I hoped to get some helpful
 answers.  Obviously I was mistaken to even bother if I was to simply be
 directed to a Howto file.
 
 The poor quality of documentation, such as these how tos is one of the
 reasons why I recommend when ever I am asked whether a site should move
 to linux to recommend that they don't.  They are far better off with a
 proprietory WELL SUPPORTED form of unix, even if it costs considerably
 more.  That way they won't get a smart arse answer like this when they
 ask a direct question.
 
 I don't want a long, indepth, very indirect discussion of how to manage
 a network or ethernet connect.  I want clear, distinct EXAMPLES.
 

Here are some clear, distinct examples from the howto's that were
mentioned.  


From the Ethernet HOWTO:

  3.2.  Using More than one Ethernet Card per Machine

  What needs to be done so that Linux can run two ethernet cards?

  With the Driver as a Module: Most linux distributions use modular
  drivers now (as opposed to having the driver built into the kernel).
[snip]

  As an example, consider a user that has two ISA NE2000 cards, one at
  0x300 and one at 0x240 and what lines they would have in their
  /etc/conf.modules file:


  alias eth0 ne
  alias eth1 ne
  options ne io=0x240,0x300

[snip]
  As a final example, consider a user with one 3c503 card at 0x350and
  one SMC Elite16 (wd8013) card at 0x280.  They would have:


  alias eth0 wd
  alias eth1 3c503
  options wd io=0x280
  options 3c503 io=0x350

[snip]

  With the Driver Compiled into the Kernel: If you have the driver
  compiled into the kernel, then the hooks for multiple ethercards are
  all there.  However, note that at the moment only one ethercard is
  auto-probed for by default.  This helps to avoid possible boot time
  hangs caused by probing sensitive cards.
[snip]

  LILO: linux ether=5,0x300,eth0 ether=15,0x280,eth1



From the NET-3 HOWTO:

  5.7.  Routing.
[snip]
  The first step is to configure the interface as described earlier. You
  would use a command like:

   # ifconfig eth0 192.168.1.10 netmask 255.255.255.0 up
[snip]
  You now need to add an entry into the routing table to tell the kernel
  that datagrams for all hosts with addresses that match 192.168.1.*
  should be sent to the ethernet device. You would use a command similar
  to:


   # route add -net 192.168.1.0 netmask 255.255.255.0 eth0
[snip]

  used instead of the default route. The idea of the default route is
  simply to enable you to say and everything else should go here. In
  the example I've contrived you would use an entry like:

   # route add default gw 192.168.1.1 eth0
[snip]
  Let's now look at a slightly more complicated routing configuration.
  Let's imagine we are configuring the router we looked at earlier, the
  one supporting the PPP link to the Internet and the lan segments
  feeding the workstations in the office. Lets imagine the router has
  three ethernet segments and one PPP link. Our routing configuration
  would look something like:


   # route add -net 192.168.1.0 netmask 255.255.255.0 eth0
   # route add -net 192.168.2.0 netmask 255.255.255.0 eth1
   # route add -net 192.168.3.0 netmask 255.255.255.0 eth2
   # route add default ppp0


 Take a look at the Ethernet and NETWORK HOWTOs.
 
  I have a system on which I've just installed debian.  It has two network
  cards but during setup only one was recognised.  I need to know how to:
 
  1) Make the system recognise the other network card.  Is there a utility
  which probes the card and determines what type it is and (hopefully)
  installs the correct driver for it?
 
  2) Make the system utilise the other network card.
 
  3) How do I assign a seperate IP number, gateway, etc. to it?
 
 
 
  cheers
 
  Brian
 
 
  --
  Brian Ross, Network Manager   Voice +61-1-2-6279-8336
  John Curtin School of Medical Research  Fax   +61-1-2-6247-4823
  Australian National University
 
 

-- 
Brian Servis
-- 

Mechanical Engineering  |  Never criticize anybody until you  
Purdue University   |  have walked a mile in their shoes,
[EMAIL PROTECTED]   |  because by that time you will be a
http://www.ecn.purdue.edu/~servis   |  mile away and have their shoes.


Re: Three questions

1999-10-08 Thread Matthew Dalton

[EMAIL PROTECTED] wrote:
 
 I was under the _impression_ that people in the Linux community were
 supposed to be helpful.  Obviously I was mistaken.

Sorry to be blunt, but you're acting like the Linux community owes you
something. Everyone here is a volunteer in one way or another.
Occasionally I answer questions. I'm not being paid for it, it's just
something I like doing - to try to improve people's experiences with
linux.

In return, you should either be thankful, or not say anything at all. My
mother always said: If you can't say anything nice, don't say anything
at all. This is especially true for the debian-user list, as we are all
volunteering our services.

 I asked some very specific questions, I hoped to get some helpful
 answers.  Obviously I was mistaken to even bother if I was to simply be
 directed to a Howto file.

What makes this answer unhelpful? I have found the Howtos to be a most
valuable source of information, even when I first started learning linux
(no previous unix experience).

 The poor quality of documentation, such as these how tos is one of the
 reasons why I recommend when ever I am asked whether a site should move
 to linux to recommend that they don't.  They are far better off with a
 proprietory WELL SUPPORTED form of unix, even if it costs considerably
 more.  That way they won't get a smart arse answer like this when they
 ask a direct question.

The Howtos are also created by volunteers. If you think that they do not
cover what you think they should cover, you should contact the author
and tell them nicely about what you expect to see there.

 I don't want a long, indepth, very indirect discussion of how to manage
 a network or ethernet connect.  I want clear, distinct EXAMPLES.

As it happens, the ethernet howto (which you have already been directed
to) contains exactly that:

http://metalab.unc.edu/mdw/HOWTO/Ethernet-HOWTO-3.html#ss3.2

 Now, little boy, pull your socks up.  If you're not willing to help then
 it might be better for you to remain silent, rather than remove any
 doubt in my mind that you're a fool.

Comments such as this can never amount to anything but hostility.

 
  Take a look at the Ethernet and NETWORK HOWTOs.

You really should. Others have already done what you are trying to do.
One of them decided to write a document describing what he did, so that
others may do it too. If you don't understand it, you can always ask
here for further explanation.

   I have a system on which I've just installed debian.  It has two network
   cards but during setup only one was recognised.  I need to know how to:
  
   1) Make the system recognise the other network card.  Is there a utility
   which probes the card and determines what type it is and (hopefully)
   installs the correct driver for it?

This was answered in one of the other replies.

  
   2) Make the system utilise the other network card.

This is in the ethernet howto.

   3) How do I assign a seperate IP number, gateway, etc. to it?

This is in the network howto.

http://metalab.unc.edu/mdw/HOWTO/NET3-4-HOWTO-5.html#ss5.4


Matthew


Re: Three questions

1999-10-08 Thread Nathan E Norman
On Fri, 8 Oct 1999 [EMAIL PROTECTED] wrote:

 : I was under the _impression_ that people in the Linux community were
 : supposed to be helpful.  Obviously I was mistaken.

[ snip more of the same ]

 : I don't want a long, indepth, very indirect discussion of how to manage
 : a network or ethernet connect.  I want clear, distinct EXAMPLES.
 : 
 : Now, little boy, pull your socks up.  If you're not willing to help then
 : it might be better for you to remain silent, rather than remove any
 : doubt in my mind that you're a fool.

Oh, I'm sure such an outstanding attitude will win you all sorts of
friends.  

Nevertheless, you might care to pass an ether= line at boot.  Try it
by hand first to make sure you get it right - you will need to know the
IRQ and base IO for your cards.  (I assume they're of the same type; I
deleted your original post already).

I'll assume you know how to get to a boot prompt.  On my machine with
two 3Com 3C509 ISA cards I enter:

  linux ether=11,0x2e0,eth1 ether=10,0x300,eth0

Once booted you should be able to configure eth1 (look at
/etc/init.d/network to see how it's done).  Once you're sure
you've got the ether line right, add a line to /etc/lilo.conf:

  append=ether=11,0x2e0,eth1 ether=10,0x300,eth0

Don't forget to re-run LILO.

If you find my references to examining other bits of the system to find
out how it's done smart-arse, then I respectfully submit that Linux is
not for you.

Find me a commercial UNIX (or any software) that provides free support
and also sets it all up for you.  Linux comes the closest.  Don't
forget, the people on this list volunteer their time; they don't have to
help you.  If you feel someone isn't answering your question, attacking
them may not be overly productive, eh?

Have a nice day,

--
Nathan Norman
MidcoNet  410 South Phillips Avenue  Sioux Falls, SD
mailto:[EMAIL PROTECTED]   http://www.midco.net
finger [EMAIL PROTECTED] for PGP Key: (0xA33B86E9)



Re: Three questions

1999-10-08 Thread Mojahedul Hoque Abul Hasanat
On Fri, Oct 08, 1999 at 01:53:30AM +1000, [EMAIL PROTECTED]
wrote:

 I was under the _impression_ that people in the Linux community
 were supposed to be helpful.  Obviously I was mistaken.

You have probably heard that Linux (and other Unices) are much
more flexible and powerful than WinXX.  One major difference
between any Unix (Linux included) and WinXX is that you have to
_unserstand_ it.

With WinXX, someone can tell you to flip this, click that, press
this and if your requirements are within bounds set by Redmond,
you should be ok.  This is generally not true in our world.

Quick answers for very well documented and simple problems (like
yours) can get you going for a few hours, but soon you'll need
another quick answer, and soon after another ..  This is if
you haven't read any docs.

Once you have done your homework and ask *real* questions, you'll
see how helpful the Linux community is.

-- 
Mojahed


RE: Three questions

1999-10-08 Thread B. Szyszka
 The poor quality of documentation, such as these how tos is one of the
 reasons why I recommend when ever I am asked whether a site should move
 to linux to recommend that they don't.  

Although I didn't agree with the tone of this message, I definitely think 
something
needs to be done about Linux documentation, especially if it is expected that
people switch to it from Windows/Mac (my personal opinion is that they *should*
do that) where a lot of things are tucked away and done behind their backs. 
People
have told me that certain things on Linux are difficult to setup, but the only 
thing I've
personally found difficult is reading a how-to and I'm someone who's been with 
computers when DOS was the predominant OS for PCs. I don't like the idea
of people new to computers trying to understand the how-tos when I've had 
trouble
with them myself, although Linux *is* relatively new with its popularity and 
I'd imagine
all this would be cleared up in a year from now when Bill Gates will be the 
head chef
of McDonald's.   : )

-- 
Bart Szyszka  [EMAIL PROTECTED]  ICQ:4982727
B Grafyx  http://www.bgrafyx.com
L.J.R. Engineering  http://www.ljreng.com
PHP Interest Group  http://www.gigabee.com/pig/ 


Three questions

1999-10-07 Thread brian . ross
I have a system on which I've just installed debian.  It has two network
cards but during setup only one was recognised.  I need to know how to:

1) Make the system recognise the other network card.  Is there a utility
which probes the card and determines what type it is and (hopefully)
installs the correct driver for it?

2) Make the system utilise the other network card.

3) How do I assign a seperate IP number, gateway, etc. to it?



cheers

Brian


-- 
Brian Ross, Network Manager Voice +61-1-2-6279-8336
John Curtin School of Medical Research  Fax   +61-1-2-6247-4823
Australian National University


Three questions regarding new install (Win95 sharing and FTP and kernel)

1998-03-19 Thread richard huntrods
Hi all.

I have installed the bo version of Debian and am very happy with it.

I have three questions (I have read a fair number of docs and faqs, but
have not found simple answers).

1. During the install, I enabled Windows95 file sharing.  How do I
actually set this up?

2. After installation is complete, if I want to remove an item from the
install (I added IPX and don't want it), how do I accomplish this?  (I
only have the basic installation right now... see #3.

3. Due to factors beyond my control, this Linux system MUST share the
network with Wintel systems.  All internet access is through MS Proxy
Server on an NT server box.  All other wintel machines on the net can
access internet via http and ftp, etc.

I can ping any machine on the network (including the Debian system).  I
can FTP from the Debian system to the NT server (running Proxy).  I
CANNOT FTP to the internet.  If I try FTP open ftp.debian.org  I get
site not found (or something of that sort).  I cannot ftp to the
actual IP address of ftp.debian.org, either.

Can anyone assist me with this task?  I simply want to ftp to the debian
site, but I MUST go through the MS proxy server.

Thanks in advance,

-Richard


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


Re: Three questions regarding new install (Win95 sharing and FTP and kernel)

1998-03-19 Thread aqy6633
 2. After installation is complete, if I want to remove an item from the
 install (I added IPX and don't want it), how do I accomplish this?  (I
 only have the basic installation right now... see #3.

Edit /etc/modules and remove the line with ipx

 3. Due to factors beyond my control, this Linux system MUST share the
 network with Wintel systems.  All internet access is through MS Proxy
 Server on an NT server box.  All other wintel machines on the net can
 access internet via http and ftp, etc.

Did you specify the NT machine running proxy as your gateway during
install? Did you specify any nameservers? I don't know what kind of proxy
is it, you may need to ftp to the proxy and enter ftp.debian.org as a
username, or something of this kind.

Alex Y.

-- 
   _ 
 _( )_
( (o___   +---+
 |  _ 7   |Alexander Yukhimets|
  \()|   http://pages.nyu.edu/~aqy6633/  |
  / \ \   +---+


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