LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 08-10-2010, 02:14 AM   #1
bamdad
Member
 
Registered: May 2010
Location: budapest
Distribution: debian/ubuntu, slackware, bsd, (open)solaris
Posts: 40

Rep: Reputation: 15
avahi network browsing in gnomeslackbuild


a short question aimed at those using Gnome SlackBuild:

i've noticed a bug-ish thing, and i'd like to know if there's a workaround, or should i contact the developers.

basically, when i start up my Gnome session, if i open network:/// in Nautilus, it shows nothing (aside from the default 'Windows Network'). it _should_ show my Mac server on the network. i can see it in the Zeroconf Browser, and i can even connect to it using the 'Connect to Server..' menu entry. it's just that it fails to show up in the Network browser.

however, if i restart the Avahi daemon (/etc/rc.d/rc.avahidaemon), it shows up immediately.

i've tried disabling inet(d), since i use NetworkManager (i'm on a laptop), and tried moving the Avahi-related entry in rc.local to the bottom, to make it start after NetworkManager (just a guess), but nothing has changed. i'm in the group 'netdev', and 'avahi-daemon' shows up in 'ps aux'.

is anyone else noticing this?

thanks,
bamdad

Last edited by bamdad; 08-10-2010 at 02:17 AM.
 
Old 08-10-2010, 11:10 AM   #2
Keith Hedger
Member
 
Registered: Jun 2010
Location: Devon,UK
Distribution: Linux From Scratch, Slackware64,
Posts: 833

Rep: Reputation: 167Reputation: 167
What services have you got switched on in OSX? I've got "Personal File Sharing" "Windows Sharing" "Personal Web Sharing" and "Remote Login" activated and my mac shows up fine and runs under sftp, do you start up your mac before or after your linux box?
 
Old 08-10-2010, 11:41 AM   #3
bamdad
Member
 
Registered: May 2010
Location: budapest
Distribution: debian/ubuntu, slackware, bsd, (open)solaris
Posts: 40

Original Poster
Rep: Reputation: 15
thank you, but i think these things are irrelevant, since Fedora 13 (on my other laptop) doesn't have this issue. even Solaris SXCE (on the same machine as Slack) shows them automatically.

but to answer your questions, i have 'Personal File Sharing', 'Remote Login' and 'FTP Access' enabled on the OSX box. it's on 24/7 (yes, i tried restarting it). on other systems (and on Slackware after restarting rc.avahidaemon) the hostname of the server shows up in two instances, one for FTP and one for SFTP.

seriously, there's nothing wrong with that server. ;)
 
Old 08-10-2010, 12:13 PM   #4
bamdad
Member
 
Registered: May 2010
Location: budapest
Distribution: debian/ubuntu, slackware, bsd, (open)solaris
Posts: 40

Original Poster
Rep: Reputation: 15
update: i thought i might be experiencing a bug with Avahi that some Ubuntu users were noticing last year (i.e. sometimes it had to be restarted it manually, most of the times after resume), but i'm sure it's not that. the network is browsable after multiple suspend+resume cycles.

instead, restarting Xorg (and thus Gnome) seems to trigger the strange behaviour. i've even added a
Code:
%wheel  ALL=NOPASSWD: /etc/rc.d/rc.avahidaemon
%wheel  ALL=NOPASSWD: /usr/sbin/avahi-daemon
to my /etc/sudoers, and a startup script to issue
Code:
/usr/bin/sudo /etc/rc.d/rc.avahidaemon restart
but strangely enough i have to issue it twice (with a sleep 10 in between) for it to work. it works as a temporary fix, but this is really boggling me.

so strange..

Last edited by bamdad; 08-10-2010 at 12:14 PM.
 
  


Reply

Tags
avahi, gsb, network, shares


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
My GnomeSlackBuild don't recognize extensions Nacho Gentile Linux - Software 1 02-09-2009 10:58 AM
Network wont boot after Avahi upgrade Kubuntu 6.10 theGerbil Ubuntu 0 11-16-2006 05:36 PM
Network shortcuts and Browsing to Network ? AgentZ86 Linux - Networking 2 09-04-2006 11:47 AM
GnomeSlackBuild and FRG installation... ? noxious Slackware 5 04-12-2005 09:31 PM
Browsing the Network David@330 Linux - Newbie 4 09-10-2004 10:46 AM


All times are GMT -5. The time now is 12:16 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration