Path: news1.icaen!news.uiowa.edu!news1.chicago.iagnet.net!iagnet.net!newsfeed.internetmci.com!205.252.116.205!howland.erols.net!portc02.blue.aol.com!audrey02.news.aol.com!not-for-mail From: babarstcyr@aol.com (BabarStCyr) Newsgroups: comp.binaries.apple2 Subject: tftpc 0/3 Date: 25 Dec 1997 21:06:10 GMT Lines: 63 Message-ID: <19971225210600.QAA27848@ladder02.news.aol.com> NNTP-Posting-Host: ladder02.news.aol.com X-Admin: news@aol.com Organization: AOL, http://www.aol.fr Xref: news1.icaen comp.binaries.apple2:10044 This is the readme file of tftpc.shk. This archive includes: readme file (yes that's stupid text you are reading ;-) tftpc nda services file (just an example not used) hosts file (just an example not used) slip file (a shell script for linux) ifconfig.snap (an example of ifconfig report) route.snap (an example of route report) Tftpc is a Trivial File Transfer Protocol Client for Apple 2GS. It is a Nda with an udp/ip stack connected to Modem Port by SLIP. It's a hack just to let my GS and my Linux play together ;-) Don't ask for more... GS side: Drop tftpc nda in *:System:Desk.Accs folder. Make sure your slot 2 is modem port. Make sure your modem port is all default but buffering=yes and baud=19200. Reboot your gs. Cable side: Your cable must be null-modem cable. Check it with a telecom package at each side. Linux side: Since TFTP requiert more than 512 bytes datagrams AND Since Linux sources (and precompiled kernels) have a SLIP MTU fixed to 296 THEN you cannot use tftpc without recompiling a new kernel! :-( Hopefully you are an Apple2 user! So "Au boulot!" Change SL_MTU to a minimum of 600 in /usr/src/linux/drivers/net/slip.h. Recompile kernel: { make mrproper make config make dep make clean make zImage } Rebuild lilo or loadlin. Uncomment tftp line in /etc/inetd.conf. Reboot Adapt slip script in this archive. Launch it. Et voila! Note about tftp: Since you fournish none user/password when connecting to Linux files read or writen on serveur (here Linux) MUST have good permissions. So when importing a file to your GS Linux file must have a minimum of ------r-- permission. When exporting a file from your GS Linux file MUST exist with a -------w- permission (you must at minimum create an envelop). To build a new file under Linux type: >foobar # foobar is zero byte sized chmod 777 foobar # anybody can do anything with this file ls -l foobar # to check permissions (normaly rwxrwxrwx) Contact: BabarStCyr@aol.com Paris (France)