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 Kevin Stevens


On Tue, 22 Oct 2002, Walter wrote:

 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

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?

KeS


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 David Kelly
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

-- 
David Kelly N4HHE, [EMAIL PROTECTED]
=
The human mind ordinarily operates at only ten percent of its
capacity -- the rest is overhead for the operating system.

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



Re: Mac can't connect to Internet

2002-10-22 Thread David Kelly
On Tuesday 22 October 2002 07:55 pm, Walter wrote:
 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.)

Is probably best to compile those into the kernel but IPFW will be 
kldload(1)'ed by the /etc/rc.* scripts if enabled. As for divert, I 
don't remember. Custom kernel is a sure thing.

On reboot, start by proving the connection between Mac and FreeBSD 
works. Then FreeBSD to ISP. Then work on Mac thru FreeBSD to ISP.

-- 
David Kelly N4HHE, [EMAIL PROTECTED]
=
The human mind ordinarily operates at only ten percent of its
capacity -- the rest is overhead for the operating system.

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-19 Thread mh
On Friday, October 18, 2002, at 01:21 PM, Mark Thomas wrote:


At 11:31 AM 10/18/02 -0500, you wrote:

I have FreeBSD, 4.7 Stable running as a gateway box, with a Debian box
also on the network. The gateway is connected to a Comcast cable 
modem,
and is running ipfw as a firewall. Both boxes can see/connect each 
other
and the Internet.

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.

It appears that the PB is trying to send UDP packets out on port 67, 
so
I tried to open up the firewall for UDP traffic (not a good idea?) but
still can't see outside the local network. Attached is my rc.firewall.
In /etc/rc.conf I have firewall_type=open and added some rules to 
the
open section in rc.firewall.

What am I doing wrong? Thanks.

Is the powerbook set to use the gateway as a gateway?


Mark Thomas
---
[EMAIL PROTECTED]  http://www.pbegames.com/~thomas
Play by Electron Games - http://www.pbegames.com Free Trial Games



This was exactly the problem. It occurred to me while I was at work.
 I needed to provide the ip to the gateway. Easy fix, sorry for the 
noise,
thanks for the reply.

Also sorry for the formatting of this if it's screwed up.

Michael Heyes


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