[00:04] <meerkats> or, how should I forward UDP to any given port?
[01:05] <n0cturnal> hope someone can help me here.. at my wits end.. I upgraded from lucid to maverick last week, and my dhcp server has stopped working. I tried upgrading again (as was my plan anyway) to natty and oneiric.. but still doesn't work.. I see DHCPDISCOVER and DHCPOFFERs in logs, BOOTP works, but nothing via DHCP.. using isc-dhcp-server
[02:03] <MTecknology> I had kvm working on my system and had to reinstall, I apparently didn't keep all the data i needed and didn't grab an xml dump from the systems. Is there anywhere on the system that the data may have existed that I could still get?
[02:04] <MTecknology> I have the machines and a partial fs backup, but i can't seem to find the vm config
[02:10] <MTecknology> I thought maybe /etc/qemu* but there's nothing there :(
[02:13] <n0cturnal> MTecknology: /var/lib possibly?
[02:14] <MTecknology> n0cturnal: just found it! /etc/libvirt/qemu/*.xml :D
[02:15] <n0cturnal> nice, cool!
[02:58] <MTecknology> n0cturnal: looks like i _almost_ have this thing back up and runnig the way i want...
[02:58] <MTecknology> just can't get virt-manager to connect
[03:05] <MTecknology> n0cturnal: any ideas on this one?.. libvirtError: End of file while reading data: sh: nc: not found: Input/output error
[03:06] <MTecknology> trying to run the shell command nc, but i'm not seeing what provides that
[03:33] <MTecknology> man... I feel like libvirt has fallen out of support; no docs or support or anything it seems
[03:34] <chelz> MTecknology: i was just looking for docs on xen, which supposedly is all supported in later stuff, hardly any
[03:34] <chelz> there don't seem to be many non-kvm virt docs :P
[03:35] <MTecknology> chelz: i see kvm docs, not libvirt or xen docs
[03:35] <MTecknology> chelz: I feel like I'm hitting problem after problem... I know I'm close
[03:36] <MTecknology> I have to fix one vm before I can move on, but I have to get virt-manager working before I can do that much
[03:36] <chelz> eh google for the problem then. i mean libvirt's site should have docs
[03:37] <MTecknology> I've been searching quite a bit for this one
[03:37] <MTecknology> I see a few people that had the issue without any posted solutions
[03:39] <chelz> time to do some diving perhaps
[03:39] <MTecknology> HAHA!
[03:40] <MTecknology> chelz: So.... it wanted netcat to be on the system; now that netcat is on the host, I'm seeing End of file while reading data: nc: invalid option -- 'U'
[03:40] <MTecknology> nc -h for help: Input/output error
[03:41] <MTecknology> Apparently debian being the host and ubuntu being the workstation isn't going to work!?.... irunno
[03:41] <chelz> eh
[03:41] <chelz> well bugs are likely to crop up, but that sounds pretty odd
[03:42] <MTecknology> chelz: worse here... that was easy to figure out... I needed netcat-openbsd installed, netcat-traditional wasn't good enough
[03:42] <chelz> MTecknology: End of file while reading data: nc: invalid option -- 'U'
[03:42] <chelz> ah yeah
[03:42] <chelz> er
[03:42] <chelz> that was meant to be netcat-openbsd
[03:42] <chelz> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=614291
[03:42] <chelz> found that, which you probably saw
[03:43] <MTecknology> same bug - debian #516482
[03:43] <chelz> sounds almost like it should be fixed
[03:44] <chelz> foobar# ln -s /usr/bin/netcat /usr/bin/nc
[03:44] <chelz> heh
[03:45] <chelz> no activity on 516482 since jul 2010
[03:45] <MTecknology> i guess I'm happy enough that it's working now - i'll stop complaining :D
[03:45] <chelz> bug 614291 says closed as of 15 Jan 2012 in Source-Version: 0.9.0-5
[03:46] <chelz> MTecknology: oh, you didn't say it was working
[03:46] <chelz> psh
[03:46] <chelz> i was trying to fix a problem that wasn't there
[03:46] <MTecknology> chelz: sorry - as soon as i saw it depended on netcat-openbsd it started working
[03:47] <chelz> ah
[03:47] <chelz> that's easy enough
[03:47] <MTecknology> chelz: thanks for the help :D
[03:47] <chelz> error msg should be better
[03:47] <chelz> haha np
[03:48] <MTecknology> I might file a bug to make it trap that error and make a nice message instead of that :)
[03:48] <MTecknology> I have to rebuild my router now that I can talk to it... bbiab
[03:52] <MTecknology> chelz: that was super fun! you believe me?
[03:54] <MTecknology> chelz: Only other issue I've been having is trying to use virt-manager to actually work on the machines, but it's a huge pain because I use dvorak and when I type in there it wants to use qwerty
[03:56] <chelz> MTecknology: yeah filing a bug is a good idea
[03:56] <chelz> oh
[03:56] <chelz> heathen
[03:56] <chelz> i didn't know something like virt-manager would care, that's weird
[03:56] <chelz> could file a bug about that too. really should be agnostic about that kind of thing
[03:58] <MTecknology> I figured it would be... but I imagine it sends the key id (before the system realizes it's not qwerty)
[03:58] <chelz> should be getting input some different way then i'd think
[03:58] <chelz> although i don't know how dvorak is setup usually. there might be a better way to set it than the way you've set it up
[03:59] <MTecknology> dpkg-reconfigure keyboard-configuration
[04:00] <MTecknology> from there i just selected the layout and it worked
[04:00] <chelz> MTecknology: http://blog.garion.org/2011/04/26/using-virt-manager-on-macosx-with-dvorak-keyboard-layout/
[04:00] <chelz> blowin minds right and left right here
[04:00] <chelz> seems it's a qemu thing
[04:02] <MTecknology> I remember trying to change that before and setting the keymap didn't help any
[04:03] <chelz> well you do that plus the keymap file for qemu
[04:04] <MTecknology> yup- I found someone that made a dvorak keymap file, i had no complaints from qemu or anything, but never managed to get it working
[04:06] <chelz> i'd try what that blogpost says then go from there
[04:06] <chelz> as in, do it, do it now
[04:06] <MTecknology> i did it
[04:07] <chelz> no change?
[04:07] <MTecknology> nope
[04:09] <chelz> https://bugs.launchpad.net/ubuntu/+source/virt-manager/+bug/496587
[04:09] <chelz> i take it you're interacting with the guests through the vnc? or ssh?
[04:09] <MTecknology> vnc
[04:09] <MTecknology> ssh works great
[04:09] <chelz> right
[04:10] <chelz> check if virt-manager added en-US
[04:10] <chelz> bug says "When creating a guest, virt-manager adds "keymap='en-us'" to the created vnc option."
[04:11] <chelz> change to en-dv
[04:11] <MTecknology> if i omit that part (actually, it has to be left out for the qemu-kvm in debian stable), then i have the same issue
[04:11] <MTecknology> setting to en-dv, you need to create the keymap
[04:11] <MTecknology> maybe I just didn't find the right keymap file...
[04:13] <chelz> could symlink qemu's en-us to en-dv
[04:13] <chelz> /usr/share/qemu/keymaps/en-dv \
[04:13] <chelz> disregard \
[04:14] <chelz> since yeah, my first guess is you didn't follow the blog post closely enough
[04:14] <MTecknology> To make it work the way it's supposed to... I'd need to copy to /usr/share/qemu/keymaps/en-dv and then edit that file until i got it right, then it might work
[04:15] <chelz> well that blog post linked to a place with a premade en-dv
[04:15] <MTecknology> that's the one i tried
[04:17] <MTecknology> chelz: sorry if I seem to be difficult on thise :( ... I didn't just run in to this issue, I just happen to be completely rebuilding the box and am running into it again
[04:19] <chelz> np
[04:19] <chelz> actually
[04:20] <MTecknology> actually? .. you're mad and going to hurt me?
[04:20] <chelz> yes, but before that
[04:20] <chelz> MTecknology: https://bugzilla.redhat.com/show_bug.cgi?id=244787#c4
[04:21] <MTecknology> OOOH
[04:26] <chelz> i am the law
[04:27] <chelz> MTecknology: any change?
[04:28] <MTecknology> chelz: dunno... I'm wondering if I need a complete reboot for it to get noticed
[04:29] <MTecknology> I'm gonna do the reboot now
[04:32] <chelz> eh, sysconfig/keymap might be just a redhat/fedora/centos thing. this page has a few ways to set a keymap, just put in your "en-dv" or "dvorak" or w/e for where it says "dvp": http://www.kaufmann.no/roland/dvorak/linux.html
[04:33] <chelz> http://ubuntu-tutorials.com/2008/01/31/changing-the-system-keyboard-mapping-on-ubuntu-dvorak-vs-qwerty/
[04:35] <MTecknology> I just tryied dpkg-reconfigure console-data; console-setup seems to have nothing to do with the layout
[04:36] <MTecknology> I can't get the mapping to stick on the console....
[04:37] <MTecknology> chelz: I betcha when I get it to stick, it's going to work like magic because you're smart and google abilities kick butt :)
[04:39] <chelz> ehh
[04:39] <chelz> not working so far. sounds like you need to see the light of qwerty pretty soon here
[04:39] <chelz> MTecknology: yeah i'd look over those last few links
[04:40] <MTecknology> chelz: nah.... I won't claim I'm faster because I'm using dvorak, but I definitely type better and more efficiently and I actually look like I know what I'm doing at the keyboard now
[04:41] <chelz> psh yeah yeah yeah :P. gotta get it working first
[04:41] <MTecknology> indeed....
[04:43] <MTecknology> I was never able to actually type correctly or decent on a qwerty board. I just couldn't make my head learn it. Then comes many years later... dvorak and i just kinda clicked after about the first month of what i'd like to call typing hell.
[04:51] <qman__> been typing qwerty since I was four years old, I know it was designed specifically to be less efficient, but there's no changing that kind of history
[04:51] <qman__> next step is direct brain interface
[05:07] <MTecknology> qman__: they did that already
[05:07] <MTecknology> i think the guy that did it was called something like somebody duvorack or something
[05:12] <chelz> MTecknology: setxkbmap
[05:16] <MTecknology> chelz: I think I managed to get the console working with dvorak now, but I think I might also need a reboot before I can know for sure whether it worked or not
[05:17] <chelz> needing to reboot seems a bit odd
[05:17] <chelz> one config thing i saw actually looked like you gave the kernel a line
[06:25] <MTecknology> chelz: oh... got to a point where i could reboot - same thing happening
[06:26] <MTecknology> OOOH!!!!!!
[06:26] <MTecknology> YAY!!!!!!!
[06:37] <chelz> MTecknology: eh?
[06:37] <MTecknology> chelz: Working!!
[06:37] <chelz> MTecknology: i take it it's working, any idea what the fix was?
[06:38] <MTecknology> multiple things... finally got console set up to use dvorak on boot, then had to set the VM's to use en-us, then had to turn the systems completely off
[06:38] <MTecknology> and.... shazam
[06:39] <chelz> huh
[06:39] <chelz> so setting up the console made everything else work with en-us
[06:39] <chelz> MTecknology: how'd you set the console?
[06:40] <MTecknology> uhm.... i'm not sure
[06:40] <chelz> heh
[06:40] <chelz> well
[06:40] <chelz> undo stuff until it breaks again :P
[06:40] <chelz> or in a vm
[06:40] <MTecknology> dpkg-reconfigure keyboard-configuration; dpkg-reconfigure console-data; dpkg-reconfigure console-setup; also installed kbd
[06:40] <MTecknology> and...
[06:41] <MTecknology> loadkeys dvorak
[06:41] <MTecknology> not sure which part fixed it.. there was something else too....
[06:42] <MTecknology> setupcon?
[06:42] <MTecknology> setupcon *
[06:42] <chelz> ah
[06:43] <chelz> well, with all that one is bound to work i suppose
[13:19] <Bogscitz> Moin
[13:25] <Bogscitz> Ich versuche auf einem Ubuntu Server (11.10 x86_64) meine WLAN-Karte (Intel Wireless 4965AGN / iwl4965 geladen) zum AP zu machen. Leider mag hostapd nicht, obwohl es laut eigentlich out-of-the-box laufen sollte. Die Ausgabe von hostapd und dessen Config: http://pastebin.com/F3ZwzSuK
[13:25] <Bogscitz> *laut allen Quellen ;)
[13:27] <Bogscitz> wlan0 existiert auch: 6: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN qlen 1000
[13:27] <Bogscitz> Hat vielleicht noch jemand ne Idee?
[13:28] <oCean> !de
[13:28] <Bogscitz> Oops, sorry
[13:28] <Bogscitz> Thanks
[13:28] <oCean> heh, welcome :)
[13:29] <Bogscitz> :)
[13:38] <Bogscitz> Basically, Im trying to run my Intel Wireless 4965AGN / iwl4965 in ap mode. But hostapd fails to put it in master mode: http://pastebin.com/F3ZwzSuK (incl. config). wlan0 exists though
[13:39] <Bogscitz> Its a 11.10 x86_64 box
[13:42] <Bogscitz> Oh, iw list doesnt show me supported AP or AP/VLAN modes for the device
[13:42] <Bogscitz> grml
[14:58] <Womkes> !basic ubuntu server
[14:58] <Womkes> Does anybody know what packages are included in hte "basic ubuntu server" tasksel option ?
[16:01] <SpamapS> Womkes: you can see that by looking at the task data ..
[16:02] <SpamapS> Womkes: but I don't see the "task" basic ubuntu server
[16:38] <maxagaz> hi
[16:38] <maxagaz> i have just installed ubuntu-server
[16:38] <maxagaz> when I type ifconfig, I have just lo
[16:38] <maxagaz> my eth is not in the list
[16:38] <maxagaz> how to get it in the list
[16:43] <maxagaz> felipe_: hi
[16:45] <felipe__> hi
[16:45] <maxagaz> felipe__: hi
[16:46] <maxagaz> felipe__: how are you ?
[16:46] <felipe__> max
[16:47] <felipe__> maxagaz: dsgsdkjh
[19:03] <nancy--> what are the most famous control panels for web hosting ?
[19:04] <onre> famous for good or bad things?
[19:04] <nancy--> good
[19:05] <nancy--> ofcourse
[21:06] <JanC> does Ubuntu server have something like this: http://www.daemonology.net/blog/2012-01-16-automatically-populating-ssh-known-hosts.html ?
[21:14] <itguru> I'm building a webserver using ubuntu, and I've run into an issue. I thought I had php working, as he site in /var/www renders php, but sites in /user/public_html do not - Where shall I start to fix this problem?
[21:15] <guntbert> itguru: did you see the !serverguide already?
[21:16] <itguru> ...
[21:16]  * itguru says serverguide ?
[21:16] <itguru> I must google harder
[21:16] <itguru> !serverguide
[21:17] <itguru> Thanks for the tip, I usually build servers on centos
[21:17] <itguru> blashphemy in here, I know :)
[21:17] <itguru> Ah! Yes, I have gone through that page!
[21:19] <blkperl> itguru: did you tell apache to look in /user/public_html?
[21:19] <itguru> oops! wrong config file!
[21:19] <blkperl> :)
[21:27] <itguru> blkperl - yes, it does, at the moment, it just downloads the php file, I've updated the file /etc/apache2/mods-enabled/php5.conf - and commented out  php_admin_value engine Off - but still no php site :(
[21:46] <itguru> WooHoo! It's working ? but I made like 6 config changes, and 2 cache reloads, so I can't pin down what did it! But anyway, I think from here on in, I'm sticking to CCM methods - hacking ubuntu is fun, and there are many guides, and the community is great :)
[22:02] <KristianDK> Is this the correct channel to ask about vmbuilder?
[22:02] <itguru> I've got some sites sitting in public_html for a few users, I want some domain names to point to some of the sites, what's the best practice way to do this? I was thinking virtual hosts, but then, doesn't that configure the site twice? once for the public_html, and once for the domain name?
[22:08] <andol> itguru: Well, assuming you want the vhost domain to be the new actual url I'd say the proper thing would be sitting up 301 redirects from the ~username url:s.
[22:12] <itguru> I want users who type www.domain.com to go to ~/webdevguy but still see www.domain.com in the heading. I could just create a vhost and user the absolute path, which is easier, but if the user deletes the direcrory apache will fail a reload, right?
[22:15] <andol> itguru: You know, that really isn't such a hard thing to test and find out by yourself...
[22:25] <itguru> andol - I did, and I got it working, I just wanted to know if there is a best practice way f doing it
[22:33] <itguru> F means of! by the way, not any other f word :)
[23:32] <wmp> hello, i have problem with curl: /usr/lib/libcurl.so.4: no version information available