You are not logged in.

#1 2011-07-10 13:28:24

syms
Member
Registered: 2008-12-25
Posts: 296

Problems after switching from network to netcfg

Hi,
So as arch linux suggested i switched to netcfg. I have dhcp, and configured as arch wiki said, added net-profiles daemon to rc.conf. But theres a problem, when i turn on my pc and modem, and boot to system, i have no network, same error as cable disconnected (no connection). When i do /etc/rc.d/net-profiles restart, then it restarts and my network works fine. That happens only when modem is cold started like the computer. When i turn off pc, i always turn off my modem and router, and when i need to turn on my pc i always turn on modem and router at the same time as pc. if i just restart my pc (without disconnecting modem or router) then when arch boots, my connection works just fine. It seems like the problem happens only with the cold start, because at that time when arch starts daemons my router isnt fully started yet. How to fix that problem?
Here's my daemon.log:

Jul 10 16:18:52 localhost [    1.041821] udevd[53]: starting version 171
Jul 10 16:18:52 localhost [    3.892035] udevd[251]: starting version 171
Jul 10 16:19:06 localhost kdm_greet[652]: Cannot load /usr/share/apps/kdm/faces/.default.face: No such file or directory
Jul 10 16:19:10 localhost dbus[631]: [system] Activating service name='org.freedesktop.ConsoleKit' (using servicehelper)
Jul 10 16:19:10 localhost dbus[631]: [system] Activating service name='org.freedesktop.PolicyKit1' (using servicehelper)
Jul 10 16:19:10 localhost polkitd[731]: started daemon version 0.101 using authority implementation `local' version `0.101'
Jul 10 16:19:10 localhost dbus[631]: [system] Successfully activated service 'org.freedesktop.PolicyKit1'
Jul 10 16:19:10 localhost dbus[631]: [system] Successfully activated service 'org.freedesktop.ConsoleKit'
Jul 10 16:19:15 localhost dbus[631]: [system] Activating service name='org.freedesktop.UPower' (using servicehelper)
Jul 10 16:19:15 localhost dbus[631]: [system] Successfully activated service 'org.freedesktop.UPower'
Jul 10 16:19:15 localhost dbus[631]: [system] Activating service name='org.freedesktop.UDisks' (using servicehelper)
Jul 10 16:19:15 localhost dbus[631]: [system] Successfully activated service 'org.freedesktop.UDisks'
Jul 10 16:19:43 localhost dbus[631]: [system] Failed to activate service 'org.freedesktop.Avahi': timed out
Jul 10 16:19:50 localhost dhcpcd[1094]: version 5.2.12 starting
Jul 10 16:19:50 localhost dhcpcd[1094]: eth0: broadcasting for a lease
Jul 10 16:19:51 localhost dhcpcd[1094]: eth0: offered 192.168.2.100 from 192.168.2.1
Jul 10 16:19:51 localhost dhcpcd[1094]: eth0: acknowledged 192.168.2.100 from 192.168.2.1
Jul 10 16:19:52 localhost dhcpcd[1094]: eth0: checking for 192.168.2.100
Jul 10 16:19:56 localhost dhcpcd[1094]: eth0: leased 192.168.2.100 for 86400 seconds
Jul 10 16:19:56 localhost dhcpcd[1094]: forked to background, child pid 1106

Last edited by syms (2011-07-10 13:31:16)

Offline

#2 2011-07-22 10:00:05

syms
Member
Registered: 2008-12-25
Posts: 296

Re: Problems after switching from network to netcfg

So i found out wheres the problem. Basically if you turn off your modem and want to start net-profiles daemon it fails to start. But if the modem is booted up it starts fine. So how can i make netcfg force to start net-profiles no matter if modem is turned on or off?

Offline

Board footer

Powered by FluxBB