Linux-Misc Digest #239, Volume #20 Mon, 17 May 99 14:13:13 EDT
Contents:
Re: Linux's Programming? ([EMAIL PROTECTED])
Re: Diald dials out every 15 minutes ("Lonny Schwartz")
Re: epson drivers (Rod Smith)
Linux/Grand Prix Legends Petition now online (Uwe Schuerkamp)
Re: Token-ring cards ("Arne K. Haaje")
Re: any other way except root setuid? (Andrew Chung)
Re: 'Find'. what a strange command (jason)
scsi emulation problem (William Schwartz)
Re: Token-ring cards (selious)
Re: Linux's Programming? (Frank Riha)
Re: Linux and Win98 dual boot. (TMussnig)
Re: Need help setting up system. (Michael Powe)
Requesting your help for a new Linux site ("Marco Maldonado")
Re: Linux on Dual Pentium-II machines ([EMAIL PROTECTED])
----------------------------------------------------------------------------
From: [EMAIL PROTECTED]
Subject: Re: Linux's Programming?
Date: 17 May 1999 13:15:22 GMT
In his obvious haste, D. Vrabel <[EMAIL PROTECTED]> babbled thusly:
: On Mon, 17 May 1999, Raymond Yung wrote:
:> Hello all,
:>
:> Could anyone tell me how to run the program (XXX.o) in my Linux
:> system?
:>
:> I write a simple C's program, named TMP.C and after compile, the
:> file TMP.o will exist, but why I type this file will not any respone?
Oh.. It's because you're not using the correct path.
(I just understood your question)
It doesn't matter if it's called XXX.o or XXX I don't think.
Linking only matters when there's more than one object file.
Try ./TMP.o
--
______________________________________________________________________________
|[EMAIL PROTECTED]| "I'm alive!!! I can touch! I can taste! |
| Andrew Halliwell | I can SMELL!!! KRYTEN!!! Unpack Rachel and |
| Finalist in:- | get out the puncture repair kit!" |
| Computer Science | Arnold Judas Rimmer- Red Dwarf |
==============================================================================
|GCv3.12 GCS>$ d-(dpu) s+/- a C++ US++ P L/L+ E-- W+ N++ o+ K PS+ w-- M+/++ |
|PS+++ PE- Y t+ 5++ X+/X++ R+ tv+ b+ DI+ D+ G e>e++ h/h+ !r!| Space for hire |
==============================================================================
------------------------------
From: "Lonny Schwartz" <[EMAIL PROTECTED]>
Subject: Re: Diald dials out every 15 minutes
Date: Mon, 17 May 1999 09:40:12 -0400
Do you have Printer/Filesharing enabled on the W98 box? Windows will send
out netbios requests every 15 minutes or so....causing diald to connect.
You'll either want to add a rule to your ipfwadm to deny all traffic on
ports 137-139 or you can add it to your diald config. rules.
marco tephlant <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Im pleased to say i've got IP masquerading and diald working this
> weekend, one problem though is that diald spontaneously dials out. I've
> looked through the man pages and checked theres no cron job causing it
> but can't figure out whats making it happen, I have two Win98 PC's
> connected to the network, neither of them were running any network app
> or anything. As a test I left the server and one PC switched on for a
> couple of hours and didnt touch anything, but logs still showed it
> connecting every fifteen minutes.
>
>
> Any tips as to what this could be?
>
> Cheers
> --
> Marco
------------------------------
From: [EMAIL PROTECTED] (Rod Smith)
Subject: Re: epson drivers
Date: Mon, 17 May 1999 14:48:57 GMT
Reply-To: [EMAIL PROTECTED]
[Posted and mailed]
In article <[EMAIL PROTECTED]>,
Julio De Gregorio <[EMAIL PROTECTED]> writes:
> Hi!
>
> I have a EPSON Stylus 600 and I remember that during Red Hat 6 Installation I
> was asked about my printer:
> I chosed the 600 driver, and after that I was asked about what resolution I
> wanted. There were 360x360, 720x720 and 1440x720.
> I chosed 720x720, and now I can only print on that resolution.
> - How do I change the resolution at print time ??
> - Or should I create 3 printing queues one with each resolution?? (If this is the
> answer, how?)
Sounds like Red Hat's finally updated their Ghostscript and drivers, which
is good. Anyhow, to choose the printer's resolution at print time, you'll
need to create multiple queues. You can use the linuxconf utility or, if
it's still present in RH 6, printtool to do the job. Type "linuxconf" or
"printtool" at an xterm when you're logged in as root, and you should be
able to figure it out.
--
Rod Smith
[EMAIL PROTECTED]
http://www.channel1.com/users/rodsmith
NOTE: Remove the "uce" word from my address to mail me
------------------------------
Crossposted-To: de.comp.os.unix.linux.misc
Subject: Linux/Grand Prix Legends Petition now online
From: [EMAIL PROTECTED] (Uwe Schuerkamp)
Date: Mon, 17 May 1999 13:28:19 GMT
Hi all,
a couple of weeks late, but the matter nonetheless as pressing as
ever ;-), I have now made available the online form to allow you to
sign the GPL Linux petition. Take a look at the page, sign it if
you want to and please send comments or critique. Spread the word
in server chats and on VROC, and if enough people sign, we might get
something going.
For the uninitiated: Grand Prix Legends is a top-notch 60s era Formula
1 simulation with great online gaming capabilities that would make a
perfect showpiece for Linux stability and performance.
Thanks in advance for your time,
Uwe
http://www.schuerkamp.de/cgi-bin/sign.cgi?function=add
--
Uwe Schuerkamp, Telemedia ////////////// Phone: +49 5241 80 10 66
Carl-Bertelsmann-Str. 161 I \\\\\\\\\\ uwe.schuerkamp at telemedia.de
33311 Guetersloh \\\\\\\\\\\\\\\\\\\\\\\ http://www.schuerkamp.de/
PGP Fingerprint: 2E 13 20 22 9A 3F 63 7F 67 6F E9 B1 A8 36 A4 61
------------------------------
From: "Arne K. Haaje" <[EMAIL PROTECTED]>
Crossposted-To:
comp.os.linux.development.system,comp.os.linux.networking,comp.os.linux.hardware
Subject: Re: Token-ring cards
Date: Mon, 17 May 1999 17:31:38 +0200
Owen Brotherwood wrote:
>
> Madge has just released linux drivers for their non "true blue" TR cards
> on their web site.
> - I'm using a PCMCIA Madge card on a RH6.0/Dell Latitude and it works.
> Madge have PCI cards so Linux TR hits the PCI bus at last?
>
> I don't like the ibmtr driver that has been available until now(which may
> work with certain 100% IBM TR compatible cards)
> - it can hang the system with a cable error: the madge driver doesn't.
> I don't know if IBM will sudenly release more drivers (also for PCI)
>
> Olicom also have drivers: but the guy who was maintaining them left the
> company(?)
> - it is also an installation that patches the kernal source which may mean
> it ill not work with RH60
I use the Olicom 3137 PCI Card with kernel 2.2.7 on Stampede Linux, and
it works very well. I belive IBM PCI cards are now supported, see
http://www.linuxtr.net/ for details.
Arne
--
================================
Arne K. Haaje |
Enebakkveien 2 | M: 92 88 44 66
N-1825 Tomter | [EMAIL PROTECTED]
================================
The system needed Windows 95
or better, so I installed Linux!
------------------------------
From: [EMAIL PROTECTED] (Andrew Chung)
Subject: Re: any other way except root setuid?
Date: 17 May 1999 15:44:36 GMT
Reply-To: [EMAIL PROTECTED]
On Mon, 17 May 1999 07:30:38 +0200, Boris Petrovic <[EMAIL PROTECTED]> wrote:
> I had to write some CGI scripts for doing some root stuff
> over WWW. I tried to set all CGI scripts to www user which runs
> www server, but of course I couldn't run functions which require root
> privileges, so I have to put root ownership and setuid bit on that
>particular pieces of code.
> Is there other way to do that except root setuid over that files?
Any CGI script requiring root access has some serious design problem... it
opens up too many security holes....
In any case, depending on what you want to do, you might want to look at
sudo and super..
--
Andrew Chung [EMAIL PROTECTED]
See http://anderoo.dhs.org/~anderoo/pgp.html for PGP key
It's a sin only if you dwell on the what ifs and the but ifs
------------------------------
From: jason <[EMAIL PROTECTED]>
Subject: Re: 'Find'. what a strange command
Date: Mon, 17 May 1999 12:14:05 -0400
Villy Kruse wrote:
>
> In article <[EMAIL PROTECTED]>,
> Mark Forsyth <[EMAIL PROTECTED]> wrote:
>
> >Ah yes but that had already been mentioned. The dreaded find / grep
> >combo hadn't. Surprised me that it wasn't. Of course WHY you would
> >use it escapes me completely...:)
>
> Maybe in this case to also find Netscape, NetScape, and all other
> combinations of capitalization (with the -i option to grep).
The same could be accomplished with 'find / -iname netscape', and one less
process would be spawned. :-)
-jason (who is wondering if this thread will outlive than the "fdisk /mbr" thread)
(to reply via email, make the appropriate substitution in my email address)
------------------------------
From: William Schwartz <[EMAIL PROTECTED]>
Subject: scsi emulation problem
Date: Mon, 17 May 1999 10:04:47 -0500
I'm trying to compile in the scsi emulation to get my ide CD-R drive working
I got everything re-built right but when I reboot with the new kernel the
system hangs right after the lilo prompt goes away like it's not seeing
the hard drive.
What options do I need to give lilo.conf so that the cd-r is used with
scsi emulation but my hard drvie isn't
my ide devices are:
hda = main hard drive
hdb = data drive
hdc = cd=r (the one I need the scsi emulation for)
hdd = cdrom (don'6 need scsi emulation here)
thanks,
Bill
[EMAIL PROTECTED]
------------------------------
From: selious <[EMAIL PROTECTED]>
Crossposted-To:
comp.os.linux.development.system,comp.os.linux.networking,comp.os.linux.hardware
Subject: Re: Token-ring cards
Date: Mon, 17 May 1999 19:22:43 +0200
Reply-To: [EMAIL PROTECTED]
Fulajtar Pal wrote:
> I have a 3com Velocity ISA16/4 token-ring card. Does anybody know,
> where can i find Linux driver for it?
I have the same card, and as far as I know it should be supported by the
IBM TokenRing driver. AsI recall, this card has several options (it can
emulate a IBM card or something). I do recall some
troubles to be expected with the TokenRing driver...
Good luck !!
------------------------------
From: Frank Riha <[EMAIL PROTECTED]>
Subject: Re: Linux's Programming?
Date: 17 May 1999 00:49:19 -0400
[EMAIL PROTECTED] writes:
> In his obvious haste, Raymond Yung <[EMAIL PROTECTED]> babbled thusly:
> : Hello all,
>
> : Could anyone tell me how to run the program (XXX.o) in my Linux
> : system?
>
> : I write a simple C's program, named TMP.C and after compile, the
> : file TMP.o will exist, but why I type this file will not any respone?
>
You can't run the .o file. It's the object file. The executable file
is named "a.out" by default. That is the file that the system can
run. To change the name of the executable, use the -o flag:
gcc tmp.c -o myexe
This will produce two files, one object file named "tmp.o" and the
executable file "myexe". Run the myexe file:
./myexe
If your PATH env variable contains the "." (current directory) you can
omit the "./"
frank
------------------------------
From: TMussnig <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,comp.os.linux,comp.os.linux.setup,iupui.comp.linux
Subject: Re: Linux and Win98 dual boot.
Date: Mon, 17 May 1999 17:27:46 +0200
"J. Merritt" schrieb:
> I'm trying to set up a dual boot system with Red Hat and Win98
> I used a mini-how - to posted at
> http://www.eskimo.com/~praxis/win98.html
>
> it has you create a few batch files and a menu that asks for the OS to load.
> It seems to load but I get the following errors while linux is loading:
>
> VFS: cannot open root device 08:22
> Kernel Panic: VFS: Unable to mount root fs on 08:22
>
> any ideas? I have two HD's the first is 4.3GB and is solely for WIN98. The
> second is a 1.2GB that
> is entirely partitioned for Linux. The problem is I can not recall what
> partition it was on. Right before the error
> it lists:
>
> hda1, hda2, (hda5)
> hdc1, hdc2, (hdc5), (hdc6)
>
I suppose, that you have both disks installed as a primary master, in which I
suppose, you have
your Win98 Harddisk installed on the first IDE-Controller, (/dev/hda)
and your Linux on the second IDE-Controller (/dev/hdc).
If you don't know on which partition your root-filesystem is, check this out:
c:\loadlin c:\vmlinuz root = /dev/hdc2 ro (if it's the root)
^^^^^^^^^^ -> change this line in your
linux.bat - see below
else try /dev/hdc1. (with the edit.com etc...)
>
> in the linux.bat file there is a command:
>
> c:\loadlin c:\vmlinuz root = /dev/hda3 ro
> ^^^^^^^^
> it says to substitute the hda3 for what ever partition linux is installed
> on. I originally didn't have loadlin or vmlinuz on the c: so I copied them
> from the CD. In WIN98 I am unable to see the second drive but it shows up
>
If you copy the kernel (vmlinuz) under DOS to different locations, you won't be
able to
get it started, because DOS inserts CR's at each end of line, so you destroy
your kernel.
Do it under linux with the cp command and NO CR's were inserted.
> in the start up. I just can't access it with windows explorer et al. Any
> ideas would be greatly appreciated...
>
Windoze knows ONLY itself (M$), no other file-systems, so it's "normal" :)
Linux is quite different, 'coz Linux CAN handle more than itselves... See your
ReadME, etc.
> Please CC me in reply
>
> John Merritt
> Indianapolis, IN
Be sure, if you want to boot Linux, that NO DOS programmes will be executed
before,
initrd might have problems.
I solved this problem with a boot menue:
Put this in your
CONFIG.SYS:
[menu]
menuitem A=MS-DOS V7.0 & Win'98
menuitem B=Linux V5.3
menudefault=A,5
rem means: for Standard boot item A (Win) in 5 secs. while no key pressed
rem otherwise select what you want to boot with your cursors - you got 5 sec.
[A]
DOS=HIGH,UMB
shell=C:\COMMAND.COM C:\ /e:4096 /p
FILES=60
BUFFERS=60,0
DEVICE=C:\WIN98\HIMEM.SYS /TESTMEM:OFF
DEVICEHIGH=C:\WIN98\EMM386.EXE ON noems
devicehigh=C:\WIN98\COMMAND\display.sys con=(ega,,1)
[B]
rem ....really.... here's nothing.... ;-))
AUTOEXEC.BAT:
@ECHO OFF
PATH C:\WIN98;C:\WIN98\COMMAND
SET TEMP=C:\TEMP
SET TMP=C:\TEMP
goto %config%
:A
LH C:\WIN98\COMMAND\MSCDEX.EXE /D:CD0
lh C:\WIN98\COMMAND\DOSKEY.COM /INSERT
mode con codepage prepare=((850) C:\WIN98\COMMAND\ega.cpi)
mode con codepage select=850
goto end
:B
c:
cd\loadlin
linux hdx
rem (were x stands for your Linux-partition) i.e. hdc, hda, etc...
goto end
:end
If this will NOT operate on your system, please post me the details what Linux's
fdisk has found.
Cheers
Thomas
------------------------------
Subject: Re: Need help setting up system.
From: Michael Powe <[EMAIL PROTECTED]>
Date: 17 May 1999 10:39:50 -0700
=====BEGIN PGP SIGNED MESSAGE=====
Hash: SHA1
>>>>> "theoddone33" == theoddone33 <[EMAIL PROTECTED]> writes:
theoddone33> Hi I just ordered RH 6.0, and I'm getting a 10 gig HD
theoddone33> in a few weeks. Right now, I've got a 240 meg HD
theoddone33> running slackware 3.5. I want to split the 10 gig
theoddone33> into 2 5 gig partitions with windows on one and RH on
Consider splitting the linux section into partitions for each major
directory section, e.g.,
Filesystem Size Used Avail Use% Mounted on
/dev/hdc1 99M 43M 51M 46% /
/dev/hdc2 99M 72M 22M 77% /home
/dev/hdc3 1017M 740M 224M 77% /usr
/dev/hdb3 484M 377M 82M 82% /usr/local
/dev/hdb6 196M 104M 82M 56% /usr/src
This will protect you from filesystem damage (if /usr/local gets
damaged due to, e.g., an unexpected reboot, your data on the other
partitions will be safe).
(Also, as of 5.1 RH <requires> a swap partition -- you can't choose a
swap file instead).
theoddone33> the other. From my limited experience installing
theoddone33> windows, I'm assuming it will only install itself in
theoddone33> the first partition. Is this correct? Also, I read
theoddone33> in Linux Journal that LILO can load windows. I would
theoddone33> like RH to load by default, even if windows is in the
theoddone33> first partition and I want to put LILO in the Master
All that stuff can be done by lilo. You just need to read the
manpage. lilo.conf determines the load order and parameters for the
OS. When you first set up linux, you will run lilo in your "boot"
directory and that will set the parms on the MBR.
I believe it still is the case that kernel must be above the 1024th
cylinder, though. This is covered in the HOWTO, anyway.
mp
- --
powered by GNU/linux since Sept 1997 Penguin spoken here
[EMAIL PROTECTED] http://www.trollope.org
Michael Powe Portland, Oregon USA
"We plan ahead, that way we don't do anything right now."
=====BEGIN PGP SIGNATURE=====
Version: GnuPG v0.9.0 (GNU/Linux)
Comment: Encrypted with Mailcrypt 3.5.1 and GNU Privacy Guard
iD8DBQE3QFRg755rgEMD+T8RAqRvAJ9V6CEtOgovtOIDf3Fmob5V9PgCMACcDaEs
9KeI0pcN0Nb2imYQrsER1t0=
=eoD9
=====END PGP SIGNATURE=====
------------------------------
From: "Marco Maldonado" <[EMAIL PROTECTED]>
Subject: Requesting your help for a new Linux site
Date: Mon, 17 May 1999 13:31:53 -0400
Hello Everyone:
This is a message requesting help from everyone who would
like to be part of a new Linux site that I am working on.
My name is Marco and I am working on a site that will help all
Linux users. As we all know linux is a great operating system,
and much is said on the papers and news, but newbies like me sometimes
find it difficult to find good instructions on how to work with it.
I decided to create a site that will unite all Linux users who wish to
collaborate with instructions and articles on how Linux can be used both
at home and at work.
My site is small, but with your help I hope that one day will be a
good site that will help the Linux community. I need the help from all the
Linux users
you do not have to be experts because I think everyone has something
to share about their experience with their Linux systems.
If you would like to help please let me know and when you get a chance
visit my site.
Thanks to all.
www.penguinlinux.com
Linux Newbies:
If you are looking for answers for Linux you are also invited to
come to my site maybe you will find the answer to your questions :). It is
small at the moment.
but it will grow in the future.
Kudos
------------------------------
Crossposted-To: comp.os.linux.hardware
Subject: Re: Linux on Dual Pentium-II machines
From: [EMAIL PROTECTED]
Date: Mon, 17 May 1999 16:57:39 GMT
According to bryan <[EMAIL PROTECTED]>:
> I'll second the celeron idea.
>
> if you can get celeron 300a and the right slotket adapters, you can
> push them to 450 ea.
Personally, I recomend against over-clocking for serious work.
Pushing a 300a to 450 puts the chip *very* close to it's tolerances.
This may be fine for games where a slipped bit or a lockup doesn't
really hurt anything, but it is certainly *not* acceptable for
scientific numerical compulations.
-p.
------------------------------
** 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
******************************