Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
- ifconfig error -
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Branta
Tux's lil' helper
Tux's lil' helper


Joined: 13 Jan 2004
Posts: 75

PostPosted: Thu Mar 11, 2004 8:16 pm    Post subject: - ifconfig error - Reply with quote

I get can't find device error when I do:
Quote:
ifconfig eth0 192.168.0.2 broadcast 192.168.0.255 netmask 255.255.255.0

1. What is the correct command syntax for ifconfig?

Likewise I get a similar can't find device error with:
Quote:
route add -net default gw 192.168.0.1 netmask 255.255.255.0 metric 1 eth0

2. What is the correct command syntax for route?

All hardware works...does on XP & did on Gentoo 1.4 before I re-compiled kernel.
_________________
Bob
Back to top
View user's profile Send private message
hermes_jr
l33t
l33t


Joined: 26 Feb 2004
Posts: 701
Location: Moscow, Russia

PostPosted: Thu Mar 11, 2004 8:26 pm    Post subject: Reply with quote

1. man ifconfig
2. man route
and read this http://www.gentoo.org/doc/en/handbook/handbook.xml?part=1&chap=3
:D
Code:
# ifconfig eth0 ${IP_ADDR} broadcast ${BROADCAST} netmask ${NETMASK} up

Code:
# route add default gw ${GATEWAY}
Back to top
View user's profile Send private message
rockfly
Apprentice
Apprentice


Joined: 27 Apr 2003
Posts: 179

PostPosted: Thu Mar 11, 2004 8:31 pm    Post subject: Reply with quote

type in :
Code:
ifconfig


and look if there IS a eth0? if there isn't you need to load the module for you're network card
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum