Network not working on boot

2 posts / 0 new
Last post
#1 Mon, 2017-02-06 13:54
  • gebeer's picture
  • Offline
  • Last seen: 1 year 2 weeks ago
  • Joined: 2017-02-06

I installed AL into a droplet on digitalocean following these steps:

The droplet is working fine. But when I reboot it, I have no access to it from outside of digitalocean console.

After installing AL I issued rc-update add networking boot

rc-status -a directly after a reboot shows

Runlevel: default
 acpid                                                             [  crashed  ]
 sshd                                                              [  started  ]
 crond                                                             [  started  ]
 chronyd                                                           [  started  ]
Runlevel: nonetwork
Runlevel: sysinit
Runlevel: boot
 swap                                                              [  started  ]
 urandom                                                           [  started  ]
 hostname                                                          [  started  ]
 networking                                                        [  started  ]
 keymaps                                                           [  started  ]
Runlevel: shutdown
Dynamic Runlevel: hotplugged
Dynamic Runlevel: needed/wanted
 hwclock                                                           [  started  ]
 sysfs                                                             [  started  ]
 devfs                                                             [  started  ]
 mdev                                                              [  started  ]
 fsck                                                              [  started  ]
 root                                                              [  started  ]
 localmount                                                        [  started  ]
 klogd                                                             [  started  ]
 syslog                                                            [  started  ]
Dynamic Runlevel: manual

But pinging to and from the machine doesn't work.

I have to do rc-service networking restart to make networking work. After that I can access the machine from outside via ssh.

In the logs I can't find anything useful. rc-status -a shows that acpid service crashed. But I can't find anything related in dmesg or in the logs.

alpine:~$ cat /etc/network/interfaces 
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
	address 128.199.76.*** (changed for privacy reasons) 

alpine:~$ cat /etc/resolv.conf 

Any pointers on how to solve this would be much appreciated.

Fri, 2017-05-05 23:06
  • arivarton's picture
  • Offline
  • Last seen: 9 months 1 week ago
  • Joined: 2017-05-05

Did you manage to solve this?

I currently have the exact same problem on a linode vps.

Log in or register to post comments