irclog2html for #gllug on 20051007

00:20.51JAVyahoo buys upcoming.org
00:21.00JAVbuy-all season
00:23.05LeedsJAV: good point - forgot that one
01:05.38*** part/#gllug shinu (n=blu@cpc1-walt2-6-0-cust197.popl.cable.ntl.com)
01:36.24*** join/#gllug Leeds (n=richardc@202.82.163.139)
02:24.17*** join/#gllug clyphox (n=clyphox@82-35-127-97.cable.ubr01.enfi.blueyonder.co.uk)
04:59.25new2unixmoin all
05:02.38Leedshi
06:22.10*** join/#gllug Erwin (n=erwin@pdpc/supporter/sustaining/Erwin)
06:51.10*** join/#gllug morsing (n=morsing@emil.morsing.cc)
06:51.15morsing'morning
06:52.54Leedsafternoon
06:53.11morsingIf I have a single .c file how do I compile it correctly?
06:53.24morsinggcc -o file file.c ?
06:55.23morsingLeeds?
06:57.56Leedssure
06:58.13morsingSo why does it SIGSEGV?
06:58.19morsingWeidr
06:58.26Leedsgcc does or the compiled program does?
06:58.33morsingCompiled programme
06:58.45Leedswell, there's probably a bug in it...
06:59.26morsingHmm... the software was written for AIX but the author says it compiles under Linux
06:59.41morsingI'm thinking my /proc structure or something confuses it
06:59.54morsingHow do I find out what causes it?
07:00.06morsingfor(missing=0,i=1;!missing;i++) {
07:00.06morsing<PROTECTED>
07:00.06morsing<PROTECTED>
07:00.06morsing<PROTECTED>
07:00.12Leedsrun it under strace or gdb
07:00.13morsingThat's the last bit it does!
07:00.22morsingstrace give me no clues
07:00.39Leedsand gdb?
07:00.45Leedscompile it with -g of course
07:01.08morsingI don't know how to use gdb
07:01.29Leedsyou don't need to know very much at all
07:01.33morsinggcc -o nmon2rrdv10 -g nmon2rrdv10.c ?
07:01.38Leedsright
07:01.44morsingThen 'gdb ./nmon2rrd'
07:01.49Leedsrught
07:01.59Leedswith the v10 if you need it :-)
07:02.19morsingBut first 'apt-get install gdb'!
07:02.24Leedsugh
07:02.31Leedsgdb should be a mandatory install
07:02.40morsingNot on a server!
07:02.57morsingOk at (gdb) now
07:03.18morsingrunning?
07:03.30Leedstype "run"
07:03.36morsingProgram exited with code 052.
07:03.43morsingIt needs flags
07:04.04Leedsokay, type "run flags"
07:04.33morsingEh?!?
07:04.34morsing"/var/nmon/emil_051007_0001.nmon" is not a core dump: File format not recognized
07:04.55morsingStarting program:  
07:04.55morsingNo executable file specified.
07:04.55morsingUse the "file" or "exec-file" command.
07:04.58morsing?
07:05.07Leedsquit gdb
07:05.17Leedsstart it again with your binary as the argument
07:05.23Leedsthen do "run -x -y -z"
07:06.13morsing0xb7e59d10 in strcpy () from /lib/tls/libc.so.6
07:06.17morsingIs that it?
07:06.51Leedsthat's where the segfault is happening
07:07.02morsingOk, so that tells me...?
07:07.12Leedsdo "bt"
07:07.23morsing#2  0x0804bc85 in main (argc=3, argv=0xbff318f4) at nmon2rrdv10.c:986
07:07.35morsing#1  0x08049f36 in replace1 (orig=0x2009 <Address 0x2009 out of bounds>,
07:07.35morsing<PROTECTED>
07:08.07Leedsthat's it?
07:08.29morsingYes
07:08.41morsing<PROTECTED>
07:08.55morsingLine 515 is                 strcpy(s,orig);
07:09.04Leedswhat/where is replace1?
07:09.22morsingreplace1(char *orig, char *old, char *new)
07:09.35Leedswhere is that prototype?
07:09.41morsingPrototype?
07:09.53Leedswhere did you just copy that line from?
07:10.01Leedsthat's from the same c file?
07:10.04morsingYes
07:10.27Leedsokay, so either s or orig are bad
07:11.04Leedsquit gdb, restart it, don't do the run command
07:11.18morsingOk?
07:11.30Leedsnow type "break 514"
07:11.37morsingBreakpoint 1 at 0x8049f16: file nmon2rrdv10.c, line 514.
07:11.43Leedsnow do the run command
07:12.04morsingYes
07:12.25Leedsdid it stop before it segfaulted?
07:12.34morsingYes
07:12.42Leedstype "s"
07:12.49morsing515                     strcpy(s,orig);
07:13.04Leedsah, my bad... no problem
07:13.06Leedstype "p s"
07:13.13morsing$1 = 0x8422360 ""
07:13.43Leedstype "p orig"
07:14.06morsing$2 = 0x840f568 "NET,Network I/O emil,eth0-read-KB/s,eth1-read-KB/s,lo-read-KB/s,eth0-write-KB/s,eth1-write-KB/s,lo-write-KB/s"
07:14.21Leedsp *s
07:14.58morsing$3 = 0 '\0'
07:15.55morsingWhat's this telling us?
07:16.04Leedss is a pointer to an empty string
07:16.13Leedsorig is a pointer to the string you copied in
07:16.23Leedsit's trying to copy from one to the other
07:16.28morsingAfter the -f?
07:16.37Leedswhat -f?
07:16.42morsingCopy from s to orig?
07:16.52morsingWhat string did I put in?
07:16.54Leedsfrom orig to s
07:17.06morsingSo why can't it copy?
07:17.29morsingCan I put in a 'printf' in the source code before the line?
07:17.33Leedstype "s"
07:17.39morsing516                     orig[0]=0;
07:17.49Leedsgdb gives you everything a printf does
07:17.56Leedsum... so it didn't segfault this time?
07:18.06morsingShould it have done?
07:18.12LeedsI assume it's in a loop
07:18.14morsingBut orig is empty?
07:18.45Leeds"strcpy(s, orig); orig[0]=0;" says "copy orig to s, then blank out orig"
07:19.04Leedstype "c"
07:19.10morsingAhhIt's not a loop but the replace1 is called a number of times
07:19.21Leedsokay, so you need to find which one fails and why
07:19.34morsingThis one:
07:19.39morsing<PROTECTED>
07:19.44morsingLine 986
07:19.56Leedsyeah, we knew that
07:20.22Leedsmorsing #2  0x0804bc85 in main (argc=3, argv=0xbff318f4) at nmon2rrdv10.c:986
07:20.22Leedsmorsing #1  0x08049f36 in replace1 (orig=0x2009 <Address 0x2009 out of bounds>,
07:20.22Leedsmorsing     old=0x804e538 " ", new=0x804e531 "") at nmon2rrdv10.c:515
07:21.33Leedsif you actually want to debug it, you need to work backwards to somewhere where s or orig have bad values
07:21.59Leedsif you're at the gdb prompt now, after the segfault, what do "p s" and "p orig" give you?
07:22.45morsingHow do I get to the segfault?
07:23.00morsingrun?
07:23.17Leeds"clear 514"
07:23.25morsingYes
07:23.27Leedsthen "c" for continue
07:23.44morsingOk, then?
07:24.07morsingI need to go for breakfast now before they close. Will you be here in 30 minutes?
07:24.30morsingSee ya!
07:24.35Leedsyes
07:37.36*** join/#gllug jason_ukfsn (n=slavica@spc2-watf3-5-0-cust146.asfd.broadband.ntl.com)
07:37.38jason_ukfsnmorning all
07:38.13Leedshey Jango
07:38.15Leedsand jason_ukfsn
07:39.52*** join/#gllug \simon (n=simon@host112-4.pool8251.interbusiness.it)
07:39.58\simonmorning guys
07:40.06jason_ukfsnSo apparently Brian from uklinux made the "UK Individual Contribution to Open / Source" award at the expo. Ahead of Alan Cox
07:40.27Leedsgood for him...
07:40.31morsingLeeds: p s and p orig says No symbol in context
07:40.37Leedsbah
07:40.51jason_ukfsnthings have changed - not so long ago the idea of someone who hasn't released line of code being considered was unthinkable
07:41.02Leedsmorsing: stop it at line 986, then step until you get to 515, then do the p commands
07:41.47\simonjason_ukfsn: what happened?
07:42.04morsingHow do I step?
07:42.11Leedsjason_ukfsn: but, but... surely he deserves credit for coming up with the idea of a linux-supporting ISP and being the only person to follow such a path through?
07:42.12Leedsmorsing: s
07:42.53morsing(gdb) s
07:42.53morsing515                     strcpy(s,orig);
07:42.53morsing(gdb) p s
07:42.53morsing$1 = 0x8423290 ""
07:42.54morsing(gdb) p orig
07:42.54jason_ukfsnLOL!
07:42.56morsing$2 = 0x2009 <Address 0x2009 out of bounds>
07:43.20jason_ukfsnI suspect it's more to do with his splitting Mambo
07:43.40jason_ukfsnI note that Mambo^W Joomla won best software
07:44.10Leedsmorsing: so, we know that it's orig which is bad
07:44.57Leedssplitters!
07:45.25morsingLeeds: Ok. Is it possible to solve the problem?
07:46.04Leedsmorsing: trace it back, find out where it breaks
07:46.26LeedsI would venture a guess that orig is untouched in replace1 until line 515, so I'd check if it's bad at line 986
07:47.17morsingOk, orig in replace1 is 'line[n]' in line 986:
07:47.20morsingn = findfirst("IOADAPT,Disk");
07:47.20morsing<PROTECTED>
07:47.42morsingSo findfirst("IOADAPT,Disk") is bad?
07:48.48Leedsquite possibly... when I said check, I meant set a breakpoint and see the actual value
07:50.23morsing985             n = findfirst("IOADAPT,Disk");
07:50.23morsing(gdb) p n
07:50.23morsing$3 = -1
07:50.34morsingWhat does $3 mean?
07:52.54Leedsthe third thing you've printed out, I think
07:53.19Leedsif you're on that line, it's not been run yet - you want to step once, then print n again
07:53.41Leedsand note that you can do things like "p line[n]"
07:54.25morsingIf I step it enters findfirst() and doesn't know n
07:54.33morsingI need a new break?
07:55.02morsing986             replace1(line[n]," ","");
07:55.02morsing(gdb) p n
07:55.02morsing$1 = -1
07:55.14Leedsso, findfirst is returning -1
07:55.41morsingint findfirst(char *s) {
07:55.41morsingint i;
07:55.41morsing<PROTECTED>
07:55.41morsing<PROTECTED>
07:55.41morsing<PROTECTED>
07:55.43morsing<PROTECTED>
07:55.46morsing<PROTECTED>
07:55.49morsing<PROTECTED>
07:55.51morsing}
07:56.45morsingI think the IOADAPT section doesn't exist in the input file because it can't read it on Linux
07:56.52Leedsso it's finding the first place where the string "IOADAPT,Disk" appears in line - and not finding it
07:57.13Leedsthen, the calling function is failing to check for a failure return (-1) from findfirst, and going ahead as if it found the string
07:57.34morsingSounds right. How to rectify?
07:57.44Leedshttp://japundit.com/archives/2005/10/07/1320/
07:57.54Leedsit depends...
07:58.12Leedsif you're happy with it not finding the string, you probably want to bail out if findfirst fails
07:58.14morsingThe thing is, when running it I also get a message earlier saying
07:58.15morsingWARNING: missing "AAA,cpus" line assuming 1
07:58.27Leedsif not, you need to make sure it finds the string, or that it looks for a different one
07:58.28morsingSo at that point it does actually check
07:58.46Leedswell that's easy enough to look for
07:58.58morsingI think it should just warn like above if it doesn't find it
07:59.01Leedssilly question - is this an important enough thing to be worth the effort?
07:59.11Leedsgrep for the error message, find what it's doing :-)
07:59.42morsingif( (n = findfirst("AAA,cpus")) != -1)
07:59.42morsing<PROTECTED>
07:59.42morsing<PROTECTED>
07:59.42morsing<PROTECTED>
07:59.45morsing<PROTECTED>
07:59.47morsing<PROTECTED>
07:59.56morsingLeeds: It is very important :-)  Why?
08:01.28Leedsjust wondering... I'm not bothered from my end - it's Friday afternoon and the boss is out of the office
08:01.57morsingnmon2rrd rules!
08:02.05Leedsso yes, wrap the findfirst at line 98X with a similiar test
08:02.31\simonfinally some code in the channel ;)
08:02.34morsingWhat does sscanf do?
08:03.22Leedsdude... meet man
08:03.29\simonman 3 sscanf
08:04.00morsing3?
08:04.16morsingmorsing@emil:~/nmon$ man 3 sscanf
08:04.16morsingNo manual entry for sscanf in section 3
08:04.22Leedsibot change 19.9 eur to gbp
08:04.26Leedsmorsing: ignore the number
08:04.34morsingmorsing@emil:~/nmon$ man sscanf
08:04.34morsingNo manual entry for sscanf
08:04.49Leedsokay, why the fsck would you not install the *documentation* on a server?
08:05.31morsingIt's a server. And all the other documentation seems fine
08:06.05Leedshttp://www.nkzone.org/nkzone/entry/2005/10/pyongyangs_onl.php
08:06.28Leedsthen try it on a properly-installed box :-)
08:10.48*** join/#gllug rhowe (i=rhowe@xiao.siksai.co.uk)
08:10.52morsingrhowe!
08:12.30Leedsmorning rhowe
08:14.27highburymorning chaps
08:16.28morsingWOOHOO!
08:16.40morsingWARNING: missing "IOADAPT,Disk" line assuming 1
08:16.43morsingLike that!
08:16.48Leedsand it works now?
08:16.53morsingThanks a lot :-)  
08:16.55morsingYes
08:16.58Leedscool
08:18.23\simonhttp://unix.rulez.org/~calver/pictures/WinXP.jpg
08:19.25jason_ukfsnLOL \simon
08:19.59Leeds:-)
08:21.44morsingLeeds: Here you go, the result:
08:21.45morsinghttp://www.morsing.cc/nmon/
08:22.30Leedsah-ha!
08:22.40Leedsso, where's my winning lottery ticket as a thank-you? :-)
08:23.35Leedsare you saying it might be me?
08:24.06morsingOf course
08:25.22Leedsnow, I never in my life thought I would ever see this...
08:25.59Leedsit's a flyer from my HK phone company, advertising ringtones, logos and so on...
08:26.34Leedsamongst the songs on offer, on a largely Chinese advert... is one by Rick Astley
08:36.46Leedsit's just possible that the topic is in fact the programming buzzword Ajax
08:37.21highburywhereas more interesting stuff like "where can I buy a tub/carton of Ajax" are under represented
08:40.39Leedshighbury: I referred to vim and ajax in one sentence the other day... really clean code :-)
08:44.49Leedshttp://www.drmartinwilliams.com/hknightlife/hknightlife.html
08:50.41Copemorning chums
08:51.53jason_ukfsnmornign Cope
08:54.30Copehi jason
08:55.20highburyhi, did you make it to the expo cope?
08:56.19highburybummer
08:56.22Copefinally started feeling better yesterday afternoon
08:56.25Copemost annoying
08:56.33Copesounds like jason made great progress though!
08:56.48*** join/#gllug kbsingh (n=kbsingh@nat1.lon1.uk.xinit.com)
08:56.49highburyand John
08:56.54Copebrilliant
08:58.02CopeI mean spot of unshaveness not minging pussy spot-like-thing.
08:59.36highburydo we have times for the Ubuntu talk Jason?
09:00.02highburydoh!
09:00.08highburyignore that question
09:00.49highburyI'll knock together an announcement message as soon as I switch to Linux mode
09:06.13rhowe"Apparently, BackupExec is so "stupid" that if it encounters an error on any tape of a multiple tape volume set, it can't restore anything past the error."
09:06.27rhowe"For example I had used BackupExec to backup about 40 GB of data to 2 GB DDS tapes.  When I attempted to restore after a drive failure, BE encountered an error on tape 5 and refused to continue."
09:08.42rhowe"I called their help(less) desk and was told that that's just the way it is and hopefully I learned my lesson to not create backup jobs that span multiple volumes in the future."
09:11.24jason_ukfsnhighbury: hold off on that. It looks like I received misleading information so we need Dean to confirm this :(
09:11.46highburyok
09:13.38\simondoes bittorrent use udp ports too?
09:13.49highburyyes \simon
09:14.33\simonso brian has to update his page: http://btfaq.com/serve/cache/25.html
09:16.22*** join/#gllug shinu (n=blu@cpc1-walt2-6-0-cust197.popl.cable.ntl.com)
09:17.03shinuhello
09:18.55jason_ukfsngood morning shinu
09:29.17shinumorning indeed
09:29.24shinunot sure about the good part :P
09:29.37Leedsmorning?
09:30.27Leedsthere's the hometime bell :-)
09:33.01highbury\simon: Azareus docs say UDP is necessary too http://azureus.aelitis.com/wiki/index.php/Port_is_blacklisted
09:53.58highburyjason_ukfsn: how easy/expensive is it to get a domain from bulkregister.com ?
09:54.40jason_ukfsnhighbury: I've no idea. I don't use them and never have.
09:54.50jason_ukfsnGetting domains from ukfsn is fast and cheap though ;)
09:55.06highburythey're squatting on a domain I'd like to have
09:55.23jason_ukfsnI'm afraid I have no real experience of dealing with squatters
09:55.30highburythey're not doing anything with it
09:55.40jason_ukfsnare you really sure of that?
09:55.54highburyyep "cobrin.com"
09:55.56jason_ukfsnIt may be that they have it registered "protectively" or in anticipation of a project or for a customer
09:56.21highburyor in case somebody like me wants his surname
09:56.36jason_ukfsnand you're certain it's not a business name in some other country or similarly a valid registration?
09:59.06highburypretty much so, its not being held by anybody with a link to a person or company called cobrin
10:07.24rhoweThis sucker pulls 5A at 5V
10:14.07wethrinEh. 25W isn't too bad for hardware RAID
10:23.44\simonhow many hours do you sleep per night?
10:25.26wethrinsomewhere between 7 and 9
10:26.50\simonno way how can you do that
10:26.53\simon:)
10:27.42wethrinSleep. Wake up some time later
10:27.42\simonhow do you find time for yourself
10:27.43wethrinSimple :-)
10:28.10\simoni'm about to 5 or 6 per night
10:28.44wethrinHeh. Make more time.
10:30.15\simoni leave from home for work at 7 in the morning and i come back at 7pm, add an hour of gym three times a week... where do i find time for my linux box? :(
10:30.45wethrinUse an OS that doesn't require 15 hours babysitting a day to get it to work :)
10:31.11\simoni'm not babysitting... i have serious tasks :)
10:31.29wethrinWhat, on Linux? :-)
10:31.42eye69wethrin: Behave.
10:31.50wethrineye69: Do I have to? :)
10:31.55\simonuhm... maybe i'm in the wrong channel... ?_? :)
10:31.55eye69Yes, you do.
10:32.04wethrinBut that's no fun
10:32.08eye69\simon: He's probably just bored.
10:32.20eye69wethrin: Go sit in the corner.
10:32.45wethrinHeh
10:34.51highburyanybody got access to a UK-Info cd?
10:34.55\simondoes anyone of you have a dvb-{s,c,t} card?
10:36.42wethrin(FSVO 'work')
10:39.20highburycontains a list of everybodies phone-number
11:29.02*** join/#gllug Leeds (n=richardc@ipvpn095205.netvigator.com)
11:38.06Leedsevening
11:44.47morsingMmm... meat
11:44.52rhoweheh
11:45.03morsingLeeds!
11:45.17rhoweListening to a Kpop radio stream.. the male DJ is singing along to a backstreet boys song (or some similar boyband)
11:45.22rhowe... badly :P
11:46.25rhowehttp://211.36.154.147:8000
11:46.33rhoweHe's moved onto something in Korean now
11:57.53rhowehaha, this stream is insane
11:58.18rhoweKorean rap song with random bits of "How deep is your love" interspersed
12:01.23*** join/#gllug resuDaed (n=tom@82-45-243-170.cable.ubr01.enfi.blueyonder.co.uk)
12:01.34resuDaedafternoon all
12:03.17eye69Hello resuDaed.
12:04.07resuDaedam having a computer skills session with an engineering lecturer .... zzzz...
12:12.27*** join/#gllug \simon (n=simon@host201-2.pool8251.interbusiness.it)
12:12.44\simonhiiiiiiiiiiiii
12:12.58resuDaedafternoon
13:17.37new2unixhi Resudaed.
13:25.09morsingmoo
13:41.41jason_ukfsnhmm, just had someone phone me wanting to buy one of my domains
13:41.55wethrindid they offer a reasonable price?
13:49.09highburypfah!  I bought a Compaq Evo D500 (P1.7GHz) at the TCR computer fair for £135, but they told me it had a valid Windows XP license and USB2 both of which were incorrect, they offered my money back if I brought it back, but thats a real hassle, and I'm not sure whether I'll find a better deal despite the mistakes
13:49.53jason_ukfsnwethrin: I told them that I wasn't sure I want to sell it.
13:50.40jason_ukfsnpartly I said that because if I was too eager they could simply write to Nominet and it would be transfered as an abusive registration (which it isn't) and partly because I did have a use of the domain in mind although I'm probably not going to persue that use now.
13:50.59jason_ukfsnIf he makes an offer that's good enough I'll probably let him have the domain.
13:51.09wethrinOkay
13:51.31wethrinFair enough
13:52.35jason_ukfsnhis call did prompt me to renew the domain though ;)
13:53.04wethrinAlways a good idea :-)
13:53.37wethrinWhen it comes to transferring a domain, what needs to be done?
13:53.50wethrinIs it just a case of updating the whois records, and telling your registrar?
13:54.28jason_ukfsnwell it's a .uk so there is a paper work process involved. Essentially I need to get a form from Nominet and sign the domain over to him. As it's a sale it will also involve written terms and a payment.
14:09.24ErwinIs it because of your ssh issues that you are banging your head?
14:12.28wethrinCope: Is that better than banging head against a wall?
14:14.03jason_ukfsnwaht ssh issues?
14:14.36wethrinjason_ukfsn: What about for a .com domain?
14:15.18jason_ukfsn.com domains are easy. You just need to transfer the domain. Once that's complete the new registrant can change the registrant details themselves.
14:15.56wethrinSo just tell the registrar I want to transfer, yes?
14:16.02jason_ukfsnit's only national registries like .uk, .de and others that have to comply with proper laws regarding proper management of property
14:16.15wethrin*nod*
14:16.29jason_ukfsnwell you need to ensure that the domain is unlocked first and that the current admin contact will approve the transfer
14:16.33jason_ukfsnOtherwise it's that simple.
14:17.36jason_ukfsnalthough strictly speaking a domain isn't property (except that some US states' courts have decided otherwise) but rather a contract for services - ie listing in register and root dns services
14:17.37wethrinWell, I'm the admin contact. So I guess I just need to tell the registrar
14:17.42jason_ukfsnyes.
14:18.37wethrinexcellent
14:18.41wethrinAnyone like to buy larted.com? :)
14:20.38jason_ukfsnno thanks
14:21.09jason_ukfsnI have too many domains already. I need to sit down some time and actually put together a list, decide what I want to do with them and get on with it.
14:21.10wethrinbah
14:21.25wethrinIt's registered until 2010
14:21.45jason_ukfsnI keep having ideas for new projects or businesses and registering the intended name but most of them stay as ideas (time and money issues but mostly the former)
14:22.48wethrinaye
14:23.56wethrinWhere's George, the lazy bugger?
14:24.07jason_ukfsnubuntu talk is definitely on
14:25.00highburycool! Yay!
14:25.39jason_ukfsnI wonder if I can plug an output from the lecture theatre mic into my dv camcorder's mic input
14:30.40Copeuser (AIX) --> my_server (Solaris); dsa keys in place; chmod'd 0600; yet user still gets asked for a password
14:31.26Leedspub or bed?
14:31.59JAVpub!
14:32.04JAV(hello)
14:32.30wethrinLeeds: What a silly question
14:33.01wethrinCope: First off, what happens if the public key is chmodded 0644 in the authorized_keys file on the Solaris server?
14:33.16LeedsCope: do you get anything interesting from running an ssh server on a different port with debug on?
14:33.29Copewethrin: same
14:33.37CopeLeeds: going to do that in a sec
14:37.53*** join/#gllug rhowe (i=rhowe@xiao.siksai.co.uk)
14:38.57Leedsokay, I guess I should get dressed and go to the pub
14:39.11jason_ukfsn<PROTECTED>
14:39.28LeedsI could...
14:39.37jason_ukfsnbut you wont
14:40.12Leedsdon't think so, no
14:43.08jason_ukfsnI think the suggestion has upset people as they've all gone quiet ;)
14:46.09jason_ukfsnis it cold there wethrin ?
14:47.10wethrinIt's not overly toasty
14:54.58Leedsyeah, it's only about 26 degrees outside here at the moment...
14:55.11Leedsthat's centigrade and 11pm...
14:59.20\simonhey Leeds where did you say you are now?
14:59.40ErwinYou should change your name, Leeds :-)
15:00.49rhoweahaha
15:01.02LeedsI've not lived in Leeds for over 7 years now - full-time, over 11 years... just because I'm now on a different continent makes no difference :-)
15:01.04rhoweI was thinking about how to contract "Leeds" and "Hong Kong". I came up with "Long kong"
15:01.05Leeds\simon: Hong Kong
15:01.17Leedsrhowe: um...
15:01.25wethrinrhowe: But that just sounds dirty
15:01.31LeedsI've been Leeds on IRC for many many years
15:01.32rhowemade me chuckle, anyhow
15:02.58Leedsanyway, time to try to find people at the pub
15:03.13Leedsnow that I've got some trousers on :-)
15:03.13\simonLeeds: for work?
15:03.49Leeds\simon: pub for work?
15:04.33\simoni thought you were a bar tender ;)
15:04.42Leedsnot quite... bra manufacturer
15:04.44wethrinno, he's a bra tender
15:04.57\simonsounds interesting
15:05.08Leedseh...
15:05.18Leedsanyway, pub. gone. back, hopefully drunk, later.
15:05.24jason_ukfsnenjoy
15:10.15rhoweOct  7 15:40:44 cvs kernel: nfs_update_inode: inode 1628562304 mode changed, 0100444 to 0042775
15:10.19rhoweIs that bad?
15:25.52rhowehttp://www.google.com/sms/demo.html
15:38.59CopeI've done this hunderds of times without a problem
15:39.21Copesimple job of key-based authentication for ssh
15:40.57eye69Cope: What's the problem? Tried -vvv?
15:41.05eye69Correct permissions?
15:41.15Copeeye69: tried -vvv a lot
15:41.26Copetried all manner of permissions on both cleint and server
15:41.38CopeI have a default sshd on the server
15:41.50jason_ukfsncan you telnet to port 22?
15:41.57CopeI can ssh to port 22
15:42.16Copethat's not the problem - the problem is that even though it accepts the key, it still asks for a password
15:42.22jason_ukfsnanything in the logs?
15:42.29Copenothing in the auth logs no
15:42.38jason_ukfsnwhat's your sshd config?
15:42.54Copeshall I pastebin it?
15:44.02jason_ukfsnyes
15:45.27Copek
15:45.38Copebtw just ran sshd -D -d to see the other side too...
15:48.19jason_ukfsnhave you checked the permissions of the login homedir?
15:48.31Copejason_ukfsn: # will be removed when support for v1 protocol is removed.
15:48.31Cope# Should sshd use .rhosts and .shosts for password less authentication.
15:48.31CopeIgnoreRhosts yes
15:48.31CopeRhostsAuthentication no
15:48.31Cope# Rhosts RSA Authentication
15:48.33Cope# For this to work you will also need host keys in /etc/ssh/ssh_known_hosts.
15:48.36Cope# If the user on the client side is not root then this won't work on
15:48.38Cope# Solaris since /usr/bin/ssh is not installed setuid.
15:48.41CopeRhostsRSAAuthentication no
15:48.43Cope# Uncomment if you don't trust ~/.ssh/known_hosts for RhostsRSAAuthentication.
15:48.46Cope#IgnoreUserKnownHosts yes
15:48.48Cope# Is pure RSA authentication allowed.
15:48.51Cope# Default is yes
15:48.54CopeRSAAuthentication yes
15:48.56CopeBanner /etc/issue
15:48.59Copesorry
15:49.01Copehttp://pastebin.com/386256
15:49.04Copebloody windows crap buffer
15:49.09Copejason_ukfsn: permissions of login homedir?
15:49.39jason_ukfsnStrictModes
15:49.39jason_ukfsn<PROTECTED>
15:49.40jason_ukfsn<PROTECTED>
15:49.40jason_ukfsn<PROTECTED>
15:50.10Copedrwx------   5 universal other        512 Nov 18  2003 universal
15:50.19jason_ukfsnyou should also have it configured to log to a decent log level via syslog
15:50.52jason_ukfsnIs this ssh v1 you're using?
15:51.00Copeits auth.info atm
15:51.06Copejason_ukfsn: no v2
15:51.18jason_ukfsnRSAAuthentication is relevant to ssh v1 only
15:51.25Copeand changing it from 1 & 2 to just 2 made no difference
15:51.31Copejason_ukfsn: sure, but these are dsa keys
15:52.20jason_ukfsnI suggest setting the log level to somthing more useful - you'll probably get a log message telling you what is wrong.
15:53.51Copewell, when I stopped sshd and restarted without detaching, specifying debug mode, I saw nothing nasty - but will try via syslog too
16:02.54Georgewethrin: school, surprisingly.
16:03.11wethrinLazy git. What's the PHP stuff you used for your photo gallery?
16:04.07Georgethat's not mine
16:04.07Georgeidiot
16:04.12Georgetry reading the thing at the bottom
16:04.18wethrinICBA
16:04.28wethrinIs it gwright.org.uk/photos?
16:04.32Georgeno
16:04.33Georgeimages
16:04.55Georgeidiot.
16:05.16wethrinWell, just because you want to use a non-standard path
16:05.29Georgewtf?
16:05.32Copedebug1: sshd version Sun_SSH_1.0.1
16:05.32Copedebug1: Bad RSA1 key file /etc/ssh/ssh_host_rsa_key.
16:05.33Copedebug1: read SSH2 private key done: name rsa w/o comment success 1
16:05.33Copedebug1: load_private_key_autodetect: type 1 RSA
16:05.33Copedebug1: Bad RSA1 key file /etc/ssh/ssh_host_dsa_key.
16:05.34Copedebug1: read SSH2 private key done: name dsa w/o comment success 1
16:05.37Copedebug1: load_private_key_autodetect: type 2 DSA
16:05.39Copedebug1: load_private_key_autodetect: type 0 RSA1
16:05.42Copedebug1: Bind to port 22 on ::.
16:05.45CopeServer listening on :: port 22.
16:05.47CopeGenerating 768 bit RSA key.
16:05.50CopeRSA key generation complete.
16:05.52Copedebug1: Server will not fork when running in debugging mode.
16:05.55CopeConnection from 10.108.24.108 port 38040
16:05.57Copedebug1: Client protocol version 2.0; client software version OpenSSH_3.7.1p2
16:06.00Copedebug1: match: OpenSSH_3.7.1p2 pat ^OpenSSH
16:06.02CopeEnabling compatibility mode for protocol 2.0
16:06.05Copedebug1: Local version string SSH-1.99-Sun_SSH_1.0.1
16:06.08Copedebug1: Rhosts Authentication disabled, originating port not trusted.
16:06.10Copedebug1: list_hostkey_types: ssh-rsa,ssh-dss
16:06.13Copedebug1: sent kexinit: diffie-hellman-group1-sha1
16:06.15Copedebug1: sent kexinit: ssh-rsa,ssh-dss
16:06.18Copedebug1: sent kexinit: aes128-cbc,blowfish-cbc,3des-cbc
16:06.21Copedebug1: sent kexinit: aes128-cbc,blowfish-cbc,3des-cbc
16:06.23Copedebug1: sent kexinit: hmac-sha1,hmac-md5
16:06.26Copedebug1: sent kexinit: hmac-sha1,hmac-md5
16:06.28Copedebug1: sent kexinit: none,zlib
16:06.31Copedebug1: sent kexinit: none,zlib
16:06.33Copedebug1: sent kexinit: ,geo,lcttab,iso_8859_1,iso_8859_15,en_GB,en_GB.ISO8859-1,en_GB.ISO8859-15,en_GB.ISO8859-15@euro,en_IE,en_IE.ISO8859-1,en_IE.ISO8859-15,en_IE.ISO8859-15@euro,fr,fr.ISO8859-15,fr.UTF-8,fr_BE,fr_BE.ISO8859-1,fr_BE.ISO8859-15,fr_BE.ISO8859-15@euro,fr_BE.UTF-8,fr_BE.UTF-8@euro,fr_FR,fr_FR.ISO8859-1,fr_FR.ISO8859-15,fr_FR.ISO8859-15@euro,fr_FR.UTF-8,fr_FR.UTF-8@euro,nl,nl.ISO8859-15,nl_BE,nl_BE.ISO8859-1,nl_BE.ISO8859-15,nl_BE.ISO8859-
16:06.36Georgenote to self: do not ever eat 100g of fudge in < 1 minute ever again
16:06.41Copedebug1: sent kexinit: ,geo,lcttab,iso_8859_1,iso_8859_15,en_GB,en_GB.ISO8859-1,en_GB.ISO8859-15,en_GB.ISO8859-15@euro,en_IE,en_IE.ISO8859-1,en_IE.ISO8859-15,en_IE.ISO8859-15@euro,fr,fr.ISO8859-15,fr.UTF-8,fr_BE,fr_BE.ISO8859-1,fr_BE.ISO8859-15,fr_BE.ISO8859-15@euro,fr_BE.UTF-8,fr_BE.UTF-8@euro,fr_FR,fr_FR.ISO8859-1,fr_FR.ISO8859-15,fr_FR.ISO8859-15@euro,fr_FR.UTF-8,fr_FR.UTF-8@euro,nl,nl.ISO8859-15,nl_BE,nl_BE.ISO8859-1,nl_BE.ISO8859-15,nl_BE.ISO8859-
16:06.48Copedebug1: send KEXINIT
16:06.51Copedebug1: done
16:06.53Copedebug1: wait KEXINIT
16:06.56Copedebug1: got kexinit: diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1
16:06.59Copedebug1: got kexinit: ssh-rsa,ssh-dss
16:07.01Copedebug1: got kexinit: aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc
16:07.04Copedebug1: got kexinit: aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc
16:07.07Copedebug1: got kexinit: hmac-md5,hmac-sha1,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96
16:07.14Copedebug1: got kexinit: none,zlib
16:07.16Copedebug1: got kexinit: none,zlib
16:07.19Copedebug1: got kexinit:
16:07.24Copedebug1: first kex follow: 0
16:07.26Copedebug1: reserved: 0
16:07.29Copedebug1: done
16:07.31GeorgeSHUT UP!
16:07.32Copedebug1: kex: client->server unable to decide common locale
16:07.35Copedebug1: kex: client->server aes128-cbc hmac-md5 none
16:07.37Copedebug1: kex: server->client unable to decide common locale
16:07.39Copedebug1: kex: server->client aes128-cbc hmac-md5 none
16:07.42Copedebug1: bits set: 484/1024
16:07.45Copedebug1: Wait SSH2_MSG_KEXDH_INIT.
16:07.47Copedebug1: bits set: 532/1024
16:07.50Copedebug1: send SSH2_MSG_NEWKEYS.
16:07.52Copedebug1: done: send SSH2_MSG_NEWKEYS.
16:07.55Copedebug1: Wait SSH2_MSG_NEWKEYS.
16:07.57CopeConnection closed by 10.108.24.108
16:08.00Copedebug1: Calling cleanup 0x3e718(0x0)
16:08.02Copeoh bollocks!
16:08.05Copesorry!
16:08.05wethrinCope: Stop it
16:08.08Coperight: http://pastebin.com/386263
16:08.10Copethat's what I see on the other side of the transaction
16:08.14Copewethrin: :-P
16:08.16GeorgeCope: I hate you now.
16:08.21Copeblame windows
16:08.31wethrinCope: Use a proper OS
16:08.32Georgewindows doesn't even have a middle-click-paste function...
16:08.44Copewethrin: I have no choice
16:08.51Copewethrin: like 80% of unix admins in london
16:08.53new2unixwhat is cope trying to achieve?
16:09.01Copewe're 'forced' to use windows
16:09.22Copewell at least the ones working for banks and big companies
16:09.30wethrinHow can you admin Unix if you don't have a Unix box?
16:09.41Copewethrin: very easily
16:10.15new2unixCope: arent you allowed to bring in your own laptop/workstation?
16:10.19Copenew2unix: very simple - key-based authentication between 2 machiens; I've done it 100s of times, but something very fishy is happening
16:10.46new2unixcope: client software?
16:10.48wethrinCope: But Windows doesn't have screen! Nor included ssh
16:11.14Copenew2unix: no; we do have some unix machines for testing, playing, etc, but as with many people the actual machines connected to the main network have to be windows machines
16:11.27Copewethrin: putty ---> solaris box ---> the world
16:11.36new2unixCope: sure. Are you using Cygwin?
16:11.40Copenew2unix: its just openssh
16:11.45wethrinCope: Wouldn't it be much nicer to remove the first step?
16:12.01Copewethrin: not for the IT department of a company employing 50,000 people
16:12.51Erwinvmware, at least
16:12.54new2unix<PROTECTED>
16:13.05wethrinIs it really that hard to manage Unix boxes that Windows does the job better?
16:13.16new2unix<PROTECTED>
16:13.40GeorgeCope: have you ever installed the metakernel on the HP 48GX?
16:14.15new2unixWethrin: I've on occasion have had to manage Xservers from windows boxes. :|
16:15.05wethrinheh. Using Windows is just a painful experience. Well, using any PC is
16:15.09Copewethrin: look, to be frank, I'm very bored with the whole conversation; so we all have to use windows machines - booo; yes it sucks; but its life.
16:15.55Copewethrin: its not remotely painful - I have 2 or 3 fully-screen putty sessions to 2 or 3 other unix boxes, each running screen; I have firefox; I have email. That's all I need.
16:16.04wethrinfair enough, then
16:16.33Copeif I sent you a screen shot of my linux box and my windows box, the only difference would be the way the terminals are drawn
16:16.36new2unixSometimes the best thing to do is just to get on with it.
16:16.42Copenew2unix: indeed
16:17.14Copenew2unix: I get paid a decent amount of money to play with lots of unix kit; in return I have to use windows... what a crying shame. I think I'll quit.
16:17.41Copeseriously though - this particular puzzle is realling confusing me
16:19.53new2unixCope: run a network monitor between your windows box and the solaris box. Remove all traces of ssh from the windows box and start over.
16:22.21Copenew2unix: the windows box isn't connecting to the unix box
16:22.33Copethe connection is solaris <---> solaris
16:22.41Copeopenssh <---> sunssh (ie openssh)
16:24.05new2unixCope: Oh, so how did windows get drawn into this? Oh well.
16:28.56Georgeyay
16:29.00Georgemy HP48GX now rocks.
16:32.06Leeds:-(
16:33.43wethrinLeeds: ?
16:33.57Leedsmanaged to fail to meet anyone at the pub, had a beer by myself, came back via 7-11 where junk food was bought
16:34.06wethrinBad!
16:34.35Leedsconvenient though :-)
16:34.41wethrintrue
16:34.45Leeds24/7 nosh shops all over the place
16:41.16Copenew2unix: because I accidentally pasted *loads* of rubbish because windows doesn't have a proper buffer like X
16:42.55wethrinmy irssi asks me if I'm sure I want to paste > 5 lines of text
16:42.57wethrin:-P
16:43.25LeedsI'm suprised the network didn't kick you out
16:43.52wethrinHe wasn't pasting very fast
16:44.12Leedsit was reasonably fast, and there was a lot of it
16:46.00Leedsstarting with tomorrow's world :-)
16:50.33wethrinGet both
16:51.17kbsinghyou can always buy me one of each, and I'll let you know in due course
16:52.33new2unixWethrin: I'm not a wealthy student like you. Hah
16:53.14new2unixsome of us have to work at it to play with it. :)
16:53.31wethrinHA
16:53.37new2unixWethrin: you still coming to EuroBSD in November?
16:53.41wethrinNope
16:54.40new2unixWethrin: I am going to send you a flyer which should help change your mind.
16:55.11wethrinI've seen the flyer at FOSDEM. I still can't make it
16:55.45new2unixbah
16:57.52new2unixexcellent. Wethrin's spot is up for grabs. Who else is interested? Dont all rush at once. :)
17:17.40*** join/#gllug tgf21 (i=debian-t@metelkova.mirovni-institut.si)
17:19.21Leedsmorning tgf21
17:22.32formiI am here just testing
17:23.17tgf21ups wrong window
17:25.23tgf21Leeds: what makes you think it is the morning here?
17:25.54Leedsnothing... but it is the morning here
17:26.12LeedsI don't even know where .si is
17:26.34tgf21me neither,
17:27.24LeedsSlovenia
17:28.12tgf21actually, funnily enought I spend most of the morning with one Slovenian
17:29.17tgf21in Hendon
17:30.34GeorgeI slammed my thumb in the wardrobe whilst closing the door
17:30.35George:'(
17:31.51tgf21George: and not being ashamed enough, you tell the world!
17:34.31Georgeit hurt!
18:29.21Leedssleep time
18:50.10mozratnew2unix: ping!!!
18:52.29wethrinmozrat: You travel too much! Get me some free trips!
18:53.25mozratwethrin: last one for a while
18:54.10wethrindefine while :)
18:54.30mozratumm - this is the last office for the client thats been making me travel
18:56.14\simonmozrattttttttttt!!!!!!!!!!!!!!!!!!!!!!!!!!!
18:56.20mozrathey \simon!!!!
18:56.43\simoni had something to ask you but you're lucky i forgot what it was... for sure something not important
18:57.26mozratlol
19:00.52new2unixmozrat: pong
19:01.24mozratah-ha!
19:01.35mozratnew2unix: prepare yourself
19:01.39mozratibot kill new2unix
19:01.43ibotACTION shoots a charged pseudotachyon gun at new2unix
19:02.14mozratnew2unix: http://www.beerandspeech.org/index.php?/archives/31-LinuxWorld-Conference-and-Expo.html << scroll down till you see your name
19:02.31mozrat:)
19:02.58new2unixmozrat: is it work safe?
19:03.10mozratnew2unix: yes
19:05.10new2unix:)
19:05.23mozratwere you there?
19:05.30new2unixSo it was worth it at the end (You bought a Tshirt)
19:05.41mozratI confused people mightily on that stand
19:05.45new2unixNot the 2nd day, no.
19:05.48mozratyes, I'm actually wearing it right now
19:05.50mozratahh
19:08.45new2unixInteresting blog. Did you pickup a free CD and poster at the OpenBSD stand?
19:10.33mozratnew2unix: Hmm no. I already have the latest CD and 2 posters from last year
19:10.53mozratI didn't not take one out of interest though, it is a cool stand every year
20:44.37*** join/#gllug ibot (i=ibot@pdpc/supporter/active/TimRiker/bot/apt)
20:44.37*** topic/#gllug is Greater London LUG. See us at the LinuxWorld Expo in Olympia this week!
21:08.56\simonhttp://ftp1.sourceforge.net/souptonuts/How_to_Linux_and_Open_Source.txt
21:12.50*** join/#gllug ar (n=ar@82.152.153.79)
23:06.55GeorgeSLEEP!!!

Generated by irclog2html.pl by Jeff Waugh - find it at freshmeat.net! Modified by Tim Riker to work with blootbot logs, split per channel, etc.