|
|
|
|
|
|
| Author |
Message |
codebreaker *nix forums beginner
Joined: 04 Mar 2006
Posts: 5
|
Posted: Wed Apr 19, 2006 7:13 pm Post subject:
How to ping say www.yahoo.com
|
|
|
I installed NetBSD 3.0 on a 1.8 Ghz Celeron with 256 MB RAM. The system
installed fine ( HDD Size is 3 GB) .The NIC interface came up as "vr0" in
dmesg so I set it up using "ifconfig". I can ping the computers on my local
ntework and my router ( they all have nos. like 10.1.1.x with netmask
255.0.0.0 ) .I am unable to ping any site on the internet though, like
yahoo.com.
How can I configure the system to be able to get on the internet?.I need to
do this so that I can pull packages like Mozilla, etc using ftp .Any help
will be useful . I have "The NetBSD Guide " released by Net BSD Developers
2006/1/16 in .pdf ,but still need some help on this.
Thanks |
|
| Back to top |
|
 |
Thor Lancelot Simon *nix forums beginner
Joined: 27 Feb 2005
Posts: 13
|
Posted: Wed Apr 19, 2006 9:13 pm Post subject:
Re: How to ping say www.yahoo.com
|
|
|
In article <e2623l$7vc$1@lust.ihug.co.nz>,
codebreaker <codebreaker@xtra.co.nz> wrote:
| Quote: | I installed NetBSD 3.0 on a 1.8 Ghz Celeron with 256 MB RAM. The system
installed fine ( HDD Size is 3 GB) .The NIC interface came up as "vr0" in
dmesg so I set it up using "ifconfig".
|
Is there some reason why you didn't use dhclient?
If you configure the network interface by hand, you must also set
the default route, and set the default nameserver. It is probably
simplest to let dhclient do all these things for you.
--
Thor Lancelot Simon tls@rek.tjls.com
"We cannot usually in social life pursue a single value or a single moral
aim, untroubled by the need to compromise with others." - H.L.A. Hart |
|
| Back to top |
|
 |
jpd *nix forums Guru
Joined: 22 Feb 2005
Posts: 877
|
Posted: Thu Apr 20, 2006 1:59 am Post subject:
Re: How to ping say www.yahoo.com
|
|
|
Begin <e26957$g22$1@reader1.panix.com>
On 2006-04-19, Thor Lancelot Simon <tls@panix.com> wrote:
| Quote: | In article <e2623l$7vc$1@lust.ihug.co.nz>,
codebreaker <codebreaker@xtra.co.nz> wrote:
I installed NetBSD 3.0 on a 1.8 Ghz Celeron with 256 MB RAM. The system
installed fine ( HDD Size is 3 GB) .The NIC interface came up as "vr0" in
dmesg so I set it up using "ifconfig".
Is there some reason why you didn't use dhclient?
If you configure the network interface by hand, you must also set
the default route, and set the default nameserver. It is probably
simplest to let dhclient do all these things for you.
|
Iff there is a dhcp server telling the dhcp client what to do.
--
j p d (at) d s b (dot) t u d e l f t (dot) n l .
This message was originally posted on Usenet in plain text.
Any other representation, additions, or changes do not have my
consent and may be a violation of international copyright law. |
|
| Back to top |
|
 |
toby *nix forums addict
Joined: 01 Jul 2005
Posts: 87
|
Posted: Thu Apr 20, 2006 2:42 am Post subject:
Re: How to ping say www.yahoo.com
|
|
|
jpd wrote:
| Quote: | Begin <e26957$g22$1@reader1.panix.com
On 2006-04-19, Thor Lancelot Simon <tls@panix.com> wrote:
...
If you configure the network interface by hand, you must also set
the default route, and set the default nameserver. It is probably
simplest to let dhclient do all these things for you.
Iff there is a dhcp server telling the dhcp client what to do.
|
I think it's a safe bet there is, if the OP didn't know that these
would need to be configured manually.
| Quote: |
--
j p d (at) d s b (dot) t u d e l f t (dot) n l .
This message was originally posted on Usenet in plain text.
Any other representation, additions, or changes do not have my
consent and may be a violation of international copyright law. |
|
|
| Back to top |
|
 |
Thor Lancelot Simon *nix forums beginner
Joined: 27 Feb 2005
Posts: 13
|
Posted: Thu Apr 20, 2006 3:24 am Post subject:
Re: How to ping say www.yahoo.com
|
|
|
In article <4ao88aFu3fjnU1@individual.net>,
jpd <read_the_sig@do.not.spam.it.invalid> wrote:
| Quote: | Begin <e26957$g22$1@reader1.panix.com
On 2006-04-19, Thor Lancelot Simon <tls@panix.com> wrote:
In article <e2623l$7vc$1@lust.ihug.co.nz>,
codebreaker <codebreaker@xtra.co.nz> wrote:
I installed NetBSD 3.0 on a 1.8 Ghz Celeron with 256 MB RAM. The system
installed fine ( HDD Size is 3 GB) .The NIC interface came up as "vr0" in
dmesg so I set it up using "ifconfig".
Is there some reason why you didn't use dhclient?
If you configure the network interface by hand, you must also set
the default route, and set the default nameserver. It is probably
simplest to let dhclient do all these things for you.
Iff there is a dhcp server telling the dhcp client what to do.
|
Given the addressing in use on his network, and his statements about
Windows machines "just working" when he didn't set the IP address, I
think there's little doubt about whether he has a DHCP server.
--
Thor Lancelot Simon tls@rek.tjls.com
"We cannot usually in social life pursue a single value or a single moral
aim, untroubled by the need to compromise with others." - H.L.A. Hart |
|
| Back to top |
|
 |
codebreaker *nix forums beginner
Joined: 04 Mar 2006
Posts: 5
|
Posted: Thu Apr 20, 2006 7:14 am Post subject:
Re: How to ping say www.yahoo.com
|
|
|
"Thor Lancelot Simon" <tls@panix.com> wrote in message
news:e26uts$12p$1@reader1.panix.com...
| Quote: | In article <4ao88aFu3fjnU1@individual.net>,
jpd <read_the_sig@do.not.spam.it.invalid> wrote:
Begin <e26957$g22$1@reader1.panix.com
On 2006-04-19, Thor Lancelot Simon <tls@panix.com> wrote:
In article <e2623l$7vc$1@lust.ihug.co.nz>,
codebreaker <codebreaker@xtra.co.nz> wrote:
I installed NetBSD 3.0 on a 1.8 Ghz Celeron with 256 MB RAM. The system
installed fine ( HDD Size is 3 GB) .The NIC interface came up as "vr0"
in
dmesg so I set it up using "ifconfig".
Is there some reason why you didn't use dhclient?
If you configure the network interface by hand, you must also set
the default route, and set the default nameserver. It is probably
simplest to let dhclient do all these things for you.
Iff there is a dhcp server telling the dhcp client what to do.
Given the addressing in use on his network, and his statements about
Windows machines "just working" when he didn't set the IP address, I
think there's little doubt about whether he has a DHCP server.
--
Thor Lancelot Simon tls@rek.tjls.com
"We cannot usually in social life pursue a single value or a single moral
aim, untroubled by the need to compromise with others." - H.L.A.
Hart
|
Hi,
I had to set all address on my network manually.
My router came with 10.1.1.1 / 255.0.0.0 and I set my other machines
including windows as 10.1.1.x. Similarly I set the NetBSD machine as
10.1.1.8 using ifconfig . Is there any way I can set the other required
files manually.
Thanks
Codebreaker |
|
| Back to top |
|
 |
David Lord *nix forums Guru Wannabe
Joined: 03 Mar 2005
Posts: 113
|
Posted: Thu Apr 20, 2006 10:54 am Post subject:
Re: How to ping say www.yahoo.com
|
|
|
On Thursday, in article <e27cbr$liv$1@lust.ihug.co.nz>
codebreaker@xtra.co.nz "codebreaker" wrote:
| Quote: | I had to set all address on my network manually.
My router came with 10.1.1.1 / 255.0.0.0 and I set my other machines
including windows as 10.1.1.x. Similarly I set the NetBSD machine as
10.1.1.8 using ifconfig . Is there any way I can set the other required
files manually.
|
'man rc.conf' and see /etc/defaults/rc.conf for details how to add
your gateway address 10.1.1.1.
'man resolv.conf' gives details how to add ip addresses for whatever
nameservers your isp has provided (same as you've done for the other
machines?). There is also /etc/nsswitch.conf but defaults seem ok
here. If for some reason you don't have nameservers provided, there
might still be some public ones available or you will need to setup
the service on one of your machines.
Have you actually tried using dhcp to have these addresses set from
the router? 'man ifconfig.if' and 'man dhclient.conf'.
David
--
The Reply-To: is valid for at least 30 days after posting date
David Lord - david@lordynet.demon.co.uk |
|
| Back to top |
|
 |
Google
|
|
| Back to top |
|
 |
|
|
The time now is Wed Dec 03, 2008 2:16 am | All times are GMT
|
|
Credit Cards UK | Debt Consolidation | Balance Transfer Credit Card | Loans | Debt Consolidation
|
|
Copyright © 2004-2005 DeniX Solutions SRL
|
|
|
|
Other DeniX Solutions sites:
Unix/Linux blog |
electronics forum |
medicine forum |
science forum |
|
|
Privacy Policy
|
Powered by phpBB © 2001, 2005 phpBB Group
|
|