![]() |
![]() |
#1 |
I moo ablest echo power!
May 2013
180110 Posts |
![]()
I'm trying to set up a CADO-NFS factoring system for set-and-forget runs. I have my desktop, a laptop, and 3 RPis (2 currently on the network). I have CADO-NFS downloaded, built, and confirmed working on each of the individual machines.
I want to use the laptop as the server to which all the clients connect. The problem is how to actually connect to the Ubuntu bash shell. I followed EdH's instructions, and they work perfectly if I use one of the RPis as the "server" (only tested the setup, not to completion, for obvious reasons). With the laptop as the server, however, the clients aren't able to successfully connect. Anybody have any ideas how I might tackle this? I'm looking around to see if there's any solutions online, but I'm not seeing anything. |
![]() |
![]() |
![]() |
#2 |
"Ed Hall"
Dec 2009
Adirondack Mtns
32·523 Posts |
![]()
Are your client machines able to connect with your server via the IP for other tests than CADO-NFS?
Is it possible your Win10 OS is masking, firewalling or proxying its IP (and/or the port) that the LAN sees when you use the shell? Is it possibly a permission issue in Win10. I'm reaching and probably asking ignorant questions, but I thought I'd toss them out anyway... |
![]() |
![]() |
![]() |
#3 |
I moo ablest echo power!
May 2013
1,801 Posts |
![]()
I think you're right that it's some sort of masking/forwarding issue. For instance, I can use the scp command to transfer files to and from my Pi to my desktop or laptop, but only on the command line of the bash shell on the desktop or laptop. So the bash shell has no trouble making outbound connections--I just need to figure out how to get inbound connections.
|
![]() |
![]() |
![]() |
#4 | |
"Ed Hall"
Dec 2009
Adirondack Mtns
32×523 Posts |
![]() Quote:
Is it the same address you're using with scp for inbound traffic? How does it compare to ipconfig's IPv4 address in Win10? When you scp out, is there a way to query what the incoming address is at the destination? I just thought of something. You need an ssh-server on the machine you're trying to send to. It will send scp without the server installed, but it won't accept incoming scp. I use openssh-server on my Ubuntu machines. |
|
![]() |
![]() |
![]() |
#5 | |
I moo ablest echo power!
May 2013
70916 Posts |
![]() Quote:
Code:
192.168.1.4 2001:0:9d38:953c:3c3b:3958:9de6:cacd Edit: Got openssh installed in the shell and set the port to 2222. I get a "connection timed out" when trying to ssh in from the Pi. I've set an inbound rule for the windows firewall to let connections through on the given port number, but that didn't help any. I can install openssh-server in the bash shell and see if that helps. Last fiddled with by wombatman on 2018-04-08 at 03:53 |
|
![]() |
![]() |
![]() |
#6 | |
If I May
"Chris Halsall"
Sep 2002
Barbados
3·3,529 Posts |
![]() Quote:
You will also have to make sure that the standard port 22 is "open" on the server, and that the firewall(s) between them aren't blocking it. (Smart people, of course, map this to other places.) |
|
![]() |
![]() |
![]() |
#7 | |
I moo ablest echo power!
May 2013
70916 Posts |
![]() Quote:
As for what's not clear, I'm confused as to why I can make connections in one direction (Ubuntu/Windows 10 shell to Pi) and not the other (Pi to Ubuntu shell). |
|
![]() |
![]() |
![]() |
#8 | |
If I May
"Chris Halsall"
Sep 2002
Barbados
3×3,529 Posts |
![]() Quote:
If not, you might want to drill down on the firewalls. And perhaps "sniff the traffic" everywhere you can. Please trust me on this... Been there; done that. Last fiddled with by chalsall on 2018-04-08 at 04:04 |
|
![]() |
![]() |
![]() |
#9 | |
I moo ablest echo power!
May 2013
1,801 Posts |
![]() Quote:
I have to go to bed now, but I'll follow up tomorrow and let you know about telnet. |
|
![]() |
![]() |
![]() |
#10 |
I moo ablest echo power!
May 2013
111000010012 Posts |
![]()
Ok! I got it somewhat figured out. I had something set up incorrectly in the windows firewall inbound rule that was causing the connection to be refused! I'm going to keep working on this, but I'll be back if I hit a speedbump again.
Thanks for the telnet suggestion--that tipped off that the firewall wasn't set up properly! ![]() Edit: CADO-NFS WORKS! ![]() ![]() ![]() ![]() Last fiddled with by wombatman on 2018-04-09 at 00:18 |
![]() |
![]() |
![]() |
#11 | |
"Ed Hall"
Dec 2009
Adirondack Mtns
10010011000112 Posts |
![]() Quote:
|
|
![]() |
![]() |
![]() |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Connecting Prime95 to GIMPS | clarkpetri | Information & Answers | 5 | 2017-10-15 17:22 |
Bash on Ubuntu on Windows | henryzz | Software | 11 | 2017-07-28 21:24 |
Microsoft adds Linux Bash Shell and Ubuntu Binaries to Win10 | ewmayer | Software | 5 | 2017-07-22 01:52 |
Please take a look my shell Script in Unix | tinhnho | Programming | 2 | 2005-09-21 20:20 |
Shell script puzzle #1 | Xyzzy | Linux | 5 | 2004-01-26 10:31 |