I have a Dockstar that I am trying to get set up as a CUPS printer server. Right now it has a stock archlinuxarm install after following the instructions on this site.
I can only connect to it on the network once every 6 boots or so. So I popped it open and hooked up a ttl level serial cable and I think I have tracked down the issue. While booting it takes a while at the "starting network" before continuing; but it does not seem to get an ip address (mac redacted):
$this->bbcode_second_pass_code('', 'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 metric 1
inet6 fe80::210:75ff:fe1a:7ba prefixlen 64 scopeid 0x20<link>
ether 00:10:75:xx:xx:xx txqueuelen 1000 (Ethernet)
RX packets 15 bytes 1388 (1.3 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 7 bytes 860 (860.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 11
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 16436 metric 1
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 0 (Local Loopback)
RX packets 4 bytes 260 (260.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 4 bytes 260 (260.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
')
I can either set an ip via the serial console or use dhcpd and get an ip right away (and of course connect from the network again):
$this->bbcode_second_pass_code('', '
[root@alarm ~]# dhcpcd eth0
dhcpcd[341]: version 5.2.12 starting
dhcpcd[341]: eth0: broadcasting for a lease
dhcpcd[341]: eth0: offered 192.168.1.228 from 192.168.1.1
dhcpcd[341]: eth0: acknowledged 192.168.1.228 from 192.168.1.1
dhcpcd[341]: eth0: checking for 192.168.1.228
dhcpcd[341]: eth0: leased 192.168.1.228 for 43200 seconds
dhcpcd[341]: forked to background, child pid 362
[root@alarm ~]# ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 metric 1
inet 192.168.1.228 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fe80::210:75ff:fe1a:7ba prefixlen 64 scopeid 0x20<link>
ether 00:10:75:xx:xx:xx txqueuelen 1000 (Ethernet)
RX packets 32 bytes 3188 (3.1 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 15 bytes 1908 (1.8 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 11
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 16436 metric 1
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 0 (Local Loopback)
RX packets 4 bytes 260 (260.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 4 bytes 260 (260.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0')
Did I do something dumb? And more importantly... what can I do to fix this? I don't want to have to use the serial console to set up the network every time I boot (also, I would like to put the thing back together before I lose the top!)
EDIT: Changed topic to be a little more informative and fixed a couple of typos.