[14:24] <xu-help28w> hello
[14:24] <xu-help28w> anybody here
[14:48] <xu-irc64w> The thing is... I did not want to update to next (LTS) release, but I would like to have the Xfce 4.18 installed
[14:49] <xu-irc64w> maybe there is a way to do it, by just updating few packages and of course Xfce
[16:33] <xu-help67w> hello guys, i'm looking for an xubuntu for 32 bits CPU. Thanks
[21:20] <xu-help46w> hello, i'm trying to set up a direct ethernet connection between a microsoft surface and an alienware running xubuntu linux.  the connection worked for about a minute, but now the destination host keeps coming back unreadable.  can someone help me with this?
[21:29] <tomreyn> xu-help46w: you mean unreachable, not unreadable, right?
[21:29] <tomreyn> what's your network configuration there?
[21:29] <xu-help46w> yes sorry, sometimes i accidentally use the wrong word
[21:30] <xu-help46w> both computers are set up with wifi, but i wanted to network them together for fast file transfer over ethernet.
[21:30] <xu-help46w> i wanted to use both wifi and ethernet at the same time
[21:30] <xu-help46w> both computers have manual addresses assigned for the wifi
[21:31] <tomreyn> so is one of those the AP, or is there a separate AP?
[21:31] <xu-help46w> 192.168.2.3 for the windows machine, and 192.168.2.4 for linux
[21:31] <xu-help46w> there is a separate access point
[21:31] <xu-help46w> they both connect to a wireless router, but i want them to be directly connected to each other at the same time
[21:32] <tomreyn> so those are their ip addresses on the wireless network. how did you configure the direct ethernet connection?
[21:32] <xu-help46w> i set the direct connection to manual using a different ip range
[21:33] <xu-help46w> the wifi uses the 192.168.0.x range
[21:33] <tomreyn> and the default gateway points to the wifi, i assume?
[21:33] <xu-help46w> it worked for about a minute but then it suddenly stopped and i haven't had any luck reestablishing it
[21:33] <xu-help46w> the default gateway for the ethernet is blank
[21:34] <tomreyn> and the ip addresses you manually assigned to the ethernet interfaces are on the same subnet?
[21:34] <xu-help46w> yes i think so
[21:35] <xu-help46w> they are both in the 192.168.2.x range
[21:35] <tomreyn> for ethernet as well?
[21:35] <xu-help46w> it's been a long time since i messed with this kind of thing, and i wasn't very good at it before
[21:35] <xu-help46w> the ethernet uses the range i just gave you the wifi uses the 192.168.0.x range
[21:36] <tomreyn> oh, sorry, i missed you saying that the wifi uses  the 192.168.0.x range
[21:36] <xu-help46w> no problem
[21:36] <tomreyn> i assume the windows firewall will be getting in the way
[21:37] <tomreyn> also, maybe windows does not think that this "new local network" is one which it should trust and make its services accessible on, so it may not be possible to ping 192.168.2.3 from linux
[21:37] <tomreyn> but you could try
[21:38] <xu-help46w> 64 bytes from 192.168.2.3: icmp_seq=15 ttl=64 time=0.017 ms
[21:38] <xu-help46w> 64 bytes from 192.168.2.3: icmp_seq=16 ttl=64 time=0.019 ms
[21:38] <xu-help46w> this is what i got when pinging the windows machine
[21:38] <xu-help46w> the windows machine outright timed out
[21:38] <xu-help46w> it looks like windows is replying but linux is not
[21:39] <tomreyn> so ping the other way around does not work?
[21:39] <xu-help46w> no it does not work, windows receives no reply
[21:39] <tomreyn> xubuntu would repond to ping unless you have it firewalled
[21:40] <xu-help46w> to my knowledge i don't
[21:40] <xu-help46w> there doesn't seem to be a firewall installed, unless it isn't graphical
[21:40] <xu-help46w> which seems likely
[21:41] <tomreyn> an easy test you can do on xubuntu is to run    sudo netcat -s 192.168.2.4 -l -p 80     and keep this open, then connect to http://192.168.2.4  from a web browser on windows
[21:41] <xu-help46w> ok i'll try that now
[21:42] <tomreyn> the web browser won't receive a response and keep loading for a while, then print an error, but if the connection succeeds you will see the HTTP request in the lubuntu shell
[21:42] <xu-help46w> that's strange it says it could not assign that address
[21:42] <xu-help46w> netcat: Cannot assign requested address
[21:42] <tomreyn> you ran with sudo?
[21:43] <xu-help46w> yes
[21:44] <tomreyn> try just     sudo netcat -l -p 80
[21:45] <xu-help46w> it seems to be doing something, but when i type the address into firefox on windows it times out
[21:45] <tomreyn> as discussed above. the relevant part is whether the http request is printed on the terminal
[21:46] <xu-help46w> it worked on wifi but not on the ethernet
[21:46] <xu-help46w> is there a way to specify an adapter?
[21:46] <tomreyn> does   ip link     list your ethernet interface?
[21:47] <xu-help46w> yes, eno1 is listed
[21:47] <tomreyn> does   ip a    list 192.168.2.4 as an ip address assigned to the eno1 interface?
[21:48] <xu-help46w> well that's strange
[21:48] <xu-help46w> one moment
[21:48] <xu-help46w>  eno1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
[21:48] <xu-help46w>     link/ether brd ff:ff:ff:ff:ff:ff
[21:48] <xu-help46w>     altname enp7s0
[21:48] <xu-help46w>     inet 192.168.2.3/24 brd 192.168.2.255 scope global noprefixroute eno1
[21:48] <xu-help46w>        valid_lft forever preferred_lft forever
[21:48] <xu-help46w>     inet6 fe80::5278:e722:391c:33bc/64 scope link noprefixroute
[21:49] <tomreyn> !paste | xu-help46w 
[21:50] <tomreyn> you said <xu-help46w> 192.168.2.3 for the windows machine, and 192.168.2.4 for linux
[21:50] <tomreyn> but this output suggests you have assigned 192.168.2.3 to linux as well
[21:50] <xu-help46w> yes, this does not match what is listed in the graphical settings
[21:51] <xu-help46w> in the addresses dialog the address is indeed set to 192.168.2.4
[21:51] <tomreyn> there's a command line interface to network manager (which is used when configuring things graphically)
[21:51] <tomreyn> nmcli
[21:52] <xu-help46w> yes this configuration is wrong, and it does not look like the graphical interface is updating it
[21:53] <xu-help46w> i think we just found the problem
[21:53] <xu-help46w> i set windows to 192.168.2.4 and tried pinging again
[21:53] <xu-help46w> works perfectly
[21:53] <xu-help46w> looks like the graphical interface isn't properly changing that value
[21:54] <xu-help46w> i'm going to try deleting the address and adding a new one
[21:54] <tomreyn> strange.sometimes you need to make it reconnect to apply changes.
[21:54] <xu-help46w> yeah my idea didn't work
[21:55] <xu-help46w> yours just did though
[21:55] <tomreyn> so everything's good now?
[21:56] <xu-help46w> nope, the address changed but now the ping is timing out
[21:56] <tomreyn> ping from what to what?
[21:56] <xu-help46w> windows to linux
[21:57] <xu-help46w> now it's working after another disconnect and reconnect
[21:57] <xu-help46w> this seems janky
[21:58] <tomreyn> i assume windows may decide to disable the connection or fall back to link local addressing if there is no internet gateway configured for the network connection profile
[21:59] <xu-help46w> well that's not conducive to this setup, any ideas on how to fix that issue?  is it possible?
[22:00] <tomreyn> i don't exactly know what the problem is, so it's difficult to suggest a cure
[22:00] <tomreyn> it would still be interesting to see what nmcli reports
[22:01] <tomreyn> i would just set the link to use link-local
[22:02] <tomreyn> and see if this works out. may not work immediately, but apip on windows should activate if no dhcp server is found on that network.
[22:03] <xu-help46w> https://dpaste.com/AWUXNQRZQ
[22:05] <tomreyn> maybe the link-local addressing route is getting in the way there
[22:05] <tomreyn>         route4 169.254.0.0/16 metric 1000
[22:05] <xu-help46w> the link is back up and i'm attempting a decently sized file operation now
[22:06] <xu-help46w> the speed isn't as fast as i had hoped, but i'm guessing it's because it's tons of small files rather than one big file
[22:09] <xu-help46w> it's almost done transferring the files now, looks like it might finish this time
[22:09] <tomreyn> you can inspect dropped packets using     ip -s link show eno1
[22:09] <xu-help46w> but i think i know what's going on now, it looks like it applies the new address for a few minutes once i enter it in the GUI and then it quickly resets to the original
[22:10] <xu-help46w> my god i have too many memes
[22:11] <tomreyn> cat /sys/class/net/eno1/speed      prints the link speed
[22:11] <xu-help46w> that came back as 1000
[22:12] <tomreyn> so i guess the other end doesn't do 2.5 Mbps
[22:12] <xu-help46w> is there a way to get the speed of the adapter from the windows command line?
[22:13] <tomreyn> i'm sure. i just don't know how.
[22:13] <tomreyn> there's #windows
[22:14] <tomreyn> apparently that's:  Get-NetAdapter | select interfaceDescription, name, status, linkSpeed
[22:15] <tomreyn> or:   wmic nic where netEnabled=true get name, speed, MACAddress
[22:18] <xu-help46w> the output of this command is a MESS
[22:20] <xu-help46w> according to the specs for the surface travel hub it is a gigabit ethernet device
[22:21] <tomreyn> sorry, i meant to write: "so i guess the other end doesn't d 2.5 Gbps"
[22:22] <tomreyn> sorry, i meant to write: "so i guess the other end doesn't do 2.5 Gbps"
[22:22] <tomreyn> gigabit per second, not megabit per second
[22:22] <xu-help46w> the file operation completed successfully
[22:22] <xu-help46w> the next test will be unplugging the surface and plugging it back in
[22:23] <tomreyn> the realtek NIC on your xubuntu system can do up to 2.5 Gbps. But maybe the Windows one cannot.
[22:23] <xu-help46w> the windows one is just a basic surface travel hub
[22:23] <xu-help46w> it's not exactly high end
[22:23] <xu-help46w> if i got a dedicated ethernet adapter for the hub it would be a different story
[22:25] <xu-help46w> upon reconnecting the travel hub the ping is no longer working
[22:26] <tomreyn> right, surface travel hub does 1.0 Gbps maximum.
[22:27] <tomreyn> you can go over the above steps again to diagnose the situation
[22:27] <xu-help46w> it looks like windows has set the ethernet connection to public rather than private
[22:29] <xu-help46w> ok now it's working again
[22:29] <xu-help46w> looks like it takes a minute to reestablish the connection
[22:30] <xu-help46w> for some reason the file transfer speed seems capped at about 20 MB/s
[22:33] <xu-help46w> just completed another successful file transfer, it's just slow.
[22:36] <tomreyn> how are you transferring?
[22:37] <xu-help46w> i have samba shares set up on my linux machines
[22:37] <tomreyn> 20 Megabytes per second is roughly 200 Megabits per second (if you consider overhead)
[22:38] <xu-help46w> i'm connecting to the samba share via ip address on windows and copying and pasting
[22:38] <tomreyn> oh samba, hmm, maybe there is a way to speed that up. i'd just use sftp
[22:39] <xu-help46w> doesn't that require specialized software?
[22:39] <tomreyn> an ssh client and an ssh server
[22:39] <xu-help46w> so that won't work from within explorer or thunar then
[22:39] <tomreyn> windows comes with both nowadays, on xubuntu it's as easy as   sudo apt install openssh-server    (or -client)
[22:40] <Montresor> Don't forget sshfs? :D
[22:40] <tomreyn> it would probably work from within thunar with a fish:// url
[22:40] <tomreyn> but not within windows explorer, i think
[22:40] <tomreyn> Montresor: did not forget it, but tried hard
[22:41] <xu-help46w> yeah i was hoping for something high ease of use
[22:41] <xu-help46w> you know, drag and drop, copy and paste
[22:41] <tomreyn> well winscp is pretty easy to use
[22:41] <xu-help46w> hmm
[22:42] <xu-help46w> is there a graphical interface for setting up the ssh server?
[22:42] <Montresor> Sorry, I missed the initial question, but I can at least say I have samba on Linux and am able to share printers and folders easily with Windows clients.
[22:42] <tomreyn> yes, there is a graphical package manager in xubuntu. you install the package openssh-server, then you're done
[22:42] <Montresor> thunar-shares-plugin might help even more, but I don't use it.
[22:43] <xu-help46w> also there is one other issue, i can't graphically browse any active samba shares in explorer.  i have to connect manually via ip
[22:43] <xu-help46w> i haven't been able to get that to work
[22:43] <tomreyn> Montresor: samba works for xu-help46w, just performance is not great apparently.
[22:44] <tomreyn> okay, mostly works, i guess
[22:44] <xu-help46w> my other linux machine can see the shares just fine
[22:44] <xu-help46w> but windows can't find them
[22:44] <tomreyn> i'm not going into samba configuration tonight ;)
[22:44] <Montresor> xu-help46w: Same workgroup?
[22:44] <Montresor> A long time ago I did some iso transfers over samba, I learned that in linux the fuse protocol was handy, but much slower than just mounting it manually...
[22:45] <xu-help46w> yes the same workgroup as far as i know
[22:53] <tomreyn> apparently you can combine https://github.com/winfsp/winfsp + https://github.com/winfsp/sshfs-win for ssh access from windows explorer
[22:53] <tomreyn> i mean sftp
[22:53] <tomreyn> or sshfs really
[22:53] <tomreyn> https://github.com/winfsp/sshfs-win#installation
[22:54] <tomreyn> i'm a bit off-topic here, though. ;)