Network not working on boot

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

Hello,
I installed AL into a droplet on digitalocean following these steps: https://github.com/bontibon/digitalocean-alpine

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) 
	netmask 255.255.0.0
	gateway 128.199.64.1

alpine:~$ cat /etc/resolv.conf 
nameserver 8.8.8.8
nameserver 8.8.4.4

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

Fri, 2017-05-05 23:06
arivarton
  • arivarton's picture
  • Offline
  • Last seen: 4 months 3 days 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