change ethernet to ppp, routing
I just got a linux machine that is configured to use the ethernet card, but I
want to connect to the ethernet with ppp. I believe I've configured ppp fine,
but perhaps not. I seem to connect, but can't ping or connect to anything.
When I look at /var/log/messages, I find the following message, which I
believe is important:
localhost pppd[538]: not replacing default route to eth0 [192.168.1.1]
localhost pppd[538]: Cannot determine ethernet address for proxy ARP
I will append a more complete account of /var/log/messages at the end of this
message.
When I type ifconfig, I get:
eth0 link encap:Ethernet HWaddr 00:E0:7D:B2:63:71
inet addr:192.16.1.50 Bcast: 192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
Interupt:11 Base address:0x4000
lo link encap:Local Loopback
inet adr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:347 errors:0 dropped:0 overruns:0 frame:0
TX packets:347 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
ppp(0) Link encap:Point-to-Point Protocol
inet addr:128.114.228.74 P-t-P:128.114.228.200 Mask:255.255.255.255
UP POINTTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:4 errors:2 dropped:0 overruns:0 frame:0
TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
When I type 'route' I get the following:
Kernal IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
128.114.228.200 * 255.255.255.255 UH 0 0 0 ppp0
localnet * 255.255.255.0 U 0 0 0 eth0
default 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
I'd really appreciate any help in configuring things so I connect to the
internet with ppp. If possible, I'd also like to be able to connect to my
kids' hub through the ethernet port to use their printer, but I can deal with
that later. I'm fairly new to Linux, so I hope these messages are the ones
that are relevant; if not, let me know.
Thanks,
Ric
Here is the more complete /var/log/messages: (I left off the time and
'localhost pppd[538] off the beginning of these lines.
pppd 2.4.1 started by root, uid 0
...
Connect
-- got it
send (\d)
Serial connectin established.
pppd[538]: using channel 3
Using interface ppp0
Connect: ppp0 <---> /dev/ttyS2
sent [LCP ConfReq id=0x1 ....
rcvd[LCP COnf Req ...
sent[LCP ConfAck ...
...
sent[PAP AuthReq ic=0x1 user='myname' password=<hidden>]
rcvd [lcp ....
rcvd [PAP AuthAck id=0x1""]
...
rcvd [LCP ProtRej ...
rcvd {IPCP ConfNak
sent {IPCP ConfReq ...
rcvd [IPCP ConfAck id=0x3 <addr 128.114.228.74>]
localhost pppd[538]: not replacing default route to eth0 [192.168.1.1]
localhost pppd[538]: Cannot determine ethernet address for proxy ARP
Reply to: