Re: [SLUG] howto reverse ssh tunnel?

2006-12-17 Thread Alexander Samad
On Sun, Dec 17, 2006 at 02:09:20PM +1100, Michael Kedzierski wrote:
 On 12/17/06, Sonia Hamilton [EMAIL PROTECTED] wrote:
 * On Sun, Dec 17, 2006 at 01:51:43PM +1100, Michael Kedzierski wrote:
  On 12/17/06, Sonia Hamilton [EMAIL PROTECTED] wrote:
  * On Fri, Dec 15, 2006 at 03:54:06PM +1100, Craige McWhirter wrote:
   Have you considered using OpenVPN?
  
  My understanding is that OpenVPN doesn't allow you to get a console on
  the remote machine (which I'd want for installing stuff).
 
  It's a VPN, which stands for Virtual Private Network. It places you
  both on a network, like as if you were on the same LAN. So then you
  could just SSH directly in, or do whatever.
 
 OK, that makes sense. Because of the double encryption (vpn + ssh),
 would speed/responsiveness be a problem? If so, I seem to remember
 there's an option in OpenVPN to force UDP. Or of course I could use
 telnet, and limit it using tcpwrappers to just the vpn ips.
 
 I'm pretty sure it uses UDP by default, using TCP for VPNs is a bad
 idea. It might be a little slower, but to be honest, I haven't
 noticed.

I regularly use openvpn from window through a http proxy (one of the nice
features of openvpn) to a linux box.  mainly for ssh into that box and doing
stuff. On occasions I have had to start xterm/rxvt and Xwindows isn't the best
across that link.  But terminal stuff is fine even vnc works fine.


 
 Of course, using SSH is probably a far simpler way of doing this, but
 having an always-on VPN can be handy. You can also then run Samba
 filesharing across it, which is handy for transferring files.
 -- 
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
 


signature.asc
Description: Digital signature
-- 
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] Programming language

2006-12-17 Thread Alexander Samad
On Mon, Dec 18, 2006 at 05:01:29PM +1100, Jacinta Richardson wrote:
 Sonia Hamilton wrote:
 
  $ cat program
  #!/bin/bash
  while IFS=: read qnumber question answer ; do
  echo Question number $qnumber
  echo $question
  echo $answer
  echo
  done  questions.txt
 
 Excellent work Sonia.  Here's the same program in Perl.
 
 ---
  1: #!/usr/bin/perl -w
  2: use strict;
  3:
  4: push @ARGV, 'questions.txt'; # optional
  5:
  6: while() {
  7:   my ($qnumber, $question, $answer) = split ':';
  8:
  9:   print Question number $qnumber\n$question\n$answer\n;
 10: }
 ---

Haven't seen the previous emails but what about

sed -e 's/\([^:]*\):\([^:]*\):\(.*\)/Question number \1\n\2\n\3'

or even

awk -F : '/^.+$/ {print Question number $1\n$2\n$3}'




 
 To make this work over any question file, we can remove the push on the 
 fourth
 line, and call the program with the file as an argument:
 
   program questions.txt
 
 The first line says to use Perl for the script and to turn on warnings.  The
 second line says to use the strict pragma which will help identify
 typographical errors (eg $qmunber instead of $qnumber) and a few other common
 mistakes.
 
 The fourth line tells Perl that we want to add the questions.txt file to our
 argument list (or we can just pass the filename in on the command line).  The
 sixth line tells Perl to open the files passed in on the command line and to
 loop through them line by line.  The seventh line splits the current line on 
 ':'
 and assigns the parts to variables.  The 9th line prints it all out.
 
 The output and calling conventions are the same.
 
 All the best,
 
   J
 
 -- 
(`-''-/).___..--''`-._  |  Jacinta Richardson |
 `6_ 6  )   `-.  ( ).`-.__.`)  |  Perl Training Australia|
 (_Y_.)'  ._   )  `._ `. ``-..-'   |  +61 3 9354 6001|
   _..`--'_..-_/  /--'_.' ,'   | [EMAIL PROTECTED] |
  (il),-''  (li),'  ((!.-' |   www.perltraining.com.au   |
 -- 
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
 


signature.asc
Description: Digital signature
-- 
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] Debian RAID1 rebuild mirror after single drive failure

2006-12-15 Thread Alexander Samad
On Fri, Dec 15, 2006 at 03:26:54PM +1100, Michael Brown wrote:
 Hi all,
 
 I've got a debian woody system running in RAID1 degraded mode at the moment
 because there is no hot spare currently.
 mdadm isn't installed, just the bog stadard raidtools I think.
 I've taken out the dead drive, and I have a spare to replace it with, but
 I'm wondering what I have to do now.
 
 I'm guessing I can't just put the new drive in and have it autodetect and
 start rebuilding.
 
 Do I have to format the drive so that it is exactly the same as the other
 drive, or can I just assign it as a hot spare and then have the array
 automatically rebuild?
 I've never had to deal with software RAID before, so I'm not entirely sure
 how to do it.
 
 It's been running fine in degraded mode for a while now, but naturally I'd
 prefer to rebuild the mirror and add another hot spare as well.
 
 I've read the software RAID howto, but I'm still a bit confused.

I would place the drive in the machine, partition it up the way you want, the
same as the old drive I would guess

Are you sure you haven't got mdadm install ? If so remove the old dead
partition from the raid set and then readd it back in.

can't remember the old raidtools syntax


 
 Any ideas?
 
 Cheers,
 Michael Brown
 -- 
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
 


signature.asc
Description: Digital signature
-- 
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] howto reverse ssh tunnel?

2006-12-15 Thread Alexander Samad
On Fri, Dec 15, 2006 at 03:39:46PM +1100, Sonia Hamilton wrote:
 Is there a way of configuring ssh, so that if someone ssh's into my
 machine, I can connect back and get into their machine? (Linux to
 Linux).
 
 Reason: I'm going to convert my dad's pc to Ubuntu (he's shipping it to
 me), I'm having trouble connecting thru the Hel$tra network and his ADSL
 modem. But if I could get him to ssh to me and I could get back in...
 
 (today I spent 3 hours on voip with him, trying to remote desktop into
 his 'doze box. It took that long just to get port 22  3389 forwarded
 on the modem, dyndns config'd and him setup with an a/c on 'doze
 messenger. Couldn't tcptraceroute him on 22 or 3389 tho. Oh the
 pain).

you could have tried xwindows across the net ?
get him to log in
type export DISPLAY=xxx.xxx.xxx.xxx:0.0 - adjust to point to your machine and
then get him to type xterm.  bang remote access.  I am guessing a bit slow
though.


 
 -- 
 Sonia Hamilton. GPG key A8B77238.
 -- 
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
 


signature.asc
Description: Digital signature
-- 
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] how to type £]

2006-12-14 Thread Alexander Samad
- Forwarded message from  -

To: Alexander W Stanley [EMAIL PROTECTED]
Subject: Re: [SLUG] how to type £

On Thu, Dec 14, 2006 at 09:14:52AM +1059, Alexander W Stanley wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 I'm not completely sure how you'd do it, but, I'm guessing a little
 something like the way you change delete and backspace around, but
 adding an additional key code (eg: meta control keycode?).  I don't
 have much time to look into it atm, but I think this following
 resource is what you're looking for :)
 
 http://tldp.org/LDP/lfs/LFS-BOOK-6.1.1-HTML/chapter07/console.html
Worked for the console, but not in xwindows
 
 Hope it helps
 
 Regards,
 Alex.
 
 
 Alexander Samad wrote:
  Hi
 
  How do I go about typing £ on a US keyboard ? I currently have to
 search for
  the symbol on the net and then copy and paste it with in x.
 
  Running debian etch-amd64, Xorg xfce4
 
  How do I go about configuring a alt key to be a alt-gr key
 
 
  thank
 
  alex
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.5 (GNU/Linux)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
 
 iD8DBQFFgHtxQ5jkR4oZBYcRArbxAJ4963D+w1gFkyZ9Y49uTa3jMFh22ACbB8O7
 FXNYO5D0fSXks5ZXApMiUzg=
 =0CbR
 -END PGP SIGNATURE-
 
 -- 
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
 



- End forwarded message -


signature.asc
Description: Digital signature
-- 
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] how to type £]

2006-12-14 Thread Alexander Samad
- Forwarded message from  -

To: nornagon [EMAIL PROTECTED]
Subject: Re: [SLUG] how to type £

On Thu, Dec 14, 2006 at 09:06:01AM +1100, nornagon wrote:
 Find a keyboard manager somewhere (been a while since I used xfce) and
 set this xkb option: compose:menu
 
 Then press the menu key (here it looks like a cursor over a context
 menu), then L then -. £. It does a whole bunch of other things, too -
 ãéïôū²€.·˙ø
I have this in my xorg.conf 


Section InputDevice   


Identifier  Generic Keyboard  


Driver  keyboard  


Option  CoreKeyboard  


Option  XkbRules  xorg  


#Option XkbModel  pc104 


Option  XkbModel  pc105 


Option  XkbLayout us


#Option  XkbOptions compose:ralt


Option  XkbOptions compose:menu 


#Option XkbOptions  lv3:ralt_switch,compose:menu


EndSection  





but now I am having problems with actually typing the £ I try {menu} p and  


nothing 

 
 On 12/14/06, Alexander Samad [EMAIL PROTECTED] wrote:
 Hi
 
 How do I go about typing £ on a US keyboard ? I currently have to search 
 for
 the symbol on the net and then copy and paste it with in x.
 
 Running debian etch-amd64, Xorg xfce4
 
 How do I go about configuring a alt key to be a alt-gr key
 
 
 thank
 
 alex
 
 
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.6 (GNU/Linux)
 
 iD8DBQFFgG+6kZz88chpJ2MRAsOwAJ98iPMVt3qMcb2SYq7rspZ897nhAgCfcMlz
 s8511uAPeDGH3CxkLZEcz2Q=
 =re0W
 -END PGP SIGNATURE-
 
 
 --
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
 
 
 
 
 -- 
 - Jem

 -- 
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html



- End forwarded message -


signature.asc
Description: Digital signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

[SLUG] how to type £

2006-12-13 Thread Alexander Samad
Hi

How do I go about typing £ on a US keyboard ? I currently have to search for
the symbol on the net and then copy and paste it with in x.

Running debian etch-amd64, Xorg xfce4

How do I go about configuring a alt key to be a alt-gr key


thank

alex


signature.asc
Description: Digital signature
-- 
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] ethical question - teach beginner doze or linux?

2006-12-03 Thread Alexander Samad
On Sun, Dec 03, 2006 at 09:09:58PM +1100, Sonia Hamilton wrote:
 Here's an ethical question for you. I have a middle aged friend who
 wants to learn computers; he's never used computers before (he's a
 builder). In exchange for some work he's doing for me, I'm going to
 install everything, get him connected to the net and teach him how to do
 email, use the internet, write basic documents, and whatever else comes
 up (eg playing music, watching videos). As a builder he also wants to be
 able to submit documents to councils - I haven't been able to pin down
 the format required by councils yet.
 
 Do I install and teach him 'doze/M$ Office or Ubuntu? Or, setup dual
 boot and teach him both? Or, install Ubuntu and Cross Over office?
 
 The Linux lover and advocate in me says Linux, of course, but is that
 ethical? What I mean is that some time in the future I mightn't be
 around to help him, then he'll be at the tender mercies of other
 friends, PC shops, ISP phone support, etc, who probably won't know
 Linux. If he goes to an internet cafe or reads a newspaper article,
 he'll also be stuck in a 'doze world. I can point him at SLUG, but is
 that really helping him?
 
 On the other hand, with Linux he'll get everything extra for free, won't
 have to learn about nagware/cracks, won't be stuck in the upgrade
 treadmill, won't have virus problems, and generally have less
 problems...
 
 I'm not trolling here - this is a serious question - imagine if you were
 in the same situation with a friend/parent, and weren't going to be
 around for ever to help them.

What does your friend say when you broach him with these facts ?

How much does ubuntu support cost ? 

My gut say install windows with Open Office + some anti virus + firewall + some
easy way to backup to DVD


 
 -- 
 Sonia Hamilton. GPG key A8B77238.
 -- 
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
 


signature.asc
Description: Digital signature
-- 
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] ethical question - teach beginner doze or linux?

2006-12-03 Thread Alexander Samad
On Sun, Dec 03, 2006 at 09:39:41PM +1100, Ben wrote:
 On 12/3/06, Sonia Hamilton [EMAIL PROTECTED] wrote:
 Here's an ethical question for you. I have a middle aged friend who
 wants to learn computers; he's never used computers before (he's a
 builder). In exchange for some work he's doing for me, I'm going to
 install everything, get him connected to the net and teach him how to do
 email, use the internet, write basic documents, and whatever else comes
 up (eg playing music, watching videos). As a builder he also wants to be
 able to submit documents to councils - I haven't been able to pin down
 the format required by councils yet.
 
 Surely submitting in PDF would be acceptable? If you install the
 proprietary fonts, I think that should be enough of a compromise.
 
 If he really needs to be working with Office, then he should probably
 be using Windows.
 
 Do I install and teach him 'doze/M$ Office or Ubuntu? Or, setup dual
 boot and teach him both?
 
 I don't think dual boot would be worth doing, unless you make Windows
 an offline option, just for using Office. This would alleviate some of
 the security concerns as well.
 
 Or, install Ubuntu and Cross Over office?
 
 Probably more pain than it's worth, but I haven't used it. Reading
 about problems and the costs has turned me off the idea.
 
 The Linux lover and advocate in me says Linux, of course, but is that
 ethical? What I mean is that some time in the future I mightn't be
 around to help him, then he'll be at the tender mercies of other
 friends, PC shops, ISP phone support, etc, who probably won't know
 Linux.
 
 Internode will support any system with TCP/IP. I assume you'd be
 setting up Firefox and Thunderbird anyway and using a broadband
 connection. So most of the configuration should be the same on any
 platform.
 
 If he goes to an internet cafe or reads a newspaper article,
 he'll also be stuck in a 'doze world. I can point him at SLUG, but is
 that really helping him?
 
 Probably not - other than as a resource to find a technician.
 
 On the other hand, with Linux he'll get everything extra for free, won't
 have to learn about nagware/cracks, won't be stuck in the upgrade
 treadmill, won't have virus problems, and generally have less
 problems...
 
 I'm not trolling here - this is a serious question - imagine if you were
 in the same situation with a friend/parent, and weren't going to be
 around for ever to help them.
 
 Anyone unfamiliar with computers is going to need some help at some
 point. I think the cost of supporting Ubuntu would be cheaper than the
 cost of Windows + support.
 
 I'd suggest making a list of numbers to call if he needs support and
 checking rates.
 
 I'm in a similar situation and I'm installing Ubuntu for the simple
 selfish reason that I don't want to be stuffing around with
 anti-virus/anti-malware stuff.
 
 Given the huge hardware requirements of Vista you'd even be able to
 save a bit of cash on hardware or have smoother performance by using
 Linux.

I was thinking about buying new hardware and him taking the box to the store,
the young bloke behind the counter saying we don't know linux.

 
 Ben
 -- 
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
 


signature.asc
Description: Digital signature
-- 
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] create partitions fdisk, no reboot?

2006-11-09 Thread Alexander Samad
On Thu, Nov 09, 2006 at 05:41:58PM +1100, Scott Ragen wrote:
 [EMAIL PROTECTED] wrote on 09/11/2006 03:08:46 PM:
 
  Is there a way of creating partitions using fdisk, and not having to
  reboot before creating filesystems on the new partitions? ie getting the
  kernel to be aware of the new partions.
  
 Does it have to be fdisk?
 cfdisk is recommended over fdisk (at least on my dist), and from the man:
 W  Write  partition table to disk (must enter an upper case W).  Since 
 this might destroy data on the disk, you must either confirm or deny the 
 write by entering `yes' or `no'.  If you enter `yes', cfdisk will write 
 the partition table to disk and the tell the kernel to  re-read  the 
 partition  table  from the disk.  The re-reading of the partition table 
 works is most cases, but I have seen it fail.  Don't panic.  It will be 
 correct after you reboot the system.  In all cases, I still recommend 
 rebooting the system--just to be safe.
 
 If you need to use fdisk, I guess you could find out what cfdisk does to 
 re-read the partition tables and use that.
 
 Cheers,
 
 Scott

My understanding is that fdisk cfdisk and sfdisk (?!), all write the partition
 table information, and then send a sysctl to the kernel to re read the
parition information.  The kernal will do that for HD's that don't have
loaded partitions.  So if there is a partition on that drive that is
being used by the kernel (ie root, swap ) it will not reread the
parititon information for that hard drive until reboot.

 
 -- 
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
 


signature.asc
Description: Digital signature
-- 
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] PDA/phone/linux

2006-11-06 Thread Alexander Samad
On Mon, Nov 06, 2006 at 03:01:25PM +1100, Voytek Eymont wrote:
 
 On Mon, November 6, 2006 1:31 pm, Matthew Hannigan wrote:
  On Mon, Nov 06, 2006 at 12:30:21PM +1100, david wrote:
 
  I'm going to be /really/ annoying and ask whether
  you really need a pda phone :-).
 
 most ppl I know seem to think , yes'

The one advantage of having the 2 together is you can dial straight from your
contact list.   for example open calendar, view appointment, look at
invitees and open contact details and then ring, instead of having to
transfer phone number by hand or having to keep 2 contact db in sync
phone - pda - laptop..

I have a hp PDA/phone - I think I would rather have 2 seperate gagets,
except for the above scenario

 
 I thought about it, whether I should get a Treo or Palm handheld
 my considered decision was Palm h/h, NOT phone
 
 
  I think most people would be better off with a separate
  phone and a PDA.  Having a slim/small phone is good, and being a PDA is
  incompatible with slim.
 
 ditto, exactly my opinion
 
 
  So what you should look for is a small phone
  with good connectivity to communicate with the PDA.
 
 that's what I'd do/have done.
 
 but, it seems most ppl feel the need for 'single device'
 not optimal from where I sit
 
 
 
 -- 
 Voytek
 
 -- 
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
 


signature.asc
Description: Digital signature
-- 
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] Resizing remote screen window not changing the column or row setting

2006-10-12 Thread Alexander Samad
On Thu, Oct 12, 2006 at 10:09:31AM +1000, Martin Pool wrote:
 On 11 Oct 2006, Alexander Samad [EMAIL PROTECTED] wrote:
  On Wed, Oct 11, 2006 at 11:12:00AM +1000, Alexander Samad wrote:
   Hi
   
   Some thing changed on my system recently but I am unable to determine
   what caused the problem.
   
   The problem
   
   login into local machine hufpuf
   start rxvt with a small size window say 60x30
   
   ssh to another machine multi
   start screen with 'screen -DR alex'
   start vim with vim /etc/screenrc - any file will do aslong as its long
   than the screen
   
   then resize the window, for some reason screen nolonger understands the
   window has changed size...
 
 You can often fix this by telling screen
 
   C-a : fit RET
 
 (or whatever your escape character is, anyhow type the :fit command.)
 
 Sometimes the program inside screen also gets confused; mutt seems
 particularly prone to this.  Sometimes stretching the window a little
 bit will help, or typing 'reset' in the shell.

Found the problem, its to do with sshd
http://lists.debian.org/debian-user/2006/07/msg00465.html

 
 -- 
 Martin
 -- 
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
 


signature.asc
Description: Digital signature
-- 
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] Resizing remote screen window not changing the column or row setting

2006-10-11 Thread Alexander Samad
On Wed, Oct 11, 2006 at 11:12:00AM +1000, Alexander Samad wrote:
 Hi
 
 Some thing changed on my system recently but I am unable to determine
 what caused the problem.
 
 The problem
 
 login into local machine hufpuf
 start rxvt with a small size window say 60x30
 
 ssh to another machine multi
 start screen with 'screen -DR alex'
 start vim with vim /etc/screenrc - any file will do aslong as its long
 than the screen
 
 then resize the window, for some reason screen nolonger understands the
 window has changed size...
 
 
 If I do the same thing on the local machine it works fine and resizes
 the window


tried this from a few different machine to a few other machines all with
the same result, some thing is missign when you ssh to a remote machine!
 
 Also and this might or might not have any thing to do with it, but i
 resently lost my broders on full screen windows, using xfce4 and when i
 press alt+f5 I loose all my border, except title and slider this
 might have something to do with ? maybe
 
 
 Thanks
 Alex
 



 -- 
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


signature.asc
Description: Digital signature
-- 
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] Resizing remote screen window not changing the column or row setting

2006-10-11 Thread Alexander Samad
On Thu, Oct 12, 2006 at 10:09:31AM +1000, Martin Pool wrote:
 On 11 Oct 2006, Alexander Samad [EMAIL PROTECTED] wrote:
  On Wed, Oct 11, 2006 at 11:12:00AM +1000, Alexander Samad wrote:
   Hi
   
   Some thing changed on my system recently but I am unable to determine
   what caused the problem.
   
   The problem
   
   login into local machine hufpuf
   start rxvt with a small size window say 60x30
   
   ssh to another machine multi
   start screen with 'screen -DR alex'
   start vim with vim /etc/screenrc - any file will do aslong as its long
   than the screen
   
   then resize the window, for some reason screen nolonger understands the
   window has changed size...
 
 You can often fix this by telling screen
 
   C-a : fit RET
 
 (or whatever your escape character is, anyhow type the :fit command.)
 
 Sometimes the program inside screen also gets confused; mutt seems
 particularly prone to this.  Sometimes stretching the window a little
 bit will help, or typing 'reset' in the shell.
I have stried the reset bit, but haven't tried the fit command, will try
that
 
 -- 
 Martin
 -- 
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
 


signature.asc
Description: Digital signature
-- 
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] Resizing remote screen window not changing the column or row setting

2006-10-11 Thread Alexander Samad
On Thu, Oct 12, 2006 at 02:39:29PM +1000, Alexander Samad wrote:
 On Thu, Oct 12, 2006 at 10:09:31AM +1000, Martin Pool wrote:
  On 11 Oct 2006, Alexander Samad [EMAIL PROTECTED] wrote:
   On Wed, Oct 11, 2006 at 11:12:00AM +1000, Alexander Samad wrote:
Hi

Some thing changed on my system recently but I am unable to determine
what caused the problem.

The problem

login into local machine hufpuf
start rxvt with a small size window say 60x30

ssh to another machine multi
start screen with 'screen -DR alex'
start vim with vim /etc/screenrc - any file will do aslong as its long
than the screen

then resize the window, for some reason screen nolonger understands the
window has changed size...
  
  You can often fix this by telling screen
  
C-a : fit RET
  
  (or whatever your escape character is, anyhow type the :fit command.)
  
  Sometimes the program inside screen also gets confused; mutt seems
  particularly prone to this.  Sometimes stretching the window a little
  bit will help, or typing 'reset' in the shell.
 I have stried the reset bit, but haven't tried the fit command, will try
 that
nope did not seem to do anything

  
  -- 
  Martin
  -- 
  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


signature.asc
Description: Digital signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

[SLUG] Resizing remote screen window not changing the column or row setting

2006-10-10 Thread Alexander Samad
Hi

Some thing changed on my system recently but I am unable to determine
what caused the problem.

The problem

login into local machine hufpuf
start rxvt with a small size window say 60x30

ssh to another machine multi
start screen with 'screen -DR alex'
start vim with vim /etc/screenrc - any file will do aslong as its long
than the screen

then resize the window, for some reason screen nolonger understands the
window has changed size...


If I do the same thing on the local machine it works fine and resizes
the window

Also and this might or might not have any thing to do with it, but i
resently lost my broders on full screen windows, using xfce4 and when i
press alt+f5 I loose all my border, except title and slider this
might have something to do with ? maybe


Thanks
Alex



signature.asc
Description: Digital signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

[SLUG] ADSL2+ netcomm NB5+

2006-10-04 Thread Alexander Samad
Hi

Just in the process of checking out tpgs adsl2 +.  I currently have adsl
running in bridged mode and having the adsl session run by oe on my
linux firewall.

I am presuming I am going to be able to do the same with nb5+ and adsl2+


Alex


signature.asc
Description: Digital signature
-- 
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] ADSL2+ netcomm NB5+

2006-10-04 Thread Alexander Samad
On Thu, Oct 05, 2006 at 10:03:43AM +1000, justin randell wrote:
 alex,
 
 i just switched over from adsl1 to adsl2+, and i'm using NB5, and i
 can confirm bridged mode works just fine.
 
 cheers
 justin

cool sound like it is all thumbs up

 
 On 10/5/06, Alexander Samad [EMAIL PROTECTED] wrote:
 Hi
 
 Just in the process of checking out tpgs adsl2 +.  I currently have adsl
 running in bridged mode and having the adsl session run by oe on my
 linux firewall.
 
 I am presuming I am going to be able to do the same with nb5+ and adsl2+
 
 
 Alex
 
 
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.5 (GNU/Linux)
 
 iD8DBQFFJEfIkZz88chpJ2MRAqXYAJ454oXTcXvfDSchCQQF+QqDoTPgAwCfUfnw
 DyIPZmOo46Kc2a0khM/1Rx0=
 =47Mi
 -END PGP SIGNATURE-
 
 
 --
 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
 


signature.asc
Description: Digital signature
-- 
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] Seeking iptables interface-specific script

2006-08-22 Thread Alexander Samad
On Wed, Aug 23, 2006 at 11:51:23AM +1000, Mary Gardiner wrote:
 Is there a canonical way of writing interface specific iptables scripts?
 
 At the moment, I'm trying to write a couple of scripts with this
 behaviour to put in /etc/network/if[action].d/:
  - when lo comes up, add an iptables rule
  - when lo comes down, delete that same iptables rule
 
 Other rules, ideally, would not be touched by that.
 
 The trouble is that iptables doesn't seem to have great support for this
 automated rule-specific kind of operation. Individual rules can be
 deleted with -D, but only if you know the rule number which, as far as I
 can tell, you work out by running 'iptables -L' and counting the rules
 from the top of the chain.
I had something similiar to this, I kept a directory of all the current
iptables rules and then converted into input for iptables-save
iptables-restore, which batch loads the tables (hence much faster than
flushing and readding your rules one by one), this gets rid of the need
to delete specific rows.  I believe also that the batch load is atomic!

Alex

 
 So are people doing this kind of interface specific iptables rules, and
 if so, how are you doing it? Is there a blessed way, or just a bunch of
 ways?
 
 -Mary
 -- 
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
 


signature.asc
Description: Digital signature
-- 
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] How to force which device is eth0?

2006-08-21 Thread Alexander Samad
On Mon, Aug 21, 2006 at 11:14:43AM +1000, O Plameras wrote:
 Matthew Hannigan wrote:
 On Mon, Aug 21, 2006 at 10:55:26AM +1000, O Plameras wrote:
   
 I'm using Fedora, and I use the file /etc/modprobe.conf
 to say, e.g.,
 
 alias eth0 tulip
 alias eth1 e100
 alias eth2 3c59x
 
 
 That says that eth0 uses the tulip driver,
 but I'm not sure it says that the one that
 requires tulip is eth0, which is what the original
 poster wanted.
   
 
 These works everytime for me.
if your initrd loads e100 or 3c59x first then it will not work
 
 O Plameras
 -- 
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
 


signature.asc
Description: Digital signature
-- 
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] Paging IMAP gurus

2006-08-05 Thread Alexander Samad
On Sat, Aug 05, 2006 at 10:44:45AM +1000, James Gray wrote:
 Hi All,
 
 I'm running a Courier IMAP server with Postfix MTA for my own  
 personal network (with a handful of POP3 users).  The problem is that  
 I often use different mail clients.  Some support automatic archiving  
 (deleting), others don't.  So it got me thinking about server-side  
 solutions.
 
 Basically I'd like to run a script once a day that churns through my  
 personal IMAP folders and removes messages older than X days.  Some  
 folders I want to expire after 7 days, others 3 weeks, others 3  
 months.  I've already written the script to identify the messages but  
 currently just lists them.  Given that my IMAP store is maildir, is  
 there any problem with simply deleting the messages straight from the  
 maildir?  Or is there some sort of referential integrity checking  
 that I need to maintain within maildir?
 
 Any pointers gladly accepted, clue bats welcomed too.

have you had a look at archivemail works with mbox, maildir and with imap 

 
 Cheers,
 
 James





 -- 
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


signature.asc
Description: Digital signature
-- 
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] hosts.allow question

2006-07-25 Thread Alexander Samad
On Tue, Jul 25, 2006 at 04:42:07PM +1000, Martin Pool wrote:
 On 25 Jul 2006, DaZZa [EMAIL PROTECTED] wrote:
  Folks.
  
  I'm having a bit of trouble with getting hosts.allow to do what I want it 
  to do.
  
  As I understand it, you can either enter IP addresses or hosts into
  hosts.allow to access services {I've got ALL:ALL in hosts.deny}
  
  So
  
  sshd:203.1.1.1
 
 You can also restrict it in sshd.config
 
   AllowUsers  [EMAIL PROTECTED]   [EMAIL PROTECTED]
 
 which might be simpler
would be nice if this could be pulled from a ldap directory
 
 -- 
 Martin
 -- 
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
 


signature.asc
Description: Digital signature
-- 
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] Re: Re: Firewall Device Opinions

2006-07-10 Thread Alexander Samad
On Mon, Jul 10, 2006 at 04:45:36PM +0200, Ben Buxton wrote:
 Simon Wong [EMAIL PROTECTED] uttered the following thing:
  On Mon, 2006-07-10 at 10:02 +0200, Ben Buxton wrote:
   I've just installed an Asus device running OpenWRT to replace my home
   gateway box, and I'm very impressed.
  
  Which device did you use Ben?
  
  I've been wanting to try this out with the WRT54G but could only
  purchase a newer version (v5) than was supported at the time.  This
  makes it a bit hard to use on an ongoing basis.
  
  Maybe Asus's device have a more stable hardware selection.
 
 I have an Asus WL-500gP. 8Mb Flash and 32Mb DRAM (more than most other
 openwrt devices). It also has 2 USB ports.
where did you buy this from ?

How has openwrt behaved on this, noticed there are some caveats on it at
the openwrt site

Alex

 
 Lots of other devices are supported:
 
 http://wiki.openwrt.org/TableOfHardware
 
 BB
 
 -- 
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
 


signature.asc
Description: Digital signature
-- 
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] Sudo broken in Ubuntu

2006-07-03 Thread Alexander Samad
On Mon, Jul 03, 2006 at 02:17:02PM +1000, Billy Kwong wrote:
 Muz,
 
 Have you tried booting Ubuntu up in single user mode and see if you can
 login?
 
 Worst case scenario, boot the PC using any Linux live CD, then chroot to the
 installed root partition on your HDD, and give the remaining user sudo
 priviledges.
or if your using grub edit the boot line and append init=/bin/bash and
then do your stuff.  You will probably need to mount -o remount,rw / to
get write access to the partition

 
 Regards,
 Bill
 
 
 On Mon, Jul 03, 2006 at 02:03:55PM +1000, Murray Waldron wrote:
  G'day all,
  
  Late last night, with a foggy head, I deleted two user accounts from my 
  machine, one having full admin privilages, using the GUI tools. Know, 
  sudo doesn't accept my password in my only remaining account, so I'm 
  very lost as to how to fix this.
  
  Any assistance and advice on fixing this will be greatly appreciated?
  
  Thanks,
  Muz.
  -- 
  SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
  Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
 
 -- 
 -BEGIN GEEK CODE BLOCK-
 Version: 3.12
 GCS d+ s: a- C++ UL P- L+++ E--- W++ N* o-- K-- w---
 O-- M V- PS PE Y PGP++ t 5 X++ R tv b++ DI+ D++
 G e++ h! r y?
 --END GEEK CODE BLOCK--



 -- 
 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: Greylisting (was: Re: [SLUG] mail to [EMAIL PROTECTED] slow)

2006-06-14 Thread Alexander Samad
On Wed, Jun 14, 2006 at 03:46:05PM +1000, Jeff Waugh wrote:
 quote who=Alexander Samad
 
   SAV is different to VRFY, and the combination of SAV and greylisting is
   really broken. I suggested to Chris that he turn SAV off, because it ends 
   up
   being more problematic than it's worth.
  
  What is SAV ?
 
 Sender Address Verification (which you explained in an earlier email).

Oh but didn't you say that SAV is different to VRFY ?  How do smtp
server do SAV if not with vrfy ?


 
 - Jeff
 
 -- 
 GUADEC 2006: Vilanova i la Geltr?, Spainhttp://2006.guadec.org/
  
  Old timers will tell you what a pain unstable was during the new
 testament transition. - Jon Corbet on Debian's KJV packages
 -- 
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
 


signature.asc
Description: Digital signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Re: Greylisting (was: Re: [SLUG] mail to [EMAIL PROTECTED] slow)

2006-06-14 Thread Alexander Samad
On Thu, Jun 15, 2006 at 01:14:51AM +1000, Alexander Samad wrote:
 On Wed, Jun 14, 2006 at 03:46:05PM +1000, Jeff Waugh wrote:
  quote who=Alexander Samad
  
SAV is different to VRFY, and the combination of SAV and greylisting is
really broken. I suggested to Chris that he turn SAV off, because it 
ends up
being more problematic than it's worth.
   
   What is SAV ?
  
  Sender Address Verification (which you explained in an earlier email).
 
 Oh but didn't you say that SAV is different to VRFY ?  How do smtp
 server do SAV if not with vrfy ?

Okay to answer my own question

it does a test of the senders email address if its local it can verify
the local receipant.  If its non local it sees if it comes from a valid
domain. so why don't spammer just use a valid domain for their senders
address ??

probably missing the obvious its 01:30


 
 
  
  - Jeff
  
  -- 
  GUADEC 2006: Vilanova i la Geltr?, Spainhttp://2006.guadec.org/
   
   Old timers will tell you what a pain unstable was during the new
  testament transition. - Jon Corbet on Debian's KJV packages
  -- 
  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


signature.asc
Description: Digital signature
-- 
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] mail to [EMAIL PROTECTED] slow - 'unverified address'

2006-06-13 Thread Alexander Samad
On Wed, Jun 14, 2006 at 08:48:45AM +1000, Billy Kwong wrote:
 Hi Sonia,
 
 Notice that it's a 4xx return code, meaning its a transient error.

doesn't it mean that the slug smtp server has tried to verify
[EMAIL PROTECTED] is a valid email adderss, by making a connect to the
smtp server for snowfrog.net (dig snowfrog.net mx) and trying a vrfy
command ?

 
 My take is that the SLUG mail servers have greylisting enabled. Any new SMTP
 sessions would be placed on hold for a specified amount of time (normally 20
 minutes?)
 
 The whole purpose of the exercise is to slow spammers down.
 
 Regards,
 Bill
 
 
 On Tue, Jun 13, 2006 at 05:09:54PM +1000, Sonia Hamilton wrote:
  I noticed that email sent to [EMAIL PROTECTED] is slow to be received by the
  list; looking thru my mail logs I came across this:
  
  Jun 13 11:57:06 localhost postfix/smtp[14117]: 9153D2E05: host
  rusty.slug.org.au[202.177.212.193] said: 450 [EMAIL PROTECTED]:
  Sender address rejected: unverified address: Address verification in
  progress (in reply to RCPT TO command)
  
  This 'unverified address' problem - how do I resolve it? What's causing
  it to be unverified?
  
  -- 
  Sonia Hamilton. GPG key A8B77238.
  .
  Complaining that Linux doesn't work well with Windows is like ... oh,
  say, evaluating an early automobile and complaining that there's no
  place to hitch up a horse. (Daniel Dvorkin)
  -- 
  SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
  Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
 
 -- 
 -BEGIN GEEK CODE BLOCK-
 Version: 3.12
 GCS d+ s: a- C++ UL P- L+++ E--- W++ N* o-- K-- w---
 O-- M V- PS PE Y PGP++ t 5 X++ R tv b++ DI+ D++
 G e++ h! r y?
 --END GEEK CODE BLOCK--
 -- 
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
 


signature.asc
Description: Digital signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Re: Greylisting (was: Re: [SLUG] mail to [EMAIL PROTECTED] slow)

2006-06-13 Thread Alexander Samad
On Wed, Jun 14, 2006 at 11:48:06AM +1000, Jeff Waugh wrote:
 quote who=Billy Kwong
 
  On Wed, Jun 14, 2006 at 10:44:51AM +1000, Alexander Samad wrote:
   doesn't it mean that the slug smtp server has tried to verify
   [EMAIL PROTECTED] is a valid email adderss, by making a connect to the
   smtp server for snowfrog.net (dig snowfrog.net mx) and trying a vrfy
   command ?
  
  That depends on the implementation of the MTA or greylisting. The point of
  greylisting is to slow down the spammers as to how quickly (which is what
  they rely on) they could spew out spam. 
  
  Most MTAs nowadays has disabled the VRFY command to prevent the leakages
  of email accounts or (even worse) actual accounts.
 
 SAV is different to VRFY, and the combination of SAV and greylisting is
 really broken. I suggested to Chris that he turn SAV off, because it ends up
 being more problematic than it's worth.
What is SAV ?
 
 - Jeff
 
 -- 
 GUADEC 2006: Vilanova i la Geltr?, Spainhttp://2006.guadec.org/
  
  It's only ironic because it's true. - Reflexive irony, overheard
 -- 
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
 


signature.asc
Description: Digital signature
-- 
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] Fonts selection with xfs and xorg

2006-06-07 Thread Alexander Samad
On Wed, Jun 07, 2006 at 12:30:55PM +1000, Peter Chubb wrote:
  Alexander == Alexander Samad [EMAIL PROTECTED] writes:
 
 Alexander On Wed, Jun 07, 2006 at 12:23:27PM +1000, Peter Chubb
 Alexander wrote:
   Did it fix it after you restarted xfs/
 Alexander sorry wasn't clear it was alerady set to this, and I still
 Alexander have the problem
 
 Check it's listening there:
   netstat -an | grep 7100
 tcp0  0 0.0.0.0:71000.0.0.0:*  LISTEN 

yep
 
 Also I think that the fp string is incorrect now I look at it:
 It should be
tcp/servername:7100
 
yep its there
 Do 
xset +fp tcp/xfs:7100
 (if the name of the machine with your fontserver is xfs)
 on the machine that is served by the fontserver.
 

[EMAIL PROTECTED]:~$ xset +fp tcp/xfs.hme1.samad.com.au:7100
[EMAIL PROTECTED]:~$ urxvt -fn a16
urxvt: unable to load base fontset, please specify a valid one using
-fn, aborting.
[EMAIL PROTECTED]:~$ xlsfonts -fn a16
a16   a16
[EMAIL PROTECTED]:~$


 
 
 -- 
 Dr Peter Chubb  http://www.gelato.unsw.edu.au  peterc AT gelato.unsw.edu.au
 http://www.ertos.nicta.com.au   ERTOS within National ICT Australia
 


signature.asc
Description: Digital signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

[SLUG] Fonts selection with xfs and xorg

2006-06-06 Thread Alexander Samad
Hi

I am running debain etch amd64, using the urxvt package for my terminal.
I have 2 machines in my network and for practice I have setup xfs so
that I only have to load up my fonts once.

My second machine has a tcp://xfs:7100 line in its xorg.conf (as does
the machine with xfs but using unix sockets instead)


now my problem lies when i try to run the urxvt and set the default font
to a16.

I found the font with xlsfont - this produce a list of font available

DISPLAY=:0.0 xlsfonts  | grep a16
a16

when i run urxvt -fn a16 on the machine that has xfs it runs fine, 

when I run it on the other machine it errors out telling me it can't
load the base font.

when I investitaged and tried xlsfonts -l | grep a16 I got no lines
back.

I am at a bit of a loss to work out how fonts work 

how do I find out what the base font for a16 is ? so that I can try and
find out why I can't find it on the othe machine !

Thanks
Alex



signature.asc
Description: Digital signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

[SLUG] extracting bootfloopy image from bootable dvd or cd

2006-05-22 Thread Alexander Samad
Hi

Does any one have any experience in extracting the bootfloopy image from
a dvd or cd, or might be able to suggest what tools to use ?

Thanks

Alex


signature.asc
Description: Digital signature
-- 
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] extracting bootfloopy image from bootable dvd or cd

2006-05-22 Thread Alexander Samad
On Tue, May 23, 2006 at 09:17:59AM +1000, O Plameras wrote:
 Alexander Samad wrote:
 Hi
 
 Does any one have any experience in extracting the bootfloopy image from
 a dvd or cd, or might be able to suggest what tools to use ?
 
   
 
 First, Kernel 2.4.x will fit on one/two floppies whilst Kernel 
 2.5.x/2.6.x will not.
 
 Second, you can make boot floppy without copying from dvd or cd. You can
 if you really want to with lots of painful efforts. Just curious: why 
 would you
 do that ?
 
 Third, tools to use are 'dd', 'mount -o loop ...', 'grub', 'lilo', and 
 similar commands.
 
 Then, check this out:
 
 http://www.ata-atapi.com/hiwmbr.htm
 http://www.trinux.org
 
 There is also 'Bootdisk-Howto' in http://www.tldp.org.

Hi not trying to make a bootable dvd or cd, looking at disassembling
one. unfortunately mount doesn't mount the el toro floppy image, dd
would help but I need to know the offset into the image

 
 Hope this helps.
 
 O Plameras
 
 -- 
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
 


signature.asc
Description: Digital signature
-- 
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] extracting bootfloopy image from bootable dvd or cd

2006-05-22 Thread Alexander Samad
On Tue, May 23, 2006 at 10:26:16AM +1000, Alexander Samad wrote:
 On Tue, May 23, 2006 at 09:17:59AM +1000, O Plameras wrote:
  Alexander Samad wrote:
  Hi
  
  Does any one have any experience in extracting the bootfloopy image from
  a dvd or cd, or might be able to suggest what tools to use ?
  

  
  First, Kernel 2.4.x will fit on one/two floppies whilst Kernel 
  2.5.x/2.6.x will not.
  
  Second, you can make boot floppy without copying from dvd or cd. You can
  if you really want to with lots of painful efforts. Just curious: why 
  would you
  do that ?
  
  Third, tools to use are 'dd', 'mount -o loop ...', 'grub', 'lilo', and 
  similar commands.
  
  Then, check this out:
  
  http://www.ata-atapi.com/hiwmbr.htm
  http://www.trinux.org
  
  There is also 'Bootdisk-Howto' in http://www.tldp.org.
 
 Hi not trying to make a bootable dvd or cd, looking at disassembling
 one. unfortunately mount doesn't mount the el toro floppy image, dd
 would help but I need to know the offset into the image
 
  
  Hope this helps.
  
  O Plameras
  
  -- 
  SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
  Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
  


found it 

First use isoinfo (from mkisofs package) to get some info from your
image:

isoinfo -d -i bootcd.iso



This will tell you some stuff, but what you are interested in is the bit
that looks something like this:

 
Eltorito defaultboot header:
Bootid 88 (bootable)
Boot media 2 (1.44MB Floppy)
Load segment 0
Sys type 0
Nsect 1
Bootoff 1C 28


That last line tells you that the offset of the boot image is 1Ch (28 in
decimal). ISO9660 sectors are 2048 bytes, so in this case, your dd line
will be:

dd if=bootcd.iso of=dd bs=2048 skip=28 count=720



 -- 
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


signature.asc
Description: Digital signature
-- 
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] spaces in filenames - bash scripting problem

2006-05-20 Thread Alexander Samad
On Sat, May 20, 2006 at 05:34:52PM +1000, david wrote:
 On Sat, 2006-05-20 at 15:25 +1000, david wrote:
 
 My latest attempt below... and it works all the way down to the mv line,
 but then fails because of the spaces. I get this diagnostic:
 
 mv: when moving multiple files, last argument must be a directory
 
 
 #!/bin/bash
 # takes the first 3 chars of each directory name and
 # prepends it to the file names within that directory.
 
 ls | while read x
 do
 y=$(echo $x | cut -c -3)
 ls $x | while read z
 do
 mv $x/$z $x/$y$z

try mv $x/$z $x/$y$z

 done
 done
 
 
 
 
  On Sat, 2006-05-20 at 15:12 +1000, Howard Lowndes wrote:
   
  I've changed the scrip thus:
  
  #!/bin/bash
  cd /home/david/test
  for x in $(ls)
  do
  y=$(echo $x | cut -c -3)
  for z in $(ls $x)
  do
  mv $x/$z $x/$y$z
  done
  done
  
  but this is what i get:
  
  [EMAIL PROTECTED]:~ $ ls -l test
  total 12
  drwxr-xr-x  2 david david 4096 2006-05-20 15:16 1test
  drwxr-xr-x  2 david david 4096 2006-05-20 15:16 2test
  drwxr-xr-x  2 david david 4096 2006-05-20 15:14 3 test
  [EMAIL PROTECTED]:~ $ ls test/3\ test/
  3 test
  [EMAIL PROTECTED]:~ $ ./shelltest
  ls: 3: No such file or directory
  ls: test: No such file or directory
  [EMAIL PROTECTED]:~ $
  
  
  
   david wrote:
The scrip works as long as there are no blanks unfortunately there
are lots of blanks in both directories and filenames. Can anyone tell me
what i should be doing?

#!/bin/bash
# takes the first 3 chars of each directory and
# prepends it to the file names in that directory.

#cd /home/david/Desktop/musicbyalbum
cd /home/david/test
for x in $(ls)
do
   
   I think this might work for you
   
 y=$(echo $x | cut -c -3)
 for z in $(ls $x)
 do
 mv $x/$z $x/$y$z
   
   
done
done


   
   -- 
   Howard.
   LANNet Computing Associates - Your Linux people http://lannetlinux.com
   When you want a computer system that works, just choose Linux;
   When you want a computer system that works, just, choose Microsoft.
  
 
 -- 
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
 


signature.asc
Description: Digital signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

[SLUG] Best practise for ldap authentication

2006-05-11 Thread Alexander Samad
Hi

I have just started the process of using LDap for my security db, I am
using debian etch amd64.

I have a working slapd 
I have an ou=People,dc=test,dc=com
where i have placed entries of the type

objectClass: account
objectClass: posixAccount
objectClass: top


which works well for login (linking into pam)

Now I am trying to add more attributes, the first being mail

but mail isn't part of account nor posixAccount nor top, it is part of
inetorgperson - which is of no help to me cause i do libnss/libpam
filtering based on attr host which is only part of account.

dilema 1

my second hurdle is trying to setup a address book under
ou=Address book,dc=test,dc=com

I want place address book information here, but I do not want to re
enter/have duplicate enters to what I have in the People ou

do you use object class alias and how do I get ldapsearch to derefence
so for example

if I have a record in People
dn: uid=alex,ou=People,dc=test,dc=com
uid: alex
cn: Alexander Samad
loginShell: /bin/bash
homeDirectory: /home/alex
gecos: Alexander Samad
objectClass: account
objectClass: posixAccount
objectClass: top

and a record in Address Book
dn: uid=alex,ou=Address Book,dc=test,dc=com
objectClass: alias
objectClass: extensibleObject
uid: alex
aliasedObjectName: uid=alex,ou=People,dc=test,dc=com


so that when I go ldapsearch -b ou=Address Book,dc=test,dc=com -x
uid=alex


I get back the information stored under the People record ?


General Question, do most people setup there own schema's or do they
have duplicate records 1 for security and 1 for address book information

Thanks
Alex




signature.asc
Description: Digital signature
-- 
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] Best practise for ldap authentication

2006-05-11 Thread Alexander Samad
On Fri, May 12, 2006 at 01:56:08PM +1000, Jeff Waugh wrote:
 quote who=Alexander Samad
 
  but mail isn't part of account nor posixAccount nor top, it is part of
  inetorgperson - which is of no help to me cause i do libnss/libpam
  filtering based on attr host which is only part of account.
 
 Just add inetOrgPerson to your objectClass mix and go.
 
  General Question, do most people setup there own schema's or do they have
  duplicate records 1 for security and 1 for address book information
 
 Why are you using a separate 'Address book' ou instead of just using the
 'People' ou?
My original idea was to have user accounts in People and address book
info in Address book - I was going to try and syn this with pda - mymain
reason for partitioning it of user acount.

but I guess I can also search for user accounts that have objectclass
posixaccount

 
 - Jeff
 
 -- 
 GUADEC 2006: Vilanova i la Geltr?, Spainhttp://2006.guadec.org/
  
   When's the last time you heard of the police having to intervene at an
antiquarian book riot? - Raph Levien
 -- 
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
 


signature.asc
Description: Digital signature
-- 
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] Best practise for ldap authentication

2006-05-11 Thread Alexander Samad
On Fri, May 12, 2006 at 01:57:33PM +1000, Jamie Wilkinson wrote:
 This one time, at band camp, Alexander Samad wrote:
 but mail isn't part of account nor posixAccount nor top, it is part of
 inetorgperson - which is of no help to me cause i do libnss/libpam
 filtering based on attr host which is only part of account.
 
 If you want mail and posixAccount and host, then I recomment constructing
 out of the following objectclasses:
 
 top
 posixAccount
 shadowAccount
 person
 organizationalPerson
 inetOrgPerson
 hostObject

can't find hostObject as part of my schema where can I find the schema
file ?

 
 I found the account objectClass conflicts with so many others in the shipped
 schemas it's not worth using.
 -- 
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
 


signature.asc
Description: Digital signature
-- 
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] Best practise for ldap authentication

2006-05-11 Thread Alexander Samad
On Fri, May 12, 2006 at 02:59:22PM +1000, Alexander Samad wrote:
 On Fri, May 12, 2006 at 01:57:33PM +1000, Jamie Wilkinson wrote:
  This one time, at band camp, Alexander Samad wrote:
  but mail isn't part of account nor posixAccount nor top, it is part of
  inetorgperson - which is of no help to me cause i do libnss/libpam
  filtering based on attr host which is only part of account.
  
  If you want mail and posixAccount and host, then I recomment constructing
  out of the following objectclasses:
  
  top
  posixAccount
  shadowAccount
  person
  organizationalPerson
  inetOrgPerson
  hostObject
 
 can't find hostObject as part of my schema where can I find the schema
 file ?
found it as part of redhat/fedora distro (nss_ldap) - is there a comparable deb
package ?


 
  
  I found the account objectClass conflicts with so many others in the shipped
  schemas it's not worth using.
  -- 
  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


signature.asc
Description: Digital signature
-- 
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] Best practise for ldap authentication

2006-05-11 Thread Alexander Samad
On Fri, May 12, 2006 at 03:55:19PM +1000, Alexander Samad wrote:
 On Fri, May 12, 2006 at 02:59:22PM +1000, Alexander Samad wrote:
  On Fri, May 12, 2006 at 01:57:33PM +1000, Jamie Wilkinson wrote:
   This one time, at band camp, Alexander Samad wrote:
   but mail isn't part of account nor posixAccount nor top, it is part of
   inetorgperson - which is of no help to me cause i do libnss/libpam
   filtering based on attr host which is only part of account.
   
   If you want mail and posixAccount and host, then I recomment constructing
   out of the following objectclasses:
   
   top
   posixAccount
   shadowAccount
   person
   organizationalPerson
   inetOrgPerson
   hostObject
  
  can't find hostObject as part of my schema where can I find the schema
  file ?
 found it as part of redhat/fedora distro (nss_ldap) - is there a comparable 
 deb
 package ?

found it as wellits part of libpam-ldap, i check libnss-ldap

alls well now I can go about changing my objects

 
 
  
   
   I found the account objectClass conflicts with so many others in the 
   shipped
   schemas it's not worth using.
   -- 
   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



 -- 
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


signature.asc
Description: Digital signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

[SLUG] pam ldap question

2006-05-08 Thread Alexander Samad
Hi

Just going through the process of setting up ldap authentication.

Things seem to be working fine except when I go to do some fine controll
over who can log into each machine

my nsswitch looks like this 
passwd: files ldap 
group:  files ldap 
shadow: files


my common-auth looks like
auth [success=1 default=ignore] pam_unix.so nullok_secure
auth required pam_ldap.so ignore_unknown_user use_first_pass
auth required pam_permit.so

i got this from the readme in the libpam-ldap package.


I am using debian AMD64 testing/unstable

I have added a variable hosts=* to my test uid entry, I have placed
pam_filter in /etc/pam_ldap.conf
pam_filter host=this.is.a.test

when I test it with the above configuration I see no requests with
search variables host=

when I modfy my common-auth to look like this

#auth [success=1 default=ignore] pam_unix.so nullok_secure
auth required pam_ldap.so ignore_unknown_user use_first_pass
auth required pam_permit.so

and re run my test (which is to login via ssh), I do see a search with
the host in it and looking for this.is.a.test, but I do not get denied.

Q1) if pam_ldap.so fails because of the host command why does it still
allow me in even though there is a pam_permit afterwards, shouldn't the
required part fail the whole lookup 

Q2) why when I uncomment the first line does it not use the pam_filter
defined in pam_ldap.conf, my presumption is that pam_unix uses glibc and
thus nsswitch - is this the catch it it access the ldap via glibc
because of my nsswith setup above ?

Thanks
Alex


signature.asc
Description: Digital signature
-- 
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] pam ldap question

2006-05-08 Thread Alexander Samad
On Tue, May 09, 2006 at 12:16:33AM +1000, Simon Wong wrote:
 On Mon, 2006-05-08 at 16:02 +1000, Alexander Samad wrote:
  my common-auth looks like
  auth [success=1 default=ignore] pam_unix.so nullok_secure
  auth required pam_ldap.so ignore_unknown_user use_first_pass
  auth required pam_permit.so
 
 I doubt you want to use the permit module as it always succeeds.
 
  when I modfy my common-auth to look like this
  
  #auth [success=1 default=ignore] pam_unix.so nullok_secure
  auth required pam_ldap.so ignore_unknown_user use_first_pass
  auth required pam_permit.so
 
 This link describes the various modules (I know, when you're having
 trouble it barely seems to cover much at all!):
 
 http://www.kernel.org/pub/linux/libs/pam/Linux-PAM-html/pam-6.html
 
 I don't know whether the parameters [success=1 default=ignore] are
 valid.  Look at /var/log/auth.log for pam logging.
 
  Q1) if pam_ldap.so fails because of the host command why does it still
  allow me in even though there is a pam_permit afterwards, shouldn't the
  required part fail the whole lookup 
 
 Check out the documentation at
 http://www.kernel.org/pub/linux/libs/pam/Linux-PAM-html/pam-4.html#ss4.1
 
 What you are thinking of is requisite so that a failure returns to the
 app immediately.  Required is used where you require multiple modules to
 be successful to allow the authentication to succeed.
 
  Q2) why when I uncomment the first line does it not use the pam_filter
  defined in pam_ldap.conf, my presumption is that pam_unix uses glibc and
  thus nsswitch - is this the catch it it access the ldap via glibc
  because of my nsswith setup above ?
 
 No idea!

Well lots of searching around padl mailing lists brought me up with this

# From padl.com mailing list
auth sufficient pam_unix.so nullok_secure
auth required pam_ldap.so ignore_unknown_user use_first_pass

which seems to work.

the previous worked but with side effects.

the [success=1 default=ignore] is the way of routing the results in long
hand, were as required and sufficient do it in short hand.

all is happy now, and I have my ldap pam nss filtering working as well

 
 -- 
 Simon Wong [EMAIL PROTECTED]
 
 -- 
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
 


signature.asc
Description: Digital signature
-- 
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] photo gallery recommendations sought

2006-05-06 Thread Alexander Samad
On Sat, May 06, 2006 at 10:09:22AM +0800, [EMAIL PROTECTED] wrote:
 On Saturday 06 May 2006 10:00, [EMAIL PROTECTED] wrote:
   I'm looking for a photo gallery, if anyone has any recomendations,
   so far I've looked at Coppermine, which actually seems quite good, ??
   but, if
   anyone has other suggestions, I'm interested in hearing
 
  Gallery2 - http://www.gallery2.org/
 
 Years of use, USERS like it, multi-site ie Tigger runs 7,8 galleries under 
 different urls. Many positives, only negative is I doubt you can install it 
 with the nightmare apt-get paradigsm
 James

simple apt-get 
and then point your broswer to it to configure..

been using it for over a view, nice features

 
 grin all my bias betrayed by one word!
 --
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
 


signature.asc
Description: Digital signature
-- 
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] Invalid credentials error code 49

2006-04-20 Thread Alexander Samad
Hi

have you tried a slapcat to make sure the information is actually in the
DB ?


Alex


On Thu, Apr 20, 2006 at 02:36:19PM +1000, Selim Jahangir wrote:
 Hi 
 I have actually added the password just beside 
 Rootpw keyword. In my email the writing may be incorrect.
 -selim
 
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
 Behalf Of Gonzalo Servat
 Sent: Thursday, 20 April 2006 2:05 PM
 To: slug@slug.org.au
 Subject: Re: [SLUG] Invalid credentials error code 49
 
 On 4/20/06, Selim Jahangir [EMAIL PROTECTED] wrote:
 
  Hey
 
  I have changed the password by typing following, still having invalid
  credentials 49.
 [..snip..]
  slappasswd -s foo rootpass
 
  [EMAIL PROTECTED] ~]# vi rootpass
  [EMAIL PROTECTED] ~]# cat rootpass/etc/openldap/slapd.conf
  [EMAIL PROTECTED] ~]#
 
 Selim,
 
 That's not right. You put the root password on it's own line in
 slapd.conf. Edit slapd.conf, remove the line which contains the
 password on it's own, edit the rootpw line and paste the password
 generated by slappasswd. Alternatively, if you really want to do it
 from command line, remove the rootpw line altogether then save
 slapd.conf, and type something like the following in:
 
 # echo -e 'rootpw\t\t' `slappasswd -s foo`  /etc/openldap/slapd.conf
  service ldap restart
 
 Cheers,
 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 - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
 


signature.asc
Description: Digital signature
-- 
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] Xorg word selection

2006-04-18 Thread Alexander Samad
Hi

Thanks, thought it was a function of X and not the app

Alex


On Tue, Apr 18, 2006 at 04:09:06PM +1000, Sam Lawrance wrote:
 
 On 18/04/2006, at 1:45 PM, Alexander Samad wrote:
 
 Hi
 
 I have been trying to google for this, but to no success, I have  
 FC5 on
 a machine and running Xorg X server, now when I double click on a word
 in a xterm or rxvt term the word selection is different to what I am
 used to.  for example if I had a path
 
 /opt/oracle/staging/10.2.0.1/db/database/stage/
 
 and I clicked on database, double clicked it only selects database and
 not the whole directory - like it does on my debian box.
 
 Where do I change the setting for this
 
 Selection of words is typically application-specific behaviour.   
 Usually there is a regexp you can set; a quick look at the xterm  
 manpage shows that you can use a regexp or character class (see  
 ``CHARACTER CLASSES'').
 
  
 


signature.asc
Description: Digital signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

[SLUG] Xorg word selection

2006-04-17 Thread Alexander Samad
Hi

I have been trying to google for this, but to no success, I have FC5 on
a machine and running Xorg X server, now when I double click on a word
in a xterm or rxvt term the word selection is different to what I am
used to.  for example if I had a path

/opt/oracle/staging/10.2.0.1/db/database/stage/

and I clicked on database, double clicked it only selects database and
not the whole directory - like it does on my debian box.

Where do I change the setting for this 

Thanks



signature.asc
Description: Digital signature
-- 
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] Re: DEC Storage Works

2006-04-06 Thread Alexander Samad
On Thu, Apr 06, 2006 at 09:59:36AM +1000, Jeff Waugh wrote:
 quote who=Matthew Hannigan
 
  On Thu, Apr 06, 2006 at 08:51:05AM +1000, Jeff Waugh wrote:
   OCFS2 and GFS are supported in Ubuntu from 5.10 onwards.
  
  Nice!
  
  I believe OCFS2 made it into the standard kernel very recently; 2.6.16?
 
 Yeah - though it has been in our .12 and .15 kernels for 5.10 and 6.06. It
 is pretty rad. Certainly a heck of a lot simpler to set up and monitor than
 GFS.

having a read through the LKML there still seems to be some problems
with OCFS2 - data corruption under load

 
 - Jeff
 
 -- 
 FISL 7.0: Porto Alegre, Brazilhttp://fisl.softwarelivre.org/7.0/www/
  
 Learning and doing is the true spirit of free software -- learning
without doing gets you academic sterility, and doing without learning
 is all too often the way things are done in proprietary software. -
 Raph Levien
 -- 
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
 


signature.asc
Description: Digital signature
-- 
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] Special Interest Group: Asterisk

2006-03-08 Thread Alexander Samad
On Thu, Mar 09, 2006 at 09:54:38AM +1100, Howard Lowndes wrote:
 [EMAIL PROTECTED] wrote:
 
 Is there a user group for Asterisk in Sydney?
 
 If there is, could someone send me the contact details.
 
 If there is not a group, would any one be interested in getting involve in
 one?
  
 
 
 Yes, but Sydney is a long way away...
i'm interested and I am in sydney

 
 Craig
 
 
  
 
 
 -- 
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
 


signature.asc
Description: Digital signature
-- 
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] ipv6

2005-12-18 Thread Alexander Samad
On Sun, Dec 18, 2005 at 03:08:14PM +1100, Anand Kumria wrote:
 On Fri, Dec 16, 2005 at 09:12:26AM +1100, Alexander Samad wrote:
  On Fri, Dec 16, 2005 at 01:00:32AM +1100, Anand Kumria wrote:
   On Tue, Dec 13, 2005 at 03:37:09PM +1100, Alexander Samad wrote:

I also have 2 internet connections (1 static and 1 dynamic),  I onyl 
use the ip6to4 addressing
schema, which is a pain for the dhcp internet address cause I have to
make changes to my internet dns, if memory serves me correctly you get a
   
   If you have a static IPv4 address you can use either the AARNet IPv6
   tunnel broker (reasonably okay) or 6to4 address (tends to have higher
   latency due to dog-leg routing).
   
   If you have a dynamic IPv4 you really want to be using the AARNet IPv6
   broker.
  
  I have a bunch of script run to update dyndns, ipsec and a few other
  things, so just tacked on a bit to update the ipv6 address associated
  with the dynamic
 
 Well, that means that your IPv6 prefix is being updated each time you
 get a new address.  There is lots of pain associated with that
 (renumbering is easier with IPv6 but on-the-fly router renumbering is
 still being worked out).
Yep, but I use it only for out bound, the static is my inbound one,
it was a challenge to be done at the time.

 
   The site-local prefix (fe80) has been deprecated (rfc3879), instead you 
   want IPv6 local addresses (rfc4193) which you can self-generate with
   tools such as:
 http://www.hznet.de/tools/generate-uniq-local-ipv6-unicast-addr.sh
  So much reading to do and so little time, just to save me time reading
  the rfc's can I still use those address, i will get around to it, but
  haven't had a need to follow up in ipv6, but maybe now I do 8)
 
 Basically:
   RFC3330 (or RFC1918) specifies a number of 'private use' IPv4
   addresses: 10.0.0.0/8, 172.16.0.0/16 and 192.168.0.0/16
 
   Strangely enough most people and organisations that deploy
   private-use IPv4 address tend to pick the same ones (so
   192.168.0.0/24 and 192.168.1.0/24 are very common).
 
   If you then have to connect two 192.168.1.0/24 networks together
   you end up having to do double-NAT and installing lots of
   'funky' routes in various routers.
 
   There are a lot of other issues (described in RFC3879) as well,
   so the solution is to allow people to generate their own prefix
   but which isn't routed. So long as the generated prefix is
   unique, you can then connect two (or more) 'private use' IPv6
   networks together without having to worry about address
   collision.
 
   The shell script just generates an address prefix for you to
   use.
Understand

 
I routing my encapsulated traffic via ::192.231.212.5 (aus 4to6 gateway)
and via the ::192.88.99.1 which is defined as a 4to6 gateway which is
mean to be provided by your isp 
   
   You mean 6to4, however the 6to4 anycast address (::192.88.99.1) is
   normally provided by the topologically closest network -- at the moment
   that is switzerland as neither AARNet nor Telstra advertise reachability
   of their 6to4 service.
  yep, I found one through japan as well, I use it as a fall back
 
 Think about it.  The one in Japan (I'm assuming you are talking about
 kddilab.6to4.jp) _is_ advertising itself via anycast.
Sorry I think I have thrown a spanner in here, at some point in time
when I was setting this up, the ::192.88.99.1 address resolved to an
address in japan, not switzerland.  The ping times to swit was around
400ms and the japan one was around 200ms, so right now I have 2 with
metrics attached, 1 goes to 192.231.212.5 with is ~12ms and the second
goes to ::192.88.99.1.  Its been working, haven't bothered to play with
it for a while.  But looks like there has been some changes worth my
time again.

 
 The fact that you aren't using it when you use 192.88.99.1 means that it
 is topologically closer to route via switzerland than japan.  Picking
 that one means you are increasing your own latency.
 
  Sounds like you have been playing with it for while ? 
 
 Yes
 
  for work or fun
 
 Both
What is the work angle, if you can discuss or off line or  Just
interested to see what is happening in the real work world with ipv6
 
 Regards,
 Anand
 


signature.asc
Description: Digital signature
-- 
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] ipv6

2005-12-15 Thread Alexander Samad
On Fri, Dec 16, 2005 at 01:00:32AM +1100, Anand Kumria wrote:
 On Tue, Dec 13, 2005 at 03:37:09PM +1100, Alexander Samad wrote:
  
  I also have 2 internet connections (1 static and 1 dynamic),  I onyl use 
  the ip6to4 addressing
  schema, which is a pain for the dhcp internet address cause I have to
  make changes to my internet dns, if memory serves me correctly you get a
 
 If you have a static IPv4 address you can use either the AARNet IPv6
 tunnel broker (reasonably okay) or 6to4 address (tends to have higher
 latency due to dog-leg routing).
 
 If you have a dynamic IPv4 you really want to be using the AARNet IPv6
 broker.

I have a bunch of script run to update dyndns, ipsec and a few other
things, so just tacked on a bit to update the ipv6 address associated
with the dynamic

 
 One advantage 6to4 address has is that you can get your reverse DNS
 setup (http://6to4.nro.net).
 
  /64 on the 6to4 address space to chop up how you want internally, also
  using fe80 for site addressing so I can use these addresses with out
  worring about the changing dhcp address and therefor a changing 6to4
  address
 
 The site-local prefix (fe80) has been deprecated (rfc3879), instead you 
 want IPv6 local addresses (rfc4193) which you can self-generate with
 tools such as:
   http://www.hznet.de/tools/generate-uniq-local-ipv6-unicast-addr.sh
So much reading to do and so little time, just to save me time reading
the rfc's can I still use those address, i will get around to it, but
haven't had a need to follow up in ipv6, but maybe now I do 8)

 
  I routing my encapsulated traffic via ::192.231.212.5 (aus 4to6 gateway)
  and via the ::192.88.99.1 which is defined as a 4to6 gateway which is
  mean to be provided by your isp 
 
 You mean 6to4, however the 6to4 anycast address (::192.88.99.1) is
 normally provided by the topologically closest network -- at the moment
 that is switzerland as neither AARNet nor Telstra advertise reachability
 of their 6to4 service.
yep, I found one through japan as well, I use it as a fall back

 
  had some fun setting it up and ip6tables, but now I have it running
  haven't played with it in a while.  Setup my proxy pack to try ipv6
  addresses first for some sites
 
 Which proxy are you using? I was under the impression that Squid was
 fundamentally broken w.r.t IPv6 -- I'm been meaning to look at Apache2
 mod_proxy but, on my laptop, I'm using polipo with some success.

Proxy pac tell my browser to by pass for certain ipv6 address, just to
make sure it was working and all that

 
 Anand

Sounds like you have been playing with it for while ? for work or fun

 
 -- 
  `When any government, or any church for that matter, undertakes to say to
   its subjects, This you may not read, this you must not see, this you are
   forbidden to know, the end result is tyranny and oppression no matter how
   holy the motives' -- Robert A Heinlein, If this goes on --



 -- 
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


signature.asc
Description: Digital signature
-- 
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] ipv6

2005-12-13 Thread Alexander Samad
On Tue, Dec 13, 2005 at 04:25:15PM +1100, Dean Hamstead wrote:
 how do applications seem to react?
 
 most programs seem very 'ipv4' hardcoded. especially in windows,
 but in general to programs seem to accept ip6 addresses?

I just use names and let dns handle it, if its a ipv6 aware app, then it
will make a ipv6 connection first then fall back to ipv4. lot of the
main tools are aware, X ssh exim apache 

like I said I did it for a bit of interest but now its in place its just
there

 
 Dean
 
 Alexander Samad wrote:
 On Tue, Dec 13, 2005 at 02:03:29PM +1100, Dean Hamstead wrote:
 
 im not sure if this is a chat topic or not
 
 but anyway, is anyone here using ipv6? im thinking of
 using it here at home for curiosities sake. im running
 debian and freebsd so they are ready. macosx and xp
 (for the parents and kids etc) are also ipv6 ready.
 
 i can just about guarentee that the linksys router,
 belkin and apple waps are also not ipv6 compatable
 
 so, like i was saying. id like to hear from anyone running
 it at home or work etc (or using ?6bone?) especially with
 off the shelf appliance style hardware.
 
 
 I am running at home just to play with, but I have 3 networks hanging
 off the firewall, lan, wan and a firewire (again more playing), I run
 ipv6 on all of them.
 
 
 I also have 2 internet connections (1 static and 1 dynamic),  I onyl use 
 the ip6to4 addressing
 schema, which is a pain for the dhcp internet address cause I have to
 make changes to my internet dns, if memory serves me correctly you get a
 /64 on the 6to4 address space to chop up how you want internally, also
 using fe80 for site addressing so I can use these addresses with out
 worring about the changing dhcp address and therefor a changing 6to4
 address
 
 I routing my encapsulated traffic via ::192.231.212.5 (aus 4to6 gateway)
 and via the ::192.88.99.1 which is defined as a 4to6 gateway which is
 mean to be provided by your isp 
 
 had some fun setting it up and ip6tables, but now I have it running
 haven't played with it in a while.  Setup my proxy pack to try ipv6
 addresses first for some sites
 
 
 
 Dean
 -- 
 WWW: http://deanpatrick.tk
 LAN: http://www.bong.com.au
 EMAIL: [EMAIL PROTECTED]
 -- 
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
 
 
 -- 
 WWW: http://deanpatrick.tk
 LAN: http://www.bong.com.au
 EMAIL: [EMAIL PROTECTED]
 


signature.asc
Description: Digital signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

[SLUG] Distributed security Database

2005-12-12 Thread Alexander Samad
Hi

Just wondering how people manage a userid's across multiple linux
servers LDAP, NIS or ?

I am currently using nis, tried ldap previous but had issues when the
ldap server was uncontactable.

Alex


signature.asc
Description: Digital signature
-- 
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] ipv6

2005-12-12 Thread Alexander Samad
On Tue, Dec 13, 2005 at 02:03:29PM +1100, Dean Hamstead wrote:
 im not sure if this is a chat topic or not
 
 but anyway, is anyone here using ipv6? im thinking of
 using it here at home for curiosities sake. im running
 debian and freebsd so they are ready. macosx and xp
 (for the parents and kids etc) are also ipv6 ready.
 
 i can just about guarentee that the linksys router,
 belkin and apple waps are also not ipv6 compatable
 
 so, like i was saying. id like to hear from anyone running
 it at home or work etc (or using ?6bone?) especially with
 off the shelf appliance style hardware.

I am running at home just to play with, but I have 3 networks hanging
off the firewall, lan, wan and a firewire (again more playing), I run
ipv6 on all of them.


I also have 2 internet connections (1 static and 1 dynamic),  I onyl use the 
ip6to4 addressing
schema, which is a pain for the dhcp internet address cause I have to
make changes to my internet dns, if memory serves me correctly you get a
/64 on the 6to4 address space to chop up how you want internally, also
using fe80 for site addressing so I can use these addresses with out
worring about the changing dhcp address and therefor a changing 6to4
address

I routing my encapsulated traffic via ::192.231.212.5 (aus 4to6 gateway)
and via the ::192.88.99.1 which is defined as a 4to6 gateway which is
mean to be provided by your isp 

had some fun setting it up and ip6tables, but now I have it running
haven't played with it in a while.  Setup my proxy pack to try ipv6
addresses first for some sites


 
 Dean
 -- 
 WWW: http://deanpatrick.tk
 LAN: http://www.bong.com.au
 EMAIL: [EMAIL PROTECTED]
 -- 
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
 


signature.asc
Description: Digital signature
-- 
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] MTU size

2005-12-01 Thread Alexander Samad
On Fri, Dec 02, 2005 at 09:47:59AM +1100, John Clarke wrote:
 On Fri, Dec 02, 2005 at 12:43:35 +1100, Jobst Schmalenbach wrote:
 
  Now I have been talking to one of the techies @ my ISP (internode)
  and he suggested to drop the MTU size down to 1000.
 
 If this works, then I'd guess that something between you and the remote
 site is blocking icmp fragmentation needed packets, thereby breaking
 path mtu discovery.

you can also make route mtu changes as well so instead of changing the
whole mtu size you could do

ip r a 10.0.0.0/24 dev br0 mtu 1000

just change 10.0.0.0/24 with the address of the other box.

This will only work for connections originating from your box, not tcp
connections routing including nat'ing through your box

 
 
 Cheers,
 
 John
 -- 
 Unlike other cuisines, the Finnish one is most distinguishable by the
 fact that none of the major traditional dishes have anything you could
 remotely call flavo(u)r, and pretty much the only spice is salt.
 -- Toni Lassila
 -- 
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
 


signature.asc
Description: Digital signature
-- 
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] Shuttle XPC model recommendation for Linux

2005-11-03 Thread Alexander Samad
hi

I bought a SN95G5 V3 with these same questions in mind i went with the a
dual core X2 3800+ with 1G of memory, I ran into a few small problems,
setting up digital out for sound, the rest went smoothly, loaded debian
and all has been well.

Even thought about buying another one.

They do have a users forum of the web site where a lot of people discuss
linux problem on the boxs

I would recommend them.

Alex

On Fri, Nov 04, 2005 at 04:27:13AM +1000, tuxta2 wrote:
 64 bit Linux is fine now (was a bit dodgy for a while), My advise would 
 be to buy an AMD chip if you go with 64bit,
 If you choose 32 bit than everyone has their own opinion, but both amd 
 and intel will work fine.
 I have used a shuttle with AMD 64, ran both 64bit Linux and 32 bit, if 
 you are concerned about 64bit at the moment, you can still run 32 bit 
 Linux on a 64bit chip no prob. So I would recommend a AMD64.
 
 Important note , -- make sure it has an Nvidia Graphics card, ATI cards 
 work with their 3D drivers, but it is much harder for a new linux user 
 to configure, plus the nvidia drivers are better anyway, providing 
 better performance on equivelant or lessor hardware.
 
 GNU/Linux has come along way, and other than the Nvidia tip, I really 
 haven't come across harware issue's for  a long time, IMHO any system 
 will work fine.
 
 The only other thing I can think of to look out for would be the sound 
 card chipset, but again, its been a long time since I had problems with 
 a sound card not being supported. (gotta love ALSA)
 
 The best thing to do with any system you are going to buy, is take a 
 live cd with you and test it!!
 If the sound works, and all hardware is detected (and it has an nvidia 
 card --- getting the point ???) then its a winner.
 
 No one should begrudge you testing the system with a live cd, if they 
 do, shop some where else.
 
 Tuxta
 
 Xavier Elizalde wrote:
 
 I'm interested in getting a Shuttle XPC to install Linux on so I can  
 finally get into fooling around with Linux. I prefer it to  
 traditional desktops because of its form factor and is easier to  
 transport. However I can't figure out which model to get. I'm not  
 familiar enough with Linux and support for chipsets and such. I also  
 don't know whether to go 64 bit or 32 bit, and whether or not to go  
 with AMD or Intel. A friend of mine told me I shouldn't go with 64  
 bit because not everything runs on them yet, and they are a bit  
 complicated because there are differences with AMD and Intel  
 implementations. I also don't want to get one of these units only to  
 find out that most of the hardware features are unsupported and don't  
 have Linux drivers.
 
 I would like to be able to ask the stores that have them, but I'm  
 afraid that the salespeople will just say anything to get me to buy a  
 unit rather than actually address my concerns. I emailed the company,  
 but received a reply saying that they don't support Linux so they  
 can't make a recommendation. They said I should search the internet  
 for information, and I did. However, none of the results I managed to  
 go through had information about the newer models and only covered  
 much older ones.
 
 Do any SLUG members have experience with Shuttle XPCs?  I'm curious  
 to find out which would be considered to be one of their standard  
 models, and one that would be considered one of their top models for  
 use with Linux. And preferably in aluminium so it matches their  
 aluminium LCD monitor and all the hardware I currently have. I'd  
 really appreciate assistance in picking the right model to go with.  
 Thank you.
 
 Here is a link to their line of models...
 
 http://au.shuttle.com/Product/Barebone/brb_default.asp
 
 
 
 Sincerely,
 
 Xavier Elizalde
 
 -- 
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
 


signature.asc
Description: Digital signature
-- 
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] Amd dual core processors and Debiam {kernel, linux}-image deb's

2005-08-26 Thread Alexander Samad
simple solution upgrade bios! 8)


On Thu, Aug 25, 2005 at 11:06:11AM +1000, Alexander Samad wrote:
 hi
 
 I recently bought a CPU AMD Athlon64 X2 3800+, Dual-Core 2.0Ghz 1MB
 Cache S939 cpu.
 
 I was wondering which deb kernel package I shoudl be using to get smp
 out of this.  I am using linux-image-2.6.12-1-k7-smp right now 
 
 but when I look at /proc/cpu I get this
 
 processor   : 0
 vendor_id   : AuthenticAMD
 cpu family  : 15
 model   : 43
 model name  : AMD Hammer Family processor - Model Unknown
 stepping: 1
 cpu MHz : 2009.547
 cache size  : 512 KB
 physical id : 0
 siblings: 2
 core id : 0
 cpu cores   : 2
 fdiv_bug: no
 hlt_bug : no
 f00f_bug: no
 coma_bug: no
 fpu : yes
 fpu_exception   : yes
 cpuid level : 1
 wp  : yes
 flags   : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
 mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt
 lm 3dnowext 3dnow pni lahf_lm
 bogomips: 3981.31
 
 doesn't look there is 2 cpu's being used
 
 
 should I be using the k8-smp packages, I tried this and ended up with a
 64bit kernel
 
 Thanks
 Alex
 



 -- 
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


signature.asc
Description: Digital signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

[SLUG] Problem with DVD+R/RW

2005-08-24 Thread Alexander Samad
Hi 

Been having some problems with my new dvd-rw drive

Model Number:   PIONEER DVD-RW  DVR-110D
Serial Number:  EGDC005617WL   
Firmware Revision:  1.08


I am using dvd+rw tools and so far I have made 6-7 coasters, the problem
seems to show itself as 

:-? the LUN appears to be stuck writing LBA=310h, retry in 47ms

errors whilst trying to write to the drive.

This doesn't seem to be that bad as things go, because I have another
machine with a smiliar drive in it 

Model Number:   PIONEER DVD-RW  DVR-108 
Serial Number:  DGDL132757WL   
Firmware Revision:  1.04

which has the same errors on start up of the write session, this is only
whilst writing DVD's

they both also only write at 2x normal speed, even though they are rated
at 12 and I have 8x media.

The main problem I have with the frist drive is that it doesn't/can't
close sessions and thus write the whole disk and then fails to close the
session - resource unavailable.

Has any one else seen this 

I am using them through the ide interface on 2.6.12, I must note that on
early versions of 2.6 I actually got 8x speed through put!

Alex


signature.asc
Description: Digital signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

[SLUG] Amd dual core processors and Debiam {kernel, linux}-image deb's

2005-08-24 Thread Alexander Samad
hi

I recently bought a CPU AMD Athlon64 X2 3800+, Dual-Core 2.0Ghz 1MB
Cache S939 cpu.

I was wondering which deb kernel package I shoudl be using to get smp
out of this.  I am using linux-image-2.6.12-1-k7-smp right now 

but when I look at /proc/cpu I get this

processor   : 0
vendor_id   : AuthenticAMD
cpu family  : 15
model   : 43
model name  : AMD Hammer Family processor - Model Unknown
stepping: 1
cpu MHz : 2009.547
cache size  : 512 KB
physical id : 0
siblings: 2
core id : 0
cpu cores   : 2
fdiv_bug: no
hlt_bug : no
f00f_bug: no
coma_bug: no
fpu : yes
fpu_exception   : yes
cpuid level : 1
wp  : yes
flags   : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt
lm 3dnowext 3dnow pni lahf_lm
bogomips: 3981.31

doesn't look there is 2 cpu's being used


should I be using the k8-smp packages, I tried this and ended up with a
64bit kernel

Thanks
Alex



signature.asc
Description: Digital signature
-- 
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] Building nvidia kernel modules on a Debian x86_64 machine

2005-08-16 Thread Alexander Samad
On Tue, Aug 16, 2005 at 10:00:02AM +1000, Jeff Waugh wrote:
 quote who=Alexander Samad
 
  What I have done is install debian (2.6.11 base kerneL) I then upgraded
  the kernel to 2.6.11-amd64-k8-smp which is a x86_64 arch kernel so it does
  both 32 and 64 bit stuff ( I believe).
 
 If you've installed the i386 version of Debian, then you're running entirely
 in 32 bit mode. The k8 kernel is just an optimised build for your processor,
 it doesn't do 64 bit.

From what I read of the amd65.debain site you need to install 32 bit
first and then install the amd64-k8 version which have support for 64
bit in them (just quoting what they say), when I looked at the source of
the package it is built with arch amd64 and gcc swith -m64 which says to
me its running 64 bit some where in it, but haveing said that when i do
an arch it comes back with x86_64.

But you have given me a thought maybe I am trying to build the 64 bit
version of the nvidia drives against a 32 bit kernel interface !

 
 Your best bet is to install the amd64 version, and (at least in Debian, as
 it doesn't support bi- or multi-arch) run your 32 bit software in a chroot.
 
 - Jeff
 
 -- 
 GNOME Summit: October 8th-10th  http://live.gnome.org/Boston2005
  
   A 'lame' server is a server that is SUPPOSED to be authoritative, but,
   when asked, says: 'Me? I know nothing, I'm from Madrid!' - Ralf
 Hildebrandt
 -- 
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
 


signature.asc
Description: Digital signature
-- 
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] Multimedia machine (Shuttle)

2005-08-16 Thread Alexander Samad
Hi

Quick feedbackn onthe box, 
ended up getting a 

SN95G5 v3, amd 3800+ 2000 (dual core)
nvidia 6600gt

Everything is working fine except the sound.

I installed debian of a net installed, used raid1 then lvm on top, had
some issue with the amd64 kernel and the nvidia drivers, went back to
the k7-smp kernel and the nvidia drivers worked well

The problem I have with the sounds is a bit strange, its one of the
intel8x0 style chipsets, but show up as a nforce.

alsaconf find its snd configures it properly, I had even connected the
tos optic out to my amplifier, I was able to do ac3 pass through work
well, but when I went to play normal sound - nothing.   I really
want to use the spdif optic out, tried a few things but did not get any
where, I place my sounds blaster card in there!

When I get a bit of time to have a play and a look on the net I will see
if I can find out how to fix up the sounds to play properly



On Thu, Aug 11, 2005 at 07:57:48PM +1000, Alexander Samad wrote:
 On Tue, Jul 26, 2005 at 12:38:44PM +1000, Lindsay Holmwood wrote:
  Alexander Samad wrote:
  
  On Tue, Jul 26, 2005 at 09:58:03AM +1000, Rob Sharp wrote:
   
  
  You can probably get a USB sound 'card' breakout box that outputs
  S/P-DIF, if thats the only thing going against the mini. I know a mac
  owning friend bought one, but I've no idea what it was...
 
  
  
  Sounds like I might end up with things dangling of the box, do like it,
  might wait and see what they are releasing next week.
  
  *Fingers crossed*.
 
 after a bit of time and a bit more research went for the shuttle sn95g6
 v3 with a amd 3800 dual core, will report back my experiences!
 
  
  Lindsay
  
  -- 
  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


signature.asc
Description: Digital signature
-- 
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] Multimedia machine (Shuttle)

2005-08-16 Thread Alexander Samad
On Wed, Aug 17, 2005 at 07:15:09AM +1000, Alexander Samad wrote:
 Hi
 
 Quick feedbackn onthe box, 
 ended up getting a 
 
 SN95G5 v3, amd 3800+ 2000 (dual core)
 nvidia 6600gt
 
 Everything is working fine except the sound.
 
 I installed debian of a net installed, used raid1 then lvm on top, had
 some issue with the amd64 kernel and the nvidia drivers, went back to
 the k7-smp kernel and the nvidia drivers worked well
 
 The problem I have with the sounds is a bit strange, its one of the
 intel8x0 style chipsets, but show up as a nforce.
 
 alsaconf find its snd configures it properly, I had even connected the
 tos optic out to my amplifier, I was able to do ac3 pass through work
 well, but when I went to play normal sound - nothing.   I really
 want to use the spdif optic out, tried a few things but did not get any
 where, I place my sounds blaster card in there!
 
 When I get a bit of time to have a play and a look on the net I will see
 if I can find out how to fix up the sounds to play properly

with some digging around I found that this now works 
pcm.nforce-hw {
type hw
card 0
}
pcm.!default {
type plug
slave.pcm nforce
}
pcm.nforce {
type dmix
ipc_key 1234
slave {
pcm hw:0,2
period_time 0
period_size 1024
buffer_size 32768
rate 44100
}
}


so my ac3 pass through works as well as normal sounds through the optic
spdif.

have to admin I have to now work out what the above does!

 
 
 
 On Thu, Aug 11, 2005 at 07:57:48PM +1000, Alexander Samad wrote:
  On Tue, Jul 26, 2005 at 12:38:44PM +1000, Lindsay Holmwood wrote:
   Alexander Samad wrote:
   
   On Tue, Jul 26, 2005 at 09:58:03AM +1000, Rob Sharp wrote:

   
   You can probably get a USB sound 'card' breakout box that outputs
   S/P-DIF, if thats the only thing going against the mini. I know a mac
   owning friend bought one, but I've no idea what it was...
  
   
   
   Sounds like I might end up with things dangling of the box, do like it,
   might wait and see what they are releasing next week.
   
   *Fingers crossed*.
  
  after a bit of time and a bit more research went for the shuttle sn95g6
  v3 with a amd 3800 dual core, will report back my experiences!
  
   
   Lindsay
   
   -- 
   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



 -- 
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


signature.asc
Description: Digital signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

[SLUG] Building nvidia kernel modules on a Debian x86_64 machine

2005-08-15 Thread Alexander Samad
Hi

wondering if any one has done this, still struggle through how to build
a amd64 kernel that is actually part of the i386 arch Got this
worked out, tried the same trick with the nvidia modules and it bombs
out saying something about 32 bit kernel space - usually I change the
arch to amd64 and use the amd64_linux_gcc script that comes with kernel
image source package, but when I do that i get lots of errors about some
assembly language errors!


any tips ?


A


signature.asc
Description: Digital signature
-- 
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] Building nvidia kernel modules on a Debian x86_64 machine

2005-08-15 Thread Alexander Samad
On Mon, Aug 15, 2005 at 06:50:35PM +1000, [EMAIL PROTECTED] wrote:
 [EMAIL PROTECTED] wrote on 15/08/2005 06:21:01 PM:
 
  Hi
  
  wondering if any one has done this, still struggle through how to build
  a amd64 kernel that is actually part of the i386 arch Got this
  worked out, tried the same trick with the nvidia modules and it bombs
  out saying something about 32 bit kernel space - usually I change the
  arch to amd64 and use the amd64_linux_gcc script that comes with kernel
  image source package, but when I do that i get lots of errors about some
  assembly language errors!
  
  
  any tips ?
  
 I'm not sure I follow you, but have you downloaded the Linux 
 AMD64/EMT64T from
 http://www.nvidia.com/object/unix.html and compiled them?

Sorry was in a bit of a hurry when I wrote it (as well as getting rather
frustrated).

What I have done is install debian (2.6.11 base kerneL) I then upgraded
the kernel to 2.6.11-amd64-k8-smp which is a x86_64 arch kernel so it
does both 32 and 64 bit stuff ( I believe).

My problem is that when I download the nvidia-kernel-drivers package and
try a make-kpkg module against it it barfs saying something about 32
kernel mode - when I say this previously I found I had to change the gcc
swith -m to -m64 (for the kernel), but this just causes more problems
for the nvidia stuff.

I went to the extreme of just getting the file from the web site
(nvidia) and ran the installer for 64 bit verions but again I ran into
the same problem 8(

so I am thinking to move back to the 32bit smp kernel and get the nvidia
drivers working and then do some more investigating 8)

I was hoping that somebody would have seen this problem before 

 
 Cheers,
 
 Scott
 
 -- 
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
 


signature.asc
Description: Digital signature
-- 
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] Multimedia machine (Shuttle)

2005-08-11 Thread Alexander Samad
On Tue, Jul 26, 2005 at 12:38:44PM +1000, Lindsay Holmwood wrote:
 Alexander Samad wrote:
 
 On Tue, Jul 26, 2005 at 09:58:03AM +1000, Rob Sharp wrote:
  
 
 You can probably get a USB sound 'card' breakout box that outputs
 S/P-DIF, if thats the only thing going against the mini. I know a mac
 owning friend bought one, but I've no idea what it was...

 
 
 Sounds like I might end up with things dangling of the box, do like it,
 might wait and see what they are releasing next week.
 
 *Fingers crossed*.

after a bit of time and a bit more research went for the shuttle sn95g6
v3 with a amd 3800 dual core, will report back my experiences!

 
 Lindsay
 
 -- 
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
 


signature.asc
Description: Digital signature
-- 
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] dual authentification

2005-08-04 Thread Alexander Samad
On Fri, Aug 05, 2005 at 06:13:14AM +1000, James wrote:
 On 8/4/05, Ken Foskey [EMAIL PROTECTED] wrote:
  Got this one today, strange one:
  
  Do you know if it is possible to setup a Linux redhat server to require
  two passwords to gain root access? The responsibilities for the server
  are going to be split over two different teams and we don't want either
  to have root access without the other team knowing about it. Please let
  me know if you can come up with something.
  
  Basically they would like to set up the machine so that it requires two
  people to  sign in to root, an application guru and an administrator.
  If anything is destroyed then they are both accountable as they look
  over each others shoulders.
 
 I hope you don't mean literally over each others shoulders as the
 whole 2 password thing becomes redundant once they shoulder surf each
 other ;-).

There was an article written a while ago about a kernel module that
blocked all attempts to start new applications to run unless a
preconfigured usb device was plugged into the system, so no new process
could be start as root.

You could give one team the usb key and team the root password!

hard part is find the info on this usb kernal module

 
 
 --
 James
 --
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
 


signature.asc
Description: Digital signature
-- 
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] Alpha SRM Question

2005-08-03 Thread Alexander Samad
On Wed, Aug 03, 2005 at 04:35:07PM +1000, Crossfire wrote:
 Rajnish was once rumoured to have said:
  All,
  
  I've come in possession of an Alphastation 500/400 which has
  OpenVMS. I would like to install Debian on it
  however after hours of googling, I've discovered that I need to
  know much more about this beast (read: *fun*) than I know about my
  AMD-PC.
  
  So this beast (out of respect, I won't call it a 'box') doesn't
  have a monitor nor a graphic card. Thus, I use the serial port hooked
  to an old hp-laptop.
  
  I can see the bootup process starting, followed immediatly by
  OpenVMS and then the login: prompt. No telltale sign of an
  SRM console ().
  
  My question(s) are:
  how to I get to the SRM console ? Is there a special key I have to
  press ? (I am connected via serial port using Terminal.exe on win95!!)
 
 Pull the cover off whilst the AS500 is turned off.  There should be a
 little chart showing the jumpers on the board.  rejumper the reset
 switch (on the front) to be a HALT switch instead of a RESET switch by
 following the diagram[1].
 
 Now, turn your machine on, and give the HALT switch (the little button
 on the front that was once a reset switch) a good tapping whilst the
 machine is booting up.  You should eventually get a SRM prompt.
 
 Once that is all done, you can try to install Debian and join in with
 those of us screaming because the stupid netboot installer doesn't
 work on the AS500.  (But, for some perverse reason, does on miata).
 If you find yourself in this situation, use the woody netboot
 installer instead.

not sure if this is the case with teh as500, but on a es45 you can try
the magic key sequence to get to the rmu ^[^[rmu and then type halt in,
also I have found pressing ctrl-c during boot up breaks the srm from
doing the auto boot.

once in srm type
set_env auto_action halt

so that it doesn't auto restart the os on reboot and then bob's your
uncle!



 
 C.
 
 [1] Following said diagram is beyond scope of this post
 -- 
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
 


signature.asc
Description: Digital signature
-- 
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] Multimedia machine (Shuttle)

2005-07-25 Thread Alexander Samad
On Mon, Jul 25, 2005 at 05:00:30PM +1000, Lindsay Holmwood wrote:
 Samad, Alex wrote:
 
 
 I have also started to look at the mac mini, not bad on first look
 
 The Mac Mini is quite a nice little machine.
 
 Did you want to hook the box into a TV to watch you movies, or were you 
 going to view them on a monitor? The Mac Mini doesn't have video out (in 
 an RCA form (or microphone in, if that matters)), so you might be a bit 
 restricted there.
 
 It also doesn't have an SPDIF out, only standard 3.5mm out.

Well I think this rules is out for me!

 
 Apple looks as though they'll be releasing new Mac Minis next week 
 however, so you might want to check them out again then.
 
 Lindsay
 -- 
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
 


signature.asc
Description: Digital signature
-- 
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] Multimedia machine (Shuttle)

2005-07-25 Thread Alexander Samad
On Tue, Jul 26, 2005 at 09:58:03AM +1000, Rob Sharp wrote:
 On 7/26/05, Alexander Samad [EMAIL PROTECTED] wrote:
  On Mon, Jul 25, 2005 at 05:00:30PM +1000, Lindsay Holmwood wrote:
   Samad, Alex wrote:
  
   
   I have also started to look at the mac mini, not bad on first look
   
   The Mac Mini is quite a nice little machine.
  
   Did you want to hook the box into a TV to watch you movies, or were you
   going to view them on a monitor? The Mac Mini doesn't have video out (in
   an RCA form (or microphone in, if that matters)), so you might be a bit
   restricted there.
  
   It also doesn't have an SPDIF out, only standard 3.5mm out.
  
  Well I think this rules is out for me!
 
 You can probably get a USB sound 'card' breakout box that outputs
 S/P-DIF, if thats the only thing going against the mini. I know a mac
 owning friend bought one, but I've no idea what it was...

Sounds like I might end up with things dangling of the box, do like it,
might wait and see what they are releasing next week.

 
 -- 
 Rob Sharp
 
   email/jabber: [EMAIL PROTECTED]
   web: http://sharp.id.au
   pgp: 0E2C C63B BA04 DEB4 7CC0 84FD 17E3 6AA4 87FB 62DF
 --
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
 


signature.asc
Description: Digital signature
-- 
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] access ext3 partion from xp dual boot

2005-06-02 Thread Alexander Samad
Hi
have a look on source forge I believe there is a package that allow
windows machines to mount ext2 (maybe ext3 ) partitions, been a while
since I looked at it

A
On Wed, Jun 01, 2005 at 09:36:09PM +1000, linleycaetan wrote:
 I have just installed ubuntu as dual boot on my sony vaio.
 Is there a straighforward way of accessing the linux patition from windows ?
 
 -- 
 
 
 
 -- 
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
 


signature.asc
Description: Digital signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

[SLUG] RHEL3u4

2005-06-02 Thread Alexander Samad
Hi

Installing rhel3u4 on some old hardware, and when the install gets to
probing the monitor is locks the computer up.

I have tried these options

nofb skipddc text noprobe

which worked on RHEL4, but seem to make no difference to the rhel3u4
install process.  How can I get a totally text only no probing of the
monitor install going ?

Alex





signature.asc
Description: Digital signature
-- 
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] setting system binaries to 0700 ?

2005-05-22 Thread Alexander Samad
 following the awstats exploits, I'm setting wget/curl/lwp* to 0700

 is there any reason I shouldn't set system binaries some/all to 0700 ?
 like chmod/chown ?


silly question but why would you want to write to a system binary ?


 --
 Voytek
 --
 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] Bridging/network on PearPC

2005-05-12 Thread Alexander Samad
On Fri, May 13, 2005 at 09:04:47AM +1000, Phil Scarratt wrote:
 Peter Rundle wrote:
  brctl addbr br0
  brctl stp br0 off
  brctl addif br0 eth0
  brctl addif br0 eth1
  ifconfig eth0 down
  ifconfig eth1 down
  ifconfig eth0 0.0.0.0 up
  ifconfig eth1 0.0.0.0 up
  echo 1 /proc/sys/net/ipv4/ip_forward
  ifconfig br0 192.168.0.254 up
 
 I've just setup bridging for a VPN using the same process as above and 
 have found that if I put the steps in a script (FC1) it doesn't work. IE 
 you get a situation like the following (I've removed the Metric and Ref 
 columns for wrapping purposes):
 
 Main routing table directly after running script:
 Kernel IP routing table
 Destination Gateway Genmask Flags Iface
 192.168.100.0   *   255.255.255.0   U br0
 192.168.100.0   *   255.255.255.0   U eth1
 10.0.0.0*   255.0.0.0   U eth0
 127.0.0.0   *   255.0.0.0   U lo
 default 10.1.1.30.0.0.0 UGeth0
 
 Main routing table 10 or so seconds later:
 Kernel IP routing table
 Destination Gateway Genmask Flags Iface
 192.168.100.0   *   255.255.255.0   U eth1
 192.168.100.0   *   255.255.255.0   U eth1
 10.0.0.0*   255.0.0.0   U eth0
 127.0.0.0   *   255.0.0.0   U lo
 default 10.1.1.30.0.0.0 UGeth0
 
 Which then of course screws it all right up and doesn't work. I have 
 absolutely no idea why - still looking. If I type out the individual 
 commands in the script by hand it works fine, and I end up with:
 
 Destination Gateway Genmask Flags Iface
 192.168.100.0   *   255.255.255.0   U br0
 10.0.0.0*   255.0.0.0   U eth0
 127.0.0.0   *   255.0.0.0   U lo
 default 10.1.1.30.0.0.0 UGeth0
 
 I've even tried putting a sleep 2 (5 and 10 as well) between the last 
 two lines (ie bringing eth1 up with 0.0.0.0 promisc and bringing br0 up) 
 and it doesn't help I get:
interesting - have your tried a bash -x 

quick look at man ifconfig suggests, I could be wrong but 

ifconfig eth0 0.0.0.0 up - should be split into
ifconfig eth0 up
ifconfig eth0 0.0.0.0


from man
SYNOPSIS
   ifconfig [interface]
   ifconfig interface [aftype] options | address ...

seems like there is a | between options and address ! or maybe the
address should come before any options !

 
 Kernel IP routing table
 Destination Gateway Genmask Flags Iface
 192.168.100.0   *   255.255.255.0   U eth1
 192.168.100.0   *   255.255.255.0   U br0
 10.0.0.0*   255.0.0.0   U eth0
 127.0.0.0   *   255.0.0.0   U lo
 default 10.1.1.30.0.0.0 UGeth0
 
 And it still doesn't work. No idea but it only just happened last thing 
 yesterday so still looking around for a cause/fix. I know this doesn't 
 really deal with the original problem, but couldn't help commenting.
 
 Fil
 -- 
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
 


signature.asc
Description: Digital signature
-- 
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] Bridging/network on PearPC

2005-05-12 Thread Alexander Samad
On Fri, May 13, 2005 at 10:43:10AM +1000, Phil Scarratt wrote:
 Alexander Samad wrote:
 interesting - have your tried a bash -x 
 

look in bash searh for set in SHELL BUILTIN COMMANDS and it takes an
option of -x 
-x  After  expanding  each  simple command, display the
expanded value of PS4, followed by the command and its expanded arguments.



 
 hmmm...what's the -x do? Can't seem to find it in the man page - 
 something to do with environment?
 
 quick look at man ifconfig suggests, I could be wrong but 
 
 ifconfig eth0 0.0.0.0 up - should be split into
 ifconfig eth0 up
 ifconfig eth0 0.0.0.0
 
 
 from man
 SYNOPSIS
ifconfig [interface]
ifconfig interface [aftype] options | address ...
 
 seems like there is a | between options and address ! or maybe the
 address should come before any options !
 
 
 I thought you might be onto something here but it says later in the 
 manpage that specifying an address implies the up option, but then again 
 maybe 0.0.0.0 is not considered an address.h gives me something 
 to work with...thanks!!
 
 Fil
 -- 
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
 


signature.asc
Description: Digital signature
-- 
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] Script Help

2005-05-10 Thread Alexander Samad
On Wed, May 11, 2005 at 02:10:40PM +1000, Peter Rundle wrote:
 Simon scribed;
 
 Why is the following script ripping out every directory rather than just
 those in 'studentfile'
 
 #!/bin/bash
 while read name; do
 cd $name
 rm -fvr *
 cd ..
 rmdir $name
 done  studentlist
  
 
 Repeat after me:   Never use a star with rm -r !
 
 In your script what will happen if there is a name in the list that 
 doesn't exist as a directory?
 cd $name  will fail leaving you in the current directory.
 rm -r *  will then remove everything in the current directory..
 
 as Vino  said do this;
 
 while read name; do
   rm -fvr $name

might be best to do this incase there are special characters in the
directory name !


   rm -fvr $name

 done  studentlist
 
 much safer.
 
 HTH
 
 P
 
 -- 
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
 


signature.asc
Description: Digital signature
-- 
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] Partition advice

2005-05-05 Thread Alexander Samad
On Thu, May 05, 2005 at 04:15:21PM +1000, Michael Chesterton wrote:
 Peter Rundle [EMAIL PROTECTED] writes:
 
  System has hardware raid with six drives. Two 36Gb and four 72Gb. Idea 
  is to mirror two 36's as the system disk
  and the other 4 in a raid 5 for data. System will be a bit of a jack of 
 
 Looks fine to me. If 144G was enough for the data, I would use raid
 1+0 (or is that 0+1 or 10). With 4 disks, raid 1+0 is faster at
 reading and writing than raid 5 with the same amount of redundancy.

Q) isn't raid 1+0 of 4 disk = 144G  and raid 5 of 4 disk 216G of space

I thought the formula for raid 1 is N/2 and the +0 was that the data was
striped across different spindles, were as the formula for raid5 was N-1
(loose 1 drive for parity)


 
 I'd also look into the optimum file system block size for your raid
 setup, from memory you want to match the raid block size with the file
 system block size. I would double check that, though, it's covered in
 a howto I think.
 
 I'd put the 4 disks on /var and partition the system disk with / /usr
 /home and swap.
 
 It's well worth your time tuning postgres, there are a number of
 articles on how to do it (google tuning postgresql performance), but
 without gobs of experience, it's mostly trial and error. I've had
 queries that were taking minutes to complete come down to seconds.
 
 That's my string.
 -- 
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
 


signature.asc
Description: Digital signature
-- 
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] DVD iso img - how to play?

2005-05-05 Thread Alexander Samad
On Thu, May 05, 2005 at 10:19:30PM +1000, Jan Schmidt wrote:
 On Tue, 2005-05-03 at 14:48 +1000, Bill wrote:
  Hi,
  
  I've successfully copied a DVD as an iso image to my hard-drive, and have 
  managed to mount it with the loopback device, but I have not been able to 
  figure out how to get it to play in Xine.
  
 
 If you decrypted the contents as you copied it, then just do:
 
 xine dvd://home/bill/my-dvd-image.img 

not sure about xine but with mplayer I go mplayer file://path-to-file -
it works out the format

 
 If you didn't decrypt it as you went, I'm not sure libdvdread will cope
 with detecting that and cracking the title, although setting the env var
 DVDCSS_METHOD=title may help with that.
 
 J.
 
 -- 
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
 


signature.asc
Description: Digital signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

[SLUG] Multimedia machine

2005-05-05 Thread Alexander Samad
Hi

 

I remember a while ago somebody posted about putting together a
multimedia machine and where they got the parts from, had a quick look
through the archives and cant seem to find it.

 

What I am looking for is a small via motherboard (is that going to be
big enough to use mplayer ???) and some nice (how nice do I need)
graphics card to run probably a lcd monitor I would need 1 pci slot for
the wireless card and say room for a laptop HD, small and quiet is the
other requirements Oh and a usb connection.

 

Dont need to do any encoding as this will just be in the bed room wired
to the media server.

 

Thanks

Alex



signature.asc
Description: Digital signature
-- 
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] ssh scan and iptables

2005-04-19 Thread Alexander Samad
On Tue, Apr 19, 2005 at 11:20:01AM +0200, Gottfried Szing wrote:
 hi guys,
 
 last week was a discussion on this list about ssh scans and almost
 everyone (including me) is ignoring the script kiddies.
 
 but i was thinking about this problem and came up with the (not new, i
 know) idea to block IPs from which subsequent failed login attempts came
 for about an hour or so. i played around with several tools but none of
 them did exactly what i wanted.
 
 what i want to achieve is to detect failed logins via SSH (e.g. with a
 limit of 3 attempts within one minute) and to drop/deny packages from the
 source IP via iptables for about one hour.
 
 because i dont start sshd via a tcp-wrapper (various reasons for this) and
 my sshd ignores the hosts.deny/hosts.allow files, i cannot add the source
 IPs which i want to block into one of these files. this also wouldnt solve
 the problem with the expiration of the rules.
 
 does somebody of you have a better idea for this? maybe calling an script
 which adds an iptables rule with an expiration?

I have done something on the simplier side, scan the syslog on the hour
and find these attempts and then find their ip address (using awk 
grep - you could probably extend this to say allow for 2-3 attempts
instead of one) then I have a iptables chain called blocked which
tarpits all ip address in the list, this chain is called as the first
line of INPUT, FORWARD.  This way bad address stay on the blocked list
for about 24 hours.

 
 thanks, gottfried
 
 -- 
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
 


signature.asc
Description: Digital signature
-- 
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] ssh scan and iptables

2005-04-19 Thread Alexander Samad
On Wed, Apr 20, 2005 at 08:57:23AM +1000, Paul Dwerryhouse wrote:
 On Tue, Apr 19, 2005 at 11:20:01AM +0200, Gottfried Szing wrote:
  what i want to achieve is to detect failed logins via SSH (e.g. with a
  limit of 3 attempts within one minute) and to drop/deny packages from the
  source IP via iptables for about one hour.
 
 You can do this with the iptables 'ipt_recent' module.
How does it determine between good ssh packets and bad ssh packets ?

 
 Have a look at the docs here:
 
 http://snowman.net/projects/ipt_recent/
 
 Cheers,
 
 Paul.
 
 
 -- 
 Paul Dwerryhouse  | PGP Key ID: 0x6B91B584
 -- 
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
 


signature.asc
Description: Digital signature
-- 
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] Someone's bruteforcing my debian box...should I worry?

2005-04-12 Thread Alexander Samad
On Tue, Apr 12, 2005 at 10:30:23PM +1000, Nick Croft wrote:
 * Rob Sharp ([EMAIL PROTECTED]) wrote:
  Funny you should menion it but:
  
  grep Invalid /var/log/auth.log yields
  
  Apr 10 07:05:36 islay sshd[3403]: Invalid user t from :::211.30.136.xxx
  Apr 10 13:00:41 islay sshd[3823]: Invalid user test from 
  :::61.144.122.39
  Apr 12 00:05:59 islay sshd[4048]: Invalid user test from 
  :::202.82.195.xxx
  Apr 12 00:06:01 islay sshd[4050]: Invalid user guest from 
  :::202.82.195.xxx
  Apr 12 00:06:04 islay sshd[4052]: Invalid user admin from 
  :::202.82.195.xxx
  Apr 12 00:06:06 islay sshd[4054]: Invalid user admin from 
  :::202.82.195.xxx
  Apr 12 00:06:07 islay sshd[4056]: Invalid user user from 
  :::202.82.195.xxx
  Apr 12 00:06:14 islay sshd[4064]: Invalid user test from 
  :::202.82.195.xxx
  Apr 12 00:06:17 islay sshd[4066]: Invalid user test from 
  :::202.82.195.xxx
  Apr 12 00:06:19 islay sshd[4068]: Invalid user test from 
  :::202.82.195.xxx
  Apr 12 00:06:21 islay sshd[4070]: Invalid user test from 
  :::202.82.195.xxx
  
  All the latter accesses are from the same IP address too...
  
 Bah
 
 test, guest, admin, user
 
 My would-be sshers are:
 
 mustang, tigger , maggie , pascal , tara, violet, sheena, nikiata, shadow,
 antik, itera, kerlim magnus, lover, krista, liana, gigi, hello, lady, yoko
 and zetina.
 
 They're from Russia, and can keep trying as long as they don't get in.

been seeing this for a while too, I changed sshd to only allow key
authentication and I also scan the log and TARPIT the address they are
comming from on the hour !

A

 
 N
 -- 
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
 


signature.asc
Description: Digital signature
-- 
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] SB Live and Alsa

2005-01-14 Thread Alexander Samad
On Fri, Jan 14, 2005 at 12:11:56PM +1100, Simon Males wrote:
 Thing I read about this slider is it is for certain types of sound
 blasters and which dual use a port for digital and analogue. seems to
 make no difference weather it is on or off on my card !
 
 When I run emu-config -d, analog is still pumping. It didn't with 2.4 
 kernels.
doesn't seem to work under 2.6 8(
 
 -- 
 Simon Males [EMAIL PROTECTED]
 No More AOL CDs Australia - www.anticd.org
 


signature.asc
Description: Digital signature
-- 
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] SB Live and Alsa

2005-01-13 Thread Alexander Samad
On Thu, Jan 13, 2005 at 10:53:08PM +1100, Jan Schmidt wrote:
 On Thu, 2005-01-13 at 22:40 +1100, Alexander Samad wrote:
  Hi
  
  I am trying to get 5.1 digital sounds out of my linux box, but I have so
  many sliders in alsa mixer and they all seem to do strange things, but I
  can't seem to get 5.1 to my amp.
 
 I've actually been playing with this on my Audigy in the last week.
 
  Has any one been able to do this ?
 
 Yep.
 
  
  There are lots of 
  EMU10K1 PCM
  EMU10K1 PCM Sending 
  EMU10K1 PCM Routing 
 
 You don't want to play with the send and routing sliders. They're
 actually a bitmask that specifies how to connect the various channels in
 the emu10k1 dsp to each other.

Okay I have a coax cable to connect to the amp ,if I turn these off then
I get no sound!

 
 You can only play 5.1 digital sound on an SPDIF channel in a compressed
 form, ie AC3 or DTS. Apparently, SPDIF doesn't have sufficient bandwidth
 to carry that many raw audio channels. I think it does at most 4. The
 upshot of this is that you can only do 5.1 channels from a DVD player
 like xine.
 
 To make that work, turn on the digital output from the card so that
 2-channel audio is coming out your amp correctly, and then set xine to
 use 'AC3 passthrough' as the speaker configuration in the config dialog.

can you do the same with mplayer ?

 
 Your amp should then get the compressed channel coming straight from the
 DVD and play it back.
 
 J.
 -- 
 Jan Schmidt [EMAIL PROTECTED]
 
 


signature.asc
Description: Digital signature
-- 
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] SB Live and Alsa

2005-01-13 Thread Alexander Samad
On Fri, Jan 14, 2005 at 01:31:58AM +1100, Jan Schmidt wrote:
 On Fri, 2005-01-14 at 01:16 +1100, Simon Males wrote:
   I am trying to get 5.1 digital sounds out of my linux box, but I have so
   many sliders in alsa mixer and they all seem to do strange things, but I
   can't seem to get 5.1 to my amp.
  
  http://prdownloads.sourceforge.net/emu10k1/emu-tools-0.9.4.tar.gz?download
  
  Once compiled:
  
  $ emu-config -d
  
 
 emu-tools shouldn't be needed with an recent ALSA, you can just un-mute
 the 'digital output' slider in alsamixer.

Thing I read about this slider is it is for certain types of sound
blasters and which dual use a port for digital and analogue. seems to
make no difference weather it is on or off on my card !

 
 Cheers,
 Jan
 -- 
 Jan Schmidt [EMAIL PROTECTED]
 
 -- 
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
 


signature.asc
Description: Digital signature
-- 
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] SB Live and Alsa

2005-01-13 Thread Alexander Samad
On Thu, Jan 13, 2005 at 11:20:36PM +1100, Jan Schmidt wrote:
 On Thu, 2005-01-13 at 23:10 +1100, Alexander Samad wrote:
  On Thu, Jan 13, 2005 at 10:53:08PM +1100, Jan Schmidt wrote:
   On Thu, 2005-01-13 at 22:40 +1100, Alexander Samad wrote:
Hi

I am trying to get 5.1 digital sounds out of my linux box, but I have so
many sliders in alsa mixer and they all seem to do strange things, but I
can't seem to get 5.1 to my amp.
   
   I've actually been playing with this on my Audigy in the last week.
   
Has any one been able to do this ?
   
   Yep.
   

There are lots of 
EMU10K1 PCM
EMU10K1 PCM Sending 
EMU10K1 PCM Routing 
   
   You don't want to play with the send and routing sliders. They're
   actually a bitmask that specifies how to connect the various channels in
   the emu10k1 dsp to each other.
  
  Okay I have a coax cable to connect to the amp ,if I turn these off then
  I get no sound!
 
 SPDIF should be a single coax cable link, yes.
  
   You can only play 5.1 digital sound on an SPDIF channel in a compressed
   form, ie AC3 or DTS. Apparently, SPDIF doesn't have sufficient bandwidth
   to carry that many raw audio channels. I think it does at most 4. The
   upshot of this is that you can only do 5.1 channels from a DVD player
   like xine.
   
   To make that work, turn on the digital output from the card so that
   2-channel audio is coming out your amp correctly, and then set xine to
   use 'AC3 passthrough' as the speaker configuration in the config dialog.
  
  can you do the same with mplayer ?
 
 I believe so. Here's an example off the net that I found:
 
 mplayer -ao alsa1x:default -ac hwac3 dvd://9

H no luck just lots of tapping noise!

 
 Cheers
 Jan
 
 -- 
 Jan Schmidt [EMAIL PROTECTED]
 
 Yeah. The whole climax thing would make much more sense
 if I'd paid attention.
 
 
 -- 
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
 


signature.asc
Description: Digital signature
-- 
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] ifolder tarpit

2004-12-27 Thread Alexander Samad
On Mon, Dec 27, 2004 at 08:06:46PM +1000, hilton de meillon wrote:
 Hey All,
 
 Has anyone ever got ifolder working on linux ?. I am seeking a program that
 can sync data between multiple hosts in a secure manner with a master /
 slave relationship (other than rsync and ssh).
 
 Has anyone ever got the TARPIT destination working or has anyone had a
 chance to play with it ?. I want to get it wokring on my slack box but I do
 not want to recompile my kernel as then future kernel updates require more
 work, etc and am trying to gauge if it is worth it ?

I am using it but it currently exists only in patch-o-matic-ng so you
have to do a rebuild.

 
 Any ideas ?
 
 Hilton.
 
 
 -- 
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
 


signature.asc
Description: Digital signature
-- 
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] kernel-2.4 to 2.6 now no console.

2004-12-25 Thread Alexander Samad
Hi

Did you compile your own kernel ? Sounds like maybe you missed a module
(wild guess)

A

On Sun, Dec 26, 2004 at 09:36:55AM +1100, Karl Bowden wrote:
 I am using debian-testing, and when I boot using a 2.6 series kernel 
 there are no virt consoles.
 X is at console 2 i think. (I can get to it by Crtl-Alt-F2).
 I also get an extra cursor in X (its normally a little 'x'). It will 
 diasppare whenever I click on a window title. but will return when ever 
 I switch to another virt console and back again. It also wont disappare 
 when I'm using XFCE.
 
 Regards,
 Karl Bowden
 
 -- 
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
 


signature.asc
Description: Digital signature
-- 
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] RE: Netcomm np1400

2004-12-15 Thread Alexander Samad
hi

pppoa is ppp over atm
pppoe is ppp over ethernet

the former is usually only atainable when the adsl modem is a pci card.
the later is usuall what you get when the interface between the modem
and the computer is ethernet

Both only apply when the modem is in bridged mode

A

On Wed, Dec 15, 2004 at 01:00:28PM +0930, Alan Millsted wrote:
 What's the difference between pppoa and pppoe I hve been trying to
 set it up as per ahow to from Lnux.Questions.org
 That says no IP on the NIC that the system is using to get to ISP just
 a valid HWADDA.
 
 Your are right about doing your head in!
 
 Alan
 
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, 15 December 2004 11:38 AM
 To: Alan Millsted
 Subject: Re: [SLUG] RE: Netcomm np1400
 
 
 
 if you just have the modem and one pc on the same network 192.168.1.0/24
 and using pppoa or pppoe on the modem 
 then yes, if your doing it with 2 lan cards
 in one box, then something like this
 
 modem 192.168.1.1
 
 gateway eth0 192.168.1.254
 gateway eth1 192.168.0.254
 
 hub
 
 other pcs in your lan 192.168.0.x
 
 these pcs use eth1 as default route
 
 gateway pc uses the modem as the default route
 
 and the firewall will need to be adjusted to suit.
 you should be able to see the modem with a browser from the pc's on your
 lan.
 
 Alan Millsted wrote:
  
  I need a bit of time to get my head round all that, but this isn't the
 
  origial modem from TPG. I havent tried to set that one up on thia 
  Linux box because that is my only link to the real world. Are you 
  saying I should set the gateway on my system as the IP of the modem 
  192.168.1.1 Thanks and any info helps
  
  Alan
  
  -Original Message-
  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
  Sent: Wednesday, 15 December 2004 10:33 AM
  To: Alan Millsted
  Subject: Re: [SLUG] RE: Netcomm np1400
  
  Mate, these things can do your head in, tgp like most dsl providers 
  should be using helstras network for the connection??? it will support
 
  most modes of connection, so set the modem up like it was originally 
  sent to you, connect to it with a pc on the same network as the modem 
  using it as the gateway and ns then by driving the modem with a 
  browser, see if you can get the connection happening, if so then the 
  providers part is working fine. you could prolly even get away with 
  using your modem like this with 2 lan cards in the gateway linux box, 
  one on each network and route all the traffic out the lan card 
  connected to the modem, on the gateway box, route all internal 
  traffic, to that lan card on the gateway box.
  
  or then frig with the modem to try and get it to do bridging mode till
 
  it works, the pado timeout errors, or whatever, are usually to do with
 
  authentication problems at the other end, and go away after an hour or
 
  so
  
  i haven't really been following this thread, so this could all be 
  bullshit, if so sorry for wasting your time.
  
  Alan Millsted wrote:
  
   This is the way I feel it should be (not that I realy know anything 
   about it) but logic seems to point that way, so I am thinking that 
   it is
  
  --
Greg
  
  -[ Registered Linux User#159346 * http://baratel.com/~greg/ ]-
  
  This Email may contain privileged information and remains the
  property of the author. You may not reveal the contents to
  anyone without the authors express authority to do so.
  
  ... If Bill Gates had a dime for every time a Windows box crashed...
   Oh, wait a minute, he already does.
  
  --
  SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ 
  Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
 
 -- 
   Greg 
 
 -[ Registered Linux User#159346 * http://baratel.com/~greg/ ]-
 
 This Email may contain privileged information and remains the 
 property of the author. You may not reveal the contents to 
 anyone without the authors express authority to do so. 
 
 ... Microsoft has argued that open source is bad for business, but 
 you have to ask, Whose business? Theirs, or yours? --Tim O'Reilly
 
 
 -- 
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
 


signature.asc
Description: Digital signature
-- 
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] RE: Netcomm np1400

2004-12-15 Thread Alexander Samad
wild guess but do you have a cross over cable between the 2 ?

every time you try and tx you get a carrier error !

A

On Wed, Dec 15, 2004 at 03:37:03PM +0930, Alan Millsted wrote:
 Ok, I have done that and allthough I haven't fired up the modem yey I
 can't see eth0 192.168.0.254 from anywhere. And this is the 'config -a'
 output
 
 [EMAIL PROTECTED] ~]# service network start
 Setting network parameters:[  OK  ]
 Bringing up loopback interface:[  OK  ]
 Bringing up interface at_home: [  OK  ]
 Bringing up interface the_world:   [  OK  ]
 [EMAIL PROTECTED] ~]# ifconfig -a
 eth0  Link encap:Ethernet  HWaddr 00:0D:61:6A:CA:A9
   inet addr:192.168.1.254  Bcast:192.168.1.255
 Mask:255.255.255.0
   inet6 addr: fe80::20d:61ff:fe6a:caa9/64 Scope:Link
   UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
   RX packets:352 errors:0 dropped:0 overruns:0 frame:0
   TX packets:76 errors:0 dropped:0 overruns:0 carrier:0
   collisions:0 txqueuelen:1000
   RX bytes:51971 (50.7 KiB)  TX bytes:5848 (5.7 KiB)
   Interrupt:10 Base address:0xa000
 
 eth1  Link encap:Ethernet  HWaddr 00:04:75:E7:ED:6C
   inet addr:192.168.0.254  Bcast:192.168.0.255
 Mask:255.255.255.0
   inet6 addr: fe80::204:75ff:fee7:ed6c/64 Scope:Link
   UP BROADCAST MULTICAST  MTU:1500  Metric:1
   RX packets:0 errors:0 dropped:0 overruns:0 frame:0
   TX packets:97 errors:0 dropped:0 overruns:0 carrier:97
   collisions:0 txqueuelen:1000
   RX bytes:0 (0.0 b)  TX bytes:6054 (5.9 KiB)
   Interrupt:5 Base address:0x9000
 
 loLink encap:Local Loopback
   inet addr:127.0.0.1  Mask:255.0.0.0
   inet6 addr: ::1/128 Scope:Host
   UP LOOPBACK RUNNING  MTU:16436  Metric:1
   RX packets:16310 errors:0 dropped:0 overruns:0 frame:0
   TX packets:16310 errors:0 dropped:0 overruns:0 carrier:0
   collisions:0 txqueuelen:0
   RX bytes:13316576 (12.6 MiB)  TX bytes:13316576 (12.6 MiB)
 
 sit0  Link encap:IPv6-in-IPv4
   NOARP  MTU:1480  Metric:1
   RX packets:0 errors:0 dropped:0 overruns:0 frame:0
   TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
   collisions:0 txqueuelen:0
   RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
 
 Sa you see eth1 is up but not running???
 
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, 15 December 2004 11:38 AM
 To: Alan Millsted
 Subject: Re: [SLUG] RE: Netcomm np1400
 
 
 
 if you just have the modem and one pc on the same network 192.168.1.0/24
 and using pppoa or pppoe on the modem 
 then yes, if your doing it with 2 lan cards
 in one box, then something like this
 
 modem 192.168.1.1
 
 gateway eth0 192.168.1.254
 gateway eth1 192.168.0.254
 
 hub
 
 other pcs in your lan 192.168.0.x
 
 these pcs use eth1 as default route
 
 gateway pc uses the modem as the default route
 
 and the firewall will need to be adjusted to suit.
 you should be able to see the modem with a browser from the pc's on your
 lan.
 
 Alan Millsted wrote:
  
  I need a bit of time to get my head round all that, but this isn't the
 
  origial modem from TPG. I havent tried to set that one up on thia 
  Linux box because that is my only link to the real world. Are you 
  saying I should set the gateway on my system as the IP of the modem 
  192.168.1.1 Thanks and any info helps
  
  Alan
  
  -Original Message-
  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
  Sent: Wednesday, 15 December 2004 10:33 AM
  To: Alan Millsted
  Subject: Re: [SLUG] RE: Netcomm np1400
  
  Mate, these things can do your head in, tgp like most dsl providers 
  should be using helstras network for the connection??? it will support
 
  most modes of connection, so set the modem up like it was originally 
  sent to you, connect to it with a pc on the same network as the modem 
  using it as the gateway and ns then by driving the modem with a 
  browser, see if you can get the connection happening, if so then the 
  providers part is working fine. you could prolly even get away with 
  using your modem like this with 2 lan cards in the gateway linux box, 
  one on each network and route all the traffic out the lan card 
  connected to the modem, on the gateway box, route all internal 
  traffic, to that lan card on the gateway box.
  
  or then frig with the modem to try and get it to do bridging mode till
 
  it works, the pado timeout errors, or whatever, are usually to do with
 
  authentication problems at the other end, and go away after an hour or
 
  so
  
  i haven't really been following this thread, so this could all be 
  bullshit, if so sorry for wasting your time.
  
  Alan Millsted wrote:
  
   This is the way I feel it should be (not that I realy know anything 
   

Re: FW: [SLUG] Netcomm np1400 adsl router (new thread_

2004-12-14 Thread Alexander Samad
sounds like the rp-pppoe isn't started and you still have the default
route set to the eth0 interface instead of the ppp interface



On Tue, Dec 14, 2004 at 06:24:22PM +0930, Alan Millsted wrote:
 There's something very wrong here, I tried to ping dns cerver
 230.12.160.35 and I got back
 From 192.168.1.10 icmp_seq=0 Destination Host Unreachable which is the
 lan network card
 
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
 Behalf Of ABD Computer Installations
 Sent: Tuesday, 14 December 2004 4:54 PM
 Cc: [EMAIL PROTECTED]
 Subject: Re: FW: [SLUG] Netcomm np1400 adsl router (new thread_
 
 
 Alan Millsted wrote:
  
  -Original Message-
  From: Alan Millsted [mailto:[EMAIL PROTECTED]
  Sent: Tuesday, 14 December 2004 3:49 PM
  To: 'James Ponza'
  Subject: RE: [SLUG] Netcomm np1400 adsl router (new thread_
  
  
  Ok, I have gone back over every thing and all I get form
  adsl-start
  Is
  /sbin/adsl-start: line 215 7959 Terminated $CONNECT $@
  
 /DEV/NULL 21
  
 Try pinging the external gateway or the tpg dns server 203.12.160.35 If
 unsucessful recheck your PPPOE configs. in RP.
 
 Cheers
 :)
 
 -- 
 
 Best Regards
 
 Mohammad Kaan
 
 ph: 0408 867 967
 http://home.abdcomputers.net
 
 Regarding tough new Spam laws that have taken effect in Apr 2004. ABD
 Computer Installations hereby declares that this E-mail  our E-mail
 system is completely free from Spam and viruses. We request recipients
 to place us in their white list of friendly 
 E-mailers.
 This privilege was achieved through the use of Linux.
 -- 
 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
 


signature.asc
Description: Digital signature
-- 
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] Netcomm np1400 adsl router (new thread_

2004-12-13 Thread Alexander Samad
Point your browser at it 

If you have the netcomm in bridged mode and are trying to run rp-pppoe
on your linux box and you want to browse the web interface on the modem
then you need to (note eth5 is the interface I have my netcomm on and I
have assigned ppp0 [unit 0] to the adsl)

I either set a static address to eth5 or allow dhcp on eth
ip a a dev eth5 192.168.1.2/24

bind pppoe to eth5 with -I eth5 

This will allow you to access 192.168.1.1 via eth5 and allow you to get
to the internet via ppp0 

my guess is you haven't assiged an address to the ethernet port or are
trying to access the web page via the ppp0 interface

Alex


On Mon, Dec 13, 2004 at 06:15:37PM +0930, Alan Millsted wrote:
 Hi guys, I seem to have hit the wall again. I have the modem happy about
 the ADSL link  but I am not sure about the internet connection. 
 I have the modem connected to a hub with it's own IP adderss (the one it
 came with)and can ping it from anywhere (no prob's)
 I have installed PPP0pe and all seems ok butI can't see how to point
 my browser at it.
 
  Any help will be good thanks 
 
 -- 
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
 


signature.asc
Description: Digital signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Re: FW: [SLUG] Netcomm np1400 adsl router (new thread_

2004-12-13 Thread Alexander Samad
try this 

pppoe -d -i INTERFACE

where INTERFACE is the interface your modem is attached to it will test
the pppoe connection and print out results to the screen

Alex

On Tue, Dec 14, 2004 at 06:56:05PM +0930, Alan Millsted wrote:
 Just a thought befor I do that, should I change the IP of the modemto
 something other than my subnet?
 
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
 Behalf Of ABD Computer Installations
 Sent: Tuesday, 14 December 2004 4:54 PM
 Cc: [EMAIL PROTECTED]
 Subject: Re: FW: [SLUG] Netcomm np1400 adsl router (new thread_
 
 
 Alan Millsted wrote:
  
  -Original Message-
  From: Alan Millsted [mailto:[EMAIL PROTECTED]
  Sent: Tuesday, 14 December 2004 3:49 PM
  To: 'James Ponza'
  Subject: RE: [SLUG] Netcomm np1400 adsl router (new thread_
  
  
  Ok, I have gone back over every thing and all I get form
  adsl-start
  Is
  /sbin/adsl-start: line 215 7959 Terminated $CONNECT $@
  
 /DEV/NULL 21
  
 Try pinging the external gateway or the tpg dns server 203.12.160.35 If
 unsucessful recheck your PPPOE configs. in RP.
 
 Cheers
 :)
 
 -- 
 
 Best Regards
 
 Mohammad Kaan
 
 ph: 0408 867 967
 http://home.abdcomputers.net
 
 Regarding tough new Spam laws that have taken effect in Apr 2004. ABD
 Computer Installations hereby declares that this E-mail  our E-mail
 system is completely free from Spam and viruses. We request recipients
 to place us in their white list of friendly 
 E-mailers.
 This privilege was achieved through the use of Linux.
 -- 
 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
 


signature.asc
Description: Digital signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Re: FW: [SLUG] Netcomm np1400 adsl router (new thread_

2004-12-13 Thread Alexander Samad
On Tue, Dec 14, 2004 at 08:28:31PM +0930, Alan Millsted wrote:
 Adsl-status : Link is down (can't read PID file
 /var/run/pppoe-adsl.pid.pppoe)
 I've checked and there isn't one
 I tried pppoe -d -I eth1 and icame back Timeout wating for PADO packets

sounds like you are not connected, this could mean the adsl is not
connected at the exchange, my guess not (you have tried it with the
modem making the connection)

One the one page setup all I did was change
the bridge mode to enabled
vpi 8
vci 35
wan type 1483 bridged ip llc 
and username

and it worked in bridge mode for me, nothing else!


 
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
 Behalf Of Alexander Samad
 Sent: Tuesday, 14 December 2004 5:56 PM
 To: [EMAIL PROTECTED]
 Subject: Re: FW: [SLUG] Netcomm np1400 adsl router (new thread_
 
 
 sounds like the rp-pppoe isn't started and you still have the default
 route set to the eth0 interface instead of the ppp interface
 
 
 
 On Tue, Dec 14, 2004 at 06:24:22PM +0930, Alan Millsted wrote:
  There's something very wrong here, I tried to ping dns cerver 
  230.12.160.35 and I got back From 192.168.1.10 icmp_seq=0 Destination
 
  Host Unreachable which is the lan network card
  
  -Original Message-
  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On 
  Behalf Of ABD Computer Installations
  Sent: Tuesday, 14 December 2004 4:54 PM
  Cc: [EMAIL PROTECTED]
  Subject: Re: FW: [SLUG] Netcomm np1400 adsl router (new thread_
  
  
  Alan Millsted wrote:
   
   -Original Message-
   From: Alan Millsted [mailto:[EMAIL PROTECTED]
   Sent: Tuesday, 14 December 2004 3:49 PM
   To: 'James Ponza'
   Subject: RE: [SLUG] Netcomm np1400 adsl router (new thread_
   
   
   Ok, I have gone back over every thing and all I get form adsl-start
   Is
   /sbin/adsl-start: line 215 7959 Terminated $CONNECT
 $@
   
  /DEV/NULL 21
   
  Try pinging the external gateway or the tpg dns server 203.12.160.35 
  If unsucessful recheck your PPPOE configs. in RP.
  
  Cheers
  :)
  
  --
  
  Best Regards
  
  Mohammad Kaan
  
  ph: 0408 867 967
  http://home.abdcomputers.net
  
  Regarding tough new Spam laws that have taken effect in Apr 2004. ABD 
  Computer Installations hereby declares that this E-mail  our E-mail 
  system is completely free from Spam and viruses. We request recipients
 
  to place us in their white list of friendly E-mailers.
  This privilege was achieved through the use of Linux.
  -- 
  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
  
 
 


signature.asc
Description: Digital signature
-- 
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] Netcomm 1400-TPG ISP

2004-12-07 Thread Alexander Samad

On Tue, Dec 07, 2004 at 08:44:12PM +1100, Elliott-Brennan wrote:
 Alex wrote:
 
 
 
 Hi
 
 I am but using debian, was quite simple, changed modem to bridge mode
 and then install pppoe, setup parameters (had to set the mtu to the
 lowest value)  and then bobs your uncle !
 
 
 Alex
 
 On Mon, Dec 06, 2004 at 06:27:25PM +0930, Alan Millsted wrote:
  
 
 Hi is anyone out there using a Netcomm 1400 Ethernet modem with TPG, if
 so could I get a little help setting up in FC 3
 
 Lenny
 
 -- 
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
 

 
 
 Hey Alex, I don't have one of these modems but had looked at one 
 earlier. I thought that as the Modem had a web interface built into it, 
 you only had to set your machine to use an Ethernet net connection then 
 punch in the URL in your browser to access the modems set-up page?  Is 
 that not so? (again, I don't have one of these modems and only had a 
 brief look at it).
You can but then it acts as a firewall router and I wanted mine in
bridged mode and run the pppoe connection from the computer!

 
 Regards,
 
 Patrick
 
 -- 
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
 


signature.asc
Description: Digital signature
-- 
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] Netcomm 1400-TPG ISP

2004-12-06 Thread Alexander Samad
Hi

I am but using debian, was quite simple, changed modem to bridge mode
and then install pppoe, setup parameters (had to set the mtu to the
lowest value)  and then bobs your uncle !


Alex

On Mon, Dec 06, 2004 at 06:27:25PM +0930, Alan Millsted wrote:
 Hi is anyone out there using a Netcomm 1400 Ethernet modem with TPG, if
 so could I get a little help setting up in FC 3
 
   Lenny
 
 -- 
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
 


signature.asc
Description: Digital signature
-- 
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] How to rename partitions

2004-11-06 Thread Alexander Samad
Hi 

your problem might be that your initrd is not loading the libata drive
for the devices!  Thus they do not exist at boot up time, there for
you can not mount it.

Some initrd's have an option to goto to a shell whilst still in initrd
phase. Try that and have a look around, although the command available
to you are rather liminited

Another thought is did you change your grub/lilo to change the root
device ?

What exactly is the error message ?

Alex

On Sat, Nov 06, 2004 at 08:58:26PM +1100, Rod Butcher wrote:
 I've heard (but not confirmed) the latest 2.6
  SATA drivers do live under /dev/sd* instead of /dev/hd*.  You'll need to
  confirm the your kernel actually supports it.
 I'm talking about 2.6.8 and up - they default to libata which refers to 
 SATA drives as SCSI and hence sda1 etc. so to load this kernel which 
 wants sda*, on a system built for 2.6.7 i.e. hda*, what do I change 
 apart from fstab ?
 I can bootup 2.6.10 compiled to inhibit libata, and it accepts hda* 
 fine.. I'm using it as I speak... but this is deprecated.
 So.. to bootup 2.6.10 using (the recommended) libata, I believe the 
 question is how do I rename my partitions to sda* ?
 Changing the grub files and fstab didn't work.
 I've asked this question before but still no luck. man fstab didn't help 
 me.. I'll RTFM if I can find what FM to RT.
 cheers
 Rod
 ---
 Brought to you by a thunderbird, penguin, gnu and a camel
 
 Keith Hopkins wrote:
 Rod Butcher wrote:
 
 Hello sluggers, if I want to change the name of a drive  partition 
 from say hda1 to sda1, what do I need to do in addition to updating 
 /etc/fstab ? If I just change fstab and try to boot a kernel using 
 libata to access SATA drives, it can't find /dev/sda.
 thanks
 Rod
 
 
 Hi Rod,
 
   You can't just change it for the sake of changing it.  The device 
 name is (for the most part) assigned by the driver that controls that 
 device.  Once upon a time, SATA drives fell under the /dev/hd* model.  
 If your kernel has that set of drivers, then you are stuck with 
 /dev/hda, /dev/hda1, etc.  I've heard (but not confirmed) the latest 2.6 
 SATA drivers do live under /dev/sd* instead of /dev/hd*.  You'll need to 
 confirm the your kernel actually supports it.
 
   Try booting your kernel into single user mode, and looking at dmesg to 
 see how it maps the drives.  You might even manage a `fdisk -l`
 
 
 -- 
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
 


signature.asc
Description: Digital signature
-- 
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] Lusers grabbing IP addresses - stopping them

2004-10-27 Thread Alexander Samad
Why not use this but modify it slightly

assign the pool of addresses to the interface and remove them as their
are provided to a client, when the lease runs out re alias it to the
interface, not guarantee of knowing when  machine releases its ip
address.

A

On Wed, Oct 27, 2004 at 05:30:55PM +1000, David Kempe wrote:
 Howard Lowndes wrote:
 
 If you are running a DHCP server on a network and have a block of IP
 addresses which you make available, how can you stop a (reasonably)
 knowledgeable luser from explicitly grabbing an address from that block
 by explicitly configuring their box with that address, thus preventing
 that IP address from being recorded in the leases, and hence you not
 immediately knowing that that box has been attached to the network.
 
 
 My suggestion would be to run some sort of proxy arp setup.
 If a box on your network is running a proxyarp setup like the one with 
 shorewall - when windows users go to change their ip address, the 
 windows box will arp and check to see if that address is in use. 
 Proxyarp will accept the response and the windows box gets confused and 
 gives the user this ip is already in use error. Nicely frustrating.
 Not sure if my explanation is correct, but I have been able to duplicate 
 this behavior with recent versions of shorewall, kernel 2.4.27 and 
 windows 2000 and xp.
 
 Its not the same as mac level filtering :) and its a serious hack, but 
 might be helpful...
 
 dave
 -- 
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
 


signature.asc
Description: Digital signature
-- 
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] Banks colluding with Microsoft ?

2004-10-26 Thread Alexander Samad
On Tue, Oct 26, 2004 at 09:35:31PM +1000, Heracles wrote:
 Simon Bryan wrote:
 
 snip
 
 Similar issue with the Department of Education and their Back to School
 Allowance. It is an Access Database that you import the details into then
 export a file to disk. SOme genius decided that it would be a good idea to
 allow them to be emailed back - cept the option to still save to disk
 comes after the automated email link, and that won't work unless you have
 MS OUtlook installed, so instead you get an 'Error 498398' and you can't
 export the file to send in! The programmers response was that all I have
 to do is to install Outlook as my default email client and it will work -
 I declined the offer. This is an example of stupid or lazy programming
 rather than conspiracy. I believe the higher ups have told the programmer
 to fix it.
 
 
  
 
 You may be waiting a while for this to happen. The DET have an agreement 
 with Microsoft which they have recently re-signed.
Aren't government departments governed by some fair access or equal
access policy! 

 
 Stay well and happy
 Heracles
 
 -- 
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
 


signature.asc
Description: Digital signature
-- 
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] question to mutt users

2004-10-24 Thread Alexander Samad
have a look at procmail, this is presuming the mail is local though !

On Sat, Oct 23, 2004 at 07:32:59PM +1000, Brett Fenton wrote:
 there might be an easier way to do it, though not that i'm aware of. 
 
 basically you need a separate mda like fetchmail, i prefer getmail as it's 
 config is easier. pipe that through sortmail and it separates your mail into 
 mailfiles based on whatever rules you define.
 
 brett
 
 On Saturday 23 October 2004 14:09, Luke (Terry) Vanderfluit wrote:
  Hi,
 
  I'm currently using evolution and I'm trying to convert to mutt.
  I've worked out a few things so far, but one obstacle is filters.
 
  In evolution I'm able to filter incoming mail into mailboxes.
  How can I do this with mutt?
 
  TIA,
 
  Luke
  --
  
  Luke (Terry) Vanderfluit
  Mobile: 0421 276 282
  
 -- 
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
 


signature.asc
Description: Digital signature
-- 
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] Digital TV card

2004-10-21 Thread Alexander Samad
On Thu, Oct 21, 2004 at 03:15:13PM +1000, James Gregory wrote:
 Hey all,
 
 I just purchased a FusionHDTV card, which I'll be installing this
 evening. I envisage three use cases for it:
Where and how much ? 

 
 1. Watching TV where I'm sitting in front of the computer.
 2. Recording streams off the thing to watch when I have time.
 3. Streaming data across the network so I can watch it on (say) my
 laptop.
 
 Is anyone doing any of this stuff, and if so what software are you using
 to do it? Does it work well? Caveats?
 
 I'm currently thinking that I'll use mplayer for (1), vlc for (2) and
 maybe mencoder for (3), but I'm not really sure yet.
 
 Thanks,
 
 James.
 



 -- 
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


signature.asc
Description: Digital signature
-- 
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] Re: Digital TV card

2004-10-21 Thread Alexander Samad
Hi

Can this card be used only for HDtv or can I plug my foxtel (after the
decoder box) into it and record stuff ?  Are there any box'es that can
replace the foxtel box ?

Alex

On Fri, Oct 22, 2004 at 05:49:18AM +1000, Bill wrote:
 I also have a DVico Fusion HDTV-B digital tv card ( purchased from Adelong 
 Computers - www.adelong.com.au), which works well under WinXP except for 
 Recording/PVR software.
 
 I also am about to try using it with Knoppmyth, which I have just 
 downloaded, however I need to get a new HDD as Knoppmyth apparently 
 requires that the installation be to hda - wouldn't install to SATA drive.
 
 Also, the card uses a Connexant chip anf as I understand it, Knoppmyth anf 
 MythTV are set up for bttv chipset ( am I correct?)
 
 A driver for the Connexant chip is available 
 from  http://www.itee.uq.edu.au/~chrisp/DVICO-Linux/ .
 
 Any info on your success or otherwise would be appreciated.
 
 billb
 
 
 
 
 Message: 2
 Date: Thu, 21 Oct 2004 15:15:13 +1000
 From: James Gregory [EMAIL PROTECTED]
 Subject: [SLUG] Digital TV card
 To: [EMAIL PROTECTED]
 Message-ID: [EMAIL PROTECTED]
 Content-Type: text/plain; charset=us-ascii
 
 Hey all,
 
 I just purchased a FusionHDTV card, which I'll be installing this
 evening. I envisage three use cases for it:
 
 1. Watching TV where I'm sitting in front of the computer.
 2. Recording streams off the thing to watch when I have time.
 3. Streaming data across the network so I can watch it on (say) my
 laptop.
 
 Is anyone doing any of this stuff, and if so what software are you using
 to do it? Does it work well? Caveats?
 
 I'm currently thinking that I'll use mplayer for (1), vlc for (2) and
 maybe mencoder for (3), but I'm not really sure yet.
 
 Thanks,
 
 James.
 
 -- 
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
 


signature.asc
Description: Digital signature
-- 
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] adding mail and Maildir for new user?

2004-10-19 Thread Alexander Samad
On Tue, Oct 19, 2004 at 10:20:24PM +1000, Voytek wrote:
 Greg,
 
 'adduser' is a link to useradd (binary):
 
 # ls -l adduser
 lrwxrwxrwx1 root root7 Jun 27  2003 adduser - useradd
 
 
 can I smply 'rm adduser';

why not alias adduser='/usr/sbin/adduser -s /bin/false'


 then, create 'adduser' script that calls 'useradd -s /bin/false' ?
 
 ... I'm not creating mischief deleting links in /usr/sbin...?
 
 or, should I leave the link alone, and, create script elsewhere to call it ?
 
 
 quote who=Voytek
 
  quote who=Greg
 
  Greg,
 
  OK, adduser call useradd, so, I'll try passing it an option '-s
  /bin/false'
 
  # ./useradd
  usage: useradd  [-u uid [-o]] [-g group] [-G group,...]
  [-d home] [-s shell] [-c comment] [-m [-k template]]
  [-f inactive] [-e expire ] [-p passwd] [-M] [-n] [-r] name
 useradd  -D [-g group] [-b base] [-s shell]
  [-f inactive] [-e expire ]
 
 
  --
  Voytek
  --
  SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
  Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
 
 
 
 -- 
 Voytek
 -- 
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
 


signature.asc
Description: Digital signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

  1   2   3   >