Pr0metheus | I am trying to setup samba on my desktop computer following (https://wiki.debian.org/SambaServerSimple) but when I try to connect with smbclient //myhost/myuser I get "Error NT_STATUS_IO_TIMEOUT". Any idea what could be wrong? | 01:39 |
---|---|---|
gnarface | Pr0metheus: try it by IP instead. | 01:45 |
gnarface | if it's timing out it can't find it | 01:45 |
gnarface | the usual problem is name resolution | 01:45 |
gnarface | (it's probably worth mentioning that samba is fundamentally insecure yet paradoxically over-complex and a completely unnecessary punishment to visit upon yourself if you don't need to share data with Windows) | 01:51 |
Pr0metheus | tried IP the same, I want to share data with a qemu windows guest - didn't find another option | 01:54 |
gnarface | oh | 01:54 |
Pr0metheus | but before sharing the data I am in the first stage of running the samba server:P | 01:55 |
buZz | i usually just run a oneliner python webserver or something | 01:55 |
buZz | to share data | 01:55 |
gnarface | webserver isn't a bad call | 01:56 |
buZz | if its just oneway, that is | 01:56 |
gnarface | i'm pretty sure you can just copy the data to the guest image manually too | 01:56 |
gnarface | since it's a guest | 01:56 |
gnarface | but i remember smbclient always being picky | 01:56 |
fsmithred | the goal is just to move some files to a windows guest? | 01:56 |
Pr0metheus | need two way:( | 01:56 |
fsmithred | ssh/sftp/putty? | 01:57 |
Pr0metheus | the goal is to put some files inside windows guest and then back | 01:57 |
gnarface | Pr0metheus: try this: smbclient -I [guest IP] -L | 01:58 |
gnarface | Pr0metheus: maybe it's still a networking issue | 01:59 |
Pr0metheus | guest or host ip? | 02:00 |
gnarface | guest | 02:00 |
Pr0metheus | now I am confused | 02:00 |
gnarface | wait | 02:00 |
gnarface | you're not trying to connect to the guest? | 02:01 |
Pr0metheus | no I am trying to verify my host installation, which is on devuan | 02:01 |
gnarface | by connecting to YOURSELF? | 02:01 |
gnarface | host->host? | 02:01 |
Pr0metheus | yes | 02:01 |
Pr0metheus | that's what it says in the instructions | 02:01 |
gnarface | alright, try both | 02:02 |
Pr0metheus | ah | 02:02 |
Pr0metheus | nope I did it correct: Try locally first $ smbclient //ourmachine/me | 02:02 |
Pr0metheus | fsmithred thought about sftp but the problem was the ip address to connect to | 02:03 |
Pr0metheus | two bad things happen with this error: no help in the log files and not clear what the problem is. One more thing I thought is maby something is broken by upgrading from stretch to devuan | 02:04 |
gnarface | so can you get anything to list? | 02:05 |
gnarface | you running a firewall? | 02:05 |
Pr0metheus | nope | 02:05 |
gnarface | is it a different error? | 02:05 |
Pr0metheus | if I run your command I get nothing | 02:05 |
gnarface | anothing at all? | 02:05 |
gnarface | nothing? | 02:05 |
Pr0metheus | but I changed the host/username | 02:05 |
gnarface | timeout? | 02:05 |
Pr0metheus | yeap it just executes and then back to prompt | 02:05 |
gnarface | or instantly nothing? | 02:05 |
Pr0metheus | no message | 02:05 |
gnarface | try that on the guest | 02:06 |
Pr0metheus | guest has no smbclient command, it's windows | 02:06 |
gnarface | no, i mean point it at the guest | 02:06 |
gnarface | share a folder on the guest | 02:06 |
Pr0metheus | I tried to share a folder and access it from the guest and qemu freezes:P | 02:07 |
gnarface | (make sure the guest isn't running a firewall too) | 02:07 |
Pr0metheus | I just write the 10.0.2.4/qemu path and freezes | 02:07 |
Pr0metheus | //10.0.2.4/qemu | 02:07 |
Pr0metheus | I've been struggling the whole day:P | 02:08 |
gnarface | i might have the syntax wrong but you should look at the smbclient man page and try forming your queries like i did, with the separate options instead of the // / syntax | 02:08 |
Pr0metheus | ok let me take a look | 02:08 |
gnarface | make sure you can get some sort of a response with the list command... that should work even if you don't have access | 02:08 |
gnarface | if that doesn't work... eh, something is wrong besides just configuration, either with the command, the network, or the smb config or the install... | 02:10 |
gnarface | is this all a stock devuan system? | 02:10 |
Pr0metheus | nope it's a migration from stretch | 02:11 |
gnarface | well, i've never tested it that way fyi, connecting to itself | 02:12 |
gnarface | so i don't even know if it works | 02:12 |
gnarface | but if that wiki says it should, then it should | 02:12 |
gnarface | but there's also something i can't quite remember about user access... i don't think it should be giving you that error but make sure that if you haven't set it up to just use a regular shell user's authentication on the host, that both the smb user AND the linux user have access to the directory ... | 02:14 |
Pr0metheus | should ping to my host return correctly? | 02:15 |
gnarface | yes | 02:15 |
gnarface | from a shell user on the host? | 02:15 |
gnarface | yes you should be able to ping the host from a shell user on the host | 02:15 |
Pr0metheus | yes | 02:15 |
gnarface | is that not working?/ | 02:15 |
Pr0metheus | ok I can't:P | 02:15 |
gnarface | are you sure you have the IP right??? | 02:15 |
gnarface | make sure networking is actually up... | 02:16 |
gnarface | it is possible that it is not | 02:16 |
Pr0metheus | uh networking should be up cause I can talk to you | 02:16 |
gnarface | it's this machine... huh | 02:16 |
Pr0metheus | yes | 02:16 |
gnarface | make sure you have the ip right | 02:16 |
gnarface | it would be your LAN ip not the ip that "whatismyip.com" tells you | 02:17 |
Pr0metheus | ok I did ip addr show: got a lan ip 192.168.2.62 but nothing comes back from ping | 02:17 |
Pr0metheus | pinging the router works | 02:18 |
gnarface | /sbin/ifconfig -a | 02:18 |
Pr0metheus | https://paste.debian.net/1037982/ | 02:19 |
gnarface | huh | 02:21 |
gnarface | and so if you `ping 192.168.2.62` it gives you... nothing? | 02:22 |
Pr0metheus | just waiting | 02:22 |
Pr0metheus | --- 192.168.2.62 ping statistics --- | 02:23 |
Pr0metheus | 3 packets transmitted, 0 received, 100% packet loss, time 35ms | 02:23 |
gnarface | something very wrong | 02:23 |
gnarface | what about if you ping 127.0.0.1 | 02:23 |
gnarface | ? | 02:23 |
Pr0metheus | same | 02:23 |
nacelle | sounds like iptables/ebtables configured to interfere | 02:24 |
gnarface | yea, a firewall could do that | 02:24 |
Pr0metheus | never touched it but let me see, iptables exists | 02:24 |
Pr0metheus | Chain INPUT (policy ACCEPT) | 02:25 |
Pr0metheus | target prot opt source destination | 02:25 |
Pr0metheus | Chain FORWARD (policy ACCEPT) | 02:25 |
Pr0metheus | target prot opt source destination | 02:25 |
Pr0metheus | Chain OUTPUT (policy ACCEPT) | 02:25 |
Pr0metheus | target prot opt source destination | 02:25 |
gnarface | stock kernel, you said? | 02:26 |
Pr0metheus | I don't see anything there | 02:26 |
gnarface | the debian one? | 02:26 |
Pr0metheus | yes | 02:26 |
gnarface | it used to work? | 02:26 |
Pr0metheus | yes | 02:26 |
Pr0metheus | ah you mean ping? | 02:26 |
gnarface | yea | 02:26 |
Pr0metheus | don't remember trying it | 02:26 |
Pr0metheus | hmm, I guess network is messed up | 02:27 |
gnarface | what about the nat rules for the guest? | 02:30 |
Pr0metheus | nat rules? | 02:31 |
gnarface | iptables -L -v -t nat | 02:39 |
gnarface | i think | 02:39 |
Pr0metheus | nothing there | 02:39 |
Pr0metheus | wait I reached resolv.conf | 02:40 |
Pr0metheus | brb | 02:40 |
Pr0metheus | should lo (loopback) be up? | 02:48 |
gnarface | yes, it should... | 03:03 |
Beerbelott | Hello everyone :) | 12:22 |
Beerbelott | I am wondering why an ole kernel won't get autoremoved | 12:22 |
Beerbelott | I checked /etc/kernel/postinst.d/apt-auto-removal which generated /etc/apt/apt.conf.d/01autoremove-kernels properly to keep latest & previous kernel versions | 12:23 |
Beerbelott | The thing is I got a previous-previous version (4.9.65-3+deb9u2) which is not part of the list | 12:23 |
Beerbelott | However, running apt autoremove or (better) apt-get autoremove --purge does not show anything to be cleared | 12:24 |
Beerbelott | What could be wrong there? | 12:24 |
g40 | can anyone help? $ uname -a Linux devuan 4.9.0-6-amd64 #1 SMP Debian 4.9.88-1+deb9u1 (2018-05-07) x86_64 GNU/Linux | 15:47 |
g40 | fresh clone of https://git.devuan.org/sdk/arm-sdk into ~/src/arm-sdk | 15:47 |
g40 | first build using the sunxi target worked after a few missing dependencies installed | 15:48 |
g40 | then added my own board file and appended its name to the board_map | 15:48 |
g40 | now when I run I get this: https://pastebin.com/1GMhvdGr | 15:50 |
g40 | removing the new board file etc. seems to make no difference. Any thoughts on what I have borked here? | 15:50 |
g40 | TAIA. | 15:51 |
gnarface | g40: looks like you have the wrong bash version? | 16:27 |
g40 | gnarface. hello and thanks. this is with a vanila install: bash --version GNU bash, version 4.4.12(1)-release (x86_64-pc-linux-gnu) | 16:28 |
macaca | Hi. Quick question (hopefully) for the queue: How long is the standard support lifetime for Devuan? 1.0.0 was LTS, and 2.0.0 isn't (that I know of), but I can't find any end of life dates for either on the website. | 16:31 |
gnarface | macaca: i don't think it has been decided but it probably matters what debian does with upstream in regards to this | 16:32 |
macaca | Ok, thanks. | 16:34 |
g40 | gnarface: got it. I missed the `zsh -f` step. thank you. | 16:36 |
gnarface | g40: ah! zsh, that explains it. no problem | 16:37 |
gnarface | macaca: (it's probably safe to assume "as long as is feasible with whatever volunteer manpower can be mustered") | 16:38 |
gnarface | macaca: most of these guys are very much of the "if it's not broke don't try to fix it" mindset | 16:38 |
macaca | It's a good mindset in most cases :) I was curious for similar reasons... I have Devuan Jessie boxes (LTS) that don't need fixing, and I'm not sure if it's worth upgrading to ASCII, or if support for that will end before Jessie's LTS. | 16:41 |
macaca | Likewise, I'm not sure when Jessie's support will end, to know an upgrade should be done at x point in the future. I'm assuming some time around 2020 for Jessie based on Debian, but LTS is usually 5 years. | 16:42 |
fsmithred | macaca, here's the lts schedule: https://wiki.debian.org/LTS | 16:52 |
macaca | Thanks. I was looking at that after gnarface's answer about it depending what debian do upstream. I guess it just depends how much the two projects diverge over time, how much the releases are in sync, etc. | 16:56 |
macaca | (and how much volunteer manpower there is, of course) | 16:56 |
gnarface | yes, debian could sabotage it by trying to run away from their baseline with a development arms-race | 16:57 |
gnarface | so far they have shown casual signs of hostility in that regard but it's unclear if that really helps their agenda or not | 16:57 |
gnarface | so maybe they won't screw with it more than they have to | 16:58 |
gnarface | they're a non-profit legal entity, but RedHat (who is funding all this) is a for-profit publicly traded company. they do have a legal obligation to spend money on things that actually help their profitability | 16:59 |
macaca | Still, it would be nice info to have on Devuan's website, even if just a best efforts estimate on expected lifetime. | 16:59 |
gnarface | there is a shit ton of stuff from the debian wiki that really should be copied to Devuan's | 16:59 |
gnarface | that hasn't been the highest priority yet | 17:00 |
gnarface | providing working builds has | 17:00 |
macaca | Yep, understandable. | 17:01 |
hippiegunnut | 5 | 17:30 |
grayrider | hello. Who's the top-devuan dog here? | 20:51 |
Hurgotron | why the HELL is pasting with the mouse into devuan ascii vim-basic broken? | 20:51 |
fsmithred | grayrider, I don't think there is one top person | 20:52 |
Hurgotron | I need to set mouse=r for pasting into vim now. default is mouse=a. And I can't even change the setting via vimrc.local. What is that insanity? | 20:53 |
grayrider | Let me put it another way, who is the most prominent and worthy leader of the pack? | 20:54 |
gnarface | grayrider: just ask your question and it'll get to the right person | 20:54 |
KatolaZ | Hurgotron: set mouse-=a | 20:55 |
grayrider | Who is the most involved in the finances of this operation? | 20:55 |
gnarface | grayrider: (team list https://devuan.org/os/team/) | 20:55 |
KatolaZ | grayrider: ? | 20:55 |
KatolaZ | Hurgotron: the change comes from upstream | 20:56 |
fsmithred | does the devuan-sanity package fix that? | 20:56 |
KatolaZ | fsmithred: don't remember, maybe | 20:57 |
grayrider | If I understand correctly, Dyne.org people? | 20:57 |
KatolaZ | but it probably should | 20:57 |
KatolaZ | grayrider: ask your question | 20:57 |
Hurgotron | KatolaZ: ok that works too, but only at runtime. I want to change a global config file for that, and I have no idea why it doesn't work in vimrc.local | 20:58 |
fsmithred | btw, I can paste with mouse or ctrl-insert in the default vi that gets installed | 20:58 |
KatolaZ | Hurgotron: it should work in your .vimrc as well | 20:58 |
fsmithred | or shift-insert. I forget which aI did. | 20:58 |
Hurgotron | KatolaZ: Yes but that's not a *global* config file. | 20:59 |
KatolaZ | Hurgotron: /usr/share/vim/vimrc | 21:00 |
KatolaZ | man vim ;) | 21:00 |
KatolaZ | (it actually points to /etc/vim/vimrc) | 21:00 |
Hurgotron | That one gets overwritten with updates. | 21:00 |
KatolaZ | uh? | 21:00 |
Hurgotron | vimrc.local would be the right one. | 21:00 |
KatolaZ | nothing gets overwritten with updates, unless you want so | 21:00 |
Hurgotron | that one gets sourced from /etc/vim/vimrc | 21:01 |
Hurgotron | and it gets read, but *there* the mouse setting has no effect. | 21:01 |
Hurgotron | If that kind of shit doesn't behave sanely, i could as well use windows. | 21:01 |
KatolaZ | Hurgotron: sure, if you believe so :) | 21:02 |
fsmithred | Hurgotron, there's a package in experimental called devuan-sanity that might possibly fix that behavior. I know it changes some of the new debian defaults in vi | 21:03 |
fsmithred | but I don't know what things it changes. (I use nano) | 21:04 |
Hurgotron | accidentally I tried to paste some lines into sources.list when I stumbled over that insanity | 21:05 |
fsmithred | you're sure you were in insert mode? | 21:06 |
Hurgotron | yes. I'm using vi(m) for 30 years I think | 21:06 |
fsmithred | which vi/vim package did you install? | 21:06 |
Hurgotron | vim-basic | 21:07 |
fsmithred | I can't find a package with that name | 21:08 |
fsmithred | I have vim-common and vim-tiny installed | 21:08 |
Hurgotron | root@ascii:~# update-alternatives --config editor | 21:09 |
Hurgotron | There is only one alternative in link group editor (providing /usr/bin/editor): /usr/bin/vim.basic | 21:09 |
Hurgotron | Nothing to configure. | 21:09 |
Hurgotron | root@ascii:~# dpkg -l | grep vim | 21:09 |
Hurgotron | ii vim 2:8.0.0197-4+deb9u1 amd64 Vi IMproved - enhanced vi editor | 21:09 |
Hurgotron | ii vim-common 2:8.0.0197-4+deb9u1 all Vi IMproved - Common files | 21:09 |
Hurgotron | ii vim-runtime 2:8.0.0197-4+deb9u1 all Vi IMproved - Runtime files | 21:09 |
fsmithred | ok, I'll install and try that. couple minutes... | 21:10 |
Jjp137 | Hurgotron, set mouse=a is being done in /usr/share/vim/vim80/defaults.vim, and according to a comment in /etc/vimrc, if the user has no vimrc, $VIMRUNTIME/defaults.vim is loaded and will override any settings in /etc/vim/vimrc(.local) | 21:11 |
Jjp137 | er /etc/vim/vimrc | 21:11 |
Jjp137 | but there's a line you can uncomment in vimrc to disable that | 21:11 |
fsmithred | ok, in vim, if I right-click mouse, nothing comes up, but the footer toggles between INSERT to (visual)INSERT | 21:14 |
fsmithred | middle-click does paster | 21:15 |
fsmithred | paste | 21:15 |
fsmithred | as does shift-insert | 21:15 |
Hurgotron | Jjp137: Thanks, that works. I wanted to avoid editing /etc/vim/vimrc because I thought that's what vimrc.local is for, but some vim devs seem to like their confuguration really convoluted and counterintuitive. | 21:17 |
Jjp137 | glad that worked and lol yea it can be confusing :\ | 21:17 |
Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!