Hello,
On Sun, 18 Mar 2012, Maxim Wexler wrote:
>root@gnubu:~# route -n
>Kernel IP routing table
>Destination Gateway Genmask Flags Metric Ref Use Iface
>0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 ppp0
>161.184.0.199 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
I'm on a Suse ATM[1], but as I do my networking config "by hand" that
should not matter. Above looks wrong. It should look like:
# route -n
161.184.0.199 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
[or:161.184.0.0 0.0.0.0 255.255.255.0 U 0 0 0 ppp0]
0.0.0.0 161.184.0.199 0.0.0.0 UG 0 0 0 ppp0
^^^^^^^^^^^^^ ^
your ppp assigned P-t-P gateway flag
So, have a look at how the route gets set. Manually, a
# route del default
# route add default gw 161.184.0.199
should suffice. Don't know the 'ip' syntax, but luckily that doesn't
matter, as both commands just push stuff to the kernel
Looking at my much outdated gentoo's /etc/conf.d/net.eth0, that'd have
to be in your /etc/conf.d/ppp0 (or current equivalent)
====
routes_ppp0=( "default via 161.184.0.199" )
mtu_ppp0="1492"
====
No idea at all how this is handled with dialup on gentoo. When I still
used dialup (>10 years ago, IIRC?), I used wvdial, since then, I used
my own shell-scripts for DSL calling ifconfig/pppd (with pppoe at
first). The scripts/config-files should still be somewhere on disk
If in doubt, do as I do, write your own script containing the relevant
commands to get "your internet" up and running. Even if it'll just be
for future reference in case of trouble.
>(also from the ubuntu side)
>root@gnubu:~# ifconfig ppp0
>ppp0 Link encap:Point-to-Point Protocol
> inet addr:161.184.44.73 P-t-P:161.184.0.199 Mask:255.255.255.255
> UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
^^^^
That MTU is IIRC too big for PPP. Change that to 1492 or less.
> RX packets:5867 errors:0 dropped:0 overruns:0 frame:0
> TX packets:6439 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:3
> RX bytes:1694892 (1.6 MB) TX bytes:746705 (746.7 KB)
That looks like an established connection (despite the MTU) to the
gateway, as well as you said there a dns got assigned.
-dnh
[1] not enough time to tweak two systems on my main box
--
Me? No, why me? She's much more interesting. An enigma wrapped up in a
riddle with a tail in the middle. -- Harper about Trance Gemini
-- Andromeda 1x14 - Harper 2.0