Linux-Setup Digest #76, Volume #19                Tue, 4 Jul 00 20:13:12 EDT

Contents:
  Re: How to make a pc to a router ? (Jonathan Voigt)
  I am a newbie and I need help. ("Phillip Oliven")
  Xhost configuration (Rick Shumway)
  Re: HP 8100i CDRW not working (UPDATE) (NYCeyes)
  Re: Runlevel ? (Homer Jay)
  Getting a working libg++ on Linux (Nick Kew)
  Re: Mandrake 7.1 ("Lucas Sonad")
  Re: Bad Xit (MDLamberts)
  Re: I am a newbie and I need help. (Bit Twister)

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

From: Jonathan Voigt <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking,linux.help,comp.unix.admin
Subject: Re: How to make a pc to a router ?
Date: Tue, 04 Jul 2000 23:21:31 GMT



Peter wrote:
> 
> Hi
> 
> I have three computers, using Linux as operative system.  I want to connect
> all of my computer to gather and make one of these computers as a router to
> my little network.
> 
> I  could send and receive data from each computers. But I dont know how to
> make one of  them be a router? Should I use some special software to make it
> to be a router. Or I could configure Linux to be a router ?
> 
> I would be very happy if you could give me some tips about router and how to
> make a router the software I should use or ...
> 
> Thanks allot Peter

You shouldn't need any softare...

check : www.linuxhq.com

they have a resource section with howtos oon how to setup linux as a
router.

or :

www.google.com/linux

search there for router/firewall/gateway



-- 
[EMAIL PROTECTED]
[EMAIL PROTECTED]

http://www.voicomm.com
http://www.voicomm.com/jonsbox

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

From: "Phillip Oliven" <[EMAIL PROTECTED]>
Subject: I am a newbie and I need help.
Date: Tue, 4 Jul 2000 18:13:51 -0500

I just recently bought another computer just so I could install Linux and
play around with it. I bought a copy of "Linux for Dummies" so I would have
the operating system and something to help walk me through its operation. I
have RedHat Linux V5.2 installed but my video card is an onboard
CyrixGraphic Adapter on board the MediaGX 133 motherboard. The book says to
install a newer version of Xfree86 but doesn't tell me how. My main computer
which is running Win98SE is the only one that I can get on the Internet as
the other has a WinModem which isn't supported in Linux. Is it possible to
download Xfree86 onto a floppy and have Linux read the disk even though it
is DOS? I would appreciate the help quite a bit but I would really
appreciate a text file or a url where I could DOWNLOAD a manual or something
so I could find this information for myself. I have found a couple of online
manuals but that doesn't do me much good considering the two computers are
at opposite ends of the house. Any Linux newsletters or really good
homepages for beginners would be a tremendous help also.

                                                                    Thanks
in advance
                                                                    Phillip



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

From: Rick Shumway <[EMAIL PROTECTED]>
Subject: Xhost configuration
Date: Tue, 04 Jul 2000 16:26:49 -0700

In trying to get a couple of games running, I ran across the necessity
of allowing access to xhost in order to run the games. On my system, it
evidently defaults to allow no access, and I have to type xhost + to
allow it before the game (xkobo) will run.

According to the man page and help, I should be able to access xhost by
typing "xhost +hostname". When I do this, however, and type "xhost
+godfrey" (which is the hostname assigned to my computer), xhost tells
me it is an invalid hostname and refuses to accept it. It will however
accept "xhost +localhost".

Also, the man page indicates in FILES: that there should be X*.hosts
file(s) in my /etc folder. Since I have no such files, perhaps that is
the reason xhost will not accept godfrey as a valid hostname. I can find
no information on the format or content of the file(s). Does anyone know
what should be there and how to make it available to xhost?

Rick


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

From: NYCeyes <[EMAIL PROTECTED]>
Crossposted-To: 
comp.os.linux,comp.os.linux.questions,comp.os.linux.hardware,comp.os.linux.help
Subject: Re: HP 8100i CDRW not working (UPDATE)
Date: Tue, 04 Jul 2000 23:26:30 GMT

Hello All:

Thank you collectively for your replies!!!
At the end of this letter is what my configuration
looks like right now. Have a look please and see if
anything pops out at you. If you need more information
let me know. Sorry for the verbose email and posting,
but I can only help my cause by giving as much info
as I can.

TIA,
Milton

First, a couple of things to note.

(1)
As far as kernel support goes, I did a "make menuconfig"
and under the "Block Devices" menu there is a submenu
that shows this:
         <M> SCSI emulation support
which I guess means that it is supported as a module.
Should I look somewhere else to see if it SCSI emulation
is configured in.

(2)
I implemented EJ's suggestion of editing /etc/lilo.conf,
(see his response) but when I run /sbin/lilo I get the
following error (this is something I caused a while back but
I forgot how):
=========================================================
root@linuxpc# /sbin/lilo -v -v -v -v
LILO version 21, Copyright 1992-1998 Werner Almesberger
[... cut out ...]
Reading boot sector from /dev/hda1
Device 0x0300: BIOS drive 0x80, 128 heads, 767 cylinders,
               63 sectors. Partition offset: 0 sectors.
Merging with /boot/boot.b
Caching device /dev/hdc1 (0x1601)
Device 0x1601: BIOS drive 0x81, 15 heads, 8894 cylinders,
               63 sectors. Partition offset: 63 sectors.
geo_comp_addr: Cylinder number is too big (4764 > 1023)  <---
==============================================================


Now for my configuration. Have a look.

#################################################################
root@linuxpc# cat /etc/lilo.conf
boot=/dev/hda1
map=/boot/map
install=/boot/boot.b
prompt
timeout=50
default=linux

image=/boot/vmlinuz-2.2.12-20
        label=linux
        initrd=/boot/initrd-2.2.12-20.img
        read-only
        root=/dev/hdc1
        append="hdb=ide-scsi"

image=/boot/vmlinuz-2.2.12-20.FCS
        label=FCS_linux
        initrd=/boot/initrd-2.2.12-20.img
        read-only
        root=/dev/hdc1
        append="hdb=ide-scsi"
##################################################################


###################################################################
root@linuxpc# cat /etc/conf.modules
  #----------------------------------------------
  #Alias for eth0 placed here by mvega. This is
  #for the 3c905b 3COM Card in the lower slot.
  #----------------------------------------------
alias eth0 3c90x

  #----------------------------------------------
  #Alias for eth1 placed here by mvega. This is
  #for the 3CR990 x3 3COM Card in the upper slot.
  #The card is not supported at the moment, but
  #we'll give this one a try until it is. Doesnt
  #work... need to wait for a new driver for the
  #3COM 3CR990x3 card (top slot).
  #----------------------------------------------
alias eth1 3c90x

alias sound sb
pre-install sound /sbin/insmod sound dmabuf=1
options opl3 io=0x388
alias midi awe_wave
post-install awe_wave /bin/sfxload /etc/midi/GU11-ROM.SF2
options sb io=0x220 irq=5 dma=1 dma16=5 mpu_io=0x330

  # ----------------------------------------
  # Stuff to get the HP8100i CD-RW to work.
  # ----------------------------------------
alias   scd0 sr_mod                  # load sr_mod upon access of scd0
alias   scsi_hostadapter ide-scsi    # SCSI hostadaptor emulation
options ide-cd ignore=hdb            # if /dev/hdb is your CD-writer
#########################################################################

##############################################################
root@linuxpc# grep insmod /etc/rc.d/rc.local
insmod ide-scsi
##############################################################

#################################################################################
root@linuxpc# ls -l /dev/cdrom*
lrwxrwxrwx   1 root     root            9 Jul  4 17:20 /dev/cdrom ->
/dev/scd0
lrwxrwxrwx   1 root     root            3 Apr  8 10:08 /dev/cdrom.ORIG
-> hdb
lrwxrwxrwx   1 root     root            3 Apr  8 10:08 /dev/cdrom1 ->
hdd
#################################################################################

###############################################################################
root@linuxpc# ls -l /dev/sg*
lrwxrwxrwx   1 root     root            3 Apr 27 22:01 /dev/sg0 -> sga
lrwxrwxrwx   1 root     root            3 Apr 27 22:01 /dev/sg1 -> sgb
lrwxrwxrwx   1 root     root            3 Apr 27 22:01 /dev/sg2 -> sgc
lrwxrwxrwx   1 root     root            3 Apr 27 22:01 /dev/sg3 -> sgd
lrwxrwxrwx   1 root     root            3 Apr 27 22:01 /dev/sg4 -> sge
lrwxrwxrwx   1 root     root            3 Apr 27 22:01 /dev/sg5 -> sgf
lrwxrwxrwx   1 root     root            3 Apr 27 22:01 /dev/sg6 -> sgg
lrwxrwxrwx   1 root     root            3 Apr 27 22:01 /dev/sg7 -> sgh
crw-------   1 root     sys       21,   0 Apr 27 22:01 /dev/sga
crw-------   1 root     sys       21,   1 Apr 27 22:01 /dev/sgb
crw-------   1 root     sys       21,   2 Apr 27 22:01 /dev/sgc
crw-------   1 root     sys       21,   3 Apr 27 22:01 /dev/sgd
crw-------   1 root     sys       21,   4 Apr 27 22:01 /dev/sge
crw-------   1 root     sys       21,   5 Apr 27 22:01 /dev/sgf
crw-------   1 root     sys       21,   6 Apr 27 22:01 /dev/sgg
crw-------   1 root     sys       21,   7 Apr 27 22:01 /dev/sgh
###############################################################################

###################################################################
root@linuxpc# cat /proc/modules
sg                     15052   0 (autoclean) (unused)
ide-scsi                7008   0
ppp                    20012   2 (autoclean)
slhc                    4328   0 (autoclean) [ppp]
3c90x                  21972   1 (autoclean)
awe_wave              157804   0
sb                     33620   0
uart401                 5968   0 [sb]
sound                  57240   0 [awe_wave sb uart401]
soundlow                 300   0 [sound]
soundcore               2372   7 [sb sound]
##################################################################

#####################################################################
root@linuxpc# cat /proc/devices
Character devices:
  1 mem
  2 pty
  3 ttyp
  4 ttyS
  5 cua
  7 vcs
 10 misc
 14 sound
 29 fb
 36 netlink
128 ptm
136 pts
162 raw

Block devices:
  1 ramdisk
  2 fd
  3 ide0
  9 md
 22 ide1
######################################################################

####################################################################
root@linuxpc# cdrecord -v -scanbus
Cdrecord release 1.8a29 Copyright (C) 1995-1999 Jörg Schilling
TOC Type: 1 = CD-ROM
cdrecord: No such file or directory. Cannot open SCSI driver.
####################################################################

#########################################################
root@linuxpc# mount -t iso9660 -o ro /dev/cdrom /mnt
mount: the kernel does not recognize /dev/cdrom as a block device
       (maybe `insmod driver'?)
#########################################################

#######################################################################
root@linuxpc# cdrecord -v -scanbus
Cdrecord release 1.8a29 Copyright (C) 1995-1999 Jörg Schilling
TOC Type: 1 = CD-ROM
cdrecord: No such file or directory. Cannot open SCSI driver.
#######################################################################

##############################################################################
root@linuxpc# dmesg
Linux version 2.2.12-20 ([EMAIL PROTECTED]) (gcc version
egcs-2
.91.66 19990314/Linux (egcs-1.1.2 release)) #1 Mon Sep 27 10:25:54 EDT
19
99
Detected 199436655 Hz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 398.13 BogoMIPS
Memory: 79284k/81920k available (1008k kernel code, 412k reserved, 1152k
data, 64k init)
DENTRY hash table entries: 262144 (order: 9, 2097152 bytes)
Buffer-cache hash table entries: 131072 (order: 7, 524288 bytes)
Page-cache hash table entries: 32768 (order: 5, 131072 bytes)
VFS: Diskquotas version dquot_6.4.0 initialized
CPU: AMD AMD-K6tm w/ multimedia extensions stepping 01
Checking 386/387 coupling... OK, FPU using exception 16 error reporting.
Checking 'hlt' instruction... OK.
AMD K6 stepping B detected - <6>K6 BUG 20022307 20000000 (Report these
if
 test report is incorrect)
AMD K6 stepping B detected - system stability may be impaired when more
t
han 32 MB are used.
Please see http://www.mygale.com/~poulot/k6bug.html
POSIX conformance testing by UNIFIX
PCI: PCI BIOS revision 2.10 entry at 0xfb420
PCI: Using configuration type 1
PCI: Probing PCI hardware
Linux NET4.0 for Linux 2.2
Based upon Swansea University Computer Society NET3.039
NET4: Unix domain sockets 1.0 for Linux NET4.0.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
TCP: Hash tables configured (ehash 131072 bhash 65536)
Initializing RT netlink socket
Starting kswapd v 1.5
Detected PS/2 Mouse Port.
Serial driver version 4.27 with MANY_PORTS MULTIPORT SHARE_IRQ enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
pty: 256 Unix98 ptys configured
apm: BIOS version 1.2 Flags 0x07 (Driver version 1.9)
Real Time Clock Driver v1.09
RAM disk driver initialized:  16 RAM disks of 4096K size
PIIX3: IDE controller on PCI bus 00 dev 39
PIIX3: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:pio, hdb:pio
    ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdc:pio, hdd:pio
hda: WDC AC33100H, ATA DISK drive
hdb: Hewlett-Packard CD-Writer Plus 8100, ATAPI CDROM drive
hdc: ST34342A, ATA DISK drive
hdd: CDA66801I, ATAPI CDROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: WDC AC33100H, 3020MB w/128kB Cache, CHS=767/128/63
hdc: ST34342A, 4103MB w/0kB Cache, CHS=8894/15/63
hdb: ATAPI 24X CD-ROM CD-R/RW drive, 1024kB Cache
Uniform CDROM driver Revision: 2.56
hdd: ATAPI 6X CD-ROM drive, 240kB 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   :   311.277 MB/sec
   p5_mmx    :   286.893 MB/sec
   8regs     :   277.368 MB/sec
   32regs    :   195.453 MB/sec
using fastest function: pII_mmx (311.277 MB/sec)
scsi : 0 hosts.
scsi : detected total.
md.c: sizeof(mdp_super_t) = 4096
Partition check:
 hda: hda1
 hdc: hdc1
autodetecting RAID arrays
autorun ...
... autorun DONE.
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 64k freed
Adding Swap: 262136k swap-space (priority -1)
Soundblaster audio driver Copyright (C) by Hannu Savolainen 1993-1996
SB 4.16 detected OK (220)
<SoundBlaster EMU8000 (RAM512k)>
3Com 3c90x Version 1.0.0i 1999 <[EMAIL PROTECTED]>
CSLIP: code copyright 1989 Regents of the University of California
PPP: version 2.3.7 (demand dialling)
PPP line discipline registered.
registered device ppp0
PPP BSD Compression module registered
PPP Deflate Compression module registered
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
scsi : 1 host.
########################################################################

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

From: Homer Jay <[EMAIL PROTECTED]>
Subject: Re: Runlevel ?
Date: Tue, 04 Jul 2000 23:27:26 GMT




> How can I see in which runlevel Linux is running ?

Hmmm. Now let... me... see.... It seems to me... there was some...
sort... of... _utility_ for that. Hmm. Some sort of utility to
check... the... _runlevel_.... What would such a RUNLEVEL checking
utility be called.... Hmm.... How to check the `runlevel'....


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

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

From: [EMAIL PROTECTED] (Nick Kew)
Crossposted-To: uk.comp.os.linux,gnu.g++.help
Subject: Getting a working libg++ on Linux
Date: Tue, 4 Jul 2000 23:31:55 +0000

I've been struggling with this far too long.

I have a good deal of (older) software that relies on libg++.
I am looking to update the software, but really need a stable environment
for it to run on.  I should like to stick with Linux if possible, as any
alternative will involve disruption and downtime.

Now, the software works fine on older Linux, and on other systems with
a clean gcc2.6.x or 2.7.x installation.

On recent linux, the libg++ README hints darkly at the problems I have
been suffering.  It also refers the reader to a URL at sunsite for
a Linux-specific libg++, but that URL doesn't exist!

My current best attempt to run the software on Linux involved installing
a libg++, which led to problems with my software.  I was able to trace
the source of trouble to the "ostrstream" class being badly broken, and
worked around that.  However, this kind of patching is clearly not a
sound basis for further development.

I've spent most of today experimenting with different gcc/libstdc++/libg++
combos, without reaching a satisfactory result.

Is there a gcc/libstdc++/libg++ combination that *should* work?

-- 
Nick Kew

Site Valet - the essential service for anyone with a Website.
Now available at <URL:http://valet.webthing.com/>

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

From: "Lucas Sonad" <[EMAIL PROTECTED]>
Subject: Re: Mandrake 7.1
Date: Wed, 5 Jul 2000 01:38:26 +0200

you're wrong ...i'd installed my Mandrake with just SWAP and /



--
Lucas Sonad (héhé)
a.k.a Century   (Webmaster and God of the famous CeNtUrY's WoRlDs...chhhh
TOP SECRET
                          material)
                        U Got less than 5 secs to throw this message as far
away from you as
                        possible.....it wil auToooooooooddeTrUCcccc.....U
LOOSE

a.k.a Kickaha   (himself !)
Philo <[EMAIL PROTECTED]> a écrit dans le message :
395eba8e$0$147$[EMAIL PROTECTED]
> Mandrake requires a minimum of three partitions
>
>
> /boot
> /
>   swap
>
> but the installation is not difficult
>
> there are some distributions that can be run from a dos formatted drive
but
> it is my understanding that they are not as efficient...so i've never
tried
> them...i think one variety was called   'monkey linux' sorry i dont recall
> the details
> Philo
>
>
>
>
> james <[EMAIL PROTECTED]> wrote in message
> news:tEw75.5098$[EMAIL PROTECTED]...
> > Anyone know if Mandrake 7.1 supports partitionless installation?
(opinions
> > on this kind of install would be good too)
> > thanks,
> > james.
> >
> >
>
>



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

From: [EMAIL PROTECTED] (MDLamberts)
Subject: Re: Bad Xit
Date: 04 Jul 2000 23:51:29 GMT

Ctrl-Alt-Backspace does kill the X server, but puts me in the same spot every
other method does: blank screen, no response from the computer.

Anyway, time for some fireworks! Hope you have a nice 4th.

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

From: [EMAIL PROTECTED] (Bit Twister)
Subject: Re: I am a newbie and I need help.
Reply-To: This_news_group.invalid
Date: Tue, 04 Jul 2000 23:53:10 GMT


For hardware compatibility
http://www.redhat.com/corp/support/hardware/index.html

You need to get the lastest release 6.2. You have a better
chance to get the correct drivers. You will get the
security updates

Redhat 6.2 has several fixes and a much better installer.

Mandrake 7.0 is based on Redhat, has more utilities a much
better installer.     7.1 seems a little too buggy.

http://cart.cheapbytes.com/cgi-bin/cart
under CheapBytes CDs (top left)
contains linux Install cds for ~2 and up + shipping

Redhat 6.2 x86 install and doc ($3.45)
Linux Mandrake 7.0.2  (GPL Version) ($2)

I get several people at work to go in on my credit card
and I get my shipping reduced to  $1 a cd when we split
shipping.





On Tue, 4 Jul 2000 18:13:51 -0500, Phillip Oliven 
><[EMAIL PROTECTED]> wrote:
>I just recently bought another computer just so I could install Linux and
>play around with it. I bought a copy of "Linux for Dummies" so I would have
>the operating system and something to help walk me through its operation. I
>have RedHat Linux V5.2 installed but my video card is an onboard
>CyrixGraphic Adapter on board the MediaGX 133 motherboard. The book says to
>install a newer version of Xfree86 but doesn't tell me how. My main computer
>which is running Win98SE is the only one that I can get on the Internet as
>the other has a WinModem which isn't supported in Linux. Is it possible to
>download Xfree86 onto a floppy and have Linux read the disk even though it
>is DOS? I would appreciate the help quite a bit but I would really
>appreciate a text file or a url where I could DOWNLOAD a manual or something
>so I could find this information for myself. I have found a couple of online
>manuals but that doesn't do me much good considering the two computers are
>at opposite ends of the house. Any Linux newsletters or really good
>homepages for beginners would be a tremendous help also.
>
>                                                                    Thanks
>in advance
>                                                                    Phillip
>
>


-- 
The warranty and liability expired as you read the message.
If the above breaks your system, it's yours and you keep both pieces.
Practice safe computing. Backup the file before you change it. 
Do a,  man every_command_here, before doing anything or running a script.

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


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