RE: FreeBSD 5.1 - WinXP Networking Problem UPDATE #2

2004-07-20 Thread Hauan, David


 -Original Message-
 From: freebsder [mailto:[EMAIL PROTECTED]
 Sent: Sunday, July 18, 2004 10:16 AM
 To: [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Subject: Re: FreeBSD 5.1 - WinXP Networking Problem UPDATE #2
 
 
 Hi Mark,
 
 I put in: 
 natd_flags=-dynamic
 But I could not get it up and running.
 
 Btw, previously, what I've been doing to get the
 machine on line was typing in:
 
 # ipfw add 100 allow tcp from any to any via any
 00100 allow tcp from any to any
 # ipfw add 100 allow ip from any to any via any
 00100 allow ip from any to any
 
 I'm doing this because this allows me to surf the web
 and download my Email respectively.  So when I do an
 ipfw, I get:
 
 # ipfw -a list
 00100 308 68064 allow tcp from any to any
 00100  38  3187 allow ip from any to any
 65535 337 23993 deny ip from any to any
 
 Now, after I made the change you suggested and
 rebooted, I got:
 # ipfw -a list
 00050 276 17396 divert 8668 ip from any to any via
 tun0
 00100 134 14156 allow ip from any to any via lo0
 00200   0 0 deny ip from any to 127.0.0.0/8
 00300   0 0 deny ip from 127.0.0.0/8 to any
 65000   0 0 allow ip from any to any
 65535   0 0 deny ip from any to any
 
 Then I tried pinging out from my Win XP box to no
 avail. 
 
 I even added:
 
 # ipfw add 100 allow tcp from any to any via any
 00100 allow tcp from any to any
 # ipfw add 100 allow ip from any to any via any
 00100 allow ip from any to any
 
 to get:
 
 00050 286 17938 divert 8668 ip from any to any via
 tun0
 00100 134 14156 allow ip from any to any via lo0
 00100   0 0 allow tcp from any to any
 00100   0 0 allow ip from any to any
 00200   0 0 deny ip from any to 127.0.0.0/8
 00300   0 0 deny ip from 127.0.0.0/8 to any
 65000   0 0 allow ip from any to any
 65535   0 0 deny ip from any to any
 
 but still no dice!
 
 I'm thinking I should probably Delete the following
 two lines from above:
 00200   0 0 deny ip from any to 127.0.0.0/8
 00300   0 0 deny ip from 127.0.0.0/8 to any
 
 and see what happends.  I will try this out now, but
 if you have any other suggestions, prey tell.
 
 as always ... thankyou.
 
 Your Message::
 
 Jumping in late, 
 
 natd_enable=YES # forward from inside
 natd_interface=tun0  # this being the connection to
 outside world 
 natd_flags=-dynamic # because the ip addy may change
 
 
 I don't know what your trying to do here??
 natd_flags=redirect_port tcp 192.168.1.1:80 80
 I would remove this until you get everything else
 working.
 
This all looks fine to me.

Is your winxp gateway set correctly?
It should be the internal IP of your 
FreeBSd box.

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


Re: runing FreeBSD on WinXP using free PC virtualization software

2004-07-20 Thread andrew clarke
On Sun, Jul 18, 2004 at 10:27:11AM +0600, ashadul hoque wrote:

 Is there any free software to run FreeBSD on WinXP?

QEMU:

http://fabrice.bellard.free.fr/qemu/
http://www.h7.dion.ne.jp/~qemu-win/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: runing FreeBSD on WinXP using free PC virtualization software

2004-07-18 Thread Aaron Myles Landwehr
ashadul hoque wrote:
Hello everyone,
Is there any free software to run FreeBSD on WinXP?
I tried google and it looks like there is no free software to run FreeBSD 
on WinXP.

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

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


FreeBSD 5.1 - WinXP Networking Problem UPDATE #2

2004-07-18 Thread freebsder
  Hi Chuck,

Thanks for the suggestions.

First off - there was actually a typo in the line:
firewall_script=/etc/rc/firewall
I changed it to:
firewall_script=/etc/rc.firewall

However, it made no difference to the WinXP box
ability to connect.

Next I tried commenting out that line altogether but
it still did not work(!)  It would not go online.

I then checked out rc.firewall asper you suggestion
and looked under OPEN ... This is what I found:::


# If you just configured ipfw in the kernel as a tool
to solve network
# problems or you just want to disallow some
particular kinds of traffic
# then you will want to change the default policy to
open.  You can also
# do this as your only action by setting the
firewall_type to ``open''.
#
#${fwcmd} add 65000 pass all from any to any


# Prototype setups.
#
case ${firewall_type} in
[Oo][Pp][Ee][Nn])
setup_loopback
${fwcmd} add 65000 pass all from any to any
;;

[...]

Do you see a problem in this set-up?

I am considering setting it up in SIMPLE mode but I
want to be able to run the machine in OPEN mode before
I get too fancy with security and firewalls ... you
know?

Thanks again for you help ... please advise.


freebsder wrote:
 This is what I get:
 
 # ipfw -a list
 00100 49820 12066079 allow ip from any to any
 00100 00 allow tcp from any to any
 65535 2   96 deny ip from any to any
 
 The Second and Third lines don't seem right..  What
do
 I need to do correct the problem here.

The line here:

   firewall_script=/etc/rc/firewall

...tells IPFW to use a config file that doesn't
contain enough useful 
rules.

Comment out that line, and examine /etc/rc.firewall
instead, and 
reboot.  Then 
take a look at the rules being loaded by the OPEN
firewall type, which 
should 
include a divert rule...

-- 
-Chuck




__
Do you Yahoo!?
Vote for the stars of Yahoo!'s next ad campaign!
http://advision.webevents.yahoo.com/yahoo/votelifeengine/

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


Re: runing FreeBSD on WinXP using free PC virtualization software

2004-07-18 Thread James W. Thompson, II
Virtual PC works really well too, but the original poster asked about
'free' options...honestly, I prefer MS Virtual PC to Bochs at this
point, at least on my Mac; but Bochs is coming along nicely.

On Sun, 18 Jul 2004 01:59:59 -0400, Aaron Myles Landwehr
[EMAIL PROTECTED] wrote:
 
 
 ashadul hoque wrote:
 
 Hello everyone,
 
 Is there any free software to run FreeBSD on WinXP?
 
 I tried google and it looks like there is no free software to run FreeBSD
 on WinXP.
 
 regards
 Ashadul
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 
 
 Micriosoft Virtual PC  works.
 
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 


-- 
James W. Thompson, II (New Orleans, LA)
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD 5.1 - WinXP Networking Problem UPDATE #2

2004-07-18 Thread freebsder
Hi Mark,

I put in: 
natd_flags=-dynamic
But I could not get it up and running.

Btw, previously, what I've been doing to get the
machine on line was typing in:

# ipfw add 100 allow tcp from any to any via any
00100 allow tcp from any to any
# ipfw add 100 allow ip from any to any via any
00100 allow ip from any to any

I'm doing this because this allows me to surf the web
and download my Email respectively.  So when I do an
ipfw, I get:

# ipfw -a list
00100 308 68064 allow tcp from any to any
00100  38  3187 allow ip from any to any
65535 337 23993 deny ip from any to any

Now, after I made the change you suggested and
rebooted, I got:
# ipfw -a list
00050 276 17396 divert 8668 ip from any to any via
tun0
00100 134 14156 allow ip from any to any via lo0
00200   0 0 deny ip from any to 127.0.0.0/8
00300   0 0 deny ip from 127.0.0.0/8 to any
65000   0 0 allow ip from any to any
65535   0 0 deny ip from any to any

Then I tried pinging out from my Win XP box to no
avail. 

I even added:

# ipfw add 100 allow tcp from any to any via any
00100 allow tcp from any to any
# ipfw add 100 allow ip from any to any via any
00100 allow ip from any to any

to get:

00050 286 17938 divert 8668 ip from any to any via
tun0
00100 134 14156 allow ip from any to any via lo0
00100   0 0 allow tcp from any to any
00100   0 0 allow ip from any to any
00200   0 0 deny ip from any to 127.0.0.0/8
00300   0 0 deny ip from 127.0.0.0/8 to any
65000   0 0 allow ip from any to any
65535   0 0 deny ip from any to any

but still no dice!

I'm thinking I should probably Delete the following
two lines from above:
00200   0 0 deny ip from any to 127.0.0.0/8
00300   0 0 deny ip from 127.0.0.0/8 to any

and see what happends.  I will try this out now, but
if you have any other suggestions, prey tell.

as always ... thankyou.

Your Message::

Jumping in late, 

natd_enable=YES # forward from inside
natd_interface=tun0  # this being the connection to
outside world 
natd_flags=-dynamic # because the ip addy may change


I don't know what your trying to do here??
natd_flags=redirect_port tcp 192.168.1.1:80 80
I would remove this until you get everything else
working.

 Hi Bill,

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: runing FreeBSD on WinXP using free PC virtualization software

2004-07-18 Thread arden
i know its not free but vmware must be an option 

arden

On Sun, 2004-07-18 at 17:27, James W. Thompson, II wrote:
 Virtual PC works really well too, but the original poster asked about
 'free' options...honestly, I prefer MS Virtual PC to Bochs at this
 point, at least on my Mac; but Bochs is coming along nicely.
 
 On Sun, 18 Jul 2004 01:59:59 -0400, Aaron Myles Landwehr
 [EMAIL PROTECTED] wrote:
  
  
  ashadul hoque wrote:
  
  Hello everyone,
  
  Is there any free software to run FreeBSD on WinXP?
  
  I tried google and it looks like there is no free software to run FreeBSD
  on WinXP.
  
  regards
  Ashadul
  ___
  [EMAIL PROTECTED] mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to [EMAIL PROTECTED]
  
  
  Micriosoft Virtual PC  works.
  
  
  ___
  [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]


runing FreeBSD on WinXP using free PC virtualization software

2004-07-17 Thread ashadul hoque
Hello everyone,

Is there any free software to run FreeBSD on WinXP?

I tried google and it looks like there is no free software to run FreeBSD 
on WinXP.

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


Re: runing FreeBSD on WinXP using free PC virtualization software

2004-07-17 Thread James W. Thompson, II
You could run it in Bochs. Check out the project at
http://bochs.sourceforge.net/ I use it on my Mac and it works fine.

On Sun, 18 Jul 2004 10:27:11 +0600, ashadul hoque [EMAIL PROTECTED] wrote:
 Hello everyone,
 
 Is there any free software to run FreeBSD on WinXP?
 
 I tried google and it looks like there is no free software to run FreeBSD
 on WinXP.
 
 regards
 Ashadul
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 


-- 
James W. Thompson, II (New Orleans, LA)
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD 5.1 - WinXP Networking Problem UPDATE #2

2004-07-16 Thread freebsder
OK - I have taken everyone's advice and made some
changes to my  rc.conf.  Things have improved ...

All my computers can ping each other!  BUT I can only
connect to the internet from the FreeBSD server.  All
requests made by the WinXP machines go unanswered!! 
Yet when I ping from them, they can connect to any
computer on the network BUT CANNOT ping OUTSIDE the
network nor fetch any information outside this
network.  

Any ideas why my FreeBSD machine is not routing these
requests and putting up a road block?

RC.CONF

font8x14=NO
font8x16=swiss-8x16
font8x8=swiss-8x8
inetd_enable=YES
linux_enable=YES
moused_enable=YES
moused_port=/dev/psm0
moused_type=auto
nfs_client_enable=YES
nfs_server_enable=YES
rpcbind_enable=YES
saver=rain
scrnmap=NO
usbd_enable=YES
ifconfig_vr0=DHCP
ifconfig_ed0=DHCP

##initialise NIC
network_interfaces=vr0 ed0 lo0 tun0
ifconfig tun0

#ifconfig vr0= media 10baseT/UTP up
#ifconfig_ed0=inet 192.168.0.3  netmask 255.255.0.0

#Changes as suggested:
ifconfig_ed0=inet 192.168.1.1/24
ifconfig_vr0=inet 192.168.0.1/24 media 10baseT/UTP
up

#ifconfig_vr0=inet 192.168.0.1  netmask 255.255.0.0

hostname=my.server.com

##User ppp configuration
ppp_enable=YES
ppp_mode=ddial
ppp_nat=NO
ppp_profile=bellnet
#ppp_user=root


## Firewall
gateway_enable=YES
firewall_enable=YES
firewall_type=OPEN
#firewall_quiet=NO
firewall_script=/etc/rc/firewall
natd_enable=YES
natd_interface=vr0
natd_flags=redirect_port tcp 192.168.1.1:80 80
rpc_statd_enable=YES
tcp_extensions=YES

## Mail
sendmail_enable=YES




__
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD 5.1 - WinXP Networking Problem UPDATE #2

2004-07-16 Thread Chuck Swiger
freebsder wrote:
Any ideas why my FreeBSD machine is not routing these
requests and putting up a road block?
[ ... ]
firewall_type=OPEN
#firewall_quiet=NO
firewall_script=/etc/rc/firewall
natd_enable=YES
There's likely to be a problem with /etc/rc/firewall, assuming that even 
exists.  Does ipfw -a list show a divert rule to natd?

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


Re: FreeBSD 5.1 - WinXP Networking Problem UPDATE #2

2004-07-16 Thread freebsder
Hi Chuck, 

This is what I get:

# ipfw -a list
00100 49820 12066079 allow ip from any to any
00100 00 allow tcp from any to any
65535 2   96 deny ip from any to any

The Second and Third lines don't seem right..  What do
I need to do correct the problem here.

The Firewall Type is set to OPEN - doesn't that mean
that it would not really matter how the firewall
issetup.  (btw, please excuse my overt ignorance.)  I
had it set to SIMPLE before and made some changes to
the firewall file but it was not working so I just set
it at OPEN and was able to access the internet. 
Although now this may pose a problem with this
network.  Please advise.  I can send you a copy of my
existing firewall file if needed ...

Thanks as always 

freebsder wrote:
 Any ideas why my FreeBSD machine is not routing
these
 requests and putting up a road block?
[ ... ]
   firewall_type=OPEN
   #firewall_quiet=NO
   firewall_script=/etc/rc/firewall
   natd_enable=YES

There's likely to be a problem with /etc/rc/firewall,
assuming that 
even 
exists.  Does ipfw -a list show a divert rule to
natd?

-- 
-Chuck







__
Do you Yahoo!?
Vote for the stars of Yahoo!'s next ad campaign!
http://advision.webevents.yahoo.com/yahoo/votelifeengine/

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


Re: FreeBSD 5.1 - WinXP Networking Problem UPDATE #2

2004-07-16 Thread Bill Moran
freebsder [EMAIL PROTECTED] wrote:
 All my computers can ping each other!  BUT I can only
 connect to the internet from the FreeBSD server.  All
 requests made by the WinXP machines go unanswered!! 
 Yet when I ping from them, they can connect to any
 computer on the network BUT CANNOT ping OUTSIDE the
 network nor fetch any information outside this
 network.  
 
 Any ideas why my FreeBSD machine is not routing these
 requests and putting up a road block?
 
 RC.CONF
 
 font8x14=NO
   font8x16=swiss-8x16
   font8x8=swiss-8x8
   inetd_enable=YES
   linux_enable=YES
   moused_enable=YES
   moused_port=/dev/psm0
   moused_type=auto
   nfs_client_enable=YES
   nfs_server_enable=YES
   rpcbind_enable=YES
   saver=rain
   scrnmap=NO
   usbd_enable=YES
   ifconfig_vr0=DHCP
   ifconfig_ed0=DHCP
 
 ##initialise NIC
   network_interfaces=vr0 ed0 lo0 tun0
   ifconfig tun0
 
   #ifconfig vr0= media 10baseT/UTP up
   #ifconfig_ed0=inet 192.168.0.3  netmask 255.255.0.0
 
   #Changes as suggested:
   ifconfig_ed0=inet 192.168.1.1/24
   ifconfig_vr0=inet 192.168.0.1/24 media 10baseT/UTP
 up
 
   #ifconfig_vr0=inet 192.168.0.1  netmask 255.255.0.0
 
   hostname=my.server.com
 
 ##User ppp configuration
   ppp_enable=YES
   ppp_mode=ddial
   ppp_nat=NO
   ppp_profile=bellnet
   #ppp_user=root
 
 
 ## Firewall
   gateway_enable=YES
   firewall_enable=YES
   firewall_type=OPEN
   #firewall_quiet=NO
   firewall_script=/etc/rc/firewall
   natd_enable=YES
   natd_interface=vr0

I believe you'll want:
natd_interface=ppp0
or is it tun0?  I don't remember (long time since I've used ppp) but the
upshot is that whatever interface ppp creates when it dials, that's what you
want natd_interface set to.

   natd_flags=redirect_port tcp 192.168.1.1:80 80
   rpc_statd_enable=YES
   tcp_extensions=YES
 
 ## Mail
   sendmail_enable=YES


-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD 5.1 - WinXP Networking Problem UPDATE #2

2004-07-16 Thread Warren Block
On Fri, 16 Jul 2004, freebsder wrote:
Hi Chuck,
This is what I get:
# ipfw -a list
00100 49820 12066079 allow ip from any to any
00100 00 allow tcp from any to any
65535 2   96 deny ip from any to any
The Second and Third lines don't seem right..  What do
I need to do correct the problem here.
First, you need to stop top-posting, which makes it difficult to reply.
If you carefully read Chuck's response to you:
There's likely to be a problem with /etc/rc/firewall,
  
He's trying to tell you that should be /etc/rc.firewall (note the dot).
-Warren Block * Rapid City, South Dakota USA
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD 5.1 - WinXP Networking Problem UPDATE #2

2004-07-16 Thread freebsder
Hi Bill,

The interface creates tun0 when it dials but I tried
both tun0 and ppp0 and neither seemed to do the
trick.

Any other trouble shooting thoughts or ideas?

Nav

new RC.CONF :

## Firewall

[...]
natd_interface=tun0
#natd_interface=ppp0
#natd_interface=vr0
natd_flags=redirect_port tcp 192.168.1.1:80 80
rpc_statd_enable=YES
tcp_extensions=YES

## Mail
sendmail_enable=YES

IFCONFIG :

#ifconfig
ed0:
flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu
1500
inet 192.168.1.1 netmask 0xff00 broadcast
192.168.1.255
inet6 fe80::280:c8ff:fede:c937%ed0 prefixlen
64 scopeid 0x1
ether 00:80:c8:de:c9:37
vr0:
flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu
1500
inet6 fe80::20e:a6ff:fe9c:c81d%vr0 prefixlen
64 scopeid 0x2
inet 192.168.0.1 netmask 0xff00 broadcast
192.168.0.255
ether 00:0e:a6:9c:c8:1d
media: Ethernet 10baseT/UTP
status: active
lp0: flags=8810POINTOPOINT,SIMPLEX,MULTICAST mtu
1500
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu
16384
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
inet 127.0.0.1 netmask 0xff00
tun0: flags=8051UP,POINTOPOINT,RUNNING,MULTICAST mtu
1492
inet 6X.7X.5X.23X -- 6X.23X.25X.12X netmask
0x
Opened by PID 215



ORIGINAL MESSAGE
Subject:
 Re: FreeBSD 5.1 - WinXP Networking Problem UPDATE
#2


freebsder [EMAIL PROTECTED] wrote:
 All my computers can ping each other!  BUT I can
only
 connect to the internet from the FreeBSD server. 
All
 requests made by the WinXP machines go unanswered!! 
 Yet when I ping from them, they can connect to any
 computer on the network BUT CANNOT ping OUTSIDE the
 network nor fetch any information outside this
 network.  
 
 Any ideas why my FreeBSD machine is not routing
these
 requests and putting up a road block?
 
 RC.CONF
 
 font8x14=NO
   font8x16=swiss-8x16
   font8x8=swiss-8x8
   inetd_enable=YES
   linux_enable=YES
   moused_enable=YES
   moused_port=/dev/psm0
   moused_type=auto
   nfs_client_enable=YES
   nfs_server_enable=YES
   rpcbind_enable=YES
   saver=rain
   scrnmap=NO
   usbd_enable=YES
   ifconfig_vr0=DHCP
   ifconfig_ed0=DHCP
 
 ##initialise NIC
   network_interfaces=vr0 ed0 lo0 tun0
   ifconfig tun0
 
   #ifconfig vr0= media 10baseT/UTP up
   #ifconfig_ed0=inet 192.168.0.3  netmask
255.255.0.0
 
   #Changes as suggested:
   ifconfig_ed0=inet 192.168.1.1/24
   ifconfig_vr0=inet 192.168.0.1/24 media
10baseT/UTP
 up
 
   #ifconfig_vr0=inet 192.168.0.1  netmask
255.255.0.0
 
   hostname=my.server.com
 
 ##User ppp configuration
   ppp_enable=YES
   ppp_mode=ddial
   ppp_nat=NO
   ppp_profile=bellnet
   #ppp_user=root
 
 
 ## Firewall
   gateway_enable=YES
   firewall_enable=YES
   firewall_type=OPEN
   #firewall_quiet=NO
   firewall_script=/etc/rc/firewall
   natd_enable=YES
   natd_interface=vr0

I believe you'll want:
natd_interface=ppp0
or is it tun0?  I don't remember (long time since
I've used ppp) but 
the
upshot is that whatever interface ppp creates when it
dials, that's 
what you
want natd_interface set to.

   natd_flags=redirect_port tcp 192.168.1.1:80
80
   rpc_statd_enable=YES
   tcp_extensions=YES
 
 ## Mail
   sendmail_enable=YES



__
Do you Yahoo!?
Vote for the stars of Yahoo!'s next ad campaign!
http://advision.webevents.yahoo.com/yahoo/votelifeengine/

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


Re: FreeBSD 5.1 - WinXP Networking Problem UPDATE #2

2004-07-16 Thread Mark
On Fri, Jul 16, 2004 at 06:37:08PM -0700, freebsder wrote:

Jumping in late, 

natd_enable=YES # forward from inside
natd_interface=tun0  # this being the connection to outside world 
natd_flags=-dynamic # because the ip addy may change


I don't know what your trying to do here??
natd_flags=redirect_port tcp 192.168.1.1:80 80
I would remove this until you get everything else working.

 Hi Bill,
 
 The interface creates tun0 when it dials but I tried
 both tun0 and ppp0 and neither seemed to do the
 trick.
 
 Any other trouble shooting thoughts or ideas?
 
 Nav
 
 new RC.CONF :
 
 ## Firewall
 
   [...]
   natd_interface=tun0
   #natd_interface=ppp0
   #natd_interface=vr0
   natd_flags=redirect_port tcp 192.168.1.1:80 80
   rpc_statd_enable=YES
   tcp_extensions=YES
 
 ## Mail
   sendmail_enable=YES
 
 IFCONFIG :
 
 #ifconfig
 ed0:
 flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu
 1500
 inet 192.168.1.1 netmask 0xff00 broadcast
 192.168.1.255
 inet6 fe80::280:c8ff:fede:c937%ed0 prefixlen
 64 scopeid 0x1
 ether 00:80:c8:de:c9:37
 vr0:
 flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu
 1500
 inet6 fe80::20e:a6ff:fe9c:c81d%vr0 prefixlen
 64 scopeid 0x2
 inet 192.168.0.1 netmask 0xff00 broadcast
 192.168.0.255
 ether 00:0e:a6:9c:c8:1d
 media: Ethernet 10baseT/UTP
 status: active
 lp0: flags=8810POINTOPOINT,SIMPLEX,MULTICAST mtu
 1500
 lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu
 16384
 inet6 ::1 prefixlen 128
 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
 inet 127.0.0.1 netmask 0xff00
 tun0: flags=8051UP,POINTOPOINT,RUNNING,MULTICAST mtu
 1492
 inet 6X.7X.5X.23X -- 6X.23X.25X.12X netmask
 0x
 Opened by PID 215
 
 
 
 ORIGINAL MESSAGE
 Subject:
  Re: FreeBSD 5.1 - WinXP Networking Problem UPDATE
 #2
 
 
 freebsder [EMAIL PROTECTED] wrote:
  All my computers can ping each other!  BUT I can
 only
  connect to the internet from the FreeBSD server. 
 All
  requests made by the WinXP machines go unanswered!! 
  Yet when I ping from them, they can connect to any
  computer on the network BUT CANNOT ping OUTSIDE the
  network nor fetch any information outside this
  network.  
  
  Any ideas why my FreeBSD machine is not routing
 these
  requests and putting up a road block?
  
  RC.CONF
  
  font8x14=NO
font8x16=swiss-8x16
font8x8=swiss-8x8
inetd_enable=YES
linux_enable=YES
moused_enable=YES
moused_port=/dev/psm0
moused_type=auto
nfs_client_enable=YES
nfs_server_enable=YES
rpcbind_enable=YES
saver=rain
scrnmap=NO
usbd_enable=YES
ifconfig_vr0=DHCP
ifconfig_ed0=DHCP
  
  ##initialise NIC
network_interfaces=vr0 ed0 lo0 tun0
ifconfig tun0
  
#ifconfig vr0= media 10baseT/UTP up
#ifconfig_ed0=inet 192.168.0.3  netmask
 255.255.0.0
  
#Changes as suggested:
ifconfig_ed0=inet 192.168.1.1/24
ifconfig_vr0=inet 192.168.0.1/24 media
 10baseT/UTP
  up
  
#ifconfig_vr0=inet 192.168.0.1  netmask
 255.255.0.0
  
hostname=my.server.com
  
  ##User ppp configuration
ppp_enable=YES
ppp_mode=ddial
ppp_nat=NO
ppp_profile=bellnet
#ppp_user=root
  
  
  ## Firewall
gateway_enable=YES
firewall_enable=YES
firewall_type=OPEN
#firewall_quiet=NO
firewall_script=/etc/rc/firewall
natd_enable=YES
natd_interface=vr0
 
 I believe you'll want:
 natd_interface=ppp0
 or is it tun0?  I don't remember (long time since
 I've used ppp) but 
 the
 upshot is that whatever interface ppp creates when it
 dials, that's 
 what you
 want natd_interface set to.
 
natd_flags=redirect_port tcp 192.168.1.1:80
 80
rpc_statd_enable=YES
tcp_extensions=YES
  
  ## Mail
sendmail_enable=YES
 
 
   
 __
 Do you Yahoo!?
 Vote for the stars of Yahoo!'s next ad campaign!
 http://advision.webevents.yahoo.com/yahoo/votelifeengine/
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

-- 
--
**
The information contained in this communication is confidential, private,
proprietary, or otherwise privileged and is intended only for the use of the
addressee.  Unauthorized use, disclosure, distribution or copying is strictly
prohibited and may be unlawful.  If you have received this communication in
error, please notify the sender immediately.
**
==

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org

FreeBSD 5.1 - WinXP Networking Problem UPDATE

2004-07-14 Thread freebsder
Thanks to everyone for their patience and help ... you
know who you are.  

I have gotten rid of the vr0 config line
My RC.CONF file now looks like this:

[...]

##initialise NIC
network_interfaces=vr0 ed0 lo0 tun0
ifconfig tun0
ifconfig vr0= media 10baseT/UTP up
ifconfig_ed0=inet 192.168.0.1  netmask 255.255.0.0
#ifconfig_vr0=inet 192.168.0.1  netmask 255.255.0.0
hostname=thor.nsvm.com

##User ppp configuration
ppp_enable=YES
ppp_mode=ddial
ppp_nat=NO
ppp_profile=bellnet
#ppp_user=root


## Firewall
gateway_enable=YES
firewall_enable=YES
firewall_type=OPEN
#firewall_quiet=NO
firewall_script=/etc/rc/firewall
natd_enable=YES
natd_interface=vr0
natd_flags=redirect_port tcp 192.168.0.3:80 80
rpc_statd_enable=YES
tcp_extensions=YES

## Mail
sendmail_enable=YES



__
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD 5.1 - WinXP Networking Problem UPDATE

2004-07-14 Thread freebsder
Hi Everyone ... thanks for your help thus far.  I've
made some changes below.  [I have Not made all the
changes that you've kindly suggested but enough that I
am able to ping back and forth ...  if I have ignored
your suggestion and you still see a gapping error,
please feel free to reinterate, I won't hold it again
you!]

OK, the changes  ...  
-I got rid of the ifconfig_vr0
-I set ifconfig_ed0 to 192.168.0.1 (where as _vr0 was
initially set as the gateway)
- I tried pinging from Freebsd to 192.168.0.4 the
WinXP #2 machine. and got through!
- I tried pinging from the WindXP #2 to itself at
192.168.0.4 andit got through.  
- I tried pinging from the WindXP #2 to ed0 at
192.168.0.1 andit got through!

BUT I still cannot get the WIN XP webbrowser to read
the internet. 

 What is wrong?

I think that the 
natd_flags=redirect_port tcp 192.168.0.3:80 80
should be:
natd_flags=redirect_port tcp 192.168.0.1:80 80
I will try changing this and see what happends

I have include the revised RC.CONF below:

[...]
font8x14=NO
font8x16=swiss-8x16
font8x8=swiss-8x8
inetd_enable=YES
linux_enable=YES
moused_enable=YES
moused_port=/dev/psm0
moused_type=auto
nfs_client_enable=YES
#nfs_server_enable=YES
rpcbind_enable=YES
saver=rain
scrnmap=NO
usbd_enable=YES
ifconfig_vr0=DHCP
 
##initialise NIC
network_interfaces=vr0 ed0 lo0 tun0
ifconfig tun0
ifconfig vr0= media 10baseT/UTP up
ifconfig_ed0=inet 192.168.0.1  netmask 255.255.0.0
#ifconfig_vr0=inet 192.168.0.1  netmask 255.255.0.0
hostname=myserver

##User ppp configuration
ppp_enable=YES
ppp_mode=ddial
ppp_nat=NO
ppp_profile=bellnet
#ppp_user=root


## Firewall
gateway_enable=YES
firewall_enable=YES
firewall_type=OPEN
#firewall_quiet=NO
firewall_script=/etc/rc/firewall
natd_enable=YES
natd_interface=vr0
natd_flags=redirect_port tcp 192.168.0.3:80 80
rpc_statd_enable=YES
tcp_extensions=YES

## Mail
sendmail_enable=YES


This is what my ifconfig looks like:

ed0:
flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu
1500
inet 192.168.0.1 netmask 0x broadcast
192.168.255.255
inet6 fe80::280:c8ff:fede:c937%ed0 prefixlen
64 scopeid 0x1
ether 00:80:c8:de:c9:37
vr0:
flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu
1500
inet6 fe80::20e:a6ff:fe9c:c81d%vr0 prefixlen
64 scopeid 0x2
inet 0.0.0.0 netmask 0xff00 broadcast
255.255.255.255
ether 00:0e:a6:9c:c8:1d
media: Ethernet autoselect (100baseTX
full-duplex)
status: active
lp0: flags=8810POINTOPOINT,SIMPLEX,MULTICAST mtu
1500
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu
16384
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
inet 127.0.0.1 netmask 0xff00
tun0: flags=8051UP,POINTOPOINT,RUNNING,MULTICAST mtu
1492
inet 6X.9X.11X.3X -- 6X.23X.25X.12X netmask
0x
Opened by PID 222


Also, a small problem ---  I have a webserver running
on the Freebsd box but everytime I reboot, I get a new
IP address(from above:  6X.9X.11X.3X).  The fixed IP
address always seems to be: 6X.23X.25X.12X.  However,
I have my domain name set to redirect towardsthe
dynamic address so everytime I reboot, I have to tell
the DNS server that holds my domain name my new IP
address.  Is there a way to configure it so that I
don't have to continuously change the IP address on
the DNS?

Should I just get rid of the line: 
ifconfig_vr0=DHCP
and set the DNS to 6X.23X.25X.12X?  Would that do the
trick?  Or should I get rid of ifconfig_ed0=DHCP?

Thanks again



MY original Post


I have a Freebsd 5.1 box connected to the internet. 
It works.  But I am now trying to network two other
Win XP machines as per the following network
hierarchy:


Setup

ISP- DSL Modem - FreeBSD box :
1) vr0 192.168.0.1 [Gateway machine address] 
2) ed0 192.168.0.3 [Internal Network address]
connects to:-

4- port HUB -
1)WinXP machine #1 192.168.0.2
2)Freebsd Box 192.168.0.3
3)WinXP machine #2 192.168.0.4


Problem:

I cannot communicate to the Internet from WinXP #2 
(Have not tried to config WinXP #1 yet).


Browser Config

IE Brower Settings for WinXP #2 {ToolsInternet
OptionsConnections)
-I set the browser so that it never dials a connection
because it is suppose to be networked right?
- in the LAN Settings option, I set the Proxyserver
option with the address of the gateway of 192.168.0.1
with Port 80


Dialouge

From Freebsd Machine
# ping 192.168.0.4
PING 192.168.0.4 (192.168.0.4): 56 data bytes
ping: sendto: Host is down
ping: sendto: Host is down

-at one point I was able to ping the freebsd machine
from WinXP #2 but then for some reason, I made a
change and cannot ping anymore...


RC.CONF


My rc.conf file looks like

RE: FreeBSD 5.1 - WinXP Networking Problem UPDATE

2004-07-14 Thread Darren Pilgrim
 From: freebsder [mailto:[EMAIL PROTECTED] 
 
 Hi Everyone ... thanks for your help thus far.  I've
 made some changes below.  [I have Not made all the
 changes that you've kindly suggested but enough that I
 am able to ping back and forth ...  if I have ignored
 your suggestion and you still see a gapping error,
 please feel free to reinterate, I won't hold it again
 you!]
...
 I think that the 
 natd_flags=redirect_port tcp 192.168.0.3:80 80
 should be:
 natd_flags=redirect_port tcp 192.168.0.1:80 80

natd_flags=redirect_port tcp 192.168.1.1:80 80

   ifconfig vr0= media 10baseT/UTP up
   ifconfig_ed0=inet 192.168.0.1  netmask 255.255.0.0

ifconfig_vr0=inet 192.168.0.1/24 media 10baseT/UTP up
ifconfig_ed0=inet 192.168.1.1/24

You will then need to change the IP addresses of the two WinXP machines to
use addresses starting with 192.168.1 (excluding .0, .1 and .255), a netmask
of 255.255.255.0 and a gateway of 192.168.1.1.

Thanks to Matthew Seaman for bringing to my attention that ifconfig now
supports CIDR notation.


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


Re: FreeBSD beside WinXP

2003-11-21 Thread ogautherot

Kent Stewart écrit:

 If you want to pass large files, you need something you can write to
 from FreeBSD. You can read but not write to NTFS. I have a number of
 multi-boot machines and I almost always have that much in one partition
 that is FAT32.

To solve the problem, I loaded WinXP in a FAT32 partition, which I
incidently use as a temporary storage between systems when necessary.
This way, I have only 1 MS partition...
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD beside WinXP

2003-11-21 Thread Kent Stewart
On Friday 21 November 2003 01:30 am, [EMAIL PROTECTED] wrote:
 Kent Stewart écrit:
  If you want to pass large files, you need something you can write to
  from FreeBSD. You can read but not write to NTFS. I have a number of
  multi-boot machines and I almost always have that much in one partition
  that is FAT32.

 To solve the problem, I loaded WinXP in a FAT32 partition, which I
 incidently use as a temporary storage between systems when necessary.
 This way, I have only 1 MS partition...

On a single user system that is probably ok but you don't have the security 
that NTFS has built into it. You make it easier one way and lose protection 
in the other. I don't like the idea of a regular user having administrator 
privlidges. Running as administrator on XP carries the same risk that running 
as root does on Unix.

The NTFS, I think, really supports the long names that are common to the 
registry and FAT32 has to use an alternate way of deal with long names. That 
is why you see the funky names with embedded ~ tildes.

Kent

-- 
Kent Stewart
Richland, WA

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

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


FreeBSD beside WinXP

2003-11-20 Thread chael
Hello,

I read somewhere before that there were partition or boot problems after installing 
5.1 beside winXP. Has anyone been able to do this successfully? Is there something not 
obvious that I need to set/tweak while during sysinstall? This partition has seen 
several versions of Mandrake and Redhat (Fedora is a flap, btw, IMO), and they all do 
it automatically as if assuming that users DO install their OS beside some Windows. 
But I have grown tired of the linux fad/hype and just wanna try my favorite server OS 
on it to see how it does too on the desktop. But at the same time, I need my XP very 
much.

My 40G hardisk is currently partitioned like this..:  512MB Windows swap | 512MB 
Linux/Unix swap | 20G NTFS | 10G FAT32 | Rest = Linux/Unix 

Thanks in advance =)

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


Re: FreeBSD beside WinXP

2003-11-20 Thread Jud
On Thu, 20 Nov 2003 14:59:29 +0800, [EMAIL PROTECTED] wrote:

Hello,

I read somewhere before that there were partition or boot problems after  
installing 5.1 beside winXP. Has anyone been able to do this  
successfully? Is there something not obvious that I need to set/tweak  
while during sysinstall? This partition has seen several versions of  
Mandrake and Redhat (Fedora is a flap, btw, IMO), and they all do it  
automatically as if assuming that users DO install their OS beside some  
Windows. But I have grown tired of the linux fad/hype and just wanna try  
my favorite server OS on it to see how it does too on the desktop. But  
at the same time, I need my XP very much.

My 40G hardisk is currently partitioned like this..:  512MB Windows swap  
| 512MB Linux/Unix swap | 20G NTFS | 10G FAT32 | Rest = Linux/Unix

Thanks in advance =)

chael
Everything should work just fine.  Read the FAQ at the FreeBSD web site re  
dual booting with Win as well as extensive prior discussions in this list  
with detailed advice.  (You can search for the latter at URL:  
http://freebsd.rambler.ru/.)

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


Re: FreeBSD beside WinXP

2003-11-20 Thread ogautherot

As far as I am concerned, I tend to have 1 partition for the system and a
separate one for user data - this way, you don't wipe everything out if
your system crashes. This saved my life a couple of times.

What do you need the 10GB FAT32 partition for? (I suspect the same purpose
but with respect to Windows...?!?)

Jud écrit:

 On Thu, 20 Nov 2003 14:59:29 +0800, [EMAIL PROTECTED] wrote:
 
  Hello,
 
  I read somewhere before that there were partition or boot problems after  
  installing 5.1 beside winXP. Has anyone been able to do this  
  successfully? Is there something not obvious that I need to set/tweak  
  while during sysinstall? This partition has seen several versions of  
  Mandrake and Redhat (Fedora is a flap, btw, IMO), and they all do it  
  automatically as if assuming that users DO install their OS beside some  
  Windows. But I have grown tired of the linux fad/hype and just wanna try  
  my favorite server OS on it to see how it does too on the desktop. But  
  at the same time, I need my XP very much.
 
  My 40G hardisk is currently partitioned like this..:  512MB Windows swap  
  | 512MB Linux/Unix swap | 20G NTFS | 10G FAT32 | Rest = Linux/Unix
 
  Thanks in advance =)
 
  chael
 
 Everything should work just fine.  Read the FAQ at the FreeBSD web site re  
 dual booting with Win as well as extensive prior discussions in this list  
 with detailed advice.  (You can search for the latter at URL:  
 http://freebsd.rambler.ru/.)
 
 Jud
 ___
 [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: FreeBSD beside WinXP

2003-11-20 Thread Kent Stewart
On Thursday 20 November 2003 05:14 am, [EMAIL PROTECTED] wrote:
 As far as I am concerned, I tend to have 1 partition for the system and a
 separate one for user data - this way, you don't wipe everything out if
 your system crashes. This saved my life a couple of times.

 What do you need the 10GB FAT32 partition for? (I suspect the same purpose
 but with respect to Windows...?!?)

If you want to pass large files, you need something you can write to from 
FreeBSD. You can read but not write to NTFS. I have a number of mutli-boot 
machines and I almost always have that much in one partition that is FAT32.

FWIW, all of my multi-boot XP/FreeBSD have the main FreeBSD slice on the 
primary master. You can add /boot/boot0 to your c-drive and boot.ini and 5.x 
or 4.x boots like a charm using ntldr. My c-drive only contains data and does 
not contain an OS.

Kent


 Jud écrit:
  On Thu, 20 Nov 2003 14:59:29 +0800, [EMAIL PROTECTED] wrote:
   Hello,
  
   I read somewhere before that there were partition or boot problems
   after installing 5.1 beside winXP. Has anyone been able to do this
   successfully? Is there something not obvious that I need to set/tweak
   while during sysinstall? This partition has seen several versions of
   Mandrake and Redhat (Fedora is a flap, btw, IMO), and they all do it
   automatically as if assuming that users DO install their OS beside some
   Windows. But I have grown tired of the linux fad/hype and just wanna
   try my favorite server OS on it to see how it does too on the desktop.
   But at the same time, I need my XP very much.
  
   My 40G hardisk is currently partitioned like this..:  512MB Windows
   swap
  
   | 512MB Linux/Unix swap | 20G NTFS | 10G FAT32 | Rest = Linux/Unix
  
   Thanks in advance =)
  
   chael
 
  Everything should work just fine.  Read the FAQ at the FreeBSD web site
  re dual booting with Win as well as extensive prior discussions in this
  list with detailed advice.  (You can search for the latter at URL:
  http://freebsd.rambler.ru/.)
 
  Jud
  ___
  [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]

-- 
Kent Stewart
Richland, WA

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

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


Re: FreeBSD beside WinXP

2003-11-20 Thread Jesse Guardiani
[EMAIL PROTECTED] wrote:

 Hello,
 
 I read somewhere before that there were partition or boot problems after
 installing 5.1 beside winXP. Has anyone been able to do this successfully?
 Is there something not obvious that I need to set/tweak while during
 sysinstall? This partition has seen several versions of Mandrake and
 Redhat (Fedora is a flap, btw, IMO), and they all do it automatically as
 if assuming that users DO install their OS beside some Windows. But I have
 grown tired of the linux fad/hype and just wanna try my favorite server OS
 on it to see how it does too on the desktop. But at the same time, I need
 my XP very much.

I run WinXP Pro on a 10G partition next to my 38G FreeBSD Partition on my
laptop. I use the Windows XP boot loader. Works very very well. Just say
no to lilo. :)

Email me off list if you're interested in running the same configuration
and have any questions. I'd consider myself nearly an expert on this by now,
having survived both FreeBSD and Debian Linux on my 32Gb partition. FreeBSD
is by far the easiest to deal with because it uses a multi-stage boot loader
by default (i.e. NOT lilo).

-- 
Jesse Guardiani, Systems Administrator
WingNET Internet Services,
P.O. Box 2605 // Cleveland, TN 37320-2605
423-559-LINK (v)  423-559-5145 (f)
http://www.wingnet.net


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


Re: FreeBSD beside WinXP

2003-11-20 Thread chael
Thanks for all the replies. And yes, that's what my FAT32 is for... sort of
a mediator for the different OSes which also contains important files but no
directories for working applications.

Ok, let me get this in short. You basically recommend me to follow this
http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#NT-BOOTLOADER ?

If I want to copy that /boot/boot1 from my FreeBSD partion to my drive C:\,
how can I get to my FreeBSD partition, in the first place, if I won't be
able to boot from it after installation? (because I assume the above steps
would require you not to touch your MBR while installing FreeBSD). Can I
create a boot disk to boot that FreeBSD?

Thanks.



On Thursday 20 November 2003 05:14 am, [EMAIL PROTECTED] wrote:
 As far as I am concerned, I tend to have 1 partition for the system and a
 separate one for user data - this way, you don't wipe everything out if
 your system crashes. This saved my life a couple of times.

 What do you need the 10GB FAT32 partition for? (I suspect the same
purpose
 but with respect to Windows...?!?)

If you want to pass large files, you need something you can write to from
FreeBSD. You can read but not write to NTFS. I have a number of mutli-boot
machines and I almost always have that much in one partition that is FAT32.

FWIW, all of my multi-boot XP/FreeBSD have the main FreeBSD slice on the
primary master. You can add /boot/boot0 to your c-drive and boot.ini and
5.x
or 4.x boots like a charm using ntldr. My c-drive only contains data and
does
not contain an OS.

Kent


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


Re: FreeBSD beside WinXP

2003-11-20 Thread Kent Stewart
On Thursday 20 November 2003 04:49 pm, [EMAIL PROTECTED] wrote:
 Thanks for all the replies. And yes, that's what my FAT32 is for... sort of
 a mediator for the different OSes which also contains important files but
 no directories for working applications.

 Ok, let me get this in short. You basically recommend me to follow this
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#NT-BOOTLOAD
ER ?

The boot.ini on that page is a copy of most of my boot.ini's. A number of us 
were trying various solutions and one of the docs-commiters distilled the 
essentials from everyone's comments into that page. I like using ntldr 
because I can set the boot to FreeBSD, tell XP to restart and go grab 
something to drink. When I come back, FreeBSD will be running.


 If I want to copy that /boot/boot1 from my FreeBSD partion to my drive C:\,
 how can I get to my FreeBSD partition, in the first place, if I won't be
 able to boot from it after installation? (because I assume the above steps
 would require you not to touch your MBR while installing FreeBSD). Can I
 create a boot disk to boot that FreeBSD?

You don't touch the mbr but FreeBSD will set its partition as the active one. 
When you want to run XP, you just have to set it back to your c-drive as the 
active one. You can mount your 10GB partition and copy /boot/boot1 on to it 
or mount the cd on XP and copy it there before you start. If you have a 
bootsec.bsd in your boot.ini, FreeBSD will just automagically run when you 
choose it.

Kent


 Thanks.

 On Thursday 20 November 2003 05:14 am, [EMAIL PROTECTED] wrote:
  As far as I am concerned, I tend to have 1 partition for the system and
  a separate one for user data - this way, you don't wipe everything out
  if your system crashes. This saved my life a couple of times.
 
  What do you need the 10GB FAT32 partition for? (I suspect the same

 purpose

  but with respect to Windows...?!?)
 
 If you want to pass large files, you need something you can write to from
 FreeBSD. You can read but not write to NTFS. I have a number of mutli-boot
 machines and I almost always have that much in one partition that is
  FAT32.
 
 FWIW, all of my multi-boot XP/FreeBSD have the main FreeBSD slice on the
 primary master. You can add /boot/boot0 to your c-drive and boot.ini and

 5.x

 or 4.x boots like a charm using ntldr. My c-drive only contains data and

 does

 not contain an OS.
 
 Kent

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

-- 
Kent Stewart
Richland, WA

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

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


Re: FreeBSD beside WinXP

2003-11-20 Thread Jud
On Fri, 21 Nov 2003 08:49:49 +0800, [EMAIL PROTECTED] wrote:

Thanks for all the replies. And yes, that's what my FAT32 is for... sort  
of
a mediator for the different OSes which also contains important files  
but no
directories for working applications.

Ok, let me get this in short. You basically recommend me to follow this
http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#NT-BOOTLOADER  
?
Or look at GAG (free graphical bootloader, automagic), Grub (in ports,  
very configurable, requires reading the documentation closely but will  
teach you a lot about bootloaders), use FreeBSD's own bootloader (not  
fancy, but it works), or one of the other solutions mentioned in the  
extensive mailing list discussions I mentioned you might want to  
search/read.  :)

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


FreeBSD or WinXP????

2003-09-17 Thread Denis
Hi All!!!

  How do you think what more comfortable and better WinXP or FreeBSD for
  writting web-scripts???
  Do you use KDE or GNOME or others?
  In GNOME i have very fast keyboard. I put (for example) key 'A' and
  in 1 secong i get:
  
  Very fast it's cool! But KDE can't to do it. In KDE I have very slow
  keyboard... it's very bad:((( How I can to do more keyboard-speed???
  I'd like use KDE!

-- 
Best regards, Denis
[EMAIL PROTECTED]

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


Re: FreeBSD or WinXP????

2003-09-17 Thread Lucas Holt
Define what you mean by web scripts...

If you are referring to a scripting language.. including php, perl, 
python, or even ASP/VBScript then either platform would work (although 
you couldn't test ASP in freebsd natively)

If you mean compiled stuff like java, you are also ok.  Now platform 
specific stuff might not be so friendly.. like say a C cgi, .NET code, 
etc.  Matching the type of server its going to run on would be good 
here.  (or close)  Technically though you could write the source on any 
platform and upload it.

On Wednesday, September 17, 2003, at 10:35  AM, Denis wrote:

Hi All!!!

  How do you think what more comfortable and better WinXP or FreeBSD 
for
  writting web-scripts???
  Do you use KDE or GNOME or others?
  In GNOME i have very fast keyboard. I put (for example) key 'A' and
  in 1 secong i get:
  
  Very fast it's cool! But KDE can't to do it. In KDE I have very slow
  keyboard... it's very bad:((( How I can to do more keyboard-speed???
  I'd like use KDE!

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


Lucas Holt
[EMAIL PROTECTED]

FoolishGames.com  (Jewel Fan Site)
JustJournal.com (Free blogging)
Only two things are infinite, the universe and human stupidity, and 
I'm not sure about the former.
- Albert Einstein (1879-1955)

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


Re: FreeBSD or WinXP????

2003-09-17 Thread Mike Maltese
   In GNOME i have very fast keyboard. I put (for example) key 'A' and
   in 1 secong i get:
   
   Very fast it's cool! But KDE can't to do it. In KDE I have very slow
   keyboard... it's very bad:((( How I can to do more keyboard-speed???
   I'd like use KDE!

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


Re: FreeBSD or WinXP????

2003-09-17 Thread Luke Kearney
I suggest you stick to WinXP for your script writing and
(Bdefinately use Server 2003 for your hosting.
(B
(B- Original Message -
(BFrom: "Denis" [EMAIL PROTECTED]
(BTo: [EMAIL PROTECTED]
(BSent: Wednesday, September 17, 2003 11:35 PM
(BSubject: FreeBSD or WinXP
(B
(B
(B Hi All!!!
(B
(B   How do you think what more comfortable and better WinXP
(Bor FreeBSD for
(B   writting web-scripts???
(B   Do you use KDE or GNOME or others?
(B   In GNOME i have very fast keyboard. I put (for example)
(Bkey 'A' and
(B   in 1 secong i get:
(B   
(B   Very fast it's cool! But KDE can't to do it. In KDE I
(Bhave very slow
(B   keyboard... it's very bad:((( How I can to do more
(Bkeyboard-speed???
(B   I'd like use KDE!
(B
(B --
(B Best regards, Denis
(B [EMAIL PROTECTED]
(B
(B ___
(B [EMAIL PROTECTED] mailing list
(B
(Bhttp://lists.freebsd.org/mailman/listinfo/freebsd-questions
(B To unsubscribe, send any mail to
(B"[EMAIL PROTECTED]"
(B
(B
(B
(B___
(B[EMAIL PROTECTED] mailing list
(Bhttp://lists.freebsd.org/mailman/listinfo/freebsd-questions
(BTo unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: FreeBSD or WinXP????

2003-09-17 Thread Tadimeti Keshav
You are probably refering to keyboard refresh rate. It
is a setting. In KDE I think it is in COntrol Centre.
Check the keyboard tab.


Do you use KDE or GNOME or others?
In GNOME i have very fast keyboard. I put (for
 example)
 key 'A' and
in 1 secong i get:

Very fast it's cool! But KDE can't to do it. In
 KDE I
 have very slow
keyboard... it's very bad:((( How I can to do
 more
 keyboard-speed???
I'd like use KDE!



Want to chat instantly with your online friends?  Get the FREE Yahoo!
Messenger http://mail.messenger.yahoo.co.uk
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


I can't see hard disk with FreeBSD under WinXP....

2003-09-15 Thread Denis
Hi All!!!

  I can't see hard disk with FreeBSD under WinXP

-- 
Best regards, Denis
[EMAIL PROTECTED]

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


Re: I can't see hard disk with FreeBSD under WinXP....

2003-09-15 Thread Lowell Gilbert
Denis [EMAIL PROTECTED] writes:

   I can't see hard disk with FreeBSD under WinXP

WindowsXP cannot read FreeBSD's filesystems.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD 4.7 + WinXP + GRUB problem

2002-12-16 Thread Aron Silverton
I attempted to set up a notebook with a single drive to dual-boot and 
now I am having a problem booting into XP.  Here's the story:

I split a notebook's hard drive in half (10GB each half) and installed 
XP (NTFS) on the first parition.  I installed FreeBSD 4.7-Release on the 
second half.  I was originally unable to boot FreeBSD, but this was 
because I did not select a boot manager during the install phase.  I 
went back into /stand/sysintall and installed the FreeBSD boot loader. 
Upon a reboot, I was presented with the

F1 ??
F2 FreeBSD

menu and was able to boot either OS without any problems.  Yeah.  I 
thought that it would be fun to try GRUB, so I did the following:

1.  Built the GRUB port
2.  Made the directory /boot/grub and moved the stage1, stage2, and 
*stage1_5 files there from /usr/local/share/grub/i386-freebsd
3.  I created a menu.lst file under /boot/grub with the following in it:
(only relevant sections shown)

title FreeBSD
	root (hd0,1,a)
	kernel /boot/loader
title WinXP
	root (hd0,0)
	makeactive
	chainloader +1

4.  I created a GRUB boot floppy per the instructions in the manual, 
rebooted, and performed the following steps:

grub find /boot/grub/stage1
 (hd0,1,a)
grub root (hd0,1,a)
 Filesystem type is ffs, partition type 0xa5
grub setup (hd0,0)
 Checking if /boot/grub/stage1 exists... yes
 Checking if /boot/grub/stage2 exists... yes
 Checking if /boot/grub/ffs_stage1_5 exists... yes
 Running embed /boot/grub/ffs_stage1_5 (hd0,0)... failed (this is not 
fatal)
 Running embed /boot/grub/ffs_stage1_5 (hd0,1,a)... failed (this is 
not fatal)
 Running install /boot/grub/stage1 (hd0,0) /boot/grub/stage2 p 
/boot/grub/menu.lst ... Succeeded
 Done.
grub reboot

I wasn't sure what to think of the warnings, so I proceeded.  After the 
reboot, I got the same F1, F2 menu that I started with.

5.  I used my XP CD to repair the MBR thinking that it was the problem. 
 I ran fixmbr and rebooted.

Upon the reboot, I got the GRUB menu.  Selecting the FreeBSD option 
worked fine, but selecting WinXP returned me to the menu.  I was able to 
see a very quick error message saying, Filesystem type unknown, 
partition type 0x7 before the menu was redrawn.

6.  I rebooted using the GRUB boot floppy, and repeated step 4.  This 
time, I substituted setup(hd0) for (hd0,0).  Does that make a difference?

I got the same behavior as before - FreeBSD boots, XP does not.  I tried 
writing a new MBR once again, issuing commands from the GRUB prompt, 
changing root to rootnoverify in the WinXP commands.  No good.

Any suggestions as to where I went wrong and how I can get my WinXP 
install back or is it too late for me?  If it is too late, should I be 
able to reinstall XP on the first partition and maintain my FreeBSD 
install on the second?

Thanks,

Aron


--
Aron J. Silverton
Senior Staff Research Engineer
Motorola Laboratories, Networks and Infrastructure Research
Motorola, Inc.


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


Re: FreeBSD 4.7 + WinXP + GRUB problem

2002-12-16 Thread Scott Robbins
On Tue, Dec 17, 2002 at 12:35:53AM -0600, Aron Silverton wrote:
 
 title FreeBSD
   root (hd0,1,a)
   kernel /boot/loader
 title WinXP
   root (hd0,0)


Change that to rootnoverify and see if it helps


 
 6.  I rebooted using the GRUB boot floppy, and repeated step 4.  This 
 time, I substituted setup(hd0) for (hd0,0).  Does that make a difference?

hd0 is usually what is used.
 
 
 Any suggestions as to where I went wrong and how I can get my WinXP 
 install back or is it too late for me?  If it is too late, should I be 
 able to reinstall XP on the first partition and maintain my FreeBSD 
 install on the second?

Shouldn't be too late.

I have a page on Grub that might or might not be of use, as it's dated,
at

http://home.nyc.rr.com/computertaijutsu/grub.html

HTH

-- 

Scott Robbins

PGP keyID EB3467D6
( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 D575 EB34 67D6 )
gpg --keyserver pgp.mit.edu --recv-keys EB3467D6

(In response to being asked to fight a troll) 
Spike: I would, but I'm paralyzed with not caring very much. 




msg12331/pgp0.pgp
Description: PGP signature


IPsec VPN between FreeBSD and WinXP

2002-12-03 Thread RJ45

Hello.
I could set up succesfully a IPSec transport mode VPN between WinXP and
FreeBSD 4.7
The problem is that it works only if I Start the first connection from
WinXP to FreeBSD box, and the vice versa does not work.
If The very first IPSec connection starts from FreeBSD I have this kind of
errors:
Dec  3 12:32:41 hal9000 /kernel: IPv4 ESP input: no key association found
for spi 69118078

Instead once I ping from WinXP then I Can also ping from FreeBSD to WinXP
succesfully.
It looks like IPsec transport cannot be initialized if FreeBSD starts a
connection with its peer IPsec WinXP host.
any hints about this??
I used this document as reference for setting up IPsec VPN: 
http://www.wiretapped.net/~fyre/ipsec/

thanks

Rick



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



Re: IPsec VPN between FreeBSD and WinXP

2002-12-03 Thread Kevin Stevens

On Tuesday, Dec 3, 2002, at 03:31 US/Pacific, RJ45 wrote:

I could set up succesfully a IPSec transport mode VPN between WinXP and
FreeBSD 4.7
The problem is that it works only if I Start the first connection from
WinXP to FreeBSD box, and the vice versa does not work.
If The very first IPSec connection starts from FreeBSD I have this 
kind of
errors:
Dec  3 12:32:41 hal9000 /kernel: IPv4 ESP input: no key association 
found
for spi 69118078

Instead once I ping from WinXP then I Can also ping from FreeBSD to 
WinXP
succesfully.

Me too.  I don't remember the details since I tried this a couple of 
months ago, but I had the same issue.

KeS

(cripes, what a useless post this is!)


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