Re: PPTP VPN

2011-08-19 Thread Pierre Abbat
I've looked all over the Web and tried things and nothing worked right. And I 
still don't understand what's going on.

What does pppd do, and what does pptp do? Why are they separate?

There is a package "ssh-ip-tunnel-1.0nb1 = Simple VPN system using pppd over 
ssh". I can ssh into the box. Can I use this and get the same IP address that 
I'm supposed to get with pppd and pptp? Do I have to log in as root?

Pierre

-- 
li ze te'a ci vu'u ci bi'e te'a mu du
li ci su'i ze te'a mu bi'e vu'u ci


Re: What happened to branches other than dragonfly-2010Q3

2011-08-19 Thread Justin Sherrill
There's tarballs (or bzip, etc.) for recent branches and
pkgsrc-current at ftp.netbsd.org.  For example

ftp://ftp.netbsd.org/pub/pkgsrc/pkgsrc-2011Q2/

Plus Matthias pointed out you can grab from github too.

On Fri, Aug 19, 2011 at 12:40 PM, Siju George  wrote:
> On Fri, Aug 19, 2011 at 6:32 PM, Justin Sherrill
>  wrote:
>> I've seen a number of people say they get errors when downloading
>> dragonfly pkgsrc via git.  I don't know what's causing it, but 2
>> workaround for now would be to either grab it the old-fashioned way
>> via CVS: (assuming tcsh)
>>
>
> Also why not consider providing a pkgsrc.tgz snapshot for download
> once a week or so?
> It would be easier to pull through http/ftp since it can be resumed?
>
> I said because I guess it is what OpenBSD does
>
> http://ftp.openbsd.org/pub/OpenBSD/snapshots/
>
> Is that going to be too difficult to automate? Or is there already
> such setup some where?
>
> Thanks :-)
>
> --Siju
>



Re: PPTP VPN

2011-08-19 Thread Pierre Abbat
On Friday 19 August 2011 13:55:33 Pierre Abbat wrote:
> The one in FreeBSD is poptop. The one in DragonFly is pptp. There is a
> poptop package in pkgsrc, but no binary, so I installed pptp.

Further checking: I called a friend who sets up networks for a living. He told 
me there was a change in the pppd program or protocol in 2005 that made 
command line options no longer valid. The FreeBSD page was written in 2002.

Pierre
-- 
Don't buy a French car in Holland. It may be a citroen.


Re: PPTP VPN

2011-08-19 Thread Pierre Abbat
On Friday 19 August 2011 12:46:30 Pierre Abbat wrote:
> Do I have a different pptp program than FreeBSD, or what?

The one in FreeBSD is poptop. The one in DragonFly is pptp. There is a poptop 
package in pkgsrc, but no binary, so I installed pptp.

Pierre
-- 
When a barnacle settles down, its brain disintegrates.
Já não percebe nada, já não percebe nada.



Re: What happened to branches other than dragonfly-2010Q3

2011-08-19 Thread Matthias Rampke
On Freitag, 19. August 2011 at 18:40, Siju George wrote:
>  
> Also why not consider providing a pkgsrc.tgz snapshot for download
> once a week or so?
> It would be easier to pull through http/ftp since it can be resumed?

That would be redundant now that there's https://github.com/jsonn/pkgsrc – 
Github already offers automatic .tar.gz and .zip snapshots of all branches.

-m.  





Re: PPTP VPN

2011-08-19 Thread Pierre Abbat
On Friday 19 August 2011 09:08:02 Justin Sherrill wrote:
> I haven't connected via PPTP on a non-Windows machine in a while, but
> I bet these steps would work:
>
> http://www.freebsddiary.org/pptp.php

I created a section called "bda" in pppd.conf and then ran pptp. I got this:

# pptp mail.baucom-davis.com bda
running pppd: /usr/sbin/pppd /dev/pts/7 38400 bda
/usr/sbin/pppd: unrecognized option 'bda'
pppd version 2.3 patch level 5
Usage: /usr/sbin/pppd [ options ], where options are:
Communicate over the named device
 Set the baud rate to 
: Set the local and/or remote interface IP
addresses.  Either one may be omitted.
asyncmap Set the desired async map to hex 
authRequire authentication from peer
connect  Invoke shell command  to set up the serial line
crtscts Use hardware RTS/CTS flow control
defaultrouteAdd default route through interface
file Take options from file 
modem   Use modem control lines
mru  Set MRU value to  for negotiation
See pppd(8) for more options.

Do I have a different pptp program than FreeBSD, or what?

Pierre
-- 
.i toljundi do .ibabo mi'afra tu'a do
.ibabo damba do .ibabo do jinga
.icu'u la ma'atman.


Re: What happened to branches other than dragonfly-2010Q3

2011-08-19 Thread Siju George
On Fri, Aug 19, 2011 at 6:32 PM, Justin Sherrill
 wrote:
> I've seen a number of people say they get errors when downloading
> dragonfly pkgsrc via git.  I don't know what's causing it, but 2
> workaround for now would be to either grab it the old-fashioned way
> via CVS: (assuming tcsh)
>

Also why not consider providing a pkgsrc.tgz snapshot for download
once a week or so?
It would be easier to pull through http/ftp since it can be resumed?

I said because I guess it is what OpenBSD does

http://ftp.openbsd.org/pub/OpenBSD/snapshots/

Is that going to be too difficult to automate? Or is there already
such setup some where?

Thanks :-)

--Siju



Re: What happened to branches other than dragonfly-2010Q3

2011-08-19 Thread Matthias Rampke
On Freitag, 19. August 2011 at 15:02, Justin Sherrill wrote:
>  
> I'm curious to see if git chokes when downloading from a different source...

In this case it definitely will – the repos were created by completely 
different scripts and ways (they convert CVS -> Fossil -> git AFAIK), so the 
commit IDs won't match.

In general, adding another clone of the *same* repo as a git remote works fine 
(e.g. you have a clone of dragonfly.git on your home server, clone that on your 
workstation, then add the git.dragonflybsd.org or leaf repos). But the NetBSD 
pkgsrc git mirror and the DragonFly git mirror have to be considered completely 
separate.

-m.



Re: PPTP VPN

2011-08-19 Thread Justin Sherrill
I haven't connected via PPTP on a non-Windows machine in a while, but
I bet these steps would work:

http://www.freebsddiary.org/pptp.php

On Thu, Aug 18, 2011 at 6:42 PM, Pierre Abbat  wrote:
> My boss has a VPN that I need to connect to. I can connect to it from the
> Windows box, but then only the Windows box can access it; or from the router,
> but it doesn't stay up long. How can I set up the DragonFly box so that it
> can be started with a script in /etc/rc.d?
>
> Pierre
> --
> Jews use a lunisolar calendar; Muslims use a solely lunar calendar.
>


Re: What happened to branches other than dragonfly-2010Q3

2011-08-19 Thread Justin Sherrill
I've seen a number of people say they get errors when downloading
dragonfly pkgsrc via git.  I don't know what's causing it, but 2
workaround for now would be to either grab it the old-fashioned way
via CVS: (assuming tcsh)

setenv CVSROOT anon...@anoncvs.netbsd.org:/cvsroot
setenv CVS_RSH ssh
cd /usr
cvs -q checkout -rpkgsrc-2011Q1 -P pkgsrc

Or switch to Joerg Sonnenberger's git : (warning, this is off the top
of my head; untested)

in /usr/pkgsrc:
git remote add github https://github.com/jsonn/pkgsrc.git
git fetch github
git branch pkgsrc-2011Q1 github/pkgsrc-2011Q1
git checkout pkgsrc-2011Q1
git pull

I'm curious to see if git chokes when downloading from a different source...

On Fri, Aug 19, 2011 at 7:27 AM, Siju George  wrote:
> Hi,
>
> When I list remote branches in the newly checked out repository it show only
>
> dfly-blkbuild# git branch -r
>  origin/dragonfly-2010Q3
>  origin/dragonfly-master
>  origin/master
>
> but in an older pkgsrc it shows
>
> dfly-bkpsrv# git branch -r
>  origin/dragonfly-2010Q3
>  origin/dragonfly-master
>  origin/master
>  origin/pkgsrc-2010Q1
>  origin/pkgsrc-2010Q2
>  origin/pkgsrc-2010Q3
>  origin/pkgsrc-2010Q4
>  origin/pkgsrc-2011Q1
>
> How Do I get origin/pkgsrc-2010Q1 in the new one?
>
> The new one gave this error too
>
> dfly-blkbuild# git pull
> From git://git.dragonflybsd.org/pkgsrcv2
>  * [new branch]      dragonfly-master -> origin/dragonfly-master
>  * [new branch]      master     -> origin/master
> Bus error (core dumped)
>
>
> Thanks
>
> --Siju
>



What happened to branches other than dragonfly-2010Q3

2011-08-19 Thread Siju George
Hi,

When I list remote branches in the newly checked out repository it show only

dfly-blkbuild# git branch -r
  origin/dragonfly-2010Q3
  origin/dragonfly-master
  origin/master

but in an older pkgsrc it shows

dfly-bkpsrv# git branch -r
  origin/dragonfly-2010Q3
  origin/dragonfly-master
  origin/master
  origin/pkgsrc-2010Q1
  origin/pkgsrc-2010Q2
  origin/pkgsrc-2010Q3
  origin/pkgsrc-2010Q4
  origin/pkgsrc-2011Q1

How Do I get origin/pkgsrc-2010Q1 in the new one?

The new one gave this error too

dfly-blkbuild# git pull
>From git://git.dragonflybsd.org/pkgsrcv2
 * [new branch]  dragonfly-master -> origin/dragonfly-master
 * [new branch]  master -> origin/master
Bus error (core dumped)


Thanks

--Siju


Re: pkgsrc-update failes with core dumps

2011-08-19 Thread Siju George
On Sun, Jul 31, 2011 at 6:43 AM, Matthew Dillon
 wrote:
>
>    I think master currently has a VM issue somewhere (in software).  I'm
>    sometimes getting an internal compiler error when building the world,
>    too.
>

Is this fixed?
I get the same error during pkgsrc-create.
how do I make this git repository workable?

Thanks

--Siju



Re: radvd

2011-08-19 Thread Matthias Rampke
>From what I remember, it's more-or-less-ish the case that end-user systems (OS 
>X, desktop Linux, Windows(?)) will accept address configuration (be it v4 or 
>v6) from the network by default, "server" systems won't. In-betweens like 
>Debian require you to decide on this during installation.

IMHO basic network configuration for both IPv4 and IPv6 during installation, 
offering a choice between DHCP and static for the v4 stack and DHCPv6, router 
advertisements and static configuration for v6, would cover 99% of all cases. 


On Donnerstag, 18. August 2011 at 01:53, Justin Sherrill wrote:

> If there's other operating systems that run it by default, I'd rather
> stick with what people will expect (just working) than turning it off
> because of a security problem that is, at this point, hypothetical.
> 
> I haven't used IPv6 very often, so there may be arguments I don't know about.
> 




Re: Older release isos on the official ftp site

2011-08-19 Thread Max Herrgard
On 18 aug 2011, at 16.52, Justin Sherrill wrote:
> ftp://crater.dragonflybsd.org/Older/
> 
> We have had complaints from mirrors that the space for DragonFly is
> getting huge, though most of the pain from that is pkgsrc binary
> packages.

Okay, now I found them :)

I got a bit confused by the mirrors page that had ftp.dragonflybsd.org listed 
under crater when it in fact points to avalon. I've corrected this on the 
mirrors page.


Max