I cannot create Samba users on my CDMA supported firmware.
On WIndows it does not ask for authentification, but under MacOSX leopard, I need user & password
How can I create user & password ?
Apparently you (the original poster) are trying to use it through Samba, which I haven't got working.
However I wanted to use some more direct mechanism that wasn't limited by Windows conventions, and got some connection with FTP from the Finder: Command-K and use "ftp://192.168.1.1/" will mount the drive. The problem is that in my case it disconnects after a while.
I also tried NFS, and got it working only unreliably, with disconnections after a while like with FTP. Apart from that, you have to mount it from the shell with a rather ugly command.
Just now I got AFP working through netatalk, which is why I'm writing this reply.
The problem I had was that it did not accept my login.
In the log files I've seen that Netatalk (afpd) was refusing to let the root user to login, so I created a new user, set the password, and with those it works.
I'm using Oleg's firmware, version 1.9.2.7-8 (the current one as I write this), and installed the package netatalk.
I'm afraid this is not easy to do, so perhaps it's not what you want, but if it works I think it's the best way to connect from MacOS X.
What I did was to set things up as specified in this thread:
http://wl500g.info/showthread.php?t=10307
Once you can install things in /opt (your USB hard disk) with ipkg, you can install netatalk.
There is more information about this here:
http://wl500g.info/showthread.php?t=...light=netatalk
http://netatalk.sourceforge.net/2.0/...default.5.html
I removed avahi as it did not work anyway and it caused some conflicts because it needs the library libssp.so.0, which AFAIK can only be installed with the package buildroot that conflicts with other packages I wanted.
I guess that it would work after solving the main issue as explained below.
Apparently Netatalk only supports plain text passwords, and Leopard requires encrypted passwords:
http://www.blackmac.de/archives/58-M...OS-X-10.5.html
As noted there, the way to make Leopard accept plain text passwords is:
I would really prefer if this was not necessary. You might want to try first without it, and if it works please tell us here.Code:defaults write com.apple.AppleShareClient afp_cleartext_allow -bool true
I just tried to set it back to disallow plain text passwords with:
and it seems to work fine. So if you try to follow this, please try first without setting this property and tell me if it worked.Code:defaults write com.apple.AppleShareClient afp_cleartext_allow -bool false
The final thing I had to do was to create the new user that could log in through AFP.
For that I installed the package adduser, but since /home is read-only anyway, it could be enough to add a line to /etc/passwd like:
and then set the password with "passwd normaluser" from root. The user name "normaluser" is of course arbitrary: you can use other name and it would work the same.Code:normaluser:x:1000:1000:Linux User,,,:/home/normaluser:/bin/sh
If you want the volume to mount a specific directory of your hard disk instead of the home directory of the user (which I think would not work at all as the directory does not exist), replace the last line (the tilde) of the file /opt/etc/netatalk/AppleVolumes.default with:
You can put any volume name you want instead of "Disco".Code:#~ /tmp/harddisk "Disco"
Now, I can mount my USB disk at /tmp/harddisk by hitting Command-K in the Finder, using "afp://192.168.1.1/" as the server address, and logging in as "normaluser".
I cannot create Samba users on my CDMA supported firmware.
On WIndows it does not ask for authentification, but under MacOSX leopard, I need user & password
How can I create user & password ?
I want to run a rendezvous/bonjour proxy on wl-500gp so I can connect from my home itunes to the itunes share running in my office (something like this but on asus wl-500gp instead on PC or Mac).
Do anyone know about the mDNSProxy/rendezvous/bonjour package for ASUS wl-500gp with olegs firmware?
Updated Jun 2008
I found the package avahi. But it does not work with my Asus. You can try to install it
but I end up with the error message
I found this solution but avahi is still failing. I installed buildroot, created missing user avahi and finally obtained following error:Code:ipkg avahi /opt/sbin/avahi-daemon: can't load library 'libssp.so.0'
But my ipkg does not know nss-mdns: I found it by http://ipkgfind.nslu2-linux.org/ but not in the oleg's optware section.Code:avahi-daemon Found user 'avahi' (UID 1002) and group 'avahi' (GID 1002). Successfully dropped root privileges. avahi-daemon 0.6.22 starting up. WARNING: No NSS support for mDNS detected, consider installing nss-mdns! dbus_bus_get_private(): Failed to connect to socket /opt/var/run/dbus/system_bus_socket: Connection refused WARNING: Failed to contact D-Bus daemon. [admin@my root]$ avahi-daemon --debug -D Timeout reached while wating for return value Could not receive return value from daemon process.
Last edited by tlustoch; 20-06-2008 at 16:22. Reason: update
I've installed the package netatalk, which provide the binary afpd. But when I try to run this binary, I get the message -sh: afpd: not found. Even if I use the full path, I get the same message. This happens with almost all binaries provided by this package.
Anybody knows what is the problem and/or hot to solve it?
Thanks.
Last edited by Rui_Carlos; 27-07-2008 at 14:03.
You can try this: http://hupio.wordpress.com/2008/04/2...windows-share/
I'm using Samba, and it works!
PS: I've tried AFP, but I couldn't put Netatalk working :\
just follow this post http://wl500g.info/showpost.php?p=15955&postcount=5
working for me (read/write allowed on EXT3) I have the same HD
I'm running out of ideas here, so I have to ask, even though it may has been already discussed before (I extensively searched the forum, but sorry, couldnt find anything).
I have installed oleg's firmware and followed pretty much wengi's tutorial to get everything beautifully running on my asus router, incl transmission and netatalk (for TimeMachine backups). So far, so good.
However, all https sites, are incredibly slow or even timeout, but on the other hand, I do not have any problems whatsoever with any other site. (This is particular annoying for gmail, etc.)
First I thought about a port problem, but I can't figure out (or prob I don't understand it at all) any reason why particularly secure sites are not working? https uses 443, right? Any collisions possible with transmissiond? Though I'm using transmissiond -p 65534... etc.
So can this be related? Or am I just stupid?
Any help, any ideas? I'm willing to give any further information on my settings, if needed.
I would really appreciate any feedback, I'm getting nuts here Thanks a lot!
Thanks for your reply. But I dont think anything is wrong with the settings of my browser, since this problem occurs on various different computers and browsers (and with the same settings, in another network, everything is fine).
Somehow, I believe, I tracked it down to the transmission client being the cause of this. If transmission is 'paused' or stopped, speed is up to normal.
That maybe helps to access https sites, but I still don't understand it. It simply makes NO SENSE !!!
I could understand, if the whole network would slow down, due to heavy CPU consumption on the router (which is NOT the case) or something like that. But why only https sites?
... like I said: I'm getting crazy!
Does transmission-daemon consume all available bandwidth? Does it help to reduce the maximum upload/download rate of transmission?
Did you try do use a different port for transmission?
Maybe you should take a look at the wan traffice with tcpdump, with transmission running and stopped.
Try lowering the MTU on your pc from 1500 to 1400.
I had the same issue (https timing out) a while ago, and in my case there were a few bad routers between me and the rest of the world.
These routers dropped anything bigger than 1400.
(you can check it with mturoute.exe -t)
i have the same problem and i fixed this morning starting service "dbus" :
avahi-daemonCode:root@OpenWrt:~# /opt/etc/init.d/S20dbus start
and then i start my daapd serverCode:root@OpenWrt:~# avahi-daemon Found user 'avahi' (UID 1000) and group 'avahi' (GID 1000). Successfully dropped root privileges. avahi-daemon 0.6.24 starting up. WARNING: No NSS support for mDNS detected, consider installing nss-mdns! Loading service file /opt/etc/avahi/services/daapd.service. Loading service file /opt/etc/avahi/services/sftp-ssh.service. Loading service file /opt/etc/avahi/services/ssh.service. Joining mDNS multicast group on interface br-lan.IPv4 with address 192.168.1.200. New relevant interface br-lan.IPv4 for mDNS. Network interface enumeration completed. Registering new address record for 192.168.1.200 on br-lan.IPv4. Registering HINFO record with values 'MIPS'/'LINUX'. Server startup complete. Host name is OpenWrt.local. Local service cookie is 4021731059. Service "OpenWrt" (/opt/etc/avahi/services/ssh.service) successfully established. Service "SFTP File Transfer on OpenWrt" (/opt/etc/avahi/services/sftp-ssh.service) successfully established. Service "OpenWrt" (/opt/etc/avahi/services/daapd.service) successfully established.
Code:root@OpenWrt:~# mt-daapd -c /etc/mt-daapd.conf
sorry for my english, i´m spanish
Last edited by DVB; 03-02-2009 at 19:41.
For those who want to start avahi when the device start I have wrote this little startup script.
Create startup script by typing:
and paste this:nano -w /opt/etc/init.d/S90avahi-daemon
Save the file by closing nano.#!/bin/sh
#
# Startup script for avahi-daemon
case $1 in
start)
/opt/sbin/avahi-daemon -D
;;
stop)
/opt/sbin/avahi-daemon -k
;;
restart)
$0 stop
$0 start
;;
*)
echo "Usage: $0 (start|stop|restart)"
exit 1
esac
Make it executable and start it:
Avahi is now running, you can check the process with:chmod 755 /opt/etc/init.d/S90avahi-daemon
/opt/etc/init.d/S90avahi-daemon start
If you have follow the part 5 of this How to, the post-mount script will automaticaly call this script at start.ps ax | grep avah[i]
Rather than have Your Mac send unencrypted passswords, edit your samba config to allow encrypted passwords.
$ nano /etc/smb.conf
$ cat /etc/smb.conf
[global]
interfaces = br0
bind interfaces only = yes
workgroup = Workgroup
server string = WLHDD
guest account = nobody
security = share
browseable = yes
guest ok = yes
guest only = yes
log level = 1
max log size = 100
encrypt passwords = yes
preserve case = yes
short preserve case = yes
[share]
path = /opt/share/share
writable = yes
force user = admin
$ flashfs save && flashfs commit && flashfs enable
@Harald,
may you show, how to install/configure AFP for usage with mac?
I am using SMB/CIFS, and had no problem until now. It is only slow :-)
Thanks
I tried this, but got this error:
May s.o. pleeeaase help me :-)Code:[Du@PooWL700gE /]$ sudo ipkg install netatalk Installing netatalk (2.0.3-5) to /opt/... Downloading http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable/netatalk_2.0.3-5_mipsel.ipk Installing libdb (4.2.52-3) to /opt/... Downloading http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable/libdb_4.2.52-3_mipsel.ipk Configuring libdb Configuring netatalk Configuring vsftpd You'll need to add line like echo "ftp stream tcp nowait root /opt/sbin/vsftpd /opt/etc/vsftpd.conf" >>/etc/inetd.conf to your /unslung/rc.xinetd file -- see the wiki at http://www.nslu2-linux.org for more info postinst script returned status 1 ERROR: vsftpd.postinst returned 1 Successfully terminated.
THANK U!
EDIT: Got it working, but how to delete this posting?
Last edited by pooz; 06-11-2009 at 15:25.