IRC log for #gllug on 20100318

00:32.44*** join/#gllug Leeds (~richardc@pcd424250.netvigator.com)
02:31.23*** join/#gllug Leeds (~richardc@www.scorefive.com)
05:27.48*** join/#gllug shai (~Shai@l192-117-110-233.cable.actcom.net.il)
06:12.22*** join/#gllug lampuser (~lampuser@cpc4-finc12-2-0-cust22.4-2.cable.virginmedia.com)
07:14.33*** join/#gllug zeroXten (~zeroXten@0x10.co.uk)
07:14.33*** join/#gllug andrewbl1ck (~andrew@vm.black1.org.uk)
07:14.33*** join/#gllug boudiccas (~boudiccas@80.47.47.32)
07:14.33*** join/#gllug mtd (~martin@ops-13.xades.com)
07:14.33*** join/#gllug Alex (alexjs@goatse.co.uk)
07:14.33*** join/#gllug cpufreak (~andy@drift.ing.me.uk)
07:14.33*** join/#gllug z00dax (~kbsingh@chakra.karan.org)
07:14.33*** join/#gllug wethrin (dankolb@hades.eco.li)
07:14.33*** join/#gllug j0nr (~j0nr@5f9ad036.in-addr.xenvz.co.uk)
07:16.58*** join/#gllug shai (~Shai@l192-117-110-233.cable.actcom.net.il)
08:08.45*** join/#gllug DiscordianUK (~ch@fedora/DiscordianUK)
08:52.23*** join/#gllug lampuser (~lampuser@cpc4-finc12-2-0-cust22.4-2.cable.virginmedia.com)
08:56.19Mohanmorning
09:26.11*** join/#gllug cityLights (~cityLight@bzq-84-111-46-151.red.bezeqint.net)
10:00.14ChoHagI think this is quite possibly the worst scrambled egg I've ever eaten.
10:02.56bilarhchohag: from that statement, i can with some certainty say that you have never been to japan
10:04.55lampuserhehe
10:07.34ChoHagI have not.
10:15.42ChoHagDo they cook them?
10:17.26bilarhbarely
10:17.46bilarhyou essentially get runny, beaten egg with some hard lumps in it
10:17.49bilarhand it's usually luke warm
10:17.53bilarhor was when i was there, at least
10:24.25wethrinmaybe they just didn't like you
10:35.19bilarhpossibly
10:35.27bilarhit's a recurring theme
10:36.18*** join/#gllug Leeds (~richardc@pcd424250.netvigator.com)
10:37.10ChoHagAdvice from doctors: #6 Never, ever leave flashlights, shampoo bottles, beer bottles or any long, circular object on the floor because someday you will fall on it and it will somehow, work its way up your rectum.
10:41.42wethrinthat's the patient's excuse, and they're sticking to it
10:43.25cityLightshi wethrin
10:43.34cityLightsI am seeking some help
10:44.19cityLightshow should I debug this problem? when a pda connects to my home lan I see it sending dhcp requests
10:44.20wethrinhelp? In #gllug!?
10:44.51cityLightsand I see the dhcp server offering an address , yet the client keeps asking for an address
10:45.03cityLightsno firewalls on the server or client
10:46.09AndyMillarcityLights: is the pda looking for specific dhcp options your dhcp server isn't giving it?
10:47.16cityLightshi AndyMillar , the pda is a Nokia N900 running a falvor of linux, and I dont think it is asking for anything other then an IP address
10:47.31cityLightsudhcp is the dhcp client the N900 uses
10:47.51AndyMillarhave you tried running the dhcp client manually and seeing what debugging data it gives you>?
10:47.56AndyMillarand is your dhcp server giving any useful logs?
10:48.29cityLightsnow, this may be an arp issue as the server is bridging the wireless device and ethernet and providing dhcp to that bridge
10:49.09cityLightsthe dhcp only shows that it got the dhcp request and responds with and address
10:51.20ChoHagHaving one myself, I can tell you that the phone is fine.
10:51.26ChoHagUnless you screwed around with it of course.
10:52.02cityLightshi ChoHag , ovcourse the phone is fine
10:52.11cityLightsyet I want to solve this issue
10:52.23cityLightsI am also seekign to have openvpn run here
10:53.20ChoHagMaybe the response doesn't cross your bridge.
10:53.26ChoHagDo other wireless devices work?
10:54.20cityLightsnot sure
10:54.44cityLightsI dont have another wireless client here
10:55.01cityLightsbut I do see the dhcp server respond
10:57.41cityLightsmin pls I need to come up with another script
10:58.04cityLightsI admit that I get here ever so often to write script
10:58.07cityLightsscripts
10:58.31cityLightsI mean unless one uses awk and sed daily - how am I suppose to remember it all
10:58.41cpufreakwhy would you not use awk and sed daily?
10:58.43ChoHagYou don't use awk and sed daily?
10:58.54ChoHagYes...
10:59.09cpufreakor how can y ou not remember something you learnt in the past?
10:59.23cityLightswell, I guess I am not a senior sys admin after all
10:59.24cpufreakdo you suffer from dementia?
10:59.28cpufreakneither am I
10:59.38bilarhi forget all command line options within a week
10:59.40cpufreakI've not been a sysadmin for years
10:59.42bilarhthat's what man is for
10:59.55cpufreaklast time I was a sysadmin, I worked for the same company as bilarh.
11:00.02wethrinyou poor fellow
11:00.07bilarhthat i used to work for
11:00.29cityLightsbut I was sure all members here a senior sys admins
11:00.33cityLightshmm
11:00.39ChoHagbilarh: I can't decide which comment to misquote "that's what man is for" with.
11:00.53cpufreakthese days I just head up the performance team for some little company with a website.
11:00.58bilarhchohag: you'll probably chose the wrong one anyway
11:00.59cpufreakso I spend most of my days in powerpoint and excel
11:01.08cpufreakand I can still remember how to use awk
11:01.10wethrinYou.....MANAGER, you
11:01.19ChoHagBeat me to it.
11:01.26ChoHagwethrin: You're not even exaggerating.
11:02.03cpufreakexcel draws pretty graphs.
11:03.56bilarhi wish ebays search had an "and not xxx" option
11:04.01cpufreakbut the best thing is having people who can do stuff for you, much better than doing it yourself.
11:04.19cityLightsthis is what linus said
11:05.21ChoHagMaybe he's a manager too.
11:06.00ChoHag'I totally stopped believing in "survival of the fittest" when I started working in the ED.'
11:06.26cityLightswhy is this line broken: for i in `ls /home/niv/KCRW\ Simulcast/incomplete/*.mp3` ; do echo ${i} ; done
11:06.53ChoHagbecause you should do ls /home/blah/blah | while read i; do ...; done
11:06.57cpufreakthat's just stupid
11:07.01ChoHagActually no, not with ls.
11:07.09ChoHagYou should do for i in /home/blah/blah
11:07.25cpufreakwhy not just find /home/niv/KCRW\ Simulcast/ncomplete/ -name '*.mp3'
11:07.51cpufreakand use -exec if you want to do anything with it
11:07.59ChoHag| while read is for other things which, oddly, I'd 'just know' if this window said ...:~$ instead of [#GLLUG]
11:08.28cityLightscpufreak: find gives same issue
11:08.51cityLightscommon name is /home/niv/KCRW Simulcast/incomplete/Mathieu Schreyer 89-9FM Hand - -Picked Music  -  Morning Edition.mp3
11:09.01ChoHagcityLights: for i in /home/niv/KCRW\ Simulcast/incomplete/*.mp3; do ...; done
11:09.08cityLightsand the for uses the spaces as tokes
11:09.11ChoHagMake sure you use "$i" not $i.
11:10.00Mohanyou can also use, while read DATA; do echo $DATA; done < <(find /path -name '*.mp3')
11:10.03bilarhcitylights: you need to set BS=^M
11:11.05bilarhcitylights: i'm guessing your problem is you get i = Mathieu, then i = Schreyer etc etc?
11:11.10cityLightsbilarh: what does the BS mean?
11:11.22cityLightsbilarh: yes
11:11.25ChoHagThe same thing it always means.
11:11.32bilarhcitylights: if so, if you do a BS=^M first (note, ctrl-v and enter), not actualy ^ and then M
11:12.00bilarhcitylights: i guess it means something like block separator... it's the cahracter that is used to differentiate between elements in lists in bash
11:12.16cityLightso ok
11:12.18bilarhcitylights so e.g.    for i in my filename  will actually be two items, right
11:12.43bilarhwhere as if you have BS=ctrl-v<enter>  ; for i in my filename; i will actually be "my filename"
11:12.45ChoHagBut for i in "my filename" will be one.
11:12.56ChoHagSo for i in /home/foo/* will DTRT.
11:13.49cpufreakcityLights: -print0 in und then
11:13.54cpufreaks/und/find/
11:14.35cityLightsseems the issue was using "$i" not ${i}
11:15.15cityLightsthanks
11:16.47bilarhman find
11:16.49bilarhffs
11:17.03bilarhjust as a separate note, ^^^ is not what man is for :)
11:17.27cityLightsyes I know find
11:17.29cityLightsand use it
11:17.38cpufreaki
11:17.57bilarhah look at that, print0 is quite clever by the looks of it
11:29.17cityLightsif I dont want to use for in one line can I omit the ";" ?
11:29.49cityLightsso the first line is : "for ports in /path/to/iface
11:29.59cityLightsand no ";" at the end?
11:30.56cityLightso ok , got it
11:32.33ChoHag; is exactly the same as a new line
11:34.16*** join/#gllug antiphase (~ant@plasma.ossified.net)
11:35.21cityLightsright
12:25.07*** join/#gllug dick_turpin (~sales@2001:0:53aa:64c:437:48b9:26dd:5ce1)
12:25.43dick_turpinAfternoon all
12:25.51*** join/#gllug celesteh (~celesteh@sblug/member/celesteh)
12:27.11ChoHagdick_turpin: Your stories are as nothing compared to the ER.
12:27.31ChoHagAfter you bring your 775 lb body to the ED to w/u a foul odor from your rectum and upon examination (with one person holding up the left buttocks with all his might) a lost television remote is found abscessed inside your gluteal fold, by all means, ask if you can have it back because you were tired of changing channels with your cane
12:27.38dick_turpinElizabeth Regina?
12:41.40cityLightshi dick_turpin
12:42.00cityLightssay where is that guy that used to shout at everyone coming in here?
12:42.03dick_turpinlo
12:42.25dick_turpindo you mean morsing ?
12:42.38cityLightsright
12:42.44cityLights~seen morsing
12:42.46ibotmorsing <morsing@emil.morsing.cc> was last seen on IRC in channel #gllug, 6d 3h 51m 26s ago, saying: 'ChoHag: Idiot'.
12:42.58cityLights:-)
12:43.01Mohanwhat an exit :P
12:43.37dick_turpinPot and kettle spring to mind
12:44.02bilarhhehe lol
12:44.15cityLightsChoHag : here is someting
12:44.31cityLightsmaybe anyone can make it look neeter
12:44.34cityLightshttp://dpaste.com/173266/
12:44.44cityLightsI mean more estethic
12:44.59bilarhi think you're being a bit unfair on yourself, not *anyone* can make that look better ;D
12:45.05cityLightsI got the sed line from this channel
12:45.35cityLightsthis is part of the /etc/conf/net in my gentoo setup
12:45.47bilarhrecoils in horror
12:45.50cityLightsidea if to fix two issues with bridges
12:46.24cityLightsIFACE is the name of the interface being stop
12:46.30cityLightsfor example eth1
12:46.51cityLightsso this checks every interface to see if it a part of a bridge
12:46.57cityLightsand acts accrdign ly
12:47.12cityLightsbut maybe be I can make it simpler?
12:47.22bilarhare you sure about the ls -l in line 11?
12:47.47ChoHagcityLights: I'm not sure you're going to achieve what you want to achieve.
12:47.49bilarhwill that not always evaluate to "bridge"?
12:48.27cityLightsChoHag : no I tested it with eth1
12:48.33cityLightsonly br0 has this
12:49.13ChoHagI mean that whatever the greater goal of this script is, it is probably the wrong goal.
12:49.29ChoHagOr in other words, I'm sure what you are doing is fine, I'm just not sure about the why.
12:51.10cityLightspls share your thought here
12:51.31cityLightsbilarh : I am not sure about this line now
12:51.35cityLightsit used to be ok
12:52.09ChoHagThere aren't any - I'm not sure what you're trying to do.
12:52.36cityLightstwo objects
12:53.01cityLightsfirst - if the IFACE is a bridge, stop its ports before stopping it
12:53.25cityLightssecond if a IFACE is part of a bridge remove it before  stopping it
12:54.08cityLightsbilarh : wont work without the -l
12:55.31*** join/#gllug Armand (~me@host86-145-74-196.range86-145.btcentralplus.com)
12:55.54ChoHagYes but why?
13:01.19cityLightsemm
13:01.42cityLightscause the system in gentoo doesnt do this checking
13:01.50cityLightsand I hope it will be added
13:02.03ChoHagOh. Gentoo. That explains everything.
13:02.08cityLightsI am reffering to baselayout2 +openrc
13:07.27ChoHagThis is the best argument against free health care I've seen:
13:07.47ChoHagIf you're having unprotected sex with your boyfriend at 4 am, immediately after you realize that there might be a chance of you conceiving you should march into the neighborhood ER and demand an EC pill. After all, it does begin with the word "emergency"...then, be shocked and appalled that you are:
13:07.53ChoHagnot seen in the shortest time possible
13:07.55ChoHaggetting a 600-dollar bill for a 40-dollar pill.
13:14.53cityLightsthis is sick
13:17.43bilarhcitylights: gentoo? ;)
13:18.18antiphaseEpic fail
13:20.45halihm, seeing odd memory leaks in centos 5.4 under vsphere 4
13:23.17cityLightsI know I can use grep "^bridge=.*" /etc/hostapd/hostapd.conf to get bridge=br0 , but how to get br0?
13:24.00AndyMillar| awk -v'FS=\=' {'print $2'}
13:24.10AndyMillaror | sed s/bridge=//
13:24.20AndyMillaror | cut -c 7-
13:24.35cityLightscut was what I was looking for
13:24.37cityLightsthanks
13:25.16antiphaseCut, your wrists, with a knife
13:25.27dick_turpinAll hail AndyMillar king of scripts and soon to be Emperor of the lavatory
13:26.15AndyMillarcityLights: or gerp -o
13:26.19AndyMillargrep -o *
13:29.44antiphaseprefers `awk -F= {if (/bridge/) print $2;}'
13:29.57antiphaseexcept I can't type '
13:32.36dick_turpinantiphase: Voyez que je savais que tu pouvais être gentil
13:43.08ChoHagwhy 'if (/bridge/) ...'?
13:43.20ChoHagSurely awk -F= '/bridge/ { print $2 }'
13:43.47ChoHagThis is not perl. There is only one suitable way.
13:44.12bilarhdick_turpin: voulez-vous daughters couchez avec moi?
13:44.43bilarhis building international relations
13:45.53ChoHag99.9% of lawyers give the rest a bad name
13:46.58dick_turpinbilarh: De skulle göra om du inte var ett sådant val
13:47.10bilarh:(
14:09.10*** join/#gllug DiscordianUK (~ch@fedora/DiscordianUK)
15:27.21cityLightsin grep "^${interface} ${ip} ${router} ${subnet} ${domain} ${dns}$"
15:27.30cityLightswhy is there a $ at the end?
15:28.58antiphaseThe same reason there's a ^ at the front. Neither are necessary if you're matching a whole line
15:29.15bilarhand in anycase, that $ is replaced by nothingness anyway
15:29.20bilarhyou need \$
16:28.30*** join/#gllug andy (~andy@drift.ing.me.uk)
17:29.07*** join/#gllug ibot (ibot@rikers.org)
17:29.07*** topic/#gllug is Greater London LUG - next meeting 18th March, 7.30pm, Univ. Westminster, New Cavendish Street - http://www.gllug.org.uk
17:29.43ChoHagAnt: Would you believe that that tiny box with the drinks in is on its maximum setting?
17:33.57*** join/#gllug DiscordianUK (~ch@89.240.79.115)
17:33.58*** join/#gllug DiscordianUK (~ch@fedora/DiscordianUK)
17:46.13*** join/#gllug stu_ (~stu@78.33.224.190)
17:56.31*** join/#gllug lampuser (~lampuser@cpc4-finc12-2-0-cust22.4-2.cable.virginmedia.com)
18:03.29*** join/#gllug DiscordianUK (~ch@fedora/DiscordianUK)

Generated by irclog2html.pl Modified by Tim Riker to work with infobot.