Re: Portupgrade -- revisited

2003-03-04 Thread Stijn Hoop
On Mon, Mar 03, 2003 at 07:42:02PM -0800, Kent Stewart wrote:
 I learned something out of this too. Fontconfig was modified and so I 
 tried -Rup fontconfig. Portupgrade just built fontconfig. Next I tried 
 -pur fontconfig. It rebuild Xft, which had also been upgraded, and just 
 repackaged everything that used them below that. Now, the kicker is 
 that qt-3.x uses Xft.2 in the build but it was not rebuilt. I had to 
 run -pufr fontconfig for that to happend.

Please send this as a problem report to the portupgrade maintainer,
Akinori MUSHA [EMAIL PROTECTED].

Qt31 has Xft.2 listed as a direct dependency so it should be rebuilt if
that port is rebuilt, just as you said.

--Stijn

-- 
Remember, kids: Q is always followed by U. You can learn more on the
Internet in the Spelling FAQU.
-- James Kibo Parry


pgp0.pgp
Description: PGP signature


Re: Sendmail patch questions...

2003-03-04 Thread Matthew Seaman
On Tue, Mar 04, 2003 at 04:22:49AM +0200, Giorgos Keramidas wrote:

 PS: You can always upgrade to RELENG_4.  Gregory Neil Shapiro, the
 maintainer of Sendmail on FreeBSD, has already merged the latest
 Sendmail version (8.12.8) to the RELENG_4 branch.

Actually, according to what I can see in a quick trawl through cvsweb,
he's MFC'd sendmail patches on all RELENG_x and RELENG_x_y branches
back to and including RELENG_3:


http://www.freebsd.org/cgi/cvsweb.cgi/src/contrib/sendmail/src/?sortby=dateonly_with_tag=RELENG_3

However, it seems that his modifications don't constitute a complete
upgrade to sendmail-8.12.8 except on RELENG_4 and HEAD.  Hence the
confusion over the binary updates given in the original security
alert.  Your sendmail binary will be immune to this attack if you've
built it out of a recently cvsup'd source tree or installed one of the
binary patches so that:

-- you're running sendmail-8.12.8 or better

or

-- the string 'Dropped invalid comments from header address'
   appears in the sendmail binary.

Thanks to Claus Assmann for pointing out the second test.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Every subject twice ?

2003-03-04 Thread Anselme
Hi everybody !

Does someone had the some problem than me : I receive every message from
this list twice  ?... which is a bit too much :) (same probme with
frebsd-mozilla but not with freebsd-newbies)

I tryed to unsubscribe and then subscribe again but the problem is still
the same ... Does someone has an idea how I can deal with this ?

Thanks

-- 
Anselme [EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Portupgrade -- revisited

2003-03-04 Thread Kent Stewart
On Tuesday 04 March 2003 12:16 am, Stijn Hoop wrote:
 On Mon, Mar 03, 2003 at 07:42:02PM -0800, Kent Stewart wrote:
  I learned something out of this too. Fontconfig was modified and so
  I tried -Rup fontconfig. Portupgrade just built fontconfig. Next I
  tried -pur fontconfig. It rebuild Xft, which had also been
  upgraded, and just repackaged everything that used them below that.
  Now, the kicker is that qt-3.x uses Xft.2 in the build but it was
  not rebuilt. I had to run -pufr fontconfig for that to happend.

 Please send this as a problem report to the portupgrade maintainer,
 Akinori MUSHA [EMAIL PROTECTED].

I will try that tomorrow. It is too late to try it to night. I have 
never used send-pr before.


 Qt31 has Xft.2 listed as a direct dependency so it should be rebuilt
 if that port is rebuilt, just as you said.portupgrade-20030228


It wasn't the only one. The complete list looks like

# pkgreq Xft
Information for Xft-2.1_2:

Required by:
XFree86-4.2.0_1,1
XFree86-clients-4.2.1_3
arts-1.1,1
kdbg-1.2.5
kde-3.1
kdeartwork-3.1
kdebase-3.1_1
kdegames-3.1
kdegraphics-3.1
kdelibs-3.1
kdemultimedia-3.1
kdenetwork-3.1
kdepim-3.1
kdetoys-3.1_1
kdeutils-3.1
kdevelop-2.1.5
koffice-1.2.1,1
qt-3.1.1_4

None of them were rebuilt with out specifying -f on the portupgrade 
command. The version used was portupgrade-20030228. It was on a recent 
cvsup of ports-all and new INDEXs. Portupgrade was upgraded before 
trying to build fontconfig. The port's in the list all have Xft-2 as a 
b/r-dep. The command I used was

portupgrade -pur fontconfig

What it typically did was build anything showing up as modified 
(fontconfig and Xft-2) and then just repackage the rest like the 
following.

---  Packaging 'XFree86-clients-4.2.1_3' as dependency
Creating package /usr/ports/packages/All/XFree86-clients-4.2.1_3.tgz
Creating gzip'd tar ball in 
'/usr/ports/packages/All/XFree86-clients-4.2.1_3.tgz'
---  Packaging 'XFree86-4.2.0_1,1' as dependency
Creating package /usr/ports/packages/All/XFree86-4.2.0_1,1.tgz
Creating gzip'd tar ball in 
'/usr/ports/packages/All/XFree86-4.2.0_1,1.tgz'
---  Packaging 'qt-3.1.1_4' as dependency
.
.
etc

Kent

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


[no subject]

2003-03-04 Thread ed
Whether can flash-plugin to work in opera 6.11?

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: sendmail 4.6 fixed binary on 4.5-RELEASE ?

2003-03-04 Thread Matthew Seaman
On Mon, Mar 03, 2003 at 04:36:02PM -0800, Josh Brooks wrote:

 I am using:
 
 ftp://ftp.FreeBSD.org/pub/FreeBSD/CERT/patches/SA-03:04/sendmail-4.6-i386-crypto.bin.gz
 
 as a binary replacement for my sendmail binaries on my 4.6.x systems.  It
 is working fine.
 
 But what if I use this binary replacement on a 4.5-RELEASE system ?
 
 Has anyone tested or tried this ?  I would assume it would work because I
 notice many apps moving gracefully between 4.5 and 4.6, but I wonder if
 anyone has any official word - or even a prediction ?

It's unlikely that there will be any official word that the binary
patch you're using will work on releases earlier than 4.6.  As the
upgrade from sendmail-8.11.6 to sendmail-8.12.x and the corresponding
fun'n'games due to dropping the SUID bit on sendmail and the import of
/etc/rc.sendmail all occurred between release 4.5 and release 4.6 I
doubt that it would work entirely smoothly.

It's possible that the patched version might work on a 4.5 system, but
don't throw away the old sendmail binary until you're sure.  It's
probable that you will need to:

chmod 4755 /usr/libexec/sendmail/sendmail  (Only on 4.5-RELEASE or prior)

and you will see complaints in /var/log/maillog about inconsistent
versions of sendmail.cf if it does work at all.

Alternatively you could either try installing the ports version of
sendmail or cvsup'ing to the latest RELENG_4_5 sources and running a
{build,install}world.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: sendmail 4.6 fixed binary on 4.5-RELEASE ?

2003-03-04 Thread Toomas Aas
Hi!

 But what if I use this binary replacement on a 4.5-RELEASE system ?

Sendmail architecture on FreeBSD changed quite drastically between 
4.5-RELEASE and 4.6-RELEASE (see /usr/src/UPDATING for details). 
I think that for this reason the binary update is not quite drop-in on 
4.5, but I'm really no expert.
--
Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/
* Why is it called tourist season if we can't shoot at them?


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Portupgrade -- revisited

2003-03-04 Thread Stijn Hoop
On Tue, Mar 04, 2003 at 12:45:19AM -0800, Kent Stewart wrote:
 On Tuesday 04 March 2003 12:16 am, Stijn Hoop wrote:
  On Mon, Mar 03, 2003 at 07:42:02PM -0800, Kent Stewart wrote:
   I learned something out of this too. Fontconfig was modified and so
   I tried -Rup fontconfig. Portupgrade just built fontconfig. Next I
   tried -pur fontconfig. It rebuild Xft, which had also been
   upgraded, and just repackaged everything that used them below that.
   Now, the kicker is that qt-3.x uses Xft.2 in the build but it was
   not rebuilt. I had to run -pufr fontconfig for that to happend.
 
  Please send this as a problem report to the portupgrade maintainer,
  Akinori MUSHA [EMAIL PROTECTED].
 
 I will try that tomorrow. It is too late to try it to night. I have 
 never used send-pr before.

If you can send mail, you can use send-pr. However, after careful reading
this might not be a bug but intended behaviour.

You see, the manpage says this on the -r switch (and paraphrases it
for the -R switch):

 -r
 --recursiveAct on all those packages depending on the given
packages as well.

The problem is that 'act' is not defined very well -- if you think about
it, you've asked portupgrade, by using -pur, to check if fontconfig
is out of date and *if so* rebuilt it, and do *the same thing* for all
packages dependent on fontconfig.

Now, because qt hadn't changed, portupgrade didn't rebuilt it. It probably
did consider it though. You can use -v with portupgrade to check this.
If you use -f, it will *unconditionally* rebuild all dependent ports.

Is this a problem? Yes and no. Most of the time (and I suspect it is so
with qt) the dependant ports use the shared library. This means that they
will have the new functionality of the Xft port right away.

There are at least two cases where this breaks:

- Xft was upgraded to use a new major version. The old library is saved
  by portupgrade in a compatibility path, so qt and all other dependant
  packages will still function correctly, but it might pay to rebuild them
  to use the new library. Most of the time this requires source patches
  to the dependant ports though, because a library version bump should
  indicate an API breakage.

- Dependant ports used the *static* library. Now they need to be rebuild
  after every upgrade of Xft. There's no way to avoid this except to
  bug the authors of the port to consider using the shared library instead.

So, in retrospect, portupgrade was only doing what you told it to do. I
would suggest that next time you try and let portupgrade decide what
to upgrade, and check if dependant ports still work as expected.
I'd estimate that in 95% of the cases, they still work.

Hope this helps to clear up some of the confusion.

--Stijn

-- 
An Orb is for life, not just for Christmas.


pgp0.pgp
Description: PGP signature


[LAPTOP]: Use of external keyboard with dockable station issue

2003-03-04 Thread Sylvain Lharidon
Hello,

I'm using a Compaq Armada E500 laptop and, after some normal newbies problems, I 
I succeed in installating the FreeBSD 4.7-RELEASE.
These are my first steps into freebsd...

As I have a dockable station, I've tried to plug my laptop into the dock in 
order to use it with externals monitor, mouse and keyboard.
The problem come with the keyboard which does not work at all once the boot is 
finished.

What is strange is that at the beginning of the boot session, the keyboard seems 
to work fine (keyboard leds switched on) as I'm able to launch the boot process, 
by pressing the Enter key, before the 10 seconds countdown end.
But once this step passed, and arriving to the login phase the keyboard doesn't 
not work.
As the embedded keyboard of the laptop is not accessible (plugged into the 
dock), I'm only able to turn off the laptop.

Could you help me with this issue ?

May be I have to build a new kernel while using the laptop outside its dock.
But as I'm a newbies I don't know how to declare 2 keyboards into my kernel 
configuration file.

Thanks,

Sylvain.

--
Sylvain L'HARIDON
mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Q: Upgrading Sendmail

2003-03-04 Thread Andreas Widerøe Andersen
Hi all, I got a quick question:

How do I upgrade Sendmail on my FreeBSD 4.7 STABLE box? What I mean, since 
Sendmail comes with the system, will it be upgraded through a make world 
or do I have to run it from ports? I've got 8.12.6 and the latest in ports 
is 8.12.8.

Thanks a bunch!
/Andreas
---
Andreas Widerøe Andersen [EMAIL PROTECTED]
Pragma AS
http://www.pragma.no 

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Q: Upgrading Sendmail

2003-03-04 Thread Matthew Seaman
On Tue, Mar 04, 2003 at 11:03:06AM +0100, Andreas Widerøe Andersen wrote:
 Hi all, I got a quick question:
 
 How do I upgrade Sendmail on my FreeBSD 4.7 STABLE box? What I mean, since 
 Sendmail comes with the system, will it be upgraded through a make world 
 or do I have to run it from ports? I've got 8.12.6 and the latest in ports 
 is 8.12.8.

cvsup and buildworld will get you an updated sendmail, yes.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Cannot boot FreeBSD kernel

2003-03-04 Thread Heinrich Rebehn
Hi list,

trying to boot a FreeBSD kernel with etherboot 5.0.6 results in:

...
Loading 134.102.176.16:/tftpboot/bsd-diskless ...(ELF)... segment does not fit 
in any memory region

What does this mean?

The kernel is 2390599 bytes. Did i hit a size limitation?
I am attaching the Etherboot Config file.
Thanks for any hints

Heinrich
--
Heinrich Rebehn

University of Bremen
Physics / Electrical and Electronics Engineering
- Department of Telecommunications -
E-mail: mailto:[EMAIL PROTECTED]
Phone : +49/421/218-4664
Fax   :-3341
#
# Config for Etherboot/32
#
# Do not delete the tag OptionDescription and /OptionDescription
# It is used to automatically generate the documentation.
#
# OptionDescription
#   User interaction options:
#
#   -DASK_BOOT=n
#   Ask Boot from Network or from Local?  at startup,
#   timeout after n seconds (0 = no timeout); this
#   can be done in a more generic way by using the
#   IMAGE_MENU, but it requires that the bootp
#   server is accessible, even when booting locally.
#   If unset, boot immediately using the default.
#   -DANS_DEFAULT=ANS_NETWORK
#   Assume Network to previous question
#   (alternative: ANS_LOCAL) on timeout or Return key
#   See etherboot.h for prompt and answer strings.
#   -DBAR_PROGRESS
#   Use rotating bar instead of sequential dots
#   to indicate an IP packet transmitted.
#   -DMOTD
#   Display message of the day; read vendortags.html
#   for further information. (Deprecated)
#   -DIMAGE_MENU
#   Allow to interactively chose between different
#   bootimages; read vendortags.html for further
#   information. (Deprecated)
#   -DPASSWD
#   Enable password protection for boot images; this
#   requires -DIMAGE_MENU. (Deprecated)
#   -DUSRPARMS
#   Allow the user to interactively edit parameters
#   that are passed to the booted kernel; you should
#   probably enable -DPASSWD as well; this feature
#   requires -DIMAGE_MENU. (Deprecated)
#   -DANSIESC
#   Evaluate a subset of common ANSI escape sequences
#   when displaying the message of the day; this
#   probably does not make sense unless you also
#   define -DMOTD or at least -DIMAGE_MENU. It is
#   possible to combine this option with -DCONSOLE_DUAL,
#   but you have to be aware that the boot menu will
#   no longer use ANSI escapes to be compatible with the
#   serial console. Also be careful with your banners, as
#   they may confuse your serial console. Generally you
#   lose most of the ANSIESC functionality. (Deprecated)
#   -DGFX
#   Support extensions to the ANSI escape sequences for
#   displaying graphics (icons or logos); this
#   requires -DANSIESC. It probably does not make sense
#   to use -DGFX if you have -DCONSOLE_DUAL, as the
#   serial console normally cannot handle the GFX stuff.
#   (Deprecated)
#   -DSHOW_NUMERIC
#   Display menu item labels as numbers.
#   -DDELIMITERLINES
#   Print a line of = characters at the start
#   and also just before starting an image.
#   -DSIZEINDICATOR
#   Update a running total of the amount of code
#   loaded so far, in kilobytes.
#
#   Boot autoconfiguration protocol options:
#
#   -DNO_DHCP_SUPPORT
#   Use BOOTP instead of DHCP.
#   -DRARP_NOT_BOOTP
#   Use RARP instead of BOOTP/DHCP.
#   -DREQUIRE_VCI_ETHERBOOT
#   Require an encapsulated Vendor Class Identifier
#   of Etherboot in the DHCP reply
#   Requires DHCP support.
#   -DALLOW_ONLY_ENCAPSULATED
#   Ignore Etherboot-specific options that are not within
#   the Etherboot encapsulated options field.  This option
#   should be enabled unless you have a legacy DHCP server
#   configuration from the bad old days before the use of
#   encapsulated Etherboot options.
#
#   Boot tuning parameters:
#
#   -DCONGESTED
#   Turns on packet retransmission.  Use it on a
#   congested network, where the normal operation
#   

still can't resolve these system reboots... help please

2003-03-04 Thread Bsd Neophyte
i've upgraded the kernel as well as the system from 4.7 to 4.8rc3.

however, i'm still getting the same issues.  my system will randomly
reboot when i'm doing anything from changing a directory to ftp-ing.

i cracked the case, cleaned out all the dust thinking that the cooling was
an issue.

i've run cpuburn (burnP6 for the processor and burnBX for the ram) and the
processes seem to run fine.  i was also able to rebuild everything without
issue about the second time.

/var/log/messages isn't helping me much.  it simply shows the dmesg output
everytime the system reboots.

why has my system become so unstable?  this started when i tried to make
rsa and dsa keypairs... and i was told that the system might have faulty
parts or that it might get too hot.  but even after i cleaned the dust out
(and the system is not being overclocked) i am still getting random
reboots.

please if anyone can help me resolve this... i can't stand having this
extremely unstable server.  it's causing all sorts of problems on the
network.



__
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


RE: Sendmail patch questions...

2003-03-04 Thread Mike Loiterman
 
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tuesday, March 04, 2003 2:20 AM Matthew Seaman mailto:[EMAIL PROTECTED] wrote:

 On Tue, Mar 04, 2003 at 04:22:49AM +0200, Giorgos Keramidas wrote:
 
 PS: You can always upgrade to RELENG_4.  Gregory Neil Shapiro, the
 maintainer of Sendmail on FreeBSD, has already merged the latest
 Sendmail version (8.12.8) to the RELENG_4 branch.
 
 Actually, according to what I can see in a quick trawl through cvsweb,
 he's MFC'd sendmail patches on all RELENG_x and RELENG_x_y branches
 back to and including RELENG_3:
 

 http://www.freebsd.org/cgi/cvsweb.cgi/src/contrib/sendmail/src/?sortby=dateonly_with_tag=RELENG_3
 
 However, it seems that his modifications don't constitute a complete
 upgrade to sendmail-8.12.8 except on RELENG_4 and HEAD.  Hence the
 confusion over the binary updates given in the original security
 alert.  Your sendmail binary will be immune to this attack if you've
 built it out of a recently cvsup'd source tree or installed one of the
 binary patches so that:
 
 -- you're running sendmail-8.12.8 or better
 
 or
 
 -- the string 'Dropped invalid comments from header address'
appears in the sendmail binary.
 
 Thanks to Claus Assmann for pointing out the second test.
 
   Cheers,
 
   Matthew

Thanks Matt.  Few questions though:

1.  What is `BP'?
2.  I appllied the patch and now I'm building world with my exsisting 4.4 sources.  Is 
this not `safe' as cvsuping and then buidling world?  I'm not sure I understand the 
implications of not cvsuping, especially since the patch has been applied to 8.11.6 in 
the 4.4 branch.

- ---
Randomly Generated Quote:
A free society is one where it's safe
to be unpopular. --Adlai E. Stevenson

Mike Loiterman
PGP Key 0xD1B9D18E
http://www.ascendency.net



-BEGIN PGP SIGNATURE-
Version: PGP 8.0
Comment: This message has been digitally signed by Mike Loiterman

iQA/AwUBPmSYuGjZbUnRudGOEQJWPgCgvbrt9oAX6RJy/T4kHvX+aP+8v9AAnRDu
mQLlUgh4bGNv8SB8ormwrzq9
=3Qur
-END PGP SIGNATURE-


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: ad-hoc wireless mode and ticks (fwd)

2003-03-04 Thread Eko Suwarsono
May be help,

http://www.live.com/wireless/unix-base-station.html

and a little explanation you can read at,

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/wireless.html

Lucent (Orinoco / avaya) base wireless Card will not work for hostap or
ibss-master mode. To have your own FreeBSD host based Access point, you
must using Prism II or 2.5 Card.

Regards,

Eko Suwarsono
-
[EMAIL PROTECTED]

- Original Message -
From: Kan Cai [EMAIL PROTECTED]
To: Jason Hunt [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Tuesday, March 04, 2003 12:18 PM
Subject: Re: ad-hoc wireless mode and ticks (fwd)



 Hope Greg won't mind we still discuss here.

 On Mon, 3 Mar 2003, Jason Hunt wrote:

  On Mon, Mar 03, 2003 at 08:10:18PM -0800, Kan Cai wrote:
  
   But when I set the option mediaopt ibss, I cannot set it back to the
AP
   mode, or how should I (the ibss-master? it does not work for me)?. I
do
   not want this wireless station to be the hostAP itself.
  
 
  What commands are you running?  What errors do you receive?

 Here is the steps.

 Step 1
 --

 
 # ifconfig wi0 ssid myessid mediaopt ibss

 # wicontrol
 NIC serial number:  [ 03UT04368383 ]
 Station name:   [ FreeBSD WaveLAN/IEEE node ]
 SSID for IBSS creation: [ myessid ]
 Current netname (SSID): [ myessid ]
 Desired netname (SSID): [ myessid ]
 Current BSSID:  [ 44:44:44:44:44:44 ]
 Channel list:   [ 2047 ]
 IBSS channel:   [ 10 ]
 Current channel:[ 10 ]
 Comms quality/signal/noise: [ 0 27 27 ]
 Promiscuous mode:   [ Off ]
 Process 802.11b Frame:  [ Off ]
 Intersil-Prism2 based card: [ 0 ]
 Port type (1=BSS, 3=ad-hoc):[ 4 ]
 MAC address:[ 00:02:2d:8d:a9:a0 ]
 TX rate (selection):[ 3 ]
 TX rate (actual speed): [ 11 ]
 RTS/CTS handshake threshold:[ 2347 ]
 Create IBSS:[ Off ]
 Access point density:   [ 1 ]
 Power Mgmt (1=on, 0=off):   [ 0 ]
 Max sleep time: [ 100 ]
 WEP encryption: [ Off ]
 TX encryption key:  [ 1 ]
 Encryption keys:[  ][  ][  ][  ]
 

 The above info shown by wicontrol is same to that uses -p 4

 
 # ifconfig
 fxp0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
 inet6 fe80::202:b3ff:fe4d:d16%fxp0 prefixlen 64 scopeid 0x1
 inet 142.103.10.99 netmask 0xff00 broadcast 142.103.10.255
 ether 00:02:b3:4d:0d:16
 media: Ethernet autoselect (100baseTX full-duplex)
 status: active
 lp0: flags=8810POINTOPOINT,SIMPLEX,MULTICAST mtu 1500
 lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
 inet6 ::1 prefixlen 128
 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
 inet 127.0.0.1 netmask 0xff00
 ppp0: flags=8010POINTOPOINT,MULTICAST mtu 1500
 sl0: flags=c010POINTOPOINT,LINK2,MULTICAST mtu 552
 faith0: flags=8002BROADCAST,MULTICAST mtu 1500
 wi0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
 inet6 fe80::202:2dff:fe8d:a9a0%wi0 prefixlen 64 scopeid 0x7
 inet 142.103.240.47 netmask 0xf800 broadcast 142.103.247.255
 ether 00:02:2d:8d:a9:a0
 media: IEEE 802.11 Wireless Ethernet autoselect ibss (DS/11Mbps
 ibss)
 status: associated

 

 The ifconfig shows a little difference in media, previously it was

 
 media: IEEE 802.11 Wireless Ethernet autoselect (DS/11Mbps ibss)
 

 no first ibss after the autoselect.


 Step 2:
 --
 and now if I have no idea how to set back to infrastructured mode by
 ifconfig, or I don't know the right way to do. I attempted to use
 ibss-master or hostap, although I don't think they are correct.

 
 # ifconfig wi0 mediaopt ibss-master
 ifconfig: SIOCSIFMEDIA: Device not configured
 

 Step 3:
 ---
 Then I tried using wicontrol command

 
 # wicontrol -p 1
 # wicontrol
 NIC serial number:  [ 03UT04368383 ]
 Station name:   [ FreeBSD WaveLAN/IEEE node ]
 SSID for IBSS creation: [ myessid ]
 Current netname (SSID): [ myessid ]
 Desired netname (SSID): [ myessid ]
 Current BSSID:  [ 44:44:44:44:44:44 ]
 Channel list:   [ 2047 ]
 IBSS channel:   [ 10 ]
 Current channel:[ 10 ]
 Comms quality/signal/noise: [ 0 27 27 ]
 Promiscuous mode:   [ Off ]
 Process 802.11b Frame:  [ Off ]
 Intersil-Prism2 based card: [ 0 ]
 Port type (1=BSS, 3=ad-hoc):[ 1 ]
 MAC address:  

Re: Perl5.8 install

2003-03-04 Thread Lowell Gilbert
Odhiambo Washington [EMAIL PROTECTED] writes:

 I am installing perl from the ports on a 4.7 box.
 
 Anyone knows a way to get past this error:

I can't reproduce it with an up-to-date system.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: still can't resolve these system reboots... help please

2003-03-04 Thread Tuc
 
 please if anyone can help me resolve this... i can't stand having this
 extremely unstable server.  it's causing all sorts of problems on the
 network.
 
I feel for you. I too am having it. Most of the time it does it
while I'm not around, but once I was in elm writing mail, and the screen
went black, and the DELL splash screen came on. I ran burnP6 for a few
minutes (Boy does it make the system unhappy, but it kept chugging) and
BurnMMX too. I'm cvsup'd to Feb 23, RELENG_4.

Tuc/TTSG Internet Services, Inc.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Cannot boot FreeBSD kernel with etherboot

2003-03-04 Thread Heinrich Rebehn
Heinrich Rebehn wrote:
Hi list,

trying to boot a FreeBSD kernel with etherboot 5.0.6 results in:

...
Loading 134.102.176.16:/tftpboot/bsd-diskless ...(ELF)... segment does 
not fit in any memory region

What does this mean?

The kernel is 2390599 bytes. Did i hit a size limitation?
I am attaching the Etherboot Config file.
I have found the solution myself, i forgot -DIMAGE_FREEBSD, in fact i thought 
i set it at my 2nd try, but on the 2nd try, i had the floppy write protected, 
which i didn't notice.. :-(

Now the kernel gets loaded, last output from etherboot is done and 
then the system reboots.. :-(

Heinrich
Thanks for any hints

Heinrich



#
# Config for Etherboot/32
#
# Do not delete the tag OptionDescription and /OptionDescription
# It is used to automatically generate the documentation.
#
# OptionDescription
#   User interaction options:
#
#   -DASK_BOOT=n
#   Ask Boot from Network or from Local?  at startup,
#   timeout after n seconds (0 = no timeout); this
#   can be done in a more generic way by using the
#   IMAGE_MENU, but it requires that the bootp
#   server is accessible, even when booting locally.
#   If unset, boot immediately using the default.
#   -DANS_DEFAULT=ANS_NETWORK
#   Assume Network to previous question
#   (alternative: ANS_LOCAL) on timeout or Return key
#   See etherboot.h for prompt and answer strings.
#   -DBAR_PROGRESS
#   Use rotating bar instead of sequential dots
#   to indicate an IP packet transmitted.
#   -DMOTD
#   Display message of the day; read vendortags.html
#   for further information. (Deprecated)
#   -DIMAGE_MENU
#   Allow to interactively chose between different
#   bootimages; read vendortags.html for further
#   information. (Deprecated)
#   -DPASSWD
#   Enable password protection for boot images; this
#   requires -DIMAGE_MENU. (Deprecated)
#   -DUSRPARMS
#   Allow the user to interactively edit parameters
#   that are passed to the booted kernel; you should
#   probably enable -DPASSWD as well; this feature
#   requires -DIMAGE_MENU. (Deprecated)
#   -DANSIESC
#   Evaluate a subset of common ANSI escape sequences
#   when displaying the message of the day; this
#   probably does not make sense unless you also
#   define -DMOTD or at least -DIMAGE_MENU. It is
#   possible to combine this option with -DCONSOLE_DUAL,
#   but you have to be aware that the boot menu will
#   no longer use ANSI escapes to be compatible with the
#   serial console. Also be careful with your banners, as
#   they may confuse your serial console. Generally you
#   lose most of the ANSIESC functionality. (Deprecated)
#   -DGFX
#   Support extensions to the ANSI escape sequences for
#   displaying graphics (icons or logos); this
#   requires -DANSIESC. It probably does not make sense
#   to use -DGFX if you have -DCONSOLE_DUAL, as the
#   serial console normally cannot handle the GFX stuff.
#   (Deprecated)
#   -DSHOW_NUMERIC
#   Display menu item labels as numbers.
#   -DDELIMITERLINES
#   Print a line of = characters at the start
#   and also just before starting an image.
#   -DSIZEINDICATOR
#   Update a running total of the amount of code
#   loaded so far, in kilobytes.
#
#   Boot autoconfiguration protocol options:
#
#   -DNO_DHCP_SUPPORT
#   Use BOOTP instead of DHCP.
#   -DRARP_NOT_BOOTP
#   Use RARP instead of BOOTP/DHCP.
#   -DREQUIRE_VCI_ETHERBOOT
#   Require an encapsulated Vendor Class Identifier
#   of Etherboot in the DHCP reply
#   Requires DHCP support.
#   -DALLOW_ONLY_ENCAPSULATED
#   Ignore Etherboot-specific options that are not within
#   the Etherboot encapsulated options field.  This option
#   should be enabled unless you have a legacy DHCP server
#   configuration from the bad old days before the use of
#   encapsulated Etherboot options.
#
#   Boot tuning 

FreeBSD install and IBM PC Server 325

2003-03-04 Thread Ryan T. Dean
Howdy-
I've got an old IBM PC Server 325 sitting over here that I'd love
to be able to get FreeBSD installed on.  I've tried on and off for a few
months now, and am tired of bashing my head against the wall.  (for the
record, I do have FBSD installs on 6 other machines that I use on a daily
basis - this IBM server is driving me crazy).

The machine will boot from the CD, prompt for kernel
configuration, but I hang for (or immediately after?) the following
message:

Waiting 15 seconds for SCSI devices to settle

I've double and triple checked all the cabling and the device termination
- everything appears to be good.  I can, in the SCSI bios, low level
format all of the disks.  When I got the machine, it had a working NT4
install on it - and for shits and giggles, I've since been able to load
Windows 2000 onto it.

A little more information about the machine:
its a dual pent pro machine, only has one CPU in it currently
the onboard SCSI controller (no IDE controller) is an AIC7880


I've tried installing with all of the drives, each drive individually, and
with all the drives in every possible configuration - nothing.  I've also
renumbered each of the drives and repeated the above attempts - still
nothing.

I'm stumped - I've got no idea what it doesn't like.  Attempts at
searching the -questions and -scsi archives have met with failure.  I
don't know what to say.  If anyone has any ideas, I'm more than willing to
listen.  I do ask to be cc:'d on any response, as I'm not currently
tracking -questions.

Many thanks.

-Ryan T. Dean
[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Sendmail patch questions...

2003-03-04 Thread Peter Elsner
Step by step instructions

ftp sendmail.org
login anonymously
cd pub/sendmail
get sendmail-8.12.8.tar.gz
quit
tar xvzf sendmail-8.12.8.tar.gz
cd sendmail-8.12.8
./Build
./Build install
kill -1 (SIGHUP) sendmail

You're now upgraded

At 08:53 PM 3/3/2003 -0600, you wrote:
On Mon, Mar 03, 2003 at 05:49:50PM -0600, Mike Loiterman wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Just applied the patch to /usr/src/contrib/sendmail/src

 I'm running sendmail 8.11.6


 1.  Is this the correct location for the patch?
 2.  Do I need to do a `make world' or can I just do a make install from 
with the /usr/src/contrib/sendmail directory and restart sendmail?

 Thanks...

I'm also running 8.11.6.  I installed the correct patch from sendmail.org
but haven't figured out how to get it to compile.  The README says:
*
!! DO NOT USE MAKE !!  in this directory to compile sendmail --
*  instead, use the Build script located in
the sendmail directory.
However, there is no Build script.

Now what?

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message
--
Peter Elsner [EMAIL PROTECTED]
Vice President Of Customer Service (And System Administrator)
1835 S. Carrier Parkway
Grand Prairie, Texas 75051
(972) 263-2080 - Voice
(972) 263-2082 - Fax
(972) 489-4838 - Cell Phone
(425) 988-8061 - eFax
I worry about my child and the Internet all the time, even though she's
too young to have logged on yet. Here's what I worry about. I worry
that 10 or 15 years from now, she will come to me and say Daddy, where
were you when they took freedom of the press away from the Internet?
-- Mike Godwin
Unix IS user friendly... It's just selective about who its friends are.
System Administration - It's a dirty job, but somebody said I had to do it.
If you receive something that says 'Send this to everyone you know,
pretend you don't know me.
Standard $500/message proofreading fee applies for UCE.



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


A couple of questions related to the sendmail patch, etc.

2003-03-04 Thread Phillip Smith (mailing list)

Hello,

A couple of quick questions...

I've downloaded the 8.11.6 patch from sendmail.org, and used the
instructions they provided 
[patch -p0  /PATH/TO/sendmail.8.11.6.security.cr.patch], which then
prompts me for 'which file to patch.' I'm not clear on which file I
_need_ to patch? Or where it would be.

I've read the thread on this already, and perhaps I'll try upgrading
Sendmail in its entirety. But, for my amusement, how would I patch my
current (working perfectly) version of Sendmail?

Second question, I'd like to re-compile my Kernel and some other things
that required the sources to be installed. On one machine (where I
didn't install then initially), I'm having a real challenge trying to
get them (chicken and egg); using sysinstall, I'm trying to install
additional distributions  sources  all. Unfortunately, the CD-ROM does
not seem to be working on this box, so I'm trying via ftp... but I keep
receiving this message:

Warning:  Can't find the `4.5-RELEASE' distribution on this
server.  You may need to visit a different server for
the release you are trying to fetch or go to the Options
menu and to set the release name to explicitly match what's
available on ftp.freebsd.org (or set to any).
Would you like to select another FTP server?

Any thoughts on how to get the sources downloaded?

--
Phillip


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: A couple of questions related to the sendmail patch, etc.

2003-03-04 Thread John Mills
Phillip -

On Tue, 4 Mar 2003, Phillip Smith (mailing list) wrote:

 I've downloaded the 8.11.6 patch from sendmail.org, and used the
 instructions they provided 
 [patch -p0  /PATH/TO/sendmail.8.11.6.security.cr.patch], which then
 prompts me for 'which file to patch.' I'm not clear on which file I
 _need_ to patch? Or where it would be.

I associate this message with an earlier line identifying the file being
sought.  Usually this means I am not in a directory at the same relative
path [to the source root] from which the patch was made. Back up one
directory above your source root and try a few values of '-pN': -p1 .. -p3
 stopping as you have if the sources are not found -- very likely you will
hit the right offset and one or all of the patches will be applied
successfully. You have to look at any sections which fail to determine
why, and whether they are important. (You will get a report of this and 
they will have been saved with a 'rej' suffix.)

-- 
 John Mills
 [EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Sendmail patch questions...

2003-03-04 Thread Matthew Seaman
On Tue, Mar 04, 2003 at 06:14:49AM -0600, Mike Loiterman wrote:
  
 On Tuesday, March 04, 2003 2:20 AM Matthew Seaman mailto:[EMAIL PROTECTED] wrote:
 
  On Tue, Mar 04, 2003 at 04:22:49AM +0200, Giorgos Keramidas wrote:
  
  PS: You can always upgrade to RELENG_4.  Gregory Neil Shapiro, the
  maintainer of Sendmail on FreeBSD, has already merged the latest
  Sendmail version (8.12.8) to the RELENG_4 branch.
  
  Actually, according to what I can see in a quick trawl through cvsweb,
  he's MFC'd sendmail patches on all RELENG_x and RELENG_x_y branches
  back to and including RELENG_3:
  
 
  http://www.freebsd.org/cgi/cvsweb.cgi/src/contrib/sendmail/src/?sortby=dateonly_with_tag=RELENG_3
  
  However, it seems that his modifications don't constitute a complete
  upgrade to sendmail-8.12.8 except on RELENG_4 and HEAD.  Hence the
  confusion over the binary updates given in the original security
  alert.  Your sendmail binary will be immune to this attack if you've
  built it out of a recently cvsup'd source tree or installed one of the
  binary patches so that:
  
  -- you're running sendmail-8.12.8 or better
  
  or
  
  -- the string 'Dropped invalid comments from header address'
 appears in the sendmail binary.
  
  Thanks to Claus Assmann for pointing out the second test.
  
  Cheers,
  
  Matthew
 
 Thanks Matt.  Few questions though:
 
 1.  What is `BP'?

If you're talking about CVS tags that stands for Branch Point --
ie. RELENG_4_7_BP marks the state of the sources at the point that the
RELENG_4_7 branch was created out of the RELENG_4 sources.  It's not a
particularly rewarding place to look for a fixed version of sendmail
though.

 2.  I appllied the patch and now I'm building world with my exsisting 4.4 sources.  
 Is this not `safe' as cvsuping and then buidling world?  I'm not sure I understand 
 the implications of not cvsuping, especially since the patch has been applied to 
 8.11.6 in the 4.4 branch.

There's different interpretations of safe.  If you're running
production services on your machine and you can't afford the time to
run through regression tests and the like which you should do when
upgrading to a new OS version, then a conservative upgrade, like
applying the patches from the advisory or cvsup'ing to the latest
RELENG_4_4 sources sounds like a good idea.

On the other hand, if this is a personal machine and you can cope with
the sort of fallout you may encounter by doing a wholesale upgrade[*]
then generally, running the latest available 4.x version will give you
maximum benefit of all the development that's gone into the system
over the last year or so with minimum teething problems due to untried
code.

Cheers,

Matthew

[*] Not that FreeBSD upgrades tend to generate that much in terms of
fallout anyhow.  I can't remember the last time I broke a system or a
software package by attempting to upgrade.


-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


hacking attempts?

2003-03-04 Thread Phillip Smith (mailing list)

I found this in my logs and I'm wondering if this is a hacking attempt?
Should I be concerned?

Also, if/when I see these, I'd like to add them to a blocked list using
/sbin/ipfw, but get the following message when trying this command:

# /sbin/ipfw add 1 deny all from 151.204.100.88:255.255.255.255 to any
ipfw: getsockopt(IP_FW_ADD): Protocol not available


freedom.domain.com login failures:
Mar  2 11:38:33 freedom sshd[47912]: Failed none for illegal user test
from 64.21.10.2
port 36747 ssh2
Mar  2 11:38:33 freedom sshd[47912]: Failed publickey for illegal user
test from
64.21.10.2 port 36747 ssh2
Mar  2 11:38:34 freedom sshd[47912]: Failed keyboard-interactive for
illegal user test
from 64.21.10.2 port 36747 ssh2
Mar  2 11:38:34 freedom sshd[47912]: Failed password for illegal user
test from
64.21.10.2 port 36747 ssh2
Mar  2 11:38:34 freedom sshd[47912]: Failed password for illegal user
test from
64.21.10.2 port 36747 ssh2
Mar  2 11:38:37 freedom sshd[47913]: Failed none for illegal user oracle
from 64.21.10.2
port 36984 ssh2
Mar  2 11:38:38 freedom sshd[47913]: Failed publickey for illegal user
oracle from
64.21.10.2 port 36984 ssh2
Mar  2 11:38:38 freedom sshd[47913]: Failed keyboard-interactive for
illegal user oracle
from 64.21.10.2 port 36984 ssh2
Mar  2 11:38:38 freedom sshd[47913]: Failed password for illegal user
oracle from
64.21.10.2 port 36984 ssh2
Mar  2 11:38:38 freedom sshd[47913]: Failed password for illegal user
oracle from
64.21.10.2 port 36984 ssh2
Mar  2 11:38:41 freedom sshd[47914]: Failed none for illegal user guest
from 64.21.10.2
port 37171 ssh2
Mar  2 11:38:41 freedom sshd[47914]: Failed publickey for illegal user
guest from
64.21.10.2 port 37171 ssh2
Mar  2 11:38:41 freedom sshd[47914]: Failed keyboard-interactive for
illegal user guest
from 64.21.10.2 port 37171 ssh2
Mar  2 11:38:41 freedom sshd[47914]: Failed password for illegal user
guest from
64.21.10.2 port 37171 ssh2
Mar  2 11:38:41 freedom sshd[47914]: Failed password for illegal user
guest from
64.21.10.2 port 37171 ssh2
Mar  2 11:38:44 freedom sshd[47915]: Failed password for ROOT from
64.21.10.2 port 37187
ssh2
Mar  2 11:38:45 freedom sshd[47915]: Failed password for ROOT from
64.21.10.2 port 37187
ssh2
Mar  2 11:38:48 freedom sshd[47916]: Failed password for nobody from
64.21.10.2 port
37211 ssh2
Mar  2 11:38:48 freedom sshd[47916]: Failed password for nobody from
64.21.10.2 port
37211 ssh2
Mar  2 11:38:52 freedom sshd[47917]: Failed password for games from
64.21.10.2 port
37215 ssh2
Mar  2 11:38:52 freedom sshd[47917]: Failed password for games from
64.21.10.2 port
37215 ssh2
Mar  2 11:38:56 freedom sshd[47918]: Failed none for illegal user user
from 64.21.10.2
port 37217 ssh2
Mar  2 11:38:56 freedom sshd[47918]: Failed publickey for illegal user
user from
64.21.10.2 port 37217 ssh2
Mar  2 11:38:56 freedom sshd[47918]: Failed keyboard-interactive for
illegal user user
from 64.21.10.2 port 37217 ssh2
Mar  2 11:38:56 freedom sshd[47918]: Failed password for illegal user
user from
64.21.10.2 port 37217 ssh2
Mar  2 11:38:56 freedom sshd[47918]: Failed password for illegal user
user from
64.21.10.2 port 37217 ssh2
Mar  2 11:38:59 freedom sshd[47919]: Failed password for ROOT from
64.21.10.2 port 37218
ssh2
Mar  2 11:38:59 freedom sshd[47919]: Failed password for ROOT from
64.21.10.2 port 37218


--
Phillip


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


dev ufm0

2003-03-04 Thread Brian Henning
Hello -
I am trying to use my usb FM radio on freebsd, but i am having problems creating
the device.
any suggestions?

Cheers,

brian

[EMAIL PROTECTED]/home/henninb  ls /dev/ufm0*
ls: No match.
[EMAIL PROTECTED]/home/henninb  dmesg | grep ufm
ufm0: GemTek Corp USB FM Radio, rev 1.00/4.10, addr 2
[EMAIL PROTECTED]/home/henninb  cd /dev
[EMAIL PROTECTED]/dev  sh MAKEDEV ufm
ufm - no such device name
[EMAIL PROTECTED]/dev  sh MAKEDEV ufm0
ufm0 - no such device name

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


need database suggestion for *.mdb files

2003-03-04 Thread Kirk R. Wythers
I just received an attachment that was saved as an Access db. Can anyone
suggest an application to deal with this file. I'm not familiar enough
with freebsd's database options to know if any of them read .mdb files. 

Thanks
-- 
Kirk R. Wythers Department of Forest Resources  
Tel: 612.625.2261   University of Minnesota
Fax: 612.625.5211530 Cleveland Ave. N
Email: [EMAIL PROTECTED]Saint Paul, MN 55108 USA


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: dev ufm0

2003-03-04 Thread Peter Elsner
Try...

sh MAKEDEV ufm



At 09:26 AM 3/4/2003 -0600, you wrote:
Hello -
I am trying to use my usb FM radio on freebsd, but i am having problems 
creating
the device.
any suggestions?

Cheers,

brian

[EMAIL PROTECTED]/home/henninb  ls /dev/ufm0*
ls: No match.
[EMAIL PROTECTED]/home/henninb  dmesg | grep ufm
ufm0: GemTek Corp USB FM Radio, rev 1.00/4.10, addr 2
[EMAIL PROTECTED]/home/henninb  cd /dev
[EMAIL PROTECTED]/dev  sh MAKEDEV ufm
ufm - no such device name
[EMAIL PROTECTED]/dev  sh MAKEDEV ufm0
ufm0 - no such device name
To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message
--
Peter Elsner [EMAIL PROTECTED]
Vice President Of Customer Service (And System Administrator)
1835 S. Carrier Parkway
Grand Prairie, Texas 75051
(972) 263-2080 - Voice
(972) 263-2082 - Fax
(972) 489-4838 - Cell Phone
(425) 988-8061 - eFax
I worry about my child and the Internet all the time, even though she's
too young to have logged on yet. Here's what I worry about. I worry
that 10 or 15 years from now, she will come to me and say Daddy, where
were you when they took freedom of the press away from the Internet?
-- Mike Godwin
Unix IS user friendly... It's just selective about who its friends are.
System Administration - It's a dirty job, but somebody said I had to do it.
If you receive something that says 'Send this to everyone you know,
pretend you don't know me.
Standard $500/message proofreading fee applies for UCE.



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Setting up Unknown ISA Ethernet Card

2003-03-04 Thread Chan, Herman (MTO)
Hi:

I am new to freebsd and I am trying to set up a ISA ethernet card so I can
connect to interent with my cable modem.

Since I don't know the brand name of the ISA ethernet card, I've been having
hard time setting up the OS.

Any idea how can I make it work, is there any way I can see the IRQ and port
for the ISA card without runny another
OS on the machine?

And how can I test if the ethernet card is up and running?

Thanks in advance.
Herman

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: dev ufm0

2003-03-04 Thread Brian Henning
I tried that with no luck.

[EMAIL PROTECTED]/dev  sh MAKEDEV ufm
ufm - no such device name



- Original Message -
From: Peter Elsner [EMAIL PROTECTED]
To: Brian Henning [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, March 04, 2003 9:30 AM
Subject: Re: dev ufm0


 Try...

 sh MAKEDEV ufm



 At 09:26 AM 3/4/2003 -0600, you wrote:
 Hello -
 I am trying to use my usb FM radio on freebsd, but i am having problems
 creating
 the device.
 any suggestions?
 
 Cheers,
 
 brian
 
 [EMAIL PROTECTED]/home/henninb  ls /dev/ufm0*
 ls: No match.
 [EMAIL PROTECTED]/home/henninb  dmesg | grep ufm
 ufm0: GemTek Corp USB FM Radio, rev 1.00/4.10, addr 2
 [EMAIL PROTECTED]/home/henninb  cd /dev
 [EMAIL PROTECTED]/dev  sh MAKEDEV ufm
 ufm - no such device name
 [EMAIL PROTECTED]/dev  sh MAKEDEV ufm0
 ufm0 - no such device name
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message

 --

 Peter Elsner [EMAIL PROTECTED]
 Vice President Of Customer Service (And System Administrator)
 1835 S. Carrier Parkway
 Grand Prairie, Texas 75051
 (972) 263-2080 - Voice
 (972) 263-2082 - Fax
 (972) 489-4838 - Cell Phone
 (425) 988-8061 - eFax

 I worry about my child and the Internet all the time, even though she's
 too young to have logged on yet. Here's what I worry about. I worry
 that 10 or 15 years from now, she will come to me and say Daddy, where
 were you when they took freedom of the press away from the Internet?
 -- Mike Godwin

 Unix IS user friendly... It's just selective about who its friends are.
 System Administration - It's a dirty job, but somebody said I had to do it.
 If you receive something that says 'Send this to everyone you know,
 pretend you don't know me.

 Standard $500/message proofreading fee applies for UCE.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Setting up Unknown ISA Ethernet Card

2003-03-04 Thread Jasvinder S. Bahra
Log in as root, and enter the command 'dmesg'. Look through the output (you may need 
to scroll up using the Scroll Lock key).

You should see an entry for all the hardware in your machine.

Jazz

- Original Message - 
 Hi:
 
 I am new to freebsd and I am trying to set up a ISA ethernet card so I can
 connect to interent with my cable modem.
 
 Since I don't know the brand name of the ISA ethernet card, I've been having
 hard time setting up the OS.
 
 Any idea how can I make it work, is there any way I can see the IRQ and port
 for the ISA card without runny another
 OS on the machine?
 
 And how can I test if the ethernet card is up and running?
 
 Thanks in advance.
 Herman



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Setting up Unknown ISA Ethernet Card

2003-03-04 Thread Marc Schneiders
On Tue, 4 Mar 2003, at 10:30 [=GMT-0500], Chan, Herman (MTO) wrote:

 I am new to freebsd and I am trying to set up a ISA ethernet card so I can
 connect to interent with my cable modem.

 Since I don't know the brand name of the ISA ethernet card,

There must be something written on this card. Enter that in Google and
see what comes up. Or tell it here, if Google doesn't work.

 I've been having
 hard time setting up the OS.

 Any idea how can I make it work, is there any way I can see the IRQ and port
 for the ISA card without runny another
 OS on the machine?

Does FreeBSD _see_ your card? Is it mentioned in the kernel messages?
If so, what do they exactly say? Or if you get to the install, is the
card listed among the network devices that you can use to install
over? Look for some device with a mac address, e.g.:

ep0: 3Com 3C509-Combo EtherLink III at port 0x310-0x31f irq 10 on
isa0
ep0: Ethernet address 00:60:08:47:b1:0b

This Ethernet address indicates that it is an ethernet card :-)

 And how can I test if the ethernet card is up and running?

Usually there is some sort of DOS program for these old cards. You can
run it from a DOS floppy. This program can be used to set IRQ etc. as
well as to test the functioning.

Some of these cards also can be set to both BNC and UTP connectors,
some even have AUI. Often this works fine when set to auto. However,
if it set by some setup program in the past to do BNC and you use UTP,
it won't communicate obviously.

Some cards do have jumpers to set IRQ etc.

And then you have to enter the correct data of IRQ etc during the
FreeBSD install. Precisely because it is ISA.

And sometimes you also have to set the IRQ and memory address as
reserved in the BIOS. Otherwise those of your ISA card may be used by
some PCI device, and then it doesn't work, of course. In my experience
this is true for the Western Digital 8013 cards.

It is a bit of work, but many of these old cards do run fine still,
and you can pick them up from the street. Same with BNC cable, which
has far better connectors than UTP (RJ45, a.k.a. cat 5). I mean, stand
on a RJ45 connector, and you know what I mean. And you don't need a
hub, and have less cables on the floor, since BNC is daisy chain. So
if you are not going for 100 MBit, go ahead.



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: hacking attempts?

2003-03-04 Thread Bill Moran
Phillip Smith (mailing list) wrote:
I found this in my logs and I'm wondering if this is a hacking attempt?
Probably.

Should I be concerned?
Probably not, as long as you use good passwords for everything, you're
probably safe (unless you use telnet or ftp or something).
Also, if/when I see these, I'd like to add them to a blocked list using
/sbin/ipfw, but get the following message when trying this command:
# /sbin/ipfw add 1 deny all from 151.204.100.88:255.255.255.255 to any
ipfw: getsockopt(IP_FW_ADD): Protocol not available
Doesn't seem like IPFW is enabled.  What does your rc.conf look like?
You should enable it in /etc/rc.conf and select a good basic ruleset.
Additionally, when you add block rules like this, you should add them
to you /etc/rc.firewall script so they get preserved across a reboot.
freedom.domain.com login failures:
Mar  2 11:38:33 freedom sshd[47912]: Failed none for illegal user test
from 64.21.10.2
port 36747 ssh2
Mar  2 11:38:33 freedom sshd[47912]: Failed publickey for illegal user
test from
64.21.10.2 port 36747 ssh2
Mar  2 11:38:34 freedom sshd[47912]: Failed keyboard-interactive for
illegal user test
from 64.21.10.2 port 36747 ssh2
Mar  2 11:38:34 freedom sshd[47912]: Failed password for illegal user
test from
64.21.10.2 port 36747 ssh2
Mar  2 11:38:34 freedom sshd[47912]: Failed password for illegal user
test from
64.21.10.2 port 36747 ssh2
Mar  2 11:38:37 freedom sshd[47913]: Failed none for illegal user oracle
from 64.21.10.2
port 36984 ssh2
Mar  2 11:38:38 freedom sshd[47913]: Failed publickey for illegal user
oracle from
64.21.10.2 port 36984 ssh2
Mar  2 11:38:38 freedom sshd[47913]: Failed keyboard-interactive for
illegal user oracle
from 64.21.10.2 port 36984 ssh2
Mar  2 11:38:38 freedom sshd[47913]: Failed password for illegal user
oracle from
64.21.10.2 port 36984 ssh2
Mar  2 11:38:38 freedom sshd[47913]: Failed password for illegal user
oracle from
64.21.10.2 port 36984 ssh2
Mar  2 11:38:41 freedom sshd[47914]: Failed none for illegal user guest
from 64.21.10.2
port 37171 ssh2
Mar  2 11:38:41 freedom sshd[47914]: Failed publickey for illegal user
guest from
64.21.10.2 port 37171 ssh2
Mar  2 11:38:41 freedom sshd[47914]: Failed keyboard-interactive for
illegal user guest
from 64.21.10.2 port 37171 ssh2
Mar  2 11:38:41 freedom sshd[47914]: Failed password for illegal user
guest from
64.21.10.2 port 37171 ssh2
Mar  2 11:38:41 freedom sshd[47914]: Failed password for illegal user
guest from
64.21.10.2 port 37171 ssh2
Mar  2 11:38:44 freedom sshd[47915]: Failed password for ROOT from
64.21.10.2 port 37187
ssh2
Mar  2 11:38:45 freedom sshd[47915]: Failed password for ROOT from
64.21.10.2 port 37187
ssh2
Mar  2 11:38:48 freedom sshd[47916]: Failed password for nobody from
64.21.10.2 port
37211 ssh2
Mar  2 11:38:48 freedom sshd[47916]: Failed password for nobody from
64.21.10.2 port
37211 ssh2
Mar  2 11:38:52 freedom sshd[47917]: Failed password for games from
64.21.10.2 port
37215 ssh2
Mar  2 11:38:52 freedom sshd[47917]: Failed password for games from
64.21.10.2 port
37215 ssh2
Mar  2 11:38:56 freedom sshd[47918]: Failed none for illegal user user
from 64.21.10.2
port 37217 ssh2
Mar  2 11:38:56 freedom sshd[47918]: Failed publickey for illegal user
user from
64.21.10.2 port 37217 ssh2
Mar  2 11:38:56 freedom sshd[47918]: Failed keyboard-interactive for
illegal user user
from 64.21.10.2 port 37217 ssh2
Mar  2 11:38:56 freedom sshd[47918]: Failed password for illegal user
user from
64.21.10.2 port 37217 ssh2
Mar  2 11:38:56 freedom sshd[47918]: Failed password for illegal user
user from
64.21.10.2 port 37217 ssh2
Mar  2 11:38:59 freedom sshd[47919]: Failed password for ROOT from
64.21.10.2 port 37218
ssh2
Mar  2 11:38:59 freedom sshd[47919]: Failed password for ROOT from
64.21.10.2 port 37218
--
Bill Moran
Potential Technologies
http://www.potentialtech.com
To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: need database suggestion for *.mdb files

2003-03-04 Thread Clement Laforet
On 04 Mar 2003 09:30:16 -0600
Kirk R. Wythers [EMAIL PROTECTED] wrote:

 I just received an attachment that was saved as an Access db. Can anyone
 suggest an application to deal with this file. I'm not familiar enough
 with freebsd's database options to know if any of them read .mdb files. 

/usr/ports/databases/mdbtools/

clem

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: hacking attempts?

2003-03-04 Thread YOU

ipfw: getsockopt(blaah)

Is your kernel configured for firewall work? Check LINT for options.

As well you should be able to use tcpwrappers, look in
/etc/hosts.allow. You could add a deny for this 'persons' ip addy denying
him/her/it access to your sshd daemon. NOTE: It is 'normally not a good
idea' to do this, but if you don't want to rebuild with a firewall
configured kernel it will suffice.

Hope this helps.

R.

On Tue, 4 Mar 2003, Phillip Smith (mailing list) wrote:

 
 I found this in my logs and I'm wondering if this is a hacking attempt?
 Should I be concerned?
 
 Also, if/when I see these, I'd like to add them to a blocked list using
 /sbin/ipfw, but get the following message when trying this command:
 
 # /sbin/ipfw add 1 deny all from 151.204.100.88:255.255.255.255 to any
 ipfw: getsockopt(IP_FW_ADD): Protocol not available
 
 
 freedom.domain.com login failures:
 Mar  2 11:38:33 freedom sshd[47912]: Failed none for illegal user test
 from 64.21.10.2
 port 36747 ssh2
 Mar  2 11:38:33 freedom sshd[47912]: Failed publickey for illegal user
 test from
 64.21.10.2 port 36747 ssh2
 Mar  2 11:38:34 freedom sshd[47912]: Failed keyboard-interactive for
 illegal user test
 from 64.21.10.2 port 36747 ssh2
 Mar  2 11:38:34 freedom sshd[47912]: Failed password for illegal user
 test from
 64.21.10.2 port 36747 ssh2
 Mar  2 11:38:34 freedom sshd[47912]: Failed password for illegal user
 test from
 64.21.10.2 port 36747 ssh2
 Mar  2 11:38:37 freedom sshd[47913]: Failed none for illegal user oracle
 from 64.21.10.2
 port 36984 ssh2
 Mar  2 11:38:38 freedom sshd[47913]: Failed publickey for illegal user
 oracle from
 64.21.10.2 port 36984 ssh2
 Mar  2 11:38:38 freedom sshd[47913]: Failed keyboard-interactive for
 illegal user oracle
 from 64.21.10.2 port 36984 ssh2
 Mar  2 11:38:38 freedom sshd[47913]: Failed password for illegal user
 oracle from
 64.21.10.2 port 36984 ssh2
 Mar  2 11:38:38 freedom sshd[47913]: Failed password for illegal user
 oracle from
 64.21.10.2 port 36984 ssh2
 Mar  2 11:38:41 freedom sshd[47914]: Failed none for illegal user guest
 from 64.21.10.2
 port 37171 ssh2
 Mar  2 11:38:41 freedom sshd[47914]: Failed publickey for illegal user
 guest from
 64.21.10.2 port 37171 ssh2
 Mar  2 11:38:41 freedom sshd[47914]: Failed keyboard-interactive for
 illegal user guest
 from 64.21.10.2 port 37171 ssh2
 Mar  2 11:38:41 freedom sshd[47914]: Failed password for illegal user
 guest from
 64.21.10.2 port 37171 ssh2
 Mar  2 11:38:41 freedom sshd[47914]: Failed password for illegal user
 guest from
 64.21.10.2 port 37171 ssh2
 Mar  2 11:38:44 freedom sshd[47915]: Failed password for ROOT from
 64.21.10.2 port 37187
 ssh2
 Mar  2 11:38:45 freedom sshd[47915]: Failed password for ROOT from
 64.21.10.2 port 37187
 ssh2
 Mar  2 11:38:48 freedom sshd[47916]: Failed password for nobody from
 64.21.10.2 port
 37211 ssh2
 Mar  2 11:38:48 freedom sshd[47916]: Failed password for nobody from
 64.21.10.2 port
 37211 ssh2
 Mar  2 11:38:52 freedom sshd[47917]: Failed password for games from
 64.21.10.2 port
 37215 ssh2
 Mar  2 11:38:52 freedom sshd[47917]: Failed password for games from
 64.21.10.2 port
 37215 ssh2
 Mar  2 11:38:56 freedom sshd[47918]: Failed none for illegal user user
 from 64.21.10.2
 port 37217 ssh2
 Mar  2 11:38:56 freedom sshd[47918]: Failed publickey for illegal user
 user from
 64.21.10.2 port 37217 ssh2
 Mar  2 11:38:56 freedom sshd[47918]: Failed keyboard-interactive for
 illegal user user
 from 64.21.10.2 port 37217 ssh2
 Mar  2 11:38:56 freedom sshd[47918]: Failed password for illegal user
 user from
 64.21.10.2 port 37217 ssh2
 Mar  2 11:38:56 freedom sshd[47918]: Failed password for illegal user
 user from
 64.21.10.2 port 37217 ssh2
 Mar  2 11:38:59 freedom sshd[47919]: Failed password for ROOT from
 64.21.10.2 port 37218
 ssh2
 Mar  2 11:38:59 freedom sshd[47919]: Failed password for ROOT from
 64.21.10.2 port 37218
 
 
 --
 Phillip
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
 


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Portupgrade -- revisited

2003-03-04 Thread Cliff Sarginson
On Tue, Mar 04, 2003 at 10:00:08AM +0100, Stijn Hoop wrote:
 
 Hope this helps to clear up some of the confusion.
 
 --Stijn

Oh Mr Stijn. Listen, I am not tellimg you off, or making fun of you..Ok ?
I promise. But my eyes crossed, went sidewyas, took a holiday, crawled
across the floor looking for somewhere else to be.
Years and years ago I wrote a caculator program for DOS, using a
recursive state-machine model and allowing infinite precision, kind of
like bc..or is it dc ?
Quite necessary at the time to deal with the Dutch Tax System.

Portupgrade has too many ways it can go wrong for mere mortals.
I have offered to re-write it.
It will be a mega-project, but my offer is serious.

And ruby (don't take our love to town) will place a less than significant
role.


-- 
Regards
   Cliff

[ This mail has been checked as virus-free ]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


USB Mass storage (Datafab)

2003-03-04 Thread Irvine Short
Hi All

There's a pile of pretty neat USB attached gadgets out there.

We just got a USB 2.0 external case with a 2.5 notebook drive in it.
It's a Datafab MD2-USB2A.
On my machine running 4-STABLE as of this afternoon with USB 1.0 ports 
whenever I try to access it I get this:

gopak# disklabel -w -r da0 auto
disklabel: /dev/da0c: Input/output error
and in /var/log/messages I get this:
Mar  4 17:31:32 gopak /kernel: da0: reading primary partition table: 
error reading fsbn 0

On a 5.0 machine (5.0-RELEASE-p3) with USB 2.0 ports (Intel 845 based 
motherboard) I get this:

[EMAIL PROTECTED]:~$ disklabel -wr da0 auto
  disklabel: /dev/da0: Input/output error
and in  /var/log/messages:
Mar  4 12:00:52 fusion kernel: umass0: vendor 0x07c4 USB 2.0 Storage 
Device, rev 2.00/1.04, addr 2
  Mar  4 12:00:52 fusion kernel: umass0: Residue incorrect, was 0, 
should've been 219
  Mar  4 12:00:52 fusion last message repeated 4 times
  Mar  4 12:00:52 fusion kernel: da0 at umass-sim0 bus 0 target 0 lun 0
  Mar  4 12:00:52 fusion kernel: da0: USB 2.0 Storage Device 0100 
Fixed Direct Access SCSI-0 device
  Mar  4 12:00:52 fusion kernel: da0: 1.000MB/s transfers
  Mar  4 12:00:52 fusion kernel: da0: 38154MB (78140160 512 byte 
sectors: 255H 63S/T 4864C)
  Mar  4 12:00:52 fusion kernel: umass0: Residue incorrect, was 0, 
should've been 512
  Mar  4 12:00:53 fusion last message repeated 14 times
  Mar  4 12:01:25 fusion kernel: umass0: Residue incorrect, was 0, 
should've been 8192
  Mar  4 12:01:25 fusion last message repeated 4 times
  Mar  4 12:01:26 fusion kernel: umass0: Residue incorrect, was 0, 
should've been 512
  Mar  4 12:01:26 fusion last message repeated 14 times
  Mar  4 12:02:33 fusion kernel: umass0: at uhub0 port 2 (addr 2) 
disconnected
  Mar  4 12:02:33 fusion kernel: (da0:umass-sim0:0:0:0): lost device
  Mar  4 12:02:33 fusion kernel: (da0:umass-sim0:0:0:0): removing 
device entry
  Mar  4 12:02:33 fusion kernel: umass0: detached

Anyone ever make these things work? Under Windoze 2000 and XP it just 
works, no hassle at all.

Cheers,

--

Irvine Short

Sys Admin
SANBI, University of the Western Cape, South Africa
http://www.sanbi.ac.za
tel: +27-21-959 3645
cel: +27-82-494 3828
To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Sendmail patch questions...

2003-03-04 Thread Giorgos Keramidas
On 2003-03-03 21:15, Terry Todd [EMAIL PROTECTED] wrote:
 On Mon, Mar 03, 2003 at 08:53:26PM -0600, Terry Todd wrote:
  I'm also running 8.11.6.  I installed the correct patch from
  sendmail.org but haven't figured out how to get it to compile.
  The README says:
 
  *
  !! DO NOT USE MAKE !!  in this directory to compile sendmail --
  *  instead, use the Build script located in
  the sendmail directory.
 
  However, there is no Build script.
 
  Now what?

 Looks like in FreeBSD you need to cd to /usr/src/usr/sbin/sendmail
 and run make install after applying the patch from sendmail.org
 Then restart sendmail.

 Is there a way to test that the vulnerability has been fixed?

There are also a few other things you need to recompile:

# cd /usr/src
# for dirname in lib/libsm lib/libsmdb lib/libsmutil \
lib/libmilter bin/rmail libexec/mail.local \
libexec/smrsh usr.bin/vacation usr.sbin/editmap \
usr.sbin/mailstats usr.sbin/makemap \
usr.sbin/praliases usr.sbin/sendmail
do
cd ${dirname}
make cleandir  make cleandir
make obj  make depend  make  make install
cd /usr/src
done

- Giorgos

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: boring old me, KDE revisited

2003-03-04 Thread Andrew Y Ng
we need more information to figure out what your problem is, I and many
others have built or upgraded KDE many many times and have working versions
of KDE. portupgrade works like a charm for me, either when using it to build
from ports (source), or setting the PACKAGESITE environment variable to point
to the KDE package site at fruitsalad.org (check 
http://rabarber.fruitsalad.org/ for fully qualified path) and specify the -P 
option to install binary package.

/ayn
-- 
andrew y ng  [EMAIL PROTECTED]  http://andrewng.com
independent computer consultants http://aynassociates.com


On  0, Cliff Sarginson [EMAIL PROTECTED] wrote:
 I hae taken all adice given.
 I stil do not have a working KDE, 
 -- 
 Regards
Cliff



pgp0.pgp
Description: PGP signature


Re: SBC DSL vs Fbsd 4.7 PPPoE?

2003-03-04 Thread Kris Kennaway
On Mon, Mar 03, 2003 at 05:05:50PM -0800, [EMAIL PROTECTED] wrote:
 How-do.  Has anyone gotten SBC's DSL service working on FreeBSD?
 
 I've tinkered with netgraph, pppoe, and my ppp.conf file but still get an 
 error about device tun0 or tun1; I'm not sure what to do.

Post the exact error messages you are receiving, as well as your
configuration files (passwords removed) so we don't have to guess at
your problem.

Kris


pgp0.pgp
Description: PGP signature


Re: hacking attempts?

2003-03-04 Thread Kevin Kinsey, DaleCo, S.P.
From: YOU [EMAIL PROTECTED]
To: Phillip Smith (mailing list) [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, March 04, 2003 10:06 AM
Subject: Re: hacking attempts?



 On Tue, 4 Mar 2003, Phillip Smith (mailing list) wrote:

 
  I found this in my logs and I'm wondering if this is a hacking
attempt?
  Should I be concerned?
 
  Also, if/when I see these, I'd like to add them to a blocked list
using
  /sbin/ipfw, but get the following message when trying this
command:
 
  # /sbin/ipfw add 1 deny all from 151.204.100.88:255.255.255.255
to any
  ipfw: getsockopt(IP_FW_ADD): Protocol not available
 
 
  freedom.domain.com login failures:
  Mar  2 11:38:33 freedom sshd[47912]: Failed none for illegal user
test
  from 64.21.10.2
  port 36747 ssh2
  Mar  2 11:38:33 freedom sshd[47912]: Failed publickey for illegal
user
  test from
  64.21.10.2 port 36747 ssh2
  Mar  2 11:38:34 freedom sshd[47912]: Failed keyboard-interactive
for
  illegal user test
  from 64.21.10.2 port 36747 ssh2
  Mar  2 11:38:34 freedom sshd[47912]: Failed password for illegal
user
  test from
  64.21.10.2 port 36747 ssh2


 ipfw: getsockopt(blaah)

 Is your kernel configured for firewall work? Check LINT for
options.

 As well you should be able to use tcpwrappers, look in
 /etc/hosts.allow. You could add a deny for this 'persons' ip addy
denying
 him/her/it access to your sshd daemon. NOTE: It is 'normally not a
good
 idea' to do this, but if you don't want to rebuild with a firewall
 configured kernel it will suffice.

 Hope this helps.

 R.

And the reason it's not a good idea?  I've always
assumed it was because you didn't want to be
on vacation, at a friends house, or suddenly have
your ISP switch subnets on you and lock you out
of your box...

Absolutely nothing wrong with denying the
supposed cracker's IP;  AAMOF, go over
to ARIN or APNIC or such and ditch entire
Class A nets that you'll never touch...I'll never
be in SE Asia, for example...

I use a dual strategy here.  One machine only
trusts a second; on the second box I deny
the known bad guyz and let most others try...
...Needless to say, the really important stuff
is on the first box...

Kevin Kinsey



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


firewall

2003-03-04 Thread Brian Henning
Hello-
I am pretty new to natd and ipfw, so i would like to be able to describe what i
want
to be able to do with my new bsd router. This is to understand the nomenclature
and how understand

how other people use bsd as a router/firewall.
So far i have manually done this to my router.

sysctl net.inet.ip.forwarding=1  # gateway_enable=YES
natd -interface rl1
ipfw -f flush
ipfw add divert natd all from any to any via rl1
ipfw add pass all from any to any

notes:
r11 is my external network
rl0 is my internal network

here is what i would like to do in a more standard way. Please correct my
wording
if it is off or if it unclear.

port forward: ssh from a local machine port 22 to the router port 22, open to
the outside
port forward: vpn port 5001 for all local machines, open to the outside
block all servers on the router to the outside, but not the inside
anyone on the local network has access to services on the router

what else should i consider?

is port forwarding done with ip or with mac address?

cheers,

brian

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Portupgrade -- revisited

2003-03-04 Thread Stijn Hoop
On Tue, Mar 04, 2003 at 05:06:44PM +0100, Cliff Sarginson wrote:
 On Tue, Mar 04, 2003 at 10:00:08AM +0100, Stijn Hoop wrote:
  
  Hope this helps to clear up some of the confusion.
  
  --Stijn
 
 Oh Mr Stijn. Listen, I am not tellimg you off, or making fun of you..Ok ?
 I promise. But my eyes crossed, went sidewyas, took a holiday, crawled
 across the floor looking for somewhere else to be.

What part did you not understand? I'll try and reword it for you.
Hopefully things can become clear then.

 Years and years ago I wrote a caculator program for DOS, using a
 recursive state-machine model and allowing infinite precision, kind of
 like bc..or is it dc ?
 Quite necessary at the time to deal with the Dutch Tax System.

What does that have to do with portupgrade?

If you're trying to convey the height of your programming skills, you've
succeeded -- I've never done the above, and probably never will.  My interests
lie elsewhere. To each his own.

I am not making fun of you either -- portupgrades *can* go wrong in many
subtle ways. However I enjoy finding out what exactly went wrong, and try to
fix things in the process. Even better if I can find where portupgrade got
things wrong, so that I can report them to the author.

Note that I'm still a convinced portupgrade user. Kent's story led me to find
out why portupgrade did what it did, and it cautioned me to again look more
closely at what exactly happened after my portupgrade runs. And like I said, I
succesfully used portupgrade to survive X, mozilla and gnumeric upgrades.
That's why I'm still convinced that there's something on your system that
prevents you from portupgrading KDE.  However you don't seem interested in
fixing this anymore; not my loss.

 Portupgrade has too many ways it can go wrong for mere mortals.
 I have offered to re-write it.
 It will be a mega-project, but my offer is serious.

That would be great. More alternatives is always better. Maybe you will also
encounter a lot of the difficulties of automatic dependencies and the like.
Maybe you can even make it part of the base system, or at least of the ports
system.

Regards,

--Stijn

-- 
Remember, kids: Q is always followed by U. You can learn more on the
Internet in the Spelling FAQU.
-- James Kibo Parry


pgp0.pgp
Description: PGP signature


Re: Trying to run Quanta, but got error in libfreetype

2003-03-04 Thread Tom Hines
--- BSD baby [EMAIL PROTECTED] wrote:
 You didn't mention your KDE version, but I know that
 Quanta 3.1
 (the one that's in ports now) is meant to be run on
 KDE 3.1
 (also in ports now.)

I didn't install KDE.  I just installed Qt-3.1, then
Quanta via portinstall, which installed all the
dependencies, including kdelibs-3.1.


__
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


I'm leaving already

2003-03-04 Thread Frans-Jan v. Steenbeek

Hey all,

I'll remove myself from this list. It's to busy for my mail-server :)
I will stay active (more or less) on freebsd-chat and freebsd-newbies.

Have fun all!

-- 
tcGB  Fi-Ji 


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Portupgrade -- revisited

2003-03-04 Thread Mike Meyer
In [EMAIL PROTECTED], Cliff Sarginson [EMAIL PROTECTED] typed:
 Portupgrade has too many ways it can go wrong for mere mortals.
 I have offered to re-write it.
 It will be a mega-project, but my offer is serious.
 And ruby (don't take our love to town) will place a less than significant
 role.

So what are you going to write it in? C?

BTW, did you know your email to freebsd-questions has an invalid From:
field in it? I keep getting bounces with host not found for
[EMAIL PROTECTED].

mike

-- 
Mike Meyer [EMAIL PROTECTED]  http://www.mired.org/consulting.html
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


natd not working :(

2003-03-04 Thread Khairil Yusof
I'm having problems being a gateway for my freebsd box at home (I can
acccess internet, but others can't).

I have no problem to use the internet from my freebsd box with or
without the natd rule enabled.

This is what is puzzling me. I can access the outside net, through natd
and via tun0, so natd must be working. Again I confirmed this by the
count on ipfw rule which is showing that I am going through natd via the
divert rule.

What is it other than gateway, and natd that might be causing packets
not be routed properly for the other clients? I've checked that the
gateway ip and tcpip connection is ok for the clients also.

Any help would be much appreciated as always.

fxp0 = conneciton to local network
fxp1 = pppoe device that ppp uses
tun0

I've confirmed that,

net.inet.ip.forwarding: 1

and here's my setup:

in rc.conf

gateway_enable=YES
ppp_enable=YES
ppp_mode=ddial
ppp_profile=streamyx
firewall_enable=YES
firewall_script=/etc/ipfw.rules
firewall_quiet=NO
log_in_vain=NO
natd_enable=YES
natd_interface=tun0
natd_flags=-dynamic

and my simple firewall rules (I've deleted stuff which is not important
and working like dns, ntp etc.):

#firewall command

fwcmd=/sbin/ipfw

# Force a flushing of the current rules before we reload.
$fwcmd -f flush

# RULES FOR INTERNAL NETWORK ##

# Setup localhost
$fwcmd add allow ip from any to any via lo0

$fwcmd add allow any from any to any via fxp0

# Divert all packets through the tunnel interface.
$fwcmd add divert natd all from any to any via tun0




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


PR sent through send-pr don'r reach actual PR list ????

2003-03-04 Thread Yuri
I've sent PR today using send-pr.

From maillog I can tell that mail actually left to
[EMAIL PROTECTED] and was accepted.

But I don't see it in the PR list.

What's wrong 
Yuri


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: mirror site

2003-03-04 Thread Giorgos Keramidas
On 2003-03-04 14:26, adrian kok [EMAIL PROTECTED] wrote:
 I would like to create 2 ftp sites from different regions
 What is the best way to mirror each other?

I'm not sure if I understand the question correctly, but you could
always decide in advance which of the two sites is the master and
periodically pull updates from the master to the secondary using any
method you prefer (i.e. rsync).

- Giorgos


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: A couple of questions related to the sendmail patch, etc.

2003-03-04 Thread Giorgos Keramidas
On 2003-03-04 10:02, Phillip Smith [EMAIL PROTECTED] wrote:
:
: A couple of quick questions...
:
: I've downloaded the 8.11.6 patch from sendmail.org, and used the
: instructions they provided
: [patch -p0  /PATH/TO/sendmail.8.11.6.security.cr.patch], which then
: prompts me for 'which file to patch.' I'm not clear on which file I
: _need_ to patch? Or where it would be.

You should run the patch command with /usr/src/contrib/sendmaill as
your current working directory.

: Second question, I'd like to re-compile my Kernel and some other
: things that required the sources to be installed. On one machine
: (where I didn't install then initially), I'm having a real challenge
: trying to get them (chicken and egg); using sysinstall, I'm trying
: to install additional distributions  sources  all. Unfortunately,
: the CD-ROM does not seem to be working on this box, so I'm trying
: via ftp... but I keep receiving this message:

Can you mount the CD-ROM at all?  If you manage to mount the CD-ROM
under /mnt/cdrom then you can copy the sources from /mnt/cdrom without
using sysinstall.

- Giorgos


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


RFE: include CVSROOT-src in src-all cvsup distribution

2003-03-04 Thread Rolf Großmann
Hi,

I've noticed that recently the cvsup distribution of commitlogs has
been moved out of CVSROOT/commitlogs to CVSROOT-*/commitlogs and
replaced with a symlink. However, the CVSROOT-* directories are not
part of the corresponding *-all cvsup distribution (only cvs-all).
Would it be feasible to include them in those distributions aswell?
I've always appreciated being able to look at the logs.

Thanks, Rolf

PS: I couldn't find a list specific to cvsup, so I hope this is ok here.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: atapicam in 4.8-PRERELEASE

2003-03-04 Thread Scott A. Moberly
On Tue, Mar 04, 2003 at 01:20:46PM -0500, Edmond Baroud wrote:
 Hello Scott,
 
 Sorry I'm writing to you directly.

No problem.

 I'm affraid you misunderstood my question;

Nope I think I got it.

  %camcontrol eject cd0
  ejects my LG cdrom

due to atapicam in your KERNEL config

  and %mount /dev/cdrom /cdrom
  also mounts the LG cdrom.

due to atapicd in you KERNEL config

 the question is that I am supposed to control my CDRW through cd0 right?

When using atapicam, yes.

 and not be able to eject my regular CDROM.

Incorrect, acd?c is still available with atapicd in the kernel config

 however, my cdrom is being detected at boot time as cd0, shouldnt cd0
 be my CDRW?

Yes; however, acd0 will also be seen in your dmesg.  Not a problem, like I
said in a previous post as long as you access only one of the devices, i.e
/dev/acd0c or /dev/cd0 at a time.  You can remove the atapicd to minimize
this risk, of course.

Hope this is a little more clear.

-- 
Scott A. Moberly
[EMAIL PROTECTED]

A budget is just a method of worrying before you spend money, as well
as afterward.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


gateway and other freebsd network function

2003-03-04 Thread Chan, Herman (MTO)
Hi:

This might be a stupid question, but what is a gateway, I've heard many
great things about freebsd acting as a gateway to interent, but 
what is it really?

And what are other good things about freebsd in terms of networking?

Thanks
Herman

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: gateway and other freebsd network function

2003-03-04 Thread Bill Moran
Chan, Herman (MTO) wrote:
Hi:

This might be a stupid question, but what is a gateway, I've heard many
great things about freebsd acting as a gateway to interent, but 
what is it really?
A gateway, also called a default router is a machine that knows how
to get network traffic anywhere (theoretically).
Thus, if you have a small (or large for that matter) network, each
computer will have a gateway configured so that if it doesn't know
how to reach a particular computer, it can send the data to the
gateway, and the gateway will figure out how to deliver it.
This is somewhat oversimplified, but should give you the idea.

And what are other good things about freebsd in terms of networking?
That's a pretty broad question.
In my opinion, the best thing about FreeBSD's networking is that it
just works.  No playing around, no silly browse masters to worry about.
Usually, you turn on the machine and it just works.
The next best thing is the abundance of network tools for performance
testing, problem diagnosis and just about anything else you could need.
But if you ask 5 other people, you'll probably get 5 other answers.

--
Bill Moran
Potential Technologies
http://www.potentialtech.com
To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: ad-hoc wireless mode and ticks (fwd)

2003-03-04 Thread Wilko Bulte
On Tue, Mar 04, 2003 at 07:20:25AM -0700, M. Warner Losh wrote:
 In message: [EMAIL PROTECTED]
 Eko Suwarsono [EMAIL PROTECTED] writes:
 : May be help,
 : 
 : http://www.live.com/wireless/unix-base-station.html
 : 
 : and a little explanation you can read at,
 : 
 : http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/wireless.html
 : 
 : Lucent (Orinoco / avaya) base wireless Card will not work for hostap or
 : ibss-master mode. To have your own FreeBSD host based Access point, you
 : must using Prism II or 2.5 Card.
 
 That's not true.  Lucent cards *WILL* work as ibss-masters if their
 firmware is new enough.

Inquiring minds will ask soon anyway: what rev is 'new enough' ?

-- 
|   / o / /_  _ 
|/|/ / / /(  (_)  Bulte [EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: hacking attempts?

2003-03-04 Thread YOU


On Tue, 4 Mar 2003, Kevin Kinsey, DaleCo, S.P. wrote:

  him/her/it access to your sshd daemon. NOTE: It is 'normally not a
 good
  idea' to do this, but if you don't want to rebuild with a firewall
  configured kernel it will suffice.
 
 And the reason it's not a good idea?  I've always
 assumed it was because you didn't want to be
 on vacation, at a friends house, or suddenly have
 your ISP switch subnets on you and lock you out
 of your box...
 
 Absolutely nothing wrong with denying the
 supposed cracker's IP;  AAMOF, go over
 to ARIN or APNIC or such and ditch entire
 Class A nets that you'll never touch...I'll never
 be in SE Asia, for example...
 
 I use a dual strategy here.  One machine only
 trusts a second; on the second box I deny
 the known bad guyz and let most others try...
 ...Needless to say, the really important stuff
 is on the first box...
 

I was only quoting the default hosts.allow line for sshd which states:

# Wrapping sshd(8) is not normally a good idea... 

This is no reason not to use it since in the man for sshd it states:

/etc/hosts.allow, /etc/hosts.deny

Access controls that should be enforced by tcp-wrappers are defined
here.  Further details are described in hosts_access(5).

R.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: atapicam in 4.8-PRERELEASE

2003-03-04 Thread Edmond Baroud
Quoting Scott A. Moberly ([EMAIL PROTECTED]):
 On Tue, Mar 04, 2003 at 01:20:46PM -0500, Edmond Baroud wrote:
  Hello Scott,
  
  Sorry I'm writing to you directly.
 
 No problem.
 
  I'm affraid you misunderstood my question;
 
 Nope I think I got it.
 
   %camcontrol eject cd0
   ejects my LG cdrom
 
 due to atapicam in your KERNEL config
 
   and %mount /dev/cdrom /cdrom
   also mounts the LG cdrom.
 
 due to atapicd in you KERNEL config
 
  the question is that I am supposed to control my CDRW through cd0 right?
 
 When using atapicam, yes.
what do you mean? booting with a kernel that has option atapicam ?

 
  and not be able to eject my regular CDROM.
 
 Incorrect, acd?c is still available with atapicd in the kernel config
 
  however, my cdrom is being detected at boot time as cd0, shouldnt cd0
  be my CDRW?
 
 Yes; however, acd0 will also be seen in your dmesg.  Not a problem, like I
 said in a previous post as long as you access only one of the devices, i.e
 /dev/acd0c or /dev/cd0 at a time.  You can remove the atapicd to minimize
 this risk, of course.
 
 Hope this is a little more clear.
thanks for taking the time Scott :) but I still can't get the image..
I am aware that acd?c still shows up in my dmesg because I have both options in my 
kernel.
let me make this less painful :)..
how, what is the command that I can use to eject/load my parallel device, which shows 
as:
cd0 at ata1 bus 0 target 1 lun 0
cd0: LG CD-ROM CRD-8521B 1.00 Removable CD-ROM SCSI-0 device
cd0: 16.000MB/s transfers
cd0: cd present [183123 x 2048 byte records]

I dont see any signs in my dmesg that says CDR/CDRW. I dont know, I'm a bit confused 
here..
I've seen already other people's dmesg, and it shows their CDRW in dmesg

thanks again for ur time! :)

Ed.

 
 -- 
 Scott A. Moberly
 [EMAIL PROTECTED]
 
 A budget is just a method of worrying before you spend money, as well
 as afterward.

-- 
Edmond Baroud 
UNIX Systems Admin mailto:[EMAIL PROTECTED]
Fingerprint  140F 5FD5 3FDD 45D9 226D  9602 8C3D EAFB 4E19 BEF9
UNIX is very user friendly, it's just picky about who its friends are.



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: natd not working :(

2003-03-04 Thread Jonathan Chen
On Wed, Mar 05, 2003 at 02:17:18AM +0800, Khairil Yusof wrote:
[...]
 and my simple firewall rules (I've deleted stuff which is not important
 and working like dns, ntp etc.):
 
 #firewall command
 
 fwcmd=/sbin/ipfw
 
 # Force a flushing of the current rules before we reload.
 $fwcmd -f flush
 
 # RULES FOR INTERNAL NETWORK ##
 
 # Setup localhost
 $fwcmd add allow ip from any to any via lo0
 
 $fwcmd add allow any from any to any via fxp0
 
 # Divert all packets through the tunnel interface.
 $fwcmd add divert natd all from any to any via tun0

You should have a look at /etc/rc.firewall and use it as the template for
your rules. In your case, the divert natd rule should be the first;
looking at /etc/rc.firewall and using the open rule:

${fwcmd} add 50 divert natd all from any to any via tun0
${fwcmd} add 100 pass all from any to any via lo0
${fwcmd} add 200 deny all from any to 127.0.0.0/8
${fwcmd} add 300 deny ip from 127.0.0.0/8 to any
${fwcmd} add 65000 pass all from any to any

Alternatively you could change your /etc/rc.conf:

firewall_type=open

-- 
Jonathan Chen [EMAIL PROTECTED]
--
  Opportunity does not knock,
   it presents itself when you beat down the door - W.E. Channing

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: SAMBA performance and FreeBSD

2003-03-04 Thread David Kelly
On Tue, Mar 04, 2003 at 09:20:12PM +0200, Bigbrother wrote:
 
 I started to use samba with freebsd and I cant say that I am
 satisfied with the performance of it. Specifically on my local 100Mbits
 network the samba read speed on the server (athlon 1700) is  1Mbit/sec,
 while the write speed is much much worse.
 
 If I ftp to that machine I have read speed of minimum 7Mbits/sec.

For starters, how do you measure _bits_ per second? 7Mbits/sec sucks
for FTP over 100baseT networks. 7M bytes/sec is about right. Odds are
you have your bits and bytes mixed up.

At some point you have to consider your HD hardware. 1M bytes/sec of
random access isn't bad.

-- 
David Kelly N4HHE, [EMAIL PROTECTED]
=
The human mind ordinarily operates at only ten percent of its
capacity -- the rest is overhead for the operating system.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: atapicam in 4.8-PRERELEASE

2003-03-04 Thread Scott A. Moberly

 Quoting Scott A. Moberly ([EMAIL PROTECTED]):
 On Tue, Mar 04, 2003 at 01:20:46PM -0500, Edmond Baroud wrote:
  Hello Scott,
 
  Sorry I'm writing to you directly.

 No problem.

  I'm affraid you misunderstood my question;

 Nope I think I got it.

   %camcontrol eject cd0
   ejects my LG cdrom

 due to atapicam in your KERNEL config

   and %mount /dev/cdrom /cdrom
   also mounts the LG cdrom.

 due to atapicd in you KERNEL config

  the question is that I am supposed to control my CDRW through cd0
 right?

 When using atapicam, yes.
 what do you mean? booting with a kernel that has option atapicam ?

Yes

  and not be able to eject my regular CDROM.

 Incorrect, acd?c is still available with atapicd in the kernel config

  however, my cdrom is being detected at boot time as cd0, shouldnt
 cd0 be my CDRW?

 Yes; however, acd0 will also be seen in your dmesg.  Not a problem,
 like I said in a previous post as long as you access only one of the
 devices, i.e /dev/acd0c or /dev/cd0 at a time.  You can remove the
 atapicd to minimize this risk, of course.

 Hope this is a little more clear.
 thanks for taking the time Scott :) but I still can't get the image.. I
 am aware that acd?c still shows up in my dmesg because I have both
 options in my kernel. let me make this less painful :)..
 how, what is the command that I can use to eject/load my parallel
 device, which shows as: cd0 at ata1 bus 0 target 1 lun 0
 cd0: LG CD-ROM CRD-8521B 1.00 Removable CD-ROM SCSI-0 device
 cd0: 16.000MB/s transfers
 cd0: cd present [183123 x 2048 byte records]

Now, I'm confused; I though this did it?

   %camcontrol eject cd0
   ejects my LG cdrom

Are we speaking of an entirely different device then LG CD-ROM CRD-8521B
1.00 at /dev/cd0 ?

 I dont see any signs in my dmesg that says CDR/CDRW. I dont know, I'm a
 bit confused here.. I've seen already other people's dmesg, and it shows
 their CDRW in dmesg

I'm not usually too concerned about the Manufacturer's details about the
device.  (The string you are referring to.)  You can actually test the
device, i.e. make a coaster. Or,
use:

cdrecord -scanbus # to find the device

# and

cdrecord -prcap dev=x,y,z # to see the actual capabilities

I'm of course assuming you want to use cdrecord rather then burncd,
otherwise why
bother with atapicam at all :D...

-- 
Scott A. Moberly
[EMAIL PROTECTED]

He hadn't a single redeeming vice.
-- Oscar Wilde




To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: atapicam in 4.8-PRERELEASE

2003-03-04 Thread hoppern
unsubscribe

On Tue, 4 Mar 2003, Scott A. Moberly wrote:


  Quoting Scott A. Moberly ([EMAIL PROTECTED]):
  On Tue, Mar 04, 2003 at 01:20:46PM -0500, Edmond Baroud wrote:
   Hello Scott,
  
   Sorry I'm writing to you directly.
 
  No problem.
 
   I'm affraid you misunderstood my question;
 
  Nope I think I got it.
 
%camcontrol eject cd0
ejects my LG cdrom
 
  due to atapicam in your KERNEL config
 
and %mount /dev/cdrom /cdrom
also mounts the LG cdrom.
 
  due to atapicd in you KERNEL config
 
   the question is that I am supposed to control my CDRW through cd0
  right?
 
  When using atapicam, yes.
  what do you mean? booting with a kernel that has option atapicam ?

 Yes

   and not be able to eject my regular CDROM.
 
  Incorrect, acd?c is still available with atapicd in the kernel config
 
   however, my cdrom is being detected at boot time as cd0, shouldnt
  cd0 be my CDRW?
 
  Yes; however, acd0 will also be seen in your dmesg.  Not a problem,
  like I said in a previous post as long as you access only one of the
  devices, i.e /dev/acd0c or /dev/cd0 at a time.  You can remove the
  atapicd to minimize this risk, of course.
 
  Hope this is a little more clear.
  thanks for taking the time Scott :) but I still can't get the image.. I
  am aware that acd?c still shows up in my dmesg because I have both
  options in my kernel. let me make this less painful :)..
  how, what is the command that I can use to eject/load my parallel
  device, which shows as: cd0 at ata1 bus 0 target 1 lun 0
  cd0: LG CD-ROM CRD-8521B 1.00 Removable CD-ROM SCSI-0 device
  cd0: 16.000MB/s transfers
  cd0: cd present [183123 x 2048 byte records]

 Now, I'm confused; I though this did it?

%camcontrol eject cd0
ejects my LG cdrom

 Are we speaking of an entirely different device then LG CD-ROM CRD-8521B
 1.00 at /dev/cd0 ?

  I dont see any signs in my dmesg that says CDR/CDRW. I dont know, I'm a
  bit confused here.. I've seen already other people's dmesg, and it shows
  their CDRW in dmesg

 I'm not usually too concerned about the Manufacturer's details about the
 device.  (The string you are referring to.)  You can actually test the
 device, i.e. make a coaster. Or,
 use:

 cdrecord -scanbus # to find the device

 # and

 cdrecord -prcap dev=x,y,z # to see the actual capabilities

 I'm of course assuming you want to use cdrecord rather then burncd,
 otherwise why
 bother with atapicam at all :D...

 --
 Scott A. Moberly
 [EMAIL PROTECTED]

 He hadn't a single redeeming vice.
   -- Oscar Wilde




 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: need database suggestion for *.mdb files

2003-03-04 Thread John Bleichert
On Tue, 4 Mar 2003, Clement Laforet wrote:
 Subject: Re: need database suggestion for *.mdb files
 
 On 04 Mar 2003 09:30:16 -0600
 Kirk R. Wythers [EMAIL PROTECTED] wrote:
 
  I just received an attachment that was saved as an Access db. Can anyone
  suggest an application to deal with this file. I'm not familiar enough
  with freebsd's database options to know if any of them read .mdb files. 
 
 /usr/ports/databases/mdbtools/
 
 clem
 

Last time I had to deal with this issue, I opened them in Access and 
exported the mdb files as flat comma-delimited text, then massaged them 
into appropriate SQL (for Postgres) with Perl. Of course, that was back 
when I had access to a Windows box on co-op :) Now I'd have to seek other 
means... 

Just a thought.

JB

#  John Bleichert 
#  http://vonbek.dhs.org/latest.jpg


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: atapicam in 4.8-PRERELEASE

2003-03-04 Thread Edmond Baroud
Quoting Scott A. Moberly ([EMAIL PROTECTED]):
 
  Quoting Scott A. Moberly ([EMAIL PROTECTED]):
  On Tue, Mar 04, 2003 at 01:20:46PM -0500, Edmond Baroud wrote:
   Hello Scott,
  
   Sorry I'm writing to you directly.
 
  No problem.
 
   I'm affraid you misunderstood my question;
 
  Nope I think I got it.
 
%camcontrol eject cd0
ejects my LG cdrom
 
  due to atapicam in your KERNEL config
 
and %mount /dev/cdrom /cdrom
also mounts the LG cdrom.
 
  due to atapicd in you KERNEL config
 
   the question is that I am supposed to control my CDRW through cd0
  right?
 
  When using atapicam, yes.
  what do you mean? booting with a kernel that has option atapicam ?
 
 Yes
 
   and not be able to eject my regular CDROM.
 
  Incorrect, acd?c is still available with atapicd in the kernel config
 
   however, my cdrom is being detected at boot time as cd0, shouldnt
  cd0 be my CDRW?
 
  Yes; however, acd0 will also be seen in your dmesg.  Not a problem,
  like I said in a previous post as long as you access only one of the
  devices, i.e /dev/acd0c or /dev/cd0 at a time.  You can remove the
  atapicd to minimize this risk, of course.
 
  Hope this is a little more clear.
  thanks for taking the time Scott :) but I still can't get the image.. I
  am aware that acd?c still shows up in my dmesg because I have both
  options in my kernel. let me make this less painful :)..
  how, what is the command that I can use to eject/load my parallel
  device, which shows as: cd0 at ata1 bus 0 target 1 lun 0
  cd0: LG CD-ROM CRD-8521B 1.00 Removable CD-ROM SCSI-0 device
  cd0: 16.000MB/s transfers
  cd0: cd present [183123 x 2048 byte records]
 
 Now, I'm confused; I though this did it?
 
%camcontrol eject cd0
ejects my LG cdrom
 
 Are we speaking of an entirely different device then LG CD-ROM CRD-8521B
 1.00 at /dev/cd0 ?

yes :)
I have an LG 52x which is not Removable CD-ROM SCSI-0 device as the dmesg claims, 
and another Backpack cd-rewriter connected to the parallel port of my box, but I dont 
see this detected at anytime of the boot..
 
 
  I dont see any signs in my dmesg that says CDR/CDRW. I dont know, I'm a
  bit confused here.. I've seen already other people's dmesg, and it shows
  their CDRW in dmesg
 
 I'm not usually too concerned about the Manufacturer's details about the
 device.  (The string you are referring to.)  You can actually test the
 device, i.e. make a coaster. Or,
 use:
 
 cdrecord -scanbus # to find the device
 
 # and
 
 cdrecord -prcap dev=x,y,z # to see the actual capabilities
 
 I'm of course assuming you want to use cdrecord rather then burncd,
 otherwise why
 bother with atapicam at all :D...

I thought that atapicam = scsi emulation for parallel devices thru CAM? or I got this 
wrong? :)
I'm talking about a CDRW on my parallel port..

I need to burn FreeBSD 5 and install it on an Ultra-10 d*mmit :)
my other fellows Linux admins are making fun of how I will return to them to burn a 
copy of FreeBSD on their Linux boxes :/ hehe.
so PLEASE HELP lol

btw, how can I use burncd on the undetected device? :)

 
 -- 
 Scott A. Moberly
 [EMAIL PROTECTED]
 
 He hadn't a single redeeming vice.
   -- Oscar Wilde
 
 
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message

-- 
Edmond Baroud 
UNIX Systems Admin mailto:[EMAIL PROTECTED]
Fingerprint  140F 5FD5 3FDD 45D9 226D  9602 8C3D EAFB 4E19 BEF9
UNIX is very user friendly, it's just picky about who its friends are.



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: atapicam in 4.8-PRERELEASE

2003-03-04 Thread Scott A. Moberly

*snip*

 I thought that atapicam = scsi emulation for parallel devices thru CAM?
 or I got this wrong? :) I'm talking about a CDRW on my parallel port..

nope - ata devices

 I need to burn FreeBSD 5 and install it on an Ultra-10 d*mmit :)
 my other fellows Linux admins are making fun of how I will return to
 them to burn a copy of FreeBSD on their Linux boxes :/ hehe. so PLEASE
 HELP lol

 btw, how can I use burncd on the undetected device? :)

can't - again ata

Sorry I missed the parallel thing until now...  completely different ball
of wax.
-- 
Scott A. Moberly
[EMAIL PROTECTED]

Thumb's Postulate
An easily understood, workable falsehood is more
useful than a complex incomprehensible truth.




To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


AMI Megaraid, failed array

2003-03-04 Thread Wayne Pascoe
Hi all,

A FreeBSD 4.7 machine with an AMI Megaraid controller and 3 disks in a
RAID 5 array failed on me this week. 

One of the disk drives went into offline state due to overheating and
the array, to the best of my knowledge should have continued in degraded
mode.

Two things concern me at this point.

1. There were no messages in /var/log/messages to indicate that a disk
had failed and the array was in degraded mode.

2. With 2 disks of the array still online, we were unable to read /
execute loads of data. Many text files were unreadable and system
binaries like tar unusable. 

When we got the disk back online and rebooted the box, we were able to
easily read data, and files that appeared to be corrupt turned out not
to be. 

Can anyone advise me on why I saw what I saw and how I can get around
this in the future.

Regards,

-- 
Wayne Pascoe

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Multiple Versions of Same Port

2003-03-04 Thread John McClure
Thanks in advance for any help. I'm new to FreeBSD.

I want to maintain multiple copies of the apache
server, one running PHP, another running mod_perl,
perhaps another configured differently ...

If I use the ports system, how do I go about this? I
can use a different PREFIX for each different
installation, but will the ports system overwrite the
information each time under /var/db/pkg? If so, I'm
thinking this would break the pkg_delete functionality
at least.

I thought I might just cp the apache13 port, call if
something different, say apache13-2, and then do a
make PREFIX=/usr/local/apache_whatever install. But
should I use the ports system for this? Under linux
I'd just do different compiles, which I could do here,
but I like the ease-of-upgrading provided by ports so
I'd like to use that if I could, as well as just gain
the general insight.

I tried searching the archives but couldn't find
anything helpful. Sorry if I missed something. Any
help here would be appreciated.

uname -a *
FreeBSD 4.7-RELEASE FreeBSD 4.7-RELEASE #0: Wed Oct  9
15:08:34 GMT 2002
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
 i386

-GM

__
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


upgrading sendmail from ports was Re: Sendmail patch questions...

2003-03-04 Thread Michelle Weeks
I would like to upgrade sendmail from the ports collections.  However, I have been using sendmail 8.12.6 from the base install of freebsd 4.6.2 release and I believe that installing sendmail from the ports collection will add files to 
/usr/local rather then /usr where sendmail is currently located.  From the research I've done after I install sendmail from the ports collection, I will need to add the following lines to sendmail.mc file:

define(`confEBINDIR', `/usr/local/libexec')dnl
define(`UUCP_MAILER_PATH', `/usr/local/bin/uux')dnl

as well as change the mailer.conf file.  

Am I missing any other steps?  Any help would be greatly appreciated since this is my first attempt at upgrading sendmail.

Thank you,
Michelle

On Tuesday, March 4, 2003, at 06:43 AM, Peter Elsner wrote:

Step by step instructions

ftp sendmail.org
login anonymously
cd pub/sendmail
get sendmail-8.12.8.tar.gz
quit
tar xvzf sendmail-8.12.8.tar.gz
cd sendmail-8.12.8
./Build
./Build install

kill -1 (SIGHUP) sendmail

You're now upgraded


At 08:53 PM 3/3/2003 -0600, you wrote:
On Mon, Mar 03, 2003 at 05:49:50PM -0600, Mike Loiterman wrote:
>
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Just applied the patch to /usr/src/contrib/sendmail/src
>
> I'm running sendmail 8.11.6
>
>
> 1.  Is this the correct location for the patch?
> 2.  Do I need to do a `make world' or can I just do a make install from with the /usr/src/contrib/sendmail directory and restart sendmail?
>
> Thanks...


I'm also running 8.11.6.  I installed the correct patch from sendmail.org
but haven't figured out how to get it to compile.  The README says:

*
!! DO NOT USE MAKE !!  in this directory to compile sendmail --
*  instead, use the Build script located in
the sendmail directory.

However, there is no Build script.

Now what?


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message

--
Peter Elsner [EMAIL PROTECTED]>
Vice President Of Customer Service (And System Administrator)
1835 S. Carrier Parkway
Grand Prairie, Texas 75051
(972) 263-2080 - Voice
(972) 263-2082 - Fax
(972) 489-4838 - Cell Phone
(425) 988-8061 - eFax

I worry about my child and the Internet all the time, even though she's
too young to have logged on yet. Here's what I worry about. I worry
that 10 or 15 years from now, she will come to me and say Daddy, where
were you when they took freedom of the press away from the Internet?
-- Mike Godwin

Unix IS user friendly... It's just selective about who its friends are.
System Administration - It's a dirty job, but somebody said I had to do it.
If you receive something that says 'Send this to everyone you know,
pretend you don't know me.

Standard $500/message proofreading fee applies for UCE.



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Multiple Versions of Same Port

2003-03-04 Thread Mike Meyer
In [EMAIL PROTECTED], John McClure [EMAIL PROTECTED] typed:
 If I use the ports system, how do I go about this? I
 can use a different PREFIX for each different
 installation, but will the ports system overwrite the
 information each time under /var/db/pkg? If so, I'm
 thinking this would break the pkg_delete functionality
 at least.

No, it won't overwrite the information. The dangers involved in having
two different ports revolves around them overwriting each other. The
stuff in /var/db/pkg will be fine. Just do two builds/installs with
different PREFIXs.

Be warned that not all ports are PREFIX-clean. I don't run apache as a
port, so I can't say for sure whether or not it is.

mike
-- 
Mike Meyer [EMAIL PROTECTED]  http://www.mired.org/consulting.html
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: PR sent through send-pr don'r reach actual PR list ????

2003-03-04 Thread Giorgos Keramidas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2003-03-04 13:09, Yuri [EMAIL PROTECTED] wrote:
 I've sent PR today using send-pr.

 From maillog I can tell that mail actually left to
 [EMAIL PROTECTED] and was accepted.

 But I don't see it in the PR list.

 What's wrong 

It is possible that the PR was misfiled.  I'm downloading misfiled PRs
now, and will shortly look at them.  Can you remember what the Synopsis
of your PR was?

- - Giorgos

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQE+ZRRc1g+UGjGGA7YRAunSAJ9YicJsljHF2rxd/a9cVygcq8UyVwCfdtmV
VXaevHj7BX9KNacpS9xmAZo=
=srgE
-END PGP SIGNATURE-

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Cisco Tools

2003-03-04 Thread romero3000


Anyone have good recommendation on console login software to configure
cisco routers under freebsd???



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Cisco Tools

2003-03-04 Thread Joe Marcus Clarke
On Tue, 2003-03-04 at 16:19, [EMAIL PROTECTED] wrote:
 Anyone have good recommendation on console login software to configure
 cisco routers under freebsd???

cu -l /dev/cuaa[0-4] -s 9600 works fine for me.  The only device I
recall that gave me trouble was the AP1200 which I had to use kermit to
access.

Joe

 
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
-- 
PGP Key : http://www.marcuscom.com/pgp.asc




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


partition is e should be a -- how to fix?

2003-03-04 Thread Chad Leigh
Hi

I have sent this three or four times already in the last 30 hours and 
never seen it show up in the list...  I am trying sending from a different 
account.

Over the weekend, I upgraded my HW on my server, replacing all disks with 
new ones.  In order to do this, I mounted the new disks, used sysinstall 
to partition and label the new partitions, and then I used dump/restore to 
move all the old partitions files and data to the new partitions.  I then 
took the old drives off, made appropriate fstab changes as needed, and 
rebooted.  Then I noticed a problem.  My root partition was now da0s1e 
instead of da0s1a .  I can boot the machine if I manually enter the 
different partition letter into the bootloader, but the bootloader doesn't 
find its meta data settings and the machine won't boot unattended.

How do I fix this?  How do I change the root partition from using e to 
a?  I would think I could use disklabel to map the a partition to the 
same range of blocks as the e partition, remake the special dev files, 
and be done with it.  However, I am wanting some second opinions on this, 
and since I am not a disklabel guru, some guidance on how to use disklabel 
without screwing up my system would be appreciated.  I am studying 
disklabel man pages, but I don't want to screw up my running system and 
would appreciate a small how-to explanation from someone who IS a 
disklabel guru :-)

Thanks
Chad



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Aliasing Libraries or Installing Older Versions

2003-03-04 Thread John McClure
Thanks in advance for any help.

Trying to build mod_php4 (version 4.3.1) as a port,
basically not a big deal, BUT ... when I try to add
XSLT support via Sablotron, the Sablotron port builds
nicely from /usr/ports/textproc/sablotron but installs
a version of library that ldconfig -r lists as
lsablot.70.

The mod_php4 build complains (as pasted below) that is
can't find sablot.69. I rebuilt the library cache by
running ldconfig, but it appears that php is looking
specifically for sablot.69 and nothing else.

Can a library be aliased? Or should an older version
be installed? If so, how do I obtain that? Hints?
Suggestions?

* BEGIN ERROR PASTE *

===   mod_php4-4.3.1 depends on shared library:
sablot.69 - not found
===Verifying install for sablot.69 in
/usr/ports/textproc/sablotron
===   Returning to build of mod_php4-4.3.1
Error: shared library sablot.69 does not exist
*** Error code 1

Stop in /usr/ports/www/mod_php4.
*** Error code 1

* END ERROR PASTE 

uname -a *
FreeBSD 4.7-RELEASE FreeBSD 4.7-RELEASE #0: Wed Oct  9
15:08:34 GMT 2002
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
 i386

-GM

__
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Aliasing Libraries or Installing Older Versions

2003-03-04 Thread Jeff Jirsa
On Tue, 4 Mar 2003, John McClure wrote:

 Thanks in advance for any help.

 Trying to build mod_php4 (version 4.3.1) as a port,
 basically not a big deal, BUT ... when I try to add
 XSLT support via Sablotron, the Sablotron port builds
 nicely from /usr/ports/textproc/sablotron but installs
 a version of library that ldconfig -r lists as
 lsablot.70.

 The mod_php4 build complains (as pasted below) that is
 can't find sablot.69. I rebuilt the library cache by
 running ldconfig, but it appears that php is looking
 specifically for sablot.69 and nothing else.



You should be able to just change the scripts/configure.php appropriately
(Just change the .69 to .70 in ports/www/mod_php4/scripts/configure.php.
diff below for clarity, watch the wrap):

# diff -u scripts/configure.php.orig scripts/configure.php
--- scripts/configure.php.orig  Tue Mar  4 13:45:11 2003
+++ scripts/configure.php   Tue Mar  4 13:45:19 2003
@@ -278,7 +278,7 @@
fi
;;
\XSLT\)
-   echo LIB_DEPENDS+= 
sablot.69:\${PORTSDIR}/textproc/sablotron
+   echo LIB_DEPENDS+= 
sablot.70:\${PORTSDIR}/textproc/sablotron
echo CONFIGURE_ARGS+=--enable-xslt 
--with-xslt-sablot=\${LOCALBASE}
if [ -z $XML ]; then
set $* \XML\




To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: partition is e should be a -- how to fix?

2003-03-04 Thread Mike Meyer
In [EMAIL PROTECTED], Chad Leigh [EMAIL PROTECTED] typed:
 I have sent this three or four times already in the last 30 hours and 
 never seen it show up in the list...  I am trying sending from a different 
 account.

I haven't seen it before.

[system having root on da0s1e partition not booting.]

Yup. One of the few magic partitions is root - it has to be a for the
system to boot

 How do I fix this?  How do I change the root partition from using e to 
 a?  I would think I could use disklabel to map the a partition to the 
 same range of blocks as the e partition, remake the special dev files, 
 and be done with it.

Yup, that's the way you fix it.

 However, I am wanting some second opinions on this, 
 and since I am not a disklabel guru, some guidance on how to use disklabel 
 without screwing up my system would be appreciated.

Basically, run disklabel -e /dev/da0s1. That will create a temporary
file with the disklabel in it, and open an editor on that file. Delete
the line - if it exists - for a, copy the e line to where it was, and
then change the initial e to an a. Then save the file and exit the
editor. Fix your fstab to refer to da0s1a instead of da0s1e, and
reboot.

mike
-- 
Mike Meyer [EMAIL PROTECTED]  http://www.mired.org/consulting.html
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Multiple Versions of Same Port

2003-03-04 Thread Stephen Hilton
On Tue, 4 Mar 2003 12:29:53 -0800 (PST)
John McClure [EMAIL PROTECTED] wrote:

 Thanks in advance for any help. I'm new to FreeBSD.
 
 I want to maintain multiple copies of the apache
 server, one running PHP, another running mod_perl,
 perhaps another configured differently ...
 
 If I use the ports system, how do I go about this? I
 can use a different PREFIX for each different
 installation, but will the ports system overwrite the
 information each time under /var/db/pkg? If so, I'm
 thinking this would break the pkg_delete functionality
 at least.
 
 I thought I might just cp the apache13 port, call if
 something different, say apache13-2, and then do a
 make PREFIX=/usr/local/apache_whatever install. But
 should I use the ports system for this? Under linux
 I'd just do different compiles, which I could do here,
 but I like the ease-of-upgrading provided by ports so
 I'd like to use that if I could, as well as just gain
 the general insight.

John,

Going at this from a different angle, if Apache was the one 
port you wanted to do this with, you could possibly accomplish 
this by having different httpd.conf files for your different 
Apache setups. Then by hacking the apachectl/httpd -f argument 
you could specify which configuration you wanted to start up.

Regards,

Stephen Hilton
[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Cisco Tools

2003-03-04 Thread Adam Maas
minicom

Adam


- Original Message - 
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, March 04, 2003 4:19 PM
Subject: Cisco Tools


 
 
 Anyone have good recommendation on console login software to configure
 cisco routers under freebsd???
 
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
 


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: partition is e should be a -- how to fix?

2003-03-04 Thread Mike Meyer
In [EMAIL PROTECTED], Chad Leigh -- Shire.Net LLC [EMAIL PROTECTED] typed:
 On Tuesday, Mar 4, 2003, at 14:55 US/Mountain, Mike Meyer wrote:
  However, I am wanting some second opinions on this,
  and since I am not a disklabel guru, some guidance on how to use 
  disklabel
  without screwing up my system would be appreciated.
  Basically, run disklabel -e /dev/da0s1. That will create a temporary
  file with the disklabel in it, and open an editor on that file. Delete
  the line - if it exists - for a, copy the e line to where it was, and
  then change the initial e to an a. Then save the file and exit the
  editor. Fix your fstab to refer to da0s1a instead of da0s1e, and
  reboot.
 Okay, should I be able to have an a and an e that overlap?  
 Disklabel doesn't seem to want to let me do this.

Yes, you should, but apparently someone decided not to allow
that. Personally, that strikes me as a being bogus, but fixing it
requires hacking disklabel.

Try booting the fixit cdrom, and doing the disklabel to chagne e to a
without mounting e.

mike
-- 
Mike Meyer [EMAIL PROTECTED]  http://www.mired.org/consulting.html
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: still can't resolve these system reboots... help please

2003-03-04 Thread Bsd Neophyte

--- Tuc [EMAIL PROTECTED] wrote:
  
  please if anyone can help me resolve this... i can't stand having this
  extremely unstable server.  it's causing all sorts of problems on the
  network.
  
   I feel for you. I too am having it. Most of the time it does it
 while I'm not around, but once I was in elm writing mail, and the screen
 went black, and the DELL splash screen came on. I ran burnP6 for a few
 minutes (Boy does it make the system unhappy, but it kept chugging) and
 BurnMMX too. I'm cvsup'd to Feb 23, RELENG_4.
 
   Tuc/TTSG Internet Services, Inc.

can faulty hardware be ruled out then?

burnP6 and burnMX have been running all night

342:16 49.17% 49.17% burnBX
340:52 48.10% 48.10% burnP6

and there are no problems so far.

it's odd though, this thing just started happening on day when i first
started creating DSA keyparis.  other than that, things were rock solid.

this is starting to leave a sour taste in my mouth. :/



__
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Ðàñøèðüòå ðûíîê ñáûòà... XEHJRISWSN

2003-03-04 Thread ASIA

 ( 10   )

 -
, , ,   .

,  ,
,
   ,   ,   . 

  
   ,
.

().

 : (095) 464-71-60, 139-83-16.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Make installworld problem (4.7)

2003-03-04 Thread Lowell Gilbert
[EMAIL PROTECTED] writes:

 I am trying to upgrade from FreeBSD 4.7-p2 to 4.7-p6, but I get an error.
 I have run:
 cd /usr/src
 make buildworld
 make buildkernel KERNCONF=SOCKETD
 make installkernel KERNCONF=SOCKETD
 Bootet with the new kernel so uname says:
 
 FreeBSD loadmaster 4.7-RELEASE-p6 FreeBSD 4.7-RELEASE-p6 #1: Sun Mar  2
 23:50:15 CET 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SOCKETD  i386
 
 But then I cd to /usr/src to make installworld his happens:
 loadmaster# make installworld
 
 mkdir -p /tmp/install.715
 for prog in [ awk cat chflags chmod chown date echo egrep find grep  ln
 make makewhatis mtree mv perl pwd_mkdb rm sed sh sysctl  test true uname
 wc zic; do  cp `which $prog` /tmp/install.715;  done
 usage: cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src target
cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src1 ... srcN directory
 *** Error code 64
 
 Stop in /usr/src.
 *** Error code 1
 
 Stop in /usr/src.
 
 It seems like a nobrain error, but I can't fix it, maybe someone here can
 help me? Btw please cc to me as I am not on the list.

Looks like one of those programs isn't there.
Can you find them in the obj tree?

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


USB Epson perfection 1250, support?

2003-03-04 Thread Peter B

I have a Epson Perfection 1250 USB scanner. It works fine under Windows Me.
I'm trying to get it to work under FreeBSD-4.7 and have patched usbdevs, 
usbdevs.h, usbdevs_data.h, uscanner.c in /usr/src/sys/dev/usb
However the only thing I'm getting is:

[EMAIL PROTECTED] /usr/src/sys/dev/usb #usbdevs -dv
Controller /dev/usb0:
addr 1: self powered, config 1, UHCI root hub(0x), VIA(0x), rev 1.00
  uhub0
 port 1 powered
 port 2 powered
Controller /dev/usb2:
addr 1: self powered, config 1, UHCI root hub(0x), VIA(0x), rev 1.00
  uhub2
 port 1 powered
 port 2 addr 2: self powered, config 1, EPSON Scanner 010F(0x010f), EPSON(0x04b8), rev 
1.00
   uscanner0

[EMAIL PROTECTED] /usr/src/sys/dev/usb #sane-find-scanner
# Note that sane-find-scanner will find any scanner that is connected
# to a SCSI bus and some scanners that are connected to the Universal
# Serial Bus (USB) depending on your OS. It will even find scanners
# that are not supported at all by SANE. It won't find a scanner that
# is connected to a parallel or proprietary port.

sane-find-scanner: found USB scanner (UNKNOWN vendor and product) at device 
/dev/uscanner0

# `UNKNOWN vendor and product' means that there seems to be a scanner
# at this device file but the vendor and product ids couldn't be 
# identified. Currently identification only works with Linux versions
# = 2.4.8. 

And subsequent failure of xscanimage..
It's listed as stable in http://www.mostang.com/sane/sane-mfgs.html

Anyone else had luck with this scanner..?

..PATCHES diff -c
*** usbdevs.org Tue Aug 27 15:46:28 2002
--- usbdevs Tue Mar  4 22:40:53 2003
***
*** 587,592 
--- 587,593 
  product EPSON 16400x010a  Perfection 1640SU scanner
  product EPSON 12400x010b  Perfection 1240U / 1240Photo scanner
  product EPSON 640U0x010c  Perfection 640U scanner
+ product EPSON 12500x010f  Perfection 1250 scanner
  product EPSON 16500x0110  Perfection 1650 scanner
  product EPSON GT9700F 0x0112  GT-9700F scanner
  
*** usbdevs.h.org   Tue Aug 27 15:49:04 2002
--- usbdevs.h   Tue Mar  4 22:57:14 2003
***
*** 594,599 
--- 594,600 
  #define   USB_PRODUCT_EPSON_1640  0x010a  /* Perfection 1640SU scanner */
  #define   USB_PRODUCT_EPSON_1240  0x010b  /* Perfection 1240U / 
1240Photo scanner */
  #define   USB_PRODUCT_EPSON_640U  0x010c  /* Perfection 640U scanner */
+ #define   USB_PRODUCT_EPSON_1250  0x010f  /* Perfection 1250 scanner */
  #define   USB_PRODUCT_EPSON_1650  0x0110  /* Perfection 1650 scanner */
  #define   USB_PRODUCT_EPSON_GT9700F   0x0112  /* GT-9700F scanner */
  
*** usbdevs_data.h.org  Tue Aug 27 15:49:04 2002
--- usbdevs_data.h  Tue Mar  4 17:30:42 2003
***
*** 874,879 
--- 874,885 
Perfection 640U scanner,
},
{
+   USB_VENDOR_EPSON, USB_PRODUCT_EPSON_1250,
+   0,
+   Seiko Epson,
+   Perfection 1250 scanner,
+   },
+   {
USB_VENDOR_EPSON, USB_PRODUCT_EPSON_1650,
0,
Seiko Epson,
*** uscanner.c.org  Mon Aug 12 16:19:49 2002
--- uscanner.c  Tue Mar  4 17:37:12 2003
***
*** 174,179 
--- 174,180 
   {{ USB_VENDOR_EPSON, USB_PRODUCT_EPSON_1600 }, 0 },
   {{ USB_VENDOR_EPSON, USB_PRODUCT_EPSON_1640 }, 0 },
   {{ USB_VENDOR_EPSON, USB_PRODUCT_EPSON_640U }, 0 },
+  {{ USB_VENDOR_EPSON, USB_PRODUCT_EPSON_1250 }, 0 },
   {{ USB_VENDOR_EPSON, USB_PRODUCT_EPSON_1650 }, 0 },
   {{ USB_VENDOR_EPSON, USB_PRODUCT_EPSON_GT9700F }, USC_KEEP_OPEN },
  

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: stale dependency ?!

2003-03-04 Thread Lowell Gilbert
Petre Bandac [EMAIL PROTECTED] writes:

 kgb# portversion 
 Stale dependency: simicq-0.8.1 -- fam-2.6.9_2 -- manually run 'pkgdb -F' to 
 fix, or specify -O to force.
 
 
 and when I run pkgdb -Fvu I am asked whether to:
 
 Stale dependency: simicq-0.8.1 - fam-2.6.9_2 (devel/fam):
 New dependency? (? to help): ?
  [Enter] to skip, [Ctrl]+[D] to delete,  [.][Enter] to abort, [Tab] to 
 complete
 New dependency? (? to help): 
 
 
 delete here means it deletes the dependency or the whole port ?

the dependency

 what's the method to correct the situation, assuming that in the future I 
 shall want to portupgrade ?

portupgrade -R, perhaps?

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: a simple question about ports

2003-03-04 Thread Cliff Sarginson
On Sun, Mar 02, 2003 at 01:42:31PM -0600, Mike Meyer wrote:
 In [EMAIL PROTECTED], Cliff Sarginson [EMAIL PROTECTED] typed:
  On Sun, Mar 02, 2003 at 12:39:13PM -0600, Mike Meyer wrote:
   In [EMAIL PROTECTED], Cliff Sarginson [EMAIL PROTECTED] typed:
Why are ports sometimes released, when they are uncompileable ?
   Lots of different reasons, the most likely one being that they
   compiled fine on the committers box.
  And aye there's the rub.
 
 I've found that most maintainers are willing to try and fix ports that
 don't compile in your environment. You can't expect a bug to be fixed
 unless you report it to someone who can fix it.
 
Let us straighten a few things out here, the perpetuation of this kind of
nonsense puts us back in the dark Lord of Redmond world.

A language is a language. Ok GCC has groovy extras to allow FreeBSD and
Linux to compile.  
I expect that Hello. world will compile   
link and run .. yes ?
Does it matter very much what CPU I have, how much memory etc..?
Linking, Now we have another story.
It is quite educational to find thet KDE has a dependency on a game
program ;) Yup it sure does.
I know people put in precious spare time to just about the best OS on
the planet.
But portupgrade just does not hack it.
Ok. End of story. Otherwise I will get banned again by the inner corpus.
Let us make it better.

-- 
Regards
   Cliff

[ This mail has been checked as virus-free ]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


make error for postfix

2003-03-04 Thread David Bear
While attempting to install postfix from the ports collection I get
the following:

Unknown option(s): subwin(dialog,16,71,4,7) failed, maybe wrong dims
*** Error code 1

Stop in /usr/ports/mail/postfix.

This system was freshly cvsup'd and I get this regardless of which
postfix I try -- current or not.  My FreeBSD is

FreeBSD urbansrv1.pp.asu.edu 4.6.2-RELEASE FreeBSD 4.6.2-RELEASE #0:
Wed Aug 14 21:23:26 GMT 2002
[EMAIL PROTECTED]:/usr/src/sys/compile/GENERIC  i386


What am I missing?

-- 
David Bear
College of Public Programs/ASU
Mail Code 0803

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: make error for postfix

2003-03-04 Thread Simon Barner
 While attempting to install postfix from the ports collection I get
 the following:
 
 Unknown option(s): subwin(dialog,16,71,4,7) failed, maybe wrong dims
 *** Error code 1
 
 Stop in /usr/ports/mail/postfix.
 

Perhaps the error is in postfix's dependency: ports/devel/pcre

 Simon

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: ad-hoc wireless mode and ticks (fwd)

2003-03-04 Thread M. Warner Losh
In message: [EMAIL PROTECTED]
Wilko Bulte [EMAIL PROTECTED] writes:
: Inquiring minds will ask soon anyway: what rev is 'new enough' ?

wi man page says:
 Lucent cards prior to firmware version 6.0.4 do not support IBSS mode.

but the source code says:
if (sc-sc_sta_firmware_ver = 60006)
ic-ic_flags |= IEEE80211_F_HASIBSS;

so I'd guess why 6.0.6 is the oldest version that will support IBSS
creation.  I'll update the man page.

Warner

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: ad-hoc wireless mode and ticks (fwd)

2003-03-04 Thread Eko Suwarsono

Hi Warner,

What kind of  version that orinoco's firmware  can support
ibss-master mode ?
Last time  I change the wi0 (Orinoco) mode to ibss-master was ifconfig:
SIOCSIFMEDIA: Device not configured
but when using Senao Prism Based Card, it's work fine for hostap and
ibss-master.

Regards,

Eko Suwarsono
-
[EMAIL PROTECTED]

- Original Message -
From: M. Warner Losh [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent: Tuesday, March 04, 2003 9:20 PM
Subject: Re: ad-hoc wireless mode and ticks (fwd)


 In message: [EMAIL PROTECTED]
 Eko Suwarsono [EMAIL PROTECTED] writes:
 : May be help,
 :
 : http://www.live.com/wireless/unix-base-station.html
 :
 : and a little explanation you can read at,
 :
 : http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/wireless.html
 :
 : Lucent (Orinoco / avaya) base wireless Card will not work for hostap
or
 : ibss-master mode. To have your own FreeBSD host based Access point,
you
 : must using Prism II or 2.5 Card.

 That's not true.  Lucent cards *WILL* work as ibss-masters if their
 firmware is new enough.

 Warner



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: USB Mass storage (Datafab)

2003-03-04 Thread taxman
On Tuesday 04 March 2003 10:37 am, Irvine Short wrote:
 Hi All

 There's a pile of pretty neat USB attached gadgets out there.

 We just got a USB 2.0 external case with a 2.5 notebook drive in it.
 It's a Datafab MD2-USB2A.

USB 2.0 is not supported at all yet in FreeBSD as far as I last heard, so if 
this device works it will be in falling back to 1.0.

 On my machine running 4-STABLE as of this afternoon with USB 1.0 ports
 whenever I try to access it I get this:

 gopak# disklabel -w -r da0 auto
 disklabel: /dev/da0c: Input/output error

any reason you need to put a new disklabel on it?  Why not just try mounting 
it if it the drive already has a windows disklabel or whatever.

 and in /var/log/messages I get this:
 Mar  4 17:31:32 gopak /kernel: da0: reading primary partition table:
 error reading fsbn 0


 On a 5.0 machine (5.0-RELEASE-p3) with USB 2.0 ports (Intel 845 based
 motherboard) I get this:

 [EMAIL PROTECTED]:~$ disklabel -wr da0 auto
disklabel: /dev/da0: Input/output error




 and in  /var/log/messages:
 Mar  4 12:00:52 fusion kernel: umass0: vendor 0x07c4 USB 2.0 Storage
 Device, rev 2.00/1.04, addr 2
Mar  4 12:00:52 fusion kernel: umass0: Residue incorrect, was 0,
 should've been 219
Mar  4 12:00:52 fusion last message repeated 4 times
Mar  4 12:00:52 fusion kernel: da0 at umass-sim0 bus 0 target 0 lun 0
Mar  4 12:00:52 fusion kernel: da0: USB 2.0 Storage Device 0100
 Fixed Direct Access SCSI-0 device
Mar  4 12:00:52 fusion kernel: da0: 1.000MB/s transfers
Mar  4 12:00:52 fusion kernel: da0: 38154MB (78140160 512 byte
 sectors: 255H 63S/T 4864C)
Mar  4 12:00:52 fusion kernel: umass0: Residue incorrect, was 0,
 should've been 512
Mar  4 12:00:53 fusion last message repeated 14 times
Mar  4 12:01:25 fusion kernel: umass0: Residue incorrect, was 0,
 should've been 8192
Mar  4 12:01:25 fusion last message repeated 4 times
Mar  4 12:01:26 fusion kernel: umass0: Residue incorrect, was 0,
 should've been 512
Mar  4 12:01:26 fusion last message repeated 14 times
Mar  4 12:02:33 fusion kernel: umass0: at uhub0 port 2 (addr 2)
 disconnected
Mar  4 12:02:33 fusion kernel: (da0:umass-sim0:0:0:0): lost device
Mar  4 12:02:33 fusion kernel: (da0:umass-sim0:0:0:0): removing
 device entry
Mar  4 12:02:33 fusion kernel: umass0: detached

are these messages from before or during trying to write the disklabel?
if during, what does the dmesg look like when you just have the devices 
plugged in and you haven't issued any commands?

 Anyone ever make these things work? Under Windoze 2000 and XP it just
 works, no hassle at all.

The USB standard is a large, difficult and fairly buggy standard and its 
implementation in hardware is usually pretty buggy too.  Read through the 
-current mailing list where they've discussed much of the hardware issues 
with USB.  If the hardware maker does not release enough documentation it can 
be impossible for somebody to write a FreeBSD driver for it.  It takes much 
more work to write a driver when the device maker gives partial info for it 
than for MS who gets all of the detailed specs.
So when you're getting free hardware support, be careful you're not 
complaining.
You may want to try -current if you're willing to accept all that goes with 
that (reading the Handbook, following the mailing list, etc).  That is where 
the newest USB code goes in.

Tim

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: partition is e should be a -- how to fix?

2003-03-04 Thread James Long
On Tue, Mar 04, 2003 at 02:33:31PM -0700, Chad Leigh wrote:
 
 How do I fix this?

One possible fix, if you are amenable to recreating the partitions and
retransferring the data, is to use sysinstall to create the partitions
as follows:

create your root partition and fib and tell sysinstall that the mount
point is / (root).  sysinstall will assign it to the a partition.  Then
press M to change the mount point and change it to, for example, /mnt.
This assumes you would be mounting your new disk's file systems under
/mnt as say, /mnt for root, /mnt/var, /mnt/usr, etc.

This avoids the problem in the first place, but in your case it would
require that you go back and start over with the process of moving data 
from your old disk to the new disk.

I just wanted to get this into the archives to help future travellers
avoid this pothole.

Credit where it is due, this trick was gleaned from Dan O'Connor's site,
http://www.mostgraveconcern.com/freebsd/


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Make buildworld fails for 5.0

2003-03-04 Thread Mike Loiterman
 
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I'm getting the following error in my:

'make buildworld'

=== gnu/usr.bin/cc/cc_int
/usr/obj/usr/src/i386/usr/src/gnu/usr.bin/cc/cc_int/../cc_tools/genattrtab 
/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/config/i386/i386.md  
insn-attrtab.c
Killed
*** Error code 137

Stop in /usr/src/gnu/usr.bin/cc/cc_int.
*** Error code 1

Stop in /usr/src/gnu/usr.bin/cc.
*** Error code 1

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

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

Stop in /usr/src.

I'm currently running 5.0-RELEASE #0 and I've cvsup'ed to '.'.

- ---
Randomly Generated Quote:
Life is a series of very rude awakenings.  

Mike Loiterman
PGP Key 0xD1B9D18E
http://www.ascendency.net



-BEGIN PGP SIGNATURE-
Version: PGP 8.0
Comment: This message has been digitally signed by Mike Loiterman

iQA/AwUBPmVjp2jZbUnRudGOEQIAxACbBCCUKggWGf1zd2GL6c/9Uy1REn8AoOfE
EcG15BNy6zb36Qt2ZaM3LsrQ
=pbeQ
-END PGP SIGNATURE-


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Make buildworld fails for 5.0

2003-03-04 Thread Andy Farkas

 I'm getting the following error in my:

 'make buildworld'

 === gnu/usr.bin/cc/cc_int
 /usr/obj/usr/src/i386/usr/src/gnu/usr.bin/cc/cc_int/../cc_tools/genattrtab 
 /usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/config/i386/i386.md  
 insn-attrtab.c
 Killed
 *** Error code 137


Sounds like you're out of memory/swap or hit some other process limit.

what does 'limits' and/or 'swapinfo' say?  Anything in the logfiles?

--

 :{ [EMAIL PROTECTED]

Andy Farkas
System Administrator
   Speednet Communications
 http://www.speednet.com.au/




To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Portupgrade .. yet again

2003-03-04 Thread Cliff Sarginson
At the risk of being boring..

Portupgrade works fine for some people, less than fine for others.
Now I read the docs, the very patient advice given by people on the
list.
I have a very ordinary FreeBSD system.
Portupgrade trashed my KDE installation.
Trashed with a big T.
Now, I can fix this, 'cos this mama knows about computers.
Now I have experience, updating systems is almost always a ball-breaker.
So encouraged I tried out portupgrade.

problem 1... no way was it having -a ..didn't know how to make..
problem 2.. -R/r .. wow you hit the jackpot with that, it rebuilds
things you have never even heard of
problem 3.. mm, this one foxed me, trying to find things in
/usr/local/lib/.libs
problem 4 .. I don't use Gnome, I hate it, errmm portupgrade update it
for me..oh yes..
Problem 5 .. now I tried to update things individually. By name.
Well lo and gehold, and bless my cotton socks, portupgrade decided to
update all sorts of things, mutt, postfix, stuff I never even breathed
at.

Btw Mike, the reason you were getting my intranet addresses was because
portupgrade replaced my Muttrc file.
 

Now before the flames start, I am willimg to try and re-write
portupgrade. In C.
It is a complex job, if anyone wants to help email me off list.


-- 
Regards
   Cliff

[ This mail has been checked as virus-free ]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: still can't resolve these system reboots... help please

2003-03-04 Thread Kris Kennaway
On Tue, Mar 04, 2003 at 03:30:08PM -0800, Bsd Neophyte wrote:

 can faulty hardware be ruled out then?

No.  You can't exhaustively test the hardware using software.  You can
only test some things: what you have shown is that none of the things
that burn* does cause your system to reboot.  The only way you can
rule out hardware failure completely is to replace it component by
component and see if the problem persists.

Your problems certainly sound like failing hardware.  The archives are
littered with examples of people who swore black and blue that failing
hardware could not possibly be the cause of their mysterious reboots,
until they found the failing hardware and replaced it :-) Check and
swap out/replace RAM, power supply, CPU fan, cabling, CPU etc.

Kris

pgp0.pgp
Description: PGP signature


out of curiosity..

2003-03-04 Thread charles pelletier
is there an app that would allow me to play CDs on my BSD box and have that
stream over an intranet? I want to set up a CD tower that allows for that
sort of thing. Here's what i've got:

Freebsd 4.7 Release
sitting on a 10/100 network, serving as samba box (roaming profiles set
up..don't know why this would matter, but anyway)
attached on the network are a Win NT 4 workstation and Win 2K Pro boxes, and
several windows 98 systems (this is a lab setup)

I'm interested only in getting the streaming to the win2k box.

Any thoughts?

Charles Pelletier
Tech Coordinator
St Luke's School
Irving, TX



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: out of curiosity..

2003-03-04 Thread Jeff Jirsa
On Tue, 4 Mar 2003, charles pelletier wrote:

 is there an app that would allow me to play CDs on my BSD box and have that
 stream over an intranet? I want to set up a CD tower that allows for that
 sort of thing. Here's what i've got:


Not exactly what you're asking, but mod_mp3 works very well.

This turns apache into your basic RIAA hating, but every college
student loving mp3 streaming server. It can play from a list of
files, either straight through or randomly. It can also be used
to cache mp3's into memory and have the server operate entirely
from memory. Enjoy, groove, mp3s not included.


Specifically, what you'd have to do is convert your CD collection to MP3,
and then you could set up as many streams as you wanted, and players like
winamp/xmms could then listen to those streams.

Conversion to mp3 would be a slight hassle, but it would allow you to keep
more than one cd on the system at a time, so it's a tradeoff.

mod_mp3 is in the ports.


- Jeff


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: ad-hoc wireless mode and ticks (fwd)

2003-03-04 Thread Kan Cai


On Wed, 5 Mar 2003, Eko Suwarsono wrote:


 Hi Warner,

 What kind of  version that orinoco's firmware  can support
 ibss-master mode ?
 Last time  I change the wi0 (Orinoco) mode to ibss-master was ifconfig:
 SIOCSIFMEDIA: Device not configured

I am using Lucent Firmware: Station 8.72.01, and it can support
ibss-master mediaopt, but it seems not supporting ibss-create yet.

--Ken

 but when using Senao Prism Based Card, it's work fine for hostap and
 ibss-master.

 Regards,

 Eko Suwarsono
 -
 [EMAIL PROTECTED]

 - Original Message -
 From: M. Warner Losh [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED];
 [EMAIL PROTECTED]
 Sent: Tuesday, March 04, 2003 9:20 PM
 Subject: Re: ad-hoc wireless mode and ticks (fwd)


  In message: [EMAIL PROTECTED]
  Eko Suwarsono [EMAIL PROTECTED] writes:
  : May be help,
  :
  : http://www.live.com/wireless/unix-base-station.html
  :
  : and a little explanation you can read at,
  :
  : http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/wireless.html
  :
  : Lucent (Orinoco / avaya) base wireless Card will not work for hostap
 or
  : ibss-master mode. To have your own FreeBSD host based Access point,
 you
  : must using Prism II or 2.5 Card.
 
  That's not true.  Lucent cards *WILL* work as ibss-masters if their
  firmware is new enough.
 
  Warner
 


 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


RE: out of curiosity..

2003-03-04 Thread charles pelletier
You are on the right track, but, i'm more interested in NOT dealing with
Mp3s. I want to be able to, say, load a 7 cdrom tower (nothing but scsci
cdroms, all chained, with an external scsi port) with cds, then play direct
from there. Basically, I want a jukebox. Although I may try the mod port.

Charles Pelletier
Tech Coordinator
St Luke's School
Irving, TX


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Jeff Jirsa
Sent: Tuesday, March 04, 2003 9:04 PM
To: charles pelletier
Cc: [EMAIL PROTECTED]
Subject: Re: out of curiosity..


On Tue, 4 Mar 2003, charles pelletier wrote:

 is there an app that would allow me to play CDs on my BSD box and have
that
 stream over an intranet? I want to set up a CD tower that allows for that
 sort of thing. Here's what i've got:


Not exactly what you're asking, but mod_mp3 works very well.

This turns apache into your basic RIAA hating, but every college
student loving mp3 streaming server. It can play from a list of
files, either straight through or randomly. It can also be used
to cache mp3's into memory and have the server operate entirely
from memory. Enjoy, groove, mp3s not included.


Specifically, what you'd have to do is convert your CD collection to MP3,
and then you could set up as many streams as you wanted, and players like
winamp/xmms could then listen to those streams.

Conversion to mp3 would be a slight hassle, but it would allow you to keep
more than one cd on the system at a time, so it's a tradeoff.

mod_mp3 is in the ports.


- Jeff


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


RE: Make buildworld fails for 5.0

2003-03-04 Thread Mike Loiterman
 
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tuesday, March 04, 2003 8:47 PM Andy Farkas mailto:[EMAIL PROTECTED] wrote:

 I'm getting the following error in my:
 
 'make buildworld'
 
 === gnu/usr.bin/cc/cc_int
 /usr/obj/usr/src/i386/usr/src/gnu/usr.bin/cc/cc_int/../cc_tools/genattrtab
 /usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/config/i386/i386.md
  insn-attrtab.c Killed  
 *** Error code 137
 
 
 Sounds like you're out of memory/swap or hit some other process limit.
 
 what does 'limits' and/or 'swapinfo' say?  Anything in the logfiles?


[20:42:37 [EMAIL PROTECTED]: /usr/src]# limits
Resource limits (current):
  cputime  infinity secs
  filesize infinity kb
  datasize   524288 kb
  stacksize   65536 kb
  coredumpsize infinity kb
  memoryuseinfinity kb
  memorylocked infinity kb
  maxprocesses  478
  openfiles 957
  sbsize   infinity bytes
  vmemoryuse   infinity kb

[21:02:07 [EMAIL PROTECTED]: /usr/src]# swapinfo
Device  1K-blocks UsedAvail Capacity  Type
/dev/ad2s1b 78008515362647266%Interleaved

I don't know what to make of either of these commands.

Which logs should I be looking at?  Here is `tail' of /var/log/messages:

Mar  3 18:14:50 little_boy kernel: swap_pager: out of swap space
Mar  3 18:14:50 little_boy kernel: swap_pager_getswapspace: failed
Mar  3 18:14:50 little_boy kernel: pid 40733 (genattrtab), uid 0, was killed: out of 
swap space
Mar  3 20:09:38 little_boy kernel: swap_pager: out of swap space
Mar  3 20:09:55 little_boy kernel: swap_pager_getswapspace: failed
Mar  3 20:09:55 little_boy kernel: pid 58759 (genattrtab), uid 0, was killed: out of 
swap space

Which seems that I am out of space, but I'm not sure why that is happening.  My 
machine is old and slow, but I never had problems compiling 4.x?

- ---
Randomly Generated Quote:
'There are lies, damned lies, and
statistics.' -Mark Twain

Mike Loiterman
PGP Key 0xD1B9D18E
http://www.ascendency.net



-BEGIN PGP SIGNATURE-
Version: PGP 8.0
Comment: This message has been digitally signed by Mike Loiterman

iQA/AwUBPmVpjmjZbUnRudGOEQK4IwCg04FEx8LEtBs5/Nl4VMKITgMf6dsAn0Mn
ZNwlHOrMTDGDx4D/cdRbLqFQ
=kibk
-END PGP SIGNATURE-


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


RE: Make buildworld fails for 5.0

2003-03-04 Thread Andy Farkas
On Tue, 4 Mar 2003, Mike Loiterman wrote:

 [21:02:07 [EMAIL PROTECTED]: /usr/src]# swapinfo
 Device  1K-blocks UsedAvail Capacity  Type
 /dev/ad2s1b 78008515362647266%Interleaved

 I don't know what to make of either of these commands.

 Which logs should I be looking at?  Here is `tail' of /var/log/messages:

 Mar  3 18:14:50 little_boy kernel: swap_pager: out of swap space
 Mar  3 18:14:50 little_boy kernel: swap_pager_getswapspace: failed
 Mar  3 18:14:50 little_boy kernel: pid 40733 (genattrtab), uid 0, was killed: out of 
 swap space
 Mar  3 20:09:38 little_boy kernel: swap_pager: out of swap space
 Mar  3 20:09:55 little_boy kernel: swap_pager_getswapspace: failed
 Mar  3 20:09:55 little_boy kernel: pid 58759 (genattrtab), uid 0, was killed: out of 
 swap space

 Which seems that I am out of space, but I'm not sure why that is
 happening.  My machine is old and slow, but I never had problems
 compiling 4.x?

Yup, you are out of swap space.

Fix: add more RAM or swap space.

As to why this is happening.probably because you have to many
processes running. Do 'ps aux' and check the %MEM column for memory pigs..

Workaround: drop to single-user mode and try buildworld again.

--

 :{ [EMAIL PROTECTED]

Andy Farkas
System Administrator
   Speednet Communications
 http://www.speednet.com.au/




To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: still can't resolve these system reboots... help please

2003-03-04 Thread Cliff Sarginson
On Tue, Mar 04, 2003 at 06:55:21PM -0800, Kris Kennaway wrote:
 On Tue, Mar 04, 2003 at 03:30:08PM -0800, Bsd Neophyte wrote:
 
Think you have been given just about all the advice to give.
It is a bunner, and expensive to solve if you replace bits.

I will give two suggestions.
Is the power supply to your firm/house whatever clean ?
Computers don't like dirty power, that is power prone to what I think
experts call grey-outs. They don't like spikes either, momentary
increases in voltage. Do you live in an area prone to thunderstorms?

You can get devices to protect against somne of these things.

My second suggestion is going to sound really weird.
My FreeBSD system disappears into the boonies when I have a screen saver
enabled. That is xscreevsaver. Given enough time, and enough core dumps.
it crashes my system as sure as eggs is eggs. I kind of proved this by
leaving the systen running for days with and without screen saver.
It boonied with the screen saver, it did not wihout.

A few questons. Power supply ? Do you have SCSI disks ? They eat
electricity like it is going out of fashion.

Heat, is the server overheating ?
If you have a modern BIOS it can tell you what the temperature is.
You need to watch what the CPU temp is, because the reaction to over
heating is reboot.

Good luck.


-- 

Regards
   Cliff

[ This mail has been checked as virus-free ]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


  1   2   >