943,289 Members | Top Members by Rank

Ad:
You are currently viewing page 1 of this multi-page discussion thread
May 19th, 2002
0

Can't get samba to work!

Expand Post »
I'm having a huge problem trying to get samba to work. I want to be able to put my Redhat 7.3 box onto my Windows workgroup. My linux box can see my windows pcs fine, but not the other way around. My linux box appears in Network Neighborhood in windows, but everytime I click on it, I get an error saying The Network Path Was Not Found. If I run smbclient from my linux box, it CAN log in to itself fine. Any ideas where I could get really detailed samba help for a newbie? Also, if anyone here was able to get it to work, can you please post your smb.conf file? Thanx!
Similar Threads
Administrator
Staff Writer
Reputation Points: 1422
Solved Threads: 162
The Queen of DaniWeb
cscgal is offline Offline
13,645 posts
since Feb 2002
May 26th, 2002
0

Re:Can't get samba to work!

mmMMMM.. you want help with samba? well who am i to dissapoint.. just remember.. *evil grin* RTFM:

http://www.jsanten.demon.nl/linux.html#samba

and

http://www-jerry.oit.duke.edu/linux/bluedevil/HOWTO/simple_simon_samba_howto.html

and

http://faqchest.dynhost.com/linux/samba-l/

and finally a recent addition:

ftp://ftp.stratus.com/pub/vos/customers/samba/SAMBA_Troubleshooting.rtf
Reputation Points: 15
Solved Threads: 0
Newbie Poster
knalb is offline Offline
18 posts
since May 2002
May 26th, 2002
0

Re:Can't get samba to work!

Very cool! I will take a look at these later tonight and with hope and prayer maybe I'll finally be able to get samba working.

Until now I've been confined to the man pages and to linuxnewbie.org - time to broaden my horizons!
Administrator
Staff Writer
Reputation Points: 1422
Solved Threads: 162
The Queen of DaniWeb
cscgal is offline Offline
13,645 posts
since Feb 2002
May 27th, 2002
0

Re:Can't get samba to work!

so whats the story cheif.. get it working yet?
Reputation Points: 15
Solved Threads: 0
Newbie Poster
knalb is offline Offline
18 posts
since May 2002
May 27th, 2002
0

Re:Can't get samba to work!

It's 4:40 am and I just got home !!
Whew what a day !!

I was all over today, and haven't had a chance to work on anything on my linux box.

I'll have a looksie tomorrow ... (my eyes are half shut right now).
Administrator
Staff Writer
Reputation Points: 1422
Solved Threads: 162
The Queen of DaniWeb
cscgal is offline Offline
13,645 posts
since Feb 2002
May 27th, 2002
0

Re:Can't get samba to work!

Quote originally posted by TechTalkGal ...
It's 4:40 am and I just got home !!
Whew what a day !!

I was all over today, and haven't had a chance to work on anything on my linux box.

I'll have a looksie tomorrow ... (my eyes are half shut right now).
that sounds like a personal problem to me.. ;D don't you know when it comes to linux you're suppose to take one for the team and do whatever it takes??
Reputation Points: 15
Solved Threads: 0
Newbie Poster
knalb is offline Offline
18 posts
since May 2002
May 27th, 2002
0

Re:Can't get samba to work!

I looked over all the sites you sent me to and still no go. My problem is in the "hosts allow" parameter and in the hosts and lmhosts files. Every samba configuration I see shows that I need to specify in these files the IP of localhost (the 192.168.0.x one) and the IPs and NetBIOS names of all the other PCs on the network I want to be able to connect to/from. My problem is that I have a WinXP box directly connected to a cable modem whose IP is 192.168.0.1. This machine uses dhcp to randomly assign an IP to all my other boxes. Take my laptop, for example - it is constantly being moved around from my school's network to my home network - and each time it gets plugged into my hub, it comes back with a different IP!

Do I not need to do anything about these files afterall? Is all this worrying over some stupid lil thing?

If I run "smbclient localhost" from my linux box, I can access my shares! My linux box appears in network neighborhood on my windows machines, but upon clicking it, it says that the computer could not be found on the network or something.

More help please?
Administrator
Staff Writer
Reputation Points: 1422
Solved Threads: 162
The Queen of DaniWeb
cscgal is offline Offline
13,645 posts
since Feb 2002
May 27th, 2002
0

Re:Can't get samba to work!

Hmm... reminds me of something similar that happens in my network (but it's wireless so it might not help much, i believe i have static ip's but i'm 2 lazy 2 check wat i set it 4). Just sayin cause it might help:

Sometimes, when i put my laptop on standby and i later turn it on. I try to view my laptops shared files from my desktop and it says something like not detected. And on my laptop i can't access anything from my desktop because it says not connected to network. I've realized the way 2 fix this is to either restart (old way, found out how 2 make it work wo restartin) or on the bottom right there's a small lil comp icon. All i do is just double click on it and it opens up a window showing me all da computers where i have a networked drive from. I just doubble click the alphaprime (desktop network name) and play around with it, and eventually it connected.

Doubt this will help, but can inspire ya
Reputation Points: 21
Solved Threads: 0
Junior Poster
AlPhA is offline Offline
175 posts
since Feb 2002
May 29th, 2002
0

Re:Can't get samba to work!

Attn: Alpha

??? HUH? ???
Administrator
Staff Writer
Reputation Points: 1422
Solved Threads: 162
The Queen of DaniWeb
cscgal is offline Offline
13,645 posts
since Feb 2002
Jun 2nd, 2002
0

Re:Can't get samba to work!

Quote originally posted by cscgal ...
I looked over all the sites you sent me to and still no go. My problem is in the "hosts allow" parameter and in the hosts and lmhosts files. Every samba configuration I see shows that I need to specify in these files the IP of localhost (the 192.168.0.x one) and the IPs and NetBIOS names of all the other PCs on the network I want to be able to connect to/from. My problem is that I have a WinXP box directly connected to a cable modem whose IP is 192.168.0.1. This machine uses dhcp to randomly assign an IP to all my other boxes. Take my laptop, for example - it is constantly being moved around from my school's network to my home network - and each time it gets plugged into my hub, it comes back with a different IP!

Do I not need to do anything about these files afterall? Is all this worrying over some stupid lil thing?

If I run "smbclient localhost" from my linux box, I can access my shares! My linux box appears in network neighborhood on my windows machines, but upon clicking it, it says that the computer could not be found on the network or something.

More help please?
well.. as far as the hosts allow, there are a copule of options you can do, for one, the dhcp client on your xp box, you should be able to specify certain MAC addresses to get certain ip's.. do this for your linux machine, then every time it hits the network, it gets the same ip.. as for the rest of the machine, have you thought about just having it allow connections from 192.168.*.*? that should allow any computer to connect.. and if for some reason you have to put a hostname in, just use a regular expresion like [a-zA-Z0-9] which should allow any alphanumeric hostname.. of course.. i could be wrong.. as i dont use samba.. i prefer ssh2 and ftp when i need to..
Reputation Points: 15
Solved Threads: 0
Newbie Poster
knalb is offline Offline
18 posts
since May 2002

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Linux Applications and Software Forum Timeline: Ubuntu not installing on my Imac?!
Next Thread in Linux Applications and Software Forum Timeline: smb/// no host "null"





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC