If I boot my system and no interface has an IP address I get the above output. However if I give an interface an IP, even if I remove it again, this will disappear. Why does this happen?Is it that there is some file created that route tries to read?
route -n gives output route: fscanf
bash;shell;networking;route
route reads /proc/net/route & route: fscanf appears on stderr.Stream information from a configured interface:# cat /proc/net/routeIface   Destination Gateway     Flags   RefCnt  Use Metric  Mask        MTU Window  IRTT                                                       eth0    00000000    02F7A8C0    0003    0   0   202 00000000    0   0   0                                                                             eth0    00F7A8C0    00000000    0001    0   0   0   00FFFFFF    0   0   0  The fscanf c++ function appears as an error from route because /proc/net/route is empty. If you deconfigure the interface & bring it down again there is some initial information but no stream information:# cat /proc/net/routeIface   Destination Gateway     Flags   RefCnt  Use Metric  Mask        MTU Window  IRTT I test for this error in a script to check if interfaces should be configured.