Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Hii all, I was able to map a network drive(linux machine folder) on my windows box .but now ip of linux machine has changed and now when i tring to map the same drive again ,i could n't able to do so... could anyone tell me is it because of ip has changed and if it is so how do i tackle it??

share|improve this question

migrated from stackoverflow.com Feb 3 '11 at 9:23

This question came from our site for professional and enthusiast programmers.

add comment

2 Answers

Use names (assigned by DHCP server) to mount network drives.

Before mounting again, try to go into any folders menu (on the top), then Connect a Network Disc and unmount current one (with old IP). This usually helps

share|improve this answer
1  
Thanks Poltos could u plz explain it more means how use names assigned by DHCP server ,from where to get those names nd am trying to mount it from command line –  AMIT Feb 3 '11 at 9:41
    
@AMIT Your windows and linux needs to have IP addresses to communicate. There are two options for this: 1. use static IP. This is not your case, since you have experienced changes in IP. 2. you are getting these addresses from some DHCP. Usually machines requesting for an IP send their prefered "name" to the DHCP servier in hope that he also manages DNS records for the LAN. For example, this is the case if dnsmasq is used as DHCP server or Windows Server. Linux tries to get the name used as hostname, windows it's default machine name. –  PoltoS Feb 13 '11 at 22:01
    
@AMIT Another option is to rely on SMB names: there are not DNS!! SMB protocol also sends broadcast frames over the network to inform neighbours about node names. Linux uses names described in /etc/smb.conf, Windows uses machine name. –  PoltoS Feb 13 '11 at 22:02
add comment

You either need to use static IP addresses, or have a DHCP server that supports dynamic dns. There's not really any way around this. And for your network drive, you will need to map a new drive on the windows machine from the new address.

Some routers also have a system to always hand out the same IP to a system based on advertised hostname, or MAC address, essentially giving you a static IP without the configuration on the host.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.