PopTop (pptp) and DHCP Server

2004-08-17 Thread Michel Schwab
Hi,

I have a question and how a can sovled my problem.

Installed form the Port:
- POPTOP
- DHCP Server

Now, i have a external connection with PPTP (poptop) in the freebsd i
see tun0 active, that very good.
But now send the end of the tunnel hardware (a AccessPoint whith dhcp
relay) DHCP Request over the Tunnel, but nothing will be answerd.

For me it's clear, that the DHCP Server listing only on the Hardware
Interface but not on a virtuel Tunnel (tun0).
When i start dhcpd manuell with -  dhcpd tun0 will not work

Have everyone a quick/dirty solution for this?

Many thanks
Michel

PS: Sorry for my bad english

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


Re: Where is Bill Paul's NDIS miniport driver wrapper?

2004-03-02 Thread Michel Schwab
Hi

I found this guide:

Commit the first cut of Project Evil, also known as the NDISulator.

Yes, it's what you think it is. Yes, you should run away now.

This is a special compatibility module for allowing Windows NDIS
miniport network drivers to be used with FreeBSD/x86. This provides
_binary_ NDIS compatibility (not source): you can run NDIS driver
code, but you can't build it. There are three main parts:

sys/compat/ndis: the NDIS compat API, which provides binary
compatibility functions for many routines in NDIS.SYS, HAL.dll
and ntoskrnl.exe in Windows (these are the three modules that
most NDIS miniport drivers use). The compat module also contains
a small PE relocator/dynalinker which relocates the Windows .SYS
image and then patches in our native routines.

sys/dev/if_ndis: the if_ndis driver wrapper. This module makes
use of the ndis compat API and can be compiled with a specially
prepared binary image file (ndis_driver_data.h) containing the
Windows .SYS image and registry key information parsed out of the
accompanying .INF file. Once if_ndis.ko is built, it can be loaded
and unloaded just like a native FreeBSD kenrel module.

usr.sbin/ndiscvt: a special utility that converts foo.sys and foo.inf
into an ndis_driver_data.h file that can be compiled into if_ndis.o.
Contains an .inf file parser graciously provided by Matt Dodd (and
mercilessly hacked upon by me) that strips out device ID info and
registry key info from a .INF file and packages it up with a binary
image array. The ndiscvt(8) utility also does some manipulation of
the segments within the .sys file to make life easier for the kernel
loader. (Doing the manipulation here saves the kernel code from having
to move things around later, which would waste memory.)

ndiscvt is only built for the i386 arch. Only files.i386 has been
updated, and none of this is turned on in GENERIC. It should probably
work on pc98. I have no idea about amd64 or ia64 at this point.

This is still a work in progress. I estimate it's about %85 done, but
I want it under CVS control so I can track subsequent changes. It has
been tested with exactly three drivers: the LinkSys LNE100TX v4 driver
(Lne100v4.sys), the sample Intel 82559 driver from the Windows DDK
(e100bex.sys) and the Broadcom BCM43xx wireless driver (bcmwl5.sys). It
still needs to have a net80211 stuff added to it. To use it, you would
do something like this:

# cd /sys/modules/ndis
# make; make load
# cd /sys/modules/if_ndis
# ndiscvt -i /path/to/foo.inf -s /path/to/foo.sys -o ndis_driver_data.h
# make; make load
# sysctl -a | grep ndis

All registry keys are mapped to sysctl nodes. Sometimes drivers refer
to registry keys that aren't mentioned in foo.inf. If this happens,
the NDIS API module creates sysctl nodes for these keys on the fly so
you can tweak them.

An example usage of the Broadcom wireless driver would be:

# sysctl hw.ndis0.EnableAutoConnect=1
# sysctl hw.ndis0.SSID=MY_SSID
# sysctl hw.ndis0.NetworkType=0 (0 for bss, 1 for adhoc)
# ifconfig ndis0 my ipaddr netmask 0xff00 up

Things to be done:

- get rid of debug messages
- add in ndis80211 support
- defer transmissions until after a status update with
NDIS_STATUS_CONNECTED occurs
- Create smarter lookaside list support
- Split off if_ndis_pci.c and if_ndis_pccard.c attachments
- Make sure PCMCIA support works
- Fix ndiscvt to properly parse PCMCIA device IDs from INF files
- write ndisapi.9 man page

cheers michel


- Original Message - 
From: Alistair Hamilton [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, March 02, 2004 11:28 AM
Subject: Where is Bill Paul's NDIS miniport driver wrapper?


 Hello, all

 I have installed the FreeBSD 5.2.1, which I assumed to be the latest
 available. However, it does not appear to have the NDIS miniport driver
 in the kernel source and there is no /sys/modules/ndis .  I need this
 for my Centrino 802.11b.

 Google has helped me to find quite a few references to it but I cannot
 find a relevant URL. Is this driver distributed separately?  If so,
 where do I get it?

 TIA,
 Alistair
 --
 [EMAIL PROTECTED]:~$ uname -a
 FreeBSD irma.ty-eurgain 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #3: Mon Mar
 1 09:38:49 GMT 2004
 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/IRMAKERNEL  i386

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


 !DSPAM:40446224275972446164773!




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


Antivir/avmilter and Sendmail - stdin trouble

2004-02-28 Thread Michel Schwab
Hi

After installing the Antivirus Ports that work good for me, but now i have
one trouble in the Maillog Files from Sendmail, see here (only when the
scanner find a Virus):

Feb 28 22:35:57 mail avmilter[4937]: open(outgoing/df-03109-6647D356) to
stdin failed (Bad file descriptor)
Feb 28 22:35:57 mail avmilter[4936]: temporary MTA failure, error=71 - mails
stay queued
Feb 28 22:35:57 mail avmilter[4936]: Message 'outgoing/qf-03109-6647D356'
could not be forwarded now. We'll retry later.

Does someone have a solution for this problem?

very thanx, Michel

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


Re: spam removal

2004-02-17 Thread Michel Schwab
Hi

I read this tread, great idee to add a spam feature.
so i do it, install with the ports.

I work with sendmail, no mysql db behind.
make install done.

chance the Mlocal Setting, add aliases, and restart sendmail.

Now Message it's comming up to me, but when i send a email to
[EMAIL PROTECTED], it's now comming:

   - The following addresses had permanent fatal errors -
|'/usr/local/bin/dspam' --user 'spamtest' --addspam
(reason: 126)
(expanded from: [EMAIL PROTECTED])

   - Transcript of session follows -
/usr/local/bin/dspam: permission denied
554 5.3.0 unknown mailer error 126

there are my configs:

SENDMAIL.CF
Mlocal, P=/usr/local/bin/dspam, F=lsDFMAw5:/|@qfSmn9,
S=EnvFromL/HdrFromL, R=EnvToL/HdrToL,
T=DNS/RFC822/X-Unix,
A=dspam --user $u -d %u

TRUSTED USERES
root
smmsp
daemon
www
mailnull

Can me help some?

tnx Michel



- Original Message - 
From: Ion-Mihai Tetcu [EMAIL PROTECTED]
To: Gary Kline [EMAIL PROTECTED]
Cc: Olga Zenkova [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Tuesday, February 17, 2004 1:26 PM
Subject: Re: spam removal



 [ Sorry for the delay, I was (and still am) rebuilding everything with
 pthread  on my desktop. ]


 On Mon, 16 Feb 2004 20:37:30 -0800
 Gary Kline [EMAIL PROTECTED] wrote:

  On Mon, Feb 16, 2004 at 01:09:11PM +0200, Ion-Mihai Tetcu wrote:
 [..]
 
  Hi,
 
  I'd be grateful for some tips on how to get dspam up.   I
  installed it after reading your mail; then I waded into the
  long README and felt nearly overwhelmed.

 Yeh, I know. I will hopefully rewrite the readme and add some docs on
 the next release.

   I've used mysql to set up several message boards,, but that's about
   the extent of my knowledge.

 No problem here. The first question is: do you have your mail users in a
 mysql database or they are in the system ?

 If they are in the system use dspam_2mysql to generate the table for
 dpsam from the passwd file, and use dspam_genaliases to generate the
 spam aliases for each user to forward the spam to.

 As a general note, until you're convince the hole system works ok
 compile dpam with verbose_debug. As currently the port doesn't offer
 that, just add:

 CONFIGURE_ARGS+=--enable-debug \
 --enable-verbose-debug

 just above:

 .if defined(WITH_MYSQL)


 Be aware that this will produce * a lot * of noise on a busy system (It
 will log a copy of each mail in /usr/local/etc/dspam/dspam.messages, in
 dspam.debug it will log how it applies the algorithms ans some sql debug
 info in dspam.messages and the sql queries and results in sql.errors)
 And when I say a lot I mean about 100MB for about 10.000 mails.. Also I
 would suggest turning off mysql query log if it's on (I nicely run out
 of space, for the same amount of messages it eats up about  500MB).

 Make an test user so that you don't have all your mails passed to dspam
 until it working ok.

  I've been using /etc/mail/access that catches tons of
  spam.  It would be great if dspam could do the rest!

 You can use dspam between your MTA and LDA for local delivery. Or do a
 more complex setup and re-inject the mail into the MTA.

 Give me some more details, please.

 -- 
 IOnut
 Unregistered ;) FreeBSD user

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


 !DSPAM:40320d045721998092570!





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


Install Troubles on IBM x searie 345 and ServeRaid 6i

2004-02-16 Thread Michel Schwab
Hi

We have here in the office two new server maschines.
IBM x Server 345 with a Raid Controller: ServeRaid 6i

I have download the latest FreeBSD Version 5.2.1 RC2 12.2.04

But the Kernel doen't find the Raid Controller, it's say: No driver attached

When i read the doc's it must be compiled in the main kernel (IPS are the
driver), from the Install CD Rom.
Yes, i have try to install with the Floppy Version, too... in drivers.flp
see IPS Driver...

Have anyone a idee how i can install Freebsd?
(at the moment only RedHut 9 it's working with this server, and i want not
use linux)

Very thanx, Michel

PS: Sorry for my english...:)


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


Re: Install Troubles on IBM x searie 345 and ServeRaid 6i

2004-02-16 Thread Michel Schwab
tnx

i know the stable version it's 4.9, but the Raid Driver are only in the new
Version 5.x... :(

http://fxr.watson.org/fxr/source/dev/ips/ips.c

thx for helping!

- Original Message - 
From: JJB [EMAIL PROTECTED]
To: Michel Schwab [EMAIL PROTECTED]
Sent: Monday, February 16, 2004 3:41 PM
Subject: RE: Install Troubles on IBM x searie 345 and ServeRaid 6i


 5.x series  is from the development branch of the code tree. It's
 where all the new untested code gets tested first. 5.2 has show
 stopper bug about installing on raid devices. If you can not debug
 kernel code you should not be using 5.x releases. 4.9 is the stable
 production release and the one you should be using.

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Michel
 Schwab
 Sent: Monday, February 16, 2004 9:21 AM
 To: [EMAIL PROTECTED]
 Subject: Install Troubles on IBM x searie 345 and ServeRaid 6i

 Hi

 We have here in the office two new server maschines.
 IBM x Server 345 with a Raid Controller: ServeRaid 6i

 I have download the latest FreeBSD Version 5.2.1 RC2 12.2.04

 But the Kernel doen't find the Raid Controller, it's say: No driver
 attached

 When i read the doc's it must be compiled in the main kernel (IPS
 are the
 driver), from the Install CD Rom.
 Yes, i have try to install with the Floppy Version, too... in
 drivers.flp
 see IPS Driver...

 Have anyone a idee how i can install Freebsd?
 (at the moment only RedHut 9 it's working with this server, and i
 want not
 use linux)

 Very thanx, Michel

 PS: Sorry for my english...:)


 ___
 [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: Install Troubles on IBM x searie 345 and ServeRaid 6i

2004-02-16 Thread Michel Schwab
Hi Jerry

Yes, the ips driver are only in the 5.x Version
No when i read the specs right then it must be buildet in the Boot Install
Kernel of the 5.x Version.

I think this IBM Server Motherboard an ServeRaid 6i are the big problem :(

last chance...:)
Is it possible a 5.xx to install on a laptop to make current with cvsup and
make a special Kernel (shure is't true...), but how i make from this build a
ISO, that i can burning to cdrom ans install on the server?
If there have some guidance, URL to to that?

thank you
Michel

Jerry, .ch are in Switzerland :)

- Original Message - 
From: Jerry McAllister [EMAIL PROTECTED]
To: Michel Schwab [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Monday, February 16, 2004 4:06 PM
Subject: Re: Install Troubles on IBM x searie 345 and ServeRaid 6i


 
  Hi
 
  We have here in the office two new server maschines.
  IBM x Server 345 with a Raid Controller: ServeRaid 6i
 
  I have download the latest FreeBSD Version 5.2.1 RC2 12.2.04
 
  But the Kernel doen't find the Raid Controller, it's say: No driver
attached
 
  When i read the doc's it must be compiled in the main kernel (IPS are
the
  driver), from the Install CD Rom.
  Yes, i have try to install with the Floppy Version, too... in
drivers.flp
  see IPS Driver...

 I don't have a 5.xx here to look at right now, but in 4.9, the latest I
 have, I don't find an IPS driver listed in lint.  Do you have that right?
 If that driver id is correct, it must be new in 5.xx.   Then you need to
 read up on making a custom kernel and then add the ips driver to the
config
 file and make and install a new kernel.  When you do that, work with a
 copy of the /usr/src/sys/i386/conf/GENERIC file rather than modifying
 it directly.  Refer to the .../LINT file for syntax on all the drivers.

 You might not be able to do that starting on the raid.  You may need
 another non-raid disk (SCSI preferably, it you have a SCSI controller)
 to get started.

 If the necessary driver is not in the 5.2  .../LINT file, then you
 may have to help make a driver or get someone else interested.

 Note, that I don't think all of the driver ids are one for one
 identical from Linux to FreeBSD.  So, if it is ips in Redhat, it
 might supposed to be something else in FreeBSD.   That is a little
 beyond my experience.

 By the way, where is the .ch (from your Email address) from?  I have
 seen it several times lately.

 jerry

 
  Have anyone a idee how i can install Freebsd?
  (at the moment only RedHut 9 it's working with this server, and i want
not
  use linux)
 
  Very thanx, Michel
 
  PS: Sorry for my english...:)
 



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