=== Uptime is now known as skullgreymon === skullgreymon is now known as SkullGreymon === markthomas is now known as markthomas|away === Metacity is now known as Metacreepy === Metacreepy is now known as you-cannot-be-se === you-cannot-be-se is now known as seriously === seriously is now known as Metacreepy === phunyguy is now known as phunyghost === klaas_ is now known as klaas === jamietech is now known as jamietech- [04:58] 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] (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] Hello, does anyone know how to setup postfix? [05:57] 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] c-owner [06:03] CardingiSFun: beyond "dpkg-reconfigure postfix" ? [06:04] 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] does anyone know how to fix a email problem? my server wont send emails [06:43] CardingiSFun: Where is this server? Home, hosted, what? [06:44] 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] 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] CardingiSFun: Then this is an excellent learning opportunity for you. [06:46] 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] how do i set it up so it uses my domain name after the @? [06:50] 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] CardingiSFun: You need to search for and read documentation. [06:53] CardingiSFun: The answer to your question already exists in some eleventy-billion places on the internet. [06:54] CardingiSFun: And I've given you a pretty good starting point for your search already. [07:01] CardingiSFun: look for mx records [07:02] in dns and in reference to setting up email for a domain [07:03] mnathani_: that has nothing to do with his server sending emails out. he's not trying to receive email. [07:07] i was checking /var/mail/ttb and all i see is this http://pastebin.com/wzcGavx7 [07:09] CardingiSFun: I already told you what you need to start looking for. [07:09] https://www.digitalocean.com/community/tutorials/how-to-install-and-setup-postfix-on-ubuntu-14-04 [07:09] i followed that [07:10] 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] CardingiSFun: The difference being what I already told you. [07:11] i dont understand.. i cant understand what you mean.. [07:12] CardingiSFun: Because you keep asking for answers instead of doing your own research. [07:12] 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] 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] 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] 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] 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] i cant read well [07:16] ... Then that would appear to be your first issue. [07:16] And you might want to tackle that before trying to configure an email server, to be frank. [07:17] dyslexia doesnt help much [07:19] 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] 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] c-owner [08:22] Good morning === CiPi is now known as cipi === Lcawte|Away is now known as Lcawte [13:02] hey there [13:03] my nslookup IP returns wrong information [13:26] anyone? [13:26] mrtAkdeniz: what do you mean with wrong information? [13:26] what did you do, what did you expect to happen, what happened instead [13:27] Sling, my hostname is : roomworks.site [13:27] my hostname -f is roomworks.site [13:27] but when I try to send mail with postfix [13:27] it returns http://pastie.org/private/zpqv7egmbmkleugp1qfoga [13:27] as you see, it think my hostname is room.site [13:27] nslookup IP returns [13:27] no, room.team [13:28] 211.10.196.82.in-addr.arpa name = room.team. [13:28] Sling, yeah room.team .. I mean not my hostname [13:28] Somebody told that, my reverse lookups are wrong [13:28] so fix the PTR record to make the reverse and forward records point to each other [13:28] googling it for 1.5 hours.. stil no answer [13:29] then your google skills must be bad :) https://en.wikipedia.org/wiki/Reverse_DNS_lookup [13:29] Sling, I mean I did not find a solution to do that [13:29] Should I change my dns addresses? [13:29] on resolv.conf? [13:29] whichever company assigned you the IP should have a way of setting those PTR records [13:29] no this has nothing to do with your resolvers [13:29] hmm [13:30] it is digitalocean [13:30] i think i can check domains part, there must be an option for ptr [13:30] https://www.digitalocean.com/community/questions/how-do-i-set-up-reverse-dns-for-my-ip [13:30] rofl, i found it [13:30] i need to rename droplet to change it :3 [13:31] looks like it yes [13:31] 30 minutes ttl [13:31] Sling, thank you, I'll inform you if it works [13:31] so can take up to 30 minutes to work [13:32] http://paste2.org/h7DJkZW9 [13:32] looks good [13:33] yeah but no luck :\ [13:33] http://pastie.org/10519912 [13:35] probably dns cache [13:35] dns flush? [13:36] 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] or change to other resolvers that don't have this lookup cached yet [13:37] this may up to take 30 min? [13:37] or longer? [13:37] depends on the TTL of the record [13:37] which is 1800 seconds in this case [13:37] 211.10.196.82.in-addr.arpa. 1800 InfoTest PTRroomworks.site. [13:38] thank you so much [13:38] hm not sure where that InfoTest came from, but ok [13:38] I think after that my problem become postfix problem [13:39] oh wow, there are tab chars in my copy buffer and irssi uses that to autocomplete, heh [13:39] rofl [13:39] so InfoTest was not on there:D [13:39] sorry @ InfoTest :3 [13:40] IN PTR roomworks.site [13:40] :D [13:41] Sling, can you check it "http://pastie.org/10519917" is there any restriction? [13:44] im not a postfix expert, but the myhostname looks fine [13:44] if it still doesn't work in 20-30 mins, you can always check with #postfix === cipi is now known as CiPi [16:14] anyone here have experience configuring VLANs in Ubuntu-server [16:14] i am attemtping to have one ubuntu server act as a router for two seperate vlans on the same NIC [16:16] 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] maddawg2: Have you reviewed https://wiki.ubuntu.com/vlan ? [16:19] 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] interface [16:20] 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] maddawg2: If you're going to use vlans at all, tag EVERY network. Properly segregate your stuff. [16:21] gotcha [16:22] someone in another channel told me that most switches pass vlan tags regardless if they are managed or not. Is this true? [16:23] i was under the assumption that switches stripped the vlan tags out [16:23] and the switches would have to be configured in order to route traffic [16:26] maddawg2: depends on port configuration, I believe. Admittedly, the finer points of 802.1q aren't my forte. :/ [16:27] yea i've never used vlans before lol [16:27] 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] i want to take advantage of that so our public wifi is available throughout the whole facility [16:32] some switches will tag the ports (so the clients don't need to know about tagging) [17:05] hi all [17:06] 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] sarnold? [17:26] jak2000: did you upload the public key to server2's authorized_keys file for the user you're trying to login as? [17:26] 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] then try and SSH over with the key and not the password [17:27] if the key is not accepted then it will prompt for PW auth of course [17:27] (and if you're trying to do this as root, well, there's one of your problems) [17:27] s/there's one of your problems// [17:36] teward reading [17:40] jak2000: see "man ssh-copy-id" [17:40] in both boxes i do with user: jak [17:41] and http://pastie.org/10517424#15 line 54 (password OK), and copied the file [17:41] and yes i copyed the key generated on server 1 copied to server 1 [17:41] (i do this steps much times, here sarnold and TJ- try help me) [17:41] but not work [17:42] jak2000: i assume when you generated the key you just hit 'enter' at the password generation? [17:42] because it's always going to ask when you generate, if you leave it blank there's no pw [17:46] yes [17:46] only hit 'enter' [17:47] jak2000: well, it looks like rsync is working there. [17:47] "sending incremental file list" is typical of what I see [17:47] and it got past the authentication based on that (it'd have errored out before sending data, usually). [17:47] so what's wrong here? [17:47] yes line 52, but see line 51 [17:48] and line 58 and line 57 [17:48] ask the password [17:48] (i need generate a crontab task for copy a file from server1 to server2) without ask me a password [17:49] see please: http://postimg.org/image/5e385aizd/ [17:55] jak2000: image isn't useful, we know what you're trying to achieve (you've said it 3 times after all) [17:55] 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] we just need to make sure the key is actually being tried [17:56] (assuming you remember where you said the key should be saved, when you generated it) [17:59] hi everyone! [18:00] I am currently trying to strip down the ubuntu-server kernel to remove the modules that I don't want [18:00] Can someone point me to a link from which I can obtain the kernel source code for ubuntu server images? [18:00] !kernel [18:00] The core of Ubuntu is the Linux kernel: see https://help.ubuntu.com/community/Kernel - You shouldn't have to compile your own, and if you need to troubleshoot issues, you can try a !Mainline kernel instead, but if you insist, see https://help.ubuntu.com/community/Kernel/Compile (see also !Stages) [18:00] dtsdwarak: that last link there may be what you want, as well as the first one [18:04] 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] 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] then strip it down [18:05] then follow compilation [18:05] https://wiki.ubuntu.com/Kernel/BuildYourOwnKernel may be useful too [18:05] download, modify, compile. [18:06] how is that different from what you're asking? [18:06] 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] teward: i type: ssh -v on server1, and tell me a man page: usage: ssh [-1 [18:08] * teward grumbles [18:08] following: 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] jak2000: "from server 1 to server 2" [18:09] providing you use the same exact ssh command but add a -v to the arguments [18:09] which you failed to do [18:09] okk [18:09] from server2: `ssh -v foo@server2` [18:09] teward: ! [18:09] or w/e it is [18:09] dtsdwarak: then why are you not referring to the documentation on how to get the kernel? [18:10] "Obtaining the source for an Ubuntu release" on the link I gave you [18:10] (for BuildYourOwnKernel) [18:10] adapt and compile as you see fit [18:10] Thanks teward for your help. Let me check that first [18:11] teward: http://pastie.org/10520487 [18:12] 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] jak2000: how did you copy the key over to server2? Via ssh-copy-id ? [18:15] in both servers.... i have ubuntu 14.04 installed [18:15] i connect to each one via putty (from windows 8.1 pc) [18:15] in server 1 i do a cat: cat id_rsa.pub [18:15] and select (with mouse) and and paste on server 2 [18:16] http://pastie.org/10517424#15,22,24 (line 24 and line 40)0 [18:16] is wrong? [18:16] jak2000: don't use sudo to edit it, if the 'jak' user is the one it needs to be in [18:17] ok [18:17] on server 2: `sudo chown --recursive jak:jak /home/jak/.ssh` [18:17] try again after that [18:17] http://pastie.org/10517424#40 <-- this is where your mistake was, line 40 [18:19] ok [18:19] testing [18:20] :( http://pastie.org/10520526 [18:21] wich is wrong? [18:43] jak2000: what are the permissions on your id_rsa file? [18:46] quantic in server 1? or server 2? [18:47] jak2000: either. [18:47] jak2000: which one are you copying FROM? [18:47] see please: http://postimg.org/image/5e385aizd/ [18:48] jak2000: then server 1. You could have just answered that instead of linking me to that. [18:48] on server1: ls -l id_rsa.pub [18:48] jak2000: No. [18:48] -rw-r--r-- 1 jak jak 395 Oct 29 23:54 id_rsa.pub [18:48] ls -l id_rsa [18:48] jak@swManzana:~/.ssh$ ls -l id_rsa [18:48] -rw------- 1 jak jak 1679 Oct 29 23:54 id_rsa [18:48] on server 1 [18:49] 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] jak2000: is there an authorized_keys file in your .ssh directory on server 2? [18:52] quantic: http://pastie.org/10520625 [18:53] jak2000: And the answer to my second question? [18:53] i paste in the first lines [18:53] yes [18:55] quantic: http://pastie.org/10517424#15,22,24 i hit only 'enter' key when ask me a password (3 times) [18:56] jak2000: The contents of /var/log/auth.log on server 2 should indicate why key authentication is being refused. [18:57] 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] quantic ok i do on server2: sudo tail -f /var/log/auth.log [19:00] ons erfver 1: scp /backup/tari.sql jak@frigorificos.noip.me:/home/jak/sql/ [19:02] *server1 [19:02] quantic: http://pastie.org/10520649 [19:02] jak2000: your key is corrupt somehow. [19:03] 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] ok [19:05] 1) on server1: cd /home/jak/.ssh 2) rm * -f (same on server 2) [19:07] 3) server1: ssh-keygen -t rsa 9 ask me file an 2 times password( in all 3 ENTER) [19:07] 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] Sorry about that; I fell off the net. If I missed any replies, please resend them. [19:08] quantic can i do: scp id_rsa.pub jak@domain.noip.me:/home/jak/ftp ? [19:08] or better cat and paste? [19:10] jak2000: did you not read "man ssh-copy-id" ? [19:11] TJ- sorry, no [19:11] i read now [19:15] ssh-copy-id -i ~/.ssh/id_rsa.pub remote-host [19:17] TJ-, http://pastie.org/10520689 quantic: http://pastie.org/10520689 [19:18] ooooo not ask me a password [19:19] 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] testingo now copying the file [19:19] jak2000: so now your scp/rsync will do the same [19:20] ok [19:20] testing [19:22] TJ- uf............ done the thing [19:23] done..... :) i am happyy [21:07] 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 === phunyguy is now known as phunyghoul [23:19] http://www.twitch.tv/twitchinstallsarchlinux :D