From: corsini@labri.greco-prog.fr (Marc-Michel CORSINI)
Subject: DIFFS for the FAQ part4 (the last at least)
Date: Mon, 18 Jan 1993 21:23:58 GMT [thread overview]
Message-ID: <1993Jan18.212358.22378@klaava.Helsinki.FI> (raw)
[ Moderator's note: you can use these diffs to create the new version
of the faq. Use the program called patch. --liw ]
*** ../faq_11.p4 Mon Jan 18 20:21:26 1993
--- faq_nov.p4 Sun Nov 22 20:36:19 1992
***************
*** 11,18 ****
Summary: Linux, a small and free unix for 386-AT computers.
Archive-name: linux-faq/part4
! Last-Modified: 93/01/16
! Version: 1.15
*********************************************************
* *
--- 24,31 ----
Summary: Linux, a small and free unix for 386-AT computers.
Archive-name: linux-faq/part4
! Last-Modified: 92/11/20
! Version: 1.11
*********************************************************
* *
***************
*** 38,44 ****
*** This section is maintained by Krishna Balasubramanian
*** <balasub@cis.ohio-state.edu>. Mail him if you have corrections,
*** additions, etc.
! *** Last update: Tue, 16 Jan 93 19:06:57 -0500
XI.A. X386 GENERAL INFORMATION
XI.B. HARDWARE REQUIREMENTS: Supported Video cards.
--- 51,57 ----
*** This section is maintained by Krishna Balasubramanian
*** <balasub@cis.ohio-state.edu>. Mail him if you have corrections,
*** additions, etc.
! *** Last update: Tue, 17 Nov 92 19:06:57 -0500
XI.A. X386 GENERAL INFORMATION
XI.B. HARDWARE REQUIREMENTS: Supported Video cards.
***************
*** 48,54 ****
XI.F. XCONFIG: Video mode settings and common errors in Xconfig.
XI.G. X-APPLICATIONS: Compiling X programs.
XI.H. BUGS
- XI.J. MISC: the things that I don't know where to put :)
The X11 directories are (depending on your version of X)
XLIB = /usr/X386/lib/X11/ or /usr/lib/X11/
--- 61,66 ----
***************
*** 262,293 ****
pub/contrib/.
- QUESTION: [suggested by Thomas Koenig]
- How do I support national keyboards in X11 ?
- ANSWER: Put a .Xmodmap file into the user's home directory specifying
- which keys to use for what; or else replace the
- /usr/lib/X11/xinit/.Xmodmap with the national keyboard keys
- customized. Do man xmodmap for more details.
- enclosed an except of mine (french keyboard):
- keycode 8 =
- keycode 9 = Escape
- keycode 10 = ampersand 1
- keycode 11 = eacute 2 asciitilde
- keycode 12 = quotedbl 3 numbersign
- keycode 13 = apostrophe 4 braceleft
- keycode 14 = parenleft 5 bracketleft
- keycode 15 = minus 6 bar
- keycode 16 = egrave 7 grave
- keycode 17 = underscore 8 backslash
- keycode 18 = ccedilla 9 asciicircum
- keycode 19 = agrave 0 at
- keycode 20 = parenright degree bracketright
- keycode 21 = equal plus braceright
- keycode 22 = BackSpace
- keycode 23 = Tab
- keycode 24 = A
- ........
XI.E. DEBUGGING STARTUP PROBLEMS:
--- 274,280 ----
***************
*** 675,705 ****
add mod5 = Mode_switch
David (Dawes)
- XI.J. MISC
- ~~~~~~~~~~
- QUESTION: When using Makefiles generated by xmkmf why do I get many error
- messages?
-
- ANSWER: Currently xmkmf under Linux doesn't like # comments in Imakefiles.
- Therefore you must change the #'s to XCOMM. But be careful. Don't change
- any pre-compiler directives. (mal11@po.CWRU.Edu Matthew A. Lewis)
-
-
- QUESTION: Why do I get the error message 'could not open default font'
- when I start X?
-
- ANSWER: Some servers only work with compressed (uncompressed) fonts.
- So compress (uncompress) the font files in misc and 75dpi directories and
- run `mkfontdir .`. Leave the files fonts.alias and fonts.dir uncompressed.
-
-
- QUESTION: Why is it I cannot get Xfree86 to work with my trident card?
-
- ANSWER: You should get xfree86-1.1 which has improved trident support.
- SLS contains 1.0Ya (I believe). If you have SLS already and a slow
- connection get xbin2.1.TZa from the xfree86-1.1 distribution on tsx-11.
-
-
Sources for X11_FAQ:
Steve Kotsopoulos, Peter Hawkins, John Morris, MM. Corsini, K. Balasubramanian.
Direct comments, questions, complaints to krishna at:
--- 662,667 ----
***************
*** 711,717 ****
*** (p_copela@csd.uwe.ac.uk). This first version was built by myself
*** (MM. Corsini) from the original material posted by Phil in c.o.l.
*** I hope the information provided below are readable and useful.
! *** Last Update: 16 Jan 92 01:12:45 GMT
**** In the ANSWER part the I/MY stands for P. Copeland ****
--- 673,679 ----
*** (p_copela@csd.uwe.ac.uk). This first version was built by myself
*** (MM. Corsini) from the original material posted by Phil in c.o.l.
*** I hope the information provided below are readable and useful.
! *** Last Update: 16 Nov 92 01:12:45 GMT
**** In the ANSWER part the I/MY stands for P. Copeland ****
***************
*** 726,923 ****
ANSWER: To use TCP/IP on local ethernet you will need the following
! 1) A linux machine with linux kernel CURRENT_VERSION
! PATCH_LEVEL or later
! 2) An ethernet card, now by default the kernel assumes that
! you have a WD80[0/1]3 but there are other 'drivers' available
! for the following cards :-
! wd8013 \
! wd8003 >-- These will work by default with the kernel
! SMC Elite 16 /
! ne2000
! ne1000
! 3com503 EtherlinkII
! These are available from super.org:/pub/linux and a bit further
! on I'll explain how to incorperate them (although having a
! wd8013 I don't have any prectical experiance of it, I'm relying
! on postings and email)
! 3) If you are only going to use 'loopback' mode, you won't need
! a card either! A special loopback device is used to comunicate
! with yourself
!
! 4) Some tcp/ip software eg telnet/ftp/talk/finger/rcp/
! rsh/various other stuff like daemons etc...
!
! You can get most if the networking stuff from :-
! sunsite.unc.edu:/pub/Linux/system/Networking
! OR
! tsx-11.mit.edu:/pub/linux/ALPHA/NFS
! OR
! nic.funet.fi:/pub/OS/Linux/BETA/NFS
! Linux now comes with nfs as a standard filesystem,
! but you will have to recompile or get a new mount command
! to use it if 'mount -t nfs csd:/very/private/area /mnt' fails
! there should be one already compiled in the nfs-client package
! on nic.funet.fi:/pub/OS/Linux/ALPHA/NFS
!
! 5) Know the IRQ's of your internal cards. This is to avoid
! conflicts and allow the 'drivers' to communicate with your
! hardware
! 6) Also, If you do have ethernet cable, both coax (thin and thick)
! as well as twisted pair will work, the cable is only there to
! carry signals, your ethernet board works out how and the linux
! 'drivers' simply stuff data onto the card.
! 7) A lot of coffee and one of those stress relieving
! gadgets you can get in the local market.
!
QUESTION: Where to start ?
! ANSWER: First off you'll need to rebuild the kernel with networking compiled into
! the linux kernel. You do this by removing the '#'s in linux/net/Makefile
! on lines 13,14 and 26 if they haven't already been removed. Next you'll
! need to calibrate your network card. Decide what IRQ setting you'll need
! for the network card.
! Anyway for those who are frexible, the standard kernel parameters
for this are :-
-
- INT = 5
- mem = D0000
- i/o addr = 280
- memory start = D0000
- memory end = D2000 ( 8K block for 8003, make it D4000
- 16k for the wd8013 )
! INT = card interupt, usually selectable between 2-7
! mem = where in memory to start stuffing data
! i/o addr = low level communications to the board
! memory start = nearly all boards have a jumper for mem starts
! C8000 CC000 CD000 D0000 D2000 D4000 etc
! memory end = in the case of the WD8013 this is a 16k buffered
! card and will have a memory end at D4000
! These can be changed on lines 12-17 (16,17 being the most important) of the
! file linux/net/tcp/Space.c
!
! *NOTE* If you have problems with the memory start addr, please get in touch
with bir7@EDU.Stanford.leland
-
- Future versions of the TCP/IP code will be setable at boot time via
- ioctl's. For those of you who do not have the wd8013 card, please refer to
- the ethernet board documentation on the jumper settings you may have to
- changed.
! Now as I don't have another network card I am relying on other postings
! for information on how to apply the other drivers, here is a better posting
! I weeded out of the mailing lists which I feel should help those in need.
! I'm sorry that I don't have any experiance of it but thats life. It's
! specific to the ne2000 card but should also aply to the 3com and ne1000 cards
! ****
! From: mdw@db.TC.Cornell.EDU (Matt Welsh)
- [stuff deleted about getting utils etc]
-
- ---- Now, before you build the kernel, you need to install the
- NE2000 driver stuff (this doesn't apply if you're not going to use
- an NE2000, NE1000, or 3c503 ethernet card). Omit the following steps
- if you're just using the wd8003 card (or no card at all).
-
- ---- Got the 8390 driver code. This driver runs the ne2000, ne1000, and
- 3c503 cards. It is in alpha, mail becker@super.org if you are
- interested.
- Got the files 8390.c, 8390.h, 3c503reg.h, and Space.c, put them all in
- /usr/src/linux/net/tcp. Note that this Space.c overwrites your old
- one.
-
- ---- Edited Space.c to change value of EI8390_IRQ. Also changed the
- #ifdef for the WD8003 card to something like
- #ifdef I_HAVE_NE2000_INSTEAD
- so that the wd8003 driver wouldn't get put in. I hear it causes
- problems with the ne2000 if you set them both for IRQ5.
-
- ---- Edited /usr/include/linux/config.h and took out
- #define CONFIG_DISTRIBUTION
- to force use of config.site.h instead.
-
- ---- Edited /usr/include/linux/config.site.h and added
- #define EI8390 0x300 /* base address */
- #define EI8390_IRQ 5 /* irq of card */
- #define EI_DEBUG 2 /* debug level */.
-
- ---- Edited /usr/src/linux/net/tcp/Makefile and added '8390.o' to OBJS.
-
- ---- Edited /usr/etc/inet/rc.net to config "eth_if" instead of "eth0".
-
- *** (Phil: shouldn't be putting it here but it's part of the same message) ***
-
- Now, it's not really that simple. There are numerous caveats. The main
- one is: telnet and telnetd don't work. You can probably telnet out to
- other machines okay, but telnetd is broken so you can't telnet to your
- own machine. The fix? There is a new version of telnet and telnetd, which
- are feature-laden and so far have worked great for me. They are in ALPHA,
- but supposedly are to be released with a new TCP/IP package soon.
-
- So, if you have problems telnetting into your machine, then you need
- the new telnet. You'll know if you telnet to you own machine, it says
- "connected to... whatever" and then closes the connection. If you don't
- even get a connection, then things aren't set up right.
-
- If you somehow have Pete Chown's new telnet, there are still bugs in telnetd,
- which are fixed by an even newer version. All of this is to be released soon
- so hold on. If you're really clamoring for a working telnet and telnetd,
- talk to me. But the new binaries should be out soon.
-
- NOTE: If you're only configuring for loopback you need to take out
- the line in rc.net that runs config on eth0.
-
- NOTE! SLS puts the TCP/IP stuff in /usr/inet instead of the right place
- (/usr/etc/inet). If you can't seem to get things to work, make sure these
- files are in the right place.
-
- If you have any problems, just mail me (mdw@tc.cornell.edu). I'll be glad
- to try and help. I hope I haven't forgotten anything. As long as you
- set up everything in the canonical way it should work.
-
- I think this is pretty complete. There are lots of problems, but
- GO SLOW, make sure everything's setup right in all of your configuration
- files (esp. rc.net, inetd.conf, services, hosts, resolv.conf, and so on).
- Take notes while you do all of this stuff. Note anything out of the
- ordinary. This will help GREATLY if you have inevitable problems and have
- to ask others for help.
-
- Good luck!
- mdw
-
- ***
-
- Right, compile the kernel (You may need to do a 'make clean dep Image' or
- if you have just gone to 0.99, 'touch .config;make config;make dep Image').
- and hopefully on the next reboot with the new kernel it should detect your
- card telling you of the ethernet number it is, and also that a new family
- of sockets (AF_INET) are available.
-
- If your card is incorrectly installed (I know you wouldn't) it could cause
- all kinds of errors to be reported. (eg missing jumper settings, thick
- ether selected instead of thin, that kind of thing)
-
- At this stage you have a kernel which supports tcp/ip via the ethernet
- board in your machine but knows nothing of networking, that is where the
- software in the tcpip suites becomes important as it is this software that
- understands networking protocols. Linux has the Network filing system
- included by default (NFS) so you won't have to track down the nfs-server,
- nfs-clients on the various ftp sites.
-
-
QUESTION: What files do I need and setup info ?
ANSWER: the 0.8.0/0.8.1 suites have reasonable enough documentation to
--- 688,764 ----
ANSWER: To use TCP/IP on local ethernet you will need the following
! 1) A linux machine with linux kernel 0.98.4 or newer
! 2) A WD8003/WD8013 compatible MEMORY MAPPED ethernet card
! but WD8013 is probably the best to use due to its
! electronic reconfiguration rather than jumper settings
! although you'll probably need DOS to set it up
! You should note that the kernel will always claim to
! have found a WD8013. If this bothers you, change the printk
! in linux/net/tcp/we.c to reflect your hardware.
! *NOTE* no special hardward is needed to communicate with
! yourself
! Currently I know of three cards that will work (please tell
! me if there are more) support for the ne2000 is being
! worked on but little has been heard of it's progress
! These are the WD8013, WD8003, and the SMC Elite 16.
! 3) If you are only going to use 'loopback' mode, you probably
! won't need a card either! A special loopback device is used
! to comunicate with yourself
! 4) some tcp/ip software eg telnet/ftp/talk/finger/rcp/
! rsh/various other stuff like daemons etc...
+ 5) Know the IRQ's of your internal cards.
+
+ 6) A lot of coffee and one of those stress relieving
+ gadgets you can get in the local market.
+
QUESTION: Where to start ?
! ANSWER: First off you'll need to rebuild the kernel with networking
! compiled into the linux kernel. You do this by removing the '#'s in
! linux/net/Makefile on lines 13,14 and 26 if they haven't already been
! removed. Next you'll need to calibrate your network card. Decide what
! IRQ setting you'll need for the network card.
! Anyway for those who are frexible, the standard kernel parameters
for this are :-
+ INT = 5
+ mem = D0000
+ i/o addr = 280
+ memory start = D0000
+ memory end = D2000 (8K block for 8003, make it D4000
+ 16k for the wd8013 )
! but these can be changed on lines 12-17 (16,17 being the most important)
! of the file linux/net/tcp/Space.c
! *NOTE* if you have problems with the memory start addr, please get in touch
with bir7@EDU.Stanford.leland
! Future versions of the TCP/IP code will be setable at boot time via
! ioctl's. For those of you who do not have the wd8013 card, please refer to
! the ethernet board documentation on the jumper settings you may have to change.
! Right, compile the kernel (You may need to do a 'make clean dep Image')
! and hopefully on the next reboot with the new kernel it should detect your card
! telling you of the ethernet number it is, and also that a new family of
! sockets (AF_INET) are available.
! If your card is incorrectly inserted (I know you wouldn't) it could
! cause all kinds of errors to be reported.
! At this stage you have a kernel which supports tcp/ip via the
! ethernet board in your machine but knows nothing of networking, that is
! where the software in the tcpip suites becomes important as it is this
! software that understands networking protocols.
QUESTION: What files do I need and setup info ?
ANSWER: the 0.8.0/0.8.1 suites have reasonable enough documentation to
***************
*** 1096,1105 ****
ANSWER: One of the most common complaints requards the config command
what isn't often noted is that this has to be recompiled from the 0.8.1
sources (available currently on tsx-11.mit.edu: as
! /pub/linux/ALPHA/tcpip/tcpip-0.8.1.tar.Z). Another problem that comes
up is that some binaries that are distributed requires libc.2.2.2 to
! be present.
!
Other people think that it's their version of libraries that
cause the problem but can't find the source code for the various utils
to recompile. Well sorry folks you are out of luck, the source code
--- 937,946 ----
ANSWER: One of the most common complaints requards the config command
what isn't often noted is that this has to be recompiled from the 0.8.1
sources (available currently on tsx-11.mit.edu: as
! /pub/linux/ALPHA/tcpip/tcpip-0.8.1.tar.Z). Another problem that crops
up is that some binaries that are distributed requires libc.2.2.2 to
! be present (mine I've no idea what version/wher it came from but it's
! 173060 bytes long if it helps!)
Other people think that it's their version of libraries that
cause the problem but can't find the source code for the various utils
to recompile. Well sorry folks you are out of luck, the source code
***************
*** 1116,1210 ****
ANSWER:Several things that can help
! 1) Upgrade your kernel to the latest one that you can grab
! (currently at time of writting 0.98.5).
! 2) Join the NET mail channel, you can learn an awful lot
! from the guys on this channel (like the various new
! copyrighted techniques for tearing out your hair)
! 3) Try and upgrade your C compiler and libraries to at least
! version 2.2.2d and if possible, combine it with gcc 2.3.2
! although if disk space is low, trash your 2.2.2 version
! and install 2.3.2 from nic.funet.fi:/pub/OS/Linux/GCC
! 4) Binary distributions of various network probrams can be
! found on sunsite.unc.edu,.. always read the README files
! they are there for a reason! (personal show/contacts/etc..)
! nic.funet.fi and txs-11.mit.edu also have good variation
! in utilities that you can use. Also don't forget that a lot
! of network programs will compile reasonably well although,
! be prepared for unexpected weeks of fustration.
! 5) Depending on your type of problem, contacting the author
! of the software or the person who ported the software would
! be a better choice.
! 6) If you are experiencing problems with missing files which are
! placed where you think they *should* be, it's always worth
! trying the following to find out what files are being used
! strings <prog> | less
!
! This should show up any hard linked files in the binary.
! eg differing versions of telnet will look at /etc/services OR
! /usr/etc/inet/services, therefore, it is a good idea to have
! a symlink from one to the other eg
! ln -s /etc/services /usr/etc/inet/services
! 7) Complain bitterly to me if I haven't covered your problem
! and I'll get it sorted for the next FAQ
!
!
! Cast of this production
! -----------------------
!
! Ross Biro - Without whom all this wouldn't be possible
! and who pointed out holes in my documentation.
! Also contributed the history of tcp/ip on linux
! after he saw my rather perverted view of it.
!
! Mitch DeSouza - Constant alpha tester. Also pointed out mistakes
! and made critical and helpfull suggestions (like
! getting a spell checker). Also gave me his Tel No.
! which I used to annoy him with.
!
! Rick Sladkey - The current Author of the NFS client server code
! who with the help of Doug Quale repatched the
! kernel to support networking filesystems.
!
! Donald Becker - Author of the drop in drivers for the linux kernel
! allowing the following cards to be used,
! 3com503, 3com503/16, NE2000, NE1000 and even a
! 3com501 (Donald: 'not recommended').
!
! Matt Welsh - For a quick overview of the process of installing the
! atlernative ethernet drivers.
!
! The pioneers - Mentioned in the history of TCP/IP 0.8.[01] by
! Ross earlier in this FAQ, these are fearless people
! who brazenly marched their filesystems towards
! complete oblivion and watched weeks of work
! evapourate in milliseconds without a shred of hate
! for the OS that they had come to love.
!
! The supporting - You know who you are (probably, depending on how
! extras much virtual beer you had last night) for contributing
! to the network code with the various bug reports that
! inevitably crop up.
!
! Linus Torvalds - The elusive ecentric UNiX kernel coder who probably
! burns more CPU time on compiling than anyone else
! Here's to a long and healthy kernel development
! program and a Nobel equiv award for his efforts.
!
! Phil. Copeland - The only sad person to take on the FAQ because I was
! getting annoyed at the number of 'petty' tcp/ip code
! problems being asked on the net. Besides of which I
! wanted to give something useful towards Linux which
! I've used since 0.10 (does this make me a veteran?)
!
XIII. EMACS for LINUX
=====================
--- 957,1012 ----
ANSWER:Several things that can help
! 1) upgrade your kernel to the latest one that you can grab
! a copy of (currently at time of writting 0.98.4)
! 2) join the NET mail channel, you can learn an awful lot
! from the guys on this channel (like the various new
! copyrighted techniques for tearing out your hair)
! 3) try and upgrade your C compiler and libraries to at least
! version 2.2.2d7
! 4) binary distributions of various network probrams can be
! found on sunsite.unc.edu,.. always read the README files
! they are there for a reason! (personal show/contacts/etc..)
! 5) Depending on your type of problem, contacting the author
! of the software or the person who ported the software would
! be a better choice.
! 6) Complain bitterly to me if I haven't covered your problem
! and I'll get it sorted for the next FAQ
! Cast of this section
! ====================
! Ross Biro - Without whom all this wouldn't be possible
! and who pointed out holes in my documentation.
! Also contributed the history of tcp/ip on linux
! after he saw my rather perverted view of it.
! Mitch DSouza - Constant alpha tester. Also pointed out mistakes
! and made critical and helpfull suggestions (like
! getting a spell checker). Also gave me his Tel No.
! which I used to annoy him with.
! Rick Sladkey - The current Author of the NFS client server code
! who with the help of Doug Quale repatched the
! kernel to support networking filesystems.
! The pioneers - Mentioned in the history of TCP/IP 0.8.[01] by
! Ross earlier in this FAQ
! The supporting - You know who you are (probably, depending on how
! extras much virtual beer you had last night) for contributing
! to the network code.
! Linus Torvalds - The elusive ecentric UNiX kernel coder who probably
! burns more CPU time on compiling than anyone else
! Here's to a long and healthy kernel development
! program and a Nobel equiv award for his efforts.
! Philip Copland - The only sad person to take on the FAQ because I was
! getting annoyed at the number of 'petty' tcp/ip code
! problems being asked on the net. Besides of which I
! wanted to give something useful towards Linux which
! I've used since 0.10 (does this make me a vetrian?)
XIII. EMACS for LINUX
=====================
--
There will be some sig, once our local net will be reliable.
Right now I rather stay anonymous.
reply other threads:[~1993-01-18 21:23 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox