LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 06-04-2004, 11:38 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, 01:47 AM   #2
larry
LQ Newbie
 
Registered: Mar 2004
Location: chicago
Distribution: Fedora 2, Slackware 9.1, Debian 3.0
Posts: 16

Rep: Reputation: 0
Code:
route add default 192.168.2.1
try this:

Code:
route add default gw 192.168.2.1
if that does not work post your output of
Code:
route
and even
Code:
ifconfig
--larry
 
Old 06-05-2004, 02:19 AM   #3
NooDleZ
Member
 
Registered: Feb 2004
Location: Tampico, MX
Distribution: Gentoo
Posts: 36

Original Poster
Rep: Reputation: 15
tnx larry but i fix it already... i made a lot more research and the solution was to change the ethernet card to another pci slot

tnx larry
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 09:51 PM
SIOCADDRT: No such device NooDleZ Slackware 2 06-05-2004 08:35 AM
SIOCADDRT : Network is Unreachable nishi_k_79 Linux - Networking 1 10-16-2003 12:18 PM
what is SIOCADDRT? c12ayon Linux - Newbie 5 10-12-2003 04:02 PM
SIOCADDRT: Network is unreachable shyam Linux - Networking 16 09-10-2003 08:00 AM


All times are GMT -5. The time now is 06:40 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration