mpd as a dial-up server

2005-04-05 Thread Jay Hall
I am in the process of adding dial-up capabilities to the FreeBSD 
servers I maintain so in the event of a problem, if the server starts, I 
can at least dial in and see what is wrong and hopefully correct the 
problem.

I already have mpd in place for the VPN connections.  Is it possible to 
use mpd with cu or tip as a dial-in solution?

At this point in time, I have been able to connect to the FreeBSD 
server, but only see garbage on the screen.  My guess is that I have 
conflicting modem settings on each end, but I wanted to make sure what I 
was doing would work before continuing.

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


FreeBSD Dial up server

2004-04-15 Thread Drew Robertson
Hi all,

I've been trying to set up an ISP like setup for a home lan.  ie. have dial 
in client use cable modem to access the internet and other lan clients.

I'm using freebsd 4.8 and have just changed from ipfw/natd to ipf/ipnat.

I have the issue where clients dial in, authenticate, logon but can't access 
anything on the server or lan.

I've gone right back to basics and added the sample server section from the 
ppp.conf.sample.

server:
enable chap chap80 chap81 pap passwdauth
enable proxy
set ifaddr 10.0.0.1 10.0.0.100-10.0.0.199
accept dns
In ipnat.rules there is a map command used to map all the packets going out 
on the tun0 interface, but it's use looks to be for dial out isp connection.

With packets coming in from a dial in client should i map packets back in 
instead, or both ways??

i have the ipnat.rules file as follows

map tl0 192.168.1.0/24 -> 0/32
map tun0 192.168.1.0/24 -> 0/32
map tun0 0/32 <- 0/32
If so, will the last command allow packets being passed from the tun0 
interface coming into the server to just pass through with it's assigned ip 
address from ppp.conf?

I have included all the options in rc.conf from the handbook and it looks to 
be ok.

gateway_enable="YES"
hostname="SOMECOMPUTER.SOMEWHERE.COM"
ifconfig_sis0="inet 192.168.1.1  netmask 255.255.255.0"
ifconfig_tl0="DHCP"
ifconfig_tun0=
#defaultrouter="192.168.1.1"
router_enable="NO"
mrouted_enable="NO"
#arpproxy_all="YES"
local_startup="/usr/local/etc/rc.d /etc"
inetd_enable="YES"
kern_securelevel_enable="NO"
linux_enable="YES"
lpd_enable="YES"
moused_enable="YES"
moused_port="/dev/psm0"
moused_type="auto"
nfs_reserved_port_only="YES"
usbd_enable="YES"
ipfilter_enable="YES"
ipmon_enable="YES"
ipmon_flags="-Dsvn"
ipnat_enable="YES"
ipfilter_rules="/etc/ipf.rules"
ipnat_rules="/etc/ipnat.rules"
nfs_server_enable="YES"
portmap_enable="YES"
nfs_client_enable="YES"
Thanks for the help.

_
Get Extra Storage in 10MB, 25MB, 50MB and 100MB options now! Go to  
http://join.msn.com/?pgmarket=en-au&page=hotmail/es2

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


Re: FreeBSD as dial up server...

2003-12-20 Thread Harald Schmalzbauer
On Sunday 21 December 2003 03:52, Drew Robertson wrote:
> Thanks for your help.
>
> Would you happen to know if setting up the FreeBSD box as a DNS server
> would allow network browsing over the PPP link???

No. DNS doesn't help in this situation. But anyhow, DNS is reqired for Samba 
to act as WINS server which could help. Can't remember exactly if wins itself 
was enough to enable dial-up browsing.
I did the broadcast bimap with ipf (Darren Reeds IPFilter) (like "bimap tun0 
192.168.1.255/32 -> 192.168.0.255/32" for ipnat.conf)

-Harry

>
> I have no idea how to bimap a broadcast address along subnets!!!  But that
> is something I'm gonna have to learn!  I only have one subnet, so I'm not
> sure that'll work in this case.
>
> Thanks again.
>
>
> From: Harald Schmalzbauer <[EMAIL PROTECTED]>
>
> >To: "Drew Robertson"
> ><[EMAIL PROTECTED]>,[EMAIL PROTECTED]
> >Subject: Re: FreeBSD as dial up server...
> >Date: Sat, 20 Dec 2003 12:46:29 +0100
> >
> >On Saturday 20 December 2003 02:57, Drew Robertson wrote:
> > > Hi,
> > >
> > > I'm working at getting my FreeBSd 4.8 system to act as a dial up RAS
> > > server...
> > >
> > > At the moment, I have almost everything working... yay!
> > >
> > > My question to anyone that knows... my FreeBSD system is running SAMBA
> >
> >and
> >
> > > is part of a workgroup in my home...
> > >
> > > Is it possible from a dial up client to view the Network using network
> > > neighbourhood??  I read somewhere that as the PPP server is a router,
> > > network browsing will not work... is this true?
> >
> >That is true. You'd need at least one server at each subnet.
> >But once I did a ugly hack to make it working: I bimapped broadcast
> >addresses
> >along the subnets. As far as I can remember this worked, but it was just
> >for
> >fun, I never used it. Also prividing a WINS at SAMBA and using that on the
> >ppp link was usefull but that was long ago (WinNT WinCE and Samba 1)
> >
> >-Harry
> >
> > > Thanks.
> > >
> > > _
> > > ninemsn Premium transforms your e-mail with colours, photos and
> > > animated text. Click here  http://ninemsn.com.au/premium/landing.asp
> > >
> > > ___
> > > [EMAIL PROTECTED] mailing list
> > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > > To unsubscribe, send any mail to
> > > "[EMAIL PROTECTED]"
> >
> ><< attach3 >>
>
> _
> Get less junk mail with ninemsn Premium. Click here
> http://ninemsn.com.au/premium/landing.asp


pgp0.pgp
Description: signature


Re: FreeBSD as dial up server...

2003-12-20 Thread Drew Robertson
Thanks for your help.

Would you happen to know if setting up the FreeBSD box as a DNS server would 
allow network browsing over the PPP link???

I have no idea how to bimap a broadcast address along subnets!!!  But that 
is something I'm gonna have to learn!  I only have one subnet, so I'm not 
sure that'll work in this case.

Thanks again.


From: Harald Schmalzbauer <[EMAIL PROTECTED]>
To: "Drew Robertson" 
<[EMAIL PROTECTED]>,[EMAIL PROTECTED]
Subject: Re: FreeBSD as dial up server...
Date: Sat, 20 Dec 2003 12:46:29 +0100

On Saturday 20 December 2003 02:57, Drew Robertson wrote:
> Hi,
>
> I'm working at getting my FreeBSd 4.8 system to act as a dial up RAS
> server...
>
> At the moment, I have almost everything working... yay!
>
> My question to anyone that knows... my FreeBSD system is running SAMBA 
and
> is part of a workgroup in my home...
>
> Is it possible from a dial up client to view the Network using network
> neighbourhood??  I read somewhere that as the PPP server is a router,
> network browsing will not work... is this true?

That is true. You'd need at least one server at each subnet.
But once I did a ugly hack to make it working: I bimapped broadcast 
addresses
along the subnets. As far as I can remember this worked, but it was just 
for
fun, I never used it. Also prividing a WINS at SAMBA and using that on the
ppp link was usefull but that was long ago (WinNT WinCE and Samba 1)

-Harry

>
> Thanks.
>
> _
> ninemsn Premium transforms your e-mail with colours, photos and animated
> text. Click here  http://ninemsn.com.au/premium/landing.asp
>
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
<< attach3 >>
_
Get less junk mail with ninemsn Premium. Click here  
http://ninemsn.com.au/premium/landing.asp

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


Re: FreeBSD as dial up server...

2003-12-20 Thread Harald Schmalzbauer
On Saturday 20 December 2003 02:57, Drew Robertson wrote:
> Hi,
>
> I'm working at getting my FreeBSd 4.8 system to act as a dial up RAS
> server...
>
> At the moment, I have almost everything working... yay!
>
> My question to anyone that knows... my FreeBSD system is running SAMBA and
> is part of a workgroup in my home...
>
> Is it possible from a dial up client to view the Network using network
> neighbourhood??  I read somewhere that as the PPP server is a router,
> network browsing will not work... is this true?

That is true. You'd need at least one server at each subnet.
But once I did a ugly hack to make it working: I bimapped broadcast addresses 
along the subnets. As far as I can remember this worked, but it was just for 
fun, I never used it. Also prividing a WINS at SAMBA and using that on the 
ppp link was usefull but that was long ago (WinNT WinCE and Samba 1)

-Harry

>
> Thanks.
>
> _
> ninemsn Premium transforms your e-mail with colours, photos and animated
> text. Click here  http://ninemsn.com.au/premium/landing.asp
>
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"


pgp0.pgp
Description: signature


FreeBSD as dial up server...

2003-12-19 Thread Drew Robertson
Hi,

I'm working at getting my FreeBSd 4.8 system to act as a dial up RAS 
server...

At the moment, I have almost everything working... yay!

My question to anyone that knows... my FreeBSD system is running SAMBA and 
is part of a workgroup in my home...

Is it possible from a dial up client to view the Network using network 
neighbourhood??  I read somewhere that as the PPP server is a router, 
network browsing will not work... is this true?

Thanks.

_
ninemsn Premium transforms your e-mail with colours, photos and animated 
text. Click here  http://ninemsn.com.au/premium/landing.asp

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


RE: dial up server

2003-07-24 Thread fbsd_user
Your question is very vague. The solution for one or two FBSD dial
in connections is way different from dial in connections for greater
than 20+ concurrent connections like an ISP. Just what are you
trying to do. You need to give more details describing your
intentions.  Yes FBSD can provide dial up server, dhcp, and
authentication.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of adrian kok
Sent: Thursday, July 24, 2003 10:53 AM
To: [EMAIL PROTECTED]
Subject: dial up server

Hi all

I want to provide dialup service for internet?

Can freebsd provide dial up server, dhcp and
authenication function?

How can I configure and where can I get documentation

Thank you


___
Do You Yahoo!?
Get your free @yahoo.com.hk address at
http://mail.english.yahoo.com.hk
___
[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: dial up server

2003-07-24 Thread Dirk-Willem van Gulik


On Thu, 24 Jul 2003, adrian kok wrote:

> I want to provide dialup service for internet?
>
> Can freebsd provide dial up server, dhcp and
> authenication function?
>
> How can I configure and where can I get documentation

You want to look at the handbook - section 'Dial Up' which is on your
machine in /usr/share or at

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

Dw.

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


dial up server

2003-07-24 Thread adrian kok
Hi all

I want to provide dialup service for internet?

Can freebsd provide dial up server, dhcp and
authenication function?

How can I configure and where can I get documentation 

Thank you

___
Do You Yahoo!?
Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"