You are not logged in.

#1 2012-06-06 17:44:57

Ghroth
Member
Registered: 2012-06-06
Posts: 3

[SOLVED] Network problem

Hello arch world.

To begin with, i'm pretty newb at linux.
I'm currently running 3.3.7-1 (x86) and i have some strange problems with my network cards.
My arch server is connected to my router (NetGear DGN2000) directly with cable. No wireless, disabled DHCP.
After reboot, sometimes i can ping router (192.168.0.10), sometimes i get "Destination Host Unreachable".
I can never ping any other clients in network, or my server (192.168.0.2) from clients.

Here's some more infos i can gather:

/etc/rc.conf :
hostname="midgar"
interface=eth0
address=192.168.0.2
netmask=255.255.255.0
broadcast=192.168.0.255
gateway=192.168.0.10
/etc/hosts :
127.0.0.1   archlinux.domain.org   localhost.localdomain   localhost midgar
::1         archlinux.domain.org   localhost.localdomain   localhost midgar
/etc/resolv.conf :
nameserver 195.170.0.1
nameserver 195.170.2.2
lspci -v :
00:09.0 Ethernet controller: 3Com Corporation 3c905C-TX/TX-M [Tornado] (rev 78)
        Subsystem: 3Com Corporation 3C905CX-TX/TX-M Fast Etherlink for PC Management NIC
        Flags: bus master, medium devsel, latency 32, IRQ 17
        I/O ports at e000 [size=128]
        Memory at f6024000 (32-bit, non-prefetchable) [size=128]
        [virtual] Expansion ROM at 80000000 [disabled] [size=128K]
        Capabilities: [dc] Power Management version 2
        Kernel driver in use: 3c59x
...
00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 78)
        Subsystem: Micro-Star International Co., Ltd. Device 7142
        Flags: bus master, medium devsel, latency 32, IRQ 23
        I/O ports at ed00 [size=256]
        Memory at f6023000 (32-bit, non-prefetchable) [size=256]
        Capabilities: [40] Power Management version 2
        Kernel driver in use: via-rhine
ip addr | sed '/^[0-9]/!d;s/: <.*$//' :
1:  lo
2:  eth0
3:  eth1
4:  wlan0
dmesg | grep 3c59x :
[     4.652867] 3c59x: Donald Becker and others.
dmesg | grep via-rhine:
[     4.652003] via-rhine 0000:00:12.0: eth0: VIA Rhine II at 0x1ed00, 00:13:d3:f1:ee:81, IRQ 23
[     4.652782] via-rhine 0000:00:12.0: eth0: MII PHY found at address 1, status 0x7849 advertising 05e1 Lilnk 0000
ip addr show dev eth0 :
2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN qlen 1000
    link/ether 00:13:d3:f1:ee:81 brd ff:ff:ff:ff:ff:ff
    inet 192.168.0.2/24 brd 192.168.0.255 scope global eth0
ip addr show dev eth1 :
3: eth1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
    link/ether 00:13:d3:f1:ee:81 brd ff:ff:ff:ff:ff:ff
lsmod:
...
3c59x          30049   0
via_rhine      18393   0
mii            3439    2 via_rhine, 3c59x

Any idea of what i am missing?
Thanks in advance!

Last edited by Ghroth (2012-06-07 19:17:59)

Offline

#2 2012-06-06 18:07:05

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: [SOLVED] Network problem

Ghroth wrote:
hostname="midgar"

Have you typed this in ?

Normally its

HOSTNAME="midgar"

Try this in the /etc/hosts

127.0.0.1   archlinux.domain.org   localhost.localdomain   localhost midgar
::1         archlinux.domain.org   localhost.localdomain   localhost

Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#3 2012-06-06 18:19:03

DarkCerberus
Banned
From: Holsworthy, Devon
Registered: 2011-12-31
Posts: 252

Re: [SOLVED] Network problem

Make sure that you have an up-to-date rc.conf file - the network might be not working properly due to the system not being updated - my rc.conf in the network section displays something like this:

# NETWORKING
# ----------
HOSTNAME=

interface=eth0
address=
netmask=
broadcast=
gateway=

NETWORK_PERSIST="no"

Notice that there isn't an ip address below the eth0 - try it like mine and see if that solves the problem, if it doesn't then revert the changes.


Our enemies are your enemies, Nick. Disorder, war. It's just a matter of time before a dirty bomb goes off in Moscow, or an EMP fries Chicago.  ---  Alexander Pierce, Captain America: Winter Soldier
Access Denied! De-cryption failed, override denied all files sealed! --- Triskelion, Shield OS
-----
How to ask questions the smart way

Offline

#4 2012-06-06 18:23:19

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: [SOLVED] Network problem

DarkCerberus wrote:

Notice that there isn't an ip address below the eth0

That's because he wants static IP addresses


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#5 2012-06-06 21:40:30

Ghroth
Member
Registered: 2012-06-06
Posts: 3

Re: [SOLVED] Network problem

DarkCerberus unfortunately no.
I've already tried to get an ip from router as dhcp but no use. Same problems.
I am trying to figure out if there is any conflict between NICs... still working on it.

Offline

#6 2012-06-06 22:41:24

Terminator
Member
From: Belgium
Registered: 2012-05-07
Posts: 265

Re: [SOLVED] Network problem

Inxsible wrote:

Try this in the /etc/hosts

127.0.0.1   archlinux.domain.org   localhost.localdomain   localhost midgar
::1         archlinux.domain.org   localhost.localdomain   localhost

That's how /etc/hosts looks like by default. However, the /etc/hosts shown in the beginners guide also has the hostname on the second line: see here. I added my hostname on the second line a few days ago, I'm not sure if things run faster now, but at least everything still works.

Offline

#7 2012-06-06 23:57:30

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,238
Website

Offline

#8 2012-06-07 01:54:02

Ghroth
Member
Registered: 2012-06-06
Posts: 3

Re: [SOLVED] Network problem

Bah... thanks fukawi. I fixed it.

Somehow the mac addresses of both nics were the same.
Once i reset them back to normal. everything started to work properly. No idea how they had been changed tho.

Anyways, thanks everyone for your time and your fast replies. :-)

Offline

#9 2012-06-07 09:09:14

Gcool
Member
Registered: 2011-08-16
Posts: 1,456

Re: [SOLVED] Network problem

Good to hear you managed to fix it.

Please don't forget to mark your thread as [SOLVED].


Burninate!

Offline

#10 2012-06-07 23:15:00

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,238
Website

Re: [SOLVED] Network problem

Ghroth wrote:

Somehow the mac addresses of both nics were the same.

That will make for some interesting experiences! wink

Offline

Board footer

Powered by FluxBB