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.
Distribution: dual boot windows 7 and bodhi laptop and fedora pc and 2 windows machines
Posts: 59
Rep:
ubuntu 16.04.3 to windows 7
ive just installed ubuntu on a laptop and trying to set up my network so can move documents from win 7 to ubuntu and back, as well as set up my printer which is on win 7.
ive done this before but for the life in me cant remember how i managed it
Distribution: dual boot windows 7 and bodhi laptop and fedora pc and 2 windows machines
Posts: 59
Original Poster
Rep:
ive managed to get part way to solving this. i can access ubuntu from my win7 pc but cant access win7 from ubuntu
and i cant get ubuntu to see the win7 printer
ive got cups installed but cant find the printer
ive given permission in windows firewall etc
and followed a few online posts on howto set it up via samba
any help appreciated
Distribution: dual boot windows 7 and bodhi laptop and fedora pc and 2 windows machines
Posts: 59
Original Poster
Rep:
john@Inspiron:~$ smbclient -L <Win7 JOHN-PC>
bash: Win7: No such file or directory
john@Inspiron:~$
i can see the windows pc in network but get this error when try open it
unable to access location
failed to retrieve share from server. connection timed out
Distribution: dual boot windows 7 and bodhi laptop and fedora pc and 2 windows machines
Posts: 59
Original Poster
Rep:
john@Inspiron:~$ smbclient -L JOHN-PC
WARNING: The "syslog" option is deprecated
Enter john's password:
Connection to JOHN-PC failed (Error NT_STATUS_IO_TIMEOUT)
john@Inspiron:~$
PING JOHN-PC (81.200.64.50) 56(84) bytes of data.
64 bytes from advancedsearch.virginmedia.com (81.200.64.50): icmp_seq=1 ttl=53 time=25.3 ms
64 bytes from advancedsearch.virginmedia.com (81.200.64.50): icmp_seq=2 ttl=53 time=28.9 ms
64 bytes from advancedsearch.virginmedia.com (81.200.64.50): icmp_seq=3 ttl=53 time=22.6 ms
64 bytes from advancedsearch.virginmedia.com (81.200.64.50): icmp_seq=4 ttl=53 time=22.3 ms
64 bytes from advancedsearch.virginmedia.com (81.200.64.50): icmp_seq=5 ttl=53 time=22.7 ms
64 bytes from advancedsearch.virginmedia.com (81.200.64.50): icmp_seq=6 ttl=53 time=22.4 ms
64 bytes from advancedsearch.virginmedia.com (81.200.64.50): icmp_seq=7 ttl=53 time=22.4 ms
64 bytes from advancedsearch.virginmedia.com (81.200.64.50): icmp_seq=8 ttl=53 time=22.4 ms
64 bytes from advancedsearch.virginmedia.com (81.200.64.50): icmp_seq=9 ttl=53 time=24.2 ms
64 bytes from advancedsearch.virginmedia.com (81.200.64.50): icmp_seq=10 ttl=53 time=23.8 ms
64 bytes from advancedsearch.virginmedia.com (81.200.64.50): icmp_seq=11 ttl=53 time=22.6 ms
64 bytes from advancedsearch.virginmedia.com (81.200.64.50): icmp_seq=12 ttl=53 time=22.1 ms
64 bytes from advancedsearch.virginmedia.com (81.200.64.50): icmp_seq=13 ttl=53 time=22.3 ms
64 bytes from advancedsearch.virginmedia.com (81.200.64.50): icmp_seq=14 ttl=53 time=23.1 ms
64 bytes from advancedsearch.virginmedia.com (81.200.64.50): i
john@Inspiron:~$ smbclient -L JOHN-PC
WARNING: The "syslog" option is deprecated
Enter john's password:
Connection to JOHN-PC failed (Error NT_STATUS_IO_TIMEOUT)
john@Inspiron:~$
Looks like windows cannot be seen from your linux. Either nothing is shared or blocked by a firewall (or something similar).
Distribution: dual boot windows 7 and bodhi laptop and fedora pc and 2 windows machines
Posts: 59
Original Poster
Rep:
Quote:
Originally Posted by michaelk
JOHN-PC is not being resolved to a LAN IP address. Replace JOHN-PC with the actual IP address of the Win 7 PC.
replaced JOHN-PC with IP and get
ohn@Inspiron:~$ smbclient -L 86.24.242.47
WARNING: The "syslog" option is deprecated
Enter john's password:
Connection to 86.24.242.47 failed (Error NT_STATUS_IO_TIMEOUT)
john@Inspiron:~$
turned firewall of and get
Connection to JOHN-PC failed (Error NT_STATUS_IO_TIMEOUT)
john@Inspiron:~$
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.