danpedron / snake-os

Automatically exported from code.google.com/p/snake-os
0 stars 1 forks source link

Nas samba won't work with lion 10.7 #186

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?
WLX 652 snake v1.3.2-20101130

Please provide any additional information below.

Please help me, try to connect in finder and get  "the version of server you 
are trying to connect to is not supported..."

Original issue reported on code.google.com by mike060...@googlemail.com on 29 Jul 2011 at 9:42

GoogleCodeExporter commented 9 years ago
I too am having this problem, I think apply has really done it this time and it 
is incredibly frustrating. Any support that can be provided would be amazing.

I can FTP which is fine but doesn't really help with what I need to do.

Original comment by TrTur...@gmail.com on 30 Jul 2011 at 2:34

GoogleCodeExporter commented 9 years ago
This problem is because osx 10.7 requires the share to be AFP3.3 (samba not 
supported anymore).

The temporary solution would be debian chroot + netatalk-2.2-beta4 (still 
havent tried it myself). The permanent solution would be a new SnakeOS version 
which includes netatalk 2.2 beta 4, so it may have AFP 3.3 shares support.

Original comment by vicentea...@gmail.com on 9 Aug 2011 at 8:38

GoogleCodeExporter commented 9 years ago
sounds good, I am completely new to this and don't no how to accomplish what 
you have just suggested.
Is there a tutorial that will show me how to do this....

Thanks

Original comment by mike060...@googlemail.com on 10 Aug 2011 at 10:42

GoogleCodeExporter commented 9 years ago
I'm having the same problem, is there any way to connect the Lion in Snakeos

Original comment by mvlbarce...@gmail.com on 2 Sep 2011 at 2:17

GoogleCodeExporter commented 9 years ago
i need to conne ct Lion to snakeOS too!

Original comment by christia...@gmail.com on 12 Sep 2011 at 12:37

GoogleCodeExporter commented 9 years ago
I'll try to get netatalk going on snake. Can't promise anything though.. I 
don't have a mac.

Original comment by stefansc...@googlemail.com on 12 Sep 2011 at 12:40

GoogleCodeExporter commented 9 years ago
im really struggling to install netatalk. is someone able to construct a 
step-by-step guide?

i chroot into debian but when i do an apt-get install netatalk is get stacks of 
errors saying that repositories cannot be found. i have updated my resolv.conf 
and i can ping all different places so the internet works i know that.

i went to the netatalk documentation and it has some dependencies so im not 
quite sure what to do.

Original comment by christia...@gmail.com on 13 Sep 2011 at 11:54

GoogleCodeExporter commented 9 years ago
First attempt at netatalk is attached. This only works if the disk uses the 
default label (sda1). I also have no way to test it properly. I didn'T have a 
whole lot success with the linux afp stuff but maybe macs handle it better.

to install:
ssh into the box

cd /usb/sda1/

wget "link-to-attached-file" -O netatalk.tar.gz # or use some other way to get 
the package onto the disk

tar -xf netatalk.tar.gz

cd netatalk

run "sh setup.sh" to install the service.

Alternatively run "sh setup-with-zeroconf.sh" to also enable a 
avahi/zeroconf/bonjour service. This should allow computers on the network to 
automagically detect the volume. Again .. no clue if it actually works.

setup.sh (or setup-with-zeroconf.sh) will overwrite the telnet service. 
Enabling the telnet service in the web interface should now start netatalk.
With some luck it should be possible to access the "snake" volume on the box.

If it really works save the config from the web interface, otherwise restart 
the box to revert the changes.

Original comment by stefansc...@googlemail.com on 14 Sep 2011 at 10:18

Attachments:

GoogleCodeExporter commented 9 years ago
i ran setup-with-zeroconf.sh and came up with some errors:
adduser: login 'nobody' is in use
adduser: login 'avahi' is in use
adduser: login 'messagebus' is in use
adduser: login 'netdev' is in use
mkdir: cannot create directory '/var/lock/': File exists

how to do i get around this?

Original comment by christia...@gmail.com on 15 Sep 2011 at 4:11

GoogleCodeExporter commented 9 years ago
Those are harmless. Did you run it twice?

The services need a few user accounts and new directories to run. The scripts 
create those. If they already exist the commands in the script will complain.

Original comment by stefansc...@googlemail.com on 15 Sep 2011 at 5:39

GoogleCodeExporter commented 9 years ago
yeah, i ran it twice. installed and sort of works. when it connected it came up 
and error:
"Something wrong with the volume's CNID DB, using temporary CNID DB 
instead.Check server messages for details. Switching to read-only mode." then i 
can't see any files. there are definitely files on the usb drive.

Original comment by christia...@gmail.com on 15 Sep 2011 at 10:03

GoogleCodeExporter commented 9 years ago
Oups.. forgot to mention that the shared files are under /usb/sda1/shared/. 
That's probably why nothing is showing up. I thought that'd be safer than 
sharing the whole disk. To change the path edit 
/etc/netatalk/AppleVolumes.default.

The cnid db thing refers to this: 
http://netatalk.sourceforge.net/2.2/htmldocs/configuration.html#CNID-backends.

Is there anything interesting in system->log in the web interface? Does the 
"ps" command list something like "/usb/sda1/netatalk/sbin/cnid_metad -s.."? 

Original comment by stefansc...@googlemail.com on 15 Sep 2011 at 4:38

GoogleCodeExporter commented 9 years ago
I want to try installing your attached file this weekend. A couple of questions:
1. Do I need to install chroot ?
2. Since I have a current backup will this script/install be able to see it 
under telnet?

Andre

Original comment by apowell...@gmail.com on 23 Feb 2012 at 7:31

GoogleCodeExporter commented 9 years ago
any chance to reinstall a smba capability in lion, withot hacking snake?

Original comment by rcc...@gmail.com on 28 Mar 2012 at 1:38

GoogleCodeExporter commented 9 years ago
Try the samba3 package. From what I understand lion supports newer versions of 
the protocol.
http://code.google.com/p/snake-os/downloads/detail?name=samba3-3.6.3-1.opk

Installation should be painless. But there are some minor gotchas. 
See here: http://code.google.com/p/snake-os/issues/detail?id=19#c26

#13
Sorry, didn't see your message.
1. nope
2. Maybe if you can copy it into the "shared" directory. I don't know.

Original comment by stefansc...@googlemail.com on 28 Mar 2012 at 6:51

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Anyone has success on this? Im trying to connect to the snake usint Lion! :(

Original comment by psych...@gmail.com on 7 Aug 2012 at 12:51

GoogleCodeExporter commented 9 years ago
Is there any solution to connect the Snake OS NAS from Lion OS?

Original comment by ranganat...@gmail.com on 10 Dec 2012 at 1:48

GoogleCodeExporter commented 9 years ago
Used the samba3 opk and now I can finally connect from OSX Mavericks - thank 
you so much snake

Original comment by georgeba...@gmail.com on 30 Jan 2014 at 10:07