Share on Sidebar

Peder

Hobbit
Joined
Oct 16, 2006
Messages
9,359
Well i don't even know how to explain this so i don't have an idea how to search for it but maybe someone can help me.

I have a Ubuntu Server, now it used to show under Shared in my sidebar in finder but it no longer does, and it shows like a mac screen and not a windows screen,

What happened was i formatted my ubuntu server, but for some reason i always have to connect to it via the GO menu on finder.

Hope someone can help me :/
Peder
 

koffiejunkie

Executive Member
Joined
Aug 23, 2004
Messages
9,588
You're probably missing the avahi-daemon package. So the following on the ubuntu box:

Code:
sudo apt-get install avahi-daemon libavahi-compat-libdnssd1

Your libdnssd may have a different version (I'm on Debian). Use 'sudo apt-cache search avahi | grep -i bonjour' to find out. Then you should have a file called something like /etc/avahi/services/samba.service or /etc/avahi/services/smbd.service

Code:
<?xml version="1.0" standalone='no'?><!--*-nxml-*-->
<!DOCTYPE service-group SYSTEM "avahi-service.dtd">

<service-group>
    <name replace-wildcards="yes">%h</name>
    <service>
        <type>_smb._tcp</type>
        <port>139</port>
    </service>
<service>
<type>_device-info._tcp</type>
<port>0</port>
<txt-record>model=Xserve</txt-record>
</service>

This assumes that 1. You're using Samba, and 2. your samba is correctly configured.
 

Peder

Hobbit
Joined
Oct 16, 2006
Messages
9,359
samba must be correctly configured cause it was working before but now refuses lol.

And yeah i am using samba.

What do i do to make windows pc's bonjour capable?

Much Thanks
Peder
 

koffiejunkie

Executive Member
Joined
Aug 23, 2004
Messages
9,588
Do you know that Samba is still working correctly? You can, in Finder, click Go --> Connect To Server and type smb://IP_OF_SAMBA and see if it connects normally.

I have no idea about windows.
 

Peder

Hobbit
Joined
Oct 16, 2006
Messages
9,359
yeah it connects on the go menu but it just isn't as convenient
 

Peder

Hobbit
Joined
Oct 16, 2006
Messages
9,359
You're probably missing the avahi-daemon package. So the following on the ubuntu box:

Code:
sudo apt-get install avahi-daemon libavahi-compat-libdnssd1

Your libdnssd may have a different version (I'm on Debian). Use 'sudo apt-cache search avahi | grep -i bonjour' to find out. Then you should have a file called something like /etc/avahi/services/samba.service or /etc/avahi/services/smbd.service

Code:
<?xml version="1.0" standalone='no'?><!--*-nxml-*-->
<!DOCTYPE service-group SYSTEM "avahi-service.dtd">

<service-group>
    <name replace-wildcards="yes">%h</name>
    <service>
        <type>_smb._tcp</type>
        <port>139</port>
    </service>
<service>
<type>_device-info._tcp</type>
<port>0</port>
<txt-record>model=Xserve</txt-record>
</service>

This assumes that 1. You're using Samba, and 2. your samba is correctly configured.

I can;t find that file (the smb one):/ damn
 
Top