Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Linux Box not starting eth0
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
LUNCHBOX2000
n00b
n00b


Joined: 14 Dec 2002
Posts: 7

PostPosted: Sat Dec 14, 2002 5:26 pm    Post subject: Linux Box not starting eth0 Reply with quote

Hello,

I'm really new at this but i managed to finish the install of gentoo with a little trouble. I have a realtek 8139 ethernet card. There is a but in the 1.4 install disk where it won't auto-detect my integrated ethernet. so they said use the 1.2 install disk and download the 1.4 tarball. so i did. But when i started the system for the first time it would not load eth0 . This is what it says at gentoo bootup :
*Bringing eth0 up
*Failed to bring eth0 up

*ERROR: Problem starting needed services.
* "netmount" was not started

I have the ethernet drivers installed into the kernel..
can someone PLEASE help....Thanks

Aaron
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Sat Dec 14, 2002 6:02 pm    Post subject: Reply with quote

If you have /boot on a seperate partition, did you make sure it was mounted before copying the kernel to it?
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
LUNCHBOX2000
n00b
n00b


Joined: 14 Dec 2002
Posts: 7

PostPosted: Sat Dec 14, 2002 6:10 pm    Post subject: Reply with quote

yeah....i've been messing around with static ip settings and i got rid of the error atstartup but i'm still not getting any internet any suggestions
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Sat Dec 14, 2002 6:37 pm    Post subject: Reply with quote

What does ifconfig -a report?
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
LUNCHBOX2000
n00b
n00b


Joined: 14 Dec 2002
Posts: 7

PostPosted: Sat Dec 14, 2002 6:50 pm    Post subject: Reply with quote

eth0 Link encap:Ethernet HWaddr 00:50:2c:05:b5:23
inet addr:192.168.1.2 Bcast:192.168.0.255 Mask:255.255.255.0
IP BROADCAST NOTRAILERS RUNNING MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
interrupt:18 Base Address:0xc400
lo Link encap:Local Loopback
inet addr: 127.0.0.1 Mask 255.0.0.06
UP LOOPBACK RUNNING MTU:1643 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:7272 (7.1 Kb) TX bytes:7272 (7.1 Kb)
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Sat Dec 14, 2002 7:03 pm    Post subject: Reply with quote

Are you setting this up manually, or via /etc/conf.d/net? What is in net if your using that method?

I'm a little fuzzy with IP stuff now, but the broadcast address looks odd. I'm thinking it should be 192.168.1.255.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
mrchuckles
Tux's lil' helper
Tux's lil' helper


Joined: 09 Jul 2002
Posts: 125
Location: Severn, MD

PostPosted: Sat Dec 14, 2002 11:49 pm    Post subject: Reply with quote

kanuslupus wrote:
I'm a little fuzzy with IP stuff now, but the broadcast address looks odd. I'm thinking it should be 192.168.1.255.

Kanuslupus is correct, your broadcast should be set to 192.168.1.255, not 192.168.0.255. Also, do you have a default gateway setup? It's towards the bottom of '/etc/conf.d/net'.
Back to top
View user's profile Send private message
Decibels
Veteran
Veteran


Joined: 16 Aug 2002
Posts: 1623
Location: U.S.A.

PostPosted: Mon Dec 16, 2002 12:26 am    Post subject: Reply with quote

Did I miss something here? It looks like you are talking about reaching the internet, but your ip address is for a LAN.
I think you should look at /etc/conf.d/net and either change the ip for your internet connection if want it static or if you use dhcp like I do then just uncomment iface_eth0="dhcp" that part like this:

Code:
# Distributed under the terms of the GNU General Public License, v2 or later
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/conf.d/net,v 1.5 2002/09/07 13:31:29 azarah Exp $

# Global config file for net.* rc-scripts

# This is basically the ifconfig argument without the ifconfig $iface
#
#iface_eth0="192.168.0.2 broadcast 192.168.0.255 netmask 255.255.255.0"
#iface_eth1="207.170.82.202 broadcast 207.0.255.255 netmask 255.255.0.0"

# For DHCP set iface_eth? to "dhcp"
# For passing options to dhcpcd use dhcpcd_eth?
#
iface_eth0="dhcp"
#dhcpcd_eth0="..."

# For adding aliases to a interface
#
#alias_eth0="192.168.0.3 192.168.0.4"

# NB:  The next is only used for aliases.
#
# To add a custom netmask/broadcast address to created aliases,
# uncomment and change accordingly.  Leave commented to assign
# defaults for that interface.
#
#broadcast_eth0="192.168.0.255 192.168.0.255"
#netmask_eth0="255.255.255.0 255.255.255.0"


# For setting the default gateway
#
#gateway="eth0/192.168.0.1"


I don't have a LAN, and have eth0 connected to the cable modem, with ip via dhcp. And this is my exact /etc/conf.d/net.

Also, make sure you have netmount started at boot. Check with:
/etc/init.d/netmount status
you should get a response of started or stopped or something, if not try:
rc-update add netmount default
if it was already added but not working then we have another problem, but maybe you didn't get it added to default runlevels.
Back to top
View user's profile Send private message
LUNCHBOX2000
n00b
n00b


Joined: 14 Dec 2002
Posts: 7

PostPosted: Sat Dec 21, 2002 4:41 am    Post subject: Reply with quote

yeah....netmount was already intsalled.....
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security 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