From: lam836@cs.cuhk.hk (Savio Lam) Subject: Re: Problem with SLIP under .99pl11 & net-2 Date: Sun, 1 Aug 1993 02:27:23 GMT
Kevin Hausman (hausman@caffeine.cen.uiuc.edu) wrote:
> I am having strange behavior trying to get SLIP running on my SLS-based
> .99pl11 system with the NET-2 programs.
> I use 'dip' to connect to my university's SLIP server, enter SLIP mode,
> escape back out and tell dip the local and remote addresses, and tell
> it to enter SLIP mode.
> At this point, I've found I need to first delete the gateway and re-enter
> it using /etc/route before I can get *anything* to work.
> After doing that, I can use 'ping' to ping most any machine on the net--
> the name resolution works fine, as I've tried pinging machines not in
> my /etc/hosts file.
> However, when I try another command, such as telnet or ftp, they connect
> and then promptly hang. I can ctrl-c out of them, but I never get anything
> beyond the 'Connected to xxx.xxx.xxx.xxx' message. Rlogin, rsh, and finger
> behave in much the same way--they seem to connect, but then they hang.
> Like I said, ping works fine.
> I have version .99pl11 of the kernel compiled with the 4.4.1 libs with
> gcc 2.4.5 and the net-2 binaries. This is on a 386/33Mhz machine with
> 8MB of RAM and a 16MB swapfile. Any help would be much appreciated!
Try comment out lines 342-343 of net/inet/slip.c to disable header
compression:
len = slhc_compress((struct slcompress *)sl->slcomp, p, len,
sl->cbuff, &p, 1);
Regards,
Savio Lam.