Subject: pppoa, routing-related(?) problem - what can be the cause?
To: None <netbsd-users@netbsd.org>
From: Zbigniew Baniewski <zb@ispid.com.pl>
List: netbsd-users
Date: 05/18/2007 11:50:31
I had a problem recently: 

There was a pppoa connection to the "machine" dropped. Because I set option
"reconnect 10 10", ppp daemon rose the connection again. But the host hadn't
Internet connection anymore, because of the somewhat strange error, I never
saw before (pay attention at the last line):

--------------------------------
May 18 09:34:54 machine ppp[286]: tun0: IPCP: deflink: State change Req-Sent --> Ack-Sent
May 18 09:34:54 machine ppp[286]: tun0: IPCP: deflink: RecvConfigAck(6) state = Ack-Sent
May 18 09:34:54 machine ppp[286]: tun0: IPCP: deflink: State change Ack-Sent --> Opened
May 18 09:34:54 machine ppp[286]: tun0: IPCP: deflink: LayerUp.
May 18 09:34:54 machine ppp[286]: tun0: IPCP: myaddr 83.15.104.122 hisaddr = 212.26.3.138
May 18 09:34:54 machine ppp[286]: tun0: Warning: Add! route failed: 0.0.0.0: errno: Too many references: can't splice
--------------------------------

How could I dispose of such problem in the future? Why there were "too many
references" (references to what? tun0?)?

It's kernel 2.0.2, userppp-001107nb1.

My ppp.conf:

default:
  ident user-ppp VERSION (built COMPILATIONDATE)
  set log Phase Chat IPCP CCP tun command
  set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
  set login
adsl:
  set authname <my_login>
  set authkey <my_password>
  set device !"/usr/pkg/sbin/pppoa3 -c -m 1 -vpi 0 -vci 35 -d /dev/ugen0"
  accept chap
  set speed sync
  set timeout 0
  set reconnect 10 100
  add default HISADDR
  enable dns

-- 
				pozdrawiam / regards

						Zbigniew Baniewski