Linux-Setup Digest #598, Volume #19              Mon, 11 Sep 00 05:13:05 EDT

Contents:
  Netscape (zd)
  Re: ppp not quite working (Bill Unruh)
  Re: Where is smb.conf? (Antonio =?iso-8859-1?Q?Capap=E9?= Gil)
  1 linux box, 3 NICs, 1 Confused newbie ([EMAIL PROTECTED])
  Re: boot problem (Colin Watson)
  Re: Serial port problem ([EMAIL PROTECTED])
  Re: "Fatal Server Error: No Screen Found" during Installation ([EMAIL PROTECTED])
  Re: apache autostart on boot? (Christos KK Loverdos)
  Re: Serial port problem (sideband)
  Re: Linux Wont install!!!!Help!!! Newbie question!!!! (Harry Lewis)
  undersize display (Jeph Herrin)
  Re: sorry but i couldnt find a way to rescue (Svend Olaf Mikkelsen)
  setup linux as a router on an old system ("Marco Dissel")
  Boot error messages, how can I pipe them to a file (Allen and Erin Brandt)

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

From: zd <[EMAIL PROTECTED]>
Subject: Netscape
Date: Sun, 10 Sep 2000 23:24:10 -0700

Greetings to the gurus and all.........:)
Please, "enlighten" me how to change fonts,background in Netscape's
newsgroup's header's windows. Using v.4.74, fonts too small, hard to
read on default background (unless I put my head 1 foot away from the
mon. - then there goes a blod vessel in my eye(s).
With much appreciation  of a glad-to-got-rid-of-MSthings-guy.  :))))


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

From: [EMAIL PROTECTED] (Bill Unruh)
Subject: Re: ppp not quite working
Date: 11 Sep 2000 06:39:08 GMT

Modem incompatibility
Wrong intialisation or authentication (eg trying to use login when they
want pap or chap).
Bad scripts.

It is impossible to tell with the info you have given us.

In <[EMAIL PROTECTED]> Topher Cawlfield <[EMAIL PROTECTED]> writes:

]I'm having a problem with PPP on a computer using Mandrake 7.1.  I have
]about 4 modem pools to dial into at the U of I, and I can only reliably
]get into 1 of them (the one that's always busy at night, of course!).

]Two have had intermittent problems of one sort or another, where it
]sometimes connects but most of the time it dials in, modem connects,
]waits a long time "logging on", and then times out.  The diagnostic
]logs' last message (I'm using kppp) says something about being unable to
]negotiate an appletalk protocol.  It appears to have authenticated me by
]that point.

]The main number that I would like to use has never worked.  Okay, it
]worked once when I was trying all sorts of stuff with my hostname and so
]on, but I still have no idea why and I can't reproduce that.  I can dial
]in, and connect, but once connected I can't even ping any computers,
]including any DNS servers.  I am given a dynamic IP address that shows
]up with "route -n" (and the routing table looks fine to me).  When I
]ping my own address, I see packets transmited and received, and get a
]realistic round-trip time of 150ms or so.  But when I ping any other
]computer (by IP address since I can't reach any DNS servers), I only see
]packets transmitted every few seconds, and none received.

]All 4 of these modem pools are using the same ppp and PAP software,
]though the hardware is different.  I can boot into Windows 98 and
]connect to all of them without any problems.  I've never before seen any
]problems like the ones I'm having now, and have no idea how to even
]investigate them further.  I have another (older) computer at home
]running RedHat 6.2 and I have no problems with that one, either.   My
]new computer is using a 3COM PCI modem, which from what I hear is the
]only PCI modem that will work for Linux.  It took me some time to get it
]working, but it appears to me that the hardware works, at least.

]Has anyone seen problems at all like this, or even imagine what could
]cause such problems?  I imagine that I might have done something stupid
]when trying to get my computers set up over a little LAN here, using
]EtherFast ethernet cards and a hub.  But I pretty much did the same
]thing to both computers, and only one will connect to my favorite modem
]pool.  I'm at a loss.

]Any ideas?

]Thanks in advance,

]  Topher Cawlfield  ([EMAIL PROTECTED])


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

From: Antonio =?iso-8859-1?Q?Capap=E9?= Gil 
Subject: Re: Where is smb.conf?
Date: Mon, 11 Sep 2000 06:35:11 +0000

TheSpud wrote:
Sorry,. In  Red Hat 6.2 the package name is samba-common-2.0.6-9. under
Applications-System

> I know where the file is, I want to extract a clean copy from the
> distribution CD!
>
> ----------------------
> On Fri, 08 Sep 2000 06:23:45 +0000, Antonio Capap� Gil
> <[EMAIL PROTECTED]> wrote:
>
> >In /etc
> >TheSpud wrote:
> >
> >> I know this is a dumb qiestion, but where can I find the default
> >> smb.conf file? I tried doing a search with the RPM handlers and come
> >> up empty! I need to get back to the clean default file first installed
> >> by Red Hat 6.1.
> >>
> >> TIA
> >> BK


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

From: [EMAIL PROTECTED]
Subject: 1 linux box, 3 NICs, 1 Confused newbie
Date: 11 Sep 2000 06:53:31 GMT

I've got a linux box with 3 NICs, one ISA and 2 PCI's.
  
 The ISA is a SMC EtherEZ, PCI's are IBM Etherjet and Netgear FA-310TX. 
  
 I have this in my conf.modules:
  
 alias eth0 smc-ultra
 options smc-ultra io=0x340 irq=7
 alias eth1 eepro100
 alias eth2 tulip
  
 When I boot the machine, login then type "lsmod", it shows the smc-ultra module 
loaded and sometimes the eepro100 module is
loaded and
 sometimes its not.  The Tulip module is NEVER loaded. 
  
 I know for a fact that eth2 is a tulip (from manufacturer's website). 
  
 If I do a modprobe on eth0, eth1 or eth2 then do "dmesg | tail", it shows me all the 
correct info about the cards (tells me
the MAC addresses, IRQ's and
 IO addresses). 
  
 If I do an "lsmod" rigth after the modprobe, it shows the modules but says "[unused]" 
next to them. 
  
 Why aren't the modules loading up by default?
  
 Also, just wondering what my Hostname should be? do I need to give it a domain or 
anything? 


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

From: [EMAIL PROTECTED] (Colin Watson)
Subject: Re: boot problem
Date: 10 Sep 2000 21:36:26 GMT

Allen and Erin Brandt <[EMAIL PROTECTED]> wrote:
>/dev/sda1    DOS partition, tagged bootable (6)
>/dev/sda2    Linux Swap partition (82)
>/dev/sdb1    Linux partition (83)
>/dev/sdc1    Linux partition (83) (where the vmlinuz boot image is
>located).
>
>The kernel boots fine, but the following error screws up the final
>kernel load. It reads:

Slightly nitpicking note: by the stage you show below, the kernel has
actually finished loading, and your startup scripts have taken over.

>INIT: Version 2.76 booting
>/etc/rc.d/rc.S: Testing Filesystem status: read-only file system
>Parallelizing FSCK version 1.15 (18-Jul-1999)
>/sbin/e2fsck: Bad magic number in super-block while trying to open
>/dev/sda1
>(null):
>The superblock could not be read or does not describe a corect ext2 file
>system....

Looks like you have the last field in /etc/fstab for that filesystem set
to something non-zero. That's the "passno" field, and indicates the
order in which fsck should check filesystems. The root filesystem gets
1, other checkable filesystems get 2, and uncheckable filesystems like
yours get 0. Change this and fsck will ignore that filesystem and be
happy.

Alternatively, you could install dosfstools (to be found at
<ftp://ftp.uni-erlangen.de/pub/Linux/LOCAL/dosfstools/>), which
apparently gives you a back-end for fsck that can cope with MS-DOS
filesystems. Without such a back-end, fsck falls back to whatever was
specified in the -t option on its command-line, and after that to ext2,
which is why it's using e2fsck.

-- 
Colin Watson                                     [[EMAIL PROTECTED]]
"I guess we'll have to use something other than TCP to talk to
 the University of Mars." - /usr/src/linux/net/ipv4/tcp_timer.c

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

From: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux,comp.os.linux.hardware
Subject: Re: Serial port problem
Date: Mon, 11 Sep 2000 07:51:07 GMT

In article <[EMAIL PROTECTED]>,
> Maybe  i have any mistake in rc.serial ? Or maybe it's not serial port
> problem and something asle ?

Your rc.serial looks OK. Did you check /var/log/messages for any
errors? Assuming there are no errors you might have to change the setup
in the connectivity software to get > 19200.

1. In minicom, change the baudrate to 115200 and try dialing out.
2. If you are using pppd, check the baud options for pppd.

HTH
-- KD


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

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

From: [EMAIL PROTECTED]
Subject: Re: "Fatal Server Error: No Screen Found" during Installation
Date: Mon, 11 Sep 2000 07:54:52 GMT

In article <[EMAIL PROTECTED]>,
> Fatal Server Error: No Screen Found.

Mostly your graphics card is not recognized and the X Server (required
for the default graphical install) is failing.

Type text at the lilo: prompt and install using the text mode. Once the
installation is complete you can set the X configuration using
Xconfigurator utility.

HTH
-- KD


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

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

From: Christos KK Loverdos <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.admin,comp.os.linux.misc,comp.os.linux.networking
Subject: Re: apache autostart on boot?
Date: Mon, 11 Sep 2000 11:06:39 +0300

[EMAIL PROTECTED] wrote:
> 
> I have the EXACT same problem you do.  Did you ever figure it out? If
> so, PLEASE email me because I have php compiled into apache, and that's
> not exactly a Red Hat specific RPM these days.  So, if someone could
> tell me how to "autostart" my own compiled version of apache at boot, I
> would forever be grateful.
> 
> In article <8lk7fr$[EMAIL PROTECTED]>,
>   "Devon Harding" <[EMAIL PROTECTED]> wrote:
> > When I do a:
> >
> > chkconfig --list httpd
> >
> > I get:
> >
> > [root@santa /root]# chkconfig --list httpd
> >
> > error reading information on service httpd: No such file or directory
> >
> > but I can run '/usr/local/apache/bin/httpd ' and it runs
> >
> > -Devon
> >
> > "Mr. Ape" <[EMAIL PROTECTED]> wrote in message
> news:8ljv44$2uu$[EMAIL PROTECTED]...
> > > Can you do a:
> > > chkconfig --list httpd
> > > if so, you can do:
> > > chkconfig --level 3 httpd on
> > > Then it will start in runlevel 3 ...
> > >
> > >
> > > Devon Harding wrote in message <8li4c2$[EMAIL PROTECTED]>...
> > > >httpd isn't listed because it's not an rpm.  It was install from
> source
> > via
> > > >'./configure,make,make install'
> > > >
> > > >-Devon
> > > >
> > > >"Lorin Winchester" <[EMAIL PROTECTED]> wrote in message
> > > >news:juuhl8.um5.ln@stickboy...
> > > >> On Mon, 24 Jul 2000 13:25:41 -0400, Devon Harding
> > > >> <[EMAIL PROTECTED]> wrote:
> > > >>
> > > >> >How do I get the source ver.(www.apache.org) of apache to
> autostart on
> > > >> >boot-up on RHL6.2?
> > > >>
> > > >> You want to start Apache each time you boot up, right?  You need
> to do
> > > >> 'ntsysv' and select httpd.  That will make the daemon start when
> Linux
> > > >boots?
> > > >>
> > > >> --
> > > >> Registered Linux User 182034
> > > >>  12:33pm  up 20:00,  2 users,  load average: 0.00, 0.03, 0.00
> > > >
> > > >
> > >
> > >
> >
> >
> 
> Sent via Deja.com http://www.deja.com/
> Before you buy.

OK, here it is.
I ALWAYS use the sources to compile apache (and usually put it in /usr/local/apache) 
because Idonot like where the RPM puts the files...

So, Ihave created an init script to automatically start apache, under /etc/rc.d/init.d:
######################################################################
#!/bin/bash

. /etc/rc.d/init.d/functions

case "$1" in
  start)
        echo -n "Starting Apache"
        daemon /usr/local/apache/bin/httpd
        ;;
  stop)
        echo -n "Stopping Apache"
        killproc httpd
        ;;
  reload|restart)
        echo -n "Reloading Apache"
        $0 stop
        $0 start
        ;;
  status)
        echo -n "Checking Apache status"
        /usr/local/apache/bin/apachectl status
        ;;

  *)
        echo "Usage: /etc/rc.d/init.d/apache {start|stop|restart|reload|status}"
        exit 1
esac

exit 0
##################################################################]

To configure the runlevels, su - and run control-panel.
Of course there always is the manual way (go to /etc/rc.d/rc<n>.d and put Start and 
Kill links), but tools are here to make our lives easier.

I hope Ihave been helpful

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

From: sideband <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux,comp.os.linux.hardware
Subject: Re: Serial port problem
Date: Mon, 11 Sep 2000 04:11:05 -0400

/dev/ttyS1 equates to COM2 in dos.. make sure COM2 is turned off in
your BIOS, if that's where you really want your modem.

-SSB

On or about Mon, 11 Sep 2000 04:34:08 +0200, Slava Shklyar
<[EMAIL PROTECTED]>, using the forum comp.os.linux.hardware did
say:

:Hi,
:I have USR 56k Internal PCI modem under Redhat 6.1.
:
:/etc/rc.d/*rc.serial:
:
:setserial /dev/ttyS1 port 0xe800 irq 10 baud_base 115200 uart 16550A
:autoconfig spd_vhi
:stty -ixon crtscts line 115200 < /dev/modem
:
:So, after startup i can connect, but get only 19200 bps, when under
:another OS (win98/NT) i able to connect on 45333 bps.
:
:Maybe  i have any mistake in rc.serial ? Or maybe it's not serial port
:problem and something asle ?
:
:Thank you,
:Slava Shklyar.
:
:


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

From: Harry Lewis <[EMAIL PROTECTED]>
Subject: Re: Linux Wont install!!!!Help!!! Newbie question!!!!
Date: Mon, 11 Sep 2000 09:11:28 +0100
Reply-To: [EMAIL PROTECTED]

I think the essential message is that a disk controller works fastest
when handling only one disk, regardless of whether the other disk is a
hard disk or a CD-ROM that behaves as a write-only IDE drive - so what
you heard is, I think, right.

Harry

Colin Watson wrote:
> 
> Harry Lewis <[EMAIL PROTECTED]> wrote:
> >Sorry to butt-in, but, if you're going to take the side/top off your PC
> >it may be worth considering moving the second disk drive to the second
> >IDE connector on the motherboard (if possible). Yes, this means buying
> >another IDE disk cable, but there's a significant performance gain to be
> >had if both IDE drives act as master, especially in busmastering-enabled
> >systems, where they can act independently.
> 
> I remember hearing several years ago that, if you also had an IDE CD-ROM
> drive, then putting it on the same IDE controller as a hard disk would
> degrade the hard disk's performance. Is this still true, or indeed was
> it ever true?
> 
> --
> Colin Watson                                     [[EMAIL PROTECTED]]
> Linux: the choice of a GNU generation.

--

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

From: Jeph Herrin <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.x
Subject: undersize display
Date: Mon, 11 Sep 2000 10:18:37 +0200


Problem:
Using XFree86 3.6.1 (with Redhat 6.2) I can persuade X to
write only to the middle 70% of my screen. That is, I get a full
desktop image, but it's centered with about 1.5inch black strip
around the outside. Since I'm using 14" monitor, this is a bit of
a hit. Since I also can't get anything other than a 1024x780 resolution,
this is rather hard to look at.

The only glitch I encountered during installation/startup is
that when X probes the video card and gets the ram (1502kb,
the correct amount) it bails out with an error "cannot find aperture
for configured amount of ram". So in XF86config I set the
VideoRam to 1024. Then X starts, but with the problem mentioned
above. In addition, I cannot cycle through resolutions with CTL num +/-,
though I've configured for several.

This is an Alliance Promotion AT24, which is supposed to be supported.
I used Xconfigurator. One odd thing is that when RedHat installation
set me up, using "generic card" and "generic monitor", I had a full display
(though only 680x400 res, which is why I fired up Xconfigurator).

Any ideas? thanks for any help.

jeph
[EMAIL PROTECTED]



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

From: [EMAIL PROTECTED] (Svend Olaf Mikkelsen)
Subject: Re: sorry but i couldnt find a way to rescue
Date: Mon, 11 Sep 2000 08:39:12 GMT

[EMAIL PROTECTED] wrote:

>Findpart, version 3.81.
>Copyright Svend Olaf Mikkelsen, 2000.
>
>Searches for partitions type 01, 04, 06, 07, 0B, 0C, 0E, 82, 83,
>plus Fdisk F6 and Lilo sectors. Information based on bootsectors
>is marked B. If the disk is larger than supported by BIOS, the
>supported part of the disk is examined. Disks are numbered from 1.
>
>OS:  DOS 7.10
>
>Disk: 1   Cylinders: 1826   Heads: 255   Sectors: 63   MB: 14324
>
>-PCyl N ID -----Rel -----Num ---MB -Start CHS- --End CHS-- BS  CHS
>    0 - 0B       63 12289662  6000    0   1  1  764 254 63 B    OK
>    0 - 83 12289725  5863725  2863  765   0  1 1129 254 63 B5   OK
>  765 1 83       63    32067    15  765   1  1  766 254 63 OK   OK
>  765 2 05    32130  2923830  1427  767   0  1  948 254 63 765  OK
>    Lilo sector                     765   0  1
>  767 1 83       63  2923767  1427  767   1  1  948 254 63 NB   OK
>  767 2 05  2955960   514080   251  949   0  1  980 254 63 765  OK
>  767 - 83       63  2923760  1427  767   1  1  948 254 56 B0   OK
>  949 1 82       63   514017   250  949   1  1  980 254 63      OK
>  949 2 05  3470040  2907764  1419  981   0  1 1023 254 63 765  NB
>  981 1 83       63  2907701  1419  981   1  1 1023 254 63 NB   NB
>  981 - 83       63  2907696  1419  981   1  1 1161 254 57 B0   OK
>  991 1 83       63 13044717  6369  991   1  1 1802 254 63 OK   OK
>    Lilo sector                     991   1  1
> 1024 1 0B       63 12884067  6291 1024   1  1 1825 254 63 F6   OK
>    Fdisk F6 sector                1024   1  1
>    Fdisk F6 sector                1025   0  1
>    Fdisk F6 sector                1025   1  1
>    Fdisk F6 sector                1026   0  1
>    Fdisk F6 sector                1026   1  1
>    Fdisk F6 sector                1027   0  1
>    Fdisk F6 sector                1027   1  1
> 1049 1 83       63  1799217   878 1049*  1  1 1160*254 63 OK   OK
> 1085 1 82       63   224847   109 1085*  1  1 1098*254 63      OK
> 1085 2 05  5365710   996030   486 1099*  0  1 1160*254 63 765  OK
> 1099 1 83       63   995967   486 1099*  1  1 1160*254 63 OK   OK
> 1105 1 82       63   256977   125 1105*  1  1 1120*254 63      OK
> 1105 2 05  5719140   642600   313 1121*  0  1 1160*254 63 765  OK
> 1121 1 83       63   642537   313 1121*  1  1 1160*254 63 OK   OK
> 1130 1 82       63   497952   243 1130#  1  1 1160*254 63      OK
> 1151 1 82       63   160587    78 1151*  1  1 1160*254 63      OK
>
>-----FAT CHS -Size Cl --Root -Good -Rep. Maybe --Bad YYMMDD DataMB
>    0   1 33 11979  4      2 11979     0     0     0 990906   3670
>  964   2  1   Second FAT not found.
>
>Partitions according to partition tables on first harddisk:
>
>-PCyl N ID -----Rel -----Num ---MB -Start CHS- --End CHS-- BS  CHS
>    0 1*0B       63 12289662  6000    0   1  1  764 254 63 OK   OK
>    0 2 05 12289725  6377805  3114  765   0  1 1161*254 63      OK
>    0 3 83 15759828  2907701  1419  981   1  1 1023 254 63 NB   NB
>                                    981   1  1 1161 254 62  Actual
>    0 4 0B 18651465 10683225  5216 1161*  0  1 1825*254 63 NB   OK
>
>  765 1 83       63    32067    15  765   1  1  766 254 63 OK   OK
>  765 2 05    32130  2923830  1427  767   0  1  948 254 63      OK
>
>  767 1 83       63  2923767  1427  767   1  1  948 254 63 NB   OK
>  767 2 05  2955960   514080   251  949   0  1  980 254 63      OK
>
>  949 1 82       63   514017   250  949   1  1  980 254 63      OK
>  949 2 05  3470040  2907764  1419  981   0  1 1023 254 63      NB
>                                    981   0  1 1161 254 62  Actual
>
>  981 1 83       63  2907701  1419  981   1  1 1023 254 63 NB   NB

The FAT32 partition hda4 is damaged.

If important data is lost, you should stop writing to any partition,
except the DOS/Windows C: partition.

Then you should get a second disk, and work by copying data to the
second disk using recovery tools. For FAT partitions an example is
Lost and Found from Powerquest.

It might however be possible to use my free Cyldir tool, and it might
be possible to find a safe area on the disk for copying data.

To the partition tables, I have these comments:

Your 1419 MB ext2 partition is present both as hda3 and hda8.

This hda3/hda8 partition overlaps hda4 (the 5216 MB FAT32 partition).
The partitions ends cylinder 1161, head 254, sector 62, and hda4
begins cylinder 1161, head 0, sector 1.

The type (ID) of hda2 is 05. It should be 85 (Linux extended). You
should never have an extended partition type 05 ending after cylinder
1023. Normally type 0F can be used for an extended partition ending
after cylinder 1023, but in this case there are two primary FAT
partitions on one disk. Then the last partition in any extended
partition type 05 or 0F must be FAT, and you have a NON-FAT partition.

Note that Linux fdisk numbers cylinders from 1. I and everybody else
number cylinders from 0.

If I should help you further, you must stop writing to anything else
than C:, and accept that the Linux partitions will be lost or get a
new disk. Then you can do this:

findpart finddir 1 fp1-a.txt

This will take some time. Mail me the file fp1-a.txt, since we will
have to take this case to mail.
-- 
Svend Olaf

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

From: "Marco Dissel" <[EMAIL PROTECTED]>
Crossposted-To: 
alt.binaries.warez.linux,comp.os.linux.networking,corelsupport.linux.networking,linux.redhat.install
Subject: setup linux as a router on an old system
Date: Mon, 11 Sep 2000 10:56:48 +0200

Hello

I want to use my old P100 with 32mb as a router .

I'm looking for a following mini-linux distribution which support:
- routing capabilities between my Cable modem (DHCP) and my LAN (NAT)
- firewall
- port forwarding
- FTP non-anonymous (i want to start an ftp session from the internet on my
linux pc, so i can start a download from my work and when i come home the
download is finished
- DNS caching
- easy to setup (i'm not a linuxpro)
optional:
- ISDN setup for an internal ISDN adapter (as backup for my cable internet
connection)


Thanks


Marco



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

From: Allen and Erin Brandt <[EMAIL PROTECTED]>
Subject: Boot error messages, how can I pipe them to a file
Date: Mon, 11 Sep 2000 10:57:45 +0200

Hi, I just compiled a new kernel. It boots fine, but it tries to install
a bunch of stuff that I didn't put in. For instance, it tries to install
all this PCMCIA stuff, when I never asked for that when I did 'make
config'. So I get a bunch of errors that fly past the screen 'unresolved
dependencies' and the like.

How can I get a text file of all these boot messages so that I can try
to resolve them?

Thanks,
Al Brandt


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


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