=== WinstonSmith_ is now known as WinstonSmith | ||
quentusrex_ | Anyone know how to create a cd that will boot and auto start ssh server? | 02:07 |
---|---|---|
quentusrex_ | I have a headless server that I need to boot without a keyboard or monitor, that would allow me to ssh into it once it has started. | 02:07 |
Smaug | hey all i can't seem to get exim4 to work | 02:42 |
Smaug | i configured it as per https://help.ubuntu.com/8.04/serverguide/C/exim4.html | 02:42 |
Smaug | and then i typed | 02:42 |
Smaug | > /usr/sbin/exim -i address@domain.tld | 02:43 |
Smaug | > message | 02:43 |
Smaug | > CTRL+D | 02:43 |
Smaug | as i was instructed to in the man page | 02:43 |
Smaug | and nothing occurs | 02:43 |
Smaug | or at least no email sent | 02:43 |
Smaug | any help people can offer? | 02:43 |
Smaug | (exim4 is a sendmail replacement) | 02:43 |
Turl | is there any ubuntu sysadmin (from canonical) in here? | 03:22 |
The_Tick | doubt it | 03:22 |
patdk-wk | isn't that what the payed support option is for? | 03:24 |
Turl | patdk-wk: I don't need support | 03:25 |
Turl | I just want to tell them popcon.ubuntu.com is broken | 03:25 |
SpamapS | Turl: working fine for me | 03:30 |
Turl | SpamapS: yeah, the website is up&running, but it's been like 10 days without refreshing its information | 03:33 |
Smaug | i have trouble beleiving no one ehre knows aobut exim | 03:33 |
Smaug | come on | 03:33 |
patdk-wk | only sendmail and postfix | 03:33 |
Smaug | but ubuntu *comes with* exim | 03:33 |
Smaug | for me | 03:33 |
Smaug | and not sendmail | 03:33 |
patdk-wk | comes with postfix by default | 03:34 |
Smaug | mine doesn't | 03:34 |
Smaug | or at least doesn't have a man for postfix | 03:34 |
Smaug | 8.04 | 03:34 |
patdk-wk | probably cause you didn't install postfix :) | 03:34 |
Smaug | ok so I should install postfix and come back | 03:35 |
Smaug | is what you are advising? | 03:35 |
The_Tick | umm | 03:35 |
The_Tick | there's a channel | 03:35 |
patdk-wk | nope :) | 03:35 |
The_Tick | called #exim | 03:35 |
SpamapS | Turl: right.. most of canonical is on holiday this week so it will most likely get looked at on Monday. | 03:35 |
patdk-wk | I'm saying I can't help you with exim :) | 03:35 |
The_Tick | patdk-wk: zomg | 03:35 |
patdk-wk | cause I dunno exim at all | 03:35 |
Smaug | The_Tick: it is dead. i came here b/c i thought it was a standard enough sort of program | 03:35 |
The_Tick | Smaug: most people don't use exim | 03:36 |
Smaug | patdk-wk: fair enough | 03:36 |
The_Tick | except for spammers | 03:36 |
Smaug | The_Tick: huh | 03:36 |
Smaug | it came with my ubuntu | 03:36 |
Smaug | why | 03:36 |
The_Tick | so what? | 03:36 |
Smaug | would this occur | 03:36 |
The_Tick | apt is so hard to use | 03:36 |
Smaug | i thought i might as well use it | 03:36 |
The_Tick | people couldn't possible install the mta they want | 03:36 |
The_Tick | well then maybe you should ask your question | 03:36 |
Smaug | :) | 03:36 |
Smaug | okay okay | 03:36 |
The_Tick | and if anyone knows | 03:37 |
The_Tick | they'll speak up | 03:37 |
The_Tick | otherwise don't berate the channel | 03:37 |
Turl | SpamapS: right, I just emailed some ubuntu/canonical guys so I guess this will be looked at someday | 03:37 |
Smaug | The_Tick: i apologize to all for my berations | 03:37 |
Smaug | you are all my friends | 03:37 |
Smaug | The_Tick: (already asked my question an hour ago) | 03:37 |
Smaug | anyway | 03:37 |
Smaug | what about | 03:38 |
Smaug | "What MTA should I use?" | 03:38 |
Smaug | i don't want anything fancy | 03:38 |
Smaug | standard | 03:38 |
Smaug | simple | 03:38 |
Smaug | easy | 03:38 |
Smaug | works | 03:38 |
Smaug | since exim seems to be a dead end support wise | 03:38 |
Smaug | this 2nd question of mine is an easy one to answer | 03:39 |
The_Tick | you're asking people the week between christmas and new years | 03:40 |
The_Tick | and expect an irc channel to be alive | 03:40 |
The_Tick | you're hilarious | 03:40 |
The_Tick | you should use the mta you are most comfortable with | 03:40 |
Smaug | The_Tick: oh right | 03:40 |
Smaug | The_Tick: never used an mta before | 03:40 |
The_Tick | well then have you read any documentation? | 03:41 |
* Smaug does not celebrate christmas and has no plans for new years. no hatin | 03:41 | |
The_Tick | most people do | 03:41 |
The_Tick | I'm just at work because I ran out of vacation | 03:41 |
Smaug | i know. the former is my choice but the latter is just bad luck. :( | 03:42 |
Smaug | anywayz. thanks for you being here. | 03:42 |
Smaug | The_Tick: i have. I read instructions on how to | 03:42 |
The_Tick | read any man pages? | 03:42 |
Smaug | set up and configure exim, and the exim man page | 03:42 |
The_Tick | ok, good | 03:42 |
The_Tick | any errors? | 03:42 |
Smaug | nope. no errors | 03:42 |
Smaug | just doesn't send mail. :) | 03:42 |
The_Tick | ok, then you have it wrong most likely | 03:42 |
The_Tick | see if it's listening | 03:42 |
The_Tick | if not, that's a good indication of the first problem | 03:42 |
Smaug | how should I check that? | 03:43 |
The_Tick | netstat :) | 03:44 |
The_Tick | you'll need some switches | 03:44 |
The_Tick | man netstat to find out which ones | 03:44 |
The_Tick | but it's likely netstat -na | 03:44 |
The_Tick | then you could grep for the right port | 03:45 |
=== root is now known as Guest71713 | ||
=== Guest71713 is now known as computerwiz_222 | ||
The_Tick | you aren't a computerwiz if you're ircing as root :P | 03:47 |
Smaug | so, exim is not listening (at least nothing called "exim" is listening that I can see. i do have a saslauthd listening | 03:47 |
computerwiz_222 | lol | 03:47 |
computerwiz_222 | that is my problem :P | 03:47 |
Smaug | cia.com? | 03:47 |
computerwiz_222 | oh yes | 03:47 |
The_Tick | Smaug: and not cia.gov | 03:47 |
computerwiz_222 | lol | 03:47 |
patdk-wk | the_tick, and you aren't a scriptkiddie if you haven't hacked his root irc yet :) | 03:47 |
computerwiz_222 | alright.. i need some help actually | 03:48 |
The_Tick | patdk-wk: ya, I'd be someone who isn't interested | 03:48 |
computerwiz_222 | i am running 10.04 ubuntu server | 03:48 |
The_Tick | that's your first problem | 03:48 |
The_Tick | install windows 2000 advanced edition | 03:48 |
computerwiz_222 | i've been running it for about 2 years.. and i know that irssi as root is a bad idea lol | 03:48 |
computerwiz_222 | but.. i'm stuck here | 03:48 |
Smaug | how can you have been running 10.04 for 2 years | 03:48 |
The_Tick | some hosting company? | 03:48 |
computerwiz_222 | we.. | 03:48 |
computerwiz_222 | ubuntu server in general | 03:49 |
The_Tick | Smaug: you can update the os | 03:49 |
computerwiz_222 | i like to keep current, you know | 03:49 |
computerwiz_222 | anyway | 03:49 |
computerwiz_222 | so.. i had one of my 1.5TB hard drives die on me today in my RAID array | 03:49 |
Smaug | The_Tick: indeed. also, responded to your inquiry about the netstat | 03:49 |
The_Tick | Smaug: I'm not going to hand hold you here | 03:49 |
The_Tick | Smaug: you need to learn the ropes | 03:50 |
Smaug | can you point me towards some links at least? | 03:50 |
The_Tick | anything I point you to would be something I found on googl | 03:50 |
The_Tick | 03:50 | |
computerwiz_222 | i had to rewrite my fstab file because it had became corrupted for some reason | 03:50 |
computerwiz_222 | so i rewrote it, it works fine, but everytime i reboot it's corrupted | 03:50 |
computerwiz_222 | any ideas? | 03:50 |
computerwiz_222 | like.. mount -a is fine, no errors | 03:50 |
Smaug | alright then tell me what I should search for at least. when this problem comes up, what sort of things should be thinking about? what do I need to learn? | 03:50 |
Smaug | i know to check out error logs if a program has them | 03:51 |
Smaug | i appreciate the time you've spent so far The_Tick | 03:51 |
Delerium_ | Smaug: First, do you understand how MTA / mails works? | 03:52 |
computerwiz_222 | does anyone have any ideas? My problem boils down to this.. everytime I restart, my fstab becomes corrupted | 03:52 |
The_Tick | computerwiz_222: I've heard of this on clusters, can't remember what the problem is | 03:53 |
computerwiz_222 | The_Tick: I've been fighting with it for a while, and google is not much help on the issue | 03:53 |
The_Tick | ya, I remember those things | 03:54 |
The_Tick | I worked at a startup and we had this problem | 03:54 |
The_Tick | but the ceo fixed it | 03:54 |
The_Tick | it was somethinga bout a version of cluster software | 03:54 |
The_Tick | and some other crap | 03:54 |
computerwiz_222 | hmm... | 03:54 |
The_Tick | sorry, I'm not being very helpful | 03:54 |
The_Tick | it's been about 2 years | 03:54 |
computerwiz_222 | oh no, i appreciate anything you can say about the issue | 03:54 |
The_Tick | may not even be the same thing | 03:55 |
The_Tick | but I remember fstab getting corrupted | 03:55 |
The_Tick | mount working | 03:55 |
The_Tick | and it being a software raid | 03:55 |
The_Tick | ya, that's all I remember | 03:55 |
Smaug | Delerium_: only at the most basic level | 03:55 |
Smaug | i'm only trying to send mail | 03:55 |
The_Tick | you don't need an mta to do that | 03:56 |
computerwiz_222 | this is a pretty stock 10.04 server, with 4 hard drives (2 mirrored copies) | 03:56 |
The_Tick | you just need an mua | 03:56 |
computerwiz_222 | anyway.. i better go, i cringe running everything as root | 03:56 |
The_Tick | lol | 03:56 |
computerwiz_222 | it goes against the fibre of my being :P | 03:56 |
computerwiz_222 | cya | 03:56 |
The_Tick | computerwiz_222: errors? | 03:56 |
computerwiz_222 | errors | 03:56 |
The_Tick | in dmesg or anything | 03:56 |
The_Tick | before you go | 03:56 |
computerwiz_222 | hmm | 03:56 |
Smaug | The_Tick: ty | 03:56 |
The_Tick | that's where I'd start | 03:56 |
computerwiz_222 | alright | 03:57 |
Smaug | The_Tick: that is helpful advice | 03:57 |
computerwiz_222 | i'll check it out | 03:57 |
The_Tick | Smaug: dmesg was for computerwiz_222 | 03:57 |
computerwiz_222 | thanks, i'm sure i'll be back, and running irssi in screen next time | 03:57 |
computerwiz_222 | cya | 03:57 |
The_Tick | lol | 03:57 |
The_Tick | later | 03:57 |
Delerium_ | Smaug: if you only want to send mail, I guess you can use your ISP provider SMTP as the relay | 04:01 |
Smaug | ok | 04:02 |
Delerium_ | Never used exim but check this: https://wiki.archlinux.org/index.php/Exim_with_a_remote_SMTP_server | 04:03 |
The_Tick | the problem is the isp probably knows more | 04:03 |
The_Tick | and doesn't allow relay | 04:04 |
Delerium_ | Depend of ISP I guess... mine work just fine | 04:04 |
Delerium_ | I use it to send mail from my home server | 04:04 |
computerwiz_222 | The_Tick: Hey, so I solved my problem -- I had been using "defaults" for the options for mounting my data partition *headbash* | 04:15 |
The_Tick | haha | 04:15 |
The_Tick | what I said got you thinking? | 04:15 |
computerwiz_222 | The_Tick: yeah, tbh.. sometimes i just need the moral support that #ubuntu-server gives haha | 04:16 |
The_Tick | ya man | 04:16 |
The_Tick | half the time you stare at it too long | 04:16 |
computerwiz_222 | getting frustrated at annoying fstab issues will cause me to do stupid things like run irssi as root | 04:16 |
computerwiz_222 | exactlyu | 04:16 |
The_Tick | and then someone says something, not even related | 04:16 |
computerwiz_222 | pretty much lol | 04:17 |
The_Tick | seen the tv show house? | 04:17 |
computerwiz_222 | yeah, but i'm not a religious watcher or anything | 04:17 |
The_Tick | you know the moment when someone says something stupid | 04:18 |
The_Tick | then he gets a look in his eye | 04:18 |
The_Tick | and dashes off? | 04:18 |
The_Tick | that's that moment :D | 04:18 |
computerwiz_222 | lol yep | 04:18 |
computerwiz_222 | it's frustrating.. this past fall, I designed a point-of-sale system for a company I work for, entirely based on Ubuntu | 04:18 |
computerwiz_222 | when something like this happens, it makes me want to toss my home server out onto the street because I *should* know how to fix it :P | 04:19 |
computerwiz_222 | anyway, just thought you might like to know the solution.. pretty simple | 04:19 |
The_Tick | yea | 04:19 |
The_Tick | not bad | 04:19 |
The_Tick | makes me think that there is a need for a "proper configuration scanner" utility | 04:20 |
computerwiz_222 | python scripts anyone? lol | 04:20 |
The_Tick | that scans for all hardware and then the software configurations and generates a report | 04:20 |
computerwiz_222 | oh that would be a deadly script :P | 04:20 |
The_Tick | yea | 04:20 |
computerwiz_222 | anyway, i can finally try streaming to my new android tablet | 04:21 |
The_Tick | oh crap | 04:21 |
The_Tick | I get off work at midnight | 04:21 |
computerwiz_222 | the server has been off for about 2 days out of sheer holiday laziness | 04:21 |
The_Tick | fuck | 04:21 |
computerwiz_222 | thanks for your help, ttyl | 04:21 |
dschuett | what does everyone use for a packet sniffer on ubuntu server? | 04:39 |
sabgenton | tcpdump | 04:40 |
sabgenton | tcpdump -i eth0 | 04:40 |
sabgenton | eg | 04:40 |
The_Tick | dschuett: wireshark is likely the defacto gui | 04:41 |
sabgenton | tcpdump alone will run the default nick | 04:41 |
sabgenton | yes wire shark if you have grafics | 04:41 |
sabgenton | which ubuntu-server doesn't have by default | 04:42 |
sabgenton | I have a wlan0 nic and an eth0 nic | 04:43 |
sabgenton | I'm trying to make wlan0 my wan and nat eth0 to it | 04:43 |
sabgenton | it doesn't work for ages and then just starts working | 04:43 |
sabgenton | restarting the computer start the proccess all over again | 04:44 |
StrangeCharm | i'm trying to ssh to a machine whose key has changed. how can i override ssh's complain and connect to the machine anyway, saving the new key? | 04:44 |
sabgenton | its very weird I feel something is wrong with the distro to do this | 04:44 |
qman__ | StrangeCharm, remove the offending key from your ~/.ssh/known_hosts | 04:44 |
sabgenton | or the ath5k driver | 04:45 |
qman__ | it tells you which line the key is on in the error | 04:45 |
sabgenton | kernell updates haven't fixed this for me | 04:45 |
StrangeCharm | qman__, there isn't a command line instruction for 'ignore this' ? | 04:45 |
qman__ | not that I'm aware of | 04:45 |
dschuett | sabgenton: tcpdump works fine, but what i am noticing is that it is getting flooded with ssh packets since i am shh into the server that i am running tcpdump on. Like it literally floods the screen with packets??? | 04:48 |
sabgenton | you can grep out the ssh stuff | 04:49 |
sabgenton | but you have to use -l | 04:49 |
sabgenton | it turns off tcpdumps buffering | 04:49 |
sabgenton | buffering stuffs up pipes | 04:49 |
qman__ | don't use grep | 04:49 |
sabgenton | it's a pain in bash | 04:49 |
qman__ | use tcpdump's built in filtering | 04:49 |
sabgenton | qman__: -l | 04:50 |
sabgenton | turns it off | 04:50 |
sabgenton | well buffering anyway | 04:50 |
qman__ | not needed | 04:50 |
qman__ | tcpdump has a built in filtering system designed at choosing the packets you want to see | 04:50 |
sabgenton | oh | 04:50 |
qman__ | based on ip, interface, port, etc | 04:50 |
sabgenton | qman__: example | 04:50 |
sabgenton | ssh | 04:50 |
sabgenton | port 22 | 04:50 |
sabgenton | ? | 04:51 |
qman__ | tcpdump -i eth0 port ! 22 | 04:51 |
qman__ | would filter out ssh traffic | 04:51 |
sabgenton | cool | 04:51 |
StrangeCharm | qman__, is there a command for 'remove line number # from this text file' ? | 04:51 |
qman__ | http://danielmiessler.com/study/tcpdump/ | 04:51 |
sabgenton | I did like tcpdump -li eth0 |grep -v 22 | 04:51 |
sabgenton | dschuett: ignore me qman__ is way cooler :) | 04:52 |
sabgenton | -e gives you some good info too | 04:52 |
sabgenton | forget what | 04:52 |
qman__ | StrangeCharm, I'm sure it's possible but I don't know off the top of my head, I just use vi | 04:53 |
dschuett | thanks guys! | 04:53 |
StrangeCharm | qman__, surely, you mean emacs | 04:54 |
qman__ | no, I mean vi | 04:54 |
qman__ | use what you know, and I know vi | 04:56 |
sabgenton | qman__: so an ip would be host ! 10.1.1.5 | 04:56 |
sabgenton | ? | 04:56 |
qman__ | sabgenton, the ! means not | 04:57 |
qman__ | so if you wanted to see all traffic except ssh, you'd use port ! 22 | 04:57 |
sabgenton | yeah would that exculed that IP I mean | 04:57 |
qman__ | but to see all traffic to a host, you'd use dst 10.1.1.5 | 04:57 |
sabgenton | qman__: to see all traffic but 10.1.1.5 would you do host ! 10.1.1.5 | 04:58 |
sabgenton | ? | 04:58 |
qman__ | I don't know if "host" works, but yet | 04:58 |
qman__ | yes* | 04:58 |
qman__ | src and dst work | 04:58 |
sabgenton | ah | 04:59 |
sabgenton | host might be both I think | 04:59 |
sabgenton | could be wrong | 04:59 |
qman__ | you can combine with && and || | 04:59 |
sabgenton | ? | 04:59 |
qman__ | criteria | 04:59 |
qman__ | the words "and" and "or" also work | 05:00 |
qman__ | dst ! 10.1.1.5 && port ! 22 | 05:00 |
StrangeCharm | qman__, i just of course to the religious wars of old | 05:00 |
sabgenton | I though bash would see port as the next command | 05:01 |
StrangeCharm | my server currently gets its ip via dhcp. how can i give it a static ip assignment which will survive a reboot? | 05:01 |
qman__ | StrangeCharm, I know all about them, and I still choose vi | 05:01 |
qman__ | I much rather its multi press control key style than modifiers | 05:01 |
StrangeCharm | qman__, it makes no difference to me which editor you use, i was just pulling your leg | 05:02 |
qman__ | sabgenton, no, that doesn't get interpreted by bash, it's all in a row as part of tcpdump's args | 05:02 |
qman__ | if you use & or | it will, though | 05:03 |
qman__ | that's why it uses the double form | 05:03 |
qman__ | StrangeCharm, configure it in /etc/network/interfaces | 05:03 |
qman__ | see man interfaces for details on how | 05:03 |
sabgenton | ok but like cd someware && echo foo | 05:03 |
sabgenton | is two differnet things | 05:03 |
sabgenton | like cd someware ; echo foo ; | 05:03 |
StrangeCharm | qman__, wonderful | 05:04 |
qman__ | sabgenton, yes, but in this case, it all gets interpreted by tcpdump | 05:04 |
qman__ | some kind of voodoo or whathaveyou | 05:04 |
sabgenton | interesting | 05:04 |
* sabgenton shakes | 05:04 | |
qman__ | I am not a programmer, so I couldn't tell you exactly what it does | 05:04 |
qman__ | but I'm sure someone can | 05:04 |
sabgenton | has any one had nat issues with the orriganal ubuntu server lts | 05:04 |
sabgenton | 10.04 | 05:05 |
qman__ | the original LTS is 6.06 | 05:05 |
sabgenton | you get wada mean | 05:05 |
sabgenton | before the point release | 05:05 |
qman__ | I upgraded my router straight to .1 | 05:06 |
qman__ | due mostly to procrastination | 05:06 |
qman__ | first thing to check | 05:06 |
sabgenton | I might try the new ubuntu just to see if my problem will fix | 05:06 |
qman__ | cat /proc/sys/net/ipv4/ip_forward | 05:06 |
qman__ | should be 1 for a router, 0 for all others | 05:07 |
sabgenton | qman u name it I checked it | 05:07 |
sabgenton | its 1 promise | 05:07 |
qman__ | and you have iptables set up to masquerade? | 05:08 |
sabgenton | nat works affter leaving the computer on for a very long time | 05:08 |
sabgenton | which is totaly werid | 05:08 |
qman__ | well, that narrows the scope of the problem slightly | 05:08 |
qman__ | do you have networkmanager in any incarnation installed? if so, remove it | 05:09 |
qman__ | it causes all sorts of bizarre issues with manual configurations | 05:09 |
StrangeCharm | qman__, how do i apply those changes? can i just put the connection down then up again? | 05:10 |
qman__ | StrangeCharm, sudo service networking restart | 05:10 |
sabgenton | qman__: is there one by default? | 05:10 |
sabgenton | other wise no | 05:10 |
qman__ | though sometimes dhclient keeps running in the background messing things up | 05:10 |
qman__ | so check to make sure it's killed off afterward | 05:10 |
StrangeCharm | qman__, well, this could be entertaining, since i'm sshing to the machine | 05:11 |
qman__ | sabgenton, not out of the box, but some packages recommend it, and ubuntu installs recommends by default | 05:11 |
sabgenton | qman__: list some? | 05:11 |
qman__ | too many to list | 05:11 |
sabgenton | I haven't installed much so dont' think so | 05:11 |
StrangeCharm | qman__, it complains that "restart: unknown instance" | 05:12 |
qman__ | best way to check is `dpkg -l | grep -i networkmanager | 05:12 |
qman__ | ` | 05:12 |
qman__ | StrangeCharm, upstart lost track of it apparently | 05:12 |
sabgenton | no results | 05:12 |
qman__ | I run into that a lot | 05:12 |
qman__ | rebooting fixes it, but that can be problematic | 05:13 |
StrangeCharm | can i just use an init.d script? | 05:13 |
sabgenton | qman__: do you think theres any chance of the wifi driver refusing netfilter wanting to nat? | 05:13 |
qman__ | sabgenton, probably not | 05:13 |
qman__ | sabgenton, more likely is that the wifi network is not reporting as up properly and activating the nat | 05:13 |
qman__ | how are you activating your nat script? | 05:14 |
sabgenton | shorewall | 05:14 |
qman__ | StrangeCharm, I don't know if network still exists in init.d | 05:14 |
qman__ | you can try it | 05:14 |
StrangeCharm | qman__, i did, to rapturous success | 05:15 |
qman__ | sabgenton, well, I don't know anything about how shorewall works, so I can't really tell you whether that's the problem or not | 05:15 |
qman__ | nothing against it, I just don't know what it does under the hood | 05:16 |
sabgenton | qman__: it just basicly types in iptable commands for you | 05:16 |
sabgenton | it doesn't really run as a dameon at all | 05:16 |
qman__ | yes, but the key here is when it runs them | 05:16 |
qman__ | boot time, if-up.d, dhclient-exit-hooks.d, or elsewhere | 05:16 |
Patrickdk | only when manually told to, or via startup script | 05:17 |
Patrickdk | unless you have shorewall-init installed then I think it will do it via if-up.d also | 05:17 |
sabgenton | iptables -L -v looks good acording to #shorewall | 05:17 |
sabgenton | ok I guess I should do some manual iptables commands | 05:17 |
Patrickdk | shorewall-init doesn't exist in ubuntu yet, so :) | 05:17 |
sabgenton | Patrickdk: what does that do:? | 05:18 |
qman__ | well, your nat needs to be flushed and re-applied each time you get a new DHCP lease in order for things to work smoothly | 05:18 |
Patrickdk | it restarts shorewall each time a nic comes online | 05:18 |
qman__ | if-up.d is the best place | 05:18 |
Patrickdk | I think | 05:18 |
sabgenton | Patrickdk: who cares I can just shorewall restart right? | 05:18 |
Patrickdk | I also think it sets a default iptables policy on boot too, basically all locked down, till everything is up, and shorewall starts | 05:19 |
Patrickdk | yep | 05:19 |
Patrickdk | assuming you don't use dhcp | 05:19 |
sabgenton | qman__: if you type shorewall clear it removes all the tables it made | 05:20 |
sabgenton | then just run shorewall start again | 05:20 |
sabgenton | puts em back new | 05:20 |
sabgenton | that will flush reaply nat | 05:20 |
Patrickdk | the rules, it won't flush nat | 05:21 |
qman__ | yes, but (if you use DHCP) it must be done every time there is a new lease | 05:21 |
Patrickdk | as in conntrack/... | 05:21 |
sabgenton | Patrickdk: shorewall clear && shorewall start | 05:21 |
sabgenton | ? | 05:22 |
qman__ | though that would manifest as a working network breaking at regular intervals | 05:22 |
sabgenton | that will fush nat? | 05:22 |
qman__ | you seem to have the reverse problem | 05:22 |
qman__ | indicating that something else is wrong | 05:22 |
sabgenton | I mean it removes it completely | 05:22 |
sabgenton | Patrickdk: ? | 05:22 |
sabgenton | removes then installs again | 05:22 |
Patrickdk | shorewall clear only removes iptables rules | 05:22 |
Patrickdk | it does nothing about connection tracking tables and other things | 05:22 |
sabgenton | not nat? | 05:22 |
sabgenton | oh | 05:22 |
Patrickdk | it just says not to use nat anymore | 05:22 |
Patrickdk | it doesn't *flush* nat | 05:22 |
sabgenton | ok but didn't it set up nat? | 05:23 |
sabgenton | ok wait | 05:23 |
Patrickdk | you don't setup nat, you make a iptables rule that says to use it :) | 05:23 |
sabgenton | so when you flush nat that doesn't have to be configured to nat apartcicular thing? | 05:23 |
sabgenton | ok | 05:23 |
sabgenton | so yes | 05:23 |
Patrickdk | if your conntrack is broken before you clear iptables, it will be broken afterwards too | 05:24 |
Patrickdk | but normally you can't really break it | 05:25 |
sabgenton | qman__: ok mabye your on to somting pardon me | 05:25 |
Patrickdk | unless you are really trying to | 05:25 |
sabgenton | how do I flush nat? | 05:25 |
Patrickdk | I think you have to install the conntrackd util | 05:25 |
sabgenton | I manually run dhclient well after the computer starts | 05:25 |
sabgenton | could this be my problem? | 05:25 |
qman__ | yes | 05:25 |
Patrickdk | heh, configure it with a static ip :) be done with it :) | 05:25 |
qman__ | configure /etc/network/interfaces correctly | 05:26 |
qman__ | and don't ever run dhcliet manually | 05:26 |
sabgenton | :( | 05:26 |
sabgenton | yeah but you learn more | 05:26 |
qman__ | if you need to refresh, ifup/ifdown or service network restart | 05:26 |
sabgenton | like your tcpdump guide :P | 05:26 |
qman__ | dhclient is one of those programs that lingers in the background | 05:26 |
sabgenton | (like I'm painfully learning now :P) | 05:27 |
qman__ | messing with things long after you're done | 05:27 |
sabgenton | qman__: "if-up.d is the best place" | 05:28 |
qman__ | dhclient should only ever be run manually on a non-configured or disabled interface | 05:28 |
sabgenton | for what? | 05:28 |
qman__ | for your firewall script | 05:28 |
sabgenton | oh like some iptables lines? | 05:29 |
sabgenton | or stick shorewall in there | 05:29 |
sabgenton | I think the interface does start disabled nonconfiged | 05:30 |
sabgenton | I run wpa_suplicant then dhclient | 05:30 |
sabgenton | by hand | 05:30 |
Patrickdk | and run shorewall start after those? | 05:30 |
Patrickdk | or shorewall restart | 05:30 |
qman__ | you should probably place a script which contains "shorewall clean && shorewall start" in /etc/network/if-up.d/ | 05:31 |
Patrickdk | no clean needed, just shorewall restart | 05:31 |
Patrickdk | clean basically means, disable firewall | 05:31 |
qman__ | as long as it's smart enough to clear out old rules first | 05:31 |
Patrickdk | it's smarter than that, it loads them in the correct order to not kill existing connections :) | 05:32 |
Patrickdk | and clear out the old rules | 05:32 |
qman__ | I write mine myself, so they always start with iptables -F, -t F, -X, etc | 05:32 |
sabgenton | gee I'm tring to take in all this dhcp stuff | 05:33 |
qman__ | er, -t nat -F | 05:33 |
Patrickdk | qman, ya, that is how I did it for years, I gave up about a year ago or so, my firewalls started getting way too complex | 05:33 |
qman__ | my current one reads port forwards from a human-readable list in /etc | 05:34 |
Patrickdk | mine is managing interactions of over 14 different interfaces | 05:34 |
qman__ | hah, that's pretty complex | 05:34 |
Patrickdk | it's over 2000 iptables lines | 05:34 |
qman__ | mine only has four | 05:34 |
Patrickdk | ya, basic nat firewalls are easy enough by hand :) | 05:35 |
Patrickdk | just accouting for changes and bad interactions when it gets bigger is just too much work | 05:35 |
qman__ | I bet, keeping track of that many without some sort of visual aid would be difficult | 05:36 |
qman__ | four interfaces, that is, not lines :) | 05:37 |
qman__ | I know a simple two-interface nat can be done in four lines | 05:37 |
Patrickdk | ya, my 3 and 4 interfaces by hand I used was about 80 or so iptables lines | 05:38 |
Patrickdk | but then, that is mostly dnat/snat stuff | 05:38 |
Patrickdk | hmm, system happier, gave it one more drive spindle to play with :) | 05:38 |
Patrickdk | 8 drives in my workstation now :( | 05:39 |
qman__ | heh | 05:39 |
Patrickdk | wd re4 are freaking fast :) | 05:40 |
Patrickdk | not as good as sas, but close | 05:40 |
qman__ | not too many toys to play with here, working with next to nothing budget | 05:40 |
Patrickdk | I'm attempting to build my replacement server, old one needs to die, 10years old almost | 05:41 |
qman__ | but every once in a while I get something new, got a new WAP to set up | 05:41 |
Patrickdk | dual 1.4ghz p3, 4gig ram and 8 146g 15k scsi drives | 05:41 |
qman__ | nicer than most of mine | 05:42 |
Patrickdk | new system looks to be a dual quad 2.5ghz 48gig ram, 8 300g sas 15k and probably throw some ssd's in there also | 05:42 |
qman__ | my web server is a P4 1.4 desktop | 05:42 |
Patrickdk | mine can't do webserving :( | 05:43 |
Patrickdk | had to put the database on another server so it could handle the load | 05:43 |
qman__ | monthly hits here are in the 1000-range | 05:44 |
qman__ | not exactly high demand, just enough to put off most freebie hosts | 05:44 |
Patrickdk | damn, I hit my own systems up more than 1000 times a month :) | 05:44 |
qman__ | and wanting to implement an online reservation system makes hosting it myself more attractive | 05:44 |
qman__ | I may be working with old junk, but most if it's old enough junk that it's unlikely to fail | 05:46 |
qman__ | built before computers were throw away items :) | 05:47 |
patdk-lap | heh, except for capacitors, they have fixed life spans :( | 05:47 |
patdk-lap | but old enough, it's before the bad knockoff ones where used :) | 05:48 |
qman__ | yeah | 05:48 |
qman__ | file server is a prime example, system drive is a 4GB quantum fireball, it outlasted two SATA disk arrays in the same system | 05:49 |
patdk-lap | ya, I have some 8gig ide's that where still working perfectly good | 05:49 |
patdk-lap | retired it, cause I don't have a computer with ide anymore | 05:50 |
patdk-lap | I have a 4x8 shelf full of ide/scsi/fc disks | 05:50 |
patdk-lap | all just old and small capacity, still work, but too slow for my usage | 05:50 |
sabgenton | qman__: so why doe nat care about dhcp? | 06:11 |
sabgenton | when it is flushed | 06:11 |
sabgenton | I thought dhcp just gave an ip adress same as if you did it static | 06:11 |
qman__ | sabgenton, it doesn't, but when a DHCP lease expires, and you get a new address, your interface goes down and up | 06:11 |
qman__ | and your previous nat configuration based on the previous address will no longer work | 06:12 |
sabgenton | oh is that all | 06:12 |
qman__ | so it needs to be reloaded | 06:12 |
sabgenton | well my ip hasn't changed at all so then this is not the isuse | 06:12 |
sabgenton | it gets the same ip back | 06:12 |
sabgenton | and has done for the last ever | 06:13 |
sabgenton | besides restarting the computer would flush nat right? | 06:13 |
qman__ | yes | 06:13 |
sabgenton | and when i restarted it last it picked up the same ip | 06:13 |
qman__ | as I said, this is not likely the problem you're experiencing, since this problem would manifest as a working connection breaking periodically | 06:13 |
sabgenton | hm unless nat was configed for no ip? | 06:13 |
sabgenton | that maybe? | 06:13 |
sabgenton | on boot there will be no ip on the card i think | 06:14 |
qman__ | your firewall will need to be run after the network is up | 06:14 |
sabgenton | qman__: so will the nat tables be done to no ip? | 06:14 |
sabgenton | qman__: Im still confused | 06:24 |
sabgenton | if turn the box on there is no nic on wlan0 | 06:25 |
sabgenton | no ip I mean | 06:25 |
sabgenton | is there a nat configured to no ip | 06:25 |
sabgenton | I'm tring to understand what nat is if I have no iptables up | 06:25 |
sabgenton | when I run dhclient is nat someware set with the found ip | 06:26 |
sabgenton | I thought it was when i run iptables or in my case shorewall | 06:26 |
sabgenton | (after that) | 06:27 |
qman__ | it is | 06:29 |
qman__ | if you attempt to configure nat while the interface is down, it won't work | 06:29 |
sabgenton | well I'll try and set it all up in interfaces | 06:33 |
sabgenton | I think i tryed and gave up | 06:34 |
sabgenton | doing everything there | 06:34 |
sabgenton | just didn't the non-distro independent way | 06:34 |
sabgenton | still feel it won't solve my problem | 06:34 |
patdk-lap | I say, forget dhcp | 06:36 |
patdk-lap | just setup everything in /etc/network/interfaces using static ip | 06:36 |
sabgenton | yeah it's just on a wifi card and its confusing | 06:36 |
sabgenton | patdk-lap: Is there anything I can run to monitor when it just starts working? | 06:40 |
sabgenton | I don't know what I'd be looking for but | 06:40 |
patdk-lap | for basic stuff like that I use: | 06:44 |
patdk-lap | hmm, paste broken :( | 06:44 |
patdk-lap | google: watchping | 06:44 |
=== squishy is now known as SquishyNotHere | ||
_Techie_ | i have just setup a third IC in my server and am unable to figure out why i cant get one of my interfaces thats attatched to my internal network working correctly | 08:00 |
_Techie_ | if i have eth3 as my external interface, and eth1 and eth0 as my LAN interfaces, can they both have the same ip, or do i need to implement a bridge of some sort, i dont need cross talk betweet eth0 and eth1 yet | 08:02 |
_Techie_ | i currently have eth1 working fine, but eth0 doesnt seem t be workin coprrectly | 08:03 |
_Techie_ | okay, let me re word things a bit, is there anything special i need to do when setting up a point to point connection between ubuntu-server and a windows machine when using a patch cable and no switch/router? | 08:16 |
gobbe | you cannot have same ip in two interfaces without bonding | 08:18 |
gobbe | if they are attached to same network | 08:19 |
gobbe | _Techie_: no, there's no special things when using patch cable between two computers | 08:19 |
gobbe | so what do you want to do and what is not working | 08:19 |
_Techie_ | well i had 2 NIC's in my machine before, one for net and the other for LAN | 08:20 |
_Techie_ | worked fine | 08:20 |
_Techie_ | added a new NIC in, now totalling 3 | 08:20 |
gobbe | yes | 08:21 |
_Techie_ | ive shifted the configurations aroud to the new interfaces | 08:21 |
_Techie_ | cloned my routing rules t the new interface | 08:21 |
gobbe | can you ping from windows-machine to ubuntu? | 08:21 |
_Techie_ | and one of my LAN interfaces is still not functioning properly | 08:21 |
_Techie_ | no, i cant ping from windows to anything | 08:22 |
gobbe | so what is configuration in ubuntu at this interface? | 08:22 |
_Techie_ | however everything attatched to the other interface is fine | 08:22 |
gobbe | _Techie_: /sbin/ifconfig | 08:22 |
gobbe | and pass that to pastebin | 08:22 |
_Techie_ | mind if i ue srunge intead? | 08:23 |
_Techie_ | sprunge? | 08:23 |
gobbe | ok | 08:23 |
gobbe | just somewhere else than direct paste here :D | 08:24 |
_Techie_ | http://sprunge.us/QNhh | 08:24 |
_Techie_ | the only differences between eth0 and eth1, is eth0 is a gigabit direct cable to my pc | 08:24 |
gobbe | well, there's problem | 08:24 |
gobbe | like i told | 08:24 |
gobbe | you cannot have same ip in two interfaces | 08:25 |
gobbe | you need to change eth0 or eth1 | 08:25 |
_Techie_ | would i have to change the gateway address in my DHCP server aswell? | 08:26 |
_Techie_ | i know its a pretty dumb question, but id rather look like a noob than have to do things twice | 08:26 |
gobbe | i don't know what do you try to do? | 08:27 |
gobbe | be able to access internet from windows-machine? | 08:27 |
_Techie_ | at this point in time | 08:27 |
_Techie_ | i have a networked printer which will call for bridging at a later time | 08:28 |
_Techie_ | but getting basic functionality is what i want at the moment | 08:28 |
gobbe | well, you just change other interface IP and do NAT in your ubuntu | 08:28 |
gobbe | ipforward + nat | 08:28 |
gobbe | that's it | 08:28 |
_Techie_ | i flicked eth0's ip up by one and still no luck | 08:30 |
gobbe | windows-machine is not able to ping? | 08:31 |
_Techie_ | nup, no pinging | 08:31 |
_Techie_ | what abot bridging the two interfaces? | 08:31 |
gobbe | _Techie_: so what is IP's now? | 08:31 |
_Techie_ | its at 192.168.10.2 | 08:31 |
gobbe | no, you need to change whole network | 08:32 |
gobbe | sorry, wait | 08:32 |
gobbe | what is IP in windows-machine? | 08:32 |
_Techie_ | 192.168.10.50 | 08:32 |
gobbe | change ubuntu to 192.168.11.1 or something and windows to same subnet | 08:32 |
gobbe | i believe that there's still problems with returning packets | 08:33 |
_Techie_ | http://sprunge.us/SKQR | 08:34 |
_Techie_ | well, taht works | 08:34 |
gobbe | yep | 08:34 |
gobbe | and if you need to connect to internet, check out ip forwarding and NAT | 08:35 |
gobbe | there's good manual for that | 08:35 |
_Techie_ | okay, so now that things are functioning, i needa set up a bridge between the two | 08:35 |
_Techie_ | ive already setup NAT through iptables | 08:35 |
gobbe | https://help.ubuntu.com/community/Router' | 08:35 |
gobbe | - '-mark | 08:35 |
_Techie_ | its a server machine i built awhile back, so everything is already setup | 08:35 |
_Techie_ | the only thing new is the interface eth3 | 08:36 |
_Techie_ | do you know how to set up a bridge between two interfaces? | 08:36 |
gobbe | what kind of bridge? | 08:39 |
_Techie_ | well, im able to modify my dhcp server so that it gives my machine a ip on 192.168.11.X | 08:41 |
_Techie_ | however i have a networked printer attatched to the other interface @ 192.168.10.90 | 08:41 |
_Techie_ | oh | 08:41 |
_Techie_ | dw | 08:41 |
_Techie_ | doesnt seem to be a problem | 08:41 |
gobbe | yep, it should not be if you have ip forwarding | 08:41 |
_Techie_ | thanks for your help gobbe | 08:51 |
gobbe | np | 09:28 |
sabgenton | does crontab mynewcronfile | 11:30 |
sabgenton | error check | 11:31 |
sabgenton | or do you have to crontab -e for that | 11:31 |
gobbe | sabgenton: yes it does | 11:40 |
sabgenton | ok so you don't have to use -e | 11:44 |
sabgenton | to be safe | 11:44 |
uvirtbot` | New bug: #695944 in apache2 (main) "update apache2 in lucid or backport some features?" [Undecided,New] https://launchpad.net/bugs/695944 | 12:07 |
sabgenton | when a user runs crontab -e where is it installed to? | 12:08 |
sabgenton | the new cron file | 12:08 |
gobbe | yep | 12:24 |
sabgenton | woop | 12:24 |
gobbe | /var/spool/cron/crontabs | 12:25 |
uvirtbot` | New bug: #695968 in krb5 (main) "kerberized telnetd is not working (Error: All terminal ports in use.)" [Undecided,New] https://launchpad.net/bugs/695968 | 12:26 |
screen-x | Hi all, which is the recommended slapd configuration method in 10.04, slapd.conf or cn=config? | 13:37 |
thewrath | i used that a while ago i think i used slapd.conf | 13:38 |
thewrath | but wait for a person who has used it more than what I have | 13:38 |
screen-x | thewrath: Yeah, I was using slapd.conf in 8.04, but I recently installed a 10.04 server, which defaulted to cn=config which I don't really understand yet. | 13:38 |
=== viezerd- is now known as viezerd | ||
pmatulis | screen-x: ubuntu uses cn=config now | 14:04 |
screen-x | pmatulis: ok, so I should invest time and learn to set it up. I was confused as the debconf stuff didn't prompt for a root password, so I couldn't bind with an ldap browser in order to configure cn=config. | 14:05 |
pmatulis | screen-x: yes, this is the standard now, best to get onboard | 14:06 |
screen-x | ok, I've got a few articles to read, I'll have a go. Thanks pmatulis | 14:07 |
=== deegee_ is now known as deegee | ||
lieuwe[49ft] | is it possible to have an ip whitelist for a specific port? | 15:51 |
lieuwe[49ft] | also, is it possible to stdin/stdout to/from an upstart job? i need to be able to do some server commands | 15:57 |
Frenk | Hey people. I just set up my new server and I want to test how snorby and iptable works. Can you do me a favour and scan 88.198.57.242 (nmap or whatever you like). I dont need the result, just want to see how the server reacts! Would be really kind! | 16:39 |
AndyGraybeal | woh, sorby i never heard of that.. is it something to do with snort? | 16:41 |
AndyGraybeal | snorby | 16:42 |
Frenk | o mean snort >D | 16:42 |
Frenk | I did some configurations and as I dont have a Botnet I kindly ask you to do it. | 16:43 |
AndyGraybeal | how did you get snorby froom snort on the keyboard! lols | 16:43 |
Frenk | AndyGraybeal: snorby was what i looked for - a ruby application for snort | 16:44 |
AndyGraybeal | aaah | 16:45 |
AndyGraybeal | i nmap a few times to the ip | 16:45 |
AndyGraybeal | i don't kno whow to do anythign too creative | 16:45 |
Frenk | nmap is great | 16:45 |
AndyGraybeal | did your computer respond appropriatly to my nmaps? | 16:48 |
Frenk | lets see >D | 16:48 |
Frenk | nope -( | 16:49 |
Frenk | AndyGraybeal: could you run just like this: nmap -T4 -A -v -PE -PS22,25,80 -PA21,23,80,3389 88.198.57.242 | 16:58 |
=== SquishyNotHere is now known as squishy | ||
nailora | on a fresh install i get the following warning over and over again: "perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: ..." running "sudo locale-gen en_US.UTF-8" fixes it. however i think this is just a workaround. what would be a proper fix? | 17:11 |
=== Hero_of_Mordor is now known as mordor_away | ||
=== mordor_away is now known as mordor_gone | ||
RoyK | hi all. anyone here that knows some decent backup software that will allow me to backup remote windows machines to an ubuntu or solaris or something? | 18:04 |
Nafallo | backuppc? | 18:04 |
RoyK | ah | 18:04 |
RoyK | didn't know that one | 18:05 |
Nafallo | hmm. is it still in main even? | 18:05 |
Nafallo | !info backuppc | 18:05 |
ubottu | backuppc (source: backuppc): high-performance, enterprise-grade system for backing up PCs. In component main, is optional. Version 3.1.0-9ubuntu2 (maverick), package size 548 kB, installed size 2376 kB | 18:05 |
Nafallo | \o/ | 18:05 |
compdoc | clonezilla | 18:07 |
RoyK | clonezilla doesn't look like a good solution over time (with incremental backups etc) | 18:10 |
thewrath | ? | 18:11 |
compdoc | yeah, its good for monthly images | 18:12 |
RoyK | I don't really need that - just data backup | 18:12 |
compdoc | backula sounds good, but seems a bear to set up | 18:13 |
compdoc | theres another Ive heard of but havent tried: remastersys | 18:14 |
RoyK | I'm running bacula at work with some 100TB storage units, and it works well, but not for clients behind nat - bacula works with a director contacting the clients (file agents), which then contacts the storage agent, and with clients behind nat, it'll require port forwarding for this to work, something I don't want | 18:16 |
=== KB1JWQ is now known as Corey | ||
FreezingCold_ | How do I run ZNC as nobody? | 19:32 |
e_t_ | If I delete /etc/udev/rules.d/70-persistent-net.rules, will the file be regenerated. or will I be left without network interfaces? | 19:33 |
=== mordor_gone is now known as Hero_of_Mordor | ||
RoyK | e_t_: it'll be regenerated | 19:54 |
RoyK | e_t_ phone home... | 19:55 |
=== Hero_of_Mordor is now known as mordor_is_gone | ||
cn1209 | is there a free gui to manage cron jobs. I want to setup a cron that will ssh into another server and run a command. I can do this the old fashion way but would like to setup a GUI. Any ideas or addons? | 20:33 |
RoyK | cn1209: doing it from the commandline would be quite easy | 20:37 |
RoyK | !webmin | 20:37 |
ubottu | webmin is no longer supported in Debian and Ubuntu. It is not compatible with the way that Ubuntu packages handle configuration files, and is likely to cause unexpected issues with your system. | 20:37 |
cn1209 | RoyK: Understood. But I would like management tool for someone else to manage. | 20:37 |
cn1209 | ubottu: Cpanel might do the job but I'm looking for something free / open source. | 20:38 |
ubottu | Error: I am only a bot, please don't think I'm intelligent :) | 20:38 |
cn1209 | lol | 20:38 |
RoyK | !ebox | 20:38 |
ubottu | ebox is a web-based GUI interface for administering a server. It is designed to work with Ubuntu/Debian style configuration management. See https://help.ubuntu.com/community/eBox | 20:38 |
RoyK | ubottu: no, webmin is no longer supported in Debian and Ubuntu. It is not compatible with the way that Ubuntu packages handle configuration files, and is likely to cause unexpected issues with your system | 20:39 |
RoyK | ubottu: no, webmin is no longer supported in Debian and Ubuntu. It is not compatible with the way that Ubuntu packages handle configuration files, and is likely to cause unexpected issues with your system, see ebox | 20:39 |
RoyK | ubottu: no, webmin is no longer supported in Debian and Ubuntu. It is not compatible with the way that Ubuntu packages handle configuration files, and is likely to cause unexpected issues with your system, see ebox | 20:39 |
cn1209 | RoyK: The entire purpose is to ssh into my esxi box an run a backup command. Just want to be able to manage it. I'm looking into ebox. I'll see if that's what I'm looking for. Thanks | 20:42 |
RoyK | cn1209: I'd suggest using the commandline - stuff like webmin or ebox somehow simplifies things, but learning the real stuff takes you longer | 20:45 |
RoyK | that is, it leads to learning more | 20:45 |
StrangeCharm | how do i mount a usb disk? i think it's ntfs or fat32, probably ntfs, since it's used by a windows machine, and probably contains large files | 21:41 |
RoyK | heh - typical newbie idiot - ask a question, part 2 minutes later | 21:51 |
Slyboots | x3HEhh.. | 22:03 |
Slyboots | Is there a way to tell what sort of RAM I have installed? | 22:03 |
Slyboots | without shutting down the machine? | 22:03 |
RoyK | prtconf? | 22:03 |
Slyboots | Mm.. no such command? and nothing in apt.. | 22:04 |
RoyK | oh | 22:05 |
RoyK | lshw | 22:05 |
RoyK | sorry - was thinking about solaris | 22:05 |
Slyboots | Sweet | 22:08 |
Slyboots | There is a part-number | 22:08 |
Slyboots | TF! | 22:09 |
Slyboots | It costs more than my new DDR3 ram cost! | 22:09 |
qman__ | of course, DDR3 is the cheapest you can buy | 22:09 |
* Slyboots mutters under his breath | 22:10 | |
Slyboots | The board only takes DDR2 though.. :P | 22:10 |
Slyboots | Plus Im sure mixing DDR3 and 2 is asking for trouble ;) | 22:10 |
qman__ | the older it is, the more expensive it is | 22:10 |
qman__ | there are exceptions but that's the rule | 22:10 |
RoyK | Slyboots: mixing DDR3 and DDR2 is asking for trouble indeed | 22:11 |
Slyboots | Aye | 22:12 |
Slyboots | Well my poor file-server needs more RAM | 22:12 |
Slyboots | Virtualmachines are pretty demanding | 22:12 |
Slyboots | 16mb free :P | 22:12 |
RoyK | Slyboots: pastebin free | 22:13 |
qman__ | my file server is running DDR | 22:13 |
Slyboots | Its in TOP | 22:13 |
RoyK | Slyboots: still, pastebin free output | 22:13 |
Slyboots | Mem: 1538544k total, 1523360k used, 15184k free, 31788k buffers | 22:13 |
Slyboots | Hardly worth pastebinning a single line | 22:13 |
qman__ | he meant the command `free` | 22:14 |
Slyboots | Actually I could get more out of the system.. 512mb is allocated to video mem that I wont need.. | 22:14 |
RoyK | Slyboots: doesn't say much - linux uses tons of memory for caching | 22:14 |
Slyboots | http://pastebin.ca/2035309 | 22:14 |
RoyK | so, 400 megs free | 22:14 |
qman__ | yeah | 22:15 |
RoyK | not a lot of memory in there | 22:15 |
Slyboots | 2gb stick;l 512mb allocated to Vidram | 22:15 |
qman__ | you're not out of memory yet | 22:15 |
Slyboots | Probelms is I dont have a monitor so I Cant.. acces s the bios | 22:15 |
Slyboots | So hy the hell is virtual machines so slow? | 22:15 |
qman__ | but I have to wonder why a file server has more than ~16MB allocated to video | 22:15 |
RoyK | Slyboots: increase swappiness | 22:15 |
RoyK | Slyboots: sysctl vm.swappiness = 100 | 22:15 |
Slyboots | qman__: it used to be a xbmc video center | 22:15 |
RoyK | that'll make linux swap out earlier | 22:16 |
Slyboots | .. isng swapping bad? | 22:16 |
RoyK | Slyboots: also, the bios settings should allow for less memory overhead from the graphics card | 22:16 |
RoyK | no, it's not | 22:16 |
RoyK | swapping is good | 22:16 |
Slyboots | RoyK: Odds are it does; but.. I dont have a moniotor x.x | 22:16 |
Slyboots | So I cant access the bios lol | 22:16 |
RoyK | swapping out things that aren't in use is good | 22:17 |
qman__ | swapping is good if your disks can keep up | 22:17 |
qman__ | it's bad if they can't | 22:17 |
Slyboots | not sure how good my disks are; its a RAID5 array.. | 22:17 |
RoyK | qman__: it's mostly good for dead processes | 22:17 |
Slyboots | for my needs its suitable but faster is always better | 22:17 |
Slyboots | how do you benchmark disks anyway? | 22:18 |
Slyboots | In windows there are LOADS of programs for that sort of thing but.. | 22:18 |
Slyboots | with linux server Im a bit lost | 22:18 |
qman__ | for a simple ballpark, hdparm -tT | 22:18 |
RoyK | Slyboots: a lot of processes allocate memory not needed. this can be swapped out and the memory gained can be used for something useful | 22:18 |
qman__ | if you want some write speed estimates, dd some files | 22:19 |
Slyboots | Well if it can make the VM's faster all the better | 22:19 |
RoyK | set swappiness to 100 | 22:19 |
RoyK | try that | 22:19 |
Slyboots | /dev/md0: Timing cached reads: 1070 MB in 2.00 seconds = 534.99 MB/sec Timing buffered disk reads: 94 MB in 1.68 seconds = 55.97 MB/sec | 22:19 |
Slyboots | that doesnt seem terribly fast | 22:19 |
qman__ | it isn't | 22:19 |
RoyK | it's decent, but not fast | 22:19 |
RoyK | how many drives? | 22:19 |
Slyboots | Eh.. 3? | 22:19 |
Slyboots | in a RAID5 configuration | 22:20 |
Slyboots | Segate.. somethings | 22:20 |
RoyK | not 5k4 drives? | 22:20 |
RoyK | that's asking for trouble | 22:21 |
qman__ | /dev/md0: Timing cached reads: 1598 MB in 2.00 seconds = 799.56 MB/sec Timing buffered disk reads: 432 MB in 3.00 seconds = 143.79 MB/sec | 22:21 |
Slyboots | .. wait what? | 22:22 |
qman__ | 7 disk raid 6, 7200RPM | 22:22 |
Slyboots | Segate greens | 22:22 |
Slyboots | o.O | 22:22 |
Slyboots | .. wha?! | 22:22 |
qman__ | oh boy | 22:22 |
qman__ | green drives, that's why | 22:22 |
Slyboots | That *cant* be right | 22:22 |
qman__ | anyuway | 22:22 |
Slyboots | Mm.. shit :P Well they work OK for now | 22:22 |
qman__ | while not exactly fast, it's not horrendously slow | 22:22 |
qman__ | it'll work | 22:23 |
Slyboots | AYe; for file transfers on my need the target machines are going to be the bottlenecks anyway | 22:23 |
Slyboots | Ah windows your busting my fucking balls | 22:27 |
Slyboots | "Junctino does not support remote locations" | 22:27 |
RoyK | hm.. getting 1.5GB/s from this system | 22:28 |
=== deegee_ is now known as deegee | ||
RoyK | happy new year :) | 23:08 |
RoyK | 1099505336320 bytes (1.1 TB) copied, 727.725 s, 1.5 GB/s | 23:09 |
cn1209 | RoyK: okay. I decided to create a new VM in my ESXi box using Ubuntu and create two cron jobs that will execute the backup script for both servers. I had to create an ssh key. Runs great. Now to create page that will parse the log file that it generates into a nice looking page for management. | 23:26 |
Slyboots | right.. that all went awfully wrong and show how I lost loads of data | 23:43 |
Slyboots | Mm.. can Rsync copy files as .. mm.. long as the Target destination files are *smaller* than the source? | 23:47 |
Slyboots | <na Im drawing a total blank here | 23:55 |
Slyboots | Trying to check if my CPU supports.. hardware virtualation | 23:55 |
Slyboots | But its not called HyperV | 23:55 |
Slyboots | .. is it? | 23:55 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!