=== pHcF_ is now known as pHcF === cnj_ is now known as cnj [00:06] hi all, can anyone please help me setup ifplugd so that it boots to eth0 and when the network cable is unplugged switch to wlan0 and vice versa [00:09] dkorras1: http://ubuntuforums.org/showthread.php?t=1996289 [00:10] ok histo: i have the new instance created and running === elliotd123_ is now known as elliotd123 [00:10] i created a shell script that basically backs up the entire directoy each time its ran, but i want to go the route of only backing up modified files [00:11] can you help with that? [00:11] <_Sigma_> i have an issue with mpich2 on a cluster of ubuntu machines. am i in the right channel? [00:11] z1haze1: you can use the --newer option of tar [00:12] i see that but it requires manual input of a date [00:13] sudo tar cvpzf myPC_ubuntu710_bu010408.tar.gz --newer '1 Apr 2008' / === ValicekB_ is now known as ValicekB [00:13] hi all, can anyone please help me setup ifplugd so that it boots to eth0 and when the network cable is unplugged switch to wlan0 and vice versa [00:14] how would i do that on something automated [00:14] the modified dates need to me independent per file [00:14] some regions update daily because people play in them, some hardly ever update [00:15] dkorras1 - wait in #ubuntu for someone to help - #ubuntu-server is a bad place for desktop support [00:15] Monotoko, it' [00:15] its on a ubuntu server [00:16] my mistake... sorry I saw the same question in #ubuntu too [00:16] Using ufw, if I want to allow a specific IP address through a specific port, the correct command would be this correct? sudo ufw allow from 192.168.0.11 to 1234 [00:17] anything youd change on that? [00:17] SierraAR - hm that doesn't look right to me, hang on [00:18] SierraAR: allow proto tcp from 192.168.0.11 to any port 1234 [00:19] What does the proto part mean? [00:19] SierraAR - protocol... usually it defaults to TCP [00:19] Ah [00:19] but I like to specify it [00:19] I'm working on something similar to ufw for CentOS === G4MBY is now known as Guest78561 === ogra_ is now known as 21WAAGN94 === esde is now known as Guest39144 [00:27] what is this? http://paste.ubuntu.com/7718933/ [00:28] can someone tell me whats wrong with this shell script please? http://paste.ubuntu.com/7718912/ [00:29] z1haze2 - two things [00:29] you're using magic quotes, the ones that go to the side [00:29] rather than the regular " [00:29] and you don't have a / on the end of your directory name [00:30] ok [00:30] i copied from ftp the directory maybe thats why [00:31] and is the trailing / needed if iwant to backup the entire contents of Region [00:31] z1haze2 - you'll need a / because if you're putting them together for the tar command it'll just like like "/home/whateverfilename.tar" rather than "/home/whatever/filename.tar" [00:31] oh i gotcha [00:31] well i changed that and still this weird invalid option [00:32] http://paste.ubuntu.com/7718933/ [00:32] its like a strange block [00:32] z1haze2, that'll be your funny quotation marks [00:32] did you change those to regular ascii " ? [00:32] i changed them to normal ones [00:32] paste the script again? === tsimpson is now known as lubotu2 [00:33] http://paste.ubuntu.com/7718955/ [00:34] z1haze2 - I can't see anything that looks particularly funny in there, but obviously bash is tripping over something... can you put it on pastebin too? [00:34] sure [00:35] how come sometimes i have to type bash in my ommand to run shell scripts [00:35] but sometimes i dont [00:35] z1haze2 - I guess you're using UTF-8... do you mind me asking what your native language is? [00:35] im american [00:35] and it all depends on whether the file has an executable bit (chmod +x_ [00:35] *(chmod +x) [00:35] ah... so you're using the standard American keyboard? [00:35] http://pastebin.com/4Wfet5cj [00:36] yep [00:36] but i didnt copy paste some [00:36] i did* [00:36] should i just paste it into notepad and change the ancii or somethingh [00:36] use --newer $(date +"%d %b %Y") === lubotu2 is now known as tsimpson [00:36] z1haze2: sorry I keep getting disconnected === tsimpson is now known as taimpson [00:37] yea its ok histo, me too === kInOzAwA_ is now known as kInOzAwA [00:37] histo - you think it's the command itself? [00:37] i dont think hes seen it yet [00:37] Monotoko: No ignore that date thing === ivoks_ is now known as ivoks === miceiken_ is now known as miceiken [00:37] here we go [00:37] That got posted when I came back in, it was a response from a question he asked way back [00:37] jesus fuck [00:37] ignore it === ming is now known as Guest20647 [00:38] watch the language please [00:38] its split like 4 times in 15 minutes [00:38] sorry - they're really annoying me now, not sure who would DDoS freenode of all places [00:39] z1haze2 - my advice would be to try to save it as ascii [00:39] worst that can happen is you have to retype it [00:39] well I filter joins, parts, quits, and nicks so I can't see all that. [00:39] yea im gonna do that now i guess === Azelphur_ is now known as Azelphur === taimpson is now known as tsimpson [00:41] z1haze2: also you may want preserve as a tar option in your script. [00:42] z1haze2: like --preserve-permissions since youdon't appear to be using -p [00:42] ok what now, how do i preserve the same permissions [00:42] z1haze2 - you'll also want a -- [00:42] with create etc [00:42] and gzip and filename? [00:42] yeah [00:43] because those are the long ways of saying -czf [00:43] z1haze2: your --create --blah could be -czpf instead [00:43] alright [00:43] z1haze2: those are just the long way... [00:43] sorry, I just cracked open my manual now, didn't see you were using one - instead of two :P [00:43] i see [00:44] z1haze2: if you man tar you could see all the options if your curious later [00:44] ok i have it almost ready [00:44] except the -f [00:44] is that for filename? [00:44] yeah [00:44] how would i write it? [00:44] -czpf=$DESTDIR$FILENAME $SRCDIR [00:44] ? [00:44] -czpf filename [00:45] no = [00:45] oh ok [00:45] it will just know [00:45] tar is quite old... it knows what comes after is the filename [00:45] much like bash [00:45] i ran it as a test [00:45] and got tar: Removing leading `/' from member names [00:46] don't worry [00:46] that should be okay [00:46] you might want to echo the variables out [00:46] to see what it's removing from where [00:46] ok it worked i got what i needed [00:46] now the automate it every hour WHEN the server is running the process [00:46] and i really have no idea how to do that [00:46] i did get the crontab thing tho [00:48] histo: i ran 0 * * * * sudo /home/z1haze/7dtdPVEbackups.sh in the crontab [00:48] but that do it hourly right? [00:48] z1haze2 - don't know if histo will have d/ced [00:48] but yeah [00:48] that will work [00:48] however [00:48] you'll want to su to root [00:48] and add it to root's crontab [00:49] rather than your own [00:49] i did [00:49] oh wait [00:49] you don't technically need sudo then [00:49] there is not root [00:49] i have root disabled [00:49] you should be able to run "sudo -i" [00:49] which should give you a root prompt [00:49] oh ok [00:49] so enter that enter roots contrab? [00:50] yeah [00:50] the reason for that [00:50] is sudo asks for your password [00:50] and obviously you won't be around to enter it ;) [00:50] oh dur i didnt think that [00:50] weird [00:50] i just checked the roots crontab [00:50] and thats what i was already using [00:50] maybe cause i did sudo crontab -e? [00:50] ah yeah, that would make sense [00:51] just drop sudo from the command in crontab then [00:51] how do i get back to my name? just su myname? [00:51] "exit" [00:51] cool [00:51] ok i dunno if u were around for the earlier discussion, this whole idea is for backing up region files for a game [00:52] but the gasme is still in alpha so there are like no server commands or any sort of administration system [00:52] my hope is to just make these backups, then if someone gets their base broken into i can find the time and just roll back the region files for that area [00:52] I don't think I will have been... and yeah, that should work [00:52] but theres complications now [00:53] 1, this crontab will run regardless whether the server is online or not.. which is gonna just waste space [00:53] secondly, is there away to only backup new and files modified like after the last backup [00:53] if that makes any sense [00:54] like say only region 2.1 file was modified since the last backup, we dont need to backup all 100 files, we just need to backup that 1 [00:54] hm... for 2, I'd look into rsync [00:55] so you'd rsync the files from [here] to [there] then tar them up [there] (or not tar them up... entirely depends how big they are) [00:55] for 1... how do you mean "online"? [00:56] well its a gameserver, so the process isnt always online [00:56] sometimes i take it down for maint, or just if i want to lave it down for the weekend to promote something else, [00:56] well... is there any way you can add a check into the script? [00:56] thats what i was kinda asking u, i didnt know if there was a way to add a logic statement to check processes [00:57] not sure about processes in bash scripts... [00:57] like if (process=running){do backup}else{do nothing [00:57] but you could create a file [00:57] when the script is running [00:58] ah! [00:58] I've found something nice [00:58] yay [00:58] http://pastebin.com/yPG98Tq3 [00:59] hmm what is this for [00:59] of course it all depends on what your service is called... if it's a web game, you might put it into maint mode but Apache might still be running [01:00] i have a script that will check the status [01:00] can you pastebin that script? [01:01] sur 1 sec [01:01] Monotoko: you'd have to pass the service as an argument [01:01] ps with grep would probably be better [01:02] z1haze2: how do you launch the game server? [01:02] how do i select all in putty [01:02] with a shell script [01:02] z1haze2 - just run your mouse over it [01:02] z1haze2: what server is it? [01:02] 7days to die [01:02] ... woah de-ja-vu [01:02] http://paste.ubuntu.com/7719036/ [01:02] z1haze2: what does the script call when it runs? [01:03] ^ shell script [01:03] prolly need common too [01:03] 1 sec [01:04] z1haze2: yeah [01:04] paste common.h [01:04] ok this script is more than i can select in 1 window [01:04] is there a way to select all text even when its out of site [01:04] z1haze2, two secs [01:04] sight* [01:04] let me get you something [01:04] I've been using this for a while [01:04] sudo apt-get install pastebinit && pastebinit /usr/local/lib/7dtd/common.sh [01:04] i have pastebinit [01:04] didnt even think of it [01:05] does that still work> [01:05] it didn't last time I tried it [01:05] :( [01:05] http://paste.ubuntu.com/7719045/ [01:05] yea i use it sometimes [01:07] Monotoko: that's silly with sed why not just grep [01:07] histo, what's that sorry? [01:08] z1haze2: even that script checks the pid to see if its there. [01:09] isnt that what its supposed to do [01:10] ps -a | grep 7dtd compare the output of that if it's null then the server isn't running. [01:11] how can i do that though [01:11] i only know like some simple java [01:11] and from what i see syntax isnt close to the same [01:12] z1haze2 - two secs [01:12] http://pastebin.com/MuU9uUzz [01:13] so do i put that in my backupscript? [01:13] z1haze2 - kind of [01:13] you want your backup bits to go between line 6 and line 8 [01:14] basically so it only runs them when the server is running [01:14] replace running? [01:14] yeah [01:14] and change line 5 to exit [01:14] gotcha [01:14] histo, look at me, I used grep ;) [01:18] http://pastebin.com/LM1L5hRm like this? [01:19] z1haze2 - looks good to me [01:19] might want to test it somewhere [01:19] yea ill test it [01:19] but u know what this wont work [01:19] there are instances of the server [01:19] like server1, server2 [01:20] hrm.. that won't work [01:20] can u see anything in the common.sh that would show how to find a specific instance [01:20] ah... then yeah, they would all have to be down [01:21] neither variant works with sed or grep there is something wrong with the test [01:24] how about simplifying [01:25] if ps -a | grep -v grep | grep 7dtd > /dev/null; then bbackup commands; else exit; fi [01:26] 1 sec have to reboot the machine [01:27] kk [01:27] the nget the other game servers back going should only be a min === RoyK^ is now known as RoyK [01:31] your going to ge tteh time wiht colons in your filename using that [01:34] ok back [01:35] z1haze2: http://pastebin.com/0R65xEUN [01:36] z1haze2: now you just have to add a part about seeing how many backups are there and deleting old ones [01:36] yep haha [01:36] well [01:36] minus the checking for the instance thing [01:36] cause im gonna make backsup shell scripts for each instnace [01:36] and add it to crontab [01:37] 7dtdPVEbackups.sh: line 4: unexpected EOF while looking for matching `)' [01:37] 7dtdPVEbackups.sh: line 11: syntax error: unexpected end of file [01:37] z1haze2: you could if ls $DESTDIR | wc -l is greater than some number rm a few [01:38] So, i've gotten my little preseeded install usb stick working, but when i run the full-upgrade at the end, i'd like to save the debs downloaded (/target/var/cache/apt/archives/) Is there a good way to do this? I'd like to put them into the /pool tree on the usb stick -- When are they deleted even? [01:38] histo that paste didnt work [01:38] http://pastebin.com/GezaN84J [01:39] z1haze2: which script are you running? [01:39] the last one u just posted [01:39] z1haze2: hold on let me look for typo [01:43] histo i just thought of a way to isolate the instances [01:44] is there a way to isoloate the directory the grep is searching for the 7dtd pid? [01:44] because i just noticed that when you start the server for a specific instance it puts a 7dtd.pid file in the /instances/ directory [01:45] z1haze2: pastebin your script [01:46] http://paste.ubuntu.com/7719170/ [01:47] z1haze2: ahh error is on line 4 forgot the ) [01:47] cacti installed with ease on my 14.04 workstation, the apache alias did not get installed on my 12.04 server, can I just copy the conf-availalbe/cacti.conf file [01:47] z1haze2: $(date............').tgz [01:48] z1haze2: that part [01:48] oh isee [01:48] so anyways back to my latest discovery [01:48] is there a way to search for 7dtd.pid in a specific directory for this script we have made [01:48] because it generates that pid file when the server is up [01:49] and its gone when its down [01:49] z1haze2: http://paste.ubuntu.com/7719172/ [01:50] i fixed that part did u chane anything else? [01:50] z1haze2: yeah got rid of the ; and moved them down a line just for sanity [01:51] s/them/then/ [01:52] z1haze2: you'd have to see where the common.h stores the pid's [01:52] z1haze2: I can't remember [01:52] haha umessed up the ') again [01:52] i know where it stores them [01:52] in the isntance folder of that instance [01:52] so for like instance pvp it will be in /instances/pvp/7dtd.pid [01:53] no I didn't [01:53] Oh yeah i did [01:54] lol [01:54] hmm [01:54] its not working [01:54] the check thing [01:54] the syntax isfine [01:54] but it just backing up when its online [01:54] z1haze2: well the grep check see's if there is a process running with the name 7dtd [01:55] z1haze2: I thought you wanted to backup when it was running and not when it is off [01:55] lets search for file 7dtd.pid in/home/sdtd/instances/TGC-PVE [01:55] k [01:55] because that file is only there when the server is online [01:55] yes ur are correct backup while its running, do nothing if offline [01:56] z1haze2: if [ -f /path/to/somefile ] then blah blah else blah blah fi [01:57] literally like that? if [ -f /home/sdtd/instances/TGC-PVP/7dtd.pid ] ? [01:57] whre the logical statement in that [01:58] z1haze2: yeah if file blah blah exists [01:58] whats makes it say if exists though [01:58] z1haze2: -f is to check if the file is there. [01:58] oh [01:58] if the file isn't it will elese [01:58] else [01:59] z1haze2: to keep with your variable theme you could add a INSTANCE at the top for the path [01:59] ah yea [01:59] it's up to you though. [01:59] no its good thinkin, cleaner [02:00] and in linux we use [ ] for logical statements? [02:01] z1haze2: bash not linux [02:01] http://paste.ubuntu.com/7719227/ whatcha think [02:02] z1haze2: looks good if it's running it will backup else exit [02:02] ok yep it just backed up once let me turn it off and see [02:03] z1haze2: [] is a test in bash [02:03] oh ok [02:04] great it worked [02:04] i think im gonna change it to like 6 hours [02:04] how would i do that with the 0 * * * * thing [02:05] like 0 6 * * * /home/z1haze/7dtdPVEbackups.sh ? [02:06] 0 */6 * * * [02:06] or 0 0,6,12,18 * * * [02:06] either way [02:06] 0 */6 * * * /home/z1haze/7dtdPVEbackups.sh [02:06] z1haze2: yeah looks good, it will email you output also [02:07] now i wont have to worry quite so much about filling up my drive [02:07] how do iset the email though? ive never set it [02:07] z1haze2: do you have a mail server running on this box? [02:07] nope [02:07] :) [02:07] then it won't email you. [02:07] haha [02:07] mailservers are a pain [02:07] every time ive ever made one it always sends to junk mail [02:07] so i just use mailgun [02:08] well, mailservers are a lot of work [02:08] well you only need a sending server so something like ssmtp would do the trick. then you just add a MAILTO=whomever@example.com in your crontab [02:08] yea im not that talented to do all that [02:08] unless you have preconfigured examples and done it several times [02:08] expect it to take a week [02:08] im somewhat ok at doing websites but thats where it ends [02:09] do you play any games [02:09] You don't need a full blown mailserver. I'd use something like ssmtp or esmtp or one of the other ones [02:09] i dont know what those are, is it something easy to do [02:09] !nullmailer [02:09] stupid bot [02:09] haha [02:09] .nullmailer [02:10] some bots are ! and some are . right? [02:10] z1haze2: yeah it's just a text file to configure with those and you can have them use a gmail address to send out mail [02:10] it doesn't have an entry for it is the issue [02:16] well thank you so much for your help [02:17] i achieved my goal this evening thanks to you [02:17] z1haze: np and no I don't play any games [02:17] now i just have to create a new script for the other instances, iull jhust cp it [02:17] z1haze: well you learned a lot also [02:17] i did [02:17] i could definitely do this now [02:17] but its just all so new to me [02:19] how histo [02:20] hey* [02:20] i know it all works good as of now; but i kinda wanna perfect is [02:21] i want to keep a weeks worth of backups [02:21] so 28 files, how could we make it delete backups starting with the oldest once we hit 28 [02:49] where can i read what sh -c means in a bash script [02:50] z1haze: let me think about the easiest way to do that. [02:50] well histo i figured out the backup deletion [02:51] well i had help but i put the pieces together [02:51] z1haze: ahh cool what are you using? [02:51] wc -l ? [02:51] sh -c "cd $DESTDIR && ls -t | tail -n +29 | xargs rm" [02:51] ahh very nice [02:51] can you explain it to me haha [02:52] z1haze: well you can change teh beginning to ls -t $DESTDIR | tail -n +29 .... [02:52] i tried that [02:52] it wasnt able to delete the files [02:52] z1haze: how were you trying it? It should work [02:52] rm: cannot remove `backup-2014-06-28-220402.tgz': No such file or directory [02:52] it wasnt in the directory [02:53] so the shell wasnt in the right place [02:53] the code that some guy gave me worked [02:53] i just didnt really understand it [02:53] he says it opens a new shell and runs that command, but it doesnt effect anything else after that [02:53] z1haze: I don't see why the sh is necessary let me try a test real quick [02:54] ok [02:54] we have to get the shell into the right directory before it exectutes rm [02:56] oh yeah you need the full path from ls [02:56] that's why [02:56] so is this way ok? or would u change it [02:57] it will work the way it is, i'm just trying to think of a different way to explain it to you. [03:04] you could ls -d -t $PWD/* but that will confuse you more [03:11] heh [03:11] well i know pwd is current directory [03:11] z1haze: so basically the way you have it now you are running cd and ls -t in a shell. Then you are piping the output to tail to get the last entries and piping that to xargs to rm the ones above 29 [03:12] right [03:12] i get the concept kinda [03:13] what are all the xargs for [03:13] xargs just passes what you give it to the specified command [03:13] so it's taking the output of the tail and passing it to rm [03:14] z1haze: So the reason you got the error before is because originally your ls -t was only happening in the directory where they script was run. That's why it needed the cd [03:14] right [03:16] z1haze: to get it without the sh you'd have to use a function [03:16] z1haze: after each command the subshell exits in bash script. [03:17] im gonna stick with it haha [03:18] actually you could just cd $BACKDIR && ls -t ..... should work without the sh [03:19] but with the sh is more appropriate then when that line is done it goes back tot eh directory that the script was run from. [03:19] glad you got it all working though [03:43] what is with freenode tonight [03:46] Hi, question: fsck is set to run once every 6 months on our server. It last ran last December, and I would swear before we updated to 14.04 that it was scheduled for June this year. But I just checked it, and it is set for July 14, and what's more, it says the last check was run in January of /this/ year. What gives? [03:54] your clock was set wrong [03:54] or your have a bad memory [03:55] there was never a reason why it would have run? [03:56] like the machine crashed or was powered down uncleanly? [04:06] No_one_at_all: how are you scheduling it? [04:06] histo: i'm not, it's doing it automatically [04:06] No_one_at_all I would guess a clock localization setting [04:06] No_one_at_all: then how is it "set to run every 6 months" ? [04:07] histo, filesystem default [04:07] ahh [04:07] you have never used ext[234]? [04:07] on reboot you mean? [04:07] no, on boot [04:08] yeah [04:08] I was going to say fs has to be un mounted [04:08] no [04:08] o'rly? [04:08] it's always done the checks with it mounted read-only [04:09] Why would it mount ro to fsck? [04:09] on boot? [04:09] so you can boot? [04:09] it's not mounted ro to boot [04:09] yes it is [04:09] it's mounted read only, then fsck starts, and when it finishes it remounts rw [04:14] Why would it do that? [04:16] how does it know what filesystems it needs to check? if it can't read /etc/fstab? [04:16] but beyond that not sure [04:16] it was long long ago, it was changed from premount, to reonly mount [04:16] long before ubuntu was started it was done that way [04:16] silliness [05:00] Well, I have no idea what caused this, but I forced an fsck anyway since we were expecting the downtime, and i guess all's well that ends well. [05:00] >_< [05:01] date's right === qu|x_ is now known as qu|x [06:00] No_one_at_all: you can check with tune2fs when the next one is scheduled [06:01] No_one_at_all: it probably fsck'd because of mount count [06:13] histo: yeah, I'm aware of how to check for it (now), after the debacle we had last June [06:14] and it fsck'd because of the date, not number of mounts/unmounts. This thing gets rebooted once every month and a half [06:14] if that === Ursinha-afk is now known as Ursinha === Guest78561 is now known as G4MBY === Lcawte|Away is now known as Lcawte [09:21] Good morning. [09:26] o/ [09:27] Hey ophkilter, how are you? [09:28] rebooting [09:28] one sec [09:28] i'm good === cmagina_ is now known as cmagina === Adri2000_ is now known as Guest40026 === Guest40026 is now known as Adri2000 === G4MBY is now known as Guest44965 === Guest44965 is now known as G4MBY === Lcawte is now known as Lcawte|Away === _KaszpiR___ is now known as _KaszpiR_ === Guest36663 is now known as hxm === Monotoko is now known as Guest67629 [15:52] clear === Guest39144 is now known as esde [15:54] Is there some bug in 14.04 server 64bit that it won't reboot? I try to use sudo reboot now and it just goes back to a prompt [16:04] hi all, please can you help me. I am at my wits end here. To setup my ubuntu machine automatica LAN and WLAN switch with ifplugd, i have tried all the configurations I can find but nothing seems to work === Lcawte|Away is now known as Lcawte [17:54] Hey all, in just installed ubuntu server with ssh and lamp and i set a static ip. I was able to access apache via the ip but then i updated the hostname in /etc/hosts and /etc/hostname and rebooted and now i am unable to access apache via ip. What did i do wrong? [17:58] Anyone? =/ [18:03] aye [18:03] DeadxBeat: Did you change your apache config? [18:04] Or only your hosts? [18:04] just my /etc/hosts and /etc/hostname [18:04] Pastebin please? [18:04] only thing i added to /etc/hosts was xx.xx.xx.xx mydomain.com mydomain and to /etc/hostname is just mydomain [18:07] I took a look around the apache configs but i can't find anything that has to do with the hostname [18:08] DeadxBeat: did you leave localhost intact? [18:08] yes [18:09] DeadxBeat: and xx.xx.xx.xx is a valid IP address? [18:10] Yes, its the static ip i've assigned in /etc/network/interfaces [18:10] i can ping the machine via the ip address and it has internet access [18:11] Its not on my local network because its a static ip assigned by the ISP [18:15] is it necessary for my hostname to match my domain name? [18:48] Hi I am trying to automate installation of trusty using preseeding. My system can boots in UEFI mode, the iso image which I make does not take the preseed value if I boot in UEFI mode. What am I missing? thx === meccooll1 is now known as meccooll === darmok_ is now known as darmok === Kihokki_ is now known as Kihokki === _TJ_ is now known as TJ- === jml_ is now known as jml === not_phunyguy is now known as phunyguy === kInOzAwA_ is now known as kInOzAwA === Den_Beiren is now known as DenBeiren === G4MBY is now known as Guest35489 === Guest35489 is now known as G4MBY === pjdc_ is now known as pjdc === bitbyte__ is now known as bitbyte === chaos___________ is now known as 77CAAMSC9 [21:55] does any one know if on ubuntu server the encrypted LVM is mounted over LUKS ? [22:01] by the way my version is Ubuntu 14.04 LTS (GNU/Linux 3.13.0-29-generic x86_64) [22:02] bitbyte: how do you mean by 'over'? As in, raw device --> LUKS --> LVM ? [22:03] well im currently trying to figure out how the bootloaer is mounting my encrypted LVM and wheter it uses LUKS [22:04] bitbyte: Standard install always uses LUKS [22:04] im basically trying to put a key file on my boot partion so I can tell LUKS that the keyfile is on boot so i can reboot my server remotely without needing to be infront of it. [22:06] bitbyte: that's kind of insecure, storing the key in /boot/ - may as well not encrypt [22:06] bitbyte: have you thought about remote ssh key provision? [22:07] it’s a home server to be fair, but im working remotely for next few months so trying to make it so can perform reboots when needed [22:07] How about: http://www.debian-administration.org/article/579/Unlocking_a_LUKS_encrypted_root_partition_via_ssh [22:07] not herd of ssh key provision but im doing this from external of the network [22:08] im currently following this http://askubuntu.com/questions/59487/how-to-configure-lvm-luks-to-autodecrypt-partition [22:08] You can reverse the concept and have the server contact the key server, of course [23:22] Hey guys whats an easy way to get drivers for ubuntu server my ethernet card says it isn't managed and it gets to the internet but I can't set it static [23:23] Kawaiola: It sounds like you're confusing concepts. What reports the ethernet card is not managed? [23:26] TJ-, Well I installed the user interface to my server and the top right corner where the connections mananger is says that and it won't let me click them [23:26] Ahhhh... I thought as much :) "unmanaged" simply means that Network Manager isn't managing the connection, and that is likely because it's configuration is in "/etc/network/interfaces" [23:28] TJ-, Ahh so I will have to set the server static command line anyways is what you are saying haha