Re: pkg_deinstall or pkg_delete

2004-05-11 Thread Parv
in message [EMAIL PROTECTED], wrote Roop
Nanuwa thusly...

 On Mon, 10 May 2004 22:45:42 -0400, Chiang Seng Chang
 [EMAIL PROTECTED] wrote:
  
  What's the difference between pkg_deinstall and pkg_delete ?
 
 pkg_deinstall is a wrapper for pkg_delete that supports wildcards
 and dependency recursion.

Pkg_delete handles wildcards just fine.  Or, is it just the partial
port string, case sensitive, that it can handle?  I do not have any
ports to deinstall handy right now to test.


  If I use portinstall to install a port, which should I use to
  uninstall it ?
 
 If it's a single port that you want to delete on its own then
 either will suffice.  If you want to do a recursive uninstall or
 delete multiple packages then you'll probably want to make use of
 pkg_deinstall.

Pkg_delete can delete ports given as a list just like it can delete
single port; it, however, does not recurse like pkg_deinstall.


I have not used pkg_deinstall to recursively ports much; I like
pkg_delete better, more so in case of inconsistent state of
installed dependencies.


  - Parv

-- 

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


uhci0 / usb problems: Could not setup irq, 22

2004-05-11 Thread Jens Schweikhardt
Hello world, I admit it. I'm a FreeBSD developer with a question.

I got a brand new shiny supermicro P4SCT board which has an intel USB
chip and thus needs the uhci (as opposed to ohci) driver. My mouse
(logitech first/pilot wheel mouse) is an usb mouse. It does not work (it
worked in my old ASUS A7N8X with ohci). I think I have traced it down to
this part in dmesg indicating a failed attach:

[EMAIL PROTECTED]:~ $ dmesg|grep uhci
uhci0: UHCI (generic) USB controller port 0xc400-0xc41f irq 9 at device 29.0 on pci0
uhci0: Reserved 0x20 bytes for rid 0x20 type 4 at 0xc400
uhci0: Could not setup irq, 22
device_probe_and_attach: uhci0 attach returned 6
uhci0: UHCI (generic) USB controller port 0xc000-0xc01f irq 11 at device 29.1 on pci0
uhci0: Reserved 0x20 bytes for rid 0x20 type 4 at 0xc000
uhci0: [GIANT-LOCKED]
usb0: UHCI (generic) USB controller on uhci0
uhci1: UHCI (generic) USB controller port 0xc400-0xc41f irq 9 at device 29.0 on pci0
uhci1: Could not setup irq, 22
device_probe_and_attach: uhci1 attach returned 6
uhci0: UHCI (generic) USB controller port 0xc400-0xc41f irq 9 at device 29.0 on pci0
uhci0: Reserved 0x20 bytes for rid 0x20 type 4 at 0xc400
uhci0: Could not setup irq, 22
device_probe_and_attach: uhci0 attach returned 6
uhci0: UHCI (generic) USB controller port 0xc000-0xc01f irq 11 at device 29.1 on pci0
uhci0: Reserved 0x20 bytes for rid 0x20 type 4 at 0xc000
uhci0: [GIANT-LOCKED]
usb0: UHCI (generic) USB controller on uhci0
uhci1: UHCI (generic) USB controller port 0xc400-0xc41f irq 9 at device 29.0 on pci0
uhci1: Could not setup irq, 22
device_probe_and_attach: uhci1 attach returned 6

Does anyone know how to remedy the situation and get a successful attach?

Regards,

Jens
-- 
Jens Schweikhardt http://www.schweikhardt.net/
SIGSIG -- signature too long (core dumped)
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Dummynet, routing and firewalls - crazy idea

2004-05-11 Thread Joachim Dagerot
Problem: When downloading huge files from the server we can't use the
client webbrowser.

Setup: One firewall/DHCP/Gateway which all clients and the server
routes through. The clients goes via no router when connecting to the
server. The server is equipped with double NIC, however only one is
used. The firewall is a hardware box meaning no software can be
altered.


Crazy idea: I have an idea about routing traffic through the server
and then to the firewall. This would make it possible for the server
to see that there's traffic on port 80 which should be prioritized
over traffic on port 21, this part shouldn't be too hard I guess -
lots of how-tos on the net for this.

BUT, I would like the clients to go directly to the firewall without
passing the server if they want to, this will mostly be the case when
the server is down for maintenance or similar.

This must mean that the servers both NICs actually must be on the same
network, is that possible at all and how do I setup such an
environment?


It's 10:45pm and this idea just came out of my tired brain, if someone
can give a better solution to the problem I would be very glad.



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


Re: pkg_info: read_plist: bad command '@conflicts acroread-3*' - proper resolution

2004-05-11 Thread Parv
Do wrap lines around 69 or so characters to give me no incentive to
ignore your mail otherwise.

in message [EMAIL PROTECTED],
wrote ES11 Development Team thusly...

 Installing pkg_install from port won't work unless you remove the
 original pkg_install that is in the source.
 
 what I did was the following
 
 1. I ran cvsup on stable-supfile (/usr/share/examples/cvsup/)
 2.  cd /usr/src/usr.sbin/pkg_install
 3.  make depend
 4. make all install clean

That does not REMOVE pkg_install from anywhere, least of which is
from FreeBSD source.  Above 4 steps INSTALLS a new copy from source
in the system.


  - Parv

-- 

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


compile signal code

2004-05-11 Thread Brian Henning
Greetings:

I am having trouble compiling some signal related code in freebsd. What is the
library I should link to get this to compile?

Thanks,

Brian

/usr/local/src  gcc signal_handler.c
/tmp/ccfXkcCV.o: In function `main':
/tmp/ccfXkcCV.o(.text+0x11): undefined reference to `sigset'
/tmp/ccfXkcCV.o(.text+0x23): undefined reference to `sigset'
/tmp/ccfXkcCV.o: In function `sigusr':
/tmp/ccfXkcCV.o(.text+0x9d): undefined reference to `err_dump'
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 3 Nics - Dual (Tripe) Homed Host

2004-05-11 Thread Pavel Duda
Steven N. Fettig wrote:

Travis Troyer wrote:

I have a FreeBSD system that acts as a NAT Gateway, currently 
providing on LAN with access to the Internet.  I have added a third 
NIC, connected to a second LAN.  The second LAN does not need internet 
access, but I would like it to be able to communicate with the first 
LAN.  I have tried reading various sources, but have not found 
anything dealing with this situation. I would appreciate any help.  
Below is a diagram of my current setup and the output of ifconfig.

Internet
|
[ xl0: DHCP assigned ]
   Router
|  |
[ xl1: 10.0.0.1]  [ xl3: 192.168.1.10]
10.0.0.0/24 LAN  192.168.1.0/24 LAN
Output of ifconfig:
xl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
   options=8VLAN_MTU
   inet 24.33.126.252 netmask 0xff00 broadcast 255.255.255.255
   ether 00:60:97:74:35:b0
   media: Ethernet autoselect (10baseT/UTP)
   status: active
xl1: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
   options=bRXCSUM,TXCSUM,VLAN_MTU
   inet 10.0.0.1 netmask 0xff00 broadcast 10.0.0.255
   ether 00:01:02:37:93:eb
   media: Ethernet autoselect (100baseTX full-duplex)
   status: active
xl2: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
   options=bRXCSUM,TXCSUM,VLAN_MTU
   inet 192.168.1.10 netmask 0xff00 broadcast 192.168.1.255
   ether 00:01:02:cc:63:d2
   media: Ethernet autoselect (100baseTX full-duplex)
   status: active
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
   inet 127.0.0.1 netmask 0xff00
Travis,

Although I have been dealing with routing for years, I can't claim I 
really understand it well, so my advice may not be so intelligent, but 
here's a stab at it anyway:
I think what you want to do is to bridge both LAN's.  You need to tell 
your gateway that in order to get to 10.0.0.0/24 from 192.168.1.0/24, 
you need to tell the routing tables that the route to 10.0.0.0/24 is via 
xl1 and vice versa.
route add 10.0.0.0/24 -interface xl1

and vice versa:

route add 192.168.1.0/24 -interface xl2

In the handbook, it says 
(http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-bridging.html): 

--begin quote--
19.5.4 Enabling the Bridge
Add the line:
net.link.ether.bridge=1
to /etc/sysctl.conf to enable the bridge at runtime, and the line:
net.link.ether.bridge_cfg=if1,if2
to enable bridging on the specified interfaces (replace if1 and if2 with 
the names of your two network interfaces). If you want the bridged 
packets to be filtered by ipfw(8), you should add:
net.link.ether.bridge_ipfw=1

as well.

For FreeBSD 5.2-RELEASE and later, use instead the following lines:
net.link.ether.bridge.enable=1
net.link.ether.bridge.config=if1,if2
net.link.ether.bridge.ipfw=1
--end quote--
I am not sure if this will work, though, because I'm not sure what 
effect (if any) it would have on the NAT from the 192.168.1.0/24 
network.  You might want to first try this approach while NAT and the 
firewall are turned off.  I have a similar situation that I want to 
test, so I'd be curious if you succeed and how.

Steve Fettig

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

This should work fine with NAT. I was using similar setup during tests 
with wi-fi : server with wi-fi card (hostap and DHCP - 192.168.1.xxx 
range), one NIC connected to local LAN (192.168.0.xxx range) and one NIC 
for connection to my ISP ( to cable modem to be more specific ). Only 
people on local lan were able to connect to internet - this was 
controlled via ipfw rules.

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


Re: compile signal code

2004-05-11 Thread Kris Kennaway
On Tue, May 11, 2004 at 03:57:26PM -0500, Brian Henning wrote:
 Greetings:
 
 I am having trouble compiling some signal related code in freebsd. What is the
 library I should link to get this to compile?

Those are not standard function calls, so the problem is with your code.

Kris


pgp0.pgp
Description: PGP signature


Re: compile signal code

2004-05-11 Thread Chuck Swiger
Brian Henning wrote:
[ ... ]
I am having trouble compiling some signal related code in freebsd. What is the
library I should link to get this to compile?
man signal says that the standard C library contains the signal handling 
functionality.  FreeBSD also supports the POSIX sigaction family.

/usr/local/src  gcc signal_handler.c
/tmp/ccfXkcCV.o: In function `main':
/tmp/ccfXkcCV.o(.text+0x11): undefined reference to `sigset'
/tmp/ccfXkcCV.o(.text+0x23): undefined reference to `sigset'
/tmp/ccfXkcCV.o: In function `sigusr':
/tmp/ccfXkcCV.o(.text+0x9d): undefined reference to `err_dump'
Presumably your code implements these?  They aren't standard...

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


Re: Streaming Audio

2004-05-11 Thread Pavel Duda
Darryl Hoar wrote:

Greetings,
I have a 5.1-release box at home that I would like to put my
personal mp3's on.  I want to listen to them on any computer
on my home lan.  

Several on the PC's on my home lan are Microsoft windows.

What are some ideas so that I can access them ?  Samba
seems a bit overkill.  What about apache running on the box,
serving up dynamic pages listing the mp3's.  When you click
on the link it launches windows media player (or real player)
so that you can listen.
Anyway, I would appreciate any ideas on this matter.

thanks,
Darryl
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
You can try BBJuke (it requires MySQL, IceCast and webserver).

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


Re: Digiboard PCI Xem driver

2004-05-11 Thread Peter Jeremy
On 2004-May-11 15:15:56 +0300, Lefteris Tsintjelis [EMAIL PROTECTED] wrote:
Hi, can anyone please tell me if there are any plans soon to include
the PCI Digiboard Xem driver to -STABLE or should I go with the 5.X
release?

[Please wrap lines before 80 characters]

I have been successfully using digi(4) in -stable for more than 2½
years now - the patches are trivial (basically just change a couple of
struct threads back to struct proc, fix the cdevsw initialisation
and change the kld load path).  Unfortunately, no-one seems interested
in officially back-porting it to -stable - and I can't see it happening
at all now.

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


Filesystem/disk performance problems

2004-05-11 Thread Paul English

I have a filesystem which is showing some very odd problems on FreeBSD
4.4. The system has one 60GB IDE drive for the os and some user partitions and
one 800GB array of 120GB disks attached to a 3ware IDE-RAID controller.
The latter is all one big partition.

For most files and directories, copying/transferring them around is not a
problem. But for a couple of very specific directories, copying them seems
next to impossible. When I attempt to copy these, after a few minutes of
*extremely* slow copying (1k/min), the system load shoots up and the
system becomes virtually unusable.

In particular, working with one directory which is 11GB. Some
subdirectories, even large ones copy fine from /usr1 (a partition on the
60GB disk) to /raid (the partition for the entire raid array).

I can even make a tar of one of the non-working directories to /usr1, copy
the tar file to /raid (with no problems), then when I try to untar it on
/raid I get the same problem - very very slow (1k/min) and then the
system load shoots up to 10+ and the system becomes unusable.  In this
case the data is going from /raid - /raid instead of from /usr1 - /raid,
but it does not seem to help.

I've also tried using some other utilities than simply cp in an attempt
to fool the system - I've tried scp, and tar cf - . | (cd /raid;tar xf
-) as well.

There are no messages in dmesg or /var/log/messages that look at all
related, and there are no messages that are accruing (for example while
attempting a copy).

Paul

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


Re:

2004-05-11 Thread Micheal Patterson


- Original Message - 
From: wendy [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, May 11, 2004 10:52 AM


 Easy to install
 FreeBSD can be installed from a variety of media including CD-ROM,
DVD-ROM,
 floppy disk, magnetic tape, an MS-DOS® partition, or if you have a network
 connection, you can install it directly over anonymous FTP or NFS. All you
 need is a couple of formatted 1.44MB floppies and these directions.



 THIS IS NOT TRUE! - the installation actually is very difficult and so
this
 Superior OS is not for 99.9% computer users - I'll probably kill my time
 only if I lost my job and stay home having nothing to do to configure how
to
 install it.

 Comparing to Windows, this BSD is very dumb- want to me to tell it
 everything. No wonder it's Free.

This BSD is as smart or as dumb as the end user wants it to be.

- Plug and Play has come a long way since it's inception years ago. However,
when your windows system decides that your Nvidia 5900 is actually a Trident
8900D, or your SoundBlaster is actually an Adlib card, or your MS Mouse is a
Logitech, no matter what drivers you as an admin, reading the manual that
came with the component, and scratching your head in wonder, then you'll
understand why they really call it Plug and Pray and you'd be forever
grateful if only Windows would ask you more than it does.

- Windows is much less intelligent than it believes itself to be and will
run headlong into a self cratering spiral trying to convince itself that
it's doing the right thing. It's the OS, so it must know more than the
Administrator! It will do so without so much as an error notice in the event
log. It will lock up the desktop with 100% cpu so you can't stop it while
it's on it's merry little way until it either blue screens or locks up hard.

- BSD is as smart, or as dumb, as you want it to be. BSD will also run
headlong into a self cratering spiral, but, it will do so screaming and
complaining every bloody step of the way. It will also offer you the ability
to thwart the disaster because it believes that you, as root, know what
you're doing and trusts you to know. It will diligently do as you request
until it can scream at you no more and the kernel reboots in panic.

Create a file called com1, then try to delete it on a Windows box and see
how smart it really is. You know com1 can be deleted, but Windows will throw
a fit, it believes that the OS is smarter than the user and knows what's
best. In some cases, it's right, others, it's not. If this is a virus file,
you're screwed because the OS won't allow anything to destroy the file. Ever
tried to kill a specific process in Windows and got the Access Denied error
when you know full well it can be killed?

My Freebsd will allow me to rm -rf / and will continue to try to delete
everything on the system because it trusts me to know that's a bad thing. It
will inform me that it's dieing through it's various avenues, yet it will
continue to destroy itself simply because I told it to do so. It will
continue to eat itself alive until it can no longer perform the operation.
Why does it do that you wonder? It's really very simple. It's because system
admins prefer to be in control over their systems and not have their systems
in control of them.

--

Micheal Patterson
TSG Network Administration
405-917-0600

Confidentiality Notice:  This e-mail message, including any attachments, is
for the sole use of the intended recipient(s) and may contain confidential
and privileged information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the intended recipient, please
contact the sender by reply e-mail and destroy all copies of the original
message.

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


Installing Win2k, winXP64, FBSD i386 and amd64 on one disk

2004-05-11 Thread Willem Jan Withagen
Hi,

I'm trying to install all of the above on my 200 Gb disk.
But things don't really want to work.
Any suggestions how to fix the bootmanager error???
Or is it just because thing go beyond cilinder 1024

If so would something like grub/lilo save me?

Thanx,
--WjW

Please include me direct, since I'm not on [EMAIL PROTECTED]

 
 But for the moment I've got much harder problems. I can not seem to get the
 four required
 systems onto 1 disk.
 
 win2k and winXP64 both run perfectly together
 FBSD i386 and amd64 are also happy with oneanother.
 But eg. win2k and FBSD i386 using FBSD bootmanager gives error 4 LBA (or
 something
 similar) Win2K still boots.
 And then there is the fight that winXP64 insists in making the whole
 remaining disk an extended
 partition, so no more FBSD installs after XP64.
 
 Gr, .

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


DHCP to Static

2004-05-11 Thread Bryan Cassidy
Just went and got an extra NIC card, and ordered static ip address and upgraded my 
service. I have a quick question. If I am changing from dhcp to static is there 
anything that I need to do in order to take advantage of static or to setup static? 
Always had dhcp up until now. Not sure if I have to do anything to setup static. Thanks
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re:

2004-05-11 Thread Peter Risdon
wendy wrote:

Easy to install
FreeBSD can be installed from a variety of media including CD-ROM, DVD-ROM,
floppy disk, magnetic tape, an MS-DOS® partition, or if you have a network
connection, you can install it directly over anonymous FTP or NFS. All you
need is a couple of formatted 1.44MB floppies and these directions.


THIS IS NOT TRUE! - the installation actually is very difficult and so this
Superior OS is not for 99.9% computer users - I'll probably kill my time
only if I lost my job and stay home having nothing to do to configure how to
install it.
 

It is incredibly frustrating when you're trying to install an operating 
system like FreeBSD and are unfamiliar with the process.

Comparing to Windows, this BSD is very dumb- want to me to tell it
everything. No wonder it's Free.
 

It's not so much dumb as polite: it asks what you want to do - after 
all, it's your computer. Reflect on the fact that Microsoft use it 
themselves, for firewalls and development here in Cambridge, UK, last I 
heard, for HotMail, and in some other situations. Mac OS X is deeply 
influenced by it. But it isn't meant to be an automatic install, so 
you're really criticising an apple for not being an orange. FreeBSD is 
really a server OS that can be used as a desktop.

If you were to get used to it, you might find it is very much to your 
taste. But you might not (the Unix Haters' Handbook is out of print, but 
still very funny in parts). Using a Unix type OS helps you learn about 
computing, rather than about one company's terminology, and that's 
really useful with all operating systems and in all situations. You'd 
also find that the responsiveness and helpfulness of users and 
developers in the FreeBSD world is incomparable. For example, if you had 
posted a specific question about your problems with the install to this 
list, you'd have got really excellent and well-informed help, perhaps 
within minutes of posting.

But using FreeBSD isn't compulsory. Do what suits you best.

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


Problem to install 5.2.1 on SATA disk chipset VT8237

2004-05-11 Thread pl . smith


Hi,
Freebsd Release 5.2.1

i've bought a Gigabyte GA-7VM400MF-P with the chipset VIA KM400 and VIA VT8237
for the controller
i've harddrive on the sata controller, and boot sysinstall from the cdrom, all
start well but the harddrives aren't recognized..?
there is no disks...
so after, i've tried this trick:
i've installed freebsd on the harddisk attached to the ata controller and reboot
with the hardrive on the sata controller, but it doesn't work ...

Someone has got another the solution ? why freebsd doesn't recognize the SATA
disk in my case ?

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


Re: compile signal code

2004-05-11 Thread Richard Tobin
 I am having trouble compiling some signal related code in
 freebsd. What is the library I should link to get this to compile?

The one that came with the book you got the example code from?

-- Richard

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


Re:

2004-05-11 Thread Mike Hogsett

 boot up and shutdown seem alot quicker than linux 
 
 arden  

Yes.  I appreciate FreeBSD's short boot times, especially after I have
done a cvsup  make {build,install}{world,kernel}.

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


Connecting to a headless system

2004-05-11 Thread Bruce Hunter
I have installed FreeBSD 5.2.1 using the headless install method. My 
problem is this. I can't get the login prompt when connecting using cu 
-l /dev/cuaa0, after the install /reboot. I did setup ssh, but I can't 
connect using ssh and root. I did not setup another account, so I have 
to get in and install an account. I did get single user up, but I have 
limited commands and it won't allow me to adduser.??  When I boot up 
under default, it just holds at the date and time. Please help? Or any 
ideas of what I should be doing differently.

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


Re: spam spoofers

2004-05-11 Thread Greg 'groggy' Lehey
On Tuesday, 11 May 2004 at  9:34:25 -0700, [EMAIL PROTECTED] wrote:

 I am getting hundreds of spam with return addresses on it from MY server..
 the ip addresses are different and they didn't originate from my server .
 now I am getting notices from AOL and other they are going to stop
 excepting mail from me...while this is no loss to me, I see a problem
 here...  is there anyway to stop this, anyone to callanything to do?

Spam's a universal problem, of course, and it'll be a while before the
legislators catch up, though things are gradually happening.  This
particular issue is forgery, of course; I don't have much hope, but I
have an AUP which attaches a charge of $25,000 per use of our name.  I
don't see a bat's chance in hell of seeing that money at the moment,
but who knows what happens in the future?  See
http://www.lemis.com/aup.html for more details.

Another thing you can try is SPF, the sender policy framework.  It's a
DNS extension that says where mail from you can come from.  See
http://spf.pobox.com/ for more details.  AOL is using it:

aol.com text = v=spf1 ip4:152.163.225.0/24 ip4:205.188.139.0/24 ip4:205.188.144.0/24 
ip4:205.188.156.0/23 ip4:205.188.159.0/24 ip4:64.12.136.0/23 ip4:64.12.138.0/24 
ptr:mx.aol.com ?all

I suspect that they would not block you if you have SPF DNS records.

 I also have a woman getting mail from a sick person with the address
 and return the same as her address. the police, FBI, are no help..

That may change.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
Note: I discard all HTML mail unseen.
Finger [EMAIL PROTECTED] for PGP public key.
See complete headers for address and phone numbers.


pgp0.pgp
Description: PGP signature


Re: Connecting to a headless system

2004-05-11 Thread Mike Hogsett

 I did get single user up, but I have limited commands and it won't
 allow me to adduser.??


Do this again.  When you get the shell prompt immediately issue the
command :

mount -a -t ufs

The /usr and other partitions are not likely to be mounted in single
user mode.  adduser is in /usr/sbin/ so isn't available until /usr is
mounted.  The comand above mounts all (-a) filesystems in the fstab with
file system type (-t) ufs.  This is very likely to get your /usr
partition mounted.

 - Mike


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


Kill Sendmail

2004-05-11 Thread Jason Dusek
How do I kill sendmail? I set 'sendmail_enable=no' in /etc/rc.conf but 
when I reboot the mail daemon is still up.

--
-- Jason Dusek  (`-''-/).___..--''`-._
-- | `6_ 6  )   `-.  ( ).`-.__.`)
-- | (_Y_.)'  ._   )  `._ `. ``-..-'
-- |   _..`--'_..-_/  /--'_.' ,'
-- |  (il),-''  (li),'  ((!.-'
--
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re:

2004-05-11 Thread Jose Lima
It only requires the ability to read and follow directions,

If you're not capable of doing such, then its defenately not for you!


Jose Lima

On Tue, 2004-05-11 at 10:52, wendy wrote:
 Easy to install
 FreeBSD can be installed from a variety of media including CD-ROM, DVD-ROM,
 floppy disk, magnetic tape, an MS-DOS® partition, or if you have a network
 connection, you can install it directly over anonymous FTP or NFS. All you
 need is a couple of formatted 1.44MB floppies and these directions.
 
 
 
 THIS IS NOT TRUE! - the installation actually is very difficult and so this
 Superior OS is not for 99.9% computer users - I'll probably kill my time
 only if I lost my job and stay home having nothing to do to configure how to
 install it.
 
 Comparing to Windows, this BSD is very dumb- want to me to tell it
 everything. No wonder it's Free.
 
 
 
 ___
 [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: Kill Sendmail

2004-05-11 Thread Senandung Mendonan
On Tue, 11 May 2004, Jason Dusek wrote:

 How do I kill sendmail? I set 'sendmail_enable=no' in /etc/rc.conf but
 when I reboot the mail daemon is still up.

It's a sendmail thing, since sendmail-8.12. See:-

http://www.sendmail.org/faq/section3.html#3.44

The feature soon creeped into FreeBSD as it was imported. From
/usr/src/UPDATING:-

20020404:
New sendmail startup scripts have been installed to make it
easier to use alternative MTAs with FreeBSD.  Setting the rc.conf
variable sendmail_enable to NO no longer prevents any sendmail
daemons from starting.  Instead, either set sendmail_enable to
NONE or change mta_start_script to a script for starting
an alternative MTA.  Setting mta_start_script to  will
also prevent any MTA from being started at boot.

--mendonan
Yang mimpikan secangkir kopi panas dengan selimut..
 (Dreaming of a cup of hot coffee, and a blanket..)
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Streaming Audio

2004-05-11 Thread Jose Lima
On Tue, 2004-05-11 at 16:17, Pavel Duda wrote:
 Darryl Hoar wrote:
 
  Greetings,
  I have a 5.1-release box at home that I would like to put my
  personal mp3's on.  I want to listen to them on any computer
  on my home lan.  
  
  Several on the PC's on my home lan are Microsoft windows.
  
  What are some ideas so that I can access them ?  Samba
  seems a bit overkill.  What about apache running on the box,
  serving up dynamic pages listing the mp3's.  When you click
  on the link it launches windows media player (or real player)
  so that you can listen.
  
  Anyway, I would appreciate any ideas on this matter.
  
  thanks,
  Darryl
  ___
  [EMAIL PROTECTED] mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to [EMAIL PROTECTED]
  
 
 You can try BBJuke (it requires MySQL, IceCast and webserver).
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]


Apache has an MP3 module that works good.

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


Re: spam spoofers

2004-05-11 Thread Peter Risdon
Greg 'groggy' Lehey wrote:

I also have a woman getting mail from a sick person with the address
and return the same as her address. the police, FBI, are no help..
   

That may change.
 

You probably know this already, but Received headers are your friend.

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


make world : did it fail?

2004-05-11 Thread Dan MacMillan
Hi.

I just ran the make world procedure on a freshly installed FreeBSD system.
After dropping to single user mode, I ran:

cd /usr/src
script /root/mw/mw-200405111310.out
make buildworld  make buildkernel KERNCONF=GOLLUM  make installkernel
KERNCONF=GOLLUM  reboot

I do things this way because I don't want to babysit the machine waiting to
proceed to the next step.  When I heard the computer reboot (it's sitting
right next to me), I logged in and ran:

tail /root/mw.out

To see if anything untoward had happened.  The result looks like this:

 tail /root/mw/mw-200405111310.out
install -o root -g wheel -m 555   safe.ko /boot/kernel
=== sbni
install -o root -g wheel -m 555   if_sbni.ko /boot/kernel
=== scsi_low
install -o root -g wheel -m 555   scsi_low.ko /boot/kernel
=== smbfs
install -o root -g wheel -m 555   smbfs.ko /boot/kernel
=== sound
=== sound/pcm
install -o root -g wheel -m 555   snd_

Doesn't look so good, does it?  Now I'm not sure if it rebooted because of
the ' reboot' or because it ran into some terrible no good awful bad
problem.  I checked the timestamps on all the files in /boot/kernel and they
all look good (all .ko files dated today within 1 minute of each other, the
kernel a few minutes older).  The number of files in /boot/kernel matches
the number in /boot/kernel.old.  I ran (from my home directory):

ls /boot/kernel  kernel
ls /boot/kernel.old  kernel.old
diff kernel kernel.old

And there are no differences.

uname -a now reports 5.2.1-RELEASE-p6.

I'm thinking that probably what happened is that the machine rebooted
without the remaining script output being flushed to disk.  Is there any way
to tell for sure?  And should this even be possible?  I've followed this
technique on my home machines several times and never got the script output
truncated like this.

I'm now cursing myself for putting the  reboot on there.  I can re-run the
make world procedure, but unless I figure out for sure what happened here
I'm afraid it's indicative of a more significant problem.

Thanks in advance.

--
Danny MacMillan


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


arplookup error

2004-05-11 Thread John Lee
Hi,

I keep getting flooded by these messages in /var/log/messages
anyway to stop my system from doing arplookup's.
Getting annoyed.

Am i being hacked or queried?

May 11 17:07:03 www /kernel: arplookup 63.223.76.1 failed: host is not on
local network
May 11 17:07:09 www /kernel: arplookup 63.171.211.198 failed: host is not on
local network
May 11 17:07:10 www /kernel: arplookup 63.167.125.251 failed: host is not on
local network

--
John

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


Linux library compatibility (libgmodule-2.0.so.0)

2004-05-11 Thread Adam Smith
Hello!

I have a Linux binary that I need to run on FreeBSD 5.2.  So far it's
required GTK 2.0+ (linux-gtk2-2.2.1_1), which is fine, and I have installed
the Linux libraries for that.  But it is now looking for more libraries,
and I was wondering if anyone could point me in the right direction as to
how to go about downloading and installing them.  I've done a bit of a net
search, but it hasn't helped much so far.

This binary is asking for libraries one by one, so I don't know what to
expect yet, until I get to the end.

My binary is looking for libgmodule-2.0.so.0.

How do I go about installing that for FreeBSD's Linux compatibility?



-- 
Adam Smith
Internode   : http://www.internode.on.net
Phone   : (08) 8228 2999

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


Re: the most light weight X web browser?

2004-05-11 Thread Warren Block
On Tue, 11 May 2004, Robert Storey wrote:

 I followed your advice about compiling Links so that it could run in graphics
 mode without X.

 This is REALLY COOL - one of the best tips I've received in a long time, and I
 thank you for it. However, I've run into one little glitch. As root, it works
 fine, but as a regular user, when I type:

   links -g -mode 640x480x16

 I get this error message:

svgalib: Cannot get I/O permissions.

 No doubt it's a permissions error, but I'm not sure which/where permissions I
 should change. Any ideas?

The man page for svgalib says that programs which use it must be setuid
root.  Sure enough:

chmod u+s /usr/local/bink/links

and it runs for other members of wheel besides root.  (Note the security
implications, though.)

I modified the links Makefile so links can be built with X support,
svgalib support, or neither.  A copy has been sent to the port
maintainer.  With any luck, it'll be committed, so the build will be
easier.

(Apologies for an earlier spam bounce--hinet.net has been blocked here
for years.  I've removed them from my block list for now.)

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


[no subject]

2004-05-11 Thread putnam
When my system boots it doesnt display the kernel conf menu...any ideas?


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


Syerm temperature monitoring?

2004-05-11 Thread stan
Can I monitor the system temerature and voltages etc. under 4 STABLE?
If so, what do I need to do this?

-- 
They that would give up essential liberty for temporary safety deserve
neither liberty nor safety.
-- Benjamin Franklin
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: make world : did it fail?

2004-05-11 Thread Dan MacMillan
Hi.

I'd still like to hear from anyone with insight into this (whether an actual
problem occurred or not), but here's what I've decided to do:

I know from the script output that the buildworld and buildkernel succeeded.
The only step that is suspect is the installkernel.  So:

In case something did screw up, I want to make sure I still have the known
good kernel available:

rm -rf /boot/kernel
mv /boot/kernel.old /boot/kernel

Then I booted into single-user mode and ran:

uname -a

It reported the unpatched kernel (good).  So:

cd /usr/src
script /root/mw/mw-200405111844.out
make installkernel KERNCONF=GOLLUM

This time I sat around and waited for it to finish.  Finally, it did, with
no errors or other suspect output.  Satisfied, I rebooted.  No problems, so
back into single-user-mode to installworld:

cd /usr/src
script /root/mw/mw-200405111852.out
make installworld  echo sleeping now  sleep 600  reboot

I would have waited around for this to complete but I wanted to go home.  I
reasoned that 10 minutes should surely be enough for script to flush output
to disk (man 1 script says it flushes, by default, every 30 seconds).  By
rebooting I would then be able to continue setting up the server through an
SSH session from home (I established and tested SSH settings on the company
firewall before beginning the make world).  Sure enough, I just logged in
and:

 tail mw-200405111852.out
=== etc/sendmail

--
 Rebuilding man page indices
--
cd /usr/src/share/man; make makedb
makewhatis /usr/share/man
makewhatis /usr/share/openssl/man
rm -rf /tmp/install.8m808LpI
sleeping now


So it looks like everything's good.

Is there any flaw in my reasoning?  In particular, even though it appeared
to work, is it a bad idea to delete the active kernel?  I've done it before
and I haven't had any problems, but I always feel like I'm playing Russian
Roulette when I do it.

-Dan

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Dan MacMillan
Sent: May 11, 2004 18:11
To: [EMAIL PROTECTED]
Subject: make world : did it fail?


Hi.

I just ran the make world procedure on a freshly installed FreeBSD system.
After dropping to single user mode, I ran:

cd /usr/src
script /root/mw/mw-200405111310.out
make buildworld  make buildkernel KERNCONF=GOLLUM  make installkernel
KERNCONF=GOLLUM  reboot

I do things this way because I don't want to babysit the machine waiting to
proceed to the next step.  When I heard the computer reboot (it's sitting
right next to me), I logged in and ran:

tail /root/mw.out

To see if anything untoward had happened.  The result looks like this:

 tail /root/mw/mw-200405111310.out
install -o root -g wheel -m 555   safe.ko /boot/kernel
=== sbni
install -o root -g wheel -m 555   if_sbni.ko /boot/kernel
=== scsi_low
install -o root -g wheel -m 555   scsi_low.ko /boot/kernel
=== smbfs
install -o root -g wheel -m 555   smbfs.ko /boot/kernel
=== sound
=== sound/pcm
install -o root -g wheel -m 555   snd_

Doesn't look so good, does it?  Now I'm not sure if it rebooted because of
the ' reboot' or because it ran into some terrible no good awful bad
problem.  I checked the timestamps on all the files in /boot/kernel and they
all look good (all .ko files dated today within 1 minute of each other, the
kernel a few minutes older).  The number of files in /boot/kernel matches
the number in /boot/kernel.old.  I ran (from my home directory):

ls /boot/kernel  kernel
ls /boot/kernel.old  kernel.old
diff kernel kernel.old

And there are no differences.

uname -a now reports 5.2.1-RELEASE-p6.

I'm thinking that probably what happened is that the machine rebooted
without the remaining script output being flushed to disk.  Is there any way
to tell for sure?  And should this even be possible?  I've followed this
technique on my home machines several times and never got the script output
truncated like this.

I'm now cursing myself for putting the  reboot on there.  I can re-run the
make world procedure, but unless I figure out for sure what happened here
I'm afraid it's indicative of a more significant problem.

Thanks in advance.

--
Danny MacMillan


___
[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: Linux library compatibility (libgmodule-2.0.so.0)

2004-05-11 Thread Sergey Zaharchenko
On Tue, May 11, 2004 at 10:30:16PM +0930,
 Adam Smith probably wrote:

 This binary is asking for libraries one by one, so I don't know what to
 expect yet, until I get to the end.

If what you mean are messages like `shared object not found' from the
interpreter, then you can probably do a readelf -d to find out which
libraries it actually uses:

$ readelf -d /usr/local/bin/pdftex |grep NEEDED

 0x0001 (NEEDED) Shared library: [libpng.so.5]
 0x0001 (NEEDED) Shared library: [libz.so.2]
 0x0001 (NEEDED) Shared library: [libm.so.2]
 0x0001 (NEEDED) Shared library: [libc.so.4]

HTH,

-- 
DoubleF
Democracy is a form of government that substitutes election by the
incompetent many for appointment by the corrupt few.
-- George Bernard Shaw


pgp0.pgp
Description: PGP signature


Installing Apache on FreeBSD 5.2.1

2004-05-11 Thread Sanjay Chadda
When I do a make install in /usr/ports/www/Apache2 directory, I get
following error:

apache-2.0.49 is marked as broken. apr is installed and may conflict
with apache one. (if you want to use apr port, define
WITH_APR_FROM_PORTS at yr own risk)

I have apache 2.0.49 installed, OpenSSL 0.9.7d installed on a FreeBSD
5.2.1 release.

Does anyone have any ideas what this msg means? What is the fix?

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


nfs help

2004-05-11 Thread Chad Leigh -- Shire.Net LLC
Hi

I have a 5.2-CURRENT (as of about 2 weeks ago) machine that I want to 
serve some filesystem from to itself using localhost.  Ie,

% mount localhost:/path/to/shared/dir /other/path

I have it working on a 5.2.1-RELEASE-p6 machine, but cannot get it 
working on the -CURRENT machine.

I run mountd with -d -r and it gives the following on startup  (shoes 
the exports file as well so I won't list it separately)

mountd: getting export list
mountd: got line #The following examples export /usr to 3 machines 
named after ducks,
mountd: got line #/usr/src and /usr/ports read-only to machines named 
after trouble makers
mountd: got line #/home and all directories under it to machines named 
after dead rock stars
mountd: got line #and, /a to a network of privileged machines allowed 
to write on it as root.
mountd: got line #/usr   huey louie dewie
mountd: got line #/usr/src /usr/obj -ro  calvin hobbes
mountd: got line #/home   -alldirs   janice jimmy frank
mountd: got line #/a  -maproot=0  -network 10.0.1.0 -mask 
255.255.248.0
mountd: got line #
mountd: got line # You should replace these lines with your actual 
exported filesystems.
mountd: got line # Note that BSDs export synatx is host-centric vs. 
Suns FS-centric one.
mountd: got line /local -ro -alldirslocalhost
mountd: making new ep fs=0x408a2abc,0x6b00a39c
mountd: doing opt -ro -alldirs  localhost
mountd: doing opt -alldirs  localhost
got host localhost
got host localhost
mountd: can't change attributes for /local
mountd: got line /  -alldirslocalhost
mountd: making new ep fs=0x40901b7c,0x64fc8edf
mountd: doing opt -alldirs  localhost
got host localhost
got host localhost
mountd: can't change attributes for /
mountd: getting mount list
mountd: here we go

What is the can't change attributes for /local and / mean?

Usually when trying to mount I get the first mount working OK but 
subsequent mounts fail with permission denied.

ie, I can do

mount -r localhost:/local/jails/master/usr /local/2/somejail/usr

but then

mount -r localhost:/local/jails/master/bin /local/2/somejail/bin

and subsequent ones fail.  It doesn't matter which one I do first, it 
usually works, and then the follow ons don't.  (ie, usr could be first 
and work or bin could be first and work, that doesn't matter).

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


RE: Connecting to a headless system

2004-05-11 Thread Eric Crist
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bruce Hunter
Sent: Tuesday, May 11, 2004 6:01 PM
To: [EMAIL PROTECTED]
Subject: Connecting to a headless system


I have installed FreeBSD 5.2.1 using the headless install method. My
problem is this. I can't get the login prompt when connecting using cu
-l /dev/cuaa0, after the install /reboot. I did setup ssh, but I can't
connect using ssh and root. I did not setup another account, so I have
to get in and install an account. I did get single user up, but I have
limited commands and it won't allow me to adduser.??  When I boot up
under default, it just holds at the date and time. Please help? Or any
ideas of what I should be doing differently.

Bruce


Bruce,

You need to mount all the correct file systems before you can add users
to the system.  By default, only the root / partition is mounted, and
that is read-only.  Once you mount the other filesystems, you should
have no problems.  Also, I usually have -Dh in my /boot.config file, and
enable cuaa0 as a secure terminal (disabled by default).  You can change
this in /etc/ttys.

HTH

Eric F Crist


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


Help: Speeding up Boot Process

2004-05-11 Thread Mark Jayson Alvarez
Sir,
I've heard a lot of comments about the booting
process of freebsd, that it is much faster than
booting into Linux. I'm not experiencing quite as much
as what their saying right now. Is there any link that
you can give me so that I could learn how to speed up
my booting process? Just for info: I'm only a beginner
to FreeBSD and definitely to Unix and I've installed
it on my AMD Athlon 1.2 ghz, with 384 SDRAM, and 20 Gb
drive. I've already read the FreeBSD handbook's
essential parts for a typical users and I'm thinking
if I've missed something very important about speeding
up boot process.
 I already know how to make install the kernel but
I don't know what lines should I comment out. Anyway,
does commenting out such lines affects my booting
process?
 Please help me sir. I want to make the most out
of my FreeBSD system. And one last thing, I know this
might sound ignorant on my part but... could you tell
how to run multiple programs in one log-in prompt? I
didn't acctualy understand how virtual consoles works
so every time I'm playing mp3 on mpg123, I will have
to press the F keys to login to another prompt just to

be able to run another program.


Thanks a lot,
Mark
















__
Do you Yahoo!?
Yahoo! Movies - Buy advance tickets for 'Shrek 2'
http://movies.yahoo.com/showtimes/movie?mid=1808405861 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


newsyslog command in an script

2004-05-11 Thread JJB
In an csh script I want to issue newsyslog /var/log/security. I need
feedback from the newsyslog command in the form of an script
testable return code / exit code so I can determine if the specified
log met the rotate trigger for that file as defined in the
newsyslog.conf file and the file was rotated or not.  I have tested
and know that  newsyslog /var/log/security does check the
newsyslog.config for an entry of /var/log/security and checks the
size/time/date trigger to determine if file needs rotating.

So my question boils down to does the newsyslog command  issue an
return code I can check in an script to see if the log was rotated
or not? If so what would the csh script command look like to perform
the test?

Thanks
Joe

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


RE: Help: Speeding up Boot Process

2004-05-11 Thread Eric Crist
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mark Jayson
Alvarez
Sent: Tuesday, May 11, 2004 10:02 PM
To: [EMAIL PROTECTED]
Subject: Help: Speeding up Boot Process


Sir,
[SNIP]

And one last thing, I know this
might sound ignorant on my part but... could you tell
how to run multiple programs in one log-in prompt? I
didn't acctualy understand how virtual consoles works
so every time I'm playing mp3 on mpg123, I will have
to press the F keys to login to another prompt just to
be able to run another program.

Mark,

You can send a program into the background by trailing the command with
.  So, if you want to run amp (an mp3 player), you could simply type:

# amp song.mp3 

An easier solution is to login to a second virtual terminal by hitting
Alt-F2 (all the way up to F7).  Then just switch back by pressing
Alt-F1, or whichever terminal you were on before.

HTH

Eric F Crist













__
Do you Yahoo!?
Yahoo! Movies - Buy advance tickets for 'Shrek 2'
http://movies.yahoo.com/showtimes/movie?mid=1808405861
___
[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: Help: Speeding up Boot Process

2004-05-11 Thread Robert Huff

Eric Crist writes:

  You can send a program into the background by trailing the command with
  .  So, if you want to run amp (an mp3 player), you could simply type:
  
  # amp song.mp3 

I thought '' was background and  meant execute the
foillowing command only if the previous command completed without error?


  An easier solution is to login to a second virtual terminal by
  hitting Alt-F2 (all the way up to F7).  Then just switch back by
  pressing Alt-F1, or whichever terminal you were on before.

And its Ctl-Alt-Fn, not Alt-Fn on my -Current system


Robert Huff


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


Help: Speeding up Boot Process

2004-05-11 Thread Robert Huff

Mark Jayson Alvarez writes:

  I've already read the FreeBSD handbook's
  essential parts for a typical users and I'm thinking
  if I've missed something very important about speeding
  up boot process.

It would help if we could see the contents of /etc/rc.conf and
/usr/local/etc/rc.d.  Oh, yes - the output of uname -a.


   I already know how to make install the kernel but
  I don't know what lines should I comment out.

Tell us about your hardware configuration.


   Anyway, does commenting out such lines affects my booting
   process?

Officially, I believe the answer is No..
Ancedotally, it seems faster to me.



Robert Huff


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


Re: Help: Speeding up Boot Process

2004-05-11 Thread Bob Collins
Robert Huff wrote:
[snip]

An easier solution is to login to a second virtual terminal by
hitting Alt-F2 (all the way up to F7).  Then just switch back by
pressing Alt-F1, or whichever terminal you were on before.


	And its Ctl-Alt-Fn, not Alt-Fn on my -Current system

IIRC, Ctrl-Alt-Fn is for when using GUI. My 4.9 and 5.0 systems do fine 
between terminals with Alt-Fn

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


RE: Help: Speeding up Boot Process

2004-05-11 Thread Eric Crist
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Robert Huff
Sent: Tuesday, May 11, 2004 10:14 PM
To: [EMAIL PROTECTED]
Subject: RE: Help: Speeding up Boot Process



Eric Crist writes:

  You can send a program into the background by trailing the command
 with  .  So, if you want to run amp (an mp3 player), you could
 simply type:

  # amp song.mp3 

I thought '' was background and  meant execute the
foillowing command only if the previous command completed without
error?

You're correct here My bad.

  An easier solution is to login to a second virtual terminal by
 hitting Alt-F2 (all the way up to F7).  Then just switch back by
 pressing Alt-F1, or whichever terminal you were on before.

And its Ctl-Alt-Fn, not Alt-Fn on my -Current system

On my system, unless you're in X, it's Alt-Fn (you have to do Ctl-Alt-Fn
from an X session).


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


RE: Help: Speeding up Boot Process

2004-05-11 Thread Robert Huff

Eric Crist writes:

  On my system, unless you're in X, it's Alt-Fn (you have to do
  Ctl-Alt-Fn from an X session).

I did not know that.
Thanks.


Robert Huff


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


Out of curiousity: Who am I mailing to?

2004-05-11 Thread Mark Jayson Alvarez
Sir,
I'm totally a beginner and I'm glad cause it seems
to me that I always get response to every question
that I send to freebsd mailing list. And not just one,
but I always receive more than what I really
need!(isn't it cool!)
I'm just wondrin' who exactly am I mailing to? Are
you all employees from FreeBSD Mailing Center? And
those mails coming from other users like me that are
being sent to my e-mail, can I reply to them if ever I
know the answer and want to share my knowledge? That's
all.

Smile!
jay




__
Do you Yahoo!?
Yahoo! Movies - Buy advance tickets for 'Shrek 2'
http://movies.yahoo.com/showtimes/movie?mid=1808405861 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Linux library compatibility (libgmodule-2.0.so.0)

2004-05-11 Thread Adam Smith
On Wed

 $ readelf -d /usr/local/bin/pdftex |grep NEEDED
 
  0x0001 (NEEDED) Shared library: [libpng.so.5]
  0x0001 (NEEDED) Shared library: [libz.so.2]
  0x0001 (NEEDED) Shared library: [libm.so.2]
  0x0001 (NEEDED) Shared library: [libc.so.4]

Gah!  There are quite a few.  Still, some of these I'll already have so
it's still a case of installing libraries one by one :(

Do you (or anyone!) know exactly how to go about installing some of these
Linux libraries?  I mean, I can't just go and download libgmodule-2.0.so.0
and install it, can I?  If so, how, or where do I need to go to get them?

I guess I was kind of thinking, and I hate to use the analagy, of DLLs.
Being able to go and find one of these libraries, install it into my Linux
compat/lib directory and then run the application.


Cheers.

 0x0001 (NEEDED) Shared library: [libgtk-x11-2.0.so.0]
 0x0001 (NEEDED) Shared library: [libgdk-x11-2.0.so.0]
 0x0001 (NEEDED) Shared library: [libgmodule-2.0.so.0]
 0x0001 (NEEDED) Shared library: [libglib-2.0.so.0]
 0x0001 (NEEDED) Shared library: [libdl.so.2]
 0x0001 (NEEDED) Shared library: [libXi.so.6]
 0x0001 (NEEDED) Shared library: [libXext.so.6]
 0x0001 (NEEDED) Shared library: [libX11.so.6]
 0x0001 (NEEDED) Shared library: [libcups.so.2]
 0x0001 (NEEDED) Shared library: [libstdc++.so.5]
 0x0001 (NEEDED) Shared library: [libm.so.6]
 0x0001 (NEEDED) Shared library: [libgcc_s.so.1]
 0x0001 (NEEDED) Shared library: [libc.so.6]
 0x0001 (NEEDED) Shared library: [libgdk_pixbuf-2.0.so.0]
 0x0001 (NEEDED) Shared library: [libpango-1.0.so.0]
 0x0001 (NEEDED) Shared library: [libgobject-2.0.so.0]


-- 
Adam Smith
Internode   : http://www.internode.on.net
Phone   : (08) 8228 2999

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


Re: nfs help

2004-05-11 Thread Chad Leigh -- Shire.Net LLC
On May 11, 2004, at 8:47 PM, Chad Leigh -- Shire.Net LLC wrote:

Hi

I have a 5.2-CURRENT (as of about 2 weeks ago) machine that I want to 
serve some filesystem from to itself using localhost.  Ie,

% mount localhost:/path/to/shared/dir /other/path

I have it working on a 5.2.1-RELEASE-p6 machine, but cannot get it 
working on the -CURRENT machine.

I run mountd with -d -r and it gives the following on startup  (shoes 
the exports file as well so I won't list it separately)

Well, I cvsupped to the latest -CURRENT and the problem went away...

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


Re: Out of curiousity: Who am I mailing to?

2004-05-11 Thread Murray Taylor
You are mailing to a list that has thousands of users ... 

We all see the emails sent here. 

And if we know the answer, any one of us (you too) can
send that in to help the original questioner, and to contribute to the
general knowledge pool... (keep reading the emails - you will learn from
other peoples questions just as much as you hope to learn from your own)

Mind expansion begins here --  .  --

Enjoy.
mjt


On Wed, 2004-05-12 at 14:42, Mark Jayson Alvarez wrote:
 Sir,
 I'm totally a beginner and I'm glad cause it seems
 to me that I always get response to every question
 that I send to freebsd mailing list. And not just one,
 but I always receive more than what I really
 need!(isn't it cool!)
 I'm just wondrin' who exactly am I mailing to? Are
 you all employees from FreeBSD Mailing Center? And
 those mails coming from other users like me that are
 being sent to my e-mail, can I reply to them if ever I
 know the answer and want to share my knowledge? That's
 all.
 
 Smile!
 jay

 
Murray Taylor
Special Projects Engineer
-
Bytecraft Systems  Entertainment
P: +61 3 8710 2555
F: +61 3 8710 2599
D: +61 3 9238 4275
M: +61 417 319 256
E: [EMAIL PROTECTED]
or visit us on the web
http://www.bytecraftsystems.com
http://www.bytecraftentertainment.com




This Email has been scanned for Viruses by MailMarshal.

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


Re: Printing to HP LaserJet III

2004-05-11 Thread Murray Taylor
FYI..

Laserjet III's should understand PCL.

the ifhp filter from the ports will support such printers ... its a bit
of a b...h to set up (must RTFM) but once setup it is a dream. I also
use LPRng...

mjt

 
On Tue, 2004-05-11 at 18:48, Ion-Mihai Tetcu wrote:
 On Mon, 10 May 2004 17:42:08 -0600 (MDT)
 Warren Block [EMAIL PROTECTED] wrote:
 
  On Mon, 10 May 2004, Ion-Mihai Tetcu wrote:
  
   2. The tray I have is for legal paper and I want to use A4; the
   problem is that if I set CUPS to print on A4 it's prompting PC LOAD
   A4 and I have to push Continue for each page.
  
  The printer knows that it does not have A4 paper loaded.
 
 :) I got that
 
   On many HP printers, it can tell because there are configuration
   switches that are set by the paper guides in the tray.
 
 I think this is the case, if I set it from the menu it still complains.
 My problem is that I complains for every page, but my friend's under
 windows does it just for the first; I suppose cups is sending each page
 separately.
 
 Well, it seems I have to short some of those metallic parts on the tray
 ;-)
 
   On others,  you might have to set that through the front panel menus.
  
   3. From what I've seen on net there are many sub-models of LaserJet
   III with different capabilities; is there any method to query the
   printer and find out what it knows ?
  
  Printing a test page should show options like PostScript or additional
  memory.
 
 Yes, I got there; it's 3072K bytes, firmware 19901209, internal fonts
 19900713 and Paper Tray legal. Nothing about PS.
 
 Thanks,
-- 
Murray Taylor
Special Projects Engineer
-
Bytecraft Systems  Entertainment
P: +61 3 8710 2555
F: +61 3 8710 2599
D: +61 3 9238 4275
M: +61 417 319 256
E: [EMAIL PROTECTED]
or visit us on the web
http://www.bytecraftsystems.com
http://www.bytecraftentertainment.com




This Email has been scanned for Viruses by MailMarshal.

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


read only system file systems for jail

2004-05-11 Thread Chad Leigh -- Shire.Net LLC
Hi All

I am playing around on 5.2-CURRENT and am setting up a system to run 
various programs inside of jails.  Including allowing the users to ssh 
in etc.

Is there a fundamental problem of having the following all be read-only 
file systems, with the noted exceptions?

/bin
/sbin
/libexec
/lib
/usr
/var
note:  /usr/local would not be readonly and /var/tmp would not be 
readonly

It seems to work in my test jails but I was wondering about hidden 
problems or non obvious problems.

note that users are not allowed root privilege and hence are not 
installing stuff into any of these hierarchies and no /usr/ports

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


Re: read only system file systems for jail

2004-05-11 Thread Chad Leigh -- Shire.Net LLC
On May 11, 2004, at 11:31 PM, Chad Leigh -- Shire.Net LLC wrote:

Hi All

I am playing around on 5.2-CURRENT and am setting up a system to run 
various programs inside of jails.  Including allowing the users to ssh 
in etc.

Is there a fundamental problem of having the following all be 
read-only file systems, with the noted exceptions?

/bin
/sbin
/libexec
/lib
/usr
/var
note:  /usr/local would not be readonly and /var/tmp would not be 
readonly

Sorry,  the whole /var is not readonly.  Sorry, I misread my notes...

Chad

It seems to work in my test jails but I was wondering about hidden 
problems or non obvious problems.

note that users are not allowed root privilege and hence are not 
installing stuff into any of these hierarchies and no /usr/ports

Thanks
Chad
___
[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]


Secure NFS: does not compile with Stable?

2004-05-11 Thread Rob
Hi,

I want NFS over secure connection (sNFS). This is available at
   http://www.math.ualberta.ca/imaging/snfs/
It needs sec_rpc-1.54 compiled on the system, but this fails. It
seems to require perl version 5.006 or later, but FreeBSD-Stable comes
with perl version 5.005_03. So Stable is almost OK, but not quite.
Here is what happens:

[ ~/sec_rpc-1.54]$ ./configure
 zip
[ ~/sec_rpc-1.54]$ make
 zip
cd perl; perl Makefile.PL
Checking if your kit is complete...
Looks good
Could not eval '
package ExtUtils::MakeMaker::_version;
no strict;
local $VERSION;
$VERSION=undef; do {
our $VERSION = '1.54';
}; $VERSION
' in SNFS.pm: Can't modify subroutine entry in scalar assignment at (eval 6) 
line 7, at EOF
*** Error code 2
Stop in /home/rob/sec_rpc-1.54/NFS.
*** Error code 1


What can I do now?

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


Re: Secure NFS: does not compile with Stable?

2004-05-11 Thread Kris Kennaway
On Tue, May 11, 2004 at 04:45:31PM +0900, Rob wrote:
 
 Hi,
 
 I want NFS over secure connection (sNFS). This is available at
http://www.math.ualberta.ca/imaging/snfs/
 
 It needs sec_rpc-1.54 compiled on the system, but this fails. It
 seems to require perl version 5.006 or later, but FreeBSD-Stable comes
 with perl version 5.005_03. So Stable is almost OK, but not quite.

 What can I do now?

Install perl version 5.006 or later (from the ports collection) :-)

Kris


pgp0.pgp
Description: PGP signature


Re: X won't upgrade in portupgrade of expat2

2004-05-11 Thread Christian Hofer
Seems to be solved! The portupgrade procedure described in the UPDATING 
file using

portupgrade -rf devel/compat2

seems to depend on some other port upgrades (perhaps imake-4.3.1_2 ?).
I could compile the X libraries meanwhile by a
portupgrade -arR!
Thanks to everyone who invested time into this question,

Chris

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


Re: First time running cvsup

2004-05-11 Thread Ion-Mihai Tetcu
On Tue, 11 May 2004 12:24:22 +0800 (CST)
Stephen Liu [EMAIL PROTECTED] wrote:

 Hi folks
 
 Freebsd5.2
 =
 
 This is my first time running 'cvsup' to upgrade
 port-tree after installing the OS which runs on a slow
 PC, AMD-K6-350 and under X11.  
 
 # cvsup cvs-supfile
 
 I went through 'A.5.3 CVSup Configuration' on
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html
 
 But I haven't had much confidence on myself, not
 running the PC to an unstable state after upgrade. 
 Please provide me some advice on this respect
 
 $ pkg_info | grep cvsup
 cvsup-16.1h General network file distribution
 system optimized for CVS
 
 # cp /usr/share/examples/cvsup/cvs-supfile 
 /etc/cvs-supfile
 # ee /etc/cvs-supfile  (as follows)
 
 cvs-all (shall I add 'release=cvs' ???)
 ...
 
 Can I create one 'supfile' to /etc/supfile and run
 followings collectively (instead of to run each
 'supfile' separately);
 # cat /etc/supfile
 
 src-all
 doc-all ('release=cvs' ???)
 cvs-all ('release=cvs' ???)
 cvsroot-all ('release=cvs' ???)
 ports-all ('release=cvs' ???)
 .

I use 3 cvsup files: one fot the ports, one for the docs and one for the
system (src). This way I can update ports and docs more often and be
sure the system had known-to-be-working sources (I'm on -CURRENT).

My /etc/ports-supfile is:
*default host=cvsup3.FreeBSD.org
*default base=/usr
*default prefix=/usr
*default release=cvs tag=.
*default delete use-rel-suffix
ports-all

(Don't refuse categories in ports, when you'll try to `make index` I
will fail from time to time ).

In the /etc/current-supfile the line ports-all is replaced by src-all
and in /etc/doc-all by doc-all

If you don't follow -current you will want to change the dot from
tag=. in your branch.

 
 then
 # cvsup supfile
 
 Is it necessary to run following trial test ???
 # mkdir /var/tmp/dest
 # cvsup supfile /var/tmp/dest

No.

 I could not locate
 /usr/ports/UPDATING 
 where it is kept???

Well, in /usr/ports :) It is a new thing so it will appear after you
cvsup. 


-- 
IOnut
Unregistered ;) FreeBSD user

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


Re: Printing to HP LaserJet III

2004-05-11 Thread Ion-Mihai Tetcu
On Mon, 10 May 2004 17:42:08 -0600 (MDT)
Warren Block [EMAIL PROTECTED] wrote:

 On Mon, 10 May 2004, Ion-Mihai Tetcu wrote:
 
  2. The tray I have is for legal paper and I want to use A4; the
  problem is that if I set CUPS to print on A4 it's prompting PC LOAD
  A4 and I have to push Continue for each page.
 
 The printer knows that it does not have A4 paper loaded.

:) I got that

  On many HP printers, it can tell because there are configuration
  switches that are set by the paper guides in the tray.

I think this is the case, if I set it from the menu it still complains.
My problem is that I complains for every page, but my friend's under
windows does it just for the first; I suppose cups is sending each page
separately.

Well, it seems I have to short some of those metallic parts on the tray
;-)

  On others,  you might have to set that through the front panel menus.
 
  3. From what I've seen on net there are many sub-models of LaserJet
  III with different capabilities; is there any method to query the
  printer and find out what it knows ?
 
 Printing a test page should show options like PostScript or additional
 memory.

Yes, I got there; it's 3072K bytes, firmware 19901209, internal fonts
19900713 and Paper Tray legal. Nothing about PS.

Thanks,

-- 
IOnut
Unregistered ;) FreeBSD user

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


Re: freebsd on xbox ?

2004-05-11 Thread George Patterson
On Tue, 11 May 2004 00:39:06 -0500
matt virus [EMAIL PROTECTED] wrote:

 I found (1) post in the mailing lists where someone asked about fbsd
 on xbox and it was seemingly laughed off.
 
 I'm a huge FBSD fan, and i think the xbox would be an awesome server.
 It's small, it's got solid hardware, it's really easy to mod and
 install linux on --- so why not FBSD?
 

The main reason for not having a FreeBSD distro for X-box is that the hardware by 
design is 0wn3d. Owned by Microsoft that is. While I appreciate every xbox that is 
sold Microsoft makes a loss on, I still couldn't be bothered.

Microsoft (or whoever is doing to work) occasionally revises the firmware to stop non 
authorised mods from working. When this happens the boot loader has to be re-worked to 
suit the revision of the firmware. 
In short: Too hard for very little return. Think DCMA as you would circumventing the 
anti-piracy software/hardware. 

Personally I believe if you have bought the hardware, you should have all rights to 
that hardware except reproducing the hardware, but I am not about to get the soapbox 
out.

 Anybody out there worked on this?  have a beta or alpha anything?  I'd
 love to have the power of /usr/ports without the baggage of gentoo.
 

I doubt anyone on this mailing list would want to touch it with a patent pending barge 
pole.

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


Re: the most light weight X web browser?

2004-05-11 Thread Robert Storey
Dear Warren,

I followed your advice about compiling Links so that it could run in graphics
mode without X.

This is REALLY COOL - one of the best tips I've received in a long time, and I
thank you for it. However, I've run into one little glitch. As root, it works
fine, but as a regular user, when I type:

  links -g -mode 640x480x16

I get this error message:

   svgalib: Cannot get I/O permissions.

No doubt it's a permissions error, but I'm not sure which/where permissions I
should change. Any ideas?

TIA  best regards,
Robert


On Sun, 9 May 2004 09:13:12 -0600 (MDT)
Warren Block [EMAIL PROTECTED] wrote:

 On Sun, 9 May 2004, mark rowlands wrote:
 
  [EMAIL PROTECTED] : /web1/web1: 03:16 PM:
  links -version
  Links 2.1pre14
  [EMAIL PROTECTED] : /web1/web1: 03:17 PM:
  links -help
  links [options] URL
  Options are:
 
   -g
Run in graphics mode.
 
 But the next few lines of the man page say that only works if
 --enable-graphics was given to ./configure when compiling links.  In the
 port's Makefile it only turns on --enable-graphics if you compile it for
 X.  (More specifically, it only turns on --enable-graphics if
 -DWITHOUT_X11 is not defined.)
 
 So to run it without X but with graphics, you'll have to modify the
 Makefile or just manually compile links.
 
 Just out of curiousity, I tried it just now.  A quick hack to make it
 work:
 
 Make sure you have svgalib installed (/usr/ports/devel/svgalib).
 Remove the --without-svgalib from the first CONFIGURE_ARGS line.
 Add --enable-graphics to the same line.
 Remove the whole .if !defined(WITHOUT_X11) ... .endif section.
 Run it with 'links -g -mode 640x480x16'.
 

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


Re: Boot Floppy Images

2004-05-11 Thread Roop Nanuwa
On Tue, 11 May 2004 00:38:09 -0500 (CDT), [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
 
 I tried to install 4.1.1 using the 4.9 boot images. Is this possible, can I use a
 different version of the boot images or are they always the same binary images?
 Bye.

You should be able to, in theory at least. Once you get into the setup menu
go to options and change the release from 4.9 to 4.1.1-RELEASE and when
you go to install it should pull the 4.1.1 down instead. The main problem
you'll find is a finding a FTP mirror that still has the 4.1.1
binaries sitting around.
I can't even guess if such a beast exists.

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


Re: Boot Floppy Images

2004-05-11 Thread Erik Trulsson
On Tue, May 11, 2004 at 03:57:21AM -0700, Roop Nanuwa wrote:
 On Tue, 11 May 2004 00:38:09 -0500 (CDT), [EMAIL PROTECTED]
 [EMAIL PROTECTED] wrote:
  
  I tried to install 4.1.1 using the 4.9 boot images. Is this possible, can I use a
  different version of the boot images or are they always the same binary images?
  Bye.
 
 You should be able to, in theory at least. Once you get into the setup menu
 go to options and change the release from 4.9 to 4.1.1-RELEASE and when
 you go to install it should pull the 4.1.1 down instead. The main problem
 you'll find is a finding a FTP mirror that still has the 4.1.1
 binaries sitting around.
 I can't even guess if such a beast exists.

Finding old releases is no problem
Use http://mirrorlist.freebsd.org to find a FTP mirror carrying a given
release.



-- 
Insert your favourite quote here.
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: vinum striped volume has corrupt plex, help needed (resolved)

2004-05-11 Thread Lee Dilkie
Final update on this chapter for all of you breathlessly waiting for word on
what happened... :)

turned out to be a couple of issues. The scsi cable seemed to be sensitive
to it's route through the innards of my case, a little more interference in
some spots perhaps. But the bigger issue was that the extra drive I added
taxed my power supply just a bit too much. When the 5 baracudda drives were
operational under vinum (and striping made them *all* active at once) the
resultant strain on the PS lead to signal errors on the scsi bus (fast and
wide but not differential). Powering off the new drive allowed me to restore
vinum (thanks for the setstate, i needed it several times) and copy off
the data to a network share.

One think I noticed and I'm wondering if anyone else has seen this. When my
scsi drives were having difficulity, they would spin down to a lower speed.
Sometimes they would spin down to several lower speeds and even stop on
occasion before spinning back up. This was sometimes (but not always)
accompanied by a bus free in data-in phase error message on the console.
In severe cases there would be an entire scsi dump state on the console. Was
the scsi driver telling the drives to spin down or were the drives doing it
themselves? I've never seen that behaviour in other OSs. I'm wondering if
the drives (i couldn't figure out which one was changing speed) were
responding to PS voltage drops or something?

Another thing One forgets the march of technology. I remember coding
scsi drivers waay back when it was called sasi. Reverting my
fast-wide-disconnectenabled-synchronous drives back to
narrow-slow-nodisconnect and asynchronous (just like the original spec) made
them very slow. took forever to dd them. And of course my scsi drives are
slow by todays scsi standards...

anyway, thanks all.

-lee

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Lee Dilkie
Sent: Sunday, May 09, 2004 9:50 AM
To: 'Greg 'groggy' Lehey'
Cc: [EMAIL PROTECTED]
Subject: RE: vinum striped volume has corrupt plex, help needed


Update on my progress.

The setstate up allows me to read my array now. I seem to have a read
error on /dev/da1s1e about 262M from the start of the disk.
(i'm using dd
if=/dev/da*s1e to copy the contents of each drive to separate
files, in case
i screw something up and I need to restore a drive and re-try
the vinum...
don't know if that a dumb idea or not but it seemed logical).

anyway, i have to figure out a way to get around this read
error. or find
out what file(s) it affects so i can avoid trying to copy
them. Any pointers
would be welcome (as I fire up google... where would we be
without search
engines?)

 When i tried to vinum start striped.p0.s1, most of the time
i would get an
 error Input/output error (5) but a couple of times the
command hung (as it
 is right now).

It would be interesting to see the ps -l output for that process and
any other Vinum-related processes.

Darn. I wish i had done that for you but I rebooted my server
and vinum is
running correctly now. When this is all finished, I'll see if I can get
vinum stuck again and retrieve anything you wish.

thanks for the help folks(greg), the saga continues.

-lee

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Greg 'groggy'
Lehey
Sent: Saturday, May 08, 2004 6:40 PM
To: Lee Dilkie
Cc: [EMAIL PROTECTED]
Subject: Re: vinum striped volume has corrupt plex, help needed


On Saturday,  8 May 2004 at 13:37:42 -0400, Lee Dilkie wrote:
 Hi there,

 I've been running a 5 disk vinum array (sripted, no
redundancy) for a few
 months now. It's composed of 5 scsi drives of 4G each. I
bought a new 120G
 ide drive, with the intention of copying over all the files
from the vinum
 array and retiring the array (the scsi drives are really loud).

 All was fine until the file copy part. Shortly after
starting, i started to
 get scsi errors and the scsi system reset the drives and
re-spun them up in
 an attempt to provide data (this i could hear). Eventually
vinum reported a
 read error. My machine kinda locked up because there were
swap partitions on
 the scsi drives and things just went south when the OS couldn't swap
 properly.

 I rebooted and fsck'd my other partitions just fine but
vinum reported that
 the plex was corrupt and one of the subdisks was stale (see
vinum list
 output below). I also include the output from the command to
read and parse
 the vium table on each drive ( as describe at
 http://www.vinumvm.org/vinum/how-to-debug.html ). it sure
looks to me like
 all the disks have the same vinum info.

 When i tried to vinum start striped.p0.s1, most of the time
i would get an
 error Input/output error (5) but a couple of times the
command hung (as it
 is right now).

It would be interesting to see the ps -l output for that process and
any other Vinum-related processes.

 Also, I reconfured my scsi (2940uw) to the lowest transfer speed,
 disabled wide negotation 

installworld fails

2004-05-11 Thread Heinrich Rebehn
Hi list,

I have done installworld almost a dozen times on my server and never had 
any problems. But today it yields:


# make installworld
mkdir -p /tmp/install.gvzcdM1s
for prog in [ awk cap_mkdb cat chflags chmod chown  date echo egrep find 
grep  ln make mkdir mtree mv pwd_mkdb rm sed sh sysctl  test true uname 
wc zic; do  cp `which $prog` /tmp/install.gvzcdM1s;  done
cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj  MACHINE_ARCH=i386  MACHINE=i386 
 CPUTYPE=  GROFF_BIN_PATH=/usr/obj/usr/src/i386/legacy/usr/bin 
GROFF_FONT_PATH=/usr/obj/usr/src/i386/legacy/usr/share/groff_font 
GROFF_TMAC_PATH=/usr/obj/usr/src/i386/legacy/usr/share/tmac 
PATH=/usr/obj/usr/src/i386/legacy/usr/sbin:/usr/obj/usr/src/i386/legacy/usr/bin:/usr/obj/usr/src/i386/legacy/usr/games:/usr/obj/usr/src/i386/usr/sbin:/usr/obj/usr/src/i386/usr/bin:/usr/obj/usr/src/i386/usr/games:/tmp/install.gvzcdM1s 
make -f Makefile.inc1 reinstall
--
 Making hierarchy
--
cd /usr/src; make -f Makefile.inc1 hierarchy
cd /usr/src/etc;make distrib-dirs
mtree -deU  -f /usr/src/etc/mtree/BSD.root.dist -p /
mtree -deU  -f /usr/src/etc/mtree/BSD.var.dist -p /var
mail changed
type expected dir found link
mtree -deU  -f /usr/src/etc/mtree/BSD.usr.dist -p /usr
mtree -deU  -f /usr/src/etc/mtree/BSD.include.dist  -p /usr/include
mtree -deU  -f /usr/src/etc/mtree/BSD.sendmail.dist -p /
cd /; rm -f /sys; ln -s usr/src/sys sys
cd /usr/share/man/en.ISO8859-1; ln -sf ../man* .
cd /usr/share/man;  set - `grep ^[a-zA-Z] /usr/src/etc/man.alias`; 
while [ $# -gt 0 ] ;  do  rm -rf $1;  ln -s $2 $1;  shift; shift; 
 done
cd /usr/share/openssl/man;  set - `grep ^[a-zA-Z] 
/usr/src/etc/man.alias`;  while [ $# -gt 0 ] ;  do  rm -rf $1;  ln -s 
$2 $1;  shift; shift;  done
cd /usr/share/openssl/man/en.ISO8859-1; ln -sf ../man* .
cd /usr/share/nls;  set - `grep ^[a-zA-Z] /usr/src/etc/nls.alias`; 
while [ $# -gt 0 ] ;  do  rm -rf $1;  ln -s $2 $1;  shift; shift; 
 done

--
 Installing everything..
--
cd /usr/src; make -f Makefile.inc1 install
=== share/info
=== include
creating osreldate.h from newvers.sh
touch: not found
*** Error code 127
##
Yes, the system clock is running correct, and /usr/bin/touch exists. Why 
is tocu not found anyhow?

Any ideas?

- Heinrich

Heinrich Rebehn

University of Bremen
Physics / Electrical and Electronics Engineering
- Department of Telecommunications -
Phone : +49/421/218-4664
Fax   :-3341
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: installworld fails

2004-05-11 Thread Heinrich Rebehn
I forgot the FreeBSD version: 5.2.1-RELEASE-p6

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


Secure NFS (sNFS) on 4-Stable: has somebody succeeded?

2004-05-11 Thread Rob
Hi,

I want to have secure NFS on my FreeBSD-4-Stable PC, where
a secure tunnel is used for the NFS connection.
There seems to be only one webpage for this:

  http://www.math.ualberta.ca/imaging/snfs/

First step is to install sec_rpc-1.54.tar.gz, which already
fails for me.
I have upgraded perl from ports, to no avail; and I'm awaiting
response from the author of this package.
The webpage suggests it should work for FreeBSD, but there's no
evidence. So I'm wondering if another FreeBSD-4.X user has been
successful in having sNFS installed.
If yes, then how to compile the sec_rpc package?
Thanks,
Rob.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problems resolving sites in browsers under KDE

2004-05-11 Thread Dragoncrest
I tried your suggestion and so far so good.  I'm still seeing a 
small amount of dns lookup stacking (IE if one request hasn't completed the 
others are put on hold till it's done rather than doing parallel lookups) 
that's stalling a few requests, but otherwise my browsing problem seems to 
be solved overall.  I'd like to figure out how to drop my default dns 
timeout from 30 seconds to something like 7-10 seconds.  Reason I'm 
thinking that is because my network is fast enough that if I haven't gotten 
an answer back within 7-10 seconds, I'm certainly not going to get one 
within 30.  Now comes the fun of RTFM and figuring out if that's possible 
under freebsd. :D

At 06:12 AM 5/9/04 -0600, Warren Block wrote:
On Sat, 8 May 2004, Dragoncrest wrote:

  Still looking for answers.  If anyone has any ideas, I would be
 very grateful to hear them.  Thanks.
I haven't seen slow host lookups with Mozilla since removing IPv6 from
the kernel.
-Warren Block * Rapid City, South Dakota USA


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


Re: First time running cvsup

2004-05-11 Thread Stephen Liu
Hi Ion,

Tks for your advice.

Freebsd5.2


- snip -

 I use 3 cvsup files: one fot the ports, one for the
 docs and one for the
 system (src). This way I can update ports and docs
 more often and be
 sure the system had known-to-be-working sources (I'm
 on -CURRENT).

Noted with tks

 My /etc/ports-supfile is:
 *default host=cvsup3.FreeBSD.org
 *default base=/usr
 *default prefix=/usr
 *default release=cvs tag=.
 *default delete use-rel-suffix
 ports-all

What will be the difference between
*default host=cvsup3.FreeBSD.org
and
*default host=cvsup10.FreeBSD.org

 (Don't refuse categories in ports, when you'll try
 to `make index` I
 will fail from time to time ).

Could you please explain above in more detail.  Tks

 In the /etc/current-supfile the line ports-all is
 replaced by src-all
 and in /etc/doc-all by doc-all
 
 If you don't follow -current you will want to change
 the dot from
 tag=. in your branch.

Noted with thanks

- snip -

  I could not locate
  /usr/ports/UPDATING 
  where it is kept???
 
 Well, in /usr/ports :) It is a new thing so it will
 appear after you
 cvsup. 

Noted.

B.R.
Stephen

___
Do You Yahoo!?
Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Digiboard PCI Xem driver

2004-05-11 Thread Lefteris Tsintjelis
Hi, can anyone please tell me if there are any plans soon to include the PCI Digiboard 
Xem driver to -STABLE or should I go with the 5.X release?

Thanks,
Lefteris Tsintjelis


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


websites visited

2004-05-11 Thread VLAPRVT
How do I find the different websites and e-mails sent and recieved from my 
computer?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Question Regarding the Applicability of the GNU General Public License / GNU Library General Public License

2004-05-11 Thread Hatteberg, David J non Unisys
Dear Sir / Madam:

I just went to the FreeBSD website (www.freebsd.org), and went to the The FreeBSD 
Copyright and Legal Information section.  I see that two of the possible links are to 
the GNU General Public License and the GNU Library Public License (GPLs).  Yet, 
there is no reference to the GPLs in any of the other links (e.g., The FreeBSD 
Copyright pages, the FreeBSD Ports redistribution restrictions pages, etc.).  In 
sum, there is nothing that says why the GPL's are included as links or how they are 
applicable to the FreeBSD software at all.  

Please advise why these are provided at the FreeBSD website and when, if ever, they 
would apply to any use of the FreeBSD software.

Thank you,

David J. Hatteberg
Unisys Corporation
 

THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and 
is thus for use only by the intended recipient.  If you received this communication in 
error, please contact the sender and delete this e-mail and its attachments from all 
computers.

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


Re: First time running cvsup

2004-05-11 Thread Ion-Mihai Tetcu
On Tue, 11 May 2004 20:10:48 +0800 (CST)
Stephen Liu [EMAIL PROTECTED] wrote:

 Hi Ion,
 
 Tks for your advice.
 
 Freebsd5.2
 
 
 - snip -
 
  I use 3 cvsup files: one fot the ports, one for the
  docs and one for the
  system (src). This way I can update ports and docs
  more often and be
  sure the system had known-to-be-working sources (I'm
  on -CURRENT).
 
 Noted with tks
 
  My /etc/ports-supfile is:
  *default host=cvsup3.FreeBSD.org
  *default base=/usr
  *default prefix=/usr
  *default release=cvs tag=.
  *default delete use-rel-suffix
  ports-all
 
 What will be the difference between
 *default host=cvsup3.FreeBSD.org
 and
 *default host=cvsup10.FreeBSD.org

Only that you will use another cvsup server.

  (Don't refuse categories in ports, when you'll try
  to `make index` I
  will fail from time to time ).
 
 Could you please explain above in more detail.  Tks

You can choose to update only a part of the ports collection, either by
using cvsup refuse files or by specifying sub-collections in the cvsup
file. See the end of the /usr/share/examples/cvsup/ports-supfile for
those. However 9 of 10 posts on ports@ regarding failed `make index` are
because the poster has a partially cvsup'ed ports collection and because
of that he runs into trouble. The time difference is not big; the
INDEX-5 file on your system keeps track of ports and their dependencies
and is by various pkg_* directly and port* tools indirectly.

Also if you want a fast cvsup use `cvsup -s supfile` ; -s wound make
cvsup to do less checks on you machine and the time will be
significantly smaller; but from time to time do a complete cvsup (I do
it before building the index).


-- 
IOnut
Unregistered ;) FreeBSD user

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


sound set up

2004-05-11 Thread arden
hi all 
ive been using linux for some time and thought was time to try something
new 
the install of 5.2 went without a prob but did not set up my sound card
in linux would be able to probe the pci bus to get an id of the card 
with cat /proc/ pci but could not under bsd can you please point me in
the right direction 

arden  

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


Re: Gettytab problems

2004-05-11 Thread Lefteris Tsintjelis
Just for the record, replacing ttydX with cuaaX in /etc/ttys worked as 
should and solved the problem, so I guess the man gettytab needs 
either updating or something is wrong with the ttydX device driver.

Lefteris Tsintjelis wrote:
 
 Hi,
 
 I am using the 4.10-PRERELEASE and trying to set up a plain old serial
 modem using getty but with no success. I get a getty: modem init/answer
 problem on /dev/ttydX all the time.
 
 :ac=RING\r ATA\r CONNECT:\
 :ic= ATE1Q0V1S0=0\r OK\r:
 
 It seems the problem is the ac and ic entries even though a man gettytab
 is referring to them. The dc (chat debug bit mask) doesn't seem to help
 either. Setting the S0=1 (auto answer) works OK but is there a way to
 wait for the RING (for indefinite time) and then issue the ATA? Has
 anyone managed to use the ic/ac capabilities of gettytab and provide a
 working sample?


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


Re: help: VCD Player for FreeBSD

2004-05-11 Thread Daniela
On Monday 10 May 2004 19:05, Marc Fonvieille wrote:
 On Mon, May 10, 2004 at 11:13:01AM -0700, Mark Jayson Alvarez wrote:
  Hi,
 If I already have the video cd, what else do I need
  to be able to play vcd movies on X windows(im using
  kde 3.1.4, freebsd4.9). In Windows, I usually locate
  the .dat file in Mpeg folder inside the vcd itself and
  open it in Media player.

 Look at mplayer:

 mplayer -vcd etc..

Or try vlc. It plays anything and everything.


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


Data Storage Plan?

2004-05-11 Thread Ajitesh K
Hi Friend

Does any one have Company-wide (LAN) Data Storage Plan?

My requirement are
PC Users: 50
Users OS:  Win 3.1, Win 9x, Win Pro2000, Win XP, Lindows, FreeBSD

My plan is to take weekly backup of 15 PCs as well as company data
store/file such as Finance/Accounts spreadsheets, Administrator/HR
documents,  Engineering's drawings, machinist's programs etc.

I know only one thing that ..
Data Storage Server OS: FreeBSD
Security Issues: How to Authenticate different users? (Need Ideas)

Please give suggestion which application to use. like, shell I
install/set FTP server, HTTP server, SAMBA, etc.
What kind of hardware to use?
RAID: ???
IDE HDD: ??? (Is 200 GB enough)
Backup Tape: ??? (Tape / ZIP drive)
Motherboard: ???
CPU: ???
CD RW: ??? (Needed)

Help me in visualizing my data storage server. Thanks in Advance.

With Regards

Ajitesh K

MIS Programmer
U.S. Aeroteam, Inc
One Edmund St,
Dayton, OH 45404

[EMAIL PROTECTED]

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


Re: sound set up

2004-05-11 Thread Roop Nanuwa
On Tue, 11 May 2004 13:47:26 +0100, arden [EMAIL PROTECTED] wrote:
 
 hi all
 ive been using linux for some time and thought was time to try something
 new
 the install of 5.2 went without a prob but did not set up my sound card
 in linux would be able to probe the pci bus to get an id of the card
 with cat /proc/ pci but could not under bsd can you please point me in
 the right direction

Take a look here:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/sound-setup.html

Most likely, running `kldload pcm` will get it working if your sound card is one
of the common ones.

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


Re: Maya

2004-05-11 Thread Daniela
On Tuesday 11 May 2004 03:09, [EMAIL PROTECTED] wrote:
 I am thinking of downloading a learning adition of MAYA and atempting to
 run it on my BSD box I am running X with a GNOME desktop I think this is an
 attempt at porting can anyone give me some advice. I really want to play
 with the way MAYA handles autocad files and vice versa, both of wich are
 not supported by BSD what am I getting into and is it possible.

I tried it too, but without success. The rpm command complained that /bin/sh 
is missing. Maybe the emulator is already fixed, I haven't tried for a long 
time.
What format do you have it in? Is it an rpm too?

Daniela


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


Re: Question Regarding the Applicability of the GNU General Public License / GNU Library General Public License

2004-05-11 Thread Matthew Seaman
On Mon, May 10, 2004 at 01:04:06PM -0500, Hatteberg, David J  non Unisys wrote:

 I just went to the FreeBSD website (www.freebsd.org), and went to the The FreeBSD 
 Copyright and Legal Information section.  I see that two of the possible links are 
 to the GNU General Public License and the GNU Library Public License (GPLs).  Yet, 
 there is no reference to the GPLs in any of the other links (e.g., The FreeBSD 
 Copyright pages, the FreeBSD Ports redistribution restrictions pages, etc.).  In 
 sum, there is nothing that says why the GPL's are included as links or how they are 
 applicable to the FreeBSD software at all.  
 
 Please advise why these are provided at the FreeBSD website and when, if ever, they 
 would apply to any use of the FreeBSD software.

Some of the software supplied as part of the FreeBSD base system is
licensed under the GPL -- examples are gcc(1), groff(1), tar(1), and
many other utilities and shlibs.  Sources for the GPL'd stuff can be
found within /usr/src/gnu/ -- see:

http://www.freebsd.org/cgi/cvsweb.cgi/src/gnu/

If you wish to create a GPL-free system using FreeBSD as a base, that
is just about possible but you will have to take care to delete those
GPL'd applications and provide BSD licensed alternatives.
Unfortunately you really do need gcc(1) in some form to compile the
system.  Work is ongoing to make the system compilable with Intel's C
compiler, but as far as I am aware it doesn't actually work yet.
Simply compiling software under gcc does not force you to license it
under the GPL, despite the inclusion of some GNU startup code (crt.o,
etc) in any binaries.

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: sound set up

2004-05-11 Thread Matthew Seaman
On Tue, May 11, 2004 at 01:47:26PM +0100, arden wrote:

 ive been using linux for some time and thought was time to try something
 new 
 the install of 5.2 went without a prob but did not set up my sound card
 in linux would be able to probe the pci bus to get an id of the card 
 with cat /proc/ pci but could not under bsd can you please point me in
 the right direction 

# pciconf -lv

or look at the dmesg output from when the system last booted up:

% less /var/run/dmesg.boot

or if the sound card is supported by the pcm(4) driver:

# cat /dev/sndstat

[although these last two are less useful if you don't have an
appropriate driver available in the kernel or the loadable kernel
modules for that particular sound card].

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


Solved: installworld fails

2004-05-11 Thread Heinrich Rebehn
Sorry for the noise, /usr/obj is a link to another disk which i had not 
mounted in single user mode :-(

- Heinrich

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


Re: freebsd on xbox ?

2004-05-11 Thread Lucas Holt
It would be best if no one bought the xbox.  Why let microsoft have a 
monopoly in game consoles too?  Sales of the xbox make game developers 
believe they should only write software for it.  Nintendo and Sony lose 
and so do gamers like me who don't want Microsoft to have all the 
cards.

Lucas Holt
[EMAIL PROTECTED]

FoolishGames.com  (Jewel Fan Site)
JustJournal.com (Free blogging)
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: freebsd on xbox ?

2004-05-11 Thread Roop Nanuwa
On Tue, 11 May 2004 09:27:11 -0400, Lucas Holt [EMAIL PROTECTED] wrote:
 
 It would be best if no one bought the xbox.

So your solution to avoiding lack of competition in the marketplace is
to have... less competitors in the marketplace?

 Why let microsoft have a
 monopoly in game consoles too?  Sales of the xbox make game developers
 believe they should only write software for it.  Nintendo and Sony lose
 and so do gamers like me who don't want Microsoft to have all the
 cards.
 

What about those of us that see nothing but PS2 games? GameCube
exclusives? If you want to play a Mario game, can you do it on anything
other than a Nintendo system? If you say sales of the X-Box will cause
developers to abandon other platforms then why wouldn't the same happen
with sales of the PS2 (or PS3)? The best solution for gamers is to have
good sales across the board for all platforms so they won't miss out
on any titles.

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


Fw: Data Storage Plan?

2004-05-11 Thread Ajitesh K

- Original Message - 
From: Ajitesh K [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, May 11, 2004 8:49 AM
Subject: Data Storage Plan?


 Hi Friend
 
 Does any one have Company-wide (LAN) Data Storage Plan?
 
 My requirement are
 PC Users: 50
 Users OS:  Win 3.1, Win 9x, Win Pro2000, Win XP, Lindows, FreeBSD
 
 My plan is to take weekly backup of 15 PCs as well as company data
 store/file such as Finance/Accounts spreadsheets, Administrator/HR
 documents,  Engineering's drawings, machinist's programs etc.
 
 I know only one thing that ..
 Data Storage Server OS: FreeBSD
 Security Issues: How to Authenticate different users? (Need Ideas)
 
 Please give suggestion which application to use. like, shell I
 install/set FTP server, HTTP server, SAMBA, etc.
 What kind of hardware to use?
 RAID: ???
 IDE HDD: ??? (Is 200 GB enough)
 Backup Tape: ??? (Tape / ZIP drive)
 Motherboard: ???
 CPU: ???
 CD RW: ??? (Needed)
 
 Help me in visualizing my data storage server. Thanks in Advance.
 
 With Regards
 
 Ajitesh K
 
 MIS Programmer
 U.S. Aeroteam, Inc
 One Edmund St,
 Dayton, OH 45404
 
 [EMAIL PROTECTED]

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


MBR

2004-05-11 Thread Olga Zenkova
Hi!
How can I use FreeBSD MBR to load other OS? Can't find
needed doc.

Thanks,
Olga 




__
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs  
http://hotjobs.sweepstakes.yahoo.com/careermakeover 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Mounting OpenBSD partitions

2004-05-11 Thread Senandung Mendonan
Referring to my previous post below, would it work if I manually do
bsdlabel -R /dev/ad0s2 protofile, where protofile has values taken from
OpenBSD's disklabel? e.g.:-

#  size   offsetfstype   [fsize bsize bps/cpg]
a:   614187  80325   4.2BSD  2048 16384   328   # (Cyl.   79*- 688)
b:  1125936  694512swap # (Cyl.  689 - 1805)
c: 78140160   0  unused 0 0 # (Cyl.0 - 77519)
d:  6291936  1820448 4.2BSD  2048 16384   328   # (Cyl. 1806 - 8047)
e:  2410191  8112384 4.2BSD  2048 16384   328   # (Cyl. 8048 - 10439*)

Just checking before I potentially clobber my current installation.
Thanks..

On Fri, 7 May 2004, Senandung Mendonan wrote:

 Hi list,

 I have a multiboot system which includes OpenBSD and FreeBSD. In FreeBSD,
 how do I mount OpenBSD partitions? Below are the relevant details of my
 system:-

 1. In FreeBSD:-
 ---
 (i) fdisk:-
 Disk name:  ad0 FDISK Partition Editor
 DISK Geometry:  4864 cyls/255 heads/63 sectors = 78140160 sectors(38154MB)
 Offset   Size(ST)End Name  PType   Desc  Subtype
 Flags
  0 63 62- 12 unused0
 63  80262  80324ad0s1  7fat6
  80325   10442250   10522574ad0s2  4 OpenBSD FFS  166
   10522575   28820610   39343184ad0s3  8freebsd  165
   39343185   38796975   78140159ad0s4  4 extended DOS, LBA 15

 (ii) disklabel ad0s2:-
 disklabel: /dev/ad0s2: no valid label found

 (iii) disklabel ad0s3:-
 # /dev/ad0s3:
 8 partitions:
 #size   offsetfstype   [fsize bsize bps/cpg]
   a:  102400004.2BSD 2048 16384 64008
   b:  1171456  1024000  swap
   c: 288206100unused0 0
   d: 12582912  21954564.2BSD 2048 16384 28552
   e: 14042242 147783684.2BSD 2048 16384 28552

 (iv) fstab:-
 /dev/ad0s3a on / (ufs, local)
 devfs on /dev (devfs, local)
 /dev/ad0s3d on /usr (ufs, local, soft-updates)
 /dev/ad0s3e on /var (ufs, local, soft-updates)

 2. In OpenBSD:-
 --
 (i) fdisk:-
 Disk: wd0   geometry: 4864/255/63 [78140160 Sectors]
 Offset: 0   Signature: 0xAA55
  Starting   Ending   LBA Info:
  #: idC   H  S -C   H  S [   start:  size   ]
 
  0: 060   1  1 -4 254 63 [  63:   80262 ] DOS  32MB
 *1: A65   0  1 -  654 254 63 [   80325:10442250 ] OpenBSD
  2: A5  655   0  1 - 2448 254 63 [10522575:28820610 ] FreeBSD
  3: 0F 2449   0  1 - 4863 254 63 [39343185:38796975 ] Extended LBA
 snipped

 (ii) disklabel wd0:-
 16 partitions:
 #sizeoffset  fstype  [fsize bsize   cpg]
 a:   614187  80325   4.2BSD  2048 16384   328   # (Cyl.   79*- 688)
 b:  1125936  694512swap # (Cyl.  689 - 1805)
 c: 78140160   0  unused 0 0 # (Cyl.0 - 77519)
 d:  6291936  1820448 4.2BSD  2048 16384   328   # (Cyl. 1806 - 8047)
 e:  2410191  8112384 4.2BSD  2048 16384   328   # (Cyl. 8048 - 10439*)
 i:80262   63  MSDOS # (Cyl.0*- 79*)
 j: 28820610 10522575 unknown# (Cyl. 10439*- 39030*)
 k: 14378112 39343248 unknown# (Cyl. 39031 - 53294)

 (iii) fstab:-
 /dev/wd0a / ffs rw 1 1
 /dev/wd0d /usr ffs rw,nodev 1 2
 /dev/wd0e /var ffs rw,nodev,nosuid 1 2

 One other thing, though not related to FreeBSD: I can't mount FreeBSD
 partitions in OpenBSD as well. UFS2 related issue?


--mendonan
Yang mimpikan secangkir kopi panas dengan selimut..
 (Dreaming of a cup of hot coffee, and a blanket..)
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


smbfs 4 Gb file limit.

2004-05-11 Thread Sunil Sunder Raj
Hi,
I was using smbfs on one of our Freebsd servers to mount a 800 GB
raid of a  win2k server with NTFS partition. Mounting seems to be great,
but when I try to copy a 18GB file from the freebsd server to the windows
server, strangely after 4GB it gives time out. Is there any fix for this. I 
was advised to follow some other mailing list but in vain. If there is some 
change in source code needed I am willing to do so.

The command I am using
---
# mount_smbfs //[EMAIL PROTECTED]/home5 /home5
terabyte1 is my win2k server with netbios enabled.
Uname output on my unix server
-
FreeBSD backupbrain 4.6-RELEASE FreeBSD 4.6-RELEASE #0: Tue Jun 11
06:14:12 GMT 2002
[EMAIL PROTECTED]:/usr/src/sys/compile/GENERIC  i386
Is any patch available to fix this problem.

Regards
SSR
_
Seized by wanderlust? Have the best vacation ever. 
http://www.msn.co.in/Travel/ Team up with MSN Travel!

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


Re: sound set up

2004-05-11 Thread arden
sorted it out thanks for pointing me in the right direction 
kldload snd_driver sorted it out 

arden 

On Tue, 2004-05-11 at 13:56, Roop Nanuwa wrote:
 On Tue, 11 May 2004 13:47:26 +0100, arden [EMAIL PROTECTED] wrote:
  
  hi all
  ive been using linux for some time and thought was time to try something
  new
  the install of 5.2 went without a prob but did not set up my sound card
  in linux would be able to probe the pci bus to get an id of the card
  with cat /proc/ pci but could not under bsd can you please point me in
  the right direction
 
 Take a look here:
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/sound-setup.html
 
 Most likely, running `kldload pcm` will get it working if your sound card is one
 of the common ones.
 
 --roop
 

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


FTP problem with IPFW

2004-05-11 Thread Gareth Bailey
I have recently setup IPFW on my FreeBSD 5.2 Release
server. I am running natd to provide inet to 5 LAN users.
It also runs mail, apache web server amongst others. 

All seems to be working fine, except for FTP.

The first two lines of my firewall file are:

add 1000 allow tcp from any to any via ed0 out keep-state
add 1100 allow udp from any to any via ed0 out keep-state

... then later in the file:

add 3600 allow tcp from any to me dst-port 21 in via ed0
setup keep-state 

I thought this would be sufficient to establish and
maintain FTP connections. I read through the mailing lists
and it seems that FTP is tricky with IPFW and natd.

Is there a simple solution to this problem? Can i just add
some other rule to my firewall? I read something about natd
punching through IPFW, is this the answer?

Any information will be mouch appreciated.

Thanks,
Gareth (IPFW newbie)
_
For super low premiums ,click here http://www.dialdirect.co.za/quote
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Rsync over SMBFS - bad filedescriptor

2004-05-11 Thread Feczak Szabolcs
Bad file descriptor occurs while Im trying to rsync from smbfs

the files are mounted as the following
//[EMAIL PROTECTED]/HDD$ on /mnt/smbfs (smbfs, read-only)

kern.maxfiles is set to 32768
kern.maxfilesperproc is set to 16384
smb.conf, although it might not makes a difference as a client set to
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=4096 SO_RCVBUF=4096

uname -a
FreeBSD localhost 4.10-RC FreeBSD 4.10-RC #1: Wed Apr 28 20:00:41 CEST 2004 [EMAIL 
PROTECTED]:/mnt/data/obj/mnt/data/cvs/src/sys/MYKERNEL i386

## Issuing the following:
# rsync -HLlruv --delete /mnt/smbfs/data/UJKIEG2/ /home/feczo/test

building file list ... readdir(00101/TOBBEF2.DBF): (9) Bad file descriptor
readdir(11102/tobbef2.dbf): (9) Bad file descriptor
readdir(44401/tobbef2.dbf): (9) Bad file descriptor
readdir(44402/tobbef2.dbf): (9) Bad file descriptor
readdir(66601/TOBBEF2.DBF): (9) Bad file descriptor
readdir(88802/TOBBEF2.DBF): (9) Bad file descriptor
done
IO error encountered - skipping file deletion

wrote 30912 bytes  read 20 bytes  61864.00 bytes/sec
total size is 9405275  speedup is 304.06
rsync error: some files could not be transferred (code 23) at main.c(632)

## generates an error

## reading and copy the file is okay though

# cp /mnt/smbfs/data/UJKIEG2/11102/tobbef2.dbf /home/feczo/test2/1 
# cp /mnt/smbfs/data/UJKIEG2/44401/tobbef2.dbf /home/feczo/test2/2
# cp /mnt/smbfs/data/UJKIEG2/44402/tobbef2.dbf /home/feczo/test2/3
# cp /mnt/smbfs/data/UJKIEG2/66601/TOBBEF2.DBF /home/feczo/test2/4
# cp /mnt/smbfs/data/UJKIEG2/88802/TOBBEF2.DBF /home/feczo/test2/5 

# find /home/feczo/test2   ~

## after copy the files are there ...

/home/feczo/test2
/home/feczo/test2/1
/home/feczo/test2/1/tobbef2.dbf
/home/feczo/test2/2
/home/feczo/test2/2/tobbef2.dbf
/home/feczo/test2/3
/home/feczo/test2/3/tobbef2.dbf
/home/feczo/test2/4
/home/feczo/test2/4/TOBBEF2.DBF
/home/feczo/test2/5
/home/feczo/test2/5/TOBBEF2.DBF

Any ideas why ? 

-- 
  _(_)_
 (_. o_)F3CZ0
   (_,) http://feczo.nmi.rulez.org
  ()__
  // //

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


Re: Maya

2004-05-11 Thread Zane
On Tue, 11 May 2004 13:57:59 +
Daniela [EMAIL PROTECTED] wrote:

 On Tuesday 11 May 2004 03:09, [EMAIL PROTECTED] wrote:
  I am thinking of downloading a learning adition of MAYA and
  atempting to run it on my BSD box I am running X with a GNOME
  desktop I think this is an attempt at porting can anyone give me
  some advice. I really want to play with the way MAYA handles
  autocad files and vice versa, both of wich are not supported by
  BSD what am I getting into and is it possible.
 
 I tried it too, but without success. The rpm command complained that
 /bin/sh is missing. Maybe the emulator is already fixed, I haven't
 tried for a long time.
 What format do you have it in? Is it an rpm too?

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


[no subject]

2004-05-11 Thread wendy
Easy to install
FreeBSD can be installed from a variety of media including CD-ROM, DVD-ROM,
floppy disk, magnetic tape, an MS-DOS® partition, or if you have a network
connection, you can install it directly over anonymous FTP or NFS. All you
need is a couple of formatted 1.44MB floppies and these directions.



THIS IS NOT TRUE! - the installation actually is very difficult and so this
Superior OS is not for 99.9% computer users - I'll probably kill my time
only if I lost my job and stay home having nothing to do to configure how to
install it.

Comparing to Windows, this BSD is very dumb- want to me to tell it
everything. No wonder it's Free.



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


Re: Maya

2004-05-11 Thread peter lageotakes

--- Daniela [EMAIL PROTECTED] wrote:
 On Tuesday 11 May 2004 03:09, [EMAIL PROTECTED]
 wrote:
  I am thinking of downloading a learning adition of
 MAYA and atempting to
  run it on my BSD box I am running X with a GNOME
 desktop I think this is an
  attempt at porting can anyone give me some advice.
 I really want to play
  with the way MAYA handles autocad files and vice
 versa, both of wich are
  not supported by BSD what am I getting into and is
 it possible.
 
 I tried it too, but without success. The rpm command
 complained that /bin/sh 
 is missing. Maybe the emulator is already fixed, I
 haven't tried for a long 
 time.
 What format do you have it in? Is it an rpm too?
 
 Daniela
 
 
 ___
 [EMAIL PROTECTED] mailing list

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


FYI: Most, if not all Linux distros have a symbolic
link between SH and Bash.




__
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs  
http://hotjobs.sweepstakes.yahoo.com/careermakeover 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD ports

2004-05-11 Thread dvelez502
Hi, I am running freeBSD 5.1.  
 
I read the handbook on updating the ports system. The  
updated ports were placed in the /home/ncvs/ports. I cd 
to the /home/ncvs/ports/3ddesktop. I typed the usual 
make install clean as root. I gotten this error message: 
 
make: don't know how to make install. Stop 
 
 
But, when I build from the default directory 
/usr/ports/package-name it compiles and install 
the package fine. The 33desktop is not in the 
/usr/ports directory, but in the /home/ncvs/ports 
directory. I want to install this package but I 
get the error above. If you can help, I surely appreciate it. 
 
Thanks 


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


Re: OpenBSD/ (maybe FreeBSD) Firewall/Router/DNS

2004-05-11 Thread Bryan Cassidy
Sounds good to me but I'm still confused about how I need to set this up hardware 
wise. The link at freebsddiary sounds good to start with I guess. I don't know if I 
need any extra hardware either. I have at the moment 2 NICs and 2 crossover cables. Do 
I need more? Do I keep the NIC in this machine or do I move it to the machine that 
will be acting as a firewall/router/gateway? How do I set this up? Still confused on 
this part.

On Tue, May 11, 2004 at 12:26:59AM -0500, Micheal Patterson wrote:
 
 
 - Original Message - 
 From: Bryan Cassidy [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Tuesday, May 11, 2004 12:20 AM
 Subject: OpenBSD/ (maybe FreeBSD) Firewall/Router/DNS
 
 
  Hello. I am currently running FreeBSD 4.9-RELEASE p-7. I am pretty
 comfortable with FreeBSD for the most part and really enjoy using it on a
 day to day basis. This is my thoughts. I have an older NEC PC that I would
 like to put to some use. First off I don't know if I need any 'extra'
 hardware. I have now 1 DSL modem (dhcp - could get static, is it worth
 getting?), 3 NICs, and 2 cables to connect the ethernet cards. I have just
 been reading up on Firewalls on FreeBSD using ipfw. I would basically like
 to do the following. I want to install OpenBSD 3.5 or Possibly one of the
 FreeBSD 4.x, 5.x, 4-stable, current or whatever. Which would you all
 recommend using in this situation? I want to continue to use my nice newer,
 much faster computer to do all configurations to the system, updates,
 installing software, running apache, configuring firewall, etc. etc. etc.
 via ssh (good choice?) to the other/older box. Would really appreciate some
 insight on this topic. Networking/Security is becoming very interesting to
 my. Thanks. Don't forget, do I need any 'extra' hardware?
  ___
  [EMAIL PROTECTED] mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
 [EMAIL PROTECTED]
 
 
 I can't speak for anyone else but myself, but here's my opinion on this.
 
 If you have an older box, you'll need 2 nics. One (external / serial
 interface) to the dsl modem (crossover cable), one to the lan side. If this
 is also to a PC, you'll need another crossover cable. If the old NEC is a
 486 with at least 32 mb ram, that should be all you'll need hardware wise as
 long a it's got a couple of gig for drive space. If you want to enable full
 firewall logging, you'll need more disk space for that of course. What I'd
 recommend doing in your situation, is the same as I have here at home. Have
 the bsd box (I prefer freebsd myself) connect to your provider and pull the
 ip on the serial interface, then assign a private ip to the internal nic and
 to the systems behind it on the lan. Then on the bsd box, enable nat and the
 first rule of your firewall will be a divert rule to pass everything to NAT.
 
 For more info on this and it's configuration, check out
 
 
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/book.html
 
 or
 
 http://www.freebsddiary.org/ipfw.php
 
 If you're still wanting more info, then I'd recommend a google search for
 freebsd natd and / or freebsd ipfw to get a lot of good and useful info.
 
 Hope it helps.
 --
 
 Micheal Patterson
 TSG Network Administration
 405-917-0600
 
 Confidentiality Notice:  This e-mail message, including any attachments, is
 for the sole use of the intended recipient(s) and may contain confidential
 and privileged information. Any unauthorized review, use, disclosure or
 distribution is prohibited. If you are not the intended recipient, please
 contact the sender by reply e-mail and destroy all copies of the original
 message.
 
 ___
 [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: OpenBSD/ (maybe FreeBSD) Firewall/Router/DNS

2004-05-11 Thread Micheal Patterson


- Original Message - 
From: Bryan Cassidy [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, May 11, 2004 12:31 PM
Subject: Re: OpenBSD/ (maybe FreeBSD) Firewall/Router/DNS


 Sounds good to me but I'm still confused about how I need to set this up
hardware wise. The link at freebsddiary sounds good to start with I guess.
I don't know if I need any extra hardware either. I have at the moment 2
NICs and 2 crossover cables. Do I need more? Do I keep the NIC in this
machine or do I move it to the machine that will be acting as a
firewall/router/gateway? How do I set this up? Still confused on this part.

You'll need a total of 3 nics to hook up a firewall and one PC behind it and
2 crossover cables.

2 nics in the firewall system and 1 nic in the PC.


dsl-modem  firewall  PC

If you plan on running more than one computer behind the firewall, you'll be
better off getting a hub or a low end 10/100 switch.

--

Micheal Patterson
TSG Network Administration
405-917-0600

Confidentiality Notice:  This e-mail message, including any attachments, is
for the sole use of the intended recipient(s) and may contain confidential
and privileged information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the intended recipient, please
contact the sender by reply e-mail and destroy all copies of the original
message.


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


natd high cpu use

2004-05-11 Thread twig les
Hey all, I just set up a 4.9based router for my home office last
week and I noticed this morning that it was slow.  So I logged
in and threw up a top session and saw this:

  PID USERNAME PRI NICE  SIZERES STATETIME   WCPUCPU
COMMAND
   88 root  53   0 33988K 33792K RUN427:02 94.43% 94.43%
natd

I then did this:
gate# tcpdump -i rl1 -n not tcp port 22
tcpdump: listening on rl1


And saw almost zero traffic.  I rebooted thinking natd may have
run away with itself for some reason and upon reboot it came up
with top taking about 16% CPU.  After a whopping 2 minutes or so
natd is now taking 65-95% of the cpu time again.

This box is an AMD 350MHz with 256MB of old SDRAM.  Not a
bragload of power but it should be overkill for splitting out
routing and nat services for 1-4 workstations surfing the web. 
This behavior was *not* present until this morning and I have
added nothing.

Thnx for any insight or troublshooting tips you have, I already
googled and came up craps.


=
---
With a few exceptions, secrecy is deeply incompatible with
democracy and with science.
 --Carl Sagan  
---




__
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs  
http://hotjobs.sweepstakes.yahoo.com/careermakeover 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


spam spoofers

2004-05-11 Thread Buck

I am getting hundreds of spam with return addresses on it from MY server..
the ip addresses are different and they didn't originate from my server .
now I am getting notices from AOL and other they are going to stop
excepting mail from me...while this is no loss to me, I see a problem
here...  is there anyway to stop this, anyone to callanything to do?

I also have a woman getting mail from a sick person with the address and
return the same as her address. the police, FBI, are no help..


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


Re: OpenBSD/ (maybe FreeBSD) Firewall/Router/DNS

2004-05-11 Thread Steven N. Fettig
Bryan Cassidy wrote:

Sounds good to me but I'm still confused about how I need to set this up hardware wise. The link at freebsddiary sounds good to start with I guess. I don't know if I need any extra hardware either. I have at the moment 2 NICs and 2 crossover cables. Do I need more? Do I keep the NIC in this machine or do I move it to the machine that will be acting as a firewall/router/gateway? How do I set this up? Still confused on this part.
 

Another recommendation (although slightly outdated) is : 
http://mostgraveconcern.com/freebsd/ (take a look at the dual-homed 
system howto).

You ideally need 2 NIC's in your NEC machine that you want to use as a 
gateway/router/firewall.*  Then, assuming that you want to connect to 
the internet on another computer, you need a NIC in that machine.  If 
you have more than one computer besides the NEC, then you need NIC's for 
those machines and a hub in between.

Take a look at the HARDWARE text for whatever version of FreeBSD you are 
installing to make sure it supports your NIC's.  If you load the system 
and find that the NIC's aren't supported, you will have wasted a bit of 
time...  (I'd be surprised, though, if you have a NIC that isn't 
supported... never met one myself.)

So, the diagram looks a bit like this:

xDSL/Cable Modem -- cable/crossover cable -- NIC1 | NEC | NIC2 -- 
cable/crossover cable -- *inside* computer

where the NEC is the machine doing the NAT/Firewalling and Routing.  The 
xDSL/Cable Modem simply gives you your connection to the net.  As far as 
configuring the NEC, you need to spend some time to understand what NAT 
is and what you want to be able to do with your *inside* computers.  
Most of the ipfw howto's have pretty good rulesets to work with, so you 
don't have to worry so much about that issue - but you should eventually 
take time to really understand what your firewall is actually doing.

hth,
Steve Fettig
* I say *ideally* because you *can* do it with one NIC - but that really 
defeats the purpose of setting that machine up as your 
gateway/router/firewall due to the ability for someone to spoof an 
address from the internal network.

On Tue, May 11, 2004 at 12:26:59AM -0500, Micheal Patterson wrote:
 

- Original Message - 
From: Bryan Cassidy [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, May 11, 2004 12:20 AM
Subject: OpenBSD/ (maybe FreeBSD) Firewall/Router/DNS

   

Hello. I am currently running FreeBSD 4.9-RELEASE p-7. I am pretty
 

comfortable with FreeBSD for the most part and really enjoy using it on a
day to day basis. This is my thoughts. I have an older NEC PC that I would
like to put to some use. First off I don't know if I need any 'extra'
hardware. I have now 1 DSL modem (dhcp - could get static, is it worth
getting?), 3 NICs, and 2 cables to connect the ethernet cards. I have just
been reading up on Firewalls on FreeBSD using ipfw. I would basically like
to do the following. I want to install OpenBSD 3.5 or Possibly one of the
FreeBSD 4.x, 5.x, 4-stable, current or whatever. Which would you all
recommend using in this situation? I want to continue to use my nice newer,
much faster computer to do all configurations to the system, updates,
installing software, running apache, configuring firewall, etc. etc. etc.
via ssh (good choice?) to the other/older box. Would really appreciate some
insight on this topic. Networking/Security is becoming very interesting to
my. Thanks. Don't forget, do I need any 'extra' hardware?
   

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


Re: websites visited

2004-05-11 Thread Steven N. Fettig
[EMAIL PROTECTED] wrote:

How do I find the different websites and e-mails sent and recieved from my 
computer?

 

One way is to set up your firewall (vis a vis ipfw) to log all incoming 
and outgoing connections on ports 25, 80, 110, 143 and/or any others you 
want to monitor.  It will be time-consuming, however, to sift through 
the raw logs.  There are tools and scripts you can use for help... 



___
[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]


Streaming Audio

2004-05-11 Thread Darryl Hoar
Greetings,
I have a 5.1-release box at home that I would like to put my
personal mp3's on.  I want to listen to them on any computer
on my home lan.  

Several on the PC's on my home lan are Microsoft windows.

What are some ideas so that I can access them ?  Samba
seems a bit overkill.  What about apache running on the box,
serving up dynamic pages listing the mp3's.  When you click
on the link it launches windows media player (or real player)
so that you can listen.

Anyway, I would appreciate any ideas on this matter.

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


  1   2   >