LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-04-2004, 10:59 PM   #1
NooDleZ
Member
 
Registered: Feb 2004
Location: Tampico, MX
Distribution: Gentoo
Posts: 36

Rep: Reputation: 15
Angry 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
 
Old 06-05-2004, 05:51 AM   #2
Cerbere
Member
 
Registered: Dec 2002
Location: California
Distribution: Slackware & LFS
Posts: 799

Rep: Reputation: 33
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
 
Old 06-05-2004, 07:35 AM   #3
Norinett
LQ Newbie
 
Registered: Jun 2004
Posts: 14

Rep: Reputation: 0
Use:

route add default gw 192.168.2.1

You are missing 'gw' in your command.
 
  


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
SIOCADDRT: No such device klanux Linux - Networking 4 01-16-2010 08:51 PM
SIOCADDRT: No such device! NooDleZ Linux - Networking 2 06-05-2004 01:19 AM
SIOCADDRT : Network is Unreachable nishi_k_79 Linux - Networking 1 10-16-2003 11:18 AM
what is SIOCADDRT? c12ayon Linux - Newbie 5 10-12-2003 03:02 PM
SIOCADDRT: Network is unreachable shyam Linux - Networking 16 09-10-2003 07:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:00 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