Linux-Misc Digest #177, Volume #25               Wed, 19 Jul 00 08:13:02 EDT

Contents:
  Re: Defraging against LILO? (Villy Kruse)
  Re: strange tar behaviour (Villy Kruse)
  Re: Interesting network question (Thomas Hommel)
  /etc/login script ([EMAIL PROTECTED])
  non-English letters in xterm (Stefano Ghirlanda)
  FAT16/FAT32 Partition not visible (StarOffice/JBuilder) (Cyrill Steiner)
  Re: Logging with timestamp ("Peter T. Breuer")
  Logitech Quickcam VC ("Kirmo Koistinen")
  Re: learning linux (Martijn Brouwer)
  Re: is there a port to windows media player? (Erik de Castro Lopo)
  Installation Problem with RH ("Hartmut Marten")
  Linux, here i come - but one BIG problem stopping me (Peter Lairo)
  Re: How to change runlevel at boot time ? (Sid Thomas)
  Re: wanted: convertor .ps -> .eps (J Bland)
  Help on Mail Server ??? ("Benson Lei")
  Re: Need Library File (Rasputin)
  Re: Linux, here i come - but one BIG problem stopping me ("max barwell")

----------------------------------------------------------------------------

From: [EMAIL PROTECTED] (Villy Kruse)
Crossposted-To: comp.os.linux.setup
Subject: Re: Defraging against LILO?
Date: 19 Jul 2000 08:11:45 GMT

On Tue, 18 Jul 2000 10:26:08 +0100, Unai Garro <[EMAIL PROTECTED]> wrote:
>
>Hi all,
>
>I wonder if someone might know what the solution for my problem could
>be. I know some other people that had the same problem, but no one knew
>how to solve it.
>
>I had installed both Linux Mandrake 7.0 and the Win98 on the same hard
>disk, when I decided to defragment the disk under Windoze. I thought
>that this should not be a problem, because Windows was not able to 'see'
>the Linux partitions. It has however destroyed the LILO, so it is not
>possible to boot up neither Linux nor Windoze.
>
>Someone told me that it might be possible to recover the system by
>reinstalling the linux as an upgrade, and that it would recover the
>LILO, but it was not possible to reinstall it, because it seems that it
>has also destroyed the partition system of Linux.
>
>Does anyone know if it is possible to recover the system after this
>problem, or any idea how to defrag the hard disk without destroying the
>Linux?
>



Doing defrag in windows does not do anything to lilo or linux file
systems, unless there are special circumstances we don't know about.
If this is not fixed then the problem will turn up again some time later.

One posibility is that the windows file system is larger than the
partition where it is located.  Once created the size of a vfat file
system is taken from the file system itself, not from the partition table,
even if you rerun the format command to create a new vfat file system.
The windows system will then be more than happy to trample on the contens
on the next partition.  Nothing appears to happen as long as the end of
the vfat file system remains unallocated, but defrag will for sure put
temporary files at the end of the file system.

The FIPS program is able to detect this condition, and in fact I've seen
some systems with pre-installed windows that had this exact problem and
FIPS detected this when trying to split the partition.


Another posibility is that if you copy the vmlinuz and the other /boot
components to a vfat file system, then if defrag moves around with these
files the lilo will no longer work.  In this case you should always have
a copy of loadlin on the vfat file system just in case, and also make
the components from the /boot directory 'system' and 'hidden' so defrag
won't move them.





Villy

------------------------------

From: [EMAIL PROTECTED] (Villy Kruse)
Subject: Re: strange tar behaviour
Date: 19 Jul 2000 08:23:19 GMT

On Tue, 18 Jul 2000 12:59:01 GMT, -ljl- <[EMAIL PROTECTED]> wrote:
>In article <8kv0pp$l9k$[EMAIL PROTECTED]>,
>  "Andreas Moroder" <andreas[nospam][EMAIL PROTECTED]> wrote:
>> Hello,
>>
>> If I write two "sessions" to tar session on the norewind scsi device,
>> ex.
>> tar cvf /dev/nst0 dir1
>> tar cvf /dev/nst0 dir2
>>
>> all works well.
>>
>> I I want to read the data written, I must call three times
>>
>> tar tvf /dev/nst0
>>
>> the first time it reads the dir1
>> the second simply does nothing
>> and the 3th reads dir2.
>
>This is expected behavior; use 'mt' to position the tape before reading.
>There appears to be several different behaviors for tar; BSD, SysV,
>... .
>

Is it???

On most systems I've seen, if you read from the no-rewind tape unit until
EOF then the tape will be in position to read the next tape file.  If you
close the no-rewind tape unit before EOF it will forward space until the
next tape mark and be positioned at the beginning of the next tape file.


Villy

------------------------------

From: Thomas Hommel <[EMAIL PROTECTED]>
Subject: Re: Interesting network question
Date: Wed, 19 Jul 2000 10:39:15 +0200

Should be no problem. I�ve never set up ICS, but all you have to do is
setting the default gateway on your linux box to the windoze box�s IP
address and surf. No other programs are necessary (except you want to
use a proxy or something).

Tom

Gabe wrote:
> 
> Hey all you brilliant network folk, I need help...
> 
> I currently have a windows 98 machine connected to modem and running its
> internet connection sharing. I want to get a linux box (mandrake 7)
> connected to the network and be able to access the internet through the
> win 98 machine's ICS. Does anyone know how to do this without purchasing
> a program for windows. I have successfully set up linux to perform the
> internet sharing, but was wondering if this would be possible.
> 
> Thanks
> Gabe

------------------------------

From: [EMAIL PROTECTED]
Subject: /etc/login script
Date: Wed, 19 Jul 2000 08:30:01 GMT

Hi Folks,

By trying to edit the behaviour of my linux box's reaction to incorrect
passwords, I have corrupted my /etc/login file and therefore can not
login using telnet.

Can anyone please send a version of their /etc/login file to me so that
I can login with telnet. The linux version I am running is 2.0.29.

Thankyou very much for your help.

Wiliam


Sent via Deja.com http://www.deja.com/
Before you buy.

------------------------------

From: [EMAIL PROTECTED] (Stefano Ghirlanda)
Crossposted-To: alt.os.linux.slackware
Subject: non-English letters in xterm
Date: 19 Jul 2000 09:01:07 GMT

Hi,
I am having problems with non-English characters display in xterm.
First I have to say that all other applications that I care about
work: emacs, netscape, lyx and even the vi I'm usign now and pine
inside an xterm - mybe this points to bash as the problem?

The language I'm interested into is Swedish, whose characters are
in the iso-latin-8859-1 set.

Characters on the console also do not work, but at the login prompt
do.

Thanks for any help,
Stefano


------------------------------

Date: Wed, 19 Jul 2000 11:06:36 +0200
From: Cyrill Steiner <[EMAIL PROTECTED]>
Subject: FAT16/FAT32 Partition not visible (StarOffice/JBuilder)

On my machine I have WIN98/WinNT/Linux and therefore FAT16/32, NTFS and
ext2 partitions. Normaly under linux (only of course!!) I can read all
the partitions and I have access to all the files with Midnight
Commander, kfm, terminal and all the other programs. But with 
StarOffice 5.1 and Borlands JavaBuilder I can only see the files of the
ext2 and NTFS partitions, but not of the FAT16/FAT32 partitions (where I
normaly store my data because it is the only partition which is readable
by all three operating systems).

Who knows this problem ?

Who knows a solution to this problem ?


Thank you very much,

Cyrill

------------------------------

From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: Logging with timestamp
Date: 19 Jul 2000 09:19:30 GMT

[EMAIL PROTECTED] wrote:
: Is there any way to log when, which and by whom commands were issued?

No. If you want them their shell to log their commands, change their
shell to one that does! (in bash, reading their history file will do
fine ...). This won't stop them using another shell. You might
also consider modifying the system() and exec() calls in libc.


Peter

------------------------------

From: "Kirmo Koistinen" <[EMAIL PROTECTED]>
Subject: Logitech Quickcam VC
Date: Wed, 19 Jul 2000 09:42:39 GMT

Howdy. Have anyone got this camera working propertly under linux? I havent
found any working drivers to this and some time ago they werent even made
and I am not sure if there still are working drivers but if you know
something about it please tell me.

- Kirmo



------------------------------

From: [EMAIL PROTECTED] (Martijn Brouwer)
Subject: Re: learning linux
Date: 19 Jul 2000 09:40:56 GMT

>hi all i am learning redhat 5.1 at school and i think it is finally
>getting me hooked. anyway what i am wanting to know is what books are
>available in Australia for learning linux RH for newbies. stuff like
>installation, setup, customisation etc...

the book that comes with redhat. I am quite sure that you can download it 
also. A more general and highly recommended book for learning Linux is 
'Running Linux' published by O'Reilly.

Succes,

Martijn


------------------------------

From: Erik de Castro Lopo <[EMAIL PROTECTED]>
Crossposted-To: 
comp.os.linux.development.apps,comp.os.linux.development.system,comp.os.linux.setup,comp.os.linux.x
Subject: Re: is there a port to windows media player?
Date: Wed, 19 Jul 2000 10:00:58 +0000

Dave Blake wrote:
> 
> Stewart Honsberger <[EMAIL PROTECTED]> wrote:
> 
> > He only said that there are plenty of .asp only sources. I
> > offered him an alternative. Since Microsoft isn't being very
> > forthcoming in offering either a port of their product or the
> > structs of their format, I'd just as soon abandon it completely
> > in favour of something more open.
> 
> http://wmformatsdk.smdisp.net/rtm/
> 
> This is the media format software developer kit, of course a
> Windows Executable. But it should provide adequate descriptions
> of the media for the willing.

No it doesn't :-). All it provides are header files and examples for
using the Windows libraries on Windows. It does not in any way 
describe the file format or how to decode/encode the files.

Erik
-- 
+-------------------------------------------------+
     Erik de Castro Lopo     [EMAIL PROTECTED]
+-------------------------------------------------+
Everything that I've learned about computers I have boiled 
down into three principles:
  Unix: You think it won't work, but if you find the right 
        guru, you can make it work.
  Macintosh: You think it will work, but it won't.
  PC/Windows: You think it won't work, and it won't.

------------------------------

From: "Hartmut Marten" <[EMAIL PROTECTED]>
Subject: Installation Problem with RH
Date: Wed, 19 Jul 2000 12:25:10 +0200

Hi,

why the hell is Red Hat (5.x - 6.2) refusing my disk's partition table? I am
definitly unable to install Red Hat in text mode, in expert mode, in every
mode I try. When it comes to partitioning Red Hat complains about the
partition table (error: no free resources). I admit, the partition table is
rather complicated, with OS/2 bootmanager first (activated), two extra
primary partitions for the bunch of Windows/DOS versions and an extended one
for data and playing around with e.g. linux. Slackware, SuSE, Debian ... no
problem. Each of these distributions recognizes the partition table and
easily installs bootable through OS/2 bootmanager/lilo. Why does Red Hat
not?

TIA
Hartmut



------------------------------

From: Peter Lairo <[EMAIL PROTECTED]>
Subject: Linux, here i come - but one BIG problem stopping me
Date: Wed, 19 Jul 2000 13:21:41 +0200

Hi,

i wanted to get ready to install Corel Linux last night and installed
partition magic to partition my hard drive (currently 2 win98 fat32
partitions).

when i ran partition magic, it gave the following error:

        Error #108: Partition didn't end on cylinder boundary.

Any ideas on how i can fix this mess so i can create some partitions for
linux???

==========================================================
Here is what i got after running "partinfo.exe":
==========================================================

Partition Information Program 
May 12 1997 - DOS Version 
Copyright (c) 1994-1997, PowerQuest Corporation 
Permission is granted for this utility to be freely copied so long 
as it is not modified in any way.  All other rights are reserved. 

PowerQuest, makers of PartitionMagic, can be reached at 
  Voice: 801-437-8900   Web site: http://www.powerquest.com 
  Fax:   801-226-8941   Email:    [EMAIL PROTECTED] 

============================================================== 
Disk 0:  32760 Cylinders, 16 Heads, 63 Sectors/Track. 
The BIOS supports INT 13h extensions for this drive. 
====================== Partition Tables ====================== 
Partition      ----Begin----    ------End-----   Start     Num 
Sector  # Boot Cyl Head Sect FS  Cyl Head Sect    Sect   Sects 
======= = ==== === ==== ==== == ==== ==== ==== ======= ======= 
      0 0 80     0    1    1 0C 1023  254   63      6324579387 
Info: Begin C,H,S values were large drive placeholders. 
Info: End C,H,S values were large drive placeholders. 
  Actual values are: 
      0 0 80     0    1    1 0C24384    5   63      6324579387 
Error #108: Partition didn't end on cylinder boundary. 
  ucEndHead expected to be 15, not 5. 
      0 1 00  1023    0    1 0F 1023  254   6324579450 8434125 
Info: Begin C,H,S values were large drive placeholders. 
Info: End C,H,S values were large drive placeholders. 
  Actual values are: 
      0 1 00 24384    6    1 0F32751    8   6324579450 8434125 
Info: Partition didn't begin on head boundary. 
  ucBeginHead expected to be 0 or 1, not 6. 
Info: Partition didn't end on cylinder boundary. 
  ucEndHead expected to be 15, not 8. 
Warning: Logical drive chain points to sector without partition table. 

======================================================================== 
Disk 0:  16124.1 Megabytes 
========================= Partition Information ======================== 
Volume        Partition                        Partition   Start   Total 
Letter:Label  Type            Status   Size MB Sector  #  Sector Sectors 
============= =============== ======== ======= ======= = ======= ======= 
              FAT32X          Pri,Boot 12001.7       0 0      6324579387 
              ExtendedX       Pri       4118.2       0 124579450 8434125 
              EPBR            Log          0.0    None -24579450      63 
              Free Space      Log       4117.6    None -24580080 8432928 
              Free Space      Pri          3.9    None -33014016    8064 
-- 

Regards,

Peter Lairo

------------------------------

Date: Wed, 19 Jul 2000 06:16:58 -0400
From: Sid Thomas <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.x,comp.os.linux.setup,comp.os.linux.redhat
Subject: Re: How to change runlevel at boot time ?

Perry Pip wrote:

> See /etc/inittab
> and `man inittab`
>
> On Tue, 18 Jul 2000 08:00:29 GMT,
> mikey <[EMAIL PROTECTED]> wrote:
> >Hi,
> >
> >I would like to change run level at boot time. Normally it defaults to 5. But
> >sometimes I don't want xdm. (say there is a prob with my xconfig etc.) I read
> >all relevant HOWTOS, and found nothing. I thought I should be able to pass it
> >to the kernel from lilo ?
> >
> >Regards,
> >Mike
> >
> >
> >Sent via Deja.com http://www.deja.com/
> >Before you buy.

If you want to boot to the command line one time only then.... at the Lilo
prompt, type 'linux 3'. This will not change your defaults.

Sid Thomas


------------------------------

From: [EMAIL PROTECTED] (J Bland)
Subject: Re: wanted: convertor .ps -> .eps
Date: 19 Jul 2000 11:25:11 GMT

On Tue, 18 Jul 2000 20:21:04 +0000, Dmitri V <[EMAIL PROTECTED]> wrote:
>Martijn Brouwer wrote:
>> 
>> Does anybody know a good and simple program that can convert postscript
>> files to encapsulated postscript?
>> 

pstoedit.

http://www.geocities.com/SiliconValley/Network/1958/pstoedit/

Very cool program for converting from postscript to various other vector
formats including a host of editable ones (hence the name).

Frinky

------------------------------

From: "Benson Lei" <[EMAIL PROTECTED]>
Subject: Help on Mail Server ???
Date: Wed, 19 Jul 2000 19:39:19 -0700

Hi,

I found a problem on my Mail Server, that a user sends out email message
recursely.

The error I received :
1)    httpd: no process killed
        error running postrotate script

2)   errors occured while rotating /var/log/lastlog

3)   errors occured while rotating /var/log/maillog
      stat of /var/log/maillog failed : no such file or directory

there are errors I received are similar to these above scripts.

What is the problem ???

Help



------------------------------

From: [EMAIL PROTECTED] (Rasputin)
Subject: Re: Need Library File
Reply-To: [EMAIL PROTECTED]
Date: Wed, 19 Jul 2000 12:07:32 GMT

[EMAIL PROTECTED] <Mike Fontenot> wrote:
>
>I need to replace a library file,
>
>  libasound.so.1
>
>that somehow got deleted from my system.  (It's in
>the /usr/lib directory).  Can anyone
>tell me how to get a copy somewhere?  Everywhere I've
>looked (including on my own SuSE 6.4 cd's), there are
>only packages (bundles of files), not individual files.
>
>        Mike Fontenot
>        [EMAIL PROTECTED]


rpm -qf /path/to/file tells you what rpm installed the file.

If it doesn't work because the file isn't there, try fooling it 
by creating a dummy...

-- 

Rasputin.
Jack of All Trades - Master of Nuns.

------------------------------

From: "max barwell" <[EMAIL PROTECTED]>
Subject: Re: Linux, here i come - but one BIG problem stopping me
Date: Thu, 20 Jul 2000 00:01:45 +1200

go to www.powerquest.com for an explanation of error codes.

In article <[EMAIL PROTECTED]>, Peter Lairo <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> i wanted to get ready to install Corel Linux last night and installed
> partition magic to partition my hard drive (currently 2 win98 fat32
> partitions).
> 
> when i ran partition magic, it gave the following error:
> 
>       Error #108: Partition didn't end on cylinder boundary.
> 
> Any ideas on how i can fix this mess so i can create some partitions for
> linux???
> 
> ----------------------------------------------------------
> Here is what i got after running "partinfo.exe":
> ----------------------------------------------------------
> 
> Partition Information Program  May 12 1997 - DOS Version  Copyright (c)
> 1994-1997, PowerQuest Corporation  Permission is granted for this
> utility to be freely copied so long  as it is not modified in any way. 
> All other rights are reserved. 
> 
> PowerQuest, makers of PartitionMagic, can be reached at 
>   Voice: 801-437-8900   Web site: http://www.powerquest.com  Fax:  
>   801-226-8941   Email:    [EMAIL PROTECTED] 
> 
> ============================================================== 
> Disk 0:  32760 Cylinders, 16 Heads, 63 Sectors/Track.  The BIOS supports
> INT 13h extensions for this drive. 
> ====================== Partition Tables ====================== 
> Partition      ----Begin----    ------End-----   Start     Num  Sector 
> # Boot Cyl Head Sect FS  Cyl Head Sect    Sect   Sects 
> ------- - ---- --- ---- ---- -- ---- ---- ---- ------- ------- 
>       0 0 80     0    1    1 0C 1023  254   63      6324579387 
> Info: Begin C,H,S values were large drive placeholders.  Info: End C,H,S
> values were large drive placeholders. 
>   Actual values are: 
>       0 0 80     0    1    1 0C24384    5   63      6324579387 
> Error #108: Partition didn't end on cylinder boundary. 
>   ucEndHead expected to be 15, not 5. 
>       0 1 00  1023    0    1 0F 1023  254   6324579450 8434125 
> Info: Begin C,H,S values were large drive placeholders.  Info: End C,H,S
> values were large drive placeholders. 
>   Actual values are: 
>       0 1 00 24384    6    1 0F32751    8   6324579450 8434125 
> Info: Partition didn't begin on head boundary. 
>   ucBeginHead expected to be 0 or 1, not 6. 
> Info: Partition didn't end on cylinder boundary. 
>   ucEndHead expected to be 15, not 8. 
> Warning: Logical drive chain points to sector without partition table. 
> 
> ========================================================================
> Disk 0:  16124.1 Megabytes 
> ========================= Partition Information ========================
> Volume        Partition                        Partition   Start   Total
>  Letter:Label  Type            Status   Size MB Sector  #  Sector
> Sectors 
> ------------- --------------- -------- ------- ------- - ------- -------
>               FAT32X          Pri,Boot 12001.7       0 0      6324579387
>                ExtendedX       Pri       4118.2       0 124579450
>               8434125  EPBR            Log          0.0    None
>               -24579450      63  Free Space      Log       4117.6   
>               None -24580080 8432928  Free Space      Pri          3.9  
>                None -33014016    8064 


-- 
======================================
-     Max Barwell     - - Powered by -
- [EMAIL PROTECTED] - - Redhat 6.2 -
======================================

------------------------------


** 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
******************************

Reply via email to