Failed to Load Kernel

2010-01-04 Thread Programmer In Training
Alright, I am starting my install of FreeBSD not from the DVD ISO like I
was hoping (I cannot find my DVD-Rs) so I'm using the disc1.iso from the
FreeBSD 8.0-RELEASE-i386-all torrent. I just checked the md5sums on them
(using the utility found at http://www.pc-tools.net/win32/md5sums/) but
I cannot find the md5sum for this file anywhere on the FreeBSD group of
sites (I think the info hashes provided on the torrent tracker are for
the .torrent).

The message I'm getting (wish I could just screen cap and put it up on
the web):

FreeBSD/i386 bootstrap loader, Revision 1.1
(r...@almeida.cse.buffalo.edu, Sat Nov 21 14:05:36 UTC 2009)
Loading /boot/defaults/loader.conf
/boot/kernel/kernel text=0x88d680
readin failed

elf32_loadimage: read failed
Unable to lad a kernel!
/
Hit [Enter] to boot immediately, or any other key for command prompt.
Booting [/boot/kernel/kernel]...
can't load 'kernel'

As far as I can tell, the cd burned fine (I did the burn on a Toshiba
notebook running Vista, was able to browse the folders just fine,
everything looked in order).

Do I need to use the bootonly.iso as well? What am I missing here? I
know my drive that I'm booting from is in perfect working order (DVD
Super Multi-Format DVD+/-R(W), HP, less then a year old with no problems
prior).

All the hardware up to this point appears to be detected just fine.

I'm going to bed right now, will get back to those who reply tomorrow
afternoon.

Thanks for the time and help guys (and gals), I'm really looking forward
to using FreeBSD.

-- 
PIT



signature.asc
Description: OpenPGP digital signature


Re: Failed to Load Kernel

2010-01-04 Thread Programmer In Training
On 1/5/2010 1:30 AM, Programmer In Training wrote:
> Alright, I am starting my install of FreeBSD not from the DVD ISO like I
> was hoping (I cannot find my DVD-Rs) so I'm using the disc1.iso from the
> FreeBSD 8.0-RELEASE-i386-all torrent. I just checked the md5sums on them
> (using the utility found at http://www.pc-tools.net/win32/md5sums/) but
> I cannot find the md5sum for this file anywhere on the FreeBSD group of
> sites (I think the info hashes provided on the torrent tracker are for
> the .torrent).


I take that back, I found the sums for the individual files and they all
check out.

-- 
PIT



signature.asc
Description: OpenPGP digital signature


Re: re-write is this booting info correct?

2010-01-04 Thread Ian Smith
On Wed, 30 Dec 2009, Polytropon wrote:
 > On Tue, 29 Dec 2009 16:29:56 +1100 (EST), Ian Smith  
 > wrote:
 > > In freebsd-questions Digest, Vol 291, Issue 3, Message: 1
 > > On Mon, 28 Dec 2009 21:04:57 +0800 Fbsd1  wrote:
[..]
 > > All of these, at least from DOS 3 (c. '86?) use the same MBR setup, a 
 > > maximum of 4 Primary Partitions, one (and only one) of which may be an 
 > > Extended DOS Partition, containing as many Logical Drives as you like; 
 > > they're formed as a linked list, though I never used past Drive J: with 
 > > OS/2 (HPFS).  (I'm using caps here to refer to the DOS nomenclature)
 > 
 > The number is de-facto limited to 26 maximum for ALL drive
 > letters - keyword is LETTER: A up to Z. A: and B: are
 > reserved for floppy disk drives, C: is the booting partition
 > (usually a primary DOS partition), D: up to Z: can be:
 >  - other primary partitions
 >  - optical drives
 >  - fake drives refering to directories (SUBST command)
 >  - external drives (INTERLNK / INTERSVR commands)
 > The order of the drives is somewhat arbitrary, so you
 > can't always predict drive letter behaviour.

All true.  Plus perhaps virtual drives provided by a Domain Controller 
(eg Samba) pointing to various network resources users can access.

 > > In all of these, you can't access more than one Primary Partition from 
 > > any DOS-based OS; if you wish to have drives D:, E:, F: (etc) then these 
 > > _must_ be in the single Extended Partition - so your statement above is 
 > > not correct in that respect.
 > 
 > I'm not sure about this. It's long time ago, so my brain isn't
 > up to date anymore. :-) When I try to remember, I have the
 > idea in mind that it WAS possible to partition a drive with
 > primary partitions (max. 4).

Oh you can partition it that way, but DOSes can only see one Primary 
Partition (PP) at a time, the Active one, on any one disk; eg you could 
have say DOS 6 and Win2k in separate PPs; booting either would call that 
one its Drive C: and any other PPs are then not visible to that OS.

FreeBSD of course can mount any of the Primary or Extended Partitions as 
slices, as can Linux AFAIK, so this is really just a DOS/win limitation, 
rather than being any consequence of the MBR-based system itself.

 > I'll check this - and I actually CAN, because I still have
 > a DOS machine (6.22) running well; it's mostly used for
 > programming mobile radios and for disk operations in a
 > museal content (robotron resurrection). :-)

Goodo :)  I think my ancient OS/2 tower is past booting these days.

I've since dusted off (which took a while :) my User's Guide to OS/2 
Warp, which has very detailed info on all this.  I was talking before 
about single-disk systems, as was fbsd1.  Strange things happen to what 
any DOS-based OS sees if there are also Primary Partitions on HD#2 ..

DOS(etc) sees the PP marked active on HD#1 as C:, always, and DOS 3-6 at 
least, and I suspect DOS 7 (win9x through XP) can only boot from HD #1.  
Further, DOS <= 3.3 required that PP to be within the first 32MB, and 
all to 6.x need the bootable PP to be within the first 1024 cylinders.

However, DOS allocates any active PP on the second disk as Drive D:, so 
even if there is an Extended Partition on HD #1, its Drive Letters will 
be allocated AFTER the D: drive on HD#2, as first E:, F: etc on HD#1 
then any more on HD#2 as G: etc.  This used to provide much 'fun' for 
folks later adding another HD who had hardcoded links to other drives.

Partition Magic used to understand (and display) all these intricacies, 
and gparted and friends likely do also.

 > >  > An alternate method is to allocate an “extended dos partition” and then 
 > >  > sub-divide it into logical dos drives lettered C, D, E, F. One of these 
 > > 
 > > Not limited to F: as above (adding the DOS colon as Polytropon suggests)
 > 
 > My suggestion comes from documentation where "C:" is preferred
 > to "C" (in context of drive letters), like "The C: drive is
 > the booting drive", or "On floppy A: you'll find no files".

Sure; when in Rome speak Latin, as it were.  OK, Italian these days :)

 > > I'm not sure about NT, but certainly DOS 3 to 7 
 > > cannot boot from other than drive C: - though DOS Drive C: need not be 
 > > the first physical disk partition, indeed there can be several, though 
 > > only the first one marked Active is called C: by DOS on any one boot.
 > 
 > DOS doesn't provide a native means for boot selection, so
 > this statement appears to be correct in relation to my
 > memories.

I'm not sure if the DOSes that can multiboot (NT, W2k, XP) can do so 
from another PP on HD#1 or not; certainly they have to start from C:

 > >  > Microsoft/Windows partition and the FreeBSD slice is where the 
 > > operating 
 > >  > system software is installed. Microsoft/Windows operating system 
 > > creates 
 > >  > default folders that share the space in the partition.  The FreeBSD 
 > > 
 > > It's not clear what you mean here by '

Re: FreeBSD 2.0.5 Release

2010-01-04 Thread Paul Shi
Actually, I do have a floppy drive on my computer (what a piece of old
junk...)

So I suppose that I do need to write content in /floppies/ directory,
including root.flp, boot.flp and 00_TRANS.TBL, into a floppy disc while
having install 2.0.5-install.iso in CD drive, according to Warren and
Andrew. I just found a boot.flp in /floppies directory and I am wondering if
I could boot from the floppy disc this time? I probably will try it first.

Again, thank you guys so much! All of you have been so warmhearted and I
really appreciate it!

Your sincerely,
Paul Shi
Electronic and Communication Engineering Senior
Department of Electrical and Electronic Engineering
University of Hong Kong


On Tue, Jan 5, 2010 at 12:39 PM, Warren Block  wrote:

> On Tue, 5 Jan 2010, Paul Shi wrote:
>
>  Thank you guys! At least, I got some idea where I should start. Install
>> manual has a section "Install from DOS partition" It said that I should copy
>> the /floppies/ to a new folder in hard disk named /FREEBSD/.
>>
>
> Well, yes, but you're going to have to format the hard drive to DOS first.
>  And still figure out a way to get FreeBSD to boot.
>
>
>  So I have following thoughts and correct me if I am wrong. I do NOT need
>> an actual floppy disk. But I could make boot from Floppy Disk the first
>> priority in boot order and system will find the root.flp in /floppies/ and
>> start installation.
>>
>
> They might exist, but I've never met a BIOS that could boot from a floppy
> image.  CDs can do that, if the CD image is set up for it.
>
> If you have a floppy drive, you should probably install from floppies at
> least once.  2.0.5 doesn't look like it took that many, either.
>
>
> -Warren Block * Rapid City, South Dakota USA
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: sendmail: open-relay

2010-01-04 Thread Ian Smith
In freebsd-questions Digest, Vol 292, Issue 3, Message: 10
On Mon, 04 Jan 2010 13:42:28 + Matthew Seaman 
 wrote:
 > Peter Ulrich Kruppa wrote:
 > > Am Montag, den 04.01.2010, 13:02 + schrieb Matthew Seaman: 
 > >> Peter Ulrich Kruppa wrote:
 > 
 > >>> I am running my own small mail-server, i.e. I use my desktop pc for
 > >>> sending and receiving my private mails.
 > >>> That worked quite nicely the last years. From time to time I tested
 > >> my
 > >>> mail-server via abuse.net's mail-relay tester. - Never got any
 > >>> positives.
 > >>> Now suddenly I receive one:
 > 
 > >>> Any ideas?
 > >> Plenty.  But it would help a great deal if you showed us your
 > >> ${hostname}.mc.
 > 
 > > O.K. this is my complete pukruppa.net.mc
 > > 
 > > divert(-1)
 > > #
 > [...]
 > 
 > which is exactly the same as the default freebsd.mc -- nothing suspicious
 > there.

Well, except as you said later, how then is SA being invoked from that 
.mc file, unless the sendmail.cf in use maybe wasn't made from that .mc?

I'd suggest:
  # cd /etc/mail
  copy the present sendmail.cf (and maybe submit.cf) for diff later
  # make cf # read the nice Makefile
  # diff sendmail.cf.old sendmail.cf# expecting nothing

 > Hmmm...  anything unusual (ie to do with domains not local to your machine)
 > in /etc/mail/local-host-names or /etc/mail/virtusertable  or 
 > /etc/mail/mailertable?  You're definitely running with that config file,

If it was in fact last compiled to the present sendmail.cf, yes.

I'd also check that abuse.net or its IP address[es] don't appear in 
relay-domains (aka sendmail.cR) - which sounds like a long shot, but 
might explain the behaviour.  Or an 'abuse.net RELAY' in access[.db]?

Jerry's test seems to have ruled out general open relay behaviour.

 > and you don't have anything like OpenBSD spamd(8) running that could 
 > intercept incoming SMTP traffic?

Even so, should spamd ever send or bounce mail?

 > If that's so, then I can't see how your machine could be an open 
 > relay.  The abuse.net relay tester must have been having a bad day.  
 > In fact, can you find the records in /var/mail/maillog to show 
 > abuse.net's server connecting to yours in order to do the testing?  
 > It may be that it was connecting to somewhere else entirely.  Or it 
 > was somehow trying to test relaying using an address that was somehow 
 > actually valid on your system.

Indeed.  Unless there's a 'to=<[*.]abuse.net> [...] stat=Sent' line in 
maillog then or later, your Bad Day Theory sounds quite likely.

cheers, Ian
___
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 2.0.5 Release

2010-01-04 Thread Warren Block

On Tue, 5 Jan 2010, Paul Shi wrote:

Thank you guys! At least, I got some idea where I should start. 
Install manual has a section "Install from DOS partition" It said that 
I should copy the /floppies/ to a new folder in hard disk named 
/FREEBSD/.


Well, yes, but you're going to have to format the hard drive to DOS 
first.  And still figure out a way to get FreeBSD to boot.


So I have following thoughts and correct me if I am wrong. I do NOT 
need an actual floppy disk. But I could make boot from Floppy Disk the 
first priority in boot order and system will find the root.flp in 
/floppies/ and start installation. 


They might exist, but I've never met a BIOS that could boot from a 
floppy image.  CDs can do that, if the CD image is set up for it.


If you have a floppy drive, you should probably install from floppies at 
least once.  2.0.5 doesn't look like it took that many, either.


-Warren Block * Rapid City, South Dakota USA___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Re: RealTek 8168 issues

2010-01-04 Thread Ryan Coleman
Jason,

I'll try again tomorrow. I think the board is bad, to be completely honest.

I pulled my desktop board out and installed that, got 8.0 to install OK there, 
then went to attach the RAID card (an HPT RocketRaid) and boom. It loads the 
BIOS, loads the RAID BIOS and nothing.

I'll try again tomorrow. Thanks for the lead.

--
Ryan
On Jan 4, 2010, at 7:38 PM, Jason wrote:

> I worked with a similar patch for the bce driver, and received the same
> issue.
> 
> From what I've seen, the patch would be for the "mii" device for this error.
> 
> After patching mii, the error and issues were resolved.
> 
> On Mon, Jan 04, 2010 at 06:28:36PM -0600, Ryan Coleman thus spake:
>> I have a RealTek 816x NIC in my FreeBSD 8.0 box. I did a full system install 
>> last night and at 2AM the NIC gave out. Now it's crapping out in minutes 
>> instead of hours.
>> 
>> When I run /etc/rc.d/netif restart I get  the normal processing data about 
>> my NICs and then this:
>> re0: reset never completed!
>> re0: PHY write failed
>> re0: PHY write failed
>> re0: PHY write failed
>> re0: PHY write failed
>> re0: PHY write failed
>> 
>> And it proceeds to bring lo0 and re0 back up, but re0 has it's listed static 
>> IP but is not discoverable on the network.
>> 
>> A reboot can temporarily fix this but I want to avoid rebooting every 4-6 
>> hours automatically (for obvious reasons).
>> 
>> I've found patches referencing 7.1 but not 8.0.
>> 
>> I can post more details if you need, just point me where you need me to look 
>> for them.
>> 
>> --
>> Ryan
>> ___
>> 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: FreeBSD 2.0.5 Release

2010-01-04 Thread Paul Shi
Thank you guys! At least, I got some idea where I should start. Install
manual has a section "Install from DOS partition" It said that I should copy
the /floppies/ to a new folder in hard disk named /FREEBSD/.

So I have following thoughts and correct me if I am wrong. I do NOT need an
actual floppy disk. But I could make boot from Floppy Disk the first
priority in boot order and system will find the root.flp in /floppies/ and
start installation.

Am I correct? Or I do need to burn directory /floppies/ into an actual
floppy disk and start installation from there? Thank all of you!

Your sincerely,
Paul Shi
Electronic and Communication Engineering Senior
Department of Electrical and Electronic Engineering
University of Hong Kong


On Tue, Jan 5, 2010 at 11:03 AM, Paul Shi  wrote:

> Thank you guys! At least, I got some idea where I should start. Install
> manual has a section "Install from DOS partition" It said that I should copy
> the /floppies/ to a new folder in hard disk named /FREEBSD/.
>
> So I have following thoughts and correct me if I am wrong. I do really need
> an actual floppy disk. But I could make boot from Floppy Disk the first
> priority in boot order and system will find the root.flp in /floppies/ and
> start installation.
>
> Am I correct? Or I do need to burn directory /floppies/ into an actual
> floppy disk and start installation from there? Thank all of you!
>
> Your sincerely,
> Paul Shi
> Electronic and Communication Engineering Senior
> Department of Electrical and Electronic Engineering
> University of Hong Kong
>
>
> On Tue, Jan 5, 2010 at 12:19 AM, Warren Block  wrote:
>
>> On Tue, 5 Jan 2010, andrew clarke wrote:
>>
>>>
>>> I don't think the very early releases available on CD are bootable.
>>> Not many PCs in the mid-1990s supported booting from CD.  CD-ROM
>>> drives weren't very common and those that did exist often had
>>> non-standard interfaces that required special drivers to work - which
>>> meant the BIOS couldn't see them to boot from them.
>>>
>>> To install FreeBSD 2.x, if I recall correctly you need to write the
>>> FreeBSD diskette images (in the /floppies/ directory) to diskettes,
>>> then boot from the first install diskette, while having the
>>> installation CD in the CD drive.  You may need to RTFM a bit to get
>>> this working.
>>>
>>>
>>> ftp://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/i386/2.0.5-RELEASE/INSTALL
>>>
>>
>> "El Torito" bootable CDs boot from a floppy image on the CD.
>>
>> (This is what happened earlier; the CD software used cheaply-licensed
>> DR-DOS floppy image to boot and load IDE CD-ROM drivers.  Not quite the
>> right thing, but it meant well.)
>>
>> So it's possible to create another CD using the original, but adding the
>> first FreeBSD floppy as a boot image.  mkisofs has the -b option for this; I
>> don't recall details for Nero but seems like I've seen it.
>>
>> FreeBSD 2 may not like that configuration.  Still might be easier to try
>> than finding a floppy drive.
>>
>> -Warren Block * Rapid City, South Dakota USA
>>
>
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: FreeBSD 2.0.5 Release

2010-01-04 Thread Paul Shi
Thank you guys! At least, I got some idea where I should start. Install
manual has a section "Install from DOS partition" It said that I should copy
the /floppies/ to a new folder in hard disk named /FREEBSD/.

So I have following thoughts and correct me if I am wrong. I do really need
an actual floppy disk. But I could make boot from Floppy Disk the first
priority in boot order and system will find the root.flp in /floppies/ and
start installation.

Am I correct? Or I do need to burn directory /floppies/ into an actual
floppy disk and start installation from there? Thank all of you!

Your sincerely,
Paul Shi
Electronic and Communication Engineering Senior
Department of Electrical and Electronic Engineering
University of Hong Kong


On Tue, Jan 5, 2010 at 12:19 AM, Warren Block  wrote:

> On Tue, 5 Jan 2010, andrew clarke wrote:
>
>>
>> I don't think the very early releases available on CD are bootable.
>> Not many PCs in the mid-1990s supported booting from CD.  CD-ROM
>> drives weren't very common and those that did exist often had
>> non-standard interfaces that required special drivers to work - which
>> meant the BIOS couldn't see them to boot from them.
>>
>> To install FreeBSD 2.x, if I recall correctly you need to write the
>> FreeBSD diskette images (in the /floppies/ directory) to diskettes,
>> then boot from the first install diskette, while having the
>> installation CD in the CD drive.  You may need to RTFM a bit to get
>> this working.
>>
>>
>> ftp://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/i386/2.0.5-RELEASE/INSTALL
>>
>
> "El Torito" bootable CDs boot from a floppy image on the CD.
>
> (This is what happened earlier; the CD software used cheaply-licensed
> DR-DOS floppy image to boot and load IDE CD-ROM drivers.  Not quite the
> right thing, but it meant well.)
>
> So it's possible to create another CD using the original, but adding the
> first FreeBSD floppy as a boot image.  mkisofs has the -b option for this; I
> don't recall details for Nero but seems like I've seen it.
>
> FreeBSD 2 may not like that configuration.  Still might be easier to try
> than finding a floppy drive.
>
> -Warren Block * Rapid City, South Dakota USA
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Can't get wifi working in 8.0, please help.

2010-01-04 Thread Eric Webster
Hello, I recently upgraded from bsd 6.4 to bsd 8.0 release ( new install ) and 
I am having issues getting my wifi to work. Before the upgrade it worked 
perfectly in 6.4. 
I am a bit confused as I have read different things about this. The handbook 
http://www.freebsd.org/doc/en/books/handbook/network-wireless.html#NETWORK-WIRELESS-AP-BASIC
under basic settings says check to see if your device supports host based ap 
mode by doing 

ifconfig wlan0 list caps

# ifconfig wlan0 list caps
drivercaps=2985cd01

Then it says the wireless device can now be put into AP mode by doing:

ifconfig wlan0 ssid freebsdap mode 11g mediaopt hostap inet 10.0.0.1 netmask 
255.255.255.0

Which returns:
ifconfig: inet: bad value

I read some place that you need to put inet before ssid so I tried it with the 
following:

# ifconfig wlan0 inet 10.0.0.1/24 ssid gangsta wepmode on weptxkey 1 wepkey 
apasswordhere mode 11g mediaopt hostap

Which returns:
ifconfig: SIOCSIFMEDIA (media): Device not configured

If I try to configure it like it was in 6.4 I get another error:

ifconfig wlan0 ssid gangsta channel 8 wepmode on weptxkey 1 wepkey 
apasswordhere mode 11g mediaopt hostap 10.0.0.1 netmask 255.255.255.0

Which returns:
ifconfig: SIOCSIFMEDIA (media): Device not configured

I know wep is not secure, I am just trying to get it working. 

At start of the guide it tells you to configure the following in 
/boot/loader.conf which I did.

/boot/loader.conf

if_ral_load="YES"
wlan_load="YES"
wlan_scan_ap_load="YES"
wlan_scan_sta_load="YES"
wlan_wep_load="YES"
wlan_ccmp_load="YES"
wlan_Tkip_load="YES"

When I run kldstat I see the if_ral is loaded. I don't know if its supposed to 
show the other modules.

kldstat

Id Refs Address    Size Name
 1    9 0xc040 b22548   kernel
 2    1 0xc0f23000 13e4c    if_ral.ko
 3    1 0xc357b000 35000    ipl.ko


Here is rc.conf


check_quotas="NO"
gateway_enable="YES"
hostname="router.foo.bar"
ibcs2_enable="NO"
ifconfig_sk0="DHCP"
ifconfig_xl0="inet 192.168.0.1  netmask 255.255.255.0"
wlans_ral0="wlan0"
ifconfig_wlan0="inet 10.0.0.1/24 ssid gangsta wepmode on weptxkey 1 wepkey 
apasswordhere mode 11g mediaopt hostap"
ipfilter_enable="YES"
ipfilter_rules="/etc/ipf.rules"
ipmon_enable="YES"
ipmon_flags="-Ds"
ipnat_enable="YES"
ipnat_rules="/etc/ipnat.rules"

Here is ifconfig -a

xl0: flags=8843 metric 0 mtu 1500
    options=8
    ether 00:60:97:7f:3e:6c
    inet 192.168.0.1 netmask 0xff00 broadcast 192.168.0.255
    media: Ethernet autoselect (100baseTX )
    status: active
sk0: flags=8843 metric 0 mtu 1500
    options=b
    ether 00:0c:41:e4:7e:83
    inet x.x.x.x netmask 0xf800 broadcast 255.255.255.255
    media: Ethernet autoselect (100baseTX )
    status: active
ral0: flags=8843 metric 0 mtu 2290
    ether 00:14:bf:78:a2:a7
    media: IEEE 802.11 Wireless Ethernet autoselect mode 11g
    status: associated
plip0: flags=8810 metric 0 mtu 1500
lo0: flags=8049 metric 0 mtu 16384
    options=3
    inet 127.0.0.1 netmask 0xff00 
wlan0: flags=8843 metric 0 mtu 1500
    ether 00:14:bf:78:a2:a7
    media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
    status: no carrier
    ssid gangsta channel 11 (2462 Mhz 11g)
    country US authmode OPEN privacy ON deftxkey 1 wepkey 1:104-bit
    txpower 0 bmiss 7 scanvalid 60 bgscan bgscanintvl 300 bgscanidle 250
    roam:rssi 7 roam:rate 5 protmode CTS bintval 0

netstat -rn

Routing tables

Internet:
Destination    Gateway    Flags    Refs  Use  Netif Expire
default    x.x.x.x    UGS 0   35    sk0
x.x.x.x/21 link#2 U   0    0    sk0
x.x.x.x    link#2 UHS 0    0    lo0
127.0.0.1  link#5 UH  0   32    lo0
192.168.0.0/24 link#1 U   1  568    xl0
192.168.0.1    link#1 UHS 0    0    lo0


Many thanks in advance!! 

Eric






___
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: RealTek 8168 issues

2010-01-04 Thread Jason

I worked with a similar patch for the bce driver, and received the same
issue.


From what I've seen, the patch would be for the "mii" device for this error.


After patching mii, the error and issues were resolved.

On Mon, Jan 04, 2010 at 06:28:36PM -0600, Ryan Coleman thus spake:

I have a RealTek 816x NIC in my FreeBSD 8.0 box. I did a full system install 
last night and at 2AM the NIC gave out. Now it's crapping out in minutes 
instead of hours.

When I run /etc/rc.d/netif restart I get  the normal processing data about my 
NICs and then this:
re0: reset never completed!
re0: PHY write failed
re0: PHY write failed
re0: PHY write failed
re0: PHY write failed
re0: PHY write failed

And it proceeds to bring lo0 and re0 back up, but re0 has it's listed static IP 
but is not discoverable on the network.

A reboot can temporarily fix this but I want to avoid rebooting every 4-6 hours 
automatically (for obvious reasons).

I've found patches referencing 7.1 but not 8.0.

I can post more details if you need, just point me where you need me to look 
for them.

--
Ryan
___
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"


RealTek 8168 issues

2010-01-04 Thread Ryan Coleman
I have a RealTek 816x NIC in my FreeBSD 8.0 box. I did a full system install 
last night and at 2AM the NIC gave out. Now it's crapping out in minutes 
instead of hours.

When I run /etc/rc.d/netif restart I get  the normal processing data about my 
NICs and then this:
re0: reset never completed!
re0: PHY write failed
re0: PHY write failed
re0: PHY write failed
re0: PHY write failed
re0: PHY write failed

And it proceeds to bring lo0 and re0 back up, but re0 has it's listed static IP 
but is not discoverable on the network.

A reboot can temporarily fix this but I want to avoid rebooting every 4-6 hours 
automatically (for obvious reasons).

I've found patches referencing 7.1 but not 8.0.

I can post more details if you need, just point me where you need me to look 
for them.

--
Ryan
___
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"


Updating from 7.2-STABLE FreeBSD 7.2-STABLE #901 to 8-release

2010-01-04 Thread eculp
I intend to first upgrade my old, but up to date, 7.2-STABLE FreeBSD  
7.2-STABLE #901 to the latest 8.0 release and then probably to 9.0  
current.  I want to conserve as much as I can so I thought that I  
might give freebsd-update upgrade -r 8.0-RELEASE a try.  Previously I  
have used cvsup and/or a cdrom but freebsd-update is binary and even  
does ports so being lazy . . . .


I have tried and the following are the results.

freebsd-update upgrade -r 8.0-RELEASE
Looking up update.FreeBSD.org mirrors... 3 mirrors found.
Fetching public key from update5.FreeBSD.org... failed.
Fetching public key from update4.FreeBSD.org... failed.
Fetching public key from update2.FreeBSD.org... failed.
No mirrors remaining, giving up.

I am trying to follow the instructions at
http://www.freebsd.org/releases/8.0R/announce.html

I guess that I could just use cvsup or the new dvd.  Does anyone who  
has done this give me a tip?


Also to go from 8.0 to 9.0 should be fairly easy with cvsup, kernel,  
world, rebooting and recompiling all ports, no?


Thanks,

ed
___
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: Hardware suppport

2010-01-04 Thread Sergio Tam
2010/1/4 Sergio Tam :
> 2010/1/4 Albert Hanslin :
>>
>> I tried to find out if the HP ProLiant DL380 G6 Server is supported.
>> [...]

>>
>> Please let me know if the ProLiant DL380 G6 Server is supported, thank you.
>>
>

Hi again

http://people.freebsd.org/~jcagle/

http://lists.freebsd.org/mailman/listinfo/freebsd-proliant


 Regards.
___
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: Restoreing Dump on FreeBSD headless server (bsd)

2010-01-04 Thread Terry

Message: 10
Date: Mon, 4 Jan 2010 19:08:51 +0100
From: bsd
Subject: Restoreing Dump on FreeBSD headless server
To: Liste FreeBSD
Message-ID:<4f9e0b10-f8fb-41be-8d59-00b29094c...@todoo.biz>
Content-Type: text/plain; charset=iso-8859-1

Hello folks,


I would like to know how to proceed in order to restore a dump from a backup 
headless server (remotely using ssh).

How am I supposed to proceed, should I first install the server (a FreeBSD 
Fresh install with spare partition) then restore the dump on an empty partition 
?

Should the new empty partition be the exact same size as the dumped partition ?

Is there a tool that could allow me to restore remotely ?


Any advice or howto will be (very) welcome.


Thanks.


P.S. Happy new BSD year !!

Hi

Good help to found here

http://lists.freebsd.org/pipermail/freebsd-doc/2005-May/007913.html

Terry


___
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: Restoreing Dump on FreeBSD headless server

2010-01-04 Thread Jerry McAllister
On Mon, Jan 04, 2010 at 11:03:41PM +0100, bsd wrote:

> 
> Le 4 janv. 2010 à 22:36, Jerry McAllister a écrit :
> 
> > On Mon, Jan 04, 2010 at 08:42:33PM +0100, bsd wrote:
> > 
> >> 
> >> Le 4 janv. 2010 à 19:56, Jerry McAllister a écrit :
> >> 
> >>> On Mon, Jan 04, 2010 at 07:08:51PM +0100, bsd wrote:
> >>> 
>  Hello folks, 
>  
>  
>  I would like to know how to proceed in order to restore a dump from a 
>  backup headless server (remotely using ssh). 
> >>> 
>  How am I supposed to proceed, should I first install the server (a 
>  FreeBSD 
>  Fresh install with spare partition) then restore the dump on an empty 
>  partition ?  
> >>> 
> >>> Depends on what you have and what you want to restore.
> >>> Is the reason for the restore because the old disk went belly up?
> >>> Or did you just nuke some stuff accidently.   Is the restore the
> >>> boot disk or an extra work disk?   
> >> 
> >> Well, to tell you the truth: I am using a remote backup solution since 2.5 
> >> years and the provider has just told me that he would no longer support 
> >> my hardware so I need to rebuild a new server based on my previous config
> > 
> > I am not clear on what you mean by a 'remote backup solution' - do you
> > mean that you are using dump(8) but writing to some remote device or
> > do you mean you are using some '3rd party' backup software/hardware
> > that your provider/hoster is supplying?
> 
> I am using dump(8). 
> I have successfully created a backup of all major partition of my server 
> which is now secured on a remote HD. 
> 
> > 
> > 
> >>> In the first case, yes you will need to create something on the disk - 
> >>> some sort of filesystem.   Probably that would mean using a fixit
> >>> image to boot and do an fdisk(8), bsdlabel(8) and newfs(8).   
> >> 
> > 
> >> Ok, I think the server I will install that on might use some sort of 
> >> virtual KVM that could allow me to do that
> > 
> > Well, that could be helpful.   It should give you a console type access
> > which is convenient in installation situations.   Does that 'KVM' 
> > supply the backup device too, or talk to it directly?
> 
> I haven't tried It so I don't know what functionnality It offers? 
> But I guess I might start a fresh install from that console? 
> 
> At which point should I do the restore(8) in the install process ? 


??  As soon as you get the disk ready - fdisk and make a bootable slice
bsdlabel and make your partitions, newfs the partitions, then restore
the dumps.   There really isn't anything else to do once the restores
have successfully been done.Just pull out the fixit and boot
normally.



> 
> > 
> >>> It the second case, the filesystem[s] is[are] still intact and you
> >>> only need to do an 'interactive' restore of just the files you want.
> >>> IF you are doing an intereactive restore and if you have room, it may 
> >>> be easiest to copy the whole dump file over to some big space on the 
> >>> system and run the restore from that copy.  Then you can just ssh in 
> >>> and run it just as if it was setting beside you.
> >>> 
> >>> The same might not be true if you are replacing a destroyed disk 
> >>> because the restore will be a complete one and no file selecting
> >>> will be necessary.
> >>> 
> >>> If you cannot get physical contact with the machine, and the disk was
> >>> damaged and replaced, you may have to learn how to do a network boot 
> >>> and install.   I have never had to do that so am not a good one to guide 
> >>> that process.   
> >> 
> > 
> >> Well my idea was to rebuild the new server based on the dump I have 
> >> realised (in order to save me the time to do the reinstall). 
> >> But from what you are telling me It might not be so easy
> > 
> > I am not clear again just what you are meaning by 'based on the dump
> > I have realised'.   Do you mean that  you would keep the filesystem
> > structure you have already?   IS there a dump file/tape for each
> > filesystem in the old system?   
> 
> Dump is stored on a remote HD. 
> There is one dump file per partition (not for /tmp). 

Sounds right.Then make those partitions and newfs them.
You need to make a /tmp, but of course, you don't need to dump
and restore it.   

Also, remember that when you run from fixit, the sile storage "disk" is
in memory.   It is / and /usr, etc.   So, you need to make temporary
mount points starting in the '/' file system for the new ones while
you are restoring to them.Something like /newroot, /newusr, /newvar
and /newhome  or whatever.   Then mount the newly newfs-ed partitions
to those mount points, cd in to each and run the restore -r for it.


> 
> > 
> > If that is what you mean, good.   There is no harm in keeping the
> > old filesystem structure if it was working for you.   Take a look
> > at how much is used in each filesystem and think if you need to
> > change the size.  But, that is just a detail of sizing the partitions
> > and not a critical structure considerat

Re: MATLAB in FreeBSD

2010-01-04 Thread Tijl Coosemans
On Monday 04 January 2010 20:02:56 gianrico.lam...@lamia.infm.it wrote:
> I have followed your suggestions but the installer does not start
> anymore. It diplays the following:
> "
> [gianr...@gianrico /]$ /compat/linux/bin/sh /home/gianrico/CDmatlab/install
> expr: illegal option -- r
> usage: expr [-e] expression
> /home/gianrico/CDmatlab/install: line 197: [: -ne: unary operator expected
> /home/gianrico/CDmatlab/install: line 705: /lib/libc.so.6: cannot execute
> binary file
> ---
> 
> An error status was returned by the program 'xsetup',
> the X Window System version of 'install'. The following
> messages were written to standard error:
> 
> /usr/home/gianrico/CDmatlab/update/bin/glnx86/xsetup: error while
> loading shared libra
> ries: libXp.so.6: cannot open shared object file: No such file or directory
> 
> Attempt to fix the problem and try again. If X is not available
> or 'xsetup' cannot be made to work then try the terminal
> version of 'install' using the command:
> 
> install* -torINSTALL* -t
> 
> ---
> 
> Sorry! Setup aborted . . .
> 
> "
> But I have noticed that the systems now has /lib/libc.so.7 instead of
> /lib/libc.so.6. For this reason I changed /lib/libc.so.6 into
> /lib/libc.so.7 everywhere in the install command. The permission problems
> remeined. Thus I have tried to change permissions on /lib/libc.so.7 file
> with a) konqueror superuser, b) teminal superuser, c) sudo . Result: there
> is now way to change permissions of that library.
> 
> what shall I do?

/lib/libc.so.7 is a FreeBSD library. /lib/libc.so.6 can found under
/compat/linux and Linux programs will use that one. You should undo any
changes you made in the install script.

To fix the expr error you have to create the following symlink:
ln -s ../usr/bin/expr /compat/linux/bin/expr

This is perhaps something the linux_base-f10 port should have done for
you.

To emulation@: Linux has expr under /usr/bin and FreeBSD has it under
/bin, so running expr in a Linux shell picks up the FreeBSD version
causing errors about unsupported command line options. It would be nice
if the linux_base-f10 port created the symlink above to fix this.

For the error about libXp.so.6, check if you have the port
x11/linux-f10-xorg-libs installed.

> I was wonder if I have to install FreeBSD_8 and KDE 4 ( as in new release
> PC-BSD galileo 7.1) to solve problems of linux library compatibility or
> just FreeBSD and after KDE4 (that seems the same)?? 

No, you'll have these same problems there.
___
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: tweak FreeBSD 8 for optimal java/weka performance

2010-01-04 Thread Greg Lewis
On Mon, Jan 04, 2010 at 06:54:22AM -0800, Dino Vliet wrote:
> Dear freebsd people,
> ?
> in a few days I will install freebsd 8.0 amd64 on my 8GB RAM dual core
> machine and use the system as a application server. I will install
> the /usr/ports/textproc/weka toolkit, a program written in java. I
> will use the diablo jdk port in /usr/ports/java.
> ?
> Due to the nature of the research I will be doing I will need to max
> out my machine for optimal java performance. For example, I will use
> the?-Xmx7g flag frequently to set?the maximun java heap size?to 7GB.
> ?
> Are there any other tweaks I should think of to get as much RAM for
> my java programs?
> Like building custom and small kernel, in order to minimize te size
> of the kernel?
> ?

I'd recommend using openjdk6 instead of Diablo if you want to maximise
performance.  Diablo is getting old and isn't available natively for 8.x
(its runs as a compatible binary with the compat7x port installed).

IIRC there is an option to tell the JVM to use as much RAM as possible,
but I don't recall it off the top of my head.  There should be some docs
on this on the main Java site at Sun and they will be equally relevant to
FreeBSD as they are to any other OS.

-- 
Greg Lewis  Email   : gle...@eyesbeyond.com
Eyes Beyond Web : http://www.eyesbeyond.com
Information Technology  FreeBSD : gle...@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: Restoreing Dump on FreeBSD headless server

2010-01-04 Thread bsd

Le 4 janv. 2010 à 22:36, Jerry McAllister a écrit :

> On Mon, Jan 04, 2010 at 08:42:33PM +0100, bsd wrote:
> 
>> 
>> Le 4 janv. 2010 à 19:56, Jerry McAllister a écrit :
>> 
>>> On Mon, Jan 04, 2010 at 07:08:51PM +0100, bsd wrote:
>>> 
 Hello folks, 
 
 
 I would like to know how to proceed in order to restore a dump from a 
 backup headless server (remotely using ssh). 
>>> 
 How am I supposed to proceed, should I first install the server (a FreeBSD 
 Fresh install with spare partition) then restore the dump on an empty 
 partition ?  
>>> 
>>> Depends on what you have and what you want to restore.
>>> Is the reason for the restore because the old disk went belly up?
>>> Or did you just nuke some stuff accidently.   Is the restore the
>>> boot disk or an extra work disk?   
>> 
>> Well, to tell you the truth: I am using a remote backup solution since 2.5 
>> years and the provider has just told me that he would no longer support 
>> my hardware so I need to rebuild a new server based on my previous config
> 
> I am not clear on what you mean by a 'remote backup solution' - do you
> mean that you are using dump(8) but writing to some remote device or
> do you mean you are using some '3rd party' backup software/hardware
> that your provider/hoster is supplying?

I am using dump(8). 
I have successfully created a backup of all major partition of my server which 
is now secured on a remote HD. 

> 
> 
>>> In the first case, yes you will need to create something on the disk - 
>>> some sort of filesystem.   Probably that would mean using a fixit
>>> image to boot and do an fdisk(8), bsdlabel(8) and newfs(8).   
>> 
> 
>> Ok, I think the server I will install that on might use some sort of 
>> virtual KVM that could allow me to do that
> 
> Well, that could be helpful.   It should give you a console type access
> which is convenient in installation situations.   Does that 'KVM' 
> supply the backup device too, or talk to it directly?

I haven't tried It so I don't know what functionnality It offers… 
But I guess I might start a fresh install from that console… 

At which point should I do the restore(8) in the install process ? 

> 
>>> 
>>> It the second case, the filesystem[s] is[are] still intact and you
>>> only need to do an 'interactive' restore of just the files you want.
>>> IF you are doing an intereactive restore and if you have room, it may 
>>> be easiest to copy the whole dump file over to some big space on the 
>>> system and run the restore from that copy.  Then you can just ssh in 
>>> and run it just as if it was setting beside you.
>>> 
>>> The same might not be true if you are replacing a destroyed disk 
>>> because the restore will be a complete one and no file selecting
>>> will be necessary.
>>> 
>>> If you cannot get physical contact with the machine, and the disk was
>>> damaged and replaced, you may have to learn how to do a network boot 
>>> and install.   I have never had to do that so am not a good one to guide 
>>> that process.   
>> 
> 
>> Well my idea was to rebuild the new server based on the dump I have 
>> realised (in order to save me the time to do the reinstall). 
>> But from what you are telling me It might not be so easy
> 
> I am not clear again just what you are meaning by 'based on the dump
> I have realised'.   Do you mean that  you would keep the filesystem
> structure you have already?   IS there a dump file/tape for each
> filesystem in the old system?   

Dump is stored on a remote HD. 
There is one dump file per partition (not for /tmp). 

> 
> If that is what you mean, good.   There is no harm in keeping the
> old filesystem structure if it was working for you.   Take a look
> at how much is used in each filesystem and think if you need to
> change the size.  But, that is just a detail of sizing the partitions
> and not a critical structure consideration.   If the new system has
> larger disk, then you can make use of it just by making bigger 
> partitions where they are needed.

Ok. 

> 
> 
>>> 
>>> In either case of having to create slices, partitions and filesystems,
>>> you do not have to do a complete system install.  You need to do just
>>> enough building to have the filesystems created and mountable.
>> 
>> Yes but how should I partition that ? 
>> 
>> Should I re-create the 
>> 
>> /
>> /var
>> /usr
>> /tmp
>> 
>> or 
>> 
>> / with minimal system
>> 
>> and re-create the mapping with nothing on slice. 
> 
> Create what you want it to be and go from there unless the old and
> the new structure are incompatible in some way.   My usual set of
> partitions/filesystems are:
> 
>  /
>  swap
>  /tmp
>  /usr
>  /var
>  /home   or other convenient name such as /bighome
>  /work   if there is a lot of extra space on the new disk and
>  you don't want it clumped in with the rest for some reason.
>  I usually put all the rest in that /bighome  filesystem.
>  If I have an extra disk with lots of space, I make 

Re: Rename pictures in the command-line interface

2010-01-04 Thread P.
Seg, 2010-01-04 às 16:14 -0500, Lowell Gilbert escreveu:
> You might want to look at the "jhead" port.
> 
> It uses the date the picture was taken for the new name, so it's both
> stable (i.e., if you run it again you get the same results) and sorts
> into proper order.

Well, the problem is that some of the pictures that I wanna rename don't
have Exif header (e.g. pictures taken from internet), so it will not
work in this case (I think). And even some pictures I have taken with my
camera that don't have the right date.

That is the why I'm renaming to img1.jpg, img2.jpg, etc.

Quote from jhed website:

"-dc Delete comment field from the JPEG header. Note that the comment is
not part of the Exif header."

This is another thing that I was looking for, thanks to you, now I know
how to do it.

Thanks for the tip. :)

___
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: Rename pictures in the command-line interface

2010-01-04 Thread Lowell Gilbert
Dário "P."  writes:

> Seg, 2010-01-04 às 20:59 +0100, Polytropon escreveu:
>
>> As you see: I have a reason to believe that I should better
>> write a new script that takes such things into mind and maybe
>> offer reverse renumbering, overwrite protection and a better
>> selection which files (instead of hardcoded *) to process.
>
> I think I gonna use the Nathan's Perl script, it did the job without any
> problem (at least for now :D).

You might want to look at the "jhead" port.

It uses the date the picture was taken for the new name, so it's both
stable (i.e., if you run it again you get the same results) and sorts
into proper order.

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
___
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: Rename pictures in the command-line interface

2010-01-04 Thread nvidican

Quoting "Dário \"P." :


Hello,

I have one directory with some pictures that I wanna rename (I use csh,
don't know if that matters).

For exemple, I have:

b.jpg
bs.jpg
bsd.jpg

And I wanna change to:

bsd1.jpg
bsd2.jpg
bsd3.jpg

I really appreciate if someone can help me. :)

Regards,

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



Dario,

I'm not personally aware of any single commands which allow  
substitution using a counter like you're asking, or of a decent way to  
do what you're asking from the shell script either; however,  
personally I'd write a simple Perl script to do it. The trick being to  
be able to find the bsd###.jpg where it left off at in a directory so  
you don't overwrite existing files if repeatability is important.


Here's something quick/dirty to work with, you can build from here,  
but try copy/pasting the following code into a new Perl script and run  
it from withing the directory you want to work:


#!/usr/bin/perl -w


use strict;

my @files = `ls`; # gets a list of all files in the current dir
# start a counter at zero, then increment it below:
my $cntr=0;
# set counter to the largest bsd###.jpg file in this directory:
map { if (/^bsd(\d+)\.jpg/) { $cntr = $1 if($1>$cntr); } }  
grep(/bsd\d+\.jpg/,@files);


print "Left off last time at $cntr, going to start this time at  
",++$cntr,".\n";


foreach (@files) {
chomp();
# skip all files which are already named bsd###.jpg
# or are not in ending .jpg
next if ($_ =~ /bsd\d+\.jpg/ || $_ !~ /(\.jpg)$/i);

my $new = $_;
# use a regular expression to substitute the name
# (note /i == case insensative so it will match '.JPG' as well)
$new =~ s/^(.+)\.jpg$/bsd$cntr\.jpg/i;

print "Renaming $_ to $new\n";
# un-comment the line below to actually do the rename:
# rename($_,$new);
$cntr++;
}

### END OF SCRIPT ###

An example given a directory with files like:

blah.Jpg
bs432.jpg
bsd11.jpg
bsl.jpg
uh-oh.jpG
yourSelf.JPG

Will give you an output like:

Left off last time at 11, going to start this time at 12.
Renaming blah.Jpg to bsd12.jpg
Renaming bs432.jpg to bsd13.jpg
Renaming bsl.jpg to bsd14.jpg
Renaming uh-oh.jpG to bsd15.jpg
Renaming youSelf.JPG to bsd16.jpg


My $0.02 ... like anything, sure you could do this 100 different other  
ways, and sure it's not going to be really efficient for large  
volumes, but in a pinch it'll work pretty reliably.


--
Nathan Vidican
nat...@vidican.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"


Re: Rename pictures in the command-line interface

2010-01-04 Thread P.
Seg, 2010-01-04 às 20:59 +0100, Polytropon escreveu:

> As you see: I have a reason to believe that I should better
> write a new script that takes such things into mind and maybe
> offer reverse renumbering, overwrite protection and a better
> selection which files (instead of hardcoded *) to process.

I think I gonna use the Nathan's Perl script, it did the job without any
problem (at least for now :D).

> It's worth it. The MC is a powerful and still easy to use
> tool for file administration.

True. I tried it 5 minutes ago, and I already love it. It's such a nice
"tool". :D
Thanks for the tip, and for your time.

___
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: Rename pictures in the command-line interface

2010-01-04 Thread nvidican
No problem. You might also consider extending it to support '.jpeg' as  
well as '.jpg', or even alter to work recursively through  
sub-directories. Like I said though, it's more or less a starting  
point. It will continue to extend beyond the current number each time  
it's run too - so it should never over-write an existing file and  
never need to be altered to support one more digit, (until system  
limitations come in to play - but that's a whole other ball game in  
terms of scale and probably the least of your worries at that point).


Personally I find things like this a LOT easier to do in Perl for the  
power and simplicity of Perls ability to handle and manipulate  
strings, (again like I'd mentioned in my original reply), I'm sure  
this is do-able in a shell script too just seems simpler to  
read/write/work with written in Perl to me and it just gets the job  
done.


--
Nathan Vidican
nat...@vidican.com


Quoting "Dário \"P." :


Seg, 2010-01-04 às 14:58 -0500, nvidi...@envieweb.net escreveu:


Dario,

I'm not personally aware of any single commands which allow
substitution using a counter like you're asking, or of a decent way to
do what you're asking from the shell script either; however,
personally I'd write a simple Perl script to do it. The trick being to
be able to find the bsd###.jpg where it left off at in a directory so
you don't overwrite existing files if repeatability is important.

Here's something quick/dirty to work with, you can build from here,
but try copy/pasting the following code into a new Perl script and run
it from withing the directory you want to work:

#!/usr/bin/perl -w


use strict;

my @files = `ls`; # gets a list of all files in the current dir
# start a counter at zero, then increment it below:
my $cntr=0;
# set counter to the largest bsd###.jpg file in this directory:
map { if (/^bsd(\d+)\.jpg/) { $cntr = $1 if($1>$cntr); } }
grep(/bsd\d+\.jpg/,@files);

print "Left off last time at $cntr, going to start this time at
",++$cntr,".\n";

foreach (@files) {
 chomp();
 # skip all files which are already named bsd###.jpg
 # or are not in ending .jpg
 next if ($_ =~ /bsd\d+\.jpg/ || $_ !~ /(\.jpg)$/i);

 my $new = $_;
 # use a regular expression to substitute the name
 # (note /i == case insensative so it will match '.JPG' as well)
 $new =~ s/^(.+)\.jpg$/bsd$cntr\.jpg/i;

 print "Renaming $_ to $new\n";
 # un-comment the line below to actually do the rename:
 # rename($_,$new);
 $cntr++;
}

### END OF SCRIPT ###

An example given a directory with files like:

blah.Jpg
bs432.jpg
bsd11.jpg
bsl.jpg
uh-oh.jpG
yourSelf.JPG

Will give you an output like:

Left off last time at 11, going to start this time at 12.
Renaming blah.Jpg to bsd12.jpg
Renaming bs432.jpg to bsd13.jpg
Renaming bsl.jpg to bsd14.jpg
Renaming uh-oh.jpG to bsd15.jpg
Renaming youSelf.JPG to bsd16.jpg


My $0.02 ... like anything, sure you could do this 100 different other
ways, and sure it's not going to be really efficient for large
volumes, but in a pinch it'll work pretty reliably.

--
Nathan Vidican
nat...@vidican.com




Worked just the way I wanted! :)
Thank you so much for the time you spent doing this Perl script.






___
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: Rename pictures in the command-line interface

2010-01-04 Thread Polytropon
On Mon, 04 Jan 2010 20:13:57 +0100, Dário "P."  
wrote:
> The sorting order is not a big problem for me, at least for now. I'm
> doing the renaming in one machine with GUI then I upload the pictures to
> another machine. The only reason that I need this, is because sometimes
> I delete one picture on the other machine and then I have to rename
> everything again.

In this case, pay attention that the renumber script does
not pay attention to not overwrite files. This can lead to
problems when adding files. Let's say you have

pic_01.jpg
pic_02.jpg
pic_03.jpg

and add a file new.jpg, so you have

new.jpg
pic_01.jpg
pic_02.jpg
pic_03.jpg

If you now run

renumber pic jpg

you'll have

pic_01.jpg = new.jpg
pic_02.jpg = pic_01.jpg
pic_03.jpg = pic_02.jpg
pic_04.jpg = pic_03.jpg

and the "source pics" will be "removed", so you end up with

pic_04.jpg = neu.jpg

A workaround is to use the MC to prefix all files with an
arbitrary letter, and THEN run renumber, e. g. select all
(grey *), PF6, to "X*" (where "X" is the arbitrary letter)
and have

Xnew.jpg
Xpic_01.jpg
Xpic_02.jpg
Xpic_03.jpg

which can be processed with "renumber pic jpg" now without
any problems because the existing prefix isn't the same as
the renumbering prefix.

As you see: I have a reason to believe that I should better
write a new script that takes such things into mind and maybe
offer reverse renumbering, overwrite protection and a better
selection which files (instead of hardcoded *) to process.



> > So if you wish to do some file preparation, know that the
> > powerful Midnight Commander can do this for you (select and
> > PF6).
> 
> Anyway, I gonna look at it.

It's worth it. The MC is a powerful and still easy to use
tool for file administration.





-- 
Polytropon
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 "freebsd-questions-unsubscr...@freebsd.org"


Re: Restoreing Dump on FreeBSD headless server

2010-01-04 Thread bsd

Le 4 janv. 2010 à 19:56, Jerry McAllister a écrit :

> On Mon, Jan 04, 2010 at 07:08:51PM +0100, bsd wrote:
> 
>> Hello folks, 
>> 
>> 
>> I would like to know how to proceed in order to restore a dump from a 
>> backup headless server (remotely using ssh). 
> 
>> How am I supposed to proceed, should I first install the server (a FreeBSD 
>> Fresh install with spare partition) then restore the dump on an empty 
>> partition ?  
> 
> Depends on what you have and what you want to restore.
> Is the reason for the restore because the old disk went belly up?
> Or did you just nuke some stuff accidently.   Is the restore the
> boot disk or an extra work disk?   

Well, to tell you the truth: I am using a remote backup solution since 2.5 
years and the provider has just told me that he would no longer support my 
hardware
so I need to rebuild a new server based on my previous config


> 
> In the first case, yes you will need to create something on the disk - 
> some sort of filesystem.   Probably that would mean using a fixit
> image to boot and do an fdisk(8), bsdlabel(8) and newfs(8).   

Ok, I think the server I will install that on might use some sort of virtual 
KVM that could allow me to do that


> 
> It the second case, the filesystem[s] is[are] still intact and you
> only need to do an 'interactive' restore of just the files you want.
> IF you are doing an intereactive restore and if you have room, it may 
> be easiest to copy the whole dump file over to some big space on the 
> system and run the restore from that copy.  Then you can just ssh in 
> and run it just as if it was setting beside you.
> 
> The same might not be true if you are replacing a destroyed disk 
> because the restore will be a complete one and no file selecting
> will be necessary.
> 
> If you cannot get physical contact with the machine, and the disk was
> damaged and replaced, you may have to learn how to do a network boot 
> and install.   I have never had to do that so am not a good one to guide 
> that process.   

Well my idea was to rebuild the new server based on the dump I have realised 
(in order to save me the time to do the reinstall). 
But from what you are telling me It might not be so easy


> 
> In either case of having to create slices, partitions and filesystems,
> you do not have to do a complete system install.  You need to do just
> enough building to have the filesystems created and mountable.

Yes but how should I partition that ? 

Should I re-create the 

/
/var
/usr
/tmp

or 

/ with minimal system


and re-create the mapping with nothing on slice. 


> The fixit
> is just fine for that.   If you can get that going remotely, then
> do the fdisk, bsdlabel and newfs-s from that and then restore from 
> the dump to the new filesystems.  

Ok, that should be the good path



> Forget about doing a real install.
> 
>> 
>> Should the new empty partition be the exact same size as the dumped 
>> partition ? 
> 
> It just has to be large enough to hold what you restore.
> In fact, it is a good time to increase or adjust filesystem sizes if
> you have more room on the replacement disk.

Good


> 
>> 
>> Is there a tool that could allow me to restore remotely ? 
>> 
> 
> You can use rsh(1).   I have done that.
> Probably some specific ssh method too, but I am so old I haven't
> done one with that new fangled secure ssh yet...

Ok. 


Thanks. 

> 
> jerry
> 
> 
>> 
>> Any advice or howto will be (very) welcome. 
>> 
>> 
>> Thanks. 
>> 
>> 
>> P.S. Happy new BSD year !! 
>> 
>> 
>> 
>> Gregober ---> PGP ID --> 0x1BA3C2FD
>> bsd @at@ todoo.biz
>> 
>> 
>> P "Please consider your environmental responsibility before printing this 
>> e-mail"
>> 
>> 
>> ___
>> 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"
>> 


Gregober ---> PGP ID --> 0x1BA3C2FD
bsd @at@ todoo.biz


P "Please consider your environmental responsibility before printing this 
e-mail"


___
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: Rename pictures in the command-line interface

2010-01-04 Thread P.
Seg, 2010-01-04 às 19:16 +0100, Polytropon escreveu:

> Keep in mind that the script follows the csh's sorting
> order to resolve *, which usually is lexicographical
> order.

The sorting order is not a big problem for me, at least for now. I'm
doing the renaming in one machine with GUI then I upload the pictures to
another machine. The only reason that I need this, is because sometimes
I delete one picture on the other machine and then I have to rename
everything again.

> So if you wish to do some file preparation, know that the
> powerful Midnight Commander can do this for you (select and
> PF6).

Anyway, I gonna look at it.

> Here's the script now. Put it in ~/bin (and add this directory
> to your $PATH) as "renumber" (or any name you like), give it +x
> permissions and "rehash" to make it available to the C shell.
> Then, use "renumber  ". It will process ALL
> files in the current directory (as I said: ugly as sin).
> 
> 
> #!/bin/csh
> if ( $1 == "" || $2 == "" ) then
>   echo "Usage: renumber  "
>   echo "   Target form: _nn[n]."
>   echo "   For 1 to 99 files: nn; for more than 99 files: nnn"
>   exit 1
> endif
> 
> set n = `ls -l | wc | awk '{print $1}'`
> set num = `expr $n - 1`
> echo "${num} files to handle."
> 
> set base = $1
> set extn = $2
> set n = 0
> foreach f ( *.${extn} )
>   set n = `expr $n + 1`
>   if ( ${num} > 99 ) then
>   if ( ${%n} == 1 ) then
>   mv "${f}" "${base}_00${n}.${extn}"
>   else if ( ${%n} == 2 ) then
>   mv "${f}" "${base}_0${n}.${extn}"
>   else
>   mv "${f}" "${base}_${n}.${extn}"
>   endif
>   else
>   if ( ${%n} == 1 ) then
>   mv "${f}" "${base}_0${n}.${extn}"
>   else
>   mv "${f}" "${base}_${n}.${extn}"
>   endif
>   endif
> end
> 
> 

Thanks alot. :)

___
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: Restoreing Dump on FreeBSD headless server

2010-01-04 Thread Jerry McAllister
On Mon, Jan 04, 2010 at 07:08:51PM +0100, bsd wrote:

> Hello folks, 
> 
> 
> I would like to know how to proceed in order to restore a dump from a 
> backup headless server (remotely using ssh). 

> How am I supposed to proceed, should I first install the server (a FreeBSD 
> Fresh install with spare partition) then restore the dump on an empty 
> partition ?  

Depends on what you have and what you want to restore.
Is the reason for the restore because the old disk went belly up?
Or did you just nuke some stuff accidently.   Is the restore the
boot disk or an extra work disk?   

In the first case, yes you will need to create something on the disk - 
some sort of filesystem.   Probably that would mean using a fixit
image to boot and do an fdisk(8), bsdlabel(8) and newfs(8).   

It the second case, the filesystem[s] is[are] still intact and you
only need to do an 'interactive' restore of just the files you want.
IF you are doing an intereactive restore and if you have room, it may 
be easiest to copy the whole dump file over to some big space on the 
system and run the restore from that copy.  Then you can just ssh in 
and run it just as if it was setting beside you.

The same might not be true if you are replacing a destroyed disk 
because the restore will be a complete one and no file selecting
will be necessary.

If you cannot get physical contact with the machine, and the disk was
damaged and replaced, you may have to learn how to do a network boot 
and install.   I have never had to do that so am not a good one to guide 
that process.   

In either case of having to create slices, partitions and filesystems,
you do not have to do a complete system install.  You need to do just
enough building to have the filesystems created and mountable.  The fixit
is just fine for that.   If you can get that going remotely, then
do the fdisk, bsdlabel and newfs-s from that and then restore from 
the dump to the new filesystems.   Forget about doing a real install.

> 
> Should the new empty partition be the exact same size as the dumped 
> partition ? 

It just has to be large enough to hold what you restore.
In fact, it is a good time to increase or adjust filesystem sizes if
you have more room on the replacement disk.

> 
> Is there a tool that could allow me to restore remotely ? 
> 

You can use rsh(1).   I have done that.
Probably some specific ssh method too, but I am so old I haven't
done one with that new fangled secure ssh yet...

jerry


> 
> Any advice or howto will be (very) welcome. 
> 
> 
> Thanks. 
> 
> 
> P.S. Happy new BSD year !! 
> 
> 
> 
> Gregober ---> PGP ID --> 0x1BA3C2FD
> bsd @at@ todoo.biz
> 
> 
> P "Please consider your environmental responsibility before printing this 
> e-mail"
> 
> 
> ___
> 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: BUG setfib

2010-01-04 Thread Ihor Prystay
Коньков Евгений wrote:
> Здравствуйте, Freebsd-questions.
> 
> kes# setfib 1 get_last.pl
> setfib: get_last.pl: No such file or directory
> kes# pwd
> /usr/home/kes/
> Для продолжения нажмите любую клавишу...
> kes# setfib -1 /usr/home/kes/get_last.pl
> run is OK!
> 
> setfib must use current directory to run programm
> or at least must supply option to ON/OFF this behavior
why do you think setfib MUST be such an exception?
you can do setfib 1 ./bla.pl or tweak your PATH

> 
> so I can run:
> kes# setfib -c -1 get_last.pl
> 

___
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: BUG setfib

2010-01-04 Thread Yuri Pankov
On Mon, Jan 04, 2010 at 08:29:53PM +0200, Коньков Евгений wrote:
> Здравствуйте, Freebsd-questions.
> 
> kes# setfib 1 get_last.pl
> setfib: get_last.pl: No such file or directory
> kes# pwd
> /usr/home/kes/
> Для продолжения нажмите любую клавишу...
> kes# setfib -1 /usr/home/kes/get_last.pl
> run is OK!
> 
> setfib must use current directory to run programm
> or at least must supply option to ON/OFF this behavior
> 
> so I can run:
> kes# setfib -c -1 get_last.pl
> 
> -- 
> С уважением,
>  Коньков  mailto:kes-...@yandex.ru

>From setfib(1) manpage:

ENVIRONMENT
 The PATH environment variable is used to locate the requested utility if
 the name contains no `/' characters.

So behaviour you are seeing is correct.


HTH,
Yuri
___
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"


BUG setfib

2010-01-04 Thread Коньков Евгений
Здравствуйте, Freebsd-questions.

kes# setfib 1 get_last.pl
setfib: get_last.pl: No such file or directory
kes# pwd
/usr/home/kes/
Для продолжения нажмите любую клавишу...
kes# setfib -1 /usr/home/kes/get_last.pl
run is OK!

setfib must use current directory to run programm
or at least must supply option to ON/OFF this behavior

so I can run:
kes# setfib -c -1 get_last.pl

-- 
С уважением,
 Коньков  mailto:kes-...@yandex.ru

___
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: Rename pictures in the command-line interface

2010-01-04 Thread Polytropon
On Mon, 04 Jan 2010 18:02:38 +0100, Dário "P."  
wrote:
> Hello,
> 
> I have one directory with some pictures that I wanna rename (I use csh,
> don't know if that matters).
> 
> For exemple, I have:
> 
> b.jpg
> bs.jpg
> bsd.jpg
> 
> And I wanna change to:
> 
> bsd1.jpg
> bsd2.jpg
> bsd3.jpg
> 
> I really appreciate if someone can help me. :)

I know it's quite ugly and complicatedly written, but maybe
the attached script will help. It "just works", but the more
I look at it, the more I wish I hadn't written it, or just
used sh and its printf %03d mechanism. :-)

Keep in mind that the script follows the csh's sorting
order to resolve *, which usually is lexicographical
order.

For example

97.jpg
98.jpg
99.jpg
100.jpg

will, after issuing

renumber bla jpg

result in

bla_01.jpg = 100.jpg
bla_02.jpg = 97.jpg
bla_03.jpg = 98.jpg
bla_04.jpg = 99.jpg

So if you wish to do some file preparation, know that the
powerful Midnight Commander can do this for you (select and
PF6).

Here's the script now. Put it in ~/bin (and add this directory
to your $PATH) as "renumber" (or any name you like), give it +x
permissions and "rehash" to make it available to the C shell.
Then, use "renumber  ". It will process ALL
files in the current directory (as I said: ugly as sin).


#!/bin/csh
if ( $1 == "" || $2 == "" ) then
echo "Usage: renumber  "
echo "   Target form: _nn[n]."
echo "   For 1 to 99 files: nn; for more than 99 files: nnn"
exit 1
endif

set n = `ls -l | wc | awk '{print $1}'`
set num = `expr $n - 1`
echo "${num} files to handle."

set base = $1
set extn = $2
set n = 0
foreach f ( *.${extn} )
set n = `expr $n + 1`
if ( ${num} > 99 ) then
if ( ${%n} == 1 ) then
mv "${f}" "${base}_00${n}.${extn}"
else if ( ${%n} == 2 ) then
mv "${f}" "${base}_0${n}.${extn}"
else
mv "${f}" "${base}_${n}.${extn}"
endif
else
if ( ${%n} == 1 ) then
mv "${f}" "${base}_0${n}.${extn}"
else
mv "${f}" "${base}_${n}.${extn}"
endif
endif
end


-- 
Polytropon
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 "freebsd-questions-unsubscr...@freebsd.org"


Restoreing Dump on FreeBSD headless server

2010-01-04 Thread bsd
Hello folks, 


I would like to know how to proceed in order to restore a dump from a backup 
headless server (remotely using ssh). 

How am I supposed to proceed, should I first install the server (a FreeBSD 
Fresh install with spare partition) then restore the dump on an empty partition 
?  

Should the new empty partition be the exact same size as the dumped partition ? 

Is there a tool that could allow me to restore remotely ? 


Any advice or howto will be (very) welcome. 


Thanks. 


P.S. Happy new BSD year !! 



Gregober ---> PGP ID --> 0x1BA3C2FD
bsd @at@ todoo.biz


P "Please consider your environmental responsibility before printing this 
e-mail"


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


Rename pictures in the command-line interface

2010-01-04 Thread P.
Hello,

I have one directory with some pictures that I wanna rename (I use csh,
don't know if that matters).

For exemple, I have:

b.jpg
bs.jpg
bsd.jpg

And I wanna change to:

bsd1.jpg
bsd2.jpg
bsd3.jpg

I really appreciate if someone can help me. :)

Regards,

___
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: Hardware suppport

2010-01-04 Thread Sergio Tam
2010/1/4 Albert Hanslin :
>
> I tried to find out if the HP ProLiant DL380 G6 Server is supported.
> Unfortunately the link under FreeBSD/i386 Projct - Hardware List does not
> work.
>

http://www.freebsd.org/releases/8.0R/hardware.html


http://www.freebsd.org/releases/7.2R/hardware.html


>
>
> Please let me know if the ProLiant DL380 G6 Server is supported, thank you.
>

Hi

I think, yes.

http://forums11.itrc.hp.com/service/forums/questionanswer.do?admit=109447626+1262622258788+28353475&threadId=939762

http://old.nabble.com/Freebsd-with-HP-Proliant-DL380-DL180-G5-td20790336.html


Regards.
___
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: samba3.x - 3.0 won't compile, 3.2 and 3.3 can't be installed

2010-01-04 Thread Ewald Jenisch
On Wed, Dec 23, 2009 at 11:22:08AM -0500, Lowell Gilbert wrote:

> Do you need mapi?  You can build gnome without it.  Otherwise, you'll
> need to install 3.x to a non-standard prefix, or use 4.0.
> 
 
Hi,

Thanks much for the hints. In the meantime I was (almost) settled with
going for 4.0alpha, but today I gave it another shot: cvsup-ed my
ports-tree again, and was able to compile and install samba 3.3. Seems
like over the holidays some of the dependencies have been changed wrt
samba 3.3 - at least it doesn't complain about cross dependencies any
more. :-)

Thanks again for the tip wrt building gnome without mapi support!

-ewald

___
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: cvsup blues

2010-01-04 Thread Roland Smith
On Mon, Jan 04, 2010 at 09:13:00AM -0500, John Almberg wrote:
> I am trying to update my ports collection on a new server using cvsup. 
> I've added a mirror site to my ports-supfile, but keep getting the 
> following error message:

Have you tried portsnap(8)? I find it much more convenient for keeping the
ports collection up-to-date. Fast too.

Roland
-- 
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)


pgpoNggWkJJCp.pgp
Description: PGP signature


Re: FreeBSD 2.0.5 Release

2010-01-04 Thread Warren Block

On Tue, 5 Jan 2010, andrew clarke wrote:


I don't think the very early releases available on CD are bootable.
Not many PCs in the mid-1990s supported booting from CD.  CD-ROM
drives weren't very common and those that did exist often had
non-standard interfaces that required special drivers to work - which
meant the BIOS couldn't see them to boot from them.

To install FreeBSD 2.x, if I recall correctly you need to write the
FreeBSD diskette images (in the /floppies/ directory) to diskettes,
then boot from the first install diskette, while having the
installation CD in the CD drive.  You may need to RTFM a bit to get
this working.

ftp://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/i386/2.0.5-RELEASE/INSTALL


"El Torito" bootable CDs boot from a floppy image on the CD.

(This is what happened earlier; the CD software used cheaply-licensed 
DR-DOS floppy image to boot and load IDE CD-ROM drivers.  Not quite the 
right thing, but it meant well.)


So it's possible to create another CD using the original, but adding the 
first FreeBSD floppy as a boot image.  mkisofs has the -b option for 
this; I don't recall details for Nero but seems like I've seen it.


FreeBSD 2 may not like that configuration.  Still might be easier to try 
than finding a floppy drive.


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


Re: snd_hda blues

2010-01-04 Thread Bob Johnson
It is likely that whomever is able to help you will need additional
information. You can get this information by rebooting your system and
selecting "Boot FreeBSD with verbose logging" from the boot menu.
After it boots, use "grep hdac /var/run/dmesg.boot" to extract the
detailed information about your sound system configuration and post it
back to freebsd-questions.

If I have time I will try to look through the info and come up with a
suggestion, but I must warn you in advance that I am unlikely to find
the time in the next few days, so post the info to the list to give
others a chance to look at it.

- Bob


On 1/4/10, Sandra Kachelmann  wrote:
> I am trying to get my HDA based soundcard work on both output jacks
> (back by the card and on the jack on top of the tower).
>
> With earlier FreeBSD versions I was able to have my speakers plugged in
> on the back of my soundcard and whenever I would plug in the headphones
> on the top of the tower the speakers would mute and the sound would
> play on the headphones.
>
> Now this doesn't work anymore. The speakers work but plugging in the
> "top tower jack" won't do anything.
>
> Looking at man snd_hda I tried all the examples (adding stuff
> to /boot/device.hints). None of the examples did what I wanted.
>
> By googling a little bit I found a dude who had the same problem so I
> simply copied the device.hints lines that solved his problem.
>
> The following lines make my headphones work:
>
> hint.hdac.0.cad0.nid22.config="as=1 seq=15"
> hint.hdac.0.cad0.nid24.config="as=3"
> hint.hdac.0.cad0.nid26.config="as=1"
> hint.hdac.0.cad0.nid29.config="as=2"
>
> However, after that my speakers are mute, all the time. If anyone could
> help me restoring the old snd_hda behaviour I would be very thankful
> since I don't quite understand what the snd_hda manpage is trying to
> tell me (sorry, I really tried...).
>
> Here are the information I think might help:
>
> $ cat /dev/sndstat
> FreeBSD Audio Driver (newpcm: 64bit 2009061500/amd64)
> Installed devices: pcm0:  at cad 0
> nid 1 on hdac0 kld snd_hda [MPSAFE] (1p:1v/1r:1v channels duplex
> default)
>
> Any help is gratefully apreciated.
>
> Sandra
> ___
> 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"
>


-- 
-- Bob Johnson
   fbsdli...@gmail.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"


Re: MATLAB in FreeBSD

2010-01-04 Thread Tijl Coosemans
On Monday 04 January 2010 15:28:03 gianrico.lam...@lamia.infm.it wrote:
> On Mon, 4 Jan 2010 15:12:35 +0100, Tijl Coosemans
>  wrote:
>> On Monday 04 January 2010 13:27:06 gianrico.lam...@lamia.infm.it
>> wrote:
>>> to install MATLAB i have followed striclty what FreeBSD doc
>>> suggests (even if this doc is not updateed and contains erros) @
>>> http://www.freebsd.org/doc/en/books/handbook/linuxemu-matlab.html.
>>> 
>>> To avoid the "SSE2" problem I followed:
>>> 
>>> http://lists.freebsd.org/pipermail/freebsd-questions/2009-July/202248.h
>>> 
>>> to run succesfully the installation. But, at the end of the
>>> installation, when I have to activate the licence, the systems
>>> diplay an error that is explained in the /tem/aws.log file as :
>>> 
>>> "(Jan 04, 2010 12:58:48)There was an unexpected exception.  See the
>>> log file (/tmp/aws.log) for more details.
>>> (Jan 04, 2010 12:58:56)java.lang.UnsatisfiedLinkError:
>>> /usr/compat/linux/usr/local/matlab/bin/glnx86/libinstutil.so:
>>> libstdc++.so.6: cannot handle TLS data " (**)
>>> 
>>> and the system stops!!
>>> 
>>> I tried to run anyway the matlab script but an erro occurred for
>>> the sam reason of SSE2 check. Thus I corrected it by following :
>>> 
>>> http://www.mail-archive.com/freebsd-questions%40freebsd.org/msg214774.html
>>> 
>>> the program starts with the licence request but the same problem as
>>> in (**) still diplays.
>>> 
>>> I have searched for several days in the net for a solution but I
>>> found nothing. I'm desperate because I need matlab. I have the
>>> licence. I run it before on the same laptop. I changed to FreeBsd
>>> since Ubuntu was too bad for my Philips Freevents X59. But now I do
>>> not know how to solve this problem.
>>> 
>>> Please, could you help me before I will forced to change another
>>> time the operating system?
>> 
>> What version of FreeBSD and Matlab do you use?
> 
> for FreeBSD: 7.2  and Kde 3.5 (all integrated in FreeDesktopSD)
> 
> matlab 2008a

In that case I suspect you have to enable the newer linux compat layer.
The default in FreeBSD 7.2 doesn't support TLS (the (**) error above).

To do this, do the following:

* Remove Matlab and all linux* ports you have installed.
pkg_delete linux\*
* Add this line to /etc/sysctl.conf:
compat.linux.osrelease=2.6.16
* Matlab probably also needs linprocfs mounted, so add this line to
  /etc/fstab if it isn't there yet:
linprocfs   /compat/linux/proc  linprocfs   rw  0   0
* Reboot.
* Add these two lines to /etc/make.conf:
OVERRIDE_LINUX_BASE_PORT=f10
OVERRIDE_LINUX_NONBASE_PORTS=f10
* Install emulators/linux_base-f10.
* Install f10 versions of the linux* ports if you need them,
  e.g. instead of graphics/linux-png install graphics/linux-f10-png
  if you need it.
* Install Matlab.

You'll still have the SSE2 error, but the TLS error should be gone.
___
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: open-relay

2010-01-04 Thread Peter Ulrich Kruppa


Something doesn't add up here -- the log shows the message being

processed
by SpamAssassin, but there was no indication in the sendmail 

.mc file

you
showed us of any integration with a spam filter.  I'd expect 

some sort

of
milter configuration.
spamassassin came with evolution (Gnome's Mailer), I never 
configured anything for that.



Unfortunately as well, the log line showing the delivery result 
is

usually
one of the ones *following* the line showing the external MTA 
handing
off the message to you.  Try grepping for the sendmail queue 
IDs:


   o04BQi0O008964
   o04BWBOA010672
   o04CSb9P056503
   o04CZkfq058137
   etc.

The lines that say 'dsn=' are the important bits. 
If


is 2.0.0 (ie. successful delivery) then you've got a real 

problem.

The result
should be 5.x.y (ie. permanent failure) and a snotty message 
about

'relaying denied'.
No, sorry,


_I_ cannot find anything suspicious; everything listed there 
seems to be mails I really sent or received.


I tried http://www.checkor.com which Jerry suggested, no problem.
Perhaps this really is a problem with abuse.net .

But anyway: Many thanks to you both.
I wouldn't like to be the one person who sends all the 
"enhancement" mails.


Uli.


Cheers,


Matthew

btw. you need to update your SpamAssassin rules -- you're 

triggering
on the FH_DATE_PAST_20XX test all the time, which will give you 

some

false
positives.





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


Hardware suppport

2010-01-04 Thread Albert Hanslin
Hi 

 

I tried to find out if the HP ProLiant DL380 G6 Server is supported.
Unfortunately the link under FreeBSD/i386 Projct - Hardware List does not
work.

 

Please let me know if the ProLiant DL380 G6 Server is supported, thank you.

 

Best regards

 

Albert Hanslin

albert.hans...@action-one.ch

 

ACTIONONE
Action-One AG

Soodring 13, CH-8134 Adliswil
Telefon   +41 43 388 3000
Telefax   +41 43 388 3003
www.action-one.ch  

 

 

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

2010-01-04 Thread Matthew Seaman

Mernoz Rostangi wrote:

Hi,

I would like to know if the FreeBSD 8.0 IA64 can be used on 32bit cpu also ?

If yes, what is the difference between IA64 and x86 versions ?

:-)
./m


Nope.  You're mixing up IA64 (the Itanium) with AMD64 (All modern AMD
chips, and Intel chips like the Core 2, Xeon, I7).  amd64 is a historic
name, because AMD invented the architecture, which Intel later copied.
It's frequently called x86_64 in other OSes.

All x86_64 chips can also run in x86 (32 bit) mode.  As far as I know, 
IA64 was only ever a 64 bit architecture.


Cheers,

Matthew

--
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
 Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
 Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


Re: cvsup blues

2010-01-04 Thread John Almberg

John Almberg wrote:

I am trying to update my ports collection on a new server using cvsup.
I've added a mirror site to my ports-supfile, but keep getting the
following error message:

on# csup -g -L 2 /root/ports-supfile
Parsing supfile "/root/ports-supfile"
Connecting to cvsup7.us.FreeBSD.org
Cannot connect to 64.215.216.140: Operation not permitted
Will retry at 09:13:28


I've tried several different mirror sites, so the problem seems to be on
my side (unless all the mirror sites are locked?)


Okay, well, it must have been a short-term problem on the mirror side. I 
tried it several times over the last 1/2 hr, and it suddenly started 
working...


Computers!

-- John
___
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"


tweak FreeBSD 8 for optimal java/weka performance

2010-01-04 Thread Dino Vliet
Dear freebsd people,
 
in a few days I will install freebsd 8.0 amd64 on my 8GB RAM dual core machine 
and use the system as a application server. I will install the 
/usr/ports/textproc/weka toolkit, a program written in java. I will use the 
diablo jdk port in /usr/ports/java.
 
Due to the nature of the research I will be doing I will need to max out my 
machine for optimal java performance. For example, I will use the -Xmx7g flag 
frequently to set the maximun java heap size to 7GB.
 
Are there any other tweaks I should think of to get as much RAM for my java 
programs?
Like building custom and small kernel, in order to minimize te size of the 
kernel?
 
Let me know,
thanks in advanced,
Dino



___
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 2.0.5 Release

2010-01-04 Thread krad
2010/1/4 Mehmet Erol Sanliturk 

> On Mon, Jan 4, 2010 at 7:32 AM, Paul Shi  wrote:
>
> > Dear All,
> >
> > I am looking for a FreeBSD release which is most similar to 4.4 BSD-Lite
> > and
> > I chose FreeBSD 2.0.5, the oldest release since 4.4 BSD-Lite. However,
> > after
> > downloading iso file from archive
> >
> >
> >
> ftp://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/i386/ISO-IMAGES/
> > <
> >
> ftp://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/i386/ISO-IMAGES/4.3/
> > >
> >
> > and burning to CDROM, it still will not boot from CDROM. The burning
> > process
> > should be fine since I just got it correctly as some of you may be aware.
> > So
> > I wondering if it is possible that the ISO file has been broken. Is there
> > any one who maintains older archive know the validity of ISO file. Thank
> > you
> > very much!
> >
> > Your sincerely,
> > Paul Shi
> > Electronic and Communication Engineering Senior
> > Department of Electrical and Electronic Engineering
> > University of Hong Kong
> >
>
>
>
> Those first FreeBSD releases can NOT boot from present IDE or SATA CD-ROM
> drives but from older type drives such as previous Sound Blaster sound card
> attached CD-ROM drives which they are NOT IDE drives .
>
> Please check this issue .
>
> I do NOT know how to generate an .iso from those older FreeBSD sources to
> enable them to boot from IDE or SATA CD-ROM drives or from USB sticks .
>
> Perhaps you may start booting from floppies . The manual associated with
> FreeBSD 2.0.5 may contain information about booting from floppies .
>
>
> Thank you very much .
>
> Mehmet Erol Sanliturk
> ___
> 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"
>

get the usb live cd of freebsd 8. Slice up the disk how you want and format
as ufs1 (not 2), mount the fs up, set the destdir up then manually install
the distributions ( eg cd base; ./install.sh ), finally install the boot
blocks onto the hard drive
___
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: open-relay

2010-01-04 Thread Jerry
On Mon, 04 Jan 2010 14:33:54 +0100
Peter Ulrich Kruppa  replied:

>> I just tried and received a "Relaying denied" response.
>> 
>> By the way, I noticed that you apparently do not employ SMTP
>> Authentication or offer STARTTLS on either port 25 or 587. You might
>> want to consider employing them. Then again, you could just install
>> Postfix. It is far easier to configure.  
>What exactly did you try, Jerry?

I used both the IP address and the domain name. Same results either way.

Go to:  and type in your IP: 213.146.114.24
and you will notice that no errors are displayed.

Your server is accepting the "Mail From:" then refusing to relay the
mail. If you employed SMTP Authentication it would not even get that
far.



220 pukruppa.net ESMTP Sendmail 8.14.3/8.14.3; Mon, 4 Jan 2010 15:39:34 +0100 
(CET)
HELO ortest.checkor.com
250 pukruppa.net Hello www.no-ip.com [204.16.252.112], pleased to meet you
RSET
250 2.0.0 Reset state
MAIL FROM: t...@checkor.com
250 2.1.0 t...@checkor.com... Sender ok
RCPT TO: te...@checkor.com
550 5.7.1 te...@checkor.com... Relaying denied

RSET
250 2.0.0 Reset state
MAIL FROM:
501 5.5.2 Syntax error in parameters scanning "FROM"
RCPT TO: te...@checkor.com
503 5.0.0 Need MAIL before RCPT

RSET
250 2.0.0 Reset state
MAIL FROM: s...@213.146.114.24
250 2.1.0 s...@213.146.114.24... Sender ok
RCPT TO: te...@checkor.com
550 5.7.1 te...@checkor.com... Relaying denied

RSET
250 2.0.0 Reset state
MAIL FROM: s...@213.146.114.24
250 2.1.0 s...@213.146.114.24... Sender ok
RCPT TO: te...@checkor.com
550 5.7.1 te...@checkor.com... Relaying denied

RSET
250 2.0.0 Reset state
MAIL FROM: s...@213.146.114.24
250 2.1.0 s...@213.146.114.24... Sender ok
RCPT TO: te...@213.146.114.24
550 5.7.1 te...@213.146.114.24... Relaying denied

RSET
250 2.0.0 Reset state
MAIL FROM: s...@213.146.114.24
250 2.1.0 s...@213.146.114.24... Sender ok
RCPT TO: "te...@test.com"@213.146.114.24
550 5.7.1 "te...@test.com"@213.146.114.24... Relaying denied

RSET
250 2.0.0 Reset state
MAIL FROM: s...@213.146.114.24
250 2.1.0 s...@213.146.114.24... Sender ok
RCPT TO: @213.146.114.24:spamt...@checkor.com
550 5.7.1 @213.146.114.24:spamt...@checkor.com... Relaying denied 



-- 
Jerry
ges...@yahoo.com

|===
|===
|===
|===
|

"You are slower than a herd of turtles stampeding through peanut butter."

Anonymous

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

2010-01-04 Thread Manolis Kiagias
On 04/01/2010 3:33 μ.μ., Mernoz Rostangi wrote:
> Hi,
>
> I would like to know if the FreeBSD 8.0 IA64 can be used on 32bit cpu also ?
>
> If yes, what is the difference between IA64 and x86 versions ?
>
> :-)
> ./m
>
>
>   

The IA64 is intended for Intel's Itanium Processor. It is 64bit, but
will not on your standard Core2Duo or AMD64 processors.
You need the amd64 edition for the common 64bit CPUs (both Intel and AMD).
The 64bit versions cannot be used on 32bit hardware. On the other hand,
the i386 (x86) version will happily run on a Core2Duo or AMD64.
___
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 versions

2010-01-04 Thread Bill Moran
In response to Mernoz Rostangi :

> Hi,
> 
> I would like to know if the FreeBSD 8.0 IA64 can be used on 32bit cpu also ?
> 
> If yes, what is the difference between IA64 and x86 versions ?

IA64 is a completely different architecture than x86.  Think gasoline vs.
diesel.  x86 and IA64 are not compatible at all.

If you were talking about amd64, that's a different story.  Most newer
CPUs are amd64.  All amd64 CPUs can also run a 32bit x86 OS.  Some x86
32bit CPUs are also amd64 compat.

-- 
Bill Moran
http://www.potentialtech.com
http://people.collaborativefusion.com/~wmoran/
___
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: cvsup blues

2010-01-04 Thread John Almberg

The csup servers do have a rate-limiting feature on them. However, I
think it gives a different error message than that. "Operating not
permitted" makes it seem more like a networking issue on the local
machine. Can you ping the IP? Firewall blocking outgoing ports?


I pinged a few of the mirror sites to choose the fastest one, so, yes I 
can ping them.


I turned off PF temporarily to see if it could be a firewall problem. No 
difference.


I'm also having problems installing ports. I wanted to get vim installed 
while trying to figure out this port upgrade problem. Vim uses lots of 
files and a bunch of them downloaded when I typed 'make install clean', 
but then I ran into a batch that give an error message like below.


I can fetch the files manually, using wget (which installed with no 
problem), but I'm getting a lot of these problems, which means its going 
to take about 5 years to install all the ports I need.


I've never had this problem, before... weird.

-- John

=> Attempting to fetch from 
ftp://ftp1.freebsd.org/pub/FreeBSD/ports/distfiles/gnome2/.

fetch: libxml2-2.7.3.tar.gz: local modification time does not match remote
=> Attempting to fetch from ftp://fr.rpmfind.net/pub/libxml/.
fetch: libxml2-2.7.3.tar.gz: local modification time does not match remote
=> Attempting to fetch from ftp://gd.tuwien.ac.at/pub/libxml/.
fetch: libxml2-2.7.3.tar.gz: local modification time does not match remote
=> Attempting to fetch from ftp://xmlsoft.org/libxml2/.
fetch: libxml2-2.7.3.tar.gz: local modification time does not match remote
=> Attempting to fetch from 
ftp://ftp1.freebsd.org/pub/FreeBSD/ports/distfiles/gnome2/.

fetch: libxml2-2.7.3.tar.gz: local modification time does not match remote
=> Couldn't fetch it - please try to retrieve this
=> port manually into /usr/ports/distfiles/gnome2 and try again.
*** Error code 1

Stop in /usr/ports/textproc/libxml2.
*** Error code 1

Stop in /usr/ports/textproc/libxml2.
*** Error code 1

Stop in /usr/ports/textproc/libxslt.
*** Error code 1

Stop in /usr/ports/textproc/libxslt.
*** Error code 1

Stop in /usr/ports/x11/libxcb.
*** Error code 1

Stop in /usr/ports/x11/libX11.
*** Error code 1

Stop in /usr/ports/x11-toolkits/libXt.
*** Error code 1

Stop in /usr/ports/editors/vim.


___
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: open-relay

2010-01-04 Thread Matthew Seaman

Peter Ulrich Kruppa wrote:


BTW. I have read somewhere, there might be problems with hostnames like
pukruppa.net, since they would allow to relay all mails from .net ?!?


I'm trying to remember where this appears.  I remember vaguely what
you're referring to, and yes, it's a theoretical possibility if you
combine a name like that with domain name based access controls.  Aha!
Found it.  It's this item in the 'FEATURE' section of 
/usr/share/sendmail/cf/README


relay_entire_domain
   This option allows any host in your domain as defined by
   class {m} to use your server for relaying.  Notice: make
   sure that your domain is not just a top level domain,
   e.g., com.  This can happen if you give your host a name
   like example.com instead of host.example.com.

So, unless you have an entry saying FEATURE(`relay_entire_domain')
somewhere in your sendmail configuration, this will not hurt you.  


Cheers,

Matthew

--
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
 Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
 Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


FreeBSD versions

2010-01-04 Thread Mernoz Rostangi
Hi,

I would like to know if the FreeBSD 8.0 IA64 can be used on 32bit cpu also ?

If yes, what is the difference between IA64 and x86 versions ?

:-)
./m


  
___
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: open-relay

2010-01-04 Thread Matthew Seaman

Peter Ulrich Kruppa wrote:
Am Montag, den 04.01.2010, 13:45 + schrieb Matthew Seaman: 

Matthew Seaman wrote:


find the records in /var/mail/maillog to show abuse.net's server

connecting

Ooops./var/log/maillog


That would be those:


cat maillog | grep "abuse.net"

Jan  4 12:26:46 pukruppa sm-mta[8964]: o04BQi0O008964:
from=,
size=333, class=0, nrcpts=1,
msgid=<20100104112454.38321.qm...@gal.iecc.com>, proto=ESMTP,
daemon=IPv4, relay=gal.iecc.com [208.31.42.53]
Jan  4 12:32:12 pukruppa sm-mta[10672]: o04BWBOA010672:
from=, size=909, class=0, nrcpts=1,
msgid=, proto=SMTP, daemon=IPv4,
relay=verify.abuse.net [208.31.42.77]
Jan  4 12:33:00 pukruppa spamd[1650]: spamd: checking message
 for ulrich:1001 
Jan  4 12:33:03 pukruppa spamd[1650]: spamd: result: . -4 -

BAYES_50,FH_DATE_PAST_20XX,RCVD_IN_DNSWL_HI
scantime=3.4,size=1231,user=ulrich,uid=1001,required_score=5.0,rhost=localhost,raddr=127.0.0.1,rport=28691,mid=,bayes=0.486826,autolearn=ham 
Jan  4 13:28:39 pukruppa sm-mta[56503]: o04CSb9P056503:

from=, size=909, class=0, nrcpts=1,
msgid=, proto=SMTP, daemon=IPv4,
relay=verify.abuse.net [208.31.42.77]
Jan  4 13:29:20 pukruppa spamd[1650]: spamd: checking message
 for ulrich:1001 
Jan  4 13:29:24 pukruppa spamd[1650]: spamd: result: . -6 -

AWL,BAYES_00,FH_DATE_PAST_20XX,RCVD_IN_DNSWL_HI
scantime=3.4,size=1231,user=ulrich,uid=1001,required_score=5.0,rhost=localhost,raddr=127.0.0.1,rport=21436,mid=,bayes=0.00,autolearn=ham 
Jan  4 13:35:47 pukruppa sm-mta[58137]: o04CZkfq058137:

from=, size=909, class=0, nrcpts=1,
msgid=, proto=SMTP, daemon=IPv4,
relay=verify.abuse.net [208.31.42.77]
Jan  4 13:39:20 pukruppa spamd[1650]: spamd: checking message
 for ulrich:1001 
Jan  4 13:39:24 pukruppa spamd[1650]: spamd: result: . -6 -

AWL,BAYES_00,FH_DATE_PAST_20XX,RCVD_IN_DNSWL_HI
scantime=4.1,size=1231,user=ulrich,uid=1001,required_score=5.0,rhost=localhost,raddr=127.0.0.1,rport=24280,mid=,bayes=0.00,autolearn=ham 
Jan  4 14:27:59 pukruppa sm-mta[87839]: o04DRvKd087839:

from=, size=906, class=0, nrcpts=1,
msgid=, proto=SMTP, daemon=IPv4,
relay=verify.abuse.net [208.31.42.77]
Jan  4 14:29:27 pukruppa spamd[1650]: spamd: checking message
 for ulrich:1001 
Jan  4 14:29:30 pukruppa spamd[1650]: spamd: result: . -6 -

AWL,BAYES_00,FH_DATE_PAST_20XX,RCVD_IN_DNSWL_HI
scantime=3.1,size=1227,user=ulrich,uid=1001,required_score=5.0,rhost=localhost,raddr=127.0.0.1,rport=27859,mid=,bayes=0.00,autolearn=ham 
--


BTW. I have read somewhere, there might be problems with hostnames like
pukruppa.net, since they would allow to relay all mails from .net ?!?



Something doesn't add up here -- the log shows the message being processed
by SpamAssassin, but there was no indication in the sendmail .mc file you
showed us of any integration with a spam filter.  I'd expect some sort of
milter configuration.

Unfortunately as well, the log line showing the delivery result is usually
one of the ones *following* the line showing the external MTA handing off the 
message to you.  Try grepping for the sendmail queue IDs:

  o04BQi0O008964
  o04BWBOA010672
  o04CSb9P056503
  o04CZkfq058137
  etc.

The lines that say 'dsn=' are the important bits.  If  
is 2.0.0 (ie. successful delivery) then you've got a real problem.  The result

should be 5.x.y (ie. permanent failure) and a snotty message about 'relaying 
denied'.

Cheers,

Matthew

btw. you need to update your SpamAssassin rules -- you're triggering 
on the FH_DATE_PAST_20XX test all the time, which will give you some false

positives.

--
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
 Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
 Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


Re: cvsup blues

2010-01-04 Thread APseudoUtopia
On Mon, Jan 4, 2010 at 9:13 AM, John Almberg  wrote:
> I am trying to update my ports collection on a new server using cvsup. I've
> added a mirror site to my ports-supfile, but keep getting the following
> error message:
>
> on# csup -g -L 2 /root/ports-supfile
> Parsing supfile "/root/ports-supfile"
> Connecting to cvsup7.us.FreeBSD.org
> Cannot connect to 64.215.216.140: Operation not permitted
> Will retry at 09:13:28
>
>
> I've tried several different mirror sites, so the problem seems to be on my
> side (unless all the mirror sites are locked?)
>
> Any ideas?
>
> Thanks: John

The csup servers do have a rate-limiting feature on them. However, I
think it gives a different error message than that. "Operating not
permitted" makes it seem more like a networking issue on the local
machine. Can you ping the IP? Firewall blocking outgoing ports?
___
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"


cvsup blues

2010-01-04 Thread John Almberg
I am trying to update my ports collection on a new server using cvsup. 
I've added a mirror site to my ports-supfile, but keep getting the 
following error message:


on# csup -g -L 2 /root/ports-supfile
Parsing supfile "/root/ports-supfile"
Connecting to cvsup7.us.FreeBSD.org
Cannot connect to 64.215.216.140: Operation not permitted
Will retry at 09:13:28


I've tried several different mirror sites, so the problem seems to be on 
my side (unless all the mirror sites are locked?)


Any ideas?

Thanks: John
___
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: MATLAB in FreeBSD

2010-01-04 Thread Tijl Coosemans
On Monday 04 January 2010 13:27:06 gianrico.lam...@lamia.infm.it wrote:
> to install MATLAB i have followed striclty what FreeBSD doc suggests
> (even if this doc is not updateed and contains erros) @
> http://www.freebsd.org/doc/en/books/handbook/linuxemu-matlab.html.
> 
> To avoid the "SSE2" problem I followed:
> 
> http://lists.freebsd.org/pipermail/freebsd-questions/2009-July/202248.h
> 
> to run succesfully the installation. But, at the end of the
> installation, when I have to activate the licence, the systems diplay
> an error that is explained in the /tem/aws.log file as :
> 
> "(Jan 04, 2010 12:58:48)There was an unexpected exception.  See the
> log file (/tmp/aws.log) for more details.
> (Jan 04, 2010 12:58:56)java.lang.UnsatisfiedLinkError:
> /usr/compat/linux/usr/local/matlab/bin/glnx86/libinstutil.so:
> libstdc++.so.6: cannot handle TLS data " (**)
> 
> and the system stops!!
> 
> I tried to run anyway the matlab script but an erro occurred for the
> sam reason of SSE2 check. Thus I corrected it by following :
> 
> http://www.mail-archive.com/freebsd-questions%40freebsd.org/msg214774.html
> 
> the program starts with the licence request but the same problem as
> in (**) still diplays.
> 
> I have searched for several days in the net for a solution but I
> found nothing. I'm desperate because I need matlab. I have the
> licence. I run it before on the same laptop. I changed to FreeBsd
> since Ubuntu was too bad for my Philips Freevents X59. But now I do
> not know how to solve this problem.
> 
> Please, could you help me before I will forced to change another time
> the operating system?

What version of FreeBSD and Matlab do you use?
___
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: open-relay

2010-01-04 Thread Peter Ulrich Kruppa
Am Montag, den 04.01.2010, 13:45 + schrieb Matthew Seaman: 
> Matthew Seaman wrote:
> 
> > find the records in /var/mail/maillog to show abuse.net's server
> connecting
> 
> Ooops./var/log/maillog
> 
That would be those:

> cat maillog | grep "abuse.net"
Jan  4 12:26:46 pukruppa sm-mta[8964]: o04BQi0O008964:
from=,
size=333, class=0, nrcpts=1,
msgid=<20100104112454.38321.qm...@gal.iecc.com>, proto=ESMTP,
daemon=IPv4, relay=gal.iecc.com [208.31.42.53]
Jan  4 12:32:12 pukruppa sm-mta[10672]: o04BWBOA010672:
from=, size=909, class=0, nrcpts=1,
msgid=, proto=SMTP, daemon=IPv4,
relay=verify.abuse.net [208.31.42.77]
Jan  4 12:33:00 pukruppa spamd[1650]: spamd: checking message
 for ulrich:1001 
Jan  4 12:33:03 pukruppa spamd[1650]: spamd: result: . -4 -
BAYES_50,FH_DATE_PAST_20XX,RCVD_IN_DNSWL_HI
scantime=3.4,size=1231,user=ulrich,uid=1001,required_score=5.0,rhost=localhost,raddr=127.0.0.1,rport=28691,mid=,bayes=0.486826,autolearn=ham
 
Jan  4 13:28:39 pukruppa sm-mta[56503]: o04CSb9P056503:
from=, size=909, class=0, nrcpts=1,
msgid=, proto=SMTP, daemon=IPv4,
relay=verify.abuse.net [208.31.42.77]
Jan  4 13:29:20 pukruppa spamd[1650]: spamd: checking message
 for ulrich:1001 
Jan  4 13:29:24 pukruppa spamd[1650]: spamd: result: . -6 -
AWL,BAYES_00,FH_DATE_PAST_20XX,RCVD_IN_DNSWL_HI
scantime=3.4,size=1231,user=ulrich,uid=1001,required_score=5.0,rhost=localhost,raddr=127.0.0.1,rport=21436,mid=,bayes=0.00,autolearn=ham
 
Jan  4 13:35:47 pukruppa sm-mta[58137]: o04CZkfq058137:
from=, size=909, class=0, nrcpts=1,
msgid=, proto=SMTP, daemon=IPv4,
relay=verify.abuse.net [208.31.42.77]
Jan  4 13:39:20 pukruppa spamd[1650]: spamd: checking message
 for ulrich:1001 
Jan  4 13:39:24 pukruppa spamd[1650]: spamd: result: . -6 -
AWL,BAYES_00,FH_DATE_PAST_20XX,RCVD_IN_DNSWL_HI
scantime=4.1,size=1231,user=ulrich,uid=1001,required_score=5.0,rhost=localhost,raddr=127.0.0.1,rport=24280,mid=,bayes=0.00,autolearn=ham
 
Jan  4 14:27:59 pukruppa sm-mta[87839]: o04DRvKd087839:
from=, size=906, class=0, nrcpts=1,
msgid=, proto=SMTP, daemon=IPv4,
relay=verify.abuse.net [208.31.42.77]
Jan  4 14:29:27 pukruppa spamd[1650]: spamd: checking message
 for ulrich:1001 
Jan  4 14:29:30 pukruppa spamd[1650]: spamd: result: . -6 -
AWL,BAYES_00,FH_DATE_PAST_20XX,RCVD_IN_DNSWL_HI
scantime=3.1,size=1227,user=ulrich,uid=1001,required_score=5.0,rhost=localhost,raddr=127.0.0.1,rport=27859,mid=,bayes=0.00,autolearn=ham
 
--

BTW. I have read somewhere, there might be problems with hostnames like
pukruppa.net, since they would allow to relay all mails from .net ?!?

Greetings

Uli.

>   Cheers,
> 
>   Matthew
> 
> 

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


snd_hda blues

2010-01-04 Thread Sandra Kachelmann
I am trying to get my HDA based soundcard work on both output jacks
(back by the card and on the jack on top of the tower).

With earlier FreeBSD versions I was able to have my speakers plugged in
on the back of my soundcard and whenever I would plug in the headphones
on the top of the tower the speakers would mute and the sound would
play on the headphones.

Now this doesn't work anymore. The speakers work but plugging in the
"top tower jack" won't do anything.

Looking at man snd_hda I tried all the examples (adding stuff
to /boot/device.hints). None of the examples did what I wanted.

By googling a little bit I found a dude who had the same problem so I
simply copied the device.hints lines that solved his problem.

The following lines make my headphones work:

hint.hdac.0.cad0.nid22.config="as=1 seq=15"
hint.hdac.0.cad0.nid24.config="as=3"
hint.hdac.0.cad0.nid26.config="as=1"
hint.hdac.0.cad0.nid29.config="as=2"

However, after that my speakers are mute, all the time. If anyone could
help me restoring the old snd_hda behaviour I would be very thankful
since I don't quite understand what the snd_hda manpage is trying to
tell me (sorry, I really tried...).

Here are the information I think might help:

$ cat /dev/sndstat
FreeBSD Audio Driver (newpcm: 64bit 2009061500/amd64)
Installed devices: pcm0:  at cad 0
nid 1 on hdac0 kld snd_hda [MPSAFE] (1p:1v/1r:1v channels duplex
default)

Any help is gratefully apreciated.

Sandra
___
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: open-relay

2010-01-04 Thread Matthew Seaman

Matthew Seaman wrote:


find the records in /var/mail/maillog to show abuse.net's server connecting


Ooops./var/log/maillog

Cheers,

Matthew


--
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
 Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
 Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


Re: sendmail: open-relay

2010-01-04 Thread Matthew Seaman

Peter Ulrich Kruppa wrote:
Am Montag, den 04.01.2010, 13:02 + schrieb Matthew Seaman: 

Peter Ulrich Kruppa wrote:



I am running my own small mail-server, i.e. I use my desktop pc for
sending and receiving my private mails.
That worked quite nicely the last years. From time to time I tested

my

mail-server via abuse.net's mail-relay tester. - Never got any
positives.
Now suddenly I receive one:



Any ideas?

Plenty.  But it would help a great deal if you showed us your
${hostname}.mc.



O.K. this is my complete pukruppa.net.mc

divert(-1)
#

[...]

which is exactly the same as the default freebsd.mc -- nothing suspicious
there.

Hmmm...  anything unusual (ie to do with domains not local to your machine)
in /etc/mail/local-host-names or /etc/mail/virtusertable  or 
/etc/mail/mailertable?  You're definitely running with that config file,

and you don't have anything like OpenBSD spamd(8) running that could intercept
incoming SMTP traffic?

If that's so, then I can't see how your machine could be an open relay.  The
abuse.net relay tester must have been having a bad day.  In fact, can you
find the records in /var/mail/maillog to show abuse.net's server connecting
to yours in order to do the testing?  It may be that it was connecting to 
somewhere else entirely.  Or it was somehow trying to test relaying using
an address that was somehow actually valid on your system.

Cheers,

Matthew

--
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
 Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
 Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


Re: sendmail: open-relay

2010-01-04 Thread Peter Ulrich Kruppa
Am Montag, den 04.01.2010, 08:21 -0500 schrieb Jerry:
> On Mon, 04 Jan 2010 13:51:36 +0100
> Peter Ulrich Kruppa  replied:
> 
> >Hi,
> >
> >I am running my own small mail-server, i.e. I use my desktop pc for
> >sending and receiving my private mails.
> >That worked quite nicely the last years. From time to time I tested
> my
> >mail-server via abuse.net's mail-relay tester. - Never got any
> >positives.
> >Now suddenly I receive one:
> >This is a test of third-party mail relay, generated via the
> >Network Abuse Clearinghouse at http://www.abuse.net.
> >
> >Target host = 213.146.114.24 pukruppa.net
> >Test performed by  from
> 213.146.114.24
> >
> >A well-configured mail server should NOT relay third-party
> >email.
> >Otherwise, the server is subject to abuse by vandals and
> >spammers,
> >and probable blacklisting by recipients of the unwanted
> >third-party
> >e-mail.
> >Of course I had some fun trying to read sendmail's documentation. But
> I
> >guess I need some help with this.
> >
> >I am running FreeBSD -STABLE 8.0 amd64 .
> >I don't think I ever played around with sendmail's configuration. I
> >just use it as came out of the box.
> >
> >Any ideas?
> >
> >Uli.
> 
> I just tried and received a "Relaying denied" response.
> 
> By the way, I noticed that you apparently do not employ SMTP
> Authentication or offer STARTTLS on either port 25 or 587. You might
> want to consider employing them. Then again, you could just install
> Postfix. It is far easier to configure.
What exactly did you try, Jerry?

Uli.

> 
> 

___
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 2.0.5 Release

2010-01-04 Thread Mehmet Erol Sanliturk
On Mon, Jan 4, 2010 at 7:32 AM, Paul Shi  wrote:

> Dear All,
>
> I am looking for a FreeBSD release which is most similar to 4.4 BSD-Lite
> and
> I chose FreeBSD 2.0.5, the oldest release since 4.4 BSD-Lite. However,
> after
> downloading iso file from archive
>
>
> ftp://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/i386/ISO-IMAGES/
> <
> ftp://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/i386/ISO-IMAGES/4.3/
> >
>
> and burning to CDROM, it still will not boot from CDROM. The burning
> process
> should be fine since I just got it correctly as some of you may be aware.
> So
> I wondering if it is possible that the ISO file has been broken. Is there
> any one who maintains older archive know the validity of ISO file. Thank
> you
> very much!
>
> Your sincerely,
> Paul Shi
> Electronic and Communication Engineering Senior
> Department of Electrical and Electronic Engineering
> University of Hong Kong
>



Those first FreeBSD releases can NOT boot from present IDE or SATA CD-ROM
drives but from older type drives such as previous Sound Blaster sound card
attached CD-ROM drives which they are NOT IDE drives .

Please check this issue .

I do NOT know how to generate an .iso from those older FreeBSD sources to
enable them to boot from IDE or SATA CD-ROM drives or from USB sticks .

Perhaps you may start booting from floppies . The manual associated with
FreeBSD 2.0.5 may contain information about booting from floppies .


Thank you very much .

Mehmet Erol Sanliturk
___
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 2.0.5 Release

2010-01-04 Thread andrew clarke
On Mon 2010-01-04 20:32:54 UTC+0800, Paul Shi (shih...@hkusua.hku.hk) wrote:

> I am looking for a FreeBSD release which is most similar to 4.4 BSD-Lite and
> I chose FreeBSD 2.0.5, the oldest release since 4.4 BSD-Lite. However, after
> downloading iso file from archive
> 
> ftp://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/i386/ISO-IMAGES/
> 
> and burning to CDROM, it still will not boot from CDROM. The burning process
> should be fine since I just got it correctly as some of you may be aware. So
> I wondering if it is possible that the ISO file has been broken. Is there
> any one who maintains older archive know the validity of ISO file. Thank you
> very much!

I don't think the very early releases available on CD are bootable.
Not many PCs in the mid-1990s supported booting from CD.  CD-ROM
drives weren't very common and those that did exist often had
non-standard interfaces that required special drivers to work - which
meant the BIOS couldn't see them to boot from them.

To install FreeBSD 2.x, if I recall correctly you need to write the
FreeBSD diskette images (in the /floppies/ directory) to diskettes,
then boot from the first install diskette, while having the
installation CD in the CD drive.  You may need to RTFM a bit to get
this working.

ftp://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/i386/2.0.5-RELEASE/INSTALL

(AFAIK it's still possible to use this technique to do a network
install of FreeBSD 8.x, if you don't have a working CD-ROM drive.)

The ISO for FreeBSD 3.x is probably bootable.  I know the 4.x ISO is.

It wouldn't surprise me if FreeBSD 2.0.5 fails to boot correctly on
modern hardware.  You may need to use older hardware, or an emulator.

Regards
Andrew
___
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: open-relay

2010-01-04 Thread Jerry
On Mon, 04 Jan 2010 13:51:36 +0100
Peter Ulrich Kruppa  replied:

>Hi,
>
>I am running my own small mail-server, i.e. I use my desktop pc for
>sending and receiving my private mails.
>That worked quite nicely the last years. From time to time I tested my
>mail-server via abuse.net's mail-relay tester. - Never got any
>positives.
>Now suddenly I receive one:
>This is a test of third-party mail relay, generated via the
>Network Abuse Clearinghouse at http://www.abuse.net.
>
>Target host = 213.146.114.24 pukruppa.net
>Test performed by  from 213.146.114.24
>
>A well-configured mail server should NOT relay third-party
>email.
>Otherwise, the server is subject to abuse by vandals and
>spammers,
>and probable blacklisting by recipients of the unwanted
>third-party
>e-mail.
>Of course I had some fun trying to read sendmail's documentation. But I
>guess I need some help with this.
>
>I am running FreeBSD -STABLE 8.0 amd64 .
>I don't think I ever played around with sendmail's configuration. I
>just use it as came out of the box.
>
>Any ideas?
>
>Uli.

I just tried and received a "Relaying denied" response.

By the way, I noticed that you apparently do not employ SMTP
Authentication or offer STARTTLS on either port 25 or 587. You might
want to consider employing them. Then again, you could just install
Postfix. It is far easier to configure.


-- 
Jerry
ges...@yahoo.com

|===
|===
|===
|===
|

It destroys one's nerves to be amiable every day to the same human
being.


Benjamin Disraeli

___
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: open-relay

2010-01-04 Thread Peter Ulrich Kruppa
Am Montag, den 04.01.2010, 13:02 + schrieb Matthew Seaman: 
> Peter Ulrich Kruppa wrote:
> > Hi,
> > 
> > I am running my own small mail-server, i.e. I use my desktop pc for
> > sending and receiving my private mails.
> > That worked quite nicely the last years. From time to time I tested
> my
> > mail-server via abuse.net's mail-relay tester. - Never got any
> > positives.
> > Now suddenly I receive one:
> > This is a test of third-party mail relay, generated via the
> > Network Abuse Clearinghouse at http://www.abuse.net.
> > 
> > Target host = 213.146.114.24 pukruppa.net
> > Test performed by  from
> 213.146.114.24
> > 
> > A well-configured mail server should NOT relay third-party
> > email.
> > Otherwise, the server is subject to abuse by vandals and
> > spammers,
> > and probable blacklisting by recipients of the unwanted
> > third-party
> > e-mail.
> > Of course I had some fun trying to read sendmail's documentation.
> But I
> > guess I need some help with this.
> > 
> > I am running FreeBSD -STABLE 8.0 amd64 .
> > I don't think I ever played around with sendmail's configuration. I
> just
> > use it as came out of the box.
> > 
> > Any ideas?
> 
> Plenty.  But it would help a great deal if you showed us your
> ${hostname}.mc.
> The default sendmail config in FreeBSD isn't an open relay.  In fact,
> it takes a bit of effort to make sendmail do open relay type stuff
> nowadays,
> and there are big fat warnings in the docco
> (/usr/share/sendmail/cf/README)
> about most of those.
O.K. this is my complete pukruppa.net.mc

divert(-1)
#
# Copyright (c) 1983 Eric P. Allman
# Copyright (c) 1988, 1993
#   The Regents of the University of California.  All rights
reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# 1. Redistributions of source code must retain the above copyright
#notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
#notice, this list of conditions and the following disclaimer in the
#documentation and/or other materials provided with the
distribution.
# 3. All advertising materials mentioning features or use of this
software
#must display the following acknowledgement:
#   This product includes software developed by the University of
#   California, Berkeley and its contributors.
# 4. Neither the name of the University nor the names of its
contributors
#may be used to endorse or promote products derived from this
software
#without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS''
AND
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE
# ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE
LIABLE
# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
GOODS
# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
STRICT
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY
WAY
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
#

#
#  This is a generic configuration file for FreeBSD 5.X and later
systems.
#  If you want to customize it, copy it to a name appropriate for your
#  environment and do the modifications there.
#
#  The best documentation for this .mc file is:
#  /usr/share/sendmail/cf/README or
#  /usr/src/contrib/sendmail/cf/README
#

divert(0)
VERSIONID(`$FreeBSD: src/etc/sendmail/freebsd.mc,v 1.34.2.3 2008/08/31
18:26:27
gshapiro Exp $')
OSTYPE(freebsd6)
DOMAIN(generic)

FEATURE(access_db, `hash -o -T /etc/mail/access')
FEATURE(blacklist_recipients)
FEATURE(local_lmtp)
FEATURE(mailertable, `hash -o /etc/mail/mailertable')
FEATURE(virtusertable, `hash -o /etc/mail/virtusertable')

dnl Uncomment to allow relaying based on your MX records.
dnl NOTE: This can allow sites to use your server as a backup MX without
dnl   your permission.
dnl FEATURE(relay_based_on_MX)

dnl DNS based black hole lists
dnl 
dnl DNS based black hole lists come and go on a regular basis
dnl so this file will not serve as a database of the available servers.
dnl For that, visit
dnl http://www.google.com/Top/Computers/Internet/E-mail/Spam/Blacklists/

dnl Uncomment to activate Realtime Blackhole List
dnl information available at http://www.mail-abuse.com/
dnl NOTE: This is a subscription service as of July 31, 2001
dnl FEATURE(dnsbl)
dnl Alternatively, you can provide your own server and rejection
message:
d

Re: sendmail: open-relay

2010-01-04 Thread Matthew Seaman

Peter Ulrich Kruppa wrote:

Hi,

I am running my own small mail-server, i.e. I use my desktop pc for
sending and receiving my private mails.
That worked quite nicely the last years. From time to time I tested my
mail-server via abuse.net's mail-relay tester. - Never got any
positives.
Now suddenly I receive one:
This is a test of third-party mail relay, generated via the
Network Abuse Clearinghouse at http://www.abuse.net.

Target host = 213.146.114.24 pukruppa.net

Test performed by  from 213.146.114.24

A well-configured mail server should NOT relay third-party

email.
Otherwise, the server is subject to abuse by vandals and
spammers,
and probable blacklisting by recipients of the unwanted
third-party
e-mail.
Of course I had some fun trying to read sendmail's documentation. But I
guess I need some help with this.

I am running FreeBSD -STABLE 8.0 amd64 .
I don't think I ever played around with sendmail's configuration. I just
use it as came out of the box.

Any ideas?


Plenty.  But it would help a great deal if you showed us your ${hostname}.mc.
The default sendmail config in FreeBSD isn't an open relay.  In fact,
it takes a bit of effort to make sendmail do open relay type stuff nowadays,
and there are big fat warnings in the docco (/usr/share/sendmail/cf/README)
about most of those.

Cheers,

Matthew

--
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
 Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
 Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


sendmail: open-relay

2010-01-04 Thread Peter Ulrich Kruppa
Hi,

I am running my own small mail-server, i.e. I use my desktop pc for
sending and receiving my private mails.
That worked quite nicely the last years. From time to time I tested my
mail-server via abuse.net's mail-relay tester. - Never got any
positives.
Now suddenly I receive one:
This is a test of third-party mail relay, generated via the
Network Abuse Clearinghouse at http://www.abuse.net.

Target host = 213.146.114.24 pukruppa.net
Test performed by  from 213.146.114.24

A well-configured mail server should NOT relay third-party
email.
Otherwise, the server is subject to abuse by vandals and
spammers,
and probable blacklisting by recipients of the unwanted
third-party
e-mail.
Of course I had some fun trying to read sendmail's documentation. But I
guess I need some help with this.

I am running FreeBSD -STABLE 8.0 amd64 .
I don't think I ever played around with sendmail's configuration. I just
use it as came out of the box.

Any ideas?

Uli.
___
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 2.0.5 Release

2010-01-04 Thread Paul Shi
Dear All,

I am looking for a FreeBSD release which is most similar to 4.4 BSD-Lite and
I chose FreeBSD 2.0.5, the oldest release since 4.4 BSD-Lite. However, after
downloading iso file from archive

ftp://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/i386/ISO-IMAGES/

and burning to CDROM, it still will not boot from CDROM. The burning process
should be fine since I just got it correctly as some of you may be aware. So
I wondering if it is possible that the ISO file has been broken. Is there
any one who maintains older archive know the validity of ISO file. Thank you
very much!

Your sincerely,
Paul Shi
Electronic and Communication Engineering Senior
Department of Electrical and Electronic Engineering
University of Hong Kong
___
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"


MATLAB in FreeBSD

2010-01-04 Thread gianrico.lamura

Dear Sir,

to install MATLAB i have followed striclty what FreeBSD doc suggests (even
if this doc is not updateed and contains erros) @
http://www.freebsd.org/doc/en/books/handbook/linuxemu-matlab.html.

To avoid the "SSE2" problem I followed:

http://lists.freebsd.org/pipermail/freebsd-questions/2009-July/202248.h

to run succesfully the installation. But, at the end of the installation,
when I have to activate the licence, the systems diplay an error that is
explained in the /tem/aws.log file as :

"(Jan 04, 2010 12:58:48)There was an unexpected exception.  See the log
file (/tmp/aws.log) for more details.
(Jan 04, 2010 12:58:56)java.lang.UnsatisfiedLinkError:
/usr/compat/linux/usr/local/matlab/bin/glnx86/libinstutil.so:
libstdc++.so.6: cannot handle TLS data " (**)

and the system stops!!

I tried to run anyway the matlab script but an erro occurred for the sam
reason of SSE2 check. Thus I corrected it by following :


http://www.mail-archive.com/freebsd-questions%40freebsd.org/msg214774.html

the program starts with the licence request but the same problem as in (**)
still diplays.

I have searched for several days in the net for a solution but I found
nothing. I'm desperate because I need matlab. I have the licence. I run it
before on the same laptop. I changed to FreeBsd since Ubuntu was too bad
for my Philips Freevents X59. But now I do not know how to solve this
problem. 

Please, could you help me before I will forced to change another time the
operating system?

thank you in advance

Gianrico




___
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: miro - gcc

2010-01-04 Thread Anton Shterenlikht
On Sat, Jan 02, 2010 at 04:58:53PM -0600, ajtiM wrote:
> Hi!
> 
> My system: FreeBSD 8.0,
> 
> I like to install Miro from ports. FreeBSD has as defaulft gcc 4.2.1 and Miro 
> need a gcc 4.3. If I updated gcc to 4.3 should I expected some problems, 
> please?

in a word - no.
You shouldn't expect any problems.
You will have 2 different compilers installed in different
directories and called different names, e.g. on my system:

HAMOR> gcc44 --version
gcc44 (GCC) 4.4.3 20091222 (prerelease)
Copyright (C) 2009 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

HAMOR> cc --version
cc (GCC) 4.2.1 20070719  [FreeBSD]
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

HAMOR>

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
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: Intel PRO/Wireless 2100 ipw WPA

2010-01-04 Thread Andreas Rudisch
On Sun, 3 Jan 2010 15:27:55 -0700 (MST)
Warren Block  wrote:

> Finishing a complete new install of 8-stable on a Thinkpad T42.  This 
> model came with the Intel PRO/wireless 2100.

I am not sure whether or not this information is still valid:
http://wiki.freebsd.org/8.0TODO#head-637d4dd09847005583f360ebb430cf32b64a4d8b

At the end of the week I will try to set up WLAN on a T41 using that
chip to see if I too run into problems.

Andreas
--
GnuPG key  : 0x2A573565|http://www.gnupg.org/howtos/de/
Fingerprint: 925D 2089 0BF9 8DE5 9166  33BB F0FD CD37 2A57 3565


pgp1zPY2PZ2Hi.pgp
Description: PGP signature


doxygen 1.6.2: portmaster reports error: qt.prf:170: Unknown test function: qtAddLibrary

2010-01-04 Thread O. Hartmann
After performing updates via portmaster on a regular basis on a FreeBSD 
8.0-STABLE/amd64  server, I got this following sticky error. I have no 
clue how to fix this. Any ideas?


Regards,
Oliver

---

g++  -o ../bin/doxytag ../objects/doxytag.o ../objects/logos.o 
../objects/version.o   -L/usr/local/lib -L../lib -lqtools -liconv
gmake[2]: Leaving directory 
`/usr/ports/devel/doxygen/work/doxygen-1.6.2/src'
gmake[1]: Leaving directory 
`/usr/ports/devel/doxygen/work/doxygen-1.6.2/src'

gmake -C addon/doxywizard
gmake[1]: Entering directory 
`/usr/ports/devel/doxygen/work/doxygen-1.6.2/addon/doxywizard'

qmake-qt4 doxywizard.pro -o Makefile.doxywizard
qt.prf:170: Unknown test function: qtAddLibrary
gmake -f Makefile.doxywizard
gmake[2]: Entering directory 
`/usr/ports/devel/doxygen/work/doxygen-1.6.2/addon/doxywizard'
c++ -c -pipe -O2 -pipe -march=nocona -fno-strict-aliasing -Wall -W 
-DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_XML_LIB 
-I/u r/local/share/qt/mkspecs/freebsd-g++ -I. -I/include -I. -Imoc 
-I/usr/local/include -o obj/doxywizard.o doxywizard.cpp

doxywizard.cpp:1:17: error: QtGui: No such file or directory
In file included from doxywizard.cpp:2:
doxywizard.h:4:23: error: QMainWindow: No such file or directory
doxywizard.h:5:21: error: QSettings: No such file or directory
doxywizard.h:6:23: error: QStringList: No such file or directory
In file included from doxywizard.cpp:4:
expert.h:4:21: error: QSplitter: No such file or directory
expert.h:5:23: error: QDomElement: No such file or directory
expert.h:6:17: error: QHash: No such file or directory
In file included from doxywizard.cpp:2:
doxywizard.h:19: error: expected class-name before '{' token
doxywizard.h:20: error: ISO C++ forbids declaration of 'Q_OBJECT' with 
no type

doxywizard.h:22: error: expected ';' before 'public'
doxywizard.h:24: error: expected ',' or '...' before '&' token
doxywizard.h:24: error: ISO C++ forbids declaration of 'QString' with no 
type

doxywizard.h:27: error: 'QCloseEvent' has not been declared
doxywizard.h:28: error: 'QString' does not name a type
doxywizard.h:31: error: expected `:' before 'slots'
doxywizard.h:32: error: expected primary-expression before 'void'
doxywizard.h:32: error: ISO C++ forbids declaration of 'slots' with no type
doxywizard.h:32: error: expected ';' before 'void'
doxywizard.h:42: error: expected `:' before 'slots'
doxywizard.h:43: error: expected primary-expression before 'void'
doxywizard.h:43: error: ISO C++ forbids declaration of 'slots' with no type
doxywizard.h:43: error: expected ';' before 'void'
doxywizard.h:56: error: expected ',' or '...' before '&' token
doxywizard.h:56: error: ISO C++ forbids declaration of 'QString' with no 
type

doxywizard.h:57: error: expected ',' or '...' before '&' token
doxywizard.h:57: error: ISO C++ forbids declaration of 'QString' with no 
type

doxywizard.h:58: error: expected ',' or '...' before '&' token
doxywizard.h:58: error: ISO C++ forbids declaration of 'QString' with no 
type

doxywizard.h:59: error: expected ',' or '...' before '&' token
doxywizard.h:59: error: ISO C++ forbids declaration of 'QString' with no 
type

doxywizard.h:73: error: 'QString' does not name a type
doxywizard.h:74: error: 'QSettings' does not name a type
doxywizard.h:76: error: 'QStringList' does not name a type
In file included from doxywizard.cpp:4:
expert.h:18: error: expected class-name before '{' token
expert.h:19: error: ISO C++ forbids declaration of 'Q_OBJECT' with no type
expert.h:21: error: expected ';' before 'public'
expert.h:26: error: expected ',' or '...' before '&' token
expert.h:26: error: ISO C++ forbids declaration of 'QString' with no type
expert.h:27: error: 'QTextStream' has not been declared
expert.h:28: error: 'QByteArray' does not name a type
expert.h:29: error: expected ',' or '...' before '&' token
expert.h:29: error: ISO C++ forbids declaration of 'QByteArray' with no type
expert.h:30: error: ISO C++ forbids declaration of 'QHash' with no type
expert.h:30: error: expected ';' before '<' token
expert.h:31: error: expected `;' before 'void'
expert.h:32: error: expected ',' or '...' before '&' token
expert.h:32: error: ISO C++ forbids declaration of 'QString' with no type
expert.h:33: error: expected ',' or '...' before '&' token
expert.h:33: error: ISO C++ forbids declaration of 'QString' with no type
expert.h:34: error: 'QString' does not name a type
expert.h:36: error: expected `:' before 'slots'
expert.h:37: error: expected primary-expression before 'void'
expert.h:37: error: ISO C++ forbids declaration of 'slots' with no type
expert.h:37: error: expected ';' before 'void'
expert.h:38: error: ISO C++ forbids declaration of 'QWidget' with no type
expert.h:38: error: expected ';' before '*' token
expert.h:40: error: expected `:' before 'slots'
expert.h:41: error: expected primary-expression before 'void'
expert.h:41: error: ISO C++ forbids declaration of 'slots' with no type
expert.h:41: error: expected ';' before 'void'

Re: How to confirm hard drive ufsid before upgrade?

2010-01-04 Thread krad
2010/1/4 Tigger 

> Hello. I recently upgraded 7 remote servers from FreeBSD 7.2 to 8.0.
> During the process, 3 servers had hard drive ufsid issues. Basically
> during the reboot between 7.2 to 8.0, the drive ids 'changed'.
>
> I'm using ufsids in fstab.
>
> All servers have two SCSI drives, but have all been set-up by different
> people that have come from a Linux background. I can only assume they
> have used different commands and methods to format the drives.
>
> I'm assuming this issue is related to GEOM_ changes, however it is not
> very clear how to prevent this from happening (I'm sure I'm missing
> something).
>
> I have one more machine to go which is a lot more critical than the
> others and do not wish to have this one down for as long as the others
> where. It took about 6 hours to get the tech guys at the other end to
> get 2 of the boxes back up, the other one was easy to get up, but all
> data was 'lost' on one drive and had to be restored from a back-up.
>
> -Tig
>
> ___
> 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"
>

One reason why i use the human readable glabels
___
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: Can't get "ZFS on GPT Root" to work.

2010-01-04 Thread krad
2010/1/4 Randal L. Schwartz 

> > "Randal" == Randal L Schwartz  writes:
>
> > "krad" == krad   writes:
> krad> make sure you dont export the pool after you have copied the zpool
> cache
> krad> onto the zfs root fs, as that will break everything.
>
> Randal> Hmm.  But doesn't executing a shutdown automatically export
> everythign?
>
> Randal> if not, how is there ever a clean shutdown? :)
>
> But in fact, that was the problem.
>
> Once I followed *exactly* the instructions on the page,
> not trying to "tidy up before reboot", it works just fine.
>
> Thanks everyone for your help.
>
> --
> Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
>  http://www.stonehenge.com/merlyn/>
> Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
> See http://methodsandmessages.vox.com/ for Smalltalk and Seaside
> discussion
>


it caught me out that. I think the issue is that export a zpool isnt
analogous to unmounting a file system. After all you can unmount a zfs fs
without exporting the pool. The fact that the zfs is copy on write and has
the zil should mean it wont loose its integrity.

Also every pool has the hostid of the current system that has imported it,
embedded in it somewhere. eg if you try to import a pool that was previously
mounted on another system and not exported, you have to import it with the
-f flag. Exporting the pool clears this faild an alters the state of the
pool.
___
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: spamassassin Y2010 bug

2010-01-04 Thread Matthew Seaman

Matthew Seaman wrote:


I'll add your patches and post an updated shar later on.


Done.

Matthew


--
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
 Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
 Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


Re: Intel PRO/Wireless 2100 ipw WPA

2010-01-04 Thread Leslie Jensen


On 2010-01-03 23:27, Warren Block wrote:

Finishing a complete new install of 8-stable on a Thinkpad T42.  This
model came with the Intel PRO/wireless 2100.

Despite being 802.11b only, the 2100 with the latest firmware does
WPA2 on Windows XP.

So far, it has almost but not quite been able to connect using WPA on
FreeBSD.

rc.conf:
wlans_ipw0="wlan0"
ifconfig_wlan0="WPA DHCP"

loader.conf:
legal.intel_ipw.license_ack=1
if_ipw_load="YES"

wpa_supplicant.conf (copied from another system which has Atheros
wireless and works fine):
network={
ssid="myssid"
psk="notmyrealpsk"
}

ifconfig wlan0 scan sees all the nearby access points, including mine.
wpa_supplicant can't quite attach, but doesn't give up trying.

ifconfig wlan0
wlan0: flags=8843 metric 0 mtu 1500
ether 00:0c:f1:4e:b1:ac
media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
status: no carrier
ssid myssid channel 11 (2462 Mhz 11b)
country US authmode WPA2/802.11i privacy ON deftxkey UNDEF txpower 0
bmiss 7 scanvalid 60 roaming MANUAL

/var/log/messages:
Jan 3 14:49:40 paddy wpa_supplicant[392]: CTRL-EVENT-SCAN-RESULTS
Jan 3 14:49:40 paddy wpa_supplicant[392]: Trying to associate with
00:14:bf:cd:a2:0b (SSID='myssid' freq=2412 MHz)
Jan 3 14:49:50 paddy wpa_supplicant[392]: Authentication with
00:14:bf:cd:a2:0b timed out.

That repeats at ten-second intervals.

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


Hello

I have the following in my /boot/loader.conf in order to make my 
Intelcard work.


iwn5000fw_load="YES"  # Load driver for Intel, test for 5300 AGN
if_iwn_load="YES" # Load driver for Intel, test for 5300 AGN
wlan_load="YES"  # This must be loaded according to handbook
firmware_load="YES"
iwi_bss_load="YES"
iwi_ibss_load="YES"
iwi_monitor_load="YES"
legal.intel_iwi.license_ack=1
#
wlan_scan_ap_load="YES"
wlan_scan_sta_load="YES"
wlan_wep_load="YES"
wlan_ccmp_load="YES"
wlan_tkip_load="YES"

HTH

/Leslie
___
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"