Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
02-02-2002, 09:10 PM
|
#1
|
Member
Registered: Dec 2001
Posts: 60
Rep:
|
Samba & Win2K pro, "network path not found"
Hello again,
After doing a search on Samba in previous posts, I still cant find the info i need.
RH 7.2 & Win2K
I can see my linux box from windows, but cant access the shares. In windows i get the message "network path not found". I can ping both ways, linux to windows and windows to linux but thats about it.
Ive set up a Samba user to match the user name im logged in to windows with.
Im using password encryption on Samba instead of modifying the windows registry.
Where to go from here ?
|
|
|
02-02-2002, 09:54 PM
|
#2
|
Member
Registered: Jun 2001
Location: Fairfax, California
Distribution: RH 9.0, RH 7.3, Mandrake 8.0
Posts: 986
Rep:
|
A few quick thoughts:
If pinging works, the next step would be to try the following two commands from the Win box:
net use \\Linux_Server's_Name\homes
net view \\Linux_Server's_Name
If these don't work, you might have a problem with the NETBIOS naming on one or both machines. Check that, as well as the hostname/IP address entries in the various (and numerous) places that they occur on both machines.
Also, if necessary, make sure your shares on the Linux box have the "browseable=" option set to "yes".
|
|
|
02-03-2002, 12:00 AM
|
#3
|
Senior Member
Registered: Feb 2001
Location: Atlanta, GA
Distribution: Slackware
Posts: 1,821
Rep: 
|
You can usually check to see if samba is setup correcly on the Linux side by using the smbclient on Linux. On the same linux machine at the command line type:
Code:
# smbclient //machine/share -Uusername%password
This will hopefully give you a clue to what is wrong.
|
|
|
02-03-2002, 12:02 AM
|
#4
|
Member
Registered: Sep 2001
Location: Bryan, Ohio USA (Home of the Etch-A Sketch)
Distribution: RedHat 7.1, 7.2, and 7.3
Posts: 76
Rep:
|
post your smb.conf file
|
|
|
02-03-2002, 11:18 AM
|
#5
|
Member
Registered: Dec 2001
Posts: 60
Original Poster
Rep:
|
Quote:
Originally posted by crabboy
You can usually check to see if samba is setup correcly on the Linux side by using the smbclient on Linux. On the same linux machine at the command line type:
Code:
# smbclient //machine/share -Uusername%password
This will hopefully give you a clue to what is wrong.
|
I can successfully use smbclient //my_server/my_share -U user_name
when i do, i get the samba prompt for a password and after entering the password i get - smb: \>
So I think Samba is setup correctly on the linux box...it just seems to be a matter of connecting from windowz
|
|
|
02-03-2002, 11:31 AM
|
#6
|
Member
Registered: Dec 2001
Posts: 60
Original Poster
Rep:
|
problem found
Quote:
Originally posted by DMR
A few quick thoughts:
If pinging works, the next step would be to try the following two commands from the Win box:
net use \\Linux_Server's_Name\homes
net view \\Linux_Server's_Name
If these don't work, you might have a problem with the NETBIOS naming on one or both machines. Check that, as well as the hostname/IP address entries in the various (and numerous) places that they occur on both machines.
Also, if necessary, make sure your shares on the Linux box have the "browseable=" option set to "yes".
|
my linux shares have "browsable" set to yes
net use and net view both do not work, i get "network path not found". they also take a long time to return. its the same effect when i try to browse the network workgroup. it takes along time then pops up a message "netowkr path not found"
I have entries for the linux box in my windows hosts file, and the lmhosts file. Again, I can ping the linux machine from windows, and see it in the workgroup, but when i select it, i get "network path not found"
|
|
|
02-03-2002, 02:58 PM
|
#7
|
Member
Registered: Sep 2001
Location: Bryan, Ohio USA (Home of the Etch-A Sketch)
Distribution: RedHat 7.1, 7.2, and 7.3
Posts: 76
Rep:
|
let me see what you have in your smb.conf file
i also run 2000 and linux with samba shares
|
|
|
02-03-2002, 03:10 PM
|
#8
|
Member
Registered: Dec 2001
Posts: 60
Original Poster
Rep:
|
my smb.conf
#Samba config file, names changed
[global]
workgroup = my_workgroup_name
netbios name = my_linux_box_name
server string = Samba server on my_linux_box_name
hosts allow = ip list here
log file = /var/log/samba/%m.log
max log size = 0
security = user
encrypt passwords = yes
smb password file = /etc/samba/smbpasswd
socket options = TCP_NO_DELAY SO_RCVBUF=8192 SO_SNDBUF=8192
dns proxy = no
[homes]
comment = Home directories
browseable = yes
writeable = yes
[my_share_name]
comment = my linux share
path = /home/share
browsable = yes
valid users = linux_user_name_here
writable = yes
read only = no
printable = no
create mask = 0765
|
|
|
02-05-2002, 09:57 PM
|
#9
|
Member
Registered: Sep 2001
Location: Bryan, Ohio USA (Home of the Etch-A Sketch)
Distribution: RedHat 7.1, 7.2, and 7.3
Posts: 76
Rep:
|
try adding this to your global section
interfaces = (eth0 ip#)/24 (eth1 ip#)/24
|
|
|
All times are GMT -5. The time now is 06:51 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|