Re: awk or sed?

1999-09-25 Thread Tim Thomson
On Wed, 22 Sep 1999, Steve Lamb wrote:

 Short answer: awk
 
 Longer answer (by one letter): perl
 
 
 eth0  Link encap:Ethernet  HWaddr 00:20:78:10:4D:63  
   inet addr:209.178.54.157  Bcast:209.178.54.255  Mask:255.255.255.0
   UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
   RX packets:6210311 errors:0 dropped:0 overruns:0 frame:45
   TX packets:5313311 errors:1 dropped:0 overruns:0 carrier:0
   collisions:472 txqueuelen:100 
   Interrupt:10 Base address:0x6400 
 
 If the above is the example...
 
 while(){
   if ($_ =~ /inet addr:(\n+)\.(\n+)\.(\n+)\.(\n+)/){
 $ipaddr = $1.$2.$3.$4;
   }
   $return = `nslookup $1.$2.$3.$4`;
   print($return);
 }
 
 Of course, the if line could be reduced, but breaking out the octets
 allows you to do other manipulations on them as needed.

Thanks for all replies. It was actually cut I was thinking of initially.
I couldn't get this one to go, nothing was going into $1,$2, or $ipaddr. A
friend who knows perl wrote me another, like this:

$ifconfig = `/sbin/ifconfig eth0`;
($ip) = $ifconfig =~ /inet addr:(\S+)/;
print $ip\n;
$host = `host $ip`;

($name) = $host =~ /^Name:\s+(.+)$/m;
print $name\n;

($hostname) = $name =~ /^(.+?)\..*/;
print $hostname\n;

`hostname $hostname`;

Thanks again,

Tim.

-- 
Tim Thomson   [EMAIL PROTECTED] ICQ: 18073712




Re: awk or sed?

1999-09-25 Thread Tim Thomson
On Fri, 24 Sep 1999, Brad wrote:

 On Sat, 25 Sep 1999, Tim Thomson wrote:
 
  On Wed, 22 Sep 1999, Steve Lamb wrote:
  
   while(){
 if ($_ =~ /inet addr:(\n+)\.(\n+)\.(\n+)\.(\n+)/){
   $ipaddr = $1.$2.$3.$4;
 }
 $return = `nslookup $1.$2.$3.$4`;
 print($return);
   }
  
  Thanks for all replies. It was actually cut I was thinking of initially.
  I couldn't get this one to go, nothing was going into $1,$2, or $ipaddr.
 
 Simple typo. Use \d (digit) instead of \n (linebreak).

I was thinking it was just something like that. I've been meaning to learn
perl for awhile. Any good starting points, apart from going through
source code? Thanks for the link to that awk link, looks good.

Thanks,

Tim.

-- 
Tim Thomson   [EMAIL PROTECTED] ICQ: 18073712
Do not meddle in the affairs of Dragons,
for you are crunchy and taste good with ketchup!


awk or sed?

1999-09-23 Thread Tim Thomson
Hi,

I want to write a script, that gets the local ip address, and does a
reverse ns lookup, then sets the hostname to the dns response.

I can use grep to get the line I want from ifconfig and nslookup. But how
do I get the numbers and name out of the output? Was it awk or sed, or am
I going along the wrong track?

Thanks,

Tim.

-- 
Tim Thomson   [EMAIL PROTECTED]


X 3.3.4-2 Blanks screen w/ Trio3D

1999-09-22 Thread Tim Thomson
Hi,

I grabbed Branden's 3.3.4-0 svga xserver when it came out, to get my
Trio3D going. I got it to work with a bit of effort, at 800x600x16.
I hadn't updated the system since then, until just now. Now when xdm or
startx starts, the screen starts flickering, and then goes into powersave
mode. I've tried it on another monitor too. (Both only 15)
I guessed it must be trying to start a resolution, so I brought it back to
640x480, but to no avail. I've looked at xfree86.org, they have a couple
of modelines they think work on the card, but I was using them already.

It wasn't upgrading the server that killed it, cause I didn't upgrade the
server straight away :(  I actually left all the 3.3.4-0 stuff, except for
xlib6g, which heaps of packages depended on. When I rebooted, xdm didn't
come up, so I upgraded everything to 3.3.4-2, but still no luck!

I've now downloaded the binary 3.3.5 svga server, still the same thing.

The annoying thing is, it has worked, but now it doesn't!!! I don't know
what broke it.
Anyone else have a Trio3D? Anyone having the same kind of problems?

Thanks,

Tim.

-- 
Tim Thomson   [EMAIL PROTECTED]


Re: X 3.3.4-2 Blanks screen w/ Trio3D

1999-09-22 Thread Tim Thomson
Well, gave up on that, compiled a new kernel with fbdev support, installed
xserver_fbdev, and it goes great! 

Only runs at one resolution pre reboot afaik. Might getting ggi to work
with this, can I change resolutions on the fly with ggi?

Cool!

Tim.

On 22 Sep 1999, Tim Thomson wrote:

 Hi,
 
 I grabbed Branden's 3.3.4-0 svga xserver when it came out, to get my
 Trio3D going. I got it to work with a bit of effort, at 800x600x16.
 I hadn't updated the system since then, until just now. Now when xdm or
 startx starts, the screen starts flickering, and then goes into powersave
 mode. I've tried it on another monitor too. (Both only 15)
 I guessed it must be trying to start a resolution, so I brought it back to
 640x480, but to no avail. I've looked at xfree86.org, they have a couple
 of modelines they think work on the card, but I was using them already.
 
 It wasn't upgrading the server that killed it, cause I didn't upgrade the
 server straight away :(  I actually left all the 3.3.4-0 stuff, except for
 xlib6g, which heaps of packages depended on. When I rebooted, xdm didn't
 come up, so I upgraded everything to 3.3.4-2, but still no luck!
 
 I've now downloaded the binary 3.3.5 svga server, still the same thing.
 
 The annoying thing is, it has worked, but now it doesn't!!! I don't know
 what broke it.
 Anyone else have a Trio3D? Anyone having the same kind of problems?
 
 Thanks,
 
 Tim.
 
 -- 
 Tim Thomson   [EMAIL PROTECTED]
 
 
 -- 
 Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null
 
 
 
 

-- 
Tim Thomson   [EMAIL PROTECTED] ICQ: 18073712
Do not meddle in the affairs of Dragons,
for you are crunchy and taste good with ketchup!


Re: Running two mgetty's on same line

1998-12-29 Thread Tim Thomson
On Mon, 21 Dec 1998, John Forest wrote:

 Tim Thomson wrote:
  I have mgetty running on my modem from inittab and it answers after 10
  rings, but I've set up xringd to dialup the internet and then run mgetty.
  The second one complains about the first, and won't run.
  
  I would take the mgetty out of the inittab, but then when the line is used
  for ppp, it isn't logged in utmp, and I like this, because sac dialout
  gives the total time for the month. Is there any other way to get such a
  simple time log for dialup?

...

 I think I understand what you mean.  I set up mgetty and diald is now showing
 up in 'last'.
 Havent' tried yet, but maybe it is possible to set mgetty to debug 9 and make
 up a script simulating xringd.  I might be totally of the mark, but with a
 little timing that program/script could check for RING's in the logfile.
 Providing mgetty sends the RING's to the logfile of course.
 If that works, you don't have to run xringd and 'sac dialout' would work.

Hmmm, I haven't attempted this. What I did do was set up and inittab file
with mgetty and one without, and put them in /etc/inittab.mg and
/etc/inittab.nomg. Then I created /etc/mail.get which is an executable
script like this :

#! /bin/sh
echo 'Dialing...'
pppd call kapiti
sleep 60
echo 'Waiting till pppd off...'
while test -f /var/lock/LCK..ttyS3; do sleep 10; done
sleep 5
echo 'Switching off mgetty via inittab'
cp /etc/inittab.nomg /etc/inittab
kill -HUP 1
sleep 2
echo 'Waiting for call...'
mgetty -n 2 ttyS3
echo 'Modem Off, now turning mgetty back on'
sleep 2
cp /etc/inittab.mg /etc/inittab
kill -HUP 1
echo 'Done'

-
I have had a problem with this though. After dialling up, and getting mail
and stuff, it decided to shut down. But this is what happened:

Dec 25 17:59:20 tui pppd[31393]: Terminating connection due to lack of
activity.
Dec 25 17:59:28 tui pppd[31393]: write: Interrupted system call(4)
Dec 25 21:58:37 tui pppd[31393]: Hangup (SIGHUP)
Dec 25 21:58:38 tui pppd[31393]: Exit.

There is usually a connection terminated line in there, so I guess that
part may have been the one to be interrupted. I guess pppd thought it was
down, so wouldn't try again.

It was up for 4 hours (at NZ$2/hr), before hanging up properly!!! I'm not
sure if it was pppd finally timing out, or if my ISP did it automatically.

I guess xringd or mgetty may have caused the interrupted system call, but
I'm not sure how to fix it. I made the sleeps longer in /etc/mail.get to
what the are now, but it still does it. It doesn't do this every time,
usually only when there is a bit of traffic waiting.

Any ideas?

Thanks,

Tim.

-- 
ICQ #18073712 http://members.xoom.com/thomson


Re: Setting screen back to B/W

1998-12-29 Thread Tim Thomson
On 21 Dec 1998, Tim Thomson wrote:

 When I set my machine up, I had a VGA screen on it, and so selected a
 colour install. But now I have a monochrome screen, and would like to set
 the terminal type back to b/w.
 I am running a bo system still, I see that the hamm disks define TERM to
 be 'linux-m' or something similar, but my system only knows the vanilla
 'linux' terminal type. Where can I find a monochrome terminal definition,
 or does bo do this differently than hamm?

Haha, I found it myself! It's in the other ncurses package, and now
everything works! (Except I've put TERM=linum-m into ./.bash_profile, so
now even remote systems get it. Anywhere better? No, don't tell me
ahah! I can set it in /etc/inittab - add linux-m to the end of all my
getty lines. Now it should pick up the correct terminal for remote
connections too!
Anywhere better this should be defined?

Thanks,

Tim.

-- 
ICQ #18073712 http://members.xoom.com/thomson


Setting screen back to B/W

1998-12-21 Thread Tim Thomson
Hi Guys,

When I set my machine up, I had a VGA screen on it, and so selected a
colour install. But now I have a monochrome screen, and would like to set
the terminal type back to b/w.
I am running a bo system still, I see that the hamm disks define TERM to
be 'linux-m' or something similar, but my system only knows the vanilla
'linux' terminal type. Where can I find a monochrome terminal definition,
or does bo do this differently than hamm?

TIA,

Tim.


Running two mgetty's on same line

1998-12-19 Thread Tim Thomson
Hi,

I have mgetty running on my modem from inittab and it answers after 10
rings, but I've set up xringd to dialup the internet and then run mgetty.
The second one complains about the first, and won't run.

I would take the mgetty out of the inittab, but then when the line is used
for ppp, it isn't logged in utmp, and I like this, because sac dialout
gives the total time for the month. Is there any other way to get such a
simple time log for dialup?

Any other suggestions as to how I can get this to work?

Thanks,

Tim.


Re: Lynx Proxy again

1998-12-10 Thread Tim Thomson
On 9 Dec 1998, Ryan King wrote:

 I saw you linking to:
 http://proxy2.hawkesbury.uws.edu.au/proxy.pac
 
 So I wondered what kind of data is in proxy.pac.

...

 I'm thinking maybe this file is NS-Specific?

As far as I know Netscape is the only one that reads these.
Lynx wants a server for a proxy. You could try the address you got without
the proxy.pac, ie http://proxy2.hawkesbury.uws.edu.au 
Or you could read the rest of the proxy.pac manually, and use some of the
servers in there. Someone want to write a script that reads a proxy.pac
and sticks it lynx'x config? ;)

HTH,

Tim.

-- 


Re: Can httpd and wwwoffled co-exist?

1998-09-12 Thread Tim Thomson
On 9 Sep 1998, Jack Kern wrote:

 On a Debian 2.0 system I had wwwoffle installed and working with lynx.
 I then installed dwww which required httpd, so I installed boa.
 
 dwww only worked if I nullified the HTTP_PROXY variable used by
 wwwoffle/lynx, or if I put wwwoffle online -- wwwoffle online then
 proceeded to cache all the dox which of course are already on the disk.
 :(
 
 Now for some reason wwwoffle has stopped working even when I stop
 httpd(boa).  Command-line requests and fetching works but lynx cannot
 read the cache or mark urls for fetching.
 
 I don't understand these conflicts, so I thought I would ask if httpd and
 wwwoffled can coexist before trying to reinstall wwwoffle or whatever.
 boa uses port 80 and wwwoffle uses ports 8080 and 8081 -- all defaults.

Well, you could put a line in your lynx.cfg :
no_proxy:localhost,localhostname
where localhostname is your system's hostname.

This would mean that wwwoffle wouldn't be used to access boa. Guess you
should try to reinstal wwwoffle.

HTH,

Tim.

---
Lead me not into temptation, I can find it myself!
ICQ #18073712  http://members.xoom.com/thomson


Re: strange Cron emails?

1998-08-08 Thread Tim Thomson
On 3 Aug 1998 [EMAIL PROTECTED] wrote:

 | shell-init: could not get current directory: getcwd: cannot access parent
 | directories

 Anyone else seen this and know its source.

Are you using uucp? Or was it the cnews server?

Can't remember which, but I get the same thing e-mailed to me every day.
I know it's one of those two, but I haven't had time to look at its cause.
Must be a permission somewhere.
I think it is something either in :

/usr/lib/news
or /usr/lib/uucp

or /var/lib/uucp
/var/lib/news

or something of the sort.

I'll get to having a proper look one day,

HTH,

Tim.

---


--  
Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null


Re: IPX (ipxripd) and ppp

1998-07-29 Thread Tim Thomson
Hi!

I've played with ipx with pppd, and got the interface installed, but
didn't actually try to get routing going (I was trying to get bridging
going, to play IPX games on my local network, and get a remote player to
join from dial-in, never got it to work though - anyone have any ideas???

On 19 Jul 1998, Mike Patterson wrote:

 1) Some sites talk about tools like ipx_route and ipxping. None of these came
with the ipxripd package. Are these nessecary? 

ipx_route is in the ipx package, don't know about ipxping.
ipx_interface is good to set up each interface, and then use route to
connect them (how, I have no idea ;-)

 2) I've been given the impression by other sites that the ability for ipx 
routing was built into the kernel, but given little more information than 
the compile options to select.

I have hardly found much info either. I set up ipx-bridge, found it didn't
work, so I e-mailled the authors, found it was designed for kernel 1.2,
rather than 2.0.x!!
Install the package ipx, see if you can find any more info than I did.

 3) Still others name it as a function of the ppp daemon, so I went out and got
the source for 1.2g, and looked around for any mention of IPX. I found 
 none.
These pages would talk about options like:
+ipx-protocol  
  
ipx-network 0xBB05 
  
ipx-node 2:0   
  
ipx-accept-remoteA
 
None of which work (although all are mentioned in the pppd man pages) 

I am running bo, what are you running?
The packaged pppd has no ipx support, so I got a new one.
I have pppd 2.2.0, with the patches for hamm installed.
You should get a newer pppd, and compile it, make sure ipx is enabled.
The patches from hamm have support for microsoft-wins I think (not too
sure actually).

Note that the commands for ipx and wins change with the newer pppd.

HTH, any other questions, just ask, you never know I might know ;-)


Tim.

---



--  
Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null


Bo pppd not support IPX?

1998-07-05 Thread Tim Thomson
Hi,

I've being trying to get a Win95 machine to dialin with a IPX connecting,
but adding the settings for IPX as per the man page, causes pppd to fail,
saying that the ipx settings are invalid.

I take it this means the pppd isn't compiled with IPX support, as ipx is
enables in the kernel.

Why not? Is it enabled in the hamm one?
I don't want to upgrade to hamm on this system yet, so I'll need to
download another pppd, where from?

Thanks,

Tim.

---


--  
Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null


Appletalk/AX.25/8530

1998-07-04 Thread Tim Thomson
Hi People,

I have a Digicard network card in my Linux box.
The Digicard network was designed for schools, and has a main server
box, and Macs, Apple IIs and PCs can all connect to it. It is very like
AppleTalk (you can use the same connectors from the cable to the Mac.)

The card in my Linux box uses a 85C30 to communicate with the network.
I'm wondering if I can set it up so that my Linux box can talk to the
network using Appletalk, so I can share stuff to my Mac.

I saw a driver for the 8530 chip, in the kernel source but it was designed
for an AX.25 (or AX.5, can't remember) network.

Could I still use this driver, and get the AppleTalk driver to talk to
that? Or could I somehow modify the existing 8530 driver to pretend to be
an Appletalk card?? (I'm not too good on C at the moment though )-:
What driver does the Appletalk driver expect to talk to?

Thanks for any help,

Tim.

 ---


--  
Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null


Re: bridging?

1998-06-07 Thread Tim Thomson
On 6 Jun 1998, Gregory Guthrie wrote:

 1) when I run brcfg, it reports:
  ioctl failed; package not installed.
   -- Why??

Did you recompile your kernel with bridging support in?
It says this if you don't.

 2) the man page discusses only Ethernet-ethernet bridging,
   -- will WAN bridging also work?
  en0--ppp     ppp--en0

As far as I know it does. I'm going to try sometime with eth0 to ppp0.

HTH,

Tim.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Best kernel for now?

1998-06-04 Thread Tim Thomson
Hi,
I need to recompile my kernel to add bridging support. (For IPX)

I'm currently running 2.0.33, it seems to run fine, although I'm wary of
reports of it being rather unstable.
I had 2.0.32, but gpm died after two weeks, restarting gpm didn't work,
but rebooting did. I have no idea if this was a kernel problem, but I
think it happened twice. 2.0.33 has had no such problem.

Anyway, I'm considering changing kernels.

I am running a 386SX/20 machine w/ 8meg of RAM, 100meg IDE HDD.
I use it mostly for Samba, IPMASQ with dial-up line, Mail and news server.
I don't have a CDROM or SCSI hardware on this machine, so I'm not worried
about support for these.

How are the 2.0.34prethingees like? Very stable? What advantages over
2.0.33?

What are the unstable kernels (2.1.x) like? What advantages over the
stable ones?

TIA,

Tim.

---


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: Best kernel for now?

1998-06-04 Thread Tim Thomson
On 4 Jun 1998, Tim Thomson wrote:

Some silly stuff, since I've now found out that 2.0.34 is out!

-Tim


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: Smail aliases include file

1998-05-09 Thread Tim Thomson
On Thu, 7 May 1998, Peter Prohaska wrote:

  I'm trying to get smail to work with an include file for aliases.
  My line in my aliases is as follows:
  
  everybody::include:/etc/smail/blobs
   
 If I´m correct, there is one : too much.

Hmmm, with only one it complains it cannot open output file, which I don't
want it to, do I? The file is definately world readable, should it be
owned by mail maybe?

  |- Message log follows: -|
   no valid recipients were found for this message
  |- Failed addresses follow: -|
   :include:/etc/smail/blobs ... failed: unknown user
 
 That even tells you that the alias-driver didn´t resolv the include.

Yep, I wonder why though, 'cause I followed everything in the man pages (I
hope ;-)
 
 Can´t remember where exactly you can read about it, but apropos smail
 and the doc/smail folder should be enough.

Cool, I found apropos! That's pretty cool! I wonder how many other useful
programs I've got hiding on my system!

Thanks for your help, but it still doesn't work :-(

Tim.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Smail aliases include file

1998-05-07 Thread Tim Thomson
Hi,
I'm trying to get smail to work with an include file for aliases.
My line in my aliases is as follows:

everybody::include:/etc/smail/blobs

My /etc/smail/blobs file contains the following:

[EMAIL PROTECTED]
[EMAIL PROTECTED]

and has these permissions:

-rw-r--r--   1 root root   32 Apr 14 23:56 blobs

But when I send a message to [EMAIL PROTECTED] it sends me a message
saying:

Subject: mail failed, sending to address owner

|- Message log follows: -|
 no valid recipients were found for this message
|- Failed addresses follow: -|
 :include:/etc/smail/blobs ... failed: unknown user

Where are the specs of what to put in aliases? I looked in smail(5) and
(8), mkaliases, smailconf(8), but still couldn't find any info (or good
examples :-(

Thanks,

Tim.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Smail aliases include

1998-04-14 Thread Tim Thomson
Hi,
I'm trying to get smail to work with an include file for aliases.
My line in my aliases is as follows:

everybody::include:/etc/smail/blobs

My /etc/smail/blobs file contains the following:

[EMAIL PROTECTED]
[EMAIL PROTECTED]

and has these permissions:

-rw-r--r--   1 root root   32 Apr 14 23:56 blobs

But when I send a message to [EMAIL PROTECTED] it sends me a message
saying:

Subject: mail failed, sending to address owner

|- Message log follows: -|
 no valid recipients were found for this message
|- Failed addresses follow: -|
 :include:/etc/smail/blobs ... failed: unknown user

Where are the specs of what to put in aliases? I looked in smail(5) and
(8), mkaliases, smailconf(8), but still couldn't find any info (or good
examples :-(

Thanks,

Tim.



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Dynamic Virtual Memory?

1998-03-27 Thread Tim Thomson
Hi,
Is there such thing as dynamic virtual memory?
I have a low spec machine - 8meg RAM 100meg HDD, and have a 10meg swap
partition. Obviously I run out of memory every now and then. Is there a
way to set the system up so that when virtual memory is exhasted, the
kernel will allocate more hard drive space, and deallocates it after
awhile?

TIA,

Tim.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Mgetty: Login prompt scrambled

1998-02-08 Thread Tim Thomson
Hi,
I've set up mgetty for dialin access. When I dialin the first login prompt
and parts before it are scrambled. Once you are logged in it's OK.
I've dialed in with varios speed systems, and it does the same.
My system is a 386SX/20, so is rather slow, but handles the 14.4kbps modem
in it OK.

TIA,

-Tim.


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Pine not work with lots of news?

1998-02-07 Thread Tim Thomson
Hi,

I spool this list as a news group, slrn reads it fine, but pine says there
are no messages. Pine works on all my other newsgroups (smaller).

Is this a bug?
I'm running pine 3.96, and Debian 1.3.1.

Thanks,

Tim.

---
Debian/GNU Linux... the maintainable operating system. http://www.debian.org


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Forwarding mail to news

1998-02-06 Thread Tim Thomson
Hi,
I am subscribed to a number of different mailing lists, but find it easier
to read using a news reader. Also, I am at different systems that connect
to the internet using a dial-up connection.

Is there a way to automaticaly post mail from a mailing list to a local
news group?

I have cnews with nntp, uucp installed. I use fetchmail to recieve my
mail, and uucp to recieve news. Procmail forwards mail to separate
folders at the moment.

Once the mails are in different newsgroups, I can dial in to this machine
from a remote and recieve using uucp.

I haven't come across anything in the documentation about this, so I'm
wondering if it's possible?

TIA,

Tim.

---
Debian/GNU Linux... the maintainable operating system. http://www.debian.org



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Changing HW clock to GMT?

1998-02-05 Thread Tim Thomson
Hi,
I want to set my hardware clock to GMT. I answered no in the question
when setting up my system, so my HW clock would be local time. I now want
to set it to GMT so I don't have to change it when daylight savings kicks
in.
Also, what tool syncs the hardware clock to the system time? I set my
system time using netdate, in my ip-up and would like to set my HW clock
to that and keep it synced. Using clock -w works, but is a pain.
I must look at adjtimex again, rather than just using netdate.

Thanks,

Tim.

---
Debian/GNU Linux... the maintainable operating system. http://www.debian.org


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Home dir Permissions

1998-01-30 Thread Tim Thomson
Hi,
I like to have personal web space turned on (ie http://server/~tim/), so I
can easily access files (such as lynx bookmarks - point the bookmark file
at /~/HTML/bookmarks.html, I can then pick this up on any remote system).

What I want to know is, what are the best permissions to set my home
directory to and the HTML directory to.

Ideally, I would like my home directory to be: drwx--, so no-one can
read anything - but then they can't get to HTML.

Can I get it to show only HTML in my home directory - the rest of the
files are completely hidden - can't even see the names of files? Or is
this asking a bit too much?

The only solution I can come up with is to keep chmodding files so only I
can read them (usually files in your home directory are publicly
readable, the directory is drwx--, but not with web access on!!!

TIA,

Tim.

BTW, please CC replies to me, I'm not on list right at the moment  :)

---
Debian/GNU Linux... the maintainable operating system. http://www.debian.org


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Digests/Newsfeed?

1998-01-18 Thread Tim Thomson
On Sat, 17 Jan 1998, George Bonser wrote:

 It looks like the Debian lists in newsgroup format are starting to spread.

We actually have linux.debian.user on our local news server, but it is
very incomplete - ie. 6 messages in the last month!

 If anyone is uucp capable and would like the lists as newsgroups in
 compressed batches, let me know.  Using gzip compression really reduces
 the byte-count. The debian lists that I am carrying are:

I don't have uucp installed at the moment. I want to give it a try though!
I'm on a dial-up ppp connection that is behind a firewall - I can't use
standard nntp to access remote news servers. With uucp I can? Would I need
a permanent connection?

I really want to get this to work, as I'm only on a free email account,
this list seems to them down and I don't want to do that!
I've unsubscribed (or soon will).

Thanks for any help,

-Tim.

---
Debian/GNU Linux... the maintainable operating system. http://www.debian.org


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Using Debian with lots of users

1998-01-18 Thread Tim Thomson
On Sat, 17 Jan 1998, George Bonser wrote:

 Wait ... Fetchmail is for pulling mail FROM individual pop3 email boxes
 from a remote host to the local host.  If he is using that, he is having
 to keep track of 1000 different user passwords at the remote ISP. 

I'm not sure what he's using at the moment, but I don't think it's Debian.
Fetchmail has a ETRN option, which tells the remote host to send all
outstanding mail addressed to the local host. I'm not sure if he's using
this or a uucp type one (probably uucp actually).

 Do yourself a favor and install poppassd on your system and let your users
 set their own password if they use Eudora.  It save you a lot of admin
 time.

I was thinking along those lines, although they've already installed
Pegasus (works with the Novell server they have.

 Better find out more about exactly what he is doing before trying to tell
 him how to do it :)

Yeah! I just wanted an idea of what was involved. I've got my own home
system working, but that only has three users!

 400 Meg / 1000 people is what ... 400K for each person.

Hmm. Didn't really think of this :-)
Might be able to use space on the Novell server if needed.

Thanks heaps,

Tim.

---
Debian/GNU Linux... the maintainable operating system. http://www.debian.org


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Digest/Newsfeed?

1998-01-17 Thread Tim Thomson
Hi,
I'm currently subscribed to this list, but due to my parents being
divorced I am only here every other week.
I use fetchmail to recieve my mail, and have a cron entry to get my mail
at 10pm and 6am (it's cheaper for international traffic - my e-mail
service is in the USA). I don't really want to bog down my free email
service, esp. since I don't look at most of the posts that were sent while
I'm away, except for replies to my posts or ones that interest me.

What I was wondering (stupid question!) is, what is a digest? I understand
that it is a heap of the messages tied together, but how often is it sent?
Can I set up when they are sent?

Even better, is there a newsfeed I can set my system up to download the
posts from, so I can either recieve all messages every night, and when I'm
here recieve posts whenever I want to, or just point slrn to, so I can
read them whenever I want.
Note sometimes I may be away for up to two weeks, so using slrn direct to
a newsfeed may not be the best if it has a message remove time of less
then 14 days - I'd then use slrnpull? or a news puller to get them.

Thanks for any help,

Tim.

---
Debian/GNU Linux... the maintainable operating system. http://www.debian.org


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Remote X-term

1998-01-17 Thread Tim Thomson
On Fri, 16 Jan 1998, Rick Jones wrote:

 Absoluetely.  If you are running an X server locally you can telnet
 over, set DISPLAY=machine:0 in the environment and start any X program
 and the display will be put on your local server.

You also have to tell your local machine that the remote can access the
display, else the server can't connect to the client.
Can't remember the file to config, haven't done this for awhile.

I want to do this again, with IP-masquerading, I have a 486 behind a 386,
and run X-Win on the 486 only. I want remote computers to connect to the
486 - X-Win only.

Thanks for any help,

Tim.

---
Debian/GNU Linux... the maintainable operating system. http://www.debian.org


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Remote X-term

1998-01-17 Thread Tim Thomson
On Fri, 16 Jan 1998, Rick Jones wrote:

 Tim:
 
 Letting you know that it is not the /etc/X11/xdm/Xaccess file that
 allows access from remote clients.

Found it: type xhost remote.addr on the local machine before telneting
to it.

I can't try it cause I'm behind a IP-MASK'ed firewall. Got to work out how
to forward X-win stuff. What port is it on?

Hope this works  :-)

-Tim.

---
Debian/GNU Linux... the maintainable operating system. http://www.debian.org


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


xrsh?

1998-01-17 Thread Tim Thomson
Hi,
Is there a debian package with xrsh, the remote shell for X?

Thanks,

Tim.

---
Debian/GNU Linux... the maintainable operating system. http://www.debian.org


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Using X behind IP-MASQ

1998-01-17 Thread Tim Thomson
Hi,
I want to run a local X client that is behind an IP-MASQ'ed network.
The server on the other side is a Sparc Station. I have already set it up 
for remote access from a Win 3.11 X-Win client.
I now have a Debian X Win client, but I can't get it to work behind the
firewall.

I have tried ipautofw  -A -r udp 177 177 -h 192.168.0.7, and the same
for tcp. I also tried redir --debug --syslog 192.168.0.7 177 177, but
popeye (the remote), always came up with can't open display
thomson.slip.vuw.ac.nz:0.0
thomson.slip... is the real address of the Masq'ed machine.
192.168.0.7 is the address of the client machine.
I have typed xhost popeye.emf.vuw.ac.nz as well.

Thanks for any help,

-Tim.

---
Debian/GNU Linux... the maintainable operating system. http://www.debian.org



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Using Debian with lots of users

1998-01-17 Thread Tim Thomson
Hi,
At my local high school, the computer guy is trying to set up external
E-mail for everyone. We are rather a small school, with slightly over 1000
people. He has a Linux box, and a sysadmin has come in to set it up, but
can't seem to, he says that he can't get shadow passwords to work with
POP, using Pegasus for Windows. I don't know where he could go wrong here,
but he's probably using some mickey mouse way.
I am suggesting he use Debian, and was wondering what the best way to set
it up would be.

Note there are lots of users, but many wouldn't use there accounts at all.
Plus, we only have a 28.8kbps modem, so we shouldn't get too much traffic
from the remote site. (Hopefully  :-)

Firstly, what is the easiest way to handle 1000 people with things like
qpopper, and fetchmail - they'd have to be in passwd? Well, whats the
easiest way to add 1000 people to passwd? He would have a file with all
the names, so could I write a script to do this? (please note I'm only
just starting with scripts  :-)

Would smail be able to handle it, or should I use exim?

I'm not sure what sort of account he's got at the ISP, but we have our own
domain name (ie, my account would be something like
[EMAIL PROTECTED]).
I am guessing he has got a ETRN account, but I'm not sure. Fetchmail
should work with whatever account we have - can it handle 1000 users?
qpopper - OK with lots of different users.

Note, we only have 60 computers, (2 labs) so only 60 people max could be
checking their mail at the same time. The Linux box is a 486DX/2 66 with
16meg of RAM, can't remember the hard drive size - probably about 400meg.

He was worried about security - if I took most services out of the
services and inetd.conf then this wouldn't be too much of a problem?
I'd use a home compiled kernel (2.0.33), saves installing the source at
college. I'd turn off all fowarding/firewalling access so no one on
college side can get out.

What would be best to get out? I use diald here at home, and have a cron
process run fetchmail. Outgoing mail goes straight out at home, but at
college it should be cached up to fifteen minutes and then sent - I could
write a script that cron calls every hour - runs say pon then smail -q
then fetchmail then poff. I could also have another script run every 15
mins that checks if there is mail to be sent (how?), if there is, run pon
then smail -q (and fetchmail, since where logged in), then poff.

Actually, I could put everything into ip-up (including poff?).

Can I also catch Subscriptions to mailing lists?

Please help, he's contemplating going to NT - even more problems :-)

-Tim.

---
Debian/GNU Linux... the maintainable operating system. http://www.debian.org


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


CDROM mount locking up

1998-01-16 Thread Tim Thomson
Hi,
I am having trouble with a Mitsumi CDROM, that is connected to a Mad16
card (software configurable).
When mounting a disk, the mount seems to lock up. I think this is because
I haven't set it up properly yet.
What I'm wondering is, is there a way to kill off the mount?
It halts after saying something about the disk is write protected, so it's
mounted read only.
I can't kill the mount, but if I shutdown the system, it can't unmount
root, as it's busy.

Is it possible to kill this mount, cause it's a pain not been able to
cleanly unmount the hard drive. It may take me some time to work out what
I'm doing wrong.

Thanks for any help,

Tim.

---
Debian/GNU Linux... the maintainable operating system. http://www.debian.org


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Trying to fix a mistake in upgrading Netscape...

1998-01-16 Thread Tim Thomson
  unless something has changed, the only version of netscape which can be 
  installed by the debian packages is 3.01.

Can the Debian package be updated? It's a bit of a pain using a version of
Netscape that isn't (closer to) current. I guess it probably doesn't
matter now we have hamm, but it would still be nice  :-)
What about installing Netscape in /usr/local/?
Is Netscape 3.01 installed by Debian better than Netscape 3.04 installed
in /usr/local?

I already downloaded 3.04, don't really want to get an older version!

Actually, I installed 3.04 with the Debian package - just to see what
would happen, but I think I will uninstall it and put it in /usr/local.

Any ideas?
Thanks,

Tim.

---
Debian/GNU Linux... the maintainable operating system. http://www.debian.org


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: cdrom problem

1998-01-15 Thread Tim Thomson
I have the same problem with a Mitsumi cdrom on a Mad16 card. I thought it
was something to do with the fact that the Mad16 is a software
configurable card.

Linux seems to leave the hardware in a state DOS can't recognise.

I just use halt instead of reboot, and then press the reset button.

Tim.

PS, sorry if this has already been replied to, usa.net is about six hours
slow, I'm looking for another POP mail service.

---
Debian/GNU Linux... the maintainable operating system http://www.debian.org


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Mail notification

1998-01-15 Thread Tim Thomson
Hi,
I have a number of mail boxes, to handle the different lists I am on.
I use procmail to filter the mails to the right folders.

I have put:
MAIL='/var/spool/mail/tim;/home/tim/mail/debian-user;/home/tim/mail/seul-
project'
MAILCHECK=10

into my .bash_profile. I have tried the same MAIL variable as MAILPATH but
this didn't work.

Also, how can I have mail that have been cross posted still sorted into
the correct boxes? At the moment procmail looks at the TO headers, but if
something is crossposted, all the mails go into the same box. I think I
need to set something in a different header, but I don't know what it is.

Thanks for any help,

Tim.

---
Debian/GNU Linux... the maintainable operating system. http://www.debian.org



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


X-win more effiecient than Win95?

1998-01-14 Thread Tim Thomson
Hi,

A friend of mine asked me if X-win was more efficient than Win95 on the
same system?

I said it would probably be better for somethings, and maybe slower than
others, but I wasn't sure - so I though to ask you people.

Anyone done any benchmarks???

Thanks for any help,

Tim.

---
Debian/GNU Linux... the maintainable operating system. http://www.debian.org


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Announce: Simple End-User Linux (SEUL) Project

1998-01-14 Thread Tim Thomson
On Tue, 13 Jan 1998, Matthew Majka wrote:

 I definitely have to agree with these statements.  I think
 the last thing a new Linux user needs, is another Linux
 distribution to choose from.  I know I was a bit
 dissappointed with the fragmentation when I started with it
 (about 3 months ago).  Please take Debian and improve the
 installation utilities (I'm a big fan of SGI's 'swmgr'. 
 Anyone want to write a clone for dpkg?).  Maybe move the
 documentation into a web-based format (HTML) to make the
 current information easier to navigate.  Maybe web-based
 admin tools?

Why not do like what Redhat does - X install, but still keep as an option
the standard text install - if you want an X install then download another
few floppies with a small X server and client - it could be made quite
small???
I know the Redhat does the configuration in a non-standard way, why not do
it properly?

Note this topic should really be on the seul groups, where the developers
are.

-Tim

---
Debian/GNU Linux... the maintainable operating system. http://www.debian.org


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: divide the list in beginners and advanced

1998-01-14 Thread Tim Thomson
On Tue, 13 Jan 1998, Peter S Galbraith wrote:

  - Trim the post that you are quoting.

Is there a way to trim the header size? - maybe at debian.org?
Most posts are 2-3k, but nearly all of this is in the headers.
I guess 2-3k isn't much, but it definately mounts up.
If the headers could be trimmed, say one kilobyte, this would chop most
messages by half!

I went away for a week and when I come back I had about 2megs of 
messages. 

Also, should I normally Cc messages to the person I am repling to? They 
would normally be subscribed anyway, but many of you Cc replies anyway.

-Tim

---
Debian/GNU Linux... the maintainable operating system. http://www.debian.org


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: SVGA Web Browser?

1998-01-11 Thread Tim Thomson
Hi again,

 Such a beast would be great. Alas, I don't think one exists. Perhaps if
 Mnemonic ever gets into beta, we'll see one.

What is Mnemonic?

 While I am a GNU/Linux and free software advocate, and enjoy turning very
 low-end hardware into useable free software systems, I've been thinking
 lately that it's more practical to run Caldera's OpenDOS/WebSpyder32 on a
 machine like yours than run Linux, especially if using the Web is a
 priority. I don't even know if you _could_ install X on that system -- it
 would just be impossible to use.

I've been running this system for a few months now, I like it, it goes
pretty fast for what I want to do (except X). I had X-win running for
awhile, but removed it as I only have an older 14inch monitor, that
doesn't do 800x600 very well. So I have to run it in 640x480, which is
rather horrible!!! Plus it was rather slow, took 30 seconds to a minute to
load xterm!!! I could use it as an XServer pretty well, using a Win3.11
machine running an X-Win client - ran OK.

I use fetchmail, pine, slrn, and lynx for most web stuff, I also use
IP-Masqerading so my other computers on my network can access the
internet. I have the Java Development Kit installed as well, so I can
compile Java stuff, and can run Java binaries as executables (although not
graphical ones), I can't run Applets, but can develop them and test them
on a better system later.

I don't think anything else could give me the versatility and functions
that Linux gives me with my system. I would rather go without a graphical
web browser than give up my Linux system!!!

Thanks for you help,

Tim.

Would you buy a car with the hood welded shut?
http://www.debian.org
Debian/GNU Linux ... the maintainable operating system.


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: LILO stopped working

1998-01-11 Thread Tim Thomson
On Fri, 9 Jan 1998 [EMAIL PROTECTED] wrote:

LI   The first stage boot loader was able to load the second stage boot 
 loader, but has failed to execute it. This can either be caused by a 
 geometry mismatch or by moving /boot/boot.b without running the map 
 installer. 

Ummm... What is the /boot directory used for?
The installation boot installed the default stuff for 2.0.29 in there, but
I haven't bothered touching it. When I compiled my kernel, I just copied
the image file from wherever it was in /usr/src/linux to /vmlinuz.
I had previously renamed the /vmlinuz sym link to /vmlinuz.old
I have been running my system with the new kernel (2.0.32) for over a
month now, have had no problems.
The System.map-2.0.29 is still in /boot, and no later one has been
installed. The only thing that has changed in awhile is the map file,
while LILO installed? after I had defragged my file system.
What files in /boot do I need? can I remove everything but /boot/map?

Thanks for any help,

Tim.

Would you buy a car with the hood welded shut?
http://www.debian.org
Debian/GNU Linux ... the maintainable operating system.


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: samba -- how?

1998-01-11 Thread Tim Thomson
On Fri, 9 Jan 1998, Shaleh wrote:

 I would like to set up samba to my winders machine at work. Is this
 possible?  What permissions do I need? Would it be easier to simply
 setup a ftp server on it?

Do you mean a samba server or client on the Linux box?
Both are possible as I use both on my system.

To install the client, you need to recompile your kernel, saying yes to
the SMB filesystem. You also need to install the package ksmbfs, which has
the mount and unmount programs. You would need a username and password
on the server to be able to mount the drives onto your system.

To install the server, you only need to install the package samba, and 
configure it. I found it reasonably easy to setup, but I have a simple
setup here.

An ftp server on the Linux box is easy to setup, you need an account for
everyone who is going to connect to it, or you can you wu-ftp, and use
anonymous ftp.
An ftp server on the Win machines is possible, there are various ones
available, some shareware ones you could try.

Hope this helps,

Tim.

---
Would you buy a car with the hood welded shut?
http://www.debian.org
Debian/GNU Linux ... the maintainable operating system.



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: LILO stopped working

1998-01-11 Thread Tim Thomson
On Sat, 10 Jan 1998 [EMAIL PROTECTED] wrote:

 Oh dear, a second person that thinks I'm an expert :-)

Heehee!

 You should copy your 2.0.32 map file to the boot directory I think.
 Someone correct me if I'm wrong.

I guess these would have been in the same directory as the kernel, which
will be gone by now. I removed most of the source as I only have a 100meg
drive.

 Eek, I think this is your problem.  I've never tried to defrag an e2fs
 partition since it does pretty good on its own.

I didn't have a problem with it, (well, I did after I defragged it - I
freaked out when it stopped at the LILO prompt - thought I had trashed
it, after hearing so many horror stories, but I fixed it after 
remembering to reconfigure LILO- (the same way you told the other person).
The only reason I defragged it was because I had removed and
installed lots of files while the drive was near full (only 100meg
drive!).

I was wondering what files in the /boot directory I could remove safely,
like the system map for the old kernel, and what the system map actually
does. What do the files in the /boot dir do? The only file touched since
installing is /boot/map which (I guess) LILO had done, after I
reconfigured it.

BTW, liloconfig is easier to remember than the other command to
reconfigure LILO.

Thanks,

Tim.

---
Would you buy a car with the hood welded shut?
http://www.debian.org
Debian/GNU Linux ... the maintainable operating system.


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


What is SLang?

1998-01-11 Thread Tim Thomson
Hi,
My cron.weekly came up with the message:

Terminal not powerful enough for SLang.

What is SLang, and how do I fix this error?

Thanks for any help,

Tim.

Would you buy a car with the hood welded shut?
http://www.debian.org
Debian/GNU Linux ... the maintainable operating system.


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Changing video modes on fly?

1998-01-11 Thread Tim Thomson
Hi,
Is there a way to change the text video mode (say, from 80x25 to 80x50),
on the fly?
I prefer 80x25 for most things but it would be handy to change the
resolution for somethings - without rebooting!

Also, sometimes when a program that uses the svgalibs crashes, it
scrambles the screen. reset doesn't fix the mode, is there another program
to completely reset the screen?

Thanks for any help,

Tim.

---
Debian/GNU Linux... the maintainable operating system. http://www.debian.org


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: IP-Masq (was Re: ms explo

1998-01-09 Thread Tim Thomson
On Fri, 9 Jan 1998, John Spence wrote:

 I'm wondering if running Debian has made this an easier process. I've read
 100s of messages lately prior to trying this and practically none of the
 users with problems were Deb users.

I would think they're all the same, but still, I found it incredibly easy
to set up. The procedure to setup IP-Masq is pretty much the same for each
distribution, but maybe just the overall system makes it easier?

  I've just been through the same thing with IP Masquerading. I created a 
  file in /etc/rc.boot (I don't know whether that was the right place or 
  not!) marked it as executable. It contained the following:

Why not just put the module names in /etc/modules? It's a lot easier.

Bye,

Tim

--

Customer: I'm using Windows 95  Tech Support: Yes...
Customer: My computer isn't working now Tech Support: Yes, you said 
that



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


SVGA Web Browser?

1998-01-09 Thread Tim Thomson
Hi,
Has anyone heard of a Web browser that uses the svgalibs (or some other
method), rather than X-Win? I have a 100meg hard drive, and have about
10meg free, so I don't really want to install X-win, plus I only have a
386SX, so X-win is rather slow.
I have been using lynx for awhile, and just downloaded the zgv image
viewer, and thought a Graphical web browser would be nice.

Would it be possible to port an X-win program, or one from somewhere else?

Thanks for any help,

Tim.

Would you buy a car with the hood welded shut?
http://www.debian.org
Debian/GNU Linux ... the maintainable operating system.


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Why use pgp?

1998-01-09 Thread Tim Thomson
Hi,
I've installed pgp-i, to see what it's about. I've noticed many people
have pgp signatures in their messages, and some offer the signature via
finger.

I know why you would want to use it to send encrypted messages, but why do
you want to sign your messages? 
I read that it's so you know what you are reading is from the right
person, but do that many people want to know that the message they are
reading is from who they say they are? Commercial users sure : they need
to know they aren't reading messages from the competition, but why us in a
mailing-list?

I'm perfectly happy setting up pgp and pine-pgp on my system, I just
wanted to ask if it's worth it, as I'm only going to be posting to here,
my friends, most of whom won't have pgp installed, and the odd newsgroup.

Thank for any help,

Tim

---
Would you buy a car with the hood welded shut?
http://www.debian.org
Debian/GNU Linux ... the maintainable operating system.


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Slow mail throughput

1998-01-09 Thread Tim Thomson
Hi,
Is this list supposed keep messages for six hours before sending them?
I sent a message at five tonight, and it has just been recieved (at 11pm).
I don't think it's the list, I'm pretty sure it's my email provider 
(usa.net). I seem to be having a few problems with connecting to them
today.

Actually, I'm pretty sure it is usa.net - I have sent lots of messages to
myself and haven't recieved any back yet - but I think it could also be
something on my local system - I ran smailtest, it worked for local mail,
but the remote has yet to reply. I have sent myself a mail to my local
address (thomson.slip.vuw.ac.nz) and it worked.

Maybe the linux counter reply is slow - I tried an hour ago, it was
supposed to send to the local address here but hasn't. When I first set up
smail I remember the reply came in about five minutes.

Does this mean that usa.net is slow? I can also access it using a web
brower, and it does the same thing - slow messages.
I have been using usa.net for about a month and haven't had any problems
yet. I think I'll mail the administrator.
I don't want to change free email servers, as people now send to this
address, plus it is the only one I found that let me use pop - I use
fetchmail to download my mail.

Thanks for any help,

Tim.

BTW, if you reply to this at usa.net, I won't recieve it for hours, If you
reply to this within about seven hours, please reply to
[EMAIL PROTECTED] - I'm leaving the system logged on for awhile.

Thanks for any help,

Tim.

---
Would you buy a car with the hood welded shut?
http://www.debian.org
Debian/GNU Linux ... the maintainable operating system.




--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: IP-Masq (was Re: ms explo

1998-01-09 Thread Tim Thomson
On Fri, 9 Jan 1998, John Spence wrote:

 I'm wondering If I'm going to have to load any. I just succesfully ran
 WS_FTP from the pretty looking machine and I know I haven't loaded the ftp
 module.  It (ip_masq_ftp.o) isn't being loaded from anywhere that I can
 find it.

Maybe WS_FTP is configured as passive - which means that all connections
are made from your computer, instead of being initiated by the server.

Tim.

---
Would you buy a car with the hood welded shut?
http://www.debian.org
Debian/GNU Linux ... the maintainable operating system.


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Changing space reserved

1997-12-30 Thread Tim Thomson
Hi,

My Debian system has only a 100Mb Hard Drive, I stuck a resonable system
onto it, managed to recompile my kernel (although I've now deleted most of
the source) and have now set it up as much as I want to for now.
I use my system to recieve mail using fetchmail.

What I want to know is, can I reduce the amount that is reserved. ie, df 
reports:

Filesystem 1024-blocks  Used Available Capacity Mounted on
/dev/hda1  91230   80945 5574 94%   /

It says I have 5Mb free, but 91Mb-80Mb = 11Mb! Can I change it so it
reserves say, 2Mb instead?

Is it safe to do this?
What could go wrong?

Thanks in advance,

Tim.

Customer: I'm using Windows 95  Tech Support: Yes...
Customer: My computer isn't working now Tech Support: Yes, you said that


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Stopping retries

1997-12-30 Thread Tim Thomson
Hi,

I've been trying to copy files off a dying hard drive, using my Linux
system.

I mount the drive using mount /dev/hdb1 /mnt
If I do something that causes an error, I get lots of lines of:

hdb: read_intr: status=0x59 { DriveReady SeekComplete DataRequest Error }
hdb: read_intr: error=0x40 { UncorrectableError }, CHS=496/15/2,
sector=413401
end_request: I/O error, dev 03:41, sector 413401

This is what you would expect I guess, as the drive is almost dead ( I can
still get lots of files off though, seems to be an intermitent problem).

What I would like to know is, can I set something that limits the number
of retries, and can I limit the terminal it writes to ( if I swap to
another terminal, it writes all the errors to that.
I accidentally typed df which caused many errors. I left it about 5-10
mins, thinking it might work time out, but alas, it was still going when I
came back. I reset the system, which took about 15 mins to halt, as it
kept coming up with errors.

Also, when I plugged the hard drive in, I used the power cable from a
floppy drive, I tried mounting the floppy without realising it wasn't
plugged in, and I got this: 
floppy1: perpendicular mode not supported by this FDC.
It did this for about five mins, again, on whatever terminal I was on.
Can't the kernel work out that I won't be changing the FDC while the
system is on, and give up sooner???


Would you buy a car with the hood welded shut?
http://www.debian.org
Debian/GNU Linux ... the maintainable operating system.


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Changing space reserved

1997-12-30 Thread Tim Thomson
On Tue, 30 Dec 1997, Daniel Martin at cush wrote:

 (this one is the risky method)
 sync
 mount -n -o remount,ro /
 tune2fs whatever
 mount -n -o remount,rw /

Worked!!! (had to go to maintence mode).
Thanks a lot!!!

What does the volume name you can set do?

Doing this reminded me of a problem I had trying to defrag the drive. I
unmounted it and booted off a floppy, typed edefrag and :
stalin# edefrag -d -r /dev/hda1
edefrag 0.61
DEBUG: read_tables()
edefrag: bad magic number in super-block

What's going on? I tried the same on an unmounted floppy disk and it said
the same thing. I downloaded another copy thinking it had got corrupted,
but it did the same thing.

Any ideas?
Thanks again,

Tim.

Would you buy a car with the hood welded shut?
http://www.debian.org
Debian/GNU Linux ... the maintainable operating system.


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: couldn't match host name or address

1997-12-29 Thread Tim Thomson
On Mon, 29 Dec 1997, Brandon Mitchell wrote:

 I believe there is a kernel option called IP_MASQ that you would be
 interested in.  However, I haven't done this yet (I plan on it when I
 decide how I will connect my boxes together).

Yes! I use it on my system here. My Win3.11 machine acts basically as it
did with the modem in it, but all my systems can access at the same time.
I have a feeling that the Win3.11 machine responds faster, as recieving
one fast packet over ethernet, rather than recieving lots of bytes over
modem and then having to put together a SLIP packet would be less
processor intensive???

Anyway, I recommend IP Masquerading, You need to recompile your kernel
though, and add IP_MASQ. After compilation, you type two lines, to set it
up and you're away!!! I was thinking it would be difficult, but just I
just followed the HOWTO, and it was very easy!!

Hope this helps,

Tim

Customer: I'm using Windows 95  Tech Support: Yes...
Customer: My computer isn't working now Tech Support: Yes, you said that


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Bizarre problem.

1997-12-29 Thread Tim Thomson
On Mon, 29 Dec 1997, Timothy Hospedales wrote:

   Hey guys! I've got a really *bizarre* problem!!!  When I am using my PPP
 dialup connection, I can use everything on the 'net perfectly. EXECEPT,
 that I cannot access any dialup IP's in my ISP's domain, including my own.
 Any attempt at contacting, using the IPs directly, or via a dyn.ml.org
 domain name, with PING's, or various clients fail.

type ifconfig
This lists your interfaces and should give you your IP address that your
system is listening on. Look for inet addr under ppp0, try pinging that
address - that should work.

As they are dial-up systems : maybe they aren't logged on???

Hope this helps,

Tim.

Customer: I'm using Windows 95  Tech Support: Yes...
Customer: My computer isn't working now Tech Support: Yes, you said that


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .