Linux-Misc Digest #107, Volume #25 Tue, 11 Jul 00 14:13:04 EDT
Contents:
Help with CD-R & CD-RW ! ([EMAIL PROTECTED])
extending video card driver functionality ([EMAIL PROTECTED])
Re: HELP with install... (Krzys Majewski)
Re: the "i hate it when that happens" dept. ("Leonard Thornton")
Re: ANSI Colors in a C program under Linux... (Richard Bos)
>>>>> Help Needed <<<<< (N/A)
Re: @home port scanning ([EMAIL PROTECTED])
Re: linux: 'insmod sr_mod': no module by that name found (Duane)
Re: Can anyone help me out? ([EMAIL PROTECTED])
Re: SMB access to Linux from W95? (Daniel Gunyan)
Re: Can anyone help me out? (Philip Chapman)
Re: LTWinmodem work with Linux? (Daniel Gunyan)
Re: Some questions about /dev (Jerry Shenk)
Re: convert .jpg & .gif to HP PCL5 (Daniel Gunyan)
Re: Sawfish, and rows and columns in workspaces ("Eric Potter")
Re: how to redirect serial port (Grant Edwards)
dd ("Kieran Tyrrell")
----------------------------------------------------------------------------
From: [EMAIL PROTECTED]
Crossposted-To: alt.os.linux
Subject: Help with CD-R & CD-RW !
Date: Tue, 11 Jul 2000 15:57:55 GMT
Hi,
I have to admit that the man page for cdrecord is too big and
incomprehensible for me. Could someone walk me through the steps needed
to
1) create an audio cd image from a bunch of mp3 files (using mpg123 &
cdrecord?)
2) create a data cd image from a bunch of files
3) burn a cd image to a CD-R
4) same as (3) but with CD-RW
Extra questions:
Can I skip the the image creation using pipes or something?
Do I have to transform mp3 into wav first to feed it to cdrecord? (I
don't have to do it with windows software)
My CDRW gets mounted under /mnt/cdrom (/dev/cdrom, which is a link to
/dev/hdc). Do I need to use another "dev" for writing (as opposed to
reading)?
Thank you so much
Wroot
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: [EMAIL PROTECTED]
Subject: extending video card driver functionality
Date: Tue, 11 Jul 2000 15:57:47 GMT
Does anyone know of references regarding
how to (programatically) get a video card that
supports hardware scaling to actually perform
the scaling when the driver provided in the
XFree86 distribution does not provide this
functionality? Ideally, the solution would
involve adding this functionality somehow while
maintaining the use of the (perhaps hacked) XFree86
server.
So far I have been able to find no relevant info
concerning this problem, and consequently, I would
greatly appreciate any type of info or pointers
anyone could provide.
Thanks
jjw
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: Krzys Majewski <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,alt.os.linux
Subject: Re: HELP with install...
Date: 11 Jul 2000 16:16:21 GMT
Unless you have two hard drives, you will probably need to partition
your hard drive first. If your drive is already partitioned, then you're
set -- put windows on one of the partitions, and linux on another.
You can probably do this in whichever order though I've only tried the
order {Windows, Linux}. If your drive isn't partitioned, you'll need
to use something like fips or partition magic to shrink the existing partition
(assuming you have something interesting on it) so that your linux install
can create a new one in the resulting empty space.
Short answer: I've tried windows first, then linux, and that worked fine.
Lilo is a program that writes some stuff to the part of your disk which
normally loads the operating system. So when you boot up your machine
it says "do you want linux or windows?" and you say, of course, "linux".
-chris
J. Meyer <[EMAIL PROTECTED]> wrote:
> I will install on my PC both Linux(Suse6.4) and Windows98 with
> the size ~10GB for Windows and ~15GB for Linux.
> I've just few question about the installation:
> - What I should install first Windows or Linux (easy way)?
> - I cannot understand how we can choose (on starting) Windows or Linux.
> Because Linux
> use the LILO boot system and not windows. How could I configure this
> features?
> Thanks a lot for your help,
> Regards,
> JM
------------------------------
From: "Leonard Thornton" <[EMAIL PROTECTED]>
Subject: Re: the "i hate it when that happens" dept.
Date: Tue, 11 Jul 2000 12:24:17 -0400
An old saying goes:
"Sometimes 'tis better to beg forgiveness than to ask permission......"
Put it in and let it run......if it never goes down, who is going to ask
about it?
mindglow wrote in message <8kf4c9$f5o$[EMAIL PROTECTED]>...
>Heya ppl,
>
>firstly thanks for your thoughts.
>
>Secondly I think I have to clarify my reasons for posting the "i hate
>it.." story to ..linux.misc. It wasn't to bitch about linux or to ask
>for help or anything. It was.. well maybe it was a cry from the heart.
>
>The problem (and major frustration) for me is this:
>
>fact: for the re-occuring incident at work I have a linux based
>solution.
>prob: i work in a _very_ protected environment. think bank, hi-risk
>chem. research etc. Then you'll have a good idea what I'm talking about.
>All services on the network and anything that has to do with it is
>totally compartmentalized, protected, re-compartmentalized etc.
>
>Even if this may sound totally paranoid to some, it is _very_ nessesary
>in my line of work.
>The downside of this is that _nothing_ goes into the production network
>that hasn't been tested, stripped, retested, documented about a million
>times and then _maybe_.
>
>Don't worry, I'm working on putting linux into the test process. It's
>hard and F.U.D is omipresent though. I'll get it done one day.
>
>Anyway back to the point: I thought I had a big break when I was lent
>some hardware (the server I run linux on) by a department for
>"unspecified testing purposes" ie. to play with.
>Some months went by and my server ran (not in the network). Every once
>in a while someone would come in and look at the server, talk to me and
>leave again.
>
>When the problem with the cdrom servers came to light, I thought I could
>implement Linux as a solution. What happen was that I was rebuked for
>"irisponcible idiocy" (any ex-army guys remember ii?) nothing serious,
>but I was slightly miffed 'cos of this: _why_ am I being allowed to
>unofficially test a linux server implementation if I'm _not_ going to be
>allowed to let it shine in the network albite as a cdrom server??
>
>Don't get me wrong though, I really like my job. I get to do all kinds
>of cool stuff. I just don't get to run Linux.
>
>-mindglow
>
>
>Sent via Deja.com http://www.deja.com/
>Before you buy.
------------------------------
From: [EMAIL PROTECTED] (Richard Bos)
Crossposted-To: alt.os.linux,comp.lang.c
Subject: Re: ANSI Colors in a C program under Linux...
Date: Tue, 11 Jul 2000 16:24:19 GMT
"Ricky Nelson" <[EMAIL PROTECTED]> wrote:
> Richard Bos <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]...
> > FWIW, my computer (an MS-DOS box) will not display ANSI escapes as
> > intended, even though I compile ANSI C all the time.
>
> Not by default, but it will if you load the ansi.sys driver in your
> config.sys.
*sigh* Yes, I *know*. I have RTFM, you know. Have you? Ansi.sys is _not_
ISO (or ANSI!) C. I have not, and will not, have ansi.sys loaded; the
ISO C standard does not require me to. Therefore, ansi.sys escape codes
are not portable and off-topic. What's so hard to understand about that?
Richard
------------------------------
From: N/A <[EMAIL PROTECTED]>
Subject: >>>>> Help Needed <<<<<
Date: Tue, 11 Jul 2000 16:30:06 GMT
I NEED SOMEONE WHO WILL STEP BY STEP TUTOR ME ON INSTALLING COREL LINUX
DELUX, IF YOUR INTERNESTED GIVE ME YOUR E-MAIL AND WE WILL GET TO WORK,
THANKS.
--
Posted via CNET Help.com
http://www.help.com/
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: @home port scanning
Date: 11 Jul 2000 16:33:48 GMT
David Steuber <[EMAIL PROTECTED]> writes:
: [EMAIL PROTECTED] (Fester) writes:
: ' What they DO scan for, however, is NEWS SERVERS. Every since that big UDP
: ' thing a few months back, @Home scans for news servers, and you get in deep
: ' trouble if you run one of them.
: So you have ipchains REJECT a connection to port 119 from outside your
: LAN. No big deal. REJECT all incoming connections on the ports <1024
: and also ports 2049 and 6000. Better yet, use DENY. Then it's as if
: you don't even exist.
I put up a linux firewall and noticed that I was denying packets from
somebody called authorized-scan.home.com. Is this what you guys are
talking about? Probably... Since they were trying to get to port
119. So they don't care if they are denied? They will never see me
since my firewall is pretty strong- the only thing I allow in are UDP
packets above port 61000 for quake.
C
------------------------------
From: Duane <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking,comp.os.linux.setup,de.comp.os.unix.linux.misc
Subject: Re: linux: 'insmod sr_mod': no module by that name found
Date: Tue, 11 Jul 2000 08:59:19 -0700
Carlos Villegas wrote:
>
> My goal is to have the 'sr_mod module' load automatically.
>
> As root I typed: 'insmod sr_mod'
> And I got this:
> insmod: sr_mod: no module by that name found
>
> How can I get the sr_mod module to load automatically given the above
> obsticle?
Some Linux distributions by default compile the SCSI CDROM support (sr)
into the kernel. Redhat 6.1 is one that does this. In that case, there
is is no sr_mod. Almost certainly the case here, so no loading is
required.
--
My real email is akamail.com@dclark (or something like that).
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: Can anyone help me out?
Date: Tue, 11 Jul 2000 16:45:47 GMT
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] wrote:
> And why on earth should in.ftpd (or wu. or pro. for that matter) run
as
> root? It's relatively normal for them to run the normal user who
called
> them. That way user johndoe can't do nasty things like overwrite
> /etc/shadow.
>
> As root,
> chmod 644 /etc/ftpaccess
> to fix at least that problem.
I'm afraid you missunderstood it. The ftpdaemons (am using wu) are
initiated as root (try opening an ftp connection from command prompt),
before you log-in, the process will be running as root, but as soon as
you log-in as a user, the ftpd will be suexeced to your username. You
can easily monitor the process with ps aux|grep ftpd and see how it
happens.
My problem is the ftpd is initiated as some xy username (not the
username trying to logon, but some xy user that is home asleep at the
time :)) and not as root as it should be, so he is not able to read
the /etc/ftp* files and the ftp* files shouldn't be worldreadable.
So... does anyone have an idea why is my ftpd initiated under a xy-
username and not under root?
Ammar
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: Daniel Gunyan <[EMAIL PROTECTED]>
Subject: Re: SMB access to Linux from W95?
Date: Tue, 11 Jul 2000 10:19:58 -0700
Ken Yasuda wrote:
>
> Yeah, I saw this in the smb.conf FAQ. I have two questions about it.
>
> 1) I assume this causes the Windows machine to do file encryption.
No. It causes it to send plain-text passwords, which is the default for
a linux Samba setup. If you're worried about security, this is a *bad*
idea. If you don't have administrative powers on the linux box, then
it's your only hope.
If you have root access to the linux box, modify the /etc/smb.conf file
to enable encrypted passwords. Then create an smbpasswd file by running
/usr/bin/smbpasswd and add the user to it. (You can even have blank
passwords if you want.) You're done.
>
> 2) Doesn't this pull the rug out out from under working protocols that the
> windows machine has already had work with other machines? e.g. Can the windows
> machine still print to other window machines it had printed to before?
It should be able to, but as I said above, it's not a good idea for a
secure system.
> |> Execute REGEDIT
> |> ->HKEY_LOCAL_MACHINE
> |> ->System
> |> ->CurrentControlSet
> |> ->Services
> |> ->VxD
> |> ->VNETSUP
> |> Make new dword
> |> "EnablePlainTextPassword" and set it on 00000001
> |>
> |> Set your Security not on Server bur un User
--
DG
e-mail is: [EMAIL PROTECTED]
(remove the Z's--they're what I do when I read SPAM!)
------------------------------
From: Philip Chapman <[EMAIL PROTECTED]>
Subject: Re: Can anyone help me out?
Date: Tue, 11 Jul 2000 17:25:56 GMT
[EMAIL PROTECTED] wrote:
>
> In article <[EMAIL PROTECTED]>,
> [EMAIL PROTECTED] wrote:
>
> > And why on earth should in.ftpd (or wu. or pro. for that matter) run
> as
> > root? It's relatively normal for them to run the normal user who
> called
> > them. That way user johndoe can't do nasty things like overwrite
> > /etc/shadow.
> >
> > As root,
> > chmod 644 /etc/ftpaccess
> > to fix at least that problem.
>
> I'm afraid you missunderstood it. The ftpdaemons (am using wu) are
> initiated as root (try opening an ftp connection from command prompt),
> before you log-in, the process will be running as root, but as soon as
> you log-in as a user, the ftpd will be suexeced to your username. You
> can easily monitor the process with ps aux|grep ftpd and see how it
> happens.
>
> My problem is the ftpd is initiated as some xy username (not the
> username trying to logon, but some xy user that is home asleep at the
> time :)) and not as root as it should be, so he is not able to read
> the /etc/ftp* files and the ftp* files shouldn't be worldreadable.
>
> So... does anyone have an idea why is my ftpd initiated under a xy-
> username and not under root?
>
> Ammar
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
Look in /etc/inetd.conf there should be a line like:
ftp stream tcp nowait root /usr/sbin/tcpd in.ftpd -l
-a
^^^^
Here is where it tells inetd what user to run the ftp deamon under.
--
Philip A. Chapman
IT Manager for Alliance TeleSolutions
Phone: (334)433-9454 Ext. 104
Fax: (334)433-6366
Visit our Website at http://www.ats-telsol.com
------------------------------
From: Daniel Gunyan <[EMAIL PROTECTED]>
Subject: Re: LTWinmodem work with Linux?
Date: Tue, 11 Jul 2000 10:22:27 -0700
Rob Blomquist wrote:
> And the RH 2.2.12 driver for the LT WinModems are at www.lucent.com, but
> there are some opensource drivers that are being built around, too.
I haven't seen them there. URL, please.
--
DG
e-mail is: [EMAIL PROTECTED]
(remove the Z's--they're what I do when I read SPAM!)
------------------------------
From: Jerry Shenk <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,comp.os.linux.networking,comp.os.linux.hardware
Subject: Re: Some questions about /dev
Date: Tue, 11 Jul 2000 17:23:54 GMT
I'm working on a very similar issue right now. My /dev/console is
missing but the /dev directory is there. Mine is an RH60 system so I'm
planning to boot from an emergency floppy and the install the dev*.rpm
file. If you're missing the entire /dev directory, you're gonna need a
ton of stuff.
In article <[EMAIL PROTECTED]>,
Roelof Knibbe <[EMAIL PROTECTED]> wrote:
> Hi,
>
> My system crashed a while ago. It used to work fine.
> (RH6.0, Lilo dual boot.)
>
> I've tried several LILO options like:
> linux single
> linux root=....
> linux /bin/sh
>
> These options all produce the same error. I do not get a
> kernel panic
> error.
> It says:
> ....
> VMS: Mounted root (ext2 filesystem) readonly
> Freeing unused kernel memory: 60 k freed
> Warning: unable to open an initial console.
>
> In the SUSE support database I read that tty1 could be erased. I think
> this is the case.
> When I startup with a rescue image I can mount the root (/dev/hdb1)
and
> create a console (mknod ...).
> After rebooting the system still halts but I do not get the 'unable to
> open an initial console' warning.
>
> When I look on the mounted disk, /dev is empty, except for the
console I
> created. (In fact /dev didn't
> even exist at first.)
>
> My questions:
> What could have happened to /dev? Did I lose data from harddisk?
> Can I somehow copy /dev from rescue floppy to my hard disk? How?
> If not, any suggestions?
>
> I would be grateful if someone has some useful suggestions.
> Thanks
> Roelof
>
>
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: Daniel Gunyan <[EMAIL PROTECTED]>
Subject: Re: convert .jpg & .gif to HP PCL5
Date: Tue, 11 Jul 2000 10:25:32 -0700
Vilmos Soti wrote:
>
> [EMAIL PROTECTED] writes:
>
> > anybody know a program to convert .jpg & .gif to PCL5 ?
> > I have a C program reading text files & inserting PCL5 code.
> > When I find a filename of .jpg or .gif, I want to call a program
> > to convert to PCL5, then read the output & merge into my text file
> > & PCL5 output file. I would be willing to pay a reasonable amount
> > for such a program. Thanks Owen Townsend, [EMAIL PROTECTED]
>
> Take a look at "convert" from the ImageMagick package.
I think it only converts to PCL3. But it's free, so you can keep your
pocket closed.
--
DG
e-mail is: [EMAIL PROTECTED]
(remove the Z's--they're what I do when I read SPAM!)
------------------------------
From: "Eric Potter" <[EMAIL PROTECTED]>
Subject: Re: Sawfish, and rows and columns in workspaces
Date: Tue, 11 Jul 2000 17:35:26 GMT
In article <8kf7i1$j5v$[EMAIL PROTECTED]>, "D. D. Brierton"
<[EMAIL PROTECTED]> wrote:
> I am rather confused about the way Sawfish handles virtual workspaces.
> In general, I use 4 virtual desktops. Now what is the difference between
> specifying 4 as the minimum number of workspaces that may exist, and
> setting the number of columns and rows of each virtual workspace to 1,
> versus setting the minimum number of workspaces that may exist to 1 and
> setting the number of columns and rows in each virtual workspace to 2?
>
> Basically I don't understand what the difference is between having 4
> virual workspaces with 1 row and column, and having 1 virtual workspace
> with 2 rows and columns. Is there any difference in memory overhead, or
> performace?
>
> Thanks in advance,
>
> Darren
>
The columns and rows within a workspace are also called viewports.
The difference that I have noticed is that the viewports are contiguous,
whereas workspaces are independent. One can use the mouse to drag a window
across the edge of a viewport, and move it into the adjacent viewport. One
can also use the middle mouse button to move windows from viewport to
viewport on the Gnome pager.
------------------------------
From: [EMAIL PROTECTED] (Grant Edwards)
Subject: Re: how to redirect serial port
Date: Tue, 11 Jul 2000 17:50:13 GMT
In article <8kf6lv$gvo$[EMAIL PROTECTED]>, [EMAIL PROTECTED] wrote:
>I have a stream of text alarm, with hex chars imbedded, data which is
>sent, like or not, to the serial port.
>I would like (very much) to capture this output and send it to a file.
>So for testing i have this:
>#!/usr/bin/ksh -x
>while [ 1 ];
>do
>echo "fredXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXi\n" > /dev/ttyS0
>sleep 1
>done
>This fredXX data is visible on the serial port..
>cat /dev/ttyS0 > /tmp/alarm.log
>
>But alarm.log stays firmly at zero length.
>I was wondering why?
Do you have a loopback plug connected to the serial port so
that data that comes out the Tx Data pin gets sent back in the
Rx Data pin?
cat "zxcv" >/dev/ttyS0 # data goes out Tx Data pin
cat /dev/ttyS0 >asdf # capture data coming in Rx Data pin
Your other option is to use mknod to make /dev/ttyS0 the slave
port of a pty pair, and read your data from the master port of
the pair. This way you aren't using serial port hardware at
all.
--
Grant Edwards grante Yow! I want the presidency
at so bad I can already taste
visi.com the hors d'oeuvres.
------------------------------
From: "Kieran Tyrrell" <[EMAIL PROTECTED]>
Subject: dd
Date: Tue, 11 Jul 2000 19:06:32 +0100
Reply-To: "Kieran Tyrrell" <[EMAIL PROTECTED]>
Hi,
Does anyone know where I can get hold of the 'dd' util compiled for DOS?
(I need to raw write a linux partition from a windows machine...) or if
anyone
can suggest a good alternative to dd?
Kieran.
------------------------------
** 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
******************************