Linux - NetworkingThis 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.
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.
I got my Windows machine to see my Linux box fine. Drive mapping works...all ok. NOW, is there a way to reverse this? How would I map my Windows machine drive to a Linux mount? Everything talks about Going from Windows to Linux, but not the other way around. Any help would be appreciated...thanks!
Believe it or not, I'm still a little confused. I have made a folder called kt1 on my linux machine, which I want mapped to my main C drive on my Windows BOX. How do I indicate this with the mount command. My Windows computer is named "kpax". This is what I'm trying to do:
mount -t smbfs //kpax/share /kt1
Does that look correct?
Since I have multiple drives on my Windows machine, how does the share know which drive to map?
Quote:
Originally posted by acid_kewpie i think ppl don't talk about it cos it's really easy!
you should be able to mount them straight away with a
mount -t smbfs //host/share /mnt/point
and once that's done, stick an entry in /etc/fstab
Need some help with my Winbox seeing my Linux box. Linux is registering with WINS and I can ping by name. I set the DWORD to 0x01 in the plaintextpassword key.
What is considered the share name in the smb.conf file?
I made accounts on both machine with administrator access just for testing purposes...nothing working. Linux and Windows really hate to talk to one another, huh?
Quote:
Originally posted by b0b0 dude, i just figured it out....
mount -t smbfs -o username=winusername,password=xxxxxx //host/share /dir/to/mount
thats it...now to find where to put it to restore mount point after reboot.../etc/fstab??
this is for win2k...i dont remember where i found the key, but its the "enableplaintextpassword" key that you have to change. it is originally 0x00. needs to be 0x01. (thats in hex)
Samba supports encrypted passwords..woohoo!! thats my next project.
My problem with getting my Winbox seeing my Linux box was a firewall issue...didnt have the netbios ports open...doh!!
Yes, fortunately I didn't have to mess with my registry and I am using windows XP. My mistake was not creating a share name in windows. It was shared, but I had to create a name for it, so when I used the MOUNT command, it knew what to map. So far, it's all working out ok. Although I don't like having a password in my fstab file. Anyway to encrypt the password itself or hide the password in that file?
Thanks a million!
Quote:
Originally posted by b0b0 Definitly an authentication problem. Did you change the registry entry on your NT box to allow plain text authentication? If not, here is the reg key:
this is for win2k...i dont remember where i found the key, but its the "enableplaintextpassword" key that you have to change. it is originally 0x00. needs to be 0x01. (thats in hex)
Samba supports encrypted passwords..woohoo!! thats my next project.
My problem with getting my Winbox seeing my Linux box was a firewall issue...didnt have the netbios ports open...doh!!
that should work, what errors are you getting? i've never actually tried to autoconnect to a win share, cos it's not linux..! but when i've done it manually i've just used smbclient with the -N flag to not ask for a password, as win98 doesn't sue them anyway. wouldn't really be suprised if win2k was the same.
i do still always get a noexec error mounting linux smb shares tho.. i just ingore it, just one of fstabs idiosyncracies, however you spell it.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.