I have been trying for a few weeks to install Arch Linux and get a Samba server running on my Pogoplug E02 but have been thus far unsuccessful. Everything works fine until the point I actually install Samba. I install Samba using $this->bbcode_second_pass_code('', 'pacman -Sy samba') and it installs. I reboot and everything comes up. I then proceed to configure samba below is my config file,
$this->bbcode_second_pass_code('', '
[global]
workgroup = WORKGROUP
server string = POGOPLUG
netbios name = POGOPLUG
load printers = no
printing = bsd
printcap name = /dev/null
disable spoolss = yes
log file = /var/log/samba/%m.log
max log size = 50
socket options = IPTOS_LOWDELAY TCP_NODELAY SO_KEEPALIVE
write cache size = 2097152
use sendfile = yes
#unprotected/public share without login
security = user
map to guest = Bad User
guest account = root
#[root$]
# path = /
# read only = no
# public = yes
# writable = yes
#force user = root
# guest ok = yes
[media]
path = /mnt/media
read only = no
public = yes
writable = yes
force user = randy
guest ok = no
')
I then start the samba server $this->bbcode_second_pass_code('', 'systemd smbd nmbd') I can access the media file share from my laptop. I then reboot and that's when things stop working. I get an orange light on the front of the Pogoplug but I can't ssh in. Below is the output I get from netconsole:
$this->bbcode_second_pass_code('', '
U-Boot 2011.12 (Feb 20 2012 - 21:21:59)
Pogoplug E02
arm-none-linux-gnueabi-gcc (Sourcery G++ Lite 2009q3-67) 4.4.1
GNU ld (Sourcery G++ Lite 2009q3-67) 2.19.51.20090709
Hit any key to stop autoboot: 0
(Re)start USB...
USB: Register 10011 NbrPorts 1
USB EHCI 1.00
scanning bus for devices... 4 USB Device(s) found
scanning bus for storage devices... 2 Storage Device(s) found
Loading file "/rescueme" from usb device 0:1 (usbda1)
** File not found /rescueme
reading /rescueme.txt
** Unable to read "/rescueme.txt" from usb 0:1 **
Creating 1 MTD partitions on "nand0":
0x000002500000-0x000008000000 : "mtd=3"
UBI: attaching mtd1 to ubi0
UBI: physical eraseblock size: 131072 bytes (128 KiB)
UBI: logical eraseblock size: 129024 bytes
UBI: smallest flash I/O unit: 2048
UBI: sub-page size: 512
UBI: VID header offset: 512 (aligned 512)
UBI: data offset: 2048
UBI: attached mtd1 to ubi0
UBI: MTD device name: "mtd=3"
UBI: MTD device size: 91 MiB
UBI: number of good PEBs: 728
UBI: number of bad PEBs: 0
UBI: max. allowed volumes: 128
UBI: wear-leveling threshold: 4096
UBI: number of internal volumes: 1
UBI: number of user volumes: 0
UBI: available PEBs: 717
UBI: total number of reserved PEBs: 11
UBI: number of PEBs reserved for bad PEB handling: 7
UBI: max/mean erase counter: 1/1
UBIFS error (pid 0): ubifs_get_sb: cannot open "ubi:rootfs", error -19
Error reading superblock on volume 'ubi:rootfs'!
Loading file "/boot/uImage" from usb device 0:1 (usbda1)
1 bytes read
Found bootable drive on usb 0:1
Loading file "/boot/uImage" from usb device 0:1 (usbda1)
2888208 bytes read
Loading file "/boot/uInitrd" from usb device 0:1 (usbda1)
** File not found /boot/uInitrd
## Booting kernel from Legacy Image at 00800000 ...
Image Name: Linux-3.1.10-20-ARCH
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2888144 Bytes = 2.8 MiB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK
Starting kernel ...
')
When I try to ssh in I get $this->bbcode_second_pass_code('', 'ssh: connect to host 192.168.1.106 port 22: No route to host')
From reading some other posts, it seems that the problem maybe related to netcfg loading before the interface is ready so I migrated to netctl. Per the Arch Linux wiki, I added the following:
$this->bbcode_second_pass_code('', '
echo "[[ -t 0 ]] || sleep 10" > /etc/netctl/interfaces/eth0
chmod 755 /etc/netctl/interfaces/eth0
')
This did not resolve this issue. I even waited for 10+ min to see if it would ever pull an IP. I'm really at a loss now and I don't know where to go from here. Can anyone offer some recommendations? I would really like to get this working.