Linux-Setup Digest #159, Volume #20               Mon, 4 Dec 00 11:13:07 EST

Contents:
  LG ide cd-rw on RH 6.2 ("L. Ma")
  Re: TZ87 DLT drive ? (John Beardmore)
  Re: Binary diff ? (John Beardmore)
  Two modems on one machine? ("jf arocha")
  Problem on my IBM ThinkPad ("Y W Wong")
  partition info ("theguy")
  Re: scie emulation / cd burners (Douglas E. Mitton)
  Re: Oracle 8i on RH Linux 7.0 ([EMAIL PROTECTED])
  Re: I am confident you will help me with "LI" from LILO ("Ross Jendrejcik")
  Re: fdisk (Eric)
  Re: partition info (Eric)
  Re: cannot boot RH7 on Win2K dual-boot setup (Eric)
  Re: PLIP and route (Huw Lynes)
  help with printtool. ("Kenny@BUI")
  Re: Cannot mount all Linux partitions (Moonshiner)
  SSH WORKS!: Disable telnet? ("Yavin")

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

From: "L. Ma" <[EMAIL PROTECTED]>
Subject: LG ide cd-rw on RH 6.2
Date: Mon, 04 Dec 2000 14:12:26 GMT

Hi there,

I got a new PIII 800 with LG CED-8080B. The OS is Redhat 6.2
with kernel upgraded to 2.2.16-3. The problem is that I couldn't
make the LG CD-RW work with cdrecord 1.9.

This is what I did:

1. Kernel config

CONFIG_BLK_DEV_IDECD is not set
CONFIG_BLK_DEV_IDSCSI=m

CONFIG_SCSI=y
CONFIG_BLK_DEV_SD=y
CONFIG_CHR_DEV_ST=m
CONFIG_BLK_DEV_SR=m
CONFIG_BLK_DEV_SR_VENDOR=y
CONFIG_CHR_DEV_SG=m

2. Load moduls at boot time

Added

options ide-cd ignore=hdb
options ide-cd ignore=hdc
alias scd0 sr_mod
alias scd1 sr_mod
pre-install sg       modprobe ide-scsi
pre-install sr_mod   modprobe ide-scsi
pre-install ide-scsi modprobe ide-cd

in /etc/conf.module.

Added

 append="hdb=ide-scsi hdc=ide-scsi"

in /etc/lilo.conf.

3. After boot,  I checked all modules scsi_mod, sg,
sr_mod, loop, iso9660, and ide-scsi are loaded.
Also all devices /dev/loop0-7 and /dev/sg0-7 are
created by following script provided in CD writing HOWTO

umask -S u=rwx,g=rwx,o-rwx
[ -f loop0 ] \
    || ./MAKEDEV loop \
    || for i in 0 1 2 3 4 5 6 7; do mknod loop$i b 7 $i; done
[ -f sg0 -o -f sga ] \
    || ./MAKEDEV sg \
    || for i in 0 1 2 3 4 5 6 7; do mknod sg$i  c 21 $i; done

4. Then run "cdrecord -scanbus" by root always gives me

Cdrecord 1.9 (i686-pc-linux-gnu) Copyright (C) 1995-2000 J�rg Schilling
cdrecord: No such file or directory. Cannot open SCSI driver.
cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you are
root.

5. Check with dmesg, it seems the cd-rw is alway configured as hdc,
even if I disabled parameter ide-cd in the kernel.

Here is what I saw from dmesg:

hda: SAMSUNG SV2044D, ATA DISK drive
hdb: CD-ROM 50X L, ATAPI CDROM drive
hdc: LG CD-RW CED-8080B, ATAPI CDROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: SAMSUNG SV2044D, 19464MB w/472kB Cache, CHS=2481/255/63
hdb: ATAPI 50X CD-ROM drive, 128kB Cache
Uniform CD-ROM driver Revision: 3.10
hdc: ATAPI 32X CD-ROM CD-R/RW drive, 2048kB Cache
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
md driver 0.90.0 MAX_MD_DEVS=256, MAX_REAL=12
raid5: measuring checksumming speed
raid5: MMX detected, trying high-speed MMX checksum routines
   pII_mmx   :  1773.555 MB/sec
   p5_mmx    :  1863.090 MB/sec
   8regs     :  1369.695 MB/sec
   32regs    :   778.383 MB/sec
using fastest function: p5_mmx (1863.090 MB/sec)
scsi : 0 hosts.
scsi : detected total.
md.c: sizeof(mdp_super_t) = 4096

......

CSLIP: code copyright 1989 Regents of the University of California
PPP: version 2.3.7 (demand dialling)
PPP line discipline registered.
registered device ppp0
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
scsi : 1 host.

I have searched for helpful information on Internet all along, it seems
nothing gives me more than the CD writing HOWTO. Has anyone
configured the LG CD-RW successfully? Please help me. Any input
will be greatly appreciated.

Thanks in advance.

Liang
[EMAIL PROTECTED]





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

From: John Beardmore <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.alpha
Subject: Re: TZ87 DLT drive ?
Date: Mon, 4 Dec 2000 12:27:19 +0000

In article <[EMAIL PROTECTED]>, Ron Farrer
<[EMAIL PROTECTED]> writes
>In article <[EMAIL PROTECTED]>, John Beardmore wrote:

>>I got a drive labelled TZ87 in an old Alpha box that I've now put Linux
>>on.  Does Linux support it ?
>>
>>I don't know anything about this drive, but the front looks DLT like to
>>me.
>>
>>Can anybody confirm this, and if so, what media does it use and is there
>>anything to chose between them ?
>>
>>Is there backup software for Linux beyond tar and gzip ?
>
>Yes it is a DLT drive. I have one right here. Linux works just fine with
>them.

How does it manifest in /dev ?


> You can use tar, dump, or any other backup app that supports tape 
>drives. It uses:
>
>DLTtape II - 1/2" cartridge tape part #TK85K-02 (about $60 USD)
>DLT Cleaning Tape III part #TK85-HC

Those look like DEC part numbers. Are generics OK ?


>Feel free to contact me if you have any questions.

Thanks.


Cheers, J/.
-- 
John Beardmore

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

From: John Beardmore <[EMAIL PROTECTED]>
Subject: Re: Binary diff ?
Date: Mon, 4 Dec 2000 12:28:19 +0000

In article <[EMAIL PROTECTED]>, Villy
Kruse <[EMAIL PROTECTED]> writes
>On Wed, 29 Nov 2000 00:59:23 +0000,
>         John Beardmore <[EMAIL PROTECTED]> wrote:

>>What does Linux do for a recursive binary diff utility ?
>
>diff -rus dir1 dir2
>
>It will compare the binary files and tell you if they are identical or not.
>For text files you also get what the differences are.

Thanks !  Seems to work well !


Cheers, J/.
-- 
John Beardmore

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

From: "jf arocha" <[EMAIL PROTECTED]>
Subject: Two modems on one machine?
Date: Mon, 04 Dec 2000 14:14:40 GMT

Please help. I have a dual-boot  machine with an internal winmodem which
works well with Windows (AOpen  FM56-SLM), but of course it is not
recognized by Linux. I have also an external modem (USRobotics 56k) which
was working perfectly on my old Macintosh and I want to attach it to my
dual-boot machine. The question is can I install it to work with Linux. even
though the winmodem installed? Or do I have to de-install the winmodem
first? I tried to make it work but no luck so far.

francisco



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

From: "Y W Wong" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.misc,comp.os.linux.networking
Subject: Problem on my IBM ThinkPad
Date: Mon, 4 Dec 2000 22:20:59 +0800

Dear all,

I have install RedHat 6.2 on my IBM ThinkPad 765L, config as below :-

Pentium 166MMX
80MB RAM
3GB HD
CDROM
Xircom IIPs 10Mbps ethernet card

However I found that the ping become slower and slower even I ping my own IP
address.
The first turnaround time is 0.4ms
The second is 4000ms
The third is 8000ms
The 4th is 16000ms
The 5th is 20000ms


Any one know what is the problem and any suggestion ?

Many thanks,

Y W Wong




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

From: "theguy" <[EMAIL PROTECTED]>
Subject: partition info
Date: Mon, 4 Dec 2000 22:23:20 -0800

hi,
   if hd1 refers to the first partition drive that is my  primary drive c:\
, does does my D:\  drive means hd2???  my hard disk is now separated into 3
part
the unused space will be for linux installation.  So in linux term will my
unused drive call hd2
pls correct me if i`m wrong.

best regards,
theguy

=========================================================
|   C:\             |  unused space          |    D:\                     |
=========================================================

info of C:\  ==> First physical sector  :         63        ( Cyl 0, hd1,
sect 1)
                         Last physical sector  : 11,759,579  (Cyl 731, hd
254 , sect 63)
                         Total physical sector :11,759,517   ( 5,742.0MB )

info of unused ==> First physical sector  : 11,759,580     ( Cyl 732, hd0,
sect 1)
                              Last physical sector  : 16,032,869     (Cyl
997, hd 254 , sect 63)
                             Total physical sector :  4,273,290
 2,086.0MB )

info of D:\ ==> First physical sector  : 16,032,933    (  Cyl 998, hd1, sect
1)
                        Last physical sector  : 20,033,054    (Cyl 1246, hd
254 , sect 63)
                        Total physical sector :  4,000,122
    ( 1,953.2.0MB )




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

From: [EMAIL PROTECTED] (Douglas E. Mitton)
Subject: Re: scie emulation / cd burners
Date: Mon, 04 Dec 2000 14:27:37 GMT

You haven't mentioned which Linux distribution you are using BUT if it
is mandrake no kernel compiling is required, all the modules are
already there.

On my Mandrake 7.0 (originally on Mandrake 6.1) installation I got the
burner working with the following process:

1) As root tell Linux not to grab the CDWriter as IDE.
   - Since I only have one CD this may change for you.
   - You can also do this at the LILO prompt BUT this is the permanet
      solution.
   - Edit /etc/lilo.conf ... make the Linux section look something 
     like (depending on where your CDR is ... mine is on /dev/hdb) ...

# Linux bootable partition config begins
image = /boot/vmlinuz
  root = /dev/hda4
  label = linux
  append="hdb=ide-scsi"
  read-only # Non-UMSDOS filesystems should be mounted read-only for
checking
# Linux bootable partition config ends

1a) Issue the "lilo" command to make the change active.

2) On boot tell linux to load the scsi-ide module.
   Edit the /etc/rc.d/rc.local file, and near the end add:

echo "Activating IDE-SCSI emulation for CD-RW!"
rmmod ide-cd
insmod ide-scsi

3) Point the CDROM link to the new device:
    ln -s /dev/scd0 /dev/cdrom

Now reboot linux and see if it works.

4) Check it ...
   From the shell type "cdrecord -scanbus" ... something like this
should   result ...

Mitton<p3>root:~# cdrecord -scanbus
Cdrecord release 1.6.1 Copyright (C) 1995-1998 Jrg Schilling
scsibus0:
                  0) 'CREATIVE' 'CD-RW RW6424E   ' '1.41' Removable
CD-ROM
                  1) *
                  2) *
                  3) *
                  4) *
                  5) *
                  6) *
                  7) *
Mitton<p3>root:~# 

On Fri, 01 Dec 2000 13:51:31 -0500, "David O. Miller"
<[EMAIL PROTECTED]> wrote:

>I am dreadfully confused about setting up an IDE/ATAPI CD burner in
>Linux. I think I have the general idea. I need to make it appear that the
>CD burner is a SCSI device instead of an IDE device. Correct? I
>understand that I need to 'mess' with the kernal (being a newbie, this
>makes me nervous). I've read the CD-Writer HOW-TO but am still confused.
>I want to be crystal clear before I start messing around.
>
>Any help or suggestions that may help me understand this process will be
>greatly appreciated.
>
>TIA,
>Dave

================================================
The FACTS are my Employers, OPINIONS are my own!

Sorry: SPAM reduction project in progress:
       Remove the "x." from my domain to reply!
================================================

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

From: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.misc,comp.os.linux.networking,comp.os.linux.security
Subject: Re: Oracle 8i on RH Linux 7.0
Date: Mon, 04 Dec 2000 14:38:38 GMT

here is a workaround i used to get oracle 8.1.7 working on rh7.0

i took it from the bugzilla...and it works quite well on my system

thanks to that guy

:o)

http://ftp.valinux.com/pub/support/hjl/glibc/sdk/2.1/README

http://ftp.valinux.com/pub/support/hjl/glibc/sdk/2.1/README.Oracle8i

http://ftp.valinux.com/pub/support/hjl/glibc/sdk/2.1/i386-glibc-2.1-linu
x.tar.gz



In article <[EMAIL PROTECTED]>,
  Scott Schaefer <[EMAIL PROTECTED]> wrote:
> This is a known problem, the cause of which was, last I knew,
> still being debated between Oracle and Redhat, though it it pretty
> certain it is related to Java and the newer glibc...
>
> See http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=18391
>
> Lamar Thomas wrote:
> >
> > I am running Red Hat Linux 7.0 and I just installed Oracle 8i for
Linux on
> > it.
> > Near the end of the installation the wizard stated that it was
"Initializing
> > Database".  That's where it hung.  I let if set over night but that
did not
> > do any good.  The rest of the install went just fine.  Can anyone
help?
> > Thanks,
> >
> > Lamar
>


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

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

From: "Ross Jendrejcik" <[EMAIL PROTECTED]>
Subject: Re: I am confident you will help me with "LI" from LILO
Date: Mon, 4 Dec 2000 15:46:41 +0100

Boot from boot disk and type "lilo"

"Dan Jacobson" <[EMAIL PROTECTED]> wrote in message
news:9036u2$mal$[EMAIL PROTECTED]...
> I am confident you will help me with "LI" from LILO.  This is
> as far as my Mandrake 7.2 boot gets.  The boot from floppy works though.
> I replaced grub as you said lilo has better documentation, this fact is
> mentioned
> on the lilo and lilo.conf man pages also, though they say not where that
> documentation
> is to be had.   Grub had stopped after "stage1".
> Anyways, below I present some BIOS info,
> my lilo.conf, fdisk -l, and lilo -t -v -v -v output.
> I have only tinkered with the lba/linear choice in
> the default lilo.conf, which I restored back anyway.
> Yes one doesn't use -t to install, I know.
> No, I don't think it's a bios thing, as I remember previous
> sucesses with past versions of Mandrake.
> I do note that while I'm looking at the stalled "LI",
> above it there is Bios info:
> Primary Slave Disk: CHS, UDMA
> whereas the Primary Master is LBA, UMDA.
> Therefore my boot disk (hdb) isn't LBA?  Now what?
> I am confident that if I present all required information,
> you experts will solve my problem.  Tell me if there is
> more information needed.
>
> BIOS Date: 01/22/98
> BIOS Type: Award Modular BIOS v4.51PG
> BIOS ID:   01/22/98-SiS-5598-<SP97_V>C-00
> BIOS Eval: #401A0-0106v
> Chipset:   SiS 5597 rev 2
> Superio:   Winbond 877F (use 87h) rev 0 found at port 3F0h
>
> # cat /etc/lilo.conf
>
> boot=/dev/hdb
> map=/boot/map
> install=/boot/boot.b
> vga=normal
> default=linux
> keytable=/boot/us.klt
> lba32
> #linear  #tried them both
> prompt
> timeout=150
> message=/boot/message
> menu-scheme=wb:bw:wb:bw
> image=/boot/vmlinuz
>  label=linux
>  root=/dev/hdb1
>  initrd=/boot/initrd.img
>  append=" hdc=ide-scsi"
>  read-only
> image=/boot/vmlinuz
>  label=failsafe
>  root=/dev/hdb1
>  initrd=/boot/initrd.img
>  append=" hdc=ide-scsi failsafe"
>  read-only
> other=/dev/hda1
>  label=windows
>  table=/dev/hda
>  map-drive=0x80
>     to=0x81
>  map-drive=0x81
>     to=0x80
> other=/dev/fd0
>  label=floppy
>  unsafe
>
>
> # fdisk -l
>
> Unable to read /dev/hdc
>
> Disk /dev/hda: 255 heads, 63 sectors, 1867 cylinders
> Units = cylinders of 16065 * 512 bytes
>
>    Device Boot    Start       End    Blocks   Id  System
> /dev/hda1   *         1      1020   8193118+   b  Win95 FAT32
> /dev/hda2          1021      1867   6803527+   f  Win95 Ext'd (LBA)
> /dev/hda5          1021      1867   6803496    b  Win95 FAT32
>
> Disk /dev/hdb: 16 heads, 63 sectors, 58168 cylinders
> Units = cylinders of 1008 * 512 bytes
>
>    Device Boot    Start       End    Blocks   Id  System
> /dev/hdb1   *         1      1015    511528+  83  Linux
> /dev/hdb2          1016     58168  28805112    5  Extended
> /dev/hdb5          1016      1522    255496+  82  Linux swap
> /dev/hdb6          1523      7617   3071848+  83  Linux
> /dev/hdb7          7618     17863   5163952+  83  Linux
>
>
> # lilo -t -v -v -v
>
> Warning: /dev/hdb is not on the first disk
> The boot sector and the map file have *NOT* been altered.
> LILO version 21.5 (test mode), Copyright (C) 1992-1998 Werner Almesberger
> Extensions beyond version 21 Copyright (C) 1999-2000 John Coffman
> Released 18-Jul-2000 and compiled at 11:17:43 on Oct  3 2000.
>
> Reading boot sector from /dev/hdb
> Merging with /boot/boot.b
> Device 0x0341: BIOS drive 0x81, 16 heads, 58168 cylinders,
>                63 sectors. Partition offset: 63 sectors.
> Secondary loader: 11 sectors.
> Device 0x0341: BIOS drive 0x81, 16 heads, 58168 cylinders,
>                63 sectors. Partition offset: 63 sectors.
> Mapping message file /boot/message
> Device 0x0341: BIOS drive 0x81, 16 heads, 58168 cylinders,
>                63 sectors. Partition offset: 63 sectors.
> Message: 0 sectors.
> Boot image: /boot/vmlinuz
> Device 0x0341: BIOS drive 0x81, 16 heads, 58168 cylinders,
>                63 sectors. Partition offset: 63 sectors.
> Setup length is 7 sectors.
> Mapped 0 sectors.
> Mapping RAM disk /boot/initrd.img
> Device 0x0341: BIOS drive 0x81, 16 heads, 58168 cylinders,
>                63 sectors. Partition offset: 63 sectors.
> RAM disk: 0 sectors.
> Added linux *
>     <dev=0xb1,hd=7,cyl=140,sct=153>
>     "ro root=341  hdc=ide-scsi"
> Boot image: /boot/vmlinuz
> Device 0x0341: BIOS drive 0x81, 16 heads, 58168 cylinders,
>                63 sectors. Partition offset: 63 sectors.
> Setup length is 7 sectors.
> Mapped 0 sectors.
> Mapping RAM disk /boot/initrd.img
> Device 0x0341: BIOS drive 0x81, 16 heads, 58168 cylinders,
>                63 sectors. Partition offset: 63 sectors.
> RAM disk: 0 sectors.
> Added failsafe
>     <dev=0xb1,hd=7,cyl=140,sct=178>
>     "ro root=341  hdc=ide-scsi failsafe"
> Boot other: /dev/hda1, on /dev/hda, loader /boot/chain.b
> Device 0x0301: BIOS drive 0x80, 255 heads, 1867 cylinders,
>                63 sectors. Partition offset: 63 sectors.
> Mapped 6 (4+1+1) sectors.
> Added windows
>     <dev=0xb1,hd=7,cyl=140,sct=204>
> Boot other: /dev/fd0, loader /boot/chain.b
> Device 0x0200: BIOS drive 0x00, no geometry.
> Pseudo partition start: 0
> Mapped 6 (4+1+1) sectors.
> Added floppy
>     <dev=0xb1,hd=7,cyl=140,sct=210>
> Map file size: 32768 bytes.
> --
> www.geocities.com/jidanni E-mail: restore ".com."  �n����
> Tel:+886-4-5854780; starting in year 2001: +886-4-25854780
>
>
>
>
>



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

From: Eric <[EMAIL PROTECTED]>
Subject: Re: fdisk
Date: Mon, 04 Dec 2000 16:31:18 +0100
Reply-To: [EMAIL PROTECTED]

Paras wrote:
> 
> Hi ,
> 
> My platform is Red hat linux/intel.
> 
> Currently I have a 20GB single harddisk connected to my PC.
> About 6Gb is used for my linux installation. Remaining 14GB is raw and
> available
> 
> I need to run fdisk  from a shell script and create partitions of 500MB
> each .
> Does fdisk support command line mode so that I can invoke it through
> shell script.
> 
> If fdisk does not support command line interface, can someone please
> suggest me a replacement utility or a piece of code that can be used to
> create partitions programetically


sfdisk will probably suit your needs

Eric

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

From: Eric <[EMAIL PROTECTED]>
Subject: Re: partition info
Date: Mon, 04 Dec 2000 16:37:10 +0100
Reply-To: [EMAIL PROTECTED]

Linux way:

hda1: first primary partition on master-device on first IDE controller
hda2: second primary partition on master-device on first IDE controller
hda3: third primary partition on master-device on first IDE controller
hda4: fourth primary partition on master-device on first IDE controller
hda5: first logical partition on master-device on first IDE controller
hda6-16: rest of the logical partitions on master-device on first IDE
controller

(same goes for hdb, expect that hdb is the slave-device on primary
controller)


Windows way:

C: first partition of which the partition ID is known to windows
D: second ....


Thus windows drive letter assignments have nothing to do with their
physical location.
You can have multiple drives/partitions in between C: and D: , as long
as windows doesn't know the partition ID, it will not assign a drive
letter to that partition.

Eric

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

From: Eric <[EMAIL PROTECTED]>
Subject: Re: cannot boot RH7 on Win2K dual-boot setup
Date: Mon, 04 Dec 2000 16:39:03 +0100
Reply-To: [EMAIL PROTECTED]

Murray Eisenberg wrote:
> 
> Problem solved!  I DID need to run lilo manually before dd-ing the
> sector on /boot and then copying that file to the Windows 2000 NTFS
> partition .
> 
> I'm still not certain whether I really needed to do that manually!  I
> had thought that during Red Hat 7.0's installation procedure, when it
> asked where lilo whould be installed and I specified /boot (instead of
> MBR), that would have created the necessary sector.  Maybe it should
> have.  But there was an anomoly: I have a FAT partition at the far end
> of my hard drive (for exchange between Win2K and Linux).  The RH
> installation found that and I did something that apparently told Linux
> it was a bootable partition.  Indeed, a "dos" stanza for that
> non-bootable FAT partition appeared in lilo.conf.  So I edited that out
> before running lilo manually, etc.
> 
> My own stupidity, or too little experience with Linux?  Anyway, too many
> pitfalls for installation.  Once again I am reminded of the significant
> accomplishment of Bill Gates & Co. in making installation of Windows an
> essentially transparent operation.
> 

Transparent would not have been my choice of words :-)

Eric

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

From: Huw Lynes <[EMAIL PROTECTED]>
Subject: Re: PLIP and route
Date: Mon, 04 Dec 2000 15:30:32 GMT



> In article <908h1v$aos$[EMAIL PROTECTED]>,
> Huw Lynes <[EMAIL PROTECTED]> wrote:
> >I'm in the process of setting up a plip link between my desktop and
> >laptop. Have got to the point where I can load the plip modules and ppp
<Snip>
Jerry McBride wrote:
<snip>
>
> If you really, really run up against a brick wall... I'll zip up my plip setup
> and a couple of notes I made and will send you a copy...
>
> Cheers.

Thanks Jerry, as far as I know my etc/hosts.{allow,deny} files are fine.
I can ping between the computers when I have an ethernet link up and
running. As for NSF, don't get me started (see today's other post).
I'll try and get PLIP up and running again tonight. If I cannot I may
well ahve to take up your offer.

wish me luck,
Huw Lynes


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

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

From: "Kenny@BUI" <[EMAIL PROTECTED]>
Subject: help with printtool.
Date: Mon, 4 Dec 2000 12:00:53 -0500

hello,
this one might be obvious. but i still need your collective input.
i setup a smb or remote printer using printtool. the setup looks correct due
to the fact
that i have successfully done this part before. this difference this time is
i have an nec superscript 870 laser printer. when i send a test print from
printtool it prints a page once and never again unless i delete the printer
entry and redo the setup.
of course the nec870 is not one of the choises of printers offered by
printtool.

when it prints the original test page the output says something like add
CR-LF/CR.
this occurs when i selected "text printer" as the driver.

if i select "postscript printer" then the output is also weird.

i have rh6.2 linux as the server and the printer is connected to a win98
client.

thank you,
kenny.







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

From: Moonshiner <[EMAIL PROTECTED]>
Subject: Re: Cannot mount all Linux partitions
Date: Mon, 04 Dec 2000 15:42:02 GMT

I messed up when I posted this last night.  I cut and pasted and did not
change all the values.

The blocks are as follows:
/dev/hda1  1052226
/dev/hda2  1590435
/dev/hda3  1855507+
/dev/hda4  1847475
/dev/hda5  481918+
/dev/hda6  1108453+



In article <[EMAIL PROTECTED]>,
  <[EMAIL PROTECTED]> wrote:
> On Mon, 04 Dec 2000 04:21:35 GMT, Moonshiner <[EMAIL PROTECTED]>
wrote:
> |Greetings,
> |
> |I cannot mount the Linux partition on my first hd, /dev/hda.
> |Following is my fstab file:
> |/dev/hdb1      /         ext2     defaults   1   1
> |/dev/hdb6      swap      swap     defaults   0   0
> |/dev/hdb4      /home     ext2     defaults   1   2
> |/dev/hdb2      /mandrake     ext2     defaults   1   3
> |/dev/hda3      /slack1   ext2     defaults   1   4
> |/dev/hdb5      /redhat   ext2     defaults   1   5
> |/dev/hda1      /dosc     vfat     defaults  1    0
> |/dev/hda5      /dosd     vfat     defaults  1    0
> |/dev/hda6      /dose     vfat     defaults  1    0
> |/dev/hdc        /cdrom    iso9660  user,noauto,ro   0   0
> |/dev/fd0        /floppy vfat    user,noauto     0       0
> |none             /proc    proc    defaults   0   0
> |
> |the output from fdisk for /dev/hda follows:
> |Disk /dev/hda: 255 heads, 63 sectors, 790 cylinders
> |Units = cylinders of 16065 * 512 bytes
> |
> |Device     Boot  Begin  Start  End   Blocks   Id  System
> |/dev/hda1    *       1      1  131  1052226    6  DOS 16-bit >=32M
> |/dev/hda2          132    132  329  1052226    5  Extended
> |/dev/hda3    *     330    330  560  1052226   83  Linux native
> |/dev/hda4    *     561    561  790  1052226   83  Linux native
> |/dev/hda5          132    132  191  1052226    6  DOS 16-bit >=32M
> |/dev/hda6          192    192  329  1052226    6  DOS 16-bit >=32M
> |
> |
> |when the system boots and trys to mount the partitions; all
partitions
> |except /dev/hda3 mount properly.  (/dev/hda4 is blank at this time)
> |
> |here is the error message that is produced:
> |mount: wrong fs type. bad option, bad superblock on /dev/hda3, or too
> |many mounted file systems
>
> I don't know exactly what the error message means, but I think there
is a
> problem because all the partitions are being reported as the same size
> ( 1052226 blocks ) no matter how big the start and end figures would
> imply they are.
>
> I think that using hda2 as an extended partition while also using hda3
& hda4
> as normal (primary) partitions may be causing the problem.
>
> |I can get to the partition if I boot with the floppy created when I
> |loaded the new distro to /dev/hda3.  I was able to format /dev/hda3
> |using fdisk.  I can get to my other hd (/dev/hdb) with no problems
when
> |I use lilo to start the distro sitting on /dev/hda3.  Of course, the
> |second hd is nothing but Linux so I have no problems with it.
> |
> |
> |Could it be because I set the two Linux partitions on hda to
bootable?
> |
> |I appreciate any help.  Thanks in advance.
> |
> |(I tried to find some mention of this in previous posts but could not
> |find anything similar.  I also read all the HOW-TO's that seemed to
be
> |concerned with hard drives and LILO.)
> |
> |--
> |Doug
> |NASCAR Fan Go DW #66, MW #7
> |Linux User because MS is a bother.
> |
> |
> |Sent via Deja.com http://www.deja.com/
> |Before you buy.
>
> --
> Reverend Paul Colquhoun,      [EMAIL PROTECTED]
> Universal Life Church    http://andor.dropbear.id.au/~paulcol
> -=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-
> xenaphobia: The fear of being beaten to a pulp by
>             a leather-clad, New Zealand woman.
>

--
Doug
NASCAR Fan Go DW #66, MW #7
Linux User because MS is a bother.


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

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

From: "Yavin" <[EMAIL PROTECTED]>
Subject: SSH WORKS!: Disable telnet?
Date: Mon, 4 Dec 2000 09:11:45 -0700


    I have my ssh working and would like to disable normal telnet .... Would
I just comment out the line
'telnet  stream  tcp     nowait  root    /usr/sbin/tcpd  in.telnetd' out of
my inetd.conf? Will that close off the port? Or do I need to comment the
appropriate line out of the /etc/services file too? Thanx



--Scott





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


** 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.setup) 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-Setup Digest
******************************

Reply via email to