=== peter is now known as Guest8144 [03:15] hey all [03:15] I have been google'n crazy to try and get VT100 to work right from the vga of my server install [03:16] I have an script that I want to use shades of colors to display information, but cannot get the monitor to use a VT100 terminal [03:16] anyone have any idea how to get VT100 without installing X? === sirajperson_ is now known as sirajperson === freeflying_away is now known as freeflying [05:11] Hi Again [05:12] Re my DNS project: I have left the home router out of the picture, because I really don't know whats under the hood, and it doesnt allow user-configuration of its DNS service. [05:12] So heres what I have: [05:13] domain is "myroom" [05:14] I have a desktop unit "dell.myroom" [05:14] 3 laptops which I have now separated into 3 VLANs [05:14] ...instead of 1. [05:15] dns.vbox1.myroom ubuntu1.vbox1.myroom [05:15] dns.vbox2.myroom ubuntu2.vbox1.myroom [05:16] dns.vbox3.myroom ubuntu1.vbox3.myroom [05:16] And they are bridged networking. [05:17] Question: should I make records in "dell.myroom" for "vbox_.myroom" pointing down to "dns.vbox_.myroom"? [05:18] ...oh, the virtual DNSs are also routers/gateways for the vlan [05:20] so for vbox2 it would have a WAN of 172.24.100.202 <-- dns.vbox2.myroom --> 192.168.102.1 (the VLAN) [05:23] Therefore, I am thinking I should add to dell.myroom's DNS database: vbox1 as 172.24.100.201, vbox2 as 172.24.100.202, vbox3 as 172.24.100.203 [05:23] ...And that's with my intention to let them share record information. [05:25] ... to clarify the question: is the 4th DNS server nessesary for the transfer of records? [08:18] jamespage, zul : https://code.launchpad.net/~yolanda.robla/cinder/autopkgtests/+merge/183394 [08:23] yolanda, merged - thanks! [08:23] np [09:10] zul, adam_g: https://code.launchpad.net/~james-page/horizon/refresh-static-assets-fix-type/+merge/183400 [11:09] jamespage: North America is on vacation today but I +1ed the horizon merge [11:09] zul, ta [11:09] zul, thanks [11:18] hey, why locale is broken on every image i try ? i start a fresh ubuntu1204 64bit image on amazon - on apt-get upgrade - locale is broken. I do exactly the same on DigitalOcean - again. fresh image - locale is broken. === freeflying is now known as freeflying_away === freeflying_away is now known as freeflying [11:36] hey, sorry to repeat myself - if DNS servers want to exchange records, do they need the IP of each other, the URL, either, or both? [11:36] And, am I doint [11:37] am I thinking the wrong way if I feel the need to have another DNS server to help the other DNS servers to find each other by URL? [11:37] * [11:39] stlu: Not sure I fully understand the question, but assuming we are talking about zonetransfers I'd say the most common scenarion is them knowing each others ip addresses [11:49] andol: ok thanks. So then, through 3 different VLANs, all I have to do is make sure routing is set up, and each DNS server will just need the IP of the other two. [11:49] right? [11:50] I keep getting tripped up thinking that the heirarchy of URLs must be strictly followed by the DNS server. [11:52] but like, technically, this means I could have each DNS server with a master database for one other VLAN, or even have a tossup where each DNS server has records for any random set of IPS... [11:54] Ok then, so if the VLAN has a domain vbox3.myroom, and addresses x.vbox3.myroom, what conventionally does one do with that URL? should it point to something or nothing? [11:54] stlu: Well, exactly what info is needed where might depend of what dns server you are running, and in what way you want the update chain to happen [11:55] stlu: Unless you have any other preferenses, just take a look at BIND, and some of the examples in its configuration, and see whatever works for you. [11:55] andol: I have 3 VLANs side-by-side, under a LAN. I don't care how they transfer information, I just want to learn the conventions. [11:57] but I want one DNS for each VLAN, since the VLAN is inside virtualBox on a laptop, and not all 3 laptops will be on all the tim. [11:57] *time [11:58] why not one or two common DNS servers? [11:59] * RoyK works at a college with 20+ VLANs and two DNS servers [12:00] I may not be using 'VLAN' as it is supposed to be used, but what I have is a couple VMs running under virtualbox, in a laptop. [12:01] you should be able to route between them nevertheless [12:01] If I do a common DNS server, it would have to be on hardware that is on all the time... [12:01] or run dns server on your laptop :P [12:02] RoyK: and when that laptop is off, the other two laptops will have no DNS! [12:03] stlu: just trying to be a bit practical here :) [12:03] stlu: do you have an official domain? if so, the isp should give dns as a service free of charge [12:03] or whoever sold you the domain [12:04] no, I'm extremely minimalistic here, my domain is .myroom, and the laptops are in my room. [12:05] there is home ISP service, but it isn't relevant for my learning project - I don't even know if the home modem/router would share its DNS information for the wifi lan. [12:05] stlu: hm... can you afford a raspberry pi? [12:06] RoyK: yes, I could. [12:06] that'd be a neat "dedicated server" ;) [12:07] That's a great idea. Then it would be on 24/7, and any of the VMs could reach it, regardless of the other laptops being on/off. [12:08] stlu: mhm - doesn't cost much either [12:11] to the next question: what would be the convention if I had pc1.vbox3.myroom, pc2.vbox3.myroom, pc3.vbox3.myroom, all together, but I tried to connect to vbox3.myroom itself, what should that point to? [12:12] what do you mean"point to"? [12:12] the easiest would be to run virtualbox in bridged mode and put them all on the same IP network [12:12] could be many things, say I open a web browser, or "ping" it, or email stlu@vbox3.myroom, or ssh, or whatever. [12:13] stlu: are you using rfc1918 addresses on your laptop? [12:13] stlu: just run ifconfig to check [12:14] rfc1918? [12:14] just pastebin ifconfig output [12:14] umm, I'll explain again the network diagram: [12:14] http://en.wikipedia.org/wiki/RFC1918#Private_IPv4_address_spaces [12:15] ah yes, absolutely [12:15] and all clients on the same IP network? [12:15] all laptops are on the 192.168.2.0/24 network for my wireless home internet. [12:16] then they should be able to ping oneanother without issues [12:16] same applies to any VMs on those [12:16] each laptop has a virtualbox internal-only network 192.168.{101,102,103}.0/24 and pc1 is the gateway. [12:16] if you're not using bridged mode networking, the VMs won't be reachable [12:16] ic [12:17] better make the pi the gateway when you get it [12:17] eh [12:17] no [12:17] sorry [12:17] but the DNS server doesn't necessarily *have to* have a record for the domain vbox3.myroom, but I could make it anything or nothing. what is the convention? [12:17] Sorry I can't seem to phrase this question in a way that makes it obviously simple as it is. [12:18] I have *no* issues with pinging the systems, I just wonder about the convention for the over-riding domain that all the VMs are part of. [12:19] pc1.vbox3.myroom = VM PC#1 [12:19] pc2.vbox3.myroom = VM PC #2 [12:19] pc3.vbox3.myroom = VM PC#3 [12:19] all the VMs now have a URL [12:19] My question is, this remains: [12:20] vbox3.myroom = ??? [12:20] ... [12:20] and I realized I'd better change the pc numbering to avoid confusion... [12:21] pc1.vbox1.myroom, pc2.vbox1.myroom, pc3.vbox.myroom [12:21] pc4.vbox2.myroom, pc5.vbox2.myroom, pc6.vbox2.myroom [12:22] pc7.vbox3.myroom, pc8.vbox3.myroom, pc9.vbox3.myroom [12:22] there. [12:23] I have several ideas, but I don't know which is most conventional/correct. [12:25] I could make that domain point to the gateway pc, on it's "wan" interface, so a web brower, a ping, or an ssh connection would go to that pc [12:26] or I could just pick one of the VMs as a web server and set it to that, say pc8.vbox3.myroom = www.vbox3.myroom = vbox3.myroom [12:27] or I could point it to the laptop itself, but that seems to have little use, since the laptop's OS isn't supposed to be part of the project. [12:27] RoyK? [12:28] do you have any of your 20 VLANs with similar subdomains? [12:32] stlu: back [12:33] stlu: no, we don't mix network structure and dns [12:33] not that it should be a problem [12:37] ok, so to pick on zkxs, for example, I see that his URL is ip68-14-174-230.ok.ok.cox.net [12:37] so there doesn't have to be any relationship between those subdomains, this is what you're saying? [12:43] Well then, it seems that some of the subdomains don't matter: http://pastebin.com/8G26bcvp [12:44] RoyK: so this is an example of proper conventions? If it isn't related to network structure, what might they have been thinking when they made the subdomains ok, and ok.ok ? [12:47] Hmm, If I were in charge of that DNS, I'd want to change it to something more informative, like *.customers.cox.net [12:50] I just looked at my own URL, bas16-toronto12-1088897118.dsl.bell.ca [12:50] At least that makes a bit more sense. [12:51] I think that "dsl." is just a way to separate the customer records from other systems, like their routers and office machines and stuff. [12:52] ok.ok.cox.net may be a very poor example; that could easily be $city.$state.cox.net, and Oklahoma City, OK has thrown you off [12:54] frick, I'll bet you're right! [12:56] dangit, zkxs, why'd you have to live in Oklahoma, confusing my noob brain? [12:57] * stlu that IP is in Oklahoma [12:57] actually, I might be wrong, I see a friend in san diego has sd.sd.cox.net. there goes my logic [12:58] ok, well maybe they have other gear there, like x.routers.ok.cox.net? [12:58] ok.ok is like "general.ok" [12:58] or "customers.ok" [13:00] so then, in conclusion, if my subdomains "vbox1", "vbox2" and "vbox3" just help me to remember which laptop (equiv. to the city/state idea) the VM resides, then it would be perfectly acceptable to leave no DNS record for them. [13:10] name hierarchies can have as much or little meaning as you like. eg, we have a bunch of machines that are server.foo.corp.com because their dns is handled by a load-balancer, so we can just delegate foo.corp.com [13:11] on the other hand, www.corp.com and mail.corp.com don't need to be on the same subnet, planet, etc, despite being at the same level [13:15] I'm having fun pinging all over the place. [13:16] www.ok.cox.net actually points to something, while ok.cox.net is nothing. [13:18] and cox.net is the same IP as for www.cox.net, which make a bit of sense. [13:18] mail.cox.net is nothing. [13:19] www.ok.ok.cox.net is also nothing [13:19] stlu: I don't there are much naming convensions - that is - I'd say there are about as many convensions as there are sysadmins [13:20] thank you RoyK. I can say that knowing there aren't any conventions is probably just as important as knowing when there are conventions. [13:23] stlu: there are always convensions, and always arguments between sysadmins etc about which is the best ;) [13:23] you know what I mean :P [13:24] There isn't a hard and fast rule that everyone is all trying to reach for... they have a few, and reasons to use whichever one they like best. [13:27] because no sysadmin who still has a job would decide to say, assign a dotted-trio IP address to his systems, because he has a good argument for it! "I think 55.44.33 is a much better way to address the database server!" [13:30] ... omg... apparently 55.44.33 is translated into 55.44.0.33... why oh why??? I just wanted to pick something impossible... [13:33] WTF? $ ping 64.2316494 [13:33] PING 64.2316494 (64.35.88.206) 56(84) bytes of data. [13:34] I'm going to beat my forehead upon the nearest durable wooden surface... brb [13:35] $ ping 642316494 [13:35] PING 642316494 (38.72.248.206) 56(84) bytes of data. [13:36] heh? I name my servers 4digit numbers [13:36] have to patch syslog-ng to even allow that [13:36] it keeps thinking my server name is a date [13:37] Patrickdk: I pity the poor soul that has to take over your job after you retire... [13:38] me? [13:38] the numbers make perfect sense :) [13:38] better than naming them all after greek gods or something [13:39] zul, jamespage https://code.launchpad.net/~yolanda.robla/neutron/autopkgtests/+merge/183451 [13:40] Finally: $ ping 2648F8CE [13:40] ping: unknown host 2648F8CE [13:42] Patrickdk: Oh, i though you meant you gave your servers some perverted IP address like 12.34 with only four digits. [13:42] i have set 'hdparm -y /dev/sd[b-g] for almost 24 hours works fine, but when i remove the '# spindown_time = 60' in /etc/hdparm.conf nothing happens no spindown. And i did a reboot. [13:42] I guess a nuumeric hostname isn't such a bad thing. [13:43] Of course, it has to make me wrong again, 12.34 is translated to 12.0.0.34.... [13:43] makes it simple, 8001, 8002, 8003, would be 3 web servers :) [13:43] bet you can't think of the email servers name [13:43] 2501, 2502, 2503? [13:44] And FTP servers at 2101, 2102, 2103...? [13:44] well, try to stick to sftp [13:44] stlu: root@francesco:~# ping 0x2648F8CE [13:44] PING 0x2648F8CE (38.72.248.206) 56(84) bytes of data. [13:44] FUUUUUUUUUUUUUUUUUUUUUUUUUUU [13:44] machines with both smtp and ssh are 4701, 4702 ? [13:45] stlu: what's the problem? [13:45] sgran, no, wouldn't combine servers like that, too much security risk [13:45] RoyK: you didn't seriously do that just now. [13:46] stlu: just had to try to ping a hex address ;) [13:46] it's just a number :) [13:47] sgran: an ip address is just a 32bit unsigned number too ;) [13:47] that's what I mean [13:47] :) [13:47] try 'ping 0' [13:48] these are valid, if thankfully uncommon, ways to express IP addresses [13:48] PING 0 (127.0.0.1) 56(84) bytes of data [13:48] O.O [13:49] :) [13:50] also ping 2130706433 [13:51] steve@gashuffer:~$ echo $(( (74 << 24 ) + (125 << 16) + (136 << 8) + 113 )) [13:51] 1249740913 [13:51] steve@gashuffer:~$ ping 1249740913 [13:51] PING 1249740913 (74.125.136.113) 56(84) bytes of data. [13:51] heh, strange how chromium turns that in to 'localhost' and not '127.0.0.1' [13:53] $ ping 0x1000000111001110100000001011110 [13:53] that doesnt work [13:54] stlu: that's a rather large number :P [13:54] 0x => hex [13:54] oh [13:54] I wanted to make it interpret as binary [13:54] don't think you can do binary directly from the shell [13:54] anyone who can help me out? [13:55] my telepathy is not working [13:55] perhaps with more detail, I could answer that [13:56] well http://www.linuxtopia.org/online_books/advanced_bash_scripting_guide/numerical-constants.html [13:57] stlu: ping $((2#1000000111001110100000001011110)) [14:00] RoyK: PING 1088897118 (64.231.64.94) 56(84) bytes of data. [14:00] mind=blown [14:01] is the double parantheses needed because its a bash arithmetic expression? [14:01] *are the [14:02] yes [14:02] $(( )) is integer arithmetic [14:02] 2#1000000111001110100000001011110 is an input to that that returns 1088897118 [14:03] I'm learning sh syntax and my mentor gets pissed every time I learn a new 'bash-ism' as he calls it. [14:03] But he's old-school and I'm not. [14:06] $(( )) is POSIX === oyvin is now known as oyvind === oyvind is now known as Guest35153 === Guest35153 is now known as oyvin [14:14] ahah! So I can flaunt my arithmetic in my old-school mentor's face! [14:15] Anyway, for some reason I cannot email myself at adam@1604548979 [14:16] gmail doesn't waaaaaant it. [14:17] well, it's not a valid email address. [14:17] or are you still being cute? [14:19] I'm noob. No time for cute. [14:19] then read about DNS and particularly MX records [14:19] but if thats not valid, how come sending email to adam@95.163.121.115 is? [14:19] (if you care about smtp and not arithmetic) [14:20] sgran: sure it's posix? it works with bash/zfs, but not with dash/tcsh [14:20] steve@gashuffer:~$ dash [14:20] $ echo $(( (74 << 24 ) + (125 << 16) + (136 << 8) + 113 )) [14:20] 1249740913 [14:20] email to bare IPs, never guaranteed to work no matter how you got to the IP [14:20] sgran: # echo $((2#01000100101)) [14:20] dash: 1: arithmetic expression: expecting EOF: "2#01000100101" [14:20] stlu: a valid smtp hostname is not the same thing as a valid IP [14:20] mardraum: ok then, I had a false notion. I tried again and it came back bad. [14:21] RoyK: oh, yes 2# is a bash extension [14:35] * stlu feels slightly offended being called 'cute' [14:36] you troll [14:40] smb, any good with seccomp? [14:40] bug 1219857 [14:40] Launchpad bug 1219857 in vsftpd "vsftpd connections fail on amd64: "500 OOPS: child died"" [Undecided,New] https://launchpad.net/bugs/1219857 [14:41] jamespage, hm not very good... [14:42] jamespage, is there more hints or maybe some apparmour log [14:42] smb, other than: [14:43] Sep 2 14:25:51 vsftpd-debug kernel: [ 15.517149] type=1326 audit(1378131951.002:12): auid=4294967295 uid=65534 gid=65534 ses=4294967295 pid=1402 comm="vsftpd" sig=31 syscall=96 compat=0 ip=0x7fffacf79dff code=0x0 [14:44] jamespage, I would probably try my luck in #security but not sure how many US/CA folks are around === freeflying is now known as freeflying_away === HisaoNakai_ is now known as HisaoNakai === lordsame is now known as SergioMeneses [15:54] can anyone assist me with hdparm /etc/hdparm.conf is not working [15:54] when i use hdparm -y the drives go in sleep [15:54] but when i set it up in hdparm.conf nothing happen even after a reboot === psivaa is now known as psivaa-bbl [16:57] i am running ubuntu 12.10 server on Xen platform, how can I tell if that is right? i got uname -a [16:57] Linux ABCD 3.5.0-17-generic #28-Ubuntu SMP Tue Oct 9 19:31:23 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux [16:59] virtwhat [17:00] Patrickdk_, ? [17:01] heh? [17:01] you asked a question, I gave you an answer, and you ? me? [17:01] hmm, actually, maybe that isn't in ubuntu [17:02] Patrickdk_, not sure what you mean by virtwhat [17:02] oh, virt-what, in ubuntu [17:02] Patrickdk_, command not found [17:02] install it [17:02] always helps [17:03] oh, ok, i try [17:04] Patrickdk_, got it, Xen, many thanx [17:06] should the ubuntu 12.10 server have empty folder in /proc/xen? [17:06] i want to figure out if i am running xen-domu or xen-hvm [17:07] this applogic thing is hard to figure things out [17:15] don't look in /proc/ use /sys [17:29] Patrickdk_, does the independent_wallclock still exist in 12.10 xen pv domU? [17:31] cocoa117: is this a vm you got from somewhere? [17:31] RoyK, yes, this is a VM [17:31] cocoa117: from an isp etc? [17:32] that's right [17:32] RoyK, in fact, i am pretty sure it is a Xen domU [17:33] it just didn't show the normal info off it, and i can't solve the time issue [17:33] cocoa117: I haven't seen virt-what miss yet [17:34] xen as the answer [17:36] cocoa117: then what are you trying to sort out? [17:38] it's impossible to make the clock stable [17:38] it won't happen [17:39] independent wallclock just makes it a mess, unless the host has LOTS of free cpu cycles [17:39] * RoyK mutters something about NTP [17:39] ntp will help with independent wallclock, but still, you need enough cpu cycles, or it will giveup === psivaa-bbl is now known as psivaa === matanya_ is now known as matanya === freeflying_away is now known as freeflying