You are not logged in.

#1 2015-08-13 13:36:47

elav
Member
From: /var/www/archforum
Registered: 2011-12-24
Posts: 33
Website

Route commands problems!!

Hi guys.

There is no way you can connect to the Internet using a dial-up account. However, using a Antergos LiveCD, if I can do it. I reviewed and I realized something.

First of all, was there a change in the route command? It happens that if I raise a LiveCD with Antergos, you can run the route command and I get this:

 
$ route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
default         *               0.0.0.0         U     0      0        0 ppp0
192.168.25.50   *               255.255.255.255 UH    0      0        0 ppp0

This works, I have Internet smoothly .. But I access my ArchLinux and the route command does not exist, only routef and Routel commands. Ok, run the command Routel and this is what brings me back:

$ routel
        target            gateway          source    proto    scope    dev tbl
      127.0.0.0          broadcast       127.0.0.1   kernel     link     lo local
     127.0.0.0/ 8            local       127.0.0.1   kernel     host     lo local
      127.0.0.1              local       127.0.0.1   kernel     host     lo local
127.255.255.255          broadcast       127.0.0.1   kernel     link     lo local
        default        unreachable                   kernel              lo unspec
            ::1              local                     none              lo local
        default        unreachable                   kernel              lo unspec

WTF? Why is it so different if I did not touch anything on the routes?

I can not use the command "ip rouote add" to add a route to the ppp0 interface, as this is only created when I connect using wvdial.

any suggestion?

Thanks

Offline

#2 2015-08-13 13:51:36

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Route commands problems!!

Read the wiki: https://wiki.archlinux.org/index.php/FA … ge_is_X.3F and try the 'route' command.

Offline

#3 2015-08-13 13:56:38

elav
Member
From: /var/www/archforum
Registered: 2011-12-24
Posts: 33
Website

Re: Route commands problems!!

karol wrote:

Read the wiki: https://wiki.archlinux.org/index.php/FA … ge_is_X.3F and try the 'route' command.

Thanks.. That solved the issue of the route command, I needed to install net-tools.

Offline

#4 2015-08-13 21:50:40

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Route commands problems!!

FYI you should be using the 'ip' command and associated utilities from the iproute2 package - net-tools was deprecated years ago.

Offline

#5 2015-08-13 22:03:37

elav
Member
From: /var/www/archforum
Registered: 2011-12-24
Posts: 33
Website

Re: Route commands problems!!

tomk wrote:

FYI you should be using the 'ip' command and associated utilities from the iproute2 package - net-tools was deprecated years ago.

I can not use the command "ip rouote add" to add a route to the ppp0 interface, as this is only created when I connect using wvdial. Furthermore else happens to me, I put local addresses in the /etc/hosts to work with local servers in virtual machines using Qemu, and DNS resolution does not work using /etc/hosts. This had never happened before, nor ArchLinux nor Antergos.

Offline

#6 2015-08-16 03:51:27

elav
Member
From: /var/www/archforum
Registered: 2011-12-24
Posts: 33
Website

Re: Route commands problems!!

I solved my problem with the PAP connection, even in part, because each time I connect I have to run on the console:

sudo ip route add default via 0.0.0.0 dev ppp0

Obviously some software is not doing its job well.

Offline

Board footer

Powered by FluxBB