LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 03-31-2004, 01:39 AM   #1
mattymatt79
LQ Newbie
 
Registered: Mar 2004
Location: Virginia
Distribution: OpenBSD
Posts: 7

Rep: Reputation: 0
SAMBA Help?


Well ok,
I know SAMBA is installed, I know webmin works, I know that SAMBA kinda works sometimes, as in sometimes, my windows laptop sometimes find the SAMBA server when I've been on the wired network to the computer. Sometimes it doesn't. Sound odd?
It will connect to it on the internetwork ip address of the server, but it will only connect to the outside address only after I have connected to it via the 192 generic one.

Windows gives me some lame error message that means about zero to me... anything I'm doing wrong or at least places I can start looking to figure out whats going on here?

I was told look at my LMHosts file, but on the windows machine or the OpenBSD one?

Linux newbie slowly finding the way though all this

Last edited by mattymatt79; 03-31-2004 at 01:55 AM.
 
Old 03-31-2004, 01:47 AM   #2
bosewicht
Senior Member
 
Registered: Aug 2003
Location: Houston, TX
Distribution: Arch
Posts: 1,380

Rep: Reputation: 47
is ur linux?/bsd ? box able to hit the windoze computer?
 
Old 03-31-2004, 01:54 AM   #3
mattymatt79
LQ Newbie
 
Registered: Mar 2004
Location: Virginia
Distribution: OpenBSD
Posts: 7

Original Poster
Rep: Reputation: 0
hrmm as in how?
Im able to open up a tightvnc box on my windows and open my xfree desktop

I really dont know how i'd ping my windows computer from my linux box
 
Old 03-31-2004, 02:36 AM   #4
mattymatt79
LQ Newbie
 
Registered: Mar 2004
Location: Virginia
Distribution: OpenBSD
Posts: 7

Original Poster
Rep: Reputation: 0
its deffeintly a windows problem...
I can access my webserver from a browser,
I can ping the server's ip address

Webmin starts and lets me change whatever I want to change..

only thing I cant do is get windows to open my file share

An error ocurred while reconnecting to
\\serverIPadress\mking

Microsoft Windows Networking: The local device name is already in use.
The connection has not been restored

How is it already in use?
Webmin says there are no connections active right now...

Anyone anyone?


windows says the share
 
Old 03-31-2004, 02:36 AM   #5
Onemessedupjedi
Member
 
Registered: Sep 2003
Location: Oregon
Distribution: Slackware 9.1
Posts: 194

Rep: Reputation: 30
same way you ping in windows.
ping ip
edit: posted at the same time as you. I don't know what your problem is but it is actually probably a linux/SAMBA problem. Samba has options whereas windows kinda does, but you don't use them. With samba you can very easily accidently cut off access to XP machines. See if there are any options in use the could prevent it, and networking with XP does not work with the default samba config if you use sambas sample smb.conf. If you use an easy distros it should.

Last edited by Onemessedupjedi; 03-31-2004 at 02:40 AM.
 
Old 03-31-2004, 02:43 AM   #6
mattymatt79
LQ Newbie
 
Registered: Mar 2004
Location: Virginia
Distribution: OpenBSD
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by Onemessedupjedi
same way you ping in windows.
ping ip

Well yes, but all windows gives me is the local ip address
the 192.168 address

even with an ipconfig /all

the server is on a hardwired network connection
the laptop is wireless

when i connect to the hard wired connection the 192 addresses
i can then find the server via the actual ip address of it the 68.blah.blah.blah address
 
Old 03-31-2004, 02:46 AM   #7
mattymatt79
LQ Newbie
 
Registered: Mar 2004
Location: Virginia
Distribution: OpenBSD
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by Onemessedupjedi
same way you ping in windows.
ping ip
edit: posted at the same time as you. I don't know what your problem is but it is actually probably a linux/SAMBA problem. Samba has options whereas windows kinda does, but you don't use them. With samba you can very easily accidently cut off access to XP machines. See if there are any options in use the could prevent it, and networking with XP does not work with the default samba config if you use sambas sample smb.conf. If you use an easy distros it should.
Im using OpenBSD
was simple enough for my linux newbie to get installed with the laptop sitting next to it and reading damn near every website imaginable on getting apache, samba, openbsd, perl, php and mySql installed correctly.. I think i got everything done...
So I need to look in webmin for stuff on the samba.conf? ok

but what am I looking for XP stuff????

I have pretty much the default configured, but im not sure as to what i should be looking at to see if thats the problem

Last edited by mattymatt79; 03-31-2004 at 02:52 AM.
 
Old 03-31-2004, 03:20 AM   #8
mattymatt79
LQ Newbie
 
Registered: Mar 2004
Location: Virginia
Distribution: OpenBSD
Posts: 7

Original Poster
Rep: Reputation: 0
Could it be that Im using XP Home edition on the laptop?
 
Old 03-31-2004, 05:14 AM   #9
Onemessedupjedi
Member
 
Registered: Sep 2003
Location: Oregon
Distribution: Slackware 9.1
Posts: 194

Rep: Reputation: 30
It's not that it's home


here's a smb.conf that should suit you and allow full interaction as long as you write your shares right. Pay attention to the descriptions of what you have to do to get certain attributes out of shares.

[global]

workgroup = yourworkgroup
netbios name = yourname
server string = Samba Server %v
security = domain
encrypt passwords = Yes
map to guest = Bad User
log file = /var/log/samba/log.%m
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
dns proxy = No


everyone says to use share as security but domain seems to be the only one that works for me. You should read up on configuring samba, that's a very bare-bone smb.conf that came from someone's default mandrake.
 
  


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
Samba/Cups print sharing problems (/var/spool/samba files) Gates1026 Linux - General 9 06-23-2013 02:33 AM
Samba - Connecting from WinXP Pro to Samba running on Debian critical Linux - Networking 1 02-03-2005 10:36 AM
I need the content from thegoldenear.org/toolbox/unices/samba/samba-setup.html rtg2001 Linux - Networking 1 08-05-2004 06:54 PM
Samba: Authenticate Linux-Clients in Samba Domain & Mount mule Linux - Software 0 12-10-2003 02:21 AM
when i restart SAMBA,it says:stop samba failed,start SAMBA OK! whepin Linux - Networking 3 12-26-2001 06:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:07 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