Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Feb 1995 09:18:52 +0100
From:      jg@euronet.nl (Jan_Guldemond)
To:        questions@FreeBSD.org
Subject:   SLIP connection
Message-ID:  <199502090818.JAA04263@mail.euronet.nl>

Next in thread | Raw E-Mail | Index | Archive | Help
Hi,

I use the 2-2-95 snap from FreeBSD and I have the following problem: I can't 
get a SLIP connection. Here's the situation:

* I have installed kermit (and the compat1x distr.)
* We have a class c internet-adress: 193.78.175.xxx
* The data about our InterNet provider:
  IP-address: 193.78.240.1
  Nameserver: 193.78.240.1
* I have edited the /etc/hosts file:
  127.0.0.1            localhost localhost.my.domain
  193.78.175.1         host.jcn.nl host.jcn.nl
  193.78.175.1         host.jcn.nl host.jcn.nl slip-gateway
* I've also tried to replace the last line with:
  193.78.240.1         slip-gateway
  but this doesn't help
* I put 'hosts' before 'bind' in my /etc/host.conf:
  hosts
  slip
* I have added to /etc/netstart:
  gateway=slip-gateway
  ifconfig sl0 inet $hostname $gateway netmask 0xffffff00
  route add default $gateway
* I've made a file /etc/resolv.conf
  domain jcn.nl
  nameserver 193.78.240.1
* I've edited the file /etc/myname:
  host.jcn.nl
* I have created a symbolic link:
  ln /dev/cuaa1 /dev/modem
* I've executed kermit:
  set modem hayes
  set line /dev/modem
  define slip dial 020-6658599, input 10 Please login:, if failure stop, -
  output Sjcnnl\x0d, input 10 Password:, if failure stop, -
  output <pwd>\x0d, echo \x0aCONNECTED\x0a
* When I execute the scrip <slip> I can see kermit dialing in and logging 
in. I get the message CONNECTED, that looks fine to me
* I suspens kermit via 'z'
* I execute:
  slattach -h -c -s 9600 /dev/modem
* I execute:
  ping 193.78.240.1 (my InterNet provider)
* I get:
  PING 193.78.240.1 (193.78.240.1): 56 data bytes
* AND.... nothing happens

* When I try 'ifconfig sl0', I get:
  sl0: flags=9011<UP,POINTOPOINT,LINK0,MULTICAST> mtu 552
          inet 193.78.175.1 --> 193.78.175.1 netmask 0xffffff00
* When I try 'netstat -r', I get:
  Routing tables

  Internet:
  Destination     Gateway        Flags   Refs   Use   Netif Expire
  default         host           UGSc      0     88      sl0
  localhost       localhost      UH        0      0      lo0
* After waiting about 60 seconds it continues:
  193.78.175      link#1         UC        0      0      ed0  -391
  host            host           UH        2      0      sl0
* After another 30 seconds or so:
  193.78.175.16   8:0:0:19:52:72 UHLW      0     11      ed0   870
* After another 30 secs or so:
  224             link#1         UCS       0      0      ed0  -541
* And 'netstat' ends

Who can help me.....
Please.

BTW When I try PING over our local network it does work. The respones com in 
3-4 ms.




Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?199502090818.JAA04263>