LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   SIOCADDRT: No such device (https://www.linuxquestions.org/questions/slackware-14/siocaddrt-no-such-device-189871/)

NooDleZ 06-04-2004 10:59 PM

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

Cerbere 06-05-2004 05:51 AM

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

Norinett 06-05-2004 07:35 AM

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.