/usr/bin/ld: cannot find -liconv

2013-01-27 Thread Leonardo M . Ramé
Hi, I'm trying to compile FreePascal from sources, but it keeps complaining 
about cannot find -liconv:

When I do gmake all on fpc src directory, I get this:

Output of ldconfig -r|grep iconv:

19:-lkiconv.4 = /lib/libkiconv.so.4
112:-liconv.3 = /usr/local/lib/libiconv.so.3
433:-lbiconv.2 = /usr/local/lib/libbiconv.so.2
434:-lticonv.6 = /usr/local/lib/libticonv.so.6


Output of gmake all:

...
/usr/bin/ld: cannot find -liconv
fpdoc.pp(404,1) Error: Error while linking
fpdoc.pp(404,1) Fatal: There were 1 errors compiling module, stopping
Fatal: Compilation aborted
gmake[3]: *** [fpdoc] Error 1
gmake[3]: Leaving directory `/usr/home/martin/fpc/utils/fpdoc'
gmake[2]: *** [fpdoc_all] Error 2
gmake[2]: Leaving directory `/usr/home/martin/fpc/utils'
gmake[1]: *** [utils_all] Error 2
gmake[1]: Leaving directory `/usr/home/martin/fpc'
gmake: *** [build-stamp.x86_64-freebsd] Error 2


This is a FreeBsd 9.1 RELEASE x86-64 machine.

What I'm doing wrong?.
 
Leonardo M. Ramé
http://leonardorame.blogspot.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: /usr/bin/ld: cannot find -liconv

2013-01-27 Thread Leonardo M . Ramé
- Original Message -

 From: Leonardo M. Ramé martinr...@yahoo.com
 To: freebsd-questions@freebsd.org freebsd-questions@freebsd.org
 Cc: 
 Sent: Sunday, January 27, 2013 12:28 PM
 Subject: /usr/bin/ld: cannot find -liconv
 
 Hi, I'm trying to compile FreePascal from sources, but it keeps complaining 
 about cannot find -liconv:
 
 When I do gmake all on fpc src directory, I get this:
 
 Output of ldconfig -r|grep iconv:
 
 19:-lkiconv.4 = /lib/libkiconv.so.4
 112:-liconv.3 = /usr/local/lib/libiconv.so.3
 433:-lbiconv.2 = /usr/local/lib/libbiconv.so.2
 434:-lticonv.6 = /usr/local/lib/libticonv.so.6
 
 
 Output of gmake all:
 
 ...
 /usr/bin/ld: cannot find -liconv
 fpdoc.pp(404,1) Error: Error while linking
 fpdoc.pp(404,1) Fatal: There were 1 errors compiling module, stopping
 Fatal: Compilation aborted
 gmake[3]: *** [fpdoc] Error 1
 gmake[3]: Leaving directory `/usr/home/martin/fpc/utils/fpdoc'
 gmake[2]: *** [fpdoc_all] Error 2
 gmake[2]: Leaving directory `/usr/home/martin/fpc/utils'
 gmake[1]: *** [utils_all] Error 2
 gmake[1]: Leaving directory `/usr/home/martin/fpc'
 gmake: *** [build-stamp.x86_64-freebsd] Error 2
 
 
 This is a FreeBsd 9.1 RELEASE x86-64 machine.
 
 What I'm doing wrong?.
  


The solution was doing:

gmake all OPT=-Fl/usr/local/lib


 
Leonardo M. Ramé
http://leonardorame.blogspot.com

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Jails

2013-01-15 Thread Leonardo M . Ramé
- Original Message -

 From: Zyumbilev, Peter pe...@aboutsupport.com
 To: freebsd-questions@FreeBSD.org freebsd-questions@FreeBSD.org
 Cc: 
 Sent: Tuesday, January 15, 2013 3:12 AM
 Subject: Re: Jails
 
 On 15/01/2013 02:10, Leonardo M. Ramé wrote:
 
 
  Yes, and also defined /etc/resolv.conf. Any hint?
 
 
  Leonardo M. Ramé
  http://leonardorame.blogspot.com
 
 
 This is my jail conf.
 
 jail_debian_rootdir=/jail/debian
 jail_debian_hostname=debian.bivol.net
 jail_debian_ip=192.168.30.12
 jail_debian_interface=bge0
 jail_debian_devfs_enable=YES
 jail_debian_devfs_ruleset=devfsrules_jail
 jail_debian_flags=-n debian
 #jail_debian_mount_enable=YES           # mount YES|NO
 jail_debian_fstab=/jail/conf/fstab.debian
 
 
 you have ip  interface settings correct ? Mine card is bge0, but your
 one might be different.
 
 Peter


Peter, last night I 
finally used apt-get to install g++, so, it's working!. The only thing 
that doesn't work is ping, but I won't care about it.

 
Leonardo M. Ramé
http://leonardorame.blogspot.com

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Jails

2013-01-14 Thread Leonardo M . Ramé



 From: Zyumbilev, Peter pe...@aboutsupport.com
To: freebsd-questions@FreeBSD.org freebsd-questions@FreeBSD.org 
Sent: Monday, January 14, 2013 3:53 AM
Subject: Re: Jails
 


On 13/01/2013 23:58, Leonardo M. Ramé wrote:
 
 

 root@debian:/# ping www.google.com
 WARNING: setsockopt(ICMP_FILTER): Protocol not available
 WARNING: your kernel is veeery old. No problems.
 PING www.google.com (173.194.42.16) 56(84) bytes of data.
 ping: recvmsg: Invalid argument
 ping: recvmsg: Invalid argument
 ping: recvmsg: Invalid argument
 ping: recvmsg: Invalid argument
 
 --- www.google.com ping statistics ---
 4 packets transmitted, 0 received, 100% packet loss, time 3078ms
 
 root@debian:/#


Hvae you run in FreeBSD:

sysctl compat.linux.osrelease=2.6.32

?


Yes, and also defined /etc/resolv.conf. Any hint?


Leonardo M. Ramé
http://leonardorame.blogspot.com

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Jails

2013-01-13 Thread Leonardo M . Ramé


 From: Zyumbilev, Peter pe...@aboutsupport.com
To: freebsd-questions@FreeBSD.org 
Cc: Mark Felder f...@feld.me; Devin Teske dte...@freebsd.org; Devin Teske 
devin.te...@fisglobal.com 
Sent: Sunday, January 13, 2013 7:09 AM
Subject: Re: Jails
 

On 12/01/2013 18:41, Devin Teske wrote:
 
 On Jan 11, 2013, at 11:31 PM, Zyumbilev, Peter wrote:
 
 Hi,

 I have not tested it, but so far things do not look promising...

 I cannot even run netstat -nvatp properly, however sopcast seemed to
 run, but have not tested it, for plex - have not tried yet.

 
 netstat isn't allowed in traditional jails (but is allowed in vimage jails 
 which have their own network stack).
 
 If you're able/willing to compile a new kernel to enable the VIMAGE 
 feature, then this can be improved so that you can indeed use netstat within 
 the jail.
 
 NOTE: netstat is not allowed within traditional (non-VIMAGE) jails due to 
 security restrictions.
 

My  host os is Nas4Free and is stripped version of freebsd - e.g I
cannot even compile ports - that is why I use jails - so no new kernel
for me there :)

So far I am quite happy with it  - I use it mainly as DLNA
server(Serviio), ZFS,UPS support  Transmission made it quite good
platform - would take plenty of time to get all this in plain FreeBSD
install.

The only thing that I might be missing is Plex, but due to lack browser
per folder feature, I will stick to open standard - DLNA.

Peter


Hi, I've installed debian 6 in a jail, from FreeBsd 9.1 x86-64 by following the 
instructions from this thread. However, I also updated my /etc/resolv.conf 
inside the jail, but I get this error when I do ping:


server# /etc/rc.d/jail start debian
Configuring jails:.
Starting jails: debian.


server# jls
   JID  IP Address  Hostname  Path
    13  192.168.0.250   debian    /usr/home/jails/debian


server# jexec 13 bash
root@debian:/# uname -a
Linux debian 2.6.32 FreeBSD 9.1-RELEASE #0 r243825: Tue Dec  4 09:23:10 UTC 
2012 i686 GNU/Linux


root@debian:/# ping www.google.com
WARNING: 
WARNING: your kernel is veeery old. No problems.
PING www.google.com (173.194.42.17) 56(84) bytes of data.
ping: recvmsg: Invalid argument
ping: recvmsg: Invalid argument

Apart from getting those ping errors, I cannot apt-get update:

root@debian:/# apt-get update
Get:1 http://security.debian.org squeeze/updates Release.gpg [836 B]
Ign http://security.debian.org/ squeeze/updates/contrib Translation-en
Get:2 http://ftp.debian.org squeeze Release.gpg [1672 B]
Ign http://ftp.debian.org/debian/ squeeze/contrib Translation-en
99% [Working]FATAL - Could not set non-blocking flag Bad file descriptor
E: Method http has died unexpectedly!
E: Sub-process http returned an error code (100)

I need apt-get to install g++, to be able to compile a linux c++ app from 
FreeBsd.

-- 
Leonardo M. Ramé
http://leonardorame.blogspot.com

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Jails

2013-01-13 Thread Leonardo M . Ramé


- Original Message -

 From: Devin Teske devin.te...@fisglobal.com
 To: Leonardo M. Ramé martinr...@yahoo.com
 Cc: freebsd-questions@FreeBSD.org freebsd-questions@FreeBSD.org
 Sent: Sunday, January 13, 2013 2:23 PM
 Subject: Re: Jails
 
 
 On Jan 13, 2013, at 7:45 AM, Leonardo M. Ramé wrote:
 
  
 
  From: Zyumbilev, Peter pe...@aboutsupport.com
  To: freebsd-questions@FreeBSD.org 
  Cc: Mark Felder f...@feld.me; Devin Teske 
 dte...@freebsd.org; Devin Teske devin.te...@fisglobal.com 
  Sent: Sunday, January 13, 2013 7:09 AM
  Subject: Re: Jails
 
 
  On 12/01/2013 18:41, Devin Teske wrote:
 
  On Jan 11, 2013, at 11:31 PM, Zyumbilev, Peter wrote:
 
  Hi,
 
  I have not tested it, but so far things do not look 
 promising...
 
  I cannot even run netstat -nvatp properly, however 
 sopcast seemed to
  run, but have not tested it, for plex - have not tried yet.
 
 
  netstat isn't allowed in traditional jails (but is allowed in 
 vimage jails which have their own network stack).
 
  If you're able/willing to compile a new kernel to enable the 
 VIMAGE feature, then this can be improved so that you can indeed use 
 netstat within the jail.
 
  NOTE: netstat is not allowed within traditional (non-VIMAGE) jails 
 due to security restrictions.
 
 
  My  host os is Nas4Free and is stripped version of freebsd - e.g I
  cannot even compile ports - that is why I use jails - so no new kernel
  for me there :)
 
  So far I am quite happy with it  - I use it mainly as DLNA
  server(Serviio), ZFS,UPS support  Transmission made it quite good
  platform - would take plenty of time to get all this in plain FreeBSD
  install.
 
  The only thing that I might be missing is Plex, but due to lack 
 browser
  per folder feature, I will stick to open standard - DLNA.
 
  Peter
 
 
  Hi, I've installed debian 6 in a jail, from FreeBsd 9.1 x86-64 by 
 following the instructions from this thread. However, I also updated my 
 /etc/resolv.conf inside the jail, but I get this error when I do ping:
 
 ping is usually denied from within a jail (for security purposes).
 
 Add the following to /etc/rc.conf:
 
 jail_sysvipc_allow=YES
 
 And then reboot.

I've tried that, but I got the same results:

root@debian:/# ping www.google.com
WARNING: setsockopt(ICMP_FILTER): Protocol not available
WARNING: your kernel is veeery old. No problems.
PING www.google.com (173.194.42.16) 56(84) bytes of data.
ping: recvmsg: Invalid argument
ping: recvmsg: Invalid argument
ping: recvmsg: Invalid argument
ping: recvmsg: Invalid argument

--- www.google.com ping statistics ---
4 packets transmitted, 0 received, 100% packet loss, time 3078ms

root@debian:/#



 
Leonardo M. Ramé
http://leonardorame.blogspot.com

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


FreeBSD on IBM Power 560

2012-09-27 Thread Leonardo M . Ramé
Hi, does anyone knows if FreeBSD can be installed on this machine:

http://www-03.ibm.com/systems/power/hardware/560/

It's
 an PPC (Power6) based machine. Currently it uses OpenSuse 10, but as it
 is a discontinued version, I would like to know if I can replace it 
with a newer version of FreeBSD.
 
Leonardo M. Ramé
http://leonardorame.blogspot.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


FreeBSD on IBM Power 560

2012-09-27 Thread Leonardo M . Ramé
Hi, does anyone knows if FreeBSD can be installed on this machine:

http://www-03.ibm.com/systems/power/hardware/560/

It's an PPC (Power6) based machine. Currently it uses OpenSuse 10, but as it is 
a discontinued version, I would like to know if I can replace it with a newer 
version of FreeBSD.
 
Leonardo M. Ramé
http://leonardorame.blogspot.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Architectural CAD software

2012-07-26 Thread Leonardo M . Ramé

 From: leeoliveshackelf...@surewest.net leeoliveshackelf...@surewest.net
To: freebsd-questions@freebsd.org 
Sent: Thursday, July 26, 2012 7:53 PM
Subject: Architectural CAD software
 
Good afternoon, FreeBSD enthusiasts.  I did not receive a response to the 
following message, so I would like to rephrase the question.  Does anyone use 
an architectural CAD application with FreeBSD?  If so, would you be willing to 
share any comments, opinions, or advice with me concerning your experience 
with this software?  Many thanks in advance.  Yours truly, Lee Shackelford


Hi Lee, you could ask this same question on a Linux (or better, Ubuntu) 
forum/mailing list, surely you'll receive more answers, then you can see if the 
CAD apps used by them will run on FreeBSD (I'm quite sure them will work).

Why I say a Linux forum is better for this? because I don't know any 
non-computer-geek who uses FreeBSD, but there are a lot of Architects/Graphic 
Artists using Linux, and specially Ubuntu right now. 


Leonardo M. Ramé
http://leonardorame.blogspot.com

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


fsck_ufs running too often

2012-06-22 Thread Leonardo M . Ramé
Hi, since a few of days ago, I noticed my home server turns very slow more than 
once a day, so every time I run top to see what's processes are running, I 
can see fsck_ufs at the very top, and the hard drive working like mad.

I've checked my crontab and there's nothing related to fsck_ufs, where can I 
start searching for the cause of the problem?, I thought this process should 
run only at boot or shutdown, but this time it is running -apparently- without 
a cause.

uname -a:
FreeBSD server.my.local 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan  3 07:46:30 
UTC 2012     r...@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64

Regards,
Leonardo M. Ramé
http://leonardorame.blogspot.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: how can i offload a 600m file without graphic tools?

2012-02-13 Thread Leonardo M . Ramé
Using scp you can copy data to/from your remote FreeBsd system. If the file 
is not on a local network, but on internet, you should use rsync instead of 
scp, it allows to continue copying if the network disconnects.

If your home computer is a Windows PC you can install Cygwin to be able to open 
a console and execute scp. 

-- 
Leonardo M. Ramé
http://leonardorame.blogspot.com



 From: Gary Kline kl...@thought.org
To: FreeBSD Mailing List freebsd-questions@FreeBSD.ORG 
Sent: Monday, February 13, 2012 4:32 PM
Subject: how can i offload a 600m file without graphic tools?
 

w can i move a file from my home filesystem to my one disc drive
without using a GUI?  i don't have a graphic interface on my FBSD
system and want to save a 600MB file to my cdrom?

thanks for tips on what i have Long forgotten!

gary





-- 
Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
           Journey Toward the Dawn, E-Book: http://www.thought.org
          The 8.57a release of Jottings: http://jottings.thought.org
             Twenty-five years of service to the Unix community.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Software Development using Freebsd.

2012-02-06 Thread Leonardo M . Ramé

 From: Mehmet Erol Sanliturk m.e.sanlit...@gmail.com
To: Rod Person rodper...@rodperson.com 
Cc: Jorge Biquez jbiq...@intranet.com.mx; FreeBSD Questions 
questi...@freebsd.org 
Sent: Monday, February 6, 2012 9:22 PM
Subject: Re: Software Development using Freebsd.
 
On Mon, Feb 6, 2012 at 6:40 PM, Rod Person rodper...@rodperson.com wrote:

 On Mon, 06 Feb 2012 16:37:37 -0600
 Jorge Biquez jbiq...@intranet.com.mx wrote:

  Now we will try to have a graphical mode in Freebsd. With that we
  would like to be able to develop graphical applications for Windows
  (we all know that's the market and here some companies is what they
  are looking), so maybe sound crazy but I am looking to develop
  applications for Windows without using WIndows or Microsofot products
  at least.
 

 You could try mono and monodevelop
 http://www.freebsd.org/cgi/url.cgi?ports/devel/monodevelop/pkg-descr

 Mono is the open source version of .NET/C#. This would teach the basics
 of .NET and C#.

  Maybe I am wrong but until now I think my only option is to use
  Phyton. Is that correct? For what I have searched Python will let me
  create executables and will let me create Graphical solutions even
  for other platforms (Mac or LInux or whatever runs Python).

 You can use Python and py2exe to create the executable that would run
 on Windows, but you have to run py2exe on a Windows machine.

 If you know Pascal you can look at the FreePascal and Lazarus. I
 haven't used it in years, but I was able to create several applications
 that ran on both FreeBSD and Windows.
 http://www.freebsd.org/cgi/url.cgi?ports/editors/lazarus/pkg-descr


 --
 Rod Person        http://www.rodperson.com    rodper...@rodperson.com

 Let us in the name of the Holy Trinity, go on sending all the slaves
  that can be sold.
 - Letter from Christopher Columbus.
  J.A. Rawley, The Trans-Atlantic Slave Trade: A History. Pg.3





Lazarus is an IDE ( Integrated Development Environment ) and its compiler
is Free Pascal :


http://www.freepascal.org/
http://www.lazarus.freepascal.org/


When a program is developed in Lazarus , it can directly be compiled in
Windows .
There are a multitude of units for any kind of programming ( Web , Data
base , etc. ) .

Lazarus and FreePascal is available for FreeBSD , Linux , Windows , and
many other operating systems .


A study of the above sites will reveal their capabilities .

http://wiki.freepascal.org/Cross_compiling_for_Win32_under_Linux
http://wiki.lazarus.freepascal.org/Cross_compiling


I did not use , but cross compiling should be possible by using Wine in
FreeBSD to obtain Windows programs ( Windows versions of Lazarus and Free
Pascal may be used in FreeBSD to generate Windows programs and they may be
executed under Wine in FreeBSD for testing before transferred to Windows :
This means a minimum number of Windows computer(s) may be used for final
testing . ) .




Thank you very much .


Mehmet Erol Sanliturk


I do use Lazarus and FreePascal to develop professional applications, mainly I 
work on Linux and cross-compile to Win32/Win64. For FreeBsd I installed 
FreePascal on a Virtual Machine and compiled from it, I never tried 
cross-compiling from FreeBSD to other OSes, but I'm pretty sure it can be done.

An example of what I do is this: http://www.youtube.com/watch?v=hc1RT-s-dw0


Leonardo M. Ramé
http://leonardorame.blogspot.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Samba/CIFS, what I'm serving?

2011-10-29 Thread Leonardo M . Ramé
Hi, I've installed Samba on my server to share some directories to Windows 
machines. It is working very well.

Since a couple of days, I noted the whole server's performance was slow, then I 
started to check open ports, stopped some services, until samba was the only 
service still working (my wife's windows box had some shared files opened).

I wonder if there's a way to configure CIFS to speed this up.

Leonardo.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Strange httpd-error.log

2011-10-29 Thread Leonardo M . Ramé
Hi, I installed the Apache::MP3 module, to stream mp3 files, it works ok, but I 
found this on my httpd-error.log:

[Sat Oct 29 15:11:03 2011] [notice] Digest: generating secret for digest 
authentication ...
[Sat Oct 29 15:11:03 2011] [notice] Digest: done
[Sat Oct 29 15:11:04 2011] [notice] mod_python: Creating 8 session mutexes 
based on 256 max processes and 0 max threads.
[Sat Oct 29 15:11:04 2011] [notice] mod_python: using mutex_directory /tmp
[Sat Oct 29 15:11:04 2011] [notice] Apache/2.2.18 (FreeBSD) mod_ssl/2.2.18 
OpenSSL/0.9.8q DAV/2 mod_python/3.3.1 Python/2.6.5 PHP/5.3.6 with Suhosin-Patch 
mod_perl/2.0.5 Perl/v5.10.1 configu
Usage: /usr/local/sbin/httpd [-D name] [-d directory] [-f file]
                             [-C directive] [-c directive]
                             [-k start|restart|graceful|graceful-stop|stop]
                             [-v] [-V] [-h] [-l] [-L] [-t] [-T] [-S]
Options:
  -D name            : define a name for use in IfDefine name directives
  -d directory       : specify an alternate initial ServerRoot
  -f file            : specify an alternate ServerConfigFile
  -C directive     : process directive before reading config files
  -c directive     : process directive after reading config files
  -e level           : show startup errors of level (see LogLevel)
  -E file            : log startup errors to file
  -v                 : show version number
  -V                 : show compile settings
  -h                 : list available command line options (this page)
  -l                 : list compiled in modules
  -L                 : list available configuration directives
  -t -D DUMP_VHOSTS  : show parsed settings (currently only vhost settings)
  -S                 : a synonym for -t -D DUMP_VHOSTS
  -t -D DUMP_MODULES : show all loaded modules
  -M                 : a synonym for -t -D DUMP_MODULES
  -t                 : run syntax check for config files
  -T                 : start without DocumentRoot(s) check
[Sat Oct 29 15:11:25 2011] Wav.pm: Inline::C installed, but your C compiler 
doesn't seem to work with it

Does anyone knows how to fix this?.

Thanks in advance,
Leonardo.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Firebird 2.5 and SysV Semaphores

2011-05-18 Thread Leonardo M . Ramé
Hi, I have a problem with Firebird 2.5, and posted the issue in their mailing 
list. They suggested that I have to recompile the kernel to allow more SysV 
semaphores. Do you recommend this?

Here's a copy of my mail:

 I recently installed Firebird 2.5 on a FreeBSD, it was running ok
 until this moring when suddendly it stopped accepting connections.

 The server runs via inetd.

 Here is a copy of the last lines of firebird.log:

 ---
 server.rame.local Tue May 17 16:15:33 2011
   ISC_event_wait: semop failed with errno =3D 22


 server.rame.local Tue May 17 16:15:33 2011
   create_semaphores failed:
   operating system directive semget failed
   No space left on device


 server.rame.local Tue May 17 16:15:33 2011
   ISC_event_wait: semop failed with errno =3D 22


 server.rame.local Tue May 17 16:15:33 2011
   create_semaphores failed:
   operating system directive semget failed
   No space left on device

Should rebuild kernel with more SysV semaphores.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Home firewall with DLink router FreeBSD

2011-05-05 Thread Leonardo M . Ramé
Hi, at home I have a DLink Dir 300 router to provide internet access for my 
home network. The network is composed by two Windows PCs, one Linux laptop and 
one FreeBSD server we use mainly for storage and as web/database server.

I must add, the server only have one network card.

I would like to know if its possible to use the FreeBSD server as a Firewall 
for the whole network, securing LAN and WiFi connections. If this can be done, 
then how? could you point me to some howto?.

Thanks in advance,
Leonardo M. Ramé
http://leonardorame.blogspot.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Home firewall with DLink router and FreeBSD

2011-05-05 Thread Leonardo M . Ramé
Hi, at home I have a DLink Dir 300 router to provide internet access for my 
home network. The network is composed by two Windows PCs, one Linux laptop and 
one FreeBSD server we use mainly for storage and as web/database server.

I must add, the server only have one network card.

I would like to know if its possible to use the FreeBSD server as a Firewall 
for the whole network, securing LAN and WiFi connections. If this can be done, 
then how? could you point me to some howto?.

P.S.: this is the 2nd time I send this email, the first time it got caught by 
SpamAssassin. Maybe because a link in my signature.

Thanks in advance,
Leonardo M. Ramé
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Home firewall with DLink router and FreeBSD

2011-05-05 Thread Leonardo M . Ramé
--- On Thu, 5/5/11, Jon Radel j...@radel.com wrote:

 From: Jon Radel j...@radel.com
 Subject: Re: Home firewall with DLink router and FreeBSD
 To: freebsd-questions@freebsd.org
 Date: Thursday, May 5, 2011, 9:50 PM
 
 On 5/5/11 8:37 PM, Leonardo M. Ramé wrote:
  
  Hi, at home I have a DLink Dir 300 router to provide
 internet access for my home network. The network is composed
 by two Windows PCs, one Linux laptop and one FreeBSD server
 we use mainly for storage and as web/database server.
  
  I must add, the server only have one network card.
 
 It becomes difficult to use a server as a firewall unless
 you have an inside and an outside network.  Easiest
 is to simply add another network card, should that be
 possible on your server.  Another possibility is to use
 VLAN taggging and connect the server to a switch that
 understands VLANs.
 
  
  I would like to know if its possible to use the
 FreeBSD server as a Firewall for the whole network, securing
 LAN and WiFi connections. If this can be done, then how?
 could you point me to some howto?.
  
 
 Yes.  I'd start on the FreeBSD website and start
 reading things that look useful.  If you're thinking
 about using pf as your firewall, which I'd personally
 recommend though other options are perfectly workable also,
 there's a nice document on the OpenBSD web site, IIRC.
 

Thanks, I think I better add a 2nd network card, as Daniel suggested. Then I'll 
try this again.

Leonardo M. Ramé
http://leonardorame.blogspot.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


FreeNX server on 64bits?

2011-03-31 Thread Leonardo M . Ramé
Hi, I wanted to install FreeNX server from ports on an amd64 machine, but I 
found the port only supports i386 architecture.

Here's the output:

martin@server:/usr/ports/net/freenx$ sudo make install clean
Password:
===  Installing for freenx-0.6.0_3
===   freenx-0.6.0_3 depends on file: /usr/local/NX/bin/nxagent - not found
===Verifying install for /usr/local/NX/bin/nxagent in 
/usr/ports/net/nxserver
===  nxserver-2.1.0_7 is only for i386, while you are running amd64.
*** Error code 1

Stop in /usr/ports/net/nxserver.
*** Error code 1

Stop in /usr/ports/net/freenx.

Does anyone knows if there's a way to install it on 64bits?

Thanks in advance.

Leonardo M. Ramé
http://leonardorame.blogspot.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Apache2 and UTF-8

2010-11-01 Thread Leonardo M . Ramé
Hi, I would like to know if anyone faced the same issue as me. I have a web 
site encoded as UTF-8, and it looks correctly in Firefox, but not in Google 
Chrome.
My setup is FreeBsd 8.1 - x86_64, Apache 2.2

Thanks,Leonardo.




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Apache2 and UTF-8

2010-11-01 Thread Leonardo M . Ramé
I found the solution, I had to iconv from iso-8859-1 to utf-8 my index.html


Leonardo M. Ramé

http://leonardorame.blogspot.com

--- On Mon, 11/1/10, Leonardo M. Ramé martinr...@yahoo.com wrote:

From: Leonardo M. Ramé martinr...@yahoo.com
Subject: Apache2 and UTF-8
To: freebsd-questions@freebsd.org
Date: Monday, November 1, 2010, 12:58 PM

Hi, I would like to know if anyone faced the same issue as me. I have a web 
site encoded as UTF-8, and it looks correctly in Firefox, but not in Google 
Chrome.
My setup is FreeBsd 8.1 - x86_64, Apache 2.2

Thanks,Leonardo.




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Firebird 2.1.3

2010-08-31 Thread Leonardo M . Ramé
 Washington wrote:
  Yes. If it is not in the ports, you are pretty much on
 your own with
  firebird!
 
 That is why he had asked on questions@ instead of po...@.
 To see if
 anyone else had any luck compiling it on a version of
 FreeBSD over 7.3.
 
 -- 

I got the solution in the firebird-devel list, it's an easy one, just apply 
this patch:

http://git.debian.org/?p=pkg-firebird/2.1.git;a=blob;f=debian/patches/no-static-linkage.patch;hb=HEAD


Leonardo M. Ramé
http://leonardorame.blogspot.com





___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Firebird 2.1.3

2010-08-31 Thread Leonardo M . Ramé
 LMR Hi, does anyone successfully compiled Firebird
 2.1.3+ on FreeBsd 7.2 or superior?.
 
 LMR I'm on 8.1 amd64 and can't compile it.
 on amd64 there some problems
 you can contact to ICQ:382796339
 

Could you tell me what are those problems in amd64?

P.S.: better if we talk in this public mailing list, this way others can learn 
from us!.

Leonardo M. Ramé
http://leonardorame.blogspot.com




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Firebird 2.1.3

2010-08-30 Thread Leonardo M . Ramé
Hi, does anyone successfully compiled Firebird 2.1.3+ on FreeBsd 7.2 or 
superior?.

I'm on 8.1 amd64 and can't compile it.

Leonardo M. Ramé
http://leonardorame.blogspot.com



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Firebird 2.1.3

2010-08-30 Thread Leonardo M . Ramé
This is my procedure to compile it:

export CFLAGS=-DAMD64
./configure --without-editline
gmake

... and after a while I get this:

...
/usr/bin/ld: /usr/lib/libsupc++.a(tinfo2.o): relocation R_X86_64_32S can not be 
used when making a shared object; recompile with -fPIC
/usr/lib/libsupc++.a: could not read symbols: Bad value
gmake[2]: *** [../gen/firebird/lib/libfbclient.so.2.1.3] Error 1
gmake[2]: Leaving directory 
`/usr/home/martin/desarrollo/Firebird-2.1.3.18185-0/gen'
gmake[1]: *** [libfbclient] Error 2
gmake[1]: Leaving directory 
`/usr/home/martin/desarrollo/Firebird-2.1.3.18185-0/gen'
gmake: *** [firebird] Error 2

Any hint?

Leonardo M. Ramé
http://leonardorame.blogspot.com


--- On Mon, 8/30/10, Leonardo M. Ramé martinr...@yahoo.com wrote:

 From: Leonardo M. Ramé martinr...@yahoo.com
 Subject: Firebird 2.1.3
 To: FreeBSD freebsd-questions@freebsd.org
 Date: Monday, August 30, 2010, 5:37 PM
 Hi, does anyone successfully compiled
 Firebird 2.1.3+ on FreeBsd 7.2 or superior?.
 
 I'm on 8.1 amd64 and can't compile it.
 
 Leonardo M. Ramé
 http://leonardorame.blogspot.com
 
 
 
 ___
 freebsd-questions@freebsd.org
 mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
 



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: autoconf 2.63

2010-08-29 Thread Leonardo M . Ramé
Thanks, but I did a portsnap fetch update and the autotools wasn't updated.

How can I get the correct port?


uname -a:
FreeBSD server.rame.local 8.1-RC2 FreeBSD 8.1-RC2 #0: Tue Jun 29 20:21:55 UTC 
2010 r...@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64

Leonardo M. Ramé
http://leonardorame.blogspot.com


--- On Sat, 8/28/10, Anonymous swel...@gmail.com wrote:

 From: Anonymous swel...@gmail.com
 Subject: Re: autoconf 2.63
 To: Leonardo M. Ramé martinr...@yahoo.com
 Cc: freebsd-questions@freebsd.org
 Date: Saturday, August 28, 2010, 11:55 PM
 Leonardo M. Ramé martinr...@yahoo.com
 writes:
 
  Hi, while trying to compile Firebird 2.1.x from
 sources I got this error:
 
  **Error**: You must have autoconf 2.63 or later
 installed.
 
  My first reaction was looking at /usr/ports/devel, but
 found that the
  highest version of autoconf available is 2.62. How can
 I get 2.63?
 
 The patch in ports/149861 contains autoconf-2.67.
   http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/149861
 



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: autoconf 2.63

2010-08-29 Thread Leonardo M . Ramé
I don't have any problem in testing the patch, but...how can I do that?

Leonardo M. Ramé
http://leonardorame.blogspot.com


--- On Sun, 8/29/10, Anonymous swel...@gmail.com wrote:

 From: Anonymous swel...@gmail.com
 Subject: Re: autoconf 2.63
 To: Leonardo M. Ramé martinr...@yahoo.com
 Cc: freebsd-questions@freebsd.org
 Date: Sunday, August 29, 2010, 12:14 PM
 Leonardo M. Ramé martinr...@yahoo.com
 writes:
 
  Thanks, but I did a portsnap fetch update and the
 autotools wasn't updated.
 
  How can I get the correct port?
 
 The PR is not vetted by exp-run yet. If you're not gonna
 test the patch
 then better just wait for it to hit the ports tree.
 



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: autoconf 2.63

2010-08-29 Thread Leonardo M . Ramé
It was easier than I tought:

wget http://ftp.gnu.org/gnu/autoconf/autoconf-2.67.tar.gz
tar xvfz autoconf-2.67.tar.gz
cd autoconf-2.67
./configure
gmake
sudo gmake install 

Leonardo M. Ramé
http://leonardorame.blogspot.com


--- On Sun, 8/29/10, Leonardo M. Ramé martinr...@yahoo.com wrote:

 From: Leonardo M. Ramé martinr...@yahoo.com
 Subject: Re: autoconf 2.63
 To: freebsd-questions@freebsd.org
 Date: Sunday, August 29, 2010, 12:16 PM
 I don't have any problem in testing
 the patch, but...how can I do that?
 
 Leonardo M. Ramé
 http://leonardorame.blogspot.com
 
 
 --- On Sun, 8/29/10, Anonymous swel...@gmail.com
 wrote:
 
  From: Anonymous swel...@gmail.com
  Subject: Re: autoconf 2.63
  To: Leonardo M. Ramé martinr...@yahoo.com
  Cc: freebsd-questions@freebsd.org
  Date: Sunday, August 29, 2010, 12:14 PM
  Leonardo M. Ramé martinr...@yahoo.com
  writes:
  
   Thanks, but I did a portsnap fetch update and
 the
  autotools wasn't updated.
  
   How can I get the correct port?
  
  The PR is not vetted by exp-run yet. If you're not
 gonna
  test the patch
  then better just wait for it to hit the ports tree.
  
 
 
 
 ___
 freebsd-questions@freebsd.org
 mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
 



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


autoconf 2.63

2010-08-28 Thread Leonardo M . Ramé
Hi, while trying to compile Firebird 2.1.x from sources I got this error:

**Error**: You must have autoconf 2.63 or later installed.

My first reaction was looking at /usr/ports/devel, but found that the highest 
version of autoconf available is 2.62. How can I get 2.63?

Thanks, in advance.

Leonardo M. Ramé
http://leonardorame.blogspot.com


 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


WLAN stops working when idle

2010-07-19 Thread Leonardo M . Ramé
I have noted that my wlan stops responding when the O.S. does not use the 
network for a while (10 minutes aprox), and I have to do ifconfig wlan0 down 
 ifconfig wlan0 up  dhclient wlan0 to reconnect.

The network card is the internal Wi-Fi from my Dell Inspiron 1525, and uses 
ndis to wrap the WinXp driver.

/etc/rc.conf:
...
wlans_ndis0=wlan0
ifconfig_wlan0=WPA SYNCDHCP
wpa_supplicant_enable=YES
...

/etc/wpa_supplicant.conf

ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel
ap_scan=1
network={
ssid=strada
key_mgmt=WPA-PSK
psk=martin13
}

uname -a:

FreeBSD inspiron-1521 8.1-RC2 FreeBSD 8.1-RC2 #0: Tue Jun 29 20:42:40 UTC 2010  
   r...@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386


Any hint?

Leonardo M. Ramé
http://leonardorame.blogspot.com


   
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Spanish keyboard in X

2010-07-18 Thread Leonardo M . Ramé
Hi,I'm trying to configure spanish keyboard in FreeBsd 8.1-RC2 with no luck, 
I've read many documents on the web, but they seem to be rather old, or assume 
that the user has Gnome or KDE installed, I use Awesome WM.

Any hint?

Leonardo M. Ramé
http://leonardorame.blogspot.com


  
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Spanish keyboard in X

2010-07-18 Thread Leonardo M . Ramé
Yes,I have modified xorg.conf the same way as you mentioned.

Anyway, now the problem is solved by adding setxkbmap es  to my .xsession

Thanks.

Leonardo M. Ramé
http://leonardorame.blogspot.com


--- On Sun, 7/18/10, Polytropon free...@edvax.de wrote:

 From: Polytropon free...@edvax.de
 Subject: Re: Spanish keyboard in X
 To: Leonardo M. Ramé martinr...@yahoo.com
 Cc: freebsd-questions@freebsd.org
 Date: Sunday, July 18, 2010, 2:36 PM
 On Sun, 18 Jul 2010 09:49:16 -0700
 (PDT), Leonardo M. Ramé martinr...@yahoo.com
 wrote:
  Hi,I'm trying to configure spanish keyboard in FreeBsd
 8.1-RC2
  with no luck, I've read many documents on the web, but
 they seem
  to be rather old, or assume that the user has Gnome or
 KDE
  installed, I use Awesome WM.
  
  Any hint?
 
 What's wrong about the old-fashioned way of using
 xorg.conf as
 a central means of X configuration? :-)
 
 Section InputDevice
         Identifier     
 Keyboard0
         Driver     
     kbd
         Option     
     XkbModel         
     pc105
         Option     
     XkbLayout         
    de
         Option     
     AutoRepeat         
   250 30
 EndSection
 
 Of course, you have to set the correct codes for spanish
 layout
 (setting XkbLayout), it should be es.
 
 
 -- 
 Polytropon
 Magdeburg, Germany
 Happy FreeBSD user since 4.0
 Andra moi ennepe, Mousa, ...
 



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


utf8 characters in terminal

2010-07-18 Thread Leonardo M . Ramé
Hi, I installed Freebsd 8.1-RC2 in my home server to be used mainly as a file 
server, it used to have Ubuntu 9.10-Server installed on it, then I backed up 
(.tar.gz) the /home directory, that contains many spanish accented files and 
subdirectories in UTF8.

Now, when I access this machine using ssh, some of those files include ?? and 
\303 or similar characters instead of the correct accents.

What can I do to show the files in the correct way?.

Leonardo M. Ramé
http://leonardorame.blogspot.com



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Problem upgrading 7.2 to 8.0-RC1

2009-09-30 Thread Leonardo M . Ramé
Hi, I'm trying to upgrade from 7.2 to 8.0-RC1 without success. Any hint?

This is my data:

uname -a: 
FreeBSD toshiba-leo.localhost.localdomain 7.2-STABLE-200906 FreeBSD 
7.2-STABLE-200906 #0: Sun Jun  7 10:23:49 UTC 2009 
r...@driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64

freebsd-update:

[r...@toshiba-leo]# freebsd-update -v debug -r 8.0-RC1 upgrade
Looking up update.FreeBSD.org mirrors... 3 mirrors found.
Fetching public key from update5.FreeBSD.org... fetch: 
http://update5.FreeBSD.org/7.2-STABLE-200906/amd64/pub.ssl: Not Found
failed.
Fetching public key from update2.FreeBSD.org... fetch: 
http://update2.FreeBSD.org/7.2-STABLE-200906/amd64/pub.ssl: Not Found
failed.
Fetching public key from update4.FreeBSD.org... fetch: 
http://update4.FreeBSD.org/7.2-STABLE-200906/amd64/pub.ssl: Not Found
failed.
No mirrors remaining, giving up.



Leonardo M. Ramé
http://leonardorame.blogspot.com



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Problem upgrading 7.2 to 8.0-RC1

2009-09-30 Thread Leonardo M . Ramé
 From: Adam Vande More amvandem...@gmail.com
 Subject: Re: Problem upgrading 7.2 to 8.0-RC1
 To: Leonardo M. Ramé martinr...@yahoo.com
 Cc: freebsd-questions@freebsd.org
 Date: Wednesday, September 30, 2009, 11:45 AM
 On Wed, Sep 30,
 2009 at 9:38 AM, Leonardo M. Ramé martinr...@yahoo.com
 wrote:
 
 Hi, I'm trying to upgrade from 7.2 to 8.0-RC1 without
 success. Any hint?
 
 
 
 This is my data:
 
 
 
 uname -a:
 
 FreeBSD toshiba-leo.localhost.localdomain 7.2-STABLE-200906
 FreeBSD 7.2-STABLE-200906 #0: Sun Jun  7 10:23:49 UTC 2009
    
 r...@driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC
  amd64
 
 
 
 freebsd-update:
 
 
 
 [r...@toshiba-leo]# freebsd-update -v debug -r 8.0-RC1
 upgrade
 
 Looking up update.FreeBSD.org
 mirrors... 3 mirrors found.
 
 Fetching public key from update5.FreeBSD.org... fetch: 
 http://update5.FreeBSD.org/7.2-STABLE-200906/amd64/pub.ssl:
 Not Found
 
 failed.
 
 Fetching public key from update2.FreeBSD.org... fetch: 
 http://update2.FreeBSD.org/7.2-STABLE-200906/amd64/pub.ssl:
 Not Found
 
 failed.
 
 Fetching public key from update4.FreeBSD.org... fetch: 
 http://update4.FreeBSD.org/7.2-STABLE-200906/amd64/pub.ssl:
 Not Found
 
 failed.
 
 No mirrors remaining, giving up.
 
 
 
 
 
 
 
 Leonardo M. Ramé
 
 http://leonardorame.blogspot.com
 
 
 
 
 
 man freebsd-update
 
 DESCRIPTION
  The freebsd-update tool is used to fetch, install,
 and rollback binary
  updates to the FreeBSD base system.  Note that
 updates are only available
 
  if they are being built for the FreeBSD release
 and architecture being
  used; in particular, the FreeBSD Security Team
 only builds updates for
  releases shipped in binary form by the FreeBSD
 Release Engineering Team,
 
  e.g., FreeBSD 6.1-RELEASE and FreeBSD 6.2-RC1, but
 not FreeBSD 6.2-STABLE
  or FreeBSD 7.0-CURRENT.
 
 You are not running supported version.
 
 
 -- 
 Adam Vande More
 


Thanks Adam, any workaround to upgrade to 8.0?

Leonardo.



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


NetGear WPN111 and FreeBSD 7.2

2009-09-29 Thread Leonardo M . Ramé
Hi, I just bought an NetGear WPN111 USB Wireless adapter after reading the 
Wireless Networking section of the workbook, but unfortunately I can't make it 
work.

I included this in my /boot/loader.conf:

if_ath_load=YES
wlan_scan_ap_load=YES
wlan_scan_sta_load=YES
wlan_wep_load=YES
wlan_ccmp_load=YES
wlan_tkip_load=YES

The card is recognized as ugen1, but I can't do a ifconfig ugen1 up. Does 
anyone uses this card?

Thanks in advance,
Leonardo M. Ramé
http://leonardorame.blogspot.com




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: NetGear WPN111 and FreeBSD 7.2

2009-09-29 Thread Leonardo M . Ramé
Thanks Warren, now how can I upgrade to 8 without destroying my current 
configuration?


Leonardo M. Ramé
http://leonardorame.blogspot.com

--- On Tue, 9/29/09, Warren Block wbl...@wonkity.com wrote:

 From: Warren Block wbl...@wonkity.com
 Subject: Re: NetGear WPN111 and FreeBSD 7.2
 To: Leonardo M. Ramé martinr...@yahoo.com
 Cc: freebsd-questions@freebsd.org
 Date: Tuesday, September 29, 2009, 9:56 AM
 On Tue, 29 Sep 2009, Leonardo M. Ram?
 wrote:
 
  Hi, I just bought an NetGear WPN111 USB Wireless
 adapter after reading the Wireless Networking section of the
 workbook, but unfortunately I can't make it work.
 
  I included this in my /boot/loader.conf:
 
  if_ath_load=YES
  wlan_scan_ap_load=YES
  wlan_scan_sta_load=YES
  wlan_wep_load=YES
  wlan_ccmp_load=YES
  wlan_tkip_load=YES
 
  The card is recognized as ugen1, but I can't do a
 ifconfig ugen1 up. Does anyone uses this card?
 
 The driver is uath, but it is apparently only in FreeBSD
 8.
 
 -Warren Block * Rapid City, South Dakota USA
 



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Intel Pro Wireless 5100 AGN

2009-08-27 Thread Leonardo M . Ramé
Any news about the Intel Pro Wireless 5100 AGN driver for FreeBSD 7.2 - Amd64?

Leonardo M. Ramé
http://leonardorame.blogspot.com





___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Intel 5100 agn driver

2009-08-18 Thread Leonardo M . Ramé
Thanks Glen, I also can build the module with ndisgen, and it doesn't panic, 
but when I do ifconfig I can't see the ndis0 device. 

However, I found this post on a Linux forum saying they can use the device. I 
wonder if freebsd can load linux drivers using linuxsulator?.

Leonardo M. Ramé
http://leonardorame.blogspot.com


--- On Mon, 8/17/09, Glen Barber glen.j.bar...@gmail.com wrote:

 From: Glen Barber glen.j.bar...@gmail.com
 Subject: Re: Intel 5100 agn driver
 To: Leonardo M. Ramé martinr...@yahoo.com
 Cc: freebsd-questions@freebsd.org
 Date: Monday, August 17, 2009, 2:50 PM
 On Mon, Aug 17, 2009 at 10:57 AM,
 Leonardo M. Ramémartinr...@yahoo.com
 wrote:
  Hi, does anyone knows if the driver for the Intel 5100
 agn included in many new notebooks is ready to use in
 7.2-STABLE for amd64?, if not, at least i'm looking for some
 pointers to creating a ndis wrapper for its WinXP driver.
 
 
 Hi, Leonardo
 
 I'm in the same situation you are in.  Regarding an
 official driver,
 there is not anything available (yet).  The last post
 I saw in the
 -net archives mentions the driver was not currently being
 worked on (I
 do not know how much truth this holds now).
 
 Regarding ndis/ndisgen, I was able to create a module in
 7.2-RELEASE
 and 8.0-BETA2, however both caused panics (which I was
 unable to get
 cores on - mostly because of time constraints).  As
 expected, your
 results may vary.
 
 -- 
 Glen Barber
 ___
 freebsd-questions@freebsd.org
 mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
 



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Intel 5100 agn driver

2009-08-17 Thread Leonardo M . Ramé
Hi, does anyone knows if the driver for the Intel 5100 agn included in many new 
notebooks is ready to use in 7.2-STABLE for amd64?, if not, at least i'm 
looking for some pointers to creating a ndis wrapper for its WinXP driver.

Thanks in advance,
Leonardo.



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Xorg slow on Toshiba A305 SP6926A

2009-08-14 Thread Leonardo M . Ramé
Thanks George, that worked!.

Leonardo M. Ramé
http://leonardorame.blogspot.com


--- On Fri, 8/14/09, George Liaskos geo.lias...@gmail.com wrote:

 From: George Liaskos geo.lias...@gmail.com
 Subject: Re: Xorg slow on Toshiba A305 SP6926A
 To: Leonardo M. Ramé martinr...@yahoo.com
 Cc: freebsd-questions@freebsd.org
 Date: Friday, August 14, 2009, 4:13 AM
 Try the following options in your
 Device section:
 
 Option       
 AccelMethod        EXA
 Option       
 MigrationHeuristic    greedy
 
 On Fri, Aug 14, 2009 at 3:51 AM, Leonardo M. Ramé martinr...@yahoo.com
 wrote:
 
  Hi, I installed 7.2 amd64 on a Toshiba Satellite A305
 SP6926A and it looks like Xorg is too slow on this machine.
 Does anyone have this notebook, can share its xorg.conf?
 
  uname -a
  FreeBSD toshiba-leo.localhost.localdomain
 7.2-STABLE-200906 FreeBSD 7.2-STABLE-200906 #0: Sun Jun  7
 10:23:49 UTC 2009     
 r...@driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC
  amd64
 
  /etc/rc.conf
  keymap=spanish.iso.acc
  sshd_enable=YES
  # -- sysinstall generated deltas -- # Thu Aug 13
 12:05:46 2009
  ifconfig_re0=DHCP
  hostname=toshiba-leo.localhost.localdomain
  hald_enable=YES
  dbus_enable=YES
 
 
  xorg.conf
 
  Section ServerLayout
         Identifier     X.org Configured
         Screen      0  Screen0 0 0
         InputDevice    Mouse0 CorePointer
         InputDevice    Keyboard0
 CoreKeyboard
  EndSection
 
  Section Files
         ModulePath  
 /usr/local/lib/xorg/modules
         FontPath    
 /usr/local/lib/X11/fonts/misc/
         FontPath    
 /usr/local/lib/X11/fonts/TTF/
         FontPath    
 /usr/local/lib/X11/fonts/OTF
         FontPath    
 /usr/local/lib/X11/fonts/Type1/
         FontPath    
 /usr/local/lib/X11/fonts/100dpi/
         FontPath    
 /usr/local/lib/X11/fonts/75dpi/
  EndSection
 
  Section Module
         Load  dbe
         Load  dri
         Load  dri2
         Load  extmod
         Load  glx
         Load  record
  EndSection
 
  Section InputDevice
         Identifier  Keyboard0
         Driver      kbd
  EndSection
 
  Section InputDevice
         Identifier  Mouse0
         Driver      mouse
         Option      Protocol auto
         Option      Device /dev/sysmouse
         Option      ZAxisMapping 4 5 6 7
  EndSection
 
  Section Monitor
         Identifier   Monitor0
         VendorName   Monitor Vendor
         ModelName    Monitor Model
  EndSection
 
  Section Device
         ### Available Driver options are:-
         ### Values: i: integer, f:
 float, bool: True/False,
         ### string: String, freq:
 f Hz/kHz/MHz
         ### [arg]: arg optional
         #Option     NoAccel            
       # [bool]
         #Option     SWcursor            
      # [bool]
         #Option     ColorKey            
      # i
         #Option     CacheLines          
      # i
         #Option     Dac6Bit            
       # [bool]
         Option     DRI                
        # [bool]
         #Option     NoDDC              
       # [bool]
         #Option     ShowCache            
     # [bool]
         #Option     XvMCSurfaces          
    # i
         #Option     PageFlip            
      # [bool]
         Identifier  Card0
         Driver      intel
         VendorName  Intel Corporation
         BoardName   Mobile 4 Series Chipset
 Integrated Graphics Controller
         BusID       PCI:0:2:0
  EndSection
 
  Section Screen
         Identifier Screen0
         Device     Card0
         Monitor    Monitor0
         SubSection Display
                 Viewport   0 0
                 Depth     1
         EndSubSection
         SubSection Display
                 Viewport   0 0
                 Depth     4
         EndSubSection
         SubSection Display
                 Viewport   0 0
                 Depth     8
         EndSubSection
         SubSection Display
                 Viewport   0 0
                 Depth     15
         EndSubSection
         SubSection Display
                 Viewport   0 0
                 Depth     16
         EndSubSection
         SubSection Display
                 Viewport   0 0
                 Depth     24
         EndSubSection
  EndSection
 
 
 
 
  Leonardo M. Ramé
  http://leonardorame.blogspot.com
 
 
 
  ___
  freebsd-questions@freebsd.org
 mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
 



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


More on Toshiba A305 SP6926A

2009-08-14 Thread Leonardo M . Ramé
A new issue I found is I can't control screen brightness  contrast. This 
machine has this control in Windows by clicking the [FN Key]+F6/F7.

Does anyone knows how to enable this in FreeBsd?

Thanks in advance,
Leonardo.



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Xorg slow on Toshiba A305 SP6926A

2009-08-13 Thread Leonardo M . Ramé
Hi, I installed 7.2 amd64 on a Toshiba Satellite A305 SP6926A and it looks like 
Xorg is too slow on this machine. Does anyone have this notebook, can share its 
xorg.conf?

uname -a
FreeBSD toshiba-leo.localhost.localdomain 7.2-STABLE-200906 FreeBSD 
7.2-STABLE-200906 #0: Sun Jun  7 10:23:49 UTC 2009 
r...@driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64

/etc/rc.conf
keymap=spanish.iso.acc
sshd_enable=YES
# -- sysinstall generated deltas -- # Thu Aug 13 12:05:46 2009
ifconfig_re0=DHCP
hostname=toshiba-leo.localhost.localdomain
hald_enable=YES
dbus_enable=YES


xorg.conf

Section ServerLayout
Identifier X.org Configured
Screen  0  Screen0 0 0
InputDeviceMouse0 CorePointer
InputDeviceKeyboard0 CoreKeyboard
EndSection

Section Files
ModulePath   /usr/local/lib/xorg/modules
FontPath /usr/local/lib/X11/fonts/misc/
FontPath /usr/local/lib/X11/fonts/TTF/
FontPath /usr/local/lib/X11/fonts/OTF
FontPath /usr/local/lib/X11/fonts/Type1/
FontPath /usr/local/lib/X11/fonts/100dpi/
FontPath /usr/local/lib/X11/fonts/75dpi/
EndSection

Section Module
Load  dbe
Load  dri
Load  dri2
Load  extmod
Load  glx
Load  record
EndSection

Section InputDevice
Identifier  Keyboard0
Driver  kbd
EndSection

Section InputDevice
Identifier  Mouse0
Driver  mouse
Option  Protocol auto
Option  Device /dev/sysmouse
Option  ZAxisMapping 4 5 6 7
EndSection

Section Monitor
Identifier   Monitor0
VendorName   Monitor Vendor
ModelNameMonitor Model
EndSection

Section Device
### Available Driver options are:-
### Values: i: integer, f: float, bool: True/False,
### string: String, freq: f Hz/kHz/MHz
### [arg]: arg optional
#Option NoAccel   # [bool]
#Option SWcursor  # [bool]
#Option ColorKey  # i
#Option CacheLines# i
#Option Dac6Bit   # [bool]
Option DRI# [bool]
#Option NoDDC # [bool]
#Option ShowCache # [bool]
#Option XvMCSurfaces  # i
#Option PageFlip  # [bool]
Identifier  Card0
Driver  intel
VendorName  Intel Corporation
BoardName   Mobile 4 Series Chipset Integrated Graphics Controller
BusID   PCI:0:2:0
EndSection

Section Screen
Identifier Screen0
Device Card0
MonitorMonitor0
SubSection Display
Viewport   0 0
Depth 1
EndSubSection
SubSection Display
Viewport   0 0
Depth 4
EndSubSection
SubSection Display
Viewport   0 0
Depth 8
EndSubSection
SubSection Display
Viewport   0 0
Depth 15
EndSubSection
SubSection Display
Viewport   0 0
Depth 16
EndSubSection
SubSection Display
Viewport   0 0
Depth 24
EndSubSection
EndSection




Leonardo M. Ramé
http://leonardorame.blogspot.com



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


nspluginwrapper freezes Firefox35

2009-08-09 Thread Leonardo M . Ramé
Hi, a couple of days ago I upgraded linux-f8-flashplugin10 and nspluginwrapper. 
They seems to work better than before, but them freezes Firefox 3.5 aftwer a 
while, specially while using yahoo mail (because of its flash banners).

To fix it, I have to killall npviewer.bin.

I'm running 7.2 for i386. Any hint on this?

Leonardo M. Ramé
http://leonardorame.blogspot.com



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Filezilla doesn't work after libjpeg upgrade

2009-08-02 Thread Leonardo M . Ramé

Thanks Dan, it was WxGTK2 that caused the issue. It was solved by a simple 
portupgrade wxgtk2.


Leonardo M. Ramé
http://leonardorame.blogspot.com


--- On Sat, 8/1/09, Dan Nelson dnel...@allantgroup.com wrote:

 From: Dan Nelson dnel...@allantgroup.com
 Subject: Re: Filezilla doesn't work after libjpeg upgrade
 To: Leonardo M. Ramé martinr...@yahoo.com
 Cc: freebsd-questions@freebsd.org
 Date: Saturday, August 1, 2009, 7:28 PM
 In the last episode (Aug 01),
 Leonardo M. Ramé said:
  
  A couple of weeks ago I upgraded libjpeg to 10, and
 had to upgrade a bunch
  of programs that required this library.
  
  Today I needed to use FileZilla client and received
 this error:
  
  /libexec/ld-elf.so.1: Shared object libjpeg.so.9 not
 found, required by libwx_gtk2_aui-2.8.so.0
  
  I tried to recompile FileZilla to avoid the error and
 it is still showing.
 
 Sounds like you missed upgrading whatever port installed
 libwx_gtk2_aui-2.8.so.0, since it still depends on
 libjpeg.so.9.  Run
 locate libwx_gtk2_aui-2.8.so.0, then pkg_info -W
 (whatever locate
 finds), then portupgrade -f (whatever pkg_info finds).
 
 -- 
     Dan Nelson
     dnel...@allantgroup.com
 



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Dell Touchpad and Mouse

2009-08-02 Thread Leonardo M . Ramé

Hi, my home computer is a Dell Inspiron 1525. When I use it in Windows, the 
touchpad is automatically disabled when I connect an USB mouse. I noted in 
FreeBSD the mouse and touchpad are allways enabled.

Does anyone knows how can I fix this?.

Leonardo M. Ramé
http://leonardorame.blogspot.com



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Filezilla doesn't work after libjpeg upgrade

2009-08-01 Thread Leonardo M . Ramé

A couple of weeks ago I upgraded libjpeg to 10, and had to upgrade a bunch of 
programs that required this library. 

Today I needed to use FileZilla client and received this error:

/libexec/ld-elf.so.1: Shared object libjpeg.so.9 not found, required by 
libwx_gtk2_aui-2.8.so.0

I tried to recompile FileZilla to avoid the error and it is still showing.

How can I avoid this?.

Leonardo M. Ramé
http://leonardorame.blogspot.com



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Shared library structure

2009-07-27 Thread Leonardo M . Ramé

Hi, the current version of FreePascal doesn't include shared library (.so) 
support on FreeBSD. Because I like to use FPC on this operating system, I'll 
try to implement it.

To do this, I need to know the structure of a FreeBSD shared library, its 
initialization/finalization functions, and so on. Where can I find up to date 
information about this?

Thanks in advance,
Leonardo M. Ramé
http://leonardorame.blogspot.com




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: OpenVPN Client

2009-07-26 Thread Leonardo M . Ramé

Thanks Drew!, I'll change my home network to test this.

Leonardo.

--- On Sun, 7/26/09, Drew Tomlinson d...@mykitchentable.net wrote:

 From: Drew Tomlinson d...@mykitchentable.net
 Subject: Re: OpenVPN Client
 To: Leonardo M. Ramé martinr...@yahoo.com
 Cc: freebsd-questions@freebsd.org
 Date: Sunday, July 26, 2009, 9:01 PM
 Leonardo M. Ramé wrote:
  Well, I opted for deinstalling openvpn and install
 openvpn-devel (2.1). Now it reads my client.ovpn file, and
 it seems to be going a little step further, now it seems to
 be a problem with route add.
    
 It's not really a problem with 'route add'.  The
 problem is that a route
 for 192.168.0.0 already exists.
  I have to mention that the client machine is connected
 to a router using DHCP in the network 192.168.0.xxx. Can
 this be the problem?
    
 Yes.
 
  This is the new log:
 
  Sat Jul 25 16:20:10 2009 OpenVPN 2.1_rc18
 i386-portbld-freebsd7.2 [SSL] [LZO2] [PKCS11] built on Jul
 25 2009
  Sat Jul 25 16:20:13 2009 NOTE: OpenVPN 2.1 requires
 '--script-security 2' or higher to call user-defined scripts
 or executables
  Sat Jul 25 16:20:13 2009 Control Channel
 Authentication: tls-auth using INLINE static key file
  Sat Jul 25 16:20:13 2009 Outgoing Control Channel
 Authentication: Using 160 bit message hash 'SHA1' for HMAC
 authentication
  Sat Jul 25 16:20:13 2009 Incoming Control Channel
 Authentication: Using 160 bit message hash 'SHA1' for HMAC
 authentication
  Sat Jul 25 16:20:13 2009 LZO compression initialized
  Sat Jul 25 16:20:13 2009 Control Channel MTU parms [
 L:1544 D:168 EF:68 EB:0 ET:0 EL:0 ]
  Sat Jul 25 16:20:13 2009 Data Channel MTU parms [
 L:1544 D:1450 EF:44 EB:135 ET:0 EL:0 AF:3/1 ]
  Sat Jul 25 16:20:13 2009 Local Options hash (VER=V4):
 'ee93268d'
  Sat Jul 25 16:20:13 2009 Expected Remote Options hash
 (VER=V4): 'bd577cd1'
  Sat Jul 25 16:20:13 2009 Attempting to establish TCP
 connection with 200.80.219.194:443 [nonblock]
  Sat Jul 25 16:20:14 2009 TCP connection established
 with 200.80.219.194:443
  Sat Jul 25 16:20:14 2009 Socket Buffers:
 R=[66608-65536] S=[33304-65536]
  Sat Jul 25 16:20:14 2009 TCPv4_CLIENT link local:
 [undef]
  Sat Jul 25 16:20:14 2009 TCPv4_CLIENT link remote:
 200.80.219.194:443
  Sat Jul 25 16:20:14 2009 TLS: Initial packet from
 200.80.219.194:443, sid=f4722bb3 aafe8f23
  Sat Jul 25 16:20:14 2009 WARNING: this configuration
 may cache passwords in memory -- use the auth-nocache option
 to prevent this
  Sat Jul 25 16:20:15 2009 VERIFY OK: depth=1,
 /CN=OpenVPN_CA
  Sat Jul 25 16:20:15 2009 VERIFY OK: nsCertType=SERVER
  Sat Jul 25 16:20:15 2009 VERIFY OK: depth=0,
 /CN=OpenVPN_Server
  Sat Jul 25 16:20:15 2009 Data Channel Encrypt: Cipher
 'BF-CBC' initialized with 128 bit key
  Sat Jul 25 16:20:15 2009 Data Channel Encrypt: Using
 160 bit message hash 'SHA1' for HMAC authentication
  Sat Jul 25 16:20:15 2009 Data Channel Decrypt: Cipher
 'BF-CBC' initialized with 128 bit key
  Sat Jul 25 16:20:15 2009 Data Channel Decrypt: Using
 160 bit message hash 'SHA1' for HMAC authentication
  Sat Jul 25 16:20:15 2009 Control Channel: TLSv1,
 cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 1024 bit RSA
  Sat Jul 25 16:20:15 2009 [OpenVPN_Server] Peer
 Connection Initiated with 200.80.219.194:443
  Sat Jul 25 16:20:16 2009 SENT CONTROL
 [OpenVPN_Server]: 'PUSH_REQUEST' (status=1)
  Sat Jul 25 16:20:16 2009 PUSH: Received control
 message: 'PUSH_REPLY,route-delay 5
 30,dhcp-pre-release,dhcp-renew,dhcp-release,redirect-private
 local,redirect-private bypass-dhcp,redirect-private
 bypass-dns,route-metric 101,route 192.168.0.0
 255.255.255.0,route-gateway 172.16.0.1,topology subnet,ping
 8,ping-restart 90,socket-flags TCP_NODELAY,ifconfig
 172.16.0.2 255.255.0.0'
  Sat Jul 25 16:20:16 2009 Options error: Unrecognized
 option or missing parameter(s) in [PUSH-OPTIONS]:2:
 dhcp-pre-release (2.1_rc18)
  Sat Jul 25 16:20:16 2009 Options error: Unrecognized
 option or missing parameter(s) in [PUSH-OPTIONS]:3:
 dhcp-renew (2.1_rc18)
  Sat Jul 25 16:20:16 2009 Options error: Unrecognized
 option or missing parameter(s) in [PUSH-OPTIONS]:4:
 dhcp-release (2.1_rc18)
  Sat Jul 25 16:20:16 2009 OPTIONS IMPORT: timers and/or
 timeouts modified
  Sat Jul 25 16:20:16 2009 OPTIONS IMPORT:
 --socket-flags option modified
  Sat Jul 25 16:20:16 2009 NOTE: setsockopt
 TCP_NODELAY=1 failed (No kernel support)
  Sat Jul 25 16:20:16 2009 OPTIONS IMPORT: --ifconfig/up
 options modified
  Sat Jul 25 16:20:16 2009 OPTIONS IMPORT: route options
 modified
  Sat Jul 25 16:20:16 2009 OPTIONS IMPORT: route-related
 options modified
  Sat Jul 25 16:20:16 2009 ROUTE
 default_gateway=192.168.0.1
  Sat Jul 25 16:20:16 2009 TUN/TAP device /dev/tun0
 opened
  Sat Jul 25 16:20:16 2009 /sbin/ifconfig tun0
 172.16.0.2 172.16.0.2 netmask 255.255.0.0 mtu 1500 up
  Sat Jul 25 16:20:16 2009 /sbin/route add -net
 172.16.0.0 172.16.0.2 255.255.0.0
  add net 172.16.0.0: gateway 172.16.0.2
  Sat Jul 25 16:20:21 2009 WARNING: potential route
 subnet conflict between

OpenVPN Client

2009-07-25 Thread Leonardo M . Ramé

Hi, I'm trying to connect to an OpenVPN server in my office. To do this, I 
installed OpenVPN 2.0.6 i386-portbld-freebsd7.2 [SSL] [LZO] from ports, and 
looking at different tutorials I found it needs a config file in 
/usr/local/etc/openvpn/openvpn.conf. The problem here, is that our server 
provides an client.ovpn file containing all the connection params needed by a 
client, in fact, we connect windows machines just by installing 
OpenVPN_Installer.exe, it configures a TAP device and a client that reads the 
client.ovpn file.

Now, in my FreeBSD 7.2 i386 machine, I did this:

Created the /usr/local/etc/openvpn/openvpn.conf (the port doesn't created it 
automatically) with this content:

remote 200.80.219.194.static.techtelnet.net
client
proto tcp 
port 443
dev tun 
ns-cert-type server
auth-user-pass
auth-retry interact
comp-lzo
user nobody
group nobody
verb 3
ca /usr/local/etc/openvpn/keys/ca.key
cert /usr/local/etc/openvpn/keys/cert.key
key /usr/local/etc/openvpn/keys/key.key

This contents are extracted from client.ovpn, and ca, cert and key files 
were extracted from the same file.

I kldload tun, but when I do ifconfig, it doesn't shows nothing related to tun 
or tap.

Also, when I do openvpn /usr/local/etc/openvpn/openvpn.conf the results are 
this:

Sat Jul 25 11:24:09 2009 OpenVPN 2.0.6 i386-portbld-freebsd7.2 [SSL] [LZO] 
built on Jul 24 2009
Enter Auth Username:nico
Enter Auth Password:
Sat Jul 25 11:24:13 2009 WARNING: you are using user/group/chroot without 
persist-key/persist-tun -- this may cause restarts to fail
Sat Jul 25 11:24:13 2009 WARNING: file '/usr/local/etc/openvpn/keys/key.key' is 
group or others accessible
Sat Jul 25 11:24:13 2009 LZO compression initialized
Sat Jul 25 11:24:13 2009 Control Channel MTU parms [ L:1544 D:140 EF:40 EB:0 
ET:0 EL:0 ]
Sat Jul 25 11:24:13 2009 Data Channel MTU parms [ L:1544 D:1450 EF:44 EB:135 
ET:0 EL:0 AF:3/1 ]
Sat Jul 25 11:24:13 2009 Local Options hash (VER=V4): '69109d17'
Sat Jul 25 11:24:13 2009 Expected Remote Options hash (VER=V4): 'c0103fa8'
Sat Jul 25 11:24:13 2009 NOTE: UID/GID downgrade will be delayed because of 
--client, --pull, or --up-delay
Sat Jul 25 11:24:13 2009 Attempting to establish TCP connection with 
200.80.219.194:443
Sat Jul 25 11:24:13 2009 TCP connection established with 200.80.219.194:443
Sat Jul 25 11:24:13 2009 TCPv4_CLIENT link local: [undef]
Sat Jul 25 11:24:13 2009 TCPv4_CLIENT link remote: 200.80.219.194:443
Sat Jul 25 11:24:13 2009 Connection reset, restarting [0]
Sat Jul 25 11:24:13 2009 TCP/UDP: Closing socket
Sat Jul 25 11:24:13 2009 SIGUSR1[soft,connection-reset] received, process 
restarting
Sat Jul 25 11:24:13 2009 Restart pause, 5 second(s)

In my /etc/rc.conf I have openvpn_if=tun, I don't load the tun nor tap 
interface at boot, I just want to load it with kldload.

uname -a:
FreeBSD inspiron.local 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri May  1 08:49:13 
UTC 2009 r...@walker.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

ifconfig:
ndis0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500
ether 00:23:4d:64:d6:7a
inet 192.168.0.100 netmask 0xff00 broadcast 192.168.0.255
media: IEEE 802.11 Wireless Ethernet autoselect
status: associated
ssid  channel 1 (2412 Mhz 11b)
authmode OPEN privacy OFF bmiss 7 scanvalid 60 roaming MANUAL
bintval 0
fwe0: flags=8802BROADCAST,SIMPLEX,MULTICAST metric 0 mtu 1500
options=8VLAN_MTU
ether 32:4f:c0:e1:55:e1
ch 1 dma -1
fwip0: flags=8802BROADCAST,SIMPLEX,MULTICAST metric 0 mtu 1500
lladdr 33.4f.c0.0.26.e1.55.e1.a.2.ff.fe.0.0.0.0
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST metric 0 mtu 16384
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4 
inet6 ::1 prefixlen 128 
inet 127.0.0.1 netmask 0xff00 

Thanks in advance,
Leonardo M. Ramé



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: OpenVPN Client

2009-07-25 Thread Leonardo M . Ramé

Thanks, after adding if_tun_load=YES to my /boot/loader.conf and rebooting, 
this message appears in dmesg:

can't re-use a leaf (if_tun_debug)!
module_register: module if_tun already exists!
Module if_tun failed to register: 17

So I think it is not required to add it to loader.conf.

I replaced tun by tun1 in openvpn.conf, and the result is this:

Sat Jul 25 15:09:46 2009 OpenVPN 2.0.6 i386-portbld-freebsd7.2 [SSL] [LZO] 
built on Jul 24 2009
Enter Auth Username:nico
Enter Auth Password:
Sat Jul 25 15:09:48 2009 WARNING: file '/usr/local/etc/openvpn/keys/key.key' is 
group or others accessible
Sat Jul 25 15:09:48 2009 LZO compression initialized
Sat Jul 25 15:09:48 2009 Control Channel MTU parms [ L:1544 D:140 EF:40 EB:0 
ET:0 EL:0 ]
Sat Jul 25 15:09:48 2009 Data Channel MTU parms [ L:1544 D:1450 EF:44 EB:135 
ET:0 EL:0 AF:3/1 ]
Sat Jul 25 15:09:48 2009 Local Options hash (VER=V4): '69109d17'
Sat Jul 25 15:09:48 2009 Expected Remote Options hash (VER=V4): 'c0103fa8'
Sat Jul 25 15:09:48 2009 NOTE: UID/GID downgrade will be delayed because of 
--client, --pull, or --up-delay
Sat Jul 25 15:09:48 2009 Attempting to establish TCP connection with 
200.80.219.194:443
Sat Jul 25 15:09:48 2009 TCP connection established with 200.80.219.194:443
Sat Jul 25 15:09:48 2009 TCPv4_CLIENT link local: [undef]
Sat Jul 25 15:09:48 2009 TCPv4_CLIENT link remote: 200.80.219.194:443
Sat Jul 25 15:09:49 2009 Connection reset, restarting [0]
Sat Jul 25 15:09:49 2009 TCP/UDP: Closing socket
Sat Jul 25 15:09:49 2009 SIGUSR1[soft,connection-reset] received, process 
restarting
Sat Jul 25 15:09:49 2009 Restart pause, 5 second(s)
Sat Jul 25 15:09:50 2009 SIGINT[hard,init_instance] received, process exiting

If I do ifconfig, the tun interface appears in the list:

ndis0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500
ether 00:23:4d:64:d6:7a
inet 192.168.0.100 netmask 0xff00 broadcast 192.168.0.255
media: IEEE 802.11 Wireless Ethernet autoselect
status: associated
ssid  channel 1 (2412 Mhz 11b)
authmode OPEN privacy OFF bmiss 7 scanvalid 60 roaming MANUAL
bintval 0
fwe0: flags=8802BROADCAST,SIMPLEX,MULTICAST metric 0 mtu 1500
options=8VLAN_MTU
ether 32:4f:c0:e1:55:e1
ch 1 dma -1
fwip0: flags=8802BROADCAST,SIMPLEX,MULTICAST metric 0 mtu 1500
lladdr 33.4f.c0.0.26.e1.55.e1.a.2.ff.fe.0.0.0.0
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST metric 0 mtu 16384
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4 
inet6 ::1 prefixlen 128 
inet 127.0.0.1 netmask 0xff00 
tun1: flags=8010POINTOPOINT,MULTICAST metric 0 mtu 1500

Any hint?

--- On Sat, 7/25/09, chris scott kra...@googlemail.com wrote:

 From: chris scott kra...@googlemail.com
 Subject: Re: OpenVPN Client
 To: Leonardo M. Ramé martinr...@yahoo.com
 Cc: freebsd-questions@freebsd.org
 Date: Saturday, July 25, 2009, 1:56 PM
 2009/7/25 Leonardo M. Ramé martinr...@yahoo.com
 
 
  Hi, I'm trying to connect to an OpenVPN server in my
 office. To do this, I
  installed OpenVPN 2.0.6 i386-portbld-freebsd7.2 [SSL]
 [LZO] from ports,
  and looking at different tutorials I found it needs a
 config file in
  /usr/local/etc/openvpn/openvpn.conf. The problem here,
 is that our server
  provides an client.ovpn file containing all the
 connection params needed
  by a client, in fact, we connect windows machines just
 by installing
  OpenVPN_Installer.exe, it configures a TAP device
 and a client that reads
  the client.ovpn file.
 
  Now, in my FreeBSD 7.2 i386 machine, I did this:
 
  Created the /usr/local/etc/openvpn/openvpn.conf (the
 port doesn't created
  it automatically) with this content:
 
  remote 200.80.219.194.static.techtelnet.net
  client
  proto tcp
  port 443
  dev tun
  ns-cert-type server
  auth-user-pass
  auth-retry interact
  comp-lzo
  user nobody
  group nobody
  verb 3
  ca /usr/local/etc/openvpn/keys/ca.key
  cert /usr/local/etc/openvpn/keys/cert.key
  key /usr/local/etc/openvpn/keys/key.key
 
  This contents are extracted from client.ovpn, and
 ca, cert and key
  files were extracted from the same file.
 
  I kldload tun, but when I do ifconfig, it doesn't
 shows nothing related to
  tun or tap.
 
  Also, when I do openvpn
 /usr/local/etc/openvpn/openvpn.conf the results
  are this:
 
  Sat Jul 25 11:24:09 2009 OpenVPN 2.0.6
 i386-portbld-freebsd7.2 [SSL] [LZO]
  built on Jul 24 2009
  Enter Auth Username:nico
  Enter Auth Password:
  Sat Jul 25 11:24:13 2009 WARNING: you are using
 user/group/chroot without
  persist-key/persist-tun -- this may cause restarts to
 fail
  Sat Jul 25 11:24:13 2009 WARNING: file
  '/usr/local/etc/openvpn/keys/key.key' is group or
 others accessible
  Sat Jul 25 11:24:13 2009 LZO compression initialized
  Sat Jul 25 11:24:13 2009 Control Channel MTU parms [
 L:1544 D:140 EF:40
  EB:0 ET:0 EL:0 ]
  Sat Jul 25 11:24:13 2009 Data Channel MTU parms [
 L:1544 D:1450 EF:44
  EB:135 ET:0 EL:0 AF:3/1 ]
  Sat Jul 25 11

Re: OpenVPN Client

2009-07-25 Thread Leonardo M . Ramé
 Closing TUN/TAP interface
Sat Jul 25 16:20:30 2009 SIGINT[hard,] received, process exiting



Leonardo M. Ramé
http://leonardorame.blogspot.com


--- On Sat, 7/25/09, chris scott kra...@googlemail.com wrote:

 From: chris scott kra...@googlemail.com
 Subject: Re: OpenVPN Client
 To: Leonardo M. Ramé martinr...@yahoo.com
 Cc: freebsd-questions@freebsd.org
 Date: Saturday, July 25, 2009, 1:56 PM
 2009/7/25 Leonardo M. Ramé martinr...@yahoo.com
 
 
  Hi, I'm trying to connect to an OpenVPN server in my
 office. To do this, I
  installed OpenVPN 2.0.6 i386-portbld-freebsd7.2 [SSL]
 [LZO] from ports,
  and looking at different tutorials I found it needs a
 config file in
  /usr/local/etc/openvpn/openvpn.conf. The problem here,
 is that our server
  provides an client.ovpn file containing all the
 connection params needed
  by a client, in fact, we connect windows machines just
 by installing
  OpenVPN_Installer.exe, it configures a TAP device
 and a client that reads
  the client.ovpn file.
 
  Now, in my FreeBSD 7.2 i386 machine, I did this:
 
  Created the /usr/local/etc/openvpn/openvpn.conf (the
 port doesn't created
  it automatically) with this content:
 
  remote 200.80.219.194.static.techtelnet.net
  client
  proto tcp
  port 443
  dev tun
  ns-cert-type server
  auth-user-pass
  auth-retry interact
  comp-lzo
  user nobody
  group nobody
  verb 3
  ca /usr/local/etc/openvpn/keys/ca.key
  cert /usr/local/etc/openvpn/keys/cert.key
  key /usr/local/etc/openvpn/keys/key.key
 
  This contents are extracted from client.ovpn, and
 ca, cert and key
  files were extracted from the same file.
 
  I kldload tun, but when I do ifconfig, it doesn't
 shows nothing related to
  tun or tap.
 
  Also, when I do openvpn
 /usr/local/etc/openvpn/openvpn.conf the results
  are this:
 
  Sat Jul 25 11:24:09 2009 OpenVPN 2.0.6
 i386-portbld-freebsd7.2 [SSL] [LZO]
  built on Jul 24 2009
  Enter Auth Username:nico
  Enter Auth Password:
  Sat Jul 25 11:24:13 2009 WARNING: you are using
 user/group/chroot without
  persist-key/persist-tun -- this may cause restarts to
 fail
  Sat Jul 25 11:24:13 2009 WARNING: file
  '/usr/local/etc/openvpn/keys/key.key' is group or
 others accessible
  Sat Jul 25 11:24:13 2009 LZO compression initialized
  Sat Jul 25 11:24:13 2009 Control Channel MTU parms [
 L:1544 D:140 EF:40
  EB:0 ET:0 EL:0 ]
  Sat Jul 25 11:24:13 2009 Data Channel MTU parms [
 L:1544 D:1450 EF:44
  EB:135 ET:0 EL:0 AF:3/1 ]
  Sat Jul 25 11:24:13 2009 Local Options hash (VER=V4):
 '69109d17'
  Sat Jul 25 11:24:13 2009 Expected Remote Options hash
 (VER=V4): 'c0103fa8'
  Sat Jul 25 11:24:13 2009 NOTE: UID/GID downgrade will
 be delayed because of
  --client, --pull, or --up-delay
  Sat Jul 25 11:24:13 2009 Attempting to establish TCP
 connection with
  200.80.219.194:443
  Sat Jul 25 11:24:13 2009 TCP connection established
 with
  200.80.219.194:443
  Sat Jul 25 11:24:13 2009 TCPv4_CLIENT link local:
 [undef]
  Sat Jul 25 11:24:13 2009 TCPv4_CLIENT link remote:
 200.80.219.194:443
  Sat Jul 25 11:24:13 2009 Connection reset, restarting
 [0]
  Sat Jul 25 11:24:13 2009 TCP/UDP: Closing socket
  Sat Jul 25 11:24:13 2009
 SIGUSR1[soft,connection-reset] received, process
  restarting
  Sat Jul 25 11:24:13 2009 Restart pause, 5 second(s)
 
  In my /etc/rc.conf I have openvpn_if=tun, I don't
 load the tun nor tap
  interface at boot, I just want to load it with
 kldload.
 
  uname -a:
  FreeBSD inspiron.local 7.2-RELEASE FreeBSD 7.2-RELEASE
 #0: Fri May  1
  08:49:13 UTC 2009     
  r...@walker.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC
   i386
 
  ifconfig:
  ndis0:
 flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST
 metric 0 mtu 1500
         ether 00:23:4d:64:d6:7a
         inet 192.168.0.100 netmask
 0xff00 broadcast 192.168.0.255
         media: IEEE 802.11 Wireless
 Ethernet autoselect
         status: associated
         ssid  channel 1 (2412 Mhz
 11b)
         authmode OPEN privacy OFF
 bmiss 7 scanvalid 60 roaming MANUAL
         bintval 0
  fwe0: flags=8802BROADCAST,SIMPLEX,MULTICAST
 metric 0 mtu 1500
         options=8VLAN_MTU
         ether 32:4f:c0:e1:55:e1
         ch 1 dma -1
  fwip0: flags=8802BROADCAST,SIMPLEX,MULTICAST
 metric 0 mtu 1500
         lladdr
 33.4f.c0.0.26.e1.55.e1.a.2.ff.fe.0.0.0.0
  lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST
 metric 0 mtu 16384
         inet6 fe80::1%lo0 prefixlen
 64 scopeid 0x4
         inet6 ::1 prefixlen 128
         inet 127.0.0.1 netmask
 0xff00
 
  Thanks in advance,
  Leonardo M. Ramé
 
 
 
  ___
  freebsd-questions@freebsd.org
 mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to 
  freebsd-questions-unsubscr...@freebsd.org
 
 
 
 make sure you have the tap kernel module loaded
 
 kldload /boot/kernel/if_tap.ko
 
 to make sure its there after boot do add
 if_tap_load=yes
 to your /boot/loader.conf
 
 When used openvpn i also added
 
 cloned_interfaces=tun1
 
 to my

Re: ndis0 stops working after a while

2009-07-23 Thread Leonardo M . Ramé

Thanks Stefan, this is my kldload:

Id Refs AddressSize Name
 1   61 0xc040 9fab28   kernel
 21 0xc0dfb000 3730 snd_driver.ko
 32 0xc0dff000 5014 snd_ad1816.ko
 4   35 0xc0e05000 4a64csound.ko
 52 0xc0e5 56d0 snd_als4000.ko
 62 0xc0e56000 7318 snd_atiixp.ko
 72 0xc0e5e000 5898 snd_cmi.ko
 82 0xc0e64000 5840 snd_cs4281.ko
 93 0xc0e6a000 8b0c snd_csa.ko
102 0xc0e73000 b8b0 snd_ds1.ko
112 0xc0e7f000 14d04snd_emu10kx.ko
122 0xc0e94000 90d0 snd_envy24.ko
134 0xc0e9e000 2a58 snd_spicds.ko
142 0xc0ea1000 80e8 snd_envy24ht.ko
152 0xc0eaa000 8a7c snd_es137x.ko
162 0xc0eb3000 5ba4 snd_ess.ko
175 0xc0eb9000 4c44 snd_sbc.ko
182 0xc0ebe000 4d80 snd_fm801.ko
193 0xc0ec3000 c330 snd_mss.ko
202 0xc0ed 1ae38snd_hda.ko
212 0xc0eeb000 6fa8 snd_ich.ko
222 0xc0ef2000 9220 snd_maestro.ko
232 0xc0efc000 a3e4 snd_maestro3.ko
242 0xc0f07000 116c0snd_neomagic.ko
252 0xc0f19000 534c snd_sb16.ko
262 0xc0f1f000 4c88 snd_sb8.ko
272 0xc0f24000 5f14 snd_solo.ko
282 0xc0f2a000 5a74 snd_t4dwave.ko
292 0xc0f3 7f44 snd_via8233.ko
302 0xc0f38000 4fc8 snd_via82c686.ko
312 0xc0f3d000 5be0 snd_vibes.ko
321 0xc0f43000 16f6ec   bcmwl5_sys.ko
333 0xc10b3000 1ada4ndis.ko
342 0xc10ce000 e730 if_ndis.ko
351 0xc10dd000 2d0e0vboxdrv.ko
361 0xc110b000 4dc0 atapicam.ko
371 0xc111 53e4 sem.ko
381 0xc1116000 6a45cacpi.ko
391 0xc4ab1000 7000 linprocfs.ko
401 0xc4ab8000 22000linux.ko
411 0xc4e4 e000 fuse.ko
421 0xc5091000 9000 i915.ko
431 0xc50a8000 13000drm.ko


Leonardo M. Ramé
http://leonardorame.blogspot.com


--- On Thu, 7/23/09, Stefan Miklosovic miklosovic.free...@gmail.com wrote:

 From: Stefan Miklosovic miklosovic.free...@gmail.com
 Subject: Re: ndis0 stops working after a while
 To: Leonardo M. Ramé martinr...@yahoo.com
 Date: Thursday, July 23, 2009, 7:30 AM
 hi
 
 i have the same configuration of the network and also the
 same version of wireless connection.
 
 /boot/loader.conf looks fine
 my /etc/resovl.conf is empty (except that comments)
 
 in /etc/rc.conf, I have
 
 
 ifconfig_ndis0=ssid tt24 wepmode on weptxkey 1 wepkey
 0xXX DHCP
 
 maybe your configuration of the wireless depends on some
 cryptology like WEP, WPA or so.
 try to adjust these settings. maybe it helps.
 
 
 could you send also output of kldstat command?
 thx
 
 nice day
 
 On Thu, Jul 23, 2009 at 1:13 AM,
 Leonardo M. Ramé martinr...@yahoo.com
 wrote:
 
 
 
 Since a couple of weeks I noted my wireless connection
 (Broadcom 4310 ndis wrapper) stops working after a while,
 something like 10 minutes after I leave the notebook, a Dell
 Inspiron 1525. Then I have to ifconfig ndis0 down / ifconfig
 ndis0 up to reconnect.
 
 
 
 
 The notebook is connected via WiFi to a router (DLink
 Dir300), who has another PC with WinXP connected by cable,
 this PC doesn't looses the connection.
 
 
 
 I don't remember having upgraded anything network
 related. What can be causing this behavior?.
 
 
 
 Below I copied a couple of config files I changed,
 specially dhclient.conf because I thought the problem was
 related to the DNS server of my ISP, but now I don't
 think that is the problem.
 
 
 
 uname -a:
 
 FreeBSD inspiron.local 7.2-RELEASE FreeBSD 7.2-RELEASE #0:
 Fri May  1 08:49:13 UTC 2009    
 r...@walker.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC
  i386
 
 
 
 /boot/loader.conf
 
 bcmwl5_sys_load=YES
 
 wlan_scan_ap_load=YES
 
 wlan_scan_sta_load=YES
 
 wlan_wep_load=YES
 
 wlan_tkip_load=YES
 
 snd_driver_load=YES
 
 hw.snd.default_unit=1
 
 hint.hdac.0.config=gpio2
 
 hint.hdac.0.cad2.nid13.config=device=Speaker
 conn=Fixed
 
 vboxdrv_load=YES
 
 atapicam_load=YES
 
 sem_load=YES
 
 
 
 /etc/rc.conf
 
 keymap=spanish.iso.acc
 
 inetd_enable=YES
 
 linux_enable=YES
 
 sshd_enable=YES
 
 moused_enable=YES
 
 rpcbind_enable=YES
 
 hald_enable=YES
 
 dbus_enable=YES
 
 amd_enable=YES
 
 fusefs_enable=YES
 
 ifconfig_ndis0=WPA DHCP
 
 hostname=inspiron.local
 
 
 
 /etc/dhclient.conf
 
 # $FreeBSD: src/etc/dhclient.conf,v 1.3.34.1 2009/04/15
 03:14:26 kensmith Exp $
 
 #
 
 #       This file is required by the ISC DHCP client.
 
 #       See ``man 5 dhclient.conf'' for
 details.
 
 #
 
 #       In most cases an empty file is sufficient for
 most people as the
 
 #       defaults are usually fine.
 
 #
 
 prepend domain-name-servers 4.2.2.1,4.2.2.2;
 
 
 
 /etc/resolv.conf
 
 nameserver 4.2.2.1
 
 nameserver 4.2.2.2
 
 nameserver 192.168.0.1
 
 
 
 Thanks in advance,
 
 Leonardo M. Ramé
 
 http://leonardorame.blogspot.com
 
 
 
 
 
 
 
 
 
 ___
 
 freebsd-questions@freebsd.org
 mailing list
 
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 
 To unsubscribe, send any

ndis0 stops working after a while

2009-07-22 Thread Leonardo M . Ramé

Since a couple of weeks I noted my wireless connection (Broadcom 4310 ndis 
wrapper) stops working after a while, something like 10 minutes after I leave 
the notebook, a Dell Inspiron 1525. Then I have to ifconfig ndis0 down / 
ifconfig ndis0 up to reconnect. 

The notebook is connected via WiFi to a router (DLink Dir300), who has another 
PC with WinXP connected by cable, this PC doesn't looses the connection. 

I don't remember having upgraded anything network related. What can be causing 
this behavior?.

Below I copied a couple of config files I changed, specially dhclient.conf 
because I thought the problem was related to the DNS server of my ISP, but now 
I don't think that is the problem.

uname -a:
FreeBSD inspiron.local 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri May  1 08:49:13 
UTC 2009 r...@walker.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

/boot/loader.conf
bcmwl5_sys_load=YES
wlan_scan_ap_load=YES
wlan_scan_sta_load=YES
wlan_wep_load=YES
wlan_tkip_load=YES
snd_driver_load=YES
hw.snd.default_unit=1
hint.hdac.0.config=gpio2
hint.hdac.0.cad2.nid13.config=device=Speaker conn=Fixed
vboxdrv_load=YES
atapicam_load=YES
sem_load=YES

/etc/rc.conf
keymap=spanish.iso.acc
inetd_enable=YES
linux_enable=YES
sshd_enable=YES
moused_enable=YES
rpcbind_enable=YES
hald_enable=YES
dbus_enable=YES
amd_enable=YES
fusefs_enable=YES
ifconfig_ndis0=WPA DHCP
hostname=inspiron.local

/etc/dhclient.conf
# $FreeBSD: src/etc/dhclient.conf,v 1.3.34.1 2009/04/15 03:14:26 kensmith Exp $
#
#   This file is required by the ISC DHCP client.
#   See ``man 5 dhclient.conf'' for details.
#
#   In most cases an empty file is sufficient for most people as the
#   defaults are usually fine.
#
prepend domain-name-servers 4.2.2.1,4.2.2.2;

/etc/resolv.conf
nameserver 4.2.2.1
nameserver 4.2.2.2
nameserver 192.168.0.1

Thanks in advance,
Leonardo M. Ramé
http://leonardorame.blogspot.com




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


libjpeg.so.9

2009-07-19 Thread Leonardo M . Ramé

Hi, after upgrading wine to 1.1.26 from ports, the library libjpeg.so.9 no 
longer exists, it was replaced by libjpeg.so.10.

The first problem I found was that icewm didn't loads, then I created a soft 
link to libjpeg.so. With this change, icewm loads, but icewmbg can't load 
because it needs libjpeg.so.9. This is the error message I receive when I try 
to load icewmbg:

icewmbg: using /home/martin/.icewm for private configuration files
Wrong JPEG library version: library is 70, caller expects 62
IMLIB ERROR: Cannot load image: /home/martin/wallpapers/Unix Desktop Wallpaper 
Pictures Unix Cyborg Technologies.jpg
All fallbacks failed.
icewmbg: Warning: Loading of image /home/martin/wallpapers/Unix Desktop 
Wallpaper Pictures Unix Cyborg Technologies.jpg failed

How can I install libjpeg.so.9?

Leonardo M. Ramé
http://leonardorame.blogspot.com



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Recover deleted file

2009-07-18 Thread Leonardo M . Ramé

Hi, I deleted a directory using rm -rf directory in a mounted NTFS volume 
(with ntfs-3g) and I'm wondering if is there a way to recover this directory?

Thanks in advance,
Leonardo.



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Virtualbox Bridged networking

2009-07-15 Thread Leonardo M . Ramé

Hi, I'm using VirtualBox 2.2.51_OSE r20451 and found in the wiki that Bridged 
networking is not ported yet :-(. 

Any news about this?.



 Leonardo M. Ramé
http://leonardorame.blogspot.com




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


VirtualBox 2.2.51

2009-07-06 Thread Leonardo M . Ramé

Hi, I installed VirtualBox on a FreeBSD 7.2-RELEASE i386 and it works almost 
all well, but GuestAdditions. When I try to mount GuestAdditions ISO, VBox 
hangs. If I kill the two VirtualBox processes, then I can't start it again, 
until I reboot the machine.

Anyone can run Guest Additions successfully?


uname -a: 
FreeBSD inspiron.local 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri May  1 08:49:13 
UTC 2009 r...@walker.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386

 Leonardo M. Ramé
http://leonardorame.blogspot.com




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: VirtualBox 2.2.51

2009-07-06 Thread Leonardo M . Ramé

Sorry, I found freebsd-emulat...@freebsd.org, I'll ask there. 

 Leonardo M. Ramé
http://leonardorame.blogspot.com



- Original Message 
From: Leonardo M. Ramé martinr...@yahoo.com
To: freebsd-questions@freebsd.org
Sent: Monday, July 6, 2009 10:56:51 PM
Subject: VirtualBox 2.2.51


Hi, I installed VirtualBox on a FreeBSD 7.2-RELEASE i386 and it works almost 
all well, but GuestAdditions. When I try to mount GuestAdditions ISO, VBox 
hangs. If I kill the two VirtualBox processes, then I can't start it again, 
until I reboot the machine.

Anyone can run Guest Additions successfully?


uname -a: 
FreeBSD inspiron.local 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri May  1 08:49:13 
UTC 2009 r...@walker.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386

Leonardo M. Ramé
http://leonardorame.blogspot.com




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org



  
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


SOLVED (Re: X Terminals problem)

2009-07-05 Thread Leonardo M . Ramé

The problem was a vimrc copied from a Windows machine to 
/usr/local/share/vim/vimrc containing this long statusline:

set statusline=%F%m%r%h%w\ [FORMAT=%{ff}]\ [TYPE=%Y]\ [ASCII=\%03.3b]\ 
[HEX=\%02.2B]\ [POS=%04l,%04v][%p%%]\ [LEN=%L] 
set laststatus=2
 Leonardo M. Ramé
http://leonardorame.blogspot.com



- Original Message 
From: Leonardo M. Ramé martinr...@yahoo.com
To: freebsd-questions@freebsd.org
Sent: Saturday, July 4, 2009 12:17:48 PM
Subject: X Terminals problem


In my newly installed 7.2-STABLE, any X Terminal (xterm, xfce's Terminal, 
eterm,...) is working in the wrong way, specially while I use vim (v. 7.2.209) 
in text mode (gvim works ok), it can't scroll, when I try to move the cursor 
after the last line on the screen, the status bar shows that the position is 
changing, but the screen doesn't scrolls.

Another issue is if I write a long line in the X terminal, instead of adding a 
LF at the end and continuing in the next line, it starts at the beginning of 
the same line.

My system's data:

uname -a: 
FreeBSD inspiron.local 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri May  1 08:49:13 
UTC 2009r...@walker.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

Xorg -version:
X.Org X Server 1.6.0
Release Date: 2009-2-25
X Protocol Version 11, Revision 0
Build Operating System: FreeBSD 7.2-PRERELEASE i386 

env:
SSH_AGENT_PID=1128
GLADE_PIXMAP_PATH=:
TERM=xterm
SHELL=/bin/bash
WINDOWID=25165828
USER=martin
GLADE_MODULE_PATH=:
SSH_AUTH_SOCK=/tmp/ssh-DCZmP4l6vx/agent.1127
SESSION_MANAGER=local/inspiron.local:/tmp/.ICE-unix/1136,inet6/inspiron.local:54435,inet/inspiron.local:54631
PAGER=/usr/bin/less
FTP_PASSIVE_MODE=YES
MAIL=/var/mail/martin
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/home/martin/bin
BLOCKSIZE=K
PWD=/usr/home/martin/doc
EDITOR=/usr/local/bin/vim
SHLVL=1
HOME=/home/martin
GTK_PATH=:/usr/local/lib/gtk-2.0
LOGNAME=martin
XDG_DATA_DIRS=/usr/share:/usr/local/share
DBUS_SESSION_BUS_ADDRESS=unix:path=/var/tmp/dbus-g7d508SA96,guid=4488a97081aa02f88f1101ab4a4f700b
WINDOWPATH=9
DISPLAY=:0.0
GLADE_CATALOG_PATH=:
LIBGLADE_MODULE_PATH=:/usr/local/lib/libglade/2.0
COLORTERM=Terminal
_=/usr/bin/env
OLDPWD=/usr/home/martin


Does anyone faced the same problems?, any workaround?.

Leonardo M. Ramé
http://leonardorame.blogspot.com




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Speeding up Xorg on Dell Inspiron 1525

2009-07-05 Thread Leonardo M . Ramé

I'm running 7.2-RELEASE i386 on a Dell Inspiron 1525. This laptop has an Intel 
GM965 Mobile graphics card, and while X performance is acceptable, it feels 
slow compared to Windows XP installed on another partition on the same machine.

Does anyone has this same computer? What can I do to improve the performance of 
X?.

These are the relevant parts of my xorg.conf:

Section Module
Load  dbe
Load  dri
Load  dri2
Load  extmod
Load  glx
Load  record
Load  freetype
EndSection

Section Device
### Available Driver options are:-
### Values: i: integer, f: float, bool: True/False,
### string: String, freq: f Hz/kHz/MHz
### [arg]: arg optional
Option  DRI  true# [bool]
Option  RenderAccel true
Option  AGPFastWrite  on
OptionUseFBDev true
VideoRam32000
Identifier  Card0
Driver  intel
VendorName  Intel Corporation
BoardName   Mobile GM965/GL960 Integrated Graphics Controller
BusID   PCI:0:2:0
EndSection


 Leonardo M. Ramé
http://leonardorame.blogspot.com



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


X Terminals problem

2009-07-04 Thread Leonardo M . Ramé

In my newly installed 7.2-STABLE, any X Terminal (xterm, xfce's Terminal, 
eterm,...) is working in the wrong way, specially while I use vim (v. 7.2.209) 
in text mode (gvim works ok), it can't scroll, when I try to move the cursor 
after the last line on the screen, the status bar shows that the position is 
changing, but the screen doesn't scrolls.

Another issue is if I write a long line in the X terminal, instead of adding a 
LF at the end and continuing in the next line, it starts at the beginning of 
the same line.

My system's data:

uname -a: 
FreeBSD inspiron.local 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri May  1 08:49:13 
UTC 2009 r...@walker.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

Xorg -version:
X.Org X Server 1.6.0
Release Date: 2009-2-25
X Protocol Version 11, Revision 0
Build Operating System: FreeBSD 7.2-PRERELEASE i386 

env:
SSH_AGENT_PID=1128
GLADE_PIXMAP_PATH=:
TERM=xterm
SHELL=/bin/bash
WINDOWID=25165828
USER=martin
GLADE_MODULE_PATH=:
SSH_AUTH_SOCK=/tmp/ssh-DCZmP4l6vx/agent.1127
SESSION_MANAGER=local/inspiron.local:/tmp/.ICE-unix/1136,inet6/inspiron.local:54435,inet/inspiron.local:54631
PAGER=/usr/bin/less
FTP_PASSIVE_MODE=YES
MAIL=/var/mail/martin
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/home/martin/bin
BLOCKSIZE=K
PWD=/usr/home/martin/doc
EDITOR=/usr/local/bin/vim
SHLVL=1
HOME=/home/martin
GTK_PATH=:/usr/local/lib/gtk-2.0
LOGNAME=martin
XDG_DATA_DIRS=/usr/share:/usr/local/share
DBUS_SESSION_BUS_ADDRESS=unix:path=/var/tmp/dbus-g7d508SA96,guid=4488a97081aa02f88f1101ab4a4f700b
WINDOWPATH=9
DISPLAY=:0.0
GLADE_CATALOG_PATH=:
LIBGLADE_MODULE_PATH=:/usr/local/lib/libglade/2.0
COLORTERM=Terminal
_=/usr/bin/env
OLDPWD=/usr/home/martin


Does anyone faced the same problems?, any workaround?.

 Leonardo M. Ramé
http://leonardorame.blogspot.com




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org