niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » *nix » BSD » NetBSD
How to ping say www.yahoo.com
Post new topic   Reply to topic Page 1 of 1 [7 Posts] View previous topic :: View next topic
Author Message
David Lord
*nix forums Guru Wannabe


Joined: 03 Mar 2005
Posts: 113

PostPosted: Thu Apr 20, 2006 10:54 am    Post subject: Re: How to ping say www.yahoo.com Reply with quote

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
codebreaker
*nix forums beginner


Joined: 04 Mar 2006
Posts: 5

PostPosted: Thu Apr 20, 2006 7:14 am    Post subject: Re: How to ping say www.yahoo.com Reply with quote

"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
Thor Lancelot Simon
*nix forums beginner


Joined: 27 Feb 2005
Posts: 13

PostPosted: Thu Apr 20, 2006 3:24 am    Post subject: Re: How to ping say www.yahoo.com Reply with quote

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
toby
*nix forums addict


Joined: 01 Jul 2005
Posts: 87

PostPosted: Thu Apr 20, 2006 2:42 am    Post subject: Re: How to ping say www.yahoo.com Reply with quote

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
jpd
*nix forums Guru


Joined: 22 Feb 2005
Posts: 877

PostPosted: Thu Apr 20, 2006 1:59 am    Post subject: Re: How to ping say www.yahoo.com Reply with quote

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
Thor Lancelot Simon
*nix forums beginner


Joined: 27 Feb 2005
Posts: 13

PostPosted: Wed Apr 19, 2006 9:13 pm    Post subject: Re: How to ping say www.yahoo.com Reply with quote

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
codebreaker
*nix forums beginner


Joined: 04 Mar 2006
Posts: 5

PostPosted: Wed Apr 19, 2006 7:13 pm    Post subject: How to ping say www.yahoo.com Reply with 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". 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
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [7 Posts] View previous topic :: View next topic
The time now is Thu Dec 04, 2008 12:06 am | All times are GMT
navigation Forum index » *nix » BSD » NetBSD
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts to many mail to yahoo.com Vida Luz Arista Postfix 1 Thu Jul 20, 2006 3:49 pm
No new posts Can't ping Christian Christmann Debian 5 Wed Jul 19, 2006 8:30 pm
No new posts TCP_DENIED/411 with POST method .. new yahoo photos websi... Amish Mehta Squid 0 Sat Jul 15, 2006 12:42 pm
No new posts Networking Ping Request timed out error littleminxchick@aol.com networking 1 Fri Jul 14, 2006 10:10 pm
No new posts Bug#377153: ITP: python-pysearch -- pYsearch is a wrapper... Asheesh Laroia devel 0 Fri Jul 07, 2006 4:50 am

Loans | Mobile Phone | Israel Perry | Mortgages | Ringtones
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
[ Time: 0.4038s ][ Queries: 20 (0.2403s) ][ GZIP on - Debug on ]