FW: Multi ISP Load Balancing...

2008-08-29 Thread Marcel Grandemange
 

I know this has probably been asked a thousand times but can someone give me
an example with ipfw to do loadbalancing between two ISP's.

 

 

We have two DSL links and realize that we wont get combined bandwidth.

 

All I want is for BSD to choose the different ISP's based on a probability.

 

 

One link is 512k Other 1Mb.

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


RE: Obscure df -h output

2008-08-29 Thread Marc Coyles

 Yes, they did something bizarre.  Ask them why :)
 
 Kris
 ___

Mornin' Kris / list...

Asked them why and they shrugged and said we didn't... So... I
unmounted all the nullfs mounts that it'd allow me to unmount (tmp, dev,
proc and bin were busy) and then rebooted the box to see if they
reappeared. They didn't. Then I had a bit of a ting moment as the
lightbulb 2 above my head flickered into life, and logged in as a
jailed user... Lo and behold, the mounts reappeared. Logged out and
logged back in as my regular user, and the mounts remained.

Should mounts for jail-shells automatically unmount themselves when that
user logs out?? Either way, we know what the issue is, and that it
isn't an issue at all... S'just the joys of letting cPanel do something
for you...!

L8rs!
Marc A Coyles
Horbury School ICT Support Team
Mbl: 07850 518106
Land: 01924 282740 ext 730


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


Re: FW: Multi ISP Load Balancing...

2008-08-29 Thread Julien Cigar
Add a route and set the same metric to both interfaces .. ?

On Fri, 2008-08-29 at 08:38 +0200, Marcel Grandemange wrote:
 
 I know this has probably been asked a thousand times but can someone give me
 an example with ipfw to do loadbalancing between two ISP's.
 
  
 
 
 
 We have two DSL links and realize that we wont get combined bandwidth.
 
  
 
 All I want is for BSD to choose the different ISP's based on a probability.
 
  
 
 
 
 One link is 512k Other 1Mb.
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
-- 
Julien Cigar
Belgian Biodiversity Platform
http://www.biodiversity.be
Université Libre de Bruxelles (ULB)
Campus de la Plaine CP 257
Bâtiment NO, Bureau 4 N4 115C (Niveau 4)
Boulevard du Triomphe, entrée ULB 2
B-1050 Bruxelles
Mail: [EMAIL PROTECTED]
@biobel: http://biobel.biodiversity.be/person/show/471
Tel : 02 650 57 52

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


Re: Obscure df -h output

2008-08-29 Thread Kris Kennaway

Marc Coyles wrote:

Yes, they did something bizarre.  Ask them why :)

Kris
___


Mornin' Kris / list...

Asked them why and they shrugged and said we didn't... So... I
unmounted all the nullfs mounts that it'd allow me to unmount (tmp, dev,
proc and bin were busy) and then rebooted the box to see if they
reappeared. They didn't. Then I had a bit of a ting moment as the
lightbulb 2 above my head flickered into life, and logged in as a
jailed user... Lo and behold, the mounts reappeared. Logged out and
logged back in as my regular user, and the mounts remained.

Should mounts for jail-shells automatically unmount themselves when that
user logs out?? Either way, we know what the issue is, and that it
isn't an issue at all... S'just the joys of letting cPanel do something
for you...!


jail shells and associated nullfs mounts are something you have 
configured locally, so I guess that is what is going wrong.


Kris

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


General Mysql Performance Question

2008-08-29 Thread Paul A. Procacci

Hey All,

Recently I've been asked to do performance testing of postgres and mysql 
on FreeBSD.  Kris' page 
(http://people.freebsd.org/~kris/scaling/mysql.html) was extremely 
useful in giving me a starting point for my own comparisons.  
Additionally, his name is splattered all over the web with patches, 
tuning tips, etc.  For that, I thank you Kris.  With that said, I've 
come across something that I can not find the answer to and I'm hoping I 
have missed something incredibly simple.  If this has been mentioned 
before, then I apologize in advance.


http://paul.procacci.me/benchmarks/freebsd7-Release.html

My question is in reference to the 1st and 2nd graphs on this page.  
While testing the performance of the databases given in this graph, the 
one thing that sticks out is that when Mysql uses the myisam engine with 
the ULE schedular, performance drops quite considerably regardless of 
mysql version.  The clearly shows ULE to perform worst at higher work 
loads than 4BSD, at least in this one example.


Now, I read that lockmgr code is still a work in progress, but I'm 
unsure if that applies specifically to this specific problem that I'm 
providing.  What I'm hoping for quite frankly is a yes, this is 
because type of response.


This isn't a problem per se, but rather a curiosity type of question.

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


Re: General Mysql Performance Question

2008-08-29 Thread Kris Kennaway

Paul A. Procacci wrote:
My question is in reference to the 1st and 2nd graphs on this page.  
While testing the performance of the databases given in this graph, the 
one thing that sticks out is that when Mysql uses the myisam engine with 
the ULE schedular, performance drops quite considerably regardless of 
mysql version.  The clearly shows ULE to perform worst at higher work 
loads than 4BSD, at least in this one example.


Now, I read that lockmgr code is still a work in progress, but I'm 
unsure if that applies specifically to this specific problem that I'm 
providing.  What I'm hoping for quite frankly is a yes, this is 
because type of response.


This isn't a problem per se, but rather a curiosity type of question.


myisam has huge lock contention, so probably ULE is more efficiently 
scheduling the processes and increasing contention yet further, leading 
to a net drop of performance.  That kind of thing is fairly common when 
you have a workload with high contention; if you improve performance at 
one bottleneck the performance at a later bottleneck can get worse. 
Performance will still be better on other workloads, or when further 
work improves the other bottlenecks.


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


Re: General Mysql Performance Question

2008-08-29 Thread Paul A. Procacci

Kris Kennaway wrote:

Paul A. Procacci wrote:
My question is in reference to the 1st and 2nd graphs on this page.  
While testing the performance of the databases given in this graph, 
the one thing that sticks out is that when Mysql uses the myisam 
engine with the ULE schedular, performance drops quite considerably 
regardless of mysql version.  The clearly shows ULE to perform worst 
at higher work loads than 4BSD, at least in this one example.


Now, I read that lockmgr code is still a work in progress, but I'm 
unsure if that applies specifically to this specific problem that I'm 
providing.  What I'm hoping for quite frankly is a yes, this is 
because type of response.


This isn't a problem per se, but rather a curiosity type of question.


myisam has huge lock contention, so probably ULE is more efficiently 
scheduling the processes and increasing contention yet further, 
leading to a net drop of performance.  That kind of thing is fairly 
common when you have a workload with high contention; if you improve 
performance at one bottleneck the performance at a later bottleneck 
can get worse. Performance will still be better on other workloads, or 
when further work improves the other bottlenecks.


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


Kris,

Thanks for your prompt response.  I was aware that myisam had pretty 
huge lock contention, but didn't think ULE, because it's doing it's job 
better, is actually making things worse.


I appreciate your insight.

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


Re: Problem in FreeBSD 7.x, in Xorg switching consoles.

2008-08-29 Thread Polytropon
Ha! Seems that I'm not alone with this! :-)

On Thu, 28 Aug 2008 07:11:23 -0700 (PDT), Christopher Joyner [EMAIL 
PROTECTED] wrote:
 When I switch from my Xorg running KDE, for some reason it
 pushes a string as keypresses to the KDE.  I do not know if
 it's on return, or on exit.

I have a similar problem: Whenever I return to X, coming from
a text mode console, the content of the edit buffer (select
with mouse, output with middle button) gets output to the
window that has the focus at this moment (focus on mouse, not
on click). In Opera, the right-click mouse menu is shown. In
an X terminal, the text is passed to the shell - and executed,
if it contains a line break (usually if multiline text was in
the buffer).



 Here is my setup! 
 On tty3 is my Xorg KDE desktop.  On tty8 is a getty login.  
 I use alt+ctrl+f8 to enter the login screen on tty8.
 I then switch back by using alt+ctrl+f3, and enter the KDE desktop.
 
 But then for some reason something crazy happens.  If i was using
 the konqueror web browser, the address would get replaced and it
 would go to a bogus website.

Try to reproduce this, maybe we're encountering the same problem:
Select some text with the mouse, open an editor or X terminal and
place the mouse into it (or assert that it has focus according to
your focus model). Then, switch Ctrl+Alt+PF8, and return to X with
Ctrl+Alt+PF3. Is the text you had selected now in the X terminal or
the editor?

If not, don't mind my reply.



 So I decided to put up a blank text pad in kedit to see what happens.
 What I get is a url string is pushed to the pad.  
 I believe this happens when coming back to the Desktop KDE.

If it's the same problem that I have, it's generic to X.org, because
I'm using WindowMaker, not KDE, and I've tried XFCE 3 and 4, too, with
the same problem.

It seems that the URI that is passed to Konqueror is in the edit
butter. Try to press the middle mouse button within an editor. Is
the URI output to the editor as it would be to Konqueror?



-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Disk access is slowing my Eee PC

2008-08-29 Thread Lars Stokholm
On Thu, Aug 28, 2008 at 8:55 PM, Matthias Apitz [EMAIL PROTECTED] wrote:
 I've one of these eeePC 900 installed by my own and a fried of my as
 well; he runs mySQL, Apache and a blogging engine on top of this without
 any kind of problems; I use mineone for writing stuff and reading with
 KDE's konqueror, as well without any issues;

 the installation was done in both cases follwing this guide:
 http://www.unixarea.de/installEeePC.txt

 don't know if this will help you;

I never had swap, but now I've set noatime on mounts and Fx cache to
0MB. It seems that the problem has gone away for now at least. Thank
you. :)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Disk access is slowing my Eee PC

2008-08-29 Thread Wojciech Puchar

don't know if this will help you;


I never had swap, but now I've set noatime on mounts and Fx cache to
0MB.


maybe after 5 years from now (at least) they finally invent direct 
controlling of flash and flash-optimized filesystem.


flash drives should be MUCH faster that hard drives, but they had to 
emulate hard drives...

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


tcpdump question

2008-08-29 Thread EdwardKing
There is a server and a clinet,the use TCP and port is ,server and client 
is the same machine. I use following step:
1.client send a hello to server
2.server return a hello to client
3.stop client
4.stop server

I use tcpdump to watch tcp package,result is follows:

15:47:15.875447 IP (tos 0x0, ttl 64, id 417, offset 0, flags [DF], proto TCP 
(6), length 60) edward.com.56773  edward.com.: S, cksum 0x80e8 (correct), 
3156022143:3156022143(0) win 65535 mss 16344,nop,wscale 3,sackOK,timestamp 
4141177 0
15:47:15.876005 IP (tos 0x0, ttl 64, id 418, offset 0, flags [DF], proto TCP 
(6), length 60) edward.com.  edward.com.56773: S, cksum 0x4b72 (correct), 
2047624831:2047624831(0) ack 3156022144 win 65535 mss 16344,nop,wscale 
3,sackOK,timestamp 822232023 4141177
15:47:15.876007 IP (tos 0x0, ttl 64, id 419, offset 0, flags [DF], proto TCP 
(6), length 52) edward.com.56773  edward.com.: ., cksum 0x915e (correct), 
ack 1 win 8960 nop,nop,timestamp 4141177 822232023
15:47:17.170067 IP (tos 0x0, ttl 64, id 420, offset 0, flags [DF], proto TCP 
(6), length 58) edward.com.56773  edward.com.: P, cksum 0x6865 (correct), 
1:7(6) ack 1 win 8960 nop,nop,timestamp 4142472 822232023
15:47:17.170535 IP (tos 0x0, ttl 64, id 421, offset 0, flags [DF], proto TCP 
(6), length 58) edward.com.  edward.com.56773: P, cksum 0x6350 (correct), 
1:7(6) ack 7 win 8960 nop,nop,timestamp 822233318 4142472
15:47:17.270236 IP (tos 0x0, ttl 64, id 422, offset 0, flags [DF], proto TCP 
(6), length 52) edward.com.56773  edward.com.: ., cksum 0x86d0 (correct), 
ack 7 win 8960 nop,nop,timestamp 4142572 822233318
15:47:27.602760 IP (tos 0x0, ttl 64, id 423, offset 0, flags [DF], proto TCP 
(6), length 52) edward.com.56773  edward.com.: F, cksum 0x5e72 (correct), 
7:7(0) ack 7 win 8960 nop,nop,timestamp 4152905 822233318
15:47:27.603085 IP (tos 0x0, ttl 64, id 424, offset 0, flags [DF], proto TCP 
(6), length 52) edward.com.  edward.com.56773: ., cksum 0x35b1 (correct), 
ack 8 win 8960 nop,nop,timestamp 822243751 4152905
15:51:58.146875 IP (tos 0x0, ttl 64, id 433, offset 0, flags [DF], proto TCP 
(6), length 52) edward.com.  edward.com.56773: F, cksum 0x14cb (correct), 
7:7(0) ack 8 win 8960 nop,nop,timestamp 822514312 4152905
15:51:58.146978 IP (tos 0x0, ttl 64, id 434, offset 0, flags [DF], proto TCP 
(6), length 52) edward.com.56773  edward.com.: ., cksum 0xf3e6 (correct), 
ack 8 win 8959 nop,nop,timestamp 4423466 822514312

I want to know what's meaning of 'S','.','P','F'? 
Anyone could explain above tcpdump result? I don't understand above result well.

Thanks in advance!
Best Regards,
Edward



--
Confidentiality Notice: The information contained in this e-mail and any
accompanying attachment(s) is intended only for the use of the intended
recipient and may be confidential and/or privileged of Neusoft Corporation, its 
subsidiaries and/or its affiliates. If any reader of this communication is not 
the intended recipient, unauthorized use, forwarding, printing, storing, 
disclosure or copying is strictly prohibited, and may be unlawful. If you have 
received this communication in error, please immediately notify the sender by 
return e-mail, and delete the original message and all copies from your system. 
Thank you. 
---

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


Re: tcpdump question

2008-08-29 Thread Matthias Apitz
El día Friday, August 29, 2008 a las 05:25:19PM +0800, EdwardKing escribió:

 I want to know what's meaning of 'S','.','P','F'? 
 Anyone could explain above tcpdump result? I don't understand above result 
 well.

Look for the book: TCP/IP Illustrated, Volume I, of Rich Stevens;
S is Syn
P is Push
F is Finish
but there are fare more things to know and to read and understand

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/
We should all learn from the peoples of The Netherlands, France and Ireland.
Aprendamos todos de los pueblos de Holanda, Francia e Irlanda.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: tcpdump question

2008-08-29 Thread Olivier Nicole
Edward,

 I want to know what's meaning of 'S','.','P','F'? 

You should learn a bit about TCP protocol.

S is for SYN (synchronize)
P is for PUSH
F is for FIN
. is for nothing

Pakets are:

3 way hand shake initiate TCP connection
client  server SYN
sever  client SYN ACK
client  server ACK

client  server send data
server  client ACK and send data
client  server ACK

tTermination
client  server FIN
server  client ACK
server  cient FIN
client  server ACK

ACk means acknowledge.

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


jmicron based usb drive

2008-08-29 Thread DA Forsyth
Hiya

I was happy to purchase a device that allow an external drive to be 
connected via USB.  this thing just has 3 sockets, no case.  sockets 
for SATA, IDE and 2.5 IDE, plus an external power supply for drives 
that need it.  Works perfectly on my WinXP box...

but on FreeBSD 7.0R I get this in dmesg
umass0: JMicron USB to ATA/ATAPI Bridge, class 0/0, rev 2.00/1.00, 
addr 2 on uhub2
da1 at umass-sim0 bus 0 target 0 lun 0
da1: WDC WD20 0EB-00CPF0 4G06 Fixed Direct Access SCSI-2 device
da1: 40.000MB/s transfers
da1: 19092MB (39102336 512 byte sectors: 255H 63S/T 2434C)

but no /dev/da*
and attempts to mount/fdisk/disklabel the drive just do nothing, in 
fact fdisk never exited, and neither did 
mount /dev/da1s1a /mnt
(yes it has partitions on it from a previous cloning operation)

now i'll reboot the box and see what transpires...


--
   DA Fo rsythNetwork Supervisor
Principal Technical Officer -- Institute for Water Research
http://www.ru.ac.za/institutes/iwr/


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


Switching wireless networks: WPA - unencrypted

2008-08-29 Thread Lars Stokholm
I usually use two WPA encrypted wireless networks and I have
wpa_supplicant.conf set up for that. In rc.conf I have
ifconfig_ath0=WPA DHCP. It's working fine, but once in a while I
have to use other, unencrypted networks and that presents a problem.
How do I connect to these with the least amount of trouble?

Right now it involves commenting out the line in rc.conf, restarting
netif, manually configuring ifconfig and running dhclient.

Surely there must be a better way to do this...? Preferably it should
automatically fall back to using unencrypted networks, if no
configured encrypted networks are available... or something like that.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: defrag

2008-08-29 Thread Wojciech Puchar

 CP/M was single-user and was used on floppies up to 360kB AFAIK,

And MP/M was multi-user, using the same filesystem.  From memory, there
was perhaps one byte that indicated which user owned a file :)


in CP/M there were users too, but it was just to help keeping it clear, 
not for security, you could simply type user n to switch users AFAIK.




It wasn't (straight-up) theft; MS cut a deal with IBM to use HPFS and
OS/2, more or less in exchange for letting IBM licence Windows 3.1 as
WINOS/2

When things went sour - google provides days of happy reading if you're
interested - MS morphed it into NTFS for NT, cruelled the deal with IBM
so OS/2 couldn't run NT/Win95 apps (signing OS/2's death warrant, though
it took a long time to die) and stopped distributing OS/2 themselves.


a little better than theft but... as you said


 writing a few-paged document or view a webpage

Yeah, yeah :)  I'd be surprised if NTFS isn't as defrag-proof as HPFS,
which as I recall had self-defragging garbage-collecting features built


exactly like in microsoft. they quickly created similar filesystem not 
even really understanding it, or if they did - simply ignoring things.



used it for quite a few years to run BBS and Fidonet stuff, not once
losing any data .. HPFS was a very resiliant and reliable filesystem.


i never used OS/2 for really long, my friend was. it was faster than FAT 
by much, and never had FS crash.


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


Re: defrag

2008-08-29 Thread Wojciech Puchar

at FAT.


possibly untrue in Win NT,


From what I've read, it's a journalling filesytem  based on a


i mean FAT partition under NT.


I see that ext4 the successor to ext3, and which also has extent
support, has a defragmenter. And it appears to give significant
increases in read speeds.


still it's something wrong if it needs the defragmenter at all...
UFS do not.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Where is wrong with tcpdump?

2008-08-29 Thread Wojciech Puchar


On Thu, 28 Aug 2008, EdwardKing wrote:


I want to watch ip:172.0.10.2 port:19 TCP information,so I use following 
command:
#tcpdump tcp port 19 host 172.0.10.2
tcpdump: syntax error

Why? How to do it?


tcpdump tcp port 19 and host 172.0.10.2




Thanks


--
Confidentiality Notice: The information contained in this e-mail and any
accompanying attachment(s) is intended only for the use of the intended
recipient and may be confidential and/or privileged of Neusoft Corporation, its 
subsidiaries and/or its affiliates. If any reader of this communication is not 
the intended recipient, unauthorized use, forwarding, printing, storing, 
disclosure or copying is strictly prohibited, and may be unlawful. If you have 
received this communication in error, please immediately notify the sender by 
return e-mail, and delete the original message and all copies from your system. 
Thank you.
---

___
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: Switching wireless networks: WPA - unencrypted

2008-08-29 Thread Pietro Cerutti

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Lars Stokholm wrote:
| I usually use two WPA encrypted wireless networks and I have
| wpa_supplicant.conf set up for that. In rc.conf I have
| ifconfig_ath0=WPA DHCP. It's working fine, but once in a while I
| have to use other, unencrypted networks and that presents a problem.
| How do I connect to these with the least amount of trouble?
|
| Right now it involves commenting out the line in rc.conf, restarting
| netif, manually configuring ifconfig and running dhclient.
|
| Surely there must be a better way to do this...? Preferably it should
| automatically fall back to using unencrypted networks, if no
| configured encrypted networks are available... or something like that.

wpa_supplicant.conf supports WEP and open networks as well:

# WEP network
network={
~   ssid=network_id
~   key_mgmt=NONE
~   wep_tx_keyidx=0
~   wep_key0=WEPKEYHERE
}

# Open network
network={
~   ssid=network_id
~   key_mgmt=NONE
}

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


- --
Pietro Cerutti
[EMAIL PROTECTED]

PGP Public Key:
http://gahr.ch/pgp

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (FreeBSD)

iEYEAREKAAYFAki32TIACgkQwMJqmJVx947DVwCg26S+ux3hTCMNH5OC8/tzo8HZ
fTsAn1vzTAkt7YqDnOkMiTuKBkA2keE6
=Br3B
-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: Switching wireless networks: WPA - unencrypted

2008-08-29 Thread Lars Stokholm
On Fri, Aug 29, 2008 at 1:10 PM, Pietro Cerutti [EMAIL PROTECTED] wrote:
 wpa_supplicant.conf supports WEP and open networks as well:
 [...]

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


K3b dosent detect either of my burners

2008-08-29 Thread Warren Liddell
I have gone through the info from various sites, handbooks, email archives and 
yet still k3b doesnt detect neither 1 of my 2 SATA Burners .. i use FreeBSD 
7.0-STABLE KDE4 AMD64. below r the 2 burners as they appear in dmesg.

acd0: DVDR TSSTcorp CDDVDW SH-S203D/SB00 at ata2-master SATA150   

 
acd1: DVDR ATAPI DVD A DH20A3S/9P56 at ata3-master SATA150 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Error Compiling linux-nero

2008-08-29 Thread Warren Liddell
Im running AMD64 FreeBSD 7.0-STABLE KDE4 ... Below is error msg


===  Checking if sysutils/linux-nero already installed
cd /usr/ports/sysutils/linux-nero/work  /usr/bin/find * -type d -exec 
/bin/mkdir -p /compat/linux/{} \;
cd /usr/ports/sysutils/linux-nero/work  /usr/bin/find * ! -type d | 
/usr/bin/cpio -pm -R root:wheel /compat/linux
65489 blocks
===   Running linux ldconfig
/compat/linux/sbin/ldconfig -r /compat/linux
ELF binary type 3 not known.
/compat/linux/sbin/ldconfig: 1: Syntax error: ( unexpected
*** Error code 2

Stop in /usr/ports/sysutils/linux-nero.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: defrag

2008-08-29 Thread Eduardo Morras

At 15:21 28/08/2008, RW wrote:



 On Thu, 28 Aug 2008 10:13:40 +0200
 Eduardo Morras [EMAIL PROTECTED] wrote:

  No, if you check a NTFS disk after some work, it's heavily
  fragmented. As you fill it and work with it, it becomes more and
  more fragmented.

How did you measure it? AFAIK the percentage fragmentation figures given
by windows tools and fsck, aren't measured on the same basis.


I run jkdefrag. I outs an image of fragmented files. In practice 
work, when i defrag the data disks i get 30-40 (even 50) MB/s when 
copying files using a Gigabit ethernet and ftp. This copy speed drops 
to 9-10 MB/s after some days of work.


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


Re: Problem in FreeBSD 7.x, in Xorg switching consoles.

2008-08-29 Thread Polytropon
On Fri, 29 Aug 2008 05:06:26 -0700 (PDT), Christopher Joyner [EMAIL 
PROTECTED] wrote:
 We both have the same problem.  Your right it's the clipboard buffer,
 using the middle mouse button.

Damn! (Read: Strange, I have no explaination for this.)



 Maybe It's the mouse daemon?  Do you have a USB mouse like me?  I am
 using a USB Logitec, one of the first optical mouse.

Allthough it's not obvious from dmesg, I have a Sun Type 6 USB mouse
with three buttons:

% dmesg | grep ^ums
ums0: vendor 0x0430 product 0x0100, class 0/0, rev 1.00/1.02, addr 2 
on uhub1
ums0: 3 buttons.



 So right now I think it's either the mouse daemon, or Xorg.  

I would say it's X.org. So many things not functioning any more...
Outputting of the edit buffer does not happen when switching the
text mode consoles.


 FreeBSD 7.x with Xorg.

FreeBSD 7 Stable, xorg-7.3_1.



By the way, could you try another thing I find problematic since
using X.org?

Setting: Switch on Num Lock first. Open an X terminal. Have an
image file available, and xzgv. Then run xzgv -tz inage from
within the terminal. When you quit xzgv with the 'q' key, Num Lock
LED will go off, but Num Lock mode will still be on. Press Num Lock
key twice, LED is there again. Now run xmms by typing xmms, and
quit it. Same thing. And now, run gv and quit it. Now Num Lock
keeps on! Same with xpdf.

Summary:
Num Lock goes off:  xzgv, xmms, gnp
Num Lock keeps on:  gv, xpdf, xvidtune, avidemux2, gmplayer

Any idea what this strange behaviour could come from?




-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Script To Execute command via mail

2008-08-29 Thread Marcel Grandemange
I have an interesting situation.

I have a windows based sms server, this machine works in the following way.

It watches a shared directory for txt files that must be formatted in
certain way and periodically sends them off to mobile.

 

 

What I want to do is create a SMTP to SMS gateway.

Easy in theory!

Rite a script to map shared drive, ensure it's connected and write the txt
files in dir.

However the second part I have no idea, somehow I need to watch the mbox
file of say a e-mail account called test

And IF a mail arrives parse it look for a security key if exists convert to
txt file and copy to shared dir.

 

SMS sent..

 

 

Any suggestions?

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


Re: Make World Inside Jail

2008-08-29 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Jason C. Wells wrote:
 I currently use a separate machine to make world and to make and archive
 ports and packages.  I would like to retire that machine and move that
 functionality into a jail. I am due to switch to 7.1 from 6.3 soon.
 
 I understand that I cannot run divergent kernels in the jails.
 
 I could still make a 7.1-RELEASE world on a 6.3-RELEASE jail and
 installworld into the jail.  That would leave me with a very strange
 jail system with a new generation system (binaries / libs / includes /
 utils / ports) with an old generation kernel.
 
 The only purpose of the jails is compiling world and installing ports.
 The parent system on which the jails reside cannot be made unreliable
 due to running the mishmash old/new jails.
 
 I'll need to run NFS servers and telnet servers inside the jails.
 Systems on my network would mount the jail's /usr/obj, /usr/src and
 /usr/ports via NFS to facilitate installworld and port upgrades.
 
 Can I make this work? Am I asking for trouble?
 
 Thanks,
 Jason

Hi Jason,

You might want to have a look at Tinderbox: http://tinderbox.marcuscom.com/

This tool helps you build packages in a controlled environment, based on
your specified src tree, ports tree and port options.  I believe you'll
need to install it on at least a 7.1-RELEASE system if you want to build
packages for that OS version.

I am currently working on a VMware virtual machine that's preinstalled
with 8.0-STABLE and Tinderbox so anyone can very easily build packages
for 6.3, 7.x and 8.0-STABLE.  If you're interested in having a look at
that, let me know and I'll tell you when it's ready.

Regards,
Greg
- --
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIt/LF0sRouByUApARAjAlAJwIGh4nenz4FWS7BZ3KQjQOeNmrRwCfat0C
k3eGPiolwHiiv7kBpehrmEI=
=zd6A
-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: Script To Execute command via mail

2008-08-29 Thread Matthias Apitz
El día Friday, August 29, 2008 a las 02:54:42PM +0200, Marcel Grandemange 
escribió:

 I have an interesting situation.
 
 I have a windows based sms server, this machine works in the following way.
 
 It watches a shared directory for txt files that must be formatted in
 certain way and periodically sends them off to mobile.
 
  
 
  
 
 What I want to do is create a SMTP to SMS gateway.
 
 Easy in theory!
 
 Rite a script to map shared drive, ensure it's connected and write the txt
 files in dir.
 
 However the second part I have no idea, somehow I need to watch the mbox
 file of say a e-mail account called test
 
 And IF a mail arrives parse it look for a security key if exists convert to
 txt file and copy to shared dir.

procmail (which is in the ports) will let you do that very easy;

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/
We should all learn from the peoples of The Netherlands, France and Ireland.
Aprendamos todos de los pueblos de Holanda, Francia e Irlanda.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Script To Execute command via mail

2008-08-29 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Marcel Grandemange wrote:
 I have an interesting situation.
 
 I have a windows based sms server, this machine works in the following way.
 
 It watches a shared directory for txt files that must be formatted in
 certain way and periodically sends them off to mobile.
 
 What I want to do is create a SMTP to SMS gateway.
 
 Easy in theory!
 
 Rite a script to map shared drive, ensure it's connected and write the txt
 files in dir.
 
 However the second part I have no idea, somehow I need to watch the mbox
 file of say a e-mail account called test
 
 And IF a mail arrives parse it look for a security key if exists convert to
 txt file and copy to shared dir.
 

Hi Marcel,

Do you have a FreeBSD machine in the mix somewhere?  If so, this sounds
 like a job for procmail: http://en.wikipedia.org/wiki/Procmail

Using procmail, you can create a script to process incoming emails and
process/reformat them as you see fit.

Best regards,
Greg
- --
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIt/OH0sRouByUApARAntMAJ43+cuEDrdEIZle4TTxa3orO+u05QCdHsOq
c1yjtkE0i7CN4dM04WgcfrM=
=0pjX
-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: Script To Execute command via mail

2008-08-29 Thread Marcel Grandemange
Yes the Server I want to do this on Is a FreeBSD 7.0 box, however cannot use
procmail as all mboxes are virtual.
Ie not real accounts all exist only on mysql, and since I changed from a
normall stock setup to using mysql procmail no longer will work.
All boxes are in form of [EMAIL PROTECTED]


I really miss procmail!

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Greg Larkin
Sent: Friday, August 29, 2008 3:03 PM
To: Marcel Grandemange
Cc: freebsd-questions@freebsd.org
Subject: Re: Script To Execute command via mail

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Marcel Grandemange wrote:
 I have an interesting situation.
 
 I have a windows based sms server, this machine works in the following
way.
 
 It watches a shared directory for txt files that must be formatted in
 certain way and periodically sends them off to mobile.
 
 What I want to do is create a SMTP to SMS gateway.
 
 Easy in theory!
 
 Rite a script to map shared drive, ensure it's connected and write the txt
 files in dir.
 
 However the second part I have no idea, somehow I need to watch the mbox
 file of say a e-mail account called test
 
 And IF a mail arrives parse it look for a security key if exists convert
to
 txt file and copy to shared dir.
 

Hi Marcel,

Do you have a FreeBSD machine in the mix somewhere?  If so, this sounds
 like a job for procmail: http://en.wikipedia.org/wiki/Procmail

Using procmail, you can create a script to process incoming emails and
process/reformat them as you see fit.

Best regards,
Greg
- --
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIt/OH0sRouByUApARAntMAJ43+cuEDrdEIZle4TTxa3orO+u05QCdHsOq
c1yjtkE0i7CN4dM04WgcfrM=
=0pjX
-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]

__ NOD32 3396 (20080828) Information __

This message was checked by NOD32 antivirus system.
http://www.eset.com


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


Re: Script To Execute command via mail

2008-08-29 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Marcel Grandemange wrote:
 Yes the Server I want to do this on Is a FreeBSD 7.0 box, however cannot use
 procmail as all mboxes are virtual.
 Ie not real accounts all exist only on mysql, and since I changed from a
 normall stock setup to using mysql procmail no longer will work.
 All boxes are in form of [EMAIL PROTECTED]
 
 
 I really miss procmail!
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Greg Larkin
 Sent: Friday, August 29, 2008 3:03 PM
 To: Marcel Grandemange
 Cc: freebsd-questions@freebsd.org
 Subject: Re: Script To Execute command via mail
 
 Marcel Grandemange wrote:
 I have an interesting situation.
 
 I have a windows based sms server, this machine works in the following
 way.
 It watches a shared directory for txt files that must be formatted in
 certain way and periodically sends them off to mobile.
 
 What I want to do is create a SMTP to SMS gateway.
 
 Easy in theory!
 
 Rite a script to map shared drive, ensure it's connected and write the txt
 files in dir.
 
 However the second part I have no idea, somehow I need to watch the mbox
 file of say a e-mail account called test
 
 And IF a mail arrives parse it look for a security key if exists convert
 to
 txt file and copy to shared dir.
 
 
 Hi Marcel,
 
 Do you have a FreeBSD machine in the mix somewhere?  If so, this sounds
  like a job for procmail: http://en.wikipedia.org/wiki/Procmail
 
 Using procmail, you can create a script to process incoming emails and
 process/reformat them as you see fit.
 
 Best regards,
 Greg

Hi Marcel,

What mail server are you using with MySQL?  I use a tool called vexim
(http://www.freshports.org/mail/vexim/) that integrates Exim with MySQL
and also supports virtual mailboxes.  However, I can use procmail with
any of the mailboxes, too.

If you post more details about your setup, someone here might be able to
figure out a solution so you can use procmail.

Best regards,
Greg
- --
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIt/XT0sRouByUApARAnCaAJwJMdYxFe8RHlegKkf2KTcgSdUNNwCfbqGZ
Swzyy+ALyLwdTFqDDOE4NAQ=
=qT8u
-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: Dual (zaphod) head on Intel i810 does not work for FreeBSD V7.0 Release

2008-08-29 Thread John Hein
Ray Newman wrote at 17:56 +1000 on Aug 29, 2008:
  Under FreeBSD V6.2 Release (X 6.9.0 and i810 1.4.1) with this  
  xorg.conf, this log file
  is produced and the dual screen config works.
  .
  .
  Under FreeBSD V7.0 Release (X 1.4.0 and i810 1.6.5) with this  
  xorg.conf which is nearly
  identical with the previous one, this log file is produced and the  
  dual screen doesn't work.
  It seems to get the primary and secondary screens totally confused.

What if you try x11-drivers/xf86-video-intel instead of
x11-drivers/xf86-video-i810?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Error Compiling linux-nero

2008-08-29 Thread Pietro Cerutti

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Warren Liddell wrote:
| Im running AMD64 FreeBSD 7.0-STABLE KDE4 ... Below is error msg
|
|
| ===  Checking if sysutils/linux-nero already installed
| cd /usr/ports/sysutils/linux-nero/work  /usr/bin/find * -type d -exec
| /bin/mkdir -p /compat/linux/{} \;
| cd /usr/ports/sysutils/linux-nero/work  /usr/bin/find * ! -type d |
| /usr/bin/cpio -pm -R root:wheel /compat/linux
| 65489 blocks
| ===   Running linux ldconfig
| /compat/linux/sbin/ldconfig -r /compat/linux
| ELF binary type 3 not known.
| /compat/linux/sbin/ldconfig: 1: Syntax error: ( unexpected
| *** Error code 2
|
| Stop in /usr/ports/sysutils/linux-nero.

Sounds like you don't have the Linux ABI enabled.
Check here:
http://www.freebsd.org/doc/en/books/handbook/linuxemu-lbc-install.html

- --
Pietro Cerutti
[EMAIL PROTECTED]

PGP Public Key:
http://gahr.ch/pgp

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (FreeBSD)

iEYEAREKAAYFAki3+ZEACgkQwMJqmJVx947oZwCdEAyjRwlU/WJNi3SBOlhLr9Ni
+/oAoJ4uYSYN7pG+cl3rx7UCFLAchnta
=ipjC
-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: Dual (zaphod) head on Intel i810 does not work for FreeBSD V7.0 Release

2008-08-29 Thread Tom Evans
On Fri, 2008-08-29 at 17:56 +1000, Ray Newman wrote:
 Hi,
 
 Under FreeBSD V6.2 Release (X 6.9.0 and i810 1.4.1) with this  
 xorg.conf, this log file
 is produced and the dual screen config works.
 
 
 Under FreeBSD V7.0 Release (X 1.4.0 and i810 1.6.5) with this xorg.conf which 
 is nearly 
 identical with the previous one, this log file is produced and the dual 
 screen doesn't work.
  It seems to get the primary and secondary screens totally confused.

 Ray Newman
 29 Aug 2008


With X 1.4, use driver intel ( x11-drivers/xf86-video-intel ) and xrandr
to achieve the same effect. This has the benefit of dynamically enabling
or disabling additional heads. The configuration is slightly different,
here is a pertinent snippet from mine for comparison. There is only one
device, screen and monitor specified in the conf. 

Section Device
Identifier  Card0
Driver  intel
VendorName  Intel Corporation
Option  DRI true
BoardName   Mobile Integrated Graphics Controller
BusID   PCI:0:2:0
Screen  0
EndSection

Section Screen
Identifier  Screen0
Device  Card0
Monitor Monitor0
SubSection Display
Viewport0 0
Depth   32
Modes   1400x1050
Virtual 26801050
EndSubSection
EndSection

My laptop has an internal 1400x1050 screen, and also a 1280x1024
external screen to its left. It's enabled from my .xinitrc with a
command like 'xrandr --output VGA --mode 1280x1024 --left-of LVDS'.
Apparently due to hardware limitations, if your 'Virtual' is more than
2048x2048 in any dimension, then DRI won't work.

Cheers

Tom


signature.asc
Description: This is a digitally signed message part


How to use rxvt-unicode + OpenSSH

2008-08-29 Thread आशीष शुक्ल Ashish Shukla

Hi,

I'm experiencing an issue related to the terminal capabilities and OpenSSH. I've 
installed x11/rxvt-unicode port on my client and server. When I login to my server 
from urxvt (running on client), I get messages related to terminal capabilities:


88
abbe [~] chateau% ssh notebook
abbe [~] monte-cristo% man ls
WARNING: terminal is not fully functional
abbe [~] monte-cristo% echo $TERM
rxvt-unicode
abbe [~] monte-cristo% tic `pkg_info -xL rxvt-unicode |fgrep 
rxvt-unicode.terminfo`
88

I've also tried exporting TERMINFO=$HOME/.terminfo.db to the server's 
environment, but no success. I'm running zsh on both ends, compiled with ncurses 
from ports instead of base.


88
abbe [~] monte-cristo% ldd `which zsh`
/usr/local/bin/zsh:
libpcre.so.0 = /usr/local/lib/libpcre.so.0 (0x8006cd000)
libiconv.so.3 = /usr/local/lib/libiconv.so.3 (0x8007ff000)
libncursesw.so.5.6 = /usr/local/lib/libncursesw.so.5.6 (0x8009f8000)
libm.so.5 = /lib/libm.so.5 (0x800b25000)
libc.so.7 = /lib/libc.so.7 (0x800c3f000)
libtinfow.so.5.6 = /usr/local/lib/libtinfow.so.5.6 (0x800e5c000)
88-

And the surprising thing is, if I start zsh in urxvt, running on my server, it 
works fine. No such warning printing at all.


Any ideas, what is causing this ?

TIA
Ashish Shukla
--
·-- ·-  ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- --


pgpGTwHbe8C47.pgp
Description: PGP signature


Ports and 64-bit Processors

2008-08-29 Thread FreeBSD Questions
FreeBSD has supported 64-bit architectures for a while now...  Alpha
and UltraSPARC come to mind--even if Alpha is no longer a Tier 1
architecture.  I'm surprised to hear so many of you say that certain
ports are broken on AMD64.  I would think if they worked on other
64-bit processors they'd work on AMD64.  Were the ports that are
broken on AMD64 also broken on those other architectures, too?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Ports and 64-bit Processors

2008-08-29 Thread Bill Moran
In response to FreeBSD Questions [EMAIL PROTECTED]:

 FreeBSD has supported 64-bit architectures for a while now...  Alpha
 and UltraSPARC come to mind--even if Alpha is no longer a Tier 1
 architecture.  I'm surprised to hear so many of you say that certain
 ports are broken on AMD64.  I would think if they worked on other
 64-bit processors they'd work on AMD64.  Were the ports that are
 broken on AMD64 also broken on those other architectures, too?

Most of the ports I've had problems with are desktop applications.
Stuff that doesn't often get installed/used on 64 bit.  It's been a
while since we've tried (about 1 year) but Gnome was pretty unstable
on 64 bit at the time.

Can't say if this is universal across all 64 bit platforms.

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


Re: Ports and 64-bit Processors

2008-08-29 Thread sergio lenzi
Em Sex, 2008-08-29 às 10:57 -0400, Bill Moran escreveu:

 In response to FreeBSD Questions [EMAIL PROTECTED]:
 
  FreeBSD has supported 64-bit architectures for a while now...  Alpha
  and UltraSPARC come to mind--even if Alpha is no longer a Tier 1
  architecture.  I'm surprised to hear so many of you say that certain
  ports are broken on AMD64.  I would think if they worked on other
  64-bit processors they'd work on AMD64.  Were the ports that are
  broken on AMD64 also broken on those other architectures, too?
 
 Most of the ports I've had problems with are desktop applications.
 Stuff that doesn't often get installed/used on 64 bit.  It's been a
 while since we've tried (about 1 year) but Gnome was pretty unstable
 on 64 bit at the time.

I have had good experiences with gnome 2.22 and amd64 in produtcion
systems
running on dell poweredge with  4core cpus (4 logical processors) 2Gb of
memory,
120 users using gnome, evolution, openoffice-3, epiphany, pidgin,
java... postgres
servers and a callcenter dial apllication, that needs an asterisk 1.4.21
(on 64 bit too...)
runs about 24X7 the machine have somestimes 1200 process running full
time
alll the clients are thin clients (amd geode, 32 bits, 64mb)... 100
mbits ethernet
with NO Backup...  uptime is 38 days  Yes... it needs more memory...
===
last pid: 65631;  load averages:  0.89,  1.04,  1.07   up 38+05:23:12
12:23:15
824 processes: 1 running, 814 sleeping, 9 stopped
CPU states:  2.8% user,  0.0% nice,  1.0% system,  0.5% interrupt, 95.7%
idle
Mem: 1147M Active, 100M Inact, 601M Wired, 92M Cache, 213M Buf, 12M Free
Swap: 8192M Total, 1955M Used, 6237M Free, 23% Inuse, 12K In
===
we use it in our notebooks too (dell, acer, hp...) several ones about
20...   64 bits amd64
running on amd hardware or D series intel... 

The 32 bit version we use on the geode hardware..  but stays in the 64
bit machine exported
in a nfs... 

Runs fine...

Sergio


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


Re: Help! Tape drive resets the server!

2008-08-29 Thread Kirk Strauser

On Aug 27, 2008, at 10:22 AM, Kirk Strauser wrote:

Occasionally, whenever I open sa0 for reading (typically when Amanda  
starts

flushing backups to tape), the system resets.


In summary: RAM issues.  Apparently I have to boost the RAM from 1.8V  
to 2.1V, or so says its manufacturer.  Got my fingers crossed!

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


Re: defrag

2008-08-29 Thread Wojciech Puchar


How did you measure it? AFAIK the percentage fragmentation figures given
by windows tools and fsck, aren't measured on the same basis.


I run jkdefrag. I outs an image of fragmented files. In practice work, when i 
defrag the data disks i get 30-40 (even 50) MB/s when copying files using a 
Gigabit ethernet and ftp. This copy speed drops to 9-10 MB/s after some days 
of work.

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


Re: K3b dosent detect either of my burners

2008-08-29 Thread Oliver Peter
On Fri, Aug 29, 2008 at 09:58:39PM +1000, Warren Liddell wrote:
 I have gone through the info from various sites, handbooks, email archives 
 and 
 yet still k3b doesnt detect neither 1 of my 2 SATA Burners .. i use FreeBSD 
 7.0-STABLE KDE4 AMD64. below r the 2 burners as they appear in dmesg.
 
 acd0: DVDR TSSTcorp CDDVDW SH-S203D/SB00 at ata2-master SATA150 
   
  
 acd1: DVDR ATAPI DVD A DH20A3S/9P56 at ata3-master SATA150 

Can you try to load the 'atapicam' module?

-- 
Oliver PETER, email: [EMAIL PROTECTED], ICQ# 113969174
I like to con people. And I like to insult people.
 If you combine con  insult, you get consult!  -- Dogbert


pgpLXvntW4PdT.pgp
Description: PGP signature


ipnat: flush one specific active session

2008-08-29 Thread rvenne

Hi,

I'm using release 7.0 and looking for an idea to flush one specific 
active ipnat session, such like these one:


MAP 192.168.0.8142667 - - 82.229.222.721746 [88.191.60.158 993]
MAP 192.168.0.8140045 - - 82.229.222.744303 [66.163.181.189 5050]
MAP 192.168.0.8147082 - - 82.229.222.720032 [66.163.181.168 5050]
192.168.0.81,72.14.221.109 - 82.229.222.7 (use = 2 hv = 0)
192.168.0.81,88.191.60.158 - 82.229.222.7 (use = 2 hv = 0)
192.168.0.81,212.27.60.48 - 82.229.222.7 (use = 26 hv = 0)
192.168.0.81,66.163.181.189 - 82.229.222.7 (use = 2 hv = 0)
192.168.0.81,66.163.181.168 - 82.229.222.7 (use = 2 hv = 0)

thanks for helps

regards


--
Richard VENNE
IT Administrator

Administrateur réseaux système  sécurité
Afin de respecter de l'environnement, merci de n'imprimer
cet email qu'en cas de nécessité absolue.

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


Re: Ports and 64-bit Processors

2008-08-29 Thread Wojciech Puchar

and UltraSPARC come to mind--even if Alpha is no longer a Tier 1
architecture.  I'm surprised to hear so many of you say that certain
ports are broken on AMD64.  I would think if they worked on other
64-bit processors they'd work on AMD64.  Were the ports that are
broken on AMD64 also broken on those other architectures, too?


no idea. all ports i use are not broken :)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


WRITE errors

2008-08-29 Thread Vince Sabio
I recently installed 7.0-RELEASE, and have recently started seeing 
these in my kernel log:


g_vfs_done():ad2s1a[WRITE(offset=19671924736, length=131072)]error = 5
ad2: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=71976351
ad2: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=36619199
ad2: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=36638271
ad2: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=36638271
ad2: FAILURE - WRITE_DMA status=51READY,DSC,ERROR 
error=84ICRC,ABORTED LBA=36638271

g_vfs_done():ad2s1a[WRITE(offset=1578893312, length=131072)]error = 5

I suspect that the errors are not associated with the upgrade (i.e., 
coincidence). Are they serious, or just something that is being 
reported in v7 that wasn't being reported in v5.1?


__
Vince Sabio  [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: Ports and 64-bit Processors

2008-08-29 Thread Roland Smith
On Fri, Aug 29, 2008 at 10:44:10AM -0400, FreeBSD Questions wrote:
 FreeBSD has supported 64-bit architectures for a while now...  Alpha
 and UltraSPARC come to mind--even if Alpha is no longer a Tier 1
 architecture.  I'm surprised to hear so many of you say that certain
 ports are broken on AMD64.  

AFAIK, it is not as much a question of ports being broken, but there are
some ports that have 'ONLY_FOR_ARCHS=i386' set, e.g. because they are
binary-only ports (e.g. flash plugin, nvidia driver) or because they
contain i386 assembly code or because the code contains assumptions that
are true on i386 but not on amd64 (like the size of a pointer being
equal to the size of an integer).

To see which ports are restricted to certain architectures, try the
following command:

find /usr/ports -type f -name Makefile -exec grep -H ONLY_FOR_ARCH {} \;|less


 I would think if they worked on other 64-bit processors they'd work on
 AMD64.  Were the ports that are broken on AMD64 also broken on those
 other architectures, too?

-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpu8j2C2riZT.pgp
Description: PGP signature


Re: _secure_path: cannot stat /dev/null/.login_conf: Not a directory

2008-08-29 Thread VeeJay
Hi Dan

Thanks for your advice. Could you tell me where I should I start to look for
to make these changes and correct this problem?

Regards

VJ

On Fri, Aug 29, 2008 at 12:08 PM, VeeJay [EMAIL PROTECTED] wrote:

  Hi Dan

 Thanks for your advice. Could you tell me where I should I start to look
 for to make these changes and correct this problem?

 Regards

 VJ

   On Thu, Aug 28, 2008 at 8:13 PM, Dan Nelson [EMAIL PROTECTED]wrote:

 In the last episode (Aug 28), VeeJay said:
  Hi there
 
  I have installed FreeBSD 7.0 production. After installation, I am
 getting
  this message when server boots
 
  Could anybody tell what does it mean and how to fix this error???
 
  _secure_path: cannot stat /dev/null/.login_conf: Not a directory

 Do you maybe have a user account whose home directory is /dev/null ? It
 looks like program (su, maybe?) is looking for ~/.login_conf using the
 _secure_path() function.  Try changing that home directroy to
 /var/empty , which is an empty directory with no write permission
 provided for cases when you need one.

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




 --
 Thanks!

 BR / vj




-- 
Thanks!

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


Mysql Performance Question 4.1.22 vs 5.1.26.rc

2008-08-29 Thread Jim Pazarena

I changed from 4.1.22 to 5.1.26.rc and my performance in a very busy db,
tanked!

could the use of an 'rc' possibly be my issue?

is there any chance that the 'rc' has debugging enabled which is slowing me 
down?
--
Jim Pazarena  [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


IPFW: Is keep/check-state inherent?

2008-08-29 Thread Steve Bertrand

Hi everyone,

I can't recall for certain, but not so long ago, I either read or heard 
about IPFW having implicit keep-state and check-state.


Is it true that I can now omit these keywords in my rulesets?

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


Re: Mysql Performance Question 4.1.22 vs 5.1.26.rc

2008-08-29 Thread Jim Pazarena

Abdullah Ibn Hamad Al-Marri wrote:

- Original Message 


From: Jim Pazarena [EMAIL PROTECTED]
To: FreeBSD freebsd-questions@freebsd.org
Sent: Friday, August 29, 2008 8:34:14 PM
Subject: Mysql Performance Question  4.1.22 vs 5.1.26.rc

I changed from 4.1.22 to 5.1.26.rc and my performance in a very busy db,
tanked!

could the use of an 'rc' possibly be my issue?

is there any chance that the 'rc' has debugging enabled which is slowing me
down?
--
Jim Pazarena  [EMAIL PROTECTED]


Kris said MySQL 5.1.x has performance issues.

Why don't you try 5.0.x?

 Regards,
-Abdullah Ibn Hamad Al-Marri


I already 'updated' the databases to 5.1.26, and I do not think I can change
the databases to go 'back' to 5.0.

Oh my :-[
--
Jim Pazarena  [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: IPFW: Is keep/check-state inherent?

2008-08-29 Thread Christopher Cowart
Steve Bertrand wrote:
 I can't recall for certain, but not so long ago, I either read or heard 
 about IPFW having implicit keep-state and check-state.
 
 Is it true that I can now omit these keywords in my rulesets?

keep-state is not implicit. check-state is not generally necessary,
because dynamic rules are applied at the very first occurrence of a
stateful rule.

I prefer to use keep-state for outbound traffic (something like allow
all from me to any keep-state). For things with inbound connections, I
prefer to not use state (allow tcp from any to me http; allow tcp from
me http to any) in order to prevent remote hosts from using up all the
dynamic rules.

-- 
Chris Cowart
Network Technical Lead
Network  Infrastructure Services, RSSP-IT
UC Berkeley


pgpYl9ZeObsvH.pgp
Description: PGP signature


Re: Mysql Performance Question 4.1.22 vs 5.1.26.rc

2008-08-29 Thread Paul A. Procacci

Jim Pazarena wrote:

I changed from 4.1.22 to 5.1.26.rc and my performance in a very busy db,
tanked!

could the use of an 'rc' possibly be my issue?

is there any chance that the 'rc' has debugging enabled which is 
slowing me down?

Hello,

I've ran some tests just this past week (in fact I emailed 
freebsd-general about this yesterday), unfortunately however it was 
comparing performance between 5.0.51 and 5.1.26.


http://paul.procacci.me/benchmarks/freebsd7-Release.html

5.1 performs worse than 5.0 at higher workloads.  I'm unsure about 4, 
but am quite sure moving to 5.0 is probably the best decision you could 
make.


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


Re: Mysql Performance Question 4.1.22 vs 5.1.26.rc

2008-08-29 Thread Abdullah Ibn Hamad Al-Marri
- Original Message 

 From: Jim Pazarena [EMAIL PROTECTED]
 To: FreeBSD freebsd-questions@freebsd.org
 Sent: Friday, August 29, 2008 8:34:14 PM
 Subject: Mysql Performance Question  4.1.22 vs 5.1.26.rc
 
 I changed from 4.1.22 to 5.1.26.rc and my performance in a very busy db,
 tanked!
 
 could the use of an 'rc' possibly be my issue?
 
 is there any chance that the 'rc' has debugging enabled which is slowing me 
 down?
 -- 
 Jim Pazarena  [EMAIL PROTECTED]

Kris said MySQL 5.1.x has performance issues.

Why don't you try 5.0.x?



 Regards,

-Abdullah Ibn Hamad Al-Marri
Arab Portal
http://www.WeArab.Net/


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


Re: Ports and 64-bit Processors

2008-08-29 Thread Robert Huff
Roland Smith writes:


  To see which ports are restricted to certain architectures, try the
  following command:
  
  find /usr/ports -type f -name Makefile -exec grep -H ONLY_FOR_ARCH {} \;|less

This returned 643 entries, of which 29 listed a reason.
Six of those use assembler code.
122 contain the string linux.
One is listed as alpha only; another, as sparc only.


Robert Huff

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


Re: WRITE errors

2008-08-29 Thread Wojciech Puchar
I recently installed 7.0-RELEASE, and have recently started seeing these in 
my kernel log:


g_vfs_done():ad2s1a[WRITE(offset=19671924736, length=131072)]error = 5
ad2: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=71976351
ad2: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=36619199
ad2: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=36638271
ad2: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=36638271
ad2: FAILURE - WRITE_DMA status=51READY,DSC,ERROR error=84ICRC,ABORTED 
LBA=36638271


that's CRC errors - cable problem
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Ports and 64-bit Processors

2008-08-29 Thread Wojciech Puchar


AFAIK, it is not as much a question of ports being broken, but there are
some ports that have 'ONLY_FOR_ARCHS=i386' set, e.g. because they are
binary-only ports (e.g. flash plugin, nvidia driver) or because they
contain i386 assembly code or because the code contains assumptions that
are true on i386 but not on amd64 (like the size of a pointer being
equal to the size of an integer).


you may just copy binaries onto amd64 system and they will work in 32-bit 
mode.


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


finding which apps use a given port

2008-08-29 Thread Zbigniew Szalbot

Hi,

For a long time there has been a problem with posix-something port (as 
reported by portaudit) and I do not see an update to this particular 
port. How would I go about checking which ports/applications use this 
particular posix port? I am tempted to remove it but need to check why 
it is there in first place...


Many thanks in advance!

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


Re: Mysql Performance Question 4.1.22 vs 5.1.26.rc

2008-08-29 Thread Wojciech Puchar

I changed from 4.1.22 to 5.1.26.rc and my performance in a very busy db,
tanked!


why not 7?


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


Re: Mysql Performance Question 4.1.22 vs 5.1.26.rc

2008-08-29 Thread Wojciech Puchar

sorry i mistaken SQL versions with FreeBSD versions.

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


finding which apps use a given port

2008-08-29 Thread Robert Huff

Zbigniew Szalbot writes:

  For a long time there has been a problem with posix-something port (as 
  reported by portaudit) and I do not see an update to this particular 
  port. How would I go about checking which ports/applications use this 
  particular posix port? I am tempted to remove it but need to check why 
  it is there in first place...

pkg_info -R port_name
This assumes you have it installed.  If not, you can try
grepping the ports tree ... which can get messy if many ports depend
on it.


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


Re: finding which apps use a given port

2008-08-29 Thread Zbigniew Szalbot

Hello,

Robert Huff pisze:
 For a long time there has been a problem with posix-something port (as 
 reported by portaudit) and I do not see an update to this particular 
 port. How would I go about checking which ports/applications use this 
 particular posix port? I am tempted to remove it but need to check why 
 it is there in first place...


pkg_info -R port_name
This assumes you have it installed.  If not, you can try
grepping the ports tree ... which can get messy if many ports depend
on it.
Ah - I should have read pkg_info man. I often use it with -Ix switch but 
failed to see that it can also check dependencies.


Now I know it is required by php5-extensions-1.1. Do you think I should 
be relatively safe by commenting it out in the extensions file, 
restarting apache and seeing what is going on?


I still do not know which application really needs posix. But many 
thanks Robert!


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


BIND DNS Patching on 6.1, 6.2

2008-08-29 Thread gpeel
Hi all,

I have ten webservers that I would like nothing more than to update to 6.3 or 
7.x

But right now I just dont have time.

I was wondering if anyone has tried the patches BIND DNS Poioning listed on 
the freebsd homepage (security advisories) on 6.1 and/or 6.2 and if they 
worked OK.

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


Re: BIND DNS Patching on 6.1, 6.2

2008-08-29 Thread gpeel
Hi Again,

When I posted this question originally, I had forgotten that I had a devel 
server running FreeBSD 6.2-RELEASE. I tried the 6.3 patch, and it would not 
make properly.

I was thinking I would try the BIND959.5.0 port, but it apprears that this 
version is still vulneralbe.

So I suppose the only question is, what branch + version should one upgrade 
to to secure this. (I assume 6.3 RELENG or 6 Stable).

COmments please,

-Grant


On Fri, 29 Aug 2008 14:29:13 -0400, gpeel wrote
 Hi all,
 
 I have ten webservers that I would like nothing more than to update 
 to 6.3 or 
 7.x
 
 But right now I just dont have time.
 
 I was wondering if anyone has tried the patches BIND DNS Poioning 
 listed on the freebsd homepage (security advisories) on 6.1 and/or 
 6.2 and if they worked OK.
 
 -Grant
 ___
 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]


Mouse doesn't work in Gnome after install

2008-08-29 Thread Joe Tseng
I'm still a FreeBSD newbie so I'm still feeling my way around...  Got two mouse 
problems:

1. I just installed FreeBSD 7 on a laptop and got Gnome running.  The mouse 
works with the trackpad but not the USB mouse.
2. I just installed FreeBSD 7 as a VMWare Server guest and got Gnome running.  
The mouse doesn't work at all.

Are these issues related?  What do I do now?

tia,

 - Joe

_
Get thousands of games on your PC, your mobile phone, and the web with Windows®.
http://clk.atdmt.com/MRT/go/108588800/direct/01/___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: OT: most universal file system for 1TB external USB2 hard drive

2008-08-29 Thread Andrew Gould
On Fri, Aug 22, 2008 at 7:17 PM, RW [EMAIL PROTECTED] wrote:


 There is also NTFS through ntfs-3g ,which is available for all of the
 above (sysutils/fusefs-ntfs on FreeBSD). Having a native Windows
 filesystem is sensible on a portable drive, and fat32 is not a great
 filesystem.

 http://www.ntfs-3g.org
 ___
  freebsd-questions@freebsd.org


Great suggestion!

I have NTFS support compiled into the kernel.  Do you know if this conflicts
with the usage of ntfs-3g?

Thanks,

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


Re: OT: most universal file system for 1TB external USB2 hard drive

2008-08-29 Thread RW
On Fri, 29 Aug 2008 15:21:40 -0500
Andrew Gould [EMAIL PROTECTED] wrote:

 On Fri, Aug 22, 2008 at 7:17 PM, RW [EMAIL PROTECTED]
 wrote:
 
 
  There is also NTFS through ntfs-3g ,which is available for all of
  the above (sysutils/fusefs-ntfs on FreeBSD). Having a native Windows
  filesystem is sensible on a portable drive, and fat32 is not a great
  filesystem.
 
  http://www.ntfs-3g.org
  ___
   freebsd-questions@freebsd.org
 
 
 Great suggestion!
 
 I have NTFS support compiled into the kernel.  Do you know if this
 conflicts with the usage of ntfs-3g?

I wouldn't have thought so, it uses the fuse kernel module, the rest is
in userland.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


NFS and File Over Write Performance

2008-08-29 Thread Derek Buttineau
Just curious if anyone has run into this before.  We are testing an HP  
DL380 G5 Storage Server.  The odd thing I'm experiencing is when over  
writing a file on the NFS share with the FreeBSD NFS client my  
transfer speed is about 1/3 of what it is if I'm creating a new file  
on the share.  This is all over a 1Gb link and I'm using clpbar to  
monitor speeds on the copy.


From my tests, initial file creation gets me about 89MB/s, while  
overwriting gets me about 25MB/s


The same test using RHEL4 as the client gives a consistent 79MB/s for  
creation and overwrite.


Seems very strange and I've tested from FreeBSD 6.2, 6.3 and 7.0, all  
with the same results.


Any thoughts?

Thanks,

Derek


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


Re: Ports and 64-bit Processors

2008-08-29 Thread Diego F. Arias R.
On Fri, Aug 29, 2008 at 10:34 AM, sergio lenzi [EMAIL PROTECTED] wrote:
 Em Sex, 2008-08-29 às 10:57 -0400, Bill Moran escreveu:

 In response to FreeBSD Questions [EMAIL PROTECTED]:

  FreeBSD has supported 64-bit architectures for a while now...  Alpha
  and UltraSPARC come to mind--even if Alpha is no longer a Tier 1
  architecture.  I'm surprised to hear so many of you say that certain
  ports are broken on AMD64.  I would think if they worked on other
  64-bit processors they'd work on AMD64.  Were the ports that are
  broken on AMD64 also broken on those other architectures, too?

 Most of the ports I've had problems with are desktop applications.
 Stuff that doesn't often get installed/used on 64 bit.  It's been a
 while since we've tried (about 1 year) but Gnome was pretty unstable
 on 64 bit at the time.

 I have had good experiences with gnome 2.22 and amd64 in produtcion
 systems
 running on dell poweredge with  4core cpus (4 logical processors) 2Gb of
 memory,
 120 users using gnome, evolution, openoffice-3, epiphany, pidgin,
 java... postgres
 servers and a callcenter dial apllication, that needs an asterisk 1.4.21
 (on 64 bit too...)
 runs about 24X7 the machine have somestimes 1200 process running full
 time
 alll the clients are thin clients (amd geode, 32 bits, 64mb)... 100
 mbits ethernet
 with NO Backup...  uptime is 38 days  Yes... it needs more memory...
 ===
 last pid: 65631;  load averages:  0.89,  1.04,  1.07   up 38+05:23:12
 12:23:15
 824 processes: 1 running, 814 sleeping, 9 stopped
 CPU states:  2.8% user,  0.0% nice,  1.0% system,  0.5% interrupt, 95.7%
 idle
 Mem: 1147M Active, 100M Inact, 601M Wired, 92M Cache, 213M Buf, 12M Free
 Swap: 8192M Total, 1955M Used, 6237M Free, 23% Inuse, 12K In
 ===
 we use it in our notebooks too (dell, acer, hp...) several ones about
 20...   64 bits amd64
 running on amd hardware or D series intel...

 The 32 bit version we use on the geode hardware..  but stays in the 64
 bit machine exported
 in a nfs...

 Runs fine...

 Sergio



Hi

How do you set up those clients. Im a bit curious
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: K3b dosent detect either of my burners

2008-08-29 Thread Warren Liddell
On Saturday 30 August 2008 01:46:04 Oliver Peter wrote:
 On Fri, Aug 29, 2008 at 09:58:39PM +1000, Warren Liddell wrote:
  I have gone through the info from various sites, handbooks, email
  archives and yet still k3b doesnt detect neither 1 of my 2 SATA Burners
  .. i use FreeBSD 7.0-STABLE KDE4 AMD64. below r the 2 burners as they
  appear in dmesg.
 
  acd0: DVDR TSSTcorp CDDVDW SH-S203D/SB00 at ata2-master SATA150
  acd1: DVDR ATAPI DVD A DH20A3S/9P56 at ata3-master SATA150

 Can you try to load the 'atapicam' module?

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


Re: defrag

2008-08-29 Thread Gerard
On Fri, 29 Aug 2008 13:44:20 +1000 (EST)
Ian Smith [EMAIL PROTECTED] wrote:

 On Thu, 28 Aug 2008 13:33:35 +0200 (CEST)
 Wojciech Puchar [EMAIL PROTECTED] wrote:
 
   CP/M was single-user and was used on floppies up to 360kB AFAIK, 
 
 And MP/M was multi-user, using the same filesystem.  From memory,
 there was perhaps one byte that indicated which user owned a file :)
 
   NTFS is a theft of OS/2 HPFS. they didn't even bothered to use
   other partition ID :), but they managed to f..k^H^H^H^Hextend it's 
   functionality, so it's actually even slower than FAT, and too -
   does nothing to prevent fragmentation.
 
 It wasn't (straight-up) theft; MS cut a deal with IBM to use HPFS and 
 OS/2, more or less in exchange for letting IBM licence Windows 3.1 as 
 WINOS/2
 
 When things went sour - google provides days of happy reading if
 you're interested - MS morphed it into NTFS for NT, cruelled the deal
 with IBM so OS/2 couldn't run NT/Win95 apps (signing OS/2's death
 warrant, though it took a long time to die) and stopped distributing
 OS/2 themselves.

It might be worth mentioning that things deteriorated swiftly when IBM
insisted that Microsoft, who was writing OS/2 for IBM, write the code
specifically for the 286 processor. Bill Gates personally invaded the
Armonk IBM headquarters and basically told the IBM execs that they were
making a colossal mistake. When IBM refused to back down, Gates gave
them what they wanted. The rest is history. IBM signed their own 'death
warrant'. Remember, Gates once offered to sell DOS to IBM for $10,000
dollars, and IBM turned him down.

 
   This is normal, as Microsoft make a problems to be able to fix
   it (creating 3 times more others) in new releases, so idiots
   continue to buy new versions of windoze and new hardware, just to
   do as simple task as writing a few-paged document or view a webpage

First of all , I would be careful who I called an idiot. Secondly, you
obviously have no business knowledge. Products, whether they are cars,
drugs, etc. are improved and reissued to the general public. That is
just the name of the game.

 
 Yeah, yeah :)  I'd be surprised if NTFS isn't as defrag-proof as
 HPFS, which as I recall had self-defragging garbage-collecting
 features built in; certainly I never felt the need to defrag any HPFS
 volumes, and I used it for quite a few years to run BBS and Fidonet
 stuff, not once losing any data .. HPFS was a very resiliant and
 reliable filesystem.
 
 If you compare:
 % find /usr/src -name *hpfs*
 with
 % find /usr/src -name *ntfs*
 
 you'll go 'hmmm ..' and if you look through the sources you'll see
 whole large slabs of code that are shared between those two
 implementations, by the same author.
 
 I've never tried writing to HPFS volumes, but I did recover many
 years of work and play from a number of HPFS disks and still hope to
 do some more someday, so I was glad to see the code is still there in
 7.0 ..
 
 cheers, Ian


signature.asc
Description: PGP signature


starting linux-nero

2008-08-29 Thread Warren Liddell
i've compiled linux-nero, but i cant seemto find to command line to start the 
application .. am i losing the plot ?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: K3b dosent detect either of my burners

2008-08-29 Thread Manolis Kiagias

Warren Liddell wrote:

On Saturday 30 August 2008 01:46:04 Oliver Peter wrote:
  

On Fri, Aug 29, 2008 at 09:58:39PM +1000, Warren Liddell wrote:


I have gone through the info from various sites, handbooks, email
archives and yet still k3b doesnt detect neither 1 of my 2 SATA Burners
.. i use FreeBSD 7.0-STABLE KDE4 AMD64. below r the 2 burners as they
appear in dmesg.

acd0: DVDR TSSTcorp CDDVDW SH-S203D/SB00 at ata2-master SATA150
acd1: DVDR ATAPI DVD A DH20A3S/9P56 at ata3-master SATA150
  

Can you try to load the 'atapicam' module?



Yeah i have it loaded :)
___
  


When the atapicam module is loaded, it treats ATAPI CDs like SCSI ones, 
so you should get names like cd0 and cd1. Can you perform an ls /dev/cd* 
and see if these devices exist? I haven't used a SATA recorder in my 
machine yet, but since the ata driver attaches to them, I see no reason 
they should not work with atapicam. Have you tried burning from the 
command line? And have you followed all the post-install instructions in 
k3b? (try make showinfo in the port's directory).

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


Re: K3b dosent detect either of my burners

2008-08-29 Thread Warren Liddell

 When the atapicam module is loaded, it treats ATAPI CDs like SCSI ones,
 so you should get names like cd0 and cd1. Can you perform an ls /dev/cd*
 and see if these devices exist? I haven't used a SATA recorder in my
 machine yet, but since the ata driver attaches to them, I see no reason
 they should not work with atapicam. Have you tried burning from the
 command line? And have you followed all the post-install instructions in
 k3b? (try make showinfo in the port's directory).

I got /dev/cd0  /dev/cd1

I went through most instructions in the showinfo, although 1 part had me 
confused ..

/etc/devfs.rules under '[system=10]'  --- devfs.rules dose'nt exist

burning from command line works fine but is a tiresome nuisance
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: BIND DNS Patching on 6.1, 6.2

2008-08-29 Thread Lars Kristiansen

gpeel skrev:
I was thinking I would try the BIND959.5.0 port, but it apprears that this 
version is still vulneralbe.


The port dns/bind95 is patched:
$ named -version
BIND 9.5.0-P2

Easily installed with the option WITH_REPLACE_BASE.


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


Re: tcpdump question

2008-08-29 Thread Agus
2008/8/29 Olivier Nicole [EMAIL PROTECTED]:
 Edward,

 I want to know what's meaning of 'S','.','P','F'?

 You should learn a bit about TCP protocol.

 S is for SYN (synchronize)
 P is for PUSH
 F is for FIN
 . is for nothing

 Pakets are:

 3 way hand shake initiate TCP connection
 client  server SYN
 sever  client SYN ACK
 client  server ACK

 client  server send data
 server  client ACK and send data
 client  server ACK

 tTermination
 client  server FIN
 server  client ACK
 server  cient FIN
 client  server ACK

 ACk means acknowledge.

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


Hi,

Not too much to add...exept that yes..you need to have a look at
TCP/IP to understand what those flags and packets mean

The SYN flag is used to initiate a conversation...like they
put..synchronize, is also the first part of the three way handshacke
which is the complete negotation for the transmission to begin...you
will see sequence and acck numbers also...

Then the PUSH flag is to push data..so it probably means that that
packet is for the app layer..or something similar...

Then the FIN which is the polite way to finish the conversationsee
taht it usses 4 ways instead of the three to establish...that is cause
FIN probably consumes ACKs while SYN and ACKs doesnt.
Theres also another flag to end the communication that is the R -
RESET- Usually sent back to app trying to talk to other's box with
close port..

Very highly recommende the TCP Illustrated Vol 1 by Richard Stevens...

Sorry if i missed or probably have something wrong...

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


RE: mysql-server-5.1.22 system administration docsonFreeBSD7.0-RELEASE-i386 ?

2008-08-29 Thread David Christensen
Reordered for clarity -- David.


I used pkg_add (rather than sysinstall) to install MySQL 5.1 server on another
machine.  While the port is called 'mysql-server-5.1.22', the package is called
'mysql51-server':

# cd /usr/ports/

# make search mysql
...
Port:   mysql-server-5.1.22
Path:   /usr/ports/databases/mysql51-server
Info:   Multithreaded SQL database (server)
Maint:  [EMAIL PROTECTED]
B-deps: gettext-0.16.1_3 gmake-3.81_2 libiconv-1.11_1 libtool-1.5.24
 mysql-client-5.1.22
R-deps: mysql-client-5.1.22
WWW:http://www.mysql.com/
...

# pkg_add -rK mysql51-server

Added group mysql.
Added user mysql.
...

Note the messages regarding the added group and user.


joeb wrote:
 To autostart mysql at boot add this to /etc/rc.conf
 mysql_enable=YES
 Add this to /etc/rc.conf to direct to use this location where there
 is disk space to hold your databases
 mysql_dbdir=/usr/local/mysql

mysql_enable and mysql_dbvar are briefly documented in
/usr/local/etc/rc.d/mysql-server:

# Add the following line to /etc/rc.conf to enable mysql:
# mysql_enable (bool):  Set to NO by default.
#   Set it to YES to enable MySQL.
# mysql_limits (bool):  Set to NO by default.
#   Set it to yes to run `limits -e -U mysql`
#   just before mysql starts.
# mysql_dbdir (str):Default to /var/db/mysql
#   Base database directory.
# mysql_args (str): Custom additional arguments to be passed
#   to mysqld_safe (default empty).


 You have to tell mysql to create its internal control db
 by running this command one time first before trying to create databases.
 mysql_install_db --user=mysql

The usage message for /usr/local/bin/mysql_install_db states:

  --user=user_name The login username to use for running mysqld.  Files
   and directories created by mysqld will be owned by this
   user.  You must be root to use this option.  By default
   mysqld runs using your current login name and files and
   directories that it creates will be owned by you.


Your pointer likely saved me from running mysql_install_db as root and then
wondering why the server blows up when started (trying to read/write files owned
by root).


 The online mysql manual is at
 http://dev.mysql.com/doc/refman/5.0/en/index.html

The MySQL 5.1 Reference Manual (English) is here:

http://dev.mysql.com/doc/refman/5.1/en/index.html


 To start or stop mysql server do this
 /usr/local/share/mysql/mysql.server start
 /usr/local/share/mysql/mysql.server stop
...
 To verify mysql is operational issue these commands
 mysqladmin version
 mysqladmin variables
 To start command line session with mysql server to
 create a DB enter
 mysql -u root
...
 The mysql databases and log files are written here
 /var/db/mysql

Okay.


Thanks!

David

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


Re: Dual (zaphod) head on Intel i810 does not work for FreeBSD V7.0 Release

2008-08-29 Thread Ray Newman

Hi,

Using the intel driver, I can *ALMOST* get there.  What I want to
do is run KDE and general apps on the first screen - LVDS ( :0.0 )
and run one single X app on the second screen - CRT ( :0.1 ).

Using the intel drivers, I can't get KDE to leave the second
screen alone.  In fact, it keeps moving the panel to it.
The docs with the intel driver say it just doesn't support
dual (zaphod) head mode.

Are the i810 drivers still in use?  They also *ALMOST* get there
in zaphod mode - they just stuff the screen modes at the last moment.


Ray Newman


On 29/08/2008, at 11:44 PM, Tom Evans wrote:


On Fri, 2008-08-29 at 17:56 +1000, Ray Newman wrote:

Hi,

Under FreeBSD V6.2 Release (X 6.9.0 and i810 1.4.1) with this
xorg.conf, this log file
is produced and the dual screen config works.


Under FreeBSD V7.0 Release (X 1.4.0 and i810 1.6.5) with this  
xorg.conf which is nearly
identical with the previous one, this log file is produced and the  
dual screen doesn't work.

It seems to get the primary and secondary screens totally confused.

Ray Newman
29 Aug 2008



With X 1.4, use driver intel ( x11-drivers/xf86-video-intel ) and  
xrandr
to achieve the same effect. This has the benefit of dynamically  
enabling
or disabling additional heads. The configuration is slightly  
different,
here is a pertinent snippet from mine for comparison. There is only  
one

device, screen and monitor specified in the conf.

Section Device
Identifier  Card0
Driver  intel
VendorName  Intel Corporation
Option  DRI true
BoardName   Mobile Integrated Graphics Controller
BusID   PCI:0:2:0
Screen  0
EndSection

Section Screen
Identifier  Screen0
Device  Card0
Monitor Monitor0
SubSection Display
Viewport0 0
Depth   32
Modes   1400x1050
Virtual 26801050
EndSubSection
EndSection

My laptop has an internal 1400x1050 screen, and also a 1280x1024
external screen to its left. It's enabled from my .xinitrc with a
command like 'xrandr --output VGA --mode 1280x1024 --left-of LVDS'.
Apparently due to hardware limitations, if your 'Virtual' is more than
2048x2048 in any dimension, then DRI won't work.

Cheers

Tom


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