[00:58] <dougb> is there a way to copy a complete directory? i tried cp -r dir1 dir2 but I get the error "target 'dir2' is not a directory"
[01:02] <dougb> nvm, got it working!
[01:07] <kirkland> hallyn: done!
[01:08] <kirkland> hallyn: pushed to lp:ubuntu/spice and uploaded to raring!  enjoy ;-)
[02:27] <hallyn> kirkland: thanks!  good night.
[03:50] <reiligha> Hi. I was trying to change my ssh settings to not permit root login, but I did not find the line PermitRootLogin yes in my ssh_config file. I'm using 12.04 LTS
[03:51] <qman__> reiligha, the file is /etc/ssh/sshd_config
[03:52] <cfhowlett> !cookie|qman__,
[03:52] <ae86-drifter_> could somebody please help me troubleshoot my internet connection? here's my ifconfig output here: http://pastebin.com/6FmcVxyn  I cannot ping any public IPs or hosts... I am running ubuntu server 12.10, the machine has two physical nics, i've followed all guides on the ubuntu website and still not working. I have set static addresses and other machines on the same subnet are working fine, just not this ubuntu-server...a
[03:52] <reiligha> qman__ I didn't find that under etc/ssh, is it somewhere else?
[03:52] <cfhowlett> qman__, now THAT is some impressive cli-fu!
[03:53] <qman__> reiligha, no, that's where it is
[03:53] <qman__> ssh_config contains client settings, sshd_config contains server settings
[03:54] <ae86-drifter_> #networking
[03:55] <reiligha> qman__ I definately do not see it there. I only have two items in etc/ssh
[03:55] <qman__> reiligha, if you installed the ubuntu openssh-server package you would have many more than two, it stores the host keys there as well
[03:55] <qman__> more than likely it's not installed, or the config was removed somehow
[03:56] <qman__> ssh server is not installed by default
[03:56] <reiligha> qman__ Thank you. I thought it was installed by default.
[03:58] <qman__> ae86-drifter_, your networking configuration is incredibly complex, but please check to make sure you have one and only one default gateway, and have DNS servers configured
[03:58] <qman__> as of 12.04 ubuntu uses resolvconf out of the box
[03:58] <qman__> so you have to configure your DNS servers in /etc/network/interfaces
[03:58] <ae86-drifter_> qman__: I cannot even ping DNS servers by IP address
[03:59] <qman__> ae86-drifter_, I've never seen a macvtap interface, what are you running it on?
[04:00] <qman__> also, what is vibr0 bridging to?
[04:00] <ae86-drifter_> qman__: it's for VMs running on KVM, it's weird because they work fine
[04:01] <qman__> sounds like your default gateway is missing then, what's the output of route -n?
[04:01] <qman__> sorry, "route -n"
[04:01] <ae86-drifter_> i am actually connected to wifi through a virtualized firewall which is the gateway for all my machines, however the KVM host has no internet, lol, everything else does..
[04:02] <qman__> the behavior is as though the KVM host does not have a default gateway configured, or its default gateway is otherwise incorrec
[04:02] <qman__> t
[04:03] <qman__> which makes sense, since the guests need only be bridged to the LAN
[04:03] <qman__> and that doesn't require the host to be able to contact anything but the LAN
[04:03] <ae86-drifter_> the PPPoE connection is bridged on my modem, through to the kvm host, through to a VM running pfSense which has the public IP
[04:03] <ae86-drifter_> my default gateway reported by route is correct
[04:04] <ae86-drifter_> the VM on itself is the default gateway
[04:04] <qman__> well, that probably won't work
[04:04] <ae86-drifter_> qman__: it does
[04:04] <qman__> the KVM host is going to need a default gateway not dependent on its guests
[04:05] <ae86-drifter_> qman__: once the VM is up, it will be fine
[04:05] <ae86-drifter_> and it's set to auto-start
[04:05] <qman__> that that it isn't theoretically possible, but I can see lots of trouble with packets going both ways across the same bridges
[04:06] <qman__> could be one of the many layers of virtual networking going wrong
[04:06] <ae86-drifter_> qman__: i don't understand what you mean
[04:06] <ae86-drifter_> qman__: the gateway is functioning correctly
[04:07] <qman__> not if you can't ping hosts on the internet, it isn't
[04:07] <qman__> that's what the gateway does, and if the gateway routes traffic fine for other hosts, it's not the gateway's fault
[04:07] <ae86-drifter_> qman__: I am using it now on my laptop.
[04:07] <qman__> it's that this host can't use it
[04:07] <ae86-drifter_> for my internet
[04:08] <ae86-drifter_> yeah, it's just this one ubuntu server host that i need help with that's all
[04:08] <qman__> another question, what sort of wifi are you connected to?
[04:09] <qman__> some kinds of firewalls that universities and corporations use can cause this to not work right
[04:09] <ae86-drifter_> that's totally irrelevant, but the VM is providing an access point (PCI redirection in AP mode)
[04:10] <ae86-drifter_> (the gateway)
[04:10] <qman__> what?
[04:10] <ae86-drifter_> qman__: it's quite complex
[04:10] <qman__> clearly
[04:11] <ae86-drifter_> but the wifi works fine okay, liek i said, i'm using it on my laptop
[04:11] <qman__> that's not what I mean
[04:11] <qman__> do you own/control the access point/the whole network?
[04:11] <qman__> no weird firewalls?
[04:11] <ae86-drifter_> yes.. it's in my home, it's mine lol
[04:11] <qman__> ok
[04:12] <ae86-drifter_> qman__: the "gateway" is a virtualized firewall, "pfSense"
[04:12] <ae86-drifter_> which is running on the physical KVM host (ubuntu server) with 3 NICs (2x wired & 1x Wifi)
[04:12] <qman__> well, there are a couple things pfsense can do that could break this but I'm guessing you don't have those configured
[04:13] <ae86-drifter_> one NIC connected to my modem and one connected to a switch and the wifi acting as an AP (by having the PCI slot redirected to the pfSense firewall and being controlled by that)
[04:14] <qman__> ok
[04:14] <qman__> so, new question, your internet connection, does the KVM host have an IP on that interface, or is it also PCI redirected?
[04:14] <ae86-drifter_> qman__: please imagine that the gateway is doing it's job correctly
[04:14] <ae86-drifter_> qman__: it's bridged
[04:14] <qman__> I can't do that because the problem being described is that the gateway is not working
[04:14] <qman__> ok
[04:15] <ae86-drifter_> but no IP configured on the KVM host, i am letting pfSense have the public IP
[04:16] <qman__> I understand the configuration now, but unfortunately all the problems I can think of as the cause are not the case
[04:16] <qman__> the only way I could continue is with a packet capture
[04:17] <ae86-drifter_> qman__: how would you go about the packet capture?
[04:18] <qman__> I would run a capture on pfsense, and then try to ping an internet host from the kvm host
[04:18] <qman__> and see what happens on both sides of pfsense
[04:18] <qman__> see if traffic makes it to, through, and gets translated correctly
[04:18] <ae86-drifter_> tcpdump | grep 10.13.37.2  ?
[04:19] <qman__> mm, might be easier if you did a ping specific filter so you can see the whole picture
[04:19] <qman__> I can't remember how to do that off the top of my head
[04:20] <qman__> but I'd capture icmp on all interfaces
[04:20] <qman__> or at least the two relevant ones
[04:21] <ae86-drifter_> qman__: I'm not sure what you mean, i'm pretty noob
[04:21] <qman__> ping traffic is icmp protocol, and no real traffic is
[04:21] <ae86-drifter_> oh i see what you mean now
[04:21] <qman__> so you'd want to capture all icmp on the interface KVM connects to, and the WAN interface
[04:22] <qman__> then do a ping and watch how the flow happens
[04:22] <ae86-drifter_> ok i'll try
[04:22] <qman__> where it stops
[04:24] <ae86-drifter_> it's not capturing any packets from that address
[04:24] <ae86-drifter_> i dont think it's even getting there
[04:25] <qman__> ok
[04:25] <ae86-drifter_> i'm getting random packets from other hosts on the same network, just not this one
[04:25] <qman__> maybe the IP is assigned to the wrong interface then, or not bridged correctly?
[04:25] <ae86-drifter_> i'm gonna disable ipv6
[04:25] <qman__> on the KVM host
[04:26] <ae86-drifter_> qman__: if that were the case, then my other machines wouldn't get an IP and my firewall would get a public IP either
[04:26] <qman__> not exactly
[04:26] <qman__> if the right interface is bridged correctly, they could still work, even if the host has no IP on that interface
[04:27] <qman__> though with all those interfaces it's quite a bear to try and figure out
[04:27] <ae86-drifter_> wouldn't get a public IP either*
[04:27] <qman__> if the right interfaces are bridged correctly*
[04:28] <qman__> the guests only care about the bridge being done and the interfaces being up, not the host's IP config
[04:31] <ae86-drifter_> okay.. just not sure how i would confirm that / fix it
[04:31] <qman__> well, it's a bit complicated
[04:31] <qman__> you could run packet captures on the KVM host, on each interface, until you see the traffic in the network you expect
[04:31] <qman__> but the bridging may throw that off
[04:32] <qman__> unfortunately with all the virtual bridging and the wireless, the config isn't all in /etc/network/interfaces, so it's harder to see the whole picture
[04:33] <ae86-drifter_> the bridges definately work to all VMs (whether they work properly or not, i don't know..), just the internet on the VM host doesn't.. it's really strange because i can plug a physical machine into it's physical interface, get an IP and internet works fine (static or DHCP)
[04:34] <ae86-drifter_> qman__: but the KVM host only really has one IP on the LAN on interface p4p1
[04:34] <ae86-drifter_> so where else would it go?
[04:35] <ae86-drifter_> i'm a little confused
[04:35] <qman__> what all is p4p1 bridged to?
[04:35] <qman__> also, out of the box
[04:35] <qman__> an interface will not accept traffic that originated from it
[04:35] <qman__> and likewise it will not forward traffic it received back out the same interface
[04:36] <nmgsc> Hello ppl noob here
[04:36] <ae86-drifter_> the routing table is very simple - only three lines: http://pastebin.com/ny823BCS
[04:37] <ae86-drifter_> qman__: okay..
[04:37] <nmgsc> need help I just install ubuntu 12.10 and I get the shell instead of the graphis asking me for a log in ?¿?
[04:37] <qman__> so, if your traffic goes out p4p1, does it have to come back in the same interface to get to pfsense?
[04:37] <qman__> it may depending on how the bridges are set up
[04:38] <ae86-drifter_> nmgsc: did you install the server version?
[04:38] <ae86-drifter_> qman__: i need to thin kabout that
[04:38] <nmgsc> hmmmm yep yep
[04:38] <qman__> nmgsc, ubuntu server does not have a GUI
[04:38] <nmgsc> yes i did
[04:38] <qman__> it's command-line only
[04:38] <ae86-drifter_> ae86-drifter_: no, it goes to a virtual nic
[04:38] <nmgsc> looks like Im learning the right way He He He
[04:39] <ae86-drifter_> pfsense's BOTH wired NIC's are virtual.
[04:39] <nmgsc> can you give me a link to the one that is not a server plz
[04:40] <ae86-drifter_> i really think i just need a small config tweak on the ubuntu server/kvm host
[04:40] <qman__> that's likely, it may need an adjustment to the firewall or routing settings, or it may need to be set on a different interface
[04:41] <qman__> trouble is pinpointing it, due to the complexity
[04:41] <nmgsc> thanks ae86-drifter_ :}
[04:41] <ae86-drifter_> qman: maybe i should create a "management" virtual network...
[04:42] <qman__> just one thing to consider
[04:42] <ae86-drifter_> nmgsc: http://www.ubuntu.com/download/desktop
[04:42] <qman__> you said the VMs bridge to p4p1 in order to hit pfsense?
[04:42] <qman__> or do they bridge to virbr0?
[04:43] <nmgsc> ae86-drifter_ tk bud
[04:43] <ae86-drifter_> yep
[04:43] <qman__> or rather
[04:43] <qman__> that you plug into p4p1 on the LAN and get internet?
[04:43] <ae86-drifter_> p4p1
[04:43] <ae86-drifter_> yep, correct
[04:43] <qman__> and that's on the same IP range as you're using on the KVM host?
[04:43]  * nmgsc hands ae86-drifter_ a Pepsi .PEPSI.
[04:44] <ae86-drifter_> well, it's a switch but yeah, hosts on the switch seem fine
[04:44] <ae86-drifter_> yeah
[04:44] <qman__> yes, but they use the same 10.13.37.x?
[04:45] <ae86-drifter_> well, i can ssh to the kvm host fine from my lan using it's LAN ip on that network
[04:45] <qman__> ok
[04:45] <qman__> I have one thing to try, but I need to put the rules together
[04:46] <qman__> hmm, maybe these rules won't work
[04:47] <qman__> here's what I think is happening
[04:47] <qman__> kvm host sends ping out, it goes out p4p1 to the switch
[04:47] <ae86-drifter_> i cant ping the gateway from the kvm host
[04:47] <qman__> switch points it back to pfsense, which sends it back to p4p1, which then gets dropped
[04:47] <ae86-drifter_> but every other machine can..
[04:48] <ae86-drifter_> okay
[04:48] <qman__> the vms can because the vms are bridged on the same virtual switch as pfsense, but the kvm host is using the physical interface
[04:48] <qman__> this is just a guess, but a packet capture on p4p1 during a ping may reveal the answer
[04:50] <ae86-drifter_> oaky i'll try, i see what you mean
[04:50] <qman__> if this is the case, I'm not sure how to correct it
[04:50] <qman__> I know how to fix the opposite problem, but not this one
[04:55] <qman__> even if that's wrong I still think that for some reason kvm host's packets are not getting to the virtual switch
[08:20] <nn0101> hi
[08:21] <nn0101> setup=> encrypted lvm 12.10 (fresh install). booting now just hangs. it looks like it's trying to boot off my encrypted lvm but unable to do so.
[08:21] <nn0101> any help?
[08:21] <nn0101> thanks
[08:22] <nn0101> not encrypted => /boot is 250mb
[08:23] <nn0101> leme livecd it and mount the encrypted lvm
[08:24] <nn0101> but this is 12.10! i don't understand why the option exists on the installation if its not supposed to work!
[08:24] <nn0101> why the option exists in the debian install process if its not supposed to work straight off
[10:43] <decci> How can I build Ubuntu 12.04.1 inserting a new Intel driver igb version
[11:43] <zatricky> Hey all. Headless server (currently has a monitor attached) not booting but also not giving any error message other than the standard message regarding sparse files not being supported with btrfs.
[11:43] <zatricky> How can I get more output about what's really going on?
[12:03] <Diegonat> hi guys
[12:04] <Diegonat> guys I created a script for udev that seems to work but RUM+="" which does not execute the command, why? RUN+="/bin/echo a > /opt/nearline.pid"
[12:04] <Diegonat> what can it be???
[12:04] <zatricky> RUM/RUN ?
[12:04] <zatricky> typo?
[12:07] <Diegonat> zatricky
[12:07] <Diegonat> what do you mean?
[12:08] <Diegonat> RUN sorry I meant
[12:08] <zatricky> (14:04:02) Diegonat: guys I ... but RUM+="" which ... why? RUN+="/...
[12:08] <Diegonat> I paste the command
[12:08] <Diegonat> it does not execute anything
[12:08] <Diegonat> why?
[12:08] <Diegonat> it should work
[12:09] <Diegonat> zatricky
[12:09] <Diegonat> any idea?
[12:11] <zatricky> not really - hopefully someone else has more experience with udev
[12:12] <Diegonat> can it be apparmor that stops udev form executing commands?
[12:13] <Diegonat> no its not
[12:13] <Diegonat> ghghghhg so annoyed
[12:19] <Diegonat> I need help with udev
[12:22] <RoyK> with /proc/sys/... there's /etc/sysctl.conf etc - is there a similar thing for things like /sys/block/sdh/device/timeout ?
[13:10] <koolhead17> Daviey, who else is at FOSDEM :)
[13:14] <Shogoot> Hi. Ive been foollowing this guide for settting up a ubuntu server with webmin.. Guide from ---> ://woodel.com/ Ive tried to connect to ftp but its not letting me, and i have followed the guide to the letter. Any of you that can help me out find why my ftp is not working as intended?
[13:18] <RoyK> !webmin
[13:21] <Shogoot> argh...
[13:21] <Shogoot> so waht do you people recomend as interface?
[13:22] <RoyK> well, the commandline?
[13:22] <RoyK> it's not too hard
[13:22] <Shogoot> it is for a linux newbie ;)
[13:22] <RoyK> you'll probably learn quickly
[13:23] <Shogoot> probably..... not :P      Anyways you have some minutes to spare to help me understand why i cant acess my server from another computer on the same network?
[13:23] <RoyK> can you ping it?
[13:24] <Shogoot> yes
[13:24] <Shogoot> i can access the website from the apachebit
[13:26] <Shogoot> cmd pong successfull
[13:26] <Shogoot> typos all over the place
[13:26] <Shogoot> im on  awin7 machine
[13:27] <Shogoot> and when i use explorer and ftp://myserverip i get the dialog box asking for user and pass, but it dont recognize eighter the suer or the password.
[13:27] <Shogoot> and im 100% sure on the user and the password
[13:28] <Shogoot> If you have a good guide for setting up a ubuntu server i would apreciate the help :)
[13:39] <Shogoot> Ebox. is recomended....
[13:41] <RoyK> !ebox
[13:42] <RoyK> Shogoot: really, what I would recommend is learning linux - it doesn't take too long to learn the basics, and doing it manually, gives you full control
[13:42] <RoyK> not just asking a fancy gui to please do this or that
[13:49] <Shogoot> thanks for your help
[15:09] <bcbrown19> Anyone know a good guide for setting up ubuntu server with a static ip? note: i am running it on a virtual machine.
[15:11] <RoyK> !guide | bcbrown19
[15:11] <bcbrown19> RoyK: Thanks. I'll check it out.
[15:19] <mcdaniels> hi folks
[15:22] <mcdaniels> is ubuntu server in the factory setting (after install) capable of using Smtp auth + Tls?
[15:26] <patdk-lap> heh?
[15:27] <patdk-lap> no, cause no smtp client/server would be installed
[15:27] <patdk-lap> maybe you should define, capable
[15:27] <patdk-lap> capable of server smtp auth? client smtp auth? php smtp auth? perl smtp auth?
[15:28] <mcdaniels> ok my mistake sorry ;)
[15:28] <mcdaniels> i am trying to set up a postfix server + dovecot + smtp auth (TLS)
[15:29] <mcdaniels> I am talking server smtp auth
[15:29] <patdk-lap> you will need to configure dovecot and then postfix to do that
[15:31] <mcdaniels> ok so I ll try this again ... it is not that easy to find a suitable how to for this cause every how to (also the help.ubuntu.com how tos) are different from what happens in ubuntu server 12.04 ;)
[15:31] <patdk-lap> heh?
[15:31] <patdk-lap> I dunno about that
[15:32] <patdk-lap> cause how you do that in dovecot/postfix hasn't changed in 8years?
[15:32] <patdk-lap> so every howto, including both dovecot and postfix MANUALS will be correct
[15:32] <mcdaniels> the dovecot configs for example are split in many conffiles
[15:33] <patdk-lap> so?
[15:33] <patdk-lap> that doesn't change the way it works, only the file you edit, if you even bother with that
[15:34] <mcdaniels> no problem for a pro, but for a postfixbeginner ... ;)
[15:34] <patdk-lap> there is no beginner email admin though
[15:35] <patdk-lap> email is a pretty complex and can be very evil if not done right
[15:35] <mcdaniels> beginner in "the postfix linux" case
[15:35] <mcdaniels> especially postfix
[15:35] <mcdaniels> coming from evil windowsservers ... ;)
[15:36] <patdk-lap> that is your issue then :)
[15:36] <patdk-lap> stuff in unix land isn't build solutions like windows
[15:36] <patdk-lap> you have to layer
[15:36] <mcdaniels> btw the postfix is in vm for testing (not in the wild)
[15:36] <patdk-lap> makes for annoying setup
[15:36] <patdk-lap> but easy diagnostics
[15:38] <mcdaniels> yesterday I made it that smtp auth + tls for imap login worked
[15:38] <mcdaniels> not smtp auth
[15:38] <mcdaniels> tls for imap i ment
[15:39] <mcdaniels> but no chance to get smtp out + tls working
[15:39] <mcdaniels> auth sorry
[15:39] <patdk-lap> http://wiki2.dovecot.org/HowTo/PostfixAndDovecotSASL
[15:39] <patdk-lap> dunno why not read the manual, it's very very simple
[15:41] <mcdaniels> The SASL is  for auth as far as i  understood
[15:41] <mcdaniels> and TLS is for encrypting the connection
[15:42] <mcdaniels> so sasl can send plain text passwords
[15:42] <patdk-lap> the whole point of sasl, is it can send ANYTHING
[15:42] <patdk-lap> encrypted, plain, hashed, challenge, ....
[15:42] <mcdaniels> ok
[15:43] <patdk-lap> normally, doing anything more complex than plain is not recommended
[15:43] <patdk-lap> cause then it's required you store the password plain on the server
[15:43] <patdk-lap> if you want to not use plain text passwords on the server, then you have to use plain text passwords for logins (sasl)
[15:44] <patdk-lap> that is why TLS is needed
[15:44] <mcdaniels> ok so far I understood it
[15:44] <patdk-lap> to protect those plain passwords, so you can save the passwords encrypted on the server
[15:44] <patdk-lap> well, encrypted/hashed
[15:48] <mcdaniels> btw. if installing ubuntu server you may tag "Mailserver"
[15:49] <patdk-lap> no idea what it does, I never tag anything other than ssh
[15:49] <mcdaniels> ok
[15:49] <mcdaniels> so I ll try to do it from scratch
[15:57] <mcdaniels> just did a fresh install of postfix... there are TLS Parameters already with smtpd_tls_cert_file and key file
[15:58] <mcdaniels> :q!
[16:00] <patdk-lap> ya, but those tls are generic and untrusted
[16:00] <patdk-lap> they are enough to make a secure connection
[16:00] <patdk-lap> but not enough for you to know you are connecting to *your* mailserver
[16:01] <mcdaniels> for testing its ok
[16:04] <mcdaniels> but what is postfix encrypting at this part of the install...?
[16:06] <patdk-lap> whatever the client asks for it to do
[16:06] <patdk-lap> nothing is encrypted till the client asks for it, then everything after that is encrypted
[16:09] <mcdaniels> ok i see so smtp connectons MAY be encrypted if the mailclient asks for
[16:09] <mcdaniels> in this standardconfiguration
[16:20] <SpinningWheels1> I have recently set up a ubuntu server box with a mdadm raid 5. For whatever reason the raid is degraded. It boots up and says the raid is degraded and asks if i want to continue to boot anyways and it wont let me type yes or no even though i can type before and after that in the rescue shell it provides.
[16:44] <mcdaniels> the service auth  says  unix_listener  auth-userdb in 10-master.conf
[16:44] <mcdaniels> so i have to change it  in unix_listener /var/spool/postfix/private auth ?
[16:44] <mcdaniels> talking of dovecot
[17:49] <xiaoy> Ìû
[17:49] <SpinningWheels> I have recently set up a ubuntu server box with a mdadm raid 5. For whatever reason the raid is degraded. It boots up and says the raid is degraded and asks if i want to continue to boot anyways and it wont let me type yes or no even though i can type before and after that in the rescue shell it provides.
[18:17] <xiaoy> Ìû
[19:31] <luminous> hi! i am trying to see if i can get opensmtpd running on ubuntu. my cuurent stumbling block is that it seems ubuntu does mail aliasing differently / i can't quite figure out how ubuntu does this