Is there a way to connect to a Microsoft VPN?

2005-08-30 Thread WOB


Hi,

Is there a way to connect my FreeBSD 5.4 box to a Microsoft VPN?  
Basically, I use FreeBSD at home, and want to connect to my XP Pro box 
at work.  On Linux, I think they have a VPN program you can run, then 
you can use rdesktop to connect to a Windows host on the VPN LAN.  On 
FreeBSD, I have used rdesktop to control a XP Pro box, but it was in my 
house.  I tried this a year ago, but I don't think there was a way to 
get the VPN connection going, unless I bought a VPN-router, or was 
running Windows inside VMWare.


I also tried to make a VPN connection from inside QEMU, but it did not work.

Is amyone able to connect a home FreeBSD box to a remoted XP Pro box 
that is on a VPN?


I have a DSL modem, and a router from my ISP.  I might be able to buy 
another router that supports VPN's, and add it to my home LAN, and plug 
my FreeBSD box in to it (or buy another NIC and plug the 2nd NIC in to it).


thanks!

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


Re: Is there a way to connect to a Microsoft VPN?

2005-08-30 Thread WOB


I use /usr/ports/net/pptpclient to connect to a MS VPN endpoint and 
/usr/ports/net/rdesktop to "Remote Desktop" to my XP machine at the 
office.  Works great.



This sounded like what I needed to do.

When I run the pptp client, it doesn't appear to do anything.  I did the 
following:


 cd /usr/ports/net/pptpclient
 make install clean
 cd /usr/ports/net/rdesktop
 make install clean
 rehash

I found these instructions at FreeBSD Diary and tried to follow them:

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

My connection information is as follows:

 My workplace's outside VPN Name: vpn.wobs-work.com
 My workplace's outside VPN external IP: 100.200.300.16
 My workplace Username: wob
 My workplace Password: wobpassword
 My Workplace's Windows XP Pro PC:  5.10.15.79
 My Workplaces Internal Subnet: 5.10.15.x

 My home FreeBSD's IP: 192.168.1.25
 My FreeBSD's machine NIC: fxp0
 My home router's IP: 192.168.1.1

So I made a /etc/ppp/ppp.conf file:

 WORKVPN:
   set authname wob
   set authkey wobpassword
   set timeout 0
   set ifaddr 0 0
   add 100.200.300.16/24 HISADDR
   alias enable yes

Then I ran it as root:
 cd /etc/ppp
 /usr/local/sbin/pptp vpn.wobs-work.com WORKVPN

The program seems to run for about 5 seconds, then returns to shell 
prompt.  I then tried:


 /usr/local/sbin/pptp vpn.wobs-work.com WORKVPN --loglevel 2

and:

 /usr/local/sbin/pptp 100.200.300.16 WORKVPN --loglevel 2

But it still did not print out anything.

 ifconfig tun0

displays:

 tun0: flags=8010 mtu 1500

I think I might have to add a route command once the "tunnel" is up.  My 
understanding is, is that the pptp client is not supposed to return to 
the shell prompt until I cancel it with a CTRL-C.  I normally use my 
home Windows XP Pro box to connect to my works VPN, and then use 
RemoteDesktop to connect to my Work PC - so I know the connections work 
under Windows.  I want to get rid of my home Windows box.


Any suggestions?  I'm kinda new, but I am trying to learn.

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


Re: Is there a way to connect to a Microsoft VPN?

2005-08-31 Thread WOB

Hi Eric,


 WORKVPN:
   set authname wob



If you are authenticating against a domain change the above to
   set authname domain\\wob



I had left out my domain, and had one IP address wrong - now it works!

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


what tweaks for stable-supfile in RELENG_6 ? (update after initial install)

2005-09-04 Thread WOB


Hi,

I'm going to try in to install FreeBSD 6.0-Beta3, and am curious how I 
should tweak the stable-supfile. Actually I did an install from CD, I 
usually immediately update from the net after a CD install, so I can get 
the latest stuff.


When I installed 5.4 I made these changes to the stable-supfile:

  nano -w stable-supfile
host = cvsup10.FreeBSD.org
*default release=cvs tag=RELENG_5
ports-all tag=.
doc-all tag=.

For 6.0-Beta3, I plan to only change to RELENG_6, like this:

  nano -w stable-supfile
host = cvsup10.FreeBSD.org
*default release=cvs tag=RELENG_6
ports-all tag=.
doc-all tag=.

I thought I had read somewhere that I am not supposed to put the 
ports-all and doc-all lines in to the stable-supfile for 6.0, but I 
cannot find where I saw it.  I think some guy got ports from RELENG_7, 
or something like that (though I later read there is only set of ports).


Is it okay to put them in like this? 


ports-all tag=.
doc-all tag=.


Thanks!



(below are my instructions I usually try to follow)

cd /usr/src
cp /usr/share/examples/cvsup/stable-supfile .
cp /usr/share/examples/cvsup/refuse .

nano -w stable-supfile
 host = cvsup10.FreeBSD.org
 *default release=cvs tag=RELENG_5
 ports-all tag=.
 doc-all tag=.

cvsup -g -L 2 stable-supfile

less UPDATING

make buildworld
make buildkernel KERNCONF=GENERIC
make installkernel

shutdown -r now
shutdown now
cd /usr/src
make installworld
mergemaster
 delete hosts file
 run MAKEDEV at end
shutdown -r now

portsdb -Uu

portversion -l "<"
portupgrade -arR
reboot


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


what tweaks for stable-supfile in RELENG_6 ? (update after initial install)

2005-09-04 Thread WOB



Hi,

I'm going to try in to install FreeBSD 6.0-Beta3, and am curious how I 
should tweak the stable-supfile. Actually I did an install from CD, I 
usually immediately update from the net after a CD install, so I can get 
the latest stuff.


When I installed 5.4 I made these changes to the stable-supfile:

 nano -w stable-supfile
   host = cvsup10.FreeBSD.org
   *default release=cvs tag=RELENG_5
   ports-all tag=.
   doc-all tag=.

For 6.0-Beta3, I plan to only change to RELENG_6, like this:

 nano -w stable-supfile
   host = cvsup10.FreeBSD.org
   *default release=cvs tag=RELENG_6
   ports-all tag=.
   doc-all tag=.

I thought I had read somewhere that I am not supposed to put the 
ports-all and doc-all lines in to the stable-supfile for 6.0, but I 
cannot find where I saw it.  I think some guy got ports from RELENG_7, 
or something like that (though I later read there is only set of ports).


Is it okay to put them in like this?
   ports-all tag=.
   doc-all tag=.


Thanks!



(below are my instructions I usually try to follow)

cd /usr/src
cp /usr/share/examples/cvsup/stable-supfile .
cp /usr/share/examples/cvsup/refuse .

nano -w stable-supfile
host = cvsup10.FreeBSD.org
*default release=cvs tag=RELENG_5
ports-all tag=.
doc-all tag=.

cvsup -g -L 2 stable-supfile

less UPDATING

make buildworld
make buildkernel KERNCONF=GENERIC
make installkernel

shutdown -r now
shutdown now
cd /usr/src
make installworld
mergemaster
delete hosts file
run MAKEDEV at end
shutdown -r now

portsdb -Uu

portversion -l "<"
portupgrade -arR
reboot



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


Re: what tweaks for stable-supfile in RELENG_6 ? (update after initial install)

2005-09-05 Thread WOB

Hi Giorgos,



For 6.0-Beta3, I plan to only change to RELENG_6, like this:

nano -w stable-supfile
  host = cvsup10.FreeBSD.org
  *default release=cvs tag=RELENG_6
  ports-all tag=.
  doc-all tag=.
   



You're not getting any of the "source" collections this way and you have
unnecessarily trimmed useful defaults.
 



That is actually just a snippet from my stable-supfile, those are just 
the lines that I changed.  The file is otherwise the same as the one in 
the examples directory.  I start with these commands:


  cd /usr/src
  cp /usr/share/examples/cvsup/stable-supfile .
  cp /usr/share/examples/cvsup/refuse .
  nano -w stable-supfile

thanks!



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


I had to make some symlinks for Flash to work on 6.0-Beta4.

2005-09-06 Thread WOB


I had to make 3-4 symlinks to get Flash to work with Firefox on FreeBSD 
6.0-B4


These are the commands I entered:

  cd /usr/lib
  ln -s libstdc++.so.5 libstdc++.so.4

  cd /lib
  ln -s libm.so.4 libm.so.3
  ln -s libz.so.3 libz.so.2

I made those changes based on errors I saw.  I don't know much about 
what I am doing, so hopefully I didn't break anything by making those 
symlinks.  For example, once this gets fixed, I dont't know if I will 
need to undo my symlinks.


It looks like the "...so.x" files got incremented, and something is 
expecting them to have their old values.


thanks!

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


nphelix.so: Undefined symbol "stderr", when using linuxpluginwrapper on 6.0-B4

2005-09-06 Thread WOB


I fixed my Flash error, but I don't how to fix this error on the Helix 
player (and the same error for Acrobat7)


I'm using Firefox on 6.0-B4.

I thought "stderr" was alway defined (from my C days).

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


Which games are good, and easy to install?

2005-09-10 Thread WOB


I installed the nvidia driver, and player enemy-territory - which was a 
lot of fun!  Foobillard worked well, too.


I started going through the ports installing a  lot of games, but some 
of them required other files.  For example, doomlegacy needed a WAD file 
- so I couldn't play it.  Other games were client-server based, and it 
wasn't immediately obvious how to get them running.


A few games just core dump, like flightgear.

I'm using FreeBSD 6.0-B4.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


FreeBSD 6.0-B1 install on HP Pavillion zv5445us hangs after acpi.ko message

2005-09-10 Thread WOB
Installing 5.4 use to turn off my HP Pavillion, so I thought I would try 
6.0 since I heard it was more laptop friendly.  I have a 6.0-B1 CD that 
I am trying to install from.


6.0-B1 doesn't turn it off, but it does hang with a frozen ACII spinning 
character immediately after displaying:


 /boot/kernel/acpi.ko text=0x41e40 data-0x20e0+0x10b0 
syms[0x4+0x7740+0x4+0x9ead]


If  I interrupt the boot manager, and enter:

unset acpi_load
boot

It still hangs with a frozen ASCII spinner character, but there is no 
acpi.ko message.


I don't know a lot about ACPI stuff.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


HP Pavillion laptop work with any version of FreeBSD?

2005-09-12 Thread WOB


I have never been able to get through an install of either 5.4 or 6.0 on 
my HP Pavillion zv5445us laptop.  Trying to install 5.4 would poweroff 
the latop, and 6.0 hangs during the install.  I have not tried 4.10, and 
was hoping I wouldn't have to.  I had tried earlier version of 5.x when 
they were out (5.3 I think).


I posted the error messages to the mobile list, and didn't get a 
response - I guess no one has this type of laptop. 

Has anyone had any luck with any version of FreeBSD on any version of HP 
Pavillion laptop?



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


Re: pptp microsoft vpn

2005-09-12 Thread WOB

I had a thread on 8/31/2005 about getting VPN to work, maybe it will help:

  "Is there a way to connect to a Microsoft VPN?"

I had left the domain out of my login.  I ending up using pptpclient. 


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


Deep in printer hell.

2005-09-14 Thread WOB


When JFK said, "We choose to go to the moon in this decade and do the 
other things, not because they are easy, but because they are hard..", I 
always wondered what exactly "the other things" were.  Apparently, one 
of them is printer configuration under FreeBSD.


If I am using a HP Deskjet 940 connected via parallel cable,  is there 
not some simple way of configuring this printer?


Is it really necessary to follow all the steps in the handbook - just to 
print?  The "Basic Setup" instructions are 15 pages printed.  Assuming 
you can print them.


I got this printer working 6 months ago under FreeBSD, and apparently my 
many notes on it are too many.  Now I'm starting from scratch, to 
redocument it, and it just seems like there should be a simpler way. 


I'm using 5.4, Fluxbox, Abiword, and Firefox - that's it.

Eventually I will figure it out again, I just wanted to know if there 
was some simple script I could run, or "preferred short-cut" for setting 
up desktop printer.  I realize the handbook is written to be precise and 
server-centric, but I just want to print Yahoo driving directions, and 
other such things.


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


Re: Printing with Firefox

2005-09-15 Thread WOB

Rem P Roberti wrote:

When I attempt to either do a printview, or print, using Firefox the 
program shuts down. My printcap file contains entries that were 
automatically created by CUPS.  Any ideas why the Firefox printing 
functions are inop?


I solved that problem last night, but I'm not sure how.  I was able to 
print from within Abiword, but Firefox would core-dump.  I ended up 
doing two things, one of which apparently fixed the problem.  First, 
when I ran apsfilter, I made sure a test page printed - then chose to 
add the new printer definition to my printcap file (before exiting 
SETUP).  Second, in the printcap file, I changed the first line from 
"ps|lp|aps1..." to "lp|ps|aps1..." - since I read somewhere that "lp" 
was the real name for the printer.  Now I can print.

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


Desktop usability ideas.

2005-09-17 Thread WOB


I am in the process of making FreeBSD my primary desktop OS, which is 
not always easy since I have a limited amout of *nix experience.  I 
chose FreeBSD after doing the Linux distro-dance, and eventually settled 
on FreeBSD because it seemed to be the best behaving OS.  Based on 
word-of-mouth, and netcraft figures, the FreeBSD team has accomplished 
the goal of creating a completely free world-class Operating System.  My 
problem is that my goal is slightly out-of -alignment with the FreeBSD 
teams's goal, since I *also* want an OS that is easy to use as a desktop 
OS. 

When I was having problems getting the Helix player to work on FreeBSD, 
I briefly went and tried "Ubuntu Linux", since it appeared to be a good 
desktop OS.  I quickly found that using Ubuntu meant learning how to do 
everything "the Ubuntu way", which would not have been so bad if things 
worked as advertised.  Trying to play an mp3 file in XMMS resulted in my 
machine locking up.  There are some good Ubuntu sites that have detailed 
explanations of how to accomplish certain tasks, but it quickly became 
apparently that getting Ubuntu to work wasn't going to be any easier 
that using FreeBSD - so I might as well stick with FreeBSD.  Which is 
what I did.


I know about DesktopBSD and PC-BSD.  They both appear to use KDE, which 
I think might be a fatal flaw (for my puposes).  I tend to use Gnome, 
but I also think Gnome would be a mistake.  I prefer to use programs 
that have as few dependencies as possible.  I currently use FluxBox, and 
plan to use FVWM2 (once I figure out how to control it).  I've had sound 
problems when I used KDE, and heard about CD-burning problems when 
people use Gnome.  KDE and GNOME are probably fine if you are going to 
use them exclusively, but I prefer a best-of-breed approach.  I want a 
lean and  fast machine, that doesn't break easily.


Recently I have been able to get my FreeBSD desktop PC to an ideal 
state.  I got my deskjet printer working.  I can play enemy-fortress now 
that I have the nvidia drivers loaded.  Anjuta is a good IDE with 
wxWidgets support.  XMMS doesn't hang.  Pptpclient can connect to my 
workplace's Win XP machine.  QEMU can run Win2k when I need to.  Life is 
good and getting better.  It just took a long time to get here.


One remaining issue is that I tend to update my machine, which sometimes 
breaks things.  It occurred to me, that the solution to this should be 
to not track x-current.  I'm not completely familiar with the way the 
branches are named, but I believe a "release" is a stable snapshot in 
time - the type of release that would be burned on a CD.  At that point 
in time, "release" is frozen, and "current" continues to march ahead 
with new features and fixes.  I think there is another type of branch 
called "tracking"(?), which only adds fixes to a "release".  The 
"tracking" branch is better for servers where you don't want new 
features and the bugs that sometimes accompany them.  I now realize that 
a desktop machine running a lot of GUI apps should probably be tracking 
"tracking" instead of "current".  That way, a new fancier version of 
some dependency would not break portions of my desktop.  Instructions on 
how to configure a desktop system might suggest the user not track 
"current", but instead the "tracking" branch that only has security fixes.


What I wish existed is a document that I will eventually write, if it 
does not already exist somewhere.  This document what be how to 
configure a functional desktop that had a high chance of working, and a 
high chance of not breaking.  It would have to assume certain things, 
like a deskjet-compatible printer, ne2000 compatible NIC, nvidia based 
video, VESA compliant monitor, etc.  If those requirements were met, 
there could be a long list of apps that were guaranteed to work 
out-of-the-box for a specific "release" of FreeBSD - if specific 
instructions were followed.  This might sound draconian to people with a 
lot of FreeBSD experience, but for newbies trying to escape the Windows 
World it is a passport to the New World.


The list of possible tasks would be something like: Connect to work via 
VPN and RemoteDesktop, browse with Firefox+Java+Flash, print on an HP 
printer, play 2-3 OpenGL games, develop within Anjuta C++ IDE, 
play-rip-burn  DVDs and CDs, connect to iPod, connect digital camera, 
connect scanner, update system (without it breaking), run QEMU, run 
WINE, Thunderbird email, and just about everything else a typical 
desktop user might want to do.  It would *not* be things like, "run a 
major Apache website", or configure email for 10,000 users, etc.  It 
would be about being Free and functional.


I liked DesktopBSD's goal of being FreeBSD+otherstuff, where the base 
system is still 100% FreeBSD.  I also like what PC-BSD will probably be 
trying soon, to mimic the way Mac OSX runs apps with all their 
dependencies in a type of "jail" - that would make installing desktop 
apps a breez

Re: Desktop usability ideas.

2005-09-17 Thread WOB


I think part of my solution is to encourage other newbies to track a 
release instead of stable. So we would follow "5_4" instead of "5", 
since "5" is on its way to become "5_5" - and might have some bugs with 
the features that are being added.


I read about this here:

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

thx!

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