tcsh script: quote and spaces problems

2003-07-31 Thread Rob Lahaye


Hello,

I've been trying to include the quote () characters and spaces into a tcsh script
variable; for already two days I've been trying various ways doing this to no avail!
I'm about to think that it is impossible.
For example:


#!/bin/tcsh
set flag=-f t  

This obviously doesn't work because of too many quotes involved; but what does work
to achieve this? There are two problems here:
  1) flag should contain the two internal quotes of t  
  2) the t   contains two spaces.
When I use
  set flag='-f t  '
the two spaces are automagically (?) reduced to only one space!!

The latter seems to be a general problem:

  set flag=f 

wil result in flag containing only f .

Any solutions for this problem with quotes and spaces in tcsh script?
Or is tcsh not suitable for this kind of things?
Thanks,
Rob.


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


can't connect to the network

2003-07-31 Thread Bsd Neophyte
i'm running FreeBSD 4.8 on one of my machines.  i'm having a really
frustrating problem.  i cannot connec to anything outside of the
interface.

i've quarduple checked that the NIC is assigned an address with the same
subnet as my network.  i can ping the ip address on the NIC, but i can't
ping any other device on the network.

i had firewall options in my rc.conf, but they are all commented out
(quadruple checked that too).

any ideas on how i can resolve this matter?

__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: buggy optimization levels...

2003-07-31 Thread Kris Kennaway
On Thu, Jul 31, 2003 at 09:34:17PM -0400, Chuck Swiger wrote:

 OK.  Can the existence of such problems be confirmed reliably, say by 
 regression testing?

The problem is in identifying precisely which piece of code is
failing.  A regression test is only useful if it concisely exercises a
specific set of tests.  As I said, in theory any optimization problems
can be tracked down to the failure of a certain piece of code, but in
something as large as the kernel it is not usually easy.

Kris


pgp0.pgp
Description: PGP signature


Ieomega zip

2003-07-31 Thread fabio
Hallo BSD people. I'm installing BSD4.8 on a DELLi486(notebook) which doesn't have a 
CD-ROM. I would really appreciate if you know any solutions to how I can install the 
BSD extra packages with a ZIP100 parralell port after the floppy install.
At ieomega.com I didn't find any drives.
Any help will be well appreciated.
Thank you Fabio




reply [EMAIL PROTECTED] have a cool day
Obtenga su E-mail GRATUITO en http://lapoe.zzn.com

Para obtener su propio servicio de correo electrónico basado en la Multimalla, 
diríjase a http://www.zzn.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: tcsh script: quote and spaces problems

2003-07-31 Thread Michael E. Mercer
On Thu, 2003-07-31 at 21:42, Rob Lahaye wrote:
 When I use
set flag='-f t  '
 

When I echo this out, I get what you are wanting...
can you show us how you are using this, to get the weird behavior?

Thanks
MeM

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


Re: tcsh script: quote and spaces problems

2003-07-31 Thread Chuck Swiger
Rob Lahaye wrote:
[ ... ]
Any solutions for this problem with quotes and spaces in tcsh script?
Or is tcsh not suitable for this kind of things?
Ugh, the latter.  :-)  /bin/sh handles nested quoting right, but crunches the 
space together:

% foo=-f \t  \
% echo $foo
-f t 
% foo='-f t  '
% echo $foo
-f t 
...however, you might be able to muck with $IFS and get better results. Also, 
ZSH seems to do exactly what you expected:

64-sec% foo=-f \t  \
65-sec% echo $foo
-f t  
67-sec% foo='-f t  '
68-sec% echo $foo
-f t  
--
-Chuck
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: tcsh script: quote and spaces problems

2003-07-31 Thread Michael E. Mercer
ok ok... I noticed one thing while playing with this...

the script hello.sh
#!/bin/tcsh -f

set JUNK='-f t  '

echo ${JUNK}
echo ${JUNK}

The first echo prints it -f t  
and the second -f t 

Can you use it with the double quotes around it?

later
MeM


On Thu, 2003-07-31 at 22:12, Michael E. Mercer wrote:
 On Thu, 2003-07-31 at 21:42, Rob Lahaye wrote:
  When I use
 set flag='-f t  '
  
 
 When I echo this out, I get what you are wanting...
 can you show us how you are using this, to get the weird behavior?
 
 Thanks
 MeM
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

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


Installing 4.8 from a PCMCIA NIC

2003-07-31 Thread Kirk Strauser
I'm trying to install FreeBSD 4.8 on a machine with no CD-ROM, and only a
PCMCIA NIC (Microsoft (yep) MN-520, Prism 2, works under Linux using the
prism2_cs driver).  sysinstall prompts for the PCMCIA bus'es memory
segment and usable IRQs, and I give it the values that Linux was using on
the same hardware.  It probes around and loads the main menu, but no network
interface is listed by ifconfig on the holographic shell.

Do I need to do anything extra to start the card?  Its LEDs light up as
though it's being managed by the system, but I don't know what to do next.
Is there a part of TFM I should be reading?
-- 
Kirk Strauser


pgp0.pgp
Description: PGP signature


Re: tcsh script: quote and spaces problems

2003-07-31 Thread Dan Nelson
In the last episode (Jul 31), Chuck Swiger said:
 Rob Lahaye wrote:
 [ ... ]
 Any solutions for this problem with quotes and spaces in tcsh
 script? Or is tcsh not suitable for this kind of things?
 
 Ugh, the latter.  :-)  /bin/sh handles nested quoting right, but crunches 
 the space together:
 
 % foo=-f \t  \
 % echo $foo
 -f t 
 
 % foo='-f t  '
 % echo $foo
 -f t 

Actually it doesn't.  You get this result because sh splits variables
on $IFS before passing the result to a command, so what echo gets is
 argv[1]=-f \t
 argv[2]=\
, and echo always prints its arguments separated by a space.  You can
verify that the variable is set correctly by running set | grep -a
foo.  To pass the entire string as one argument, run echo $foo.

 ...however, you might be able to muck with $IFS and get better results. 
 Also, ZSH seems to do exactly what you expected:
 
 64-sec% foo=-f \t  \
 65-sec% echo $foo
 -f t  

This is because zsh passes variables directly to commands, unless the
SH_WORD_SPLIT flag is set.  You can force spltting with the ${=foo}
syntax.

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


Re: buggy optimization levels...

2003-07-31 Thread Chuck Swiger
Kris Kennaway wrote:
On Thu, Jul 31, 2003 at 09:34:17PM -0400, Chuck Swiger wrote:
OK.  Can the existence of such problems be confirmed reliably, say by 
regression testing?
The problem is in identifying precisely which piece of code is
failing.  A regression test is only useful if it concisely exercises a
specific set of tests.  As I said, in theory any optimization problems
can be tracked down to the failure of a certain piece of code, but in
something as large as the kernel it is not usually easy.
Ah, my apologies-- I believe I see where the confusion lies.

I understand that figuring out why the kernel died can be hard, particularly if 
the failures aren't concise and completely reproducable, and thus tracing the 
problem back to making the right change to gcc to fix the optimization that 
caused the observed failure is thus also hard.

Fine.  However, you don't _need_ to identify the reason why the kernel died, or 
solve the bug in global common expression elimination to solve the problem of 
compiling the system with cc -O2 resulting in a buggy kernel.  If you 
determine that compiling with cc -O -fgcse results in failures, one does:

--- toplev.c_oldThu Jul 31 22:23:22 2003
+++ toplev.cThu Jul 31 22:24:01 2003
@@ -4916,7 +4916,6 @@
 {
   flag_cse_follow_jumps = 1;
   flag_cse_skip_blocks = 1;
-  flag_gcse = 1;
   flag_expensive_optimizations = 1;
   flag_strength_reduce = 1;
   flag_rerun_cse_after_loop = 1;
...and makes it so that -O2, -O3, etc does not enable GCSE optimization.

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


Re: buggy optimization levels...

2003-07-31 Thread Erik Trulsson
On Thu, Jul 31, 2003 at 10:30:57PM -0400, Chuck Swiger wrote:
 Kris Kennaway wrote:
 On Thu, Jul 31, 2003 at 09:34:17PM -0400, Chuck Swiger wrote:
 OK.  Can the existence of such problems be confirmed reliably, say by 
 regression testing?
 
 The problem is in identifying precisely which piece of code is
 failing.  A regression test is only useful if it concisely exercises a
 specific set of tests.  As I said, in theory any optimization problems
 can be tracked down to the failure of a certain piece of code, but in
 something as large as the kernel it is not usually easy.
 
 Ah, my apologies-- I believe I see where the confusion lies.
 
 I understand that figuring out why the kernel died can be hard, 
 particularly if the failures aren't concise and completely reproducable, 
 and thus tracing the problem back to making the right change to gcc to fix 
 the optimization that caused the observed failure is thus also hard.

Note that it is not necessarily gcc which is at fault for such
failures. It may be a bug in gcc, but it may also be a bug in the code
being compiled that has a bug that only shows up under higher
optimization levels.
The latter is probably somewhat more common actually.


 
 Fine.  However, you don't _need_ to identify the reason why the kernel 
 died, or solve the bug in global common expression elimination to solve the 
 problem of compiling the system with cc -O2 resulting in a buggy kernel.  
 If you determine that compiling with cc -O -fgcse results in failures, 
 one does:
 
 --- toplev.c_oldThu Jul 31 22:23:22 2003
 +++ toplev.cThu Jul 31 22:24:01 2003
 @@ -4916,7 +4916,6 @@
  {
flag_cse_follow_jumps = 1;
flag_cse_skip_blocks = 1;
 -  flag_gcse = 1;
flag_expensive_optimizations = 1;
flag_strength_reduce = 1;
flag_rerun_cse_after_loop = 1;
 
 ...and makes it so that -O2, -O3, etc does not enable GCSE optimization.

But if the bug is not in gcc but in the code being compiled (and which
only happens to show up when compiled with GCSE optimization) such a
patch would disable this optimization for correct code also even though
it is not necessary there.



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


Re: tcsh script: quote and spaces problems

2003-07-31 Thread Rob Lahaye

Dan Nelson wrote:
 
 Actually it doesn't.  You get this result because sh splits variables
 on $IFS before passing the result to a command, so what echo gets is
  argv[1]=-f \t
  argv[2]=\

I come to the conclusion that there's no intuitive solution in a
tcsh script for

   set foo='-f a  '

My unix knowledge tells me the following should work:

   set foo=-f\ \a\ \ \

but tcsh does not allow these escape sequences; the backslashes
become real backslashes and an error occurs on too many
quotes.

Another odd behaviour occurs when I say:

  set foo=abc

which tcsh reduces to a b c, despite the quotes.


I'd say very un-unix like behaviours

Rob.

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


Re: Video Card

2003-07-31 Thread Vulpes Velox
try doing a XFree86 -configure and see if that produces a working conf... then
just move it and change it to the desired res and whatever...

On Thu, 31 Jul 2003 17:17:06 +0100
Per Nilsson  [EMAIL PROTECTED] wrote:

 Hi. 
 
 I was wondering if  you can tell me how to get my video card working in
 freebsd?!
 
 I am using FreeBSD 4.8, and my video card is: 128 DDR ATI Radeon 9700.
 
 I have tried like hell to get the card work, but without any luck.. The X
 server won`t start without the card working, and so on.. 
 
 how do i do?
 
 // Per
 
 
   Vad står det om dig på nätet?
   Kolla nu! - http://www.lycos.se/
 
 

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


Re: tcsh script: quote and spaces problems

2003-07-31 Thread Dan Nelson
In the last episode (Aug 01), Rob Lahaye said:
 Another odd behaviour occurs when I say:
 
   set foo=abc
 
 which tcsh reduces to a b c, despite the quotes.

This works for me (-CURRENT).

$ tcsh
dan: {3001} set foo=abc
dan: {3002} set | grep foo
_   set foo=abc
foo abc
dan: {3003} echo $foo
abc
dan: {3004} 
 
-- 
Dan Nelson
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


imake won't install-4.3.0

2003-07-31 Thread Richard Johannesson
Using sysinstall, was going to install emacs and kde.
Install failed on installing imake. The error I got 
Was Add of package imake-4.3.0 aborted, error code 1
 - Please check the debug screen for more info.
, then got Loading of dependent package imake-4.3.0
 failed.

Where is this debug screen I'm supposed to look at?

Tried doing a portinstall imake. This failed as well.
This was after I did: 1) cvsup -g -L 2 cvsup.conf,
2) portsdb -Uu, 3) pkgdb -F, 4) portupgrade -ra

Don't know how to fix this.

Overview:
- Installed FreeBSD 5.1 Release.
- Modified the install unix partitions to support vinum
  worked after a lot of help from people on this list.
- Did as much restore of the previous image the machine
  had before it crashed. Should have had vinum back then!
- Also, added some RCS version control for the config
  files under /etc, /usr/local/etc, and /root

How's the best way to debug this. What files should I be
looking at?

Thanks in advance for any tips,
Richard

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


Re: buggy optimization levels...

2003-07-31 Thread Kris Kennaway
On Thu, Jul 31, 2003 at 10:30:57PM -0400, Chuck Swiger wrote:

 Fine.  However, you don't _need_ to identify the reason why the kernel 
 died, or solve the bug in global common expression elimination to solve the 
 problem of compiling the system with cc -O2 resulting in a buggy kernel.  
 If you determine that compiling with cc -O -fgcse results in failures, 
 one does:

This is the trivial part (you don't even need to modify gcc, because
all the optimizations turned on by -Ofoo are also available as
individual -fblah options).  As I've already said, once you have a
self-contained test-case that demonstrates that a particular gcc
optimization level generates broken code, the gcc people will fix it.

Kris


pgp0.pgp
Description: PGP signature


Re: CVSUP

2003-07-31 Thread Adam Stroud
No, that was fine.  I understand what you are saying.  I was actually thinking 
that myself, I was just wondering if anyone had any easier way.  It's not a 
big deal really, I just change the default install dirs on one port.  That 
means that I change all of 4 lines in a Makefile, I was just wondering.  
Thanks anyway man.

Cheers

 If you have lots of disk space, you can try using CVSup to mirror the CVS
 repository and let CVS merge your changes:

 * Omit the `tag' in your cvsupfile. Just don't put one in.
 * Change the `prefix' to a place where you have a lot of space, such
   as /usr/local/portcvs. (Do NOT use /usr!)
 * Cvsup as normal.
 * You should find a lot of files in /usr/local/portcvs/ports/* with
   names ending in ,v. These are the CVS files.
 * Back up your ports tree (mv /usr/ports /usr/ports.old).
 * cd /usr  cvs -d /usr/local/portcvs checkout ports
 * If all went well, you have a ports tree.

 Now, always cvsup this way. To update your main ports tree, do
 `cd /usr/ports  cvs -d /usr/local/portcvs update'. This will
 try and merge your changes.

 This may have been a bit difficult to understand. I'm sure someone else can
 explain it better than I :-)

 -- Josh

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

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

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


freebsd 5.0 and supporting USB 2.0

2003-07-31 Thread xxcrisxx
Hi to all list

I'm a newbie of freebsd (I used linux for a couple of years),I had just
assembled my new computer (Gigabyte 7VAXP with athlon XP2500+ ), I installed
a 5.0 release and is working fine and I'd like to know if I can set the
kernel to support usb 2.0 or I have to install the freebsd 5.1 , I saw that
is not so stable but I have this USB esternal modem ISDN (DrayTek Vigor
128) and I don't know how to fix it , the sound card(AC97 Realtek ALC650)as
well is not reconized but I think I can fix it .
Sorry for my English and thank you in advance for your answers :-)

Cristiano

__
Partecipa al concorso Tiscali collegati e vinci,
il primo premio e' un viaggio per 2 persone a Zanzibar!
http://point.tiscali.it/numerounico/




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


RE: can't connect to the network

2003-07-31 Thread Derrick Ryalls
 i'm running FreeBSD 4.8 on one of my machines.  i'm having a 
 really frustrating problem.  i cannot connec to anything 
 outside of the interface.

Is it giving any error msg?

If it says no route to host, you need to setup a default route, but I
doubt this is the issue.


 
 i've quarduple checked that the NIC is assigned an address 
 with the same subnet as my network.  i can ping the ip 
 address on the NIC, but i can't ping any other device on the network.

Again, error msg?  If it says host is down, I would check hardware.  Is
there a link light on hub/switch?  If there is no hub/switch, are you
using a crossover cable?  It is hard to say without more details.

 
 i had firewall options in my rc.conf, but they are all 
 commented out (quadruple checked that too).

That could be an issue.  If you have a default to deny in kernel and you
comment out all your firewall lines, it will block everything.  If you
get an error msg of permission denied, this is generally what is going
on.

 
 any ideas on how i can resolve this matter?
 



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


Re: WU FTPD

2003-07-31 Thread Jerry M. Howell II
On Thu, Jul 31, 2003 at 02:18:25PM -0400, Lucas Holt wrote:
 There was a vulnerability released today in wu ftpd and I'm unclear if 
 this would affect the software running on a freebsd system.  It appears 
 to cause problems on linux 2.4.x kernels but not older kernels due to 
 the way the compiler works.  Does anyone know if this problem is 
 exploitable on freebsd?  If not, where should I ask this question?
 
I'd look for a better alternative for a ftp server anyways. WU is
potmarked with tons of security flaws. It can be locked prety tight if
you know what your doing but there are beter alternatives. Many ppl have
substituted proftp in it's place and pureftp is starting to gain
popularity

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


information

2003-07-31 Thread gerardo diaz
where i can download free FreeBSD, 

thanks

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


RE: information

2003-07-31 Thread Richard Johannesson
This is where I got the latest ISO:
ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/ISO-IMAGES/5.1


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:owner-freebsd-
 [EMAIL PROTECTED] On Behalf Of gerardo diaz
 Sent: Thursday, July 31, 2003 9:25 PM
 To: [EMAIL PROTECTED]
 Subject: information
 
 where i can download free FreeBSD,
 
 thanks
 
 GERARDO DIAZ
 PERU
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-
 [EMAIL PROTECTED]


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


Re: Unable to access the internet through Windows 2000 proxy Server

2003-07-31 Thread Rommel B. Ikeda
Dear Mr. Aaron Siegel,

I am sorry for bothering you again...and Thank you for your response...
Yes, 192.168.1.5 is our gateway's IP address.  I was able to route add default  
192.168.1.5 as root.  When I netstat -r the default 192.168.1.5 showed up.  Just to 
be sure below is the result of my netstat -r

Logistics# route add default 192.168.1.5
add net default: gateway 192.168.1.5
Logistics# netstat -r
Routing tables
 
Internet:
DestinationGatewayFlagsRefs  Use  Netif Expire
default192.168.1.5UGSc00   aue0
localhost  localhost  UH  1   35lo0
192.168.1  link#1 UC  10   aue0
192.168.1.500:a0:c9:5a:47:ff  UHLW1  857   aue0666
Logistics  localhost  UGHS00lo0
 
Internet6:
DestinationGatewayFlags  Netif Expire
localhost  localhost  UH  lo0
fe80::%aue0link#1 UC aue0
fe80::20a:79ff:fe0 00:0a:79:03:5d:1b  UHL lo0
fe80::%lo0 fe80::1%lo0Uc  lo0
fe80::1%lo0link#3 UHL lo0
ff01:: localhost  U   lo0
ff02::%aue0link#1 UC aue0
ff02::%lo0 localhost  UC  lo0

These are the 2 results of my ping test:
$ ping www.philstar.com
ping: cannot resolve www.philstar.com: Host name lookup failure
$ ping 210.171.225.106
PING 210.171.225.106 (210.171.225.106): 56 data bytes
^C
--- 210.171.225.106 ping statistics ---
377 packets transmitted, 0 packets received, 100% packet loss
$ ping www.oisca.org
ping: cannot resolve www.oisca.org: Host name lookup failure

I have a very strong idea that this problem is caused by the remapping of our 
Ports...as I have informed you, our FTP Port is set to 10021, HTTP Port is set 10080, 
and so on...How can I set cvsup-without-gui to use 10021 for my FTP and 10080 for my 
HTTP?

I did created the directory /etc/resolv.conf as root, yesterday I had a little talk 
with the person in-charge of our Computer Room and asked him about our DNS.  He told 
me that our DNS is dynamically provided by our ISP...So, as in our case with sometimes 
encoumter problems in our Internet Connection and most of the time we have to REBOOT 
the machine that runs our Proxy Server...Everytime we reboot or turn that machine off, 
once we turn in on a new DNS will be used from our ISP, dynamically provided...I was 
told.

He said that the best thing for me to do is use www.oisca.org, as my DNS...IS THIS 
APPLICABLE...for my etc/resolv.conf?
 
So at present this is what is inside my /etc/resolv.conf
nameserver www.oisca.org
#nameserver  12.105.171.186 (I added a # to disable it for the moment)
#nameserver  204.127.202.68 (I added a # to disable it for the moment)

I am really sorry that this has been dragging for a long time now...but, I really need 
your advice on this one...
I have cc this Email to the freeBSD Community that anyone with ideas can also help 
us...
Thank you...
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


does freebsd support IRDA comm.?

2003-07-31 Thread S.W.Liu
Does FreeBSD support IRDA devices? and how to config?

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


Re: Really Crazy SMTP Problem

2003-07-31 Thread Michael Collette
Eric,

Not knowing what all you've got configured exactly, here's a couple of 
possible guesses to weed out the basics.

Can you do a reverse DNS lookup on your mail server?  In other words, perform 
a whois on the IP address and get a legit domain name.  Many servers require 
this in order to keep out obvious spammers.

You should also triple check and make sure that you have SMTP open to come 
back to you from the outside world.  SMTP requires open ports coming in as 
well as going out.  Check your TCP Wrappers and whether or not IPFW or 
IPFilters is in the mix.

Later on,

Eric Harrison wrote:

 Hi,  I've been trying everything I can think of to locate the source of
 this
 problem and I finally gave up and need some help.  This is the situation:
 
 I have a server running FreeBSD 4.7-RELEASE.  I installed Postfix on the
 machine like I have done at least 20 other times on different machines and
 got everything configured like it should be.  I noticed quickly that it
 wasn't delivering mail to any remote mail servers so I checked my mail
 queue and discovered that most of the servers were either refusing the
 connection
 or not responding.  This was a little strange so I spent about a day
 checking the postfix configuration, assuming I had just messed something
 up.
 
 I finally came to the conclusion that everything was configured properly
 and
 then had the bright idea  to try to manually connect to the external mail
 servers to see if I could connect.  This is where it gets wierd.
 
 $telnet smtp.ADDRESSWITHHELD.com 25
 Trying xxx.xxx.xxx.x...
 telnet: connect to address xxx.xxx.xxx.x: Connection refused
 telnet: Unable to connect to remote host
 
 I thought this to be rather odd, but thought the worst had happened and I
 had somehow gotten a blacklisted IP (possibly used previously by a Spammer
 or something).
 
 So I tried a server I knew to NOT be running any type of blacklist
 filtering (one of my other servers that I knew the config on) and had the
 SAME result.
 Connection refused.  The other machines on the network running mail
 servers seem to not be having any problems like this, and I talked to my
 host to see if anything was reported, and he claiimed it was a
 misconfiguration of my
 mail server.  Knowing this not to be the case, I am stumped.
 
 If ANYONE has any information or insight, you would be a lifesaver.
 
 Thanks,
 
 Eric Harrison

-- 
In theory, there is no difference between theory and practice.
In practice, there is.
- Yogi Berra

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


Re: Help PLEASE! on proper kernel config file to use serial portswith puc driver

2003-07-31 Thread J. Seth Henry
Stan,
Could you describe your hardware in a bit more detail. I can't imagine
why your system would hard lock, unless there is something seriously
wrong. Also, I'm curious why puc is detecting your card as sio4 and sio5
(COM5 and COM6 respectively) Most mainboards only have sio0/COM1 and
sio1/COM2. What is using sio2 and sio3?

BTW - I would start from a generic kernel configuration if you don't
remember what you did. Then, make the necessary changes to the copy of
GENERIC, and go from there. Then, rebuild the kernel - it probably isn't
necessary, but it will at least return your kernel to something closer
to the baseline.

Regards,
Seth Henry

On Thu, 2003-07-31 at 13:18, stan wrote:
 On Thu, Jul 31, 2003 at 10:34:14AM -0400, J. Seth Henry wrote:
  All you need in your kernel config is 'device puc'. You already appear
  to have this in your config, as your system detected the adapter.
  
 
 Him
 
 I've made some progress on this ;-(
 
 I have created teh devices in /dev. I now have just the puc line in the
 kernel config, and the ports are getting detected like this:
 
 puc0: Dolphin Peripherals 4036 port 0xfce0-0xfcff irq 11 at device 6.0 on pci0
 sio4: type 16550A
 sio5: type 16550A
 
 That;s the good nes. The bad news is that when I do cu -l cuaa4, the
 computer locks up! No response to any keyboard input, no response to a ping
 etc. I have to power cycle it to get it back :-(
 
 Sugestions?

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


HELP! Undefined symbol __stdoutp in FreeBSD 4.3...

2003-07-31 Thread camp
Hi,

On a FreeBSD 4.3 server (I inherited when I took over IT duties at a new
client), I am getting Undefined symbol __stdoutp error messages when
I try to run utilities (e.g. sudo) that I have pkg_add'ed to the server.
 Also, attempts to build the latest 'sudo' port fail.  Initially, the
port building failure involved the fact that  /usr/local/bin/sed_inplace
did not exist.  Trying to build that port failed as well... so I
pkg_add'ed sed_inplace... But then the sudo port build kept failing.

Here is an example of the error I get when I try to run sudo:

 sudo date
/usr/libexec/ld-elf.so.1: Undefined symbol __stdoutp referenced from
COPY relocation in sudo

I tried searching the mailing lists via http://lists.freebsd.org, but
was told the lists are unavailable at this time...

I have tried 'google' searches etc.  The best I can figure is that
something changed somewhere along the way in FreeBSD 4.X causing port
builds to fail.  I am also guessing that it _may_ have something to do
with the 'compat' libraries, but this is just a guess.

I see the following C lib related compat libraries in /usr/lib/compat:

/usr/lib/compat/libc.so.3
/usr/lib/compat/libc_r.so.3
/usr/lib/compat/libc_r.so.4

Note:  I do _not_ have a /usr/lib/compat/libc.so.4 should I?

I can generally figure things out on my own... but this has kind of got
me turning in circles... Maybe if someone can just point me in the
correct direction...  or  send me a pointer to a FAQ or HowTo article,
or a simple list of instructions.

After doing some more searching... I'm getting the feeling that I need
to re-build my libraries, which would mean installing the source,
wouldn't it?  If this is correct, I need some instructions or pointers
to instructions in the handbook.

Update:  I have done a 'make' in /usr/src/lib/libc and copied the newly
 created libc.so.4 to /usr/lib/libc.so.4 and changed the permissions
 to 444... but I still get the same Undefined symbol __stdoutp
 error...

This smells like there has to be a _simple_ fix for this...

Many thanks.

--
Steve Camp
[EMAIL PROTECTED]



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


<    1   2