LinuxQuestions.org
Help answer threads with 0 replies.
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 04-14-2014, 09:31 AM   #1
NotionCommotion
Member
 
Registered: Aug 2012
Posts: 568

Rep: Reputation: Disabled
Adding Samba file server


I previously successfully added a Samba file server and was able to access it via a Windows 7 PC.

I've since rebuilt the server, and now have it connected wireless to my home network. I've repeated my previous steps, however, cannot view the server using the Windows PC.

Iptables is off, and selinux is in permissive mode.

I wonder if it has to do with these two lines in /etc/samba/smb.conf. I've tried just about every permutation such as wlan0/eth0, 192.168.0./24, etc, etc. My routers IP is 192.168.0.1 and the Windows PC is 192.168.0.100.
Code:
interfaces = lo wlan0 192.168.0.201/24
hosts allow = 127. 192.168.0.
Could it have anything to do with being connected wireless? I wouldn't think so.

What steps could I take to troubleshoot?

Thank you

Code:
[root@desktop var]# ifconfig
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:97334 errors:0 dropped:0 overruns:0 frame:0
          TX packets:97334 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:15560654 (14.8 MiB)  TX bytes:15560654 (14.8 MiB)

wlan0     Link encap:Ethernet  HWaddr B8:76:3F:69:31:95
          inet addr:192.168.0.201  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::ba76:3fff:fe69:3195/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:106042 errors:0 dropped:0 overruns:0 frame:0
          TX packets:35617 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:18404605 (17.5 MiB)  TX bytes:16646470 (15.8 MiB)

[root@desktop var]#
 
Old 04-14-2014, 09:42 AM   #2
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,615
Blog Entries: 26

Rep: Reputation: 1987Reputation: 1987Reputation: 1987Reputation: 1987Reputation: 1987Reputation: 1987Reputation: 1987Reputation: 1987Reputation: 1987Reputation: 1987Reputation: 1987
Member Response

Hi,

Look at LQs' : Setting Up a Network Printer using CUPS
 
Old 04-14-2014, 10:05 AM   #3
NotionCommotion
Member
 
Registered: Aug 2012
Posts: 568

Original Poster
Rep: Reputation: Disabled
Thanks Gary,

I read your suggested LQ post about printers, and don't see how it is relevant.

Any other suggestions where I should start troubleshooting? Could I view the samba file directory via Linux to ensure it is available?

Thank you
 
Old 04-14-2014, 10:11 AM   #4
dolphin_oracle
Member
 
Registered: Dec 2013
Posts: 337

Rep: Reputation: Disabled
I would concentrate on the share definitions in samba.conf. make sure the share is listed as browseable, and that the workgroup for the share matches the workgroup for the PC trying to access it.

occasionally I've seen windows pc's not find a samba/windows share until you access the share directly by address/sharename in one of the windows address bars.
 
Old 04-14-2014, 03:36 PM   #5
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,615
Blog Entries: 26

Rep: Reputation: 1987Reputation: 1987Reputation: 1987Reputation: 1987Reputation: 1987Reputation: 1987Reputation: 1987Reputation: 1987Reputation: 1987Reputation: 1987Reputation: 1987
Member Response

Hi,


Quote:
Originally Posted by NotionCommotion View Post
Thanks Gary,

I read your suggested LQ post about printers, and don't see how it is relevant.

Any other suggestions where I should start troubleshooting? Could I view the samba file directory via Linux to ensure it is available?

Thank you
That link will give good general references to setting up a network printer, server & clients.
 
Old 04-14-2014, 09:29 PM   #6
NotionCommotion
Member
 
Registered: Aug 2012
Posts: 568

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by dolphin_oracle View Post
I would concentrate on the share definitions in samba.conf. make sure the share is listed as browseable, and that the workgroup for the share matches the workgroup for the PC trying to access it.

occasionally I've seen windows pc's not find a samba/windows share until you access the share directly by address/sharename in one of the windows address bars.
I added the following to my smb.conf file.
Code:
[sharedrepo]
comment = shared-directory
path = /home/test
public = no
valid users = test, @WORKGROUP
writable = yes
browseable = yes
create mask = 0777
create mode = 0777
directory mode = 0777
share modes = yes
You might be right about the PC workgroups. I've never used them before, and when I previously connected, didn't have one configured, so I don't know for sure if they are required. Kind of screwed up trying to test. Took my day job corporate work computer and added a workgroup, and when I rebooted, my username is now German and my password no longer works

Any suggestions, hints, hunches, and/or firm advice is very much needed and very much appreciated.

Thank you
 
Old 04-15-2014, 10:14 AM   #7
NotionCommotion
Member
 
Registered: Aug 2012
Posts: 568

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by dolphin_oracle View Post
occasionally I've seen windows pc's not find a samba/windows share until you access the share directly by address/sharename in one of the windows address bars.
Thanks Dolphin Oracle, that was my problem. Now I have firewall problems Since it is not related, I will post a new question.
 
  


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
Adding x64 drivers to samba server running cups crazymanda Linux - Newbie 3 07-13-2012 04:17 PM
generating tmp file in samba server while saving file from win7 in samba server centos123 Linux - Server 15 11-05-2011 05:05 AM
adding bridge to file server kr00pa Linux - Networking 3 08-15-2007 04:08 PM
Adding Samba Server to the Domain !!! ajeetraina Linux - Server 2 08-09-2007 02:43 AM
Adding Postfix to Samba server ghight Linux - Software 3 04-01-2003 12:33 PM


All times are GMT -5. The time now is 07:04 AM.

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