camster123
asked on
Share my Windows 7 C folder with another Ubuntu Linux 15.10 Lenovo desktop computer
I would like to share my Windows 7 C folder with another Ubuntu Linux 15.10 Lenovo desktop computer. The following URL describes how to do this procedure. http://colans.net/blog/how-mount-windows-file-share-ubuntu-1304
When I try it , I get the Ubuntu Linux error message: mount error(115): Operation now in progress even though I thought I had entered the right password for Password for root@//FVENDING/Developmen tX64: **********
Here are the Ubuntu Linux commands I tried: 1. sudo apt-get install cifs-utils 2. sudo mkdir /mnt/LOCAL_SHARE_NAME 3. sudo mount -t cifs //FRANKSLINUX/REMOTE_SHARE _NAME /mnt/LOCAL_SHARE_NAME as well as sudo mount -t cifs //FRANKSPC/REMOTE_SHARE_NA ME /mnt/LOCAL_SHARE_NAME where //FRANKSPC is the name assigned to the Windows 7 PC.
Please tell me what I am doing wrong and how to fix this problem.
Also, I would like to share my Windows 7 C folder with another Ubuntu Linux 15.10 Lenovo desktop computer in the ** reverse ** direction. The following URL describes how to do that procedure. http://askubuntu.com/questions/489337/cant-access-windows-share
Try this procedure out.
Open Home folder(or any other folder, whatever)
Goto File-> Connect to Server
type your friend's IP with smb protocol e.g. smb://192.168.1.123/
Click Connect -> Enter Credential
Do I need to install and configure either the Ubuntu Linux Samba server and client ** and/or ** The Windows 7 Server Message Block (SMB) Protocol which is a network file sharing protocol, and as implemented in Microsoft Windows is known as Microsoft SMB Protocol. The set of message packets that defines a particular version of the protocol is called a dialect. The Common Internet File System (CIFS) Protocol is a dialect of SMB. Both SMB and CIFS are also available on VMS, several versions of Unix, and other operating systems.
The technical reference to CIFS is available from Microsoft Corporation at Common Internet File System (CIFS) File Access Protocol.
Please tell me how to do the above procedure.
Do the Windows 7 and Ubuntu Linux 15.19 computers have to be on the same network?
Thank you in advance.
When I try it , I get the Ubuntu Linux error message: mount error(115): Operation now in progress even though I thought I had entered the right password for Password for root@//FVENDING/Developmen
Here are the Ubuntu Linux commands I tried: 1. sudo apt-get install cifs-utils 2. sudo mkdir /mnt/LOCAL_SHARE_NAME 3. sudo mount -t cifs //FRANKSLINUX/REMOTE_SHARE
Please tell me what I am doing wrong and how to fix this problem.
Also, I would like to share my Windows 7 C folder with another Ubuntu Linux 15.10 Lenovo desktop computer in the ** reverse ** direction. The following URL describes how to do that procedure. http://askubuntu.com/questions/489337/cant-access-windows-share
Try this procedure out.
Open Home folder(or any other folder, whatever)
Goto File-> Connect to Server
type your friend's IP with smb protocol e.g. smb://192.168.1.123/
Click Connect -> Enter Credential
Do I need to install and configure either the Ubuntu Linux Samba server and client ** and/or ** The Windows 7 Server Message Block (SMB) Protocol which is a network file sharing protocol, and as implemented in Microsoft Windows is known as Microsoft SMB Protocol. The set of message packets that defines a particular version of the protocol is called a dialect. The Common Internet File System (CIFS) Protocol is a dialect of SMB. Both SMB and CIFS are also available on VMS, several versions of Unix, and other operating systems.
The technical reference to CIFS is available from Microsoft Corporation at Common Internet File System (CIFS) File Access Protocol.
Please tell me how to do the above procedure.
Do the Windows 7 and Ubuntu Linux 15.19 computers have to be on the same network?
Thank you in advance.
ASKER
@arnold, Thank you for your excellent answer.
1. Since it cannot be root, what should I change it to and how I change root to xyzw?
2. If I want to mount c:\vending,what tools for UNIX should I add on Windows 7 to allow Ubuntu to mount using NFS? Is it Cygwin?
3. How do I configure the sub client to use credentials that exist on the Windows7? What is the definition of subclient?
1. Since it cannot be root, what should I change it to and how I change root to xyzw?
2. If I want to mount c:\vending,what tools for UNIX should I add on Windows 7 to allow Ubuntu to mount using NFS? Is it Cygwin?
3. How do I configure the sub client to use credentials that exist on the Windows7? What is the definition of subclient?
Are you defining the share as available to everyone?.
Share a single specific folder and set the sharing and security settings to allow access to everyone group.
Usually, one should not be running as root.
Create a local user on Linux that matches one on Windows
Either have your session under this user in Ubuntu or su - windows_user
While running as the windows_user mount the share.
What is you after, there are different ways to transfer files. It all depends on direction.......
Share a single specific folder and set the sharing and security settings to allow access to everyone group.
Usually, one should not be running as root.
Create a local user on Linux that matches one on Windows
Either have your session under this user in Ubuntu or su - windows_user
While running as the windows_user mount the share.
What is you after, there are different ways to transfer files. It all depends on direction.......
Try in Ubuntu
Smbmount username=windows_user to specify a username versus it using the logged in user.
Smbmount username=windows_user to specify a username versus it using the logged in user.
Try using smb://windowsuser:password @192.168.1 .123/share name
Might be an older reference
http://lists.samba.org/archive/samba-technical/2001-April/012999.html
If passwords not included, I think you will be prompted for it.
In the prior username can be provided as part of the -o option specification.
Might be an older reference
http://lists.samba.org/archive/samba-technical/2001-April/012999.html
If passwords not included, I think you will be prompted for it.
In the prior username can be provided as part of the -o option specification.
ASKER
@Arnold, I will try your recommendations and accept your solutions within the next hour, Thank you.
There s no rush, I would remind that sharing the entire c drive would expose it including to possibly when you are on the road and the connection is set to home/work zone versus public ......
ASKER
@arnold,
I followed these steps.
1. I created a local linux user Adminstrator.
2. su - Administrator
3. Administrator@venkat-Think Station-S1 0:~$ sudo mount -t cifs //FCHANG/c/mnt/LOCAL_SHARE _NAME -o username=Administrator password=Hello1234
at this when I ls -l /mnt/LOCAL_SHARE_NAME , it is empty except for 2 standard LINUX sudirectories, . and ...
What did I do wrong and how to rectify my error?
Thank you
I followed these steps.
1. I created a local linux user Adminstrator.
2. su - Administrator
3. Administrator@venkat-Think
at this when I ls -l /mnt/LOCAL_SHARE_NAME , it is empty except for 2 standard LINUX sudirectories, . and ...
What did I do wrong and how to rectify my error?
Thank you
Administrator is usually disabled with a modern system.
Your command presumably has a space
Mkdir /mnt/local
try using
smbmount //fchang/c /mnt/local -o username=<yourwindowslogin >
What happens?
df -k
Your command presumably has a space
Mkdir /mnt/local
try using
smbmount //fchang/c /mnt/local -o username=<yourwindowslogin
What happens?
df -k
ASKER
@arnold, Here is what happens:
venkat@venkat-ThinkStation -S10:~$ sudo mount //fchang/c /mnt/LOCAL_SHARE_NAME -o username=venkat
[sudo] password for venkat:
Password for venkat@//fchang/c: ********
mount error(115): Operation now in progress
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
venkat@venkat-ThinkStation -S10:~$ df -k
Filesystem 1K-blocks Used Available Use% Mounted on
udev 2005264 0 2005264 0% /dev
tmpfs 404520 32076 372444 8% /run
/dev/sda1 149579044 5751976 136205796 5% /
tmpfs 2022600 232 2022368 1% /dev/shm
tmpfs 5120 4 5116 1% /run/lock
tmpfs 2022600 0 2022600 0% /sys/fs/cgroup
cgmfs 100 0 100 0% /run/cgmanager/fs
tmpfs 404520 48 404472 1% /run/user/1000
May I ask how to fix this?
With your help, I am making progress.
Thank you.
venkat@venkat-ThinkStation
[sudo] password for venkat:
Password for venkat@//fchang/c: ********
mount error(115): Operation now in progress
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
venkat@venkat-ThinkStation
Filesystem 1K-blocks Used Available Use% Mounted on
udev 2005264 0 2005264 0% /dev
tmpfs 404520 32076 372444 8% /run
/dev/sda1 149579044 5751976 136205796 5% /
tmpfs 2022600 232 2022368 1% /dev/shm
tmpfs 5120 4 5116 1% /run/lock
tmpfs 2022600 0 2022600 0% /sys/fs/cgroup
cgmfs 100 0 100 0% /run/cgmanager/fs
tmpfs 404520 48 404472 1% /run/user/1000
May I ask how to fix this?
With your help, I am making progress.
Thank you.
Does Venkat password Is the same across both systems?
please post
ls -l /mnt
please post
ls -l /mnt
ASKER
@arnold, I made Venkat password the same across both systems and
sudo mount //fchang/c /mnt/LOCAL_SHARE_NAME -o username=venkat
still does not work.
I added 192.168.10.15 Fchang to Ubuntu Linux 15.10 /etc.hosts:
When I ping the Windows 7 computer from the Ubuntu Linux 15.10 computer this is what I get: vendat@vendat-ThinkStation -S10:~$ ping 192.168.10.15 PING 192.168.10.15 (192.168.10.15) 56(84) bytes of data. From 24.93.64.198 icmp_seq=112 Destination Net Unreachable
When I ping the Ubuntu Linux 15.10 computer from the Windows 7 computer this is what I get: ping192.168.0.6 Reply from 192.168.0.6: bytes=32 time=15ms TTL=62
I checked the firewalls on both sides, Windows and Ubuntu Linux (sudo ufw status) and they are inactive or turned off.
Also, I am not using Administrator anymore.
Please advise how to resolve this problem when you have time.
sudo mount //fchang/c /mnt/LOCAL_SHARE_NAME -o username=venkat
still does not work.
I added 192.168.10.15 Fchang to Ubuntu Linux 15.10 /etc.hosts:
When I ping the Windows 7 computer from the Ubuntu Linux 15.10 computer this is what I get: vendat@vendat-ThinkStation
When I ping the Ubuntu Linux 15.10 computer from the Windows 7 computer this is what I get: ping192.168.0.6 Reply from 192.168.0.6: bytes=32 time=15ms TTL=62
I checked the firewalls on both sides, Windows and Ubuntu Linux (sudo ufw status) and they are inactive or turned off.
Also, I am not using Administrator anymore.
Please advise how to resolve this problem when you have time.
Please list the directory contents of /mnt
Mount.cifs has a multiuser option.
Sudo mount accesses the share with elevated rights,
It errors out, the listing from /mnt will say whether the issue is that the mount point you reference might not exist...
Mount.cifs has a multiuser option.
Sudo mount accesses the share with elevated rights,
It errors out, the listing from /mnt will say whether the issue is that the mount point you reference might not exist...
The mount command as you have it should work, but the issue seems to be whether the user used to access the shared resource ..........
The difficulty with my test, I had to test on a system that is AD integrated and had to use an adminitrative account to mount the path
sudo mount -t cifs //fchang/c /mnt/folder -o user=<windows Admin User>
see whether than changes the behavior i.e. venkat is it an administrative user on the windows system?
The difficulty with my test, I had to test on a system that is AD integrated and had to use an adminitrative account to mount the path
sudo mount -t cifs //fchang/c /mnt/folder -o user=<windows Admin User>
see whether than changes the behavior i.e. venkat is it an administrative user on the windows system?
ASKER
@arnold
Here are the directory contents of /mnt:
venkat@venkat-ThinkStation -S10:~$ ls -l /mnt
total 8
drwxr-xr-x 2 root root 4096 Feb 7 14:39 folder
drwxr-xr-x 2 root root 4096 Feb 6 15:22 LOCAL_SHARE_NAME
Here is my result from: sudo mount -t cifs //fchang/c /mnt/folder -o user=Venkat (where Venkat is an administrative user on the windows system?)
venkat@venkat-ThinkStation -S10:~$ sudo mount -t cifs //fchang/c /mnt/folder -o user=Venkat
[sudo] password for venkat:
Password for Venkat@//fchang/c: ***********
mount error(115): Operation now in progress
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
In addition, I re-enabled ping on the Windows 7 machine using the following steps:
Kilgoretrout is correct: newer versions of Windows (Vista, Server 2008 and Windows 7) all disallow "ping" by default. Here's one way to re-enable ping:
Quote:
http://www.howtonetworking.com/vista/enablieping.htm
By design, Vista doesn’t allow any ICMP pass though the firewall and you can’t ping it. However, you may have two options.
A. You can create inbound rule for ICMP using Windows Firewall with Advanced Security. To do this, please follow these steps.
1) Open Administrative Tools from Control Panel.
2) Double-click Windows Firewall with Advanced Security.
3) Double-click Inbound Rules.
4) You may find File and Printer Sharing (Echo – ICMPv#-In). The # can 4 for IPv4 and 6 for IPv6.
5) Decide which one you want to enable and highlight, then click Enable Rule.
B. Whenever the exception for File and Printer Sharing is enabled, Windows Firewall automatically enable ping
afterwards, here is the result of Ping Windows 7 ,192.168.10.15, from ubuntu linux:
venkat@venkat-ThinkStation -S10:~$ ping 192.168.10.15
PING 192.168.10.15 (192.168.10.15) 56(84) bytes of data.
From 24.93.64.198 icmp_seq=112 Destination Net Unreachable
From 24.93.64.198 icmp_seq=743 Destination Net Unreachable
From 24.93.64.198 icmp_seq=1071 Destination Net Unreachable
From 24.93.64.198 icmp_seq=1178 Destination Net Unreachable
From 24.93.64.198 icmp_seq=2172 Destination Net Unreachable
From 24.93.64.198 icmp_seq=2232 Destination Net Unreachable
Here is the result of traceroute 192.168.10.15 ** to windows 7 from ubuntu linux **
venkat@venkat-ThinkStation -S10:~$ traceroute 192.168.10.15
traceroute to 192.168.10.15 (192.168.10.15), 30 hops max, 60 byte packets
1 192.168.0.1 (192.168.0.1) 1.673 ms 2.150 ms 2.528 ms
2 * * *
3 * * *
4 cpe-174-111-126-225.triad. res.rr.com (174.111.126.225) 44.125 ms 44.774 ms 47.382 ms
5 cpe-024-028-255-066.triad. res.rr.com (24.28.255.66) 28.295 ms 29.962 ms 30.105 ms
6 * * *
7 * * *
8 * * *
9 * * *
10 * * *
11 * * *
12 * * *
13 * * *
14 * * *
15 * * *
16 * * *
17 * * *
18 * * *
19 * * *
20 * * *
21 * * *
22 * * *
23 * * *
24 * * *
25 * * *
26 * * *
27 * * *
28 * * *
29 * * *
30 * * *
Thank you very much.
Here are the directory contents of /mnt:
venkat@venkat-ThinkStation
total 8
drwxr-xr-x 2 root root 4096 Feb 7 14:39 folder
drwxr-xr-x 2 root root 4096 Feb 6 15:22 LOCAL_SHARE_NAME
Here is my result from: sudo mount -t cifs //fchang/c /mnt/folder -o user=Venkat (where Venkat is an administrative user on the windows system?)
venkat@venkat-ThinkStation
[sudo] password for venkat:
Password for Venkat@//fchang/c: ***********
mount error(115): Operation now in progress
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
In addition, I re-enabled ping on the Windows 7 machine using the following steps:
Kilgoretrout is correct: newer versions of Windows (Vista, Server 2008 and Windows 7) all disallow "ping" by default. Here's one way to re-enable ping:
Quote:
http://www.howtonetworking.com/vista/enablieping.htm
By design, Vista doesn’t allow any ICMP pass though the firewall and you can’t ping it. However, you may have two options.
A. You can create inbound rule for ICMP using Windows Firewall with Advanced Security. To do this, please follow these steps.
1) Open Administrative Tools from Control Panel.
2) Double-click Windows Firewall with Advanced Security.
3) Double-click Inbound Rules.
4) You may find File and Printer Sharing (Echo – ICMPv#-In). The # can 4 for IPv4 and 6 for IPv6.
5) Decide which one you want to enable and highlight, then click Enable Rule.
B. Whenever the exception for File and Printer Sharing is enabled, Windows Firewall automatically enable ping
afterwards, here is the result of Ping Windows 7 ,192.168.10.15, from ubuntu linux:
venkat@venkat-ThinkStation
PING 192.168.10.15 (192.168.10.15) 56(84) bytes of data.
From 24.93.64.198 icmp_seq=112 Destination Net Unreachable
From 24.93.64.198 icmp_seq=743 Destination Net Unreachable
From 24.93.64.198 icmp_seq=1071 Destination Net Unreachable
From 24.93.64.198 icmp_seq=1178 Destination Net Unreachable
From 24.93.64.198 icmp_seq=2172 Destination Net Unreachable
From 24.93.64.198 icmp_seq=2232 Destination Net Unreachable
Here is the result of traceroute 192.168.10.15 ** to windows 7 from ubuntu linux **
venkat@venkat-ThinkStation
traceroute to 192.168.10.15 (192.168.10.15), 30 hops max, 60 byte packets
1 192.168.0.1 (192.168.0.1) 1.673 ms 2.150 ms 2.528 ms
2 * * *
3 * * *
4 cpe-174-111-126-225.triad.
5 cpe-024-028-255-066.triad.
6 * * *
7 * * *
8 * * *
9 * * *
10 * * *
11 * * *
12 * * *
13 * * *
14 * * *
15 * * *
16 * * *
17 * * *
18 * * *
19 * * *
20 * * *
21 * * *
22 * * *
23 * * *
24 * * *
25 * * *
26 * * *
27 * * *
28 * * *
29 * * *
30 * * *
Thank you very much.
Tcheck firewall status on the Windows system to ports dealing with file sharing, 445,139
See if allowing 139 and 445 makes a difference.
Advanced firewall settings for file sharing.
See if allowing 139 and 445 makes a difference.
Advanced firewall settings for file sharing.
You Linux box should have nmap
elevated
nmap -Pn -P21-1024 fchang
Ports 445,139 status.
elevated
nmap -Pn -P21-1024 fchang
Ports 445,139 status.
ASKER
@arnold,
I did the following steps on the Windows 7 computer just now:
C:\Users\Administrator>net sh advfirewall firewall add rule name="NetBIOS TCP Por
t 139" dir=in action=allow protocol=TCP localport=139
Ok.
C:\Users\Administrator>net sh advfirewall firewall add rule name="NetBIOS TCP Por
t 139" dir=out action=allow protocol=TCP localport=139
Ok.
C:\Users\Administrator>net sh advfirewall firewall add rule name="Open Port 445"
dir=in action=allow protocol=TCP localport=445
Ok.
C:\Users\Administrator>net sh advfirewall firewall add rule name="Open Port 445"
dir=out action=allow protocol=TCP localport=445
Ok.
and on the Ubuntu Linux box,
I ran : nmap -Pn -T4 -A -v FCHANG
It returns:
HOST IS UP (0.032s latency)
all 1000 scanned ports on FCHANG(192.168.10.15) are filtered.
Thank you.
I did the following steps on the Windows 7 computer just now:
C:\Users\Administrator>net
t 139" dir=in action=allow protocol=TCP localport=139
Ok.
C:\Users\Administrator>net
t 139" dir=out action=allow protocol=TCP localport=139
Ok.
C:\Users\Administrator>net
dir=in action=allow protocol=TCP localport=445
Ok.
C:\Users\Administrator>net
dir=out action=allow protocol=TCP localport=445
Ok.
and on the Ubuntu Linux box,
I ran : nmap -Pn -T4 -A -v FCHANG
It returns:
HOST IS UP (0.032s latency)
all 1000 scanned ports on FCHANG(192.168.10.15) are filtered.
Thank you.
telnet tchang 445
.
Use netsh if you prefer it versus the GUI to list under which rule home/work, public ..
Usually these rules exist and are bypassed when file sharing is enabled.
.
Use netsh if you prefer it versus the GUI to list under which rule home/work, public ..
Usually these rules exist and are bypassed when file sharing is enabled.
ASKER
@arnold,
Here is the ping 192.168.10.15 output after adjusting Windows firewall to allow 139 and 445
venkat@venkat-ThinkStation -S10:~$ ping FCHANG
PING Fchang (192.168.10.15) 56(84) bytes of data.
From be34.chrcnctr01r.southeast .rr.com (24.93.64.198) icmp_seq=346 Destination Net Unreachable
From be34.chrcnctr01r.southeast .rr.com (24.93.64.198) icmp_seq=507 Destination Net Unreachable
From be34.chrcnctr01r.southeast .rr.com (24.93.64.198) icmp_seq=543 Destination Net Unreachable
--- Fchang ping statistics ---
949 packets transmitted, 0 received, +3 errors, 100% packet loss, time 948767ms
Is there anything else to try?
Thank you.
Here is the ping 192.168.10.15 output after adjusting Windows firewall to allow 139 and 445
venkat@venkat-ThinkStation
PING Fchang (192.168.10.15) 56(84) bytes of data.
From be34.chrcnctr01r.southeast
From be34.chrcnctr01r.southeast
From be34.chrcnctr01r.southeast
--- Fchang ping statistics ---
949 packets transmitted, 0 received, +3 errors, 100% packet loss, time 948767ms
Is there anything else to try?
Thank you.
ASKER
@arnold,
venkat@venkat-ThinkStation -S10:~$ telnet fchang 445
Trying 192.168.10.15...
just freezes.
Thank you.
venkat@venkat-ThinkStation
Trying 192.168.10.15...
just freezes.
Thank you.
If I am not mistaken, the netsh com and merely adds the rule, it does not enable it for either or all hone,work,public.....
Please look at the advanced firewall settings to see whether it is enabled under the home/work chain matching the type reflected in network sharing.......
Please look at the advanced firewall settings to see whether it is enabled under the home/work chain matching the type reflected in network sharing.......
ASKER
@Arnold,
How do I join the ubuntu linux 15.10 computer to our windows domain?
Thank you.
How do I join the ubuntu linux 15.10 computer to our windows domain?
Thank you.
What is the ip of your Linux box versus the ip of the Windows box.
It looks like your laptop might be connected via wan/wireless and the packets are being sent in the wrong direction.
Reflecting a public ip, suggests that.
netstat -rn on both systems.
They have yo reflect the same IPs/netmask.
Are tge two connect via VPN?
It looks like your laptop might be connected via wan/wireless and the packets are being sent in the wrong direction.
Reflecting a public ip, suggests that.
netstat -rn on both systems.
They have yo reflect the same IPs/netmask.
Are tge two connect via VPN?
ASKER
@arnold,
if my Windows 7 computer name is FCHANG and it belongs to the workgroup named WORKGROUP and my company email address looks like fchang@clickitinc.com,
What is the exact syntax of the ubuntu linux command I should type to join my Ubuntu Linux 15.10 computer to an Windows 7 computer workgroup, WORKGROUP ?
Please comment on this URL
http://askubuntu.com/questions/571685/ubuntu-14-04-lts-windows-7-sharing
I found about how to join linux computers to Windows 7 workgroups,
Also, since my packets are being sent in the wrong direction between Windows 7 and Ubuntu Linux 15.0 and my windows 7 laptop might be connected via wan/wireless , what exact steps do I take to correct this situation
I will accept all of your solutions this afternoon.
Thank you.
if my Windows 7 computer name is FCHANG and it belongs to the workgroup named WORKGROUP and my company email address looks like fchang@clickitinc.com,
What is the exact syntax of the ubuntu linux command I should type to join my Ubuntu Linux 15.10 computer to an Windows 7 computer workgroup, WORKGROUP ?
Please comment on this URL
http://askubuntu.com/questions/571685/ubuntu-14-04-lts-windows-7-sharing
I found about how to join linux computers to Windows 7 workgroups,
Also, since my packets are being sent in the wrong direction between Windows 7 and Ubuntu Linux 15.0 and my windows 7 laptop might be connected via wan/wireless , what exact steps do I take to correct this situation
I will accept all of your solutions this afternoon.
Thank you.
The joining deals with ACtive directory and not workgroups.
To attach t tothe workgroup, you would need to edit /etc/smb/smb.conf
Look for realm, it might be already as a default a member of the workgroup group.
In this peer to peer network, user duplication is all that is needed.
I referenced, but that site is .......
Unfortunately, you did not answer the question request dealing with running netstat -rn on each system to see the ip/netmask to make sure they are on the same network.
How about as a test turn off the windows firewall to see whether you successfully mount the share.
It depends on your environment and how permanent you are looking and time/effort to setup.
Ubuntu samba4/ADDC is a possible setup where you would organize, centralize your environment.
To attach t tothe workgroup, you would need to edit /etc/smb/smb.conf
Look for realm, it might be already as a default a member of the workgroup group.
In this peer to peer network, user duplication is all that is needed.
I referenced, but that site is .......
Unfortunately, you did not answer the question request dealing with running netstat -rn on each system to see the ip/netmask to make sure they are on the same network.
How about as a test turn off the windows firewall to see whether you successfully mount the share.
It depends on your environment and how permanent you are looking and time/effort to setup.
Ubuntu samba4/ADDC is a possible setup where you would organize, centralize your environment.
ASKER
@arnold,
May I ask you more questions about this topic later tonight? Thank you.
May I ask you more questions about this topic later tonight? Thank you.
ASKER
@arnold,
Here is the netstat -rn from the Ubuntu Linux 15.10 side:
venkat@venkat-ThinkStation -S10:~$ netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 enp15s0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 enp15s0
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 enp15s0
Here is the netstat -rn from the windows 7 side:
:\Users\Administrator>nets tat -rn
========================== ========== ========== ========== ========== =========
Interface List
21...54 09 f5 58 44 16 ......Check Point Virtual Network Adapter For Endpoint
PN Client
20...00 ff e0 23 20 07 ......Juniper Network Connect Virtual Adapter
11...6c 0b 84 09 d8 5b ......Intel(R) Ethernet Connection I217-LM
1......................... ..Software Loopback Interface 1
12...00 00 00 00 00 00 00 e0 Microsoft 6to4 Adapter
16...00 00 00 00 00 00 00 e0 Teredo Tunneling Pseudo-Interface
19...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #3
22...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #5
23...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #6
========================== ========== ========== ========== ========== =========
IPv4 Route Table
========================== ========== ========== ========== ========== =========
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 192.168.10.1 192.168.10.15 276
127.0.0.0 255.0.0.0 On-link 127.0.0.1 306
127.0.0.1 255.255.255.255 On-link 127.0.0.1 306
127.255.255.255 255.255.255.255 On-link 127.0.0.1 306
192.168.10.0 255.255.255.0 On-link 192.168.10.15 276
192.168.10.15 255.255.255.255 On-link 192.168.10.15 276
192.168.10.255 255.255.255.255 On-link 192.168.10.15 276
224.0.0.0 240.0.0.0 On-link 127.0.0.1 306
224.0.0.0 240.0.0.0 On-link 192.168.10.15 276
255.255.255.255 255.255.255.255 On-link 127.0.0.1 306
255.255.255.255 255.255.255.255 On-link 192.168.10.15 276
========================== ========== ========== ========== ========== =========
Persistent Routes:
Network Address Netmask Gateway Address Metric
0.0.0.0 0.0.0.0 192.168.10.1 Default
========================== ========== ========== ========== ========== =========
IPv6 Route Table
========================== ========== ========== ========== ========== =========
Active Routes:
If Metric Network Destination Gateway
1 306 ::1/128 On-link
11 276 fe80::/64 On-link
11 276 fe80::215e:c627:f3d8:312d/ 128
On-link
1 306 ff00::/8 On-link
11 276 ff00::/8 On-link
========================== ========== ========== ========== ========== =========
Persistent Routes:
None
Is it possible to join these 2 computers in a common WORKGROUP or domain?
Thank you.
Here is the netstat -rn from the Ubuntu Linux 15.10 side:
venkat@venkat-ThinkStation
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 enp15s0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 enp15s0
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 enp15s0
Here is the netstat -rn from the windows 7 side:
:\Users\Administrator>nets
==========================
Interface List
21...54 09 f5 58 44 16 ......Check Point Virtual Network Adapter For Endpoint
PN Client
20...00 ff e0 23 20 07 ......Juniper Network Connect Virtual Adapter
11...6c 0b 84 09 d8 5b ......Intel(R) Ethernet Connection I217-LM
1.........................
12...00 00 00 00 00 00 00 e0 Microsoft 6to4 Adapter
16...00 00 00 00 00 00 00 e0 Teredo Tunneling Pseudo-Interface
19...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #3
22...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #5
23...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #6
==========================
IPv4 Route Table
==========================
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 192.168.10.1 192.168.10.15 276
127.0.0.0 255.0.0.0 On-link 127.0.0.1 306
127.0.0.1 255.255.255.255 On-link 127.0.0.1 306
127.255.255.255 255.255.255.255 On-link 127.0.0.1 306
192.168.10.0 255.255.255.0 On-link 192.168.10.15 276
192.168.10.15 255.255.255.255 On-link 192.168.10.15 276
192.168.10.255 255.255.255.255 On-link 192.168.10.15 276
224.0.0.0 240.0.0.0 On-link 127.0.0.1 306
224.0.0.0 240.0.0.0 On-link 192.168.10.15 276
255.255.255.255 255.255.255.255 On-link 127.0.0.1 306
255.255.255.255 255.255.255.255 On-link 192.168.10.15 276
==========================
Persistent Routes:
Network Address Netmask Gateway Address Metric
0.0.0.0 0.0.0.0 192.168.10.1 Default
==========================
IPv6 Route Table
==========================
Active Routes:
If Metric Network Destination Gateway
1 306 ::1/128 On-link
11 276 fe80::/64 On-link
11 276 fe80::215e:c627:f3d8:312d/
On-link
1 306 ff00::/8 On-link
11 276 ff00::/8 On-link
==========================
Persistent Routes:
None
Is it possible to join these 2 computers in a common WORKGROUP or domain?
Thank you.
The two systems are on totally different segments, do you have a VPN between them?
If they are connected to the same router, your wired and wireless networks are vlaned in which case, you have to look whether access from the 192.168.0.x Ubuntu to the 192.168.10.15 Windows system's ports.
If they are connected to the same router, your wired and wireless networks are vlaned in which case, you have to look whether access from the 192.168.0.x Ubuntu to the 192.168.10.15 Windows system's ports.
ASKER
@arnold, Thank you for the excellent analysis of netstat -rn.
How do I tell is there is a VPN between them?
Whar is the complete sentence started by "If they are connected to the same router, your wired and wireless networks are vlaned in which case, you have to look whether access from the 192.168.0.x Ubuntu to the 192.168.10.15 Windows system's ports." .....
How may I implement file sharing between the 2 network segments?
How do I tell is there is a VPN between them?
Whar is the complete sentence started by "If they are connected to the same router, your wired and wireless networks are vlaned in which case, you have to look whether access from the 192.168.0.x Ubuntu to the 192.168.10.15 Windows system's ports." .....
How may I implement file sharing between the 2 network segments?
Are the two at the same location?
Do you have two devices one to which Windows connects Nadine to which Ubuntu connects?
Is the setup
1) Ubuntu. Windows
Internet <=> router 1 <=> router2
2). Windows. Ubuntu
Usually devices connected to router 2 can access all resources connected to router1 but not the reverse.
What make/model router do you have
Wireless
Internet <=> router <
Wired
You would need to configure on the router rules that allow IPs/ports from one access to the other.
In this type of a setup, the router possibly has wireless defined as guest barring any access to the wired........
Do you have two devices one to which Windows connects Nadine to which Ubuntu connects?
Is the setup
1) Ubuntu. Windows
Internet <=> router 1 <=> router2
2). Windows. Ubuntu
Usually devices connected to router 2 can access all resources connected to router1 but not the reverse.
What make/model router do you have
Wireless
Internet <=> router <
Wired
You would need to configure on the router rules that allow IPs/ports from one access to the other.
In this type of a setup, the router possibly has wireless defined as guest barring any access to the wired........
ASKER
@arnold,
Yes, the two computers are in the same location, 1 foot apart.
I will try to find out if two routers exist with the setup shown below
as well as their make and model.
1) Ubuntu. Windows
Internet <=> router 1 <=> router2
2). Windows. Ubuntu
What is Nadine?
Yes, the two computers are in the same location, 1 foot apart.
I will try to find out if two routers exist with the setup shown below
as well as their make and model.
1) Ubuntu. Windows
Internet <=> router 1 <=> router2
2). Windows. Ubuntu
What is Nadine?
And one (auto corrected without me noticing)
ASKER
@arnold,
Thank you for all of your help.
Why do the following 2 netstat -rn prove that Ubuntu Linux 15.10 and Windows 7 are on different network segments?
Here is the netstat -rn from the Ubuntu Linux 15.10 side:
venkat@venkat-ThinkStation -S10:~$ netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 enp15s0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 enp15s0
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 enp15s0
Here is the netstat -rn from the windows 7 side:
:\Users\Administrator>nets tat -rn
========================== ========== ========== ========== ========== =========
Interface List
21...54 09 f5 58 44 16 ......Check Point Virtual Network Adapter For Endpoint
PN Client
20...00 ff e0 23 20 07 ......Juniper Network Connect Virtual Adapter
11...6c 0b 84 09 d8 5b ......Intel(R) Ethernet Connection I217-LM
1......................... ..Software Loopback Interface 1
12...00 00 00 00 00 00 00 e0 Microsoft 6to4 Adapter
16...00 00 00 00 00 00 00 e0 Teredo Tunneling Pseudo-Interface
19...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #3
22...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #5
23...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #6
========================== ========== ========== ========== ========== =========
IPv4 Route Table
========================== ========== ========== ========== ========== =========
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 192.168.10.1 192.168.10.15 276
127.0.0.0 255.0.0.0 On-link 127.0.0.1 306
127.0.0.1 255.255.255.255 On-link 127.0.0.1 306
127.255.255.255 255.255.255.255 On-link 127.0.0.1 306
192.168.10.0 255.255.255.0 On-link 192.168.10.15 276
192.168.10.15 255.255.255.255 On-link 192.168.10.15 276
192.168.10.255 255.255.255.255 On-link 192.168.10.15 276
224.0.0.0 240.0.0.0 On-link 127.0.0.1 306
224.0.0.0 240.0.0.0 On-link 192.168.10.15 276
255.255.255.255 255.255.255.255 On-link 127.0.0.1 306
255.255.255.255 255.255.255.255 On-link 192.168.10.15 276
========================== ========== ========== ========== ========== =========
Persistent Routes:
Network Address Netmask Gateway Address Metric
0.0.0.0 0.0.0.0 192.168.10.1 Default
========================== ========== ========== ========== ========== =========
IPv6 Route Table
========================== ========== ========== ========== ========== =========
Active Routes:
If Metric Network Destination Gateway
1 306 ::1/128 On-link
11 276 fe80::/64 On-link
11 276 fe80::215e:c627:f3d8:312d/ 128
On-link
1 306 ff00::/8 On-link
11 276 ff00::/8 On-link
========================== ========== ========== ========== ========== =========
Persistent Routes:
None
Thank you for all of your help.
Why do the following 2 netstat -rn prove that Ubuntu Linux 15.10 and Windows 7 are on different network segments?
Here is the netstat -rn from the Ubuntu Linux 15.10 side:
venkat@venkat-ThinkStation
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 enp15s0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 enp15s0
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 enp15s0
Here is the netstat -rn from the windows 7 side:
:\Users\Administrator>nets
==========================
Interface List
21...54 09 f5 58 44 16 ......Check Point Virtual Network Adapter For Endpoint
PN Client
20...00 ff e0 23 20 07 ......Juniper Network Connect Virtual Adapter
11...6c 0b 84 09 d8 5b ......Intel(R) Ethernet Connection I217-LM
1.........................
12...00 00 00 00 00 00 00 e0 Microsoft 6to4 Adapter
16...00 00 00 00 00 00 00 e0 Teredo Tunneling Pseudo-Interface
19...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #3
22...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #5
23...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #6
==========================
IPv4 Route Table
==========================
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 192.168.10.1 192.168.10.15 276
127.0.0.0 255.0.0.0 On-link 127.0.0.1 306
127.0.0.1 255.255.255.255 On-link 127.0.0.1 306
127.255.255.255 255.255.255.255 On-link 127.0.0.1 306
192.168.10.0 255.255.255.0 On-link 192.168.10.15 276
192.168.10.15 255.255.255.255 On-link 192.168.10.15 276
192.168.10.255 255.255.255.255 On-link 192.168.10.15 276
224.0.0.0 240.0.0.0 On-link 127.0.0.1 306
224.0.0.0 240.0.0.0 On-link 192.168.10.15 276
255.255.255.255 255.255.255.255 On-link 127.0.0.1 306
255.255.255.255 255.255.255.255 On-link 192.168.10.15 276
==========================
Persistent Routes:
Network Address Netmask Gateway Address Metric
0.0.0.0 0.0.0.0 192.168.10.1 Default
==========================
IPv6 Route Table
==========================
Active Routes:
If Metric Network Destination Gateway
1 306 ::1/128 On-link
11 276 fe80::/64 On-link
11 276 fe80::215e:c627:f3d8:312d/
On-link
1 306 ff00::/8 On-link
11 276 ff00::/8 On-link
==========================
Persistent Routes:
None
0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 enp15s0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 enp15s0
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 enp15s0
192.168.10.0 255.255.255.0 On-link 192.168.10.15 276
192.168.10.15 255.255.255.255 On-link 192.168.10.15 276
192.168.10.255 255.255.255.255 On-link 192.168.10.15 276
192.168.10.15 255.255.255.0 is in the segment of IPS 192.168.10.2-254
similarly the other is in
192.168.0.2-254
in a 255.255.255 the first three have to be the same
XXX.YYY.ZZZ.
if they are different, then they are on different networks.
access from 192.168.0.x to 192.168.10.15 is sent to the router 192.168.0.1 and it directs the traffic.
Based on your ping, the router sends the packet destined to 192.168.10.15 to the internet which is why it gets a public IP in the can not reach.
Use whatismyip.com in a browser on both systems, do you get the same Public IP as a response??
If not, that would suggest the two system are connecting through different providers.
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 enp15s0
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 enp15s0
192.168.10.0 255.255.255.0 On-link 192.168.10.15 276
192.168.10.15 255.255.255.255 On-link 192.168.10.15 276
192.168.10.255 255.255.255.255 On-link 192.168.10.15 276
192.168.10.15 255.255.255.0 is in the segment of IPS 192.168.10.2-254
similarly the other is in
192.168.0.2-254
in a 255.255.255 the first three have to be the same
XXX.YYY.ZZZ.
if they are different, then they are on different networks.
access from 192.168.0.x to 192.168.10.15 is sent to the router 192.168.0.1 and it directs the traffic.
Based on your ping, the router sends the packet destined to 192.168.10.15 to the internet which is why it gets a public IP in the can not reach.
Use whatismyip.com in a browser on both systems, do you get the same Public IP as a response??
If not, that would suggest the two system are connecting through different providers.
ASKER
@Arnold, I cannot ping 192.168.10.1, the default gateway, from the Ubuntu Linux 15.10 computer. But I can ping 192.168.10.1, the default gateway, from the Windows 7 computer.
Does it have anything to do with my brother Richard told me that my Ubuntu Linux network configuration file, /etc/network/interfaces, was messed up?
Here it is:
#interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback
Where should I look on the Windows 7 computer for the information necessary to add to the Ubuntu Linux , /etc/network/interfaces?
any help is greatly appreciated.
Does it have anything to do with my brother Richard told me that my Ubuntu Linux network configuration file, /etc/network/interfaces, was messed up?
Here it is:
#interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback
Where should I look on the Windows 7 computer for the information necessary to add to the Ubuntu Linux , /etc/network/interfaces?
any help is greatly appreciated.
They have to be connected to the same device.
Presumably each has access to browse the Internet. If that is not the case, there is no way for me to tell how they are connecting.
It might be if they are connecting wirelessly, that each is connecting to a different wireless network.
I.e. If each goes to whatismyip.com do you get the same ip returned on the site?
Presumably each has access to browse the Internet. If that is not the case, there is no way for me to tell how they are connecting.
It might be if they are connecting wirelessly, that each is connecting to a different wireless network.
I.e. If each goes to whatismyip.com do you get the same ip returned on the site?
ASKER
@Arnold, My manager says he connected the Windows 7 and Ubuntu Linux 15.10 without using a common device such as a 4 port standard router. is that possible? Thank you.
ASKER
@arnold, My manager says he connected the Windows 7 and Ubuntu Linux 15.10 without using a common device such as a 4 port standard router. is that possible? Thank you.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
@arnold, Thank you for valuable expertise and well-composed responses in solving this problem.
it is not advisable to share the whole c: drive. You could add tools for UNIX on the Windows 7 to allow Ubuntu to mount using NFS.
If you are going the way you are, configure sub client to use credentials that exist onthe Windows7 I.e. Owner, admin, your name, whatever account you have on the Windows 7.