LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
LinkBack Search this Thread
Old 01-26-2011, 12:25 PM   #1
brizboy
LQ Newbie
 
Registered: Dec 2004
Location: Brisbane Australia
Distribution: Ubuntu/Fedora
Posts: 7

Rep: Reputation: 0
Sharing files from a dual boot Ubuntu/Fedora with Win7


Hi there

I have one computer with windows 7 (computername = windowspc) connected through a modem router to a computer running Ubuntu 10.10 (computername = linuxpc). Had Samba setup and working between them.

Decided to check out Fedora 14 (computername = linuxpc). so set up dual boot on the on the Ubuntu box and installed samba. When Fedora is running Win 7 only sees shares for Fedora. If Ubuntu is running win 7 cannot connect to any shares stating a bad file path. I understand that both linux osíes use the same ip address and thatís probably were Win7 must have problems.

Ran nbtstat Ėr in windows and was able to swap the situation around i.e. win7 sees Ubuntu but not Fedora.

I would like to be able to set it up so that when logged on to either of the linux osíes I would be able to see shares from both partitions in Win7. Or if thatís not possible, to differentiate them in some way so that Win7 would recognise which os was running and display the shares accordingly.

What I am asking for may be absolutely impossible but it never hurts to ask.

All advice appreciated. Found it a hard question to try to google.

Thanks

brizboy
 
Old 01-26-2011, 12:46 PM   #2
isc28240
LQ Newbie
 
Registered: Mar 2004
Distribution: slackware 9.0
Posts: 6

Rep: Reputation: 0
Quote:
Originally Posted by brizboy View Post
Hi there

I have one computer with windows 7 (computername = windowspc) connected through a modem router to a computer running Ubuntu 10.10 (computername = linuxpc). Had Samba setup and working between them.

Decided to check out Fedora 14 (computername = linuxpc). so set up dual boot on the on the Ubuntu box and installed samba. When Fedora is running Win 7 only sees shares for Fedora. If Ubuntu is running win 7 cannot connect to any shares stating a bad file path. I understand that both linux osíes use the same ip address and thatís probably were Win7 must have problems.

Ran nbtstat Ėr in windows and was able to swap the situation around i.e. win7 sees Ubuntu but not Fedora.

I would like to be able to set it up so that when logged on to either of the linux osíes I would be able to see shares from both partitions in Win7. Or if thatís not possible, to differentiate them in some way so that Win7 would recognise which os was running and display the shares accordingly.

What I am asking for may be absolutely impossible but it never hurts to ask.

All advice appreciated. Found it a hard question to try to google.

Thanks

brizboy

When I setup my centos box to share files on my windows network I almost copy this configuration:

http://www.samba.org/samba/docs/man/...html#id2555462

It worked for me.

Regards
 
Old 01-26-2011, 01:09 PM   #3
brizboy
LQ Newbie
 
Registered: Dec 2004
Location: Brisbane Australia
Distribution: Ubuntu/Fedora
Posts: 7

Original Poster
Rep: Reputation: 0
Thanks for quick reply.

I have set up samba on both boxes no problem there. It is the networking of the Dual Boot box and ip address resolution in Win7 that has me stumped. That is to say both os'es on my dual boot linux box have the same ip address. So is there a way to get Win7 to differentiate between the two and load the shares that are related the whichever os I have booted into.

Any more help more than welcome

Thanks

brizboy
 
Old 01-26-2011, 01:17 PM   #4
isc28240
LQ Newbie
 
Registered: Mar 2004
Distribution: slackware 9.0
Posts: 6

Rep: Reputation: 0
I got it. Why donīt you use different IP adresses and different names on both linux boxes?
 
Old 01-26-2011, 07:34 PM   #5
brizboy
LQ Newbie
 
Registered: Dec 2004
Location: Brisbane Australia
Distribution: Ubuntu/Fedora
Posts: 7

Original Poster
Rep: Reputation: 0
Hi

I might not have made my setup clear. It is as follows:

Computer 1 - Win7 ip adress 192.168.1.2
Computer 2 - Dual boot Ubuntu 10.10 and Fedora 14 ip address 192.168.1.3

From my understanding as both linux os'es are on the same computer, using the same connection, the ip address for both would be the same. Changing the netbios name or computer name would not work as Win7 would only use these to resolve the ip address which in this case would be the same.(Could be wrong).

So essentially is there a way for Win7 to recognise which linux os was running on Computer 2 and display the shares accordingly.

Thanks

brizboy
 
  


Reply

Tags
dual boot, fedora 14, samba windows, ubuntu+10.10, windows7


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dual boot problem with Win7 and Ubuntu n7mog Linux - Newbie 5 01-26-2011 12:28 AM
[SOLVED] dual boot Ubuntu meerkat and win7 johnh10000 Linux - General 3 01-09-2011 03:21 AM
[SOLVED] Lost my dual boot Win7 and Ubuntu in new install b75025 Linux - Newbie 1 07-16-2010 12:24 PM
adding Fedora 10 to dual boot with Win7? lenny45 Fedora 11 10-19-2009 12:04 AM
Sharing Files on Vista Ubuntu Dual Boot ArtDeco Linux - Newbie 5 04-04-2008 05:27 PM


All times are GMT -5. The time now is 11:43 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration