Re: Alcatel Speedtouch PC ADSL Modem

2005-08-14 Thread Bsderss


--- Vladimir Botka [EMAIL PROTECTED] wrote:

 Hi,
 I am running Speedtouch 510i, which is defacto
 router with some small unix 
 system inside. You can login with telnet and
 configure it from command 
 line or use the web interface or load the
 configuration file. I dont 
 think that USB and pppoa is here the best choice.
 You just connect the 
 Speedtouch to the ADSL and use the Speedtouch
 ethernet to connect it to 
 your LAN. Cheers, Vladimir.
 
Hi, thanks for the suggestion. Is this a normal DSL
Modem with an ethernet at its back connect to your
desktop or an router? How much did you pay for it? If
it is cheap enuf, I think it is worth to get it as a
standalone DSL  modem. 

The reason I want to install freebsd in one of these
DSL modem is because here in Australia ISPs do not
lease out their DSL modem to end user. User will end
up purchase expensive crapy DSL Modem (eg. Netgear)
from computer shop. 

As I have a freebsd gateway used to dail-up pppoe thru
an external DSL modem when I was in another country, I
want to reconfigure this freebsd router to make it
able to handle DSL modem communication. But I need to
purchase a DSL modem card for it. If an external DSL
modem like Speedtouch is cheap enuf and provide stable
system enviornment in the DSL Bridge mode, I would
like to purchase one as an external DSL modem. 

On the other hand, if you know how to configure
freebsd with a DSL Modem card in freebsd, please let
me know how to do that. And if you also know where to
purchase a barebone DSL Modem (without a system) for
development  purpose (eg. Speedtouch), please also let
me know.

Thanks
Sam

 On Sat, 13 Aug 2005, Bsderss wrote:
 
  Hi,
 
  I want to purchase a USB Alcatel Speedtouch PC
 ADSL
  Modem and connection freebsd to it. There is a pkg
 in
  the Ports
  /usr/ports/net/pppoa written for the Alcatel
  Speedtouch. I wonder how to use this pkg with the
  Alcatel Speedtouch PC ADSL Modem. Correct me if I
 m
  wrong, this modem does not have a system running
  itside, it is just an external device have a USB
 port
  connect to the FreeBSD system. As I browsed thru
 the
  Speedtouch website, I don't know which modem does
 not
  have a system and allow me to do this setup.
 
  Can anyone please help?
 
  Thanks
  Sam
 
 
  __
  Do You Yahoo!?
  Tired of spam?  Yahoo! Mail has the best spam
 protection around
  http://mail.yahoo.com
  ___
  freebsd-current@freebsd.org mailing list
 

http://lists.freebsd.org/mailman/listinfo/freebsd-current
  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]
 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


disk fragmentation, 0%?

2005-08-14 Thread Lei Sun
Hi,

I know this question has been raised a lot of times, and most of
people don't think it is necessary to defragment ufs, and from the
previous posts, I got to know there are sometimes, disksize can be
more than 100%

But...

I got ...

/dev/ar0s1a: ... 0.5% fragmentation
/dev/ar0s1e: ... 0.0% fragmentation
/dev/ar0s1f: ... 0.0% fragmentation
/dev/ar0s1d: ... 0.1% fragmentation

Filesystem SizeUsed   Avail Capacity  Mounted on
/dev/ar0s1a248M 53M175M23%/
devfs  1.0K1.0K  0B   100%/dev
/dev/ar0s1e248M   -278K228M-0%/tmp
/dev/ar0s1f221G1.4G202G 1%/usr
/dev/ar0s1d248M 30M197M13%/var

My questions:
1. How do I make /dev/ar0s1a 0.0% fragmentation the clean way? If I
really wanted to?

2. How come /tmp is -0% in size? -278K? What had happened? as I have
never experienced this in the previous installs on the exact same
hardware.

Thanks 

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


Re: disk fragmentation, 0%?

2005-08-14 Thread Glenn Dawson

At 11:54 PM 8/13/2005, Lei Sun wrote:

Hi,

I know this question has been raised a lot of times, and most of
people don't think it is necessary to defragment ufs, and from the
previous posts, I got to know there are sometimes, disksize can be
more than 100%

But...

I got ...

/dev/ar0s1a: ... 0.5% fragmentation
/dev/ar0s1e: ... 0.0% fragmentation
/dev/ar0s1f: ... 0.0% fragmentation
/dev/ar0s1d: ... 0.1% fragmentation

Filesystem SizeUsed   Avail Capacity  Mounted on
/dev/ar0s1a248M 53M175M23%/
devfs  1.0K1.0K  0B   100%/dev
/dev/ar0s1e248M   -278K228M-0%/tmp
/dev/ar0s1f221G1.4G202G 1%/usr
/dev/ar0s1d248M 30M197M13%/var

My questions:
1. How do I make /dev/ar0s1a 0.0% fragmentation the clean way? If I
really wanted to?


You don't.  The term fragmentation does not mean the same thing in 
FreeBSD that it does in other OS's. (ie windows)


Fragmentation in FreeBSD refers to blocks that have not been fully 
allocated.  For example, if I have a file system that has 16K blocks, and 
2K fragments (think of fragments as sub-blocks if it helps), and I save an 
18K file, it will occupy 1 block and 1 fragment from the next block.  That 
second block then is said to be fragmented.


In the windows world, fragmentation refers to files which occupy 
non-contiguous groups of blocks.  For example, you might have 5 blocks in a 
row, and then have to move to another part of the disk to read the next 5 
blocks.




2. How come /tmp is -0% in size? -278K? What had happened? as I have
never experienced this in the previous installs on the exact same
hardware.


Not sure about that one.  Maybe someone else has an answer.

-Glenn



Thanks

Lei
___
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: 2005-07-24 - 2005-08-13

2005-08-14 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/. 

These are the articles posted during this period:

26-Jul : Bacula fund raising for encryption
 Bacula raises funds 
 http://freebsddiary.org/bacula-encryption-project.php?2


-- 
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]


Re: the Installation package Apache Web Server Failure

2005-08-14 Thread Nils Vogels
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
 
Mario Jose Canto Barea wrote:

i had installed FreeBSD 5.4
from CD's ( ISO i get with ftp from freebsd.org and
burned with nero 6 on windows)
but the Installation package Apache Web Server Failure

Install the ports tree collection from /stand/sysinstall and
afterwards type the following command:

cd /usr/ports/www/apache  make install clean

All done.

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (MingW32)
Comment: GnuPT 2.6.2.1 by EQUIPMENTE.DE
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
 
iD8DBQFC/vNnMzNX/a06Wq0RAihdAJ95zLgs5O4qpX/2GAGI5QHm9IGdEgCfXhdF
r+Re4efK/5sMWAQVXVvBsjI=
=8jr+
-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]


How much performance loss?

2005-08-14 Thread Nils Vogels
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
 
Hi there !

I am trying to get FreeBSD properly running on my Soekris net4801, and
for that reason I have compiled a custom kernel that doesnt have
support for the hardware that I do not have.

When booting, the kernel gives me the following complaint:

FreeBSD 5.4-RELEASE-p6 #2: Sat Aug  6 11:56:49 CEST 2005
[EMAIL PROTECTED]:/usr/src/sys/i386/compile/NET4801
WARNING: debug.mpsafenet forced to 0 as ipsec requires Giant
WARNING: MPSAFE network stack disabled, expect reduced performance.

So, I expect a little perfomance loss. When, however, I try to use the
device as an access-point (WLAN 802.11g/WEP-128 in bridging mode) I
cannot seem to get more than 10kbit/s performance over the bridged
wlan interface.

Is this the kind of performance-loss I am being warned about? I
seriously hope not :-)

If it is, how can I keep the full wireless speeds, while still using
IPsec?

Thanks a bunch,

Nils.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (MingW32)
Comment: GnuPT 2.6.2.1 by EQUIPMENTE.DE
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
 
iD8DBQFC/vawMzNX/a06Wq0RAnucAJ9hz+VEBzBb5hKUPu4TEdkmBIgRUQCfddMT
VbDz49NvFRwRHi+NWkkD00E=
=DETf
-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]


How to write Intel IXP23xxx driver for FreeBSD?

2005-08-14 Thread Bsderss
Hi,

I wonder whether there is driver for Intel IXP23xxx
being written in FreeBSD. If not, is there any
guideline to help me to write a driver for it?

Thanks
Sam

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: XTerm fvwm2 Xorg

2005-08-14 Thread Roland Smith
On Sun, Aug 14, 2005 at 01:54:05AM +0100, Charles Smyth wrote:

 I'm trying out fvwm2 on a FreeBSD 5.4 box with Xorg The XTerm uses a
 small font as default. How can the font be made larger, and how can
 the XTerm window be made larger by default.

You could use options on the command line to change these, but it's
probably more convenient to use put some resource lines in
/usr/X11R6/lib/X11/xdm/Xresources or ~/.Xresources.

For example, these are the resources for xterm that I use:

! for xterm
XTerm*foreground: white
XTerm*background: #010040
XTerm*font: -misc-fixed-medium-r-normal--14-130-75-75-c-70-iso8859-15
XTerm*title: Shell
XTerm*loginShell: True
XTerm*scrollBar: False
XTerm*saveLines: 0
XTerm*ttyModes: erase ^H
XTerm*translations: #override \
Home:  string(\033[1~) \n\
Delete:string(\033[3~) \n\
End:   string(\033[4~)

Lines starting with a ! are comments. 

You can set the size of an xterm with the geometry resource:
'XTerm*geometry: 80x40' where the size (width x height) is given in
characters. This resource belongs to a vt102 window inside the xterm
window. So do not use 'XTerm.geometry', because that belongs to the top
level xterm window, and takes sizes in pixels.

By running the program xlsfonts, you get a list of all the available
fonts on your system. With xfontsel you can interactively select a font.

Roland
-- 
R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text.
public key: http://www.xs4all.nl/~rsmith/pubkey.txt


pgpqZwaBwjXOv.pgp
Description: PGP signature


mplayer-plugin firefox

2005-08-14 Thread gb
Dear all,

I have tried to build mplayer-plugin from the ports/www. My browser is
firefox so I did a make WITH_MOZILLA=firefox. I get an error in the
configuration phase error: Unable to find gecko sdk.

I am running 5.3

this is probably something simple and to do with paths. Any help would
be much appreciated.

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


Files get broken

2005-08-14 Thread Sebastian Pahlke
Hello,

my FreeBSD 5.4 release system makes some annoying things which I don't
understand. I use gmirror to mirror two IDE discs which seems to work
without problems until now.
I also use gbde to encrypt one data partition, but this partition seems NOT 
to
be affected for now, so I guess it's not a gbde related problem.

Some day's ago I would modify /boot/loader.conf (on /dev/mirror/gm0s1a).
As I opened the file in vi I saw just a line full of garbage. I was
confused a little bit, then I decided to rewrite the file
from (my human) memory, fortunately there were just two lines.

Now, some days later, I found another file which was corrupted.
It was a copy of /etc/fstab named /etc/fstab.orig (on /dev/mirror/gm0s1a).
If I open the file I see, again, only garbage:

[EMAIL PROTECTED]@;\x86[EMAIL PROTECTED]@[EMAIL 
PROTECTED]@\x83\xc4^D\xebj\x89\xf6\x8b\x9e
[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]@^B [EMAIL 
PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]
[EMAIL PROTECTED]@[EMAIL PROTECTED]@^U^Uf\x89X^V
[EMAIL PROTECTED]@\x83\xc4^D\x85\xc0t^YSh^\xe3\x80\xc0\xff6\xe8\xdc,^M
[EMAIL PROTECTED]@[EMAIL PROTECTED]
x8b]^H\x8b{^H\x8bs([EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]
[EMAIL PROTECTED]@W\xe8|\xfe\xff\xff\x8de\xf4[^_\xc9\xc3U\x89\xe5W
VS\x83\xec^H\x8bu^L\x8d^^X\x83~^H^\u'^O\xb6C^B\x83\xe0^O\x83\xf8u^[
[EMAIL PROTECTED]@\x8bV^
[EMAIL PROTECTED]

Can anyone imagine whats going on? What does my system?
I'm scared because the FreeBSD box is my fileserver storing my whole
media library. Many thanks for help in advance!

greetings,

Sebastian Pahlke


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


What versions of PHP / mysql / apache for Mambo?

2005-08-14 Thread Chris Ryan
Hi All


What versions of mysql server , apache and php should be run to use the
mambo cms on freeBSD 5.4?

What advantages of apache2 over 1.3?

Php 5 - more secure than php4? Other reasons?

Mysql server 4.0 / 4.1 / 5 ?

Thanks in advance

Chris


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


Re: Mambo CMS on freeBSD5.4

2005-08-14 Thread Chris Ryan
Hi Jack

Mambo now running smooth as too :)

Knew there was something I forgot...

Thanks for your help

Cheers

Chris
 
 Ryan,
 
 Did you enable MySQL in /etc/rc.conf?
 At my server FreeBSD 5.4-STABLE Mambo is running smooth!
 
 Jack
 
 
 - Original Message -
 From: Chris Ryan [EMAIL PROTECTED]
 To: freebsd-questions@FreeBSD.ORG
 Sent: Friday, August 12, 2005 6:08 PM
 Subject: Mambo CMS on freeBSD5.4
 
 
 Hi All
 
 I have tried to find documentation on how to setup a freeBSD box as a
 webserver running PHP apach mySQL versions needed for the Mambo content
 Management System [ the one that has won lots of open sourse awards over
 the
 last few years] So I am sure there must be others wanting this resource -
 and I will be happy to help with documentation [ and anything else I can
 do]
 for others once my issues are resolved.
 
 
 I have searched the handbook, archives for questions etc etc
 
 Sorry for the long email - but thought I would give as much info as
 possible, thanks in Advance.
 
 
 
 
 I have an IBM p4 1.6 w 256mb RAM 40 gig.
 
 
 I have installed freeBSD 5.4.
 
 I cvsuped ports-all and src-all
 
 Then
 
 cd /usr/ports/www/apache13-modssl
 make install distclean
 
 echo 'apache_enable=YES'  /etc/rc.conf
 echo 'apache_flags=-DSSL'  /etc/rc.conf
 
  cd /usr/ports/databases/mysql40-server
 make install WITH_OPENSSL=yes distclean
 
 cd /usr/ports/www/mod_php4
 make install distclean
 cd /usr/ports/lang/php4-extensions
 make install distclean
 
 Checked the OpenSSL boxes when needed
 
 
 
 
 ee  /usr/local/etc/apache/httpd.conf
 
 AddType application/x-httpd-php .php
 AddType application/x-httpd-php-source .phps
 
 
 openssl genrsa -des3 -out server.key 1024
 
 openssl req -new -key server.key -out server.csr
 
  openssl x509 -req -days 365 -in /root/server.csr -signkey
 /root/server.key
 -out /root/server.crt
 
 cp ~/server.key /usr/local/etc/apache/ssl.key/
 cp ~/server.crt /usr/local/etc/apache/ssl.crt/
 
 /usr/local/etc/rc.d/mysql-server.sh start
 /usr/local/sbin/apachectl startssl
 
 
 
 ***next three lines to stop needing pwd for ssl on each system reboot
 ***cd /usr/local/etc/apache/ssl.key
 ***cp server.key server.key.orig
 ***openssl rsa -in server.key.orig -out server.key
 
 
 Then scp mambo files and extracted..to
 /usr/local/www
 
 
 
 At this stage I can point browser to ip address and the proper Mambo
 pre-installer page comes up - as it should.
 
 
 With PHP Zlib Mysql all coming up positive. [ as needed by Mambo ]
 
 
 Now I try to create a database in mysql called Mambo
 
 
 mysqladmin -u root -p create Mambo
 
 
 I enter my password then get this error message
 
 mysqladmin: connect to server at 'localhost' failed
 error: 'Can't connect to local MySQL server through socket
 '/tmp/mysql.sock'
 (2)'
 Check that mysqld is running and that the socket: '/tmp/mysql.sock'
 exists!
 
 
 
 
 
 I have tried to start mysql again with
 /usr/local/etc/rc.d/mysql-server.sh
 start
 
 I have restarted [ of course ]
 
 I have noticed that the file /tmp/mysql.sock does not exist. I have tried
 to
 get some info form mysql's site with no luck.
 
 I love and promote freeBSD whenever I can! Its such a great system!
 
 Thanks in Advance for help
 
 Cheers
 
 Chris
 
 
 
 
 
 
 ___
 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]


Can FreeBSD handle 300G SATA disk?

2005-08-14 Thread Bo Xiao


  Hi,

  Having trouble install a 300G SATA with 5.4 release. HW is Dell
  PowerEdge. First disk
  is a 80G SATA. All is good. When adding the 300G, sysinstall cant
  understand the
  geom, 581421/16/63. It thinks it is 36481/255/63. Cant write to the
  disk. Even if I
  use G to tell it, it still wont take it.

  Help please.

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


bug with amavis-stats

2005-08-14 Thread fire67
Hello , i'm on freebsd 5.4 and i tried to configure port amavis-stats-0.1.12  
but i have problem with it when i run it.I have that :

%/usr/local/sbin/amavis-stats /var/log/maillog
syntax error at /usr/local/sbin/amavis-stats line 215, near err
syntax error at /usr/local/sbin/amavis-stats line 223, near }
Execution of /usr/local/sbin/amavis-stats aborted due to compilation errors.


Anyone knows the problem and knows a solution ?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


How to develop Intel IXP device drivers for FreeBSD?

2005-08-14 Thread Bsderss
Hi,

I've been searched Google for few days but still can't
find any info about how to develop device drivers for
Intel IXP in FreeBSD.

Can anyone please tell me some guideline and reference
for it?

I will be very appreciate for any suggestion.
Thanks
Sam


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Dump on large file systems

2005-08-14 Thread John Pettitt
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160
 

I tried to dump a 600gb file system a few days ago and it didn't
work.  dump went compute bound during phase III and never wrote any
data to the dump device (this on an up to date  RELENG_5 box).  - is
this a known problem? Are there any work arounds?

John
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (MingW32)
 
iD8DBQFC/1VpaVyA7PElsKkRAwnlAKCiqEJ5BLoKpHIRCOLMbcSjrpNBjgCgyyZp
nM+KOXrDZs96+nk7QV6hOCc=
=7Kv9
-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: Failed installation of FreeBSD 5.4

2005-08-14 Thread Milscvaer



 Milscvaer wrote:
  I am attempting to install FreeBSD on a Pentium
 system
  (133 Mhz Intel). The system already had 4.6 on it
 so I
  wished to delete the 4.6 system from the
 filesystem
  and install 5.4 onto the same UFS filesystem,
 while
  keeping /usr/home in place. I deleted everything
  except /usr/home (which I want the installer to
 leave
  in place anything inside there) (and except for
 the
  kernel perhaps, but that will get overwritten
 anyway
  right by the new install?), and then booted from
 5.4
  boot disks to install FreeBSD. I figured that this
  should work ok since I have done it before when
  upgrading from 4.6 to 4.9 on another system and
  everything went fine.
 

  The install program seem to complete successfully,
 I
  then rebooted the system, but the boot process
 stopped
  at the boot prompt, making beeping sounds. I tried
 the
  installation process again but with same result.
 

I still cannot boot FreeBSD. 

After finding that the /kernel file from the old 4.6
installation still exists, I have finally figured out
how to delete it. I suspected that that the old
/kernel file from 4.6 might be the problem. I deleted
it, and then attempted to reinstall FreeBSD 5.4 agian.
However, the boot process still stops at the F1
FreeBSD prompt, and beeps whenever i press enter. So
the /kernel file seems to not be the problem,
especially since now the kernel is kept in
/boot/kernel/kernel. I also tried setting the freebsd
slice to active. No luck.

I would like to try to boot the system on the hard
driv e from a floppy. Maybe there is something wrong
with the boot record on the HD. Does anyone know if
this is possible and how I can do that?

FreeBSD 4.6 worked fine on this system. I do not know
why i cannot boot 5.4.



__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Alcatel Speedtouch PC ADSL Modem

2005-08-14 Thread Abu Khaled
On 8/14/05, Bsderss [EMAIL PROTECTED] wrote:
 
 
 --- Vladimir Botka [EMAIL PROTECTED] wrote:
 
  Hi,
  I am running Speedtouch 510i, which is defacto
  router with some small unix
  system inside. You can login with telnet and
  configure it from command
  line or use the web interface or load the
  configuration file. I dont
  think that USB and pppoa is here the best choice.
  You just connect the
  Speedtouch to the ADSL and use the Speedtouch
  ethernet to connect it to
  your LAN. Cheers, Vladimir.
 
 Hi, thanks for the suggestion. Is this a normal DSL
 Modem with an ethernet at its back connect to your
 desktop or an router? How much did you pay for it? If
 it is cheap enuf, I think it is worth to get it as a
 standalone DSL  modem.
 
 The reason I want to install freebsd in one of these
 DSL modem is because here in Australia ISPs do not
 lease out their DSL modem to end user. User will end
 up purchase expensive crapy DSL Modem (eg. Netgear)
 from computer shop.
 
 As I have a freebsd gateway used to dail-up pppoe thru
 an external DSL modem when I was in another country, I
 want to reconfigure this freebsd router to make it
 able to handle DSL modem communication. But I need to
 purchase a DSL modem card for it. If an external DSL
 modem like Speedtouch is cheap enuf and provide stable
 system enviornment in the DSL Bridge mode, I would
 like to purchase one as an external DSL modem.
 
 On the other hand, if you know how to configure
 freebsd with a DSL Modem card in freebsd, please let
 me know how to do that. And if you also know where to
 purchase a barebone DSL Modem (without a system) for
 development  purpose (eg. Speedtouch), please also let
 me know.
 
 Thanks
 Sam
 
  On Sat, 13 Aug 2005, Bsderss wrote:
 
   Hi,
  
   I want to purchase a USB Alcatel Speedtouch PC
  ADSL
   Modem and connection freebsd to it. There is a pkg
  in
   the Ports
   /usr/ports/net/pppoa written for the Alcatel
   Speedtouch. I wonder how to use this pkg with the
   Alcatel Speedtouch PC ADSL Modem. Correct me if I
  m
   wrong, this modem does not have a system running
   itside, it is just an external device have a USB
  port
   connect to the FreeBSD system. As I browsed thru
  the
   Speedtouch website, I don't know which modem does
  not
   have a system and allow me to do this setup.
  
   Can anyone please help?
  
   Thanks
   Sam
  
  
   

Did you try to check the FreeBSD handbook
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ppp-and-slip.html
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/pppoa.html

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


Re: mplayer-plugin firefox

2005-08-14 Thread Garrett Cooper

gb wrote:


Dear all,

I have tried to build mplayer-plugin from the ports/www. My browser is
firefox so I did a make WITH_MOZILLA=firefox. I get an error in the
configuration phase error: Unable to find gecko sdk.

I am running 5.3

this is probably something simple and to do with paths. Any help would
be much appreciated.

gb
 

   Mplayer-plugin needs the gecko-sdk or mozilla libs to compile 
against as it uses them to create an interface between Mplayer and a 
mozilla browser. It shouldn't have complained though about not having 
the gecko-sdk libs if you referenced firefox I think because that is 
just as good. Might want to contact the port maintainer.

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


Re: scanner for fbsd $50-$200

2005-08-14 Thread Dmitry Mityugov
On 8/13/05, dick hoogendijk [EMAIL PROTECTED] wrote:
 I looked in the hypertext man pages, but the supported scanners
 (uscanner driver) all seem a bit old.
 
 Than I looked at SANE-cvs (the latest). There also most modern cheap
 scanners you see in store today don't seem to be supported.
 EpsonPerfection 2480/2580/3170 or CanoScan4200F or the cheaper
 HPScanJets.
 
 I want a cheap scanner. I don't want to scan in negatives, just some
 10x15 photo's and magazines materials.
 
 Are there still some cheaper models available for FreeBSD that are also
 fully supported with something like SANE? Or do I need to use Windows
 for this task? (Hope not).
 
 Hope to get some info from you.

I have an old HP photo scanner 1000, and I can't use it with FreebSD -
when I scan a picture, the snapshot file is detected, but cannot be
copied from the scanner.

-- 
Dmitry Mityugov, St. Petersburg, Russia
I ignore all messages with confidentiality statements

We live less by imagination than despite it - Rockwell Kent, N by E
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Failed installation of FreeBSD 5.4

2005-08-14 Thread Gary W. Swearingen
Milscvaer [EMAIL PROTECTED] writes:

 I would like to try to boot the system on the hard
 driv e from a floppy. Maybe there is something wrong
 with the boot record on the HD. Does anyone know if
 this is possible and how I can do that?

Sure, but you've left us in the dark as to what you have to work with
there.  Do you have FreeBSD or some unixy OS on another system or on a
live CD?  Or just a floppy fixit? Or what?  Do you have enough
hard disk space to leave your /usr/home out of the picture until you
get FreeBSD going on another part of the disk? (Maybe after deleting
unneeded parts of /usr/home's filesystem.)

Anyway, if you can run a FreeBSD off a fixit or live CD somehow, you
can bsdlabel to put /boot/boot = boot+boot2 on a floppy so you
should be able to get a boot2 prompt (the one before the loader
prompt) and try to boot your 5.4 from there.  Or you could try using
fdisk and boot0cfg and bsdlabel to put new boot records (MBR,
boot1, and boot2) on a floppy or on your hard disk, too.

If you can DL and burn a CD, get yourself a live CD or CD-based
fixit, else try to find room on your HD for a fresh minimal FreeBSD
install, else get an old HD and install fresh to that.  Another thing
you could try is getting a Grub floppy off the Internet and try
booting from the Grub command line.

I suppose that your problem is related to the fact that your upgrade
is reusing your old partition(s) and maybe old boot records.

BTW, if you can keep your /usr/home out of the picture and then copy
it to your new system, you can end up with nice new UFS2 filesystems.

BTW, if that's your only copy of /usr/home, you probably shouldn't be
trying to install a new OS on the disk anyway.  You should be able to
find another HD for a small FreeBSD (or a copy of /usr/home) for VERY
little money these days.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


[Fwd: ipf sample rule file]

2005-08-14 Thread Dave Webster

---BeginMessage---
Thank you for your tremendous guide for FreeBSD newbies.  I am confused
by:
# Allow out access to my ISP's DHCP server for cable or DSL networks.
# This rule is not needed for ‘user ppp’ type connection to the 
# public Internet, so you can delete this whole group.
# Use the following rule and check log for IP address. 
# Then put IP address in commented out rule  delete first rule 
pass out log quick on dc0 proto udp from any to any port = 67 keep state
#pass out quick on dc0 proto udp from any to z.z.z.z port = 67 keep
state

my /etc/resolv.conf file is:
search bc.hsia.telus.net
nameserver 154.11.128.187
nameserver 154.11.128.59
nameserver 64.114.195.135
nameserver 64.114.195.136

What should this section look like when I'm finished?

Any help would be greatly appreciated.
regards,
Dave Webster
---End Message---
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: need I install synaptics Touchpad driver for FreeBSD

2005-08-14 Thread nawcom
This is a common issue with laptops. Here's my little fix - its been a 
solution I've been giving out that works:


in /boot/device.hints:

add this line:

hint.psm.0.flags=0x1000

lemme know if it doesn't do the trick.
-Ben

Fabian Keil wrote:


Huajian Luo [EMAIL PROTECTED] wrote:

 


I've just buildkernel and xorg and foud that my compaq  ynaptics
Touchpad driver
can't work and I congfigure psm as the man page told me with no luck. and I hate
to use mouse while put the laptop on lap. and I just install xorg from
5.4 stable tree
and ion2 , so need I add sth in the xorg.conf in addtion to my
previous 5.3 configure?
   



Try putting hw.psm.synaptics_support=1 in /boot/loader.conf.

Fabian
 



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


Re: Connect to Cisco VPN server from FreeBSD?

2005-08-14 Thread Scott Mitchell
On Sun, Apr 10, 2005 at 04:38:34PM +0100, Scott Mitchell wrote:
 Hi all,
 
 As in the subject - has anyone managed to get a FreeBSD machine to connect
 to a Cisco VPN server, using IPSec and 2-factor authentication (password +
 SecurID card)?  My employer has been acquired by another company, and this
 will soon be the only remote-access method available.  Linux client
 software exists, but given that it relies on a kernel module I'm not
 holding out much hope of it working.  The security/vpnc port looks like it
 might be useful.  No idea if racoon + FreeBSD native IPSec can be persuaded
 to do the SecurID authentication.

In case this is useful to anybody else - 

Finally got my SecurID card and can report that it works very well with the
latest security/vpnc port.  I had to decode the group password in the
config file for the Cisco client I was given, but the vpnc web page has a
handy service for doing just that.  Apart from that, it just worked.

The vpnc client doesn't support re-keying, so the connection hangs when the
other side decides to do this.  I'm mostly just connecting to machines at
work over VNC or rdesktop, so this is no big deal for me - just re-connect.
It also doesn't deal well with requests to re-authenticate after the
SecurID token changes, which I think only happen if you get your password
wrong.  It does seem to correctly handle any DNS and split-tunnelling setup
requested by the server, although you can tweak the connect script to
ignore all that stuff if it annoys you :-)

I'm connecting to a Cisco 2600 series router, with SecurID authentication
done by some RADIUS server at another site.  Haven't tried, but I expect I
would have no trouble connecting to our central Cisco 3000 VPN concentrator
box.


Scott

-- 
===
Scott Mitchell   | PGP Key ID | Eagles may soar, but weasels
Cambridge, England   | 0x54B171B9 |  don't get sucked into jet engines
scott at fishballoon.org | 0xAA775B8B |  -- Anon
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Failed installation of FreeBSD 5.4

2005-08-14 Thread Milscvaer


--- Gary W. Swearingen [EMAIL PROTECTED] wrote:

 Milscvaer [EMAIL PROTECTED] writes:
 
  I would like to try to boot the system on the hard
  driv e from a floppy. Maybe there is something
 wrong
  with the boot record on the HD. Does anyone know
 if
  this is possible and how I can do that?
 
 Sure, but you've left us in the dark as to what you
 have to work with
 there.  Do you have FreeBSD or some unixy OS on
 another system or on a
 live CD?  Or just a floppy fixit? Or what?  Do
 you have enough
 hard disk space to leave your /usr/home out of the
 picture until you
 get FreeBSD going on another part of the disk?
 (Maybe after deleting
 unneeded parts of /usr/home's filesystem.)
 
 Anyway, if you can run a FreeBSD off a fixit or live
 CD somehow, you
 can bsdlabel to put /boot/boot = boot+boot2 on a
 floppy so you
 should be able to get a boot2 prompt (the one
 before the loader
 prompt) and try to boot your 5.4 from there.  Or you
 could try using
 fdisk and boot0cfg and bsdlabel to put new
 boot records (MBR,
 boot1, and boot2) on a floppy or on your hard disk,
 too.
 
 If you can DL and burn a CD, get yourself a live
 CD or CD-based
 fixit, else try to find room on your HD for a
 fresh minimal FreeBSD
 install, else get an old HD and install fresh to
 that.  Another thing
 you could try is getting a Grub floppy off the
 Internet and try
 booting from the Grub command line.
 
 I suppose that your problem is related to the fact
 that your upgrade
 is reusing your old partition(s) and maybe old boot
 records.
 
 BTW, if you can keep your /usr/home out of the
 picture and then copy
 it to your new system, you can end up with nice new
 UFS2 filesystems.
 
 BTW, if that's your only copy of /usr/home, you
 probably shouldn't be
 trying to install a new OS on the disk anyway.  You
 should be able to
 find another HD for a small FreeBSD (or a copy of
 /usr/home) for VERY
 little money these days.
 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Failed installation of FreeBSD 5.4

2005-08-14 Thread Milscvaer


--- Gary W. Swearingen [EMAIL PROTECTED] wrote:

 Milscvaer [EMAIL PROTECTED] writes:
 
  I would like to try to boot the system on the hard
  driv e from a floppy. Maybe there is something
 wrong
  with the boot record on the HD. Does anyone know
 if
  this is possible and how I can do that?
 
 Sure, but you've left us in the dark as to what you
 have to work with
 there.  Do you have FreeBSD or some unixy OS on
 another system or on a
 live CD?  Or just a floppy fixit? Or what?  Do
 you have enough
 hard disk space to leave your /usr/home out of the
 picture until you
 get FreeBSD going on another part of the disk?
 (Maybe after deleting
 unneeded parts of /usr/home's filesystem.)
 

I am sorry, I should explain the situation a more
clearly. I have already run the FreeBSD 5.4
installation program, which seems to have completed
successfully, to install FreeBSD on the hard drive.
However, after I reboot the system after the
installation program completes, I cannot boot FreeBSD
from the F1 FreeBSD prompt. It just beeps when i press
F1. I then booted into the fixit floppy, and it does
appear that the FreeBSD system is there on the hard
drive. Why I cannot boot the system I dont know. I
thought it might be a boot record problem, so I
wondered if I could use a floppy disk with a boot
loader on it, which could then be used to start the
system on the hard disk.

I thought the install program would replace the boot
records, in fdisk  I have marked the partition active,
and it prompted me to install the boot loader. I have
several times gone into fdisk to try to get the boot
records replaced.

I tried using one of the boot floppies used to start
the freebsd install, (kern1.flp), which if I boot off
of that I get what appears to be a boot2 (boot:)
prompt where I can type ad(0,a)/boot/kernel/kernel, to
boot the FreeBSD system i have on the hard disk,
however after doing so a lot of numbers and gibberish
appear on the screen with the message BTX Halted. 

I do have a fixit floppy so I can try to get in there
and do some more things to fix this.

 Anyway, if you can run a FreeBSD off a fixit or live
 CD somehow, you
 can bsdlabel to put /boot/boot = boot+boot2 on a
 floppy so you
 should be able to get a boot2 prompt (the one
 before the loader
 prompt) and try to boot your 5.4 from there.  Or you
 could try using
 fdisk and boot0cfg and bsdlabel to put new
 boot records (MBR,
 boot1, and boot2) on a floppy or on your hard disk,
 too.
 
 If you can DL and burn a CD, get yourself a live
 CD or CD-based
 fixit, else try to find room on your HD for a
 fresh minimal FreeBSD
 install, else get an old HD and install fresh to
 that.  Another thing
 you could try is getting a Grub floppy off the
 Internet and try
 booting from the Grub command line.
 
 I suppose that your problem is related to the fact
 that your upgrade
 is reusing your old partition(s) and maybe old boot
 records.
 
 BTW, if you can keep your /usr/home out of the
 picture and then copy
 it to your new system, you can end up with nice new
 UFS2 filesystems.
 
 BTW, if that's your only copy of /usr/home, you
 probably shouldn't be
 trying to install a new OS on the disk anyway.  You
 should be able to
 find another HD for a small FreeBSD (or a copy of
 /usr/home) for VERY
 little money these days.
 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Question

2005-08-14 Thread John C. Bogard
Root PW lost, need to access FBSD and am unable to now Is there a work-around 
or way to boot to an install disk and reset root password.

Regards,

John

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


Re: disk fragmentation, 0%?

2005-08-14 Thread cpghost
On Sun, Aug 14, 2005 at 12:09:19AM -0700, Glenn Dawson wrote:
 2. How come /tmp is -0% in size? -278K? What had happened? as I have
 never experienced this in the previous installs on the exact same
 hardware.
 
 Not sure about that one.  Maybe someone else has an answer.

This is a FAQ.

The available space is always computed after subtracting some space
that would be only available to root (typically around 5% or 10%
of the partition size). This free space is necessary to avoid internal
fragmentation and to keep the file system going. Root may be able
to borrow some space from this (in which case the capacity goes
below 0%), but it is not advisable to keep the file system so full,
so it should be only for a limited period of time.

In your example, you're 278K over the limit; and should delete some
files to make space ASAP. Should /tmp fill up more, it will soon become
inoperable.

 -Glenn

-cpghost.

-- 
Cordula's Web. http://www.cordula.ws/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Question

2005-08-14 Thread Beecher Rintoul
On Sunday 14 August 2005 11:11 am, John C. Bogard wrote:
 Root PW lost, need to access FBSD and am unable to now Is there a
 work-around or way to boot to an install disk and reset root password.

 Regards,

 John

 John C. Bogard
 863-255-6100
 ___

Reboot into single user mode and mount your drive (mount -a).
Use passwd to reset the root password.

Beech


-- 
---
Beech Rintoul - System Administrator - [EMAIL PROTECTED]
/\   ASCII Ribbon Campaign  | NorthWind Communications
\ / - NO HTML/RTF in e-mail  | 201 East 9th Avenue Ste.310
 X  - NO Word docs in e-mail | Anchorage, AK 99501
/ \ 
---











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


madman compilation

2005-08-14 Thread [EMAIL PROTECTED]

just started to try to compile madman, a music manager,
( http://madman.sourceforge.net ) on FreeBSD 6.0 BETA-2

after creating the dir /usr/share/qt and some symlinks in there
include - /usr/X11R6/include/
lib - /usr/X11R6/lib/

to satisfy the configure-script, it bails out with this (amongst
others) in the config.log :

-o .sconf_temp/conftest_1 .sconf_temp/conftest_1.o -L/usr/share/qt/lib
-lqt-mt /usr/share/qt/lib/libqt-mt.so: undefined reference to
`pthread_cleanup_pop' /usr/share/qt/lib/libqt-mt.so: undefined
reference to `pthread_attr_destroy' /usr/share/qt/lib/libqt-mt.so:
undefined reference to
`pthread_attr_init' /usr/share/qt/lib/libqt-mt.so: undefined reference
to `pthread_exit' /usr/share/qt/lib/libqt-mt.so: undefined reference to
`pthread_cancel' /usr/share/qt/lib/libqt-mt.so: undefined reference to
`pthread_testcancel'

which port [/usr/ports/devel/linuxthreads or /usr/ports/devel/ngpt] is
recommended to install to overcome this problem ?
or is there some kernel-level threading to be compiled ?

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


increasing size of a partition

2005-08-14 Thread dave
Hello,
I've got a 5.4-release box that is in need of some partition maintence.
It's using raid1 procedure1 from Mr. Ralf S. Engelschall's site:
http://people.freebsd.org/~rse/mirror/
I haven't been able to get procedure2 to boot, i keep getting an error on
boot that the kernel is not found. This is worrysome because the two drives
are not identical in size, they're close, and usually unless the partitions
are filling up i don't worry about it. Lately /var has been filling up, when
this box was installed space requirements were not estimated to be like they
are now. I've got a single slice covering the entire drive and four
partitions, /, /usr, /var, and /home which is last on the drive because it
takes up the most space. Now i need to increase the size of /var probably
taking space away from /home, does anyone have a procedure for doing this
keeping in mind that geom mirror raid1 is going on?
Thanks.
Dave.

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


Re: disk fragmentation, 0%?

2005-08-14 Thread Glenn Dawson

At 12:18 PM 8/14/2005, cpghost wrote:

On Sun, Aug 14, 2005 at 12:09:19AM -0700, Glenn Dawson wrote:
 2. How come /tmp is -0% in size? -278K? What had happened? as I have
 never experienced this in the previous installs on the exact same
 hardware.

 Not sure about that one.  Maybe someone else has an answer.

This is a FAQ.

The available space is always computed after subtracting some space
that would be only available to root (typically around 5% or 10%
of the partition size).


The default is 8%.


 This free space is necessary to avoid internal
fragmentation and to keep the file system going. Root may be able
to borrow some space from this (in which case the capacity goes
below 0%), but it is not advisable to keep the file system so full,
so it should be only for a limited period of time.


The reason for having the reserved space is to allow the functions that 
allocate space to be able to find contiguous free space.  When the disk is 
nearly full it takes longer and longer to locate contiguous space, which 
can lead to performance problems.




In your example, you're 278K over the limit; and should delete some
files to make space ASAP. Should /tmp fill up more, it will soon become
inoperable.


From the original message:

Filesystem SizeUsed   Avail Capacity  Mounted on
/dev/ar0s1e248M   -278K228M-0%/tmp

This shows that /tmp is empty.  If the reserved space was being encroached 
upon, it would show  100% capacity, and available bytes would go negative, 
not bytes used.


It would look something like this:

Filesystem SizeUsed   Avail Capacity  Mounted on
/dev/ad0s1a248M238M-10M   105%/

I've never seen the capacity go negative before, which is why I suggested 
someone else might know the answer.


-Glenn

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


Re: Can FreeBSD handle 300G SATA disk?

2005-08-14 Thread Glenn Dawson

At 10:11 PM 8/13/2005, Bo Xiao wrote:


  Hi,

  Having trouble install a 300G SATA with 5.4 release. HW is Dell
  PowerEdge. First disk
  is a 80G SATA. All is good. When adding the 300G, sysinstall cant
  understand the
  geom, 581421/16/63. It thinks it is 36481/255/63. Cant write to the
  disk. Even if I
  use G to tell it, it still wont take it.


Both of those geometries specify about the same amount of space, although 
the second one will be a tiny bit smaller, but when you have 300G acouple 
of missing kbytes is no big deal.


Your problem is likely something else.  Can you give more details about 
exactly what you're doing to set up the new disk?  What version of FreeBSD 
are you using?  etc...


-Glenn



  Help please.

  Bo Xiao.
___
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]


Mounting on da0s1c or da0s1d?

2005-08-14 Thread Joachim Dagerot

From my Vinum period I recall that mounting should be done on d, not c or 
whatever it was. Today I'm running a hardware IDE RAID and though I read the 
handbook I can't find any recommendation on where to mount.

Any help is appreciated.


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


Re: Can FreeBSD handle 300G SATA disk?

2005-08-14 Thread Paul Schmehl
--On August 14, 2005 1:36:42 PM -0700 Glenn Dawson [EMAIL PROTECTED] 
wrote:



At 10:11 PM 8/13/2005, Bo Xiao wrote:


  Hi,

  Having trouble install a 300G SATA with 5.4 release. HW is Dell
  PowerEdge. First disk
  is a 80G SATA. All is good. When adding the 300G, sysinstall cant
  understand the
  geom, 581421/16/63. It thinks it is 36481/255/63. Cant write to the
  disk. Even if I
  use G to tell it, it still wont take it.


Both of those geometries specify about the same amount of space, although
the second one will be a tiny bit smaller, but when you have 300G acouple
of missing kbytes is no big deal.

I missed the original post, but I'm running a Dell box with 2 300GB SATA 
drives on it, and I had no problems during the install.


Paul Schmehl ([EMAIL PROTECTED])
Adjunct Information Security Officer
University of Texas at Dallas
AVIEN Founding Member
http://www.utdallas.edu/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Mounting on da0s1c or da0s1d?

2005-08-14 Thread Ruben Bloemgarten
Hi Joachim, 

From the bsdlabel man page :

#  size   offsetfstype   [fsize bsize bps/cpg]
a:8192004.2BSD 1024  819216
b:   1681920  swap
c:  11739300unused0 0 # rawpart,don't edit


as you can see c is the raw part, leave it alone.


Check out 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-steps.html

and 

http://www.freebsd.org/cgi/man.cgi?query=bsdlabelapropos=0sektion=0manpat
h=FreeBSD+5.4-RELEASE+and+Portsformat=html


for more information


Bye now,

Ruben

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Joachim Dagerot
Sent: August 14, 2005 11:16 PM
To: [EMAIL PROTECTED]
Subject: Mounting on da0s1c or da0s1d?


From my Vinum period I recall that mounting should be done on d, not c or
whatever it was. Today I'm running a hardware IDE RAID and though I read the
handbook I can't find any recommendation on where to mount.

Any help is appreciated.


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


-- 
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.338 / Virus Database: 267.10.8/71 - Release Date: 08/12/2005


-- 
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.338 / Virus Database: 267.10.8/71 - Release Date: 08/12/2005
 

-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.338 / Virus Database: 267.10.8/71 - Release Date: 08/12/2005
 

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


Re: Mounting on da0s1c or da0s1d?

2005-08-14 Thread Glenn Dawson

At 02:16 PM 8/14/2005, Joachim Dagerot wrote:

From my Vinum period I recall that mounting should be done on d, not c 
or whatever it was. Today I'm running a hardware IDE RAID and though I 
read the handbook I can't find any recommendation on where to mount.


Any help is appreciated.


The 'c' partition represents the entire disk (or slice), if you're creating 
a partition to cover the entire disk/slice you can use 'c' but certain 
utilities will complain.


If you label the disk, and then examine the resulting label, you'll 
typically have an 'a' partition and a 'c' partition.  The 'a' partition 
will default to the whole disk.  Something like this:


test54# bsdlabel /dev/ad6
# /dev/ad6:
8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
  a: 156301472   164.2BSD 2048 16384 28552
  c: 1563014880unused0 0 # raw part, 
don't edit


You can newfs the 'a' partition and you're all set.  If you want to have 
more than one partition on that disk/slice, then you'll have to create the 
others yourself.


-Glenn




___
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]


presario amd64 boot fails

2005-08-14 Thread Damon Blom
Hi
5_3_30Dec2004 Freebsd
   hp Presario r3000
   cannot update. ran cvsup current for current source. 
  build world, build kernel, installkernel
  device.hints:
 hint.acpi.o.disabled=1
 hint.apic.0.disabled=1
 hw.acpi.skip_timer_override=1
 hint.atkbd.0.flags=0x9
 boot kernel   loader prompt
 freezes after writing loading ich.ko
 loading sound.ko
 Thank's so much for any help
  Damon.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Can FreeBSD handle 300G SATA disk?

2005-08-14 Thread Bo Xiao


  Installation on another box, also with 5.4R, went well. So it must be
  this particular Dell PowerEdge 750. After moving the disk back,

  % sudo newfs /dev/ad3s1d
  newfs: /dev/ad3s1d: failed to open disk for writing
  % sudo mount /dev/ad3s1d /mnt/a
  mount: /dev/ad3s1d: Operation not permitted
  %

  But dmesg gives right info so not likely the bios.
  Timecounters tick every 10.000 msec
  ad2: 76293MB Maxtor 6Y080M0/YAR51HW0 [155009/16/63] at ata1-master
  SATA150
  ad3: 286168MB ST3300831AS/3.02 [581421/16/63] at ata1-slave SATA150
  Mounting root from ufs:/dev/ad2s1a
  em0: Link is up 100 Mbps Full Duplex

  Bo Xiao

  From: Paul Schmehl [EMAIL PROTECTED]
  Reply-To: Paul Schmehl [EMAIL PROTECTED]
  To: Glenn Dawson [EMAIL PROTECTED], Bo Xiao
  [EMAIL PROTECTED], freebsd-questions@freebsd.org
  Subject: Re: Can FreeBSD handle 300G SATA disk?
  Date: Sun, 14 Aug 2005 16:35:35 -0500
  
  --On August 14, 2005 1:36:42 PM -0700 Glenn Dawson
  [EMAIL PROTECTED] wrote:
  
  At 10:11 PM 8/13/2005, Bo Xiao wrote:
  
 Hi,
  
 Having trouble install a 300G SATA with 5.4 release. HW is Dell
 PowerEdge. First disk
 is a 80G SATA. All is good. When adding the 300G, sysinstall
  cant
 understand the
 geom, 581421/16/63. It thinks it is 36481/255/63. Cant write to
  the
 disk. Even if I
 use G to tell it, it still wont take it.
  
  Both of those geometries specify about the same amount of space,
  although
  the second one will be a tiny bit smaller, but when you have 300G
  acouple
  of missing kbytes is no big deal.
  
  I missed the original post, but I'm running a Dell box with 2 300GB
  SATA drives on it, and I had no problems during the install.
  
  Paul Schmehl ([EMAIL PROTECTED])
  Adjunct Information Security Officer
  University of Texas at Dallas
  AVIEN Founding Member
  http://www.utdallas.edu/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How much performance loss?

2005-08-14 Thread Kris Kennaway
On Sun, Aug 14, 2005 at 09:45:55AM +0200, Nils Vogels wrote:
 I am trying to get FreeBSD properly running on my Soekris net4801, and
 for that reason I have compiled a custom kernel that doesnt have
 support for the hardware that I do not have.
 
 When booting, the kernel gives me the following complaint:
 
 FreeBSD 5.4-RELEASE-p6 #2: Sat Aug  6 11:56:49 CEST 2005
 [EMAIL PROTECTED]:/usr/src/sys/i386/compile/NET4801
 WARNING: debug.mpsafenet forced to 0 as ipsec requires Giant
 WARNING: MPSAFE network stack disabled, expect reduced performance.
 
 So, I expect a little perfomance loss. When, however, I try to use the
 device as an access-point (WLAN 802.11g/WEP-128 in bridging mode) I
 cannot seem to get more than 10kbit/s performance over the bridged
 wlan interface.
 
 Is this the kind of performance-loss I am being warned about? I
 seriously hope not :-)

No, it means comparable performance to previous versions of FreeBSD.
Something else must be wrong on your system.

Kris


pgpwVyMc5ZAOg.pgp
Description: PGP signature


Re: Can FreeBSD handle 300G SATA disk?

2005-08-14 Thread Chad Leigh -- Shire.Net LLC


On Aug 14, 2005, at 4:30 PM, Bo Xiao wrote:



  Installation on another box, also with 5.4R, went well. So it  
must be

  this particular Dell PowerEdge 750. After moving the disk back,

  % sudo newfs /dev/ad3s1d
  newfs: /dev/ad3s1d: failed to open disk for writing
  % sudo mount /dev/ad3s1d /mnt/a
  mount: /dev/ad3s1d: Operation not permitted
  %


Does the box you are trying this on have a SECURELEVEL set?

kern_securelevel_enable=YES
kern_securelevel=3  (or 2 or other number)

After one of the secure levels, you cannot open disks for writing.   
You will have to reset it to NO and reboot and do what you need.   
Read in the handbook for exact details, which I cannot remember now  
(like at which secure level this takes effect)


Chad

---
Chad Leigh -- Shire.Net LLC
Your Web App and Email hosting provider
[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: Can FreeBSD handle 300G SATA disk?

2005-08-14 Thread Bo Xiao


  Right on, Chad!

  Some other folks set it on. I know where to check next time. Thank you
  for the help!

  Bo Xiao

  From: Chad Leigh -- Shire.Net LLC [EMAIL PROTECTED]
  To: Bo Xiao [EMAIL PROTECTED]
  CC: freeBSD Questions freebsd-questions@freebsd.org
  Subject: Re: Can FreeBSD handle 300G SATA disk?
  Date: Sun, 14 Aug 2005 17:20:33 -0600
  
  
  On Aug 14, 2005, at 4:30 PM, Bo Xiao wrote:
  
  
 Installation on another box, also with 5.4R, went well. So it
  must be
 this particular Dell PowerEdge 750. After moving the disk back,
  
 % sudo newfs /dev/ad3s1d
 newfs: /dev/ad3s1d: failed to open disk for writing
 % sudo mount /dev/ad3s1d /mnt/a
 mount: /dev/ad3s1d: Operation not permitted
 %
  
  Does the box you are trying this on have a SECURELEVEL set?
  
  kern_securelevel_enable=YES
  kern_securelevel=3  (or 2 or other number)
  
  After one of the secure levels, you cannot open disks for writing.
  You will have to reset it to NO and reboot and do what you need.
  Read in the handbook for exact details, which I cannot remember now
  (like at which secure level this takes effect)
  
  Chad
  
  ---
  Chad Leigh -- Shire.Net LLC
  Your Web App and Email hosting provider
  [EMAIL PROTECTED]
  
  
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


cache-only named won't resolve localhost

2005-08-14 Thread Gary W. Swearingen
I think I followed the bind manual and poked around /var/named and it
has been working OK for a few weeks until I pointed my browser to
localhost and then I tried host localhost. It can resolve
127.0.0.1 back to localhost.localhost. fine, but if I try
my name localhost or localhost.localhost, I get this:
   ;; connection timed out; no servers could be reached
(at least until I tried it just now while on-line, when it
works OK, resolving my modem/router's localhost, I suppose).

/etc/hosts:
::1 localhost.localhost localhost
127.0.0.1   localhost.localhost localhost
10.0.0.4localhost.localhost localhost

/etc/hosts.conf:
# Auto-generated from nsswitch.conf, do not edit
hosts
bind

/etc/resolv.conf (same with this file missing):
nameserver 127.0.0.1

I can ping localhost OK.

I thought that host should use the same stub resolver as ping
before trying bind.

Can I not use /etc/hosts with a cache-only named?

Must I have an authoritive zone for localhost?

Or what?

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


Re: Can FreeBSD handle 300G SATA disk?

2005-08-14 Thread Chad Leigh -- Shire.Net LLC


On Aug 14, 2005, at 6:07 PM, Bo Xiao wrote:


Right on, Chad!

Some other folks set it on. I know where to check next time. Thank  
you for the help!


You're welcome.  It comes from experience :-)

Chad


Bo Xiao


From: Chad Leigh -- Shire.Net LLC [EMAIL PROTECTED]
To: Bo Xiao [EMAIL PROTECTED]
CC: freeBSD Questions freebsd-questions@freebsd.org
Subject: Re: Can FreeBSD handle 300G SATA disk?
Date: Sun, 14 Aug 2005 17:20:33 -0600


On Aug 14, 2005, at 4:30 PM, Bo Xiao wrote:


   Installation on another box, also with 5.4R, went well. So it
must be
   this particular Dell PowerEdge 750. After moving the disk back,

   % sudo newfs /dev/ad3s1d
   newfs: /dev/ad3s1d: failed to open disk for writing
   % sudo mount /dev/ad3s1d /mnt/a
   mount: /dev/ad3s1d: Operation not permitted
   %

Does the box you are trying this on have a SECURELEVEL set?

kern_securelevel_enable=YES
kern_securelevel=3  (or 2 or other number)

After one of the secure levels, you cannot open disks for writing.
You will have to reset it to NO and reboot and do what you need.
Read in the handbook for exact details, which I cannot remember now
(like at which secure level this takes effect)

Chad

---
Chad Leigh -- Shire.Net LLC
Your Web App and Email hosting provider
[EMAIL PROTECTED]




---
Chad Leigh -- Shire.Net LLC
Your Web App and Email hosting provider
[EMAIL PROTECTED]


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


Question

2005-08-14 Thread jon freddy
When I get my new computer and I am going to run
FreeBSD, also, I want to still run the browser
Firefox. But if you go to Firefox's website it also
lists other OS, but not FreeBSD. But I see that a lot
of my friends that run FreeBSD use firefox. Would I
install the Linux package because it is also a Unix System?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Question

2005-08-14 Thread John Barbieri
Ports collection is your freind :)

/usr/ports/www/firefox

or

/usr/ports/www/linux-firefox


cd to either dir, make install clean  :)

jon freddy wrote:

When I get my new computer and I am going to run
FreeBSD, also, I want to still run the browser
Firefox. But if you go to Firefox's website it also
lists other OS, but not FreeBSD. But I see that a lot
of my friends that run FreeBSD use firefox. Would I
install the Linux package because it is also a Unix System?
___
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

2005-08-14 Thread Tim Holmes
 
| When I get my new computer and I am going to run
| FreeBSD, also, I want to still run the browser
| Firefox. But if you go to Firefox's website it also
| lists other OS, but not FreeBSD. But I see that a lot
| of my friends that run FreeBSD use firefox. Would I
| install the Linux package because it is also a Unix System?
| ___
| freebsd-questions@freebsd.org mailing list
| http://lists.freebsd.org/mailman/listinfo/freebsd-questions
| To unsubscribe, send any mail to [EMAIL PROTECTED]
`--- 
Installit from ports.

cd /usr/ports/www/firefox
make install clean

Of course you need to be root to do this.  If there's nothing in 
/usr/ports, then you'll have to install it.  You can usedo this 
in /sbin/sysinstall.

tdh

-- 
 +-
   \./   | Tim Holmes  --  [EMAIL PROTECTED]: [EMAIL PROTECTED]
  (0Y0)  | UIN: 17021091  -- AIM: tdh004
 -ooO--(_)--Ooo--+-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Failed installation of FreeBSD 5.4

2005-08-14 Thread Milscvaer
After trying unsuccessfully to boot FreeBSD 5.4
installed onto an existing filesystem that held 4.6,
but after the installation completing not being able
to get past the F1 FreeBSD prompt, I decided to wipe
out the filesystem and start with a new filesystem,
thinking this might be the problem! But after doing
that and installing it, it still wont boot!!! It just
sits there at the F1 FreeBSD prompt and makes a
beeping noise!

This sucks big time. There must be something wrong
with FreeBSD here, 4.6 **ran fine** on this computer,
and how 5.4 wont run at all!!! I tend to suspect
FreeBSD 5.x has introduced a lot of new bugs and
incompatabilities.

--- Milscvaer [EMAIL PROTECTED] wrote:

 
 
 --- Gary W. Swearingen [EMAIL PROTECTED] wrote:
 
  Milscvaer [EMAIL PROTECTED] writes:
  
   I would like to try to boot the system on the
 hard
   driv e from a floppy. Maybe there is something
  wrong
   with the boot record on the HD. Does anyone know
  if
   this is possible and how I can do that?
  
  Sure, but you've left us in the dark as to what
 you
  have to work with
  there.  Do you have FreeBSD or some unixy OS on
  another system or on a
  live CD?  Or just a floppy fixit? Or what?  Do
  you have enough
  hard disk space to leave your /usr/home out of the
  picture until you
  get FreeBSD going on another part of the disk?
  (Maybe after deleting
  unneeded parts of /usr/home's filesystem.)
  
 
 I am sorry, I should explain the situation a more
 clearly. I have already run the FreeBSD 5.4
 installation program, which seems to have completed
 successfully, to install FreeBSD on the hard drive.
 However, after I reboot the system after the
 installation program completes, I cannot boot
 FreeBSD
 from the F1 FreeBSD prompt. It just beeps when i
 press
 F1. I then booted into the fixit floppy, and it does
 appear that the FreeBSD system is there on the hard
 drive. Why I cannot boot the system I dont know. I
 thought it might be a boot record problem, so I
 wondered if I could use a floppy disk with a boot
 loader on it, which could then be used to start the
 system on the hard disk.
 
 I thought the install program would replace the boot
 records, in fdisk  I have marked the partition
 active,
 and it prompted me to install the boot loader. I
 have
 several times gone into fdisk to try to get the boot
 records replaced.
 
 I tried using one of the boot floppies used to start
 the freebsd install, (kern1.flp), which if I boot
 off
 of that I get what appears to be a boot2 (boot:)
 prompt where I can type ad(0,a)/boot/kernel/kernel,
 to
 boot the FreeBSD system i have on the hard disk,
 however after doing so a lot of numbers and
 gibberish
 appear on the screen with the message BTX Halted. 
 
 I do have a fixit floppy so I can try to get in
 there
 and do some more things to fix this.
 
  Anyway, if you can run a FreeBSD off a fixit or
 live
  CD somehow, you
  can bsdlabel to put /boot/boot = boot+boot2 on a
  floppy so you
  should be able to get a boot2 prompt (the one
  before the loader
  prompt) and try to boot your 5.4 from there.  Or
 you
  could try using
  fdisk and boot0cfg and bsdlabel to put new
  boot records (MBR,
  boot1, and boot2) on a floppy or on your hard
 disk,
  too.
  
  If you can DL and burn a CD, get yourself a live
  CD or CD-based
  fixit, else try to find room on your HD for a
  fresh minimal FreeBSD
  install, else get an old HD and install fresh to
  that.  Another thing
  you could try is getting a Grub floppy off the
  Internet and try
  booting from the Grub command line.
  
  I suppose that your problem is related to the fact
  that your upgrade
  is reusing your old partition(s) and maybe old
 boot
  records.
  
  BTW, if you can keep your /usr/home out of the
  picture and then copy
  it to your new system, you can end up with nice
 new
  UFS2 filesystems.
  
  BTW, if that's your only copy of /usr/home, you
  probably shouldn't be
  trying to install a new OS on the disk anyway. 
 You
  should be able to
  find another HD for a small FreeBSD (or a copy of
  /usr/home) for VERY
  little money these days.
  
 
 
 __
 Do You Yahoo!?
 Tired of spam?  Yahoo! Mail has the best spam
 protection around 
 http://mail.yahoo.com 
 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Monitor Tuning

2005-08-14 Thread Greg 'groggy' Lehey
On Friday, 12 August 2005 at 15:52:13 -0400, Sean wrote:
 My display is not very sharp and I was looking for a few tips that might
 help to cure things. I tweeked a few things and no luck. Still a soft
 dull image. Little annoying on the eyes.

 Is anyone running a NEC Multisync XV17+ with an Nvidia 6500 ultra and
 getting a sharp display?

 Excerpts from my xorg.conf will give you my monitor and graphics card.

Others have said this already, but to clarify: adjusting the monitor
parameters may enable you to get higher resolution or less flicker,
but they're unlikely to make it sharper unless they were previously
out of the operating range.  Nowadays that's seldom, since monitors
will just refuse to operate out of spec.

Your monitor may be old, but that doesn't mean in itself that it's
worn out.  I'm still using an Eizo (Nanao) monitor made in 1989.  It's
no longer the best, but it still works.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.


pgpZMomgeaIdu.pgp
Description: PGP signature


Re: cache-only named won't resolve localhost

2005-08-14 Thread Kevin Kinsey

Gary W. Swearingen wrote:


I think I followed the bind manual and poked around /var/named and it
has been working OK for a few weeks until I pointed my browser to
localhost and then I tried host localhost. It can resolve
127.0.0.1 back to localhost.localhost. fine, but if I try
my name localhost or localhost.localhost, I get this:
  ;; connection timed out; no servers could be reached
(at least until I tried it just now while on-line, when it
works OK, resolving my modem/router's localhost, I suppose).

/etc/hosts:
   ::1  localhost.localhost localhost
   127.0.0.1localhost.localhost localhost
   10.0.0.4 localhost.localhost localhost

/etc/hosts.conf:
   # Auto-generated from nsswitch.conf, do not edit
   hosts
   bind

/etc/resolv.conf (same with this file missing):
   nameserver 127.0.0.1

I can ping localhost OK.

I thought that host should use the same stub resolver as ping
before trying bind.

Can I not use /etc/hosts with a cache-only named?

Must I have an authoritive zone for localhost?

Or what?

Thanks.
 



Did you `sh /var/named/etc/namedb/make-localhost` ?

Or, maybe I'm just not catching on :-(  



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


Re: Failed installation of FreeBSD 5.4

2005-08-14 Thread Milscvaer


--- Gary W. Swearingen [EMAIL PROTECTED] wrote:

 Milscvaer [EMAIL PROTECTED] writes:
 
  I am sorry, I should explain the situation a more
  clearly.
 
 And I'm sorry that I don't have much more to say.
 

First, I apologise for being so upset. I was rather
frustrated by this.

 I think that BTX stuff is part of boot2.  I know
 this is a
 fairly common problem (which I've had too), but I
 don't know
 what to do about it beyond doing something
 different. :(
 
 Normally you would want to use at the boot: prompt:
  0:ad(0,a)/boot/loader
 instead of 
  0:ad(0,a)/boot/kernel/kernel
 

This is the critical information I needed to know! I
tried /boot/loader and I am now able to boot into
FreeBSD 5.4 off the floppy! After booting, Everything
seems to be fine and as it should be. This is great, I
can just leave the floppy in the drive, and boot from
that. There must be something wrong with the boot
records that fdisk is not correcting. 

I know friends who have had unuseable boot records as
well and have to boot from floppies, Its not really a
big inconvenience.

To be honest, FreeBSD is the only OS that seems to run
on this system, I tried OpenBSD and NetBSD and both
cannot even boot into the installer. 

FreeBSD is still a good OS.

Thank you for all of your help, I really appreciate
it. 

 I'd normally guess that the disk geometry has gotten
 confused somehow,
 but if you're able to see the 5.4 files with the
 fixit disk, geometry
 is probably OK.
 
 The fixit floppy usually doesn't have the command
 one needs to do what
 one wants to do, but I should support replacing the
 HDD MBR with
 fdisk, using a DOS-style MBR that you have to set
 the active
 partition.  Then that should boot to 5.4's boot1
 sector which should
 start boot2, which should start /boot/loader or give
 a prompt.
 If the fixit floppy has bsdlabel (and has a
 /boot/boot1, etc), you
 could try replacing the boot1  boot2 records, but
 don't wipe out
 the disk's bsdlabel.
 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: mplayer-plugin firefox

2005-08-14 Thread Jason Morgan
On Sun, Aug 14, 2005 at 12:50:34PM +, gb wrote:
 Dear all,
 
 I have tried to build mplayer-plugin from the ports/www. My browser is
 firefox so I did a make WITH_MOZILLA=firefox. I get an error in the
 configuration phase error: Unable to find gecko sdk.
 
 I am running 5.3
 
 this is probably something simple and to do with paths. Any help would
 be much appreciated.

Try linuxpluginwrapper? That's what I had to do to get the plugin to work,
but that could have been me breaking something.

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


RELEASE 4

2005-08-14 Thread Ted Thomas

I just installed RELEASE 4 on a Dell 800mhz w/128mb ram.

While attempting to install CVSup, I keep encountering patch failures 
like this one:


cosmo4# make install
===  Vulnerability check disabled, database not found
===  Extracting for libtool-1.5.10_1
= Checksum OK for libtool-1.5.10.tar.gz.
===  Patching for libtool-1.5.10_1
===  Applying FreeBSD patches for libtool-1.5.10_1
2 out of 8 hunks failed--saving rejects to ltmain.sh.rej
= Patch patch-ltmain.sh failed to apply cleanly.
= Patch(es) patch-aa patch-ab patch-ad patch-ae patch-af 
patch-libtoolize.in applied cleanly.

*** Error code 1

Stop in /usr/ports/devel/libtool15.
cosmo4#

I've rat-holed on this, when CvsUp failed, I tried ezm3, that failed; 
then I tried installing libtool alone, that failed...


Originally installed RELEASE 4 from an iso image, but ran into this 
problem. Also could not get GENERIC kernel to compile. So I installed 
again from FTP, and I'm still having the same problems.


Sorry to have to write. It's been years since I had any problem at all 
with FBSD...


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


Re: disk fragmentation, 0%?

2005-08-14 Thread Lei Sun
Thanks for the good answers.

But can anyone tell me why the capacity is going negative? and not full?

 Filesystem SizeUsed   Avail Capacity  Mounted on
 /dev/ar0s1e248M   -278K228M-0%/tmp

Thanks a lot

Lei

On 8/14/05, Glenn Dawson [EMAIL PROTECTED] wrote:
 At 12:18 PM 8/14/2005, cpghost wrote:
 On Sun, Aug 14, 2005 at 12:09:19AM -0700, Glenn Dawson wrote:
   2. How come /tmp is -0% in size? -278K? What had happened? as I have
   never experienced this in the previous installs on the exact same
   hardware.
  
   Not sure about that one.  Maybe someone else has an answer.
 
 This is a FAQ.
 
 The available space is always computed after subtracting some space
 that would be only available to root (typically around 5% or 10%
 of the partition size).
 
 The default is 8%.
 
   This free space is necessary to avoid internal
 fragmentation and to keep the file system going. Root may be able
 to borrow some space from this (in which case the capacity goes
 below 0%), but it is not advisable to keep the file system so full,
 so it should be only for a limited period of time.
 
 The reason for having the reserved space is to allow the functions that
 allocate space to be able to find contiguous free space.  When the disk is
 nearly full it takes longer and longer to locate contiguous space, which
 can lead to performance problems.
 
 
 In your example, you're 278K over the limit; and should delete some
 files to make space ASAP. Should /tmp fill up more, it will soon become
 inoperable.
 
  From the original message:
 
 Filesystem SizeUsed   Avail Capacity  Mounted on
 /dev/ar0s1e248M   -278K228M-0%/tmp
 
 This shows that /tmp is empty.  If the reserved space was being encroached
 upon, it would show  100% capacity, and available bytes would go negative,
 not bytes used.
 
 It would look something like this:
 
 Filesystem SizeUsed   Avail Capacity  Mounted on
 /dev/ad0s1a248M238M-10M   105%/
 
 I've never seen the capacity go negative before, which is why I suggested
 someone else might know the answer.
 
 -Glenn
 

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


*** POKED TIMER *** in named

2005-08-14 Thread DeadMan Xia ....
I m running  FreeBSD 5.4 on Dell PowerEdge 6650 on Quad Processor. I
ve configured the BIND, when I start BIND its works fine but i m also
getting an error when i do tail -f /var/log/messages

Aug 15 09:26:15 www named[769]: starting BIND 9.3.1
Aug 15 09:26:15 www named[769]: couldn't add command channel
127.0.0.1#953: not found
Aug 15 09:26:15 www named[769]: couldn't add command channel ::1#953: not found
Aug 15 09:26:15 www named[769]: running
Aug 15 09:27:34 www named[769]: *** POKED TIMER ***

Is there any one who can help me out, so that i may get rid of this trouble, 
Thanx in Advance...

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


Help with Fluxbox

2005-08-14 Thread Campbells
Hello,

I just installed Fluxbox from the ports collection (latest version).  I 
subsequently added this line at the end of my xinitrc file:

exec /usr/X11R6/bin/fluxbox

Now when I run startx nothing has changed!  It isn't running fluxbox as its 
windowmanager!  So I type startfluxbox and it doesn't start, presumably becuase 
a windowmanager is already running (the standard Xorg manager).

Any help would be greatly appreciated

GarethNo virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.338 / Virus Database: 267.10.9/72 - Release Date: 14/08/2005
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]