Other computer folder browsing in network (lin,xp)
We got 2 comps here, 1 with XP
1 with linux (Fedora Fc4, x86_64) [offcourse I use the linux hehe ]. Anyways, we got 1Cable modem we both connect to that modem and surf from the same 1. We both have diffrent dial ups. When I'm on my xp with bootloader, I can surf in his computer's shared folders within writing \\his-comp-name and all the shared files are loaded. Is it possible to do the same here? and how? Thanks alot. |
I'm not sure what you are asking. Users can share any folder under their /home. If the user has shared it then he knows about it. Or are you trying to view the windows shares from a Linux box?
Code:
mount -t smbfs //machine_name/share /home/<user>/mounting_point To view linux shares from a windows box you need to have samba installed, configured, and running on the linux box. Then you can view them in windows network neighborhood. |
Quote:
Code:
[root@localhost ~]# mount -t smbfs //nik/ /home/zuki/nik I can see it without any user/pass while I dual boot to xp, I just write on "mycomp" "\\nik" What shall I do now m8? |
You forgot the share-name:
mount -t smbfs //nik/ /home/zuki/nik should be: mount -t smbfs //nik/the_share /home/zuki/nik (Sometimes -t smbgs fails, if so try -t cifs) |
Quote:
I didn't get what does the "the_share" means... translate it to XP language :] here's what I get for my tries : Code:
[root@localhost nik]# pwd |
How is the network set up? How is the Linux machine physically connected to the XP machine? Are you using a hub or switch? I looks like the Linux machine can not find the toy XP machine on the network. Can you ping the windows machine from the linux machine? Can you ping it by IP and by hostname?
For example ping nick ping 172.16.0.40 (use you own parameters.) If you can't ping it then fix your network. If you can then specify a valid share after you are sure that you have windows set to share folders, and have one shared, and you have access permissions to it. Also look at man mount |
Quote:
The computer name is nik when I'm @ XP I write in "mycomputer" : "\\nik" and I'm at the shared folders!. What shall I do here then? When I ping nick, what nick shall I ping? his computer name? :Pengy: thanks. |
If you are trying to connect to another machine on a network and can't connect to it, start troubleshooting by pinging the other machines IP address. If you can't ping it then you've got a network problem. Either there is no physical connection between the two, your network card is not configured correctly or your using the wrong driver or none at all, a bad cable end etc.
On the windows box run ipconfig and see what the machines IP is. Then ping it from the Linux box. If you can ping it then it's just a permissions problem. If you can ping it by IP and not machine name then it is a DNS problem. Your going to have to check if there is a usable connection between the 2 machines first. Then if you have folder sharing enabled on the windows box you can mount the share, enter smb://machine_name/share in Konqueror, or use smb4k, linNeighborhood, or whatever you want. ifconfig will give you the IP address on the Linux box. I don't know your network so you will have to troubleshoot it. Good luck. |
on linux ifconfig
Code:
[root@localhost ~]# ifconfig On windows IPCONFIG : Code:
Now what shall I do guys? one of the folder he shares is C:\Download ... I just thought some extra info would help since I can't get it work... maybe I'm not doing something good. |
Try this command and if successfull post the output. If you see a password prompt just press the enter key.
smbclient -L (niks IP address) |
okay...
I've checked the new ipconfig on xp computer (nik) because we both had sudden electricity poweroff (-p LOL) then, I've rechecked his ipconfig and got this : Code:
C:\DOCUME~1\ADMINI~1>ipconfig Code:
[root@localhost ~]# smbclient -L 172.23.237.55 what's now? |
Your linux IP 172.24.1.71
niks IP 172.23.237.55? What is your XP IP address? The linux IP address needs to be on the same subnet. i.e 172.23.237.xxx How are you configuring the IP address in linux? Static? |
Quote:
xp Internet adress = IP Address. . . . . . . . . . . . : 84.94.129.96 xp network adress = 172.23.237.55 linux network IP 172.24.1.71 linux inet adress 84.94.134.79 The Ip in linux = dynamic, not static. I can be wrong though |
Quote:
Linux 172.23.1.1 Windows 172.23.1.2 If you are going to have them like you do you will have to unmask the last 3 octets for them to talk. If you are giving them a static IP which it appears that you are, put everything on the same subnet. I'm talking about everything on the LAN side of the cable modem. The 84.94.129.96 is the internet address that your ISP has given your box. That's fine. Configure the LAN side machines to receive IP from the DHCP server or set them up all on the same subnet. If your cable modem is the DHCP server then all machines will get their addresses from it if you allow them to get addresses dynamically. If you want to set it up statically then give the modem and address and then the machines an individual address. Something like Modem 172.22.0.1 Linux 172.22.1.1 Windows 172.22.1.2 Next machine 172.22.1.3 Also if you can't mount a shared resource by name //nick, then try to mount the machine by it's IP address. You also need to specify the share, that is if you have permissions to access the folder. That could be something like Code:
mount -t smbfs //172.22.1.2/shared_docs /home/user/mounting_point. http://linuxcommand.org/man_pages/smbmount8.html http://rute.2038bug.com/index.html.gz http://rute.2038bug.com/node28.html.gz http://www.linuxhomenetworking.com/ http://www.practicallynetworked.com/ |
how can I change the linux network subnet?
linux network IP 172.24.1.71 to 172.23.237.56???? (becuase xp network address = 172.23.237.55 so it will follow this by one, and I won't have to change the XP network stuff...). |
All times are GMT -5. The time now is 01:22 AM. |