Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
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.
when i try to access samba on my linux comp i get
ignoring badly formed line in configuration file: path /home/bm
tree connect failed NT_BAD_NETWORK_NAME
when i try to access my linux comp from network neighbourhood in windows i get
you were not connected because a duplicate name exists on the network.
i have only 2 comps rh8 and winxp
i went through this document
Originally posted by bm1 when i try to access samba on my linux comp i get
ignoring badly formed line in configuration file: path /home/bm
tree connect failed NT_BAD_NETWORK_NAME
when i try to access my linux comp from network neighbourhood in windows i get
you were not connected because a duplicate name exists on the network.
i have only 2 comps rh8 and winxp
i went through this document
i setup encrypted passwords because winxp (sp1) requires it
and this is what i added at the end of the smb.conf
[sharename]
comment = bmlinux
path = /home/bm/
valid users = bm
public = no
writable = yes
printable = no
create mask = 0765
please help
http://www.tldp.org/HOWTO/SMB-HOWTO.html
Try to change your hostname and try to connect again.
(The usual hostname localhost has to be changed if you use a workgroup with the same name)
hrm, dont think this is it but remove the training '/' on your path line. If it ignored that line during startup then that share has no place to mount it clients. also notice what you put there:
ignoring badly formed line in configuration file: path /home/bm
why is there no '=' in between path and /home/brn as your config shows? hrm...
ok i can access samba on my linux comp. i use the /tmp directory to share and it works. but still my windows comp wont access it. still getting the error message that there is duplicate names on the network. i wonder, i set up a shared internet connection with the ip addresses does windows give out another ipaddress or will it use the same or does it not matter? my linux comp is in MSHOME work group. should i put it back to its own workgroup. thanks heaps
ill take you through how i connect to samba. first is start samba using service smb start. then the samba daemons start [ok]
i can acces my shared linux directory on linux with smbclient//192.168.1.2/tmp -U bm
linux prompts me for a password and then the prompt changes to smb: \> and im inside samba.
am i missing anything?
my windows comp name is bm-wl2r0ygby2vq its ip is 192.168.1.1 in network neighbourhood i can see both boxes but i cant open the linux box i get error duplicate names. i have had trouble with getting my win box on the network and winxp changing the ip address for the internet sharing but i just change them back.
my linux box shows up as samba server(localhost). im thinlking do the ip addresses of each comp have to be even more different than just the last numbers?
win 192.168.1.1
linux 192.168.1.2
im nearly there i can feel it
i saw some things in smb.conf about wins servers not sure if that applies to me. any ideas anyone
Originally posted by bm1 ill take you through how i connect to samba. first is start samba using service smb start. then the samba daemons start [ok]
i can acces my shared linux directory on linux with smbclient//192.168.1.2/tmp -U bm
linux prompts me for a password and then the prompt changes to smb: \> and im inside samba.
am i missing anything?
my windows comp name is bm-wl2r0ygby2vq its ip is 192.168.1.1 in network neighbourhood i can see both boxes but i cant open the linux box i get error duplicate names. i have had trouble with getting my win box on the network and winxp changing the ip address for the internet sharing but i just change them back.
my linux box shows up as samba server(localhost). im thinlking do the ip addresses of each comp have to be even more different than just the last numbers?
win 192.168.1.1
linux 192.168.1.2
im nearly there i can feel it
i saw some things in smb.conf about wins servers not sure if that applies to me. any ideas anyone
well change the hostname by using the command hostname
or echo your hostname to /proc/sys/kernel/hostname
do also the necessary changes in /etc/
i want to tell that i also went through the duplicate names incident-
i checked out and found that the workgroup i had set for linux machines were same(LINUX_LAB)
and these machines had the same hostname.So when i opened it up in win2k i got duplicate name error.
When I changed the hostname it worked!
/bin/hostname is unreadable
/etc/host.conf order host,binds
i dont know what
[
order host,binds
]
means? i am not getting the duplicate names error anymore. i get is not accessible you might not have permission. the network path was not found. i use this command to open samba
smbclient //192.168.1.2/tmp -U bm
is there anything wrong there? iam prompted for a password for the bm logon account.
i cant use
smbclient//bmlinux/tmp -U bm
it always fails, bmlinux is my host name should that be able to work?
Originally posted by bm1 /bin/hostname is unreadable
/etc/host.conf order host,binds
i dont know what
[
order host,binds
]
means? i am not getting the duplicate names error anymore. i get is not accessible you might not have permission. the network path was not found. i use this command to open samba
smbclient //192.168.1.2/tmp -U bm
is there anything wrong there? iam prompted for a password for the bm logon account.
i cant use
smbclient//bmlinux/tmp -U bm
it always fails, bmlinux is my host name should that be able to work?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.