Re: LAN Internet

2004-06-25 Thread Andrew L. Gould
On Friday 25 June 2004 01:23 pm, sd sdfg wrote:
> Hello,
>
> I'm a newbie and please excuse for my poor language.
> I have FreeBSD 4.9 and my computer is in LAN with other people. One
> of our friends is the host of the internet. I have all the data
> required to connect to the internet, but I do not know how. My
> network interface card is correctly installed, I can ping the IPs in
> the LAN. But when I try to access some web adress with the web
> browser Konqueror, I fail.
>
> Can you please tell what should I set up in order to have internet or
> give me some link that may be helpful. I've searched in tha handbook,
> but couldn't find.
>
> Thank you!

Since you can ping the other computers on the LAN, we can assume your 
computer is configured for the LAN, and is just missing the information 
needed to send and receive packets to/from the internet.  This assumes 
that your computer isn't blocked by a firewall.

If your computer receives a dynamic IP address, talk to the person who 
administers the DHCP server.  dhclient should receive all the 
information it needs to configure your network automatically.

If your computer has a static IP address on the LAN, you need to 
manually designate the gateway computer and nameservers.

If the gateway computer's IP address is 192.168.0.1, you can execute the 
following on the command line as root:

route add default 192.168.0.1

Add the following to /etc/rc.conf to establish the gateway at bootup:

defaultrouter="192.168.0.1"

Nameserver information is stored in /etc/resolv.conf.  I don't 
think /etc/resolv.conf exists when the system is initially installed, 
so you'll need to create it:

touch /etc/resolv.conf

Then add the search domain and nameserver IP address to the file.  My 
file looks like this:

search cablelynx.com
nameserver 24.204.0.4 24.204.0.5

You'll need to use information that is specific to your ISP.

Best of luck,

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


RE: LAN Internet

2004-06-25 Thread Hauan, David


> -Original Message-
> From: sd sdfg [mailto:[EMAIL PROTECTED]
> Sent: Friday, June 25, 2004 11:24 AM
> To: [EMAIL PROTECTED]
> Subject: LAN Internet
> 
> 
> Hello,
>  
> I'm a newbie and please excuse for my poor language.
> I have FreeBSD 4.9 and my computer is in LAN with other 
> people. One of our friends is the host of the internet. I 
> have all the data required to connect to the internet, but I 
> do not know how. My network interface card is correctly 
> installed, I can ping the IPs in the LAN. But when I try to 
> access some web adress with the web browser Konqueror, I fail.
>  
> Can you please tell what should I set up in order to have 
> internet or give me some link that may be helpful. I've 
> searched in tha handbook, but couldn't find.
>  
> Thank you!
> 

Sounds as though you need to edit your 
/etc/resolv.conf file to reflect your 
primary and secondary name-servers.

dave

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


Re: LAN Internet

2004-06-25 Thread Andreas Kohn
On Fri, 2004-06-25 at 20:23, sd sdfg wrote:
> Hello,
>  
> I'm a newbie and please excuse for my poor language.
> I have FreeBSD 4.9 and my computer is in LAN with other people. 
> One of our friends is the host of the internet. I have all the data 
> required to connect to the internet, but I do not know how. My 
> network interface card is correctly installed, I can ping the 
> IPs in the LAN. But when I try to access some web adress with 
> the web browser Konqueror, I fail.
>  
> Can you please tell what should I set up in order to have internet 
> or give me some link that may be helpful. I've searched in tha handbook, but 
> couldn't find.
>  
> Thank you!
> 
Hi,

you are most probably missing one or more of the following:

- Nameserver (set it up in /etc/resolv.conf, see man resolv.conf)
- Default Gateway (set it up using route add default , see
man route)
- Proxy (your friend may should have told you so then)

HTH,
Andreas


signature.asc
Description: This is a digitally signed message part


LAN Internet

2004-06-25 Thread sd sdfg
Hello,
 
I'm a newbie and please excuse for my poor language.
I have FreeBSD 4.9 and my computer is in LAN with other people. One of our friends is 
the host of the internet. I have all the data required to connect to the internet, but 
I do not know how. My network interface card is correctly installed, I can ping the 
IPs in the LAN. But when I try to access some web adress with the web browser 
Konqueror, I fail.
 
Can you please tell what should I set up in order to have internet or give me some 
link that may be helpful. I've searched in tha handbook, but couldn't find.
 
Thank you!


-
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"