You are not logged in.
Can anyone tell me what this means? When I use netcfg2 to connect the ethernet on my laptop, it does connect. But before connecting, it prints this message
eth0: write_lease: No such file or directory
Here is my network profile, which is essentially the same as one of the example files.
CONNECTION="ethernet"
DESCRIPTION="A very basic ethernet profile, using dhcp"
INTERFACE=eth0
IP="dhcp"
DHCP_TIMEOUT=30
################
Added 10/19/08: Installing dhcpcd from testing solved the problem.
Last edited by cmlr (2008-10-19 21:51:07)
Offline
eth0: write_lease: No such file or directory
it seems to be caused by dhcpcd. I'll look into it the next coming days.
[edit]
Is this a new install?
can you try this (as root):
touch /var/lib/dhcpcd/dhcpcd-eth0.lease
Last edited by pressh (2008-10-18 19:41:29)
Offline
I am getting the same output while starting /etc/rc.d/network with 'eth0="dhcp"' in rc.conf. And yes this just happened after recently (new) installation, but it still works.
"Shiver me timbers."
Offline
There is no directory /var/lib/dhcpcd. Instead, I have /usr/lib/dhcpcd but no file dhcpcd-eth0.lease. Then I ran
touch /usr/lib/dhcpcd/dhcpcd-eth0.lease
and restarted the computer. Nothing changed, it connected, but with the same message.
cmlr wrote:eth0: write_lease: No such file or directory
it seems to be caused by dhcpcd. I'll look into it the next coming days.
[edit]
Is this a new install?can you try this (as root):
touch /var/lib/dhcpcd/dhcpcd-eth0.lease
Last edited by cmlr (2008-10-18 20:43:46)
Offline
There is no directory /var/lib/dhcpcd. Instead, I have /usr/lib/dhcpcd but no file dhcpcd-eth0.lease. Then I ran
touch /usr/lib/dhcpcd/dhcpcd-eth0.lease
As I expect there is indeed no directory /var/lib/dhcpcd, which I expect to be causing the problem. I can test it myself when I'm home this evening, but I think you really need to at least run the touch command I gave you.
Ah well, I test it myself later today and report if it works if you don't have time before that.
Offline
Same situation here. I had a fresh Arch install, but this time from ftp server. Before i used to do cd instalation and never had this message after starting network. And it takes a little bit longer to activate network deamon now.
I have tried running this commmand
touch /var/lib/dhcpcd/dhcpcd-eth0.lease
as a root, and get "No such file or directory"
OK! Solved! Just have to create that dhcpcd directory in /var/lib and run that command. Thanks!
Last edited by atomic (2008-10-19 09:44:44)
Offline
yeah sorry, I wasn't sure if touch would create that directory.
The correct command should be
install -d /var/lib/dhcpcd
I'll update the package and make sure it creates an empty directory there.
Offline
I installed dhcpcd from testing, and I no longer have problems.
Offline