Re: I built me a miniLAN but...

2002-12-20 Thread Howard Eisenberger
On Fri, Dec 20, 2002 at 06:08:42PM +0100, Bart Buitinga wrote:

> How does one, btw, put up config.tel to use telnet.exe in server 
> mode and can ftp.exe do the same?

I use NCSA Telnet (telpkt.exe), not CUTCP Telnet (telnet.exe), but
they should work the same. If you start them without specifying a 
host, they will be in ftp server mode. You should be able to ping 
your DOS PC from the local network and ftp into it without using a 
password (just hit Enter).

As far as I know, ftpbin.exe and ftp.exe are only ftp clients. I
don't know of a simple DOS telnet server.

My config.tel for telpkt.exe for my network contains the following:

 -- config.tel ---
myip=192.168.1.2
netmask=255.255.255.0
domain="example.com"
name=linux1 ; hostip=192.168.1.1
name=dos ; hostip=192.168.1.2
name=linux2 ; hostip=192.168.1.3

#
# Example host file for Telnet 2.3
#   Distributed with 2.3.07
...

# This is the packet driver interface
hardware=packet
# interrupt=
ioaddr=0x60
...
ftp=yes
...
-

Happy holidays,

Howard E.




Re: I built me a miniLAN but...

2002-12-20 Thread Steve
On Fri, 20 Dec 2002, Bart Buitinga wrote:

>LINUX
> ...
> Routing is still completely obscure to me. It must be possible to put up
> some table on Hoppla, passing the modems tcp-ip connection on to the eth0
> as long as the ISP delivers ip addresses, but no luck so far.

  Some stuff from my old LOG file:
  Obviously, change the 192.168.24 to 10.0.0.
This was what I was using when I had the W95 machine on eth0
and the internet on ppp0.  This allowed me to dial up the 
Linux machine, and my wife and I could both surf at the same 
time.  Sharing a 33.6 modem wasn't really that bad unless we 
were both downloading something large at the same time... 
then we each had the equivalent of a 16.8 modem.  :-/
(I say that with the memory of my impression at the time.  
Now that I'm totally spoiled with broadband, 33.6 would be 
intolerably slow, nevermind 16.8.)

--
001116

Here are the commands for getting IP Masquerading up:  
echo 1 > /proc/sys/net/ipv4/ip_forward
ipchains -A forward -p all -s 192.168.24.0/24 -d 0.0.0.0./0 -i ppp0 -j MASQ
--

  You probably don't need this, but you might see something 
there that gives you an "aha" moment if ip masquerading by 
itself doesn't do the trick.

--
000109
-*-

commands for getting network up:

/sbin/insmod /lib/modules/2.0.36-3/net/tulip.o
/sbin/ifconfig eth0 192.168.24.13 netmask 255.255.255.0 up
/sbin/route add -net 192.168.24.0 netmask 255.255.255.0 eth0
/sbin/route add default ppp0
--


> Other starange behaviour of zen: since I put up the new kernel, mc and top
> wouldn't run any more, while during startup /proc appeared to be missing
> (that might also have to do with copying the entire UMSDOS tree around over
> an ftp link with wsftp/win95; maybe an empty dir wasn't copied). So I
> created /proc, and found mc and top starting to run but only after some 5
> minutes. Either some timeout that has to do with the routing compiled in
> the kernel, or another aspect of none mounting /proc. Maybe some other
> empty dir is used in this procedure?

  If you were missing /proc, that WILL be the "root" of all 
kinds of problems.  You absolutely need /proc, as that's 
a kernel info database that just looks like a file system.  
There is no actual /proc directory on the hard disk 
anywhere.  For instance, do 
$ cat /proc/cpuinfo 
  The information isn't returned from an actual "file" but 
from data the kernel has recorded about the cpu.

  Without /proc... I don't even see how Linux could run at 
all.

>OTHER

  Sorry, no help here on that front.

-- 
Steve Ackman
http://twoloonscoffee.com   (Need green beans?)
http://twovoyagers.com  (glass, linux & other stuff)