[04:47] <Bert_2> Hi guys, I was looking into why logwatch for my NAS wasn't reporting zfs info and I noticed that the zz-zfs.conf service script for logwatch presumes the zfs and zpool binaries are in /usr/sbin while zfsonlinux in 16.04 installs those in /sbin/, should I file this as a logwatch bug or a zfsonlinux bug on launchpad?
[07:59] <JanC> Bert_2: sounds like a logwatch bug to me
[11:24] <MartesZibellina> I need some help.
[11:24] <MartesZibellina> I can't connect to my server on a client PC, even thought apt update and local SSH-ing work fine.
[11:43] <MartesZibellina> Hello?
[11:49] <ikonia> define can't connect
[11:55] <MartesZibellina> Cygwin says: "Could not resolve hostname <hostname>: Name or service not known".
[11:56] <ikonia> ok - so there is no dns entry for it
[11:56] <tomreyn> so this system has a name resolution issue
[11:56] <ikonia> cygwin....ugh
[11:56] <tomreyn> not an ubuntu issue
[11:56] <MartesZibellina> WinSCP also reports the same issue.
[11:57] <ikonia> you have no name server resoution for your ubuntu IP
[11:57] <MartesZibellina> How do I alleviate that issue?
[11:58] <ikonia> fix whatever your name service is
[11:58] <ikonia> or put an entry in the hostfile on the client
[11:58] <MartesZibellina> How?
[11:58] <tomreyn> or connect to the servers' ip address , not hostname
[11:58] <MartesZibellina> Oh.
[11:58] <MartesZibellina> BTW, how do I check my IP address on the server?
[11:58] <tomreyn> ip a
[12:02] <MartesZibellina> Now it says "Connection refused".
[12:13] <MartesZibellina> Which IP address should I connect to?
[12:16] <tomreyn> the one the service your are trying to connect to listens on
[12:17] <tomreyn> "netstat" -pn or "lsof -i" would show.
[12:32] <MartesZibellina> Which IP address, to be exact?
[12:37] <tomreyn> how would we know?
[12:39] <tomreyn> you are trying to connect, using an unknown protocol, from some client (ip address unknown) to some service (unknown) listening on some (unknown) port on a server running ubuntu using an unknown protocol. it is unknown which network the client and the server reside in, and how connectivity between them can be established.
[12:39] <tomreyn> so, without more details from your end, no one will be able to help you.
[12:43] <MartesZibellina> The server and the client reside in the same home network.
[12:43] <MartesZibellina> I can upload a photo if you want.
[12:48] <MartesZibellina> https://s19.postimg.org/51wl94vsj/lsof_-i_output.jpg
[12:49] <MartesZibellina> BTW, how can I scroll text in the non-desktop terminal?
[12:50] <MartesZibellina> Ie., the one that you open with Alt+1-Alt+6.
[13:14] <MartesZibellina> Hello?
[13:15] <FManTropyx> did you try the PgUp/PgDn keys?
[13:18] <MartesZibellina> They don't work and PgDn only yields me a tilde sign.
[13:20] <rsx> Shift+PgUp/PgDn should work
[13:22] <MartesZibellina> It works!
[13:34] <MartesZibellina> But still, what am I supposed to do?
[13:37] <rsx> is sshd running at your server? check i.e. with netstat -tlp | grep sshd
[13:43] <MartesZibellina> https://s19.postimg.org/4b8gh0y7n/20171105_144153.jpg
[13:43] <MartesZibellina> The command's output.
[13:48] <rsx> what does /var/log/auth.log tells about connection refused?
[13:50] <MartesZibellina> On the client?
[13:50] <rsx> on the server
[13:50] <MartesZibellina> May I post a picture of it?
[13:52] <rsx> yes
[13:53] <MartesZibellina> Or you know what? I'll just upload it on hastebin.
[14:01] <MartesZibellina> https://hastebin.com/uyuwucerix.sql
[14:05] <rsx> Can't see any ssh connection from your client. Did you try to ssh via ip address from your client?
[14:12] <MartesZibellina> When I try connecting to the CORRECT IP address, on the correct port, it says "Connection timed out".
[14:16] <rsx> that means your client cannot access your server at port 22/tcp. Do you get an replay for ping from client to server?
[14:16] <rsx> reply
[14:17] <MartesZibellina> How do I ping it?
[14:17] <MartesZibellina> With cmd?
[14:18] <rsx> cmd: ping <ip address>
[14:18] <MartesZibellina> The host is unreachable.
[14:20] <rsx> can you ping any other machine i.e. router from your client and your server?
[14:23] <MartesZibellina> I can ping my router just fine.
[14:28] <rsx> ping server to router is ok, ping from server to client any vice versa is not?
[14:33] <MartesZibellina> Ping to router from client AND server are both fine.
[14:33] <MartesZibellina> Let me try server->client.
[14:34] <MartesZibellina> That works just fine.
[14:34] <MartesZibellina> How do I stop the pinging process?
[14:35] <rsx> CTRL+C
[14:36] <rsx> do you have any kind of firewall configured on the server?
[14:37] <MartesZibellina> No.
[14:37] <rsx> check iptables -L -n
[14:37] <MartesZibellina> On server?
[14:37] <rsx> yes
[14:38] <rsx> last idea: do all machines have the same netmask?
[14:38] <MartesZibellina> How do I check it?
[14:41] <rsx> ip a
[14:44] <MartesZibellina> https://s19.postimg.org/y0ln9fetf/20171105_154331.jpg
[14:48] <rsx> are client or server connected via WLAN?
[14:49] <rsx> and if so, does your router (access point) allow communication between clients?
[15:06] <ikonia> this is getting silly
[15:06] <ikonia> why is someone trying to run a server who doesn't understand basic networking
[15:11] <MartesZibellina> The client is connected through Ethernet, and the server through a wireless adapter.
[15:12] <ikonia> MartesZibellina: have you got a basic grasp of IP networking
[15:21] <MartesZibellina> I just want my problem to be solved.
[15:22] <ikonia> MartesZibellina: I understand that, that's why I'm asking if you understand basic TCP IP networking
[15:27] <MartesZibellina> I don't think so.
[15:27] <ikonia> ok - so why are you trying to run a server ?
[15:28] <MartesZibellina> I want to make an use of my old PC.
[15:28] <MartesZibellina> Why would it be only lying around, after all?
[15:28] <MartesZibellina> The SSH worked just fine before rebooting.
[15:28] <ikonia> then I suggest you research a basic understanding of networking
[15:29] <MartesZibellina> Are there any good sites?
[15:30] <ikonia> just buy a book
[16:36] <MartesZibellina> Maybe removing desktop environments will help?
[16:41] <MartesZibellina> Also, there's "A job is starting for Wait for Network to be Configured".
[16:41] <MartesZibellina> And it fails.
[16:41] <MartesZibellina> Upon boot.
[17:09] <ikonia> MartesZibellina: again, this is why you need basic understanding of networking
[17:30] <MartesZibellina> Now, the problem's solved!
[17:31] <MartesZibellina> It's the desktop environment that's been interfering with the server!
[17:40] <ikonia> what ?
[17:44] <MartesZibellina> Now I can SSH just fine.
[17:44] <ikonia> the desktop does not touch ssh
[17:45] <MartesZibellina> Maybe the network manager did.
[17:45] <ikonia> if you have configured /etc/interfaces and network manager then of course it will fight
[17:45] <ikonia> as both are trying to manage the network card
[17:50] <MartesZibellina> In any case, now I can rest assured that my client will SSH just fine to the server.
[17:50] <MartesZibellina> I installed lubuntu-desktop before.