Different languages in the same applications under kde & konsole

2008-03-19 Thread vittorio
I run  freebsd 7.0 and kde 3.5.8, both in Italian.
Now it happens that if I launch either gimp or abiword from the kde konsole 
the two applications "speak" Italian while if I launch them from the icons 
(that I created) on the desktop they "switch" to English.

Why is that and what can I do for making the applications speak Italian?

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


Strange messages when booting freebsd 7.0-beta4

2008-01-07 Thread vittorio
I recently upgraded from 6.2 to 7.0-beta4
Now, in /var/log/messages I invariably find the following messages:
-
Copyright (c) 1992-2007 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 7.0-BETA4 #0: Thu Dec 27 22:18:53 CET 2007
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/HP03
module_register: module pci/ichss_pci already exists!
Module pci/ichss_pci failed to register: 17
module_register: module cpu/ichss already exists!
Module cpu/ichss failed to register: 17
module_register: module cpu/est already exists!
Module cpu/est failed to register: 17
module_register: module cpu/p4tcc already exists!
Module cpu/p4tcc failed to register: 17
module_register: module cpu/powernow already exists!
Module cpu/powernow failed to register: 17
module_register: module cpu/smist already exists!




What should I modify to avoid them?

Ciao
Vittorio

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


Re: wpi error: bus_dmamem_alloc failed to align memory properly

2008-01-07 Thread vittorio
Il Monday 07 January 2008 03:18:21 Benjamin Close ha scritto:
> vittorio wrote:
> > Context: HP laptop DV6000, centrino duo, FreeBSD 7.0-BETA4
> > When loading if_wpi I get the following line saying that
> > "bus_dmamem_alloc failed to align memory properly"
> > 
> > wpi0:  mem 0xd800-0xd8000fff irq 16 at
> > device 0.0 on pci2
> > bus_dmamem_alloc failed to align memory properly.
> > last message repeated 30 times
> > wpi0: Ethernet address: 00:19:d2:99:e3:cb
> > wpi0: [ITHREAD]
> > wpi0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
> > wpi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
> > wpi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps
> > 24Mbps 36Mbps 48Mbps 54
> > 
> >
> > Therefore I'm unable to make wpi0 work at all.
> >
> > Could you please tell me what should I do?
> >
> > Ciao, Vittorio
>
> The bus_dmamem_alloc message is harmless in your case. Due to
> limitations in the freebsd allocator, sometimes requesting a 16k aligned
> block of dma memory fails. As a temporary work around the wpi driver
> reattempts the allocation. If it truely does fail you'll not get a wpi0
> device showing up, which clearly you did :).
>
> These warning messages will go away when I sync the next lot of updates
> to the driver which aren't quite ready yet.
>
> Can you describe a little more what you mean by wpi doesn't work?
>
> Cheers,
> Benjamin
> wpi driver maintainer


Ben,
here you are a longer explanation

Context:
Router ZyXEL ADSL+2 with dhcp up and running

Laptop HP Pavillion Entertainment DV6000 intel centrino duo 2GB of memory
hpbsd# uname -a
FreeBSD hpbsd.vic 7.0-BETA4 FreeBSD 7.0-BETA4 #0: Thu Dec 27 22:18:53 CET 2007  
   
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/HP03  i386
hpbsd#
all wpi's necessary devices are compiled in the kernel
   device wpi
           device pci
           device wlan
           device wlan_amrr
           device firmware

/var/log/messages
kernel: wpi0:  mem 0xd800-0xd8000fff irq 16 
at device 0.0 on pci2
kernel: wpi0: Ethernet address: 00:19:d2:99:e3:cb
kernel: wpi0: [ITHREAD]
kernel: wpi0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
kernel: wpi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
kernel: wpi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 
24Mbps 36Mbps 48Mbps 54Mbps

the line 

legal.intel_wpi.license_ack=1 

is in /boot/loader.conf 

BUT
1)
it seems that sysctl is unable to find it and I have to set it via 
kenv legal.intel_wpi.license_ack=1 in a shell.

Shouldn't this variable be set by either sysctl or by loader.conf (that is is 
a system variable) OR is it supposed to be set via kenv only?

2)
dhclient is unable to get an IP address (BTW trying to set wpi0 up with a 
fixed IP makes wpi0 not associated to any AP)

Here it is a session log


hpbsd# sysctl -a|grep legal
hpbsd#
hpbsd# kenv legal.intel_wpi.license_ack=1
legal.intel_wpi.license_ack="1"
hpbsd# kenv legal.intel_wpi.license_ack
1

hpbsd# ifconfig wpi0 ssid "my_wireless" weptxkey 1 wepmode on wepkey 
0x1f7b0a5a0d

hpbsd# dhclient wpi0
DHCPDISCOVER on wpi0 to 255.255.255.255 port 67 interval 5
DHCPDISCOVER on wpi0 to 255.255.255.255 port 67 interval 12
DHCPDISCOVER on wpi0 to 255.255.255.255 port 67 interval 9
DHCPDISCOVER on wpi0 to 255.255.255.255 port 67 interval 18
DHCPDISCOVER on wpi0 to 255.255.255.255 port 67 interval 12
DHCPDISCOVER on wpi0 to 255.255.255.255 port 67 interval 5
No DHCPOFFERS received.
No working leases in persistent database - sleeping.

hpbsd# ifconfig wpi0
wpi0: flags=8843 metric 0 mtu 1500 
        ether 00:19:d2:99:e3:cb
        inet 0.0.0.0 netmask 0xff00 broadcast 255.255.255.255
        media: IEEE 802.11 Wireless Ethernet autoselect (OFDM/36Mbps)
        status: associated
        ssid my_wireless channel 6 (2437 Mhz 11g) bssid 00:02:cf:61:81:fd
        authmode OPEN privacy ON deftxkey 1 wepkey 1:40-bit txpower 50
        bmiss 7 scanvalid 60 protmode CTS

 

Even giving an ip fixed address to wpi0 doesn't seem to work, - that is - I 
cannot ping anything and for netstat -rn wpi0 doesn't seem to exist.

Please help
Ciao from Rome

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


wpi error: bus_dmamem_alloc failed to align memory properly

2008-01-06 Thread vittorio
Context: HP laptop DV6000, centrino duo, FreeBSD 7.0-BETA4
When loading if_wpi I get the following line saying that "bus_dmamem_alloc 
failed to align memory properly"

wpi0:  mem 0xd800-0xd8000fff irq 16 at 
device 0.0 on pci2
bus_dmamem_alloc failed to align memory properly.
last message repeated 30 times
wpi0: Ethernet address: 00:19:d2:99:e3:cb
wpi0: [ITHREAD]
wpi0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
wpi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
wpi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 
36Mbps 48Mbps 54


Therefore I'm unable to make wpi0 work at all.

Could you please tell me what should I do?

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


Re: Intel 3945 wpi driver doesn't seem to work ('cause of license problems???)

2008-01-02 Thread vittorio
What I really need is an explanation **step by step** on how to set up a wpi 
connection. Step by step .

Ciao
Vittorio 

Il Wednesday 02 January 2008 10:41:11 Matthew Seaman ha scritto:
> vittorio wrote:
> > legal.intel_wpi.license_ack=1
> >
> > is in /boot/loader.conf
> >
> > BUT
> > 1)
> > it seems that sysctl is unable to find it and I have to set it via
> > kenv legal.intel_wpi.license_ack=1
> >
> > Shouldn't this variable be set by sysctl or by loader.conf?
> >
> > 2)
> > dhclient is unable to get an IP address (trying to set wpi0 up with a
> > fixed IP makes wpi0 not associated to any AP)
>
> Hmmm I have a similar setup.  In my case, it's a Dell D800 using
> iwi:
>
> % grep iwi /var/run/dmesg.boot
> iwi0:  mem 0xfafee000-0xfafeefff irq 9 at
> device 3.0 on pci2 [...]
>
> and a ZyXEL 660HW router:
>
>  Menu 24.2.1 - System Maintenance - Information
>
> Name: gate.infracaninophile.co.uk
> Routing: IP
> ZyNOS F/W Version: V3.40(ACI.7) | 10/18/2006
> ADSL Chipset Vendor: DMT FwVer: 3.4.1.0_A_TC, HwVer:
> T14F7_+ Standard: Multi-Mode
>
> However I have no problems setting legal.intel_iwi.license_ack=1
> from /boot/loader.conf -- it could be something as stupid as no
> newline at end of file.  Try running 'od -c /boot/loader.conf'
> or 'cat -e /boot/loader.conf' to verify.
>
> On the question of the DHCP service provided by this combination router
> and wlan hardware, and indeed the whole performance at providing wireless
> lan connectivity -- I'm not particularly impressed.  I'd restart the laptop
> and everything would be fine for a few hours, but leave it running
> overnight and it would lose the lease and end up without an IPv4 address.
> IPv6 addresses autoconfigured with rtadvd and rtsol seem quite a lot more
> stable but I've seen every combination of being able or not to ping or
> ping6 the laptop from a wired machine.
>
> In the end I found that setting the ZyXEL to do DHCP Relay and running
> isc-dhcpd on a FBSD box with the lease times increased as so:
>
> default-lease-time 3600;# 1 hour
> max-lease-time 86400;   # 1 day
>
> plus moving the laptop to within about 2m of the ZyXEL seems to have
> made quite an improvement.
>
>   Cheers,
>
>   Matthew
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Intel 3945 wpi driver doesn't seem to work ('cause of license problems???)

2008-01-01 Thread vittorio
Context:
Router ZyXEL ADSL+2 with dhcp up and running

Laptop HP Pavillion Entertainment DV6000 intel centrino duo 2GB of memory
hpbsd# uname -a
FreeBSD hpbsd.vic 7.0-BETA4 FreeBSD 7.0-BETA4 #0: Thu Dec 27 22:18:53 CET 2007  
   
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/HP03  i386
hpbsd#
all wpi's necessary devices are compiled in the kernel
   device wpi
           device pci
           device wlan
           device wlan_amrr
           device firmware

/var/log/messages
kernel: wpi0:  mem 0xd800-0xd8000fff irq 16 
at device 0.0 on pci2
kernel: wpi0: Ethernet address: 00:19:d2:99:e3:cb
kernel: wpi0: [ITHREAD]
kernel: wpi0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
kernel: wpi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
kernel: wpi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 
24Mbps 36Mbps 48Mbps 54Mbps

the line 

legal.intel_wpi.license_ack=1 

is in /boot/loader.conf 

BUT
1)
it seems that sysctl is unable to find it and I have to set it via 
kenv legal.intel_wpi.license_ack=1

Shouldn't this variable be set by sysctl or by loader.conf?

2)
dhclient is unable to get an IP address (trying to set wpi0 up with a fixed IP 
makes wpi0 not associated to any AP)

Here it is a session log


hpbsd# sysctl -a|grep legal
hpbsd#
hpbsd# kenv legal.intel_wpi.license_ack=1
legal.intel_wpi.license_ack="1"
hpbsd# kenv legal.intel_wpi.license_ack
1

hpbsd# ifconfig wpi0 ssid "my_wireless" weptxkey 1 wepmode on wepkey 
0x1f7b0a5a0d

hpbsd# dhclient wpi0
DHCPDISCOVER on wpi0 to 255.255.255.255 port 67 interval 5
DHCPDISCOVER on wpi0 to 255.255.255.255 port 67 interval 12
DHCPDISCOVER on wpi0 to 255.255.255.255 port 67 interval 9
DHCPDISCOVER on wpi0 to 255.255.255.255 port 67 interval 18
DHCPDISCOVER on wpi0 to 255.255.255.255 port 67 interval 12
DHCPDISCOVER on wpi0 to 255.255.255.255 port 67 interval 5
No DHCPOFFERS received.
No working leases in persistent database - sleeping.

hpbsd# ifconfig wpi0
wpi0: flags=8843 metric 0 mtu 1500 
        ether 00:19:d2:99:e3:cb
        inet 0.0.0.0 netmask 0xff00 broadcast 255.255.255.255
        media: IEEE 802.11 Wireless Ethernet autoselect (OFDM/36Mbps)
        status: associated
        ssid my_wireless channel 6 (2437 Mhz 11g) bssid 00:02:cf:61:81:fd
        authmode OPEN privacy ON deftxkey 1 wepkey 1:40-bit txpower 50
        bmiss 7 scanvalid 60 protmode CTS

 

Even giving an ip fixed address to wpi0 doesn't seem to work, I cannot ping 
anything and for netstat -rn wpi0 doesn't seem to exist.


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


Rebuilding /var/db/pkg

2007-12-29 Thread vittorio
I committed a crime! While upgrading the ports under the newly installed 
RELENG_7 (beta4) with "portupgrade -arRk" I **deleted ** the 
directory /var/db/pkg. 

Is there any way to rebuild it from scratch?

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


Compilation error libpcre.so.0: ELF file OS ABI invalid

2007-09-27 Thread vittorio
Context: Intel Core Duo, FreeBSD 6.2-p7, latest portsnap, gcc-4.2.2.
Updating the statistical program R, some packages fail to compile (I use 
tarballs) because this cryptic error pops up

* Installing *source* package 'MCMCpack' ...
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... grep: error while 
loading shared libraries: /usr/local/lib/libpcre.so.0: ELF file OS ABI 
invalid
yes
checking whether c++ accepts -g... grep: error while loading shared 
libraries: /usr/local/lib/libpcre.so.0: ELF file OS ABI invalid
yes

It seems that during the compilation a-linux-connected-lib is being looked 
for, doesn't it? 

Anyway, what should I do?

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


Missing libgfortran: what package is it in?

2007-09-27 Thread vittorio
I'm trying to update some packages of R. In compiling them freebsd 6.2 fails 
systematically because a libgfortran library is missing (and, as a matter of 
fact, it is!).

What package should I install to have these lib available?

Ciao
Vittorio

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


Re: Unable to open /nvidiactl

2007-05-30 Thread vittorio
Tricky but at last I detected the cause of the problem:

I had a "acpi_video_load=YES" in loader.conf which loaded the module 
acpi_video.ko. Eliminating this module with kldunload (and then deleting the 
line from loader.conf) *** out of the blue  nvidia  started working 
great.

Ciao
Vittorio


Il Wednesday 30 May 2007 16:57:20 ml-vic ha scritto:
> Dear friends,
> I'm still looking for help to solve the problem of my nvidia graphic card.
> nvidia.ko doesn't seem able to create /dev/ndiviactl.
>
> Synthesis
>
> My system
> Intel Centrino Duo T5300 HP Pavillion 6366 notebook 2GB mem
> NVIDIA GeForce Go 7400
> FreeBSD  6.2-RELEASE-p4  i386
> kernel compiled for SMP
> Latest snapshot of the ports
>
> 1) I installed and compiled the /usr/ports/x11/nvidia-driver with default
> options and  /usr/ports/x11/nvidia-xconfig; because loader.conf was not
> automatically modified I added a "nvidia_load=YES" to loader.conf and
> rebooted the pc, therefore:
>
> 2)  victor$ kldstat
> Id Refs Address    Size     Name
>  1   36 0xc040 5a1fa0   kernel
>  2    1 0xc09a2000 3244     splash_bmp.ko
>  3    1 0xc09a6000 5528     vesa.ko
>  4    3 0xc0a6c000 1e058    linux.ko
>  5    1 0xc0a8b000 435c     acpi_video.ko
>  6    3 0xc0a9 61ba0    acpi.ko
>  7    1 0xc0af2000 6d4de0   nvidia.ko
>  8    2 0xc11c7000 168fc    agp.ko
> 
> 
> (agp is not compiled statically in the kernel)
>
> victor$ sysctl -a|grep nvidia
>        nvidia    84    37K       -       84  16,32,64,128,256,1024,2048
> hw.nvidia.version: NVIDIA UNIX x86 Kernel Module  1.0-9746  Tue Dec 19
> 13:20:59 PST 2006
> hw.nvidia.registry.EnableVia4x: 0
> hw.nvidia.registry.EnableALiAGP: 0
> hw.nvidia.registry.NvAGP: 3
> hw.nvidia.registry.EnableAGPSBA: 0
> hw.nvidia.registry.EnableAGPFW: 0
> hw.nvidia.registry.SoftEDIDs: 1
> hw.nvidia.registry.Mobile: 4294967295
> hw.nvidia.registry.ResmanDebugLevel: 4294967295
> hw.nvidia.registry.FlatPanelMode: 0
> hw.nvidia.registry.DevicesConnected: 0
> hw.nvidia.registry.RmLogonRC: 1
> hw.nvidia.registry.DetectPrimaryVga: 1
> hw.nvidia.registry.dwords:
>
> 3) I generated a basic xorg.conf file running a mere nvidia-xconfig that I
> tailored only tailored for language.
>
> 4) startx fails. The system declares
>
> NVIDIA: could not open the device /dev/nvidiactl
>
> (as a matter of fact there isn't!)
>
> And Xorg.0.log is as follows
>
> X Window System Version 6.9.0
> Release Date: 21 December 2005
> X Protocol Version 11, Revision 0, Release 6.9
> Build Operating System: FreeBSD 6.2 i386 [ELF]
> Current Operating System: FreeBSD hpbsd.vic 6.2-RELEASE-p4 FreeBSD
> 6.2-RELEASE-p4 #0: Mon May 28 11:43:57 UTC 2007    
> [EMAIL PROTECTED]:/usr/obj/usr/src/sys/HP01 i386
> Build Date: 10 February 2007
> Before reporting problems, check http://wiki.X.Org
> to make sure that you have the latest version.
> Module Loader present
> Markers: (--) probed, (**) from config file, (==) default setting,
> (++) from command line, (!!) notice, (II) informational,
> (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
> (==) Log file: "/var/log/Xorg.0.log", Time: Mon May 28 19:39:50 2007
> (==) Using config file: "/etc/X11/xorg.conf"
> (==) ServerLayout "Layout0"
> (**) |-->Screen "Screen0" (0)
> (**) |   |-->Monitor "Monitor0"
> (**) |   |-->Device "Device0"
> (**) |-->Input Device "Keyboard0"
> (**) Option "XkbModel" "pc105"
> (**) XKB: model: "pc105"
> (**) Option "XkbLayout" "it"
> (**) XKB: layout: "it"
> (==) Keyboard: CustomKeycode disabled
> (**) |-->Input Device "Mouse0"
> (**) FontPath set
> to
> "/usr/X11R6/lib/X11/fonts/misc,/usr/X11R6/lib/X11/fonts/Type1,/usr/X11R6/li
>b/X11/fonts/75dpi,/usr/X11R6/lib/X11/fonts/100dpi,/usr/X11R6/lib/X11/fonts/b
>itstream-vera,/usr/local/share/fonts" (**) RgbPath set to
> "/usr/X11R6/lib/X11/rgb"
> (**) ModulePath set to "/usr/X11R6/lib/modules"
> (II) Module ABI versions:
> X.Org ANSI C Emulation: 0.2
> X.Org Video Driver: 0.8
> X.Org XInput driver : 0.5
> X.Org Server Extension : 0.2
> X.Org Font Renderer : 0.4
> (II) Loader running on freebsd
> (II) LoadModule: "bitmap"
> (II) Loading /usr/X11R6/lib/modules/fonts/libbitmap.so
> (II) Module bitmap: vendor="X.Org Foundation"
> compiled for 6.9.0, module version = 1.0.0
> Module class: X.Org Font Renderer
>

Re: Nvidia doesn't start on cryptic errors

2007-05-30 Thread Vittorio De Martino
Il Tuesday 29 May 2007 20:11:00 [EMAIL PROTECTED] ha scritto:
>
> What nVidia driver are you trying to install and does your laptop have an
I'm installing the latest snapshot of the port "/usr/ports/x11/nvidia-driver" 
and on my new laptop there is a label saying "graphics by NVIDIA GeForce Go 
7400"

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


Re: Nvidia doesn't start on cryptic errors

2007-05-29 Thread Vittorio De Martino
Il Monday 28 May 2007 18:16:30 Garrett Cooper ha scritto:
> Vittorio De Martino wrote:
> > Il Monday 28 May 2007 14:51:04 John Nielsen ha scritto:
> >> On Monday 28 May 2007 11:18:07 Vittorio De Martino wrote:
> >>> On my newly bought HP pavillion 6366 notebook with freebsd 6.2 - p4 and
> >>> one of the latest portsnap I have an nvidia go 7400 card, *** fully ***
> >>> supported by the nvidia driver according to the docs.
> >>>
> >>> I followed the minimal configuration by nvidia-xconfig and just taiored
> >>> the language for the keyboardBUT
> >>>   startx fails to load X and in the log file I find I find the below
> >>> reported errors.
> >>>
> >>> Being a beginner I find myself somewhat disorientated by these errors
> >>> that I couldn't find surfing the net.
> >>>
> >>> (EE) NVIDIA(0): Failed to initialize the NVIDIA kernel module! Please
> >>> ensure (EE) NVIDIA(0): that there is a supported NVIDIA GPU in this
> >>> system, and (EE) NVIDIA(0): that the NVIDIA device files have been
> >>> created properly. (EE) NVIDIA(0): Please consult the NVIDIA README
> >>> for details.
> >>> (EE) NVIDIA(0):  *** Aborting ***
> >>
> >> Not too cryptic. Make sure that the nvidia kernel module is loaded and
> >> try again. To verify, type "kldstat". If nvidia.ko is not listed, type
> >> "kldload nvidia". To load it automatically on boot (which is the only
> >> way for it to load successfully), add a line like this to
> >> /boot/loader.conf:
> >>
> >> nvidia_load="YES"
> >>
> >> Then reboot.
> >
> > Actually the nvidia.ko mdule was and is loaded
> > hpbsd# kldstat
> > Id Refs AddressSize Name
> >  1   24 0xc040 5b33d8   kernel
> > ..
> >  43 0xc0a7e000 1e058linux.ko
> >  51 0xc0a9d000 435c acpi_video.ko
> >  63 0xc0aa2000 61ba0acpi.ko
> >  71 0xc0b04000 6d4de0   nvidia.ko
> >  81 0xc11d9000 aed4 cpufreq.ko
> >  91 0xc11e4000 4a2c acpi_ibm.ko
> > ..
> > 151 0xc7245000 2000 rtc.ko
> >
> > I was able to eliminate the following error
> > 
> > (II) LoadModule: "wfb"
> > (II) Loading /usr/X11R6/lib/modules/libwfb.so
> > dlopen: Shared object "librpcsvc.so.2" not found, required by "libwfb.so"
> > (EE) Failed to load /usr/X11R6/lib/modules/libwfb.so
> > --
> > because the required librpcsvc.so.2 has become  (and is presente as)
> > librpcsvc.so.3. Therefore I linked
> > ln -s librpcsvc.so.3 librpcsvc.so.2
> >
> > That's ok now BUT
> >
> > NVIDIA: could not open the device /dev/nvidiactl
> > (II) Setting vga for screen 0.
> > (**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
> > (==) NVIDIA(0): RGB weight 888
> > (==) NVIDIA(0): Default visual is TrueColor
> > (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
> > (**) NVIDIA(0): Enabling RENDER acceleration
> > (EE) NVIDIA(0): Failed to initialize the NVIDIA kernel module! Please
> > ensure (EE) NVIDIA(0): that there is a supported NVIDIA GPU in this
> > system, and (EE) NVIDIA(0): that the NVIDIA device files have been
> > created properly. (EE) NVIDIA(0): Please consult the NVIDIA README
> > for details.
> >
> > still something incorrect prevents startx to fire X.
> > The problems seems to be /dev/nvidiactl!
> >
> > Please help - Vittorio
>
> Add yourself to the video group and chown/mod the /dev node until you
> have read, write, and executable access.
>
> -Garrett

Still doen't work! I mean, to put it in a nutshell:

1) kldstat shows the nvidia.ko module BUT no /dev/nvidia0 nor /dev/nvidiactl 
is present and this seems to cause the failure of startx

2) I have the following which seems far less than what I can see surfing the 
net (e.g. something like Idontremember.nvidia.0.%desc, and the likes):

hpbsd # sysctl -a|grep nvidia

   nvidia8437K   -   84  16,32,64,128,256,1024,2048
hw.nvidia.version: NVIDIA UNIX x86 Kernel Module  1.0-9746  Tue Dec 19 
13:20:59 PST 2006
hw.nvidia.registry.EnableVia4x: 0
hw.nvidia.registry.EnableALiAGP: 0
hw.nvidia.registry.NvAGP: 3
hw.nvidia.registry.EnableAGPSBA: 0
hw.nvidia.registry.EnableAGPFW: 0
hw.nvidia.registry.SoftEDIDs: 1
hw.nvidia.registry.Mobile: 4294967295
hw.nvidia.registry.ResmanDebugLevel: 4294967295
hw.nvidia.registry.FlatPanelMode: 0
hw.nvidia.registry.DevicesConnected: 0
hw.nvidia.registry.RmLogonRC: 1
hw.nvidia.registry.DetectPrimaryVga: 1
hw.nvidia.registry.dwords: 

Again HELPCiao
Vittorio

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


Re: Nvidia doesn't start on cryptic errors

2007-05-28 Thread Vittorio De Martino
Il Monday 28 May 2007 14:51:04 John Nielsen ha scritto:
> On Monday 28 May 2007 11:18:07 Vittorio De Martino wrote:
> > On my newly bought HP pavillion 6366 notebook with freebsd 6.2 - p4 and
> > one of the latest portsnap I have an nvidia go 7400 card, *** fully ***
> > supported by the nvidia driver according to the docs.
> >
> > I followed the minimal configuration by nvidia-xconfig and just taiored
> > the language for the keyboardBUT
> >   startx fails to load X and in the log file I find I find the below
> > reported errors.
> >
> > Being a beginner I find myself somewhat disorientated by these errors
> > that I couldn't find surfing the net.
> >
> > (EE) NVIDIA(0): Failed to initialize the NVIDIA kernel module! Please
> > ensure (EE) NVIDIA(0): that there is a supported NVIDIA GPU in this
> > system, and (EE) NVIDIA(0): that the NVIDIA device files have been
> > created properly. (EE) NVIDIA(0): Please consult the NVIDIA README
> > for details.
> > (EE) NVIDIA(0):  *** Aborting ***
>
> Not too cryptic. Make sure that the nvidia kernel module is loaded and try
> again. To verify, type "kldstat". If nvidia.ko is not listed, type "kldload
> nvidia". To load it automatically on boot (which is the only way for it to
> load successfully), add a line like this to /boot/loader.conf:
>
> nvidia_load="YES"
>
> Then reboot.
>

Actually the nvidia.ko mdule was and is loaded
hpbsd# kldstat
Id Refs AddressSize Name
 1   24 0xc040 5b33d8   kernel
..
 43 0xc0a7e000 1e058linux.ko
 51 0xc0a9d000 435c acpi_video.ko
 63 0xc0aa2000 61ba0acpi.ko
 71 0xc0b04000 6d4de0   nvidia.ko
 81 0xc11d9000 aed4 cpufreq.ko
 91 0xc11e4000 4a2c acpi_ibm.ko
..
151 0xc7245000 2000 rtc.ko

I was able to eliminate the following error

(II) LoadModule: "wfb"
(II) Loading /usr/X11R6/lib/modules/libwfb.so
dlopen: Shared object "librpcsvc.so.2" not found, required by "libwfb.so"
(EE) Failed to load /usr/X11R6/lib/modules/libwfb.so
--
because the required librpcsvc.so.2 has become  (and is presente as) 
librpcsvc.so.3. Therefore I linked 
ln -s librpcsvc.so.3 librpcsvc.so.2

That's ok now BUT

>>>>>>>>>>>>>>>>>>>>>>>>>>
NVIDIA: could not open the device /dev/nvidiactl 
>>>>>>>>>>>>>>>>>>>>>>>>>>
(II) Setting vga for screen 0.
(**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
(==) NVIDIA(0): RGB weight 888
(==) NVIDIA(0): Default visual is TrueColor
(==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
(**) NVIDIA(0): Enabling RENDER acceleration
(EE) NVIDIA(0): Failed to initialize the NVIDIA kernel module! Please ensure
(EE) NVIDIA(0): that there is a supported NVIDIA GPU in this system, and
(EE) NVIDIA(0): that the NVIDIA device files have been created properly. 
(EE) NVIDIA(0): Please consult the NVIDIA README for details.

still something incorrect prevents startx to fire X.
The problems seems to be /dev/nvidiactl!

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


Nvidia doesn't start on cryptic errors

2007-05-28 Thread Vittorio De Martino
On my newly bought HP pavillion 6366 notebook with freebsd 6.2 - p4 and one of 
the latest portsnap I have an nvidia go 7400 card, *** fully *** supported by 
the nvidia driver according to the docs.

I followed the minimal configuration by nvidia-xconfig and just taiored the 
language for the keyboardBUT 
  startx fails to load X and in the log file I find I find the below reported 
errors.

Being a beginner I find myself somewhat disorientated by these errors that I 
couldn't find surfing the net.

Please help
Ciao
Vittorio





(II) LoadModule: "glx"
(II) Loading /usr/X11R6/lib/modules/extensions/libglx.so
(II) Module glx: vendor="NVIDIA Corporation"
compiled for 4.0.2, module version = 1.0.9746
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 0.1
(II) Loading extension GLX
(II) LoadModule: "nvidia"
(II) Loading /usr/X11R6/lib/modules/drivers/nvidia_drv.so
(II) Module nvidia: vendor="NVIDIA Corporation"
compiled for 4.0.2, module version = 1.0.9746
Module class: X.Org Video Driver

(II) NVIDIA dlloader X Driver  1.0-9746  Tue Dec 19 13:23:45 PST 2006
(II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
(II) Primary Device is: PCI 01:00:0
(--) Assigning device section with no busID to primary device
(--) Chipset NVIDIA GPU found
(II) Loading sub module "fb"
(II) LoadModule: "fb"
(II) Loading /usr/X11R6/lib/modules/libfb.so
(II) Module fb: vendor="X.Org Foundation"
compiled for 6.9.0, module version = 1.0.0
ABI class: X.Org ANSI C Emulation, version 0.2
(II) Loading sub module "wfb"
(II) LoadModule: "wfb"
(II) Loading /usr/X11R6/lib/modules/libwfb.so
dlopen: Shared object "librpcsvc.so.2" not found, required by "libwfb.so"
(EE) Failed to load /usr/X11R6/lib/modules/libwfb.so
(II) UnloadModule: "wfb"
(EE) Failed to load module "wfb" (loader failed, 7)
(II) Loading sub module "ramdac"
(II) LoadModule: "ramdac"
(II) Loading /usr/X11R6/lib/modules/libramdac.so
(II) Module ramdac: vendor="X.Org Foundation"
compiled for 6.9.0, module version = 0.1.0
ABI class: X.Org Video Driver, version 0.8
(II) resource ranges after xf86ClaimFixedResources() call:
.
(II) Setting vga for screen 0.
(**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
(==) NVIDIA(0): RGB weight 888
(==) NVIDIA(0): Default visual is TrueColor
(==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
(**) NVIDIA(0): Enabling RENDER acceleration
(EE) NVIDIA(0): Failed to initialize the NVIDIA kernel module! Please ensure
(EE) NVIDIA(0): that there is a supported NVIDIA GPU in this system, and
(EE) NVIDIA(0): that the NVIDIA device files have been created properly. 
(EE) NVIDIA(0): Please consult the NVIDIA README for details.
(EE) NVIDIA(0):  *** Aborting ***
(II) UnloadModule: "nvidia"
(II) UnloadModule: "ramdac"
(II) UnloadModule: "fb"
(EE) Screen(s) found, but none have a usable configuration.

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


Confusion between latex & teTeX ports

2007-05-11 Thread Vittorio
I've been happily using latex, pdflatex and context for five years now. 
Now, because a port complains for the absence of a psfonts.sty file 
which seems to be presente in the latex port I tried to install this 
port BUT
I can't make head or tail of the fact that if I try to install 
the port /usr/ports/print/latex while teTeX-base & teTeX-texmf are 
installed they conflict

stat# make install
===>  Installing for 
latex2e-2003.12_1

===>  latex2e-2003.12_1 conflicts with installed 
package(s):
  teTeX-base-3.0_10
  teTeX-texmf-3.0_5

  They 
install files into the same place.
  Please remove them first with 
pkg_delete(1).
*** Error code 1

Stop in /usr/ports/print/latex.

Why 
is that? I thought that latex was part of/ a subset of  the wider teTeX 
port, therefore there's no reason why they should conflict. Isn't that 
true OR  or is latex  considered a different port/code with different 
libs and executable?

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


Re: FreeMat 3.0 doesn't call functions and help

2007-04-23 Thread Vittorio De Martino
Il Sunday 22 April 2007 21:38:12 Thierry Thomas ha scritto:
> Le Jeu 19 avr 07 à  1:00:38 +0200, Vittorio De Martino
> <[EMAIL PROTECTED]>
>
>  écrivait :
> > > I have just upgraded FreeMAT to 3.1, which fixes the inv() problem, and
> > > which should fix this "Help on line" bug too; could you please check
> > > it?
> >
> > Yes, with the new version 3.1 inv now works fine. Unfortunately the "Help
> > on line" still doesn't work. I think that something worsened because with
> > this new port now I cannot use the help on line even as root (in the
> > previous version "Help online" as root worked quite well).
>
> Could you please script (1) a session with only `truss FreeMat', just
> calling the help and exiting? Then please send me the compresed log of
> this session.
>
> If you had created some symlinks, please don't forget to remove them.
>
> Regards,

I cannot truss anything

victor# truss /bin/echo "hello"
truss: cannot open /proc/curproc/mem: No such file or directory

any other solution or workaround?

Vittorio

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


Re: FreeMat 3.0 doesn't call functions and help

2007-04-18 Thread Vittorio De Martino
Il Sunday 15 April 2007 22:11:12 Thierry Thomas ha scritto:
> Le Lun  9 avr 07 à 16:39:49 +0200, Vittorio De Martino
> <[EMAIL PROTECTED]>
>
>  écrivait :
> > P.S. By the way, launching FreeMat as root the "Help on line" works
> > whilst inv still doesn't work. Ciao Vittorio
>
> Hello,
>
> I have just upgraded FreeMAT to 3.1, which fixes the inv() problem, and
> which should fix this "Help on line" bug too; could you please check it?
>

Yes, with the new version 3.1 inv now works fine. Unfortunately the "Help on 
line" still doesn't work. I think that something worsened because with this 
new port now I cannot use the help on line even as root (in the previous 
version "Help online" as root worked quite well).

Ciao
Vittorio 

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


koffice ports fails to compile kspread

2007-04-15 Thread Vittorio De Martino
On a 6.2 i386 box I'm unable to compile koffice 1.6.2 kspread because a 
cryptic errors "Error code 2"  pops up.
See the attached log and ...
 please help.

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

Advice on how to memorize images

2007-04-10 Thread Vittorio
I'm now moving my first steps in trying to memorize my many digital 
photos (for the time being some 700 pictures but rapifdly growing, 
average size among 800-900kb)  in a "centralised system" easy to deal 
with. I'm now  successfully (but still in an experimental level) using  
a postgresql 8.0.2 db with its wonderful lo_creat, lo_export, etc 
functions.
Unfortunately I've read in the internet many criticism on 
the use of mysql or pgsql db to memorize images, that this is not an 
efficient way to do the job (no alternatives seem to be proposed 
anyway!) because the db easily becomes cumbersome  (isn't that the 
"core business" of a great db such as mysql or pgsql?).

Could someone 
out there tell an almost definite word on this subject with some 
suggestions (other applications?) based on real experience?

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


Re: FreeMat 3.0 doesn't call functions and help

2007-04-09 Thread Vittorio De Martino
Alle 09:18, domenica 08 aprile 2007, Thierry Thomas ha scritto:
> Le Sam  7 avr 07 à 21:24:05 +0200, Vittorio De Martino
..
> I had forgotten about that, but I think that the first time I had
> launched
>
> FreeMat -i /usr/local/share/FreeMat-3.0
>
> and then it uses QSettings to store this path persistently.
>
.
No, it still doesn't work. I launched what you suggested (see below) then 
again 'FreeMat' but when I ask for the "Help on line" nothing happens and the 
system answer as below (see QTextBrowser's lines) 

victor$ FreeMat -i /usr/local/share/FreeMat-3.0/
FreeMat root path set to '/usr/local/share/FreeMat-3.0/'
victor$ FreeMat
QTextBrowser: Cannot open 'file:///index.html' for reading
QTextBrowser: No document for file:///index.html

Ciao
Vittorio

P.S. By the way, launching FreeMat as root the "Help on line" works whilst inv 
still doesn't work. Ciao Vittorio
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


FreeMat 3.0 doesn't call functions and help

2007-04-07 Thread Vittorio De Martino
I've just installed FreeMat 3.0 from the ports in my i386 6.2 box but, while 
it is able to accomplish simple calculations it is not able to use the 
functions e.g to invert a matrix

a=[1,2;-4,3]
inv(a)

instead of inverting the matrix hangs endlessly.

Besides if I ask for the "help on line" (OR helpwin) the following error 
messages pops up  

"The file modules.txt is missing from the directory  where I think help files 
should be."
 
I think I didn't configure something but I don't know what (the main.pdf 
manual isn't that helpful as far as the installation is concerned).

Could someone out there help me to start FreeMat?

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


Bluetooth problems

2007-03-05 Thread vittorio

I'm unable to use a bluetooth connection between my fbsd 6.2 laptop and my 
Nokia cell . As you can see below I can l2ping the cell but not other 
connection are possible. Also the Nokia cell fails to connect to the new 
device, the laptop, even though it perceives the device. 

Could you please give a helpful hand to this absolute bluetooth beginner? 

Ciao
Vittorio


#/etc/bluetooth/hosts
# BD_ADDR   Name [ alias0 alias1 ... ]

# 00:11:22:33:44:55 phone
00:12:d2:65:c2:03   NokiaVic

% kldstat
Id Refs AddressSize Name
 1   32 0xc040 48fd20   kernel
 21 0xc089 3224 splash_bmp.ko
 31 0xc0894000 5528 vesa.ko
 41 0xc095a000 435c acpi_video.ko
 53 0xc095f000 61bc0acpi.ko
 61 0xc09c1000 aed4 cpufreq.ko
 71 0xc09cc000 4a2c acpi_ibm.ko
 81 0xc09d1000 7ea4 ng_ubt.ko
 96 0xc09d9000 d6dc netgraph.ko
101 0xc35ac000 7000 linprocfs.ko
111 0xc35b3000 6000 procfs.ko
122 0xc35b9000 6000 pseudofs.ko
132 0xc35c 19000linux.ko
141 0xc35d9000 4000 sysvshm.ko
151 0xc35e2000 5000 sysvsem.ko
161 0xc35f5000 4000 sysvmsg.ko
171 0xc36db000 2000 rtc.ko
181 0xc4064000 3000 wlan_wep.ko
191 0xc4068000 e000 if_iwi.ko
202 0xc4076000 3000 firmware.ko
211 0xc4082000 3iwi_bss.ko
224 0xc40ce000 2000 ng_bluetooth.ko
231 0xc40d d000 ng_hci.ko
241 0xc40dd000 f000 ng_l2cap.ko
251 0xc40fc000 19000ng_btsocket.ko
261 0xc411d000 4000 ng_socket.ko
% mc



% hccontrol -n ubt0hci remote_name_request NokiaVic
BD_ADDR: NokiaVic
Name: NokiaVic
% hccontrol -n ubt0hci remote_name_request 00:12:d2:65:c2:03
Status: Page timeout [0x4]
% hccontrol -n ubt0hci remote_name_request NokiaVic
BD_ADDR: NokiaVic
Name: NokiaVic

% hccontrol -n ubt0hci read_connection_list
Remote BD_ADDRHandle Type Mode Role Encrypt Pending Queue State

% /etc/rc.d/rc.bluetooth start ubt0
BD_ADDR: 00:11:f6:07:cb:b8
Features: 0xff 0xff 0x8f 0xfe 0x9b 0xf9 00 0x80
<3-Slot> <5-Slot>  
   
   

  

Max. ACL packet size: 384 bytes
Number of ACL packets: 8
Max. SCO packet size: 64 bytes
Number of SCO packets: 8

% hccontrol -n ubt0hci read_connection_list
Remote BD_ADDRHandle Type Mode Role Encrypt Pending Queue State

% hccontrol -n ubt0hci remote_name_request NokiaVic
Status: Page timeout [0x4]
% hccontrol -n ubt0hci inquiry
Inquiry result, num_responses=1
Inquiry result #0
BD_ADDR: NokiaVic
Page Scan Rep. Mode: 0x1
Page Scan Period Mode: 0x2
Page Scan Mode: 00
Class: 50:02:0c
Clock offset: 0x3d19
Inquiry complete. Status: No error [00]
% hccontrol -n ubt0hci remote_name_request 00:12:d2:65:c2:03
BD_ADDR: NokiaVic
Name: NokiaVic
% hccontrol -n ubt0hci read_connection_list
Remote BD_ADDRHandle Type Mode Role Encrypt Pending Queue State

% l2ping -a NokiaVic
0 bytes from NokiaVic seq_no=0 time=2264.361 ms result=0
0 bytes from NokiaVic seq_no=1 time=94.771 ms result=0
0 bytes from NokiaVic seq_no=2 time=52.969 ms result=0
0 bytes from NokiaVic seq_no=3 time=59.167 ms result=0
0 bytes from NokiaVic seq_no=4 time=49.362 ms result=0

% l2control -a 00:12:d2:65:c2:03 read_channel_list
l2control: Could not bind socket, bdaddr=00:12:d2:65:c2:03: Network is down
% l2control -a NokiaVic read_channel_list
l2control: Could not bind socket, bdaddr=00:12:d2:65:c2:03: Network is down
% btsockstat

% /etc/rc.d/rc.bluetooth stop ubt0
% /etc/rc.d/rc.bluetooth start ubt0
BD_ADDR: 00:11:f6:07:cb:b8
Features: 0xff 0xff 0x8f 0xfe 0x9b 0xf9 00 0x80
<3-Slot> <5-Slot>  
   
   

  

Max. ACL packet size: 384 bytes
Number of ACL packets: 8
Max. SCO packet size: 64 bytes
Number of SCO packets: 8
% btsockstat
% l2control -a 00:12:d2:65:c2:03 read_channel_list
l2control: Could not bind socket, bdaddr=00:12:d2:65:c2:03: Network is down
% /etc/rc.d/rc.bluetooth start ubt0
BD_ADDR: 00:11:f6:07:cb:b8
Features: 0xff 0xff 0x8f 0xfe 0x9b 0xf9 00 0x80
<3-Slot> <5-Slot>  
   
   

  

Max. ACL packet size: 384 bytes
Number of ACL packets: 8
Max. SCO packet size: 64 bytes
Number of SCO packets: 8
% l2control -a NokiaVic read_channel_list
l2control: Could not bind socket, bdaddr=00:12:d2:65:c2:03: Network is down
% hccontrol -n ubt0hci remote_name_request 00:12:d2:65:c2:03
Status: Page timeout [0x4]
% hccontrol -n ubt0hci remote_name_request NokiaVic
Status: Page timeout [0x4]
% l2control -a NokiaVic read_channel_list
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Howto prelink to boost performance

2007-02-18 Thread vittorio
In an openbsd ML I have read that it is possible for a desktop instalation to 
improve the performance by using the prelinking ability of openbsd similar to 
that of linux.
here the key sentence:"
prelinking... can be enabled using 
`ldconfig -P /usr/bin /usr/sbin /usr/local/bin /usr/local/sbin /usr/X11R6/bin'. 
This should result in a noticeable speed increase, especially on programs 
with lots of loaded libraries " (mozilla, firefox, etc.)

In freebsd 6.2 the option -P doesn't seem to exist for ldconfig.
How could I - under freebsd - get the same result   (prelink I mean!)?

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


Re: gtk-2.10.9 doesn't compile

2007-02-13 Thread Vittorio
As requested, please find attached the complete, tarred log of gtk 
failed compilation.
Ciao
Vittorio

--  Messaggio inoltrato  
--

Subject: Re: gtk-2.10.9 doesn't compile
Date: 18:06, lunedì 
12 febbraio 2007
From: "Jeremy Messenger" <[EMAIL PROTECTED]>
To: Vittorio 
<[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED], [EMAIL PROTECTED]

On Mon, 
12 Feb 2007 06:52:05 -0600, Vittorio <[EMAIL PROTECTED]> wrote:
> Dear 
All,
>
> Under a fresh installation of 6.2 I recently updated via
> 
portsnap the ports tree and recompiled what was needed (including
> 
portupgrade!), BUT after issuing as root:
>
> portupgrade gtk
> I 
obtain the
> following obscure, esoteric diagnostic:
> 

You have 
cutted out the important part. In general, it is always best to
send a 
FULL log. While I am here, please follow this:
http://www.freebsd.
org/gnome/docs/bugging.html

Cheers,
Mezz

> gmake[2]: Leaving
> 
directory `/usr/ports/x11-toolkits/gtk20/work/gtk+-2.10.9/gdk'
> gmake
> [1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory
> 
`/usr/ports/x11-toolkits/gtk20/work/gtk+-2.10.9'
> gmake: *** [all] 
Error
> 2
> *** Error code 2
>
> Stop in /usr/ports/x11-toolkits/gtk20.
> ** Command
> failed [exit code 1]: /usr/bin/script -qa 
/tmp/portupgrade.55166.1 env
> UPGRADE_TOOL=portupgrade 
UPGRADE_PORT=gtk-2.10.7 UPGRADE_PORT_VER=2.
> 10.7 make
> ** Fix the 
problem and try again.
> 
>
> What shall I do?
> Ciao from Rome 
- Vittorio
>
> Ciao
> Vittorio

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

gtk-2.10.9 doesn't compile

2007-02-12 Thread Vittorio
Dear All,

Under a fresh installation of 6.2 I recently updated via 
portsnap the ports tree and recompiled what was needed (including 
portupgrade!), BUT after issuing as root:

portupgrade gtk
I obtain the 
following obscure, esoteric diagnostic:

gmake[2]: Leaving 
directory `/usr/ports/x11-toolkits/gtk20/work/gtk+-2.10.9/gdk'
gmake
[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory 
`/usr/ports/x11-toolkits/gtk20/work/gtk+-2.10.9'
gmake: *** [all] Error 
2
*** Error code 2

Stop in /usr/ports/x11-toolkits/gtk20.
** Command 
failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade.55166.1 env 
UPGRADE_TOOL=portupgrade UPGRADE_PORT=gtk-2.10.7 UPGRADE_PORT_VER=2.
10.7 make
** Fix the problem and try again.


What shall I do?
Ciao from Rome - Vittorio

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


Re: 6.2 hangs probing floppy

2007-01-31 Thread vittorio
Before eliminating fdc from the kernel I add another piece of info.

If immediatedly after booting I put a floppy into the drive, the booting 
process goes on without problems. 

Any other. softer solution to tis problem.

Vittorio
Alle 17:51, martedì 30 gennaio 2007, Roland Smith ha scritto:
> On Tue, Jan 30, 2007 at 03:14:49PM +0100, Vittorio wrote:
> > I updated my pentium 3 PC Compaq Desktop 450 from freebsd 5.3 (which
> > was working like a charme indeed!) to the new 6.2 installing from a CD.
> >
> > It happens that the boot
> > 1) runs smoothly as usual till after the
> > probing of the CDs,
> > 2) then the boot hangs for about 3 minutes probing
> > the floppy (I see the floppy led turned on for the same time),
> > 3)
> > eventually again smoothly till the end of the booting process.
> >
> >  I
> > noticed that the /dev/fd0 device is not found and there's no way to
> > mount it.
>
> Build a kernel without "device fdc". Or maybe disable the floppy in the
> bios.
>
> Roland
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


6.2 hangs probing floppy

2007-01-30 Thread Vittorio
I updated my pentium 3 PC Compaq Desktop 450 from freebsd 5.3 (which 
was working like a charme indeed!) to the new 6.2 installing from a CD.

It happens that the boot 
1) runs smoothly as usual till after the 
probing of the CDs, 
2) then the boot hangs for about 3 minutes probing 
the floppy (I see the floppy led turned on for the same time), 
3) 
eventually again smoothly till the end of the booting process.

 I 
noticed that the /dev/fd0 device is not found and there's no way to 
mount it.

What shall I do?

Vittorio


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


Renaming files in one shot

2007-01-26 Thread Vittorio
Under a directory I have many pdf files named according to M$ Windows 
rules, that is:

Marylin Monroe.pdf
James Stewart.pdf
Alice in 
Wonderland.pdf
Ludwig Van Beethoven.pdf
.
.

Now I'd like to 
rename them ** IN ONE SHOT ** (some more steps would be acceptable 
anyway!) deleting all the blanks, that is

MarylinMonroe.pdf
JamesStewart.pdf
AliceinWonderland.pdf
LudwigVanBeethoven.pdf



How can I do that?

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


jail & 127.0.0.x howto

2006-12-05 Thread vittorio
Under freebsd 6.1 I set up an apache 2.0 server in a jail working on fxp0 
10.155.1.10 and aliased as 10.155.1.11. It works like a charme.

Now while IP 10.155.1.10 is a fixed IP address I've been assigned by my office 
network administrator (it is also in the office DNS) the aliased IP address, 
10.155.1.11, is an abuse of mine just for the sake of trying if the jail 
worked.

Because I'm entitled to have  ** one** fixed IP only, I wonder how I can use 
the 127.0.0.x adddresses to setup the jail for apache, as I found suggested, 
better "hinted", googling. A step by step example would be very helpful.
How to set up the jail using the internal addresses?

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


Re: IPFW & NFS

2006-11-23 Thread vittorio
Well I tried something similar to your
ipfw add xxx allow udp from ${client} to ${server} ${nfsports} keep-state
ipfw add 300 allow udp from 10.0.0.2 to 10.0.0.1 2049,111,1022 setup 
keep-state
(it differs from your line for the setup option).
It ddidn't worked at all.

Afterwards, following Cuck's advise, I had a go at modifying the ipfw firewall 
in the nfs client 10.0.0.2 (no firewall for the time being on the nfs server 
10.0.0.1) and added towards the end of the list, immediatedly before the very 
laste line denying everything else

5 allow ip from 10.0.0.1 to 10.0.0.2
51000 allow ip from 10.0.0.2 to 10.0.0.1
65535 deny ip from any to any 

It seemed to works partially! I mean that I could mount_nfs the share in 
the client, surfing the directories, reading and writing files in the share, 
BUT ... out of the blue, after some minutes the client freezed and I had to 
reboot :-( brutally turning off and on the box.

Help please
Vittorio

Alle 05:25, giovedì 23 novembre 2006, Ian Smith ha scritto:
> vittorio <[EMAIL PROTECTED]> wrote:
>  > I have two FreeBSD 6.1 boxes one of which (IP 10.0.0.1) is an NFS server
>  > and the other one (IP 10.0.0.2) is, among other things, an NFS client
>  > sharing directories with the NFS server.
>  > It all works correctly and I can mount_nfs all the directories from the
>  > server.
>  > BUT, I'm now trying to use an IPFW firewall both on the server and on
>  > the client. My simple aim is to setup connections between the 10.0.0.1
>  > server and the 10.0.0.2 client ** only **; no connections should be
>  > possible with other clients!
>  > Now I've tried the poor documentation I could find googling with the
>  > keywords "freebsd ipfw nfs" to no avail, I cannot mount_nfs any share on
>  > te client because something goes wrong with RPC.
>  > Concentrating on the client side (no ipfw for the moment on teh server)
>  > I tried the following
>  >
>  > ipfw add 300 allow ip from 10.0.0.1 2049,111,1022 to 10.0.0.2 via fxp0
>  > setup keep-state
>  >
>  > OR
>  > ipfw add 300 allow ip from 10.0.0.1 to 10.0.0.2  2049,111,1022 via fxp0
>  > setup keep-state
>  >
>  > OR
>  > ipfw add 300 allow ip from 10.0.0.1 2049,111,1022 to me via fxp0 setup
>  > keep-state
>  >
>  > OR
>  > ipfw add 300 allow ip from 10.0.0.1 to me  2049,111,1022 via fxp0 setup
>  > keep-state
>  >
>  > If I disable the firewall it all goes smootly.
>
> Firstly, what Chuck and Bill said .. but some further points ..
>
> Secondly, you don't specify port numbers with 'allow ip', which covers
> tcp, udp and raw ip packets also; you want 'allow udp' here, unless of
> course you're using NFS over TCP as well, where you'd need 'allow tcp'.
> Note also that 'setup' only applies to TCP connections.
>
> Thirdly, if you do want to use stateful rules on the client, you'll do
> better doing them on your _outbound_ connections, something like:
>
>   ipfw add xxx allow udp from ${client} to ${server} ${nfsports} keep-state
>
> If it were me I'd concentrate on the server side firewall rules (and
> /etc/exports allowed hosts) both for allowing desired and disallowing
> undesired connections, so not having to worry much about what client/s
> may or may not be doing.
>
> 'man ipfw' is actually pretty good documentation, though there is a fair
> bit to absorb there.  I still read it before bedtime now and again :)
>
> Ciao, Ian
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


IPFW & NFS

2006-11-22 Thread vittorio
I have two FreeBSD 6.1 boxes one of which (IP 10.0.0.1) is an NFS server and 
the other one (IP 10.0.0.2) is, among other things, an NFS client sharing 
directories with the NFS server.
It all works correctly and I can mount_nfs all the directories from the 
server.
BUT, I'm now trying to use an IPFW firewall both on the server and on the 
client. My simple aim is to setup connections between the 10.0.0.1 server and 
the 10.0.0.2 client ** only **; no connections should be possible with other 
clients!
Now I've tried the poor documentation I could find googling with the 
keywords "freebsd ipfw nfs" to no avail, I cannot mount_nfs any share on te 
client because something goes wrong with RPC.
Concentrating on the client side (no ipfw for the moment on teh server) I 
tried the following

ipfw add 300 allow ip from 10.0.0.1 2049,111,1022 to 10.0.0.2 via fxp0 setup 
keep-state

OR
ipfw add 300 allow ip from 10.0.0.1 to 10.0.0.2  2049,111,1022 via fxp0 setup 
keep-state
  
OR
ipfw add 300 allow ip from 10.0.0.1 2049,111,1022 to me via fxp0 setup 
keep-state

OR
ipfw add 300 allow ip from 10.0.0.1 to me  2049,111,1022 via fxp0 setup 
keep-state

If I disable the firewall it all goes smootly.

Could you please help me?

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


ipfw & cups

2006-10-04 Thread vittorio
As an IPFW newbye with the following rules I'm unable to use cupsd in the same 
box where ipfw is running; cups seems to hang endlessly (rule 631 is about 
the port 631).
What ami I missing
Ciao
Vittorio

# ipfw list
00500 check-state
00501 deny tcp from any to any established
00502 deny ip from any to any frag
00503 allow ip from any to any via lo0
00504 deny ip from any to any not verrevpath in
00505 deny ip from any to 127.0.0.0/8
00508 deny ip from 127.0.0.0/8 to any
00590 allow tcp from 10.155.100.0/24 to me dst-port 22,80 via iwi0 setup 
keep-state
00595 allow tcp from me to any dst-port 22,80,443 via iwi0 setup keep-state
00597 allow ip from me to any dst-port 20,21 out setup keep-state
00601 allow tcp from 10.155.100.0/24 to me dst-port 81,137-139,445 via iwi0 
setup keep-state
00602 allow udp from 10.155.100.0/24 to me dst-port 123,81,137,138,139,445 via 
iwi0 setup keep-state
00603 allow tcp from me to 10.155.100.0/24 dst-port 81,137-139,445 via iwi0 
setup keep-state
00604 allow udp from me to 10.155.100.0/24 dst-port 123,81,137,138,139,445 via 
iwi0 setup keep-state
00605 allow tcp from 10.155.100.0/24 to me dst-port 1024,5432,5900-5909 via 
iwi0 setup keep-state
00607 allow udp from 10.155.100.0/24 to me dst-port 1024,5432,5900-5909 via 
iwi0 setup keep-state
00608 allow tcp from any to 10.155.100.33 dst-port 1491
00609 allow tcp from 10.155.100.33 1491 to any
00610 allow tcp from me to any dst-port 53 out via iwi0 keep-state
00612 allow udp from me to any dst-port 53 out via iwi0 keep-state
00631 allow tcp from 10.155.100.0/24 to me dst-port 631
00650 allow tcp from any to any dst-port 25 out via iwi0 setup keep-state
00655 allow tcp from any to any dst-port 110 out via iwi0 setup keep-state
00700 allow icmp from 10.155.100.0/24 to any via iwi0
65535 deny ip from any to any
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


R: Re: ipfw & cups

2006-10-03 Thread Vittorio
This are my rules (line 631 is about the same port!):

Ciao - Vittorio

#ipfw list
00500 check-state
00501 deny tcp from any to any established
00502 deny ip from any to any frag
00503 allow ip from any to any via 
lo0
00505 deny ip from any to 127.0.0.0/8
00508 deny ip from 127.0.0.0
/8 to any
00590 allow tcp from 10.155.0.0/16 to me dst-port 22,80,8080 
via fxp0 setup keep-state
00595 allow tcp from me to any dst-port 
22,80,8080,443 via fxp0 setup keep-state
00596 allow tcp from me to 
10.155.222.37 dst-port 1524 setup keep-state
00601 allow tcp from 
10.155.0.0/16 to me dst-port 81,137-139,445 via fxp0 setup keep-state
00602 allow udp from 10.155.0.0/16 to me dst-port 
123,81,137,138,139,445 via fxp0 setup keep-state
00603 allow tcp from 
me to any dst-port 81,137-139,445 via fxp0 setup keep-state
00604 allow 
udp from me to any dst-port 123,81,137,138,139,445 via fxp0 setup keep-
state
00605 allow tcp from 10.155.0.0/16 to me dst-port 
1024,3306,5432,5900-5909 via fxp0 setup keep-state
00607 allow udp from 
10.155.0.0/16 to me dst-port 1024,3306,5432,5900 via fxp0 setup keep-
state
00608 allow tcp from any to 10.155.102.6 dst-port 1491
00609 
allow tcp from 10.155.102.6 1491 to any
00610 allow tcp from me to any 
dst-port 53 out via fxp0 keep-state
00612 allow udp from me to any dst-
port 53 out via fxp0 keep-state
00631 allow tcp from 10.155.0.0/16 to 
me dst-port 631
00700 allow icmp from 10.155.0.0/16 to any via fxp0
65535 deny ip from any to any


Sorry for the way they're displayed but 
I'm writing on an awful webmail....

Ciao
Vittorio

>Messaggio 
originale
>Da: [EMAIL PROTECTED]
>Data: 3-ott-2006 7.08
>A: 

>Cc: "Vittorio"<[EMAIL PROTECTED]>
>Ogg: 
Re: ipfw & cups
>
>On Mon, 2 Oct 2006 16:22:13 +0100 (GMT+01:00)
>Vittorio <[EMAIL PROTECTED]> wrote:
>
>> To my ipfw firewall I have 
added, according to what I found in the 
>> internet, the following 
rule to allow the use of cupsd on the same box:
>> 
>> 00520 allow ip 
from any to any dst-port 631 in
>> 
>> to no avail because it 
>> is 
not even checked as you can see below from the log (obtained from 
>> 
kde kcontrol center trying (and failing) to display the connected 
cups' 
>> printers):
>> 
>> Am I missing something?
>> What should I 
do?
>> Ciao
>> Vittorio
>> ..
>> 
NbBSD# ipfw -td list
>> 00500 check-state
>> 
00501 Mon Oct  2 17:10:13 
>> 2006 deny tcp from any to any established
>> 00502 
>> deny ip from any to any frag
>> 
00503 Mon Oct  2 17:10:13 2006 allow ip 
>> from any to any via lo0
>> 
00514 deny ip from any 
>> to any not 
verrevpath in
>> 00520 allow ip from 
>> any to 
any dst-port 631 in
>> 00525 deny ip from 
>> 
any to 127.0.0.0/8
>> 
...
>> 
...
>> 00609 allow tcp from 10.155.102.6 1491 to 
any
>> 00610 allow tcp from me to any dst-port 
53 out 
>> via fxp0 keep-state
>> 00612 allow 
udp from me to 
>> any dst-port 53 out via fxp0 keep-state
>> 
00700 
>> allow icmp from 10.155.0.0/16 to any 
via fxp0
>> 65535 Mon Oct  2 17:10:13 
>> 2006 deny ip from any to any
>
>can you please send your rules again , making sure there is no dates 
inserted
>all over the place? 
>thx
>_
>
{Beto|Norberto|Numard} Meijome
>
>"Throughout the centuries there were 
[people] who took first steps down new
>paths armed only with their own 
vision." Ayn Rand
>
>I speak for myself, not my employer. Contents may 
be hot. Slippery when wet.
>Reading disclaimers makes you go blind. 
Writing them is worse. You have been
>Warned.
>


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


ipfw & cups

2006-10-02 Thread Vittorio
To my ipfw firewall I have added, according to what I found in the 
internet, the following rule to allow the use of cupsd on the same box:

00520 allow ip from any to any dst-port 631 in

to no avail because it 
is not even checked as you can see below from the log (obtained from 
kde kcontrol center trying (and failing) to display the connected cups' 
printers):

Am I missing something?
What should I do?
Ciao
Vittorio
..
NbBSD# ipfw -td list
00500 check-state
00501 Mon Oct  2 17:10:13 
2006 deny tcp from any to any established
00502 
deny ip from any to any frag
00503 Mon Oct  2 17:10:13 2006 allow ip 
from any to any via lo0
00514 deny ip from any 
to any not verrevpath in
00520 allow ip from 
any to any dst-port 631 in
00525 deny ip from 
any to 127.0.0.0/8
...
...
00609 allow tcp from 10.155.102.6 1491 to any
00610 allow tcp from me to any dst-port 53 out 
via fxp0 keep-state
00612 allow udp from me to 
any dst-port 53 out via fxp0 keep-state
00700 
allow icmp from 10.155.0.0/16 to any via fxp0
65535 Mon Oct  2 17:10:13 
2006 deny ip from any to any

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


konqueror & protected sites

2006-09-28 Thread vittorio
I cannot access protected sites (such as those of internet banking, credit 
card and so on) with konqueror under kde because "the process died 
unexpectedly") while I can smoothly surf them with other browsers like 
mozilla.
What should I do?
Vittorio
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


IPFW & protected sites

2006-09-28 Thread vittorio
With my ipfw firewall I can't surf the protected sites (I think by means of  
the ssl protocol), those with the closed locker in the frame of the browser.

How can I enable this sites from my freebsd 6.1 box?

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


ipfw, ftp and wget

2006-09-26 Thread vittorio
I'm using ipfw as firewall. 
What rules should I add to use both wget and ftp from my box only towards the 
internet through my iwi0?

(I found the following lines for ftp but they don't seem to work:
..
ipfw add 45 allow tcp from any to any 21 in setup keep-state
ipfw add 46 allow udp from any to any 21 in setup keep-state)

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


IPFW doesn't resolve host names

2006-09-20 Thread Vittorio
Dear friends,
I have a pentium 4 freebsd 6.1 server connected to my 
office win-xp lan. The server smoothly runs sshd, postgresql, samba (to 
connect some /home share and the office win filesystem), vncserver.  
Recently I added the following IPFW firewall (I'm an absolute beginner 
with it) which works ** almost correctly **.
In fact, I can connect via 
ssh (putty under winxp), the pg database works, vncserver too, while 
samba connects to its local windows share  but it's unable to connect 
to the lan filesystem because it is no longer possible to resolve the 
host names. if I ping a host  the answer is invariably 

ping: cannot 
resolve matteo: Host name lookup failure

even though I defined "allow" 
rules for port 53.

Could you please help me? 
### start of 
example ipfw rules script #
ipfw -q -f flush   # Delete 
all rules
# Set defaults
oif="fxp0" # out interface
# Set 
defaults
gw="10.155.102.6"
cmd="ipfw -q add " # build rule prefix
ks="keep-state"# just too lazy to key this each time
$cmd 00500 
check-state
$cmd 00502 deny all from any to any frag
$cmd 00501 deny 
tcp from any to any established
$cmd 00503 allow all from any to any 
via lo0
$cmd 00505 deny all from any to 127.0.0.0/8
$cmd 00508 deny ip 
from 127.0.0.0/8 to any
$cmd 00600 allow tcp from any to me dst-port 
22, 80 via $oif setup $ks
$cmd 00601 allow tcp from any to me dst-port 
81,137,138,139,445 via $oif setup $ks
$cmd 00602 allow tcp from any to 
me dst-port 5432, 5900-5909 via $oif setup $ks
$cmd 00604 allow udp 
from any to me dst-port 81,137,138,139,445 via $oif setup $ks
$cmd 
00605 allow udp from any to me dst-port 5432, 5900 via $oif setup $ks
$cmd 00606 allow tcp from any to $gw 1491
$cmd 00607 allow tcp from $gw 
1491 to any
$cmd 00610 allow tcp from me to any 53 out via $oif
$cmd 
00611 allow tcp from any 50 to me in via $oif
$cmd 00612 allow udp from 
me to any 53 out via $oif
$cmd 00613 allow udp from any 50 to me in via 
$oif
$cmd 00700 allow icmp from any to any via $oif
### 
End of example ipfw rules script 

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


Acroread doesn't find a lib

2006-09-08 Thread vittorio
Under freebsd 6.1 I have just portupgraded the ports acroread-7.0.8 and 
libXfixes-2.0.1_2.

BUT

#acroread
/usr/X11R6/Adobe/Acrobat7.0/ENU/Reader/intellinux/bin/acroread: error while 
loading shared libraries: libXfixes.so.3: cannot open shared object file: No 
such file or directory


What should I do?

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


Creating pkg-plist - problems

2006-09-06 Thread vittorio
Under 6.1 I'm trying to build a port (R-2.3.1) following the instructions in 
the porters-handbook and particularly I'm having a go at creating the 
pkg-plist file as suggested in the point 7.5 of

http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/plist-autoplist.html

now,there is said:
 
"Next, create a temporary directory tree into which your port can be 
installed, and install any dependencies.
# mkdir /var/tmp/$(make -V PORTNAME)
# mtree -U -f $(make -V MTREE_FILE) -d -e -p /var/tmp/$(make -V PORTNAME)
# make depends PREFIX=/var/tmp/$(make -V PORTNAME)"

but, when I try:

% make -V PORTNAME
R

BUT
% mkdir /var/tmp/$(make -V PORTNAME)
the answer is 
"Nome di variabile non lecito" that is "variable name not allowed"

What's wrong with it?

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


Probelms with 'make clean'

2006-06-11 Thread vittorio
Yesterday, after portsnap(-ping)  with fetch & update, first I upgraded the 
portupgrade port of my freebsd 6.1 fresh box by means of
make;make deinstall reinstall clean

Then  I started to upgrade my kde installation issuing
portupgrade 'kde*' but it invariably failed complaining: 

[an example with kdeaddons-konq-plugins-3.5.3]
NbBSD# portupgrade 'kdead*'
--->  Session started at: Sun, 11 Jun 2006 09:42:59 +
--->  Upgrade of misc/konq-plugins started at: Sun, 11 Jun 2006 09:44:47 +
--->  Upgrading 'kdeaddons-konq-plugins-3.5.2' 
to 'kdeaddons-konq-plugins-3.5.3' (misc/konq-plugins)
--->  Build of misc/konq-plugins started at: Sun, 11 Jun 2006 09:44:47 +
--->  Building '/usr/ports/misc/konq-plugins'
===>  Cleaning for qt-3.3.6_2
===>  Cleaning for gmake-3.80_2
===>  Cleaning for libtool-1.5.22_2
===>  Cleaning for kdebase-3.5.3_1
===>  Cleaning for kdelibs-3.5.3
make: don't know how to make clean. Stop
*** Error code 2 

So I had to recompile the ports with the usual
make;make deinstall reinstall;
which works smoothly but

make clean 
  
[here is an example with kdeaccessibility 3.5.3]

===>   Registering installation for kdeaccessibility-3.5.3
NbBSD# make clean
===>  Cleaning for qt-3.3.6_2
===>  Cleaning for gmake-3.80_2
===>  Cleaning for libtool-1.5.22_2
===>  Cleaning for kdelibs-3.5.3
make: don't know how to make clean. Stop
*** Error code 2


Where am I wrong? What did I mess up? AND... What should I do to fix it
Ciao
Vittorio

PS With packages different from kde portupgrade and 'make clean' seem to work 
properly.
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Latex TTF font installation:missing binaries

2006-06-07 Thread Vittorio
I'm trying to install new proprietary TTF fonts (helvetica neue) for 
use with pdflatex under freebsd 6.1.
In doing so, I'm following the 
many docs on the subject found either under the fontinst and fonts dir 
of texmf-dist or in the internet (plenty & somewhat misleading docs, 
indeed)  but many important files seem to be missing in the latest fbsd 
tetex package. 
To start with I cannot find the encoding the encoding 
T1-WGL4.enc file needed by ttf2afm.
Also seem to be far at bay ttf2pfm 
and ttf2pk binaries required, e.g., by the ttf2tex procedure.

Am I out 
of the right way?
Am I missing something?
Please help

Vittorio


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


Re: R, unixodbc & easysoft problems

2006-06-02 Thread vittorio
Yes, I have it

ls -al /usr/compat/linux/lib/libm.so.6
lrwxr-xr-x  1 root  wheel  13 15 Mar 14:32 /usr/compat/linux/lib/libm.so.6 -> 
libm-2.3.2.so

Vittorio

Alle 13:18, giovedì 01 giugno 2006, Lowell Gilbert ha scritto:
> Vittorio <[EMAIL PROTECTED]> writes:
> > I installed first, from the ports, unixodbc, then the latest oracle
> > easysoft driver on my FBSD 6.1 box, following the included
> > instructions. When using unixodbc with postgresql, plain sailing, it
> > works like a charm!
> > But when I try to connect via odbc to oracle (here
> > an instance of the statistical software R) I get:
> >
> > 1: [RODBC] ERROR:
> > state 01000, code 0, message [unixODBC][Driver Manager]Can't open lib
> > '/usr/compat/linux/usr/local/easysoft/oracle/libesoracle.so' : Shared
> > object "libm.so.6" not found, required by "libesoracle.so"
> >
> > and
> > issuing:
> > /compat/linux/usr/bin/ldd -v libesoracle.so
> > /compat/linux/usr/bin/ldd: /lib/ld-linux.so.2: not found
> > ldd: /lib/ld-
> > linux.so.2 $exited with unknown exit code (127)
> >
> > I understand that
> > there's something to be set as far as libraries to be used & linked are
> > concerned.
>
> Do you have the "missing" library?
> On my system, it was installed by the linux_base port, and is
> /usr/compat/linux/lib/libm.so.6
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


R, unixodbc & easysoft problems

2006-06-01 Thread Vittorio
I installed first, from the ports, unixodbc, then the latest oracle 
easysoft driver on my FBSD 6.1 box, following the included 
instructions. When using unixodbc with postgresql, plain sailing, it 
works like a charm!
But when I try to connect via odbc to oracle (here 
an instance of the statistical software R) I get:

1: [RODBC] ERROR: 
state 01000, code 0, message [unixODBC][Driver Manager]Can't open lib 
'/usr/compat/linux/usr/local/easysoft/oracle/libesoracle.so' : Shared 
object "libm.so.6" not found, required by "libesoracle.so"

and 
issuing:
/compat/linux/usr/bin/ldd -v libesoracle.so
/compat/linux/usr/bin/ldd: /lib/ld-linux.so.2: not found
ldd: /lib/ld-
linux.so.2 $exited with unknown exit code (127)

I understand that 
there's something to be set as far as libraries to be used & linked are 
concerned.

Is there anyone out there able to point me at documents 
where the exact setting up of the easysoft oracle driver ** ON FBSD ** 
is explained OR able to explain how to set it up on the same OS?

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


Re: NO_RESCUE option in make.conf

2006-05-24 Thread vittorio
I always do it, of course. I meant that eliminating /rescue is ** one *** of 
the actions I take to spare juicy hd room.
Ciao
Vittoiro

Alle 18:38, martedì 23 maggio 2006, Pietro Cerutti ha scritto:
> On 5/23/06, vittorio <[EMAIL PROTECTED]> wrote:
> > I know but:
> >
> > 1) I need more room on the hd of my dual boot laptop.
>
> You ain't gaining much space by removing /rescue. It takes 6.9M on my
> 6.1-STABLE.
> You may want to consider removing /usr/src and /usr/obj which take
> respectively 442M and 2G instead.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: NO_RESCUE option in make.conf

2006-05-24 Thread vittorio
Alle 18:38, martedì 23 maggio 2006, Pietro Cerutti ha scritto:
l> On 5/23/06, vittorio <[EMAIL PROTECTED]> wrote:
> > I know but:
> >
> > 1) I need more room on the hd of my dual boot laptop.
>
> You ain't gaining much space by removing /rescue. It takes 6.9M on my
> 6.1-STABLE.
> You may want to consider removing /usr/src and /usr/obj which take
> respectively 442M and 2G instead.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


unixODBC & Oracle

2006-05-24 Thread Vittorio
I heavily use ODBC to connect to Postgresql, Mysql and Oracle 9 
databases under windows xp using Access (the use of it is a corporate 
choice, you know). 
Under a freshly installed FreeBSD 6.1 on which I 
installed the latest PgSQL & MySQL & Oracle8-client together with 
unixODBC, I have no problem at all at setting up the two open-source 
DBs odbc.ini and odbcinst.ini lines of command but I am somewhat 
disorientated about the poor documentation I can find around in the net 
about how to set up an Oracle connection via unixODBC (by the way, I 
cannot ask my Company to buy something like "EasySoft"). 
On one hand 
the author of the freebsd port of the Oracle client says that his port 
is the "essential" client that you can use to connect to an oracle up 
to 9i db via unixODBC but no example of *.ini files for that kind of 
connection are given.

Could you please clarify this subject to me?

Ciao & Grazie (Bye & Thanks a lot)
Vittorio
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: NO_RESCUE option in make.conf

2006-05-23 Thread vittorio
I know but:

1) I need more room on the hd of my dual boot laptop.
2) I invariably "dump" FBSD slices & partitions after a successful upgrade on 
a separate usb mass storage.
3) from time to time I back up my /home dir on my office lan fileserver (or on 
the same usb hd).

Anyway, I'll give RESCUE a second chance (didn't know it was so important. 
Gonna read the handbook...)

Ciao
Vittorio

Alle 21:19, lunedì 22 maggio 2006, Kris Kennaway ha scritto:
> On Mon, May 22, 2006 at 03:18:59PM +0100, Vittorio wrote:
> > To update the system in my /etc/make.conf among other building(-world)
> > options I put
> > a:
> >
> > NO_RESCUE= true
> >
> > Which actually is not declared
> > neither in the man page of make.conf nor in the
> > /usr/share/examples/etc/make.conf file.
> > Nonetheless it seems to work.
> > Am I right?
>
> Why do you want to do this?  The rescue tools are sometimes all that
> stands between being able to repair your system and having to
> reinstall it from scratch.
>
> Kris
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Mergemaster fails when updating to 6.1

2006-05-22 Thread Vittorio
On a pentium 4 server I updated from 6.0 to 6.1 according to the 
suggested procedure:

# 1. `cd /usr/src' (or to the directory 
containing your source tree).
# 2. `make buildworld'
# 3. `make 
buildkernel 
# 4. `make installkernel 
# 5. `reboot' .
# 6. 
`mergemaster -p'
# 7. `make installworld'
# 8. `make delete-old'
# 9. 
`mergemaster'

But... mergemaster ended in a:
..
install -o root -g 
wheel -m 644 freebsd.cf /var/tmp/temproot/etc/mail/sendmail.cf
install 
-o root -g wheel -m 444 freebsd.submit.cf 
/var/tmp/temproot/etc/mail/submit.cf
cd /usr/src/etc; install -o root -
g wheel -m 644 /var/tmp/temproot/etc/ssh
usage: install [-bCcpSsv] [-
B 
suffix] [-f flags] [-g group] [-m mode]
[-o owner] 
file1 file2
install 
[-bCcpSsv] [-B suffix] [-f flags] [-g group] 
[-m mode]
[-o owner] 
file1 ... fileN directory

install -d [-v] [-g group] [-m mode] [-o 
owner] directory ...
*** Error 
code 64

Stop in /usr/src/etc.

*** 
FATAL ERROR: Cannot 'cd' to 
/usr/src/etc and install files to
the 
temproot environment
...



In 
/etc/make.conf I have
SUP_UPDATE = yes
SUP = /usr/local/bin/cvsup
SUPFLAGS = -g -L 2
SUPHOST = cvsup.it.FreeBSD.org
SUPFILE = 
/usr/local/etc/cvsup/stable-supfile
PORTSSUPFILE = 
/usr/local/etc/cvsup/ports-supfile
DOCSUPFILE = 
/usr/local/etc/cvsup/doc-supfile
#
CPUTYPE=p4
PERL_VER=5.8.8
PERL_VERSION=5.8.8

KERNCONF= SERVER5
NO_RESCUE =true
NO_ATM= true # do 
not build ATM related programs and libraries
NO_BLUETOOTH=true # do not 
build Bluetooth related stuff
NO_CRYPT= true # do not build any crypto 
code
NO_GAMES= true # do not build games (games/ subdir)
NO_INET6= true 
# do not build IPv6 related programs and libraries
NO_KERBEROS= true # 
do not build and install Kerberos 5 (KTH 
Heimdal)


What's going on 
and what should I do?
Ciao - Vittorio
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


NO_RESCUE option in make.conf

2006-05-22 Thread Vittorio
To update the system in my /etc/make.conf among other building(-world) 
options I put
a:

NO_RESCUE= true 

Which actually is not declared 
neither in the man page of make.conf nor in the 
/usr/share/examples/etc/make.conf file.
Nonetheless it seems to work.
Am I right?
Vittorio


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


problems with kde & pam

2006-05-15 Thread vittorio
After upgradind to 6.1 this new error pops in my  log, when starting kde 3.5.2

kdm-bin: :0[621]: in openpam_dispatch(): /usr/lib/pam_unix.so: no 
pam_sm_open_session()

but the kde session starts all the same.

Now,

# uname -a
FreeBSD NbBSD.grtn 6.1-RELEASE FreeBSD 6.1-RELEASE #1: Wed May 10 13:00:26 UTC 
2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/LAPTOP8  i386


# cat /etc/pam.d/kde
#
# $FreeBSD: src/etc/pam.d/kde,v 1.6 2003/04/30 21:57:54 markm Exp $
#
# PAM configuration for the "kde" service
#

# auth
authrequiredpam_nologin.so  no_warn
#auth   sufficient  pam_krb5.so no_warn try_first_pass
#auth   sufficient  pam_ssh.so  no_warn try_first_pass
authrequiredpam_unix.so no_warn try_first_pass

# account
#accountrequiredpam_krb5.so
account requiredpam_unix.so

# session
#sessionoptionalpam_ssh.so
session requiredpam_permit.so





What should I do?

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


Re: public samba share annoyingly asking for password

2006-05-04 Thread vittorio
Alle 17:47, martedì 02 maggio 2006, [EMAIL PROTECTED] ha scritto:
> On 5/2/06, Vittorio <[EMAIL PROTECTED]> wrote:
> > Context: pentium 4, freebsd 6.0, samba 3.0.22,
> > 6 windows 2000, NT,XP
> > samba clients
> >
> > Dear friends,
> >
> > I'm writing to this ML because, googling
> > the net on the subject reported below,  it seems that samba works
> > slightly differently according to the platform in which it is installed
> > (I read of differences of behaviour between Fedora and Debian samba
> > installations, or even between FC1 and FC2 installations).
> >
> > I setup a
> > samba server connected to a very large *** original MS-windows LAN ***
> > with the following smb.conf file. The aim is to put in a public read-
> > only share all the programs we need to share.
> >
> > Now, the problem is that
> > at boot time - after logging in the MS-windows client -  windows 2000
> > or NT clients present the user with a pop-up window asking for a
> > password to connect to the public share (I created the 'pcguest'
> > freebsd user as a passwordless user and to 'smbpasswd pcguest' I didn't
> > provide any password at all!). Clicking on OK the share is immediatedly
> > connected and it all works. Nonetheless the pop-up window asking for a
> > password is somewhat disturbing.
> > By the way, windows XP clients don't
> > seem to suffer from the same problem. They connect to the share
> > smoothly, without asking anything as expected!
> >
> > Any idea to solve the
> > problem?
> >
> > Ciao
> > Vittorio
> >
> >
> >
> > ###smb.conf
> >
> > [global]
> > workgroup = mygroup
> > server string = FreeBSD
> > map to guest = Bad User
> > passdb backend = tdbsam
> > security = user
> > guest account = pcguest
> > log file = /var/log/samba/log.%
> > m
> > load printers = No
> > preferred master = No
> > local master = No
> > domain
> > master = No
> > dns proxy = No
> > wins server = 10.100.10.38, 10.100.10.21
> > hosts allow = 10.100.
> >
> > [homes]
> > comment = Home Directories
> > read only =
> > No
> > browseable = No
> >
> > [public]
> > comment = Deposit
> > path = /home/pcguest
> > guest only = Yes
> > guest ok = Yes
>
> This is based on a slightly different experience with a Linux host,
> but my first guess is you want to add "security = share" to the public
> section to override the global "security = user".  For that share, you
> might also want "force user = pcguest" and some explicit commands for
> whether you want it write protected, but I'd see if the first solution
> solves your problem.
>
> Jordan
> ___

No, it doesn't work. The problem is still there on win 2k or NT clients.

Any other option?

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


public samba share annoyingly asking for password

2006-05-02 Thread Vittorio
Context: pentium 4, freebsd 6.0, samba 3.0.22, 
6 windows 2000, NT,XP 
samba clients

Dear friends,

I'm writing to this ML because, googling 
the net on the subject reported below,  it seems that samba works 
slightly differently according to the platform in which it is installed 
(I read of differences of behaviour between Fedora and Debian samba 
installations, or even between FC1 and FC2 installations). 

I setup a 
samba server connected to a very large *** original MS-windows LAN *** 
with the following smb.conf file. The aim is to put in a public read-
only share all the programs we need to share.

Now, the problem is that 
at boot time - after logging in the MS-windows client -  windows 2000 
or NT clients present the user with a pop-up window asking for a 
password to connect to the public share (I created the 'pcguest' 
freebsd user as a passwordless user and to 'smbpasswd pcguest' I didn't 
provide any password at all!). Clicking on OK the share is immediatedly 
connected and it all works. Nonetheless the pop-up window asking for a 
password is somewhat disturbing.
By the way, windows XP clients don't 
seem to suffer from the same problem. They connect to the share 
smoothly, without asking anything as expected!

Any idea to solve the 
problem?

Ciao
Vittorio



###smb.conf

[global]
workgroup = mygroup
server string = FreeBSD
map to guest = Bad User
passdb backend = tdbsam
security = user
guest account = pcguest
log file = /var/log/samba/log.%
m
load printers = No
preferred master = No
local master = No
domain 
master = No
dns proxy = No
wins server = 10.100.10.38, 10.100.10.21
hosts allow = 10.100.

[homes]
comment = Home Directories
read only = 
No
browseable = No

[public]
comment = Deposit
path = /home/pcguest
guest only = Yes
guest ok = Yes

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


R 2.3.0 fails to compile: undefined reference to `R_running_as_main_program'

2006-05-02 Thread Vittorio
Last night , after portsnap(-ping) and trying to recompile the 
statistical software R from 2.2.1 to 2.3.0 I get the following:

# cd 
/usr/ports/math/R
# make
===>  Building for R-2.3.0
`Makedeps' is up to 
date.
`stamp-lo' is up to date.
`Makedeps' is up to date.
`stamp-lo' is 
up to date.
`Makedeps' is up to date.
`stamp-lo' is up to date.
`Makedeps' is up to date.
/usr/ports/math/R/work/R-2.3.0/lib/libR.so is 
unchanged
cc -export-dynamic -L/usr/local/lib -o R.bin Rmain.o -L../..
/lib -lR
Rmain.o(.text+0x14): In function `main':
: undefined reference 
to `R_running_as_main_program'
*** Error code 1

Stop in 
/usr/ports/math/R/work/R-2.3.0/src/main.
*** Error code 1

Stop in 
/usr/ports/math/R/work/R-2.3.0/src/main.
*** Error code 1

Stop in 
/usr/ports/math/R/work/R-2.3.0/src.
*** Error code 1

Stop in 
/usr/ports/math/R/work/R-2.3.0.
*** Error code 1


Please help

(I 
reported this to PR see http://www.freebsd.org/cgi/query-pr.cgi?
pr=i386/96576)

Vittorio

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


Re: cdrecord on Thinkpad T43

2006-04-09 Thread vittorio
1) add or enable (uncommenting) the following lines to your kernel:

device  atapicam  # isn't enable in the default kernel

#SCSI Controllers

device cd

(cdrecord needs a SCSI cd emulation)

2) recompile the kernel

It works on my thinkpad R51.

Ciao
Vittorio

Alle 19:22, sabato 08 aprile 2006, Erin Sharmahd ha scritto:
> I've been having some problems getting cdrecord to work on my thinkpad.
>
> http://www.mathematik.uni-marburg.de/~schmidtm/ibm/index.php says:
> "To burn CDs with cdrecord don't forget to enable atapicam during
> kernel configuration."
>
> In his kernel config, he used this with "device atapicd", so I ran:
> [amon-re /root] cat /sys/i386/conf/GENERIC | grep atapicd
> device  atapicd # ATAPI CDROM drives
>
> In the past (on Linux), I had always used 'cdrecord dev=/dev/cdrom',
> so I initially tried 'cdrecord dev=/dev/acd0', but I learned from
> 'cdrecord dev=help' that apparently "open via UNIX device" is not
> supported.  "SCSI Bus scanning" is supposed to be supported, but when
> I run 'cdrecord -scanbus', it gives:
> [amon-re /root] cdrecord -scanbus
> Cdrecord-Clone 2.01 (i386-unknown-freebsd6.1) Copyright (C) 1995-2004
> Jörg Schilling
> cdrecord: Error 0. Cannot open SCSI driver.
> cdrecord: For possible targets try 'cdrecord -scanbus'.
> cdrecord: For possible transport specifiers try 'cdrecord dev=help'.
>
> (it would be nice if cdrecord -scanbus didn't tell me to run it
> again... but that's a different issue)
>
> Here is some (hopefully) relevant information about my system:
>
> [amon-re /root] uname -a
> FreeBSD amon-re 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #1: Sat Feb 11
> 21:55:30 MST 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386
>
> [amon-re /root] sysctl -a | grep -i cd
> kern.cam.cd.changer.min_busy_seconds: 5
> kern.cam.cd.changer.max_busy_seconds: 15
>   allocdirect 4 1K   -79793  128
>acd_driver 1 2K   -1  2048
>  cdev31 4K   -   31  128
> debug.sizeof.cdev: 184
> debug.sizeof.cdev_priv: 216
> dev.acpi_ec.0.%desc: Embedded Controller: GPE 0x1c, ECDT
> dev.cbb.0.%location: slot=0 function=0 handle=\_SB_.PCI0.PCI1.CDBS
> dev.acd.0.%desc: MATSHITADVD-RAM UJ-822S/1.61
> dev.acd.0.%driver: acd
> dev.acd.0.%parent: ata1
>
> [amon-re /root] dmesg | grep -i cd
> acpi_ec0:  port 0x62,0x66 on acpi0
> acd0: DVDR  at ata1-master UDMA33
>
> I'd appreciate any help that anyone can provide.  I'm somewhat
> stumped, and I'm not seeing much on google regarding this problem.
>
> Thanks!
> ~Erin
>
> --
> http://www.tuxgirl.com
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


libiconv doesn't compile

2006-03-28 Thread Vittorio
I tried 
cd /usr/ports/converters/libiconv
make install

but...
:..
...
if test -n ""; then install  -o root -g wheel -m 444  /usr/local/lib/.
new && mv /usr/local/lib/.new /usr/local/lib/ ; fi
cd srclib && make 
install prefix='/usr/local' exec_prefix='/usr/local' 
libdir='/usr/local/lib'
cd src && make install prefix='/usr/local' 
exec_prefix='/usr/local' libdir='/usr/local/lib'
test `ls -ld . | sed -
e 's/^d\(.\).*/\1/'` = rwxrwxrwx || chmod 777 .
if [ ! -d 
/usr/local ] ; then /bin/sh ../autoconf/mkinstalldirs /usr/local ; fi
if [ ! -d /usr/local ] ; then /bin/sh ../autoconf/mkinstalldirs 
/usr/local ; fi
if [ ! -d /usr/local/bin ] ; then /bin/sh ..
/autoconf/mkinstalldirs /usr/local/bin ; fi
case "freebsd6.0" in  
hpux*) cc  `if test -n ''; then  /usr/local/bin; fi` iconv.o ..
/srclib/libicrt.a -L/usr/local/lib -liconv -lintl -o iconv;;  freebsd*) 
/bin/sh ../libtool --mode=link cc  `if test -n ''; then  
/usr/local/bin; fi` iconv.o ../srclib/libicrt.a ../lib//libiconv.la -
lintl -o iconv;;  *) /bin/sh ../libtool --mode=link cc  `if test -n ''; 
then  /usr/local/bin; fi` iconv.o ../srclib/libicrt.a 
/usr/local/lib/libiconv.la -lintl -o iconv;;  esac
cc iconv.o -o .
libs/iconv  ../srclib/libicrt.a ../lib//.libs/libiconv.so -lintl -Wl,--
rpath -Wl,/usr/local/lib
/usr/bin/ld: cannot find -lintl
*** Error code 
1
..

What's the matter with it?

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


Re: 10 years of "The Complete FreeBSD" (5150)

2006-02-26 Thread vittorio
Alle 23:18, venerdì 24 febbraio 2006, Bill Schoolcraft ha scritto:
> Greg,
>
> I want to thank you for you help in making FreeBSD what it is today.
...

I want to thank Greg too for his great book. 
As an experienced linux user after reading it I was able to move safely and 
-above all-  in a "logical & organized" way from linux to freebsd 5.3. Any 
other way (asking the mailing lists, e.g.) would have been fragmented, 
tiring, boring, slippery, etc. I meanyou can effectively ask the mailing 
lists once you know about the basic and skeleton of FreeBSD.
Thanks
Vittorio
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Problems with locale & entropy (what's that?)

2006-01-27 Thread vittorio

On a (mainly) postgresql pentium 4 server at office I upgraded freebsd 5.4 to
6 by means of a  CD with the standard  ISO
downloaded from  ftp.freebsd.org (I can't use any alternative means becuase
 of the tight rules of security of our network).
I tailored and compiled the kernel and upgraded the system by the usual
commands:

make buildword
boot
mergemaster -p
make
installworld
mergemaster
boot


The locale is Italian and the system speaks Italian, for instance mc.

Not it happens that when launching 010.pgsql start, apache.sh start, etc.
 they all start issuing the following warning

--: not found


Besides, after upgrading to 6, I go on receiving each 11 minutes the
 following email

Date:
Wed, 25 Jan 2006 18:00:00 +0100 (CET)
From: [EMAIL PROTECTED] (Cron Daemon)
To: [EMAIL PROTECTED]
Subject: Cron <[EMAIL PROTECTED]>
/usr/libexec/save-entropy
X-Cron-Env: 
X-Cron-Env:

X-Cron-Env: 
X-Cron-
Env: 
X-Cron-Env: 

--: not found


/var/log/messages doesn't say anything related to this.

Could you give me a helpful hand?
Ciao

Vittorio

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


Problems with pgsql 8.0.4 & freebsd 6: partially solved

2006-01-24 Thread Vittorio
I have been using a postgresql 8.0.4 server under freebsd 5.4 like a 
charm for a long time .
Yesterday, I upgraded freebsd from 5.4 to 6 via 
the CD (the iso was downloaded from ftp.freebsd.org).

Restating 
postgresql it happened:

# /usr/local/etc/rc.d/010.pgsql.sh start
--: 
not found
FATAL:  XX000: failed to initialize lc_messages to ""
LOCATION:  InitializeGUCOptions, guc.c:3699
#

And the server was down

After many attempts I discovered that the problem was connected to the
"setenv LC_ALL it_IT.ISO_8859-1" I had introduced in /usr/local/pgsql/.
cshrc
which corrupted something in the system and, even removing the 
line, 010.pgsql.sh went on failing to start the server

Having 
pg_dumped the data before the upgrading to 6, I have solved the problem 
by
1) eliminating the /usr/local/pgsql/data directory (BY THE WAY, 
remember to backup the pgsql *.conf files somewhere!!);
2) deinstalling 
the postgresql 8.0.4 server by means of "make deinstall";
3) removing 
the pgsql user;
4) reinstalling the postgresql 8.0.4 server;
5) copying 
the *.conf files under the data directory
6) pg_restoring the data

Now, of course I have left unmodified the .cshrc file (take notice that 
any attempt of modyfying the locale corrupts the postgresql server and 
you should start with a new reinstallation! I failed both adding a line 
"setenv LC_ALL it_IT.ISO_8859-1" and "setenv LC_ALL it_IT.ISO8859-1")

Now it all works even though an inoffensive warning comes up

# 
/usr/local/etc/rc.d/010.pgsql.sh start
--: not found

Is there anything 
else I could do?

Ciao
Vittorio

  


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


Backing up an encrypted partition

2006-01-15 Thread vittorio
From time to time I backup up my ad0s3a and ad0s3d partitions by means of dump 
issuing a 'dump -a0f  fileA /dev/ad0s3a' etc.

Having just set up a gdbe encrypted partition /dev/ads0s3e which I mount with

gbde attach /dev/ad0s3e -l /etc/gbde/ad0s3e
mount /dev/ad0s3e.bde /mydir/encrypt

I wonder WHAT should I now dump when backing up:

dump -a0f  fileE /dev/ad0s3e

OR

dump -a0f  fileE /dev/ad0s3e.bde

?

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


Re: Flash Disk

2006-01-06 Thread vittorio
With all my USB pens I invariably use:

/sbin/mount_msdosfs /dev/da0s1 /mnt

And it works.

Vittorio
Alle 06:09, venerdì 06 gennaio 2006, Teilhard Knight ha scritto:
> > On 2006-01-05 15:28, Teilhard Knight <[EMAIL PROTECTED]> wrote:
> >> Can someone tell me, or point to me where I can find, how to
> >> mount a Flash Disk in release 6.0? I have Googled, but I simply
> >> cannot find the right way.  An icon to mount and unmount on the
> >> desktop would be nice. Thanks.
> >
> > When I plug my USB JetFlash disk, the following appears in
> > /var/log/messages (and the system console, but I mostly use X11
> > these days):
> >
> >umass0: USB Flash Disk, rev 2.00/2.00, addr 2
> >da0 at umass-sim0 bus 0 target 0 lun 0
> >da0:  Removable Direct Access SCSI-2 device
> >da0: 1.000MB/s transfers
> >da0: 250MB (512000 512 byte sectors: 64H 32S/T 250C)
>
> I get something similar too. The Device Node is created all right.
>
> > When you plug the USB flash disk in, /dev/da0 (or another daX
> > device) is automatically created.  If the flash disk already has
> > partitions (they usually come with a single FAT partition),
> > you'll also see da0s1 or something similar:
> >
> ># ls -l /dev/da*
> >crw-r-  1 root  operator  -   4,  44 Oct 16 17:38 /dev/da0
>
> Yes, I also get something similar to this.
>
> > If you see only da0, it's possible that the 'raw disk' is
> > formatted using FAT, without a real BIOS-style partition, which
> > means that you should be able to 'mount' it with something like:
> >
> ># /sbin/mount_msdosfs /dev/da0 /mnt
>
> I do not only see da0 above and this command results in: "mount_msdosfs:
> /dev/da0: Invalid argument"
>
> > That's it.  Copy files to and from the /mnt directory.  When you
> > are done, make sure you unmount the flash disk before removing
> > it.  If you don't, chances are your kernel will panic when it
> > discovers the physical flash disk is gone.
> >
> ># umount /mnt
> >
> > Now, it's safe to pull the flash disk out.
>
> You told me how to mount my flash disk in case the command "ls -l /dev/da0"
> results incomplete or I have the disk raw formatted. But what should I do
> if I get all similar to what you get? In other words, how do you mount your
> flash disk?
>
> Thanks for your feedback.
>
> Teilhard.
>
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: R: Re: rsh fails: [WAS] pvm connection problems

2005-11-30 Thread vittorio
Alle 15:19, mercoledì 30 novembre 2005, Matthew D. Fuller ha scritto:
> On Wed, Nov 30, 2005 at 04:01:06PM +0100 I heard the voice of
>
> Vittorio, and lo! it spake thus:
> > 6) I reciprocate the same  configuring steps on the other
> > machine uffbsd.
> >
> > Well in the end:
> > # rsh uffbsd
> > uffbsd.myd.prv:
> > Connection refused
>
> rsh with no arguments uses rlogind, not the rshd.

Thanks to the suggestions in this mailing-list, after enabling rlogind in 
inetd.conf and restarting the service now rsh works!

$ rsh uffbsd
Password:
Last login: Wed Nov 30 16:02:31 on ttyp0
Copyright (c) 1992-2005 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.

FreeBSD 5.4-RELEASE (SERVER3) #0: Mon Nov  7 18:07:20 CET 2005

Welcome in FreeBSD!

uffbsd victor# exit

rlogin: connection closed

BUT..
 pvm goes on complaining as at the very beginning of this thread that:

victor$ pvm

pvm> add NbBSD
add NbBSD
0 successful
HOST DTID
   NbBSD Duplicate host
pvm> add uffbsd
add uffbsd
0 successful
HOST DTID
  uffbsd Can't start pvmd

Auto-Diagnosing Failed Hosts...
uffbsd...
Verifying Local Path to "rsh"...
Rsh found in /usr/bin/rsh - O.K.
Testing Rsh/Rhosts Access to Host "uffbsd"...

Rsh/Rhosts Access FAILED - "rshd: Login incorrect."
Make sure host uffbsd is up and connected to
a network and check its DNS / IP address.
Also verify that NbBSD.myd.prv is allowed
rsh access on uffbsd
Add this line to the $HOME/.rhosts on uffbsd:
NbBSD.myd.prv victor
...
.


Now user victor on the uffbsd box had been defined via adduser as a normal 
user with password.Thinking the the problem was the password, I deleted it 
and recreated this user as passwordless but rsh fails asking for a password
all the same and pvm fails with identical diagnostic. 

Please help again

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


R: Re: rsh fails: [WAS] pvm connection problems

2005-11-30 Thread Vittorio


>Messaggio originale
>Da: [EMAIL PROTECTED]
>Data: 30-nov-2005 
2.15 PM
>A: 
>Cc: "Vittorio De Martino"
<[EMAIL PROTECTED]>, 
>Ogg: Re: rsh 
fails: [WAS] pvm connection problems
>
>On Wednesday 30 November 2005 
08:30 am, Vittorio De Martino wrote:
>> Context: 2 pentium 4 boxes; 
freebsd 5.4 & 6.0
>>
>> I detected that remote login via "rsh" doesn't 
work in my boxes:
>> e.g.
>> # rsh uffbsd
>> uffbsd.myd.prv: Connection 
refused
>>
>> even though I've defined the trusted hosts on each box 
both in
>> $HOME/.rhosts and in /etc/hosts.equiv.
>> I've also 
uncommented the shell lines in /etc/inetd.conf to no avail.
>>
>> What 
should I do to enable the (mistrusted) rsh connection?
>>
>> Vittorio
>
>Do you have inetd enabled (inetd_enable="YES" in /etc/rc.conf) and is 
it 
>running?
>

Actually no, but...

>From the standpoint of my first 
box, NbBSD (freebsd 6.0) I did the following steps

1) added 
inetd_enable="YES" at the end of /etc/rc.conf 
2) modified /etc/inetd.
conf uncommenting the line
shell   stream  tcp nowait  root
/usr/libexec/rshd   rshd
(I don't know if it helps, anyway!)
3) 
/etc/rc.d/inetd start
4) I've checked the presence of inetd via top. It 
existed!!
5) Under user victor there's a .rhosts file containing:
uffbsd.myd.prv  victor

(user victor exists on the box uffbsd and 
uffbsd.myd.prv is also present in the box NbBSD in /etc/hosts: I can 
ping it!)

6) I reciprocate the same  configuring steps on the other 
machine uffbsd.

Well in the end:
# rsh uffbsd
uffbsd.myd.prv: 
Connection refused

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


rsh fails: [WAS] pvm connection problems

2005-11-30 Thread Vittorio De Martino
Context: 2 pentium 4 boxes; freebsd 5.4 & 6.0

I detected that remote login via "rsh" doesn't work in my boxes:
e.g.
# rsh uffbsd
uffbsd.myd.prv: Connection refused

even though I've defined the trusted hosts on each box both in $HOME/.rhosts 
and in /etc/hosts.equiv. 
I've also uncommented the shell lines in /etc/inetd.conf to no avail.

What should I do to enable the (mistrusted) rsh connection?

Vittorio

Alle 08:07, mercoledì 30 novembre 2005, Vittorio ha scritto:
> At office I'm trying to solve a heavy statistical problem by means of
> parallel computation with R and pvm.
> The problem is with setting up the
> cluster of computers which - to begin with - is made of two pentium 4
> with freebsd 5.4 (host uffbsd) and 6.0 (host NbBSD).
>
> They see each
> other. From NbBSD:
>
> # ping uffbsd
> PING uffbsd.myd.prv
> (10.155.194.115): 56 data bytes
> 64 bytes from 10.155.194.115:
> icmp_seq=0 ttl=64 time=0.221 ms
> 64 bytes from 10.155.194.115:
> icmp_seq=1 ttl=64 time=0.193 ms
>
> But trying to setup the virtual
> machine
>
> pvm> add NbBSD
> add NbBSD
> 0 successful
>
> HOST DTID
>NbBSD Duplicate host
> pvm> conf
> conf
> 1
> host, 1 data format
> HOST DTID ARCH
> SPEED   DSIG
>   NbBSD.myd.prv4  FREEBSD1000
> 0x00408841
> pvm> add uffbsd
> add uffbsd
> 0 successful
>
> HOST DTID
>   uffbsd Can't start pvmd
>
> Auto-
> Diagnosing Failed Hosts...
> uffbsd...
> Verifying Local Path to "rsh"...
> Rsh found in /usr/bin/rsh - O.K.
> Testing Rsh/Rhosts Access to Host
> "uffbsd"...
>
> Rsh/Rhosts Access FAILED - "uffbsd.myd.prv: Connection
> refused"
> Make sure host uffbsd is up and connected to
> a network and
> check its DNS / IP address.
> Also verify that NbBSD.myd.prv is allowed
> rsh access on uffbsd
> Add this line to the $HOME/.rhosts on uffbsd:
> NbBSD.myd.prv victor
> ...
>
> Of
> course, in /home/victor/.rhost on uffbsd there's the required line.
> The
> same reciprocal situation happens from host uffbsd.
>
> Perhaps I'm
> missing something.
> Could you please help me?
> Vittorio
>
>
>
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


R: pvm connection problems

2005-11-30 Thread Vittorio
Sorry, the correct ping is:
# ping uffbsd
PING uffbsd.myd.prv 
(10.155.194.115): 56 data bytes
64 bytes from 10.155.194.115: 
icmp_seq=0 ttl=64 time=0.221 ms
64 bytes from 10.155.194.115: 
icmp_seq=1 ttl=64 time=0.193 ms
...

That is the domain is myd.
prv

>Messaggio originale
>Da: [EMAIL PROTECTED]
>Data: 30-nov-
2005 9.07 AM
>A: 
>Cc: 
>Ogg: pvm connection problems
>
>At office I'm 
trying to solve a heavy statistical problem by means of 
>parallel 
computation with R and pvm.
>The problem is with setting up the 
>cluster of computers which - to begin with - is made of two pentium 4 
>with freebsd 5.4 (host uffbsd) and 6.0 (host NbBSD). 
>
>They see 
each 
>other. From NbBSD:
>
># ping uffbsd
>PING uffbsd.grtn.prv 


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


pvm connection problems

2005-11-30 Thread Vittorio
At office I'm trying to solve a heavy statistical problem by means of 
parallel computation with R and pvm.
The problem is with setting up the 
cluster of computers which - to begin with - is made of two pentium 4 
with freebsd 5.4 (host uffbsd) and 6.0 (host NbBSD). 

They see each 
other. From NbBSD:

# ping uffbsd
PING uffbsd.grtn.prv 
(10.155.194.115): 56 data bytes
64 bytes from 10.155.194.115: 
icmp_seq=0 ttl=64 time=0.221 ms
64 bytes from 10.155.194.115: 
icmp_seq=1 ttl=64 time=0.193 ms

But trying to setup the virtual 
machine 

pvm> add NbBSD
add NbBSD
0 successful

HOST DTID
   NbBSD Duplicate host
pvm> conf
conf
1 
host, 1 data format
HOST DTID ARCH   
SPEED   DSIG
  NbBSD.myd.prv4  FREEBSD1000 
0x00408841
pvm> add uffbsd
add uffbsd
0 successful

HOST DTID
  uffbsd Can't start pvmd

Auto-
Diagnosing Failed Hosts...
uffbsd...
Verifying Local Path to "rsh"...
Rsh found in /usr/bin/rsh - O.K.
Testing Rsh/Rhosts Access to Host 
"uffbsd"...

Rsh/Rhosts Access FAILED - "uffbsd.myd.prv: Connection 
refused"
Make sure host uffbsd is up and connected to
a network and 
check its DNS / IP address.
Also verify that NbBSD.myd.prv is allowed
rsh access on uffbsd
Add this line to the $HOME/.rhosts on uffbsd:
NbBSD.myd.prv victor
...

Of 
course, in /home/victor/.rhost on uffbsd there's the required line.
The 
same reciprocal situation happens from host uffbsd.

Perhaps I'm 
missing something.
Could you please help me?
Vittorio



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


Re: Accessing samba shares without password prompts

2005-11-23 Thread vittorio
Use /etc/nsmb.conf.
Here it is a simple procedure (it works flawlessly for me!) supposing that the 
windows user is called 'myuser', the password 'pass' and the windows 
share //winserver/data:
As root and once and for all:
1) On your freebsd box create a  user called 'myuser' with adduser etc..;
2) issue "smbpasswd myuser", when prompted for the password type pass;
3)  edit the /etc/nsmb.conf file adding these few lines: 

###
# First, define a workgroup.
[default]
workgroup=Myworkgroup

[WINSERVER]
addr=winserver.yourdomain # or IP address

[WINSERVER:MYUSER]
password=pass
##

4) restart samba '/usr/local/etc/rc.d/samba.sh restart'
5) issue,e.g.:
mount_smbfs -I winserver //[EMAIL PROTECTED]/data /home/myuser/smb

Ciao
Vittorio




Alle 01:36, martedì 22 novembre 2005, Robert Fitzpatrick ha scritto:
> Can someone point me to info on how to access shares on the netowrk
> without having to provide the password. I am logged in to my FreeBSD 6.0
> workstation with the user name and password equal to that of a user on
> the other samba servers and Windows.
>
> --
> Robert
>
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: bacula: install problem

2005-11-19 Thread vittorio
Sorry friends but ...
It was a more general problem of my freebsd box. I had in some unknown way 
corrupted the /etc/master.passwd. It has been enough to use vipw once to put 
everything right. Now bacula is installed.

Ciao & sorry again

Vittorio

Alle 23:03, venerdì 18 novembre 2005, vittorio ha scritto:
> Context: pentium 4, Freebsd 6.0, latest ports with portsnap
>
> Compiling bacula from the ports /usr/ports/sysutils/bacula-server issuing a
> "make install" the installation stops with the following error I'm unable
> to find in the internet:
> ...
>.. if [ -f /usr/local/etc/rc.d/bacula.sh ];
> then  /bin/mv /usr/local/etc/rc.d/bacula.sh
> /usr/local/etc/rc.d/z-bacula.sh; fi
> if [ -f /usr/local/etc/rc.d/bacula.sh.sample ];
> then  /bin/mv /usr/local/etc/rc.d/bacula.sh.sample
> /usr/local/etc/rc.d/z-bacula.sh.sample; fi
> bacula:*:910:
> You already have a group "bacula", so I will use it.
> pw: user 'bacula' already exists
> Adding user "bacula" failed...
> *** Error code 1
>
> Stop in /usr/ports/sysutils/bacula-server.
> ...
>... Please help
> Vittorio
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


bacula: install problem

2005-11-18 Thread vittorio
Context: pentium 4, Freebsd 6.0, latest ports with portsnap

Compiling bacula from the ports /usr/ports/sysutils/bacula-server issuing a 
"make install" the installation stops with the following error I'm unable to 
find in the internet:
.
if [ -f /usr/local/etc/rc.d/bacula.sh ]; 
then  /bin/mv /usr/local/etc/rc.d/bacula.sh /usr/local/etc/rc.d/z-bacula.sh;  
fi
if [ -f /usr/local/etc/rc.d/bacula.sh.sample ]; 
then  /bin/mv /usr/local/etc/rc.d/bacula.sh.sample 
/usr/local/etc/rc.d/z-bacula.sh.sample;  
fi
bacula:*:910:
You already have a group "bacula", so I will use it.
pw: user 'bacula' already exists
Adding user "bacula" failed...
*** Error code 1

Stop in /usr/ports/sysutils/bacula-server.
..
Please help
Vittorio
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


R: Re: [R] RODBC fails to build

2005-11-09 Thread Vittorio
Dear All,

Thanks to the suggestion of Prof Ripley I progressively 
solved the many libraries problems connected to the installation of the 
R package RODBC under FreeBSD 5.4. 
*** As far as this OS is concerned 
*** please take notice that the sentence in the README file:".
Use 
the configure options --with-odbc-include and --with-odbc-lib or
environment variables ODBC_INCLUDE and ODBC_LIBS to set the include
and 
library paths as needed"
doesn't give a complete piece of info. As 
a matter of fact, as well as setting $ODBC_INCLUDE=/usr/local/include 
and $ODBC_LIBS=/usr/local/lib I had also to put ** $LIBS=-
L/usr/local/lib ** which wasn't in the README (and wasn't that 
intuitive, was it?).
In so doing I solved the sql.h, sqlext.h headers 
problem and a successive problem with the SQLTables libraries.
This set 
things straight and RODBC was compiled flawlessly.
I think it would be 
worth your while adding this piece of information in the README file.

Ciao
Vittorio
 


>Messaggio originale
>Da: [EMAIL PROTECTED]
>Data: 8-nov-2005 11.45 PM
>A: 
>Ogg: Re: [R] 
RODBC fails to build
>
>yes, I read it. Nevertheless I can't make head 
or tail of it.
>Can anyone out there help me with a step by step 
explanation?
>Ciao
>Vittorio
>
>Alle 17:34, martedì 08 novembre 2005, 
Prof Brian Ripley ha scritto:
>> Did you read the package's README?  It 
contains two ways to set these
>> paths.
>>
>> On Tue, 8 Nov 2005, 
Vittorio wrote:
>> > Context:Pentium 4, FreeBSD 5.4, R 2.2.0
>> >
>> > 
I updated the extra packages I
>> > had downloaded but the upgrading of 
RODBC failed complaining:
>> >
>> > checking
>> > for unistd.h... yes
>> > checking sql.h usability... no
>> > checking sql.h
>> > 
presence... no
>> > checking for sql.h... no
>> > checking sqlext.h 
usability...
>> > no
>> > checking sqlext.h presence... no
>> > 
checking for sqlext.h... no
>> > configure: error: "ODBC headers sql.h 
and sqlext.h not found"
>> > ERROR:
>> > configuration failed for 
package 'RODBC'
>> >
>> > The two header files are
>> > present in my 
box under /usr/local/include; I tried to symlink them to
>> > 
/usr/include and to /usr/local/lib/R/include to no avail.
>> >
>> > 
Please help.
>> >
>> > Vittorio
>
>__
>[EMAIL PROTECTED]
ch mailing list
>https://stat.ethz.ch/mailman/listinfo/r-help
>PLEASE 
do read the posting guide! http://www.R-project.org/posting-guide.html
>


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


Compaq Evo 510 PC & DMA

2005-11-03 Thread Vittorio
Some time ago I had posted a problem I was suffering trying to install 
freebsd 5.4 on a Compaq evo 510 PC. The boot immediatedly stopped with 
weird indications on the causes. Freesbie also failed. Surfing the net 
I understood that the problem with that specific PC was already known 
and no real solution was proposed.
Today I came across http://www.
czaplinski.net/FreeBSD/hpi386.html in which it was suggested that 
EVO 
510 
CPU: 2.8 GHz P4; 1024MB RAM; i810 Intel integrated NIC (recognized 
as EEPro100); i845 Intel integrated video...FreeBSD 5.1 loads, but only 
after DMA is disabled in BIOS.  

In fact, disabling the bios dma I was 
able to start both freesbie and the 5.4 installation CD!

Not being a 
PC expert but knowing that dma is useful to significantly reduce the 
load of the CPU when I/O operations are in progress and my question is:

Having disabled the bios dma, Is dma (re-)enabled all the same in some 
way by freebsd 5.4  when it boots OR  will I have a "crippled" system 
at my disposal?

Take into account that the pc will work as a 
postgresql server.

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


Problem installing ROracle package under R

2005-11-03 Thread Vittorio
Context: Pentium 4 with FreeBSD 5.4 and R 2.2.0

I'm trying to install 
the package ROracle under R.
To start with I installed the oracle8-
client from the ports and referred to it via the variable $HOME_ORACLE 
as /usr/local/oracle8-client. Then I started R. After issuing install.
packages("ROracle") R downloaded the needed package and started to 
compile it but complained:
...
downloaded 
138Kb

* Installing *source* package 'ROracle' ...
creating cache .
/config.cache
checking how to run the C preprocessor... cc -E
ROracle 
configuration warning:
Oracle pre-compiler proc not in 
/usr/local/oracle8-client/bin/proc
you may not be able to compile 
ROracle

"/tmp/oraLibs2442.mk", line 2: Could not find 
/usr/local/oracle8-client/precomp/lib/env_precomp.mk
make: fatal errors 
encountered -- cannot continue
updating cache ./config.cache
creating .
/config.status
creating src/Makevars
creating src/Makefile
** libs
R 
CMD COMPILE RS-DBI.c
cc -I/usr/local/lib/R/include  -
I/usr/local/include -D__NO_MATH_INLINES  -fPIC  -O -pipe -
march=pentium4 -c RS-DBI.c -o RS-DBI.o
proc CODE=ANSI_C MODE=ORACLE 
INCLUDE=/usr/local/lib/R/include  PARSE=NONE LINES=false RS-Oracle.pc
proc: not found
*** Error code 127

Stop in /tmp/R.INSTALL.
C0fZy6/ROracle/src.
ERROR: compilation failed for package 'ROracle'
** 
Removing '/usr/local/lib/R/library/ROracle'

The downloaded packages 
are in
/tmp/RtmpRLVjrq/downloaded_packages
Warning message:
installation of package 'ROracle' had non-zero exit status in: install.
packages("ROracle")
...

So 
various directories and relating programs are missing! What else should 
I install to make ROracle work?

Ciao
Vittorio


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


Re: Editor for C & C++ language

2005-10-23 Thread vittorio
Alle 02:34, domenica 23 ottobre 2005, Giorgos Keramidas ha scritto:
> On 2005-10-22 22:07, vittorio <[EMAIL PROTECTED]> wrote:
> > Working usually under kde I'm looking for something similar to the
> > llc-win32 program under ms-windows - that is a development environment
> > where you can edit your c++ program, compile it, debug it step by
> > step, and finally run it in a suitable window.
> >
> > I tried the nice editor kate which allows to compile the file only. No
> > debugging, no running.
> >
> > Is  there anything of the kind of llc-win32?
>
> I'm using Emacs as my IDE for years now.  It's not exactly what someone
> who is used to windowing environments would call a "GUI IDE", but it can
> do the following:
>
> - Edit the source code (with syntax highlighting if need be)
>
> - Compile (with the hit of a single key, once configured)
>
> - Parse compiler output and move to the file/line of an error,
>   then to the next error, etc.
> - Interactively debug C, C++, Perl, Python, or LISP programs,
>   line by line -- working as a "control program" for GNU gdb
>
> and that's only a minor subset of the features it has.

Well, as a matter of fact I'm obliged at wok to use windows but my pet OS are 
both BSDs.
In my freebsd portable I have xemacs that is "sensitive" to many environments 
(I use it for the statiscal program R and for pdflatex)  among which  C++ . 
In  fact the C++ program I edit triggers a C++ menu and many options among 
which there are also debug and compile. This latter unfortunately calls a 
"make -k" command while I'd like to run "g++ prog.c -g -o prog" as usual.
Could someone  explain what shoujld I do to modify xemacs as I want?

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


Editor for C & C++ language

2005-10-22 Thread vittorio
Working usually under kde I'm looking for something similar to the llc-win32 
program under ms-windows - that is a development environment where you can 
edit your c++ program, compile it, debug it step by step, and finally run it 
in a suitable window.
I tried the nice editor kate which allows to compile the file only. No 
debugging, no running.
Is  there anything of the kind of llc-win32?
Ciao
Vittorio
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Is dump different?

2005-10-18 Thread vittorio
I have a new desktop with netbsd 2.0.2 and a portable with freebsd 5.4 (my pet 
OS but it didn't boot on the compaq evo 510 box; therefore netbsd!).
Now, I had dumped my previous old desktop with  freebsd 5.4  to a 
samba share and then tried to restore some files interactively with "restore 
-i -f mydumfile" ont the new box  but restore (under netbsd) complained that  
there was no root directory and i couldn't restore anything (e.g. ls didn't 
show anything).
My question is:
the dump programs in netbsd & in freebsd are different in some way, I mean 
structurally different therefore somewhat incompatible in the two OSs? 

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


Re: Weird incompatibility of compaq evo 510 PCs

2005-10-12 Thread vittorio
Alle 14:22, mercoledì 12 ottobre 2005, Lowell Gilbert ha scritto:
> Vittorio <[EMAIL PROTECTED]> writes:
> > At office I have an old compaq 450 (p3, 450MHz,128MB) working as a
> > postgresql 8.03  server under freebsd 5.4.
> > Now having the chance of
> > substituting it with a newer Compaq Evo 510 (p4,2,8 GHz, 512MB) to be
> > on the safe side I tested this new pc trying to run freesbie 1.1 on it
> > from a CD. Unfortunately after showing the usual line with
> > [EMAIL PROTECTED]'amico etc.. a cryptic message of fatal error popped up
> > saying something like:
> >
> > int=000d err= efl=00030246
> > eip=3034 eax=205d
> > ebx=0004
> >
> > etc, etc.
> >
> > Furthermore,
> > identical  diagnostics popped up trying to boot FreeBSD from the
> > primary hd of the old pc mounted on this new one.
> > Thinking that there
> > was something  wrong with that specific box only I tried:
> > a) to boot
> > freesbie on other compaq evo 510 in my office but all of them failed to
> > boot with the same (or similar??) diagnostics;
> > b) the freesbie cd is ok
> > having tested it on other boxes;
> > b) using a cd for the installation of
> > M$ windows on the evo 510 it all works like a charm and everything is
> > installed.
> >
> > My questions are:
> > 1) Is this a known incompatibility of the
> > Compaq evo 510 PCs ( a search in the internet didn't shed any light on
> > it!);
> > 2) Is there any way to overcome the problem and how?
>
> Try to install FreeBSD 6.0 on one of these machines.
> It's more likely to work, and if it doesn't, it is likely to give more
> information about what is wrong.
>
> The information you gave definitely isn't enough to go on.

I had a go at freebsd 6.0-beta5 on the same compaq evo 510 to no avail. Same 
results. A total failure with the same diagnostics. Nothing more .
Whilst  both netbsd and openbsd work flawlessly. I'll switch to one of 
them.
Ciao
Vittorio
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Weird incompatibility of compaq evo 510 PCs

2005-10-11 Thread Vittorio
At office I have an old compaq 450 (p3, 450MHz,128MB) working as a 
postgresql 8.03  server under freebsd 5.4.
Now having the chance of 
substituting it with a newer Compaq Evo 510 (p4,2,8 GHz, 512MB) to be 
on the safe side I tested this new pc trying to run freesbie 1.1 on it  
from a CD. Unfortunately after showing the usual line with  
[EMAIL PROTECTED]'amico etc.. a cryptic message of fatal error popped up 
saying something like:

int=000d err= efl=00030246 
eip=3034 eax=205d 
ebx=0004

etc, etc.

Furthermore, 
identical  diagnostics popped up trying to boot FreeBSD from the 
primary hd of the old pc mounted on this new one.
Thinking that there 
was something  wrong with that specific box only I tried:
a) to boot 
freesbie on other compaq evo 510 in my office but all of them failed to 
boot with the same (or similar??) diagnostics;
b) the freesbie cd is ok 
having tested it on other boxes;
b) using a cd for the installation of 
M$ windows on the evo 510 it all works like a charm and everything is 
installed.

My questions are:
1) Is this a known incompatibility of the 
Compaq evo 510 PCs ( a search in the internet didn't shed any light on 
it!);
2) Is there any way to overcome the problem and how?

Ciao
Vittorio

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


R: sftp connection problems

2005-09-30 Thread Vittorio
By the way, isn't it possible for the mantainers of sshd to fix 
/etc/ssh/sshd_config once and for all? I think that the correction is 
straightforward and doesn't impact with anything else.
Again
Ciao
Vittorio




>Messaggio originale
>Da: [EMAIL PROTECTED]
>Data: 
30-set-2005 5.11 PM
>A: 
>Ogg: sftp 
connection problems
>
>I've just sent a PR suggesting a fix to
>http:
//www.freebsd.org/cgi/query-pr.cgi?pr=86759
>The problem is:
>Trying to 
connect with a 
>client to an sshd server using sftpd the client  fails 
connection 
>invariably complaining:
>
>sftp-server: Command not 
found.
>Fatal: 
>unable to initialise SFTP: could not connect
>
>Ciao
>Vittorio
>___
>freebsd-
[EMAIL PROTECTED] mailing list
>http://lists.freebsd.
org/mailman/listinfo/freebsd-questions
>To unsubscribe, send any mail 
to "[EMAIL PROTECTED]"
>


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


sftp connection problems

2005-09-30 Thread Vittorio
I've just sent a PR suggesting a fix to
http://www.freebsd.
org/cgi/query-pr.cgi?pr=86759
The problem is:
Trying to connect with a 
client to an sshd server using sftpd the client  fails connection 
invariably complaining:

sftp-server: Command not found.
Fatal: 
unable to initialise SFTP: could not connect

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


Re: Webcams and FreeBSD

2005-09-26 Thread vittorio
Alle 12:05, domenica 25 settembre 2005, Ned Harrison ha scritto:
> I'm running FreeBSD 5.4 as a desktop operating system on my home
> computer.  I would like to set up a webcam for physical security/nature
> observation while I'm away from the residence.  Something simple, I just
> want to take periodic images and store them on an external hard drive.
>
> In the past couple of days researching this, I get the impression that
> it may be possible to do this but I have not found specific instructions
> on how to set it up.
>
> Even though I am a newbie, I have been able to get things working when I
> can find the right documentation. Does anybody know of an article which
> describes setting something like this up?
>
>
> Thanks
> Ned
>

Even though it seems to me a poor solution, here it is the best answer to a 
thread of mine on a similar subject:

http://www.freebsd.org/cgi/getmsg.cgi?fetch=74724+0+/usr/local/www/db/text/2005/freebsd-questions/20050911.freebsd-questions

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


Java plugin & konqueror: too many choices...

2005-09-22 Thread Vittorio
Well, I'm somewhat disorientated by the number of programs available 
under /usr/ports/java.
What I simpy want is a java plugin for konqueror 
to be loaded when I surf the net with this browser (of course, I 
enabled the java support under the browser). The simpler, the better!

What do you recommend for konqueror?

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


portsdb & portsnap

2005-09-20 Thread Vittorio
I'm having a go at using portsnap on my fbsd 5.4 notebook  instead of 
cvsup to update the ports. With the latter under the /usr/ports dir I 
issue "make update" and "portsdb -uU" and finally "portupgrade -arR".
Now, using portsnap it seems to me that after "update" the program 
itself refreshes the db. In fact if I issue "portversion -l "<" " a 
list of upgradable packages pops up. Therefore I'm concluding that 
after portsnap fetch, update, there's no  need for a "portsdb -uU".
Am 
I right or missing something (which is actually my feeling!)?
Ciao
Vittorio

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


Re: Updating freebsd without cvsup

2005-09-19 Thread vittorio
Alle 18:27, venerdì 16 settembre 2005, Ashley Moran ha scritto:
> Vittorio wrote:
> > Thanks.
> > I've just compiled the portsnap sources and put the following
> > in /usr/local/etc/portsnap.conf:
> >
> > # Defaults:
> > WORKDIR=/usr/local/portsnap
> > PORTSDIR=/usr/ports
> > KEYPRINT=9b5feee6d69f170e3dd0a2c8e469ddbd64f13f978f2f3aede40c98633216c330
> > URL=http://portsnap.daemonology.net
> >
> > BUT
> >
> > # portsnap fetch
> > Fetching
> > public key... failed.
> >
> > What's wrong with the original key in the
> > portsnap.conf.sample file?
> >
> > Thanks again
> > Vittorio
>
> The key is fine.  Perhaps you need to run portsnap as
>
> # HTTP_PROXY= portsnap fetch
>
> to get round your proxy
>

Well, after thourough examination and a word with the network administrator I 
learnt that my FreeBSD 5.4 client cannot resolve the name (and the IP too) of 
portsnap.daemonology.net because it is behind a firewall and a proxy (which 
-by the way - I had already defined via both $HTTP_PROXY and $http_proxy; as 
I stated in so doing "make install" under a port works flawlessly downloading 
whatever is needed!).
According to the admin (windows 2000 network) portsnap is not able to use the 
name resolution of the proxy as other programs like browsers can and relies 
on the nameservers in /etc/resolv.conf only.
Any idea for this poor newbie?
Ciao
Vittorio 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Updating freebsd without cvsup

2005-09-16 Thread vittorio
Alle 18:21, venerdì 16 settembre 2005, Colin Percival ha scritto:
> Vittorio wrote:
> > # Defaults:
> > WORKDIR=/usr/local/portsnap
> > PORTSDIR=/usr/ports
> > KEYPRINT=9b5feee6d69f170e3dd0a2c8e469ddbd64f13f978f2f3aede40c98633216c330
> > URL=http://portsnap.daemonology.net
> >
> > # portsnap fetch
> > Fetching
> > public key... failed.
> >
> > What's wrong with the original key in the
> > portsnap.conf.sample file?
>
> That key is correct.  Try running "portsnap --debug fetch" to work out
> what the problem is.
>
> Colin Percival


Here it is :

vicbsd# portsnap --debug fetch
Fetching public key... fetch: http://portsnap.daemonology.net/pub.ssl: No 
address record
failed.

What's wrong with it?

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


Re: Re: Updating freebsd without cvsup

2005-09-16 Thread Vittorio
Thanks.
I've just compiled the portsnap sources and put the following 
in /usr/local/etc/portsnap.conf:

# Defaults:
WORKDIR=/usr/local/portsnap
PORTSDIR=/usr/ports
KEYPRINT=9b5feee6d69f170e3dd0a2c8e469ddbd64f13f978f2f3aede40c98633216c330
URL=http://portsnap.daemonology.net

BUT

# portsnap fetch
Fetching 
public key... failed.

What's wrong with the original key in the 
portsnap.conf.sample file?

Thanks again
Vittorio



>Messaggio 
originale
>Da: [EMAIL PROTECTED]
>Data: 16-set-2005 5.14 PM
>A: "Vittorio"<[EMAIL PROTECTED]>
>Cc: 
>Ogg: Re: Updating freebsd without cvsup
>
>Vittorio wrote:
>> Is there 
another 
>> alternative way of defining the proxy OR any other way of 
getting a new 
>> source three to be copied to the server, e.g., by 
means of a cd burnt 
>> at home?
>> 
>
>
>Have you considered using the 
sysutils/portsnap port?  It's what I use 
>to keep my servers up-to-
date.  It works over HTTP so it might be easier 
>to work around your 
proxy.
>
>http://www.daemonology.net/portsnap/
>
>Ashley
>


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


Updating freebsd without cvsup

2005-09-16 Thread Vittorio
At office I have a freebsd 5.4 server to run postgresql. I'd like to 
update the ports in it from time to time but cvsup doesn't seem to work 
behind our proxy. In fact, in make.conf I have the following two lines:

FETCH_ENV = HTTP_PROXY=http://user:[EMAIL PROTECTED]:8080
FETCH_ENV = 
FTP_PROXY=http://user:[EMAIL PROTECTED]:8080

which work smoothly when 
I compile a port via "make install clean" downloading the needed 
sources BUT they seem to be useless when cvsup is used. No way of 
reaching the cvsup server because unknown (is the same I use 
succesfully at home with an adsl connection!)!

Is there another 
alternative way of defining the proxy OR any other way of getting a new 
source three to be copied to the server, e.g., by means of a cd burnt 
at home?

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


Fwd: Re: C program to write to the com port - RESOLVED

2005-09-09 Thread vittorio

As a C++ absolute beginner I'm trying to compile your testssc.c file with

g++ testssc.c -o testssc
(under freebsd 5.4, gcc version 3.4.2)

But...
I only get:

SerialPort.C: In function `int main(int, char*)':
SerialPort.C:62: error: invalid conversion from `unsigned char*' to `char*'
SerialPort.C:62: error:   initializing argument 1 of `int snprintf(char*, 
size_t, const char*, ...)'
SerialPort.C:66: error: `err' undeclared (first use this function)
SerialPort.C:66: error: (Each undeclared identifier is reported only once for 
each function it appears in.)
SerialPort.C:69:3: warning: no newline at end of file

Could you please help to straighten things up?

Vittorio

--  Messaggio inoltrato  --

Subject: Re: C program to write to the com port - RESOLVED
Date: 02:23, venerdì 09 settembre 2005
From: "Paul Hamilton" <[EMAIL PROTECTED]>
To: freebsd-questions@freebsd.org

.


/*  Name: testssc.c
 *  compile with:  gcc testssc.c -o testssc
 *
 *  Your serial cable should be plugged into com port 1.
 *  You only need the pin 3 and pin 5 (DB9) plugged into the controller.
 *  The servo should be plugged into the first servo channel/port.
 *  This test program when run will move the servo from midrange,
 *  to position 01.  This is for demonstrational use only.
 *  Tested with FreeBSD 5.4
 *  Paul Hamilton  8th Aug 2005
 */

#include 
#include 
#include 
#include 
#include  /*Originally it was termio.h*/
#include 
#include 
// Use serial port 0  (com port 1)
static char *opt_comport="/dev/cuaa0";

int main(int argc, char **argv)
{
int fd;
struct termios options;
unsigned char buf[4];

// ok, lets try opening the com port
printf("Opening Com port: %s\n\n", opt_comport);
if((fd = open(opt_comport, O_RDWR | O_NOCTTY )) < 0)
  {
 printf("Problems opening %s\n", opt_comport);
 return (-1);
  }
// set the required com port parrameters
options.c_cflag &= ~CSIZE;  /* Mask the character size bits */
options.c_cflag |= CS8; /* Select 8 data bits */
options.c_cflag &= ~PARENB; // set no parity
options.c_cflag &= ~CSTOPB; // set 1 stop bit
options.c_oflag &= ~OPOST;  // Raw output

tcgetattr(fd, &options);

/*
 * Set the baud rates to 9600...
 */
cfsetispeed(&options, B9600);
cfsetospeed(&options, B9600);

/*
 * Enable the receiver and set local mode...
 */
options.c_cflag |= (CLOCAL | CREAD);

/*
 * Set the new options for the port...
 */
tcsetattr(fd, TCSANOW, &options);

// ok, lets transmit our 3 bytes through com port 1
snprintf(buf,4,"%c%c%c%c",0xff,0x00,0x01,0);
printf("buf=%x,%x,%x,%x\n", buf[0],buf[1],buf[2],buf[3]);

  if (write(fd, buf, 3) != 3)
err(1, "write");

close(fd);
};



Cheers,

Paul Hamilton

PS.  I have three books on programming in C winging their way to Australia.
I have a lot to learn  :-)

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

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


Re: video surveillance with freebsd

2005-09-04 Thread vittorio
Alle 01:06, domenica 04 settembre 2005, nbco ha scritto:
> On Friday 03 June 2005 23:56, vittorio wrote:
> > The aim: with up to 4 small cameras connected to a pci board in a
> > freebsd 5.4 box, scattered suitably around to guard, surveille a
> > seaside resort flat *** remotely ***. The open-source software I'm
> > looking for should: 1) manage the pci board & the cameras;
> > 2) start,trigger a script for, e.g., a gsm connection to transmit
> > images to a remote server via ppp  OR start an alarm *** whener a
> > motion is detected ***.
> >
> > Is there any software in the ports satisfying these requirements?
> >
> > Ciao
> > Vittorio
>
> Hhmmm I used to have a landlord like that...
> .nbco

Amusing but that isn't actually my purpose! 
Actually I was speaking of using some anti-burglar device for our  little 
family house house at the seaside resort placing in the garden cameras 
"sensitive" to people moving in it when my family and I are absent, that is 
10.5 months per year.
Asking around for (anti-burglar)  alarm systems they asked me a mere fortune. 
Having a spare old pentium and a much older  would like to use it for the same 
purpose but a very cheap price.
That's all!
Any idea?
Vittorio  
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


video surveillance with freebsd

2005-09-03 Thread vittorio
The aim: with up to 4 small cameras connected to a pci board in a freebsd 5.4 
box, scattered suitably around to guard, surveille a seaside resort flat *** 
remotely ***. The open-source software I'm looking for should: 
1) manage the pci board & the cameras;
2) start,trigger a script for, e.g., a gsm connection to transmit images to a 
remote server via ppp  OR start an alarm *** whener a motion is detected ***.

Is there any software in the ports satisfying these requirements?   

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


Problems withpcmcia & smartmedia

2005-08-18 Thread vittorio
When I insert my pccard (smartmedia adapter pcmcia - hama) freebsd 5.4 doesn't 
seem to recognize it as a storage device. In fact /var/log/messages says:
.. 
Aug 18 19:33:03 vittorio kernel: pccard0: Allocation failed for cfe 0
Aug 18 19:33:03 vittorio kernel: ata2: <> at port 0x2050-0x205f 
irq 11 function 0 config 1 on pccard0
..

The same smartmedia inside the Olympus camera and connected via usb is instead 
happily seen as a scsi device.

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


Re: cannot connect to Internet...http proxy?

2005-08-11 Thread vittorio
Alle 05:44, giovedì 11 agosto 2005, perikillo ha scritto:
> On 02 Aug 2005 09:35:31 -0400, Lowell Gilbert
>
> <[EMAIL PROTECTED]> wrote:
> > perikillo <[EMAIL PROTECTED]> writes:
> > >   In my work, we connect to the internet over one http proxy
> > > (squid) running on fedora, with windows(98/2k/xp) we dont have any
> > > problem to acces to the outside. I have my user and password, the
> > > proxy have the IP: 192.168.1.2 Port 3128
> > >
> > >   I need to access to the internet to update my system because i
> > > only download the mini-iso, and i need to update ports and kernel, i
> > > need to install some packages, but went the /stand/sysinstall ask me
> > > how i want to connect to the internet i chose HTTP Proxy, them he ask:
> > >
> > > Please enter the address of the http proxy in this format:
> > > hostname: port (the ':port' is optional, default is 3128 )
> > >
> > >I give the IP of my proxy: 192.168.1.2, but he dont ask my user and
> > > password, and say:
> > >
> > > "No Such directory: ftp://ftp4.freebsd.org/pub/FreeBSD
> > > /snapshots/i386/5.3-RELEASE please check URL and try again"
> > >
> > >   We use one DHCP server with windows that give the IP, i receive the
> > > IP, but still cannot connect my freebsd box to the internet, some docs
> > > say that if we receive our IP address from some DHCP we dont need to
> > > worry about the DNS. I dont have nothing on /etc/resolv.conf
> > >
> > >   Our subnet is W.X.2.Z  --> my IP is 192.168.2.22
> > >
> > >   I forget something?, i need to ask something more to the person is
> > > in charge of the Internet access?
> > >
> > >   I really need to setup freebsd, because we need to test some
> > > software before next friday. Hope you could help me, thanks.
> >
> > Set the HTTP_PROXY environment variable.
> > See "man 3 fetch".
>
>Ok, i still have problems connecting my freebsd 5.3 to the outside,
> i read man 3 fetch and have this examples:
>
>  man 3 fetch
> EXAMPLES
>  To access a proxy server on proxy.example.com port 8080, set the
>  HTTP_PROXY environment variable in a manner similar to this:
>
>HTTP_PROXY=http://proxy.example.com:8080
>
>  If the proxy server requires authentication, there are two options
> avail- able for passing the authentication data.  The first method is by
> using the proxy URL:
>
>HTTP_PROXY=http://:@proxy.example.com:8080
>
>  The second method is by using the HTTP_PROXY_AUTH environment
> variable:
>
>HTTP_PROXY=http://proxy.example.com:8080
>HTTP_PROXY_AUTH=basic:*::
> *** end man 3 fetch*
>
>   Them i add this to my /root/.cshrc
>
>   setenv HTTP_PROXY http://myusername:[EMAIL PROTECTED]:3128
>   setenv http_proxy http://myusername:[EMAIL PROTECTED]:3128
>
>Where 192.168.1.2 is my internal proxy(squid), that let goes out
> side, that proxy is begin the firewall, all running on fedora on the
> same box, is my setup correct or i didnt understand well?
>
> I dont get it, it looks very easy, any tip there?




Put
 FETCH_ENV= HTTP_PROXY=http://:@proxy.example.com:8080
FETCH_ENV= FTP_PROXY=http://:@proxy.example.com:8080

in file /etc/make.conf
It works for me!!

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


Encrypted filesystem cgd

2005-08-10 Thread vittorio
I've been reading with interest in Dru Lavigne's "BSD Hacks" of an encrypted 
filesystem named cgd which at the time of her writing was included in NetBSD 
only.

has cgd  been ported in FreeBSD (doesn't seem to me)?

OR

Is there anything similar in FreeBSD?

Ciao
Vittorio

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


Re: Problems with booting & MBR

2005-07-29 Thread Vittorio De Martino
Alle 11:16, giovedì 28 luglio 2005, [EMAIL PROTECTED] ha scritto:
> In the first disk ad0 (master) of a computer at office I had installed
> linux to be used as a postgresql server. Later I installed FreeBSD 5.4
> (just to have a go at it)  on a partition of the second disk ad1 (slave) to
> be a postgrresql server too.
> Linux lilo was the boot loader, booting linux by default and freebsd.
> Now, convinced of the high quality of the latter I eliminated linux from
> the first disk unfortunately without modifying lilo, and reshuffled the
> FreeBSD filesystem as in my latest /etc/fstab using also the first disk:
>
> # DeviceMountpoint  FStype  Options Dump   
> Pass# /dev/ad1s2b noneswapsw  0
>   0 /dev/ad1s2a /   ufs rw  1  
> 1 /dev/ad0s1a /usr/local  ufs rw  0   0
> /dev/ad0s1d /varufs rw  0   0
> /dev/ad0s1e /tmpufs rw  0   0
> /dev/acd0   /cdrom  cd9660  ro,noauto   0   0
>
> Now, even though I read the booting procedure in the handbook and somewhere
> else in the internet, issuing the various "fdisk -b B", "disklabel -b ..",
> "boot0cfg ..", I was completely unable to modify the MBR and make this
> FreeBSD only computer boot directly into this OS.
>
> What should I do with the configuration I have?
> A straightforward and step by step explanation is highly appreciated.
>
> P.S. Is it possible that some problems can arise by the fact that I used
> an "a" slice (ad0s1a)for mounting /usr/local and freebsd starts from
> ad1s1a?
>
>  


Friends, 
as suggested in the docs in the internet I tried both with

# fdisk -B -b /boot/boot0 ad0
fdisk: cannot open disk /dev/ad0: No such file or directory

and with

# fdisk -B -b /boot/boot0 ad1
fdisk: cannot open disk /dev/ad1: No such file or directory

WHILST
my working /etc/fstab is, as I mentioned before:
# DeviceMountpoint  FStype  Options DumpPass#
/dev/ad1s2b noneswapsw  0   0
/dev/ad1s2a /   ufs rw  1   1
/dev/ad0s1a /usr/local  ufs rw  0   0
/dev/ad0s1d /varufs rw  0   0
/dev/ad0s1e /tmpufs rw  0   0

Why FreeBSD 5.4 cannot find /dev/ad0 and ad1?
What should I do?  

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


Re: usb mass storage failure

2005-07-20 Thread Vittorio De Martino
Alle 18:11, mercoledì 20 luglio 2005, Dan Nelson ha scritto:
> In the last episode (Jul 20), [EMAIL PROTECTED] said:
> > Context: freebsd 5.4
> >
> > My brand-new usb mp3 reader, even though is seen as a flash disk by
> > the OS, cannot be used because:
> >
> > umass0: vendor 0x10d6 USB 2.0(FS) FLASH DISK, rev 1.10/1.00, addr 2
> > da0 at umass-sim0 bus 0 target 0 lun 0
> > da0:  Removable Direct Access SCSI-0 device
> > da0: 1.000MB/s transfers
> > da0: 497MB (1019617 512 byte sectors: 64H 32S/T 497C)
> > umass0: BBB reset failed, STALLED
> > umass0: BBB bulk-in clear stall failed, STALLED
> > umass0: BBB bulk-out clear stall failed, STALLED
>
> Try the patch at http://www.freebsd.org/cgi/query-pr.cgi?pr=81846

Dan, thank you very much for your valuable suggestion 
BUT
being a real novice with freebsd (I have experience of linux) could you please 
explain straightforwardly HOW and WHERE I should apply the patch?

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


Whom to report a panic to?

2005-07-03 Thread Vittorio De Martino
My (daughter's) new mp3 usb device made  my laptop with the latest freebsd 5.4 
freeze and show a page of panic "explaining (not to me)" what went wrong.
The same mp3 reader is smoothly seen as a usb mass memory from linux on the 
same laptop.
My question is:

1)Whom should I report the freebsd panic to? To what list? 
2)What should I report? 
3) is there a way to record in a file the console panic report?

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


acpi randomly hangs my portable

2005-06-30 Thread Vittorio De Martino
On my laptop with the latest freebsd 5.4 when I work under a csh console 
acpi , from time to time, without any plausible reason, stops the system and 
freezes it as if it were idle for a long time while it wasn't actually. How 
can I deactivate this acpi option?
Vittorio 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: make builworld fails owing to libstdc++ problems

2005-06-27 Thread Vittorio De Martino
I tried but the same error stil pops up. What else should I do?
Vittorio

Alle 07:26, lunedì 27 giugno 2005, Vasil Dimov ha scritto:
> On Sun, Jun 26, 2005 at 09:33:19PM +0200, Vittorio De Martino wrote:
> > uname -a
> > FreeBSD fbsd.grtn 5.4-RELEASE-p2 FreeBSD 5.4-RELEASE-p2 #0: Sat Jun 25
> > 17:40:47 CEST 2005
> >
> >
> > I have the following in 
> > in make.conf
> > CPUTYPE=p4
> > CFLAGS= -O2 -pipe -funroll-loops
> > COPTFLAGS= -O2 -pipe -funroll-loops
> >
> > in stable-supfile:
> > *default release=cvs tag=RELENG_5_4
> > in ports-supfile:
> > default release=cvs tag=.
> >
> > I've just run (I've been using 5.4 since the very beginning and updated
> > it every month roughly)
> >
> > # 1. �`cd /usr/src' � � � (or to the directory containing your source
> > tree). # 2. �`make update'
> > # 3. �`make buildworld'
> >
> > BUT..
> >
> > x_handler.cc
> > /usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/guard.cc
> > /usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/new_handl
> >er.cc
> > /usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/new_op.cc
> > /usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/new_opnt.
> >cc
> > /usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/new_opv.c
> >c
> > /usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/new_opvnt
> >.cc
> > /usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/pure.cc
> > /usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/tinfo.cc
> > /usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/tinfo2.cc
> > /usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/vec.cc
> > /usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/vterminat
> >e.cc In file included
> > from
> > /usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/eh_alloc.
> >cc:37:
> > /usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/unwind-cx
> >x.h:41:20: unwind.h: No such file or directory
> > In file included
> > from
> > /usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/eh_aux_ru
> >ntime.cc:34:
> > /usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/unwind-cx
> >x.h:41:20: unwind.h: No such file or directory
> > In file included
> > from
> > /usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/eh_catch.
> >cc:32:
> > /usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/unwind-cx
> >x.h:41:20: unwind.h: No such file or directory
> > In file included
> > from
> > /usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/eh_except
> >ion.cc:34:
> > /usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/unwind-cx
> >x.h:41:20: unwind.h: No such file or directory
> > In file included
> > from
> > /usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/eh_global
> >s.cc:33:
> > /usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/unwind-cx
> >x.h:41:20: unwind.h: No such file or directory
> > In file included
> > from
> > /usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/eh_person
> >ality.cc:34:
> > /usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/unwind-cx
> >x.h:41:20: unwind.h: No such file or directory
> > /usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/eh_person
> >ality.cc:38:23: unwind-pe.h: No such file or directory
> > In file included
> > from
> > /usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/eh_term_h
> >andler.cc:30:
> > /usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/unwind-cx
> >x.h:41:20: unwind.h: No such file or directory
> > In file included
> > from
> > /usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/eh_termin
> >ate.cc:34:
> > /usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/unwind-cx
> >x.h:41:20: unwind.h: No such file or directory
> > In file included
> > from
> > /usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/eh_throw.
> >cc:32:
> > /usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/unwind-cx
> >x.h:41:20: unwind.h: No such file or directory
> > In file included
> > from
> > /usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/eh_type.c
> >c:32:
> > /usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/unwind-cx
> >x.h:41:20: unwind.h: No s

make builworld fails owing to libstdc++ problems

2005-06-26 Thread Vittorio De Martino
uname -a
FreeBSD fbsd.grtn 5.4-RELEASE-p2 FreeBSD 5.4-RELEASE-p2 #0: Sat Jun 25 
17:40:47 CEST 2005 


I have the following in 
in make.conf
CPUTYPE=p4
CFLAGS= -O2 -pipe -funroll-loops
COPTFLAGS= -O2 -pipe -funroll-loops

in stable-supfile:
*default release=cvs tag=RELENG_5_4
in ports-supfile:
default release=cvs tag=.

I've just run (I've been using 5.4 since the very beginning and updated it 
every month roughly)

# 1.  `cd /usr/src'       (or to the directory containing your source tree).
# 2.  `make update'
# 3.  `make buildworld'

BUT..

x_handler.cc 
/usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/guard.cc 
/usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/new_handler.cc 
/usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/new_op.cc 
/usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/new_opnt.cc 
/usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/new_opv.cc 
/usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/new_opvnt.cc 
/usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/pure.cc 
/usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/tinfo.cc 
/usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/tinfo2.cc 
/usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/vec.cc 
/usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/vterminate.cc
In file included 
from 
/usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/eh_alloc.cc:37:
/usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/unwind-cxx.h:41:20:
 
unwind.h: No such file or directory
In file included 
from 
/usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/eh_aux_runtime.cc:34:
/usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/unwind-cxx.h:41:20:
 
unwind.h: No such file or directory
In file included 
from 
/usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/eh_catch.cc:32:
/usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/unwind-cxx.h:41:20:
 
unwind.h: No such file or directory
In file included 
from 
/usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/eh_exception.cc:34:
/usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/unwind-cxx.h:41:20:
 
unwind.h: No such file or directory
In file included 
from 
/usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/eh_globals.cc:33:
/usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/unwind-cxx.h:41:20:
 
unwind.h: No such file or directory
In file included 
from 
/usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/eh_personality.cc:34:
/usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/unwind-cxx.h:41:20:
 
unwind.h: No such file or directory
/usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/eh_personality.cc:38:23:
 
unwind-pe.h: No such file or directory
In file included 
from 
/usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/eh_term_handler.cc:30:
/usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/unwind-cxx.h:41:20:
 
unwind.h: No such file or directory
In file included 
from 
/usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/eh_terminate.cc:34:
/usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/unwind-cxx.h:41:20:
 
unwind.h: No such file or directory
In file included 
from 
/usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/eh_throw.cc:32:
/usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/unwind-cxx.h:41:20:
 
unwind.h: No such file or directory
In file included 
from 
/usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/eh_type.cc:32:
/usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/unwind-cxx.h:41:20:
 
unwind.h: No such file or directory
In file included 
from 
/usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/eh_unex_handler.cc:30:
/usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/unwind-cxx.h:41:20:
 
unwind.h: No such file or directory
In file included 
from /usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/pure.cc:31:
/usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/unwind-cxx.h:41:20:
 
unwind.h: No such file or directory
In file included 
from /usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/vec.cc:37:
/usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/unwind-cxx.h:41:20:
 
unwind.h: No such file or directory
mkdep: compile failed
*** Error code 1

Stop in /usr/src/gnu/lib/libstdc++.
*** Error code 1

Stop in /usr/src/gnu/lib.
*** Error code 1

What should I do?

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


Problems with libcom_err_p.a

2005-06-25 Thread Vittorio De Martino
Having the following in 
in stable-supfile:
*default release=cvs tag=RELENG_5_4
in ports-supfile:
default release=cvs tag=.

I've just run (I've been using 5.4 since the very beginning and updated it 
every month roughly)

# 1.  `cd /usr/src'   (or to the directory containing your source tree).
# 2.  `make update'
# 3.  `make buildworld'
# 4.  `make buildkernel KERNCONF=LAPTOP5 # My own configuration working 
 
unchanged since 5.3
# 5.  `make installkernel KERNCONF=LAPTOP5 
# 6.  `reboot'(in single user mode: boot -s from the loader prompt).
# 7.  `mergemaster -p'
# 8.  `make installworld'

Now while executing  the command 8 it all stops complaining :
.
install -C -o root -g wheel -m 
444  /usr/src/include/rpc/auth.h /usr/src/include/rpc/auth_unix.h 
/usr/src/include/rpc/clnt.h /usr/src/include/rpc/clnt_soc.h 
/usr/src/include/rpc/clnt_stat.h /usr/src/include/rpc/nettype.h 
/usr/src/include/rpc/pmap_clnt.h /usr/src/include/rpc/pmap_prot.h 
/usr/src/include/rpc/pmap_rmt.h /usr/src/include/rpc/raw.h 
/usr/src/include/rpc/rpc.h /usr/src/include/rpc/rpc_msg.h 
/usr/src/include/rpc/rpcb_clnt.h /usr/src/include/rpc/rpcent.h 
/usr/src/include/rpc/rpc_com.h /usr/src/include/rpc/svc.h 
/usr/src/include/rpc/svc_auth.h /usr/src/include/rpc/svc_soc.h 
/usr/src/include/rpc/svc_dg.h /usr/src/include/rpc/types.h 
/usr/src/include/rpc/xdr.h /usr/src/include/rpc/auth_des.h 
/usr/src/include/rpc/des.h /usr/src/include/rpc/des_crypt.h 
/usr/src/include/rpc/auth_kerb.h /usr/src/include/rpc/rpcb_prot.x 
rpcb_prot.h /usr/include/rpc
===> lib
===> lib/csu/i386-elf
install -o root -g wheel  -m 444 crt1.o crti.o crtn.o gcrt1.o /usr/lib
===> lib/libcom_err
install -C -o root -g wheel -m 444   libcom_err.a /usr/lib
install -C -o root -g wheel -m 444   libcom_err_p.a /usr/lib
install: libcom_err_p.a: No such file or directory
*** Error code 71

Stop in /usr/src/lib/libcom_err.
*** Error code 1

Stop in /usr/src/lib.
*** Error code 1

...

A research in the internet has been of no avail. 

What should I do?

Vittorio

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


Oracle odbc

2005-06-10 Thread Vittorio De Martino
I need to connect my freebsd 5.4 box to an oracle 9 db to query it by means of 
perl or the statistical software R.
How could I set up this odbc connection (I already installed unixODBC, but 
what next and how to set it up)?
Have you any doc to suggest ( I was unable to find anything interesting 
googling!)?
Vittorio
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


  1   2   >