Need HELP with SLIP

Need HELP with SLIP

Post by Michael knig » Fri, 12 May 1995 04:00:00



Hello out there ;-)

It's a long time ago when I started getting my SLIP working. I guess it was
Kernel 1.1.72 as everythink worken allright until I idiot erased all my
/etc/rc* files.....

And now I'm to damn to get it up again. I will add my dip-script and the
output of ifconfig and route. I'm not VERY familar with TCP/IP (and the
eglish laguage ;) ) but I guess it's quite okay... So I don't know how to go
on searching for my fault...

THANK YOU VEEEERY MUCH!

Bye
  Michael (please answer by email, because I don't read this Group
           very often and it would be bad if I miss YOUR solution ;-)

/etc# dip edefix
DIP: Dialup IP Protocol Driver version 3.3.7a-uri (24 May 94)
Written by Fred N. van Kempen, MicroWalt Corporation.

CONNECTED to 192.109.225.22 with address 192.109.225.22

/etc# ifconfig
lo        Link encap Local Loopback
          inet addr 127.0.0.1  Bcast 127.255.255.255  Mask 255.0.0.0
          UP BROADCAST LOOPBACK RUNNING  MTU 2000  Metric 1
          RX packets 0 errors 0 dropped 0 overruns 0
          TX packets 30 errors 0 dropped 0 overruns 0

sl0       Link encap VJ Serial Line IP
          inet addr 192.109.225.102  P-t-P 192.109.225.22  Mask 255.255.255.0
          UP POINTOPOINT RUNNING  MTU 296  Metric 1
          RX packets 0 errors 0 dropped 0 compressed 0
          TX packets 10 errors 0 dropped 0 compressed 0

eth0      Link encap 10Mbps Ethernet  HWaddr 08:09:92:93:00:00
          inet addr 192.168.99.1  Bcast 192.168.99.255  Mask 255.255.255.0
          UP BROADCAST RUNNING  MTU 1500  Metric 1
          RX packets 129 errors 0 dropped 0 overruns 0
          TX packets 133 errors 0 dropped 0 overruns 0

/etc# route
Kernel routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
localhost       *               255.255.255.255 UH    0      0       30 lo
192.109.225.22  *               255.255.255.255 UH    0      0        0 sl0
192.168.99.0    *               255.255.255.0   U     0      0      141 eth0

/etc# ping edefix
PING edefix.han.de (192.109.255.22): 56 data bytes
ping: sendto: Network is unreachable
ping: wrote edefix.han.de 64 chars, ret=-1
ping: sendto: Network is unreachable
ping: wrote edefix.han.de 64 chars, ret=-1
ping: sendto: Network is unreachable
ping: wrote edefix.han.de 64 chars, ret=-1
ping: sendto: Network is unreachable
ping: wrote edefix.han.de 64 chars, ret=-1
ping: sendto: Network is unreachable
ping: wrote edefix.han.de 64 chars, ret=-1

--- edefix.han.de ping statistics ---
5 packets transmitted, 0 packets received, 100% packet loss

Und jetzt noch das Script....

        #
        # Connection script for SLIP to edefix.han.de
        # version for dip337-uri with ASLIP, UUCP locking
        #

        main:

        # Set the desired serial port and speed.
        # use ttySx when running mgetty on this port.
        # else use cuax.
        port cua1
        speed 38400

        # Reset the modem and terminal line.
        # reset

        # set IP addresses
        get $local 192.109.225.102
        get $remote 192.109.225.22
        get $mtu 296

        # Prepare for dialing.
        send ATZ\r\n
        wait OK 2
        if $errlvl != 0 goto error1
        send ATDT0511444060\r\n
        if $errlvl != 0 goto error2
        wait CONNECT 60
        if $errlvl != 0 goto error3

        # We are connected.  Login to the system.
        login:
        wait ogin: 10
        if $errlvl != 0 goto error4
        send nslip\n
        wait ord: 10
        if $errlvl != 0 goto error5
        send nslip\n
        wait SLIP 40
        if $errlvl != 0 goto error6
        done:
        # default
        print CONNECTED to $remote with address $rmtip
        mode CSLIP
        goto exit
                error1:
                        print Modem does not respond
                        goto error
                error2:
                        goto error1
                error3:
                        print no CONNECT message within timeout
                        goto error
                error4:
                        print no login: message
                        goto error
                error5:
                        print no password: message
                        goto error
                error6:
                        print no SLIP string
                        goto error
        error:
        print SLIP failed.
        exit:

--
    -----------------------------------------------------------------------

    -----------------------------------------------------------------------

 
 
 

1. Greatly needing help with SLIP, if anyone's willing to help...

Okay... I've got SLIP working somewhat well.  I've still got three
problems, though.

1: When I do slipdown, it fails, giving me this message:
        Bad : modifier in $ ( ).

2: How do I get the hostnames to work.  When I telnet to another computer,
        I get the message:
        <address> : Host name lookup failure

3: What is sliplock for?

Thanks in advance for your help...
--
                                     <_>
/-----------------------------\      _O_
|Michael Conners              |   ___/|\
|University of Minnesota      |  |   |||\
|Eden Prairie, MN             | ^T^  /|\ \

\-----------------------------/  |  _| |_
Life would be so much easier if we had the source code.

2. Installed Squid, it opened a firewall hole??

3. Need help with SLIP on OpenServer 5

4. Upgrading to kernel 2.0

5. Need help with SLIP

6. Estimated Crack5 runtime

7. Need help with SLIP setup, please!

8. what is Kernal

9. Need help with slip server

10. Need help with SLIP & pl13

11. Need help w/SLIP for ISC

12. Need help with SLIP through modems

13. Net Dummy needs help on SLIP connection