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 Wed 26 Nov 2014, 12:24
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Network
Simply, Teaching FATDOG to SAMBA (Full Windows Sharing)
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count_1  
Author Message
gcmartin

Joined: 14 Oct 2005
Posts: 4441
Location: Earth

PostPosted: Mon 29 Nov 2010, 16:03    Post_subject:  Simply, Teaching FATDOG to SAMBA (Full Windows Sharing)
Sub_title: Console Log
 

Here is a console log for FULL SAMBA operation adding NAS to FATDOG64. Kirk has made a Full SAMBA V3.5+ PET for use with 64bit FATDOG. If you find discrepancies in this log or have additions to this, please post them.
Code:
# ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
2: eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop qlen 1000
    link/ether 00:1f:c6:28:c7:55 brd ff:ff:ff:ff:ff:ff
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast qlen 1000
    link/ether 00:1f:c6:29:e2:bb brd ff:ff:ff:ff:ff:ff
    inet 192.168.143.203/24 brd 192.168.143.255 scope global eth1
# echo "My active IP address is 192.168.143.203"
My active IP address is 192.168.143.203

# echo "get the FATDOG64 iso, burn it to DVD, and reboot the PC with the LiveDVD"
get the FATDOG64 iso, burn it to DVD, and reboot the PC with the LiveDVD

# cd /root/ftpd
# wget ftp://distro.ibiblio.org/pub/linux/distributions/fatdog/iso/Fatdog64-510rc6.iso
# cdrecord dev=/dev/sr1  Fatdog64-510rc6.iso

# echo "LiveDVD booted to desktop. Get the SAMBA PET started. Set up a simple share (NAS)."
LiveDVD booted to desktop. Get the SAMBA PET started. Set up a simple share (NAS).
# cd /root/ftpd
# wget http://distro.ibiblio.org/pub/linux/distributions/fatdog/pets/500/other/samba-3.5.6.pet
# echo "Open ROXfiler on desktop, navigate to ftpd folder and double-click the PET file. Say OK to everything."
Open ROXfiler on desktop, navigate to ftpd folder and double-click the PET file. Say OK to everything.

# echo "We are now running with SAMBA on the FATDOG LiveDVD."
We are now running with SAMBA on the FATDOG LiveDVD. Let make it a simple Windows7 replacement
# echo "Let make it a simple Windows7 replacement by sharing a folder that everyone on LAN can use."
Let make it a simple Windows7 replacement by sharing a folder that everyone on LAN can use.

# System currently looks like this. We will change it slightly for our Sample's need.
# testparm
Load smb config files from /etc/samba/smb.conf
rlimit_max: rlimit_max (1024) below minimum Windows limit (16384)
Processing section "[data]"
Processing section "[printers]"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions

[global]
   server string = %h-SMB
   security = SHARE
   max log size = 50
   dns proxy = No
   force user = spot

[data]
   comment = Downloads
   path = /root/spot/Downloads
   read only = No
   guest ok = Yes

[printers]
   path = /tmp
   guest ok = Yes
   printable = Yes
   browseable = No

# hostname
fatdog64
# mv /etc/samba/smb.conf /etc/samba/smb.conf.1st

# echo "Make our sample smb.conf and check for syntax errors."
# geany /etc/samba/smb.conf

# testparm
Load smb config files from /etc/samba/smb.conf
rlimit_max: rlimit_max (1024) below minimum Windows limit (16384)
Processing section "[Downloads]"
Processing section "[printers]"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions

[global]
   workgroup = TheOffice
   server string = %h is a NAS (Test)

[Downloads]
   comment = A Central Download folder for all to use
   path = /srv/Downloads
   read only = No
   guest ok = Yes

[printers]
   path = /tmp
   guest ok = Yes
   printable = Yes
   browseable = No
   
# echo "SAMBA is Ready. Let restart it and get a SAMBA user ready to allow access tothe NAS."
SAMBA is Ready. Let restart it and get a SAMBA user ready to allow access tothe NAS.
# hostname FatDog-2011 <=== Required to reset hostname
# samba stop <=== Failed
bash: samba: command not found

# smbd stop <=== Required
# nmbd stop <=== Required
# nmbd start <=== Required
# nmbd start <=== Required

# smbd restart <=== Required
# nmbd restart <=== Required
# mkdir -p  /srv/Downloads <=== Required ... NAS folder
# chmod 1777  /srv/Downloads <=== Required ... NAS folder

# passwd <=== Required
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root

# smbclient \\\\192.168.143.203\\Downloads <=== Failed because there is no SAMBA user, yet.
Enter root's password: <=== Required
session setup failed: NT_STATUS_LOGON_FAILURE <=== Failed

# smbpasswd -a root <=== Required to add a SAMBA user
New SMB password: <=== Required ... make the same as root, above
Retype new SMB password:
Added user root.
# smbclient \\\\192.168.143.203\\Downloads <=== Worked
Enter root's password:
suppDomain=[OIC-CORP] OS=[Unix] Server=[Samba 3.5.6]
smb: \> ls -l
smb: \> exit

# echo "Went to my Windows and Linux PCs on the LAN, everyone can see and write to FATDOG64 sharing!"
Went to my Windows PCs on the LAN, everyone can see and write to FATDOG64 sharing!

# echo "SUCCESS....FATDOG64-rc6 with FULL SAMBA 3.5.6 is open for business!!!"
You can find a Puppy Tutorial here!
And a Puppy Guide, here

_________________
Get ACTIVE Create Circles; Do those good things which benefit people's needs!
We are all related ... Its time to show that we know this!
3 Different Puppy Search Engine or use DogPile
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count_1  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Network
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0551s ][ Queries: 11 (0.0041s) ][ GZIP on ]