Of course! His LAN connection is probably set up as the default route/gateway
and as a result internet requests are being routed to the Appletalk network.
Try doing a '/sbin/route del default' (sans quotes) before dialing and see what
happens. In theory, kppp will assign a new default route. If you still have
no joy after dialing try the following:
/sbin/route add default gw $(/sbin/route -n | grep ppp | awk '{print $1}')
What this does is set the default gateway to whatever ip your ppp link is
connected to. Note that it can screw things up if you have more than one line
containing 'ppp' in the /sbin/route output, so make sure you don't before
running it.
Obviously this is just a testing solution.
(Some notes below)
On Thu, 04 May 2000, Mike & Tracy Holt wrote:
| One thing I've noticed (and written to this list and the expert list about,
| nobody seemed to want to answer), is that you can either have a lan
| connection, or you can have an internet connection, but not both.
<snip>
| > <rant>
| > I see no need to have to edit files with cryptic commands when there are
| > GUI interfaces that do the same thing.
Most of the GUI interfaces to do those things don't have the power/flexibility
to do things in other than ideal circumstances. The only GUI configuration
tool I use is linuxconf and I use it at least as often from the console.
| > I am amazed that it does not work, and
| > that the only way to get it to work seems to be to read a ton of Linux
| > books and docs.
| >
<snip>
| > OK, this is wonderful. All the doc says it is so easy... Some kind
| > souls tell me that I need to add the "noauth" argument. OK, why do I
| > need to do this? I mean, why does it default to auth?
Security. If I'm using ppp to dial in to the office, both machines must
authenticate themselves.
| > But when I try to do this, Computer tells me that I can only do it as
| > root. Now, all the docs and books say, don't use root unless you really
| > need to. But if I can't connect to the Internet as a normal user, I need
| > to be root. So I log in as root, and "noauth" and get the connection up.
| > The connection, and nothing more.
This is why you edit the file /etc/ppp/options instead of using a kppp option.
The noauth option is privliged, and therefore must be specified by root. If it
is the file then root must have specified it and you're in business.
| > In spite of the fact that I have my ISPs DNS numbers correctly entered,
| > nothing happens. Computer is searching in the ether and cannot find any
| > nameservers. I try, on the advice of a kind soul on this list, to
| > uncomment the lines in the resolv.conf file, to no avail.
See above about gateways.
| > What gives? If everyone else can get a connection up, is there something
| > wrong with my installation or my computer? If the books and docs show it
| > is so easy, why I am having so many problems? And this noauth thing -
| > why do I have to add it, when, apparently, no one should need auth except
| > in special cases?
| >
| > I'm a bit taken aback by some of the stuff I need to do to get this up
| > and running. Especially because I have been hired to write tutorials
| > about Mandrake for a web site, and need to explain to others how to do
| > these things. Sure, most things work out ok, but when I see just how
| > complicated it is to get a simple ppp connection, I am really shocked.
| > (BTW, it was actually much easier to get my Linux box networked with my
| > Mac over AppleTalk; definately a power user thing, while a ppp connection
^^^^^^^^^^^^^^^^^^^
This is what is making life difficult.
| > is really a basic).
| >