01:02.10 | *** join/#gllug DiscordianUK (n=clive@chills.demon.co.uk) |
01:04.07 | *** join/#gllug eye69 (n=magnus@yoshi.upcore.net) [NETSPLIT VICTIM] |
01:04.07 | *** join/#gllug Cope (n=stephen@87-194-125-249.bethere.co.uk) [NETSPLIT VICTIM] |
02:39.47 | *** join/#gllug Leeds (n=richardc@static-ip-251-82-134-202.rev.dyxnet.com) |
05:41.03 | *** join/#gllug DiscordianUK (n=ch@chills.demon.co.uk) |
05:55.02 | *** join/#gllug Leeds (n=richardc@static-ip-251-82-134-202.rev.dyxnet.com) |
07:06.15 | j0nr | morning |
07:07.08 | DiscordianUK | Morning |
07:57.02 | Mohan | Morning all |
07:58.29 | *** join/#gllug boudiccas (n=boudicca@88-108-29-137.dynamic.dsl.as9105.com) |
08:25.46 | *** join/#gllug zeroXten (n=zeroXten@80.83.157.42) |
08:34.36 | *** join/#gllug DiscordianUK (n=clive@chills.demon.co.uk) |
09:18.17 | *** join/#gllug bilarh (n=henrik@128-177-27-125.ip.openhosting.com) |
09:22.01 | bilarh | damn virtual server hung on me |
09:23.26 | Mohan | I am searching for notes on setting up a ssh account which would allow the user to create a tunnel but doesnt give interactive shell |
09:23.52 | bilarh | look into the authorized_keys documentation |
09:24.00 | bilarh | there's ways to restrict commands through there |
09:24.01 | Mohan | I know that its possible by having few entries in authorized_keys file but couldnt find it. |
09:24.17 | Mohan | i mean the documentation |
09:24.43 | ChoHag | authorized_keys (5) - OpenSSH SSH daemon |
09:26.20 | Mohan | its strange that i dont see that in centos. No entry for authorized_keys in section 5 of the manual |
09:26.43 | ChoHag | apropos authorized_keys |
09:26.59 | bilarh | http://stackoverflow.com/questions/8021/allow-user-to-set-up-an-ssh-tunnel-but-nothing-else |
09:28.01 | bilarh | combined with this, possibly: http://moblog.wiredwings.com/archives/20080514/Setting-up-a-restricted-SSH-tunnel-user-on-Debian.html |
09:28.53 | Mohan | thanks guys. |
09:33.17 | bilarh | np |
09:33.44 | ChoHag | As I am still building $box[4] (automatic process? hah!), I rebooted it. Cluster of $box[1-3] subsequently failed in weird and wonderful ways. |
09:34.08 | ChoHag | So it's kind of the opposite of failover. If the spare box dies, the cluster fails. |
09:34.48 | bilarh | hehe :D |
09:57.38 | *** join/#gllug DiscordianUK (n=ch@chills.demon.co.uk) |
10:02.20 | ChoHag | Twice now we have been told to keep the monitors clear so that $customers don't see any problems. |
10:02.38 | ChoHag | To the point of not fixing things until they've gone. |
10:02.55 | DiscordianUK | No red alerts etc? |
10:03.21 | DiscordianUK | Not doing 'due diligence' are you? |
10:04.27 | ChoHag | I think it's time to look at xkcd. |
10:04.53 | DiscordianUK | I must say getting 802.11g working with Umbongo was easy |
11:01.38 | zeroXten | what chipset DiscordianUK ? |
11:06.02 | *** join/#gllug [Discordian] (n=ch@chills.demon.co.uk) |
11:06.51 | [Discordian] | It's an Atheros AR2413 |
11:21.31 | zeroXten | hmm, is that an exernal card? |
11:23.08 | DiscordianUK | No it's an internal one , this is a laptop |
11:24.03 | DiscordianUK | What external card do you have? |
11:33.24 | *** join/#gllug DiscordianUK (n=clive@chills.demon.co.uk) |
11:40.35 | DiscordianUK | reads about 132 quid laptops at currys |
11:43.18 | wethrin | Pet they're rubbish |
11:43.21 | wethrin | *Bet |
11:43.56 | DiscordianUK | Dunno I have a couple of Acer laptops and they're pretty good |
11:44.05 | DiscordianUK | 40Gb disks though |
11:44.33 | wethrin | That seems silly |
11:44.41 | wethrin | For an extra pound, they could have 140GB |
11:45.17 | DiscordianUK | I mean the ones I have and bought for 400-500 quid back in 2006/7 |
11:45.46 | DiscordianUK | The 132 quid ones have 120gb and 1Gb RAM |
11:46.36 | wethrin | Ah. They'll probably be rubbish, then. |
11:50.07 | DiscordianUK | Dunno I've no experience with Intel Atom CPUs |
11:53.33 | zeroXten | i've got a "webbook", its pretty cool. Not very powerful but supports ubuntu perfectly (hardy came preinstalled) |
12:02.31 | Ginger_Dan | http://www.pcworld.com/article/163765/so_long_geocities_we_forgot_you_still_existed.html |
12:02.35 | Ginger_Dan | Geocities is dead |
12:08.11 | *** join/#gllug Leeds (n=richardc@n219079213112.netvigator.com) |
12:09.27 | zeroXten | huh |
12:16.12 | *** join/#gllug [Discordian] (n=ch@chills.demon.co.uk) |
12:37.16 | *** join/#gllug dick_turpin (n=dick_tur@host217-34-163-30.in-addr.btopenworld.com) |
13:23.30 | *** part/#gllug dick_turpin (n=dick_tur@host217-34-163-30.in-addr.btopenworld.com) |
13:27.19 | *** join/#gllug mindbendr (n=neveraga@82.196.231.29) |
13:28.07 | mindbendr | hi |
13:28.18 | mindbendr | z00dax: i think nfs bug is back with Centos5.3 |
13:28.32 | mindbendr | z00dax: nfsnobody:x:4294967294:4294967294:Anonymous NFS User:/var/lib/nfs:/sbin/nologin |
13:29.39 | mindbendr | z00dax: -rw------- 1 root root 137438953440 Apr 23 13:16 /var/log/faillog |
13:31.28 | mindbendr | z00dax: I`ve got a Dom0 on an LVM 10 GB, 5 GB was free on the system, after upgrading centos5.2 to 5.3, during shutdown -hf , the system went out of space all of a sudden |
13:54.36 | ChoHag | Well I have good news and bad news. |
13:54.45 | ChoHag | The good news is I'm out of that disaster. |
13:54.52 | ChoHag | The bad news is that 'my contract expired'. |
13:55.13 | [Discordian] | Oh dear sorry to hear that |
13:55.28 | ChoHag | Not as sorry as I'll be next month if I still don't have a replacement. |
13:56.06 | ChoHag | Still at least it means I can spend more than scratching together a few minutes in the evening to look. |
13:56.15 | [Discordian] | Heh |
13:56.32 | [Discordian] | I'm sure there's still lots of work out there |
13:56.38 | ChoHag | No more stories of utter incompetence and unbelievable stupidity to come from me though. |
13:56.53 | ChoHag | Now more whining either. |
14:09.53 | ChoHag | Ok one more. |
14:10.07 | ChoHag | Tossers wiped my phone before I had a chance to save the numbers. |
14:10.34 | [Discordian] | Gonna get escorted to the door shortly? |
14:10.51 | ChoHag | I'm already home. |
14:11.19 | ChoHag | Confirming undying friendship and promising to stay in touch has already been done. |
14:11.21 | [Discordian] | Ahhh I see , the full business then |
14:11.57 | ChoHag | Already attacking my CV in fact. |
14:12.15 | bilarh | chohag: sucks man :( |
14:12.39 | ChoHag | Yeah well I was getting out anyway. I just wish it was on my terms and not theirs. |
14:12.49 | [Discordian] | heh when we got made redundant at LookM |
14:13.10 | [Discordian] | Looksmart the pub made 1000s that afternoon |
14:14.08 | Mohan | Is it possible to tunnel ftp traffic over ssh ? |
14:14.08 | bilarh | i love that "please stay in touch" crap when you leave somewhere |
14:14.16 | bilarh | if it was so fucking great you wouldn't be leaving, would you? :D |
14:14.21 | ChoHag | Mohan: Yes, but only passive ftp. |
14:14.27 | bilarh | mohan: yes |
14:14.31 | bilarh | mohan: see chohag :) |
14:14.58 | ChoHag | Though maybe you could forward port 20 back. |
14:15.01 | bilarh | mohan: although you could use sftp instead |
14:15.08 | Mohan | well this is my scenario dynamic(client IP) ---> Linuxbox(tunnel) ----> windows ftp server |
14:15.10 | ChoHag | You'd need to be root on the destination though. |
14:15.33 | bilarh | passive ftp it is, then |
14:15.50 | bilarh | although, having said that, that doesn't always seem to work either |
14:15.59 | bilarh | ftp is a sucky protocol |
14:16.05 | bilarh | is being helpful :) |
14:16.36 | ChoHag | Yeah not using ftp would be my first choice. |
14:16.48 | Mohan | well the problem i am having is login channel is working and data port is not working |
14:16.51 | ChoHag | What about sftp/scp to a smb-mounted directory on linux box? |
14:17.05 | ChoHag | Also, what's the job sites the kids are all using these days? |
14:17.36 | Mohan | windows server / linux box is hosted in different location |
14:18.14 | bilarh | chohag: jobserve seems good, and i quite like reed as well, but i can't quite work out why |
14:18.25 | Mohan | i would recommend cwjobs |
14:18.29 | ChoHag | Really? Reed were always a waste of time to me. |
14:19.16 | Mohan | reed is not for technical jobs |
14:19.16 | bilarh | reed used to have loads of computery jobs |
14:19.32 | Mohan | well when i was searching for jobs i didnt get a single reply |
14:19.52 | Mohan | from reed, but jobserve and cwjobs seems to be fine |
14:20.23 | ChoHag | Ew finance. Never doing that again. |
14:20.39 | ChoHag | I'd rather work in McDonald's. At least there's some honesty in that. |
14:22.23 | bilarh | what's wrong with getting lots of tax payers money for not a lot of work? |
14:22.39 | bilarh | if that's your gebit, it's either politician or banker, i'm afraid |
14:23.34 | ChoHag | What's a gebit? |
14:28.07 | z00dax | mindbendr: make sure you file a bugreport |
14:30.37 | mindbendr | z00dax: i did |
14:31.07 | mindbendr | z00dax: would a sparse file cause such a problem during the shutdown? |
14:31.34 | ChoHag | "I would have printed out every single page of the spec, and set them all on fire." |
14:31.34 | mindbendr | z00dax: I had 5 GB diskspace and all of a sudden, it became 0 and couldn't shutdown the system properly |
14:32.11 | z00dax | mindbendr: i stopped using nfs a long time back to even care anymore personally |
14:32.18 | ChoHag | Somebody doesn't like Adobe. |
14:32.45 | mindbendr | z00dax: i don't use it as well but the package is being shipped by default i think |
14:33.46 | z00dax | mindbendr: in which case the issue should impact quite a few people and there should be a solution that the community can come up with |
14:34.09 | *** join/#gllug DiscordianUK (n=ch@chills.demon.co.uk) |
14:36.16 | DiscordianUK | And yay it worked |
15:13.44 | *** join/#gllug celesteh (n=celesteh@sblug/member/celesteh) |
15:38.28 | ChoHag | Quite unusual to read a Ben Elton book with an even partially happy ending. |
15:51.49 | *** join/#gllug kraptv (n=ryan@magic.skylab.org) |
17:24.48 | mindbendr | have a good weekend all |
17:57.38 | j0nr | ok here's one for you... ihave a file with a list in it. how can i convert this list to be all on a single line? |
17:57.45 | j0nr | i.e. : |
17:57.46 | j0nr | a |
17:57.46 | j0nr | b |
17:57.47 | j0nr | c |
17:57.50 | j0nr | into a b c |
17:59.24 | DiscordianUK | What do you think? |
17:59.54 | DiscordianUK | I can think of several ways |
18:00.29 | DiscordianUK | But honestly you keep asking Linux 101 questions |
18:00.39 | DiscordianUK | and it gets very tedious |
18:01.46 | DiscordianUK | echo $file|awk {'print $1 '} might do what you want |
18:02.06 | DiscordianUK | errr cat file | even |
18:09.13 | *** join/#gllug Armand (n=me@5ad1d30b.bb.sky.com) |
18:39.52 | Armand | Woof! |
18:41.51 | *** join/#gllug DiscordianUK (n=ch@chills.demon.co.uk) |
18:49.09 | j0nr | DiscordianUK: sorry for the questions (good memory you have) but i don't perform tasks like this very often, so all the disrepencies of syntax etc i can never remember |
18:50.17 | DiscordianUK | I'm a sysadmin, memory is an essential quality |
18:50.31 | DiscordianUK | Part of the job is recognising patterns |
18:53.14 | DiscordianUK | cat filename|awk '{ print $1 }' is one way |
18:53.35 | j0nr | that just seems to stack them just like cat file would |
18:55.09 | j0nr | it probably for a very stupid reason, but i have a list of files in my file i want to remove from an ftp directory and all i can think of is if i can get them in a single line, i can copy/paste that line after 'rm' in my ftp client |
18:55.41 | DiscordianUK | cat file|fmt |
18:56.11 | DiscordianUK | That's entirely the wrong way |
18:56.44 | j0nr | yeah maybe, but it would work no? |
18:57.12 | DiscordianUK | for file in `cat filename`;do rm $file;done |
18:57.43 | j0nr | but i dont think i can run commands like that in my ftp client...let me try |
18:57.57 | DiscordianUK | No you won't be able to in ftp |
18:58.34 | DiscordianUK | The cat file|fmt thing will give you a b c |
18:58.42 | j0nr | it gives me: |
18:58.44 | j0nr | a b c |
18:58.47 | j0nr | d e f |
18:59.00 | j0nr | as if it is word wrapping |
18:59.12 | DiscordianUK | it is |
18:59.42 | DiscordianUK | This is the problem with incomplete descriptions of problems |
19:00.13 | DiscordianUK | How many lines do you have in the list of files? |
19:00.43 | DiscordianUK | and knowing you do any of the filenames have spaces in them? |
19:00.53 | j0nr | aha |
19:01.06 | j0nr | cat file | fmt -w 1000 >> newfile |
19:01.14 | j0nr | -w sets width...so i set it silly high |
19:01.19 | DiscordianUK | yep |
19:01.27 | j0nr | does the job |
19:01.36 | DiscordianUK | it's a useful tool |
19:01.52 | j0nr | a first for me |
19:01.54 | j0nr | thanks |
19:02.02 | DiscordianUK | that gets forgotten a lot |
19:02.53 | j0nr | hmm but how to copy/paste a very long line that goes off the screen? |
19:03.29 | DiscordianUK | scroll right? |
19:03.58 | DiscordianUK | I really can't help with GUI stuff |
19:04.00 | j0nr | ah, no its ok i got it... worked too :) |
19:04.07 | j0nr | im in vi |
19:04.19 | j0nr | but just cat file and i can select that output |
19:04.35 | j0nr | thank you very much |
19:05.04 | DiscordianUK | I've no idea what I'd do |
19:05.18 | DiscordianUK | But I run servers not use em |
20:40.41 | Mohan | j0nr: you could also use something like this cat file | xargs. for ex seq 10 | xargs does the same |
20:41.22 | DiscordianUK | not in ftp |
20:41.46 | DiscordianUK | which he elucidated after |
20:43.59 | DiscordianUK | There's always more than one way |
20:44.12 | DiscordianUK | But he doesn't learn |
20:44.31 | DiscordianUK | Which is my problem with him |
20:44.31 | Mohan | does cat command work in ftp ? |
20:45.07 | DiscordianUK | It's not Linux101 here |
20:45.31 | Mohan | ok |
20:46.12 | Mohan | DiscordianUK: are you familiar with lftp ? |
20:46.17 | DiscordianUK | Most of us have or do work in Unix environments |
20:46.26 | DiscordianUK | No |
20:46.46 | DiscordianUK | I don't use gui clients for ftp |
20:47.15 | Mohan | well lftp aint a gui and its infact a popular scriptable shell client |
20:47.39 | DiscordianUK | I use ncftp |
20:48.02 | DiscordianUK | for external stuff |
20:48.20 | DiscordianUK | For internal stuff sftp |
20:48.41 | Mohan | cool does ncftp support reverse mirroring ? |
20:49.19 | DiscordianUK | I don't even know what that means |
20:49.40 | Mohan | well what i want to do exactly is mirror a linux ftp folder to a window ftp folder |
20:50.03 | Mohan | and put it in a cron so that both folders are synchronised |
20:50.13 | DiscordianUK | on the same box? |
20:50.44 | DiscordianUK | i'm thinking rsync is the right solution |
20:51.28 | Mohan | nope windows box and linux box hosted in different locations |
20:51.56 | DiscordianUK | I'd use rsync |
20:51.56 | Mohan | i thought of mounting the windows folder using samba and using rsync to sync it |
20:52.28 | Mohan | but i am looking for a more easier solution |
20:52.37 | DiscordianUK | Unless you want huge bandwidth bills |
20:53.17 | Mohan | thats the only way i can use rsync a folder in linux to a folder in windows. |
20:53.48 | DiscordianUK | I'm not sure that's true |
20:54.33 | DiscordianUK | But I know nothing about windows |
20:54.41 | Mohan | alright. cheers. |
20:54.44 | DiscordianUK | So I'll shut up |
20:55.04 | Mohan | so you into freebsd and solaris ? |
20:55.26 | DiscordianUK | I run those yes |
20:55.35 | DiscordianUK | I like unix oses |
20:55.49 | DiscordianUK | They make sense to me |
20:55.53 | Mohan | does solaris has a firewall ? |
20:56.01 | DiscordianUK | 3 yes |
20:56.19 | DiscordianUK | choose anyone |
20:56.30 | Mohan | can you name it please. |
20:56.31 | DiscordianUK | ipfilter, pf, ipfw |
20:56.45 | DiscordianUK | Those are the three |
20:57.21 | DiscordianUK | I'd choose ipfilter |
20:57.31 | Mohan | ok thanks. |
20:57.49 | Mohan | ipfilter is similare to iptables i suppose |
20:57.57 | DiscordianUK | err no |
20:58.12 | DiscordianUK | It's a bit different |
20:59.04 | DiscordianUK | iptables is perfectly serviceable |
20:59.15 | Mohan | yup |
20:59.20 | DiscordianUK | There are GUIs to configure it |
20:59.24 | *** join/#gllug jpds (n=jpds@ubuntu/member/jpds) |
20:59.39 | DiscordianUK | If you don't want to edit it by hand |
21:00.08 | Mohan | well yes couple of webbased gui available and its infact easier to edit in vi. |
21:00.46 | DiscordianUK | or emacs which is what I use |
21:00.48 | Mohan | even for unixoses webmin is there and it should be having the gui module for the firewall |
21:01.10 | DiscordianUK | makes the sign of the cross at webmin |
21:02.36 | Mohan | well i mentioned it just to prove a point there is gui available for unixos firewall aswell. |
21:02.58 | DiscordianUK | i meant unix |
21:03.15 | DiscordianUK | and specifically for linux |
21:03.28 | DiscordianUK | Like fwbuilder, firestarter etc |
21:03.44 | Mohan | ok |
21:06.16 | Mohan | fwbuilder is generic and not only for linux and firestarter seems relatively new gui |
21:06.29 | DiscordianUK | Indeed |
21:06.42 | DiscordianUK | fwbuilder is cross platform |
21:09.40 | Mohan | hmm true. |
21:10.28 | DiscordianUK | I've no idea about doze firewall guis |
21:10.43 | DiscordianUK | I don't do doze |
21:12.00 | Mohan | so am i. |
21:12.56 | ChoHag | Firewalls have GUIs? |
21:13.01 | Mohan | I was searching for good notes about xargs and it seems its not documented well |
21:13.20 | Mohan | well do you know any as xargs has been there for a while. |
21:13.58 | DiscordianUK | xargs isn't a firewall |
21:14.05 | DiscordianUK | It's a utility |
21:14.19 | Mohan | i know, xargs is a small shell utility |
21:14.24 | DiscordianUK | kinda find on acid |