From: botelle@eniac.seas.upenn.edu (Justin Botelle) Subject: Help with /etc/hosts and Xconfig Date: 29 Jun 1993 00:25:14 GMT
OK, I'm making progress with setting up Linux. I started with SLS, then
got a Xconfig file from bcr@physics.purdue.edu for my ATI Graphics Ultra
+ 2MB card, and then read the NET-FAQ and tried to work on the hosts file.
However, when I run startx, I finally get X windows, but my mouse does not
respond properly... I don't know what the default settings are, but in the
Xconfig file I have it says
Microsoft "/dev/mouse"
and
baudrate 1200 It also had Emulate3Button or something like that. I tried
disabling Emulate3Button,and then setting baudrate to 9600, but still had no
effect. I have a PS/2 style DEC 3 button mouse. my /dev/mouse points to
ps2aux. When I boot it tells me that a ps2 mouse has been detected and
installed. What do I do?
As far as the hosts go, I tried putting my host in the hostfile and then
rebuilding. At first, I couldn't even ping myself, but now I can ping
myself, but not anyone else on the network. Also, as soon as I boot up,
I am now getting
eth0 bogus packetsize......
eth0 bogus packet....
eth0 mismatched read page pointers
about every 2 seconds. If someone could send me a copy of their hosts file,
it would be appreciated.
The IP address I assigned to this box is 128.91.16.112, with a name of
jrb4.xrt.upenn.edu (until I get more creative). My router is 128.91.254.34
The NET-FAQ was unclear on how to enter this in the hosts file.
When I tried the hostcvt.build, it told me that there was not a file for jrb4.
Any help would be appreciated.
Thanks.
I have enclosed a copy of my hosts file.. and also of my Xconfig if anyone
is interested.
Hosts file: names of the local hosts (see explanation below).
#
# Local Hosts Format:
# IP_NUMBER HOSTNAME ALIASES
#
# Here is the name of your host, first, followed by any aliases
128.91.16.112 jrb4 jrb4.xrt.upenn.edu
#
# Your network number (usually same as above, with last number zero)
128.91.0.0 network
#
# Uncomment and define IP number of router if not on isolated network.
#128.91.254.3
#
# Local host ip num: no need to change this.
127.0.0.1 localhost
#
#
# The names of any other local hosts go below here.
#--------------------------------------------------
#
#--------------------------------------------------
# This file is an attempt to simplify network configuration to just
# this file, plus the externally set host and domain name (see below).
# Entries up to the first dashed line are used at bootup by
# /etc/inet/rc.net, so be careful changing them. Note that the
# hostcvt.build command only works if all hosts are on your network.
#
# Instructions:
# - Set the IP number for your host, network, and router(opt).
# - Add any other local hosts you need, then exit the editor.
# - Set your host name (/etc/host and first entry this file).
# - Set your domain name using (/etc/domain and this file).
# - Rebuild the named files (by running /etc/hostscvt.build).
# - Or skip nameserver and set /etc/host.conf to "order hosts".
# - reboot
# $Header: /home/x_cvs/mit/server/ddx/x386/Xconfig.cpp,v 1.8 1993/01/24 03:47:46 dawes Exp $
# $XConsortium: Xconfig,v 1.2 91/08/26 14:34:55 gildea Exp $
#
# Copyright 1990,91 by Thomas Roell, Dinkelscherben, Germany.
#
# Permission to use, copy, modify, distribute, and sell this software and its
# documentation for any purpose is hereby granted without fee, provided that
# the above copyright notice appear in all copies and that both that
# copyright notice and this permission notice appear in supporting
# documentation, and that the name of Thomas Roell not be used in
# advertising or publicity pertaining to distribution of the software without
# specific, written prior permission. Thomas Roell makes no representations
# about the suitability of this software for any purpose. It is provided
# "as is" without express or implied warranty.
#
# THOMAS ROELL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
# INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
# EVENT SHALL THOMAS ROELL BE LIABLE FOR ANY SPECIAL, INDIRECT OR
# CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
# DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
# TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
# PERFORMANCE OF THIS SOFTWARE.
#
# Author: Thomas Roell, roell@informatik.tu-muenchen.de
# modified by obz for easier linux porting
# Modified by Kevin Fluet (fluet@ee.ualberta.ca) for the Local Bus ATI
# Graphics Ultra Pro connected to a Gateway 2000 (MAG) Crystal Scan
# 1572 FS March 22, 1993
# bcr: Modified by Bill C. Riemerss (bcr@physics.purdue.edu) I've merged
# bcr: our Xconfig files. Both are for the same card and monitor, so
# bcr: which modes you use is just a matter of personal preferance.
#
# some nice paths, to avoid conflicts with other X-servers
#
RGBPath "/usr/X386/lib/X11/rgb"
#
# Multiple FontPath entries are allowed (which are concatenated together),
# as well as specifying multiple comma-separated entries in one FontPath
# command (or a combination of both methods)
#
FontPath "/usr/X386/lib/X11/fonts/misc/"
FontPath "/usr/X386/lib/X11/fonts/Type1/"
FontPath "/usr/X386/lib/X11/fonts/Speedo/"
FontPath "/usr/X386/lib/X11/fonts/75dpi/"
FontPath "/usr/X386/lib/X11/BitstreamType1"
#
# Keyboard and various keyboard-related parameters
#
Keyboard
AutoRepeat 500 5
ServerNumLock
Xleds 1 2 3
#
# To set the LeftAlt to Meta, RightAlt key to ModeShift,
# RightCtl key to Compose, and ScrollLock key to ModeLock:
#
LeftAlt Meta
RightAlt ModeShift
RightCtl Compose
ScrollLock ModeLock
#
# Mouse definition and related parameters
#
Microsoft "/dev/mouse"
# Emulate3Buttons
BaudRate 1200
#
# The graphics drivers
# First the 8-bit colour SVGA driver
#
vga256
Virtual 1152 910
ViewPort 0 0
#Kevin: Modes "1152x910" "1024x768" "800x600"
#bcr: Modes "1152X910" "1024X768" "800X600" "640X480"
Modes "1152v910" "1024v768" "800v600"
Clocks 51 36 126 25 80 65 45 40 135 32 110 80 45 40 75 65
# NB: These are the actual clocks for the Ultra Pro, not just what X386
# gives you. They were determined by playing with the ATI install program.
#
# Next the 1-bit mono SVGA driver
#
vga2
Virtual 640 480
ViewPort 0 0
Modes "640x480"
#
# The Hercules driver. For Hercules, the only valid configuration option
# is ScreenNo (refer to the manual page).
#
# hga2
#
# And last, the database of video modes
#
# These timings are set up for _my_ LB ATI Graphics Ultra Pro with 2MB
# VRAM installed. You may need to do some fine tuning due to variations from
# card to card and monitor to monitor. These _should_ work on a 1MB card
# without too much modification. Here is a quick and dirty description
# of how to fine tune these timings by modifying the numbers below:
#
# bcr: No modifications are needed for 1MB VRAM at this time.
#
# name - Not really a number, just a label.
# clock - Increase to reduce flicker at higher resolutions.
# You will have to readjust everything if you change this.
# bcr: Higher clock speeds means less flickering. However too high
# bcr: of a clock speed means you won't be able to use your full
# bcr: screen.
#
# horizontal timing -- all numbers are multiples of 8
# 1st - The width of the display (in pixels) -- don't change this
# 2nd,3rd - Increase (the same amount) to move display left.
# Decrease (the same amount) to move display right.
# bcr: X3 just seems to have random effects
# 4th - Increase to make display narrower.
# - Decrease to make display wider.
#
# vertical timing -- numbers do _not_ have to be multiples of 8.
# 1st - The depth of the display (in pixels) -- don't change this.
# 2nd,3rd - Increase (the same amount) to move display up.
# Decrease (the same amount) to move display down.
# bcr: Y3 just seems to have random effects
# 4th - Increase to make display deeper (taller).
# - Decrease to make display more shallow (shorter).
#
# -- Kevin (fluet@ee.ualberta.ca)
# bcr:
# bcr: I strongly recommend using vgaset. (Found on sunsite.unc.edu.)
# bcr: Any mode with a verticle frequency of about 60Hz or greater should
# bcr: appear completely flicker-free.
# bcr:
# bcr: Bill
ModeDB
# name clock horizontal timing vertical timing flags
# bcr: "sample" CC X1 X2 X3 X4 Y1 Y2 Y3 Y4
# bcr: I now use the following flicker-free modes. (found with vgaset)
"800v600" 51 800 800 1000 1000 600 600 606 616
"1024v768" 65 1024 1024 1264 1264 768 770 788 792
"1152v910" 80 1152 1176 1424 1424 910 910 924 936
# bcr: These are Kevin's modes.
"800x600" 65 800 824 944 1032 600 600 606 624
"1024x768" 75 1024 1048 1184 1288 768 773 777 806
"1152x910" 80 1152 1176 1272 1432 910 920 930 950
# bcr: These are the modes I used to use. (found by experimentation)
"640X480" 40 640 664 9999 824 480 480 0 520
"800X600" 40 800 824 9999 984 600 640 0 737
51 800 824 9999 1024 600 601 0 655
"1024X768" 65 1024 1048 9999 1288 768 775 0 843
75 1024 1048 9999 1288 768 768 0 830
"1152X910" 80 1152 1176 9999 1424 910 925 0 1015
Thanks again