Re: wpa_supplicant not starting with /etc/rc.d/netif

2008-02-02 Thread Reinis Ivanovs
Sorry, I've found the problem. I hadn't noticed that I had two
ifconfig_ral0 lines in my rc.conf, and the first one said only
DHCP. *bangs head*

Reinis

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


Re: Squid3.0 missing something with pf transparent proxy.

2008-02-02 Thread Mehul Ved
On 2/2/08, eculp [EMAIL PROTECTED] wrote:
 when I
 use the pf redirect it seems to not get the url parsing right for some
 reason.  I put http://www.google.com and see
 1201906217.304  0 172.16.0.14 NONE/400 1809 GET /google.com/ -
 NONE/- text/html
 1201906217.466  0 172.16.0.14 NONE/400 1809 GET /favicon.ico -
 NONE/- text/html
 1
 in the squid access.log rather than http:://www.google.com.and the
 screen shows:
 http://encontacto.net/transSquid3.0.png

I faced that too. Turns out I had
http_port 3128
but I needed
http_port 3128 transparent
after making the change proxy worked perfectly fine.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: strange panic: freebsd 6.3: ffs_alloccg: map corrupted

2008-02-02 Thread [EMAIL PROTECTED]@mgEDV.net
On Fri, February 1, 2008 16:30, [EMAIL PROTECTED]@mgEDV.net wrote:

 hi folks,

 during copying ~350GB from one volume to another on
 the local machine (separate disks, separate fs's) i
 get the following panic:

 start = 0, len = 23691, fs = /newdata
 panic: ffs_alloccg: map corrupted
 KDB: enter: panic
 [ thread pid 835 tid 10070 ]
 stopped at kdb_enter +0x2c:  leave

 the destination filesystem i created from scratch
 today, and the other which is read from is fsck'd.

 because of privacy/security considerations, i cannot
 really post the whole configuration of the machine
 (like fs-layout, other details, dmesg will be ok if
 needed).

 the backtrace can be viewed on this image:
 http://www.mgedv.at/panic_ffs_alloccg.png


update: the filesystem is created using the following newfs-cmd:
newfs -L newdata -O 2 -U -b 65536 -f 8192 -c 262144 -i 524288 -m 0 -o space 
/dev/amrd2

btw, i forgot to mention, that the panic is raised at
different amounts of data being copied. so this does
not seem like a hardware defect for me...

anyone out there who has an idea?
cheers...


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


Re: Can I run ntpd in a jail?

2008-02-02 Thread Oliver Peter
On Thu, Jan 31, 2008 at 01:35:55AM -0800, Rudy wrote:
 ...
 Can ntpd update the system clock from within a jail?

That is not possible.
You have to update the system clock on the host system.

-- 
Oliver PETER, email: [EMAIL PROTECTED], ICQ# 113969174
Worker bees can leave.  Even drones can fly away.
 The Queen is their slave.


pgp1yefDk33BU.pgp
Description: PGP signature


Re: Building kernel with DEBUG

2008-02-02 Thread Oliver Peter
On Fri, Feb 01, 2008 at 10:06:19AM -0500, Gerard wrote:
 Near the top of the /usr/src/sys/i386/GENERIC file, is the line:
 
 makeoptions DEBUG=-g  # Build kernel with gdb(1) debug symbols
 
 Is this line really necessary? If I don't intend to ever debug a
 kernel, why should I leave it? It would seem like I could
 save some time compiling a kernel if I just remove or commented out
 that line.

I'm sure that the time you took to write this mail was much more than
you will save by removing the debug symbol...  Maybe sometimes you do
intend to debug your kernel because your machine crashed, you don't
know why, ask this list  and a FreeBSD developer ask about the
kernel-dump...  But maybe not.

Good luck.  :-)

-- 
Oliver PETER, email: [EMAIL PROTECTED], ICQ# 113969174
Worker bees can leave.  Even drones can fly away.
 The Queen is their slave.


pgpJWMgPYsRXL.pgp
Description: PGP signature


Re: Removing FreeBSD

2008-02-02 Thread Kemian Dang

Bnw CmpRpr 写道:

Hi. I recently purchased a HDD from a man that runs a data center, and on this 
HDD is FreeBSD. My problem is I want it off, and for some ungodly reason, it 
keeps coming back. I cant format the drive with Windows, and I cant load it as 
a slave to format, either. Any help would be greatly appreciated. Thanks
-
M White
Black and White Computer Repair




  

Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
  
You mean can not see it under windows explorer or when formatting, there 
are something wrong? If the later, what's the error msg.
If you can not see it under explorer, maybe you can try diskmgmt.msc to 
find it.


Are you sure the disk is in good condition?
Can you boot to the freebsd?

And what do you mean by keeps coming back...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Interactive Letterhead for the 21st Century

2008-02-02 Thread rolv



 http://t0.wrapmail.com/t0/t1.asp?aid=lid=3549mid=1662240
http://t0.wrapmail.com/t0/t1.asp?aid=lid=3549mid=1662240
http://t0.wrapmail.com/t0/t1.asp?aid=lid=3549mid=1662240
http://t0.wrapmail.com/t0/t1.asp?aid=lid=3549mid=1662240
http://t0.wrapmail.com/t0/t1.asp?aid=lid=3549mid=1662240
Dear Chamber of Commerce member:
 
WrapMail now offers 20% discount to all members of the Chamber of
Commerce. You'll notice how this email looks different from your regular
email; it has an interactive (clickable and trackable) letterhead.  We
do this without anything being installed anywhere.  Today email has
taken the place of snail mail and just about every business is sending
correspondence on a blank sheet of paper. WrapMail enables every
external email to turn into a marketing tool no matter who sent the
email and no matter who they sent it to.  Beyond the professional look,
these emails can be linked back to your website which in most cases is
your only storefront.  As recipients click, the report generator
accumulates data of who is clicking on what and when; now it becomes a
research tool.
 
In t oday's market we need to be a little creative and since employees
are sending these emails every day anyway (and certainly some of them
get forwarded to a new audience) then why not have them show what you do
and generate traffic to your website? 
 
Please feel free to click on this wrap and get in touch with me if you
have any questions as I will not send you any more emails about this
without you asking. 

 

Thank you and have a great 2008!

 


Rolv E. Heggenhougen, CEO
US Office: (954)-376-4750
US Cell: (954) 253-4443


[EMAIL PROTECTED]@Amber Alert:   Endangered Runaway: CLEASHEA MUNROE (FL)
http://www.missingkids.com/missingkids/servlet/PubCaseSearchServlet?act
=viewChildDetailLanguageCountry=en_USsearchLang=en_UScaseLang=en_USo
rgPrefix=NCMCcaseNum=1088055seqNum=1  2/1/2008
 http://t0.wrapmail.com/t0/t1.asp?aid=lid=271mid=1662240
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

Intel® G31 + ICH7

2008-02-02 Thread Gordon McKee

Hi

Does anyone know how to get FreeBSD to work with the above chipset.  Tried
6.3 and 7 ISO images.  Get lots of disk and no NIC is detected.

I have
http://www.foxconnchannel.com/product/Motherboards/detail_spec.aspx?ID=en-us345.

Many thanks

Gordon 



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


rkhunter: find: /dev/fd/3/* No such file or directory error

2008-02-02 Thread Colin Brace
Hi all,

Lately I have been seeing a lot of errors generated when I run
rkhunter on a daily basis by cron:

find: /dev/fd/3/sendmail.st: No such file or directory
find: /dev/fd/3/userlog: No such file or directory
find: /dev/fd/3/lastlog: No such file or directory
[...]

I am afraid I don't know quite enough about the BSD filesystem to know
what dev/fd/3 is. The thought occurs to me that it might have
something to do with my installing  (ob)spamd which requires the
addition of the following line in fstab:

fdescfs /dev/fd fdescfs rw 0 0

Just a wild guess.

FYI:
$ uname -r
7.0-PRERELEASE

Thanks.

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


Question about restore

2008-02-02 Thread Fira
Hi list,

I want to migrate one of my server (machine A) into another (machine B). My
choice is using 'dump' and 'restore'. I've dumped all of my filesystem into
third machine (machine C)  over ssh. All went fine.
Then, I want to restore it into machine B. This machine is newly fresh, no
freebsd inside. My plan is restore the dump file into it by using installer
CD. I use the cd/dvd fixit mode. At this time, my confusion begun. To
restore it,  I need to create the slice.  I  did 'fdisk' and 'disklabel'
from sysinstall. But it failed. I followed tutorial from
http://devpit.org/wiki/Dump_and_Restore_over_SSH [of course with some
adjustment], but I still failed.

My question is, how is the right way to do the restore in a system that
hasn't been installed with freebsd at all? From what I get in google, every
restore example is done on a system that has been installed an OS.

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


Re: Removing FreeBSD

2008-02-02 Thread Gerard
On Fri, 1 Feb 2008 15:55:59 -0800 (PST)
Bnw CmpRpr [EMAIL PROTECTED] wrote:

 Hi. I recently purchased a HDD from a man that runs a data center,
 and on this HDD is FreeBSD. My problem is I want it off, and for some
 ungodly reason, it keeps coming back. I cant format the drive with
 Windows, and I cant load it as a slave to format, either. Any help
 would be greatly appreciated. Thanks

I am sure that you will receive several suggestion on how to achieve
your goal. You might want to visit http://www.freedos.org/ and download
a copy of FreeDos. Install it on a floppy disk and use it to nuke your
HD. You can even repartition it, format it, etc. It works well as a
simple utility program. The documentation sort of sucks; however, it
really isn't that difficult to figure out.

-- 

Gerard
[EMAIL PROTECTED]

Shaw's Principle:

Build a system that even a fool can use, and only a fool will
want to use it.



signature.asc
Description: PGP signature


Re: C interpreters

2008-02-02 Thread Jim Stapleton
Thanks, it's decent, seems to not act like a full shell though.

If I ctrl-z while in emacs, it drops me out of CH as well as emacs.

still, it's a nice play toy.

thanks,
-Jim Stapleton

On Jan 31, 2008 9:54 PM, Gary Kline [EMAIL PROTECTED] wrote:

 On Thu, Jan 31, 2008 at 10:12:35AM -0500, Jim Stapleton wrote:
  Thanks, and that'll make shared (.so) libraries just fine?
 
  Well, that was certainly a relief. That very much describes the C
  interface I made already. I'm working on a alternate ports listing
  system, and I wanted to use something that I didn't mind programming
  in /and/ I knew should be available on any FreeBSD system without
  requireing more port installs, so I went with C or C++. I want it to
  be easy to write back-end database modules, in case people don't want
  to use the two that I write (SQLite2 and a my own flat-file system).
  There are only three functions that need wrapped: open, query, close.
  Open returns that void* pointer, query and close take it as the first
  argument.
 
  Any ideas on the C interpreter? It's been a while since I've done a
  lot of C/C++.


 hi jim,


 the bestt one i know of is free, named ch.  cost only $25 for the
 whole deal.   used mostly by the hardware sectoor so far.  i'd
 like to see it be adopted by the open ource folks too.i
 haven't used it much so far becuse my C progras are mostly for
 myself and  1000 lines.  v. small company, forget the name.

 gary

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

 --
   Gary Kline  [EMAIL PROTECTED]   www.thought.org  Public Service Unix
 http://jottings.thought.org   http://transfinite.thought.org



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


Re: rkhunter: find: /dev/fd/3/* No such file or directory error

2008-02-02 Thread Mel
On Saturday 02 February 2008 14:08:52 Colin Brace wrote:
 Hi all,

 Lately I have been seeing a lot of errors generated when I run
 rkhunter on a daily basis by cron:

 find: /dev/fd/3/sendmail.st: No such file or directory
 find: /dev/fd/3/userlog: No such file or directory
 find: /dev/fd/3/lastlog: No such file or directory
 [...]

 I am afraid I don't know quite enough about the BSD filesystem to know
 what dev/fd/3 is.

/dev/fd/0-2 = stdin/out/err, 3 is an open file somewhere on your system. 
Logically, the first file opened by the first process after boot up, but of 
course, this isn't always the case.

Looks more like a bug in rkhunter. For some reason it thinks fd 3 is /var/log.

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


Re: Intel® G31 + ICH7

2008-02-02 Thread Mel
On Saturday 02 February 2008 11:14:04 Gordon McKee wrote:
 Hi

 Does anyone know how to get FreeBSD to work with the above chipset.  Tried
 6.3 and 7 ISO images.  Get lots of disk and no NIC is detected.

 I have
 http://www.foxconnchannel.com/product/Motherboards/detail_spec.aspx?ID=en-u
s345.

RTL8111B should be supported with rl driver. Apparently it's not detected, so 
a pciconf -lv |grep -A4 '^none' would help greatly.

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


Re: Removing FreeBSD

2008-02-02 Thread Jim Stapleton
Hi. I recently purchased a HDD from a man that runs a data center,
and on this HDD is FreeBSD.
 My problem is I want it off, and for some ungodly reason, it keeps coming 
 back. I cant format the
 drive with Windows, and I cant load it as a slave to format, either. Any help 
 would be greatly
 appreciated. Thanks

There's nothing magical about freebsd on a drive. It's just like
Linux, Windows, MacOS, etc. and it comes off in the same manner. There
were a lot of good suggestions here, but rather than giving you a new
toy to play with in fixin the issue, can I ask which program/utility
you are trying to use to remove it? When you say you cant load it as a
slave, do you mean it's not showing up in the bios/post, it's showing
up in the bios/post but not the OS you are using to format it (I'm
assuming windows, is that correct - in this case, are you looking for
it under My Computer or are you looking for it under [rightclick My
Computer]-Manage-[Drive Management, or whatever it is called, not
currently on a windows box to follow the path right now]?

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


Re: wpa_supplicant not starting with /etc/rc.d/netif

2008-02-02 Thread Mel
On Saturday 02 February 2008 09:51:51 Reinis Ivanovs wrote:
 Sorry, I've found the problem. I hadn't noticed that I had two
 ifconfig_ral0 lines in my rc.conf, and the first one said only
 DHCP. *bangs head*

For future ref:
echo 'rc_debug=YES' /etc/rc.conf ; /etc/rc.d/netif start ;)

Then you'll notice what ifconfig_ral0 is set to.

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


Re: Preventing KDE from restarting

2008-02-02 Thread Mel
On Saturday 02 February 2008 00:14:10 Oren Almog wrote:
 I do have that line but it is disabled (off).

 Looking at /usr/local/share/config/kdm/kdmrc does reveal a few options that
 can immediately restart a session but they are all either commented out or
 not set.

killall kdm-bin.
And next time, start kdm from command line as kdm -nodaemon if you plan on 
disabling it at a future time.
-- 
Mel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


/dev/dsp0.0 disappears after power outage

2008-02-02 Thread Aryeh M. Friedman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I just had a power outage and when it came back /dev/dsp0.0 was
missing from the devices.   the kern module loaded fine and detected
the card correctly (according to dmesg, sysctl and /dev/sndstat) but
neither the above or /dev/pcm exists.   Any ideas?

- --
Aryeh M. Friedman
FloSoft Systems, Java Tool Developers
Developer, not business, friendly
http://www.flosoft-systems.com

Free software != Free beer

Blog:
 
 http://www.flosoft-systems.com/flosoft_systems_community/blogs/aryeh/index.php
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.4 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHpHc8Qi2hk2LEXBARArvnAKDbIp2cJc+DTVIHFpc8bBk6NdWKZACgxnPg
0RaMtIhVTTYCPFSJNRxv/Es=
=IrNR
-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: Question about restore

2008-02-02 Thread Leonid Satanovsky

Hi there!


(1) You MAY TRY Frenzy [ http://frenzy.org.ua/en/ ] FreeBSD LiveCD 
distribution for the task.

I didn't, but, I think, it MAY help you. )

-
(2) I failed to do thing like this from the FreeBSD CD in FixIt mode... 
It said something like not enough space (on a memory filesystem),

*as I remember*.

(3) My way:
I first install a minimal distribution of FreeBSD on a new machine, then
do something like
# cd /  gunzip -c /mnt/remote_storage/old_host_root.dmp.gz | restore 
-ruf -

...
# shutdown now
...
# exit (or ctrl + D)
login:
...
:)


Good luck!

Fira wrote:

Hi list,

I want to migrate one of my server (machine A) into another (machine B). My
choice is using 'dump' and 'restore'. I've dumped all of my filesystem into
third machine (machine C)  over ssh. All went fine.
Then, I want to restore it into machine B. This machine is newly fresh, no
freebsd inside. My plan is restore the dump file into it by using installer
CD. I use the cd/dvd fixit mode. At this time, my confusion begun. To
restore it,  I need to create the slice.  I  did 'fdisk' and 'disklabel'
from sysinstall. But it failed. I followed tutorial from
http://devpit.org/wiki/Dump_and_Restore_over_SSH [of course with some
adjustment], but I still failed.

My question is, how is the right way to do the restore in a system that
hasn't been installed with freebsd at all? From what I get in google, every
restore example is done on a system that has been installed an OS.

Thanks a lot guys!
___
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: Squid3.0 missing something with pf transparent proxy.

2008-02-02 Thread eculp

Quoting Mehul Ved [EMAIL PROTECTED]:


On 2/2/08, eculp [EMAIL PROTECTED] wrote:

when I
use the pf redirect it seems to not get the url parsing right for some
reason.  I put http://www.google.com and see
1201906217.304  0 172.16.0.14 NONE/400 1809 GET /google.com/ -
NONE/- text/html
1201906217.466  0 172.16.0.14 NONE/400 1809 GET /favicon.ico -
NONE/- text/html
1
in the squid access.log rather than http:://www.google.com.and the
screen shows:
http://encontacto.net/transSquid3.0.png


I faced that too. Turns out I had
http_port 3128
but I needed
http_port 3128 transparent


That one word solve the problem immediately.  Thanks a lot.  I was  
ready to give up on both myself and squid and uninstall.


Thanks again

ed



after making the change proxy worked perfectly fine.
___
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: Question about restore

2008-02-02 Thread Wojciech Puchar


My question is, how is the right way to do the restore in a system that
hasn't been installed with freebsd at all? From what I get in google, every


of course.

i won't help you with sysinstall as i don't use it, just use LiveCD to 
make partitions, newfs and then restore

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


Re: Question about restore

2008-02-02 Thread Wojciech Puchar

(3) My way:
I first install a minimal distribution of FreeBSD on a new machine, then
do something like
# cd /  gunzip -c /mnt/remote_storage/old_host_root.dmp.gz | restore -ruf -
...


and you gen mix of new and old system, with all files appearing that are 
on fresh install but not on old system.



why to make things so complicated while it is so simple.

start livecd then

man bsdlabel
man newfs
man restore


fdisk is unneeded at all if there is only *BSD on disk. and less mess with 
all these s1/s2/s3/s4 in names

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


[PPP] Dialing using a cellphone

2008-02-02 Thread Alphons Fonz van Werven

Hi,

I'm trying to dial in to my phone provider for internet access using my
cellphone (Samsung D900i) connected to a USB port of my computer.

At boot, FreeBSD recognizes the phone as a USB modem:
ugen: Samsung Mobile USB Modem, rev. 2.00/1.00, addr 2

I've modified /etc/ppp/ppp.conf to use the device mentioned above:
  set device /dev/ugen1
and changed username, password, phone# etc according to my provider's
settings.

However, when I try to actually dial out, I get:
tun0: Warning: chat_Write: Operation not supported by device

Any thoughts?

Alphons

--
VISTA - Viruses Intruders Spyware Trojans Adware

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


Re: Question about restore

2008-02-02 Thread Jack L. Stone
At 03:43 PM 2.2.2008 +0100, Wojciech Puchar wrote:

 My question is, how is the right way to do the restore in a system that
 hasn't been installed with freebsd at all? From what I get in google, every

of course.

i won't help you with sysinstall as i don't use it, just use LiveCD to 
make partitions, newfs and then restore

For years I have been using a script that will do it all. It never fails to
do the job perfectly and painlessly.

In my case I have a utility machine used also for backups and is okay if I
need to shut it down for emergency restores and things described by the
poster.

In you case, just do your dumps on the server to be moved as it will do it
quicker and not likely to lose much from a live system (if live). The
transfer method is a bit slower.

Once dumps are made, then transfer the files over to your utility
machine. Run my script on the utility which will mirror everything over
to a 2nd new clean drive. Shut down the utility machine, pull the 2nd drive
with the restore and install as the master drive in your target new machine
-- then boot up. That's it.

BTW: You can modify the partition sizes in the script if you want to make
some or all of them larger in a bigger new HD for example.

If interested in my script and my method, I'll send it to you as an
attachment file.


(^_^)
Happy trails,
Jack L. Stone

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


Compiz-fusion article (was: Re: Compiz Fusion)

2008-02-02 Thread Manolis Kiagias



Alphons Fonz van Werven wrote:

E. J. Cerejo wrote:

Is there a tutorial on how to configure compiz fusion on FBSD 6.3 / 
gnome or fluxbox.


1. Use the port/package.
2. Every now and then I see messages fly by in which you can find
   exactly which flags/options to use.
3. You are right, there should be documentation...

Alphons

P.S. I found this stashed in a folder meant for future reference:

 Assuming you have already setup you X server for composite, to run
 compiz-fusion enter these commands:

 (as normal user)

 compiz --replace --sm-disable --ignore-dekstop-hints ccp 
 emerald --replace 

Credits to Manolis Kiagias :-)

Never thought this was such a sought-after feature :)

Anyway, here is a quick article I just wrote:

http://store.itsyourftp.com/~sonic2000gr/freebsd/compiz-fusion/article.html

Your feedback is welcome.

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


Re: vi+urxvt8.9+oxim for traditional chinese, HOW??

2008-02-02 Thread Tsu-Fan Cheng
like this:

from website:
在民進黨總統候選人
from urxvt+vi (iso8859-1 locale):
å\x9c¨æ°\x91é\x80²黨總統å\x80\x99é\x81¸

...

On Feb 1, 2008 10:05 PM, Edward G.J. Lee [EMAIL PROTECTED] wrote:
 On Fri, Feb 01, 2008, Tsu-Fan Cheng wrote:
  some are displayed correctly, but some are wrong, still looks like
  \XX\XX, feel like not all the characters are not well represented

 Maybe there have some characters not in Big-5 range.

 Can you send me the file personally?



 Edward

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

Re: [PPP] Dialing using a cellphone

2008-02-02 Thread Matthias Apitz
El día Saturday, February 02, 2008 a las 02:52:08PM +, Alphons Fonz van 
Werven escribió:

 Hi,
 
 I'm trying to dial in to my phone provider for internet access using my
 cellphone (Samsung D900i) connected to a USB port of my computer.
 
 At boot, FreeBSD recognizes the phone as a USB modem:
 ugen: Samsung Mobile USB Modem, rev. 2.00/1.00, addr 2

'ugen' means that only the USB generic device driver attached
to your device; check the man page with 'man ugen'

 
 I've modified /etc/ppp/ppp.conf to use the device mentioned above:
   set device /dev/ugen1
 and changed username, password, phone# etc according to my provider's
 settings.
 
 However, when I try to actually dial out, I get:
 tun0: Warning: chat_Write: Operation not supported by device
 
 Any thoughts?

PPP needs a serial device to work with, 'ugen' does not
provide this; 

matthias

-- 
Matthias Apitz
Manager Technical Support - OCLC GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e [EMAIL PROTECTED] - w http://www.oclc.org/ http://www.UnixArea.de/
b http://gurucubano.blogspot.com/
Don't top-post, read RFC1855 http://www.faqs.org/rfcs/rfc1855.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Removing FreeBSD

2008-02-02 Thread Jerry McAllister
On Fri, Feb 01, 2008 at 07:44:10PM -0500, Aryeh M. Friedman wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Bnw CmpRpr wrote:
  Hi. I recently purchased a HDD from a man that runs a data center, and
 on this HDD is FreeBSD. My problem is I want it off, and for some
 ungodly reason, it keeps coming back. I cant format the drive with
 Windows, and I cant load it as a slave to format, either. Any help would
 be greatly appreciated. Thanks
  -
  M White
  Black and White Computer Repair
 
 
 
 The following assumes the drive is /dev/ad0 (the OS name for it) and
 it is modern enough to not get confused by a low level format... boot
 in single user mode (item 4 on the menu) and at the command line do:
 
 dd if=/dev/zero of=/dev/ad0 bs=512 count=1
 
 This will clear the MBR partition table and make the machine think it
 is a brand new drive.
 

THis should work OK.
You might want to download the disk 1 ISO and burn a CD and
use it to boot and run the fixit to run the dd command as above.
If it is not ad0, it might be da0 (if it is SCSI or SAS) 
It could also be ad1 or da1 if it is the second disk in the system - 
not disks are numbered starting at 0.

jerry


 
 - --
 Aryeh M. Friedman
 FloSoft Systems, Java Tool Developers
 Developer, not business, friendly
 http://www.flosoft-systems.com
 
 Free software != Free beer
 
 Blog:
   
 http://www.flosoft-systems.com/flosoft_systems_community/blogs/aryeh/index.php
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v2.0.4 (FreeBSD)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
 
 iD8DBQFHo7zaQi2hk2LEXBARAsdxAKDPTkTXZ/s1EaFp5AIybNBSSdufKwCgtG79
 tbzQNJIAPIJ0CZLidKtZP4s=
 =OlhM
 -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]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: [PPP] Dialing using a cellphone

2008-02-02 Thread Mel
On Saturday 02 February 2008 17:44:58 Matthias Apitz wrote:

  At boot, FreeBSD recognizes the phone as a USB modem:
  ugen: Samsung Mobile USB Modem, rev. 2.00/1.00, addr 2


...

  However, when I try to actually dial out, I get:
  tun0: Warning: chat_Write: Operation not supported by device
 
  Any thoughts?

 PPP needs a serial device to work with, 'ugen' does not
 provide this;

More to the point, umodem(4) lists the supported USB modems.
The thing to do would be send-pr with output of pciconf -lv and request 
support for this modem.

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


Re: Compiz-fusion article

2008-02-02 Thread E. J. Cerejo

Manolis Kiagias wrote:



Alphons Fonz van Werven wrote:

E. J. Cerejo wrote:

Is there a tutorial on how to configure compiz fusion on FBSD 6.3 / 
gnome or fluxbox.


1. Use the port/package.
2. Every now and then I see messages fly by in which you can find
   exactly which flags/options to use.
3. You are right, there should be documentation...

Alphons

P.S. I found this stashed in a folder meant for future reference:

 Assuming you have already setup you X server for composite, to run
 compiz-fusion enter these commands:

 (as normal user)

 compiz --replace --sm-disable --ignore-dekstop-hints ccp 
 emerald --replace 

Credits to Manolis Kiagias :-)

Never thought this was such a sought-after feature :)

Anyway, here is a quick article I just wrote:

http://store.itsyourftp.com/~sonic2000gr/freebsd/compiz-fusion/article.html

Your feedback is welcome.

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




Well, there's always one of us that loves a toy.
___
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 Text on ZFS

2008-02-02 Thread Christian Baer
Hello people!

Can anyone give me a link to a text on ZFS that tells me why I might want
to use that instead of FFS? I don't want to start a discussion which is
better, just a comparison, as I assume that the two are not designed to do
the same things. And if possible one that is understandable to people who
don't hack FS-code. :-)

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


Dell 1950

2008-02-02 Thread shinny knight
Hello,

We are in the process of ordering few servers and we think to ask here first 
for any known issues with same.
BTW...company policy requires only Dell servers. Yes, I know...kinda snob^^
Purpose for this server will be firewall (we are using PF with stateful rules) 
and custom kernel with NIC pooling compiled.
We hope this baby will deliver up to 800Mbps per NIC (4).
One thing is that Dell is not certifying Intel Gigabit NIC with FreeBSD.
Since in the kernel we have only 

'device em # Intel PRO/1000 adapter Gigabit Ethernet Card'

Does this include also below specified device? 
Is any of you using Intel® PRO 1000VT Quad Port Gigabit NIC?
Is kernel pooling option compatible or working with Intel® PRO 1000VT Quad Port 
Gigabit NIC?

Appreciate any feedback or suggestion about same.
TIA

Dell PowerEdge 1950 configuration:

PowerEdge 1950 III: Quad Core Intel® Xeon® L5335, 2x4MB Cache, 2.0GHz, 1333MHz 
FSB

Additional Processors:Quad Core Intel® Xeon® L5335, 2x4MB Cache, 2.0GHz, 
1333MHz FSB

Memory: 4GB 667MHz (4x1GB), Dual Ranked DIMMs

Backplane: 1x2 Backplane for 3.5-inch Hard Drives

Primary Controller: PERC6i SAS RAID Controller, 2x4 Connectors, Int, PCIe,
256MB Cache

Hard Drive Configuration: Integrated SAS/SATA RAID 1, PERC 6/i 
Integrated/SAS6/iR

Primary Hard Drive: 250GB 7.2K RPM Serial ATA 3Gbps 3.5-in HotPlug Hard Drive

2nd Hard Drive: 250GB 7.2K RPM Serial ATA 3Gbps 3.5-in HotPlug Hard Drive

Network Adapter: Intel® PRO 1000VT Quad Port Gigabit NIC, Copper, PCIe-4

CD/DVD Drive: 8X DVD-ROM



Best regards,
Catalin

   
-
Never miss a thing.   Make Yahoo your homepage.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Dell 1950

2008-02-02 Thread Wojciech Puchar

Memory: 4GB 667MHz (4x1GB), Dual Ranked DIMMs


incredibly important for firewall to have 4GB RAM. why not 64GB or more? 
;)

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


Re: Dell 1950

2008-02-02 Thread Zinevich Denis
I had a problem with 1950. It emerged that this servers have problems 
with reboot.

After executing reboot commant server hangs just after printing uptime.
http://lists.freebsd.org/pipermail/freebsd-stable/2006-October/029108.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Looking for a Text on ZFS

2008-02-02 Thread Mel
On Saturday 02 February 2008 20:07:50 Christian Baer wrote:

 Can anyone give me a link to a text on ZFS that tells me why I might want
 to use that instead of FFS? I don't want to start a discussion which is
 better, just a comparison, as I assume that the two are not designed to do
 the same things. And if possible one that is understandable to people who
 don't hack FS-code. :-)

If you review the Not done items @ http://wiki.freebsd.org/ZFS and still are 
doubting, then http://www.opensolaris.org/os/community/zfs/whatis/ describes 
what the features *can* be. I got a good impression from that text what the 
advantages are, but I'm too conservative to migrate myself. YMMV.

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


Re: Looking for a Text on ZFS

2008-02-02 Thread Wojciech Puchar

If you review the Not done items @ http://wiki.freebsd.org/ZFS and still are
doubting, then http://www.opensolaris.org/os/community/zfs/whatis/ describes
what the features *can* be. I got a good impression from that text what the
advantages are, but I'm too conservative to migrate myself. YMMV.

very good.

CAN be isn't very useful. while ZFS provide virtual partitions (which 
may LOOK good), it doesn't work well with 2 or more pools created out of 
partitions not full drives.


my common config on machines with 1 drive is to make gmirror (or 
gmirror+gstripe) from first partitions of each drive, to store most common 
data, usually EXCEPT huge files, and gconcat from other partitions to 
store mostly big files, other rarely used things, copies of other things 
etc.


then drives seeks mostly within first partition so it's much faster, and i 
have unmirrored larger space on second.


with ZFS it is not possible, while it CLAIMED to completely and definitely 
remove all these burder about planning disk layouts.



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


disklabel error

2008-02-02 Thread Michael S
Good day all,

I am trying to install 7.0 RC1 on an old Dell laptop.
However it fails to create the swap partition. 
The message I keep getting is: Unable to find device
node for /dev/ad0s1b in /dev!. The creation of
filesystem will be aborted.
Is there a way around it?

Thanks in advance,
Michael

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


Nvidia graphics on AMD64

2008-02-02 Thread Mike Clarke
After running a 90 hour portupgrade job on my current Duron 1600 based system 
I've persuaded myself that a hardware upgrade is due.

I'm contemplating building a system around an Athlon 64 X2 4200+ CPU. I'm not 
into games and overclocking so a relatively low end motherboard with 
integrated graphics should suffice. I've been looking at a few specs, many of 
them use Nvidia chipsets and I understand that there isn't a Nvidia graphics 
driver for FreeBSD on the AMD64 platform.

If I choose a Nvidia based motherboard would I have to install the i386 
version of FreeBSD if I wanted to use the onboard graphics, in which case to 
what extent would the overall performance suffer?

My graphics needs are fairly modest, so long as I can use the Gimp to edit 
some photos I'm OK, but playing the occasional DVD fairly smoothly would be a 
bonus but not essential. Is there any alternative graphics driver which would 
meet my needs?

... or should I just keep away from Nvidia and concentrate on something with 
ATI graphics?

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


Re: Nvidia graphics on AMD64

2008-02-02 Thread Wojciech Puchar

After running a 90 hour portupgrade job on my current Duron 1600 based system
I've persuaded myself that a hardware upgrade is due.


simply use precompiled ones if it's a problem.
anyway - i don't what bloatware you have compiled but on my 1200Mhz 
Thinkpad i needed few hours to install things i use.




I'm contemplating building a system around an Athlon 64 X2 4200+ CPU. I'm not
into games and overclocking so a relatively low end motherboard with
integrated graphics should suffice. I've been looking at a few specs, many of
them use Nvidia chipsets and I understand that there isn't a Nvidia graphics
driver for FreeBSD on the AMD64 platform.


by general there are lots of problems with nvidia as it's closed source.
i always avoid closed source.


If I choose a Nvidia based motherboard would I have to install the i386
version of FreeBSD if I wanted to use the onboard graphics, in which case to
what extent would the overall performance suffer?


i would check if it will really work as it should - AT ALL, before buying.



My graphics needs are fairly modest, so long as I can use the Gimp to edit
some photos I'm OK, but playing the occasional DVD fairly smoothly would be a
bonus but not essential. Is there any alternative graphics driver which would
meet my needs?


any WORKING card should suffice for your needs.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Nvidia graphics on AMD64

2008-02-02 Thread Manolis Kiagias

Mike Clarke wrote:
After running a 90 hour portupgrade job on my current Duron 1600 based system 
I've persuaded myself that a hardware upgrade is due.


I'm contemplating building a system around an Athlon 64 X2 4200+ CPU. I'm not 
into games and overclocking so a relatively low end motherboard with 
integrated graphics should suffice. I've been looking at a few specs, many of 
them use Nvidia chipsets and I understand that there isn't a Nvidia graphics 
driver for FreeBSD on the AMD64 platform.


If I choose a Nvidia based motherboard would I have to install the i386 
version of FreeBSD if I wanted to use the onboard graphics, in which case to 
what extent would the overall performance suffer?


My graphics needs are fairly modest, so long as I can use the Gimp to edit 
some photos I'm OK, but playing the occasional DVD fairly smoothly would be a 
bonus but not essential. Is there any alternative graphics driver which would 
meet my needs?


... or should I just keep away from Nvidia and concentrate on something with 
ATI graphics?


  
I had a machine with integrated NVidia graphics running FreeBSD/Amd64 
for a few weeks.

It was an Athlon X2 4600+  and the onboard graphics was GeForce 7100.
Usually the integrated graphics come from the lower-spec graphic 
chipsets and are well supported by the open source nv driver. As long 
as you don't need fancy 3D effects, the combination works perfectly and 
is absolutely suitable for a desktop. DVDs were no problem, and the 
whole feeling was the machine was flying. (Pitty I had to part with it...)
There are lots and lots of cheap 'n' cheerful micro-atx boards to choose 
from.

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


Re: Nvidia graphics on AMD64

2008-02-02 Thread Wojciech Puchar

It was an Athlon X2 4600+  and the onboard graphics was GeForce 7100.
Usually the integrated graphics come from the lower-spec graphic chipsets and 
are well supported by the open source nv driver. As long as you don't need


good to know at least partially things changed to better.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


unattaching the power cable cause laptop could not shutdown

2008-02-02 Thread Kemian Dang
Hi, there.

I am running FB7-rc1 on a HP/Compaq laptop. I find if I unplug the
power cable and let it use the battery, it will become slow, and
recover when plug in the power cable. But when I shutdown the
computer, it will halt on the first stage and can not be shutdown.
I think it maybe the ACPI problem, but if I disable the ACPI, the box
can not be boot.

Any suggestion is welcomed.

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


Re: Nvidia graphics on AMD64

2008-02-02 Thread Mel
On Saturday 02 February 2008 23:13:25 Wojciech Puchar wrote:
  After running a 90 hour portupgrade job on my current Duron 1600 based
  system I've persuaded myself that a hardware upgrade is due.

 simply use precompiled ones if it's a problem.
 anyway - i don't what bloatware you have compiled but on my 1200Mhz
 Thinkpad i needed few hours to install things i use.

  I'm contemplating building a system around an Athlon 64 X2 4200+ CPU. I'm
  not into games and overclocking so a relatively low end motherboard with
  integrated graphics should suffice. I've been looking at a few specs,
  many of them use Nvidia chipsets and I understand that there isn't a
  Nvidia graphics driver for FreeBSD on the AMD64 platform.

 by general there are lots of problems with nvidia as it's closed source.
 i always avoid closed source.

That's a very unfounded statement.

Nvidia is probably the best supported graphics card family for FreeBSD, 
*because* it actually has a vendor provided driver. The only 'problem' is 
that Nvidia decides when they want to support platform/release X/Y and 
FreeBSD to have certain interfaces they desire in place.
Last I heard, it was 7.0-RELEASE for new (as in, not COMPAT5X) native drivers, 
but this long topic seems to indicate otherwise:

http://www.nvnews.net/vbulletin/showthread.php?t=41545

There is however for X an nv driver from xorg that does it's job for most 
cards, if you don't need hardware accelerated OpenGL. Which OP doesn't need 
for gimp/dvd's.

I'd really stay away from ATI, for your purposes, either go with nvidia or 
Intel onboard.
-- 
Mel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Nvidia graphics on AMD64

2008-02-02 Thread Mike Clarke
On Saturday 02 February 2008, Wojciech Puchar wrote:

 After running a 90 hour portupgrade job on my current Duron 1600 based
 system

  I've persuaded myself that a hardware upgrade is due.

 simply use precompiled ones if it's a problem.
 anyway - i don't what bloatware you have compiled but on my 1200Mhz
 Thinkpad i needed few hours to install things i use.

The main culprits are some of the the KDE applications which never seem to 
have up to date precompiled packages available when I need them. The 90 hour 
run was using portupgrade -P to use packages wherever possible. Some of the 
ports were very heavy going, with kdepim taking 11 hours to compile. 
Admittedly it is a lot of bloat but I've never regretted switching from MS 
Windows to FreeBSD, despite the tedious portupgrades.

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


Re: Preventing KDE from restarting

2008-02-02 Thread doug

On Sat, 2 Feb 2008, Mel wrote:


On Saturday 02 February 2008 00:14:10 Oren Almog wrote:

I do have that line but it is disabled (off).

Looking at /usr/local/share/config/kdm/kdmrc does reveal a few options that
can immediately restart a session but they are all either commented out or
not set.


killall kdm-bin.
And next time, start kdm from command line as kdm -nodaemon if you plan on
disabling it at a future time.
--
Mel

This of course does nothing for the next boot.

I assume you are running one of the desktop distributions. Otherwise you have to 
make a change to start an X server. We installed PCBSD just to see how they did 
things. The version we installed starts kdm from /etc/ttys. The other way would 
be to start it from /usr/local/etc/rc.d/.


Try:  egrep -lr [xk]dm .

with pwd = /etc/ and /usr/local/etc/rc.d/

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


Re: unattaching the power cable cause laptop could not shutdown

2008-02-02 Thread Mel
On Saturday 02 February 2008 23:51:01 Kemian Dang wrote:

 I am running FB7-rc1 on a HP/Compaq laptop. I find if I unplug the
 power cable and let it use the battery, it will become slow, and
 recover when plug in the power cable.

That's a feature, not a bug. The cpu frequency scales, see cpufreq(4) for more 
information.

 But when I shutdown the 
 computer, it will halt on the first stage and can not be shutdown.

How do you shutdown?
If shutdown -p NOW doesn't work, try shutdown -h NOW and press the power 
button.

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


Re: unattaching the power cable cause laptop could not shutdown

2008-02-02 Thread Kemian Dang
I have tried shutdown -p now in terminal or click shutdown in GDM.
Both of them have the problem, it freezes and I do not know what it is doing.

I think maybe it's the acpi module halts when doing shutdown somewhere.

Anyway, thanks for suggestion, I will try this next time I close my computer.

Kemian

On 02/02/2008, Mel [EMAIL PROTECTED] wrote:
 On Saturday 02 February 2008 23:51:01 Kemian Dang wrote:

  I am running FB7-rc1 on a HP/Compaq laptop. I find if I unplug the
  power cable and let it use the battery, it will become slow, and
  recover when plug in the power cable.

 That's a feature, not a bug. The cpu frequency scales, see cpufreq(4) for more
 information.

  But when I shutdown the
  computer, it will halt on the first stage and can not be shutdown.

 How do you shutdown?
 If shutdown -p NOW doesn't work, try shutdown -h NOW and press the power
 button.

 --
 Mel
 ___
 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: Fwd: This has begun to annoy me...

2008-02-02 Thread Kurt Buff
On Feb 1, 2008 2:46 PM, cpghost [EMAIL PROTECTED] wrote:
 You could also run the following command immediatly, without having
 to wait for the daemon to collect data:

   # smartctl -a /dev/ad6

 and consider running a long test as well:

   # smartctl -t long /dev/ad6

 followed by another smartctl -a /dev/ad6 again once the
 test completes (the drive will tell you how long it takes,
 expect something like 30 to 45 minutes or so, depending on
 the size and speed of the drive).

  Kurt

 -cpghost.

Output from smartctl -a /dev/ad6 - looks pretty clean AFAICT.

smartctl version 5.37 [i386-portbld-freebsd6.3] Copyright (C) 2002-6 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

=== START OF INFORMATION SECTION ===
Model Family: Western Digital Caviar SE (Serial ATA) family
Device Model: WDC WD800JD-00MSA1
Serial Number:WD-WMAM9HU64068
Firmware Version: 10.01E01
User Capacity:80,026,361,856 bytes
Device is:In smartctl database [for details use: -P show]
ATA Version is:   7
ATA Standard is:  Exact ATA specification draft version not indicated
Local Time is:Sat Feb  2 15:52:58 2008 PST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
Offline data collection status:  (0x84) Offline data collection activity
was suspended by an
interrupting command from host.
Auto Offline Data Collection: Enabled.
Self-test execution status:  (   0) The previous self-test routine completed
without error or no self-test has ever
been run.
Total time to complete Offline
data collection: (2460) seconds.
Offline data collection
capabilities:(0x7b) SMART execute Offline immediate.
Auto Offline data collection
on/off support.
Suspend Offline collection upon new
command.
Offline surface scan supported.
Self-test supported.
Conveyance Self-test supported.
Selective Self-test supported.
SMART capabilities:(0x0003) Saves SMART data before entering
power-saving mode.
Supports SMART auto save timer.
Error logging capability:(0x01) Error logging supported.
General Purpose Logging supported.
Short self-test routine
recommended polling time:(   2) minutes.
Extended self-test routine
recommended polling time:(  33) minutes.
Conveyance self-test routine
recommended polling time:(   6) minutes.

SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME  FLAG VALUE WORST THRESH TYPE
UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate 0x000f   200   200   051Pre-fail
Always   -   0
  3 Spin_Up_Time0x0003   165   165   021Pre-fail
Always   -   2725
  4 Start_Stop_Count0x0032   100   100   000Old_age
Always   -   26
  5 Reallocated_Sector_Ct   0x0033   200   200   140Pre-fail
Always   -   0
  7 Seek_Error_Rate 0x000f   200   200   051Pre-fail
Always   -   0
  9 Power_On_Hours  0x0032   092   092   000Old_age
Always   -   5948
 10 Spin_Retry_Count0x0013   100   253   051Pre-fail
Always   -   0
 11 Calibration_Retry_Count 0x0012   100   253   051Old_age
Always   -   0
 12 Power_Cycle_Count   0x0032   100   100   000Old_age
Always   -   26
190 Temperature_Celsius 0x0022   073   062   045Old_age
Always   -   27
194 Temperature_Celsius 0x0022   116   105   000Old_age
Always   -   27
196 Reallocated_Event_Count 0x0032   200   200   000Old_age
Always   -   0
197 Current_Pending_Sector  0x0012   200   200   000Old_age
Always   -   0
198 Offline_Uncorrectable   0x0010   200   200   000Old_age
Offline  -   0
199 UDMA_CRC_Error_Count0x003e   200   199   000Old_age
Always   -   925
200 Multi_Zone_Error_Rate   0x0009   200   200   051Pre-fail
Offline  -   0

SMART Error Log Version: 1
No Errors Logged

SMART Self-test log structure revision number 1
No self-tests have been logged.  [To run self-tests, use: smartctl -t]


SMART Selective self-test log data structure revision number 1
 SPAN  MIN_LBA  MAX_LBA  CURRENT_TEST_STATUS
100  Not_testing
200  Not_testing
3

Re: Intel® G31 + ICH7

2008-02-02 Thread NetOpsCenter

Mel wrote:

On Saturday 02 February 2008 11:14:04 Gordon McKee wrote:
  

Hi

Does anyone know how to get FreeBSD to work with the above chipset.  Tried
6.3 and 7 ISO images.  Get lots of disk and no NIC is detected.

I have
http://www.foxconnchannel.com/product/Motherboards/detail_spec.aspx?ID=en-u
s345.



RTL8111B should be supported with rl driver. Apparently it's not detected, so 
a pciconf -lv |grep -A4 '^none' would help greatly.


  

This was on the list  a while ago about RealTek 8110.

Bernd Walter wrote:


 
 Realtek has two devices for Gbit PCI: the 8169 and the reduced 8110.
 They are both more or less the same - likely even the same chip inside,
 but the later has pins reduced.
 AFAIK the later can't have an external PHY, which you can't have anyway
 if there is neither a connector or PHY itself connected on the board.
 The 8168 is the successor for PCI express, with the 8111 being the new
 reduced variant.
 Both PCIe are detected but didn't run stable with our re(4), but it is
 said that the latest driver fixes this and also adds a good speed
 improvement.
 
   
  

Good Luck...

--

~Al Plant - Honolulu, Hawaii -  Phone:  808-284-2740
 + http://hawaiidakine.com + http://freebsdinfo.org + [EMAIL PROTECTED] +
 + http://aloha50.net   - Supporting - FreeBSD 6.* - 7.* +
All that's really worth doing is what we do for others.- Lewis Carrol


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


Re: Dell 1950

2008-02-02 Thread NetOpsCenter

shinny knight wrote:

Hello,

We are in the process of ordering few servers and we think to ask here first 
for any known issues with same.
BTW...company policy requires only Dell servers. Yes, I know...kinda snob^^
Purpose for this server will be firewall (we are using PF with stateful rules) 
and custom kernel with NIC pooling compiled.
We hope this baby will deliver up to 800Mbps per NIC (4).
One thing is that Dell is not certifying Intel Gigabit NIC with FreeBSD.
Since in the kernel we have only 


'device em # Intel PRO/1000 adapter Gigabit Ethernet Card'

Does this include also below specified device? 
Is any of you using Intel® PRO 1000VT Quad Port Gigabit NIC?

Is kernel pooling option compatible or working with Intel® PRO 1000VT Quad Port 
Gigabit NIC?

Appreciate any feedback or suggestion about same.
TIA

Dell PowerEdge 1950 configuration:

PowerEdge 1950 III: Quad Core Intel® Xeon® L5335, 2x4MB Cache, 2.0GHz, 1333MHz 
FSB

Additional Processors:Quad Core Intel® Xeon® L5335, 2x4MB Cache, 2.0GHz, 
1333MHz FSB

Memory: 4GB 667MHz (4x1GB), Dual Ranked DIMMs

Backplane: 1x2 Backplane for 3.5-inch Hard Drives

Primary Controller: PERC6i SAS RAID Controller, 2x4 Connectors, Int, PCIe,
256MB Cache

Hard Drive Configuration: Integrated SAS/SATA RAID 1, PERC 6/i 
Integrated/SAS6/iR

Primary Hard Drive: 250GB 7.2K RPM Serial ATA 3Gbps 3.5-in HotPlug Hard Drive

2nd Hard Drive: 250GB 7.2K RPM Serial ATA 3Gbps 3.5-in HotPlug Hard Drive

Network Adapter: Intel® PRO 1000VT Quad Port Gigabit NIC, Copper, PCIe-4

CD/DVD Drive: 8X DVD-ROM



Best regards,
Catalin

   
-

Never miss a thing.   Make Yahoo your homepage.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

  

I have the Intel Pro1000 running on a 1386 box FreeBSD 8.*
No problems with it.

--

~Al Plant - Honolulu, Hawaii -  Phone:  808-284-2740
 + http://hawaiidakine.com + http://freebsdinfo.org + [EMAIL PROTECTED] +
 + http://aloha50.net   - Supporting - FreeBSD 6.* - 7.* +
All that's really worth doing is what we do for others.- Lewis Carrol


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


Re: mpd with a dual pppoe setup

2008-02-02 Thread Alexander Motin

Hi.

Reinhold wrote:

Here is what I've done so far.
/usr/local/etc/mpd5/mpd.conf


The config you have made probably suits to mpd3/4, but not to mpd5. Mpd5 
uses alike commands, but general configuration idea is different. There 
is no mpd.links file in mpd5. Read new examples present in package.



default:
load wan1
load wan2


Then it would be reasonable to merge pptpd: section here.


set ipcp ranges static-ip-0/32 isp-gateway-0/32


If you are connecting to the ISP it would be better not to specify IP to 
let them be negotiated.



load common_setting

wan2:
new -i ng1 wan2 PPPoE1
set iface route default
set iface up-script /usr/local/etc/mpd/script-wan2.sh
set iface down-script /usr/local/etc/mpd/script-wan2.sh

set bundle authname [EMAIL PROTECTED]
set bundle password passwd

set ipcp ranges static-ip-1/32 isp-gateway-1/32
load common_setting

common_setting:
set iface addrs 1.1.1.1 2.2.2.2
set iface disable on-demand


Without on-demand set iface addrs is useless.


set iface idle 0


This is default.


# PPTP
pt0:
set link type pptp
set pptp enable incoming
set pptp disable originate
set pptp disable windowing
set pptp self 127.0.0.1


It will be difficult to accept incoming while listening on 127.0.0.1.

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


Re: Dell 1950 for PF firewall

2008-02-02 Thread shinny knight
Wojciech Puchar [EMAIL PROTECTED] wrote:  Memory: 4GB 667MHz (4x1GB), Dual 
Ranked DIMMs

incredibly important for firewall to have 4GB RAM. why not 64GB or more? 
;)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

:)
For many reasons.
Company policy is to prefer ordering 4GB RAM servers than upgrade later so that 
we can easily switch them to heavy-loaded jail or DB servers.

Appreciate if anyone can advise on  using Intel® PRO 1000VT Quad Port Gigabit 
NIC and what is the max throughput they got on same with or w/o pooling.
Thanks in advance.



Best Regards,
Catalin

   
-
Be a better friend, newshound, and know-it-all with Yahoo! Mobile.  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: Problems with OpenOffice 2.3.1 on FreeBSD

2008-02-02 Thread Ted Mittelstaedt
Hi Thierry,

  Just checking, since the ports tree is unfrozen have all the
patches to OO been applied to fix these problems?

Ted

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Thierry Thomas
 Sent: Tuesday, January 01, 2008 12:33 PM
 To: Stephen Montgomery-Smith
 Cc: freebsd-questions@freebsd.org; [EMAIL PROTECTED]
 Subject: Re: Problems with OpenOffice 2.3.1 on FreeBSD


 Le Mar  1 jan 08 à 21:21:43 +0100, Stephen Montgomery-Smith
 [EMAIL PROTECTED]
  écrivait :

  My personal wish list is that opencascade builds on FreeBSD-7 with the
  new stlport, and that octave-forge not be in its current
 IGNORE state.
   But I fully appreciate that I must either wait, or help make it happen.

 A patch is ready for that, and is available at

 http://people.freebsd.org/~thierry/ports/opencascade.diff

 but I cannot commit it right now: it will fail without the patch
 included in PR ports/118958. That means that we have to wait untill the
 ports tree is totally unfrozen.

 Best regards,
 --
 Th. Thomas.

 Internal Virus Database is out-of-date.
 Checked by AVG Free Edition.
 Version: 7.5.516 / Virus Database: 269.19.5 - Release Date:
 1/16/2008 12:00 AM


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


Re: Nvidia graphics on AMD64

2008-02-02 Thread Kimi
On 02/02/2008, Wojciech Puchar [EMAIL PROTECTED] wrote:
 [...]
 i needed few hours to install things i use.

not a very helpful comment at all. Durons were pretty crap.

  [...]
 by general there are lots of problems with nvidia as it's closed source.
 i always avoid closed source.

again, not helpful. some people do not have  choice but to use a
closed source driver.

 [...]

 i would check if it will really work as it should - AT ALL, before buying.


xorg-driver-nv will be more then good enough, providing 3D is not needed.

 [...]
 any WORKING card should suffice for your needs.

hehe

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


Re: Nvidia graphics on AMD64

2008-02-02 Thread Frank Shute
On Sat, Feb 02, 2008 at 09:12:27PM +, Mike Clarke wrote:

 After running a 90 hour portupgrade job on my current Duron 1600 based system 
 I've persuaded myself that a hardware upgrade is due.
 
 I'm contemplating building a system around an Athlon 64 X2 4200+ CPU. I'm not 
 into games and overclocking so a relatively low end motherboard with 
 integrated graphics should suffice. I've been looking at a few specs, many of 
 them use Nvidia chipsets and I understand that there isn't a Nvidia graphics 
 driver for FreeBSD on the AMD64 platform.

There are nvidia chipsets such as nforce4 which work with FreeBSD, I
don't know about more recent ones but you can have a grovel through
here:

http://www.freebsd.org/platforms/amd64/motherboards.html

 
 If I choose a Nvidia based motherboard would I have to install the i386 
 version of FreeBSD if I wanted to use the onboard graphics, in which case to 
 what extent would the overall performance suffer?

No. You can use the nv driver:

x11-drivers/xf86-video-nv

You might want to use i386 if you've got less than 4GB of memory as
some applications are only 32 bit such as Flash.

 
 My graphics needs are fairly modest, so long as I can use the Gimp to edit 
 some photos I'm OK, but playing the occasional DVD fairly smoothly would be a 
 bonus but not essential. Is there any alternative graphics driver which would 
 meet my needs?

You'd be ok with nv which builds on i386 or AMD64. There is a
proprietory driver which can be used on i386 but not AMD64:

x11/nvidia-driver

 
 ... or should I just keep away from Nvidia and concentrate on something with 
 ATI graphics?

I've just switched from an Nvidia card to ATI onboard and the nvidia
card was better. The onboard ATI gives me a rather washed out picture.

So my advice would be to avoid onboard graphics and get a cheap nvidia
card. You can get them for about 20 quid for a 128MB card.

-- 

 Frank 


 Contact info: http://www.esperance-linux.co.uk/misc/contact.html 

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


Re: Nvidia graphics on AMD64

2008-02-02 Thread Kimi
On 02/02/2008, Mel [EMAIL PROTECTED] wrote:
 [...]

 I'd really stay away from ATI, for your purposes, either go with nvidia or
 Intel onboard.

nothing wrong with xorg-driver-radeonhd or xorg-driver-ati for
ATi/AMDs graphics cards, providing you don't need 3D now on newer
hardwares.

 --
 Mel

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


Re: Nvidia graphics on AMD64

2008-02-02 Thread RW
On Sat, 2 Feb 2008 21:12:27 +
Mike Clarke [EMAIL PROTECTED] wrote:

 After running a 90 hour portupgrade job on my current Duron 1600
 based system I've persuaded myself that a hardware upgrade is due.
 
 I'm contemplating building a system around an Athlon 64 X2 4200+ CPU.
 I'm not into games and overclocking so a relatively low end
 motherboard with integrated graphics should suffice. I've been
 looking at a few specs, many of them use Nvidia chipsets and I
 understand that there isn't a Nvidia graphics driver for FreeBSD on
 the AMD64 platform.

As others have said it's only the proprietary binary driver that
doesn't support amd64 (nvidia are waiting for kernel changes). As well
as the lack of 3d-support the nv driver has always seemed to me to be
less efficient even on 2d.

 If I choose a Nvidia based motherboard would I have to install the
 i386 version of FreeBSD if I wanted to use the onboard graphics, in
 which case to what extent would the overall performance suffer?

It depends on the application, there are a few things like mp3 encoding
that benefit, but generally the difference is small. It's more a
matter of memory and address-space support - amd64 supports more.
However i386 uses memory more efficiently if you have less than about
3.5 GB, and it avoids the overheads of running both 64 and 32
binaries (many desktop installations are not pure 64-bit).  
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problems with OpenOffice 2.3.1 on FreeBSD

2008-02-02 Thread Jeremy Messenger
On Sat, 02 Feb 2008 18:49:13 -0600, Ted Mittelstaedt  
[EMAIL PROTECTED] wrote:



Hi Thierry,

  Just checking, since the ports tree is unfrozen have all the


The ports tree still isn't complete unfreeze until 7.0 release. I don't  
know about OO stuff, so I will let someone to answer to it.


Cheers,
Mezz


patches to OO been applied to fix these problems?

Ted


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Thierry Thomas
Sent: Tuesday, January 01, 2008 12:33 PM
To: Stephen Montgomery-Smith
Cc: freebsd-questions@freebsd.org; [EMAIL PROTECTED]
Subject: Re: Problems with OpenOffice 2.3.1 on FreeBSD


Le Mar  1 jan 08 à 21:21:43 +0100, Stephen Montgomery-Smith
[EMAIL PROTECTED]
 écrivait :

 My personal wish list is that opencascade builds on FreeBSD-7 with the
 new stlport, and that octave-forge not be in its current
IGNORE state.
  But I fully appreciate that I must either wait, or help make it  
happen.


A patch is ready for that, and is available at

http://people.freebsd.org/~thierry/ports/opencascade.diff

but I cannot commit it right now: it will fail without the patch
included in PR ports/118958. That means that we have to wait untill the
ports tree is totally unfrozen.

Best regards,



--
[EMAIL PROTECTED]  -  [EMAIL PROTECTED]
FreeBSD GNOME Team  -  FreeBSD Multimedia Hat (ports, not src)
http://www.FreeBSD.org/gnome/  -  [EMAIL PROTECTED]
http://wiki.freebsd.org/multimedia  -  [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: Looking for a Text on ZFS

2008-02-02 Thread [EMAIL PROTECTED]
On 02/02/2008, Christian Baer [EMAIL PROTECTED] wrote:
 Hello people!

 Can anyone give me a link to a text on ZFS that tells me why I might want
 to use that instead of FFS? I don't want to start a discussion which is
 better, just a comparison, as I assume that the two are not designed to do
 the same things. And if possible one that is understandable to people who
 don't hack FS-code. :-)

http://blogs.sun.com/jonathan/entry/harvesting_from_a_troll
http://zamwi.com/2007/01/16/why-do-geeks-have-lust-for-zfs/
ZFS ends the microsotf monopoly over our disks.
ZFS begins the world as a 128bit dadaspace.
Using ZFS fixes allocations and massaging your NAS.
The inode is now the wenode.
Usaging ZFS will make everything sunnier.
Brighter too.
Making ZFS the default FS in an FScentric world ends
the pesky problems associated with legacy hardware.
Building a ZFS nonuplyindirectwenode multiply redundant
redundant filesystem makes Kate Miller-Heidke the
Well, the best, I think.

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


buildworld failed

2008-02-02 Thread Venkatesh K
Hi,

I am using FreeBSD Rel 6.3 and cvsup stable. Make buildworld failed for me.

Here is the log

--
cc -O2 -fno-strict-aliasing -pipe -march=prescott
-I/usr/src/sbin/gbde/../../sys -DRESCUE -Wsystem-headers -Werror -Wall
-Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes
-Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual
-Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -c
/usr/src/sbin/gbde/gbde.c
/usr/src/sbin/gbde/gbde.c: In function `g_read_data':
/usr/src/sbin/gbde/gbde.c:164: warning: implicit declaration of function `read'
/usr/src/sbin/gbde/gbde.c: In function `setup_passphrase':
/usr/src/sbin/gbde/gbde.c:216: warning: implicit declaration of function `close'
/usr/src/sbin/gbde/gbde.c: In function `cmd_nuke':
/usr/src/sbin/gbde/gbde.c:391: warning: implicit declaration of function `write'
/usr/src/sbin/gbde/gbde.c: In function `cmd_init':
/usr/src/sbin/gbde/gbde.c:556: warning: implicit declaration of
function `unlink'
/usr/src/sbin/gbde/gbde.c: In function `main':
/usr/src/sbin/gbde/gbde.c:801: warning: implicit declaration of
function `getopt'
/usr/src/sbin/gbde/gbde.c:804: error: `optarg' undeclared (first use
in this function)
/usr/src/sbin/gbde/gbde.c:804: error: (Each undeclared identifier is
reported only once
/usr/src/sbin/gbde/gbde.c:804: error: for each function it appears in.)
*** Error code 1

Stop in /usr/src/sbin/gbde.
*** Error code 1

Stop in /usr/obj/usr/src/rescue/rescue.
*** Error code 1

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

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

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

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

Stop in /usr/src.
-

Thanks,

Venkatesh K

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


RE: buildworld failed

2008-02-02 Thread Supote Leelasuppakorn

 
Hi,
 
   I have ever faced this problem. I suggested you deleting the whole /usr/obj 
then make buildworld again.
 
 Date: Sun, 3 Feb 2008 08:44:59 +0530 From: [EMAIL PROTECTED] To: 
 freebsd-questions@freebsd.org Subject: buildworld failed  Hi,  I am 
 using FreeBSD Rel 6.3 and cvsup stable. Make buildworld failed for me.  
 Here is the log  
 --
  cc -O2 -fno-strict-aliasing -pipe -march=prescott 
 -I/usr/src/sbin/gbde/../../sys -DRESCUE -Wsystem-headers -Werror -Wall 
 -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes 
 -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual 
 -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -c 
 /usr/src/sbin/gbde/gbde.c /usr/src/sbin/gbde/gbde.c: In function 
 `g_read_data': /usr/src/sbin/gbde/gbde.c:164: warning: implicit declaration 
 of function `read' /usr/src/sbin/gbde/gbde.c: In function 
 `setup_passphrase': /usr/src/sbin/gbde/gbde.c:216: warning: implicit 
 declaration of function `close' /usr/src/sbin/gbde/g
 bde.c: In function `cmd_nuke': /usr/src/sbin/gbde/gbde.c:391: warning: 
implicit declaration of function `write' /usr/src/sbin/gbde/gbde.c: In 
function `cmd_init': /usr/src/sbin/gbde/gbde.c:556: warning: implicit 
declaration of function `unlink' /usr/src/sbin/gbde/gbde.c: In function 
`main': /usr/src/sbin/gbde/gbde.c:801: warning: implicit declaration of 
function `getopt' /usr/src/sbin/gbde/gbde.c:804: error: `optarg' undeclared 
(first use in this function) /usr/src/sbin/gbde/gbde.c:804: error: (Each 
undeclared identifier is reported only once /usr/src/sbin/gbde/gbde.c:804: 
error: for each function it appears in.) *** Error code 1  Stop in 
/usr/src/sbin/gbde. *** Error code 1  Stop in 
/usr/obj/usr/src/rescue/rescue. *** Error code 1  Stop in 
/usr/src/rescue/rescue. *** Error code 1  Stop in /usr/src/rescue. *** 
Error code 1  Stop in /usr/src. *** Error code 1  Stop in /usr/src. *** 
Error code 1  Stop in /usr/src. -
 

  Thanks,  Venkatesh K  --  Venkatesh. K 
___ 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]


The FreeBSD Diary: 2008-01-13 - 2008-02-02

2008-02-02 Thread Dan Langille
The FreeBSD Diary contains a large number of practical 
examples and how-to guides.  This message is posted weekly
to freebsd-questions@freebsd.org with the aim of letting people
know what's available on the website.  Before you post a question
here it might be a good idea to first search the mailing list 
archives http://www.freebsd.org/search/search.html#mailinglists 
and/or The FreeBSD Diary http://www.freebsddiary.org/. 


-- 
Dan Langille
BSDCan - http://www.BSDCan.org/ - BSD Conference

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


OT: Silly Bind question

2008-02-02 Thread DAve
Excuse the OT question but I need a well rounded experienced group for
this question. I have begun a migration from Bind to TinyDNS. TinyDNS is
working flawlessly, beyond expectations. However I need to drag the old
Bind servers behind until I can get several hundred pieces of client
equipment and devices switched over to the new DNS servers. This because
we are also changing the domain name of our authoritative servers.

The problem, I have a client requesting SPF records. The TinyDNS servers
are responding correctly but for the life of me I cannot get Bind to
return a TXT record. I am baffled as to what I've done wrong.

An example domain, pixelhammer.com querying the new servers.
bash-2.05b$ dig @ns1.tls.net pixelhammer.com txt

;  DiG 8.3  @ns1.tls.net pixelhammer.com txt
; (1 server found)
;; res options: init recurs defnam dnsrch
;; got answer:
;; -HEADER- opcode: QUERY, status: NOERROR, id: 4
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUERY SECTION:
;;  pixelhammer.com, type = TXT, class = IN

;; ANSWER SECTION:
pixelhammer.com.23h47m45s IN TXT  v=spf1 ip4:65.196.224.82
ip4:65.196.224.83 ~all

;; Total query time: 4 msec
;; FROM: avhost1.tls.net to SERVER: ns1.tls.net  65.124.104.29
;; WHEN: Sun Feb  3 00:10:36 2008
;; MSG SIZE  sent: 33  rcvd: 93

No problem there, but when I query the old bind servers, I get nuthin,
nada, zip.

bash-2.05b$ dig @ns1.totallogic.com pixelhammer.com txt

;  DiG 8.3  @ns1.totallogic.com pixelhammer.com txt
; (1 server found)
;; res options: init recurs defnam dnsrch
;; got answer:
;; -HEADER- opcode: QUERY, status: NOERROR, id: 4
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUERY SECTION:
;;  pixelhammer.com, type = TXT, class = IN

;; AUTHORITY SECTION:
pixelhammer.com.1D IN SOA   ns2.totallogic.com.
hostmaster.tls.net. (
2008020219  ; serial
3H  ; refresh
1H  ; retry
1D  ; expiry
1D ); minimum


;; Total query time: 3 msec
;; FROM: avhost1.tls.net to SERVER: ns1.totallogic.com  65.196.224.2
;; WHEN: Sun Feb  3 00:10:01 2008
;; MSG SIZE  sent: 33  rcvd: 102


Here are the contents of the zone file.
;Creating pixelhammer.com zone file
$TTL1D
@   IN  SOA ns2.totallogic.com. hostmaster.tls.net. (
2008020219 3H   1H  1D  1D  )

; MX Recs
IN  MX  10  avhost.tls.net.
IN  MX  20  mailgate.tls.net.

; NS Recs
IN  NS  ns1auth.tls.net.
IN  NS  ns3auth.tls.net.
IN  NS  ns2auth.tls.net.

; A Recs
IN  A   65.196.224.25
www IN  A   65.196.224.25
ftp IN  A   65.196.224.25

; TEXT Recs
IN  TXT v=spf1 ip4:65.196.224.82 ip4:65.196.224.83 ~all

; CNAME Recs
mailIN  CNAME   mail.tls.net.
smtpIN  CNAME   smtp.tls.net.

;END pixelhammer.com zone file

I am stumped, what have I done wrong?

Thanks,

DAve


-- 
Google finally, after 7 years, provided a logo for
veterans. Thank you Google. What to do with my signature now?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: OT: Silly Bind question

2008-02-02 Thread Andy Dills
On Sun, 3 Feb 2008, DAve wrote:
 
 I am stumped, what have I done wrong?

You'll kick yourself. Here's the hint:

/users/andydig @ns1.totallogic.com ftp.pixelhammer.com txt

;  DiG 9.3.4  @ns1.totallogic.com ftp.pixelhammer.com txt
; (1 server found)
;; global options:  printcmd
;; Got answer:
;; -HEADER- opcode: QUERY, status: NOERROR, id: 26833
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 3, ADDITIONAL: 3

;; QUESTION SECTION:
;ftp.pixelhammer.com.   IN  TXT

;; ANSWER SECTION:
ftp.pixelhammer.com.86400   IN  TXT v=spf1 ip4:65.196.224.82 
ip4:65.196.224.83 ~all

;; AUTHORITY SECTION:
pixelhammer.com.86400   IN  NS  ns1auth.tls.net.
pixelhammer.com.86400   IN  NS  ns2auth.tls.net.
pixelhammer.com.86400   IN  NS  ns3auth.tls.net.

;; ADDITIONAL SECTION:
ns1auth.tls.net.86400   IN  A   65.124.104.30
ns2auth.tls.net.86400   IN  A   65.123.104.30
ns3auth.tls.net.86400   IN  A   65.124.110.14

;; Query time: 32 msec
;; SERVER: 65.196.224.2#53(65.196.224.2)
;; WHEN: Sun Feb  3 00:42:32 2008
;; MSG SIZE  rcvd: 218


Andy

---
Andy Dills
Xecunet, Inc.
www.xecu.net
301-682-9972
---
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Behind a router

2008-02-02 Thread Eugen Udma
I 
had 
a 
working 
minimal 
FreeBSD 
system 
until 
I 
put 
it 
behind 
a 
wireless
router. 
Since 
then, 
my 
network 
is 
not 
accessible 
anymore 
when 
I 
boot 
BSD.
On 
the 
same 
desktop 
I 
have 
a 
Gentoo 
Linux 
system 
which 
works 
just 
fine,
even 
if 
I 
didn't 
touch 
any 
of 
it's 
configuration 
files 
after 
I 
installed
the 
router.

The 
router 
is 
a 
ZyXEL 
P-335U 
connected 
to 
a 
cable 
modem. 
The 
desktop 
is
plugged 
into 
a 
LAN 
port. 
A 
laptop 
connected 
by 
wireless 
has 
no 
problems.
The 
router 
gets 
it's 
IP 
from 
the 
ISP 
and 
acts 
as 
a 
firewall 
and 
a 
DHCP
server 
to 
my 
network: 
it 
serves 
a 
pool 
of 
32 
addresses 
starting 
at
192.168.1.33. 
Its 
own 
address 
is 
192.168.1.1. 
The 
IP 
Subnet 
Mask 
is
255.255.255.0.

The 
configuration 
files 
for 
FreeBSD 
are 
shown 
below.
The 
output 
of 
ifconfig 
and 
netstat 
are 
also 
shown 
for 
BSD 
and 
Linux.

What 
I 
don't 
understand 
is 
the 
fact 
that 
having 
the 
same 
router 
settings,
Linux 
works 
while 
BSD 
doesn't: 
I 
can't 
even 
ping 
192.168.1.1, 
while 
the
same 
ping 
in 
Linux 
works.

I 
read 
the 
handbook 
and 
various 
other 
BSD 
information 
sources 
on 
the 
web
and 
I 
could 
not 
solve 
this 
issue.

My 
question 
is: 
which 
config 
files 
do 
I 
have 
to 
edit 
in 
FreeBSD 
and 
what
settings 
should 
I 
use 
? 
Can 
anybody 
help 
?

Thanks,
eu

/etc/rc.conf
---
ifconfig_dc0=DHCP
hostname=localhost
---

/etc/dhclient.conf
---
interface 
dc0 
{
send 
host-name 
localhost;
request 
subnet-mask, 
broadcast-address, 
routers, 
domain-name-servers,
  
  
  
  
  
  
  
  
domain-name, 
time-servers;
require 
domain-name-servers;
}
---

ifconfig 
dc0 
(BSD)
---
dc0: 
flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST 
metric 
0 
mtu 
1500
  
  
options=8VLAN_MTU
  
  
ether 
00:14:cf:52:b4:17
  
  
inet 
192.168.1.33 
netmask 
0xff00 
broadcast 
192.168.1.255
  
  
media: 
Ethernet 
autoselect 
(100baseTX 
full-duplex)
  
  
status: 
active
---

ifconfig 
eth0 
(Linux)
---
eth0  
  
  
Link 
encap:Ethernet  
HWaddr 
00:14:CF:52:B4:17  
  
  
  
  
  
inet 
addr:192.168.1.33  
Bcast:192.168.1.255  
Mask:255.255.255.0
  
  
  
  
  
inet6 
addr: 
fe80::214:cfff:fe52:b417/64 
Scope:Link
  
  
  
  
  
UP 
BROADCAST 
RUNNING 
MULTICAST  
MTU:1500  
Metric:1
---

netstat 
-rn 
(BSD)
---
Routing 
tables

Internet:
Destination  
  
  
  
Gateway  
  
  
  
  
  
Flags  
  
Refs  
  
  
Use  
Netif 
Expire
default  
  
  
  
  
  
192.168.1.1  
  
  
  
UGS  
  
  
  
 
0  
  
  
  
4  
  
dc0
127.0.0.1  
  
  
  
  
127.0.0.1  
  
  
  
  
UH  
  
  
  
  
0  
  
  
  
0  
  
lo0
192.168.1.0/24  
  
 
link#1  
  
  
  
  
  
 
UC  
  
  
  
  
0  
  
  
  
0  
  
dc0
192.168.1.1  
  
  
  
link#1  
  
  
  
  
  
 
UHLW  
  
  
  
2  
  
  
  
4  
  
dc0
---

netstat 
-rn 
(Linux)
---
Kernel 
IP 
routing 
table
Destination  
  
 
Gateway  
  
  
  
 
Genmask  
  
  
  
 
Flags  
 
MSS 
Window  
irtt 
Iface
192.168.1.0  
  
 
0.0.0.0  
  
  
  
 
255.255.255.0  
 
U  
  
  
  
 
0 
0  
  
  
  
  
0 
eth0
127.0.0.0  
  
  
 
0.0.0.0  
  
  
  
 
255.0.0.0  
  
  
 
U  
  
  
  
 
0 
0  
  
  
  
  
0 
lo
0.0.0.0  
  
  
  
 
192.168.1.1  
  
 
0.0.0.0  
  
  
  
 
UG  
  
  
  
0 
0  
  
  
  
  
0 
eth0
---

The 
content 
of 
/var/db/dhclient.leases.dc0 
(BSD) 
is:
---
lease 
{
  
interface 
dc0;
  
fixed-address 
192.168.1.33;
  
server-name 
ZYXEL_P_335U;
  
option 
subnet-mask 
255.255.255.0;
  
option 
routers 
192.168.1.1;
  
option 
domain-name-servers 
64.59.176.13,64.59.176.15;
  
option 
domain-name 
wp.shawcable.net;
  
option 
dhcp-lease-time 
259200;
  
option 
dhcp-message-type 
5;
  
option 
dhcp-server-identifier 
192.168.1.1;
  
option 
dhcp-renewal-time 
129600;
  
option 
dhcp-rebinding-time 
226800;
  
renew 
1 
2008/2/4 
16:13:41;
  
rebind 
2 
2008/2/5 
19:13:41;
  
expire 
3 
2008/2/6 
04:13:41;
}
---

The 
content 
of 
/var/lib/dhcpcd/dhcpcd-eth0.info 
(Linux) 
is:

RE: Serial port question

2008-02-02 Thread Ted Mittelstaedt


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Mario Lobo
 Sent: Wednesday, January 30, 2008 5:22 PM
 To: Warren Block
 Cc: [EMAIL PROTECTED]
 Subject: Re: Serial port question


 On Wednesday 30 January 2008 21:42:28 you wrote:
  On Wed, 30 Jan 2008, Mario Lobo wrote:
   I am doing some experiments with the WL5460AP. I doesn't have a serial
   connector but the RTL8186 does have a UART and the circuit
 board has a 4
   pin connector (4-3.3V, 3-TXD, 2-RXD, 1-GND) to the UART.

When you plugged in to this port, did you insert 1488 and 1489
line driver/line receiver chips?  RS232 serial data is +12V ~ -12V
and that UART output is undoubtedly TTL 5v+ signal level.  Hopefully
you didn't fry the port.

Ted

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


Re: OT: Silly Bind question

2008-02-02 Thread Mark D. Foster
DAve wrote:
 Excuse the OT question but I need a well rounded experienced group for
 this question. I have begun a migration from Bind to TinyDNS. TinyDNS is
 working flawlessly, beyond expectations. However I need to drag the old
 Bind servers behind until I can get several hundred pieces of client
 equipment and devices switched over to the new DNS servers. This because
 we are also changing the domain name of our authoritative servers.

 The problem, I have a client requesting SPF records. The TinyDNS servers
 are responding correctly but for the life of me I cannot get Bind to
 return a TXT record. I am baffled as to what I've done wrong.

 An example domain, pixelhammer.com querying the new servers.
 bash-2.05b$ dig @ns1.tls.net pixelhammer.com txt

 ;  DiG 8.3  @ns1.tls.net pixelhammer.com txt
 ; (1 server found)
 ;; res options: init recurs defnam dnsrch
 ;; got answer:
 ;; -HEADER- opcode: QUERY, status: NOERROR, id: 4
 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
 ;; QUERY SECTION:
 ;;  pixelhammer.com, type = TXT, class = IN

 ;; ANSWER SECTION:
 pixelhammer.com.23h47m45s IN TXT  v=spf1 ip4:65.196.224.82
 ip4:65.196.224.83 ~all

 ;; Total query time: 4 msec
 ;; FROM: avhost1.tls.net to SERVER: ns1.tls.net  65.124.104.29
 ;; WHEN: Sun Feb  3 00:10:36 2008
 ;; MSG SIZE  sent: 33  rcvd: 93

 No problem there, but when I query the old bind servers, I get nuthin,
 nada, zip.

 bash-2.05b$ dig @ns1.totallogic.com pixelhammer.com txt

 ;  DiG 8.3  @ns1.totallogic.com pixelhammer.com txt
 ; (1 server found)
 ;; res options: init recurs defnam dnsrch
 ;; got answer:
 ;; -HEADER- opcode: QUERY, status: NOERROR, id: 4
 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
 ;; QUERY SECTION:
 ;;  pixelhammer.com, type = TXT, class = IN

 ;; AUTHORITY SECTION:
 pixelhammer.com.1D IN SOA   ns2.totallogic.com.
 hostmaster.tls.net. (
 2008020219  ; serial
 3H  ; refresh
 1H  ; retry
 1D  ; expiry
 1D ); minimum


 ;; Total query time: 3 msec
 ;; FROM: avhost1.tls.net to SERVER: ns1.totallogic.com  65.196.224.2
 ;; WHEN: Sun Feb  3 00:10:01 2008
 ;; MSG SIZE  sent: 33  rcvd: 102


 Here are the contents of the zone file.
 ;Creating pixelhammer.com zone file
 $TTL  1D
 @ IN  SOA ns2.totallogic.com. hostmaster.tls.net. (
   2008020219 3H   1H  1D  1D  )

 ; MX Recs
   IN  MX  10  avhost.tls.net.
   IN  MX  20  mailgate.tls.net.

 ; NS Recs
   IN  NS  ns1auth.tls.net.
   IN  NS  ns3auth.tls.net.
   IN  NS  ns2auth.tls.net.

 ; A Recs
   IN  A   65.196.224.25
 www   IN  A   65.196.224.25
 ftp   IN  A   65.196.224.25

 ; TEXT Recs
   IN  TXT v=spf1 ip4:65.196.224.82 ip4:65.196.224.83 ~all

 ; CNAME Recs
 mail  IN  CNAME   mail.tls.net.
 smtp  IN  CNAME   smtp.tls.net.

 ;END pixelhammer.com zone file

 I am stumped, what have I done wrong?

 Thanks,

 DAve


   
Looks to me like you need to remove the pixelhammer.com zone from your
old bind servers, as the delegation from the root points to
ns1auth.tls.net and ns2auth.tls.net both of which appear to have
authority for the zone AND the txt record you seek.

monk:~ dig +trace pixelhammer.com ns

;  DiG 9.4.1-P1  +trace pixelhammer.com ns
;; global options:  printcmd
.   65035   IN  NS  I.ROOT-SERVERS.NET.
.   65035   IN  NS  J.ROOT-SERVERS.NET.
.   65035   IN  NS  K.ROOT-SERVERS.NET.
.   65035   IN  NS  L.ROOT-SERVERS.NET.
.   65035   IN  NS  M.ROOT-SERVERS.NET.
.   65035   IN  NS  A.ROOT-SERVERS.NET.
.   65035   IN  NS  B.ROOT-SERVERS.NET.
.   65035   IN  NS  C.ROOT-SERVERS.NET.
.   65035   IN  NS  D.ROOT-SERVERS.NET.
.   65035   IN  NS  E.ROOT-SERVERS.NET.
.   65035   IN  NS  F.ROOT-SERVERS.NET.
.   65035   IN  NS  G.ROOT-SERVERS.NET.
.   65035   IN  NS  H.ROOT-SERVERS.NET.
;; Received 436 bytes from 192.168.1.11#53(192.168.1.11) in 3 ms

com.172800  IN  NS  a.gtld-servers.net.
com.172800  IN  NS  b.gtld-servers.net.
com.172800  IN  NS  c.gtld-servers.net.
com.172800  IN  NS  d.gtld-servers.net.
com.172800  IN  NS  e.gtld-servers.net.
com.172800  IN  NS  f.gtld-servers.net.
com.   

Re: Behind a router

2008-02-02 Thread Jeremy Gransden
On Feb 3, 2008 12:49 AM, Eugen Udma [EMAIL PROTECTED] wrote:
 I
 had
 a
 working
 minimal
 FreeBSD
 system
 until
 I
 put
 it
 behind
 a
 wireless
 router.
 Since
 then,
 my
 network
 is
 not
 accessible
 anymore
 when
 I
 boot
 BSD.
 On
 the
 same
 desktop
 I
 have
 a
 Gentoo
 Linux
 system
 which
 works
 just
 fine,
 even
 if
 I
 didn't
 touch
 any
 of
 it's
 configuration
 files
 after
 I
 installed
 the
 router.

 The
 router
 is
 a
 ZyXEL
 P-335U
 connected
 to
 a
 cable
 modem.
 The
 desktop
 is
 plugged
 into
 a
 LAN
 port.
 A
 laptop
 connected
 by
 wireless
 has
 no
 problems.
 The
 router
 gets
 it's
 IP
 from
 the
 ISP
 and
 acts
 as
 a
 firewall
 and
 a
 DHCP
 server
 to
 my
 network:
 it
 serves
 a
 pool
 of
 32
 addresses
 starting
 at
 192.168.1.33.
 Its
 own
 address
 is
 192.168.1.1.
 The
 IP
 Subnet
 Mask
 is
 255.255.255.0.

 The
 configuration
 files
 for
 FreeBSD
 are
 shown
 below.
 The
 output
 of
 ifconfig
 and
 netstat
 are
 also
 shown
 for
 BSD
 and
 Linux.

 What
 I
 don't
 understand
 is
 the
 fact
 that
 having
 the
 same
 router
 settings,
 Linux
 works
 while
 BSD
 doesn't:
 I
 can't
 even
 ping
 192.168.1.1,
 while
 the
 same
 ping
 in
 Linux
 works.

 I
 read
 the
 handbook
 and
 various
 other
 BSD
 information
 sources
 on
 the
 web
 and
 I
 could
 not
 solve
 this
 issue.

 My
 question
 is:
 which
 config
 files
 do
 I
 have
 to
 edit
 in
 FreeBSD
 and
 what
 settings
 should
 I
 use
 ?
 Can
 anybody
 help
 ?

 Thanks,
 eu

 /etc/rc.conf
 ---
 ifconfig_dc0=DHCP
 hostname=localhost
 ---

 /etc/dhclient.conf
 ---
 interface
 dc0
 {
 send
 host-name
 localhost;
 request
 subnet-mask,
 broadcast-address,
 routers,
 domain-name-servers,








 domain-name,
 time-servers;
 require
 domain-name-servers;
 }
 ---

 ifconfig
 dc0
 (BSD)
 ---
 dc0:
 flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST
 metric
 0
 mtu
 1500


 options=8VLAN_MTU


 ether
 00:14:cf:52:b4:17


 inet
 192.168.1.33
 netmask
 0xff00
 broadcast
 192.168.1.255


 media:
 Ethernet
 autoselect
 (100baseTX
 full-duplex)


 status:
 active
 ---

 ifconfig
 eth0
 (Linux)
 ---
 eth0


 Link
 encap:Ethernet
 HWaddr
 00:14:CF:52:B4:17





 inet
 addr:192.168.1.33
 Bcast:192.168.1.255
 Mask:255.255.255.0





 inet6
 addr:
 fe80::214:cfff:fe52:b417/64
 Scope:Link





 UP
 BROADCAST
 RUNNING
 MULTICAST
 MTU:1500
 Metric:1
 ---

 netstat
 -rn
 (BSD)
 ---
 Routing
 tables

 Internet:
 Destination



 Gateway





 Flags

 Refs


 Use
 Netif
 Expire
 default





 192.168.1.1



 UGS




 0



 4

 dc0
 127.0.0.1




 127.0.0.1




 UH




 0



 0

 lo0
 192.168.1.0/24


 link#1






 UC




 0



 0

 dc0
 192.168.1.1



 link#1






 UHLW



 2



 4

 dc0
 ---

 netstat
 -rn
 (Linux)
 ---
 Kernel
 IP
 routing
 table
 Destination


 Gateway




 Genmask




 Flags

 MSS
 Window
 irtt
 Iface
 192.168.1.0


 0.0.0.0




 255.255.255.0

 U




 0
 0




 0
 eth0
 127.0.0.0



 0.0.0.0




 255.0.0.0



 U




 0
 0




 0
 lo
 0.0.0.0




 192.168.1.1


 0.0.0.0




 UG



 0
 0




 0
 eth0
 ---

 The
 content
 of
 /var/db/dhclient.leases.dc0
 (BSD)
 is:
 ---
 lease
 {

 interface
 dc0;

 fixed-address
 192.168.1.33;

 server-name
 ZYXEL_P_335U;

 option
 subnet-mask
 255.255.255.0;

 option
 routers
 192.168.1.1;

 option
 domain-name-servers
 64.59.176.13,64.59.176.15;

 option
 domain-name
 wp.shawcable.net;

 option
 dhcp-lease-time
 259200;

 option
 dhcp-message-type
 5;

 option
 dhcp-server-identifier
 192.168.1.1;

 option
 dhcp-renewal-time
 129600;

 option
 dhcp-rebinding-time
 226800;

 renew
 1
 2008/2/4
 16:13:41;

 rebind
 2
 2008/2/5
 19:13:41;

 expire
 3
 2008/2/6
 04:13:41;
 }
 ---

 The
 content
 of
 /var/lib/dhcpcd/dhcpcd-eth0.info
 (Linux)
 is:
 ---
 IPADDR='192.168.1.33'
 NETMASK='255.255.255.0'
 BROADCAST='192.168.1.255'
 ROUTES=''
 GATEWAYS='192.168.1.1'
 HOSTNAME='dhcppc1'
 DNSDOMAIN='wp.shawcable.net'