SIOCADDRT: No such device
hi, im very new to linux im trying to use Slackware 9.1, this is my question...
im trying to set up my internet connection in my linux box, i have an ADSL modem then a router (192.168.2.1) an then my slackware box which is 192.168.2.30, i set up my ethernet card i can ping it but when i try to ping any site on the internet it says ping unknown host, this is how i set my card #ifconfig eth0 192.168.2.30 netmask 255.255.255.0 #ping -c 2 192.168.2.30 2 recived # route add default 192.168.2.1 SIOCADDRT: No such device any idea?? tnx in advance |
Sounds like a DNS problem. Can you ping IP addresses, rather than domain names?
And BTW, America is not a continent. It's two! Enjoy! --- Cerbere |
Use:
route add default gw 192.168.2.1 You are missing 'gw' in your command. |
All times are GMT -5. The time now is 11:38 AM. |