Networking 3 simple questions

2004-06-06 Thread Marvin Aguero
Guys,

I guess these three questions are simple for those who are familiar with
Debian. I would really appreciate some help on these matters.

1) How can I know which IP Address I have been assigned if debian is
configured as DHCP? Something like ipconfig on the Windows world.

2) If I configured my machine as DHCP while installing it, how can I change
it to use an specific IP Address?

3) The opposite, if I have the machine configured with an specific IP
Address, how can I change it to use DHCP?

Thanks in advance for all your help.

-Marvin



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



Re: Networking 3 simple questions

2004-06-06 Thread Roberto Sanchez
Marvin Aguero wrote:
Guys,
I guess these three questions are simple for those who are familiar with
Debian. I would really appreciate some help on these matters.
1) How can I know which IP Address I have been assigned if debian is
configured as DHCP? Something like ipconfig on the Windows world.
As root, ifconfig
2) If I configured my machine as DHCP while installing it, how can I change
it to use an specific IP Address?
Edit /etc/network/interfaces
For DHCP:
auto eth0
iface eth0 inet dhcp
For static (change adresses and netmasks as appropriate):
iface eth0 inet static
   address 192.168.0.3
   netmask 255.255.255.0
   broadcast 192.168.0.255
   gateway 192.168.0.1
There are probably automated tools that will do this as well,
but I find it easier to just edit the file.
3) The opposite, if I have the machine configured with an specific IP
Address, how can I change it to use DHCP?
See #2.
Thanks in advance for all your help.
-Marvin
-Roberto


signature.asc
Description: OpenPGP digital signature


Re: Networking 3 simple questions

2004-06-06 Thread Ralph Katz
On 06/06/04 18:00, Roberto Sanchez wrote:
Marvin Aguero wrote:
Guys,
I guess these three questions are simple for those who are familiar with
Debian. I would really appreciate some help on these matters.
1) How can I know which IP Address I have been assigned if debian is
configured as DHCP? Something like ipconfig on the Windows world.
As root, ifconfig
As user:
$ /sbin/ifconfig

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



Re: Networking 3 simple questions

2004-06-06 Thread Adam Aube
Roberto Sanchez wrote:

 Marvin Aguero wrote:
 1) How can I know which IP Address I have been assigned if debian is
 configured as DHCP? Something like ipconfig on the Windows world.

 As root, ifconfig

You don't have to be root to view the settings, though you will probably
have to specify the full path, like this:

/sbin/ifconfig

This is because /sbin is not in a non-root user's path by default.

Adam


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



Re: Networking 3 simple questions

2004-06-06 Thread Rodney D. Myers
On Sun, 06 Jun 2004 19:20:43 -0400
Ralph Katz [EMAIL PROTECTED] wrote:

 On 06/06/04 18:00, Roberto Sanchez wrote:
  Marvin Aguero wrote:
  
  Guys,
 
  I guess these three questions are simple for those who are familiar
 with Debian. I would really appreciate some help on these matters.
 
  1) How can I know which IP Address I have been assigned if debian
 is configured as DHCP? Something like ipconfig on the Windows world.
 
  
  As root, ifconfig
  
 
 As user:
 $ /sbin/ifconfig
 

Thanks for the tips.

How do I convert a server which has a static IP, to become a DHCP
server? I know I need the DHCP server installed, but is there more than
that?

-- 
Rodney D. Myers [EMAIL PROTECTED] 
Registered Linux User #96112
ICQ#: AIM#:   YAHOO:
18002350  mailman452  mailman42_5

They that can give up essential liberty to obtain a 
little temporary safety deserve neither liberty nor safety.
Ben Franklin - 1759


pgpGNZFRjweVc.pgp
Description: PGP signature


Re: Networking 3 simple questions

2004-06-06 Thread James LeClair
On June 7, 2004 12:17 am, Rodney D. Myers wrote:

 How do I convert a server which has a static IP, to become a DHCP
 server? I know I need the DHCP server installed, but is there more than
 that?


My router, which runs woody, has these lines in: etc/network/interfaces:

auto eth1
iface eth1 inet dhcp

Of course, eth1 in my case is interface connected live and getting public IP.
Also, I believe that any static info would be in this file as well.


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



Re: Networking 3 simple questions

2004-06-06 Thread Rodney D. Myers
On Mon, 07 Jun 2004 01:36:03 -0300
James LeClair [EMAIL PROTECTED] wrote:

 On June 7, 2004 12:17 am, Rodney D. Myers wrote:
 
  How do I convert a server which has a static IP, to become a DHCP
  server? I know I need the DHCP server installed, but is there more
  than that?
 
 
 My router, which runs woody, has these lines in:
 etc/network/interfaces:
 
 auto eth1
 iface eth1 inet dhcp
 
 Of course, eth1 in my case is interface connected live and getting
 public IP. Also, I believe that any static info would be in this file
 as well.
 
 

Thanks.. With ab old machine, I may have to start trying to get DHCP
running on it

-- 
Rodney D. Myers [EMAIL PROTECTED] 
Registered Linux User #96112
ICQ#: AIM#:   YAHOO:
18002350  mailman452  mailman42_5

They that can give up essential liberty to obtain a 
little temporary safety deserve neither liberty nor safety.
Ben Franklin - 1759


pgprXYIbSBjA0.pgp
Description: PGP signature


Re: simple questions

2002-02-04 Thread Romuald DELAVERGNE

Le 2002.02.02 19:08, Alexey a écrit :


 command args  /dev/null 21

 man bash and see about redirection. :)


It's me again.
OK...
$ /mount -a

mount: /dev/hdc3 already mounted or /mnt/deb busy
MSDOS FS: Using codepage 866
MSDOS FS: IO charset koi8-r

$ /mount -a  /dev/null

the same

$ mount -a  /dev/null 21

the first (error) message disappears, but both MSDOS FS: do not.
I can redirect them nowhere :( ? I have 3 FAT partitions, so
I don't like to read these annoying strings during the bootup process.



This is kernel messages.
You can't hide them on a console.

Romuald.



simple questions

2002-02-02 Thread Alexey
1.   How can I make a program produce no output on the shell screen if
 it has no special quiet behavior option and /dev/null doesn't help?
 (the messages are not errors- or warnings-like).

2.   sh: which: command not found

 sh: zsoelim: command not found
 sh: geqn: command not found
 sh: gtbl: command not found

 How can they be found? (I mean package, URL or anything else.)



Re: simple questions

2002-02-02 Thread Mario Vukelic
On Sat, 2002-02-02 at 14:45, Alexey wrote:
 1.   How can I make a program produce no output on the shell screen if
  it has no special quiet behavior option and /dev/null doesn't help?
  (the messages are not errors- or warnings-like).

Did you still try 2 /dev/null ? Maybe they aren't errors or warnings
but still directed to sterr

 2.   sh: which: command not found

sonic:/usr# dpkg -S /usr/bin/which
debianutils: /usr/bin/which
sonic:/usr#


  sh: zsoelim: command not found

http://packages.debian.org/cgi-bin/search_contents.pl?word=zsoelimsearchmode=searchfilescase=insensitiveversion=stablearch=i386

  sh: geqn: command not found
  sh: gtbl: command not found
 
  How can they be found? (I mean package, URL or anything else.)

http://www.debian.org/distrib/packages at the bottom of the page

-- 

I did not vote for the Austrian government





Re: simple questions

2002-02-02 Thread csj
On 02 Feb 2002 15:26:08 +0100
Mario Vukelic [EMAIL PROTECTED] wrote:

 On Sat, 2002-02-02 at 14:45, Alexey wrote:
  1.   How can I make a program produce no output on the shell screen if
   it has no special quiet behavior option and /dev/null doesn't help?
   (the messages are not errors- or warnings-like).
 
 Did you still try 2 /dev/null ? Maybe they aren't errors or warnings
 but still directed to sterr

A bashism! How about this:

(cdrecord  /dev/null)  /dev/null

-- 
Humanity's future is in the stars:
support a manned mission to Mars!
http://www.thinkmars.net/petition/addpetition.html



Re: simple questions

2002-02-02 Thread Alexey

 command args  /dev/null 21

 man bash and see about redirection. :)


It's me again.
OK...
$ /mount -a

mount: /dev/hdc3 already mounted or /mnt/deb busy
MSDOS FS: Using codepage 866
MSDOS FS: IO charset koi8-r

$ /mount -a  /dev/null

the same

$ mount -a  /dev/null 21

the first (error) message disappears, but both MSDOS FS: do not.
I can redirect them nowhere :( ? I have 3 FAT partitions, so
I don't like to read these annoying strings during the bootup process.

Alexey.

P.S. Thanks a lot for help in missing files searching.



Re: simple questions

2002-02-02 Thread Alexey

 A bashism! How about this:

 (cdrecord  /dev/null)  /dev/null

$ (mount -a  /dev/null)  /dev/null

Nope. It talks.



Re: debian newbie : 2 simple questions

2002-01-30 Thread irvine . russell
On Tue, Jan 29, 2002 at 03:26:41PM +0100, Pietro Cagnoni wrote:
  1)  what is the minimal package install to send emails from the shell ?? 
  (mailx, zmailer-ssl ?) imperative is : SMTP daemon on port 25 must NOT be 
  running.
 
 install mailx + exim, then comment out the smtp line in /etc/inetd.conf,
 then killall -HUP inetd .

It is necessary also to do something about the script
/etc/init.d/exim, that is started when the system boots.
This script checks to see whether exim is started by
inetd. If exim is not started by inetd, then exim is
started by this script. Result : exim is still listening
on port 25.

The following should do all that is necessary :

/usr/sbin/update-inetd --disable smtp  ...takes care of inet.conf

update-rc.d -f exim remove ...takes care of /etc/init.d/exim

I suppose you will need to kill exim if it was started by
/etc/init.d/exim.

netstat -at | grep smtp...see if all is well

t:irvine

-- 

 Whoever thinks a faultless piece to see,
 Thinks what ne'er was, nor is, nor ne'er shall be.

   Alexander Pope, An Essay On Criticism.



debian newbie : 2 simple questions

2002-01-29 Thread José
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

hi all !

2 newb questions :

1)  what is the minimal package install to send emails from the shell ?? 
(mailx, zmailer-ssl ?) imperative is : SMTP daemon on port 25 must NOT be 
running.
2) how to verify if an ETH interface is really in full duplex mode and/or how 
to change it.


thank you 4 any help.
José



PGP Public Key Fingerprint: AE11 845C 9565 91FB  B431 4C47 57CC 30E5

-BEGIN PGP SIGNATURE-
Version: PGPsdk version 1.7.1 (C) 1997-1999 Network Associates, Inc. and its 
affiliated companies.

iQA/AwUBPFae+lfMMOUSoI2SEQIauwCaAmZEO+xYyewmb8nHoSoLEFb05zIAn3oF
fo0Fw2xmTlSyOzrjztL98BaL
=Deo2
-END PGP SIGNATURE-







Re: debian newbie : 2 simple questions

2002-01-29 Thread Pietro Cagnoni
 1)  what is the minimal package install to send emails from the shell ?? 
 (mailx, zmailer-ssl ?) imperative is : SMTP daemon on port 25 must NOT be 
 running.

install mailx + exim, then comment out the smtp line in /etc/inetd.conf,
then killall -HUP inetd .

ask for more informations if you need!

pietro.



Re: Simple Questions

2001-02-18 Thread Tommi Komulainen
On Sat, Feb 17, 2001 at 11:05:19PM -0800, Leonard Leblanc wrote:
 yup the script is executable and works
 
 I went into the /etc/cron.daily directory and ran it from the command line
 via ./webalizer

In that script, are you trying to run some program that exists somewhere
else than /bin or /usr/bin?  PATH in cronjobs is set to some default which
does not include ~user/bin for example, maybe not even /usr/local/bin.  If
you wish to use programs in such directories, use absolute paths or set
PATH manually in the beginning of the script.


-- 
Tommi Komulainen [EMAIL PROTECTED]
GPG 1024D/68388EE66FD6 DD79 EB38 BF6F 3533  09C0 04A8 9871 6838 8EE6


pgpEOrf8JMQ0o.pgp
Description: PGP signature


Re: 2 simple questions

2001-02-17 Thread Jaye Inabnit ke6sls

Hi Brad,

Looks like you just need/want to edit the Message Of The Day (/etc/motd)
file.

Don't run gnome here - sri.

On Friday 16 February 2001 06:54, Brad Cramer wrote:
 I am not really new to linux (used Redhat for 3 years) but I am a recent
 Debian convert and I have a coulpe of simple questions. I am running Debian
 Woody and everything is up to date but I want to know how to change the
 type of system or version of Debian that shows up on a console login
 screen. Right now it says testing/unstable I looked at /etc/debian_version
 and it said the same thing there and I changed it to Woody but that didn't
 make any difference, any ideas? The other question may be a little more
 complicated. I am using gdm to login and I normaly run Enlightenment but I
 wanted to try out Gnome but when I selecect it from the gdm menu it starts
 gnome and kde together. I have replaced the /etc/gdm/Sessions/Gnome script
 with one that just has exec /usr/bin/gnome-session but that didn't help, if
 I start kde it works fine and it is a script that just has exec
 /usr/bin/startkde, any ideas on this one?
 Thanks
 Brad Cramer

-- 

Jaye Inabnit, ARS ke6sls e-mail: [EMAIL PROTECTED]
707-442-6579 h/m 707-268-4074
http://www.qsl.net/ke6slsICQ# 12741145
This mail composed with kmail on kde on X on linux warped by debian
If it's stupid, but works, it ain't stupid.




Re: 2 simple questions

2001-02-17 Thread Ethan Benson
On Sat, Feb 17, 2001 at 10:54:48AM -0800, Jaye Inabnit ke6sls wrote:
 
 Hi Brad,
 
 Looks like you just need/want to edit the Message Of The Day (/etc/motd)
 file.

actually sounds more like /etc/issue  /etc/motd does not have any
reference to stable/unstable that i can see.  

 Don't run gnome here - sri.
 
 On Friday 16 February 2001 06:54, Brad Cramer wrote:
  I am not really new to linux (used Redhat for 3 years) but I am a recent
  Debian convert and I have a coulpe of simple questions. I am running Debian
  Woody and everything is up to date but I want to know how to change the
  type of system or version of Debian that shows up on a console login
  screen. Right now it says testing/unstable I looked at /etc/debian_version
  and it said the same thing there and I changed it to Woody but that didn't
  make any difference, any ideas? The other question may be a little more
  complicated. I am using gdm to login and I normaly run Enlightenment but I
  wanted to try out Gnome but when I selecect it from the gdm menu it starts
  gnome and kde together. I have replaced the /etc/gdm/Sessions/Gnome script
  with one that just has exec /usr/bin/gnome-session but that didn't help, if
  I start kde it works fine and it is a script that just has exec
  /usr/bin/startkde, any ideas on this one?
  Thanks
  Brad Cramer
 
 -- 
 
 Jaye Inabnit, ARS ke6sls e-mail: [EMAIL PROTECTED]
 707-442-6579 h/m 707-268-4074
 http://www.qsl.net/ke6slsICQ# 12741145
 This mail composed with kmail on kde on X on linux warped by debian
 If it's stupid, but works, it ain't stupid.
 
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
 

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


pgpCE1aYJleUP.pgp
Description: PGP signature


Simple Questions

2001-02-17 Thread Leonard Leblanc
Hey All,

I have just a quick (and probably stupid) question.  I was under the
impression that you could just place scripts in the cron.daily,
cron.monthly, and cron.weekly directories and that those scripts would be
run.  Now either there is an error in my script or I'm not doing something
right.  Can someone give me a procedure for adding a job to the cron
schedule...?

Thanks in advance.

Leonard Leblanc,
Webmaster / Intranet Administrator
Emerge Knowledge Design
www.emergeknowledge.com



Re: Simple Questions

2001-02-17 Thread David B . Harris
To quote Leonard Leblanc [EMAIL PROTECTED],
# Hey All,
# 
# I have just a quick (and probably stupid) question.  I was under the
# impression that you could just place scripts in the cron.daily,
# cron.monthly, and cron.weekly directories and that those scripts would
be
# run.  Now either there is an error in my script or I'm not doing
something
# right.  Can someone give me a procedure for adding a job to the cron
# schedule...?

You are correct there... A couple of things to look for:

Is the script executable? 'chmod +x script'
Does the script have #!/bin/sh or whatever language the script is
written in for the first line?

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



Re: Simple Questions

2001-02-17 Thread Leonard Leblanc
 # Hey All,
 #
 # I have just a quick (and probably stupid) question.  I was under the
 # impression that you could just place scripts in the cron.daily,
 # cron.monthly, and cron.weekly directories and that those scripts would
 be
 # run.  Now either there is an error in my script or I'm not doing
 something
 # right.  Can someone give me a procedure for adding a job to the cron
 # schedule...?

 You are correct there... A couple of things to look for:

 Is the script executable? 'chmod +x script'
 Does the script have #!/bin/sh or whatever language the script is
 written in for the first line?

yup the script is executable and works

I went into the /etc/cron.daily directory and ran it from the command line
via ./webalizer

Leonard Leblanc,
Webmaster / Intranet Administrator
Emerge Knowledge Design
www.emergeknowledge.com



2 simple questions

2001-02-16 Thread Brad Cramer
I am not really new to linux (used Redhat for 3 years) but I am a recent
Debian convert and I have a coulpe of simple questions. I am running Debian
Woody and everything is up to date but I want to know how to change the type
of system or version of Debian that shows up on a console login screen.
Right now it says testing/unstable I looked at /etc/debian_version and it
said the same thing there and I changed it to Woody but that didn't make any
difference, any ideas? The other question may be a little more complicated.
I am using gdm to login and I normaly run Enlightenment but I wanted to try
out Gnome but when I selecect it from the gdm menu it starts gnome and kde
together. I have replaced the /etc/gdm/Sessions/Gnome script with one that
just has exec /usr/bin/gnome-session but that didn't help, if I start kde it
works fine and it is a script that just has exec /usr/bin/startkde, any
ideas on this one?
Thanks
Brad Cramer



Re: 2 simple questions

2001-02-16 Thread Anthony Fox
Brad Cramer [EMAIL PROTECTED] writes:

 other question may be a little more complicated.  I am using gdm to
 login and I normaly run Enlightenment but I wanted to try out Gnome
 but when I selecect it from the gdm menu it starts gnome and kde
 together. I have replaced the /etc/gdm/Sessions/Gnome script with
 one that just has exec /usr/bin/gnome-session but that didn't help,
 if I start kde it works fine and it is a script that just has exec
 /usr/bin/startkde, any ideas on this one?

Enlightenment is a window manager that runs on top of gnome.  Gnome
does not have its own window manager.  KDE on the other hand is both
the desktop environment and the window manager.

So you can't really run gnome without a window manager.  You need
enlightenment or sawfish or some wm.

I am not sure what you mean when you say kde and gnome start
together.  I don't see how this is possible.  I think gnome and kde
have support modes for each other, but you wouldn't, say, get both the
gnome panel and the kde panel.

HTH,
Anthony



Re: 2 simple questions

2001-02-16 Thread Tom Pfeifer
To change the login prompt message, you can edit the file /etc/issue.
You will probably have to restart the login on each console for the
change to take effect. For example you could log in, and then log out,
and you will see the new message.

Tom

Brad Cramer wrote:
 
 I am not really new to linux (used Redhat for 3 years) but I am a recent
 Debian convert and I have a coulpe of simple questions. I am running Debian
 Woody and everything is up to date but I want to know how to change the type
 of system or version of Debian that shows up on a console login screen.
 Right now it says testing/unstable I looked at /etc/debian_version and it
 said the same thing there and I changed it to Woody but that didn't make any
 difference, any ideas? The other question may be a little more complicated.
 I am using gdm to login and I normaly run Enlightenment but I wanted to try
 out Gnome but when I selecect it from the gdm menu it starts gnome and kde
 together. I have replaced the /etc/gdm/Sessions/Gnome script with one that
 just has exec /usr/bin/gnome-session but that didn't help, if I start kde it
 works fine and it is a script that just has exec /usr/bin/startkde, any
 ideas on this one?
 Thanks
 Brad Cramer




Re: 2 simple questions

2001-02-16 Thread Brad Cramer
Thanks that ddid the trick
- Original Message -
From: Tom Pfeifer [EMAIL PROTECTED]
To: debian-users debian-user@lists.debian.org
Sent: Friday, February 16, 2001 12:28 PM
Subject: Re: 2 simple questions


 To change the login prompt message, you can edit the file /etc/issue.
 You will probably have to restart the login on each console for the
 change to take effect. For example you could log in, and then log out,
 and you will see the new message.

 Tom

 Brad Cramer wrote:
 
  I am not really new to linux (used Redhat for 3 years) but I am a recent
  Debian convert and I have a coulpe of simple questions. I am running
Debian
  Woody and everything is up to date but I want to know how to change the
type
  of system or version of Debian that shows up on a console login screen.
  Right now it says testing/unstable I looked at /etc/debian_version and
it
  said the same thing there and I changed it to Woody but that didn't make
any
  difference, any ideas? The other question may be a little more
complicated.
  I am using gdm to login and I normaly run Enlightenment but I wanted to
try
  out Gnome but when I selecect it from the gdm menu it starts gnome and
kde
  together. I have replaced the /etc/gdm/Sessions/Gnome script with one
that
  just has exec /usr/bin/gnome-session but that didn't help, if I start
kde it
  works fine and it is a script that just has exec /usr/bin/startkde, any
  ideas on this one?
  Thanks
  Brad Cramer
 


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




A few (simple) questions

2000-12-09 Thread [EMAIL PROTECTED]
Hi there, 

I installed a few new things to my Debian installation 
got most of the stuff working, but there are still 
some problems. 
I think those are very easy to solve, but I don't have
any idea how. 


1.) I managed to get sound (ALSA with via82...) 
but only as root. 
If ie. mpg123 ist started as user it says
Can't open /dev/dsp!
but /dev/dsp has  rwx  permissions set for user and group.


2.) I got my graphics card working. 
(Elsa Gladiac with NVIDIA GeForce2 chip)
To do so I had to install X11R6 version 4. 
Now the problem: I want to use lyx. 

lyx depends on libforms0.89
libforms0.89 depends on xpm4g
xpm4g conflicts with xlibs 

Great little vicious circle.


3.) Look at my E-Mail address - really screwed.
I want to use my university address but can't use my 
universities server because of a anti-spam script they use. 
So I have to send mail through my stupid provider 
which overwrites the address as you can see above. 
   

That's that you now. 
Thanks if you read so far. 
More thanks if you can help me.

Nikolai.


Enlightenment really rules!!!





-- 
+-+  
|  Escape the |  
|  Gates of hell. |  
| |  http://www.debian.org 
|  Use Linux. |   
+-+



Re: A few (simple) questions

2000-12-09 Thread Defresne Sylvain
* [EMAIL PROTECTED] ([EMAIL PROTECTED]) wrote:
 Hi there, 
 
 I installed a few new things to my Debian installation 
 got most of the stuff working, but there are still 
 some problems. 
 I think those are very easy to solve, but I don't have
 any idea how. 
 
 
 1.) I managed to get sound (ALSA with via82...) 
 but only as root. 
 If ie. mpg123 ist started as user it says
 Can't open /dev/dsp!
 but /dev/dsp has  rwx  permissions set for user and group.

You need to add the user to the audio group. As root do:

adduser keiichi audio

The user can now acces /dev/dsp (he may need to logout and
login before).

Bye
-- 
DEFRESNE Sylvain



New to Debian -- simple questions

2000-12-07 Thread Hall Stevenson
Okay, I recently switched to Debian after using RedHat and
Mandrake-Linux for 2-3 years... Right off the bat, there are two
things I'd like to change.

1) Get rid of the login message that displays at the console after
typing in my name and password. I read through /etc/login.defs and
there was a reference to a file that I thought this message was coming
from, but the file didn't exist.

2) When I logout, I want the screen to clear so that the login prompt
is at the top (and it gets rid of any old text that now gets left
onscreen). I seem to recall on the Sparcs we used to use that there
was a .$SHELL_logout file.

H, I just checked a RedHat machine here at work and see a
.bash_logout file ;-) It's (2) lines, and the second line is clear.
I think I can take care of # 2 myself !

Thanks in advance... more questions likely to come along soon !

Regards
Hall Stevenson



Re. : New to Debian -- simple questions

2000-12-07 Thread minh-quang . yvonet

See the /etc/motd textfile and change it to whatever you want (or delete
it).
You may also check your rc files. On my system (debian woody distro), there
is a /etc/rc.S/S55bootmisc.sh that updates the motd at bootup.

Minh Quang.




Pour :Debian User debian-user@lists.debian.org
cc :

Objet :   New to Debian -- simple questions


Okay, I recently switched to Debian after using RedHat and
Mandrake-Linux for 2-3 years... Right off the bat, there are two
things I'd like to change.

1) Get rid of the login message that displays at the console after
typing in my name and password. I read through /etc/login.defs and
there was a reference to a file that I thought this message was coming
from, but the file didn't exist.



_
This e-mail is intended for the exclusive use of the individual or
entity named above and may constitute information that is priviledged or
confidential or otherwise protected from disclosure . Dissemination ,
distribution , forwarding or copying of this e-mail by anyone other than the
intended recipient is prohibited . If you have received this e-mail in error
, please notify us and completly delete or destroy any and all electronic or
other copies of the original message
_



Re: New to Debian -- simple questions

2000-12-07 Thread Sam TH
On Thu, Dec 07, 2000 at 09:41:59AM -0500, Hall Stevenson wrote:
 Okay, I recently switched to Debian after using RedHat and
 Mandrake-Linux for 2-3 years... Right off the bat, there are two
 things I'd like to change.
 
 1) Get rid of the login message that displays at the console after
 typing in my name and password. I read through /etc/login.defs and
 there was a reference to a file that I thought this message was coming
 from, but the file didn't exist.

Change the file /etc/motd to whatever you want to see when you log
in.  
   
sam th   
[EMAIL PROTECTED]
http://www.abisource.com/~sam/
GnuPG Key:  
http://www.abisource.com/~sam/key


pgpAOzXX0o0aa.pgp
Description: PGP signature


Re: New to Debian -- simple questions

2000-12-07 Thread Alson van der Meulen
On Thu, Dec 07, 2000 at 09:41:59AM -0500, Hall Stevenson wrote:
 Okay, I recently switched to Debian after using RedHat and
 Mandrake-Linux for 2-3 years... Right off the bat, there are two
 things I'd like to change.
 
 1) Get rid of the login message that displays at the console after
 typing in my name and password. I read through /etc/login.defs and
 there was a reference to a file that I thought this message was coming
 from, but the file didn't exist.
/etc/motd

 
 2) When I logout, I want the screen to clear so that the login prompt
 is at the top (and it gets rid of any old text that now gets left
 onscreen). I seem to recall on the Sparcs we used to use that there
 was a .$SHELL_logout file.
try this:
# cd /etc
# mv issue issue.old
# clear  issue
# cat issue.old  issue
# rm issue.old
 
 H, I just checked a RedHat machine here at work and see a
 .bash_logout file ;-) It's (2) lines, and the second line is clear.
 I think I can take care of # 2 myself !
read above, putting it in issue is a better solution (imho), this will
clear it _before_ displaying a login prompt, not after a logout
 
 Thanks in advance... more questions likely to come along soon !
that's the use of debian-user :)
-- 
,---.
 Name:   Alson van der Meulen  
 Personal:   [EMAIL PROTECTED]   
 School:   [EMAIL PROTECTED]
`---'
hey, what does mkfs do?
-



Re: New to Debian -- simple questions

2000-12-07 Thread Alson van der Meulen
On Thu, Dec 07, 2000 at 09:11:22AM -0600, Sam TH wrote:
 On Thu, Dec 07, 2000 at 09:41:59AM -0500, Hall Stevenson wrote:
  Okay, I recently switched to Debian after using RedHat and
  Mandrake-Linux for 2-3 years... Right off the bat, there are two
  things I'd like to change.
  
  1) Get rid of the login message that displays at the console after
  typing in my name and password. I read through /etc/login.defs and
  there was a reference to a file that I thought this message was coming
  from, but the file didn't exist.
 
 Change the file /etc/motd to whatever you want to see when you log
 in.  
don't forget to chattr +i it, or edit /etc/rcS.d/S55bootmisc.sh not
too update it at boot time
-- 
,---.
 Name:   Alson van der Meulen  
 Personal:   [EMAIL PROTECTED]   
 School:   [EMAIL PROTECTED]
`---'
don't do that, it'll crash the sys SHIT
-



Re: New to Debian -- simple questions

2000-12-07 Thread Jos Lemmerling
On Thu, 7 Dec 2000, Alson van der Meulen wrote:

 On Thu, Dec 07, 2000 at 09:11:22AM -0600, Sam TH wrote:
   1) Get rid of the login message that displays at the console after
   typing in my name and password. I read through /etc/login.defs and
   there was a reference to a file that I thought this message was coming
   from, but the file didn't exist.
  
  Change the file /etc/motd to whatever you want to see when you log
  in.  
 don't forget to chattr +i it, or edit /etc/rcS.d/S55bootmisc.sh not
 too update it at boot time
 -- 

You should modify the next entry in /etc/default/rcS

EDITMOTD=no

and then you could empty (or edit) your /etc/motd file.

HTH

Jos Lemmerling



Re: New to Debian -- simple questions

2000-12-07 Thread Chad '^chewie' Walstrom
On Thu, Dec 07, 2000 at 09:41:59AM -0500, Hall Stevenson wrote:
 Okay, I recently switched to Debian after using RedHat and
 Mandrake-Linux for 2-3 years... Right off the bat, there are two
 things I'd like to change.
 
 1) Get rid of the login message that displays at the console after
 typing in my name and password. I read through /etc/login.defs and
 there was a reference to a file that I thought this message was coming
 from, but the file didn't exist.

# Edit /etc/login.defs to enable HUSHLOGIN

# change to your home directory
bash$ cd

# create the 'hushlogin' file, which suppresses the motd
bash$ touch .hushlogin

Also, did you see this in your /etc/login.defs?

OBSOLETED BY PAM ##
#   #
# These options are now handled by PAM. Please  #
# edit the appropriate file in /etc/pam.d/ to   #
# enable the equivelants of them.
#
###

#MOTD_FILE

This means that you must go into /etc/pam.d and change the options for
'login'.

There is a PAM Administrators Guide that you can download.  

libpam-doc - Documentation of PAM

Good luck.

-- 
Chad ^chewie, gunnarr Walstrom [EMAIL PROTECTED]
 http://www.wookimus.net/


pgpUfF9EtTucM.pgp
Description: PGP signature


Re: simple questions

1999-02-05 Thread Mike Schmitz
On Aug 22, Robert S. Ross wrote
 I didn't get a satisfactory answer before, so I will try again. I know
 about LILO, it is on my boot diskette. How do I get it into the
 partition so my System Commander can call it?
 My Red Hat installation offers the option of booting from the partition,
 if I wish. How do I get Debian to do that?

It is the default

 Unix, or Linux, is new to me, so I have  learning curve to go through.
 Also0, how do I call Xwindows?
 
When it is installed it gives you the option to set it up. It also gives
you the option to use xdm so it starts at boot time. If you choose not to 
do this, you can use startx to begin it.

-- 
-
  Mike Schmitz [EMAIL PROTECTED]http://www.bend-or.com/~mschmitz   
  Don't blame me - I voted libertarian!http://www.lp.org/ 
  Use Debian Linux - the free Gnu/Linuxhttp://www.debian.org/ 
-


Re: A couple of simple questions... I think

1999-01-11 Thread Clyde Wilson


On Sat, 9 Jan 1999, Brant Wells wrote:

 Howdy All...
 
 1) I got Netscape 4.5 installed on my system... If I login as ROOT, I am 
 not able to run Netscape... What do I do??
 
It's for security reasons.  Log on as someone else!


A couple of simple questions... I think

1999-01-09 Thread Brant Wells
Howdy All...

1) I got Netscape 4.5 installed on my system... If I login as ROOT, I am 
not able to run Netscape... What do I do??

2) I've need to print to a printer that is shared on a WinNT 4.0 
machine... as \\DAHOUSE\HPDESKJE  how do I set that up in Linux?


Any help would be greatly appreciated.

Thanks,
Brant Wells

__
Get Your Private, Free Email at http://www.hotmail.com


Re: A couple of simple questions... I think

1999-01-09 Thread Hamish Moffatt
On Sat, Jan 09, 1999 at 12:56:20AM -0800, Brant Wells wrote:
 1) I got Netscape 4.5 installed on my system... If I login as ROOT, I am 
 not able to run Netscape... What do I do??

That's deliberate. You shouldn't need to.

 2) I've need to print to a printer that is shared on a WinNT 4.0 
 machine... as \\DAHOUSE\HPDESKJE  how do I set that up in Linux?

I've never done this, but it looks like you would want do something
like this. Create a shell script, say /usr/local/bin/print-hpdeskje
with the contents

#!/bin/sh
smbclient dahouse\\hpdeskje password -U username -P -c 'print -'

(username and password are for the NT server.)

Then in /etc/printcap, put something like

lp|deskjet:\
:lp=/dev/null:sd=/var/spool/lpd/deskjet:\
:sh:pw#80:pl#66:px#1440:mx#0:\
:if=/usr/local/bin/print-hpdeskje:\
:af=/var/log/lp-acct:lf=/var/log/lp-errs:

Thus when you print to the deskjet, lpd will filter it through
the script, which will run smbclient and dump it to the printer on SMB.
(You need to install the samba package for this). Then nothing is sent
to the printer because lp=/dev/null.


Hamish
-- 
Hamish Moffatt VK3TYD  [EMAIL PROTECTED], [EMAIL PROTECTED]
Latest Debian packages at ftp://ftp.rising.com.au/pub/hamish. PGP#EFA6B9D5
CCs of replies from mailing lists are welcome.   http://hamish.home.ml.org


Re: A couple of simple questions... I think

1999-01-09 Thread Chad A. Adlawan
cookies are sent to you as you browse thru diff websites and are saved in ur 
home directory

On 1/9/99, at 12:56 AM, Brant Wells wrote:

Howdy All...

1) I got Netscape 4.5 installed on my system... If I login as ROOT, I am
not able to run Netscape... What do I do??

cookies are sent to you as you browse thru diff websites and are saved in ur 
home directory, and you wouldnt want someone to send you .bash_profile w/ some 
crazy lines on it ... that is why netscape will not let you run it as root, (i 
think, just a theoy anyway) ... this is also the same reason it is a very bad 
idea to irc as root (while ur client is set to auto_dcc_get on) .


2) I've need to print to a printer that is shared on a WinNT 4.0
machine... as \\DAHOUSE\HPDESKJE  how do I set that up in Linux?

i know nothing about NT printing, sorry



Any help would be greatly appreciated.

Thanks,
Brant Wells


Re: A couple of simple questions... I think

1999-01-09 Thread Anthony Wong
On Sat, Jan 09, 1999 at 06:14:01PM +0800, Chad A. Adlawan wrote:
|1) I got Netscape 4.5 installed on my system... If I login as ROOT, I am 
|not able to run Netscape... What do I do??
|
|cookies are sent to you as you browse thru diff websites and are saved in ur 
home directory, and you wouldnt want someone to send you .bash_profile w/ some 
crazy lines on it ... that is why netscape will not let you run it as root, (i 
think, just a theoy anyway) ... this is also the same reason it is a very bad 
idea to irc as root (while ur client is set to auto_dcc_get on) .

I don't think this is the reason. Cookies are stored in ~/.netscape/cookies
only. And the server can't send you a .bash_profile as a cookie.

-- 
Rgds, [ E-mail: [EMAIL PROTECTED] / ICQ UIN: C30E6 ]
Anthony.  [ http://icqtrack.hk.st -- Track your ICQ friend ]


Re: A few (simple?) questions...

1999-01-08 Thread Mike Touloumtzis
On Thu, Jan 07, 1999 at 01:03:12PM -0500, David Kennedy wrote:
 Hi, I was able to get Debian installed and everything I need working but I
 have a few questions:
 
 1) How do you change the colours of xterm? Right now, when I click on it I
 get a black on white window. I can type xterm -bg black -fg white to get a
 new xterm window with the colours I want.
 

Changing the menu to insert the -bg and -fg switches is window manager
specific.  I use fvwm2, and created a ~/.fvwm2/main-menu-pre.hook with
this in it:


# Same as main-menu.hook, but entries are added at the
# very beginning of the menu.

# for example:
+ rxvt Exec rxvt -ls -sl 256 -bg linen -geometry 80x56
+ rxvt (big) Exec rxvt -ls -sl 256 -fn 10x20 -bg linen -geometry 80x56
+ rxvt (black) Exec rxvt -ls -sl 256 -bg black -fg white -geometry 80x56
+ rxvt (black, big) Exec rxvt -ls -sl 256 -fn 10x20 -bg black -fg white 
-geometry 80x56
+ Emacs Exec emacs -g 80x70
+ Emacs (I18N) Exec emacs -g 80x70 -fn fontset-standard

# and the following generates a horizontal line:
+  Nop


 2) What is dwww? I noticed in the menu directory where all the names of
 entries into the debian menu are that lots of choices aren't being displayed
 because they require 'dwww'.
 
 3) How do I set a screensaver to activate? The menu lists many but I don't
 know how to set them. Also, I downloaded the opengl(?) screensavers and I
 can run them but they aren't listed under the screensaver section.
 

http://www.debian.org/Lists-Archives/debian-user-9812/msg01163.html

miket


A few (simple?) questions...

1999-01-07 Thread David Kennedy
Hi, I was able to get Debian installed and everything I need working but I
have a few questions:

1) How do you change the colours of xterm? Right now, when I click on it I
get a black on white window. I can type xterm -bg black -fg white to get a
new xterm window with the colours I want.

2) What is dwww? I noticed in the menu directory where all the names of
entries into the debian menu are that lots of choices aren't being displayed
because they require 'dwww'.

3) How do I set a screensaver to activate? The menu lists many but I don't
know how to set them. Also, I downloaded the opengl(?) screensavers and I
can run them but they aren't listed under the screensaver section.

Thanks for the help, I'm really enjoying getting used to Debian and Linux.

David


Re: Two semi-simple questions...

1998-02-08 Thread Michael Beattie
 Adam Klein [EMAIL PROTECTED] writes:
 
  On Fri, Feb 06, 1998 at 11:24:12AM +1300, Michael Beattie wrote:
   Where is the setting which inhibits the addition of the equivalent of
   'uname -a' at the start of /etc/motd ?? I have found it before... now I
   cant.
  
  If you're using hamm, edit /etc/default/rcS and set EDITMOTD=no.
 
 In bo, it is in /etc/init.d/boot
 

Thanks Solved :)



   Michael Beattie ([EMAIL PROTECTED])

---
 WinErr: 001 Windows loaded - System in danger
---
Debian GNU/Linux  Ooohh You are missing out!


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Two semi-simple questions...

1998-02-06 Thread Adam Klein
On Fri, Feb 06, 1998 at 11:24:12AM +1300, Michael Beattie wrote:
 Where is the setting which inhibits the addition of the equivalent of
 'uname -a' at the start of /etc/motd ?? I have found it before... now I
 cant.

If you're using hamm, edit /etc/default/rcS and set EDITMOTD=no.

HTH,
Adam Klein


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Two semi-simple questions...

1998-02-06 Thread Martin Bialasinski
Adam Klein [EMAIL PROTECTED] writes:

 On Fri, Feb 06, 1998 at 11:24:12AM +1300, Michael Beattie wrote:
  Where is the setting which inhibits the addition of the equivalent of
  'uname -a' at the start of /etc/motd ?? I have found it before... now I
  cant.
 
 If you're using hamm, edit /etc/default/rcS and set EDITMOTD=no.

In bo, it is in /etc/init.d/boot

Ciao,
Martin


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Two semi-simple questions...

1998-02-05 Thread Michael Beattie
Hi,

Where is the setting which inhibits the addition of the equivalent of
'uname -a' at the start of /etc/motd ?? I have found it before... now I
cant.

Secondly, trying to start squake as a non-root user, Svgalib gives the error:
Cannot get I/O Permissions.  any ideas?? It only happens with squake.

Thanks to any help regarding my svgalib question a while back, I solved the
problem... got a new Video card. the old ET4000 is only good for some
things.. namely winbloat95 :)


   Michael Beattie ([EMAIL PROTECTED])

---
  WinErr: 00D Keyboard locked - Try anything you can think of.
---
Debian GNU/Linux  Ooohh You are missing out!


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Two semi-simple questions...

1998-02-05 Thread Ian Keith Setford
 
 Where is the setting which inhibits the addition of the equivalent of
 'uname -a' at the start of /etc/motd ?? I have found it before... now I
 cant.
Try /etc/issue.net and /etc/issue.

-Ian

_
.__.   ___  ___
|  |   .__. .__..__. .__. .__. \  \/  /
|  |   |  | |   \   |  | |  | |  |  \  \  /  /
|  |   |  | |  |\ \ |  | |  | |  |   \  \/  /
|  |__.|  | |  | \ \|  | |  |_|  |  /  /\  \
|__|__.|__| |__|  \| |___| /__/   \__\
* DEBIAN GNU/Linux *


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: simple questions

1997-11-30 Thread George Bonser


On Tue, 25 Nov 1997, me wrote:

 If you can get a copy of OS2 BootManager, it will take care of everything.
 I believe it is about the best out there. I have used it with
 Win95/FreeBSD, Win95/Linux(slackware), and now Win95/Debian.
 It works flawlessly. 

As does most of the rest of OS/2. It is a shame that Microsoft was allowed
to prevent the PC manufacturers from shipping it on their systems.  We
would then be dealing with OS/2 Server in the workplace rather than NT
Server and it (OS/2) integrates so much better with a tcp/ip network and
services.  It certainly is a damned shame. If you ever have the chance to
install it for a PC desktop workstation, give OS/2 a look. When Win95 came
out, I remember commenting that it looks like Microsoft copied the OS/2
desktop and then screwed it up with proprietary junk that people only use
because they hae no other choice.


George Bonser 
Debian/GNU Linux  See http://www.debian.org
Linux ... It isn't just for breakfast anymore!


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: simple questions

1997-11-27 Thread Neilen Marais
Hi



[my own whining snipped]

 Perhaps you should boot into W95/DOS and leave it to loadlin to boot
 Linux. That way you can safely leave your MBR in the hands of W95. 
Of 
 course you should always have a bootdisk ready, just in case W95 for
 some reason becomes unbootable. 
 
 - Sten Anderson

I will never do this.  It's a question of technical ethics.  You are
probably right that it is the best way, but I don't use either Win95
or
DOS often enough for it to be worth sacrificing my MBR to Win95.

Well, a very nifty way to do this if you are using dos 6+ is to simply
have one of your multiple boot options load loadlin automatically,
causing it to look like you istalled some nifty bootmanager like OS/2's
(which I used for quite a while)

Of course I solved the problem by only having linux on my machine g 
And BTW, what do you mean sacrifice MBR?  I don't use mine for much but
booting, and the loadlin route is a pretty good one for newbies
specially who might get lilo wrong...


--
E-Mail: Neilen Marais [EMAIL PROTECTED]
Date: 27-Nov-97
Time: 14:48:46

This message was sent by XFMail
--


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: simple questions

1997-11-26 Thread Britton

On Mon, 24 Nov 1997, Dana M. Epp wrote:

 Hi Clay.
 
 1) Yes, Debian can co-exist with Win95. Using something called LILO(
 Linux Loader ), it can become your boot manager, which will allow you
 boot multiple OS's.

In my experience this works, but not nicely.  You have to install Win95
first, and when it gets itselft all screwed up you can't reinstall it
without scrapping your master boot record again, which I'm sure is a real
pain if not a castrophe.  I've also found (though it probably should have
been obvious) that letting Win95 automagically reboot whill mess up your
MBR to where you have to go in with a rescue disk.  When it asks you if
you want to reboot after you add a driver or something, say no.  As for my
DOS partition, I have to go and run DOS fdisk to get to that, and I know
this could be done better, but perhaps not with Win95 on the same system.
Anyone got their setup working better?

 
 2) You can get plenty of packages for Debian for compiling other
 languages. Java, C, C++, Perl and shell scripting are just a few of the
 many exciting languages you can code under. And god forbid.. shucky
 darns.. no VB. ;-)
 
 Best thing you could do is buy a book on Linux and dive in. Running
 Linux by O'rieley and Associates seems to be a good start for many
 people, as it starts with the customization and installation of Linux
 right down to its use.
 
 Personally. I would suggest breaking down and going to www.lsl.com and
 buying the CD SuperPak, which contains 7 cds FULL of linux stuff. My
 fav.. is the Debain 1.31 Source CD, and Binary CD.. which made my first
 installs nice. It also includes RedHat, Slackware and a sunsite archive
 3 cd set. And hey.. its like 10 bucks. Good luck.
 
 Clayton Berry wrote:
  
  Howdy.  I'm new to linux/gnu and have a couple questions I haven't been
  able to find answers to.
  
  1) Can Debian co-exist with my windows95 environment?
  2) Does Debian come with compilers for languages other than Xwindows.
  (i.e. c, c++, java, and such?)
  
  I realize these are probably simple questions, but I got tired of
  surfing pages to find the answers.
  
  Thanks a lot!
  Clayton Berry
  
  --
  TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
  [EMAIL PROTECTED] .
  Trouble?  e-mail to [EMAIL PROTECTED] .
 
 -- 
 Dana M. Epp
 [EMAIL PROTECTED]
 
 
 --
 TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
 [EMAIL PROTECTED] . 
 Trouble?  e-mail to [EMAIL PROTECTED] .
 
 


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: simple questions

1997-11-26 Thread Christopher Jason Morrone
On Tue, 25 Nov 1997, Britton wrote:

 
 On Mon, 24 Nov 1997, Dana M. Epp wrote:
 In my experience this works, but not nicely.  You have to install Win95
 first, and when it gets itselft all screwed up you can't reinstall it
 without scrapping your master boot record again, which I'm sure is a real
 pain if not a castrophe.  I've also found (though it probably should have
 been obvious) that letting Win95 automagically reboot whill mess up your
 MBR to where you have to go in with a rescue disk.  When it asks you if

Can you be more specific about your trouble with rebooting Win95?  I do it
all the time and never have a problem.  LILO works quite well.


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: simple questions

1997-11-26 Thread Britton

On Tue, 25 Nov 1997, Christopher Jason Morrone wrote:

 On Tue, 25 Nov 1997, Britton wrote:
 
  On Mon, 24 Nov 1997, Dana M. Epp wrote:
  In my experience this works, but not nicely.  You have to install Win95
  first, and when it gets itselft all screwed up you can't reinstall it
  without scrapping your master boot record again, which I'm sure is a real
  pain if not a castrophe.  I've also found (though it probably should have
  been obvious) that letting Win95 automagically reboot whill mess up your
  MBR to where you have to go in with a rescue disk.  When it asks you if
 
 Can you be more specific about your trouble with rebooting Win95?  I do it
 all the time and never have a problem.  LILO works quite well.

The problem is not with LILO but with Win95.  Exactly what the trouble is
I'm not sure, but if I allow Win95 to try to boot itself it will lock up,
if I remember right with a message saying it can't locate somehting and a
prompt like this:

C

with what purpose I can't remember.  I have my linux partition designated
as the active one (via linux fdisk).  I don't remember if I ever get
prompted by LILO on those Win95 reboots or not, it's been ages since I had
to boot Win95, and I think I will reclaim the 800 megs it's taking on my
disk as soon as I figure out how to conveniently make use of a second
partition of that size.


Britton


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: simple questions

1997-11-26 Thread Sten Anderson
Britton [EMAIL PROTECTED] writes:

 On Mon, 24 Nov 1997, Dana M. Epp wrote:
 
  Hi Clay.
  
  1) Yes, Debian can co-exist with Win95. Using something called LILO(
  Linux Loader ), it can become your boot manager, which will allow you
  boot multiple OS's.
 
 In my experience this works, but not nicely.  You have to install Win95
 first, and when it gets itselft all screwed up you can't reinstall it
 without scrapping your master boot record again, which I'm sure is a real
 pain if not a castrophe.  I've also found (though it probably should have
 been obvious) that letting Win95 automagically reboot whill mess up your
 MBR to where you have to go in with a rescue disk.  When it asks you if
 you want to reboot after you add a driver or something, say no.  As for my
 DOS partition, I have to go and run DOS fdisk to get to that, and I know
 this could be done better, but perhaps not with Win95 on the same system.
 Anyone got their setup working better?
 
Perhaps you should boot into W95/DOS and leave it to loadlin to boot
Linux. That way you can safely leave your MBR in the hands of W95.  Of 
course you should always have a bootdisk ready, just in case W95 for
some reason becomes unbootable. 

- Sten Anderson


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: simple questions

1997-11-26 Thread Britton
 
On 26 Nov 1997, Sten Anderson wrote:
 Britton [EMAIL PROTECTED] writes:
  On Mon, 24 Nov 1997, Dana M. Epp wrote:
   Hi Clay.
   1) Yes, Debian can co-exist with Win95. Using something called LILO(
   Linux Loader ), it can become your boot manager, which will allow you
   boot multiple OS's.

[my own whining snipped]

 Perhaps you should boot into W95/DOS and leave it to loadlin to boot
 Linux. That way you can safely leave your MBR in the hands of W95.  Of 
 course you should always have a bootdisk ready, just in case W95 for
 some reason becomes unbootable. 
 
 - Sten Anderson

I will never do this.  It's a question of technical ethics.  You are
probably right that it is the best way, but I don't use either Win95 or
DOS often enough for it to be worth sacrificing my MBR to Win95.


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: simple questions

1997-11-26 Thread Larry G. Gariepy Jr.
--- You wrote:
 Hi Clay.
 
 1) Yes, Debian can co-exist with Win95. Using something called LILO(
 Linux Loader ), it can become your boot manager, which will allow you
 boot multiple OS's.

In my experience this works, but not nicely.  You have to install Win95
first, and when it gets itselft all screwed up you can't reinstall it
without scrapping your master boot record again, which I'm sure is a real
pain if not a castrophe.  I've also found (though it probably should have
been obvious) that letting Win95 automagically reboot whill mess up your
MBR to where you have to go in with a rescue disk.  When it asks you if
you want to reboot after you add a driver or something, say no.  As for my
DOS partition, I have to go and run DOS fdisk to get to that, and I know
this could be done better, but perhaps not with Win95 on the same system.
Anyone got their setup working better?

--- end of quote ---

I contribute so little in the form of advice to this list, that I figured I'd
jump in here,
it might be my only chance for awhile!!

I have a Debian/Win95 machine, and it works beautifully.  Win95 may try to
cause problems, but LILO can sure keep it in its place.  I'm constantly
rebooting my machine right now because I am still working on setting up my
system to dial in
under Linux.  Right now, I can only dial in under Windows, which, for all its
faults, was easier to get working (though it won't let my 56kbps modem connect
faster than 9600bps, but that is another story).

I can send you my lilo.conf file if you are interested.  I have never had a
problem letting windows or linux reboot the machine (Probably 50+ reboots, just
so you know it is a large enough sample size).

Larry Gariepy
[EMAIL PROTECTED]


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: simple questions

1997-11-26 Thread me
If you can get a copy of OS2 BootManager, it will take care of everything.
I believe it is about the best out there. I have used it with
Win95/FreeBSD, Win95/Linux(slackware), and now Win95/Debian.
It works flawlessly. 
Now if all I had was Linux and OS/2 on my pc, life would be great! Alas,
my wife likes 95, and until I can totally conquer Linux (I got the Debian
CD from the mag, BOOT), I am forced to live with it. Of course, if all
fails, I still have my Amiga3000, but thats a different subject!
Also, thanks to all in helping me get things going with Debian.
Mike


---

Operating System(s) of CHOICE:  Debian (Linux) and OS2Warp3

me ISAT corecom.net
http://www.corecom.net/endsley/

---


On Tue, 25 Nov 1997, Britton wrote:

  
 On 26 Nov 1997, Sten Anderson wrote:
  Britton [EMAIL PROTECTED] writes:
   On Mon, 24 Nov 1997, Dana M. Epp wrote:
Hi Clay.
1) Yes, Debian can co-exist with Win95. Using something called LILO(
Linux Loader ), it can become your boot manager, which will allow you
boot multiple OS's.
 
 [my own whining snipped]
 
  Perhaps you should boot into W95/DOS and leave it to loadlin to boot
  Linux. That way you can safely leave your MBR in the hands of W95.  Of 
  course you should always have a bootdisk ready, just in case W95 for
  some reason becomes unbootable. 
  
  - Sten Anderson
 
 I will never do this.  It's a question of technical ethics.  You are
 probably right that it is the best way, but I don't use either Win95 or
 DOS often enough for it to be worth sacrificing my MBR to Win95.
 
 
 --
 TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
 [EMAIL PROTECTED] . 
 Trouble?  e-mail to [EMAIL PROTECTED] .
 
 
 


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: simple questions

1997-11-26 Thread me
If you check my sig, you will see that I have Warp3. I love it! I have had
it for about 2 years.
I also am subscribed to a online book for OS2, that is updated by one of
the developers of OS2. He was a developer when IBM and M$ were working
together. He plainly states that M$ NT is based on OS/2 V2! I can get the
url (his statement is in a article--online magazine) if anybody is
interested. His name is David Broth and his web site is
Millenium-Technologies (sp).
BTW, I have OS/2 Warp3 with #32 fixpak. I am just interested in learning
and knowing Un*x.
Mike


---

Operating System(s) of CHOICE:  Debian (Linux) and OS2Warp3

me ISAT corecom.net
http://www.corecom.net/endsley/

---


On Tue, 25 Nov 1997, George Bonser wrote:

 
 
 On Tue, 25 Nov 1997, me wrote:
 
  If you can get a copy of OS2 BootManager, it will take care of everything.
  I believe it is about the best out there. I have used it with
  Win95/FreeBSD, Win95/Linux(slackware), and now Win95/Debian.
  It works flawlessly. 
 
 As does most of the rest of OS/2. It is a shame that Microsoft was allowed
 to prevent the PC manufacturers from shipping it on their systems.  We
 would then be dealing with OS/2 Server in the workplace rather than NT
 Server and it (OS/2) integrates so much better with a tcp/ip network and
 services.  It certainly is a damned shame. If you ever have the chance to
 install it for a PC desktop workstation, give OS/2 a look. When Win95 came
 out, I remember commenting that it looks like Microsoft copied the OS/2
 desktop and then screwed it up with proprietary junk that people only use
 because they hae no other choice.
 
 
 George Bonser 
 Debian/GNU Linux  See http://www.debian.org
 Linux ... It isn't just for breakfast anymore!
 
 
 --
 TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
 [EMAIL PROTECTED] . 
 Trouble?  e-mail to [EMAIL PROTECTED] .
 
 
 


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: simple questions

1997-11-26 Thread Kevin Traas
If you check my sig, you will see that I have Warp3. I love it! I have had
it for about 2 years.


I guess you find it a little disappointing that IBM has decided to dump OS/2
now, huh?  No more development team - they've all gone over to Java
development

Oh well, you've picked the *best* OS to replace it with!  Long live Linux!

Regards,
Kevin Traas


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: simple questions

1997-11-26 Thread Gertjan Klein
Britton [EMAIL PROTECTED] wrote:

  In my experience this works, but not nicely.  You have to install Win95
  first, and when it gets itselft all screwed up you can't reinstall it
  without scrapping your master boot record again, which I'm sure is a real
  pain if not a castrophe.

  Although the W95 installation code overwrites the MBR without asking
or even telling you, it does not alter the partition table.  Simply
reinstalling the MBR fixes the problem - a pain, yes, but hardly a
catastrophe.

  I've also found (though it probably should have
  been obvious) that letting Win95 automagically reboot whill mess up your
  MBR to where you have to go in with a rescue disk.

  I have not had this experience.  When W95 reboots, it does nothing to
the MBR here.

  As for my
  DOS partition, I have to go and run DOS fdisk to get to that, and I know
  this could be done better, but perhaps not with Win95 on the same system.
  Anyone got their setup working better?

  If you have different partitions for W95 and DOS, the problem you run
in to is that both require the active flag in the MBR set to the
partition they booted from.  This requires rewriting the MBR at boot
time.  My version of LILO (19) can't do this, because the code turned
out to be buggy and was disabled.  Perhaps later versions (are there
already?) can - look for the REWRITE-TABLE option.  Alternatively, you
could try my Boot Control (see sig).  Although the installation program
is an MS-DOS executable, it installs an MBR that doesn't depend on any
particular OS, and (unlike LILO) doesn't use any other disk space. It
allows you to boot the primary partitions and rewrites itself to disk.

  Gertjan.

-- 
Gertjan Klein [EMAIL PROTECTED]
The Boot Control home page: http://www.xs4all.nl/~gklein/bcpage.html


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


simple questions

1997-11-25 Thread Clayton Berry
Howdy.  I'm new to linux/gnu and have a couple questions I haven't been
able to find answers to.

1) Can Debian co-exist with my windows95 environment?
2) Does Debian come with compilers for languages other than Xwindows.
(i.e. c, c++, java, and such?)

I realize these are probably simple questions, but I got tired of
surfing pages to find the answers. 

Thanks a lot!
Clayton Berry


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: simple questions

1997-11-25 Thread Dana M. Epp
Hi Clay.

1) Yes, Debian can co-exist with Win95. Using something called LILO(
Linux Loader ), it can become your boot manager, which will allow you
boot multiple OS's.

2) You can get plenty of packages for Debian for compiling other
languages. Java, C, C++, Perl and shell scripting are just a few of the
many exciting languages you can code under. And god forbid.. shucky
darns.. no VB. ;-)

Best thing you could do is buy a book on Linux and dive in. Running
Linux by O'rieley and Associates seems to be a good start for many
people, as it starts with the customization and installation of Linux
right down to its use.

Personally. I would suggest breaking down and going to www.lsl.com and
buying the CD SuperPak, which contains 7 cds FULL of linux stuff. My
fav.. is the Debain 1.31 Source CD, and Binary CD.. which made my first
installs nice. It also includes RedHat, Slackware and a sunsite archive
3 cd set. And hey.. its like 10 bucks. Good luck.

Clayton Berry wrote:
 
 Howdy.  I'm new to linux/gnu and have a couple questions I haven't been
 able to find answers to.
 
 1) Can Debian co-exist with my windows95 environment?
 2) Does Debian come with compilers for languages other than Xwindows.
 (i.e. c, c++, java, and such?)
 
 I realize these are probably simple questions, but I got tired of
 surfing pages to find the answers.
 
 Thanks a lot!
 Clayton Berry
 
 --
 TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
 [EMAIL PROTECTED] .
 Trouble?  e-mail to [EMAIL PROTECTED] .

-- 
Dana M. Epp
[EMAIL PROTECTED]


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: simple questions

1997-11-25 Thread Daniel Martin
On Mon, 24 Nov 1997, Clayton Berry wrote:
 1) Can Debian co-exist with my windows95 environment?
As already mentioned, yes it can; you can either set up linux to load via
lilo (a boot manager designed for loading linux, but perfectly capable of
loading Win95 as well, so that you choose at startup), or you can use
LOADLIN, which is a way of loading linux from Dos (or from Win95
rebooted into Dos mode).

 2) Does Debian come with compilers for languages other than Xwindows. 
 (i.e. c, c++, java, and such?)

First off, Xwindows is not a programming language, any more than Windows95
is a programming language.  (That is, from the programming point of view,
Xwindows is a large API, but this is different from the language per se) 
Most Xwindows programs are written in C or C++, and Debian (as do all
Linux distributions I know of) comes with an excellent C compiler (gcc) 
and a C++ compiler that is not as great, but getting there (g++).  I can't
speak for the Java tools that come directly with Debian, (kaffe and
guavac) but the Debian package of jdk1.1 (which can be ftp'ed from the
non-free part of hamm on ftp.debian.org) works just fine for what I've
been doing with it on my machine.  (little math-teaching applets) 

And let's not limit ourselves to common languages - on my Debian CD, I
find interpreters for Perl, awk, sed, Emacs Lisp, forth, scheme, intercal,
python, icon, logo, tcl, and even BASIC.  I find compilers for pascal,
scheme, fortran77, Ada, Common Lisp, icon, and mercury (or is this one an
interpreter - can't tell from the description).  Then there are a handful
of assemblers, and loads of debugging/development tools (most admittedly
geared at C/C++, but I think gdb handles pascal and Ada debugging as
well).  I'm reasonably certain that there are more compilers/interpreters
on the CD that I just missed; I know that there are more available via
ftp. 

It's a wonderful environment for programming, especially for one looking
to get a start in C - C and unix machines in general work together very
naturally.

DANIEL MARTIN

p.s.  I am tempted to now go and see how many of these languages I can
write hello, world! in...


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: simple questions

1997-08-23 Thread stick
Howdy!

Let's tackle the LILO question first.  After we get your system booting the
way you want, then we can deal with X.
 
 I didn't get a satisfactory answer before, so I will try again. I know
 about LILO, it is on my boot diskette. How do I get it into the
 partition so my System Commander can call it?

There are a couple of scenarios for using LILO to boot your system.
1:  It can be on your boot disk's MBR (Master Boot Record) - this
disk is often your first IDE drive.

2:  It can be on a primary partition on your first drive - usually
it's on the partition that Linux is going to use as root (/).

When LILO is on your MBR, it receives control of the boot sequence from the
BIOS.  LILO provides a primitive menu that would then allow you to select
which OS you want to boot.  When DOS/Windows is selected it passes them
control and they boot normally.  The down side to this is that Windows 95
wants to control the MBR and will wipe that area out every time it's installed.
Also, from the sound of your post, you have a boot manager, so it too would
be out of the boot sequence.

This leaves installing LILO on a primary partition on your first drive.
/etc/lilo.conf is the file that controls how LILO behaves.  This file
will (or should) have two lines of interest:
boot = /dev/hda?
root = /dev/hda?
Where ? is the partition number being used for Linux.  If DOS/Windows 95
are installed on the first partition (which is usual) you might want to
set it up so that /dev/hda2 is both the boot and root device.

Once this is done you run LILO by typing lilo at the command-line prompt.
This will do what's needed for LILO to boot your system into Linux *if*
/dev/hda2 is marked as the active partition in the partition table.  To
boot to DOS/Windows 95 the first partition on that device would need to
be made the active partition.

How does this integrate with your partition manager?  I don't know - I
only use Linux.  I would assume that current partition managers either
control the MBR or setup their own tiny DOS partition that must be made
the active partition.  Either way they are going to need to know which
partitions have which OS installed on them.  Once that's done they will
hand-off to the OS of choice or boot the default OS upon timeout.  At 
least that's how I'd do it if I were writing a boot manager. YMMV.

 My Red Hat installation offers the option of booting from the partition,
 if I wish. How do I get Debian to do that?
There is an option on Debian's install screen for installing LILO on
your hard drive.  I don't remember the exact wording, but it's after installing
the base files.

 Unix, or Linux, is new to me, so I have  learning curve to go through.
 Also0, how do I call Xwindows?
 
E-mail the list once you have LILO configured the way you want.  Then we can
all tackle the X questions.

Chuck

PS  I think someone on the list recently mentioned using loadlin as an
option to LILO.  Doing so allows you to boot Linux from a running
DOS system without messing with the MBR and partition tables.  It
may be something to think about.  Fortunately, with Linux there are
always options...

-- 
Chuck Stickelman, Owner E-Mail: [EMAIL PROTECTED]
Practical Network DesignVoice:  (419) 529-3841
9 Chambers Road FAX:(419) 529-3625
Mansfield, OH 44906-1302 USA


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: simple questions

1997-08-23 Thread Jim Pick

 I didn't get a satisfactory answer before, so I will try again. 

Probably due to the fact that some inconsiderate individuals are
using debian-user as a batteground for a flamewar.  :-(

I know
 about LILO, it is on my boot diskette. How do I get it into the
 partition so my System Commander can call it?
 My Red Hat installation offers the option of booting from the partition,
 if I wish. How do I get Debian to do that?

If I understand what you are trying to do correctly, you want to set
up lilo on a partition, instead of on the Master Boot Record of a disk.

Just change /etc/lilo.conf to read:

boot=/dev/hda2# or whichever disk/partition you want it on

Conversely, if you actually did want lilo on your MBR, then you use this:

boot=/dev/hda # notice that there is no partition number

 Unix, or Linux, is new to me, so I have  learning curve to go through.
 Also0, how do I call Xwindows?

Just use dselect to install the proper packages.  I haven't done it
for a while, but I think you want to pick: 

xserver-vga16 (+ it's dependencies) - this package contains the
  XF86Setup program which will guide you through setting
  up your video card
xserver-???   (pick one that matches you card, or if you are in doubt,
   don't pick anything and read the documentation in
   /usr/doc/X11)

You probably also want to pick a window manager like fvwm2, fvwm95 or
afterstep (I use fvwm2).  There are lots of other packages that you
might also want, such as xcontrib.

Cheers,

 - Jim



 






pgp4xvwXdislI.pgp
Description: PGP signature


simple questions

1997-08-22 Thread Robert S. Ross
I didn't get a satisfactory answer before, so I will try again. I know
about LILO, it is on my boot diskette. How do I get it into the
partition so my System Commander can call it?
My Red Hat installation offers the option of booting from the partition,
if I wish. How do I get Debian to do that?
Unix, or Linux, is new to me, so I have  learning curve to go through.
Also0, how do I call Xwindows?


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: simple questions

1997-08-22 Thread Mike Schmitz
On Aug 22, Robert S. Ross wrote
 I didn't get a satisfactory answer before, so I will try again. I know
 about LILO, it is on my boot diskette. How do I get it into the
 partition so my System Commander can call it?
 My Red Hat installation offers the option of booting from the partition,
 if I wish. How do I get Debian to do that?

It is the default

 Unix, or Linux, is new to me, so I have  learning curve to go through.
 Also0, how do I call Xwindows?
 
When it is installed it gives you the option to set it up. It also gives
you the option to use xdm so it starts at boot time. If you choose not to 
do this, you can use startx to begin it.

-- 
-
  Mike Schmitz [EMAIL PROTECTED]http://www.bend-or.com/~mschmitz   
  Don't blame me - I voted libertarian!http://www.lp.org/ 
  Use Debian Linux - the free Gnu/Linuxhttp://www.debian.org/ 
-


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .