You are not logged in.

#1 2006-11-02 22:29:58

abe.sinner
Member
Registered: 2006-06-25
Posts: 14

[Solved] Problem with network

Oi,

I have a problem with setting up my network configuration, when I run /etc/rc.d/network start I get the following SIOCADDRT: Network is unreachable. I have a Realteck RTC 8168/8111 and load the following modules: 8139too, 8139cp and r8169.
/etc/rc.conf

lo="lo 127.0.0.1"
eth0="dhcp"
INTERFACES=(lo eth0)
ROUTES=(!gateway)

ifconfig

lo
Link encap: Local Loopback
inet addr: 127.0.0.1 Mask:225.0.0.0
enz.. 

ifconfig eth0

Link encap:UNSPEC HWaddr 00-DC-10-00-F4-B3-EC-00-00-00-00-00-00-00-00-00
BROADCAST MULTICAST MTU:1500 Metric:1
enz... 

When I make an extra divice eth1. ifconfig eth1

eth1: error fetching interface information: Decice not found 

I have a Fireware port on my computer. I blocked eth1394, ohci1394 and ieee1394 from loading. Now when i run ifconfig eth0 I get:

eth0: error fetching interface information: Decice not found 

It looks like there is something strange with the fireware port and eth0, can someone help me?

<_abe>


Ha Ha

Offline

#2 2006-11-02 22:53:18

fk
Member
From: Germany
Registered: 2006-04-29
Posts: 524

Re: [Solved] Problem with network

Please post the output of

lspci

and

ifconfig -a

and

dmesg

Have you tried to turn it off and on again?

Offline

#3 2006-11-02 23:39:20

ralvez
Member
From: Canada
Registered: 2005-12-06
Posts: 1,718
Website

Re: [Solved] Problem with network

It is clear by the output of ifconfig that your card is not loaded.
Is this a built-in card or an add on, if it is the latter then make sure to disable any built in cards that may conflict with the added interface.
The stats requested by fk could be also very helpful to troubleshoot the problem.

Offline

#4 2006-11-03 00:18:17

abe.sinner
Member
Registered: 2006-06-25
Posts: 14

Re: [Solved] Problem with network

It is a built-in on a msi S262 - Intel due core.

lspci

...
01:04.0 Fireware (IEEE 1394): 02 Micro, Inc. Unknown device 00f7 (rev 02)
...
03:00.0 Network controller: Intel Corporation Unknown device 4222 (rev 01)
04:00.0 Ethernet controller: Realteck Semiconductor Co., Ltd Unknown device 8168 (rev 01)

ifconfig -a

lo
Link encap: Local Loopback
inet addr: 127.0.0.1 Mask:225.0.0.0
enz..

<_abe>


Ha Ha

Offline

#5 2006-11-03 02:52:11

ralvez
Member
From: Canada
Registered: 2005-12-06
Posts: 1,718
Website

Re: [Solved] Problem with network

It seems to me that this is a driver problem.
Just to get out of doubts do this:
1. type ifconfig eth0 192.168.1.30
2. type route add default gw 192.168.1.1, eth0
3. echo "nameserver xx.xxx.xxx.xxx" > /etc/resolv.conf
IMPORTNAT: The above assumes you are using a LAN with a private address of 192.168.1.x
You should adjust these numbers accordingly based on your LAN settings.
In step 3 the nameserver is the address of one of your nameservers.

This will set up your card with a static address. If this works then dhcp is not working on your network.
Also if this works ifconfig will give you a totally different response than what you currently get.

Finally step 2 is the green address of your router, so you can connect to the internet.


Hope this helps.

R

Offline

#6 2006-11-03 03:03:05

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: [Solved] Problem with network

Don't load both 8139too and 8139cp. They conflict with each other. Put one of them (8139cp ?) in MOD_BLACKLIST in rc.conf

Offline

#7 2006-11-03 13:51:36

abe.sinner
Member
Registered: 2006-06-25
Posts: 14

Re: [Solved] Problem with network

Oi, i have blocked 8139cp but still no diference

ifconfig eth0 192.168.2.30

SIOCIFADDR: No such device

route default gw 192.168.2.1 eth0

SIOCIFADDR: No such device

<_abe>


Ha Ha

Offline

#8 2006-11-03 13:56:45

ralvez
Member
From: Canada
Registered: 2005-12-06
Posts: 1,718
Website

Re: [Solved] Problem with network

It looks like the drivers are not working.
Switch drivers and try again.

Offline

#9 2006-11-03 14:11:25

abe.sinner
Member
Registered: 2006-06-25
Posts: 14

Re: [Solved] Problem with network

ralvez wrote:

It looks like the drivers are not working.
Switch drivers and try again.

you mean block 8139too and load 8139cp? I did that, unfortunatly without succes.

<_abe>


Ha Ha

Offline

#10 2006-11-03 20:29:20

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,961

Re: [Solved] Problem with network

block both 8139too and 8139cp, you should only need the r8169 module.

this gentoo wiki page Gentoo wiki  Realtek 8168 8169 8101 8111 based PCI-E/PCI Ethernet Cards
has info about a realtek driver if the kernel module doesn't work.

The other network controller is probably an ipw3945 wireless .


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#11 2006-11-09 08:28:21

abe.sinner
Member
Registered: 2006-06-25
Posts: 14

Re: [Solved] Problem with network

Oi, I have installed the latest kernel and now the problem is solved. thx to everyone who tried to help me.

<_abe>


Ha Ha

Offline

Board footer

Powered by FluxBB