Cannot connect to my local ubuntu file server with SSH SFTP or Samba
I have a Ubuntu Desktop install [Ubuntu 14.04] that I am using as a server for my movies and photos so I can always be backing up via CrashPlan.
I have this server setup with SSH and Samba so I can SFTP to it to update files and retrieve /view files via Samba.
Everything was working fine but I am suddenly getting errors like: ssh: connect to host 192.168.0.7 port 22: No route to host
And Samba plain not connecting.
My network is setup with ethernet as such. And I am making sure I am on the D-Link server when trying to connect.
Cable Modem
|
|
Asus RT-N16 Wireless Router
|
|
D-Link Wireless Router
|
|
Server
The servers internet connection works fine. CrashPlan has been uploading for days. Pings to gmail.com and similar work fine.
But I cannon even ping my server:
users-MacBook-Air:~ user$ ping 192.168.0.7
PING 192.168.0.7 (192.168.0.7): 56 data bytes
ping: sendto: No route to host
ping: sendto: Host is down
Request timeout for icmp_seq 0
ping: sendto: Host is down
Request timeout for icmp_seq 1
ping: sendto: Host is down
Request timeout for icmp_seq 2
ping: sendto: Host is down
Request timeout for icmp_seq 3
ping: sendto: Host is down
Request timeout for icmp_seq 4
ping: sendto: Host is down
Request timeout for icmp_seq 5
ping: sendto: Host is down
Request timeout for icmp_seq 6
ping: sendto: Host is down
Request timeout for icmp_seq 7
ping: sendto: Host is down
Request timeout for icmp_seq 8
I am not sure what the problem would be or how to even go about finding it.
I have reinstalled SSH and Samba with no luck as well as checking that there is no firewall and that there is no odd settings in my routers, both of which have the latest firmware.
I even have this problem if my laptop is connected by ethernet to the DLINK server.
Edit:
arp-scan returns:
movies@movies:~$ sudo arp-scan --interface=eth0 --localnet
Interface: eth0, datalink type: EN10MB (Ethernet)
Starting arp-scan 1.8.1 with 256 hosts (http://www.nta-monitor.com/tools/arp-scan/)
192.168.0.1 5c:d9:98:6a:60:08 D-Link Corporation
1 packets received by filter, 0 packets dropped by kernel
Ending arp-scan 1.8.1: 256 hosts scanned in 1.869 seconds (136.97 hosts/sec). 1 responded
ufw status returns:
movies@movies:~$ sudo ufw status
Status: inactive
networking server ssh samba
add a comment |
I have a Ubuntu Desktop install [Ubuntu 14.04] that I am using as a server for my movies and photos so I can always be backing up via CrashPlan.
I have this server setup with SSH and Samba so I can SFTP to it to update files and retrieve /view files via Samba.
Everything was working fine but I am suddenly getting errors like: ssh: connect to host 192.168.0.7 port 22: No route to host
And Samba plain not connecting.
My network is setup with ethernet as such. And I am making sure I am on the D-Link server when trying to connect.
Cable Modem
|
|
Asus RT-N16 Wireless Router
|
|
D-Link Wireless Router
|
|
Server
The servers internet connection works fine. CrashPlan has been uploading for days. Pings to gmail.com and similar work fine.
But I cannon even ping my server:
users-MacBook-Air:~ user$ ping 192.168.0.7
PING 192.168.0.7 (192.168.0.7): 56 data bytes
ping: sendto: No route to host
ping: sendto: Host is down
Request timeout for icmp_seq 0
ping: sendto: Host is down
Request timeout for icmp_seq 1
ping: sendto: Host is down
Request timeout for icmp_seq 2
ping: sendto: Host is down
Request timeout for icmp_seq 3
ping: sendto: Host is down
Request timeout for icmp_seq 4
ping: sendto: Host is down
Request timeout for icmp_seq 5
ping: sendto: Host is down
Request timeout for icmp_seq 6
ping: sendto: Host is down
Request timeout for icmp_seq 7
ping: sendto: Host is down
Request timeout for icmp_seq 8
I am not sure what the problem would be or how to even go about finding it.
I have reinstalled SSH and Samba with no luck as well as checking that there is no firewall and that there is no odd settings in my routers, both of which have the latest firmware.
I even have this problem if my laptop is connected by ethernet to the DLINK server.
Edit:
arp-scan returns:
movies@movies:~$ sudo arp-scan --interface=eth0 --localnet
Interface: eth0, datalink type: EN10MB (Ethernet)
Starting arp-scan 1.8.1 with 256 hosts (http://www.nta-monitor.com/tools/arp-scan/)
192.168.0.1 5c:d9:98:6a:60:08 D-Link Corporation
1 packets received by filter, 0 packets dropped by kernel
Ending arp-scan 1.8.1: 256 hosts scanned in 1.869 seconds (136.97 hosts/sec). 1 responded
ufw status returns:
movies@movies:~$ sudo ufw status
Status: inactive
networking server ssh samba
Check, maybe is ip changed on server. Put output onifconfigor/andnm-toolandsudo ufw status.
– 2707974
Apr 25 '14 at 10:42
I check the IP before I try each time.
– ian
Apr 25 '14 at 16:37
add a comment |
I have a Ubuntu Desktop install [Ubuntu 14.04] that I am using as a server for my movies and photos so I can always be backing up via CrashPlan.
I have this server setup with SSH and Samba so I can SFTP to it to update files and retrieve /view files via Samba.
Everything was working fine but I am suddenly getting errors like: ssh: connect to host 192.168.0.7 port 22: No route to host
And Samba plain not connecting.
My network is setup with ethernet as such. And I am making sure I am on the D-Link server when trying to connect.
Cable Modem
|
|
Asus RT-N16 Wireless Router
|
|
D-Link Wireless Router
|
|
Server
The servers internet connection works fine. CrashPlan has been uploading for days. Pings to gmail.com and similar work fine.
But I cannon even ping my server:
users-MacBook-Air:~ user$ ping 192.168.0.7
PING 192.168.0.7 (192.168.0.7): 56 data bytes
ping: sendto: No route to host
ping: sendto: Host is down
Request timeout for icmp_seq 0
ping: sendto: Host is down
Request timeout for icmp_seq 1
ping: sendto: Host is down
Request timeout for icmp_seq 2
ping: sendto: Host is down
Request timeout for icmp_seq 3
ping: sendto: Host is down
Request timeout for icmp_seq 4
ping: sendto: Host is down
Request timeout for icmp_seq 5
ping: sendto: Host is down
Request timeout for icmp_seq 6
ping: sendto: Host is down
Request timeout for icmp_seq 7
ping: sendto: Host is down
Request timeout for icmp_seq 8
I am not sure what the problem would be or how to even go about finding it.
I have reinstalled SSH and Samba with no luck as well as checking that there is no firewall and that there is no odd settings in my routers, both of which have the latest firmware.
I even have this problem if my laptop is connected by ethernet to the DLINK server.
Edit:
arp-scan returns:
movies@movies:~$ sudo arp-scan --interface=eth0 --localnet
Interface: eth0, datalink type: EN10MB (Ethernet)
Starting arp-scan 1.8.1 with 256 hosts (http://www.nta-monitor.com/tools/arp-scan/)
192.168.0.1 5c:d9:98:6a:60:08 D-Link Corporation
1 packets received by filter, 0 packets dropped by kernel
Ending arp-scan 1.8.1: 256 hosts scanned in 1.869 seconds (136.97 hosts/sec). 1 responded
ufw status returns:
movies@movies:~$ sudo ufw status
Status: inactive
networking server ssh samba
I have a Ubuntu Desktop install [Ubuntu 14.04] that I am using as a server for my movies and photos so I can always be backing up via CrashPlan.
I have this server setup with SSH and Samba so I can SFTP to it to update files and retrieve /view files via Samba.
Everything was working fine but I am suddenly getting errors like: ssh: connect to host 192.168.0.7 port 22: No route to host
And Samba plain not connecting.
My network is setup with ethernet as such. And I am making sure I am on the D-Link server when trying to connect.
Cable Modem
|
|
Asus RT-N16 Wireless Router
|
|
D-Link Wireless Router
|
|
Server
The servers internet connection works fine. CrashPlan has been uploading for days. Pings to gmail.com and similar work fine.
But I cannon even ping my server:
users-MacBook-Air:~ user$ ping 192.168.0.7
PING 192.168.0.7 (192.168.0.7): 56 data bytes
ping: sendto: No route to host
ping: sendto: Host is down
Request timeout for icmp_seq 0
ping: sendto: Host is down
Request timeout for icmp_seq 1
ping: sendto: Host is down
Request timeout for icmp_seq 2
ping: sendto: Host is down
Request timeout for icmp_seq 3
ping: sendto: Host is down
Request timeout for icmp_seq 4
ping: sendto: Host is down
Request timeout for icmp_seq 5
ping: sendto: Host is down
Request timeout for icmp_seq 6
ping: sendto: Host is down
Request timeout for icmp_seq 7
ping: sendto: Host is down
Request timeout for icmp_seq 8
I am not sure what the problem would be or how to even go about finding it.
I have reinstalled SSH and Samba with no luck as well as checking that there is no firewall and that there is no odd settings in my routers, both of which have the latest firmware.
I even have this problem if my laptop is connected by ethernet to the DLINK server.
Edit:
arp-scan returns:
movies@movies:~$ sudo arp-scan --interface=eth0 --localnet
Interface: eth0, datalink type: EN10MB (Ethernet)
Starting arp-scan 1.8.1 with 256 hosts (http://www.nta-monitor.com/tools/arp-scan/)
192.168.0.1 5c:d9:98:6a:60:08 D-Link Corporation
1 packets received by filter, 0 packets dropped by kernel
Ending arp-scan 1.8.1: 256 hosts scanned in 1.869 seconds (136.97 hosts/sec). 1 responded
ufw status returns:
movies@movies:~$ sudo ufw status
Status: inactive
networking server ssh samba
networking server ssh samba
edited Apr 28 '14 at 15:23
ian
asked Apr 25 '14 at 4:31
ianian
10112
10112
Check, maybe is ip changed on server. Put output onifconfigor/andnm-toolandsudo ufw status.
– 2707974
Apr 25 '14 at 10:42
I check the IP before I try each time.
– ian
Apr 25 '14 at 16:37
add a comment |
Check, maybe is ip changed on server. Put output onifconfigor/andnm-toolandsudo ufw status.
– 2707974
Apr 25 '14 at 10:42
I check the IP before I try each time.
– ian
Apr 25 '14 at 16:37
Check, maybe is ip changed on server. Put output on
ifconfig or/and nm-tool and sudo ufw status.– 2707974
Apr 25 '14 at 10:42
Check, maybe is ip changed on server. Put output on
ifconfig or/and nm-tool and sudo ufw status.– 2707974
Apr 25 '14 at 10:42
I check the IP before I try each time.
– ian
Apr 25 '14 at 16:37
I check the IP before I try each time.
– ian
Apr 25 '14 at 16:37
add a comment |
1 Answer
1
active
oldest
votes
Both router are configured like dhcp server? Maybe you have 2 host with the same ip address. Try with apr-scan to see your local network hosts. If you need to install sudo apt-get install arp-scan. Do arp-scan from server. Also check status of firewall sudo ufw status. You can edit question and put output from arp-scan.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f454967%2fcannot-connect-to-my-local-ubuntu-file-server-with-ssh-sftp-or-samba%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Both router are configured like dhcp server? Maybe you have 2 host with the same ip address. Try with apr-scan to see your local network hosts. If you need to install sudo apt-get install arp-scan. Do arp-scan from server. Also check status of firewall sudo ufw status. You can edit question and put output from arp-scan.
add a comment |
Both router are configured like dhcp server? Maybe you have 2 host with the same ip address. Try with apr-scan to see your local network hosts. If you need to install sudo apt-get install arp-scan. Do arp-scan from server. Also check status of firewall sudo ufw status. You can edit question and put output from arp-scan.
add a comment |
Both router are configured like dhcp server? Maybe you have 2 host with the same ip address. Try with apr-scan to see your local network hosts. If you need to install sudo apt-get install arp-scan. Do arp-scan from server. Also check status of firewall sudo ufw status. You can edit question and put output from arp-scan.
Both router are configured like dhcp server? Maybe you have 2 host with the same ip address. Try with apr-scan to see your local network hosts. If you need to install sudo apt-get install arp-scan. Do arp-scan from server. Also check status of firewall sudo ufw status. You can edit question and put output from arp-scan.
answered Apr 28 '14 at 10:09
27079742707974
8,07352238
8,07352238
add a comment |
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f454967%2fcannot-connect-to-my-local-ubuntu-file-server-with-ssh-sftp-or-samba%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Check, maybe is ip changed on server. Put output on
ifconfigor/andnm-toolandsudo ufw status.– 2707974
Apr 25 '14 at 10:42
I check the IP before I try each time.
– ian
Apr 25 '14 at 16:37