List Info

Thread: newbie internet connection question




newbie internet connection question
country flaguser name
United Kingdom
2008-03-11 14:25:31
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.ISO8
859-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 g7mjvbtinternet.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

Andy - Salisbury, UK


_______________________________________________
freebsd-questionsfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"

Re: newbie internet connection question
country flaguser name
United States
2008-03-11 15:02:18
--On Tuesday, March 11, 2008 19:25:31 +0000 Andy Watts
<g7mjvbtinternet.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.ISO8
859-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 g7mjvbtinternet.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.

-- 
Paul Schmehl (paulsutdallas.edu)
Senior Information Security Analyst
The University of Texas at Dallas
http://www.utdal
las.edu/ir/security/

_______________________________________________
freebsd-questionsfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"

Re: newbie internet connection question
country flaguser name
Netherlands
2008-03-11 15:14:09
On Tue, Mar 11, 2008 at 07:25:31PM +0000, Andy Watts wrote:
> 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.ISO8
859-1/books/handbook/install-post.html

You're reading the handbook. That's a very good start. 
 
> l'm really not sure what entries to put in fig 2-29
that will allow my 
> connection.

Most routers will have a DHCP server running to hand out
addresses and such.

When it asks 'Do you want to try DHCP configuration of the
interface?'
Just say 'yes'.

Use the IP address of your router as the gateway address.

> My router's address is 192.168.1.1 and running ifconfig
on my linux machine 
> gives the following:

> Any pointers in the right direction would be greatly
appreciated

If you don't know what network hardware you have, use alt-F4
to switch
to a shell and give the command 'dmesg | grep Ethernet'. On
my machine
this gives;

rl0: Ethernet address: 00:1e:23:2f:1b:g1

indicating that I have hardware using the rl(4) driver.

Roland
-- 
R.F.Smith                                   http://www.xs4all.nl/~r
smith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much
appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725
(KeyID: C321A725)
Re: newbie internet connection question
country flaguser name
United States
2008-03-11 19:46:40

Paul Schmehl presented these words - circa 3/11/08 1:02
PM->
> --On Tuesday, March 11, 2008 19:25:31 +0000 Andy Watts

> <g7mjvbtinternet.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.ISO8
859-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 g7mjvbtinternet.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
_______________________________________________
freebsd-questionsfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"

Re: newbie internet connection question
country flaguser name
United States
2008-03-11 20:10:46
On Wednesday 12 March 2008 01:46:40 Patrick Mahan wrote:
> Paul Schmehl presented these words - circa 3/11/08 1:02
PM->
>
> > --On Tuesday, March 11, 2008 19:25:31 +0000 Andy
Watts
> >
> > <g7mjvbtinternet.com> wrote:


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

> Hmmm, he doesn't need to select DHCP (or maybe he
already has) since the
> interface (eth0)

See the problem with your statement? :p
-- 
Mel

Problem with today's modular software: they start with the
modules
    and never get to the software part.
_______________________________________________
freebsd-questionsfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"

Re: newbie internet connection question
country flaguser name
United States
2008-03-12 00:55:37

Mel presented these words - circa 3/11/08 6:10 PM->
> On Wednesday 12 March 2008 01:46:40 Patrick Mahan
wrote:
>> Paul Schmehl presented these words - circa 3/11/08
1:02 PM->
>>
>>> --On Tuesday, March 11, 2008 19:25:31 +0000
Andy Watts
>>>
>>> <g7mjvbtinternet.com> wrote:
> 
> 
>>>> 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
> 
>> Hmmm, he doesn't need to select DHCP (or maybe he
already has) since the
>> interface (eth0)
> 
> See the problem with your statement? :p

I see, the info is from his Linux box.  So he either needs
to ifconfig
his interface on FreeBSD or enable DHCP to get it assigned.

My bad,

Patrick
_______________________________________________
freebsd-questionsfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"

[1-6]

about | contact  Other archives ( Real Estate discussion Medical topics )