Re: Whats the deal?

2002-10-25 Thread Jonathan Chen
On Fri, Oct 25, 2002 at 12:56:39AM -0500, Bryan Cassidy wrote:

[...]
 I then add the following to /etc/rc.conf
 
 firewall_enable=YES
 firewall_quiet=YES
 firewall_script=/etc/rc.firewall
 firewall_type=/etc/ipfw.acl
 
 I add the following to /etc/ipfw.acl
 
 add 1000 allow ip from any to any
 
 I add the following to my kernel
 
 options IPFIREWALL
 options IPFIREWALL_VERBOSE
 options IPFIREWALL_VERBOSE_LIMIT=10
 
 and for sound support i add
 
 devicepcm # Sound Support
 
 After all these changes are made I do reboot. After i reboot I use the
 computer for a couple hours then NOTHING happens.

What does ipfw -a show?
-- 
Jonathan Chen [EMAIL PROTECTED]
--
  Build a man a fire, and he'll be warm for a day.
Set a man on fire, and he'll be warm for the rest of his life.

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



Re: Whats the deal?

2002-10-25 Thread Jonathan Chen
On Fri, Oct 25, 2002 at 07:21:21PM +1300, Jonathan Chen wrote:
 On Fri, Oct 25, 2002 at 12:56:39AM -0500, Bryan Cassidy wrote:
 
 [...]
  I then add the following to /etc/rc.conf
  
  firewall_enable=YES
  firewall_quiet=YES
  firewall_script=/etc/rc.firewall
  firewall_type=/etc/ipfw.acl
  
  I add the following to /etc/ipfw.acl
  
  add 1000 allow ip from any to any
  
  I add the following to my kernel
  
  options IPFIREWALL
  options IPFIREWALL_VERBOSE
  options IPFIREWALL_VERBOSE_LIMIT=10
  
  and for sound support i add
  
  device  pcm # Sound Support
  
  After all these changes are made I do reboot. After i reboot I use the
  computer for a couple hours then NOTHING happens.
 
 What does ipfw -a show?

Oops. That should be ipfw -a show
-- 
Jonathan Chen [EMAIL PROTECTED]
--
char *p=char *p=%c%s%c;main(){printf(p,34,p,34);};main(){printf(p,34,p,34);}

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



Re: Whats the deal?

2002-10-25 Thread Bryan Cassidy
On Fri, 25 Oct 2002 19:21:21 +1300
Jonathan Chen [EMAIL PROTECTED] wrote:

 What does ipfw -a show?

This is what I get when I use ipfw -a

 bryanc2000@insightbb [1:24] [/home/bryanc2000] ===ipfw -a
ipfw: socket: Operation not permitted

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



Re: Whats the deal?

2002-10-25 Thread Adam Weinberger
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

from ipfirewall(4):
 There is one rule that always exists, rule number 65535.  This rule nor-
 mally causes all packets to be dropped.  Hence, any packet which does not
 match a lower numbered rule will be dropped.  However, a kernel compile
 time option IPFIREWALL_DEFAULT_TO_ACCEPT allows the administrator to
 change this fixed rule to permit everything.

- -Adam


 (10.24.2002 @ 2256 PST): Bryan Cassidy said, in 1.7K: 
 heres the deal. I have been using FreeBSD 4.6.2 for about a month or
 so. I have used Linux for about 6 months now. I am very comfortable
 with FreeBSD and wish to continue to use BSD. I have a very serious
 problem. First I will tell you what I do from the beginning and what
 changes I make.
 
 Install FreeBSD 4.6.2 - Everything goes fine
  Configure X - Everything goes fine 
 Update ports - Everything goes fine 
 Install Fluxbox -
 Everything goes fine startx - Everything goes fine 
 Install sylpheed,xchat,gaim,aterm, and a few other things - Everything goes
 fine
 
 I then add the following to /etc/rc.conf
 
 firewall_enable=YES
 firewall_quiet=YES
 firewall_script=/etc/rc.firewall
 firewall_type=/etc/ipfw.acl
 
 I add the following to /etc/ipfw.acl
 
 add 1000 allow ip from any to any
 
 I add the following to my kernel
 
 options IPFIREWALL
 options IPFIREWALL_VERBOSE
 options IPFIREWALL_VERBOSE_LIMIT=10
 
 and for sound support i add
 
 devicepcm # Sound Support
 
 After all these changes are made I do reboot. After i reboot I use the
 computer for a couple hours then NOTHING happens. I can't get on the
 internet, no webpages will load, can't send e-mail, cant receive
 e-mails. I don't know whats going on here. I am comfortable with Unix
 but I am new in ways so if you have any ideas please explain them to
 me. Please do not say do this. Please tell me how to do this and do
 that. I am waiting on your e-mails right now..
 
 I sent the same e-mail ealier in Windows cause I couldnt get online so
 I am sending it again incase for some reason no one got it. I just got
 doing a fresh install. I'm waiting. Thanks in advance
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
 
 end of Whats the deal? from Bryan Cassidy 


- --
Adam Weinberger
[EMAIL PROTECTED]
[EMAIL PROTECTED]

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

iD8DBQE9uOSwo8KM2ULHQ/0RAhYoAJwPB8kc0OA2sd2zjURnOshA4wgapgCgmJcd
PKumwhJ23JrQRrYm6kJApcg=
=H1d8
-END PGP SIGNATURE-

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



Re: Whats the deal?

2002-10-25 Thread Jonathan Chen
On Fri, Oct 25, 2002 at 01:24:49AM -0500, Bryan Cassidy wrote:
 On Fri, 25 Oct 2002 19:21:21 +1300
 Jonathan Chen [EMAIL PROTECTED] wrote:
 
  What does ipfw -a show?
 
 This is what I get when I use ipfw -a
 
  bryanc2000@insightbb [1:24] [/home/bryanc2000] ===ipfw -a
 ipfw: socket: Operation not permitted

You need to do this as root.
-- 
Jonathan Chen [EMAIL PROTECTED]

We laugh in the face of danger, we drop icecubes down the vest of fear
 - Edmond Blackadder III

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



Re: Whats the deal?

2002-10-25 Thread Bryan Cassidy
On Thu, 24 Oct 2002 23:29:05 -0700
Adam Weinberger [EMAIL PROTECTED] wrote:

 from ipfirewall(4):
  There is one rule that always exists, rule number 65535.  This rule nor-
  mally causes all packets to be dropped.  Hence, any packet which does not
  match a lower numbered rule will be dropped.  However, a kernel compile
  time option IPFIREWALL_DEFAULT_TO_ACCEPT allows the administrator to
  change this fixed rule to permit everything.
 
 - -Adam

So I should add

option IPFIREWALL_DEFAULT_TO_ACCEPT

or
option IPFIREWALL_DEFAULT_TO_ACCEPT=??

to the kernel?

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



Re: housecleaning and portupgrade question

2002-10-25 Thread parv
in message [EMAIL PROTECTED],
wrote Jason Hunt thusly...

 Personally I have always just installed the newer version of a
 port on-top of the older one.  Then I go through the package
 database and fix the dependencies ...  After fixing the
 dependencies I just remove the directory for the old package and
 it's uninstalled.

yuck, that's one unsanitary way to keep ports updated.


 I don't know if this is the best way to go about maintaining
 packages, and I realize that lots of unused/old files are being
 left around, but FWIW I have not run into any problems.  Maybe
 someone has better advice?

portupgrade usage advice has been repeated many times on various
freebsd mailing lists; i don't use it for that purpose.

this is not a better advice; this is how i upgrade ports w/ help
of 2-3 script here  there...

  - modify Makefile as appropriate.

  - in case of large port like mozilla, i fetch it first (make
fetch); otherwise i don't bother w/i this.

  - in case of a port w/ interesting options, i extract it (make
extract) to read the configure script.  modify the Makefile as
appropriate.

  - in case of unofficial patches for a port like mutt, i run make
patch followed by application of external patches.

  - run make build (in the new ports directory).  if it succeeds,
delete the old port; may need to force the issue in case of a
dependency port.  when a dependency port is deleted, dependent
port may or may not need to be rebuilt/reinstalled.

  - install the new port (make install).  sometimes i also create a
package (make package) which does the installation too.

  - file bug report when anything goes awry.  log of output from the
above process comes in handy at this time.

  - run make clean  compress the logs (bzip2 -9 log) (if i
remember).


  portupgrade ...  know I sound like a prick here, but ...) if
 it's so good then why isn't it incorporated into the base system?

many things which are so good are not in the base system, but most
people need/use those things.  search the -ports, -questions, 
perhaps -stable list w/ a query like freebsd base system ports
include.


 - parv

-- 


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



VPN w2k RFC1918 ip to FreeBSD 4.7 firewall?

2002-10-25 Thread Roger 'Rocky' Vetterberg
Hi list.

Im about to implement some VPN tunnels at work.
We already run a few tunnels from BSD to BSD that works great, but now 
we need to allow some of our employees to connect from home.

Setup looks something like this:

LAN -- FreeBSD firewall --  Internet  -- ADSL router -- Windows 2k

Is it possible to build a VPN from the w2k machine to the FreeBSD 
firewall, prefferably using already existent software?
I know its possible to connect FreeBSD and w2k if they both have 
static IP's, but in this case the w2k is behind nat and the ADSL 
router has a dynamic IP.
How do others solve this? I mean, there must be someone that has users 
with laptops, homeoffices and whatever that connects to their work 
using VPN and FreeBSD. I dont mind using other software besides IPSec, 
but I do prefer free solutions since Im on a very low budget for this.
All suggestions, experiences or ideas are much appriciated.

--
R





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


Re: perl / ksh help

2002-10-25 Thread Matthew Seaman
On Fri, Oct 25, 2002 at 04:43:15AM +0200, rootjrs wrote:

 I know some one has already done this and I need a little help.  I have 
 two identical directories on two seperate machines.  The files were 
 moved over fromm machine a to machine b.  Everything is working 
 properly on machine b but all of the permissions were lost.
 
 I've done the following:
 
 (machine a)# find ./ -ls -print  perm.list
 
 Gave me the file listing and permisions
 
 (machine a)# cat perm.list | awk '{print $4, ,$11}'  newperm.list
 
 This removed garbage like date owners etc that I didn't need.
 
 Now I'm stuck with a file that looks like this:
 
 -rw-r--r--   ./data/dir/data/getme.bin.old
 -rw-rw-rw-   ./data/dir/data/stp.501
 drwxrwxrwx   ./data/dir/data/realgoodgold
 -rwsr-xr-x   ./data/dir/exe/help
 
 At this point I'm thinking great, now all I need is to create a perl or 
 shell script that converts the -rw-r--r--, etc into some sort of numerical value and 
then 
 do soemthing like this
 
 for
 chmod $1 $2
 done
 
 .using perl or ksh.  However I can't figure out how to do the 
 conversion correctly.  Please will one of you perl / ksh experts please 
 help me out.  

Instead of beating your brains out writing scripts to do this, simply
install ports/net/rsync.  Then synchronizing the file systems on the
two boxes is simple.  From the machine with the original copy of the
data:

rsync -avx --delete /path/to/data/dir/ other.machine.com:/path/to/data/dir/

This will copy the data from the original filesystem to the second one
using the minimum amount of network traffic possible.  

Nb. the trailing slashes on those paths are important.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
  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



What's this mean

2002-10-25 Thread budsz
Hi,

I got same kernel messages like this:

Oct 24 10:30 kumprang /kernel: arp: unknown hardware address format
(0xa8aa)
Oct 24 10:30 kumprang /kernel: ed0: NIC memoru corrupt - invalid packet length 2094

Oct 24 10?30 kumprang /kernel: arp: runt packet
Oct 24 10:30 kumprang /kernel: ed0: NIC memoru corrupt - invalid packet length 2056

What this mean..? and how to resolve this problem..?

TIA

-- 
budsz

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



Re: Webalizer undefined symbol problem

2002-10-25 Thread Alex


Friday, October 25, 2002, 12:02:01 PM, you wrote:

 Hello!

 To analyze the logs of my web server, I installed 
 /usr/ports/www/webalizer, which got me webalizer-2.1.10_1 version of 
 the port.

 The install goes without any problems, but attempts to run webalizer 
 result in following message:

 heerold# webalizer -p -c /usr/local/etc/webalizer.my.conf
 /usr/libexec/ld-elf.so.1: /usr/lib/libgd.so.2: Undefined symbol
 jpeg_destroy

 All the dependencies for webalizer seem to be installed:

 heerold# pkg_info | grep -E jpeg|png|gd
 gd-1.8.4_6  A graphics library for fast image creation
 jpeg-6b_1   IJG's jpeg compression utilities
 png-1.2.4   Library for manipulating PNG images

 What's up?
 --
 Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/
 * War doesn't determine who's right. War determines who's left.


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

Dear Toomas,

Do `find /usr/ports -name pkg-plist -exec grep -l libgd* \;` This
will find all ports that may got your file in there list. If one or
more port come along that you have installed on your system then
rebuild it. (Assuming you got portupgrade installed) `portupgrade -f
port` If this doesn't work do `find / -name libgd*`. If you find a
file named like libgd.so.number some where on you file system make a
link to it. Check if there is a libgd.so@ (ls -F) If so make a link to
this file (it will save you trouble when the number changes).

-- 
Best regards,
Alex

The FreeBSD handbook
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/index.html

How to get the best results from FreeBSD-Questions
http://www.lemis.com/questions.html


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



EXTENDET

2002-10-25 Thread demon

Can I Install FreeBSD 4.4 To EXTENDET Partition?

Something like this:
  

==
|   ||EXTENDET ||   || 
  |
|Primary (FAT32)||-||Primary (FAT32)|Primary 
|Primary (FAT32)|
|   ||FreeBSD |Linux (ext2 or reiserfs)||   | (FAT32)| 
  |

==


Where FreeBSD and Linux NativeLinux Swap is the logical partitions inside 
EXTENDET partition?



 ALWAYS YOURS DMITRIY USACHOV 
([EMAIL PROTECTED]).

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



printing from windows xp to lpd without samba

2002-10-25 Thread Roman Neuhauser
sorry for this really off-topic post, my excuse is that the working part
of this problem is FreeBSD. :)

I have a few FreeBSD boxes in an otherwise WindowsXP-only LAN. The
Windows machines are taken care of by another person. Things started
failing to function on the Windows side of the fence recently, and now
the Windows boxes can't see each other, etc.

One of the FreeBSD boxes has Samba installed, and shares a printer.
This printer is now unreachable except for LPD, which of course works
very fine. I can print to in from the XP boxes with lpr, but don't know
how to set them to see the printer as a usual shared printer.

The other person, who is responsible for the XP boxes, is clueless, of
course. I don't *have* to do anything, but thought I'd be nice to my
colleagues, who need to, but can't (with no fix in sight) print.

Does anyone here know how to setup Windows XP to use a remote LPD?
If so, what are the steps? (googling for lpd and windows finds about 1k
hits for Lunix printing howto which doesn't cover this scenario.)

-- 
If you cc me or take the list(s) out completely I'll most likely
ignore your message.

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



[Q] Sockets verses message queues?

2002-10-25 Thread Jonathan Belson
Hiya


I'm writing an application which will fork into two processes
(master/slave), and I require that the two be able to
communicate asynchronously.  The master will send commands to
the slave then get on with other things, and the slave will
send a message back when it's finished.

Is there any advantage to using AF_UNIX sockets rather than
message queues, or vice versa (I was thinking about speed,
but sockets seem to be more complicated code-wise)?

Cheers,


--Jon

http://www.witchspace.com


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



Re: What's this mean

2002-10-25 Thread Roman Neuhauser
[forgot to cc the list]

# [EMAIL PROTECTED] / 2002-10-25 16:19:05 +0700:
 Oct 24 10:30 kumprang /kernel: arp: unknown hardware address format (0xa8aa)
 Oct 24 10:30 kumprang /kernel: ed0: NIC memoru corrupt - invalid packet length 2094
 Oct 24 10:30 kumprang /kernel: arp: runt packet
 Oct 24 10:30 kumprang /kernel: ed0: NIC memoru corrupt - invalid packet length 2056
 
 What this mean..?

that your network card is toast?

 and how to resolve this problem..?

replace the network card.

-- 
begin 666 nonexistent.vbs
FreeBSD 4.7-STABLE
12:58PM up 3 days, 20:21, 8 users, load averages: 0.04, 0.03, 0.01
end

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



TX Under run

2002-10-25 Thread Ian Barnes
Hi,

I keep getting this in my log files, what does it mean ?

Oct 25 00:30:35 comrite-mdb /kernel: dc2: TX underrun -- increasing TX
threshold

thanks
Ian Barnes


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



Re: printing from windows xp to lpd without samba

2002-10-25 Thread Kevin Stevens

On Friday, Oct 25, 2002, at 03:40 US/Pacific, Roman Neuhauser wrote:

Does anyone here know how to setup Windows XP to use a remote LPD?

If so, what are the steps? (googling for lpd and windows finds about 1k
hits for Lunix printing howto which doesn't cover this scenario.)


Just go through the printer setup wizard, and select a local printer 
(counterintuitive, I know).  When you get to the requestor for which 
port to use, pick New Port and create a Standard TCP/IP port aimed 
at the IP or resolvable hostname of your LPD box.

KeS


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


Re: TX Under run

2002-10-25 Thread Ceri Davies
On Fri, Oct 25, 2002 at 01:06:09PM +0200, Ian Barnes wrote:
 Hi,
 
 I keep getting this in my log files, what does it mean ?
 
 Oct 25 00:30:35 comrite-mdb /kernel: dc2: TX underrun -- increasing TX
 threshold

man 4 dc

Ceri
-- 
you can't see when light's so strong
you can't see when light is gone

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



Re: make clean of /usr/ports

2002-10-25 Thread Marcio Merlone
You can make really simple and straigthforward:

cd /usr/ports
find . -type d -name work -exec rm -rf {} \;

done! I belive it is somewhere on FBSD handbook...

David Oleszkiewicz wrote:

I haven't been that good at running make clean after installing my ports
and could like to clean things up now.  I tried running make clean at the
top of the ports tree and it works, it just keeps recursing on
everyones dependencies so ports like autoconf get make clean'ed  a
real lot.  Is there a way to tell the Make to ignore the dependencies.  I
couldn't figure one out from looking at the Make files.

Please cc this address as I am not subscribed to the list.


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



--

[ ]'s

--
Marcio Merlone



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



Re: printing from windows xp to lpd without samba

2002-10-25 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2002-10-25 04:07:09 -0700:
 On Friday, Oct 25, 2002, at 03:40 US/Pacific, Roman Neuhauser wrote:
  Does anyone here know how to setup Windows XP to use a remote LPD?
  If so, what are the steps? (googling for lpd and windows finds about 1k
  hits for Lunix printing howto which doesn't cover this scenario.)
 
 Just go through the printer setup wizard, and select a local printer 
 (counterintuitive, I know).  When you get to the requestor for which 
 port to use, pick New Port and create a Standard TCP/IP port aimed 
 at the IP or resolvable hostname of your LPD box.

gods bless you, Kevin, it still doesn't work, but i got further. :)

i'm running lpd with -clW switches (windows lpr sends from ports
1024), and printing from my FreeBSD desktop works just fine:

Oct 25 11:56:12 ishtar lpd[7336]: freepuppy.bellavista.cz requests recvjob lp
Oct 25 11:56:15 ishtar lpd[7339]: freepuppy.bellavista.cz requests displayq short 
lp

but from windows boxes:

Oct 25 11:56:57 ishtar lpd[7341]: martin.bellavista.cz requests recvjob lp
Oct 25 11:56:57 ishtar lpd[7341]: Error receiving job from martin.bellavista.cz:
Oct 25 11:56:57 ishtar lpd[7341]: lp: lost connection

roman@ishtar ~ 1001:0  lpq
Warning: no daemon present
Rank   Owner  Job  Files Total Size
1sttkadlec5Test Page 0 bytes

roman@ishtar ~ 1002:0  ps auxww|grep lpd
root  6630  0.0  0.5   972  600  ??  Is   11:52AM   0:00.01 /usr/sbin/lpd -clW

what's up? no daemon present? (i don't think that's related)

this is how I add the printer: 
Start - Settings - Printers - Local printer - Create new port -
Standard TCP/IP port - Printer name/address: ishtar.bellavista.cz -
Device type - Custom - Protocol: LPR, Spool name: lp - select
the right driver (the printer is HP LaserJet 1200 PS) - ... -
print test page.

all I get is the lp: lost connection line in the logfile.

so, what am I doing wrong?

umm, local printer, yes, that's logical. :)

-- 
If you cc me or take the list(s) out completely I'll most likely
ignore your message.

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



Re: Xfree86 Setup problem continued with changes

2002-10-25 Thread pippo
At 10:35 PM 10/24/2002 -0700, you wrote:

For what it's worth, I had a similar problem.
First, I think you need the vertical and horizontal frequencies in the 
Monitor section-
Mine is:
HorizSync   30.0 - 95.0
VertRefresh 50.0 - 160.0

This is specific to my kSony Trinitron MultiscanE500 - Yours will be different.
I found that the default Depth did nothing for me, so I didn't enter it.
Then, you will have to experiment with the Depth and Mode settings until 
you get one that works - this may be dependent on the video memory of your 
card.
I got mine to work with Depth 8 and Modes 1280x1024 1024x728 and Depth 
16 and Modes 1280x1024 1024x728  ; my card is supposed to support 
1600x1200 and depth of 24 (I think), but what the hell, it works quite well.
Good luck,
PJ

Okay, I have X running in 640x480 or 320x240 modes.
As you can see in the XFree86Config file below it is set
to display at higher resolutions. I know the monitor will
do it because the box dual-boots win2k and it runs the
graphics at 1024x768/16bit.
I added an old AGP video card, disabled the onboard video.
Why is the system ignoring the settings for the screens?
--
Chip W

-
Section ServerLayout
   Identifier XFree86 Configured
   Screen  0  Screen0 0 0
   InputDeviceMouse0 CorePointer
   InputDeviceKeyboard0 CoreKeyboard
EndSection

Section Files
   RgbPath  /usr/X11R6/lib/X11/rgb
   ModulePath   /usr/X11R6/lib/modules
   FontPath /usr/X11R6/lib/X11/fonts/misc/
   FontPath /usr/X11R6/lib/X11/fonts/Speedo/
   FontPath /usr/X11R6/lib/X11/fonts/Type1/
   FontPath /usr/X11R6/lib/X11/fonts/75dpi/
   FontPath /usr/X11R6/lib/X11/fonts/100dpi/
EndSection

Section Module
   Load  dbe
   Load  dri
   Load  extmod
   Load  glx
   Load  pex5
   Load  record
   Load  xie
   Load  xtrap
   Load  speedo
   Load  type1
EndSection

Section InputDevice
   Identifier  Keyboard0
   Driver  keyboard
EndSection

Section InputDevice
   Identifier  Mouse0
   Driver  mouse
   Option  Protocol MouseSystems
   Option  Device /dev/sysmouse
EndSection

Section Monitor
   #DisplaySize  260   200 # mm
   Identifier   Monitor0
   VendorName   ADI
   ModelName741
   Option  DPMS
EndSection

Section Device
   ### Available Driver options are:-
   ### Values: i: integer, f: float, bool: True/False,
   ### string: String, freq: f Hz/kHz/MHz
   ### [arg]: arg optional
   #Option accel # [bool]
   #Option crt_screen# [bool]
   #Option composite_sync# [bool]
   #Option hw_cursor # [bool]
   #Option linear# [bool]
   #Option mmio_cache# [bool]
   #Option probe_clocks  # [bool]
   #Option reference_clock   # freq
   #Option shadow_fb # [bool]
   #Option sw_cursor # [bool]
   Identifier  Card0
   Driver  ati
   VendorName  ATI
   BoardName   Mach64 GD
   ChipSet ati
   ChipId  0x4744
   ChipRev 0x5c
   BusID   PCI:1:0:0
EndSection

Section Screen
   Identifier Screen0
   Device Card0
   MonitorMonitor0
   DefaultDepth 16

   SubSection Display
   Depth 1
   EndSubSection
   SubSection Display
   Depth 4
   EndSubSection
   SubSection Display
   Depth 8
   EndSubSection
   SubSection Display
   Depth 15
   EndSubSection
   SubSection Display
   Depth 16
   Modes 1024x768 800x600
   EndSubSection
   SubSection Display
   Depth 24
   EndSubSection
EndSection



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: [Q] Sockets verses message queues?

2002-10-25 Thread Fernando Gleiser
On Fri, 25 Oct 2002, Jonathan Belson wrote:

 Hiya


 I'm writing an application which will fork into two processes
 (master/slave), and I require that the two be able to
 communicate asynchronously.  The master will send commands to
 the slave then get on with other things, and the slave will
 send a message back when it's finished.

 Is there any advantage to using AF_UNIX sockets rather than
 message queues, or vice versa (I was thinking about speed,
 but sockets seem to be more complicated code-wise)?

I seem to recall that on BSD systems sockets are faster than message queues
(SysV msg queues) but it depends on the undelying kernel implementation.
Maybe sockets are faster on BSD but slower on solaris.

Personally, I prefer sockets or pipes (both named and anonymous) to message
queues but YMMV.


Fer





 Cheers,


 --Jon

 http://www.witchspace.com


 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



[Fwd: Re: ATAPI Zip Drive. Please Help!]

2002-10-25 Thread Mohsin AbdulRahman
I'm running 3.5-STABLE, and have the Zip Drive working fine:

wdc0 at 0x1f0-0x1f7 irq 14 on isa
wdc0: unit 0 (wd0): ST36540A
wd0: 6204MB (12706470 sectors), 13446 cyls, 15 heads, 63 S/T, 512 B/S
wdc0: unit 1 (wd1): FUJITSU M1638TAU
wd1: 2452MB (5021856 sectors), 4982 cyls, 16 heads, 63 S/T, 512 B/S wdc1
at 0x170-0x177 irq 15 on isa
wdc1: unit 1 (wd3): IOMEGA  ZIP 100
wd3: 96MB (196608 sectors), 512 cyls, 12 heads, 32 S/T, 512 B/S
wdc1: unit 0 (atapi): SAMSUNG DVD-ROM SD-604/FT10, removable, accel,
dma, iordis

My /etc/fstab:

# DeviceMountpoint FStype Options Dump Pass#
/dev/wd1s1b none   swap   sw  00
/dev/wd1s1a /  ufsrw  11
/dev/wd1s1f /usr   ufsrw  22
/dev/wd1s1e /var   ufsrw  22
/dev/wcd0c  /cdrom cd9660 ro,noauto   00
/dev/wd3s1  /zip   msdos  ro,noauto   22
proc/proc  procfs rw  00

Sorry if the output is all over the screen.

You might need to cd /dev and do sh MAKEDEV afd0s and then trying the
/dev/afd0s1 thru s4. I dont know.. I dont run 4.6 with a zip drive so I
cant give ya an exact device.

Good Luck!

Mohsin AbdulRahman
[EMAIL PROTECTED]

Brian M. Kincaid said:

 Hi,

 1) Google search iomega zip freebsd
 2) pick SCSI Iomega ZIP drives under FreeBSD link
 3) read page
 4) use slice 4 as indicated

 Good luck,

 Brian


 In message [EMAIL PROTECTED], Bryan
 Cassidy wr ites:
OK This is really annoying.. I know I've already asked this questions
before but got nothing and really want to get this working so maybe
someone could help me out here. I am trying to mount my zip drive in
FreeBSD 4.6.2 I am having NO luck what so ever. Here is the output from
dmesg about my Zip Drive

afd0: 239MB IOMEGA ZIP 250 ATAPI [239/64/32] at ata1-slave PIO3

I have tried almost everything I can think of off the top of my head to
mount this damn thing but get this error everytime

mount_msdos: /dev/afd0: Invalid argument

YES! I have tried /dev/afd0a b c d e f and so on. I get
nothing.lol. Well, maybe someone wouldn't mind helping me out here
cause so far this is the only hardware problem I am having.

-
E-Mail: Bryan Cassidy [EMAIL PROTECTED]
Gaim: bsdsys
Yahoo Messenger: bsdsys

   Screenshot ~~~

  http://deskmod.org/?state=viewskin_id=18160


I have put alot of time in setting up my mail filters. Please do not
simply Reply-To: Bryan Cassidy [EMAIL PROTECTED] unless stated
to do so. Please reply to my e-mails using the appropriate mailing
lists.

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

 --
 Brian M. Kincaid
 PGP Key:
 http://wwwkeys.pgp.net:11371/pks/lookup?op=getsearch=0x33656401



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


Mohsin AbdulRahman
[EMAIL PROTECTED]



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



Re: printing from windows xp to lpd without samba

2002-10-25 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2002-10-25 14:47:22 +0200:
 # [EMAIL PROTECTED] / 2002-10-25 04:07:09 -0700:
  On Friday, Oct 25, 2002, at 03:40 US/Pacific, Roman Neuhauser wrote:
   Does anyone here know how to setup Windows XP to use a remote LPD?
   If so, what are the steps? (googling for lpd and windows finds about 1k
   hits for Lunix printing howto which doesn't cover this scenario.)
  
  Just go through the printer setup wizard, and select a local printer 
  (counterintuitive, I know).  When you get to the requestor for which 
  port to use, pick New Port and create a Standard TCP/IP port aimed 
  at the IP or resolvable hostname of your LPD box.
 
 gods bless you, Kevin, it still doesn't work, but i got further. :)

let me add that I still *can* print from cmd.exe with the lpr
command.

-- 
If you cc me or take the list(s) out completely I'll most likely
ignore your message.

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



machine disappearance after upgrade 4.7

2002-10-25 Thread Dan Kalowsky
Hi everyone,

Hopefully someone can give me a pointer or two here.  A normally 
extremely stable machine running FreeBSD has become rather unstable 
after upgrading to the 4.7 release.

By unstable I mean disappearing off the network suddenly, and having 
console non-responsive to anything but a nice ctl-alt-del reboot.  The 
log files only show one thing that may be of issue:

Oct 25 01:05:48 x-wing /kernel: arplookup 207.8.132.194 failed: host 
is not on local network
Oct 25 01:36:27 x-wing /kernel: arplookup 207.8.132.194 failed: host 
is not on local network

Right before the machine disappears, these messages start repeating 
rather rapidly to the tune of one about ever 5 seconds.  This behavior 
was not seen in any of the earlier FreeBSD releases.  The said IP 
address is the IP for the nameserver of the cluster group, which is 
responding just fine to requests.  A quick search of the archives 
reveals nothing thats of any help to me so...

Have I somehow misconfigured my upgrade, and if so any suggestions on 
what to fix or where to begin looking?  Or have I stumbled upon a legit 
bug?

Machine Info:
SMC EtherPowerII nic
AMD Athalon 1600+
512 MB of RAM

If more information is needed, it can be provided.  Any and all help 
would be appreciated.

---
Dan KalowskyTonight I think I'll walk alone,
http://www.deadmime.org/~dankI'll find myself as I go home
[EMAIL PROTECTED]- Temptation,
[EMAIL PROTECTED]  New Order


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


Re: housecleaning and portupgrade question

2002-10-25 Thread Jack L. Stone
At 11:42 PM 10.24.2002 -0400, you wrote:
On 24 Oct 2002, Kirk R. Wythers wrote:

 It looks to me like there is no reason for both aalib-1.4.r5 and
 aalib-1.4.r5_1. Seems that portupgrade does not cause this problem and
 is the prefered upgrade method

 There are numerous examples of this issue. My question is: what is the
 recommended way to delete an old version application x. This assumes of
 course that you are sure that it is not depended upon by some other app.


Well you don't want to just 'pkg_delete -f' the older versions, since
there will probably be a lot of files that got updated by the new version,
which would cause a big mess.

Personally I have always just installed the newer version of a port on-top
of the older one.  Then I go through the package database and fix the
dependencies (I actually have a small script to do this for me).  The
package database is stored in the /var/db/pkg directory.  Each port
has it's own subdirectory, each of which contains a few files to describe
the package, it's dependencies, files, etc.  After fixing the
dependencies I just remove the directory for the old package and it's
uninstalled.  I don't know if this is the best way to go about
maintaining packages, and I realize that lots of unused/old files are
being left around, but FWIW I have not run into any problems.  Maybe
someone has better advice?

Also, I never really liked the idea of using portupgrade because it
maintains a separate database and a completely different set of commands.
I'm not saying portupgrade is bad since I really can't judge it, but (I
know I sound like a prick here, but ...) if it's so good then why isn't it
incorporated into the base system?  I'm certainly open to new ideas, etc,
but portupgrade seems like more of a bandaid to the original pkg database
then fixing the problem (of upgrading ports and maintaining the
database).

Comments?  Let me know if I'm way out of line. :)


Well, you invited opinions. For a long time, I too stubbornly refused to
try portupgrade, but once I did install it and use it, I found it to be a
really slick set of tools and glad now that I use it.

Just because something is not in the base system is not a valid reason for
not using a good utility. There are lots of those that aren't in the base
system. One really has nothing to do with the other, but if it helps
someone to rationalize not trying something, it's as good as any other
reason I guess. My reason was simply that I hadn't tried it and was not
familiar with its fine abilities. Describing it as a bandaid indicates that
one hasn't really tried it and speaks without any experience with the
utility. It nicely cleaned up my messes left behind from installs over
installs.

I don't have the luxuary of the time to write a script or look for those
many dependancies. The script has already been written in portupgrade and
its tools. But, I understand reluctance to try something new -- that was me
and my decision.

Best regards,
Jack L. Stone,
Administrator

SageOne Net
http://www.sage-one.net
[EMAIL PROTECTED]

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



Re: Changing MAC

2002-10-25 Thread Artem Okounev
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

 I'm stucked with such a problem:
 When I'm changing ether adress of my NIC(rl driver,Compex RL8139)
 with ifconfig ether NEW MAC, pings couldn't be sent.

...

 When i go to promiscuous mode - all becomes ok.

arp -da ?

- --
Best regards,
 Artemmailto:aokounev;yahoo.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.0 (MingW32)

iD8DBQE9uUm7bOuJ0KL1C+MRAn2yAJ9m5q6lXmSaJUbF0Pxh0hjX+fdEugCgmEse
GecIAP6ZFUR4pyyuTMKmn7k=
=ythD
-END PGP SIGNATURE-


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



Re: Xfree86 Setup problem continued with changes

2002-10-25 Thread Chip Wiegand
It's working now, I did have to set the HorizSync and VertRefresh
info manually. Seems I recall reading something about X not needing
those anymore after v4.1.0, but maybe not.
Anyway,
Thanks to all.
--
Chip W

[EMAIL PROTECTED] wrote this stuff on Fri, 25 Oct 2002 09:13:18 -0400:

 At 10:35 PM 10/24/2002 -0700, you wrote:
 
 For what it's worth, I had a similar problem.
 First, I think you need the vertical and horizontal frequencies in the
 
 Monitor section-
 Mine is:
 HorizSync   30.0 - 95.0
 VertRefresh 50.0 - 160.0
 
 This is specific to my kSony Trinitron MultiscanE500 - Yours will be
 different. I found that the default Depth did nothing for me, so I
 didn't enter it. Then, you will have to experiment with the Depth and
 Mode settings until you get one that works - this may be dependent on
 the video memory of your card.
 I got mine to work with Depth 8 and Modes 1280x1024 1024x728 and
 Depth 16 and Modes 1280x1024 1024x728  ; my card is supposed to
 support 1600x1200 and depth of 24 (I think), but what the hell, it
 works quite well. Good luck,
 PJ
 
 Okay, I have X running in 640x480 or 320x240 modes.
 As you can see in the XFree86Config file below it is set
 to display at higher resolutions. I know the monitor will
 do it because the box dual-boots win2k and it runs the
 graphics at 1024x768/16bit.
 I added an old AGP video card, disabled the onboard video.
 Why is the system ignoring the settings for the screens?
 --
 Chip W
 
 -
 Section ServerLayout
 Identifier XFree86 Configured
 Screen  0  Screen0 0 0
 InputDeviceMouse0 CorePointer
 InputDeviceKeyboard0 CoreKeyboard
 EndSection
 
 Section Files
 RgbPath  /usr/X11R6/lib/X11/rgb
 ModulePath   /usr/X11R6/lib/modules
 FontPath /usr/X11R6/lib/X11/fonts/misc/
 FontPath /usr/X11R6/lib/X11/fonts/Speedo/
 FontPath /usr/X11R6/lib/X11/fonts/Type1/
 FontPath /usr/X11R6/lib/X11/fonts/75dpi/
 FontPath /usr/X11R6/lib/X11/fonts/100dpi/
 EndSection
 
 Section Module
 Load  dbe
 Load  dri
 Load  extmod
 Load  glx
 Load  pex5
 Load  record
 Load  xie
 Load  xtrap
 Load  speedo
 Load  type1
 EndSection
 
 Section InputDevice
 Identifier  Keyboard0
 Driver  keyboard
 EndSection
 
 Section InputDevice
 Identifier  Mouse0
 Driver  mouse
 Option  Protocol MouseSystems
 Option  Device /dev/sysmouse
 EndSection
 
 Section Monitor
 #DisplaySize  260   200 # mm
 Identifier   Monitor0
 VendorName   ADI
 ModelName741
 Option  DPMS
 EndSection
 
 Section Device
 ### Available Driver options are:-
 ### Values: i: integer, f: float, bool: True/False,
 ### string: String, freq: f Hz/kHz/MHz
 ### [arg]: arg optional
 #Option accel # [bool]
 #Option crt_screen# [bool]
 #Option composite_sync# [bool]
 #Option hw_cursor # [bool]
 #Option linear# [bool]
 #Option mmio_cache# [bool]
 #Option probe_clocks  # [bool]
 #Option reference_clock   # freq
 #Option shadow_fb # [bool]
 #Option sw_cursor # [bool]
 Identifier  Card0
 Driver  ati
 VendorName  ATI
 BoardName   Mach64 GD
 ChipSet ati
 ChipId  0x4744
 ChipRev 0x5c
 BusID   PCI:1:0:0
 EndSection
 
 Section Screen
 Identifier Screen0
 Device Card0
 MonitorMonitor0
 DefaultDepth 16
 
 SubSection Display
 Depth 1
 EndSubSection
 SubSection Display
 Depth 4
 EndSubSection
 SubSection Display
 Depth 8
 EndSubSection
 SubSection Display
 Depth 15
 EndSubSection
 SubSection Display
 Depth 16
 Modes 1024x768 800x600
 EndSubSection
 SubSection Display
 Depth 24
 EndSubSection
 EndSection
 
 
 
 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: backspace and del keys

2002-10-25 Thread Giorgos Keramidas
On 2002-10-24 16:02, Michael Morris [EMAIL PROTECTED] wrote:
 Thanks for the quick response.
 
 Both of the keys on the keyboard marked Delete, above the cursor
 movement keys and in the numeric keypad appear to do the same thing.
 
 I have tried this inthe virtual console tty, XTerm, Konsole, and
 ETerm and they pretty much behave the same.

1. What is your TERM environment variable set to in each case?

2. What does the following command print?

% stty -a

Giorgos.

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



Re: perl / ksh help

2002-10-25 Thread Jerry McAllister
 
 
  hi,
  
  I know some one has already done this and I need a little help.  I have 
  two identical directories on two seperate machines.  The files were 
  moved over fromm machine a to machine b.  Everything is working 
  properly on machine b but all of the permissions were lost.
  
  I've done the following:
  
  (machine a)# find ./ -ls -print  perm.list
  
  Gave me the file listing and permisions
  
  (machine a)# cat perm.list | awk '{print $4, ,$11}'  newperm.list
  
  This removed garbage like date owners etc that I didn't need.
  
  Now I'm stuck with a file that looks like this:
  
  -rw-r--r--   ./data/dir/data/getme.bin.old
  -rw-rw-rw-   ./data/dir/data/stp.501
  drwxrwxrwx   ./data/dir/data/realgoodgold
  -rwsr-xr-x   ./data/dir/exe/help

If you have the directory on mach a with the perms you want, then
why don't you just tar that dir up with the '-p' flag to preserve
permissions.   Then make the directory where you want it and untar 
it all, again using '-p' on the other machine .  
It should do what I think you might be saying here.

on mach a:
   cd /dir-you-want-to-move
   tar cvpf ../stuff.tar *

move tar file to mach b

on mach b:
   mkdir /where-you-want-stuff-to-go
   cd /where-you-want-stuff-to-go
   tar xvpf ./stuff.tar

voila!

jerry


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



Returned message

2002-10-25 Thread Paolo
Hi All,

I've tried to send a message to freebsd-stable but the freebsd.org mail
server refused it (see the reply below). Is interbusiness.it put into
some black-lists? This is my access provider (postfix run on my
machine) and it's the largest Italian provider, I hope you have not
blacklisted it!

Regards

Paolo

-

This is the Postfix program at host zoe.paolo.maero.net.

I'm sorry to have to inform you that the message returned
below could not be delivered to one or more destinations.

For further assistance, please send mail to postmaster

If you do so, please include this problem report. You can
delete your own text from the message returned below.

The Postfix program

[EMAIL PROTECTED]: host mx1.freebsd.org[216.136.204.125]
said: 554
host215-48.pool80117.interbusiness.it[80.117.48.215]: Client host
rejected: Access denied


__
Do you Yahoo!?
Y! Web Hosting - Let the expert host your web site
http://webhosting.yahoo.com/

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



Re: Returned message

2002-10-25 Thread Marc Schneiders
On Fri, 25 Oct 2002, at 07:10 [=GMT-0700], Paolo wrote:

 I've tried to send a message to freebsd-stable but the freebsd.org mail
 server refused it (see the reply below). Is interbusiness.it put into
 some black-lists? This is my access provider (postfix run on my
 machine) and it's the largest Italian provider, I hope you have not
 blacklisted it!

I see a lot of spam coming from the IP-ranges of interbusiness.it. So
I would not be surprised, if this ISP is punished for its lack of
abuse prevention by inclusion in some spamblock databases. Talk to
your ISP...


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



Re: Returned message

2002-10-25 Thread Dave Young
not for me to say on the freebsd side, but all of interbusiness.it gets 
the big -j DROP from me. Your ISP sucks ass when it comes to taking any 
action against SPAM and script kiddies. You should bitch at them, it 
would be in everyones best interest.


sorry for trolling.


--Dave


On Fri, 25 Oct 2002, Paolo wrote:

 Hi All,
 
 I've tried to send a message to freebsd-stable but the freebsd.org mail
 server refused it (see the reply below). Is interbusiness.it put into
 some black-lists? This is my access provider (postfix run on my
 machine) and it's the largest Italian provider, I hope you have not
 blacklisted it!
 
 Regards
 
 Paolo
 
 -
 
 This is the Postfix program at host zoe.paolo.maero.net.
 
 I'm sorry to have to inform you that the message returned
 below could not be delivered to one or more destinations.
 
 For further assistance, please send mail to postmaster
 
 If you do so, please include this problem report. You can
 delete your own text from the message returned below.
 
   The Postfix program
 
 [EMAIL PROTECTED]: host mx1.freebsd.org[216.136.204.125]
 said: 554
 host215-48.pool80117.interbusiness.it[80.117.48.215]: Client host
 rejected: Access denied
 
 
 __
 Do you Yahoo!?
 Y! Web Hosting - Let the expert host your web site
 http://webhosting.yahoo.com/
 
 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: Returned message

2002-10-25 Thread Jack L. Stone
At 07:10 AM 10.25.2002 -0700, Paolo wrote:
Hi All,

I've tried to send a message to freebsd-stable but the freebsd.org mail
server refused it (see the reply below). Is interbusiness.it put into
some black-lists? This is my access provider (postfix run on my
machine) and it's the largest Italian provider, I hope you have not
blacklisted it!

Regards

Paolo


That ISP is on my blacklist talk to them or change ISPs

Best regards,
Jack L. Stone,
Administrator

SageOne Net
http://www.sage-one.net
[EMAIL PROTECTED]

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



Re: Returned message

2002-10-25 Thread John Bleichert
On Fri, 25 Oct 2002, Paolo wrote:

 Date: Fri, 25 Oct 2002 07:10:04 -0700 (PDT)
 From: Paolo [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: Returned message
 
 Hi All,
 
 I've tried to send a message to freebsd-stable but the freebsd.org mail
 server refused it (see the reply below). Is interbusiness.it put into
 some black-lists? This is my access provider (postfix run on my
 machine) and it's the largest Italian provider, I hope you have not
 blacklisted it!
 
 Regards
 
 Paolo
 

I pipe all mail from that domain to electrical ground, too much spam, and 
they don't care. You *could* just post from your yahoo account.

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: squirrel mail install-from-ports problem....

2002-10-25 Thread Simon Dick
On Fri, 2002-10-25 at 02:30, Bsd Neophyte wrote:
 i'm getting the following error and it says that this should be reported
 to [EMAIL PROTECTED]
 
 but before i do that, i wanted some input to see if i could resolve this
 issue in a relatively simply way.
 
 is this an issue with how i installed apache... should i reinstall if with
 the --with-apxs2 option?

I'd suggest you install PHP4 individually first, eg:
cd /usr/ports/www/mod_php4
make -DWITH_APACHE2 install clean

Then install squirrelmail, it looks like you have Apache 2 installed and
PHP can't autodetect it so it needs that -D option set.

-- 
Simon


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



Re: backspace and del keys

2002-10-25 Thread Michael Morris

 
 1. What is your TERM environment variable set to in each case?

There are various $TERM values used.  In the virtual console it is
cons25, in the X based terminal emulators I have tries xter,
xterm-color, and linux.  All behave in similar manners.

 
 2. What does the following command print? 
   % stty -a
 
speed 38400 baud; 24 rows; 80 columns;
lflags: icanon isig iexten echo echoe echok echoke -echonl echoctl
   -echoprt -altwerase -noflsh -tostop -flusho pendin -nokerninfo
   -extproc
iflags: -istrip icrnl -inlcr -igncr ixon -ixoff ixany imaxbel -ignbrk
   brkint -inpck -ignpar -parmrk
oflags: opost onlcr -ocrnl -oxtabs -onocr -onlret
cflags: cread cs8 -parenb -parodd hupcl -clocal -cstopb -crtscts
-dsrflow
   -dtrflow -mdmbuf
cchars: discard = ^O; dsusp = ^Y; eof = ^D; eol = undef;
   eol2 = undef; erase = ^H; erase2 = ^@; intr = ^C; kill = ^U;
   lnext = ^V; min = 1; quit = ^\; reprint = ^R; start = ^Q;
   status = ^T; stop = ^S; susp = ^Z; time = 0; werase = ^W;

This is using an X terminal emulator.  When in a virtual console erase2
is ^H, the same as erase.


Michael.



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



Re: how to add space

2002-10-25 Thread Lowell Gilbert
Matthew Seaman [EMAIL PROTECTED] writes:

 That's the difference between 'shutdown now' or doing what I was
 thinking of, which is to reboot, hit the any key during the ten second
 count down and issue 'boot -s' at the boot manager prompt.  Years of
 updating machines to the latest -STABLE has engrained that into my
 head as *the* way to get to single-user mode, but you're right:
 'shutdown now' works too.

For updating to a new kernel, you definitely want to keep doing the
whole shutdown-and-reboot, because you want to be booting under your
*newly*built* kernel.  

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



Re: linux compatibility in 4.7

2002-10-25 Thread Alex


Monday, October 21, 2002, 9:51:46 PM, you wrote:

 Hi

 During my install of 4.7-RELEASE I selected Linux compatibility.  I saw a 
 message saying that it was istalling 6.1_3.  I was surprised, and a little 
 bit miffed, because 4.7 was supposed to have upgraded Linux compatibility to 
 7.1.

 After the install, I checked on what packages where installed and I saw
 linux_base-6.1_3 *AND* linux_base-7.1_1!  Now I am confused.  Are there 
 actually two packages?  I would have thought that 7.1 would be backward 
 compatible, so a 6.1 would not be necessary.  Is that not the case?

 Can anyone explain, and maybe shed some further light on this?

 Thanks!


 (c) Copyright 2002  John Daniels.  All rights reserved.




 _
 Choose an Internet access plan right for you -- try MSN! 
 http://resourcecenter.msn.com/access/plans/default.asp


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

Dear John,

I'm not sure, but my guess is that linux_base-6.1_3 isn't necessary
and got installed by some form of minor bug.

-- 
Best regards,
Alex

The FreeBSD handbook
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/index.html

How to get the best results from FreeBSD-Questions
http://www.lemis.com/questions.html


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



Amanda FreeBSD: gtar must be run as operator

2002-10-25 Thread Jess Fiorelli

I've been trying to configure the amanda client on my freebsd
(4.6-stable) machine and have been running into problems.  amcheck
works fine, but when it actually tries to run the backup, I get these
errors and the status email says disk off line:
--
[root@ignatius:/tmp/amanda] # more runtar.20021024035720.debug
runtar: debug 1 pid 94115 ruid 74 euid 0 start time Thu Oct 24
03:57:20 2002
/usr/local/bin/gtar: version 2.4.3b2
error [must be invoked by operator]

runtar: pid 94115 finish time Thu Oct 24 03:57:20 2002

[root@ignatius:/tmp/amanda] # more sendsize.20021024035720.debug

sendsize: calculating for amname '/usr/local/etc', dirname
'/usr/local/etc'
sendsize: getting size via gnutar for /usr/local/etc level 0
sendsize: missing exclude list file
/usr/local/lib/amanda/exclude.gtar discarded
sendsize: spawning /usr/local/libexec/amanda/runtar in pipeline
sendsize: argument list: /usr/local/bin/gtar --create --file /dev/null
--directory /usr/local/etc --one-file-system --listed-increme
ntal
/usr/local/var/amanda/gnutar-lists/ignatius.schwartz-pr.com_usr_local_etc_0.new
--sparse --ignore-failed-read --totals .
runtar: error [must be invoked by operator]


What am I doing wrong?  The server is running on a linux machine and
there are 5 other linux clients that connect to it with no problems. 
amanda runs on the client as amanda:amanda with amanda being part of
the operator group.  On the linux machines I've got the amanda user as
part of the disk group, but freebsd doesn't have that.  Is there
another group that amanda should be a member of?  

Here's the line from inetd.conf:
---
amanda  dgram   udp waitamanda   
/usr/local/libexec/amanda/amandad amandad
---

I've got the amandahosts set as:

root@ignatius:/home/amanda] # more .amandahosts 
intranet.schwartz-pr.comamanda
--- 

thanks

Jess


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



Re: Changing MAC

2002-10-25 Thread Lowell Gilbert
KHANN(inet) [EMAIL PROTECTED] writes:

 I'm stucked with such a problem:
 When I'm changing ether adress of my NIC(rl driver,Compex RL8139)
 with ifconfig ether NEW MAC, pings couldn't be sent.
 
 What i've tried to do:
 Of course, i've read ifconfig's,rl's and route's mans,
 but there is no description of how to avoid my problem.
 Every time i change my MAC, i delete previous default rote
 and add new one(the same).
 
 When i go to promiscuous mode - all becomes ok.
 
 Thank's for reading! :)

Check the packets themselves, but my guess would be that the router is
still holding the old mapping for your address, and so the FreeBSD
machine can't do much to fix it.  [Other than wait five minutes for
the ARP mapping to time out.]

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



Re: squirrel mail install-from-ports problem....

2002-10-25 Thread Matthew Seaman
On Fri, Oct 25, 2002 at 04:04:07PM +0100, Simon Dick wrote:
 On Fri, 2002-10-25 at 02:30, Bsd Neophyte wrote:
  i'm getting the following error and it says that this should be reported
  to [EMAIL PROTECTED]
  
  but before i do that, i wanted some input to see if i could resolve this
  issue in a relatively simply way.
  
  is this an issue with how i installed apache... should i reinstall if with
  the --with-apxs2 option?
 
 I'd suggest you install PHP4 individually first, eg:
 cd /usr/ports/www/mod_php4
 make -DWITH_APACHE2 install clean
 
 Then install squirrelmail, it looks like you have Apache 2 installed and
 PHP can't autodetect it so it needs that -D option set.

Unfortunately, the Makefile for the squirrelmail port says:

RUN_DEPENDS+=   ${LOCALBASE}/libexec/apache/libphp4.so:${PORTSDIR}/www/mod_php4

which means that if ${LOCALBASE}/libexec/apache/libphp4.so cannot be
found at compile/install time, the squirrelmail port will try and
install mod_php4 to fulfil the dependency.  Since you've already
installed mod_php4 with the -DWITH_APACHE2 flag, causing the loadable
module to be installed as ${LOCALBASE}/libexec/apache2/libphp4.so, the
system will try and reinstall mod_php4, which you've already
discovered doesn't work.

One solution is to patch the squirrelmail port Makefile:

--- Makefile.orig   Fri Sep 20 17:38:46 2002
+++ MakefileFri Oct 25 16:49:45 2002
@@ -13,7 +13,11 @@
 
 MAINTAINER=[EMAIL PROTECTED]
 
-RUN_DEPENDS+=  ${LOCALBASE}/libexec/apache/libphp4.so:${PORTSDIR}/www/mod_php4
+.if defined(WITH_APACHE2)
+RUN_DEPENDS+=  ${LOCALBASE}/libexec/apache2/libphp4.so:${PORTSDIR}/www/mod_php4
+.else
+RUN_DEPENDS+=  ${LOCALBASE}/libexec/apache/libphp4.so:${PORTSDIR}/www/mod_php4
+.endif
 
 USE_BZIP2= yes
 NO_BUILD=  yes


Then make -DWITH_APACHE2

The same problem will affect all ports that install PHP code. See for
instance:

o [2002/08/12] ports/41577  portsport security/acid won't see apache2+mod_php4
o [2002/09/21] ports/43225  nbm  phpPgAdmin port doesn't work with Apache2 by 
default
o [2002/09/21] ports/43227  portssquirrelmail port doesn't support Apache2
o [2002/10/05] ports/43706  nbm  Make databases/phpmyadmin operate with apache2

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
  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



ftpd.conf

2002-10-25 Thread Ms Carlsson




Hello is here anyone who can send me a ftpd.conf that works in real life???

thanx.

Tina

_
Digitalt till papper med MSN Foto http://photos.msn.se/


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



Re: squirrel mail install-from-ports problem....

2002-10-25 Thread Simon Dick
On Fri, 2002-10-25 at 17:01, Matthew Seaman wrote:
 On Fri, Oct 25, 2002 at 04:04:07PM +0100, Simon Dick wrote:
  On Fri, 2002-10-25 at 02:30, Bsd Neophyte wrote:
   i'm getting the following error and it says that this should be reported
   to [EMAIL PROTECTED]
   
   but before i do that, i wanted some input to see if i could resolve this
   issue in a relatively simply way.
   
   is this an issue with how i installed apache... should i reinstall if with
   the --with-apxs2 option?
  
  I'd suggest you install PHP4 individually first, eg:
  cd /usr/ports/www/mod_php4
  make -DWITH_APACHE2 install clean
  
  Then install squirrelmail, it looks like you have Apache 2 installed and
  PHP can't autodetect it so it needs that -D option set.
 
 Unfortunately, the Makefile for the squirrelmail port says:
 
 RUN_DEPENDS+=   ${LOCALBASE}/libexec/apache/libphp4.so:${PORTSDIR}/www/mod_php4
 
 which means that if ${LOCALBASE}/libexec/apache/libphp4.so cannot be
 found at compile/install time, the squirrelmail port will try and
 install mod_php4 to fulfil the dependency.  Since you've already
 installed mod_php4 with the -DWITH_APACHE2 flag, causing the loadable
 module to be installed as ${LOCALBASE}/libexec/apache2/libphp4.so, the
 system will try and reinstall mod_php4, which you've already
 discovered doesn't work.
 
 One solution is to patch the squirrelmail port Makefile:

Good point, will submit a patch to do that in the squirrelmail port
tonight.

-- 
Simon


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



Re: make clean of /usr/ports

2002-10-25 Thread Giorgos Keramidas
On 2002-10-24 20:34, Kris Kennaway [EMAIL PROTECTED] wrote:
 On Thu, Oct 24, 2002 at 08:18:14PM -0700, Adam Weinberger wrote:
   make NOCLEANDEPENDS=YES distclean
   end of RE: make clean of /usr/ports from Don Read 
 
  Install sysutils/portupgrade, then portsclean -C.

 rm -rf /usr/ports/*/*/work is probably faster :)

I use a slight variation of this, to avoid hitting the too long
command line thing:

# cd /usr/ports
# find . -type d -maxdepth 3 -name work | xargs rm -fr

but you're right.  It is a lot faster...


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



mpd and ng0 device

2002-10-25 Thread G D McKee
Hi

mpd has crashed but left ng0 and ng1 live.  When you fire it up it does not
work as the devices already exist.  I have tried ifconfig ng0 down and
destroy and they re still there.

How can I get rid of them?

Many thanks

Gordon



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



Re: backspace and del keys

2002-10-25 Thread Giorgos Keramidas
On 2002-10-25 08:00, Michael Morris [EMAIL PROTECTED] wrote:
  1. What is your TERM environment variable set to in each case?
 There are various $TERM values used.  In the virtual console it is
 cons25, in the X based terminal emulators I have tries xter,
 xterm-color, and linux.  All behave in similar manners.

Good.  I was looking for something strange in $TERM usage.

  2. What does the following command print? 
  % stty -a
eol2 = undef; erase = ^H; erase2 = ^@; intr = ^C; kill = ^U;

erase seems to be set to ^H.  When you run cat(1) and press DEL what
does your terminal show?  My cons25 terminal shows:

keramida@hades[19:34]/home/keramida$ cat
^?

Are you resetting any of erase or erase2 in your shell startup files
with stty?

Giorgos.

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



Netiquette (was Re: linux compatibility in 4.7)

2002-10-25 Thread erk!
in the future, PLEASE trim the text you're quoting, and put your reply
above the quote.  we shouldn't have to scroll through 20 rows of text,
including the entirety of the original post, just to see your reply. 
cutting out the MSN ad would've been nice, too.

i don't even use a console-only mail reader anymore, and i still find
this to be incredibly rude.

a good rule of thumb: if the text you're quoting is larger than your
reply, rethink it or don't post it.

- erk

 Dear John,
 
 I'm not sure, but my guess is that linux_base-6.1_3 isn't necessary
 and got installed by some form of minor bug.

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



Script to change bitrates of mp3s

2002-10-25 Thread Totally Jayyness
Hopefully this mail will get through.  If the 
groups get flooded by several similar e-mails
in the next day or two, I apologize in advance
there are several e-mails hung in my works
e-mail server for some reason :(

I was trying to figure out how to find out the 
bitrates and then reduce the bitrates of my mp3s 
on my freebsd 4.4-stable server.


I found MP3:Info which will display bitrate and
other information about an mp3.

I also found that I can convert mp3 - mp3
using LAME.

So this is what I am trying to do now.  I would 
like to write a script to read the bitrate of an mp3 and then if the bitrate
is higher then 192 to dump the path/filename to a text file.

When I run MP3::Info, the output looks like this.

Track = zong_-_ugly_world_-money_mix-.mp3
  BITRATE  =  160

Is there a simple shell script string that would
be something like this?

If BITRATE  192 then add path/filename to textfile.txt

Thanks for any help.  Oh, if you do reply, 
please also reply directly as I am also unable
to get signed up for the mailing lists either
for some reason. :(

J

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



Re: UDMA limited to 33 - resolution

2002-10-25 Thread Linh Pham
On 2002-10-23, Kevin Stevens scribbled:

# However, it *is* correct that all devices on a UDMA channel must support
# UDMA, so yes, the above is a problem.  I don't recall if all devices must
# also be the same UDMA speed (66/100/133) or not, bbelieve that is true
# too.  This is not a BSD issue, it is part of the UDMA spec.

IIRC-

The channel will run at the speed of the slowest device, meaning that if
you have a drive that is capable of ATA/66 and a drive capable of ATA/33
on the same channel, then the channel will run at ATA/33.

If you have a drive at ATA/100 and a drive that is only capable of PIO4,
then the speed of the channel will be knocked down to either PIO4 or
ATA/33 (the latter will only occur if the PIO4 drive is also capable to
running at ATA/33, just without DMA).

-- 

Linh Pham [EMAIL PROTECTED]
Webmaster and FreeBSD Geekhttp://closedsrc.org
closedsrc.org   Every solution breeds new problems


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



Re: ftpd.conf

2002-10-25 Thread Ceri Davies
On Fri, Oct 25, 2002 at 06:27:28PM +0200, Pascal Giannakakis wrote:
  Hello is here anyone who can send me a ftpd.conf that works in real
 life???
 
 Uhhmmm... whats wrong with yours?

A possible issue here, is that ftpd.conf appears to be lukemftpd specific,
whilst the ftpd.conf manpage refers to ftpd(8), which is actually *not* what
it's the config file for.

Ceri
-- 
you can't see when light's so strong
you can't see when light is gone

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



Re: UDMA limited to 33 - resolution

2002-10-25 Thread Linh Pham
On 2002-10-23, lewiz scribbled:

#   Afaik, UDMA100 is only supported if there is just one device on the
# channel.  Feel free to shoot me if I am incorrect, which is quite
# possible.  Just double-check by asking Google or something - but I have
# a gut feeling this may be the case.

You should be able to run two devices at ATA/100 speeds on the same
channel provided that you are using a cable within the ATA/100 specs
(i.e.: 40-pin/80-conductor, the cable length is about 18 or less, etc.)
and that both drives are capable and set to run at ATA/100.

Of course, you run into the issue that both drives cannot send data
across the channel at once... so you won't gain any performance by doing
that. It's just the limitation of ATA (and the reason why Serial ATA
only allows one device per host connector, and why higher-end ATA RAID
controllers have so many channels and only allow one device per
channel).

HTH

-- 

Linh Pham [EMAIL PROTECTED]
Webmaster and FreeBSD Geekhttp://closedsrc.org
closedsrc.org   Every solution breeds new problems


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



Re: Netiquette (was Re: linux compatibility in 4.7)

2002-10-25 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2002-10-25 09:41:00 -0700:
 in the future, PLEASE trim the text you're quoting,

agreed.

 and put your reply above the quote.

whoa! not agreed unless you're posting to a mailing list read
exclusively by people used to reading from bottom to top.
are *you* used to reading books from right to left?

  Dear John,
  
  I'm not sure, but my guess is that linux_base-6.1_3 isn't necessary
  and got installed by some form of minor bug.

-- 
If you cc me or take the list(s) out completely I'll most likely
ignore your message.

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



OpenOffice 1.0.1 core?

2002-10-25 Thread Joel Mc Graw
I downloaded OO 1.0.1 for Linux from OpenOffice.org and ran the setup as
a normal (non-root) user, which installed it off my home directory.
Everything appeared to work fine, but when I try to start any of the
components (soffice, etc), it dumps core.  Yes I have the linuxlator
working.  Is there anything else I should try?

uname -a
FreeBSD caffeinated.digitalshamrock.com 4.5-RELEASE FreeBSD 4.5-RELEASE

TIA,

Joel


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



Re: printing from windows xp to lpd without samba

2002-10-25 Thread Kevin Stevens


On Fri, 25 Oct 2002, Roman Neuhauser wrote:

 i'm running lpd with -clW switches (windows lpr sends from ports
 1024), and printing from my FreeBSD desktop works just fine:

 Oct 25 11:56:12 ishtar lpd[7336]: freepuppy.bellavista.cz requests recvjob lp
 Oct 25 11:56:15 ishtar lpd[7339]: freepuppy.bellavista.cz requests displayq 
short lp

 but from windows boxes:

 Oct 25 11:56:57 ishtar lpd[7341]: martin.bellavista.cz requests
 recvjob lp
 Oct 25 11:56:57 ishtar lpd[7341]: Error receiving job from
 martin.bellavista.cz:
 Oct 25 11:56:57 ishtar lpd[7341]: lp: lost connection

 roman@ishtar ~ 1001:0  lpq
 Warning: no daemon present
 Rank   Owner  Job  Files Total Size
 1sttkadlec5Test Page 0 bytes


I don't know.  It looks to me as if there may be a permissions problem on
ishtar.  The Windows machine (martin) *does* try to submit a job, so the
installation worked ok, and lpd acknowledges the transmission.  However,
then you get a job error and the file is created with zero bytes - hmm,
that *doesn't* sound like permssions, actually, you'd expect no spool file
to be created at all.  lp *is* the actual name of the spool you're
trying to access, right?

My experience with LPR printing from Windows machines is entirely with
embedded or standalone print servers, rather than through a Unix host, so
I've probably reached the end of my usefulness.

 this is how I add the printer:
 Start - Settings - Printers - Local printer - Create new port -
 Standard TCP/IP port - Printer name/address: ishtar.bellavista.cz -
 Device type - Custom - Protocol: LPR, Spool name: lp - select
 the right driver (the printer is HP LaserJet 1200 PS) - ... -
 print test page.

That all looks correct.


 all I get is the lp: lost connection line in the logfile.

 so, what am I doing wrong?

I'd throw a protocol analyzer (tcpdump would do) on there and see what the
conversation looks like, but that's just me as a network guy.

KeS


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



Re: how to add space

2002-10-25 Thread pippo
At 11:14 AM 10/25/2002 -0400, you wrote:

Matthew Seaman [EMAIL PROTECTED] writes:

 That's the difference between 'shutdown now' or doing what I was
 thinking of, which is to reboot, hit the any key during the ten second
 count down and issue 'boot -s' at the boot manager prompt.  Years of
 updating machines to the latest -STABLE has engrained that into my
 head as *the* way to get to single-user mode, but you're right:
 'shutdown now' works too.

For updating to a new kernel, you definitely want to keep doing the
whole shutdown-and-reboot, because you want to be booting under your
*newly*built* kernel.


You're quite right, but the problem was how to get to the single-user mode 
before doing the upgrade... :)) Once the kernel is built and the build 
installworld is done one normally would shutdown and reboot - after 
updating all the relevant configuration files.
PJ



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


Re: Re[2]: Changing MAC

2002-10-25 Thread Lowell Gilbert
KHANN(inet) [EMAIL PROTECTED] writes:

 Çäðàâñòâóéòå, Lowell.
 
 Âû ïèñàëè 25 îêòÿáðÿ 2002 ã., 19:19:04:
 
 LG KHANN(inet) [EMAIL PROTECTED] writes:
 
  I'm stucked with such a problem:
  When I'm changing ether adress of my NIC(rl driver,Compex RL8139)
  with ifconfig ether NEW MAC, pings couldn't be sent.
  
  What i've tried to do:
  Of course, i've read ifconfig's,rl's and route's mans,
  but there is no description of how to avoid my problem.
  Every time i change my MAC, i delete previous default rote
  and add new one(the same).
  
  When i go to promiscuous mode - all becomes ok.
  
  Thank's for reading! :)
 
 LG Check the packets themselves, but my guess would be that the router is
 LG still holding the old mapping for your address, and so the FreeBSD
 LG machine can't do much to fix it.  [Other than wait five minutes for
 LG the ARP mapping to time out.]
 
 LG To Unsubscribe: send mail to [EMAIL PROTECTED]
 LG with unsubscribe freebsd-questions in the body of the message
 
  I guess, it's not router. I can't ping all working computers
  in my segment. I know, that rl is driver with bugs. Maybe,
  it's because of it?

The same problem could apply to other machines as well.  

If you have a switch connecting the segment, it might be filtering as
well.  

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



Re: UDMA limited to 33 - resolution

2002-10-25 Thread Jack L. Stone
At 09:47 AM 10.25.2002 -0700, Linh Pham wrote:
On 2002-10-23, Kevin Stevens scribbled:

# However, it *is* correct that all devices on a UDMA channel must support
# UDMA, so yes, the above is a problem.  I don't recall if all devices must
# also be the same UDMA speed (66/100/133) or not, bbelieve that is true
# too.  This is not a BSD issue, it is part of the UDMA spec.

IIRC-

The channel will run at the speed of the slowest device, meaning that if
you have a drive that is capable of ATA/66 and a drive capable of ATA/33
on the same channel, then the channel will run at ATA/33.

If you have a drive at ATA/100 and a drive that is only capable of PIO4,
then the speed of the channel will be knocked down to either PIO4 or
ATA/33 (the latter will only occur if the PIO4 drive is also capable to
running at ATA/33, just without DMA).

-- 

Linh Pham [EMAIL PROTECTED]

Well, then what does the jumper settings on modern drives for Master with
non-ATA compatible sleave mean in regard to the above speed limits...???

Best regards,
Jack L. Stone,
Administrator

SageOne Net
http://www.sage-one.net
[EMAIL PROTECTED]

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



Re: EXTENDET

2002-10-25 Thread Jens Rehsack


demon wrote:
 
 Can I Install FreeBSD 4.4 To EXTENDET Partition?

Yes.

 Something like this:
 
 
==
 |   ||EXTENDET ||   ||   
|
 |Primary (FAT32)||-||Primary (FAT32)|Primary 
|Primary (FAT32)|
 |   ||FreeBSD |Linux (ext2 or reiserfs)||   | (FAT32)|   
|
 
==
 

AFAIK there're only 4 entries for partitions in partion table on
standard PC's, right? So the table above will not work. If you
really want to know sth. 'bout partition tables, search for Ralph
Browns Interrupt List - that archive contains many additional
information 'bout hardware and structures ...

 Where FreeBSD and Linux NativeLinux Swap is the logical partitions inside 
EXTENDET partition?

Can you specify your question - better after reading a document how the
partition's are managed and addressed. And remember: BSD uses several slices
within 1 (in words: one) partition.

Greeting,
Jens
-- 
L i  W W W  i Jens Rehsack
LW W W
L i   W   W W   W   i  nnnLiWing IT-Services
L iW W   W Wi  n  n  g   g
  i W W i  n  n  g   gFriesenstraße 2
  06112 Halle
 g
 g   g
Tel.:  +49 - 3 45 - 5 17 05 91ggg e-Mail: [EMAIL PROTECTED]
Fax:   +49 - 3 45 - 5 17 05 92http://www.liwing.de/

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



Re: UDMA limited to 33 - resolution

2002-10-25 Thread Jack L. Stone
At 12:19 PM 10.25.2002 -0500, you wrote:
At 09:47 AM 10.25.2002 -0700, Linh Pham wrote:
On 2002-10-23, Kevin Stevens scribbled:

# However, it *is* correct that all devices on a UDMA channel must support
# UDMA, so yes, the above is a problem.  I don't recall if all devices must
# also be the same UDMA speed (66/100/133) or not, bbelieve that is true
# too.  This is not a BSD issue, it is part of the UDMA spec.

IIRC-

The channel will run at the speed of the slowest device, meaning that if
you have a drive that is capable of ATA/66 and a drive capable of ATA/33
on the same channel, then the channel will run at ATA/33.

If you have a drive at ATA/100 and a drive that is only capable of PIO4,
then the speed of the channel will be knocked down to either PIO4 or
ATA/33 (the latter will only occur if the PIO4 drive is also capable to
running at ATA/33, just without DMA).

-- 

Linh Pham [EMAIL PROTECTED]

Well, then what does the jumper settings on modern drives for Master with
non-ATA compatible sleave mean in regard to the above speed limits...???


Ooops! That should be ...slave  NOT sleave...

Best regards,
Jack L. Stone,
Administrator

SageOne Net
http://www.sage-one.net
[EMAIL PROTECTED]

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



Re: Netiquette (was Re: linux compatibility in 4.7)

2002-10-25 Thread Jerry McAllister
 
 and put your reply
 above the quote.  we shouldn't have to scroll through 20 rows of text,
 including the entirety of the original post, just to see your reply. 

You have that one backwards.  Text should flow logically from top to
bottom starting with original post (appropriately trimmed) through 
relevant other responses (again appropriately trimmed) down to the
most recent response.

 cutting out the MSN ad would've been nice, too.

That would be nice.

jerry

 
 - erk
 
  Dear John,
  


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



Copying filesystem(s) to new install

2002-10-25 Thread Jeffrey Yeo
I'm moving an existing FBSD 4.4 server install to a new
HDD, and upgrading to 4.7 at the same time. 

I installed 4.7 on the new drive and had hoped to be able
to mount the old drive while running off the new install.
The plan was to copy the contents of the original
filesystem and easily grab the config files as needed.   

There is a knwn problem with the old drive (DMA mode is
broken, PIO only), and this seems to cause the 4.7 kernel
to panic on startup. Although this concerns me a bit, I've
booted the 4.6 install off the old drive and mounted a
partition from the new drive so I can copy some files over.
For comfort, I thought I'd copy everything from / and /usr
(old drive is 6GB, new is 40GB so there isn't a space
issue). 

What is the best way to copy the files from a running
system? The simplest to me seems to be shutdown all the
daemons I'm running and cp -Rp the / and /usr directory
trees. Is there a better approach?

Thanks in advance,

Jeff



__ 
Post your free ad now! http://personals.yahoo.ca

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



Re: printing from windows xp to lpd without samba

2002-10-25 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2002-10-25 10:07:32 -0700:
 On Fri, 25 Oct 2002, Roman Neuhauser wrote:
  i'm running lpd with -clW switches (windows lpr sends from ports
  1024), and printing from my FreeBSD desktop works just fine:
 
  Oct 25 11:56:12 ishtar lpd[7336]: freepuppy.bellavista.cz requests recvjob lp
  Oct 25 11:56:15 ishtar lpd[7339]: freepuppy.bellavista.cz requests displayq 
short lp
 
  but from windows boxes:
 
  Oct 25 11:56:57 ishtar lpd[7341]: martin.bellavista.cz requests recvjob lp
  Oct 25 11:56:57 ishtar lpd[7341]: Error receiving job from 
martin.bellavista.cz:
  Oct 25 11:56:57 ishtar lpd[7341]: lp: lost connection
 
  roman@ishtar ~ 1001:0  lpq
  Warning: no daemon present
  Rank   Owner  Job  Files Total Size
  1sttkadlec5Test Page 0 bytes
 
 I don't know.  It looks to me as if there may be a permissions problem on
 ishtar.  The Windows machine (martin) *does* try to submit a job, so the
 installation worked ok, and lpd acknowledges the transmission.  However,
 then you get a job error and the file is created with zero bytes - hmm,
 that *doesn't* sound like permssions, actually, you'd expect no spool file
 to be created at all.  lp *is* the actual name of the spool you're
 trying to access, right?

yes. i can print from any windows host that is in
ishtar:/etc/hosts.lpd using lpr -S ishtar -P lp file.

trying to print the test page on the very same printer added to
the very same windows box fails.

 My experience with LPR printing from Windows machines is entirely with
 embedded or standalone print servers, rather than through a Unix host, so
 I've probably reached the end of my usefulness.

you helped me a lot already.
 
  all I get is the lp: lost connection line in the logfile.
  so, what am I doing wrong?
 
 I'd throw a protocol analyzer (tcpdump would do) on there and see what
 the conversation looks like, but that's just me as a network guy.

will do.

thanks!

-- 
If you cc me or take the list(s) out completely I'll most likely
ignore your message.

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



Re: Xfree86 Setup problem continued with changes

2002-10-25 Thread Gary W. Swearingen
Chip Wiegand [EMAIL PROTECTED] writes:

 It's working now, I did have to set the HorizSync and VertRefresh
 info manually. Seems I recall reading something about X not needing
 those anymore after v4.1.0, but maybe not.

My /var/log/XFree86.0.log has this line
(II) RADEON(0): Ranges: V min: 50  V max: 160 Hz, H min: 30  H max: 95 kHz, PixClock 
max 210 MHz
which seems to be related to this nearby prior line
(II) RADEON(0): I2C bus DDC initialized.

Note that the lines have (II), not (**).

I suppose that if your monitor supports the I2C/DDC protocol (AKA PnP?),
then X can get the Ranges as above and use it.  I had hand-entered the
same numbers from the Monitor's spec sheet, so I don't know if it
actually works automatically.


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



Re: Install FreeBSD on a Windows XP box

2002-10-25 Thread Zhihui Zhang
Jerry:

Thanks for your long response. I have downloaded bootitng v1.32 from
http://www.terabyteunlimited.com/ and it works great. It has nice menu.  
The only thing to watch is that I should create a dedicated partition for
bootitng before trying to install it. I also changed the timeout from 0 
to 5. The machine originally has:

MBR entry 031MB Dell Utility
MBR entry 1 all the rest of the disk space HPFS/NTFS

Now it has:

MBR entry 031MBDell Utility
MBR entry 1  7499MBHPFS/NTFS
boot  126MBFAT-32-- BootItNG
FreeBSD 68661MBxBSD

Who said four primary partitions is enough? 

-Zhihui

On Thu, 24 Oct 2002, Jerry McAllister wrote:

  
  
  I have a machine preinstalled with Windows XP and I do not want to remove
  it or reinstall it. Is there a way to install FreeBSD on the free space? I
  do not have Partition Magic. Any free software out there that can
  repartition without reinstallation?  Thanks.
 
 There is a freeware utility that can do this with Microsloth file systems
 up through fat-32 but since it is XP and, probably, an NTFS partition, 
 invest in a partition managing utility.   
 
 I have used Partition Magic successfully and have seen BootItNG recommended.  
 I haven't used BootItNG.  Partition Magic is generally available in stores 
 like Best Buy, etc.  I would guess that BootItNG is also, but it can be 
 had from: http://www.terabyteunlimited.com as well.
 
 Generally you want to squeeze the XP partition down to the front of
 the disk enough to give you what space you want for FreeBSD and have
 it make you an empty parition (called slice in FreeBSD PARLANCE) out 
 of the rest of the space above it.  
 
 Then you install FreeBSD in that empty slice.   
 You will divide that FreeBSD slice up in to the FreeBSD partitions 
 you will use for mountable filesystems and swap space.   Note the 
 difference in use of the term 'partition' between BreeBSD and MS.
 
 Choose to install the full boot manager when you do the FreeBSD
 install or get one of the other popular ones and install it.
 The FreeBSD boot manager will allow you to boot either OS just fine, 
 but it does not know what to call XP on an NTFS system so it just 
 labels it  ??  in the selection menu.   Some of the others are
 prettier and let you play with stuff a little more.
 
 Things to watch:
 Some older BIOSes will not boot stuff if the address is too high -
 around 8GB in most disks.  It has to do with a cylinder counter
 not being large enough to count beyond 1024.   Partition Magic
 warns you of where that point is on the disk when you partition it.
 
 Microsloth seems to like to have an extra partition or some kind of
 space at a high address on the disk that I don't know much about - 
 seems to be some sort of scratch space.  Make sure you don't wipe 
 that out on a fully running system if it is there.  
 
 Some vendors, such as Dell make their own sort of hidden space on
 the disk for their own maintenance utilities.  I think that must be
 treated as a partition (slice) and protected from tinkering.  Someone
 else can probably answer better on this.
 
 If you use Partition Magic and the MS stuff is an NTFS partition, you 
 must first install Partition Magic, then make the two rescue disk
 floppies it tells you about (format two floppies ahead of time)  and 
 finally boot to the floppies and do the partition resizing from there.  
 It doesn't seem to like to do it from the installed version on a running
 system - probably due to the scratch space thing I mention above, but it 
 won't boot the rescue disk without the thing being installed, I guess as 
 some sort of copy protection.
 
 I am guessing that BootItNG has to take care of similar housekeeping
 issues as the NTFS scratch space as well, but don't know how it goes 
 about handling them.
 
 Now, of course, you can just have a complete separate disk for the 
 FreeBSD installation if you like and you have the disk available.
 Then, forget all the Partition Magic or BootItNG stuff.  Just
 make the second disk one big FreeBSD slice, divide it up in to 
 appropriate FreeBSD partitions and then install FreeBSD in that.  
 Still install the boot manager (which will still go in to the 
 sector 0 MBR area of the first disk) so you can choose to boot 
 either OS.
 
 jerry
 
  
  -Zhihui
  
 


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



Using symbolic links in directories for /usr/src and /usr/obj

2002-10-25 Thread David Dooley
Hi,

I am using Freebsd 4.7

Anybody know if there is a way to have the build system use relative paths
that include symbolic links rather than absolute path.

The question has come about, because, I would like to be able to auto mount
my /usr/build file system from my dev box, where everything is compiled, to
the target systems for installation. But using auto mounter the paths are
changed and it would appear the build system uses the absolute paths rather
than the symbolic paths.

I am currently doing static mounts through /etc/fstab of a file system
/usr/build. The /usr/src and /usr/obj directories are symbolically linked
into /usr/build, but as I export /usr/build from my 'dev' box and it is
mounted as /usr/build on the remote systems and the same symbolic links
exist on the remote system all is well as the paths on all the boxes remain
the same. As soon as I try and use the auto mounter to mount the /usr/build
file system the paths on the remote box are now different and the install
fails complaining about not being able to find things as the paths to things
have changed.

Any help would be most appreciated.

David.


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



Help with possible incantation for auto mounter

2002-10-25 Thread David Dooley
Hi,

Does any one know if it is at all possible to use 'amd' to auto mount a file
system locally and then have that file system be auto mount remotely?

I would need to export the real mount point of a file system on box A and
have the file system be mounted at the same mount point on the remote box B

Are their any alternatives to using 'amd' at the moment to doing on deman
mounting of file systems.

David.

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



Re: bad hdd ?

2002-10-25 Thread Kris Kennaway
On Fri, Oct 25, 2002 at 06:38:49AM +0300, Petre Bandac wrote:
 I've just bought it last week ... it's a Western Digital, 80 GB :(

Take it back, it's probably under warranty.

Kris



msg06172/pgp0.pgp
Description: PGP signature


Re: Copying filesystem(s) to new install

2002-10-25 Thread Jerry McAllister
 
 I'm moving an existing FBSD 4.4 server install to a new
 HDD, and upgrading to 4.7 at the same time. 
 
 I installed 4.7 on the new drive and had hoped to be able
 to mount the old drive while running off the new install.
 The plan was to copy the contents of the original
 filesystem and easily grab the config files as needed.   
 
 There is a knwn problem with the old drive (DMA mode is
 broken, PIO only), and this seems to cause the 4.7 kernel
 to panic on startup. Although this concerns me a bit, I've
 booted the 4.6 install off the old drive and mounted a
 partition from the new drive so I can copy some files over.
 For comfort, I thought I'd copy everything from / and /usr
 (old drive is 6GB, new is 40GB so there isn't a space
 issue). 
 
 What is the best way to copy the files from a running
 system? The simplest to me seems to be shutdown all the
 daemons I'm running and cp -Rp the / and /usr directory
 trees. Is there a better approach?

If you have some media or connection to make the transfer, 
probably the best way is with dump and restore.
  dump 0af /media /

  cd /
  restore xf /media

  etc.

jerry

 
 Thanks in advance,
 
 Jeff
 
 
 
 __ 
 Post your free ad now! http://personals.yahoo.ca
 
 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: OpenOffice 1.0.1 core?

2002-10-25 Thread Kris Kennaway
On Fri, Oct 25, 2002 at 10:02:22AM -0700, Joel Mc Graw wrote:
 I downloaded OO 1.0.1 for Linux from OpenOffice.org and ran the setup as
 a normal (non-root) user, which installed it off my home directory.
 Everything appeared to work fine, but when I try to start any of the
 components (soffice, etc), it dumps core.  Yes I have the linuxlator
 working.  Is there anything else I should try?

You have to a) use the port (not try and compile by hand), and b)
first upgrade to -stable, because OO does not work on older systems.

Kris



msg06175/pgp0.pgp
Description: PGP signature


Re: Returned message

2002-10-25 Thread John Bleichert
On Fri, 25 Oct 2002, Paolo wrote:

 Date: Fri, 25 Oct 2002 11:26:51 -0700 (PDT)
 From: Paolo [EMAIL PROTECTED]
 To: Marc Schneiders [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Subject: Re: Returned message
 
 I fully agree with you on spam, and I also fully agree with you on the
 bad customer care practice of interbusiness.
 
 I'll follow up with them, and if you can provide me with some other
 big company blacklisting them too, I can enforce the case.
 
 But it happens that interbusiness in Italy is like AOL, so it's like I
 block all AOL.
 
 About changing ISP, it's very difficult in Italy because interbusiness
 is the Internet provider of Telecom Italia, that's the last mile actual
 monopolist and, to get ADSL connection, we all need to deal with it.
 
 Let's say you are excluding near 50% of italian on-line people. I don't
 know if it's fair.
 
 As my 90% of spam is coming from the USA, I should block all the USA
 mail, don't I?
 
 Regards
 
 Paolo
 

I agree that it's not fair, but it doesn't stop me from dropping messages 
from several countries, either. I've never received anything but spam from 
Uganda, so anything *.ua goes in the circular bit-bucket. It's not fair, 
but it makes my life simpler and my inbox cleaner.

So just use yer yahoo email address. Sorry for the OT post.

#  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: Returned message

2002-10-25 Thread Neill Robins
Friday, October 25, 2002, 2:26:51 PM, you wrote:
 But it happens that interbusiness in Italy is like AOL, so it's like I
 block all AOL.


That's probably not a bad idea!

-Neill


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



Re: Whats the deal?

2002-10-25 Thread Gary W. Swearingen
Bryan Cassidy [EMAIL PROTECTED] writes:

 here is the output from ipfw show
 
 insightbb# ipfw show
 01000 307 64003 allow ip from any to any
 65535   1   367 deny ip from any to any
 
 Sounds like the 'deny ip from any to any' could be the reason why I
 lose connection. Do you think so?

No. I think you got a bum steer.  RTFM.  That ip bit is the same as
all.  Any packet that the filter CAN block (only IP pkts) will be
passed by your rule 01000 and so the final rule will never be used
whether it's drop or pass.

And the counts there show that it has passed 307 pkts.
Your problem seems to lie elsewhere.

You could do from your shell:
ipfw add 100 pass log logamount 1000 all from any to any
to get info on the next 1000 pkgs you pass, but I'm not sure
how that'd help you.

DNS is a frequent culprit.

P.S. Leaving your kernel so rule 65535 is deny is safest from a 
security standpoint because it protects you before the filter 
rules are configured and if they should get deleted, but there
is some chance of limiting you to console access, so people
differ on which default they prefer.

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



Re: Returned message

2002-10-25 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2002-10-25 14:34:35 -0400:
 I've never received anything but spam from Uganda, so anything *.ua
 goes in the circular bit-bucket.

ahem, .ua is Ukraine.

-- 
If you cc me or take the list(s) out completely I'll most likely
ignore your message.

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



Re: Returned message

2002-10-25 Thread Ken McGlothlen
Paolo [EMAIL PROTECTED] writes:

| About changing ISP, it's very difficult in Italy because interbusiness is the
| Internet provider of Telecom Italia, that's the last mile actual monopolist
| and, to get ADSL connection, we all need to deal with it.
| 
| Let's say you are excluding near 50% of italian on-line people. I don't know
| if it's fair.

Unfortunately, there seems to be little other recourse for getting
interbusiness to become a responsible participant in the Internet.  When enough
of its customers start getting upset because interbusiness finds itself on an
increasingly shrinking intranet, they might actually implement and enforce some
policies that would stop the onslaught of spam, and people would start taking
them out of their blocklists.

So let interbusiness know how you feel.  Make sure other interbusiness
customers let them know as well.  Pressure them on this.  Believe me, there's
nothing I'd like better than to remove their entry from my blocklists---I'd far
rather be dealing with a responsible ISP than have to block spam from them.

| As my 90% of spam is coming from the USA, I should block all the USA mail,
| don't I?

Wow.  Really?  90% of my spam comes from South Korea; they may be US crooks
sending the spam, but it's getting routed through insecure South Korean
servers.  Maybe that's the spammer credo:  only spam through other countries.


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



Re: Returned message

2002-10-25 Thread Lowell Gilbert
John Bleichert [EMAIL PROTECTED] writes:

 I agree that it's not fair, but it doesn't stop me from dropping messages 
 from several countries, either. I've never received anything but spam from 
 Uganda, so anything *.ua goes in the circular bit-bucket. It's not fair, 
 but it makes my life simpler and my inbox cleaner.

Wouldn't it make more sense to block mail from Uganda?

Seriously, though; there are several important FreeBSD contributors in
Ukraine (UA), so you might want to fix that typo if it's really in
your blacklist.

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



Re: Returned message

2002-10-25 Thread Paolo

--- Ken McGlothlen [EMAIL PROTECTED] wrote:
 Paolo [EMAIL PROTECTED] writes:
 
 | About changing ISP, it's very difficult in Italy because
 interbusiness is the
 | Internet provider of Telecom Italia, that's the last mile actual
 monopolist
 | and, to get ADSL connection, we all need to deal with it.
 | 
 | Let's say you are excluding near 50% of italian on-line people. I
 don't know
 | if it's fair.
 
 Unfortunately, there seems to be little other recourse for getting
 interbusiness to become a responsible participant in the Internet. 
 When enough
 of its customers start getting upset because interbusiness finds
 itself on an
 increasingly shrinking intranet, they might actually implement and
 enforce some
 policies that would stop the onslaught of spam, and people would
 start taking
 them out of their blocklists.
 
 So let interbusiness know how you feel.  Make sure other
 interbusiness
 customers let them know as well.  Pressure them on this.  Believe me,
 there's
 nothing I'd like better than to remove their entry from my
 blocklists---I'd far
 rather be dealing with a responsible ISP than have to block spam from
 them.
 
 | As my 90% of spam is coming from the USA, I should block all the
 USA mail,
 | don't I?
 
 Wow.  Really?  90% of my spam comes from South Korea; they may be US
 crooks
 sending the spam, but it's getting routed through insecure South
 Korean
 servers.  Maybe that's the spammer credo:  only spam through other
 countries.
 

I agree with you all about spam. I am willing to start a more bigger
action against them. Can I publicy talk about interbusiness being
blocked by FreeBSD site? Can anyone at FreeBSD.org give me the
authorization?

Where can I test if others italian ISP are on blacklists too?

Thanks!

Paolo


__
Do you Yahoo!?
Y! Web Hosting - Let the expert host your web site
http://webhosting.yahoo.com/

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



Configure X on FreeBSD 4.6 on Dell

2002-10-25 Thread Zhihui Zhang

I have a new Dell Dimension 4500 but with an old Dell monitor D1028L. I
have installed FreeBSD 4.6 on it, but I have troubles configuring X
server. I have chosen NVidia 0172 as the card and IntelliMouse as the
mouse (both shown in dmesg).  But I think the biggest problem is the
frequency.  I can not use graphics configurator, it just go blank. I have
to use CTRL+ALT+Backspace to bring back the text mode after each failure.
What is the right monitor type and frequency should I use?

Thanks!

-Zhihui


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



Re: Returned message

2002-10-25 Thread Paolo

--- Lowell Gilbert [EMAIL PROTECTED] wrote:
 John Bleichert [EMAIL PROTECTED] writes:
 
  I agree that it's not fair, but it doesn't stop me from dropping
 messages 
  from several countries, either. I've never received anything but
 spam from 
  Uganda, so anything *.ua goes in the circular bit-bucket. It's not
 fair, 
  but it makes my life simpler and my inbox cleaner.
 
 Wouldn't it make more sense to block mail from Uganda?
 
 Seriously, though; there are several important FreeBSD contributors
 in
 Ukraine (UA), so you might want to fix that typo if it's really in
 your blacklist.

So guys, only countries with important FreeBSD contributors will be in?

Seriously, we can't fight spam blocking e-mails coming from specific
domains, or we end-up with everything blocked.

Let's attack ISPs. Here in Italy I can prosecute spammers as a new law
is in place from some months ago.

So far I've no more evidence of spam coming from Italian ISP.

Please give me evidence and I'll prosecute interbusiness or whatever
else

- Paolo

__
Do you Yahoo!?
Y! Web Hosting - Let the expert host your web site
http://webhosting.yahoo.com/

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



Re: backspace and del keys

2002-10-25 Thread Giorgos Keramidas
On 2002-10-25 09:48, Michael Morris [EMAIL PROTECTED] wrote:
  erase seems to be set to ^H.  When you run cat(1) and press DEL what
  does your terminal show?  My cons25 terminal shows:
 
  keramida@hades[19:34]/home/keramida$ cat
  ^?

 Mine shows ^[[3~

That's an xterm, I suppose.  Looks fine, in that case.

  Are you resetting any of erase or erase2 in your shell startup files
  with stty?

 There is a statement in the /etc/bashrc file:
 stty erase `tput kbs`

Hmmm.  Why? Try commenting out that .bashrc part.  What is `kbs'
supposed to be anyway?  The termcap(5) manpage doesn't mention a kbs
capability.

Giorgos.

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



usb flashcard reader/writer

2002-10-25 Thread Bart Smit

Hi,

New USB peripheral doesn't work immediately. Probably my ignorance, but I
don't know where to look.

It's a SanDisk ImageMate (model SDDR-75) dual card reader for CF and SM
cards. Is detected properly by my recent (Oct 15) RELENG_4 system:

da1 at umass-sim0 bus 0 target 0 lun 0
da1: SanDisk ImageMate CF-SM 0100 Removable Direct Access SCSI-0 device
da1: 650KB/s transfers
da1: Attempt to query device size failed: NOT READY, Medium not present

Last line makes sense since at that point no cards are inserted. My
problem is that I don't understand how to refer to any flash cards that I
insert. Somehow da1 should harbor 2 separate mass storage devices (on
different LUN's perhaps?) but for starters I don't see anything happen at
all when I insert or remove cards. I tried to rescan and look at the scsi
bus with camcontrol. How is this supposed to work, if at all?

I have a USB flash drive that can simply be seen on /dev/da1c but this
dual card beast obviously has te be different. But how?

--B


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



Re: Install FreeBSD on a Windows XP box

2002-10-25 Thread Jud


-Original Message-
From: Zhihui Zhang [EMAIL PROTECTED]
To: Jerry McAllister [EMAIL PROTECTED]
Date: Fri, 25 Oct 2002 14:22:23 -0400 (EDT)
Subject: Re: Install FreeBSD on a Windows XP box

Jerry:

Thanks for your long response. I have downloaded bootitng v1.32 from
http://www.terabyteunlimited.com/ and it works great. It has nice menu.  
The only thing to watch is that I should create a dedicated partition for
bootitng before trying to install it. I also changed the timeout from 0 
to 5. The machine originally has:

MBR entry 031MB Dell Utility
MBR entry 1 all the rest of the disk space HPFS/NTFS

Now it has:

MBR entry 031MBDell Utility
MBR entry 1  7499MBHPFS/NTFS
boot  126MBFAT-32-- BootItNG
FreeBSD 68661MBxBSD

Who said four primary partitions is enough? 

-Zhihui
[snip]

*
*

Hi, Zhihui.  If you care to make the BootItNG
partition smaller (though it looks as if you have
plenty of space), you can uninstall it, resize your
partition(s) to cover the newly opened space, and
reinstall BootItNG.  You don't have to create a
dedicated partition for it.  It will create its
own 8mb FAT partition if installed to a drive
without one.

I had actually mentioned this in a previous reply
that unfortunately (likely due to mailer error) never
made it to you and the list.

Jud


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



Re: Returned message

2002-10-25 Thread Lowell Gilbert
Paolo [EMAIL PROTECTED] writes:

 So guys, only countries with important FreeBSD contributors will be in?

a) That is *not* what I said.

b) in what?  Individual members of the mailing list can block
   whatever they want, and nothing you or I or FreeBSD.org do can
   change that.  The comment we're responding to was about *one*
   person who said he was blocking Interbusiness -- it's not as though
   it was the whole list.  

 Seriously, we can't fight spam blocking e-mails coming from specific
 domains, or we end-up with everything blocked.

I agree in principle, but this battle is already lost.

 Let's attack ISPs. Here in Italy I can prosecute spammers as a new law
 is in place from some months ago.
 
 So far I've no more evidence of spam coming from Italian ISP.
 
 Please give me evidence and I'll prosecute interbusiness or whatever
 else

That's a good idea, and (I suspect) more fruitful in the long run than
running blacklists, but it won't solve your immediate problem.  At
least, not in the short run.  

Meanwhile, before you get yourself further puffed up in righteous
indignation, remember that it's still speculation whether domain
blacklists have anything to do with your messages getting bounced.
There are many other possibilities.

Meanwhile, this is now off-topic for freebsd-questions, and should
move to -chat.

Be well.
Lowell Gilbert

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



Re: Problem with X-fonts

2002-10-25 Thread Jeff Penn
On Fri, Oct 25, 2002 at 07:25:37PM +0200, Pascal Giannakakis wrote:
 i installed all font-ports in /usr/ports/x11-fonts for XFree86-4. Now all
 fonts look crippled in KDE. What is the reason, and what ports should i
 (de)install, to get smooth fonts in all apps and in all sizes? The system
 should be usable for DTP.

I have recently been messing around with fonts, but am no expert.

Take at xfree86.org's documents.  There's a one entitled 'fonts in 
xfree86'.  It recommends ordering your font paths in XF86Config-4 with 
scalable fonts before bitmap fonts.  Xfree86 may perform 2 passes to 
match a font name.  The first for an exact match, the second for a 
best match.  Re-ordering you font paths will influence the font 
selected.  

Jeff

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



Re: Returned message

2002-10-25 Thread Paolo

--- Lowell Gilbert [EMAIL PROTECTED] wrote:
 Paolo [EMAIL PROTECTED] writes:
 
  So guys, only countries with important FreeBSD contributors will be
 in?
 
 a) That is *not* what I said.
 
 b) in what?  Individual members of the mailing list can block
whatever they want, and nothing you or I or FreeBSD.org do can
change that.  The comment we're responding to was about *one*
person who said he was blocking Interbusiness -- it's not as
 though
it was the whole list.  
 
  Seriously, we can't fight spam blocking e-mails coming from
 specific
  domains, or we end-up with everything blocked.
 
 I agree in principle, but this battle is already lost.
 
  Let's attack ISPs. Here in Italy I can prosecute spammers as a new
 law
  is in place from some months ago.
  
  So far I've no more evidence of spam coming from Italian ISP.
  
  Please give me evidence and I'll prosecute interbusiness or
 whatever
  else
 
 That's a good idea, and (I suspect) more fruitful in the long run
 than
 running blacklists, but it won't solve your immediate problem.  At
 least, not in the short run.  
 
 Meanwhile, before you get yourself further puffed up in righteous
 indignation, remember that it's still speculation whether domain
 blacklists have anything to do with your messages getting bounced.
 There are many other possibilities.
 
 Meanwhile, this is now off-topic for freebsd-questions, and should
 move to -chat.
 
 Be well.
 Lowell Gilbert

Ok, this is my last e-mail.

This is the message I got, and I guess it has something to do with
blacklists.

Bye

[EMAIL PROTECTED]: host mx1.freebsd.org[216.136.204.125]
said: 554
host215-48.pool80117.interbusiness.it[80.117.48.215]: Client host
rejected: Access denied


__
Do you Yahoo!?
Y! Web Hosting - Let the expert host your web site
http://webhosting.yahoo.com/

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



Re: Install FreeBSD on a Windows XP box

2002-10-25 Thread Zhihui Zhang
 
 -Original Message-
 From: Zhihui Zhang [EMAIL PROTECTED]
 To: Jerry McAllister [EMAIL PROTECTED]
 Date: Fri, 25 Oct 2002 14:22:23 -0400 (EDT)
 Subject: Re: Install FreeBSD on a Windows XP box
 
 Jerry:
 
 Hi, Zhihui.  If you care to make the BootItNG
 partition smaller (though it looks as if you have
 plenty of space), you can uninstall it, resize your
 partition(s) to cover the newly opened space, and
 reinstall BootItNG.  You don't have to create a
 dedicated partition for it.  It will create its
 own 8mb FAT partition if installed to a drive
 without one.

I tried to let it create its own partition, but failed. I can probably
make the partition smaller if I use FAT16 instead of FAT32, which requires
some minimum space per partition.

-Zhihui


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



Re: Install FreeBSD on a Windows XP box

2002-10-25 Thread Gary W. Swearingen
Zhihui Zhang [EMAIL PROTECTED] writes:

 Who said four primary partitions is enough? 

I suppose that it was the people who came up with the Extended Partition
scheme who probably can't understand why so much software still doesn't
support the scheme since it's so simple.

Linux sorta supports it; at least you can install into secondary
partitions.  It would be better to also allow installation of slices
into secondary partitions, producing tertiary partitions.

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



Re: Whither Mozilla ?

2002-10-25 Thread Robin Damm
On Fri, Oct 25, 2002 at 11:48:29AM -0700, Ronald F. Guilmette wrote:
 
 
 Could someone please answer the following questions for me?
 
 #2)  Is there anyplace where I might be able to download a working
  binary of a reasonably recent release of Mozilla that would run
  OK on a FreeBSD 4.3 system?  (I don't have time to upgrade this
  box to a newer FreeBSD rev just now.  To0 many other things going
  on.)

FreeBSD binaries of mozilla 1.0 and 1.1 are available at
ftp://ftp.mozilla.org/pub/mozilla/releases/. I don't know if these
will run under 4.3. 
 
 
 #3)  In lieu of #2, is there anyplace where I could download sources
  for a reasonable recent (and reasonably stable) version of Mozilla
  that I could build (without having to spend a full day futzing with
  it) on FreeBSD 4.3?

I assume you have tried /usr/ports/www/mozilla. You may also want to check
out /usr/ports/www/linux-mozilla which will run the linux binary via
emulation.

Building mozilla from source is going to take as long as a buildworld 
so it might make sense to just upgrade your system.

 #4)  Is it just me or is Mozilla (and also Netscape) remarkably unstable
  and prone to frequent total crashes on _any_ flavor of UNIX?  (Even
  though I have both FreeBSD and Linux boxes here, there are still
  sites that I simply cannot see... at least not without the broswer
  up and crashing on me... unless I power up my Windoze box and look
  at them with IE.  Yecch.  WHAT AM I DOING WRONG?  This is REALLY
  aggravating, and I can't believe that other people would put up
  with such shoddy untestedness in such a basic Internet tool.)

No problems here aside from the occasional designed for IE site. 
I don't think I've seen a total crash since the .9x releases.
 
NN4 on the other hand... thank $DEITY for mozilla. 

-- 
Robin Damm [EMAIL PROTECTED]

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



Re: Returned message

2002-10-25 Thread Marc Schneiders
On Fri, 25 Oct 2002, at 13:06 [=GMT-0700], Paolo wrote:

 Seriously, we can't fight spam blocking e-mails coming from specific
 domains, or we end-up with everything blocked.

Most if not all spam blocking is by IP numbers, not domains where the
email addresses are in, as these are usually fake in spam. If the
reverse dns is working (which it is often not for spam hosts), you
can, if I am not mistaken, block them by the domains that show up from
a reverse lookup by listing these in /etc/mail/access.

 Let's attack ISPs. Here in Italy I can prosecute spammers as a new law
 is in place from some months ago.

 So far I've no more evidence of spam coming from Italian ISP.

I don't think this approach will work. Nobody has time to prove in
great detail why they block certain IP numbers or whole ranges of
them. It would mean keeping emails to abuse@ and the auto replies
received, plus the spam messages to show that it did not help to
complain. One would have to set up a database. Dealing with spam
wastes already enough time.

It may sound unfriendly (isn't meant that way though): Nobody is
obliged to accept your mail. If you wear the wrong clothes, some
people or groups will not talk to you. The same is true for email, if
you use the wrong ISP. Whether the other side is right or wrong in
rejecting you personally, is an interesting point to battle, but it
won't help you, unless you have time to convince each and everyone to
unblock your ISP. Easier to change to another ISP. Which has the
advance benefit of reducing the business of those that allow spam.

 Please give me evidence and I'll prosecute interbusiness or whatever
 else

The problem is, you will probably not find the people guilty of the
spam. And even before your court case starts, hundreds of new
spammers using the same ISP will have filled your inbox with spam.

Have a look at http://ordb.org. You can search there also whether an
IP is on other black lists than theirs. And let your ISP know what
you've found. And tell him you cannot send email to lots of people,
because he has no decent abuse policy and/or handling.


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



vpopmail trafic

2002-10-25 Thread master
hi , is it possible to limit the incoming and outcoming mail trafic with
vpopmail ?


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



Re: RESEND: configure scripts failing in ports looking for libXext

2002-10-25 Thread Kent Stewart


Michael E Mercer wrote:

Sorry if this is a repeat, got a response that this email was not allowed...
I subscribed to freebsd-questions and now resent this...

later
Michael


Hello,

Has anyone came across this error and know how to fix it?


It always occured on my machines when I mixed bag kde-3 and XFree86. 
If you are upgrading from major levels, it works better if you remove 
them first and then upgrade. Kde-3 doesn't work with XFree86-3.x.x. It 
is just the initial install where this happens. I think XFree86-4 
stores stuff in different areas. For example, you need to rename 
/etc/XF86Config to something else and then configure version 4.

Kent


Thanks
Michael Mercer

the ports are ksetispy, ksetiwatch, and uml.

They all complain about not finding libXext.

It is found in /usr/X11R6/lib directory.
root on dual(ttyp5), 2002/10/24 Thu 14:55:32
/usr/ports


ls -l /usr/X11R6/lib/libXext*


-rw-r--r--  1 root  wheel  72204 Oct 22 09:33 /usr/X11R6/lib/libXext.a
lrwxr-xr-x  1 root  wheel 12 Oct 22 09:33 /usr/X11R6/lib/libXext.so@ -
libXext.so.6
-rwxr-xr-x  1 root  wheel  62684 Oct 22 09:33 /usr/X11R6/lib/libXext.so.6*


output from configure...
+

root on dual(ttyp3), 2002/10/24 Thu 14:53:40
/usr/ports/devel/uml


make


===  Configuring for uml-1.0.3
/bin/mkdir -p /usr/ports/devel/uml/work/uml-1.0.3/auto-bin
/bin/ln -sf /usr/local/bin/autoconf213
/usr/ports/devel/uml/work/uml-1.0.3/auto-bin/autoconf
/bin/ln -sf /usr/local/bin/autoheader213
/usr/ports/devel/uml/work/uml-1.0.3/auto-bin/autoheader
/bin/ln -sf /usr/local/bin/automake14
/usr/ports/devel/uml/work/uml-1.0.3/auto-bin/automake
/bin/ln -sf /usr/local/bin/aclocal14
/usr/ports/devel/uml/work/uml-1.0.3/auto-bin/aclocal
cd /usr/ports/devel/uml/work/uml-1.0.3  env
PATH=/usr/ports/devel/uml/work/uml-1.0.3/auto-bin:$PATH  gmake -f Makefile.dist
This Makefile is only for the CVS repository
This will be deleted before making the distribution

*** Creating acinclude.m4
!!! If you get recursion errors from autoconf, it is advisable to set the
environment variable M4 to something including --nesting-limit=500
*** Creating list of subdirectories
*** Creating configure.in
*** Creating aclocal.m4
*** Creating configure
*** Creating config.h template
*** Creating Makefile templates
*** Postprocessing Makefile templates
*** Creating date/time stamp
*** Finished
Don't forget to run ./configure
If you haven't done so in a while, run ./configure --help
loading cache ./config.cache
checking host system type... i386-portbld-freebsd4.7
checking target system type... i386-portbld-freebsd4.7
checking build system type... i386-portbld-freebsd4.7
checking for a BSD compatible install... /usr/bin/install -c -o root -g wheel
checking whether build environment is sane... yes
checking whether gmake sets ${MAKE}... (cached) yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for gcc... (cached) cc
checking whether the C compiler (cc  -O -pipe -w  ) works... yes
checking whether the C compiler (cc  -O -pipe -w  ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether cc accepts -g... (cached) yes
checking for c++... (cached) c++
checking whether the C++ compiler (c++   -O -pipe -w  ) works... yes
checking whether the C++ compiler (c++   -O -pipe -w  ) is a cross-compiler...
no
checking whether we are using GNU C++... (cached) yes
checking whether c++ accepts -g... (cached) yes
checking whether c++ supports -fno-exceptions... (cached) yes
checking whether c++ supports -fno-check-new... (cached) yes
checking whether c++ supports -fexceptions... (cached) yes
checking how to run the C++ preprocessor... (cached) c++ -E
checking whether c++ supports -frepo... (cached) yes
checking for ld used by GCC... (cached) /usr/libexec/elf/ld
checking if the linker (/usr/libexec/elf/ld) is GNU ld... (cached) yes
checking for /usr/libexec/elf/ld option to reload object files... (cached) -r
checking for BSD-compatible nm... (cached) /usr/bin/nm -B
checking whether ln -s works... (cached) yes
checking how to recognise dependant libraries... (cached) pass_all
checking for ranlib... (cached) ranlib
checking for strip... (cached) strip
checking for Cygwin environment... (cached) no
checking for mingw32 environment... (cached) no
updating cache ./config.cache
loading cache ./config.cache within ltconfig
checking whether -lc should be explicitly linked in... (cached) no
checking for objdir... .libs
checking for cc option to produce PIC...  -fPIC -DPIC
checking if cc PIC flag  -fPIC -DPIC works... (cached) yes
checking if cc static flag -static works... (cached) yes
finding the maximum length of command line arguments... (cached) 36865
checking if cc supports -c -o file.o... (cached) yes
checking if cc supports 

Re: RESEND: configure scripts failing in ports looking for libXext

2002-10-25 Thread Michael E Mercer
Kent,

Thanks for that info however I completely removes all ports on this last upgrade.
I cvsup'd all source and ports...
I have been running KDE3 and XFree86-4 for a very long time now with no problems.
This problem here just started 2 days ago when I rebuilt everything.

Any more suggestions?

Thanks
Michael Mercer

Kent Stewart wrote:

 Michael E Mercer wrote:
  Sorry if this is a repeat, got a response that this email was not allowed...
  I subscribed to freebsd-questions and now resent this...
 
  later
  Michael
 
 
  Hello,
 
  Has anyone came across this error and know how to fix it?

 It always occured on my machines when I mixed bag kde-3 and XFree86.
 If you are upgrading from major levels, it works better if you remove
 them first and then upgrade. Kde-3 doesn't work with XFree86-3.x.x. It
 is just the initial install where this happens. I think XFree86-4
 stores stuff in different areas. For example, you need to rename
 /etc/XF86Config to something else and then configure version 4.

 Kent



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



Re: backspace and del keys

2002-10-25 Thread Gary W. Swearingen
Michael Morris [EMAIL PROTECTED] writes:

 When I run tput kbs, nothing is displayed.

When I run
echo 123$(tput kbs)456
I get
12456
apparently because tput kbs puts out some kind of backspace to
the shell.

I suspect that you need to read your shell's discussions of command line
processing.  Run bind (a shell built-in) and grep it's output for
del and back.  You should ensure that you've got your shell using
Emacs-style line editing.


Better yet, use the Control-D key for delete (the Emacs-style default)
and redefine the Delete keys for things you need less often.  :-)

Note that the key interpretation can be changed in an application (eg,
your shell), xterm X resources, termcap (?), your window manager config,
and in the X key config (in increasing precedence, I hope).

To take full advantage of your Internet/multimedia keyboard, you might
want to look into:
/usr/X11R6/lib/X11/xkb/
/usr/X11R6/man/man1/*xkb*
http://www.tsu.ru/~pascal/en/xkb/
Poor English, but sometimes better than official docs.
http://www.charvolant.org/~doug/xkb/
An Unreliable Guide to XKB Configuration

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



Re: backspace and del keys

2002-10-25 Thread Michael Morris
Figured it out for xterms.  Readline(3) uses an initialization file
.inputrc to customize commands.  There was no inputrc file in the system
si I added one in etc and set INPUTRC=/etc/inputrc in the /etc/bashrc
file.  I actually took the file from my Linux system but is has the
following line.

\e[3~: delete-char

This works fine in X but does not change the virtual consoles.  That is
not a problem because I rarely use them.

The best thing about it is that I have learned quite a bit during this
little exercise.  You assistance is greatly appreciated.

On Fri, 2002-10-25 at 15:18, Gary W. Swearingen wrote:
 Michael Morris [EMAIL PROTECTED] writes:
 
  When I run tput kbs, nothing is displayed.
 
 When I run
 echo 123$(tput kbs)456
 I get
 12456
 apparently because tput kbs puts out some kind of backspace to
 the shell.

Yes, tput kbs returns the Backspace key for that terminal definition in
termcap.
 
 I suspect that you need to read your shell's discussions of command line
 processing.  Run bind (a shell built-in) and grep it's output for
 del and back.  You should ensure that you've got your shell using
 Emacs-style line editing.
 
 
 Better yet, use the Control-D key for delete (the Emacs-style default)
 and redefine the Delete keys for things you need less often.  :-)
 
 Note that the key interpretation can be changed in an application (eg,
 your shell), xterm X resources, termcap (?), your window manager config,
 and in the X key config (in increasing precedence, I hope).
 

I will work with bind and learn more about it.  It will come in handy
later.

 To take full advantage of your Internet/multimedia keyboard, you might
 want to look into:
 /usr/X11R6/lib/X11/xkb/
 /usr/X11R6/man/man1/*xkb*
 http://www.tsu.ru/~pascal/en/xkb/
 Poor English, but sometimes better than official docs.
 http://www.charvolant.org/~doug/xkb/
 An Unreliable Guide to XKB Configuration
 

Cool, thanks.  I ran across some of those last night and made a note to
revisit it later.  Could be another useful bit of knowledge.




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



Re: How to chmod on FAT32 partition?

2002-10-25 Thread C J Michaels
Some time in the recent past David Gerard scribbled:

 OK, got disk up. (Problem was I didn't know its make. ad3s1 eventually
 worked.)

 Now it seems I can't make it writable by anyone but root:

 diva# ls -l viv.html
 -rwxr-xr-x  1 root  wheel  1987 Jul  4 05:21 viv.html
 diva# chmod g+w viv.html
 diva# ls -l viv.html
 -rwxr-xr-x  1 root  wheel  1987 Jul  4 05:21 viv.html
 diva# chmod a+w viv.html
 diva# ls -l viv.html
 -rwxr-xr-x  1 root  wheel  1987 Jul  4 05:21 viv.html

 Same for any files. Is this some sort of FAT32 limitation? Is this
 documented anywhere?

I know it's documented somewhere but I'm too lazy to look right now.  I
know for a fact if you search the archives you'll find more detail.

The short answer is that FAT32 has no concept of permissions there's not
way to 'change them' on a per file/dir basis.  When you mount a FAT{32}
partition it'll inherrit the permissions of the mount point.  So
chown/chmod that directory and re-mount.


 - d.


-- 
Chris



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



Yahoo Messenger problem

2002-10-25 Thread Rotaru Razvan
Hello,

On FreeBSD 4.7 I installed Yahoo Messenger (both ways: pkg_add and
ports) and things don't work at all. Here is the error message I get:

/usr/libexec/ld-elf.so.1: Shared object libintl.so.2 not found

Thanks
Razvan

__
Do you Yahoo!?
Y! Web Hosting - Let the expert host your web site
http://webhosting.yahoo.com/

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



regarding fat32 logical partition

2002-10-25 Thread Rotaru Razvan
Hello,

How can I make my fat32 logical partitions (inside an extended one)
visible from FreeBSD. At the moment I can mount only the primary
partition (or at least the installer can see only the primary partition
and I  have no idea how the logical ones are named)

Thanks (again) :)
Razvan

__
Do you Yahoo!?
Y! Web Hosting - Let the expert host your web site
http://webhosting.yahoo.com/

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



Re: backspace and del keys

2002-10-25 Thread Giorgos Keramidas
On 2002-10-25 15:20, Michael Morris [EMAIL PROTECTED] wrote:
 On Fri, 2002-10-25 at 15:18, Gary W. Swearingen wrote:
  Michael Morris [EMAIL PROTECTED] writes:
 
   When I run tput kbs, nothing is displayed.
 
  When I run
  echo 123$(tput kbs)456
  I get
  12456
  apparently because tput kbs puts out some kind of backspace to
  the shell.

 Yes, tput kbs returns the Backspace key for that terminal definition in
 termcap.

Apparently not.  In my screen(1) window, I can see with stty -a that
erase is set to ^H.  My backspace key sends ^H and works fine as a
``backspace''.  The delete key sends ^[[3~.  The tput commands only
prints an ASCII 127 (DEL) character:

keramida@hades[02:07]/home/keramida$ tput kbs | hd
  7f|.|
0001

I'm not sure if that's correct, or a bug.  But it certainly won't
match your backspace key.  At worst, it will match your keyboard's
DEL key, and will create the impression that backspace and DEL keys
work backwards.

Giorgos.

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



Re: Install FreeBSD on a Windows XP box

2002-10-25 Thread Jud
On Fri, 25 Oct 2002 16:47:52 -0400 (EDT), Zhihui Zhang [EMAIL PROTECTED] 
wrote:

-Original Message-
From: Zhihui Zhang [EMAIL PROTECTED]
To: Jerry McAllister [EMAIL PROTECTED]
Date: Fri, 25 Oct 2002 14:22:23 -0400 (EDT)
Subject: Re: Install FreeBSD on a Windows XP box
Jerry:
Hi, Zhihui.  If you care to make the BootItNG
partition smaller (though it looks as if you have
plenty of space), you can uninstall it, resize your
partition(s) to cover the newly opened space, and
reinstall BootItNG.  You don't have to create a
dedicated partition for it.  It will create its
own 8mb FAT partition if installed to a drive
without one.


I tried to let it create its own partition, but failed. I can probably
make the partition smaller if I use FAT16 instead of FAT32, which 
requires
some minimum space per partition.

-Zhihui

Now that I think about it a bit more, perhaps I'm wrong about that.  I 
think I had a FAT32 disk and asked BING to install itself on an NTFS/FBSD 
RAID volume using two other disks.  It took up only 8mb on the RAID volume, 
but that was likely just the boot stuff - the rest of the files went to the 
FAT disk, probably.

One other thing from the message that vanished into the aether, and the 
reason I'm not using BING as my bootloader any more - adding Linux to the 
boot menu is not automagic, it involves a fair amount (15-30 minutes) of 
fiddling.  Why FBSD is 2 seconds and automatic, while Linux is not, you'll 
have to ask BING's author.  (You can, there's a mailing list.)
--
Jud

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


Re: Yahoo Messenger problem

2002-10-25 Thread Mike Hogsett

Try reinstalling gnu gettext /usr/ports/devel/gettext
( I think that provides libintl.so.2 )

 Hello,
 
 On FreeBSD 4.7 I installed Yahoo Messenger (both ways: pkg_add and
 ports) and things don't work at all. Here is the error message I get:
 
 /usr/libexec/ld-elf.so.1: Shared object libintl.so.2 not found
 
 Thanks
 Razvan
 
 __
 Do you Yahoo!?
 Y! Web Hosting - Let the expert host your web site
 http://webhosting.yahoo.com/
 
 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



  1   2   >