vinum mirror

2002-12-26 Thread Roman Neuhauser
I'm trying to setup a mirrored volume, but haven't gotten too far.

A freshly installed 4.7-RELEASE, with
ad0s1{a,b,e} - /, swap, /usr
da{0,1}s1{b,e} - swap, future-mirrored-var

right now, I have /var on da0s1e, the goal is to have it mirrorred on
da1s1e. I've read www.vinumvm.org/vinum/fullintro.html (a bit over my
head), and am trying to go along /usr/share/doc/articles/vinum/.

 boot -s
# ^J
# cd /root
# disklabel -R da0s1 dl.da0s1
# disklabel -R da1s1 dl.da1s1
# fsck -p /
# mount -u /
# vinum create mirror.a
# fsck -p /
# mount -u /
# vinum create mirror.a
vinum loaded
vinum drive a is up
vinum mirror.p0 is up
vinum mirror is up
1 drives:
D aState: upDevice /dev/da0s1e  Avail: 34047/34047 MB 
(100%)

1 volumes:
V mirror   State: upPlexes:   1 Size: 33 GB

1 plexes:
P mirror.p0  C State: upSubdisks: 0 Size: 33 GB

1 subdisks:
S mirror.p0.s0 State: upPO:0  B Size: 33 GB
# fsck -n /dev/vinum/mirror
** /dev/vinum/mirror (NO WRITE)
BAD SUPER BLOCK: MAGIC NUMBER WRONG
/dev/vinum/mirror: CANNOT FIGURE OUT FILE SYSTEM PARTITION

diff -u dl.da0s1.orig dl.da0s1
--- dl.da0s1.orig   Thu Dec 26 06:44:15 2002
+++ dl.da0s1Thu Dec 26 07:23:13 2002
@@ -19,6 +19,6 @@
 
 8 partitions:
 #size   offsetfstype   [fsize bsize bps/cpg]
-  b:  20974080  swap   # (Cyl.0 - 130*)
+  b:  20971430  swap   # (Cyl.0 - 130*)
   c: 718265520unused0 0# (Cyl.0 - 4470*)
-  e: 69729144  20974084.2BSD 2048 1638489  # (Cyl.  130*- 4470*)
+  e: 69729409  2097143 vinum 2048 1638489  # (Cyl.  130*- 4470*)


What's up, what have I done wrong?

-- 
If you cc me or remove the list(s) completely I'll most likely ignore
your message.see http://www.eyrie.org./~eagle/faqs/questions.html

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



[no subject]

2002-12-26 Thread Barry Lew
auth 7052898f subscribe freebsd-questions
[EMAIL PROTECTED]


__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

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



Re: 3c589/PCMCIA.

2002-12-26 Thread Marcel Stangenberger
On Thu, 26 Dec 2002, lewiz wrote:

 Hi,

   I've just got hold of a laptop for Christmas.  It has a PCMCIA network
 card - a 3COM EtherLink III 3C589.  I am way out of date and still have
 Coax running around my house, so it needs to be using the 10Base2 not
 10BaseT.

   My problem is, the card is detected as ep0 yet I have a feeling that
 it might be better as zp0.  I am not certain about this.

   The problem is - while it gets detected, quite well, I think.  I can
 see lights change on the NIC as it detects it, which suggests the
 probing is working fine.  It doesn't actually communicate with the
 netwrok.  When I try and resolve my address via DHCP it doesn't flash or
 anything.  Maybe I'm missing something.  I can provide any information
 required.

   Any help would be much appreciated,


i have almost the same problem with my 3Com 3C589 card.
The light is not suppossed to blink tho, when i boot windows the light
simply burns to indicate link and that is al it does. When i boot freebsd
the light goes on and it does recieve a DHCP link. But after that all
network communication fails. If not yet found a solution to it. But i was
thinking that it might be because the pcmcia-controller from toshiba
(laptop is a tecra 700CT) is not supported?

Marcel


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



Re: Video card with TV OUT

2002-12-26 Thread Thomas Spreng
Hi,

On Wed, Dec 25, 2002 at 12:25:49PM -0500, Alvaro Gil wrote:
 Can anyone recommend a video card with TV out that can be used with 
 FreeBSD.  I would like the TV to be the only monitor connected.  Also 
 it should do 800X600.
 
 Anything out there that works like I want it to?  Its for a MP3/DVD 
 player project that will be connected to a TV and use a wireless 
 keyboard, so it is very important that the TV port be the only active 
 monitor at startup.  Thanks.
 -- 
 
if you want to use x11 over tv out then dont buy a ati card. It is not 
supported yet.

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



Re: make iso.1 bootable image problem

2002-12-26 Thread Happy Clown
+++ Happy Clown [freebsd] [24/12/02 00:33 +]:
| Then
|   chroot /usr/release
|   cd /usr/src/release
|   make iso.1
|
| This also went through ok.
|
| My problem is... the ISO images created don't appear to be bootable. At
| least they're not recognised as such by the burning software I'm using
| (Nero... OK, I'm burning them on a windows machine :-/ that's where the
| burner is).
|
| Am I missing any options with the make iso.1 command or any other steps 
to
| make these ISO images bootable? Any helpful suggestions from anyone?
|

	What do you mean by don't appear to be bootable?
Did you burn it and then found out that its not bootable?
After going through /usr/src/release/Makefile, I realize
that the image created is bootable. Why don't you burn it
and test?

Regards,
Shantanu

--
Everyone is a genius.  It's just that
some people are too stupid to realize it.


OK... bit more explanation. Under Nero... the 4.7 downloadable ISO appears 
as Joliet (bootable) but an image I create using Make Release appears as 
Joliet and once burnt I cannot boot from that CD.

I know I can easily get round this booting from the created floppy instead 
but that seems kind of defeatist. I'd like to know what's going on with more 
accuracy and can't find anything extra about Make iso.1 under man or 
www.freebsd.org

I'm the first to admit I could be misusing the windows burning software but 
it seems to happily recognise bootable  non-bootable images appropriately.

Ta,
Phil.

_
STOP MORE SPAM with the new MSN 8 and get 3 months FREE*. 
http://join.msn.com/?page=features/junkmailxAPID=42PS=47575PI=7324DI=7474SU= 
http://www.hotmail.msn.com/cgi-bin/getmsgHL=1216hotmailtaglines_stopmorespam_3mf


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


Re: vinum mirror

2002-12-26 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2002-12-26 08:56:51 +0100:
 I'm trying to setup a mirrored volume, but haven't gotten too far.
 
 A freshly installed 4.7-RELEASE, with
 ad0s1{a,b,e} - /, swap, /usr
 da{0,1}s1{b,e} - swap, future-mirrored-var
 
 right now, I have /var on da0s1e, the goal is to have it mirrorred on
 da1s1e. I've read www.vinumvm.org/vinum/fullintro.html (a bit over my
 head), and am trying to go along /usr/share/doc/articles/vinum/.

...

 # fsck -n /dev/vinum/mirror
 ** /dev/vinum/mirror (NO WRITE)
 BAD SUPER BLOCK: MAGIC NUMBER WRONG
 /dev/vinum/mirror: CANNOT FIGURE OUT FILE SYSTEM PARTITION

got past that: the bootstrapping vinum article doesn't mention
that disklabel output is in sectors while vinum defaults to bytes;
and I didn't notice this for some reason.

got it going now.

oh, BTW, if you read this, Greg, I got panic with these two config
files (drive a in both):

mirror.a:
drive a device /dev/da0s1e
volume mirror
  plex name mirror.p0 org concat volume mirror
sd name mirror.p0.s0 drive a plex mirror.p0 len 69729144s driveoffset 265s

mirror.b:
drive b device /dev/da1s1e
  plex name mirror.p1 org concat volume mirror
sd name mirror.p1.s0 drive a plex mirror.p1 len 69729144s driveoffset 265s

-- 
If you cc me or remove the list(s) completely I'll most likely ignore
your message.see http://www.eyrie.org./~eagle/faqs/questions.html

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



isdn troubles

2002-12-26 Thread Vyacheslav S. Prilipko
I`ve just istalled 4.7 with Fritz 2 PCI internal Card and configure to use
isdnd with isp0
I cant establish Internet connection with my provider under freebsd :(

When I try to bring up isp0 interface I get this:

Dec 23 15:29:42 server isdnd[310]: DMN i4b isdn daemon started (pid = 310)
Dec 23 15:29:43 server /kernel: i4b-L1 ifpi2_ph_data_req: No Space in TX
FIFO, state = F4 Awaiting Signal
Dec 23 15:29:45 server /kernel: i4b-L1 timer3_expired: state = F4 Awaiting
Signal
Dec 23 15:29:45 server /kernel: ifpi2_recover 0
Dec 23 15:29:45 server /kernel: i4b-L2 i4b_T202_timeout: unit 0, N202 = 3
Dec 23 15:29:45 server /kernel: i4b-L1 ifpi2_ph_data_req: still in state F3!
Dec 23 15:29:45 server /kernel: i4b-L1 ifpi2_ph_data_req: No Space in TX
FIFO, state = F4 Awaiting Signal
Dec 23 15:29:47 server /kernel: i4b-L3 T303_timeout: SETUP not answered, cr
= 122
Dec 23 15:29:47 server /kernel: i4b-L3 next_l3state: FSM illegal state,
state = ST_OW - Out Wait EST, event = EV_T303EXP - T303 timeout!
Dec 23 15:29:47 server /kernel: i4b-L1 timer3_expired: state = F4 Awaiting
Signal
Dec 23 15:29:47 server /kernel: ifpi2_recover 0

or

Dec 23 15:24:18 server /kernel: i4b-L2 F_ILL: FSM function F_ILL executing
Dec 23 15:24:18 server /kernel: i4b-L2 i4b_next_l2state: FSM illegal state,
state = ST_EST_AW_TEI, event = EV_DLESTRQ!
Dec 23 15:24:18 server isdnd[55]: ERR decr_free_channels: controller [0]
already 0 free chans!
Dec 23 15:24:20 server /kernel: i4b-L1 timer3_expired: state = F4 Awaiting
Signal
Dec 23 15:24:20 server /kernel: ifpi2_recover 0
Dec 23 15:24:22 server /kernel: i4b-L3 T303_timeout: SETUP not answered, cr
= 63
Dec 23 15:24:22 server /kernel: i4b-L3 next_l3state: FSM illegal state,
state = ST_OW - Out Wait EST, event = EV_T303EXP - T303 timeout!

after that isdnd do nothing on any other try for bring isp0 and have to be
restarted / re-read its config

It seems modem could`n get line signal ... Am I right?
(i really cant establish connection on my isdn line for 5-15 redial
attempts. Sometimes I have to switch on-off NTBA power for several times, as
for myprovider recommends  8-) to establish connect )

How may it be solve if isdnd doesn`t act on any redial attempt after uplevel
messages ?

May it be a problem with mycard driver in 4.7 i4b ?

P.S. I even need only one B channel !

Sory for long text, but I decided to write some lines from configs:
isdnd.rc
_
name= ALKAR
usrdevicename   = isp
usrdeviceunit   = 0
isdncontroller  = 0
isdnchannel = -1
local-phone-dialout= 111
remote-phone-dialout= 711
remdial-handling= first
dialin-reaction = ignore
dialout-type= normal
dialretries  = 10
b1protocol  = hdlc
idletime-incoming   = 1
idletime-outgoing   = 5
ratetype= 0
unitlength  = 90
unitlengthsrc   = rate
dialrandincr= off
direction   = out

rc.conf
...
ifconfig_isp0=inet 0.0.0.0 0.0.0.1 netmask 255.255.255.255 link1

sppp_interfaces=isp0  # example: sppp over ISDN
spppconfig_isp0=authproto=pap myauthname=optima myauthsecret='optima'
hisauthproto=none

defaultrouter=0.0.0.1

isdn_enable=YES   # Enable the ISDN subsystem (or NO).
isdn_fsdev=/dev/ttyv4 # Output device for fullscreen mode

isdn_flags=NO # Flags for isdnd
isdn_trace=NO # Enable the ISDN trace subsystem (or NO).
isdn_traceflags=-f /var/tmp/isdntrace0# Flags for isdntrace






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



Re: Alternate Boot

2002-12-26 Thread Rafael Sierra

- Original Message -
From: Alex [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Wednesday, December 25, 2002 8:42 PM
Subject: Re: Alternate Boot
  Question: How can I make the HD or the CF bootable in order to start the
  FreeBSD setup?

 You can have a small partition and install the boot image (3MB) on it
 with the same tool you can use for writing the floppies.

 I have used this trick on a linux computer using the swap space of
 the computer.

Hi. Thanks for your answer. I tried to do that but the program can only copy
images (.flp files) into floppies, so (seems) it  is unuseful for any
other media.

I think I will have to put the disk into a laptop, and install there. I hope
I can find one...

Regards,

Rafael



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



Re: portmap running amok

2002-12-26 Thread Matthew Seaman
On Thu, Dec 26, 2002 at 01:03:54AM -0500, Paul Chvostek wrote:
 
 Infrequently ... that is, perhaps once every few weeks, my mail server
 grinds to a halt.  The load average climbs into the hundreds, processes
 start getting killed off, and all because something seems to want to
 launch as many instances of portmap as it possibly can.  And for the
 life o' me, I can't figure out what.
 
 The box is currently running 4.7-STABLE, but it's been doing this off
 and on since 4.4-RELEASE.  The box is not an NFS server, but it becomes
 a client from time to time, and portmap and nfsiod are launched at
 startup.  There are no NFS devices listed in /etc/fstab, there is no
 /etc/exports and no other NFS-related daemons are running.  If I catch
 things in time (and have a shell already open), I can usually recover
 with `killall portmap`.  If I'm not around (which is usually the case),
 the box will either grind to a halt requiring a console reset, or merely
 spontaneously reboot.

The facts that you're only seeing this effect intermittently and that
it has persisted over 4 different FreeBSD releases and that it's only
you that seems to be affected suggest that it's something peculiar to
your environment that is triggering the problem.  I've certainly run
FreeBSD boxes that make occasional NFS mounts via amd(8) during that
timeframe without any problem.
 
 I can see no other strange behaviour (or network traffic) going on with
 this box -- aside from this problem, it behaves perfectly.
 
 Does any of this sound familiar?  Where do I look for the problem?

Hmmm... Did you ever happen to be monitoring network traffic starting
*before* portmap went crazy?  If it could be possible to grab (using
'tcpdump -o filename') a chunk of network traffic spanning the onset
of crazyness it would be invaluable for debugging.  However, that's
probably going to be pretty tricky to arrange...

Debugging this is going to be a tedious process of eliminating all the
possible causes until you can isolate what the problem is.  There are
two angles of enquiry I'd start looking at.

i) Hardware problems.  Are you being hit by intermittent network
flakyness?  Look at the output of:

netstat -i

on the boxes in question (NFS server and client). You might even see
error counts on other asymptomatic machines around your network.  If
your networking hardware supports it, do check for similar error
counts on switches/hubs/routers around your network.  While you're
looking at all those machines, don't forget to check through the
equivalents of /var/log/messages and /var/log/all.log (well worth
editing /etc/syslog.conf to enable that) to see if there are any
suspicious log messages

If there's any entries under the Ierrs or Oerrs columns you probably
have a problem.  Usually, those columns should read zero all the way,
but certain setups may cause a small number of errors to be registered
at boot time. If the error counts increase over time something is
definitely kaput.  It can be as trivial as a badly plugged in network
cable.

ii) Enemy action.  Well, not necessarily deliberate attempts to upset
your machine, but some other box that can knock over portmap by some
unfriendly stream of packets.  Use ipfw(8) or ipf(8) to filter traffic
to ports 2049 and 111 so that only those machines that are directly
involved in normal NFS activity can access those services.  Edit
/etc/hosts.allow to enable the hosts_options(5) controls --- remember
that RPC services and portmap have to be filtered by IP number rather
than hostname.

If the machine in question is exposed to the internet, you should have
all these protections in place already, and you should be logging each
and every unauthorized attempt to connect to those services, reading
those logs regularly and if necessary making representations to the
admins of the boxes used by the malefactors.  Personally, I'd avoid
running any sort of RPC based service (and thus running portmap) at
all on a machine in such a position.  RPC and portmap is too much of a
gift to anyone seeking to do nefarious things to your systems.

If all you need is occasional access to a file on the NFS server, then
you're almost certainly going to be better off cooking up a script to
do what you want using ssh(1) with passwordless access given using
public key authentication.

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



Re: More info Re: ports/46523: make index is broken

2002-12-26 Thread Stacey Roberts
On Thu, 2002-12-26 at 06:43, Cliff Sarginson wrote:
 On Wed, Dec 25, 2002 at 11:54:44PM +, Stacey Roberts wrote:
  Hello,
   make clean in /usr/ports fails as well now at this step:
  
  === lang/ruby-usersguide
  ===  Cleaning for ruby-usersguide-20020616
  === lang/ruby16-shim-ruby18
  ===  Cleaning for ruby-1.6.8
  ===  Cleaning for ruby-shim-ruby18-1.8.0.p1
  === lang/ruby_r
  ===  Cleaning for ruby-1.6.8
  ===  Cleaning for ruby_r-1.6.8
  === lang/ruby_r-devel
  ===  Cleaning for ruby-1.8.0.p1
  ===  Cleaning for ruby_r-1.8.0.p1
  === lang/ruby_static
  ===  Cleaning for libiconv-1.8_2
  ===  Cleaning for libtool-1.3.4_4
  ===  Cleaning for ruby-1.6.8
  ===  Cleaning for ruby-zlib-0.5.1
  ===  Cleaning for ruby-bdb1-0.1.7
  ===  Cleaning for ruby-1.6.8
  ===  Cleaning for ruby-shim-ruby18-1.8.0.p1
  ===  Cleaning for ruby_static-1.6.8
  === lang/ruby_static-devel
  /usr/ports/Mk/bsd.ruby.mk, line 135: Ruby 1.7 is obsolete; set
  RUBY_VER to 1.8 instead.
  *** Error code 1
  
  Stop in /usr/ports/lang.
  *** Error code 1
  
  Stop in /usr/ports.
  $
  
  Is no-one else not seeing this?
  
 Yup, I'm seeing it.

Hi Cliff,
   Thanks for the reply.

I was starting to get cold, sharp feeling on the back of the neck that
comes when you think no-one else is seeing this, is there something I
broke?

I wish I had some sense of what to do, or where to begin with that
error. I had a look at /usr/ports/Mk/bsd.ruby.mk, but can't discern what
is required in order to fix this.

Cheers.

Stacey
-- 
Stacey Roberts
B.Sc (HONS) Computer Science

Web: www.vickiandstacey.com



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



PPPoE and troubles with TCP

2002-12-26 Thread Rostislav Krasny
Hello

I have Alcatel Speedtouch Home ADSL modem. I use PPPoE protocol for
connection with my Internet Service Provider (ISP) through this ADSL
modem. I use FreeBSD 4.7-RELEASE and ppp (a.k.a. user-ppp) for this. In
the /etc/ppp/ppp.conf file I have ' set MRU 1492' and ' set MTU 1492'
options. This is because the maximum MTU one can use with PPPoE is 1492
according to RFC 2516. I have no problems with dialing to my ISP. But
after the PPPoE connection is established I have troubles with TCP
connections to some hosts. For example I can't go to
hhtp://www.ssh.com/  but to http://www.freebsd.org/ or
http://www.gnu.org/ I can. If I run 'telnet www.ssh.com 80' and enter
HTTP request according to HTTP 1.1 or 1.0 protocol I don't get any
answer. If I enter just 'GET /' I get some short answer. 'GET /' is an
HTTP request according to the old HTTP 0.9 version of the protocol and
it is rarely used today. But the problem is not HTTP, I think. If I do
HTTP request according to HTTP 1.1 from my friends' computer I do have
some long answer. Furthermore if I change the MRU and MTU to 1484 or
smaller I have no problem with www.ssh.com. So it looks like TCP packet
overflow or something like that.
Besides FreeBSD I have Windows 98 Second Edition in my computer. I use
PPPoE with Win98SE too. I use RASPPPOE driver fo it, go to
http://www.raspppoe.com/  for more information. I have no problems with
www.ssh.com when I use Win98SE with this impimentation of PPPoE
protocol. I have MTU == 1492 set by default in RASPPPOE. I don't get
error messages about fragmentation when I run 'ping -f -l 1464
www.ssh.com' in my Win98SE (ICMP+IP=1464+28=1492). Why in FreeBSD I
cannot use MTU == 1492 without problems with some hosts like
www.ssh.com ? How to fix it in FreeBSD?

P.S. ping have different syntax in Windows, so don't be wondered about
-f flag. -f sets no fragmentation flag in IP headers of all outgoing packets.

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

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



Re: PPPoE and troubles with TCP

2002-12-26 Thread Stacey Roberts
On Thu, 2002-12-26 at 12:26, Rostislav Krasny wrote:
 Hello
 
 I have Alcatel Speedtouch Home ADSL modem. I use PPPoE protocol for
 connection with my Internet Service Provider (ISP) through this ADSL
 modem. I use FreeBSD 4.7-RELEASE and ppp (a.k.a. user-ppp) for this. In
 the /etc/ppp/ppp.conf file I have ' set MRU 1492' and ' set MTU 1492'
 options. This is because the maximum MTU one can use with PPPoE is 1492
 according to RFC 2516. I have no problems with dialing to my ISP. But
 after the PPPoE connection is established I have troubles with TCP
 connections to some hosts. For example I can't go to
 hhtp://www.ssh.com/  but to http://www.freebsd.org/ or
 http://www.gnu.org/ I can. If I run 'telnet www.ssh.com 80' and enter
 HTTP request according to HTTP 1.1 or 1.0 protocol I don't get any
 answer. If I enter just 'GET /' I get some short answer. 'GET /' is an
 HTTP request according to the old HTTP 0.9 version of the protocol and
 it is rarely used today. But the problem is not HTTP, I think. If I do
 HTTP request according to HTTP 1.1 from my friends' computer I do have
 some long answer. Furthermore if I change the MRU and MTU to 1484 or
 smaller I have no problem with www.ssh.com. So it looks like TCP packet
 overflow or something like that.
 Besides FreeBSD I have Windows 98 Second Edition in my computer. I use
 PPPoE with Win98SE too. I use RASPPPOE driver fo it, go to
 http://www.raspppoe.com/  for more information. I have no problems with
 www.ssh.com when I use Win98SE with this impimentation of PPPoE
 protocol. I have MTU == 1492 set by default in RASPPPOE. I don't get
 error messages about fragmentation when I run 'ping -f -l 1464
 www.ssh.com' in my Win98SE (ICMP+IP=1464+28=1492). Why in FreeBSD I
 cannot use MTU == 1492 without problems with some hosts like
 www.ssh.com ? How to fix it in FreeBSD?
 
 P.S. ping have different syntax in Windows, so don't be wondered about
 -f flag. -f sets no fragmentation flag in IP headers of all outgoing packets.
 

I use ADSL here on my site, but not that modem. How do you connect to
that device from the FBSD box?

Regards,

Stacey

 __
 Do you Yahoo!?
 Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
 http://mailplus.yahoo.com
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
-- 
Stacey Roberts
B.Sc (HONS) Computer Science

Web: www.vickiandstacey.com



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



prism hostap

2002-12-26 Thread Evren Yurtesen
Hello,

I would like to use FreeBSD wi driver in hostap drive with a root access
point. I would like for FreeBSD to forward packets to the root access
point but at the same time I want wireless clients to be able to register
to the freebsd wi hostap but not able to forward packets to each other
unless it is routed through the root access point. Is this possible?

Evren


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



Re: PPPoE and troubles with TCP

2002-12-26 Thread Rostislav Krasny
--- Stacey Roberts [EMAIL PROTECTED] wrote:
 On Thu, 2002-12-26 at 12:26, Rostislav Krasny wrote:
  Hello
  
  I have Alcatel Speedtouch Home ADSL modem. I use PPPoE protocol for
  connection with my Internet Service Provider (ISP) through this ADSL
  modem. I use FreeBSD 4.7-RELEASE and ppp (a.k.a. user-ppp) for this. In
  the /etc/ppp/ppp.conf file I have ' set MRU 1492' and ' set MTU 1492'
  options. This is because the maximum MTU one can use with PPPoE is 1492
  according to RFC 2516. I have no problems with dialing to my ISP. But
  after the PPPoE connection is established I have troubles with TCP
  connections to some hosts. For example I can't go to
  hhtp://www.ssh.com/  but to http://www.freebsd.org/ or
  http://www.gnu.org/ I can. If I run 'telnet www.ssh.com 80' and enter
  HTTP request according to HTTP 1.1 or 1.0 protocol I don't get any
  answer. If I enter just 'GET /' I get some short answer. 'GET /' is an
  HTTP request according to the old HTTP 0.9 version of the protocol and
  it is rarely used today. But the problem is not HTTP, I think. If I do
  HTTP request according to HTTP 1.1 from my friends' computer I do have
  some long answer. Furthermore if I change the MRU and MTU to 1484 or
  smaller I have no problem with www.ssh.com. So it looks like TCP packet
  overflow or something like that.
  Besides FreeBSD I have Windows 98 Second Edition in my computer. I use
  PPPoE with Win98SE too. I use RASPPPOE driver fo it, go to
  http://www.raspppoe.com/  for more information. I have no problems with
  www.ssh.com when I use Win98SE with this impimentation of PPPoE
  protocol. I have MTU == 1492 set by default in RASPPPOE. I don't get
  error messages about fragmentation when I run 'ping -f -l 1464
  www.ssh.com' in my Win98SE (ICMP+IP=1464+28=1492). Why in FreeBSD I
  cannot use MTU == 1492 without problems with some hosts like
  www.ssh.com ? How to fix it in FreeBSD?
  
  P.S. ping have different syntax in Windows, so don't be wondered about
  -f flag. -f sets no fragmentation flag in IP headers of all outgoing
  packets.
 
 I use ADSL here on my site, but not that modem. How do you connect to
 that device from the FBSD box?

I configured my ADSL modem to work with PPPoE. Then I changed the
/etc/ppp/ppp.conf file to this one:

 /etc/ppp/ppp.conf 
default:
set log Phase Chat LCP IPCP CCP tun command
ident user-ppp VERSION (built COMPILATIONDATE)

set device  PPPoE:ed0
set speed   sync
#   set MRU 1484
#   set MTU 1484
set MRU maximum 1492
set MTU maximum 1492
set timeout 0
set urgent  none# no priorities
enable  dns # request DNS info (for
resolv.conf)
disable ipv6 ipv6cp
disable shortseq protocomp acfcomp vjcomp deflate pred1
mppe
denyshortseq protocomp acfcomp vjcomp deflate pred1
mppe

myisp:
set authnameusername@ISPstring
set authkey password
add default HISADDR # Add a (sticky) default route
 /etc/ppp/ppp.conf 

The hostname of my box can be resolved through /ets/hosts , so I don't
need any kind of 'set ifaddr' in /etc/ppp/ppp.conf file. ed0 is the
ethernet NIC my ADSL modem is connected to.

Many lines of the default: section of the ppp.conf file are not critical.
The only ones you need are these:

set device  PPPoE:ed0
set MRU maximum 1492
set MTU maximum 1492
enable  dns

See `man 8 ppp` for more information.

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

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



Re: PPPoE and troubles with TCP

2002-12-26 Thread Stacey Roberts
On Thu, 2002-12-26 at 13:16, Rostislav Krasny wrote:
 --- Stacey Roberts [EMAIL PROTECTED] wrote:
  On Thu, 2002-12-26 at 12:26, Rostislav Krasny wrote:
   Hello
   
   I have Alcatel Speedtouch Home ADSL modem. I use PPPoE protocol for
   connection with my Internet Service Provider (ISP) through this ADSL
   modem. I use FreeBSD 4.7-RELEASE and ppp (a.k.a. user-ppp) for this. In
   the /etc/ppp/ppp.conf file I have ' set MRU 1492' and ' set MTU 1492'
   options. This is because the maximum MTU one can use with PPPoE is 1492
   according to RFC 2516. I have no problems with dialing to my ISP. But
   after the PPPoE connection is established I have troubles with TCP
   connections to some hosts. For example I can't go to
   hhtp://www.ssh.com/  but to http://www.freebsd.org/ or
   http://www.gnu.org/ I can. If I run 'telnet www.ssh.com 80' and enter
   HTTP request according to HTTP 1.1 or 1.0 protocol I don't get any
   answer. If I enter just 'GET /' I get some short answer. 'GET /' is an
   HTTP request according to the old HTTP 0.9 version of the protocol and
   it is rarely used today. But the problem is not HTTP, I think. If I do
   HTTP request according to HTTP 1.1 from my friends' computer I do have
   some long answer. Furthermore if I change the MRU and MTU to 1484 or
   smaller I have no problem with www.ssh.com. So it looks like TCP packet
   overflow or something like that.
   Besides FreeBSD I have Windows 98 Second Edition in my computer. I use
   PPPoE with Win98SE too. I use RASPPPOE driver fo it, go to
   http://www.raspppoe.com/  for more information. I have no problems with
   www.ssh.com when I use Win98SE with this impimentation of PPPoE
   protocol. I have MTU == 1492 set by default in RASPPPOE. I don't get
   error messages about fragmentation when I run 'ping -f -l 1464
   www.ssh.com' in my Win98SE (ICMP+IP=1464+28=1492). Why in FreeBSD I
   cannot use MTU == 1492 without problems with some hosts like
   www.ssh.com ? How to fix it in FreeBSD?
   
   P.S. ping have different syntax in Windows, so don't be wondered about
   -f flag. -f sets no fragmentation flag in IP headers of all outgoing
   packets.
  
  I use ADSL here on my site, but not that modem. How do you connect to
  that device from the FBSD box?
 
 I configured my ADSL modem to work with PPPoE. Then I changed the
 /etc/ppp/ppp.conf file to this one:
 
  /etc/ppp/ppp.conf 
 default:
 set log Phase Chat LCP IPCP CCP tun command
 ident user-ppp VERSION (built COMPILATIONDATE)
 
 set device  PPPoE:ed0
 set speed   sync
 #   set MRU 1484
 #   set MTU 1484
 set MRU maximum 1492
 set MTU maximum 1492
 set timeout 0
 set urgent  none# no priorities
 enable  dns # request DNS info (for
 resolv.conf)
 disable ipv6 ipv6cp
 disable shortseq protocomp acfcomp vjcomp deflate pred1
 mppe
 denyshortseq protocomp acfcomp vjcomp deflate pred1
 mppe
 
 myisp:
 set authnameusername@ISPstring
 set authkey password
 add default HISADDR # Add a (sticky) default route
  /etc/ppp/ppp.conf 
 
 The hostname of my box can be resolved through /ets/hosts , so I don't
 need any kind of 'set ifaddr' in /etc/ppp/ppp.conf file. ed0 is the
 ethernet NIC my ADSL modem is connected to.
 
 Many lines of the default: section of the ppp.conf file are not critical.
 The only ones you need are these:
 
 set device  PPPoE:ed0
 set MRU maximum 1492
 set MTU maximum 1492
 enable  dns
 
 See `man 8 ppp` for more information.
 

Dude,
I wasn't asking for assistance.., rather I was hoping to provide
some help in response to your post.. :-)

The reason why I asked about how you connect to your ADSL modem is
because if its ethernet, then there is no need to use ppp.

But if there's a case-requirement why you need to use ppp, then fair
enough.

Let me know either way, okay?

Regards,

Stacey

 __
 Do you Yahoo!?
 Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
 http://mailplus.yahoo.com
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
-- 
Stacey Roberts
B.Sc (HONS) Computer Science

Web: www.vickiandstacey.com



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



qmail toaster wont deliver to v mailboxes

2002-12-26 Thread Keith Spencer
Hi all,
I have been greatly helped in my quest for the
MattSimerson fbsd qmail toaster that works by
Danbiel Schrock...what a cool guy...but he is on hols
I I have to get this damn thing working.
Anyways Matt is a legend for his tute but whoa...what
a task! So I have got the setup going ( qmail,
vpopmail courierimapd + squirrelmail + qmailadmin +
mysql auth etc etc).
I can create virtual mail accounts using qmailadmin.
I can get to the mailboxes using squirrel webmail and
compose and send mail.
But qmail bounces incoming mail claiming the account
does not exist on the server. It will deliver mail fro
the postmaster account but no others!
I have no idea where to look to config it. Any clues
guys?
Keith Spencer




http://movies.yahoo.com.au - Yahoo! Movies
- What's on at your local cinema?

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



Re: qmail toaster wont deliver to v mailboxes

2002-12-26 Thread Brian Jackson
Keith Spencer wrote:


But qmail bounces incoming mail claiming the account
does not exist on the server. It will deliver mail fro
the postmaster account but no others!
I have no idea where to look to config it. Any clues
guys?
Keith Spencer




What does your /var/log/qmail/current file say?

$tail -f /var/log/qmail/current | tai64nlocal

will give you a running commentary - do that in one window, send some 
messages in another and see what the errors are.

Brian


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


All mbuf clusters exhausted, please see tuning(7)

2002-12-26 Thread Mexx
sysctl kern.ipc.somaxconn
kern.ipc.somaxconn: 8192

sysctl kern.ipc.nmbclusters
kern.ipc.nmbclusters: 65535

sysctl kern.maxfiles
kern.maxfiles: 65536

sysctl kern.maxfilesperproc
kern.maxfilesperproc: 32768

How much higher can I go with dual 1.13 Ghz + 2 gigs of ram?

That's that main problem that causes the server to crash and require
powercycle to come back up. It would only stay up for a few seconds on high
traffic.

mbuf clusters have been increased to 65535

131070 was attempted but server did not like it and won't boot up.

Server has 2 gigs of ram

FreeBSD 4.6-RELEASE

fxp0: Intel Pro 10/100B/100+ Ethernet port 0x1400-0x143f mem
0xfeaa-0xfeab,0xfeae-0xfeae0fff irq 7 at device 3.0 on pc
i0
fxp0: Ethernet address 00:03:47:a4:fb:23
inphy0: i82555 10/100 media interface on miibus0
inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp1: Intel Pro 10/100B/100+ Ethernet port 0x1440-0x147f mem
0xfea6-0xfea7,0xfea8-0xfea80fff irq 9 at device 4.0 on pc
i0
fxp1: Ethernet address 00:03:47:a4:fb:24
inphy1: i82555 10/100 media interface on miibus1
inphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto

netstat -in
Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll
fxp0 1500 Link#1 00:03:47:a4:fb:23 7943967 2 11631732 1 0
fxp0 1500 66.28.252/xx 66.28.252.4 1175 - 11638120 - -
fxp0 1500 66.28.252.xx/ 66.28.252.17 1346 - 0 - -
fxp0 1500 66.28.252.xx/ 66.28.252.18 90206 - 0 - -
fxp0 1500 66.28.252.x/x 66.28.252.7 2696087 - 0 - -
fxp0 1500 66.28.252.xx/ 66.28.252.11 2 - 0 - -
fxp0 1500 66.28.252.xx/ 66.28.252.13 13 - 0 - -
fxp0 1500 66.28.252.xx/ 66.28.252.25 13 - 0 - -
fxp0 1500 66.28.252.xx/ 66.28.252.28 5152357 - 0 - -
fxp0 1500 66.28.252.xx/ 66.28.252.29 13 - 0 - -
fxp0 1500 66.28.252.xx/ 66.28.252.30 56 - 0 - -
fxp1* 1500 Link#2 00:03:47:a4:fb:24 0 0 0 0 0
lo0 16384 Link#3 148 0 148 0 0
lo0 16384 127 127.0.0.1 148 - 148 - -

Load and Cpu is good but crashes on Mbuff error. I can't increase it anymore
cause it would not bootup with new changes =/ What could I do? Could it be
bad motherboard or harddrive?


last pid: 694; load averages: 0.08, 0.04, 0.01 up 0+00:02:24 09:39:09
483 processes: 1 running, 482 sleeping
CPU states: 1.2% user, 0.0% nice, 9.1% system, 3.3% interrupt, 86.4% idle
Mem: 139M Active, 62M Inact, 205M Wired, 37M Cache, 18M Buf, 1568M Free
Swap: 2048M Total, 2048M Free
Dec 7 09:39:08 redapple /kernel: All mbuf clusters exhausted, please see
tuning(7).
Dec 7 09:39:08 redapple /kernel: All mbuf clusters exhausted, please see
tuning(7).
411 www -18 0 119M 57764K mclalc 1 0:03 6.83% 5.81% thttpd
445 www -18 0 50964K 32620K mclalc 0 0:01 2.60% 2.15% thttpd
443 www -18 0 56276K 37576K mclalc 0 0:01 2.54% 2.10% thttpd
447 www -18 0 64532K 10292K mclalc 1 0:01 1.19% 0.98% thttpd
693 root 28 0 2484K 1712K CPU1 0 0:00 1.85% 0.78% top
108 root 2 0 976K 684K select 1 0:02 0.26% 0.24% syslogd
183 root 2 0 4428K 3672K select 0 0:00 0.00% 0.00% httpd
449 www -18 0 25212K 5652K mclalc 1 0:00 0.00% 0.00% thttpd
451 www -18 0 19460K 6584K mclalc 1 0:00 0.00% 0.00% thttpd
123 root 2 0 2232K 1676K select 1 0:00 0.00% 0.00% sshd
635 root 18 0 1372K 956K pause 0 0:00 0.00% 0.00% csh
111 bind 2 0 2380K 2008K select 0 0:00 0.00% 0.00% named
558 root 2 0 2316K 1936K select 0 0:00 0.00% 0.00% sshd
362 www 2 0 4508K 3752K sbwait 0 0:00 0.00% 0.00% httpd
207 mysql 2 0 26960K 4724K poll 1 0:00 0.00% 0.00% mysqld
378 www 2 0 4508K 3752K sbwait 0 0:00 0.00% 0.00% mysqld
493 www 2 0 4520K 3752K sbwait 1 0:00 0.00% 0.00% httpd
487 www 2 0 4520K 3752K sbwait 0 0:00 0.00% 0.00% httpd
227 www 2 0 4508K 3752K sbwait 0 0:00 0.00% 0.00% httpd
258 www 2 0 4508K 3752K accept 1 0:00 0.00% 0.00% httpd
378 www 2 0 4508K 3752K sbwait 1 0:00 0.00% 0.00% httpd

Could an attack cause my server to run out of mbufs? Thanks



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



Re: PPPoE and troubles with TCP

2002-12-26 Thread Rostislav Krasny
--- Stacey Roberts [EMAIL PROTECTED] wrote:
 On Thu, 2002-12-26 at 13:16, Rostislav Krasny wrote:
  --- Stacey Roberts [EMAIL PROTECTED] wrote:
   On Thu, 2002-12-26 at 12:26, Rostislav Krasny wrote:
Hello

I have Alcatel Speedtouch Home ADSL modem. I use PPPoE protocol for
connection with my Internet Service Provider (ISP) through this
 ADSL
modem. I use FreeBSD 4.7-RELEASE and ppp (a.k.a. user-ppp) for
 this. In
the /etc/ppp/ppp.conf file I have ' set MRU 1492' and ' set MTU
 1492'
options. This is because the maximum MTU one can use with PPPoE is
 1492
according to RFC 2516. I have no problems with dialing to my ISP.
 But
after the PPPoE connection is established I have troubles with TCP
connections to some hosts. For example I can't go to
hhtp://www.ssh.com/  but to http://www.freebsd.org/ or
http://www.gnu.org/ I can. If I run 'telnet www.ssh.com 80' and
 enter
HTTP request according to HTTP 1.1 or 1.0 protocol I don't get any
answer. If I enter just 'GET /' I get some short answer. 'GET /' is
 an
HTTP request according to the old HTTP 0.9 version of the protocol
 and
it is rarely used today. But the problem is not HTTP, I think. If I
 do
HTTP request according to HTTP 1.1 from my friends' computer I do
 have
some long answer. Furthermore if I change the MRU and MTU to 1484
 or
smaller I have no problem with www.ssh.com. So it looks like TCP
 packet
overflow or something like that.
Besides FreeBSD I have Windows 98 Second Edition in my computer. I
 use
PPPoE with Win98SE too. I use RASPPPOE driver fo it, go to
http://www.raspppoe.com/  for more information. I have no problems
 with
www.ssh.com when I use Win98SE with this impimentation of PPPoE
protocol. I have MTU == 1492 set by default in RASPPPOE. I don't
 get
error messages about fragmentation when I run 'ping -f -l 1464
www.ssh.com' in my Win98SE (ICMP+IP=1464+28=1492). Why in FreeBSD I
cannot use MTU == 1492 without problems with some hosts like
www.ssh.com ? How to fix it in FreeBSD?

P.S. ping have different syntax in Windows, so don't be wondered
 about
-f flag. -f sets no fragmentation flag in IP headers of all
 outgoing
packets.
   
   I use ADSL here on my site, but not that modem. How do you connect to
   that device from the FBSD box?
  
  I configured my ADSL modem to work with PPPoE. Then I changed the
  /etc/ppp/ppp.conf file to this one:
  
   /etc/ppp/ppp.conf 
  default:
  set log Phase Chat LCP IPCP CCP tun command
  ident user-ppp VERSION (built COMPILATIONDATE)
  
  set device  PPPoE:ed0
  set speed   sync
  #   set MRU 1484
  #   set MTU 1484
  set MRU maximum 1492
  set MTU maximum 1492
  set timeout 0
  set urgent  none# no priorities
  enable  dns # request DNS info (for
  resolv.conf)
  disable ipv6 ipv6cp
  disable shortseq protocomp acfcomp vjcomp deflate pred1
  mppe
  denyshortseq protocomp acfcomp vjcomp deflate pred1
  mppe
  
  myisp:
  set authnameusername@ISPstring
  set authkey password
  add default HISADDR # Add a (sticky) default route
   /etc/ppp/ppp.conf 
  
  The hostname of my box can be resolved through /ets/hosts , so I don't
  need any kind of 'set ifaddr' in /etc/ppp/ppp.conf file. ed0 is the
  ethernet NIC my ADSL modem is connected to.
  
  Many lines of the default: section of the ppp.conf file are not
 critical.
  The only ones you need are these:
  
  set device  PPPoE:ed0
  set MRU maximum 1492
  set MTU maximum 1492
  enable  dns
  
  See `man 8 ppp` for more information.
  
 
 Dude,
 I wasn't asking for assistance.., rather I was hoping to provide
 some help in response to your post.. :-)
 
 The reason why I asked about how you connect to your ADSL modem is
 because if its ethernet, then there is no need to use ppp.
 
 But if there's a case-requirement why you need to use ppp, then fair
 enough.
 
 Let me know either way, okay?

Yes, my computer is connected to my ADSL modem by Ethernet.
What is the way to connect with the ISP without PPP?
Is it ethernet bridging with DHCP? My ADSL Service Provider (Bezeq)
does not support this. Moreover, the use of ethernet bridging is
inconvenient for me because I can't switch the ISP by myself.
When I use PPP, over Ethernet or over whatever else, I have ISP string,
so it is very easy to switch the ISP I'd like to use at the moment.

P.S. What about my main question?

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

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

Re: PPPoE and troubles with TCP

2002-12-26 Thread Stacey Roberts
On Thu, 2002-12-26 at 14:41, Rostislav Krasny wrote:
 --- Stacey Roberts [EMAIL PROTECTED] wrote:
  On Thu, 2002-12-26 at 13:16, Rostislav Krasny wrote:
   --- Stacey Roberts [EMAIL PROTECTED] wrote:
On Thu, 2002-12-26 at 12:26, Rostislav Krasny wrote:
 Hello
 
 I have Alcatel Speedtouch Home ADSL modem. I use PPPoE protocol for
 connection with my Internet Service Provider (ISP) through this
  ADSL
 modem. I use FreeBSD 4.7-RELEASE and ppp (a.k.a. user-ppp) for
  this. In
 the /etc/ppp/ppp.conf file I have ' set MRU 1492' and ' set MTU
  1492'
 options. This is because the maximum MTU one can use with PPPoE is
  1492
 according to RFC 2516. I have no problems with dialing to my ISP.
  But
 after the PPPoE connection is established I have troubles with TCP
 connections to some hosts. For example I can't go to
 hhtp://www.ssh.com/  but to http://www.freebsd.org/ or
 http://www.gnu.org/ I can. If I run 'telnet www.ssh.com 80' and
  enter
 HTTP request according to HTTP 1.1 or 1.0 protocol I don't get any
 answer. If I enter just 'GET /' I get some short answer. 'GET /' is
  an
 HTTP request according to the old HTTP 0.9 version of the protocol
  and
 it is rarely used today. 

 snipped

   Many lines of the default: section of the ppp.conf file are not
  critical.
   The only ones you need are these:
   
   set device  PPPoE:ed0
   set MRU maximum 1492
   set MTU maximum 1492
   enable  dns
   
   See `man 8 ppp` for more information.
   
  
  Dude,
  I wasn't asking for assistance.., rather I was hoping to provide
  some help in response to your post.. :-)
  
  The reason why I asked about how you connect to your ADSL modem is
  because if its ethernet, then there is no need to use ppp.
  
  But if there's a case-requirement why you need to use ppp, then fair
  enough.
  
  Let me know either way, okay?
 
 Yes, my computer is connected to my ADSL modem by Ethernet.
 What is the way to connect with the ISP without PPP?
 Is it ethernet bridging with DHCP? My ADSL Service Provider (Bezeq)
 does not support this. Moreover, the use of ethernet bridging is
 inconvenient for me because I can't switch the ISP by myself.
 When I use PPP, over Ethernet or over whatever else, I have ISP string,
 so it is very easy to switch the ISP I'd like to use at the moment.
 
 P.S. What about my main question?
 

Hi,
  I didn't really have to configure *anything* as such to establish
connectivity on FreeBSD. The router I have holds the configurations
requried in order to authenticate to the ISP's upstream router.

All I have to do from FreeBSD's view is configure the external interface
to use the router as the default route (using ifconfig or
/stand/sysinstall). That's it.

As your initial problems, what happens if you set mtu to 1500 (or *not*
define this?)? Here's what man ppp says:
 set mtu [max[imum]] [value]
 The default MTU is 1500.  At negotiation time, ppp will
accept
 whatever MRU the peer requests (assuming it's not less than
296
 bytes or greater than the assigned maximum).  If the MTU is
set,
 ppp will not accept MRU values less than value.  When
negotia-
 tions are complete, the MTU is used when writing to the
inter-
 face, even if the peer requested a higher value MRU.  This
can be
 useful for limiting your packet size (giving better
bandwidth
 sharing at the expense of more header data).

 If the ``maximum'' keyword is used, ppp will refuse to
negotiate
 a higher value.  The maximum MTU can be set to 2048 at
most.

 If no value is given, 1500, or whatever the peer asks for
is
 used.  A value must be given when ``maximum'' is specified.


 What does ifconfig ed0 return? Please post that output here.


Regards,

Stacey

 __
 Do you Yahoo!?
 Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
 http://mailplus.yahoo.com
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
-- 
Stacey Roberts
B.Sc (HONS) Computer Science

Web: www.vickiandstacey.com



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



RE: PPPoE and troubles with TCP

2002-12-26 Thread Sten Daniel Sørsdal

  Have you remembered to setup anything to fix the MSS in TCP packets going through?
  You have disabled encryption and compression right?

-Original Message-
From: Rostislav Krasny [mailto:[EMAIL PROTECTED]] 
Sent: 26. desember 2002 15:42
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]; FreeBSD Questions
Subject: Re: PPPoE and troubles with TCP


--- Stacey Roberts [EMAIL PROTECTED] wrote:
 On Thu, 2002-12-26 at 13:16, Rostislav Krasny wrote:
  --- Stacey Roberts [EMAIL PROTECTED] wrote:
   On Thu, 2002-12-26 at 12:26, Rostislav Krasny wrote:
Hello

I have Alcatel Speedtouch Home ADSL modem. I use PPPoE protocol 
for connection with my Internet Service Provider (ISP) through 
this
 ADSL
modem. I use FreeBSD 4.7-RELEASE and ppp (a.k.a. user-ppp) for
 this. In
the /etc/ppp/ppp.conf file I have ' set MRU 1492' and ' set MTU
 1492'
options. This is because the maximum MTU one can use with PPPoE 
is
 1492
according to RFC 2516. I have no problems with dialing to my 
ISP.
 But
after the PPPoE connection is established I have troubles with 
TCP connections to some hosts. For example I can't go to 
hhtp://www.ssh.com/  but to http://www.freebsd.org/ or 
http://www.gnu.org/ I can. If I run 'telnet www.ssh.com 80' and
 enter
HTTP request according to HTTP 1.1 or 1.0 protocol I don't get 
any answer. If I enter just 'GET /' I get some short answer. 
'GET /' is
 an
HTTP request according to the old HTTP 0.9 version of the 
protocol
 and
it is rarely used today. But the problem is not HTTP, I think. 
If I
 do
HTTP request according to HTTP 1.1 from my friends' computer I 
do
 have
some long answer. Furthermore if I change the MRU and MTU to 
1484
 or
smaller I have no problem with www.ssh.com. So it looks like TCP
 packet
overflow or something like that.
Besides FreeBSD I have Windows 98 Second Edition in my computer. 
I
 use
PPPoE with Win98SE too. I use RASPPPOE driver fo it, go to 
http://www.raspppoe.com/  for more information. I have no 
problems
 with
www.ssh.com when I use Win98SE with this impimentation of PPPoE 
protocol. I have MTU == 1492 set by default in RASPPPOE. I don't
 get
error messages about fragmentation when I run 'ping -f -l 1464 
www.ssh.com' in my Win98SE (ICMP+IP=1464+28=1492). Why in 
FreeBSD I cannot use MTU == 1492 without problems with some 
hosts like www.ssh.com ? How to fix it in FreeBSD?

P.S. ping have different syntax in Windows, so don't be wondered
 about
-f flag. -f sets no fragmentation flag in IP headers of all
 outgoing
packets.
   
   I use ADSL here on my site, but not that modem. How do you connect 
   to that device from the FBSD box?
  
  I configured my ADSL modem to work with PPPoE. Then I changed the 
  /etc/ppp/ppp.conf file to this one:
  
   /etc/ppp/ppp.conf 
  default:
  set log Phase Chat LCP IPCP CCP tun command
  ident user-ppp VERSION (built COMPILATIONDATE)
  
  set device  PPPoE:ed0
  set speed   sync
  #   set MRU 1484
  #   set MTU 1484
  set MRU maximum 1492
  set MTU maximum 1492
  set timeout 0
  set urgent  none# no priorities
  enable  dns # request DNS info (for
  resolv.conf)
  disable ipv6 ipv6cp
  disable shortseq protocomp acfcomp vjcomp deflate pred1
  mppe
  denyshortseq protocomp acfcomp vjcomp deflate pred1
  mppe
  
  myisp:
  set authnameusername@ISPstring
  set authkey password
  add default HISADDR # Add a (sticky) default route
   /etc/ppp/ppp.conf 
  
  The hostname of my box can be resolved through /ets/hosts , so I 
  don't need any kind of 'set ifaddr' in /etc/ppp/ppp.conf file. ed0 
  is the ethernet NIC my ADSL modem is connected to.
  
  Many lines of the default: section of the ppp.conf file are not
 critical.
  The only ones you need are these:
  
  set device  PPPoE:ed0
  set MRU maximum 1492
  set MTU maximum 1492
  enable  dns
  
  See `man 8 ppp` for more information.
  
 
 Dude,
 I wasn't asking for assistance.., rather I was hoping to provide 
 some help in response to your post.. :-)
 
 The reason why I asked about how you connect to your ADSL modem is 
 because if its ethernet, then there is no need to use ppp.
 
 But if there's a case-requirement why you need to use ppp, then fair 
 enough.
 
 Let me know either way, okay?

Yes, my computer is connected to my ADSL modem by Ethernet. What is the way to connect 
with the ISP without PPP? Is it ethernet bridging with DHCP? My ADSL Service Provider 
(Bezeq) does not support this. Moreover, the use of ethernet bridging is inconvenient 
for me because I can't switch the 

Do boot-time splash screens work?

2002-12-26 Thread Bill Moran
Hello all,

A month or so ago I was trying to get Chuck's smiling
face on my machine during boot up.  I followed the
instructions in man splash, but no dice.  Same old
probing screen.

Does this even work?  I tried doing it a year or so
ago and couldn't get it working then.  I recently
re-installed FreeBSD (new, bigger HDD!) and was going
to try it again, but I don't want to spend time on it
if (for example) it simply doesn't work.

Anyone have this working?  If so, any pointers?  Any
suggestions on how to gather more information on what
I may be doing wrong?

I tried 3 different images, both with and without vesa.
Same lack of result each time.

Thanks,
Bill

_
The new MSN 8: smart spam protection and 3 months FREE*.  
http://join.msn.com/?page=features/junkmailxAPID=42PS=47575PI=7324DI=7474SU= 
http://www.hotmail.msn.com/cgi-bin/getmsgHL=1216hotmailtaglines_smartspamprotection_3mf


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


[no subject]

2002-12-26 Thread J. Seth Henry
I asked almost the exact same question a month ago, and more recently a
few days ago. Apparently no one has been able to get xdm to work across
a network in FreeBSD, or they felt it was some rite of passage and didn't
want to spoil the surprise. Having tried for a month to get it to work
correctly, I suspect the former.

I have a very similar setup, except I plan to use minimalist FreeBSD
systems to connect to the server. The terminals I am attempting to setup
are pure X terminals, and I plan to have them display a logon prompt to
the server directly. My server does have a keyboard and CRT, but they are
stowed away in a wiring closet.

Here is what I do know. You can configure the XDMCP server (xdm) fairly
easily on the server. It involves adding a script to /usr/local/etc/rc.d
or modifying rc.conf to start it. You will need to modify Xaccess in
/usr/X11R6/lib/X11/lib/xdm (I believe), and remove a comment to allow your
X servers to connect.

On the server (or client depending on your POV), you run xdm --broadcast
-and it should pick up the first server it finds.

Unfortunately, I haven't had any luck getting xdm to work either at the
console or from the terminals as yet. I sometimes manage to get a login
prompt, but the login always fails. If you figure out, I'd like to know
how you did it - and I'll likewise remember you if I manage to work it
out.

Good luck,
Seth Henry

Date: Mon, 23 Dec 2002 13:09:26 -0800 (PST)
From: Shvetima Gulati [EMAIL PROTECTED]
Subject: simple xdm setup

Hi all,
  I want to set up my X configuration as follows:

1) I want all clients (people) to log in to machine 'Server'using the GUI
login.This brings them to their desktop. Typically these people are on
windows machines running X servers such as eXceed or X-Win32. Some might
be tunneling through ssh (port forwarding)so they would need to connect to
local displays?
2) There is no physical keyboard or mouse attached to 'Server'
3) for administration purposes the command line is adequate, so there is
no need for a GUI console.

Essentially I want the PCs to function like dumb terminals running X
displays. This is a fairly common scenario right ? How do I set up xdm for
this?

I searched the web but clear info was very sparse for FreeBSD (I am on
4.6.2).

All pointers/help appreciated.
Thanks,
Shv.



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



cron/crontab befuddlement

2002-12-26 Thread Kirk Bailey
ok, I read man cron and man crontab, and it's as clear as mud. Anyplace I 
can read more and maybe make the light dawn on this useful feature? OR, 
would anyone care to explain more?

--

end

Respectfully,
 Kirk D Bailey


+-Thou Art Free. -Eris---+
| http://www.howlermonkey.net  mailto:[EMAIL PROTECTED] |
| KILL spam dead!  http://www.scambusters.org/stopspam/#Pledge |
| http://www.tinylist.org  ++   mailto:[EMAIL PROTECTED] |
+--Thinking| NORMAL |Thinking--+
   ++

-
Introducing NetZero Long Distance
1st month Free!
Sign up today at: www.netzerolongdistance.com

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


Re: Run as owner

2002-12-26 Thread Kirk Bailey
Nope, I wrote a script that simply wran ID as a command and printed the 
result, and ran it as my id of howlermo, although it was owned by root. It 
wran as howlermo. I then ran it as grumpy. It ran as grumpy. I then ran it 
as su, it ran as su. Permission was 755, so anyone could run it, and w 
hoever ran it, it ran as; it assumes the id of the person running it. Hmmm...


Kevin D. Kinsey, DaleCo, S.P. wrote:
From: david [EMAIL PROTECTED]
Subject: Re: Run as owner


On Friday 29 November 2002 23:30, Kirk Bailey wrote:


OK, man says to get a script to run as the owner, turn on the 4000


bit.


OK, I did. No such luck, it continues to run as the apache identity
'nobody'.



david:  I'm just wondering, why is this a problem?

I believe it's 'cuz he wants the script to build or destroy
/etc/mail/aliases..check out some earlier posts under
different thread names, perhaps.

Kevin Kinsey
DaleCo, S.P.






--

end

Respectfully,
 Kirk D Bailey


+-Thou Art Free. -Eris---+
| http://www.howlermonkey.net  mailto:[EMAIL PROTECTED] |
| KILL spam dead!  http://www.scambusters.org/stopspam/#Pledge |
| http://www.tinylist.org  ++   mailto:[EMAIL PROTECTED] |
+--Thinking| NORMAL |Thinking--+
   ++

-
Introducing NetZero Long Distance
1st month Free!
Sign up today at: www.netzerolongdistance.com

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



Re: Run as owner

2002-12-26 Thread Roman Neuhauser

  ___
 /|  /|  |   |
 ||__||  |  Please do|
/   O O\__ NOT   |
   /  \  toppost |
  /  \ \_|
 /   _\ \  ||
/|\\ \ ||
   / | | | |\/ ||
  /   \|_|_|/   |__||
 /  /  \|| ||
/   |   | /||  --|
|   |   |// |  --|
 * _|  |_|_|_|  | \-/
  *-- _--\ _ \ //   |
/  _ \\ _ //   |/
  *  /   \_ /- | - |   |
*  ___ c_c_c_C/ \C_c_c_c



# [EMAIL PROTECTED] / 2002-12-26 11:11:08 -0500:
 Kevin D. Kinsey, DaleCo, S.P. wrote:
 From: david [EMAIL PROTECTED]
 Subject: Re: Run as owner
 
 On Friday 29 November 2002 23:30, Kirk Bailey wrote:
 OK, man says to get a script to run as the owner, turn on the 4000
 bit.
 
 OK, I did. No such luck, it continues to run as the apache identity
 'nobody'.
 
 david:  I'm just wondering, why is this a problem?
 
 I believe it's 'cuz he wants the script to build or destroy
 /etc/mail/aliases..check out some earlier posts under
 different thread names, perhaps.

 Nope, I wrote a script that simply wran ID as a command and printed the 
 result, and ran it as my id of howlermo, although it was owned by root. It 
 wran as howlermo. I then ran it as grumpy. It ran as grumpy. I then ran it 
 as su, it ran as su. Permission was 755, so anyone could run it, and w 
 hoever ran it, it ran as; it assumes the id of the person running it. 
 Hmmm...

scripts cannot be set{u,g}id

-- 
If you cc me or remove the list(s) completely I'll most likely ignore
your message.see http://www.eyrie.org./~eagle/faqs/questions.html

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



Re: cron/crontab befuddlement

2002-12-26 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2002-12-26 11:08:36 -0500:
 ok, I read man cron and man crontab, and it's as clear as mud. Anyplace I 
 can read more and maybe make the light dawn on this useful feature? OR, 
 would anyone care to explain more?

certainly. 

-- 
If you cc me or remove the list(s) completely I'll most likely ignore
your message.see http://www.eyrie.org./~eagle/faqs/questions.html

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



Re: Run as owner

2002-12-26 Thread Lowell Gilbert
Kirk Bailey [EMAIL PROTECTED] writes:

 Nope, I wrote a script that simply wran ID as a command and printed
 the result, and ran it as my id of howlermo, although it was owned by
 root. It wran as howlermo. I then ran it as grumpy. It ran as
 grumpy. I then ran it as su, it ran as su. Permission was 755, so
 anyone could run it, and w hoever ran it, it ran as; it assumes the id
 of the person running it. Hmmm...

Scripts don't honor setuid bits.
[For rather important security reasons.]
I'd be surprised if there was really a manual page that said otherwise.

 Kevin D. Kinsey, DaleCo, S.P. wrote:
  From: david [EMAIL PROTECTED]
  Subject: Re: Run as owner
  On Friday 29 November 2002 23:30, Kirk Bailey wrote:
 
 OK, man says to get a script to run as the owner, turn on the 4000
  bit.
 
 OK, I did. No such luck, it continues to run as the apache identity
 'nobody'.
  david:  I'm just wondering, why is this a problem?
  I believe it's 'cuz he wants the script to build or destroy
  /etc/mail/aliases..check out some earlier posts under
  different thread names, perhaps.
  Kevin Kinsey
  DaleCo, S.P.
 
 
 
 -- 
 
 end
 
 Respectfully,
   Kirk D Bailey
 
 
 +-Thou Art Free. -Eris---+
 | http://www.howlermonkey.net  mailto:[EMAIL PROTECTED] |
 | KILL spam dead!  http://www.scambusters.org/stopspam/#Pledge |
 | http://www.tinylist.org  ++   mailto:[EMAIL PROTECTED] |
 +--Thinking| NORMAL |Thinking--+
 ++
 
 -
 Introducing NetZero Long Distance
 1st month Free!
 Sign up today at: www.netzerolongdistance.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: cron/crontab befuddlement

2002-12-26 Thread Jerry McAllister
 
 ok, I read man cron and man crontab, and it's as clear as mud. Anyplace I 
 can read more and maybe make the light dawn on this useful feature? OR, 
 would anyone care to explain more?

So, what questions do you have? What is so befuddling.

jerry

 -- 
 
 end
 
 Respectfully,
   Kirk D Bailey
 
 

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



D-Link DSB-R100 USB Radio

2002-12-26 Thread Brian Henning
I have a D-Link DSB-R100 USB Radio that i need to get working in bsd.
what ports can i use with this hardware? i tried searching for software in
the ports
directory, but i didn't find much...

thanks,

brian


ps... here is my dmesg.

dmesg
---
usb0: Intel 82371AB/EB (PIIX4) USB controller on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
ugen0: GemTek Corp USB FM Radio, rev 1.00/4.10, addr 2

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



Re: Do boot-time splash screens work?

2002-12-26 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2002-12-26 10:42:13 -0500:
 A month or so ago I was trying to get Chuck's smiling
 face on my machine during boot up.  I followed the
 instructions in man splash, but no dice.  Same old
 probing screen.
 
 Does this even work?  I tried doing it a year or so
 ago and couldn't get it working then.  I recently
 re-installed FreeBSD (new, bigger HDD!) and was going
 to try it again, but I don't want to spend time on it
 if (for example) it simply doesn't work.

I used pretty splash screens at two points in the past on different
hardware without any problems I could remember. Could you show us
your configuration?

-- 
If you cc me or remove the list(s) completely I'll most likely ignore
your message.see http://www.eyrie.org./~eagle/faqs/questions.html

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



Re: Do boot-time splash screens work?

2002-12-26 Thread Bill Moran
From: Roman Neuhauser [EMAIL PROTECTED]
# [EMAIL PROTECTED] / 2002-12-26 10:42:13 -0500:
 A month or so ago I was trying to get Chuck's smiling
 face on my machine during boot up.  I followed the
 instructions in man splash, but no dice.  Same old
 probing screen.

 Does this even work?  I tried doing it a year or so
 ago and couldn't get it working then.  I recently
 re-installed FreeBSD (new, bigger HDD!) and was going
 to try it again, but I don't want to spend time on it
 if (for example) it simply doesn't work.

I used pretty splash screens at two points in the past on different
hardware without any problems I could remember. Could you show us
your configuration?


Unfortunately, I can't give the exact config, because I didn't bother to
save it when I reinstalled (since it wasn't working anyway).
I tried following the man page to the letter, so I'll try it again here
and document my exact steps.
However, your reply is already a large portion of the answer I was
looking for: that it does work if done correctly, and therefore it's
worth me trying again.

Thanks,
Bill


_
Protect your PC - get McAfee.com VirusScan Online 
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963


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


Re: PPPoE and troubles with TCP

2002-12-26 Thread Rostislav Krasny
--- Stacey Roberts [EMAIL PROTECTED] wrote:
 On Thu, 2002-12-26 at 14:41, Rostislav Krasny wrote:
  --- Stacey Roberts [EMAIL PROTECTED] wrote:
   On Thu, 2002-12-26 at 13:16, Rostislav Krasny wrote:
--- Stacey Roberts [EMAIL PROTECTED] wrote:
 On Thu, 2002-12-26 at 12:26, Rostislav Krasny wrote:
  Hello
  
  I have Alcatel Speedtouch Home ADSL modem. I use PPPoE protocol
 for
  connection with my Internet Service Provider (ISP) through this
   ADSL
  modem. I use FreeBSD 4.7-RELEASE and ppp (a.k.a. user-ppp) for
   this. In
  the /etc/ppp/ppp.conf file I have ' set MRU 1492' and ' set MTU
   1492'
  options. This is because the maximum MTU one can use with PPPoE
 is
   1492
  according to RFC 2516. I have no problems with dialing to my
 ISP.
   But
  after the PPPoE connection is established I have troubles with
 TCP
  connections to some hosts. For example I can't go to
  hhtp://www.ssh.com/  but to http://www.freebsd.org/ or
  http://www.gnu.org/ I can. If I run 'telnet www.ssh.com 80' and
   enter
  HTTP request according to HTTP 1.1 or 1.0 protocol I don't get
 any
  answer. If I enter just 'GET /' I get some short answer. 'GET
 /' is
   an
  HTTP request according to the old HTTP 0.9 version of the
 protocol
   and
  it is rarely used today. 
 
  snipped
 
Many lines of the default: section of the ppp.conf file are not
   critical.
The only ones you need are these:

set device  PPPoE:ed0
set MRU maximum 1492
set MTU maximum 1492
enable  dns

See `man 8 ppp` for more information.

   
   Dude,
   I wasn't asking for assistance.., rather I was hoping to provide
   some help in response to your post.. :-)
   
   The reason why I asked about how you connect to your ADSL modem is
   because if its ethernet, then there is no need to use ppp.
   
   But if there's a case-requirement why you need to use ppp, then fair
   enough.
   
   Let me know either way, okay?
  
  Yes, my computer is connected to my ADSL modem by Ethernet.
  What is the way to connect with the ISP without PPP?
  Is it ethernet bridging with DHCP? My ADSL Service Provider (Bezeq)
  does not support this. Moreover, the use of ethernet bridging is
  inconvenient for me because I can't switch the ISP by myself.
  When I use PPP, over Ethernet or over whatever else, I have ISP string,
  so it is very easy to switch the ISP I'd like to use at the moment.
  
  P.S. What about my main question?
  
 
 Hi,
   I didn't really have to configure *anything* as such to establish
 connectivity on FreeBSD. The router I have holds the configurations
 requried in order to authenticate to the ISP's upstream router.

 All I have to do from FreeBSD's view is configure the external interface
 to use the router as the default route (using ifconfig or
 /stand/sysinstall). That's it.

So, your FreeBSD box is within your LAN and have do dial with ADSL at all,
only your router have. Your box have internal LAN's IP 192.168.1.8 and
your router configured to do network address and port translation.
This network configuration is completely different from my one.
I have a modem, not a router.

 As your initial problems, what happens if you set mtu to 1500 (or *not*
 define this?)? Here's what man ppp says:
  set mtu [max[imum]] [value]
  The default MTU is 1500.  At negotiation time, ppp will
 accept
  whatever MRU the peer requests (assuming it's not less than
 296
  bytes or greater than the assigned maximum).  If the MTU is
 set,
  ppp will not accept MRU values less than value.  When
 negotia-
  tions are complete, the MTU is used when writing to the
 inter-
  face, even if the peer requested a higher value MRU.  This
 can be
  useful for limiting your packet size (giving better
 bandwidth
  sharing at the expense of more header data).
 
  If the ``maximum'' keyword is used, ppp will refuse to
 negotiate
  a higher value.  The maximum MTU can be set to 2048 at
 most.
 
  If no value is given, 1500, or whatever the peer asks for
 is
  used.  A value must be given when ``maximum'' is specified.
 
 
  What does ifconfig ed0 return? Please post that output here.

This is a copy/paste of just 'ifconfig', so you can see all the interfaces:

ed0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
inet6 fe80::200:21ff:fe82:2503%ed0 prefixlen 64 scopeid 0x1
ether 00:00:21:82:25:03
faith0: flags=8002BROADCAST,MULTICAST mtu 1500
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
inet 127.0.0.1 netmask 0xff00
ppp0: flags=8010POINTOPOINT,MULTICAST mtu 1500
tun0: flags=8051UP,POINTOPOINT,RUNNING,MULTICAST mtu 1492
inet 192.117.108.59 

RE: PPPoE and troubles with TCP

2002-12-26 Thread Rostislav Krasny
--- Sten_Daniel_Sørsdal [EMAIL PROTECTED] wrote:
 
   Have you remembered to setup anything to fix the MSS in TCP packets
 going through?

RASPPPOE in my Win98SE have such option enabled by default. It's described
there to solve problem with ICS (Internet Connection Sharing). I don't see
any difference when it is disabled or enabled. RASPPPOE works just good
with MTU == 1492 in my Win98SE. However my FreeBSD in the same box have
troubles with TCP when I use PPPoE with MTU == 1492.
The configuration of TCP MSS in my FreeBSD is default, I didn't change it.

   You have disabled encryption and compression right?

Yes, all types of compression and encryption are disabled, see my previous
post with /etc/ppp/ppp.conf there.

P.S. PPPoE use 8 bytes in each ethernet packet this is the reason why 1492
is the maximum MTU with PPPoE. I found that MTU == 1484 solve my problem,
read my previous posts. But, 1484 = 1492 - 8 ! It looks like double PPPoE
usage or lack of correspondence to the standard of PPPoE protocol
described in RFC 2516.
Maybe PPPoE implementation in FreeBSD have a bug?

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

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



Re: cron/crontab befuddlement

2002-12-26 Thread Mike Jeays
Kirk Bailey wrote:


ok, I read man cron and man crontab, and it's as clear as mud. 
Anyplace I can read more and maybe make the light dawn on this useful 
feature? OR, would anyone care to explain more?

Basically, you create a file where each line is a command to be executed 
on a given schedule.  The line looks like this (first line is a 
descriptive comment):

#minutehourmdaymonthwday  command
  15 5   *   *  *   
/home/mike/bin/FindAll

This says to run the command /home/mike/bin/FindAll at 15 minutes past 
5, every day.
The asterisks mean ignore this field, in effect.

Wday is the day of the week (I think Sunday=0, Monday 1 etc, but check)
Month is the month, either 1-12 or a three-letter abbreviation, such as 
Oct
Mday is the day of the month.

So to run something at 11:15 on October 1st, you would say:
15   11   1   Oct * /home/me/mycommand.

You must create this file by running crontab -e, which will put you into
your favourite editor.  You can examine the file with crontab -l

That's it, in a nutshell - details are from memory, so please check!




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


Re: cron/crontab befuddlement

2002-12-26 Thread Kirk Bailey
ok, this is making sense. Do you recall how to configure the FreeBSD so it 
will define a preferred editor in the environment? As of now, it runs the 
default of vi, which I dispise,. I have ee and pico in my box, and 
generally run pico.



Mike Jeays wrote:
Kirk Bailey wrote:


ok, I read man cron and man crontab, and it's as clear as mud. 
Anyplace I can read more and maybe make the light dawn on this useful 
feature? OR, would anyone care to explain more?

Basically, you create a file where each line is a command to be executed 
on a given schedule.  The line looks like this (first line is a 
descriptive comment):

#minutehourmdaymonthwday  command
  15 5   *   *  *   
/home/mike/bin/FindAll

This says to run the command /home/mike/bin/FindAll at 15 minutes past 
5, every day.
The asterisks mean ignore this field, in effect.

Wday is the day of the week (I think Sunday=0, Monday 1 etc, but check)
Month is the month, either 1-12 or a three-letter abbreviation, such as 
Oct
Mday is the day of the month.

So to run something at 11:15 on October 1st, you would say:
15   11   1   Oct * /home/me/mycommand.

You must create this file by running crontab -e, which will put you into
your favourite editor.  You can examine the file with crontab -l

That's it, in a nutshell - details are from memory, so please check!







--

end

Respectfully,
 Kirk D Bailey


+-Thou Art Free. -Eris---+
| http://www.howlermonkey.net  mailto:[EMAIL PROTECTED] |
| KILL spam dead!  http://www.scambusters.org/stopspam/#Pledge |
| http://www.tinylist.org  ++   mailto:[EMAIL PROTECTED] |
+--Thinking| NORMAL |Thinking--+
   ++

-
Introducing NetZero Long Distance
1st month Free!
Sign up today at: www.netzerolongdistance.com

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



Re: cron/crontab befuddlement

2002-12-26 Thread Brian
onenice thing I've discovered is, if you want something done regularly, say
every 10 minutes, instead of typing 0,10,20,30,40,50 in the firat field, you
can just type */10 in the first field.  This is a mass space and keystroke
saver for regularly repeated stuff..

Brian

- Original Message -
From: Mike Jeays [EMAIL PROTECTED]
To: Kirk Bailey [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Thursday, December 26, 2002 9:23 AM
Subject: Re: cron/crontab befuddlement


 Kirk Bailey wrote:

  ok, I read man cron and man crontab, and it's as clear as mud.
  Anyplace I can read more and maybe make the light dawn on this useful
  feature? OR, would anyone care to explain more?
 
 Basically, you create a file where each line is a command to be executed
 on a given schedule.  The line looks like this (first line is a
 descriptive comment):

 #minutehourmdaymonthwday  command
15 5   *   *  *
 /home/mike/bin/FindAll

 This says to run the command /home/mike/bin/FindAll at 15 minutes past
 5, every day.
 The asterisks mean ignore this field, in effect.

 Wday is the day of the week (I think Sunday=0, Monday 1 etc, but check)
 Month is the month, either 1-12 or a three-letter abbreviation, such as
 Oct
 Mday is the day of the month.

 So to run something at 11:15 on October 1st, you would say:
 15   11   1   Oct * /home/me/mycommand.

 You must create this file by running crontab -e, which will put you into
 your favourite editor.  You can examine the file with crontab -l

 That's it, in a nutshell - details are from memory, so please check!




 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: cron/crontab befuddlement

2002-12-26 Thread Brian
this is a little shell dpendent.
I am a tcsh guy, so I can type setenv and see several settings including
EDITOR.  If I want to change it, I type setenv EDITOR pico, if I wanted pico
as an example.

Brian

- Original Message -
From: Kirk Bailey [EMAIL PROTECTED]
To: Mike Jeays [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Thursday, December 26, 2002 9:38 AM
Subject: Re: cron/crontab befuddlement


 ok, this is making sense. Do you recall how to configure the FreeBSD so it
 will define a preferred editor in the environment? As of now, it runs the
 default of vi, which I dispise,. I have ee and pico in my box, and
 generally run pico.



 Mike Jeays wrote:
  Kirk Bailey wrote:
 
  ok, I read man cron and man crontab, and it's as clear as mud.
  Anyplace I can read more and maybe make the light dawn on this useful
  feature? OR, would anyone care to explain more?
 
  Basically, you create a file where each line is a command to be executed
  on a given schedule.  The line looks like this (first line is a
  descriptive comment):
 
  #minutehourmdaymonthwday  command
15 5   *   *  *
  /home/mike/bin/FindAll
 
  This says to run the command /home/mike/bin/FindAll at 15 minutes past
  5, every day.
  The asterisks mean ignore this field, in effect.
 
  Wday is the day of the week (I think Sunday=0, Monday 1 etc, but check)
  Month is the month, either 1-12 or a three-letter abbreviation, such as
  Oct
  Mday is the day of the month.
 
  So to run something at 11:15 on October 1st, you would say:
  15   11   1   Oct * /home/me/mycommand.
 
  You must create this file by running crontab -e, which will put you
into
  your favourite editor.  You can examine the file with crontab -l
 
  That's it, in a nutshell - details are from memory, so please check!
 
 
 
 
 


 --

 end

 Respectfully,
   Kirk D Bailey


 +-Thou Art Free. -Eris---+
 | http://www.howlermonkey.net  mailto:[EMAIL PROTECTED] |
 | KILL spam dead!  http://www.scambusters.org/stopspam/#Pledge |
 | http://www.tinylist.org  ++   mailto:[EMAIL PROTECTED] |
 +--Thinking| NORMAL |Thinking--+
 ++

 -
 Introducing NetZero Long Distance
 1st month Free!
 Sign up today at: www.netzerolongdistance.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: cron/crontab befuddlement

2002-12-26 Thread Brian
also, pico's wordwrap can be a problem, so when you use it on critical
system files, you may want to invoke it with the -w switch, disabling
linewrap.

Brian

- Original Message -
From: Brian [EMAIL PROTECTED]
To: Kirk Bailey [EMAIL PROTECTED]; Mike Jeays [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Thursday, December 26, 2002 9:46 AM
Subject: Re: cron/crontab befuddlement


 this is a little shell dpendent.
 I am a tcsh guy, so I can type setenv and see several settings including
 EDITOR.  If I want to change it, I type setenv EDITOR pico, if I wanted
pico
 as an example.

 Brian

 - Original Message -
 From: Kirk Bailey [EMAIL PROTECTED]
 To: Mike Jeays [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Sent: Thursday, December 26, 2002 9:38 AM
 Subject: Re: cron/crontab befuddlement


  ok, this is making sense. Do you recall how to configure the FreeBSD so
it
  will define a preferred editor in the environment? As of now, it runs
the
  default of vi, which I dispise,. I have ee and pico in my box, and
  generally run pico.
 
 
 
  Mike Jeays wrote:
   Kirk Bailey wrote:
  
   ok, I read man cron and man crontab, and it's as clear as mud.
   Anyplace I can read more and maybe make the light dawn on this useful
   feature? OR, would anyone care to explain more?
  
   Basically, you create a file where each line is a command to be
executed
   on a given schedule.  The line looks like this (first line is a
   descriptive comment):
  
   #minutehourmdaymonthwday  command
 15 5   *   *  *
   /home/mike/bin/FindAll
  
   This says to run the command /home/mike/bin/FindAll at 15 minutes past
   5, every day.
   The asterisks mean ignore this field, in effect.
  
   Wday is the day of the week (I think Sunday=0, Monday 1 etc, but
check)
   Month is the month, either 1-12 or a three-letter abbreviation, such
as
   Oct
   Mday is the day of the month.
  
   So to run something at 11:15 on October 1st, you would say:
   15   11   1   Oct * /home/me/mycommand.
  
   You must create this file by running crontab -e, which will put you
 into
   your favourite editor.  You can examine the file with crontab -l
  
   That's it, in a nutshell - details are from memory, so please check!
  
  
  
  
  
 
 
  --
 
  end
 
  Respectfully,
Kirk D Bailey
 
 
  +-Thou Art Free. -Eris---+
  | http://www.howlermonkey.net  mailto:[EMAIL PROTECTED] |
  | KILL spam dead!  http://www.scambusters.org/stopspam/#Pledge |
  | http://www.tinylist.org  ++   mailto:[EMAIL PROTECTED] |
  +--Thinking| NORMAL |Thinking--+
  ++
 
  -
  Introducing NetZero Long Distance
  1st month Free!
  Sign up today at: www.netzerolongdistance.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



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



Re: cron/crontab befuddlement

2002-12-26 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2002-12-26 12:38:52 -0500:
 Mike Jeays wrote:
 Kirk Bailey wrote:
 ok, I read man cron and man crontab, and it's as clear as mud. 
 Anyplace I can read more and maybe make the light dawn on this useful 
 feature? OR, would anyone care to explain more?
 
 Basically, you create a file where each line is a command to be executed 
 on a given schedule.  The line looks like this (first line is a 
 descriptive comment):
 
 #minutehourmdaymonthwday  command
   15 5   *   *  *   
/home/mike/bin/FindAll

...

 That's it, in a nutshell - details are from memory, so please check!

 ok, this is making sense. Do you recall how to configure the FreeBSD so it 
 will define a preferred editor in the environment? As of now, it runs the 
 default of vi, which I dispise,. I have ee and pico in my box, and 
 generally run pico.

$SHELL(1), login.conf(5)

-- 
If you cc me or remove the list(s) completely I'll most likely ignore
your message.see http://www.eyrie.org./~eagle/faqs/questions.html

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



Re: XFree86 4.2.1 Signal 11 on start

2002-12-26 Thread Paul A. Scott
 From: Scott Robbins [EMAIL PROTECTED]
 I wonder if this could be the problem--I've found, on several installs
 of both Linux and FreeBSD that I had much better luck selecting
 S3 Virge (Generic) for an S3 Trio card in xf86config.
 Not sure if it'll help, but probably worth a shot.

No, it didn't help.

However, I received an off-list message from Jean-Marc Zucconi who provided
a solution.

I added: 

Option  NoInt10

to the Device section of XF86Config, and now X is running. Of course, I
had to use the curses (or shell) based configuration (rather than the GUI
utility) to get an initial XF86Config built, then added the NoInt10 option
manually.

I have to wonder why this option is necessary on XFree86-4, when it was not
needed on XFree86-3.3.6. Is it a new feature of 4?

Paul

-- 
Paul A. Scott
mailto:[EMAIL PROTECTED]
http://skycoast.us/pscott/



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



Re: cron/crontab befuddlement

2002-12-26 Thread Jack L. Stone
At 12:38 PM 12.26.2002 -0500, Kirk Bailey wrote:
ok, this is making sense. Do you recall how to configure the FreeBSD so it 
will define a preferred editor in the environment? As of now, it runs the 
default of vi, which I dispise,. I have ee and pico in my box, and 
generally run pico.



Mike Jeays wrote:
 Kirk Bailey wrote:
 
 ok, I read man cron and man crontab, and it's as clear as mud. 
 Anyplace I can read more and maybe make the light dawn on this useful 
 feature? OR, would anyone care to explain more?

 Basically, you create a file where each line is a command to be executed 
 on a given schedule.  The line looks like this (first line is a 
 descriptive comment):
 
 #minutehourmdaymonthwday  command
   15 5   *   *  *   
 /home/mike/bin/FindAll
 
 This says to run the command /home/mike/bin/FindAll at 15 minutes past 
 5, every day.
 The asterisks mean ignore this field, in effect.
 
 Wday is the day of the week (I think Sunday=0, Monday 1 etc, but check)
 Month is the month, either 1-12 or a three-letter abbreviation, such as 
 Oct
 Mday is the day of the month.
 
 So to run something at 11:15 on October 1st, you would say:
 15   11   1   Oct * /home/me/mycommand.
 
 You must create this file by running crontab -e, which will put you into
 your favourite editor.  You can examine the file with crontab -l
 
 That's it, in a nutshell - details are from memory, so please check!
 

No, you don't need to run crontab -e and can use Pico as follows (also
use the setenv to keep the editor as Pico):

Within each $HOME, just create a regular file using your preferred Pico
editor and name the file cronfile or whatever and set up the same fields.
You can copy the file from:
/usr/share/examples/etc/crontab
...to the various user homes.

After edits for commands, then just run crontab cronfile within each user
being setup.

running crontab -l will confirm if the file is active according to your
setup.

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: Backspace key under gnometerminal

2002-12-26 Thread Scott Ballantyne
A couple of weeks ago I wrote:

 How does one get consistant behavior of the backspace key in emacs and
 gnometerm? I've fed xmodmap
 
 remove Lock = Caps_Lock
 remove Control = Control_L
 keysym Control_L = Caps_Lock
 keysym Caps_Lock = Control_L
 add Lock = Caps_Lock
 add Control = Control_L
 keysym BackSpace = Delete
 
 and then
 
 echo XTerm*ttyModes: erase  | xrdb -merge
 
 which has worked for me in other unices and is documented in the
 xmodmap man page for freebsd, but no joy. It doesn't work for xterm
 either :-(
 
 Running 4.7-RELEASE for i386.
 

I received several requests for answers, but no answer. However, the
following seems to work here: Set your xmodmap as shown above but
don't use gnometerm, use xterm (this also helps if you need utmp to be
munged) and incorporate this into your resources db:
XTerm*deleteIsDEL: true

sdb
-- 
[EMAIL PROTECTED]

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



Harddisk Geometrie

2002-12-26 Thread Helmut Hoernle
hi  freebsd 

During Installation FreeBSD 4.7 does not akzept the parameters the Harddisk 
Geometrie  values of a IBM IC35L100AVV .  
the bios is showing 49275/16/255 ;
Linux  Kernel 2.4.19 can handle the disk and showing the geometrie of
199450/16/63.
FreeBSD does not want to accept this parameters and is showing
12514/255/63 . Accepting this proposal will reduce the capacity
( because of bad blocks (they aren't there) ) and produce
error messages running FreeBSD.

That seems very confusing to me.
LINUX Kernel  2.4.20 can not handle the Ali 5229 UltraDMA Controller and the 
ALI M1649 + M1535D Chipset, but FreeBSD seems to be able to handle
that.

What to do ? 

I need a FreeOS on this system; I don't know what to try next.

Can anybody help ?


thanX in Advance

Helmut


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



Re: Harddisk Geometrie

2002-12-26 Thread Jens Rehsack
Helmut Hoernle wrote:

hi  freebsd 

During Installation FreeBSD 4.7 does not akzept the parameters the Harddisk 
Geometrie  values of a IBM IC35L100AVV .  
the bios is showing 49275/16/255 ;
Linux  Kernel 2.4.19 can handle the disk and showing the geometrie of
199450/16/63.
FreeBSD does not want to accept this parameters and is showing
12514/255/63 . Accepting this proposal will reduce the capacity
( because of bad blocks (they aren't there) ) and produce
error messages running FreeBSD.

I don't understand what you tried to do. If you boot the 4.7-RELEASE 
install CD-ROM, sysinstall(8) utility starts and guides you through the 
installation sequence. If you use the builtin fdisk frontend, you never 
should be bothered with harddisk geometry.

That seems very confusing to me.
LINUX Kernel  2.4.20 can not handle the Ali 5229 UltraDMA Controller and the 
ALI M1649 + M1535D Chipset, but FreeBSD seems to be able to handle
that.

What to do ? 

Depends on what you expect.


I need a FreeOS on this system; I don't know what to try next.


I recomment to stay at 4.7 and if you have some staying power. If you 
give up fast, try a current SuSE - they are much close to windows but free.

Can anybody help ?


I think questions@ is a good start.



thanX in Advance

Helmut


Viel Glück,
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: Upgrading the Portupgrade port

2002-12-26 Thread Kent Stewart
On Thursday 26 December 2002 03:35 am, Philip J. Koenig wrote:
 Once upon a time it was said that one of the cool things about
 Portupgrade, was that you could use it to upgrade itself.
 (portupgrade -{|r|R} portupgrade)

 But this never worked for me - caused all sorts of weird Ruby and
 dependency problems, orphaned Ruby shim thingies, etc.

 So I got into the habit of completely removing Portupgrade and
 everything associated with it including all the Ruby stuff, and
 reinstalling them all, in order to upgrade. (it was the only way that
 worked for me)

 Have things improved in the meantime?  Is there an easy way to
 upgrade Portupgrade without removing everything and re-installing?  I
 currently have the 20020706 version installed.

You version is so far back that the upgrade is hopeless. You have things 
that no long exist as parts of portupgrade and your version can't deal 
with that. It is easier if you delete the portupgrade, ruby-*, 
pkg_tartup, and what ever is left and reinstall it.

FWIW, it works flawlessly now. I just recently upgraded to the 1216 
version by using portupgrade -rpuf ruby.

Kent

-- 
Kent Stewart
Richland, WA

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


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



Re: Argument list too long: limitation in grep? bash? FreeBSD?

2002-12-26 Thread Dirk-Willem van Gulik


On Tue, 24 Dec 2002, Bill Moran wrote:

 other way of overcoming this limit?

find . -name *.html | xargs grep someting

Dw


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



XFree86 troubles in 5.0 RC2

2002-12-26 Thread Stephan Assmus
Hello,

I have successfully installed FreeBSD 5.0 RC2 on my computer. Well, not
quite, that's why I'm writing... The install went pretty smooth
considering I am a total newbie to FreeBSD. I have also never used or
even installed Linux. When I tried to configure XFree86 during the
install, text mode was left and I entered a graphical configuration
tool, that seemed display my current default configuration as a tree
with symbolds for computer, graphics board, monitor and so on. I went
into some configuration dialogs using the right click context menu, but
when I was about to enter the keyboard config (or mouse?), I was
brought back to the text mode installer with a message that said
configuration of XFree86 seemed to have failed. Further atempts to
enter the graphical configuration again failed. I finished the
installation and booted the system from the harddrive. (I was very
happy that the installation indeed left the MBR untouched and I could
setup my existing bootmenu to include FreeBSD.) Some error messages
scrolled by too fast for me to read, but they seemed like nothing
serious, since the boot process continued and I got to the login
prompt. The system seems fine, just that I cannot launch the X window
system. When I type startx, I get an error message about a missing
configuration file, which makes sense to me considering configuration
failed earlier. I have then read the FreeBSD 4.7 manual about
configuring XFree86. It says to use XFree86 -configure to create an
initial configuration file. However, this too gives me an error message
saying that the following Fatal Error happened: Failed to open /dev/io
for extended I/O. I also tried what the welcome message says and
started sysinstall. From there, I navigated to configuring XFree86,
but again, the graphical configuration tool does not launch anymore.

So, I'm stuck. I actually installed FreeBSD to check out the Gnome and
KDE desktop and use Gimp. I don't know in which direction to
investigate further. Thanks for any and all help.

Regards,
Stephan


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



Re: XFree86 troubles in 5.0 RC2

2002-12-26 Thread paul beard
Stephan Assmus wrote:


So, I'm stuck. I actually installed FreeBSD to check out the Gnome and 
KDE desktop and use Gimp. I don't know in which direction to 
investigate further. Thanks for any and all help.

I would suggest installing 4.7, instead of 5.0-RC2. 5.0 hasn't 
been released yet, while 4.7 is an officially supported release.




--
Paul Beard: seeking UNIX/internet engineering work
http://paulbeard.no-ip.org/paulbeard.html
8040 27th Ave NE Seattle WA 98115 / 206 529 8400

Some programming languages manage to absorb change but withstand
progress.


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


Re: Argument list too long: limitation in grep? bash? FreeBSD?

2002-12-26 Thread Kirk Strauser

At 2002-12-25T14:02:07Z, Bill Moran [EMAIL PROTECTED] writes:

 Ahhh ... so (making sure to understand this information so I can use it
 again later) the quotes tell find to expand the pattern, without quotes
 the shell tries to do it and results in the mentioned error.

That's exactly correct.  Your original command was asking Bash to expand the
command-line to:

  grep '__FILE__' file1.html file2.html file3.html ... file3000.html

and that's just too many arguments to be passing around.  By quoting
'*.html', `find' is doing the pattern-matching internally, and it can do
this without an upper bound on the number of files it can match.

-- 
Kirk Strauser
In Googlis non est, ergo non est.

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



Partial Buildworld Possible?

2002-12-26 Thread Jonah Sherman
Hi, I would appreciate it if someone could explain why buildworld must
rebuild _everything_, even if there is one small change(or no changes).
For example, if I do the initial buildworld, then cvsup and see that code for
/bin/ls has changed, then buildworld again, it recompiles everything.
Shouldn't buildworld only recompile /bin/ls? 
Even if *nothing* changes, and I were to just run make buildworld two times 
consecutively, it still recompiles everything.  Could someone explain why
this is the behavior instead of just compiling what has changed?

Please CC [EMAIL PROTECTED] on any replies, im not currently subscribed
to -questions

Thanks,
Jonah

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



Re: Partial Buildworld Possible?

2002-12-26 Thread Kent Stewart
On Thursday 26 December 2002 08:17 am, Jonah Sherman wrote:
 Hi, I would appreciate it if someone could explain why buildworld
 must rebuild _everything_, even if there is one small change(or no
 changes). For example, if I do the initial buildworld, then cvsup and
 see that code for /bin/ls has changed, then buildworld again, it
 recompiles everything. Shouldn't buildworld only recompile /bin/ls?
 Even if *nothing* changes, and I were to just run make buildworld two
 times consecutively, it still recompiles everything.  Could someone
 explain why this is the behavior instead of just compiling what has
 changed?

The noclean option probably does that. If you watch buildworld, the 
first thing it does is clean up by rm'ing everything.

Kent


 Please CC [EMAIL PROTECTED] on any replies, im not currently
 subscribed to -questions

 Thanks,
 Jonah

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

-- 
Kent Stewart
Richland, WA

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


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



Speedtouch usb upload/download problem

2002-12-26 Thread LeBaBouk
It's seems that it is imposible to upload and to download at the same 
time with Alcatel Speedtouch USB and FreeBSD 4.7 Release #3.
The disconection seems to appear randomly.

Does someone know anything about this ? I'm a relative newbie so i would 
be happy if someone could give me a help.

Thanks.


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


linking nss_ldap against bind irs

2002-12-26 Thread James McGuire
Has anyone managed to get LDAP authentication working on FreeBSD with the
pam_ldap and nss_ldap modules?

pam_ldap is no problem, but I've heard that nss_ldap will run using a libc
linked against the BIND IRS.. Has anyone managed to do this? If so how did you go about it? Any info much appreciated.

Thanks in advance

James



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



Re: Upgrading the Portupgrade port

2002-12-26 Thread Philip J. Koenig
On 26 Dec 2002 at 11:56, Kent Stewart boldly uttered: 
 On Thursday 26 December 2002 03:35 am, Philip J. Koenig wrote:

[snip]
  Have things improved in the meantime?  Is there an easy way to
  upgrade Portupgrade without removing everything and re-installing?  I
  currently have the 20020706 version installed.
 
 You version is so far back that the upgrade is hopeless. You have things 
 that no long exist as parts of portupgrade and your version can't deal 
 with that. It is easier if you delete the portupgrade, ruby-*, 
 pkg_tartup, and what ever is left and reinstall it.
 
 FWIW, it works flawlessly now. I just recently upgraded to the 1216 
 version by using portupgrade -rpuf ruby.


Thanks for the tip, although I must admit I'm kinda surprised that a 
5-month-old version of anything is considered so ancient as to be 
un-upgradeable... particularly a program designed to upgrade other 
programs..  shrug

But I'm not really complaining, portupgrade is a boon to all 
humanity. :-)


--
Philip J. Koenig   
[EMAIL PROTECTED]
Electric Kahuna Systems -- Computers  Communications for the New 
Millenium



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



Re: Upgrading the Portupgrade port

2002-12-26 Thread Kent Stewart
On Thursday 26 December 2002 12:59 pm, Philip J. Koenig wrote:
 On 26 Dec 2002 at 11:56, Kent Stewart boldly uttered:
  On Thursday 26 December 2002 03:35 am, Philip J. Koenig wrote:

 [snip]

   Have things improved in the meantime?  Is there an easy way to
   upgrade Portupgrade without removing everything and
   re-installing?  I currently have the 20020706 version installed.
 
  You version is so far back that the upgrade is hopeless. You have
  things that no long exist as parts of portupgrade and your version
  can't deal with that. It is easier if you delete the portupgrade,
  ruby-*, pkg_tartup, and what ever is left and reinstall it.
 
  FWIW, it works flawlessly now. I just recently upgraded to the 1216
  version by using portupgrade -rpuf ruby.

 Thanks for the tip, although I must admit I'm kinda surprised that a
 5-month-old version of anything is considered so ancient as to be
 un-upgradeable... particularly a program designed to upgrade other
 programs..  shrug

The break point is around 20020907 and I can't be precise. Anything 
before that can't deal with ports that have disappeared. If you have a 
version before that, the easiest way is to delete portupgrade and its 
dependancies and reinstall it. Everything from ruby-1.6.8 to 
portupgrade is new so you don't lose any time but you do get a clean 
install on the first try.

Running portsdb -F produces signal errors when you have a port installed 
that is no longer in the port tree. I don't remember if -fu worked at 
that point or not.

Kent


 But I'm not really complaining, portupgrade is a boon to all
 humanity. :-)

-- 
Kent Stewart
Richland, WA

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


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



More Portupgrade questions

2002-12-26 Thread Philip J. Koenig
When running portsdb -uU as recommended in the Portupgrade 
documentation I'm currently getting some errors, and not sure if I 
have to do something about them or what I should do.  Couldn't find 
any suggestions in the Portsdb manpage.  

I recently removed all the Ruby stuff and portupgrade and upgraded to 
the latest version, but I got about the same errors with a version 
from July 02.

Examples:

/usr/ports/Mk/bsd.ruby.mk, line 135: Ruby 1.7 is obsolete; set 
RUBY_VER to 1.8 instead.
*** Error code 1: malformed entry: *** Error code 1
'all' not remade because of errors.:

guile-gnome-0.20_5: non-existent -- dependency list incomplete

l-1.1.3:/usr/ports/www/gtkhtml: malformed entry: l-
1.1.3:/usr/ports/www/gtkhtml: /usr/X11R6/share/gnome/ 
.keep_me:/usr/ports/misc/gnomehier

make_index: no entry for: /usr/ports/x11-toolkits/itk
make_index: no entry for: /usr/local

Warning: Duplicate INDEX entry: cvsup-without-gui-16.1f


--
Philip J. Koenig   
[EMAIL PROTECTED]
Electric Kahuna Systems -- Computers  Communications for the New 
Millenium



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



Re: Upgrading the Portupgrade port

2002-12-26 Thread Philip J. Koenig
On 26 Dec 2002 at 13:21, Kent Stewart boldly uttered: 
 On Thursday 26 December 2002 12:59 pm, Philip J. Koenig wrote:
  On 26 Dec 2002 at 11:56, Kent Stewart boldly uttered:
   On Thursday 26 December 2002 03:35 am, Philip J. Koenig wrote:
 
  [snip]
 
  Thanks for the tip, although I must admit I'm kinda surprised that a
  5-month-old version of anything is considered so ancient as to be
  un-upgradeable... particularly a program designed to upgrade other
  programs..  shrug
 
 The break point is around 20020907 and I can't be precise. Anything 
 before that can't deal with ports that have disappeared. If you have a 
 version before that, the easiest way is to delete portupgrade and its 
 dependancies and reinstall it. Everything from ruby-1.6.8 to 
 portupgrade is new so you don't lose any time but you do get a clean 
 install on the first try.
 
 Running portsdb -F produces signal errors when you have a port installed 
 that is no longer in the port tree. I don't remember if -fu worked at 
 that point or not.


Yeah I have noticed some issue with ports that have gone away also.  
I think it's part of what I was seeing in my other post about the 
errors I see when running Portsdb -uU.

BTW, I assume you meant pkgdb -F rather than portsdb -F.


--
Philip J. Koenig   
[EMAIL PROTECTED]
Electric Kahuna Systems -- Computers  Communications for the New 
Millenium



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



Re: More Portupgrade questions

2002-12-26 Thread Stacey Roberts
On Thu, 2002-12-26 at 21:32, Philip J. Koenig wrote:
 When running portsdb -uU as recommended in the Portupgrade 
 documentation I'm currently getting some errors, and not sure if I 
 have to do something about them or what I should do.  Couldn't find 
 any suggestions in the Portsdb manpage. 

portsdb -U is broken / has been broken for ages. Use the following
sequence instead:
make index
pkgdb -Fv
portsdb -u

 
 I recently removed all the Ruby stuff and portupgrade and upgraded to 
 the latest version, but I got about the same errors with a version 
 from July 02.
 
 Examples:
 
 /usr/ports/Mk/bsd.ruby.mk, line 135: Ruby 1.7 is obsolete; set 
 RUBY_VER to 1.8 instead.
 *** Error code 1: malformed entry: *** Error code 1
 'all' not remade because of errors.:
 
 guile-gnome-0.20_5: non-existent -- dependency list incomplete
 
 l-1.1.3:/usr/ports/www/gtkhtml: malformed entry: l-
 1.1.3:/usr/ports/www/gtkhtml: /usr/X11R6/share/gnome/ 
 .keep_me:/usr/ports/misc/gnomehier
 
 make_index: no entry for: /usr/ports/x11-toolkits/itk
 make_index: no entry for: /usr/local
 Warning: Duplicate INDEX entry: cvsup-without-gui-16.1f
 

Re-cvsup your ports tree and see if this still happens.

Regards,

Stacey

 
 --
 Philip J. Koenig   
 [EMAIL PROTECTED]
 Electric Kahuna Systems -- Computers  Communications for the New 
 Millenium
 
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
-- 
Stacey Roberts
B.Sc (HONS) Computer Science

Web: www.vickiandstacey.com



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



linux_base port install - sig 12 (brandelf/SVR4)

2002-12-26 Thread Peter Much

Over last months, quite a couple of people complained that they
couldn't install linux_base from ports. There is currently no clue 
given in replies about any reason for that failure.

I am sure now that these people had activated the svr4.ko 
kernel module (rsp. svr4_enable=YES in rc.conf).

Some people also complained that various linux binaries did not
work anymore since upgrading to 4.7.

The point here is that nearly all of the linux binaries have an 
brandelf of 0, that is SYSV, and not 3 aka Linux.

The behaviour of this looks a little fuzzy alltogether, but as
long as svr4.ko is not loaded and sysctl kern.fallback_elf_brand
is set to 3 (the port takes care of the latter), most things 
seem to work. If fallback_elf_brand is not set, then dynamic linked
binaries will still work, but static ones will not work except
after they get a brandelf -t Linux.

After svr4.ko is loaded, this looks a bit different: The 
kern.fallback_elf_brand variable has then no influence anymore.
Static binaries with brandelf=0 will then run into sig-12,
and those with brandelf=3 will complain about a missing 
ELF-Interpreter in /compat/svr4 (should this happen?). 
Dynamic binaries with brandelf=0 will also complain about the 
missing interpreter in /compat/svr4, only dynamic ones with 
brandelf=3 will still work.

PMc

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



Re: More Portupgrade questions

2002-12-26 Thread Philip J. Koenig
On 26 Dec 2002 at 13:39, Kent Stewart boldly uttered: 

 On Thursday 26 December 2002 01:32 pm, Philip J. Koenig wrote:
  When running portsdb -uU as recommended in the Portupgrade
  documentation I'm currently getting some errors, and not sure if I
  have to do something about them or what I should do.  Couldn't find
  any suggestions in the Portsdb manpage.
 
 Until just recently make index was broken and the only choice was 
 using -uU. There was a ~2 day band where make index was really 
 broken. 
 
 For some time now, the only way to get a full list of ports is to do a 
 make index from /usr/ports. You make get a duplicate port message but 
 it works. The -U options fills screens with messages as it encounters 
 ports that it can't deal with.


Running make index fills the screen with lots more error messages 
than portsdb -Uu.. :-)

Mostly ..no entry for.. messages, some ..Duplicate INDEX entry:.. 
messages.

Continued below.



On 26 Dec 2002 at 21:37, Stacey Roberts boldly uttered: 

 portsdb -U is broken / has been broken for ages. Use the following
 sequence instead:
 make index
 pkgdb -Fv
 portsdb -u


When running pkgdb -Fv after make index, I now get:

 /usr/ports/INDEX:1:Port info line must consist of 10 fields.
[repeats 3 times]
 
 Skip this for now? [yes]


Not sure what I should do here.  Make Index has created a mis-
formatted INDEX file?  Sigh.


[other error msgs snipped] 
  make_index: no entry for: /usr/ports/x11-toolkits/itk
  make_index: no entry for: /usr/local
  Warning: Duplicate INDEX entry: cvsup-without-gui-16.1f
  
 
 Re-cvsup your ports tree and see if this still happens.


I just cvsup'd it yesterday, this was the prerequisite to trying to 
update portupgrade and the rest of the ports.

FYI - if I'm not mistaken, cvsup-without-gui-16.1f shares the same 
code as the with gui cvsup port, but with a different build option.


--
Philip J. Koenig   
[EMAIL PROTECTED]
Electric Kahuna Systems -- Computers  Communications for the New 
Millenium



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



Re: More Portupgrade questions

2002-12-26 Thread Stacey Roberts
On Thu, 2002-12-26 at 22:21, Philip J. Koenig wrote:
 On 26 Dec 2002 at 13:39, Kent Stewart boldly uttered: 
 
  On Thursday 26 December 2002 01:32 pm, Philip J. Koenig wrote:
   When running portsdb -uU as recommended in the Portupgrade
   documentation I'm currently getting some errors, and not sure if I
   have to do something about them or what I should do.  Couldn't find
   any suggestions in the Portsdb manpage.
  
  Until just recently make index was broken and the only choice was 
  using -uU. There was a ~2 day band where make index was really 
  broken. 
  
  For some time now, the only way to get a full list of ports is to do a 
  make index from /usr/ports. You make get a duplicate port message but 
  it works. The -U options fills screens with messages as it encounters 
  ports that it can't deal with.
 
 
 Running make index fills the screen with lots more error messages 
 than portsdb -Uu.. :-)
 
 Mostly ..no entry for.. messages, some ..Duplicate INDEX entry:.. 
 messages.
 
 Continued below.
 
 
 
 On 26 Dec 2002 at 21:37, Stacey Roberts boldly uttered: 
 
  portsdb -U is broken / has been broken for ages. Use the following
  sequence instead:
  make index
  pkgdb -Fv
  portsdb -u
 
 
 When running pkgdb -Fv after make index, I now get:
 
  /usr/ports/INDEX:1:Port info line must consist of 10 fields.
 [repeats 3 times]
  
  Skip this for now? [yes]
 
 
 Not sure what I should do here.  Make Index has created a mis-
 formatted INDEX file?  Sigh.
 
 
 [other error msgs snipped] 
   make_index: no entry for: /usr/ports/x11-toolkits/itk
   make_index: no entry for: /usr/local
   Warning: Duplicate INDEX entry: cvsup-without-gui-16.1f
   
  
  Re-cvsup your ports tree and see if this still happens.
 
 
 I just cvsup'd it yesterday, this was the prerequisite to trying to 
 update portupgrade and the rest of the ports.

I'd cvsup the ports tree now, actually. 

Things get broken, someone complains, if its simple enough, a fix is
uploaded, if you're really lucky, two hours later your mirror is
updated.

Regards,

Stacey

 
 FYI - if I'm not mistaken, cvsup-without-gui-16.1f shares the same 
 code as the with gui cvsup port, but with a different build option.
 
 
 --
 Philip J. Koenig   
 [EMAIL PROTECTED]
 Electric Kahuna Systems -- Computers  Communications for the New 
 Millenium
-- 
Stacey Roberts
B.Sc (HONS) Computer Science

Web: www.vickiandstacey.com



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



Re: More Portupgrade questions

2002-12-26 Thread Kent Stewart
On Thursday 26 December 2002 02:21 pm, Philip J. Koenig wrote:
 On 26 Dec 2002 at 13:39, Kent Stewart boldly uttered:
  On Thursday 26 December 2002 01:32 pm, Philip J. Koenig wrote:
   When running portsdb -uU as recommended in the Portupgrade
   documentation I'm currently getting some errors, and not sure if
   I have to do something about them or what I should do.  Couldn't
   find any suggestions in the Portsdb manpage.
 
  Until just recently make index was broken and the only choice was
  using -uU. There was a ~2 day band where make index was really
  broken.
 
  For some time now, the only way to get a full list of ports is to
  do a make index from /usr/ports. You make get a duplicate port
  message but it works. The -U options fills screens with messages as
  it encounters ports that it can't deal with.

 Running make index fills the screen with lots more error messages
 than portsdb -Uu.. :-)

 Mostly ..no entry for.. messages, some ..Duplicate INDEX entry:..
 messages.

That was when make index was broken. If you do it today, you don't see 
that. You get a message about generating the index and that is it.


 Continued below.

 On 26 Dec 2002 at 21:37, Stacey Roberts boldly uttered:
  portsdb -U is broken / has been broken for ages. Use the following
  sequence instead:
  make index
  pkgdb -Fv
  portsdb -u

 When running pkgdb -Fv after make index, I now get:
  /usr/ports/INDEX:1:Port info line must consist of 10 fields.

 [repeats 3 times]s

  Skip this for now? [yes]

 Not sure what I should do here.  Make Index has created a mis-
 formatted INDEX file?  Sigh.


 [other error msgs snipped]

   make_index: no entry for: /usr/ports/x11-toolkits/itk
   make_index: no entry for: /usr/local
   Warning: Duplicate INDEX entry: cvsup-without-gui-16.1f
 
  Re-cvsup your ports tree and see if this still happens.

 I just cvsup'd it yesterday, this was the prerequisite to trying to
 update portupgrade and the rest of the ports.

 FYI - if I'm not mistaken, cvsup-without-gui-16.1f shares the same
 code as the with gui cvsup port, but with a different build option.

I have without-gui installed. I log everything and there isn't any point 
to building the gui and then running it from a shell script that tees 
the output.

FWIW, I just cvsuped ports-all and I didn't get any messages using make 
index. I would redo your port cvsup.

Kent

-- 
Kent Stewart
Richland, WA

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


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



Re: Can't route past gateway

2002-12-26 Thread Adam Lofstedt
  #ipnat -l
  List of active MAP/redirect filters:
  map x10 192.168.1.0/24 - 0.0.0.0/32 portmap
 tcp/udp
  4:6
  map x10 192.168.1.0/24 - 0.0.0.0/32
   ^^^
   Shouldn't that be xl0?
 
 
   Fer

DOH! Dang fonts!

I guess that ends my short career as a network admin. 
If anyone is looking for me, I am going to get my eyes
thoroughly examined, and then re-enroll in the first
grade (that is, if they will except me).  :)

Thanks Fernando!

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

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



Re: qmail toaster wont deliver to v mailboxes

2002-12-26 Thread Keith Spencer
Hi Brian
 --- Brian Jackson [EMAIL PROTECTED] wrote: 
Keith Spencer wrote:
  
  But qmail bounces incoming mail claiming the
 account
  does not exist on the server. It will deliver mail
 fro
  the postmaster account but no others!
  I have no idea where to look to config it. Any
 clues
  guys?
  Keith Spencer
  
  
 
 What does your /var/log/qmail/current file say?
 
 $tail -f /var/log/qmail/current | tai64nlocal
 
 will give you a running commentary - do that in one
 window, send some 
 messages in another and see what the errors are.
Brian...I dont have such a /var/log/qmail/current
beast!
   :(

http://movies.yahoo.com.au - Yahoo! Movies
- What's on at your local cinema?

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



Re: Partial Buildworld Possible?

2002-12-26 Thread Lowell Gilbert
Jonah Sherman [EMAIL PROTECTED] writes:

 Hi, I would appreciate it if someone could explain why buildworld must
 rebuild _everything_, even if there is one small change(or no changes).
 For example, if I do the initial buildworld, then cvsup and see that code for
 /bin/ls has changed, then buildworld again, it recompiles everything.
 Shouldn't buildworld only recompile /bin/ls? 
 Even if *nothing* changes, and I were to just run make buildworld two times 
 consecutively, it still recompiles everything.  Could someone explain why
 this is the behavior instead of just compiling what has changed?

The reason is that there's a kind of dependency involved that make(1)
isn't good at handling.  When the compiler toolchain changes, make won't
notice, so it always rebuilds the tools first and then rebuilds the
world with the new tools.  If you don't want it to do that, you can use
the fact that your brain is smarter than make, and rebuild just the part
you want (or use NOCLEAN, or other options) for that one shot.

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



VIA USB support problem...

2002-12-26 Thread Adam K Kirchhoff

I'm having a difficult time getting any USB devices to work under -CURRENT 
with a VIA UHCI controller.

uhci0: VIA 83C572 USB controller port 0xd400-0xd41f irq 5 at device 7.2 on pci0
usb0: VIA 83C572 USB controller on uhci0
usb0: USB revision 1.0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhub0: port error, restarting port 1
uhub0: port error, giving up port 1
ums0: Logitech USB Receiver, rev 1.10/15.00, addr 2, iclass 3/1
ums0: 7 buttons and Z dir.
uhub0: port error, restarting port 2
uhub0: port error, giving up port 2
uhub1: Texas Instruments TUSB2046 hub, class 9/0, rev 1.10/1.25, addr 3
uhub1: 4 ports with 4 removable, self powered
ugen0: Logitech product 0xc207, rev 1.00/1.04, addr 4
ugen0: setting configuration index 0 failed
device_probe_and_attach: ugen0 attach returned 6
uhci1: VIA 83C572 USB controller port 0xd800-0xd81f irq 5 at device 7.3 on pci0
usb1: VIA 83C572 USB controller on uhci1
usb1: USB revision 1.0
uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhub2: port error, restarting port 1
uhub2: port error, giving up port 1
uhub2: port error, restarting port 2
uhub2: port error, giving up port 2

The above is from dmesg...  As you can see, it detects the UHCI
controller, and sees the various devices (Logitech joystick: ugen0, 
Logitech mouse: ums0) but they're completely unusable.  I'm *assuming* it 
has something to do with the port error messages, but I'm not sure how 
to fix this.  

So, I guess the real question is, where should I be asking about this?

Adam


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



Re: ghost-ing a ufs+vinum disk

2002-12-26 Thread Greg 'groggy' Lehey
On Wednesday, 25 December 2002 at 22:07:48 -0600, Hari Bhaskaran wrote:
 On Thu, Dec 26, 2002 at 01:40:58PM +1030, Greg 'groggy' Lehey wrote:

 I am looking for a method to dump my 'current' installation
 (which includes couple of vinum volumes + some other normal
 UFS partitions) to another machine where I have access to

 What's wrong with tar?

 I was trying to find a way to 'snapshot' my installation
 (including partitions, vinum configuration etc), so that
 I can return to the same state later if I mess something
 up (without re-running the installer again)

The Vinum configuration is stored on the drives themselves.  If you
want a copy, use the vinum dumpconfig command.

Apart from that, what's wrong with tar?

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers

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



Re: More Portupgrade questions

2002-12-26 Thread Philip J. Koenig
On 26 Dec 2002 at 14:31, Kent Stewart boldly uttered: 
 On Thursday 26 December 2002 02:21 pm, Philip J. Koenig wrote:

  Running make index fills the screen with lots more error messages
  than portsdb -Uu.. :-)
 
  Mostly ..no entry for.. messages, some ..Duplicate INDEX entry:..
  messages.
 
 That was when make index was broken. If you do it today, you don't see 
 that. You get a message about generating the index and that is it.


Actually that was when I ran it just before writing that email.

Just before writing this message, I re-cvsup'd ports-all.  As I am 
writing this, I did make index again.  No more no entry for 
errors, but I did get 4 Duplicate INDEX entry errors.

Progress. :-)

Continued below.


  [other error msgs snipped]
 
make_index: no entry for: /usr/ports/x11-toolkits/itk
make_index: no entry for: /usr/local
Warning: Duplicate INDEX entry: cvsup-without-gui-16.1f
  
   Re-cvsup your ports tree and see if this still happens.
 
  I just cvsup'd it yesterday, this was the prerequisite to trying to
  update portupgrade and the rest of the ports.
 
  FYI - if I'm not mistaken, cvsup-without-gui-16.1f shares the same
  code as the with gui cvsup port, but with a different build option.
 
 I have without-gui installed. I log everything and there isn't any point 
 to building the gui and then running it from a shell script that tees 
 the output.


The only reason I mentioned that port is because it showed up in the 
list of port errors.  

It looks like all these duplicate errors are for ports which 
reference another port but just change the build options slightly.  
IE the Makefile for cvsup-without-gui has just the following 2 lines:

MASTERDIR=  ${.CURDIR}/..cvsup
WITHOUT_X11=yes


This is starting to make sense now.

As a matter of fact, after removing some orphaned ports and fixing up 
some dependencies, everything is looking copacetic.  Now for some 
actual port upgrading.  Thanks for all the help folks.



--
Philip J. Koenig   [EMAIL PROTECTED]
Electric Kahuna Systems -- Computers  Communications for the New Millenium



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



Re: vinum mirror

2002-12-26 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2002-12-27 10:50:40 +1030:
 On Thursday, 26 December 2002 at 11:16:39 +0100, Roman Neuhauser wrote:
  # [EMAIL PROTECTED] / 2002-12-26 08:56:51 +0100:
  I'm trying to setup a mirrored volume, but haven't gotten too far.
 
  A freshly installed 4.7-RELEASE, with
  ad0s1{a,b,e} - /, swap, /usr
  da{0,1}s1{b,e} - swap, future-mirrored-var
 
  right now, I have /var on da0s1e, the goal is to have it mirrorred on
  da1s1e. I've read www.vinumvm.org/vinum/fullintro.html (a bit over my
  head), and am trying to go along /usr/share/doc/articles/vinum/.
 
  ...
 
  # fsck -n /dev/vinum/mirror
  ** /dev/vinum/mirror (NO WRITE)
  BAD SUPER BLOCK: MAGIC NUMBER WRONG
  /dev/vinum/mirror: CANNOT FIGURE OUT FILE SYSTEM PARTITION
 
  got past that: the bootstrapping vinum article doesn't mention
  that disklabel output is in sectors while vinum defaults to bytes;
  and I didn't notice this for some reason.
 
 There wasn't anything obviously wrong in the output you posted before.

yes I know. I thought I implied in the followup that the problem was
in the part I didn't show: in the `vinum create` config files. The
len and driveoffset values didn't specify the s suffix; the
numbers were as output by disklabel (sectors), but vinum interprets
unqualified values as bytes. Once I turned the the
len 69729144 driveoffset 265 into len 69729144s driveoffset 265s
all was well.
 
  oh, BTW, if you read this, Greg, I got panic with these two
  config files (drive a in both):
 
 What was the panic?  Where's the dump?

signal 12, and I don't know more. it was early in the morning after
a night of RTFMing and other futile attempts to get it to work, and
I couldn't wait to get to bed. :)
 
 I've just put up review drafts for the Vinum chapter of the upcoming
 fourth edition of The Complete FreeBSD at
 http://www.vinumvm.org/cfbsd/vinum.pdf and
 http://www.vinumvm.org/cfbsd/vinum.txt.  It contains a considerable
 amount of completely new material There may be some loose ends there.
 I'd be interested in feedback.

I'll take a look. Thanks for the software, by the way.

-- 
If you cc me or remove the list(s) completely I'll most likely ignore
your message.see http://www.eyrie.org./~eagle/faqs/questions.html

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



Re: VIA USB support problem...

2002-12-26 Thread Sergey V. Golitzyn
On Friday 27 December 2002 02:44, Adam K Kirchhoff wrote:
 I'm having a difficult time getting any USB devices to work under -CURRENT
 with a VIA UHCI controller.

 uhci0: VIA 83C572 USB controller port 0xd400-0xd41f irq 5 at device 7.2
 on pci0 usb0: VIA 83C572 USB controller on uhci0
 usb0: USB revision 1.0
 uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
 uhub0: 2 ports with 2 removable, self powered
 uhub0: port error, restarting port 1
 uhub0: port error, giving up port 1
 ums0: Logitech USB Receiver, rev 1.10/15.00, addr 2, iclass 3/1
 ums0: 7 buttons and Z dir.
 uhub0: port error, restarting port 2
 uhub0: port error, giving up port 2
 uhub1: Texas Instruments TUSB2046 hub, class 9/0, rev 1.10/1.25, addr 3
 uhub1: 4 ports with 4 removable, self powered
 ugen0: Logitech product 0xc207, rev 1.00/1.04, addr 4
 ugen0: setting configuration index 0 failed
 device_probe_and_attach: ugen0 attach returned 6
 uhci1: VIA 83C572 USB controller port 0xd800-0xd81f irq 5 at device 7.3
 on pci0 usb1: VIA 83C572 USB controller on uhci1
 usb1: USB revision 1.0
 uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
 uhub2: 2 ports with 2 removable, self powered
 uhub2: port error, restarting port 1
 uhub2: port error, giving up port 1
 uhub2: port error, restarting port 2
 uhub2: port error, giving up port 2

 The above is from dmesg...  As you can see, it detects the UHCI
 controller, and sees the various devices (Logitech joystick: ugen0,
 Logitech mouse: ums0) but they're completely unusable.  I'm *assuming* it
 has something to do with the port error messages, but I'm not sure how
 to fix this.

 So, I guess the real question is, where should I be asking about this?

 Adam


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



As You Can see bellow, I have the same VIA USB and Logitech USB mouse, but 
it's fine working from September, but I Have Another problem, my TV Tuner 
Playung Audio, but don't show picture when i use fxtv... %-)) 
As a result I Have TV Radio :-

Try to Attach You Kernel Configuration and Preloaded modules? may be you 
forgot load USB module

Sergey V. Golitzyn (Russia)
Unix Rulez, Linux SuckS



 My Dmesg For Stufff
Copyright (c) 1992-2002 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 5.0-CURRENT #24: Sat Dec 21 15:45:18 MSK 2002
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/HIHIHAHA
Preloaded elf kernel /boot/kernel/kernel at 0xc049c000.
Preloaded elf module /boot/kernel/vesa.ko at 0xc049c0a8.
Preloaded elf module /boot/kernel/linux.ko at 0xc049c154.
Preloaded elf module /boot/kernel/snd_emu10k1.ko at 0xc049c200.
Preloaded elf module /boot/kernel/snd_pcm.ko at 0xc049c2b0.
Preloaded elf module /boot/kernel/bktr.ko at 0xc049c35c.
Preloaded elf module /boot/kernel/bktr_mem.ko at 0xc049c408.
Timecounter i8254  frequency 1193182 Hz
Timecounter TSC  frequency 1336369739 Hz
CPU: AMD Athlon(tm) XP 1500+ (1336.37-MHz 686-class CPU)
  Origin = AuthenticAMD  Id = 0x662  Stepping = 2
  
Features=0x383f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
  AMD Features=0xc048MP,AMIE,DSP,3DNow!
real memory  = 268369920 (255 MB)
avail memory = 255819776 (243 MB)
Initializing GEOMetry subsystem
bktr_mem: memory holder loaded
Pentium Pro MTRR support enabled
VESA: v3.0, 65536k memory, flags:0x1, mode table:0xc0446c22 (122)
VESA: NVidia
npx0: math processor on motherboard
npx0: INT 16 interface
acpi0: VIA694 AWRDACPI on motherboard
ACPI-0625: *** Info: GPE Block0 defined as GPE0 to GPE15
Using $PIR table, 8 entries at 0xc00fdee0
acpi0: power button is handled as a fixed feature programming model.
Timecounter ACPI-fast  frequency 3579545 Hz
acpi_timer0: 24-bit timer at 3.579545MHz port 0x4008-0x400b on acpi0
acpi_cpu0: CPU on acpi0
acpi_tz0: thermal zone on acpi0
acpi_button0: Power Button on acpi0
acpi_button1: Sleep Button on acpi0
pcib0: ACPI Host-PCI bridge port 
0x5000-0x500f,0x4080-0x40ff,0x4000-0x407f,0xcf8-0xcff on acpi0
pci0: ACPI PCI bus on pcib0
agp0: VIA Generic host to PCI bridge mem 0xe800-0xebff at device 0.0 
on pci0
pcib1: PCI-PCI bridge at device 1.0 on pci0
pci1: PCI bus on pcib1
pci1: display, VGA at device 0.0 (no driver attached)
bktr0: BrookTree 878 mem 0xee00-0xee000fff irq 10 at device 9.0 on pci0
bktr0: AVer Media TV/FM, Philips PAL tuner.
pci0: multimedia at device 9.1 (no driver attached)
pcm0: Creative EMU10K1 port 0xd000-0xd01f irq 7 at device 12.0 on pci0
isab0: PCI-ISA bridge at device 17.0 on pci0
isa0: ISA bus on isab0
atapci0: VIA 8233 ATA100 controller port 0xd800-0xd80f at device 17.1 on 
pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
uhci0: VIA 83C572 USB controller port 0xdc00-0xdc1f irq 11 at device 17.2 on 
pci0
usb0: VIA 83C572 USB 

Re: VIA USB support problem...

2002-12-26 Thread Adam K Kirchhoff

On Fri, 27 Dec 2002, Sergey V. Golitzyn wrote:

 On Friday 27 December 2002 02:44, Adam K Kirchhoff wrote:
  I'm having a difficult time getting any USB devices to work under -CURRENT
  with a VIA UHCI controller.
 
  uhci0: VIA 83C572 USB controller port 0xd400-0xd41f irq 5 at device 7.2
  on pci0 usb0: VIA 83C572 USB controller on uhci0
  usb0: USB revision 1.0
  uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
  uhub0: 2 ports with 2 removable, self powered
  uhub0: port error, restarting port 1
  uhub0: port error, giving up port 1
  ums0: Logitech USB Receiver, rev 1.10/15.00, addr 2, iclass 3/1
  ums0: 7 buttons and Z dir.
  uhub0: port error, restarting port 2
  uhub0: port error, giving up port 2
  uhub1: Texas Instruments TUSB2046 hub, class 9/0, rev 1.10/1.25, addr 3
  uhub1: 4 ports with 4 removable, self powered
  ugen0: Logitech product 0xc207, rev 1.00/1.04, addr 4
  ugen0: setting configuration index 0 failed
  device_probe_and_attach: ugen0 attach returned 6
  uhci1: VIA 83C572 USB controller port 0xd800-0xd81f irq 5 at device 7.3
  on pci0 usb1: VIA 83C572 USB controller on uhci1
  usb1: USB revision 1.0
  uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
  uhub2: 2 ports with 2 removable, self powered
  uhub2: port error, restarting port 1
  uhub2: port error, giving up port 1
  uhub2: port error, restarting port 2
  uhub2: port error, giving up port 2
 
  The above is from dmesg...  As you can see, it detects the UHCI
  controller, and sees the various devices (Logitech joystick: ugen0,
  Logitech mouse: ums0) but they're completely unusable.  I'm *assuming* it
  has something to do with the port error messages, but I'm not sure how
  to fix this.
 
  So, I guess the real question is, where should I be asking about this?

 As You Can see bellow, I have the same VIA USB and Logitech USB mouse, but
 it's fine working from September, but I Have Another problem, my TV Tuner
 Playung Audio, but don't show picture when i use fxtv... %-))
 As a result I Have TV Radio :-

 Try to Attach You Kernel Configuration and Preloaded modules? may be you
 forgot load USB module

USB is compiled directly into the kernel, as you can see from the
configuration file I've attached.

Adam

#
# GENERIC -- Generic kernel configuration file for FreeBSD/i386
#
# For more information on this file, please read the handbook section on
# Kernel Configuration Files:
#
#
http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
#
# The handbook is also available locally in /usr/share/doc/handbook
# if you've installed the doc distribution, otherwise always see the
# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
# latest information.
#
# An exhaustive list of options and more detailed explanations of the
# device lines is also present in the ../../conf/NOTES and NOTES files. 
# If you are in doubt as to the purpose or necessity of a line, check first 
# in NOTES.
#
# $FreeBSD: src/sys/i386/conf/GENERIC,v 1.369 2002/10/19 16:54:07 rwatson Exp $

machine i386
cpu I686_CPU
ident   SORROW
maxusers0

#To statically compile in device wiring instead of /boot/device.hints
#hints  GENERIC.hints #Default places to look for devices.

makeoptions DEBUG=-g#Build kernel with gdb(1) debug symbols

options INET#InterNETworking
options INET6   #IPv6 communications protocols
options FFS #Berkeley Fast Filesystem
options SOFTUPDATES #Enable FFS soft updates support
options UFS_ACL #Support for access control lists
options UFS_DIRHASH #Improve performance on big directories
options MD_ROOT #MD is a potential root device
options NFSCLIENT   #Network Filesystem Client
options NFSSERVER   #Network Filesystem Server
options NFS_ROOT#NFS usable as root device, requires NFSCLIENT
options MSDOSFS #MSDOS Filesystem
options CD9660  #ISO 9660 Filesystem
options EXT2FS  #Linux filesystem
options PROCFS  #Process filesystem (requires PSEUDOFS)
options PSEUDOFS#Pseudo-filesystem framework
options COMPAT_43   #Compatible with BSD 4.3 [KEEP THIS!]
options COMPAT_FREEBSD4 #Compatible with FreeBSD4
options SCSI_DELAY=3000 #Delay (in ms) before probing SCSI
options KTRACE  #ktrace(1) support
options SYSVSHM #SYSV-style shared memory
options SYSVMSG #SYSV-style message queues
options SYSVSEM #SYSV-style semaphores
options _KPOSIX_PRIORITY_SCHEDULING 

Re: 3c589/PCMCIA.

2002-12-26 Thread lewiz
On Thu, Dec 26, 2002 at 09:46:51AM +0100, Marcel Stangenberger wrote:
 i have almost the same problem with my 3Com 3C589 card.
 The light is not suppossed to blink tho, when i boot windows the light
 simply burns to indicate link and that is al it does. When i boot freebsd
 the light goes on and it does recieve a DHCP link. But after that all
 network communication fails. If not yet found a solution to it. But i was
 thinking that it might be because the pcmcia-controller from toshiba
 (laptop is a tecra 700CT) is not supported?

Yeah, that sounds exactly the same as my problem.  I have recently
learned about the media option for ifconfig.  I tried starting a fixit
console directly after the installer started and running:

ifconfig ep0 media 10base2/BNC

This worked fine and switched the connection.  The problem is, this now
causes the machine to _HANG_ if I try and change any settings.  So I
plugged it back into a hub.  Nothing happens, no light on the hub yet a
solid LED on the 3COM connector thing.

I have a Gateway Solo and I'm fairly sure the PCMCIA card is supported
because it probes the card fine, it just fails to work.

I'll post a followup if I find out any more.

  Thanks for your info,

-lewiz.

-- 
Due to circumstances beyond your control, you are master of your fate
and captain of your soul.

--|| url: http://lewiz.info/ | http://www.westwood.karoo.net/pgpkey ||--



msg13372/pgp0.pgp
Description: PGP signature


Re: VIA USB support problem...

2002-12-26 Thread Sergey V. Golitzyn
Try to add 

device  acpi
device  ohci# OHCI PCI-USB interface

into your kernel configuration...

Any more diffrances i don't see...
See my kernel, if it will help you ...



On Friday 27 December 2002 05:01, you wrote:
 On Fri, 27 Dec 2002, Sergey V. Golitzyn wrote:
  On Friday 27 December 2002 02:44, Adam K Kirchhoff wrote:
   I'm having a difficult time getting any USB devices to work under
   -CURRENT with a VIA UHCI controller.
  
   uhci0: VIA 83C572 USB controller port 0xd400-0xd41f irq 5 at device
   7.2 on pci0 usb0: VIA 83C572 USB controller on uhci0
   usb0: USB revision 1.0
   uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
   uhub0: 2 ports with 2 removable, self powered
   uhub0: port error, restarting port 1
   uhub0: port error, giving up port 1
   ums0: Logitech USB Receiver, rev 1.10/15.00, addr 2, iclass 3/1
   ums0: 7 buttons and Z dir.
   uhub0: port error, restarting port 2
   uhub0: port error, giving up port 2
   uhub1: Texas Instruments TUSB2046 hub, class 9/0, rev 1.10/1.25, addr 3
   uhub1: 4 ports with 4 removable, self powered
   ugen0: Logitech product 0xc207, rev 1.00/1.04, addr 4
   ugen0: setting configuration index 0 failed
   device_probe_and_attach: ugen0 attach returned 6
   uhci1: VIA 83C572 USB controller port 0xd800-0xd81f irq 5 at device
   7.3 on pci0 usb1: VIA 83C572 USB controller on uhci1
   usb1: USB revision 1.0
   uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
   uhub2: 2 ports with 2 removable, self powered
   uhub2: port error, restarting port 1
   uhub2: port error, giving up port 1
   uhub2: port error, restarting port 2
   uhub2: port error, giving up port 2
  
   The above is from dmesg...  As you can see, it detects the UHCI
   controller, and sees the various devices (Logitech joystick: ugen0,
   Logitech mouse: ums0) but they're completely unusable.  I'm *assuming*
   it has something to do with the port error messages, but I'm not sure
   how to fix this.
  
   So, I guess the real question is, where should I be asking about this?
 
  As You Can see bellow, I have the same VIA USB and Logitech USB mouse,
  but it's fine working from September, but I Have Another problem, my TV
  Tuner Playung Audio, but don't show picture when i use fxtv... %-))
  As a result I Have TV Radio :-
 
  Try to Attach You Kernel Configuration and Preloaded modules? may be you
  forgot load USB module

 USB is compiled directly into the kernel, as you can see from the
 configuration file I've attached.

 Adam

#
# GENERIC -- Generic kernel configuration file for FreeBSD/i386
#
# For more information on this file, please read the handbook section on
# Kernel Configuration Files:
#
#http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
#
# The handbook is also available locally in /usr/share/doc/handbook
# if you've installed the doc distribution, otherwise always see the
# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
# latest information.
#
# An exhaustive list of options and more detailed explanations of the
# device lines is also present in the ../../conf/NOTES and NOTES files. 
# If you are in doubt as to the purpose or necessity of a line, check first 
# in NOTES.
#
# $FreeBSD: src/sys/i386/conf/HIHIHAHA,v 1.369 2002/10/19 16:54:07 rwatson Exp $

machine i386
cpu I486_CPU
cpu I586_CPU
cpu I686_CPU
ident   HIHIHAHA
maxusers64

#To statically compile in device wiring instead of /boot/device.hints
#hints  GENERIC.hints #Default places to look for devices.

#makeoptionsDEBUG=-g#Build kernel with gdb(1) debug symbols

options INET#InterNETworking
#optionsINET6   #IPv6 communications protocols
options FFS #Berkeley Fast Filesystem
options SOFTUPDATES #Enable FFS soft updates support
options UFS_ACL #Support for access control lists
options UFS_DIRHASH #Improve performance on big directories
options MD_ROOT #MD is a potential root device
#optionsNFSCLIENT   #Network Filesystem Client
#optionsNFSSERVER   #Network Filesystem Server
#optionsNFS_ROOT#NFS usable as root device, requires NFSCLIENT
options CPU_ENABLE_SSE

options MSDOSFS #MSDOS Filesystem
options CD9660  #ISO 9660 Filesystem
options PROCFS  #Process filesystem (requires PSEUDOFS)
options PSEUDOFS#Pseudo-filesystem framework
options COMPAT_43   #Compatible with BSD 4.3 [KEEP THIS!]
options COMPAT_FREEBSD4 #Compatible with FreeBSD4
#optionsSCSI_DELAY=15000#Delay (in ms) before probing SCSI
options KTRACE   

Re: XFree86 troubles in 5.0 RC2

2002-12-26 Thread Brian Astill
Stephan Assmus wrote:


So, I'm stuck. I actually installed FreeBSD to check out the Gnome 
and KDE desktop and use Gimp. I don't know in which direction to 
investigate further. Thanks for any and all help.


Have you tried the text config in /stand/sysinstall?  It does work - 
very well.  That would be my first recommendation.

If still no joy - find XF86Config.  It should be in /etc/X11/  It is a 
plain text file  which you can edit as root.   You will need to consult 
your monitor manual for its vertical and horizontal refresh rates and 
your video card manual for the amount of video RAM and likely video 
driver BUT you can set up the system exactly as you wish (which is why 
many of us prefer do do this rather than trust an install program).

If you don't have the manuals, surf the net - you could use Lynx in FBSD 
for this, or your other OS.  Google invariably leads to the right places 
for the info you need.

HTH

--
Brian


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


Re: Upgrading the Portupgrade port

2002-12-26 Thread Brian Astill
Kent Stewart wrote:


On Thursday 26 December 2002 03:35 am, Philip J. Koenig wrote:
 

So I got into the habit of completely removing Portupgrade and
everything associated with it including all the Ruby stuff, and
reinstalling them all, in order to upgrade. (it was the only way that
worked for me)

Have things improved in the meantime?  Is there an easy way to
upgrade Portupgrade without removing everything and re-installing?  I
currently have the 20020706 version installed.
   


You version is so far back that the upgrade is hopeless.



Surely you jest?  July 2002 - ie 5 months ago is - hoplessly out of 
date?  Too out of date for portupgrade?
Sorry, I don't believe you.

--
Brian

You have things 
that no long exist as parts of portupgrade and your version can't deal 
with that. It is easier if you delete the portupgrade, ruby-*, 
pkg_tartup, and what ever is left and reinstall it.

FWIW, it works flawlessly now. I just recently upgraded to the 1216 
version by using portupgrade -rpuf ruby.

Kent

 





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



Re: VIA USB support problem...

2002-12-26 Thread Sergey V. Golitzyn


Sorry, i was wrong  about acpi, in the manuals said what
///
 Note that the acpi driver is automatically loaded by the bootloader, and
 should not normally be compiled into the kernel.
//

but i have it in kernel and system is stable, as i can see... :-)))

Sergey V. Golitzyn (Russia)



On Friday 27 December 2002 05:27, Sergey V. Golitzyn wrote:
 Try to add

 deviceacpi
 deviceohci# OHCI PCI-USB interface

 into your kernel configuration...

 Any more diffrances i don't see...
 See my kernel, if it will help you ...

 On Friday 27 December 2002 05:01, you wrote:
  On Fri, 27 Dec 2002, Sergey V. Golitzyn wrote:
   On Friday 27 December 2002 02:44, Adam K Kirchhoff wrote:
I'm having a difficult time getting any USB devices to work under
-CURRENT with a VIA UHCI controller.
   
uhci0: VIA 83C572 USB controller port 0xd400-0xd41f irq 5 at device
7.2 on pci0 usb0: VIA 83C572 USB controller on uhci0
usb0: USB revision 1.0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhub0: port error, restarting port 1
uhub0: port error, giving up port 1
ums0: Logitech USB Receiver, rev 1.10/15.00, addr 2, iclass 3/1
ums0: 7 buttons and Z dir.
uhub0: port error, restarting port 2
uhub0: port error, giving up port 2
uhub1: Texas Instruments TUSB2046 hub, class 9/0, rev 1.10/1.25, addr
3 uhub1: 4 ports with 4 removable, self powered
ugen0: Logitech product 0xc207, rev 1.00/1.04, addr 4
ugen0: setting configuration index 0 failed
device_probe_and_attach: ugen0 attach returned 6
uhci1: VIA 83C572 USB controller port 0xd800-0xd81f irq 5 at device
7.3 on pci0 usb1: VIA 83C572 USB controller on uhci1
usb1: USB revision 1.0
uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhub2: port error, restarting port 1
uhub2: port error, giving up port 1
uhub2: port error, restarting port 2
uhub2: port error, giving up port 2
   
The above is from dmesg...  As you can see, it detects the UHCI
controller, and sees the various devices (Logitech joystick: ugen0,
Logitech mouse: ums0) but they're completely unusable.  I'm
*assuming* it has something to do with the port error messages, but
I'm not sure how to fix this.
   
So, I guess the real question is, where should I be asking about
this?
  
   As You Can see bellow, I have the same VIA USB and Logitech USB mouse,
   but it's fine working from September, but I Have Another problem, my TV
   Tuner Playung Audio, but don't show picture when i use fxtv... %-))
   As a result I Have TV Radio :-
  
   Try to Attach You Kernel Configuration and Preloaded modules? may be
   you forgot load USB module
 
  USB is compiled directly into the kernel, as you can see from the
  configuration file I've attached.
 
  Adam


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



PCCARD DHCP and media.

2002-12-26 Thread lewiz
Hi,

  I've just got a 3C589 PCCARD NIC going.  However, I'm using the BNC
(10Base2) connector so I need to specify ``media 10base2/BNC'' in
rc.conf.  However, if I do this DHCP doesn't seem to work.  Is there any
way that I can combine media 10base2/BNC and DHCP into pccard_ifconfig?

  Thanks,

-lewiz.

-- 
Pereant, inquit, qui ante nos nostra dixerunt.
Confound those who have said our remarks before us.
-- Aelius Donatus

--|| url: http://lewiz.info/ | http://www.westwood.karoo.net/pgpkey ||--



msg13377/pgp0.pgp
Description: PGP signature


Re: 3c589/PCMCIA.

2002-12-26 Thread lewiz
On Thu, Dec 26, 2002 at 09:46:51AM +0100, Marcel Stangenberger wrote:
 i have almost the same problem with my 3Com 3C589 card.
 The light is not suppossed to blink tho, when i boot windows the light
 simply burns to indicate link and that is al it does. When i boot freebsd
 the light goes on and it does recieve a DHCP link. But after that all
 network communication fails. If not yet found a solution to it. But i was
 thinking that it might be because the pcmcia-controller from toshiba
 (laptop is a tecra 700CT) is not supported?
 

w00t!

I was playing around with some options on a 4.4-RELEASE disc1 ISO I'd
burnt.  I have now got it working.  I'm just about to test if it'll work
on 5.0-DP2.  A guy on eu.openprojects.net in #freebsd told me to disable
all unrequired devices in visual config.  I did this and it actually
didn't even detect this time, so I switched slots, rebooted and did the
same.  After this it actually detected and DHCP worked to resolve my IP.
I used the 10BaseT port (UTP) instead of my preferred 10Base2 (BNC).

Maybe you could try the same.

-lewiz.

-- 
I have the world's largest collection of seashells.  I keep it
scattered around the beaches of the world ... Perhaps you've seen it.
-- Steven Wright

--|| url: http://lewiz.info/ | http://www.westwood.karoo.net/pgpkey ||--



msg13378/pgp0.pgp
Description: PGP signature


subscribe

2002-12-26 Thread Tom Parquette
subscribe freebsd-questions


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



Problem building JDK13

2002-12-26 Thread Tom Parquette
Please CC me on any replies.  Thanks...

This is a 4.7-STABLE system built in the last couple of days.
When I start Mozilla, it complains that it cannot open 
/usr/local/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so.  This 
led me to believe I had to install jdk 1.3.1.  This is where I'm stuck...

when I make the port, I get:
=== Extracting for jdk-1.3.1p7_2
 Checksum OK for j2sdk-1_3_1-src.tar.gz
 Checksum OK for j2sdk-patches-7.tar.gz
=== jdk-1.3.1p7_2 depends on executable: gm4 - found
=== jdk-1.3.1p7_2 depends on executable: zip - found
=== jdk-1.3.1p7_2 depends on file: /usr/X11R6/lib/libXm.so - found
=== jdk-1.3.1p7_2 depends on file: 
/usr/local/linux-sun-jdk1.3.1/bin/javac - not found
=== Verifying install for /usr/local/linux-sun-jdk1.3.1/bin/javac in 
/usr/ports/java/linux-sun-jdk13
=== Extracting for linux-sun-jdk-1.3.1.06_1
 Checksum OK for j2sdk-1_3_1_06-linux-i586.bin.
=== linux-sun-jdk-1.3.1.06_1 depends on file: 
/compat/linux/lib/libc.so.6 - found
ELF interpreter /compat/svr4/lib/ld-linux.so.2 not found
Abort trap
*** Error code 134
Stop in /usr/ports/java/linux-sun-jdk13.
*** Error code 1
Stop in /usr/ports/java/jdk13



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


wine/FreeBSD/no M$ partitions - can't find a good resource

2002-12-26 Thread Louis LeBlanc
Hey all.  I'm having some trouble with the wine port (not the linux
compat version).

I followed the directions at
http://www.onlamp.com/pub/a/bsd/2001/09/21/FreeBSD_Basics.html?page=1
pretty much to the letter, with the exception that it seems out of
date with regards to the flags used with wine, and that SolSuite 2001
is now SolSuite 2003, but I'm getting a bunch of problems running even
the basic stuff.

My system is totally dedicated to FreeBSD with no M$ partitions.

I copied over the FreeCell exe from an NT box, and it seems to work
pretty well, but I'm always getting this error:
fixme:reg:GetSystemInfo not yet supported on this system
Even when the exe works.  Any idea what that is?

Also, I have a Win2K cd, and I'd like to just expand the files one at
a time as I need them into my 'C drive', but the expand.exe that came
with wine doesn't work, nor does the one on the CD Rom.  Anyone have
any ideas?

I did a good bit of poking around, and it seems the wine/FreeBSD/no MS
partition combo is a pretty uncommon one.  Anyone have links to any
decent resources for this situation?

TIA
Lou
-- 
Louis LeBlanc   [EMAIL PROTECTED]
Fully Funded Hobbyist, KeySlapper Extrordinaire :)
http://www.keyslapper.org ԿԬ

Scientists are people who build the Brooklyn Bridge and then buy it.
-- William Buckley

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



Re: Problem building JDK13

2002-12-26 Thread Joe Marcus Clarke
On Thu, 2002-12-26 at 22:39, Tom Parquette wrote:
 Please CC me on any replies.  Thanks...
 
 This is a 4.7-STABLE system built in the last couple of days.
 When I start Mozilla, it complains that it cannot open 
 /usr/local/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so.  This 
 led me to believe I had to install jdk 1.3.1.  This is where I'm stuck...
 ELF interpreter /compat/svr4/lib/ld-linux.so.2 not found
 Abort trap
 *** Error code 134
 Stop in /usr/ports/java/linux-sun-jdk13.
 *** Error code 1
 Stop in /usr/ports/java/jdk13

A friend of mine had the same problem.  Looks like an issue when both
linux.ko and svr4.ko are loaded.  You have to disable Solaris
compatibility (by unloading svr4.ko), and things should be fine.  It
seemed like a bug to me, but I never really looked into much further.

Joe

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



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


jail in 4.7-REL

2002-12-26 Thread Matt
Hello,

I have been playing with jail on freebsd 4.7-REL, being new to doing this
tried using the quick shell script in the man page for it. I can not get
make world to work. Any resources or pointers in the right direction would be
greatly appreciated.

Please forgive me if I have worded this wrong, I am also new to using this type of 
system.

Thanks,
--MattC.


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



cdrecord coaster problem solved

2002-12-26 Thread paul beard
I had some problems with cdrecord making audio CDs and some helpful person on this 
list suggested I use cdrdao(1) instead. Well, that turned out to be the solution. I 
did try using ATAPICAM with an IDE burner I had on hand, but it doesn't seem to be 
able to write (good thing it didn't cost anything, though perhaps I see why). 

The biggest problem I had with cdrdao was the need for a TOC file and the correct 
syntax. Turns out there are some samples in the distribution's source files. They 
don't work for me (you can't specify a driver as I need to do, just a device, and the 
device is expressed in a linux-ish style), but it's often easier to work from 
something that's broken that to start from scratch. 

It's basic as can be, but it saves me from trying to remember this stuff, and isn't 
that what scripts are all about? 

[/usr/home/paul/bin]:: more wav2toc.sh
#!/bin/sh
# usage: $0  FILES *.wav 

DIR=$1
TOCFILE=`basename $1`.toc

echo CD_DA   ${TOCFILE}
echo   ${TOCFILE}
for i in ${DIR}/*.wav
 do echo TRACK AUDIO  ${TOCFILE}
 echo PREGAP 0:1:0  ${TOCFILE}
 echo FILE \$i\ 0   ${TOCFILE} 
 echo   ${TOCFILE}
done
echo File ${TOCFILE} written

Running with a path grabs all the WAV files, creates a file based on the basename of 
the path, then writes out all the particulars. 

([EMAIL PROTECTED])-(09:18 PM / Thu Dec 26)
[/usr/home/paul/bin]:: ./wav2toc.sh ~/cdimages/That_Summer 
File That_Summer.toc written
([EMAIL PROTECTED])-(09:20 PM / Thu Dec 26)
[/usr/home/paul/bin]:: more That_Summer.toc
CD_DA

TRACK AUDIO
PREGAP 0:1:0
FILE /usr/home/paul/cdimages/That_Summer/new.wav 0

TRACK AUDIO
PREGAP 0:1:0
FILE /usr/home/paul/cdimages/That_Summer/side_1.wav 0

TRACK AUDIO
PREGAP 0:1:0
FILE /usr/home/paul/cdimages/That_Summer/side_2.wav 0

Dunno if it will be useful to anyone (like anyone else is converting vinyl LPs to CDs) 
. . . . 

and the incantation for cdrdao is as follows: I need to specify a driver for this unit 
(it's branded as a Pinnacle CDR 5040S and is allegedly supported by cdrecord as a 
workalike for a similar unit). 

sudo cdrdao write --eject --device 0,1,0 --driver teac-cdr55 toc 


--
Paul Beard / 8040 27th Ave NE / Seattle WA 98115 /
paulbeard [at] mac [ dot] com / 206 529 8400

weblog @ http://paulbeard.no-ip.org/movabletype/


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



Strange panics in mi_switch etc. in 4.4

2002-12-26 Thread doublef
Hello,

I am getting (relatively) random panics in the kernel,
mostly at boot-time. The kernel is not `factory-made',
i recompiled it, but GENERIC shipped with 4.4-RELEASE
also seems to be reproducing the bug (I got it there
at least once).

The most frequent faults are in mi_switch() called from
tsleep() and in tsleep() itself. The callers of tsleep()
are different disk routines: biowait(), mount() etc.
Here is an extract from the dump:

-extract begin-
118Additional daemons:
118 syslogd
Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x0
fault code  = supervisor write, page not present
instruction pointer = 0x8:0xc013cb60
stack pointer   = 0x10:0xc3c4ee94
frame pointer   = 0x10:0xc3c4eeb8
code segment= base 0x0, limit 0xf, type 0x1b
= DPL 0, pres 1, def32 1, gran 1
processor eflags= interrupt enabled, resume, IOPL = 0
current process = 119 (syslogd)
interrupt mask  = net tty bio cam
-extract end-

In mi_switch(), the place of trouble is:-\
(kern_synch.c)   V
if (p-p_stat != SZOMB  p-p_limit-p_cpulimit != RLIM_INFINITY 
p-p_runtime  p-p_limit-p_cpulimit) {

The != compare fails, p_cpulimit is NULL!
 
They seem to occur when much disk activity is in place, and
most frequently appear when i boot the PC the first time
a day (?, i rarely manage to boot the first time;). As this can
involve HD problems, here's what FreeBSD says about it:

ata1-master: DMA limited to UDMA33, non-ATA66 compliant cable
ad2: 76319MB ST380021A [155061/16/63] at ata1-master WDMA2

The numbers are correct. Note that my olden bios can't handle
the whole disk, but IMHO that can't be the cause of trouble.
By the way, i can't get /boot/loader to load, because it's
outside the addressable area;) The cause of trouble might be
being low on core (32MB ONLY) or on stack (dunno, seems
to be enough of). How do i figure it out?

The STRANGE thing about them is when i put splhigh() - 
splx() `braces' around the offending instructions, the bugs
DISAPPEAR _there_, but reappear in other places; i can
only fix some of them, and i can't be running ints disabled
all the time! Is there a background proc playing fandango
on core? What do i do? Any help will be appreciated.

Thanks,
Sergey Zaharchenko == DoubleF

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