Setting up Samba on Ubuntu 10.04 LTS (Lucid Lynx)
Christopher Chan
christopher.chan at bradbury.edu.hk
Tue Jul 13 03:31:39 UTC 2010
On Tuesday, July 13, 2010 10:06 AM, Tom Rue wrote:
> Here is netstat -nlpt for Persephone and Aphrodite. I am a bit surprised
> to see Apache running on the the first one. I did not intentionally
> install it. Thanks.
>
>
>
> tom at persephone:~$ sudo netstat -nlpt
> [sudo] password for tom:
> Active Internet connections (only servers)
> Proto Recv-Q Send-Q Local Address Foreign Address
> State PID/Program name
> tcp 0 0 0.0.0.0:80 <http://0.0.0.0:80>
> 0.0.0.0:* LISTEN 2074/apache2
> tcp 0 0 192.168.122.1:53 <http://192.168.122.1:53>
> 0.0.0.0:* LISTEN 1645/dnsmasq
> tcp 0 0 0.0.0.0:4949 <http://0.0.0.0:4949>
> 0.0.0.0:* LISTEN 1167/munin-node
> tcp 0 0 127.0.0.1:631 <http://127.0.0.1:631>
> 0.0.0.0:* LISTEN 1986/cupsd
> tcp 0 0 127.0.0.1:5432 <http://127.0.0.1:5432>
> 0.0.0.0:* LISTEN 1617/postgres
> tcp6 0 0 :::21 :::*
> LISTEN 2015/proftpd: (acce
> tcp6 0 0 ::1:631 :::*
> LISTEN 1986/cupsd
> tcp6 0 0 ::1:5432 :::*
> LISTEN 1617/postgres
>
No samba running here nor are there any shared defined. I suspect you
need to uncomment the line below...or start samba. Change it to
something appropriate. 192.168.122.1 is most probably NOT it.
; interfaces = 127.0.0.0/8 eth0
>
>
> [sudo] password for tom:
> Active Internet connections (only servers)
> Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
> tcp 0 0 192.168.122.1:53 <http://192.168.122.1:53> 0.0.0.0:* LISTEN
> 1301/dnsmasq
> tcp 0 0 192.168.100.1:53 <http://192.168.100.1:53> 0.0.0.0:* LISTEN
> 1269/dnsmasq
> tcp 0 0 0.0.0.0:22 <http://0.0.0.0:22> 0.0.0.0:* LISTEN 862/sshd
> tcp 0 0 127.0.0.1:631 <http://127.0.0.1:631> 0.0.0.0:* LISTEN 1239/cupsd
> tcp 0 0 0.0.0.0:8840 <http://0.0.0.0:8840> 0.0.0.0:* LISTEN 1828/opera
> tcp 0 0 0.0.0.0:2317 <http://0.0.0.0:2317> 0.0.0.0:* LISTEN 1196/gwd
> tcp6 0 0 :::22 :::* LISTEN 862/sshd
> tcp6 0 0 ::1:631 :::* LISTEN 1239/cupsd
> tcp6 0 0 :::445 :::* LISTEN 785/smbd
> tcp6 0 0 :::139 :::* LISTEN 785/smbd
> tom at aphrodite:~$
>
samba running on Aphrodite. No shares defined too (okay...cdrom and
printers...) and nmbd not running...I'd suggest choosing either one to
run a wins service and then setting up dhcp to inform windows boxes to
use the wins service for name resolution.
More information about the ubuntu-users
mailing list