From: mitchell@sosc1.sosc.osshe.edu Subject: dip w/0.99pl11 Date: 16 Sep 1993 22:07:36 -0400
Hello.. has anybody made dip work as a dial in server? I haven't been able
to do it and here's what I tried:
added user slip
gave slip a passwd
edited passwd file and changed home directory to /tmp and login shell
as /usr/bin/ds -> more on ds in a second
edited /etc/diphosts: added a line thusly
slip::home.lab.r1.usfws.gov:HOME:SLIP,256
edited /etc/inet/named.hosts to include home.lab.r1.usfws.gov as
164.159.2.2
edited /etc/hosts and added same address
Net-guide said that you couldn't use "dip -i" as the login script because
login won't pass the -i. So I created a shell script which I called ds.
#!/bin/bash
dip -i
The guide suggested to write a small c program to use system("dip -i"), but
I don't know how to use the compiler yet. [I know I can write the program!]
Here's what happens:
I call using JNOS's tip (tip is just a dumb terminal mode). The modems
connect and I get the login prompt. I enter slip as the username and
give it the password. The login message appears and the line goes into
the RAW mode. I can see data being sent to the LINUX modem because the RX
light flickers.
When I try to start a telnet session with linux using JNOS. Nothing happens.
I've looked at the routing table and there is not an entry for sl0. According
to the dip man page, after dip is activated and sets the terminal line
to the RAW mode, it's supposed to ask the network layer to set up a
route in the route table.
I've tried using ifconfig 164.159.2.2 sl0, but it won't allow me to configure
a line that's not active.
Got any good ideas?
I've read the net-guide, serial-faq and the various man pages....
Thanks a lot!
Stu