Can't get samba to work!

Reply

Join Date: Feb 2002
Posts: 12,019
Reputation: cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light 
Solved Threads: 129
Administrator
Staff Writer
cscgal's Avatar
cscgal cscgal is offline Offline
The Queen of DaniWeb

Can't get samba to work!

 
0
  #1
May 19th, 2002
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!
Dani the Computer Science Gal
Follow my Twitter feed! twitter.com/daniweb
Reply With Quote Quick reply to this message  
Join Date: May 2002
Posts: 18
Reputation: knalb is an unknown quantity at this point 
Solved Threads: 1
knalb knalb is offline Offline
Newbie Poster

Re:Can't get samba to work!

 
0
  #2
May 26th, 2002
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
This post was generated by a team of Attack Squirrels.
Reply With Quote Quick reply to this message  
Join Date: Feb 2002
Posts: 12,019
Reputation: cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light 
Solved Threads: 129
Administrator
Staff Writer
cscgal's Avatar
cscgal cscgal is offline Offline
The Queen of DaniWeb

Re:Can't get samba to work!

 
0
  #3
May 26th, 2002
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!
Dani the Computer Science Gal
Follow my Twitter feed! twitter.com/daniweb
Reply With Quote Quick reply to this message  
Join Date: May 2002
Posts: 18
Reputation: knalb is an unknown quantity at this point 
Solved Threads: 1
knalb knalb is offline Offline
Newbie Poster

Re:Can't get samba to work!

 
0
  #4
May 27th, 2002
so whats the story cheif.. get it working yet?
This post was generated by a team of Attack Squirrels.
Reply With Quote Quick reply to this message  
Join Date: Feb 2002
Posts: 12,019
Reputation: cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light 
Solved Threads: 129
Administrator
Staff Writer
cscgal's Avatar
cscgal cscgal is offline Offline
The Queen of DaniWeb

Re:Can't get samba to work!

 
0
  #5
May 27th, 2002
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).
Dani the Computer Science Gal
Follow my Twitter feed! twitter.com/daniweb
Reply With Quote Quick reply to this message  
Join Date: May 2002
Posts: 18
Reputation: knalb is an unknown quantity at this point 
Solved Threads: 1
knalb knalb is offline Offline
Newbie Poster

Re:Can't get samba to work!

 
0
  #6
May 27th, 2002
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??
This post was generated by a team of Attack Squirrels.
Reply With Quote Quick reply to this message  
Join Date: Feb 2002
Posts: 12,019
Reputation: cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light 
Solved Threads: 129
Administrator
Staff Writer
cscgal's Avatar
cscgal cscgal is offline Offline
The Queen of DaniWeb

Re:Can't get samba to work!

 
0
  #7
May 27th, 2002
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?
Dani the Computer Science Gal
Follow my Twitter feed! twitter.com/daniweb
Reply With Quote Quick reply to this message  
Join Date: Feb 2002
Posts: 175
Reputation: AlPhA is an unknown quantity at this point 
Solved Threads: 0
AlPhA AlPhA is offline Offline
Junior Poster

Re:Can't get samba to work!

 
0
  #8
May 27th, 2002
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
One day, we will die, when it comes...... i dunno, i'm not psychic!
Reply With Quote Quick reply to this message  
Join Date: Feb 2002
Posts: 12,019
Reputation: cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light 
Solved Threads: 129
Administrator
Staff Writer
cscgal's Avatar
cscgal cscgal is offline Offline
The Queen of DaniWeb

Re:Can't get samba to work!

 
0
  #9
May 29th, 2002
Attn: Alpha

??? HUH? ???
Dani the Computer Science Gal
Follow my Twitter feed! twitter.com/daniweb
Reply With Quote Quick reply to this message  
Join Date: May 2002
Posts: 18
Reputation: knalb is an unknown quantity at this point 
Solved Threads: 1
knalb knalb is offline Offline
Newbie Poster

Re:Can't get samba to work!

 
0
  #10
Jun 2nd, 2002
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..
This post was generated by a team of Attack Squirrels.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Other Threads in the *nix Software Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC