Re: Shell Scripting, and Kernel Compiling Lessons at OSTC.

2003-07-09 Thread Christopher Sawtell
On Thu, 10 Jul 2003 11:45, you wrote: > I would be keen on a "OK so I've just installed linux, > so how do I use this damn thing course". For what purpose do you want to use "this damn thing". > I know at > least a couple of other people who I've introduced to > linux that might also be keen on s

RE HD Installs of Knoppix

2003-07-09 Thread Michael Pearce
Hi Vick... Re the networking there is a script to run called . netcardconfig It is also in the menu K->KNOPPIX->Network/Internet->Network Card Configuration Re the altering of packages etc. Ive just been playing with re-mastering knoppix. It is suprisingly easy to do just fol

RE: Shell Scripting, and Kernel Compiling Lessons at OSTC.

2003-07-09 Thread Brad Beveridge
Plain paranoia I expect. Kernel compiles can take a long time, if you walk away from the console, a simple Ctl-C & you've just given root access to anyone. Brad > -Original Message- > From: C Falconer [mailto:[EMAIL PROTECTED] > Sent: Thursday, 10 July 2003 12:30 p.m. > To: Linux Users

Re: pdf question

2003-07-09 Thread Tim Wright
On Thu, 10 Jul 2003, Michael JasonSmith wrote: > On Thu, 2003-07-10 at 14:56, Nick Rout wrote: > > the fonts now look crap on screen, but it prints fine. > A little trick for the fonts: use only the "standard" fonts, such as > Helvetica, Courier, and Palatino. In LaTeX: > \usepackage{palatino

Re: unixtime 2 timedate

2003-07-09 Thread Matthew Gregan
On Thu, Jul 10, 2003 at 02:01:19PM +1200, Chris Bayley wrote: > Is there a useful CLI (bash) or web based tool for converting unix > time to local time date and v.versa ? If, by "UNIX time", you mean the date and time in seconds since the Epoch, date(1) will do this: $ date -r 10 Sun Sep

Re: pdf question

2003-07-09 Thread Michael JasonSmith
On Thu, 2003-07-10 at 14:56, Nick Rout wrote: > the fonts now look crap on screen, but it prints fine. A little trick for the fonts: use only the "standard" fonts, such as Helvetica, Courier, and Palatino. In LaTeX: \usepackage{palatino} in the preamble will make everything look better :) --

Re: Shell Scripting, and Kernel Compiling Lessons at OSTC.

2003-07-09 Thread Nick Rout
pcmcia is one of those third party efforts that has been wrapped into the kernel. The kernel code and the third party (pcmcia-cs) code are now developed in parallel, although they are not identical. I discovered this when putting gentoo on my laptop. The strategy for that was to disable pcmcia su

Re: pdf question

2003-07-09 Thread Nick Rout
yes i could, but i want to email them to a client for perusal and all those blank pages would confuse him :-) On Thu, 10 Jul 2003 14:50:40 +1200 Andrew Packer <[EMAIL PROTECTED]> wrote: > If I understand correctly that you're creating the .pdf file with the > offending Windows program, then Adob

Re: pdf question

2003-07-09 Thread Nick Rout
thank you, I had an inkling it would be something like that, but i didn't know about psselect :-) the fonts now look crap on screen, but it prints fine. On Thu, 10 Jul 2003 14:43:11 +1200 Michael JasonSmith <[EMAIL PROTECTED]> wrote: > On Thu, 2003-07-10 at 14:30, Nick Rout wrote: > > Is there

Re: Shell Scripting, and Kernel Compiling Lessons at OSTC.

2003-07-09 Thread C Falconer
On Thu, 2003-07-10 at 14:36, Chad wrote: > > Kernel Compiling and installations easy enough though there are some traps > and pitfalls if your not carefull. you're Another can of worms in a word... "PCMCIA" and kernels. I've not managed to compile a 2.4.21 and have my PCMCIA ethernet cards work

Re: pdf question

2003-07-09 Thread Andrew Packer
If I understand correctly that you're creating the .pdf file with the offending Windows program, then Adobe Acrobat Reader can print odd (or even) pages only from that file. (I'm using Acrobat Reader for Linux but I'm sure the Win version is equally capable.) I know that's not a script, but could

Re: pdf question

2003-07-09 Thread Michael JasonSmith
On Thu, 2003-07-10 at 14:30, Nick Rout wrote: > Is there a quick script anyone could think of to convert the outputted > pdf to have just the odd pages, ie > > script wronglyprinted.pdf oddpagesonly.pdf ?? A quick hack: pdf2ps foo.pdf - | psselect -o | ps2pdf - bar.pdf Unfortunately they hav

Re: unixtime 2 timedate

2003-07-09 Thread C Falconer
On Thu, 2003-07-10 at 14:01, Chris Bayley wrote: > Is there a useful CLI (bash) or web based tool for converting unix time > to local time date and v.versa ? > > /chris The perl version is below. I like the ability to cat /var/log/squid/access.log | script to get date/time. BTW - my pe

Re: Shell Scripting, and Kernel Compiling Lessons at OSTC.

2003-07-09 Thread Chad
Kernel Compiling and installations easy enough though there are some traps and pitfalls if your not carefull. for 2.4.xx make xconfig make dep bzImage modules modules_install install In Mandrake and I'd guess most other Major dists the make install calls the dists kernel installation script which

pdf question

2003-07-09 Thread Nick Rout
I am having a problem with a windows programme that pints to pdf, it is printing blank sheets every second page. Is there a quick script anyone could think of to convert the outputted pdf to have just the odd pages, ie script wronglyprinted.pdf oddpagesonly.pdf ?? -- Nick Rout <[EMAIL PROTECTED

Re: unixtime 2 timedate

2003-07-09 Thread Paul
With python $ python -c "import time;print time.strftime('%a, %d %b %Y %H:%M:%S',time.localtime(1))" Replace 1 with unix time.

unixtime 2 timedate

2003-07-09 Thread Chris Bayley
Is there a useful CLI (bash) or web based tool for converting unix time to local time date and v.versa ? /chris

Re: Shell Scripting, and Kernel Compiling Lessons at OSTC.

2003-07-09 Thread Mahesh De Silva
damit.. i new there was a easier way. > > Under RedHat (and possibly others) and with Grub do > a "make install" > as the last step and it will take care of Grub > configuration > (incl. the initrd build and required CLI params.). > = For Linux CD's check out http://www.xsolutions.co.nz

Re: Shell Scripting, and Kernel Compiling Lessons at OSTC.

2003-07-09 Thread Nick Rout
On Thu, 10 Jul 2003 13:04:56 +1200 Matthew Gregan <[EMAIL PROTECTED]> wrote: > Do not run anything as root that does not need root privileges. thats what i meant by "the usual paranoia" > > It's a simple rule to follow most of the time, so there is no reason not > to adhere to it. > > Off the

Re: Shell Scripting, and Kernel Compiling Lessons at OSTC.

2003-07-09 Thread Christopher Sawtell
On Thu, 10 Jul 2003 13:04, you wrote: > On Thu, Jul 10, 2003 at 12:30:18PM +1200, C Falconer wrote: > > On Thu, 2003-07-10 at 12:00, Matthew Gregan wrote: > > > 3. The above line assumes the kernel and modules are built as root. > > > This is needless. You should build the kernel and modules

Re: Shell Scripting, and Kernel Compiling Lessons at OSTC.

2003-07-09 Thread Matthew Gregan
On Thu, Jul 10, 2003 at 12:30:18PM +1200, C Falconer wrote: > On Thu, 2003-07-10 at 12:00, Matthew Gregan wrote: > > 3. The above line assumes the kernel and modules are built as root. > > This is needless. You should build the kernel and modules under a > > non-privileged user and use ro

Re: Shell Scripting, and Kernel Compiling Lessons at OSTC.

2003-07-09 Thread Ryurick M. Hristev
On Thu, 10 Jul 2003, Nick Rout wrote: > > 4. The above line does not account for installing the kernel into > > /boot, nor updating GRUB/LILO. > > for a grub system all you need to do in most situations is back up the > existing kernel and copy your new one on top. If you want to choose > k

Re: Shell Scripting, and Kernel Compiling Lessons at OSTC.

2003-07-09 Thread Nick Rout
at a school, i'm not surprised - presumably this isn't needed at home (although young kids are pretty attracted to the reset button LOL) On Thu, 10 Jul 2003 12:57:33 +1200 C Falconer <[EMAIL PROTECTED]> wrote: > On Thu, 2003-07-10 at 12:43, Brad Beveridge wrote: > > Plain paranoia I expect. Ke

RE: Shell Scripting, and Kernel Compiling Lessons at OSTC.

2003-07-09 Thread David Kirk
> at the risk of being facetious, what is the problem with > > make dep && make clean bzImage modules modules_install - and > I use root because its what I know and what the gentoo install > instructions told me to do (you do install gentoo as root for obvious > reasons). Is there any problem o

Re: Shell Scripting, and Kernel Compiling Lessons at OSTC.

2003-07-09 Thread Nick Rout
yeah and anyone with physiacal access to the machine can boot from another medium (cd, floppy) and totally fsck you over. there is little point in placing your computer around people you don't trust. Having said that, some unintentioned but stoopid person could be tempted to try their new rm sc

RE: Shell Scripting, and Kernel Compiling Lessons at OSTC.

2003-07-09 Thread C Falconer
On Thu, 2003-07-10 at 12:43, Brad Beveridge wrote: > Plain paranoia I expect. Kernel compiles can take a long time, if you walk away > from the console, a simple Ctl-C & you've just given root access to anyone. I trust noone in my office or server room - I lock the door whenever I'm not there.

Re: Shell Scripting, and Kernel Compiling Lessons at OSTC.

2003-07-09 Thread C Falconer
On Thu, 2003-07-10 at 12:00, Matthew Gregan wrote: > 3. The above line assumes the kernel and modules are built as root. > This is needless. You should build the kernel and modules under a > non-privileged user and use root _only_ to install the kernel and > modules. Whats wrong with

Re: Shell Scripting, and Kernel Compiling Lessons at OSTC.

2003-07-09 Thread Nick Rout
On Thu, 10 Jul 2003 12:00:56 +1200 Matthew Gregan <[EMAIL PROTECTED]> wrote: > On Thu, Jul 10, 2003 at 11:38:23AM +1200, Nick Rout wrote: > > > On Thu, 10 Jul 2003 11:20:36 +1200 > > Christopher Sawtell <[EMAIL PROTECTED]> wrote: > > > > Greets Folks. > > > > > > Just a quick reminder that t

Re: Shell Scripting, and Kernel Compiling Lessons at OSTC.

2003-07-09 Thread Matthew Gregan
On Thu, Jul 10, 2003 at 11:38:23AM +1200, Nick Rout wrote: > On Thu, 10 Jul 2003 11:20:36 +1200 > Christopher Sawtell <[EMAIL PROTECTED]> wrote: > > Greets Folks. > > > > Just a quick reminder that the OSTC is offering a single Lesson in > > 'Compiling your Linux Kernel'. We had several peopl

Re: Shell Scripting, and Kernel Compiling Lessons at OSTC.

2003-07-09 Thread Yuda
I would be keen on a "OK so I've just installed linux, so how do I use this damn thing course". I know at least a couple of other people who I've introduced to linux that might also be keen on something like this Kerry --- Nick Rout <[EMAIL PROTECTED]> wrote: > I'd probably be keen on python le

Re: Shell Scripting, and Kernel Compiling Lessons at OSTC.

2003-07-09 Thread Christopher Sawtell
On Thu, 10 Jul 2003 11:38, you wrote: > On Thu, 10 Jul 2003 11:20:36 +1200 > > Christopher Sawtell <[EMAIL PROTECTED]> wrote: > > Greets Folks. > > > > Just a quick reminder that the OSTC is offering a single Lesson in > > 'Compiling your Linux Kernel'. We had several people at the Gentoo mini >

Re: Shell Scripting, and Kernel Compiling Lessons at OSTC.

2003-07-09 Thread Nick Rout
On Thu, 10 Jul 2003 11:20:36 +1200 Christopher Sawtell <[EMAIL PROTECTED]> wrote: > Greets Folks. > > Just a quick reminder that the OSTC is offering a single Lesson in > 'Compiling your Linux Kernel'. We had several people at the Gentoo mini 'fest > who said that they were interested. Pleas

Re: Shell Scripting, and Kernel Compiling Lessons at OSTC.

2003-07-09 Thread Nick Rout
I'd probably be keen on python lessons, if someone wanted to do that.?? Carl? On Thu, 10 Jul 2003 11:20:36 +1200 Christopher Sawtell <[EMAIL PROTECTED]> wrote: > Greets Folks. > > Just a quick reminder that the OSTC is offering a single Lesson in > 'Compiling your Linux Kernel'. We had sever

Shell Scripting, and Kernel Compiling Lessons at OSTC.

2003-07-09 Thread Christopher Sawtell
Greets Folks. Just a quick reminder that the OSTC is offering a single Lesson in 'Compiling your Linux Kernel'. We had several people at the Gentoo mini 'fest who said that they were interested. Please make yourselves known by either registering on the http://ostc.org/forum/viewtopic.php?t=28

Re: OT: Jetstream Xfer Rates (was Re: Huge Telecom Bill)

2003-07-09 Thread Mahesh De Silva
yup thats right nick, the same copper thats used for the phones which just plugs into a dslam, which telecome installs at the exchange when they setup the line. Thats why people who have fibre cannot have ADSL, they need Fibre multiplextor which not cheap. My digital answer phone can record "mod

Re: OT: Jetstream Xfer Rates (was Re: Huge Telecom Bill)

2003-07-09 Thread Nick Rout
On Thu, 10 Jul 2003 07:50:47 +1200 (NZST) Mahesh De Silva <[EMAIL PROTECTED]> wrote: > We are converting from ADSL to DSL over Frame shortly > and it has a 4Mbps connection, with Unmilited Nat and > 20 gig international. > > On our current ADSL we max out around 400k down. > > I think the speed

Re: OT: Jetstream Xfer Rates (was Re: Huge Telecom Bill)

2003-07-09 Thread Mahesh De Silva
We are converting from ADSL to DSL over Frame shortly and it has a 4Mbps connection, with Unmilited Nat and 20 gig international. On our current ADSL we max out around 400k down. I think the speed issues is due to the distance from the exchnage. I didn't think ADSL suffered the same problems as c

Re: OT: Jetstream Xfer Rates (was Re: Huge Telecom Bill)

2003-07-09 Thread Sascha Beaumont
> Does anyone here know how they achieve that technically? 2 Mbps is > quite possible, as long as only one subscriber on a bundle cable wants > it, but once the neighbour wants it too, it may get a bit difficult, > not even speaking of a higher market penetration. Or does Telecom > really measure a

Re: smp kernel, and shutting down...

2003-07-09 Thread Sascha Beaumont
Usually this problem is a lack of apm/acpi in the kernel. If you're compiling your own, its often easy to overlook it. If you're using a precompiled version then its most likely you've forgotten to load the modules. By the weird name of the kernel you gave, I'm guessing precompiled, and its like

OT: Jetstream Xfer Rates (was Re: Huge Telecom Bill)

2003-07-09 Thread Helmut Walle
On Sun, 29 Jun 2003, Volker Kuhlmann wrote: > > > Assuming a conservative bit rate of 3Mbit / sec. > > > > Does anyone on jetsream get 3mbit/sec ? > > Telecom doesn't give it to you unless it's at least 2Mbit/s. Even with [...] Does anyone here know how they achieve that technically? 2 Mbps is q

Weird disk space total/free

2003-07-09 Thread Andrew Gordon
I upgraded one of my computers today (old) and I think one of the others (giles) that had a NFS export from the upgraded computer mounted on it got rather confused. giles:~$ df Filesystem 1K-blocks Used Available Use% Mounted on /dev/hda2 2405967 2320579 60511 98

smp kernel, and shutting down...

2003-07-09 Thread Chris Hellyar
Hi-ho folks.. Trivia question.. I've just upgraded my workstation at work and the damn thing doesn't shut down.. It get's to 'Power Down' and sit's there like a stuck pud... It's got RH 9 on it, kernel 2.4.20-18.9 i686, smp. If I boot up under 2.4.20-9 non smp from the install it does shut do