Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
My network dont work
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
RATFOOD
n00b
n00b


Joined: 19 Mar 2003
Posts: 44

PostPosted: Fri Aug 01, 2003 8:06 pm    Post subject: My network dont work Reply with quote

Hi guys, I reinstalled gentoo and all went well besides the network. The odd thing is that it seems to be finding my NIC just fine. From the gentoo computer I cave no network connectivity, i can only ping its own ip (192.168.0.3). I can't even ping the gateway. From my other computers on the network I can't ping the gentoo computer. When I run the live cd then run net-setup everything works fine. So im guessing something else in the kernel but as far as I can tell the kernel is exactly the same as I had it when I did an install about 3 months ago... (I compiled the nic into the kernel, no modules)

Any ideas on what I can try? Its a via chipset with amd processor

heres the info from what i tried:

I had to type this stuff out here by hand, so let me know if the rest of the info will help
_____________________________________________________
When I do a dmesg |grep eth I get
eth0: REALTEK RTL8139... (etc)
eth0: Identified 8139 chip type 'RTL-8139C'
eth0: setting 100 mbps full duplex based on... (etc)
_____________________________________________________
When I do an ifconfig i get

eth0: link encap: ethernet
inet addr: 192.168.0.3 bcast 192.168.0.255 mask 255.255.255.0
(etc)

lo: (everything looks fine here, etc)
_____________________________________________________
the only two lines uncommented in /etc/conf.d/net are

iface_eth0="192.168.0.3 broadcast=192.168.0.255 netmast 255.255.255.0"
gateway="eth0/192.168.0.1"
_____________________________________________________


thanks for any help
Back to top
View user's profile Send private message
devon
l33t
l33t


Joined: 23 Jun 2003
Posts: 943

PostPosted: Fri Aug 01, 2003 10:58 pm    Post subject: Reply with quote

Have you checked network cables? switch/hub ports? Did you compile netfilter support into the kernel?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54819
Location: 56N 3W

PostPosted: Fri Aug 01, 2003 11:04 pm    Post subject: Reply with quote

RATFOOD,

What does /sbin/route say about your default route?
Something like:-

roy@spike conf.d $ /sbin/route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.100.0 * 255.255.255.0 U 0 0 0 eth0
loopback Spike 255.0.0.0 UG 0 0 0 lo
default Moriarty 0.0.0.0 UG 1 0 0 eth0

The first line is how to talk to the local network segment. the second line is how to talk to yourself on the looback interface. The third line is how to talk to everything except the local segment.

If you have no way of resolving machine name to IP numbers, you should get IP addresses in place of Spike and Moriarty.

Regards,

NeddySeagoon
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
RATFOOD
n00b
n00b


Joined: 19 Mar 2003
Posts: 44

PostPosted: Sat Aug 02, 2003 12:34 am    Post subject: Reply with quote

hi thanks, yes my first thought was the network cables, I checked them all... Then I made sure by putting the live cd in, typing "net-setup eth0", putting my IP in there, then ping www.com. It worked just fine. Also, i didn't put netfilter into the kernel. I am using gentoo-sources and left almost everything the same way as when you download it.

Neddy, ok i tried /sbin/route (I didn't know this existed) and heres what it told me

192.168.0.0 * 255.255.255.0 U 0 0 0 eth0
loopback localhost 255.0.0.0 UG 0 0 0 lo
default 192.168.0.1 0.0.0.0 UG 1 0 0 eth0

I guess I can't resolve dns names but I can't even ping my router so that would make sense.

I see for the default that there is no netmask, can this be causing the problem? Thanks for your help so far!
Back to top
View user's profile Send private message
RATFOOD
n00b
n00b


Joined: 19 Mar 2003
Posts: 44

PostPosted: Sat Aug 02, 2003 1:14 am    Post subject: Reply with quote

Hey I found out how to fix the problem....
I did a make clean then a make mrproper then recompiled the kernel again and now my network works. I must have checked or unchecked something bad when I was making the menuconfig! Well, I don't know what I did but at least its fixed now, thanks for helping my out though, it's much appreciated!


EDIT: I found the problem, its only for the latest kernel and it happens when I turn on ACPI in the kernel
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