[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

strange PPPd problems (dialing out)



Hi everyone!

I'm having a very strange problem with getting pppd to work for outgoing connections.  I have two ISA modems installed, on ttyS1 and ttyS3.  I have no problems on ttyS1, but on ttyS3, I cannot ping the remote server - I connect as usual, get assigned an IP, etc. but I still cannot ping anything (using the IP address)!  The connection shows up in ifconfig.  Using minicom, I can dialout and connect to remove systems with both modems and have no problems, using the same configuration.  I'm also running mgetty, and have no problems receiving faxes, etc on either modem.  I've tried switching the phone lines too.  Does anyone have *ANY* idea of what could be the problem or how to further investigate it?  I copied all kinds of info below.

Any help would be greatly appreciated.  Thank you!
-Paul

# pon MichNet

(connecting with ttyS3)
Apr 25 22:50:54 pinheiro pppd[30376]: Serial connection established.
Apr 25 22:50:54 pinheiro pppd[30376]: using channel 18
Apr 25 22:50:54 pinheiro pppd[30376]: Using interface ppp0
Apr 25 22:50:54 pinheiro pppd[30376]: Connect: ppp0 <--> /dev/ttyS3
Apr 25 22:50:55 pinheiro pppd[30376]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xa84f3372> <pcomp> <accomp>]
Apr 25 22:50:55 pinheiro pppd[30376]: rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0xa84f3372> <pcomp> <accomp>]
Apr 25 22:50:56 pinheiro pppd[30376]: rcvd [LCP ConfReq id=0x2 <asyncmap 0x0> <magic 0xa2f50444> <pcomp> <accomp>]
Apr 25 22:50:56 pinheiro pppd[30376]: sent [LCP ConfAck id=0x2 <asyncmap 0x0> <magic 0xa2f50444> <pcomp> <accomp>]
Apr 25 22:50:56 pinheiro pppd[30376]: sent [LCP EchoReq id=0x0 magic=0xa84f3372]Apr 25 22:50:56 pinheiro pppd[30376]: sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <compress VJ 0f 01>]
Apr 25 22:50:56 pinheiro pppd[30376]: sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15> <bsd v1 15>]
Apr 25 22:50:57 pinheiro pppd[30376]: rcvd [LCP EchoRep id=0x0 magic=0xa2f50444]Apr 25 22:50:57 pinheiro pppd[30376]: rcvd [IPCP ConfReq id=0x1 <compress VJ 0f 00> <addr 35.9.10.68>]
Apr 25 22:50:57 pinheiro pppd[30376]: sent [IPCP ConfAck id=0x1 <compress VJ 0f 00> <addr 35.9.10.68>]
Apr 25 22:50:57 pinheiro pppd[30376]: rcvd [IPCP ConfNak id=0x1 <addr 35.9.12.180>]
Apr 25 22:50:57 pinheiro pppd[30376]: sent [IPCP ConfReq id=0x2 <addr 35.9.12.180> <compress VJ 0f 01>]
Apr 25 22:50:57 pinheiro pppd[30376]: rcvd [LCP ProtRej id=0x3 80 fd 01 01 00 0f 1a 04 78 00 18 04 78 00 15 03 2f]
Apr 25 22:50:57 pinheiro pppd[30376]: rcvd [IPCP ConfAck id=0x2 <addr 35.9.12.180> <compress VJ 0f 01>]
Apr 25 22:50:57 pinheiro pppd[30376]: Cannot determine ethernet address for proxy ARP
Apr 25 22:50:57 pinheiro pppd[30376]: local  IP address 35.9.12.180
Apr 25 22:50:57 pinheiro pppd[30376]: remote IP address 35.9.10.68
Apr 25 22:50:57 pinheiro pppd[30376]: Script /etc/ppp/ip-up started (pid 30379)
Apr 25 22:50:58 pinheiro pppd[30376]: Script /etc/ppp/ip-up finished (pid 30379), status = 0x0

# ifconfig
eth1      Link encap:Ethernet  HWaddr 00:20:78:06:1E:DB  
          inet addr:192.168.100.1  Bcast:192.168.100.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:22413343 errors:5 dropped:0 overruns:5 frame:5
          TX packets:23670321 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100 
          RX bytes:691607972 (659.5 MiB)  TX bytes:2679608120 (2.4 GiB)
          Interrupt:10 Base address:0x9000 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:4657100 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4657100 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:781394759 (745.1 MiB)  TX bytes:781394759 (745.1 MiB)

ppp0      Link encap:Point-to-Point Protocol  
          inet addr:35.9.12.180  P-t-P:35.9.10.68  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:5 errors:0 dropped:0 overruns:0 frame:0
          TX packets:7 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3 
          RX bytes:586 (586.0 b)  TX bytes:291 (291.0 b)


LINUX CONFIGURATION:
Debian 'testing' distribution, Linux/i386 2.4.18-xfs (and using devfsd)
pppd (deb): 2.4.1.uus-4
using Debian default /etc/ppp/options file

# cat /etc/ppp/ppers/MichNet  (same script)
hide-password 
noauth
connect "/usr/sbin/chat -v -f /etc/chatscripts/MichNet"
debug
/dev/ttyS3 <-- this is the ONLY option I changed!
115200
defaultroute
noipdefault 
remotename MichNet
user <username>
idle 300



# iptables -L
Chain INPUT (policy ACCEPT)
target     prot opt source               destination         

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination         

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination

# iptables -L -t nat
Chain PREROUTING (policy ACCEPT)
target     prot opt source               destination         

Chain POSTROUTING (policy ACCEPT)
target     prot opt source               destination         

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination 

HARDWARE CONFIGURATION:

/dev/ttyS1: SupraFAXModem 288i
# setserial -a /dev/ttyS1
/dev/ttyS1, Line 1, UART: 16550A, Port: 0x02f8, IRQ: 3
	Baud_base: 115200, close_delay: 50, divisor: 0
	closing_wait: 3000
	Flags: spd_normal skip_test

/dev/ttyS3: USR Sportster V.34 28800
y# setserial -a /dev/ttyS3
/dev/ttyS3, Line 3, UART: 16550A, Port: 0x02e8, IRQ: 5
	Baud_base: 115200, close_delay: 50, divisor: 0
	closing_wait: 3000
	Flags: spd_normal skip_test

# cat /proc/interrupts 
... snipped ...

  3:    1424982          XT-PIC  serial <-- SupraFAXModem
  4:   19163368          XT-PIC  serial <-- UPS
  5:      14174          XT-PIC  serial <-- USR Sposter

... snipped ...

# cat /proc/ioports    

... snipped ...

02e8-02ef : serial(set)
02f8-02ff : serial(set)

... snipped ...

03f8-03ff : serial(set)

... snipped ...


-- 
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: