[04:58] <trimeta> I'm having trouble getting the installer to work from a USB flash drive. I used dd to directly copy ubuntu-15.10-server-amd64.iso onto a drive, and while it boots initially, and I can hit "enter" at the "Install Ubuntu" screen, on the next screen (where it wants you to choose a language), it freezes and refuses to respond to any input.
[04:59] <trimeta> (Note, there are two "choose language" screens, the one before the "Install Ubuntu" option, and the one after. I can get through the first screen no problem, it's the second one where there's an issue.)
[05:55] <CardingiSFun> Hello, does anyone know how to setup postfix?
[05:57] <it_> i used this to backup                                                      sudo tar -cvpzf backuphome.tar.gz /media/it/faad1b8e-1145-4114-a15d-783536747e10/                                                                          should i type this to restore will it restore everything back??                                                              sudo tar -xvpzf /cdrom/backuphome.tar.gz -C /media/it/faad1b8e-1145-4114-a15d-783536747e10/ --numeri
[05:57] <it_> c-owner
[06:03] <quantic> CardingiSFun: beyond "dpkg-reconfigure postfix" ?
[06:04] <CardingiSFun> i have it installed just i dont know what to put as the settings. i have a webmin panel that is easy to configure it. i just dont know how i would do so with all the settings
[06:43] <CardingiSFun> does anyone know how to fix a email problem? my server wont send emails
[06:43] <quantic> CardingiSFun: Where is this server? Home, hosted, what?
[06:44] <quantic> CardingiSFun: because, honestly, postfix is very easy to configure via dpkg-reconfigure. I get the distinct feeling that you haven't done your own research.
[06:45] <CardingiSFun> its a server built at my friends house in flordia. i have full tv access and webmin access. and i just dont know what half the stuff does. like im not good with stuff like that besides the game servers i host.
[06:46] <quantic> CardingiSFun: Then this is an excellent learning opportunity for you.
[06:46] <quantic> CardingiSFun: But I'll give you something to get you started: You should configure it as a satellite host. You'll use a smarthost for delivery, and that smarthost is your friend's ISP's outbound email server.
[06:49] <CardingiSFun> how do i set it up so it uses my domain name after the @?
[06:50] <CardingiSFun> i have wolfbrotech.com forwarded to the server and the web-server works.  just when people register it doesnt send the activation email out.
[06:53] <quantic> CardingiSFun: You need to search for and read documentation.
[06:53] <quantic> CardingiSFun: The answer to your question already exists in some eleventy-billion places on the internet.
[06:54] <quantic> CardingiSFun: And I've given you a pretty good starting point for your search already.
[07:01] <mnathani_> CardingiSFun: look for mx records
[07:02] <mnathani_> in dns and in reference to setting up email for a domain
[07:03] <quantic> mnathani_: that has nothing to do with his server sending emails out. he's not trying to receive email.
[07:07] <CardingiSFun> i was checking /var/mail/ttb and all i see is this http://pastebin.com/wzcGavx7
[07:09] <quantic> CardingiSFun: I already told you what you need to start looking for.
[07:09] <CardingiSFun> https://www.digitalocean.com/community/tutorials/how-to-install-and-setup-postfix-on-ubuntu-14-04
[07:09] <CardingiSFun> i followed that
[07:10] <quantic> CardingiSFun: That doesn't fully apply to you. You're not hosting anything at DO. You're hosting it out of your friend's house.
[07:10] <quantic> CardingiSFun: The difference being what I already told you.
[07:11] <CardingiSFun> i dont understand.. i cant understand what you mean..
[07:12] <quantic> CardingiSFun: Because you keep asking for answers instead of doing your own research.
[07:12] <quantic> CardingiSFun: But I'll give you something to get you started: You should configure it as a satellite host. You'll use a smarthost for delivery, and that smarthost is your friend's ISP's outbound email server.
[07:13] <quantic> CardingiSFun: I said that earlier. That, quite literally, is the answer you're looking for. How to actually DO that is an exercise left to you.
[07:14] <quantic> CardingiSFun: To explain: Your friend's server isn't capable of sending emails the way normal not-hosted-at-home servers do. It can't just send an email straight to the destination - it'll get flagged as spam almost 100% of the time, if it's even accepted at all.
[07:15] <quantic> CardingiSFun: His internet service provider, whoever that might be, has an email server for this use. You'll have to configure postfix to use that server as a relay when it sends mail.
[07:15] <quantic> CardingiSFun: It's very easy to configure postfix to do this, but you have to Read The Furnished Materials to figure out how to do it.
[07:16] <CardingiSFun> i cant read well
[07:16] <quantic> ... Then that would appear to be your first issue.
[07:16] <quantic> And you might want to tackle that before trying to configure an email server, to be frank.
[07:17] <CardingiSFun> dyslexia doesnt help much
[07:19] <quantic> You're going to have to learn to conpensate. :/ It's unfortunate, but the expectation is that you can do your own research.
[07:35] <it_> i used this to backup                                                      sudo tar -cvpzf backuphome.tar.gz /media/it/faad1b8e-1145-4114-a15d-783536747e10/                                                                          should i type this to restore will it restore everything back??                                                              sudo tar -xvpzf /cdrom/backuphome.tar.gz -C /media/it/faad1b8e-1145-4114-a15d-783536747e10/ --numeri
[07:35] <it_> c-owner
[08:22] <lordievader> Good morning
[13:02] <mrtAkdeniz> hey there
[13:03] <mrtAkdeniz> my nslookup IP returns wrong information
[13:26] <mrtAkdeniz> anyone?
[13:26] <Sling> mrtAkdeniz: what do you mean with wrong information?
[13:26] <Sling> what did you do, what did you expect to happen, what happened instead
[13:27] <mrtAkdeniz> Sling, my hostname is : roomworks.site
[13:27] <mrtAkdeniz> my hostname -f is roomworks.site
[13:27] <mrtAkdeniz> but when I try to send mail with postfix
[13:27] <mrtAkdeniz> it returns http://pastie.org/private/zpqv7egmbmkleugp1qfoga
[13:27] <mrtAkdeniz> as you see, it think my hostname is room.site
[13:27] <mrtAkdeniz> nslookup IP returns
[13:27] <Sling> no, room.team
[13:28] <mrtAkdeniz> 211.10.196.82.in-addr.arpa	name = room.team.
[13:28] <mrtAkdeniz> Sling, yeah room.team .. I mean not my hostname
[13:28] <mrtAkdeniz> Somebody told that, my reverse lookups are wrong
[13:28] <Sling> so fix the PTR record to make the reverse and forward records point to each other
[13:28] <mrtAkdeniz> googling it for 1.5 hours.. stil no answer
[13:29] <Sling> then your google skills must be bad :) https://en.wikipedia.org/wiki/Reverse_DNS_lookup
[13:29] <mrtAkdeniz> Sling, I mean I did not find a solution to do that
[13:29] <mrtAkdeniz> Should I change my dns addresses?
[13:29] <mrtAkdeniz> on resolv.conf?
[13:29] <Sling> whichever company assigned you the IP should have a way of setting those PTR records
[13:29] <Sling> no this has nothing to do with your resolvers
[13:29] <mrtAkdeniz> hmm
[13:30] <mrtAkdeniz> it is digitalocean
[13:30] <mrtAkdeniz> i think i can check domains part, there must be an option for ptr
[13:30] <Sling> https://www.digitalocean.com/community/questions/how-do-i-set-up-reverse-dns-for-my-ip
[13:30] <mrtAkdeniz> rofl, i found it
[13:30] <mrtAkdeniz> i need to rename droplet to change it :3
[13:31] <Sling> looks like it yes
[13:31] <Sling> 30 minutes ttl
[13:31] <mrtAkdeniz> Sling, thank you, I'll inform you if it works
[13:31] <Sling> so can take up to 30 minutes to work
[13:32] <Sling> http://paste2.org/h7DJkZW9
[13:32] <Sling> looks good
[13:33] <mrtAkdeniz> yeah but no luck :\
[13:33] <mrtAkdeniz> http://pastie.org/10519912
[13:35] <Sling> probably dns cache
[13:35] <mrtAkdeniz> dns flush?
[13:36] <Sling> unless you have permission to do that on the dns resolvers you are using, you will have to wait until their cache expires
[13:36] <Sling> or change to other resolvers that don't have this lookup cached yet
[13:37] <mrtAkdeniz> this may up to take 30 min?
[13:37] <mrtAkdeniz> or longer?
[13:37] <Sling> depends on the TTL of the record
[13:37] <Sling> which is 1800 seconds in this case
[13:37] <Sling> 211.10.196.82.in-addr.arpa. 1800 InfoTest PTRroomworks.site.
[13:38] <mrtAkdeniz> thank you so much
[13:38] <Sling> hm not sure where that InfoTest came from, but ok
[13:38] <mrtAkdeniz> I think after that my problem become postfix problem
[13:39] <Sling> oh wow, there are tab chars in my copy buffer and irssi uses that to autocomplete, heh
[13:39] <mrtAkdeniz> rofl
[13:39] <mrtAkdeniz> so InfoTest was not on there:D
[13:39] <mrtAkdeniz> sorry @ InfoTest :3
[13:40] <Sling> IN <tab> PTR <tab> roomworks.site
[13:40] <mrtAkdeniz> :D
[13:41] <mrtAkdeniz> Sling, can you check it "http://pastie.org/10519917" is there any restriction?
[13:44] <Sling> im not a postfix expert, but the myhostname looks fine
[13:44] <Sling> if it still doesn't work in 20-30 mins, you can always check with #postfix
[16:14] <maddawg2> anyone here have experience configuring VLANs in Ubuntu-server
[16:14] <maddawg2> i am attemtping to have one ubuntu server act as a router for two seperate vlans on the same NIC
[16:16] <quantic> maddawg2: I think it's a matter of installing the "vlan" package, then creating interfaces in /etc/network/interfaces with the "vlan-raw-device" stanza.
[16:17] <quantic> maddawg2: Have you reviewed https://wiki.ubuntu.com/vlan ?
[16:19] <maddawg2> quantic that was my assumption too... we use ubuntu server where i work and we've never used vlans before, but we use ubuntu as our router and vpn server for all of the facilties.  However we have some local IT people who are not well verse in Linux and as such we made it slightly easier to manage aspects of the server using webmin.  I am curious as to whether creating a vlan in the interfaces file would appear to the dhcp module as a seperate
[16:19] <maddawg2> interface
[16:20] <maddawg2> also wondering if there are any best practices when assignling vlan tags... I.e. i want a public network and a corporate network... is it best to leave the corporate network tagged and leave public untagged or does it matter?
[16:21] <quantic> maddawg2: If you're going to use vlans at all, tag EVERY network. Properly segregate your stuff.
[16:21] <maddawg2> gotcha
[16:22] <maddawg2> someone in another channel told me that most switches pass vlan tags regardless if they are managed or not.  Is this true?
[16:23] <maddawg2> i was under the assumption that switches stripped the vlan tags out
[16:23] <maddawg2> and the switches would have to be configured in order to route traffic
[16:26] <quantic> maddawg2: depends on port configuration, I believe. Admittedly, the finer points of 802.1q aren't my forte. :/
[16:27] <maddawg2> yea i've never used vlans before lol
[16:27] <maddawg2> used to just use seperate physical networks, but some our facilities dont have a physically seperate network, and also our wifi APs will allow us to use multiple SSIDs bonded wth a vlan
[16:28] <maddawg2> i want to take advantage of that so our public wifi is available throughout the whole facility
[16:32] <TJ-> some switches will tag the ports (so the clients don't need to know about tagging)
[17:05] <jak2000> hi all
[17:06] <jak2000> http://pastie.org/10517424#15   cant do the job, i need copy a file from server1 to server2, i try generate a ssh certificate, and ask and ask me the password any adivce?
[17:07] <jak2000> sarnold?
[17:26] <teward> jak2000: did you upload the public key to server2's authorized_keys file for the user you're trying to login as?
[17:26] <teward> for example, to add my SSH key to 'teward' on server2.tewardnet, i'd have to SSH in to there first, and put it into /home/teward/.ssh/authorized_keys
[17:26] <teward> then try and SSH over with the key and not the password
[17:27] <teward> if the key is not accepted then it will prompt for PW auth of course
[17:27] <teward> (and if you're trying to do this as root, well, there's one of your problems)
[17:27] <teward> s/there's one of your problems//
[17:36] <jak2000> teward reading
[17:40] <TJ-> jak2000: see "man ssh-copy-id"
[17:40] <jak2000> in both boxes i do with user: jak
[17:41] <jak2000> and http://pastie.org/10517424#15   line 54 (password OK), and copied the file
[17:41] <jak2000> and yes i copyed the key generated on server 1 copied to server 1
[17:41] <jak2000> (i do this steps much times, here sarnold and TJ- try help me)
[17:41] <jak2000> but not work
[17:42] <teward> jak2000: i assume when you generated the key you just hit 'enter' at the password generation?
[17:42] <teward> because it's always going to ask when you generate, if you leave it blank there's no pw
[17:46] <jak2000> yes
[17:46] <jak2000> only hit 'enter'
[17:47] <teward> jak2000: well, it looks like rsync is working there.
[17:47] <teward> "sending incremental file list" is typical of what I see
[17:47] <teward> and it got past the authentication based on that (it'd have errored out before sending data, usually).
[17:47] <teward> so what's wrong here?
[17:47] <jak2000> yes line 52, but see line 51
[17:48] <jak2000> and line 58 and line 57
[17:48] <jak2000> ask the password
[17:48] <jak2000> (i need generate a crontab task for copy a file from server1 to server2) without ask me a password
[17:49] <jak2000> see please: http://postimg.org/image/5e385aizd/
[17:55] <teward> jak2000: image isn't useful, we know what you're trying to achieve (you've said it 3 times after all)
[17:55] <teward> jak2000: `ssh -v` from server1 to server2.  Pastebin the output.  Check to make sure that the key is being provided during the connection phase, you'll maybe see something like this in the verbose output:  debug1: identity file /home/teward/.ssh/id_rsa type -1
[17:56] <teward> we just need to make sure the key is actually being tried
[17:56] <teward> (assuming you remember where you said the key should be saved, when you generated it)
[17:59] <dtsdwarak> hi everyone!
[18:00] <dtsdwarak> I am currently trying to strip down the ubuntu-server kernel to remove the modules that I don't want
[18:00] <dtsdwarak> Can someone point me to a link from which I can obtain the kernel source code for ubuntu server images?
[18:00] <teward> !kernel
[18:00] <teward> dtsdwarak: that last link there may be what you want, as well as the first one
[18:04] <dtsdwarak> teward: and ubottu : Thanks a lot guys. Maybe I put my question wrong. I wanted a way to compile minimal kernel for ubuntu server. The one that resides in kernel.org is too heavy and way too much stuff seems to be taken care of
[18:05] <teward> dtsdwarak: compiling remains the same either way, you still have to first *obtain* the source code, and to start you have to get a copy of the kernel
[18:05] <teward> then strip it down
[18:05] <teward> then follow compilation
[18:05] <teward> https://wiki.ubuntu.com/Kernel/BuildYourOwnKernel may be useful too
[18:05] <teward> download, modify, compile.
[18:06] <teward> how is that different from what you're asking?
[18:06] <dtsdwarak> The ubuntu server's built in kernel is already stripped down version right? I wanted way so I can start off from where it left - to strip it further down easily.
[18:06] <jak2000> teward: i type: ssh -v on server1, and tell me a man page: usage: ssh [-1
[18:08]  * teward grumbles
[18:08] <jak2000> following: <teward> jak2000: `ssh -v` from server1 to server2.  Pastebin the output.  Check to make sure that the key is being provided during the connection phase, you'll maybe see something like this in the verbose output:  debug1: identity file /home/teward/.ssh/id_rsa type -1
[18:08] <teward> jak2000: "from server 1 to server 2"
[18:09] <teward> providing you use the same exact ssh command but add a -v to the arguments
[18:09] <teward> which you failed to do
[18:09] <jak2000> okk
[18:09] <teward> from server2: `ssh -v foo@server2`
[18:09] <dtsdwarak> teward: !
[18:09] <teward> or w/e it is
[18:09] <teward> dtsdwarak: then why are you not referring to the documentation on how to get the kernel?
[18:10] <teward> "Obtaining the source for an Ubuntu release" on the link I gave you
[18:10] <teward> (for BuildYourOwnKernel)
[18:10] <teward> adapt and compile as you see fit
[18:10] <dtsdwarak> Thanks teward for your help. Let me check that first
[18:11] <jak2000> teward: http://pastie.org/10520487
[18:12] <teward> jak2000: lines 37 and 38 suggest that the key was offered but it was not accepted by the server.  So either the public key is not in the correct place on server2, or it's incorrectly copied, or one of many other issues
[18:14] <teward> jak2000: how did you copy the key over to server2?  Via ssh-copy-id ?
[18:15] <jak2000> in both servers.... i have ubuntu 14.04 installed
[18:15] <jak2000> i connect to each one via putty (from windows 8.1 pc)
[18:15] <jak2000> in server 1 i do a cat: cat id_rsa.pub
[18:15] <jak2000> and select (with mouse) and and paste on server 2
[18:16] <jak2000> http://pastie.org/10517424#15,22,24   (line 24 and line 40)0
[18:16] <jak2000> is wrong?
[18:16] <teward> jak2000: don't use sudo to edit it, if the 'jak' user is the one it needs to be in
[18:17] <jak2000> ok
[18:17] <teward> on server 2: `sudo chown --recursive jak:jak /home/jak/.ssh`
[18:17] <teward> try again after that
[18:17] <teward> http://pastie.org/10517424#40  <-- this is where your mistake was, line 40
[18:19] <jak2000> ok
[18:19] <jak2000> testing
[18:20] <jak2000> :( http://pastie.org/10520526
[18:21] <jak2000> wich is wrong?
[18:43] <quantic> jak2000: what are the permissions on your id_rsa file?
[18:46] <jak2000> quantic in server 1? or server 2?
[18:47] <quantic> jak2000: either.
[18:47] <quantic> jak2000: which one are you copying FROM?
[18:47] <jak2000> see please: http://postimg.org/image/5e385aizd/
[18:48] <quantic> jak2000: then server 1. You could have just answered that instead of linking me to that.
[18:48] <jak2000> on server1: ls -l id_rsa.pub
[18:48] <quantic> jak2000: No.
[18:48] <jak2000> -rw-r--r-- 1 jak jak 395 Oct 29 23:54 id_rsa.pub
[18:48] <quantic> ls -l id_rsa
[18:48] <jak2000> jak@swManzana:~/.ssh$ ls -l id_rsa
[18:48] <jak2000> -rw------- 1 jak jak 1679 Oct 29 23:54 id_rsa
[18:48] <jak2000> on server 1
[18:49] <quantic> jak2000: try to ssh to server 2, see if key auth works. If not, ssh -vv to server 2 and pastebin the log. It's going to be quite spammy.
[18:50] <quantic> jak2000: is there an authorized_keys file in your .ssh directory on server 2?
[18:52] <jak2000> quantic: http://pastie.org/10520625
[18:53] <quantic> jak2000: And the answer to my second question?
[18:53] <jak2000> i paste in the first lines
[18:53] <jak2000> yes
[18:55] <jak2000> quantic: http://pastie.org/10517424#15,22,24      i hit only 'enter' key when ask me a password (3 times)
[18:56] <quantic> jak2000: The contents of /var/log/auth.log on server 2 should indicate why key authentication is being refused.
[18:57] <trimeta> I'm having trouble getting the installer to work from a USB flash drive. I used dd to directly copy ubuntu-15.10-server-amd64.iso onto a drive, and while it boots initially (using either regular USB boot or UEFI), and I can hit "enter" at the "Install Ubuntu" screen, on the next screen after that (where it wants you to choose a language), it freezes and refuses to respond to any input.
[19:00] <jak2000> quantic ok i do on server2: sudo tail -f /var/log/auth.log
[19:00] <jak2000> ons erfver 1: scp  /backup/tari.sql jak@frigorificos.noip.me:/home/jak/sql/
[19:02] <jak2000> *server1
[19:02] <jak2000> quantic: http://pastie.org/10520649
[19:02] <quantic> jak2000: your key is corrupt somehow.
[19:03] <quantic> jak2000: regenerate it. ensure that the private key is in id_rsa, the public key in id_rsa.pub, and that public key copied to authorized_keys on the destination server.
[19:04] <jak2000> ok
[19:05] <jak2000> 1) on server1: cd /home/jak/.ssh    2) rm * -f   (same on server 2)
[19:07] <jak2000> 3) server1: ssh-keygen -t rsa  9 ask me file an 2 times password( in all 3 ENTER)
[19:07] <jak2000> generated 2 files: -rw------- 1 jak jak 1679 Oct 31 13:06 id_rsa   and -rw-r--r-- 1 jak jak  395 Oct 31 13:06 id_rsa.pub
[19:07] <trimeta> Sorry about that; I fell off the net. If I missed any replies, please resend them.
[19:08] <jak2000> quantic can i do: scp id_rsa.pub jak@domain.noip.me:/home/jak/ftp   ?
[19:08] <jak2000> or better cat and paste?
[19:10] <TJ-> jak2000: did you not read "man ssh-copy-id" ?
[19:11] <jak2000> TJ- sorry, no
[19:11] <jak2000> i read now
[19:15] <jak2000> ssh-copy-id -i ~/.ssh/id_rsa.pub remote-host
[19:17] <jak2000> TJ-, http://pastie.org/10520689    quantic: http://pastie.org/10520689
[19:18] <jak2000> ooooo not ask me a password
[19:19] <TJ-> jak2000: that looks correct. Now try an ssh log-in to the target(s) and you ought not to need to enter a password
[19:19] <jak2000> testingo now copying the file
[19:19] <TJ-> jak2000: so now your scp/rsync will do the same
[19:20] <jak2000> ok
[19:20] <jak2000> testing
[19:22] <jak2000> TJ- uf............ done the thing
[19:23] <jak2000> done..... :) i am happyy
[21:07] <trimeta> I'm in the ubuntu-server ncurses-based installer, and I'm trying to configure some encrypted volumes manually. I set up a couple of disks and was able to do this successfully (by formatting the disk as encrypted volume, then going to "configure encrypted volumes" and activating those volumes), but some other partitions refuse to appear in the "configure encrypted volumes" options even though they also were set up as "physical
[23:19] <bittin> http://www.twitch.tv/twitchinstallsarchlinux :D