/srv/irclogs.ubuntu.com/2023/10/26/#xubuntu.txt

=== guiverc2 is now known as guiverc
xu-help28whello14:24
xu-help28wanybody here14:24
xu-irc64wThe thing is... I did not want to update to next (LTS) release, but I would like to have the Xfce 4.18 installed14:48
xu-irc64wmaybe there is a way to do it, by just updating few packages and of course Xfce14:49
xu-help67whello guys, i'm looking for an xubuntu for 32 bits CPU. Thanks16:33
xu-help46whello, 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:20
tomreynxu-help46w: you mean unreachable, not unreadable, right?21:29
tomreynwhat's your network configuration there?21:29
xu-help46wyes sorry, sometimes i accidentally use the wrong word21:29
xu-help46wboth computers are set up with wifi, but i wanted to network them together for fast file transfer over ethernet.21:30
xu-help46wi wanted to use both wifi and ethernet at the same time21:30
xu-help46wboth computers have manual addresses assigned for the wifi21:30
tomreynso is one of those the AP, or is there a separate AP?21:31
xu-help46w192.168.2.3 for the windows machine, and 192.168.2.4 for linux21:31
xu-help46wthere is a separate access point21:31
xu-help46wthey both connect to a wireless router, but i want them to be directly connected to each other at the same time21:31
tomreynso those are their ip addresses on the wireless network. how did you configure the direct ethernet connection?21:32
xu-help46wi set the direct connection to manual using a different ip range21:32
xu-help46wthe wifi uses the 192.168.0.x range21:33
tomreynand the default gateway points to the wifi, i assume?21:33
xu-help46wit worked for about a minute but then it suddenly stopped and i haven't had any luck reestablishing it21:33
xu-help46wthe default gateway for the ethernet is blank21:33
tomreynand the ip addresses you manually assigned to the ethernet interfaces are on the same subnet?21:34
xu-help46wyes i think so21:34
xu-help46wthey are both in the 192.168.2.x range21:35
tomreynfor ethernet as well?21:35
xu-help46wit's been a long time since i messed with this kind of thing, and i wasn't very good at it before21:35
xu-help46wthe ethernet uses the range i just gave you the wifi uses the 192.168.0.x range21:35
tomreynoh, sorry, i missed you saying that the wifi uses  the 192.168.0.x range21:36
xu-help46wno problem21:36
tomreyni assume the windows firewall will be getting in the way21:36
tomreynalso, 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 linux21:37
tomreynbut you could try21:37
xu-help46w64 bytes from 192.168.2.3: icmp_seq=15 ttl=64 time=0.017 ms21:38
xu-help46w64 bytes from 192.168.2.3: icmp_seq=16 ttl=64 time=0.019 ms21:38
xu-help46wthis is what i got when pinging the windows machine21:38
xu-help46wthe windows machine outright timed out21:38
xu-help46wit looks like windows is replying but linux is not21:38
tomreynso ping the other way around does not work?21:39
xu-help46wno it does not work, windows receives no reply21:39
tomreynxubuntu would repond to ping unless you have it firewalled21:39
xu-help46wto my knowledge i don't21:40
xu-help46wthere doesn't seem to be a firewall installed, unless it isn't graphical21:40
xu-help46wwhich seems likely21:40
tomreynan 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 windows21:41
xu-help46wok i'll try that now21:41
tomreynthe 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 shell21:42
xu-help46wthat's strange it says it could not assign that address21:42
xu-help46wnetcat: Cannot assign requested address21:42
tomreynyou ran with sudo?21:42
xu-help46wyes21:43
tomreyntry just     sudo netcat -l -p 8021:44
xu-help46wit seems to be doing something, but when i type the address into firefox on windows it times out21:45
tomreynas discussed above. the relevant part is whether the http request is printed on the terminal21:45
xu-help46wit worked on wifi but not on the ethernet21:46
xu-help46wis there a way to specify an adapter?21:46
tomreyndoes   ip link     list your ethernet interface?21:46
xu-help46wyes, eno1 is listed21:47
tomreyndoes   ip a    list 192.168.2.4 as an ip address assigned to the eno1 interface?21:47
xu-help46wwell that's strange21:48
xu-help46wone moment21:48
xu-help46w eno1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 100021:48
xu-help46w    link/ether brd ff:ff:ff:ff:ff:ff21:48
xu-help46w    altname enp7s021:48
xu-help46w    inet 192.168.2.3/24 brd 192.168.2.255 scope global noprefixroute eno121:48
xu-help46w       valid_lft forever preferred_lft forever21:48
xu-help46w    inet6 fe80::5278:e722:391c:33bc/64 scope link noprefixroute21:48
tomreyn!paste | xu-help46w 21:49
ubottuxu-help46w: For posting multi-line texts into the channel, please use https://dpaste.com | To post !screenshots use https://imgur.com | !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic.21:49
tomreynyou said <xu-help46w> 192.168.2.3 for the windows machine, and 192.168.2.4 for linux21:50
tomreynbut this output suggests you have assigned 192.168.2.3 to linux as well21:50
xu-help46wyes, this does not match what is listed in the graphical settings21:50
xu-help46win the addresses dialog the address is indeed set to 192.168.2.421:51
tomreynthere's a command line interface to network manager (which is used when configuring things graphically)21:51
tomreynnmcli21:51
xu-help46wyes this configuration is wrong, and it does not look like the graphical interface is updating it21:52
xu-help46wi think we just found the problem21:53
xu-help46wi set windows to 192.168.2.4 and tried pinging again21:53
xu-help46wworks perfectly21:53
xu-help46wlooks like the graphical interface isn't properly changing that value21:53
xu-help46wi'm going to try deleting the address and adding a new one21:54
tomreynstrange.sometimes you need to make it reconnect to apply changes.21:54
xu-help46wyeah my idea didn't work21:54
xu-help46wyours just did though21:55
tomreynso everything's good now?21:55
xu-help46wnope, the address changed but now the ping is timing out21:56
tomreynping from what to what?21:56
xu-help46wwindows to linux21:56
xu-help46wnow it's working after another disconnect and reconnect21:57
xu-help46wthis seems janky21:57
tomreyni 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 profile21:58
xu-help46wwell that's not conducive to this setup, any ideas on how to fix that issue?  is it possible?21:59
tomreyni don't exactly know what the problem is, so it's difficult to suggest a cure22:00
tomreynit would still be interesting to see what nmcli reports22:00
tomreyni would just set the link to use link-local22:01
tomreynand 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:02
xu-help46whttps://dpaste.com/AWUXNQRZQ22:03
tomreynmaybe the link-local addressing route is getting in the way there22:05
tomreyn        route4 169.254.0.0/16 metric 100022:05
xu-help46wthe link is back up and i'm attempting a decently sized file operation now22:05
xu-help46wthe 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 file22:06
xu-help46wit's almost done transferring the files now, looks like it might finish this time22:09
tomreynyou can inspect dropped packets using     ip -s link show eno122:09
xu-help46wbut 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 original22:09
xu-help46wmy god i have too many memes22:10
tomreyncat /sys/class/net/eno1/speed      prints the link speed22:11
xu-help46wthat came back as 100022:11
tomreynso i guess the other end doesn't do 2.5 Mbps22:12
xu-help46wis there a way to get the speed of the adapter from the windows command line?22:12
tomreyni'm sure. i just don't know how.22:13
tomreynthere's #windows22:13
tomreynapparently that's:  Get-NetAdapter | select interfaceDescription, name, status, linkSpeed22:14
tomreynor:   wmic nic where netEnabled=true get name, speed, MACAddress22:15
xu-help46wthe output of this command is a MESS22:18
xu-help46waccording to the specs for the surface travel hub it is a gigabit ethernet device22:20
tomreynsorry, i meant to write: "so i guess the other end doesn't d 2.5 Gbps"22:21
tomreynsorry, i meant to write: "so i guess the other end doesn't do 2.5 Gbps"22:22
tomreyngigabit per second, not megabit per second22:22
xu-help46wthe file operation completed successfully22:22
xu-help46wthe next test will be unplugging the surface and plugging it back in22:22
tomreynthe realtek NIC on your xubuntu system can do up to 2.5 Gbps. But maybe the Windows one cannot.22:23
xu-help46wthe windows one is just a basic surface travel hub22:23
xu-help46wit's not exactly high end22:23
xu-help46wif i got a dedicated ethernet adapter for the hub it would be a different story22:23
xu-help46wupon reconnecting the travel hub the ping is no longer working22:25
tomreynright, surface travel hub does 1.0 Gbps maximum.22:26
tomreynyou can go over the above steps again to diagnose the situation22:27
xu-help46wit looks like windows has set the ethernet connection to public rather than private22:27
xu-help46wok now it's working again22:29
xu-help46wlooks like it takes a minute to reestablish the connection22:29
xu-help46wfor some reason the file transfer speed seems capped at about 20 MB/s22:30
xu-help46wjust completed another successful file transfer, it's just slow.22:33
tomreynhow are you transferring?22:36
xu-help46wi have samba shares set up on my linux machines22:37
tomreyn20 Megabytes per second is roughly 200 Megabits per second (if you consider overhead)22:37
xu-help46wi'm connecting to the samba share via ip address on windows and copying and pasting22:38
tomreynoh samba, hmm, maybe there is a way to speed that up. i'd just use sftp22:38
xu-help46wdoesn't that require specialized software?22:39
tomreynan ssh client and an ssh server22:39
xu-help46wso that won't work from within explorer or thunar then22:39
tomreynwindows comes with both nowadays, on xubuntu it's as easy as   sudo apt install openssh-server    (or -client)22:39
MontresorDon't forget sshfs? :D22:40
tomreynit would probably work from within thunar with a fish:// url22:40
tomreynbut not within windows explorer, i think22:40
tomreynMontresor: did not forget it, but tried hard22:40
xu-help46wyeah i was hoping for something high ease of use22:41
xu-help46wyou know, drag and drop, copy and paste22:41
tomreynwell winscp is pretty easy to use22:41
xu-help46whmm22:41
xu-help46wis there a graphical interface for setting up the ssh server?22:42
MontresorSorry, 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
tomreynyes, there is a graphical package manager in xubuntu. you install the package openssh-server, then you're done22:42
Montresorthunar-shares-plugin might help even more, but I don't use it.22:42
xu-help46walso there is one other issue, i can't graphically browse any active samba shares in explorer.  i have to connect manually via ip22:43
xu-help46wi haven't been able to get that to work22:43
tomreynMontresor: samba works for xu-help46w, just performance is not great apparently.22:43
tomreynokay, mostly works, i guess22:44
xu-help46wmy other linux machine can see the shares just fine22:44
xu-help46wbut windows can't find them22:44
tomreyni'm not going into samba configuration tonight ;)22:44
Montresorxu-help46w: Same workgroup?22:44
MontresorA 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:44
xu-help46wyes the same workgroup as far as i know22:45
tomreynapparently you can combine https://github.com/winfsp/winfsp + https://github.com/winfsp/sshfs-win for ssh access from windows explorer22:53
tomreyni mean sftp22:53
tomreynor sshfs really22:53
tomreynhttps://github.com/winfsp/sshfs-win#installation22:53
tomreyni'm a bit off-topic here, though. ;)22:54

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!