[00:59] How can I (externally) determine the interface MAC for an LXC container that was created from the default config? [01:04] mgw: does 'ip link' show them? [01:09] sarnold: it doesn't show the interfaces inside the container's namespace [01:10] I might be able to figure something out using ip netns [01:12] mgw: maybe tcpdump -i -e ? [01:14] I'm using macvlans [01:14] sarnold: ^ [01:16] 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] ah, so way beyond my experience, not just a little bit. hehe. :) [01:18] mgw: hey, check htis out: https://wiki.debian.org/LXC/SimpleBridge [01:18] mgw: lxc.network.hwaddr [01:18] mgw: there's plenty of mentions of that in the lxc package, I expect our packages honor it too [02:09] 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] i can actually do some tricks to find the pid for the cgroup, and then do this: [02:10] ip netns exec ip addr [02:11] but i'm not sure it's worth it === freeflying_away is now known as freeflying [02:26] sarnold: for the record, I was able to do this: [02:27] sudo lxc-execute -n container-name -f /etc/lxc/lxc.conf ip addr [02:28] the trick was passing the -f arg rather than allowing it to use the auto-generated config associated with the container [03:51] 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] 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] 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] brb [03:56] stlu address [03:58] bind does not use a hosts file. [03:59] stlu: why do you want to use sendmail, Ubuntu uses postfix by default and Debian uses exim4. I use exim4. [04:01] man, there's an 800 page book for configuring sendmail. I'm not sure it's long enough. [04:03] sarnold, 800 pages???? The space shuttle manual was smaller than that! [04:03] subman: haha :) [04:04] wow. 4th edition has 1312 pages: http://shop.oreilly.com/product/9780596510299.do [04:04] ask yourself, if you had to write a mail server from scratch, how many printed pages do you think it would take? [04:05] Well I just need the page that helps me getting the basics setup. [04:05] I've run sendmailconfig and still not working [04:08] 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] What port is sending? [04:13] Ah, 25. It is blocked I think. [04:14] The port sending varies, the port receiving is 25 for SMTP. [04:14] So why else would sending not work? [04:16] I haven't used sendmail in more than 15 years... So ir could be something with it, or some other networking issue. [04:16] I suggest you try postfix or exim4. [04:19] ubuntu is phasing out the ia32-libs, so what's taking its place? [04:24] I've tried postfix but how to configure? [04:25] Did you try https://help.ubuntu.com/lts/serverguide/email-services.html [04:28] crass: http://summit.ubuntu.com/uds-1308/meeting/21877/client-s-32v64-bit/ perhaps that session will answer your question. [04:29] let me see [04:37] is there no bare bones, teach me like i'm 5 tutorial? [04:39] Anyone could help and it would be appreciated. [04:41] https://help.ubuntu.com/lts/serverguide/exim4.html [05:00] 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] crass: welcome back, you didn't miss any responses.. [05:04] thanks sarnold, that answers my other question (did my message get sent :) [05:05] hehe :) [05:08] back [05:10] 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] stlu: you'll probably want to configure the dns server to be a forwarder rather than a recursor === mlocher_ is now known as mlocher === freeflying is now known as freeflying_away [08:10] hmmm, well the Bell router isn't open to being a secondary DNS to a LAN host, so... [08:12] 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] (assuming the home router will actually forward the LAN dhcp client records) === mrmist is now known as mist === Nafallo_ is now known as Nafallo === freeflying_away is now known as freeflying [09:47] 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] though i probably wouldnt update it much since it would be a storage server [09:50] standard server image installs to a usb just fine [09:51] mardraum: right, but it then runs from usb as well instead of a ramdisk. Correct? [09:51] yes? [09:52] mardraum: so that wouldnt really answer my question unless you stopped at the first sentence. [09:53] "ran from ram mostly" [09:53] if you wanted a ramdisk, why didn't you say? [09:54] mardraum: my apologies for not making that more clear === SoulOfTheInterne is now known as ToBeFree [12:49] Are there other alternatives for ownCloud? [13:12] Morning [13:12] init: dbus main process (3468) terminated with status 1 [13:12] init: dbus main process ended, respawning [13:12] init: plymouth main process (514) killed by SEGV signal [13:12] init: plymouth-splash main process (3389) terminated with status 2 [13:12] init: plymouth-log main process (3447) terminated with status 2 [13:12] Anyone with good ideas on how to debug that? [15:11] 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] Douug: zimbra? === jekel is now known as raininja [15:12] Douug: samba doesn't have anything to do with email/calendar etc [15:12] thank you, tried it but not happy with the community edition. [15:13] why not? [15:13] let me find the guide i was using .. brbr [15:13] Douug: keep in mind that zimbra should be installed on a dedicated machine/vm [15:14] http://iabsis.com/EN/article/35/Installation-de-Samba4-et-Openchange-sur-un-serveur-Debian-ou-Ubuntu [15:14] also want a active directory repalcement [15:15] 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] RoyK, what do you suggest I do ? === freeflying is now known as freeflying_away [16:04] Douug: here? [16:04] RoyK: did you find out what was going on with that raid box and core dumping samba ? [16:05] 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] any idea why it was dropping out ? [16:05] ikonia: btw, it's just the root, the data raid is healthy [16:06] yes, but root was mirrored wasn't it ? [16:06] ikonia: no, 24 hours of memtest showed no errors [16:06] ikonia: it's mirrored, yes, two old 250GB SATA drives [16:06] so it just "fixed" itself after a few fsck/reboots [16:06] how good but frustrating [16:06] quite so [16:07] if the problem reappears, I guess we'll have to reinstall the thing [16:07] not much more than a fileserver anyway, so not a big issue [16:07] coupled with samba, it just seems such an annoyingly odd problem [16:07] it certainly is === gary_poster is now known as gary_poster|away [16:33] sorry ROyK, stepped out [16:42] Douug: ping [16:42] hello [16:43] for AD replacement, I guess the nearest you get is samba4 [16:43] perhaps openldap [16:43] both can be integrated with zimbra [16:43] if you want outlook clients getting native access to the machine, it gets trickier [16:43] commercial zimbra can do it, but then, it's not open [16:44] hello guys [16:44] i wanted some help in setting up virtual hosts [16:44] using apache [16:44] can anyone help [16:45] 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] slylock105: it's quite easy to google that [16:45] RoyK: i think he wants his hand held through the process [16:45] :/ [16:45] * TheLordOfTime runs and hides :P [16:45] i know been googling for last half an hour [16:45] 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] it should be simple but cant figure out [16:46] support Zibra is MUCH cheaper than funding MS [16:46] slylock105: first hit on google http://httpd.apache.org/docs/2.2/vhosts/ [16:46] RoyK: Well I am very confused i am trying to setup two virtual host [16:46] morning guys [16:47] i have a website already running under apache [16:47] !ask | slylock105 [16:47] slylock105: Please don't ask to ask a question, simply ask the question (all on ONE line and in the channel, so that others can read and follow it easily). If anyone knows the answer they will most likely reply. :-) See also !patience [16:47] zimbra <3 [16:47] slylock105: or what I'm trying to say is 'be precise' [16:50] slylock105, have you created another vhost file in /etc/apache2/sites-eanbled and ln -s to /etc/apache2/sites-avaliable [16:51] 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] 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 === racedo` is now known as racedo [16:53] 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] thats is what i have done so far [16:54] but example.com works the other one dosent [16:54] have you enabled mod_rewrite? [16:54] i added the other virtual host to the same file/etc/apache2/sites-available/default [16:55] I copied the same Rewrite rules i had for the the orignal virtual host [18:13] hey guys, is it possible to limit SSH logins to only a specific user or goup in ubuntu server? [18:14] 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] why dont u use public key authentication [18:17] for a specific user [18:18] nizar: yeah... using keys is far and away preferred to password authentication. Please consider this for your sanity! [18:18] i care about my sanity! [18:18] ill use that instead, thanks [18:19] any other quick tips? [18:19] nizar: if you go that route, just disable password auth in the sshd config [18:19] nizar: (this is ridiculously easy to do, and is probably mentioned in comments in the sshd config) [18:20] cool [18:20] change the SSH port [18:20] nizar: you can also add a Host config to your 'remote host' (i.e. laptop) that makes logging in easy [18:20] yeah, ive already changed the SSH port on it [18:21] nizar: when you're logging in remotely. `ssh home` is much nicer than `ssh -i ~/my_id my_user@long_ip` [18:21] i didnt know that [18:21] nizar: yup, for setting it up, just read the man page for ssh_config [18:21] nizar: the only file you should need to edit for your user is ~/.ssh/config [18:23] nizar: likewise, just search for PasswordAuthentication in the manpage for sshd_config [18:25] nizar: make your life even easier and install keychain (http://www.funtoo.org/Keychain) [18:26] awesome, thanks [18:27] 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] 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] rdw200169: actually, it's caching the key data, not the password. [19:37] guys, whats the best way to do the ubuntu server CD upgrade [19:38] i.e alternative upgrade ? [19:45] 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] subman: lookw like your don't have a sane hostname [19:46] Isn't it just server.example.com? [19:46] Or whatever my server is? [19:47] Here is the full error: : host waterloosubstop.com[198.91.89.227] said: [19:47] 550 Access denied - Invalid HELO name (See RFC2821 4.1.1.1) (in reply to [19:47] MAIL FROM command) [19:50] ok, so you don't meet RDC2821 [19:50] check out what that is [19:50] I suspect it's a resolvable FQDN [19:53] I have no idea what that means [19:56] check the RFC [19:56] but I suspect it means you require a valid FQDN [19:56] (without me checking) [19:57] Sorry, I still have no idea here. [20:05] Ok, that part is solved. I just put an extra '.' at the end of the server url. [20:05] Now I get: (reason: 554 No relaying allowed - psmtp) [20:10] are you using a smart host? [20:11] use your ISP's smtp server [20:11] postconf -e relayhost=YOUR.ISP.FQDN [20:27] I think that is corrected but now: [20:27] <<< 550 Access denied - Invalid HELO name (See RFC2821 4.1.1.1) [20:27] 554 5.0.0 Service unavailable [20:33] what is the banner in your config [20:34] sorry myhostname ?? [20:34] Ok, I'm new here. What do you mean banner? [20:34] What config file? [20:35] the postfix config file -> /etc/postfix/main.cf [20:39] Should $myhostname be my actual smtp hostname? [20:40] no .. that is a variable picked up by the option lower in the file called "myhostname=" [20:41] myhostname is set to my servers name [20:41] the host hostname exist in DNS ? [20:42] ? [20:42] I don't know what you are asking me [20:51] you shouldn't be running a server then, let along email [20:51] does your server hostname resolve to an IP address on the internet? [20:51] your hostname should resolve in dns, and your ip should resolve to that same hostname [20:57] greppy: fair enough; i'm reasonably certain that ssh-agent is 'safe', but didn't feel like googling the specifics ;) [20:59] 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] 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? === chaos__ is now known as soahccc [22:41] hello does anyone have experience using samba and cups to serve windows printer drivers? === chaos__ is now known as soahccc [22:48] I am getting a WERR_ACCESS_DENIED error when I try to run "sudo cupsaddsmb -v -a"