Re: Having problems with user PPP to private network in 5.4-STABLE

2005-04-10 Thread Richard Caley

Has there been a change in user-ppp or general networking behaviour
between 4.* and 5-STABLE which might explain why I can't talk to a
private network's PPP server from a 5.4 machine when I can from a 4.11
machine using the same ppp.conf etc?

I can connect and all looks fine WRT routing and ifconfig etc. but I
can't even ping the machine at the far enf of the PPP link.

I can connect to and use a real ISP, so the modem seems to be fine. I
was connecting to this private network from here using this modem and
this ppp.config on a 4.8 machine on friday, and can connect now from a
4.11 machine.

The only vaguely interesting things about the connection are that I am
using a USB-serial adapter to hook up the modem, and that the remote
network uses non-routable addresses in 192.168.16.0/24 and hands me
192.168.16.104 as my address. Is something defaulting to blocking
communication with non-routable addresses in 5.*?

I have added an ipfw rule to log all packets in and out down tun0 and
the ping packets seem to go but nothing comes back. So it looks like
the problem is at the PPP level or below.

Eventually the modem connection jams up, looks like the problem
discussed recently on the freebsd-usb list WRT USB-serial
converters. However, given that I can dial an ISP and talk to web
sites etc. I presume that is not the actual show-stopper.

Here are some relevent settings as they appear after I connect, there
are other interfaces and routes, but I think they are irrelevent.


smurf/~# ifconfig
[...]
tun0: flags=8051UP,POINTOPOINT,RUNNING,MULTICAST mtu 1500
inet 192.168.16.104 -- 192.168.16.7 netmask 0x 
Opened by PID 3939
[...]

smurf/~# netstat -nr
Routing tables

Internet:
DestinationGatewayFlagsRefs  Use  Netif Expire
default82.41.210.1UGS 130778rl1
[...]
192.168.16 192.168.16.7   UGS 00   tun0
192.168.16.7   192.168.16.104 UH  10   tun0
[...]


-- 
Mail me as [EMAIL PROTECTED]_O_
 |

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: shell question

2005-04-06 Thread Richard Caley
In article [EMAIL PROTECTED], mrspock  (m) writes:

m The problem is that I don't want to use the temporary
m file that I used above (stdout, stderr, out), I just
m want a filter

If you want to rearange the output so that all the errors are after
all the non errors, then you are going to need storage of some sort. I
think that is logically unavoidable.

There may be some kind of shuffle you can do with named pipes or
something, but those kind of things have limited storage. Any time
your command produces more error output than that space can hold, it
will be stopped. Since you are not reading that stream until the main
output is finished you'd then have a deadlock.

-- 
Mail me as [EMAIL PROTECTED]_O_
 |

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Some kind of intranet update system for FreeBSD?

2005-04-04 Thread Richard Caley
  It builds them all, but instals teh first one on this machine.
 
 
 Would it build all the modules three time, I wonder?

Seems to, but who cares? CPU cycles are cheap. I build on the machine
which serves as the  mail/news/dns/etc server, which is basicly idle
all the time (those services just don't take a noticable amount of
effort). It does the world and 4 or 5 kernels overnight, and it's only
a 500MHz machine with IDE disks etc.

  ^_^
 (O O) 
 \_/@@\
  \\~~/ 
~~
- RJC
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: *attaching* a file to /usr/bin/mail message

2005-04-04 Thread Richard Caley
In article [EMAIL PROTECTED], Colin J Raven (cjr) writes:

cjr Does anyone happen to know how you would *attach* *not readin the
cjr contents of, but actually *attach*) a file using /usr/bin/mail?

The metamail package includes metasend, a script which will build a
MIME message you can then send to bin/mail or sendmail or whatever.

-- 
Mail me as [EMAIL PROTECTED]_O_
 |

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Some kind of intranet update system for FreeBSD?

2005-04-03 Thread Richard Caley
In article [EMAIL PROTECTED], Fabian Keil (fk) writes:


fk If the kernels are the same, you can use the same build
fk on every machine as well. 

If they aren't it works to set KERNCONF to the whole list on the build
machine

KENRCONF=Macine1 Macine2 Machine3

It builds them all, but instals teh first one on this machine.

-- 
Mail me as [EMAIL PROTECTED]_O_
 |

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Devil Mascot

2004-06-28 Thread Richard Caley
In article [EMAIL PROTECTED], Kai Grossjohann (kg) writes:

kg Software is written for users, isn't it?

From observation I would say that most software is written against
users. 

As for FBSD, I hope it is being written for the enjoyment of those
writing it, since that is the best insurance that it will keep being
written. 


-- 
Mail me as [EMAIL PROTECTED]_O_
 |

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Means of traversing a directory

2004-06-17 Thread Richard Caley
In article [EMAIL PROTECTED], Gerard Samuel (gs) writes:

gs Im running tar(1) to make a tar ball of a directory using the 
gs --newer-mtime to only get newer files after a specified date.
gs Unfortunately, it also creates unwanted empty directories.

Have you tried using find? 

If a relative time is good enough

find DIR -type f -mtime -6 

if you need to specify a time and date, I think the only way is to use
touch to makea file at the right date then use find's -newer test.

-- 
Mail me as [EMAIL PROTECTED]_O_
 |

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Mail

2004-06-16 Thread Richard Caley
In article [EMAIL PROTECTED], mail25  (m) writes:


m There's so much bad-mouthing sendmail! 

All I can say to that is:

R@ $+ + $*  @ $* . 
   $:  $(virtuser $1 @ $3 $@ $1 $@ $2 $@ +$2 $: @ $)  $1 + $2  @ $3 . 

-- 
Mail me as [EMAIL PROTECTED]_O_
 |

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Devil Mascot

2004-06-14 Thread Richard Caley
In article [EMAIL PROTECTED], Cordula's Web (cw) writes:

cw Tux looks cute, but does it stand for (code) bloat? ;-)

It's quite simple:

BSD: Daemon, evil, 'nuff said.
Linux:   Penguin, it's never going to fly.
Windows: Distorted windowframe, lets crooks in.
MSN: Butterfly, a maggot partially disguised by graphic design
Apple:   Apple, sinful, probbaly contains maggots due to M$ tie up.
MacOsX:  X, standard mark for `this is wrong'.
Java:Coffee, you're gonna have sleepless nights.


-- 
Mail me as [EMAIL PROTECTED]_O_
 |

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: What's the big difference between Linux and Unix??

2004-06-13 Thread Richard Caley
In article [EMAIL PROTECTED], Grauwmans Steven (gs) writes:

gs If U could please help me, I'm getting confused.
 
Linux is a kernel, ie the bit of the OS which needs to be there, but
you should never be aware of in normal use if it works properly.

Unix is a trademark. There used to be an OS caled Unix, but it is so
long since it's descendents diverged that the name is pretty useless
now. If you see it in use it is probably historical, marketing or
someone who is confused.  It's like looking for a modern human
population to label as homo-erectus. 

So, basicly you are looking at a large number of Unix-like operating
systems, some of which use Linux as their kernel, some of which
don't. 

To add another dodgy metaphor, Volkswaggon once created a car called
the Golf which was so sucessful that lots of cars now are visibly
descendents of that design. Some of them share the same kind of
engine. However none of those cars is a golf, and certainly the engine
isn't.

-- 
Mail me as [EMAIL PROTECTED]_O_
 |

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: [OT] Re: Leaving a server on all day

2004-06-09 Thread Richard Caley
In article [EMAIL PROTECTED], Charles Swiger (cs) writes:

cs You are correct that one needs to measure the voltage and use the RMS
cs value, or DC series equivalent if you like that phrase, in order to
cs figure out the power consumption accurately, but an {ammeter,
cs amp-meter, DMM} which can deal with AC will do the right thing.

[from the we don't need no stenking test equipment dept.]

When I did this kind of thing a few years ago (trying to get a measure
for things like the washing machine heating water and the kettle etc
as well as PCs) I did it by watching the electricity meter. 

The one I had at the time had a big rotating disk with ticks marked on
it counting off load as well as the dials recording larger units
(can't easily see the current one to check this is a normal
feature). I turned off everything I could in the flat, then turned
various things on and counted off ticks per minute.

I assumed that the electricity company was trying to do a reasonably
good job to get as much money as possible without getting caught
cheating, and in any case I was worried about money not the
environment, so whatever they were measuring was the right metric,
even if they were wrong scientifically.

-- 
Mail me as [EMAIL PROTECTED]_O_
 |

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Leaving a server on all day

2004-06-08 Thread Richard Caley
In article [EMAIL PROTECTED], Jonathon McKitrick (jm) writes:

jm I have my desktop configured to run as a server and app server for a thin
jm client laptop.  Will running it all day without suspend mode use a lot of
jm power?

Turn the monitor off, especially if it is getting old. I have a 19inch
from back when they were expensive and it eats power. 

-- 
Mail me as [EMAIL PROTECTED]_O_
 |

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Installation problems

2004-05-28 Thread Richard Caley
In article [EMAIL PROTECTED], Paul Brownsea (pb) writes:

pb ad0: READ command timeout tag=0 serv=0 - resetting
pb ata0: resetting devices .. 

pb And then it just hangs.

This one is getting popular.

There is at least one disk controller chipset out there which FBSD 4.X
doesn't understand. If you can turn off DMA disk access in the BIOS,
you may be able to install. 

If you really are just trying it to see, try 5.2.1. It's not
officially reccomended for production use yet, but it seems perfectly
OK, just remember if something acts weirdly that you shouldn't assume
it reflects what 5.X will be like when it is nailed down and solid. In
a few months from now when you decide it's just what you need for some
real use, 5.X may be the reccomended stable version anyway, so you'll
have become familair with the right thing.

-- 
Mail me as [EMAIL PROTECTED]_O_
 |

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: mail daemon(s) recomendation request

2004-05-28 Thread Richard Caley
In article [EMAIL PROTECTED], Joseph Gleason (jg) writes:

jg I'm going to check into postfix and maybe qmail.

Haven't played with qmail, but we were handed postfix on some managed
linux servers. Years of experience with sendmail made me dread
learning another monsterous system.

Actually I just went down the config file and did the obvious things
and it worked. 

It even relayed mail under the desired domain name without me having
to spend three days living on fermented yak's milk in a hidden
lamastary performing weird and unsettling chicken sacrificing
ceremonies to the Great Old Ones.

The O'Reiley book is comprehensible and the index takes you to the
right page.

On the whole I feel as if I have slipped into a parallel universe
where email is a simple technological matter, not a deep religious
mystery.

-- 
Mail me as [EMAIL PROTECTED]_O_
 |

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


4.{8,9,10} Install ad0 READ command error

2004-05-21 Thread Richard Caley

I can't install 4.X on a couple of identical new machines. They both
exhibit the same problem, and it's consistant, so it's probably not
bad hardware, though perhaps weird hardware. Also, 5.2 does install,
but these are to be production machines at a remote location so I'd
really rather be running something long in the tooth.

I've googled and looked at the FBDS mailing lists and here and have
found some similar sounding reports, but no fix.

I need to make a decision on these machines for next week, and if I
can't bring myself to go with 5.X I may have to try linux, so if
anyone can come up with a way forward with 4.X in the next day or two
it would be a really Good Thing:-).

OK, details:

The disk is there, visible and will boot (to DOS in one case, to FBSD
5.2 in the other).

I boot from CD and it goes through the normal sequence to boot the
install kernel until it looks at the hard disk (copied from a screen
on
the other end of the room, so excuse typoes/brainoes):

ad0 sucess setting WDMA2 on SIS chip
Creating disk ad0
ad0 READ command timeout tag=0 serv=0 resetting ...
ata0 resetting devices

And then nothing for as close to forever as I have been prepared to
wait.

The motherboard is an ASRock KS41

Chipset:SIS 741 + SIS 963L

Athalon 2400+


Can't think of anything else relevent.


-- 
[EMAIL PROTECTED]   _O_
 |

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 4.{8,9,10} Install ad0 READ command error

2004-05-21 Thread Richard Caley
  The motherboard is an ASRock KS41
  Chipset:SIS 741 + SIS 963L
  Athalon 2400+

 HDD model and firmware version would be useful.

The HDD is a maxtor 6Y080P0 The BIOS is AMI and identifies itself as
K7S41 P1.10.

As a matter of interest, I have had a very similar problem on a
mini-PC which I had put down to a hardware fault, but maybe there is a
new(ish) motherboard chipset out there which 4.X can't cope with but
5.X can?

If it is of any relevance/use, 4.5-RELEASE does manage to boot as far
as the installer, and locks up on Probing Devices.

The only symptom under 5.2 is the disk geometry warning at the start
of partitioning which I have recieded in more or less every FBSD
installation for the past couple of years. Someone really should
rewrite that, since it seems impossible not to get it, and doesn't
actually seem to indicate a problem.

-- 
[EMAIL PROTECTED]   _O_
 |

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 4.{8,9,10} Install ad0 READ command error

2004-05-21 Thread Richard Caley
 Did you tried with another HDD ? Does the HDD work on another mobo ?

Don't really want to mess with the hardware too much. These are
supposed to be identical machines to deliver quickly to a customer as
a stop-gap. I'll try with a spare HD this evening, but basicly I just
want to get something going on these machines as is as soon as
possible, so unless someonone somewhere has a brilliant idea I'll flip
a coin between the pain fo Linux and the worry of 5.2.

 This could be possible due to acpi support in 5.x; but of course it can
 happen also the other way. Did you tried to boot with acpi disable ?

Can I do that from the 4.X install CD? Everything seems to be disabled
in the BIOS, not that there is much.

-- 
[EMAIL PROTECTED]   _O_
 |

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]