XEmacs: How to suppress a warning

2006-12-04 Thread a
I set
LC_CTYPE=ru_RU.CP866

Every time I start
XEmacs 21.5  (beta27) fiddleheads [Lucid] (i386--freebsd, Mule)
it reads me in a separate buffer:

(1) (xintl/warning) System supports locale `' but X Windows does not

But I do not need this notification 30 times a day.

How to prevent this warning?

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


Re: 32bit jails on 64bit hosts

2006-12-04 Thread Vlad Galu

On 11/30/06, Pieter de Goeje [EMAIL PROTECTED] wrote:

On Thursday 30 November 2006 10:33, Vlad Galu wrote:
  Is there any knob in the .mk infrastructure that I can use to
 achieve $subj? Thanks in advance.
build(7) suggests the use of TARGET_ARCH=i386.


  Thanks!



- Pieter de Goeje




--
If it's there, and you can see it, it's real.
If it's not there, and you can see it, it's virtual.
If it's there, and you can't see it, it's transparent.
If it's not there, and you can't see it, you erased it.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


unable to Check wtmp file contents for last month.

2006-12-04 Thread DeadMan Xia ....

Hello Every1,

well i m using FreeBSD 6.0 with qmail. i usually used to take backups
remotely.

i want to check the content of wtmp files for last month which was
overwritten by new wtmp file of current month.
Any body help me out regarding this

Regards,,,


Zia Ullah Khan
Project Manager - WHSS
Directorate of Information Technology N.W.F.P
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Problem mounting a USB hard drive

2006-12-04 Thread Hristo Iliev

Hello FreeBSD users!

Briefly, I am having problems mounting my 2.5 USB hard drive. I am running
6.1-RELEASE FreeBSD on a Samsung Sens 820 notebook (I attach the dmesg and
the relavent extracts from /var/log/messages at the end of my post) and I
have several external USB storage devices that I normally attach to my PC
(Sony DSC digital camera (with 123MB flash card), 80Gb 3.5 Western Digital
hard drive, 32 Mb flash drive and 74Gb 2.5 Samsung hard drive). The first 3
of them mount without any problems: the digital camera (using #mount_msdosfs
/dev/da0s1 /mnt), the 80Gb 3.5 hard drive which has two ntfs partitions
(using mount_ntfs /dev/da0s2 /mnt/s2, etc) as well as the flash drive
(#mount_msdosfs ...). But mounting the 2.5 74Gb USB hard drive fails (one
NTFS partition). In fact it can not be even synchronized with the system. I
tried rebuilding the kernel with the option

options SCSI_DELAY=10001

but it didn't help.

Here are the extracts from the system messages.

From dmesg:

umass0: VIA Technologies Inc. USB 2.0 IDE Bridge, rev 2.00/0.03, addr 2
da0 at umass-sim0 bus 0 target 0 lun 0
da0: SAMSUNG MP0804H UE10 Fixed Direct Access SCSI-2 device
da0: 1.000MB/s transfers
da0: 76351MB (156368016 512 byte sectors: 255H 63S/T 9733C)
umass0: Invalid CSW: tag 7 should be 8
(da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x10, scsi
status == 0x0
Opened disk da0 - 5
Opened disk da0 - 5
Opened disk da0 - 5
Opened disk da0 - 5
Opened disk da0 - 5

List of the devices:
hki# ls -alsFG /dev/ | less
total 4
1 dr-xr-xr-x   4 root  wheel  512  1 Яну  1970 ./
2 drwxr-xr-x  20 root  wheel  512  4 Дек 10:51 ../
0 crw-r-   1 root  operator0, 106  4 Дек 10:52 acd0
0 crw-r-   1 root  operator0,  97  4 Дек 10:52 ad0
0 crw-r-   1 root  operator0,  98  4 Дек 10:52 ad0s1
0 crw-r-   1 root  operator0,  99  4 Дек 12:52 ad0s1a
0 crw-r-   1 root  operator0, 100  4 Дек 10:52 ad0s1b
0 crw-r-   1 root  operator0, 101  4 Дек 10:52 ad0s1c
0 crw-r-   1 root  operator0, 102  4 Дек 12:52 ad0s1d
0 crw-r-   1 root  operator0, 103  4 Дек 12:52 ad0s1e
0 crw-r-   1 root  operator0, 104  4 Дек 12:52 ad0s1f
0 crw-r-   1 root  operator0, 105  4 Дек 12:52 ad0s1g
0 crw---   1 root  wheel   0,  30  4 Дек 10:52 agpgart
0 crw---   1 root  operator0,  29  4 Дек 10:52 ata
0 crw---   1 root  wheel   0,  52  4 Дек 10:52 atkbd0
0 crw-rw-rw-   1 root  wheel   0,  38  4 Дек 10:52 audio0.0
0 crw-rw-rw-   1 root  wheel   0,  41  4 Дек 10:52 audio0.1
0 crw-rw-rw-   1 root  wheel   0,  44  4 Дек 10:52 audio0.2
0 crw-rw-rw-   1 root  wheel   0,  47  4 Дек 10:52 audio0.3
0 crw-rw-rw-   1 root  wheel   0,  50  4 Дек 10:52 audio0.4
0 crw---   1 root  wheel   0, 113  4 Дек 10:52 bpf0
0 crw-rw-rw-   1 root  wheel   0,  55  4 Дек 10:52 bpsm0
0 crw---   1 itso  wheel   0,  11  4 Дек 12:18 console
0 crw---   1 root  wheel   0,  77  4 Дек 10:52 consolectl
0 crw-rw-rw-   1 root  wheel   0,  12  4 Дек 10:52 ctty
0 crw-rw   1 uucp  dialer  0,  81  4 Дек 10:52 cuad0
0 crw-rw   1 uucp  dialer  0,  82  4 Дек 10:52 cuad0.init
0 crw-rw   1 uucp  dialer  0,  83  4 Дек 10:52 cuad0.lock
0 crw-rw   1 uucp  dialer  0,  87  4 Дек 10:52 cuad1
0 crw-rw   1 uucp  dialer  0,  88  4 Дек 10:52 cuad1.init
0 crw-rw   1 uucp  dialer  0,  89  4 Дек 10:52 cuad1.lock
0 crw-r-   1 root  operator0, 123  4 Дек 10:52 da0
0 crw-r-   1 root  operator0, 124  4 Дек 10:52 da0s1
0 crw---   1 root  wheel   0,   6  4 Дек 10:52 devctl
0 cr   1 root  wheel   0,  96  4 Дек 10:52 devstat
...


The result of a (lame) attempt to mount the hard drive:

hki# mount_ntfs /dev/da0s1 /mnt/
mount_ntfs: /dev/da0s1: Input/output error


I hope that somebody can suggest a fix,

Hristo Iliev

P.S. The whole dmesg:

Copyright (c) 1992-2006 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
   The Regents of the University of California. All rights reserved.
FreeBSD 6.1-RELEASE #0: Sun May  7 04:32:43 UTC 2006
   [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Intel Pentium III (501.14-MHz 686-class CPU)
 Origin = GenuineIntel  Id = 0x681  Stepping = 1

Features=0x387f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,PN,MMX,FXSR,SSE
real memory  = 268435456 (256 MB)
avail memory = 253198336 (241 MB)
kbd1 at kbdmux0
cpu0 on motherboard
pcib0: Intel 82443BX (440 BX) host to PCI bridge pcibus 0 on motherboard
pir0: PCI Interrupt Routing Table: 8 Entries on motherboard
pci0: PCI bus on pcib0
agp0: Intel 82443BX (440 BX) host to PCI bridge mem 0xf800-0xfbff
at device 0.0 on pci0
pcib1: PCI-PCI bridge at device 1.0 on pci0
pci1: PCI bus on pcib1
pci1: display, VGA at device 0.0 (no driver attached)
isab0: PCI-ISA bridge at device 7.0 on 

Re: ssh client affecting fonts?

2006-12-04 Thread Alex Zbyslaw

Eric wrote:

So what terminal type is set when you use SecureCRT?  putty will use 
something like xterm or vt100 both of which will display make config 
correctly, but a setting for a dumb terminal or no setting will look 
more like your screenshot.


--Alex


i have tried xterm, linux, ansi, etc all with the same result. i also 
tried different fonts in secureCRT to no avail.  Putty is using xterm 
and courier new.  weird


That's presumably the setting you choose in SecureCRT.  What do you 
actually get when you have logged in?


echo $term
echo $TERM

--Alex


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


Is there a standard function for converting IP address to number?

2006-12-04 Thread a
Is there a standard function converting four numbers to one 32-bit 
IP address?

I mean a function like

f(i, j, k, l) {
return (i  8) | j)  8) | k)  8) | l;
}

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


Corrupted C Compiler

2006-12-04 Thread Rachel Florentine
106Hi;
I entered the following stupid command:
cp -R /* /ad2
thinking that would copy the contents of my working HD to my new 1/2 teraflop 
HD (ad2). What it did was manage to wipe out some very important files (thank 
goodness I had up-to-date backups) and it appears to have corrupted gcc...my C 
compiler. I deduce this because when I go to build Zope (as an example) from 
source I have to run a script afterwards that repairs the broken C files. 
(This, strangely, is not the case if I build Zope from port.) So, my questions 
for you programmers more experienced than I, are:

1) Does my assessment make sense? Is gcc corrupt?
2) Whether it is or not, how should I troubleshoot/fix my problem? It seems to 
me I should re-install FBSD, but how?

TIA,
Rachel




 

Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Is there a standard function for converting IP address to number?

2006-12-04 Thread Giorgos Keramidas
On 2006-12-04 14:45, [EMAIL PROTECTED] wrote:
 Is there a standard function converting four numbers to one 32-bit 
 IP address?
 
 I mean a function like
 
 f(i, j, k, l) {
   return (i  8) | j)  8) | k)  8) | l;
   }

That's not even a complete, usable function, but if you are looking for
a 'standard' function as in part of libc already, the answer is no.

Try something like the

in_addr_t makeaddr(uint8_t, uint8_t, uint8_t, uint8_t);

function from this sample program:

http://people.freebsd.org/~keramida/files/addr.tar.gz

which looks like this:

#include sys/types.h

#include netinet/in.h

#include addr.h

in_addr_t
makeaddr(uint8_t a, uint8_t b, uint8_t c, uint8_t d)
{

return (htonl(((in_addr_t)a  24) + ((in_addr_t)b  16) +
((in_addr_t)c  8) + (in_addr_t)d));
}

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


Re: ssh client affecting fonts?

2006-12-04 Thread Eric

Alex Zbyslaw wrote:

Eric wrote:

So what terminal type is set when you use SecureCRT?  putty will use 
something like xterm or vt100 both of which will display make config 
correctly, but a setting for a dumb terminal or no setting will look 
more like your screenshot.


--Alex


i have tried xterm, linux, ansi, etc all with the same result. i also 
tried different fonts in secureCRT to no avail.  Putty is using xterm 
and courier new.  weird


That's presumably the setting you choose in SecureCRT.  What do you 
actually get when you have logged in?


echo $term
echo $TERM

--Alex



$term is blank, $TERM is xterm

i changed the font to courier new and it works again as expected. it 
always worked in putty tho.

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


Acroread never dies

2006-12-04 Thread Pietro Cerutti

Hello,

FreeBSD gahr-laptop 6.2-RC1 FreeBSD 6.2-RC1 #0: Mon Dec  4 08:59:14
CET 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GAHR  i386

acroread7-7.0.8,1
acroreadwrapper-0.0.20060221
firefox-2.0_2,1

the Acrobat Reader 7 plugin works just fine, but the acroread process
doesn't die even after the Firefox window containing the object
visualized by the plugin (a PDF document) has been closed.

The process is displayed in top(1), sometimes in status select,
sometimes even in status RUN.
17468 piter 1  970   107M 79776K select   0:06  0.20% acroread

I just don't understand why the process stays alive, and what it's
does, when RUNning.

As a side effect, everything copied to the X clipboard gets
intercepted  by acroread, which is very uncomfortable when using tools
like sysutils/pwsafe...

I would even be more than happy to uninstall acroread, but I really
need the firefox plugin...

Any ideas?

Thanx!

--
Pietro Cerutti
ICQ: 117293691
PGP: 0x9571F78E

- ASCII Ribbon Campaign -
against HTML e-mail and
proprietary attachments
  www.asciiribbon.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Configuring DNS (BIND) in isolation

2006-12-04 Thread David Robillard

Hello,

I have a need to make my own DNS system on an isolated network.  Years ago,
I administered DNS for a couple of different companies, but that was quite a
while ago and since I've turned to programming I haven't done much in the
way of network administration.  I recall from using BIND 4, when I was
reading up on it, that it is most certainly possible to configure an entire
DNS system on a totally isolated network.

Would I need zone files for the root, ., zone and any other zones I
configure; e.g. isolation.?  This would seem to be the way to go about it,
but I'm having some difficulty visualizing it in my head.  I just did some
searches online for the O'Reilly book DNS  BIND.  I recall using this
book in the past and it was quite helpful (and unfortunately for me,
belonged to my former employers).  Would this book be a good reference for
this task as well, or are there better books that I might want to look into
getting for this?  Or, are there good on-line resources that could help me
muddle through?

Any help is greatly appreciated.

Thanks,
Andy


Hello Andy,

First, you need to know that BIND has jumped from version 4 directly
to version 8 and is now at version 9. There is a whole world of
difference between the version 4 that you've worked with in the past
and the latest version 9 (such as Views, DNSSEC, IXFR, etc).

Now, the book you mentioned above is still THE reference on the topic.
O'Reilly recently published the 5th edition of DNS  BIND which
covers everything BIND 9 has to offer. Plus an extended chapter on the
DNS architecture itself. It's a great book, you should get yourself a
copy if you're interested by DNS.

Third, while DNS  BIND is a fine book, you'll have more direct help
from another O'Reilly book called DNS  BIND Cookbook from Cricket
Liu. It presents some common DNS related tasks in the form of easy to
follow recipes. It sure is a great help when it actually is time to
build and configure your DNS servers.

Moreover, FreeBSD is an excellent platform for building DNS servers.
I've built DNS servers out of Solaris, AIX, RedHat and FreeBSD
machines and BSD is by far the easiest and more flexible to setup and
secure.

shameless plug
Finally, if for various reasons you don't have the time or expertise
to setup your own DNS machine. Then have a look at the appliances from
the author of DNS  BIND Cricket Liu's company called Infoblox at
http://www.infoblox.com.
/shameless plug

Cheers,

David
--
David Robillard
UNIX systems administrator  Oracle DBA
CISSP, RHCE  Sun Certified Security Administrator
Montreal: +1 514 966 0122
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: /usr/ports/x11-toolkits/eel linker error

2006-12-04 Thread Lowell Gilbert
Laszlo Nagy [EMAIL PROTECTED] writes:

 What am I going wrong? Please help!

 System: FreeBSD 6.1-RELEASE-p10 #4: Thu Nov 30 13:33:49 CET 2006
 The ports tree was updated yesterday, then I ran

 portupgrade -a

 It was completed today. Then I ran portinstall gnome2 and got this error:

 grep: /usr/X11R6/lib/libgnomeui-2.la: No such file or directory
 sed: /usr/X11R6/lib/libgnomeui-2.la: No such file or directory
 gnome-libtool: link: `/usr/X11R6/lib/libgnomeui-2.la' is not a valid
 libtool archive
 gmake[2]: *** [libeel-2.la] Error 1
 gmake[2]: Leaving directory
 /usr/ports/x11-toolkits/eel/work/eel-2.16.3/eel'
 gmake[1]: *** [all-recursive] Error 1
 gmake[1]: Leaving directory `/usr/ports/x11-toolkits/eel/work/eel-2.16.3'
 gmake: *** [all] Error 2
 *** Error code 2

 Stop in /usr/ports/x11-toolkits/eel.

 NOTE: The correct file is in /usr/local/lib/libgnomeui-2.la, but the
 port cannot find it.

You probably missed some of the needed updates for the gnome move to
/usr/local.  Look for the updates in /usr/ports/UPDATING. (which you
should always consult before updating ports).

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


Re: Automount

2006-12-04 Thread Lowell Gilbert
Robert Davison [EMAIL PROTECTED] writes:

 After some kind advice from this mail list, im trying to set up an amd 
 automount so that my external hard drive doesnt have to be on all the time 
 for the main server to boot.

 My fstab for the drives (there is two drives contained within a Sun StorEdge 
 S1) reads:

 /dev/da0s1bnoneswapsw00
 /dev/da0s1d/snonerw,noauto00
 /dev/da1s1bnoneswapsw00
 /dev/da1s2d/tnonerw,noauto00

 I've mkdir -p both /s and /t as mount points

 I've then put the following lines into /etc/amd.map

 localhost/stype:=program:fs:=/s;\
 mount:=/sbin/mount mount /s;\
 unmount:=/sbin/umount umount /s

 localhost/ttype:=program:fs:=/t;\
  mount:=/sbin/mount mount /t;\
  unmount:=/sbin/umount umount /t

 And finaly I've added the following to ,y /etc/rc.conf

 portmap_enable=YES
 amd_enable=YES
 amd_flags=-a /.amd_mnt -l syslog /host/etc/amd.map

 when i reboot the server the external drives are not mounted.

 Am I missing a step here, or the point totally ??

I'm not sure about the exact syntax of what you have, but note that
the automounter won't mount the filesystem until something tries to
access it...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Corrupted C Compiler

2006-12-04 Thread Josh Paetzel
On Monday 04 December 2006 07:05, Rachel Florentine wrote:
 106Hi;
 I entered the following stupid command:
 cp -R /* /ad2
 thinking that would copy the contents of my working HD to my new
 1/2 teraflop HD (ad2). What it did was manage to wipe out some very
 important files (thank goodness I had up-to-date backups) and it
 appears to have corrupted gcc...my C compiler. I deduce this
 because when I go to build Zope (as an example) from source I have
 to run a script afterwards that repairs the broken C files. (This,
 strangely, is not the case if I build Zope from port.) So, my
 questions for you programmers more experienced than I, are:

 1) Does my assessment make sense? Is gcc corrupt?
 2) Whether it is or not, how should I troubleshoot/fix my problem?
 It seems to me I should re-install FBSD, but how?

 TIA,
 Rachel


It's not immediately clear to me what you mean by repairing broken C 
files.  The port uses the Zope source and the system compiler, 
presumably the same source and compiler you are using to build it by 
hand.  Are you sure you aren't just 'doing it wrong' ?

If you really suspect gcc is corrupted then some sort of binary repair 
is really your only option.  A make buildworld/make installworld is 
unlikely to be feasible.

-- 
Thanks,

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


Re: Freebsd Fail to boot

2006-12-04 Thread Lowell Gilbert
Thomas Wahyudi [EMAIL PROTECTED] writes:

 Hi, I have freebsd 6.1 and 6.2 RC1 and i trying to install to my
 desktop computer using old motherboard ASUS P4S533 but everytime
 install is finish and trying to boot from HD its make my coumputer
 reboot and reboot again seems something wrong with boot loader, is
 there something i can do to make it work ?

Can you be more precise about what happens just before it reboots?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Configuring DNS (BIND) in isolation

2006-12-04 Thread Andrew Falanga

On 12/4/06, David Robillard [EMAIL PROTECTED] wrote:


 Hello,

 I have a need to make my own DNS system on an isolated network.  Years
ago,
 I administered DNS for a couple of different companies, but that was
quite a
 while ago and since I've turned to programming I haven't done much in
the
 way of network administration.  I recall from using BIND 4, when I was
 reading up on it, that it is most certainly possible to configure an
entire
 DNS system on a totally isolated network.

 Would I need zone files for the root, ., zone and any other zones I
 configure; e.g. isolation.?  This would seem to be the way to go about
it,
 but I'm having some difficulty visualizing it in my head.  I just did
some
 searches online for the O'Reilly book DNS  BIND.  I recall using this
 book in the past and it was quite helpful (and unfortunately for me,
 belonged to my former employers).  Would this book be a good reference
for
 this task as well, or are there better books that I might want to look
into
 getting for this?  Or, are there good on-line resources that could help
me
 muddle through?

 Any help is greatly appreciated.

 Thanks,
 Andy

Hello Andy,

First, you need to know that BIND has jumped from version 4 directly
to version 8 and is now at version 9. There is a whole world of
difference between the version 4 that you've worked with in the past
and the latest version 9 (such as Views, DNSSEC, IXFR, etc).

Now, the book you mentioned above is still THE reference on the topic.
O'Reilly recently published the 5th edition of DNS  BIND which
covers everything BIND 9 has to offer. Plus an extended chapter on the
DNS architecture itself. It's a great book, you should get yourself a
copy if you're interested by DNS.

Third, while DNS  BIND is a fine book, you'll have more direct help
from another O'Reilly book called DNS  BIND Cookbook from Cricket
Liu. It presents some common DNS related tasks in the form of easy to
follow recipes. It sure is a great help when it actually is time to
build and configure your DNS servers.

Moreover, FreeBSD is an excellent platform for building DNS servers.
I've built DNS servers out of Solaris, AIX, RedHat and FreeBSD
machines and BSD is by far the easiest and more flexible to setup and
secure.

shameless plug
Finally, if for various reasons you don't have the time or expertise
to setup your own DNS machine. Then have a look at the appliances from
the author of DNS  BIND Cricket Liu's company called Infoblox at
http://www.infoblox.com.
/shameless plug

Cheers,

David
--
David Robillard
UNIX systems administrator  Oracle DBA
CISSP, RHCE  Sun Certified Security Administrator
Montreal: +1 514 966 0122




I wanted to thank everyone who answered, but I think my first reply went
only to the individual of whose e-mail I chose to respond to (sorry) and
thanks everyone.  I think I've got what I need to get going.

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


Re: How does my computer work with an empty arp table?

2006-12-04 Thread Lowell Gilbert
[EMAIL PROTECTED] writes:

 My computer is connected to ISP via ADSL and works properly.

 I typed

 arp -a

 and saw an empty table, although I pinged successfully an Internet host
 one second ago.

 How does it work?

 

 $ ifconfig
 rl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
   options=8VLAN_MTU
   inet6 fe80::202:44ff:fe92:1875%rl0 prefixlen 64 scopeid 0x1 
   inet 192.168.1.2 netmask 0xff00 broadcast 192.168.1.255
   ether 00:02:44:92:18:75
   media: Ethernet autoselect (100baseTX full-duplex)
   status: active
 lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
   inet6 ::1 prefixlen 128 
   inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2 
   inet 127.0.0.1 netmask 0xff00 
 ng0: flags=88d1UP,POINTOPOINT,RUNNING,NOARP,SIMPLEX,MULTICAST mtu 1492
   inet6 fe80::202:44ff:fe92:1875%ng0 prefixlen 64 scopeid 0x3 
   inet 91.124.65.146 -- 195.5.5.161 netmask 0x 

Maybe you are connected to your service provider by PPP-over-Ethernet?
In that case, the PPP link (which doesn't need ARP) is your next-hop
to the Internet, rather than the modem on the Ethernet link.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Acroread never dies

2006-12-04 Thread Warren Block

On Mon, 4 Dec 2006, Pietro Cerutti wrote:


FreeBSD gahr-laptop 6.2-RC1 FreeBSD 6.2-RC1 #0: Mon Dec  4 08:59:14
CET 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GAHR  i386

acroread7-7.0.8,1
acroreadwrapper-0.0.20060221
firefox-2.0_2,1

the Acrobat Reader 7 plugin works just fine, but the acroread process
doesn't die even after the Firefox window containing the object
visualized by the plugin (a PDF document) has been closed.


Happens here, too, with the same versions and also with Seamonkey.  I 
have not submitted a PR; would you?


-Warren Block * Rapid City, South Dakota USA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How does my computer work with an empty arp table?

2006-12-04 Thread a
On Mon, Dec 04, 2006 at 10:26:46AM -0500, Lowell Gilbert wrote:
 [EMAIL PROTECTED] writes:
 
  My computer is connected to ISP via ADSL and works properly.
 
  I typed
 
  arp -a
 
  and saw an empty table, although I pinged successfully an Internet host
  one second ago.
 
  How does it work?
 
  
 
  $ ifconfig
  rl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
  options=8VLAN_MTU
  inet6 fe80::202:44ff:fe92:1875%rl0 prefixlen 64 scopeid 0x1 
  inet 192.168.1.2 netmask 0xff00 broadcast 192.168.1.255
  ether 00:02:44:92:18:75
  media: Ethernet autoselect (100baseTX full-duplex)
  status: active
  lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
  inet6 ::1 prefixlen 128 
  inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2 
  inet 127.0.0.1 netmask 0xff00 
  ng0: flags=88d1UP,POINTOPOINT,RUNNING,NOARP,SIMPLEX,MULTICAST mtu 1492
  inet6 fe80::202:44ff:fe92:1875%ng0 prefixlen 64 scopeid 0x3 
  inet 91.124.65.146 -- 195.5.5.161 netmask 0x 
 
 Maybe you are connected to your service provider by PPP-over-Ethernet?
 In that case, the PPP link (which doesn't need ARP) is your next-hop
 to the Internet, rather than the modem on the Ethernet link.

Yes, you are right, I forgot about PPP. Many thanks.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Acroread never dies

2006-12-04 Thread Alex Zbyslaw

Pietro Cerutti wrote:


acroread7-7.0.8,1
acroreadwrapper-0.0.20060221
firefox-2.0_2,1

the Acrobat Reader 7 plugin works just fine, but the acroread process
doesn't die even after the Firefox window containing the object
visualized by the plugin (a PDF document) has been closed.

The process is displayed in top(1), sometimes in status select,
sometimes even in status RUN.
17468 piter 1  970   107M 79776K select   0:06  0.20% 
acroread


I just don't understand why the process stays alive, and what it's
does, when RUNning.


It's stays in memory so that th next document that you load, will not 
require it to start up again.  Typical Windows behaviour transmitted to 
FreeBSD and presumably other OSen as well.


Personally I hate that behaviour, since when running in a browser window 
you have nothing obvious to kill if you know you don't want to read 
anything else.


That's just how it is.  Nothing is wrong with your installation.

The process as you list it is in select, so it's not actually slowing 
your machine down, just chewing memory.


--Alex


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


Re: BSDStats Report for December 1st, 2006

2006-12-04 Thread hal


On Dec 3, 2006, at 9:43 AM, Boris Samorodov wrote:


On Sun, 03 Dec 2006 04:09:18 -0400 Marc G. Fournier wrote:

Since the point of this is to be run monthly, out of periodic  
monthly, the 1st
of the month is when all hosts should be 'renewing' their  
information ...


I have some diskless workstations running FreeBSD. Sure users are not
supposed to use them _every_ first day of month (ex. when this day is
a weekend or a holiday). Whould stats from those workstations be
useless?


How do machines report in?  I have several FreeBSD boxes most
of which have non-routable addresses and are behind a firewall.

Can I have a spokesman box which reports for all?  If I can
how?

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


Re: Corrupted C Compiler

2006-12-04 Thread Warren Block

On Mon, 4 Dec 2006, Rachel Florentine wrote:

I entered the following stupid command: cp -R /* /ad2 thinking that 
would copy the contents of my working HD to my new 1/2 teraflop HD 
(ad2). What it did was manage to wipe out some very important files 
(thank goodness I had up-to-date backups) and it appears to have 
corrupted gcc...my C compiler. I deduce this because when I go to 
build Zope (as an example) from source I have to run a script 
afterwards that repairs the broken C files. (This, strangely, is not 
the case if I build Zope from port.) So, my questions for you 
programmers more experienced than I, are:



1) Does my assessment make sense? Is gcc corrupt?


No, or the port would not be able to build correctly.  That is the main 
point of the ports system, of course: to correctly build software on 
FreeBSD.


2) Whether it is or not, how should I troubleshoot/fix my problem? It 
seems to me I should re-install FBSD, but how?


An additional feature of the ports system is that it makes deinstalling 
ported software easy.  Since you've installed software without using the 
port, making sure all of the files and side-effects are removed when 
deinstalling is much more difficult.


My suggestion would be to reinstall FreeBSD from scratch.  Do a clean 
install of FreeBSD, then back it up with dump as shown in the Handbook. 
In fact, any time a question comes up, check the Handbook first for the 
preferred way to solve it.


Add applications from ports so they'll be installed correctly for 
FreeBSD and will be easy to update.  Make backups with dump as you go, 
so you can restore to a known-good setup.  Once you get a Zope instance 
installed, make an additional backup of it by copying the Data.fs file 
somewhere safe.  With all that done, you can start experimenting.


-Warren Block * Rapid City, South Dakota USA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: BSDStats Report for December 1st, 2006

2006-12-04 Thread Wayne

hal wrote:
Since the point of this is to be run monthly, out of periodic 
monthly, the 1st
of the month is when all hosts should be 'renewing' their information 


Cool project.  Just added my main machine to it.

Is there any way for me to see what it's really sending?  Looks like it 
sends a bunch of http posts, rather than one output file that could be 
examined?  My script skills are novice at best.


  -Wayne

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


Re: Corrupted C Compiler

2006-12-04 Thread Rachel Florentine


- Original Message 
From: Josh Paetzel [EMAIL PROTECTED]

It's not immediately clear to me what you mean by repairing broken C 
files.  The port uses the Zope source and the system compiler, 
presumably the same source and compiler you are using to build it by 
hand.  Are you sure you aren't just 'doing it wrong' ?

Positive.

If you really suspect gcc is corrupted then some sort of binary repair 
is really your only option.  A make buildworld/make installworld is 
unlikely to be feasible.

So how do I do that?
Rachel






 

Cheap talk?
Check out Yahoo! Messenger's low PC-to-Phone call rates.
http://voice.yahoo.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: unable to Check wtmp file contents for last month.

2006-12-04 Thread Frank Shute
On Mon, Dec 04, 2006 at 03:51:16PM +0500, DeadMan Xia  wrote:

 Hello Every1,
 
 well i m using FreeBSD 6.0 with qmail. i usually used to take backups
 remotely.
 
 i want to check the content of wtmp files for last month which was
 overwritten by new wtmp file of current month.
 Any body help me out regarding this
 
 Regards,,,

What does:

# ls -al /var/log | grep wtmp

look like?

What does:

# cat /etc/newsyslog.conf | grep wtmp

look like?

I run qmail and have logs going back 4 months (newsyslog rotates them
once a month).

-- 

 Frank 


echo f r a n k @ e s p e r a n c e - l i n u x . c o . u k | sed 's/ //g'

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


Re: Is there a standard function for converting IP address to number?

2006-12-04 Thread Matthew Seaman
[EMAIL PROTECTED] wrote:
 Is there a standard function converting four numbers to one 32-bit 
 IP address?
 
 I mean a function like
 
 f(i, j, k, l) {
   return (i  8) | j)  8) | k)  8) | l;
   }

Not exactly.  inet_ntoa() and inet_aton() are about the closest I can
think of.  There's a range of similar functions described in the
inet(3) man page for converting from struct in_addr (essentially
an IPv4 address expressed as a 32bit int) to a textual representation
of an IPv4 number, and vice versa. 

Cheers,

Matthew

-- 
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: BSDStats Report for December 1st, 2006

2006-12-04 Thread Boris Samorodov
On Sun, 03 Dec 2006 20:28:15 -0400 Marc G. Fournier wrote:
 --On Monday, December 04, 2006 02:07:08 +0300 Boris Samorodov [EMAIL 
 PROTECTED] 
 wrote:
  On Sun, 03 Dec 2006 17:05:04 -0400 Marc G. Fournier wrote:
 
  If its diskless, will each reboot end up reporting as a whole new host each
  time, or is there some way of saving that /var/db/bsdstats across reboots?
 
  We use memory mounted /var. :-(
  Ok, let's only our servers do the reporting.

 'k, I'm clueless on diskless, so this may or may not be doable ... but would 
 it 
 be possible to cp the bsdstats file from the 'disk mount server' to 
 /var/db/bsdstats on reboot?

 Say, something scripted like:

 if [ ! -f /var/db/bsdstats ]; then
   if [ -f remotemount/bsdstats.`hostname` ]; then
  cp remotemount/bsdstats.`hostname` /var/db/bsdstats
   else
  run 300.statistics
  cp /var/db/bsdstats remotemount/bsdstats.`hostname`
   fi
 fi

Yes, those machines use NFS home directories which may be used. Thanks
for the tip.

 Add something like that (real code at least) to the init/rc file used on the 
 diskless station, to be run after all mounts are up?

As I said I'm afraid those machines may give some destabilization to
bsdstats results when the First of month is a holiday/weekend. So I'm
not sure if it's a good thing to report them to bsdstats.org. What do
you think?


WBR
-- 
Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone  Internet SP
FreeBSD committer, http://www.FreeBSD.org The Power To Serve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: BSDStats Report for December 1st, 2006

2006-12-04 Thread IOnut
On Mon, 04 Dec 2006 20:46:49 +0300
Boris Samorodov [EMAIL PROTECTED] wrote:

 As I said I'm afraid those machines may give some destabilization to
 bsdstats results when the First of month is a holiday/weekend. So I'm
 not sure if it's a good thing to report them to bsdstats.org. What do
 you think?

Report them.


-- 
IOnut - Un^d^dregistered ;) FreeBSD user
  Intellectual Property is   nowhere near as valuable   as Intellect

BOFH excuse #328:
Fiber optics caused gas main leak




signature.asc
Description: PGP signature


Re: How does my computer work with an empty arp table?

2006-12-04 Thread Jona Joachim
On Mon, 4 Dec 2006 08:14:44 +0200
[EMAIL PROTECTED] wrote:

 On Sun, Dec 03, 2006 at 02:53:44PM -0800, Atom Powers wrote:
  On 12/3/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
  My computer is connected to ISP via ADSL and works properly.
  
  I typed
  
  arp -a
  
  and saw an empty table, although I pinged successfully an Internet
  host one second ago.
  
  The ARP table is a cache of known ARP-IP addresses. If there are
  no addresses in the ARP table then the system will send out an ARP
  broadcast to discover the ARP address that belongs to the IP
  address. Of course only the Ethernet hosts on your local network
  will be in your ARP table.
  
  -- 
  --
  Perfection is just a word I use occasionally with mustard.
  --Atom Ray Powers--
 
 Thank you for response.
 
 But why there is no MAC address of my ADSL modem connected via
 Ethernet? Does my host send broadcast frames to communicate with
 modem everytime?
 
 Furthermore, when I ping the modem, a proper entry appears in table:
 
 
 $arp -a
 
 $ping -c 1 rt # It is my modem
 PING rt.my.domain (192.168.1.1): 56 data bytes
 64 bytes from 192.168.1.1: icmp_seq=0 ttl=254 time=1.298 ms
 
 --- rt.my.domain ping statistics ---
 1 packets transmitted, 1 packets received, 0% packet loss
 round-trip min/avg/max/stddev = 1.298/1.298/1.298/0.000 ms
 
 $arp -a
 rt.my.domain (192.168.1.1) at 00:13:49:61:f9:b2 on rl0 [ethernet]
 
 
 But no entry appears when I communicate trough the modem.

Perhaps your modem works as a transparent bridge.

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


How to install a 32bit port on a amd64bit machine

2006-12-04 Thread Prudhvi Krishna Surapaneni

Hi,
is there a way i can install a 32bit port on a amd64 bit machine.
Ex:
rite now istanbul port only compiles on a i386 system. But, i need that
port badly so is there a way to install in on my amd64 box ?

Thanks in advance
--
Prudhvi Krishna Surapaneni

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


Re: DVD Movies

2006-12-04 Thread Jona Joachim
On Sat, 2 Dec 2006 11:09:24 -0500
John Nielsen [EMAIL PROTECTED] wrote:

 On Saturday 02 December 2006 08:49, Andrew Pantyukhin wrote:
  On 12/2/06, Graham Bentley [EMAIL PROTECTED] wrote:
Is it possible to play a DVD without loading X ?
 
  Apparently, yes
 
  http://gentoo-wiki.com/HOWTO_MPlayer_on_Framebuffer
 
 I think most of those framebuffer options are Linux-specific, but
 svgalib is certainly available on FreeBSD. The only trick is getting
 it configured properly..

It works with ncurses, too.
Perhaps this will be helpful:
http://www.oreilly.com/pub/h/4441

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


Re: BSDStats Report for December 1st, 2006

2006-12-04 Thread Marc G. Fournier
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



- --On Monday, December 04, 2006 20:46:49 +0300 Boris Samorodov [EMAIL 
PROTECTED] 
wrote:


 Add something like that (real code at least) to the init/rc file used on the
 diskless station, to be run after all mounts are up?

 As I said I'm afraid those machines may give some destabilization to
 bsdstats results when the First of month is a holiday/weekend. So I'm
 not sure if it's a good thing to report them to bsdstats.org. What do
 you think?

Run them, but, have the script to pull the bsdstats file over also run the 
script at the same time, so that not only do they update their stats 'on the 
1st' (if they are up), but also when they reboot ... that way, it is guaranteed 
to report once a month ...



- 
Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (FreeBSD)

iD8DBQFFdGzx4QvfyHIvDvMRApRnAJ0dz7Kr3gPmznH5kxhpSuGotQCzFwCgtM5o
4sCeAj1OsrJkAFU9ZQJ4QpM=
=gZYQ
-END PGP SIGNATURE-

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


custom rc.d script not working

2006-12-04 Thread Gobbledegeek

I  compiled quagga 0.99.5  from source (not  freebsd port) and  wrote  this
little  script in the /etc/rc.d/zebra  file.
---
#!/bin/sh

# PROVIDE: zebra
# REQUIRE: NETWORKING

. /etc/rc.subr

name=zebra
rcvar=${name}_enable
required_files=/usr/local/etc/${name}.conf
command=/usr/local/sbin/${name}
command_args=-d
pidfile=/var/run/${name}.pid
load_rc_config $name
run_rc_command $1
--

/etc/rc.conf has  zebra_enable=yes

However it only starts zebra  when  I execute  it manually from
command  line.  When I boot  freebsd, it  executes   and I see
message  in boot screen  that zebra  is starting, but on login I find
zebra isn't running.
all files in /usr/local/sbin/   for  zebra  executables are  owned  by
quagga/quagga user/group.

Once I  get this working, I  will ofcourse  add scripts for ospfd  and
bgpd and isisd..  but it beats me why this isn't  working...

This is  on  freebsd 6.2  RC1  i386.

Thanks very much in advance  for  your help...

PS:  Please  CC  me as I am not subscribed.

--
Rgrds
GobbledeGeek
[Everything but Gobbledegook.. !!]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Fwd: DGE-530T nic not found on 5.5

2006-12-04 Thread Derrick Ryalls

[Resending with more info]

Greetings, I have a fileserver I installed this nic on but the device
fails to show in ifconfig

uname:
5.5-STABLE FreeBSD 5.5-STABLE #2: Sun Oct 29 14:12:46 PST 2006
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/FRODO

Except from FRODO kernel file (generic plus some):

# PCI Ethernet NICs that use the common MII bus controller code.
# NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
device  miibus  # MII bus support
device  bfe # Broadcom BCM440x 10/100 Ethernet
device  bge # Broadcom BCM570xx Gigabit Ethernet
device  dc  # DEC/Intel 21143 and various workalikes
device  fxp # Intel EtherExpress PRO/100B (82557, 82558)
device  lge # Level 1 LXT1001 gigabit ethernet
device  nge # NatSemi DP83820 gigabit ethernet
device  pcn # AMD Am79C97x PCI 10/100 (precedence
over 'lnc')
device  re  # RealTek 8139C+/8169/8169S/8110S
device  rl  # RealTek 8129/8139
device  sf  # Adaptec AIC-6915 (``Starfire'')
device  sis # Silicon Integrated Systems SiS 900/SiS 7016
device  sk  # SysKonnect SK-984x  SK-982x gigabit Ethernet
device  ste # Sundance ST201 (D-Link DFE-550TX)
device  ti  # Alteon Networks Tigon I/II gigabit Ethernet
device  tl  # Texas Instruments ThunderLAN
device  tx  # SMC EtherPower II (83c170 ``EPIC'')
device  vge # VIA VT612x gigabit ethernet
device  vr  # VIA Rhine, Rhine II
device  wb  # Winbond W89C840F
device  xl  # 3Com 3c90x (``Boomerang'', ``Cyclone'')


dmesg except:

pci0: network, ethernet at device 6.0 (no driver attached)
vr0: VIA VT6102 Rhine II 10/100BaseTX port 0xdc00-0xdcff mem
0xdfffbe00-0xdfffbeff
irq 23 at device 18.0 on pci0
miibus0: MII bus on vr0
ukphy0: Generic IEEE 802.3u media interface on miibus0
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
vr0: Ethernet address: xx:xx:xx:xx:xx:xx

The reference to vr0 are for the onboard nic that it is currently
running off of.

ifconfig lists vr0, plip0, lo0

===[frodo][root] ~ # pciconf -l
[EMAIL PROTECTED]:0:0:  class=0x06 card=0x1106 chip=0x30991106 rev=0x00 
hdr=0x00
[EMAIL PROTECTED]:1:0: class=0x060400 card=0x0080 chip=0xb0991106 rev=0x00 
hdr=0x01
[EMAIL PROTECTED]:6:0: class=0x02 card=0x4b011186 chip=0x4b011186 rev=0x11 
hdr=0x00
[EMAIL PROTECTED]:16:0:class=0x0c0300 card=0x76401462 chip=0x30381106
rev=0x80 hdr=0x00
[EMAIL PROTECTED]:16:1:class=0x0c0300 card=0x76401462 chip=0x30381106
rev=0x80 hdr=0x00
[EMAIL PROTECTED]:16:2:class=0x0c0300 card=0x76401462 chip=0x30381106
rev=0x80 hdr=0x00
[EMAIL PROTECTED]:16:3:class=0x0c0320 card=0x76401462 chip=0x31041106
rev=0x82 hdr=0x00
[EMAIL PROTECTED]:17:0:class=0x060100 card=0x1106 chip=0x31771106
rev=0x00 hdr=0x00
[EMAIL PROTECTED]:17:1:  class=0x01018a card=0x76401462 chip=0x05711106
rev=0x06 hdr=0x00
[EMAIL PROTECTED]:18:0:  class=0x02 card=0x01021106 chip=0x30651106 
rev=0x74 hdr=0x00
[EMAIL PROTECTED]:0:0: class=0x03 card=0x000da0a0 chip=0x002d10de rev=0x15 
hdr=0x00



Doing some searching, someone posted this part of dmesg on a 5.4
PRERELEASE system:

skc0: D-Link DGE-530T Gigabit Ethernet port 0x7400-0x74ff mem
0xfb80-0xfb803fff irq 18 at device 10.0 on pci2
skc0: (null) rev. (0x1)
sk0: Marvell Semiconductor, Inc. Yukon on skc0
sk0: Ethernet address: 00:0f:3d:f2:45:0c
miibus0: MII bus on sk0
e1000phy0: Marvell 88E1000 Gigabit PHY on miibus0
e1000phy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX-FDX,
auto

I did check the hardware notes before buying this nic, and according
to http://www.freebsd.org/releases/5.5R/hardware-i386.html it is
supported.  Have I missed a switch somewhere?

Thanks in advance.

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


Realtek (re(4)) Driver in 6.1

2006-12-04 Thread Jon Drukman
I'm about to install 6.1 on a machine that's been happily ticking away 
with 4.1.1 for years now.  (I need to upgrade it to gigabit ethernet.)


Does the default kernel on the 6.1-R installation CD include the realtek 
re(4) driver?  If not, what would I have to do to enable it?


-jsd-

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


Ports: Starting over from scratch?

2006-12-04 Thread Drew

I'm running into some problems on a desktop box that I've not seen anywhere
else with upgrading multiple ports. The problem is so extensive, and a
solution not being forthcoming, I'm very tempted to make deinstall from
/usr/ports and then pkg_deinstall -a, and start over again. Does anyone have
any advice or input on a procedure like this?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Realtek (re(4)) Driver in 6.1

2006-12-04 Thread John Nielsen
On Monday 04 December 2006 13:54, Jon Drukman wrote:
 I'm about to install 6.1 on a machine that's been happily ticking away
 with 4.1.1 for years now.  (I need to upgrade it to gigabit ethernet.)

 Does the default kernel on the 6.1-R installation CD include the realtek
 re(4) driver?

Yes.

 If not, what would I have to do to enable it? 

echo 'if_re_load=YES'  /boot/loader.conf

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


Re: Ports: Starting over from scratch?

2006-12-04 Thread Ceri Davies
On Mon, Dec 04, 2006 at 01:05:08PM -0600, Drew wrote:
 I'm running into some problems on a desktop box that I've not seen anywhere
 else with upgrading multiple ports. The problem is so extensive, and a
 solution not being forthcoming, I'm very tempted to make deinstall from
 /usr/ports and then pkg_deinstall -a, and start over again. Does anyone have
 any advice or input on a procedure like this?

I did something similar recently when I decided to remove all traces of
kde and gnome from my desktop in favour of wmii.  Basically, I did the
following.

  o List all ports on the system
  pkg_info -E \*  /tmp/installed_ports

  o Edit the list, and delete every line except that which I know I want
cp /tmp/installed_ports /tmp/required_ports
vi /tmp/required_ports

  o Remove everything left in the file, letting the dependencies take
 care of keeping everything that I actually need
pkg_delete `cat /tmp/required_ports`

  o Have pkgdb fix up any problems (there weren't any)
pkgdb -Ff

In my case though, I didn't want the ports that were being removed.  It
sounds llike you do, in which case you could also save the origins of
the ports that you have installed and install them again afterwards.

To save the origins of all of your installed ports:
   pkg_info -oa | grep /  /tmp/port_origins

Then you can just throw them all back in with portinstall or similar.

Ceri
-- 
That must be wonderful!  I don't understand it at all.
  -- Moliere


pgpWXogVcFMFr.pgp
Description: PGP signature


What is the difference between No address associated with name and Unknown host

2006-12-04 Thread a
What is the difference between No address associated with name 
and Unknown host:

$ ping accounts.eirtrade.ie
ping: cannot resolve accounts.eirtrade.ie: No address associated with name

and

$ ping accounts.eirtrade.i
ping: cannot resolve accounts.eirtrade.i: Unknown host

The source of my interest is the next.

My sendmail receives mail from senders with domains like the first,
but rejects mail from the last:


$ telnet localhost 25
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 host.my.domain ESMTP Sendmail 8.13.7/8.13.6; Mon, 4 Dec 2006 21:38:50 +0200
(EET)
HELO localhost
250 host.my.domain Hello localhost [127.0.0.1], pleased to meet you
MAIL From: [EMAIL PROTECTED]
250 2.1.0 [EMAIL PROTECTED] Sender ok
RSET
250 2.0.0 Reset state
MAIL From: [EMAIL PROTECTED]
553 5.1.8 [EMAIL PROTECTED] Domain of sender address 
[EMAIL PROTECTED] does not exist
QUIT
221 2.0.0 host.my.domain closing connection
Connection closed by foreign host.


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


Re: What is the difference between No address associated with name and Unknown host

2006-12-04 Thread Nagy László Zsolt

[EMAIL PROTECTED] wrote:
What is the difference between No address associated with name 
and Unknown host:


$ ping accounts.eirtrade.ie
ping: cannot resolve accounts.eirtrade.ie: No address associated with name

and

$ ping accounts.eirtrade.i
ping: cannot resolve accounts.eirtrade.i: Unknown host
  
If the host is unknown, then it means that the primary domain name 
server is not registered for the given domain. Because the domain name 
server cannot be found, it is not possible to tell the IP address of the 
given hostname.


You get the second message when there is a primary domain name server 
for the given domain, but it does not return any IP address for your 
(named) address. It means that there is no A record for the given hostname.


For me, I get these results:

#ping acconts.eirtrade.ie
ping: cannot resolve acconts.eirtrade.ie: Unknown host
#ping eirtrade.ie
ping: cannot resolve eirtrade.ie: No address associated with name

If you have the dig command available on your machine, you can read 
its documentation, and play with it. It will make things clear. Look 
below: in the first case, there is no A record, but there is a SOA 
record. However, the hostname of the SOA is different from the queried 
hostname. In the second case, there is no A record, there is a SOA and 
the hostname of the SOA and the queried hostname are the same. So in the 
first case, we cannot know if the host is registered at all. In the 
second case, the hostname is registered for sure, but it has no A 
record. (However, subdomains like www.eirtrade.ie can have A records...)


#dig accounts.eirtrade.ie

;  DiG 9.3.2  accounts.eirtrade.ie
;; global options:  printcmd
;; Got answer:
;; -HEADER- opcode: QUERY, status: NOERROR, id: 50610
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;accounts.eirtrade.ie.  IN  A

;; AUTHORITY SECTION:
eirtrade.ie.10515   IN  SOA auth01.ns.eircom.net. 
hostmaster.eircom.net. 2001031301 28800 7200 604800 86400


;; Query time: 1 msec
;; SERVER: 195.228.240.249#53(195.228.240.249)
;; WHEN: Mon Dec  4 15:02:25 2006
;; MSG SIZE  rcvd: 105

#dig eirtrade.ie

;  DiG 9.3.2  eirtrade.ie
;; global options:  printcmd
;; Got answer:
;; -HEADER- opcode: QUERY, status: NOERROR, id: 932
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;eirtrade.ie.   IN  A

;; AUTHORITY SECTION:
eirtrade.ie.10800   IN  SOA auth01.ns.eircom.net. 
hostmaster.eircom.net. 2001031301 28800 7200 604800 86400


;; Query time: 37 msec
;; SERVER: 195.228.240.249#53(195.228.240.249)
;; WHEN: Mon Dec  4 15:03:17 2006
;; MSG SIZE  rcvd: 96

Best,

  Laszlo

p.s.: I think I'm right, but please do not trust me blindly. :-)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: What is the difference between No address associated with name and Unknown host

2006-12-04 Thread Chuck Swiger

On Dec 4, 2006, at 11:54 AM, [EMAIL PROTECTED] wrote:

What is the difference between No address associated with name
and Unknown host:


The former means there is no A record in the DNS for the hostname,  
but there is a DNS record for the domain and that it answered the  
question as such.  The latter indicates that the domain itself was  
invalid, and you got an NXDOMAIN response rather than NOERROR.



$ ping accounts.eirtrade.ie
ping: cannot resolve accounts.eirtrade.ie: No address associated  
with name


and

$ ping accounts.eirtrade.i
ping: cannot resolve accounts.eirtrade.i: Unknown host


% dig accounts.eirtrade.ie

;  DiG 9.3.2  accounts.eirtrade.ie
;; global options:  printcmd
;; Got answer:
;; -HEADER- opcode: QUERY, status: NOERROR, id: 53319
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;accounts.eirtrade.ie.  IN  A

;; AUTHORITY SECTION:
eirtrade.ie.10703   IN  SOA auth01.ns.eircom.net.  
hostmaster.eircom.net. 2001031301 28800 7200 604800 86400


;; Query time: 1 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Mon Dec  4 15:09:19 2006
;; MSG SIZE  rcvd: 105

% dig accounts.eirtrade.i

;  DiG 9.3.2  accounts.eirtrade.i
;; global options:  printcmd
;; Got answer:
;; -HEADER- opcode: QUERY, status: NXDOMAIN, id: 18893
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;accounts.eirtrade.i.   IN  A

;; AUTHORITY SECTION:
.   10718   IN  SOA A.ROOT-SERVERS.NET.  
NSTLD.VERISIGN-GRS.COM. 2006120400 1800 900 604800 86400


;; Query time: 1 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Mon Dec  4 15:10:35 2006
;; MSG SIZE  rcvd: 112

--
-Chuck

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


ipod freebsd 6.1 on amd64

2006-12-04 Thread Dino Vliet
Hi peeps,

does anyone have luck using an ipod on freebsd 6.1 on
a amd64 system? I can't get mine to work. If I plug my
ipod into a usb port, look what dmesg gives me:

uhub1: device problem (SHORT_XFER), disabling port 8
uhub0: device problem (SET_ADDR_FAILED), disabling
port 8
uhub1: device problem (SET_ADDR_FAILED), disabling
port 7
uhub1: device problem (SHORT_XFER), disabling port 7
[EMAIL PROTECTED] /usr/home/dvliet]$ 

What now?





 

Need a quick answer? Get one in minutes from people who know.
Ask your question on www.Answers.yahoo.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Configuring DNS (BIND) in isolation

2006-12-04 Thread Andrew Falanga



You're on the right track.  Yes, you'ld need a zone file for the root of
your DNS -- if it's all served from one machine then that would replace
the
'hint' zone and named.root stuff in the example named.conf

The zone file for '.' would contain an SOA record and then delegation for
whatever forward and reverse domains you want to use.  Eg. supposing you
want to use the TLD 'in.isolation' with IP numbers from 192.168.0.0/24
then you'ld need something like:

;
; Root of the private domain name system
;
$TTL 604800; 1 week

@ IN  SOA ns0.in.isolation. hostmaster.in.isolation. (
  2006120100 ;  Serial
  1800   ;  Refresh (30min)
  900;  Retry (15min)
  604800 ;  Expire (1week)
  86400 );  Minimum (1day)
in.isolation.IN  NS ns0.in.isolation.
0.168.192.in-addr.arpa.  IN  NS ns0.in.isolation.
ns0.in.isolation.IN  A 192.168.0.1   ; Glue
;
; That's All Folks!
;



Ok, here's the problems I've got so far.  I've made the following files,

isolated.zone, isolated.rev, localhost.rev, localhost-v6.rev and root.zone

The isolated.* files are for the forward addresses and the reverse pointers
for 192.168.0.0/24 that I've set up.  The root.zone file contains, what I
thought should be, for the . zone.  (Matthew, from your message above, I
wasn't clear if all I'd need is what you have above, or that it was implied
that I'd need a SOA for the . zone as well.  So, I made one.)

Now, I'm getting a few errors.  Sometimes it seems that named can't find the
files that I told it to look for in named.conf.  I used the original
named.conf file as a reference, and just filled in the blanks as it were,
for my zones.

Also, named keeps complaining about rndc.key files missing.  How do I
generate these key files?  I didn't find anything from 'man rndc'?

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


Re: What is the difference between No address associated with name and Unknown host

2006-12-04 Thread Nagy László Zsolt




If you have the dig command available on your machine, you can read 
its documentation, and play with it. It will make things clear. Look 
below: in the first case, there is no A record, but there is a SOA 
record. However, the hostname of the SOA is different from the queried 
hostname. In the second case, there is no A record, there is a SOA and 
the hostname of the SOA and the queried hostname are the same. So in 
the first case, we cannot know if the host is registered at all. In 
the second case, the hostname is registered for sure, but it has no A 
record. (However, subdomains like www.eirtrade.ie can have A records...)


#dig accounts.eirtrade.ie
Sorry, try this with accounts.eirtrade.i instead of 
accounts.eirtrade.ie. :-)

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


freebsd 6.1 smbutil error

2006-12-04 Thread george kinzie
When I try to use smbutil login I get this error message smbutil: 
smb_lib_init: can't find kernel module even though smbutil lookup works. What 
could be the problem?  
 
-
Check out the all-new Yahoo! Mail beta - Fire up a more powerful email and get 
things done faster.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: DGE-530T nic not found on 5.5 - Possibly solved

2006-12-04 Thread Derrick Ryalls

On 12/4/06, Derrick Ryalls [EMAIL PROTECTED] wrote:

[Resending with more info]

Greetings, I have a fileserver I installed this nic on but the device
fails to show in ifconfig

uname:
5.5-STABLE FreeBSD 5.5-STABLE #2: Sun Oct 29 14:12:46 PST 2006
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/FRODO

Except from FRODO kernel file (generic plus some):

# PCI Ethernet NICs that use the common MII bus controller code.
# NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
device  miibus  # MII bus support
device  bfe # Broadcom BCM440x 10/100 Ethernet
device  bge # Broadcom BCM570xx Gigabit Ethernet
device  dc  # DEC/Intel 21143 and various workalikes
device  fxp # Intel EtherExpress PRO/100B (82557, 82558)
device  lge # Level 1 LXT1001 gigabit ethernet
device  nge # NatSemi DP83820 gigabit ethernet
device  pcn # AMD Am79C97x PCI 10/100 (precedence
over 'lnc')
device  re  # RealTek 8139C+/8169/8169S/8110S
device  rl  # RealTek 8129/8139
device  sf  # Adaptec AIC-6915 (``Starfire'')
device  sis # Silicon Integrated Systems SiS 900/SiS 7016
device  sk  # SysKonnect SK-984x  SK-982x gigabit Ethernet
device  ste # Sundance ST201 (D-Link DFE-550TX)
device  ti  # Alteon Networks Tigon I/II gigabit Ethernet
device  tl  # Texas Instruments ThunderLAN
device  tx  # SMC EtherPower II (83c170 ``EPIC'')
device  vge # VIA VT612x gigabit ethernet
device  vr  # VIA Rhine, Rhine II
device  wb  # Winbond W89C840F
device  xl  # 3Com 3c90x (``Boomerang'', ``Cyclone'')


dmesg except:

pci0: network, ethernet at device 6.0 (no driver attached)
vr0: VIA VT6102 Rhine II 10/100BaseTX port 0xdc00-0xdcff mem
0xdfffbe00-0xdfffbeff
 irq 23 at device 18.0 on pci0
miibus0: MII bus on vr0
ukphy0: Generic IEEE 802.3u media interface on miibus0
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
vr0: Ethernet address: xx:xx:xx:xx:xx:xx

The reference to vr0 are for the onboard nic that it is currently
running off of.

ifconfig lists vr0, plip0, lo0

===[frodo][root] ~ # pciconf -l
[EMAIL PROTECTED]:0:0:  class=0x06 card=0x1106 chip=0x30991106 rev=0x00 
hdr=0x00
[EMAIL PROTECTED]:1:0: class=0x060400 card=0x0080 chip=0xb0991106 rev=0x00 
hdr=0x01
[EMAIL PROTECTED]:6:0: class=0x02 card=0x4b011186 chip=0x4b011186 rev=0x11 
hdr=0x00
[EMAIL PROTECTED]:16:0:class=0x0c0300 card=0x76401462 chip=0x30381106
rev=0x80 hdr=0x00
[EMAIL PROTECTED]:16:1:class=0x0c0300 card=0x76401462 chip=0x30381106
rev=0x80 hdr=0x00
[EMAIL PROTECTED]:16:2:class=0x0c0300 card=0x76401462 chip=0x30381106
rev=0x80 hdr=0x00
[EMAIL PROTECTED]:16:3:class=0x0c0320 card=0x76401462 chip=0x31041106
rev=0x82 hdr=0x00
[EMAIL PROTECTED]:17:0:class=0x060100 card=0x1106 chip=0x31771106
rev=0x00 hdr=0x00
[EMAIL PROTECTED]:17:1:  class=0x01018a card=0x76401462 chip=0x05711106
rev=0x06 hdr=0x00
[EMAIL PROTECTED]:18:0:  class=0x02 card=0x01021106 chip=0x30651106 
rev=0x74 hdr=0x00
[EMAIL PROTECTED]:0:0: class=0x03 card=0x000da0a0 chip=0x002d10de rev=0x15 
hdr=0x00



Doing some searching, someone posted this part of dmesg on a 5.4
PRERELEASE system:

skc0: D-Link DGE-530T Gigabit Ethernet port 0x7400-0x74ff mem
0xfb80-0xfb803fff irq 18 at device 10.0 on pci2
skc0: (null) rev. (0x1)
sk0: Marvell Semiconductor, Inc. Yukon on skc0
sk0: Ethernet address: 00:0f:3d:f2:45:0c
miibus0: MII bus on sk0
e1000phy0: Marvell 88E1000 Gigabit PHY on miibus0
e1000phy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX-FDX,
auto

I did check the hardware notes before buying this nic, and according
to http://www.freebsd.org/releases/5.5R/hardware-i386.html it is
supported.  Have I missed a switch somewhere?

Thanks in advance.

-Derrick



I found this in an archive:

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

I tried manually editing if_sk.c and if_skreg.h build/install kernel
(patch didn't work, possibly wrong version of file?), and then got
this in dmesg:

skc0: D-Link DGE-530T Gigabit Ethernet port 0xec00-0xecff mem 0xdfffc000-0xdff
f irq 17 at device 6.0 on pci0
skc0: unknown media type: 0x31
device_attach: skc0 attach returned 6

So then I did some searching for 0x31 and found this:

http://www.bsdforums.org/forums/archive/index.php/t-43153.html

I added the lines for 0x31 and now the nic shows up in ifconfig.  I am
not home so I can't plug in a patch cord to see if it is fully
functional.

If this does work, how would I create a patch file?  I saved the
original files before editing.  I definitely don't want to claim
ownership of the work that went into this, I was just hoping 

Re: BSDStats Report for December 1st, 2006

2006-12-04 Thread Antony Mawer

On 5/12/2006 2:47 AM, hal wrote:


On Dec 3, 2006, at 9:43 AM, Boris Samorodov wrote:


On Sun, 03 Dec 2006 04:09:18 -0400 Marc G. Fournier wrote:

Since the point of this is to be run monthly, out of periodic 
monthly, the 1st
of the month is when all hosts should be 'renewing' their information 
...


I have some diskless workstations running FreeBSD. Sure users are not
supposed to use them _every_ first day of month (ex. when this day is
a weekend or a holiday). Whould stats from those workstations be
useless?


How do machines report in?  I have several FreeBSD boxes most
of which have non-routable addresses and are behind a firewall.

Can I have a spokesman box which reports for all?  If I can
how?


The machines use simple HTTP requests using the 'fetch' program.. if the 
machines have Internet access via NAT, then that should be sufficient.


If they live on a closed network without Internet access, but you have 
an internal-facing server that does have Internet access, I have a draft 
document on setting up Apache on that server to forward proxy to the 
main BSDstats site.


It will be posted to the BSDstats site once I've finished it (probably 
in about a week). If you want to help test the draft instructions prior 
to publishing, email me privately and I'll provide you with the relevant 
details.


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


Re: /usr/ports/x11-toolkits/eel linker error

2006-12-04 Thread Laszlo Nagy

Pablo Mora wrote:

On 12/1/06, Laszlo Nagy [EMAIL PROTECTED] wrote:

What am I going wrong? Please help!

System: FreeBSD 6.1-RELEASE-p10 #4: Thu Nov 30 13:33:49 CET 2006
The ports tree was updated yesterday, then I ran

portupgrade -a

It was completed today. Then I ran portinstall gnome2 and got this 
error:


grep: /usr/X11R6/lib/libgnomeui-2.la: No such file or directory
sed: /usr/X11R6/lib/libgnomeui-2.la: No such file or directory
gnome-libtool: link: `/usr/X11R6/lib/libgnomeui-2.la' is not a valid
libtool archive
gmake[2]: *** [libeel-2.la] Error 1
gmake[2]: Leaving directory
`/usr/ports/x11-toolkits/eel/work/eel-2.16.3/eel'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory 
`/usr/ports/x11-toolkits/eel/work/eel-2.16.3'

gmake: *** [all] Error 2
*** Error code 2

Stop in /usr/ports/x11-toolkits/eel.

NOTE: The correct file is in /usr/local/lib/libgnomeui-2.la, but the
port cannot find it.



20061014:
 AFFECTS: All GTK+2 and GNOME users
 AUTHOR: [EMAIL PROTECTED]

 GNOME has been updated to 2.16. All GTK+2 and GNOME components have
 been moved from X11BASE (/usr/X11R6) to LOCALBASE (/usr/local). To
 upgrade your GNOME desktop or/and other applications you will need
 to use either sysutils/portupgrade or sysutils/portmaster. To use
 portmaster, make sure you have least 1.9 version to have the
 upgrade succeed.

Portupgrade users:
 pkgdb -Ff
 portupgrade -rf pkg-config\*

I did this, but I still get the same error.

The strange thing is that after running portupgrade -rf pkg-config\*, 
I tried to run it again and it started to upgrade everything again. I 
think this is bad.


  Laszlo

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


finding out what devices got an ip from the dhcp ?

2006-12-04 Thread Beni
Hi all,

Is there an easy and fast way to find out what computers got an ip from the 
dhcp daemon running on my Linksys WAG54G ?

I know I can log onto the adsl gateway and check it via the webinterface and 
see in realtime how many addresses are distributed to what pc-names, but 
there i have no history and i was hoping there were other ways of checking 
this out. 

I'm not at all paranoid but i would like to check who's on my (wpa-protected) 
wireless lan...

Thanks for any tips/hints.

Beni.


pgpsGYrpA2c7z.pgp
Description: PGP signature


Re: Realtek (re(4)) Driver in 6.1

2006-12-04 Thread Marwan Sultan

Hello Pietro,

 A question,
 I have 8 servers! all intel motherboards, but some are 101 and others 945 
models.

 all acting as NAT gateway, and the NAT NIC is dlink.
 vr0 and rl0 are my devices
 im having unknown dropdown connections! when i investigate i found nothing 
but

 watchdog timeout!

 Yes its heavy load, and every few days my vr0 stops acting as DHCP and i 
find watchdog

 timeout error..

 What is the solutions? (change the NICs? both?
 And how to fix it! (console solutions? )

 Thank you.

  Marwan.

On Monday 04 December 2006 13:54, Jon Drukman wrote:
 Does the default kernel on the 6.1-R installation CD include the 
realtek

 re(4) driver?


Yes, it does. But I'd suggest using a card based on another chipset.
The re(4) serie is rather buggy: it often goes down for a while
(watchdog timeout) on heavy ftp or cvs transfer loads.



JN



--
Pietro Cerutti
ICQ: 117293691
PGP: 0x9571F78E

- ASCII Ribbon Campaign -
against HTML e-mail and
proprietary attachments
  www.asciiribbon.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]


_
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


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


Looking for a cookbook on Oracle clients...

2006-12-04 Thread Brian J. McGovern
All,
I have a task that requires I extract a data set from a MySQL server,
and push it on to an Oracle (9i) server. I figured I'd go the ODBC route, 
and installed unix_odbc_driver and its dependencies. 

However, its pretty clear that I don't fully understand what I'm doing,
and each step forward is costing me half a day of debugging, reading code,
and banging my head against the wall. From the documents I can find on the
web, it seems all I should have to do is install, configure my odbc.ini and
odbcinst.ini files, and go.

So, the questions:

1.) Is anyone using unixODBC and oracle_driver_odbc against a 9i
server?
2.) If so, can someone send me their .ini files and any other 
environment and oracle settings they needed to do to make it work (mine
are below)?

3.) Have people moved over to the instantclient in ports? If so, does
anyone have some sample code to test the basic ability to connect?

-Brian

[Oracle]
Description = Oracle Configuration
Driver  = Oracle
Trace   = Yes
TraceFile   = /var/log/odbc.log
Database= eengstg
Servername  = oracle_server
UserName= 
Password= 
Port= 1521

[Oracle]
Description = Oracle driver for FreeBSD
Driver  = /usr/local/lib/liboraodbc.so
Setup   = /usr/local/lib/liboradbS.so
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


How Do Binary Repair

2006-12-04 Thread Rachel Florentine
75Hi;
I broke gcc. Yes, I'm pretty confident that's what I did. How do I repair it? 
Or is this the wrong forum to ask?
TIA,
Rachel




 

Yahoo! Music Unlimited
Access over 1 million songs.
http://music.yahoo.com/unlimited
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: finding out what devices got an ip from the dhcp ?

2006-12-04 Thread Murray Taylor
 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of Beni
 Sent: Tuesday, 5 December 2006 7:19 AM
 To: freebsd-questions@freebsd.org
 Subject: finding out what devices got an ip from the dhcp ?
 
 Hi all,
 
 Is there an easy and fast way to find out what computers got 
 an ip from the 
 dhcp daemon running on my Linksys WAG54G ?
 
 I know I can log onto the adsl gateway and check it via the 
 webinterface and 
 see in realtime how many addresses are distributed to what 
 pc-names, but 
 there i have no history and i was hoping there were other 
 ways of checking 
 this out. 
 
 I'm not at all paranoid but i would like to check who's on my 
 (wpa-protected) 
 wireless lan...
 
 Thanks for any tips/hints.
 
 Beni.
 

Does the wifi AP provide for MAC tables?  ie you set up the permissible 
MAC addresses that can connect to the wifi AP 

Then only valid MAC listed NICs can get an address from the dhcp server 
in the wifi access point.

While not perfect it certainly 'Makes It Harder' for the 
opportunistic wardrivers to connect as their NIC isnt
'known' in the wifi MAC table.

HTH
mjt
---
The information transmitted in this e-mail is for the exclusive
use of the intended addressee and may contain confidential
and/or privileged material. Any review, re-transmission,
dissemination or other use of it, or the taking of any action
in reliance upon this information by persons and/or entities
other than the intended recipient is prohibited. If you
received this in error, please inform the sender and/or
addressee immediately and delete the material. 

E-mails may not be secure, may contain computer viruses and
may be corrupted in transmission. Please carefully check this
e-mail (and any attachment) accordingly. No warranties are
given and no liability is accepted for any loss or damage
caused by such matters.
---

### This e-mail message has been scanned for Viruses by Bytecraft ###
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: finding out what devices got an ip from the dhcp ?

2006-12-04 Thread Chuck Swiger

On Dec 4, 2006, at 12:18 PM, Beni wrote:
Is there an easy and fast way to find out what computers got an ip  
from the

dhcp daemon running on my Linksys WAG54G ?

I know I can log onto the adsl gateway and check it via the  
webinterface and
see in realtime how many addresses are distributed to what pc- 
names, but
there i have no history and i was hoping there were other ways of  
checking

this out.

I'm not at all paranoid but i would like to check who's on my (wpa- 
protected)

wireless lan...


Install a port-scanner like nmap, and scan the DHCP-managed subnet.   
I suppose you could use plain old ping, too, but nmap will identify  
the OS and hardware manufacturer of the NIC (although I'm not sure it  
knows how to recognize the MACs of wireless cards)...


--
-Chuck

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


Re: How Do Binary Repair

2006-12-04 Thread Kris Kennaway
On Mon, Dec 04, 2006 at 02:19:09PM -0800, Rachel Florentine wrote:
 75Hi;
 I broke gcc. Yes, I'm pretty confident that's what I did. How do I repair it? 
 Or is this the wrong forum to ask?

Reinstall from backup or fresh binary media.

Kris


pgpXpuXqljxRu.pgp
Description: PGP signature


issues with NgMkSockNode

2006-12-04 Thread Bill Thompson

Hello,
I'm implementing a program using netgraph, and I'm having some issues when
calling NgMkSockNode and would like to know if this is the right list to
post questions for this subject or is there a better list that I should use.

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


Re: Realtek (re(4)) Driver in 6.1

2006-12-04 Thread Pietro Cerutti

On 12/4/06, Marwan Sultan [EMAIL PROTECTED] wrote:

Hello Pietro,

Hello!


  Yes its heavy load, and every few days my vr0 stops acting as DHCP and i
find watchdog
  timeout error..

Yep, those are the symptoms...


  What is the solutions? (change the NICs? both?
  And how to fix it! (console solutions? )

I'm sorry, I can't help you... I'm not (yet) able to play with the
if_re module code, and when I asked the same question a few years ago,
the only answer I got was: Realtek sucks, go out and buy yourself a
real NIC!
At the time they pointed out 3Com or Intel as good candidates, but
since my purpose was just to keep a SOHO server up, I never went out
and never bought myself a new nic ;-)

There's a discussion going on on freebsd-stable@ about the if_re
module [sorry for cross posting], and it seems there's really skilled
people taking part in the chat, so maybe they can give some [further]
advice



  Thank you.

Nope...



   Marwan.



--
Pietro Cerutti
ICQ: 117293691
PGP: 0x9571F78E

- ASCII Ribbon Campaign -
against HTML e-mail and
proprietary attachments
  www.asciiribbon.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: BSDStats Report for December 1st, 2006

2006-12-04 Thread Chris
Marc G. Fournier wrote:
 
 
 --On Monday, December 04, 2006 20:46:49 +0300 Boris Samorodov [EMAIL 
 PROTECTED] 
 wrote:
 
 
 Add something like that (real code at least) to the init/rc file used on 
 the
 diskless station, to be run after all mounts are up?
 As I said I'm afraid those machines may give some destabilization to
 bsdstats results when the First of month is a holiday/weekend. So I'm
 not sure if it's a good thing to report them to bsdstats.org. What do
 you think?
 
 Run them, but, have the script to pull the bsdstats file over also run the 
 script at the same time, so that not only do they update their stats 'on the 
 1st' (if they are up), but also when they reboot ... that way, it is 
 guaranteed 
 to report once a month ...
 
 
 
 
 Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
 Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
 Yahoo . yscrappy   Skype: hub.orgICQ . 7615664


Wouldn't this be better served in FreeBSD-Ports?

-- 
Best regards,
Chris

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


Re: BSDStats Report for December 1st, 2006

2006-12-04 Thread Boris Samorodov
On Mon, 04 Dec 2006 14:46:08 -0400 Marc G. Fournier wrote:
 --On Monday, December 04, 2006 20:46:49 +0300 Boris Samorodov [EMAIL 
 PROTECTED] 
 wrote:

  Add something like that (real code at least) to the init/rc file used on 
  the
  diskless station, to be run after all mounts are up?
 
  As I said I'm afraid those machines may give some destabilization to
  bsdstats results when the First of month is a holiday/weekend. So I'm
  not sure if it's a good thing to report them to bsdstats.org. What do
  you think?

 Run them, but, have the script to pull the bsdstats file over also run the 
 script at the same time, so that not only do they update their stats 'on the 
 1st' (if they are up), but also when they reboot ...

That is what I thought firstly...

 that way, it is guaranteed 
 to report once a month ...

...but you seem to pay most attention to those hosts reported at the
first day.

Thanks all for your tips, I'll report those hosts.


WBR
-- 
Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone  Internet SP
FreeBSD committer, http://www.FreeBSD.org The Power To Serve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How Do Binary Repair

2006-12-04 Thread Rachel Florentine
82- Original Message 
From: Kris Kennaway [EMAIL PROTECTED]

Reinstall from backup or fresh binary media.

So go to GNU and look for a gcc tarball and have at it. But that's not the FBSD 
way of doing things, is it? I wouldn't do that with MySQL, for example, I'd use 
the port, right? So, what's the FBSD way of doing this?
TIA,
Rachel






 

Have a burning question?  
Go to www.Answers.yahoo.com and get answers from real people who know.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Corrupted C Compiler

2006-12-04 Thread Jan Grant
On Mon, 4 Dec 2006, Rachel Florentine wrote:

 Hi;
 I entered the following stupid command: cp -R /* /ad2 thinking that 
 would copy the contents of my working HD to my new 1/2 teraflop HD 
 (ad2). What it did was manage to wipe out some very important files 
 (thank goodness I had up-to-date backups) and it appears to have 
 corrupted gcc...my C compiler. I deduce this because when I go to build 
 Zope (as an example) from source I have to run a script afterwards that 
 repairs the broken C files. (This, strangely, is not the case if I build 
 Zope from port.) So, my questions for you programmers more experienced 
 than I, are:
 
 1) Does my assessment make sense? Is gcc corrupt?

I don't think it makes much sense, no. Zope is python-based and unless 
you're building products that rely on native libraries, what you 
describe doesn't sound like an accurate diagnosis. It's more likely 
(this is a stab in the dark) that you're running a script to regerate 
.pyc files; these are precompiled python bytecode files that are built 
from the corresponding .py files.

That's a part and parcel of readying Zope for production - however, Zope 
will run without those .pyc files (the .py files are compiled on first 
load instead).

I suspect that that's what's going on.
Cheers,
jan

-- 
jan grant, ISYS, University of Bristol. http://www.bris.ac.uk/
Tel +44 (0)117 3317661   http://ioctl.org/jan/
Usenet: The separation of content AND presentation - simultaneously.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How Do Binary Repair

2006-12-04 Thread Kris Kennaway
On Mon, Dec 04, 2006 at 03:08:20PM -0800, Rachel Florentine wrote:
 82- Original Message 
 From: Kris Kennaway [EMAIL PROTECTED]
 
 Reinstall from backup or fresh binary media.
 
 So go to GNU and look for a gcc tarball and have at it. But that's not the 
 FBSD way of doing things, is it? I wouldn't do that with MySQL, for example, 
 I'd use the port, right? So, what's the FBSD way of doing this?
 TIA,

Uh, what I said.  Fresh binary media = either reinstall from an iso
image, or extract a copy of the damaged files from the freebsd release
media in another way (e.g. fetch the base.* files from the ftp site,
and pass through cat | tar -xfj -).

If it was some other file you damaged, you could repair it by just
recompiling from source, but the compiler is a critical part of the
FreeBSD system and you obviously can't fix a broken compiler by
recompiling with itself.

Kris


pgp3WXSEijYXX.pgp
Description: PGP signature


Re: How Do Binary Repair

2006-12-04 Thread Peter A. Giessel
On 2006/12/04 14:08, Rachel Florentine seems to have typed:
 82- Original Message 
 From: Kris Kennaway [EMAIL PROTECTED]
 
 Reinstall from backup or fresh binary media.
 
 So go to GNU and look for a gcc tarball and have at it. But that's not the 
 FBSD way of doing things, is it? I wouldn't do that with MySQL, for example, 
 I'd use the port, right? So, what's the FBSD way of doing this?
 TIA,
 Rachel

I'm assuming that you are talking about GCC in the base system?

How do you propose to recompile GCC without GCC?  I suppose you could do
a make buildworld but not if you don't have a working compiler.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


network interface status

2006-12-04 Thread Beni
Hi,

Every day, Charly Root sends me an email with the Daily Run Output. In it is a 
section Network interface status who regroups per interface the traffic.

What do i launch (manually) to get those results (not especially by mail but 
on screen is fine) ?

Thanks,

Beni.


pgpo3bVam6gH1.pgp
Description: PGP signature


Re: network interface status

2006-12-04 Thread Chuck Swiger

On Dec 4, 2006, at 12:23 PM, Beni wrote:
Every day, Charly Root sends me an email with the Daily Run Output.  
In it is a
section Network interface status who regroups per interface the  
traffic.


What do i launch (manually) to get those results (not especially by  
mail but

on screen is fine) ?


Hmm.  The magic 8-ball suggests that you want to see the output of  
netstat -i.


:-)

--
-Chuck

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


Re: network interface status

2006-12-04 Thread Lane
On Monday 04 December 2006 14:23, Beni wrote:
 Hi,

 Every day, Charly Root sends me an email with the Daily Run Output. In it
 is a section Network interface status who regroups per interface the
 traffic.

 What do i launch (manually) to get those results (not especially by mail
 but on screen is fine) ?

 Thanks,

 Beni.

Beni,

Check out

man periodic

The job is scheduled in /etc/crontab, or you can run it manually with

periodic daily

Check out /etc/defaults/periodic.conf to see what veriables you can use to 
increase or decrease the output.  But make sure you follow the warnings at 
top and put your modifications in /etc/rc.conf

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


Duo core enable/support help.

2006-12-04 Thread Marwan Sultan

Hello Gurus,

 I just had Intel 102, duo core, fresh freebsd 6.1r installed.
 but i have been told that i have to enable duo core thing in kernel
 what should i have there? only options SMP ?

  what about the /usr/src/sys/i386/conf/SMP file? shall i copy the options 
to MYKERNEL ?


   in shortwords what should i do to enable duo core and fix my bugs,
   here is the dmesg output, with lot of thanks.


192# dmesg
Copyright (c) 1992-2006 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
   The Regents of the University of California. All rights reserved.
FreeBSD 6.1-RELEASE-p10 #0: Tue Dec  5 02:55:13 AST 2006
   admin@:/usr/obj/usr/src/sys/MYKERNEL
ACPI APIC Table: INTEL  D11020M 
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) D CPU 3.40GHz (3400.14-MHz 686-class CPU)
 Origin = GenuineIntel  Id = 0xf64  Stepping = 4
 
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=0xe49dSSE3,RSVD2,MON,DS_CPL,EST,CNTX-ID,CX16,b14,b15
 AMD Features=0x2010NX,LM
 AMD Features2=0x1LAHF
 Cores per package: 2
real memory  = 937070592 (893 MB)
avail memory = 907821056 (865 MB)
ioapic0: Changing APIC ID to 4
ioapic0 Version 2.1 irqs 0-23 on motherboard
kbd1 at kbdmux0
acpi0: INTEL D11020M on motherboard
acpi0: Overriding SCI Interrupt from IRQ 9 to IRQ 21
acpi0: Power Button (fixed)
acpi_bus_number: can't get _ADR
acpi_bus_number: can't get _ADR
acpi_bus_number: can't get _ADR
acpi_bus_number: can't get _ADR
unknown: I/O range not supported
Timecounter ACPI-fast frequency 3579545 Hz quality 1000
acpi_timer0: 32-bit timer at 3.579545MHz port 0x408-0x40b on acpi0
cpu0: ACPI CPU on acpi0
acpi_perf0: ACPI CPU Frequency Control on cpu0
acpi_perf0: failed in PERF_STATUS attach
device_attach: acpi_perf0 attach returned 6
acpi_perf0: ACPI CPU Frequency Control on cpu0
acpi_perf0: failed in PERF_STATUS attach
device_attach: acpi_perf0 attach returned 6
acpi_throttle0: ACPI CPU Throttling on cpu0
acpi_button0: Power Button on acpi0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff iomem 0xfff0-0x 
on acpi0

pci0: ACPI PCI bus on pcib0
pcib1: ACPI PCI-PCI bridge at device 1.0 on pci0
pci1: ACPI PCI bus on pcib1
pci1: display, VGA at device 5.0 (no driver attached)
atapci0: ATI IXP400 SATA150 controller port 
0x3068-0x306f,0x3084-0x3087,0x3060-0x3067,0x3080-0x3083,0x3030-0x303f mem 
0x60207600-0x602077ff irq 23 at device 17.0 on pci0

ata2: ATA channel 0 on atapci0
ata3: ATA channel 1 on atapci0
atapci1: ATI IXP400 SATA150 controller port 
0x3058-0x305f,0x307c-0x307f,0x3050-0x3057,0x3078-0x307b,0x3020-0x302f mem 
0x60207400-0x602075ff irq 22 at device 18.0 on pci0

ata4: ATA channel 0 on atapci1
ata5: ATA channel 1 on atapci1
ohci0: ATI SB400 USB Controller irq 19 at device 19.0 on pci0
ohci0: [GIANT-LOCKED]
usb0: OHCI version 1.0, legacy support
usb0: ATI SB400 USB Controller on ohci0
usb0: USB revision 1.0
uhub0: ATI OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 4 ports with 4 removable, self powered
ohci1: ATI SB400 USB Controller irq 19 at device 19.1 on pci0
ohci1: [GIANT-LOCKED]
usb1: OHCI version 1.0, legacy support
usb1: ATI SB400 USB Controller on ohci1
usb1: USB revision 1.0
uhub1: ATI OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 4 ports with 4 removable, self powered
ehci0: ATI SB400 USB 2.0 controller irq 19 at device 19.2 on pci0
ehci0: [GIANT-LOCKED]
usb2: waiting for BIOS to give up control
usb2: timed out waiting for BIOS
usb2: EHCI version 1.0
usb2: companion controllers, 4 ports each: usb0 usb1
usb2: ATI SB400 USB 2.0 controller on ehci0
usb2: USB revision 2.0
uhub2: ATI EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub2: 8 ports with 8 removable, self powered
pci0: serial bus, SMBus at device 20.0 (no driver attached)
atapci2: ATI IXP400 UDMA133 controller port 
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x3000-0x300f at device 20.1 on pci0

ata0: ATA channel 0 on atapci2
ata1: ATA channel 1 on atapci2
pci0: multimedia at device 20.2 (no driver attached)
isab0: PCI-ISA bridge at device 20.3 on pci0
isa0: ISA bus on isab0
pcib2: ACPI PCI-PCI bridge at device 20.4 on pci0
pci2: ACPI PCI bus on pcib2
rl0: RealTek 8139 10/100BaseTX port 0x1100-0x11ff mem 
0x6100-0x61ff irq 21 at device 2.0 on pci2

miibus0: MII bus on rl0
rlphy0: RealTek internal media interface on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rl0: Ethernet address: 00:16:76:6e:fc:08
vr0: VIA VT6105 Rhine III 10/100BaseTX port 0x1000-0x10ff mem 
0x6000-0x60ff irq 16 at device 3.0 on pci2

miibus1: MII bus on vr0
ukphy0: Generic IEEE 802.3u media interface on miibus1
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
vr0: Ethernet address: 00:15:e9:82:36:b6
atkbdc0: Keyboard controller (i8042) port 0x60,0x64 irq 1 on acpi0
atkbd0: AT Keyboard irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]

Re: Duo core enable/support help.

2006-12-04 Thread Lane
On Monday 04 December 2006 18:40, Marwan Sultan wrote:
 Hello Gurus,

   I just had Intel 102, duo core, fresh freebsd 6.1r installed.
   but i have been told that i have to enable duo core thing in kernel
   what should i have there? only options SMP ?

what about the /usr/src/sys/i386/conf/SMP file? shall i copy the options
 to MYKERNEL ?

 in shortwords what should i do to enable duo core and fix my bugs,
 here is the dmesg output, with lot of thanks.


Marwan,

First read /usr/src/UPDATING.

Really.

No, really.  I mean read it :)

And, since no one expects you to really, really read it, I'll give you some 
shortcuts.

First, look for the word KERNCONF in /usr/src/UPDATING

Read all of the language around every occurence of that word (KERNCONF).

Then, when you are ready, do this:

make buildkernel KERNCONF=SMP
make installkernel KERNCONF=SMP

Then reboot.

Note here that I'm giving you the shortest possible route, which may be 
problematic for you.  You really must become familiar with /usr/src/UPDATING.

Anyway, after the reboot, you should type:

cat /var/log/messages | grep -i launch

if you see the terms CPU1 Launched! then you've got yourself an SMP kernel.

Good Luck!

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


Re: Duo core enable/support help.

2006-12-04 Thread Mike Tancsa
On Tue, 05 Dec 2006 00:40:50 +, in sentex.lists.freebsd.questions
you wrote:

Hello Gurus,

  I just had Intel 102, duo core, fresh freebsd 6.1r installed.
  but i have been told that i have to enable duo core thing in kernel
  what should i have there? only options SMP ?

   what about the /usr/src/sys/i386/conf/SMP file? shall i copy the options 
to MYKERNEL ?


If your kernel is called MYKERNEL, yes, just add
options SMP

to the file and then
cd /usr/src ; make buildkernel
make installkernel

and reboot.

---Mike


Mike Tancsa, Sentex communications http://www.sentex.net
Providing Internet Access since 1994
[EMAIL PROTECTED], (http://www.tancsa.com)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Duo core enable/support help.

2006-12-04 Thread Old Ranger

Mike Tancsa wrote:

On Tue, 05 Dec 2006 00:40:50 +, in sentex.lists.freebsd.questions
you wrote:

  

Hello Gurus,

 I just had Intel 102, duo core, fresh freebsd 6.1r installed.
 but i have been told that i have to enable duo core thing in kernel
 what should i have there? only options SMP ?

  what about the /usr/src/sys/i386/conf/SMP file? shall i copy the options 
to MYKERNEL ?





If your kernel is called MYKERNEL, yes, just add
options SMP

to the file and then
cd /usr/src ; make buildkernel
make installkernel

and reboot.

---Mike


Mike Tancsa, Sentex communications http://www.sentex.net
Providing Internet Access since 1994
[EMAIL PROTECTED], (http://www.tancsa.com)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


  

Hello,
I just got through this same problem myself.
If I may, allow me to add this suggestion.

Once you cp your own copy of GENERIC kernel;
cd to /usr/src
make buildkernel KERNCONF=YOUR_KERNEL_NAME
make installkernel KERNCONF=YOUR_KERNEL_NAME

Make sure that the KERNCONF is in UPPERCASE!  Otherwise it will default 
to GENERIC.  Trust me on this one.




--

Rev. Z. Wade Hampton

[EMAIL PROTECTED]



Dedicated to those Rangers who laid down their lives;

 so that lesser men could be free to cry peace, when

 there was none.  Author unknown



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


(repost) cannot read windows share

2006-12-04 Thread 张韡武
This is a re-post, I am getting desperate because my work
require me to connect to this share and my colleague can mount
the share on Debian. I will have to move to install Debian if I
wish to go on working... But I am already used to my BSD. It's
too strange to move to another OS for such a tiny problem! Could
what I mention below be a bug of FreeBSD mount_smbfs?

Using FreeBSD 6.1, I can mount a windows share but the Chinese
characters in folder and file names look junk text to me. Charset
conversion (-E parameter of mount_smbfs) do not work at all. If I do
ls(1) to a directory that has Chinese character in its name, the process
'ls' will take about 80% CPU resource and hang there forever. Ctrl+C
cannot stop it (kill -KILL can). If I run other command that read any
file in the directory that has Chinese character in its name, that
application hangs there taking about 80% CPU resource too.

This process is better illustrated with this screenshot:
gopher://sdf.lonestar.org/I/users/weiwu/mount_chinese_smbshare.png

In the screenshot, I do have mounted the share with -E parameter which
should convert GB18030 folder names to UTF-8 but 
actually no conversion is done (see the ls | iconv which shows what it
should be looking like if the conversion is done)

Actually I have never successfully done charset conversion with
mount_smbfs, what did I do wrong?

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


Re: BSDStats Report for December 1st, 2006

2006-12-04 Thread Marc G. Fournier
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



- --On Monday, December 04, 2006 22:50:26 +0300 Boris Samorodov [EMAIL 
PROTECTED] 
wrote:

 ...but you seem to pay most attention to those hosts reported at the
 first day.

 Thanks all for your tips, I'll report those hosts.

I'm trying to look at both sets of #s ...

http://www.bsdstats.org/os_report.php

I think its more from paranoia at the start of all this, when we got that slew 
of false reports in ... I'm not so sure that that paranoia is still as valid, 
but it doesn't hurt either :)

- 
Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (FreeBSD)

iD8DBQFFdMzn4QvfyHIvDvMRAhlkAJ0ZShdNFd+o4YRrpgpn+AHQmgVoGQCgsvYN
AD+mYuZdom4fIbpVpNYKo5o=
=v1HC
-END PGP SIGNATURE-

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


Re: (repost) cannot read windows share

2006-12-04 Thread Lane
On Monday 04 December 2006 19:34, 张韡武 wrote:
 This is a re-post, I am getting desperate because my work
 require me to connect to this share and my colleague can mount
 the share on Debian. I will have to move to install Debian if I
 wish to go on working... But I am already used to my BSD. It's
 too strange to move to another OS for such a tiny problem! Could
 what I mention below be a bug of FreeBSD mount_smbfs?

 Using FreeBSD 6.1, I can mount a windows share but the Chinese
 characters in folder and file names look junk text to me. Charset
 conversion (-E parameter of mount_smbfs) do not work at all. If I do
 ls(1) to a directory that has Chinese character in its name, the process
 'ls' will take about 80% CPU resource and hang there forever. Ctrl+C
 cannot stop it (kill -KILL can). If I run other command that read any
 file in the directory that has Chinese character in its name, that
 application hangs there taking about 80% CPU resource too.

 This process is better illustrated with this screenshot:
 gopher://sdf.lonestar.org/I/users/weiwu/mount_chinese_smbshare.png

 In the screenshot, I do have mounted the share with -E parameter which
 should convert GB18030 folder names to UTF-8 but
 actually no conversion is done (see the ls | iconv which shows what it
 should be looking like if the conversion is done)

 Actually I have never successfully done charset conversion with
 mount_smbfs, what did I do wrong?

weiwu,

One thing comes to mind:  Try your question here:

http://us1.samba.org/samba/docs/FAQ/

and here:

http://us1.samba.org/samba/docs/man/Samba-HOWTO-Collection/

and here:

http://us1.samba.org/samba/archives.html

and here:

https://lists.samba.org/mailman/

Your question is specific to samba, and probably not related to 
FreeBSD-specific issues.

lane
P.S.  I note that the hosts in the links above are mostly us1.  That's 
probably something to do with the language specification on my system, but 
may be different for you.  Check out www.samba.org for better links.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


more GIMP qauestions.

2006-12-04 Thread Gary Kline

A day or three ago I posted a question about turning off the
grid (which was Off by-default).  I  did reply t the person
o'er yonder by something happened to my mail.  So this ACK. 
I've downloaded the GIMP docs, but HELP still can't find them, so
maybe a therapeutic reboot is in order.  Anyway, setting
Preferences in the first smaller widget with File Xtns Help
is the way to globally set a bunch of stuff.

I haven't experimented with the plugins yet, but look forward to
the adventure!   The GIMP is yet more proof of the unbeatable
quality of Open Source software.  I realize the the GIMP is an 
image manipulation tool, but it would be nice if there were more
tools in the first widget collection.   A spray-can similar to
that n the KDE paint tool, say, as well as line-drawing
aides.  One thing I need to sketch is  a horizon.  So: are there
any plugins that will let me do these things within The GIMP?
Or better to simply QUIT and use *paint?  tia for any advice!

gary



-- 
  Gary Kline  [EMAIL PROTECTED]   www.thought.org  Public Service Unix

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


Re: system mail

2006-12-04 Thread David Schulz

you could also place a .forward in the roots home folder...

On Dec 2, 2006, at 9:52 PM, Joe Holden wrote:


Jeff wrote:
I run postfix on 6.x with local delivery disabled. I'd like to  
send the
system messages to an outside address, eg [EMAIL PROTECTED]  
instead

of [EMAIL PROTECTED] ... Is this possible?


Aliases will take care of that, /etc/aliases iirc.

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


!DSPAM:1084,457185536571026231507!





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


Re: BSDStats Report for December 1st, 2006

2006-12-04 Thread Marc G. Fournier
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



- --On Monday, December 04, 2006 11:09:31 -0500 Wayne [EMAIL PROTECTED] wrote:

 hal wrote:
 Since the point of this is to be run monthly, out of periodic
 monthly, the 1st
 of the month is when all hosts should be 'renewing' their information

 Cool project.  Just added my main machine to it.

 Is there any way for me to see what it's really sending?  Looks like it sends
 a bunch of http posts, rather than one output file that could be examined?
 My script skills are novice at best.

You could modify the 'do_fetch' function to write to a disk file ... but, a 
break down of what it sends:

{enable|disable}_token.php ... just sends the KEY/TOKEN from /var/db/bsdstats 
to turn on/off the record

report_system ... sends:

  REL=`/usr/bin/uname -r`
  ARCH=`/usr/bin/uname -m`
  OS=`/usr/bin/uname -s`

report_devices sends the output of pciconf -l | grep -v none (active devices)

report_ports sends the output of pkg_info

- 
Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (FreeBSD)

iD8DBQFFdNXh4QvfyHIvDvMRAt83AJ9Tu5X6tcdgj28FoO+P4k0B9yKWEQCgobFC
fVuuqk7H4PM21HCAoEuWsS4=
=+egT
-END PGP SIGNATURE-

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


Re: more GIMP qauestions.

2006-12-04 Thread ajm
On Mon, Dec 04, 2006 at 05:53:10PM -0800, Gary Kline wrote:
   
   A day or three ago I posted a question about turning off the
   grid (which was Off by-default).  I  did reply t the person
   o'er yonder by something happened to my mail.  So this ACK. 
   I've downloaded the GIMP docs, but HELP still can't find them, so
   maybe a therapeutic reboot is in order.  Anyway, setting
   Preferences in the first smaller widget with File Xtns Help
   is the way to globally set a bunch of stuff.
 
   I haven't experimented with the plugins yet, but look forward to
   the adventure!   The GIMP is yet more proof of the unbeatable
   quality of Open Source software.  I realize the the GIMP is an 
   image manipulation tool, but it would be nice if there were more
   tools in the first widget collection.   A spray-can similar to
   that n the KDE paint tool, say, as well as line-drawing
   aides.  One thing I need to sketch is  a horizon.  So: are there
   any plugins that will let me do these things within The GIMP?
   Or better to simply QUIT and use *paint?  tia for any advice!
 
   gary
 
 
 
 -- 
   Gary Kline  [EMAIL PROTECTED]   www.thought.org  Public Service Unix


Try these references

http://manual.gimp.org/or point your web-browser to

file://usr/X11R6/share/doc/gimp/GUM/Index.html

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


Booting a Freebsd HD on a windows box?

2006-12-04 Thread Steve Lake
Hi all.  I'm looking to merge two of my machines in my home office 
into one to free up the second one for other uses, but one is a windows 
machine, the second is my freebsd 5.3x machine.  Can I just move the HD 
from the Freebsd machine over to the windows machine and add something to 
the boot.ini file to make it bootable from the windows boot prompt, or do I 
have to do something else?  Or can I just mirror the HD from the BSD box 
into an image file, then just mount and boot that image using Vmware and 
run it as a virtual machine?  I'm trying to find the simplest, most hassle 
free way to merge the two machines without much tinkering with the existing 
installs.  Any suggestions is welcome.  I only picked merging the bsd box 
into the windows machine because the windows machine has the better hardware.



Steven Lake
Owner/Technical Writer
Raiden's Realm
www.raiden.net
A friendly web community


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


Re: (repost) cannot read windows share

2006-12-04 Thread Garrett Cooper

Lane wrote:

On Monday 04 December 2006 19:34, 张韡武 wrote:

This is a re-post, I am getting desperate because my work
require me to connect to this share and my colleague can mount
the share on Debian. I will have to move to install Debian if I
wish to go on working... But I am already used to my BSD. It's
too strange to move to another OS for such a tiny problem! Could
what I mention below be a bug of FreeBSD mount_smbfs?

Using FreeBSD 6.1, I can mount a windows share but the Chinese
characters in folder and file names look junk text to me. Charset
conversion (-E parameter of mount_smbfs) do not work at all. If I do
ls(1) to a directory that has Chinese character in its name, the process
'ls' will take about 80% CPU resource and hang there forever. Ctrl+C
cannot stop it (kill -KILL can). If I run other command that read any
file in the directory that has Chinese character in its name, that
application hangs there taking about 80% CPU resource too.

This process is better illustrated with this screenshot:
gopher://sdf.lonestar.org/I/users/weiwu/mount_chinese_smbshare.png

In the screenshot, I do have mounted the share with -E parameter which
should convert GB18030 folder names to UTF-8 but
actually no conversion is done (see the ls | iconv which shows what it
should be looking like if the conversion is done)

Actually I have never successfully done charset conversion with
mount_smbfs, what did I do wrong?


weiwu,

One thing comes to mind:  Try your question here:

http://us1.samba.org/samba/docs/FAQ/

and here:

http://us1.samba.org/samba/docs/man/Samba-HOWTO-Collection/

and here:

http://us1.samba.org/samba/archives.html

and here:

https://lists.samba.org/mailman/

Your question is specific to samba, and probably not related to 
FreeBSD-specific issues.


lane
P.S.  I note that the hosts in the links above are mostly us1.  That's 
probably something to do with the language specification on my system, but 
may be different for you.  Check out www.samba.org for better links.


	Your issue has to deal with locales and character sets. I think what 
you want to do is look into mount(8) and mount_smbfs(8), if you use 
fstab to specify mounts for the SMB share instead of smbmount.


A flag that sort of jumped out at me in mount_smbfs(8) was...

 -E cs1:cs2
 Specifies local (cs1) and server's (cs2) character sets.

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


Re: network interface status

2006-12-04 Thread Beni
On Tuesday 05 December 2006 01:17, you wrote:
 On Dec 4, 2006, at 12:23 PM, Beni wrote:
  Every day, Charly Root sends me an email with the Daily Run Output.
  In it is a
  section Network interface status who regroups per interface the
  traffic.
 
  What do i launch (manually) to get those results (not especially by
  mail but
  on screen is fine) ?

 Hmm.  The magic 8-ball suggests that you want to see the output of
 netstat -i.

 :-)

Your magic 8-ball is right ! Thanks.

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


Re: (repost) cannot read windows share

2006-12-04 Thread Garrett Cooper

Garrett Cooper wrote:

Lane wrote:

On Monday 04 December 2006 19:34, 张韡武 wrote:

This is a re-post, I am getting desperate because my work
require me to connect to this share and my colleague can mount
the share on Debian. I will have to move to install Debian if I
wish to go on working... But I am already used to my BSD. It's
too strange to move to another OS for such a tiny problem! Could
what I mention below be a bug of FreeBSD mount_smbfs?

Using FreeBSD 6.1, I can mount a windows share but the Chinese
characters in folder and file names look junk text to me. Charset
conversion (-E parameter of mount_smbfs) do not work at all. If I do
ls(1) to a directory that has Chinese character in its name, the process
'ls' will take about 80% CPU resource and hang there forever. Ctrl+C
cannot stop it (kill -KILL can). If I run other command that read any
file in the directory that has Chinese character in its name, that
application hangs there taking about 80% CPU resource too.

This process is better illustrated with this screenshot:
gopher://sdf.lonestar.org/I/users/weiwu/mount_chinese_smbshare.png

In the screenshot, I do have mounted the share with -E parameter which
should convert GB18030 folder names to UTF-8 but
actually no conversion is done (see the ls | iconv which shows what it
should be looking like if the conversion is done)

Actually I have never successfully done charset conversion with
mount_smbfs, what did I do wrong?


weiwu,

One thing comes to mind:  Try your question here:

http://us1.samba.org/samba/docs/FAQ/

and here:

http://us1.samba.org/samba/docs/man/Samba-HOWTO-Collection/

and here:

http://us1.samba.org/samba/archives.html

and here:

https://lists.samba.org/mailman/

Your question is specific to samba, and probably not related to 
FreeBSD-specific issues.


lane
P.S.  I note that the hosts in the links above are mostly us1.  
That's probably something to do with the language specification on my 
system, but may be different for you.  Check out www.samba.org for 
better links.


Your issue has to deal with locales and character sets. I think what 
you want to do is look into mount(8) and mount_smbfs(8), if you use 
fstab to specify mounts for the SMB share instead of smbmount.


A flag that sort of jumped out at me in mount_smbfs(8) was...

 -E cs1:cs2
 Specifies local (cs1) and server's (cs2) character sets.

Cheers,
-Garrett


	Also, I'm not sure if FreeBSD has been configured to run the particular 
character set you need (nor am I sure where any documentation may be 
regarding how to set that up), but you also want to explore getting that 
solved in tandem with the mount_smbfs item.
	Regardless of whether or not you specify the right character code for 
smbmount, if the character set isn't available to the system or setup 
properly, your specifying the character set with mount_smbfs is pretty 
much moot; I know because I use Japanese in Linux and was having similar 
issues until I got everything setup on the machine for Japanese reading 
and writing. FreeBSD China http://www.freebsd.org.cn/ probably holds 
the answers to your problem, if your system isn't setup to read/write 
Chinese.

Isn't cross-language communication fun =\?
-Garrett
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: (repost) cannot read windows share

2006-12-04 Thread 张韡武
在 2006-12-04一的 21:54 -0800,Garrett Cooper写道:
   Also, I'm not sure if FreeBSD has been configured to run the particular 
 character set you need (nor am I sure where any documentation may be 
 regarding how to set that up), but you also want to explore getting that 
 solved in tandem with the mount_smbfs item.

I read carefully with mount_smbfs and as far as I can tell mount_smbfs
is using iconv lib which compiled as kernel module. After I run
mount_smbfs I checked and made sure libiconv.ko is automatically loaded.
According to documents, mount_smbfs automatically load this kernel
module for charset conversion.

My charset specified in commandline is CP936 which is supported by
iconv. iconv can also support GB18030 GB2312 GBK which are
equivalents of CP936. I tried all these equivalents but none of them
works.

I also tried to specify -E UTF-8:junkjunk and got an error message says
junkjunk is not supported, this shows if I don't get such error message,
the charset I specified should be supported. Well, I didn't get such
error message with GB18030 GB2312 GBK...

 Regardless of whether or not you specify the right character code for 
 smbmount, if the character set isn't available to the system or setup 
 properly, your specifying the character set with mount_smbfs is pretty 
 much moot; I know because I use Japanese in Linux and was having similar 
 issues until I got everything setup on the machine for Japanese reading 
 and writing. FreeBSD China http://www.freebsd.org.cn/ probably holds 
 the answers to your problem, if your system isn't setup to read/write 
 Chinese.

Yes, thank you for pointing out this link, I actually checked that link
before coming to this list. From the documents on www.freebsd.org.cn
they did mentioned another problem related to Chinese share but I am
pretty sure it's not my problem...

   Isn't cross-language communication fun =\?

In reality, yes. In computer world, I hope I never had these
problems.

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

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


Re: (repost) cannot read windows share

2006-12-04 Thread 张韡武
在 2006-12-04一的 19:46 -0600,Lane写道:

 weiwu,
 
 One thing comes to mind:  Try your question here:
...
 Your question is specific to samba, and probably not related to 
 FreeBSD-specific issues.

My question is DIRECTLY freebsd-related because:
 I. samba itself don't have this problem (tried on SuSE, Debian and
Gentoo). mount -t cifs on Linux works fine.
II. mount_smbfs is a freebsd native tool
   III. charset conversion options of samba (iocharset and codepage) do
not work for mount_smbfs because mount_smbfs do not have these
options;
IV. mount_smbfs's charset option (-E) do not work for samba because
samba don't have this option
 V. samba's charset conversation is not using kernel module,
freebsd's mount_smbfs use kernel libiconv.ko module for
conversion;
VI. I tried to install samba from ports, and end up having samba
installed WITHOUT 'smbmount' command-line utility, it seems this
command is carefully removed for FreeBSD's port, forcing people
to use FreeBSD's mount_samba

Other strange thing:

I changed my locale to GB18030 and now I can list the Chinese
directories, but if I enter a Chinese directory then the application who
tries to enter the directory (e.g. ls) hangs. So it is strange for
me ... to understand.

 
 lane
 P.S.  I note that the hosts in the links above are mostly us1.  That's 
 probably something to do with the language specification on my system, but 
 may be different for you.  Check out www.samba.org for better links.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

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


Re: (repost) cannot read windows share

2006-12-04 Thread Antony Mawer

On 5/12/2006 5:28 PM, 张韡武 wrote:

在 2006-12-04一的 21:54 -0800,Garrett Cooper写道:
	Also, I'm not sure if FreeBSD has been configured to run the particular 
character set you need (nor am I sure where any documentation may be 
regarding how to set that up), but you also want to explore getting that 
solved in tandem with the mount_smbfs item.


I read carefully with mount_smbfs and as far as I can tell mount_smbfs
is using iconv lib which compiled as kernel module. After I run
mount_smbfs I checked and made sure libiconv.ko is automatically loaded.
According to documents, mount_smbfs automatically load this kernel

...

I don't know if this is at all useful, but I have come across the 
following patches, which appear to have been ported from Darwin, to 
improve handling of multibyte character sets:


http://people.freebsd.org/~imura/kiconv/

It would be interesting to see these committed (if they are valuable), 
as I know there are issues with FreeBSD mount_smbfs when operating 
against the Mac OSX samba implementation, which (I am told) only speaks 
UCS2.


Given the work already gone into these, it would be nice to see them 
finished off and committed... I wonder how many other smbfs-related 
improvements may exist in Darwin that might be worth looking at?


http://www.opensource.apple.com/darwinsource/10.4.8.x86/smb-217.18/

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


Re: more GIMP qauestions.

2006-12-04 Thread Gary Kline
On Mon, Dec 04, 2006 at 09:35:50PM -0600, ajm wrote:
 On Mon, Dec 04, 2006 at 05:53:10PM -0800, Gary Kline wrote:
  
  Or better to simply QUIT and use *paint?  tia for any advice!
  
  gary
  
  
  
  -- 
Gary Kline  [EMAIL PROTECTED]   www.thought.org  Public Service Unix
 
 
 Try these references
 
 http://manual.gimp.org/or point your web-browser to
 
 file://usr/X11R6/share/doc/gimp/GUM/Index.html
 

Thanks for the follow-up.  I'll grep around the online docs
and see if that tells me anything.  

gary


-- 
  Gary Kline  [EMAIL PROTECTED]   www.thought.org  Public Service Unix

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


Re: (repost) cannot read windows share

2006-12-04 Thread 张韡武
在 2006-12-05二的 17:36 +1100,Antony Mawer写道:
[snip]
 I don't know if this is at all useful, but I have come across the 
 following patches, which appear to have been ported from Darwin, to 
 improve handling of multibyte character sets:
 
  http://people.freebsd.org/~imura/kiconv/
 
 It would be interesting to see these committed (if they are valuable), 
 as I know there are issues with FreeBSD mount_smbfs when operating 
 against the Mac OSX samba implementation, which (I am told) only speaks 
 UCS2.

Thank you very much for this very informative article. Here is what I
quoted from that article:
However, there are some limitations.
- unable to handle over 3 byte characters at all.
- tolower/toupper conversion is only possible for single byte
characters.
For example,  UTF-8 has 1-4 byte characters. GB18030 has 1,2,4
byte characters. At this time, we're unable to handle them.

So it is clear I will have problem, because it's being said, UTF-8 is
not possible. But UTF-16/USC2 should be possible and GB2312 should be
possible too because both are 2-bytes (UTF-16 are mostly 2-bytes).

Thus I should be able to:
1) adjust system locale to UTF-16 or USC2
2) use mount_smbfs -E UTF-16:GB2312

GB2312 is the stripped version of GB18030 that remove all GB18030 4-byte
characters from GB18030 (by discarding them).

But I think FreeBSD-6.1 do not include this nice person's work! Thus
even mount_smbfs -E UTF-16:GB2312 won't work for me.

Now I am really interested if I can get smbmount (part of samba)
working, if so, problem solved, otherwise there is no way to go.

 
 Given the work already gone into these, it would be nice to see them 
 finished off and committed... I wonder how many other smbfs-related 
 improvements may exist in Darwin that might be worth looking at?
 
  http://www.opensource.apple.com/darwinsource/10.4.8.x86/smb-217.18/
 
 Cheers
 Antony
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

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


Re: How Do Binary Repair

2006-12-04 Thread Rachel Florentine
108

- Original Message 
From: Peter A. Giessel [EMAIL PROTECTED]

I'm assuming that you are talking about GCC in the base system?

How do you propose to recompile GCC without GCC?  I suppose you could do
a make buildworld but not if you don't have a working compiler.



:) So from source, then.
Rachel




 

Any questions? Get answers on any topic at www.Answers.yahoo.com.  Try it now.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: What is the difference between No address associated with name and Unknown host

2006-12-04 Thread Abdullah Al-Marrie

On 12/4/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

What is the difference between No address associated with name
and Unknown host:

$ ping accounts.eirtrade.ie
ping: cannot resolve accounts.eirtrade.ie: No address associated with name

and

$ ping accounts.eirtrade.i
ping: cannot resolve accounts.eirtrade.i: Unknown host

The source of my interest is the next.

My sendmail receives mail from senders with domains like the first,
but rejects mail from the last:


$ telnet localhost 25
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 host.my.domain ESMTP Sendmail 8.13.7/8.13.6; Mon, 4 Dec 2006 21:38:50 +0200
(EET)
HELO localhost
250 host.my.domain Hello localhost [127.0.0.1], pleased to meet you
MAIL From: [EMAIL PROTECTED]
250 2.1.0 [EMAIL PROTECTED] Sender ok
RSET
250 2.0.0 Reset state
MAIL From: [EMAIL PROTECTED]
553 5.1.8 [EMAIL PROTECTED] Domain of sender address
[EMAIL PROTECTED] does not exist
QUIT
221 2.0.0 host.my.domain closing connection
Connection closed by foreign host.


Elisej Babenko


I get the same problem with my laptop which uses DHCP in FreeBSD
6.2-RC1 and earlier was using 6.1-S, this happens to me regurarely
even I just opened an address in FF, then again trying to open same
host via FF.

Is there away to cache dns locally in my laptop?

Thank you,

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


Re: Ports: Starting over from scratch?

2006-12-04 Thread Abdullah Al-Marrie

On 12/4/06, Drew [EMAIL PROTECTED] wrote:

I'm running into some problems on a desktop box that I've not seen anywhere
else with upgrading multiple ports. The problem is so extensive, and a
solution not being forthcoming, I'm very tempted to make deinstall from
/usr/ports and then pkg_deinstall -a, and start over again. Does anyone have
any advice or input on a procedure like this?


How about portupgrade -a ?

Thank you,

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


Re: How Do Binary Repair

2006-12-04 Thread Rachel Florentine
858376

- Original Message 
From: Kris Kennaway [EMAIL PROTECTED]
To: Rachel Florentine [EMAIL PROTECTED]

Uh, what I said.  Fresh binary media = either reinstall from an iso
image, or extract a copy of the damaged files from the freebsd release
media in another way (e.g. fetch the base.* files from the ftp site,
and pass through cat | tar -xfj -).



Okay, please walk me through this one, since I can't afford to screw it up. The 
server is on the other side of the planet, so reinstalling from an iso is 
impractical. How do I fetch the base files?
TIA,
Rachel




 

Cheap talk?
Check out Yahoo! Messenger's low PC-to-Phone call rates.
http://voice.yahoo.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: (repost) cannot read windows share

2006-12-04 Thread Antony Mawer

On 5/12/2006 5:56 PM, 张韡武 wrote:

在 2006-12-05二的 17:36 +1100,Antony Mawer写道:
[snip]
I don't know if this is at all useful, but I have come across the 
following patches, which appear to have been ported from Darwin, to 
improve handling of multibyte character sets:


 http://people.freebsd.org/~imura/kiconv/

It would be interesting to see these committed (if they are valuable), 
as I know there are issues with FreeBSD mount_smbfs when operating 
against the Mac OSX samba implementation, which (I am told) only speaks 
UCS2.

...

But I think FreeBSD-6.1 do not include this nice person's work! Thus
even mount_smbfs -E UTF-16:GB2312 won't work for me.


No current versions of FreeBSD include the patches at the above site - 
my understanding is that they may still require some work before they 
are ready for committing.


I've CC'd R. Imura (who produced the patches) who may be able to answer 
the question (as well as possibly help you with your issue).




Now I am really interested if I can get smbmount (part of samba)
working, if so, problem solved, otherwise there is no way to go.


I believe smbmount is Linux-specific, so I think your best chance is 
trying to get the patches mentioned above finalised for your use.


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


Re: Corrupted C Compiler

2006-12-04 Thread Rachel Florentine
76

- Original Message 
From: Jan Grant [EMAIL PROTECTED]

I don't think it makes much sense, no. Zope is python-based and unless 
you're building products that rely on native libraries, what you 
describe doesn't sound like an accurate diagnosis. It's more likely 
(this is a stab in the dark) that you're running a script to regerate 
.pyc files; these are precompiled python bytecode files that are built 
from the corresponding .py files.

I don't have my references in front of me, but I ran into an error when I tried 
to runzope that I didn't understand, so I yahoo'd it and discovered that my c 
libraries were corrupted. It was recommended I run a certain command to clean 
them up. I ran that command and everything went smoothly. I repeated this 
process a few times. So yes, I'm sure that's what I did.
Rachel






 

Cheap talk?
Check out Yahoo! Messenger's low PC-to-Phone call rates.
http://voice.yahoo.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]