/srv/irclogs.ubuntu.com/2018/12/28/#ubuntu-server.txt

=== JanC_ is now known as JanC
AllanLinuxHey guys. I'm running a script to get files from a server to Linux, but I always get: scp: ambiguous target. The file path has no spaces, very strange.17:05
AllanLinuxsshpass -p "$PASSW" scp -v -d -t $USER@$SERVER:"E:/Backup/PortalComunicacao/PortalComunicacao_backup_`date +%d-%m-%Y`*.bak" /opt/Allan17:05
tomreynAllanLinux: are you sure there's a '-d' option to scp?17:29
tomreynWhat is the remote scp server, eopnssh on WSL? Is the remote path format acceptable to the remote server?17:32
TJ-scp doesn't have -t (tty force) either17:32
tomreynthe actual issue is probably the lacking trailing slash on the local path, though: if /opt/Allan is a directory, then make it /opt/Allan/ instead17:33
TJ-won't the *.bak get expanded by the local shell?17:33
tomreynprobably that, too, due to double quotes.17:34
TJ-the remote syntax threw me but I assume it is just the Windows/CIFs way17:35
AnnoyedGreetings.  I'm in the process of moving from 14.04 LTS to 18.04, and I'm finding a number of strange things20:17
ikoniaAnnoyed: just explain what you're struggling with and people will help if they can20:18
AnnoyedThe current question is name resolution. This is gonna be a nameserver for my local network, but it doesn't seem to have BIND installed by default. Is that correct?20:20
tewardAnnoyed: by default BIND is not installed, correct.20:20
tewardyou would have to install BIND and set it up accordingly20:20
AnnoyedThat I expect to have to do. Byt I have not yet installed it. AS of now, nslookup at the command prompt gives me 127.0.0.53 as the responding server.. IS there already another DNS server that comes with this ?20:22
TJ-Annoyed: 127.0.0.53 tells us that systemd-resolved is in use20:23
AnnoyedSo, there is another nameserver installed20:23
tewardAnnoyed: no20:24
tewardthat's a local resolver system inbuilt to the systemd locally20:24
tewardit's *not* a NameServer that you would want to use to serve DNS to the local network itself20:24
Annoyedor is that forwarding to the ISP's servers and claiming to do it itself?20:24
tewardyou can configure it to use your BIND instance once you set it up for recursive DNS20:24
tewardAnnoyed: forwarding to the ISP servers configured by DHCP or in your static netowrk config20:25
AnnoyedOk, will bind's install scripts change that? or how do I tell it to use BIND instead of whatever it is using. I've gathered that it's not as simple as a simple file edit as it was in 14.0420:26
tewardAnnoyed: you would configure your network settings to use 127.0.0.1:53 as your nameserver - that should make it point to BIND20:30
tewardyour computer would still use systemd-resolved to issue DNS quereies, but it'll just query your BIND server directly localy20:31
tewardbut configure the BIND server first and make sure lookups work right ;)20:31
tewardTHEN mess with the local system's DNS20:31
AnnoyedI've still got all the config (actually, the entire old hard drive) stored on this, so I can copy the old config directly, that has worked for years. So that's not an issue.. problem is telling the damned system to use it20:33
AnnoyedThanks20:38
AnnoyedI'll see what happens when I try to set it up.20:39
AnnoyedOh, PS: TJ- what you were helping me w/ earlier is a PITA. Nothing that uses that inside interface works if nothing is plugged into it.. Had to get an old router to plug into it to keep it up.20:40
DammitJimI am  trying to join my Ubuntu 18.04 LTS server to an AD20:43
DammitJimnet join works20:43
DammitJimbut I can't log on to the server with credentials of a domain user20:44
DammitJimI'm using sssd + realmd and stuff20:44

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