Linux-Misc Digest #587, Volume #20 Fri, 11 Jun 99 12:13:09 EDT
Contents:
Re: write Bat file ([EMAIL PROTECTED])
Linux penquin in South Park episode ([EMAIL PROTECTED])
Re: David Rees' OPTi mini-HOWTO (jmsalvo)
Re: Commercially speaking....? (Mr S A Penny)
Re: Question for vi expert (Geoff Short)
Re: Samba and win95/nt ("Matthew D. Melbert")
Samba Connection Problem with Windows OS ("Matthew D. Melbert")
Re: prevent detection of 2nd HD (Mr S A Penny)
Re: duplicating a whole hd (Sid Boyce)
Re: duplicating a whole hd (Sid Boyce)
Re: passwd: Conversation error (Jon Skeet)
----------------------------------------------------------------------------
From: [EMAIL PROTECTED]
Subject: Re: write Bat file
Date: 11 Jun 1999 13:03:52 GMT
In his obvious haste, edward <[EMAIL PROTECTED]> babbled thusly:
: Just like window95 *.bat file. I want to write a BAT file in linux to
: common a series of command. What should i do? Can anyone teach me how
: to do it? Thanks!
What do you mean by "common" a series of commands?
--
______________________________________________________________________________
|[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: [EMAIL PROTECTED]
Subject: Linux penquin in South Park episode
Date: 11 Jun 1999 09:19:02 -0400
fyi,
In this weeks episode (Chef getting married to a succubus, Cartman has
eye problems), the optometrist sign used the Linux Penquin, except with
glasses. I believe they rerun it on Sat night, they showed it twice. Its
not just similar, its look like an exact copy.
Maybe the artists use Linux?
--
Tom Evans
------------------------------
From: jmsalvo <[EMAIL PROTECTED]>
Subject: Re: David Rees' OPTi mini-HOWTO
Date: Fri, 11 Jun 1999 12:03:43 GMT
I did try sndconfig, but the default I/O, ird, etc... that sndconfig
uses does not work. I tried chaning manually myself.
Would you mind telling me the contents of your isapnp.conf and
conf.modules?? and what kernel sound options did you compile as module
or compiled in the kernel?
Thanks,
John Salvo
In article <MkV73.532$KM3.144682@burlma1-snr2>,
"Sreenivasa Sista" <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have a OPTi931 card on my system. I've recently installed from
scratch
> RH6.0 (kernel 2.2.5-15) on my system (I had Opti working on my system
with
> RH4.2, RH5.1 also). RH6.0 comes with a utility sndconfig. Run this
utility
> and it will detect OPTi931 as MAD16 card and it also generates the
> isapnp.conf and modifies /etc/conf.modules with the required entries.
> sndconfig also plays sounds during the configuration process to test
the
> installation of the sound card. You should be able to find sndconfig
in
> /usr/sbin.
>
> Note: MAD16 sound card has OPTi930 chipset and OPTi931 is a superset.
>
> Hope this helps.
>
> Sreenivasa
>
> jmsalvo <[EMAIL PROTECTED]> wrote in message
> news:7jojrv$jvh$[EMAIL PROTECTED]...
> >
> >
> > The OPTI mini-HOWTO by David Rees, previously at
> > http://oto.dyn.ml.org/......, is now gone. ml.org is down
permanently.
> >
> > Does anyone know the new URL? I lost the html page that I saved
after
> > doing a clean install of redhat 6.0 and I need to know what were the
> > exact kernel configurations that needs enabling for the OPTi931
sound
> > card to work on 2.2, plus the isapnp.conf as well.
> >
> > Thanks,
> >
> > John Salvo
> >
> >
> > Sent via Deja.com http://www.deja.com/
> > Share what you know. Learn what you don't.
>
>
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
------------------------------
From: [EMAIL PROTECTED] (Mr S A Penny)
Crossposted-To: comp.os.linux.advocacy,linux.help,linux.news.groups,uk.comp.os.linux
Subject: Re: Commercially speaking....?
Date: 11 Jun 1999 13:40:36 GMT
In article <7i5r6a$lna$[EMAIL PROTECTED]>,
"Russ" <[EMAIL PROTECTED]> writes:
>
>Very Quickly - Doesn't the GPL say that you cannot sell the code or any code
>you used from it (or something very similar)??
very quickly, no. it specifically says you _can_ charge any amount you want
for GPL code, but points out that anyone with nouse won't pay it...
SammyTheSingle
--
[EMAIL PROTECTED] [EMAIL PROTECTED]
PHUAE / S.A.Penny@(dcs.)Warwick.ac.uk (E)TLA page www.warwick.ac.uk/~phuae/
www.warwick.ac.uk/~phuae/StSim/index.html --=<<latest update: 25/01/99>>==-
-=SF9=- a team based FPS game with AI by SammyTheSnake & JB www.symbiosys.org
------------------------------
From: [EMAIL PROTECTED] (Geoff Short)
Subject: Re: Question for vi expert
Date: 11 Jun 1999 13:51:42 GMT
[EMAIL PROTECTED] wrote:
: Hi all
: In vi I'd like to delete column 1-10 or 5-30 orso. I know this is
: possible in vi but I don't know how to do this.
:%!cut -c11-
That's colon mode, % for all file, ! to send to a shell command, cut to
just extract column 11 onwards.
: furthermore is it also possible to delete column 1-10 on lines 5-7?
:5,7!cut -c11-
Geoff
--
============================================================================
Ever sit and watch ants? They're always busy with Geoff Short
something, never stop for a moment. I just [EMAIL PROTECTED]
can't identify with that kind of work ethic. http://kipper.york.ac.uk/~geoff
------------------------------
From: "Matthew D. Melbert" <[EMAIL PROTECTED]>
Subject: Re: Samba and win95/nt
Date: 11 Jun 1999 09:41:34 -0500
Thanks for the help, but I am still having problems with windows 9.x and
windows nt.
I can log in to the first phase of the directory, but when I'm in my user
directory, I can't access the directories in there. When I click on the
directories from a windows 9.x or nt it will ask for another password. I
type in the same password that I used to access my user directory, but it
would give me a permission denied! On the linux box, I can access the
other computers with the windows os. Can anyone help? Thanks!
-A. Koo
Ben Short <[EMAIL PROTECTED]> wrote in article
<[EMAIL PROTECTED]>...
> In article <01beb376$0063b5c0$e701010a@ultra-001>, [EMAIL PROTECTED]
> says...
> >
> > After trying to get Samba set up in COL2.2 I finally was able to see
the
> > Icon in the win95 Network Neighborhood. So I thought I was home
> > free...right?? WRONG..anyway, I can see the computer in the Network
> > Neighborhood (win95 of course) and log into it. From there it gives me
a
> > "Public" directory and a directory with my username. When I try to
open
> > any of those directories I need to enter another password. Here is
where I
> > run into a problem. I get a "The Password is incorrect. Please try
again"
> > message. I try and enter every password that I know of under the
sun..and
> > nothing works. Is there a "*.conf" that I need to modify on the Linux
> > machine for passwords?? I have no idea what is going wrong. Please
help
> > me with any ideas.
> >
> >
> > Matthew D. Melbert
> >
> > ************************************
> > Intern
> > System Developement Group
> > ***********************************
> >
> This is probably because you are using win9x, which encrypts the
> passwords, but samba does tell you this :>
>
> in the [global] section of the smb.conf file, you can add:
> encrypt passwords = yes, then use the makesmbpasswd script to create an
> encypted db of passwords.
>
> Or you can go to
> \H_KEY_LOCAL_MACHINE\System\CurrentControlSet\Services\VxD\VNETSUP
> and make a new DWORD value called EnablePlainTextPassword, with a value
> of 1.
>
> Hope this helps
> Ben
> --
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> Ben Short http://www.shortboy.dhs.org
> Shortboy Productions mailto:[EMAIL PROTECTED]
>
> *Remove n0spam to email me*
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
>
------------------------------
From: "Matthew D. Melbert" <[EMAIL PROTECTED]>
Subject: Samba Connection Problem with Windows OS
Date: 11 Jun 1999 09:42:21 -0500
Thanks for the help, but I am still having problems with windows 9.x and
windows nt.
I can log in to the first phase of the directory, but when I'm in my user
directory, I can't access the directories in there. When I click on the
directories from a windows 9.x or nt it will ask for another password. I
type in the same password that I used to access my user directory, but it
would give me a permission denied! On the linux box, I can access the
other computers with the windows os. Can anyone help? Thanks!
-A. Koo
************************************
Intern
System Developement Group
***********************************
------------------------------
From: [EMAIL PROTECTED] (Mr S A Penny)
Crossposted-To: linux.redhat.misc,alt.uu.comp.os.linux.questions,uk.comp.os.linux
Subject: Re: prevent detection of 2nd HD
Date: 11 Jun 1999 14:38:20 GMT
In article <7i6u7l$u7a$[EMAIL PROTECTED]>,
[EMAIL PROTECTED] writes:
>In article
><[EMAIL PROTECTED]>,
> Michael McConnell <[EMAIL PROTECTED]> wrote:
>> On Fri, 21 May 1999, Paul Grayson wrote:
>>
>> > [EMAIL PROTECTED] wrote:
>> > >
>> > > How can I prevent Linux (or Windows, for that matter) from knowing
>about
>> > > the 2nd hard disk? I would like it to stay spun down, but every
>now and
>> > > then linux accesses it for whatever reason. (Windows does too.)
>The OS
>> > > is RH5.2.
>> > >
>> >
>> > Disconnect it! :-)
>>
>> On my system, I've told the BIOS the disc isn't there. Windows
>believes
>> that so doesn't touch it. Linux won't touch it unless a partition of
>sorts
>> is mounted... (in my case, my entire linux system, so Windows doesn't
>barf
>> all over it...again)
>
>I did the same already. Linux does touch it. At startup, when checking
>which partitions are there. Despite the fact that the HDD contains no
>Linux partitions. And there is no entry in /etc/fstab referencing to
>that HDD.
>
>If I'm not mistaken, Windows spins it up too every now and then without
>any BIOS entry; I do not understand when though.
it could be the hardware, when windows accesses the other hd on the same
ide channel, it could be that your hd or mb is getting it confused?
dunno, just a thought...
SammyTheSingle
--
[EMAIL PROTECTED] [EMAIL PROTECTED]
PHUAE / S.A.Penny@(dcs.)Warwick.ac.uk (E)TLA page www.warwick.ac.uk/~phuae/
www.warwick.ac.uk/~phuae/StSim/index.html --=<<latest update: 25/01/99>>==-
-=SF9=- a team based FPS game with AI by SammyTheSnake & JB www.symbiosys.org
------------------------------
From: Sid Boyce <[EMAIL PROTECTED]>
Subject: Re: duplicating a whole hd
Date: Fri, 11 Jun 1999 15:34:49 +0100
Using dd presumes equal sizes of HD, that is, if the HD you dd to is
larger than the original, you end up with unuseable space. My previous
post suggests a guaranteed method that copies all the files and
directories across from one HD to another without destroying the
partitions that have been set up on the second HD.
Regards
Sid.
============================================================================
Mohamad SALEH wrote:
>
> I use "dd" to do the same thing. The only problem with it is that you have
> to change the name and
> the address of each machine later and that depends on the version.
>
> It is mandatory to have disks "with the same geometry" if you plan to
> duplicate a part of the disk
> and not all of it. This is not necessary when you copy the whole disk in
> spite of the error messages
> that can come! The same geometry doesn't mean two disks of the same type,
> capacity, ...
> For example if you have two identical disks and you put one of them on
> primary IDE and the
> second on Secondary IDE, Linux may see them with different geometry.
> Any way, you can be sure that Linux see them them the same way if they are
> on the same
> IDE port.
>
> Suppose you have disks /dev/hda and /dev/hdb and you want to duplicate
> /dev/hda on /dev/hdb
> An example of what you can do is :
>
> dd if=/dev/hda of=/dev/hdb bs=5244880
>
> Please note that there is no spaces around the '=' signs. Any way to have
> more information about dd
> you can simply use "man dd".
--
... Sid Boyce...Amdahl(Europe)...44-121 422 0375
Any opinions expressed above are mine and do not necessarily represent
the opinions or policies of Amdahl Corporation.
------------------------------
From: Sid Boyce <[EMAIL PROTECTED]>
Subject: Re: duplicating a whole hd
Date: Fri, 11 Jun 1999 15:23:31 +0100
This is a multi-part message in MIME format.
==============16371ABC1B814C2D8BEB7A6C
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
I have a script called "hdcopy" appended. You need to mke2fs etc. the
second HD and mount it as /mnt. When the copy is finished, you make
mkdir /mnt and /proc which are excluded in the script.
You need to make a boot floppy, dd if=/vmlinuz (or whatever)
of=/dev/fd0 bs=16k. If you are using a different partition to boot from,
then you have to use rdev on the floppy to point it to the changed root
partition. Boot up on floppy into the new partition, then run lilo,
reboot on the new HD and you are done.
This process has been used succesffuly here up to a few weeks ago and
also by many people I've suggested it to.
Regards
Sid.
=================================================
Thomas Schelhorn wrote:
>
> Hi there!
>
> I spent several days with installing redhat 5.2 and a huge number of
> programs and tricky services on a pc. Now I've to built up exactly the
> same machines a few more times.
>
> I would like to make a kind of snapshot from the whole hd an duplicate
> it on another one (it's my master-hd and I've to boot from it).
>
> Does somebody know how to do it? Are there some programs which could
> manage this (I red something about a program called "dd" but couldn't
> find more information about it)?
>
> thanx a lot
> Thomas
>
> Sent via Deja.com http://www.deja.com/
> Share what you know. Learn what you don't.
--
... Sid Boyce...Amdahl(Europe)...44-121 422 0375
Any opinions expressed above are mine and do not necessarily represent
the opinions or policies of Amdahl Corporation.
==============16371ABC1B814C2D8BEB7A6C
Content-Type: text/plain; charset=us-ascii; name="hdcopy"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="hdcopy"
umask 000
(cd /; tar -cf - . --atime-preserve -p --exclude=proc --exclude=mnt) | tar -xvf -
--atime-preserve -p
umask 002
==============16371ABC1B814C2D8BEB7A6C==
------------------------------
From: [EMAIL PROTECTED] (Jon Skeet)
Subject: Re: passwd: Conversation error
Date: Fri, 11 Jun 1999 15:24:44 +0100
[EMAIL PROTECTED] wrote:
> I am trying to change password using a shell script (RH 6.0).
> I read it could be done by using this lines in the script:
<snip>
This is interesting, as not only have I been looking at the same problem,
but someone else has been posting about it recently too.
In the end I went another route, but you may want to have a look at
expect. It looks like it could do the trick but was a bit too complicated
for me to bother dabbling with given that I'd already got my fix.
--
Jon Skeet - [EMAIL PROTECTED]
http://www.pobox.com/~skeet/
------------------------------
** 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
******************************