solved: Re: arplookup 0.0.0.0

2003-02-03 Thread Stephen D. Kingrea
turns out that the file /etc/mail/local-host-names was not properly
configured. 

damn! it is so galling when one misses the simplest things!

stephen

On Sat, 1 Feb 2003, Nathan Kinkade wrote:

On Sat, Feb 01, 2003 at 05:20:53PM -0500, Stephen D. Kingrea wrote:
 tcpdump tells me that incoming smtp requests are generating these
 messages at the same time as recieving mail. i am pretty sure that
 either sendmail or ipfw rules is the cause...
 
 any good tutorials out there on interpreting tcpdump output?
 
 stephen

If you have X installed, you could use ethereal
(/usr/ports/net/ethereal)it is a very nice graphical interface for
analyzing network traffice.  I think it uses tcpdump itself??

Nathan

-- 
GPG Public Key ID: 0x4250A04C
gpg --keyserver pgp.mit.edu --recv-keys 4250A04C
http://63.105.21.156/gpg_nkinkade_4250A04C.asc



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



Re: arplookup 0.0.0.0

2003-02-01 Thread Stephen D. Kingrea
tcpdump tells me that incoming smtp requests are generating these
messages at the same time as recieving mail. i am pretty sure that
either sendmail or ipfw rules is the cause...

any good tutorials out there on interpreting tcpdump output?

stephen

On Fri, 31 Jan 2003, Juris Krumins wrote:

Could be sendmail. But I would try first of all to figure out who are soucre
of the arp request. Suppose we are talking about LAN or something like that.
So try to find out the soucre of the request. Could be the same box, but I
think it's not. So use sniffers like tcpdump or something like that. Just
take a look at your logs to figure out the frequency of requests. So then
you will figure out the source. unfortunately I'm not sendmail expert not
even close.

- Original Message -
From: Stephen D. Kingrea [EMAIL PROTECTED]
To: Juris Krumins [EMAIL PROTECTED]
Sent: Friday, January 31, 2003 4:26 PM
Subject: Re: arplookup 0.0.0.0


 is there a way to suppress the message itself? i seem to be getting it
 quite often, and really just started after configuring and activating
 sendmail. i suspect that there is a possible misconfiguration involving
 sendmail itself, but mail seems to be flowing nicely

 stephen d. kingrea

 On Fri, 31 Jan 2003, Juris Krumins wrote:

 There's no such a term like default in arp table, like it is in routing
 tables.
 There's nothing you have to add.
 I think it was just a query which was sent to your machine. So your box
 didn't find anything about that in local his local arp table. That's why
you
 got the answer like : www /kernel: arplookup 0.0.0.0 failed: host is not
on
 local network mean that your box knows nothing about how to convert
0.0.0.0
 IP adress into MAC adress.
 
 - Original Message -
 From: Stephen D. Kingrea [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Friday, January 31, 2003 4:07 PM
 Subject: arplookup 0.0.0.0
 
 
  hope one of youse can help with this...
 
  i am suddenly and inexplicably getting the message:
 
  www /kernel: arpresolve: can't allocate llinfo for 0.0.0.0rt
  www /kernel: arplookup 0.0.0.0 failed: host is not on local network
 
  nothing seems affected, that is to say that everything works as
  advertised. do i need to add default to my arp tables?
 
  running 4.7, apache2, ipfw/natd, as gateway to 3 internal networked
  nodes. what other info do i need to share?
 
  thank you!
 
  stephen d. kingrea
 
 
  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



arplookup 0.0.0.0

2003-01-31 Thread Stephen D. Kingrea
hope one of youse can help with this...

i am suddenly and inexplicably getting the message:

www /kernel: arpresolve: can't allocate llinfo for 0.0.0.0rt
www /kernel: arplookup 0.0.0.0 failed: host is not on local network

nothing seems affected, that is to say that everything works as
advertised. do i need to add default to my arp tables?

running 4.7, apache2, ipfw/natd, as gateway to 3 internal networked
nodes. what other info do i need to share?

thank you!

stephen d. kingrea


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



tcpdump irregularity

2003-01-31 Thread Stephen D. Kingrea
using 4.7 on a gateway designated machine (ipfw/natd) serving 3 wstations. 

www#tcpdump -i dc0   ###in fact, any interface
tcpdump: (no devices found) /dev/bpf0: Device not configured

now, i read somewhere that kernel must be compiled with option
PACKETFILTER, however; workstation running 4.7 with generic kernel runs
tcpdump perfectly.

/dev/bpf0 permissions are correct. i am logged as root

any clues on this?

thanks

stephen d. kingrea


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



questions about static ipfw rules

2003-01-22 Thread Stephen D. Kingrea
running 4.7 with firewall, natd enabled kernel. i wish to create firewall
rules outside of the rc.firewall script that remain static across
reboots. to that end, i created a set (rc.firewall.rules), pointing
rc.conf to that set:

firewall_enable=YES
firewall_type=/etc/rc.firewall.rules
natd_enable=YES.etc

/etc/rc.firewall.rules lines are in the format:

add 00100 all ip from any to any via lo0
add 00200 deny ip from any to 127.0.0.0/8
...etc.

is this right? when i boot to these conditions, and ipfw show, i get
the set that appears when i set firewall_type=OPEN

is this the proper format for rules in a static file?

regards to all!

stephen d. kingrea


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



Re: questions about static ipfw rules

2003-01-22 Thread Stephen D. Kingrea
On Wed, 22 Jan 2003, Daniel Bye wrote:

On Wed, Jan 22, 2003 at 03:18:33PM +, Daniel Bye wrote:
 On Wed, Jan 22, 2003 at 09:45:09AM -0500, Stephen D. Kingrea wrote:
  running 4.7 with firewall, natd enabled kernel. i wish to create firewall
  rules outside of the rc.firewall script that remain static across
  reboots. to that end, i created a set (rc.firewall.rules), pointing
  rc.conf to that set:
  
  firewall_enable=YES
  firewall_type=/etc/rc.firewall.rules
 
 You should change firewall_type to firewall_script.  You should then
 find all works as you want.

Well, almost...  If you do it this way, you need to make sure the script
file is executable and makes sense as a shell script.  I use something
like 

#!/bin/sh
IPFW=/sbin/ipfw
${IPFW} -f flush
${IPFW} add 100 allow ip from any to any via lo0
... etc.

It works well for me.

Dan

yes, that worked quite well. thank you for that nugget!

i should say that joebs' suggestions concerning ipfilter are worthy of
investigation. i really just needed this to be able to ftp files from
inside my lan without having to retype rules at every boot. 

thanks!

stephen



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



Re: code 1 error on kernel compile

2003-01-19 Thread Stephen D. Kingrea
problems got deeper at this point, since repeated attempts began yielding
different results, such as:

DMA failure switching to FPIO

hard error reading fsbn snip addresses status=59 error=40

leading me to believe that i suddenly have bad ram chip or failing ide
controller.

switching boxes now to pentium II gateway2000, getting undefined reference
errors during make in bt.o code 1. what th?

stephen d. kingrea

On Sat, 18 Jan 2003, Kris Kennaway wrote:

On Sat, Jan 18, 2003 at 07:51:27AM -0500, Stephen D. Kingrea wrote:
 i have never had any spurious errors on this box since it has been
 running. until now, anywaybut it has only been running a couple of
 weeks. this may be the shot across the bow
 
 the file in question appears as an e-mail message. line 4 of the header
 reads: Subject: DON'T DELETE THIS MESSAGE -- FOLDER INTERNAL DATA

That's definitely data corruption then.

Take an immediate backup in case it gets any worse, then do a fsck in
single-user mode to check FS consistency.  If that's okay, then just
refresh your source tree and hope it doesn't happen again.

kris



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



Re: code 1 error on kernel compile (solved)

2003-01-19 Thread Stephen D. Kingrea
sorry, right you are...the release is 4.7. i felt that cvsup was
unnecessary, since all that i had done was install from cd.

anyway, i learned that commenting anything from kernel config is
apparently a precipitous affair. uncommenting everything back provided the
juice to finish the make.

i have yet to figure what has gone wrong on the original box, but i do
suspect it to be a hardware issue. i will report

thanks everyone for all the assistance!

stephen d. kingrea

On Sun, 19 Jan 2003, Giorgos Keramidas wrote:

On 2003-01-19 09:31, Stephen D. Kingrea wrote:
 problems got deeper at this point, since repeated attempts began
 yielding different results, such as:

 DMA failure switching to FPIO

 hard error reading fsbn snip addresses status=59 error=40

 leading me to believe that i suddenly have bad ram chip or failing
 ide controller.

 switching boxes now to pentium II gateway2000, getting undefined
 reference errors during make in bt.o code 1. what th?

Please, when reportinng build problems specify at least the following
things in your post:

- Version of FreeBSD you're building.

- Optionally, the date of your last CVSup update.

  If your supfile contains base=/usr CVSup saves this information in
  the checkouts.cvs file of the ${base}/sup/${collection}/ directory.
  Assuming that you use the default supfile examples, the correct path
  for the checkouts.cvs file for /usr/src would be
  /usr/sup/src-all/checkouts.cvs and the following command will print
  a human-readable form of the last update date:

   $ date -j \
 -f '%s' `head -1 /usr/sup/src-all/checkouts.cvs | \
  awk '{print $3}'`'+%+'
   Sun Jan 19 14:09:33 EET 2003

- The exact error message of your build.

These are required for someone who will try to reproduce the build
problems you're having.



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



Re: code 1 error on kernel compile

2003-01-19 Thread Stephen D. Kingrea

On Sun, 19 Jan 2003, Kris Kennaway wrote:

On Sun, Jan 19, 2003 at 09:31:52AM -0500, Stephen D. Kingrea wrote:
 problems got deeper at this point, since repeated attempts began yielding
 different results, such as:
 
 DMA failure switching to FPIO
 
 hard error reading fsbn snip addresses status=59 error=40
 
 leading me to believe that i suddenly have bad ram chip or failing ide
 controller.

Sounds likely it's a dying HD.

that's possible, since i am recieving same error at about the same time. 

 switching boxes now to pentium II gateway2000, getting undefined reference
 errors during make in bt.o code 1. what th?

Not enough information.

Kris

actually, that problem has been solved. commenting nothing
and just adding the few firewall and natd options that i needed worked 
beautifully, how advisable is it to comment out options and devices while
configuring custom kernels? i am currently running 2
workstations behind freebsd gateway/server without issue and starting to
add services incrementally. are there any comprehensive guides to all of
the required kernel config options?

warmest regards,

stephen


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



Re: code 1 error on kernel compile

2003-01-18 Thread Stephen D. Kingrea
i have never had any spurious errors on this box since it has been
running. until now, anywaybut it has only been running a couple of
weeks. this may be the shot across the bow

the file in question appears as an e-mail message. line 4 of the header
reads: Subject: DON'T DELETE THIS MESSAGE -- FOLDER INTERNAL DATA

several attempts to compile using both methods yields the same result at
the same spot.what a mess.

stephen d. kingrea

On Fri, 17 Jan 2003, Kris Kennaway wrote:

On Fri, Jan 17, 2003 at 12:09:34PM -0500, Stephen D. Kingrea wrote:
 make depend returns (last 5 lines):
 
 In file included from ../../isa/fdreg.h:42,
  ../../fd.c/:85:
  ../../isa/ic/nec765.h:4: unterminated character constant
 mkdep: compile failed
 *** error code 1
 
 have i done something wrong?

Looks like you might have corrupted source (possibly due to bad
hardware such as bad RAM or CPU cooling), but it's difficult to be
certain without more information.

* What is on line 4 of that header?
* Does it always fail in the same place?
* Have you had other spurious errors on this machine under load?

etc.

Kris



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



different ipfw/natd prob

2003-01-17 Thread Stephen D. Kingrea
i have a slightly different ipfw/natd problem.  

machines on the lan can ping internal nic on the server (fbsd 4.7), and
the external nic, but can not ping or reach anything outside. unless i
telnet into the server, then telnet out. currently running ipfw
open until problem is solved. server can ping all machines on lan.

 stephen


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



Re: different ipfw/natd prob

2003-01-17 Thread Stephen D. Kingrea
oh, this looks bad before i do that, i should mention that in the
meantime, i tried to add a divert rule and got 

ip_fw_ctl: invalid command

on boot, i get 

IP packet filtering initialized, divert disabled, rule-based forwarding
enabled, default to deny, logging disabled

is this a clue that i need to rebuild kernel?

stephen d. kingrea

On Fri, 17 Jan 2003, Bill Moran wrote:

Stephen D. Kingrea wrote:
 i have a slightly different ipfw/natd problem.  
 
 machines on the lan can ping internal nic on the server (fbsd 4.7), and
 the external nic, but can not ping or reach anything outside. unless i
 telnet into the server, then telnet out. currently running ipfw
 open until problem is solved. server can ping all machines on lan.

On a wild guess, it sounds like your divert rule is wrong.
Need more information to help with this.

Please repost to the list and include the following:
The output of 'ipfw show'
The output of 'ifconfig'
The contents of your rc.conf file

-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com


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: different ipfw/natd prob

2003-01-17 Thread Stephen D. Kingrea
following is rc.conf, /etc/natd.conf, ifconfig, ipfw show

rc.conf

inetd_enable=YES
kern_securelevel_enable=NO
linux_enable=YES
tcp_extensions=YES
named_enable=YES
sendmail_enable=NO
portmap_enable=YES
router_enable=yes
router=/sbin/routed
router_flags=-q
defaultrouter=68.abc.de.1
hostname=www.kingrea.com
network_interfaces=lo0 fxp0 dc0
ifconfig_lo0=inet 127.0.0.1
ifconfig_dc0=inet 68.abc.de.14 netmask 255.255.255.0 media 10baseT/UTP
ifconfig_fxp0=inet 192.168.2.1 netmask 255.255.255.0
firewall_enable=YES
firewall_type=OPEN
gateway_enable=YES
natd_enable=YES
natd_interface=dc0
natd_flags=-f /etc/natd.conf

natd.conf

interface dc0
use_sockets yes
same_ports yes

ifconfig

dc0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
inet 68.abc.de.14 netmask 0xff00 broadcast 68.abc.de.255
inet6 fe80::204:5aff:fe5a:9987%dc0 prefixlen 64 scopeid 0x1
ether 00:04:5a:5a:99:87
media: Ethernet 10baseT/UTP
status: active
fxp0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
inet 192.168.2.1 netmask 0xff00 broadcast 192.168.2.255
inet6 fe80::2a0:c9ff:fe5c:3738%fxp0 prefixlen 64 scopeid 0x2
ether 00:a0:c9:5c:37:38
media: Ethernet autoselect (100baseTX)
status: active
lp0: flags=8810POINTOPOINT,SIMPLEX,MULTICAST mtu 1500
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 0x5
inet 127.0.0.1 netmask 0xff00
ppp0: flags=8010POINTOPOINT,MULTICAST mtu 1500
sl0: flags=c010POINTOPOINT,LINK2,MULTICAST mtu 552

ipfw show

00100   0   0 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   4208345040 all ip from any to any
65535   0   0 deny ip from any to any


thanks for assistance!

stephen d. kingrea

On Fri, 17 Jan 2003, Bill Moran wrote:

Stephen D. Kingrea wrote:
 i have a slightly different ipfw/natd problem.  
 
 machines on the lan can ping internal nic on the server (fbsd 4.7), and
 the external nic, but can not ping or reach anything outside. unless i
 telnet into the server, then telnet out. currently running ipfw
 open until problem is solved. server can ping all machines on lan.

On a wild guess, it sounds like your divert rule is wrong.
Need more information to help with this.

Please repost to the list and include the following:
The output of 'ipfw show'
The output of 'ifconfig'
The contents of your rc.conf file

-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com


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: different ipfw/natd prob

2003-01-17 Thread Stephen D. Kingrea
i agree. it does seem that i need to recompile:

www# ipfw add diver natd all from any to any via dc0
ip_fw_ctl: invalid command
ipfw: getsockopt(IP_FW_ADD): Invalid argument

would seem to indicate this..

i shall commence, as per yours and JoeB's suggestion and report back

thank you both

stephen d. kingrea

On Fri, 17 Jan 2003, Bill Moran wrote:

Stephen D. Kingrea wrote:
 oh, this looks bad before i do that, i should mention that in the
 meantime, i tried to add a divert rule and got 
 
 ip_fw_ctl: invalid command
 
 on boot, i get 
 
 IP packet filtering initialized, divert disabled, rule-based forwarding
 enabled, default to deny, logging disabled

Sounds like you need to recompile your kernel with IPDIVERT (as someone
else pointed out)

-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com


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



code 1 error on kernel compile

2003-01-17 Thread Stephen D. Kingrea
make depend returns (last 5 lines):

In file included from ../../isa/fdreg.h:42,
../../fd.c/:85:
../../isa/ic/nec765.h:4: unterminated character constant
mkdep: compile failed
*** error code 1

have i done something wrong?

stephen d. kingrea


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



solved : Re: newbie questions about pppoe and netgraph

2003-01-15 Thread Stephen D. Kingrea
2 problems

1  cable modem needed 10baset connection. changed rc.conf=
ifconfig_dc0=inet xxx.xxx.xxx.xxx mask 255.255.255.0 media 10baseT/UTP
fixed that problem

2  didn't need pppoe after all! after changing media, was able to ping
external router

btw, this is charter pipeline (vermont) service (768) using 3com 3cr29223
home connect external usb/ether (NOT adsl dual connect). tech support was
friendly but basically clueless (i don't know anything about
free-bee-ess-dee ppp over ethernet? what's that?).

anyway, thanks for all of your helpi learned more about pppoe than i
ever wanted. all you guys are terrific!

stephen

On Sat, 11 Jan 2003, Stephen D. Kingrea wrote:

this is the latest, unchanged from this am. i should say that using
different parameters from the several different tutorial sources has
resulted in pretty much the same result: flaking out at lpc (if that is
what is really happening)

additionally, the set ifaddr line seems superfluous, since i have an
assigned ip address and established route

default:
 set device PPPoE:fxp0
 set speed mru 1492
 set speed mtu 1492
 set ctsrts off
 enable lqr
 set lqrperiod 5
 set cd 5
 set log All
 set log local phase chat lcp ccp tun command
 add default HISADDR
 enable dns
 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255 0.0.0.0
 set authname *
 set authkey *
 set login
 set dial
 set timeout 0
 open


stephen

On Sat, 11 Jan 2003, Matthew Emmerton wrote:

 What does your ppp.conf look like?  For PPPoE, it you should have a line
 like this:

[ dang email client ]

set device PPPoE:ed1

where ed1 is the network card that is hooked up to your DSL modem.


 --
 Matt

 
  www# /usr/sbin/ppp
  Working in interactive mode
  Using interface: tun0
  tun0: Command: default: add default HISADDR
  tun0: Command: default: enable DNS
  tun0: Command: default: set ifaddr 10.0.0.1/0 10.0.0.0/2 255.255.255
  0.0.0.0
  tun0: Command: default: set authname **
  tun0: Command: default: set authkey **
  tun0: Command: default: set login
  tun0: Command: default: set dial
  tun0: Command: default: set timeout 0
  tun0: Command: default: open
  tun0: Phase: bundle: Establish
  tun0: Phase: closed - opening
  tun0: Phase: PPP started (interactive)
  tun0: Phase: deflink: Connected!
  tun0: Phase: deflink: opening - dial
  tun0: Chat: deflink: Dial attempt 1 of 1
  tun0: Phase: deflink: dial - carrier
  ppp ON www tun0: Phase: deflink: Disconnected!
  tun0: Phase: deflink: carrier - hangup
  tun0: Phase: deflink: Connect time: 5 secs: 0 octets in, 0 octets out
  tun0: Phase:  total 0 bytes/sec, peak 0 bytes/sec on Sat Jan 11
  tun0: Phase: deflink hangup - closed
  tun0: Phase: bundle: Dead
 
  i imagine that some of this is unnecessary, but it appears that i am not
  even getting to authentication before disconnecting.
 
  thank you
 
  stephen
 
  On Sat, 11 Jan 2003, Matthew Emmerton wrote:
 
   attempting to run pppoe on freebsd 4.7 over cable/dsl connection.
  
   manual says kernel recompilation unnecessary for this release in
   order to run pppoe. however, netgraph does not seem to be loading at
 boot
   time. additionally, pppoe seems unable to get past lcp when
connecting.
  
   how can i tell if netgraph is active after boot? if not, can netgraph
   modules be loaded at boot by adding necessary lines into loader.conf?
 or
   is recompiling kernel a preferred method?
  
  If netgraph and pppoe support are not present in your kernel (or not
 loaded
  from modules automatically), the ppp program will complain loudly.
  
  Can you post part of your ppp log file so that we can determine if the
 lack
  of pppoe is your problem or if it's something else?
  
  --
  Matt Emmerton
  
  
  
  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



newbie questions about pppoe and netgraph

2003-01-11 Thread Stephen D. Kingrea
attempting to run pppoe on freebsd 4.7 over cable/dsl connection.

manual says kernel recompilation unnecessary for this release in
order to run pppoe. however, netgraph does not seem to be loading at boot
time. additionally, pppoe seems unable to get past lcp when connecting.

how can i tell if netgraph is active after boot? if not, can netgraph
modules be loaded at boot by adding necessary lines into loader.conf? or
is recompiling kernel a preferred method?

stephen



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



Re: newbie questions about pppoe and netgraph

2003-01-11 Thread Stephen D. Kingrea
ok here is what i get

www# /usr/sbin/ppp
Working in interactive mode
Using interface: tun0
tun0: Command: default: add default HISADDR
tun0: Command: default: enable DNS
tun0: Command: default: set ifaddr 10.0.0.1/0 10.0.0.0/2 255.255.255
0.0.0.0
tun0: Command: default: set authname **
tun0: Command: default: set authkey **
tun0: Command: default: set login
tun0: Command: default: set dial
tun0: Command: default: set timeout 0
tun0: Command: default: open
tun0: Phase: bundle: Establish
tun0: Phase: closed - opening
tun0: Phase: PPP started (interactive)
tun0: Phase: deflink: Connected!
tun0: Phase: deflink: opening - dial
tun0: Chat: deflink: Dial attempt 1 of 1
tun0: Phase: deflink: dial - carrier
ppp ON www tun0: Phase: deflink: Disconnected!
tun0: Phase: deflink: carrier - hangup
tun0: Phase: deflink: Connect time: 5 secs: 0 octets in, 0 octets out
tun0: Phase:  total 0 bytes/sec, peak 0 bytes/sec on Sat Jan 11
tun0: Phase: deflink hangup - closed
tun0: Phase: bundle: Dead

i imagine that some of this is unnecessary, but it appears that i am not
even getting to authentication before disconnecting.

thank you

stephen

On Sat, 11 Jan 2003, Matthew Emmerton wrote:

 attempting to run pppoe on freebsd 4.7 over cable/dsl connection.

 manual says kernel recompilation unnecessary for this release in
 order to run pppoe. however, netgraph does not seem to be loading at boot
 time. additionally, pppoe seems unable to get past lcp when connecting.

 how can i tell if netgraph is active after boot? if not, can netgraph
 modules be loaded at boot by adding necessary lines into loader.conf? or
 is recompiling kernel a preferred method?

If netgraph and pppoe support are not present in your kernel (or not loaded
from modules automatically), the ppp program will complain loudly.

Can you post part of your ppp log file so that we can determine if the lack
of pppoe is your problem or if it's something else?

--
Matt Emmerton



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



newbie cluele re routing issue

2003-01-10 Thread Stephen D. Kingrea
ok, i know that i am a newbie, but perhaps what i am trying to do is
impossible.

goal: host 2 domains locally
equipment: linksys wireless router (4 ethernet connections--wireless not
running yet), freebsd 4.7 on dedicated p166, and several boxes/os's
connected dhcp.

i assigned router 1 static address (68.114.63.14), server lan address
(192.168.1.110). domain1.com is working.

i wish to alias second static address (68.114.63.34) on server for
domain2.com. 

try as i might, i cannot make this work. is it even possible?

linksys says: place hub between modem and router, connect server to hub
(placing server outside lan). that scenario renders server incapable of
communicating with isp's router (68.114.63.1).

i am beginning to wonder whether i can even accomplish this. it seems
simple enough, however; i just can't make it work

any suggestions?

tia

stephen d. kingrea


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



Re: newbie cluele re routing issue

2003-01-10 Thread Stephen D. Kingrea
yes, it is cable/dsl. that would explain the lack of connectivity under
the linksys scenario.

i will try this again and report back. thank you for the clue

stephen d. kingrea

On 10 Jan 2003, Matt Smith wrote:

Regarding your ISP -- is this a DSL connection?  If so, your DMZ server
(connected to the Hub) probably needs to run PPPoE.  Is it?  Anything
behind the linksys device does not, because the linksys device takes
care of PPPoE for everything behind it.
-Matt

On Fri, 2003-01-10 at 14:20, Stephen D. Kingrea wrote:
 ok, i know that i am a newbie, but perhaps what i am trying to do is
 impossible.
 
 goal: host 2 domains locally
 equipment: linksys wireless router (4 ethernet connections--wireless not
 running yet), freebsd 4.7 on dedicated p166, and several boxes/os's
 connected dhcp.
 
 i assigned router 1 static address (68.114.63.14), server lan address
 (192.168.1.110). domain1.com is working.
 
 i wish to alias second static address (68.114.63.34) on server for
 domain2.com. 
 
 try as i might, i cannot make this work. is it even possible?
 
 linksys says: place hub between modem and router, connect server to hub
 (placing server outside lan). that scenario renders server incapable of
 communicating with isp's router (68.114.63.1).
 
 i am beginning to wonder whether i can even accomplish this. it seems
 simple enough, however; i just can't make it work
 
 any suggestions?
 
 tia
 
 stephen d. kingrea
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
-- 
Matt Smith [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