[00:59] <mgw> How can I (externally) determine the interface MAC for an LXC container that was created from the default config?
[01:04] <sarnold> mgw: does 'ip link' show them?
[01:09] <mgw> sarnold: it doesn't show the interfaces inside the container's namespace
[01:10] <mgw> I might be able to figure something out using ip netns
[01:12] <sarnold> mgw: maybe tcpdump -i <bridge> -e ?
[01:14] <mgw> I'm using macvlans
[01:14] <mgw> sarnold: ^
[01:16] <mgw> sarnold: I'm wanting a way to a) create a container with lxc-create; b) determine the hwaddr for the container's iface(s); c) doe some stuff with those addrs before actually starting the container
[01:16] <sarnold> ah, so way beyond my experience, not just a little bit. hehe. :)
[01:18] <sarnold> mgw: hey, check htis out: https://wiki.debian.org/LXC/SimpleBridge
[01:18] <sarnold> mgw: lxc.network.hwaddr
[01:18] <sarnold> mgw: there's plenty of mentions of that in the lxc package, I expect our packages honor it too
[02:09] <mgw> sarnold: yeah, i may just generate hwaddrs and use that (that's what I was doing during testing). I was trying to avoid creating configs for every container.
[02:10] <mgw> i can actually do some tricks to find the pid for the cgroup, and then do this:
[02:10] <mgw> ip netns exec <pid> ip addr
[02:11] <mgw> but i'm not sure it's worth it
[02:26] <mgw> sarnold: for the record, I was able to do this:
[02:27] <mgw> sudo lxc-execute -n container-name -f /etc/lxc/lxc.conf ip addr
[02:28] <mgw> the trick was passing the -f arg rather than allowing it to use the auto-generated config associated with the container
[03:51] <stlu> Bind9 - I'm trying to learn to configure dns - will it talk with a DSL Modem/router and become a secondary DNS for the router's hosts?
[03:53] <subman> how do I install sendmail?  I've actually installed it but how do I set it up?  It does not seem to be sending email with the default settings.
[03:54] <stlu> subman: there is a wiki page to configure sendmail.  I used another ubuntu wiki to learn to setup postfix.  It was very clear and thorough.
[03:55] <stlu> brb
[03:56] <subman> stlu address
[03:58] <linuxtech> bind does not use a hosts file.
[03:59] <linuxtech> stlu: why do you want to use sendmail, Ubuntu uses postfix by default and Debian uses exim4.  I use exim4.
[04:01] <sarnold> man, there's an 800 page book for configuring sendmail. I'm not sure it's long enough.
[04:03] <subman> sarnold, 800 pages????  The space shuttle manual was smaller than that!
[04:03] <sarnold> subman: haha :)
[04:04] <sarnold> wow. 4th edition has 1312 pages: http://shop.oreilly.com/product/9780596510299.do
[04:04] <sarnold> ask yourself, if you had to write a mail server from scratch, how many printed pages do you think it would take?
[04:05] <subman> Well I just need the page that helps me getting the basics setup.
[04:05] <subman> I've run sendmailconfig and still not working
[04:08] <sarnold> subman: getting mail working is a bit involved; there's remote -> local, local -> remote, forwarding... what doesn't work? are there any details in the log files?
[04:11] <subman> What port is sending?
[04:13] <subman> Ah, 25.  It is blocked I think.
[04:14] <linuxtech> The port sending varies, the port receiving is 25 for SMTP.
[04:14] <subman> So why else would sending not work?
[04:16] <linuxtech> I haven't used sendmail in more than 15 years...  So ir could be something with it, or some other networking issue.
[04:16] <linuxtech> I suggest you try postfix or exim4.
[04:19] <crass> ubuntu is phasing out the ia32-libs, so what's taking its place?
[04:24] <subman> I've tried postfix but how to configure?
[04:25] <linuxtech> Did you try https://help.ubuntu.com/lts/serverguide/email-services.html
[04:28] <linuxtech> crass: http://summit.ubuntu.com/uds-1308/meeting/21877/client-s-32v64-bit/ perhaps that session will answer your question.
[04:29] <subman> let me see
[04:37] <subman> is there no bare bones, teach me like i'm 5 tutorial?
[04:39] <subman> Anyone could help and it would be appreciated.
[04:41] <linuxtech> https://help.ubuntu.com/lts/serverguide/exim4.html
[05:00] <crass> linuxtech: that seems to be a discussion of 32 vs 64 bit, not running 32bit on 64 bit.  Or have I not watched long enough?
[05:03] <sarnold> crass: welcome back, you didn't miss any responses..
[05:04] <crass> thanks sarnold, that answers my other question (did my message get sent :)
[05:05] <sarnold> hehe :)
[05:08] <stlu> back
[05:10] <stlu> so generally, do DNS servers work with home routers?  I have a Bell 2Wire modem/router which provides local DNS for DHCP clients with hostnames.
[05:13] <sarnold> stlu: you'll probably want to configure the dns server to be a forwarder rather than a recursor
[08:10] <stlu> hmmm, well the Bell router isn't open to being a secondary DNS to a LAN host, so...
[08:12] <stlu> I would have to make my DNS a secondary to the home router/dhcp/dns, or just ignore the DNS service it provides for LAN hosts...
[08:13] <stlu> (assuming the home router will actually forward the LAN dhcp client records)
[09:47] <MACscr> is there an ubuntu image out there for running ubuntu server from usb? I want to make sure the OS is ran from ram mostly, but i still need persistent storage for updates/configs. Im wondering what would be the best way to do that part too.
[09:47] <MACscr> though i probably wouldnt update it much since it would be a storage server
[09:50] <mardraum> standard server image installs to a usb just fine
[09:51] <MACscr> mardraum: right, but it then runs from usb as well instead of a ramdisk. Correct?
[09:51] <mardraum> yes?
[09:52] <MACscr> mardraum: so that wouldnt really answer my question unless you stopped at the first sentence.
[09:53] <mardraum> "ran from ram mostly"
[09:53] <mardraum> if you wanted a ramdisk, why didn't you say?
[09:54] <MACscr> mardraum: my apologies for not making that more clear
[12:49] <ice9> Are there other alternatives for ownCloud?
[13:12] <Jeeves_> Morning
[13:12] <Jeeves_> init: dbus main process (3468) terminated with status 1
[13:12] <Jeeves_> init: dbus main process ended, respawning
[13:12] <Jeeves_> init: plymouth main process (514) killed by SEGV signal
[13:12] <Jeeves_> init: plymouth-splash main process (3389) terminated with status 2
[13:12] <Jeeves_> init: plymouth-log main process (3447) terminated with status 2
[13:12] <Jeeves_> Anyone with good ideas on how to debug that?
[15:11] <Douug> hello all, anyone know of a good guide for ubuntu MS Exchange replacement? I have tried the Samba4 , Sogo and OpenChange solution from Google but Outlook hangs on loading profile and Samba4 crashes
[15:12] <RoyK> Douug: zimbra?
[15:12] <RoyK> Douug: samba doesn't have anything to do with email/calendar etc
[15:12] <Douug> thank you, tried it but not happy with the community edition.
[15:13] <RoyK> why not?
[15:13] <Douug> let me find the guide i was using .. brbr
[15:13] <RoyK> Douug: keep in mind that zimbra should be installed on a dedicated machine/vm
[15:14] <Douug> http://iabsis.com/EN/article/35/Installation-de-Samba4-et-Openchange-sur-un-serveur-Debian-ou-Ubuntu
[15:14] <Douug> also want a active directory repalcement
[15:15] <Douug> doesnt hte outlook connector for Zimbra cost a little ?? want to try put the free edition of everything in, or atleast compile something to that extent
[15:18] <Douug> RoyK, what do you suggest I do ?
[16:04] <RoyK> Douug: here?
[16:04] <ikonia> RoyK: did you find out what was going on with that raid box and core dumping samba ?
[16:05] <RoyK> ikonia: somewhat - samba is still getting segfaults every now and then, but after a few fsck and removing lots of old backups, the root seems healthy
[16:05] <ikonia> any idea why it was dropping out ?
[16:05] <RoyK> ikonia: btw, it's just the root, the data raid is healthy
[16:06] <ikonia> yes, but root was mirrored wasn't it ?
[16:06] <RoyK> ikonia: no, 24 hours of memtest showed no errors
[16:06] <RoyK> ikonia: it's mirrored, yes, two old 250GB SATA drives
[16:06] <ikonia> so it just "fixed" itself after a few fsck/reboots
[16:06] <ikonia> how good but frustrating
[16:06] <RoyK> quite so
[16:07] <RoyK> if the problem reappears, I guess we'll have to reinstall the thing
[16:07] <RoyK> not much more than a fileserver anyway, so not a big issue
[16:07] <ikonia> coupled with samba, it just seems such an annoyingly odd problem
[16:07] <RoyK> it certainly is
[16:33] <Douug> sorry ROyK, stepped out
[16:42] <RoyK> Douug: ping
[16:42] <Douug> hello
[16:43] <RoyK> for AD replacement, I guess the nearest you get is samba4
[16:43] <RoyK> perhaps openldap
[16:43] <RoyK> both can be integrated with zimbra
[16:43] <RoyK> if you want outlook clients getting native access to the machine, it gets trickier
[16:43] <RoyK> commercial zimbra can do it, but then, it's not open
[16:44] <slylock105> hello guys
[16:44] <slylock105> i wanted some help in setting up virtual hosts
[16:44] <slylock105> using apache
[16:44] <slylock105> can anyone help
[16:45] <RoyK> Douug: I was in a meeting some three years back with the norwegian meteorologic institute, met.no, and they chose zimbra over exchange, and only after a few months, 95% or so of the users used the web client over outlook
[16:45] <RoyK> slylock105: it's quite easy to google that
[16:45] <TheLordOfTime> RoyK:  i think he wants his hand held through the process
[16:45] <TheLordOfTime> :/
[16:45]  * TheLordOfTime runs and hides :P
[16:45] <slylock105> i know been googling for last half an hour
[16:45] <Douug> if I download the ZEG (Zero Effort Groupware) as a virtualbox machine, it has LDAP and Sogo and it works perfectly, unfortunately I can't introduce it to my clients as a production machine
[16:46] <slylock105> it should be simple but cant figure out
[16:46] <Douug> support Zibra is MUCH cheaper than funding MS
[16:46] <RoyK> slylock105: first hit on google http://httpd.apache.org/docs/2.2/vhosts/
[16:46] <slylock105> RoyK: Well I am very confused i am trying to setup two virtual host
[16:46] <virusuy> morning guys
[16:47] <slylock105> i have a website already running under apache
[16:47] <RoyK> !ask | slylock105
[16:47] <virusuy> zimbra <3
[16:47] <RoyK> slylock105: or what I'm trying to say is 'be precise'
[16:50] <Douug> slylock105, have you created another vhost file in /etc/apache2/sites-eanbled and ln -s to /etc/apache2/sites-avaliable
[16:51] <slylock105> okay, I am trying to set up mutiple virtual hosts under apache. Right now I just have a file named default in /etc/apache2/sites-available and directs me to a website when i type in  example.com
[16:51] <RoyK> slylock105: really - take a look into /etc/apache2/sites-enabled/000-default and copy the relevant stuff to another file in that dir, symlink it to /etc/apache2/sites-available/ and reload apache
[16:53] <slylock105> I wanted apache to redirect me to a different www folder, when i type mtn.example.com. I have added a new virtual host in/etc/apache2/sites-available/default and specified the root directory of the other website
[16:54] <slylock105> thats is what i have done so far
[16:54] <slylock105> but example.com works the other one dosent
[16:54] <Douug> have you enabled mod_rewrite?
[16:54] <slylock105> i added the other virtual host to the same file/etc/apache2/sites-available/default
[16:55] <slylock105> I copied the same Rewrite rules i had for the the orignal virtual host
[18:13] <nizar> hey guys, is it possible to limit SSH logins to only a specific user or goup in ubuntu server?
[18:14] <nizar> im trying to run an ubuntu server from home that i want to be able to access from the internet so i thinking of limiting SSH logins to a singal user
[18:17] <Douug> why dont u use public key authentication
[18:17] <Douug> for a specific user
[18:18] <rdw200169> nizar: yeah... using keys is far and away preferred to password authentication.  Please consider this for your sanity!
[18:18] <nizar> i care about my sanity!
[18:18] <nizar> ill use that instead, thanks
[18:19] <nizar> any other quick tips?
[18:19] <rdw200169> nizar: if you go that route, just disable password auth in the sshd config
[18:19] <rdw200169> nizar: (this is ridiculously easy to do, and is probably mentioned in comments in the sshd config)
[18:20] <nizar> cool
[18:20] <Douug> change the SSH port
[18:20] <rdw200169> nizar: you can also add a Host config to your 'remote host' (i.e. laptop) that makes logging in easy
[18:20] <nizar> yeah, ive already changed the SSH port on it
[18:21] <rdw200169> nizar: when you're logging in remotely.  `ssh home` is much nicer than `ssh -i ~/my_id my_user@long_ip`
[18:21] <nizar> i didnt know that
[18:21] <rdw200169> nizar: yup, for setting it up, just read the man page for ssh_config
[18:21] <rdw200169> nizar: the only file you should need to edit for your user is ~/.ssh/config
[18:23] <rdw200169> nizar: likewise, just search for PasswordAuthentication in the manpage for sshd_config
[18:25] <rdw200169> nizar: make your life even easier and install keychain (http://www.funtoo.org/Keychain)
[18:26] <nizar> awesome, thanks
[18:27] <rdw200169> nizar: and when you generate your key for your remote hosts, *put a password on your private key* and then use keychain to make it such that you only ever have to put in your key's password once in a while
[18:27] <rdw200169> nizar: obviously, using keychain has some of those 'but what if... situations since ssh-agent is caching your password' but that is a decision for you to make ;)
[18:51] <greppy> rdw200169: actually, it's caching the key data, not the password.
[19:37] <Douug> guys, whats the best way to do the ubuntu server CD upgrade
[19:38] <Douug> i.e alternative upgrade ?
[19:45] <subman> I don't seem to be able to get my sendmail to work.  I get the following error email when I do try to send an email:  550 Access denied - Invalid HELO name (See RFC2821 4.1.1.1) (in reply to  MAIL FROM command)
[19:46] <ikonia> subman: lookw like your don't have a sane hostname
[19:46] <subman> Isn't it just server.example.com?
[19:46] <subman> Or whatever my server is?
[19:47] <subman> Here is the full error:  <keithclark@waterloosubstop.com>: host waterloosubstop.com[198.91.89.227] said:
[19:47] <subman>     550 Access denied - Invalid HELO name (See RFC2821 4.1.1.1) (in reply to
[19:47] <subman>     MAIL FROM command)
[19:50] <ikonia> ok, so you don't meet RDC2821
[19:50] <ikonia> check out what that is
[19:50] <ikonia> I suspect it's a resolvable FQDN
[19:53] <subman> I have no idea what that means
[19:56] <ikonia> check the RFC
[19:56] <ikonia> but I suspect it means you require a valid FQDN
[19:56] <ikonia> (without me checking)
[19:57] <subman> Sorry, I still have no idea here.
[20:05] <subman> Ok, that part is solved.  I just put an extra '.' at the end of the server url.
[20:05] <subman> Now I get: (reason: 554 No relaying allowed - psmtp)
[20:10] <Douug> are you using a smart host?
[20:11] <Douug> use your ISP's smtp server
[20:11] <Douug> postconf -e relayhost=YOUR.ISP.FQDN
[20:27] <subman> I think that is corrected but now:
[20:27] <subman> <<< 550 Access denied - Invalid HELO name (See RFC2821 4.1.1.1)
[20:27] <subman> 554 5.0.0 Service unavailable
[20:33] <Douug> what is the banner in your config
[20:34] <Douug> sorry myhostname ??
[20:34] <subman> Ok, I'm new here.  What do you mean banner?
[20:34] <subman> What config file?
[20:35] <Douug> the postfix config file -> /etc/postfix/main.cf
[20:39] <subman> Should $myhostname be my actual smtp hostname?
[20:40] <Douug> no .. that is a variable picked up by the option lower in the file called "myhostname="
[20:41] <subman> myhostname is set to my servers name
[20:41] <Douug> the host hostname exist in DNS ?
[20:42] <subman> ?
[20:42] <subman> I don't know what you are asking me
[20:51] <Patrickdk_> you shouldn't be running a server then, let along email
[20:51] <Douug> does your server hostname resolve to an IP address on the internet?
[20:51] <Patrickdk_> your hostname should resolve in dns, and your ip should resolve to that same hostname
[20:57] <rdw200169> greppy: fair enough; i'm reasonably certain that ssh-agent is 'safe', but didn't feel like googling the specifics ;)
[20:59] <greppy> rdw200169: it mostly is, but, as with anything that lives in memory, root COULD do something evil with it.  But if you don't trust root you are already boned :)
[21:27] <Quest> just a simple question but I need to be sure.       If a server has, say 1 Mb psinternet connection. and if its pinged (traditional way of pinging like "ping (data size) google.com ") by a total (or one thread of ping data) of 1 Mbps . Will the normal trafic of that server (iweb / voip etc) will be effected in any way?
[22:41] <LeinardoSmith> hello does anyone have experience using samba and cups to serve windows printer drivers?
[22:48] <LeinardoSmith> I am getting a WERR_ACCESS_DENIED error when I try to run "sudo cupsaddsmb -v -a"