=== cpg|away is now known as cpg [01:02] I have a question regarding the use of & in the shell [01:03] hanlond, and... [01:03] I have no GUI installed, so if I use VI to edit a file and add & the the end of the command, how do I then start using VI [01:03] hanlond, fg [01:04] and is there a way to unfocus from VI afterwards? [01:04] hanlond, ctrl-z if vi doesnt capture it [01:05] will that work with any process? [01:06] hanlond, any process that trap SIGSTP [01:06] Thank you very much [01:06] hanlond, or remap ctrl-z [01:14] hello, how does server version comes shipped when it comes to dns? to servre localhost? localdomain? or not at all by default? [01:15] hplc, presumably not installed by default [01:16] escott, but if choosen during install i mean [01:16] my english aint that great [01:22] hplc, it will serve any computer configured to ask it for dns information. so if it is also a dhcp server it would presumably suggest itself as the dns server [01:25] escott, so in that case one can say that it would serve the homelan / domain?, im not that good at being 100% correct, but i hope i make sense enough [01:26] hplc, put it to you this way. i'm making some tea, i will serve you some but only if you come by and ask.... [01:26] hplc, you have to configure the other computers on the domain to ask that computer if you want it to be the dns server [01:27] escott, ok, yes that way i get it [01:29] can the server version act as dns / dhcp and be the firewall at same time? or put something else to guard the border? [01:29] hplc, yes. thats probably the easiest setup to configure [01:29] !ics | hplc [01:29] hplc: If you want to share the internet connection of your Ubuntu machine with other machines in the network see https://help.ubuntu.com/community/Internet/ConnectionSharing [01:30] yes, recon that from "firestarter" in the desktop edition [01:31] how does ubuntu going to handle the UEFI? the shim bootloader? [01:32] hplc, the "shim bootloader" is for secure boot. there is support for direct efi loading not sure its in the ubuntu kernel though [01:32] and does ubuntu support use of btrfs? it seems like a solution where one can add HDDs as time goes by [01:33] btrfs isn't very stable yet [01:33] hplc, yes buts far from a usable filesystem [01:33] escott, but doesnt UEFI mean 100% hardware cutoff anything that isnt MS? [01:33] RoyK, escott ok [01:33] hplc, huh? [01:34] hplc: if you want raid, use md [01:34] escott, i meant, the idea behind uefi is to allow ONLY ms to pass the bootloader on a hardware level due ti INTEL chips set that way? right? [01:34] no [01:36] i was under that impression after reading linux format nr 167 [01:36] hplc, you read it wrong [01:36] and you are talking about secure boot not efi [01:37] and you are incorrect about secure boot :) [01:37] but isnt secure boot and UEFI the same thing? [01:37] that said i dont think secure boot is very useful so i would disable it [01:37] no they are not [01:40] im confused, qoute from page 38 "UEFI and / or microsofts secure boot is hampering manufactoring of linux or dual boot computers" end quote [01:41] everything you read on the internet must be true :) [01:42] no not internet, the paperback version of a magazine [01:43] hplc, there has been an enormous amount written about this. you are welcome to read about it [01:43] those still exist? [01:43] hplc, many laptops from Dell/Compaq/etc are shipping with 4 primary partitions (a boot partition, windows partition, recovery partition, and a OEM driver partition) [01:44] i could write a sensationalist article about how that is hampering the installation of linux and how its an evil trick by MSFT [01:45] or i could write about how its a relatively minor technical impediment for those who know what they are doing [01:45] but still, im confused, is "Linux Format" paperback magazine a joke? to me it looks quite serious [01:45] i could even write about how evil microsoft ships windows partitioned in such a way as to use the ENTIRE disk [01:45] all to prevent other operating systems from being easily and readily installed [01:45] OMG sensationalist blog posting coming right up [01:46] ? [01:48] hplc, (a) you arent going to have windows on the computer you are talking about because its a server (b) you can just disable secure boot (c) you can probably switch to bios boot mode if you want [01:49] escott, well yes, i do indeed consider using ubuntu server instead of my present FreeBSD [01:52] escott, and i cant understand what is so funny about me mentioning that paperback magazine, is its articles made up out of thin air? i dont understand [01:52] hplc, i didnt make fun of the magazine, but there are better things to read than linux format [01:53] hplc, lwn.net is very solid [01:54] escott, is it something that exist both in electronic and paperform? what does it cost? [01:55] hplc, website only. there is a membership if you want to read the current one or you can read a week or two behind [01:56] escott, as a homeuser, that doesnt need to keep up with cutting edge news, is the free version enough? right? [01:57] hplc, a one week old lwn article is probably more up to date than a print edition of linux format that has been sitting on the shelf of B&N for the past week [01:59] hplc, it can be very technical in some parts that may or may not be what you are interested in reading [02:00] escott, yes that is more than welcome [02:02] I replaced the motherboard in my server and now I'm having problems getting it to boot. Everything seems to be fine at first, everything reports "OK" as it starts, until it gets to Tomcat. There it just says "* Starting Tomcat servlet engine tomcat6" and hangs. [02:03] Apache fails to start, but it reports a syntax error in apache2.conf and then moves on without haning. [02:03] *hanging. [02:04] Troubleshooting pointers anyone? [02:07] mortrca, is the networking working correctly? [02:07] mortrca, ie if your interface card was on the motherboard it will have a new MAC address and perhaps a new device [02:08] escott: It displays a message about waiting another 60 seconds for network configuration which I haven't seen before [02:08] and moves on after the 60 seconds [02:08] mortrca, i would look into that. make sure that something isn't misconfigured there [02:09] mortrca, check /etc/udev and all the /etc/networking stuff [02:26] escott: I seem to have bigger issues. I now cannot get a BIOS post or any video out from the board. I think this is now a hardware problem. [02:26] Thanks for the suggestion, if I ever get that far I'll give it a try. [02:29] Good day, i'm thinking about going for a psad+fwsnort setup, is there a more effective solution? [03:47] I have a question regarding /etc/network/interfaces [03:48] if I have a DNS server pointing to and IP address www.xxx.yy.zz [03:49] what do i need to set the following to in order to get an SSH client working [03:49] I have [03:50] auto eth0 \n iface eth0 inet static \n address www.xxx.yy.zz netmask 255.255.255 network 192.168.0.0 broadcast 192.168.0.255 gateway 192.168.0.1 [03:51] hanlond, dns is handled through /etc/resolv.conf === slank is now known as slank_away === slank_away is now known as slank === slank is now known as slank_away === slank_away is now known as slank === slank is now known as slank_away === stooj_ is now known as stooj === VD is now known as Guest60840 [09:21] I'm trying to resize a KVM guest that itself uses KVM. Every time I make the attempt, I have to blow away the partitions in fdisk, recreate them, and reboot. This changes the UUID, and leaves me unbootable. [09:22] (I'm operating on a copy) [09:24] Screw it. Adding the new space as a new partition, and I'll handle it in LVM. :-p [09:29] THERE we go. [09:29] Add that as a new PV, add the new PV to a VG, lvresize, resize2fs, and we're in business. [09:29] "simple" as that. === slank_away is now known as slank [09:32] What are you using as the block device for the first-level KVM? [09:33] e_t_: LVM. [09:33] So yeah, turtles all the way down. :-) [09:33] (LVM is on top of a hardware RAID10 of direct attached storage.) [09:33] The sad thing is that this... is my personal environment, not work's. :-) [09:33] So you lvresize the storage volume for the first-level guest and it blows away your partitions? [09:34] Not exactly. This is under libvirsh. [09:34] So on the host, I copy the old VM's lv to a new, larger one. [09:34] In that new larger one, fdisk sees the new space, but nothing else does. [09:35] So deleting the root and lvm partitions in fdisk and recreating them with the lastblock boundary further out (which works if you're NOT using UUIDs) fails horribly at reboot time. [09:35] Now I feel like a grumpy old man shaking his fist and screaming to get off his lawn. [09:36] This is also Lucid; not sure if it's any better in Precise. [09:36] Does it work any better if you mount by label instead of UUID? [09:37] Most likely, but I'm not sure how to make that work in Ubuntu. [09:37] A cursory search didn't turn up anything. [09:37] "adding the extra space as /dev/vda6" worked a treat though. [09:38] I don't think fstab is distro-specific. [09:38] e_t_: I suspect that cutting the box to mount by label, rebooting, and then updating the uuid's with the CURRENT partition table would work as well. [09:38] e_t_: No, but update-grub and the stuff surrounding it are. [09:38] It's not even fstab; it doesn't get to that point. It's the initrd and the kernel locations. [09:39] So I'd have to update grub.cnf [09:39] Or whatever the name of the file in question is, in CentOS (my strong suit) it's menu.lst === slank is now known as slank_away === VD is now known as Guest10010 === yofel_ is now known as yofel [13:09] i got some packet drops with my intel ethernet adapter [13:10] i didn't had this problem with kernel 3.7 [13:11] should i install the actual kernel module 1.2xy something? [13:17] damrock: custom kernel? === Ursinha_ is now known as Ursinha [14:42] seems either chkrootkit is out of sync with ubuntu, or that /sbin/init really is infected on 12.04 [14:44] no custom kernel [14:44] ppa kernel [14:44] my SAS controller doesnt work with 3.7 [14:45] but with 3.5, but with 3.5 ethernet is fucked up [14:45] stop buying unsupported hardware? [14:45] lol [14:45] damrock: ppa kernels are most likely supported only by the maintainers of said ppa [14:46] marvell is proper supported [14:46] what should i buy, sil chipset? [14:46] marvell is not very specific, they make LOTS of things [14:46] marvel provide its own kernel modules [14:46] but the way to compile moduels changed in 3.7 [14:47] so i cannot compile the kernel module for 3.7 my sas controller [14:47] what sas controller is this? [14:48] rocketraid 2720 [14:48] 2 pieces of them [14:48] 16 x 2 tb drives with mdraid 5 [14:49] erm - 16 drives in raid-5? [14:49] single raid5? [14:50] * RoyK mumbles something about playing with matches and gasoline [14:50] raid5 with 1 spare [14:51] better convert that to raid-6... [14:51] yeah if i get the ethernet work in 3.5 [14:51] I'd use r6 with a spare or even split it up to smaller raid sets with that amount of drives... [14:52] i would have to wait for btrfs raid5 [14:52] no need for a spare [14:52] what sort of nic? [14:52] intel e1000 [14:52] if you really want a spare, just throw the spare on the motherboard port [14:52] i put the spare to mobo port [14:52] 16 drives and 1 spare on mobo port [14:52] damrock: should work, but perhaps new pci id [14:54] well i buy new hardware next month, 17 3tb wd red harddrives with intellipower and sell those 2tb ones [14:54] they are cheap pnly 130 bucks for each [14:55] that's pretty good [14:55] im out of space... [14:56] what are you storing on all this? [14:56] mkv [14:57] video? [14:57] yes [14:57] anyway - I'd recommend using r6 for such a setup - really [14:59] large desktop-grade drives have rather high error rates [14:59] maybe i put the entire thing to lvm and run it with lvm [15:00] lvm doesn't support raid[56], though [15:01] vgcreate does not work? [15:02] vgcreate vg1 /dev/md or something? [15:02] then mkfs.btrfs /dev/vg1/lv1? [15:03] oh, yes, lvm on top of md works fine [15:03] * RoyK doesn't trust btrfs yet for production [15:04] oyu can't even trust kernel 3.5 for production [15:04] thats why im here with my ethernet problem with dropped packets [15:05] * RoyK sticks to LTS releases ;) [15:05] and its intel, not such a cheap chinese manufactuer [15:05] yeah i had this prblem with 3.2 on lts [15:05] ok? [15:05] reported a bug? [15:06] a lot of peoples reported it [15:06] url? [15:06] intel has lots of known driver issues that have not been fixed in years [15:06] I dunno why you would trust intel to not have buggy drivers [15:07] i agree [15:07] but it works on windumb [15:07] intels e1000 and iw drivers have known to have issues [15:07] https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1018561 [15:07] Launchpad bug 1018561 in linux "e1000e needs updating due to 82574L keeps dropping RX packets" [Medium,Confirmed] [15:07] that's interesting - I have rather a lot of machines with those cards [15:08] those "eeprom fix" didn't help [15:08] maybe some ethtool quirks in the nvram inserted or something [15:09] but i said if i use the drawring kernel my sas doesnt work anymore... thats pretty funny [15:09] so, the nic works with 3.7, but there you can't find the controller? [15:10] well i get another nic at monday, im tired with this stuff [15:11] what about just using 3.5 with backported modules? [15:11] that is what I do to get a more stable wifi driver [15:11] good idea [15:12] you could always also download the e1000e driver from intel and compile it yourself also [15:13] royk, I have gone into scary territory for me, running my own build of illumos-gate on oi [15:13] never built illumos kernel before [15:14] hehe - does it work? [15:14] spent almost all day yesterday getting it built [15:14] hmm, the *debug* one wouldn't [15:14] but non-debug boots [15:14] have it on 3 machiens, the test build, my home [15:14] and just shoved it into production [15:15] * RoyK has never built an illumos kernel neither [15:16] why did you upgrade? [15:16] nfs panic [15:16] btw, what's the current oi status these days? "still not dead yet"? [15:17] ouch [15:17] nothing better than free an null pointer :) [15:22] just make install to compile the driver according to the manual... no depmod -a or something [15:22] you should always depmod -a [15:23] but that isn't a part of compiling the driver, that is part of installing the driver [15:23] weird instructions [15:23] patdk-lap: seems gcc just ignores a free((void *)0) [15:24] not sure about gcc, but I know libc in linux ignores it, and Ithink also ignores anything random value you give it that wasn't malloc'd [15:24] ok [15:24] I don't think it was a free(NULL) as much as free(random) though [15:25] just tried to free(random) - that segfaulted nicely [15:25] :) [15:25] might be one of the other malloc packages [15:25] used many different ones [15:26] https://www.illumos.org/issues/3449 [15:26] well, in this case it was a free(0) [15:26] or some processing on a NULL pointer [15:27] nothing better than single line bug fix's [15:42] ok module installed [15:42] just rmmod the module, then copy the new compiled module to the lib mod stuff and modprobe it [15:44] well, the error remains [16:03] damrock: I saw a post about it with the error being the same even with 3.7.x [16:23] The Message "Your BIOS is broken; DMA routed to ISOCH DMAR unit but no TLB space." should only lead to a performace drop or I'm wrong? [16:24] i have nokia 3500c phone i want to connect to internet using this phone ,how do i connect i tryed with wvdail but i get message on phone subcrib to packet data 1st and wvdail goes in redial attempt [16:29] connecting to the net via a phone from a server? [16:37] royk whatever [16:37] ? [16:37] i will buy another ethernet nic [16:39] just try to figure out a good nic [16:51] whats a recommended network nic for pcie x1? [16:51] any desktop nic? [16:51] any? [16:51] well, depending on performance [16:51] intel, broadcom, realtek, ... [16:52] it should give me 120MB/s with 4 or 8k frames [16:52] heh? no [16:52] for afp and nfs [16:52] your lucky if you get 112MB/sec [16:53] but I dunno about getting that kind of speed on a desktop class card though [17:02] damrock: using jumboframes_ [17:02] ? [17:35] hi guys, im not quite sure if im right here, but Im looking for help to configure my file rights for var/www correct. Im running apache on ubuntu with php as mod_fcgid. www-data user and my standarduser share a group "ftpuser", which is the group of var/www. Is it correct to set every directory now on 755 and every file on 664? [17:39] Yannik, that is a strange permission set. why read exe on directors and read write on files in those directories [17:39] Yannik, 775 664 would seem more normal [17:40] sorry, that was a typo [17:41] Yannik: better make them owned by root or some other user - allowing www-data write access to those files may open for some interesting issues if a bug is found in a php script or similar [17:41] they are owned by root (except for the files uploaded by the standarduser) [17:42] but i could change that via proftpd too [17:42] I thought putting them in the same group (ftpuser) the too users (standarduser and www-data) would be fine [17:43] agreed with RoyK on the www-data write access [17:43] (sorry, late to the convo ;P) [17:45] currently files have "- r w - r - - r - -" and directories have "drwxr-xr-x" === frojnd_ is now known as frojnd [18:28] Hi there :) [19:01] can someone be kind enough to suggest to me some kind of run-of-the-mill iptables rules that allow for some ICMP stuff? [19:15] TheLordOfTime, something like: [19:15] on campus network i'm curious whether they're trying to ping me or something, i [19:16] 'm running in a non-restrictive firewall mode [19:16] iptables -A INPUT -t icmp -m icmptype 3 code 4 -j ACCEPT [19:16] which is dangerous, hence the info request :P [19:16] iptables -A INPUT -t icmp -m icmptype 11 -j ACCEPT [19:17] those two are required for ANY ip traffic to work [19:17] -m icmptype <-- errors out [19:17] hmm [19:18] ah [19:18] iptables -A INPUT -t icmp-type 3/4 -j ACCEPT [19:19] which one allows pings/echos? [19:19] iptables -A INPUT -p 1 --icmp-type 11 -j ACCEPT [19:19] i think this network checks to see if you're online using that. [19:19] iptables -A INPUT -p 1 --icmp-type 3/4 -j ACCEPT [19:19] nope [19:19] those allow pmtu to work [19:19] *sigh* [19:19] I said REQUIRED, ping is optional [19:19] i will need ping [19:19] as well :p [19:19] I believe ping is 8 [19:19] iptables -A INPUT -p 1 --icmp-type 8 -j ACCEPT [19:22] okay, lets see if this works [19:22] because my overly restrictive ruleset was causing me to not be able to be on the network [19:22] so... :P [19:22] forget doing iptables manually, and use shorewall :) [20:26] patdk-lap: +1 [20:32] The Message "Your BIOS is broken; DMA routed to ISOCH DMAR unit but no TLB space." should only lead to a performace drop or I'm wrong? [20:41] Hey guys, I just got my 1st server. And was wonder about dynamic DNS. Any specefic ones you recomend? [20:47] Nahita: dyndns ? [20:48] no-ip [20:48] ok, thnx. I also noticed there are free ones. So why would I pay for one? [20:52] not dyndns [20:52] dyndns stopped their free service recently [20:52] those who still had free ones keep their free ones [20:59] I got a free one for my pop that works with a D-link router. Though I think it will only work with D-Link routers... === frojnd_ is now known as frojnd [21:02] hehe, but whats the diffirence between those you pay for and the free ones? [21:19] Hi there, is there a way to backup iptables rules before I try and make changes in case I mess something up? [21:20] frojnd: iptables-save >file and iptables-restore shauno: what if I don't have itpables-save? I only have iptables and iptables-restore [21:22] Is there another way around? [21:33] everytime my server resarts the router gives it ip x.x.x.103. this is via network cable. all my settings are from befor i had the server and the router near enough to connect so i was using wifi for sometime. it had ip x.x.x.102, so all my settings use this ip. i have configured my router to use the 102 ip but have to run sudo dhclient eth0 to get anything to connect. how do i get the router/server to use the 102 ip default? === slank_away is now known as slank [22:00] dingo311 you can do this http://pastebin.com/dK2cfnGW [22:10] PeterGriffin: not sure of line 9 [22:17] it is still the router ip [22:30] PeterGriffin: that was a no go. i can pastebin the interfaces file if you need [22:31] do it [22:33] dingo311: your router connects you to internet, right? === slank is now known as slank_away [22:34] PeterGriffin: yea, not saying i got everything in the file coorect. im pretty noobish. i can ping the outside ip tho. [22:36] so what is the sitoation now? [22:38] i rebooted the server, it didnt connect. I got it to connect. [22:39] paste interfaces file [22:40] and did you change the resolve file [22:40] the wifi had its own ip and mac. i turned off the hardware switch, plugged in an ethernet cable. got a new local ip and mac. i know how to update my router with dhcp reservation, but evry reboot it reverts back to the old ip, the 192.168.0.103 [22:40] http://paste.ubuntu.com/1578174/ <---interfaces, did not change resolve files [22:43] what's the router ip [22:43] the local? 192.168.0.1 [22:43] you should write it in th gateway line [22:44] change network to 192.168.0.0 [22:44] then edit /etc/resolvconf/resolv.conf.d/base [22:44] inside write nameserver [22:45] with <>? [22:45] without [22:45] ok, anyway to check without a reboot? [22:46] sudo /etc/init.d/networking restart [22:46] thet should do it [22:48] Running /etc/init.d/networking restart is deprecated because it may not enable again some interfaces * Reconfiguring network interfaces... [22:50] so did it restarted the interface [22:50] what ifconfig says [22:51] no [22:51] hanging on last part [22:52] says failed to bring up eth0 [22:52] sudo ifconfig eth0 up [22:55] it should bring it up [22:56] or restart it again [22:57] by it you ,ean whole system? [22:59] yea, in the second sentence :) [22:59] but [23:00] you shoud first try sudo ifconfid eth0 up [23:00] ifconfig* [23:01] even try first sudo ifconfig eth0 down and then up === slank_away is now known as slank [23:14] dingo311: did eth0 go up [23:15] PeterGriffin and dingo311 are the same person [23:15] xD [23:19] really lol === slank is now known as slank_away [23:54] hello I have a problem that a partition '/dev/xvda1/ is mounted as root / as read only and it makes any changes impossible, how do i go about getting it to the normal fully read/write access for root? [23:54] i tried the command mount -o remount,rw /partition/identifier /mount/point [23:54] mount -o remount,rw /dev/xvda1 / [23:55] however it says that "mount: you must specify the filesystem type" [23:57] Vasa, for a remount? [23:58] yes I want to remount the / [23:58] as a read/write filesystem [23:58] but it shouldnt be asking for the filesystem type on a remount unless something is seriously wrong [23:58] are you in a busybox shell? [23:58] yes it does but what filesystem should i provide [23:59] i am controlling it via a SSH [23:59] root