View Single Post
  #6   (View Single Post)  
Old 7th May 2011
qmemo's Avatar
qmemo qmemo is offline
Real Name: He
Package Pilot
 
Join Date: Jul 2008
Location: The big B
Posts: 141
Default almost there...

I installed 4.9-current hooray!

tried to get pppoe0 working and I am almost there.

ifconfig pppoe0 looks fine

Code:
pppoe0: flags=8851<UP,POINTOPOINT,RUNNING,SIMPLEX,MULTICAST> mtu 1492
	priority: 0
	dev: bge0 state: session
	sid: 0xd2 PADI retries: 0 PADR retries: 0 time: 00:05:15
	sppp: phase network authproto chap 
	groups: pppoe egress
	status: active
	inet6 fe80::21f:16ff:feb1:a167%pppoe0 ->  prefixlen 64 scopeid 0x5
	inet 10.1.1.183 --> 16.16.1.1 netmask 0xffffffff
route show, looks fine too

Code:
Routing tables

Internet:
Destination        Gateway            Flags   Refs      Use   Mtu  Prio Iface
default            16.16.1.1          UGS        0        0     -     8 pppoe0
16.16.1.1          10.1.1.183         UH         0        0     -     4 pppoe0
loopback           localhost          UGRS       0        0 33152     8 lo0  
localhost          localhost          UH         1        0 33152     4 lo0  
BASE-ADDRESS.MCAST localhost          URS        0        0 33152     8 lo0
hostname.pppoe0

Code:
inet 0.0.0.0 255.255.255.255 NONE \
                   pppoedev bge0 authproto chap \
                   authname 'memo' authkey 'memo' up
           dest 0.0.0.1
           !/sbin/route add default -ifp pppoe0 0.0.0.1
hostname.bge0

Code:
up
sudo ifconfig pppoe0 debug && tail /var/log/messages

Code:
May  7 04:49:37 faw /bsd: pppoe0: lcp input(opened): <echo-req id=0x7 len=8 9b-c2-fa-38-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00>
May  7 04:49:37 faw /bsd: pppoe0: got lcp echo req, sending echo rep
May  7 04:49:37 faw /bsd: pppoe0: lcp output <echo-reply id=0x7 len=8 b0-42-3f-8a>
May  7 04:49:37 faw /bsd: pppoe0 (8864) state=3, session=0xd2 output -> 00:21:27:fc:6e:28, len=16
May  7 04:49:47 faw /bsd: pppoe0: lcp input(opened): <echo-req id=0x8 len=8 9b-c2-fa-38-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00>
May  7 04:49:47 faw /bsd: pppoe0: got lcp echo req, sending echo rep
May  7 04:49:47 faw /bsd: pppoe0: lcp output <echo-reply id=0x8 len=8 b0-42-3f-8a>
May  7 04:49:47 faw /bsd: pppoe0 (8864) state=3, session=0xd2 output -> 00:21:27:fc:6e:28, len=16
May  7 04:49:57 faw /bsd: pppoe0: lcp input(opened): <echo-req id=0x9 len=8 9b-c2-fa-38-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00>
May  7 04:49:57 faw /bsd: pppoe0: got lcp echo req, sending echo rep
May  7 04:49:57 faw /bsd: pppoe0: lcp output <echo-reply id=0x9 len=8 b0-42-3f-8a>
May  7 04:49:57 faw /bsd: pppoe0 (8864) state=3, session=0xd2 output -> 00:21:27:fc:6e:28, len=16
May  7 04:50:07 faw /bsd: pppoe0: lcp input(opened): <echo-req id=0xa len=8 9b-c2-fa-38-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00>
May  7 04:50:07 faw /bsd: pppoe0: got lcp echo req, sending echo rep
May  7 04:50:07 faw /bsd: pppoe0: lcp output <echo-reply id=0xa len=8 b0-42-3f-8a>
May  7 04:50:07 faw /bsd: pppoe0 (8864) state=3, session=0xd2 output -> 00:21:27:fc:6e:28, len=16
May  7 04:50:17 faw /bsd: pppoe0: lcp input(opened): <echo-req id=0xb len=8 9b-c2-fa-38-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00>
May  7 04:50:17 faw /bsd: pppoe0: got lcp echo req, sending echo rep
May  7 04:50:17 faw /bsd: pppoe0: lcp output <echo-reply id=0xb len=8 b0-42-3f-8a>
May  7 04:50:17 faw /bsd: pppoe0 (8864) state=3, session=0xd2 output -> 00:21:27:fc:6e:28, len=16
May  7 04:50:27 faw /bsd: pppoe0: lcp input(opened): <echo-req id=0xc len=8 9b-c2-fa-38-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00>
May  7 04:50:27 faw /bsd: pppoe0: got lcp echo req, sending echo rep
May  7 04:50:27 faw /bsd: pppoe0: lcp output <echo-reply id=0xc len=8 b0-42-3f-8a>
May  7 04:50:27 faw /bsd: pppoe0 (8864) state=3, session=0xd2 output -> 00:21:27:fc:6e:28, len=16
now all this looks fine and still pinging ww.google.com returns unknown host

I stayed up late trying to get it working, but still can not.

please help
Reply With Quote