public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Help with rp-pppoe/adsl...
@ 2005-07-19  3:27 dnebinger
  2005-07-19  3:58 ` Iain Buchanan
  0 siblings, 1 reply; 2+ messages in thread
From: dnebinger @ 2005-07-19  3:27 UTC (permalink / raw
  To: gentoo-user


Okay, guys, this is really driving me nuts...

I've got this wonderful new Sangoma S518 ADSL modem card for my server.
I'm ready to get this thing working, but it's giving me fits.

Basically I need to use their wanpipe software for the card access.  That
part is fine.  It starts up and reports that it is connected.

Once it's up, ifconfig reports the device is up and it is an ethernet card.

That's where my success ends.

Rp-pppoe is set up to use the card but it cannot connect.  It reports a timeout
waiting for PAD0 responses.  Bummer.

So I was thinking it may be a routing, firewall, or general networking issue.

First routing.  When I try to define it as the default route using "route add
-net 0.0.0.0 netmask 255.255.255.255 dev w1ad" (where w1ad is the device name),
route reports "SIOCADDRT: No such device", which is odd because ifconfig shows
it in the list.

Firewalling had no problems adjusting rules for the device, which again makes
me question the route error above.

For the general networking thing, I'm uncertain what the exact sequence of
things that occur when a network interface is started via /etc/init.d/net.*.
When/how is a route added?

Also the /etc/conf.d/net example has references to allowing adsl via a line
such as:

config_w1ad=( "adsl" )

But when I make a copy of net.eth0 to /etc/init.d/net.w1ad and then try to
start it it complains about not knowing how to start this type of interface;
if it's not supported, why add comments to /etc/conf.d/net about it?  If it
should be working, what do I need to do to fix the problem?

Any assistance that you can throw my way will be *greatly* appreciated.

Thanks

Dave

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [gentoo-user] Help with rp-pppoe/adsl...
  2005-07-19  3:27 [gentoo-user] Help with rp-pppoe/adsl dnebinger
@ 2005-07-19  3:58 ` Iain Buchanan
  0 siblings, 0 replies; 2+ messages in thread
From: Iain Buchanan @ 2005-07-19  3:58 UTC (permalink / raw
  To: gentoo-user

On Mon, 2005-07-18 at 23:27 -0400, dnebinger@joat.com wrote:
> First routing.  When I try to define it as the default route using "route add
> -net 0.0.0.0 netmask 255.255.255.255 dev w1ad" (where w1ad is the device name),
> route reports "SIOCADDRT: No such device", which is odd because ifconfig shows
> it in the list.

firstly, to add a default route I use
# route add default gw <gateway-ip>
secondly, I think you have to make the _other_ end of the connection the
default route, not your end (ie, not your card, but the aDSL pppoe end)
There are pppoe tools to do this.

> Firewalling had no problems adjusting rules for the device, which again makes
> me question the route error above.

Did you try with a completely disabled firewall?

> But when I make a copy of net.eth0 to /etc/init.d/net.w1ad

you should symlink it, not make a copy.  `ln -s`.

>  and then try to
> start it it complains about not knowing how to start this type of interface;
> if it's not supported, why add comments to /etc/conf.d/net about it?

I think you need to make /etc/conf.d/net.w1ad to match.

> Any assistance that you can throw my way will be *greatly* appreciated.

I don't actually use pppoe, so I hope this helps you in some way.
-- 
Iain Buchanan <iaindb@netspace.net.au>

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-07-19  4:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-19  3:27 [gentoo-user] Help with rp-pppoe/adsl dnebinger
2005-07-19  3:58 ` Iain Buchanan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox