LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-06-2021, 03:07 PM   #1
ziggy@skylinkafrica.co.z
LQ Newbie
 
Registered: May 2021
Posts: 1

Rep: Reputation: Disabled
RTNETLINK answers: No such process - (SSH CLI - Ubiquiti radio changing IP address to access routed subnet in browser.)


Trying to change the IP address of a remote Ubiquiti device in this case a Nanobeam - but usually works for any Ubiquiti radio I've tried before.

Note process I used was add 192.168.1.10 on interface of Mikrotik that Nanobeam is plugged into.

Then SSH from Mikrotik terminal into ubnt linux CLI.


Note I'm not experienced in Linux command line - so am just following what I've learnt from a friend and copy and pasting what usually works.

In this case, once into the CLI of the UBNT I copy and paste:

ip a a 172.16.1.46/30 dev br0

ip r del default

ip r a default via 172.16.1.45

Which usually works, then I can login to 172.16.1.46 on my browser and update the device to the settings I want.


But now for some reason, it returns the No such process error after line 2 & line 3:

XW.v6.3.2# ip a a 172.16.1.46/30 dev br0
XW.v6.3.2#
XW.v6.3.2# ip r del default
RTNETLINK answers: No such process
XW.v6.3.2#
XW.v6.3.2# ip r a default via 172.16.1.45
RTNETLINK answers: No such process


HELP!!




















Login: admin
Password:
Trying C4:AD:34:137:B6...
Connected to C4:AD:34:137:B6








MMM MMM KKK TTTTTTTTTTT KKK
MMMM MMMM KKK TTTTTTTTTTT KKK
MMM MMMM MMM III KKK KKK RRRRRR OOOOOO TTT III KKK KKK
MMM MM MMM III KKKKK RRR RRR OOO OOO TTT III KKKKK
MMM MMM III KKK KKK RRRRRR OOO OOO TTT III KKK KKK
MMM MMM III KKK KKK RRR RRR OOOOOO TTT III KKK KKK

MikroTik RouterOS 6.48 (c) 1999-2020 http://www.mikrotik.com/

[?] Gives the list of available commands
command [?] Gives help on the command and list of arguments

[Tab] Completes the command/word. If the input is ambiguous,
a second [Tab] gives possible options

/ Move up to base level
.. Move up one level
/command Use command at the base level

[admin@Teeberg Reserve] > system ssh user=ubnt address=192.168.1.20
password:


BusyBox v1.24.2 (2020-07-15 16:23:31 EEST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

XW.v6.3.2# ifconfig
ath0 Link encap:Ethernet HWaddr 04:186:68:02:57
UP BROADCAST PROMISC ALLMULTI MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

br0 Link encap:Ethernet HWaddr 04:186:68:02:57
inet addr:192.168.1.20 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::618:d6ff:fe68:257/64 Scope:Link
UP BROADCAST RUNNING ALLMULTI MULTICAST MTU:1500 Metric:1
RX packets:3925 errors:0 dropped:0 overruns:0 frame:0
TX packets:1140 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:211560 (206.6 KiB) TX bytes:157128 (153.4 KiB)

eth0 Link encap:Ethernet HWaddr 04:186:69:02:57
UP BROADCAST RUNNING PROMISC ALLMULTI MULTICAST MTU:1500 Metric:1
RX packets:3997 errors:0 dropped:0 overruns:0 frame:0
TX packets:1937 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:214912 (209.8 KiB) TX bytes:203392 (198.6 KiB)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:56 errors:0 dropped:0 overruns:0 frame:0
TX packets:56 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3932 (3.8 KiB) TX bytes:3932 (3.8 KiB)

wifi0 Link encap:Ethernet HWaddr 04:186:68:02:57
UP BROADCAST RUNNING MULTICAST MTU:2286 Metric:1
RX packets:157419 errors:0 dropped:0 overruns:0 frame:0
TX packets:71892 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:511
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:2 Memory:b8100000-b811ffff

XW.v6.3.2# ip a a 172.16.1.46/30 dev br0
XW.v6.3.2#
XW.v6.3.2# ip r del default
RTNETLINK answers: No such process
XW.v6.3.2#
XW.v6.3.2# ip r a default via 172.16.1.45
XW.v6.3.2#
 
Old 05-07-2021, 06:53 PM   #2
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
If you googled the second error, you would find that it normally means that the device can't reach the router, in your case 172.16.1.45. This is strange, since you added an address in the 172.16.1.44/30 subnet to br0. But are you sure this addition was successful?

The first time you get the error, perhaps you do not have a default route.

Last edited by berndbausch; 05-07-2021 at 07:05 PM.
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] "RTNETLINK answers: No such process" when starting networking catkin Linux - Networking 2 02-28-2022 02:22 AM
Error: RTNETLINK answers: No such file or directory mann007 Linux - Kernel 2 05-26-2016 07:55 PM
RTNETLINK answers: No such file or directory problem kalpan Linux - Networking 2 03-25-2013 11:11 PM
traffic control (tc) - RTNETLINK answers: No such file or directory Raiyan Linux - Kernel 1 12-29-2012 04:39 PM
What does "RTNETLINK answers: No such process" mean? michaelfomin Linux - Networking 1 08-31-2012 07:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:42 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration