Date: Tue, 11 Mar 2008 17:46:40 -0700 From: Patrick Mahan <mahan@mahan.org> To: Paul Schmehl <pauls@utdallas.edu> Cc: freebsd-questions@freebsd.org Subject: Re: newbie internet connection question Message-ID: <47D727F0.8060002@mahan.org> In-Reply-To: <E74672CB41A0CA1784131F7D@utd65257.utdallas.edu> References: <47D6DCAB.2000907@btinternet.com> <E74672CB41A0CA1784131F7D@utd65257.utdallas.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
Paul Schmehl presented these words - circa 3/11/08 1:02 PM-> > --On Tuesday, March 11, 2008 19:25:31 +0000 Andy Watts > <g7mjv@btinternet.com> wrote: > >> Hi People >> >> l downloaded FreeBSD 6.3 the other day out of curiosity.. >> >> The installation started ok but it all went wrong when it came to >> connecting >> to the internet through my wired router >> >> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-post.html >> >> >> l'm really not sure what entries to put in fig 2-29 that will allow my >> connection. >> >> My email address is g7mjv@btinternet.com >> >> My router's address is 192.168.1.1 and running ifconfig on my linux >> machine >> gives the following: >> >> eth0 Link encap:Ethernet HWaddr 00:01:6C:E2:58:25 inet >> addr:192.168.1.4 Bcast:192.168.1.255 Mask:255.255.255.0 >> inet6 addr: fe80::201:6cff:fee2:5825/64 Scope:Link >> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 >> RX packets:5894 errors:0 dropped:0 overruns:0 frame:0 >> TX packets:4645 errors:0 dropped:0 overruns:0 carrier:0 >> collisions:0 txqueuelen:1000 >> RX bytes:4431375 (4.2 MB) TX bytes:616025 (601.5 KB) >> Interrupt:20 Base address:0xe400 >> >> lo Link encap:Local Loopback inet addr:127.0.0.1 >> Mask:255.0.0.0 >> inet6 addr: ::1/128 Scope:Host >> UP LOOPBACK RUNNING MTU:16436 Metric:1 >> RX packets:48 errors:0 dropped:0 overruns:0 frame:0 >> TX packets:48 errors:0 dropped:0 overruns:0 carrier:0 >> collisions:0 txqueuelen:0 >> RX bytes:5380 (5.2 KB) TX bytes:5380 (5.2 KB) >> >> Any pointers in the right direction would be greatly appreciated >> > > If your router works like most do (and it appears that it does from the > IP your linux box is getting), all you need to do is put this into > /etc/rc.conf: > > ifconfig_em0="DHCP" > > (or rerun sysinstall and configure your ethernet card to do dhcp.) > > # sysinstall > > Choose Configure/Networking/Interfaces and set your NIC to do dhcp. > Hmmm, he doesn't need to select DHCP (or maybe he already has) since the interface (eth0) already has an assigned IP address on 192.168.1.0 network (192.168.1.4). Can you ping the router's IP address ('ping 192.168.1.1')? If so then you need to look at your router's external IP address (the one that is actually visible to the Internet via your ISP provided IP address). Patrick
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47D727F0.8060002>