Re: dialup questions again

From: Tony Frank (tfrank_at_optushome.com.au)
Date: 02/25/04

  • Next message: Kiyawat Dharmesh: "decrypt a file in unix"
    Date: Wed, 25 Feb 2004 23:16:20 +1100
    To: Roberto Pereyra <rjpereyra@gualeguaychu.gov.ar>
    
    

    On Mon, Feb 23, 2004 at 09:31:08AM -0300, Roberto Pereyra wrote:
    > Hi
    >
    > I want to setup a dialup freebsd 5.2 server.
    >
    > My setup is:
    >
    > ---INTERNET---------| GATEWAY |-------------|DIALUP SERVER| -----|----192.160.0.171
    > 192.169.0.1 192.168.0.170 |----192.168.0.172
    > |----192.168.0.173
    > 8 lines
    > My ppp.conf is:
    >
    > default:
    > pap:
    > set debug phase lcp chat
    > set timeout 0 set debug phase lcp chat
    > enable pap
    > set ifaddr 192.168.0.1 192.168.0.171-192.168.0.178 255.255.255.0
    > enable proxy
    > accept dns
    > set dns 192.168.0.1
    > load server
    > set radius /etc/radius.conf
    >
    > I have enable the eight lines in my /etc/ttys
    >
    > ttyd0 "/usr/local/sbin/mgetty -s 115200" dialup on secure
    > ttyd1 "/usr/local/sbin/mgetty -s 115200" dialup on secure
    > ......

    My setup for /etc/ttys is:

    # Serial terminals
    # The 'dialup' keyword identifies dialin lines to login, fingerd etc.
    # Mgetty lines - replace dialup getty
    cuaa0 "/usr/local/sbin/mgetty" unknown on insecure
    cuaa1 "/usr/local/sbin/mgetty" unknown on insecure
    ttyd0 "/usr/libexec/getty std.115200" dialup off
    ttyd1 "/usr/libexec/getty std.115200" dialup off
    ttyd2 "/usr/libexec/getty std.115200" dialup off
    ttyd3 "/usr/libexec/getty std.115200" dialup off

    Note that the mgetty is using cuaa0/cuaa1 instead of ttyd0/ttyd1.
    I'm not sure if this made a different for me, but this is how
    mgetty installed by default.
    In my case I set the speed in the mgetty configuration file.

    > Some questions:
    >
    > I must enable
    >
    > pseudo-device tun 1
    >
    > 1 must be 8 or this setup is automatic for freebsd 5.2 ?

    The number is automatic, just "pseudo-device tun" should be sufficient.

    > Is my ppp.conf rigth ?

    It looks fine.
    Does it work for you?

    > Is the "set ifaddr ...." line rigth ?

    Does it work when you test it?

    > I have in both sides USR 56K and not have more than 32k with analog lines. How can I have more speed ?

    You may be able to get up to 33600 both ways with analog lines but no more.
    For 56k operation one end must be digital. In that case downstream is 56k and upstream is 33600 (max)

    Regards,

    Tony
    _______________________________________________
    freebsd-isp@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-isp
    To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org"


  • Next message: Kiyawat Dharmesh: "decrypt a file in unix"

    Relevant Pages

    • Re: External modem
      ... Here are the steps I take to setup a dialup connection. ... The link is directed towards microsoft users, but he mtu faxs ...
      (Debian-User)
    • Running PPP via crontab
      ... I have setup a FreeBSD box which a friend of mine will run as a mail ... using dialup to his ISP. ... I don't have much problem configuring what he will run on this box, ... I would like to make a crontab entry that will run ppp after every one ...
      (freebsd-questions)
    • >>Setup my LAN and get the Internet<<??
      ... I have dialup right now with only my XP Pro connecting ... along with the XP that makes up a LAN that I have setup ... my PCs setup to the web via the portal, ...
      (microsoft.public.windowsxp.network_web)
    • >>How do I setup Internal/External Connection<<
      ... I have dialup right now with only my XP Pro connecting ... along with the XP that makes up a LAN that I have setup ... my PCs setup to the web via the portal, ...
      (microsoft.public.win2000.networking)
    • Re: Firewall
      ... > The personal firewall will block everything except what is started ... > I have mine setup stealth, but there is alot you are telling us. ... > What do you have setup, just a desktop with dialup? ... > Do you have a network card with a local lan? ...
      (alt.os.linux.suse)