[SLUG] Re: Tricky ssh question: Solved
On Fri, 2008-03-28 at 12:46 +0900, jam wrote: Hi Somewhere on the internet is my father-in-law Using a fresh install of Gutsy, and having apt-get install openssh-server he tunnels to me ssh -R 1200:localhost:22 [EMAIL PROTECTED] I then go back the tunnel to his machine ssh -p 1200 [EMAIL PROTECTED] and get the dreaded ssh_exchange_identification: Connection closed by remote host Now the interesting bits: If he does this with a SuSE10 machine everything works If I do it on another fresh-gutsy somewhere else on the internet it works There is a moral here :-) Despite all protestations of 'I did etc' he did NOT complete the apt-get install openssh-server bit. Who knows wtf he did do :-), but on skype he did say OK all well So after installing openssh-server everything works as expected. Thanks and apologies to all James -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Linux on Iphone
I can see if it had 3.5g a decent camera, real gps and ran Linux I would go for it... But there are linux Phones coming out that are more open, or run Linux by default these are the better options. On Tue, Apr 1, 2008 at 12:42 PM, James Dumay [EMAIL PROTECTED] wrote: Deepan, As far as I am aware Linux cannot be run on the iPhone (Im not sure why you would want to either). James On Tue, Apr 1, 2008 at 8:53 AM, Deepan [EMAIL PROTECTED] wrote: Hi All, I am wondering if anyone has managed to install linux on iphone? I am aware of ipodlinux, for ipod. Not sure if someone has hacked into iphone. Openmoko is a nice alternative though. Regards Deepan Sudoku Solver: http://www.sudoku-solver.net/ -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html -- -- Regards Morgan Storey,A+, MCSE:Security. Senior Network and Security Consultant. -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Linux on Iphone
On 01/04/2008, at 8:53 AM, Deepan wrote: Hi All, I am wondering if anyone has managed to install linux on iphone? I am aware of ipodlinux, for ipod. Not sure if someone has hacked into iphone. Openmoko is a nice alternative though. Hi Deepan, I can't possibly understand why you'd want to run Linux on an iPhone. The reason why one buys an iPhone is for the UI, not the device; there's better options out there if you're wanting to run Linux (no removable storage, for one). Even on Windows Mobile devices that have supported Linux for a very long time, and on the tiny few that actually have phone functionality, I'm not aware of any decent, well implemented open source dialer/phone suites. i.e. say goodbye to actually using it as an actual phone! If you want an open source, Linux based phone, the Openmoko or Android projects, in theory, should be eventuating into commercial products shortly. Cheers, R -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
RE: [SLUG] Linux on Iphone
As a Linux guy an iphone owner im confused as why you need to install linux on a iphone ? .. What are you trying to do, it already runs a BSD based deriviant, I have SSH, Samaba a console and everything else I need, I can install apache and any dev tools I need. What are you interested in doing ? chances are it does it. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Morgan Storey Sent: Wednesday, 2 April 2008 9:07 AM To: James Dumay Cc: slug@slug.org.au Subject: Re: [SLUG] Linux on Iphone I can see if it had 3.5g a decent camera, real gps and ran Linux I would go for it... But there are linux Phones coming out that are more open, or run Linux by default these are the better options. On Tue, Apr 1, 2008 at 12:42 PM, James Dumay [EMAIL PROTECTED] wrote: Deepan, As far as I am aware Linux cannot be run on the iPhone (Im not sure why you would want to either). James On Tue, Apr 1, 2008 at 8:53 AM, Deepan [EMAIL PROTECTED] wrote: Hi All, I am wondering if anyone has managed to install linux on iphone? I am aware of ipodlinux, for ipod. Not sure if someone has hacked into iphone. Openmoko is a nice alternative though. Regards Deepan Sudoku Solver: http://www.sudoku-solver.net/ -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html -- -- Regards Morgan Storey,A+, MCSE:Security. Senior Network and Security Consultant. -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Linux on Iphone
Ryan Verner wrote: On 01/04/2008, at 8:53 AM, Deepan wrote: Hi All, I am wondering if anyone has managed to install linux on iphone? I am aware of ipodlinux, for ipod. Not sure if someone has hacked into iphone. Openmoko is a nice alternative though. Hi Deepan, I can't possibly understand why you'd want to run Linux on an iPhone. It is because I can. It is same as running Linux on macbook. -- Deepan Sudoku Solver http://www.sudoku-solver.net/ -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Linux on Iphone
I looked at this one a while ago: http://www.imcosys.com/html/english.html Only reason I didn't go with it is no 3g and no bluetooth 2.0 On Wed, Apr 2, 2008 at 9:51 AM, Brett Olsen [EMAIL PROTECTED] wrote: As a Linux guy an iphone owner im confused as why you need to install linux on a iphone ? .. What are you trying to do, it already runs a BSD based deriviant, I have SSH, Samaba a console and everything else I need, I can install apache and any dev tools I need. What are you interested in doing ? chances are it does it. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Morgan Storey Sent: Wednesday, 2 April 2008 9:07 AM To: James Dumay Cc: slug@slug.org.au Subject: Re: [SLUG] Linux on Iphone I can see if it had 3.5g a decent camera, real gps and ran Linux I would go for it... But there are linux Phones coming out that are more open, or run Linux by default these are the better options. On Tue, Apr 1, 2008 at 12:42 PM, James Dumay [EMAIL PROTECTED] wrote: Deepan, As far as I am aware Linux cannot be run on the iPhone (Im not sure why you would want to either). James On Tue, Apr 1, 2008 at 8:53 AM, Deepan [EMAIL PROTECTED] wrote: Hi All, I am wondering if anyone has managed to install linux on iphone? I am aware of ipodlinux, for ipod. Not sure if someone has hacked into iphone. Openmoko is a nice alternative though. Regards Deepan Sudoku Solver: http://www.sudoku-solver.net/ -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html -- -- Regards Morgan Storey,A+, MCSE:Security. Senior Network and Security Consultant. -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html -- -- Regards Morgan Storey,A+, MCSE:Security. Senior Network and Security Consultant. -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Linux on Iphone
On Wed, 2 Apr 2008 09:06:45 +1100, Morgan Storey [EMAIL PROTECTED] said: I can see if it had 3.5g a decent camera, real gps and ran Linux I would go for it... But there are linux Phones coming out that are more open, or run Linux by default these are the better options. So there's OpenMoko [1], Android [2], imcosys [3]. Any recommendations on one of these (or others) that I can buy right here right now? My Palm Treo 650 has been dropped one too many times and is getting a bit flaky. I want a phone/PDA that does Contacts/ToDo/Diary/Memos well, and sync's with Linux easily. I had a Linux based Zaurus for a while a few years ago and didn't think much of it - went back to Palm. [1] http://www.openmoko.org/ [2] http://code.google.com/android/ [3] http://www.imcosys.com/html/english.html Thanks, -- Sonia Hamilton. -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
[SLUG] Grub Error
Hi All, I deleted my windows partition using live CD. Now my machine won't boot into linux. It stops at the grub prompt with the error operating system not found. How do I reinstall grub using live CD? Or should I boot into my linux operating system with root, kernel and initrd option in grub and then install grub ? Regards Deepan Sudoku Solver: http://www.sudoku-solver.net/ -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
[SLUG] http://goodbye-microsoft.com/ for Ubuntu?
Hello, I've just sold another lost soul to try to install Ubuntu on their (currently failing) Windows Vista laptop. I like a lot the http://goodbye-microsoft.com/ way - just click on a link from Windows and it'll take care of everything from there. I also think I remember seeing something similar for other distro's but I can't find it now. Does anyone know of such a thing? I'm NOT refering to wubi, which installs Linux on top of the Windows partition. I'm looking for a way to setup dual-boot (shrink windows, install linux next to it), just like goodbye-microsoft does only for Ubuntu. Thanks, --Amos -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Grub Error
On Wed, 2 Apr 2008 06:26:18 +0530, Deepan [EMAIL PROTECTED] said: Hi All, I deleted my windows partition using live CD. Now Always a positive move :-) my machine won't boot into linux. It stops at the grub prompt with the error operating system not found. How do I reinstall grub using live CD? Or should I boot into my linux operating system with root, kernel and initrd option in grub and then install grub ? Boot into live cd, check /boot partition is mounted (usually /boot is under / ie check / is mounted). chroot the / partition, and run grub-install - check man grub-install for options Google for more examples - I've probably missed something... Thanks, -- Sonia Hamilton. -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] http://goodbye-microsoft.com/ for Ubuntu?
On Wed, 2 Apr 2008 12:22:05 +1100, Amos Shapira [EMAIL PROTECTED] said: Hello, I've just sold another lost soul to try to install Ubuntu on their (currently failing) Windows Vista laptop. I like a lot the http://goodbye-microsoft.com/ way - just click on a link from Windows and it'll take care of everything from there. If no one posts in with an Ubuntu version, I wouldn't mind building one this weekend at Barcamp with some other people. Chat me off list - I would especially need a Winblows box (or VM - even better) to play with... Thanks, -- Sonia Hamilton. -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
[SLUG] Re: http://goodbye-microsoft.com/ for Ubuntu?
On Wed, Apr 2, 2008 at 12:22 PM, Amos Shapira [EMAIL PROTECTED] wrote: I also think I remember seeing something similar for other distro's but I can't find it now. Does anyone know of such a thing? Turns out that it's http://lubi.sourceforge.net/unetbootin.html Sorry for the noise... --Amos -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
[SLUG] Perl Question
Can anyone with greater knowledge than myself explain this regex behaviour. This code segment works as intended: if ( $_ =~ m/^Box(\d) ([A-Z]+(\. | ?)[A-Z]* ?[A-Z]*).*?(\d).*?(\d\d\.\d \d).*?(\d*\.\d\d)L/) { $box = $1; $name = $2; $place = $4; $time = $5; $margin = $6; $name =~ s/\.//; } However if the $name substitution is inserted above $place like so it fails to allocate values to $place, $time and $margin. if ( $_ =~ m/^Box(\d) ([A-Z]+(\. | ?)[A-Z]* ?[A-Z]*).*?(\d).*?(\d\d\.\d \d).*?(\d*\.\d\d)L/) { $box = $1; $name = $2; $name =~ s/\.//; $place = $4; $time = $5; $margin = $6; } Undoubtedly something simple that a self taught dummy has failed to grasp. Regards, Peter. Happy proud to be, 100% Microsoft free. -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Perl Question
On Wed, Apr 2, 2008 at 3:09 PM, Peter Abbott [EMAIL PROTECTED] wrote: Can anyone with greater knowledge than myself explain this regex behaviour. This code segment works as intended: if ( $_ =~ m/^Box(\d) ([A-Z]+(\. | ?)[A-Z]* ?[A-Z]*).*?(\d).*?(\d\d\.\d \d).*?(\d*\.\d\d)L/) { $box = $1; $name = $2; $place = $4; $time = $5; $margin = $6; $name =~ s/\.//; } However if the $name substitution is inserted above $place like so it fails to allocate values to $place, $time and $margin. if ( $_ =~ m/^Box(\d) ([A-Z]+(\. | ?)[A-Z]* ?[A-Z]*).*?(\d).*?(\d\d\.\d \d).*?(\d*\.\d\d)L/) { $box = $1; $name = $2; $name =~ s/\.//; $place = $4; $time = $5; $margin = $6; } Undoubtedly something simple that a self taught dummy has failed to grasp. I suspect that the added line resets the back-references (the $1..$6). Try moving it under the $margin assignment (i.e. until after you are done with the back-references). --Amos -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Perl Question
On Wed, Apr 2, 2008 at 1:09 AM, Peter Abbott [EMAIL PROTECTED] wrote: [..snip..] if ( $_ =~ m/^Box(\d) ([A-Z]+(\. | ?)[A-Z]* ?[A-Z]*).*?(\d).*?(\d\d\.\d \d).*?(\d*\.\d\d)L/) { $box = $1; $name = $2; $name =~ s/\.//; $place = $4; $time = $5; $margin = $6; } Undoubtedly something simple that a self taught dummy has failed to grasp. Hi Peter, I'm not too sure about this, but I believe when you do $name =~, you're effectively starting a new regular expression which means it clears $1, $2, $3, $4, etc (unless you use brackets inside the new regular expression). Maybe someone else can explain it better than me? :-) HTH! - Gonzalo -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
[SLUG] Perl Question
Thanks to all who replied. I am the wiser now. - Regards, Peter. -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Perl Question
Peter Abbott wrote: if ( $_ =~ m/^Box(\d) ([A-Z]+(\. | ?)[A-Z]* ?[A-Z]*).*?(\d).*?(\d\d\.\d \d).*?(\d*\.\d\d)L/) { $box = $1; $name = $2; $place = $4; $time = $5; $margin = $6; $name =~ s/\.//; } correcto However if the $name substitution is inserted above $place like so it fails to allocate values to $place, $time and $margin. if ( $_ =~ m/^Box(\d) ([A-Z]+(\. | ?)[A-Z]* ?[A-Z]*).*?(\d).*?(\d\d\.\d \d).*?(\d*\.\d\d)L/) { $box = $1; $name = $2; $name =~ s/\.//; $place = $4; $time = $5; $margin = $6; } incorrecto and hard to maintain You've also introduced a very subtle bug that I could not, at first glance, see. The $name substitution resets $1 ... $6. Please write maintainable code that is easy to understand. I wouldn't want to be given the second code example buried amongst 1000+ lines of perl and then asked to fix the obscure bug. cheers rickw -- Rick Welykochy || Praxis Services || Internet Driving Instructor The best way to accelerate a PC is 9.8 m/s2 -- anon -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html