You are not logged in.
Pages: 1
Hello,
Iam trying to set up arch on my old pc.
The problem is that dhcdhp cant assign IP address to eth0 and isnt starting at boot like it should.
rc.conf network part
# -----------------------------------------------------------------------
# NETWORKING
# -----------------------------------------------------------------------
#
# HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
#
HOSTNAME="galapags"
# Use 'ip addr' or 'ls /sys/class/net/' to see all available interfaces.
#
# Wired network setup
# - interface: name of device (required)
# - address: IP address (leave blank for DHCP)
# - netmask: subnet mask (ignored for DHCP) (optional, defaults to 255.255.255.0)
# - broadcast: broadcast address (ignored for DHCP) (optional)
# - gateway: default route (ignored for DHCP)
#
# Static IP example
# interface=eth0
# address=192.168.0.2
# netmask=255.255.255.0
# broadcast=192.168.0.255
# gateway=192.168.0.1
#
# DHCP example
# interface=eth0
# address=
# netmask=
# gateway=
interface="eth0"
address=
netmask=
gateway=
# Setting this to "yes" will skip network shutdown.
# This is required if your root device is on NFS.
NETWORK_PERSIST="no"
# Enable these netcfg profiles at boot-up. These are useful if you happen to
# need more advanced network features than the simple network service
# supports, such as multiple network configurations (ie, laptop users)
# - set to 'menu' to present a menu during boot-up (dialog package required)
# - prefix an entry with a ! to disable it
#
# Network profiles are found in /etc/network.d
#
# This requires the netcfg package
#
#NETWORKS=(main)hostname is changed in /etc/hosts too
There is no problem with pinging localhost or 127.0.0.1
please advise how to fix this
-thank you
Last edited by iedopadzert (2012-01-11 23:21:06)
Offline
have you tried removing the quotes around eth0? Not sure if it matters but probably worth a try
Change:
interface="eth0"
to
interface=eth0
Last edited by oliver (2012-01-11 21:42:00)
Offline
Yes i have. There is no diference
P.S. sry for duble-post. i dont know how it happend. Please delete other post.
Last edited by iedopadzert (2012-01-11 21:57:52)
Offline
Yes i have. There is no diference
P.S. sry for duble-post. i dont know how it happend. Please delete other post.
When something like this happens, you may report the error to the moderators by clicking the "Report" link on the post. The moderators won't bite. I will leave it up to you to do.
The problem is that dhcdhp cant assign IP address to eth0 and isnt starting at boot like it should.
rc.conf network part
<snip />
hostname is changed in /etc/hosts too
There is no problem with pinging localhost or 127.0.0.1
The section you've supplied out of rc.conf is insufficient.
Please also supply outputs from:
grep ^DAEMONS /etc/rc.conflspci -nnmk | grep -i "network\|ethernet"lsmodip addrip routeAlso, what kind of router is it?
Most network problems I've seen on these forums can be solved immediately once this information is available.
Offline
When something like this happens, you may report the error to the moderators by clicking the "Report" link on the post. The moderators won't bite. I will leave it up to you to do.
Done and thank you for pointing out report button.
grep ^DAEMONS /etc/rc.conf
-
DAEMONS=(hwclock syslog-ng network netfs crond)lspci -nnmk | grep -i "network\|ethernet"
-
01:05.0 "Ethernet controller [0200]" "Realtek Semiconductor Co., Ltd. [10ec]" "RTL-8139/8139C/8139C+ [8139]" -r10 "Giga-byte Technology [1458]" "GA-7VM400M/7VT600 Motherboard [e000]"lsmod
-
Module Size Used by
vfat 10247 0
fat 49473 1 vfat
usb_storage 44263 1
uas 8088 0
ext2 63674 2
i2c_i801 8187 0
iTCO_wdt 12717 0
i915 707307 1
evdev 9530 0
snd_intel8x0 26863 0
iTCO_vendor_support 1929 1 iTCO_wdt
drm_kms_helper 25409 1 i915
snd_ac97_codec 114231 1 snd_intel8x0
drm 183380 2 i915,drm_kms_helper
ac97_bus 1174 1 snd_ac97_codec
i2c_algo_bit 5199 1 i915
snd_pcm 73856 2 snd_intel8x0,snd_ac97_codec
intel_agp 10904 1 i915
sg 25557 0
i2c_core 20133 5 i2c_i801,i915,drm_kms_helper,drm,i2c_algo_bit
intel_gtt 14423 3 i915,intel_agp
video 11228 1 i915
processor 24256 0
pcspkr 1819 0
snd_timer 19416 1 snd_pcm
snd 57786 4 snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
soundcore 6146 1 snd
snd_page_alloc 7121 2 snd_intel8x0,snd_pcm
8139cp 19793 0
button 4470 1 i915
8139too 20392 0
mii 3995 2 8139cp,8139too
ext3 128213 2
jbd 48592 1 ext3
mbcache 5817 2 ext2,ext3
sd_mod 28307 7
pata_acpi 3376 0
ata_piix 22005 4
libata 173297 2 pata_acpi,ata_piix
uhci_hcd 23084 0
ehci_hcd 39511 0
scsi_mod 131482 5 usb_storage,uas,sg,sd_mod,libata
usbcore 142544 5 usb_storage,uas,uhci_hcd,ehci_hcdip addr
-
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN qlen 1000
link/ether 00:0f:ea:28:8f:89 brd ff:ff:ff:ff:ff:ffip route
-Part of /var/log/everything.log
Jan 2 04:31:48 localhost dhcpcd[1572]: version 5.2.12 starting
Jan 2 04:31:48 localhost dhcpcd[1572]: eth0: broadcasting for a lease
Jan 2 04:31:48 localhost dhcpcd[1572]: eth0: offered 192.168.0.50 from 192.168.0.199
Jan 2 04:31:48 localhost dhcpcd[1572]: eth0: acknowledged 192.168.0.50 from 192.168.0.199
Jan 2 04:31:48 localhost dhcpcd[1572]: eth0: checking for 192.168.0.50
Jan 2 04:31:48 localhost dhcpcd[1572]: eth0: hardware address 00:13:d3:a7:cc:70 claims 192.168.0.50
Jan 2 04:31:58 localhost dhcpcd[1572]: eth0: broadcasting for a lease
Jan 2 04:31:58 localhost dhcpcd[1572]: eth0: offered 192.168.0.50 from 192.168.0.199
Jan 2 04:31:58 localhost dhcpcd[1572]: eth0: acknowledged 192.168.0.50 from 192.168.0.199
Jan 2 04:31:58 localhost dhcpcd[1572]: eth0: checking for 192.168.0.50
Jan 2 04:31:58 localhost dhcpcd[1572]: eth0: hardware address 00:13:d3:a7:cc:70 claims 192.168.0.50
Jan 2 04:32:08 localhost dhcpcd[1572]: eth0: broadcasting for a lease
Jan 2 04:32:08 localhost dhcpcd[1572]: eth0: offered 192.168.0.50 from 192.168.0.199
Jan 2 04:32:08 localhost dhcpcd[1572]: eth0: acknowledged 192.168.0.50 from 192.168.0.199
Jan 2 04:32:08 localhost dhcpcd[1572]: eth0: checking for 192.168.0.50
Jan 2 04:32:08 localhost dhcpcd[1572]: eth0: hardware address 00:13:d3:a7:cc:70 claims 192.168.0.50Well I cant answer You about the router, but I can ensure you that it is configure correctly for this NIC
Last edited by iedopadzert (2012-01-11 22:37:54)
Offline
In reply to your report, please explain the situation so that someone else with a similar problem can learn of how to deal with the issue. Thank you.
Edit: And then mark the thread as [SOLVED]. Thanks! ![]()
Last edited by fsckd (2012-01-11 23:03:22)
aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies
Offline
Okay, have you tried searching the web? I used these search terms:
8139 realtek OR ethernet linux dhcp problems
and see a potential solution. Try adding the "noirqdebug" flag to your kernel options at boot time.
Offline
the problem here was that:
DHCP server gives out IP address witch are binned to MAC address.
In DHCP server IP list address 192.168.0.50 was free. So I assign it to my PC's MAC address, but it was already statically set to NIC with 00:13:d3:a7:cc:70 MAC address.
Jan 2 04:31:58 localhost dhcpcd[1572]: eth0: hardware address 00:13:d3:a7:cc:70 claims 192.168.0.50So I had to assign different IP address to my MAC address to solve this problem.
Offline
Pages: 1