Howto: Set up a simple (insecure) Windows compatible network
this SAMBA troubleshooting guide says
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?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.
-
- Posts: 17
- Joined: Wed 28 Nov 2007, 07:01
- Location: indonesia, jawa tengah,jawa barat
- Contact:
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
sorry i can't read this forum quickly and then practice because i don't have acces internet.ok thanks
-
- Posts: 17
- Joined: Wed 28 Nov 2007, 07:01
- Location: indonesia, jawa tengah,jawa barat
- Contact:
my smb.conf
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 because i very newbi
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 because i very newbi
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).
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).
-
- Posts: 17
- Joined: Wed 28 Nov 2007, 07:01
- Location: indonesia, jawa tengah,jawa barat
- Contact:
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
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
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: Select all
# 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
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
Try making your smb.conf look more like mine.
e.g. you don't have a line (You can either have it in the global section or repeated in the section for each share.
e.g. you don't have a
Code: Select all
public = Yes
-
- Posts: 17
- Joined: Wed 28 Nov 2007, 07:01
- Location: indonesia, jawa tengah,jawa barat
- Contact:
thanks, its working with your 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
and i fill semicolon in
to un activated item
now i acces puppy from winxp or from another puppy it's fast like between windows
thanks very much disciple
Code: Select all
workgroup=lb
netbios name = puppypc1
Code: Select all
;;msdfs proxy = No
now i acces puppy from winxp or from another puppy it's fast like between windows
thanks very much disciple
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.
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.
Do you know a good gtkdialog program? Please post a link here
Classic Puppy quotes
ROOT FOREVER
GTK2 FOREVER
Classic Puppy quotes
ROOT FOREVER
GTK2 FOREVER
..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.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.
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:
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?
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: Select all
;*******************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
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?
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.
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.
Do you know a good gtkdialog program? Please post a link here
Classic Puppy quotes
ROOT FOREVER
GTK2 FOREVER
Classic Puppy quotes
ROOT FOREVER
GTK2 FOREVER
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:
Samba don't start, it says: permission denied.
My smb.conf is:
Code: Select all
[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
Good, we have found the problem.Samba don't start, it says: permission denied.
For some strange reason either the samba daemons themselves, or the start script rc.samba, aren't set to be executable. From your description, I'm not sure which is the case.
If you see a message like this:
Then right-click (in ROX) on rc.samba->File 'rc.samba'->Permissions, and choose to make it executable.# /etc/rc.d/rc.samba start
bash: /etc/rc.d/rc.samba: Permission denied
If you see a message like this:
then use the same method to make smbd and nmbd executable.# /etc/rc.d/rc.samba start
/etc/rc.d/rc.samba: line 14: /usr/sbin/nmbd: Permission denied
/etc/rc.d/rc.samba: line 15: /usr/sbin/smbd: Permission denied
Do you know a good gtkdialog program? Please post a link here
Classic Puppy quotes
ROOT FOREVER
GTK2 FOREVER
Classic Puppy quotes
ROOT FOREVER
GTK2 FOREVER
I have configured rc.samba succesfully but when I execute /etc/rc.d/rc.samba start ...(see the image below).
I don't succeed to execute the libdm command...(see the image)
I don't succeed to execute the libdm command...(see the image)
- Attachments
-
- Immagine 1.png
- (16.48 KiB) Downloaded 3148 times
Otherwise when I execute Testparm this is the message:
- Attachments
-
- Immagine 2.png
- (21.3 KiB) Downloaded 5011 times
Oh, OK. So you're using the official samba package again (the dotpup doesn't need libdm).
You can get libdm from http://www.murga-linux.com/puppy/viewto ... 728#145728
Make a link to it called libdm.so.0, and make sure it is executable.
Hopefully that will be the last problem to solve
You can get libdm from http://www.murga-linux.com/puppy/viewto ... 728#145728
Make a link to it called libdm.so.0, and make sure it is executable.
Hopefully that will be the last problem to solve
Do you know a good gtkdialog program? Please post a link here
Classic Puppy quotes
ROOT FOREVER
GTK2 FOREVER
Classic Puppy quotes
ROOT FOREVER
GTK2 FOREVER
the response is like the photo in attachment.
now how can i browse the windows network from puppy?
now how can i browse the windows network from puppy?
- Attachments
-
- Immagine 1.png
- (10.96 KiB) Downloaded 3116 times