LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > MEPIS
User Name
Password
MEPIS This forum is for the discussion of MEPIS Linux.

Notices


Reply
  Search this Thread
Old 12-07-2007, 11:24 PM   #1
smuggly
LQ Newbie
 
Registered: Jul 2004
Location: Reno Nevada
Distribution: Ubuntu Ultimate 1.5
Posts: 24

Rep: Reputation: 15
Talking Networking With Windows?


Ive Got Xp Pro On One Box,Mepis 6.5 On The Other A D-link Router Running All,I Have Internet On Both,But Cant Share Files,Or Even See The Windows Box From Mepis,I Can See Mepis From Xp But Cant Connect.Heres My Smb.conf...
# Do something sensible when Samba crashes: mail the admin a backtrace
panic action = /usr/share/samba/panic-action %d
printing = cups
server string = %h server (Samba %v)
hosts allow = 192.168.0. 192.168.1. 192.168.2. 192.168.79. 127. 10.0.0. 10.1.1.
socket options = TCP_NODELAY IPTOS_LOWDELAY
log level = 1
dead time = 15
wins support = yes
hide unreadable = yes
passdb backend = tdbsam guest
dns proxy = no
max log size = 1000
security = share
restrict anonymous = no
domain master = no
preferred master = no
max protocol = NT
ldap ssl = No
server signing = Auto
oplocks = No
level2 oplocks = No
;*******************section homes*****************
[homes]
comment = Home Directories
read only = no
case sensitive = no
msdfs proxy = no
;*******************section printers*****************
[printers]
comment = All Printers
path = /tmp
browseable = no
printable = yes
guest ok = yes
create mask = 0700

[MUSIC3]
path = /mnt/sdb5/Music3
guest ok = yes
read only = no

[MUSIC2]
path = /mnt/sdb1/Music2
guest ok = yes


Any Ideas?Also How Do I Edit The smb Conf In An Editor It Tells Me No Write Access?
Thanx Tom
 
Old 12-08-2007, 02:15 AM   #2
andygo
Member
 
Registered: May 2005
Location: Ukraine, Kiev
Distribution: SLES, Raspbian, Ubuntu-Mate, LineageOS
Posts: 114

Rep: Reputation: 15
need some additional info about the phrase "See The Windows Box From Mepis"
when you start SAMBA service on linux box, two services become "visible" :-)
Code:
#netstat -nap | grep smb
tcp        0      0 0.0.0.0:139             0.0.0.0:*               LISTEN      9771/smbd           
tcp        0      0 0.0.0.0:445             0.0.0.0:*               LISTEN      9771/smbd
the same picture must be on the XP (or whatever running SMB).
so if you want to "see" XP box you'd need to run this
Code:
#nmap -p 139 ip_of_target_comp
#nmap -p 445 ip_of_target_comp
if these ports are open - that means you can "see" your target comp, if not - check firewall settings and status of shared folders and network connection properties.
There may be another reason - you can not see NET BIOS of you XP box. Try to start your smb client and connect directly to IP. For konqueror I do like this smb://192.168.1.2

for smb.conf - check this
Code:
[public]
   path = /home/storage/ISO
   public = yes
   writable = yes
   printable = no
it's my share config and it works. but first need to check permitions for the target folder
Code:
#ls -la /mnt/sdb5/Music3
and need to add smbuser with command smbpasswd
check man smbpasswd - it's easy

>>Also How Do I Edit The smb Conf In An Editor It Tells Me No Write Access
configuration file must have the following permitions:
Code:
ls -la /etc/samba/smb.conf
-rw-r--r-- 1 root root 20695 2007-11-12 23:09 /etc/samba/smb.conf
Don't even think to change it!!!
in order to edit this file - stop samba
Code:
sudo /etc/init.d/samba stop
and then edit smb.conf with your favourite text editor
Code:
sudo vi /etc/samba/smb.conf

Last edited by andygo; 12-08-2007 at 02:25 AM.
 
Old 12-08-2007, 02:05 PM   #3
smuggly
LQ Newbie
 
Registered: Jul 2004
Location: Reno Nevada
Distribution: Ubuntu Ultimate 1.5
Posts: 24

Original Poster
Rep: Reputation: 15
Ok I Can See The Puter With Netstat,So I Guess My Ports Are Open,So It Must Be Firewall,When I Go To Firewall Gaurddog Settings Everything Is Greyed Out,No Access,It Says Since Im Ruinning W/out SU Priveliges I Cant Change Anything And The Firewall Is Running With Reduced Functionality,Does This Sound Right?
Thanks For Ur Help
Tom
 
Old 12-09-2007, 12:59 AM   #4
andygo
Member
 
Registered: May 2005
Location: Ukraine, Kiev
Distribution: SLES, Raspbian, Ubuntu-Mate, LineageOS
Posts: 114

Rep: Reputation: 15
just stop it.
Code:
sudo /etc/init.d/iptables stop
and it seems that you need to learn some basics of users rights in unix-like systems
 
Old 12-09-2007, 02:33 AM   #5
smuggly
LQ Newbie
 
Registered: Jul 2004
Location: Reno Nevada
Distribution: Ubuntu Ultimate 1.5
Posts: 24

Original Poster
Rep: Reputation: 15
I Get A Command Not Found When I Put That In The Shell?



Thanks Tom
 
Old 12-09-2007, 07:06 PM   #6
smuggly
LQ Newbie
 
Registered: Jul 2004
Location: Reno Nevada
Distribution: Ubuntu Ultimate 1.5
Posts: 24

Original Poster
Rep: Reputation: 15
Talking Solved

I Added A Rew Things In Samba From Share To User,And Never To Bad Password & WaLa.............Thanks For Your Help Google Is A Wonderful Thing W/Linux
 
Old 12-16-2007, 06:54 PM   #7
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 234Reputation: 234Reputation: 234
Yo smuggly,
A, I hope gentle, word to the wise: capitalizing every word is fine, even proper, for titles; but it sucks^H^H^H^H^H doesn't work well for prose.

It's lucky you found your answer, because your Q was to difficult for me to read to try to help.
 
  


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
Networking with windows/installing windows chepkutwo Linux - Networking 1 09-08-2004 08:30 AM
networking with windows exigent Linux - Networking 1 02-19-2004 07:01 AM
Networking with Windows XP and printing to Windows XP shared printer AlanButler Red Hat 1 10-27-2003 06:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > MEPIS

All times are GMT -5. The time now is 01:22 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
Open Source Consulting | Domain Registration