Ok admiting defeat, still cant see other machines on linux!?

Associate
Joined
5 Sep 2009
Posts
1,225
hi,

the same reason i keep crawling back to windows apart from steam games is that im completely stuck on network and sharing with linux. My ideal is to use a nice linux o/s as my NAS with shares for windows/ps3/xbox/mint laptop.

i wont go into all the different initial combinations of problems ive tried to eliminate like physical network and trying different O/S builds but a simple thing like seeing another pc on the network is something i cant do with linux.

and it should be simple! yet i see threads on the ubuntu bug fix section from late last year with no confirmed fix about no file and print sharing active and not having the packages needed in the first place to run it! y'know 2011 and this stuff is still wrong in the newest ubuntu !

https://bugs.launchpad.net/ubuntu/+source/gnome-user-share/+bug/536766

surley, given the multiple devices people have now at home it should be as intuitive as a windows 'homegroup' they concentrated on 'ubuntu one' before this!



enough waffling, my problem then...



2 x PC
2 x Linux Distro :
1 = Linux mint 9 all the latest updates with apache2.2 libs installed.
1 = Linux Ubuntu 11 beta all the latest updates with apache2.2 libs installed.

Both set to "HOME" workgroup in SMB.conf
Both smb4k installed
Both 'enabled file sharing' ; Login settings 'allow anonymous access' ;
permission 'allow other users apply changes' Ticked on Both machines (hence the link above to get here)

the main user folder 'shared files' is shared, although in permissions i haven’t as of yet delved into changing it to a samba share as i think i have other issues that come before this.

load SMB4K on both machines:

mounted shares = none (understandable perhaps)
Network search = nothing, manual entry doesnt work
network neighborhood = nothing, win7,lappy,ubuntu all on same IP range and workgroup

no visibility at all of any other linux machine ?

both can ping each other (win7 also ping able)

at one point in time windows 7 could be accessed by mint but apparently there was a windows update that broke this for win7 home prem users and a manual reg fix was needed which i tried and it didn’t like it.

now i can see the windows network on mint but i get failed to retrieve shares, furthermore on ubuntu i can see the windows network but it asks me for username and password with workgroup which is 100% correct but it doesn’t take the credentials??? next time i boot ubuntu the windows network is no longer visible.


surely, this cant be so hard? i must be missing something really simple, which i actually thought might just be the 'enable file and print sharing' which again should really be on as a default with Apache installed for smb4k

what a mess. microsoft know they are highly incompatible with other O/S`s on purpose and Linux network and sharing support is still too complex for the new / mid user.

:rolleyes:

ANY help appreciated.
 
Last edited:
ok will do..

GNU nano 2.2.6 File: /etc/samba/smb.conf Modified

;[homes]
; comment = Home Directories
; browseable = no

# By default, the home directories are exported read-only. Change the
# next parameter to 'no' if you want to be able to write to them.
; read only = yes

# File creation mask is set to 0700 for security reasons. If you want to
# create files with group=rw permissions, set next parameter to 0775.
; create mask = 0700

# Directory creation mask is set to 0700 for security reasons. If you want to
# create dirs. with group=rw permissions, set next parameter to 0775.
; directory mask = 0700

# By default, \\server\username shares can be connected to by anyone
# with access to the samba server. Un-comment the following parameter
# to make sure that only "username" can connect to \\server\username
# The following parameter makes sure that only "username" can connect
#
# This might need tweaking when using external authentication schemes
; valid users = %S

# Un-comment the following and create the netlogon directory for Domain Logons
# (you need to configure Samba to act as a domain controller too.)
;[netlogon]
; comment = Network Logon Service
; path = /home/samba/netlogon
; guest ok = yes
; read only = yes

# Un-comment the following and create the profiles directory to store
# users profiles (see the "logon path" option above)
# (you need to configure Samba to act as a domain controller too.)
# The path below should be writable by all users so that their
# profile directory may be created the first time they log on
;[profiles]
; comment = Users profiles
; path = /home/samba/profiles
; guest ok = no
; browseable = no
; create mask = 0600
; directory mask = 0700

[printers]
comment = All Printers
browseable = no
path = /var/spool/samba
printable = yes
guest ok = no
read only = yes
create mask = 0700

# Windows clients look for this share name as a source of downloadable
# printer drivers
[print$]

^G Get Help ^O WriteOut ^R Read File ^Y Prev Page ^K Cut Text ^C Cur Pos
^X Exit ^J Justify ^W Where Is ^V Next Page ^U UnCut Text ^T To Spell
 
i saw the homedirectories browsable = no

should that be yes?

also, im genuinely sorry for asking this dumb question but..

what is samba smb4k? also something called nautilus pops into my mind with file sharing.

what 'engine' or piece of software is absolutely required for file sharing across platform or even same platform to begin with? i had assumed that the O/S would have built in easy file and print sharing and a 3rd party app (smb4k) wasn’t needed unless you wanted an easy tree view better than the normal folder views within windows you usually get ?

sorry for asking but i cant use common sense and try to unearth what’s going on without a basic understanding of what component is required in order to run file and print sharing on linux? also why the need for apache2.2 if its that essential to file and print sharing why isn’t it installed as a default when everything else is?! seems bonkers

oops waffling again

btw the file above is the same as i use on my linux mint but i usually do a gkedit gedit command? does this make a difference to using a sudo nano statement

sorry im learning linux as i go along and i love it but its not as easy as it looks i havent read about the conf file settings towards the bottom like 'guest ok = no' etc.. some of them look like they will make the difference
 
Last edited:
i didn’t post the whole lot, another forum told me the command..

Load smb config files from /etc/samba/smb.conf
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
Processing section "[printers]"
Processing section "[print$]"
Loaded services file OK.
Server role: ROLE_STANDALONE
[global]
workgroup = HOME
server string = %h server (Samba, Ubuntu)
map to guest = Bad User
obey pam restrictions = Yes
pam password change = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
unix password sync = Yes
syslog = 0
log file = /var/log/samba/log.%m
max log size = 1000
dns proxy = No
usershare allow guests = Yes
panic action = /usr/share/samba/panic-action %d

[printers]
comment = All Printers
path = /var/spool/samba
create mask = 0700
printable = Yes
browseable = No

[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
phill@home-storage-UB11:~$ net usershare info --long
phill@home-storage-UB11:~$ smbtree
Enter phill's password:
HOME
\\HOME-STORAGE-UB1 home-storage-UB11 server (Samba, Ubuntu)
\\HOME-STORAGE-UB1\IPC$ IPC Service (home-storage-UB11 server (Samba, Ubuntu))
\\HOME-STORAGE-UB1\print$ Printer Drivers
phill@home-storage-UB11:~$ testparm -s
Load smb config files from /etc/samba/smb.conf
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
Processing section "[printers]"
Processing section "[print$]"
Loaded services file OK.
Server role: ROLE_STANDALONE
[global]
workgroup = HOME
server string = %h server (Samba, Ubuntu)
map to guest = Bad User
obey pam restrictions = Yes
pam password change = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
unix password sync = Yes
syslog = 0
log file = /var/log/samba/log.%m
max log size = 1000
dns proxy = No
usershare allow guests = Yes
panic action = /usr/share/samba/panic-action %d

[printers]
comment = All Printers
path = /var/spool/samba
create mask = 0700
printable = Yes
browseable = No

[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
phill@home-storage-UB11:~$

phill@home-storage-UB11:~$ smbtree

HOME
\\HOME-STORAGE-UB1 home-storage-UB11 server (Samba, Ubuntu)
\\HOME-STORAGE-UB1\IPC$ IPC Service (home-storage-UB11 server (Samba, Ubuntu))
\\HOME-STORAGE-UB1\print$ Printer Drivers
 
Back
Top Bottom