|
Post by getmythe on Mar 28, 2007 5:09:19 GMT 7
Zeroconf service discovery for the N2100. Finding your Thecus on the network has never been this easy! Grab AVAHI from www.freeside.ch/thecus/N2100-AVAHI-1.0.00.tgzhave fun getmythe PS: A Big Thank You to dbridges for his excellent article on how to recover from a bad config!
|
|
|
Post by dbridges on Mar 28, 2007 5:27:00 GMT 7
PS: A Big Thank You to dbridges for his excellent article on how to recover from a bad config! ;D ;D ;D ;D ;D ;D ;D ;D ;D It's a shame that it's something you never want to know how to do
|
|
|
Post by getmythe on Mar 28, 2007 15:36:15 GMT 7
While working on the AVAHI module I made one tiny mistake. My intention was to append a user/group called avahi to the password and groups files. Instead of adding the user I replaced the entire password file. As a result I had a non-working device. It took an entire evening to get things up and running again. thx again! getmythe
|
|
|
Post by lewinb on Apr 5, 2007 10:48:43 GMT 7
Hi, I have to thank the author for this module... I've been hoping for this one for a while!
I'd just like a bit of clarification on a couple of points.
I have installed and enabled avahi, and it is indeed broadcasting the web interface. However, when I attempt to go to it (in Camino, using the "Local Network Services" menu option), it tries to go to http://n2100.local./ ... It of course says that it failed to connect. I remembered that I have set the n2100 to listen for web http requests on port 8089 instead of 80. So if I change the address to http://n2100.local.:8089/ it works.
It sounds like maybe this implementation is not sophisticated enough to adapt... Anyone know how to change the default port(s) it advertises?
Second, the main use I have for this is advertising the afp server without relying on appletalk. For example, all of my macs advertise their afp service without having appletalk enabled. I have several computers that I routinely change from wireless to ethernet. The problem is having to manually switch appletalk from ethernet to airport (or vice versa) to get the n2100 to show up. So, is there a way to set avahi to advertise the afp server in addition to the web server?
What is the name of the conf file, and where is it stored? Would it be possible to get some n2100 specific instructions/documentation? I looked at the page for avahi in general and it was NO help to me. The way the description reads, it almost makes it sound like avahi enables the n2100 to SEE zero-conf services, instead of broadcasting its own services. Surely we can do better than this?
Is there a way to indicate whether this will work with ONLY 2.1.05, or ALSO 2.1.03? I have 2.1.03 installed, but I can't tell if it's not functioning properly because of the firmware version, or because there's some setting I need to change.
Many thanks lewinb
|
|
|
Post by getmythe on Apr 5, 2007 20:22:58 GMT 7
Hi lewinb, the current implementation does indeed not look at which port you are running your webserver on. That's not to difficult to do though. I did not anticipate that anybody would change the standard http port numbers Just need to extract the information from one of the n2100 database files. I'll have a look at it asap. What I do not understand at all is the whole afp story. The service is announced as well. Please have a look at the 'My Network' directory within 'Networks'. You may need to wait a few seconds before 'My Networks' shows up. Inside you should see a link for afp most likely called n2100 in your case. What's with this story about switching from wireless to wired? I'm totally lost with that one In case you would like to digg into the module itself, fire up SSH and goto directory /raid/module/AVAHI. The service enabler script is in the shell directory and is called services. It's checks what services should be announced and modifies the servies template files found in directory system/etc/avahi/services. The templates themselfs are hidden, e.g. their name starts with a dot. The enabled services are visible.; the dot has been removed and some parameters have been filled in. Again, have a look at shell/services to find out exactly what is going on. cheers getmythe
|
|
|
Post by getmythe on Apr 6, 2007 4:28:59 GMT 7
AVAHI has been updated!
Service announcements for both ftp and http will now match the network settings done in the web GUI, e.g. the port numbers will be correct. Download module version 1.0.01 from the Thecus Wiki or from my own site.
getmythe
|
|
jaymz
New Member
Posts: 2
|
Post by jaymz on Feb 6, 2008 22:58:49 GMT 7
Any chance of porting this to the N5200/N5200 Pro?
|
|
|
Post by getmythe on Feb 8, 2008 1:09:40 GMT 7
Porting should be possible. Will require a couple of changes and a good knowledge of the inner workings of the N5200 plus all the modules made for it. The module itself is very simple, it checks what services and which modules are enabled and then activates the corresponding service files.
|
|