Re: allowing access to a single directory

2003-02-16 Thread Walter
Bill Moran wrote:

Walter wrote:


Giorgos Keramidas wrote:


On 2003-02-16 09:30, Walter [EMAIL PROTECTED] wrote:


I want to allow an anonymous FTP user to see a directory in another
slice, so I put a symbolic link to it.  But then anyone could access
my entire file system by appending combinations of ../ to a path
name; e.g. ls share/../.  Is there a way to stop this by only
allowing access to the linked directory and nothing more?


Symlinks in anonymous FTP don't work, since anonymous ftp sessions are
chrooted in the home directory of the `ftp' user.  You should probably
move the files in ~ftp/stuff and then symlink to ~ftp/stuff from other
parts of your tree.


The /var slice does not have enough space to hold
these files.  So it sounds like I need to find
another solution (like move in another HD).  Thanks.


You could always move the FTP directory to a slice that has room.


Yes, I actually thought of that, but then I'd leave
my (in this case) /usr slice vulnerable to being
filled-up with ... junk.  Unless I put in quotas,
I suppose.  Hmmm.  I'll think on that; but I also
have an HD which I'm not really using.


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



Re: monochrome monitor

2003-02-13 Thread Walter
Doug Reynolds wrote:

On Fri, 07 Feb 2003 20:05:46 -0500, Walter wrote:


I have no manual for this (used) Acer Pentium 120.
The Acer web site does not appear to have schematics
or other MB information (that I could find).  And
looking at the MB I see nothing that leads me (a
non-tech) to think there's a VGA/MGA selector.
Anything particular writing or abbreviations I
might look for?  (Good thought.)


sometimes they say vid video vga/mono color/mono

but since it is a brand name that has been mass produced (ie designed
to log into AOL and play solitare), it probably doesn't have one, or it
is labeled something obscure like JP34 or something like that. :(


Nothing like that I saw on the Acer..  BUT!
I also have an (old) HP 486, and on its MB
there's a VGADIS set of pins.  So moving the
jumper over allowed the monochrome monitor
to work (disabled the VGA)!  THANKS!!

Walter


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



Re: Memory disk

2003-02-12 Thread Walter

Steve Bertrand wrote:

The reason for this is so I can make my boxes much smaller and much 
faster (no hdd i/o).

1. Is it possible to do a custom r/o install of Free onto a CD?
2. Is it possible to run FreeBSd out of memory with no hdd?

This is a novice wondering out loud: To keep things
small, is it possible to use the new memory cards
(for digital cameras) instead of a hard drive? The
capacity on those is getting pretty large.  Then
you could drop even the CD. (I hoping to see them
completely replace floppies, even as a boot device,
some day.)

Walter


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



Re: XF86Config.

2003-02-11 Thread Walter Spierings
Hello Peter,
Your modeline is far to fast,
Try the one which has a 48Mhz bandwidth. (Look in the lint).
Most smaller and older monitors just need low refresh. Find the modeline 
for 1024x768 and 60Hz refresh.
Greetings,
Walter Spierings



At 02:59 PM 2/11/03 +0100, you wrote:
Thanks John,

But unfortunately adjusting the vsync and hsync didn't make any difference.
I did have a working XF86Config under Linux (XFree86 4.2.0 )but I haven't 
got a copy of that anymore  , so it should be possible ! Just don't know 
what the magic parameter is to add to or change in the X11 Config file.

rgds,

Peter

John Murphy wrote:

Peter van Eck [EMAIL PROTECTED] wrote:




I'm still having toruble to get my X window system to run properly.
It loads the X server succesfull but the display is isshowing 3 Vertical
stripes thru the Desktop.
The frequencies seem OK , but it is like the desktop is split up in 3.
USing an HP Ultra VGA 15 inch Monitior + a S3 Trio32/64 videocard .
XFree86 4.2.0

Anyone a suggestion for me to check/change ?






Section Monitor
Identifier   Monitor0
HorizSync30.0 - 86.0
VertRefresh  50.0 - 130.0
EndSection



I think your monitor would not be able to cope with those ranges.
The HP Ultra VGA 17 seems to be limited to 30-64 Khz / 50-90 Hz.
The 15 inch is probably the same.  The effect you're seeing is
probably the result of the Horiz. frequency being way too high.

If reducing those ranges doesn't help, you could try it without
the 3dfx accelerator card.

John.




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



monochrome monitor

2003-02-07 Thread Walter
I have a monochrome monitor I'd like to plug
in to a pentium-based FBSD router.  This worked
fine on the old 386 computer it came from, but
now that the 386 is dead, I'd still like to
use it over a color monitor.  Pulling the VGA
card and replacing it with the mono card and
monitor does not work.  Any thoughts?  (I
didn't find anything useful in the handbook
or archives, but maybe I missed something.)

TIA.

Walter


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



Re: monochrome monitor

2003-02-07 Thread Walter
Daxbert wrote:

I have a monochrome monitor I'd like to plug
in to a pentium-based FBSD router. 

Does your system's bios support older video?  Video selection is normally found on the first bios setup page.


Thanks.  I put back the VGA monitor card and
checked.  On the BIOS set-up page it shows
the display type as VGA/CGA but stippled
out, as it also stipples out the amount of
memory.

There are other video related memory settings
to be played with, but I'm guessing monochrome
is not an option.  True??

Thanks.

Walter


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



Re: monochrome monitor

2003-02-07 Thread Walter

Dax Eckenberg wrote:

Daxbert wrote:


I have a monochrome monitor I'd like to plug
in to a pentium-based FBSD router.


Does your system's bios support older video?  Video selection is normally found on the first bios setup page.


Thanks.  I put back the VGA monitor card and
checked.  On the BIOS set-up page it shows
the display type as VGA/CGA but stippled
out, as it also stipples out the amount of
memory.

There are other video related memory settings
to be played with, but I'm guessing monochrome
is not an option.  True??



Well, I just remember from the old days being able to choose between VGA, CGA, MGA??.  Where MGA usually referred to a Hercules or
other monochome adapter.

The stippling (sp?) may be due to the BIOS auto-detecting the video type.  It may very well detect Mono/MGA/something when the
monochome card is installed.

So, does your host boot, just without video suport?  Or does it sit there and beep at you as if there was no video card installed?



It booted and ran fine with only the mono card in there,
just no video.  With both cards now, the VGA works and
still no mono.  (Before today I only had the VGA in.)

I'm guessing either the BIOS does not handle mono, or
maybe just this mono card.  Thanks for your help so far
and whatever other things you might suggest to look at,
but it seems like a dead end at the moment.

Walter


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



Re: monochrome monitor

2003-02-07 Thread Walter
Dax Eckenberg wrote:

Dax Eckenberg wrote:


Daxbert wrote:



I have a monochrome monitor I'd like to plug
in to a pentium-based FBSD router.


Does your system's bios support older video?  Video selection is normally found on the first bios setup page.


Thanks.  I put back the VGA monitor card and
checked.  On the BIOS set-up page it shows
the display type as VGA/CGA but stippled
out, as it also stipples out the amount of
memory.

There are other video related memory settings
to be played with, but I'm guessing monochrome
is not an option.  True??



Well, I just remember from the old days being able to choose between VGA, CGA, MGA??.  Where MGA usually referred to a



Hercules or


other monochome adapter.

The stippling (sp?) may be due to the BIOS auto-detecting the video type.  It may very well detect Mono/MGA/something when the
monochome card is installed.

So, does your host boot, just without video suport?  Or does it sit there and beep at you as if there was no video card



installed?


It booted and ran fine with only the mono card in there,
just no video.  With both cards now, the VGA works and
still no mono.  (Before today I only had the VGA in.)

I'm guessing either the BIOS does not handle mono, or
maybe just this mono card.  Thanks for your help so far
and whatever other things you might suggest to look at,
but it seems like a dead end at the moment.

Walter



I would suggest that you change your boot loader to use the serial console as default.  You'll still miss all of the BIOS POST
information which is being delivered to the non-working mono video, but at least you'll get everything after the initial boot blocks
are read.  That's presuming you have another host / dumb terminal to connect to the serial port.


I don't know how to configure a serial console, but that
doesn't matter since I don't have one of those. Thanks
anyway.  I'll keep an eye out for one at the local used
PC store, and for now just live with the present monitor.


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



Re: monochrome monitor

2003-02-07 Thread Walter
I have no manual for this (used) Acer Pentium 120.
The Acer web site does not appear to have schematics
or other MB information (that I could find).  And
looking at the MB I see nothing that leads me (a
non-tech) to think there's a VGA/MGA selector.
Anything particular writing or abbreviations I
might look for?  (Good thought.)

James Long wrote:

On Fri, Feb 07, 2003 at 01:10:09PM -0500, Walter wrote:


I'm guessing either the BIOS does not handle mono, or
maybe just this mono card.


Long, long, ago, motherboards had a jumper on them, with one
position for monochrome, and another position for everything
else.  Either I missed it, or you didn't say what motherboard
you are using, but you might take a close look both at the 
docs and the board itself to see if there is such a jumper on
yours.




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



handling non-printable characters in file names

2003-02-05 Thread Walter
Hi all,

   Leaving out the details, I need to know how to
navigate directories and remove files that use non-
printable characters in their names. du and ls show
me they're there, but I can't figure out how to make
cd work, or rm either.  Fwiw, the non-printable char
is \225.  Lynx was not able to see the directory
either, but maybe because it began with a .  -
I don't know.

   Also, is there a way to configure FBSD from accepting
non-printable characters in file names?

Thanks in advance.

Walter


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



Re: handling non-printable characters in file names

2003-02-05 Thread Walter
Nathan Kinkade wrote:
 On Wed, Feb 05, 2003 at 01:28:57PM -0500, Walter wrote:
   Leaving out the details, I need to know how to
navigate directories and remove files that use non-
printable characters in their names. du and ls show
me they're there, but I can't figure out how to make
cd work, or rm either.  Fwiw, the non-printable char
is \225.  Lynx was not able to see the directory
either, but maybe because it began with a .  -
I don't know.

 Generally, there are several things to try with difficult file names:

 1) Try quoting the spuriously named files (try double and single)
 2) Add a ./ in front of the filename
 3) Try letting the shell expand the filename for you by typing the first
 few characters and then pressing the Tab key.
 4) Trying escaping any unruly characters with a ``\

Thanks, Nathan.

I had tried 1 and 4 but they didn't work (at least
the way I did them).  I don't have a shell that
expands file names, but I'll try 2 if it happens
again. (I've zapped it all by starting at the
parent directory.)

There's probably someone who can explain why non-
printable characters are useful in file names, but
I'd really rather disallow them altogether - if
there's a build option or control flag to set.
Anyone?

Walter



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



Re: virtual tape or streamer device for backup purposes possible

2003-01-21 Thread Bernd Walter
#define LANG de_DE

On Tue, Jan 21, 2003 at 01:54:33PM +0100, Christian Tanghe wrote:
 Hello,
 
 is it possible to configure a virtual tape, just working on an other
 harddisk? Lokaly or on any other Server in the network
 Writing an reading on it should be transparent for commands like tar, cpio
 or any backup software.

Ja - nennt sich Datei und gibt es in nahezu beliebiger Menge auf jedem
Filesystem.
Kann zwar nicht Spulen, aber das brauchst du in dem Fall ja auch nicht,
da es sowas wie Dateinamen gibt.
tar, cpio und Co kommen damit wunderbar zurecht.

Einen Streamer komplett simulieren ist so eine Sache, da Streamer nicht
gleich Streamer - es gibt da mehrere Befehlssätze und Eigenarten.
Aber braucht man eigendlich auch gar nicht.

 Or in other words: Can you only load a driver for an non existent streamer
 and use it to write on disk?
 Or do I need a special software solution?

Evtl einen Systemupdate vor dem Bildschirm :)

 If you will excuse me ;), anybody knows if it exists a comparable solution
 under Linux?

Ja - Dateien funktionieren sogar auf dem C64.

-- 
B.Walter  COSMO-Project http://www.cosmo-project.de
[EMAIL PROTECTED] Usergroup   [EMAIL PROTECTED]


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



Re: virtual tape or streamer device for backup purposes possible

2003-01-21 Thread Bernd Walter
Sorry - for the german reply, but Christian has BBC'ed his message to
the german Cosmo-Project mailing list.
I did noticed it to late...

-- 
B.Walter  COSMO-Project http://www.cosmo-project.de
[EMAIL PROTECTED] Usergroup   [EMAIL PROTECTED]


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



Re: USB Mass Storage device

2002-12-13 Thread Bernd Walter
On Tue, Nov 26, 2002 at 11:36:45AM +0800, Seo Boon, NG wrote:
 This is the dmesg when the notebook during my reboot. The message doesn't appear
 when the USB device connects to notebook when it's running, hence I'm assumming
 that the kernel couldn't see the device. Is there any means to get the kernel
 see the USB device when I connect the device online i.e the notebook is
 running? I think rebooting my notebook everytime when I connect the USB isn't a
 viable option :)

Is usbd running?
Do you have /dev/usb* entries for all usb channels?

-- 
B.Walter  COSMO-Project http://www.cosmo-project.de
[EMAIL PROTECTED] Usergroup   [EMAIL PROTECTED]


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



Re: USB Mass Storage device

2002-12-13 Thread Bernd Walter
On Sat, Dec 14, 2002 at 07:31:00AM +0800, Seo Boon, NG wrote:
 |  Do you have /dev/usb* entries for all usb channels?
 
 I don't seems to have all the usb* entry. Sorry I'm unfamiliar with usb setup,
 any idea how do I get it fixed? Thanks.

cd /dev  sh MAKEDEV usb1 usb2

-- 
B.Walter  COSMO-Project http://www.cosmo-project.de
[EMAIL PROTECTED] Usergroup   [EMAIL PROTECTED]


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



can't load kernel on 386 system

2002-12-01 Thread Walter
I've installed a minimal+docs generic system on
500-somethingMB HD, and I'm trying to run it on
a 386, 8Mb RAM computer.
It fails at
elf_loadexec: archsw.readin failed
can't load module '/kernel': input/output error
Because of the small HD, and the fact that the /var
and the /tmp partitions never use over a few hundred
blocks on my Pentium computer, I made them 32Mb each
for the 386, but accepted the defaults for the /
and the Swap partitions; the /usr partition got the
remainder of the HD.
Am I seeing a configuration error, a MB error, other?
Any thoughts?

Thanks.

Walter


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



Re: Epson Stylus Color installation problem

2002-11-17 Thread Bernd Walter
On Sun, Nov 17, 2002 at 06:37:38PM +0100, [EMAIL PROTECTED] wrote:
 I did not see any recommendation in the Handbook to set up 
 communication mode with usb printers. When I run lptcontrol ... the 
 answer is ioctl : Operation  not supported by the device. Is it normal 
 ? Is there anything to change in the kernel to set the mode to polled or 
 interrupt ?

You are connecting to usb!
lptcontrol is for - well for the lpt device - lpt != ulpt.
Does dmesg show succesfull probing of ulpt0?
Do you have usbd_enable=YES in /etc/rc.conf?
Are you using /dev/ulpt0 and -not- /dev/lpt0?
Can you print with echo test  /dev/ulpt0?

-- 
B.Walter  COSMO-Project http://www.cosmo-project.de
[EMAIL PROTECTED] Usergroup   [EMAIL PROTECTED]


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



Re: FreeBSD filesystem 1TB Limit

2002-11-05 Thread Walter
This is no doubt heresy coming from a newbie especially,
but I was reading that NetBSD can support at least up to
4TB:
   http://www.netbsd.org/Misc/features.html#large-filesystems

Walter

Lowell Gilbert wrote:

 Joseph Gleason [EMAIL PROTECTED] writes:

  IIRC There was a 1TB limit on the size of any filesystem (or actually of any
  block device) in FreeBSD based the kernel internaly using a 512 byte block
  size and having a max of 2^31 blocks. (512*2^31 = 2^40 = 1TB)
 
  Do I remember correctly?

 Close, but not quite.  The kernel doesn't deal with blocks internally,
 and the block size used by the filesystem is 16k by default.


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



HTTP access

2002-11-04 Thread Walter
Hi,

  Another newbie question, this time dealing with HTTP
access from the world.

   I'm running apache on my FreeBSD computer, which
is also my gateway.  I can telnet  FTP to it from my
Mac on the local network and from an outside connection
(the world).  I can access it by http locally both through
a local IP address and through the ISP-assigned IP (via
DHCP).  But I can't access it by http from the world.
My neighbor's AOL account tells me it finds the server
(my computer) but then times out.

   Any thoughts as to what's wrong?  I'm using the OPEN
firewall that comes with the GENERIC build.

Thanks.

Walter


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



Re: HTTP access

2002-11-04 Thread Walter
Ty,

   At your suggestion that it was the ISP blocking
port 80, I found the configuration line to enable
Apache to listen on another port and added one,
which now allows my neighbor's computer to
access mine through http.  Thanks for the pointer.
I wonder if they'll eventually block this other port
number also.  I guess time will tell.

Walter

Ty Hoeffer wrote:

 It will probably require a call to their tech support.

 One thing you could try is trafshow. It will display incoming  outgoing
 traffic, its port, the protocol being used, and the chars/sec invilved
 in the conversation. That or capture the traffic with Ethereal. Both of
 these apps are in the ports.

 Ty

 On Monday 04 November 2002 01:34 pm, you wrote:
  They may be.  Do you know how can I tell for certain?
  It's cable-modem access, btw.
 
  Ty Hoeffer wrote:
   Is your ISP blockong PORT 80
  
   Ty
  
   On Monday 04 November 2002 12:25 pm, Walter wrote:
Hi,
   
  Another newbie question, this time dealing with HTTP
access from the world.
   
   I'm running apache on my FreeBSD computer, which
is also my gateway.  I can telnet  FTP to it from my
Mac on the local network and from an outside connection
(the world).  I can access it by http locally both through
a local IP address and through the ISP-assigned IP (via
DHCP).  But I can't access it by http from the world.
My neighbor's AOL account tells me it finds the server
(my computer) but then times out.
   
   Any thoughts as to what's wrong?  I'm using the OPEN
firewall that comes with the GENERIC build.
   
Thanks.
   
Walter


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



incorrect super block

2002-11-03 Thread Walter
Hi,

   I added a 3 GB HD to my FreeBSD computer (as a second
drive).  I used /stand/sysinstall to 'fdisk' and 'label' it.  But
when I try to mount it with 'mount /dev/ad3s1e /data' it
complains of an incorrect super block.  Any solutions?

Thanks.

Walter


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



Re: incorrect super block

2002-11-03 Thread Walter
OK, Thanks.  Fixed.
It looks like I forgot to W (Write) the partiion edit
when doing the label.  Thanks and sorry for the bother.


Matthew Seaman wrote:

   newfs /dev/ad3s1e
 
  When I do this it says the 'e' partition is unavailable

 What's the output from:

 disklabel -r ad3s1

 There should be a line for the 'e' partition, and the fstype should be
 4.2BSD

   tunefs -n enable /dev/ad3s1e
   mount -t ufs /dev/ad3s1e /data

 Cheers,

 Matthew


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



4.6.2 spurious reboot, fwiw

2002-10-26 Thread Walter
As a newbie reading the e-mails in the forum, I'd
like to mention that the log (from 'last') shows my
FBSD 4.6.2 system rebooted a little after 2 last night.
I had 'telnet'ed' in and had been playing some games
but had logged off by 10:30 and didn't log in again
until 7ish this morning.

Fwiw, I'm very new to *nix and have been leaving
the FBSD box on all the time, connected to the internet
via cable-modem, with an open firewall, with telnet
and ftp emabled. :-]  So security is very low...
I had also recently recompiled a I586_CPU build,
among other changes.

(Maybe this has bearing on the 4.7 is rebooting on its
own posts, maybe not, but I'd thought I'd mention this,
as the best hidden bugs are the ones that have been there
for a while but only really manifest themselves later on.)

Walter


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



Re: 4.6.2 spurious reboot, fwiw

2002-10-26 Thread Walter

Matthew Seaman wrote:

 On Sat, Oct 26, 2002 at 08:56:58AM -0500, Walter wrote:
  .. my
  FBSD 4.6.2 system rebooted a little after 2 last night.

 Do you have a UPS?  Sounds to me like you had a momentary dip in the
 mains voltage.  PC's can be very sensitive to that sort of thing, and
 will reboot themselves when other equipment (clocks, radios, videos)
 just carry on reguardless.

Yes, I do.  So, I checked it by pulling its pull out of the
wall (while the HD was not active, no log-ons, etc.).  The
computer stopped.  It looks like my UPS battery is dead.
A similar entry in the log appeared after reboot as appeared
for 2 am.  Good call.

 Of course, simply by running FreeBSD you've foxed 99% of the script
 kiddies and nasty-ware out in the wild.  But that's no cause for
 complacency: any one fancy a dose of the Scalper worm?

 Cheers,

 Matthew


Better securing my computer is in the plans, but after I
reinstall FBSD after claiming the 600MB of the HD I
left for DOS and dual-boot.  After getting FBSD running,
I can't think of a reason to hold onto DOS any more.

Thanks.

Walter

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



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: Mac can't connect to Internet

2002-10-23 Thread Walter
I pulled the 'nameserver' addresses from /etc/resolv.conf.
That seems to fix it.  Thanks!

W.

Tony M. wrote:

 It sounds like you don't have the DNS entries correct on the Mac.  Make
 sure to set up your Name Server Entries in your tcp/ip control panel.

 Tony

 But, after several minutes I clicked to check my e-mail
 and got an error saying it could find the mail server.  I
 went back to the newsgroup to now get a similar can't
 find the server error.  I could still ping the world.


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



Re: Mac can't connect to Internet

2002-10-22 Thread Walter
Hi,

   I was wondering what the resolution was to this, as
I (a *nix newbie) am trying to accomplish a very
similar thing: OS 10.1 via hub to a Pentium running
FBSD 4.6.2 to a cable-modem internet connection.
I can't get past the FBSD box from the Mac though
the FBSD box can see the internet just fine. (The
firewall is disabled. And I can ping, telnet,  FTP
from the Mac to FBSD just fine.)

Thanks.

Walter

Alex wrote:

 Friday, October 18, 2002, 6:31:35 PM, you wrote:

 snip
  I added a Powerbook, OS X, to the local network, configured /etc/hosts
  and /etc/resolv.conf. PB can ping the other boxes ok, but can't see the
  Internet. The other boxes can ping the PB ok. Looks like a firewall
  problem. If I connect the PB to the cable modem directly, the PB
  connects ok.
 snip

 Is the mac able to use the internet without the firewall? (Remove the
 firewall lines from rc.conf with '#' and try loading the GENERIC
 kernel at the kernel prompt). If so reboot and change the
 *deny/block/ect* line of the firewall and add the 'log' keyword(man
 ipfw to find out how to use this) to each of them. Check
 /var/log/security if you can see the mac being blocked by your
 firewall. (It will tell you what rule blocked your mac).

 I hope this is helpful, if not send me the output of 'ipfw s' and
 'tail -n 100 /var/log/security' and i'll take a look.

  What am I doing wrong? Thanks.

  Michael Heyes



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



Re: Mac can't connect to Internet

2002-10-22 Thread Walter
I had actually tried it with the firewall enabled previously,
but because that had not worked either, had disabled
hoping it would work after (mis-?)reading a post here.
But it seems now that I failed to recompile the kernel
with IPFIREWALL and IPDIVERT, so I'll check back
once that's done and tested.
(Fwiw, the configuration I'm trying to implement is:
 Cable-Modem = FBSD = hub = Mac, PC, etc.)

Walter

David Kelly wrote:

 On Tuesday 22 October 2002 01:24 pm, Kevin Stevens wrote:
 
  Two things:
 
  - Is the FreeBSD box set to act as a router (packet forwarding on)?
If another machine behind the BSD box can connect to the Internet
it would answer that question.
 
  - Is the FreeBSD box set as the default router in the OS X box'
  settings?

 To which I'll add that it was not obvious in the original posting
 whether or not the FreeBSD system had two NICs or whether everything
 was connected to the hub/switch including cable modem.

 Walter said the firewall was disabled. So I'm guessing he is a long way
 from getting the Mac connected. Would be surprised if he has more than
 one IP address from his ISP (earthlink?), which would be required
 without NAT. And the firewall is needed to apply the divert rule to get
 NAT.

 In setting up my firewall I found this URL very handy:
 http://www.mostgraveconcern.com/freebsd/

 Specifically is this one which I believe was the most help:
 http://www.mostgraveconcern.com/freebsd/ipfw.html



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



<    1   2   3   4