Re:. [drm] failed to load kernel module "i830"

2003-07-01 Thread Geoff Glasson
Jacques,

I am not aware of a completed i810 or i830 port.  I am trying to port the i810 
kernel module to FreeBSD, but have gone as far as I can with my limited 
knowledge of the FreeBSD kernel and the i810 hardware.  I am investigating 
how the kernel probes devices in an effort to get it to recognise the i810 
graphics hardware correctly - it would appear that the AGP code "monopolises" 
the i810 graphics hardware preventing the DRM kernel module from seeing it.

I assume that the i830 port will suffer from a similar problem.

Regards...Geoff

-- 
Geoff Glasson
[EMAIL PROTECTED]

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Movie

2003-07-01 Thread httpd
[This message last updated January 21, 1998]

Dear user:

This is an automated message.
The NCSA HTTPd is no longer a supported product.
The web pages  are still available.

FAQ page:


HyperNews page:


Another source of answers to your questions may be the newsgroup

comp.infosystems.www.servers.unix or
comp.infosystems.www.providers

Alternatively, the Apache Server (originally based on the NCSA HTTPd, and
still a free server) is still actively developed.  We recommend you take a
look at it  as a possible replacement for the 
NCSA HTTPd.

For information about licensing NCSA HTTPD, contact Jae Allen at
[EMAIL PROTECTED]


NCSA HTTPd Technical Support
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


help me

2003-07-01 Thread "shura shev"
 Please hel me.
 I bought Digi ClassicBoard PCI on 4 ports. I couldn't install it. My computer - 
Pentium 150, 16 mb memory, 1Gb HDD. The only OS I was able to install on my computer 
was FreeBSD 4.8 Unix. I could not install Linux Red Hat. 
 When system loads without specifying card in a kernel, it gives message:
pci0:  (vendor=0x114f, dev=0x0028) at 10.0 irq 11
In FreeBSD there is a file pucdata.c - a universal driver for PCI card. This is a 
structure that has to be included in this file:
  {   "Digi 114f",
   {   0x114f, 0x0028, 0,  0   },
   {   0x, 0x, 0,  0,  },
   {
   { PUC_PORT_TYPE_COM, 0x18, 0x00, COM_FREQ * 8 },
   { PUC_PORT_TYPE_COM, 0x18, 0x08, COM_FREQ * 8 },
   { PUC_PORT_TYPE_COM, 0x18, 0x10, COM_FREQ * 8 },
   { PUC_PORT_TYPE_COM, 0x18, 0x18, COM_FREQ * 8 },
   },
   }
The structure is similar to others, except 'vendor=0x114f,dev=0x0028'.
But I don't know which ports to specify. After configuring and recompiling kernel for 
this card, when loading system gives message:
  puc0:  port 0x6400-0x64ff,0x6300-0x637f mem 0xe0002000-
  0xe00020ff,0xe0001000-0xe000107f irq 11 at device 10.0 on pci0
  sio2: configured irq 11 not in bitmap of probed irqs 0
  sio2: type 16550A
  sio3: configured irq 11 not in bitmap of probed irqs 0
  sio3: type 16550A
  sio4: configured irq 11 not in bitmap of probed irqs 0
  sio4: type 16550A
  sio5: configured irq 11 not in bitmap of probed irqs 0
  sio5: type 16550A
So system sees this card and adds com-ports ( sio2-sio5), but it's not possible to 
work with modem through these com-ports. They are very slow. There is an evident 
conflict with input/output ports.
Where is docs on file pucdata.c?
 Best regards.
Shevcov Aleksandr.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: automatically using "nice"

2003-07-01 Thread Thomas McIntyre
Simon Barner wrote:
> You could either modify your scripts to use nice, or start a new
> shell with an appropriate nice level. All the processes you launch
> from that shell will inherit the nice level of that shell:

A user can also be niced by login classes:

gccuser:*:1000:0:interactive:::gccuser:/home/gccusr:/bin/csh

with /etc/login.conf (less /etc/login.conf, man login.conf, man 5
passwd, /handbook/users-limiting.html):

interactive:\
:priority=20:\
:tc=default:

To renice interactively, you can su - gccuser, do so manually, or
spawn/exec the current login shell:

exec bash --login

with ~/.bash_login:

renice 20 $$
export PS1="[EMAIL PROTECTED]:\j:\w]\$ "

But be sure not to nice background processes -- it might break the
warrantee

Regards,
Tom McIntyre


__
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: setting up ipfw

2003-07-01 Thread David Kelly
On Tuesday 01 July 2003 08:01 pm, Jamie wrote:
>I am having a very difficult time setting up ipfw on a 4.8
> installation. Was wondering if anyone might be able to shed some
> light on this.

[...]

>I want to ssh in from another machine: foo.bar.com with IP address
> 200.88.34.12.
>
>
>
>   This is the rule I am adding:
>
>
> ipfw add allow tcp from 200.88.34.12 to power.bar.com 22
>
>
>It tells me it can't resolve power.bar.com!

Well, *when* is the above rule added? Is DNS up and working then? You 
know you can't make DNS queries until after the ipfw rules allowing DNS 
have been applied?

If your machine is power.bar.com and if you have more than one interface 
you don't care if 200.88.34.12 could connect on any interface then the 
following is a better rule where 1234 is some position in your ruleset:

ipfw add 1234 allow tcp from 200.88.34.12 to me 22 setup

For "setup" to work you need an rule (usually early to minimize 
processing overhead) like this:

ipfw add 400 allow tcp from any to any established

> So, I try:
>
> ipfw add allow tcp from 200.88.34.12 to 200.88.54.93 22
>
>It accepts the rule, but I still cannot connect from foo.bar.com.
>
>Anyone have any ideas?

Plenty. Can you ssh from anywhere else to your machine? Can you ssh from 
that machine to itself? In other words, "Is sshd running?"

You didn't list an ipfw rule number in your above example. So where is 
it inserting in the ruleset? Very likely its after a "deny" rule which 
otherwise blocked the connection. Believe ipfw inserts unnumbered rules 
100 beyond the last rule entered, so the above probably landed after 
any deny rule. The first rule to hit ends ipfw processing of the packet 
(except for divert).

For quick ipfw debugging, "ipfw zero" to clear the hit counts. Try the 
failed ssh attempt, then "ipfw -a list" and see which rules got hits. 
If you suspect a deny rule is blocking the connection then insert a new 
copy of that deny rule just prior and with the "log" modifier. Repeat. 
And look at /var/log/security for additional details. And speaking to 
posterity and the list, you already know that you can simply type the 
rule at the keyboard, don't have to modify your firewall script file 
until you want the change made permanent, don't have to reboot.

Stylistically I'd recommend your rule(s) include the "setup" modifier, 
and earlier you have a "pass all established" rule. This is the way its 
done in the /etc/rc.firewall example. With "setup" and "log" you get 
only one hit in /var/log/security when the connection is made. Without 
setup you get an entry for each and every packet until your VERBOSE 
limit is hit (I think, as I don't use the verbose limiter).

-- 
David Kelly N4HHE, [EMAIL PROTECTED]
=
The human mind ordinarily operates at only ten percent of its
capacity -- the rest is overhead for the operating system.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: vt/ansi codes

2003-07-01 Thread abc
http://www.freebsd.org/mailto.html

   Questions regarding FreeBSD should be addressed to the FreeBSD
   Questions mailing list, [EMAIL PROTECTED]

   Mailing lists are the primary support channel for FreeBSD users, with
   numerous mailing lists covering different topic areas. Several
   non-English mailing lists are also available.

the basis for this question was to determine if it was
feasible to write a portable FBSD application and/or library
without external dependencies.  it is understood what "ncurses"
and "SLang" are for - and initially ANSI escape sequences seemed
to provide a way to break through the burdens and complications
of ncurses and termcap entries.  and in learning a bit about
terminal I/O, "questions regarding FreeBSD" came to mind.
--
the way things are, based on pcvt(4) and xterm(1),
is that FreeBSD (and XFree86) implements vt220 (and vt102)
"emulation" as the main terminal I/O driver.  i fail to see the
intelligence of implementing terminal drivers that are based
upon 25 year old antiquated commercial terminals and their
associated proprietary and "deficient" command sets, thereby
forcing the use of special library dependencies containing
various optimization hacks to work around such deficiencies.

wouldn't it be much more intelligent/efficient/effective
to implement non-commercial "universal" escape sequence standards
that are more functional (such as 1979 ANSI 3.64) thereby eliminating
the need for special library dependencies with regard to terminal I/O apps;
reserving such library dependency usage for terminals that need
such hacks due to their proprietary/limited command sets?

i mean - why "dumb down" FBSD on a PC to the level of a
antiquated proprietary terminal command set, and ineffectively
force the use of oft broken inefficient hacks in library dependencies
to make up for the deficiencies?

why not "smarten" FBSD (and XFree86/xterm) terminal I/O to use more
"universal" escape sequence standards that take better advantage of
PC capabilities, and relegate usage of ncurses/termcap and the like
to those programs requiring specialized hacks to run on proprietary
hardware/terminals?

why not shift the focus of terminal I/O to better suited "universal"
standards, instead of a 25 year old proprietary and limited command sets.
i think this would result in much greater all-around productivity.

Chris

> > i am trying to develop terminal I/O based code,
> > and found myself meandering down a path
> > to acquire terminal knowledge (i don't
> > need to be told of SLang/ncurses/...).
 
> I wonder with this is really relavent to FreeBSD questions. But in any case
> here is my 2 cents worth. Have you looked at termcap and terminfo, which of
> course underpin curses/ncurses. It doesn't really matter what standards
> might be defined; the important issue is what functions commonly available
> terminals and terminal emulations have. There are an enormous variety of
> terminals and terminal emulations which have very little in the way of a
> common subset of functions. If you must use one common subset then you had
> best stick to VT100, I guess that will get you into between 1/3 and 2/3 of
> the terminals and emulations out there. Unix and same other OS have dealt
> with the problem by using databases of terminal information - termcap and/or
> terminfo - so that terminals with different control sequences can be managed
> by the same software and the software doesn't need prior knowledge of the
> specific control codes. In 1979 to send a full screen of say 2000 characters
> took perhaps 1 to 5 minutes, now in a similar situation we commonly send
> that in 20 to 100 milliseconds so the problem of dealing with different
> standards is largely circumvented by using less in the way of fancy
> functions and instead just redrawing the screen. Now-a-days graphic displays
> generally get more attention (not that I think this is necessarily good) and
> means of updating these with respect to the available bandwidth is receiving
> considerable attention.
>
> Malcolm Kay

> UNIX is designed not to rely on one single terminal type.  IMO, tailoring
> writing your application so it can only run on vt100 terminals (or ansi
> terminals, if you had your wish) is misguided..use one of the character
> display libraries that handle all the internal details in a
> terminal-independent way.
> 
> Kris
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


VPN remote access server (continue)

2003-07-01 Thread Tkachenko, Artem N
Hi,

I have the fallowing picture:

Node1 --Internet--Node2---LAN using IP

Node1:
Win2K
VPN connection using PPTP
IP (public) = 129.197.23.232

Node2: 
FreeBSD
VPN server (using MPD)
IP (public) = 129.197.244.6
IP (privet) = 10.77.5.2

LAN:
10.77.5/24

I set up a PPTP VPN connection between Node1 and Node2. Node1 gets privet IP
address 10.77.5.50. When I try to ping some computer on the LAN (not Node2)
with IP address 10.77.5.1 I know that computer gets the ping but does not
know how to get back to Node1. It might be a problem with the ARP because I
get an ARP error ([pptp1] no interface to proxy arp on for 10.77.5.50) when
I start MPD. I am not sure about this. And I don't know how to resolve this
problem. 
I have no control of 10.77.5/24 computers (except Node2) but I want those
computers to see Node1 when it connects trough Node2. How can I make
10.77.5/24 computers to send packets to Node2 when they want to send it to
Node1? Thank you very much for your help. Best regards

Artem Tkachenko

Here is some more info:

mpd.conf
default:
load client1
load client2
load client3
load client4
load client5
load client6
load client7
load client8
load client9
load client10
 
pptp_common_settings:
set iface disable on-demand
set iface enable proxy-arp
set bundle enable multilink
set link yes acfcomp protocomp
set link no pap chap
set link enable chap
set link mtu 1260
set ipcp yes vjcomp
set bundle enable compression
set ccp yes mppc
set ccp yes mpp-e40
set ccp yes mpp-stateless
 
client1:
new -i ng1 pptp1 pptp1
set iface enable proxy-arp
set ipcp range 10.77.5.2/32 10.77.5.50/32
load pptp_common_settings
.
-

DELL2# mpd default
Multi-link PPP for FreeBSD, by Archie L. Cobbs.
Based on iij-ppp, by Toshiharu OHNO.
mpd: pid 3694, version 3.13 ([EMAIL PROTECTED] 09:44 23-Jun-2003)
[pptp1] ppp node is "mpd3694-pptp1"
mpd: local IP address for PPTP is 129.197.244.10
[pptp1] using interface ng1
[pptp2] ppp node is "mpd3694-pptp2"
[pptp2] using interface ng2
.
[pptp10:pptp10] mpd: PPTP connection from 129.197.23.232:1254
pptp0: attached to connection with 129.197.23.232:1254
[pptp1] IFACE: Open event
[pptp1] IPCP: Open event
[pptp1] IPCP: state change Initial --> Starting
[pptp1] IPCP: LayerStart
[pptp1] IPCP: Open event
[pptp1] bundle: OPEN event in state CLOSED
[pptp1] opening link "pptp1"...
[pptp1] link: OPEN event
[pptp1] LCP: Open event
[pptp1] LCP: state change Initial --> Starting
[pptp1] LCP: LayerStart
[pptp1] device: OPEN event in state DOWN
[pptp1] attaching to peer's outgoing call
[pptp1] device is now in state OPENING
[pptp1] device: UP event in state OPENING
[pptp1] device is now in state UP
[pptp1] link: UP event
[pptp1] link: origination is remote
[pptp1] LCP: Up event
[pptp1] LCP: state change Starting --> Req-Sent
[pptp1] LCP: phase shift DEAD --> ESTABLISH
[pptp1] LCP: SendConfigReq #1
 ACFCOMP
 PROTOCOMP
 MRU 1500
 MAGICNUM 248388f6
 AUTHPROTO CHAP MSOFTv2
 MP MRRU 1600
 MP SHORTSEQ
 ENDPOINTDISC [802.1] 00 07 e9 87 ca 4f
pptp0-0: ignoring SetLinkInfo
[pptp1] LCP: rec'd Configure Request #0 link 0 (Req-Sent)
 MAGICNUM 71ec1a47
 PROTOCOMP
 ACFCOMP
 CALLBACK
   Not supported
 MP MRRU 1614
 ENDPOINTDISC [LOCAL] 1f c1 5c 9a 42 93 47 f2 93 07 55 26 37 9c c1 10 00 00
00 08
[pptp1] LCP: SendConfigRej #0
 CALLBACK
[pptp1] LCP: rec'd Configure Request #1 link 0 (Req-Sent)
 MAGICNUM 71ec1a47
 PROTOCOMP
 ACFCOMP
 MP MRRU 1614
 ENDPOINTDISC [LOCAL] 1f c1 5c 9a 42 93 47 f2 93 07 55 26 37 9c c1 10 00 00
00 08
[pptp1] LCP: SendConfigNak #1
 MP MRRU 1600
[pptp1] LCP: rec'd Configure Request #2 link 0 (Req-Sent)
 MAGICNUM 71ec1a47
 PROTOCOMP
 ACFCOMP
 MP MRRU 1600
 ENDPOINTDISC [LOCAL] 1f c1 5c 9a 42 93 47 f2 93 07 55 26 37 9c c1 10 00 00
00 08
[pptp1] LCP: SendConfigAck #2
 MAGICNUM 71ec1a47
 PROTOCOMP
 ACFCOMP
 MP MRRU 1600
 ENDPOINTDISC [LOCAL] 1f c1 5c 9a 42 93 47 f2 93 07 55 26 37 9c c1 10 00 00
00 08
[pptp1] LCP: state change Req-Sent --> Ack-Sent
[pptp1] LCP: SendConfigReq #2
 ACFCOMP
 PROTOCOMP
 MRU 1500
 MAGICNUM 248388f6
 AUTHPROTO CHAP MSOFTv2
 MP MRRU 1600
 MP SHORTSEQ
 ENDPOINTDISC [802.1] 00 07 e9 87 ca 4f
[pptp1] LCP: rec'd Configure Reject #2 link 0 (Ack-Sent)
 MP SHORTSEQ
[pptp1] LCP: SendConfigReq #3
 ACFCOMP
 PROTOCOMP
 MRU 1500
 MAGICNUM 248388f6
 AUTHPROTO CHAP MSOFTv2
 MP MRRU 1600
 ENDPOINTDISC [802.1] 00 07 e9 87 ca 4f
pptp0-0: ignoring SetLinkInfo
[pptp1] LCP: rec'd Configure Ack #3 link 0 (Ack-Sent)
 ACFCOMP
 PROTOCOMP
 MRU 1500
 MAGICNUM 248388f6
 AUTHPROTO CHAP MSOFTv2
 MP MRRU 1600
 ENDPOINTDISC [802.1] 00 07 e9 87 ca 4f
[pptp1] LCP: state change Ack-Sent --> Opened
[pptp1] LCP: phase shift ESTABLISH --> AUTHENTICATE
[pptp1] LCP: auth: peer wants nothing, I want CHAP
[pptp1] CHAP: sending CHALLENGE
[pptp1] LCP: Laye

Re: I have a problems with SiS900 on ASUS chipset P4SDR-VM

2003-07-01 Thread Tim Aslat
In the immortal words of Vladislav Glazkov <[EMAIL PROTECTED]>...

Hi Vladislav,

I had the same problem with a Notebook I bought with exactly the same
chipset.  I couldn't make FreeBSD 4.7, 4.8 or 5.0 work but 5.1 works
like a charm.  You might consider using that version instead.

cheers

Tim


> My company buy a new parent payment of firm ASUS with built - in
> chipset - SiS.
> And in this connection there was a problem, and particulars can not 
> force to work network card(LAN) SiS900,
> which already built - in on this mothersboard under FreeBSD(4.7),
> gives out a mistake:
> sis0: MII without any PHY!
> device_probe_and_attach: sis0 attach returned 6
> 
> Do you really help me, because ONLY FreeBSD must work only this 
> mothersboard! ???
> (when I am install Linux on this mothersboard, network card work full 
> correctly)
> 
> # Specifications:
> mothresboard: ASUS P4SDR-VM (socket 478 for Intel P-4)
> Chipset: SiS 650Gl
> LAN (ICS1893Y LAN PHY)
> # =
> 
> -- 
> With best regards,
> system administrator
> Vladislav Glazkov
> http://www.iks.ru
> 
> 
> 
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"


-- 
Tim Aslat <[EMAIL PROTECTED]>
Spyderweb Consulting
http://www.spyderweb.com.au
P: 82243020M: 0401088479
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: [SDBUG] Re: Monitor dimming

2003-07-01 Thread Peter Leftwich
On Wed, 18 Jun 2003, Matthew Seaman wrote:
> On Tue, Jun 17, 2003 at 09:20:38PM -0700, Peter Leftwich wrote:
> > Can someone tell me what controls the dimming of my monitor after a set
> > amount of minutes of idle time?  It is not xscreensaver; I'm assuming it is
> > something called from "startx" or at boot time in rc.conf?
> >
> > I ask because I would like to [1] change the idle timeout and [2] run a
> > command line command to "dim now."  Thanks all, please CC: me!
>
> You can put settings into /etc/X11/XF86Config, like this:

I just looked at my /var/log/XFree86.0.log file and it somehow knows how to
find my /etc/XF86Config file.  Should I move it to the path you provide?

> Section "ServerFlags"
> Option   "BlankTime" "10"
> Option   "StandbyTime" "20"
> Option   "SuspendTime" "30"
> Option   "OffTime" "30"
> EndSection
> XF86Config(5) has the details.

None of these "ServerFlags" are mentioned in my XF86Config file.  Is the
blanking, standing by and suspending controlled by the "ati" driver in my
case, do you think?  Or is there a default of some sort that is "compiled"
into the X server binary??

> You can also use xset(1) to modify the settings from within an X session:
> % xset dpms 1200 1800 1800
> % xset dpms force standby

Holy [expletive beginning with S]!!!  The command `xset -display :0 dpms
force standby` just worked!  Yeayy.  Going to make a blanknow alias.

> [Nb. xset(1) uses units of seconds, XF86Config uses units of minutes.
> So much for consistency.]

G.  Programmers unite and standardize on future builds!!

> Programs like window managers may also modify the DPMS settings -- use
>% xset q
> to see the current settings.
>
>   Cheers,
>   Matthew
> Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
>   Savill Way
> PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
> Tel: +44 1628 476614  Bucks., SL7 1TH UK

Thanks for the notes, Doctor!!

--
Peter Leftwich
President & Founder, Video2Video Services
Box 13692, La Jolla, CA, 92039 USA
http://Www.Video2Video.Com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


I have a problems with SiS900 on ASUS chipset P4SDR-VM

2003-07-01 Thread Vladislav Glazkov
Hello!

My company buy a new parent payment of firm ASUS with built - in chipset 
- SiS.
And in this connection there was a problem, and particulars can not 
force to work network card(LAN) SiS900,
which already built - in on this mothersboard under FreeBSD(4.7), gives 
out a mistake:
sis0: MII without any PHY!
device_probe_and_attach: sis0 attach returned 6

Do you really help me, because ONLY FreeBSD must work only this 
mothersboard! ???
(when I am install Linux on this mothersboard, network card work full 
correctly)

# Specifications:
mothresboard: ASUS P4SDR-VM (socket 478 for Intel P-4)
Chipset: SiS 650Gl
LAN (ICS1893Y LAN PHY)
# =
--
With best regards,
system administrator
Vladislav Glazkov
http://www.iks.ru


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: setting up ipfw

2003-07-01 Thread Kevin Kinsey, DaleCo, S.P.
CORRECTION:

That last rule I quoted is actually:

00050  allow tcp from any to my.ip.ad.res 22 setup
 ^^
Makes it work much better for SSH...

- Original Message -
From: "Kevin Kinsey, DaleCo, S.P." <[EMAIL PROTECTED]>
To: "Jamie" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Tuesday, July 01, 2003 8:29 PM
Subject: Re: setting up ipfw


> From: "Jamie" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, July 01, 2003 8:01 PM
> Subject: setting up ipfw
>
>
> >I am having a very difficult time setting up ipfw on a 4.8
> > installation. Was wondering if anyone might be able to shed some
> light on
> > this.
> >
> >I followed the directions in the handbook, and I compiled a
new
> kernel
> > with these options, ( am going for a deny all by default, open
> services
> > as necessary philosophy):
> >
> > options IPFIREWALL
> > options IPFIREWALL_VERBOSE
> > options IPFIREWALL_VERBOSE_LIMIT=10
> >
> >Upon rebooting, I was unable to access the machine from
> anywhere, which
> > is fine, because I have console access.
> >
> >Output of ifconfig -a looks like this:
> >
> >  ifconfig -a
> > fxp0: flags=8843 mtu 1500
> > inet 200.88.54.93 netmask 0xff00 broadcast
> 200.88.54.255
> > inet6 fe80::203:47ff:fe77:8169%fxp0 prefixlen 64 scopeid
> 0x1
> > ether 00:03:47:77:81:69
> > media: Ethernet autoselect (100baseTX )
> > status: active
> > lp0: flags=8810 mtu 1500
> > lo0: flags=8049 mtu 16384
> > inet6 ::1 prefixlen 128
> > inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
> > inet 127.0.0.1 netmask 0xff00
> > ppp0: flags=8010 mtu 1500
> > sl0: flags=c010 mtu 552
> > faith0: flags=8002 mtu 1500
> >
> >the name of the machine is power.bar.com
> >
> >
> >I want to ssh in from another machine: foo.bar.com with IP
> address
> > 200.88.34.12.
> >
> >
> >
> >   This is the rule I am adding:
> >
> >
> > ipfw add allow tcp from 200.88.34.12 to power.bar.com 22
> >
> >
> >It tells me it can't resolve power.bar.com!
> >
> > So, I try:
> >
> > ipfw add allow tcp from 200.88.34.12 to 200.88.54.93 22
> >
> >It accepts the rule, but I still cannot connect from
> foo.bar.com.
> >
> >Anyone have any ideas?
>
> Are you allowing ip OUT from 200.88.54.93?
>
> Please post output of "ipfw show" (not that it's
> not implicit, I guess...) and describe your network
> topography.
>
> FWIW, here's my top few rules:
>
> 00010 allow ip from my.ip.ad.dres to any out
> 00020 deny log logamount 20 ip from any to any out
> 00030  allow tcp from any to any established
> 00040  allow ip from any to any frag
> 00050  allow tcp from any to my.ip.ad.res setup
>
> Kevin Kinsey
> DaleCo, S.P.
>
>
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
"[EMAIL PROTECTED]"
>


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: setting up ipfw

2003-07-01 Thread Kevin Kinsey, DaleCo, S.P.
From: "Jamie" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 01, 2003 8:01 PM
Subject: setting up ipfw


>I am having a very difficult time setting up ipfw on a 4.8
> installation. Was wondering if anyone might be able to shed some
light on
> this.
>
>I followed the directions in the handbook, and I compiled a new
kernel
> with these options, ( am going for a deny all by default, open
services
> as necessary philosophy):
>
> options IPFIREWALL
> options IPFIREWALL_VERBOSE
> options IPFIREWALL_VERBOSE_LIMIT=10
>
>Upon rebooting, I was unable to access the machine from
anywhere, which
> is fine, because I have console access.
>
>Output of ifconfig -a looks like this:
>
>  ifconfig -a
> fxp0: flags=8843 mtu 1500
> inet 200.88.54.93 netmask 0xff00 broadcast
200.88.54.255
> inet6 fe80::203:47ff:fe77:8169%fxp0 prefixlen 64 scopeid
0x1
> ether 00:03:47:77:81:69
> media: Ethernet autoselect (100baseTX )
> status: active
> lp0: flags=8810 mtu 1500
> lo0: flags=8049 mtu 16384
> inet6 ::1 prefixlen 128
> inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
> inet 127.0.0.1 netmask 0xff00
> ppp0: flags=8010 mtu 1500
> sl0: flags=c010 mtu 552
> faith0: flags=8002 mtu 1500
>
>the name of the machine is power.bar.com
>
>
>I want to ssh in from another machine: foo.bar.com with IP
address
> 200.88.34.12.
>
>
>
>   This is the rule I am adding:
>
>
> ipfw add allow tcp from 200.88.34.12 to power.bar.com 22
>
>
>It tells me it can't resolve power.bar.com!
>
> So, I try:
>
> ipfw add allow tcp from 200.88.34.12 to 200.88.54.93 22
>
>It accepts the rule, but I still cannot connect from
foo.bar.com.
>
>Anyone have any ideas?

Are you allowing ip OUT from 200.88.54.93?

Please post output of "ipfw show" (not that it's
not implicit, I guess...) and describe your network
topography.

FWIW, here's my top few rules:

00010 allow ip from my.ip.ad.dres to any out
00020 deny log logamount 20 ip from any to any out
00030  allow tcp from any to any established
00040  allow ip from any to any frag
00050  allow tcp from any to my.ip.ad.res setup

Kevin Kinsey
DaleCo, S.P.


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: automatically using "nice"

2003-07-01 Thread Simon Barner
Hi,

> is there a way to have the system automatically use nice on all
> command-line apps during a session?  i don't want to keep typing it over
> and over every time i run a batch script or compilation.

You could either modify your scripts to use nice, or start a new shell
with an appropriate nice level. All the processes you launch from that
shell will inherit the nice level of that shell:

$ nice -20 

> compile compile compile, ... :-)

HTH,
 Simon


signature.asc
Description: Digital signature


Compiling

2003-07-01 Thread Ronny Hippler
Hello,
I am having a problem compiling several programs. I keep getting the 
error can't find expat, but I have it installed. pkg_info lists it and if I look in 
/usr/local/include there is an expat.h file what am I missing? I am trying to 
compile fontconfig 2.2.1, also while trying to compile  xmule 1.5.2 I get the 
error:

make: can not allocate memory 
Error code 1

Any ideas what could be causing this? I have 500megs ram and plenty of swap.

TIA



___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


automatically using "nice"

2003-07-01 Thread Octavian Hornoiu
is there a way to have the system automatically use nice on all
command-line apps during a session?  i don't want to keep typing it over
and over every time i run a batch script or compilation.

thanks!

Octavian Hornoiu

p.s.  i'm not on the list so please cc me in the reply.


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


user ppp & cable

2003-07-01 Thread FBSD_User
Any body using user ppp/nat on cable isp? Is this what Netgraph is
used for? An example of a working ppp.conf would be appreciated. A
pointer to a how-to would be great.
Thanks

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Losing header in postscript document

2003-07-01 Thread Steven Friedrich
I'm trying to print a copy of cvsbook.ps using KGhostView.  Originally, my 
ghostview config was using -sDEVICE=x11, but I've also tried -sDEVICE=cdj550, 
because I have an HP560C.

I'm also using CUPS and had quite a time getting it configured, but it does 
print.

I try to print just page 6, because the headers are not being printed, and 
I've already killed to many trees...

From KGhostView's print dialog, I expand it so I can select only the current 
page, and I enable print preview.

The page looks good. The header is about a half inch from the top, and the 
first line is about an inch down.  Setting margins seems to have no effect.

When the document actually prints, the header is missing and the line that was 
at one inch is at a half inch.  I think the header may have been cut off by 
the printer because it can't print with something like .33 of an inch from 
the top.

Why aren't the margins being used?  Why doesn't a .ps file just appear on 
paper as it does on the screen?

Is there something else I need to install or configure?

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


setting up ipfw

2003-07-01 Thread Jamie



   I am having a very difficult time setting up ipfw on a 4.8
installation. Was wondering if anyone might be able to shed some light on
this.

   I followed the directions in the handbook, and I compiled a new kernel
with these options, ( am going for a deny all by default, open services
as necessary philosophy):

options IPFIREWALL
options IPFIREWALL_VERBOSE
options IPFIREWALL_VERBOSE_LIMIT=10



   Upon rebooting, I was unable to access the machine from anywhere, which
is fine, because I have console access.

   Output of ifconfig -a looks like this:

 ifconfig -a
fxp0: flags=8843 mtu 1500
inet 200.88.54.93 netmask 0xff00 broadcast 200.88.54.255
inet6 fe80::203:47ff:fe77:8169%fxp0 prefixlen 64 scopeid 0x1
ether 00:03:47:77:81:69
media: Ethernet autoselect (100baseTX )
status: active
lp0: flags=8810 mtu 1500
lo0: flags=8049 mtu 16384
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
inet 127.0.0.1 netmask 0xff00
ppp0: flags=8010 mtu 1500
sl0: flags=c010 mtu 552
faith0: flags=8002 mtu 1500

   the name of the machine is power.bar.com


   I want to ssh in from another machine: foo.bar.com with IP address
200.88.34.12.



  This is the rule I am adding:


ipfw add allow tcp from 200.88.34.12 to power.bar.com 22


   It tells me it can't resolve power.bar.com!

So, I try:

ipfw add allow tcp from 200.88.34.12 to 200.88.54.93 22

   It accepts the rule, but I still cannot connect from foo.bar.com.

   Anyone have any ideas?


- Jamie



"A friend is someone who lets you have total freedom to be yourself."

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Limit Processes

2003-07-01 Thread Simon Barner
>   How would I set up a users account so I could limit the number of 
> processes they use?  For example if they are allotted 5 processes and they 
> start a 6th either all the processes get killed or the sixth is not 
> allowed, something along those lines.

Please see

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

as well as man login.conf.

The maxproc directive should do what you desire.

Simon


signature.asc
Description: Digital signature


Re: Disk Space

2003-07-01 Thread Simon Barner
Hi,

>   How would I set up a users account so they are only allotted lets say 100 
> MB of disk space?  Anything more would not be allowed and they would be 
> just allotted the 100 MB.

I think this page 

   http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/quotas.html
   
provides the information that you need.

Cheers,
 Simon


signature.asc
Description: Digital signature


Diskless Operation Question

2003-07-01 Thread Benjamin Polidore
I have a dedicated FreeBSD 5.1 server, and I am experimenting with a WinXP / 
diskless-FreeBSD dual boot workstation.

I have followed the instructions in the handbook and I get to a point that 
makes me think I have done somthing wrong with my diskless kernel.  

The workstation boots with an etherboot floppy, finds the dhcp server and 
downloads the kernel from NFS.  It seems to contemplate loading the kernel for 
about 5 seconds then reboots.  

I have seen postings in the archives about recompiling the kernel with the 
proper CPUTYPE in /etc/make.conf.

I have tried this and it makes no difference.

The only thing I have been considering is that I have a bunch of modules that 
were compiled & installed w/o CPUTYPE=p3, as they were imported with 
clone_root.

So the only solution I can think of is to recompile/install these modules with 
the proper CPUTYPE, but I'm not sure how to have make installkernel put the 
modules / kernel in /misc/diskless/boot instead of /boot?

I won't need to do this with userland, will I?  This would make diskless 
operation impossible for my situation.

Below is a more detailed breakdown of what I am trying to do and some pieces 
of my config files.

TIA-
Ben Polidore
[EMAIL PROTECTED]

--Hardware
My server:
Via C3 800 
"CPU: VIA C3 Samuel 2 (800.03-MHz 686-class CPU)
  Origin = "CentaurHauls"  Id = 0x678  Stepping = 8
  Features=0x803035" (from dmesg)

My workstation: Pentium III 933

--Configs
*dhcpd.conf:
option swap-path code 128 = string;
option swap-size code 129 = integer 32;
#snip
host inferior {
  hardware ethernet 00:03:6d:00:18:40;
  fixed-address 10.0.0.100;
  next-server 10.0.0.1;
  filename "/misc/diskless/kernel";
  option root-path "10.0.0.1:/misc/diskless";
  option swap-path "10.0.0.1:/misc/diskless/netswap";
  option swap-size 128000;
}

*kernel config for DISKLESS:
machine i386
#cpuI486_CPU
#cpuI586_CPU
cpu I686_CPU
ident   DISKLESS
maxusers0

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 
options BOOTP
options BOOTP_NFSROOT
options BOOTP_COMPAT
#that's all that seems pertinent

-I have diskless root at /misc/diskless:
[EMAIL PROTECTED]:~]# ls /misc/diskless/
bin confkernel  sbintmp
bootdev mnt stand   usr
cdrom   etc procswap.10.0.0.100 var
compat  homerootsys

-I compiled DISKLESS kernel like so:
make buildkernel KERNCONF=DISKLESS CPUTYPE=p3
#i also had CPUTYPE=p3 in make.conf

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Disk Space

2003-07-01 Thread Nucking Futs
  How would I set up a users account so they are only allotted lets say 100 
MB of disk space?  Anything more would not be allowed and they would be just 
allotted the 100 MB.

_
Add photos to your e-mail with MSN 8. Get 2 months FREE*.  
http://join.msn.com/?page=features/featuredemail

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: which FreeBSD?

2003-07-01 Thread Kirk Strauser
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tuesday 01 July 2003 06:57 pm, Lamont Granquist wrote:

> But makes it much harder to setup procmail filters and manage mailboxes
> on accounts.

So don't - use Cyrus' built-in Sieve scripting language.  Works like a champ 
over here.
- -- 
Kirk Strauser
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE/Aiev5sRg+Y0CpvERAuITAJ0Qpbd4usUMf/RmkoMxsk+lrtSdXgCeOzXf
EH+ImcSUNQbh/KelxxPYtcg=
=/uyO
-END PGP SIGNATURE-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Limit Processes

2003-07-01 Thread Nucking Futs
  How would I set up a users account so I could limit the number of 
processes they use?  For example if they are allotted 5 processes and they 
start a 6th either all the processes get killed or the sixth is not allowed, 
something along those lines.

_
Tired of spam? Get advanced junk mail protection with MSN 8. 
http://join.msn.com/?page=features/junkmail

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: md5

2003-07-01 Thread Jerry McAllister
> 
> How may I use the md5 file to test the integrity of the freebsd iso image I 
> downloaded?

After you have downloaded the ISO, run an MD5 on it and then compare it
to the number in the file of md5-s in the directory from whence
you downloaded it.

jerry

> 
> _
> Tired of spam? Get advanced junk mail protection with MSN 8.  
> http://join.msn.com/?page=features/junkmail
> 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: 4GB RAM limit?

2003-07-01 Thread Erik Trulsson
On Tue, Jul 01, 2003 at 04:46:55PM -0700, Joshua Oreman wrote:
> On Tue, Jul 01, 2003 at 06:30:13PM + or thereabouts, george donnelly wrote:
> > hi
> > 
> > I've got a 4.7 freebsd machine and after upgrading from 4 to 6GB of RAM, top
> > does not recogmize the other 2 GB (only shows 4) and actually there was a
> > message that said "ignoring 2 GB".
> > 
> > Can anyone shed light on this or suggest where i can look to understand
> > this?
> 
> AFAIK, on i386 the maximum addressable memory space is 4096 MB.
> Here's why:
> C pointer = 4 bytes = maximum value 4294967296

Yes and no.  i386 addresses are indeed 32 bits which means that a
process can only address 4GB worth of memory.  On the Pentium Pro and
later x86 CPUs there some special tricks that can be used to have a
physical address space of 36 bits (64 GB memory), even though a single
process still only can use 4 GB.
FreeBSD 4.x and earlier does not have any support for those tricks so
it cannot use more than 4 GB of RAM.
FreeBSD 5.1 and later does have support for PAE (Physical Address
Extension) so it can handle up to 64 GB RAM (while a single process
is still constrained to a 32-bit address space.)




-- 

Erik Trulsson
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: 4GB RAM limit?

2003-07-01 Thread Jerry McAllister
> 
> hi
> 
> I've got a 4.7 freebsd machine and after upgrading from 4 to 6GB of RAM, top
> does not recogmize the other 2 GB (only shows 4) and actually there was a
> message that said "ignoring 2 GB".
> 
> Can anyone shed light on this or suggest where i can look to understand
> this?

I believe there is currently a 4 GByte limit to usable RAM, but I also 
believe I saw that it is planned to go up to something like 64 GB in a 
near future version.

Someone out there will know more specifically, I am sure.

jerry

> 
> tia
> 
> <-->
> george donnelly - http://www.zettai.net/ - "Quality Zope Hosting"
> Zope Hosting - Dynamic Website Design - Search Engine Promotion
> Yahoo, AIM: zettainet - MSN: [EMAIL PROTECTED] - ICQ: 51907738
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


md5

2003-07-01 Thread dark matrix
How may I use the md5 file to test the integrity of the freebsd iso image I 
downloaded?
Is it normal that sysinstall of freebsd 4.8 contain less ports than 4.6?
Thank You

_
Tired of spam? Get advanced junk mail protection with MSN 8.  
http://join.msn.com/?page=features/junkmail

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: which FreeBSD?

2003-07-01 Thread Lamont Granquist


On Tue, 1 Jul 2003, Chris Dillon wrote:
> Consider cyrus-imapd2 or cyrus-imapd22 instead of courier-imap.  Very
> reliable, very fast, and offers you the ability to create a "black
> box" mail appliance that does not require the use of local user
> accounts, if you wish to go that route.

But makes it much harder to setup procmail filters and manage mailboxes on
accounts.  I tried cyrus-imap for a year or two and then backed it out and
started to use uw-imapd (bad coding standards and all) because cyrus was
annoying to maintain.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


ssh keepalives

2003-07-01 Thread Philip J. Koenig

I'm having a problem with premature termination of ssh sessions after 
an idle period of a few minutes, getting a "connection reset by peer" 
message.  I presume this is due to intermediate stateful firewalls 
closing the connection when no traffic passes for a period of time.

In the past I've addressed this issue when I have control of the 
destination host, by including the following parameters in 
sshd_config:

ClientAliveInterval 30
ClientAliveCountMax 4


However in this case I don't have control over the destination.  It's 
a self-contained network device.

man 5 ssh_conf says that "KeepAlive" is the default with ssh.  Is 
there any other tactic I can use to keep these connections from 
closing after a few minutes of inactivity?

Currently on FreeBSD 4.8-stable with OpenSSH_3.5p1



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


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: 4GB RAM limit?

2003-07-01 Thread Joshua Oreman
On Tue, Jul 01, 2003 at 06:30:13PM + or thereabouts, george donnelly wrote:
> hi
> 
> I've got a 4.7 freebsd machine and after upgrading from 4 to 6GB of RAM, top
> does not recogmize the other 2 GB (only shows 4) and actually there was a
> message that said "ignoring 2 GB".
> 
> Can anyone shed light on this or suggest where i can look to understand
> this?

AFAIK, on i386 the maximum addressable memory space is 4096 MB.
Here's why:
C pointer = 4 bytes = maximum value 4294967296

-- Josh

> 
> tia
> 
> <-->
> george donnelly - http://www.zettai.net/ - "Quality Zope Hosting"
> Zope Hosting - Dynamic Website Design - Search Engine Promotion
> Yahoo, AIM: zettainet - MSN: [EMAIL PROTECTED] - ICQ: 51907738
> 
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: BTX halted

2003-07-01 Thread Roger Merritt
At 02:24 AM 7/2/03, you wrote:
In article <[EMAIL PROTECTED]>, Roger Merritt wrote:
>
> BTX Loader 1.00 BTX version is 1.01
>
> int=0006  err=  efl=00010246  eip=1934
> eax=00021d60  ebx=  ecx=  edx=
> esi=  edi=00020c34  ebp=00094bec  esp=00094bdc
> cs=0026  db=0033  es=0033  fs=0033  gs=0033  ss=0033
> cs:eip=0f 44 d6 89 55 fc 46 83-2c b7 00 74 05 83 fa ff
> ss:esp=00 00 00 00 00 00 00 00-00 00 00 00 ff ff ff ff
> BTX halted
>
did you try a hard power reset after this message?  I have an old
IBM intellistation that does the same thing with 5.x.  After I install
I get the BTX halted, but if I cold boot it after the message it
will boot.
Well, not exactly. I'll give it a try. I *did* try just hitting the reset 
button and that didn't make any change. I also turned off the power, 
removed the hard drive, took it back to its original box, booted up, 
recompiled the kernel, brought it back to the new(er) box and plugged it 
back in, and powered up. I also tried booting up with floppies (succeeded) 
and tried running 'fdisk -B ad0' to try to replace the MBR, but that had no 
effect. I've tried it on a third, even older box, which I'm running FreeBSD 
on, and it wouldn't boot up there either -- same error.

--
Roger
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


4GB RAM limit?

2003-07-01 Thread george donnelly
hi

I've got a 4.7 freebsd machine and after upgrading from 4 to 6GB of RAM, top
does not recogmize the other 2 GB (only shows 4) and actually there was a
message that said "ignoring 2 GB".

Can anyone shed light on this or suggest where i can look to understand
this?

tia

<-->
george donnelly - http://www.zettai.net/ - "Quality Zope Hosting"
Zope Hosting - Dynamic Website Design - Search Engine Promotion
Yahoo, AIM: zettainet - MSN: [EMAIL PROTECTED] - ICQ: 51907738

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Stand-a-lone NAT PGM

2003-07-01 Thread Matthew Emmerton

I'm saying that the functionality you want already exists -- in a low-level
library called libalias(3), or with a cleaner front-end called natd(8).

What you're failing to understand is that NATD cannot run "standalone' -- 
you have to have hook it into the TCP/IP stack somehow.

For ppp(8) this is easy, since ppp is already "hooked" into your system's
TCP/IP stack, and can easily run the packets through libalias(3) to achieve
NAT functionality.

For "standard" ethernet applications, a common approach is to use ipfw(8)
with a single "divert" rule which redirects all TCP/IP traffic from the
TCP/IP stack, through the natd(8) front-end to libalias(3), and then back
into the TCP/IP stack.

The overhead of ipfw with a single "divert" rule is very low.  The overhead
of IPFITLER/IPNAT is even lower.

I'm not sure exactly what performance problem you're trying to overcome.

--
Matt Emmerton

> Are you saying I can run NATD as a stand-a-lone function? IE: not
> enabling IPFW and using the 'divert natd' rule
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Matthew
> Emmerton
> Sent: Tuesday, July 01, 2003 6:49 PM
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED] ORG
> Subject: Re: Stand-a-lone NAT PGM
>
> > I have been looking for NAT program which is not part of some
> other
> > program like NATD is part of IPFW or IPNAT is part of IPFILTER or
> > NAT of user ppp. I can not find any NAT program in the FBSD ports
> > collection unless I mis-understood some description.  If anybody
> > knows of one please let me know. Yes I know that I can set
> firewall
> > rule to pass all packets just to use NAT function, but I don't
> want
> > overhead of firewall logic, just simple NAT like PPP NAT function
> > with out the PPP stuff.
>
> The reason you can't find a NAT program in the ports collection is
> because
> such a program exists in the base system.
> natd(8) is a front-end to the libalias(3) library, which implements
> generic
> packet aliasing and masqerading functions (aka NAT).
>
> > I was wondering if the NAT logic code from user ppp could be
> copied
> > and made into stand-a-lone NAT program. My programming ability is
> > not great so I am asking for opinions  on weather this is
> technical
> > possible?  Thanks
>
> Both ppp(8) and natd(8) use the libalias(3) library for NAT
> functionality.
>
> --
> Matt Emmerton
>
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
>

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: How to Start Courier-Imap? - RESOLVED

2003-07-01 Thread Tomlinson, Drew
> -Original Message-
> From: Tomlinson, Drew 
> Sent: Monday, June 30, 2003 9:15 AM
> To: 'David Kelly'; [EMAIL PROTECTED]
> 
> > -Original Message-
> > From: David Kelly [mailto:[EMAIL PROTECTED]
> > Sent: Sunday, June 29, 2003 5:58 PM
> > To: [EMAIL PROTECTED]
> > Cc: Tomlinson, Drew
> > 
> > On Sunday 29 June 2003 06:02 pm, Tomlinson, Drew wrote:
> > > I've installed courier-imap 1.7.1 using portupgrade on my
> > 4.8 system
> > > but I can't figure out how to start it.  I'm familiar with
> > > /usr/local/etc/rc.d and see links to start scripts there 
> but when I 
> > > run them, I get errors about being unable to find files.  
> Here's and
> > > example:
> > >
> > > blacklamb# ./courier-imap-imapd.sh.sample start
> > > .: Can't open /usr/local/etc/courier-imap/imapd-ssl: No
> > such file or
> > > directory
> > >
> > > I assume this has to do with the files not being installed
> > where the
> > > scripts expect to find them.  Next I try a 'whereis' to find the
> > > file:
> > 
> > The courier-imap port is not as friendly as many other ports.
> > It stumped 
> > me for a while too. Finally I saw and actually read the 
> last message 
> > the "make" process emitted (from the tail end of 
> > /usr/ports/mail/courier-imap/Makefile):
> 
> I re-ran portupgrade and specifically looked for some sort of 
> message like this but apparently I missed it.  Thanks for 
> pointing this out.
>  
> > @${ECHO_MSG} ""
> > @${ECHO_MSG} "You will have to run ${DATADIR}/mkimapdcert to
> > create" @${ECHO_MSG} "a self-signed certificate if you want 
> > to use imapd-ssl." @${ECHO_MSG} "And you will have to copy 
> > and edit the *.dist files to *" @${ECHO_MSG} "in ${CONFDIR}." 
> > @${ECHO_MSG} ""
> > 
> > Believe this will get you going:
> > 
> > % su
> > # cd /usr/local/etc/courier-imap
> > # cp -p imapd-ssl.dist imapd-ssl
> > # cp -p imapd.dist imapd
> > # cp -p authdaemonrc.dist authdaemonrc
> > 
> > After copying the following I edited it for my location just
> > in case I 
> > ever used x509 certificates:
> > # cp -p imapd.cnf.dist imapd.cnf
> > 
> > and for POP3 (I don't use):
> > 
> > # cp -p pop3d.dist pop3d
> > # cp -p pop3d.cnf.dist pop3d.cnf
> > # cp -p pop3d-ssl.dist pop3d-ssl
> > 
> > and finally:
> > # cd /usr/local/etc/rc.d
> > # cp -p courier-imap-imapd.sh.sample courier-imap-imapd.sh
> > # sh courier-imap-imapd.sh start
> 
> THANK YOU! THANK YOU! THANK YOU!  Your instructions are 
> perfect and complete.  I was able to run the startup script 
> without errors and see authdaemond.plai, couriertcpd, and 
> courierlogger in the ps output so I guess it's running.
>  
> > The final thing which stumped me was Apple's Mail.app connecting to
> > courier-imapd ran an infinite loop of repeating connects because 
> > ~/Maildir was only a directory and did not contain cur/ 
> new/ and tmp/ 
> > directories. See maildirmake(1). Unless you are using quotas 
> > it doesn't 
> > appear to be any different than "( umask 77; mkdir -p ~/Maildir/cur 
> > ~/Maildir/new ~/Maildir/tmp )"
> 
> I ran maildirmake (as me, not root) in my home directory and 
> it made the Maildir and associated files.  However when I 
> attempt to log in using an Outlook Express client (what I 
> have at work), the login fails.  
> 
> I used to have courier-imap running but a hard drive failure 
> has left me rebuilding my whole system.  I thought I had good 
> backups until I tried to restore them...but that's another 
> story.  Anyway, my point is that because the OE client used 
> to work, I'm sure it's configured correctly and it's the imap 
> server that's not.  So, is there a default log file?  I used 
> to see imap messages in /var/log/maillog but I don't see any 
> now.  How can I turn on logging?  I've read the imapd man 
> page but have not seen anything.  A quick search on Google 
> yielded no results either.  I'm going to continue looking but 
> if you happen to know I'd really appreciate it.
> 
> It seems when I did this before, I had to edit something to 
> provide the right pam modules?  I'm probably not saying it 
> right but it was something to do with pam.

The final requirement to allow logins was to add/edit these entries in
/etc/pam.conf:

# Mail services
imapauthrequiredpam_unix.so
try_first_pass
imapaccount requiredpam_unix.so
imapsession requiredpam_unix.so
pop3authrequiredpam_unix.so
try_first_pass
pop3account requiredpam_unix.so
pop3session requiredpam_unix.so

Thanks for all of your help!

Drew
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: Stand-a-lone NAT PGM

2003-07-01 Thread FBSD_User
Are you saying I can run NATD as a stand-a-lone function? IE: not
enabling IPFW and using the 'divert natd' rule

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Matthew
Emmerton
Sent: Tuesday, July 01, 2003 6:49 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED] ORG
Subject: Re: Stand-a-lone NAT PGM

> I have been looking for NAT program which is not part of some
other
> program like NATD is part of IPFW or IPNAT is part of IPFILTER or
> NAT of user ppp. I can not find any NAT program in the FBSD ports
> collection unless I mis-understood some description.  If anybody
> knows of one please let me know. Yes I know that I can set
firewall
> rule to pass all packets just to use NAT function, but I don't
want
> overhead of firewall logic, just simple NAT like PPP NAT function
> with out the PPP stuff.

The reason you can't find a NAT program in the ports collection is
because
such a program exists in the base system.
natd(8) is a front-end to the libalias(3) library, which implements
generic
packet aliasing and masqerading functions (aka NAT).

> I was wondering if the NAT logic code from user ppp could be
copied
> and made into stand-a-lone NAT program. My programming ability is
> not great so I am asking for opinions  on weather this is
technical
> possible?  Thanks

Both ppp(8) and natd(8) use the libalias(3) library for NAT
functionality.

--
Matt Emmerton

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
"[EMAIL PROTECTED]"

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Stand-a-lone NAT PGM

2003-07-01 Thread Matthew Emmerton
> I have been looking for NAT program which is not part of some other
> program like NATD is part of IPFW or IPNAT is part of IPFILTER or
> NAT of user ppp. I can not find any NAT program in the FBSD ports
> collection unless I mis-understood some description.  If anybody
> knows of one please let me know. Yes I know that I can set firewall
> rule to pass all packets just to use NAT function, but I don't want
> overhead of firewall logic, just simple NAT like PPP NAT function
> with out the PPP stuff.

The reason you can't find a NAT program in the ports collection is because
such a program exists in the base system.
natd(8) is a front-end to the libalias(3) library, which implements generic
packet aliasing and masqerading functions (aka NAT).

> I was wondering if the NAT logic code from user ppp could be copied
> and made into stand-a-lone NAT program. My programming ability is
> not great so I am asking for opinions  on weather this is technical
> possible?  Thanks

Both ppp(8) and natd(8) use the libalias(3) library for NAT functionality.

--
Matt Emmerton

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Fatal Trap 12 on SMP

2003-07-01 Thread Michael E. Mercer
On Tue, 2003-07-01 at 18:11, Susan wrote:
> MY equipment is a Tyan 2460 dual CPU with 760 of ram. I am running 
> FreeBSD 5.1 Release without the SMP compilied into the kernel.When I 
> build and install kernel with the SMP components the new kernel will not 
> load. I get the Fatal Trap 12 error. I have compiled the SMP components 

I get a Fatal Trap 12 with Tyan Tiger 100 dual processors and SMP
compiled into the kernel only when I have a USB device attached when
FreeBSD is booting.

later
MeM


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Stand-a-lone NAT PGM

2003-07-01 Thread FBSD_User
I have been looking for NAT program which is not part of some other
program like NATD is part of IPFW or IPNAT is part of IPFILTER or
NAT of user ppp. I can not find any NAT program in the FBSD ports
collection unless I mis-understood some description.  If anybody
knows of one please let me know. Yes I know that I can set firewall
rule to pass all packets just to use NAT function, but I don't want
overhead of firewall logic, just simple NAT like PPP NAT function
with out the PPP stuff.

I was wondering if the NAT logic code from user ppp could be copied
and made into stand-a-lone NAT program. My programming ability is
not great so I am asking for opinions  on weather this is technical
possible?  Thanks


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Stand-a-lone NAT PGM

2003-07-01 Thread FBSD_User
I have been looking for NAT program which is not part of some other
program like NATD is part of IPFW or IPNAT is part of IPFILTER or
NAT of user ppp. I can not find any NAT program in the FBSD ports
collection unless I mis-understood some description.  If anybody
knows of one please let me know. Yes I know that I can set firewall
rule to pass all packets just to use NAT function, but I don't want
overhead of firewall logic, just simple NAT like PPP NAT function
with out the PPP stuff.

I was wondering if the NAT logic code from user ppp could be copied
and made into stand-a-lone NAT program. My programming ability is
not great so I am asking for opinions  on weather this is technical
possible?  Thanks



___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Warning: font renderer for ".pcf" already registered at priority 0

2003-07-01 Thread Jeff Penn,,,
Resending...

I'm having problems running XFree86 on 4.8 release with up to date 
ports.  I've tried running XFree86 using both xdm and startx.
'pkg_info -g' on XFree86 related ports does not indicate any corrupt 
files, reinstalling fontconfig & Xft also had no effect.

/var/log/XFree86.0.log:
XFree86 Version 4.3.0
Release Date: 27 February 2003
X Protocol Version 11, Revision 0, Release 6.6
Build Operating System: FreeBSD 4.8 i386 [ELF] 
Build Date: 06 June 2003
.
(**) Option "Protocol" "auto"
(**) Mouse0: Protocol: "auto"
(**) Option "CorePointer"
(**) Mouse0: Core Pointer
(**) Option "Device" "/dev/mouse"
(**) Option "Emulate3Buttons"
(**) Mouse0: Emulate3Buttons, Emulate3Timeout: 50
(==) Mouse0: Buttons: 3
(II) Keyboard "Keyboard0" handled by legacy driver
(II) XINPUT: Adding extended input device "Mouse0" (type: MOUSE)
(II) Mouse0: SetupAuto: hw.iftype is 4, hw.model is 0
(II) Mouse0: SetupAuto: protocol is SysMouse
Warning: font renderer for ".pcf" already registered at priority 0
Warning: font renderer for ".pcf.Z" already registered at priority 0
Warning: font renderer for ".pcf.gz" already registered at priority 0
Warning: font renderer for ".snf" already registered at priority 0
Warning: font renderer for ".snf.Z" already registered at priority 0
Warning: font renderer for ".snf.gz" already registered at priority 0
Warning: font renderer for ".bdf" already registered at priority 0
Warning: font renderer for ".bdf.Z" already registered at priority 0
Warning: font renderer for ".bdf.gz" already registered at priority 0
Warning: font renderer for ".pmf" already registered at priority 0

There is nothing useful in ~/.xsession-errors.

I've had a look on google and found similar issues related to using
-O2 optimisation with gcc3.3 &/or freetype, but haven't yet tracked down
all the details.  Has anyone else seen this problem?.

I am resending this due to problems with the subject line of my first
post.  I also forgot to mention that I install XFree86 using packages, 
but have not updated XFree86 recently.  My display card is:

nVidia Corporation NV11 [GeForce2 MX/MX 400] (rev b2)

Jeff
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Fatal Trap 12 on SMP

2003-07-01 Thread Susan
MY equipment is a Tyan 2460 dual CPU with 760 of ram. I am running 
FreeBSD 5.1 Release without the SMP compilied into the kernel.When I 
build and install kernel with the SMP components the new kernel will not 
load. I get the Fatal Trap 12 error. I have compiled the SMP components 
on FreeBSD 5.0 Release and so I don't suspect a hardware problem as 
sugested on the FreeBSD forams. Thanks Phil

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: which FreeBSD?

2003-07-01 Thread Micheal Patterson


- Original Message - 
From: "Scott Kupferschmidt" <[EMAIL PROTECTED]>
To: "Chris Dillon" <[EMAIL PROTECTED]>
Cc: "David Newman" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Tuesday, July 01, 2003 4:46 PM
Subject: Re: which FreeBSD?


> FreeBSD 4.8-STABLE would be your best bet.
>
> While the machine is a little much just for 10 users, think of
> expandability for the future.  There may be a need for the extra power
> later on, so it is good that you are using this hardware.  I'm sure one
> can think of other things to use a FreeBSD box other than just mail and
> DNS :-)
>
> Sincerely,
>
> Scott Kupferschmidt
> ISPrime, Inc.
> 866.502.4678 ext. 3
> AIM: Scott ISPrime - ICQ: 174337249

Oh yea. Web, vpn terminator, firewall, file server, print server, the list
just goes on and on. :)

--

Micheal Patterson
TSG Network Administration
405-917-0600

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: which FreeBSD?

2003-07-01 Thread Scott Kupferschmidt
FreeBSD 4.8-STABLE would be your best bet.

While the machine is a little much just for 10 users, think of
expandability for the future.  There may be a need for the extra power
later on, so it is good that you are using this hardware.  I'm sure one
can think of other things to use a FreeBSD box other than just mail and
DNS :-)

Sincerely,

Scott Kupferschmidt
ISPrime, Inc.
866.502.4678 ext. 3
AIM: Scott ISPrime - ICQ: 174337249

On Tue, 1 Jul 2003, Chris Dillon wrote:

> This belongs in -questions, not -smp.
> 
> On Tue, 1 Jul 2003, David Newman wrote:
> 
> > Greetings. For a small office (~10 users), I am planning to build a
> > mail and DNS server using FreeBSD-SMP; details below. My
> > requirements are availability and performance, in that order.
> >
> > Which FreeBSD is better suited for this -- 4.8 or 5.1?
> 
> 4.8-RELEASE or 4.8-STABLE
> 
> > Hardware:
> > Compaq Proliant 1850R 6/550 (2 x 550-MHz PIII), 1 Gbyte RAM, 2 x
> > 18-Gbyte SCSI drives
> 
> 1000% overkill for only 10 users.  As an example, I (still) have a
> 66MHz 486 with 48MB RAM and a single 2GB SCSI drive handling over 300
> users with sendmail and cyrus-imapd.  Focus on reliability foremost,
> so mirror those two SCSI drives you have.  The Proliant 1850R doesn't
> offer the ability to use redundant memory, but it at least does ECC.
> You'll also have an extra processor already there if one happens to go
> south, and you would never notice it was gone.
> 
> > Software:
> > postfix, courier-imap, bind
> 
> Consider cyrus-imapd2 or cyrus-imapd22 instead of courier-imap.  Very
> reliable, very fast, and offers you the ability to create a "black
> box" mail appliance that does not require the use of local user
> accounts, if you wish to go that route.
> 
> -- 
>  Chris Dillon - cdillon(at)wolves.k12.mo.us
>  FreeBSD: The fastest and most stable server OS on the planet
>  - Available for IA32, IA64, PC98, Alpha, and UltraSPARC architectures
>  - x86-64, PowerPC, ARM, MIPS, and S/390 under development
>  - http://www.freebsd.org
> 
> No trees were harmed in the composition of this message, although some
> electrons were mildly inconvenienced.
> 
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Pam Question

2003-07-01 Thread Monah Baki
Hi all,

I'm trying to setup a freebsd 4.8 server with openldap for 
authentication. I installed pam  from the ports tree, and verified 
/etc/pam.conf does exist.

How does freebsd know when to use pam

Thank you

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: IDE for C

2003-07-01 Thread Adam
On Tue, 2003-07-01 at 15:43, Martin Vana wrote:
> I'm quite new to Freebsd and I'm searching for IDE similar /or better :-]/ to DJGPP 
> i used under WIN. I'm running 5.1 and Fluxbox over X. Any suggestions?
> Thanx 
> Martin
> 
> PS: I hope I haven't started some flame war :*-]

Try Anjuta. Stick with the stable branch for now, though. anjuta-devel
is still far too flaky for normal use. Can't even build new projects atm
...

-- 
Adam <[EMAIL PROTECTED]>

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: which FreeBSD?

2003-07-01 Thread Chris Dillon
This belongs in -questions, not -smp.

On Tue, 1 Jul 2003, David Newman wrote:

> Greetings. For a small office (~10 users), I am planning to build a
> mail and DNS server using FreeBSD-SMP; details below. My
> requirements are availability and performance, in that order.
>
> Which FreeBSD is better suited for this -- 4.8 or 5.1?

4.8-RELEASE or 4.8-STABLE

> Hardware:
> Compaq Proliant 1850R 6/550 (2 x 550-MHz PIII), 1 Gbyte RAM, 2 x
> 18-Gbyte SCSI drives

1000% overkill for only 10 users.  As an example, I (still) have a
66MHz 486 with 48MB RAM and a single 2GB SCSI drive handling over 300
users with sendmail and cyrus-imapd.  Focus on reliability foremost,
so mirror those two SCSI drives you have.  The Proliant 1850R doesn't
offer the ability to use redundant memory, but it at least does ECC.
You'll also have an extra processor already there if one happens to go
south, and you would never notice it was gone.

> Software:
> postfix, courier-imap, bind

Consider cyrus-imapd2 or cyrus-imapd22 instead of courier-imap.  Very
reliable, very fast, and offers you the ability to create a "black
box" mail appliance that does not require the use of local user
accounts, if you wish to go that route.

-- 
 Chris Dillon - cdillon(at)wolves.k12.mo.us
 FreeBSD: The fastest and most stable server OS on the planet
 - Available for IA32, IA64, PC98, Alpha, and UltraSPARC architectures
 - x86-64, PowerPC, ARM, MIPS, and S/390 under development
 - http://www.freebsd.org

No trees were harmed in the composition of this message, although some
electrons were mildly inconvenienced.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Using a RAID-card with FreeBSD

2003-07-01 Thread David Landgren
Johan Paul wrote:

Hi all,

This might be kind of a newbie question - I apologize for that.

This is my first time I use a hardware RAID card on a server. I was 
wondering if there are any issues with FreeBSD (4.8R) regarding these 
cards? Will FreeBSD see the RAID1 as a single hard drive that I just 
need to partition and label? And if I need to replace a failed hard 
Yes, it just sees a single ordinary drive.

drive in the RAID array I assume the card will do the rebuilding of the 
array while FreeBSD will function as normal even when I need to reboot 
the machine?
Yes, the RAIDing is completely transparent to the OS. You don't even 
have to reboot the machine if the disks are hot-swappable. Just pull the 
dead one out, install the new one, and the controller will bring it up 
to speed. RAID-1 is much faster to rebuild than RAID-5 (just a casual 
observation; I'm not sure if that's a hard-and-fast rule).

I checked that the card I intended to use (Promise FastTrak TX2) is 
supported by FreeBSD so I don't assume any problems installing FreeBSD 
either.

Thanks for any answers :-)
you're welcome.

David

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Wãrning: fønt renðerer før ??.þcf?? ãlreãðý registereð ãt þriøritý0

2003-07-01 Thread Jeff Penn
I'm having problems running XFree86 on 4.8 release with up to date 
ports.  I've tried running XFree86 using both xdm and startx.
'pkg_info -g' on XFree86 related ports does not indicate any corrupt 
files, reinstalling fontconfig & Xft also had no effect.

/var/log/XFree86.0.log:
XFree86 Version 4.3.0
Release Date: 27 February 2003
X Protocol Version 11, Revision 0, Release 6.6
Build Operating System: FreeBSD 4.8 i386 [ELF] 
Build Date: 06 June 2003
.
(**) Option "Protocol" "auto"
(**) Mouse0: Protocol: "auto"
(**) Option "CorePointer"
(**) Mouse0: Core Pointer
(**) Option "Device" "/dev/mouse"
(**) Option "Emulate3Buttons"
(**) Mouse0: Emulate3Buttons, Emulate3Timeout: 50
(==) Mouse0: Buttons: 3
(II) Keyboard "Keyboard0" handled by legacy driver
(II) XINPUT: Adding extended input device "Mouse0" (type: MOUSE)
(II) Mouse0: SetupAuto: hw.iftype is 4, hw.model is 0
(II) Mouse0: SetupAuto: protocol is SysMouse
Warning: font renderer for ".pcf" already registered at priority 0
Warning: font renderer for ".pcf.Z" already registered at priority 0
Warning: font renderer for ".pcf.gz" already registered at priority 0
Warning: font renderer for ".snf" already registered at priority 0
Warning: font renderer for ".snf.Z" already registered at priority 0
Warning: font renderer for ".snf.gz" already registered at priority 0
Warning: font renderer for ".bdf" already registered at priority 0
Warning: font renderer for ".bdf.Z" already registered at priority 0
Warning: font renderer for ".bdf.gz" already registered at priority 0
Warning: font renderer for ".pmf" already registered at priority 0

There is nothing useful in ~/.xsession-errors.

I've had a look on google and found similar issues related to using
-O2 optimisation with gcc3.3 &/or freetype.  Has anyone else seen this
problem?.

Jeff
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Limiting an account to FTP only

2003-07-01 Thread Chuck Swiger
Nick Wilson wrote:
I am wanting to limit an account to FTP only, for uploading web pages to a
server.  I have ftpchroot'ed the account to limit access to the directories
I want to - is there any way of disabling all other access
(SSH/telnet/rlogin/SMTP auth etc).  I thought about removing the shell type
from the user account but believe ftpd needs a shell to be specified to
validate the logon.
You can use /usr/bin/false or /sbin/nologin as the shell for this FTP user. 
(Add whichever you use to /etc/shells...)

--
-Chuck
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Machine Crash

2003-07-01 Thread Kris Kennaway
On Tue, Jul 01, 2003 at 04:01:00PM -0400, Andrew Eross wrote:
> Hi Folks,
> 
> My machine has crashed twice today with the following message .. any clues
> as to what this means?

Could be bad HW, a corrupted FS or a bug in FreeBSD.

Kris


pgp0.pgp
Description: PGP signature


Re: gtk-gnutella unstable

2003-07-01 Thread Kris Kennaway
On Tue, Jul 01, 2003 at 04:55:35AM -0500, Richard morris wrote:
> I installed gtk-gnutella thru the ports. and I ran it. But I notice 
> something In my xterm window it was giving me the following warning over 
> and over:

Complain to the developers, this isn't a gtk-gnutella support forum.

Kris


pgp0.pgp
Description: PGP signature


Re: vt/ansi codes

2003-07-01 Thread Kris Kennaway
On Tue, Jul 01, 2003 at 07:29:24AM +, [EMAIL PROTECTED] wrote:
> i am trying to develop terminal I/O based code,
> and found myself meandering down a path
> to acquire terminal knowledge (i don't
> need to be told of SLang/ncurses/...).

UNIX is designed not to rely on one single terminal type.  IMO,
tailoring writing your application so it can only run on vt100
terminals (or ansi terminals, if you had your wish) is misguided..use
one of the character display libraries that handle all the internal
details in a terminal-independent way.

Kris


pgp0.pgp
Description: PGP signature


Limiting an account to FTP only

2003-07-01 Thread Nick Wilson
Hi

I am wanting to limit an account to FTP only, for uploading web pages to a
server.  I have ftpchroot'ed the account to limit access to the directories
I want to - is there any way of disabling all other access
(SSH/telnet/rlogin/SMTP auth etc).  I thought about removing the shell type
from the user account but believe ftpd needs a shell to be specified to
validate the logon.

Many thanks,

Nick Wilson

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: BTX halted

2003-07-01 Thread Kris Kennaway
On Tue, Jul 01, 2003 at 09:00:56AM +0700, Roger Merritt wrote:
> I recently got a new, large hard drive for one of my two servers and 
> transferred everything over from the old 4GB drive. So then I wanted to 
> take the old drive and combine it with the other old drive -- my idea is to 
> transfer /usr/home to one of them and leave the rest of the system on the 
> other. We also got new machines for our students, which gave me another box 
> that is just a little better than the box I'm currently using -- 200MHz 
> instead of 166MHz. The thing is, I'm not entirely sure what chip is in the 
> 200Mhz box. The old hard drive was compiled for an i686, while the other 
> server is compiled for an i586.

You forgot to mention which version of FreeBSD you're trying to run.

You also didn't mention details of the "large" hard drive.  Some old
BIOSes cannot handle booting from large hard drives (typically > 8
GB).

ris


pgp0.pgp
Description: PGP signature


Re: Custom install where is the arch/conf

2003-07-01 Thread Kris Kennaway
On Tue, Jul 01, 2003 at 01:42:04AM +, DanB wrote:
>   Cant find the arch/conf file for a custom build  Version 4.3 RC
> :/usr/src/sys/compile/CUSTOM  i386 is what uname -a tell me. Where
> coould it be?

Probably in /usr/src/sys/i386/conf

Kris


pgp0.pgp
Description: PGP signature


Re: SSH login banner: IP address instead of DNS name

2003-07-01 Thread Chris
Paul Hoffman wrote:

At 9:04 PM +0200 7/1/03, David Siebörger wrote:

At 12:41 PM on Tuesday  1 July 2003, Supote leelasupphakorn wrote:

 > Hi again. When I SSH into my 4.8 box, the first line of the 
banner is:
 > Last login: Mon Jun 30 19:31:44 2003 from 
15-characters-of-a-host-name
 > That DNS name is truncated to 15 characters. I would much prefer an
 > IP address. What do I need to change to get this?

 > --Paul Hoffman


Run sshd with the -u 15 option.  You can do so by adding this line to
/etc/rc.conf:
sshd_flags="-u 15"


Perfect, that's exactly what I needed. Thanks!
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"[EMAIL PROTECTED]"


try sshd_flags="-u0" instead (man sshd)

This will  show only the IP. In addition, this will halt the DNS lookups

--

Best regards,
Chris
__
PGP Fingerprint = D976 2575 D0B4 E4B0 45CC AA09 0F93 FF80 C01B C363

PGP Mail encouraged / preferred - keys available on common key servers
__
  01010010011101100011011001010111001001011000
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Problem installing GIMP

2003-07-01 Thread Konrad Scorciapino
> When you build the port, do you *have* a work/gimp-1.2.5/app/gimp-1.2
> executable at all?

No


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Account Privilege

2003-07-01 Thread Jerry McAllister
> 
> I'm trying to set up user accounts so that they can not view any further 
> than their home directory.  At the very least I don't want them to be able 
> to do a cd .. and view /usr/home and view the other user accounts 
> information. How would I set this up so they couldn't view other user 
> accounts or preferably any other part of the system.

What you need is chroot(8).
Use it to 'chroot' the user in to their own home directory.
Don't forget to put a copy of their shell and other things they
need within the directory where they are chrooted.

If chroot is not rigorous enough, check out jail(8).

jerry
> 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Any pointers for Verizon DSL in Silicon Valley

2003-07-01 Thread Eric Buchanan
Hello All,

I am considering switching to Verizon DSL in the
Silicon Valley area. Does anyone have any good web
site tutorials or other resources for making the
switch? I've looked in mailing list archives but
didn't find anything specific to this area. How long
would it take a middle-weight freebsd user to get
going with DSL here? 

Many TIAs,
Eric

__
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: SSH login banner: IP address instead of DNS name

2003-07-01 Thread Paul Hoffman
At 9:04 PM +0200 7/1/03, David Siebörger wrote:
At 12:41 PM on Tuesday  1 July 2003, Supote leelasupphakorn wrote:
 > Hi again. When I SSH into my 4.8 box, the first line of the banner is:
 > Last login: Mon Jun 30 19:31:44 2003 from 15-characters-of-a-host-name
 > That DNS name is truncated to 15 characters. I would much prefer an
 > IP address. What do I need to change to get this?
 > --Paul Hoffman
Run sshd with the -u 15 option.  You can do so by adding this line to
/etc/rc.conf:
sshd_flags="-u 15"
Perfect, that's exactly what I needed. Thanks!
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Machine Crash

2003-07-01 Thread Andrew Eross
Hi Folks,

My machine has crashed twice today with the following message .. any clues
as to what this means?


Jul  1 19:43:13 doc dev = #ad/0x20014, ino = 1172, fs = /backup
Jul  1 19:43:13 doc panic: ffs_vfree: freeing free inode
Jul  1 19:43:13 doc syncing disks... 53 6 6 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
1 1 1 1
Jul  1 19:43:13 doc giving up on 1 buffers
Jul  1 19:43:13 doc Uptime: 3h48m33s
Jul  1 19:43:13 doc Automatic reboot in 15 seconds - press a key on the
console to abort
Jul  1 19:43:13 doc Rebooting...


Thanks!
Andrew

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


HP C1537A DAT specs

2003-07-01 Thread Forrest Aldrich
Has anyone used the HP C1537A L706 on FreeBSD - it should work fine in 
default mode - but I'm curious about compression modes available, etc.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


IDE for C

2003-07-01 Thread Martin Vana
hi,
I'm quite new to Freebsd and I'm searching for IDE similar /or better :-]/ to DJGPP i 
used under WIN. I'm running 5.1 and Fluxbox over X. Any suggestions?
Thanx 
Martin

PS: I hope I haven't started some flame war :*-]

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Account Privilege

2003-07-01 Thread Toni Schmidbauer
On Tue, Jul 01, 2003 at 03:10:55PM -0400, Nucking Futs wrote:
> I'm trying to set up user accounts so that they can not view any further 
> than their home directory.  At the very least I don't want them to be able 
> to do a cd .. and view /usr/home and view the other user accounts 
> information. How would I set this up so they couldn't view other user 
> accounts or preferably any other part of the system.

- you could use bash -r (restricted bash)
- or chroot(8), on google i found the following article:
  http://www.tjw.org/chroot-login-HOWTO/ this how to is for linux
  but it should work on freebsd to.
- if you just want to restrict access to other users home
  dir's, creating a group per user and chmod 750 the users home
  dir should be sufficient. 

hth,
toni
-- 
Behandle die Menschen, als wären sie, was sie sein | toni at stderror dot at
sollten, und du wirst ihnen helfen, zu werden, was | Toni Schmidbauer
sie sein können.  - Johann Wolfgang von Goethe |


pgp0.pgp
Description: PGP signature


Re: BTX halted

2003-07-01 Thread othermark
In article <[EMAIL PROTECTED]>, Roger Merritt wrote:
> 
> BTX Loader 1.00 BTX version is 1.01
> 
> int=0006  err=  efl=00010246  eip=1934
> eax=00021d60  ebx=  ecx=  edx=
> esi=  edi=00020c34  ebp=00094bec  esp=00094bdc
> cs=0026  db=0033  es=0033  fs=0033  gs=0033  ss=0033
> cs:eip=0f 44 d6 89 55 fc 46 83-2c b7 00 74 05 83 fa ff
> ss:esp=00 00 00 00 00 00 00 00-00 00 00 00 ff ff ff ff
> BTX halted
> 

did you try a hard power reset after this message?  I have an old 
IBM intellistation that does the same thing with 5.x.  After I install 
I get the BTX halted, but if I cold boot it after the message it
will boot.

---
Mark
atkin901 at NOSPAM yahoo dot com
(!wired)?(coffee++):(wired);

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: Apache and extentions.

2003-07-01 Thread Derrick Ryalls
> Hello There,
> 
>  As far as i know apache-fp  is for apache plus front 
> page extentions 
> support,
> 
>  How I would do a complete web server from the apache, 
> does it work ?
>  I want to support the following\;
>  .ASP
>  .fp
>  .php
> 

Don't know about the others, but mod_php is in the ports and it does
have mysql support as an option.

>  Plus databases, (SQL) support, can some one advise me, 
> for what i 
> should install ?
> 
>  Iam on 4.8-R /ports installed.
> 
>  Thanks for help.
>  please include my email in the replay.
> 
> Marwan
> 
> _
> Tired of spam? Get advanced junk mail protection with MSN 8. 
> http://join.msn.com/?page=features/junkmail
> 
> ___
> [EMAIL PROTECTED] mailing list 
> http://lists.freebsd.org/mailman/listinfo/free> bsd-questions
> 
> To unsubscribe, send any mail to 
> "[EMAIL PROTECTED]"
> 


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: About FreeBSD mysql

2003-07-01 Thread Derrick Ryalls
> In the last episode (Jul 01), david said:
> > I found no information on setting or installing a mysql 
> server in the 
> > freeBSD handbook online or the hardcopy version which I have.
> 
> This is pretty much it:
> 
> cd /usr/ports/databases/mysql40-server
> make install
> 

http://www.freebsddiary.org/mysql.php

http://www.mysql.com

You may or may not (doesn't hurt to if you didn't already have MySQL)
need to run install_db to install a basic user database.


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Account Privilege

2003-07-01 Thread Nucking Futs
I'm trying to set up user accounts so that they can not view any further 
than their home directory.  At the very least I don't want them to be able 
to do a cd .. and view /usr/home and view the other user accounts 
information. How would I set this up so they couldn't view other user 
accounts or preferably any other part of the system.

_
Add photos to your e-mail with MSN 8. Get 2 months FREE*.  
http://join.msn.com/?page=features/featuredemail

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: crontab : exec, permission denied

2003-07-01 Thread ico
Dna Tue, Jul 01, 2003 at 10:25:35AM -0400, Lowell Gilbert spisal(a) :
>> I added to /etc/crontab this line:
>> 
>> */5 *   *   *   *   user1/usr/local/bin/getmail \
>> -r /usr/home/user1/.getmail/getmailrc
>> 
>> 
>> I wanted getmail to pick-up mail for user user1. Result is error:
>> exec: :permission denied
>> 
>> $ls -l /usr/local/bin/getmail
>> r-xr-xr-x  1 root  wheel  328 Jun 22 07:41 /usr/local/bin/getmail*
>> 
>> I also tried to create user1's crontab ( su user1; crontab -e ) . Result is the
>> same. What's wrong?
>
>Does it work from the command line?
>The following works fine for me from my user crontab:
>
>6   6   *   *   1-7 /usr/local/bin/fetchmail -s
>

Yes, it works from command line. I'm doing it now that way.

-- 
*ico beke*
ico(at)beke.info

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: mounting a floppy

2003-07-01 Thread Matthew Seaman
On Tue, Jul 01, 2003 at 01:25:17PM -0500, Robert Gallimore wrote:

> I am having a slight problem with FreeBSD 4.8. I cannot seem to mount a 
> floppy drive. I tried "mount /dev/fd0" but it comes back saying something 
> like an unrecognized file system or device. How do I mount my floppy drive 
> in FreeBSD 4.8? Thanks!

If this is a DOS format floppy, then here's a tip: don't bother trying
to mount and unmount the floppy all the time.  Instead, install the
emulators/mtools port.  This gives you a whole bunch of MS-DOS style
commands, except with an 'm' prepended to the name, which let you
access the floppy drive but without having to mount it first. Eg. you
can do:

% mdir a:

If you are using a non-DOS floppy or you really need to mount the
floppy for some other reason, then you're going to have to tell
mount(8) all of the information it needs.  There's two ways to do
that: either on the mount(8) command line, or by making an entry in
/etc/fstab.  Eg. to mount a read-only floppy with a msdos filesystem
on it as /mnt:

# mount -t msdos -o ro /dev/fd0 /mnt

Note that:

a) you usually have to have superuser privilege to run mount(8) or
umount(8).  You can either install the sudo(8) port and generate the
appropriate configuration there, or you can set the vfs.usermount
sysctl to a non-zero value.  See mount(2), sysctl(8) for details, but
note that setting vfs.usermount potentially opens up a nasty security
hole, so you should understand exactly what you are doing if you
decide to do that.

b) You have to remember to unmount the floppy before you eject it from
the drive.  Not doing that has undesirable effects.  Similarly, if the
floppy has the write protect tab set, you have to tell the system to
mount it read-only.  Unfortunately, the system can't actually detect
that the disk is write protected automatically.  Even worse, if you
mount a unix format RO floppy using RW flags, even if you do nothing
more than read files from the disk, the system will hang when you try
and unmount the disk because the system will try and update the 'last
mounted on' entry on the disk.  (Solution is to pop the floppy out,
toggle the write protect tab and put the disk back smartly so the
write can complete).  Oh -- editing files on such a disk will
apparently work because the system will hold the whole 1.44Mb disk
image in cache.  Changes will be flushed to disk eventually, or when
you try and unmount it.

Cheers,

Matthew

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


pgp0.pgp
Description: PGP signature


Re: mounting a floppy

2003-07-01 Thread Bob Hall
On Tue, Jul 01, 2003 at 01:25:17PM -0500, Robert Gallimore wrote:
> Hello
> 
> I am having a slight problem with FreeBSD 4.8. I cannot seem to mount a 
> floppy drive. I tried "mount /dev/fd0" but it comes back saying something 
> like an unrecognized file system or device. How do I mount my floppy drive 
> in FreeBSD 4.8? Thanks!

Try
# mount -t msdos -o rw /dev/fd0 /mnt
That's a bit much to type, and constant su-ing is a pain in the tuchis, 
so I use a bash alias.
alias monterfd='sudo mount -t msdos -o rw /dev/fd0 /mnt'
I type
$ monterfd
and my password, and the fd is mounted.

Bob Hall
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: SSH login banner: IP address instead of DNS name

2003-07-01 Thread David Siebörger
At 12:41 PM on Tuesday  1 July 2003, Supote leelasupphakorn wrote:
> > Hi again. When I SSH into my 4.8 box, the first line of the banner is:
> > Last login: Mon Jun 30 19:31:44 2003 from 15-characters-of-a-host-name
> > That DNS name is truncated to 15 characters. I would much prefer an 
> > IP address. What do I need to change to get this?
> 
> > --Paul Hoffman

Run sshd with the -u 15 option.  You can do so by adding this line to
/etc/rc.conf:

sshd_flags="-u 15"

> You can alter sshd's banner at the directive named "Banner"
> in the file "c/sshd/sshd_config".

That banner is shown before authentication, which is not what Paul is
talking about.


-- 
David Siebörger
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Throttled ethernet connection

2003-07-01 Thread Moriarty
Hi,

I'm running FreeBSD 4.8-Stable with ipfw, dummynet and ipsec enabled in the
kernel but bypassed via config/not being used for the moment. I'm using this
machine as a router between my local network and a WAN, with a 3com905c-tx
ethernet card and an Avaya 802.11b wifi card.

I've just built this machine over the past two or three days and have
encountered a problem with the ethernet side of the network. When i upload
or download from the machine with proftpd or apache over the ethernet
network (100mbit switched) im being limited to 50K/sec or less. If i start
two ftp downloads or have an ftp and httpd download going, the 50K/sec is
divided between the two connections, slowing both to about 25K/sec. I can
transfer fine over the 802.11b network card, with no throttling appearing
(upload/download rates of ~ 500K/sec). I can ftp over the WAN - through this
router machine - and download or upload from the WAN at a fine speed with no
apparent throttling appearing (again ~500K/sec achieved), which rules out
damage to the cabling etc.

Im completly stumped as to whats causing this, any help would be
appreciated.


Thanks,
Aidan


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Fwd: Re: mounting a floppy

2003-07-01 Thread quadrant

You need to mount the file system 'somewhere.'
mount /dev/fd0  /mnt
or similar. mount [device] [location]

On Tuesday 01 July 2003 02:25 pm, Robert Gallimore wrote:
> Hello
>
> I am having a slight problem with FreeBSD 4.8. I cannot seem to mount a
> floppy drive. I tried "mount /dev/fd0" but it comes back saying something
> like an unrecognized file system or device. How do I mount my floppy drive
> in FreeBSD 4.8? Thanks!
>
> Rob
>
> _
> MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.
> http://join.msn.com/?page=features/virus
>
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"

---

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


mounting a floppy

2003-07-01 Thread Robert Gallimore
Hello

I am having a slight problem with FreeBSD 4.8. I cannot seem to mount a 
floppy drive. I tried "mount /dev/fd0" but it comes back saying something 
like an unrecognized file system or device. How do I mount my floppy drive 
in FreeBSD 4.8? Thanks!

Rob

_
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.  
http://join.msn.com/?page=features/virus

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Virus Detected by Network Associates, Inc. Webshield SMTP V4.5 MR1a

2003-07-01 Thread techhelp
Southern Illinois University-Edwardsville Office of Information Technology detected
the W32/[EMAIL PROTECTED] virus in the your_details.zip attachment sent to <[EMAIL 
PROTECTED]> 
and it was "Deleted". If you are affiliated with SIUE, please call the Customer
Support Center at 650-3739 for immediate assistance with your infected computer. If you
are not affiliated with SIUE, please contact your local personal computer support
organization.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


[no subject]

2003-07-01 Thread Robert Gallimore
test

_
Help STOP SPAM with the new MSN 8 and get 2 months FREE*  
http://join.msn.com/?page=features/junkmail

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


[no subject]

2003-07-01 Thread Robert Gallimore


_
MSN 8 with e-mail virus protection service: 2 months FREE*  
http://join.msn.com/?page=features/virus

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Upgrading from 5.0 to 5.1

2003-07-01 Thread Lowell Gilbert
Gerard Samuel <[EMAIL PROTECTED]> writes:

> Im getting this error (a bit long) ->
[snip]
> init_main.o(.text+0x2b9): undefined reference to `kse0_sched'
> init_main.o(.text+0x2c3): undefined reference to `ksegrp0_sched'

This is a FAQ; it's covered in /usr/src/UPDATING in an entry from
January 25.
You need to specify a scheduler in your kernel configuration.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Upgrading from 5.0 to 5.1

2003-07-01 Thread Gerard Samuel
Im currently using ->
gladiator# uname -a
FreeBSD gladiator.trini0.org 5.0-RELEASE-p7 FreeBSD 5.0-RELEASE-p7 #3: 
Tue May 13 01:34:55 EDT 2003 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GLADIATOR  i386

I cvsupped to the latest source of RELENG_5_1
1.  Ran make buildworld
2.  Ran make buildkernel KERNCONF=GLADIATOR
Im getting this error (a bit long) ->
sh /usr/src/sys/conf/newvers.sh GLADIATOR
cc -c -O -pipe -mcpu=pentiumpro -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline 
-Wcast-qual  -fformat-extensions -std=c99  -nostdinc -I-  -I. 
-I/usr/src/sys -I/usr/src/sys/dev -I/usr/src/sys/contrib/dev/acpica 
-I/usr/src/sys/contrib/ipfilter -D_KERNEL -include opt_global.h 
-fno-common  -mno-align-long-strings -mpreferred-stack-boundary=2 
-ffreestanding -Werror  vers.c
linking kernel
init_main.o: In function `proc0_init':
init_main.o(.text+0x2b9): undefined reference to `kse0_sched'
init_main.o(.text+0x2c3): undefined reference to `ksegrp0_sched'
init_main.o(.text+0x2cd): undefined reference to `proc0_sched'
init_main.o(.text+0x2d7): undefined reference to `thread0_sched'
kern_clock.o: In function `statclock':
kern_clock.o(.text+0x6a4): undefined reference to `sched_clock'
kern_condvar.o: In function `cv_waitq_add':
kern_condvar.o(.text+0x1353): undefined reference to `sched_sleep'
kern_exit.o: In function `exit1':
kern_exit.o(.text+0x1358): undefined reference to `sched_exit'
kern_fork.o: In function `fork1':
kern_fork.o(.text+0xc55): undefined reference to `sched_fork'
kern_idle.o: In function `idle_proc':
kern_idle.o(.text+0x1d6): undefined reference to `sched_runnable'
kern_thr.o: In function `thr_exit1':
kern_thr.o(.text+0xe8): undefined reference to `sched_exit_kse'
kern_thr.o(.text+0x17b): undefined reference to `sched_exit_thread'
kern_thr.o: In function `thr_create':
kern_thr.o(.text+0x46f): undefined reference to `sched_fork_kse'
kern_thr.o(.text+0x481): undefined reference to `sched_fork_thread'
kern_mutex.o: In function `propagate_priority':
kern_mutex.o(.text+0x7a): undefined reference to `sched_prio'
kern_proc.o: In function `procinit':
kern_proc.o(.text+0xe3): undefined reference to `sched_sizeof_proc'
kern_proc.o: In function `fill_kinfo_proc':
kern_proc.o(.text+0x1666): undefined reference to `sched_pctcpu'
kern_resource.o: In function `donice':
kern_resource.o(.text+0x968): undefined reference to `sched_nice'
kern_resource.o: In function `rtp_to_pri':
kern_resource.o(.text+0xd25): undefined reference to `sched_class'
kern_subr.o: In function `uio_yield':
kern_subr.o(.text+0x57e): undefined reference to `sched_prio'
kern_switch.o: In function `choosethread':
kern_switch.o(.text+0x11): undefined reference to `sched_choose'
kern_switch.o: In function `kse_reassign':
kern_switch.o(.text+0xea): undefined reference to `sched_add'
kern_switch.o: In function `adjustrunqueue':
kern_switch.o(.text+0x168): undefined reference to `sched_rem'
kern_switch.o(.text+0x170): undefined reference to `sched_add'
kern_switch.o(.text+0x19e): undefined reference to `sched_rem'
kern_switch.o: In function `setrunqueue':
kern_switch.o(.text+0x293): undefined reference to `sched_rem'
kern_switch.o(.text+0x34d): undefined reference to `sched_add'
kern_synch.o: In function `msleep':
kern_synch.o(.text+0x518): undefined reference to `sched_sleep'
kern_synch.o: In function `mi_switch':
kern_synch.o(.text+0xdf6): undefined reference to `sched_switchout'
kern_synch.o(.text+0xe1f): undefined reference to `sched_switchin'
kern_synch.o: In function `setrunnable':
kern_synch.o(.text+0xf1b): undefined reference to `sched_wakeup'
kern_synch.o: In function `yield':
kern_synch.o(.text+0x1169): undefined reference to `sched_prio'
kern_thread.o: In function `threadinit':
kern_thread.o(.text+0x1547): undefined reference to `sched_sizeof_thread'
kern_thread.o(.text+0x1591): undefined reference to `sched_sizeof_ksegrp'
kern_thread.o(.text+0x15db): undefined reference to `sched_sizeof_kse'
subr_trap.o: In function `userret':
subr_trap.o(.text+0x12): undefined reference to `sched_userret'
subr_trap.o: In function `ast':
subr_trap.o(.text+0x67f): undefined reference to `sched_prio'
ksched.o: In function `ksched_attach':
ksched.o(.text+0x2e): undefined reference to `sched_rr_interval'
ksched.o: In function `ksched_setscheduler':
ksched.o(.text+0x2d3): undefined reference to `sched_prio'
ksched.o(.text+0x3c3): undefined reference to `sched_prio'
ffs_snapshot.o: In function `ffs_snapshot':
ffs_snapshot.o(.text+0xb4a): undefined reference to `sched_nice'
ffs_snapshot.o(.text+0x24f4): undefined reference to `sched_nice'
vm_zeroidle.o: In function `vm_pagezero':
vm_zeroidle.o(.text+0x40d): undefined reference to `sched_runnable'
vm_pageout.o: In function `vm_pageout_scan':
vm_pageout.o(.text+0x1c14): undefined reference to `sched_nice'
machdep.o: In function `cpu_idle':
machdep.o(.text+0x16ee): undefined reference to `sched_runnable'
*** Error code 1

Stop in /usr/obj/usr/src/sys/GLADIATOR

USB mouse/keyboard causes kernel panic during boot sequence

2003-07-01 Thread Michael E. Mercer
Hello peoples,

I have posted this before and unfortunately I still have this problem.
During the boot sequence, when it probes for the USB devices, it causes
a kernel panic (page fault) if there is either (or both) a USB mouse
and/or keyboard attached.

If I remove the mouse and keyboard and let it boot up, then connect
them, they work just fine.

Any ideas?

Thanks
Michael Mercer

uname -a
FreeBSD dual.mmercer.com 4.8-STABLE FreeBSD 4.8-STABLE #0: 
Tue Jul  1 11:44:10 EDT 2003 [EMAIL PROTECTED]:/usr/src/sys/compile/dualII_4_8  
i386

snippet from dmesg
uhci0:  port 0xef80-0xef9f irq 2 at device 
7.2 on pci0
uhci0: LegSup = 0x003a
usb0:  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


ERROR MESSAGE
uhub2: 2 ports with 2 removable, self powered

Fatal trap 12: page fault while in kernel mode
mp_lock = 0024; cpuid = 0; lapic.id = 
fault virtual address = 0x4
fault code = supervisor read, page not present
instruction pointer = 0x8: 0xc02583c4
stack pointer   = 0x10: 0xc045fd20
frame pointer   = 0x10: 0xc045fd3c
code segment= base 0x0, limit 0xf, type 0x1b
= DPL 0, pres 1, def 32 1, gran 1
processor eflags= interrupt enabled, resume, IOPC=0
current process = 0(swapper)
interrupt mask  = none <- SMP: XXX
trap number = 12
panic: page fault
mp_lock = 0024; cpuid = 0; lapic.id = 
Uptime - 0s

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


USB mouse/keyboard causes kernel panic during boot sequence

2003-07-01 Thread Michael E. Mercer
Hello peoples,

I have posted this before and unfortunately I still have this problem.
During the boot sequence, when it probes for the USB devices, it causes
a kernel panic (page fault) if there is either (or both) a USB mouse
and/or keyboard attached.

If I remove the mouse and keyboard and let it boot up, then connect
them, they work just fine.

Any ideas?

Thanks
Michael Mercer

uhub2: 2 ports with 2 removable, self powered

Fatal trap 12: page fault while in kernel mode
mp_lock = 0024; cpuid = 0; lapic.id = 
fault virtual address = 0x4
fault code = supervisor read, page not present
instruction pointer = 0x8: 0xc02583c4
stack pointer   = 0x10: 0xc045fd20
frame pointer   = 0x10: 0xc045fd3c
code segment= base 0x0, limit 0xf, type 0x1b
= DPL 0, pres 1, def 32 1, gran 1
processor eflags= interrupt enabled, resume, IOPC=0
current process = 0(swapper)
interrupt mask  = none <- SMP: XXX
trap number = 12
panic: page fault
mp_lock = 0024; cpuid = 0; lapic.id = 
Uptime - 0s

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


question on .mail_aliases

2003-07-01 Thread David Banning
Is there a way to put the actual name in the .mail_aliases file?
I sometimes forget the the abbreviation that I used.


-- 

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Variable NFS mounts / firewall rules.

2003-07-01 Thread lewiz
On Tue, Jul 01, 2003 at 08:45:54AM -0400, Dan Pelleg wrote:
> 1. http://www.freebsd-support.de/misc/setnetparm/
> I've never had the chance to use it myself, but it might help.

I've checked this out briefly and it's geared more towards static
setups, but I think DHCP can be configured to pretty much do everything
this does (assuming I have control over each and every DHCP server... :)

  Again, thanks very much,

-lewiz.

-- 
If you're not very clever you should be conciliatory.
-- Benjamin Disraeli

-| msn:[EMAIL PROTECTED] | jab:[EMAIL PROTECTED] | url:http://lewiz.net |-


pgp0.pgp
Description: PGP signature


Re: Dial-up Modem Problems

2003-07-01 Thread Lowell Gilbert
Brandon Beamer <[EMAIL PROTECTED]> writes:

> I just installed FreeBSD5.0-RELEASE and I'm trying to set up my
> internal PCI modem for dial-up internet connection. The modem is a
> Diamond Multimedia SupraMax 56i, and it's not being detected. I've
> played around with /boot/device.hints and the kernel configuration,
> and I have no idea how to get FreeBSD to detect my modem. I don't know
> whether or not it's a winmodem, I don't think it is. 

It is.  And Diamond seems to have changed chipsets on it while keeping
the same model name, so you'll need to figure out the chipset on your
own.  

>  If it turns out
> that setting this modem up will eventually be a futile effort, please
> help me out in choosing a modem that will work for sure.

An external serial modem has always been safe.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Using a RAID-card with FreeBSD

2003-07-01 Thread Johan Paul
Hi all,

This might be kind of a newbie question - I apologize for that.

This is my first time I use a hardware RAID card on a server. I was 
wondering if there are any issues with FreeBSD (4.8R) regarding these 
cards? Will FreeBSD see the RAID1 as a single hard drive that I just 
need to partition and label? And if I need to replace a failed hard 
drive in the RAID array I assume the card will do the rebuilding of the 
array while FreeBSD will function as normal even when I need to reboot 
the machine?

I checked that the card I intended to use (Promise FastTrak TX2) is 
supported by FreeBSD so I don't assume any problems installing FreeBSD 
either.

Thanks for any answers :-)

--
Johan Paul
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


FreeBSD 5.1 on ASUS P4C800 (onboard NIC problems, 3Com 3C940)

2003-07-01 Thread Gab
Hello,

I successfully installed FreeBSD 5.1 on my ASUS P4C800 motherboard. The
only remaining problem is that sysinstall did not find any ethernet
device during the installation. The onboard NIC is a 3Com 3C940.

What should I exactly do in order to make the system detect this 3Com
3C940 ethernet device and make it work properly?

Many thanks for your help.

Gab

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Problem installing GIMP

2003-07-01 Thread Konrad Scorciapino
Any ideas?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Variable NFS mounts / firewall rules.

2003-07-01 Thread lewiz
On Tue, Jul 01, 2003 at 08:45:54AM -0400, Dan Pelleg wrote:
> 2. Use the automounter to mount NFS volumes on-demand. This way you will
> not have to worry about mounting until you actually need to access the
> volume. See amd(8).

That's a good idea I didn't think off :)  I messed with amd(8) once
before and ran into trouble.  I can see in this case it would be ideal,
and shall have a go at getting it to play nicely.

> 3. ipfw supports the "me" keyword, to flexibly refer to your currently
> assigned IP address.

Yes, I had looked at this.  However, I was meaning trying to have a
solution where a different set of firewall rules would be started based
on the assigned IP address.

> 4. Just in case it might help you, here is my /etc/dhclient-exit-hooks:
> 
> # nothing to do unless we're bound
> case ${reason} in
> BOUND | RENEW | REBIND | REBOOT )
> if [ -n "${new_domain_name_servers}" ]; then
> if [ -z "${old_domain_name_servers}" ] || [ x${old_ip_address} != 
> x{$new_ip_address} ]; then
> [ -x /etc/refresh-named ] && /etc/refresh-named 
> ${new_domain_name_servers}
> [ -x /etc/set-time ] && /etc/set-time
> fi
> fi
> ;;
> esac

Yeah, I think I can see that this might even be a good place to
start/stop (stop if required, I haven't read amd(8) yet) amd from.
Also, I can set my symlinks in case the reason is not one of yours
listed.

> 5. You can further run ifconfig commands in /etc/start_if.
> (for example /etc/start_if.fxp0 ).

I use start_if.ep0 to set the media for my network card.  Does this get
re sourced after dhclient has done it's magic?  I was under the
assumption that it got executed /before/ dhclient, and would therefore
be of little use to set variables based on the output of dhclient... ?

  Many thanks!  You've given me some excellent ideas.  I'll tell you how
I fare.

-lewiz.

-- 
In the long run, every program becomes rococo, and then rubble.
-- Alan Perlis

-| msn:[EMAIL PROTECTED] | jab:[EMAIL PROTECTED] | url:http://lewiz.net |-


pgp0.pgp
Description: PGP signature


Re: vt/ansi codes

2003-07-01 Thread Malcolm Kay
I wonder with this is really relavent to FreeBSD questions.
But in any case here is my 2 cents worth.

On Tue, 1 Jul 2003 16:59, [EMAIL PROTECTED] wrote:
> i am trying to develop terminal I/O based code,
> and found myself meandering down a path
> to acquire terminal knowledge (i don't
> need to be told of SLang/ncurses/...).
>

Have you looked at termcap and terminfo,
which of course underpin curses/ncurses.

> i can't readily find an answer to this, but
> i am assuming DEC terminals don't scroll left/right?
> i've never used a "terminal", so i wouldn't know.
>
> there are ANSI escape codes that would be great to use,
> but from the knowledge i have been able to acquire, it
> appears vtXXX stuff is a fairly "lacking" subset of
> ANSI 3.64 terminal display functions.  there's many
> aspects of ANSI 3.64 that would make display updates
> over serial connections MUCH more efficient than
> using vtXXX only codes.  any comments providing

It doesn't really matter what standards might be defined;
the important issue is what functions commonly available
terminals and terminal emulations have.

> a better understanding about this would be
> appreciated - cuz i'd hate to write a bunch
> of inefficient code just to find out i *could*
> scroll left/right with an ANSI escape sequence, etc.
>
> my goal is to generate a minimal set of
> reliable cross-platform ANSI escape codes
> one can use without fear of incompatibility.
> maybe this is an impossibility - i dunno - but
> there are a few sequences that seem to permeate
> most data sheets.

There are an enormous variety of terminals and terminal 
emulations which have very little in the way of a common 
subset of functions. If you must use one common subset
then you had best stick to VT100, I guess that will get you 
into between 1/3 and 2/3 of the terminals and emulations 
out there.

Unix and same other OS have dealt with the problem 
by using databases of terminal information - termcap 
and/or terminfo - so that terminals with different control 
sequences can be managed by the same software and 
the software doesn't  need prior knowledge of the specific 
control codes.

>
> as i read that this ANSI stuff was done way
> back in 1979 - before i bought my Apple 2e,
> i can't help but "gawk" with disbelief as
> i find UNIX vtXXX terminal stuff to still be
> fairly primitive a quarter century later.
> i mean, an entire screen shouldn't have to
> be sent over a serial line just to move a
> cursor past the rightmost column in 2003 :)
>

In 1979 to send a full screen of say 2000 characters 
took perhaps 1 to 5 minutes, now in a similar situation we
commonly send that in 20 to 100 milliseconds so the 
problem of dealing with different standards is largely 
circumvented by using less in the way
of fancy functions and instead just redrawing the screen.

Now-a-days graphic displays generally get more attention
(not that I think this is necessarily good) and means of updating 
these with respect to the available bandwidth is receiving 
considerable attention.

> also, i assume:
>
> ioctl.h struct winsize, and
> termios.h   struct termios
>
> are available in one form or another on most
> platforms?  is the "RAW" termios state
> a cross-platform state?  or is it a
> BSD specific state?
>
> thank you (please ditto any replies off-list).


Malcolm Kay
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD as NAS

2003-07-01 Thread Kirk Strauser
At 2003-07-01T08:12:27Z, "CVBNM" <[EMAIL PROTECTED]> writes:

> - correct hardware support (is 1Gbit/s network working correctly?,
> hotswaping, RAID controller)

Just FYI, I admin a few servers with SCSI/160 drivers in software RAID
setups (using mirroring exclusively so performance isn't an issue).
Hotswapping drives is a piece of cake.  I have a standard RAID configuration
file, so replacing a drive is as simple as:

  1) Shutting down the drive inside the RAID
  2) Using atacontrol to stop the drive
  3) Swapping it out with a new one
  4) Using atacontrol to rescan the bus
  5) Fdisk and disklabel the drive
  6) Typing "vinum create /etc/raidconfig" to layout the drive
  7) Typing "vinum start " to sync the data

If I had to do it more than once a year or so, I'd probably throw it all
into a script with "Press any key to continue" prompts.
-- 
Kirk Strauser
In Googlis non est, ergo non est.


pgp0.pgp
Description: PGP signature


Re: crontab : exec, permission denied

2003-07-01 Thread Lowell Gilbert
ico <[EMAIL PROTECTED]> writes:

> I added to /etc/crontab this line:
> 
> */5 *   *   *   *   user1/usr/local/bin/getmail \
> -r /usr/home/user1/.getmail/getmailrc
> 
> 
> I wanted getmail to pick-up mail for user user1. Result is error:
> exec: :permission denied
> 
> $ls -l /usr/local/bin/getmail
> r-xr-xr-x  1 root  wheel  328 Jun 22 07:41 /usr/local/bin/getmail*
> 
> I also tried to create user1's crontab ( su user1; crontab -e ) . Result is the
> same. What's wrong?

Does it work from the command line?
The following works fine for me from my user crontab:

6   6   *   *   1-7 /usr/local/bin/fetchmail -s
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: catchall

2003-07-01 Thread Lowell Gilbert
Kirk Bailey <[EMAIL PROTECTED]> writes:

> I want to set up a catchall for incoming email addressed to
> nonexistant accountnames in my domain. This way probes do not bounce
> back and reveal what acount name does NOT exist here. How do I do
> this? I am running FreeBSD and Sendmail.

Use a virtual user table.
http://www.sendmail.org/virtual-hosting.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


samba: users can't change their passwords.

2003-07-01 Thread Paiva, Gilson de
Hi everybody,

I've been searching and asking at irc channels but no answer was found
about samba error signal 6 and users being unable to change their
passwords with samba 2.2.8a and FBSD 4.8-STABLE.
Everything was working fine, no password sync.

a piece of log.smbd when a user tries to change his password:

[2003/07/01 11:04:33, 0] lib/util_sec.c:assert_gid(114)
  Failed to set gid privileges to (0,65534) now set to (65534,65534)
uid=(0,65534)
[2003/07/01 11:04:33, 0] lib/util.c:smb_panic(1094)
  PANIC: failed to set gid

/var/log/messages and console:
[snip]
Jul  1 11:04:33 dmrt0 /kernel: pid 51838 (smbd), uid 65534: exited on
signal 6
Jul  1 11:04:33 dmrt0 /kernel: pid 51912 (smbd), uid 65534: exited on
signal 6
Jul  1 11:04:33 dmrt0 /kernel: pid 51935 (smbd), uid 65534: exited on
signal 6


Anyone also facing this?

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Paiva, Gilson deDomingos Martins
 mailto:[EMAIL PROTECTED]Brazil
 http://www.el.com.br/   E&L Producoes de Software
 http://www.FreeBSD.org/ FreeBSD: The Power to Serve
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=


--
Aviso Legal:
Esta mensagem pode nao expressar oficialmente as ideias ou vontades da empresa
E&L Producoes de Software, sendo responsavel por esta exclusivamente seu autor.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Dell Perc3 raid cards

2003-07-01 Thread Gareth Hopkins
On Tue, 1 Jul 2003, Matthew Bettinger wrote:

MB>Hello,
MB>
MB> We are looking for a dell box to run a small (MySQL) database on and
MB>was curious as to how well the raid card support is in these newer
MB>machines.  A box that would meet our needs would be something along the
MB>lines of a power edge 1650.  These come with  PERC3-DI,128MB Battery
MB>Backed Cache RAID cards.  Does anyone have an experience using these
MB>cards with bsd and,  actually replacing a disk (raid 5) using the raid
MB>utilis that come with the 4.8 branch of BSD ?

Howdie,

We are running 4.8-Stable on 2650's and are very happy.
Replacement disks for failed drives are automatically configured and added to
whatever raid you are running.

---
Gareth Hopkins
Server Operations
http://www.uunet.co.za
08600 UUNET (08600 88638)

"The contents of this e-mail and any accompanying documentation is
confidential and any use thereof, in whatever form, by anyone other
than the addressee for whom it is intended, is strictly prohibited."

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Dell Perc3 raid cards

2003-07-01 Thread Matthew Bettinger
Hello,

 We are looking for a dell box to run a small (MySQL) database on and 
was curious as to how well the raid card support is in these newer 
machines.  A box that would meet our needs would be something along the 
lines of a power edge 1650.  These come with  PERC3-DI,128MB Battery 
Backed Cache RAID cards.  Does anyone have an experience using these 
cards with bsd and,  actually replacing a disk (raid 5) using the raid 
utilis that come with the 4.8 branch of BSD ?

Regards,
-- 
Matthew Bettinger
System Administrator
Champion Elevators, Inc.
Houston, Texas 77061
713.640.8500
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Error messages in dmesg

2003-07-01 Thread Konrad Heuer

On Tue, 1 Jul 2003, Mike Doyle wrote:

> I have some messages appearing in my dmesg output and in the security log
> that concerns me:
>
>  > liffey.cooperationireland.org kernel log messages:
>  > > ile: table is full
>  > > file: table is full
>  > > file: table is full
>  > > file: table is full
>
> Any clues as to what might cause this ? Does it mean I've run out of inodes or
> of file descriptors ? How do I pin down the offending application.
>
> The server in question has only two roles - it acts as our mail server and
> also as a Squid web proxy. The errors mostly seem to have occurred late at
> night so it was most likely mail related rather than web-proxy related.

You're probably out of descriptors; check the max number with:

sysctl kern.maxfiles

The number can be enlarged by entering:

sysctl -w kern.maxfiles=somelargernumber

To make this change permanent, insert

kern.maxfiles=somelargernumber

in /etc/sysctl.conf.

rmonitor from /usr/ports/sysutils/rmonitor is able to log utilization of
file descriptors and may help to analyze what happens.

Regards

Konrad Heuer ([EMAIL PROTECTED])  ___  ___
GWDG   / __/__ ___ / _ )/ __/ _ \
Am Fassberg   / _// __/ -_) -_) _  |\ \/ // /
37077 Goettingen /_/ /_/  \__/\__//___//
Germany

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Error messages in dmesg

2003-07-01 Thread Mike Doyle
Hi

I have some messages appearing in my dmesg output and in the security log
that concerns me:
> liffey.cooperationireland.org kernel log messages:
> > ile: table is full
> > file: table is full
> > file: table is full
> > file: table is full
Any clues as to what might cause this ? Does it mean I've run out of inodes or
of file descriptors ? How do I pin down the offending application.
The server in question has only two roles - it acts as our mail server and
also as a Squid web proxy. The errors mostly seem to have occurred late at
night so it was most likely mail related rather than web-proxy related.
Thanks

	Mike

<>< === ><>
Michael Doyleemail: [EMAIL PROTECTED]
Network Administratorpersonal email: [EMAIL PROTECTED]
Co-operation Ireland   http://www.cooperationireland.org/
Phone: +353-1-661 0588   Fax: +353-1-661 8456
*

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD as NAS

2003-07-01 Thread Jason Stewart
> The pros and cons of FreeBSD based solution:
> 
> + cheaper
> + more reliable (my oppionion)
> + have more experiences with this OS
> + can be configured as one wish
> - not all feautures of Windows (snapshot copy, backup utilities)

You can get most of this functionality with some clever scripting.

> - correct hardware support (is 1Gbit/s network working correctly?,
> hotswaping, RAID controller)

I don't know about the nic, but I've had extremely good luck with the
Dell RAID Cards on Linux. Usually once a driver comes out for a dell
card on Linux, it's ported to BSD shortly afterward (aacraid for
example). 


> Protocol support is probably the same (we need just NFS and SMB). It will be
> used for users' data (home directories).
> 
> What is your opinion? Does it make sense?
> 

It makes perfect sense if you want better uptimes, less hassle, and a
better performing OS.


> Thanks in advance
> 
> lk
> 
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
-- 
Jason Stewart <[EMAIL PROTECTED]>
Right to Life of Michigan

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


  1   2   >