How to troubleshoot why ath0 can't connect to a passwordless wireless network?

2009-02-09 Thread Yuri
I have a wireless network without password that my linux box easily  
connects to.


On FreeBSD 'ifconfig ath0 up scan' command shows it. 'ifconfig ath0  
ssid my-ssid up' brings interface to 'associated' state. But  
dhclient fails set it up.


I have another device on the same system: ral0. It connect to this  
network without problems.


What can I do to understand what may be a problem with ath0 in my case?

Yuri


___
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: broken ports

2009-02-09 Thread Frank Shute
On Mon, Feb 09, 2009 at 07:30:44AM +, David Collins wrote:

  What does:
 
  $ ldconfig -r | grep gcc_s
 
  give you?
 
 
 viper:~$ ldconfig -r | grep gcc_s
 247:-lgcc_s.1 = /usr/local/lib/gcc-4.2.5/libgcc_s.so.1

On my FreeBSD 7.1-RELEASE-p2 amd64:

$ cc -v
Using built-in specs.
Target: amd64-undermydesk-freebsd
Configured with: FreeBSD/amd64 system compiler
Thread model: posix
gcc version 4.2.1 20070719  [FreeBSD]

and:

$ ldconfig | grep gcc_s
30:-lgcc_s.1 = /lib/libgcc_s.so.1

I think the problem is that somebody has installed a compiler out of
ports on your machine  it's associated libraries. See what cc -v
says.

It could be that it's invoking the system compiler (or not). Check:

$ pkg_info | grep gcc

aswell. Also look at /etc/make.conf  see if there's anything about
GCC_VERSION or something similar.

Regards,

-- 

 Frank 


 Contact info: http://www.shute.org.uk/misc/contact.html 

___
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: broken ports

2009-02-09 Thread David Collins
 I think the problem is that somebody has installed a compiler out of
 ports on your machine  it's associated libraries. See what cc -v
 says.

My cc is exactly the same as yours
viper:~$ cc -v
Using built-in specs.
Target: i386-undermydesk-freebsd
Configured with: FreeBSD/i386 system compiler
Thread model: posix
gcc version 4.2.1 20070719  [FreeBSD]


 It could be that it's invoking the system compiler (or not). Check:

 $ pkg_info | grep gcc

viper:~$ pkg_info | grep gcc
gcc-4.2.5_20080702  GNU Compiler Collection 4.2

This is different, does this mean that there is an alternate c
compiler on my system? If ithis is the case how can I fix this? I
don't know what I would have installed that would have required an
additional compiler?

 aswell. Also look at /etc/make.conf  see if there's anything about
 GCC_VERSION or something similar.

My make.conf doesn't have anything in it really

viper:~$ cat /etc/make.conf

PERL_VER=5.8.8
PERL_VERSION=5.8.8

WITHOUT_X11=yes
___
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: broken ports

2009-02-09 Thread Frank Shute
On Mon, Feb 09, 2009 at 09:08:28AM +, David Collins wrote:

  I think the problem is that somebody has installed a compiler out of
  ports on your machine  it's associated libraries. See what cc -v
  says.
 
 My cc is exactly the same as yours
 viper:~$ cc -v
 Using built-in specs.
 Target: i386-undermydesk-freebsd
 Configured with: FreeBSD/i386 system compiler
 Thread model: posix
 gcc version 4.2.1 20070719  [FreeBSD]

Good.

 
 
  It could be that it's invoking the system compiler (or not). Check:
 
  $ pkg_info | grep gcc
 
 viper:~$ pkg_info | grep gcc
 gcc-4.2.5_20080702  GNU Compiler Collection 4.2
 
 This is different, does this mean that there is an alternate c
 compiler on my system? If ithis is the case how can I fix this? 
 I don't know what I would have installed that would have required an
 additional compiler?

rtorrent installed it. From the rtorrent Makefile:

USE_GCC=4.2+

 
  aswell. Also look at /etc/make.conf  see if there's anything about
  GCC_VERSION or something similar.
 
 My make.conf doesn't have anything in it really
 
 viper:~$ cat /etc/make.conf
 
 PERL_VER=5.8.8
 PERL_VERSION=5.8.8
 
 WITHOUT_X11=yes

To use a different compiler you should have something in there IIRC to
tell the system to use it.

Doing a quick google, I think you can set:

CC=/usr/local/bin/gcc42

in /etc/make.conf (I might have got the name of the binary wrong, so
check it)

Then you should be able to build rtorrent.

Then what I'd do is deinstall gcc42:

# pkg_deinstall -f gcc-4.2.5_20080702  

Comment out the CC line in /etc/make.conf  run ldconfig:

# /etc/rc.d/ldconfig start

and hopefully your system is then back to normal.


Regards,

-- 

 Frank 


 Contact info: http://www.shute.org.uk/misc/contact.html 

___
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


gdm wont start

2009-02-09 Thread Brent Clark

Hiya

I upgraded to 7.1 and did a portupgrade and I think I broke something 
and for the likes of me .. I dont know how to fix this.


I havnt changed my /etc/rc.conf, and it all looks the same / untouched.

When ever I restart gdm I get the following.

** (gdm-binary:2646): WARNING **: Couldn't connect to system bus: Failed 
to connect to socket /var/run/dbus/system_bus_socket: No such file or 
directory


%grep gdm /etc/rc.conf
gdm_enable=YES

If anyone could assist I would really appreciate the assistance.

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


Intel Quad Port Bypass Adapter

2009-02-09 Thread Affan Basalamah
Hi all,

I just looked at Google and mailing list archive, but I still cannot
see satisfactory answer.

I would like to know if any of you has used Intel Quad Port Bypass
Adapter 
http://www.intel.com/network/connectivity/products/pro1000_quad_bypass_server_adapters.htm,
and I would like to use the card as bridging firewall with PF on
FreeBSD 7.1.

What I want to know is how do you configure this NIC :
- is it behave just like ordinary quad port card ? is there any
special configuration (ifconfig, sysctl) on the card ?
- is it okay if I just configure the card with if_bridge interface ?
- how do I configure the card to bypass the traffic if the bridging
firewall is put to shutdown ?

Pardon for my language,
Regards,

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


xorg and nvidia

2009-02-09 Thread Daniel Leal

Hi everyone!

I am trying to convince my girlfriend to use freebsd as a desktop in her 
(not so) old toshiba S2450-201 laptop. I use it in my toshiba A200 
laptop and it works fine.
I just install it in her laptop with a 30GB disk I have... Installation 
was fine. This laptop as a nvidia geforce4 420 go graphics board with 
32MB.
The setup of xorg.conf was made through Xorg -configure. I tested with 
startx and it worked. Then I installed the nvidia driver. I had to try 
all 3 driver versions and the only one that worked was 
nvidia-driver-71xx. Then reboot and then I run nvidia-xconfig. And 
startx... great, it worked! The nvidia logo appeared in the screen 
during xorg startup. Fine! Then I installed nvidia-settings. But when I 
try to run it it complains that it appear that I not using the NVIDIA X 
driver. But I am!!
It also said that NV-CONTROL extension version 1.6 is too old and the 
minimum required version is 1.11.

In my xorg.conf I have 1024x768 resolution, but xorg is with 800x600.
I also dont have the VSR and HSR for this laptop. I just cant find it 
anywhere...


Can someone help me with this please?

Here is my xorg.conf:

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (r...@dinamite)  Sat Feb  7 22:24:54 WET 2009

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

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

Section Module
   Load   dbe
   Load   extmod
   Load   glx
   Load   record
   Load   xtrap
   Load   freetype
   Load   type1
EndSection

Section InputDevice
   Identifier Keyboard0
   Driver kbd
EndSection

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

Section Monitor
   Identifier Monitor0
   VendorName Monitor Vendor
   ModelName  Monitor Model
EndSection

Section Device

   ### Available Driver options are:-
   ### Values: i: integer, f: float, bool: True/False,
   ### string: String, freq: f Hz/kHz/MHz
   ### [arg]: arg optional
   #Option SWcursor  # [bool]
   #Option HWcursor  # [bool]
   #Option NoAccel   # [bool]
   #Option ShadowFB  # [bool]
   #Option UseFBDev  # [bool]
   #Option Rotate# [str]
   #Option VideoKey  # i
   #Option FlatPanel # [bool]
   #Option FPDither  # [bool]
   #Option CrtcNumber# i
   #Option FPScale   # [bool]
   #Option FPTweak   # i
   #Option DualHead  # [bool]
   Identifier Card0
   Driver nvidia
   VendorName nVidia Corporation
   BoardName  NV17 [GeForce4 420 Go]
EndSection

Section Screen

   Identifier Screen0
   Device Card0
   MonitorMonitor0
   DefaultDepth16
   SubSection Display
   Viewport0 0
   Depth   16
   Modes  1024x768
   EndSubSection
EndSection


___
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


CUPS, initial PATH environment

2009-02-09 Thread Pieter Donche

If one installs CUPS as the printing system, one must use the
/usr/local/bin versions of lp, lpr, lpq and lprm instead of the
FreeBSD versions in /usr/bin, otherwise you get errors when using
the command line interface...

I could rename /usr/bin/lp, lpr, lpq, lprm to e.g. lp.origfreebsd, etc..
forcing the use of the /usr/local/bin versions
but this would oblige me to do that again after every FreeSBD upgrade.

Or I could put /usr/local/bin before /usr/bin in the path.
Two questions:
- is this a save thing to do (won't other things go wrong then?)
- if OK to do that, where can I change the path for every user, whatever
  shell (csh, sh, bash, tcsh, rbash) he uses?

/etc/profile, /etc/csh.* start-up files are shell-specific and as yet
distributed, only contain outcommented information, yet a newly created user 
(whether using csh of bash) has a following path / PATH set up:

/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin /usr/local/bin

Where is this path/PATH being set i.e. where can it be altered?

___
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: CUPS, initial PATH environment

2009-02-09 Thread Johan Hendriks


If one installs CUPS as the printing system, one must use the
/usr/local/bin versions of lp, lpr, lpq and lprm instead of the
FreeBSD versions in /usr/bin, otherwise you get errors when using
the command line interface...

I could rename /usr/bin/lp, lpr, lpq, lprm to e.g. lp.origfreebsd, etc..
forcing the use of the /usr/local/bin versions
but this would oblige me to do that again after every FreeSBD upgrade.

Or I could put /usr/local/bin before /usr/bin in the path.
Two questions:
- is this a save thing to do (won't other things go wrong then?)
- if OK to do that, where can I change the path for every user, whatever
   shell (csh, sh, bash, tcsh, rbash) he uses?

/etc/profile, /etc/csh.* start-up files are shell-specific and as yet
distributed, only contain outcommented information, yet a newly created user 
(whether using csh of bash) has a following path / PATH set up:
/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin /usr/local/bin

Where is this path/PATH being set i.e. where can it be altered?


If I recall correct you can you use the following in /etc/make.conf

CUPS_OVERWRITE_BASE=yes

Regards,
Johan Hendriks 


No virus found in this outgoing message.
Checked by AVG - www.avg.com 
Version: 8.0.233 / Virus Database: 270.10.19/1940 - Release Date: 02/08/09 
17:57:00
___
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: CUPS, initial PATH environment

2009-02-09 Thread Uwe Laverenz
On Mon, Feb 09, 2009 at 01:46:46PM +0100, Pieter Donche wrote:

 If one installs CUPS as the printing system, one must use the
 /usr/local/bin versions of lp, lpr, lpq and lprm instead of the
 FreeBSD versions in /usr/bin, otherwise you get errors when using
 the command line interface...
 
 I could rename /usr/bin/lp, lpr, lpq, lprm to e.g. lp.origfreebsd, etc..
 forcing the use of the /usr/local/bin versions
 but this would oblige me to do that again after every FreeSBD upgrade.

There is a flag for cups that should disable the commands in the base
system. Before installing cups you can add the following line to your
/etc/make.conf:

   CUPS_OVERWRITE_BASE=YES

And to prevent reinstallation during a system upgrade you can add the
following line to /etc/src.conf:

   WITHOUT_LPR=YES

bye,
Uwe

___
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


auditdonly works for console

2009-02-09 Thread Omer Faruk Sen
Hi,

I have tested audit subsystem with FreeBSD 7.1. But the weird thing is
that I only get commands that are executed on console not the ones
that are executed through ssh. Am I missing something here?
I have followed these steps:
http://www.freebsd.org/doc/en/books/handbook/audit-install.html

Regards.
___
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: xdm doesn't run as daemon

2009-02-09 Thread Anton Shterenlikht
On Fri, Feb 06, 2009 at 09:39:23PM +0100, Roger Olofsson wrote:
 
 
 Anton Shterenlikht skrev:
  After upgrades of 23-24 Jan 2009 xdm is not working:
  
  # xdm
  # ps ax|grep xdm
  75632  p1  S+ 0:00.01 grep xdm
  # cat /var/log/xdm.log
  #
  
  So no xdm daemon.
  
  My system: FreeBSD 6.4-STABLE alpha, xdm-1.1.8_1.
  
  Any ideas?
 
 Hi Anton,
 
 Tried detaching it?
 
 xdm 

It terminates straight away

# xdm 
[1] 82938
#
[1]Done  xdm
#

with empty /var/log/xdm.log

Perhaps I should check which libraries xdm is built with and
try to rebuild those? But I think I've done this already.

thanks anyway
anton

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 928 8233 
Fax: +44 (0)117 929 4423
___
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: gdm wont start

2009-02-09 Thread Anton Shterenlikht
On Mon, Feb 09, 2009 at 12:45:30PM +0200, Brent Clark wrote:
 Hiya
 
 I upgraded to 7.1 and did a portupgrade and I think I broke something 
 and for the likes of me .. I dont know how to fix this.
 
 I havnt changed my /etc/rc.conf, and it all looks the same / untouched.
 
 When ever I restart gdm I get the following.
 
 ** (gdm-binary:2646): WARNING **: Couldn't connect to system bus: Failed 
 to connect to socket /var/run/dbus/system_bus_socket: No such file or 
 directory
 
 %grep gdm /etc/rc.conf
 gdm_enable=YES
 
 If anyone could assist I would really appreciate the assistance.

similar things happended to me with firefox and kazehakase ports.
I never figured it out. I blame dbus and hal ports, but couldn't
investigate this fully as after the 23-24 Jan port upgrages my
X failed alltogether.

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 928 8233 
Fax: +44 (0)117 929 4423
___
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


zfs trauma from locate?

2009-02-09 Thread B. Cook
So I've been having much trauma with zfs and i386; but it seems it's 
been narrowed down to the 'weekend'.


We leave friday and come back monday, and monday this box is not working 
properly.  Nothing has crashed, it's just slow.. but there is no load on 
the box; just deathly slow.. 2+ minutes to log in at console for example.


A reboot fixes it and it's good for another week..

I think I have narrowed it down to the weekly locate job.

So tonight I'll run it by hand and see if the box dogs again.. but 
assuming that is it..


what can I do about *that*?

bootloader.conf:

 cat -n /boot/loader.conf
 1  autoboot_delay=4
 2  #vm.kmem_size_max=1024M
 3  #vm.kmem_size=1024M
 4  vm.kmem_size_max=512M
 5  vm.kmem_size=512M
 6  
 7  zfs_load=YES
 8  vfs.zfs.prefetch_disable=1
 9  vfs.root.mountfrom=zfs:tank/root
10  vfs.zfs.arc_max=100M
11  
12  accf_http_load=YES
13  accf_data_load=YES

CPU: Intel(R) Pentium(R) 4 CPU 2.80GHz (2800.11-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0xf41  Stepping = 1
Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE
  Features2=0x441dSSE3,DTES64,MON,DS_CPL,CNXT-ID,xTPR
  AMD Features=0x10NX
  Logical CPUs per core: 2
real memory  = 3212574720 (3063 MB)
avail memory = 3140112384 (2994 MB)
ACPI APIC Table: DELL   PE800   


Filesystem  SizeUsed   Avail Capacity  Mounted on
tank/root   104G 23M104G 0%/

devfs   1.0K1.0K  0B   100%/dev

/dev/ad4s1a 989M196M714M22%/bootdir

/dev/ad5s1a 989M257M653M28%/mnt/bootdir

procfs  4.0K4.0K  0B   100%/proc

tank/exports130G 26G104G20%/exports

tank/exports/squid  106G1.8G104G 2%/exports/squid

tank2/home  147G 55G 91G38%/home

tank/tmp104G256K104G 0%/tmp

tank/usr110G5.9G104G 5%/usr

tank/usr/obj104G640M104G 1%/usr/obj

tank/usr/ports  104G143M104G 0%/usr/ports

tank/usr/ports/distfiles104G189M104G 0% 
/usr/ports/distfiles


tank/usr/src104G156M104G 0%/usr/src

tank/var107G2.9G104G 3%/var

/exports/squid is where the squid cache is, (aufs fwiw), and /home has 
over 3k user accounts for samba.


wc -l /etc/passwd
3289 /etc/passwd

the kernel is a simple one:

# I commented out i486 and i586 in GENERIC
# and debugging

cpu I686_CPU
ident   GENERICplus

include GENERIC

options  DEVICE_POLLING
options  HZ=1000

options  KVA_PAGES=512

options ALTQ
options ALTQ_CBQ# Class Bases Queuing (CBQ)
options ALTQ_RED# Random Early Detection (RED)
options ALTQ_RIO# RED In/Out
options ALTQ_HFSC   # Hierarchical Packet Scheduler (HFSC)
options ALTQ_PRIQ   # Priority Queuing (PRIQ)
options ALTQ_NOPCC  # Required for SMP build

I have a simple pf.conf with some scrub and altq settings if anyone 
thinks it might help.


but like I said I'm pretty sure it's locate now..

clues or questions appreciated.



___
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: gdm wont start

2009-02-09 Thread cwt

Anton Shterenlikht wrote:

On Mon, Feb 09, 2009 at 12:45:30PM +0200, Brent Clark wrote:
  

Hiya

I upgraded to 7.1 and did a portupgrade and I think I broke something 
and for the likes of me .. I dont know how to fix this.


I havnt changed my /etc/rc.conf, and it all looks the same / untouched.

When ever I restart gdm I get the following.

** (gdm-binary:2646): WARNING **: Couldn't connect to system bus: Failed 
to connect to socket /var/run/dbus/system_bus_socket: No such file or 
directory


%grep gdm /etc/rc.conf
gdm_enable=YES

If anyone could assist I would really appreciate the assistance.



similar things happended to me with firefox and kazehakase ports.
I never figured it out. I blame dbus and hal ports, but couldn't
investigate this fully as after the 23-24 Jan port upgrages my
X failed alltogether.

  
on a similar problem with new gdm and dbus errors, i deleted/moved 
(backuped) all folders that have to do with .gconf or .gtk from my home 
directory. something worked for me, but i have no idea which.


give it a try and see how it goes?
___
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


using -t option with unix sort ?

2009-02-09 Thread Pavel Zelenov

This works:

sort -t `/bin/echo '\t'` 


___
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


CUPS - no german Umlaut characters

2009-02-09 Thread Ewald Jenisch
Hi,

After successfully setting up CUPS I found out a problem wrt printing
german Umlaut characters: Whenever I try to print a file with umlaut
characters the file is only printed up to not not including the first
umlaut characters. This happens for example when I take a text file
with umlaut characters and try to print it via lpr.

On the other hand, when I've got a web-page containing umlaut
characters under Firefox3 and print that page I get the complete page
- including umlaut characters.

Any ideas how I can get my umlauts to print via lpr?

Thanks much in advance for your help,
-ewald


___
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 Preferred RAID controllers

2009-02-09 Thread Gabe
--- On Sun, 2/8/09, Matthew Seaman m.sea...@infracaninophile.co.uk wrote:
 From: Matthew Seaman m.sea...@infracaninophile.co.uk
 Subject: Re: FreeBSD Preferred RAID controllers
 To: n...@att.net
 Cc: Wojciech Puchar woj...@wojtek.tensor.gdynia.pl, 
 freebsd-questions@freebsd.org
 Date: Sunday, February 8, 2009, 11:55 AM
 Gabe wrote:
  --- On Sun, 2/8/09, Wojciech Puchar
 woj...@wojtek.tensor.gdynia.pl wrote:
  
  From: Wojciech Puchar
 woj...@wojtek.tensor.gdynia.pl
 
  I have to build a file server that will need
 to run a
  RAID 0+1 config
 
 If you want reliability, then use RAID10, not RAID0+1.  For
 RAID10,
 you first create mirrored pairs of drives, then you stripe
 across all
 the mirrors.  This is superior to RAID0+1 where you divide
 your
 drives into two equal pools, create a stripe across all the
 drives in
 each pool, and then mirror the stripes.
 
 Raw to usable space ratio is the same, performance
 characteristics
 are similar and good either way (some workloads,
 particularly those
 involving lots of small random IOs are particularly
 favourable on
 RAID10 (eg like the usage pattern of most RDBMses) whereas
 sequentially  streaming large single files is happiest on
 RAID0+1
 (eg. recording or playing video streams)). However imagine
 a RAID
 consisting of 2N drives.  If one drive fails, then in
 RAID10, *one*
 of your N mirrors is degraded, and the rest work normally.
 In
 RAID0+1, it's one of the 2 *stripes* that is degraded
 -- effectively
 taking out half of your drives.  Or to put it another way:
 given
 one drive has already died and the RAID is degraded, in
 either
 scenario, just one more disk death can take the RAID out
 completely.
 However with RAID10 there's exactly 1 drive whose death
 could have
 that effect -- failure of any of the other 2N-2 drives will
 degrade
 the RAID further, but it will still keep working.  With
 RAID0+1 if
 the second disk to fail is any of the N drives from the
 other stripe,
 it will kill the whole RAID array.
 
  the best is gmirror+gstripe. of course for those
 who want
  to pay there are a lot of hardware
 solutions.
 
  Hey I'm all for saving money, but I'm unsure
 of the reliability of a
  'software' solution vs a hardware one. Not to
 mention my biggest
  concern which is the failure of the Boot drive and how
 to recover
  from that using software raid.
 
 Software striping and mirroring is extremely reliable --
 probably more
 so than using a hardware RAID card as there's simply
 less to go wrong.
 On the other hand hardware RAID offers some big performance
 advantages
 by being able to cache data in battery backed RAM[*] on the
 card, instead
 of requiring you to wait until it's been written to
 persistent storage on
 the drives themselves. 
 While you can certaily boot from a gmirror RAID1, I
 don't believe it's
 possible to boot from a gstripe -- but because this all
 works via the
 geom framework, you can create stripes / mirrors at the
 filesystem level
 -- so you can have a small separate RAID1 to boot from and
 to hold the
 OS (either a dedicated pair of disks, or a pair of equal
 sized partitions,
 and then create a RAID10 over the rest of the disks to hold
 your data.
 I believe there is no requirement for the component parts
 of a gstripe
 to all be the same size 
   Cheers,
 
   Matthew
 
 [*] For mirroring and striping, the only real justification
 for using
 hardware RAID is the performance benefit from the Battery
 Backup Unit on
 the RAID card.  For RAID5 while a BBU is a *really good
 idea* it can
 justify itself by offloading parity calculations from the
 main CPU.
 
 -- Dr Matthew J Seaman MA, D.Phil.   7
 Priory Courtyard
  Flat 3
 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
  Kent, CT11
 9PW

Thank you, this is a very well-written response and I appreciate the time you 
took to type it all up.

Now with a gstripe+gmirror setup, would it be possible to fail a specific drive 
on purpose? I mean fail a (good) drive, pull it out, replace it and rebuild(?) 
it. I know I know, but humor me.
___
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: CUPS - no german Umlaut characters

2009-02-09 Thread Peter Ulrich Kruppa

Ewald Jenisch schrieb:

Hi,

After successfully setting up CUPS I found out a problem wrt printing
german Umlaut characters: Whenever I try to print a file with umlaut
characters the file is only printed up to not not including the first
umlaut characters. This happens for example when I take a text file
with umlaut characters and try to print it via lpr.

On the other hand, when I've got a web-page containing umlaut
characters under Firefox3 and print that page I get the complete page
- including umlaut characters.

Any ideas how I can get my umlauts to print via lpr?

Try some sort of filter like print/enscript:
# enscript your_file
should get your Umlaut's.

Greetings,

Uli.



Thanks much in advance for your help,
-ewald


___
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: broken ports

2009-02-09 Thread David Collins
 Then you should be able to build rtorrent.

 Then what I'd do is deinstall gcc42:

 # pkg_deinstall -f gcc-4.2.5_20080702

 Comment out the CC line in /etc/make.conf  run ldconfig:

 # /etc/rc.d/ldconfig start

 and hopefully your system is then back to normal.

I tried all this and rtorrent would still not install, with the same
error at configure. I was however able to pkg_deinstall the gcc it
installed. That didn't solve any problems though.

I feel that it might be easier to focus on the following compiling
problem that still exists:

viper:~$ gcc -o hello hello.c
/usr/bin/ld: cannot find -lgcc_s
___
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: Shrink a Slice? FreeBSD 7.1

2009-02-09 Thread perikillo
  Thanks for your great info, the only problem is that I don't want to
cause any trouble to my current system and I needed to fix this quickly.
  I already install the system and everything is working, I have to built a
system and test your procedure step by step.

   This info u give to us is very important, I had done this with Linux
before, and is easy, but with FreeBSD is the first time I need to do this.

   I will let u know my results ASAP.

   Thanks again for your help Jerry.


On Thu, Feb 5, 2009 at 2:23 PM, Jerry McAllister jerr...@msu.edu wrote:

 On Thu, Feb 05, 2009 at 12:19:13PM -0800, perikillo wrote:

 Hi people.
 I have been googling without any good info about: How to shrink a
 slice?
 
 Case: I installed a new server for mysql, is working, I already
 install
  all the ports I need, them I spend a lot of hours yesterday with this
 baby,
  now this is my current disk layout:
 
  /dev/ad0s1a on / (ufs, local, noatime, soft-updates)
  devfs on /dev (devfs, local)
  /dev/ad0s1f on /tmp (ufs, local, noatime, soft-updates)
  /dev/ad0s1d on /usr (ufs, local, noatime, soft-updates)
  /dev/ad0s1e on /var (ufs, local, noatime, soft-updates)
  /dev/ad0s1g on /backups (ufs, local, soft-updates)
 
 What I want to do is to shrink the slice /dev/ad0s1g

   /dev/ad0s1g is a partition, not a slice.
  /dev/ad0s1 is the slice.

 MicroSloth usage of the terms is different and confuses people sometimes.

 As far as I know neither growfs(8) nor tunefs(8) can shrink the disk
 allocated to a partition.

 The only way is to dump each of the filesystems to some other
 reliable media (maybe tape or a large USB disk) and then repartition
 that slice to be the sizes you want.Use dump(8) to make the dumps
 and then check the dump files out before starting the repartitioning.

 First you have to build a filesystem on the USB drive.
 You should be able to use bsdlabel to create a single partition
 that covers the whole drive.

 But, if your FreeBSD or BIOS is old enough it might not go that big,
 so you will need to break it down in to smaller slices and make a
 partition in each.  (I have had to do that.  But if it is 7.xx it
 should not be necessary)  To break it up, get the  gparted  utility.
 Download its boot image and use it to break up the USB disk in to
 slices that your FreeBSD will handle.  You need to have it make all
 what it calls (in the MS way) Primary Partitions, but those are what
 are called slices in FreeBSD land.

 Don't get tempted to use gparted to shrink your ad0s1 slice because
 it will not work right.   That will just trash the current partitions.
 It is not what you are looking for.

 Either if your FreeBSD will handle the whole USB or after you have it
 broken up, then build a partition on each slice of the USB using bsdlabel.
 Don't make it bootable or write a boot sector on it.  Then run newfs(8)
 on it to make a filesystem.
 This bsdlabel and newfs can be done while the system is running.

 Then, take the system down and run the dumps.You can do the dumps
 from single user mode or boot a fixit image from the install CD.
 You will need to do the repartitioning and restore the dumps from
 the fixit anyway so you could just start there.
 Boot the machine from the fixit disk - create a 'holographic' image as
 they call it.   Fixit is usually on disc1.

 Run the dumps.
 Lets say you are doing the dumps to a USB drive that comes up
 as /dev/da0 in the fixit boot and your current disk still is
 comes up with the name  /dev/ad0 .

 First, make up mount points for all your filesystems that you want to
 dump plus for the filesystem[s] on the USB drive.
 NOTE: That the fixit runs from a memory resident filesystem so whatever
  you create there will disappear on boot.

 Anyway, skip dumping /tmp and /dev is a pretend filesystem.

 mkdir /oldroot
 mkdir /oldusr
 mkdir /oldvar
 mkdir /oldbkup

 mkdir /usbdrive

 (You can actually make the dumps from the devices rather than mounting
  them, but I have never gotten in to that habit)

 Mount those partitions

 mount /dev/ad0s1a /oldroot
 mount /dev/ad0s1d /oldusr
 mount /dev/ad0s1e /oldvar
 mount /dev/ad0s1g /oldbkup

 mount /dev/da0s1 /usbdrive(This device name might be different
 depending on how you make it.   Some possibilities are:
  /dev/da0s1If you just newfs the slice without making a partition
 in it
  /dev/da0s1a  If you make a slice with fdisk and a partition with
 bsdlabel
  /dev/da0aIf you make a partition with bsdlabel without making a
 slice

 Now do the dumps

 dump 0af /usbdrive/rootdump /oldroot
 dump 0af /usbdrive/usrdump /oldusr
 dump 0af /usbdrive/vardump /oldvar
 dump 0af /usbdrive/bkupdump /oldbkup

 This will take a while depending on media you use.
 By the way, to tape it would go to /dev/nsa0 rather than /usbdrive/oldroot,
 etc

 Once the dumps are done, you may want to reboot and mount that USB
 drive or read the tape and look at the dumps to make sure they can
 be read. 

Re: gtkpod permissions problem

2009-02-09 Thread Tim Judd
On Sun, Feb 8, 2009 at 7:46 PM, Rem P Roberti remeg...@comcast.net wrote:

  Rem P Roberti remeg...@comcast.net writes:
 
   I have installed gtkpod for use with my Nano, but I'm having a problem
   when trying to add files.  The Nano is mounted at /mnt/ipod, and when I
   try to add a file I get a message similar to this:
  
   Transfer of 'Petite Fleur' failed. Error opening
   '/mnt/ipod/iPod_Control/Music/F00/gtkpod795096.mp3' for writing
   (Permission denied).
  
   The file, in this case Petite Fleur, shows up in gtkpod, but it can't
 be
   written to the Nano.  This obviously looks like a permissions problem,
   but I can't figure out its cause.
 
  Look at the permissions on that file, and the directory containing it,
  and the mount point.  I'm sure at least one of them isn't sufficiently
  permitted to the user running gtkpod.

 You were quite right.  I was dealing with a Nano that already had files
 on it installed by iTunes.  Nothing that I could do, even as root, would
 allow me to change the permissions of /mnt/ipod.  To make a long story
 short, I cleared the Nano of all previously installed files, and started
 from zero with gtkpod and now everything works smoothly.  I'm still not
 sure why I wasn't able to change the permissions of the mounted Nano as
 su, but I guess that is typical when dealing with mounted devices.

 --Rem


Depending on the filesystem of the iPod itself -- for example an MSDOS/FAT
format will set a UID/GID on mount, and no chown will hold.

umount /mnt/ipod
chown root:wheel /mnt/ipod
chmod 0777 /mnt/ipod
# optionally, set it sticky bit, chmod 1777 /mnt/ipod
mount /dev/ipod /mnt/ipod


now try to access the files.

I am aware the problem was previously fixed, but for the archives among
other reasons, I felt compelled to reply.

Enjoy your iPod.
___
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


all mail arriving empty - spamassassin?

2009-02-09 Thread David Banning
After some upgrades, all mail arriving via sendmail-provmail is
empty - when I actually deinstall spamassassin - the mail starts
arriving again.

I haven't seen posts on this topic - I wonder if anyone has a guess as to 
where to look for answers on this.

I am guessing if there is some way of logging what spamassassin is doing...

___
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: gtkpod permissions problem

2009-02-09 Thread Rem P Roberti
 
  
I have installed gtkpod for use with my Nano, but I'm having a problem
when trying to add files.  The Nano is mounted at /mnt/ipod, and when I
try to add a file I get a message similar to this:
   
Transfer of 'Petite Fleur' failed. Error opening
'/mnt/ipod/iPod_Control/Music/F00/gtkpod795096.mp3' for writing
(Permission denied).
   
The file, in this case Petite Fleur, shows up in gtkpod, but it can't
  be
written to the Nano.  This obviously looks like a permissions problem,
but I can't figure out its cause.
  
   Look at the permissions on that file, and the directory containing it,
   and the mount point.  I'm sure at least one of them isn't sufficiently
   permitted to the user running gtkpod.
 
  You were quite right.  I was dealing with a Nano that already had files
  on it installed by iTunes.  Nothing that I could do, even as root, would
  allow me to change the permissions of /mnt/ipod.  To make a long story
  short, I cleared the Nano of all previously installed files, and started
  from zero with gtkpod and now everything works smoothly.  I'm still not
  sure why I wasn't able to change the permissions of the mounted Nano as
  su, but I guess that is typical when dealing with mounted devices.
 
 
 Depending on the filesystem of the iPod itself -- for example an MSDOS/FAT
 format will set a UID/GID on mount, and no chown will hold.
 
 umount /mnt/ipod
 chown root:wheel /mnt/ipod
 chmod 0777 /mnt/ipod
 # optionally, set it sticky bit, chmod 1777 /mnt/ipod
 mount /dev/ipod /mnt/ipod
 
 
 now try to access the files.
 
 I am aware the problem was previously fixed, but for the archives among
 other reasons, I felt compelled to reply.

Thanks for the reply, but I am unable to get this to work regardless of the
method employed.  Every time I try to change the permissions I get an
error message telling me that I am using an invalid argument.

--Rem
___
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: all mail arriving empty - spamassassin?

2009-02-09 Thread RW
On Mon, 9 Feb 2009 15:43:21 -0500
David Banning da...@skytracker.ca wrote:

 After some upgrades, all mail arriving via sendmail-provmail is
 empty - when I actually deinstall spamassassin - the mail starts
 arriving again.
 
 I haven't seen posts on this topic - I wonder if anyone has a guess
 as to where to look for answers on this.

There is a problem where spamassassin is dying with SIGPIPE, but
returning a non-zero error code.

If you are using /usr/local/bin/spamassassin (i.e. not spamd), try
editing it and changing sub kill_handler to exit with a non-zero
value.
___
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: broken ports

2009-02-09 Thread Frank Shute
On Mon, Feb 09, 2009 at 07:52:58PM +, David Collins wrote:

  Then you should be able to build rtorrent.
 
  Then what I'd do is deinstall gcc42:
 
  # pkg_deinstall -f gcc-4.2.5_20080702
 
  Comment out the CC line in /etc/make.conf  run ldconfig:
 
  # /etc/rc.d/ldconfig start
 
  and hopefully your system is then back to normal.
 
 I tried all this and rtorrent would still not install, with the same
 error at configure. I was however able to pkg_deinstall the gcc it
 installed. That didn't solve any problems though.
 
 I feel that it might be easier to focus on the following compiling
 problem that still exists:
 
 viper:~$ gcc -o hello hello.c
 /usr/bin/ld: cannot find -lgcc_s

What this is telling you is the linker, ld(1), can't find the gcc_s
library. ldconfig(8) tells ld where to look.

What does:

$ ldconfig -r | grep gcc_s

tell you now that you've removed that compiler? You should get
something like:

$ ldconfig -r | grep gcc_s
30:-lgcc_s.1 = /lib/libgcc_s.so.1

i.e. It's looking in the system libs.

If it still tells you that the lib is under /usr/local/lib, then
there's your problem  you have to regenerate a fresh hints file, I
think.

The problem is that I've never (IIRC) installed a compiler from
ports  I don't know how it screws with the compiler toolchain  hence
how to put it right. Hence, I've cc'd this to hackers@ in the hope that
someone who is more familiar with the toolchain can give advice.


Regards,

-- 

 Frank 


 Contact info: http://www.shute.org.uk/misc/contact.html 

___
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: broken ports

2009-02-09 Thread David Collins
Thank you for your input. I feel like this problem is too far over my
head to be able to give adequate enough debugging.

I am not against any alternative methods of resolving this (even
removing and reinstalling ports) rather than fixing, I just don't want
to have to jump into sysinstall or reinstall because i believe that is
a soluion.

David

On 09/02/2009, Frank Shute fr...@shute.org.uk wrote:
 On Mon, Feb 09, 2009 at 07:52:58PM +, David Collins wrote:

  Then you should be able to build rtorrent.
 
  Then what I'd do is deinstall gcc42:
 
  # pkg_deinstall -f gcc-4.2.5_20080702
 
  Comment out the CC line in /etc/make.conf  run ldconfig:
 
  # /etc/rc.d/ldconfig start
 
  and hopefully your system is then back to normal.

 I tried all this and rtorrent would still not install, with the same
 error at configure. I was however able to pkg_deinstall the gcc it
 installed. That didn't solve any problems though.

 I feel that it might be easier to focus on the following compiling
 problem that still exists:

 viper:~$ gcc -o hello hello.c
 /usr/bin/ld: cannot find -lgcc_s

 What this is telling you is the linker, ld(1), can't find the gcc_s
 library. ldconfig(8) tells ld where to look.

 What does:

 $ ldconfig -r | grep gcc_s

 tell you now that you've removed that compiler? You should get
 something like:

 $ ldconfig -r | grep gcc_s
 30:-lgcc_s.1 = /lib/libgcc_s.so.1

 i.e. It's looking in the system libs.

 If it still tells you that the lib is under /usr/local/lib, then
 there's your problem  you have to regenerate a fresh hints file, I
 think.

 The problem is that I've never (IIRC) installed a compiler from
 ports  I don't know how it screws with the compiler toolchain  hence
 how to put it right. Hence, I've cc'd this to hackers@ in the hope that
 someone who is more familiar with the toolchain can give advice.


 Regards,

 --

  Frank


  Contact info: http://www.shute.org.uk/misc/contact.html


___
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: all mail arriving empty - spamassassin?

2009-02-09 Thread RW
On Mon, 9 Feb 2009 21:27:01 +
RW rwmailli...@googlemail.com wrote:

 On Mon, 9 Feb 2009 15:43:21 -0500
 David Banning da...@skytracker.ca wrote:
 
  After some upgrades, all mail arriving via sendmail-provmail is
  empty - when I actually deinstall spamassassin - the mail starts
  arriving again.
  
  I haven't seen posts on this topic - I wonder if anyone has a guess
  as to where to look for answers on this.
 
 There is a problem where spamassassin is dying with SIGPIPE, but
 returning a non-zero error code.
 
that should have been returning a zero error code


 If you are using /usr/local/bin/spamassassin (i.e. not spamd), try
 editing it and changing sub kill_handler to exit with a non-zero
 value.
___
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


ipv6 and freebsd

2009-02-09 Thread gahn
Hi all:
 
Free questions with FreeBSD and IPV6. I am running 7.1.
 
1) My machine has multiple interfaces and some of interfaces I would like to 
run IP v6 but not all of them. How could I do that? Currently 
ipv6_enable=YES enables every interface of this machine, and 
ipv6_network_interface=fxp0 doesn't seem to do anything.
2) I have a router that is running IPv6 router-advertisement. How could I run 
autoconfiguration mode on the interface of my FreeBSD machine?

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: How to troubleshoot why ath0 can't connect to a passwordless wireless network?

2009-02-09 Thread Paul B. Mahol
On 2/9/09, Yuri y...@rawbw.com wrote:
 I have a wireless network without password that my linux box easily
 connects to.

 On FreeBSD 'ifconfig ath0 up scan' command shows it. 'ifconfig ath0
 ssid my-ssid up' brings interface to 'associated' state. But
 dhclient fails set it up.

 I have another device on the same system: ral0. It connect to this
 network without problems.

 What can I do to understand what may be a problem with ath0 in my case?

 Yuri


 ___
 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


wlandebug(8) for general 802.11 debuging

ath driver have it's own debug options ... documented in source code 

-- 
Paul
___
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 Preferred RAID controllers

2009-02-09 Thread Matthew Seaman

Gabe wrote:


Now with a gstripe+gmirror setup, would it be possible to fail a
specific drive on purpose? I mean fail a (good) drive, pull it out,
replace it and rebuild(?) it. I know I know, but humor me.


Yes.

Cheers,

Matthew

Well, to 'fail' the drive, you'ld have to physically pull the drive
from the chassis which will involve a power cycle unless you've got
hot-swap drives.  Of course, you should confirm that your system will
boot with the RAID in a degraded state and that rebuilding the RAID will
continue even if interrupted by a reboot.  gmirror(8) passes those
tests.  You do have to type some commands to get a mirror to rebuild
(examples are shown in the man page) unlike some hardware RAIDs where
simply inserting an unused disk is sufficient.

--
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
 Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
 Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


Re: installkernel on small disk

2009-02-09 Thread Albert Shih
 Le 08/02/2009 à 01:51:50-0700, Tim Judd a écrit
 Albert Shih wrote:
  Hi all
  
  I've two servers (in fact guest in vmware) on don't have enought disk space
  to make buildkernel (or world).
  
  For the world freebsd-update can work. But for the kernel I've my own
  kernel.
  
  So if I compile the kernel on the other server how can I put it on the
  first ?
  
  Regards.
  
  
 
 With an NFS mount, with sneakernet, or scp.
 On the machine with enough disk space:
   make buildkernel installkernel DESTDIR=/nfsmount KERNCONF=otherkernel 
 #hackish and i'd be worried of this.  It will force a backup of the 
 running kernel to the remote /boot/kernel.old
 
 I'd recommend:
   make buildkernel installkernel DESTDIR=/tmp KERNCONF=otherkernel
   tar -czf /tmp/otherkernel.tgz /tmp/boot/kernel
   # bring the otherkernel.tgz file to the machine, maybe by usb stick, 
 and extract.  don't forget to tar -xz*p*f  (permissions)

Thanks.

But in that case why I can't just do

cd /boot
tar czvf some_place/kernel.tgz kernel

and just transfert the kernel.tgz and make the tar xpf ? 

 
 How thin on disk space are you?

2 Go for everything But I can mount by NFS more space (very more). 

Thanks for the answer.

Regards.
-- 
Albert SHIH
SIO batiment 15
Observatoire de Paris Meudon
5 Place Jules Janssen
92195 Meudon Cedex
Heure local/Local time:
Mar 10 fév 2009 00:26:02 CET
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


xorg 7.4: button fonts unreadable ...

2009-02-09 Thread Marc G. Fournier


Have searched Google, but haven't been able to find anything that either 
worked, or was relevant ... I just cleaned out and reinstalled all of my 
ports ... when I load up an xterm (the one I'm working in right now), all 
the text in it is fine and readable ... but, the top of the xterm, where 
it has the 'xterm icon' and some writing to the right of it, the writing 
is unreadable ...


If I load up firefox3, the web pages are viewable and readable, but stuff 
like the location bar are unreadable (I have to hope I type without making 
a mistake) ...


I'm not sure what to look at ... have checked the output from starting X, 
and not seeing anything font related ...


Help?


Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email . scra...@hub.org  MSN . scra...@hub.org
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: How to troubleshoot why ath0 can't connect to a passwordless wireless network?

2009-02-09 Thread Yuri

Quoting Paul B. Mahol one...@gmail.com:


wlandebug(8) for general 802.11 debuging

ath driver have it's own debug options ... documented in source code 



Thanks!

In the debug log I see the line:
ath0: ieee80211_scan_update: no scanner suppport for mode 8
From source code I see that mode 8 is IEEE80211_M_MONITOR.
As I understand in 'monitor' mode no packets are being sent or received.
When I try to turn it off with 'ifconfig ath0 -monotor' interface  
still seems to stay in monitor mode.


Why wouldn't -monitor turn monitor mode off?

Yuri


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


Re: xorg 7.4: button fonts unreadable ...

2009-02-09 Thread Thomas Dickey
On Mon, Feb 09, 2009 at 07:28:58PM -0400, Marc G. Fournier wrote:
 
 Have searched Google, but haven't been able to find anything that either 
 worked, or was relevant ... I just cleaned out and reinstalled all of my 
 ports ... when I load up an xterm (the one I'm working in right now), all 
 the text in it is fine and readable ... but, the top of the xterm, where 
 it has the 'xterm icon' and some writing to the right of it, the writing 
 is unreadable ...

Basically, the xorg hackers decided to improve your user experience by
lobotomizing the fonts - I modified xterm to recover from that by falling
back to fixed (I'm unsure why they left that intact).

However, window titles are owned by your window manager.
 
 If I load up firefox3, the web pages are viewable and readable, but stuff 
 like the location bar are unreadable (I have to hope I type without making 
 a mistake) ...
 
 I'm not sure what to look at ... have checked the output from starting X, 
 and not seeing anything font related ...

Best advice is to locate the misc fonts (or whatever it's called in
FreeBSD) and install those.  That'll work until the next improvement to
the X server's font handling.

-- 
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net


pgpMvHElJM74r.pgp
Description: PGP signature


Re: How to troubleshoot why ath0 can't connect to a passwordless wireless network?

2009-02-09 Thread Adam Vande More

Yuri wrote:

Quoting Paul B. Mahol one...@gmail.com:


wlandebug(8) for general 802.11 debuging

ath driver have it's own debug options ... documented in source code 





Thanks!

In the debug log I see the line:
ath0: ieee80211_scan_update: no scanner suppport for mode 8
From source code I see that mode 8 is IEEE80211_M_MONITOR.
As I understand in 'monitor' mode no packets are being sent or received.
When I try to turn it off with 'ifconfig ath0 -monotor' interface 
still seems to stay in monitor mode.


Why wouldn't -monitor turn monitor mode off?

Yuri
Perhaps it is just a typo but shouldn't it be 'ifconfig ath0 -monitor' 
instead of 'ifconfig ath0 -monotor'

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


Re: xorg 7.4: button fonts unreadable ...

2009-02-09 Thread Marc G. Fournier


So, if I backtrack to 7.3.x, I should be fine?

On Mon, 9 Feb 2009, Thomas Dickey wrote:


On Mon, Feb 09, 2009 at 07:28:58PM -0400, Marc G. Fournier wrote:


Have searched Google, but haven't been able to find anything that either
worked, or was relevant ... I just cleaned out and reinstalled all of my
ports ... when I load up an xterm (the one I'm working in right now), all
the text in it is fine and readable ... but, the top of the xterm, where
it has the 'xterm icon' and some writing to the right of it, the writing
is unreadable ...


Basically, the xorg hackers decided to improve your user experience by
lobotomizing the fonts - I modified xterm to recover from that by falling
back to fixed (I'm unsure why they left that intact).

However, window titles are owned by your window manager.


If I load up firefox3, the web pages are viewable and readable, but stuff
like the location bar are unreadable (I have to hope I type without making
a mistake) ...

I'm not sure what to look at ... have checked the output from starting X,
and not seeing anything font related ...


Best advice is to locate the misc fonts (or whatever it's called in
FreeBSD) and install those.  That'll work until the next improvement to
the X server's font handling.

--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net




Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email . scra...@hub.org  MSN . scra...@hub.org
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: xorg 7.4: button fonts unreadable ...

2009-02-09 Thread Thomas Dickey
On Mon, Feb 09, 2009 at 08:58:12PM -0400, Marc G. Fournier wrote:
 
 So, if I backtrack to 7.3.x, I should be fine?

that sounds like it (I don't keep track of the version numbers).

-- 
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net


pgpIAaiseBBGi.pgp
Description: PGP signature


xorg 7-current ( kde || nvidia driver ) == desktop crash

2009-02-09 Thread Marc G. Fournier



Okay, I've exhausted every google search I can think of, and not getting 
anywhere, so now to ask ...


Just upgraded my motherboard / CPU (old one fried out) ... picked up an ASUS 
P5Q with a Quad Core Intel CPU ... everything boots / runs fine, until I try 
and start up X ...


If I use the 'nv' driver in my X conig file, and the twm window manager, 
everything starts up fine, I can load Firefox, etc, etc ...


As soon as I switch from nv - nvidia and start, the screen goes blank and the 
machine reboots ...


If I switch from nvidia - nv and use '/usr/local/kde4/bin/startkde', the 
screen goes blank, and the machine reboots ...


I just installed icewm, and using that, everything loads up fine too ...

So, I figure there is something that I'm either missing in my install, or that 
I've configured wrong that kde is trying to use, but I'm at a lose as to what 
...


Can anyone help?

Thanks ...




Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email . scra...@hub.org  MSN . scra...@hub.org
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: xorg 7-current ( kde || nvidia driver ) == desktop crash

2009-02-09 Thread Glen Barber
On Mon, Feb 9, 2009 at 8:15 PM, Marc G. Fournier scra...@hub.org wrote:


 Okay, I've exhausted every google search I can think of, and not getting
 anywhere, so now to ask ...

 Just upgraded my motherboard / CPU (old one fried out) ... picked up an ASUS
 P5Q with a Quad Core Intel CPU ... everything boots / runs fine, until I try
 and start up X ...

 If I use the 'nv' driver in my X conig file, and the twm window manager,
 everything starts up fine, I can load Firefox, etc, etc ...

 As soon as I switch from nv - nvidia and start, the screen goes blank and
 the machine reboots ...

 If I switch from nvidia - nv and use '/usr/local/kde4/bin/startkde', the
 screen goes blank, and the machine reboots ...

 I just installed icewm, and using that, everything loads up fine too ...

 So, I figure there is something that I'm either missing in my install, or
 that I've configured wrong that kde is trying to use, but I'm at a lose as
 to what ...


Are you starting hald and dbus via rc.conf?

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


Re: xorg 7-current ( kde || nvidia driver ) == desktop crash

2009-02-09 Thread Marc G. Fournier

On Mon, 9 Feb 2009, Glen Barber wrote:


On Mon, Feb 9, 2009 at 8:15 PM, Marc G. Fournier scra...@hub.org wrote:



Okay, I've exhausted every google search I can think of, and not getting
anywhere, so now to ask ...

Just upgraded my motherboard / CPU (old one fried out) ... picked up an ASUS
P5Q with a Quad Core Intel CPU ... everything boots / runs fine, until I try
and start up X ...

If I use the 'nv' driver in my X conig file, and the twm window manager,
everything starts up fine, I can load Firefox, etc, etc ...

As soon as I switch from nv - nvidia and start, the screen goes blank and
the machine reboots ...

If I switch from nvidia - nv and use '/usr/local/kde4/bin/startkde', the
screen goes blank, and the machine reboots ...

I just installed icewm, and using that, everything loads up fine too ...

So, I figure there is something that I'm either missing in my install, or
that I've configured wrong that kde is trying to use, but I'm at a lose as
to what ...



Are you starting hald and dbus via rc.conf?


Yes ... both mouse and keyboard have been working great ...


Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email . scra...@hub.org  MSN . scra...@hub.org
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: xorg 7-current ( kde || nvidia driver ) == desktop crash

2009-02-09 Thread Glen Barber
On Mon, Feb 9, 2009 at 8:22 PM, Marc G. Fournier scra...@hub.org wrote:
 Are you starting hald and dbus via rc.conf?

 Yes ... both mouse and keyboard have been working great ...


Well, that's good to hear. ;)

Thought I'd as to be safe.

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


Re: xorg 7-current ( kde || nvidia driver ) == desktop crash

2009-02-09 Thread Marc G. Fournier

On Mon, 9 Feb 2009, Glen Barber wrote:


On Mon, Feb 9, 2009 at 8:22 PM, Marc G. Fournier scra...@hub.org wrote:

Are you starting hald and dbus via rc.conf?


Yes ... both mouse and keyboard have been working great ...



Well, that's good to hear. ;)

Thought I'd as to be safe.


Ya, that was the easiest problems to search on google and get fixed :)

I'm going to try downgrading to xorg 7.3 ... I'm having headaches with 
fonts (Location bar in firefox3 is unreadable, although all pages are fine 
... mail messagesin mulberry are unreadable, although the message index is 
*just* readable, etc) ... someone mentioned some changes in 7.4 concerning 
fonts, and I figure, my luck, this might be something that is trickling 
into other areas :(





 
Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email . scra...@hub.org  MSN . scra...@hub.org
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: xorg 7-current ( kde || nvidia driver ) == desktop crash

2009-02-09 Thread Adam Vande More

Marc G. Fournier wrote:

On Mon, 9 Feb 2009, Glen Barber wrote:

On Mon, Feb 9, 2009 at 8:22 PM, Marc G. Fournier scra...@hub.org 
wrote:

Are you starting hald and dbus via rc.conf?


Yes ... both mouse and keyboard have been working great ...



Well, that's good to hear. ;)

Thought I'd as to be safe.


Ya, that was the easiest problems to search on google and get fixed :)

I'm going to try downgrading to xorg 7.3 ... I'm having headaches with 
fonts (Location bar in firefox3 is unreadable, although all pages are 
fine ... mail messagesin mulberry are unreadable, although the message 
index is *just* readable, etc) ... someone mentioned some changes in 
7.4 concerning fonts, and I figure, my luck, this might be something 
that is trickling into other areas :(


FWIW, I run both KDE and KDE4 w/ nvidia driver dual head on xorg 7.4.  
Following UPDATING resolved the issues I had going from 7.3  7.4.


midco# uname -a
FreeBSD midco.net 7.1-RELEASE FreeBSD 7.1-RELEASE #5: Tue Jan 13 
13:35:17 CST 2009 a...@midco.net:/usr/obj/usr/src/sys/DOMINATOR  i386



midco# pkg_info | grep nvidia
nvidia-driver-177.80 NVidia graphics card binary drivers for hardware 
OpenGL ren

nvidia-settings-180.17 Display Control Panel for X NVidia driver

xorg-7.4X.Org complete distribution metaport


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


Re: xorg 7-current ( kde || nvidia driver ) == desktop crash

2009-02-09 Thread Deb Heller-Evans
I ran into the same kind of issue.  FWIW, I had better luck downloading 
the nVidia drivers from the website which includes modifying the 
kernel.  I can now do all kinds of extra things, like spanning 2 
monitors, etc (on workstations). 


I can dig up my notes if you intend to go this route at some point...

d

Deb Heller-Evans
Energy Science Network
MS-50A-3101
Berkeley, CA 94720

510/495-2243



Marc G. Fournier wrote:



Okay, I've exhausted every google search I can think of, and not 
getting anywhere, so now to ask ...


Just upgraded my motherboard / CPU (old one fried out) ... picked up 
an ASUS P5Q with a Quad Core Intel CPU ... everything boots / runs 
fine, until I try and start up X ...


If I use the 'nv' driver in my X conig file, and the twm window 
manager, everything starts up fine, I can load Firefox, etc, etc ...


As soon as I switch from nv - nvidia and start, the screen goes blank 
and the machine reboots ...


If I switch from nvidia - nv and use '/usr/local/kde4/bin/startkde', 
the screen goes blank, and the machine reboots ...


I just installed icewm, and using that, everything loads up fine too ...

So, I figure there is something that I'm either missing in my install, 
or that I've configured wrong that kde is trying to use, but I'm at a 
lose as to what ...


Can anyone help?

Thanks ...




Marc G. Fournier   Hub.Org Networking Services 
(http://www.hub.org)
Email . scra...@hub.org  MSN . 
scra...@hub.org

Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
___
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: xorg 7-current ( kde || nvidia driver ) == desktop crash

2009-02-09 Thread Deb Heller-Evans
Oops.  Brain FART... I'm in a multi-OS environment... My answer was with 
respect to a different OS, but it might be applicable to FreeBSD.  I 
don't have experience with nVidia on FreeBSD.


Deb Heller-Evans
Energy Science Network
MS-50A-3101
Berkeley, CA 94720

510/495-2243



Deb Heller-Evans wrote:
I ran into the same kind of issue.  FWIW, I had better luck 
downloading the nVidia drivers from the website which includes 
modifying the kernel.  I can now do all kinds of extra things, like 
spanning 2 monitors, etc (on workstations).

I can dig up my notes if you intend to go this route at some point...

d

Deb Heller-Evans
Energy Science Network
MS-50A-3101
Berkeley, CA 94720

510/495-2243



Marc G. Fournier wrote:



Okay, I've exhausted every google search I can think of, and not 
getting anywhere, so now to ask ...


Just upgraded my motherboard / CPU (old one fried out) ... picked up 
an ASUS P5Q with a Quad Core Intel CPU ... everything boots / runs 
fine, until I try and start up X ...


If I use the 'nv' driver in my X conig file, and the twm window 
manager, everything starts up fine, I can load Firefox, etc, etc ...


As soon as I switch from nv - nvidia and start, the screen goes 
blank and the machine reboots ...


If I switch from nvidia - nv and use '/usr/local/kde4/bin/startkde', 
the screen goes blank, and the machine reboots ...


I just installed icewm, and using that, everything loads up fine too ...

So, I figure there is something that I'm either missing in my 
install, or that I've configured wrong that kde is trying to use, but 
I'm at a lose as to what ...


Can anyone help?

Thanks ...




Marc G. Fournier   Hub.Org Networking Services 
(http://www.hub.org)
Email . scra...@hub.org  MSN . 
scra...@hub.org

Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
___
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: ipv6 and freebsd

2009-02-09 Thread gahn
Ok, i meant the configuration of ipv6_network_interface=fxp0 alone doesn't 
seem to be working:

for /etc/rc.conf:

#ipv6_enable=YES
ipv6_network_interface=fxp0

u...@lab:~:$ ifconfig fxp0

fxp0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500
options=9bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM
ether 00:06:5b:f0:7d:21
inet 10.0.0.1 netmask 0xff80 broadcast 10.0.0.127
media: Ethernet autoselect (100baseTX full-duplex)
status: active

then I modified the file /etc/rc.conf:

ipv6_enable=YES
ipv6_network_interface=fxp0

then it enabled the IPv6 on every interface.

how could I enable IPv6 only on the interface fxp0 instead of every interface?

Also how could I enable the feature of auto configuration? I have a router 
configured on the same subnet on the interface fxp0 as eui-64 and sending out 
router-advertisement. so far i don't see the automatically configured IPv6 
address on the interface fxp0 except the link-local address (the one starts 
with fe80::). why is that?


--- On Mon, 2/9/09, gahn ipfr...@yahoo.com wrote:

 From: gahn ipfr...@yahoo.com
 Subject: ipv6 and freebsd
 To: freebsd general questions freebsd-questions@freebsd.org
 Date: Monday, February 9, 2009, 2:53 PM
 Hi all:
  
 Free questions with FreeBSD and IPV6. I am running 7.1.
  
 1) My machine has multiple interfaces and some of
 interfaces I would like to run IP v6 but not all of them.
 How could I do that? Currently
 ipv6_enable=YES enables every interface of
 this machine, and
 ipv6_network_interface=fxp0
 doesn't seem to do anything.
 2) I have a router that is running IPv6
 router-advertisement. How could I run autoconfiguration mode
 on the interface of my FreeBSD machine?
 
 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


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


Re: xorg 7-current ( kde || nvidia driver ) == desktop crash

2009-02-09 Thread Marc G. Fournier


Hi Deb ...

  was this vs compiling from source?

On Mon, 9 Feb 2009, Deb Heller-Evans wrote:

Oops.  Brain FART... I'm in a multi-OS environment... My answer was with 
respect to a different OS, but it might be applicable to FreeBSD.  I don't 
have experience with nVidia on FreeBSD.


Deb Heller-Evans
Energy Science Network
MS-50A-3101
Berkeley, CA 94720

510/495-2243



Deb Heller-Evans wrote:
I ran into the same kind of issue.  FWIW, I had better luck downloading the 
nVidia drivers from the website which includes modifying the kernel.  I can 
now do all kinds of extra things, like spanning 2 monitors, etc (on 
workstations).

I can dig up my notes if you intend to go this route at some point...

d

Deb Heller-Evans
Energy Science Network
MS-50A-3101
Berkeley, CA 94720

510/495-2243



Marc G. Fournier wrote:



Okay, I've exhausted every google search I can think of, and not getting 
anywhere, so now to ask ...


Just upgraded my motherboard / CPU (old one fried out) ... picked up an 
ASUS P5Q with a Quad Core Intel CPU ... everything boots / runs fine, 
until I try and start up X ...


If I use the 'nv' driver in my X conig file, and the twm window manager, 
everything starts up fine, I can load Firefox, etc, etc ...


As soon as I switch from nv - nvidia and start, the screen goes blank and 
the machine reboots ...


If I switch from nvidia - nv and use '/usr/local/kde4/bin/startkde', the 
screen goes blank, and the machine reboots ...


I just installed icewm, and using that, everything loads up fine too ...

So, I figure there is something that I'm either missing in my install, or 
that I've configured wrong that kde is trying to use, but I'm at a lose as 
to what ...


Can anyone help?

Thanks ...




Marc G. Fournier   Hub.Org Networking Services 
(http://www.hub.org)

Email . scra...@hub.org  MSN . scra...@hub.org
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
___
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







Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email . scra...@hub.org  MSN . scra...@hub.org
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
___
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: installkernel on small disk

2009-02-09 Thread Tim Judd

Albert Shih wrote:

 Le 08/02/2009 à 01:51:50-0700, Tim Judd a écrit
  

Albert Shih wrote:


Hi all

I've two servers (in fact guest in vmware) on don't have enought disk space
to make buildkernel (or world).

For the world freebsd-update can work. But for the kernel I've my own
kernel.

So if I compile the kernel on the other server how can I put it on the
first ?

Regards.


  

With an NFS mount, with sneakernet, or scp.
On the machine with enough disk space:
	make buildkernel installkernel DESTDIR=/nfsmount KERNCONF=otherkernel 
#hackish and i'd be worried of this.  It will force a backup of the 
running kernel to the remote /boot/kernel.old


I'd recommend:
make buildkernel installkernel DESTDIR=/tmp KERNCONF=otherkernel
tar -czf /tmp/otherkernel.tgz /tmp/boot/kernel
	# bring the otherkernel.tgz file to the machine, maybe by usb stick, 
and extract.  don't forget to tar -xz*p*f  (permissions)



Thanks.

But in that case why I can't just do

cd /boot
tar czvf some_place/kernel.tgz kernel

and just transfert the kernel.tgz and make the tar xpf ? 
  



That is what I have above, commented out as another option.


  

How thin on disk space are you?



2 Go for everything But I can mount by NFS more space (very more). 


Thanks for the answer.

Regards.
  


___
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


Turnkey Ready in Dubai - Immediate Rental Returns - Why Wait?

2009-02-09 Thread International Property Directory
Concerned about delivery in Dubai?
No need to worry when you can move in right away.
 

   
  

Choose Your Language:
Russian
Please forward this newsletter 

If you know someone who might be interested in our latest newsletter please 
click here to forward this email to up to 5 friends at once.

 
Dubai

Commercial and Residential Rental Guarantees

Benefit from a wide range of Guaranteed Rental Commercial and Residential 
Properties on offer now or get a massive on the spot rebate from listed prices.

Guaranteed Rental Property

 
The Dubia Shopping Festival 2009 closes soon - act now.

Ready to Occupy and Rent Out Residential Properties - No need to worry about 
delivery problems

Move in from only
£46,046 | $68,060 USD | €52,569 Euros | 250,000 AED

For superb friendly payment terms, great prices and unbeatable benefits contact 
us today!


Ready to Occupy and Rent Out Office Space
Rated as one of the best office projects to date!
and no need to worry about delivery problems

For superb friendly payment terms, great prices and unbeatable benefits contact 
us today!


While the Property Market is slow the Dubia Shopping Festival
is the ideal time to get the best deals available.

For information on these Turnkey properties and many
more opportunities contact us today with details of what
you are looking for.

CONTACT US HERE

We work directly with World Renowned Developers

   
 
   

Newsletter Sign up - Please sign-up an associate for the IPD Newsletter list

Newsletter Removal - Please remove email from the IPD Newsletter list

DISCLAIMER
This message contains confidential information and is intended only for the 
individual named. If you are not the named addressee, you should not 
disseminate, distribute or copy this e-mail. Please notify the sender 
immediately by e-mail if you have received this e-mail by mistake and delete 
this e-mail from your system. This e-mail has been prepared using information 
believed by the author to be reliable and accurate, but International Property 
Directory make no warranty as to its accuracy or completeness. Any opinions 
expressed in this document are those of the author and do not necessarily 
reflect the opinions of International Property Directory. They maybe subject to 
change without notice. International Property Directory do not accept 
responsibility for changes made to this e-mail after it was sent. If 
verification is required please request a hard-copy version. E-mail 
transmission cannot be guaranteed to be secure or error-free as information 
could be intercepted, lost, destroyed, corrupted, arrive late or incomplete, or 
contain viruses. For information regarding our privacy policy please visit 
contact us for further details. International Property Directory does not take 
receipt of any monies or sign contracts with investors. We operate 
independently, sourcing property investment opportunities for our interested 
parties. All contracts and monies are always handled directly with the property 
developer offering the property. We always recommend our investors seek 
Independent legal and financial advice before purchasing a property. 
International Property Directory can accept no liability for any damages or 
losses resulting from the purchase of one our listed Investment Opportunities.

International Property Directory is a Canadian registered company.
Registered Address: London, Ontario, N6G 4V4, CANADA

© International Property Directory

 
 
___
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

How do I spinup disk from power-up in standby ?

2009-02-09 Thread Dieter
Western Digital SATA disk in power-up in standby mode.
disk is connected to nforce4-ultra
FreeBSD 7.0  amd64

Google found that MirBSD's atactl man page has:

puisspinup  Explicitly spins up the device if power-up in standby (puis)
mode is enabled.

I can't find anything like this on FreeBSD.  (I checked 7.1 also)
And the disk doesn't show up in dmesg.  It should be ad6,
but there is no ad6 and no Western Digital or WD in dmesg.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: xorg 7.4: button fonts unreadable ...

2009-02-09 Thread Marc G. Fournier


Downgrading to 7.3 has made X usable again ... will try out nvidia driver 
tomorrow ...


On Mon, 9 Feb 2009, Thomas Dickey wrote:


On Mon, Feb 09, 2009 at 08:58:12PM -0400, Marc G. Fournier wrote:


So, if I backtrack to 7.3.x, I should be fine?


that sounds like it (I don't keep track of the version numbers).

--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net




Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email . scra...@hub.org  MSN . scra...@hub.org
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
___
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


Sierra Wireless AC595U

2009-02-09 Thread Volodymyr Kostyrko

Hi all.

Is there any plans to add support for this device? It seems that NetBSD 
has the code for it almost for a year now. Currently 7-STABLE doesn't 
recognize this device. Adding it to ubsa.c also gives nothing - the 
device is detected properly but doesn't work at all:


Feb 10 06:58:11 limbo kernel: ucom0: Sierra Wireless, Incorporated 
Sierra Wireless AC595U Device, class 0/0, rev 1.10/0.02, addr 2 on uhub2

Feb 10 06:59:18 limbo kernel: ucom0: ubsa_request: STALLED
Feb 10 06:59:18 limbo kernel: ucom0: ubsa_request: STALLED
Feb 10 06:59:18 limbo kernel: ucom0: ubsa_request: STALLED
Feb 10 06:59:23 limbo kernel: ucom0: ubsa_request: TIMEOUT
Feb 10 06:59:28 limbo kernel: ucom0: ubsa_request: TIMEOUT
Feb 10 06:59:33 limbo kernel: ucom0: ubsa_request: STALLED

Is there any chances it would work? Can provide shell access to system 
with this it.


--
Sphinx of black quartz judge my vow.

___
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


wildcards don't work in sh shell for FAT32 filesystem

2009-02-09 Thread Carl
Why do pathnames containing a wildcard work in the tcsh shell regardless 
of the target filesystem, but do not work in the sh shell if the target 
filesystem is FAT32?


The following sequence begins in the tcsh shell by mounting a FAT32 
partition from a USB thumb drive. /tmp is in a UFS2 partition. There are 
no files with fish in their names in either location. This is 
happening in FreeBSD 7.0-RELEASE. Why do the last four commands not have 
the same result?


tcsh# mount_msdosfs /dev/da0s1 /mnt
tcsh# rm -f /tmp/fish*
rm: No match.
tcsh# rm -f /tmp/*fish
rm: No match.
tcsh# rm -f /mnt/fish*
rm: No match.
tcsh# rm -f /mnt/*fish
rm: No match.
tcsh# sh
sh# rm -f /tmp/fish*
sh# rm -f /tmp/*fish
sh# rm -f /mnt/fish*
rm: /mnt/fish*: Invalid argument
sh# rm -f /mnt/*fish
rm: /mnt/*fish: Invalid argument

FWIW, the context of this discovery was trying to use the grub-install 
script from the GRUB port to install its boot loader on a FAT32 thumb 
drive. The script aborts when it attempts something like rm -f 
/mnt/boot/grub/*stage1_5


Carl / K0802647
___
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: lagg driver at 6.4 ?

2009-02-09 Thread Mel
On Friday 06 February 2009 04:03:24 Frank Bonnet wrote:

 Does the lagg driver ( ethernet bonding ) has been backported
 to the 6.4 release ? I have to setup a server with two giga-ethernet
 interfaces ( broadcomm ) and I would like to use them with LACP
 with a Cisco switch

# uname -r
6.4-RELEASE-p3

# ls /boot/kernel/*lagg*
/boot/kernel/if_lagg.ko

So yes (and how to find out).
-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
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: Slow DNS (and host: connection timed out)

2009-02-09 Thread Mel
On Thursday 05 February 2009 22:55:56 David Naylor wrote:
 Hi,

 My ISP is using a WinGate DNS but resolving host names often takes a long
 time.  The problem is also present in Konqueror (3  4) and Firefox.

 An example:
 # time host google.co.za
 google.co.za has address 66.249.93.104
 google.co.za has address 72.14.207.104
 google.co.za has address 64.233.161.104
 ;; connection timed out; no servers could be reached
 ;; connection timed out; no servers could be reached

Do your own DNS. Your ISP chokes in  ('IPv6') look ups. If you're not 
allowed to, still run a local resolver with aggressive neg ttl caching.

See the numerous tutorials on the web on how to run your own resolver.
-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
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