mpd PPTP to Cisco 3000 VPN Concentrator routing problem

2004-01-08 Thread Chris Jones
Hi.  I've gone over list archives and seen this issue discussed before,
but the sugggested solutions aren't working for me.  I am using
mpd-3.15_1 on FreeBSD 4.9-STABLE to connect to a Cisco 3000 Series VPN
Concentrator.  I have negotiated CHAP and MPPE and the ng0 interface
comes up, but when I try to do anything I get this:

$ ping 10.10.58.7 
PING 10.10.58.7 (10.10.58.7): 56 data bytes   
ping: sendto: Resource deadlock avoided   
ping: sendto: No buffer space available   

A little investigation showed that this is a known routing issue and
that it is possible to work around by re-addressing the ng0 interface
with the VPN concentrator's private IP and set a default route to it.  I
did this, but I still have the same problem.  :(

Does anyone see what I am doing wrong here?  Below are my routing table
and ifconfig before running mpd, after running mpd, and after running
the fix.  Below that is my mpd.conf and its output (verbose).

I appreciate any help on this, I've been going crazy trying to figure
out what I'm doing wrong.  I can get it to work using the OSX PPTP
client, but not mpd.


- Chris



VPN External IP: C.O.R.P
VPN Interal IP: 10.10.58.7


*** before running mpd

DestinationGatewayFlagsRefs  Use  Netif Expire
default192.168.131.254UGS 00de0
127.0.0.1  127.0.0.1  UH  00lo0
192.168.131link#1 UC  00de0
192.168.131.25400:00:0f:00:00:00  UHLW10de0 36


*** after running mpd

ng0: flags=88d1UP,POINTOPOINT,RUNNING,NOARP,SIMPLEX,MULTICAST mtu 1494
inet 10.10.58.156 -- C.O.R.P netmask 0x 
inet6 fe80::203::fe73:504c%ng0 prefixlen 64 scopeid 0x3 

DestinationGatewayFlagsRefs  Use  Netif Expire
default192.168.131.254UGS 0   30de0
10.10.58.156   lo0UHS 00lo0
127.0.0.1  127.0.0.1  UH  00lo0
192.168.131link#1 UC  00de0
192.168.131.25400:00:0f:00:00:00  UHLW10de0  4
C.O.R.P10.10.58.156   UH  00ng0

*** run fix from iface up-script

ifconfig ng0 inet 10.10.58.156 10.10.58.7 netmask 0x
route delete default
route add default -interface ng0


*** after running fix

ng0: flags=88d1UP,POINTOPOINT,RUNNING,NOARP,SIMPLEX,MULTICAST mtu 1494
inet6 fe80::203::fe73:504c%ng0 prefixlen 64 scopeid 0x3 
inet 10.10.58.156 -- 10.10.58.7 netmask 0x 

DestinationGatewayFlagsRefs  Use  Netif Expire
defaultng0US  00ng0
10.10.58.7 10.10.58.156   UH  00ng0
10.10.58.156   lo0UHS 00lo0
127.0.0.1  127.0.0.1  UH  00lo0
192.168.131link#1 UC  00de0
192.168.131.25400:00:0f:00:00:00  UHLW00de0


ciscovpn:
new -i ng0 ciscovpn work
set bundle authname user
set bundle password password
set ipcp ranges 10.10.58.0/23 C.O.R.P/32
set link max-redial -1
set link keep-alive 0 0
set link disable acfcomp protocomp
set bundle no crypt-reqd
set bundle enable compression encryption
set ccp yes mppc
set ccp yes mpp-e128
set ccp no mpp-e40
set ccp yes mpp-stateless
set link disable pap chap
set link no chap-md5
set link no chap-msv2
set link no pap
set link accept chap-msv1
set iface idle 0
set ipcp disable vjcomp
set ipcp enable req-pri-dns req-sec-dns
set iface up-script /usr/local/etc/mpd/ciscovpn-iface-up.sh
open

*** mpd.links

work:
set link type pptp
set pptp peer C.O.R.P
set pptp enable originate outcall


*** mpd output

# mpd
Multi-link PPP for FreeBSD, by Archie L. Cobbs.
Based on iij-ppp, by Toshiharu OHNO.
mpd: pid 1033, version 3.15 ([EMAIL PROTECTED] 00:39  7-Jan-2004)
[ciscovpn] ppp node is mpd1033-ciscovpn
[ciscovpn] using interface ng0
[ciscovpn] IFACE: Open event
[ciscovpn] IPCP: Open event
[ciscovpn] IPCP: state change Initial -- Starting
[ciscovpn] IPCP: LayerStart
[ciscovpn:work] [ciscovpn] bundle: OPEN event in state CLOSED
[ciscovpn] opening link work...
[work] link: OPEN event
[work] LCP: Open event
[work] LCP: state change Initial -- Starting
[work] LCP: LayerStart
[work] device: OPEN event in state DOWN
pptp0: connecting to C.O.R.P:1723
[work] device is now in state OPENING
pptp0: connected to C.O.R.P:1723
pptp0: attached to connection with C.O.R.P:1723
pptp0-0: outgoing call connected at 1000 bps
[work] PPTP call successful
[work] device: UP event in state OPENING
[work] device is now in 

Re: mpd PPTP to Cisco 3000 VPN Concentrator routing problem

2004-01-08 Thread Joe Marcus Clarke
On Thu, 2004-01-08 at 02:49, Chris Jones wrote:
 Hi.  I've gone over list archives and seen this issue discussed before,
 but the sugggested solutions aren't working for me.  I am using
 mpd-3.15_1 on FreeBSD 4.9-STABLE to connect to a Cisco 3000 Series VPN
 Concentrator.  I have negotiated CHAP and MPPE and the ng0 interface
 comes up, but when I try to do anything I get this:
 
 $ ping 10.10.58.7 
 PING 10.10.58.7 (10.10.58.7): 56 data bytes   
 ping: sendto: Resource deadlock avoided   
 ping: sendto: No buffer space available   
 
 A little investigation showed that this is a known routing issue and
 that it is possible to work around by re-addressing the ng0 interface
 with the VPN concentrator's private IP and set a default route to it.  I
 did this, but I still have the same problem.  :(
 
 Does anyone see what I am doing wrong here?  Below are my routing table
 and ifconfig before running mpd, after running mpd, and after running
 the fix.  Below that is my mpd.conf and its output (verbose).
 
 I appreciate any help on this, I've been going crazy trying to figure
 out what I'm doing wrong.  I can get it to work using the OSX PPTP
 client, but not mpd.

Good luck.  I have tried to get this working, but have never been able
to get mpd encryption to work with the Concentrator's encryption
(neither has anyone else to my knowledge).  If you disable encryption on
the concentrator, the tunnel will come up, and you will be able to pass
traffic across it.  Any other combination does not work.  I haven't
tried 3.16 yet, but looking at the ChangeLog, I doubt it addresses this
problem.

Joe

-- 
PGP Key : http://www.marcuscom.com/pgp.asc


signature.asc
Description: This is a digitally signed message part


Re: Disk defragmentation

2004-01-08 Thread Giorgos Keramidas
On 2004-01-07 21:30, Mazen S. Alzogbi [EMAIL PROTECTED] wrote:
 Yeah, I just landed from MS Planet to FreeBSD and I am NOT leaving :)

Cool, welcome to FreeBSD then!  A good starting point, if you haven't
already discovered it, is our docs collection at:

http://www.FreeBSD.org/docs.html

Happy FreeBSD'ing :)

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


contogmalloc1

2004-01-08 Thread Andrew Kozak
 Hi All

Having big problems installing FreeBSD 4.9 or 5.1. Every time I try to boot,
I get the error

panic: contigmalloc1: size must be 0

I have googled extensively with no success, seems a few people have had this
problem, but I cannot find wether it has been resolved or not. It seems the
machine I have just purchased has the Ali chipset, which it seems causes the
problem. I have been able to install 4.7, but with limited success, big
problems with XFree86 accepting the drivers, wierd screen reolutions, and
programs like irssi behave strangely (title bars shifting, distorted screen
etc), I am defintly using the correct drivers as well, followed the handbook
closely as I could.
With 4.9 FreeBSD installs and crashes after the reboot, 5.1 does not even
get this far, it stalls on bootup.
I have disabled power management as well - no difference.

Can anyone help, or does anyone know if a solution has been found and posted
 I use 4.9 on my trusty old P2, and like it very much. I am hoping I can
install it on my new box to use at home and would like to have a look at 5.1

I apreciate all help.

Please reply to this address as I am not on the list.
 
Thanks
Andy
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: mpd PPTP to Cisco 3000 VPN Concentrator routing problem

2004-01-08 Thread Chris Jones
Oh. :(  I thought it negotiated the encryption ok because I see this:

[ciscovpn] CCP: LayerUp
  Compress using: MPPE, 128 bit, stateless
  Decompress using: MPPE, 128 bit, stateless

And capturing on the interface, I see echo req's coming in from the
concentrator, but I encounter a routing loop when I try to send across
the tunnel.

Disabling encryption isn't an option, even for testing, I'm afraid.


Original message from Joe Marcus Clarke:

 On Thu, 2004-01-08 at 02:49, Chris Jones wrote:
  Hi.  I've gone over list archives and seen this issue discussed before,
  but the sugggested solutions aren't working for me.  I am using
  mpd-3.15_1 on FreeBSD 4.9-STABLE to connect to a Cisco 3000 Series VPN
  Concentrator.  I have negotiated CHAP and MPPE and the ng0 interface
  comes up, but when I try to do anything I get this:
  
  $ ping 10.10.58.7 
  PING 10.10.58.7 (10.10.58.7): 56 data bytes   
  ping: sendto: Resource deadlock avoided   
  ping: sendto: No buffer space available   
  
  A little investigation showed that this is a known routing issue and
  that it is possible to work around by re-addressing the ng0 interface
  with the VPN concentrator's private IP and set a default route to it.  I
  did this, but I still have the same problem.  :(
  
  Does anyone see what I am doing wrong here?  Below are my routing table
  and ifconfig before running mpd, after running mpd, and after running
  the fix.  Below that is my mpd.conf and its output (verbose).
  
  I appreciate any help on this, I've been going crazy trying to figure
  out what I'm doing wrong.  I can get it to work using the OSX PPTP
  client, but not mpd.
 
 Good luck.  I have tried to get this working, but have never been able
 to get mpd encryption to work with the Concentrator's encryption
 (neither has anyone else to my knowledge).  If you disable encryption on
 the concentrator, the tunnel will come up, and you will be able to pass
 traffic across it.  Any other combination does not work.  I haven't
 tried 3.16 yet, but looking at the ChangeLog, I doubt it addresses this
 problem.
 
 Joe
 
 -- 
 PGP Key : http://www.marcuscom.com/pgp.asc



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


Re: sshd crashing server

2004-01-08 Thread Will Prater
Subhro,

On Jan 6, 2004, at 9:36 PM, Subhro wrote:

Hi Will,
READ the Handbook :-). After you cvsup
read /usr/src/UPDATING for some special installation instructions
cd /usr/src
make buildworld ===Start building the world i.e. the new binaries
edit the kernel config file  Here is the custom kernel stuff
make buildkernel KERNCONF=your_kernel_name = Here goes the 
kernel
building
make installkernel KERNCONF=your_kernel_name ===Installed the 
kernel
here
reboot into single user mind it its single user. The box 
boots here
on the new kernel
mergermaster -p
make installworld ===Here goes your new system
reboot ===this time a normal boot
Yes, I have run over the handbook, I was just a bit worried about the 
crashing server. Thanks for the run down.

I do not have physical access to the server. Can one make installworld 
running in multiuser mode, if one had shut down any active daemons and 
locked out the users?

Thanks for any advice.

If your system gives you a login prompt then the steps to follow are
dance
coffee
girl_friend
get a ass thrashing from boss
get back to work :-)
hurray!

And yes u can cvsuo to current as well as stable tree. If you want to 
go to
stable, then use /usr/share/examples/cvsup/stable-supfile.
Do read through that file before you run it.
Great.

--will

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


Re: mpd PPTP to Cisco 3000 VPN Concentrator routing problem

2004-01-08 Thread Joe Marcus Clarke
On Thu, 2004-01-08 at 03:34, Chris Jones wrote:
 Oh. :(  I thought it negotiated the encryption ok because I see this:
 
 [ciscovpn] CCP: LayerUp
   Compress using: MPPE, 128 bit, stateless
   Decompress using: MPPE, 128 bit, stateless

This is fine.  I get this, too.  However, when trying to send data, I
get decryption errors (the concentrator reports invalid packets).

 
 And capturing on the interface, I see echo req's coming in from the
 concentrator, but I encounter a routing loop when I try to send across
 the tunnel.

I was able to get past the routing loop by readdressing the interface as
soon as it came up.  This is a good starter howto on that procedure:

http://www.cs.rpi.edu/~flemej/fbsd-cisco-vpn/fbsd-cisco-vpn.pdf

 
 Disabling encryption isn't an option, even for testing, I'm afraid.

Then you're probably not going have any luck getting this to work.  You
might also consider trying out security/vpnc if the concentrator also
allows for IPSec clients using the Cisco VPN client.

Joe

 
 
 Original message from Joe Marcus Clarke:
 
  On Thu, 2004-01-08 at 02:49, Chris Jones wrote:
   Hi.  I've gone over list archives and seen this issue discussed before,
   but the sugggested solutions aren't working for me.  I am using
   mpd-3.15_1 on FreeBSD 4.9-STABLE to connect to a Cisco 3000 Series VPN
   Concentrator.  I have negotiated CHAP and MPPE and the ng0 interface
   comes up, but when I try to do anything I get this:
   
   $ ping 10.10.58.7 
   PING 10.10.58.7 (10.10.58.7): 56 data bytes   
   ping: sendto: Resource deadlock avoided   
   ping: sendto: No buffer space available   
   
   A little investigation showed that this is a known routing issue and
   that it is possible to work around by re-addressing the ng0 interface
   with the VPN concentrator's private IP and set a default route to it.  I
   did this, but I still have the same problem.  :(
   
   Does anyone see what I am doing wrong here?  Below are my routing table
   and ifconfig before running mpd, after running mpd, and after running
   the fix.  Below that is my mpd.conf and its output (verbose).
   
   I appreciate any help on this, I've been going crazy trying to figure
   out what I'm doing wrong.  I can get it to work using the OSX PPTP
   client, but not mpd.
  
  Good luck.  I have tried to get this working, but have never been able
  to get mpd encryption to work with the Concentrator's encryption
  (neither has anyone else to my knowledge).  If you disable encryption on
  the concentrator, the tunnel will come up, and you will be able to pass
  traffic across it.  Any other combination does not work.  I haven't
  tried 3.16 yet, but looking at the ChangeLog, I doubt it addresses this
  problem.
  
  Joe
  
  -- 
  PGP Key : http://www.marcuscom.com/pgp.asc
-- 
PGP Key : http://www.marcuscom.com/pgp.asc


signature.asc
Description: This is a digitally signed message part


Re: sshd crashing server

2004-01-08 Thread Will Prater
On Jan 8, 2004, at 12:38 AM, Will Prater wrote:

Subhro,

On Jan 6, 2004, at 9:36 PM, Subhro wrote:

Hi Will,
READ the Handbook :-). After you cvsup
read /usr/src/UPDATING for some special installation instructions
cd /usr/src
make buildworld ===Start building the world i.e. the new 
binaries
edit the kernel config file  Here is the custom kernel stuff
make buildkernel KERNCONF=your_kernel_name = Here goes the 
kernel
building
make installkernel KERNCONF=your_kernel_name ===Installed the 
kernel
here
reboot into single user mind it its single user. The box 
boots here
on the new kernel
mergermaster -p
make installworld ===Here goes your new system
reboot ===this time a normal boot
Yes, I have run over the handbook, I was just a bit worried about the 
crashing server. Thanks for the run down.

I do not have physical access to the server. Can one make installworld 
running in multiuser mode, if one had shut down any active daemons and 
locked out the users?
I could re-install sshd into /usr/local so when I make installworld 
/usr/sbin/sshd will not be overwritten.

Can this be done without booting into single user?

Thanks!

Thanks for any advice.

If your system gives you a login prompt then the steps to follow are
dance
coffee
girl_friend
get a ass thrashing from boss
get back to work :-)
hurray!

And yes u can cvsuo to current as well as stable tree. If you want to 
go to
stable, then use /usr/share/examples/cvsup/stable-supfile.
Do read through that file before you run it.
Great.

--will

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


--will

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


bandwidth throttling for a particlarport for FTP server

2004-01-08 Thread Jamie Grunewald
hi,

I'm fairly new to FreeBSD and I hope this is the
proper group to post this question.

I'm setting up a FTP server on FreeBSD 5.1 to be
accessed by a select number of people.  Is there a way
to limit the amount of bandwidth that would allocated
(e.g. I don't want to use the full 768kb/s (internet
connection max)) for my FTP port?  I have multiple
systems on my home LAN, the reason for limiting my
bandwidth for FTP purposes.  I do have a router with
an active firewall.

Thanks
james

__
Do you Yahoo!?
Yahoo! Hotjobs: Enter the Signing Bonus Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ISDN - United Kingdom

2004-01-08 Thread Peter Risdon
Edward Hughes wrote:

Can anyone offer any help on getting ISDN up and running in the UK.  I am using BT's ISDN card and BT's ISDN service.
 

Personally, I would get a serial port ISDN TA which supports the AT 
command set (most do), and use userland ppp. I'd save far more in time 
than I'd spend on the TA.

Otherwise, start with:

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

PWR.

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


Re: bandwidth throttling for a particlarport for FTP server

2004-01-08 Thread Nelis Lamprecht
On Thu, 2004-01-08 at 11:37, Jamie Grunewald wrote:
 hi,
 
 I'm fairly new to FreeBSD and I hope this is the
 proper group to post this question.
 
 I'm setting up a FTP server on FreeBSD 5.1 to be
 accessed by a select number of people.  Is there a way
 to limit the amount of bandwidth that would allocated
 (e.g. I don't want to use the full 768kb/s (internet
 connection max)) for my FTP port?  I have multiple
 systems on my home LAN, the reason for limiting my
 bandwidth for FTP purposes.  I do have a router with
 an active firewall.
 
 Thanks
 james

Hi,

By using ipfw(8) and dummynet(4) you can artificially limit the amount
of bandwidth used for a specific network/port. The man pages for ipfw(8)
contain some useful examples on how to configure and use this.

Another method would be to use a FTP Server that supports bandwidth
throttling eg. ProFTPD ( www.proftpd.org ) 
It has variables like RateWriteBPS, RateReadBPS etc which you can
configure to suit your bandwidth requirements.

Regards,

-- 
Nelis Lamprecht
PGP: http://www.8ball.co.za/pgp/nelis.key
Unix IS user friendly.. It's just selective about who its friends are.


signature.asc
Description: This is a digitally signed message part


Sound not working on laptop

2004-01-08 Thread Mazen S. Alzogbi
Hi,

Sound is not working on my laptop that has FreeBSD 4.9 installed on. I
want to check the detected driver (if any) by the system and configure
it to use the right one.

How can this be done whether by using KDE or on the command line?

Thanks in advance.

Mazen S. Alzogbi
www.MazenAlzogbi.com

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


RE: IPFW confusion

2004-01-08 Thread Philip Payne
Hi,


  However, I can't get the config to work. I've commented out 
 all the deny 
  rules. In this instance, I can browse the web via SQUID 
 that's installed 
  on the IPFW box. I can't browse the web directly, though. 
 That is the 
  only external access I get. I can't ping any sites, DNS 
 lookups fail 
  (I've set the DNS servers on the client workstation to be 
 that my ISP's. 
  I also tried setting it to look at the IPFW box first, with no luck)
  
  Can anyone offer help on this one? I'm getting stuck in a muddle of 
  mis-understanding
  

At work so I don't have time to debug a whole policy or anything but

Firstly, I agree with the comments about logging a deny all at the end of
your policy.

If you start logging too much rubbish insert specific deny rules that do NOT
log just above the deny all to filter out things you don't want to see. To
be honest, it's good practice to keep this approach permantently.

Secondly, a handy tool is at fwbuilder.org . This provides a GUI interface
for generating your policy. It's not perfect and theres the whole thing of
sacrificing all the command line options for a GUI interface but I've found
it more than useful on my own gateway device. 

Unfortunately, the NAT part is not working so you need to script how the
rules are installed once compiled to ensure you get a NAT rule in place. I
have posted a script to do this in previous emails but feel free to drop me
a reply in future if you need to.

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


Re: Sound not working on laptop

2004-01-08 Thread Andrew L. Gould
On Thursday 08 January 2004 04:21 am, Mazen S. Alzogbi wrote:
 Hi,

 Sound is not working on my laptop that has FreeBSD 4.9 installed on. I
 want to check the detected driver (if any) by the system and configure
 it to use the right one.

 How can this be done whether by using KDE or on the command line?

 Thanks in advance.

 Mazen S. Alzogbi
 www.MazenAlzogbi.com

Sound is not supported in the default kernel.  You'll need to add a device and 
recompile the kernel.  See /usr/src/sys/i386/conf/LINT for examples.

Also make sure FreeBSD supports the sound codec.

Lastly, make sure the applications you're using are proplerly configured to 
use the correct devices, etc.  For example, IIRC, kscd uses /dev/rcd0c by 
default which most people will need to change to /dev/acd0c or /dev/cd0c.

Best of luck,

Andrew Gould

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


Re: sending mail question...

2004-01-08 Thread Jason Stewart
On 07/01/04 16:11 -0500, Xpression wrote:
 Hi list, I've a little bit confused, I have a mail server running
 Exim as MTA, now what about if I want to send mail with another server to
 some mailboxes on the server running the MTA...I think I've to install a
 client or something like that ??? Thanks...


The mail program is a simple utility that will fulfill your needs. See
man 1 mail.

If you need to send and/or receive mail manually on a regular basis, a
mail client that I recommend is mutt, which you can find in the ports.

Good Luck,
Jason

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


Re: Sound not working on laptop

2004-01-08 Thread Jason Stewart
On 08/01/04 14:21 +0400, Mazen S. Alzogbi wrote:
 Hi,
 
 Sound is not working on my laptop that has FreeBSD 4.9 installed on. I
 want to check the detected driver (if any) by the system and configure
 it to use the right one.
 
 How can this be done whether by using KDE or on the command line?

Usually you would load a driver for your sound card or compile it into
your kernel. What type of card is it?

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


Kernel KVM switch

2004-01-08 Thread Marius Kirschner
I remember there used to some setting that you had to set if you wanted to
use a KVM switch, but for the live of me I can't find what it was.
Basically, with both my 4.9 and 5.1 boxes if I reboot any of them and they
are not selected on the switch then the keyboard won't work.  Since I do
most of the work via ssh it's not a big deal, but still, can somebody please
point me in the right direction?  Thanks,

---Marius 

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


Re: What is the difference between ; and

2004-01-08 Thread Matthew Seaman
On Wed, Jan 07, 2004 at 11:38:58PM +, Ceri Davies wrote:
 On Wed, Jan 07, 2004 at 05:36:42PM -0600, Eric F Crist wrote:

  make depend  make  make install

 [Of course, if the Makefile has it's dependencies correct, then a simple
  make install will achieve the same thing.]

Hmmm... Usually 'make depend' generates a dependency Makefile, which
is .included'ed into the main Makefile on subsequent runs.  That means
that

make depend ; make all

has a different effect to:

make depend all

Unless make(1) has been taught to keep tabs on it's included Makefiles
and knows how to re-load them if their modification time changes.  As
I understood it, that was a trick that gmake(1) could do but that BSD
make couldn't.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


Re: What is the difference between ; and

2004-01-08 Thread Louis LeBlanc
On 01/08/04 01:43 PM, Matthew Seaman sat at the `puter and typed:
 On Wed, Jan 07, 2004 at 11:38:58PM +, Ceri Davies wrote:
  On Wed, Jan 07, 2004 at 05:36:42PM -0600, Eric F Crist wrote:
 
   make depend  make  make install
 
  [Of course, if the Makefile has it's dependencies correct, then a simple
   make install will achieve the same thing.]
 
 Hmmm... Usually 'make depend' generates a dependency Makefile, which
 is .included'ed into the main Makefile on subsequent runs.  That means
 that
 
 make depend ; make all
 
 has a different effect to:
 
 make depend all
 
 Unless make(1) has been taught to keep tabs on it's included Makefiles
 and knows how to re-load them if their modification time changes.  As
 I understood it, that was a trick that gmake(1) could do but that BSD
 make couldn't.
 
   Cheers,
 
   Matthew

I've missed a bit of this thread, so this may be redundant . . .

The primary reason for using 'make depend  make  make install' is
to halt the whole procedure in the event of a failure at any point.
The '' separates the commands much the way ';' does, but makes the
execution of each one dependent upon the success of the previous.
This means that 'make' (the second command) will be executed if and
only if 'make depend' succeeds.  Likewise, 'make install' will only be
executed if and only if 'make' is executed and succeeds.

If there is a failure at any point, you won't have nearly so far to
backtrack to find the point of failure.

This is a fantastic method for 'scheduling' multiple build stages
without having to sit at the keyboard.

HTH
Lou
-- 
Louis LeBlanc   [EMAIL PROTECTED]
Fully Funded Hobbyist, KeySlapper Extrordinaire :)
http://www.keyslapper.org ԿԬ

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


Question about Cyrus IMAP

2004-01-08 Thread Ajitesh K
I am newbie in FreeBSD as well as cyrus IMAP world.

Problem: Need to setup new POP3 account. I have assume that setting up new
account in Cyrus IMAP of POP3 server would takecare of setting up new
accounts.

I am not able to connect Cyrus IMAP server in POP3 server as I don't know
about user  password of cyradm or imtest. Can any one help me to find a
user and login into POP3 server's Cyrus IMAP.

Thanks in Advance.

Ajitesh


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


Re: What is the difference between ; and

2004-01-08 Thread Lance E. Lott
With ; each command is executed one right after the other, regardless of 
error condition.

With , if the error condition is non-zero, then the next command is not 
executed.

Lance.



At 05:36 PM 1/7/2004, you wrote:

Just wondering what the difference is between ; and ?

I use make depend; make; make install and others say they use:

make depend  make  make install
--
Eric F Crist
AdTech Integrated Systems, Inc
(612) 998-3588
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.558 / Virus Database: 350 - Release Date: 1/2/2004

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.558 / Virus Database: 350 - Release Date: 1/2/2004
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


anonymous ftp passwd

2004-01-08 Thread Tomas Palfi
To all,

i would like to identify the anonymous passwd of our clients for
statistical purposes.  I know that ftp transmits the username and passwd
in plain text.  Is there a way to decrypt them.

thanks

--
tp 



This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk

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


Re: Domains

2004-01-08 Thread Jerry McAllister
 
 HI, i want to have my personal domain not for buisness but for educational use. I am 
 not that familiar with freebsd but i know somethings. I need my own doamin such as 
 www.chetcuti.mt . can i set up my freebsd to do this so when they look up 
 chetcuti.mt they see my ip without registering for a doamin could it be possibil. i 
 know i have to use dns server and bind but could you clarify what i have to do? 
 Thank you

You will have to register the chetcuti.my domain with the appropriate
registering agency.

Then you can make a www.chetcuti.my or a fred.chetcuti.mt or whatever
you want.  

FreeBSD would be a very good choice for a server once you have the
domain registered.

jerry

 ___
 [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]


Re: Commercial graphics drivers for 5.x ??

2004-01-08 Thread Nick Tonkin
On Thu, 08 Jan 2004 08:47:37 +, Robert Downes 
[EMAIL PROTECTED] wrote:

Nick Tonkin wrote:

Andrew, thanks for the pointer. The XFree86 nv driver is what I have 
been using. I'm going to try to install and use Nvidia's own one.


Really? I'm using a GeForce 2 MX 400 (64Mb) RAM, and I get an excellent 
picture with a Philips 109P2 monitor, using the nv driver for X.

Given that you've been using FreeBSD since 2.x, this question is going 
to be insulting, but...

Have you specified everything you can in the XF86Config file? Monitor 
rates, monitor measurements, etc? Seems strange that the same graphics 
chip could give such different performance.
Not insulting. I've used FreeBSD almost exclusively as a server platform, 
not as a desktop. The main reason is that I've always found it to be less 
user-friendly than running a thin Windoze client on top of a FreeBSD 
server via ssh or whatnot. Out of my constant desire to completely dump 
Microsoft I periodically try to set up a FBSD desktop (have done for 
years) and always have given up in frustration sooner or later. Given a 
new major version of the OS plus new versions of X and KDE, I thought I'd 
try it again (plus Windoze screwed me again, eating another desktop). The 
results have been mixed.

As to my XF86Config: I did whatever was minimally necessary to get it 
working, using one of the configuration tools (I think I found it 
confusing that both FBSD and KDE have tools for the same thing. Same with 
printing.) I am now going to delve into XF86Config and see what I can 
improve.

Thanks,
- nick
--

_
Nick Tonkin   {|8^)
information management systems
and custom software development
http://www.tonkinresolutions.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Question about Cyrus IMAP

2004-01-08 Thread Ed Budd
Cyrus-imapd is somewhat unique in that it uses its own database for
mail. This means you don't need local user accounts. However, it does
take more work to set up.

If you've already successfully installed cyrus-imapd (and all its
dependencies) from the ports collection, you need to:

cd /usr/local/share/docs/cyrus

then read the .html docs starting with install.html. Follow the
directions for setting up the proper directories under /var and
configuring and testing authentication. THEN you can create cyrus
mailboxes using the cyradm tool and configure your MTA (sendmail or
otherwise) to delivery to cyrus' database.

As much as I like cyrus personally, it is a fair amount of work if all
you want is a pop3 server. Maybe consider qoppper or something else
unless you really want/need cyrus.

EB



On Thu, 8 Jan 2004 08:57:03 -0500
Ajitesh K [EMAIL PROTECTED] wrote:

 I am newbie in FreeBSD as well as cyrus IMAP world.
 
 Problem: Need to setup new POP3 account. I have assume that setting up
 new account in Cyrus IMAP of POP3 server would takecare of setting up
 new accounts.
 
 I am not able to connect Cyrus IMAP server in POP3 server as I don't
 know about user  password of cyradm or imtest. Can any one help me to
 find a user and login into POP3 server's Cyrus IMAP.
 
 Thanks in Advance.
 
 Ajitesh
 
 
 ___
 [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]


Re: anonymous ftp passwd

2004-01-08 Thread Kliment Andreev
i would like to identify the anonymous passwd of our clients for
statistical purposes.  I know that ftp transmits the username and passwd
in plain text.  Is there a way to decrypt them.

Look for kripp and sniff in ports/security
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Hardware requirements for firewall

2004-01-08 Thread lists
On Wed, 7 Jan 2004, Wayne Pascoe wrote:

  Why not just try it?

 Because it's a commercial hosting operation pushing up to 20Mb/s with
 SLA's to our clients.

 My biggest fear is not that this won't work, but that it will work but
 with intermittant bugs.

Introducing a new machine has a certain level of risk. What is your
contingency plan if the machine fails anyway?

If there is so much at stake why not use the better machine then?
Another alternative.. prepare both machines. Have the better machine ready
to do an able to be connected/switched to at a moments notice. Put the
slower machine on at the slowest day. Monitor it closely as traffic grows.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Commercial graphics drivers for 5.x ??

2004-01-08 Thread Nick Tonkin
On Thu, 08 Jan 2004 08:47:37 +, Robert Downes 
[EMAIL PROTECTED] wrote:

Nick Tonkin wrote:

Andrew, thanks for the pointer. The XFree86 nv driver is what I have 
been using. I'm going to try to install and use Nvidia's own one.


Really? I'm using a GeForce 2 MX 400 (64Mb) RAM, and I get an excellent 
picture with a Philips 109P2 monitor, using the nv driver for X.
Are you using KDE 3? I'm going to experiment with some other window 
managers, but I have observed that there are weird problems with color and 
focus too.

Specifically, when I switch between one application window and another, 
the contents of other wwindows and the desktop (eg the task bar icons and 
text) sometimes become blurred and the colors shift (white becomes grey, 
eg). At first I thought this might be an issue with Opera but I have found 
it to happen with Konsole, KWord, etc.

Thanks,

- nick
--
_
Nick Tonkin   {|8^)
information management systems
and custom software development
http://www.tonkinresolutions.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: swap_pager: out of swap space -- doxygen installation fails

2004-01-08 Thread thelen
Hello Subhro,

thank you very much for your advices! I tried, what you've told me, but I
failed right at the beginning. May be you could comment some of my
problems/questions, that would surely help me for the next time.


 Hi Benjamin,
 I suspect that you have assigned too little swap space. As depicted in
the
 handbook, The swap space should be *at least* 2 times the physical
memory
 present in the system. You should assign more swap space if the amount
of
 RAM is small...which is your case. I think you should be assigning at
least
 256M of swap space.


I just thought the disklabel default value would be fine and as I
previously wrote, I think, I did the same on the old 4.7-system.
It is strange, that I have 64meg of RAM, but 112meg instead of 128meg were
assigned as a default by disklabel for swap!?

Nevertheless I tried to increase swap-space, but I did my next mistake,
because I forgot to umount /data (ad0s1h) before deleting via fdisk. fdisk
complained, did something, but I don't know what.

Then, the the machine stopped booting with the following error-message:

--
/dev/ad0s1h: CANNOT READ: BLK 12759072
/dev/ad0s1h: UNEXPECTED INCONSISTENCY; RUN FSCK MANUALLY.

THE FOLLOWING FILE SYSTEM HAD AN UNEXPETED INCONSISTENCY:
/dev/ad0s1h (/data)

Automatic file system check failed...help!
Enter full pathname of shell or RETURN for /bin/sh:
--

Usually I know this error, if an entry in /etc/fstab is wrong. In this
case, I suppose, this partition wasn't formatted correctly!?


I pressed RETURN and found the shell. I could mount filesystems, great,
but I could not delete the /data entry in /etc/fstab, because / partition
was mounted read-only.

After that I tried single-user mode and Fix-it disk, but in both cases, I
even didn't have the most basic commands available:

mount
cd
ls
vi

I could do nothing. I suppose that the reason was, that I should have
supplied the full path to the command, because no PATH-environment is set
in case of using singel user mode or fixit.
Well, this idea came to late and I gave up and started a new FreeBSD 4.9
installation, with, I hope enough swap space!




 , but stops


 And regarding the port tree, you have damaged your
 port
 tree. I would recommend first CVSup the main source tree (however it is not
 necessary, but its nice to stay updated)

As this is such a slow machine, I would prefer not do to this at them
moment. Later I'll do.


. Then delete the entire ports
 tree,

 rm -rf /usr/ports/*

 And then pull down the ports tree off the cvsup server. By the way, do copy

Will cvsup portsupfile do, even the ports tree is completely empty!? If
so, that's cool and easy. Isn't there somewhere the port-db, which also
have to be made new? I thought the db is located in /var/db/pkg.



 /usr/ports/distfiles to some other place before running the rm command.
That
 will save you quite some time.

Good idea.

 You should be back in business then. Let us
 know if that worked out


Thanks again for your help. It would be really nice, to have some little
comments on my mistakes!


Regards,
Benjamin


 Regards
 Subhro

 Subhro Sankha Kar
 Indian Institute of Information Technology
 Block AQ-13/1, Sector V
 Salt Lake City
 PIN 700091
 India

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
 Sent: Wednesday, January 07, 2004 8:17 PM
 To: [EMAIL PROTECTED]
 Subject: swap_pager: out of swap space -- doxygen installation fails

 Hi list,

 I suppose, that the repeated messages on ttyv0 swap_pager_getswapspace:
failed, swap_pager: out of swap space, /kernel: pid  7184 (cc1plus),
uid 0, was killed: out of swap space and the error code of the failed
compilation of doxygen c++: Internal compiler error: program cc1plus
got
 fatal signal 9 exactly mean, what they say. :-)

 In fact, it really is a little FreeBSD 4.8 box with P1-133, 64 meg RAM
and
 112 meg swap space. Not the racing machine, I know. But I had FreeBSD
4.7
 before that 4.8-system on the same machine and never had this error,
even
 regarding the same port (gdal-1.1.8). This port installs a lot of
dependencies, one is doxygen.


 -

 gmake -f Makefile.libdoxycfg PERL=/usr/bin/perl all
 gmake[2]: Entering directory
 `/usr/ports/devel/doxygen/work/doxygen-1.3.3/src'
 flex -PconfigYY -t config.l config.cpp
 c++ -c -O -pipe -D_THREAD_SAFE -Wall -W -I../qtools -o
../objects/config.o
 confi
 g.cpp
 c++: Internal compiler error: program cc1plus got fatal signal 9
gmake[2]: *** [../objects/config.o] Error 1
 {standard input}: Assembler messages:
 {standard input}:14050: Warning: end of file not at end of a line;
newline
 inser
 ted
 gmake[2]: Leaving directory
 `/usr/ports/devel/doxygen/work/doxygen-1.3.3/src'
 gmake[1]: *** [all] Error 2
 gmake[1]: Leaving directory
 

Re: Commercial graphics drivers for 5.x ??

2004-01-08 Thread Eric F Crist
On Thursday 08 January 2004 08:47 am, Nick Tonkin wrote:
 On Thu, 08 Jan 2004 08:47:37 +, Robert Downes

 [EMAIL PROTECTED] wrote:
  Nick Tonkin wrote:
  Andrew, thanks for the pointer. The XFree86 nv driver is what I have
  been using. I'm going to try to install and use Nvidia's own one.
 
  Really? I'm using a GeForce 2 MX 400 (64Mb) RAM, and I get an excellent
  picture with a Philips 109P2 monitor, using the nv driver for X.

 Are you using KDE 3? I'm going to experiment with some other window
 managers, but I have observed that there are weird problems with color and
 focus too.


 Specifically, when I switch between one application window and another,
 the contents of other wwindows and the desktop (eg the task bar icons and
 text) sometimes become blurred and the colors shift (white becomes grey,
 eg). At first I thought this might be an issue with Opera but I have found
 it to happen with Konsole, KWord, etc.

I am running KDE 3 with XFree86 4.3.0 on a laptop with no troubles at all.  I 
don't think it's a problem with KDE, but rather your settings in XFree86 or 
even a hardware problem.

-- 
Eric F Crist
AdTech Integrated Systems, Inc
(612) 998-3588
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Hardware requirements for firewall

2004-01-08 Thread Wayne Pascoe
On Thu, Jan 08, 2004 at 09:49:19AM +, [EMAIL PROTECTED] wrote:

 Introducing a new machine has a certain level of risk. What is your
 contingency plan if the machine fails anyway?

The plan is to just remove the machine from the circuit. Instead of
having a cable to the machine from the first switch and then another
cable from the machine to the second switch, the plan is to just replace
that with a single cable between the two switches and revert to how we
are now.

 If there is so much at stake why not use the better machine then?

Budget . I have a very limited one, and if I lose this machine to the
firewall, I then have less resources available for hosting.

 Another alternative.. prepare both machines. Have the better machine ready
 to do an able to be connected/switched to at a moments notice. Put the
 slower machine on at the slowest day. Monitor it closely as traffic grows.

That's probably the way forward, yes. Thanks.

-- 
Wayne Pascoe
  There's optimism...
  and then there's stupidity!
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: sending mail question...

2004-01-08 Thread Peter Risdon
On 07/01/04 16:11 -0500, Xpression wrote:

   Hi list, I've a little bit confused, I have a mail server running
Exim as MTA, now what about if I want to send mail with another server to
some mailboxes on the server running the MTA...I think I've to install a
client or something like that ??? Thanks...
   

I'm not completely sure what you're asking, so might be barking up the 
wrong tree or telling you stuff you know, but to make a FreeBSD machine 
running Exim be the mailserver for your domain(s) you need to:

1. Edit the Exim config file to identify the domain(s) you want it to 
handle as local, and to ensure that delivery rules are as you would wish.

2. Make sure there is a valid mx record in the dns entry for the 
domain(s) identifying your Exim-running server as the message exchanger.

And it should work. To test the Exim setup (before updating the DNS 
records), you can telnet to the smtp port on the FreeBSD/Exim machine 
and compose an e-mail to a valid recipient on that box using the command 
line. If it's delivered successfully, update the DNS. Then, after a 
propagation interval of a day or two, you will be able to send mails to 
that machine from anywhere.

If you simply want to send a mail to your Exim server using another 
FreeBSD machine, you've been answered already by others though, 
regardless of the mail client you choose, your Exim machine will still 
need to be the mx for your domain in the DNS records if you want to 
address the mails to a [EMAIL PROTECTED] in the normal way.

PWR

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


Re: anonymous ftp passwd

2004-01-08 Thread Peter Ulrich Kruppa
On Thu, 8 Jan 2004, Tomas Palfi wrote:

 To all,

 i would like to identify the anonymous passwd of our clients for
 statistical purposes.  I know that ftp transmits the username and passwd
 in plain text.  Is there a way to decrypt them.
Just out of interest:
I always thought anonymous ftp was logged in /var/etc/xferlog ?
Or do you use a different some special kind of ftp server?

Regards,

Uli.


 thanks

 --
 tp


 
 This e-mail has been scanned for all viruses by Star Internet. The
 service is powered by MessageLabs. For more information on a proactive
 anti-virus service working around the clock, around the globe, visit:
 http://www.star.net.uk
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]



+---+
|Peter Ulrich Kruppa|
| Wuppertal |
|  Germany  |
+---+
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Kernel KVM switch

2004-01-08 Thread Marius Kirschner
Thanks, got itapparently changing the 0x1 to 0x0 works as well.

---Marius  

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, January 08, 2004 4:56 AM
 To: Marius Kirschner
 Cc: 'FreeBSD Questions'
 Subject: Re: Kernel  KVM switch
 
 On Thu, 8 Jan 2004, Marius Kirschner wrote:
 
  Basically, with both my 4.9 and 5.1 boxes if I reboot any 
 of them and 
  they are not selected on the switch then the keyboard won't work.
 
 You need to change your kernel.
 Look for a line
 device  atkbd0  at atkbdc? irq 1
 
 Yours I believe has
 device  atkbd0  at atkbdc? irq 1 flags 0x1
 
 Just remove the flags.
 

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


Re: Hardware requirements for firewall

2004-01-08 Thread Francisco Reyes
On Thu, 8 Jan 2004, Wayne Pascoe wrote:

  Another alternative.. prepare both machines. Have the better machine ready
  to do an able to be connected/switched to at a moments notice. Put the
  slower machine on at the slowest day. Monitor it closely as traffic grows.

 That's probably the way forward, yes. Thanks.


Also go over the kernel and disable anything you don't need. I have never
needed to squeeze every cycle of performance out of a machine, but it
should help to reduce un necessary programs from been run.

You may also try to find from others which firewall is more efficient if
ipfw or ipf. Also find from others who have had firewalls on busy networks
how rules order may possible have an impact in performance.

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


Re: mpd PPTP to Cisco 3000 VPN Concentrator routing problem

2004-01-08 Thread Fernando Gleiser
On Thu, 8 Jan 2004, Joe Marcus Clarke wrote:


 Good luck.  I have tried to get this working, but have never been able
 to get mpd encryption to work with the Concentrator's encryption
 (neither has anyone else to my knowledge).  If you disable encryption on
 the concentrator, the tunnel will come up, and you will be able to pass
 traffic across it.  Any other combination does not work.  I haven't
 tried 3.16 yet, but looking at the ChangeLog, I doubt it addresses this
 problem.

This is a know issue. I've been in touch with Archie, I sent him some
tcpdump traces, logs and the same stuff from a linux client with works
OK.

The bad news is Archie is horribly busy at this time and won't be able to
look at it for some time.



Fer

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


RE: anonymous ftp passwd

2004-01-08 Thread Tomas Palfi
Yes, thanks for this one the file is there on FreeBSD5.1, however, I
could not find the file on FreeBSD4.4Stable. any idea why??

thanks

-Original Message-
From: Peter Ulrich Kruppa [mailto:[EMAIL PROTECTED] 
Sent: 08 January 2004 15:22
To: Tomas Palfi
Cc: [EMAIL PROTECTED]
Subject: Re: anonymous ftp passwd

On Thu, 8 Jan 2004, Tomas Palfi wrote:

 To all,

 i would like to identify the anonymous passwd of our clients for
 statistical purposes.  I know that ftp transmits the username and
passwd
 in plain text.  Is there a way to decrypt them.
Just out of interest:
I always thought anonymous ftp was logged in /var/etc/xferlog ?
Or do you use a different some special kind of ftp server?

Regards,

Uli.


 thanks

 --
 tp




 This e-mail has been scanned for all viruses by Star Internet. The
 service is powered by MessageLabs. For more information on a proactive
 anti-virus service working around the clock, around the globe, visit:
 http://www.star.net.uk


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



+---+
|Peter Ulrich Kruppa|
| Wuppertal |
|  Germany  |
+---+


This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk



This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk

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


Page format problem

2004-01-08 Thread eddie

Whilst reading through site I came across a format problem with this
page.
 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-steps.
html

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.552 / Virus Database: 344 - Release Date: 15/12/2003
 

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


Page format problem

2004-01-08 Thread eddie

Whilst reading through site I came across a format problem with this
page.
 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-steps.
html

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.552 / Virus Database: 344 - Release Date: 15/12/2003
 

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


fwbuilder segfault

2004-01-08 Thread Antoine Jacoutot
Hi :)

I wanted to know if anyone was experiencing problems with the fwbuilder port.
I cannot save any rule I created. As soon as I click on save, I get a 
segmentation error.
There's nothing more I can say unless I'm running the latest fwbuilder port 
under FreeBSD-5.2-RC2.
Let me know if there's anything I could try to debug this problem.

Thanks in advance.
Regards,

Antoine

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


Re: Page format problem

2004-01-08 Thread Kevin D. Kinsey, DaleCo, S.P.
eddie wrote:

Whilst reading through site I came across a format problem with this
page.
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-steps.
html
 

Hi, eddie!

I'm sure the docs team would be interested in
knowing more about this.  Are you a FreeBSD
user?  If so, submit a problem report using
send-pr(1).
If you're not a FBSD user, or don't know much
about that program, I'd suggest using the site's
send-pr web form at:
http://www.freebsd.org/send-pr.html

Have a great day...

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


RE: anonymous ftp passwd

2004-01-08 Thread Peter Ulrich Kruppa
On Thu, 8 Jan 2004, Tomas Palfi wrote:

 Yes, thanks for this one the file is there on FreeBSD5.1, however, I
 could not find the file on FreeBSD4.4Stable. any idea why??
My ftp server is started via /etc/inetd.conf with the command
ftpd -lS
# man ftpd
tells me that -lS makes ftpd log to /var/log/ftpd  and
/var/log/xferlog
So perhaps you either don't have -lS enabled or you have to
create these files yourself before.

By the way: I have read - not tried myself - that
/usr/ports/webalizer can read and analyze the xferlog's produced
by the wu-ftp server (found in /usr/ports/ftp/wu-ftp).
I am running webalizer on my apache logs. It draws very fine
graphics.

Uli.

 thanks

 -Original Message-
 From: Peter Ulrich Kruppa [mailto:[EMAIL PROTECTED]
 Sent: 08 January 2004 15:22
 To: Tomas Palfi
 Cc: [EMAIL PROTECTED]
 Subject: Re: anonymous ftp passwd

 On Thu, 8 Jan 2004, Tomas Palfi wrote:

  To all,
 
  i would like to identify the anonymous passwd of our clients for
  statistical purposes.  I know that ftp transmits the username and
 passwd
  in plain text.  Is there a way to decrypt them.
 Just out of interest:
 I always thought anonymous ftp was logged in /var/etc/xferlog ?
 Or do you use a different some special kind of ftp server?

 Regards,

 Uli.

 
  thanks
 
  --
  tp
 
 
 
 
  This e-mail has been scanned for all viruses by Star Internet. The
  service is powered by MessageLabs. For more information on a proactive
  anti-virus service working around the clock, around the globe, visit:
  http://www.star.net.uk
 
 
  ___
  [EMAIL PROTECTED] mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
 [EMAIL PROTECTED]
 
 

   +---+
   |Peter Ulrich Kruppa|
 | Wuppertal |
 |  Germany  |
 +---+

 
 This e-mail has been scanned for all viruses by Star Internet. The
 service is powered by MessageLabs. For more information on a proactive
 anti-virus service working around the clock, around the globe, visit:
 http://www.star.net.uk
 

 
 This e-mail has been scanned for all viruses by Star Internet. The
 service is powered by MessageLabs. For more information on a proactive
 anti-virus service working around the clock, around the globe, visit:
 http://www.star.net.uk
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]



+---+
|Peter Ulrich Kruppa|
| Wuppertal |
|  Germany  |
+---+
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Page format problem

2004-01-08 Thread Ceri Davies
On Thu, Jan 08, 2004 at 10:52:22AM -0600, Kevin D. Kinsey, DaleCo, S.P. wrote:
 eddie wrote:
 
 Whilst reading through site I came across a format problem with this
 page.
 
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-steps.
 html
 
 Hi, eddie!
 
 I'm sure the docs team would be interested in
 knowing more about this.  Are you a FreeBSD
 user?  If so, submit a problem report using
 send-pr(1).
 
 If you're not a FBSD user, or don't know much
 about that program, I'd suggest using the site's
 send-pr web form at:
 
 http://www.freebsd.org/send-pr.html

Don't worry about that; assuming that you are talking about the tables
2.2 and 2.3 then I have already produced a patch which should fix it and
which I am currently testing.

If it's something else, then please carry on!

Ceri

-- 


pgp0.pgp
Description: PGP signature


Re: Page format problem

2004-01-08 Thread Ceri Davies
On Thu, Jan 08, 2004 at 05:06:35PM +, Ceri Davies wrote:
 On Thu, Jan 08, 2004 at 10:52:22AM -0600, Kevin D. Kinsey, DaleCo, S.P. wrote:
  eddie wrote:
  
  Whilst reading through site I came across a format problem with this
  page.
  
  http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-steps.
  html
  
  Hi, eddie!
  
  I'm sure the docs team would be interested in
  knowing more about this.  Are you a FreeBSD
  user?  If so, submit a problem report using
  send-pr(1).
  
  If you're not a FBSD user, or don't know much
  about that program, I'd suggest using the site's
  send-pr web form at:
  
  http://www.freebsd.org/send-pr.html
 
 Don't worry about that; assuming that you are talking about the tables
 2.2 and 2.3 then I have already produced a patch which should fix it and
 which I am currently testing.

OK, I committed that correction now.  Thanks for pointing it out.

Ceri

-- 


pgp0.pgp
Description: PGP signature


VER 4.9 no resolv.conf file

2004-01-08 Thread fbsd_user
Moving from 4.7 to 4.9 and the new 4.9 does not have the
/etc/resolv.conf file.

Where are the default ISP DNS ip address keep at?

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


Re: VER 4.9 no resolv.conf file

2004-01-08 Thread Jeremy Faulkner
fbsd_user wrote:

Moving from 4.7 to 4.9 and the new 4.9 does not have the
/etc/resolv.conf file.
Where are the default ISP DNS ip address keep at?
 

Just create it.

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


RE: VER 4.9 no resolv.conf file

2004-01-08 Thread fbsd_user
Enable dns statement in user ppp ppp.conf is suppose to do it for me
right?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Jeremy
Faulkner
Sent: Thursday, January 08, 2004 12:45 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED] ORG
Subject: Re: VER 4.9 no resolv.conf file

fbsd_user wrote:

Moving from 4.7 to 4.9 and the new 4.9 does not have the
/etc/resolv.conf file.

Where are the default ISP DNS ip address keep at?


Just create it.

___
[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]


x2x problem

2004-01-08 Thread Rus Foster
Hi,
I've got a FreeBSD machine running X that I would like to use as an x2x
client. No I've managed to get it all working however there is a weird
problem.

The setup is that the FreeBSD screen is 1024x768 and the main screen is
1280x1024 (Debian Linux). If I move the mouse onto the FreeBSD screen I
can't access the bottom quarter. The mouse just won't go. It looks like
some sort of calculation bug. Anyone seen something similar?

Rus

-- 
e: [EMAIL PROTECTED]
t: 1-888-327-6330
www.jvds.com - Root on your own box
www.vpscolo.com - Your next hosting company
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


PGP MIME Problems...

2004-01-08 Thread Eric F Crist
Hello people,

I've had this problem before, but I can't find it in the archives.  I have PGP 
MIME installed on KDE (now on my laptop, desktop works ok) and working for 
encrypting PGP messages.  However, it is not automatically downloading the 
public key from servers.  How do I get this to work again?

Ashamed of a repeat question,

-- 
Eric F Crist
AdTech Integrated Systems, Inc
(612) 998-3588
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


ifconfig dc0 DCHP gets error

2004-01-08 Thread fbsd_user
What is the syntax of the ifconfig command to enable DHCP?

Ifconfig dc0 DHCP gives error message  'DHCP bad value'

I can get it to work from within rc.conf, but not from command line.
What an I doing wrong?



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


IPFW XML output?

2004-01-08 Thread Forrest Aldrich
Has anyone considered enabling ipfw to output XML?   This might be useful 
for stats gathering/display, etc.

_F 

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


Re: ifconfig dc0 DCHP gets error

2004-01-08 Thread Eric F Crist
On Thursday 08 January 2004 12:43 pm, fbsd_user wrote:
 What is the syntax of the ifconfig command to enable DHCP?

 Ifconfig dc0 DHCP gives error message  'DHCP bad value'

 I can get it to work from within rc.conf, but not from command line.
 What an I doing wrong?

Type this:

# killall dhclient; dhclient dc0

HTH
-- 
Eric F Crist
AdTech Integrated Systems, Inc
(612) 998-3588
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Sound not working on laptop

2004-01-08 Thread Mazen S. Alzogbi
Great! But what does  recompile the kernel with device pcm mean? :(

Cheers,

Mazen

-Original Message-
From: Subhro [mailto:[EMAIL PROTECTED] 
Sent: Thursday, January 08, 2004 10:42 PM
To: 'Mazen S. Alzogbi'; [EMAIL PROTECTED]
Subject: RE: Sound not working on laptop


It would be great if you can tell us what sound chipset is there in the
laptop. If you can't make that out, then recompile the kernel with

device pcm

Most modern sound chipsets are supported by pcm. Refer to the handbook
for help on kernel recompiling

Regards
Subhro

Subhro Sankha Kar
Indian Institute of Information Technology
Block AQ-13/1, Sector V
Salt Lake City
PIN 700091
India

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mazen S.
Alzogbi
Sent: Thursday, January 08, 2004 3:52 PM
To: [EMAIL PROTECTED]
Subject: Sound not working on laptop

Hi,

Sound is not working on my laptop that has FreeBSD 4.9 installed on. I
want to check the detected driver (if any) by the system and configure
it to use the right one.

How can this be done whether by using KDE or on the command line?

Thanks in advance.

Mazen S. Alzogbi
www.MazenAlzogbi.com

___
[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]


Re: Sound not working on laptop

2004-01-08 Thread Andrew L. Gould
On Thursday 08 January 2004 01:07 pm, Mazen S. Alzogbi wrote:
 Great! But what does  recompile the kernel with device pcm mean? :(

Here are some links to the handbook that should serve you well.  Note that 
each url should be on one line:

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

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

Let us know if you have any problems.


 Cheers,

 Mazen

 -Original Message-
 From: Subhro [mailto:[EMAIL PROTECTED]
 Sent: Thursday, January 08, 2004 10:42 PM
 To: 'Mazen S. Alzogbi'; [EMAIL PROTECTED]
 Subject: RE: Sound not working on laptop


 It would be great if you can tell us what sound chipset is there in the
 laptop. If you can't make that out, then recompile the kernel with

 device pcm

 Most modern sound chipsets are supported by pcm. Refer to the handbook
 for help on kernel recompiling

 Regards
 Subhro

 Subhro Sankha Kar
 Indian Institute of Information Technology
 Block AQ-13/1, Sector V
 Salt Lake City
 PIN 700091
 India

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Mazen S.
 Alzogbi
 Sent: Thursday, January 08, 2004 3:52 PM
 To: [EMAIL PROTECTED]
 Subject: Sound not working on laptop

 Hi,

 Sound is not working on my laptop that has FreeBSD 4.9 installed on. I
 want to check the detected driver (if any) by the system and configure
 it to use the right one.

 How can this be done whether by using KDE or on the command line?

 Thanks in advance.

 Mazen S. Alzogbi
 www.MazenAlzogbi.com

 ___
 [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]

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


Re: DNS resources or toaster

2004-01-08 Thread Kirk Strauser
At 2004-01-05T21:30:41Z, Marius Kirschner [EMAIL PROTECTED] writes:

 Obviously either one will do the job.I guess it's just a matter of
 preferences..but I'm very tempted to go with DJBDNS this time.

Ugh.  Be prepared to learn all about rsync.
-- 
Kirk Strauser

94 outdated ports on the box,
 94 outdated ports.
 Portupgrade one, an hour 'til done,
 82 outdated ports on the box.


pgp0.pgp
Description: PGP signature


Re: Sound not working on laptop

2004-01-08 Thread Jerry McAllister
 
 Great! But what does  recompile the kernel with device pcm mean? :(

Sounds like it is time for you to do some studying.
Before you started an install, you should have read enough
of the handbook to at least have encountered that concept
and know where to go back to for more information.

Even if you just looked in a kernel configuration file
in /usr/src/sys/i386/conf(try the one called LINT)
you could begin to guess.

jerry

 
 Cheers,
 
 Mazen
 
 -Original Message-
 From: Subhro [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, January 08, 2004 10:42 PM
 To: 'Mazen S. Alzogbi'; [EMAIL PROTECTED]
 Subject: RE: Sound not working on laptop
 
 
 It would be great if you can tell us what sound chipset is there in the
 laptop. If you can't make that out, then recompile the kernel with
 
 device pcm
 
 Most modern sound chipsets are supported by pcm. Refer to the handbook
 for help on kernel recompiling
 
 Regards
 Subhro
 
 Subhro Sankha Kar
 Indian Institute of Information Technology
 Block AQ-13/1, Sector V
 Salt Lake City
 PIN 700091
 India
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Mazen S.
 Alzogbi
 Sent: Thursday, January 08, 2004 3:52 PM
 To: [EMAIL PROTECTED]
 Subject: Sound not working on laptop
 
 Hi,
 
 Sound is not working on my laptop that has FreeBSD 4.9 installed on. I
 want to check the detected driver (if any) by the system and configure
 it to use the right one.
 
 How can this be done whether by using KDE or on the command line?
 
 Thanks in advance.
 
 Mazen S. Alzogbi
 www.MazenAlzogbi.com
 
 ___
 [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]
 

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


Re: Sound not working on laptop

2004-01-08 Thread Eric F Crist
On Thursday 08 January 2004 01:07 pm, Mazen S. Alzogbi wrote:
 Great! But what does  recompile the kernel with device pcm mean? :(

 Cheers,

Check the handbook (http://www.freebsd.org/handbook) regarding recompiling the 
kernel.
-- 
Eric F Crist
AdTech Integrated Systems, Inc
(612) 998-3588
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


smblog format?

2004-01-08 Thread Matt Staroscik
When I connect my PocketPC to my Samba server, the device has a very
strange name in smblog:

netbios connect: local=server remote=_cerdrc9cb8005
_cerdrc9cb8005 (192.168.1.94) connect to service Music as user USER
(uid=, gid=) (pid 44909)

_cerdrc9cb8005 is just an example, the exact string changes. My
other samba clients have normal names in the log.

Where is Samba getting this string from? Is this something the client
specifies, or something that Samba is cooking up itself in the absence
of a client-provided string?

I have put a hostname for the device's IP in /etc/hosts, btw.

I am just hoping this is not some silly Microsoft-ism infesting the
PocketPC's network stack... if it is Unix-side I'm sure it's fixable!

TIA!

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


Problems adding a second hard drive

2004-01-08 Thread Keith McKay
Hi all

I had installed FreeBSD 4.7 on an old pentium I 100MHz with 128Meg RAM and a
2Gig Hard drive.  It worked, albeit a little slow but perfectly usable for
experimenting with and learningFreeBSD, and surfing the net.  I got a 3.1Gig
hard drive and thought I'd add it to the FreBSD box and since 4.9 had just
been released I'd start from scratch and install that as well.

It took me a little time to figure how to do this but I managed (or so I
thought) to install FreeBSD.  However although I can see both drives during
the installation  if I do a df all that is displayed is ad0s with no
information on ad2s.  Also I cannot install any more programms since it says
/usr is full.  I'm begining to wonder if the ad2s drive is being used at
all.  When I installed FreeBSD I used the auto defaults for both drives.
Was this the right thing to do?  Any hints or tips would be usefull.

Thanks
Keith McKay
Hamilton, Scotland
e-mail keith attt clanmckay.co.uk
.. in cyberspace no one can see your beard.. 

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


Re: Problems adding a second hard drive

2004-01-08 Thread Mike Maltese
 It took me a little time to figure how to do this but I managed (or so I
 thought) to install FreeBSD.  However although I can see both drives
during
 the installation  if I do a df all that is displayed is ad0s with no
 information on ad2s.  Also I cannot install any more programms since it
says

df only shows mounted filesytems.

 /usr is full.  I'm begining to wonder if the ad2s drive is being used at
 all.  When I installed FreeBSD I used the auto defaults for both drives.
 Was this the right thing to do?  Any hints or tips would be usefull.

If you configured the second drive at install time, it should be usable. Try
mounting a partition to /mnt. To find the partition scheme, run 'disklabel
ad2'. Any partition of type 4.2BSD is usable.

Mike

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


nvidia geforce fx 5200 not working with nvidia driver

2004-01-08 Thread Luca Gerli
Hello all,

 just installed a new Nvidia GeForce FX 5200 on my pc (freebsd 5.2RC2), and did
a startx but just got this:
 Markers: (--) probed, (**) from config file, (==) default setting,
  (++) from command line, (!!) notice, (II) informational,
  (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
 (==) Log file: /var/log/XFree86.0.log, Time: Thu Jan  8 22:09:22 2004
 (==) Using config file: /etc/X11/XF86Config
 nvidia0: rm_init_adapter() failed!
 (EE) NVIDIA(0): Failed to initialize the NVIDIA kernel module!
 (EE) NVIDIA(0):  *** Aborting ***
 (EE) Screen(s) found, but none have a usable configuration.
 Fatal server error:
 no screens found
 /var/log/XFree86.0.log says:

 snip
 (**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
 (==) NVIDIA(0): RGB weight 888
 (==) NVIDIA(0): Default visual is TrueColor
 (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
 (--) NVIDIA(0): Linear framebuffer at 0xE000
 (--) NVIDIA(0): MMIO registers at 0xDE00
 (==) NVIDIA(0): Write-combining range (0xde601000,0x1000) was already clear
 (EE) NVIDIA(0): Failed to initialize the NVIDIA kernel module!
 (EE) NVIDIA(0):  *** Aborting ***
 (II) UnloadModule: nvidia
 (II) UnloadModule: vgahw
 (II) Unloading /usr/X11R6/lib/modules/libvgahw.a
 (EE) Screen(s) found, but none have a usable configuration.
 snip
 My previous setup was based on a GeForce 2 GTS, and X with nvidia run
without any problem. Also a GeForce 2 MX400 was ok. Now, I had to revert to the nv
driver (the one included in XFree86) to be able to run X.
 Has anyone any clue or advice ?

 I did compile nvidia-driver-1.0.4365 with the default options (just
a simple make install) when I had the GeForce 2 GTS installed. Kernel
is in its default config (as coming from 5.2RC2).
 BTW: card is working ok in M$ and Linux.

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


Re: nvidia geforce fx 5200 not working with nvidia driver

2004-01-08 Thread Andrew L. Gould
On Thursday 08 January 2004 03:21 pm, Luca Gerli wrote:
 Hello all,

   just installed a new Nvidia GeForce FX 5200 on my pc (freebsd 5.2RC2),
 and did a startx but just got this:

   Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
   (==) Log file: /var/log/XFree86.0.log, Time: Thu Jan  8 22:09:22 2004
   (==) Using config file: /etc/X11/XF86Config
   nvidia0: rm_init_adapter() failed!
   (EE) NVIDIA(0): Failed to initialize the NVIDIA kernel module!
   (EE) NVIDIA(0):  *** Aborting ***
   (EE) Screen(s) found, but none have a usable configuration.

   Fatal server error:
   no screens found

   /var/log/XFree86.0.log says:

   snip
   (**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
   (==) NVIDIA(0): RGB weight 888
   (==) NVIDIA(0): Default visual is TrueColor
   (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
   (--) NVIDIA(0): Linear framebuffer at 0xE000
   (--) NVIDIA(0): MMIO registers at 0xDE00
   (==) NVIDIA(0): Write-combining range (0xde601000,0x1000) was already
 clear (EE) NVIDIA(0): Failed to initialize the NVIDIA kernel module!
   (EE) NVIDIA(0):  *** Aborting ***
   (II) UnloadModule: nvidia
   (II) UnloadModule: vgahw
   (II) Unloading /usr/X11R6/lib/modules/libvgahw.a
   (EE) Screen(s) found, but none have a usable configuration.
   snip

   My previous setup was based on a GeForce 2 GTS, and X with nvidia run
 without any problem. Also a GeForce 2 MX400 was ok. Now, I had to revert to
 the nv driver (the one included in XFree86) to be able to run X.

   Has anyone any clue or advice ?

   I did compile nvidia-driver-1.0.4365 with the default options (just
 a simple make install) when I had the GeForce 2 GTS installed. Kernel
 is in its default config (as coming from 5.2RC2).

   BTW: card is working ok in M$ and Linux.

   Thanks,
Luca.

Does your /etc/X11/XF86Config have the NvAgp option line in it to determine 
whether to use the nvidia agp or FreeBSD agp?  (This is discussed in the 
README file.)

Have you tried doing the make setup again?

Best of luck,

Andrew Gould

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


gphoto2 problems

2004-01-08 Thread Vulpes Velox
I am having problems getting gphoto2 to work with freebsd 4.9 stable

The camera in question is a Kodak CX6200 and is listed as working with gphoto2.
The firmware version is 1.0100.



It is detected.
ugen0: Eastman Kodak Company KODAK EasyShare CX6200 Digital Camera, rev
2.00/1.00, addr 3


The last few lines after gphoto2 --debug --camera Kodak CX6200 -P is run
are...


3.005012 gphoto2-port-core(2): Loaded '' (^serial) from
'libgphoto2_port_serial.so' 3.005638 gphoto2-port-core(2): Loaded 'Universal
Serial Bus' (usb:) from 'libgphoto2_port_usb.so' 3.005784
gphoto2-port-info-list(2): Looking for path 'usb:' (4 entries available)...
3.005861 gphoto2-port-info-list(2): Getting info of entry 2 (4 available)...
3.005932 gphoto2-camera(2): Setting port info for port 'Universal Serial Bus' at
'usb:'... 3.194500 gphoto2-port(2): Setting timeout to 5000 millisecond(s)...
3.194620 gphoto2-port(2): Setting settings...
3.194676 gphoto2-setting(2): Setting key 'port' to value 'usb:' (gphoto2)
3.194735 gphoto2-setting(2): Saving 2 setting(s) to file
/root/.gphoto/settings 3.196373 gphoto2-camera(2): Listing files in '/'...
3.196596 gphoto2-camera(2): Initializing camera...
3.196675 gphoto2-port-usb(1): Looking for USB device (vendor 0x40a, product
0x574)... found. 3.196732 gphoto2-port-usb(1): Detected defaults: config 1,
interface 0, altsetting 0, inep 83, outep 04, intep 85, class 06, subclass 01
3.196788 gphoto2-camera(2): Loading
'/usr/local/lib/gphoto2/2.1.3/libgphoto2_ptp2.so'... 3.197327 gphoto2-port(2):
Opening USB port... 3.197503 gphoto2-port(2): Setting timeout to 8000
millisecond(s)... 3.197577 ptp(2): PTP: Opening session
3.197636 gphoto2-port(2): Writing 16=0x10 byte(s) to port...
3.197694 gphoto2-port(3): Hexdump of 16 = 0x10 bytes follows:
  10 00 00 00 01 00 02 10-00 00 00 00 01 00 00 00  

3.252331 gphoto2-port(2): Reading 512=0x200 bytes from port...
gp_port_read: Input/output error
8.371318 PTP2/library.c(2): PTP: gp_port_* function returned 0xffde 
-34 8.371434 context(0): PTP I/O error

*** Error ***  
PTP I/O error
8.371574 gphoto2-port(2): Closing port...
8.373725 context(0): An error occurred in the io-library ('Unspecified error'):
No error description available

*** Error ***  
An error occurred in the io-library ('Unspecified error'): No error description
available*** Error (-1: 'Unspecified error') ***   

For debugging messages, please use the --debug option.
Debugging messages may help finding a solution to your problem.
If you intend to send any error or debug messages to the gphoto
developer mailing list [EMAIL PROTECTED], please run
gphoto2 as follows:

env LANG=C gphoto2 --debug --debug --camera Kodak CX6200 -P

Please make sure there is sufficient quoting around the arguments.

8.374200 gp-camera(2): Freeing camera...
8.374254 gphoto2-port(2): Freeing port...
8.374302 gphoto2-port(2): Closing port...
8.374624 libgphoto2/gphoto2-filesys.c(2): Clearing fscache LRU list...
8.374693 libgphoto2/gphoto2-filesys.c(2): fscache LRU list already empty
8.374745 gphoto2-filesystem(2): Internally deleting all folders from '/'...
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Change port for sendmail smarthost

2004-01-08 Thread UBM

Hello everybody! :-)

I've googled around and looked at www.sendmail.org and the handbook, but
was unable to find anything regarding that subject.

My problem is that the smtp-server at my sendmail smarthost is
listening on port 697 instead of 25 and i need a way to tell sendmail
that.

I experimentally tried 

define(`SMART_HOST', `smtp-server.com:697')

but that didn't work.

Any help is appreciated :-)

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


Re: smblog format?

2004-01-08 Thread Garance A Drosihn
At 12:15 PM -0800 1/8/04, Matt Staroscik wrote:
When I connect my PocketPC to my Samba server, the device has a
very strange name in smblog:
netbios connect: local=server remote=_cerdrc9cb8005
 _cerdrc9cb8005 (192.168.1.94) connect to service Music
 as user USER (uid=, gid=) (pid 44909)
_cerdrc9cb8005 is just an example, the exact string changes. My
other samba clients have normal names in the log.
Where is Samba getting this string from?
Note the part:_cerdrc9cb8005 (192.168.1.94)

I would guess that means _cerdrc9cb8005 is considered the hostname
for IP address 192.168.1.94.  Do you have a DHCP server setup?  If
not, the PocketPC may be picking a name out of thin air.  That is
what I would guess is happening.
However, I believe the message you're talking about is one that
you can specify the format of.  None of my logfiles look like
the line that you have.  (I'm running samba 2.2.8a).  Check your
smb.conf file and see what you have in that line.
(it might be that you ARE seeing the default line -- because I
certainly do customize the messages on my server...)
--
Garance Alistair Drosehn=   [EMAIL PROTECTED]
Senior Systems Programmer   or  [EMAIL PROTECTED]
Rensselaer Polytechnic Instituteor  [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: nvidia geforce fx 5200 not working with nvidia driver

2004-01-08 Thread Luca Gerli
Hi Andrew,

 I tried both, even setting NvAgp to 0, but no luck. I also
tried to play with ReqAGP to force lower AGP rates, still the
problem remains. Of the three cards, the only one which keeps
not working is the 5200. I wonder if it is an AGP issue, but
even using the Kernel AGP made no difference.
 Any other idea ? Or someone having that same card + same kernel ?
 (chipset is via kt400).
 Thanks, Luca.

Andrew L. Gould wrote:
On Thursday 08 January 2004 03:21 pm, Luca Gerli wrote:

Hello all,

 just installed a new Nvidia GeForce FX 5200 on my pc (freebsd 5.2RC2),
and did a startx but just got this:
 Markers: (--) probed, (**) from config file, (==) default setting,
  (++) from command line, (!!) notice, (II) informational,
  (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
 (==) Log file: /var/log/XFree86.0.log, Time: Thu Jan  8 22:09:22 2004
 (==) Using config file: /etc/X11/XF86Config
 nvidia0: rm_init_adapter() failed!
 (EE) NVIDIA(0): Failed to initialize the NVIDIA kernel module!
 (EE) NVIDIA(0):  *** Aborting ***
 (EE) Screen(s) found, but none have a usable configuration.
 Fatal server error:
 no screens found
 /var/log/XFree86.0.log says:

 snip
 (**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
 (==) NVIDIA(0): RGB weight 888
 (==) NVIDIA(0): Default visual is TrueColor
 (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
 (--) NVIDIA(0): Linear framebuffer at 0xE000
 (--) NVIDIA(0): MMIO registers at 0xDE00
 (==) NVIDIA(0): Write-combining range (0xde601000,0x1000) was already
clear (EE) NVIDIA(0): Failed to initialize the NVIDIA kernel module!
 (EE) NVIDIA(0):  *** Aborting ***
 (II) UnloadModule: nvidia
 (II) UnloadModule: vgahw
 (II) Unloading /usr/X11R6/lib/modules/libvgahw.a
 (EE) Screen(s) found, but none have a usable configuration.
 snip
 My previous setup was based on a GeForce 2 GTS, and X with nvidia run
without any problem. Also a GeForce 2 MX400 was ok. Now, I had to revert to
the nv driver (the one included in XFree86) to be able to run X.
 Has anyone any clue or advice ?

 I did compile nvidia-driver-1.0.4365 with the default options (just
a simple make install) when I had the GeForce 2 GTS installed. Kernel
is in its default config (as coming from 5.2RC2).
 BTW: card is working ok in M$ and Linux.

 Thanks,
  Luca.


Does your /etc/X11/XF86Config have the NvAgp option line in it to determine 
whether to use the nvidia agp or FreeBSD agp?  (This is discussed in the 
README file.)

Have you tried doing the make setup again?

Best of luck,

Andrew Gould


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


Re: Change port for sendmail smarthost

2004-01-08 Thread Matthew Seaman
On Thu, Jan 08, 2004 at 10:47:26PM +0100, Marc UBM Bocklet wrote:

 I've googled around and looked at www.sendmail.org and the handbook, but
 was unable to find anything regarding that subject.
 
 My problem is that the smtp-server at my sendmail smarthost is
 listening on port 697 instead of 25 and i need a way to tell sendmail
 that.
 
 I experimentally tried 
 
 define(`SMART_HOST', `smtp-server.com:697')
 
 but that didn't work.
 
 Any help is appreciated :-)

Try:

define(`RELAY_MAILER_ARGS', `IPC $h 697')dnl

This overrides the 'RELAY' mailer (which should be what gets used when
you connect to your smart host) to connect on port 697.  If necessary
you can use the mailertable functionality to force all messages to the
smart host to use the 'relay' mailer:

.   relay:smtp-server.com

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


Re: ISDN - United Kingdom

2004-01-08 Thread Andrew Boothman
Edward Hughes wrote:
Can anyone offer any help on getting ISDN up and running in the UK.  I am using BT's ISDN card and BT's ISDN service.
You may want to try asking on the FreeBSD UKUG list available from 
http://listserver.uk.freebsd.org/mailman/listinfo/freebsd-users where 
there are many other UK FreeBSD users who might be able to help you out.

Andrew

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


Re: nvidia geforce fx 5200 not working with nvidia driver

2004-01-08 Thread Andrew L. Gould
On Thursday 08 January 2004 04:01 pm, Luca Gerli wrote:
 Hi Andrew,

   I tried both, even setting NvAgp to 0, but no luck. I also
 tried to play with ReqAGP to force lower AGP rates, still the
 problem remains. Of the three cards, the only one which keeps
 not working is the 5200. I wonder if it is an AGP issue, but
 even using the Kernel AGP made no difference.
   Any other idea ? Or someone having that same card + same kernel ?
   (chipset is via kt400).

   Thanks, Luca.

Perhaps it's a FreeBSD 5.2RC2 thing.  Remember, you're still running CURRENT.


 Andrew L. Gould wrote:
  On Thursday 08 January 2004 03:21 pm, Luca Gerli wrote:
 Hello all,
 
   just installed a new Nvidia GeForce FX 5200 on my pc (freebsd 5.2RC2),
 and did a startx but just got this:
 
   Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
   (==) Log file: /var/log/XFree86.0.log, Time: Thu Jan  8 22:09:22 2004
   (==) Using config file: /etc/X11/XF86Config
   nvidia0: rm_init_adapter() failed!
   (EE) NVIDIA(0): Failed to initialize the NVIDIA kernel module!
   (EE) NVIDIA(0):  *** Aborting ***
   (EE) Screen(s) found, but none have a usable configuration.
 
   Fatal server error:
   no screens found
 
   /var/log/XFree86.0.log says:
 
   snip
   (**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
   (==) NVIDIA(0): RGB weight 888
   (==) NVIDIA(0): Default visual is TrueColor
   (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
   (--) NVIDIA(0): Linear framebuffer at 0xE000
   (--) NVIDIA(0): MMIO registers at 0xDE00
   (==) NVIDIA(0): Write-combining range (0xde601000,0x1000) was already
 clear (EE) NVIDIA(0): Failed to initialize the NVIDIA kernel module!
   (EE) NVIDIA(0):  *** Aborting ***
   (II) UnloadModule: nvidia
   (II) UnloadModule: vgahw
   (II) Unloading /usr/X11R6/lib/modules/libvgahw.a
   (EE) Screen(s) found, but none have a usable configuration.
   snip
 
   My previous setup was based on a GeForce 2 GTS, and X with nvidia run
 without any problem. Also a GeForce 2 MX400 was ok. Now, I had to revert
  to the nv driver (the one included in XFree86) to be able to run X.
 
   Has anyone any clue or advice ?
 
   I did compile nvidia-driver-1.0.4365 with the default options (just
 a simple make install) when I had the GeForce 2 GTS installed. Kernel
 is in its default config (as coming from 5.2RC2).
 
   BTW: card is working ok in M$ and Linux.
 
   Thanks,
Luca.
 
  Does your /etc/X11/XF86Config have the NvAgp option line in it to
  determine whether to use the nvidia agp or FreeBSD agp?  (This is
  discussed in the README file.)
 
  Have you tried doing the make setup again?
 
  Best of luck,
 
  Andrew Gould

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


Re: Trying to understand ipfirewall/divert/nat

2004-01-08 Thread Lowell Gilbert
Kenneth W Cochran [EMAIL PROTECTED] writes:

 Would like to do similar things, e.g. allow/deny insert
 port/service/protocol here  get all that to play nicely
 with divert/natd.  For example, with divert, it appears that
 we should have a ruleset for before the divert  another
 mirror-image ruleset for after divert.  Where might I
 find some nice explanations of the logic/strategy with this?

Look carefully; it's not a mirror image.  The before set is denying
the addresses as destinations, while the after set is denying them
as source addresses.

 I guess what confuses me is /etc/rc.firewall does things one
 way  the firewall(7) manpage another.

Firewalls configurations differ.  It's possible to struggle through
without understanding what you're doing, but it's hard, and you're a
lot more likely to make mistakes.

 Where are some, umm, good sources of information about
 ipfirewall (ipfw)?  Seems all the books talk about are
 Linux's ipchains  iptables  *bsd's ipf.

The *good* books don't do much with any specific implementation.  [I'm
thinking of Cheswick/Bellovin, as well as the Zwicky book.]  They
cover the theory; if you have that, the syntax is pretty easy with any
of them.

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area: 
resume/CV at http://be-well.ilk.org:8088/~lowell/resume/
username/password public
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


firewall settings in rc.firewall

2004-01-08 Thread Dan Rossi
Hello, i am trying to make my webserver accessible to the net, i tried
to run the out of the box rc.firewall, but there was some default rules
which blocked the 192.168.0 network which is my local lan lol, so killed
it instead of helped it, anyway i tried setting it to open, but still
wont allow access to port 1023 which is wot the server is running on,
can someone please help me with an example rules which may get me going,
let me know thanks.

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


gdm+xfce4

2004-01-08 Thread Monah Baki
Hi all, I'm running freebsd 5.1, and trying to use gdm login manager and xfce4. At the 
login 
username, if I login as root or a normal user, I get a SESSION MENU dialog box 
CHOOSESESSIONLISTWIDGET and I can only choose 2 options DEFAULT/FAIL SAFE and CANCEL, 
and nothing happens in either case.


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


A jail?

2004-01-08 Thread Rishi Chopra
While installing postgres I get the following:

You need to create the null device in your jailed Linux environment. Run 
this
outside the jail, then press enter:

mkdir -m 0755 -p Jail root dir/dev
rm -f Jail root dir//compat/linux/dev/null
mknod Jail root dir//compat/linux/dev/null c 2 2
chmod 666 Jail root dir//compat/linux/dev/null
Do I HAVE to make a jail? I was just going to run the postgresql port on 
my FreeBSD box, sans-condom.  The box only has one user and there are no 
security concerns to speak of.

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


RE: firewall settings in rc.firewall

2004-01-08 Thread Vahric MUHTARYAN
Hi, 

For example if you are using clint mode than go to client section for
firewall configuration you will se mynetwork en subnet section check you
wrote everything is correct.  

f you have two difference network then add sone veriables like in example
of rc.conf which include 192.168.0.0 network and write same firewall rules 

Example 

For your configuration 

# set these to your network and netmask and ip
net=192.168.0.0
mask=255.255.255.0
ip=I dont know what is your 

setup_loopback

# Allow any traffic to or from my own net.
${fwcmd} add pass all from ${ip} to ${net}:${mask}
${fwcmd} add pass all from ${net}:${mask} to ${ip}

With this configuration you can allow access to your ip from 192.168.0.0
network 


Vahric 


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dan Rossi
Sent: Friday, January 09, 2004 12:05 PM
To: [EMAIL PROTECTED]
Subject: firewall settings in rc.firewall

Hello, i am trying to make my webserver accessible to the net, i tried
to run the out of the box rc.firewall, but there was some default rules
which blocked the 192.168.0 network which is my local lan lol, so killed
it instead of helped it, anyway i tried setting it to open, but still
wont allow access to port 1023 which is wot the server is running on,
can someone please help me with an example rules which may get me going,
let me know thanks.

___
[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]


What is the end of FreeBSD ?!

2004-01-08 Thread Vahric MUHTARYAN
Hi Everybody , 

 

I don't know Who can answer it or Do FreeBSD creaters watching
this list but I wonder What is the end of FreeBSD OS. 

I mean Does it like RedHat ?! one day will come and FreeBSD will inform 
After that , We are Not Free   

 

 

 

Thanks 

Vahric 



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


Re: What is the end of FreeBSD ?!

2004-01-08 Thread Chris
On Thursday 08 January 2004 06:19 pm, Vahric MUHTARYAN wrote:
 Hi Everybody ,



 I don't know Who can answer it or Do FreeBSD creaters watching
 this list but I wonder What is the end of FreeBSD OS.

 I mean Does it like RedHat ?! one day will come and FreeBSD will inform 
 After that , We are Not Free  


I understand your point. RedHat has done something odd by splitting off. 
Redhat is now Enterprise (for those that will pay) and Fedora (Think of it as 
StarOffice and OpenOffice).

I seen how LindowsOS has gone too over the past 18 months. From an almost free 
OS to almost a pay for everything.

In any event - I have been with FreeBSD since 2.x.x and its still been free 
with the option to buy the CD's. Will they fall the same way as the before 
mentioned? I doubt it.

-- 
Best regards,
Chris

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


Re: What is the end of FreeBSD ?!

2004-01-08 Thread Kris Kennaway
On Fri, Jan 09, 2004 at 02:19:38AM +0200, Vahric MUHTARYAN wrote:
 Hi Everybody , 
 
  
 
 I don't know Who can answer it or Do FreeBSD creaters watching
 this list but I wonder What is the end of FreeBSD OS. 
 
 I mean Does it like RedHat ?! one day will come and FreeBSD will inform 
 After that , We are Not Free   

RedHat is a company that tried to make money by giving away their
product.  They found they couldn't make enough money this way, so they
stopped giving it away for free.

FreeBSD is a group of volunteers who work on the OS in their own time
and give away their product.  Companies take the product that we
produce and sell it (e.g. on CD).

Notice the difference between these two approaches?  It means there's
basically no chance that what happened with RedHat will ever happen to
FreeBSD.

Kris


pgp0.pgp
Description: PGP signature


Re: A jail?

2004-01-08 Thread Andrew L. Gould
On Thursday 08 January 2004 06:13 pm, Rishi Chopra wrote:
 While installing postgres I get the following:


 You need to create the null device in your jailed Linux environment. Run
 this
 outside the jail, then press enter:

 mkdir -m 0755 -p Jail root dir/dev
 rm -f Jail root dir//compat/linux/dev/null
 mknod Jail root dir//compat/linux/dev/null c 2 2
 chmod 666 Jail root dir//compat/linux/dev/null


 Do I HAVE to make a jail? I was just going to run the postgresql port on
 my FreeBSD box, sans-condom.  The box only has one user and there are no
 security concerns to speak of.

 -R

PostgreSQL is available via the FreeBSD ports system.  It does not require a 
jail or linux emulation.

What are you trying to do?

Andrew Gould

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


Re: What is the end of FreeBSD ?!

2004-01-08 Thread Eric F Crist
On Thursday 08 January 2004 06:26 pm, Chris wrote:
 On Thursday 08 January 2004 06:19 pm, Vahric MUHTARYAN wrote:
  Hi Everybody ,
  I don't know Who can answer it or Do FreeBSD creaters
  watching this list but I wonder What is the end of FreeBSD OS.
 
  I mean Does it like RedHat ?! one day will come and FreeBSD will inform 
  After that , We are Not Free  

One way to avoid this happening is to donate to the FreeBSD Organization.  I'm 
sure they're willing to accept any hardware or even small dollar amounts.  
I'm sure if a good number of the user base were to either contribute some 
bits of code, a spare HDD, or even $5, it would add up to be quite 
substantial.  

I have not yet donated to FreeBSD, but I do donate to others on the list.  I 
guess it's because other software developers (UnrealIRCd, for example) are 
more forward with asking for it.  I guess you guys are next on my list!


-- 
Eric F Crist
AdTech Integrated Systems, Inc
(612) 998-3588
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: A jail?

2004-01-08 Thread Rishi Chopra
Simply trying to install postgresql - the message I included is what the 
system prints out when installing from the ports collection.

Andrew L. Gould wrote:

On Thursday 08 January 2004 06:13 pm, Rishi Chopra wrote:
 

While installing postgres I get the following:

You need to create the null device in your jailed Linux environment. Run
this
outside the jail, then press enter:
mkdir -m 0755 -p Jail root dir/dev
rm -f Jail root dir//compat/linux/dev/null
mknod Jail root dir//compat/linux/dev/null c 2 2
chmod 666 Jail root dir//compat/linux/dev/null
Do I HAVE to make a jail? I was just going to run the postgresql port on
my FreeBSD box, sans-condom.  The box only has one user and there are no
security concerns to speak of.
-R
   

PostgreSQL is available via the FreeBSD ports system.  It does not require a 
jail or linux emulation.

What are you trying to do?

Andrew Gould

 

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


Re: A jail?

2004-01-08 Thread BSD
On Thu, Jan 08, 2004 at 06:07:35PM -0800, Rishi Chopra wrote:
 Simply trying to install postgresql - the message I included is what the 
 system prints out when installing from the ports collection.
 
 Andrew L. Gould wrote:

Er, what directory were you in when you did the make install? The only
port that produces the message below is ports/emulators/linux_base,
which is definately not a dependency of postgresql, nor of any of its
dependents.

 On Thursday 08 January 2004 06:13 pm, Rishi Chopra wrote:
  
 
 While installing postgres I get the following:
 
 
 You need to create the null device in your jailed Linux environment. Run
 this
 outside the jail, then press enter:
 
 mkdir -m 0755 -p Jail root dir/dev
 rm -f Jail root dir//compat/linux/dev/null
 mknod Jail root dir//compat/linux/dev/null c 2 2
 chmod 666 Jail root dir//compat/linux/dev/null
 
 
 Do I HAVE to make a jail? I was just going to run the postgresql port on
 my FreeBSD box, sans-condom.  The box only has one user and there are no
 security concerns to speak of.
 
 -R

 
 
 PostgreSQL is available via the FreeBSD ports system.  It does not require 
 a jail or linux emulation.
 
 What are you trying to do?
 
 Andrew Gould
 
 
  
 
 
 ___
 [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]


Re: A jail?

2004-01-08 Thread Rishi Chopra
I was installing linux_base; it seems to be required, since I was 
getting an error about libintl.so.4 - then again, I also updated gmake 
via 'portupgrade -r gmake', so that may have solved the problem.

Sorry about the misleading context =)

BSD wrote:

On Thu, Jan 08, 2004 at 06:07:35PM -0800, Rishi Chopra wrote:
 

Simply trying to install postgresql - the message I included is what the 
system prints out when installing from the ports collection.

Andrew L. Gould wrote:
   

Er, what directory were you in when you did the make install? The only
port that produces the message below is ports/emulators/linux_base,
which is definately not a dependency of postgresql, nor of any of its
dependents.
 

On Thursday 08 January 2004 06:13 pm, Rishi Chopra wrote:

 

While installing postgres I get the following:

You need to create the null device in your jailed Linux environment. Run
this
outside the jail, then press enter:
mkdir -m 0755 -p Jail root dir/dev
rm -f Jail root dir//compat/linux/dev/null
mknod Jail root dir//compat/linux/dev/null c 2 2
chmod 666 Jail root dir//compat/linux/dev/null
Do I HAVE to make a jail? I was just going to run the postgresql port on
my FreeBSD box, sans-condom.  The box only has one user and there are no
security concerns to speak of.
-R
 

   

PostgreSQL is available via the FreeBSD ports system.  It does not require 
a jail or linux emulation.

What are you trying to do?

Andrew Gould



 

___
[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]


Re: What is the end of FreeBSD ?!

2004-01-08 Thread Garance A Drosihn
At 2:19 AM +0200 1/9/04, Vahric MUHTARYAN wrote:
Hi Everybody ,

I don't know Who can answer it or Do FreeBSD creators
watching this list but I wonder What is the end of FreeBSD OS.
I mean Does it like RedHat ?! one day will come and FreeBSD will
inform After this date, We are Not Free 
RedHat is a company, with employees it has to pay, and shareholders
that it has to answer to.  They *must* have a standalone business
model -- one that allows them to make money.
FreeBSD is still a group of volunteers, some who work for companies
and some who work for fun.  The companies do not make money from
FreeBSD directly, but by using FreeBSD to get something else
done, and they make the money from something else.  In my case,
I work for a college.  The college doesn't actually care at all
about FreeBSD, but they pay me to make sure Printing works.  I
happen to do that with some programs from FreeBSD, so any work
that I do on printing could be given back to FreeBSD without
my college caring about it.
Note that RedHat is not the only source for linux, so there are
still ways to get linux for free.  In fact, you can still get it
for free from RedHat, but it's called Fedora and it will change
at a much faster pace than Redhat used to change.  To my mind,
Fedora is pretty much the same idea as the freebsd-current branch.
A cutting-edge product, appropriate for people who have the time
to deal with the constant stream of (possibly incompatible)
changes.
--
Garance Alistair Drosehn=   [EMAIL PROTECTED]
Senior Systems Programmer   or  [EMAIL PROTECTED]
Rensselaer Polytechnic Instituteor  [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


nautilus won't load

2004-01-08 Thread asolomon15
nautilus seems to crash when I try to start gnome2.2 .
The problem happened when I performed a portupgrade of gtk2.0.9 to 
gtk2.2.4_1.  Can anyone help me with this problem?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: nautilus won't load

2004-01-08 Thread Joe Marcus Clarke
On Thu, 2004-01-08 at 22:48, asolomon15 wrote:
 nautilus seems to crash when I try to start gnome2.2 .
 The problem happened when I performed a portupgrade of gtk2.0.9 to 
 gtk2.2.4_1.  Can anyone help me with this problem?

Not based on this information.  Please read the FreeBSD GNOME pages on
known issues, the FAQ, and how to properly report problems.

http://www.freebsd.org/gnome/

Joe

 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
-- 
PGP Key : http://www.marcuscom.com/pgp.asc


signature.asc
Description: This is a digitally signed message part


Re: A jail?

2004-01-08 Thread Andrew L. Gould
Okay, so to wrap up the PostgreSQL issue:

1. PostgreSQL does not require Linux compatibility or a jail.
2. You can install PostgreSQL natively at /usr/ports/databases.  Currently, 3 
versions are available in the ports:

postgresql7 - version 7.4
postgresql73 - version 7.3.5
postgresql72 - version 7.2.4

All 3 versions are considered stable.  If you're performing an initial 
installation of PostgreSQL, use version 7.4.  The earlier versions are 
available for people with existing databases and reasons not to upgrade.  
Most of these reasons relate to compatibility issues with applications that 
must be modified to deal with feature changes in 7.3 and 7.4.

Best of luck,

Andrew Gould

On Thursday 08 January 2004 08:34 pm, Rishi Chopra wrote:
 I was installing linux_base; it seems to be required, since I was
 getting an error about libintl.so.4 - then again, I also updated gmake
 via 'portupgrade -r gmake', so that may have solved the problem.

 Sorry about the misleading context =)

 BSD wrote:
 On Thu, Jan 08, 2004 at 06:07:35PM -0800, Rishi Chopra wrote:
 Simply trying to install postgresql - the message I included is what the
 system prints out when installing from the ports collection.
 
 Andrew L. Gould wrote:
 
 Er, what directory were you in when you did the make install? The only
 port that produces the message below is ports/emulators/linux_base,
 which is definately not a dependency of postgresql, nor of any of its
 dependents.
 
 On Thursday 08 January 2004 06:13 pm, Rishi Chopra wrote:
 While installing postgres I get the following:
 
 
 You need to create the null device in your jailed Linux environment.
  Run this
 outside the jail, then press enter:
 
 mkdir -m 0755 -p Jail root dir/dev
 rm -f Jail root dir//compat/linux/dev/null
 mknod Jail root dir//compat/linux/dev/null c 2 2
 chmod 666 Jail root dir//compat/linux/dev/null
 
 
 Do I HAVE to make a jail? I was just going to run the postgresql port
  on my FreeBSD box, sans-condom.  The box only has one user and there
  are no security concerns to speak of.
 
 -R
 
 PostgreSQL is available via the FreeBSD ports system.  It does not
  require a jail or linux emulation.
 
 What are you trying to do?
 
 Andrew Gould
 
 ___
 [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]

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


SOLVED: ADMtek USB To LAN Converter and HomePNA

2004-01-08 Thread Dinesh Nair

people,

the following patch solves this problem. according to the ADM8511
datasheet, a couple of registers need to be set with specific values to
enable the HomePNA PHY on the device. the current aue(4) driver does not
do this, and thus by default the device will only enable the Ethernet PHY.
you'd need to rebuild kernel or just kldunload/kldload if using the
if_aue.ko module.

--- CUT HERE ---
--- if_aue.c.orgThu Jan  8 19:29:27 2004
+++ if_aue.cThu Jan  8 19:29:27 2004
@@ -581,7 +581,7 @@
csr_write_1(sc, AUE_REG_81, 6);
else
 #endif
-   csr_write_1(sc, AUE_REG_81, 2);
+   csr_write_1(sc, AUE_REG_81, 6);
 }

 Static void
@@ -610,6 +610,7 @@
 */
csr_write_1(sc, AUE_GPIO0, AUE_GPIO_OUT0|AUE_GPIO_SEL0);
csr_write_1(sc, AUE_GPIO0, AUE_GPIO_OUT0|AUE_GPIO_SEL0|AUE_GPIO_SEL1);
+   csr_write_1(sc, AUE_GPIO1, 0x34);

/* Grrr. LinkSys has to be different from everyone else. */
if (sc-aue_info-aue_flags  LSYS) {
---CUT HERE ---

On Wed, 7 Jan 2004, Dinesh Nair wrote:

 hey,

 i have one of the above. it's a usb device which connects to a HomePNA
 network, with a 10/100Mbps ethernet port as well as a couple of RJ11s for
 the HomePNA connection.

 my problem is i am unable to utilize this device to connect to the HomePNA
 network. upon plugging it in, the console says:

 aue0: ADMtek USB To LAN Converter, rev 1.10/1.01, addr 2
 aue0: Ethernet address: 00:08:54:d0:5d:2e
 miibus1: MII bus on aue0
 pnaphy0: Am79c978 HomePNA PHY on miibus1
 pnaphy0:  HomePNA

 ifconfig aue0 response is:
 aue0: flags=8802BROADCAST,SIMPLEX,MULTICAST mtu 1500
 ether 00:08:54:d0:5d:2e
 media: Ethernet homePNA (none)

 i run 'ifconfig aue0 10.1.105.26 netmask 0x media homepna' and the
 device then gets to the following:

 aue0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
 inet 10.1.105.26 netmask 0x broadcast 10.1.255.255
 ether 00:08:54:d0:5d:2e
 media: Ethernet homePNA
 status: active

 however, i am unable to ping any ip address other than the interface's
 address. obviously, no firewalls (ipfw/ipchains/ipf) are being run and
 this is on FreeBSD 4.9-STABLE built as of a couple of weeks back.

 i've played around with disabling the ethernet PHY on the device with the
 following diff to /usr/src/sys/dev/usb/if_aue.c:

 --- CUT HERE ---
 --- if_aue.c.orgWed Jan  7 20:02:51 2004
 +++ if_aue.cWed Jan  7 21:04:06 2004
 @@ -434,6 +434,28 @@
  #endif
 }

 +   /*
 +* The Am79C978 HomePNA PHY actually contains
 +* two transceivers: a 1Mbps HomePNA PHY and a
 +* 10Mbps full/half duplex ethernet PHY with
 +* NWAY autoneg. However, the HomePNA PHY is
 +* not recognized, but the 10/100Mbps PHY is
 +* though. This skips over the 10/100Mbps PHY
 +* and only activates the 1Mbps HomePNA PHY
 +*
 +* Modified by Dinesh Nair [EMAIL PROTECTED]
 +* Wed Jan  7 20:36:34 MYT 2004
 +*
 +*/
 +   if (sc-aue_info-aue_vid == USB_VENDOR_ADMTEK 
 +   sc-aue_info-aue_did == USB_PRODUCT_ADMTEK_PEGASUSII) {
 +   if (phy == 1)
 +   return(0);
 +   }
 +   /*
 +* End of modifications by Dinesh Nair
 +*/
 +
 csr_write_1(sc, AUE_PHY_ADDR, phy);
 csr_write_1(sc, AUE_PHY_CTL, reg|AUE_PHYCTL_READ);
 --- CUT HERE ---

 but to no avail. i've discovered that the ethernet PHY is phy==1, while
 the two RJ11 PHYs are 2 and 3.

 the ethernet PHY works fine and dandy, and i am able to connect it to my
 local switch fine. however, i need to use it for a HomePNA application,
 and thus need to HomePNA portion of this to work.

 any ideas from anyone who's tried something like this before with some
 measure of success ? any media types or mediaopts i should be passing to
 ifconfig ?

 this setup is used by a broadband provider in kuala lumpur, malaysia and
 to date this has been the one barrier which prevents freebsd users from
 utilizing their service.

 Regards,   /\_/\   All dogs go to heaven.
 [EMAIL PROTECTED](0 0)http://www.alphaque.com/
 +==oOO--(_)--OOo==+
 | for a in past present future; do|
 |   for b in clients employers associates relatives neighbours pets; do   |
 |   echo The opinions here in no way reflect the opinions of my $a $b.  |
 | done; done  |
 +=+



Regards,   /\_/\   All dogs go to heaven.
[EMAIL PROTECTED](0 0)http://www.alphaque.com/
+==oOO--(_)--OOo==+
| for a in past present future; do

SOLVED: ADMtek USB To LAN Converter and HomePNA

2004-01-08 Thread Dinesh Nair

use the following patch instead of earlier one. earlier patch hardcoded
use of HomePNA PHY and disabled Ethernet PHY. this patch corrects this
behaviour and allows switching between either PHY thru use of the ifconfig
command. this means that the USB dongle can either be used as an Ethernet
device (connect to switch/hub) or as a HomePNA access device, but not both
simultaneously.

ifconfig aue0 media homepna # activates HomePNA PHY/RJ11
ifconfig aue0 media auto # activates Ethernet PHY/RJ45

using auto as media type is synonymous with the following media types:

10baseT 10baseT-FDX 100baseTX 100baseTX-FDX

much apologies for not checking things correctly before submitting the
patch.

patch follows:

--- CUT HERE ---
--- if_aue.c.orgWed Jan  7 20:02:51 2004
+++ if_aue.cThu Jan  8 21:12:23 2004
@@ -118,7 +118,7 @@
 { USB_VENDOR_ACCTON,   USB_PRODUCT_ACCTON_USB320_EC, 0 },
 { USB_VENDOR_ACCTON,   USB_PRODUCT_ACCTON_SS1001,PII },
 { USB_VENDOR_ADMTEK,   USB_PRODUCT_ADMTEK_PEGASUS,   PNA },
-{ USB_VENDOR_ADMTEK,   USB_PRODUCT_ADMTEK_PEGASUSII, PII },
+{ USB_VENDOR_ADMTEK,   USB_PRODUCT_ADMTEK_PEGASUSII, PNA|PII },
 { USB_VENDOR_BELKIN,   USB_PRODUCT_BELKIN_USB2LAN,   PII },
 { USB_VENDOR_BILLIONTON,   USB_PRODUCT_BILLIONTON_USB100,0 },
 { USB_VENDOR_BILLIONTON,   USB_PRODUCT_BILLIONTON_USBLP100,  PNA },
@@ -492,6 +492,17 @@
mii = device_get_softc(sc-aue_miibus);

AUE_CLRBIT(sc, AUE_CTL0, AUE_CTL0_RX_ENB|AUE_CTL0_TX_ENB);
+
+   if (IFM_SUBTYPE(mii-mii_media_active) == IFM_homePNA) {
+   if (sc-aue_info-aue_flags  (PNA|PII)) {
+   csr_write_1(sc, AUE_GPIO1, 0x34);
+   csr_write_1(sc, AUE_REG_81, 6);
+   }
+   } else {
+   csr_write_1(sc, AUE_GPIO1, 0x26);
+   csr_write_1(sc, AUE_REG_81, 2);
+   }
+
if (IFM_SUBTYPE(mii-mii_media_active) == IFM_100_TX) {
AUE_SETBIT(sc, AUE_CTL1, AUE_CTL1_SPEEDSEL);
} else {
@@ -576,12 +587,10 @@
/* Magic constants taken from Linux driver. */
csr_write_1(sc, AUE_REG_1D, 0);
csr_write_1(sc, AUE_REG_7B, 2);
-#if 0
-   if ((sc-aue_flags  HAS_HOME_PNA)  mii_mode)
-   csr_write_1(sc, AUE_REG_81, 6);
-   else
-#endif
+
+   if (sc-aue_info-aue_flags  PNA) {
csr_write_1(sc, AUE_REG_81, 2);
+   }
 }

 Static void
--- CUT HERE ---

--dinesh


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