Re: trouble setting up wireless

2013-06-09 Thread Alexander Kapshuk

On 06/09/13 01:24, Warren Block wrote:
First, check the easy things: is there a physical switch to enable 
wireless?  Is it on?

There is no physical switch to enable wireless there.


Please post the output of 'ifconfig -a'. 

root@box0:/root # ifconfig -a
ath0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 2290
ether 00:24:2c:5e:06:f2
nd6 options=29PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL
media: IEEE 802.11 Wireless Ethernet autoselect mode 11g
status: associated
re0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500
options=8209bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,LINKSTATE
ether 00:23:8b:b2:e5:1f
inet 192.168.1.3 netmask 0xff00 broadcast 192.168.1.255
nd6 options=29PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL
media: Ethernet autoselect (100baseTX full-duplex)
status: active
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST metric 0 mtu 16384
options=63RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0xb
inet 127.0.0.1 netmask 0xff00
nd6 options=21PERFORMNUD,AUTO_LINKLOCAL
wlan0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500
ether 00:24:2c:5e:06:f2
nd6 options=29PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL
media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
status: no carrier
ssid  channel 12 (2467 MHz 11g)
regdomain 103 indoor ecm authmode WPA1+WPA2/802.11i privacy OFF
txpower 20 bmiss 7 scanvalid 450 bgscan bgscanintvl 300 
bgscanidle 250

roam:rssi 7 roam:rate 5 protmode CTS wme burst roaming MANUAL
bintval 0

___
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: trouble setting up wireless

2013-06-09 Thread Alexander Kapshuk





On 06/09/13 01:24, Warren Block wrote:
First, check the easy things: is there a physical switch to enable 
wireless?  Is it on?

There is no physical switch to enable wireless there.


Notebooks also have function-key combinations to enable and disable 
the radio.
I've been able to use wireless on this laptop on FreeBSD 9.0. I just 
followed the instructions in the handbook and that was it. This time 
round, I seem to have done the same thing, but there's probably 
something I must be doing wrong.


Please post the output of 'ifconfig -a'. 

root@box0:/root # ifconfig -a
ath0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 
2290

   ether 00:24:2c:5e:06:f2
   nd6 options=29PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL
   media: IEEE 802.11 Wireless Ethernet autoselect mode 11g
   status: associated
wlan0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 
mtu 1500

   ether 00:24:2c:5e:06:f2
   nd6 options=29PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL
   media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
   status: no carrier
   ssid  channel 12 (2467 MHz 11g)
   regdomain 103 indoor ecm authmode WPA1+WPA2/802.11i privacy OFF
   txpower 20 bmiss 7 scanvalid 450 bgscan bgscanintvl 300 
bgscanidle 250

   roam:rssi 7 roam:rate 5 protmode CTS wme burst roaming MANUAL
   bintval 0


I don't see anything obviously wrong.  Is an access point within 
range? Has someone set it to have a hidden SSID?
The reason why ssid is empty in the output of ifconfig above, is because 
I've omitted it in /etc/rc.conf.


Here's my /etc/rc.conf:

 cat /etc/rc.conf
hostname=box0
ifconfig_re0=DHCP
sshd_enable=YES
moused_enable=YES
ntpd_enable=YES
powerd_enable=YES
# Set dumpdev to AUTO to enable crash dumps, NO to disable
dumpdev=AUTO
wlans_ath0=wlan0
ifconfig_wlan0=WPA DHCP
hald_enable=YES
dbus_enable=YES
linux_enable=YES

I didn't put anything related to the Atheros drivers in the 
/boot/loader.conf as support for them is compiled into the kernel and 
loaded at boot time:


kldstat -v|egrep 'wlan|ath_'
  98 pci/ath_pci
  434 wlan
  433 wlan_wep
  432 wlan_tkip
  431 wlan_ccmp
  430 wlan_amrr
  436 wlan_sta  435 wlan_ratectl_none

Quick question...

The ath_hal(4) man page says that the support for my wireless card is 
handled via ath_hal. It seems to be compiled into the kernel, but I'm 
not seeing it being loaded like the wpa_ and ath_pci modules are.


 dmesg|grep -i Ath
ath0: Atheros 5424/2424 mem 0xd600-0xd600 irq 16 at device 0.0 
on pci2

ath0: AR2425 mac 14.2 RF5424 phy 7.0

 egrep 'ath_|wlan_' GENERIC
device   wlan_wep # 802.11 WEP support
device   wlan_ccmp  # 802.11 CCMP support
device   wlan_tkip  # 802.11 TKIP support
device   wlan_amrr  # AMRR transmit rate control algorithm
device   ath_pci  # Atheros pci/cardbus glue
device   ath_hal  # pci/cardbus chip support
device   ath_rate_sample  # SampleRate tx rate control for ath

Also, here's my /etc/wpa_supplicant.conf just in case I overlooked 
something:

cat /etc/wpa_supplicant.conf
ctrl_interface=/var/run/wpa_supplicant
eapol_version=2
ap_scan=1
fast_reauth=1

network={
ssid=plan9
 psk=wpa_passphrase-generated psk
}

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


Re: trouble setting up wireless

2013-06-09 Thread Alexander Kapshuk

On 06/09/13 18:44, Warren Block wrote:
The ath_hal(4) man page says that the support for my wireless card is 
handled via ath_hal. It seems to be compiled into the kernel, but I'm 
not seeing it being loaded like the wpa_ and ath_pci modules are.


'kldstat' should show it. 

It doesn't.

kldstat -v | grep ath_
101 pci/ath_pci

I tried disabling ifconfig_ath0=DHCP in /etc/rc.conf, rebooting the 
system, with wlan0 still being reported as having no carrier.


Running out of things to try...

___
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 now supports pkgng [/usr/ports/UPDATING]

2012-10-28 Thread Alexander Kapshuk

On 10/28/2012 03:00 AM, Bryan Drewery wrote:

PKGNG is a replacement for the pkg_* tools that record package data in
/var/db/pkg.

It also allows for binary package upgrades.

If you are wanting to use pkgng for binary packages, there's no need to
use portupgrade anymore. Just 'pkg install name', 'pkg upgrade', etc.
   

Understood. Thanks.

For some reason I thought I could use the PKGNG tool set together with 
portupgrade the same way the pkg_* tools are used.


Is there a straightforward way to go back to using the pkg_* tools in 9.1?

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


Re: Portupgrade now supports pkgng [/usr/ports/UPDATING]

2012-10-28 Thread Alexander Kapshuk

Got it.

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


Re: Portupgrade now supports pkgng [/usr/ports/UPDATING]

2012-10-28 Thread Alexander Kapshuk

On 10/28/2012 04:27 PM, Patrick Lamaiziere wrote:

pkg is able to make packages upgrade by itself. I think the good way
to update with packages is pkg updgrade then portupgrade to build the
ports without packages avalaible.

Anyway I had many problems with portupgrade and pkg (basically It was
not able to build its database because of inconsistency in
ports dependencies), portmaster with pkgng patch looks better.

Regards.
   

Understood. Thanks.

I'll look into that.

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


Re: Problem with connecting FreeBSD 8.3 to wireless network

2012-10-28 Thread Alexander Kapshuk

On 10/28/12 20:50, Manish Jain wrote:

# dmesg | grep -i ath

Empty output 
Doesn't look like your atheros network card has been detected by your 
system.


Did you check the ath(4) man page to see if your particular piece of 
hardware is supported on FreeBSD 8.3?

http://www.freebsd.org/cgi/man.cgi?query=athsektion=4manpath=FreeBSD+8.3-RELEASE
HARDWARE
 The ath driver supports all Atheros Cardbus and PCI cards, except 
those

 that are based on the AR5005VL chipset.

I'm running:
box0=; uname -a
FreeBSD box0.my.domain 9.1-RC2 FreeBSD 9.1-RC2 #0 r241133: Tue Oct 2 
17:11:45 UTC 2012 
r...@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386


And my atheros card is supported.

box0=; dmesg | grep ath
ath0: Atheros 5424/2424 mem 0xd600-0xd600 irq 16 at device 0.0 
on pci2

ath0: AR2425 mac 14.2 RF5424 phy 7.0

___
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 now supports pkgng [/usr/ports/UPDATING]

2012-10-27 Thread Alexander Kapshuk

Quick question about portupgrade's support for pkgng.

The /usr/ports/UPDATING says:
20121015:
  AFFECTS: users of ports-mgmt/portupgrade
  AUTHOR: bdrew...@freebsd.org

  Portupgrade now supports pkgng. To use pkgng, enable it in your 
make.conf,

  and convert your databases.

  This is optional and not currently required.

  # make -C /usr/ports/ports-mgmt/pkg install clean
  # echo 'WITH_PKGNG=yes'  /etc/make.conf
  # pkg2ng
  # pkgdb -fu

Having done all of the above, I ran portupgrade to update all the pkgs 
that needed upgrading on my system, and got the message below:

root@box0:/root/tmp # portupgrade -varRP --batch -L '%s_%s'
USING PKGNG
Packages are not yet suported. Use pkg(8) directly.

That doesn't sound like portupgrade supports pkgng, or did I misread the 
message in the UPDATING file?


box0=; uname -a
FreeBSD box0.my.domain 9.1-RC2 FreeBSD 9.1-RC2 #0 r241133: Tue Oct 2 
17:11:45 UTC 2012 
r...@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386


Thanks.

Alexander Kapshuk.

___
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: Portupgrade now supports pkgng [/usr/ports/UPDATING]

2012-10-27 Thread Alexander Kapshuk
If my reading the code snippet below is right, portupgrade-2.4.10.2 does 
not support pkgng yet if pkgdb has been converted for use with pkgng 
using pkg2ng.


/usr/ports/ports-mgmt/portupgrade/work/pkgtools-2.4.10.2/bin/portupgrade:561,565
# FIXME: pkgng
  if $use_packages  $pkgdb.with_pkgng?
STDERR.puts Packages are not yet suported. Use pkg(8) directly.
return 0
  end


 Original Message 
Subject:re: Portupgrade now supports pkgng [/usr/ports/UPDATING]
Date:   Sat, 27 Oct 2012 21:22:32 +0300
From:   Alexander Kapshuk alexander.kaps...@gmail.com
To: freebsd-questions@freebsd.org



Quick question about portupgrade's support for pkgng.

The /usr/ports/UPDATING says:
20121015:
  AFFECTS: users of ports-mgmt/portupgrade
  AUTHOR: bdrew...@freebsd.org

  Portupgrade now supports pkgng. To use pkgng, enable it in your
make.conf,
  and convert your databases.

  This is optional and not currently required.

  # make -C /usr/ports/ports-mgmt/pkg install clean
  # echo 'WITH_PKGNG=yes'  /etc/make.conf
  # pkg2ng
  # pkgdb -fu

Having done all of the above, I ran portupgrade to update all the pkgs
that needed upgrading on my system, and got the message below:
root@box0:/root/tmp # portupgrade -varRP --batch -L '%s_%s'
USING PKGNG
Packages are not yet suported. Use pkg(8) directly.

That doesn't sound like portupgrade supports pkgng, or did I misread the
message in the UPDATING file?

box0=; uname -a
FreeBSD box0.my.domain 9.1-RC2 FreeBSD 9.1-RC2 #0 r241133: Tue Oct 2
17:11:45 UTC 2012
r...@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

Thanks.

Alexander Kapshuk.




___
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: Firefox install problem

2012-09-04 Thread Alexander Kapshuk

On 09/04/2012 08:11 PM, Mario Lobo wrote:

/bin/mv -f /usr/ports/www/firefox/work/fake/lib/pkgconfig
/usr/ports/www/firefox/work/fake/libdata/  || true
mv: rename /usr/ports/www/firefox/work/fake/lib/pkgconfig to
/usr/ports/www/firefox/work/fake/libdata/pkgconfig: No such file or
directory
/bin/rm -f /usr/ports/www/firefox/work/fake/lib/pkgconfig
   

This might help...

/usr/ports/UPDATING

20120726:
  AFFECTS: users of devel/pkg-config
  AUTHOR: b...@freebsd.org

  devel/pkg-config has been replaced by devel/pkgconf

  # portmaster -o devel/pkgconf devel/pkg-config
  or
  # portupgrade -fo devel/pkgconf pkg-config-\*

  pkgng:
  # pkg set -o devel/pkg-config:devel/pkgconf
  # pkg install -f devel/pkgconf

___
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: Firefox install problem

2012-09-04 Thread Alexander Kapshuk

On 09/04/2012 10:29 PM, Mario Lobo wrote:

Thank Alexander but been there, done that.

pkg_info | grep pkg
pkgconf-0.8.7 pkg-config compatible utility which does not depend on glib


Hopefully, somebody else on the list will be of more help than I have been.

___
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: Wrong version of sources?

2012-09-02 Thread Alexander Kapshuk

On 09/02/12 16:19, Walter Hurry wrote:

Thanks for the reply. No, I haven't rebuilt kernel and world, nor do I
intend to for the moment. I'm happy to stick with generic.
By using the RELENG_9 tag, you're tracking the STABLE development 
branch. By pulling in the sources for the STABLE development branch and 
rebuilding the kernel and the world by following the instructions given 
in the Handbook, you are sticking with the GENERIC kernel configuration, 
unless you build a custom kernel.


I'm still slightly confused by this tag stuff though; sorry (despite
perusal of the handbook). Are you saying that until RELENG_9_1 is made
available I won't be able to compile kernel modules? Or that I should
have a different tag in my standard-supfile?
That's right. RELENG_9_1 isn't available yet. The options available to 
you now, as far as I can tell, are:


(1). Do not recompile the kernel and the world, if you want to track 
9.1-RC, to be followed by RELENG_9_1, once it becomes available. You may 
use freebsd-update(8), to keep the system up-to-date by way of binary 
updates. Once release 9.1 is out, you may change RELENG_9 in your 
sup-file to RELENG_9_1, and then you'll be tracking the release branch 
and you'll be able to keep the kernel and the world up-to-date by way of 
source updates. Use pkg_add(1) to install VBox.


(2). Stick with RELENG_9, which is the STABLE development branch. Pull 
in the latest sources. Rebuild the kernel and the world. You may be 
prompted to rebuild the ports installed on your system as well. Use 
pkg_add(1) or the ports to install software.


If any one else on the list thinks otherwise, as they are more 
experienced folk on the list than I, I'd be happy to stand corrected.


Hope the above helps.

Alexander Kapshuk.


___
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: Wrong version of sources?

2012-09-01 Thread Alexander Kapshuk

On 09/02/2012 03:21 AM, Walter Hurry wrote:

My standard-
supfile (copied from examples with only the default host changed) says
'tag=RELENG_9'.
   

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvs-tags.html
RELENG_9
The line of development for FreeBSD-9.X, also known as FreeBSD 9-STABLE

You're running 9.1-RC1, which doesn't have the RELENG_9_1 tag available 
yet, as this is a release candidate. Thus the trouble when compiling 
VBox from sources.


Have you rebuilt your kernel and the world once you'd pulled in the 
sources for RELENG_9?


Anyway, that's my take on it.

Alexander Kapshuk.

___
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: /root/bin and /usr/local/i386-portbld-freebsd9.0

2012-08-31 Thread Alexander Kapshuk
I've found the two directories below on my system. I don't remember 
creating them. So I'd like to be able to find out what package(s) 
has/have created them, if possible.


# ls -ld /root/bin/
drwxr-xr-x  2 root  wheel  512 Aug 29 22:52 /root/bin/
# ls -Rl /root/bin/
total 0

# ls -dl /usr/local/i386-portbld-freebsd9.0
drwxr-xr-x  4 root  wheel  512 Jul  8 22:32 
/usr/local/i386-portbld-freebsd9.0


# ls -Rl /usr/local/i386-portbld-freebsd9.0
total 8
drwxr-xr-x  2 root  wheel  512 Jul  8 22:32 bin
drwxr-xr-x  3 root  wheel  512 Jul  8 22:32 lib

/usr/local/i386-portbld-freebsd9.0/bin:
total 10816
-r-xr-xr-x  2 root  wheel   604172 Jul  8 22:32 ar
-r-xr-xr-x  2 root  wheel  1036440 Jul  8 22:32 as
-r-xr-xr-x  4 root  wheel   879860 Jul  8 22:32 ld
-r-xr-xr-x  4 root  wheel   879860 Jul  8 22:32 ld.bfd
-r-xr-xr-x  2 root  wheel  3463684 Jul  8 22:32 ld.gold
-r-xr-xr-x  2 root  wheel   587808 Jul  8 22:32 nm
-r-xr-xr-x  2 root  wheel   733004 Jul  8 22:32 objcopy
-r-xr-xr-x  2 root  wheel  1098644 Jul  8 22:32 objdump
-r-xr-xr-x  2 root  wheel   604172 Jul  8 22:32 ranlib
-r-xr-xr-x  2 root  wheel   733004 Jul  8 22:32 strip

/usr/local/i386-portbld-freebsd9.0/lib:
total 4
drwxr-xr-x  2 root  wheel  1024 Jul  8 22:32 ldscripts

/usr/local/i386-portbld-freebsd9.0/lib/ldscripts:
total 228
-r--r--r--  1 root  wheel  7375 Jul  8 22:32 elf_i386.x
-r--r--r--  1 root  wheel  7158 Jul  8 22:32 elf_i386.xbn
-r--r--r--  1 root  wheel  7188 Jul  8 22:32 elf_i386.xc
-r--r--r--  1 root  wheel  7303 Jul  8 22:32 elf_i386.xd
-r--r--r--  1 root  wheel  7133 Jul  8 22:32 elf_i386.xdc
-r--r--r--  1 root  wheel  7123 Jul  8 22:32 elf_i386.xdw
-r--r--r--  1 root  wheel  7375 Jul  8 22:32 elf_i386.xn
-r--r--r--  1 root  wheel  4658 Jul  8 22:32 elf_i386.xr
-r--r--r--  1 root  wheel  6897 Jul  8 22:32 elf_i386.xs
-r--r--r--  1 root  wheel  6727 Jul  8 22:32 elf_i386.xsc
-r--r--r--  1 root  wheel  6717 Jul  8 22:32 elf_i386.xsw
-r--r--r--  1 root  wheel  4704 Jul  8 22:32 elf_i386.xu
-r--r--r--  1 root  wheel  7178 Jul  8 22:32 elf_i386.xw
-r--r--r--  1 root  wheel  7476 Jul  8 22:32 elf_i386_fbsd.x
-r--r--r--  1 root  wheel  7259 Jul  8 22:32 elf_i386_fbsd.xbn
-r--r--r--  1 root  wheel  7289 Jul  8 22:32 elf_i386_fbsd.xc
-r--r--r--  1 root  wheel  7404 Jul  8 22:32 elf_i386_fbsd.xd
-r--r--r--  1 root  wheel  7234 Jul  8 22:32 elf_i386_fbsd.xdc
-r--r--r--  1 root  wheel  7224 Jul  8 22:32 elf_i386_fbsd.xdw
-r--r--r--  1 root  wheel  7476 Jul  8 22:32 elf_i386_fbsd.xn
-r--r--r--  1 root  wheel  4682 Jul  8 22:32 elf_i386_fbsd.xr
-r--r--r--  1 root  wheel  6998 Jul  8 22:32 elf_i386_fbsd.xs
-r--r--r--  1 root  wheel  6828 Jul  8 22:32 elf_i386_fbsd.xsc
-r--r--r--  1 root  wheel  6818 Jul  8 22:32 elf_i386_fbsd.xsw
-r--r--r--  1 root  wheel  4728 Jul  8 22:32 elf_i386_fbsd.xu
-r--r--r--  1 root  wheel  7279 Jul  8 22:32 elf_i386_fbsd.xw
-r--r--r--  1 root  wheel   838 Jul  8 22:32 i386bsd.x
-r--r--r--  1 root  wheel   849 Jul  8 22:32 i386bsd.xbn
-r--r--r--  1 root  wheel   843 Jul  8 22:32 i386bsd.xn
-r--r--r--  1 root  wheel   642 Jul  8 22:32 i386bsd.xr
-r--r--r--  1 root  wheel   682 Jul  8 22:32 i386bsd.xu

Any pointers would be much appreciated.

Alexander Kapshuk.

___
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: /root/bin and /usr/local/i386-portbld-freebsd9.0

2012-08-31 Thread Alexander Kapshuk

On 08/31/12 22:26, lokada...@gmx.de wrote:
Which program do you use to upgrade/ build ports? 

portupgrade.

I had a look at the link you'd included in your previous email. I'm 
still unclear as to where the two directories came from.


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


Re: /root/bin and /usr/local/i386-portbld-freebsd9.0

2012-08-31 Thread Alexander Kapshuk

On 08/31/12 22:41, lokada...@gmx.de wrote:

I think it comes from portupgrade.
I use portmaster, but when i look at google, i found some thinks with 
portupgrade and portbld.

I think, portbld is building for some ports, but on different places.

Kick it (or rename it), look that all ok and make a upgrade, if 
available.

If one port need it, it will create it.

Understood. Thanks.

Any ideas about /root/bin?

___
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: /root/bin and /usr/local/i386-portbld-freebsd9.0

2012-08-31 Thread Alexander Kapshuk

On 08/31/2012 11:10 PM, lokada...@gmx.de wrote:

Not really. It looks like an error like my tool [.
I get this after i would go to head (in february?) and get back this 
linking.


No chance to get of it. Every new buildworld will look for it. :( 
No worries. I didn't think it was there when I first installed the 
system. So I thought I'd ask. /root/bin/ does seem to be defined in the 
$PATH environment variable for the root user account in both .cshrc and 
.profile.


Thanks for your prompt response.

___
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: built-in mic configuration [compaq presario laptop]

2012-08-25 Thread Alexander Kapshuk
I would like to be able to use the built-in mic to record audio and to 
use Skype with. An external mic seems to work out-of-the-box.


Any input would be appreciated.

:; uname -a
FreeBSD box2 9.0-RELEASE-p4 FreeBSD 9.0-RELEASE-p4 #0: Fri Aug 17 
21:53:39 EEST 2012 root@box2:/usr/obj/usr/src/sys/GENERIC  i386


:; dmesg | grep pcm
pcm0: HDA IDT 92HD75B3 PCM #0 Analog at cad 0 nid 1 on hdac0
pcm1: HDA NVidia (Unknown) PCM #0 Digital at cad 2 nid 1 on hdac0


___
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: built-in mic configuration [compaq presario laptop]

2012-08-25 Thread Alexander Kapshuk

On 08/25/12 19:26, Waitman Gobble wrote:

you need to specify the device, take a look at

# ls /dev/dsp*
/dev/dsp0.0/dev/dsp0.1/dev/dsp1.0/dev/dsp2.0 /dev/dsp2.1

for example, i can send audio output to headphone jack:
# mplayer -zoom -x 1280 -y 720 -fs -ao oss:/dev/dsp1 -mixer 
/dev/mixer2 /path/to/file


Haven't tried skype on FreeBSD but there should be a device setting. 
I've noticed that some machines seem to automatically switch, ie when 
I plug in headphones to the headphone jack or a mic into a microphone 
jack it just works. But other machines don't work automatically and 
I have to set the device manually as above. A simple way, you can try 
setting each device to see which one works. :)



# cat /dev/sndstat
FreeBSD Audio Driver (newpcm: 64bit 2009061500/amd64)
Installed devices:
pcm0: ATI R6xx (HDMI) (play)
pcm1: IDT 92HD81B1X (Analog 2.0+HP/2.0) (play/rec) default
pcm2: IDT 92HD81B1X (Analog Mic) (rec)

# mixer
Mixer vol  is currently set to  90:90
Mixer pcm  is currently set to  85:85
Mixer speaker  is currently set to 100:100
Mixer mic  is currently set to  67:67
Mixer mix  is currently set to   1:1
Mixer rec  is currently set to   1:1
Mixer ogainis currently set to 100:100
Recording source: mic

OK. Thanks.

I'll give that a try.

___
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: built-in mic configuration [compaq presario laptop]

2012-08-25 Thread Alexander Kapshuk

On 08/25/2012 09:50 PM, Matthias Apitz wrote:

For tests you might even record and playback the recorded with, for
example:

# dd if=/dev/dsp0 of=/tmp/recorded
# cat /tmp/recorded  /dev/dsp0

   

Thanks. I'll fiddle with that.

___
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: adding Mercurial CA Certificates

2012-08-20 Thread Alexander Kapshuk
How do I add an CA Certificate for Mercurial on FreeBSD please?

:; uname -a
FreeBSD box2 9.0-RELEASE-p4 FreeBSD 9.0-RELEASE-p4 #0: Fri Aug 17 21:53:39
EEST 2012 root@box2:/usr/obj/usr/src/sys/GENERIC  i386

:; pkg_info -xc mercurial | sed 1q
Information for mercurial-2.3:

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


Re: for the impatient: Linux LibreOffice works on FreeBSD

2012-07-19 Thread Alexander Kapshuk

On 07/19/12 09:41, Vaclav Kadlcik wrote:

Hi,

since there has been various issues building LibreOffice from
ports lately and not everyone can or wants follow all the patches
flying around, I'd like to share that the Linux binary build runs
fine for me.

I downloaded Linux' x86 tar package, did tar xf to get RPMs
and finally:
   for i in *rpm; do rpm2cpio $i | cpio -ivd; done
That created opt/libreoffice3.5. You can move where you like
and start it using libreoffice3.5/program/soffice.

(I'm tracking 9-STABLE with Linux compatibility enabled it this
matters.)

May this help someone lazy or impatient like me...
Oli
___
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
libreoffice-3.5.5
Just upgraded libreoffice to version 3.5.5 using ports. Didn't have any 
trouble installing is, nor upgrading it.


:; uname -a
FreeBSD box2 9.0-RELEASE-p3 FreeBSD 9.0-RELEASE-p3 #0: Tue Jun 12 
01:47:53 UTC 2012 
r...@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  i386


:; pkg_info -x libreoffice
Information for libreoffice-3.5.5

What sort of errors did you encounter while building the package using 
the ports?


___
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: for the impatient: Linux LibreOffice works on FreeBSD

2012-07-19 Thread Alexander Kapshuk

On 07/19/12 15:46, Robert Huff wrote:
Check the last few weeks of office@ and ports@; there are multiple 
people (including me) reporting problems, especially with 9.recent and 
-Current. Robert Huff 


Could be because I'm running the RELEASE version then.

___
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: Patch failed to apply cleanly [chromium-20.0.1132.57] FreeBSD 9.0-RELEASE

2012-07-12 Thread Alexander Kapshuk
When attempting to upgrade chromium-19.0.1084.56_1 to 
chromium-20.0.1132.57 on FreeBSD9.0 (FreeBSD box2 9.0-RELEASE FreeBSD 
9.0-RELEASE #0: Tue Jan  3 07:15:25 UTC 2012 
r...@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386), one of 
the patches failed to apply:

--
===  Applying extra patch /usr/ports/www/chromium/files/extra-patch-gcc
===  Applying FreeBSD patches for chromium-20.0.1132.57
patch:  malformed patch at line 15:  #if PLATFORM(CHROMIUM)
= Patch patch-third_party__WebKit__Source__WebCore__config.h failed to 
apply cleanly.

--
There seems to be a patch available that has been reported as having 
worked on a 9.0-RELEASE/amd64:

http://www.mail-archive.com/freebsd-chromium@freebsd.org/msg00340.html
-
www/chromium/files/patch-third_party__WebKit__Source__WebCore__config.h.orig 


2012-07-12 09:19:26.0 +
+++ www/chromium/files/patch-third_party__WebKit__Source__WebCore__config.h
2012-07-12 10:49:20.0 +
@@ -1,6 +1,6 @@
 third_party/WebKit/Source/WebCore/config.h.orig2012-05-30
10:05:35.0 +0300
-+++ third_party/WebKit/Source/WebCore/config.h 2012-06-05 
22:32:48.0

+0300
-@@ -127,6 +127,11 @@
+--- third_party/WebKit/Source/WebCore/config.h.orig2012-07-10
07:52:48.0 +
 third_party/WebKit/Source/WebCore/config.h 2012-07-12 
10:48:15.0

+
+@@ -127,6 +127,14 @@
  #define WTF_USE_NEW_THEME 1
  #endif // PLATFORM(MAC)
-
Is there a patch available to an x86 based system?

Thanks.

Alexander Kapshuk.

___
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: Port, Packages, and Patching, Upgrading

2011-12-20 Thread Alexander Kapshuk
you may want to look up this section of the handbook:
Chapter 5 Installing Applications: Packages and Ports

How to upgrade your applications is explained there;

long story short, there are three utilities i know of that may be used to
keep your applications up-to-date irrespective of the installation method;
they are portupgrade, portmanager and portmaster;
i personally use portupgrade; with this tool you may specify whether you
want you applications updated in the binary or in the source form;

hope this helps;

sasha

On Tue, Dec 20, 2011 at 8:19 AM, Allen unix.hac...@comcast.net wrote:

 Hi,

 I've been trying to find info about this, so I'm Hoping someone here
 will know about this; I use FreeBSD 8.2-RELEASE, and basically, the
 normal way I do things, is like this:

 I grab the CD, boot, and install the Base System. Once I've booted, I'll
 then use one of the two:

 pkg_add -r bunch of packages

 or

 sysinstall  Configure  Packages

 Then I go through the menus, and select what software I want, and,
 eventually, I'll tell it to start installing.

 Now, I've been reading about Ports more and more, and thought about
 maybe just using those instead, but even with upgrade_pkg from
 bsdaminscripts, I just can NOT seem to upgrade anything.

 I'd like to have my system fully patched, but most of the data I find,
 is about how to keep ports up to date, and has very little on Packages /
 Binaries.

 I don't think it matters much why I choose Binary Packages over Ports,
 I'm just looking to make sure the emails I get every once in a while on
 the root account will FINALLY not have a huge list of stuff that I need
 to either delete / uninstall, or upgrade and have no idea how.

 I mainly used Linux, so I AM a little more used to everything being
 patched at once, like Slackware, where you can type one command and
 install patches and stuff to everything you have installed, be it the
 Kernel, or an Xterm, or X itself, or Pidgin.

 Any of you that use pkg_add and Sysinstall to install packages, can you
 maybe describe what you do to install updates, Patches, or just in
 general, keep your system patched?

 I'd really appreciate that.

 -Allen
 ___
 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: Port, Packages, and Patching, Upgrading

2011-12-20 Thread Alexander Kapshuk
On Tue, Dec 20, 2011 at 11:40 AM, Allen unix.hac...@comcast.net wrote:

 On 12/20/2011 4:19 AM, Alexander Kapshuk wrote:
  you may want to look up this section of the handbook:
  Chapter 5 Installing Applications: Packages and Ports
 
  How to upgrade your applications is explained there;

 I actually am doing so right now. I started cleaning out the CPU cooling
 system on my old test machine, and after getting crap out of the Fan, I
 got it to boot, and started installing FreeBSD 8.2-RELEASE on it, then
 did a Net Install over FTP.

 While I let that run, I decided to start looking at the web site for
 FreeBSD, and reading up on Ports. I guess I'm on the right track, as you
 pretty much told me to do exactly what I was already doing right before
 checking my Email, so that's a great sign.

  long story short, there are three utilities i know of that may be used
  to keep your applications up-to-date irrespective of the installation
  method; they are portupgrade, portmanager and portmaster;
  i personally use portupgrade; with this tool you may specify whether you
  want you applications updated in the binary or in the source form;

 I'm currently reading about Portmanager, because I like the simple
 portmanager -u option I see. I'm going to probably try that one out
 first to see how it goes. Right now the machine is running portsnap
 fetch  portsnap extract  portsnap update

 Once that's done I'm going to start installing some stuff on it to try
 out. Hopefully FVWM2 works out; For some reason, my other FreeBSD
 install says it's installed but I can't use it. I'm probably going to
 just reinstall it because I LOVE it. I've been using Window Maker and
 Enlightenment mostly.

  hope this helps;
 
  sasha

 Thanks,

 -Allen


about FVWM2 not working on your other FreeBSD install...
i'm not sure how you set up your X11 system and your window manager, but
this section of the handbook, Chapter 6 The X Window System, has
instructions for setting up a desktop environment as well as a window
manager of your choice; it's a matter of specifying the path to the
executable for your window manager either in $HOME/.xsession or
in $HOME/.xinitrc depending on whether you use XDM or some other display
manager;

sasha
___
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: Setenv PACKAGESITE thepathtoftp, in boot time how to do it?

2011-11-30 Thread Alexander Kapshuk
you may want to define the PACKAGESITE variable in the .cshrc file in your
$HOME;


On Wed, Nov 30, 2011 at 1:27 PM, Edgar Rodolfo cybernaut...@gmail.comwrote:

 Hi guys, currently i have a machine with freebsd 9 rc2, for default
 when i try to use pkg_add -r wget, for example, i can not install
 because the path is
 freebsd# pkg_add -r xscreensaver
 Error: Unable to get

 ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-9-current/Latest/xscreensaver.tbz
 :
 File unavailable (e.g., file not found, no access)
 pkg_add: unable to fetch
 '
 ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-9-current/Latest/xscreensaver.tbz
 '
 by URL

 but i put :
 freebsd# setenv PACKAGESITE
 ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-9-stable/Latest/

 freebsd# pkg_add -r xscreensaver
 Fetching

 ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-9-stable/Latest/xscreensaver.tbz.
 ..
 Done.

 it works, pero i want to use for default, without put again it, when
 the machine reboot
 and i want to use again pkg i am puting the path manually :(, what is
 the file when i should put the path? to use pkg_add -r package?,
 without put again PACKAGESITE?, thank in advance!


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

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


re: freebsd-update upgrade -r 9.0-RC2: incorrect hash error [SOLVED]

2011-11-21 Thread Alexander Kapshuk

i'd like to call off my call for help with the problem reported below.

i was able to upgrade to 9.0-RC2 today without any trouble.

my internet connection got cut off temporarily as i was pulling the 
files. some of the files might have got corrupted or something.


 Original Message 
Subject:re: freebsd-update upgrade -r 9.0-RC2: incorrect hash error
Date:   Sun, 20 Nov 2011 20:57:50 +0200
From:   Alexander Kapshuk alexander.kaps...@gmail.com
To: freebsd-questions@freebsd.org



when performing a binary upgrade from 9.0-RC1 to 9.0-RC2 by following
the instructions found here:
http://lists.freebsd.org/pipermail/freebsd-current/2011-November/029373.html

i've had this error:

Applying patches... done.
Fetching 5612 files... gunzip: (stdin): unexpected end of file
137c71ff94c207e764b910e3b7dca9a4fe282e43104bdeb18af4377014033116 has
incorrect hash.

has anyone else has this error?

what can be done to fix it?

:; uname -a
FreeBSD localhost 9.0-RC1 FreeBSD 9.0-RC1 #0: Tue Oct 18 18:30:38 UTC
2011 r...@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386


thanks.

sasha kapshuk



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


Re: Problem with X

2011-11-06 Thread Alexander Kapshuk

On 11/06/2011 06:42 PM, Zantgo wrote:

The synaptics mouse and the keyboard not found when I tap startx in my user, 
this is the mensaje:

xauth: file /home/user/.Xauthority does not 
exist___
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
   

did you put this in your /etc/rc.conf:

hald_enable=YES
dbus_enable=YES

see 6.4.2 Configuring X11 of the handbook, 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-config.html, 
for details.


sasha

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


Re: Problem with X

2011-11-06 Thread Alexander Kapshuk

On 11/06/2011 07:36 PM, Zantgo wrote:


El 06-11-2011, a las 14:31, Alexander Kapshukalexander.kaps...@gmail.com  
escribió:

   

On 11/06/2011 06:42 PM, Zantgo wrote:
 

The synaptics mouse and the keyboard not found when I tap startx in my user, 
this is the mensaje:

xauth: file /home/user/.Xauthority does not 
exist___
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

   

did you put this in your /etc/rc.conf:

hald_enable=YES
dbus_enable=YES
 

Yes but does not yet work
   

see 6.4.2 Configuring X11 of the handbook, 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-config.html, for 
details.

sasha

___
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
 

did you restart 'hald' and 'dbus' after putting

hald_enable=YES
dbus_enable=YES


in your /etc/rc.conf?


___
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: trouble setting timezone for ukraine

2011-11-05 Thread Alexander Kapshuk

On 11/05/11 00:55, Lowell Gilbert wrote:

Alexander Kapshukalexander.kaps...@gmail.com  writes:


On 11/04/11 22:46, Lowell Gilbert wrote:

Alexander Kapshukalexander.kaps...@gmail.com   writes:


the actual current time is 10.21 pm.

Your system's clock may be off as well...


any idea when an updated time zone file will become available?

It's already in the FreeBSD tree:
http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/src/contrib/tzdata/europe?rev=1.7.2.2;content-type=text%2Fplain

To install it, you'll need something like
   # zic europe
(where europe is the file from the URL above)
and then tzsetup(8) should install the correct information.

Or you could update your system to anything after October 26.

thanks.

here's what i did based on my understanding of the instructions given above:
# cd $HOME
# fetch -o europe
http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/src/contrib/tzdata/europe?rev=1.7.2.2;content-type=text%2Fplain
# zic europe
# tzsetup -r

:; date
Sat Nov  5 00:54:32 EET 2011

the timezone did change from 'FET' to 'EET', but the time is still
wrong by being 1 hour ahead of the actual ukraine time.

another thing i tried, which didn't seem to help was set these
environment variables in my /etc/rc.conf:
(as suggested here: http://forums.freebsd.org/showthread.php?t=10276
[post # 6])

ntpdate_enable=YES
ntpdate_flags=-u -b
ntpdate_hosts=ua.pool.ntp.org

That will only do anything at startup.
To do the same thing without needing to reboot, the command line would be
  # ntpdate -u -b ua.pool.ntp.org


i must be doing something wrong. just don't know what is it.

can anyone please suggest what it is i should be doing?

Well, start with what I suggested a while back: try date -u
and see whether that is the correct UTC time.  If not, the ntpdate
command will solve you problems.  If it is, there's still something else
wrong.



thanks for your replies.

running 'date -u' indicated that the system clock on my machine was out 
of sync as well.


running 'ntpdate -u -b ua.pool.ntp.org' set both the system clock and 
the local time to the right time.


:; date -u
Sat Nov  5 07:24:23 UTC 2011
:; date
Sat Nov  5 09:24:26 EET 2011

then i read somewhere that 'ntpdate' is bound to become deprecated at 
some stage. it was suggested that 'ntpd' be used instead. so i removed 
the 'ntpdate' variables from my '/etc/rc.conf' and replaced them with:


:; grep ntpd /etc/rc.conf
ntpd_enable=YES
ntpd_sync_on_start=YES

http://www.freebsd.org/doc/handbook/network-ntp.html talks about 
modifying the '/etc/ntp.conf' file by adding information on what servers 
to use. it also said that 'By default, your NTP server will be 
accessible to all hosts on the Internet. The restrict option in 
/etc/ntp.conf allows you to control which machines can access your server'


i'm not sure i clearly understand what has to be done to make the ntp 
server on my system to be inaccessible to anyone but me.


a sample /etc/ntp.conf would be appreciated.

thanks.

sasha




___
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: trouble setting timezone for ukraine

2011-11-05 Thread Alexander Kapshuk

On 11/05/11 10:06, Matthew Seaman wrote:

On 05/11/2011 07:48, Alexander Kapshuk wrote:

i'm not sure i clearly understand what has to be done to make the ntp
server on my system to be inaccessible to anyone but me.

a sample /etc/ntp.conf would be appreciated.


You need the 'restrict' keyword to control access to ntpd -- add a block
something like this to the beginning of ntp.conf:

restrict default nomodify nopeer noquery notrap   # everyone can go away...
restrict -6 default nomodify nopeer noquery notrap
restrict 127.0.0.1   # except me ...
restrict -6 ::1
restrict 81.187.76.160 mask 255.255.255.248 nomodify notrap nopeer # or
the local net
restrict -6 2001:8b0:151:1:: mask ::::: nomodify notrap
nopeer

Except, obviously, replace the network addresses and netmasks in the
last two lines with appropriate settings for your environment.  See
ntp.conf(5).  Note these restrictions apply to outgoing as well as
incoming queries, so you can block your own access to NTP servers on the
net if not careful.

Cheers,

Matthew



understood. thanks.

sasha

___
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: trouble setting timezone for ukraine

2011-11-04 Thread Alexander Kapshuk
i'm based in ukraine. on 29 Oct 2011 ukraine went to winter time, i.e. 
we put our clocks one hour back.


the current time in ukraine is 8.49 pm; the output of 'date' is:

:; date
Fri Nov  4 22:49:48 FET 2011

i tried resetting my timezone via 'sysinstall', but to no avail.

do i use 'date' to set my system time to the right time, or is there a 
better way of doing it?


:; uname -a
FreeBSD localhost 9.0-RC1 FreeBSD 9.0-RC1 #0: Tue Oct 18 18:30:38 UTC 
2011 r...@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386


thanks.

sasha.


___
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: trouble setting timezone for ukraine

2011-11-04 Thread Alexander Kapshuk
On 11/04/11 22:15, Lowell Gilbert wrote:
 Ivan Klymenko fi...@ukr.net writes:

 В Fri, 04 Nov 2011 15:43:57 -0400
 Lowell Gilbert freebsd-questions-lo...@be-well.ilk.org пишет:

 Alexander Kapshuk alexander.kaps...@gmail.com writes:

 i'm based in ukraine. on 29 Oct 2011 ukraine went to winter time,
 i.e. we put our clocks one hour back.

 the current time in ukraine is 8.49 pm; the output of 'date' is:

 :; date
 Fri Nov  4 22:49:48 FET 2011

 i tried resetting my timezone via 'sysinstall', but to no avail.

 do i use 'date' to set my system time to the right time, or is
 there a better way of doing it?

 :; uname -a
 FreeBSD localhost 9.0-RC1 FreeBSD 9.0-RC1 #0: Tue Oct 18 18:30:38
 UTC 2011
 r...@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
 I think that your government changed its mind about staying on
 standard time this year, but only did so at the last minute.  So you
 probably have an outdated timezone file.  That would lead the
 computer to be one hour late rather than two, but it's probably a
 change you need to make.  Also check the system's time in UTC to see
 whether the clock itself is off.
 run tzsetup...
 He already did that, using sysinstall.  You can tell that he did it
 correctly because his date(1) output says FET which is the correct
 time zone for him.  His time zone file is, almost certainly, too old,
 and will remain so no matter how many times he reinstalls it.  I think
 the decision to change the rules was only made about two weeks ago, and
 the updated time zone file couldn't have been available until after
 that.  I believe the updated tzdata files were brought into the tree on
 October 25.

thank you all for replying to my email.

here's what i tried after reading your replies:

tzsetup /usr/share/zoneinfo/Europe/Kiev
tzsetup -r

didn't help. i believe that sysinstall calls tzsetup as well, but i
thought i'd try Ivan's suggestion anyway.

here's the output of 'date' i get now:

Sat Nov 5 00:21:52 FET 2011

the actual current time is 10.21 pm.

any idea when an updated time zone file will become available?

thanks.

sasha

___
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: trouble setting timezone for ukraine

2011-11-04 Thread Alexander Kapshuk

On 11/04/11 22:46, Lowell Gilbert wrote:

Alexander Kapshukalexander.kaps...@gmail.com  writes:


the actual current time is 10.21 pm.

Your system's clock may be off as well...


any idea when an updated time zone file will become available?

It's already in the FreeBSD tree:
http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/src/contrib/tzdata/europe?rev=1.7.2.2;content-type=text%2Fplain

To install it, you'll need something like
  # zic europe
(where europe is the file from the URL above)
and then tzsetup(8) should install the correct information.

Or you could update your system to anything after October 26.

thanks.

here's what i did based on my understanding of the instructions given above:
# cd $HOME
# fetch -o europe 
http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/src/contrib/tzdata/europe?rev=1.7.2.2;content-type=text%2Fplain

# zic europe
# tzsetup -r

:; date
Sat Nov  5 00:54:32 EET 2011

the timezone did change from 'FET' to 'EET', but the time is still wrong 
by being 1 hour ahead of the actual ukraine time.


another thing i tried, which didn't seem to help was set these 
environment variables in my /etc/rc.conf:
(as suggested here: http://forums.freebsd.org/showthread.php?t=10276 
[post # 6])


ntpdate_enable=YES
ntpdate_flags=-u -b
ntpdate_hosts=ua.pool.ntp.org


i must be doing something wrong. just don't know what is it.

can anyone please suggest what it is i should be doing?

thanks.

sasha

___
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: thefish-0.6.6_5 is marked as broken: does not build [FreeBSD9.0]

2011-10-22 Thread Alexander Kapshuk

howdy,

when attempting to build x11/gnome2-power-tools from ports on my 
FreeBSD9.0 desktop, the package failed to build spitting out the error 
message below: gnome2-power-tools-2.32.1_2 depends on executable:


thefish - not found === Verifying install for thefish in 
/usr/ports/sysutils/thefish === thefish-0.6.6_5 is marked as broken: 
does not build. *** Error code 1 Stop in /usr/ports/sysutils/thefish. 
*** Error code 1 Stop in /usr/ports/x11/gnome2-power-tools


:; uname -a FreeBSD localhost 9.0-BETA3 FreeBSD 9.0-BETA3 #0: Sat Sep 24 
20:46:57 UTC 2011 
r...@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386


is there a fix for this?

thanks.

Alexander Kapshuk
___
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