Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 23 Oct 2014, 01:55
All times are UTC - 4
 Forum index » House Training » HOWTO ( Solutions )
Howto: Set up a simple (insecure) Windows compatible network
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 2 of 3 [42 Posts]   Goto page: Previous 1, 2, 3 Next
Author Message
disciple

Joined: 20 May 2006
Posts: 6449
Location: Auckland, New Zealand

PostPosted: Thu 28 Feb 2008, 02:37    Post subject:  

Please post your smb.conf
You might also like to mention which Puppy version you are running and which Samba package you installed
Back to top
View user's profile Send private message 
disciple

Joined: 20 May 2006
Posts: 6449
Location: Auckland, New Zealand

PostPosted: Thu 28 Feb 2008, 02:59    Post subject:  

this SAMBA troubleshooting guide says
Quote:
A message that warns of an invalid or bad network name could mean that the tmp service on the Samba server isn't correctly configured.

I have no idea what the tmp service is, but do you actually want to have to log in with a user name and password?
Back to top
View user's profile Send private message 
lurahxp

Joined: 28 Nov 2007
Posts: 17
Location: indonesia, jawa tengah,jawa barat

PostPosted: Sat 01 Mar 2008, 08:16    Post subject: ok.i will post samba.conf  

i wil post samba.conf
sorry i can't read this forum quickly and then practice because i don't have acces internet.ok thanks
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger 
lurahxp

Joined: 28 Nov 2007
Posts: 17
Location: indonesia, jawa tengah,jawa barat

PostPosted: Sun 02 Mar 2008, 13:27    Post subject: my smb.conf
Subject description: stil can't connect
 

after i post my error, i try change password root . then my puppy when booting asking pasword. i dont know pasword. so i try instal fresh pupy
1. i instal samba 3.0.25b
2. i copy to rc.samba to /lib ( i foregt where i get this information)
3. this my smb.conf


[GLOBAL SECTION]

workgroup = HOME
server string = Samba Server
security = share
server signing = no
paranoid server security = no
read only = no
case sensitive = no
restrict anonymous = no
netbios name = PUPPYPC
max protocol = NT
socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192
domain master = no
prefered master = no
dns proxy = no
ldap ssl = no

[puppypc section]

path = /
guest ok = yes
writable = yes
force user = root
browseable = yes

[sharedstuff section]

Path = /sharedstuff
guest ok = yes
writable = yes
force user = root
browseable = yes

i try type
# /etc/rc.d/rc.samba start
Starting Samba: /usr/sbin/smbd -D
/usr/sbin/smbd: error while loading shared libraries: libdm.so.0: cannot open shared object file: No such file or directory
/usr/sbin/nmbd -D

then i type (i forget where i get this way)

# ln -s /lib/libddm.so.0.0.4 /lib/libdm.so.0
ln: creating symbolic link `/lib/libdm.so.0': File exists
#

please help me Smile because i very newbi
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger 
disciple

Joined: 20 May 2006
Posts: 6449
Location: Auckland, New Zealand

PostPosted: Mon 03 Mar 2008, 05:25    Post subject:  

OK, firstly is your libdm problem sorted out?
If you still get that error message, browse to /lib and make sure libdm.so.0 and anything it is linked to have their permissions set to executable. (There is an option to set the permissions when you right click on them)
If they are already set to executable, or if libdm.so.0 is a broken link, delete libdm.so.0, and create it again as a link to libddm.so.0.0.4
(The ln -s command was to make libdm.so.0 as a link to libddm.so.0.0.4, just like making a link by right clicking in ROX, but you got an error because libdm.so.0 already existed and that command won't automatically overwrite it).
Back to top
View user's profile Send private message 
lurahxp

Joined: 28 Nov 2007
Posts: 17
Location: indonesia, jawa tengah,jawa barat

PostPosted: Mon 03 Mar 2008, 09:48    Post subject: i succes samba,but how conect from win Xp?  

i delete libdm.so.0 then copy libdm.so.0.0.4 to libdm.so.0
i type /etc/rc.d/rc.samba start
its working. samba start without error

but i can see puppypc in windowsXp. then i dobel click, winXP asking username and passowrd. i fill
username: root
pasword : woofwoof
stil not working.

username: guest
pasword : (blank
stil not working.

then in my puppy i type
Code:

# smbclient -L puppypc
Password:
Anonymous login successful
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.0.25b]

        Sharename       Type      Comment
        ---------       ----      -------
        puppypc section Disk     
        sharedstuff section Disk     
        IPC$            IPC       IPC Service (Samba 3.0.25b)
Anonymous login successful
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.0.25b]

        Server               Comment
        ---------            -------
        PUPPYPC              Samba 3.0.25b

        Workgroup            Master
        ---------            -------
        WORKGROUP


then in winXP
stil asking username and pasword
so, what i must do?
i want without pasword
and why reading Puppypc in winXP it'a need more time, not fast i hope,
like between windows

thanks, for help
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger 
disciple

Joined: 20 May 2006
Posts: 6449
Location: Auckland, New Zealand

PostPosted: Mon 03 Mar 2008, 16:45    Post subject:  

Try making your smb.conf look more like mine.
e.g. you don't have a
Code:
public = Yes
line (You can either have it in the global section or repeated in the section for each share.
Back to top
View user's profile Send private message 
lurahxp

Joined: 28 Nov 2007
Posts: 17
Location: indonesia, jawa tengah,jawa barat

PostPosted: Tue 04 Mar 2008, 04:19    Post subject: thanks, its working with your smb.conf
Subject description: working with the original disciple smb.conf
 

it's working. i remember, i got my smb.conf from another link in this forum. then i try with your smb.conf. i just change some line for fit my network

Code:

workgroup=lb 
netbios name = puppypc1


and i fill semicolon in
Code:

;;msdfs proxy = No


to un activated item
now i acces puppy from winxp or from another puppy it's fast like between windows

thanks very much disciple
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger 
tata888

Joined: 10 Jun 2008
Posts: 16

PostPosted: Thu 03 Jul 2008, 21:36    Post subject:  

Could anyone please tell me on how to download full samba. as I keep having difficulties with the dependencies
Back to top
View user's profile Send private message 
disciple

Joined: 20 May 2006
Posts: 6449
Location: Auckland, New Zealand

PostPosted: Fri 04 Jul 2008, 01:59    Post subject:  

If the samba in the official petget repository doesn't work (I think it should - at least if there is one in the Puppy 2 or 4 repositories), try http://dotpups.de/dotpups/Network/Samba-3.0.21c.pup
But the dotpup is huge, as it has a lot of unnecessay documentation and stuff, and if you have Puppy 4, you will also need to install the dotpup handler first.

_________________
DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
Back to top
View user's profile Send private message 
jpeps

Joined: 31 May 2008
Posts: 3220

PostPosted: Mon 07 Jul 2008, 03:52    Post subject:  

disciple wrote:
If the samba in the official petget repository doesn't work (I think it should - at least if there is one in the Puppy 2 or 4 repositories), try http://dotpups.de/dotpups/Network/Samba-3.0.21c.pup
But the dotpup is huge, as it has a lot of unnecessay documentation and stuff, and if you have Puppy 4, you will also need to install the dotpup handler first.


..so many alternatives; I really like PureFTPd...no config files, etc., just ftp from your windows computer & your /root/ftpd folder appears... simple as that....Turn it off when you're through.
Back to top
View user's profile Send private message 
lcrimail

Joined: 30 Jun 2008
Posts: 25
Location: Italia

PostPosted: Fri 11 Jul 2008, 10:06    Post subject:  

I'm a beginner, very bginner!
i have puppy 4.0
I have a local area network.
I installed samba 3.0.26 and i did set smb.conf into etc/opt/samba/ directory as:

Code:
;*******************section global*****************
[global]
public = Yes
;this is the name of the windows workgroup the computer should show up in, so should match whatever you use in any Windows computers
workgroup = ARCO
server string = Samba Server %v
security = share
log file = /var/log.%m
max log size = 50
server signing = No
paranoid server security = No
socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192
preferred master = No
domain master = No
dns proxy = No
ldap ssl = No
message command = /usr/local/bin/LinPopUp "%f" "%m" %s; rm %s
read only = No
case sensitive = No
;this line works for me, but I have commented it out as other people say it causes trouble with Windows XP clients.
;msdfs proxy = No
restrict anonymous = No
;this is the name of the computer on the network, so if you are dual-booting, it should match what your computer is called in Windows
netbios name = Puppylcrimail
max protocol = NT
;*******************section printers*****************
;I think Cups automatically shares printers with other PCs running CUPS, so this is mainly useful for Windows clients.
[printers]
browseable = yes
printable = yes
create mode = 0700
guest only = yes
use client driver = yes
path = /tmp
;*******************section green room*****************
[green room]
path = /mnt/home
guest ok = Yes
writeable = Yes
force user = root
;*******************section e*****************
[e]
path = /mnt/hdb5
guest ok = Yes
writeable = Yes
force user = root
;*******************section f*****************
[f]
path = /mnt/hdb6
guest ok = Yes
writeable = Yes
force user = root
;*******************section Puppy*****************
[Puppy]
path = /
guest ok = Yes
writeable = Yes
force user = root


In my windows network I don't see puppy.


I removed samba and installed http://dotpups.de/dotpups/Network/Samba-3.0.21c.pup but don't change nothing.

What do i have to do?
Back to top
View user's profile Send private message 
disciple

Joined: 20 May 2006
Posts: 6449
Location: Auckland, New Zealand

PostPosted: Fri 11 Jul 2008, 18:30    Post subject:  

After installing Samba and editing smb.conf, have you either rebooted the computer, or manually started Samba?
You need to. Look in pprocess, or run `top` in a terminal, and see if the smb.d and nmb.d processes are running. If they are, run `/etc/rc.d/rc.samba restart` in a terminal. If they are not, run `/etc/rc.d/rc.samba start` in a terminal.

BTW you would probably want to edit smb.conf more. You probably don't have hdb5 and hdb6 partitions, in which case you can't share them, and you probably don't want to share /mnt/home as "green room", although you may want to share it as something.

_________________
DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
Back to top
View user's profile Send private message 
lcrimail

Joined: 30 Jun 2008
Posts: 25
Location: Italia

PostPosted: Fri 18 Jul 2008, 06:50    Post subject:  

I have done as you told me with puppy 4 and puppy 3.1

Samba don't start, it says: permission denied.

My smb.conf is:

Code:
[global]
public = Yes
;this is the name of the windows workgroup the computer should show up in, so should match whatever you use in any Windows computers
workgroup = HOOD
server string = Samba Server %v
security = share
log file = /var/log.%m
max log size = 50
server signing = No
paranoid server security = No
socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192
preferred master = No
domain master = No
dns proxy = No
ldap ssl = No
message command = /usr/local/bin/LinPopUp "%f" "%m" %s; rm %s
read only = No
case sensitive = No
;this line works for me, but I have commented it out as other people say it causes trouble with Windows XP clients.
;msdfs proxy = No
restrict anonymous = No
;this is the name of the computer on the network, so if you are dual-booting, it should match what your computer is called in Windows
netbios name = Green Room
max protocol = NT
[puppypc section]

path = /
guest ok = yes
writable = yes
force user = root
browseable = yes

[share section]

Path = /share
guest ok = yes
writable = yes
force user = root
browseable = yes
Back to top
View user's profile Send private message 
lcrimail

Joined: 30 Jun 2008
Posts: 25
Location: Italia

PostPosted: Fri 18 Jul 2008, 06:54    Post subject:  

Who wants to make a simple guide for us newbie?

If I don't resolve this ..I think to leave puppy
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 2 of 3 [42 Posts]   Goto page: Previous 1, 2, 3 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » HOWTO ( Solutions )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1160s ][ Queries: 12 (0.0301s) ][ GZIP on ]