*BSD News Article 99605


Return to BSD News archive

#! rnews 6071 bsd
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.Hawaii.Edu!news.caldera.com!enews.sgi.com!EU.net!infeed2.internetmci.com!newsfeed.internetmci.com!netnews.nwnet.net!news-hub.interserv.net!news.interserv.com!news
From: "redd" <redd@gowebway.com>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Another Question involving PPP
Date: 14 Jul 1997 02:40:36 GMT
Organization: InterServ News Service
Lines: 146
Message-ID: <01bc8ff1$be634b80$f7c8aec7@default>
NNTP-Posting-Host: ad75-247.compuserve.com
X-Newsreader: Microsoft Internet News 4.70.1155
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:44389


(sorry if this has already been posted...my news reader started acting up
and I have no idea what happeneded to the original post)
Hi,

	I have installed FreeBSD 2.2-970618-RELENG onto my system and have been
trying for the past two weeks to get access to the internet. I have spent
many hours pouring over the online manuals trying to get the interactive
PPP program working properly. The PPP program I am using is a "User Process
PPP" written by Toshiharu OHNO ("aka iijppp"), which version is "(8)"
according to the manual.
	I have to use the interactive PPP since I do not have a _pppd_ "daemon"
built-in to my kernal.
	I am trying to gain access to my ISP, Sprynet, so that I can make use FTP,
telnet, mail, or whatever I can figure out. Though I have run into a couple
of problems.
	I am operating on a personal computer with no LAN or other local network
capabilities...just remote modem access.
	Using the "term" command, I can successfully log onto the system I am
trying to reach. Through the semi-garble that appears on my screen, I can
make out the "Host Name:", "UIC:" and "Password:" prompts. Entering  the
appropriate information appears to get me logged onto my account. The
program returns to the PPP prompt with the "Packet mode" message.
	Here's where the problem occurrs.
	I type the "shell" command so that I can get to FTP. But when I ftp to
(say) ftp.freebsd.org, the system just hangs until I hit CTRL-C. I tried
PINGing my ISP as well (165.121.20.65), but the system hung there to.
	In fact, it doesn't seem to be able to do anything but sit there, despite
an apparently successful login. I will include the settings and other
information below, and if anyone could email me an answer, I would greatly
appreciate it. Thank you.
----------------------------------------------------------------------------

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

	Note: I have a /dev/tun0 device present and available, that seems to be OK
	Appologies if the reproduction isn't totally verbatim, since I cannot get
on the net with FBSD, I must use Windows, and I cannot copy output or files
to a different operating system.

	# ppp
	[Welcome to ppp version info]
	[defaults already set: device cuaa0 and speed 115200]
	crow ON ppp> set ifaddr 0.0.0.0/0 165.121.20.65 255.255.255.0
	crow ON ppp> show modem [before connection]
	cs8, no parity CTS/RTS on. 
	connect count:0
	outq: ioctl probe failed
	outqlen:0
	crow ON ppp> term
	ATZ
	OK
	ATDT[phone #]
	CONNECT
	[ENTER]
		H!s% Nxme: SPRY04[ENTER]
				       UID: MyID [ENTER]
						          P$^^w*rd: [MyPass][CR]
           (The output is semigarbled, but it's still clear what they are
asking. I am 
	confident it is receiving my input properly because if I intentionally
enter wrong information, it garbles something more and asks for "H!s% Nxme"
again.)
           [Packet mode on] crow ON PPP> delete ALL
	crow ON PPP> add 165.121.20.65 255.255.255.0 10.10.11.11
	  (I also tried "add 0 0 10.10.11.11", per manual -- that didn't work
either)
	crow ON PPP> show modem
	[same info, except count now "1"]	
	crow ON PPP> shell
	# ping 165.121.20.65 
	[It hangs until CTRL-C, then reports something like 100% of packets not
received)
	# ftp
	FTP> ftp 
	to) ftp.freebsd.org
	[HANGS until CTRL-C]
	FTP> quit
	# netstat 165.121.20.65
	(held up until CTRL-C)
	# netstat
	Address Type     Recv-Q Send-Q	   Inode     Conn	        ref	   NextRef 
Addr
	------------ -------     ---------- ------------ ----------- -------------
------------ ------------ -------
	f05ab400 dgram          0	        0            0   f03c8e94       0   
f03c8d94
	f05e0a00 dgram	         0         0            0      (ditto)         0   
f03c8d14
	f05de500 stream         0         0   f05dd380             0      0       
       0 /var/ run/printer
	f05dea00 dgram          0         0            0    (ditto 1st)     0    
f03c8f14
	f05dbd00 dgram          0         0            0       (ditto)        0   
          0
	f05a0e00 dgram          0         0   f059f780              0 f03c8b14    
   0 /var/ run/log

	Contents of /var/log/ppp....

   Jul 13 18:16:36   crow ppp[3799]: Phase *Connect!
                  17:10       "         "        Phase:New Phase: network
                  17:11     Link: Myaddr: 199.174.220.124  hisaddr
165.121.20.65
                  17:11     OsLinkUp: 165.121.20.65

	Also, A more minor problem(for now) is that I cannot login with my script.

		crow ON ppp> dial sprynet
	gets me as far as connecting to the other line, but it failes to send the
necessary login info.
	CONNECT
	(waiting)
	Login failed
	
	Conetnts of ppp.conf...
	default:
	 set speed 115200
	set device /dev/cuaa0

	sprynet:
	 set phone "number"
	 set redial 5 2
             set ifaddr 0.0.0.0/0 165.121.20.65 255.255.255.0
	 set timeout 0
	 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 30 \"\" ATZ OK-ATZ-OK
ATDT\\T TIMEOUT 60 CONNECT"  (This works.)
	 set login "TIMEOUT 15 ame:-\\r-ame: SPRY04 UIC:[ACCNT #] word: [PASS]"
(This doesn't work.)
	 delete ALL
	 add 165.121.20.65 255.255.255.0 10.10.11.11
	
and in my ppp.linkup file...
	sprynet:
	 delete ALL
	 add 165.121.20.65 255.255.255.0 10.10.11.11

(I also tried 0 0 10.10.11.11 in both files, with the same result)

	I appreciate your willingness to read through all of this but I wanted to
make sure you had all of the information you needed. Thanks, I appreciate
any help that can be given.

	redd@gowebway.com