LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-13-2004, 07:27 AM   #61
Wiz22
Member
 
Registered: Mar 2004
Location: {€urope}
Distribution: Linux Mint
Posts: 146

Original Poster
Rep: Reputation: 15

i have tried but it seems to be a bug or something...i press "Configure file Sharing" and enter as a root and click on "Allow users to share files from their HOME directory" and then theres 2 buttons, "Not Shared" and "Shared"...i click on "Shared" and OK...next time i check its on "Not Shared" ... is there a way to get it shared by a terminal? =\
 
Old 07-13-2004, 07:53 AM   #62
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
are you in windows? entering as root? i'm a little confused about what your doing exactly.
 
Old 07-13-2004, 01:08 PM   #63
Wiz22
Member
 
Registered: Mar 2004
Location: {€urope}
Distribution: Linux Mint
Posts: 146

Original Poster
Rep: Reputation: 15
nono not windows, i mean on linux...sharing file on linux...i could access windows with the help of smb://ip/file but from windows i still cant access linux...
 
Old 07-13-2004, 01:10 PM   #64
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
in this post you said you were able to access linux.

http://www.linuxquestions.org/questi...92#post1040592

dazed and confused ;-)
 
Old 07-13-2004, 02:20 PM   #65
Wiz22
Member
 
Registered: Mar 2004
Location: {€urope}
Distribution: Linux Mint
Posts: 146

Original Poster
Rep: Reputation: 15
yes but i accessed it from /tmp cant find the post right now but its there =) but now i cant access /tmp and dont know why...=\
 
Old 07-13-2004, 04:22 PM   #66
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
post the current smb.conf, have you restarted the daemons? made any changes? you might be better off to start from scratch and rewrite the smb.conf, but, we'll try to fix it. ;-)
 
Old 07-13-2004, 04:53 PM   #67
Wiz22
Member
 
Registered: Mar 2004
Location: {€urope}
Distribution: Linux Mint
Posts: 146

Original Poster
Rep: Reputation: 15
[global]

workgroup = LAN
netbios name = wiztop
server string = Samba Server
security = share
encrypt passwords = Yes
socket options = TCP_NODELAY

[homes]
comment = Home Directories
browseable = yes
writeable = yes
guest ok = yes
path = /home/mnt/share/

[share]
comment = shared directory
path=/home/wiz/mnt/Share/WIZ/
browseable = yes
writeable = yes
guest ok = yes

[tmp]
comment = tmp share
path=/tmp
browseable = yes
writeable = yes
guest ok = yes

as said.../tmp worked but does not work anymore (i have no idea how that happened) secondly if i cant enter from linneighbor then how can i enter smb://myip/dasharedmap and works?? doesnt make any sense....
 
Old 07-13-2004, 05:01 PM   #68
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
have you restarted the daemons? try restarting the windows machine also. i think we got crossed up about the smb:// that's from linux to windows..i.e

smb://windows ip/windows sharename
 
Old 07-13-2004, 05:23 PM   #69
Wiz22
Member
 
Registered: Mar 2004
Location: {€urope}
Distribution: Linux Mint
Posts: 146

Original Poster
Rep: Reputation: 15
i use this to restart them:
# killall smbd nmbd
# smbd -D
# nmbd -D

is that wrong or right? maby the problem lies in those...
 
Old 07-13-2004, 07:45 PM   #70
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
check your config issue

testparm

and post the output.
 
Old 07-14-2004, 07:10 AM   #71
Wiz22
Member
 
Registered: Mar 2004
Location: {€urope}
Distribution: Linux Mint
Posts: 146

Original Poster
Rep: Reputation: 15
Load smb config files from /etc/samba/smb.conf
Processing section "[homes]"
Processing section "[share]"
Processing section "[tmp]"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions
--pressing [enter]--
# Global parameters
[global]
workgroup = LAN
server string = Samba Server
security = SHARE

[homes]
comment = Home Directories
path = /home/mnt/share/
read only = No
guest ok = Yes

[share]
comment = shared directory
path = /home/wiz/mnt/Share/WIZ/
read only = No
guest ok = Yes

[tmp]
comment = tmp share
path = /tmp
read only = No
guest ok = Yes

should b right? =\
 
Old 07-14-2004, 07:27 AM   #72
Kess78
Member
 
Registered: Jul 2004
Location: Switzerland
Distribution: Debi@n, SuSE
Posts: 36

Rep: Reputation: 15
Cool

Hi, it would be better if you define your samba users.
to do that you've to create first your unix users and then use the command smbpasswd -a UserName to add your samba users...
Bye Kess.
 
Old 07-14-2004, 09:10 AM   #73
Wiz22
Member
 
Registered: Mar 2004
Location: {€urope}
Distribution: Linux Mint
Posts: 146

Original Poster
Rep: Reputation: 15
ive defined my samba long time ago =) thx thou
 
Old 07-14-2004, 11:12 AM   #74
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
looks like everything is good on the linux side. restarting the windows side may solve things.
 
Old 07-14-2004, 11:15 AM   #75
Wiz22
Member
 
Registered: Mar 2004
Location: {€urope}
Distribution: Linux Mint
Posts: 146

Original Poster
Rep: Reputation: 15
hey wait a minute, are you saying everytime i restart my deamons i HAVE to restart windowz???? if so then the problem is possibly solved =\
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
college Linux drco Linux - Newbie 1 12-23-2004 04:00 AM
Control over IP adress in LAN via Linux Gateway pin_bk Linux - Networking 3 10-15-2004 04:41 AM
College Linux FileShare Samba Network? Wiz22 Linux - Newbie 5 05-20-2004 05:43 PM
College Linux pocketpal Linux - Laptop and Netbook 3 06-10-2003 09:13 AM


All times are GMT -5. The time now is 12:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration