problems using rp-pppoe-2.8 under Solaris8(x86)

problems using rp-pppoe-2.8 under Solaris8(x86)

Post by Silvia Z » Tue, 27 Feb 2001 20:54:21



Hi, I have been having problems trying to get rp-pppoe-2.8 functional under
my Solaris8/x86 installation. My hardware is Athlon 800GHz / A7V mainboard.
I am using all the latest tools i.e. gcc-2.95.2.tar.gz and ppp-2.3.11.tar.gz
Everything has installed without a hassle. My main dilemma is when i try to
initiate adsl-start.. it says im connected:

# adsl-start
-n .
-n .
 Connected!

... but then I issue a ping or use the browser.. it just wont work. For
instance when I ping I get:

# ping cisco.com
ping: unknown host cisco.com

... my adsl status shows:

# adsl-status
adsl-status: Link is up and running on interface ppp0
ppp0: flags=10008d1<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST,IPv4> mtu 1492
index 24
        inet 61.9.149.96 --> 172.31.20.24 netmask ff000000
        ether 0:0:0:0:0:0

... When I type in nslookup for instance it seems to recognise the default
nameserver so thats good. Likewise Netstat -r -n shows:

# netstat -r -n

Routing Table: IPv4
  Destination           Gateway           Flags  Ref   Use   Interface
-------------------- -------------------- ----- ----- ------ ---------
172.31.20.24         61.9.149.96           UH       1      1  ppp0
224.0.0.0            127.0.0.1             U        1      0  lo0
default              172.31.20.24          UG       1      1
127.0.0.1            127.0.0.1             UH      24   1342  lo0

... Just for the sake of mentioning it, my /etc/hosts file has the following
entry:

#
# Internet host table
#
127.0.0.1 localhost loghost gandalf

... and I dont have any /etc/defaultrouter file set up. After the connection
I find that the primary and secondary DNS IPs are actually added to
/etc/ppp/resolv.conf i.e:

nameserver 61.9.128.13
nameserver 61.9.128.16

... instead of /etc/resolv.conf (which just has the entry):

search vic.bigpond.net.au

.. Shouldn't the nameservers be added to /etc/resolv.conf ? I added them
manually to /etc/resolv.conf but that had no effect. Well anyways.. the
following is the output of adsl-start (DEBUG mode):

---------------------------------------------
Mon Feb 26 19:02:51 EST 2001
Output of uname -a
SunOS gandalf 5.8 Generic_108529-03 i86pc i386 i86pc
---------------------------------------------
Output of ifconfig -a
lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232 index 1
 inet 127.0.0.1 netmask ff000000
nei0: flags=1000842<BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
 inet 127.0.0.1 netmask ff000000 broadcast 127.255.255.255
 ether 52:54:0:e2:a3:ee
---------------------------------------------
Output of netstat -n -r

Routing Table: IPv4
  Destination           Gateway           Flags  Ref   Use   Interface
-------------------- -------------------- ----- ----- ------ ---------
224.0.0.0            127.0.0.1             U        1      0  lo0
127.0.0.1            127.0.0.1             UH      33   2746  lo0
---------------------------------------------
Contents of /etc/resolv.conf
search vic.bigpond.net.au
---------------------------------------------
Contents of /etc/ppp/options
lock
---------------------------------------------

---------------------------------------------
pppd invocation
 /usr/local/bin/pppd pty '/usr/sbin/pppoe -p
/var/run/pppoe.conf-adsl.pid.pppoe -I /dev/nei0 -T 80 -U  -m 1412 '
noipdefault noauth default-asyncmap defaultroute hide-password nodetach
usepeerdns local mtu 1492 mru 1492 noaccomp noccp nobsdcomp nodeflate

lcp-echo-failure 3   debug
---------------------------------------------
Using /dev/pts/6
Using interface ppp0
Connect: ppp0 <--> /dev/pts/6
sent [LCP ConfReq id=0x1 <mru 1492> <magic 0xab240b4d>]
rcvd [LCP ConfReq id=0x96 <magic 0x33c394ff> <mru 1500> <auth chap MD5>]
sent [LCP ConfAck id=0x96 <magic 0x33c394ff> <mru 1500> <auth chap MD5>]
rcvd [LCP ConfAck id=0x1 <mru 1492> <magic 0xab240b4d>]
sent [LCP EchoReq id=0x0 magic=0xab240b4d]
rcvd [CHAP Challenge id=0x1 <20f257713015501d40fd672441aff167>, name =

sent [CHAP Response id=0x1 <c0f028aa27c652ad7331bd7e4e83db43>, name =

rcvd [LCP EchoRep id=0x0 magic=0x33c394ff]
sent [CHAP Response id=0x1 <c0f028aa27c652ad7331bd7e4e83db43>, name =

sent [CHAP Response id=0x1 <c0f028aa27c652ad7331bd7e4e83db43>, name =

rcvd [CHAP Success id=0x1 ""]
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3
0.0.0.0>]
rcvd [IPCP ConfReq id=0x9a <addr 172.31.20.24>]
sent [IPCP ConfAck id=0x9a <addr 172.31.20.24>]
rcvd [IPCP ConfNak id=0x1 <addr 61.9.149.83> <ms-dns1 61.9.128.13> <ms-dns3
61.9.128.16>]
sent [IPCP ConfReq id=0x2 <addr 61.9.149.83> <ms-dns1 61.9.128.13> <ms-dns3
61.9.128.16>]
rcvd [IPCP ConfAck id=0x2 <addr 61.9.149.83> <ms-dns1 61.9.128.13> <ms-dns3
61.9.128.16>]
local  IP address 61.9.149.83
remote IP address 172.31.20.24
primary   DNS address 61.9.128.13
secondary DNS address 61.9.128.16
rcvd [LCP TermReq id=0x97]
LCP terminated by peer
sent [LCP TermAck id=0x97]
Modem hangup
Connection terminated.
Script /usr/sbin/pppoe -p /var/run/pppoe.conf-adsl.pid.pppoe -I /dev/nei0 -T
80 -U  -m 1412  -D /tmp/pppoe-debug-610/pppoe-debug.txt-0 finished (pid
640), status = 0x0
Connect time 0.2 minutes.
Sent 360 bytes, received 300 bytes.
---------------------------------------------
Extract from /var/log/messages
Mon Feb 26 19:03:00 EST 2001
---------------------------------------------
rp-pppoe debugging dump
rp-pppoe-2.8
SENT PPPOE Discovery (8863) PADI sess-id 0 length 12
SourceAddr 00:00:00:00:00:00 DestAddr ff:ff:ff:ff:ff:ff
01 01 00 00 01 03 00 04-81 02 00 00

RCVD PPPOE Discovery (8863) PADO sess-id 0 length 27
SourceAddr 00:01:81:2f:80:3a DestAddr 52:54:00:e2:a3:ee
01 01 00 00 01 02 00 0b-61 64 74 31 2d 64 65 61
6b 69 6e 01 03 00 04 81-02 00 00

SENT PPPOE Discovery (8863) PADR sess-id 0 length 12
SourceAddr 00:00:00:00:00:00 DestAddr 00:01:81:2f:80:3a
01 01 00 00 01 03 00 04-81 02 00 00

RCVD PPPOE Discovery (8863) PADS sess-id 1610 length 27
SourceAddr 00:01:81:2f:80:3a DestAddr 52:54:00:e2:a3:ee
01 01 00 00 01 02 00 0b-61 64 74 31 2d 64 65 61
6b 69 6e 01 03 00 04 81-02 00 00

.
.
<whole bunch of "PPPOE Session" packets>
.
.

RCVD PPPOE Discovery (8863) PADT sess-id 1610 length 0
SourceAddr 00:01:81:2f:80:3a DestAddr 52:54:00:e2:a3:ee
============================================================

Would anyone know why Im having problems pinging? www searching? I'd really
be most happy for any advice anyone could share.

Many thanks :)

Silvia.

 
 
 

problems using rp-pppoe-2.8 under Solaris8(x86)

Post by ken » Wed, 28 Feb 2001 08:08:45


Hi - I would add the DNS servers to /etc/resolv.conf and
check /etc/nsswitch.conf and make sure there's and entry

        hosts:      files dns

-- Ken

"Silvia Z." wrote:

> Hi, I have been having problems trying to get rp-pppoe-2.8 functional under
> my Solaris8/x86 installation. My hardware is Athlon 800GHz / A7V mainboard.
> I am using all the latest tools i.e. gcc-2.95.2.tar.gz and ppp-2.3.11.tar.gz
> Everything has installed without a hassle. My main dilemma is when i try to
> initiate adsl-start.. it says im connected:

> # adsl-start
> -n .
> -n .
>  Connected!

> ... but then I issue a ping or use the browser.. it just wont work. For
> instance when I ping I get:

> # ping cisco.com
> ping: unknown host cisco.com

> ... my adsl status shows:

> # adsl-status
> adsl-status: Link is up and running on interface ppp0
> ppp0: flags=10008d1<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST,IPv4> mtu 1492
> index 24
>         inet 61.9.149.96 --> 172.31.20.24 netmask ff000000
>         ether 0:0:0:0:0:0

> ... When I type in nslookup for instance it seems to recognise the default
> nameserver so thats good. Likewise Netstat -r -n shows:

> # netstat -r -n

> Routing Table: IPv4
>   Destination           Gateway           Flags  Ref   Use   Interface
> -------------------- -------------------- ----- ----- ------ ---------
> 172.31.20.24         61.9.149.96           UH       1      1  ppp0
> 224.0.0.0            127.0.0.1             U        1      0  lo0
> default              172.31.20.24          UG       1      1
> 127.0.0.1            127.0.0.1             UH      24   1342  lo0

> ... Just for the sake of mentioning it, my /etc/hosts file has the following
> entry:

> #
> # Internet host table
> #
> 127.0.0.1 localhost loghost gandalf

> ... and I dont have any /etc/defaultrouter file set up. After the connection
> I find that the primary and secondary DNS IPs are actually added to
> /etc/ppp/resolv.conf i.e:

> nameserver 61.9.128.13
> nameserver 61.9.128.16

> ... instead of /etc/resolv.conf (which just has the entry):

> search vic.bigpond.net.au

> .. Shouldn't the nameservers be added to /etc/resolv.conf ? I added them
> manually to /etc/resolv.conf but that had no effect. Well anyways.. the
> following is the output of adsl-start (DEBUG mode):

> ---------------------------------------------
> Mon Feb 26 19:02:51 EST 2001
> Output of uname -a
> SunOS gandalf 5.8 Generic_108529-03 i86pc i386 i86pc
> ---------------------------------------------
> Output of ifconfig -a
> lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232 index 1
>  inet 127.0.0.1 netmask ff000000
> nei0: flags=1000842<BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
>  inet 127.0.0.1 netmask ff000000 broadcast 127.255.255.255
>  ether 52:54:0:e2:a3:ee
> ---------------------------------------------
> Output of netstat -n -r

> Routing Table: IPv4
>   Destination           Gateway           Flags  Ref   Use   Interface
> -------------------- -------------------- ----- ----- ------ ---------
> 224.0.0.0            127.0.0.1             U        1      0  lo0
> 127.0.0.1            127.0.0.1             UH      33   2746  lo0
> ---------------------------------------------
> Contents of /etc/resolv.conf
> search vic.bigpond.net.au
> ---------------------------------------------
> Contents of /etc/ppp/options
> lock
> ---------------------------------------------
> ETH=/dev/nei0; USER=myusername@bigpond
> ---------------------------------------------
> pppd invocation
>  /usr/local/bin/pppd pty '/usr/sbin/pppoe -p
> /var/run/pppoe.conf-adsl.pid.pppoe -I /dev/nei0 -T 80 -U  -m 1412 '
> noipdefault noauth default-asyncmap defaultroute hide-password nodetach
> usepeerdns local mtu 1492 mru 1492 noaccomp noccp nobsdcomp nodeflate
> nopcomp novj novjccomp user myusername@bigpond lcp-echo-interval 20
> lcp-echo-failure 3   debug
> ---------------------------------------------
> Using /dev/pts/6
> Using interface ppp0
> Connect: ppp0 <--> /dev/pts/6
> sent [LCP ConfReq id=0x1 <mru 1492> <magic 0xab240b4d>]
> rcvd [LCP ConfReq id=0x96 <magic 0x33c394ff> <mru 1500> <auth chap MD5>]
> sent [LCP ConfAck id=0x96 <magic 0x33c394ff> <mru 1500> <auth chap MD5>]
> rcvd [LCP ConfAck id=0x1 <mru 1492> <magic 0xab240b4d>]
> sent [LCP EchoReq id=0x0 magic=0xab240b4d]
> rcvd [CHAP Challenge id=0x1 <20f257713015501d40fd672441aff167>, name =
> "p...@shastanets.com"]
> sent [CHAP Response id=0x1 <c0f028aa27c652ad7331bd7e4e83db43>, name =
> "myusername@bigpond"]
> rcvd [LCP EchoRep id=0x0 magic=0x33c394ff]
> sent [CHAP Response id=0x1 <c0f028aa27c652ad7331bd7e4e83db43>, name =
> "myusername@bigpond"]
> sent [CHAP Response id=0x1 <c0f028aa27c652ad7331bd7e4e83db43>, name =
> "myusername@bigpond"]
> rcvd [CHAP Success id=0x1 ""]
> sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3
> 0.0.0.0>]
> rcvd [IPCP ConfReq id=0x9a <addr 172.31.20.24>]
> sent [IPCP ConfAck id=0x9a <addr 172.31.20.24>]
> rcvd [IPCP ConfNak id=0x1 <addr 61.9.149.83> <ms-dns1 61.9.128.13> <ms-dns3
> 61.9.128.16>]
> sent [IPCP ConfReq id=0x2 <addr 61.9.149.83> <ms-dns1 61.9.128.13> <ms-dns3
> 61.9.128.16>]
> rcvd [IPCP ConfAck id=0x2 <addr 61.9.149.83> <ms-dns1 61.9.128.13> <ms-dns3
> 61.9.128.16>]
> local  IP address 61.9.149.83
> remote IP address 172.31.20.24
> primary   DNS address 61.9.128.13
> secondary DNS address 61.9.128.16
> rcvd [LCP TermReq id=0x97]
> LCP terminated by peer
> sent [LCP TermAck id=0x97]
> Modem hangup
> Connection terminated.
> Script /usr/sbin/pppoe -p /var/run/pppoe.conf-adsl.pid.pppoe -I /dev/nei0 -T
> 80 -U  -m 1412  -D /tmp/pppoe-debug-610/pppoe-debug.txt-0 finished (pid
> 640), status = 0x0
> Connect time 0.2 minutes.
> Sent 360 bytes, received 300 bytes.
> ---------------------------------------------
> Extract from /var/log/messages
> Mon Feb 26 19:03:00 EST 2001
> ---------------------------------------------
> rp-pppoe debugging dump
> rp-pppoe-2.8
> SENT PPPOE Discovery (8863) PADI sess-id 0 length 12
> SourceAddr 00:00:00:00:00:00 DestAddr ff:ff:ff:ff:ff:ff
> 01 01 00 00 01 03 00 04-81 02 00 00

> RCVD PPPOE Discovery (8863) PADO sess-id 0 length 27
> SourceAddr 00:01:81:2f:80:3a DestAddr 52:54:00:e2:a3:ee
> 01 01 00 00 01 02 00 0b-61 64 74 31 2d 64 65 61
> 6b 69 6e 01 03 00 04 81-02 00 00

> SENT PPPOE Discovery (8863) PADR sess-id 0 length 12
> SourceAddr 00:00:00:00:00:00 DestAddr 00:01:81:2f:80:3a
> 01 01 00 00 01 03 00 04-81 02 00 00

> RCVD PPPOE Discovery (8863) PADS sess-id 1610 length 27
> SourceAddr 00:01:81:2f:80:3a DestAddr 52:54:00:e2:a3:ee
> 01 01 00 00 01 02 00 0b-61 64 74 31 2d 64 65 61
> 6b 69 6e 01 03 00 04 81-02 00 00

> .
> .
> <whole bunch of "PPPOE Session" packets>
> .
> .

> RCVD PPPOE Discovery (8863) PADT sess-id 1610 length 0
> SourceAddr 00:01:81:2f:80:3a DestAddr 52:54:00:e2:a3:ee
> ============================================================

> Would anyone know why Im having problems pinging? www searching? I'd really
> be most happy for any advice anyone could share.

> Many thanks :)

> Silvia.

--

========================================================================
Ken Simpson                              Well Connected Computing, Inc.
Email: k...@wellconnected.com             1001 Bridgeway, Suite 630
Voice: +1.415.332.5018                   Sausalito, CA 94965
FAX:   +1.415.332.9197                   USA, Earth
========================================================================

                Printed using 100% recycled electrons.

 
 
 

problems using rp-pppoe-2.8 under Solaris8(x86)

Post by Silvia Z » Wed, 28 Feb 2001 16:03:20


Thanks Ken that's what did it! it only had 'hosts:   files' without the
'dns'. I guess this nsswitch.conf file tells the order in which name
resolution takes place? So firstly files is used i.e. the /etc/hosts file..
and if an entry cant be found there then we use dns i.e. the nameservers
specified in /etc/resolv.conf to resolve the host name specified in our
search? Oh well thats just a guess :) But it works now yay!!! Thanks again
Ken :)

Silvia


Quote:> Hi - I would add the DNS servers to /etc/resolv.conf and
> check /etc/nsswitch.conf and make sure there's and entry

> hosts:      files dns

> -- Ken

 
 
 

problems using rp-pppoe-2.8 under Solaris8(x86)

Post by d.. » Wed, 28 Feb 2001 21:03:39


Hi, u are lucky. unless u can run rp-pppoe-2.8. I still has a problem on using
GCC compile PPPD 2.3.11
Did u have any idea . Please post . ThQ!

> Thanks Ken that's what did it! it only had 'hosts:   files' without the
> 'dns'. I guess this nsswitch.conf file tells the order in which name
> resolution takes place? So firstly files is used i.e. the /etc/hosts file..
> and if an entry cant be found there then we use dns i.e. the nameservers
> specified in /etc/resolv.conf to resolve the host name specified in our
> search? Oh well thats just a guess :) But it works now yay!!! Thanks again
> Ken :)

> Silvia



> > Hi - I would add the DNS servers to /etc/resolv.conf and
> > check /etc/nsswitch.conf and make sure there's and entry

> > hosts:      files dns

> > -- Ken

 
 
 

problems using rp-pppoe-2.8 under Solaris8(x86)

Post by Silvia Z » Wed, 28 Feb 2001 21:38:45


What errors do you get compiling pppd?

Silvia.


> Hi, u are lucky. unless u can run rp-pppoe-2.8. I still has a problem on
using
> GCC compile PPPD 2.3.11
> Did u have any idea . Please post . ThQ!

> > Thanks Ken that's what did it! it only had 'hosts:   files' without the
> > 'dns'. I guess this nsswitch.conf file tells the order in which name
> > resolution takes place? So firstly files is used i.e. the /etc/hosts
file..
> > and if an entry cant be found there then we use dns i.e. the nameservers
> > specified in /etc/resolv.conf to resolve the host name specified in our
> > search? Oh well thats just a guess :) But it works now yay!!! Thanks
again
> > Ken :)

> > Silvia



> > > Hi - I would add the DNS servers to /etc/resolv.conf and
> > > check /etc/nsswitch.conf and make sure there's and entry

> > > hosts:      files dns

> > > -- Ken

 
 
 

problems using rp-pppoe-2.8 under Solaris8(x86)

Post by don » Thu, 01 Mar 2001 19:33:03


Do u know the steps . how to add additional drive and sound card -sound blaster
to Solaris 8 (x86) system
Pls post your ideas . Thank you !

> > Yep. The problem is when I start to compile pppd-2.3.11 using gcc .
> > error message occurs as below
> > gcc -I../include -DSVR4 -DSOL2 -O2 -xO2 -xspace -W0,-Lt -DPLUGIN  -c
> main.c
> > gcc: language space not recognized
> > gcc: main.c: linker input file unused since linking not done
> > gcc -I../include -DSVR4 -DSOL2 -O2 -xO2 -xspace -W0,-Lt -DPLUGIN  -c
> magic.c
> > ........
> > .....
> > I already comment out  /svr4/Makedefs
> > cc=gcc
> > COPTS=-02
> > if u have idea pls help .

> Ok for the above problem get rid of the COPTS definitions which also appear
> in pppd/Makefile.sol2 and svr4/Makefile.sol2 .. and it should then work

> > THQ! and I have also problem install Flash player
> > plugin for my netscape communicator 4.7
> > is it need to upgrade to 4. 76 ? for fix the problem. Also . do u have any
> idea
> > for Realplayer too !  So many Thanks !

> Sorry I havent so far dealt with Flash or Realplayer under Solaris. Cant
> help you with that one :)

> S.

 
 
 

1. RH8.0 bundled rp-pppoe (rp-pppoe-3.4-7) problem, please help.

Hello,

I have a problem in RH8.0 bundled rp-pppoe (rp-pppoe-3.4-7), please
help.

I am setting up linux server as NAT, which share t he internet
connection to the client PCs at home. I was using RH7.2 before and
there is no problem at all. My problem in RH8.0 is that: I setup
rp-pppoe (ifup ppp0) to run at startup of the machine. Basically, it
starts up without any problem at all. But, it never runs
/etc/ppp/ip-up. Which means that the ip masquerading process didn't
bring up at all. What I have to is to ssh to the server everytime
after the server boots up and run /etc/ppp/ip-up manually, before my
clients can use the internet connect. I realized that the
configurations files are quite different from the one that I was using
in 7.2, e.g it doesn't use /etc/ppp/pppoe.conf anymore, instated it
put all the information in
/etc/ppp/sysconfig/network-scripts/ifcfg-ppp0.

Anybody can give me some suggestions ?
Thanks
Bosco

2. Fast T Famely support HACMP Y/N?

3. Where can I find rp-pppoe-2.4 ?

4. Firewall/Proxy apps

5. rp-pppoe-2.5-1 connect ok but fail to ping internet host

6. Network "load testing" software

7. rp-pppoe-2.3 + synchronous = 100% frame errors!

8. OpenBSD info

9. rp-pppoe-2.2-4

10. rp-pppoe 3.1 -- Robust PPPoE suite for Linux

11. rp-pppoe 3.3 -- Robust PPPoE client for Linux, NetBSD, and Solaris

12. SuSE 7.3 kernel pppoe vs. rp-pppoe

13. rp-pppoe 3.2 -- Robust PPPoE suite for Linux