You are not logged in.
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
Please post the output of
lspci
and
ifconfig -a
and
dmesg
Have you tried to turn it off and on again?
Offline
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
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
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
Don't load both 8139too and 8139cp. They conflict with each other. Put one of them (8139cp ?) in MOD_BLACKLIST in rc.conf
Offline
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
It looks like the drivers are not working.
Switch drivers and try again.
Offline
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
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
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