You are not logged in.
Pages: 1
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.2lspci -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-rhineip addr | sed '/^[0-9]/!d;s/: <.*$//' :
1: lo
2: eth0
3: eth1
4: wlan0dmesg | 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 0000ip 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 eth0ip 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:fflsmod:
...
3c59x 30049 0
via_rhine 18393 0
mii 3439 2 via_rhine, 3c59xAny idea of what i am missing?
Thanks in advance!
Last edited by Ghroth (2012-06-07 19:17:59)
Offline
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 localhostThere's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
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
Notice that there isn't an ip address below the eth0
That's because he wants static IP addresses
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
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
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
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
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
Good to hear you managed to fix it.
Please don't forget to mark your thread as [SOLVED].
Burninate!
Offline
Somehow the mac addresses of both nics were the same.
That will make for some interesting experiences! ![]()
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
Pages: 1