Re: I want a laptop to connect to Internet via satelitte

2009-06-04 Thread Wojciech Puchar


I have a laptop and I was looking at the AT&T LaptopConnect cards.  They 
appear to only work with Windows.  I do need windows support, but I insist on 
FreeBSD support.


I tried looking at the hardware and release notes for FreeBSD, but what do 
you call these devices to distinguish them from wireless ethernet?

--
just plug that card and look what dmesg says. Usually marketing people 
don't even know if it work under anything else. You have to check

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: I want a laptop to connect to Internet via satelitte

2009-06-04 Thread Roland Smith
On Thu, Jun 04, 2009 at 12:22:22PM -0400, Steven Friedrich wrote:
> I have a laptop and I was looking at the AT&T LaptopConnect cards.  They 
> appear to only work with Windows.  I do need windows support, but I 
> insist on FreeBSD support.

According to
http://www.wireless.att.com/businesscenter/solutions/wireless-laptop/laptop-connect.jsp
LaptopConnect cards work via GSM/EDGE networks, not via satellite. They
also require something called "AT&T Communication Manager" which is
windows-only, AFAICT.

In short, don't bother with these cards.


Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpJIjI3U46VT.pgp
Description: PGP signature


I want a laptop to connect to Internet via satelitte

2009-06-04 Thread Steven Friedrich
I have a laptop and I was looking at the AT&T LaptopConnect cards.  They 
appear to only work with Windows.  I do need windows support, but I 
insist on FreeBSD support.


I tried looking at the hardware and release notes for FreeBSD, but what 
do you call these devices to distinguish them from wireless ethernet?

--

Steven Friedrich
Lexington, KY 40509
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: cannot connect to Internet...http proxy?

2005-08-11 Thread vittorio
Alle 05:44, giovedì 11 agosto 2005, perikillo ha scritto:
> On 02 Aug 2005 09:35:31 -0400, Lowell Gilbert
>
> <[EMAIL PROTECTED]> wrote:
> > perikillo <[EMAIL PROTECTED]> writes:
> > >   In my work, we connect to the internet over one http proxy
> > > (squid) running on fedora, with windows(98/2k/xp) we dont have any
> > > problem to acces to the outside. I have my user and password, the
> > > proxy have the IP: 192.168.1.2 Port 3128
> > >
> > >   I need to access to the internet to update my system because i
> > > only download the mini-iso, and i need to update ports and kernel, i
> > > need to install some packages, but went the /stand/sysinstall ask me
> > > how i want to connect to the internet i chose HTTP Proxy, them he ask:
> > >
> > > Please enter the address of the http proxy in this format:
> > > hostname: port (the ':port' is optional, default is 3128 )
> > >
> > >I give the IP of my proxy: 192.168.1.2, but he dont ask my user and
> > > password, and say:
> > >
> > > "No Such directory: ftp://ftp4.freebsd.org/pub/FreeBSD
> > > /snapshots/i386/5.3-RELEASE please check URL and try again"
> > >
> > >   We use one DHCP server with windows that give the IP, i receive the
> > > IP, but still cannot connect my freebsd box to the internet, some docs
> > > say that if we receive our IP address from some DHCP we dont need to
> > > worry about the DNS. I dont have nothing on /etc/resolv.conf
> > >
> > >   Our subnet is W.X.2.Z  --> my IP is 192.168.2.22
> > >
> > >   I forget something?, i need to ask something more to the person is
> > > in charge of the Internet access?
> > >
> > >   I really need to setup freebsd, because we need to test some
> > > software before next friday. Hope you could help me, thanks.
> >
> > Set the HTTP_PROXY environment variable.
> > See "man 3 fetch".
>
>Ok, i still have problems connecting my freebsd 5.3 to the outside,
> i read man 3 fetch and have this examples:
>
>  man 3 fetch
> EXAMPLES
>  To access a proxy server on proxy.example.com port 8080, set the
>  HTTP_PROXY environment variable in a manner similar to this:
>
>HTTP_PROXY=http://proxy.example.com:8080
>
>  If the proxy server requires authentication, there are two options
> avail- able for passing the authentication data.  The first method is by
> using the proxy URL:
>
>HTTP_PROXY=http://:@proxy.example.com:8080
>
>  The second method is by using the HTTP_PROXY_AUTH environment
> variable:
>
>HTTP_PROXY=http://proxy.example.com:8080
>HTTP_PROXY_AUTH=basic:*::
> *** end man 3 fetch*
>
>   Them i add this to my /root/.cshrc
>
>   setenv HTTP_PROXY http://myusername:[EMAIL PROTECTED]:3128
>   setenv http_proxy http://myusername:[EMAIL PROTECTED]:3128
>
>Where 192.168.1.2 is my internal proxy(squid), that let goes out
> side, that proxy is begin the firewall, all running on fedora on the
> same box, is my setup correct or i didnt understand well?
>
> I dont get it, it looks very easy, any tip there?




Put
 FETCH_ENV= HTTP_PROXY=http://:@proxy.example.com:8080
FETCH_ENV= FTP_PROXY=http://:@proxy.example.com:8080

in file /etc/make.conf
It works for me!!

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


Re: cannot connect to Internet...http proxy?

2005-08-10 Thread perikillo
On 02 Aug 2005 09:35:31 -0400, Lowell Gilbert
<[EMAIL PROTECTED]> wrote:
> perikillo <[EMAIL PROTECTED]> writes:
> 
> >   In my work, we connect to the internet over one http proxy
> > (squid) running on fedora, with windows(98/2k/xp) we dont have any
> > problem to acces to the outside. I have my user and password, the
> > proxy have the IP: 192.168.1.2 Port 3128
> >
> >   I need to access to the internet to update my system because i
> > only download the mini-iso, and i need to update ports and kernel, i
> > need to install some packages, but went the /stand/sysinstall ask me
> > how i want to connect to the internet i chose HTTP Proxy, them he ask:
> >
> > Please enter the address of the http proxy in this format:
> > hostname: port (the ':port' is optional, default is 3128 )
> >
> >I give the IP of my proxy: 192.168.1.2, but he dont ask my user and
> > password, and say:
> >
> > "No Such directory: ftp://ftp4.freebsd.org/pub/FreeBSD
> > /snapshots/i386/5.3-RELEASE please check URL and try again"
> >
> >   We use one DHCP server with windows that give the IP, i receive the
> > IP, but still cannot connect my freebsd box to the internet, some docs
> > say that if we receive our IP address from some DHCP we dont need to
> > worry about the DNS. I dont have nothing on /etc/resolv.conf
> >
> >   Our subnet is W.X.2.Z  --> my IP is 192.168.2.22
> >
> >   I forget something?, i need to ask something more to the person is
> > in charge of the Internet access?
> >
> >   I really need to setup freebsd, because we need to test some
> > software before next friday. Hope you could help me, thanks.
> 
> Set the HTTP_PROXY environment variable.
> See "man 3 fetch".
> 

   Ok, i still have problems connecting my freebsd 5.3 to the outside,
i read man 3 fetch and have this examples:

 man 3 fetch
EXAMPLES
 To access a proxy server on proxy.example.com port 8080, set the
 HTTP_PROXY environment variable in a manner similar to this:

   HTTP_PROXY=http://proxy.example.com:8080

 If the proxy server requires authentication, there are two options avail-
 able for passing the authentication data.  The first method is by using
 the proxy URL:

   HTTP_PROXY=http://:@proxy.example.com:8080

 The second method is by using the HTTP_PROXY_AUTH environment variable:

   HTTP_PROXY=http://proxy.example.com:8080
   HTTP_PROXY_AUTH=basic:*::
*** end man 3 fetch*

  Them i add this to my /root/.cshrc

  setenv HTTP_PROXY http://myusername:[EMAIL PROTECTED]:3128
  setenv http_proxy http://myusername:[EMAIL PROTECTED]:3128

   Where 192.168.1.2 is my internal proxy(squid), that let goes out
side, that proxy is begin the firewall, all running on fedora on the
same box, is my setup correct or i didnt understand well?

I dont get it, it looks very easy, any tip there? 

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


Re: cannot connect to Internet...http proxy?

2005-08-02 Thread Lowell Gilbert
perikillo <[EMAIL PROTECTED]> writes:

>   In my work, we connect to the internet over one http proxy
> (squid) running on fedora, with windows(98/2k/xp) we dont have any
> problem to acces to the outside. I have my user and password, the 
> proxy have the IP: 192.168.1.2 Port 3128
> 
>   I need to access to the internet to update my system because i
> only download the mini-iso, and i need to update ports and kernel, i
> need to install some packages, but went the /stand/sysinstall ask me
> how i want to connect to the internet i chose HTTP Proxy, them he ask:
> 
> Please enter the address of the http proxy in this format: 
> hostname: port (the ':port' is optional, default is 3128 )
> 
>I give the IP of my proxy: 192.168.1.2, but he dont ask my user and
> password, and say:
> 
> "No Such directory: ftp://ftp4.freebsd.org/pub/FreeBSD
> /snapshots/i386/5.3-RELEASE please check URL and try again"
> 
>   We use one DHCP server with windows that give the IP, i receive the
> IP, but still cannot connect my freebsd box to the internet, some docs
> say that if we receive our IP address from some DHCP we dont need to
> worry about the DNS. I dont have nothing on /etc/resolv.conf
> 
>   Our subnet is W.X.2.Z  --> my IP is 192.168.2.22
> 
>   I forget something?, i need to ask something more to the person is
> in charge of the Internet access?
> 
>   I really need to setup freebsd, because we need to test some
> software before next friday. Hope you could help me, thanks.

Set the HTTP_PROXY environment variable.
See "man 3 fetch".
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


cannot connect to Internet...http proxy?

2005-07-31 Thread perikillo
   Hi all.

  In my work, we connect to the internet over one http proxy
(squid) running on fedora, with windows(98/2k/xp) we dont have any
problem to acces to the outside. I have my user and password, the 
proxy have the IP: 192.168.1.2 Port 3128

  I need to access to the internet to update my system because i
only download the mini-iso, and i need to update ports and kernel, i
need to install some packages, but went the /stand/sysinstall ask me
how i want to connect to the internet i chose HTTP Proxy, them he ask:

Please enter the address of the http proxy in this format: 
hostname: port (the ':port' is optional, default is 3128 )

   I give the IP of my proxy: 192.168.1.2, but he dont ask my user and
password, and say:

"No Such directory: ftp://ftp4.freebsd.org/pub/FreeBSD
/snapshots/i386/5.3-RELEASE please check URL and try again"

  We use one DHCP server with windows that give the IP, i receive the
IP, but still cannot connect my freebsd box to the internet, some docs
say that if we receive our IP address from some DHCP we dont need to
worry about the DNS. I dont have nothing on /etc/resolv.conf

  Our subnet is W.X.2.Z  --> my IP is 192.168.2.22

  I forget something?, i need to ask something more to the person is
in charge of the Internet access?

  I really need to setup freebsd, because we need to test some
software before next friday. Hope you could help me, thanks.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Connect to Internet

2004-04-08 Thread RazorOnFreeBSD
No I didn't... Here is my "netstat -r" output :

DestGatewayFlagsRefs
Use Netif

Razor  12.103.21.1  UGSc   2
105rl0
12.103.21/24   link#1   UC   1
0rl0
12.103.21.1 link#1   UHLW 3
2rl0
localhost   localhost   UH   0
0lo0
192.168.1link#2   UC   1
0dc0
kitty.my.domain00:06:5b:b4:41:1c UHLW 0 0
dc0

But here I now have some conf files and other outputs to show you, that
would be helpful :

ifconfig outputs :

rl0: flags=8843 mtu 1500
 inet 12.103.21.x netmask 0xff00 broadcast 12.103.21.255
 inet6 ...
 ether ...
 media: Ethernet autoselect (100baseTX )
 status: Active

dc0: flags=8843 mtu 1500
 inet 192.168.1.1 netmask 0xff00 broadcast 192.168.1.255
 inet6 ...
 ether ...
 media: Ethernet autoselect (10baseT/UTP)
 status: Active


--
resolv.conf :

domainRazor
nameserver  12.127.16.83 #those two ip's are my current dns server under
the windows station... they work.
nameserver  12.127.17.83

--
hosts :

::1localhost
localhost.my.domain
127.0.0.1localhost  localhost.my.domain
192.168.1.1Razor.my.domain Razor
192.168.1.15  razor_work.my.domainrazor_work
192.168.1.16  Kitty.my.domain  Kitty

--
rc.conf :

defaultrouter="12.103.21.1"
gateway_enable="YES"hostname="Razor"

ifconfig_rl0="inet 12.103.21.x netmask 255.255.255.0"
ifconfig_dc0="inet 192.168.1.1 netmask 255.255.255.0"
inetd_enable="NO"
kern_securelevel="2"
kern_securelevel_enable="NO" # I did that because it was required to rebuild
the kernel up to a website
keymap="fr.iso.acc"
linux_enable="YES"
nfs_server_enable="NO"
sendmail_enable="NO"
sshd_enable="NO"
usdb_enable="NO"
firewall_enable="YES"
firewall_type="OPEN"
firewall_quiet="NO"
natd_enable="YES"
natd_interface="rl0"
natd_flags="/etc/fw/natdy.conf"
tcp_drop_synfin="YES"

--
natdy.conf :

unregistered_only
interface rl0
use_sockets
punch_fw 2000:50

--
sysctl.conf :

net.inet.tcp.strict_rfc1918=1
net.inet.ip.check_interface=1
net.inet.tcp.blackhole=1
net.inet.udp.blackhole=2

Tell me if you need other informations 
If I can connect Internet with the Freebsd box That would be great!

Thanks a lot for helping.

razor.




- Original Message - 
From: "Kevin D. Kinsey, DaleCo, S.P." <[EMAIL PROTECTED]>
To: "RazorOnFreeBSD" <[EMAIL PROTECTED]>
Sent: Thursday, April 08, 2004 2:44 AM
Subject: Re: Connect to Internet


> RazorOnFreeBSD wrote:
>
> >Ok I tried like you said Kevin to do a traceroute on 12.103.21.1 wich is
> >what ISP call "default gateway".
> >It didn't work, the result looked like this :
> >
> >1 * * *
> >2 * * *
> >3 * * *
> >4 * * *
> >etc
> >
> >I wasn't patient enough for the fifth one!
> >So I looked in resolv.conf and there was the IP of a DNS server :
> >12.127.17.83. I know this one works because I'm using it under windows
> >currently.
> >I decided to try this command : route add default 12.103.21.1
> >and maybe I was wrong, but I put this address also in the resolv.conf
file
> >before the other DNS entry.
> >Then I rebooted and Traceroute and same results..
> >
> >1 * * *
> >2 * * *
> >3 * * *
> >4 * * *
> >etc
> >
> >what do you think ?
> >
> >
> >
>
> I've no idea, for sure.  You've still not shown
> us your `netstat' output, have you?  Or did I
> miss it somewhere...
>
> Hmm, try:
>
> #route add default 12.123.197.114
>
> ---KDK


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


Re: Connect to Internet

2004-04-07 Thread RazorOnFreeBSD
Ok I tried like you said Kevin to do a traceroute on 12.103.21.1 wich is
what ISP call "default gateway".
It didn't work, the result looked like this :

1 * * *
2 * * *
3 * * *
4 * * *
etc

I wasn't patient enough for the fifth one!
So I looked in resolv.conf and there was the IP of a DNS server :
12.127.17.83. I know this one works because I'm using it under windows
currently.
I decided to try this command : route add default 12.103.21.1
and maybe I was wrong, but I put this address also in the resolv.conf file
before the other DNS entry.
Then I rebooted and Traceroute and same results..

1 * * *
2 * * *
3 * * *
4 * * *
etc

what do you think ?


- Original Message - 
From: "Kevin D. Kinsey, DaleCo, S.P." <[EMAIL PROTECTED]>
To: "Remko Lodder" <[EMAIL PROTECTED]>
Cc: "RazorOnFreeBSD" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Wednesday, April 07, 2004 11:07 PM
Subject: Re: Connect to Internet


> Remko Lodder wrote:
>
> > RazorOnFreeBSD wrote:
> >
> >> Hello,
> >>
> >> I just setup a freebsd box with the 5.1 release to be a
> >> gateway/firewall.
> >> The installation was smooth and to setup the gateway/firewall with
> >> nat a lot
> >> of sources are available on Internet.
> >> Here is my problem, I can't connect to Internet from the Freebsd box.
> >> I have DSL and my ISP is AT&T, I have a static IP wich means I don't
> >> need to run PPP to connect.
> >>
> >> FreeBSD Internet NIC is : 12.103.20.x
> >>
> >> When I type ifconfig my NIC looks fine, up and running :
> >>
> >> rl0 : 12.103.20.x
> >>
> >> For information the freebsd box contains 2 NIC's one for Internet
> >> the other for the LAN (192.168.1.1)
> >>
> >> If I ping myself no problem everything's fine, but I can't ping a web
> >> address. I don't know if it is possible under unix but I use to
> >> "ping www.yahoo.com" for example to know if it's well
> >> connected. But the best proof is when I try to install samba
> >> my freebsd gives a time out reaching the samba server on the web
> >>
> >
> > Do you have dns servers listed in /etc/resolv.conf?
> > nameserver 
> > nameserver 
> >
> > arp -n -a , does that mention the router's ip and mac addres?
> >
> > Try it (:
>
>
> What's the default route?  TCP/IP requires (amongst other things)
> an address and a default route.  Here's one of mine:
>
> % netstat -rn
> Routing tables
>
> Internet:
> DestinationGatewayFlagsRefs  Use
> Netif Expire
> default66.76.96.1  UGS 0
> 17570   xl0
>
> Probably your second action, after pinging localhost and your
> local IP but before pinging Yahoo, should be a ping off the
> "next-hop" gateway.  Your ISP should have told you this, and
> it should probably be in /etc/rc.conf as "defaultrouter"...
>
> Or, try traceroute(1) with some address (66.218.71.112
> will get you Yahoo!) and see what happens.
>
> If you get a "no route to host" or similar, it's your IP
> configuration; if it's "unknown host yahoo.com", it's
> your name resolution, as Remko was pointing out.
>
> If you have an IP addy but no gw, then you need to
> run, as root:
>
> #route add default ip.of.isp.gw
>
> HTH,
>
> Kevin Kinsey
> DaleCo, S.P.
>


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


Re: Connect to Internet

2004-04-07 Thread RazorOnFreeBSD
yes maybe you're right
when I try your command "arp -n -a" it returns two lines

The first one is the at&t gateway : 12.103.21.1. I guess it's the entry
point to there backbone !?
But there is no MAC address coming with... instead I have the mention
"incomplete" . That could be my problem ??? If it is where could I find this
particular MAC address ? Do I have to call them ? Or my setup was wrong ?

I also have a second line referencing the freebsd box itself by the internal
LAN NIC : 192.1668.1.1 with a MAC address is it normal ???


> RazorOnFreeBSD wrote:
> > Hello,
> >
> > I just setup a freebsd box with the 5.1 release to be a
gateway/firewall.
> > The installation was smooth and to setup the gateway/firewall with nat a
lot of sources are available on Internet.
> > Here is my problem, I can't connect to Internet from the Freebsd box.
> > I have DSL and my ISP is AT&T, I have a static IP wich means I don't
need to run PPP to connect.
> >
> > FreeBSD Internet NIC is : 12.103.20.x
> >
> > When I type ifconfig my NIC looks fine, up and running :
> >
> > rl0 : 12.103.20.x
> >
> > For information the freebsd box contains 2 NIC's one for Internet the
other for the LAN (192.168.1.1)
> >
> > If I ping myself no problem everything's fine, but I can't ping a web
address. I don't know if it is possible under unix but I use to "ping
www.yahoo.com" for example to know if it's well connected. But the best
proof is when I try to install samba my freebsd gives a time out reaching
the samba server on the web
> >
>
> Do you have dns servers listed in /etc/resolv.conf?
> nameserver 
> nameserver 
>
> arp -n -a , does that mention the router's ip and mac addres?
>
> Try it (:
>
>
>
>
> -- 
>
> Kind regards,
>
> Remko Lodder
> Elvandar.org/DSINet.org
> www.mostly-harmless.nl A Dutch community for helping newcomers on the
> hackerscene
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
"[EMAIL PROTECTED]"
>


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


Re: Connect to Internet

2004-04-07 Thread Kevin D. Kinsey, DaleCo, S.P.
Remko Lodder wrote:

RazorOnFreeBSD wrote:

Hello,

I just setup a freebsd box with the 5.1 release to be a 
gateway/firewall.
The installation was smooth and to setup the gateway/firewall with 
nat a lot
of sources are available on Internet.
Here is my problem, I can't connect to Internet from the Freebsd box.
I have DSL and my ISP is AT&T, I have a static IP wich means I don't 
need to run PPP to connect.

FreeBSD Internet NIC is : 12.103.20.x

When I type ifconfig my NIC looks fine, up and running :

rl0 : 12.103.20.x

For information the freebsd box contains 2 NIC's one for Internet
the other for the LAN (192.168.1.1)
If I ping myself no problem everything's fine, but I can't ping a web
address. I don't know if it is possible under unix but I use to
"ping www.yahoo.com" for example to know if it's well
connected. But the best proof is when I try to install samba
my freebsd gives a time out reaching the samba server on the web
Do you have dns servers listed in /etc/resolv.conf?
nameserver 
nameserver 
arp -n -a , does that mention the router's ip and mac addres?

Try it (:


What's the default route?  TCP/IP requires (amongst other things)
an address and a default route.  Here's one of mine:
   % netstat -rn
   Routing tables
   Internet:
   DestinationGatewayFlagsRefs  Use  
Netif Expire
   default66.76.96.1  UGS 0
17570   xl0

Probably your second action, after pinging localhost and your
local IP but before pinging Yahoo, should be a ping off the
"next-hop" gateway.  Your ISP should have told you this, and
it should probably be in /etc/rc.conf as "defaultrouter"...
Or, try traceroute(1) with some address (66.218.71.112
will get you Yahoo!) and see what happens.
If you get a "no route to host" or similar, it's your IP
configuration; if it's "unknown host yahoo.com", it's
your name resolution, as Remko was pointing out.
If you have an IP addy but no gw, then you need to
run, as root:
   #route add default ip.of.isp.gw

HTH,

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


Re: Connect to Internet

2004-04-07 Thread Remko Lodder
RazorOnFreeBSD wrote:
Hello,

I just setup a freebsd box with the 5.1 release to be a gateway/firewall.
The installation was smooth and to setup the gateway/firewall with nat a lot of 
sources are available on Internet.
Here is my problem, I can't connect to Internet from the Freebsd box.
I have DSL and my ISP is AT&T, I have a static IP wich means I don't need to run PPP 
to connect.
FreeBSD Internet NIC is : 12.103.20.x

When I type ifconfig my NIC looks fine, up and running :

rl0 : 12.103.20.x

For information the freebsd box contains 2 NIC's one for Internet the other for the LAN (192.168.1.1)

If I ping myself no problem everything's fine, but I can't ping a web address. I don't know if it is possible under unix but I use to "ping www.yahoo.com" for example to know if it's well connected. But the best proof is when I try to install samba my freebsd gives a time out reaching the samba server on the web

Do you have dns servers listed in /etc/resolv.conf?
nameserver 
nameserver 
arp -n -a , does that mention the router's ip and mac addres?

Try it (:



--

Kind regards,

Remko Lodder
Elvandar.org/DSINet.org
www.mostly-harmless.nl A Dutch community for helping newcomers on the 
hackerscene
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Connect to Internet

2004-04-07 Thread RazorOnFreeBSD
Hello,

I just setup a freebsd box with the 5.1 release to be a gateway/firewall.
The installation was smooth and to setup the gateway/firewall with nat a lot of 
sources are available on Internet.
Here is my problem, I can't connect to Internet from the Freebsd box.
I have DSL and my ISP is AT&T, I have a static IP wich means I don't need to run PPP 
to connect.

FreeBSD Internet NIC is : 12.103.20.x

When I type ifconfig my NIC looks fine, up and running :

rl0 : 12.103.20.x

For information the freebsd box contains 2 NIC's one for Internet the other for the 
LAN (192.168.1.1)

If I ping myself no problem everything's fine, but I can't ping a web address. I don't 
know if it is possible under unix but I use to "ping www.yahoo.com" for example to 
know if it's well connected. But the best proof is when I try to install samba my 
freebsd gives a time out reaching the samba server on the web

I have setup a firewall_type="OPEN" because i'm still testing but I also setup natd 
and gateway variables in the rc.conf file to what is needed up to majority of websites 
about firewall and gateways with Freebsd.
I also rebuilt the kernel up to those websites wich was fine, and I created a 
natd.conf file.
One more thing I think I didn't use the Domain variable when I set up the NIC from 
sysinstall don't know if it's important!
Well I don't understand why it doesn't work The tech guy from at&t hotline told me 
it's easy as setup a LAN "yes you're right my LAN works fine but not Internet!" :S

Please somebody help me 

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


Re: I can't connect to internet. Plz help me

2003-12-11 Thread Shantanoo Mahajan
+++ nil ban [freebsd] [10-12-03 13:11 -0800]:
| Hello,
| I'm a novice linux user currently switched over to freebsd
| when many linux users told me that freebsd is real unix
| and only slackware is somehow matched with it. So I installed
| feeebsd 4.8 but I am getting few problems I can't handle.
| Kindly tell me how to do the following ; 
| I can't connect to internet. 
| Plz let me explain that.
| I have a username and password which my isp gave me to 
| use for having mail and surfing internet like 
| [EMAIL PROTECTED] and my mail servers
| names are mail.myisp.com(pop3)and smtp.mail.com.
| I tried using kpp and I could connect to my isp ( I am telling this
| because pppd does run ) but whenever I try to 
| visit a website it doesn't work, browser says unknown host.  
| I even tried xchat, it says something like "have u missspelled your host name ?".  I 
also don't know what  my host name is. Whenever 
| I type the command "hostname" in console it displays nothing and only cursor 
reappears. I installed it as it is describe in the handbook. Only thing I have done is 
place this entry "firewall_type=open" in rc.conf. I haven't changed anything in any 
configuration file apart from that. I have written this because it seemed the default 
firewall has got something to do with it but I ain't sure.  
| Please tell me in a step by step procedure so I will be able 
| to fix it.. I am gradually being depressed for that. 
| Here telephone charge is very costly and for that I can't stay
| connected and experiment for long.
|  
| Please help me.
|  
| P.S  I also can't send & receive mail using kmail inspite of giving all the
| required parameters.

what's the o/p of

# ipfw list

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


Re: I can't connect to internet. Plz help me

2003-12-10 Thread Nathan Kinkade
On Wed, Dec 10, 2003 at 01:11:22PM -0800, nil ban wrote:
> Hello,
> I'm a novice linux user currently switched over to freebsd when many
> linux users told me that freebsd is real unix and only slackware is
> somehow matched with it. So I installed feeebsd 4.8 but I am getting
> few problems I can't handle.  Kindly tell me how to do the following ;
> I can't connect to internet.  Plz let me explain that.  I have a
> username and password which my isp gave me to use for having mail and
> surfing internet like [EMAIL PROTECTED] and my mail servers names
> are mail.myisp.com(pop3)and smtp.mail.com.  I tried using kpp and I
> could connect to my isp ( I am telling this because pppd does run )
> but whenever I try to visit a website it doesn't work, browser says
> unknown host.  I even tried xchat, it says something like "have u
> missspelled your host name ?".  I also don't know what  my host name
> is. Whenever I type the command "hostname" in console it displays
> nothing and only cursor reappears. I installed it as it is describe in
> the handbook.  Only thing I have done is place this entry
> "firewall_type=open" in rc.conf. I haven't changed anything in any
> configuration file apart from that. I have written this because it
> seemed the default firewall has got something to do with it but I
> ain't sure.  Please tell me in a step by step procedure so I will be
> able to fix it.. I am gradually being depressed for that.  Here
> telephone charge is very costly and for that I can't stay connected
> and experiment for long.
>  
> Please help me.
>  
> P.S  I also can't send & receive mail using kmail inspite of giving
> all the required parameters.

Do you have DNS name resolution setup correctly on your machine?  Your
ISP should have given you at least one IP address for their DNS
server(s).  Make sure that you place these addresses in your
/etc/resolv.conf file.  Such as:

nameserver  1.2.3.4
nameserver  1.2.3.5

Also, while kppp tells you that you are connected, try pinging an IP
address instead of the domain name.  hotmail.com is 64.4.32.7 and
microsoft.com is 207.46.245.222.  Alternatively you could just plug
either of the IP addresses into your browser address bar.  If it still
doesn't work then you may be able to rule out a DNS issue.

Nathan
-- 
gpg --keyserver pgp.mit.edu --recv-keys D8527E49


pgp0.pgp
Description: PGP signature


Re: I can't connect to internet. Plz help me

2003-12-10 Thread Peter Risdon
nil ban wrote:

...

sp gave me to 
use for having mail and surfing internet like 
[EMAIL PROTECTED] and my mail servers
names are mail.myisp.com(pop3)and smtp.mail.com.
I tried using kpp and I could connect to my isp ( I am telling this
because pppd does run ) 

Do that then, once you are "connected", type:

ping 158.43.128.1

if you get no packets back, it's a problem with your ppp settings. If 
you do get packets back, type:

ping www.yahoo.com

if you get no packets back, it's your DNS settings. Look at 
/etc/resolv.conf - you should see at least one line like this:

nameserver ip.address.of.nameserver

If you don't add such a line (or two) with valid nameservers. Your ISP 
should give you such settings. If they haven't, you could use:

nameserver 158.43.128.1

but only temporarily - it's a Worldcom/MCI nameserver and might not live 
forever.

Oh, and set a hostname. (see man hostname).

PWR.



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


Re: I can't connect to internet. Plz help me

2003-12-10 Thread Charles Swiger
On Dec 10, 2003, at 4:11 PM, nil ban wrote:
I can't connect to internet.
[ ... ]
names are mail.myisp.com(pop3)and smtp.mail.com.
I tried using kpp and I could connect to my isp ( I am telling this
because pppd does run ) but whenever I try to
visit a website it doesn't work, browser says unknown host.
Sounds like /etc/resolv.conf hasn't been setup to point to valid DNS 
servers.  Try adding a line like:

nameserver 4.2.2.1

...to /etc/resolv.conf and see whether that solves your problem, only 
you should use the nameservers your ISP gives you if you know what they 
are.  You can also configure PPP to set this file up for you when you 
connect via the "enable dns" config option in /etc/ppp/ppp.conf.  
[Maybe for userland PPP rather than kernel-based PPP?]

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


Re: I can't connect to internet. Plz help me

2003-12-10 Thread Cordula's Web
> because pppd does run ) but whenever I try to 
> visit a website it doesn't work, browser says unknown host.  
> I even tried xchat, it says something like "have u missspelled your host name ?".  I 
> also don't know what  my host name is. Whenever 

Have you properly configured the DNS nameservers (which your ISP
should have told you) in /etc/resolv.conf?

-- 
Cordula's Web. http://www.cordula.ws/

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


I can't connect to internet. Plz help me

2003-12-10 Thread nil ban
Hello,
I'm a novice linux user currently switched over to freebsd
when many linux users told me that freebsd is real unix
and only slackware is somehow matched with it. So I installed
feeebsd 4.8 but I am getting few problems I can't handle.
Kindly tell me how to do the following ; 
I can't connect to internet. 
Plz let me explain that.
I have a username and password which my isp gave me to 
use for having mail and surfing internet like 
[EMAIL PROTECTED] and my mail servers
names are mail.myisp.com(pop3)and smtp.mail.com.
I tried using kpp and I could connect to my isp ( I am telling this
because pppd does run ) but whenever I try to 
visit a website it doesn't work, browser says unknown host.  
I even tried xchat, it says something like "have u missspelled your host name ?".  I 
also don't know what  my host name is. Whenever 
I type the command "hostname" in console it displays nothing and only cursor 
reappears. I installed it as it is describe in the handbook. Only thing I have done is 
place this entry "firewall_type=open" in rc.conf. I haven't changed anything in any 
configuration file apart from that. I have written this because it seemed the default 
firewall has got something to do with it but I ain't sure.  
Please tell me in a step by step procedure so I will be able 
to fix it.. I am gradually being depressed for that. 
Here telephone charge is very costly and for that I can't stay
connected and experiment for long.
 
Please help me.
 
P.S  I also can't send & receive mail using kmail inspite of giving all the
required parameters.



-
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


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-23 Thread Walter
Success - kind of.

Recompiling the kernel using the instructions here:
   http://www.mostgraveconcern.com/freebsd/kern.html
specifically:  make kernel KERNCONF=YOURKERNEL
yielded a compile error.
I tried again with the instructions here:
   http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-building.html
and it compiled and installed fine...

And it worked!  but only for a time.  As it happened, I
received a telephone call from someone who knows I
am trying to get FBSD running, and I (oh, so unwisely)
announced that it was working, for at that moment, I
had just power-cycled the cable-modem, moved the cable
connection over to the FBSD box while it was rebotting,
changed the Mac net config to talk to the FBSD box and
I was retieving various messages from a newsgroup just
fine.  I was also able to ping everything from a Mac terminal
session, even the outside world.

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.

Questions: What happened and what can I try to solve it?

Also, of curiosity: Why are not IPFIREWALL and
IPDIVERT included in the GENERIC kernel?

Thanks in advance.

Walter

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.)
>
> 
>
>
> David Kelly wrote:
>
> > 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-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 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 mh

On Tuesday, October 22, 2002, at 03:55 PM, [EMAIL PROTECTED] wrote:


Date: Tue, 22 Oct 2002 12:12:25 -0500
From: Walter <[EMAIL PROTECTED]>
Subject: Re: Mac can't connect to Internet

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:



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.


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





Sorry, I thought I had included the list when I replied previously. 
This is a bad thing when I have problems with a Mac mail program, eh?

The solution for me was to include the ip address to the gateway box in 
the "router" box that is in the Network settings. Once I told the Mac 
where to send/receive packets things worked fine. On Mac side, check 
the network settings to be sure that you are setting the ethernet 
manually, and that you specify the router address. Sounds like 
everything else is ok for you.

Again, sorry for not including the list...

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 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:
>
> 
> > 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.
> 
>
> 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-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


Mac can't connect to Internet

2002-10-18 Thread mh
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.

Michael Heyes




# Flush out the list before we begin.
#
${fwcmd} -f flush


# Network Address Translation.  All packets are passed to natd(8)
# before they encounter your remaining rules.  The firewall rules
# will then be run again on each packet after translation by natd
# starting at the rule number following the divert rule.
#
# For ``simple'' firewall type the divert rule should be put to a
# different place to not interfere with address-checking rules.
#
case ${firewall_type} in
[Oo][Pp][Ee][Nn]|[Cc][Ll][Ii][Ee][Nn][Tt])
case ${natd_enable} in
[Yy][Ee][Ss])
if [ -n "${natd_interface}" ]; then
${fwcmd} add 50 divert natd all from any to any
via ${natd_interface}
fi
;;
esac


# If you just configured ipfw in the kernel as a tool to solve network
# problems or you just want to disallow some particular kinds of traffic
# then you will want to change the default policy to open.  You can also
# do this as your only action by setting the firewall_type to ``open''. 
# 
# ${fwcmd} add 65000 pass all from any to any


# Only in rare cases do you want to change these rules
#
${fwcmd} add 100 pass all from any to any via lo0
${fwcmd} add 200 deny all from any to 127.0.0.0/8
#${fwcmd} add 300 deny ip from 127.0.0.0/8 to any

# Prototype setups.
#
case ${firewall_type} in
[Oo][Pp][Ee][Nn])
${fwcmd} add 300 check-state
${fwcmd} add 350 allow all from 192.168.0.0/16 to any
${fwcmd} add 352 allow ip from any to 192.168.0.0/16
${fwcmd} add 400 allow tcp from any to any in established
${fwcmd} add 410 pass tcp from any to any keep-state out setup
${fwcmd} add 420 pass udp from any to any 53 in recv dc0
${fwcmd} add 430 pass udp from any to any out
${fwcmd} add 440 pass icmp from any to any icmptypes 3
${fwcmd} add 450 pass icmp from any to any icmptypes 4   
${fwcmd} add 460 pass icmp from any to any icmptypes 8   
${fwcmd} add 470 pass icmp from any to any in icmptypes 0
${fwcmd} add 480 deny ip from any to any
${fwcmd} add 65000 pass all from any to any
;; 






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