Win 95 ----->>> Linux PPP Questions

Win 95 ----->>> Linux PPP Questions

Post by af » Thu, 07 Aug 1997 04:00:00



Hi all

I'm trying setup my linux box (Slackware 3.1 kernel 2.0.29) how PPP
server.
I'm using uugetty to accept dial in conection phone line. When I
connect emulating terminal vt-100 everything is OK.

When I dial in to linux using W95 I get the loggin and password and
start the PPP daemon. After any seconds I get the connection OK in
14400 bps. But few seconds after the line hangs.
My ppplog is this :

Aug  5 12:58:43 microbel pppd[201]: pppd 2.3.0 started by root, uid 0
Aug  5 12:59:24 microbel pppd[201]: Connect script failed
Aug  5 12:59:25 microbel pppd[201]: Exit.
Aug  5 13:16:37 microbel pppd[549]: pppd 2.3.0 started by ppp, uid 507
Aug  5 13:16:37 microbel pppd[549]: Using interface ppp0
Aug  5 13:16:37 microbel pppd[549]: Connect: ppp0 <--> /dev/ttyS3
Aug  5 13:16:37 microbel pppd[549]: Warning - secret file
/etc/ppp/pap-secrets has world and/or group access
Aug  5 13:16:40 microbel pppd[549]: Could not determine local IP
address
Aug  5 13:16:41 microbel pppd[549]: Connection terminated.
Aug  5 13:16:42 microbel pppd[549]: Hangup (SIGHUP)
Aug  5 13:16:42 microbel pppd[549]: Exit.
Aug  5 13:18:11 microbel pppd[551]: pppd 2.3.0 started by ppp, uid 507
Aug  5 13:18:11 microbel pppd[551]: Using interface ppp0
Aug  5 13:18:11 microbel pppd[551]: Connect: ppp0 <--> /dev/ttyS3
Aug  5 13:18:11 microbel pppd[551]: Warning - secret file
/etc/ppp/pap-secrets has world and/or group access
Aug  5 13:18:14 microbel pppd[551]: Could not determine local IP
address
Aug  5 13:18:15 microbel pppd[551]: Connection terminated.
Aug  5 13:18:16 microbel pppd[551]: Hangup (SIGHUP)
Aug  5 13:18:16 microbel pppd[551]: Exit.
Aug  5 13:20:46 microbel pppd[553]: pppd 2.3.0 started by ppp, uid 507
Aug  5 13:20:46 microbel pppd[553]: Using interface ppp0
Aug  5 13:20:46 microbel pppd[553]: Connect: ppp0 <--> /dev/ttyS3
Aug  5 13:20:46 microbel pppd[553]: Warning - secret file
/etc/ppp/pap-secrets has world and/or group access
Aug  5 13:20:50 microbel pppd[553]: Could not determine local IP
address
Aug  5 13:20:50 microbel pppd[553]: Connection terminated.
Aug  5 13:20:51 microbel pppd[553]: Exit.

My configurations files are :

#HOSTNAME
microbel.com

# resolv.conf
domain csl.nutecnet.com.br
nameserver 200.248.184.1
nameserver 200.248.249.1

## hosts        
127.0.0.1       localhost
127.1.1.1               microbel.com microbel
127.1.1.2               www.microbel.com
# End of hosts.

#.ppprc
-detach
modem
crtscts
lock
:192.1.1.19

Well how I'm very new in networking I need help in the next questions
:
1) My linux box server is an standalone system. Can I use other IP
address different of the 127.0.0.1 (I don't use network card ) ????
2) The pap-secrets that appears in the ppplog is the same used when I
dial out to my ISP ? If no how I use pap-secrets in the two situations
to prevents problems here ?
3) I'm using IP static for dial in conections. Any trick to use IP
dinamics ?
4) How solve the questions for DNS in standalone system ????
5) Exist any Web Page or How To about connection beetween win95 and
linux ?

Any help would be appreciated

Ademar F. Fey
Caxias do Sul/RS/BRASIL

Telecommunication Tecnical,
Administrator,
Linux newbie.......

Pentium 133 Mhz, 16 MB, CD ROM 4X SB16
Linux 2.0.29 Slackware 3.1 (96) Boot Disk
hda (W95), hdb1 (dos) and hdb2,3 (LINUX)

 
 
 

Win 95 ----->>> Linux PPP Questions

Post by Alexei Nogi » Mon, 11 Aug 1997 04:00:00



> Aug  5 13:16:40 microbel pppd[549]: Could not determine local IP
> address

[skipped]

Quote:> #.ppprc
> -detach
> modem
> crtscts
> lock
> :192.1.1.19

As pppd said, it has no information about your local IP address. Change
:192.1.1.19
to something like
192.1.1.1:192.1.1.19

Quote:> 3) I'm using IP static for dial in conections. Any trick to use IP dinamics ?

Read PPP HOWTO.

Alexey.

 
 
 

Win 95 ----->>> Linux PPP Questions

Post by Kevin Guin » Wed, 20 Aug 1997 04:00:00


I see 2 problems here:

1.  Aug  5 13:16:37 microbel pppd[549]: Warning - secret file
     /etc/ppp/pap-secrets has world and/or group access

you'll want to chmod 600 /etc/ppp/pap-secrets to fix this..

2.  Aug  5 13:16:40 microbel pppd[549]: Could not determine local IP
     address

This was answered appropriately below.  I use the following in my
/etc/ppp/options.ttyS0:
    sanitarium:ppp1
and specify the appropriate IPs in /etc/hosts so I don't have to
remember the numerics :)

--Kevin

Quote:> > Aug  5 13:16:40 microbel pppd[549]: Could not determine local IP
> > address
> > :192.1.1.19

> As pppd said, it has no information about your local IP address.
> Change
> :192.1.1.19
> to something like
> 192.1.1.1:192.1.1.19
> Alexey.

 
 
 

1. FTP problem: linux>>win/SGI slow win/SGI>>linux fast

The machine is on a Novell 4.2 network and uses an Intel
Ether Express 16 card. It is possible to be on another
machine and transfer a file FROM the linux box at a rate of
about 600kB/s.
However, transferring to the linux machine gives rates of
about 18kB/s.  Similarly if one is
on the Linux box using ftp, transfer both from and
to another machine and
from another machine is slow - around 18Kb / sec.

It is a dual boot system - when tranferring/receiving files
using windoze ftp (QVFTP or WS_FTP) the transfer rates in
both direction are 600kB/s.

At installation time, linux was set up to use the
'eexpress' driver and the bootp protocol.

There are no packet overflows, packets lost or errors generally.

Visualising the transfer using the 'hash' function of ftp
shows that transfer progresses at the expected speed for
10-30kB, then stalls or slows down to a snail pace, then
starts again, slow, stall, slow, etc...

I have tried
- explicitly stating the IRQ=10, I/O base address 0x300
- turning on/off IPX
- making the MTU smaller
- manually configuring (i.e no bootp) the ip address etc.
- playing with the routing window as suggested in the
HOWTO-Ethernet file.

The only effect I have been able to achieve is a reduction
in performance to 13kB/s.

Checking usenet a number of people seem to have had a
similar problem but no relevant solutions suggested.  One
person claimed they started having this problem when
they upgraded their motherboard.

I have no idea what to do next... help...

2. ssh via 3 machines

3. Trunpet Winsock -> ppp[0 1] ->linux -> ppp[1 0] -> isp

4. lp: copy file is too large

5. Win95/IPX -> IP ->PPP ->Linux ->Novell 3.12

6. ATI graphics pro turbo - 2MB and X

7. <><><> MOUNTING EXTENDED PARTITION <><><>

8. Set 8-bit on SUN outgoing serial port

9. Wanted: <><><> Unix Specialist <><><>

10. LILO help <><><><><><>

11. 95 -> linux fast; but linux -> 95 slow!

12. >>---> Software Jobs! >>--->

13. *{<><>}*Linux*Screen*Difficulties*{<><>}*