User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the *nix Software section within the Tech Talk category of DaniWeb, a massive community of 402,004 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,393 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our *nix Software advertiser: Lunarpages Linux Web Hosting
Views: 11066 | Replies: 17
Reply
Join Date: Feb 2002
Location: Lawn Guylen, NY
Posts: 10,889
Reputation: cscgal is just really nice cscgal is just really nice cscgal is just really nice cscgal is just really nice cscgal is just really nice 
Rep Power: 32
Solved Threads: 109
Admin
Staff Writer
cscgal's Avatar
cscgal cscgal is online now Online
The Queen of DaniWeb

Can't get samba to work!

  #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!
AddThis Social Bookmark Button
Reply With Quote  
Join Date: May 2002
Posts: 18
Reputation: knalb is an unknown quantity at this point 
Rep Power: 7
Solved Threads: 0
knalb knalb is offline Offline
Newbie Poster

Re:Can't get samba to work!

  #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  
Join Date: Feb 2002
Location: Lawn Guylen, NY
Posts: 10,889
Reputation: cscgal is just really nice cscgal is just really nice cscgal is just really nice cscgal is just really nice cscgal is just really nice 
Rep Power: 32
Solved Threads: 109
Admin
Staff Writer
cscgal's Avatar
cscgal cscgal is online now Online
The Queen of DaniWeb

Re:Can't get samba to work!

  #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!
Reply With Quote  
Join Date: May 2002
Posts: 18
Reputation: knalb is an unknown quantity at this point 
Rep Power: 7
Solved Threads: 0
knalb knalb is offline Offline
Newbie Poster

Re:Can't get samba to work!

  #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  
Join Date: Feb 2002
Location: Lawn Guylen, NY
Posts: 10,889
Reputation: cscgal is just really nice cscgal is just really nice cscgal is just really nice cscgal is just really nice cscgal is just really nice 
Rep Power: 32
Solved Threads: 109
Admin
Staff Writer
cscgal's Avatar
cscgal cscgal is online now Online
The Queen of DaniWeb

Re:Can't get samba to work!

  #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).
Reply With Quote  
Join Date: May 2002
Posts: 18
Reputation: knalb is an unknown quantity at this point 
Rep Power: 7
Solved Threads: 0
knalb knalb is offline Offline
Newbie Poster

Re:Can't get samba to work!

  #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  
Join Date: Feb 2002
Location: Lawn Guylen, NY
Posts: 10,889
Reputation: cscgal is just really nice cscgal is just really nice cscgal is just really nice cscgal is just really nice cscgal is just really nice 
Rep Power: 32
Solved Threads: 109
Admin
Staff Writer
cscgal's Avatar
cscgal cscgal is online now Online
The Queen of DaniWeb

Re:Can't get samba to work!

  #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?
Reply With Quote  
Join Date: Feb 2002
Posts: 175
Reputation: AlPhA is an unknown quantity at this point 
Rep Power: 7
Solved Threads: 1
AlPhA AlPhA is offline Offline
Junior Poster

Re:Can't get samba to work!

  #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  
Join Date: Feb 2002
Location: Lawn Guylen, NY
Posts: 10,889
Reputation: cscgal is just really nice cscgal is just really nice cscgal is just really nice cscgal is just really nice cscgal is just really nice 
Rep Power: 32
Solved Threads: 109
Admin
Staff Writer
cscgal's Avatar
cscgal cscgal is online now Online
The Queen of DaniWeb

Re:Can't get samba to work!

  #9  
May 29th, 2002
Attn: Alpha

??? HUH? ???
Reply With Quote  
Join Date: May 2002
Posts: 18
Reputation: knalb is an unknown quantity at this point 
Rep Power: 7
Solved Threads: 0
knalb knalb is offline Offline
Newbie Poster

Re:Can't get samba to work!

  #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  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb *nix Software Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Other Threads in the *nix Software Forum

All times are GMT -4. The time now is 9:25 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC