:


---------------------------------------------------------------
 Origin: http://www.linuxsupportline.com/~router/
---------------------------------------------------------------

                           IP masquerad on a floppy.

                           Project Ballantain v1.0.0
                               Powered by Linux.

         (C) 1998 1999 by Serge V. Storozhevykh (svs@hempseed.com)

   17-05-99

Q.      ?
A.  1)       3COM509,
           .
    2)     .    move2hdd.bat
    3)       .
    4)         
         .
    5)     .
            a:\etc\rc_masq 
           .


:  ,      Ballantain.
          Ballantain .
       Ballantain .
              .
       Ballantain    - FREESCO,
           , 
       3-     2- ,  
               ( 
            ).
                 1.44
              .
        ,    
       6       
       FREESCO  .
         (   17-05-99)  
        FREESCO,       
       FREESCO     .
      http://from.tsx.org (virtual address)
      http://www.linuxsupportline.com/~router (real address)


Q.   ?
A.  Ballantain        
            
       .
           Windows 95 .

Q.      ?
A.            
     .  DHCP     IP
       .
     : Linux + IP masquerad + diald + dhcpd + telnetd

Q.    .       Ballantain?
      :-),      .
     -   386/8+M ram/1.44 fdd/( ).
           , 
          ,    .
      -   ISA 3com509  PCI 3com905,  
          .   
    ()   3om501, 3com505, 3com507, 3com515,
    ne2000 PCI,     Realtec 8139.    
       Intel EtherExpress Pro 10/100.  
           ne2000,   
     Realtec,  Intel EtherExpress.
     -      .   -
       .     
       .
     -      ,    
    COM    FIFO   ,   
        .

Q.        1917   
      .   ?

A.           ,
        .  ISA     
    0xYYY,  PCI 0xYYYY  YYYY  .
     -  .

Q.   .  ?
A.          
    ,           .

Q.     ?
A.          Ballantain. Ballantain
        ,  ,
         IP     
        ,     
    Ballantain      .  
         Ballantain  
          .
            
           - Ballantain.
             
     .   Ballantain,  Ballantain     
         Windows.

Q.    DHCP .       ?
A.   .       Windows 95 
    (  Novell   NT )   
     NETBEUI / IPS/SPX.   c   
     TCP/IP,        DHCP .
          TCP/IP 
     ,        
     Windows       IP 
    ,     DHCP.

Q.  ,     ipmasq.vXX (ipmasqf.vXX)   ,
     ?
A.    DOS/Windows  rawrite.exe  
    ipmasq.vXX   .
      : dd if=ipmasq.vXX of=/dev/fd0
       .      
    boot:  setup         
    ENTER (   ).
      eng  rus         .


                         .

        :
      1) modem settings
      2) ISP settings
      3) miscellanous settings
      4) <bring up link> rules
      5) network settings
      0) exit

       3 :
     -     
      -  ,  .   
                 
     -          .

1.    .
           ,  setup
             .
             .   
         .
    (***       386/8M   .
     ***    14400   -   115200,
            19200)
       :

Previous settings:
==================
# Modem part of diald.cong for Ballantain
#
# com1 - cua0, com2 - cua3  etc.
device /dev/cua0
speed 115200
#
# Modem initialization string for connec
# Yes. It's commented, but we really use it
#MDMINI="ATZ"
===================

Modem(s) found on:
/dev/cua3 at 0x2e8 (irq = 3) is a 16550A (spd_vhi)

Modem connected to /dev/cuaX. 0, 1, 2, 3. [3]?

               
           
            ENTER.

Max baud rate of this port. 115200, 57600, 38400, etc. [115200]?

            .
    (         FIFO  
     <=14400   )

Modem init string. Usually ATZ or AT&F. [ATZ]?

         .      ENTER.

2.      .
          ,   .
              .

Previous settings:
==================
# network part of diald.conf for Ballantain
#
dynamic              # if your ISP supplies us with dynamic IP, then:
local 127.0.0.2      # fake local side ppp IP addr
remote 127.0.0.3     # fake remoute side ppp IP addr
==================

Previous settings:
==================
# ISP related stuff
#
PHONUM="T4004444 D5005333"
DNS="194.170.1.6"               # usually your ISP DNS addr
LOGIN=script                    # login type: script, pap, chap
==================

Does your ISP supply you with dynamic IP addr [y]?

           ENTER     .
           IP   n   ,
      .
!!!          .

Dialing method and ISP phone number [T4004444]?

            
        T,  - P.
            .

DNS address [194.170.1.6]?

     Domain_Name_Server .

Login type. PAP, CHAP, script. [script]?

        .
        ""      -
       .
        .
           :

**** Emirates Internet ****

Username: AHMED
Password: xxxxxxx
emirates-twb> ppp

      :
      "name:" -  "AHMED"
      "assword:" -  "PASSWORD"
      ">" -  "ppp"
           ppp.
       setup    .
!!!           
      , ..    ENTER  
        .

0 Wait for []?

      name:--name      name: ,
            
     <CR>    name:

0 Reply with [ahmed]?

            .

1 Wait for [assword:]?

          assword :-)

1 Reply with [xxxxxx]?

       PASSWORD

2 Wait for [>]?

      >

2 Reply with [ppp]?

          ppp

3 Wait for []?

               
    .

3 Reply with []?

              
     .

        man   chat.
       minicom       
           ,     
              
       ppp      -
     PAP  CHAP  .
        PAP  CHAP   :

Login name. []?
Password. []?

3.   .

            
    screen saver   :

Previous settings:
==================
# Misc system wide settings.
#
BLANK=0         # Turn off screen after 0-60 min. 0 - never.
==================

      0 ..   .
            386 ?
      5-       
            ppp .

4.     .

Previous settings:
==================
# Rules part of diald.conf for Ballantain
#
accept any 600 any          # bring up the link for any packets for xxx sec
#include  /etc/filter.cfg   # or use customizable filter
==================

Bring up link for 0-xxx sec. 0 - use filter.cfg. [600]?

     2       .
            
         600    .
              
         .  
        : edit /mnt/etc/filter.cfg
    (   ).   
        diald      
      .
           Windows 
      NETBEUI  IPX/SPX,  TCP/IP  
     ,  Ballantain      
     .

5.   .

Previous settings:
==================
# Network configuration. Ethernet part.
#
NE_IO="io=0x300"        # Ethernet card I/O port addr
NE_IRQ="irq=11"         # Ethernet card IRQ
NETWORK=10.0.0.0
NETMASK=255.0.0.0
MASKBIT=8
BRCAST=10.255.255.255
IPADDR=10.10.10.1
DHCPD=y
RTRTYPE=dialup          # dialup or leased line router
==================

Network. 10.0.0.0, 172.22.0.0, 192.168.0.0 [10.0.0.0]?
Subnet mask. [255.0.0.0]?
Subnet mask bits. [8]?
IP address of this computer on local network. [10.10.10.1]?

         gateway  .

Ethernet card I/O port address. [0x300]?
Ethernet card IRQ line. [11]?
Do you want DHCP server y/n [y]?
Do you want dialup or leased line router. [dialup]?

            .    
                 TCP/IP.
              
       .

0.  .
         ,  
          . (--.  :)

     Ballantain         
           .
        -      .
       ?   ping www.aha.ru
    (        ).
     5- (ALT+F5)        
        .    
     -    ,  . 
     telnet . ?    .
       - Windows 95.
        DHCP    Ballantain 
      ,   .     TCP/IP
          IP  .
     Windows,   winipcfg    
    Windows       DHCP , 
           Ballantain.  DOS  
     ping 10.10.10.1 (      Ballantain)
       TCP/IP Windows 95      
              
    .
       DHCP       
      Ballantain      .


       .   Internet Explorer  
       .      Internet
    Explorer  '        .

      diald (     
    )   control      telnet.

       Linux Alt+F1, Alt+F2, Alt+F5.

         plug&play  3com  ,
         .

Q.  ,        ?
A.          '  
       .   ,   .
              UAE...     ...
     , .

Q.       security?
A.   .    (   :) 
          .
            
    (inetd, in.ftpd etc)    forwarding/masquerading.
        telnetd  dhcpd,     
     .
           ,  
            Ballantain ( 
        )         
     Ballantain (    ).
       bzip2   :
    access.cfg -        telnet
                  : root  user.
                 root    ,
                 user -   diald
                   ( ) - root  user
                    passwd
    chat.cfg
    pap.cfg    - bzip2     .
                    ISP  setup.

Q.            ....  ?
A.    svs@hempseed.com

Q.         Ballantain     
     .      Novell  mars,
           Ballantain?
A.     .         
      8 ,    Ballantain    
          .      
     40          :)

Q.         Ballantain ,   ?
A.   Ballantain  ,    
      FREESCO -      .
    FREESCO    3-      ,
      / ,    .
       (17-05-99) FREESCO   ,    
       .    FREESCO   
     .


                          .

    Kernel      - v2.0.35 + IP masquerad + FPP emulation
    Filesystems - ext2, msdos
    diald       - v0.16.5
    pppd        - v2.3.5
    umount      -  RedHat 5.1
    Utilites    -     Slackware '96,'97

Last-modified: Wed, 19 May 1999 15:55:47 GMT
: