Re: floppy disk

2002-10-09 Thread Roman Neuhauser

# [EMAIL PROTECTED] / 2002-10-08 10:46:16 -0700:
  Date: Mon, 07 Oct 2002 21:09:58 +0200 (CEST)
  From: [EMAIL PROTECTED]
  Sender: [EMAIL PROTECTED]
  
  # mount /dev/fd0c /drives/fd
  grep: /etc/vfstab: No such file or directory
  grep: /etc/vfstab: No such file or directory
  mount: /dev/fd0c: Device not configured
  
  *** mount: /dev/fd0c: Device not configured ***
  
  hi, if the order mount means that the device is not
  configured,it has to be configured, isn't it?? so, how it has
  to be done?
 
 FreeBSD does not have /etc/vfstab. It is a System V UNIX thing. If
 mount is looking for it, something is badly awry.

...

 The other very real possibility is that your system has been hacked
 and the mount command has been subverted.

He/She already knows all this, but has ignored all warnings.

-- 
begin 666 nonexistent.vbs
FreeBSD 4.7-RC
9:22AM up 21 days, 16:37, 13 users, load averages: 0.01, 0.07, 0.07
end

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Puzzling NATD problem - revisited

2002-10-09 Thread Kim Helenius

Thank you both for your answers. The campus network uses public ip 
address space, sorry for not including that information. The fact why I 
included it in between the internet and the natd gateway is that if 
there's some weirdness in it, I somehow have to compensate for it in 
FreeBSD. As I stated, Linux users haven't had any problems with nat in 
the same network. Even I had working nat in the same network two years 
ago (on FreeBSD 4.1-4.3 I think) so I'm trying to pinpoint the cause for 
this extremely peculiar behaviour.

Josh Paetzel wrote:

On Tue, Oct 08, 2002 at 03:28:28PM -0400, JoeB wrote:
  

You state Network topology:
Internet---Campus Network---(xl0)FreeBSD NATD machine(xl1)---Internal host

Internet is public ip address,  if Campus Network private ip address then
you can not nat them again, if Campus Network  is public ip address then  you
should nat x11 for the private ip address on the lan behind the FBSD box.


That's not correct.  I've seen two layers of NATD work just fine in an office 
building environment where the gateway to the office was natting ips to the 
individual clients, and then clients were natting again to hang multiple 
machines off the one ip they got from the office gateway.

Josh 
  

You should nat x11 for the private ip address on the lan behind the 
FBSD box.
I always thought natd should run on the external interface? How can natd 
work perfectly if I'm running it on a wrong interface?

  

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Kim Helenius
Sent: Tuesday, October 08, 2002 9:13 AM
To: [EMAIL PROTECTED]
Subject: Puzzling NATD problem - revisited

The setting:

Network topology:
Internet---Campus Network---(xl0)FreeBSD NATD machine(xl1)---Internal host

A custom kernel build including the following options:
options IPFIREWALL
options IPDIVERT
Used the command:
sysctl net.inet.ip.forwarding=1
And started natd with natd -interface xl0

Then did, straight from the manpage, the following firewall rules:
/sbin/ipfw -f flush
/sbin/ipfw add divert natd all from any to any via xl0
/sbin/ipfw add pass all from any to any

Now NAT works perfectly for the internal host, but (almost) all TCP
connections cease to work to/from the NATD machine. AFAIK UDP and ICMP work
perfectly. I've tried this on two different FreeBSD machines in the same
network with identical results. If I remove the divert rule, everything
works perfectly, except of course for the NAT. There have been no similar,
puzzling effects on any Linux hosts I know of in the same network. Therefore
I'm sure there's some knob I haven't pushed yet :)

I'm aware this doesn't make much of a firewall but I'd like to get natd
working before I run the firewall script.

--
Kim Helenius
[EMAIL PROTECTED]



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


-- 
Kim Helenius
[EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Laptop sound

2002-10-09 Thread Sue Blake

On Tue, Oct 08, 2002 at 11:14:48PM -0700, Pookie wrote:
 I have a Sony Vaio GRX-570 running FreeBSD 4.6. Im attempting to get my
 sound working, but im receiving an error:
 Dmesg:
 Pcm0: Intel 82801CA (IHC3)...  irq 9 at device 31.5 on pci0
 
 After I try playing something in xmms I get:
  Pcm0:play:0:play interrupt timeout, channel dead
 Why does it do this, and how is it fixed?

Perhaps it relates to

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=kern/34942


-- 

Regards,
-*Sue*-

http://www.sievx.com/
 
 

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Phoenix browser problems

2002-10-09 Thread Roman Neuhauser

# [EMAIL PROTECTED] / 2002-10-08 21:42:56 -0400:
 Any ideas why Linux emulation is failing in this instance?

looks like you need linux-gtk.

-- 
begin 666 nonexistent.vbs
FreeBSD 4.7-RC
9:47AM up 21 days, 17:02, 14 users, load averages: 0.42, 0.22, 0.12
end

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: openssh

2002-10-09 Thread sonam singh

u OS ar using even i am also using openssh3x in
FreeBSD45. with no problem may u'r m/c is taking time
to resolve the ip or name 
regards
Sonam Singh
 
--- Kevin Oberman [EMAIL PROTECTED] wrote:
  From: master [EMAIL PROTECTED]
  Date: Tue, 8 Oct 2002 19:53:36 +0200
  Sender: [EMAIL PROTECTED]
  
  hi, anyone has experience trouble concerning the
 openssh ? on my computer it
  take 2 mn to connect (same for openssh 3.4 and
 3.4p1) if anyone has already
  see this and know how to fix thx to help :)
 
 Check that you IP address resolves to a name and
 vice-versa.
 
 host 194.16.34.126
 host mysystem.com
 
 sshd will always attempt to do a lookup of the
 accessing system and
 the delay when this fails is quite long.
 
 R. Kevin Oberman, Network Engineer
 Energy Sciences Network (ESnet)
 Ernest O. Lawrence Berkeley National Laboratory
 (Berkeley Lab)
 E-mail: [EMAIL PROTECTED]Phone: +1 510 486-8634
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of
 the message


__
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos  More
http://faith.yahoo.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



amnesiac disklabel on RAID logical drive

2002-10-09 Thread Philip J. Koenig

I posted about this a few weeks ago but didn't get many responses 
and I really have to fix it now.

Somewhere in the course of using sysinstall it blew away part of my 
disklabel.  This box has an AMI RAID controller on it which I want to 

replace. (not least because of its horrible error handling - ie not 
being 
able to delete a logical drive without replacing the failed disk 
first - catch-22)

It also has an embedded Adaptec SCSI interface, but I can't even 
partition or backup to that drive while I've got this disklabel 
problem 
on the RAID controller.

On other boxes I have with standard SCSI interfaces, the disklabel 
for 
the whole device pretty much matches the disklabel for the FreeBSD 
slice.  But I don't know how this should look for the RAID 
controller.  
There are 2 logical drives defined on the RAID but one is 
failed/offline.  

Pertinent snippets from dmesg:

 amr0: AMI MegaRAID mem 0xfc00-0xfc00 irq 9 at device 7.1 on pci2 
 amr0: Series 490 Firmware H79N, BIOS 2.10, 32MB RAM 
 ahc0: Adaptec aic7896/97 Ultra2 SCSI adapter port 0x2000-0x20ff 
mem 0xf410-0xf4100fff irq 2 at device 12.0 on pci0 
 aic7896/97: Ultra2 Wide Channel A, SCSI Id=7, 32/253 SCBs 
 ahc1: Adaptec aic7896/97 Ultra2 SCSI adapter port 0x2400-0x24ff 
mem 0xf4101000-0xf4101fff irq 2 at device 12.1 on pci0
 aic7896/97: Ultra2 Wide Channel B, SCSI Id=7, 32/253 SCBs


 amrd0: MegaRAID logical drive on amr0
 amrd0: 8714MB (17846272 sectors) RAID 1 (optimal)
 amrd1: MegaRAID logical drive on amr0
 amrd1: 8714MB (17846272 sectors) RAID 0 (offline)

 Mounting root from ufs:/dev/amrd0s2a
 da0 at ahc0 bus 0 target 3 lun 0
 da0: FUJITSU MAH3091MC 0114 Fixed Direct Access SCSI-4 device 
 da0: 80.000MB/s transfers (40.000MHz, offset 127, 16bit), Tagged 
Queueing Enabled
 da0: 8715MB (17850264 512 byte sectors: 255H 63S/T C)


If I try to read the disklabel directly from the whole disk, I get 
this error:

 # disklabel -r amrd0
 disklabel: bad pack magic number (label is damaged, or pack is unlabeled)


But if I specify the slice, it seems OK:

 # disklabel -r amrd0s2

 # /dev/amrd0s2:
 type: ESDI
 disk: amrd0s2
 label: 
 flags:
 bytes/sector: 512
 sectors/track: 63
 tracks/cylinder: 255
 sectors/cylinder: 16065
 cylinders: 1092
 sectors/unit: 17542980
 rpm: 3600
 interleave: 1
 trackskew: 0
 cylinderskew: 0
 headswitch: 0   # milliseconds
 track-to-track seek: 0  # milliseconds
 drivedata: 0 
 
 8 partitions:
 #size   offsetfstype   [fsize bsize bps/cpg]
   a:   40960004.2BSD 2048 1638497   # (Cyl.0 - 25*)
   b:  1024000   409600  swap# (Cyl.   25*- 89*)
   c: 175429800unused0 0 # (Cyl.0 - 1091)
   e:  2097152  14336004.2BSD 2048 1638489   # (Cyl.   89*- 219*)
   f:  2097152  35307524.2BSD 2048 1638489   # (Cyl.  219*- 350*)
   g: 11915076  56279044.2BSD 2048 1638489   # (Cyl.  350*- 1091*)



However if I attempt to read it from the in-core copy for
the whole device, it says it's amnesiac (doing it for the
FreeBSD slice only looks OK like above):


 # disklabel amrd0

 # /dev/amrd0:
 type: SCSI
 disk: amnesiac
 label: fictitious
 flags:
 bytes/sector: 512
 sectors/track: 63
 tracks/cylinder: 255
 sectors/cylinder: 16065
 cylinders: 1110
 sectors/unit: 17846272
 rpm: 3600
 interleave: 1
 trackskew: 0
 cylinderskew: 0
 headswitch: 0   # milliseconds
 track-to-track seek: 0  # milliseconds
 drivedata: 0 
 
 8 partitions:
 #size   offsetfstype   [fsize bsize bps/cpg]
   c: 178462720unused0 0 # (Cyl.0 - 1110*)



So I'm not sure what the disklabel for amrd0 should look like -
certainly it seems it's not as simple as copying the disklabel
from amrd0s2 like I can sometimes do with a non-RAID system.

All I want to do is copy off the data and get rid of this AMI 
controller,
but with the disklabel in this condition I can't even use dump, or
partition a 2nd disk on a different controller.  (more info below)

Suggestions appreciated!

Phil


 # mount

 /dev/amrd0s2a on / (ufs, local)
 /dev/amrd0s2f on /obj (ufs, local, soft-updates)
 /dev/amrd0s2g on /usr (ufs, local, soft-updates)
 /dev/amrd0s2e on /var (ufs, local, soft-updates)
 procfs on /proc (procfs, local)


 # df
 Filesystem1K-blocks   Used   Avail Capacity  Mounted on
 /dev/amrd0s2a201518  46714  13868425%/
 /dev/amrd0s2f   1032142 385096  56447641%/obj
 /dev/amrd0s2g   5864592 956586 443884018%/usr
 /dev/amrd0s2e   1032142   3398  946174 0%/var
 procfs4  4   0   100%/proc


 # cat /etc/fstab

 # See the fstab(5) manual page for important information on automatic mounts
 # of network filesystems before modifying this file.
 #
 # DeviceMountpoint  FStype  Options DumpPass#
 /dev/amrd0s2b   noneswapsw  0   0
 /dev/amrd0s2a   

Re: help with ln linking Please! [attn manpage authors!]

2002-10-09 Thread Oliver Fromme

Gary W. Swearingen [EMAIL PROTECTED] wrote:
  ln [-fhinsv] linked_filename [link_filename]
  ln [-fhinsv] linked_filename ... dir_filename
  link existing_filename alternate_filename
  
  This is cleaner, but I think filename should be standard in filenames.

But it is not a filename.

   True.  /etc/malloc.conf is a nice example of cases that this holds
   true, and the 'source' doesn't have to be a real file, or exist at all
   for that matter.
  
  Yuck; malloc.conf is nasty.

No, it's extremely useful and efficient.  There should be
more software using symlinks like that.  (BTW, Netscape
does it for its lockfile, too, even though efficiency isn't
much of an issue in that case.)

Also, symlinks are an easy way to atomically check and create
lockfiles in shell scripts.

Regards
   Oliver

-- 
Oliver Fromme, secnetix GmbH  Co KG, Oettingenstr. 2, 80538 München
Any opinions expressed in this message may be personal to the author
and may not necessarily reflect the opinions of secnetix in any way.

All that we see or seem is just a dream within a dream (E. A. Poe)

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: ssh write failed

2002-10-09 Thread Paulius Bulotas

On 02 10 08, Matthew Seaman wrote:
 On Tue, Oct 08, 2002 at 09:39:48AM -0700, Michelle Weeks wrote:
  Oct  8 10:35:16 louie sshd[18801]: fatal: Write failed: Permission denied
  Oct  8 10:35:16 louie sshd[18801]: fatal: Write failed: Permission denied

 ipfw, probably.  Sounds like a dynamic rule is timing out in the

He could use this patch for ssh client (heartbeat feature):
http://www.sc.isc.tohoku.ac.jp/~hgot/sources/openssh-watchdog.html
and set Heartbeat 120 or smth (default dynamic rule timeout is 5
minutes?)

The bad thing for me, I'm using ipfw with static rules, but still often
get fatal write failure ;) Maybe that's physical link problems...

Paulius

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: help with ln linking Please! [attn manpage authors!]

2002-10-09 Thread Adam Weinberger

 (10.09.2002 @ 0209 PST): Oliver Fromme said, in 1.2K: 
 Gary W. Swearingen [EMAIL PROTECTED] wrote:
   ln [-fhinsv] linked_filename [link_filename]
   ln [-fhinsv] linked_filename ... dir_filename
   link existing_filename alternate_filename

linked should be avoided. this is the exact problem the current
documentation has. linked from? linked too?

i'd explain it like this: i'd give the synopsis, then an immediate
example. i'd LOVE to see a quick sample USEFUL and most common
invocation of a short command right there in the synopsis section. i
think many such utilities' manpages should do that.

ln [-b0rk] link_to [link_from]

% ln file link makes a link FROM link TO file.

-Adam


--
Oh good, my dog found the chainsaw.
-Lilo, Lilo  Stitch
Adam Weinberger
[EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Regarding Upgrade

2002-10-09 Thread Roman Neuhauser

# [EMAIL PROTECTED] / 2002-10-09 00:46:22 -0500:
 On Wed, Oct 09, 2002 at 12:24:00AM -0400, Matt Garcia wrote:
  I finished doing an upgrade for freebsd from
  4.5-stable to 4.7RC.  I had a question regarding the
  mergemaster.  After everything is done when running
  the mergemaster everything on the LEFT side is new and
  everything on the right side is old or is it vice
  versa ? i forgot which is which.
 
 Heh, I used to have to go to the man page, or a book I had every time.

Strange. I never had this problem. It's obvious for files that have
local mods, because, well, you modified them (/etc/passwd...), and
irrelevant in case of files w/o any local mods, because then you can
just install the new version. Without the need to know which side
of the screen the new file is at.

-- 
begin 666 nonexistent.vbs
FreeBSD 4.7-RC
11:41AM up 21 days, 18:55, 14 users, load averages: 0.13, 0.15, 0.10
end

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



faxserver

2002-10-09 Thread root01

hi!

i´m looking for a fax server. i´ve installed hylafax and i think it´s working well, 
but my boss asks for alternatives... can somebody give me a hint?

eyl

matthias


Any luck building open office from ports ?

2002-10-09 Thread atk2


I'm trying to build openoffice from the ports and after many iterations tis
is the final result (any suggestions?):

uname -a
FreeBSD pc1.local.net 4.5-STABLE FreeBSD 4.5-STABLE #0

(Actually my port system was cvsupdated last week).



---
Building project MathMLDTD
=
deliver -- version: 1.17.4.1
Statistics:
Files copied: 0
Files unchanged/not matching: 6

=
Building project nas
=
/f/ports/editors/openoffice/work/oo_1.0.1_src/nas
-
mkdir ./unxfbsd.pro/misc/build/nas-1.4.1/
mkdir: ./unxfbsd.pro/misc/build/nas-1.4.1/: File exists
cd ./unxfbsd.pro/misc/build/nas-1.4.1/  make World   touch so_built

Building Network Audio System sample implementation

Wed Oct  9 04:23:20 EDT 2002

xargs: illegal option -- p
usage: xargs [-0t] [-J replstr] [-n number [-x]] [-s size]
   [utility [argument ...]]
*** Error code 1

Stop in /f/ports/editors/openoffice/work/oo_1.0.1_src/nas/unxfbsd.pro/misc/build
/nas-1.4.1.
dmake:  Error code 1, while making './unxfbsd.pro/misc/build/so_built'
---* TG_SLO.MK *---

ERROR: Error 65280 occurred while making 
/f/ports/editors/openoffice/work/oo_1.0.1_src/nas
dmake:  Error code 1, while making 'build_all'
---* TG_SLO.MK *---
*** Error code 255

Stop in /f/ports/editors/openoffice.
---

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Openoffice problem runing as normal user

2002-10-09 Thread thrawn

Hi,

Im having som problems with Openoffice. I have compiled it from ports and that is not 
any problem. I have installed it and runed it as root with out any problem. I by 
installing it I mean runing openoffice-setup. Make install also works fine offcourse. 
And I have runed it as root and there is no problem.

How ever when i try to run make install-user/openoffice-setup the installation program 
lanuches and it works just fine. But I can't see any text or pictures in the run setup 
program. The window's pops up but there is nothing in them. And i can't do anything 
because I have to guess what it says to me. 

Are there anybody that have the same problem or have any solution on this problem? I 
don't think this will help if I install it as a package or? I don't have any idea what 
kind of problem this might be. But could It be some kind of permission problem?

Any way thanks for an answer.

Mvh Mattias Björk

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: pkdb -F

2002-10-09 Thread Joshua

On or about Tue, Oct 08, 2002 at 02:31:10PM +0100, James Green scrawled...
 Hi all,
 
 I keep cvsup'ing ports, then running pkgdb -F, and getting lines like:
 
 Checking the origin of kdebase-2.2.2_2
 Stale origin: 'x11/kdebase2': perhaps moved or obsoleted.
 Skip this for now? [yes]
 To skip it without asking in future, please list it in HOLD_PKGS.
 Checking the origin of kdelibs-2.2.2_3
 Stale origin: 'x11/kdelibs2': perhaps moved or obsoleted.
 Skip this for now? [yes]
 To skip it without asking in future, please list it in HOLD_PKGS.
 
 
 Just precisely what magic am I assumed to know in this respect?

%ls /usr/ports/x11 | grep kde
kde3
kdebase3
kdelibs3

I think it's gone.

Joshua
-- 
Answers to Last Fortune's Questions:




msg04470/pgp0.pgp
Description: PGP signature


VPN Tunneling

2002-10-09 Thread Ivailo Tanusheff

Hello,

I'm trying to make a VPN tunnel between a FreeBSD machine and a Win2K
Machine. My configuration is:

{Net1} --- FreeBSD --...-- Win2K --- {Net2}

Win2k machine has dynamically assigned IP address as it's connecting to
public ISP. Can you help me build the tunnel?

Regards,
Ivailo Tanusheff



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: VPN Tunneling

2002-10-09 Thread Peter Pentchev

On Wed, Oct 09, 2002 at 01:49:51PM +0300, Ivailo Tanusheff wrote:
 Hello,
 
 I'm trying to make a VPN tunnel between a FreeBSD machine and a Win2K
 Machine. My configuration is:
 
 {Net1} --- FreeBSD --...-- Win2K --- {Net2}
 
 Win2k machine has dynamically assigned IP address as it's connecting to
 public ISP. Can you help me build the tunnel?

Take a look at the net/mpd port; it needs Netgraph either built into the
kernel, or loaded as a KLD.  Then, on the Win2K side, use the PPTP VPN
connections ('Connect to a private network through the Internet').
Things are *very* easy to set up, actually :)

Drop me a private mail if you need some help, or we just might meet on
IRC :)

G'luck,
Peter

-- 
Peter Pentchev  [EMAIL PROTECTED][EMAIL PROTECTED]
PGP key:http://people.FreeBSD.org/~roam/roam.key.asc
Key fingerprint FDBA FD79 C26F 3C51 C95E  DF9E ED18 B68D 1619 4553
This sentence contains exactly threee erors.



msg04472/pgp0.pgp
Description: PGP signature


Re: Dual-Homed

2002-10-09 Thread Steven King

I have tried setting up a static_route in rc.conf for iface2 but no joy 
there.. And I agree that it sounds like a routing/default gateway 
problem but I cant seem to figure out how to fix it.. I'm thinking that 
the dhcp is setting up a default gateway for both interfaces instead of 
setting it up for just iface1 and when I try to reach the internet from 
iface2 it tries to go out iface1.. small example:

traceroute -s iface2 to router off hub2 (same subnet as iface2) - No problem
traceroute -s iface2 to internet site - broken.. doesn't even reach the 
router nor do I see the hub lights blink.

Not sure how I can tell the DHCP to just load the default gateway for 
iface1 and not iface2 and let me set that manually in rc.conf..

I can access the internet on both sides when they are setup seperatly.. 
I can also access the internet through iface1 when both are set up at 
the same time.. just not iface2..

and your third question.. I want to be able to access the internet 
through both interfaces plus be able to get to the machine through both 
interfaces..

Hope I'm not confusing things more..



James Earl wrote:

You show a Router after Hub2.  Have you tried setting up a route to get 
past it?  If you can only see the machines on the same subnet as interface2 
then initially it sounds like a routing problem.

Can you access the internet through each interface when they're setup 
separately?

You mentioned you have to use interface2 for a web server, mail and dns.  
Are you wanting to only provide connections in through interface2 to your 
FreeBSD machine, or are you trying to use both internet connections from one 
FreeBSD machine?


Quoting Steven King [EMAIL PROTECTED]:

  

Well I want to treat interface1 as my primary route for most things 
(cvsup, lynx, etc, etc..).. and treat  interface2 as if it was an 
alias'ed IP.. But for some reason when I boot up with rc.conf like the 
way I have it below, you can not reach interface2 from the internet nor 
can you reach the internet from interface2.. I can only get to other 
machines that are on the same subnet as interface2..


James Earl wrote:



I'm not sure if I totally understand... I'm trying.  Perhaps you want your
  

FreeBSD machine to be a bridge, not a gateway?


On Tue, 08 Oct 2002 17:02:37 -0400
Steven King [EMAIL PROTECTED] wrote:

 

  

I need help trying to get my FreeBSD machine dual-homed. I will try to 
explain the situation as best as possible..

Interface1 - hub1 - Cable Modem (DHCP) - Internet
Interface2 - hub2 - Router - Frame Relay - Internet

I am trying to use Interface1 for cvsup's and things like that (frame is 
only 56k) . I have to use Interface2 for web server, mail and dns..

When I set up /etc/rc.conf this way it loads up the interfaces no 
problem and the cable modem interface works fine but on the interface2 
side I cannot get to the internet nor can anyone get to it from that 
side. I can ping the boxes on the local subnet but thats it.



from rc.conf:
  

network_interfaces=rl0 de0 lo0
defaultrouter=NO
ifconfig_rl0=DHCP
ifconfig_de0=inet interface2 IP netmask 255.255.255.0

I cannot figure out what else is needed to fix this.. I have tried 
static_routes, gateway_enable, forward_sourceroute in rc.conf and 
net.inet.ip.forwarding=1 in sysctl.conf.. I have tried several different 
netmasks for interface2 thinking that was the problem but that dont do 
anything.. messed with defaultrouter and everything I can think of.. All 
of the examples I have seen on the web and searching through the mailing 
list are of using the FBSD box as a gateway for an internal network to 
go out through the FBSD box onto the internet.

Any help would be appreciated..

Thank you




To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message
   



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


 

  











  





To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



RE: WINS service over a Point to Point link. (Problem Solved)

2002-10-09 Thread Aaron Burke

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Aaron Burke
 Sent: Sunday, September 29, 2002 04:27 PM
 To: [EMAIL PROTECTED]
 Subject: WINS service over a Point to Point link.
 
 
 Hello List,
   I have a question about how I can get WINS to run over a
 PLIP link. The service does run fine over my two ethernet networks.
 However, when WINS (run via Samba) tries to determine if there is
 WINS service running on the lp0 (Parrallel Point-to-Point
 connection) it fails on the broadcast. There is no 192.168.2.255
 broadcast address available to send packets to.
 
   I am under the assumption that because there is no way to
 determine if a WINS server is allready running on that interface.
 Because no WINS server can be contacted, WINS is forced to fail
 to announce that it becomes the WINS server on that interface.
 
   Is there any way to add a reference to bravo (192.168.2.2)
 to the WINS tables?

Seems that there was using the remote announce tag.

On the server I used remote announce = 192.168.2.2 in the
[global] section of the smb.conf file. I am aware that this may not
be what made the difference

And on the workstation (also a bsd box) I added
remote announce = 192.168.2.1 and wins server = 192.168.2.1
in the [global] section of the smb.conf file.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: High interrupt load on firewalls

2002-10-09 Thread Andy Walden


On Wed, 9 Oct 2002, Christopher Smith wrote:

 We have two firewalls sitting on gigabit links.  Each has 2 Netgear GA620
 (ti driver) fibre cards with about 7 vlans spread across them.  Both these
 machines run at *very* high interrupt loads (95 - 100% during business hours
 (mostly 100%), 80 - 90 % during off hours).  They are 1GHz P3 machines (Dell
 1550s) with 256MB of RAM.  They're actually dual machines, but enabling the
 second CPU doesn't help in terms of load, it just halves the numbers top
 reports.

 What hardware are other people using to firewall high-volume gigabit
 links ?

Sometime you need to get the right tool for the job. When the CPU is
processing every packet, the CPU will always be a bottleneck. To solve
this problem people starting putting the logic in hardware and creating
ASICs, which are only limited by the speed of the wire. I believe
Netscreen puts their firewall functionalty in ASICs and supports Gig
interfaces.

andy

--
PGP Key Available at http://www.tigerteam.net/andy/pgp


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: make world script

2002-10-09 Thread Giorgos Keramidas

On 2002-10-08 22:16, Lowell Gilbert [EMAIL PROTECTED] wrote:
 Giorgos Keramidas [EMAIL PROTECTED] writes:
  You could also hack something around the make release target, if you

 make update is specifically for this purpose, actually.

No, make update will run cvsup to update the source tree.  It isn't
similar to make release.  Reading through /usr/src/Makefile.inc1
shows exactly what make update runs.  No build commands in there.
Unless you mean something different which I missed.

PS: Please when replying to posts keep my address in, since I might
otherwise miss the reply in the daily flood of incoming messages.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Openoffice problem runing as normal user

2002-10-09 Thread Martin Blapp


Hi,

Have you used some special make flags like march=pentium4 in your
/etc/make.conf ? There is a bug related to these flags which does
make OpenOffice unusable (libm problem, not OpenOffice problem).

What system do you have ? OS-Version etc ?

Martin

Martin Blapp, [EMAIL PROTECTED] [EMAIL PROTECTED]
--
ImproWare AG, UNIXSP  ISP, Zurlindenstrasse 29, 4133 Pratteln, CH
Phone: +41 061 826 93 00: +41 61 826 93 01
PGP: finger -l [EMAIL PROTECTED]
PGP Fingerprint: B434 53FC C87C FE7B 0A18 B84C 8686 EF22 D300 551E
--


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Any luck building open office from ports ?

2002-10-09 Thread Martin Blapp


Hi,

FreeBSD 4.5 has many bugs. I don't support build on that version
anymore.

Please upgrade to FreeBSD 4.7 (System and ports tree)

Martin

Martin Blapp, [EMAIL PROTECTED] [EMAIL PROTECTED]
--
ImproWare AG, UNIXSP  ISP, Zurlindenstrasse 29, 4133 Pratteln, CH
Phone: +41 061 826 93 00: +41 61 826 93 01
PGP: finger -l [EMAIL PROTECTED]
PGP Fingerprint: B434 53FC C87C FE7B 0A18 B84C 8686 EF22 D300 551E
--


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: make world script

2002-10-09 Thread Lowell Gilbert

Giorgos Keramidas [EMAIL PROTECTED] writes:

 On 2002-10-08 22:16, Lowell Gilbert [EMAIL PROTECTED] 
wrote:
  Giorgos Keramidas [EMAIL PROTECTED] writes:
   You could also hack something around the make release target, if you
 
  make update is specifically for this purpose, actually.
 
 No, make update will run cvsup to update the source tree.  It isn't
 similar to make release.  Reading through /usr/src/Makefile.inc1
 shows exactly what make update runs.  No build commands in there.
 Unless you mean something different which I missed.

I was a little brief; sorry about that.  The original poster wanted to
update his whole system in one shot.  make release isn't really
intended for that, although it does build everything.  It does a fair
amount of extra work too, although if the original poster is leaving the
machine alone while its chugs through the build procedure, that probably
isn't very important.  For those purposes, your 'hack something around
make release' approach is fairly similar to make update world.  [If
the intent was to use the built release to install on a *different*
machine, that would obviously require make release, but I don't see
any messages indicating that was a goal in this case.]

It's important to reiterate for the sake of newcomers that both
approaches (any unattended approach, in fact) have the same shortcoming;
they don't update /etc or /dev.  The majority of the time, this can be
done after the the upgrade, but sometimes it will leave the system
unusable.  The one-shot upgrade, as requested by the original poster, is
neither supported nor recommended, although lots of people understand and
are willing to take the risk.

 - Lowell

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Puzzling Simple NATD and IPFW Problem

2002-10-09 Thread sonam singh

 assigned, use the command pfctl -sr 

6.3 - NAT


Note: Packet Filter is the filtering system in  If you
are looking for the IPF/IPNAT FAQ for  before, click
here.

6.3.1 NAT Introduction
Based on RFC 1631, NAT provides an easy way to map
internal networks to a single routeable (real)
internet address. This is very useful if you don't
have officially assigned addresses for every host on
your internal network. When you set up
private/internal networks, you can take advantage of
reserved address blocks (assigned in RFC 1918), such
as: 

10.0.0.0/8 (10.0.0.0 - 10.255.255.255)
172.16.0.0/12 (172.16.0.0 - 172.31.255.255)
192.168.0.0/16 (192.168.0.0 - 192.168.255.255)


The user is assumed to have already set up and
configured an BSD machine with two network cards (one
connected to the Internet and the other to the local
network). 


Configuration 
For the purpose of example, we will use the system
described below. Your setup will almost certainly vary
from this, so be very careful in typing anything you
see here literally into your system and expecting it
to work as you desire. 

NICs: 
Intel EtherExpress Pro/100 fxp0
Connected to the EXTERNAL LAN (or WAN)
IP Address: 24.5.0.5
Netmask: 255.255.255.0

Compaq Netelligent 10/100Mb tl0
Connected to the INTERNAL LAN
IP Address: 192.168.1.1
Netmask: 255.255.255.0


External, Internet-routeable IP (provided by ISP, in
this example, a cable modem provider)

IP Address: 24.5.0.5
Netmask: 255.255.255.0
Gateway: 24.5.0.1


Local Area Network

In this example environment, machines on the internal
network use the IP addressing scheme 192.168.1.xxx
(where xxx is a unique number). There could be a
variety of different operating systems on the internal
network, such as Windows 98, Windows NT, FreeBSD and
Linux, but the client OS is not an issue for NAT. For
the examples, the client we will look at on the
internal network will be assumed to have an IP address
of 192.168.1.40. 

Diagram of Configuration 
+-+  +-+  +--+
| Hub |- tl0 |   NAT   | fxp0 | Internet |
+-+  +-+  +--+
| |
| +-- Client A
+ More clients 

  +--+
  |  LEGEND  |
  +--+
  |  NIC fxp0 - 24.5.0.5 |
  |  NIC tl0  - 192.168.1.1  |
  | Client A  - 192.168.1.35 |
  +--+




6.3.2 Network Address Translation

Introduction to NAT 
Each node on the Internet requires a unique IP
address. At least with IPv4, there is a very finite
number of distinct IP addresses available, and as a
result, they are not free. Most low-cost ISPs will
limit a site to anywhere from 1 to 30 addresses, and
while larger budget organizations may be able to
afford a larger block, in most cases, there are
relatively few benefits and considerable risks to
having each computer individually addressable on the
Internet. 

Network Address Translation, or NAT, (also known as
IP Masquerading if you are coming from a Linux
background) allows multiple computers to be located
behind one (or a small number of) IP address. Each
internal computer has a locally assigned,
unregistered IP address (per RFC 1918), and all
utilize the same external IP address, simultaneously. 

The way NAT works is rather simple. When a client on
the LAN wants to connect to a machine on the Internet,
it sends out a TCP packet with a request to connect.
Inside the TCP packet header is the client's IP
address (e.g. 192.168.1.40) and the requested host's
IP address (e.g. 123.45.67.89). The machine running
NAT intercepts this TCP packet and changes the
client's IP address from 192.168.1.40 to the IP
address of the Internet-connected machine (e.g.
24.5.0.5). This effectively tricks the host machine
into thinking the actual connection is from the NAT
machine, not the actual client's machine. The host
then sends back responses to the NAT machine like it
was the one connecting. When the NAT machine receives
the responses it quickly translates the destination IP
address back from itself to the client's machine and
sends the packet to the client. The client normally
does not have any idea what happened and the apparent
Internet connectivity is transparent to the user and
user's applications. 

The example below shows NAT a little more clearly: 

Client - tl0 [ NAT ] fxp0 --
Internet Host
192.168.1.35 --- 192.168.1.1 [ NAT ] 24.5.0.5 ---
123.45.67.89

OUTGOING TCP Packet OUTGOING TCP
Packet
From: 192.168.1.35  === NAT === From: 24.5.0.5
To: 123.45.67.89To:
123.45.67.89

INCOMING TCP Packet INCOMING TCP
Packet
From: 123.45.67.89  From: 123.45.67.89
To:   192.168.1.40  === NAT === To: 24.5.0.5


Why use NAT? 
When presented with a cable modem in my new 

Re: Any luck building open office from ports ?

2002-10-09 Thread Ulrich 'Q' Spoerlein

On 9 Oct 2002 08:47:36 -, you wrote:

I'm trying to build openoffice from the ports and after many iterations tis
is the final result (any suggestions?):

uname -a
FreeBSD pc1.local.net 4.5-STABLE FreeBSD 4.5-STABLE #0
[...]
xargs: illegal option -- p
usage: xargs [-0t] [-J replstr] [-n number [-x]] [-s size]
   [utility [argument ...]]
*** Error code 1

i'm running 4.7 here, and my version of xargs has a -p option. perhaps
your version is too old (check the man page). you should update to 4.7.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



How to configure refclock-0 with MAKEDEV ?

2002-10-09 Thread Frank Bonnet

Hi

I have a DCF77 gude receiver 
I run ntpd with RAWDCF 

I looked into MAKEDEV script with mention refclock-* statement
but I cannot generate such device file with MAKEDEV.

Does someone could give me the exact syntax to generate such
device file ?

Thanks
-- 
Frank Bonnet 

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



At wits end with tekram

2002-10-09 Thread Stephen Hovey


I have a 390u2w that randomly crashes a heavy load server - it has a mix
of scsi-2 on 1 bus, and 1 large lvd on the other.

I put in the driver from the tekram site, and it helped (the default ncr0
crashed quick and often).. but it still crashes.

I disabled tagged queueing - no difference.  So Im about done with it.

Anyone else using this tekram card that would have any tips?

Failing this - is adaptec 29160 cards supported under fbsd 3.2?


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: How to configure refclock-0 with MAKEDEV ?

2002-10-09 Thread Andre Albsmeier

On Wed, 09-Oct-2002 at 15:51:43 +0200, Frank Bonnet wrote:
 Hi
 
 I have a DCF77 gude receiver 
 I run ntpd with RAWDCF 
 
 I looked into MAKEDEV script with mention refclock-* statement
 but I cannot generate such device file with MAKEDEV.
 
 Does someone could give me the exact syntax to generate such
 device file ?

Since I assume that your DCF receiver is attached to a serial
port on your machine (mine is), I would do a

cd /dev; ln -s cuaax refclock-0

where x corresponds to the number of your serial port and
assuming the cuaax device is already in there.

-Andre

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



22:18:53 - ¢Íú¡Ç¹ mail ¢Í§¤Ø³ ªèÇ·ÓẺÊͺ¶ÒÁ ¢Íº¤Ø³ÁÒ¡¤èÐ - 22:18:53

2002-10-09 Thread MZ00080315

¨Ò¡ÃÒ¡ÒÃàÁ×ͧä·ÂÇѹ¹Õé ·ÓãË龺ÇèÒ ÁÕ¤¹·ÕèÁջѭËÒà¡ÕèÂǡѺ¡ÒÃÊØ¢ÀÒ¾à»ç¹¨Ó¹Ç¹ÁÒ¡
ẺÊͺ¶ÒÁ¹ÕéÍÒ¨ªèǤسä´é áµè¶éҤسà»ç¹¤¹·ÕèÁÕÊØ¢ÀÒ¾´ÕÍÂÙèáÅéÇ 
¡çäÁè¨Óà»ç¹µéͧµÍºáººÊͺ¶ÒÁ¤èÐ
ẺÊͺ¶ÒÁ¡ÒôÙáÅÊØ¢ÀÒ¾ áÅÐäÅ¿ìÊäµÅì
1. »Ñ­ËÒÊØ¢ÀÒ¾¢Í§¤Ø³¤×Í  /¹éÓ˹ѡÁÒ¡ µéͧ¡ÒÃÅ´ ...¡ÔâÅ/ ¤ÇÒÁ´Ñ¹ÊÙ§-µèÓ / àºÒËÇÒ¹ / 
¤ÅÍàÃÊàµÍÃÍÅ -
ä¤Ã¡ÃÕà«ÍÃìäÅ¹ì  / Í×è¹ æ
.
2.  ã¹áµèÅÐÇѹ¤Ø³ÃѺ»Ãзҹ¤Ãº 3 Á×éÍËÃ×ÍäÁè  / ãªè   /  äÁè   ..Á×éÍ / 
Çѹ
3.  ¤èÒÍÒËÒÃáµèÅÐÁ×éÍ·Õè¤Ø³ÃѺ»Ãзҹ»ÃÐÁÒ³ÃÒ¤ÒÁ×éÍÅСÕèºÒ· / 20-25 ºÒ· / 30-40 / 50-60 
/ ÁÒ¡¡ÇèÒ 60 
.
4.  »Ñ¨¨ØºÑ¹¤Ø³´ÙáÅÊØ¢ÀÒ¾ÍÂèÒ§äà / ÍÍ¡¡ÓÅѧ¡ÒÂÊÁèÓàÊÁÍ  / äÁèãÊèã¨ã¹¡ÒôÙáÅÊØ¢ÀÒ¾ / 
·Ò¹ÍÒËÒÃàÊÃÔÁÂÕèËéÍ
 / Í×è¹ æ 
.
5.  ¤Ø³à¤Â¤Çº¤ØÁ¹éÓ˹ѡÁÒ¡è͹ËÃ×ÍäÁè   /  à¤Â (ä´é¼Å-äÁèä´é¼Å)   /  äÁèà¤Â
.
6.  ¤Ø³¨ÃÔ§¨Ñ§¡Ñº¡Ò÷Õè¨ÐÁÕÃÙ»ÃèÒ§ áÅÐÊØ¢ÀÒ¾·Õè´ÕËÃ×ÍäÁè /  ¨ÃÔ§¨Ñ§/  
äÁè¨ÃÔ§¨Ñ§


ÊÓËÃѺ¼Ùé·Õè¨ÃÔ§¨Ñ§·Õè¨ÐÁÕÃÙ»ÃèÒ§ áÅÐÊØ¢ÀÒ¾·Õè´Õ àÃÒ¢Íá¹Ð¹Ó
¼ÅÔµÀѳ±ìâ»Ãá¡ÃÁÍÒËÒÃÊÙµÃÊÁ´ØÅÂì¨Ò¡ÊÁعä¾Ã¸ÃÃÁªÒµÔ  ªèÇÂá¡é»Ñ­ËÒ¹éÓ˹ѡ ÊÑ´Êèǹ 
áÅÐÊØ¢ÀÒ¾ ·Õèµé¹à赯 ÍØ´Á´éÇÂÊÒÃÍÒËÒúÃÔÊØ·¸Ôì¤Ãº 5 ËÁÙè ·Ò¹á·¹Á×éÍÍÒËÒû¡µÔ 1 - 2 
Á×é͵èÍÇѹ ä´éÃѺ¡ÒÃÃѺÃͧ¨Ò¡ ÍÂ. 54 »ÃÐà·È äÁèãªèÂÒÅ´¹éÓ˹ѡ äÁèµéͧʹÍÒËÒà 
äÁèÁռŢéÒ§à¤Õ§ ÃѺ»ÃСѹ¤ÇÒÁ¾Íã¨ÀÒÂã¹ 1 à´×͹ ´éÇÂÃкº¤×¹à§Ô¹ 100% 
¤Ø³Ê¹ã¨·Õè¨Ð·ÃÒº¢éÍÁÙÅà¡ÕèÂǡѺâ»Ãá¡ÃÁâÀª¹Ò¡ÒôÙáÅÃÙ»ÃèÒ§ áÅÐÊØ¢ÀÒ¾ËÃ×ÍäÁè / 
ʹ㨠/ äÁèʹã¨

.

¡Ã³Õ·Õèʹ㨠àÃÒ¨ÐÁÕà¨éÒ˹éÒ·ÕèµÔ´µèÍ¡ÅѺä»ËҤسÀÒÂã¹ 48 ªÁ. 
à¾×èÍãËéÃÒÂÅÐàÍÕ´áÅШѴÊè§àÍ¡ÊÒÿÃÕ

ª×èÍ-¹ÒÁÊ¡ØÅ ...ÍÒªÕ¾ 
...
ÍÒÂØ ..  ÊèǹÊÙ§ ...¹éÓ˹ѡ 
...
â·ÃÈѾ·ì .  àÇÅÒ·ÕèÊдǡ㹡ÒõԴµèÍ .
·ÕèÍÂÙè ·Õè¨ÐãËé¨Ñ´Êè§àÍ¡ÊÒÃãËé¿ÃÕ  


Please unsubscribe sent mail to [EMAIL PROTECTED]




Ping to broadcast ok from subnet, not ok otherwise

2002-10-09 Thread TheGlenMann

Hi all-

(Is this list working right? - I'm getting lots of wierd stuff in the
digests...but anyway...)

Other attempts to find the answer to this have failed, hopefully this
isn't too off-topic.

We have several subnets connected via Frame Relay. Call them 10.10.1,
10.10.2, 10.10.3, etc. On each, the gateway is the 254 address, e.g.,
10.10.1.254.

Sitting at a 10.10.1.n machine, I can ping the gateway 10.10.x.254 on
every subnet. However, a ping to the broadcast address as
  ping -c1 10.10.x.255
fails on some of the subnets (from outside that subnet). From within the
subnet, the ping to the broadcast succeeds everywhere. Pings to known
hosts (and 10.10.x.254) succeed always from everywhere.

So, my question is, why would I be able to successfully ping to the
broadcast address from within a subnet but not from outside the subnet,
but only in certain cases? We have a mix of windows, FreeBSD, router, and
other machines on each subnet. (I'm led to ask all this since where the
broadcast doesn't work from outside the subnet, neither does DHCP, which
is proving to be a real problem!)

Thanks
-Glen Mann

--
I may not have had enough of me, but I've had enough of you.
Robert Fripp, Exposure
--



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



ISO CDROM Image for Freebsd4.7

2002-10-09 Thread Martin McCormick

After looking through the FreeBSD web site, I am not sure
if there is not presently an ISO image for a new 4.7 CDROM or if
I just missed it?

I am installing a brand new system from a 4.4 CDROM which
I burned from an image so this method works well here.

Due to the number of security changes between 4.4 and
4.7, however, the old routine of cvsup make buildworld make
installworld isn't as quick and painless as I thought it might
be.

Make buildworld is okay, but after that, one must do
enough stuff to enough things by hand to make me think it is time
for a new CDROM since most of the changes are meant to keep the
spooks out of our new systems.

I did see a cdrom.inf link on the ftp mirror I was on,
but it simply had a one-line ID for what the disk should be.

Is there an ISO image for 4.7 yet?  Where do I get it?

Thanks.

Martin McCormick WB5AGZ  Stillwater, OK 
OSU Center for Computing and Information Services Network Operations Group

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: ISO CDROM Image for Freebsd4.7

2002-10-09 Thread Matthew Emmerton

- Original Message -
From: Martin McCormick [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, October 09, 2002 11:08 AM
Subject: ISO CDROM Image for Freebsd4.7


 After looking through the FreeBSD web site, I am not sure
 if there is not presently an ISO image for a new 4.7 CDROM or if
 I just missed it?

4.7 has yet to be officially released, but should be in a very short while.
When it is released, ISO images will be available.

--
Matt Emmerton


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



NICs

2002-10-09 Thread Nuno Pimenta

Hi!

I need to find the best Fast Ethernet and ISDN PCI cards for FreeBSD.
Can you help me making the decisions?

Thanks!
Nuno Pimenta.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: faxserver

2002-10-09 Thread James Earl

mgetty+sendfax

We use HylaFAX here at our office, and have had great success.  Initially we had 
problems with reliability because of the modem we were using.  We changed to a 
different modem (Multitech MT1932ZDX) and we rairly see dropped connections.

Good luck.

On Wed, 9 Oct 2002 11:56:42 +0200
root01 [EMAIL PROTECTED] wrote:

 hi!
 
 i´m looking for a fax server. i´ve installed hylafax and i think it´s working well, 
but my boss asks for alternatives... can somebody give me a hint?
 
 eyl
 
 matthias

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Can't Install

2002-10-09 Thread golubski, greg

Hi,

I am trying to install 4.6.2.  I get to the conflicts screen and resolve
them.  I press Q to quit and save.  Then I press Y.  Probing starts and
conpletes and then it reboots.  I never get to the sysinstall screen.  It's
just stuck in an infinite loop.  What's going on?

Thanks,
-Greg

Greg Golubski
Principal Design Engineer
EMC²
where information lives

Phone: (970) 635-0674
Email: [EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Ping to broadcast ok from subnet, not ok otherwise

2002-10-09 Thread Nick Rogness

On Wed, 9 Oct 2002, TheGlenMann wrote:

 Hi all-

 (Is this list working right? - I'm getting lots of wierd stuff in the
 digests...but anyway...)

 Other attempts to find the answer to this have failed, hopefully this
 isn't too off-topic.

 We have several subnets connected via Frame Relay. Call them 10.10.1,
 10.10.2, 10.10.3, etc. On each, the gateway is the 254 address, e.g.,
 10.10.1.254.

 Sitting at a 10.10.1.n machine, I can ping the gateway 10.10.x.254 on
 every subnet. However, a ping to the broadcast address as
   ping -c1 10.10.x.255
 fails on some of the subnets (from outside that subnet). From within the
 subnet, the ping to the broadcast succeeds everywhere. Pings to known
 hosts (and 10.10.x.254) succeed always from everywhere.

 So, my question is, why would I be able to successfully ping to the
 broadcast address from within a subnet but not from outside the subnet,
 but only in certain cases? We have a mix of windows, FreeBSD, router,
 and other machines on each subnet. (I'm led to ask all this since where
 the broadcast doesn't work from outside the subnet, neither does DHCP,
 which is proving to be a real problem!)

Do you have Cisco routers connecting your frame's together?



Nick Rogness [EMAIL PROTECTED]
- WARNING TO ALL PERSONNEL:
   Firings will continue until morale improves.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



RE: chkrootkit help

2002-10-09 Thread Riley

Greetings,

I'd like to thank all who replied, the advice and suggestions were valuable
and appreciated, not to mention timely!

It looks like it was a false positive.  I ran netstat from cd, new
chkrootkit compiled on a clean machine, and nmap remotely.  It also made
sense to mount / (-ro) from a clean machine and do a diff -r /bin /mnt/bin.
There doesn't seem to be a security breach.  I'll rebuild the machine anyway
soon.

There's a know issue with chkrootkit reporting false positives running
programs that use bindshell's ports.  Although these aren't running on this
machine (an _up-to-date_ DNS/mail server), it was in an unstable state for
known reasons.  An nmap from a remote machine of the entire network directed
at the firewall showed nothing abnormal.

I'm going to rebuild it anyway, but wanted to followup.  Also, if the above
is misguided, please advise!

Again, thanks,

Riley


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Mike Hoskins
 Sent: Monday, October 07, 2002 2:11 PM
 To: Anthony Schneider
 Cc: Riley; FreeBSD Security
 Subject: Re: chkrootkit help


 On Mon, 7 Oct 2002, Anthony Schneider wrote:
   You could try using a trusted sockstat binary to verify
 what's listening
   on the local system.
   % sockstat -4l
  quick aside: sockstat is a perl script, unless this changed with
  4.6.2.

 Eww, I hadn't noticed.  Good point, stick to a safe netsat from cdrom,
 etc.


 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-security in the body of the message


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Kernel log message

2002-10-09 Thread William Wallace


Could someone explain to me what the following log message means:

disco.wwallace.net kernel log messages:
 arp: 192.168.100.2 moved from 00:20:78:0d:5a:7f to 00:00:78:0d:5a:7f on
de0
 Oct  5 08:03:57 disco /kernel: arp: 192.168.100.2 moved from
00:20:78:0d:5a:7f to 00:00:78:0d:5a:7f on de0

The machine in question (192.168.100.2) is a Windows 2000 machine that has
had the same NIC for years.  Also, only one of the digits in the MAC address
seems to have changed.  What could cause this?

Thanks,
- William.



attachment: winmail.dat

Re: sendmail mail temp file limit

2002-10-09 Thread Glenn Johnson

On Wed, Oct 09, 2002 at 11:19:04AM -0500, Glenn Johnson wrote:

 I run rsync nightly via periodic to mirror my home directories to
 a secondary machine.  I just did a major file cleanup so the rsync
 output would be large.  Consequently, the resulting e-mail sent was
 large.  I got the following message instead of the message with
 details of the rsync process:

 *** Mail of at least 7127040 bytes could not be accepted
 *** at node1.cluster.srrc.usda.gov due to lack of disk space for temp file.
 *** Currently, 4 kilobytes are available for mail temp files.

 I know what was in the message and am not concerned about it but am
 curious about the size limit.  I have much more space available than 4
 kilobytes so am wondering where this limit is being set.

Never mind; I see the problem now.  I was looking at the space
available where my tmp directory is but the temp file was going into
/var/spool/mqueue, where I do not have as much space and so filled up
that filesystem.

-- 
Glenn Johnson
USDA, ARS, SRRC  Phone: (504) 286-4252
New Orleans, LA 70124   e-mail: [EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: FreeBSD usage in safety-critical environments

2002-10-09 Thread Steve Kudlak



Nelson, Trent . wrote:

 [Please include me directly as I'm not on the list]

 Hi,

 Has anyone had any experience with deploying FreeBSD in
 safety-critical environments?  Has any work been done attempting to certify
 FreeBSD to any particular SIL?  Is there any intention to do such a thing?

 If not FreeBSD, I'd be interested to hear if any has had exposure to
 other BSD flavors being used in safety-critical environments.

 I've just been shown a report at work that has been commissioned by
 the UK Health  Safety Executives and sponsored by the UK Ministry of
 Defense and Safety Regulation Group of the UK Civil Aviation Authority
 undertaking a preliminary assessment of Linux for safety-related systems.
 The report 'identifies' that it would be possible to certify Linux to SIL 1
 and SIL 2 quite easily, and SIL 3 with a little work.

 I'd hate to think that this would be an arena where BSD couldn't
 compete.  I'd also hate to think that the tendency for big players such as
 the MoD or DoD etc to lean towards Linux is based on the general Linux
 'hype', rather than technical merit...

 Regards,

 Trent.

 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-hackers in the body of the message

Well I don't know if this belongs on questions or hackers but the
question has enough technical merit to be interesting. For example
to what level has BSD been certified. I remember doing this consulting
project and mucking with the low grade in  my opinion C-2 security
that Sun OSes had and finding bugs in things like FTP logging and
the like. I now do other things so I don't worry about that. :) But it
is an interesting issue. I wonder if we should move it to chat?

Have Fun,
Sends Steve



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: /etc/cvsup/ports-supfile (fwd)

2002-10-09 Thread Kevin Stevens

On Tue, 8 Oct 2002, Adam Weinberger wrote:

 i'd just move the old checkout.cvs out of the way and restart the cvsup.

 -Adam

Thanks, that worked.  I thought that file was being built dynamically each
night because the timestamp was being updated, so deleting it didn't occur
to me.

KeS


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



[FreeBSD-4.5] Netscape upgrade blunder....

2002-10-09 Thread Bill Schoolcraft

Hello Family,

Well this has got me baffled.

In trying to upgrade to Netscape-7.0 and having some GLIB errors
when trying to run it, the install went flawless from /usr/ports
though:

[wiliweld@LC-BSD-yoga ~]-- netscape7english 
[1] 2171
[wiliweld@LC-BSD-yoga ~]-- MOZILLA_FIVE_HOME=.
  LD_LIBRARY_PATH=.:./Cool
  LIBPATH=.:./Cool
   SHLIB_PATH=.:./Cool
  XPCS_HOME=./Cool
  MOZ_PROGRAM=./netscape-bin
  MOZ_TOOLKIT=
moz_debug=0
 moz_debugger=
./netscape-bin: /lib/libc.so.6: version `GLIBC_2.2' not found
(required by /usr/lib/libgtk-1.2.so.0)
./netscape-bin: /lib/libc.so.6: version `GLIBC_2.2' not found
(required by /usr/lib/libgdk-1.2.so.0)

[1]+  Donenetscape7english

I now can still use my old netscape but CANNOT send any email
from it. I get the Netscape error that states:


Netscape is unable to use the mail server because you have 
not provided a username. Please provide one in the preferences
and try again.


I had not changed a thing and have reinstalled Netscape both
from ports and from a tarball and to no avail.

I imagine I'll have to use truss with firing up Netscape, then
the mail program, then try and send a message..

-- 
|72--|
Bill Schoolcraft
PO Box 210076 -o)
San Francisco CA 94121 /\
UNIX, A Way Of Life._\_v
http://forwardslashunix.com/raw



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



UDP Port 53 Log In Vain Messages

2002-10-09 Thread Wolfieee

Ok, what causes the following events to ocurr and what do I do to fix 
whatever is wrong?

_MY_MACHINE_ is my machine
_ISP_NAMESERVER_01_ and _ISP_NAMESERVER_02_ are my ISP's nameservers
I am running named.

What additional information is needed? (if any)
What do I look at?

Unusual System Events
=-=-=-=-=-=-=-=-=-=-=
Oct  9 09:01:01 hq /kernel: Connection attempt to UDP _MY_MACHINE_:3550 
from _ISP_NAMESERVER_02_:53
Oct  9 09:01:03 hq /kernel: Connection attempt to UDP _LOCALHOST_:512 
from _LOCALHOST_:3597
Oct  9 09:01:06 hq /kernel: Connection attempt to UDP _MY_MACHINE_:3551 
from _ISP_NAMESERVER_01_:53
Oct  9 09:01:14 hq /kernel: Connection attempt to UDP _MY_MACHINE_:3553 
from _ISP_NAMESERVER_02_:53
Oct  9 09:01:17 hq /kernel: Connection attempt to UDP _MY_MACHINE_:3554 
from _ISP_NAMESERVER_01_:53
Oct  9 09:01:23 hq /kernel: Connection attempt to UDP _LOCALHOST_:512 
from _LOCALHOST_:3611
Oct  9 09:01:24 hq /kernel: Connection attempt to UDP _LOCALHOST_:3548 
from _LOCALHOST_:53
Oct  9 09:01:26 hq /kernel: Connection attempt to UDP _MY_MACHINE_:3556 
from _ISP_NAMESERVER_02_:53
Oct  9 09:01:32 hq /kernel: Connection attempt to UDP _MY_MACHINE_:3557 
from _ISP_NAMESERVER_01_:53
Oct  9 09:01:39 hq /kernel: Connection attempt to UDP _LOCALHOST_:3552 
from _LOCALHOST_:53
Oct  9 09:01:48 hq /kernel: Connection attempt to UDP _LOCALHOST_:3555 
from _LOCALHOST_:53
Oct  9 09:01:51 hq /kernel: Connection attempt to UDP _MY_MACHINE_:3586 
from _ISP_NAMESERVER_02_:53
Oct  9 09:02:04 hq /kernel: Connection attempt to UDP _MY_MACHINE_:3598 
from _ISP_NAMESERVER_01_:53
Oct  9 09:02:06 hq /kernel: Connection attempt to UDP _LOCALHOST_:3561 
from _LOCALHOST_:53
Oct  9 09:02:33 hq /kernel: Connection attempt to UDP _LOCALHOST_:512 
from _LOCALHOST_:3629
Oct  9 09:03:15 hq /kernel: Connection attempt to UDP _LOCALHOST_:512 
from _LOCALHOST_:3645
Oct  9 09:12:21 hq /kernel: Connection attempt to UDP _MY_MACHINE_:4666 
from 194.221.87.35:4665
Oct  9 09:12:40 hq /kernel: Connection attempt to UDP _MY_MACHINE_:4666 
from 80.130.178.49:4666
Oct  9 09:15:55 hq /kernel: Connection attempt to UDP _LOCALHOST_:512 
from _LOCALHOST_:3680
Oct  9 09:16:01 hq /kernel: Connection attempt to UDP _MY_MACHINE_:3653 
from _ISP_NAMESERVER_02_:53
Oct  9 09:16:06 hq /kernel: Connection attempt to UDP _MY_MACHINE_:3654 
from _ISP_NAMESERVER_01_:53
Oct  9 09:16:14 hq /kernel: Connection attempt to UDP _MY_MACHINE_:3656 
from _ISP_NAMESERVER_02_:53
Oct  9 09:16:17 hq /kernel: Connection attempt to UDP _MY_MACHINE_:3657 
from _ISP_NAMESERVER_01_:53
Oct  9 09:16:23 hq /kernel: Connection attempt to UDP _LOCALHOST_:512 
from _LOCALHOST_:3694
Oct  9 09:16:24 hq /kernel: Connection attempt to UDP _LOCALHOST_:3652 
from _LOCALHOST_:53
Oct  9 09:16:26 hq /kernel: Connection attempt to UDP _MY_MACHINE_:3659 
from _ISP_NAMESERVER_02_:53
Oct  9 09:16:32 hq /kernel: Connection attempt to UDP _MY_MACHINE_:3660 
from _ISP_NAMESERVER_01_:53
Oct  9 09:16:39 hq /kernel: Connection attempt to UDP _LOCALHOST_:3655 
from _LOCALHOST_:53
Oct  9 09:16:48 hq /kernel: Connection attempt to UDP _LOCALHOST_:3658 
from _LOCALHOST_:53
Oct  9 09:16:51 hq /kernel: Connection attempt to UDP _MY_MACHINE_:3671 
from _ISP_NAMESERVER_02_:53
Oct  9 09:17:04 hq /kernel: Connection attempt to UDP _MY_MACHINE_:3681 
from _ISP_NAMESERVER_01_:53
Oct  9 09:17:06 hq /kernel: Connection attempt to UDP _LOCALHOST_:3664 
from _LOCALHOST_:53
Oct  9 09:23:49 hq /kernel: Connection attempt to UDP _MY_MACHINE_:4668 
from 217.127.164.189:2677
Oct  9 09:28:30 hq /kernel: Connection attempt to UDP _LOCALHOST_:512 
from _LOCALHOST_:3714
Oct  9 09:31:01 hq /kernel: Connection attempt to UDP _MY_MACHINE_:3720 
from _ISP_NAMESERVER_02_:53
Oct  9 09:31:06 hq /kernel: Connection attempt to UDP _MY_MACHINE_:3721 
from _ISP_NAMESERVER_01_:53
Oct  9 09:31:14 hq /kernel: Connection attempt to UDP _MY_MACHINE_:3723 
from _ISP_NAMESERVER_02_:53
Oct  9 09:31:17 hq /kernel: Connection attempt to UDP _MY_MACHINE_:3724 
from _ISP_NAMESERVER_01_:53
Oct  9 09:31:23 hq /kernel: Connection attempt to UDP _LOCALHOST_:512 
from _LOCALHOST_:3743
Oct  9 09:31:24 hq /kernel: Connection attempt to UDP _LOCALHOST_:3715 
from _LOCALHOST_:53
Oct  9 09:31:26 hq /kernel: Connection attempt to UDP _MY_MACHINE_:3726 
from _ISP_NAMESERVER_02_:53
Oct  9 09:31:28 hq /kernel: Connection attempt to UDP _LOCALHOST_:512 
from _LOCALHOST_:3755
Oct  9 09:31:32 hq /kernel: Connection attempt to UDP _MY_MACHINE_:3727 
from _ISP_NAMESERVER_01_:53
Oct  9 09:31:39 hq /kernel: Connection attempt to UDP _LOCALHOST_:3722 
from _LOCALHOST_:53
Oct  9 09:31:48 hq /kernel: Connection attempt to UDP _LOCALHOST_:3725 
from _LOCALHOST_:53
Oct  9 09:31:51 hq /kernel: Connection attempt to UDP _MY_MACHINE_:3729 
from _ISP_NAMESERVER_02_:53
Oct  9 09:32:04 hq /kernel: Connection attempt to UDP _MY_MACHINE_:3730 
from _ISP_NAMESERVER_01_:53
Oct  9 09:32:06 hq /kernel: Connection attempt to UDP _LOCALHOST_:3728 
from _LOCALHOST_:53
Oct  9 09:46:01 hq 

Re: UDP Port 53 Log In Vain Messages

2002-10-09 Thread wolf

Any settings I can change to reduce the number of timeouts?

Ceri Davies wrote:

On Wed, Oct 09, 2002 at 01:21:25PM -0400, Wolfieee wrote:
  

Ok, what causes the following events to ocurr and what do I do to fix 
whatever is wrong?



DNS lookups timing out.

Ceri

  





To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: [FreeBSD-4.5] Netscape upgrade blunder....

2002-10-09 Thread Diego Castro

I had the same errors.
The solution was to upgrade to FreeBSD 4.6.2
Netscape 7.0 uses linux_base7 (finally fixed)
--- Bill Schoolcraft [EMAIL PROTECTED] wrote:
 Hello Family,
 
 Well this has got me baffled.
 
 In trying to upgrade to Netscape-7.0 and having some
 GLIB errors
 when trying to run it, the install went flawless
 from /usr/ports
 though:
 
 [wiliweld@LC-BSD-yoga ~]-- netscape7english 
 [1] 2171
 [wiliweld@LC-BSD-yoga ~]-- MOZILLA_FIVE_HOME=.
   LD_LIBRARY_PATH=.:./Cool
   LIBPATH=.:./Cool
SHLIB_PATH=.:./Cool
   XPCS_HOME=./Cool
   MOZ_PROGRAM=./netscape-bin
   MOZ_TOOLKIT=
 moz_debug=0
  moz_debugger=
 ./netscape-bin: /lib/libc.so.6: version `GLIBC_2.2'
 not found
 (required by /usr/lib/libgtk-1.2.so.0)
 ./netscape-bin: /lib/libc.so.6: version `GLIBC_2.2'
 not found
 (required by /usr/lib/libgdk-1.2.so.0)
 
 [1]+  Donenetscape7english
 
 I now can still use my old netscape but CANNOT send
 any email
 from it. I get the Netscape error that states:
 
 
 Netscape is unable to use the mail server because
 you have 
 not provided a username. Please provide one in the
 preferences
 and try again.
 
 
 I had not changed a thing and have reinstalled
 Netscape both
 from ports and from a tarball and to no avail.
 
 I imagine I'll have to use truss with firing up
 Netscape, then
 the mail program, then try and send a message..
 
 -- 

|72--|
 Bill Schoolcraft
 PO Box 210076 -o)
 San Francisco CA 94121 /\
 UNIX, A Way Of Life._\_v
 http://forwardslashunix.com/raw
 
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of
 the message


__
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos  More
http://faith.yahoo.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



SCP and FTP to FreeBSD problem: Write failed

2002-10-09 Thread Johannes Angeldorff

Hi there,

We run a web server with FreeBSD 4.5 and apache. It used to run just
fine, and we could both FTP and SCP up files to the server.

But now when I try to FTP or SCP files to the server, it accepts most
files, but suddenly gives errors at random files...

Both in FTP and SCP to the server I get Write failed: Permission
denied, mostly at large files (4-5 Mb).

The strange thing is that when I try again, I don't get problems with
the same file the next time...

The disk in the server is not at all full... And the permissions for
www-root is 755 (as it have always been), so the permissions seem
correct.

I am a bit worried that the file system is going to crash or something...

Does anyone have any clue what can be wrong - and what I can do about
this? Very thankful for all help on this matter!
--
Sincerely,
Smartnet Sverige AB

Johannes Angeldorff

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



How to create another account with root privileges ?

2002-10-09 Thread Pranav A. Desai

Hi all!
How can I create a user account that can function like a root
account with the same prilieges ? I need to create three such account. Is
it possible ?

Thanks for the help

-Pranav

***
Pranav A. Desai

Home :- (937) 294 1381
***

On Thu, 3 Oct 2002, Sicco Miedema wrote:

 At 11:43 3-10-2002 +0200, Nelis Lamprecht wrote:
 I have a Accton 100baseTX nic that uses the RealTek 8129/8139 chipset. The
 nic works fine if I plug it into a 10mbit hub but as soon as I plug it
 into a switch ( 3Com Baseline 10/100 ) which I use internally for ftp'ing
 it starts transferring data ok and then slowly dies. After awhile it will
 not permit me at all to connect and I have to manually bring down the
 interface using ifconfig and then bring it back up before I can reconnect.
 I have configured my kernel with the correct drivers ( device rl ).
 I have 2 identical nic's in the same machine and they both give the same
 problem and I have tried several ftp clients. I'm using 4.6 Stable.
 
 Has anyone experienced similar problems with these nic's ? Any help,
 suggestions would be appreciated.

 I had the same problems with two RTL8139 nic's. The problem was easily
 solved by locking the nic's to one speed (100mbit or 10mbit) This is done
 with ifconfig I believe.

 Sicco Miedema



 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Ping to broadcast ok from subnet, not ok otherwise

2002-10-09 Thread Fernando Gleiser

On Wed, 9 Oct 2002, TheGlenMann wrote:

 Hi all-


 Sitting at a 10.10.1.n machine, I can ping the gateway 10.10.x.254 on
 every subnet. However, a ping to the broadcast address as
   ping -c1 10.10.x.255
 fails on some of the subnets (from outside that subnet). From within the
 subnet, the ping to the broadcast succeeds everywhere. Pings to known
 hosts (and 10.10.x.254) succeed always from everywhere.

 So, my question is, why would I be able to successfully ping to the
 broadcast address from within a subnet but not from outside the subnet,
 but only in certain cases? We have a mix of windows, FreeBSD, router, and
 other machines on each subnet. (I'm led to ask all this since where the
 broadcast doesn't work from outside the subnet, neither does DHCP, which
 is proving to be a real problem!)

The routers should block packets destined to the internal net broadcast
address to prevent the infamous smurf attack. Search the CERT for details.

I seem to remember that Cisco routers are configured  to drop those packets
by default.

That explains why you can ping the broadcast from within the LAN and not
from outside (the router drops the packet on the floor).

As far as DHCP, there is a dhcprelay (part of the isc-dhcp port) to pass
DHCP requests between networks. Besides, having only one dhcp server for
the whole WAN is (IMHO) a Bad Idea (TM), it screams single point of failure.


Fer

 Thanks
 -Glen Mann

 --
 I may not have had enough of me, but I've had enough of you.
 Robert Fripp, Exposure
 --



 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: How to create another account with root privileges ?

2002-10-09 Thread Fernando Gleiser

On Wed, 9 Oct 2002, Pranav A. Desai wrote:

 Hi all!
   How can I create a user account that can function like a root
 account with the same prilieges ? I need to create three such account. Is
 it possible ?

Yes it is possible, but it's not recommended. (Hint: look at what root
and toor have in common).

If you need to grant some privileges to another user, use sudo, it's in
the ports.


Fer


 Thanks for the help

 -Pranav

 ***
 Pranav A. Desai

 Home :- (937) 294 1381
 ***

 On Thu, 3 Oct 2002, Sicco Miedema wrote:

  At 11:43 3-10-2002 +0200, Nelis Lamprecht wrote:
  I have a Accton 100baseTX nic that uses the RealTek 8129/8139 chipset. The
  nic works fine if I plug it into a 10mbit hub but as soon as I plug it
  into a switch ( 3Com Baseline 10/100 ) which I use internally for ftp'ing
  it starts transferring data ok and then slowly dies. After awhile it will
  not permit me at all to connect and I have to manually bring down the
  interface using ifconfig and then bring it back up before I can reconnect.
  I have configured my kernel with the correct drivers ( device rl ).
  I have 2 identical nic's in the same machine and they both give the same
  problem and I have tried several ftp clients. I'm using 4.6 Stable.
  
  Has anyone experienced similar problems with these nic's ? Any help,
  suggestions would be appreciated.
 
  I had the same problems with two RTL8139 nic's. The problem was easily
  solved by locking the nic's to one speed (100mbit or 10mbit) This is done
  with ifconfig I believe.
 
  Sicco Miedema
 
 
 
  To Unsubscribe: send mail to [EMAIL PROTECTED]
  with unsubscribe freebsd-questions in the body of the message
 


 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



FTP gone weird

2002-10-09 Thread Michael Collette

Having a heck of a time with what I thought would be a pretty simple cron job 
of pulling down a web log via FTP.  In the process, I've run into a wall of 
port problems.

The Scenario:
I'm running an ssh session looped back to itself so as to configure a tunneled 
port forward from localhost:2121 to remoteserver:21

My cron job calls a small shell script that puts together the proper file name 
to get for the day, then issues the following command...

ftp ftp://${USER}:${PW}@${SITE}:${PT}${REMDIR}${FILE}

The site and port vars are set to localhost:2121 to go through the tunnel.  
When I run this script from a command line, it works exactly as I would 
expect it to.  From cron, I get the following error...

Data connection to 127.0.0.1:49159 is not allowed when control connection is 
from 10.10.10.10:3553!

The from IP is faked for this example.  The actual error has the routeable IP 
address of this box.  The port numbers both increment on each attempt.

The end goal here is to just automate an FTP download through an SSH tunnel.  
The remote machine is not running sftp, nor do I have admin rights to it.  
SSH forwarding is pretty much my only option there.

Any ideas?

Later on,
-- 
Outside of a dog, a book is man's best friend. Inside of a dog, it's too dark 
to read.
 - Groucho Marx

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: UDP Port 53 Log In Vain Messages

2002-10-09 Thread Roman Neuhauser

# [EMAIL PROTECTED] / 2002-10-09 13:21:25 -0400:
 Ok, what causes the following events to ocurr and what do I do to fix 
 whatever is wrong?
 
 _MY_MACHINE_ is my machine
 _ISP_NAMESERVER_01_ and _ISP_NAMESERVER_02_ are my ISP's nameservers
 I am running named.
 
 What additional information is needed? (if any)
 What do I look at?
 
 Unusual System Events
 =-=-=-=-=-=-=-=-=-=-=
 Oct  9 09:01:01 hq /kernel: Connection attempt to UDP _MY_MACHINE_:3550 from 
_ISP_NAMESERVER_02_:53
 Oct  9 09:01:03 hq /kernel: Connection attempt to UDP _LOCALHOST_:512 from 
_LOCALHOST_:3597
 Oct  9 09:01:06 hq /kernel: Connection attempt to UDP _MY_MACHINE_:3551 from 
_ISP_NAMESERVER_01_:53
 Oct  9 09:01:14 hq /kernel: Connection attempt to UDP _MY_MACHINE_:3553 from 
_ISP_NAMESERVER_02_:53
 Oct  9 09:01:17 hq /kernel: Connection attempt to UDP _MY_MACHINE_:3554 from 
_ISP_NAMESERVER_01_:53
 Oct  9 09:01:23 hq /kernel: Connection attempt to UDP _LOCALHOST_:512 from 
_LOCALHOST_:3611
 Oct  9 09:01:24 hq /kernel: Connection attempt to UDP _LOCALHOST_:3548 from 
_LOCALHOST_:53

this means that you have a firewall that blocks incoming udp on port
53 on both the loopback and your nic.

specifically, the blocked packets are replies to your dns queries.

fix your firewall ruleset. the rule from my ipf ruleset:

pass  out quick on $if proto tcp/udp from $ip to any port = 53 keep state

that keep state is what allows the responses back in.

-- 
begin 666 nonexistent.vbs
FreeBSD 4.7-RC
7:48PM up 22 days, 3:03, 18 users, load averages: 0.43, 0.26, 0.15
end

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Regarding Upgrade

2002-10-09 Thread Warren Block

On Wed, 9 Oct 2002, Matt Garcia wrote:

 I finished doing an upgrade for freebsd from
 4.5-stable to 4.7RC.  I had a question regarding the
 mergemaster.  After everything is done when running
 the mergemaster everything on the LEFT side is new and
 everything on the right side is old or is it vice
 versa ? i forgot which is which.

Check the revision dates at the top of the file.

-Warren Block * Rapid City, South Dakota USA


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Puzzling Simple NATD and IPFW Problem

2002-10-09 Thread D. Penev

On Wed, Oct 09, 2002 at 12:00:25AM -0400, 2005 - Chill, Samuel Thomas wrote:
Date: Wed,  9 Oct 2002 00:00:25 -0400
From: 2005 - Chill, Samuel Thomas [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: Puzzling Simple NATD and IPFW Problem

Here is the info. Hope it helps solve this problem.
# ifconfig -a
rl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
inet6 fe80::201:aff:fe10:815b%rl0 prefixlen 64 scopeid 0x1
inet 68.59.237.192 netmask 0xf800 broadcast 68.59.239.255
ether 00:01:0a:10:81:5b
media: Ethernet autoselect (100baseTX full-duplex)
status: active
rl1: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
inet 10.0.0.1 netmask 0xff00 broadcast 10.0.0.255
inet6 fe80::2d0:9ff:fec6:15ed%rl1 prefixlen 64 scopeid 0x2
ether 00:d0:09:c6:15:ed
media: Ethernet autoselect (10baseT/UTP)
status: active
lp0: flags=8810POINTOPOINT,SIMPLEX,MULTICAST mtu 1500
sl0: flags=c010POINTOPOINT,LINK2,MULTICAST mtu 552
faith0: flags=8002BROADCAST,MULTICAST mtu 1500
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x6
inet 127.0.0.1 netmask 0xff00
ppp0: flags=8010POINTOPOINT,MULTICAST mtu 1500

# ipfw -a l
00100 160  72611 divert 8668 ip from any to any via rl0
00200 661 115174 allow ip from any to any
65535   4581 deny ip from any to any

# netstat -rn
Routing tables

Internet:
DestinationGatewayFlagsRefs  Use  Netif Expire
default68.59.232.1UGSc95rl0
10/24  link#2 UC  20rl1
10.0.0.3   00:04:5a:53:4d:92  UHLW2 2109rl1241
10.0.0.4   00:04:5a:53:4d:92  UHLW2  679rl1   1050
68.59.232/21   link#1 UC  20rl0
68.59.232.100:02:fc:82:f0:54  UHLW   100rl0   1199
68.59.237.177  00:02:fc:82:f0:70  UHLW06rl0163
68.59.237.192  127.0.0.1  UGHS00lo0
127.0.0.1  127.0.0.1  UH  10lo0

Internet6:
Destination   Gateway   Flags  Netif 
Expire
::1   ::1   UH  lo0
fe80::%rl0/64 link#1UC  rl0
fe80::201:aff:fe10:815b%rl0   00:01:0a:10:81:5b UHL lo0
fe80::%rl1/64 link#2UC  rl1
fe80::2d0:9ff:fec6:15ed%rl1   00:d0:09:c6:15:ed UHL lo0
fe80::%lo0/64 fe80::1%lo0   Uc  lo0
fe80::1%lo0   link#6UHL lo0
ff01::/32 ::1   U   lo0
ff02::%rl0/32 link#1UC  rl0
ff02::%rl1/32 link#2UC  rl1
ff02::%lo0/32 ::1   UC  lo0

# sysctl net.inet.ip.forwarding
net.inet.ip.forwarding: 1

# ps -aux |grep nat
root  216  0.0  0.1   436  292  ??  Is6:13PM   0:00.01 natd -interface rl0

what ps x | grep natd show ? In principle if natd is started from rc.network
first argument must be $natd_flags and then $natd_interface.



# cat /etc/rc.conf
gateway_enable=YES
firewall_enable=YES
firewall_type=/etc/rc.ipfw-queue
firewall_quiet=NO
natd_enabled=YES
^
Is this error really exist in rc.conf ?

natd_interface=rl0
natd_flags=-f /etc/natd.conf
hostname=.andrsn01.tn.comcast.net
ifconfig_rl0=DHCP
ifconfig_rl1=inet 10.0.0.1  netmask 255.255.255.0
inetd_enable=YES
kern_securelevel_enable=NO
linux_enable=YES
lpd_enable=YES
nfs_reserved_port_only=YES
sendmail_enable=YES
sshd_enable=YES
usbd_enable=YES

# cat /etc/natd.conf
dynamic yes
use_sockets yes
same_ports yes
unregistered_only
-- Original Message --
From: Nick Rogness [EMAIL PROTECTED]
Date: Tue, 8 Oct 2002 15:38:00 -0600 (MDT)

On Tue, 8 Oct 2002, 2005 - Chill, Samuel Thomas wrote:

 I have ipfirewall, ipdivert, and dummynet all compiled into my kernel. I
 am able to run run natd and to specify rules with ipfw, i can also ping
 my external interface. My internal network card (rl1) is 10.0.0.1 and my
 lan clients are running on 10.0.0.x. I can ping everything, the network
 is setup properly. Im using the default rules supplied in the man page
 and apperently natd is not passing them on. I cant ping or go to any
 website at all. The lan clients have 10.0.0.1 set as there default
 gateway. rl0 is connected to the cable modem and gets it ip via dhcp.
 The freebsd box can ping any thing but apparently nothing is forwarded
 to the external interface. I have double checked and reinstalled
 multiple times and it 

OS X POP client weird?

2002-10-09 Thread Len Conrad

FreeBSD port of qpopper version 4.0.4 (non-standalone) on FreeBSD 4.6.2 
Release.

All is working fine, except we note that two users show these errors:

Oct  8 19:54:28 boxname qpopper[88744]: xxx at 
12-233-2-114.client.attbi.com (12.233.2.114): -ERR [SYS/TEMP] POP 
authentication DB not available (user xxx): No such file or directory (2)

Only these two users are running the Apple Mail App under OS X as POP clients.

The 2 users have no apparent trouble accessing their mailboxes through 
qpopper.  The admin just noticed in the syslog file when looking for 
something else.

Len




To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Dual-Homed

2002-10-09 Thread James Earl


On Wed, 09 Oct 2002 07:34:35 -0400
Steven King [EMAIL PROTECTED] wrote:

 I have tried setting up a static_route in rc.conf for iface2 but no joy 
 there.. And I agree that it sounds like a routing/default gateway 
 problem but I cant seem to figure out how to fix it.. I'm thinking that 
 the dhcp is setting up a default gateway for both interfaces instead of 
 setting it up for just iface1 and when I try to reach the internet from 
 iface2 it tries to go out iface1.. small example:
 
 traceroute -s iface2 to router off hub2 (same subnet as iface2) - No problem
 traceroute -s iface2 to internet site - broken.. doesn't even reach the 
 router nor do I see the hub lights blink.
 
 Not sure how I can tell the DHCP to just load the default gateway for 
 iface1 and not iface2 and let me set that manually in rc.conf..

/var/db/dhclient.leases will show you what dhclient is picking up from your dhcp 
server.  It will definitely pick up a router from the dhcp server, otherwise home 
users wouldn't be able to get on the internet..


 
 I can access the internet on both sides when they are setup seperatly.. 
 I can also access the internet through iface1 when both are set up at 
 the same time.. just not iface2..
 
 and your third question.. I want to be able to access the internet 
 through both interfaces plus be able to get to the machine through both 
 interfaces..

This is one thing I'm not too certain about.  It seems to me, that to be able to 
access the Internet through both devices, would require some ip filtering so that 
certain applications (that you'd configure) requesting to connect to certain ports are 
directed through the interface you want them to go through.

The only thing that I'm aware of that comes close to this, is natd, but I've only set 
that up so it redirects incoming traffic destined to port whatever, to a specific 
machine on the LAN.  I don't see why it couldn't work in the reverse for you.  You 
might need to get imaginative here... :)


 
 Hope I'm not confusing things more..
 
 
 
 James Earl wrote:
 
 You show a Router after Hub2.  Have you tried setting up a route to get 
 past it?  If you can only see the machines on the same subnet as interface2 
 then initially it sounds like a routing problem.
 
 Can you access the internet through each interface when they're setup 
 separately?
 
 You mentioned you have to use interface2 for a web server, mail and dns.  
 Are you wanting to only provide connections in through interface2 to your 
 FreeBSD machine, or are you trying to use both internet connections from one 
 FreeBSD machine?
 
 
 Quoting Steven King [EMAIL PROTECTED]:
 
   
 
 Well I want to treat interface1 as my primary route for most things 
 (cvsup, lynx, etc, etc..).. and treat  interface2 as if it was an 
 alias'ed IP.. But for some reason when I boot up with rc.conf like the 
 way I have it below, you can not reach interface2 from the internet nor 
 can you reach the internet from interface2.. I can only get to other 
 machines that are on the same subnet as interface2..
 
 
 James Earl wrote:
 
 
 
 I'm not sure if I totally understand... I'm trying.  Perhaps you want your
   
 
 FreeBSD machine to be a bridge, not a gateway?
 
 
 On Tue, 08 Oct 2002 17:02:37 -0400
 Steven King [EMAIL PROTECTED] wrote:
 
  
 
   
 
 I need help trying to get my FreeBSD machine dual-homed. I will try to 
 explain the situation as best as possible..
 
 Interface1 - hub1 - Cable Modem (DHCP) - Internet
 Interface2 - hub2 - Router - Frame Relay - Internet
 
 I am trying to use Interface1 for cvsup's and things like that (frame is 
 only 56k) . I have to use Interface2 for web server, mail and dns..
 
 When I set up /etc/rc.conf this way it loads up the interfaces no 
 problem and the cable modem interface works fine but on the interface2 
 side I cannot get to the internet nor can anyone get to it from that 
 side. I can ping the boxes on the local subnet but thats it.
 
 
 
 from rc.conf:
   
 
 network_interfaces=rl0 de0 lo0
 defaultrouter=NO
 ifconfig_rl0=DHCP
 ifconfig_de0=inet interface2 IP netmask 255.255.255.0
 
 I cannot figure out what else is needed to fix this.. I have tried 
 static_routes, gateway_enable, forward_sourceroute in rc.conf and 
 net.inet.ip.forwarding=1 in sysctl.conf.. I have tried several different 
 netmasks for interface2 thinking that was the problem but that dont do 
 anything.. messed with defaultrouter and everything I can think of.. All 
 of the examples I have seen on the web and searching through the mailing 
 list are of using the FBSD box as a gateway for an internal network to 
 go out through the FBSD box onto the internet.
 
 Any help would be appreciated..
 
 Thank you
 
 
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message

 
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
 
 

Re: i-buddie

2002-10-09 Thread Guido Van Hoecke

i4o beke wrote:
 Hi Guido. I've seen your question on freebsd-mobile, without answer.
 I'd like to buy i-buddie, 3c or 4. So your problems with setup are
 really interesting for me.
 Is your sis network card working? Is it possible to
 run XWin on i-buddie?  Thank you for your answer.

I am afraid I have had no luck with freebsd. My sis900 network card is 
recognized but fails with a 'MII without any PHY!', and 3 more devices 
are showing up as unknown:

pci0 2.7 is a sis7012 audio driver
pci0 5.0 is a conexant 56k modem
pci0 7.0 ia a VIA OHCI Compliant IEEE1394 host controller

Further more, XF86 as available in freebsd 4.6.2-RELEASE #0 does not 
recognize my lcd panel, so I can't run a desktop environment.

I have not yet posted about the X problem, I wanted to have the sis900 
network problem resolved first.

FYI, I've installed mandrake 8.2 without a single hickup: all hardware 
recognized and configured properly in a very neat and smooth 
installation. Other distros which I've tried with less success are Red 
Hat 7.3, and Debian 3.0

I do like the iBuddy though!

-- 
Guido Van Hoecke [EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



pcAnywhere over ppp

2002-10-09 Thread Lane Holcombe

I have a number of clients for whom I periodicaly dial in to provide consulting 
services.  
In all cases I use ppp on FreeBSD 4.5.  Many clients have RAS servers, AS/400 modems, 
and 
several other remote dial-in facilities. 
 
But one client uses pcAnywhere and I cannot seem to connect with it. 
 
Below is the /var/log/ppp.log file.  Typically I can determine the cause of a rejected 
connection, but this time it is unclear.  I see LCP: deflink: State change Stopped 
-- 
Closed but I can't figure out what causes it.: 
 
If anyone has experience with ppp over pcAnywhere modem connection then please clue me 
in. 
 
Thanks, lane 
 
Oct  9 12:59:11 joeandlane ppp[20895]: Phase: Using interface: tun0 
Oct  9 12:59:11 joeandlane ppp[20895]: Phase: deflink: Created in closed state 
Oct  9 12:59:11 joeandlane ppp[20895]: tun0: Command: default: set speed 115200 
Oct  9 12:59:11 joeandlane ppp[20895]: tun0: Command: default: set dial ABORT BUSY 
ABORT 
NO\sCARRIER TIMEOUT 5 AT OK-AT-OK ATE1Q0M1 OK \dATDT\T TIMEOUT 40 
CONNECT 
Oct  9 12:59:11 joeandlane ppp[20895]: tun0: Command: default: set ifaddr 10.0.0.1/0 
10.0.0.2/0 255.255.255.0 0.0.0.0 
Oct  9 12:59:11 joeandlane ppp[20895]: tun0: Command: default: set timeout 360 
Oct  9 12:59:11 joeandlane ppp[20895]: tun0: Command: thebank: set phone 199 
Oct  9 12:59:11 joeandlane ppp[20895]: tun0: Command: thebank: set authname my.userid 
Oct  9 12:59:11 joeandlane ppp[20895]: tun0: Command: thebank: set authkey  
Oct  9 12:59:11 joeandlane ppp[20896]: tun0: Phase: PPP Started (auto mode). 
Oct  9 12:59:11 joeandlane ppp[20896]: tun0: Phase: bundle: Establish 
Oct  9 12:59:11 joeandlane ppp[20896]: tun0: Phase: deflink: closed - opening 
Oct  9 12:59:11 joeandlane ppp[20896]: tun0: Phase: deflink: Connected! 
Oct  9 12:59:11 joeandlane ppp[20896]: tun0: Phase: deflink: opening - dial 
Oct  9 12:59:11 joeandlane ppp[20896]: tun0: Chat: Phone: 199 
Oct  9 12:59:11 joeandlane ppp[20896]: tun0: Chat: deflink: Dial attempt 1 of 1 
Oct  9 12:59:11 joeandlane ppp[20896]: tun0: Chat: Send: AT^M 
Oct  9 12:59:11 joeandlane ppp[20896]: tun0: Chat: Expect(5): OK 
Oct  9 12:59:16 joeandlane ppp[20896]: tun0: Chat: Expect timeout 
Oct  9 12:59:16 joeandlane ppp[20896]: tun0: Chat: Send: AT^M 
Oct  9 12:59:16 joeandlane ppp[20896]: tun0: Chat: Expect(5): OK 
Oct  9 12:59:16 joeandlane ppp[20896]: tun0: Chat: Received: AT^M^M 
Oct  9 12:59:16 joeandlane ppp[20896]: tun0: Chat: Received: OK^M 
Oct  9 12:59:16 joeandlane ppp[20896]: tun0: Chat: Send: ATE1Q0M1^M 
Oct  9 12:59:16 joeandlane ppp[20896]: tun0: Chat: Expect(5): OK 
Oct  9 12:59:16 joeandlane ppp[20896]: tun0: Chat: Received: ATE1Q0M1^M^M 
Oct  9 12:59:16 joeandlane ppp[20896]: tun0: Chat: Received: OK^M 
Oct  9 12:59:16 joeandlane ppp[20896]: tun0: Chat: Send: ATDT199^M 
Oct  9 12:59:18 joeandlane ppp[20896]: tun0: Chat: Expect(40): CONNECT 
Oct  9 12:59:33 joeandlane ppp[20896]: tun0: Chat: Received: ATDT199^M^M 
Oct  9 12:59:33 joeandlane ppp[20896]: tun0: Chat: Received: CONNECT 115200^M 
Oct  9 12:59:33 joeandlane ppp[20896]: tun0: Phase: deflink: dial - carrier 
Oct  9 12:59:34 joeandlane ppp[20896]: tun0: Phase: deflink: /dev/cuaa0: CD detected 
Oct  9 12:59:34 joeandlane ppp[20896]: tun0: Phase: deflink: carrier - login 
Oct  9 12:59:34 joeandlane ppp[20896]: tun0: Phase: deflink: login - lcp 
Oct  9 12:59:34 joeandlane ppp[20896]: tun0: LCP: FSM: Using deflink as a transport 
Oct  9 12:59:34 joeandlane ppp[20896]: tun0: LCP: deflink: State change Initial -- 
Closed 
Oct  9 12:59:34 joeandlane ppp[20896]: tun0: LCP: deflink: State change Closed -- 
Stopped 
Oct  9 12:59:35 joeandlane ppp[20896]: tun0: LCP: deflink: LayerStart 
Oct  9 12:59:35 joeandlane ppp[20896]: tun0: LCP: deflink: SendConfigReq(1) state = 
Stopped 
Oct  9 12:59:35 joeandlane ppp[20896]: tun0: LCP:  ACFCOMP[2] 
Oct  9 12:59:35 joeandlane ppp[20896]: tun0: LCP:  PROTOCOMP[2] 
Oct  9 12:59:35 joeandlane ppp[20896]: tun0: LCP:  ACCMAP[6] 0x 
Oct  9 12:59:35 joeandlane ppp[20896]: tun0: LCP:  MRU[4] 1500 
Oct  9 12:59:35 joeandlane ppp[20896]: tun0: LCP:  MAGICNUM[6] 0xe9ee6b65 
Oct  9 12:59:35 joeandlane ppp[20896]: tun0: LCP: deflink: State change Stopped -- 
Req-Sent 
Oct  9 12:59:38 joeandlane ppp[20896]: tun0: LCP: deflink: SendConfigReq(1) state = 
Req-Sent 
Oct  9 12:59:38 joeandlane ppp[20896]: tun0: LCP:  ACFCOMP[2] 
Oct  9 12:59:38 joeandlane ppp[20896]: tun0: LCP:  PROTOCOMP[2] 
Oct  9 12:59:38 joeandlane ppp[20896]: tun0: LCP:  ACCMAP[6] 0x 
Oct  9 12:59:38 joeandlane ppp[20896]: tun0: LCP:  MRU[4] 1500 
Oct  9 12:59:38 joeandlane ppp[20896]: tun0: LCP:  MAGICNUM[6] 0xe9ee6b65 
Oct  9 12:59:41 joeandlane ppp[20896]: tun0: LCP: deflink: SendConfigReq(1) state = 
Req-Sent 
Oct  9 12:59:41 joeandlane ppp[20896]: tun0: LCP:  ACFCOMP[2] 
Oct  9 12:59:41 joeandlane ppp[20896]: tun0: LCP:  PROTOCOMP[2] 
Oct  9 12:59:41 joeandlane ppp[20896]: tun0: LCP:  ACCMAP[6] 0x 

Re: Linux emulation: acd0a is not a cooked ioctl CDROM

2002-10-09 Thread Lowell Gilbert

Lucky Green [EMAIL PROTECTED] writes:

 Do you believe that the ATAPI/CAM patches at
 http://www.cuivre.fr.eu.org/~thomas/atapicam/ might make cdparanoia
 compatible with an ATAPI drive on FreeBSD?

Probably.

I guess that would mean the
 patches would have to provide the cooked ioctl that cdparanoia wants.

Not necessarily.  Also not important.

 I would be willing to install -CURRENT if that will make cdparanoia
 work.

I believe that would do it also.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: help with ln linking Please! [attn manpage authors!]

2002-10-09 Thread Gary W. Swearingen

Oliver Fromme [EMAIL PROTECTED] writes:

 Gary W. Swearingen [EMAIL PROTECTED] wrote:
   ln [-fhinsv] linked_filename [link_filename]
   ln [-fhinsv] linked_filename ... dir_filename
   link existing_filename alternate_filename
   
   This is cleaner, but I think filename should be standard in filenames.
 
 But it is not a filename.

It's a string which is used by ln(1) and the kernel's directory software
for a filename; if people want to misuse it for storing PIDs or control
strings or MP3s, that's an abuse of the system which the manual shouldn't
bother to accommodate.

   Yuck; malloc.conf is nasty.
 
 No, it's extremely useful and efficient.
...
 Also, symlinks are an easy way to atomically check and create
 lockfiles in shell scripts.

Useful, efficient, easy -- and yucky, nasty, kludgy.  Apt to break
if the directory scheme changes or to prevent improvements to same.

Maybe it should be:

ln string_for_directory filename_to_access_string_by

Just kidding.  It can't end in a preposition.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: UDP Port 53 Log In Vain Messages

2002-10-09 Thread D. Penev

On Wed, Oct 09, 2002 at 02:21:50PM -0400, wolf wrote:
Date: Wed, 09 Oct 2002 14:21:50 -0400
From: wolf [EMAIL PROTECTED]
To: Roman Neuhauser [EMAIL PROTECTED]
Cc: Wolfieee [EMAIL PROTECTED], [EMAIL PROTECTED]
Subject: Re: UDP Port 53 Log In Vain Messages

I don't think the firewall is to blame.

I think so. If there is a firewall that blocks dns replies then they never
go through firewall. My explanation is that dns send query to external dns but
after some time period hi doesn't get answer (because external dns is very busy)
and close socket, so when answer arrive there isn't opened socket. If you have
a lot of name resolving errors my suggestion is to remove you isp dns servers
as forwarders.



00050  60949435 31435808176 divert 8668 ip from any to any via rl0
0010071631099071516 allow ip from any to any via lo0
00200 0   0 deny ip from any to 127.0.0.0/8
00300 0   0 deny ip from 127.0.0.0/8 to any
65000 120754392 61388414174 allow ip from any to any
65535 81016 deny ip from any to any


Roman Neuhauser wrote:

# [EMAIL PROTECTED] / 2002-10-09 13:21:25 -0400:
  

Ok, what causes the following events to ocurr and what do I do to fix 
whatever is wrong?

_MY_MACHINE_ is my machine
_ISP_NAMESERVER_01_ and _ISP_NAMESERVER_02_ are my ISP's nameservers
I am running named.

What additional information is needed? (if any)
What do I look at?

Unusual System Events
=-=-=-=-=-=-=-=-=-=-=
Oct  9 09:01:01 hq /kernel: Connection attempt to UDP _MY_MACHINE_:3550 
from _ISP_NAMESERVER_02_:53
Oct  9 09:01:03 hq /kernel: Connection attempt to UDP _LOCALHOST_:512 
from _LOCALHOST_:3597
Oct  9 09:01:06 hq /kernel: Connection attempt to UDP _MY_MACHINE_:3551 
from _ISP_NAMESERVER_01_:53
Oct  9 09:01:14 hq /kernel: Connection attempt to UDP _MY_MACHINE_:3553 
from _ISP_NAMESERVER_02_:53
Oct  9 09:01:17 hq /kernel: Connection attempt to UDP _MY_MACHINE_:3554 
from _ISP_NAMESERVER_01_:53
Oct  9 09:01:23 hq /kernel: Connection attempt to UDP _LOCALHOST_:512 
from _LOCALHOST_:3611
Oct  9 09:01:24 hq /kernel: Connection attempt to UDP _LOCALHOST_:3548 
from _LOCALHOST_:53



this means that you have a firewall that blocks incoming udp on port
53 on both the loopback and your nic.

specifically, the blocked packets are replies to your dns queries.

fix your firewall ruleset. the rule from my ipf ruleset:

pass  out quick on $if proto tcp/udp from $ip to any port = 53 keep 
state

that keep state is what allows the responses back in.

  





To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message

-- 
Regards,
D. Penev

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



help, i've fallen ( too lzy t gt up)

2002-10-09 Thread Gary D Kline


Hi gang,

Any idea what's causing em to not build?  These are new
conflicts...  It may be time to give up on elm anyway.

thanks for any clue on the following build errs,

gary


Now you must run a make.
===  Building for elm-2.5.6
cd lib  makeall
cc  -O  -I.. -I../hdrs -c add_site.c
In file included from ../hdrs/elm_defs.h:526,
 from add_site.c:29:
../hdrs/elm_lib.h:244: conflicting types for `rename'
/usr/include/stdio.h:233: previous declaration of `rename'
*** Error code 1

Stop in /usr/ports/mail/elm/work/elm2.5.6/lib.
*** Error code 1



-- 
   Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: [FreeBSD-4.5] Netscape upgrade blunder....

2002-10-09 Thread Bill Schoolcraft

At Wed, 9 Oct 2002 it looks like Diego Castro composed:

 I had the same errors.
 The solution was to upgrade to FreeBSD 4.6.2
 Netscape 7.0 uses linux_base7 (finally fixed)

I'd be happy if I could just SEND mail from my old Netscape 
again, that's what is bugging me. The output of truss for 
just less than a minute was horrendous and from my end not 
very helpful for it didn't point to any files that I found 
missing.

I made sure that the last part of the 60 seconds I had truss
running I was trying to send emails and getting the errors.

So, out of 72,292 lines in 60 seconds, I figure the last 15
seconds were email/failure related. 

So the 15,000 lines at the end are what I'm looking at. :( 


-- 
|72--|
Bill Schoolcraft
PO Box 210076 -o)
San Francisco CA 94121 /\
UNIX, A Way Of Life._\_v
http://forwardslashunix.com/raw



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: FreeBSD usage in safety-critical environments

2002-10-09 Thread Terry Lambert

Nelson, Trent . wrote:
 Has anyone had any experience with deploying FreeBSD in
 safety-critical environments?  Has any work been done attempting to certify
 FreeBSD to any particular SIL?  Is there any intention to do such a thing?
 
 If not FreeBSD, I'd be interested to hear if any has had exposure to
 other BSD flavors being used in safety-critical environments.


Life support systems need to be designed from the ground up.


 I've just been shown a report at work that has been commissioned by
 the UK Health  Safety Executives and sponsored by the UK Ministry of
 Defense and Safety Regulation Group of the UK Civil Aviation Authority
 undertaking a preliminary assessment of Linux for safety-related systems.
 The report 'identifies' that it would be possible to certify Linux to SIL 1
 and SIL 2 quite easily, and SIL 3 with a little work.


Tell me where these systems will be deployed, so I avoid going
there.  Seriously.


 I'd hate to think that this would be an arena where BSD couldn't
 compete.  I'd also hate to think that the tendency for big players such as
 the MoD or DoD etc to lean towards Linux is based on the general Linux
 'hype', rather than technical merit...


Life support systems require formal proofs of correctness for code;
since neither Linux nor FreeBSD is formally correct, in total, you
would need to be insane to deplaoy either of them as, for example,
a part of an air traffic control system.

The same goes for AIX, Solaris, Windows, VMS, and most other systems.

The SIL 1/2 stuff, from my understanding, depends on fast
reboot times and other things that are out of the control of
the OS, and are more BIOS things anyway (external signal state
changes during debvice probes, etc., causing actions in the
hardware attached to the ports, etc.).


The biggest cost factor in an life support deployment (IMO) is
the liability insurance.  By becoming your own vendor, you get
to assume all of the liability.  Not a good thing, from a risk
analysis perspective.  8-(.


-- Terry

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



contact me!!

2002-10-09 Thread puledi mpezi

MR. PULEDI MPEZI.
PACIFIC BANK OF SOUTH AFRICA,
9TH FLOOR, HEERENGRACHT TOWER,
STANDARD BANK CENTER,
CAPE TOWN, SOUTH AFRICA.

I am Mr. Puledi Mpezi, Provincial Director Pacific
Bank of South Africa, Johannesburg Branch. I have
urgent and very confidential business proposition for
you.

On June 6, 1998, an American Oil consultant/contractor
with the South Africa Mining Corporation, Mr. Charles
Andason made a numbered time (Fixed) Deposit for
twelve calendar months, valued at US$25,000,000.00
(Twenty- five Million Dollars) in my branch. Upon
maturity, I sent a routine notification to his
forwarding address but got no reply. After a month,
we sent a reminder and finally we discovered from his
contract employers, the South Africa Mining
Corporation that Mr. Charles Andason died from an
automobile accident. On further investigation, I found
out that he died without making a WILL, and all
attempts to trace his next of kin was fruitless.

I therefore made further investigation and discovered
that Mr. Charles Andason did not declare any kin or
relations in all his official documents, including his
Bank Deposit paperwork in my Bank. This sum of
US$25,000,000.00 is still sitting in my Bank and the
interest is being rolled over with the principal sum
at the end of each year. No one will ever come
forward to claim it. According to South Africa Law,
at the expiration of 5 (five) years, the money will
revert to the ownership of the South Africa Government
if nobody applies to claim the fund.

Consequently, my proposal is that I will like you to
stand in as the next of kin to Mr. Charles Andason so
that the fruits of this old man's labor will not get
into the hands of some corrupt government officials. 
This is simple, I will like you to provide immediately
your full names and address so that the Attorney will
prepare the necessary documents and affidavits which
will put you in place as the next of kin. We shall
employ the service of two Attorneys for drafting and
notarization of the WILL and to obtain the necessary
documents and letter of probate/administration in your
favor for the transfer. A bank account in any part of
the world which you will provide will then facilitate
the transfer of this money to you as the
beneficiary/next of kin. The money will be paid into
your account for us to share in the ratio of 60% for
me and 40% for you.

There is no risk at all as all the paperwork for this
transaction will be done by the Attorney and my
position as the Branch Manager guarantees the
successful execution of this transaction. If you are
interested, please reply immediately via the private
email address below.. Upon your response, I shall then
provide you with more details and relevant documents
that will help you understand the transaction. 

Please observe utmost confidentiality, and rest
assured that this transaction would be most profitable
for both of us because I shall require your assistance
to invest my share in your country.
Sincerely
Puledi Mpezi

__
Check out all the latest outrageous email attachments on the Outrageous Email Chart! - 
http://viral.lycos.co.uk 




contact me!!

2002-10-09 Thread puledi mpezi

MR. PULEDI MPEZI.
PACIFIC BANK OF SOUTH AFRICA,
9TH FLOOR, HEERENGRACHT TOWER,
STANDARD BANK CENTER,
CAPE TOWN, SOUTH AFRICA.

I am Mr. Puledi Mpezi, Provincial Director Pacific
Bank of South Africa, Johannesburg Branch. I have
urgent and very confidential business proposition for
you.

On June 6, 1998, an American Oil consultant/contractor
with the South Africa Mining Corporation, Mr. Charles
Andason made a numbered time (Fixed) Deposit for
twelve calendar months, valued at US$25,000,000.00
(Twenty- five Million Dollars) in my branch. Upon
maturity, I sent a routine notification to his
forwarding address but got no reply. After a month,
we sent a reminder and finally we discovered from his
contract employers, the South Africa Mining
Corporation that Mr. Charles Andason died from an
automobile accident. On further investigation, I found
out that he died without making a WILL, and all
attempts to trace his next of kin was fruitless.

I therefore made further investigation and discovered
that Mr. Charles Andason did not declare any kin or
relations in all his official documents, including his
Bank Deposit paperwork in my Bank. This sum of
US$25,000,000.00 is still sitting in my Bank and the
interest is being rolled over with the principal sum
at the end of each year. No one will ever come
forward to claim it. According to South Africa Law,
at the expiration of 5 (five) years, the money will
revert to the ownership of the South Africa Government
if nobody applies to claim the fund.

Consequently, my proposal is that I will like you to
stand in as the next of kin to Mr. Charles Andason so
that the fruits of this old man's labor will not get
into the hands of some corrupt government officials. 
This is simple, I will like you to provide immediately
your full names and address so that the Attorney will
prepare the necessary documents and affidavits which
will put you in place as the next of kin. We shall
employ the service of two Attorneys for drafting and
notarization of the WILL and to obtain the necessary
documents and letter of probate/administration in your
favor for the transfer. A bank account in any part of
the world which you will provide will then facilitate
the transfer of this money to you as the
beneficiary/next of kin. The money will be paid into
your account for us to share in the ratio of 60% for
me and 40% for you.

There is no risk at all as all the paperwork for this
transaction will be done by the Attorney and my
position as the Branch Manager guarantees the
successful execution of this transaction. If you are
interested, please reply immediately via the private
email address below.. Upon your response, I shall then
provide you with more details and relevant documents
that will help you understand the transaction. 

Please observe utmost confidentiality, and rest
assured that this transaction would be most profitable
for both of us because I shall require your assistance
to invest my share in your country.
Sincerely
Puledi Mpezi

__
Check out all the latest outrageous email attachments on the Outrageous Email Chart! - 
http://viral.lycos.co.uk 




Re: help, i've fallen ( too lzy t gt up)

2002-10-09 Thread Kris Kennaway

On Wed, Oct 09, 2002 at 12:21:48PM -0700, Gary D Kline wrote:
 
   Hi gang,
 
   Any idea what's causing em to not build?  These are new
   conflicts...  It may be time to give up on elm anyway.
 
   thanks for any clue on the following build errs,
 
   gary
 
 
 Now you must run a make.
 ===  Building for elm-2.5.6
 cd lib  makeall
 cc  -O  -I.. -I../hdrs -c add_site.c
 In file included from ../hdrs/elm_defs.h:526,
  from add_site.c:29:
 ../hdrs/elm_lib.h:244: conflicting types for `rename'
 /usr/include/stdio.h:233: previous declaration of `rename'
 *** Error code 1
 
 Stop in /usr/ports/mail/elm/work/elm2.5.6/lib.
 *** Error code 1

The port apparently doesn't build on whatever version of FreeBSD
you're using..it needs a patch to remove the duplicate declaration
from that header file.

Kris


msg04537/pgp0.pgp
Description: PGP signature


Re: Linux emulation: acd0a is not a cooked ioctl CDROM

2002-10-09 Thread Kevin Oberman

 From: Lucky Green [EMAIL PROTECTED]
 Date: Tue, 8 Oct 2002 17:46:44 -0700
 Sender: [EMAIL PROTECTED]
 
 Nick wrote:
   Checking /dev/cdrom for cdrom...
   Testing /dev/cdrom for cooked ioctl() interface
   /dev/acd0a is not a cooked ioctl CDROM.
   Testing /dev/cdrom for SCSI interface
   /dev/cdrom is not a SCSI device
  
  That doesn't look quite right; CDROM devices are usually 
  accessed as /dev/acd0c in FreeBSD.
  
  Perhaps double check to see where the /dev/cdroma symlink points to.
 
 I have been able to rip from /dev/cdrom linking to /dev/acd0a using
 cdda2wav without a problem. I just changed /dev/cdrom to link to
 /dev/acd0c and am getting the same error.

This is a different problem. You should re-make the acd devices. This
is a result of changes to the ATA code that changed the minor mode of
the 'c' device inode from 2 to 0. Just:
cd /dev
rm acd0*
./MAKEDEV all

Then acd0c (and acd1c if you have two CDs) will work. This happens if
you don't run mergemaster or did not choose the option to re-make your
devices after running it when the change in MAKEDEV took place.

R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: [EMAIL PROTECTED]  Phone: +1 510 486-8634

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Linux emulation: acd0a is not a cooked ioctl CDROM

2002-10-09 Thread Kevin Oberman

 From: Lucky Green [EMAIL PROTECTED]
 Date: Tue, 8 Oct 2002 20:35:03 -0700
 Sender: [EMAIL PROTECTED]
 
 Lowell wrote:
  Lucky Green [EMAIL PROTECTED] writes:
  
   Nick wrote:
 Checking /dev/cdrom for cdrom...
 Testing /dev/cdrom for cooked ioctl() interface
 /dev/acd0a is not a cooked ioctl CDROM.
 Testing /dev/cdrom for SCSI interface
 /dev/cdrom is not a SCSI device

That doesn't look quite right; CDROM devices are usually
accessed as /dev/acd0c in FreeBSD.
  
  Only if they're ATAPI drives.  Which this poster said he had. 
   He also said he was using cdparanoia, which is, as the error 
  message said, specific to SCSI drives.  [On Linux, ATAPI 
  drives are supported by making them look like SCSI drives, so 
  it sort of works with cdparanoia, but on FreeBSD ATAPI drives 
  are supported directly.]
 
 Do you believe that the ATAPI/CAM patches at
 http://www.cuivre.fr.eu.org/~thomas/atapicam/ might make cdparanoia
 compatible with an ATAPI drive on FreeBSD? I guess that would mean the
 patches would have to provide the cooked ioctl that cdparanoia wants.
 
 I would be willing to install -CURRENT if that will make cdparanoia
 work.

You probably don't need to do this. -CURRENT is a BIG change and still
likely less stable than desired. 

The ATAPI/CAM patches are slated to be MFCed as soon as 4.7 is
released and the RELENG_4 branch is re-opened. The tree should be
re-opened this week unless an unexpected problem shows up, so I would
expect -STABLE to have ATAPI/COM support next week.

R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: [EMAIL PROTECTED]  Phone: +1 510 486-8634

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Java IDE -- Finally some success under FreeBSD

2002-10-09 Thread Weston M. Price

Hello,
For the Java developers that are interested, I was able to download and 
install JBuilder community edition from Borland. It runs fine under the 
native JDK 1.3 for FreeBSD. However, it dies under both linux JDK emulations. 


Regards,

Weston

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: startx crashes for non-root users on Free86 4.2.0/FreeBSD 4.6

2002-10-09 Thread Kevin Oberman

 From: Lowell Gilbert [EMAIL PROTECTED]
 Date: 08 Oct 2002 21:34:44 -0400
 Sender: [EMAIL PROTECTED]
 
 Cherie  John Carri [EMAIL PROTECTED] writes:
 
  even the most reputable Linux distros. My experience with my FreeBSD 4.6
  install has therefore been an unpleasant surprise. Has this been a
  common problem with this version, or is it something about my hardware?
 
 Neither, really.  It's a new security feature.  It's covered in the FAQ.

New? I think that it's been there ever since XFree86 V4 came to
FreeBSD. Of course, XFree86 V4 just became the default at 4.6, I
guess, but many people have been running it for months to support any
newer video cards.

That said, it is confusing and upsetting when this hits the first
time. And more so when you realize that you must re-install wrapper
every time you re-build your X server. But the security problems of
living without the wrapper are simply unacceptable.

R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: [EMAIL PROTECTED]  Phone: +1 510 486-8634

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



ASUS P4S533 on-board LAN

2002-10-09 Thread Mike Jeays

I recently bought a machine with an ASUS P4S533 motherboard,
and FreeBSD 4.6 does not see the on-board LAN connection at
boot-up time.  (Yes, it is enabled in the BIOS.)

Must I buy a separate LAN card, or is there a way to get the
on board connection to work?

Thanks in advance.




-- 
Mike Jeays : Informatics Technology Services Division, Statistics Canada 
Room 3200, Main Building, Holland Avenue, Ottawa, Ontario, K1A 0T6
Voice (613)-951-9929
Web page : http://www.ncf.carleton.ca/~ad161

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: ASUS P4S533 on-board LAN

2002-10-09 Thread Matthew Emmerton

 I recently bought a machine with an ASUS P4S533 motherboard,
 and FreeBSD 4.6 does not see the on-board LAN connection at
 boot-up time.  (Yes, it is enabled in the BIOS.)

 Must I buy a separate LAN card, or is there a way to get the
 on board connection to work?

 Thanks in advance.

Can you provide us the dmesg output that shows what FreeBSD is seeing?  I'm
betting that it's seeing a 'sis' internet device but is spewing out an error
about the PHY.

--
Matt Emmerton


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Re: startx crashes for non-root users on Free86 4.2.0/FreeBSD 4.6

2002-10-09 Thread Jud



-Original Message-
From: Kevin Oberman [EMAIL PROTECTED]
To: Lowell Gilbert [EMAIL PROTECTED]
Date: Wed, 09 Oct 2002 13:12:48 -0700
Subject: Re: startx crashes for non-root users on Free86 4.2.0/FreeBSD 4.6 

[snip]
New? I think that it's been there ever since XFree86 V4 came to
FreeBSD. Of course, XFree86 V4 just became the default at 4.6, I
guess, but many people have been running it for months to support any
newer video cards.

That said, it is confusing and upsetting when this hits the first
time. And more so when you realize that you must re-install wrapper
every time you re-build your X server. But the security problems of
living without the wrapper are simply unacceptable.

R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: [EMAIL PROTECTED]  Phone: +1 510 486-8634



Wonder if fewer people would be surprised by this if
a warning about it appeared at the beginning as well
as the end of the port build process?  Then what to do
about package installs, e.g., using
/stand/sysinstall?

Jud


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Savage 2000 (Diamond Viper Chipset) problems on X

2002-10-09 Thread Doug Poland

Todd Robonson said:
 That did the trick Doug!

 I put just dropped in the driver and it worked like a charm. Thank
 you very much!

Glad to hear it.  Did you try the savage driver that came with X or
did you just use the one from
http://www.probo.com/timr/savage40.html?

-- 
Regards,
Doug


 On Mon, 2002-10-07 at 09:51, Todd Robinson wrote:

 hmmm

 Yes, I would love to see your XF86Config file. I have tomorrow
 off and will have more time to play with it.

 Thank you, I really appreciate it.
 Todd


 - Original Message -
 From: Doug Poland [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
 Sent: Monday, October 07, 2002 9:47 AM
 Subject: Re: Savage 2000 (Diamond Viper Chipset) problems on X


  Todd Robinson said:
   I suspect it is because there were two versions of the
 card and mine is the older of the two with the Diamond
 Viper II chipset.  I have another card, a Number Nine with
 the Savage chipset,  that works great with the savage
 driver on an identical system (except for the video card).
  
   I don't suppose there are any Diamond Viper II users out
 there?
  
  The box mine came in says Diamond Viper II all over it.
 
  --
  Regards,
  Doug
 
 
  
   - Original Message -
   From: Doug Poland [EMAIL PROTECTED]
   To: Todd Robinson [EMAIL PROTECTED]
   Cc: [EMAIL PROTECTED]
   Sent: Sunday, October 06, 2002 5:20 PM
   Subject: Re: Savage 2000 (Diamond Viper Chipset) problems
 on X
  
  
   On Sun, Oct 06, 2002 at 01:45:07PM -0400, Todd Robinson
 wrote:
Having a mind-bender of a time with a S3 Savage 2000
 video
   card.
   
The problem is that XFree86 4.2.0_1,1 does not seem to
 have
   drivers that work for this card.
   
Previously the same card (also not working with the
 Savage
   2000 drivers) worked great with the Diamond Viper II
 driver. I have used this card for
   a
few years and I have continued to use it because it
 never
   failed to work with XFree86 before, but this has me
 stumped.
   
I've searched thru the news groups (where this mail
 list is
   mirrored)
   and
have not been able to get things going. If anyone has
 any tips
   or has
   gotten
either this card, or a Diamond Viper II to run on this
 XFree
   version any advice would be more than welcome!
   
   Works for me (accelerated).
  
   # XFree86 -version
  
   XFree86 Version 4.2.0 / X Window System
   (protocol Version 11, revision 0, vendor release 6600)
   Release Date: 18 January 2002
   Build Operating System: FreeBSD 4.5 i386 [ELF]
   Module Loader present
  
   # uname -a
   FreeBSD sheba.polands.org 4.6-STABLE FreeBSD 4.6-STABLE
 #0: Sun Jun 16
   07:05:58
   CDT 2002
 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/PCI i386
  
   # dmesg | grep -i s3
   pci1: S3 model 9102 graphics accelerator at 0.0 irq 11
  
   # dmesg | grep -i agp
   pcib1: VIA 8363 (Apollo KT133) PCI-PCI (AGP) bridge at
 device 1.0 on
   pci0
  
   # grep -C3 savage /etc/XF86Config
  
   Section Device
   Identifier  S3-Savage2000
   Driver  savage
   ChipSet Savage2000
   CardS3 Savage2000
   EndSection
  
   Let me know if you want to see my XF86Config file
  
   --
   Regards,
   Doug
  
  
   To Unsubscribe: send mail to [EMAIL PROTECTED]
   with unsubscribe freebsd-questions in the body of the
 message
  
  
  
   To Unsubscribe: send mail to [EMAIL PROTECTED]
   with unsubscribe freebsd-questions in the body of the
 message
 
 
 
 
  To Unsubscribe: send mail to [EMAIL PROTECTED]
  with unsubscribe freebsd-questions in the body of the
 message
 


 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the
 message





To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: ASUS P4S533 on-board LAN

2002-10-09 Thread Tim Gardner

Mike,

I recently bought a machine with an ASUS P4S533 motherboard,
and FreeBSD 4.6 does not see the on-board LAN connection at
boot-up time.  (Yes, it is enabled in the BIOS.)

Must I buy a separate LAN card, or is there a way to get the
on board connection to work?

I recently installed 4.6.2 on a p4b533-v.  This has the Intel 82562ET 
PHY chip; I'm not sure about the P4S533, but perhaps it is the same. 
I installed bsd without the LAN, and then had to compile the kernel 
with fxp.  That still wasn't enough: I needed a patch.

Here is the link that saved the day:

http://www.geocrawler.com/archives/3/145/2002/6/50/9058043/

And here is the patch:

Add an entry to sys/dev/fxp/if_fxp.c to catch the new chipset.

--- if_fxp.cSat Jun 29 03:07:03 2002
+++ if_fxp.c-patchedSat Jun 29 03:06:43 2002
@@ -160,6 +160,7 @@
  { 0x1037,  Intel Pro/100 Ethernet },
  { 0x1038,  Intel Pro/100 Ethernet },
  { 0x1039,  Intel Pro/100 Ethernet },
+{ 0x103A,  Intel Pro/100 Ethernet },
  { 0,   NULL },
  };


Recompiled the kernel and rebooted.
Then /stand/sysinstall at some point to configure the fxp with my ip's.
Rebooted with a cable plugged in and it found the connection!

Tim



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: ASUS P4S533 on-board LAN

2002-10-09 Thread Kent Stewart



Tim Gardner wrote:
 Mike,
 
 I recently bought a machine with an ASUS P4S533 motherboard,
 and FreeBSD 4.6 does not see the on-board LAN connection at
 boot-up time.  (Yes, it is enabled in the BIOS.)

 Must I buy a separate LAN card, or is there a way to get the
 on board connection to work?
 
 
 I recently installed 4.6.2 on a p4b533-v.  This has the Intel 82562ET 
 PHY chip; I'm not sure about the P4S533, but perhaps it is the same. I 
 installed bsd without the LAN, and then had to compile the kernel with 
 fxp.  That still wasn't enough: I needed a patch.
 

That doesn't apply here. From a spec file at ASUSTeK on the P4S533, it 
is a

Pentium 4 [Socket 478] Motherboard based on SiS Chipset

This provides an SiS900 on-board LAN.

Kent

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Is ther any debugger for c and c++ programs in freebsd4.4?

2002-10-09 Thread Gary W. Swearingen

Jerry McAllister [EMAIL PROTECTED] writes:

 Please put your question in the body of your message and limit the
 subject to jsut a title for your posting.
 It will make it much easier for people to read your question and
 to make a helpful response.

I find it easier to read one question in the subject line and not have
to read something (restated in question form?) in the body.

Please explain your complaint further.  What is the problem?  Do people
not read Subject lines?  I'm suprised (and somewhat embarassed for
FreeBSD) to see 3 out of 4 responders jump on the guy about something
that seems to me good, or at least no worse than trivially non-standard.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



simple audio streaming

2002-10-09 Thread Brian Henning

Hello-
I would like to take my fm radio and plug it into my sound card and stream
this audio over the internet. I looked in the /usr/ports/audio directory for
a package, but i wasn't sure what to use. Can someone give me some advice on
what would work to solve my problem...
thanks,
brian


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: WAS: Is ther any debugger for c and c++ NOW: Subject Lines

2002-10-09 Thread Jerry McAllister

 
 Jerry McAllister [EMAIL PROTECTED] writes:
 
  Please put your question in the body of your message and limit the
  subject to jsut a title for your posting.
  It will make it much easier for people to read your question and
  to make a helpful response.
 
 I find it easier to read one question in the subject line and not have
 to read something (restated in question form?) in the body.
 
 Please explain your complaint further.  What is the problem?  Do people
 not read Subject lines?  I'm suprised (and somewhat embarassed for
 FreeBSD) to see 3 out of 4 responders jump on the guy about something
 that seems to me good, or at least no worse than trivially non-standard.

It is very hard to follow a thread while having to look back 
through the jumble of header stuff to find the question being
discussed in a subject line.   It is also difficult to quote the 
question in context of the response.

If you are asking for help, you want to make it as easy as possible
for people to read you question and respond.

Of course, please put in a meaningful subject line.  Those who
just put 'help' or 'need info' for a subject are impolite also.

By the way, people did try to make meaninful responses to that poster
as well as advising on courteous posting behavior.

jerry


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: simple audio streaming

2002-10-09 Thread Scott St. John

I am trying to move to FreeBSD, but my Netfinity machines with ServerRaid 
controllers
don't work.  That is another topic.  You want to check out Icecast, this 
will do the streaming
for you.  There are several additional programs you can use to get your 
stream to Icecast,
XMMS will send the audio to Icecast to stream.
www.icecast.org.

I think Shoutcast also has a FreeBSD port since most of the developers use 
it for their
personal machines.  www.shoutcast.com.

-Scott



At 03:37 PM 10/9/2002 -0500, Brian Henning wrote:

Hello-
I would like to take my fm radio and plug it into my sound card and stream
this audio over the internet. I looked in the /usr/ports/audio directory for
a package, but i wasn't sure what to use. Can someone give me some advice on
what would work to solve my problem...
thanks,
brian


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.394 / Virus Database: 224 - Release Date: 10/3/2002



Re: help with ln linking Please! [attn manpage authors!]

2002-10-09 Thread Oliver Fromme

Gary W. Swearingen [EMAIL PROTECTED] wrote:
  Oliver Fromme [EMAIL PROTECTED] writes:
   Gary W. Swearingen [EMAIL PROTECTED] wrote:
 ln [-fhinsv] linked_filename [link_filename]
 ln [-fhinsv] linked_filename ... dir_filename
 link existing_filename alternate_filename
 
 This is cleaner, but I think filename should be standard in filenames.
   
   But it is not a filename.
  
  It's a string which is used by ln(1) and the kernel's directory software
  for a filename; if people want to misuse it for storing PIDs or control
  strings or MP3s, that's an abuse of the system which the manual shouldn't
  bother to accommodate.

No, it is not an abuse.  It is utilizing standard UNIX
behaviour, for very good reason.

(I have to admit that I wouldn't want to store an MPEG file
in the string of a symbolic link, though, and I can't
imagine a good reason why someone would want to do that.
Apart from that, the length of symbolic links is limited by
SYMLINK_MAX, which is 1023 bytes.)

 Yuck; malloc.conf is nasty.
   
   No, it's extremely useful and efficient.
   ...
   Also, symlinks are an easy way to atomically check and create
   lockfiles in shell scripts.
  
  Useful, efficient, easy -- and yucky, nasty, kludgy.  Apt to break
  if the directory scheme changes or to prevent improvements to same.

I don't know what you mean by if the directory scheme
changes.  The behaviour of symbolic links is well-defined,
exists for ages, and is fundamental to UNIX filesystems.

Let me quote from the SUSv3 / IEEE Std 1003.1-2001 (POSIX)
specification of the symlink() systemcall, which should be
regarded as authoritative:

 | int symlink(const char *path1, const char *path2);
 | 
 | The symlink() function shall create a symbolic link
 | called path2 that contains the string pointed to by
 | path1 (path2 is the name of the symbolic link
 | created, path1 is the string contained in the symbolic
 | link).
 | 
 | The string pointed to by path1 shall be treated only
 | as a character string and shall not be validated as a
 | pathname.
 | [...]
 | 
 | The presence of a hard link guarantees the existence of
 | a file, even after the original name has been removed.
 | A symbolic link provides no such assurance; in fact, the
 | file named by the path1 argument need not exist when
 | the link is created.

I think that's as clear as it can be.

Maybe the problem with the ln(1) manpage stems from the
historical mistake to support hard links and symbolic links
with the same utility (ln), even though they are really
fundamentally different concepts.  It's two separate system
calls (link(2) for hard links, symlink(2) for symblic
links).  It should really be two different utilities (or
at least two different hard links to the same utility),
with two different manual pages.

Regards
   Oliver

-- 
Oliver Fromme, secnetix GmbH  Co KG, Oettingenstr. 2, 80538 München
Any opinions expressed in this message may be personal to the author
and may not necessarily reflect the opinions of secnetix in any way.

All that we see or seem is just a dream within a dream (E. A. Poe)

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



setregid question

2002-10-09 Thread Mikhail Kruk

I have the following program:

main()
{
   printf(uid: %d\n, getuid());
   printf(euid: %d\n, geteuid());

   system(/root/uid.sh);

   setreuid(geteuid());
   setregid(getegid());
   printf(uid: %d\n, getuid());
   printf(euid: %d\n, geteuid());

   system(/root/uid.sh);
}

where uid.sh runs 'id' command.
I make executable 
chown meshko a.out; chgrp meshko a.out ; chmod 6770 a.out

and when I run it I get the following output:

uid: 0
euid: 1001
uid=0(root) euid=1001(meshko) gid=0(wheel) egid=1001(meshko) 
groups=1001(meshko), 0(wheel), 2(kmem), 3(sys), 4(tty), 5(operator), 
20(staff), 31(guest)
uid: 1001
euid: 1001
uid=1001(meshko) gid=1001(meshko) groups=1001(meshko), 0(wheel), 2(kmem), 
3(sys), 4(tty), 5(operator), 20(staff), 31(guest)

It seems to do everything the way I expect it, except for the printout of 
the group membership. I'm trying to lower my real group id to my effective 
group id, and gid output reflects the change, but I still get the list of 
groups in which root it... How come?


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: FTP gone weird

2002-10-09 Thread Michael Collette

On the recommondation of an off list response I attempted using some other 
tools instead of ftp.  Tried fetch, wget, and even curl.  wget didn't like 
the port forwarding, cron or not.

Both fetch and curl work off the command line.  They also don't produce an 
error when run from cron.  Neither one is actually getting the file though.

What in the heck is it about cron that goofs these ports up??

Later on,

Michael Collette wrote:
 Having a heck of a time with what I thought would be a pretty simple cron
 job
 of pulling down a web log via FTP.  In the process, I've run into a wall
 of port problems.
 
 The Scenario:
 I'm running an ssh session looped back to itself so as to configure a
 tunneled port forward from localhost:2121 to remoteserver:21
 
 My cron job calls a small shell script that puts together the proper file
 name to get for the day, then issues the following command...
 
 ftp ftp://${USER}:${PW}@${SITE}:${PT}${REMDIR}${FILE}
 
 The site and port vars are set to localhost:2121 to go through the
 tunnel. When I run this script from a command line, it works exactly as I
 would
 expect it to.  From cron, I get the following error...
 
 Data connection to 127.0.0.1:49159 is not allowed when control connection
 is from 10.10.10.10:3553!
 
 The from IP is faked for this example.  The actual error has the routeable
 IP
 address of this box.  The port numbers both increment on each attempt.
 
 The end goal here is to just automate an FTP download through an SSH
 tunnel. The remote machine is not running sftp, nor do I have admin rights
 to it. SSH forwarding is pretty much my only option there.
 
 Any ideas?
 
 Later on,

-- 
Outside of a dog, a book is man's best friend. Inside of a dog, it's too dark 
to read.
 - Groucho Marx

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



RE: Linux emulation: acd0a is not a cooked ioctl CDROM

2002-10-09 Thread Lucky Green

Lowell wrote:
 Lucky Green [EMAIL PROTECTED] writes:
 
  Do you believe that the ATAPI/CAM patches at 
  http://www.cuivre.fr.eu.org/~thomas/atapicam/ might make cdparanoia 
  compatible with an ATAPI drive on FreeBSD?
 
 Probably.
 
 I guess that 
 would mean the 
  patches would have to provide the cooked ioctl that cdparanoia 
  wants.
 
 Not necessarily.  Also not important.

Thanks everybody for their help. I made some progress. After installing
the ATAPI/CAM patches on FreeBSD 4.6.2, cdparanoia now sees my ATAPI
CDROM drive, though cdparanoia can't read from the drive because
cdparanoia erroneously believes that the drive does not support CDDA.

I have verified that I can access the drive using cdda2wav using both
/dev/acd0c (ATAPI) and 0,0,0 (SCSI). [cdda2wav does not seem to support
the /dev/* notation for SCSI CDROM drives].

Output follows. Note the error message about ioctl's at the bottom.

Any ideas what to try next?

Thanks,
--Lucky Green

--
su-2.05b# ./cdparanoia -vsQ
cdparanoia III release 9.7 (December 13, 1999)
(C) 1999 Monty [EMAIL PROTECTED] and Xiphophorus

Report bugs to [EMAIL PROTECTED]
http://www.xiph.org/paranoia/

Checking /dev/cdrom for cdrom...
Testing /dev/cdrom for cooked ioctl() interface
CDROM sensed: Sony CDU31A or compatible


TOC entry claims an overly large start offset: massaging.

TOC entry claims an overly large start offset: massaging.

TOC entry claims an overly large start offset: massaging.

TOC entry claims an overly large start offset: massaging.

TOC entry claims a negative start offset: massaging.

TOC entry claims an overly large start offset: massaging.

TOC entry claims a negative start offset: massaging.

TOC entry claims an overly large start offset: massaging.

TOC entry claims a negative start offset: massaging.

TOC entry claims an overly large start offset: massaging.

TOC entry claims a negative start offset: massaging.

TOC entries claim non-increasing offsets: massaging.

TOC entries claim non-increasing offsets: massaging.

TOC entries claim non-increasing offsets: massaging.

TOC entries claim non-increasing offsets: massaging.

TOC entries claim non-increasing offsets: massaging.

TOC entries claim non-increasing offsets: massaging.

TOC entries claim non-increasing offsets: massaging.

TOC entries claim non-increasing offsets: massaging.

TOC entries claim non-increasing offsets: massaging. Verifying
drive can read CDDA...

Unable to read any data; drive probably not CDDA capable.
006: Could not read any data from drive

Cdparanoia could not find a way to read audio from this drive.

su-2.05b# cdrecord -scanbus
Cdrecord 1.11a28 (i386-unknown-freebsd4.6.2) Copyright (C) 1995-2002
Jörg 
Schilling
Using libscg version 'schily-0.6'
scsibus0:
0,0,0 0) 'YAMAHA  ' 'CRW4416E' '1.0j' Removable
CD-ROM
0,1,0 1) *
0,2,0 2) *
0,3,0 3) *
0,4,0 4) *
0,5,0 5) *
0,6,0 6) *
0,7,0 7) *
su-2.05b#
[...]
/var/log/messages shows the following error:

From /var/log/messages:
Oct  9 14:31:43 cheesy /kernel: linux: 'ioctl' fd=3, cmd=0x5310 ('S',16)
not 
implemented
Oct  9 14:31:43 cheesy /kernel: linux: 'ioctl' fd=3, cmd=0x530e ('S',14)
not 
implemented
---


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Ping to broadcast ok from subnet, not ok otherwise

2002-10-09 Thread Kevin Oberman

 Date: Wed, 9 Oct 2002 15:41:21 -0600 (MDT)
 From: Nick Rogness [EMAIL PROTECTED]
 Sender: [EMAIL PROTECTED]
 
 On Wed, 9 Oct 2002, TheGlenMann wrote:
 
  From the deft fingers of Nick Rogness...
   On Wed, 9 Oct 2002, TheGlenMann wrote:
  
   Hi all-
  
   (Is this list working right? - I'm getting lots of wierd stuff in the
   digests...but anyway...)
  
   Other attempts to find the answer to this have failed, hopefully this
   isn't too off-topic.
  
   We have several subnets connected via Frame Relay. Call them 10.10.1,
   10.10.2, 10.10.3, etc. On each, the gateway is the 254 address, e.g.,
   10.10.1.254.
  
   Sitting at a 10.10.1.n machine, I can ping the gateway 10.10.x.254 on
   every subnet. However, a ping to the broadcast address as
 ping -c1 10.10.x.255
   fails on some of the subnets (from outside that subnet). From within
   the subnet, the ping to the broadcast succeeds everywhere. Pings to
   known hosts (and 10.10.x.254) succeed always from everywhere.
  
   So, my question is, why would I be able to successfully ping to the
   broadcast address from within a subnet but not from outside the
   subnet, but only in certain cases? We have a mix of windows, FreeBSD,
   router, and other machines on each subnet. (I'm led to ask all this
   since where the broadcast doesn't work from outside the subnet,
   neither does DHCP, which is proving to be a real problem!)
  
 Do you have Cisco routers connecting your frame's together?
  
 
 
  We have a Cisco router for the T1 to the internet, but the frame routers
  are Motorola/Vanguard 320 with a Vanguard 6520 at our main location.
  I've looked at the settings on the 320's, but with no luck (I cannot
  access the 6520 at all - I'm locked out).
 
   The reason I asked is because cisco's 'no ip directed-broadcast'
   would be dropping these packets.  My guess is that the Vanguard is
   doing the same.  This was mentioned in a another email.
 
 
  I've was told by our vendor that Well, DHCP is known to 'just stop
  working' on the 320's...you need an expensive software upgrade. Not
  acceptable, since nothing changed. Vanguard (who bought the Motorola
  Vanguard equipment line) would not even think about the question for
  less than $600.
 
   If you are not getting DHCP requests through then you need to be
   running some sort of DHCP relay or rely on the router to forward
   these broadcast requests to your DHCP servers (which actually turn
   the broadcast into a unicast and forward it).
 
   Also, some OS's do not respond to directed broadcasts.

Responding to directed broadcasts by an end node is optional and some
don't. No router should ever forward directed broadcasts unless the
owner of the router deliberately turns on this (mis)feature. 

The older RFC (1122?) mandated that routers could turn it off but had
to default to forwarding. This was changed after SMURF attacks became
popular to MUST default to not forwarding. All routers I have used
recently do this correctly. (Cisco, Juniper, Foundry).

R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: [EMAIL PROTECTED]  Phone: +1 510 486-8634


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



RE: pcAnywhere over ppp

2002-10-09 Thread JoeB

Pcanywhere has to be run from a pc that has a public ip address to
the other pc which also has to be on a public ip address.

What I do is have the user of the pc I want to take over to dial out to the
internet
and establish it's connection, then start pcanywhere and configure it to
wait for incoming connection request.

On the pc I am using I configure pcanywhere with the high order public ip
address
numbers and pcanywhere then scans whole ip address block for a ip address
that is pcanywhere aware.

You really have to read the instruction that come with pcanywhere for
details.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Lane Holcombe
Sent: Wednesday, October 09, 2002 2:37 PM
To: [EMAIL PROTECTED]
Subject: pcAnywhere over ppp

I have a number of clients for whom I periodicaly dial in to provide
consulting services.
In all cases I use ppp on FreeBSD 4.5.  Many clients have RAS servers,
AS/400 modems, and
several other remote dial-in facilities.

But one client uses pcAnywhere and I cannot seem to connect with it.

Below is the /var/log/ppp.log file.  Typically I can determine the cause of
a rejected
connection, but this time it is unclear.  I see LCP: deflink: State change
Stopped --
Closed but I can't figure out what causes it.:

If anyone has experience with ppp over pcAnywhere modem connection then
please clue me in.

Thanks, lane

Oct  9 12:59:11 joeandlane ppp[20895]: Phase: Using interface: tun0
Oct  9 12:59:11 joeandlane ppp[20895]: Phase: deflink: Created in closed
state
Oct  9 12:59:11 joeandlane ppp[20895]: tun0: Command: default: set speed
115200
Oct  9 12:59:11 joeandlane ppp[20895]: tun0: Command: default: set dial
ABORT BUSY ABORT
NO\sCARRIER TIMEOUT 5 AT OK-AT-OK ATE1Q0M1 OK \dATDT\T TIMEOUT
40 CONNECT
Oct  9 12:59:11 joeandlane ppp[20895]: tun0: Command: default: set ifaddr
10.0.0.1/0
10.0.0.2/0 255.255.255.0 0.0.0.0
Oct  9 12:59:11 joeandlane ppp[20895]: tun0: Command: default: set timeout
360
Oct  9 12:59:11 joeandlane ppp[20895]: tun0: Command: thebank: set phone
199
Oct  9 12:59:11 joeandlane ppp[20895]: tun0: Command: thebank: set authname
my.userid
Oct  9 12:59:11 joeandlane ppp[20895]: tun0: Command: thebank: set authkey

Oct  9 12:59:11 joeandlane ppp[20896]: tun0: Phase: PPP Started (auto mode).
Oct  9 12:59:11 joeandlane ppp[20896]: tun0: Phase: bundle: Establish
Oct  9 12:59:11 joeandlane ppp[20896]: tun0: Phase: deflink: closed -
opening
Oct  9 12:59:11 joeandlane ppp[20896]: tun0: Phase: deflink: Connected!
Oct  9 12:59:11 joeandlane ppp[20896]: tun0: Phase: deflink: opening - dial
Oct  9 12:59:11 joeandlane ppp[20896]: tun0: Chat: Phone: 199
Oct  9 12:59:11 joeandlane ppp[20896]: tun0: Chat: deflink: Dial attempt 1
of 1
Oct  9 12:59:11 joeandlane ppp[20896]: tun0: Chat: Send: AT^M
Oct  9 12:59:11 joeandlane ppp[20896]: tun0: Chat: Expect(5): OK
Oct  9 12:59:16 joeandlane ppp[20896]: tun0: Chat: Expect timeout
Oct  9 12:59:16 joeandlane ppp[20896]: tun0: Chat: Send: AT^M
Oct  9 12:59:16 joeandlane ppp[20896]: tun0: Chat: Expect(5): OK
Oct  9 12:59:16 joeandlane ppp[20896]: tun0: Chat: Received: AT^M^M
Oct  9 12:59:16 joeandlane ppp[20896]: tun0: Chat: Received: OK^M
Oct  9 12:59:16 joeandlane ppp[20896]: tun0: Chat: Send: ATE1Q0M1^M
Oct  9 12:59:16 joeandlane ppp[20896]: tun0: Chat: Expect(5): OK
Oct  9 12:59:16 joeandlane ppp[20896]: tun0: Chat: Received: ATE1Q0M1^M^M
Oct  9 12:59:16 joeandlane ppp[20896]: tun0: Chat: Received: OK^M
Oct  9 12:59:16 joeandlane ppp[20896]: tun0: Chat: Send: ATDT199^M
Oct  9 12:59:18 joeandlane ppp[20896]: tun0: Chat: Expect(40): CONNECT
Oct  9 12:59:33 joeandlane ppp[20896]: tun0: Chat: Received:
ATDT199^M^M
Oct  9 12:59:33 joeandlane ppp[20896]: tun0: Chat: Received: CONNECT
115200^M
Oct  9 12:59:33 joeandlane ppp[20896]: tun0: Phase: deflink: dial - carrier
Oct  9 12:59:34 joeandlane ppp[20896]: tun0: Phase: deflink: /dev/cuaa0: CD
detected
Oct  9 12:59:34 joeandlane ppp[20896]: tun0: Phase: deflink: carrier -
login
Oct  9 12:59:34 joeandlane ppp[20896]: tun0: Phase: deflink: login - lcp
Oct  9 12:59:34 joeandlane ppp[20896]: tun0: LCP: FSM: Using deflink as a
transport
Oct  9 12:59:34 joeandlane ppp[20896]: tun0: LCP: deflink: State change
Initial -- Closed
Oct  9 12:59:34 joeandlane ppp[20896]: tun0: LCP: deflink: State change
Closed -- Stopped
Oct  9 12:59:35 joeandlane ppp[20896]: tun0: LCP: deflink: LayerStart
Oct  9 12:59:35 joeandlane ppp[20896]: tun0: LCP: deflink: SendConfigReq(1)
state =
Stopped
Oct  9 12:59:35 joeandlane ppp[20896]: tun0: LCP:  ACFCOMP[2]
Oct  9 12:59:35 joeandlane ppp[20896]: tun0: LCP:  PROTOCOMP[2]
Oct  9 12:59:35 joeandlane ppp[20896]: tun0: LCP:  ACCMAP[6] 0x
Oct  9 12:59:35 joeandlane ppp[20896]: tun0: LCP:  MRU[4] 1500
Oct  9 12:59:35 joeandlane ppp[20896]: tun0: LCP:  MAGICNUM[6] 0xe9ee6b65
Oct  9 12:59:35 joeandlane ppp[20896]: tun0: LCP: deflink: State change
Stopped --
Req-Sent
Oct  9 12:59:38 

Re: Secure FTPd

2002-10-09 Thread Socketd

 Original Message 

On 10/8/02, 7:10:12 AM, Doug Hardie [EMAIL PROTECTED] wrote regarding Re: 
Secure FTPd:

 On Monday, Oct 7, 2002, at 17:18 US/Pacific, Eric Parusel wrote:

  Hmm, I think you two *may* be doing down the wrong path...
  There's a (proposed) standard for encrypted FTP, it's called
  FTP over TLS ...
 
  Here's a link:
  http://www.ford-hutchinson.com/~fh-1-pfh/ftps-ext.html
 

The above link mentions to ssl ftp servers, BSDFTP-server and ProFTP-SSL, 
but none of them are in the ports?

Br
socketd


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Digest oddities (was Re: Ping to broadcast ok from subnet, not ok otherwise)

2002-10-09 Thread Philip J. Koenig

On 9 Oct 2002 at 13:26, questions-digest boldly uttered: 

 Date: Wed, 9 Oct 2002 10:58:19 -0400 (EDT)
 From: TheGlenMann [EMAIL PROTECTED]
 Subject: Ping to broadcast ok from subnet, not ok otherwise
 
 Hi all-
 
 (Is this list working right? - I'm getting lots of wierd stuff in the
 digests...but anyway...)
 


The following string that Roman Neuhauser [EMAIL PROTECTED]
is using as a signature is confusing my mailreader into thinking the 
digest has attachments whenever he posts a message, and it truncates 
the digest in the normal reader at that point too:


 - -- 
 begin 666 nonexistent.vbs
 FreeBSD 4.7-RC
 7:48PM up 22 days, 3:03, 18 users, load averages: 0.43, 0.26, 0.15 
 end
 


--
Philip J. Koenig   [EMAIL PROTECTED]
Electric Kahuna Systems -- Computers  Communications for the New Millenium



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Digest oddities

2002-10-09 Thread Andy Walden


On Wed, 9 Oct 2002, Philip J. Koenig wrote:


 The following string that Roman Neuhauser [EMAIL PROTECTED]
 is using as a signature is confusing my mailreader into thinking the
 digest has attachments whenever he posts a message, and it truncates
 the digest in the normal reader at that point too:

May I suggest a functional mail reader then such as Pine or perhaps Mutt?

andy

--
PGP Key Available at http://www.tigerteam.net/andy/pgp


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: FreeBSD usage in safety-critical environments

2002-10-09 Thread Ted Faber

On Wed, Oct 09, 2002 at 12:26:14PM -0700, Terry Lambert wrote:
 Life support systems require formal proofs of correctness for code;
 since neither Linux nor FreeBSD is formally correct, in total, you
 would need to be insane to deplaoy either of them as, for example,
 a part of an air traffic control system.

I suspect that's a bad example, or that you mean an embedded aircraft
control system.  Ron Reisman and James Murphy gave a fine invited talk
at USENIX 02 (http://www.usenix.org/events/usenix02/tech/#11am) about
the growing number of UNIX components in the US ATC system.  I reject
the conclusion that the FAA is collectively insane for that reason.

--
Ted Faber[EMAIL PROTECTED]
USC/ISI Computer Scientist   http://www.isi.edu/~faber
(310) 448-9190 PGP Keys: http://www.isi.edu/~faber/pubkeys.asc



msg04563/pgp0.pgp
Description: PGP signature


Re: make world script

2002-10-09 Thread parv

in message [EMAIL PROTECTED],
wrote George Vagner thusly...

 I am looking for a script that I can run a cron on that will
 update my sources and ports,

i do these two steps y hand occasionally; shouldn't be too hard to
come up w/ something yourself.


 build world, kernel and install everything without touching my
 network settings so i can get back in later.

below is the script which builds world, then kernel, and then
installs the kernel; it saves the log of the three processes in
three files...

  http://www103.pair.com/parv/comp/unix/bin/cleanbw

...make changes as appropriate for your situation.


  - parv

-- 


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



vmware

2002-10-09 Thread SweeTLeaF

I am wanting to try VMware to emulate XP and have a few questions for 
those who are using it.

Currently i am booting between , freebsd, redhat and XP. These OS's are 
already installed on their own native partitions. This is my first 
question, I want to use freebsd as my host OS for vmware: Can i tell 
vmware to use the already existing NTFS partition and ext3 linux 
partition like you can in wine or do i have to reinstall both linux and 
XP under vmware emulation?  I really don't want to reinstall XP and 
Redhat as they are all setup and running great.  If this is feasible 
please elaborate or point to reference material as the vmware guide 
suggest you have to install all the virtual hosts OS's under vmware 
emulation.

Memory: I have a athlon 1800+ with 256/ddr 2100 ram...is this enough to 
run all 3 OS's @ the same time, and if not what would be the recommended 
amount?


Thanks in advance for any help.

By the way is 4.7 release out? The reason i ask is because i see the 4.7 
dir on the ftp, but there is no disk 1 there is 2,3,4 but no 1. The 
first disk says 4.7rc2.is this the first disk for the final 4.7 rel?





To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Puzzling Simple NATD and IPFW Problem

2002-10-09 Thread 2005 - Chill, Samuel Thomas

After fixing all of these problems still it does not work!
Im running FreeBSD 4.6-STABLE
Using two realtek 8139's (rl0 external rl1 internal)
External is Dhcp to cable modem
Internal ip is 10.0.0.1
Client machines have 10.0.0.x as there ip and 10.0.0.1 set as there gateway and dns
-- Original Message --
From: D. Penev [EMAIL PROTECTED]
Date: Wed, 9 Oct 2002 21:06:36 +0300

On Wed, Oct 09, 2002 at 12:00:25AM -0400, 2005 - Chill, Samuel Thomas wrote:
Date: Wed,  9 Oct 2002 00:00:25 -0400
From: 2005 - Chill, Samuel Thomas [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: Puzzling Simple NATD and IPFW Problem

Here is the info. Hope it helps solve this problem.
# ifconfig -a
rl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
inet6 fe80::201:aff:fe10:815b%rl0 prefixlen 64 scopeid 0x1
inet 68.59.237.192 netmask 0xf800 broadcast 68.59.239.255
ether 00:01:0a:10:81:5b
media: Ethernet autoselect (100baseTX full-duplex)
status: active
rl1: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
inet 10.0.0.1 netmask 0xff00 broadcast 10.0.0.255
inet6 fe80::2d0:9ff:fec6:15ed%rl1 prefixlen 64 scopeid 0x2
ether 00:d0:09:c6:15:ed
media: Ethernet autoselect (10baseT/UTP)
status: active
lp0: flags=8810POINTOPOINT,SIMPLEX,MULTICAST mtu 1500
sl0: flags=c010POINTOPOINT,LINK2,MULTICAST mtu 552
faith0: flags=8002BROADCAST,MULTICAST mtu 1500
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x6
inet 127.0.0.1 netmask 0xff00
ppp0: flags=8010POINTOPOINT,MULTICAST mtu 1500

# ipfw -a l
00100 160  72611 divert 8668 ip from any to any via rl0
00200 661 115174 allow ip from any to any
65535   4581 deny ip from any to any

# netstat -rn
Routing tables

Internet:
DestinationGatewayFlagsRefs  Use  Netif Expire
default68.59.232.1UGSc95rl0
10/24  link#2 UC  20rl1
10.0.0.3   00:04:5a:53:4d:92  UHLW2 2109rl1241
10.0.0.4   00:04:5a:53:4d:92  UHLW2  679rl1   1050
68.59.232/21   link#1 UC  20rl0
68.59.232.100:02:fc:82:f0:54  UHLW   100rl0   1199
68.59.237.177  00:02:fc:82:f0:70  UHLW06rl0163
68.59.237.192  127.0.0.1  UGHS00lo0
127.0.0.1  127.0.0.1  UH  10lo0

Internet6:
Destination   Gateway   Flags  Netif 
Expire
::1   ::1   UH  lo0
fe80::%rl0/64 link#1UC  rl0
fe80::201:aff:fe10:815b%rl0   00:01:0a:10:81:5b UHL lo0
fe80::%rl1/64 link#2UC  rl1
fe80::2d0:9ff:fec6:15ed%rl1   00:d0:09:c6:15:ed UHL lo0
fe80::%lo0/64 fe80::1%lo0   Uc  lo0
fe80::1%lo0   link#6UHL lo0
ff01::/32 ::1   U   lo0
ff02::%rl0/32 link#1UC  rl0
ff02::%rl1/32 link#2UC  rl1
ff02::%lo0/32 ::1   UC  lo0

# sysctl net.inet.ip.forwarding
net.inet.ip.forwarding: 1

# ps -aux |grep nat
root  216  0.0  0.1   436  292  ??  Is6:13PM   0:00.01 natd -interface rl0

what ps x | grep natd show ? In principle if natd is started from rc.network
first argument must be $natd_flags and then $natd_interface.



# cat /etc/rc.conf
gateway_enable=YES
firewall_enable=YES
firewall_type=/etc/rc.ipfw-queue
firewall_quiet=NO
natd_enabled=YES
^
Is this error really exist in rc.conf ?

natd_interface=rl0
natd_flags=-f /etc/natd.conf
hostname=.andrsn01.tn.comcast.net
ifconfig_rl0=DHCP
ifconfig_rl1=inet 10.0.0.1  netmask 255.255.255.0
inetd_enable=YES
kern_securelevel_enable=NO
linux_enable=YES
lpd_enable=YES
nfs_reserved_port_only=YES
sendmail_enable=YES
sshd_enable=YES
usbd_enable=YES

# cat /etc/natd.conf
dynamic yes
use_sockets yes
same_ports yes
unregistered_only
-- Original Message --
From: Nick Rogness [EMAIL PROTECTED]
Date: Tue, 8 Oct 2002 15:38:00 -0600 (MDT)

On Tue, 8 Oct 2002, 2005 - Chill, Samuel Thomas wrote:

 I have ipfirewall, ipdivert, and dummynet all compiled into my kernel. I
 am able to run run natd and to specify rules with ipfw, i can also ping
 my external interface. My internal network card (rl1) is 10.0.0.1 and my
 lan clients are running on 10.0.0.x. I can ping everything, the network
 is setup properly. Im using 

Security questions

2002-10-09 Thread Socketd

Hi all

I've noticed that syslogd run as root, but why? Syslog just need to 
connect to a port, get messages and write them to some files, so why does 
I have to be root? I know you have to be root to bind() to a port below 
1024, but there should be a syslog user to lower UID to after it have 
done that?!?!?

Btw is the BBS, Heap and stack executable in freebsd? If yes, why? And 
can you guide me to some detailed info about ELF?

Br
socketd

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



RE: pcAnywhere over ppp

2002-10-09 Thread Lane Holcombe

Thanks for your reply.

But I don't use pcAnywhere, my client does.

I just want to establish a TCP/IP connection to their NT host over the phone 
line.  I use ppp from FreeBSD to connect to various types of hosts, but this is 
the first time I've ever had to connect to pcAnywhere.

What I'm trying to determine is how to authenticate to a pcAnywhere host from a 
client using ppp on FreeBSD.


But I get the feeling that pcAnywhere doesn't speak my language.

lane

 Pcanywhere has to be run from a pc that has a public ip address to
 the other pc which also has to be on a public ip address.
 
 What I do is have the user of the pc I want to take over to dial out to the
 internet
 and establish it's connection, then start pcanywhere and configure it to
 wait for incoming connection request.
 
 On the pc I am using I configure pcanywhere with the high order public ip
 address
 numbers and pcanywhere then scans whole ip address block for a ip address
 that is pcanywhere aware.
 
 You really have to read the instruction that come with pcanywhere for
 details.
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Lane Holcombe
 Sent: Wednesday, October 09, 2002 2:37 PM
 To: [EMAIL PROTECTED]
 Subject: pcAnywhere over ppp
 
 I have a number of clients for whom I periodicaly dial in to provide
 consulting services.
 In all cases I use ppp on FreeBSD 4.5.  Many clients have RAS servers,
 AS/400 modems, and
 several other remote dial-in facilities.
 
 But one client uses pcAnywhere and I cannot seem to connect with it.
 
 Below is the /var/log/ppp.log file.  Typically I can determine the cause of
 a rejected
 connection, but this time it is unclear.  I see LCP: deflink: State change
 Stopped --
 Closed but I can't figure out what causes it.:
 
 If anyone has experience with ppp over pcAnywhere modem connection then
 please clue me in.
 
 Thanks, lane
 
 Oct  9 12:59:11 joeandlane ppp[20895]: Phase: Using interface: tun0
 Oct  9 12:59:11 joeandlane ppp[20895]: Phase: deflink: Created in closed
 state
 Oct  9 12:59:11 joeandlane ppp[20895]: tun0: Command: default: set speed
 115200
 Oct  9 12:59:11 joeandlane ppp[20895]: tun0: Command: default: set dial
 ABORT BUSY ABORT
 NO\sCARRIER TIMEOUT 5 AT OK-AT-OK ATE1Q0M1 OK \dATDT\T TIMEOUT
 40 CONNECT
 Oct  9 12:59:11 joeandlane ppp[20895]: tun0: Command: default: set ifaddr
 10.0.0.1/0
 10.0.0.2/0 255.255.255.0 0.0.0.0
 Oct  9 12:59:11 joeandlane ppp[20895]: tun0: Command: default: set timeout
 360
 Oct  9 12:59:11 joeandlane ppp[20895]: tun0: Command: thebank: set phone
 199
 Oct  9 12:59:11 joeandlane ppp[20895]: tun0: Command: thebank: set authname
 my.userid
 Oct  9 12:59:11 joeandlane ppp[20895]: tun0: Command: thebank: set authkey
 
 Oct  9 12:59:11 joeandlane ppp[20896]: tun0: Phase: PPP Started (auto mode).
 Oct  9 12:59:11 joeandlane ppp[20896]: tun0: Phase: bundle: Establish
 Oct  9 12:59:11 joeandlane ppp[20896]: tun0: Phase: deflink: closed -
 opening
 Oct  9 12:59:11 joeandlane ppp[20896]: tun0: Phase: deflink: Connected!
 Oct  9 12:59:11 joeandlane ppp[20896]: tun0: Phase: deflink: opening - dial
 Oct  9 12:59:11 joeandlane ppp[20896]: tun0: Chat: Phone: 199
 Oct  9 12:59:11 joeandlane ppp[20896]: tun0: Chat: deflink: Dial attempt 1
 of 1
 Oct  9 12:59:11 joeandlane ppp[20896]: tun0: Chat: Send: AT^M
 Oct  9 12:59:11 joeandlane ppp[20896]: tun0: Chat: Expect(5): OK
 Oct  9 12:59:16 joeandlane ppp[20896]: tun0: Chat: Expect timeout
 Oct  9 12:59:16 joeandlane ppp[20896]: tun0: Chat: Send: AT^M
 Oct  9 12:59:16 joeandlane ppp[20896]: tun0: Chat: Expect(5): OK
 Oct  9 12:59:16 joeandlane ppp[20896]: tun0: Chat: Received: AT^M^M
 Oct  9 12:59:16 joeandlane ppp[20896]: tun0: Chat: Received: OK^M
 Oct  9 12:59:16 joeandlane ppp[20896]: tun0: Chat: Send: ATE1Q0M1^M
 Oct  9 12:59:16 joeandlane ppp[20896]: tun0: Chat: Expect(5): OK
 Oct  9 12:59:16 joeandlane ppp[20896]: tun0: Chat: Received: ATE1Q0M1^M^M
 Oct  9 12:59:16 joeandlane ppp[20896]: tun0: Chat: Received: OK^M
 Oct  9 12:59:16 joeandlane ppp[20896]: tun0: Chat: Send: ATDT199^M
 Oct  9 12:59:18 joeandlane ppp[20896]: tun0: Chat: Expect(40): CONNECT
 Oct  9 12:59:33 joeandlane ppp[20896]: tun0: Chat: Received:
 ATDT199^M^M
 Oct  9 12:59:33 joeandlane ppp[20896]: tun0: Chat: Received: CONNECT
 115200^M
 Oct  9 12:59:33 joeandlane ppp[20896]: tun0: Phase: deflink: dial - carrier
 Oct  9 12:59:34 joeandlane ppp[20896]: tun0: Phase: deflink: /dev/cuaa0: CD
 detected
 Oct  9 12:59:34 joeandlane ppp[20896]: tun0: Phase: deflink: carrier -
 login
 Oct  9 12:59:34 joeandlane ppp[20896]: tun0: Phase: deflink: login - lcp
 Oct  9 12:59:34 joeandlane ppp[20896]: tun0: LCP: FSM: Using deflink as a
 transport
 Oct  9 12:59:34 joeandlane ppp[20896]: tun0: LCP: deflink: State change
 Initial -- Closed
 Oct  9 12:59:34 joeandlane ppp[20896]: tun0: LCP: deflink: State change
 Closed -- Stopped
 Oct  9 12:59:35 joeandlane ppp[20896]: 

RE: pcAnywhere over ppp

2002-10-09 Thread JoeB

PcAnywhere only speaks to pcAnywhere.
PcAnywhere is a windows application only.
You can not dial into pcAnywhere from user ppp, it does not work that way.
Forget pcAnywhere and work on dialin connection to NT host.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Lane Holcombe
Sent: Wednesday, October 09, 2002 7:08 PM
To: [EMAIL PROTECTED]; Lane Holcombe; [EMAIL PROTECTED]
Subject: RE: pcAnywhere over ppp

Thanks for your reply.

But I don't use pcAnywhere, my client does.

I just want to establish a TCP/IP connection to their NT host over the phone
line.  I use ppp from FreeBSD to connect to various types of hosts, but this
is
the first time I've ever had to connect to pcAnywhere.

What I'm trying to determine is how to authenticate to a pcAnywhere host
from a
client using ppp on FreeBSD.


But I get the feeling that pcAnywhere doesn't speak my language.

lane

 Pcanywhere has to be run from a pc that has a public ip address to
 the other pc which also has to be on a public ip address.

 What I do is have the user of the pc I want to take over to dial out to
the
 internet
 and establish it's connection, then start pcanywhere and configure it to
 wait for incoming connection request.

 On the pc I am using I configure pcanywhere with the high order public ip
 address
 numbers and pcanywhere then scans whole ip address block for a ip address
 that is pcanywhere aware.

 You really have to read the instruction that come with pcanywhere for
 details.

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Lane Holcombe
 Sent: Wednesday, October 09, 2002 2:37 PM
 To: [EMAIL PROTECTED]
 Subject: pcAnywhere over ppp

 I have a number of clients for whom I periodicaly dial in to provide
 consulting services.
 In all cases I use ppp on FreeBSD 4.5.  Many clients have RAS servers,
 AS/400 modems, and
 several other remote dial-in facilities.

 But one client uses pcAnywhere and I cannot seem to connect with it.

 Below is the /var/log/ppp.log file.  Typically I can determine the cause
of
 a rejected
 connection, but this time it is unclear.  I see LCP: deflink: State
change
 Stopped --
 Closed but I can't figure out what causes it.:

 If anyone has experience with ppp over pcAnywhere modem connection then
 please clue me in.

 Thanks, lane

 Oct  9 12:59:11 joeandlane ppp[20895]: Phase: Using interface: tun0
 Oct  9 12:59:11 joeandlane ppp[20895]: Phase: deflink: Created in closed
 state
 Oct  9 12:59:11 joeandlane ppp[20895]: tun0: Command: default: set speed
 115200
 Oct  9 12:59:11 joeandlane ppp[20895]: tun0: Command: default: set dial
 ABORT BUSY ABORT
 NO\sCARRIER TIMEOUT 5 AT OK-AT-OK ATE1Q0M1 OK \dATDT\T
TIMEOUT
 40 CONNECT
 Oct  9 12:59:11 joeandlane ppp[20895]: tun0: Command: default: set ifaddr
 10.0.0.1/0
 10.0.0.2/0 255.255.255.0 0.0.0.0
 Oct  9 12:59:11 joeandlane ppp[20895]: tun0: Command: default: set timeout
 360
 Oct  9 12:59:11 joeandlane ppp[20895]: tun0: Command: thebank: set phone
 199
 Oct  9 12:59:11 joeandlane ppp[20895]: tun0: Command: thebank: set
authname
 my.userid
 Oct  9 12:59:11 joeandlane ppp[20895]: tun0: Command: thebank: set authkey
 
 Oct  9 12:59:11 joeandlane ppp[20896]: tun0: Phase: PPP Started (auto
mode).
 Oct  9 12:59:11 joeandlane ppp[20896]: tun0: Phase: bundle: Establish
 Oct  9 12:59:11 joeandlane ppp[20896]: tun0: Phase: deflink: closed -
 opening
 Oct  9 12:59:11 joeandlane ppp[20896]: tun0: Phase: deflink: Connected!
 Oct  9 12:59:11 joeandlane ppp[20896]: tun0: Phase: deflink: opening -
dial
 Oct  9 12:59:11 joeandlane ppp[20896]: tun0: Chat: Phone: 199
 Oct  9 12:59:11 joeandlane ppp[20896]: tun0: Chat: deflink: Dial attempt 1
 of 1
 Oct  9 12:59:11 joeandlane ppp[20896]: tun0: Chat: Send: AT^M
 Oct  9 12:59:11 joeandlane ppp[20896]: tun0: Chat: Expect(5): OK
 Oct  9 12:59:16 joeandlane ppp[20896]: tun0: Chat: Expect timeout
 Oct  9 12:59:16 joeandlane ppp[20896]: tun0: Chat: Send: AT^M
 Oct  9 12:59:16 joeandlane ppp[20896]: tun0: Chat: Expect(5): OK
 Oct  9 12:59:16 joeandlane ppp[20896]: tun0: Chat: Received: AT^M^M
 Oct  9 12:59:16 joeandlane ppp[20896]: tun0: Chat: Received: OK^M
 Oct  9 12:59:16 joeandlane ppp[20896]: tun0: Chat: Send: ATE1Q0M1^M
 Oct  9 12:59:16 joeandlane ppp[20896]: tun0: Chat: Expect(5): OK
 Oct  9 12:59:16 joeandlane ppp[20896]: tun0: Chat: Received: ATE1Q0M1^M^M
 Oct  9 12:59:16 joeandlane ppp[20896]: tun0: Chat: Received: OK^M
 Oct  9 12:59:16 joeandlane ppp[20896]: tun0: Chat: Send: ATDT199^M
 Oct  9 12:59:18 joeandlane ppp[20896]: tun0: Chat: Expect(40): CONNECT
 Oct  9 12:59:33 joeandlane ppp[20896]: tun0: Chat: Received:
 ATDT199^M^M
 Oct  9 12:59:33 joeandlane ppp[20896]: tun0: Chat: Received: CONNECT
 115200^M
 Oct  9 12:59:33 joeandlane ppp[20896]: tun0: Phase: deflink: dial -
carrier
 Oct  9 12:59:34 joeandlane ppp[20896]: tun0: Phase: deflink: /dev/cuaa0:
CD
 detected
 Oct  9 12:59:34 

Re: kernel MAKE failed

2002-10-09 Thread Nick Slager

Thus spake Don ([EMAIL PROTECTED]):

 umass.o(.text+0x14e7): undefined reference to `xpt_free_path'
 umass.o: In function `umass_cam_action':
 umass.o(.text+0x1805): undefined reference to `xpt_done'
 umass.o(.text+0x1815): undefined reference to `xpt_done'
 umass.o: In function `umass_cam_cb':
 umass.o(.text+0x1911): undefined reference to `xpt_done'
 umass.o: In function `umass_cam_sense_cb':
 umass.o(.text+0x1988): undefined reference to `xpt_done'
 umass.o(.text+0x1999): undefined reference to `xpt_done'
 *** Error code 1
 
 Stop in /usr/src/sys/compile/WEBKERNEL
 
 any ideas

From GENERIC:

device  umass   # Disks/Mass storage - Requires scbus and da

ie, you'll need to have scbus and da in your kernel config file
for umass support.


Nick

-- 
We demand rigidly defined areas of doubt and uncertainty.
  -- Douglas Adams


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



RE: kernel MAKE failed

2002-10-09 Thread Andy Knapp

Check to make sure that you don't have umass in your kernel config. If
you do have it, I think you need to have the uhci or ohci option in the
kernel config, along with scbus and da options. They should both be in
the usb section I believe.

On another note, I don't think config, make depend, and make is the
recommend sequence anymore to make and install a new kernel. I think
it's using make buildkernel and make installkernel. Look in the handbook
if you need more info.

-Andy

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Don
Sent: Wednesday, October 09, 2002 7:22 PM
To: [EMAIL PROTECTED]
Subject: kernel MAKE failed


can anyone give me some pointers on a failed kernel config
I used the following method on 4.6.0
Run config to generate the kernel source code.

# /usr/sbin/config WEBKERNEL
Change into the build directory.

# cd ../../compile/WEBKERNEL
Compile the kernel.

# make depend
# make

resulted in --snipped the last few lines on screen
umass.o(.text+0x14e7): undefined reference to `xpt_free_path'
umass.o: In function `umass_cam_action':
umass.o(.text+0x1805): undefined reference to `xpt_done'
umass.o(.text+0x1815): undefined reference to `xpt_done'
umass.o: In function `umass_cam_cb':
umass.o(.text+0x1911): undefined reference to `xpt_done'
umass.o: In function `umass_cam_sense_cb':
umass.o(.text+0x1988): undefined reference to `xpt_done'
umass.o(.text+0x1999): undefined reference to `xpt_done'
*** Error code 1

Stop in /usr/src/sys/compile/WEBKERNEL

any ideas


WEIRD, i just did the same on an entirely diff box, resulting in the
same error, only diff in 2 systems is processors, 1 is single processor
1ghz, the other is dual 500mhz, otherwise they are basically the same.

Don Weber


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Regarding Upgrade

2002-10-09 Thread Matt Garcia

Arent i full of questions :)?
I have another question after i did my upgrade it
stopped and i got this error message:

/usr/src/share/mk/bsd.lib.mk, line 19: Missing
dependency operator
/usr/src/share/mk/bsd.lib.mk, line 28: if-less endif
/usr/src/share/mk/bsd.lib.mk, line 28: Need an
operator
make: fatal errors encountered -- cannot continue
*** Error code 1

Stop in /usr/src/lib.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.

What should i do? any help would be greatly
apperciated.  I love how you all respond so quickly.

__ 
Post your free ad now! http://personals.yahoo.ca

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: DHCP Relay over IPSec ESP/Tunnel (Sorry about the duplicate posts,problems with digital ID)

2002-10-09 Thread Marc Perisa

(taking this to questions because it is not a discussion on security topics)

Erik Paulsen Skålerud wrote:
 Hello.
 
 Is it possible to use DHCP relay over an IPSec ESP/tunnel? What are the
 requirements to accomplish this, and is there any special configuration
 I have to use?
 
 I've been trying to get this to work for two days now, and I'm really
 really ready to give up. This is my last resort, so, please, if you do
 have any comments, please let me know.


Hi Erik,

DHCP relay should be possible over any IPSec tunnel (if not the other 
end of the tunnel has to get its IP from this DHCP server).

It is like having one DHCP server and lots of clients in other subnets. 
Take a look into the handbook under:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/dhcp.html

and look out for dhcrelay(8).

If your routing over the tunnel works, dhcrelay should work too.

Hope that helps

Marc

PS: I assume, that the tunnel is transparent to the network on both sides.



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



  1   2   >