Re: Sendmail client configuration to connect to ISP's SMTP server

2009-12-26 Thread Lane Holcombe

On Sat, 2009-12-26 at 11:20 -0800, Aflatoon Aflatooni wrote: 
 What configuration do I need to set in my freebsd.submit.mc in order to 
 connect to the ISP's SMTP server?
 The ISP is blocking all the emails unless it goes through their mail server, 
 so I need my FreeBSD box to connect to the ISP's SMTP server for outbound 
 emails.
 
 The client also needs to be authenticated as well.
 
 Please help
 
 Thanks
 Afi
 
Hey, afi

Check out SMART_HOST in /usr/src/contrib/sendmail/cf/README

The change doesn't go in freebsd.submit.mc, but in freebsd.mc.  Or
hostname.mc, if you've already tweaked it before

SMART_HOST is the upstream smtp server where all outgoing email is
sent.  

lane


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


Re: Sendmail client configuration to connect to ISP's SMTP server

2009-12-26 Thread Lane Holcombe
On Sun, 2009-12-27 at 01:13 +0100, Polytropon wrote: 
 On Sat, 26 Dec 2009 17:50:39 -0600, Lane Holcombe l...@joeandlane.com wrote:
  Check out SMART_HOST in /usr/src/contrib/sendmail/cf/README
 
 I'm using the SMART_HOST functionality, too. But there's
 no authentification (username + password). The relay I'm
 using - my ISP's - seems to be happy with a valid IP from
 their range.
 
 
See if /usr/ports/mail/sendmail-sasl is what you need

My ISP requires authentication, so I had to install that port and then
add the AuthInfo line in /etc/mail/access

My ISP is only using plain authentication, but sasl will work for more
exotic needs, I understand.

But, of course, if it ain't broke then don't try to fix it :)

lane
~ The bikeshed should be orange for this to work properly ...


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


Re: reporter on deadline seeks comment about reported security bug in FreeBSD

2009-09-15 Thread Lane Holcombe
On Tue, 2009-09-15 at 10:49 -0400, Jerry wrote:
 On Tue, 15 Sep 2009 07:18:26 -0400
 Bill Moran wmo...@potentialtech.com wrote:
 
  Mel Flynn mel.flynn+fbsd.questi...@mailing.thruhere.net wrote:
  
   On Monday 14 September 2009 23:46:42 David Kelly wrote:
On Mon, Sep 14, 2009 at 05:13:54PM -0400, ill...@gmail.com wrote:

 snip

 I usually discover security problems with updates I receive from
 http://www.us-cert.gov/. Aren't FreeBSD security problems reported to
 their site? If not, why? IMHO, keeping users in the dark to known
 security problems is not a serviceable protocol.

Jerry, 

point your aggregator to http://www.freebsd.org/security/advisories.rdf

There have only been 12 security advisories put out this year, as far as
I can tell.  Nothing about this one, though.

lane

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


Re: installation sequence

2009-08-20 Thread Lane Holcombe
I'm all over this!

Here's what you do:  Setup for yourself a local cvs repository like so:

portinstall -Pp net/cvsup-mirror

You have to make decisions about what to mirror, but in the end you will
have a semi-authoritative mirror of all the source and ports for the
whole dang FreeBSD development tree, that will maintain itself and be
ready when you need it.

Next, when ever you do a fresh install of FreeBSD whatever, the first
thing you do after the install is update your source and ports try by
creating a cvsupfile, (I always keep one in /usr/local/etc/cvsupfile)
like this:

begin cvsupfile
*default host=IP.OF.YOUR.LOCAL.CVS.MIRROR
*default base=/usr
*default prefix=/usr
*default release=cvs delete use-rel-suffix tag=RELENG_7
*default compress
src-all
src-contrib 
ports-all tag=.
/end cvsupfile

Note that the begin and /end tags are put in the email for clarity,
but should NOT appear in your cvsup file.  I think src-contrib is
overkill, but I've not bothered to find out because I'm pretty lazy.

Note, also that RELENG_7 is just what I'm using now.  You should adjust
to the FreeBSD whatever that you just installed.

So after you put the cvsupfile in place, run this on your new install:

csup -g -L2 /path/to/cvsupfile

Note, again, that csup does *not* get installed with *base before like
6.3 or something ... can't remember which.   Did I mention lazy?  If you
are going back that far you have to install csup from ports or install
cvsup from ports.  (Which may likely put you back at square one where
you have to work through the build failures - it ain't perfect, but it's
nearly there!)

Anyway, the point is you should always, always, always update your ports
tree after a new install so you don't have build failures to stump you.

And  you still might get those :)

So you should consider REBUILDING WORLD immediately after you do a new
install.  And THEN build/install whatever ports you need ...

Good Luck!

lane

On Thu, 2009-08-20 at 19:12 -0400, PJ wrote:
 Does anybody have an idea of what the oder of files and dependencies is
 to install programs without all sorts of nonsensical errors?
 I usually have no problem installing FreeBsd whatever with apache22,
 cups, samba, php, mysql xorg etc. etc. I say usually because from time
 to time there do crop up some conflicts and they can usually be resolved
 by just looking at the error messages when the install is interrupted...
 usually one reinstalls the guilty port and voila! all things are in an
 ordered universe!
 But how do you avoid those error messages... I installed a pretty
 minimal 7.2 about a week ago and since then have been putzing about with
 a more serious installation of 7.2 on a larger disk to include xorg and
 a number of pretty cumbersome applications.
 I usually start with samba as that permits me to wander about on my lan
 and download and play around with other stuff while I am waiting for
 those substantial installs like jdk and xorg et al.
 So now, I have installed samba... works fine... thereafter I have been
 installing jdk16 and some other proggies like openldap and php5 and
 mysql ... actually, I was doing those because apache22 wouldn't
 compile... it grinds out a slew of errors that all seem to be related to
 ldap...util_ldap.c:2135 (or other numbers) and all have the notation
 undeclared (first use in this function) and finally the ghost gives up
 with Error code 1.
 
 Exactly the same installation with the same configuration on the smaller
 installation went without a hitch... (and on the same computer,
 different disk) The versions are the latest available and on 7.2...
 I have tried uninstalling php5, openldap, and removing the work
 directory for apache22, but the result is always the same... this is absurd.
 Can anybody make any sense of this... I don't like the idea of starting
 all over again... done that, been there, and still looking for some
 rationality to this world.
 Thanks for any ideas...
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
 

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


Java does not expose ScriptEngine

2009-08-15 Thread Lane Holcombe
Hello,

JDK 1.6 supposedly bundles rhino scripting, but this does not seem to be
the case on FreeBSD 7 for java/jdk16, java/diablo-jdk16 or java/openjdk6
as each call to ScriptEngineManager.getEngineFactories() returns an
empty list.

when I put the script-engine jar into the classpath:

(e.g. put js-engine.jar into /usr/local/diablo-jdk1.6.0/jre/lib/ext)

java does not load the script engine as expected.

On other os's (have tested Windows, and ubuntu) I can add a scriptengine
simply by placing the jar in the classpath.

Does anyone have any information about how to use scripting with java on
FreeBSD?

thanks!

lane

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


Can someone please help me get gdmchooser running, again?

2007-11-09 Thread Lane Holcombe
I'm running FreeBSD 6.2-STABLE #1, compiled locally on Tue May  8
16:39:25 CDT 2007 

I was able to use gdmchooser on X.org 7.2, but after upgrade to 7.3 (and
GDM 2.20.1) she says no serving hosts were found after scanning the
local network

When I first started this email, I got this from 

sockstat -l46  | grep 177


lholcombessh-agent  30601 8  udp4   *:177 *:*
lholcombegnome-sess 30587 8  udp4   *:177 *:*
root Xorg   30570 8  udp4   *:177 *:*
root gdm-binary 30569 8  udp4   *:177 *:*
root gdm-binary 29955 8  udp4   *:177 *:*

Now, after monkeying with it (including a few reboots), I get

root gdm-binary 33486 8  udp4   *:177 *:*

so it seems that gdm is listening on 177, but the chooser doesn't list
the local system as an X server.  Instead the chooser reports no
serving hosts were found

I can log in using the greeter, but I'd really like to use the chooser,
as I've got several machines running X, and I'm too cheap to buy extra
keyboards, and too lazy to move around the office to do my work :)

gdm was compiled WITHOUT IPv6 support, and I've got

ipv6_enable=NO 

in /etc/rc.conf

It's gotta be something simple, 'cause I didn't spend much time setting
up the chooser originally.  But I think I need an extra set of eyes to
see what I'm not seeing :)

Here is the uncommented part of /usr/local/etc/gdm/custom.conf:

[daemon]
Greeter=/usr/local/libexec/gdmgreeter
RemoteGreeter=/usr/local/libexec/gdmgreeter

[security]
AllowRemoteRoot=true
DisallowTCP=false
NeverPlaceCookiesOnNFS=false
CheckDirOwner=false

[xdmcp]
Enable=true

[gui]

[greeter]
IncludeAll=true
GraphicalTheme=happygnome-list
GraphicalThemeRand=true
GraphicalThemes=circles/:happygnome-list/:happygnome

[chooser]

[debug]
Enable=true

[servers]
0=Standard

[server-Standard]
name=Standard server
command=/usr/local/bin/X -audit 0
chooser=false
handled=true
flexible=true
priority=0


Thanks for being an extra set of eyes!

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


Re: Can someone please help me get gdmchooser running, again?

2007-11-09 Thread Lane Holcombe
On Sat, 2007-11-10 at 08:28 +0300, Yuri Pankov wrote:
 On Fri, Nov 09, 2007 at 11:12:20PM -0600, Lane Holcombe wrote:
  I'm running FreeBSD 6.2-STABLE #1, compiled locally on Tue May  8
  16:39:25 CDT 2007 
  
  snip

  gdm was compiled WITHOUT IPv6 support, and I've got
  
  ipv6_enable=NO 
  
  in /etc/rc.conf
  
  snip
  
  Thanks for being an extra set of eyes!
  
  lane
 
 Hi,
 
 Lane, please check gdm related issues (IPv6 only) at
 http://www.nabble.com/remaining-issues-with-gnome-2.20-t4721430.html
 (taken from thread on gnome@). And sorry if it's not related to your
 problem.
 
 
 Yuri
Yuri,

Thanks for your response.

I've suspected this was an issue with IPV6, but poking around sysctl
oids is like spelunking without a rope or a partner.

As soon as the current CD finishes (Janet Jackson - Rhythm Nation [cause
I'm retro, like that]) I'm gonna reboot with these additions
to /etc/sysctl.conf:

net.inet6.ip6.v6only=0
net.inet6.ip6.forwarding=1

I thought there was a map sysctl oid that explicitly maps ipv6 to
ipv4, but I can't find it now.

Anyway, if I get anywhere with this I'll post the results.
Otherwise ... I'll just whine some more :)

lane

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


X not listening on 177 after upgrade to 7.3

2007-11-06 Thread Lane Holcombe
Please help, I'm completely out of my league.  I know this is mostly an
Xorg question, but trying to get help from that group is ... not so
easy... 

I've had the gdmchooser working for several months, now.  But recently I
updated X from 7.2 to 7.3 and X is no longer even listening on port 177:

sockstat -l46 | grep 177 

shows nothing

I see Xorg listening on port 6000, but I seem to recall that  xdm was
listening on 177 before the upgrade.  Or maybe it was gdm-binary, but
certainly it was the default port 177, not port 6000.

gdm is started by /usr/local/etc/rc.d/gdm and it runs the greeter just
fine.  But it is the chooser that I need, since I periodically need to
access this machine from the local network or from remote vpn or access
remote machines from this one.

I'm running 6.2-STABLE FreeBSD, built from source in May, so the
configuration in /etc did not change.  But it appears that my 

/usr/local/lib/X11/xdm/xdm-config

and

/usr/local/etc/gdm/custom.conf

have been overwritten with defaults and I can't find a backup version
that works.

I expect that if I could get xdm to listen then I could figure out gdm,
again.  But I've been researching and tweeking all day and can't seem to
make it work.

I thought it was as simple as commenting out the last line in the
default xdm-config:

! SECURITY: do not listen for XDMCP or Chooser requests
! Comment out this line if you want to manage X terminals with xdm
! DisplayManager.requestPort:   0


But that does not make a difference, even after reboot.

Your helpful suggestions and insight are appreciated.

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


Re: cleaning out log files?

2006-11-26 Thread Lane Holcombe
On Sunday 26 November 2006 12:37, Oliver Iberien wrote:
 I've noticed that my /var partition, on a machine being used as a desktop,
 is about 80% full and would like to know what in it can safely be deleted,
 or if there is some accepted way to trim log files down with a cron job,
 etc. Thanks!

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

Take a look at /etc/newsyslog.conf as it is designed just for rotating and 
removing log files

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


Re: PostgreSQL 8.0.3 + FreeBSD + TCP/IP

2005-06-14 Thread Lane Holcombe
On Tuesday 14 June 2005 15:14, Joseph Koenig (jWeb) wrote:
  On Tue, Jun 14, 2005 at 10:05:05AM -0500, Joseph Koenig (jWeb) wrote:
  Hi,
 
  I'm having a difficulty getting PostgreSQL to accept TCP/IP connections
  on FreeBSD 5.3. I have edited 'postgresql.conf' in my postgres data
  directory to set the listen_address (and uncommented it) and have the
  port line uncommented and set to the default 5432. I then restarted the
  postmaster and tried to connect. I get:
 
  could not connect to server: Connection refused
  Is the server running on host xx.xxx.xx.xxx and accepting
  TCP/IP connections on port 5432?
 
  I can connect from localhost just fine.
 
  You need to set listen_addresses, like it says in the comments:
 
  listen_addresses = '*'
 
  This will allow Postgresql connections from all interfaces.

 I have already tried setting the listen_addresses to * and the actual IP.
 Neither of which has worked. I restarted the postmaster both times using
 the script in /usr/local/etc/rc.d/, and by using pg_ctl. Even tried
 starting postmaster with pg_ctl -i. Nothing seems to be working. I have
 double-checked all of my pg_hba.conf settings, even though the error
 doesn't indicate that is the problem at all.

 Anyone else have any ideas at all? Thanks,

 Joe Koenig
 Production Manager
 jWeb New Media Design
 [EMAIL PROTECTED]
 http://www.jwebmedia.com/
 636.928.3162
What do you get when you 

telnet localhost 5432 

verses 

telnet otherserver 5432

?

Try this to rule out any sort of firewall/tunnelling issues

If it hangs and you get no prompt, but drops after you type 2 or 3 letters 
then it means postmaster is doing the negotiation (so then you check the 
postmaster log).  

Otherwise you've got gnats in your firewall (or some other kind of bug) to 
deal with.

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


Missing 30 Gig in -Current after cross-install

2004-07-19 Thread Lane Holcombe
I have an 8Gig drive and a 30Gig drive on my PC. 
 
the 8Gig drive is known as /dev/ad2* 
the 30Gig drive is known as /dev/ad0* 
 
I've been running 4.9 STABLE since December on ad0, and I have been using ad2 for SWAP 
and TMP and other crap. 
 
 
Today I ran fdisk,disklabel, and newfs on ad2 and successfully completed the 
installation 
process to upgrade to 5.0-CURRENT.  However, when I booted into -CURRENT, ad0 did not 
appear in /dev. 
 
The boot manager properly offers the option to boot from ad0 or ad2, and FreeBSD 
properly 
boots on either drive - -STABLE boots on ad0 and -CURRENT boots on ad2. 
 
When I boot into -STABLE I can still mount slices from ad2 as before, but I *cannot* 
mount 
slices from ad0 when I boot into -CURRENT.   
 
I first tried to auto-mount ad0 slices in -CURRENT by including them in /etc/fstab.  
When that 
failed I commented those entries out and rebooted and then tried to manually mount a 
slice 
from ad0 ... to no avail.  ls -al /dev | grep ad0 reveals that there are no entries 
for ad0*. 
 
Furthermore, there are no entries in the new /dev which resemble a disk device other 
than 
those for ad2. 
 
What is I'm gonna do? 
 
Thanks for your attention, 
 
Lane 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


buildworld fails in /usr/src/gnu/usr.bin/gperf/ ==make: don't know how to make getopt.c

2004-07-17 Thread Lane Holcombe
I'm upgrading from 4.9-RELEASE to 4.10-STABLE, but I can't get past make 
buildworld

I ran make clean from /usr/src, then cvsup'd src-all from cvsup3.freebsd.org 
and ran make buildworld from /usr/src but got the error below.

So, just to make sure everything was ok, I ran rm -rd /usr/obj and rm -
rd /usr/src, cvsup'd again, but got the same error.

Here's what's in /usr/src/gnu/usr.bin/gperf:

drwxr-xr-x   3 root  wheel  512 Jul 17 15:12 .
drwxr-xr-x  28 root  wheel  512 Jul 17 13:55 ..
-rw-r--r--   1 root  wheel  473 Aug  9  2002 Makefile
-rw-r--r--   1 root  wheel  724 Feb 15  2001 config.h
drwxr-xr-x   2 root  wheel  512 Jul 17 15:11 doc

and /usr/src/gnu/usr.bin/gperf/doc:

drwxr-xr-x  2 root  wheel  512 Jul 17 15:11 .
drwxr-xr-x  3 root  wheel  512 Jul 17 15:12 ..
-rw-r--r--  1 root  wheel  305 Feb 15  2001 Makefile

and /usr/src/contrib/gperf:

drwxr-xr-x   6 root  wheel512 Jul 17 15:37 .
drwxr-xr-x  50 root  wheel   1024 Jul 17 15:34 ..
-rw-r--r--   1 root  wheel 86 Feb 15  2001 AUTHORS
-rw-r--r--   1 root  wheel  18149 Feb 15  2001 COPYING
-rw-r--r--   1 root  wheel  81182 Feb 15  2001 ChangeLog
-rw-r--r--   1 root  wheel144 Feb 16 19:51 FREEBSD-Xlist
-rw-r--r--   1 root  wheel   7833 Feb 15  2001 INSTALL
-rw-r--r--   1 root  wheel   2576 Jul 17 15:37 Makefile
-rw-r--r--   1 root  wheel   1017 Feb 15  2001 Makefile.devel
-rw-r--r--   1 root  wheel   1662 Feb 15  2001 Makefile.in
-rw-r--r--   1 root  wheel588 Feb 15  2001 NEWS
-rw-r--r--   1 root  wheel   1271 Feb 15  2001 README
-rw-r--r--   1 root  wheel 93 Feb 15  2001 acconfig.h
-rw-r--r--   1 root  wheel   2387 Feb 15  2001 aclocal.m4
-rw-r--r--   1 root  wheel   1756 Jul 17 15:37 config.cache
-rw-r--r--   1 root  wheel177 Jul 17 15:37 config.log
-rwxr-xr-x   1 root  wheel   4702 Jul 17 15:37 config.status
-rwxr-xr-x   1 root  wheel  30797 Feb 15  2001 configure
-rw-r--r--   1 root  wheel   1270 Feb 15  2001 configure.in
drwxr-xr-x   2 root  wheel512 Jul 17 15:37 doc
drwxr-xr-x   2 root  wheel512 Jul 17 15:37 lib
-rwxr-xr-x   1 root  wheel722 Feb 15  2001 mkinstalldirs
drwxr-xr-x   2 root  wheel   1024 Jul 17 15:37 src
drwxr-xr-x   2 root  wheel   1024 Jul 17 15:37 tests

Any suggestions?

TIA,

lane

echo === gnu/usr.bin/gperf;  cd /usr/src/gnu/usr.bin/gperf;  make DIRPRFX=gnu
/usr.bin/gperf/ obj;  make DIRPRFX=gnu/usr.bin/gperf/ depend;  make DIRPRFX=gnu/
usr.bin/gperf/ all;  make DIRPRFX=gnu/usr.bin/gperf/ DESTDIR=/usr/obj/usr/src/i3
86 install
=== gnu/usr.bin/gperf
/usr/obj/usr/src/i386/usr/src/gnu/usr.bin/gperf created for /usr/src/gnu/usr.bin
/gperf
=== gnu/usr.bin/gperf/doc
/usr/obj/usr/src/i386/usr/src/gnu/usr.bin/gperf/doc created for /usr/src/gnu/usr
.bin/gperf/doc
make: don't know how to make getopt.c. Stop
*** Error code 2

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

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

Stop in /usr/src.
joeandlane#:ROOT

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


DOH!!!!! RELENG_4_10! ... That'd make a difference! (was: Re: buildworld fails in /usr/src/gnu/usr.bin/gperf/ ==make: don't knowhow to make getopt.c)

2004-07-17 Thread Lane Holcombe
Thanks! 
 
I guess I'll fix my cvsupfile now! 
 
lane 
 
 On Sat, 17 Jul 2004 15:59:32 -0500 (CDT) 
 Lane Holcombe [EMAIL PROTECTED] wrote: 
  
  I'm upgrading from 4.9-RELEASE to 4.10-STABLE, but I can't get past make 
  buildworld 
  
 in your sup file, have you got RELENG_4 or RELENG_4_10? 
   
  I ran make clean from /usr/src, then cvsup'd src-all from 
  cvsup3.freebsd.org and ran make buildworld from /usr/src but got the 
  error below. 
   
  So, just to make sure everything was ok, I ran rm -rd /usr/obj and rm 
  - rd /usr/src, cvsup'd again, but got the same error. 
   
  Here's what's in /usr/src/gnu/usr.bin/gperf: 
   
  drwxr-xr-x   3 root  wheel  512 Jul 17 15:12 . 
  drwxr-xr-x  28 root  wheel  512 Jul 17 13:55 .. 
  -rw-r--r--   1 root  wheel  473 Aug  9  2002 Makefile 
  -rw-r--r--   1 root  wheel  724 Feb 15  2001 config.h 
  drwxr-xr-x   2 root  wheel  512 Jul 17 15:11 doc 
   
  and /usr/src/gnu/usr.bin/gperf/doc: 
   
  drwxr-xr-x  2 root  wheel  512 Jul 17 15:11 . 
  drwxr-xr-x  3 root  wheel  512 Jul 17 15:12 .. 
  -rw-r--r--  1 root  wheel  305 Feb 15  2001 Makefile 
   
  and /usr/src/contrib/gperf: 
   
  drwxr-xr-x   6 root  wheel512 Jul 17 15:37 . 
  drwxr-xr-x  50 root  wheel   1024 Jul 17 15:34 .. 
  -rw-r--r--   1 root  wheel 86 Feb 15  2001 AUTHORS 
  -rw-r--r--   1 root  wheel  18149 Feb 15  2001 COPYING 
  -rw-r--r--   1 root  wheel  81182 Feb 15  2001 ChangeLog 
  -rw-r--r--   1 root  wheel144 Feb 16 19:51 FREEBSD-Xlist 
  -rw-r--r--   1 root  wheel   7833 Feb 15  2001 INSTALL 
  -rw-r--r--   1 root  wheel   2576 Jul 17 15:37 Makefile 
  -rw-r--r--   1 root  wheel   1017 Feb 15  2001 Makefile.devel 
  -rw-r--r--   1 root  wheel   1662 Feb 15  2001 Makefile.in 
  -rw-r--r--   1 root  wheel588 Feb 15  2001 NEWS 
  -rw-r--r--   1 root  wheel   1271 Feb 15  2001 README 
  -rw-r--r--   1 root  wheel 93 Feb 15  2001 acconfig.h 
  -rw-r--r--   1 root  wheel   2387 Feb 15  2001 aclocal.m4 
  -rw-r--r--   1 root  wheel   1756 Jul 17 15:37 config.cache 
  -rw-r--r--   1 root  wheel177 Jul 17 15:37 config.log 
  -rwxr-xr-x   1 root  wheel   4702 Jul 17 15:37 config.status 
  -rwxr-xr-x   1 root  wheel  30797 Feb 15  2001 configure 
  -rw-r--r--   1 root  wheel   1270 Feb 15  2001 configure.in 
  drwxr-xr-x   2 root  wheel512 Jul 17 15:37 doc 
  drwxr-xr-x   2 root  wheel512 Jul 17 15:37 lib 
  -rwxr-xr-x   1 root  wheel722 Feb 15  2001 mkinstalldirs 
  drwxr-xr-x   2 root  wheel   1024 Jul 17 15:37 src 
  drwxr-xr-x   2 root  wheel   1024 Jul 17 15:37 tests 
   
  Any suggestions? 
   
  TIA, 
   
  lane 
   
  echo === gnu/usr.bin/gperf;  cd /usr/src/gnu/usr.bin/gperf;  make 
  DIRPRFX=gnu/usr.bin/gperf/ obj;  make DIRPRFX=gnu/usr.bin/gperf/ depend;  
  make DIRPRFX=gnu/ usr.bin/gperf/ all;  make DIRPRFX=gnu/usr.bin/gperf/ 
  DESTDIR=/usr/obj/usr/src/i3 86 install 
  === gnu/usr.bin/gperf 
  /usr/obj/usr/src/i386/usr/src/gnu/usr.bin/gperf created for 
  /usr/src/gnu/usr.bin/gperf 
  === gnu/usr.bin/gperf/doc 
  /usr/obj/usr/src/i386/usr/src/gnu/usr.bin/gperf/doc created for 
  /usr/src/gnu/usr.bin/gperf/doc 
  make: don't know how to make getopt.c. Stop 
  *** Error code 2 
   
  Stop in /usr/src. 
  *** Error code 1 
   
  Stop in /usr/src. 
  *** Error code 1 
   
  Stop in /usr/src. 
  joeandlane#:ROOT 
   
  ___ 
  [EMAIL PROTECTED] mailing list 
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions 
  To unsubscribe, send any mail to 
  [EMAIL PROTECTED] 
   
  
  
 
 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


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

ELF Interpreter /compat/svr4/lib/ld-linux.so.2 not found

2002-07-23 Thread lane holcombe

I had a catastrophic hardware failure this weekend so I had to reinstall 
FreeBSD from scratch.

Everything seems to have installed correctly but I cannot get 
/usr/ports/www/linux-netscape47-navigator to install.  make all works 
without complaint, but make install complains thusly:

===  Installing for linux-netscape-navigator-4.79
===   linux-netscape-navigator-4.79 depends on executable: netscape - found
===   linux-netscape-navigator-4.79 depends on file: 
/compat/linux/etc/redhat-release - found
===   linux-netscape-navigator-4.79 depends on shared library: X11.6 - found
ELF interpreter /compat/svr4/lib/ld-linux.so.2 not found
*** Signal 6

Stop in /usr/ports/www/linux-netscape47-navigator.

I can locate ld-linux.so.2 in /usr/compat/linux/lib/ , but I can't figure out 
how to coerce make to find it there.

And I can't figure out how to remake ld-linux.so.2 

If I create the path mentioned (/compat/svr4/lib/) and put ld-linux.so.2  
there then the install fails like this:

===  Installing for linux-netscape-navigator-4.79
===   linux-netscape-navigator-4.79 depends on executable: netscape - found
===   linux-netscape-navigator-4.79 depends on file: 
/compat/linux/etc/redhat-release - found
===   linux-netscape-navigator-4.79 depends on shared library: X11.6 - found
*** Signal 12

Stop in /usr/ports/www/linux-netscape47-navigator.

How do I make this ELF look where I'm telling him?

Thanks,
lane
P.S.  How do I subscribe to [EMAIL PROTECTED]?
(Just a joke, ok?)

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