tv-out under FreeBSD/X

2002-10-24 Thread Marc \UBM\ Bocklet

Hello! :-)

Is there currently any way to make my tv-out (ATI Radeon 8500 QL) work
under FreeBSD/X ?

I've already searche for info, but have found no suitable solutions.

Thanks in advance ;-)

Bye
Marc

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



Re: Jukebox Port for FreeBSD?

2002-10-24 Thread David Banning
On Wed, Oct 23, 2002 at 09:33:17AM -0700, Drew Tomlinson wrote:
 I've been searching the web for software that might allow me to build
 a mp3 jukebox that is controllable remotely via a web interface.  In
 other words, I want to put the jukebox behind my entertainment center
 and control it with other PCs in my network.

I run a unix xterm window on my PC's. On any box I can run
mp3blaster which I use to select and play my 
selections.  You don't need a graphical term emulator since 
mp3blaster is ascii.




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



port forwarding/natd...multiple IPs

2002-10-24 Thread Peter
Hello,
I got port forwarding to work with one IP, but lets say I have several IP's:
natd -n fxp0 -redirect_port 192.168.1.1:25 50 - this works as it connects me 
to my smtp server if I go to port 50.
But as soon as I have several IP's:
192.168.1.1
192.168.1.11
192.168.1.12
192.168.1.13 etc.

That port forwards only if I connect to 192.168.1.1:50 but connecting to any 
alias IP it won't do a port forward.

--
Be security conscious -- National defense is at stake.

---FreeBSD The Power To Serve---

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



STRICTLY CONFIDENTIAL

2002-10-24 Thread WILLIAM NDLOVU
Dear Sir,

Naturally this mail will come to you  as a surprise,but do not like at it as a scam 
rather I will want you to look at it as a something serious and consideration should 
be taken immediateley. If I may crave your indulgence,Im MR.WILLIAM NDLOVU ,the first 
son of DAVID NDLOVU, the most popular black farmer in Zimbabwe who was recectly 
murdered in the land dispute in my country.I APOLOGISE FOR INVADING YOUR PRIVACY, BUT 
PLEASE,I appeal to you to exercise a little patience and read through my letter, and I 
guarantee you will not have wasted your time. 

Before the death of my father, he had taken me to Johannesburg to deposit the sum of 
US8.5 Million (Eight Million, Five Hundred United States dollars)in one of the private 
security company, as he foresaw the looming danger in Zimbabwe this money  was 
deposited in a box as gem stones to avoid much demurrage from security company. This 
amount was meant for the purchase of new machines and chemicals for the Farms and 
establishment of new farms in Swaziland.

This land problem came when Zimbabwean President Mr.Robert Mugabe introduced a new 
Land Act Reform wholly affected the rich white farmers and some few black farmers.And 
this resulted to the killing and mob action by Zimbabwean war veterans and some 
lunatics in the society. In fact a lot of people were killed because of this Land 
reform Act for which my father was one of the victims.

It is against this background that, I fled Zimbabwe for fear of our lives and are 
currently staying in the Netherlands leaving my family back in South Africa where I am 
seeking political asylum and moreso have decided  to transfer my father’s money to a 
more reliable foreign account.Since the law of Netherlands prohibits a refugee (asylum 
seeker) to open any bank account or to be involved in any financial transaction 
throughout the territorial zone of Netherlands, As the eldest son of my father, I am 
saddled with the responsibility of seeking a genuine foreign account where this money 
could be transferred without the knowledge of my government who are bent on taking 
everything we have got. The South African government seems to be playing along with 
them. 


I am faced with the dilemma of moving this amount of money out of South Africa for 
fear of going through the same experience in future, both countries have similar 
political history. As a businessman,I am seeking for a partner who I have to entrust 
my future and of my family in his hands, I must let you know that this transaction is 
risk free. If you accept to assist me and my family,all I want you to do for me,is to 
arrangements with the security company to clear the consignment(funds) from their 
afiliate office here in the Netherlands as I have already given directives for the 
consignment to be brought to the Netherlands from South Africa.But before then all 
modalities will have to be put in place e.g change of ownership to the consignment and 
This money I intend to use for investment. 

I have two options for you. Firstly you can choose to have certain percentage of the 
money for nominating your account for this transaction. Or you can go into partnership 
with me for the proper profitable investment of the money in your country. Whichever 
the option you want, feel free to notify me. I have also mapped out 5% of this money 
for all kinds of expenses incurred in the process of this transaction. If you do not 
prefer a partnership I am willing to give you 15% of the money while the remaining 80% 
will be for my investment in your country. Contact me with throught my  E-mail while I 
implore you to maintain the absolute secrecy required in this transaction. 

Thanks and remain blessed,

Yours Faithfully,

Ndlovu William.



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



Bad Blocks Testing on SCSI HDD

2002-10-24 Thread Ruslan Morozoff
Hello All,

Can anyone recommend me simple solution to test Second-Hand HDD
under FreeBSD for phisycal defects? Just in 'write-read-test_CRC'
style... ;)

P.S.: it will be SeaGate Cheetah ST39102LW, running 4.7-STABLE...

-- 
Best regards,
 Ruslan Morozoff  mailto:FreeBSD;FromRU.com


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



Re: RSAAuthentication with sshd

2002-10-24 Thread Rune E. Hætta


Soren Harward wrote:


I created ssh1/2 identity keys for myself so I can hop login to my 
various servers without having to enter a password every time.  This 
works just fine between my Linux and HP-UX boxes, but FreeBSD 
(4.7-RELEASE) still prompts me for my password, even though I have 
RSAAuthentication yes in my sshd_config.  What else might I need to 
change to get this to work?



If you have protocol version 2 keys, you may attempt to enforce that 
protocol with 'ssh -2'. Also, ensure that the identity file name match 
the one listed in the configuration file.



--
- Rune E. Haetta

#endif  /*! _RUNE_H_ */


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


Re: Linux vs. FreeBSD

2002-10-24 Thread Roger 'Rocky' Vetterberg
W. D. wrote:

At 20:39 10/23/2002, Dan Pelleg, wrote:


FreeBSD systems are easy to maintain. You can do a source upgrade,
or a binary upgrade, and the system will go through it and boot
to the new version without a hitch. On one system I have I've gone from
FreeBSD 4.1 to 4.7, including every release in between, without ever
touching the console. When a major version comes out, I typically
upgrade 10 systems in multiple locations, all within half a day
without leaving my office. 

Pray tell, how do you do this?

Start Here to Find It Fast!© - http://www.US-Webmasters.com/best-start-page/



I can confirm that this is in fact possible, and not even difficult to 
accomplish. My home machine has gone from FreeBSD 2.2.8 to 4.7 without 
reinstall, and I disconnected the monitor and keyboard somewhere 
around 3.3.

An upgrade consists of the following commands:
'cvsup -g -L2 stable-supfile  cd /usr/src/  make buildworld  
make buildkernel KERNCONF=whatever  make installkernel 
KERNCONF=whatever  make installworld  reboot'
Theoretically you could just paste those lines into a shellscript, 
make a crontab entry and be done, but I do recommend that you add some 
error checking and maybe some interaction with the user. Of course, 
this should _not_ be used on production or otherwise heavy loaded 
machines. Doing install in single user is recomended, but a box with 
very low loads will probably do it just fine running multi user.

Ive used this method for years (allthough not added to cron but 
started manually when I think it's needed) and it has only failed me 
once. When going from 4.6 to 4.7 I had to do a reboot between 
installkernel and installworld, or the system would fail with a lot of 
weird memory errors. Luckily, I always update my testmachine first, so 
when the time came to update the real machine I was aware of this 
and avoided the problem.

--
R



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


[no subject]

2002-10-24 Thread partha debnath
sir,
please send me all category's some free
megazine's,catalogs,
Brochures, CD'c, book's and ect., also send some free
products.  

my mailimg address is
Partha Debnath,
C/O.Sankar Dey,
Northbanamali pur, Near Citty Office.
Agartala,Tripura,INDIA.
PIN - 799001.

thank you
partha

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

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



Re: What is vnlru really?

2002-10-24 Thread Marc Perisa
Hi Peter,

Peter Leftwich wrote:

Good evening,

I ran `ps auxww | more` and noticed some processes in parentheses.  One
that did not have a manpage (I suspect some other process kicked it off?)
was vnlru and all I could find out about it are the following:

http://www.google.com/search?hl=enie=ISO-8859-1q=vnlru+freebsdbtnG=Google+Search
http://docs.freebsd.org/mail/archive/2002/freebsd-stable/20020120.freebsd-stable.html
http://docs.freebsd.org/cgi/getmsg.cgi?fetch=489990+0+archive/2002/freebsd-stable/20020120.freebsd-stable
http://docs.freebsd.org/cgi/getmsg.cgi?fetch=491439+0+archive/2002/freebsd-stable/20020120.freebsd-stable

This explanation seemed the most authoritative ...


... should be this:
http://groups.google.com/groups?q=vnlru+matt+freebsdhl=enlr=ie=UTF-8selm=fa.l50hqsv.1sh0n2k%40ifi.uio.nornum=4
http://docs.freebsd.org/cgi/getmsg.cgi?fetch=603119+0+archive/2002/freebsd-hackers/20020310.freebsd-hackers


http://www.unixguide.net/freebsd/faq/10.31.shtml


That's a good short description. But the above tells more.



But one post said something about ipfw (which I do not yet run).  I've been
trying to get the program gaim to direct connect and want to make sure my
IP is not masked in a firewall or proxy sort of way.  What else is there
to check, using `ps auxww`?  Thanks as always and ever after,

PS - Is `arp -a` the most reliable way to get one's current IP address?


If you want to know your own IP address(es) you should use ifconfig.

Thanks,

Marc



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



RE: Linux vs. FreeBSD

2002-10-24 Thread Dan Pelleg
W. D. writes:
  At 20:39 10/23/2002, Dan Pelleg, wrote:
  FreeBSD systems are easy to maintain. You can do a source upgrade,
  or a binary upgrade, and the system will go through it and boot
  to the new version without a hitch. On one system I have I've gone from
  FreeBSD 4.1 to 4.7, including every release in between, without ever
  touching the console. When a major version comes out, I typically
  upgrade 10 systems in multiple locations, all within half a day
  without leaving my office.
  
  Pray tell, how do you do this?
  

1. cvsup to update the system sources.
2. look at /usr/src/UPDATING and follow instructions. (do
not forget the mergemaster step!). The drop to single
user mode step can be skipped, at your own risk, which
my experience proves to be acceptable when the machine
is not too busy.


Read all about it in the handbook:

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

(do not be alarmed by the name - the same method is used
for the security patches, as well as going from one
release to the next, so it's as stable as anything you
get on a CD-ROM; of course you can use this method
to track -STABLE, which may occasionally not be, and
rebuild your kernel and world nightly; whatever
suits your needs).

--
 Dan Pelleg

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



Re: help with socket programming

2002-10-24 Thread Andrey Simonenko
On Wed, 23 Oct 2002 22:45:06 + (UTC) in lucky.freebsd.questions, Vinod wrote:
 i need a socket descriptor handle to process all my
 clients which fork out.but the handle i was using
 new_fd(see below) turned out to be the same for all.
 
 listen(..,..)
 for(;;)
 {
 int new_fd=accept(sockfd,,...);
 ...
 
 }
 Shouldnt the new_fd be distinct everytime a new client
 connects?

I don't clearly understand your question, especially if you
read Stevens books, but I'll try to answer.

new_fd variable is just overwritten each time accept() returns a new
socket descriptor for a new connection. If you need to keep connections
with all clients at the same time in a single server, so, you need to
save each new_fd descriptor in an array, for example.

If you fork() a new process for handling a new connection, then you need
to close() new_fd descriptor in the server and use new_fd descriptor in
the forked process.

In any way, it is better to ask such questions in comp.unix.programmer
news group.

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



Re: what's up with /var/empty?

2002-10-24 Thread Marc Perisa
Hi Chip,

Chip Wiegand wrote:

I just finished installing 4.7 and want to move /var to /usr/var and
symlink it, but there is an empty subdirectory called empty
(/var/empty). It is not going away when I try to delete the /var
directory after moving it to /usr/var. It has permissions like this: 
dr-xr-xr-x root wheel 
Seems like I had to do something about a sticky bit, but don't recall
and can't find anything in the list archives about this.
Can someone remind me? And this time I'll write it down in my notebook.



it is not about sticky bits. /var/empty is used since OpenSSH 3.4 to 
chroot the child process.

man sshd will tell you more.

So, stop sshd (all of them I think) and then it should work

Hope that helps

Marc




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


Re: du, find/xargs/sort, and MP3.tar

2002-10-24 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2002-10-23 17:05:48 -0400:
 On 22 Oct 2002, Gary W. Swearingen wrote:
  Peter Leftwich [EMAIL PROTECTED] writes:
   Then I thought I'd get crafty and
   `tar tvf MP3.DONE0415021909MPT.tar  the-tarfile.out` thinking I
   could later run things through `sort` but I am hung up on how to
   get similar output that shows the contents of MP3/.
  tar cf - MP3/ | tar tvf - the-mp3dir.out
 
 Could someone step through what this is doing?  I thought you could use -
 (stdin?) only once on a command line.

the first tar sends the tarball to stdout, the second reads it from
stdin. your shell connect those two together.

 My question was more about using less CPU time with something simiar
 to find or `ls -alR | sort`

the output of `ls -alR` is not suitable for what you want.
`tar tvf` with find(1) is your best bet.

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

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



Re: X will not start as root - need help

2002-10-24 Thread Jonathan Arnold
 moused_enable=YES

One thing to note is that you don't *need moused, even if you are
using X. moused just gives you a mouse when you are in a text console
(note, *not* a console in X, but rather a plain ol' console). So if
you always just boot into X, you don't need moused.
-- 
Jonathan Arnold (mailto:jdarnold;buddydog.org)
The Incredible Brightness of Seeing, a Home Theater weblog
 http://www.anaze.us/HomeTheater



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



Re: Where are the 4.7 release sources?

2002-10-24 Thread Giorgos Keramidas
On 2002-10-23 18:10, Gary W. Swearingen [EMAIL PROTECTED] wrote:
 Giorgos Keramidas [EMAIL PROTECTED] writes:
  The very simplistic answer is:
 
  a. Download all the files from
 ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/4.7-RELEASE/src/
 
  b. Run the install.sh script as root.

 Maybe they'd make a good src/README.  I just took www.freebsd.org's
 Getting FreeBSD link.

Perhaps.  This is not a bad point altogether.  I'm reading again some
of the messages I have in my local mailbox.  Apparently, a lot of
people are thinking about src/README.  In this particular case, it's
probably a chicken and egg problem, since src/README cannot help one
locate the sources, because it is part of the sources...

But you're right at least in this; that there is a need for better
documentation in Getting FreeBSD.

 The official sources for FreeBSD are available via anonymous FTP
 from: ftp://ftp.FreeBSD.org/pub/FreeBSD/.

 Then you get to poke around a big directory tree until you blunder
 across releases/i386/4.7-RELEASE/src/.  Our intrepid OP apparently
 managed to get that far, but was probably too worn down to try looking
 for and decyphering the install.sh script.

I don't mind the occasional question.  I'm glad that pointing him to
the install.sh script did the trick, and now he probably has his
sources downloaded with FTP.

Giorgos.

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



not a virus...

2002-10-24 Thread Rexrode Records
ok people, i got took...1:00 in the morning from a trusted source...sue me.

but prior to the belief of about a thousand trusted people who pointed out
my blunder, this will do no harm to your machine if you got took like me.
unless all of you are java programmers, and i believe it is only for an
older version of java...

curt

ps: sorry about the mass emails...nice to type you all.


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



Re: what's up with /var/empty?

2002-10-24 Thread Jack L. Stone
At 12:10 PM 10.24.2002 +0200, Marc Perisa wrote:
Hi Chip,

Chip Wiegand wrote:
 I just finished installing 4.7 and want to move /var to /usr/var and
 symlink it, but there is an empty subdirectory called empty
 (/var/empty). It is not going away when I try to delete the /var
 directory after moving it to /usr/var. It has permissions like this: 
 dr-xr-xr-x root wheel 
 Seems like I had to do something about a sticky bit, but don't recall
 and can't find anything in the list archives about this.
 Can someone remind me? And this time I'll write it down in my notebook.
 


it is not about sticky bits. /var/empty is used since OpenSSH 3.4 to 
chroot the child process.

man sshd will tell you more.

So, stop sshd (all of them I think) and then it should work

Hope that helps

Marc


It's also locked schg and you will have to chflags noschg before removing:
dr-xr-xr-x   2 rootwheel   schg  512 Oct  9 07:42 empty/

Best regards,
Jack L. Stone,
Administrator

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

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



Still going in circles on RELENG_4_5 - RELENG_4_6

2002-10-24 Thread John Mills
Greetings -

I am still trying to upgrade from RELENG_4_5 to RELENG_4_6 by means of
'cvsup'. I am still failing to build a usable 'ncurses' library. Has
anyone sorted this out? I suppose the problem might be in generating the
dependencies or needing a newer 'make', but it reports as a compiler error
in a file which identical with the version which compiles fine in
RELENG_4_5.

If I instead download the 4.6 CD images and make a CDROM, can I upgrade
while preserving my configuration information? (Naturally I know the
kernel would have some items I don't use, but I want to keep users, their
directories, network setup, etc.)

'Handbook' and 'Complete FreeBSD' pointers welcome for the smoothest
upgrade path.

TIA.

 - John Mills


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



xfree question not answered on the xfree lists, maybe here?

2002-10-24 Thread Chip Wiegand
I put this on chat becuase it's a bit off topic, and it has yet to be
answered on the xfree lists. I just installed fbsd 4.7 on a new box, at
the prompt to configure the x server said no, and finished the install.
I then ran XFree86 -configure and copied the XFree86Config to /etc/X11/.
When I start X it starts okay except it will only run in 4 bit mode.
Even when I try to force it to 16 bit at the startx prompt, it will
default to 4. I tried to comment out the 4bit subsection the XFree will
only complain that it's not there and fail to load. I know the video
card and monitor will do 16 bit and 1024x768, it was on the previous
install, and the box dual-boots win2000, which is using that config. I
noticed there are no lines for modes in the screens subsections, so I
added one to the 16bit subsection, it only breaks X again. I've included
the XFree86Config at the bottom of this message.
Hopefully someone will be able to help me here. :)
Regards, 
Chip W

--
XFree86Config
--

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

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

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

Section InputDevice
Identifier  Keyboard0
Driver  keyboard
EndSection

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

Section Monitor
Identifier   Monitor0
VendorName   Monitor Vendor
ModelNameMonitor Model
EndSection

Section Device
### Available Driver options are:-
### Values: i: integer, f: float, bool: True/False,
### string: String, freq: f Hz/kHz/MHz
### [arg]: arg optional
#Option ShadowFB  # [bool]
#Option VGAClocks # [bool]
Identifier  Card0
Driver  vga
VendorName  SiS
BoardName   630
BusID   PCI:1:0:0
EndSection

Section Screen
Identifier Screen0
Device Card0
MonitorMonitor0
SubSection Display
Depth 1
EndSubSection
SubSection Display
Depth 4
EndSubSection
SubSection Display
Depth 8
EndSubSection
SubSection Display
Depth 15
EndSubSection
SubSection Display
Depth 16
EndSubSection
SubSection Display
Depth 24
EndSubSection
EndSection

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



how to add space

2002-10-24 Thread info
How can I enlarge my /usr slice on a disk?
Do I need to re-partition my disks?
I have: 34gb Raid and 2 10gb SCSI HDD's. The RAID  array is now NTFS and 
the other 2 are chopped into NTFS, fat16 and FreeBSD. I could add another 
4gb to FreeBSD - but how?
I am not too enthusiastic about reinstalling everything. I just updated to 
FBSD 4.7 and need to add space to install openofice.
PJ



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


Re: Still going in circles on RELENG_4_5 - RELENG_4_6

2002-10-24 Thread pippo
At 09:37 AM 10/24/2002 -0400, you wrote:

Hi John,
I just updated 2 machines to 4.7. I am not sure you (or I) completely 
understand the RELENG thing, but the easiest way to upgrade is to run cvsup 
with the standard-supfile and then follow the instructions in the Handbook 
on Using make world - section 21.4.
It worked like a charm for me, and I am not an expert programmer or 
administrator.
HTH,
PJ

I am still trying to upgrade from RELENG_4_5 to RELENG_4_6 by means of
'cvsup'. I am still failing to build a usable 'ncurses' library. Has
anyone sorted this out? I suppose the problem might be in generating the
dependencies or needing a newer 'make', but it reports as a compiler error
in a file which identical with the version which compiles fine in
RELENG_4_5.

If I instead download the 4.6 CD images and make a CDROM, can I upgrade
while preserving my configuration information? (Naturally I know the
kernel would have some items I don't use, but I want to keep users, their
directories, network setup, etc.)

'Handbook' and 'Complete FreeBSD' pointers welcome for the smoothest
upgrade path.

TIA.

 - John Mills


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




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



Re: xfree question not answered on the xfree lists, maybe here?

2002-10-24 Thread Matt Smith
On Thu, 2002-10-24 at 10:06, [EMAIL PROTECTED] wrote:
 At 06:41 AM 10/24/2002 -0700, you wrote:
 Hi Chip,
 I had a very similar problem on a rather simplistic mother board that had a 
 buil-in video card; I was trying to use a card in a pci slot and the 
 problem was in the configuration. I suspect that what you have to do is 
 just try diffrent configurations for the Screen section:
 For instance, try a different depth, like 8 with 1024x768 and 800x600 . 
 My card is supposed to go to 1600x1200 at 24bits but just does not do it - 
 I think it has to do with the memory you have for the video.  Oddly, mine 
 started working when I configured Depth 8 and Depth 16 to Modes 1280x1024 
  1024x768
 HTH,
 PJ
 
 I put this on chat becuase it's a bit off topic, and it has yet to be
 answered on the xfree lists. I just installed fbsd 4.7 on a new box, at
 the prompt to configure the x server said no, and finished the install.
 I then ran XFree86 -configure and copied the XFree86Config to /etc/X11/.
 When I start X it starts okay except it will only run in 4 bit mode.
 Even when I try to force it to 16 bit at the startx prompt, it will
 default to 4. I tried to comment out the 4bit subsection the XFree will
 only complain that it's not there and fail to load. I know the video
 card and monitor will do 16 bit and 1024x768, it was on the previous
 install, and the box dual-boots win2000, which is using that config. I
 noticed there are no lines for modes in the screens subsections, so I
 added one to the 16bit subsection, it only breaks X again. I've included
 the XFree86Config at the bottom of this message.
 Hopefully someone will be able to help me here. :)
 Regards,
 Chip W
 
 --
 XFree86Config
 --
 
 Section ServerLayout
  Identifier XFree86 Configured
  Screen  0  Screen0 0 0
  InputDeviceMouse0 CorePointer
  InputDeviceKeyboard0 CoreKeyboard
 EndSection
 
 Section Files
  RgbPath  /usr/X11R6/lib/X11/rgb
  ModulePath   /usr/X11R6/lib/modules
  FontPath /usr/X11R6/lib/X11/fonts/misc/
  FontPath /usr/X11R6/lib/X11/fonts/Speedo/
  FontPath /usr/X11R6/lib/X11/fonts/Type1/
  FontPath /usr/X11R6/lib/X11/fonts/75dpi/
  FontPath /usr/X11R6/lib/X11/fonts/100dpi/
 EndSection
 
 Section Module
  Load  dbe
  Load  dri
  Load  extmod
  Load  glx
  Load  pex5
  Load  record
  Load  xie
  Load  xtrap
  Load  speedo
  Load  type1
 EndSection
 
 Section InputDevice
  Identifier  Keyboard0
  Driver  keyboard
 EndSection
 
 Section InputDevice
  Identifier  Mouse0
  Driver  mouse
  Option  Protocol MouseSystems
  Option  Device /dev/sysmouse
 EndSection
 
 Section Monitor
  Identifier   Monitor0
  VendorName   Monitor Vendor
  ModelNameMonitor Model
 EndSection
 
 Section Device
  ### Available Driver options are:-
  ### Values: i: integer, f: float, bool: True/False,
  ### string: String, freq: f Hz/kHz/MHz
  ### [arg]: arg optional
  #Option ShadowFB  # [bool]
  #Option VGAClocks # [bool]
  Identifier  Card0
  Driver  vga
  VendorName  SiS
  BoardName   630
  BusID   PCI:1:0:0
 EndSection
 
 Section Screen
  Identifier Screen0
  Device Card0
  MonitorMonitor0
  SubSection Display
  Depth 1
  EndSubSection
  SubSection Display
  Depth 4
  EndSubSection
  SubSection Display
  Depth 8
  EndSubSection
  SubSection Display
  Depth 15
  EndSubSection
  SubSection Display
  Depth 16
  EndSubSection
  SubSection Display
  Depth 24
  EndSubSection
 EndSection
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
 
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
 

Also -- try specifying a DefaultMode in your Screen section.


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



Re: X will not start as root - need help

2002-10-24 Thread John Bleichert
On Thu, 24 Oct 2002, leegold wrote:

 Date: Thu, 24 Oct 2002 01:07:52 UT
 From: leegold [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: Re: X will not start as root - need help
 
 Here's my config. files - appreciate the help:
 Refer to my previous posts for the error message.
 
 THANK YOU in advance.
 
 1.
 $ grep mouse /etc/rc.cont
 moused_enable=YES

I never enable moused as I don't want a mouse pointer in my terminal. It's 
not required for X (as others have said).

From your dmesg:
 psm0: PS/2 Mouse irq 12 on atkbdc0
 psm0: model IntelliMouse, device ID 3
 

From your XF86Config:
 Section InputDevice
 Identifier  Mouse1
 Driver  mouse
 Option ProtocolMouseSystems
 Option Device  /dev/sysmouse
 Option ClearDTR
 Option ClearRTS
 EndSection

For the Device section above, try /dev/psm0 - That's how I use it. 
Actually, I have one line each for USB and PS/2. Also, I think the DTR and 
RTS stuff is only for serial mice? Are you *sure* you selected the ps2 
mouse style during xf86config? The protocol should be PS/2. So re-write 
this with:

 Section InputDevice
 Identifier  Mouse1
 Driver  mouse
 Option ProtocolPS/2
 Option Device  /dev/psm0
 Option ZAxisMapping 4 5
 EndSection

The ZAxisMapping is for your mousewheel. You can also add or fake 3-button 
support here. See the comments in your XF86Config file.

HTH - JB


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


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



Re: how to add space

2002-10-24 Thread Matthew Seaman
On Thu, Oct 24, 2002 at 09:50:12AM -0400, [EMAIL PROTECTED] wrote:
 How can I enlarge my /usr slice on a disk?
 Do I need to re-partition my disks?
 I have: 34gb Raid and 2 10gb SCSI HDD's. The RAID  array is now NTFS and 
 the other 2 are chopped into NTFS, fat16 and FreeBSD. I could add another 
 4gb to FreeBSD - but how?
 I am not too enthusiastic about reinstalling everything. I just updated to 
 FBSD 4.7 and need to add space to install openofice.

The easiest thing to do is probably to use some or all of the
available 4Gb as a new filesystem mounted under /usr.  For instance,
/usr/local might be a good choice.  You need to copy the current
contents of /usr/local onto the new partition, move the old /usr/local
aside somewhere and mount the new one in it's place:

Assuming the disk partition where you have space is /dev/da2s2
something like the following (in single user mode):

mount -a
fdisk -i da2[ Mark slice 2 as belonging to FreeBSD ]
disklabel -e da2s2  [ Create a 4.2BSD partition /dev/da2s2e, say ]
newfs /dev/da2s2e
mkdir /usr/local.new
mount -t ufs /dev/da2s2e /usr/local.new
rsync -avx /usr/local/ /usr/local.new/   

[ rsync(1) is only one way to copy the whole directory tree over.
  Obviously, you need to install ports/net/rsync before dropping to
  single user... Another alternative might be:

  cd /usr/local ; tar -cf - . | ( cd /usr/local.new ; tar -xvpf - )

  or there are similar methods using find+cpio, dump+restore etc.]

umount /usr/local.new
mv /usr/local /usr/local.old
mkdir /usr/local
mount -t ufs /dev/da2s2e /usr/local
diff -ur /usr/local.old /usr/local  [ make sure everything copied OK etc. ]
vi /etc/fstab   [ add /dev/da2s2e to standard mounts ]
reboot

Now, when the system comes back up multiuser you should have a
separate /usr/local partition containing the same files as the
original /usr/local directory.  Once you're satisfied that everything
has gone according to plan you can delete /usr/local.old and make
merry in the extra space that becomes available.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
  Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK

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



dump problem in FreeBSD 4.6---Help needed

2002-10-24 Thread Alvaro Rosales R.
Hello, I have noticed that the system FreeBSD 4.6 sends emails to root 
everyday giving information of the system. can you tell me where can I 
configure the time it sends this mails to root ??   










Alvaro A. Rosales Rojas.  a.k.a. RAZA
Proud user of  Pegasus Mail
Soporte Tecnico de Sistemas
Procacao S.A
3368113 ext 260

You'll never know how far you can go until you break the chains that tie 
your soul 


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



Re[2]: troubles with gateway (Inet-FBSD-W2K)

2002-10-24 Thread Anton
Hello Marcin,

Thursday, October 24, 2002, 12:59:17 AM, you wrote:

MC Are you using -nat option to ppp(8)?

Thanks a lot! It's working!

Pozdrawiam ;)
Anton
-- 
  W C kodujemy wlasne bledy, a w C++ mozemy je odziedziczyc.


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



kernel optimization

2002-10-24 Thread Walter
I haven't yet found notes on optimizing the kernel by
telling the compiler I have a Pentium rather than just
a 386-compatible processor.  I presume these lines
in the kernel configuration file deal with this:

machine i386
cpu I386_CPU
cpu I486_CPU
cpu I586_CPU
cpu I686_CPU

Q: Do I comment out the I386_CPU and I486_CPU
lines to optimize for a Pentium, ( if not, how do I,) and
Q: Does it make a significant difference?

TIA.

Walter


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



Re: DNS server

2002-10-24 Thread Josef Grosch
On Thu, Oct 24, 2002 at 03:03:21PM -0500, Kevin D. Kinsey, DaleCo, S.P. wrote:
 From: ann kok [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Thursday, October 24, 2002 10:45 AM
 Subject: DNS server
 
 
  Hi all
 
  I have question about DNS server:
 
  I have more than 300 domain names and want to all
  domain names pointing to one ipaddress
 
  I don't want to create 300 zones separately
 
  ls it possible to do it one zone to have this feature?
 
 I don't think so...maybe it's time to pay the piper.
 The good news ... I have been wrong before.
 
 OTOH, if they're all pointing to the same IP, the zone files wouldn't
 be near as hard as named.conf, you could almost use cp
 and a replace tool and have 300 zone files up in a day...

30 lines of perl should do the job.


Josef

-- 
  == Copyright(c) 2002 by Josef Grosch. All rights reserved. ==
  == ==
Josef Grosch   | Another day closer to a | FreeBSD 4.6.2
[EMAIL PROTECTED] |   Micro$oft free world  | www.bafug.org

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



Re: Xfree 4.x.x and Intel i810 revisited

2002-10-24 Thread Marcio Merlone


Ronnie Clark wrote:

Hello all...

A few weeks ago, there was a thread of someone trying
to get X working with the i810 cheipset. Did this ever
get resolved? If so, could someone send me the final
entry in the thread? Or point me to the archived
thread somewhere? Or, if you happen to know what steps
to take to get this to work, that would really be
appreciated.  (and the preferred solution) :) 

I'm not sure, but you migth be referencing a thread I did start. I was 
using such video card on an Compaq iPaq (desktop). It really is not that 
difficult to make it work, just RTFM make it. That is not the problem. 
The problem is that the chip is buggy and seems like X developers did 
not find how to workaround it 100%. My X kept crashing twice or more a 
day and then I found the final solution:

another machine with another video card.

But make it work and test anyway, perhaps you success using it without 
crashes, must test. Look for its docs (locate i810) on your filesystem 
and follow it.


[ ]'s

--
Marcio Merlone



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


Re: backspace and del keys

2002-10-24 Thread Giorgos Keramidas
Michael Morris [EMAIL PROTECTED] writes:
: The question/problem I am facing now is a keyboard issue.  The delete
: key is interpreted the same a the backspace key.  Can that be changed
: and where would I look for the info needed to change it?

What delete key?  What are you trying to when you discover
the apparent 'equality' of backspace and del?  Are you in
a virtual console tty?  In X11?  Are you running any programs
at the time?  What programs?

Giorgos.

PS: I have moved the thread in freebsd-questions.  The -newbies
list is not for asking general questions.  Please keep it here.



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



Re: DNS server

2002-10-24 Thread Kevin D. Kinsey, DaleCo, S.P.
From: ann kok [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, October 24, 2002 10:45 AM
Subject: DNS server


 Hi all

 I have question about DNS server:

 I have more than 300 domain names and want to all
 domain names pointing to one ipaddress

 I don't want to create 300 zones separately

 ls it possible to do it one zone to have this feature?

I don't think so...maybe it's time to pay the piper.
The good news ... I have been wrong before.

OTOH, if they're all pointing to the same IP, the zone files wouldn't
be near as hard as named.conf, you could almost use cp
and a replace tool and have 300 zone files up in a day...

Kevin Kinsey

 Thank you for your help






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



Re: Xfree 4.x.x and Intel i810 revisited

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

PJ,

What changes did you have to make? I also have the
i810 chipset on board the mobo. (Dell GX-110) I aasume
these changes are to the Xf86config file?


The problem, basically, was to find the right configuration.
They say just the defaults should work... heh, heh, heh if only they 
always worked.. :))
I cannot give you the exact stuff to enter, but if you go to the manual on 
the FreeBSD.org site, 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-config.html 
that should give you some help.
Then you may have to play with the Depth and mode configuration.
I tried with the graphical set up tool and it is quite ok if you can figure 
it out. Otherwise the other two command-line tools work just fine. Be sure 
you know what your horizontal and veritcal frequencies are and what modes 
your mo;nitor can handle.
When you start X, generally there is a bunch of info on the screen if it 
crashes that can give you some idea of what may be wrong.
I'm no expert at this by any means but I have found that if you persist 
with different configurations, something will usually work and give you an 
idea of what and where you should go. Usually the answer is there, my 
problem has always been to see the forest for the trees or the other way 
around
I must add that even with all the problems I have had setting up my system, 
once you understand the basics, nothing beats FreeBSD - it really is easy 
to use the cvsup, the make world for updating, and especially the 
portupgrade utility.
Let me know if this helps and if not, you'll have to give more detail as to 
what is going on on your machine.
PJ



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


Re: small office network questions

2002-10-24 Thread Soren Harward
On Thu 24 Oct 2002 at 14:04:41, Moti Levy said:
  2.use ldap ?

Yup, that's the way to go.  LDAP may take a little longer to set up, but
in the long run (especially when you add 3 more server and a dozen more
Windows clients) it'll be the best solution.


--
Soren Harward
[EMAIL PROTECTED]

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



Re: Re: Install FreeBSD on a Windows XP box

2002-10-24 Thread Jud


-Original Message-
From: [EMAIL PROTECTED]
To: Jerry McAllister [EMAIL PROTECTED]
Date: Thu, 24 Oct 2002 14:21:08 -0400
Subject: Re: Install FreeBSD on a Windows XP box

At 02:09 PM 10/24/2002 -0400, you wrote:
 
 
  I have a machine preinstalled with Windows XP and I do not want to remove
  it or reinstall it. Is there a way to install FreeBSD on the free space? I
  do not have Partition Magic. Any free software out there that can
  repartition without reinstallation?  Thanks.

I don't recall just what it can do, but take a look at www.ranish.com
It's a partition manager I ran across some time ago and seemed to be free.
HTH, :))
PJ

***
***

Problem with Ranish Partition Manager is that 
documentation is lacking, IMO.  You do *not* want 
to be fiddling with partitions if you are not 
completely sure of what you are doing.  I owe a 
full reinstall of W2K to my inability to properly
understand Ranish.  (Oh well, it wiped out a bunch
of accumulated cruft, I guess.:)

Jud


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



ATAPI Zip Drive. Please Help!

2002-10-24 Thread Bryan Cassidy
OK This is really annoying.. I know I've already asked this questions
before but got nothing and really want to get this working so maybe
someone could help me out here. I am trying to mount my zip drive in
FreeBSD 4.6.2 I am having NO luck what so ever. Here is the output
from dmesg about my Zip Drive

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

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

mount_msdos: /dev/afd0: Invalid argument

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

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

 Screenshot ~~~

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


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

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



Re: DNS server

2002-10-24 Thread Kevin D. Kinsey, DaleCo, S.P.
- Original Message -
From: Josef Grosch [EMAIL PROTECTED]
To: Kevin D. Kinsey, DaleCo, S.P. [EMAIL PROTECTED]
Cc: ann kok [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Thursday, October 24, 2002 3:34 PM
Subject: Re: DNS server


 On Thu, Oct 24, 2002 at 03:03:21PM -0500, Kevin D. Kinsey, DaleCo,
S.P. wrote:
  From: ann kok [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Sent: Thursday, October 24, 2002 10:45 AM
  Subject: DNS server
 
 
   Hi all
  
   I have question about DNS server:
  
   I have more than 300 domain names and want to all
   domain names pointing to one ipaddress
  
   I don't want to create 300 zones separately
  
   ls it possible to do it one zone to have this feature?
 
  I don't think so...maybe it's time to pay the piper.
  The good news ... I have been wrong before.
 
  OTOH, if they're all pointing to the same IP, the zone files
wouldn't
  be near as hard as named.conf, you could almost use cp
  and a replace tool and have 300 zone files up in a day...

 30 lines of perl should do the job.


#/usr/bin/perl

case ((perl==$ReplaceTool))

Might offend some to call it that, but I'm sure it would
work also.:-)

KDK


 Josef

 --
   == Copyright(c) 2002 by Josef Grosch. All rights reserved. ==





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



logging question

2002-10-24 Thread Daan Franke
Hi,

I'm thinking of making a logging setup in my network.
My plan is to send the logs of all the servers
to a central logging box (FreeBSD), which keeps a local copy
of them.
I know how to do this, but I want to add something to this.
I want that central logging box to send the logs to the serial port
to which I have hooked up another box (also FreeBSD) which reads and
stores the logs which are being sent to it through the serial port
but doesnt send any data back so there is no possibility to get access
to that box without being local to it.
Can I send the logs by sending them to /dev/sio0 with syslog?
And what about the catching, can I let that be done by a logging daemon
which sorts it the way I want to. (preferrably a local database but plain
files are nice enough too)

greets,

-- 

Daan Franke 

[EMAIL PROTECTED]

Everybody is someone else's weirdo

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



Re: ATAPI Zip Drive. Please Help!

2002-10-24 Thread Brian M. Kincaid

Hi,

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

Good luck,

Brian


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

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

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

mount_msdos: /dev/afd0: Invalid argument

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

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

    Screenshot ~~~

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


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

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

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



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



Re: kernel optimization

2002-10-24 Thread Kris Kennaway
On Thu, Oct 24, 2002 at 12:18:44PM -0400, Lowell Gilbert wrote:
 Walter [EMAIL PROTECTED] writes:
 
  Q: Do I comment out the I386_CPU and I486_CPU
  lines to optimize for a Pentium, ( if not, how do I,) and
 
 Yes.
 
  Q: Does it make a significant difference?
 
 It will make the kernel a bit smaller, but it won't speed anything up.

It will speed up some kernel code, because it will use different
(non-386 compatible) asm code for things like bzero.

Kris



msg06047/pgp0.pgp
Description: PGP signature


Re: bad hdd ?

2002-10-24 Thread Kris Kennaway
On Thu, Oct 24, 2002 at 09:59:04PM +0300, Petre Bandac wrote:
 when booting:
 
 ad0s1e: hard error reading fsbn 101 (ad0s1e bn 101; cn 0 tn 1 sn 38) status 59 
 error=40
 
 cannot read: blk 96
 
 
 and fsck cannot fix it - though I ran it several times
 
 I had mounted /var on /dev/ad0s1e
 
 
 is there a solution to this problem ?

Buy a new HD, because yours is failing :-)

Kris


msg06048/pgp0.pgp
Description: PGP signature


Re: how to add space

2002-10-24 Thread Matthew Seaman
On Thu, Oct 24, 2002 at 04:28:24PM -0400, [EMAIL PROTECTED] wrote:
 At 09:05 PM 10/24/2002 +0100, you wrote:

 Either that or be careful to always set the EDITOR
 environment variable.  In single user you'll probably also need to:
 
 TERM=cons25 ; export TERM
 
 for most full screen editors.
 
 Hmmm... question: My screen is set to cons50 with green on black
 
 While we're at it, I'm a little klost on the setting of environment 
 variables. So far in several years of putzin about with FBSD, I have never 
 had to actually set the variables. All has always worked well by default. 
 So, how would I go about setting the environment variables, especially in 
 single user mode? Do I shutdown now and at the prompt enter TERM=cons50 ? 
 And when I go into single user mode, I have been setting the shell to 
 /usr/local/sbin/bash - does it really make any difference if I use that or 
 should I just go with the default csh?

In single user mode, what you get is very bare bones.  A lot of stuff
like enviroment variables that would normally get setup for you won't
have been.  Your modifications to the console video settings won't
have happened by that point in the boot sequence either.  You'll get
standard 25 rows, 80 columns, white text on black.

When you boot into single user mode, you should just hit return at the
prompt and take the default shell.  What you'll get is actually
/bin/sh --- remember at that time only the root partition is mounted,
so the only programs you'll definitely have available to run are the
statically linked ones from /bin and /sbin.  It's only after you've
done a 'mount -a', that you should be able to run pretty much anything
installed on the system.

To set an environment variable in /bin/sh, the syntax is exactly as I
wrote above:

TERM=cons25

sets TERM as an ordinary variable (only visible from the current
process), and

export TERM

promotes it to an environment variable (visible from all descendant
processes of the current one).

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
  Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK

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



Re: how to add space

2002-10-24 Thread pippo
At 11:07 PM 10/24/2002 +0100, you wrote:

In single user mode, what you get is very bare bones.  A lot of stuff
like enviroment variables that would normally get setup for you won't
have been.  Your modifications to the console video settings won't
have happened by that point in the boot sequence either.  You'll get
standard 25 rows, 80 columns, white text on black.


H that's not what I got - it was definitely green on black and I'm 
pretty sure it was 50 rows - it would have been pretty shocking to me if it 
were not, so I am quite sure of this.
I went into single user as advised in the manual: shutdown now. But then I 
used bash... :((


When you boot into single user mode, you should just hit return at the
prompt and take the default shell.  What you'll get is actually
/bin/sh --- remember at that time only the root partition is mounted,
so the only programs you'll definitely have available to run are the
statically linked ones from /bin and /sbin.  It's only after you've
done a 'mount -a', that you should be able to run pretty much anything
installed on the system.

To set an environment variable in /bin/sh, the syntax is exactly as I
wrote above:

TERM=cons25

sets TERM as an ordinary variable (only visible from the current
process), and

export TERM

promotes it to an environment variable (visible from all descendant
processes of the current one).



Thanks for your patience. This really clears the fog-in-the-brain... :))
PJ



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



Re: Re: Install FreeBSD on a Windows XP box

2002-10-24 Thread Diego Castro
I had the same problem.
My new machine arrived with Windows 2000 Professional.

I had installed Partition Magic and change size of
partition, move data in the new partition sized and
the free space left will be available for FreeBSD.
It's good and the cost is about $ 70 usd.

Be aware that there is a hidden partition with a fresh
copy of the operating system just in case that you
want to restore everything (windows).

Partition Manager from Ranish.com is only for creation
of partition, nothing to do with resize partition and
move data in that partitions.
--- Jud [EMAIL PROTECTED] wrote:
 
 
 -Original Message-
 From: [EMAIL PROTECTED]
 To: Jerry McAllister [EMAIL PROTECTED]
 Date: Thu, 24 Oct 2002 14:21:08 -0400
 Subject: Re: Install FreeBSD on a Windows XP box
 
 At 02:09 PM 10/24/2002 -0400, you wrote:
  
  
   I have a machine preinstalled with Windows XP
 and I do not want to remove
   it or reinstall it. Is there a way to install
 FreeBSD on the free space? I
   do not have Partition Magic. Any free software
 out there that can
   repartition without reinstallation?  Thanks.
 
 I don't recall just what it can do, but take a look
 at www.ranish.com
 It's a partition manager I ran across some time ago
 and seemed to be free.
 HTH, :))
 PJ
 
 ***
 ***
 
 Problem with Ranish Partition Manager is that 
 documentation is lacking, IMO.  You do *not* want 
 to be fiddling with partitions if you are not 
 completely sure of what you are doing.  I owe a 
 full reinstall of W2K to my inability to properly
 understand Ranish.  (Oh well, it wiped out a bunch
 of accumulated cruft, I guess.:)
 
 Jud
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of
 the message

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

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



Re: Xfree 4.x.x and Intel i810 revisited

2002-10-24 Thread Yann Golanski
Quoth Ronnie Clark on Thu, Oct 24, 2002 at 11:13:29 -0700
 A few weeks ago, there was a thread of someone trying
 to get X working with the i810 cheipset. Did this ever
 get resolved? If so, could someone send me the final
 entry in the thread? Or point me to the archived
 thread somewhere? Or, if you happen to know what steps
 to take to get this to work, that would really be
 appreciated.  (and the preferred solution) :) 

NOt sure if that will help but I got my laptop (Sony Viao R505el series)
to work with the altest cvs of XFree86 and some kernel patches. I've got
a howto from my web page. See if that works... it may.

Good luck.

-- 
[EMAIL PROTECTED]  -=*=-  www.kierun.org
PGP:   009D 7287 C4A7 FD4F 1680  06E4 F751 7006 9DE2 6318
IRC:   nick kierun, server spod.uk.amiganet.org, channel #sanctus
NNGS:  nick kierun, server nngs.cosmic.org, port 9696.

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



Re: what's up with /var/empty?

2002-10-24 Thread Jim
On Thursday 24 October 2002 01:09, Chip Wiegand wrote:
I know sshd uses it by default for USP (UserPrivilegeSeparation).  If sshd is 
running and you are trying to remove the directory you are probably not going 
to be able to remove the directory until you kill sshd.

- Jim

| I just finished installing 4.7 and want to move /var to /usr/var and
| symlink it, but there is an empty subdirectory called empty
| (/var/empty). It is not going away when I try to delete the /var
| directory after moving it to /usr/var. It has permissions like this:
| dr-xr-xr-x root wheel
| Seems like I had to do something about a sticky bit, but don't recall
| and can't find anything in the list archives about this.
| Can someone remind me? And this time I'll write it down in my notebook.

-- 

- Jim

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



Subscribe

2002-10-24 Thread Michael Morris
subscribe freebsd-questions









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



BBS

2002-10-24 Thread Walter
I see just a few BBS packages in the Ports area, is
there one that considered best; or are there better
solutions to offering simple user interfaces?  Such
as Apache+Perl scripts?  Others?  Thanks.

Walter


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



Re: how to add space

2002-10-24 Thread Matthew Seaman
On Thu, Oct 24, 2002 at 06:21:25PM -0400, [EMAIL PROTECTED] wrote:
 At 11:07 PM 10/24/2002 +0100, you wrote:
 In single user mode, what you get is very bare bones.  A lot of stuff
 like enviroment variables that would normally get setup for you won't
 have been.  Your modifications to the console video settings won't
 have happened by that point in the boot sequence either.  You'll get
 standard 25 rows, 80 columns, white text on black.
 
 H that's not what I got - it was definitely green on black and I'm 
 pretty sure it was 50 rows - it would have been pretty shocking to me if it 
 were not, so I am quite sure of this.
 I went into single user as advised in the manual: shutdown now. But then I 
 used bash... :((

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

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
  Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK

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



Re: Linux vs. FreeBSD

2002-10-24 Thread Bsd Neophyte

--- Derrick Ryalls [EMAIL PROTECTED] wrote:
 I don't want to start a Linux/FreeBSD flamewar, but I do need some info
 
 I have an associate who will be making major changes to their network
 and want my help/advice.  He intends to have a something like this:
 
 Web server (Public IP)
 inet -  router( Public IP) --- /
\DMZ (Private IPs)
 
 
 The DMZ will house his mail, misc. servers and workstations.
 
 They might use some CISCO equipment for the router but it would limit
 them to 10mbs, and he would rather have 100mps.
 
 His first thought besides CISCO was Linux, as some of his clients use
 Linux and it is a good idea to use what your clients use.  I have almost
 zero experience with Linux, but I am a FreeBSD fan, so naturally, I
 recommended it to him.  I tried to give him some of the
 benefits/hinderances to using either, but I am not well enough versed in
 Linux to give good data.
 
 I was hoping someone on this list might have real data/reasons to use
 one or the other.  Valid concerns are: security, compatibility,
 stability, flexibility, support, etc.
 
 Some concerns I have with Linux are the variety of distros available for
 Linux, even if clients are using it, which ones are they using, etc.
 Also, I am naturally biased to FreeBSD because I have used it for quite
 a while.


i feel i have to be the voice of disent here.  personally i feel that a
router is made to route packets, if cost is an issue then go with a
FreeBSD box, but if you can spend a few dollars, get something that was
designed to route packets.

first of all your concern with the cisco's routers are unfounded.

your friend can get a 2620 which has 1 100bT port and a 2621 which has
two.  Cisco routers are not limited to 10bT connections.  even 1700-series
routers allow have 100bT ports.  you'll find some decent deals on ebay,
and cisco support is second to none.

as for your DMZ... i doubt you'd want to expose your private network to
the public.  you'd be better off opening the standard ports for whatever
services you need than allowing unresticted access to your internal network.

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

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



help with webcam through natd + ipfw

2002-10-24 Thread Alan McKay
Folks,

I've done port-forwarding before on several different FW/NAT
devices, but damned if I can get it going on FreeBSD.  At first
I tried with PPP's builtin NAT, and when that failed I switched
to natd.  I did google searches and even searched the FreeBSD
list archives but did not find any help.

/etc/natd.conf looks like this (private IP removed) :

interface tun0
port 8668
use_sockets yes
dynamic yes
redirect_port tcp MY_PRIVATE_IP:8080 8080

/etc/rc.conf has this :

firewall_type=SIMPLE
firewall_enable=YES
firewall_script=/etc/rc.firewall
firewall_quiet=NO
natd_enable=YES
natd_program=/sbin/natd
natd_interface=tun0
natd_flags=-f /etc/natd.conf

My firewall does not have much changed from the SIMPLE template.
I allow a few incoming connections including ports 80, 443, 53,
110 and the port I want to foward back to my webcam : 8080.

nat itself works fine (machines behind the FW can surf and such)
but the port forwarding is not working.  I tried adding a rule
50 to allow everything on the ipfw, and that didn't work.  Then
I thought maybe the 'allow all' should do right after the divert
to natd so I deleted 50 and added the add all rule right after
divert.

Still nothing!

I'm testing by VPN'ing into work, VNC'ing into my desktop,
and trying to connect back from there.

Help!  What's up?

Oh, FreeBSD 4.5 release (stable, whatever it's called, I
don't much around with beta stuff)

cheers,
-Alan



-- 
http://www.bodensatz.com/
The Beer Site ™

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



realplayer8 basic

2002-10-24 Thread T . Green
can anyone tell me how to configure netscape 7 for realplayer 8: so that 
when i click on a movie clip foen real.com it starts.



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


Re: help with webcam through natd + ipfw

2002-10-24 Thread Nick Rogness
On Thu, 24 Oct 2002, Alan McKay wrote:

 Folks,

 I've done port-forwarding before on several different FW/NAT devices,
 but damned if I can get it going on FreeBSD.  At first I tried with
 PPP's builtin NAT, and when that failed I switched to natd.  I did
 google searches and even searched the FreeBSD list archives but did not
 find any help.

 /etc/natd.conf looks like this (private IP removed) :

 interface tun0
 port 8668
 use_sockets yes
 dynamic yes
 redirect_port tcp MY_PRIVATE_IP:8080 8080

 /etc/rc.conf has this :

 firewall_type=SIMPLE
 firewall_enable=YES
 firewall_script=/etc/rc.firewall
 firewall_quiet=NO
 natd_enable=YES
 natd_program=/sbin/natd
 natd_interface=tun0
 natd_flags=-f /etc/natd.conf

 My firewall does not have much changed from the SIMPLE template. I allow
 a few incoming connections including ports 80, 443, 53, 110 and the port
 I want to foward back to my webcam : 8080.

What does `ipfw -a l` show?


Nick Rogness [EMAIL PROTECTED]
-
 Wouldn't it be great if we could answer people with a
  kick to the crotch?  [EMAIL PROTECTED]



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



Re: help with webcam through natd + ipfw

2002-10-24 Thread Alan McKay

   What does `ipfw -a l` show?

That seems to be the same as ipfw show, which I used to
determine that there do not seem to be any 'deny' rules hit.
So I cannot really tell where those packets are going.  I can
hit my port 80 from work no problem (www.bodensatz.com), but
8080 no deal.  So it seems to be going through some allow
rule, but I'm not sure which.

Also, my 'allow 8080 setup' rule was after the divert but
with the public IP number, so I added an equivalent one with
the private address of my interal PC. 

i.e.
013500   0 allow tcp from any to PC_WITH_CAM 8080 setup

055500   0 allow tcp from any to 207.164.198.56 8080 setup

I put the private IP rule right after the divert just in case.

gah!

-- 
http://www.bodensatz.com/
The Beer Site ™

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



Re: help with webcam through natd + ipfw

2002-10-24 Thread Nick Rogness
On Thu, 24 Oct 2002, Alan McKay wrote:


  What does `ipfw -a l` show?

 That seems to be the same as ipfw show, which I used to determine that
 there do not seem to be any 'deny' rules hit. So I cannot really tell
 where those packets are going.  I can hit my port 80 from work no
 problem (www.bodensatz.com), but 8080 no deal.  So it seems to be going
 through some allow rule, but I'm not sure which.


If indeed your internal machine is excepting connections on port
8080 (can be tested from the firewall box using telnet) then this
sounds like a firewalling problem.  Set your firewall type to
OPEN, reboot and see if it works.  If it does, then you need to
examine your firewall rules better.

There is really nothing special about what your doing if the
firewall is correct.

Also, to help troubleshoot more, I would recommend using ipfw log
statements as well as the natd log option.

Nick Rogness [EMAIL PROTECTED]
-
 Wouldn't it be great if we could answer people with a
  kick to the crotch?  [EMAIL PROTECTED]



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



Re: Linux vs. FreeBSD

2002-10-24 Thread Charles Pelletier
how funny. i'm having the exact same problem at my school.
this debate will never cease. :)
Charles Pelletier
Tech. Coordinator
St Luke's School

- Original Message -
From: Bsd Neophyte [EMAIL PROTECTED]
To: Derrick Ryalls [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent: Thursday, October 24, 2002 5:56 PM
Subject: Re: Linux vs. FreeBSD



 --- Derrick Ryalls [EMAIL PROTECTED] wrote:
  I don't want to start a Linux/FreeBSD flamewar, but I do need some info
 
  I have an associate who will be making major changes to their network
  and want my help/advice.  He intends to have a something like this:
 
  Web server (Public IP)
  inet -  router( Public IP) --- /
 \DMZ (Private IPs)
 
 
  The DMZ will house his mail, misc. servers and workstations.
 
  They might use some CISCO equipment for the router but it would limit
  them to 10mbs, and he would rather have 100mps.
 
  His first thought besides CISCO was Linux, as some of his clients use
  Linux and it is a good idea to use what your clients use.  I have almost
  zero experience with Linux, but I am a FreeBSD fan, so naturally, I
  recommended it to him.  I tried to give him some of the
  benefits/hinderances to using either, but I am not well enough versed in
  Linux to give good data.
 
  I was hoping someone on this list might have real data/reasons to use
  one or the other.  Valid concerns are: security, compatibility,
  stability, flexibility, support, etc.
 
  Some concerns I have with Linux are the variety of distros available for
  Linux, even if clients are using it, which ones are they using, etc.
  Also, I am naturally biased to FreeBSD because I have used it for quite
  a while.


 i feel i have to be the voice of disent here.  personally i feel that a
 router is made to route packets, if cost is an issue then go with a
 FreeBSD box, but if you can spend a few dollars, get something that was
 designed to route packets.

 first of all your concern with the cisco's routers are unfounded.

 your friend can get a 2620 which has 1 100bT port and a 2621 which has
 two.  Cisco routers are not limited to 10bT connections.  even 1700-series
 routers allow have 100bT ports.  you'll find some decent deals on ebay,
 and cisco support is second to none.

 as for your DMZ... i doubt you'd want to expose your private network to
 the public.  you'd be better off opening the standard ports for whatever
 services you need than allowing unresticted access to your internal
network.

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

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




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



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

2002-10-24 Thread Bsd Neophyte
i'm getting the following error and it says that this should be reported
to [EMAIL PROTECTED]

but before i do that, i wanted some input to see if i could resolve this
issue in a relatively simply way.

is this an issue with how i installed apache... should i reinstall if with
the --with-apxs2 option?

-
Configuring SAPI modules
checking for AOLserver support... no
checking for Apache 1.x module support via DSO through APXS... configure:
error: Use --with-apxs2 with Apache 2.x!
===  Script configure failed unexpectedly.
  Please report the problem to [EMAIL PROTECTED] [maintainer] and 
  attach the /usr/ports/www/mod_php4/work/php-4.2.3/config.log 
  including the output of the failure of your make command. Also, it 
  might be a good idea to provide an overview of all packages 
  installed on your system (e.g. an `ls /var/db/pkg`).
*** Error code 1

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

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

Stop in /usr/ports/mail/squirrelmail.
-

__
Do You Yahoo!?
Yahoo! Autos - Get free new car price quotes
http://autos.yahoo.com

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



Re: help with webcam through natd + ipfw

2002-10-24 Thread Alan McKay

   If indeed your internal machine is excepting connections on port
   8080 (can be tested from the firewall box using telnet) then this

Cannot telnet to 8080 so it must be nat, but my natd.conf looks
good to me.  dunno what's up.  nat itself is working otherwise I
wouldn't be talking to you right now.  You say my natd.conf looked
fine.

In my kernel I have the following :
options IPDIVERT
options IPFIREWALL
options IPFIREWALL_VERBOSE
options IPFIREWALL_VERBOSE_LIMIT=10



-- 
http://www.bodensatz.com/
The Beer Site ™

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



Re: help with webcam through natd + ipfw

2002-10-24 Thread Alan McKay

   sounds like a firewalling problem.  Set your firewall type to
   OPEN, reboot and see if it works.  If it does, then you need to
   examine your firewall rules better.

Nope, still no go :-(

I'll wait til my buddy is back from vacation as I think he got
it going on his fbsd box :-(

-- 
http://www.bodensatz.com/
The Beer Site ™

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



Re: help with webcam through natd + ipfw

2002-10-24 Thread Charles Pelletier
question...
having never dealt with IPFW and nat, does ipnat.conf need to exist? i
wonder this because it seems like a great majority of problems that exist
with IPF can be solved by having a correct ipnat.conf.
Charles Pelletier
Tech. Coordinator
St Luke's School

- Original Message -
From: Nick Rogness [EMAIL PROTECTED]
To: Alan McKay [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Thursday, October 24, 2002 8:16 PM
Subject: Re: help with webcam through natd + ipfw


 On Thu, 24 Oct 2002, Alan McKay wrote:

 
   What does `ipfw -a l` show?
 
  That seems to be the same as ipfw show, which I used to determine that
  there do not seem to be any 'deny' rules hit. So I cannot really tell
  where those packets are going.  I can hit my port 80 from work no
  problem (www.bodensatz.com), but 8080 no deal.  So it seems to be going
  through some allow rule, but I'm not sure which.


 If indeed your internal machine is excepting connections on port
 8080 (can be tested from the firewall box using telnet) then this
 sounds like a firewalling problem.  Set your firewall type to
 OPEN, reboot and see if it works.  If it does, then you need to
 examine your firewall rules better.

 There is really nothing special about what your doing if the
 firewall is correct.

 Also, to help troubleshoot more, I would recommend using ipfw log
 statements as well as the natd log option.

 Nick Rogness [EMAIL PROTECTED]
 -
  Wouldn't it be great if we could answer people with a
   kick to the crotch?  [EMAIL PROTECTED]



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




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



Correction - small office network questions

2002-10-24 Thread Moti Levy
I'm going to use debian as the o.s for the iptables firewall
freebsd for the other 2 servers 

-
Moti
-

- Original Message -
From: Moti Levy [EMAIL PROTECTED]
To: fbsdq [EMAIL PROTECTED]
Sent: Thursday, October 24, 2002 2:04 PM
Subject: small office network questions





  Hi to All,
  the task at hand : a small office network
 three servers :
 an iptables firewall gateway.
 a mail server in dmz ( running cyrus-imap,postfix,procmail,spamassassin
and
 maybe amavis ? ) .
  a file server which will act as a pdc for some winboxes
  pretty easy but , i need to have a single username/password for both
 servers
 and all services .
  i am going to use debian for the o.s.

  anyone has a similar setup and can throw some tips my way ?
  currently i see only to options
  1.setup cyrus pwcheck for both cyrus and postfix and use the passwd file
,
  rsync both passwd files ( the samba server and the mail server )
  2.use ldap ?

  thanks

  -
  Moti



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





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



make clean of /usr/ports

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

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


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



perl / ksh help

2002-10-24 Thread rootjrs
hi,

I know some one has already done this and I need a little help.  I have 
two identical directories on two seperate machines.  The files were 
moved over fromm machine a to machine b.  Everything is working 
properly on machine b but all of the permissions were lost.

I've done the following:

(machine a)# find ./ -ls -print  perm.list

Gave me the file listing and permisions

(machine a)# cat perm.list | awk '{print $4, ,$11}'  newperm.list

This removed garbage like date owners etc that I didn't need.

Now I'm stuck with a file that looks like this:

-rw-r--r--   ./data/dir/data/getme.bin.old
-rw-rw-rw-   ./data/dir/data/stp.501
drwxrwxrwx   ./data/dir/data/realgoodgold
-rwsr-xr-x   ./data/dir/exe/help

At this point I'm thinking great, now all I need is to create a perl or 
shell script that converts the -rw-r--r--, etc into some sort of numerical value and 
then 
do soemthing like this

for
chmod $1 $2
done

.using perl or ksh.  However I can't figure out how to do the 
conversion correctly.  Please will one of you perl / ksh experts please 
help me out.  

SEcondly I have a perl script that calls:

use GIFgraph::lines

The maker is now saying to call GD::Graph instead of
GIFgraph 
(http://www.cpan.org/modules/by-module/GIFgraph/GIFgraph-1.20.readme).  
I need to re-engineer the script is there a tutorial on GD:Graph some 
where?

Thanks



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



RE: make clean of /usr/ports

2002-10-24 Thread Don Read

On 25-Oct-2002 David Oleszkiewicz wrote:
 I haven't been that good at running make clean after installing my ports
 and could like to clean things up now.  I tried running make clean at the
 top of the ports tree and it works, it just keeps recursing on
 everyones dependencies so ports like autoconf get make clean'ed  a
 real lot.  Is there a way to tell the Make to ignore the dependencies.  I
 couldn't figure one out from looking at the Make files.
 
 Please cc this address as I am not subscribed to the list.
 
 

make NOCLEANDEPENDS=YES distclean

Regards,
-- 
Don Read   [EMAIL PROTECTED]
-- Beer is proof that God loves us and wants us to be happy.

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



Re: make clean of /usr/ports

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

 (10.24.2002 @ 2008 PST): Don Read said, in 0.8K: 
 
 On 25-Oct-2002 David Oleszkiewicz wrote:
  I haven't been that good at running make clean after installing my ports
  and could like to clean things up now.  I tried running make clean at the
  top of the ports tree and it works, it just keeps recursing on
  everyones dependencies so ports like autoconf get make clean'ed  a
  real lot.  Is there a way to tell the Make to ignore the dependencies.  I
  couldn't figure one out from looking at the Make files.
  
  Please cc this address as I am not subscribed to the list.
 
 make NOCLEANDEPENDS=YES distclean
 end of RE: make clean of /usr/ports from Don Read 

Install sysutils/portupgrade, then portsclean -C.

It's the fastest way.

- -Adam


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

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

iD8DBQE9uLf2o8KM2ULHQ/0RAs65AKCdfTc/nYBfrZ441vkTMMThQjhxUgCgqeNt
9NkJv4aX7kF+M0m30vTkWQM=
=pSjX
-END PGP SIGNATURE-

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



RE: make clean of /usr/ports

2002-10-24 Thread Jack L. Stone
At 10:08 PM 10.24.2002 -0500, Don Read wrote:

On 25-Oct-2002 David Oleszkiewicz wrote:
 I haven't been that good at running make clean after installing my ports
 and could like to clean things up now.  I tried running make clean at the
 top of the ports tree and it works, it just keeps recursing on
 everyones dependencies so ports like autoconf get make clean'ed  a
 real lot.  Is there a way to tell the Make to ignore the dependencies.  I
 couldn't figure one out from looking at the Make files.
 
 Please cc this address as I am not subscribed to the list.
 
 

make NOCLEANDEPENDS=YES distclean

Regards,
-- 
Don Read   [EMAIL PROTECTED]

Have you yet tried the utility portupgrade? If so, it has the tool:
#portsclean -DD and does it for you. Neat!

Best regards,
Jack L. Stone,
Administrator

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

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



Re: help with webcam through natd + ipfw

2002-10-24 Thread Nick Rogness
On Thu, 24 Oct 2002, Alan McKay wrote:


  If indeed your internal machine is excepting connections on port
  8080 (can be tested from the firewall box using telnet) then this

 Cannot telnet to 8080 so it must be nat, but my natd.conf looks good to
 me.  dunno what's up.  nat itself is working otherwise I wouldn't be
 talking to you right now.  You say my natd.conf looked fine.


You mean you can't:

# telnet $PRIVATE_IP 8080

From your BSD machine?  That leaves only 2 possible problems:

1)  The program isn't listening on port 8080 tcp on your
$PRIVATE_IP (Use netstat -an on that machine to verify)

2) The firewall is blocking the packets.

I still haven't seen the output of ipfw -a l yet so I can't be
sure.  Packets don't always act the way you think they do when nat
is in the picture.



Nick Rogness [EMAIL PROTECTED]
-
 Wouldn't it be great if we could answer people with a
  kick to the crotch?  [EMAIL PROTECTED]



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



Re: help with webcam through natd + ipfw

2002-10-24 Thread Nick Rogness
On Thu, 24 Oct 2002, Charles Pelletier wrote:

 question...

 having never dealt with IPFW and nat, does ipnat.conf need to exist? i
 wonder this because it seems like a great majority of problems that
 exist with IPF can be solved by having a correct ipnat.conf.

No, ipnat.conf doesn't need to exist when using IPFW/NAT.  That is
for the ipnat/ipfilter system which is a whole different monster.


 Charles Pelletier
 Tech. Coordinator
 St Luke's School

 - Original Message -
 From: Nick Rogness [EMAIL PROTECTED]
 To: Alan McKay [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Sent: Thursday, October 24, 2002 8:16 PM
 Subject: Re: help with webcam through natd + ipfw


  On Thu, 24 Oct 2002, Alan McKay wrote:
 
  
What does `ipfw -a l` show?
  
   That seems to be the same as ipfw show, which I used to determine that
   there do not seem to be any 'deny' rules hit. So I cannot really tell
   where those packets are going.  I can hit my port 80 from work no
   problem (www.bodensatz.com), but 8080 no deal.  So it seems to be going
   through some allow rule, but I'm not sure which.
 
 
  If indeed your internal machine is excepting connections on port
  8080 (can be tested from the firewall box using telnet) then this
  sounds like a firewalling problem.  Set your firewall type to
  OPEN, reboot and see if it works.  If it does, then you need to
  examine your firewall rules better.
 
  There is really nothing special about what your doing if the
  firewall is correct.
 
  Also, to help troubleshoot more, I would recommend using ipfw log
  statements as well as the natd log option.
 
  Nick Rogness [EMAIL PROTECTED]
  -
   Wouldn't it be great if we could answer people with a
kick to the crotch?  [EMAIL PROTECTED]
 
 
 
  To Unsubscribe: send mail to [EMAIL PROTECTED]
  with unsubscribe freebsd-questions in the body of the message
 




Nick Rogness [EMAIL PROTECTED]
-
 Wouldn't it be great if we could answer people with a
  kick to the crotch?  [EMAIL PROTECTED]



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



Re: make clean of /usr/ports

2002-10-24 Thread Kris Kennaway
On Thu, Oct 24, 2002 at 08:18:14PM -0700, Adam Weinberger wrote:
  (10.24.2002  2008 PST): Don Read said, in 0.8K: 
  
  On 25-Oct-2002 David Oleszkiewicz wrote:
   I haven't been that good at running make clean after installing my ports
   and could like to clean things up now.  I tried running make clean at the
   top of the ports tree and it works, it just keeps recursing on
   everyones dependencies so ports like autoconf get make clean'ed  a
   real lot.  Is there a way to tell the Make to ignore the dependencies.  I
   couldn't figure one out from looking at the Make files.
   
   Please cc this address as I am not subscribed to the list.
  
  make NOCLEANDEPENDS=YES distclean
  end of RE: make clean of /usr/ports from Don Read 
 
 Install sysutils/portupgrade, then portsclean -C.

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

Kris



msg06078/pgp0.pgp
Description: PGP signature


Re: housecleaning and portupgrade question

2002-10-24 Thread Jason Hunt
On 24 Oct 2002, Kirk R. Wythers wrote:

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

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


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

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

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

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



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



Re: bad hdd ?

2002-10-24 Thread Petre Bandac
I've just bought it last week ... it's a Western Digital, 80 GB :(


On Friday 25 October 2002 00:37 Anno Domini, Kris Kennaway wrote using one of 
his keyboards:
 On Thu, Oct 24, 2002 at 09:59:04PM +0300, Petre Bandac wrote:
  when booting:
 
  ad0s1e: hard error reading fsbn 101 (ad0s1e bn 101; cn 0 tn 1 sn 38)
  status 59 error=40
 
  cannot read: blk 96
 
 
  and fsck cannot fix it - though I ran it several times
 
  I had mounted /var on /dev/ad0s1e
 
 
  is there a solution to this problem ?

 Buy a new HD, because yours is failing :-)

 Kris

-- 
 06:37:59 up 11:50,  1 user,  load average: 0.22, 0.14, 0.05


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



Re: BBS

2002-10-24 Thread DaleCo Help Desk
From: Walter [EMAIL PROTECTED]
To: [EMAIL PROTECTED] [EMAIL PROTECTED]
Sent: Thursday, October 24, 2002 5:54 PM
Subject: BBS


 I see just a few BBS packages in the Ports area, is
 there one that considered best; or are there better
 solutions to offering simple user interfaces?  Such
 as Apache+Perl scripts?  Others?  Thanks.
 
 Walter
 

I assume we're talking BBS='forums' or 'message boards.'
phpbb is STELLAR, but I'm not sure if that's made to fit
your requirements.  The user interface can be a bit foreboding
to newbie netizens, and it requires the equivalent of apache,
php, and mysql (other platforms are supported---I don't recall
what other db's are available).

The look and feel are fantastic, the admin interface is web based
and powerful, and it's used all over the place.  Great stuff, and
it's in the ports under /usr/ports/www/phpbb.

Kevin Kinsey


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



Re: backspace and del keys

2002-10-24 Thread Jonathan Chen
On Thu, Oct 24, 2002 at 04:02:05PM -0700, Michael Morris wrote:
 Thanks for the quick response.
 
 Both of the keys on the keyboard marked Delete, above the cursor
 movement keys and in the numeric keypad appear to do the same thing.
 
 I have tried this inthe virtual console tty, XTerm, Konsole, and ETerm
 and they pretty much behave the same. 
 
 This was done at the command line in sh, csh, and bash.  It was also
 tried in vim and Some GUI apps like Evolution.
 
 At the virtual console tty pressing the Delete key deletes the character
 to the left of the cursor rather than the one below it.  In XTer and
 ETerm is insets a tilde character.

To get XTerm to generate a DEL when you hit the Delete key, you need
to add the following line into ~/.Xdefaults:

xterm*deleteIsDEL:  true

-- 
Jonathan Chen [EMAIL PROTECTED]
--
   Do not take life too seriously.
   You will never get out of it alive.

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



Re: help with webcam through natd + ipfw

2002-10-24 Thread Charles Pelletier
okay. thanks for the clarification.
Charles Pelletier
Tech. Coordinator
St Luke's School

- Original Message -
From: Nick Rogness [EMAIL PROTECTED]
To: Charles Pelletier [EMAIL PROTECTED]
Cc: Alan McKay [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Thursday, October 24, 2002 10:35 PM
Subject: Re: help with webcam through natd + ipfw


 On Thu, 24 Oct 2002, Charles Pelletier wrote:

  question...

  having never dealt with IPFW and nat, does ipnat.conf need to exist? i
  wonder this because it seems like a great majority of problems that
  exist with IPF can be solved by having a correct ipnat.conf.

 No, ipnat.conf doesn't need to exist when using IPFW/NAT.  That is
 for the ipnat/ipfilter system which is a whole different monster.


  Charles Pelletier
  Tech. Coordinator
  St Luke's School
 
  - Original Message -
  From: Nick Rogness [EMAIL PROTECTED]
  To: Alan McKay [EMAIL PROTECTED]
  Cc: [EMAIL PROTECTED]
  Sent: Thursday, October 24, 2002 8:16 PM
  Subject: Re: help with webcam through natd + ipfw
 
 
   On Thu, 24 Oct 2002, Alan McKay wrote:
  
   
 What does `ipfw -a l` show?
   
That seems to be the same as ipfw show, which I used to determine
that
there do not seem to be any 'deny' rules hit. So I cannot really
tell
where those packets are going.  I can hit my port 80 from work no
problem (www.bodensatz.com), but 8080 no deal.  So it seems to be
going
through some allow rule, but I'm not sure which.
  
  
   If indeed your internal machine is excepting connections on port
   8080 (can be tested from the firewall box using telnet) then this
   sounds like a firewalling problem.  Set your firewall type to
   OPEN, reboot and see if it works.  If it does, then you need to
   examine your firewall rules better.
  
   There is really nothing special about what your doing if the
   firewall is correct.
  
   Also, to help troubleshoot more, I would recommend using ipfw log
   statements as well as the natd log option.
  
   Nick Rogness [EMAIL PROTECTED]
   -
Wouldn't it be great if we could answer people with a
 kick to the crotch?  [EMAIL PROTECTED]
  
  
  
   To Unsubscribe: send mail to [EMAIL PROTECTED]
   with unsubscribe freebsd-questions in the body of the message
  
 
 
 

 Nick Rogness [EMAIL PROTECTED]
 -
  Wouldn't it be great if we could answer people with a
   kick to the crotch?  [EMAIL PROTECTED]



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




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



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

2002-10-24 Thread DaleCo Help Desk
It may be that dirk@ needs to hear about
it...I've had some trouble building mod_php
lately also.  But I've managed to work around
it, albeit not so quickly.

As to your question, here's another:
is your Apache v 2.x or 1.3.x ?

That's what the script is asking for

Kevin Kinsey

- Original Message -
From: Bsd Neophyte [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, October 24, 2002 8:30 PM
Subject: squirrel mail install-from-ports problem


 i'm getting the following error and it says that this should be
reported
 to [EMAIL PROTECTED]

 but before i do that, i wanted some input to see if i could resolve
this
 issue in a relatively simply way.

 is this an issue with how i installed apache... should i reinstall
if with
 the --with-apxs2 option?

 -
 Configuring SAPI modules
 checking for AOLserver support... no
 checking for Apache 1.x module support via DSO through APXS...
configure:
 error: Use --with-apxs2 with Apache 2.x!
 ===  Script configure failed unexpectedly.
   Please report the problem to [EMAIL PROTECTED] [maintainer]
and
   attach the
/usr/ports/www/mod_php4/work/php-4.2.3/config.log
   including the output of the failure of your make command.
Also, it
   might be a good idea to provide an overview of all packages
   installed on your system (e.g. an `ls /var/db/pkg`).
 *** Error code 1

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

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

 Stop in /usr/ports/mail/squirrelmail.
 -

 __
 Do You Yahoo!?
 Yahoo! Autos - Get free new car price quotes
 http://autos.yahoo.com

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



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



Fw: BBS

2002-10-24 Thread DaleCo Help Desk

- Original Message -
From: Atrus [EMAIL PROTECTED]
To: DaleCo Help Desk [EMAIL PROTECTED]
Sent: Thursday, October 24, 2002 11:05 PM
Subject: Re: BBS


 A quick glance at the install script shows the following options
for the DB part:

 MySQL 3.x
 MySQL 4.x
 PostgreSQL 7.x
 MS SQL Server 7/2000
 MS Access [ ODBC ]
 MS SQL Server [ ODBC ]



 -Nikolas Atrus Coukouma
   [EMAIL PROTECTED]
   AIM: atrustheotaku



 DaleCo Help Desk wrote

 I don't recall what other db's are available).
 
 





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



Re: backspace and del keys

2002-10-24 Thread Michael Morris
On Thu, 2002-10-24 at 20:58, Jonathan Chen wrote:
 
 To get XTerm to generate a DEL when you hit the Delete key, you need
 to add the following line into ~/.Xdefaults:
 
 xterm*deleteIsDEL:  true

Nothing changed with this line in the file.




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



Xfree86 Setup problem continued with changes

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

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

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

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

Section InputDevice
   Identifier  Keyboard0
   Driver  keyboard
EndSection

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

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

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

Section Screen
   Identifier Screen0
   Device Card0
   MonitorMonitor0
   DefaultDepth 16

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



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



Re: housecleaning and portupgrade question

2002-10-24 Thread parv
in message [EMAIL PROTECTED],
wrote Kirk R. Wythers thusly...

 aalib-1.4.r5   needs updating (port has 1.4.r5_1)
 aalib-1.4.r5_1  =   up-to-date with port
...
 
 There are numerous examples of this issue. My question is: what is
 the recommended way to delete an old version application x. This
 assumes of course that you are sure that it is not depended upon
 by some other app.

when you deinstall an old port, it's quite possible that files from
new port will also be deleeted.  in that case, you will need to
re-install that new port.

just be careful of -f (force) option of pkg_delete or
pkg_deinstall.  pay attention to any message which says along the
lines of checksum mismatch, deleted anyway.  in that case, see
above.


 - parv

-- 


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



Whats the deal?

2002-10-24 Thread Bryan Cassidy
heres the deal. I have been using FreeBSD 4.6.2 for about a month or
so. I have used Linux for about 6 months now. I am very comfortable
with FreeBSD and wish to continue to use BSD. I have a very serious
problem. First I will tell you what I do from the beginning and what
changes I make.

Install FreeBSD 4.6.2 - Everything goes fine
 Configure X - Everything goes fine 
Update ports - Everything goes fine 
Install Fluxbox -
Everything goes fine startx - Everything goes fine 
Install sylpheed,xchat,gaim,aterm, and a few other things - Everything goes
fine

I then add the following to /etc/rc.conf

firewall_enable=YES
firewall_quiet=YES
firewall_script=/etc/rc.firewall
firewall_type=/etc/ipfw.acl

I add the following to /etc/ipfw.acl

add 1000 allow ip from any to any

I add the following to my kernel

options IPFIREWALL
options IPFIREWALL_VERBOSE
options IPFIREWALL_VERBOSE_LIMIT=10

and for sound support i add

device  pcm # Sound Support

After all these changes are made I do reboot. After i reboot I use the
computer for a couple hours then NOTHING happens. I can't get on the
internet, no webpages will load, can't send e-mail, cant receive
e-mails. I don't know whats going on here. I am comfortable with Unix
but I am new in ways so if you have any ideas please explain them to
me. Please do not say do this. Please tell me how to do this and do
that. I am waiting on your e-mails right now..

I sent the same e-mail ealier in Windows cause I couldnt get online so
I am sending it again incase for some reason no one got it. I just got
doing a fresh install. I'm waiting. Thanks in advance

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



Re: Vinum Error - No space left on drive

2002-10-24 Thread Drew Tomlinson
- Original Message -
From: Greg 'groggy' Lehey [EMAIL PROTECTED]
Sent: Thursday, October 24, 2002 5:15 PM


 [Format recovered--see http://www.lemis.com/email/email-format.html]

 Please don't wrap computer output.

 On Thursday, 24 October 2002 at 17:06:01 -0700, Drew Tomlinson wrote:
  I'm sure the answer to my question is on the Net somewhere but after
a
  day and a half of searching, I've decided to plea for help.  :)
 
  The error I get when I attempt to create the volume is:
 
  vinum - create ftp_vinum.conf
 4: sd length 76319m drive ftp1
  ** 4 No space for  on ftp1: No space left on device
 
  The disk, volume, and plex are created but the subdisk is not:

 Yes, that's what the message above is trying to tell you.

  I have an 80G IDE drive (ad1) that I wish to use for a vinum volume.
  I have read the example at http://www.freebsddiary.org/vinum.php.
  It tells me that the first step is to determine the size of my drive
  by using fdisk.

 Well, no, the first thing it tells you is that this is necessary
 because the two disks he was using were of different size.  It's
 incorrect, anyway: disklabel tells you the size of your slices.

  8 partitions:
  #size   offsetfstype   [fsize bsize bps/cpg]
c: 1563014880unused0 0# (Cyl.
   0 - 9729*)
h: 1563014880 vinum   # (Cyl.
   0 - 9729*)
 
  Then I created my configuration file:
 
  blacklamb# cat ftp_vinum.conf
  drive ftp1 device /dev/ad1s1h
  volume ftp
plex org concat
  sd length 76319m drive ftp1

 Well, presumably you first tried to convert sectors to megabytes,
 which was a bit of a waste of time, since you can specify the size in
 sectors in the process.  You made an error in this conversion:
 156301223 sectors are 74.530231 MB.  If you specify the size in
 megabytes, you lose the fractional part.

 As the man page explains, however, all this is unnecessary.Just
 write

   sd length 0m drive ftp1

Thank you very much!  I knew it couldn't be to hard and that's why I
looked and looked before bugging the list.  And there it was, right in
front of my face the whole time.  :)

Thanks again,

Drew


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



Re: OT: Looking for command-line jpg editor that could be modified

2002-10-24 Thread Philip Hallstrom
netpbm can do more than convert formats...

jpegtopnm foo.jpeg | pnmscale -width 200 | pnmtojpeg -quality=80  thumb.jpeg

is perfectly valid...

It's been a long time (maybe a year ago) since I did the test, but
netpbm's output is a lot better and file size is a lot smaller than
ImageMagick... worth checking them both out though.

-philip

On Thu, 24 Oct 2002, Adam Weinberger wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 netpbm is more for converting images to different formats. The
 originator is looking for ImageMagick, which is in the ports tree.
 Install the port and read the manpage for convert(1) and mogrify(1).

 You're on your own for making the CGI script. Check out www/gallery if
 you want something that will autogenerate an entire image gallery
 website. Tonight I'm going to commit www/kallery, which has a spiffy KDE
 frontend.

 - -Adam


  (10.24.2002 @ 1703 PST): Philip Hallstrom said, in 1.4K: 
  take a look at the netpbm package... you'll probably want to pre-generate
  the thumbnails as it's not super fast (ie, not fast enough to power a
  website, but fast enough)...
 
  -philip
 
  On Thu, 24 Oct 2002, Nathan Vidican wrote:
 
   I am looking to try and make a CGI application which can take in a single
   argument (the particular image to open), and return an image after scaling
   it down to a specific size. All images are the same size, and will all be
   scaled down proportionally. Here's the scenario:
  
   We've got a website, where a lot of pictures are frequently posted from one
   of about ten digital cameras. Fortunately all pictures are of the same size,
   but unfortunately that's 2048x1563 pixels and around 2Mb jpg to begin with.
   We'd like the viewers of the site to be able to selectively download any one
   of these high-res pictures, but generate thumbnails of each of the images
   and send them out on the pages. So basically I need a program which can
   proportionally scale down and return an image (in jpg format). I'd like to
   find something preferably written in either C/C++ or PERL. Any ideas or
   suggestions would be greatly appreciated.
  end of Re: OT: Looking for command-line jpg editor that could be modified from 
Philip Hallstrom 


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

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

 iD8DBQE9uJRxo8KM2ULHQ/0RAjWRAJ9ZszJzdBccZ+y3/f5qBwHz9uyrKQCgyA4C
 gBODGzv5W6//4csZuNNiSgM=
 =eWl4
 -END PGP SIGNATURE-



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



Re: DDR Memory

2002-10-24 Thread Cliff Sarginson
Ok, thanks for the answers, I am now 0.001% less ignorant than I was :)

-- 
Regards
   Cliff Sarginson 
   The Netherlands

   Email: [EMAIL PROTECTED]
   Tel  : +31 (0)10 4764595

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



Re: color in lynx

2002-10-24 Thread Giorgos Keramidas
Brian Henning [EMAIL PROTECTED] wrote:
: i have been trying to turn off color in the lynx web browser and i can't
: figure it out. i tried commenting out everything in the lynx.cfg file that
: says anything about color and it didn't seem to help... any suggestions?

I have aliased lynx to /usr/local/bin/lynx -nocolor
in my .bashrc file.  That seems to be enough to convince
lynx to avoid using colours, regardless of the current
terminal type.

Giorgos.


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



Re: Repeated error from cd after 4.6 installed (i386)

2002-10-24 Thread Toomas Aas
Hi!

 I got this problem after installation of FreeBSD 4.6 on an intel P75 
 system. 

  acd0: READ_BIG command timeout - resetting
  ata1: resetting devices .. done

It has been said that a lot of these problems were fixed in 4.6.2. 
Probably as good a time as any to upgrade to 4.7.

--
Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/
* What Happens if I. PPPSSS, sorry!


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



OT: Looking for command-line jpg editor that could be modified

2002-10-24 Thread Nathan Vidican
I am looking to try and make a CGI application which can take in a single
argument (the particular image to open), and return an image after scaling
it down to a specific size. All images are the same size, and will all be
scaled down proportionally. Here's the scenario:

We've got a website, where a lot of pictures are frequently posted from one
of about ten digital cameras. Fortunately all pictures are of the same size,
but unfortunately that's 2048x1563 pixels and around 2Mb jpg to begin with.
We'd like the viewers of the site to be able to selectively download any one
of these high-res pictures, but generate thumbnails of each of the images
and send them out on the pages. So basically I need a program which can
proportionally scale down and return an image (in jpg format). I'd like to
find something preferably written in either C/C++ or PERL. Any ideas or
suggestions would be greatly appreciated.

--
Nathan Vidican
[EMAIL PROTECTED]




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



Re: OT: Looking for command-line jpg editor that could be modified

2002-10-24 Thread Philip Hallstrom
take a look at the netpbm package... you'll probably want to pre-generate
the thumbnails as it's not super fast (ie, not fast enough to power a
website, but fast enough)...

-philip

On Thu, 24 Oct 2002, Nathan Vidican wrote:

 I am looking to try and make a CGI application which can take in a single
 argument (the particular image to open), and return an image after scaling
 it down to a specific size. All images are the same size, and will all be
 scaled down proportionally. Here's the scenario:

 We've got a website, where a lot of pictures are frequently posted from one
 of about ten digital cameras. Fortunately all pictures are of the same size,
 but unfortunately that's 2048x1563 pixels and around 2Mb jpg to begin with.
 We'd like the viewers of the site to be able to selectively download any one
 of these high-res pictures, but generate thumbnails of each of the images
 and send them out on the pages. So basically I need a program which can
 proportionally scale down and return an image (in jpg format). I'd like to
 find something preferably written in either C/C++ or PERL. Any ideas or
 suggestions would be greatly appreciated.

 --
 Nathan Vidican
 [EMAIL PROTECTED]




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



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



Vinum Error - No space left on drive

2002-10-24 Thread Drew Tomlinson
I'm sure the answer to my question is on the Net somewhere but after a
day and a half of searching, I've decided to plea for help.  :)

The error I get when I attempt to create the volume is:

vinum - create ftp_vinum.conf
   4: sd length 76319m drive ftp1
** 4 No space for  on ftp1: No space left on device

The disk, volume, and plex are created but the subdisk is not:

D ftp1  State: up   Device /dev/ad1s1h  Avail:
152637/76319 MB(200%)

V ftp   State: up   Plexes:   1 Size:
0  B

P ftp.p0  C State: up   Subdisks: 0 Size:
0  B

Then steps I've taken and my config file, fdisk output, and disklabel
are contained in the following narrative.  I just wanted to put the
error up front for those browsing the list.

I have an 80G IDE drive (ad1) that I wish to use for a vinum volume.
I have read the example at http://www.freebsddiary.org/vinum.php.  It
tells me that the first step is to determine the size of my drive by
using fdisk.

blacklamb# fdisk ad1
*** Working on device /dev/ad1 ***
parameters extracted from in-core disklabel are:
cylinders=30629 heads=81 sectors/track=63 (5103 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=30629 heads=81 sectors/track=63 (5103 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 165,(FreeBSD/NetBSD/386BSD)
start 0, size 156301488 (76319 Meg), flag 80 (active)
beg: cyl 0/ head 0/ sector 1;
end: cyl 1023/ head 80/ sector 63

IIUC, this tells me that the disk size is 76319 M.

Next I used disklabel -e to create the vinum partition.

blacklamb# disklabel ad1
# /dev/ad1c:

[...irrelevant portion removed...]

8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
  c: 1563014880unused0 0# (Cyl.0 -
9729*)
  h: 1563014880 vinum   # (Cyl.0 -
9729*)

Then I created my configuration file:

blacklamb# cat ftp_vinum.conf
drive ftp1 device /dev/ad1s1h
volume ftp
  plex org concat
sd length 76319m drive ftp1

When I issue the create command, I get the error I described at the
top of this message.  So I guess my question is, How do I determine
the correct size of my drive?.  I wish to use the entire drive.

Please let me know if I'm missing information.  Nudges to appropriate
web pages appreciated.

Thanks,

Drew


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



Re: Vinum Error - No space left on drive

2002-10-24 Thread Greg 'groggy' Lehey
[Format recovered--see http://www.lemis.com/email/email-format.html]

Please don't wrap computer output.

On Thursday, 24 October 2002 at 17:06:01 -0700, Drew Tomlinson wrote:
 I'm sure the answer to my question is on the Net somewhere but after a
 day and a half of searching, I've decided to plea for help.  :)

 The error I get when I attempt to create the volume is:

 vinum - create ftp_vinum.conf
4: sd length 76319m drive ftp1
 ** 4 No space for  on ftp1: No space left on device

 The disk, volume, and plex are created but the subdisk is not:

Yes, that's what the message above is trying to tell you.

 I have an 80G IDE drive (ad1) that I wish to use for a vinum volume.
 I have read the example at http://www.freebsddiary.org/vinum.php.
 It tells me that the first step is to determine the size of my drive
 by using fdisk.

Well, no, the first thing it tells you is that this is necessary
because the two disks he was using were of different size.  It's
incorrect, anyway: disklabel tells you the size of your slices.

 8 partitions:
 #size   offsetfstype   [fsize bsize bps/cpg]
   c: 1563014880unused0 0# (Cyl.0 - 9729*)
   h: 1563014880 vinum   # (Cyl.0 - 9729*)

 Then I created my configuration file:

 blacklamb# cat ftp_vinum.conf
 drive ftp1 device /dev/ad1s1h
 volume ftp
   plex org concat
 sd length 76319m drive ftp1

Well, presumably you first tried to convert sectors to megabytes,
which was a bit of a waste of time, since you can specify the size in
sectors in the process.  You made an error in this conversion:
156301223 sectors are 74.530231 MB.  If you specify the size in
megabytes, you lose the fractional part.

As the man page explains, however, all this is unnecessary.Just
write

  sd length 0m drive ftp1

and Vinum will allocate as much as it can for you.

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

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



Re: OT: Looking for command-line jpg editor that could be modified

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

netpbm is more for converting images to different formats. The
originator is looking for ImageMagick, which is in the ports tree.
Install the port and read the manpage for convert(1) and mogrify(1).

You're on your own for making the CGI script. Check out www/gallery if
you want something that will autogenerate an entire image gallery
website. Tonight I'm going to commit www/kallery, which has a spiffy KDE
frontend.

- -Adam


 (10.24.2002 @ 1703 PST): Philip Hallstrom said, in 1.4K: 
 take a look at the netpbm package... you'll probably want to pre-generate
 the thumbnails as it's not super fast (ie, not fast enough to power a
 website, but fast enough)...
 
 -philip
 
 On Thu, 24 Oct 2002, Nathan Vidican wrote:
 
  I am looking to try and make a CGI application which can take in a single
  argument (the particular image to open), and return an image after scaling
  it down to a specific size. All images are the same size, and will all be
  scaled down proportionally. Here's the scenario:
 
  We've got a website, where a lot of pictures are frequently posted from one
  of about ten digital cameras. Fortunately all pictures are of the same size,
  but unfortunately that's 2048x1563 pixels and around 2Mb jpg to begin with.
  We'd like the viewers of the site to be able to selectively download any one
  of these high-res pictures, but generate thumbnails of each of the images
  and send them out on the pages. So basically I need a program which can
  proportionally scale down and return an image (in jpg format). I'd like to
  find something preferably written in either C/C++ or PERL. Any ideas or
  suggestions would be greatly appreciated.
 end of Re: OT: Looking for command-line jpg editor that could be modified from 
Philip Hallstrom 


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

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

iD8DBQE9uJRxo8KM2ULHQ/0RAjWRAJ9ZszJzdBccZ+y3/f5qBwHz9uyrKQCgyA4C
gBODGzv5W6//4csZuNNiSgM=
=eWl4
-END PGP SIGNATURE-

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



Re: Installworld fails building Current from 4.7-R

2002-10-24 Thread Craig Rodrigues
Hi,

Did you see the instructions in /usr/src/Makefile and /usr/src/UPDATING?

This is from /usr/src/Makefile:

# For individuals wanting to upgrade their sources (even if only a
# delta of a few days):
#
# 1.  `cd /usr/src'   (or to the directory containing your source tree).
# 2.  `make buildworld'
# 3.  `make buildkernel KERNCONF=YOUR_KERNEL_HERE' (default is GENERIC).
# 4.  `make installkernel KERNCONF=YOUR_KERNEL_HERE'   (default is GENERIC).
# 5.  `reboot'(in single user mode: boot -s from the loader prompt).
# 6.  `mergemaster -p'
# 7.  `make installworld'
# 8.  `mergemaster'
# 9.  `reboot'
#
# See src/UPDATING `COMMON ITEMS' for more complete information.
#

-- 
Craig Rodrigues
http://www.gis.net/~craigr
[EMAIL PROTECTED]

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



fsck lasting several hours (and then forever) after crash

2002-10-24 Thread Andreas Ntaflos
Hello lists (sorry for crossposting),
  This is kind of serious for me. Here is what happened: I portupgraded
  the native version of mozilla to 1.1 and fired it up. It crashed and took X
  with it. Keyboard and mouse where dead, I had to press the reset button. 
So the system rebooted and reached automatic fsck. Checked /, /var, /tmp
  and then, when going to /usr it stopped. And stood stopped. I've had it
  running 17 hours now, nothing. Booting into single user I do /sbin/fsck,
  which works nicely until here:

  Phase 1 - Check Blocks and Sizes
  INCORRECT BLOCK COUNT I=1702863 (4 should be 0)
  CORRECT [yn]

  No matter what I enter (tried both y and n) it goes on and then lasts
  forever. No harddisk-noise, no nothing. I really don't know why this is
  happening. fsck does not bail out or say anything, it just does nothing
  after above message. No CTRL-C, no CTRL-ALT-DEL, no nothing helps.

  Since I needed the system I edited /etc/rc and commented out the exit 1
  part where it refuses going to multiuser when any of the file systems is
  marked 'dirty', then added the -f flag to mount. That way I got it back
  running, but how do I repair my /usr partition now without fsck failing to
  do its job? Has anybody a pointer for me, an idea or anything else I could
  try to repair /usr? I know that what I did is quite a dirty workaround.
 
Thanks in advance, anything is greatly appreciated.
regards
-- 
Andreas ant Ntaflos | A cynic is a man who knows the price of
[EMAIL PROTECTED]   | everything, and the value of nothing.
Vienna, AUSTRIA   |  Oscar Wilde


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



Re: fsck lasting several hours (and then forever) after crash

2002-10-24 Thread Andreas Ntaflos
On Thu, Oct 24, 2002 at 11:40:43AM -0500, Matthew Reimer wrote:
 Andreas Ntaflos wrote:
 
 Is there anything else I could do to help solving this problem?
 regards
 
 We had a problem like this when an ATA disk went bad--the kernel would 
 seem to hang while trying to read the bad part of the disk. Try booting 
 into single-user mode (boot -s) and then try reading all the disk's 
 blocks. If it hangs doing this, then you know it's not fsck's fault:
 
 dd if=/dev/ad0s1c of=/dev/null bs=64k
 

Now that is a good idear! Thanks. I dropped to single user mode and did 
dd if=/dev/ad4s1h of=/dev/null bs=64k. It appears that fsck is not the problem
but my disk is going bad.

 It turned out that our disk just needed a low-level format. Apparently, 
 writing zeroes to (some) disks effects a low-level format, so I zeroed 
 the entire bad disk (dd if=/dev/zero of=/dev/ad0s1c) and then I could 
 read all the disks's blocks without problems. Of course zeroing the disk 
 will destroy all your data. If you knew which blocks were bad you could 
 try zeroing just those blocks; if they weren't holding real important 
 information (like a superblock) then you might be able to save your files.

I am not sure how to interpret the error message I get:

ad4s1h: hard error reading fsbn 61857135 of 28752640-28752767 (ad4s1 bn
61857135; cn 3850 tn 109 sn 18) status=69 error=40

Does that indicate which blocks are bad? If so, how could I try zeroing out
just those blocks? And if not, is there a way to tell which are the real bad
blocks? 

Sorry for sounding newbie'ish, but I've never dealt with something like that
before, at least not with a bad disk.

thanks and regards
-- 
Andreas ant Ntaflos | A cynic is a man who knows the price of
[EMAIL PROTECTED]   | everything, and the value of nothing.
Vienna, AUSTRIA   |  Oscar Wilde


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