LinuxMCE Forums
May 24, 2013, 04:09:02 am GMT-1 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com
 
   Home   Help Search Chat Login Register  
Pages: [1] 2
  Print  
Author Topic: Cannot access linuxmce samba shares from XP machines.  (Read 3832 times)
lightman
Newbie
*
Posts: 6


View Profile
« on: July 11, 2008, 11:46:40 pm »

Hello.
I have been reading all I could find about this, and playing with smb.conf but no luck... so I decide to ask for help Smiley

I'm trying to access from the XP machines the /home from the linuxmce machine so I can upload content.

I edited smb.conf and added:
Code:
workgroup = HOME
comment = Linux Media Center
security = SHARE
guest ok = yes

Leave the rest as It was, and sometimes I can see the share from the XP machines but when i try to enter it says: you don't have access to this resource.

Now it never asks for password, so I'm not sure if this is the problem.

I have a home network, with a linksys router, and all the machines conected to the lan (Linuxmce included), I even tried to use the IP obtained via DHCP from the router with no sucess. (\\192.168.0.144 for ex, frm the run box in xp).

any ideas?, I am missing something?, maybe a firewall blocking it?, but if there is a firewall why can I see the samba name in the workgroup?.

thanks in advance.
Light
Logged
hari
Administrator
LinuxMCE God
*****
Posts: 2413



View Profile WWW
« Reply #1 on: July 11, 2008, 11:57:38 pm »

why do you want to use share level security?

best regards,
Hari
Logged

rock your home - http://www.agocontrol.com home automation
agentsmith
Regular Poster
**
Posts: 26



View Profile
« Reply #2 on: July 12, 2008, 12:05:38 am »

Hey Light,

I was able to get to mine with the following settings:
Firewall Disabled:  from the admin site Advanced > Network > Firewall Rules and check the box that says "Firewall Disabled"
Added the following to my smb.conf under the [public] section
Code:
        public = yes
        guest ok = Yes
        browseable = Yes

I still get the login box but just entered in linuxmce for the username and entered the password I set at setup.
Hope this helps
Logged

Linux Rox...LinuxMCE rocks in HD!!
lightman
Newbie
*
Posts: 6


View Profile
« Reply #3 on: July 12, 2008, 12:16:41 am »

why do you want to use share level security?

best regards,
Hari
Hello Hari, thanks for answer.

Because It's on a LAN and It's a home network so it's suppose to be secure Cheesy  (I don't want to have to add users and passwords, just allow everyone on the LAN to access the media files for R/W. mainly because I thought that it would be difficult to do it otherwise) anyway it doesn't work so I can take it out Smiley at this point i don't care if I have to use password or not, just want to have access the the /home so I can upload content Smiley

Quote from: agentsmith
Hey Light,

I was able to get to mine with the following settings:
Firewall Disabled:  from the admin site Advanced > Network > Firewall Rules and check the box that says "Firewall Disabled"

Thanks agentsmith!!, that was it!, I didn't know from "where" turn off the firewall.

I can see the shares now, but in Read only, and still doesn't ask for a password Sad so I cannot upload anything.

what could that be?, should I chmod the entire /home for public group?, would that allow me to upload something?.

thanks!
Light
Logged
tschak909
LinuxMCE God
****
Posts: 5101

DOES work for LinuxMCE.


View Profile
« Reply #4 on: July 12, 2008, 12:37:50 am »

Why are you people butchering your setups?!

(1) make sure you have the appropriate network setup, two NIC cards, your core is the center of the network, handling firewall, dhcp, gateway.. make sure your other pc's are on the internal NIC card.

(2) when logging into the dcerouter share, use the username and password you use to log into the web admin

very simple, guys.
stop fucking up your setups.

-Thom
Logged
colinjones
Alumni
LinuxMCE God
*
Posts: 3003


View Profile
« Reply #5 on: July 12, 2008, 01:04:43 am »

To expand on Thom's comments:

If your PCs are on your "internal" network, then the firewall is NOT relevant, the internal NIC is open access - do not disable your firewall!

If your PCs are on your "external" network, then add a firewall rule to allow access. Port 445/TCP - again, do not disable your firewall - what is the point? This is the sledgehammer approach.

After that, use the credentials as Thom outlined...
Logged
lightman
Newbie
*
Posts: 6


View Profile
« Reply #6 on: July 12, 2008, 03:53:56 am »

Why are you people butchering your setups?!

(1) make sure you have the appropriate network setup, two NIC cards, your core is the center of the network, handling firewall, dhcp, gateway.. make sure your other pc's are on the internal NIC card.

(2) when logging into the dcerouter share, use the username and password you use to log into the web admin

very simple, guys.
stop fucking up your setups.

-Thom


Hi tschak909

You cannot expect that I will modify the way things works in my house because suits the needs of the equipment, it's the other way around, equipment should reflect the need of the user.

I have specially made servers that works from 12VDC, same as the router, swtiches, VOIP interfases and 100% of communication devices in my home because here brownouts are commonday issues, so i cannot use this equipment to act as a router, not to mention the services I'm already hosting that would require to modify LMCE to do what I do today with the router (dyndns, ftp server, VPN server, asterisk with an already working dialplan, etc).

If there is no easy way to make it work without passwords, I'll use username and passwords, that's something I can live with Cheesy but there is no way that I will put an expensive machine that draws more than 300W, 24hs active, just because the setup was made that way, when I can do better with 10% of that power and operate on batteries when power goes out and leaves LMCE to do what I think it's made to do, a Media center machine, not a server/gateway.

EDIT: Maybe I can disable DHCPd, and modify network settings, so I can operate on the "default LAN side of LMCE" but I would to modify routes anyway so It can connect to the internet using the lan side, thinking about this, maybe it's easier the way I already done it, disabling the firewall, anyway there is no point having a firewall when I already have a very good one, i don't know what of the two options do you think that will make "less mess" to this box Cheesy hehe
thanks
Light
« Last Edit: July 12, 2008, 03:59:29 am by lightman » Logged
tschak909
LinuxMCE God
****
Posts: 5101

DOES work for LinuxMCE.


View Profile
« Reply #7 on: July 12, 2008, 03:57:38 am »

but this system ISN'T just a media center, it's a smart home solution. Why don't you either:

(1) use it the way it's meant to be used, or
(2) help us adapt it to other use cases

oh wait, i forgot, you obviously know better than what we're doing, because you're throwing a sledgehammer through the samba installation and setting it to security=share....

-Thom
Logged
golgoj4
wants to work for LinuxMCE
**
Posts: 823


hrumpf!


View Profile WWW
« Reply #8 on: July 12, 2008, 04:02:19 am »

Why are you people butchering your setups?!

(1) make sure you have the appropriate network setup, two NIC cards, your core is the center of the network, handling firewall, dhcp, gateway.. make sure your other pc's are on the internal NIC card.

(2) when logging into the dcerouter share, use the username and password you use to log into the web admin

very simple, guys.
stop fucking up your setups.

-Thom


Hi tschak909

You cannot expect that I will modify the way things works in my house because suits the needs of the equipment, it's the other way around, equipment should reflect the need of the user.

I have specially made servers that works from 12VDC, same as the router, swtiches, VOIP interfases and 100% of communication devices in my home because here brownouts are commonday issues, so i cannot use this equipment to act as a router, not to mention the services I'm already hosting that would require to modify LMCE to do what I do today with the router (dyndns, ftp server, VPN server, asterisk with an already working dialplan, etc).

If there is no easy way to make it work without passwords, I'll use username and passwords, that's something I can live with Cheesy but there is no way that I will put an expensive machine that draws more than 300W, 24hs active, just because the setup was made that way, when I can do better with 10% of that power and operate on batteries when power goes out and leaves LMCE to do what I think it's made to do, a Media center machine, not a server/gateway.

EDIT: Maybe I can disable DHCPd, and modify network settings, so I can operate on the "default LAN side of LMCE" but I would to modify routes anyway so It can connect to the internet using the lan side, thinking about this, maybe it's easier the way I already done it, disabling the firewall, anyway there is no point having a firewall when I already have a very good one, i don't know what of the two options do you think that will make "less mess" to this box Cheesy hehe
thanks
Light

wow. did ya see the video? maybe read some docs? Sounds like your using the wrong tool for the job your attempting to do.

Square Peg, Round Hole, you do the math. Undecided
Logged

Those people who tell you not to take chances, they are all missing what life's all about.

Wiki Hardware Page http://wiki.linuxmce.org/index.php/User:Langstonius
lightman
Newbie
*
Posts: 6


View Profile
« Reply #9 on: July 12, 2008, 04:12:53 am »

but this system ISN'T just a media center, it's a smart home solution. Why don't you either:

(1) use it the way it's meant to be used, or
(2) help us adapt it to other use cases

oh wait, i forgot, you obviously know better than what we're doing, because you're throwing a sledgehammer through the samba installation and setting it to security=share....

-Thom
First off, man, sorry if I offend you, It wasn't my goal at all, just speaking my mind, and maybe a little loud, sorry for that Smiley

Option 2 is not a bad idea, I will be glad to help, but I need A LOT of hours with this to be ready to help in some way Smiley, but i will love to.

You are right, the difference is that it was meant to be a smart home solution, and I try to have just a Media Center, i don't need the rest, when I saw the video, I just focus on what interested to me, and that was a media center.

I wish I know that much, but not even close, I'm a hardware guy Cheesy i understand machine code and electronics very well, I can barely handle C, anything more "high level" and I'm completely lost Sad

again sorry if I piss some of you off, it wasn't my intention, just wanna make things work Smiley
Light
Logged
tschak909
LinuxMCE God
****
Posts: 5101

DOES work for LinuxMCE.


View Profile
« Reply #10 on: July 12, 2008, 04:14:03 am »

then please. Try it our way.

our way actually works, believe it or not.

-Thom
Logged
agentsmith
Regular Poster
**
Posts: 26



View Profile
« Reply #11 on: July 12, 2008, 07:34:47 am »

Hey Thom,

Thanks for the info.  I didn't mean to suggest an option that would start folks duking it out on the net.  Let me first admit that I'm a noob and have been trying to learn so that I can contribute more than mayhem, not quite there yet.  I don't want to tick anyone off any more, but could you help me understand why it is that it's so important that LinuxMCE be the DHCP server for the whole house?  Is it just because it is a "whole house automation" system?  Don't get mad, I'm not questioning anything, just want to understand and yes if there is a doc I missed feel free to point it out and I'm all over it.

Thanks to all you guys that make this project happen, I Love it and I'm in for life, if ever I can help lemme know. Tongue
Logged

Linux Rox...LinuxMCE rocks in HD!!
totallymaxed
LinuxMCE God
****
Posts: 4310


View Profile WWW
« Reply #12 on: July 12, 2008, 08:52:36 am »

Hey Thom,

Thanks for the info.  I didn't mean to suggest an option that would start folks duking it out on the net.  Let me first admit that I'm a noob and have been trying to learn so that I can contribute more than mayhem, not quite there yet.  I don't want to tick anyone off any more, but could you help me understand why it is that it's so important that LinuxMCE be the DHCP server for the whole house?  Is it just because it is a "whole house automation" system?  Don't get mad, I'm not questioning anything, just want to understand and yes if there is a doc I missed feel free to point it out and I'm all over it.

Thanks to all you guys that make this project happen, I Love it and I'm in for life, if ever I can help lemme know. Tongue

Why not try the Wiki ;-)

Look here; http://wiki.linuxmce.org/index.php/DHCP_Plug_and_Play

This is only the 500'th thread that touches on this stuff... and to Thom has been faithfully responding in most of those threads! LinuxMCE was designed from the ground up to work this way... if you dont like that then you can always re-code it (its open source ;-) ) or use another software solution.

Andrew
Logged

Andy Herron,
Convergent Home Technologies Ltd
United Kingdom

Dianemo S Now Shipping on Ubuntu 12.04LTS
Build your system on the latest Ubuntu OS Release!

Get a Dianemo S License: http://forum.linuxmce.org/index.php?topic=8880.0
iOS Orbiter: http://wiki.linuxmce.org/index.php/Dianemo_iOS_Orbiter
Follow us on Facebook: https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465

Sales & Info:
http://www.dianemo.co.uk
colinjones
Alumni
LinuxMCE God
*
Posts: 3003


View Profile
« Reply #13 on: July 12, 2008, 03:30:30 pm »

wow andrew, this is the first time I've ever seen you get tetchy Smiley

He's (and Thom's) right Mr Smith... the subject is v old so forgive me if I seem abrupt, but been saying the same thing for such a long time, and the wiki and forums do have such a lot of info on this stuff....  there really are so many reasons for it, and whilst it is easy to say "I don't want to do it that way" (although I note that you aren't saying that, you just want to understand) When so much has been put into using the current infrastructure because it allows so many things to work, when others come along and try to re-engineer the system ... that's fine... but at the same time expecting support in the process is a bit much.

My approach is, either accept it the way it was designed to work, or learn how to change it (its open source after all!) It is easy to criticise, but I wouldn't do that with anything at least until I understand the basics of why things were done the way they were. Doesn't mean that they can't be done better, but I don't presume to know that until I understand it better Wink
Logged
agentsmith
Regular Poster
**
Posts: 26



View Profile
« Reply #14 on: July 14, 2008, 02:15:00 pm »

Makes perfect sense, sorry for adding to the frustration but on that note, thanks for taking the time to explain.  I'll be sure to review the docs.
Logged

Linux Rox...LinuxMCE rocks in HD!!
Pages: [1] 2
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!