FreeBSD IBM Thinkpad - What Model to Choose?

2009-08-02 Thread herbert langhans
Hi Daemons,
I bet there are FreeBSD-on-Thinkpad users out there. I need some help..

At the moment I search for a laptop, a used model from auction sites, 
preferably an IBM Thinkpad. There is a huge number of different models, even a 
Wiki with all the specs. But all the info doesn't help me to decide what model 
works best for me with FreeBSD. I also have no idea if the BSD drivers work out 
of the box. No dual boot required - I'll dump the Windows stuff.

The model I search for is a cheap low-end type. Small harddisk is fine too, it 
even can be slow - I use mostly vim, fluxbox, a few small gtk-ports and even 
get by with a text browser like lynx. 

Otherwise I would really reqire the Thinkpad to be slim and have some kind of 
low power consumption (this depends on the kind of processor I guess - I have 
no clue what processor is a good choice). And an opportunity to use a 
PCMCIA-Card for a Wifi connection (and drivers for them!).

Do you have any good/bad experiences with certain IBM Thinkpads?
Is there any special model (line) I should look for?
Are there any options I should look for or avoid (no BSD drivers available i.e)?

Thanks for your time!
herb langhans




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


pgpsendmail instructions

2009-08-02 Thread Familie van der Schaft
LS,

I am trying to get pgpsenmail working but i can't  figure out what to do.
For example which instance of sendmail can/must  be replaced:

/usr/libexec/sendmail (which is symbolic link)
/usr/sbin/sendmail

in both cases, i get the following message:

/etc/rc.d ./sendmail  restart
sendmail not running? (check /var/run/sendmail.pid).
Starting sendmail.
SENDMAIL refers back to PGPsendmail!
Someone didn't read the installation notes...
/etc/rc.d sendmail forcestart
SENDMAIL refers back to PGPsendmail!
Someone didn't read the installation notes...

But where can i find these instructions (notes).
The man-page (pgpsendmail(8)) does not give any extra info.
Can anybody help me?

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


Re: pgpsendmail instructions

2009-08-02 Thread Glen Barber
On Sun, Aug 2, 2009 at 6:48 AM, Familie van der
Schaftfam.vandersch...@kpnplanet.nl wrote:
 LS,

 I am trying to get pgpsenmail working but i can't  figure out what to do.
 For example which instance of sendmail can/must  be replaced:

 /usr/libexec/sendmail (which is symbolic link)

What do you have this linked to?
/usr/libexec/sendmail - /usr/libexec/sendmail/sendmail ?

 /usr/sbin/sendmail

 in both cases, i get the following message:

 /etc/rc.d ./sendmail  restart
 sendmail not running? (check /var/run/sendmail.pid).
 Starting sendmail.
 SENDMAIL refers back to PGPsendmail!
 Someone didn't read the installation notes...

Sometimes the problem is explained in the errors...
Other times, pkg-message would be helpful in a port.

%ls -1 /usr/ports/mail/pgpsendmail/
Makefile
distinfo
files
pkg-descr
pkg-plist

 /etc/rc.d sendmail forcestart
 SENDMAIL refers back to PGPsendmail!
 Someone didn't read the installation notes...

 But where can i find these instructions (notes).
 The man-page (pgpsendmail(8)) does not give any extra info.
 Can anybody help me?


Have a look at mailer.conf(5)

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


Re: pgpsendmail instructions

2009-08-02 Thread bsd schaft
Glenn,

My mailer.conf contains:

/etc/mail cat mailer.conf
# $FreeBSD: src/etc/mail/mailer.conf,v 1.3.34.1 2009/04/15 03:14:26 kensmith
Exp $
#
# Execute the real sendmail program, named /usr/libexec/sendmail/sendmail
#
sendmail/usr/libexec/sendmail/sendmail
send-mail   /usr/libexec/sendmail/sendmail
mailq   /usr/libexec/sendmail/sendmail
newaliases  /usr/libexec/sendmail/sendmail
hoststat/usr/libexec/sendmail/sendmail
purgestat   /usr/libexec/sendmail/sendmail

regarding the symbolic link:

/etc/mail ls -l /usr/sbin/sen*
lrwxr-xr-x  1 root  wheel 21 May 31 10:28 /usr/sbin/sendmail -
/usr/sbin/mailwrapper

It was the /usr/sbin/sendmail, sorry about that!

So lets say , we replace the /usr/libexec/sendmail/sendmail with the
pgpsendmail object from /usr/local/lib.

/etc/mail cd /usr/libexec/sendmail/
/usr/libexec/sendmail ls -l
total 704
-r-xr-sr-x  1 root  smmsp  665512 May 31 10:28 sendmail
-r-xr-sr-x  1 root  smmsp   30944 Jul 23 19:17 sendmail.pgp
/usr/libexec/sendmail mv sendmail sendmail.real
/usr/libexec/sendmail mv sendmail.pgp sendmail

As you can see, exactly the same security and all.
Now check my env , for the PGPPATH variable:

SHELL=/usr/local/bin/bash
TERM=xterm
OLDPWD=/etc/mail
USER=root
PAGER=more
FTP_PASSIVE_MODE=YES
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin
:/root/bin
MAIL=/var/mail/root
BLOCKSIZE=K
PWD=/usr/libexec/sendmail
PS1=$PWD 
SHLVL=1
HOME=/root
_=/usr/bin/env

Not there, so i can restart the process...

/etc/rc.d ./sendmail restart
Stopping sendmail.
Starting sendmail.
SENDMAIL refers back to PGPsendmail!
Someone didn't read the installation notes...

I checked the pkg-message file:

/usr/ports/mail/pgpsendmail ls -l
total 10
-rw-r--r--  1 root  wheel  640 Oct 16  2005 Makefile
-rw-r--r--  1 root  wheel  204 Nov 25  2005 distinfo
drwxr-xr-x  2 root  wheel  512 May 31 17:07 files
-rw-r--r--  1 root  wheel  456 Apr 17  1995 pkg-descr
-rw-r--r--  1 root  wheel   58 Aug 17  1998 pkg-plist

But is is not there...
What can i do next, add/replace a line in mailer.conf:

sendmail/usr/local/lib/pgpsendmail

Again, after a restart, i receive the same error...

,Danny




- Original Message - 
From: Glen Barber glen.j.bar...@gmail.com
To: Familie van der Schaft fam.vandersch...@kpnplanet.nl
Cc: freebsd-questions@freebsd.org
Sent: Sunday, August 02, 2009 1:08 PM
Subject: Re: pgpsendmail instructions


On Sun, Aug 2, 2009 at 6:48 AM, Familie van der
Schaftfam.vandersch...@kpnplanet.nl wrote:
 LS,

 I am trying to get pgpsenmail working but i can't figure out what to do.
 For example which instance of sendmail can/must be replaced:

 /usr/libexec/sendmail (which is symbolic link)

What do you have this linked to?
/usr/libexec/sendmail - /usr/libexec/sendmail/sendmail ?

 /usr/sbin/sendmail

 in both cases, i get the following message:

 /etc/rc.d ./sendmail restart
 sendmail not running? (check /var/run/sendmail.pid).
 Starting sendmail.
 SENDMAIL refers back to PGPsendmail!
 Someone didn't read the installation notes...

Sometimes the problem is explained in the errors...
Other times, pkg-message would be helpful in a port.

%ls -1 /usr/ports/mail/pgpsendmail/
Makefile
distinfo
files
pkg-descr
pkg-plist

 /etc/rc.d sendmail forcestart
 SENDMAIL refers back to PGPsendmail!
 Someone didn't read the installation notes...

 But where can i find these instructions (notes).
 The man-page (pgpsendmail(8)) does not give any extra info.
 Can anybody help me?


Have a look at mailer.conf(5)

-- 
Glen Barber







No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 8.5.392 / Virus Database: 270.13.40/2276 - Release Date: 08/01/09
18:04:00

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


Sony PRS-505 Reader and camcontrol load problem

2009-08-02 Thread Andrei Crivoi
Hi gaise,
i'm trying to mount a memory stick card on my Sony Portable Reader PRS-505
device and constantly getting the Error received from start unit command
message when issuing camcontrol load command.
Here is the full log:

[r...@morbo /usr/home/andrei]# camcontrol rescan all
Re-scan of bus 0 was successful
Re-scan of bus 1 was successful

[r...@morbo /usr/home/andrei]# camcontrol devlist
Sony PRS-505/UC 1000 at scbus1 target 0 lun 0 (pass0,da0)
Sony PRS-505/UC:MS 1000  at scbus1 target 0 lun 1 (pass1,da1)
Sony PRS-505/UC:SD 1000  at scbus1 target 0 lun 2 (pass2,da2)

[r...@morbo /usr/home/andrei]# camcontrol load 1:0:1
Error received from start unit command

The most interesting fact - 'camcontrol format' somehow saves the situation:

[r...@morbo /usr/home/andrei]# camcontrol format 1:0:1
You are about to REMOVE ALL DATA from the following device:
pass1: Sony PRS-505/UC:MS 1000 Removable Direct Access SCSI-2 device
40.000MB/s transfers
Are you SURE you want to do this? (yes/no) yes
Current format timeout is 10800 seconds
Enter new timeout in seconds or press
return to keep the current timeout [10800]
camcontrol: Unexpected SCSI error during format
(pass1:umass-sim0:0:0:1): TEST UNIT READY. CDB: 0 20 0 0 0 0
(pass1:umass-sim0:0:0:1): CAM Status: SCSI Status Error
(pass1:umass-sim0:0:0:1): SCSI Status: Check Condition
(pass1:umass-sim0:0:0:1): UNIT ATTENTION asc:28,0
(pass1:umass-sim0:0:0:1): Not ready to ready change, medium may have changed

[r...@morbo /usr/home/andrei]# camcontrol load 1:0:1
Unit started successfully, Media loaded

And now i'm able to mount the device:
[r...@morbo /usr/home/andrei]# sudo mount -t msdosfs /dev/da1 /media/
mount_msdosfs: /dev/da1: : Invalid argument
[r...@morbo /usr/home/andrei]# sudo mount -t msdosfs /dev/da1s1 /media/

Somebody please explain what is going on and why can't i load the device
without trying to format it first.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Filezilla doesn't work after libjpeg upgrade

2009-08-02 Thread Leonardo M . Ramé

Thanks Dan, it was WxGTK2 that caused the issue. It was solved by a simple 
portupgrade wxgtk2.


Leonardo M. Ramé
http://leonardorame.blogspot.com


--- On Sat, 8/1/09, Dan Nelson dnel...@allantgroup.com wrote:

 From: Dan Nelson dnel...@allantgroup.com
 Subject: Re: Filezilla doesn't work after libjpeg upgrade
 To: Leonardo M. Ramé martinr...@yahoo.com
 Cc: freebsd-questions@freebsd.org
 Date: Saturday, August 1, 2009, 7:28 PM
 In the last episode (Aug 01),
 Leonardo M. Ramé said:
  
  A couple of weeks ago I upgraded libjpeg to 10, and
 had to upgrade a bunch
  of programs that required this library.
  
  Today I needed to use FileZilla client and received
 this error:
  
  /libexec/ld-elf.so.1: Shared object libjpeg.so.9 not
 found, required by libwx_gtk2_aui-2.8.so.0
  
  I tried to recompile FileZilla to avoid the error and
 it is still showing.
 
 Sounds like you missed upgrading whatever port installed
 libwx_gtk2_aui-2.8.so.0, since it still depends on
 libjpeg.so.9.  Run
 locate libwx_gtk2_aui-2.8.so.0, then pkg_info -W
 (whatever locate
 finds), then portupgrade -f (whatever pkg_info finds).
 
 -- 
     Dan Nelson
     dnel...@allantgroup.com
 



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


Dell Touchpad and Mouse

2009-08-02 Thread Leonardo M . Ramé

Hi, my home computer is a Dell Inspiron 1525. When I use it in Windows, the 
touchpad is automatically disabled when I connect an USB mouse. I noted in 
FreeBSD the mouse and touchpad are allways enabled.

Does anyone knows how can I fix this?.

Leonardo M. Ramé
http://leonardorame.blogspot.com



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


+ahd0: Transmission error detected

2009-08-02 Thread Gelsema, P (Patrick) - FreeBSD
Hi,
I received this erron on my Freebsd 7-Stable (1 or 2 months old).

I dont know how to read this error. Is this hardware? Or a software issue?

Box is still running, 3 x SCSI and a ZFS pool on 3 SATA disks.

Cheers,

Patrick

Logs

+ahd0: Transmission error detected
+LQISTAT1[0x0] LASTPHASE[0x1]:(P_DATAOUT|P_BUSFREE)
+SCSISIGI[0x60]:(P_DATAIN_DT) PERRDIAG[0x4]:(CRCERR)
+ Dump Card State Begins 
+ahd0: Dumping Card State at program address 0x27 Mode 0x33
+Card was paused
+INTSTAT[0x8]:(SCSIINT) SELOID[0x2] SELID[0x20] HS_MAILBOX[0x0]
+INTCTL[0xc0]:(SWTMINTEN|SWTMINTMASK) SEQINTSTAT[0x10]:(SEQ_SWTMRTO)
+SAVED_MODE[0x11] DFFSTAT[0x20]:(CURRFIFO_0|FIFO1FREE)
+SCSISIGI[0x76]:(P_DATAIN_DT|REQI|BSYI|ATNI) SCSIPHASE[0x2]:(DATA_IN_PHASE)
+SCSIBUS[0x5] LASTPHASE[0x1]:(P_DATAOUT|P_BUSFREE)
+SCSISEQ0[0x0] SCSISEQ1[0x12]:(ENAUTOATNP|ENRSELI)
+SEQCTL0[0x10]:(FASTMODE) SEQINTCTL[0x0] SEQ_FLAGS[0x0]
+SEQ_FLAGS2[0x0] QFREEZE_COUNT[0x39] KERNEL_QFREEZE_COUNT[0x39]
+MK_MESSAGE_SCB[0xff00] MK_MESSAGE_SCSIID[0xff] SSTAT0[0x0]
+SSTAT1[0x19]:(REQINIT|BUSFREE|PHASEMIS) SSTAT2[0x0]
+SSTAT3[0x0] PERRDIAG[0x0] SIMODE1[0xa4]:(ENSCSIPERR|ENSCSIRST|ENSELTIMO)
+LQISTAT0[0x0] LQISTAT1[0x0] LQISTAT2[0x80]:(PACKETIZED)
+LQOSTAT0[0x0] LQOSTAT1[0x0] LQOSTAT2[0x81]:(LQOSTOP0)
+
+SCB Count = 512 CMDS_PENDING = 11 LASTSCB 0x1f3 CURRSCB 0x1f3 NEXTSCB 0xffc0
+qinstart = 59875 qinfifonext = 59875
+QINFIFO:
+WAITING_TID_QUEUES:
+Pending list:
+499 FIFO_USE[0x0] SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x27]
+508 FIFO_USE[0x0] SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x27]
+419 FIFO_USE[0x0] SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x27]
+451 FIFO_USE[0x0] SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x27]
+414 FIFO_USE[0x0] SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x27]
+406 FIFO_USE[0x0] SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x27]
+450 FIFO_USE[0x0] SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x27]
+417 FIFO_USE[0x0] SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x27]
+500 FIFO_USE[0x1] SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x27]
+403 FIFO_USE[0x0] SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x27]
+501 FIFO_USE[0x0] SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x27]
+Total 11
+Kernel Free SCB lists:
+  Any Device: 481 411 492 488 457 484 496 469 468 461 497 449 502 487 480
416 454
467 506 478 505 503 494 400 459 412 489 420 498 485 495 464 460 410 421
483 455 507
458 409 404 493 511 448 399 472 408 415 418 413 482 490 452 476 407 510
477 401 466
473 463 479 471 491 405 462 465 456 486 402 504 429 422 423 424 470 425
426 475 474
427 428 430 431 432 433 434 435 436 509 453 447 440 441 442 443 444 445
446 437 438
439 398 397 396 395 394 393 392 391 390 389 388 387 386 385 384 383 382
381 380 379
378 377 376 375 374 373 372 371 370 369 368 367 366 365 364 363 362 361
360 359 358
357 356 355 354 353 352 351 350 349 348 347 346 345 344 343 342 341 340
339 338 337
336 335 334 333 332 331 330 329 328 327 326 325 324 323 322 321 320 319
318 317 316
315 314 313 312 311 310 309 308 307 306 305 304 303 302 301 300 299 298
297 296 295
294 293 292 291 290 289 288 287 286 285 284 283 282 281 280 279 278 277
276 275 274
273 272 271 270 269 268 267 266 265 264 263 262 261 260 259 258 25!
 7 256 255 254 253 252 251 250 249 248 247 246 245 244 243 242 241 240 239
238 237
236 235 234 233 232 231 230 229 228 227 226 225 224 223 222 221 220 219
218 217 216
215 214 213 212 211 210 209 208 207 206 205 204 203 202 201 200 199 198
197 196 195
194 193 192 191 190 189 188 187 186 185 184 183 182 181 180 179 178 177
176 175 174
173 172 171 170 169 168 167 166 165 164 163 162 161 160 159 158 157 156
155 154 153
152 151 150 149 148 147 146 145 144 143 142 141 140 139 138 137 136 135
134 133 132
131 130 129 128 127 126 125 124 123 122 121 120 119 118 117 116 115 114
113 112 111
110 109 108 107 106 105 104 103 102 101 100 99 98 97 96 95 94 93 92 91 90
89 88 87
86 85 84 83 82 81 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62
61 60 59
58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34
33 32 31
30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4
3 2 1 0
+Sequencer Complete DMA-inprog list:
+Sequencer Complete list:
+Sequencer DMA-Up and Complete list:
+Sequencer On QFreeze and Complete list:
+
+
+ahd0: FIFO0 Active, LONGJMP == 0x286, SCB 0x1a1
+SEQIMODE[0x3f]:(ENCFG4TCMD|ENCFG4ICMD|ENCFG4TSTAT|ENCFG4ISTAT|ENCFG4DATA|ENSAVEPTRS)
+SEQINTSRC[0x0] DFCNTRL[0xc]:(DIRECTION|HDMAEN)
DFSTATUS[0x89]:(FIFOEMP|HDONE|PRELOAD_AVAIL)
+SG_CACHE_SHADOW[0xa3]:(LAST_SEG_DONE|LAST_SEG) SG_STATE[0x0]
+DFFSXFRCTL[0x0] SOFFCNT[0xb] MDFFSTAT[0x12]:(DATAINFIFO|LASTSDONE)
+SHADDR = 0x07e154000, SHCNT = 0x0 HADDR = 0x07e154000, HCNT = 0x0
+CCSGCTL[0x10]:(SG_CACHE_AVAIL)
+
+ahd0: FIFO1 Free, LONGJMP == 0x8286, SCB 0x1c1
+SEQIMODE[0x3f]:(ENCFG4TCMD|ENCFG4ICMD|ENCFG4TSTAT|ENCFG4ISTAT|ENCFG4DATA|ENSAVEPTRS)
+SEQINTSRC[0x0] DFCNTRL[0x0] DFSTATUS[0x89]:(FIFOEMP|HDONE|PRELOAD_AVAIL)

Advice on secure, simple web forum software

2009-08-02 Thread Nerius Landys
One of my not-for-profit websites is increasing in popularity and
users are requesting forums.  I am going to add forums now, but I'm
not sure which route to take:

1. Install the forums software so it runs on my webserver.
2. Use some third-party forums website [with their advertising probably].

I much prefer #1 to avoid any advertising (which my website is
completely free of).

Packages currently installed on my system that may be relevant are:

apache-2.2.11_7
php5-5.2.10
no databases, e.g. MySQL, are installed

I would like to get some recommendations on which route to take.  If
I'm going to install forums to run directly on my server, the software
needs to be secure (as few bugs or loopholes, exploits as possible),
the same UNIX user will be running a couple of other small sites.
Also simplicity of design is preferred, feature bloat and dependencies
are bad.  I'm willing to install a database such as MySQL.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD Security Advisory FreeBSD-SA-09:12.bind

2009-08-02 Thread Tim Judd
Trying to apply this to a 6.4 box with no manpages install.  Install
fails because the man3 directory doesn't exist.  is this expected?
Adding the src.conf knob of WITHOUT_MAN=1 still prevents the updated
libraries to install.

I'm just following the directions on the advisory and doesn't install
cleanly.  I'm not running named/bind on the box, so there is no
immediate pressure, but I'd still like to apply the fix.



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


Analyze load of the channel to Internet

2009-08-02 Thread Антон Курьян
Hello everybody...
Need to view and get real-time reporting of outgoing channel to Internet?
I think, that this is may be realized by means of ipfw (e.g. - get counters
of count rules for Internet and divide them to time, which passed between
analyzing)
But, maybe, there is an utility, to which I can communicate (or which could
analyze) my outgoing channel to Internet - and report me (mean some
redirection script) when an outgoing channel gets overflowed, and I need to
redirect all other outgoing traffic to another channel.

I would like to clear: I have to channels for Internet, meaned for gaming
club - but I don't have enough finance to afford buying some Cisco device
and this 2 channel are 512 kilobits and 768 kilobits of outgoing traffic

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


USB Vendor ID's

2009-08-02 Thread Scott Seekamp
I have 2 servers running what should be identical copies of 7.2  
release. I am plugging in an Apple USB Ethernet adapter and on one  
server I get this:


ugen3: vendor 0x05ac product 0x1402, class 255/255, rev 2.00/0.01,  
addr 2 on uhub7


and on the other I get this:

ugen0: Apple Inc. Apple USB Ethernet Adapter, class 255/255, rev  
2.00/0.01, addr 2 on uhub0


What would cause the device id to be recognized on one server and not  
the other? They both have identical kernel configs.


Thanks

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


Re: FreeBSD IBM Thinkpad - What Model to Choose?

2009-08-02 Thread Daniel Underwood
I've had great success with my my T43.  I strongly recommend it.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


RE: FreeBSD IBM Thinkpad - What Model to Choose?

2009-08-02 Thread Randy Booth
Avoid T42 (2374-K5U).  Everything works fine, but it's an oddball version 
apparently and there is next to no documentation regarding it on many of the 
wiki sites.  There are many decent models of T42.  I'd just avoid this 
particular model to avoid confusion.

Thanks,

Randy

-Original Message-
From: owner-freebsd-questi...@freebsd.org 
[mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Daniel Underwood
Sent: Sunday, August 02, 2009 5:06 PM
To: herbert langhans
Cc: freebsd-questions@freebsd.org
Subject: Re: FreeBSD  IBM Thinkpad - What Model to Choose?

I've had great success with my my T43.  I strongly recommend it.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: strange ee behaviour

2009-08-02 Thread Alexander Best
this issue still exists in BETA-2. imo it really needs to be fixed before the
release of 8.0. if i were to test a new OS and discover that it comes with an
editor which crashes when opening a new term i'd be very frustrated.

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


Re: Looking for fast graphical web browser

2009-08-02 Thread Frank Shute
On Fri, Jul 31, 2009 at 02:32:49AM -0400, Daniel Underwood wrote:

 Can anyone suggest a fast graphical web browser?  I use Firefox
 (because every page displays well and I can sync bookmarks), and I
 also use elinks (when graphics don't matter).  I'm looking for some
 middle ground, a browser that can display most sites well but is
 faster (or more lightweight) than Firefox.  (Note: I tried dillo, but
 it doesn't display most sites well enough.)

You could give galeon a try.

Disclaimer: I used it for a bit years ago, so no idea what it's like
now.

 
 TIA,
 Daniel

Regards,

-- 

 Frank


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

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


Re: Analyze load of the channel to Internet

2009-08-02 Thread Gary Gatten
almost any NIC / OS will support SNMP MIB-II counters, which includes octets Tx 
and Rx. MANY tools available for getting snmp mib values.

If you want util AND details on IP, ports, etc. - check out nTop.org

- Original Message -
From: owner-freebsd-questi...@freebsd.org owner-freebsd-questi...@freebsd.org
To: freebsd-questions@freebsd.org freebsd-questions@freebsd.org
Sent: Sun Aug 02 15:08:38 2009
Subject: Analyze load of the channel to Internet

Hello everybody...
Need to view and get real-time reporting of outgoing channel to Internet?
I think, that this is may be realized by means of ipfw (e.g. - get counters
of count rules for Internet and divide them to time, which passed between
analyzing)
But, maybe, there is an utility, to which I can communicate (or which could
analyze) my outgoing channel to Internet - and report me (mean some
redirection script) when an outgoing channel gets overflowed, and I need to
redirect all other outgoing traffic to another channel.

I would like to clear: I have to channels for Internet, meaned for gaming
club - but I don't have enough finance to afford buying some Cisco device
and this 2 channel are 512 kilobits and 768 kilobits of outgoing traffic

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





font size=1
div style='border:none;border-bottom:double windowtext 2.25pt;padding:0in 0in 
1.0pt 0in'
/div
This email is intended to be reviewed by only the intended recipient
 and may contain information that is privileged and/or confidential.
 If you are not the intended recipient, you are hereby notified that
 any review, use, dissemination, disclosure or copying of this email
 and its attachments, if any, is strictly prohibited.  If you have
 received this email in error, please immediately notify the sender by
 return email and delete this email from your system.
/font

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

Sendmail Masqurading and root mails

2009-08-02 Thread Danny Carroll
I have a situation that I've come across from time to time that I have
never found a good fix for.

Sometimes I'll install a freebsd box at a site with private  addresses
(RFC 1918).  Most of the time these sites also have local DNS setups.

I'll take my home network as an example.  My FreeBSD box (7.2) does:
 - File serving
 - PPP/Routing/NATd for the local network
 - WWW
 - Local DNS

Nothing special.
The network is a 192.168 network and the local domain is .lan

The problem is when I try to forward periodic output to my real email
address.  My email box see's the EHLO from beastie.lan and rejects the
message based on the fact that r...@beastie.lan is an unroutable address.

There are a few solutions I've used in the past.
 - Replace sendmail with exim and configure the SMTP domain.
 - Put beastie.lan in my email servers hosts file.

Neither of these are what I am looking for.  I'd like to make sendmail
re-write all outgoing emails (envelope as well as message) as
*...@some.real.domain instead of *...@beastie.lan.

I have a simple sendmail submit setup.  (sendmail=no in rc.conf)

I've added the following to the default sendmail mc file:

MASQUERADE_AS(`mypublicdomain.com')dnl
FEATURE(masquerade_envelope)dnl
MASQUERADE_DOMAIN(beasie.lan)dnl

Recompiled the cf files and restarted sendmail.

Here is the kicker.  If I log in as a normal user it masquerades just
fine.

If I simply su -  to root, the masquerading works fine and the mail is
sent as the original logged in user.

But if I log in as root via the console then it does not alter the messages.

Apart from ditching sendmail for another MTA, does anyone know how I
might coerce sendmail into rewriting root's messages as well?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD IBM Thinkpad - What Model to Choose?

2009-08-02 Thread Daniel Underwood
 I've had great success with my my T43.  I strongly recommend it.

Everything on my T43 works with without any extra configuration.  The
only drivers you have to mess with are the wireless drivers.  But the
iwi drivers work perfectly, and you can configure them easily a few
extra lines in /etc/rc.conf and /boot/loader.conf.

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


Re: Looking for fast graphical web browser

2009-08-02 Thread Neal Hogan
 On Fri, Jul 31, 2009 at 02:32:49AM -0400, Daniel Underwood wrote:

 Can anyone suggest a fast graphical web browser?  I use Firefox
 (because every page displays well and I can sync bookmarks), and I
 also use elinks (when graphics don't matter).  I'm looking for some
 middle ground, a browser that can display most sites well but is
 faster (or more lightweight) than Firefox.  (Note: I tried dillo, but
 it doesn't display most sites well enough.)

http://en.wikipedia.org/wiki/List_of_web_browsers

That seems to a logical suggestion given that I'm (we are) not sure
what you are looking for. ~Firefox is too slow and dillo doesn't
display most websites . . . well enough~ is a bit tough to parse
(specifically, to your needs).

I find ff to be good enough, as far as your requirements are
concerned, as well as IE (ugh!).
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Windows 2008 + AD + PF + bridge = problems?

2009-08-02 Thread LoH



Another idea could be giving 7.x a shot as it has newer version of PF IIRC.
  


That's on the list of things to try, but upgrading will probably be painful,
so I'm hoping to find something else first.

  


Something else you might want to try is to find/install the new PF from 
source, if you don't want to try a general upgrade.

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


freebsd-update userland sources

2009-08-02 Thread Tom Mende
Is there a way to get freebsd-update to keep userland sources up to  
date?


I had thought that having src, world and kernel as components in the  
freebsd-update.conf file would do this but it doesn't seem to. Do I  
just add usr.bin and usr.sbin to the components list in the conf file  
and run freebsd-update or is it more complex than this? I have read  
the man pages on this but there must be a gap between my english and  
how the man pages are written because I'm obviously missing the point  
somewhere.


By way of background, I am trying not to use csup / cvsup and like  
processes as their past, admittedly incorrect, usage by me, combined  
with my incompetent salvage operations, has hosed my systems to the  
point of needing to be reinstalled from scratch. I have been using a  
combination of portsnap and freebsd-update to keep my 7.2-RELEASE  
system up to date and commenced this at about 6.3-RELEASE and have  
managed to not hose the system since that time. It now however appears  
I need to have userland sources to keep fusefs-kmod up to date.


/usr/ports/sysutils/fusefs-kmodmake install clean
===  fusefs-kmod-0.3.9.p1.20080208_6 requires the userland sources to  
be installed. Set SRC_BASE if it is not in /usr/src.

*** Error code 1

Stop in /usr/ports/sysutils/fusefs-kmod.

snip from Makefile
.if !exists(${SRC_BASE}/sbin/mount)
IGNORE= requires the userland sources to be installed. Set  
SRC_BASE if it is not in /usr/src

.endif
snip from Makefile

I have got around this by manually downloading the fusefs- 
kmod-0.3.9.p1.20080208_6.tbz, pkg_adding it, and then forcing the  
packages that have this pkg as a dependency to portupgrade with the -f  
option. Now portupgrade hits this pkg warning message (IGNORE msg)  
everytime it runs.


Cheers,

Tom Mende





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


Re: FreeBSD IBM Thinkpad - What Model to Choose?

2009-08-02 Thread LoH
For now, I'd suggest avoiding the T500 series as well. They're good 
machines, but you're basically stuck (for now) with either the 
integrated graphics or the radeon driver (which still is spotty on X).


Randy Booth wrote:

Avoid T42 (2374-K5U).  Everything works fine, but it's an oddball version 
apparently and there is next to no documentation regarding it on many of the 
wiki sites.  There are many decent models of T42.  I'd just avoid this 
particular model to avoid confusion.

Thanks,

Randy

-Original Message-
From: owner-freebsd-questi...@freebsd.org 
[mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Daniel Underwood
Sent: Sunday, August 02, 2009 5:06 PM
To: herbert langhans
Cc: freebsd-questions@freebsd.org
Subject: Re: FreeBSD  IBM Thinkpad - What Model to Choose?

I've had great success with my my T43.  I strongly recommend it

  



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


Re: Sendmail Masqurading and root mails

2009-08-02 Thread Jeffrey Goldberg

On Aug 2, 2009, at 8:22 PM, Danny Carroll wrote:


MASQUERADE_AS(`mypublicdomain.com')dnl
FEATURE(masquerade_envelope)dnl
MASQUERADE_DOMAIN(beasie.lan)dnl

Recompiled the cf files and restarted sendmail.

Here is the kicker.  If I log in as a normal user it masquerades just
fine.

If I simply su -  to root, the masquerading works fine and the  
mail is

sent as the original logged in user.

But if I log in as root via the console then it does not alter the  
messages.


I found the answer to your problem here:

 http://www.grok.org.uk/docs/smroot.html


The file that is being included which has the

  EXPOSED_USER(`root')

line lives at

 /usr/share/sendmail/cf/domain/generic.m4

Just make a copy of that file, call it beasie.m4, remove the  
EXPOSE_USER directive from your copy and then change


 DOMAIN(generic)

to

 DOMAIN(beasie)

in your mail .mc file.

Cheers,

-j




--
Jeffrey Goldberghttp://www.goldmark.org/jeff/

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


Re: Sendmail Masqurading and root mails

2009-08-02 Thread Jeffrey Goldberg

On Aug 2, 2009, at 8:22 PM, Danny Carroll wrote:


I've added the following to the default sendmail mc file:

MASQUERADE_AS(`mypublicdomain.com')dnl
FEATURE(masquerade_envelope)dnl
MASQUERADE_DOMAIN(beasie.lan)dnl

Recompiled the cf files and restarted sendmail.

Here is the kicker.  If I log in as a normal user it masquerades just
fine.

If I simply su -  to root, the masquerading works fine and the  
mail is

sent as the original logged in user.

But if I log in as root via the console then it does not alter the  
messages.


By default sendmail does not MASQUERADE root (figuring that you get  
root mail from several of your machines and want to see which machine  
it is from).  In the old days there was a feature  
NO_MASQUERADE_ROOT, but looking through cf/README I see that that is  
one of the many things that have changed since I last seriously worked  
with sendmail.


Now sendmail has a class of exposed users.  These are usernames for  
which masquerading shouldn't take place.  By default, root is in there.


There is an .mc file directive

  EXPOSED(`username')

which, according to the documentation, adds usernames to the list that  
shouldn't be masqueraded.  Unfortunately, I don't see a mechanism for  
removing members from the E (Exposed) class.


You could try

 EXPOSED()

or

 EXPOSED(`')

to see if either will remove things in the E class.

The offending line in the generated .cf file is

 C{E}root

if you still end up with that, then root will not get masqueraded.

So if the above doesn't work, there probably is a clean way of  
clearing a class from the .mc file, but I don't know what it is.   
Hopefully others will be able to answer.


In the worst case, you could manually edit the generated .cf file, to  
remove the

 C{E}root
line, but that is not really a road I would recommend going down.

At the risk of suggesting something that you probably know you should  
do in the long run, but would take a lot of tedious work to set up,  
you should probably move away from having your private network be .lan.


Instead use .private.mypublicdomain.com and set up a local (on your  
private network) nameserver for that private subdomain.


Sorry I couldn't be of more help.

Cheers,

-j


--
Jeffrey Goldberghttp://www.goldmark.org/jeff/

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


Re: freebsd-update userland sources

2009-08-02 Thread ill...@gmail.com
2009/8/2 Tom Mende tme...@optusnet.com.au:
 Is there a way to get freebsd-update to keep userland sources up to date?

 I had thought that having src, world and kernel as components in the
 freebsd-update.conf file would do this but it doesn't seem to. Do I just add
 usr.bin and usr.sbin to the components list in the conf file and run
 freebsd-update or is it more complex than this? I have read the man pages on
 this but there must be a gap between my english and how the man pages are
 written because I'm obviously missing the point somewhere.

 By way of background, I am trying not to use csup / cvsup and like processes
 as their past, admittedly incorrect, usage by me, combined with my
 incompetent salvage operations, has hosed my systems to the point of needing
 to be reinstalled from scratch. I have been using a combination of portsnap
 and freebsd-update to keep my 7.2-RELEASE system up to date and commenced
 this at about 6.3-RELEASE and have managed to not hose the system since that
 time. It now however appears I need to have userland sources to keep
 fusefs-kmod up to date.

 /usr/ports/sysutils/fusefs-kmodmake install clean
 ===  fusefs-kmod-0.3.9.p1.20080208_6 requires the userland sources to be
 installed. Set SRC_BASE if it is not in /usr/src.
 *** Error code 1

 Stop in /usr/ports/sysutils/fusefs-kmod.

 snip from Makefile
 .if !exists(${SRC_BASE}/sbin/mount)
 IGNORE=         requires the userland sources to be installed. Set SRC_BASE
 if it is not in /usr/src
 .endif
 snip from Makefile

 I have got around this by manually downloading the
 fusefs-kmod-0.3.9.p1.20080208_6.tbz, pkg_adding it, and then forcing the
 packages that have this pkg as a dependency to portupgrade with the -f
 option. Now portupgrade hits this pkg warning message (IGNORE msg) everytime
 it runs.


It sounds like you could solve this by merely downloading
and untarring the sources.  Or untarring the sources from
your CD, if you have one.

Download everything in
http://mirror.pacific.net.au/FreeBSD/releases/i386/7.2-RELEASE/src/
into a directory and issue
./install.sh all

This should work fine, even if you are running some other architecture
as the sources are the same.

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


Re: Sendmail Masqurading and root mails

2009-08-02 Thread Danny Carroll
Jeffrey Goldberg wrote:
 I found the answer to your problem here:
 
  http://www.grok.org.uk/docs/smroot.html
 
 
 The file that is being included which has the
 
   EXPOSED_USER(`root')
 
 line lives at
 
  /usr/share/sendmail/cf/domain/generic.m4
 
 Just make a copy of that file, call it beasie.m4, remove the
 EXPOSE_USER directive from your copy and then change
 
  DOMAIN(generic)
 
 to
 
  DOMAIN(beasie)
 
 in your mail .mc file.
 
 Cheers,


It seems your google-fu is much better than mine.
Thanks so much for your help.

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


Cyrus Imapd with SASL, authenticate against AD Windows 2003 with Kerberos5

2009-08-02 Thread Martin Schweizer
Hello

My goal is to authenticate my Cyrus Imapd users against Windos 2003
Active Directory with Kerberos . I have the following setup:

Kerberos5 client
===
FreeBSD acsvfbsd06.domain.tld 7.2-RELEASE FreeBSD 7.2-RELEASE

/etc/krb.conf:
[libdefaults]

   default_realm = domain.tld

   default_etypes_des = des-cbc-md5

[realms]
   ACUTRONIC.CH = {
   kdc = tcp/acsv3k04.domain.tld:88
   }

[logging]
kdc = SYSLOG:INFO:AUTH
   admin_server = SYSLOG:INFO:AUTH
   default = SYSLOG:INFO:AUTH

/etc/krb5.keytab (ktutil list output):
For the keytab file I followed:
http://technet.microsoft.com/en-us/library/bb742433.aspx

FILE:/etc/krb5.keytab:

Vno  Type Principal
 1  des-cbc-md5  host/acsvfbsd06.domain@domain.tld

I get tickets if I use kinit user:
acsvfbsd06# kinit user
mar...@domain.tld's Password:
kinit: NOTICE: ticket renewable lifetime is 1 week

klist:
Credentials cache: FILE:/tmp/krb5cc_0
   Principal: u...@domain.tld

 Issued   Expires  Principal
Jul 31 17:58:09  Aug  1 03:57:44  krbtgt/domain@domain.tld

I an use ldapsearch as follows:

acsvfbsd06# ldapsearch -v -LLL -b
OU=Mitgliedsserver,OU=ACH,DC=Domain,DC=tld -h acsv3k04.domain.tld
description
ldap_initialize( ldap://acsv3k04.domain.tld)
SASL/GSSAPI authentication started
SASL username: u...@domain.tld
SASL SSF: 56
SASL data security layer installed.
filter: (objectclass=*)
requesting: description
dn: OU=Mitgliedsserver,OU=ACH,DC=Domain,DC=tld
...
[snip]

So far all looks well.

For the Cyrus Imapd setup I run saslauthd -a kerberos5.

/usr/local/etc/imapd.conf:

configdirectory: /usr/imap/var/imap
partition-default: /usr/imap/var/spool/imap
virtdomains: yes
admins:root cyrus
sasl_option: 1
sasl_pwcheck_method: saslauthd
sasl_mech_list: GSSAPI PLAIN LOGIN CRAM-MD5 DIGEST-MD5
sasl_log_level: 7
lmtpsocket: /usr/imap/var/imap/socket/lmtp
allowplaintext: yes


Each time I start a test by

- testsaslauthd -u user -p password
or
- imtest -m plain -a user localhost

I get ervery time

saslauthd[42062]: do_auth : auth failure: [user=user]
[service=imap] [realm=] [mech=kerberos5] [reason=krb5_verify_user_opt
failed]

The krb5_verify_user_opt failed is comming from the Kerberos 5 Library
(libkrb5, -lkrb5) - krb5_verify_user_opt and is located in the
auth_krb5.c (from SASL).

I ckecked the kerberos/DNS communication on both sides with tshark and
Netmon (Microsoft's tcpdump) but the kerberos communications seems
to be ok. Additionaly I started also a struss on saslauthd but also
without any look.

So I have now no more ideas where I can check. Any hints are welcome.

Regards,
-- 

Martin Schweizer
off...@pc-service.ch

PC-Service M. Schweizer GmbH; Bannholzstrasse 6; CH-8608 Bubikon
Tel. +41 55 243 30 00; Fax: +41 55 243 33 22; http://www.pc-service.ch;
public key : http://www.pc-service.ch/pgp/public_key.asc; 
fingerprint: EC21 CA4D 5C78 BC2D 73B7  10F9 C1AE 1691 D30F D239;

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