Updating glib from 2.24.2 to 2.26.1_1 fails

2010-12-14 Thread Peter Boosten
Hi all,

In an attempt to update glib on my 8.0-machine, portupgrade stops with
this message:



gnome-libtool: compile:  cc -DHAVE_CONFIG_H -I. -I..
-DG_LOG_DOMAIN=\"GLib-GIO\" -I.. -I../glib -I../glib -I.. -I../gmodule
-DG_DISABLE_CAST_CHECKS -DG_THREADS_MANDATORY -DG_DISABLE_DEPRECATED
-DGIO_COMPILATION -DGIO_MODULE_DIR=\"/usr/local/lib/gio/modules\"
-I/usr/local/include -DG_DISABLE_SINGLE_INCLUDES -D_REENTRANT -O -pipe
-march=pentiumpro -Wall -MT gzlibcompressor.lo -MD -MP -MF
.deps/gzlibcompressor.Tpo -c gzlibcompressor.c  -fPIC -DPIC -o
.libs/gzlibcompressor.o
gzlibcompressor.c:68: error: expected specifier-qualifier-list before
'gz_header'
gzlibcompressor.c: In function 'g_zlib_compressor_set_gzheader':
gzlibcompressor.c:80: error: 'GZlibCompressor' has no member named
'file_info'
gzlibcompressor.c:83: error: 'GZlibCompressor' has no member named
'gzheader'
gzlibcompressor.c:83: error: 'gz_header' undeclared (first use in this
function)
gzlibcompressor.c:83: error: (Each undeclared identifier is reported
only once
gzlibcompressor.c:83: error: for each function it appears in.)
gzlibcompressor.c:84: error: 'GZlibCompressor' has no member named
'gzheader'
gzlibcompressor.c:86: error: 'GZlibCompressor' has no member named
'file_info'
gzlibcompressor.c:87: error: 'GZlibCompressor' has no member named
'gzheader'
gzlibcompressor.c:88: error: 'GZlibCompressor' has no member named
'gzheader'
gzlibcompressor.c:90: error: 'GZlibCompressor' has no member named
'gzheader'
gzlibcompressor.c:91: error: 'GZlibCompressor' has no member named
'file_info'
gzlibcompressor.c:94: warning: implicit declaration of function
'deflateSetHeader'
gzlibcompressor.c:94: error: 'GZlibCompressor' has no member named
'gzheader'
gzlibcompressor.c: In function 'g_zlib_compressor_finalize':
gzlibcompressor.c:112: error: 'GZlibCompressor' has no member named
'file_info'
gzlibcompressor.c:113: error: 'GZlibCompressor' has no member named
'file_info'
gzlibcompressor.c: In function 'g_zlib_compressor_get_property':
gzlibcompressor.c:171: error: 'GZlibCompressor' has no member named
'file_info'
gzlibcompressor.c: In function 'g_zlib_compressor_get_file_info':
gzlibcompressor.c:310: error: 'GZlibCompressor' has no member named
'file_info'
gzlibcompressor.c: In function 'g_zlib_compressor_set_file_info':
gzlibcompressor.c:335: error: 'GZlibCompressor' has no member named
'file_info'
gzlibcompressor.c:338: error: 'GZlibCompressor' has no member named
'file_info'
gzlibcompressor.c:339: error: 'GZlibCompressor' has no member named
'file_info'
gzlibcompressor.c:342: error: 'GZlibCompressor' has no member named
'file_info'
gmake[4]: *** [gzlibcompressor.lo] Error 1
gmake[4]: Leaving directory `/usr/ports/devel/glib20/work/glib-2.26.1/gio'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/usr/ports/devel/glib20/work/glib-2.26.1/gio'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/usr/ports/devel/glib20/work/glib-2.26.1/gio'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/devel/glib20/work/glib-2.26.1'
gmake: *** [all] Error 2
*** Error code 1

Stop in /usr/ports/devel/glib20.
*** Error code 1

Stop in /usr/ports/devel/glib20.
** Command failed [exit code 1]: /usr/bin/script -qa
/tmp/portupgrade20101213-34478-1rabaqj-0 env UPGRADE_TOOL=portupgrade
UPGRADE_PORT=glib-2.24.2 UPGRADE_PORT_VER=2.24.2 make
** Fix the problem and try again.
** Listing the failed packages (-:ignored / *:skipped / !:failed)
! devel/glib20 (glib-2.24.2)(compiler error)



Anyone know how to solve this issue?

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


Re: Kind of off topic.

2010-12-14 Thread Giorgos Keramidas
On Mon, 13 Dec 2010 17:21:06 -0600, Jorge Biquez  
wrote:
> Hello all.
>
> A friend is asking me to help him to solve some problem he has in his
> servers. To some I would be able to connect using ssh, with other just
> it i snot possible. I remember that on the windows world there was a
> commercial software PCANywhere. He can have it but I am not sure if I
> would be able to connect to that from my Freebsd machine (of course
> not by ssh).
>
> What are you using for connecting to graphical interfaces of different
> OS's from FreeBSD?
>
> I tested some years ago a VNC software but did not work fine with MAC
> OSX (recently released by then).
>
> I know big security factors are involved for sure.
> Any suggestion on what to use, not to expensive or free?

If the remote hosts are running FreeBSD, you can do almost *everything*
through SSH.  For example most of my FreeBSD-related testing work
happens through SSH connections to virtual machines these days.

If you really need to run a GUI application though there are a few
options:

  - The most basic is to connect to the remote machine in *some* way,
set the DISPLAY environment variable to point to a local X server
that may accept incoming connections and fire up your GUI program.

  - You can SSH into the remote machine and use the -X or -Y options to
set up 'X forwarding' back to the machine where the SSH connection
has originated from.

  - You can use programs like the NX tools 
to set up a 'remotely accessible X desktop' on the target machine
and then use nxclient to connect to it from anywhere.

The fastest and simplest method is still a plain good old SSH connection
though.  It requires minimal setup (an sshd daemon on the remote side),
it is accessible from anywhere in the world, it's secure against random
eavesdroppers, it's fast to connect to, it's pretty light-weight on both
the client and server systems, and you can do _everything_ on the remote
host [even full system upgrades from source].

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


bge0: watchdog timeout broadcom 8.1 release

2010-12-14 Thread Gabor Illo
Somebody know how to fix this driver problem?

Dec 14 12:10:38 mouseoleum kernel: bge0: watchdog timeout -- resetting
Dec 14 12:10:38 mouseoleum kernel: bge0: link state changed to DOWN
Dec 14 12:10:42 mouseoleum kernel: bge0: link state changed to UP
Dec 14 12:13:33 mouseoleum kernel: bge0: watchdog timeout -- resetting
Dec 14 12:13:33 mouseoleum kernel: bge0: link state changed to DOWN
Dec 14 12:13:37 mouseoleum kernel: bge0: link state changed to UP

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


PR 152892: Not updating /etc files in installer FreeBSD-8.2-BETA1-i386-memstick.img

2010-12-14 Thread Dmitry Postolov

Hi to All! Sorry for my bad English...

PR 152892: Not updating /etc files in installer 
FreeBSD-8.2-BETA1-i386-memstick.img


This problem is observed in mode: Custom/All distributions. In mode: 
Standard/Developer or Kernel Developer installation completed successfully!


---

http://wiki.freebsd.org/Releng/8.2TODO

Quote: After BETA1:

20101209 - Unbreak sysinstall ALL distributions installation (BruceCran) 
(r216243, merged as r216325)


---

Whether it means, what everything is all right?

best regards,
Dmitry Postolov
anta...@land.ru

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


pls help..

2010-12-14 Thread Justin V.

Hi,

I am having a very difficult time understanding what is going on with this 
FreeBSD machine..


I was having inet trouble so i put in a new router on my network (home 
network)..


I have a FreeBSD machine on my network:

FreeBSD yeaguy.com 8.1-RELEASE FreeBSD 8.1-RELEASE #3: Thu Nov  4 20:43:41 
PDT 2010 v...@yeaguy.com:/usr/obj/usr/src/sys/HBCA  i386



I have windows machines on my network..


One of my windows machines is my laptop and I connect directly to the 
router via WIFI without any trouble at all...  I can browse any website 
without complaint.


My FreeBSD system connects to my WIFI router just fine as well..  I am 
seeing troubles browsing the inet with my FreeBSD machine (Xorg and 
opera) Pulling up Google.com can take up to 30s..


My Other windows machine is using the FreeBSD as its gateway, I am running 
ipnat. This pc suffers from the same issues as the FreeBSD box..


I configured the new router with the same ssid and wepkey.. so minimal 
adjustments would have to be made for other WIFI users in the house.. 
Everyone is fine except me...


My server is fine as far as my Website is concerned.. I changed my DNS 
with my host to point to my new WAN IP.. I can pull my page fine.. I can 
ssh to my server fine from my phone, phones ip is from my Phones netowrk.. 
this is not being done via WIFI on my phone..


So my Nat'd WIN PC and my FreeBSD Xorg cannot browse the internet like it 
used to.. 30s to 40s to pull up google is just unacceptable, when I have 
my laptop sitting here using the same WIFI router pulling it up in about 
3ms...


Another odd symptom I am seeing is that when i issue the command 'alpine' 
to check my email, it hangs for a good 30s  So in my mind, Im 
thinking, what changed?? My router and my Public IP.. thats it.. its 
almost like I have my OLD WAN ip hardcoded somewhere causing a conflict.. 
I cannot find it hardcoded anywhere..


Heres an example of what im seeing:

[...@yeaguy ~]$ ping google.com
PING google.com (72.14.204.147): 56 data bytes
64 bytes from 72.14.204.147: icmp_seq=0 ttl=52 time=85.460 ms
64 bytes from 72.14.204.147: icmp_seq=1 ttl=52 time=85.152 ms
64 bytes from 72.14.204.147: icmp_seq=2 ttl=52 time=84.048 ms
64 bytes from 72.14.204.147: icmp_seq=3 ttl=52 time=82.442 ms
^C
--- google.com ping statistics ---
4 packets transmitted, 4 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 82.442/84.275/85.460/1.182 ms


[...@yeaguy ~]$ telnet google.com 80
Trying 72.14.204.147...
Connected to google.com.  
Escape character is '^]'.
^]
telnet> q
Connection closed.
[...@yeaguy ~]$


I am unable to browse to nytimes.com via FreeBSD Opera browser or WIN PC 
that is using the FreeBSD as the gateway, but I can telnet to it on tcp 
port 80 just fine..


[...@yeaguy ~]$ telnet nytimes.com 80
Trying 199.239.136.200...
Connected to nytimes.com.
Escape character is '^]'.
get
Bad request
Bad request
Your browser sent a query this server could not understand.
Connection closed by foreign host.
[...@yeaguy ~]$


Heres some config files:


[...@yeaguy ~]$ cat /etc/rc.conf
wlans_rum0="wlan0"
gateway_enable="YES"
ifconfig_wlan0="inet 192.168.1.169 netmask 255.255.255.0 ssid vicnet 
wepmode on weptxkey 1 wepkey 1:0xF4AE43E9BA description WIFI"

defaultrouter="192.168.1.1"
apache22_enable="YES"
hald_enable="YES"
dbus_enable="YES"
samba_enable="YES"
nmbd_enable="YES"
smbd_enable="YES"
winbindd_enable="YES"
hostname="yeaguy.com"
ifconfig_em0="inet 10.1.1.1 netmask 255.255.255.0 broadcast 10.1.1.255 
description LAN"

inetd_enable="YES"
linux_enable="YES"
sshd_enable="YES"
usbd_enable="YES"
postfix_enable="YES"
sendmail_enable="NO"
sendmail_submit_enable="NO"
sendmail_outbound_enable="NO"
sendmail_msp_queue_enable="NO"
firewall_enable="YES"
firewall_script="/etc/fire"
ipnat_enable="YES"
ipnat_program="/sbin/ipnat"
ipnat_rules="/etc/ipnat.rules"
ipnat_flags=""
#ipmon_enable="YES"
#ipmon_program="/sbin/ipmon"
#ipmon_flags="-Ds"
named_enable="YES"
ntpdate_enable="YES"
ntpdate_program="ntpdate"
ntpdate_flags="-b 0.north-america.pool.ntp.org"
mysql_enable="YES"
clamav_clamd_enable="YES"
clamav_freshclam_enable="YES"
amavisd_enable="YES"
#amavisd_ram="512m"
pf_enable="YES"
pf_rules="/etc/pf.conf"
pflog_enable="YES"
saver="daemon"



[...@yeaguy ~]$ ifconfig
em0: flags=8843 metric 0 mtu 1500
description: LAN 
options=219b

ether 00:16:76:bf:17:29
inet 10.1.1.1 netmask 0xff00 broadcast 10.1.1.255
media: Ethernet autoselect (100baseTX )
status: active
ipfw0: flags=8801 metric 0 mtu 65536
pflog0: flags=141 metric 0 mtu 33200
lo0: flags=8049 metric 0 mtu 16384
options=3
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
inet6 ::1 prefixlen 128
inet 127.0.0.1 netmask 0xff00
nd6 options=3
pfsync0: flags=0<> metric 0 mtu 1460
syncpeer: 224.0.0.240 maxupd: 128
rum0: flags=8843 metric 0 mtu 2290
ether 00:1e:e5:a8:bd:5a
media: IEEE 802.11 Wireless Ethernet autosele

Re: pls help..

2010-12-14 Thread Mubeesh ali
try traceroute  to check how packets are going out. do u have any
proxy hardcoded in browser in bsd ?

On Tue, Dec 14, 2010 at 3:24 PM, Justin V.  wrote:
> Hi,
>
> I am having a very difficult time understanding what is going on with this
> FreeBSD machine..
>
> I was having inet trouble so i put in a new router on my network (home
> network)..
>
> I have a FreeBSD machine on my network:
>
> FreeBSD yeaguy.com 8.1-RELEASE FreeBSD 8.1-RELEASE #3: Thu Nov  4 20:43:41
> PDT 2010     v...@yeaguy.com:/usr/obj/usr/src/sys/HBCA  i386
>
>
> I have windows machines on my network..
>
>
> One of my windows machines is my laptop and I connect directly to the router
> via WIFI without any trouble at all...  I can browse any website without
> complaint.
>
> My FreeBSD system connects to my WIFI router just fine as well..  I am
> seeing troubles browsing the inet with my FreeBSD machine (Xorg and opera)
> Pulling up Google.com can take up to 30s..
>
> My Other windows machine is using the FreeBSD as its gateway, I am running
> ipnat. This pc suffers from the same issues as the FreeBSD box..
>
> I configured the new router with the same ssid and wepkey.. so minimal
> adjustments would have to be made for other WIFI users in the house..
> Everyone is fine except me...
>
> My server is fine as far as my Website is concerned.. I changed my DNS with
> my host to point to my new WAN IP.. I can pull my page fine.. I can ssh to
> my server fine from my phone, phones ip is from my Phones netowrk.. this is
> not being done via WIFI on my phone..
>
> So my Nat'd WIN PC and my FreeBSD Xorg cannot browse the internet like it
> used to.. 30s to 40s to pull up google is just unacceptable, when I have my
> laptop sitting here using the same WIFI router pulling it up in about 3ms...
>
> Another odd symptom I am seeing is that when i issue the command 'alpine' to
> check my email, it hangs for a good 30s  So in my mind, Im thinking,
> what changed?? My router and my Public IP.. thats it.. its almost like I
> have my OLD WAN ip hardcoded somewhere causing a conflict.. I cannot find it
> hardcoded anywhere..
>
> Heres an example of what im seeing:
>
> [...@yeaguy ~]$ ping google.com
> PING google.com (72.14.204.147): 56 data bytes
> 64 bytes from 72.14.204.147: icmp_seq=0 ttl=52 time=85.460 ms
> 64 bytes from 72.14.204.147: icmp_seq=1 ttl=52 time=85.152 ms
> 64 bytes from 72.14.204.147: icmp_seq=2 ttl=52 time=84.048 ms
> 64 bytes from 72.14.204.147: icmp_seq=3 ttl=52 time=82.442 ms
> ^C
> --- google.com ping statistics ---
> 4 packets transmitted, 4 packets received, 0.0% packet loss
> round-trip min/avg/max/stddev = 82.442/84.275/85.460/1.182 ms
>
>
> [...@yeaguy ~]$ telnet google.com 80
> Trying 72.14.204.147...
> Connected to google.com.  
> Escape character is '^]'.
> ^]
> telnet> q
> Connection closed.
> [...@yeaguy ~]$
>
>
> I am unable to browse to nytimes.com via FreeBSD Opera browser or WIN PC
> that is using the FreeBSD as the gateway, but I can telnet to it on tcp port
> 80 just fine..
>
> [...@yeaguy ~]$ telnet nytimes.com 80
> Trying 199.239.136.200...
> Connected to nytimes.com.
> Escape character is '^]'.
> get
> Bad request
> Bad request
> Your browser sent a query this server could not understand.
> Connection closed by foreign host.
> [...@yeaguy ~]$
>
>
> Heres some config files:
>
>
> [...@yeaguy ~]$ cat /etc/rc.conf
> wlans_rum0="wlan0"
> gateway_enable="YES"
> ifconfig_wlan0="inet 192.168.1.169 netmask 255.255.255.0 ssid vicnet wepmode
> on weptxkey 1 wepkey 1:0xF4AE43E9BA description WIFI"
> defaultrouter="192.168.1.1"
> apache22_enable="YES"
> hald_enable="YES"
> dbus_enable="YES"
> samba_enable="YES"
> nmbd_enable="YES"
> smbd_enable="YES"
> winbindd_enable="YES"
> hostname="yeaguy.com"
> ifconfig_em0="inet 10.1.1.1 netmask 255.255.255.0 broadcast 10.1.1.255
> description LAN"
> inetd_enable="YES"
> linux_enable="YES"
> sshd_enable="YES"
> usbd_enable="YES"
> postfix_enable="YES"
> sendmail_enable="NO"
> sendmail_submit_enable="NO"
> sendmail_outbound_enable="NO"
> sendmail_msp_queue_enable="NO"
> firewall_enable="YES"
> firewall_script="/etc/fire"
> ipnat_enable="YES"
> ipnat_program="/sbin/ipnat"
> ipnat_rules="/etc/ipnat.rules"
> ipnat_flags=""
> #ipmon_enable="YES"
> #ipmon_program="/sbin/ipmon"
> #ipmon_flags="-Ds"
> named_enable="YES"
> ntpdate_enable="YES"
> ntpdate_program="ntpdate"
> ntpdate_flags="-b 0.north-america.pool.ntp.org"
> mysql_enable="YES"
> clamav_clamd_enable="YES"
> clamav_freshclam_enable="YES"
> amavisd_enable="YES"
> #amavisd_ram="512m"
> pf_enable="YES"
> pf_rules="/etc/pf.conf"
> pflog_enable="YES"
> saver="daemon"
>
>
>
> [...@yeaguy ~]$ ifconfig
> em0: flags=8843 metric 0 mtu 1500
>        description: LAN
> options=219b
>        ether 00:16:76:bf:17:29
>        inet 10.1.1.1 netmask 0xff00 broadcast 10.1.1.255
>        media: Ethernet autoselect (100baseTX )
>        status: active
> ipfw0: flags=8801 metric 0 mtu 65536
> pflog0: flags=141 metric 0 mtu 33200
> lo0: flags=8049 

Re: pls help..

2010-12-14 Thread Da Rock

On 12/14/10 19:54, Justin V. wrote:

Hi,

I am having a very difficult time understanding what is going on with 
this FreeBSD machine..


I was having inet trouble so i put in a new router on my network (home 
network)..


I have a FreeBSD machine on my network:

FreeBSD yeaguy.com 8.1-RELEASE FreeBSD 8.1-RELEASE #3: Thu Nov  4 
20:43:41 PDT 2010 v...@yeaguy.com:/usr/obj/usr/src/sys/HBCA  i386



I have windows machines on my network..


One of my windows machines is my laptop and I connect directly to the 
router via WIFI without any trouble at all...  I can browse any 
website without complaint.


My FreeBSD system connects to my WIFI router just fine as well..  I am 
seeing troubles browsing the inet with my FreeBSD machine (Xorg and 
opera) Pulling up Google.com can take up to 30s..


My Other windows machine is using the FreeBSD as its gateway, I am 
running ipnat. This pc suffers from the same issues as the FreeBSD box..


I configured the new router with the same ssid and wepkey.. so minimal 
adjustments would have to be made for other WIFI users in the house.. 
Everyone is fine except me...


My server is fine as far as my Website is concerned.. I changed my DNS 
with my host to point to my new WAN IP.. I can pull my page fine.. I 
can ssh to my server fine from my phone, phones ip is from my Phones 
netowrk.. this is not being done via WIFI on my phone..


So my Nat'd WIN PC and my FreeBSD Xorg cannot browse the internet like 
it used to.. 30s to 40s to pull up google is just unacceptable, when I 
have my laptop sitting here using the same WIFI router pulling it up 
in about 3ms...


Another odd symptom I am seeing is that when i issue the command 
'alpine' to check my email, it hangs for a good 30s  So in my 
mind, Im thinking, what changed?? My router and my Public IP.. thats 
it.. its almost like I have my OLD WAN ip hardcoded somewhere causing 
a conflict.. I cannot find it hardcoded anywhere..


Heres an example of what im seeing:

[...@yeaguy ~]$ ping google.com
PING google.com (72.14.204.147): 56 data bytes
64 bytes from 72.14.204.147: icmp_seq=0 ttl=52 time=85.460 ms
64 bytes from 72.14.204.147: icmp_seq=1 ttl=52 time=85.152 ms
64 bytes from 72.14.204.147: icmp_seq=2 ttl=52 time=84.048 ms
64 bytes from 72.14.204.147: icmp_seq=3 ttl=52 time=82.442 ms
^C
--- google.com ping statistics ---
4 packets transmitted, 4 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 82.442/84.275/85.460/1.182 ms


[...@yeaguy ~]$ telnet google.com 80
Trying 72.14.204.147...
Connected to google.com. 
Escape character is '^]'.
^]
telnet> q
Connection closed.
[...@yeaguy ~]$


I am unable to browse to nytimes.com via FreeBSD Opera browser or WIN 
PC that is using the FreeBSD as the gateway, but I can telnet to it on 
tcp port 80 just fine..


[...@yeaguy ~]$ telnet nytimes.com 80
Trying 199.239.136.200...
Connected to nytimes.com.
Escape character is '^]'.
get
Bad request
Bad request
Your browser sent a query this server could not understand.
Connection closed by foreign host.
[...@yeaguy ~]$


Heres some config files:


[...@yeaguy ~]$ cat /etc/rc.conf
wlans_rum0="wlan0"
gateway_enable="YES"
ifconfig_wlan0="inet 192.168.1.169 netmask 255.255.255.0 ssid vicnet 
wepmode on weptxkey 1 wepkey 1:0xF4AE43E9BA description WIFI"

defaultrouter="192.168.1.1"
apache22_enable="YES"
hald_enable="YES"
dbus_enable="YES"
samba_enable="YES"
nmbd_enable="YES"
smbd_enable="YES"
winbindd_enable="YES"
hostname="yeaguy.com"
ifconfig_em0="inet 10.1.1.1 netmask 255.255.255.0 broadcast 10.1.1.255 
description LAN"

inetd_enable="YES"
linux_enable="YES"
sshd_enable="YES"
usbd_enable="YES"
postfix_enable="YES"
sendmail_enable="NO"
sendmail_submit_enable="NO"
sendmail_outbound_enable="NO"
sendmail_msp_queue_enable="NO"
firewall_enable="YES"
firewall_script="/etc/fire"
ipnat_enable="YES"
ipnat_program="/sbin/ipnat"
ipnat_rules="/etc/ipnat.rules"
ipnat_flags=""
#ipmon_enable="YES"
#ipmon_program="/sbin/ipmon"
#ipmon_flags="-Ds"
named_enable="YES"
ntpdate_enable="YES"
ntpdate_program="ntpdate"
ntpdate_flags="-b 0.north-america.pool.ntp.org"
mysql_enable="YES"
clamav_clamd_enable="YES"
clamav_freshclam_enable="YES"
amavisd_enable="YES"
#amavisd_ram="512m"
pf_enable="YES"
pf_rules="/etc/pf.conf"
pflog_enable="YES"
saver="daemon"



[...@yeaguy ~]$ ifconfig
em0: flags=8843 metric 0 mtu 1500
description: LAN 
options=219b 


ether 00:16:76:bf:17:29
inet 10.1.1.1 netmask 0xff00 broadcast 10.1.1.255
media: Ethernet autoselect (100baseTX )
status: active
ipfw0: flags=8801 metric 0 mtu 65536
pflog0: flags=141 metric 0 mtu 33200
lo0: flags=8049 metric 0 mtu 16384
options=3
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
inet6 ::1 prefixlen 128
inet 127.0.0.1 netmask 0xff00
nd6 options=3
pfsync0: flags=0<> metric 0 mtu 1460
syncpeer: 224.0.0.240 maxupd: 128
rum0: flags=8843 metric 0 mtu 
2290

ether 00:1e:e5:a8:bd:5a
media

ACPI error message

2010-12-14 Thread Davide Petilli
During the boot I can see these error mesages related to acpi.
I've built my kernel but the error messages come up on the default kernel too. 
Does anyone know what is it and how to solve this?
I tried to figure it out by myself without succes.

These are the relevant parts of my dmesg:
-
acpi0:  on motherboard
acpi0: [ITHREAD]
acpi0: Power Button (fixed)
unknown: I/O range not supported
ACPI Error: No handler for Region [RAM_] (0xc2cff5c0) [EmbeddedControl] 
(20100331/evregion-487)
ACPI Error: Region EmbeddedControl(0x3) has no handler (20100331/exfldio-383)
ACPI Error (psparse-0633): Method parse/execution failed [\\_SB_.BAT0._STA] 
(Node 0xc2cdd5c0), AE_NOT_EXIST
ACPI Error (uteval-0318): Method execution failed [\\_SB_.BAT0._STA] (Node 
0xc2cdd5c0), AE_NOT_EXIST
ACPI Error: No handler for Region [RAM_] (0xc2cff5c0) [EmbeddedControl] 
(20100331/evregion-487)
ACPI Error: Region EmbeddedControl(0x3) has no handler (20100331/exfldio-383)
ACPI Error (psparse-0633): Method parse/execution failed [\\_SB_.BAT0._STA] 
(Node 0xc2cdd5c0), AE_NOT_EXIST
ACPI Error (uteval-0318): Method execution failed [\\_SB_.BAT0._STA] (Node 
0xc2cdd5c0), AE_NOT_EXIST
-

My platform:

FreeBSD Dragon 8.1-RELEASE FreeBSD 8.1-RELEASE #3: Sun Dec 12 01:10:45 CET 2010 
r...@dragon:/usr/obj/usr/src/sys/DRAGON  i386

Regards.

-- 
Davide Petili - "k3rn31"
Potenza, Italy
FreeBSD, Mac OSX, GNU/Debian, GNU/Hurd.
Geek since birth.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: pls help..

2010-12-14 Thread Robert Bonomi
> From owner-freebsd-questi...@freebsd.org  Tue Dec 14 05:45:55 2010
> Date: Tue, 14 Dec 2010 01:54:26 -0800 (PST)
> From: "Justin V." 
> To: freebsd-questions@freebsd.org
> Subject: pls help..
>
> Hi,
>
> I am having a very difficult time understanding what is going on with this 
> FreeBSD machine..
>
> I was having inet trouble so i put in a new router on my network (home 
> network)..
>
> I have a FreeBSD machine on my network:
>
> FreeBSD yeaguy.com 8.1-RELEASE FreeBSD 8.1-RELEASE #3: Thu Nov  4 20:43:41 
> PDT 2010 v...@yeaguy.com:/usr/obj/usr/src/sys/HBCA  i386
>
>
> I have windows machines on my network..
>
>
> One of my windows machines is my laptop and I connect directly to the 
> router via WIFI without any trouble at all...  I can browse any website 
> without complaint.
>
> My FreeBSD system connects to my WIFI router just fine as well..  I am 
> seeing troubles browsing the inet with my FreeBSD machine (Xorg and 
> opera) Pulling up Google.com can take up to 30s..

Without reading any further, this simply =reeks= of being a DNS problem.
(99.98792+% of all "30+ seconds to something over the net" problems
are timeout issue. :)

I suspect:
   a) the new router is not using the same 'local network' adddress as the
  old one was,  This is not a total show stopper, because everyting 
  'local' is using DHCP to get both the local machine address _and_ 
  the router address. 
   b) you have a DNS server address hard-coded in the /etc/resolv.conf file.
  (the old router and new router are providing DNS proxy services on
   *different* addresses, and wyat you have hard-coded is the -old-
   address)
   c) your FBSD machine is trying to query the hard-coded DNS server 
  address _first_, and when it gets no response, it *eventually*
  (ie. after 30 seconds) tries the 'second' DNS server address it has,
  which is the one learned by DHCP -- that works, the name resolves,
  and the page loads.

On a WORKING windows box click "Start->Run", and type 'ipconfig/all' in the
box, to see what it is using for a DNS server.

Check '/etc/resolv.conf' on your FreeBSD box, and see if it lists a 
*different* address on a 'namemserver' line.


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


Re: pls help..

2010-12-14 Thread Justin V.



On Tue, 14 Dec 2010, Mubeesh ali wrote:


try traceroute  to check how packets are going out. do u have any
proxy hardcoded in browser in bsd ?

On Tue, Dec 14, 2010 at 3:24 PM, Justin V.  wrote:

Hi,

I am having a very difficult time understanding what is going on with this
FreeBSD machine..

I was having inet trouble so i put in a new router on my network (home
network)..

I have a FreeBSD machine on my network:

FreeBSD yeaguy.com 8.1-RELEASE FreeBSD 8.1-RELEASE #3: Thu Nov  4 20:43:41
PDT 2010     v...@yeaguy.com:/usr/obj/usr/src/sys/HBCA  i386


I have windows machines on my network..


One of my windows machines is my laptop and I connect directly to the router
via WIFI without any trouble at all...  I can browse any website without
complaint.

My FreeBSD system connects to my WIFI router just fine as well..  I am
seeing troubles browsing the inet with my FreeBSD machine (Xorg and opera)
Pulling up Google.com can take up to 30s..

My Other windows machine is using the FreeBSD as its gateway, I am running
ipnat. This pc suffers from the same issues as the FreeBSD box..

I configured the new router with the same ssid and wepkey.. so minimal
adjustments would have to be made for other WIFI users in the house..
Everyone is fine except me...

My server is fine as far as my Website is concerned.. I changed my DNS with
my host to point to my new WAN IP.. I can pull my page fine.. I can ssh to
my server fine from my phone, phones ip is from my Phones netowrk.. this is
not being done via WIFI on my phone..

So my Nat'd WIN PC and my FreeBSD Xorg cannot browse the internet like it
used to.. 30s to 40s to pull up google is just unacceptable, when I have my
laptop sitting here using the same WIFI router pulling it up in about 3ms...

Another odd symptom I am seeing is that when i issue the command 'alpine' to
check my email, it hangs for a good 30s  So in my mind, Im thinking,
what changed?? My router and my Public IP.. thats it.. its almost like I
have my OLD WAN ip hardcoded somewhere causing a conflict.. I cannot find it
hardcoded anywhere..

Heres an example of what im seeing:

[...@yeaguy ~]$ ping google.com
PING google.com (72.14.204.147): 56 data bytes
64 bytes from 72.14.204.147: icmp_seq=0 ttl=52 time=85.460 ms
64 bytes from 72.14.204.147: icmp_seq=1 ttl=52 time=85.152 ms
64 bytes from 72.14.204.147: icmp_seq=2 ttl=52 time=84.048 ms
64 bytes from 72.14.204.147: icmp_seq=3 ttl=52 time=82.442 ms
^C
--- google.com ping statistics ---
4 packets transmitted, 4 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 82.442/84.275/85.460/1.182 ms


[...@yeaguy ~]$ telnet google.com 80
Trying 72.14.204.147...
Connected to google.com.  
Escape character is '^]'.
^]
telnet> q
Connection closed.
[...@yeaguy ~]$


I am unable to browse to nytimes.com via FreeBSD Opera browser or WIN PC
that is using the FreeBSD as the gateway, but I can telnet to it on tcp port
80 just fine..

[...@yeaguy ~]$ telnet nytimes.com 80
Trying 199.239.136.200...
Connected to nytimes.com.
Escape character is '^]'.
get
Bad request
Bad request
Your browser sent a query this server could not understand.
Connection closed by foreign host.
[...@yeaguy ~]$


Heres some config files:


[...@yeaguy ~]$ cat /etc/rc.conf
wlans_rum0="wlan0"
gateway_enable="YES"
ifconfig_wlan0="inet 192.168.1.169 netmask 255.255.255.0 ssid vicnet wepmode
on weptxkey 1 wepkey 1:0xF4AE43E9BA description WIFI"
defaultrouter="192.168.1.1"
apache22_enable="YES"
hald_enable="YES"
dbus_enable="YES"
samba_enable="YES"
nmbd_enable="YES"
smbd_enable="YES"
winbindd_enable="YES"
hostname="yeaguy.com"
ifconfig_em0="inet 10.1.1.1 netmask 255.255.255.0 broadcast 10.1.1.255
description LAN"
inetd_enable="YES"
linux_enable="YES"
sshd_enable="YES"
usbd_enable="YES"
postfix_enable="YES"
sendmail_enable="NO"
sendmail_submit_enable="NO"
sendmail_outbound_enable="NO"
sendmail_msp_queue_enable="NO"
firewall_enable="YES"
firewall_script="/etc/fire"
ipnat_enable="YES"
ipnat_program="/sbin/ipnat"
ipnat_rules="/etc/ipnat.rules"
ipnat_flags=""
#ipmon_enable="YES"
#ipmon_program="/sbin/ipmon"
#ipmon_flags="-Ds"
named_enable="YES"
ntpdate_enable="YES"
ntpdate_program="ntpdate"
ntpdate_flags="-b 0.north-america.pool.ntp.org"
mysql_enable="YES"
clamav_clamd_enable="YES"
clamav_freshclam_enable="YES"
amavisd_enable="YES"
#amavisd_ram="512m"
pf_enable="YES"
pf_rules="/etc/pf.conf"
pflog_enable="YES"
saver="daemon"



[...@yeaguy ~]$ ifconfig
em0: flags=8843 metric 0 mtu 1500
       description: LAN
options=219b
       ether 00:16:76:bf:17:29
       inet 10.1.1.1 netmask 0xff00 broadcast 10.1.1.255
       media: Ethernet autoselect (100baseTX )
       status: active
ipfw0: flags=8801 metric 0 mtu 65536
pflog0: flags=141 metric 0 mtu 33200
lo0: flags=8049 metric 0 mtu 16384
       options=3
       inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
       inet6 ::1 prefixlen 128
       inet 127.0.0.1 netmask 0xff00
       nd6 options=3
pfsync0: flags=0<> metric 0 mtu 1460
       syncp

8.1-STABLE Unexpected XML: what does it mean?

2010-12-14 Thread Eugene Mitrofanov
Hi

I observe the very strange message while run a lot of commands:

r...@beaver:eugene# glabel status
Unexpected XML: name=stripesize data="18432"
Unexpected XML: name=stripeoffset data="0"
Unexpected XML: name=stripesize data="18432"
Unexpected XML: name=stripeoffset data="0"
 Name  Status  Components
iso9660/CDROM N/A  acd0

r...@beaver:eugene# mdconfig -l
Unexpected XML: name=stripesize data="18432"
Unexpected XML: name=stripeoffset data="0"

r...@beaver:eugene# gmirror status
Unexpected XML: name=stripesize data="18432"
Unexpected XML: name=stripeoffset data="0"
gmirror: Command 'status' not available.

What subsystem prints them? How can I fix it?

Good luck
-- 
EMIT-RIPN, EVM7-RIPE
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: pls help..

2010-12-14 Thread Justin V.



On Tue, 14 Dec 2010, Robert Bonomi wrote:


From owner-freebsd-questi...@freebsd.org  Tue Dec 14 05:45:55 2010
Date: Tue, 14 Dec 2010 01:54:26 -0800 (PST)
From: "Justin V." 
To: freebsd-questions@freebsd.org
Subject: pls help..

Hi,

I am having a very difficult time understanding what is going on with this
FreeBSD machine..

I was having inet trouble so i put in a new router on my network (home
network)..

I have a FreeBSD machine on my network:

FreeBSD yeaguy.com 8.1-RELEASE FreeBSD 8.1-RELEASE #3: Thu Nov  4 20:43:41
PDT 2010 v...@yeaguy.com:/usr/obj/usr/src/sys/HBCA  i386


I have windows machines on my network..


One of my windows machines is my laptop and I connect directly to the
router via WIFI without any trouble at all...  I can browse any website
without complaint.

My FreeBSD system connects to my WIFI router just fine as well..  I am
seeing troubles browsing the inet with my FreeBSD machine (Xorg and
opera) Pulling up Google.com can take up to 30s..


Without reading any further, this simply =reeks= of being a DNS problem.
(99.98792+% of all "30+ seconds to something over the net" problems
are timeout issue. :)

I suspect:
  a) the new router is not using the same 'local network' adddress as the
 old one was,  This is not a total show stopper, because everyting
 'local' is using DHCP to get both the local machine address _and_
 the router address.
  b) you have a DNS server address hard-coded in the /etc/resolv.conf file.
 (the old router and new router are providing DNS proxy services on
  *different* addresses, and wyat you have hard-coded is the -old-
  address)
  c) your FBSD machine is trying to query the hard-coded DNS server
 address _first_, and when it gets no response, it *eventually*
 (ie. after 30 seconds) tries the 'second' DNS server address it has,
 which is the one learned by DHCP -- that works, the name resolves,
 and the page loads.

On a WORKING windows box click "Start->Run", and type 'ipconfig/all' in the
box, to see what it is using for a DNS server.

Check '/etc/resolv.conf' on your FreeBSD box, and see if it lists a
*different* address on a 'namemserver' line.






Heres what my resolv.conf is, ive changed it to use the router and itself, 
no change in status:



[...@yeaguy ~]$ cat /etc/resolv.conf
#domain yeaguy.com
#nameserver 10.1.1.1
nameserver 192.168.1.1
[...@yeaguy ~]$

Im currently set to use the router..

The WIN pc is using:

209.18.47.61 and 209.18.47.62.. hmm.. i will try those..

Still hangs and times out.. but able to resolve and ping google.com just 
fine g...




yeaguy# nslookup  nytimes.com
Server: 209.18.47.61
Address:209.18.47.61#53

Non-authoritative answer:
Name:   nytimes.com
Address: 199.239.136.200

yeaguy# ipnat -l
List of active MAP/Redirect filters:
map wlan0 10.1.1.0/24 -> 192.168.1.169/32 portmap tcp/udp 1:6
map wlan0 10.1.1.0/24 -> 192.168.1.169/32

List of active sessions:
MAP 10.1.1.190  53401 <- -> 192.168.1.169   45879 [72.14.204.147 80]
MAP 10.1.1.190  53398 <- -> 192.168.1.169   18541 [72.14.204.147 80]
MAP 10.1.1.190  53397 <- -> 192.168.1.169   27460 [72.14.204.147 80]

yeaguy# cat /etc/resolv.conf
#domain yeaguy.com
#nameserver 10.1.1.1
#nameserver 192.168.1.1
nameserver 209.18.47.61
nameserver 209.18.47.62
yeaguy#


yeaguy# telnet nytimes.com 80
Trying 199.239.136.200...
Connected to nytimes.com.
Escape character is '^]'.


I got google to come up after refreshing the page, nytimes still does not 
come up no matter what, can telnet it just fine on port 80 tho...


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


Creating clone of a HDD including boot partition

2010-12-14 Thread nagios
Hello, 

I have setup a tailored made configuration (1 UFS partition + 1 swap + boot 
sectors) for some hardware that I am reselling and would like to clone one 
existing HDD (tailor made) and be able to dump to another new HDD.
 
System is running pfSense with FreeBSD 7.2 and soon 8.x 

What would be your suggested method to achieve this goal. 


Thx. 

––
-> Grégory Bernard Director <-
---> www.osnet.eu <---
--> Your provider of OpenSource appliances <--
––
OSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetO

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


Re: libphp5.so

2010-12-14 Thread Ivan Frosty
freebsd 8.0 release
php5-5.2.11
apache2.2.13
mysql-server5.0.86
mysql-client5.0.86

those are the packages i installed.

On 12/9/10, Chris Brennan  wrote:
> On Thu, Dec 9, 2010 at 11:51 AM, Ivan Frosty  wrote:
>
>> yeah well ports cant download. i dont have internet, usually i
>> download packages from a cyber then just do pkg_add when i get home.
>> so really make doesnt work for me. however i installed php5,mysql and
>> apache from a cd. but making php work,requires libphp5.so which my
>> system doesnt have i386 pII.
>> thanks for your time.
>>
>>
> libphp5.so is built w/ any standard install of php. Lets try this:
>
> What version of FreeBSD?
> What version of PHP?
> What version of Apache?
> What version of MySQL?
> Is this in a VM or not?
>
> P.S. off-life replies and an on-list followup.
>


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


Re: 8.1-STABLE Unexpected XML: what does it mean?

2010-12-14 Thread Eugene Mitrofanov

How can I locate this device? Also I dont understand why mdconfig complains?


On Tuesday 14 December 2010, Ivan Voras wrote:
> On 14/12/2010 15:27, Eugene Mitrofanov wrote:
> > Hi
> >
> > I observe the very strange message while run a lot of commands:
> >
> > r...@beaver:eugene# glabel status
> > Unexpected XML: name=stripesize data="18432"
> > Unexpected XML: name=stripeoffset data="0"
> 
> Maybe you have a label or some other "custom" device name with non-ascii 
> characters or with characters which break xml parsing?
> 
> ___
> freebsd-sta...@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
> 
> 



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


Re: pls help..

2010-12-14 Thread Justin V.



On Tue, 14 Dec 2010, Justin V. wrote:




On Tue, 14 Dec 2010, Robert Bonomi wrote:


From owner-freebsd-questi...@freebsd.org  Tue Dec 14 05:45:55 2010
Date: Tue, 14 Dec 2010 01:54:26 -0800 (PST)
From: "Justin V." 
To: freebsd-questions@freebsd.org
Subject: pls help..

Hi,

I am having a very difficult time understanding what is going on with this
FreeBSD machine..

I was having inet trouble so i put in a new router on my network (home
network)..

I have a FreeBSD machine on my network:

FreeBSD yeaguy.com 8.1-RELEASE FreeBSD 8.1-RELEASE #3: Thu Nov  4 20:43:41
PDT 2010 v...@yeaguy.com:/usr/obj/usr/src/sys/HBCA  i386


I have windows machines on my network..


One of my windows machines is my laptop and I connect directly to the
router via WIFI without any trouble at all...  I can browse any website
without complaint.

My FreeBSD system connects to my WIFI router just fine as well..  I am
seeing troubles browsing the inet with my FreeBSD machine (Xorg and
opera) Pulling up Google.com can take up to 30s..


Without reading any further, this simply =reeks= of being a DNS problem.
(99.98792+% of all "30+ seconds to something over the net" problems
are timeout issue. :)

I suspect:
  a) the new router is not using the same 'local network' adddress as the
 old one was,  This is not a total show stopper, because everyting
 'local' is using DHCP to get both the local machine address _and_
 the router address.
  b) you have a DNS server address hard-coded in the /etc/resolv.conf file.
 (the old router and new router are providing DNS proxy services on
  *different* addresses, and wyat you have hard-coded is the -old-
  address)
  c) your FBSD machine is trying to query the hard-coded DNS server
 address _first_, and when it gets no response, it *eventually*
 (ie. after 30 seconds) tries the 'second' DNS server address it has,
 which is the one learned by DHCP -- that works, the name resolves,
 and the page loads.

On a WORKING windows box click "Start->Run", and type 'ipconfig/all' in the
box, to see what it is using for a DNS server.

Check '/etc/resolv.conf' on your FreeBSD box, and see if it lists a
*different* address on a 'namemserver' line.

  >> 





Heres what my resolv.conf is, ive changed it to use the router and itself, no 
change in status:



[...@yeaguy ~]$ cat /etc/resolv.conf
#domain yeaguy.com
#nameserver 10.1.1.1
nameserver 192.168.1.1
[...@yeaguy ~]$

Im currently set to use the router..

The WIN pc is using:

209.18.47.61 and 209.18.47.62.. hmm.. i will try those..

Still hangs and times out.. but able to resolve and ping google.com just 
fine g...




yeaguy# nslookup  nytimes.com
Server: 209.18.47.61
Address:209.18.47.61#53

Non-authoritative answer:
Name:   nytimes.com
Address: 199.239.136.200

yeaguy# ipnat -l
List of active MAP/Redirect filters:
map wlan0 10.1.1.0/24 -> 192.168.1.169/32 portmap tcp/udp 1:6
map wlan0 10.1.1.0/24 -> 192.168.1.169/32

List of active sessions:
MAP 10.1.1.190  53401 <- -> 192.168.1.169   45879 [72.14.204.147 80]
MAP 10.1.1.190  53398 <- -> 192.168.1.169   18541 [72.14.204.147 80]
MAP 10.1.1.190  53397 <- -> 192.168.1.169   27460 [72.14.204.147 80]

yeaguy# cat /etc/resolv.conf
#domain yeaguy.com
#nameserver 10.1.1.1
#nameserver 192.168.1.1
nameserver 209.18.47.61
nameserver 209.18.47.62
yeaguy#


yeaguy# telnet nytimes.com 80
Trying 199.239.136.200...
Connected to nytimes.com.
Escape character is '^]'.


I got google to come up after refreshing the page, nytimes still does not 
come up no matter what, can telnet it just fine on port 80 tho...


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






I think we are resolved...

I statically set my NAT'd WIN PC to what the Laptop was picking up and 
problem solved..


I edited named.conf and set my forwarders to what my laptop was picking up 
and problem solved.. my named.conf have the forwarder set to:



192.168.1.1, apparently the new router and an old dns server from my last 
job.. which normally worked fine..


i suspect that the old router was able to handle dns, while this one 
cannot...



Thanks so much..


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


Re: 8.1-STABLE Unexpected XML: what does it mean?

2010-12-14 Thread Eugene Mitrofanov
On Tuesday 14 December 2010, Ivan Voras wrote:
> On 14/12/2010 16:19, Eugene Mitrofanov wrote:
> >
> > How can I locate this device? Also I dont understand why mdconfig 
complains?
> 
> Try examining the output of
> 
> # sysctl -b kern.geom.confxml

Here they are:


  
FD

  
  fd0
  1

  
  r0w0e0
  fd0
  1474560
  512
  18432
  0


  
  
ACD

  
  acd0
  1

  
  r0w0e0
  acd0t01
  550307840
  2048


  
  r0w0e0
  acd0
  550307840
  2048


  
  
LABEL

  
  acd0
  2
  
  

  
  
  r0w0e0
  
  


  
  r0w0e0
  iso9660/CDROM
  550307840
  2048
  
0
550307840
1074820
0
0
  


  
  
VFS

  
  ffs.ipsd0s1g
  4

  
  
  r1w1e1



  
  ffs.ipsd0s1f
  4

  
  
  r1w1e1



  
  ffs.da0s1d
  4

  
  
  r1w1e1



  
  ffs.da1s1d
  4

  
  
  r1w1e1



  
  ffs.da1s1e
  4

  
  
  r1w1e1



  
  ffs.ipsd0s1e
  4

  
  
  r1w1e1



  
  ffs.ipsd0s1d
  4

  
  
  r1w1e1



  
  ffs.ipsd0s1a
  4

  
  
  r1w1e1


  
  
PART

  
  da1s1
  3
  
BSD
8
0
1560072086
63
255
OK
  

  
  
  r2w2e4
  
  


  
  r1w1e1
  da1s1e
  584008535552
  512
  
419430416
1560072086
5
freebsd-ufs
214748372992
584008535552
7
  


  
  r1w1e1
  da1s1d
  214748364800
  512
  
16
419430415
4
freebsd-ufs
8192
214748364800
7
  



  
  da0s1
  3
  
BSD
8
0
4294945556
63
255
OK
  

  
  
  r1w1e2
  
  


  
  r1w1e1
  da0s1d
  2199012125184
  512
  
0
4294945556
4
freebsd-ufs
0
2199012125184
7
  



  
  ipsd0s1
  3
  
BSD
8
0
286744543
32
128
OK
  

  
  
  r6w6e11
  
  


  
  r1w1e1
  ipsd0s1g
  56618885120
  512
  
176160784
286744543
7
freebsd-ufs
90194321408
56618885120
7
  


  
  r1w1e1
  ipsd0s1f
  17179869184
  512
  
142606352
176160783
6
freebsd-ufs
73014452224
17179869184
7
  


  
  r1w1e1
  ipsd0s1e
  51539607552
  512
  
41943056
142606351
5
freebsd-ufs
21474844672
51539607552
7
  


  
  r1w1e1
  ipsd0s1d
  8589934592
  512
  
25165840
41943055
4
freebsd-ufs
12884910080
8589934592
7
  


  
  r1w1e0
  ipsd0s1b
  8589934592
  512
  
8388624
25165839
2
!0
4294975488
8589934592
0
  


  
  r1w1e1
  ipsd0s1a
  4294967296
  512
  
16
8388623
1
freebsd-ufs
8192
4294967296
7
  



  
  da1
  2
  
MBR
4
63
1560084434
63
255
OK
  

  

Re: pls help..

2010-12-14 Thread Justin V.



On Tue, 14 Dec 2010, Da Rock wrote:


On 12/14/10 19:54, Justin V. wrote:

Hi,

I am having a very difficult time understanding what is going on with this 
FreeBSD machine..


I was having inet trouble so i put in a new router on my network (home 
network)..


I have a FreeBSD machine on my network:

FreeBSD yeaguy.com 8.1-RELEASE FreeBSD 8.1-RELEASE #3: Thu Nov  4 20:43:41 
PDT 2010 v...@yeaguy.com:/usr/obj/usr/src/sys/HBCA  i386



I have windows machines on my network..


One of my windows machines is my laptop and I connect directly to the 
router via WIFI without any trouble at all...  I can browse any website 
without complaint.


My FreeBSD system connects to my WIFI router just fine as well..  I am 
seeing troubles browsing the inet with my FreeBSD machine (Xorg and opera) 
Pulling up Google.com can take up to 30s..


My Other windows machine is using the FreeBSD as its gateway, I am running 
ipnat. This pc suffers from the same issues as the FreeBSD box..


I configured the new router with the same ssid and wepkey.. so minimal 
adjustments would have to be made for other WIFI users in the house.. 
Everyone is fine except me...


My server is fine as far as my Website is concerned.. I changed my DNS with 
my host to point to my new WAN IP.. I can pull my page fine.. I can ssh to 
my server fine from my phone, phones ip is from my Phones netowrk.. this is 
not being done via WIFI on my phone..


So my Nat'd WIN PC and my FreeBSD Xorg cannot browse the internet like it 
used to.. 30s to 40s to pull up google is just unacceptable, when I have my 
laptop sitting here using the same WIFI router pulling it up in about 
3ms...


Another odd symptom I am seeing is that when i issue the command 'alpine' 
to check my email, it hangs for a good 30s  So in my mind, Im thinking, 
what changed?? My router and my Public IP.. thats it.. its almost like I 
have my OLD WAN ip hardcoded somewhere causing a conflict.. I cannot find 
it hardcoded anywhere..


Heres an example of what im seeing:

[...@yeaguy ~]$ ping google.com
PING google.com (72.14.204.147): 56 data bytes
64 bytes from 72.14.204.147: icmp_seq=0 ttl=52 time=85.460 ms
64 bytes from 72.14.204.147: icmp_seq=1 ttl=52 time=85.152 ms
64 bytes from 72.14.204.147: icmp_seq=2 ttl=52 time=84.048 ms
64 bytes from 72.14.204.147: icmp_seq=3 ttl=52 time=82.442 ms
^C
--- google.com ping statistics ---
4 packets transmitted, 4 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 82.442/84.275/85.460/1.182 ms


[...@yeaguy ~]$ telnet google.com 80
Trying 72.14.204.147...
Connected to google.com. 
Escape character is '^]'.
^]
telnet> q
Connection closed.
[...@yeaguy ~]$


I am unable to browse to nytimes.com via FreeBSD Opera browser or WIN PC 
that is using the FreeBSD as the gateway, but I can telnet to it on tcp 
port 80 just fine..


[...@yeaguy ~]$ telnet nytimes.com 80
Trying 199.239.136.200...
Connected to nytimes.com.
Escape character is '^]'.
get
Bad request
Bad request
Your browser sent a query this server could not understand.
Connection closed by foreign host.
[...@yeaguy ~]$


Heres some config files:


[...@yeaguy ~]$ cat /etc/rc.conf
wlans_rum0="wlan0"
gateway_enable="YES"
ifconfig_wlan0="inet 192.168.1.169 netmask 255.255.255.0 ssid vicnet 
wepmode on weptxkey 1 wepkey 1:0xF4AE43E9BA description WIFI"

defaultrouter="192.168.1.1"
apache22_enable="YES"
hald_enable="YES"
dbus_enable="YES"
samba_enable="YES"
nmbd_enable="YES"
smbd_enable="YES"
winbindd_enable="YES"
hostname="yeaguy.com"
ifconfig_em0="inet 10.1.1.1 netmask 255.255.255.0 broadcast 10.1.1.255 
description LAN"

inetd_enable="YES"
linux_enable="YES"
sshd_enable="YES"
usbd_enable="YES"
postfix_enable="YES"
sendmail_enable="NO"
sendmail_submit_enable="NO"
sendmail_outbound_enable="NO"
sendmail_msp_queue_enable="NO"
firewall_enable="YES"
firewall_script="/etc/fire"
ipnat_enable="YES"
ipnat_program="/sbin/ipnat"
ipnat_rules="/etc/ipnat.rules"
ipnat_flags=""
#ipmon_enable="YES"
#ipmon_program="/sbin/ipmon"
#ipmon_flags="-Ds"
named_enable="YES"
ntpdate_enable="YES"
ntpdate_program="ntpdate"
ntpdate_flags="-b 0.north-america.pool.ntp.org"
mysql_enable="YES"
clamav_clamd_enable="YES"
clamav_freshclam_enable="YES"
amavisd_enable="YES"
#amavisd_ram="512m"
pf_enable="YES"
pf_rules="/etc/pf.conf"
pflog_enable="YES"
saver="daemon"



[...@yeaguy ~]$ ifconfig
em0: flags=8843 metric 0 mtu 1500
description: LAN 
options=219b

ether 00:16:76:bf:17:29
inet 10.1.1.1 netmask 0xff00 broadcast 10.1.1.255
media: Ethernet autoselect (100baseTX )
status: active
ipfw0: flags=8801 metric 0 mtu 65536
pflog0: flags=141 metric 0 mtu 33200
lo0: flags=8049 metric 0 mtu 16384
options=3
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
inet6 ::1 prefixlen 128
inet 127.0.0.1 netmask 0xff00
nd6 options=3
pfsync0: flags=0<> metric 0 mtu 1460
syncpeer: 224.0.0.240 maxupd: 128
rum0: flags=8843 metric 0 mtu 2290
e

Re: 8.1-STABLE Unexpected XML: what does it mean?

2010-12-14 Thread Andriy Gapon
on 14/12/2010 16:27 Eugene Mitrofanov said the following:
> Hi
> 
> I observe the very strange message while run a lot of commands:
> 
> r...@beaver:eugene# glabel status
> Unexpected XML: name=stripesize data="18432"
> Unexpected XML: name=stripeoffset data="0"
> Unexpected XML: name=stripesize data="18432"
> Unexpected XML: name=stripeoffset data="0"
>  Name  Status  Components
> iso9660/CDROM N/A  acd0
> 
> r...@beaver:eugene# mdconfig -l
> Unexpected XML: name=stripesize data="18432"
> Unexpected XML: name=stripeoffset data="0"
> 
> r...@beaver:eugene# gmirror status
> Unexpected XML: name=stripesize data="18432"
> Unexpected XML: name=stripeoffset data="0"
> gmirror: Command 'status' not available.
> 
> What subsystem prints them? How can I fix it?

I'd hazard a guess that either your userland and kernel are out of sync or
something like that is taking place.
The messages come from libgeom and they mean it doesn't understand those 
"stripe*"
properties.

P.S.
geom@ is often the best mailing list for geom issues.

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


Re: Creating clone of a HDD including boot partition

2010-12-14 Thread Mike Jeays
Put it in a USB enclosure, and run

dd in=/dev/sourcedisk out=/dev/targetdisk bs=1M

Drink coffee until done.

On Tue, 14 Dec 2010 15:42:42 +0100
nagios  wrote:

> Hello, 
> 
> I have setup a tailored made configuration (1 UFS partition + 1 swap + boot 
> sectors) for some hardware that I am reselling and would like to clone one 
> existing HDD (tailor made) and be able to dump to another new HDD.
>  
> System is running pfSense with FreeBSD 7.2 and soon 8.x 
> 
> What would be your suggested method to achieve this goal. 
> 
> 
> Thx. 
> 
> ––
> -> Grégory Bernard Director <-
> ---> www.osnet.eu <---
> --> Your provider of OpenSource appliances <--
> ––
> OSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetO
> 
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Creating clone of a HDD including boot partition

2010-12-14 Thread Jorge Biquez

Hello.

A couple of months I had the same issue to 
solve... with HDD of my laptop one of you 
guys, thanks, recommend to use clonezilla or 
clonezilia, it is in sourgeforce projects if I am 
not wrong. Woked like a charm, 1 bot sector, 
diferent OS partitions took some hours but worked perfectly

I hope this helps

Jorge Biquez

At 11:10 a.m. 14/12/2010, you wrote:

Put it in a USB enclosure, and run

dd in=/dev/sourcedisk out=/dev/targetdisk bs=1M

Drink coffee until done.

On Tue, 14 Dec 2010 15:42:42 +0100
nagios  wrote:

> Hello,
>
> I have setup a tailored made configuration (1 
UFS partition + 1 swap + boot sectors) for some 
hardware that I am reselling and would like to 
clone one existing HDD (tailor made) and be able to dump to another new HDD.

>
> System is running pfSense with FreeBSD 7.2 and soon 8.x
>
> What would be your suggested method to achieve this goal.
>
>
> Thx.
>
> 
–––––––––––­­­â€€“–––––––––––––––

€“–
> -> Grégory Bernard Director <-
> ---> www.osnet.eu <---
> --> Your provider of OpenSource appliances <--
> 
–––––––––––­­­â€€“–––––––––––––––

€“–
> OSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetO
>
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to 
"freebsd-questions-unsubscr...@freebsd.org"

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


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


Re: Kind of off topic.

2010-12-14 Thread Jorge Biquez


At 03:08 a.m. 14/12/2010, Giorgos Keramidas wrote:
On Mon, 13 Dec 2010 17:21:06 -0600, Jorge Biquez 
 wrote:

> Hello all.
>
> A friend is asking me to help him to solve some problem he has in his
> servers. To some I would be able to connect using ssh, with other just
> it i snot possible. I remember that on the windows world there was a
> commercial software PCANywhere. He can have it but I am not sure if I
> would be able to connect to that from my Freebsd machine (of course
> not by ssh).
>
> What are you using for connecting to graphical interfaces of different
> OS's from FreeBSD?
>
> I tested some years ago a VNC software but did not work fine with MAC
> OSX (recently released by then).
>
> I know big security factors are involved for sure.
> Any suggestion on what to use, not to expensive or free?

If the remote hosts are running FreeBSD, you can do almost *everything*
through SSH.  For example most of my FreeBSD-related testing work
happens through SSH connections to virtual machines these days.

If you really need to run a GUI application though there are a few
options:

  - The most basic is to connect to the remote machine in *some* way,
set the DISPLAY environment variable to point to a local X server
that may accept incoming connections and fire up your GUI program.

  - You can SSH into the remote machine and use the -X or -Y options to
set up 'X forwarding' back to the machine where the SSH connection
has originated from.

  - You can use programs like the NX tools 
to set up a 'remotely accessible X desktop' on the target machine
and then use nxclient to connect to it from anywhere.

The fastest and simplest method is still a plain good old SSH connection
though.  It requires minimal setup (an sshd daemon on the remote side),
it is accessible from anywhere in the world, it's secure against random
eavesdroppers, it's fast to connect to, it's pretty light-weight on both
the client and server systems, and you can do _everything_ on the remote
host [even full system upgrades from source].



Hello.
Thanks all for your time
On Freebsd and Linux machines I have entered using SSH already 
and I amtrying to help (my linux knowledge is not so good). :=(


Thing is to access the GUI, same screen they have with errors, on 
their windows and Mac machines (XP and OSX mainly). I am trying to 
setup one of the VNC solutions around. Just reading befores about 
security involved in each one.


Take care all and have a great day.

Jorge Biquez

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


boot, rc script and logs

2010-12-14 Thread Samuel Martín Moro
Hi,

I'm adding some scripts to FreeBSD boot.
One of this script runs a binary that checks our postgres database, its
output being redirected to a dialog --gauge.
But I noticed that the dialog output, while correctly displayed on the
terminal, is also dumped into /var/log/console.log and /var/log/messages.

I'm not even sure about how this is happening... I can't find about messages
nor console.log in /etc/rc*
Is there a way to disable log output in a given rc.script?

here's my script:
#!/bin/sh
[...]
test "$1" = 'start' -o "$1" = 'faststart' || exit 0
Prg=`basename $_file`
exec 2>/var/log/$Prg.log
test "$TERM" || export TERM=cons25
DIALOG="/usr/local/bin/dialog --no-collapse --cr-wrap --colors"
echo "tty is `tty`" >&2 #debug, prints: tty is /dev/console
echo "= Checking DB 1/2 =" >&2
dbcheck -s | $DIALOG --gauge "\n  Checking DB 1/2" 7 70 2>/dev/null
echo "= Checking DB 2/2 =" >&2
dbcheck -r -s | $DIALOG --gauge "\n  Checking DB 2/2" 7 70
2>/dev/null
[...]

here is what it gives in /var/log/messages:
Dec 14 13:26:46 camtrace13 dhclient: New Subnet Mask (wlan0): 255.255.255.0
Dec 14 13:26:46 camtrace13 dhclient: New Broadcast Address (wlan0):
192.168.0.255
Dec 14 13:26:46 camtrace13 dhclient: New Routers (wlan0): 192.33.160.111
Dec 14 13:26:47 camtrace13 kernel: m  ^[[36m^[[44m^[[K^[[16;6H^[[1K
^[[30m^[[40m^[[70X^[[77`^[[36m^[[44m^[[K^[[13;9H^[[39;49m^[[m
Dec 14 13:26:48 camtrace13 kernel: m  ^[[36m^[[44m^[[K^[[16;6H^[[1K
^[[30m^[[40m^[[70X^[[77`^[[36m^[[44m^[[K^[[13;9H^[[39;49m^[[m
Dec 14 13:27:10 camtrace13 kernel: oss_hdaudio0: [ITHREAD]
Dec 14 13:27:10 camtrace13 kernel: oss_hdaudio: HDA codec 0x10de0007 not
known yet
Dec 14 13:27:10 camtrace13 kernel: oss_hdaudio: HDA codec 0x10de0007 not
known yet

and here is what I can read in /var/log/console.log:
Dec 14 13:26:43 camtrace13 kernel: Starting apache.
Dec 14 13:26:46 camtrace13 kernel: Starting pgsql.
Dec 14 13:26:47 camtrace13 kernel: ^[[m
Dec 14 13:26:47 camtrace13 kernel: ^[[39;49m^[[=1S
Dec 14 13:26:47 camtrace13 kernel:
^[[39;49m^[[m^[[H^[[J^[[17d^[[36m^[[44m^[[1m^[[J^[[H^[[K^[[B^[[K^[[B^[[K^[[B^[[K^[[B^[[K^[[B^[[K^[[B^[[K^[[B^[[K^[[B
^[[37m^[[47mÚ^[[m^[[30m^[[47m¿^[[m^[[36m^[[44m^[[1m^[[K^[[B
^[[37m^[[47m³^[[m^[[30m^[[47m^[[68X^[[74`³^[[m^[[30m^[[40m^[[1m
^[[36m^[[44m^[[K^[[B^[[37m^[[47m³^[[m^[[30m^[[47m   Checking DB
1/2^[[20X^[[74`³^[[m^[[30m^[[40m^[[1m  ^[[36m^[[44m^[[K^[[B
^[[37m^[[47m³^[[m^[[30m^[[47m
^[[37m^[[47m^[[1mÚÄÄ^[[m^[[30m^[[47m¿^[[m^[[30m^[[47m
³^[[m^[[30m^[[40m^[[1m  ^[[36m^[[44m^[[K^[[B
^[[37m^[[47m³^[[m^[[30m^[[47m
^[[37m^[[47m^[[1m³^[[m^[[34m^[[47m^[[1m^[[31X^[[13;40H0%^[[29X^[[13;71H^[[m^[[30m^[[47m³^[[m^[[30m^[[47m
³^[[m^[[30m^[[40m^[[1m  ^[[36m^[[44m^[[K^[[B
^[[37m^[[47m³^[[m^[[30m^[[47m
^[[37m^[[47m^[[1mÀ^[[m^[[30m^[[47mÄÄÙ^[[m^[[30m^[[47m
³^[[m^[[30m^[[40m^[[1m  ^[[36m^[[44m^[[K^[[B
^[[37m^[[47mÀ^[[m^[[30m^[[47mÙ^[[m^[[30m^[[40m^[
Dec 14 13:26:47 camtrace13 kernel: ^[[34m^[[47m^[[1m^[[7m
^[[13;40H^[[m^[[34m^[[47m^[[1m3^[[13;10H^[[39;49m^[[m
Dec 14 13:26:47 camtrace13 kernel: ^[[34m^[[47m^[[1m^[[7m
^[[13;39H^[[m^[[34m^[[47m^[[1m11^[[13;15H^[[39;49m^[[m
Dec 14 13:26:47 camtrace13 kernel: ^[[34m^[[47m^[[1m^[[7m
^[[13;40H^[[m^[[34m^[[47m^[[1m2^[[13;16H^[[39;49m^[[m
Dec 14 13:26:47 camtrace13 kernel: ^[[34m^[[47m^[[1m^[[7m
^[[13;40H^[[m^[[34m^[[47m^[[1m3^[[13;17H^[[39;49m^[[m
Dec 14 13:26:47 camtrace13 kernel:
^[[13;40H^[[34m^[[47m^[[1m4^[[13;17H^[[39;49m^[[m
Dec 14 13:26:47 camtrace13 kernel:
^[[34m^[[47m^[[1m^[[7m  81%
^[[39;49m^[[m
Dec 14 13:26:48 camtrace13 kernel:
^[[13;39H^[[34m^[[47m^[[1m^[[7m96^[[13;59H ^[[39;49m^[[m
Dec 14 13:26:48 camtrace13 kernel: ^[[13;40H^[[34m^[[47m^[[1m^[[7m7^[[13;68H
^[[39;49m^[[m
Dec 14 13:26:48 camtrace13 kernel:
^[[13;40H^[[34m^[[47m^[[1m^[[7m8^[[13;69H^[[39;49m^[[m
Dec 14 13:26:48 camtrace13 kernel:
^[[13;38H^[[34m^[[47m^[[1m^[[7m100^[[13;69H  ^[[39;49m^[[m
Dec 14 13:26:48 camtrace13 kernel: ^[[=S
Dec 14 13:26:48 camtrace13 kernel: ^[[16;77H
Dec 14 13:26:48 camtrace13 kernel: ^[[25;1H
Dec 14 13:26:48 camtrace13 kernel: ^[[m
Dec 14 13:26:48 camtrace13 kernel: ^[[39;49m^[[=1S
Dec 14 13:26:48 camtrace13 kernel:
^[[39;49m^[[m^[[H^[[J^[[17d^[[36m^[[44m^[[1m^[[J^[[H^[[K^[[B^[[K^[[B^[[K^[[B^[[K^[[B^[[K^[[B^[[K^[[B^[[K^[[B^[[K^[[B
^[[37m^[[47mÚ^[[m^[[30m^[[47m¿^[[m^[[36m^[[44m^[[1m^[[K^[[B
^[[37m^[[47m³^[[m^[[30m^[[47m^[[68X^[[74`³^[[m^[[30m^[[40m^[[1m
^[[36m^[[44m^[[K^[[B^[[37m^[[47m³^[[m^[[30m^[[47m   Checking DB
2/2^[[20X^[[74`³^[[m^[[30m^[[40m^[[1m  ^[[36m^[[44m^[[K^[[B
^[[37m^[[47m³^[[m^[[30m^[[47m
^[[37m^[[47m^[[1mÚÄÄÄ

RE: Kind of off topic.

2010-12-14 Thread Gary Gatten
It sounds like you're wanting a remote desktop to actually see the active users 
GUI session?  If it's simply to see the error messages, I would recommend some 
sort of centralized logging.  There are several tools that take Winblows events 
and turn them into syslog events.  If you "need" remote desktop access, perhaps 
WebEx would help - or as others pointed out an RDP client for *nix should work 
as well.

G


-Original Message-
From: owner-freebsd-questi...@freebsd.org 
[mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Jorge Biquez
Sent: Tuesday, December 14, 2010 11:58 AM
To: freebsd-questions@freebsd.org
Subject: Re: Kind of off topic.


At 03:08 a.m. 14/12/2010, Giorgos Keramidas wrote:
>On Mon, 13 Dec 2010 17:21:06 -0600, Jorge Biquez 
> wrote:
> > Hello all.
> >
> > A friend is asking me to help him to solve some problem he has in his
> > servers. To some I would be able to connect using ssh, with other just
> > it i snot possible. I remember that on the windows world there was a
> > commercial software PCANywhere. He can have it but I am not sure if I
> > would be able to connect to that from my Freebsd machine (of course
> > not by ssh).
> >
> > What are you using for connecting to graphical interfaces of different
> > OS's from FreeBSD?
> >
> > I tested some years ago a VNC software but did not work fine with MAC
> > OSX (recently released by then).
> >
> > I know big security factors are involved for sure.
> > Any suggestion on what to use, not to expensive or free?
>
>If the remote hosts are running FreeBSD, you can do almost *everything*
>through SSH.  For example most of my FreeBSD-related testing work
>happens through SSH connections to virtual machines these days.
>
>If you really need to run a GUI application though there are a few
>options:
>
>   - The most basic is to connect to the remote machine in *some* way,
> set the DISPLAY environment variable to point to a local X server
> that may accept incoming connections and fire up your GUI program.
>
>   - You can SSH into the remote machine and use the -X or -Y options to
> set up 'X forwarding' back to the machine where the SSH connection
> has originated from.
>
>   - You can use programs like the NX tools 
> to set up a 'remotely accessible X desktop' on the target machine
> and then use nxclient to connect to it from anywhere.
>
>The fastest and simplest method is still a plain good old SSH connection
>though.  It requires minimal setup (an sshd daemon on the remote side),
>it is accessible from anywhere in the world, it's secure against random
>eavesdroppers, it's fast to connect to, it's pretty light-weight on both
>the client and server systems, and you can do _everything_ on the remote
>host [even full system upgrades from source].


Hello.
Thanks all for your time
On Freebsd and Linux machines I have entered using SSH already 
and I amtrying to help (my linux knowledge is not so good). :=(

Thing is to access the GUI, same screen they have with errors, on 
their windows and Mac machines (XP and OSX mainly). I am trying to 
setup one of the VNC solutions around. Just reading befores about 
security involved in each one.

Take care all and have a great day.

Jorge Biquez

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








"This email is intended to be reviewed by only the intended recipient
 and may contain information that is privileged and/or confidential.
 If you are not the intended recipient, you are hereby notified that
 any review, use, dissemination, disclosure or copying of this email
 and its attachments, if any, is strictly prohibited.  If you have
 received this email in error, please immediately notify the sender by
 return email and delete this email from your system."


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


[Fwd: Re: /usr/ports/net/pptpclient]

2010-12-14 Thread Mike Sabroff

   Is this the right place to post this question?
    Original Message 

  Subject: Re: /usr/ports/net/pptpclient
 Date: Tue, 14 Dec 2010 09:41:39 -0800
 From: Nicklas Johnson [1]
   To: [2]msabr...@sbcglobal.net
   CC: [3]freebsd-j...@freebsd.org
   References: [4]<4d07a1cc.4080...@sbcglobal.net>

   This list is for discussion of the various Java ports on FreeBSD. � I
   don't think it is the correct place for your question about
   establishing a VPN connection.

   I suggest trying [5]freebsd-questi...@freebsd.org instead.

   � �  Nick
   On 14 December 2010 08:56, Mike Sabroff <[6]msabr...@sbcglobal.net>
   wrote:

 I hope this is the correct place to ask about this port.
 I am trying to get a VPN connection to the office and after
 googleing, it looked like this would be a good choice for FreeBSD.
 I am running 7.3-RELEASE FreeBSD. I had no problem building or
 installing, in fact it was fast and sweet!
 I followed some documentation I found on the setup and modifying
 the /etc/resolve.conf file and all went fine until I ran the script
 to invoke pptp and when it ran I got an error message stating
 basically that /usr/bin/ip was an unknown command.
 ip is a linux command but doesn't seem to be part of a default
 freebsd system.
 My question isWhat if any is the equivalent of ip on freebsd or
 which port would I install to get ip or it's equivalent?
 --
 Mike Sabroff
 [7]msabr...@sbcglobal.net
 608-877-0676 - Home
 608-516-1801 - Cell
 --
 Mike Sabroff
 [8]msabr...@sbcglobal.net
 608-877-0676 - Home
 608-516-1801 - Cell
 ___
 [9]freebsd-j...@freebsd.org mailing list
 [10]http://lists.freebsd.org/mailman/listinfo/freebsd-java
 To unsubscribe, send any mail to
 "[11]freebsd-java-unsubscr...@freebsd.org"

   --
   "Courage isn't just a matter of not being frightened, you know. It's
   being afraid and doing what you have to do anyway."
   � �  -- Doctor Who - Planet of the Daleks
   This message has been brought to you by Nick Johnson 2.3b1 and the
   number 6.
   
--
Mike Sabroff
[12]msabr...@sbcglobal.net
608-877-0676 - Home
608-516-1801 - Cell

References

   Visible links
   1. mailto:free...@spatula.net
   2. mailto:msabr...@sbcglobal.net
   3. mailto:freebsd-j...@freebsd.org
   4. mailto:4d07a1cc.4080...@sbcglobal.net
   5. mailto:freebsd-questions@freebsd.org
   6. mailto:msabr...@sbcglobal.net
   7. mailto:msabr...@sbcglobal.net
   8. mailto:msabr...@sbcglobal.net
   9. mailto:freebsd-j...@freebsd.org
  10. http://lists.freebsd.org/mailman/listinfo/freebsd-java
  11. mailto:freebsd-java-unsubscr...@freebsd.org
  12. mailto:msabr...@sbcglobal.net

   Hidden links:
  13. http://healerNick.com/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


RE: Kind of off topic.

2010-12-14 Thread Jorge Biquez
Exactly... some of the things I need to help them is an old 
application they are using developed in house for them... but that 
does not record teh errors logs... that's why I need to "be seeing" 
the actual user interface while they are working trying to reproduce 
the errors they have
On Mac they are setting up and old version of Timbuktu and that will 
do the job I guess


Thanks all.

Jorge Biquez

At 12:13 p.m. 14/12/2010, Gary Gatten wrote:
It sounds like you're wanting a remote desktop to actually see the 
active users GUI session?  If it's simply to see the error messages, 
I would recommend some sort of centralized logging.  There are 
several tools that take Winblows events and turn them into syslog 
events.  If you "need" remote desktop access, perhaps WebEx would 
help - or as others pointed out an RDP client for *nix should work as well.


G


-Original Message-
From: owner-freebsd-questi...@freebsd.org 
[mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Jorge Biquez

Sent: Tuesday, December 14, 2010 11:58 AM
To: freebsd-questions@freebsd.org
Subject: Re: Kind of off topic.


At 03:08 a.m. 14/12/2010, Giorgos Keramidas wrote:
>On Mon, 13 Dec 2010 17:21:06 -0600, Jorge Biquez
> wrote:
> > Hello all.
> >
> > A friend is asking me to help him to solve some problem he has in his
> > servers. To some I would be able to connect using ssh, with other just
> > it i snot possible. I remember that on the windows world there was a
> > commercial software PCANywhere. He can have it but I am not sure if I
> > would be able to connect to that from my Freebsd machine (of course
> > not by ssh).
> >
> > What are you using for connecting to graphical interfaces of different
> > OS's from FreeBSD?
> >
> > I tested some years ago a VNC software but did not work fine with MAC
> > OSX (recently released by then).
> >
> > I know big security factors are involved for sure.
> > Any suggestion on what to use, not to expensive or free?
>
>If the remote hosts are running FreeBSD, you can do almost *everything*
>through SSH.  For example most of my FreeBSD-related testing work
>happens through SSH connections to virtual machines these days.
>
>If you really need to run a GUI application though there are a few
>options:
>
>   - The most basic is to connect to the remote machine in *some* way,
> set the DISPLAY environment variable to point to a local X server
> that may accept incoming connections and fire up your GUI program.
>
>   - You can SSH into the remote machine and use the -X or -Y options to
> set up 'X forwarding' back to the machine where the SSH connection
> has originated from.
>
>   - You can use programs like the NX tools 
> to set up a 'remotely accessible X desktop' on the target machine
> and then use nxclient to connect to it from anywhere.
>
>The fastest and simplest method is still a plain good old SSH connection
>though.  It requires minimal setup (an sshd daemon on the remote side),
>it is accessible from anywhere in the world, it's secure against random
>eavesdroppers, it's fast to connect to, it's pretty light-weight on both
>the client and server systems, and you can do _everything_ on the remote
>host [even full system upgrades from source].


Hello.
Thanks all for your time
On Freebsd and Linux machines I have entered using SSH already
and I amtrying to help (my linux knowledge is not so good). :=(

Thing is to access the GUI, same screen they have with errors, on
their windows and Mac machines (XP and OSX mainly). I am trying to
setup one of the VNC solutions around. Just reading befores about
security involved in each one.

Take care all and have a great day.

Jorge Biquez

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









"This email is intended to be reviewed by only the intended recipient
 and may contain information that is privileged and/or confidential.
 If you are not the intended recipient, you are hereby notified that
 any review, use, dissemination, disclosure or copying of this email
 and its attachments, if any, is strictly prohibited.  If you have
 received this email in error, please immediately notify the sender by
 return email and delete this email from your system."


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


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


Re: Runaway ProFTP?

2010-12-14 Thread Ryan Coleman
And it's fixed now... not sure what the deal was with portsnap but it finally 
worked. I appreciate all the help.

--
Ryan

On Dec 10, 2010, at 10:59 PM, Ryan Coleman wrote:

> I have not been able to get portsnap to work at all today.
> 
> 
> On Dec 10, 2010, at 10:53 PM, Grant Peel wrote:
> 
>> - Original Message - From: "Jerry Bell" 
>> To: 
>> Sent: Friday, December 10, 2010 4:47 PM
>> Subject: Re: Runaway ProFTP?
>> 
>> 
>>> I have been having this happen a few times per week for the past few weeks. 
>>> I believe it is caused by someone attacking proftpd.  I noticed today that 
>>> there is an updated version - 1.3.3c that fixes a vulnerability that they 
>>> may have been trying to exploit.
>>> 
>>> When I looked at the process list, I would see around 20 proftpd's, each 
>>> with a high amount of CPU used, and connected to a specific IP.  I'd 
>>> firewall off those IPs and kill off proftpd/restart.  Knock on wood, I have 
>>> not had that happen since upgrading to 1.3.3c, but that may just be because 
>>> no one has tried again yet.
>>> 
>>> Jerry
>>> On 12/10/2010 4:39 PM, Ryan Coleman wrote:
 Does anyone have any ideas?
 
 On Dec 9, 2010, at 3:12 PM, Ryan Coleman wrote:
 
> Dear list,
> 
> Has anyone else had experience with ProFTP 1.3.3a running away with 
> processes? I installed it about 2 months ago with a new server build and 
> over the course of the last three weeks I've had to forcibly kill, wait 
> and restart the service every one-to-three days and sucking up between 
> 20% and 80% of my system resources.
> 
> I've attempted to change the logging in hopes to track down what is 
> causing the problems but I have not been successful. Additionally it 
> won't connect after a restart through Filezilla but using Terminal on my 
> MBP it will connect in the CLI.
> 
> It's not the end of the world (for me) but it is for my staff when they 
> have to upload large numbers of photos.
> 
> Thanks,
> Ryan
> 
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to 
> "freebsd-questions-unsubscr...@freebsd.org"
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 "freebsd-questions-unsubscr...@freebsd.org"
>>> 
>>> ___
>>> freebsd-questions@freebsd.org mailing list
>>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>>> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
>>> 
>> 
>> Indeed, this Proftpd 1.3.3a vulnerability is exactly what my post on 
>> upgrading a single port is all about. I can say for a fact that the botnets 
>> are trying to use the vulnerability and that you are quite correct that the 
>> CPU /  ZOMBIE processes are exploit related.
>> 
>> I just upgraded today and so far so good.
>> 
>> \FYI for anyone that is following my thread on updating one single port: I 
>> must have a somwhat busted installation. Using port upgrade failed ... sorry 
>> I did not remember to keep the output, but, I was able to download the 
>> source from proftpd.org and install it from scratch.
>> 
>> -Grant 
>> ___
>> freebsd-questions@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
> 
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

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


Re: Updating glib from 2.24.2 to 2.26.1_1 fails

2010-12-14 Thread Peter Boosten

On 14 dec 2010, at 18:24, Chris Brennan wrote:

> t looks like you either specified to include gzip and it cant find the 
> headers or it's trying to find your gzip headers and can't because they are 
> in a different location.


gzip is in the base system, and there are, AFAICT, no header files for gzip.
gzlibcompressor.c however tries to include zlib.h, and it might or might not 
expect something that's in FreeBSD 8.1, but not in 8.0, however I cannot tell 
for sure.

Anyone can confirm this?

btw. Please reply to all to keep it in the list

-- 
Peter Boosten
http://www.boosten.org



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


Re: Updating glib from 2.24.2 to 2.26.1_1 fails

2010-12-14 Thread Chuck Swiger
On Dec 14, 2010, at 10:22 AM, Peter Boosten wrote:
> gzip is in the base system, and there are, AFAICT, no header files for gzip.

I regret to disagree  :-), but:

% head -2 /usr/include/zlib.h
/* zlib.h -- interface of the 'zlib' general purpose compression library
  version 1.2.3, July 18th, 2005

> gzlibcompressor.c however tries to include zlib.h, and it might or might not 
> expect something that's in FreeBSD 8.1, but not in 8.0, however I cannot tell 
> for sure.
> 
> Anyone can confirm this?

CVSweb suggests zlib.h header has been part of the system for 14+ years, ie, 
from FreeBSD-2.x era:

  http://www.freebsd.org/cgi/cvsweb.cgi/src/lib/libz/zlib.h

Regards,
-- 
-Chuck

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


Re: Updating glib from 2.24.2 to 2.26.1_1 fails

2010-12-14 Thread Peter Boosten

On 14 dec 2010, at 09:12, Peter Boosten wrote:

Okay, did some source code digging, and I believe the actual error starts here:

> gzlibcompressor.c:68: error: expected specifier-qualifier-list before
> 'gz_header'

which, if I interpret all correctly, means that gz_header is no typedef (or at 
least, isn't found by the compiler), but this struct actually has been declared 
in zlib.h, which is in the #include list of gzlibcompressor.c

The config part of the glib port actually verifies whether zlib.h is available 
or not:

checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes




-- 
Peter Boosten
http://www.boosten.org



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


Re: Updating glib from 2.24.2 to 2.26.1_1 fails

2010-12-14 Thread Peter Boosten

On 14 dec 2010, at 19:40, Chuck Swiger wrote:

> On Dec 14, 2010, at 10:22 AM, Peter Boosten wrote:
>> gzip is in the base system, and there are, AFAICT, no header files for gzip.
> 
> I regret to disagree  :-), but:
> 
> % head -2 /usr/include/zlib.h
> /* zlib.h -- interface of the 'zlib' general purpose compression library
>  version 1.2.3, July 18th, 2005
> 

Chuck,

Thanks for your answer. I looked for a gzip.h, but obviously didn't find one :-)



>> gzlibcompressor.c however tries to include zlib.h, and it might or might not 
>> expect something that's in FreeBSD 8.1, but not in 8.0, however I cannot 
>> tell for sure.
>> 
>> Anyone can confirm this?
> 
> CVSweb suggests zlib.h header has been part of the system for 14+ years, ie, 
> from FreeBSD-2.x era:
> 
>  http://www.freebsd.org/cgi/cvsweb.cgi/src/lib/libz/zlib.h
> 

I found indeed no differences between 8.0 and 8.1.
-- 
Peter Boosten
http://www.boosten.org



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


Re: Updating glib from 2.24.2 to 2.26.1_1 fails

2010-12-14 Thread Chuck Swiger
On Dec 14, 2010, at 10:53 AM, Peter Boosten wrote:
>> I regret to disagree  :-), but:
>> 
>> % head -2 /usr/include/zlib.h
>> /* zlib.h -- interface of the 'zlib' general purpose compression library
>>  version 1.2.3, July 18th, 2005
> 
> Chuck,
> 
> Thanks for your answer. I looked for a gzip.h, but obviously didn't find one 
> :-)

Indeed.  Well, gzip is a primary client of zlib aka /lib/libz.so.X

Regards,
-- 
-Chuck

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


Re: new termcap entry for rxvt-unicode-256color

2010-12-14 Thread Frédéric Perrin
Le lundi 13 à 22:43, Thomas Dickey a écrit :
> On Mon, Dec 13, 2010 at 08:11:47AM -0800, Chip Camden wrote:
>> Quoth Frédéric Perrin on Monday, 13 December 2010:
>>> rxvt-unicode version 9.09 was released last month. It added support for
>>> 256 colors in the default configuration, and the default value of $TERM
>>> changed to rxvt-unicode-256color (from rxvt-unicode).
>
> The 256-colors aren't shown since the corresponding terminfo expression
> doesn't map to termcap.  (I added a workaround recently in ncurses to
> recognize this special case).  For example
>
> xterm+256color|xterm 256-color feature:\
> :cc:\
>   :Co#256:pa#32767:\
>   :AB=\E[48;5;%dm:AF=\E[38;5;%dm:Sb@:Sf@:

I'm not sure I understand what you mean by "the corresponding expression
doesn't map to termcap". Do you mean that FreeBSD's curses library need
to be patched to handle 256 colors ? (using 8.1 RELEASE here; ncurses is
version 5.7.20081102).

However, both Co and pa are documented in termcap(5) as being the number
of colors and bg/fg pairs. In addition, I added the following to my
termcap file :

rxvt-unicode-256color|rxvt-unicode terminal with 256 colors (X Window System):\
:cc:Co#256:pa#32767:tc=rxvt-unicode:

When running [1], I do get 256 colors. However, tmux is in black & white
(actually, it already was, unless run with something like
TERM=xterm-16color tmux new ; but we don't want to lie about $TERM, do
we?).

[1] http://www.frexx.de/xterm-256-notes/data/256colors2.pl

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


Re: new termcap entry for rxvt-unicode-256color

2010-12-14 Thread Frédéric Perrin
Le lundi 13 à 17:11, Chip Camden a écrit :
> Quoth Frédéric Perrin on Monday, 13 December 2010:
>> rxvt-unicode version 9.09 was released last month. It added support for
>> 256 colors in the default configuration, and the default value of $TERM
>> changed to rxvt-unicode-256color (from rxvt-unicode).
>> 
>> This results in slightly incorrect colors, and some programs like vi(1)
>> refuse to work. It is my understanding that I should update
>> /usr/share/misc/termcap. The diff between rxvt-unicode and
>> rxvt-unicode-256color seems rather short; on a Linux machine, I have :
>
> Take a look at the termcap entry for rxvt-256color.  It's actually based on
> rxvt-unicode.  So I think that all you need to add is:
>
> rxvt-unicode-256color|rxvt-unicode with 256 colors:\
>   :tc=rxvt-256color:

I don't have an entry for rxvt-256color.

This is happening on 8.1-RELEASE.

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


Re: new termcap entry for rxvt-unicode-256color

2010-12-14 Thread Frédéric Perrin
Le mardi 14 à 22:23, Frédéric Perrin a écrit :
> Le lundi 13 à 17:11, Chip Camden a écrit :
>> Quoth Frédéric Perrin on Monday, 13 December 2010:
>>> rxvt-unicode version 9.09 was released last month. It added support for
>>> 256 colors in the default configuration, and the default value of $TERM
>>> changed to rxvt-unicode-256color (from rxvt-unicode).
>>> 
>>> This results in slightly incorrect colors, and some programs like vi(1)
>>> refuse to work. It is my understanding that I should update
>>> /usr/share/misc/termcap. The diff between rxvt-unicode and
>>> rxvt-unicode-256color seems rather short; on a Linux machine, I have :
>>
>> Take a look at the termcap entry for rxvt-256color.  It's actually based on
>> rxvt-unicode.  So I think that all you need to add is:
>>
>> rxvt-unicode-256color|rxvt-unicode with 256 colors:\
>>  :tc=rxvt-256color:
>
> I don't have an entry for rxvt-256color.
>
> This is happening on 8.1-RELEASE.

Hum, of course I had the idea of looking at the SVN tree only after
sending this post. This rxvt-256color definition was added a couple of
weeks ago, by a certain Sterling Camden :-). So, I am now able to say
that when adding the following entries to 8.1's termcap file, my
terminal works as expected :

rxvt-256color|rxvt terminal emulator with 256 colors:\
:Co#256:AF=\E[38;5;%dm:AB=\E[48;5;%dm:tc=rxvt-unicode:

rxvt-unicode-256color|rxvt-unicode terminal with 256 colors (X Window System):\
:tc=rxvt-256color:

(I even got 256 colors in a screen on a Linux machine accessed inside a
tmux running on a FreeBSD machine.)

Should I send a PR in order to get this new definition installed?

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


Re: [Fwd: Re: /usr/ports/net/pptpclient]

2010-12-14 Thread Mario Lobo
On Tuesday 14 December 2010 15:03:11 Mike Sabroff wrote:
>Is this the right place to post this question?
> Original Message 
> 
>   Subject: Re: /usr/ports/net/pptpclient
>  Date: Tue, 14 Dec 2010 09:41:39 -0800
>  From: Nicklas Johnson [1]
>To: [2]msabr...@sbcglobal.net
>CC: [3]freebsd-j...@freebsd.org
>References: [4]<4d07a1cc.4080...@sbcglobal.net>
> 
>This list is for discussion of the various Java ports on FreeBSD. � I
>don't think it is the correct place for your question about
>establishing a VPN connection.
> 
>I suggest trying [5]freebsd-questi...@freebsd.org instead.
> 
>� �  Nick
>On 14 December 2010 08:56, Mike Sabroff <[6]msabr...@sbcglobal.net>
>wrote:
> 
>  I hope this is the correct place to ask about this port.
>  I am trying to get a VPN connection to the office and after
>  googleing, it looked like this would be a good choice for FreeBSD.
>  I am running 7.3-RELEASE FreeBSD. I had no problem building or
>  installing, in fact it was fast and sweet!
>  I followed some documentation I found on the setup and modifying
>  the /etc/resolve.conf file and all went fine until I ran the script
>  to invoke pptp and when it ran I got an error message stating
>  basically that /usr/bin/ip was an unknown command.
>  ip is a linux command but doesn't seem to be part of a default
>  freebsd system.
>  My question isWhat if any is the equivalent of ip on freebsd or
>  which port would I install to get ip or it's equivalent?
>  --
>  Mike Sabroff
>  [7]msabr...@sbcglobal.net
>  608-877-0676 - Home
>  608-516-1801 - Cell
>  --
>  Mike Sabroff
>  [8]msabr...@sbcglobal.net
>  608-877-0676 - Home
>  608-516-1801 - Cell
>  ___
>  [9]freebsd-j...@freebsd.org mailing list
>  [10]http://lists.freebsd.org/mailman/listinfo/freebsd-java
>  To unsubscribe, send any mail to
>  "[11]freebsd-java-unsubscr...@freebsd.org"
> 
>--
>"Courage isn't just a matter of not being frightened, you know. It's
>being afraid and doing what you have to do anyway."
>� �  -- Doctor Who - Planet of the Daleks
>This message has been brought to you by Nick Johnson 2.3b1 and the
>number 6.
> 
> --
> Mike Sabroff
> [12]msabr...@sbcglobal.net
> 608-877-0676 - Home
> 608-516-1801 - Cell
> 
> References
> 
>Visible links
>1. mailto:free...@spatula.net
>2. mailto:msabr...@sbcglobal.net
>3. mailto:freebsd-j...@freebsd.org
>4. mailto:4d07a1cc.4080...@sbcglobal.net
>5. mailto:freebsd-questions@freebsd.org
>6. mailto:msabr...@sbcglobal.net
>7. mailto:msabr...@sbcglobal.net
>8. mailto:msabr...@sbcglobal.net
>9. mailto:freebsd-j...@freebsd.org
>   10. http://lists.freebsd.org/mailman/listinfo/freebsd-java
>   11. mailto:freebsd-java-unsubscr...@freebsd.org
>   12. mailto:msabr...@sbcglobal.net
> 
>Hidden links:
>   13. http://healerNick.com/
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscr...@freebsd.org"

Give /usr/ports/net/mpd5 a try. I've been using it for a good while now and it 
works really well with either a windows server or FreeBSD server.
-- 
Mario Lobo
http://www.mallavoodoo.com.br
FreeBSD since 2.2.8 [not Pro-Audio YET!!] (99% winblows FREE)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


RE: Kind of off topic.

2010-12-14 Thread Michael J. Kearney


-Original Message-
From: Michael J. Kearney
Sent: Tuesday, December 14, 2010 5:24 PM
To: Jorge Biquez
Subject: RE: Kind of off topic.

ssh to the x-server with xwin32 ...

FreeBSD runs with the command:

xterm -fn 6x13 -sb -ls -display 192.168.0.2:0 & /usr/local/bin/startxfce4

-Original Message-
From: owner-freebsd-questi...@freebsd.org 
[mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Jorge Biquez
Sent: Monday, December 13, 2010 6:21 PM
To: FreeBSD
Subject: Kind of off topic.

Hello all.

A friend is asking me to help him to solve some problem he has in his
servers. To some I would be able to connect using ssh, with other
just it i snot possible. I remember that on the windows world there
was a commercial software PCANywhere. He can have it but I am not
sure if I would be able to connect to that from my Freebsd machine
(of course not by ssh).
What are you using for connecting to graphical interfaces of
different OS's from FreeBSD?
I tested some years ago a VNC software but did not work fine with MAC
OSX (recently released by then).
I know big security factors are involved for sure.
Any suggestion on what to use, not to expensive or free?

Thanks in advance
Jorge Biquez

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


RE: Kind of off topic.

2010-12-14 Thread Michael J. Kearney

sure ... why not logmein.com? lol It doesn't work with playstation 3 ftw

-Original Message-
From: owner-freebsd-questi...@freebsd.org 
[mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Gary Gatten
Sent: Monday, December 13, 2010 6:40 PM
To: 'Jorge Biquez'; FreeBSD
Subject: RE: Kind of off topic.

Sorry, I thought all the servers were *nix.

Ah...  I think there is an ssh sevice for winblows - not 100% sure though.  Any 
errors that are visible in a GUI app "should" be able to be logged to syslog, 
event logs, proprietary log file, etc...  Guess that depends on the app and the 
developer though!



Good luck!

-Original Message-
From: owner-freebsd-questi...@freebsd.org 
[mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Jorge Biquez
Sent: Monday, December 13, 2010 5:35 PM
To: FreeBSD
Subject: RE: Kind of off topic.

Hello.

SSH in some of the servers is acting and working BUT I am assuming
some servers won't have it... like some windows based machines
The Mac's have it but the idea isto have the graphical interface
since the errors of the problems they are having are presenting in
their graphical applications

Thanks a lot for you time. I will try to find a VNC that can be used
in possible in all.

Jorge Biquez

At 05:27 p.m. 13/12/2010, you wrote:
>Ssh not possible?  That's one of the most basic "requirements" and
>most easy to secure - typically
>
>XWindows of course, or numerous variants thereof.  I'm not sure but
>I *think* most of them use the Xwindows protocol on the network.
>
>VNC may also work now.  There are also several versions of it
>(TightVNC, RealVNC, et al) There's a native VNC protocol/client as
>well as Java/http - maybe https...
>
>There's probably someone that has written and httpd or Apache module
>that will simply pass I/O between a shell process on the box.  Maybe
>search the ports tree or of course google.
>
>G
>
>
>-Original Message-
>From: owner-freebsd-questi...@freebsd.org
>[mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Jorge Biquez
>Sent: Monday, December 13, 2010 5:21 PM
>To: FreeBSD
>Subject: Kind of off topic.
>
>Hello all.
>
>A friend is asking me to help him to solve some problem he has in his
>servers. To some I would be able to connect using ssh, with other
>just it i snot possible. I remember that on the windows world there
>was a commercial software PCANywhere. He can have it but I am not
>sure if I would be able to connect to that from my Freebsd machine
>(of course not by ssh).
>What are you using for connecting to graphical interfaces of
>different OS's from FreeBSD?
>I tested some years ago a VNC software but did not work fine with MAC
>OSX (recently released by then).
>I know big security factors are involved for sure.
>Any suggestion on what to use, not to expensive or free?
>
>Thanks in advance
>Jorge Biquez
>
>___
>freebsd-questions@freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
>
>
>
>
>
>
>
>
>"This email is intended to be reviewed by only the intended recipient
>  and may contain information that is privileged and/or confidential.
>  If you are not the intended recipient, you are hereby notified that
>  any review, use, dissemination, disclosure or copying of this email
>  and its attachments, if any, is strictly prohibited.  If you have
>  received this email in error, please immediately notify the sender by
>  return email and delete this email from your system."
>
>
>___
>freebsd-questions@freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

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








"This email is intended to be reviewed by only the intended recipient
 and may contain information that is privileged and/or confidential.
 If you are not the intended recipient, you are hereby notified that
 any review, use, dissemination, disclosure or copying of this email
 and its attachments, if any, is strictly prohibited.  If you have
 received this email in error, please immediately notify the sender by
 return email and delete this email from your system."


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

Re: new termcap entry for rxvt-unicode-256color

2010-12-14 Thread Chip Camden
Quoth Frédéric Perrin on Tuesday, 14 December 2010:
> Le lundi 13 à 17:11, Chip Camden a écrit :
> > Quoth Frédéric Perrin on Monday, 13 December 2010:
> >> rxvt-unicode version 9.09 was released last month. It added support for
> >> 256 colors in the default configuration, and the default value of $TERM
> >> changed to rxvt-unicode-256color (from rxvt-unicode).
> >> 
> >> This results in slightly incorrect colors, and some programs like vi(1)
> >> refuse to work. It is my understanding that I should update
> >> /usr/share/misc/termcap. The diff between rxvt-unicode and
> >> rxvt-unicode-256color seems rather short; on a Linux machine, I have :
> >
> > Take a look at the termcap entry for rxvt-256color.  It's actually based on
> > rxvt-unicode.  So I think that all you need to add is:
> >
> > rxvt-unicode-256color|rxvt-unicode with 256 colors:\
> > :tc=rxvt-256color:
> 
> I don't have an entry for rxvt-256color.
> 
> This is happening on 8.1-RELEASE.
> 
> -- 
> Fred

It was patched in 8.1-STABLE (now 8.2-PRERELEASE):

http://www.freebsd.org/cgi/query-pr.cgi?pr=147726

-- 
Sterling (Chip) Camden| sterl...@camdensoftware.com | 2048D/3A978E4F
http://camdensoftware.com | http://chipstips.com| http://chipsquips.com


pgpUCD27twDBs.pgp
Description: PGP signature


Re: new termcap entry for rxvt-unicode-256color

2010-12-14 Thread Chip Camden
Quoth Frédéric Perrin on Tuesday, 14 December 2010:
> Le mardi 14 à 22:23, Frédéric Perrin a écrit :
> > Le lundi 13 à 17:11, Chip Camden a écrit :
> >> Quoth Frédéric Perrin on Monday, 13 December 2010:
> >>> rxvt-unicode version 9.09 was released last month. It added support for
> >>> 256 colors in the default configuration, and the default value of $TERM
> >>> changed to rxvt-unicode-256color (from rxvt-unicode).
> >>> 
> >>> This results in slightly incorrect colors, and some programs like vi(1)
> >>> refuse to work. It is my understanding that I should update
> >>> /usr/share/misc/termcap. The diff between rxvt-unicode and
> >>> rxvt-unicode-256color seems rather short; on a Linux machine, I have :
> >>
> >> Take a look at the termcap entry for rxvt-256color.  It's actually based on
> >> rxvt-unicode.  So I think that all you need to add is:
> >>
> >> rxvt-unicode-256color|rxvt-unicode with 256 colors:\
> >>:tc=rxvt-256color:
> >
> > I don't have an entry for rxvt-256color.
> >
> > This is happening on 8.1-RELEASE.
> 
> Hum, of course I had the idea of looking at the SVN tree only after
> sending this post. This rxvt-256color definition was added a couple of
> weeks ago, by a certain Sterling Camden :-). So, I am now able to say
> that when adding the following entries to 8.1's termcap file, my
> terminal works as expected :
> 
> rxvt-256color|rxvt terminal emulator with 256 colors:\
> :Co#256:AF=\E[38;5;%dm:AB=\E[48;5;%dm:tc=rxvt-unicode:
> 
> rxvt-unicode-256color|rxvt-unicode terminal with 256 colors (X Window 
> System):\
> :tc=rxvt-256color:
> 
> (I even got 256 colors in a screen on a Linux machine accessed inside a
> tmux running on a FreeBSD machine.)
> 
> Should I send a PR in order to get this new definition installed?
> 
> -- 
> Fred
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Yes, preferably with a patch file that only contains your new entry.
Just do a diff between the stable version and your final version.  I can
submit it, if you don't feel like it.

-- 
Sterling (Chip) Camden| sterl...@camdensoftware.com | 2048D/3A978E4F
http://camdensoftware.com | http://chipstips.com| http://chipsquips.com


pgpBZYoDqjDjk.pgp
Description: PGP signature


General Awarness - Unknown Facts

2010-12-14 Thread Khushi P.
Hi,

Various unknown facts are listed on the website http://khushiwebworld.com 
 . The unknown facts are really good and I have 
found it very useful, so thought to share the same with you. They are 
categorized as

1.Unknown facts
2.Health Facts
3.Ayurveda facts
4.And Many more .

After visiting the website http://khushiwebworld.com 
 you will have awareness towards various unknown 
facts which is very useful in day to day life.

Regards .

Khushi

*
Khushi World Disclaimer Policy

This mail has ben sent to  freebsd-questions@freebsd.org  dated  09/08/2010

In case if you have received this email accidently and If you prefer not to 
receive future emails of this type please UNSUBSCRIBE 
 . If this link does not works reply with the subject "Remove" .

 


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


portupgrade

2010-12-14 Thread xinyou yan
if i use portupgrade -af  --patch   (it take much times)

And i don't finish it
Then the second time . i do it again  Does it continue  or reupgrade anythins

The gnome show me i can upgrade some software .
However i can't upgrade   ,because it can't get information

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


Re: portupgrade

2010-12-14 Thread RW
On Wed, 15 Dec 2010 10:31:01 +0800
xinyou yan  wrote:

> if i use portupgrade -af  --patch   (it take much times)
> 

what's  "--patch"?

> And i don't finish it
> Then the second time . i do it again  Does it continue  or reupgrade
> anythins

It starts again. See  pkg_glob(1) for how to avoid this.

> 
> The gnome show me i can upgrade some software .
> However i can't upgrade   ,because it can't get information

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


Re: ACPI error message

2010-12-14 Thread Ian Smith
In freebsd-questions Digest, Vol 341, Issue 3, Message: 2
On Tue, 14 Dec 2010 14:26:35 +0100 Davide Petilli <7h3.k3r...@gmail.com> wrote:

 > During the boot I can see these error mesages related to acpi.
 > I've built my kernel but the error messages come up on the default kernel 
 > too. 
 > Does anyone know what is it and how to solve this?
 > I tried to figure it out by myself without succes.
 > 
 > These are the relevant parts of my dmesg:
 > -
 > acpi0:  on motherboard
 > acpi0: [ITHREAD]
 > acpi0: Power Button (fixed)
 > unknown: I/O range not supported
 > ACPI Error: No handler for Region [RAM_] (0xc2cff5c0) [EmbeddedControl] 
 > (20100331/evregion-487)
 > ACPI Error: Region EmbeddedControl(0x3) has no handler (20100331/exfldio-383)
 > ACPI Error (psparse-0633): Method parse/execution failed [\\_SB_.BAT0._STA] 
 > (Node 0xc2cdd5c0), AE_NOT_EXIST
 > ACPI Error (uteval-0318): Method execution failed [\\_SB_.BAT0._STA] (Node 
 > 0xc2cdd5c0), AE_NOT_EXIST
 > ACPI Error: No handler for Region [RAM_] (0xc2cff5c0) [EmbeddedControl] 
 > (20100331/evregion-487)
 > ACPI Error: Region EmbeddedControl(0x3) has no handler (20100331/exfldio-383)
 > ACPI Error (psparse-0633): Method parse/execution failed [\\_SB_.BAT0._STA] 
 > (Node 0xc2cdd5c0), AE_NOT_EXIST
 > ACPI Error (uteval-0318): Method execution failed [\\_SB_.BAT0._STA] (Node 
 > 0xc2cdd5c0), AE_NOT_EXIST
 > -
 > 
 > My platform:
 > 
 > FreeBSD Dragon 8.1-RELEASE FreeBSD 8.1-RELEASE #3: Sun Dec 12 
 > 01:10:45 CET 2010 r...@dragon:/usr/obj/usr/src/sys/DRAGON i386

You should try posting this to the freebsd-acpi list instead, including 
the full /var/run/dmesg.boot and details of your hardware (make, model);
I've not seen an 'INSYDE' ACPI BIOS before, but others may know of it.

The first ACPI Error message indicates not being able to access the 
Embedded Controller (EC), which among other problems that may cause, is 
why ACPI can't get information on your battery status [\\_SB_.BAT0._STA]

There have been recent commits to acpi_ec.c and other ACPI code - you 
could try booting 8.2-BETA1 from a CD or memstick to see if that helps? 
- otherwise you're likely to be asked to provide info on your machine's 
ASL etc.  Best to be well prepared first by studying:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/acpi-debug.html

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


Re: boot, rc script and logs

2010-12-14 Thread Ian Smith
In freebsd-questions Digest, Vol 341, Issue 3, Message: 17
On Tue, 14 Dec 2010 19:02:54 +0100 Samuel Mart?n Moro  wrote:
 > Hi,
 > 
 > I'm adding some scripts to FreeBSD boot.
 > One of this script runs a binary that checks our postgres database, its
 > output being redirected to a dialog --gauge.
 > But I noticed that the dialog output, while correctly displayed on the
 > terminal, is also dumped into /var/log/console.log and /var/log/messages.
 > 
 > I'm not even sure about how this is happening... I can't find about messages
 > nor console.log in /etc/rc*

As you indicate below, 'tty is /dev/console' while running the boot rc 
scripts, so it's normal to see these scripts logged to console.log when 
that's ebabled .. presumably /etc/syslog.conf includes something like:
# uncomment this to log all writes to /dev/console to /var/log/console.log 
console.info/var/log/console.log

 > Is there a way to disable log output in a given rc.script?
 > 
 > here's my script:
 > #!/bin/sh
 > [...]
 > test "$1" = 'start' -o "$1" = 'faststart' || exit 0
 > Prg=`basename $_file`
 > exec 2>/var/log/$Prg.log

You're redirecting stderr to your logfile, but not stdout, so standard 
output from the below goes to /dev/console, so also to /console.log

 > test "$TERM" || export TERM=cons25
 > DIALOG="/usr/local/bin/dialog --no-collapse --cr-wrap --colors"
 > echo "tty is `tty`" >&2 #debug, prints: tty is /dev/console
 > echo "= Checking DB 1/2 =" >&2

The above line is also written to stdout, so to console.log below, so 
I'm not sure whether your exec usage | syntax | redirection is correct.

 > dbcheck -s | $DIALOG --gauge "\n  Checking DB 1/2" 7 70 2>/dev/null
 > echo "= Checking DB 2/2 =" >&2
 > dbcheck -r -s | $DIALOG --gauge "\n  Checking DB 2/2" 7 70 
 > 2>/dev/null
 > [...]
 > 
 > here is what it gives in /var/log/messages:
 > Dec 14 13:26:46 camtrace13 dhclient: New Subnet Mask (wlan0): 255.255.255.0
 > Dec 14 13:26:46 camtrace13 dhclient: New Broadcast Address (wlan0):
 > 192.168.0.255
 > Dec 14 13:26:46 camtrace13 dhclient: New Routers (wlan0): 192.33.160.111
 > Dec 14 13:26:47 camtrace13 kernel: m  ^[[36m^[[44m^[[K^[[16;6H^[[1K
 > ^[[30m^[[40m^[[70X^[[77`^[[36m^[[44m^[[K^[[13;9H^[[39;49m^[[m
 > Dec 14 13:26:48 camtrace13 kernel: m  ^[[36m^[[44m^[[K^[[16;6H^[[1K
 > ^[[30m^[[40m^[[70X^[[77`^[[36m^[[44m^[[K^[[13;9H^[[39;49m^[[m

I don't know why those two dialog lines are sent to /var/log/messages; 
perhaps they indicate some error, only those being logged with *.notice?

[..]

 > and here is what I can read in /var/log/console.log:
 > Dec 14 13:26:43 camtrace13 kernel: Starting apache.
 > Dec 14 13:26:46 camtrace13 kernel: Starting pgsql.

If you view these scripts you'll see that they don't themselves write to 
stdout .. it's the rc system logging these.

 > Dec 14 13:26:47 camtrace13 kernel: ^[[m
 > Dec 14 13:26:47 camtrace13 kernel: ^[[39;49m^[[=1S
 > Dec 14 13:26:47 camtrace13 kernel:
 > ^[[39;49m^[[m^[[H^[[J^[[17d^[[36m^[[44m^[[1m^[[J^[[H^[[K^[[B^[[K^[[B^[[K^[[B^[[K^[[B^[[K^[[B^[[K^[[B^[[K^[[B^[[K^[[B
 > ^[[37m^[[47mÚ^[[m^[[30m^[[47m¿^[[m^[[36m^[[44m^[[1m^[[K^[[B
 > ^[[37m^[[47m³^[[m^[[30m^[[47m^[[68X^[[74`³^[[m^[[30m^[[40m^[[1m
 > ^[[36m^[[44m^[[K^[[B^[[37m^[[47m³^[[m^[[30m^[[47m   Checking DB
 > 1/2^[[20X^[[74`³^[[m^[[30m^[[40m^[[1m  ^[[36m^[[44m^[[K^[[B
[..]
 > Dec 14 13:26:48 camtrace13 kernel: Starting slim.
 > Dec 14 13:26:48 camtrace13 kernel: Starting

You'll need to rework this somehow so dialog's stdout isn't written to 
/dev/console, though that may seem necessary if you want it coming up on 
the VTY0 boot screen.  It may involve decoupling this task from running 
'inline' as a boot script somehow, or else making sure that output is 
redirected to a log or temporary file instead of directly into dialog.

 > dhclient and oss seem to dump their output in /var/log/messages, while
 > apache, postgresql and slim dump their one in /var/log/console.log
 > So... How can my rc.script write in both console and messages logs?
 > And how can I get rid of that?

dhclient's (running) output is normally logged to messages, whereas the 
'Starting' messages are output of the rc process as it launches things.

And it's only those couple of lines to messages, the rest of them to 
console.log is unsurprising and expected if they're written to stdout.

HTH a bit, Ian___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Re: new termcap entry for rxvt-unicode-256color

2010-12-14 Thread Frédéric Perrin
Le mercredi 15 à 0:14, Chip Camden a écrit :
> Quoth Frédéric Perrin on Tuesday, 14 December 2010:
>> So, I am now able to say that when adding the following entries to
>> 8.1's termcap file, my terminal works as expected :
>> 
>> rxvt-256color|rxvt terminal emulator with 256 colors:\
>> :Co#256:AF=\E[38;5;%dm:AB=\E[48;5;%dm:tc=rxvt-unicode:
>> 
>> rxvt-unicode-256color|rxvt-unicode terminal with 256 colors (X Window 
>> System):\
>> :tc=rxvt-256color:
>> 
>> Should I send a PR in order to get this new definition installed?
>
> Yes, preferably with a patch file that only contains your new entry.
> Just do a diff between the stable version and your final version.  I can
> submit it, if you don't feel like it.

Done, as conf/153164.

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


Re: PostgreSQL + 8.1 RELEASE + DTrace = pain?

2010-12-14 Thread Dave Pooser
On 12/6/10 11:29 PM, "Dave Pooser"  wrote:

> I used pkg_delete to
> remove the postgresql packages (server and client), recompiled the kernel to
> include DTrace and eliminate some unused drivers, updated loader.conf to
> bring up dtraceall at boot, did a make clean and a make config to add
> DTrace, and built postgresql90-server again. It appeared to work fine, but
> now I'm getting segfaults when I try to launch it.

Is there a better place I could/should be asking questions about PostgreSQL
and DTrace on FreeBSD? Or is this combination still black magic at this
point?
-- 
Dave Pooser
Cat-Herder-in-Chief, Pooserville.com
"...Life is not a journey to the grave with the intention of arriving
safely in one pretty and well-preserved piece, but to slide across the
finish line broadside, thoroughly used up, worn out, leaking oil, and
shouting GERONIMO!!!" -- Bill McKenna



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


Re: new termcap entry for rxvt-unicode-256color

2010-12-14 Thread Chip Camden
Quoth Frédéric Perrin on Wednesday, 15 December 2010:
> Le mercredi 15 à 0:14, Chip Camden a écrit :
> > Quoth Frédéric Perrin on Tuesday, 14 December 2010:
> >> So, I am now able to say that when adding the following entries to
> >> 8.1's termcap file, my terminal works as expected :
> >> 
> >> rxvt-256color|rxvt terminal emulator with 256 colors:\
> >> :Co#256:AF=\E[38;5;%dm:AB=\E[48;5;%dm:tc=rxvt-unicode:
> >> 
> >> rxvt-unicode-256color|rxvt-unicode terminal with 256 colors (X Window 
> >> System):\
> >> :tc=rxvt-256color:
> >> 
> >> Should I send a PR in order to get this new definition installed?
> >
> > Yes, preferably with a patch file that only contains your new entry.
> > Just do a diff between the stable version and your final version.  I can
> > submit it, if you don't feel like it.
> 
> Done, as conf/153164.
> 
> -- 
> Fred
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

très bien!

-- 
Sterling (Chip) Camden| sterl...@camdensoftware.com | 2048D/3A978E4F
http://camdensoftware.com | http://chipstips.com| http://chipsquips.com


pgpufeEmicAxR.pgp
Description: PGP signature


Re: PostgreSQL + 8.1 RELEASE + DTrace = pain?

2010-12-14 Thread Chuck Swiger
On Dec 14, 2010, at 9:01 PM, Dave Pooser wrote:
> Is there a better place I could/should be asking questions about PostgreSQL
> and DTrace on FreeBSD? Or is this combination still black magic at this
> point?

freebsd-ports@ is a reasonable alternative (since PostgreSQL is a port), but 
freebsd-questions@ is the best place to ask "mixed" questions, where the issue 
involves a combination of base system, ports, etc.

However, you should be able to run the thing under gdb, or debug a corefile 
which was previously generated, and gain more information about what is going 
wrong.  IMO, doing SQL query tracing and optimization is much more likely to 
produce tunable performance improvements than working at the DTrace level

Regards,
-- 
-Chuck

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


Re: ACPI error message

2010-12-14 Thread Davide Petilli
On Wed, Dec 15, 2010 at 01:54:09PM +1100, Ian Smith wrote:
> the full /var/run/dmesg.boot and details of your hardware (make, model);
> I've not seen an 'INSYDE' ACPI BIOS before, but others may know of it.
> 
> The first ACPI Error message indicates not being able to access the 
> Embedded Controller (EC), which among other problems that may cause, is 
> why ACPI can't get information on your battery status [\\_SB_.BAT0._STA]
> 
> There have been recent commits to acpi_ec.c and other ACPI code - you 
> could try booting 8.2-BETA1 from a CD or memstick to see if that helps? 
> - otherwise you're likely to be asked to provide info on your machine's 
> ASL etc.  Best to be well prepared first by studying:
> 
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/acpi-debug.html
> 
> cheers, Ian

Thank you very much! I'll study the linked resource well, next I'll post on the 
acpi mailing list.

Regards

-- 
Davide Petili - "k3rn31"
Potenza, Italy
FreeBSD, Mac OSX, GNU/Debian.
Geek since birth.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"