Description of problem: route add fails with error "SIOCADDRT: No such process\n" with my wireless connection. I've seen it several times in /var/log/messaes resulting in my notebook being unable to automatically set a default route and get outside my local network Version-Release number of selected component (if applicable): net-tools-1.60-87.fc9.i386 How reproducible: 100% Steps to Reproduce: 1. make sure wired network port is not connected 2. # route add default gw 192.168.1.10 3. Actual results: error Expected results: success Additional info: see attched strace log
Created attachment 312291 [details] strace
note the wired network also does not work correctly with NetworkManager in that a default route is not set automatically. What is unique about the wired network is that I CAN manually set the default route.
Please, can you describe here whole configuration of your network? I neam IP, netmask, ... Thanks.
After researching this further I have found that the problem appears to be with my dhcp server (linksys running openwrt). I was using static dhcp assignments and when I disable the MAC address association everything works fine. My current theory is that I have a some stale MAC address associations that I can't clear out of the router for some reason. Is this still a bug? IOW should 'route' return the error it does if it can't set a route?
In my opinion, this is the configuration error, not a error in net-tools. Returned error message reflect the problem which was caused by setting wrong route, so I think that there is no problem with it. In any case I'm closing this as NOTABUG.