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.19 | Mohan | morning |
09:26.11 | *** join/#gllug cityLights (~cityLight@bzq-84-111-46-151.red.bezeqint.net) |
10:00.14 | ChoHag | I think this is quite possibly the worst scrambled egg I've ever eaten. |
10:02.56 | bilarh | chohag: from that statement, i can with some certainty say that you have never been to japan |
10:04.55 | lampuser | hehe |
10:07.34 | ChoHag | I have not. |
10:15.42 | ChoHag | Do they cook them? |
10:17.26 | bilarh | barely |
10:17.46 | bilarh | you essentially get runny, beaten egg with some hard lumps in it |
10:17.49 | bilarh | and it's usually luke warm |
10:17.53 | bilarh | or was when i was there, at least |
10:24.25 | wethrin | maybe they just didn't like you |
10:35.19 | bilarh | possibly |
10:35.27 | bilarh | it's a recurring theme |
10:36.18 | *** join/#gllug Leeds (~richardc@pcd424250.netvigator.com) |
10:37.10 | ChoHag | Advice 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.42 | wethrin | that's the patient's excuse, and they're sticking to it |
10:43.25 | cityLights | hi wethrin |
10:43.34 | cityLights | I am seeking some help |
10:44.19 | cityLights | how should I debug this problem? when a pda connects to my home lan I see it sending dhcp requests |
10:44.20 | wethrin | help? In #gllug!? |
10:44.51 | cityLights | and I see the dhcp server offering an address , yet the client keeps asking for an address |
10:45.03 | cityLights | no firewalls on the server or client |
10:46.09 | AndyMillar | cityLights: is the pda looking for specific dhcp options your dhcp server isn't giving it? |
10:47.16 | cityLights | hi 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.31 | cityLights | udhcp is the dhcp client the N900 uses |
10:47.51 | AndyMillar | have you tried running the dhcp client manually and seeing what debugging data it gives you>? |
10:47.56 | AndyMillar | and is your dhcp server giving any useful logs? |
10:48.29 | cityLights | now, this may be an arp issue as the server is bridging the wireless device and ethernet and providing dhcp to that bridge |
10:49.09 | cityLights | the dhcp only shows that it got the dhcp request and responds with and address |
10:51.20 | ChoHag | Having one myself, I can tell you that the phone is fine. |
10:51.26 | ChoHag | Unless you screwed around with it of course. |
10:52.02 | cityLights | hi ChoHag , ovcourse the phone is fine |
10:52.11 | cityLights | yet I want to solve this issue |
10:52.23 | cityLights | I am also seekign to have openvpn run here |
10:53.20 | ChoHag | Maybe the response doesn't cross your bridge. |
10:53.26 | ChoHag | Do other wireless devices work? |
10:54.20 | cityLights | not sure |
10:54.44 | cityLights | I dont have another wireless client here |
10:55.01 | cityLights | but I do see the dhcp server respond |
10:57.41 | cityLights | min pls I need to come up with another script |
10:58.04 | cityLights | I admit that I get here ever so often to write script |
10:58.07 | cityLights | scripts |
10:58.31 | cityLights | I mean unless one uses awk and sed daily - how am I suppose to remember it all |
10:58.41 | cpufreak | why would you not use awk and sed daily? |
10:58.43 | ChoHag | You don't use awk and sed daily? |
10:58.54 | ChoHag | Yes... |
10:59.09 | cpufreak | or how can y ou not remember something you learnt in the past? |
10:59.23 | cityLights | well, I guess I am not a senior sys admin after all |
10:59.24 | cpufreak | do you suffer from dementia? |
10:59.28 | cpufreak | neither am I |
10:59.38 | bilarh | i forget all command line options within a week |
10:59.40 | cpufreak | I've not been a sysadmin for years |
10:59.42 | bilarh | that's what man is for |
10:59.55 | cpufreak | last time I was a sysadmin, I worked for the same company as bilarh. |
11:00.02 | wethrin | you poor fellow |
11:00.07 | bilarh | that i used to work for |
11:00.29 | cityLights | but I was sure all members here a senior sys admins |
11:00.33 | cityLights | hmm |
11:00.39 | ChoHag | bilarh: I can't decide which comment to misquote "that's what man is for" with. |
11:00.53 | cpufreak | these days I just head up the performance team for some little company with a website. |
11:00.58 | bilarh | chohag: you'll probably chose the wrong one anyway |
11:00.59 | cpufreak | so I spend most of my days in powerpoint and excel |
11:01.08 | cpufreak | and I can still remember how to use awk |
11:01.10 | wethrin | You.....MANAGER, you |
11:01.19 | ChoHag | Beat me to it. |
11:01.26 | ChoHag | wethrin: You're not even exaggerating. |
11:02.03 | cpufreak | excel draws pretty graphs. |
11:03.56 | bilarh | i wish ebays search had an "and not xxx" option |
11:04.01 | cpufreak | but the best thing is having people who can do stuff for you, much better than doing it yourself. |
11:04.19 | cityLights | this is what linus said |
11:05.21 | ChoHag | Maybe he's a manager too. |
11:06.00 | ChoHag | 'I totally stopped believing in "survival of the fittest" when I started working in the ED.' |
11:06.26 | cityLights | why is this line broken: for i in `ls /home/niv/KCRW\ Simulcast/incomplete/*.mp3` ; do echo ${i} ; done |
11:06.53 | ChoHag | because you should do ls /home/blah/blah | while read i; do ...; done |
11:06.57 | cpufreak | that's just stupid |
11:07.01 | ChoHag | Actually no, not with ls. |
11:07.09 | ChoHag | You should do for i in /home/blah/blah |
11:07.25 | cpufreak | why not just find /home/niv/KCRW\ Simulcast/ncomplete/ -name '*.mp3' |
11:07.51 | cpufreak | and use -exec if you want to do anything with it |
11:07.59 | ChoHag | | while read is for other things which, oddly, I'd 'just know' if this window said ...:~$ instead of [#GLLUG] |
11:08.28 | cityLights | cpufreak: find gives same issue |
11:08.51 | cityLights | common name is /home/niv/KCRW Simulcast/incomplete/Mathieu Schreyer 89-9FM Hand - -Picked Music - Morning Edition.mp3 |
11:09.01 | ChoHag | cityLights: for i in /home/niv/KCRW\ Simulcast/incomplete/*.mp3; do ...; done |
11:09.08 | cityLights | and the for uses the spaces as tokes |
11:09.11 | ChoHag | Make sure you use "$i" not $i. |
11:10.00 | Mohan | you can also use, while read DATA; do echo $DATA; done < <(find /path -name '*.mp3') |
11:10.03 | bilarh | citylights: you need to set BS=^M |
11:11.05 | bilarh | citylights: i'm guessing your problem is you get i = Mathieu, then i = Schreyer etc etc? |
11:11.10 | cityLights | bilarh: what does the BS mean? |
11:11.22 | cityLights | bilarh: yes |
11:11.25 | ChoHag | The same thing it always means. |
11:11.32 | bilarh | citylights: if so, if you do a BS=^M first (note, ctrl-v and enter), not actualy ^ and then M |
11:12.00 | bilarh | citylights: 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.16 | cityLights | o ok |
11:12.18 | bilarh | citylights so e.g. for i in my filename will actually be two items, right |
11:12.43 | bilarh | where as if you have BS=ctrl-v<enter> ; for i in my filename; i will actually be "my filename" |
11:12.45 | ChoHag | But for i in "my filename" will be one. |
11:12.56 | ChoHag | So for i in /home/foo/* will DTRT. |
11:13.49 | cpufreak | cityLights: -print0 in und then |
11:13.54 | cpufreak | s/und/find/ |
11:14.35 | cityLights | seems the issue was using "$i" not ${i} |
11:15.15 | cityLights | thanks |
11:16.47 | bilarh | man find |
11:16.49 | bilarh | ffs |
11:17.03 | bilarh | just as a separate note, ^^^ is not what man is for :) |
11:17.27 | cityLights | yes I know find |
11:17.29 | cityLights | and use it |
11:17.38 | cpufreak | i |
11:17.57 | bilarh | ah look at that, print0 is quite clever by the looks of it |
11:29.17 | cityLights | if I dont want to use for in one line can I omit the ";" ? |
11:29.49 | cityLights | so the first line is : "for ports in /path/to/iface |
11:29.59 | cityLights | and no ";" at the end? |
11:30.56 | cityLights | o ok , got it |
11:32.33 | ChoHag | ; is exactly the same as a new line |
11:34.16 | *** join/#gllug antiphase (~ant@plasma.ossified.net) |
11:35.21 | cityLights | right |
12:25.07 | *** join/#gllug dick_turpin (~sales@2001:0:53aa:64c:437:48b9:26dd:5ce1) |
12:25.43 | dick_turpin | Afternoon all |
12:25.51 | *** join/#gllug celesteh (~celesteh@sblug/member/celesteh) |
12:27.11 | ChoHag | dick_turpin: Your stories are as nothing compared to the ER. |
12:27.31 | ChoHag | After 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.38 | dick_turpin | Elizabeth Regina? |
12:41.40 | cityLights | hi dick_turpin |
12:42.00 | cityLights | say where is that guy that used to shout at everyone coming in here? |
12:42.03 | dick_turpin | lo |
12:42.25 | dick_turpin | do you mean morsing ? |
12:42.38 | cityLights | right |
12:42.44 | cityLights | ~seen morsing |
12:42.46 | ibot | morsing <morsing@emil.morsing.cc> was last seen on IRC in channel #gllug, 6d 3h 51m 26s ago, saying: 'ChoHag: Idiot'. |
12:42.58 | cityLights | :-) |
12:43.01 | Mohan | what an exit :P |
12:43.37 | dick_turpin | Pot and kettle spring to mind |
12:44.02 | bilarh | hehe lol |
12:44.15 | cityLights | ChoHag : here is someting |
12:44.31 | cityLights | maybe anyone can make it look neeter |
12:44.34 | cityLights | http://dpaste.com/173266/ |
12:44.44 | cityLights | I mean more estethic |
12:44.59 | bilarh | i think you're being a bit unfair on yourself, not *anyone* can make that look better ;D |
12:45.05 | cityLights | I got the sed line from this channel |
12:45.35 | cityLights | this is part of the /etc/conf/net in my gentoo setup |
12:45.47 | bilarh | recoils in horror |
12:45.50 | cityLights | idea if to fix two issues with bridges |
12:46.24 | cityLights | IFACE is the name of the interface being stop |
12:46.30 | cityLights | for example eth1 |
12:46.51 | cityLights | so this checks every interface to see if it a part of a bridge |
12:46.57 | cityLights | and acts accrdign ly |
12:47.12 | cityLights | but maybe be I can make it simpler? |
12:47.22 | bilarh | are you sure about the ls -l in line 11? |
12:47.47 | ChoHag | cityLights: I'm not sure you're going to achieve what you want to achieve. |
12:47.49 | bilarh | will that not always evaluate to "bridge"? |
12:48.27 | cityLights | ChoHag : no I tested it with eth1 |
12:48.33 | cityLights | only br0 has this |
12:49.13 | ChoHag | I mean that whatever the greater goal of this script is, it is probably the wrong goal. |
12:49.29 | ChoHag | Or in other words, I'm sure what you are doing is fine, I'm just not sure about the why. |
12:51.10 | cityLights | pls share your thought here |
12:51.31 | cityLights | bilarh : I am not sure about this line now |
12:51.35 | cityLights | it used to be ok |
12:52.09 | ChoHag | There aren't any - I'm not sure what you're trying to do. |
12:52.36 | cityLights | two objects |
12:53.01 | cityLights | first - if the IFACE is a bridge, stop its ports before stopping it |
12:53.25 | cityLights | second if a IFACE is part of a bridge remove it before stopping it |
12:54.08 | cityLights | bilarh : wont work without the -l |
12:55.31 | *** join/#gllug Armand (~me@host86-145-74-196.range86-145.btcentralplus.com) |
12:55.54 | ChoHag | Yes but why? |
13:01.19 | cityLights | emm |
13:01.42 | cityLights | cause the system in gentoo doesnt do this checking |
13:01.50 | cityLights | and I hope it will be added |
13:02.03 | ChoHag | Oh. Gentoo. That explains everything. |
13:02.08 | cityLights | I am reffering to baselayout2 +openrc |
13:07.27 | ChoHag | This is the best argument against free health care I've seen: |
13:07.47 | ChoHag | If 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.53 | ChoHag | not seen in the shortest time possible |
13:07.55 | ChoHag | getting a 600-dollar bill for a 40-dollar pill. |
13:14.53 | cityLights | this is sick |
13:17.43 | bilarh | citylights: gentoo? ;) |
13:18.18 | antiphase | Epic fail |
13:20.45 | hali | hm, seeing odd memory leaks in centos 5.4 under vsphere 4 |
13:23.17 | cityLights | I know I can use grep "^bridge=.*" /etc/hostapd/hostapd.conf to get bridge=br0 , but how to get br0? |
13:24.00 | AndyMillar | | awk -v'FS=\=' {'print $2'} |
13:24.10 | AndyMillar | or | sed s/bridge=// |
13:24.20 | AndyMillar | or | cut -c 7- |
13:24.35 | cityLights | cut was what I was looking for |
13:24.37 | cityLights | thanks |
13:25.16 | antiphase | Cut, your wrists, with a knife |
13:25.27 | dick_turpin | All hail AndyMillar king of scripts and soon to be Emperor of the lavatory |
13:26.15 | AndyMillar | cityLights: or gerp -o |
13:26.19 | AndyMillar | grep -o * |
13:29.44 | antiphase | prefers `awk -F= {if (/bridge/) print $2;}' |
13:29.57 | antiphase | except I can't type ' |
13:32.36 | dick_turpin | antiphase: Voyez que je savais que tu pouvais être gentil |
13:43.08 | ChoHag | why 'if (/bridge/) ...'? |
13:43.20 | ChoHag | Surely awk -F= '/bridge/ { print $2 }' |
13:43.47 | ChoHag | This is not perl. There is only one suitable way. |
13:44.12 | bilarh | dick_turpin: voulez-vous daughters couchez avec moi? |
13:44.43 | bilarh | is building international relations |
13:45.53 | ChoHag | 99.9% of lawyers give the rest a bad name |
13:46.58 | dick_turpin | bilarh: De skulle göra om du inte var ett sådant val |
13:47.10 | bilarh | :( |
14:09.10 | *** join/#gllug DiscordianUK (~ch@fedora/DiscordianUK) |
15:27.21 | cityLights | in grep "^${interface} ${ip} ${router} ${subnet} ${domain} ${dns}$" |
15:27.30 | cityLights | why is there a $ at the end? |
15:28.58 | antiphase | The same reason there's a ^ at the front. Neither are necessary if you're matching a whole line |
15:29.15 | bilarh | and in anycase, that $ is replaced by nothingness anyway |
15:29.20 | bilarh | you 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.43 | ChoHag | Ant: 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) |