Linux-Misc Digest #863, Volume #23 Thu, 16 Mar 00 11:13:04 EST
Contents:
Re: Whats best way to set up dial-in to the linux box ppp? (Steve)
Re: Do I need a FQDN to set up a mail server at home? (Steve)
Re: How to make mounted floppy user writeable? (Steve)
Re: problem with mounting cdrom drive (Stefan Krause)
Re: determine processor speed (Thomas Hommel)
Re: SHELLS (Bruce Schultz)
PAM and syslog ("Martin Beier")
Re: urgent: /dev/st0 readonly !! (peter pilsl)
ICMP, IPChains and logging (Paul Kincaid)
problem with mounting cdrom drive (Stefan Krause)
Re: determine processor speed (Ben Donnelly)
Linux emulation on WinNT? (sachin velankar)
tar-verify on tapes (peter pilsl)
Re: What are frame errors? (Frederic Woodbridge)
Bash Or Bash2 ?? (mike)
date or ps bug ("Henrique Pantarotto")
Re: Linux emulation on WinNT? (Gerald Willmann)
With ppp-howto, serial howto, I still can't connect 2 pc with direct cable.Why?
([EMAIL PROTECTED])
Best GUI SAMBA configuring software?
Opinion on Windows emulators?
Re: Linux emulation on WinNT? (Mircea)
Re: Best GUI SAMBA configuring software? (Scott Bishop)
opening other apps after kppp connects ([EMAIL PROTECTED])
Re: unix commands (Andreas Kahari)
Re: Which RDBMS would you choose? ("Dennis Edward")
----------------------------------------------------------------------------
From: [EMAIL PROTECTED] (Steve)
Subject: Re: Whats best way to set up dial-in to the linux box ppp?
Reply-To: [EMAIL PROTECTED]
Date: 16 Mar 2000 12:21:48 GMT
On Thu, 16 Mar 2000 18:23:53 +1000, Robert Chalmers wrote:
>What is the best way to set up easy, no fuss dial in to the Linux box, ppp?
>
Edit /etc/inittab, find the following lines:
4:2345:respawn:/sbin/mingetty tty4
5:2345:respawn:/sbin/mingetty tty5
6:2345:respawn:/sbin/mingetty tty6
Now at the end of this list add:
7:2345:respawn:/sbin/mgetty modem
Then to get linux to reread the file and act on it do:
# /sbin/telinit q
And it may be worth doing a:
# killall -HUP inetd
This allows a user to dial in and use their shell account, ie command
line access to the system. I've done this and dialed in, and can
read my news and do anything else that you can do from a command line.
I've never bothered changing IP addresses or anything like that to
get this type of access to the machine, but you will need to get
the IP stuff right if you want to FTP accross the link.
I've never used X over the dial in link, there is a mini HOWTO
called 'Remote-X-Apps' on my distro in the directory
/usr/doc/HOWTO/mini/
Hope this helps.
--
Cheers
Steve email mailto:[EMAIL PROTECTED]
%HAV-A-NICEDAY Error not enough coffee 0 pps.
web http://www.ndirect.co.uk/~sjlen/
or http://start.at/zero-pps
10:51am up 1 day, 8:17, 3 users, load average: 1.30, 1.18, 1.13
------------------------------
From: [EMAIL PROTECTED] (Steve)
Subject: Re: Do I need a FQDN to set up a mail server at home?
Reply-To: [EMAIL PROTECTED]
Date: 16 Mar 2000 12:21:49 GMT
On Wed, 15 Mar 2000 22:24:58 -0800, A Favored Son wrote:
>or can I just call my box 64.184.XXX.XX (my ip number)
>
>will that work?
>Or do I need a fully qualified domain name to set up a mailserver?
>i.e.: torgo.redhat.com
>
>any advice appreciated.
Presumably if your server doesn't have an entry in the DNS of the
remote machine you won't be able to access it by name, so I think
you need to make it official, but you should be ok if you don't
mind using just the IP address.
--
Cheers
Steve email mailto:[EMAIL PROTECTED]
%HAV-A-NICEDAY Error not enough coffee 0 pps.
web http://www.ndirect.co.uk/~sjlen/
or http://start.at/zero-pps
10:51am up 1 day, 8:17, 3 users, load average: 1.30, 1.18, 1.13
------------------------------
From: [EMAIL PROTECTED] (Steve)
Subject: Re: How to make mounted floppy user writeable?
Reply-To: [EMAIL PROTECTED]
Date: 16 Mar 2000 12:21:50 GMT
On Wed, 15 Mar 2000 19:26:24 -0800, Christopher R. Carlen wrote:
>I have an ext2 floppy. I have the permissions on /floppy:
>
>drwxr-xr-x 2 root users 1024 Jan 5 12:57 floppy
>
>And this line in /etc/fstab:
>
>/dev/fd0 /floppy auto noauto,user 0 0
>
>So, I have no trouble to mount the floppy as a user. However, the
>permissions forbid me to write to it.
>I tried changing the /floppy permissions to 775 and group users, but it
>changes back to 755 root root after I mount it.
>
>I can't specify a umask mount option in fstab for ext2, like I can for
>ntfs, which fixed the same problem with that.
>
>What should I do to make it writeable by the user who mounted it, but
>not make any security blunders?
>
Reading man mount it looks asthough you could make the following
addition to your line
/dev/fd0 /floppy auto noauto,user,rw 0 0
I havn't tried this but it should work.
--
Cheers
Steve email mailto:[EMAIL PROTECTED]
%HAV-A-NICEDAY Error not enough coffee 0 pps.
web http://www.ndirect.co.uk/~sjlen/
or http://start.at/zero-pps
10:51am up 1 day, 8:17, 3 users, load average: 1.30, 1.18, 1.13
------------------------------
From: Stefan Krause <[EMAIL PROTECTED]>
Subject: Re: problem with mounting cdrom drive
Date: Thu, 16 Mar 2000 13:35:42 +0100
Hello Jason,
the /etc/fstab won�t help you very much because we use the automounter
system. There in the /etc/auto.master is an entry, which mounts the
cdrom like the command mount -t iso9660 /dev/cdrom /cdrom would do.
/dev/cdrom is a link of the special device /dev/sr0 hopefully to the
PANASONIC SCSI CDROM drive (sorry that I do not know exactly the CDROM
specification of my friend�s computer, but I think the most important
fact is that he uses a SCSI controller). According to the error messages
we suggested that our problem is more related to the kernel because it
doesn�t recognize the block special device as a block special device and
asked something about an �insmod driver�.
Ciao Stefan
Jason Byrne wrote:
>
> it would be helpful to see your /etc/fstab... and what you tried
> (command)... that didn't work... what type of cdrom you have, etc...
>
> root <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]...
> Hello,
> When mounting my CDROM I get the following error messages: mount: the
> kernel does not recognize /dev/cdrom as a block device (maybe �insmod
> driver�?).
> Does anyone know what this means?
>
> cheers Stefan
------------------------------
From: Thomas Hommel <[EMAIL PROTECTED]>
Subject: Re: determine processor speed
Date: Thu, 16 Mar 2000 13:38:07 +0100
Type "cat /proc/cpuinfo".
Tom
Dave Thompson schrieb:
>
> you should also be able to see the boot time messages in
> /var/log/messages
>
> Dave Thompson
>
> Ben Donnelly wrote:
>
> > Does anyone know a way to determine processor speed of a box
> > from within linux. You can reboot and look at the bios
> > messages, but re-booting is so distastfull...
> >
> > Bendy
> > --
> > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> > Benjamin Donnelly <<>> UNC-CH Med School
> > Computer Consultant <<>> (919) 966-1325
> > [EMAIL PROTECTED] <<>> fax: (919) 966-6923
> > vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
------------------------------
Subject: Re: SHELLS
From: Bruce Schultz <[EMAIL PROTECTED]>
Date: 15 Mar 2000 10:15:03 -0600
[EMAIL PROTECTED] (Paul Kimoto) writes:
> In article <[EMAIL PROTECTED]>, Bastian wrote:
> > Edit your /etc/passwd file
>
> ... using the "vipw" command, or use the "chsh" command.
> These will help in keeping you from having a messed-up
> /etc/passwd, which could seriously harm your system.
Absolutely.
Besides, editing /etc/passwd isn't an option for users who don't have
root access privileges. chsh can be executed by any user to change
his or her shell.
--
Bruce Schultz
[EMAIL PROTECTED]
------------------------------
From: "Martin Beier" <[EMAIL PROTECTED]>
Subject: PAM and syslog
Date: Thu, 16 Mar 2000 13:59:54 +0100
Hi folks!
I'm using SuSE 6.2 and have any login, su, ... session logged
in /var/log/messages! This looks somewhat like this:
Mar 16 14:03:12 LIHB-201 in.rshd[9407]: pam_unix session started for user
maddel, service rsh
I can only avoid this by placing
user.emerg /var/log/messages
in /etc/syslog.conf, but this filters messages I want to be logged
in that file (i.e. logger "test" is not logged any more!!!) I want the user
facility logged
with info priority, so is there any way to prevent PAM from writing messages
to syslog??
Thanks for any help in advance...
[EMAIL PROTECTED]
------------------------------
From: [EMAIL PROTECTED] (peter pilsl)
Subject: Re: urgent: /dev/st0 readonly !!
Date: Thu, 16 Mar 2000 13:23:56 GMT
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] told us...
solved !!
the mechanical write-protection-slider on the front of the
tapes is a very clever construct. even when you set it on
writeable it may slide to lock when you dont insert the
media very careful !!
it appears that there is also some state in between, cause
the friday- and saturday- and sundaybackup are written on
the same tape, cause there is noone to change it on the
weekend and last week the fridaybackup was ok and the
following where not !
peter
--
pilsl@
goldfisch.atat.at
------------------------------
From: Paul Kincaid <[EMAIL PROTECTED]>
Subject: ICMP, IPChains and logging
Date: Thu, 16 Mar 2000 13:30:02 GMT
I've got an IPChains rule to reject all ICMP Echo Requests at my firewall,
but was curious as to the output in syslog. Anyone have any ideas what all
of it means and also, where is a good resource to find interpretations of
syslog/kernel messages.
Mar 15 17:14:49 <machinename> kernel: Packet log: input REJECT eth0 PROTO=1
<source-IP>:8 <destination-IP>:0 L=68 S=0x00 I=0 F=0x0000 T=113
Thanks,
Paul Kincaid
--
Posted via CNET Help.com
http://www.help.com/
------------------------------
From: Stefan Krause <[EMAIL PROTECTED]>
Subject: problem with mounting cdrom drive
Date: Thu, 16 Mar 2000 14:40:10 +0100
Hello Jason,
the /etc/fstab won=B4t help you very much because we use the automounter
system. There in the /etc/auto.master is an entry, which mounts the
cdrom like the command mount -t iso9660 /dev/cdrom /cdrom would do.
/dev/cdrom is a link of the special device /dev/sr0 hopefully to the
PANASONIC SCSI CDROM drive (sorry that I do not know exactly the CDROM
specification of my friend=B4s computer, but I think the most important
fact is that he uses a SCSI controller). According to the error messages
we suggested that our problem is more related to the kernel because it
doesn=B4t recognize the block special device as a block special device an=
d
asked something about an =B4insmod driver=B4.
Ciao Stefan =
Jason Byrne wrote:
> =
> it would be helpful to see your /etc/fstab... and what you tried
> (command)... that didn't work... what type of cdrom you have, etc...
> =
> root <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]=
et...
> Hello,
> When mounting my CDROM I get the following error messages: mount: the
> kernel does not recognize /dev/cdrom as a block device (maybe =B4insmod=
> driver=B4?).
> Does anyone know what this means?
> =
> cheers Stefan
------------------------------
From: Ben Donnelly <[EMAIL PROTECTED]>
Subject: Re: determine processor speed
Date: Thu, 16 Mar 2000 08:09:31 -0500
Thanks, that worked.
"James D. McIninch" wrote:
>
> Look at the value in /proc/cpuinfo
>
> Ben Donnelly wrote:
> >
> > Does anyone know a way to determine processor speed of a box
> > from within linux. You can reboot and look at the bios
> > messages, but re-booting is so distastfull...
> >
> > Bendy
Ben Donnelly wrote:
>
> Does anyone know a way to determine processor speed of a box
> from within linux. You can reboot and look at the bios
> messages, but re-booting is so distastfull...
>
> Bendy
> --
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> Benjamin Donnelly <<>> UNC-CH Med School
> Computer Consultant <<>> (919) 966-1325
> [EMAIL PROTECTED] <<>> fax: (919) 966-6923
> vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
--
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Benjamin Donnelly <<>> UNC-CH Med School
Computer Consultant <<>> (919) 966-1325
[EMAIL PROTECTED] <<>> fax: (919) 966-6923
vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
------------------------------
From: sachin velankar <[EMAIL PROTECTED]>
Subject: Linux emulation on WinNT?
Date: Thu, 16 Mar 2000 15:43:05 +0100
Hello,
I use some data acquisition software that comes only with WinNT
machines. For data processing though, Unix would be much superior.
Clearly, I cannot replace WinNT on that computer altogether. Thus, my
question is
Is there anything that works as a Unix emulator on WinNT machines?
Thanks!
Sachin
------------------------------
From: [EMAIL PROTECTED] (peter pilsl)
Subject: tar-verify on tapes
Date: Thu, 16 Mar 2000 14:38:41 GMT
using tar xvpf /dev/st0 /myfiles works like a charme, but
tar xvpWf /dev/st0 /myfiles brings up a lot of input-
output-error and breakes the operation.
the point is: when not verifying I can write and reread the
whole archiv, so the problem ist not a defect tape or
something like this !!
peter
--
pilsl@
goldfisch.atat.at
------------------------------
Subject: Re: What are frame errors?
From: [EMAIL PROTECTED] (Frederic Woodbridge)
Date: Thu, 16 Mar 2000 14:54:59 GMT
Quoth [EMAIL PROTECTED] (sleddog) in
<[EMAIL PROTECTED]>:
[snip]
>What are the 'frame' errors? Is it something I should be concerned
>about, and if so how do I correct it?
>
>Thanks,
Frame errors, as far as I know, are errors due to the packets sent not
being the same as the packets sent. In other (clearer, I hope) words,
the packets sent to you are being corrupted somehow and it doesn't
surprise me since the conduit is a 'phone line.
Get your local telco to perform a line check.
Cheers,
Fred
------------------------------
From: mike <[EMAIL PROTECTED]>
Subject: Bash Or Bash2 ??
Date: Thu, 16 Mar 2000 09:57:02 -0500
Hi,
I noticed in on the Redhat 6.1 cd that there are two bashes. A
regular bash and a bash2. What are the pros and cons of using
bash2 vs bash? Why not always chose bash2 is there a downside?
Mike
------------------------------
From: "Henrique Pantarotto" <[EMAIL PROTECTED]>
Subject: date or ps bug
Date: Thu, 16 Mar 2000 11:24:46 -0300
Hello Linux friends,
I am facing a situation that I have never seen before. My computer date is
correct, but the date shown with the "ps auxw" command are totally bogus.
A collegue told me that he has seen this happen with new Intel processors
and recent linux kernel versions.
Here's an example:
[root@foohp mail]# date
Thu Mar 16 09:30:29 GMT+3 2000
[root@foohp mail]# date -u
Thu Mar 16 12:30:30 UTC 2000
[root@foohp mail]# ps auxw | tail -2
root 28290 0.0 0.1 2648 1020 ttyp0 R 05:56 0:00 ps auxw
root 28291 0.0 0.0 1084 348 ttyp0 S 05:56 0:00 tail -2
See... the localtime is 09:30 (we are -0300 GMT), but the ps command shows
the processes to be running at "05:56"... This 05:56 is very close to the
time the machine was last booted.
This is a Pentium III 650, with 1GB RAM. We're using Kernel 2.2.14 with Red
Hat 6.0.
Thanks a lot and regards from Brazil,
Henrique Pantarotto
Sao Paulo, SP - Brazil
------------------------------
From: Gerald Willmann <[EMAIL PROTECTED]>
Subject: Re: Linux emulation on WinNT?
Date: Thu, 16 Mar 2000 07:00:37 -0800
On Thu, 16 Mar 2000, sachin velankar wrote:
> Clearly, I cannot replace WinNT on that computer altogether. Thus, my
> question is
> Is there anything that works as a Unix emulator on WinNT machines?
clearly, this does not belong in this newsgroup.
Gerald
--
------------------------------
From: [EMAIL PROTECTED]
Subject: With ppp-howto, serial howto, I still can't connect 2 pc with direct
cable.Why?
Date: Thu, 16 Mar 2000 14:55:28 GMT
Dear sir:
I have 2 pc. pc1 has a network card , can access to internet,
another hasn't. I try to connect pc 2 to pc 1 with direct serial line.
using PPP.
I am using Redhat 6.0. After I reading PPP howto, serial howto, I still
can not fix it.
I have added getty in /etc/inittab, 2 PC can communicate through
minicom.
I add /etc/gettydefs with Dump terminal entry.
I also add setserial in /etc/rc.d/rc.local.
I am using ttyS0.
The PPP howto says, only I need to do is to run PPPD at both end as
such:
pc1 :
pppd -detach lock proxyarp 192.168.0.1:192.168.0.2 /dev/ttyS0 38400 &
pc2:
pppd -detach lock defaultroute 192.168.0.2:192.168.0.1 /dev/ttyS0 38400
&
Since I am a newbie. I did not do other things.
However, I can't found any sigh of PPP working.
Using ifconfig I found nothing on PC2 except L0
on PC1 there is only L0 and ethernet card interface.
I can't ping each other too.
Can any one give me a guidance. I am totally in a mess!
Thanks!
(By the way, I have spare NIC , but I want to try PPP in this
environment..)
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: [EMAIL PROTECTED] ()
Subject: Best GUI SAMBA configuring software?
Date: 16 Mar 2000 15:17:24 GMT
Hi,
I noticed that there are quite a few choices of software pertaining to
configuring SAMBA on a LINUX system. Is anybody able to recommend one form
over the other?
Thanks,
Ken
------------------------------
From: [EMAIL PROTECTED] ()
Subject: Opinion on Windows emulators?
Date: 16 Mar 2000 15:21:37 GMT
If I have an interest in emulating Windows applications under Linux, are there
any choices other than WINE and VMWare? Of these choices, can anybody contrast
and compare the different products?
My own understanding is that WINE is still very much in the development
stage, while VMWare is more advanced and very much a commercial product.
Thanks,
Ken
------------------------------
From: Mircea <[EMAIL PROTECTED]>
Subject: Re: Linux emulation on WinNT?
Date: Thu, 16 Mar 2000 10:40:51 -0500
sachin velankar wrote:
>
> Hello,
> I use some data acquisition software that comes only with WinNT
> machines. For data processing though, Unix would be much superior.
> Clearly, I cannot replace WinNT on that computer altogether. Thus, my
> question is
> Is there anything that works as a Unix emulator on WinNT machines?
> Thanks!
> Sachin
http://www.vmware.com
It's a commercial product, though. It also works the other way around
(emulate NT on Linux).
MST
------------------------------
From: Scott Bishop <[EMAIL PROTECTED]>
Subject: Re: Best GUI SAMBA configuring software?
Date: Thu, 16 Mar 2000 09:42:03 -0600
[EMAIL PROTECTED] wrote:
>
> Hi,
>
> I noticed that there are quite a few choices of software pertaining to
> configuring SAMBA on a LINUX system. Is anybody able to recommend one form
> over the other?
>
> Thanks,
>
> Ken
Actually, the one I use most often is swat, which not only comes with
the distro, but can also be run from any workstation using a web browser
(don't worry, it uses username/password for authentication and can be
configured to use TCP wrappers). Just do a man swat to get more info.
Hope this helps...
--Scott Bishop
WALKER BOLT Manufacturing Co.
(Notice: The opinions stated here are not necessarily those of my
employers, or of any sane individyual for that matter.)
------------------------------
From: [EMAIL PROTECTED]
Subject: opening other apps after kppp connects
Date: Thu, 16 Mar 2000 15:44:59 GMT
I have Redhat 6.1 running on a dual boot on my computer. I was able to
get my modem to work even though it is a win modem, but the problem i
am now having is that once i get a connect using kppp it doesn't allow
me to open any other programs. I wasn't able to get a conection using
GNOME so that as an alternative doesn't seem likely at the moment. If
i want to use Netscape i have to have it open before I tell it to
connect....Once disconnected it allows me to open up other programs..Am
i missing something or just need to make a slight change to
something...Any help is appreciated...Thank you.....
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: Andreas Kahari <[EMAIL PROTECTED]>
Subject: Re: unix commands
Date: Thu, 16 Mar 2000 15:52:03 GMT
In article <[EMAIL PROTECTED]>,
dEUS <[EMAIL PROTECTED]> wrote:
> Hi,
> Who has a large list of all the unix commands with their options?
> Can you send me a list or a URL where i can find them
>
> dEUS
> [EMAIL PROTECTED]
>
>
I answered exactly this question some days ago. Pres <tab> twice to see
all valid commands. Use the "man" command to get info about a particular
command (e.g. "man ls" or "man man").
You may also want to take a look at the Linux Documentation Project
website at <URL:http://www.linuxdoc.org/>.
/A
--
# Andreas K�h�ri
# Brought to you from Uppsala, Sweden
# http://hello.to/andkaha
# Echelon: guvf vf whfg gb naabl lbh
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: "Dennis Edward" <[EMAIL PROTECTED]>
Crossposted-To: comp.databases
Subject: Re: Which RDBMS would you choose?
Date: Thu, 16 Mar 2000 16:03:09 GMT
Thanks for saying it for me. Since I was asking for help, I didn't want to
act flamelike.
[EMAIL PROTECTED] wrote in message <8aptkr$vl9$[EMAIL PROTECTED]>...
>How come you say switch to SQL Server 7.0 in a linux newsgroup and at
>the same time the one want to listen some suggestions for alternative
>RDBMS which is open source!
>
>
>Sent via Deja.com http://www.deja.com/
>Before you buy.
------------------------------
** FOR YOUR REFERENCE **
The service address, to which questions about the list itself and requests
to be added to or deleted from it should be directed, is:
Internet: [EMAIL PROTECTED]
You can send mail to the entire list (and comp.os.linux.misc) via:
Internet: [EMAIL PROTECTED]
Linux may be obtained via one of these FTP sites:
ftp.funet.fi pub/Linux
tsx-11.mit.edu pub/linux
sunsite.unc.edu pub/Linux
End of Linux-Misc Digest
******************************