由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Hardware版 - 有没有ARCHLINUX SAMBA 装在 POGOPLUG上的教程?
相关主题
Pogoplug E02挺难搞?Pogoplug最方便的安装是squeezePLUG
pogoplug到了Pogoplug破解装ArchLinux后只能读,不能写
dockstar上架设openVPN(适合新手)Pogoplug上运行Asterisk暴死是什么原因
求助: pogo无法启动POGOPLUG恢复后的root密码
pogoplug 上的archlinuxarm 和debian的速度。前几天跟风抢的pogoplug pink到了
你们的pogoplug load是多少?Pogoplug Pro 不能启动
Pogoplug E02: arch or debian?pogo 的一个简单的问题
windows 8不能连接sambapogoplug 到底用多少电阿?
相关话题的讨论汇总
话题: samba话题: ssh话题: pogoplug话题: usb话题: linux
进入Hardware版参与讨论
1 (共1页)
s***d
发帖数: 960
1
ARCHLINUX 按照以下步骤装成了
Pogoplug v2 (Pink/Gray)
Overview
Installation
VERIFY YOUR MODEL NUMBER! These instructions only apply to models POGO-
E02 and POGO-E02G.
These instructions will void your warranty. While every precaution is
taken to ensure nothing bad happens, all actions are at your own risk.
my.pogoplug.com, the mobile applications, and the desktop Pogoplug
connector will no longer work.
With the device on and online, attempt to SSH to the IP the device
received through DHCP. If you are unable to SSH, register and enable SSH
through my.pogoplug.com. The default login (unless changed through my.
pogoplug.com) is root/ceadmin.
Stop the Pogoplug software, so it doesn't interfere with the install
process:killall hbwd
You only need to kill the Pogoplug service the first time you SSH in.
Running the installer in the following steps disables it completely.
While connected via SSH to your plug, copy, paste, and run the following
commands to download a bootloader that can boot from USB drives:
cd /tmp wget http://jeff.doozan.com/debian/uboot/install_uboot_mtd0.sh chmod +x install_uboot_mtd0.sh ./install_uboot_mtd0.sh
After the new bootloader is installed, you will need to use fdisk to
partition a storage device. Plug in a 1GB or bigger USB drive. REMOVE ALL
OTHER DRIVES. Move everything you need off of the Arch Linux ARM drive and
back it up. Everything on the USB drive with be deleted and replaced with
Arch Linux ARM.
Start fdisk on the USB drive:
/sbin/fdisk /dev/sda
At the fdisk prompt, delete old partitions and create a new one:
Type o. This will clear out any partitions on the drive.
Type p to list partitions. There should be no partitions left.
Now type n, then p for primary, 1 for the first partition on the
drive, and then press ENTER, accepting default values.
Exit by typing w.
Now create the ext3 filesystem:
wget http://archlinuxarm.org/os/pogoplug/mke2fs chmod 755 mke2fs ./mke2fs -j /dev/sda1 mkdir usb mount /dev/sda1 usb
Download and install Arch Linux ARM:
cd usb wget http://archlinuxarm.org/os/ArchLinuxARM-armv5te-latest.tar.gz tar -xzvf ArchLinuxARM-armv5te-*.tar.gz # This will take a long time rm ArchLinuxARM-armv5te-*.tar.gz sync # Takes a while when using a flash drive
Clean up and reboot. Cross your fingers and hope for the best.
cd .. umount usb /sbin/reboot
The SSH key of your device will be different, so you need to tell Mac OS
X or Linux to remove it from ~/.ssh/known_hosts before using SSH again:
ssh-keygen -R 192.168.1.123 # Use your device's IP
Log back in after your Pogoplug reboots using username root and password
root.
s***d
发帖数: 960
2
SAMBA按照这个比较新的攻略装,第二步就出错pacman -Syu –ignore glibc,cur。 装
完后老是重启不了。而且webmin也上不了。帮帮我这个LINUX NEWBIE.
1. Always remember to change the root password : passwd root
2. Install the latest updates -
pacman -Syu –ignore glibc,cur
pacman -Sd binutils gcc gcc-libs
pacman -Rs pcmciautils [remove this package]
pacman -Su
- further updates for the system would just require a ” pacman -Syu ” and
you’ll be getting the latest updates =).
3. Setting the hostname for your server (I called mine the slave-server
hahaha)
echo slave-server> /etc/hostname
nano /etc/hosts
Add “127.0.0.1 slave-server localhost”
Add “::1 slave-server localhost”
nano /etc/rc.conf
You could change it via - /etc/hostname .
Change hostname to “slave-server”
reboot
4. Getting Webmin up and running
pacman -S webmin perl-net-ssleay
nano /etc/webmin/miniserv.conf (change your own IP address under the
ALLOW)
done. Change appropriate settings for automatic boot up during startup
of the server.
5. Remember to set the time zone/time settings at Webmin.
6. Samba
pacman -Sy samba avahi
cp /etc/samba/smb.conf.default /etc/samba/smb.conf
reboot
7. Creating a new user for Samba
useradd sambauser
8. Login to Webmin and configure the user with Samba.
9. Configure auto mounting of USB drives
pacman -S udev-automount
http://yltan.com/blog/part-2-setting-pogoplug-e02-webmin-samba-

【在 s***d 的大作中提到】
: ARCHLINUX 按照以下步骤装成了
: Pogoplug v2 (Pink/Gray)
: Overview
: Installation
: VERIFY YOUR MODEL NUMBER! These instructions only apply to models POGO-
: E02 and POGO-E02G.
: These instructions will void your warranty. While every precaution is
: taken to ensure nothing bad happens, all actions are at your own risk.
: my.pogoplug.com, the mobile applications, and the desktop Pogoplug
: connector will no longer work.

z*********e
发帖数: 10149
3
danielfeng说折腾archlinux有10倍的exp bonus....
a9
发帖数: 21638
4
curl吧?

and
startup
POGO-
is

【在 s***d 的大作中提到】
: SAMBA按照这个比较新的攻略装,第二步就出错pacman -Syu –ignore glibc,cur。 装
: 完后老是重启不了。而且webmin也上不了。帮帮我这个LINUX NEWBIE.
: 1. Always remember to change the root password : passwd root
: 2. Install the latest updates -
: pacman -Syu –ignore glibc,cur
: pacman -Sd binutils gcc gcc-libs
: pacman -Rs pcmciautils [remove this package]
: pacman -Su
: - further updates for the system would just require a ” pacman -Syu ” and
: you’ll be getting the latest updates =).

s***g
发帖数: 495
5
no pain, no gain.

【在 z*********e 的大作中提到】
: danielfeng说折腾archlinux有10倍的exp bonus....
s***d
发帖数: 960
6
大家怎么了?有没有建设性的建议?
难道archlinux装个samba很难么?
w***n
发帖数: 9040
s***d
发帖数: 960
8
你这个LINK我早就SEARCH过了,有安装ARCH LINUX ARM的教层,没有按装SAMBA的。

【在 w***n 的大作中提到】
: http://archlinuxarm.org/
i*******y
发帖数: 111
9
##Samba Server Setup:
##SSH into pogoplug, then install Samba server software
pacman -S samba
## create default smb.conf file required by samba
cp /etc/samba/smb.conf.default /etc/samba/smb.conf
## add a linux user for samba (e.g. named as sambauser)
useradd -m -g users -s /bin/bash sambauser
## change password for sambauser
passwd sambauser
## add this user to samba
smbpasswd -a sambauser
## enable auto start of samba on reboot
systemctl enable smbd.service
##log into webmin to set up and change configuration

【在 s***d 的大作中提到】
: 你这个LINK我早就SEARCH过了,有安装ARCH LINUX ARM的教层,没有按装SAMBA的。
s***d
发帖数: 960
10
谢谢,回家以后试试

【在 i*******y 的大作中提到】
: ##Samba Server Setup:
: ##SSH into pogoplug, then install Samba server software
: pacman -S samba
: ## create default smb.conf file required by samba
: cp /etc/samba/smb.conf.default /etc/samba/smb.conf
: ## add a linux user for samba (e.g. named as sambauser)
: useradd -m -g users -s /bin/bash sambauser
: ## change password for sambauser
: passwd sambauser
: ## add this user to samba

相关主题
你们的pogoplug load是多少?Pogoplug最方便的安装是squeezePLUG
Pogoplug E02: arch or debian?Pogoplug破解装ArchLinux后只能读,不能写
windows 8不能连接sambaPogoplug上运行Asterisk暴死是什么原因
进入Hardware版参与讨论
s***d
发帖数: 960
11
请问有没有要设置webmin的地方?

【在 i*******y 的大作中提到】
: ##Samba Server Setup:
: ##SSH into pogoplug, then install Samba server software
: pacman -S samba
: ## create default smb.conf file required by samba
: cp /etc/samba/smb.conf.default /etc/samba/smb.conf
: ## add a linux user for samba (e.g. named as sambauser)
: useradd -m -g users -s /bin/bash sambauser
: ## change password for sambauser
: passwd sambauser
: ## add this user to samba

i*******y
发帖数: 111
12
装samba之前没有,装完了看这个:
http://www.webmin.com/samba-howto.html

【在 s***d 的大作中提到】
: 请问有没有要设置webmin的地方?
y***g
发帖数: 1492
13
恩 webmin是个好东西
s***d
发帖数: 960
14
webmin装好了,但是SERVER下面只有read user mail,没有samba啊

【在 i*******y 的大作中提到】
: ##Samba Server Setup:
: ##SSH into pogoplug, then install Samba server software
: pacman -S samba
: ## create default smb.conf file required by samba
: cp /etc/samba/smb.conf.default /etc/samba/smb.conf
: ## add a linux user for samba (e.g. named as sambauser)
: useradd -m -g users -s /bin/bash sambauser
: ## change password for sambauser
: passwd sambauser
: ## add this user to samba

i*******y
发帖数: 111
15
search一下samba就出来了

【在 s***d 的大作中提到】
: webmin装好了,但是SERVER下面只有read user mail,没有samba啊
s***d
发帖数: 960
16
现在出来了,但是根据http://www.webmin.com/samba-howto.html,第21步改了以后,出来这个Failed to restart Samba servers : /etc/rc.d/samba start failed
WINDOWS电脑里还是看不到SAMBA硬盘。
我重新到POGO里SSH运行这个systemctl restart smbd 也没有用。

【在 i*******y 的大作中提到】
: search一下samba就出来了
i*******y
发帖数: 111
17
Samba Windows File Sharing页面左上角的Module Config点开,
Command to start Samba servers改成Automatic

【在 s***d 的大作中提到】
: 现在出来了,但是根据http://www.webmin.com/samba-howto.html,第21步改了以后,出来这个Failed to restart Samba servers : /etc/rc.d/samba start failed
: WINDOWS电脑里还是看不到SAMBA硬盘。
: 我重新到POGO里SSH运行这个systemctl restart smbd 也没有用。

s***d
发帖数: 960
18
多谢,可以看到SAMBA SERVER 了, 但是WINDOWS 7 机器没法LOGIN。。。。not
accessible. You might not have permission to use this network resource.....
not enough storage is available to process this command
Windows 7 64bit.

【在 i*******y 的大作中提到】
: Samba Windows File Sharing页面左上角的Module Config点开,
: Command to start Samba servers改成Automatic

d******a
发帖数: 32122
19
卸arch, 装debian中

【在 s***d 的大作中提到】
: 多谢,可以看到SAMBA SERVER 了, 但是WINDOWS 7 机器没法LOGIN。。。。not
: accessible. You might not have permission to use this network resource.....
: not enough storage is available to process this command
: Windows 7 64bit.

b********k
发帖数: 173
20
mark
相关主题
POGOPLUG恢复后的root密码pogo 的一个简单的问题
前几天跟风抢的pogoplug pink到了pogoplug 到底用多少电阿?
Pogoplug Pro 不能启动终于搞定pogoplug了
进入Hardware版参与讨论
d******a
发帖数: 32122
21
这个问题到底解决没有?

【在 s***d 的大作中提到】
: 多谢,可以看到SAMBA SERVER 了, 但是WINDOWS 7 机器没法LOGIN。。。。not
: accessible. You might not have permission to use this network resource.....
: not enough storage is available to process this command
: Windows 7 64bit.

s***d
发帖数: 960
22
没有解决,个了一天,整个arch系统都crash了。现在在装squeezeplug

【在 d******a 的大作中提到】
: 这个问题到底解决没有?
d******a
发帖数: 32122
23
ftp吧

【在 s***d 的大作中提到】
: 没有解决,个了一天,整个arch系统都crash了。现在在装squeezeplug
s***d
发帖数: 960
24
我还是喜欢samba,已经初步成功了。squeezeplug很好用,适合我这个LINUX新手。

【在 d******a 的大作中提到】
: ftp吧
l********l
发帖数: 9452
25

神坐刚出来大家就讨论过了,直接上squeeze才是王道。

【在 s***d 的大作中提到】
: 我还是喜欢samba,已经初步成功了。squeezeplug很好用,适合我这个LINUX新手。
s***d
发帖数: 960
26
我神座就没动过,硬盘改ceid文件就可以共享

【在 l********l 的大作中提到】
:
: 神坐刚出来大家就讨论过了,直接上squeeze才是王道。

1 (共1页)
进入Hardware版参与讨论
相关主题
pogoplug 到底用多少电阿?pogoplug 上的archlinuxarm 和debian的速度。
终于搞定pogoplug了你们的pogoplug load是多少?
需求都是被创造的,升不升级呢?Pogoplug E02: arch or debian?
pogoplug pro用sata硬盘作naswindows 8不能连接samba
Pogoplug E02挺难搞?Pogoplug最方便的安装是squeezePLUG
pogoplug到了Pogoplug破解装ArchLinux后只能读,不能写
dockstar上架设openVPN(适合新手)Pogoplug上运行Asterisk暴死是什么原因
求助: pogo无法启动POGOPLUG恢复后的root密码
相关话题的讨论汇总
话题: samba话题: ssh话题: pogoplug话题: usb话题: linux