newbie, setting up Internet connection

newbie, setting up Internet connection

Post by Grego » Sun, 27 Sep 1998 04:00:00



So I have tried to set my internet connection

as follows:
ifconfig hme0 inet 24.0.143.1
ifconfig hme0 broadcast 24.0.143.255

and I have also changed my /etc/hosts file where I modifired the last
line to have the same   24.0.143.1 address

To verify   that it took my I.P. address I have done :
ifconfig -a
and now I see the inet  24.0.143. address;
also I have tried:
ping     24.0.143.1
and have received reply :
24.0.143.1 is alive

Now I have disconnected a cable modem from  my PC and connected to my
UNIX machine and have reset a buuton on my modem and as matter of fact
rebooted my UNIX.

I have tried to see if I have a connection to Internet
by doing :
ftp physics.orst.edu

instead of getting some message aknowledging connection I have got a
message :
unknown host

So;  I guess I have missed someting.

I remember somebody recommended to set up not only the I.P. number but
also:
default route,
and DNS numbers.
These variables can not be set by ifconfig command,
I could not find how to set them up.

Gregory.

 
 
 

newbie, setting up Internet connection

Post by Andy Gatwar » Mon, 28 Sep 1998 04:00:00


To set up the DNS hosts, edit the file /etc/resolv.conf

In here, put...

domain <name of domain>
nameserver <nameserver IP address>
...

eg for me at home it is:

domain demon.co.uk
nameserver 158.152.1.43
nameserver 158.152.1.58

You may also need to edit the /etc/nsswitch.conf file if it exists
and add "DNS" to the line that reads hosts:........

Regards,

Andy Gatward
Developer, Web Services
Nortel Optoelectronics Plc.


>So I have tried to set my internet connection

>as follows:
>ifconfig hme0 inet 24.0.143.1
>ifconfig hme0 broadcast 24.0.143.255

>and I have also changed my /etc/hosts file where I modifired the last
>line to have the same   24.0.143.1 address

>To verify   that it took my I.P. address I have done :
>ifconfig -a
>and now I see the inet  24.0.143. address;
>also I have tried:
>ping     24.0.143.1
>and have received reply :
>24.0.143.1 is alive

>Now I have disconnected a cable modem from  my PC and connected to my
>UNIX machine and have reset a buuton on my modem and as matter of fact
>rebooted my UNIX.

>I have tried to see if I have a connection to Internet
>by doing :
>ftp physics.orst.edu

>instead of getting some message aknowledging connection I have got a
>message :
>unknown host

>So;  I guess I have missed someting.

>I remember somebody recommended to set up not only the I.P. number but
>also:
>default route,
>and DNS numbers.
>These variables can not be set by ifconfig command,
>I could not find how to set them up.

>Gregory.



 
 
 

newbie, setting up Internet connection

Post by Grego » Wed, 30 Sep 1998 04:00:00


I have created the file(it did not exist before):
/etc/resolv.conf
as follows:

domain cv1.sdca.home.com
nameserver  24.0.3.33
nameserver  24.0.3.34

cv1.sdca.home.com(listed as subdomain in the paperwork that was left

PC)

24.0.3.33 (listed as primary_dns_server_ip_address in the paperwork

connection on my PC)

24.0.3.34 (listed as sec_dns_server_ip_address in the paperwork that

on my PC)

I have shut down the Sparc 10,  reset the cable modem and rebooted

Nothing drastic happenned. It still could not connect to outside world

Then I have reset the /etc/nsswitch.conf file, where
I have changed the entry :
hosts: files

to
hosts: dns [NOTFOUND=return] files

It is booting up
the messages come out:

as usual, then after I see a messages:
started routing daemon
starting rpc services: rpc bind keyserv done.

Setting default interface for multicast:

Here it goes in deep   deep thinking and eventually a message comes:
add net 224.0.0.0: gateway GRIGORY-1

again it goes in deep deep deep thinking here before it prints
messages:
Syslog service starting
Print service started

Again it goes in very deep thinking
and after that comes as usual

But I still can not connect to outside world

On Sun, 27 Sep 1998 20:01:06 +0100, "Andy Gatward"


>To set up the DNS hosts, edit the file /etc/resolv.conf

>In here, put...

>domain <name of domain>
>nameserver <nameserver IP address>
>...

>eg for me at home it is:

>domain demon.co.uk
>nameserver 158.152.1.43
>nameserver 158.152.1.58

>You may also need to edit the /etc/nsswitch.conf file if it exists
>and add "DNS" to the line that reads hosts:........

>Regards,

>Andy Gatward
>Developer, Web Services
>Nortel Optoelectronics Plc.


>>So I have tried to set my internet connection

>>as follows:
>>ifconfig hme0 inet 24.0.143.1
>>ifconfig hme0 broadcast 24.0.143.255

>>and I have also changed my /etc/hosts file where I modifired the last
>>line to have the same   24.0.143.1 address

>>To verify   that it took my I.P. address I have done :
>>ifconfig -a
>>and now I see the inet  24.0.143. address;
>>also I have tried:
>>ping     24.0.143.1
>>and have received reply :
>>24.0.143.1 is alive

>>Now I have disconnected a cable modem from  my PC and connected to my
>>UNIX machine and have reset a buuton on my modem and as matter of fact
>>rebooted my UNIX.

>>I have tried to see if I have a connection to Internet
>>by doing :
>>ftp physics.orst.edu

>>instead of getting some message aknowledging connection I have got a
>>message :
>>unknown host

>>So;  I guess I have missed someting.

>>I remember somebody recommended to set up not only the I.P. number but
>>also:
>>default route,
>>and DNS numbers.
>>These variables can not be set by ifconfig command,
>>I could not find how to set them up.

>>Gregory.


Gregory.

 
 
 

newbie, setting up Internet connection

Post by Rev. Don Koo » Thu, 01 Oct 1998 04:00:00


Do a "netstat -rn" and see if the "default" gateway is set
correctly.  Also examine the "netmask".  If you don't have the
correct default gateway and netmask, you aren't going to get off
your local subnet.  Chances are the nameservers aren't on your local
subnet so you will have to get past the gateway for them to do you
any good.  Try to "ping" and see how far you get.  First "ping" your
own IP to see if the card is up.  Then "ping" the gateway.  Then
"ping" the nameservers.  You should be able to isolate where you're
getting held up.

                        Hope this helps,
                              Don

--
**********************      You a bounty hunter?
* Rev. Don McDonald  *      Man's gotta earn a living.
* Baltimore, MD      *      Dying ain't much of a living, boy.
**********************             "Outlaw Josey Wales"
http://members.home.net/oldno7


> I have created the file(it did not exist before):
> /etc/resolv.conf
> as follows:

> domain cv1.sdca.home.com
> nameserver  24.0.3.33
> nameserver  24.0.3.34

> cv1.sdca.home.com(listed as subdomain in the paperwork that was left

> PC)

> 24.0.3.33 (listed as primary_dns_server_ip_address in the paperwork

> connection on my PC)

> 24.0.3.34 (listed as sec_dns_server_ip_address in the paperwork that

> on my PC)

> I have shut down the Sparc 10,  reset the cable modem and rebooted

> Nothing drastic happenned. It still could not connect to outside world

> Then I have reset the /etc/nsswitch.conf file, where
> I have changed the entry :
> hosts: files

> to
> hosts: dns [NOTFOUND=return] files

> It is booting up
> the messages come out:

> as usual, then after I see a messages:
> started routing daemon
> starting rpc services: rpc bind keyserv done.

> Setting default interface for multicast:

> Here it goes in deep   deep thinking and eventually a message comes:
> add net 224.0.0.0: gateway GRIGORY-1

> again it goes in deep deep deep thinking here before it prints
> messages:
> Syslog service starting
> Print service started

> Again it goes in very deep thinking
> and after that comes as usual

> But I still can not connect to outside world

> On Sun, 27 Sep 1998 20:01:06 +0100, "Andy Gatward"

> >To set up the DNS hosts, edit the file /etc/resolv.conf

> >In here, put...

> >domain <name of domain>
> >nameserver <nameserver IP address>
> >...

> >eg for me at home it is:

> >domain demon.co.uk
> >nameserver 158.152.1.43
> >nameserver 158.152.1.58

> >You may also need to edit the /etc/nsswitch.conf file if it exists
> >and add "DNS" to the line that reads hosts:........

> >Regards,

> >Andy Gatward
> >Developer, Web Services
> >Nortel Optoelectronics Plc.


> >>So I have tried to set my internet connection

> >>as follows:
> >>ifconfig hme0 inet 24.0.143.1
> >>ifconfig hme0 broadcast 24.0.143.255

> >>and I have also changed my /etc/hosts file where I modifired the last
> >>line to have the same   24.0.143.1 address

> >>To verify   that it took my I.P. address I have done :
> >>ifconfig -a
> >>and now I see the inet  24.0.143. address;
> >>also I have tried:
> >>ping     24.0.143.1
> >>and have received reply :
> >>24.0.143.1 is alive

> >>Now I have disconnected a cable modem from  my PC and connected to my
> >>UNIX machine and have reset a buuton on my modem and as matter of fact
> >>rebooted my UNIX.

> >>I have tried to see if I have a connection to Internet
> >>by doing :
> >>ftp physics.orst.edu

> >>instead of getting some message aknowledging connection I have got a
> >>message :
> >>unknown host

> >>So;  I guess I have missed someting.

> >>I remember somebody recommended to set up not only the I.P. number but
> >>also:
> >>default route,
> >>and DNS numbers.
> >>These variables can not be set by ifconfig command,
> >>I could not find how to set them up.

 
 
 

newbie, setting up Internet connection

Post by Grego » Thu, 01 Oct 1998 04:00:00


Here is the result of netstst -rn command:
I

Routing Table:
  Destination           Gateway           Flags  Ref   Use   Interface
-------------------- -------------------- ----- ----- ------ ---------
24.0.0.0             24.0.143.121          U        3      0  hme0
224.0.0.0            24.0.143.121          U        3      0  hme0
127.0.0.1            127.0.0.1             UH       0   1924  lo0

and here result of ifconfig -a:

lo0: flags=849<UP,LOOPBACK,RUNNING,MULTICAST> mtu 8232
        inet 127.0.0.1 netmask ff000000
hme0: flags=863<UP,BROADCAST,NOTRAILERS,RUNNING,MULTICAST> mtu 1500
        inet 24.0.143.121 netmask ff000000 broadcast 24.255.255.255
        ether 8:0:20:7f:e4:71




>Do a "netstat -rn" and see if the "default" gateway is set
>correctly.  Also examine the "netmask".  If you don't have the
>correct default gateway and netmask, you aren't going to get off
>your local subnet.  Chances are the nameservers aren't on your local
>subnet so you will have to get past the gateway for them to do you
>any good.  Try to "ping" and see how far you get.  First "ping" your
>own IP to see if the card is up.  Then "ping" the gateway.  Then
>"ping" the nameservers.  You should be able to isolate where you're
>getting held up.

>                    Hope this helps,
>                          Don

>--
>**********************      You a bounty hunter?
>* Rev. Don McDonald  *      Man's gotta earn a living.
>* Baltimore, MD      *      Dying ain't much of a living, boy.
>**********************             "Outlaw Josey Wales"
>http://members.home.net/oldno7


>> I have created the file(it did not exist before):
>> /etc/resolv.conf
>> as follows:

>> domain cv1.sdca.home.com
>> nameserver  24.0.3.33
>> nameserver  24.0.3.34

>> cv1.sdca.home.com(listed as subdomain in the paperwork that was left

>> PC)

>> 24.0.3.33 (listed as primary_dns_server_ip_address in the paperwork

>> connection on my PC)

>> 24.0.3.34 (listed as sec_dns_server_ip_address in the paperwork that

>> on my PC)

>> I have shut down the Sparc 10,  reset the cable modem and rebooted

>> Nothing drastic happenned. It still could not connect to outside world

>> Then I have reset the /etc/nsswitch.conf file, where
>> I have changed the entry :
>> hosts: files

>> to
>> hosts: dns [NOTFOUND=return] files

>> It is booting up
>> the messages come out:

>> as usual, then after I see a messages:
>> started routing daemon
>> starting rpc services: rpc bind keyserv done.

>> Setting default interface for multicast:

>> Here it goes in deep   deep thinking and eventually a message comes:
>> add net 224.0.0.0: gateway GRIGORY-1

>> again it goes in deep deep deep thinking here before it prints
>> messages:
>> Syslog service starting
>> Print service started

>> Again it goes in very deep thinking
>> and after that comes as usual

>> But I still can not connect to outside world

>> On Sun, 27 Sep 1998 20:01:06 +0100, "Andy Gatward"

>> >To set up the DNS hosts, edit the file /etc/resolv.conf

>> >In here, put...

>> >domain <name of domain>
>> >nameserver <nameserver IP address>
>> >...

>> >eg for me at home it is:

>> >domain demon.co.uk
>> >nameserver 158.152.1.43
>> >nameserver 158.152.1.58

>> >You may also need to edit the /etc/nsswitch.conf file if it exists
>> >and add "DNS" to the line that reads hosts:........

>> >Regards,

>> >Andy Gatward
>> >Developer, Web Services
>> >Nortel Optoelectronics Plc.


>> >>So I have tried to set my internet connection

>> >>as follows:
>> >>ifconfig hme0 inet 24.0.143.1
>> >>ifconfig hme0 broadcast 24.0.143.255

>> >>and I have also changed my /etc/hosts file where I modifired the last
>> >>line to have the same   24.0.143.1 address

>> >>To verify   that it took my I.P. address I have done :
>> >>ifconfig -a
>> >>and now I see the inet  24.0.143. address;
>> >>also I have tried:
>> >>ping     24.0.143.1
>> >>and have received reply :
>> >>24.0.143.1 is alive

>> >>Now I have disconnected a cable modem from  my PC and connected to my
>> >>UNIX machine and have reset a buuton on my modem and as matter of fact
>> >>rebooted my UNIX.

>> >>I have tried to see if I have a connection to Internet
>> >>by doing :
>> >>ftp physics.orst.edu

>> >>instead of getting some message aknowledging connection I have got a
>> >>message :
>> >>unknown host

>> >>So;  I guess I have missed someting.

>> >>I remember somebody recommended to set up not only the I.P. number but
>> >>also:
>> >>default route,
>> >>and DNS numbers.
>> >>These variables can not be set by ifconfig command,
>> >>I could not find how to set them up.

Gregory.

 
 
 

newbie, setting up Internet connection

Post by Rev. Don Koo » Thu, 01 Oct 1998 04:00:00


Gregory,


ffffff00) so I would say that your netmask is wrong.  You also have
no default route and thus no way of getting off your local LAN
segment.  Try "24.0.143.1" for the gateway ("1" is the gateway for
me so you might just luck out).

        # ifconfig hme0 24.0.143.121 netmask 255.255.255.0 up
        # route add default 24.0.143.1 1

        Then see if you can ping at least the router using its IP address.
Next try to ping the nameserver using its IP.  If you get that far,
you should be home free.

                                Hope this helps,
                                        Don


> Here is the result of netstst -rn command:
> I

> Routing Table:
>   Destination           Gateway           Flags  Ref   Use   Interface
> -------------------- -------------------- ----- ----- ------ ---------
> 24.0.0.0             24.0.143.121          U        3      0  hme0
> 224.0.0.0            24.0.143.121          U        3      0  hme0
> 127.0.0.1            127.0.0.1             UH       0   1924  lo0

> and here result of ifconfig -a:

> lo0: flags=849<UP,LOOPBACK,RUNNING,MULTICAST> mtu 8232
>         inet 127.0.0.1 netmask ff000000
> hme0: flags=863<UP,BROADCAST,NOTRAILERS,RUNNING,MULTICAST> mtu 1500
>         inet 24.0.143.121 netmask ff000000 broadcast 24.255.255.255
>         ether 8:0:20:7f:e4:71




> >Do a "netstat -rn" and see if the "default" gateway is set
> >correctly.  Also examine the "netmask".  If you don't have the
> >correct default gateway and netmask, you aren't going to get off
> >your local subnet.  Chances are the nameservers aren't on your local
> >subnet so you will have to get past the gateway for them to do you
> >any good.  Try to "ping" and see how far you get.  First "ping" your
> >own IP to see if the card is up.  Then "ping" the gateway.  Then
> >"ping" the nameservers.  You should be able to isolate where you're
> >getting held up.

> >                       Hope this helps,
> >                             Don

> >--
> >**********************      You a bounty hunter?
> >* Rev. Don McDonald  *      Man's gotta earn a living.
> >* Baltimore, MD      *      Dying ain't much of a living, boy.
> >**********************             "Outlaw Josey Wales"
> >http://members.home.net/oldno7


> >> I have created the file(it did not exist before):
> >> /etc/resolv.conf
> >> as follows:

> >> domain cv1.sdca.home.com
> >> nameserver  24.0.3.33
> >> nameserver  24.0.3.34

> >> cv1.sdca.home.com(listed as subdomain in the paperwork that was left

> >> PC)

> >> 24.0.3.33 (listed as primary_dns_server_ip_address in the paperwork

> >> connection on my PC)

> >> 24.0.3.34 (listed as sec_dns_server_ip_address in the paperwork that

> >> on my PC)

> >> I have shut down the Sparc 10,  reset the cable modem and rebooted

> >> Nothing drastic happenned. It still could not connect to outside world

> >> Then I have reset the /etc/nsswitch.conf file, where
> >> I have changed the entry :
> >> hosts: files

> >> to
> >> hosts: dns [NOTFOUND=return] files

> >> It is booting up
> >> the messages come out:

> >> as usual, then after I see a messages:
> >> started routing daemon
> >> starting rpc services: rpc bind keyserv done.

> >> Setting default interface for multicast:

> >> Here it goes in deep   deep thinking and eventually a message comes:
> >> add net 224.0.0.0: gateway GRIGORY-1

> >> again it goes in deep deep deep thinking here before it prints
> >> messages:
> >> Syslog service starting
> >> Print service started

> >> Again it goes in very deep thinking
> >> and after that comes as usual

> >> But I still can not connect to outside world

> >> On Sun, 27 Sep 1998 20:01:06 +0100, "Andy Gatward"

> >> >To set up the DNS hosts, edit the file /etc/resolv.conf

> >> >In here, put...

> >> >domain <name of domain>
> >> >nameserver <nameserver IP address>
> >> >...

> >> >eg for me at home it is:

> >> >domain demon.co.uk
> >> >nameserver 158.152.1.43
> >> >nameserver 158.152.1.58

> >> >You may also need to edit the /etc/nsswitch.conf file if it exists
> >> >and add "DNS" to the line that reads hosts:........

> >> >Regards,

> >> >Andy Gatward
> >> >Developer, Web Services
> >> >Nortel Optoelectronics Plc.


> >> >>So I have tried to set my internet connection

> >> >>as follows:
> >> >>ifconfig hme0 inet 24.0.143.1
> >> >>ifconfig hme0 broadcast 24.0.143.255

> >> >>and I have also changed my /etc/hosts file where I modifired the last
> >> >>line to have the same   24.0.143.1 address

> >> >>To verify   that it took my I.P. address I have done :
> >> >>ifconfig -a
> >> >>and now I see the inet  24.0.143. address;
> >> >>also I have tried:
> >> >>ping     24.0.143.1
> >> >>and have received reply :
> >> >>24.0.143.1 is alive

> >> >>Now I have disconnected a cable modem from  my PC and connected to my
> >> >>UNIX machine and have reset a buuton on my modem and as matter of fact
> >> >>rebooted my UNIX.

> >> >>I have tried to see if I have a connection to Internet
> >> >>by doing :
> >> >>ftp physics.orst.edu

> >> >>instead of getting some message aknowledging connection I have got a
> >> >>message :
> >> >>unknown host

> >> >>So;  I guess I have missed someting.

> >> >>I remember somebody recommended to set up not only the I.P. number but
> >> >>also:
> >> >>default route,
> >> >>and DNS numbers.
> >> >>These variables can not be set by ifconfig command,
> >> >>I could not find how to set them up.

> Gregory.


--

                        Hope this helps,
                              Don

--
**********************      You a bounty hunter?
* Rev. Don McDonald  *      Man's gotta earn a living.
* Baltimore, MD      *      Dying ain't much of a living, boy.
**********************             "Outlaw Josey Wales"
http://members.home.net/oldno7

 
 
 

newbie, setting up Internet connection

Post by Grego » Thu, 01 Oct 1998 04:00:00


Thanks a lot.
It did help,

I could ping cv1.sdca.home.com (my IP)
and also ping physics.orst.edu

Now I will try to get real data from ftp!!!!

On Wed, 30 Sep 1998 12:47:29 GMT, "Rev. Don Kool" <old...@home.com>
wrote:

>Gregory,

>    I have COMCAST @home and their netmask is 255.255.255.0 (i.e.,
>ffffff00) so I would say that your netmask is wrong.  You also have
>no default route and thus no way of getting off your local LAN
>segment.  Try "24.0.143.1" for the gateway ("1" is the gateway for
>me so you might just luck out).

>    # ifconfig hme0 24.0.143.121 netmask 255.255.255.0 up
>    # route add default 24.0.143.1 1

>    Then see if you can ping at least the router using its IP address.
>Next try to ping the nameserver using its IP.  If you get that far,
>you should be home free.

>                            Hope this helps,
>                                    Don

>Gregory wrote:

>> Here is the result of netstst -rn command:
>> I

>> Routing Table:
>>   Destination           Gateway           Flags  Ref   Use   Interface
>> -------------------- -------------------- ----- ----- ------ ---------
>> 24.0.0.0             24.0.143.121          U        3      0  hme0
>> 224.0.0.0            24.0.143.121          U        3      0  hme0
>> 127.0.0.1            127.0.0.1             UH       0   1924  lo0

>> and here result of ifconfig -a:

>> lo0: flags=849<UP,LOOPBACK,RUNNING,MULTICAST> mtu 8232
>>         inet 127.0.0.1 netmask ff000000
>> hme0: flags=863<UP,BROADCAST,NOTRAILERS,RUNNING,MULTICAST> mtu 1500
>>         inet 24.0.143.121 netmask ff000000 broadcast 24.255.255.255
>>         ether 8:0:20:7f:e4:71

>> I have the docs from COX@HOME

>> On Wed, 30 Sep 1998 01:22:39 GMT, "Rev. Don Kool" <old...@home.com>
>> wrote:

>> >Do a "netstat -rn" and see if the "default" gateway is set
>> >correctly.  Also examine the "netmask".  If you don't have the
>> >correct default gateway and netmask, you aren't going to get off
>> >your local subnet.  Chances are the nameservers aren't on your local
>> >subnet so you will have to get past the gateway for them to do you
>> >any good.  Try to "ping" and see how far you get.  First "ping" your
>> >own IP to see if the card is up.  Then "ping" the gateway.  Then
>> >"ping" the nameservers.  You should be able to isolate where you're
>> >getting held up.

>> >                       Hope this helps,
>> >                             Don

>> >--
>> >**********************      You a bounty hunter?
>> >* Rev. Don McDonald  *      Man's gotta earn a living.
>> >* Baltimore, MD      *      Dying ain't much of a living, boy.
>> >**********************             "Outlaw Josey Wales"
>> >http://members.home.net/oldno7

>> >Gregory wrote:

>> >> I have created the file(it did not exist before):
>> >> /etc/resolv.conf
>> >> as follows:

>> >> domain cv1.sdca.home.com
>> >> nameserver  24.0.3.33
>> >> nameserver  24.0.3.34

>> >> cv1.sdca.home.com(listed as subdomain in the paperwork that was left
>> >> by COX@HOME technician after installin cable modem connection on my
>> >> PC)

>> >> 24.0.3.33 (listed as primary_dns_server_ip_address in the paperwork
>> >> that was left by COX@HOME technician after installin cable modem
>> >> connection on my PC)

>> >> 24.0.3.34 (listed as sec_dns_server_ip_address in the paperwork that
>> >> was left by COX@HOME technician after installin cable modem connection
>> >> on my PC)

>> >> I have shut down the Sparc 10,  reset the cable modem and rebooted

>> >> Nothing drastic happenned. It still could not connect to outside world

>> >> Then I have reset the /etc/nsswitch.conf file, where
>> >> I have changed the entry :
>> >> hosts: files

>> >> to
>> >> hosts: dns [NOTFOUND=return] files

>> >> It is booting up
>> >> the messages come out:

>> >> as usual, then after I see a messages:
>> >> started routing daemon
>> >> starting rpc services: rpc bind keyserv done.

>> >> Setting default interface for multicast:

>> >> Here it goes in deep   deep thinking and eventually a message comes:
>> >> add net 224.0.0.0: gateway GRIGORY-1

>> >> again it goes in deep deep deep thinking here before it prints
>> >> messages:
>> >> Syslog service starting
>> >> Print service started

>> >> Again it goes in very deep thinking
>> >> and after that comes as usual

>> >> But I still can not connect to outside world

>> >> On Sun, 27 Sep 1998 20:01:06 +0100, "Andy Gatward"
>> >> <a...@gatward.demon.co.uk> wrote:

>> >> >To set up the DNS hosts, edit the file /etc/resolv.conf

>> >> >In here, put...

>> >> >domain <name of domain>
>> >> >nameserver <nameserver IP address>
>> >> >...

>> >> >eg for me at home it is:

>> >> >domain demon.co.uk
>> >> >nameserver 158.152.1.43
>> >> >nameserver 158.152.1.58

>> >> >You may also need to edit the /etc/nsswitch.conf file if it exists
>> >> >and add "DNS" to the line that reads hosts:........

>> >> >Regards,

>> >> >Andy Gatward
>> >> >Developer, Web Services
>> >> >Nortel Optoelectronics Plc.

>> >> >Gregory wrote in message <360d7150.55016297@news>...
>> >> >>So I have tried to set my internet connection

>> >> >>as follows:
>> >> >>ifconfig hme0 inet 24.0.143.1
>> >> >>ifconfig hme0 broadcast 24.0.143.255

>> >> >>and I have also changed my /etc/hosts file where I modifired the last
>> >> >>line to have the same   24.0.143.1 address

>> >> >>To verify   that it took my I.P. address I have done :
>> >> >>ifconfig -a
>> >> >>and now I see the inet  24.0.143. address;
>> >> >>also I have tried:
>> >> >>ping     24.0.143.1
>> >> >>and have received reply :
>> >> >>24.0.143.1 is alive

>> >> >>Now I have disconnected a cable modem from  my PC and connected to my
>> >> >>UNIX machine and have reset a buuton on my modem and as matter of fact
>> >> >>rebooted my UNIX.

>> >> >>I have tried to see if I have a connection to Internet
>> >> >>by doing :
>> >> >>ftp physics.orst.edu

>> >> >>instead of getting some message aknowledging connection I have got a
>> >> >>message :
>> >> >>unknown host

>> >> >>So;  I guess I have missed someting.

>> >> >>I remember somebody recommended to set up not only the I.P. number but
>> >> >>also:
>> >> >>default route,
>> >> >>and DNS numbers.
>> >> >>These variables can not be set by ifconfig command,
>> >> >>I could not find how to set them up.

>> Gregory.
>> greg3...@home.com

>--

>                    Hope this helps,
>                          Don

>--
>**********************      You a bounty hunter?
>* Rev. Don McDonald  *      Man's gotta earn a living.
>* Baltimore, MD      *      Dying ain't much of a living, boy.
>**********************             "Outlaw Josey Wales"
>http://members.home.net/oldno7

Gregory.
greg3...@home.com
 
 
 

newbie, setting up Internet connection

Post by Grego » Tue, 06 Oct 1998 04:00:00


I have tried to ftp a file from internet to my machine and it worked
O.K.

Now I want to set up the parameters on my Sparc 10 machine that will
allow me to send and receive E_MAIL.

I have looked in the Setting Up mail services section in Solaris
System Administration guide and id does not seems to be a simple task
as I expected.

I have gone thru 1.

Setting Up a Mail Server part,which basically says:

add the line to /etc/dfs/dfstab
share -F nfs -o rw /var/mail

and went thru 1 to 4 of Setting Up a Mail client:
1. Become supersuser
2. Create a /var/mail mount point on the mail client's system?

3. edit /etc/vfstab and add an entry to mount the /var/mail directory
from the mail server on the local /var/mail directory

4.mountall

and got stuck in #5
5.Use the Soltice AdminSuite Hosts Manager to edit the HOSTs database
and add an entry for mail server.....

Is it the same as starting admintool &
from CDE environment and using the hosts function of browse???
e

On Wed, 30 Sep 1998 14:14:05 GMT, greg3...@home.com (Gregory) wrote:
>Thanks a lot.
>It did help,

>I could ping cv1.sdca.home.com (my IP)
>and also ping physics.orst.edu

>Now I will try to get real data from ftp!!!!

>On Wed, 30 Sep 1998 12:47:29 GMT, "Rev. Don Kool" <old...@home.com>
>wrote:

>>Gregory,

>>        I have COMCAST @home and their netmask is 255.255.255.0 (i.e.,
>>ffffff00) so I would say that your netmask is wrong.  You also have
>>no default route and thus no way of getting off your local LAN
>>segment.  Try "24.0.143.1" for the gateway ("1" is the gateway for
>>me so you might just luck out).

>>        # ifconfig hme0 24.0.143.121 netmask 255.255.255.0 up
>>        # route add default 24.0.143.1 1

>>        Then see if you can ping at least the router using its IP address.
>>Next try to ping the nameserver using its IP.  If you get that far,
>>you should be home free.

>>                                Hope this helps,
>>                                        Don

>>Gregory wrote:

>>> Here is the result of netstst -rn command:
>>> I

>>> Routing Table:
>>>   Destination           Gateway           Flags  Ref   Use   Interface
>>> -------------------- -------------------- ----- ----- ------ ---------
>>> 24.0.0.0             24.0.143.121          U        3      0  hme0
>>> 224.0.0.0            24.0.143.121          U        3      0  hme0
>>> 127.0.0.1            127.0.0.1             UH       0   1924  lo0

>>> and here result of ifconfig -a:

>>> lo0: flags=849<UP,LOOPBACK,RUNNING,MULTICAST> mtu 8232
>>>         inet 127.0.0.1 netmask ff000000
>>> hme0: flags=863<UP,BROADCAST,NOTRAILERS,RUNNING,MULTICAST> mtu 1500
>>>         inet 24.0.143.121 netmask ff000000 broadcast 24.255.255.255
>>>         ether 8:0:20:7f:e4:71

>>> I have the docs from COX@HOME

>>> On Wed, 30 Sep 1998 01:22:39 GMT, "Rev. Don Kool" <old...@home.com>
>>> wrote:

>>> >Do a "netstat -rn" and see if the "default" gateway is set
>>> >correctly.  Also examine the "netmask".  If you don't have the
>>> >correct default gateway and netmask, you aren't going to get off
>>> >your local subnet.  Chances are the nameservers aren't on your local
>>> >subnet so you will have to get past the gateway for them to do you
>>> >any good.  Try to "ping" and see how far you get.  First "ping" your
>>> >own IP to see if the card is up.  Then "ping" the gateway.  Then
>>> >"ping" the nameservers.  You should be able to isolate where you're
>>> >getting held up.

>>> >                       Hope this helps,
>>> >                             Don

>>> >--
>>> >**********************      You a bounty hunter?
>>> >* Rev. Don McDonald  *      Man's gotta earn a living.
>>> >* Baltimore, MD      *      Dying ain't much of a living, boy.
>>> >**********************             "Outlaw Josey Wales"
>>> >http://members.home.net/oldno7

>>> >Gregory wrote:

>>> >> I have created the file(it did not exist before):
>>> >> /etc/resolv.conf
>>> >> as follows:

>>> >> domain cv1.sdca.home.com
>>> >> nameserver  24.0.3.33
>>> >> nameserver  24.0.3.34

>>> >> cv1.sdca.home.com(listed as subdomain in the paperwork that was left
>>> >> by COX@HOME technician after installin cable modem connection on my
>>> >> PC)

>>> >> 24.0.3.33 (listed as primary_dns_server_ip_address in the paperwork
>>> >> that was left by COX@HOME technician after installin cable modem
>>> >> connection on my PC)

>>> >> 24.0.3.34 (listed as sec_dns_server_ip_address in the paperwork that
>>> >> was left by COX@HOME technician after installin cable modem connection
>>> >> on my PC)

>>> >> I have shut down the Sparc 10,  reset the cable modem and rebooted

>>> >> Nothing drastic happenned. It still could not connect to outside world

>>> >> Then I have reset the /etc/nsswitch.conf file, where
>>> >> I have changed the entry :
>>> >> hosts: files

>>> >> to
>>> >> hosts: dns [NOTFOUND=return] files

>>> >> It is booting up
>>> >> the messages come out:

>>> >> as usual, then after I see a messages:
>>> >> started routing daemon
>>> >> starting rpc services: rpc bind keyserv done.

>>> >> Setting default interface for multicast:

>>> >> Here it goes in deep   deep thinking and eventually a message comes:
>>> >> add net 224.0.0.0: gateway GRIGORY-1

>>> >> again it goes in deep deep deep thinking here before it prints
>>> >> messages:
>>> >> Syslog service starting
>>> >> Print service started

>>> >> Again it goes in very deep thinking
>>> >> and after that comes as usual

>>> >> But I still can not connect to outside world

>>> >> On Sun, 27 Sep 1998 20:01:06 +0100, "Andy Gatward"
>>> >> <a...@gatward.demon.co.uk> wrote:

>>> >> >To set up the DNS hosts, edit the file /etc/resolv.conf

>>> >> >In here, put...

>>> >> >domain <name of domain>
>>> >> >nameserver <nameserver IP address>
>>> >> >...

>>> >> >eg for me at home it is:

>>> >> >domain demon.co.uk
>>> >> >nameserver 158.152.1.43
>>> >> >nameserver 158.152.1.58

>>> >> >You may also need to edit the /etc/nsswitch.conf file if it exists
>>> >> >and add "DNS" to the line that reads hosts:........

>>> >> >Regards,

>>> >> >Andy Gatward
>>> >> >Developer, Web Services
>>> >> >Nortel Optoelectronics Plc.

>>> >> >Gregory wrote in message <360d7150.55016297@news>...
>>> >> >>So I have tried to set my internet connection

>>> >> >>as follows:
>>> >> >>ifconfig hme0 inet 24.0.143.1
>>> >> >>ifconfig hme0 broadcast 24.0.143.255

>>> >> >>and I have also changed my /etc/hosts file where I modifired the last
>>> >> >>line to have the same   24.0.143.1 address

>>> >> >>To verify   that it took my I.P. address I have done :
>>> >> >>ifconfig -a
>>> >> >>and now I see the inet  24.0.143. address;
>>> >> >>also I have tried:
>>> >> >>ping     24.0.143.1
>>> >> >>and have received reply :
>>> >> >>24.0.143.1 is alive

>>> >> >>Now I have disconnected a cable modem from  my PC and connected to my
>>> >> >>UNIX machine and have reset a buuton on my modem and as matter of fact
>>> >> >>rebooted my UNIX.

>>> >> >>I have tried to see if I have a connection to Internet
>>> >> >>by doing :
>>> >> >>ftp physics.orst.edu

>>> >> >>instead of getting some message aknowledging connection I have got a
>>> >> >>message :
>>> >> >>unknown host

>>> >> >>So;  I guess I have missed someting.

>>> >> >>I remember somebody recommended to set up not only the I.P. number but
>>> >> >>also:
>>> >> >>default route,
>>> >> >>and DNS numbers.
>>> >> >>These variables can not be set by ifconfig command,
>>> >> >>I could not find how to set them up.

>>> Gregory.
>>> greg3...@home.com

>>--

>>                        Hope this helps,
>>                              Don

>>--
>>**********************      You a bounty hunter?
>>* Rev. Don McDonald  *      Man's gotta earn a living.
>>* Baltimore, MD      *      Dying ain't much of a living, boy.
>>**********************             "Outlaw Josey Wales"
>>http://members.home.net/oldno7

>Gregory.
>greg3...@home.com

Gregory.
greg3...@home.com
 
 
 

newbie, setting up Internet connection

Post by Rev. Don Koo » Tue, 06 Oct 1998 04:00:00



> I have tried to ftp a file from internet to my machine and it worked
> O.K.

> Now I want to set up the parameters on my Sparc 10 machine that will
> allow me to send and receive E_MAIL.

> I have looked in the Setting Up mail services section in Solaris
> System Administration guide and id does not seems to be a simple task
> as I expected.

> I have gone thru 1.

> Setting Up a Mail Server part,which basically says:

> add the line to /etc/dfs/dfstab
> share -F nfs -o rw /var/mail

> and went thru 1 to 4 of Setting Up a Mail client:
> 1. Become supersuser
> 2. Create a /var/mail mount point on the mail client's system?

> 3. edit /etc/vfstab and add an entry to mount the /var/mail directory
> from the mail server on the local /var/mail directory

> 4.mountall

> and got stuck in #5
> 5.Use the Soltice AdminSuite Hosts Manager to edit the HOSTs database
> and add an entry for mail server.....

> Is it the same as starting admintool &
> from CDE environment and using the hosts function of browse???

        I'm not sure and I don't have a SOLARIS box at home here to check.
All you really need to do though is add a line for the mailserver to
the "/etc/hosts" file.  You can just do that by hand.  If you just
put the real name in the "sendmail.cf" file instead of "mailserver"
(or whatever it says), it can just get the name from the NIS or
DNS.  The only thing you're trying to do is not have it get "unknown
host" when it tries to fetch the mail.

                        Hope this helps,
                              Don

--
**********************      You a bounty hunter?
* Rev. Don McDonald  *      Man's gotta earn a living.
* Baltimore, MD      *      Dying ain't much of a living, boy.
**********************             "Outlaw Josey Wales"
http://members.home.net/oldno7

 
 
 

1. Newbie trying to set up Internet connection

Hi folks,

Can anyone point me in the right direction to setting up my modem and
establishing a connection to my Internet Serviice Provider (ISP). I've
read a book, the howto and a few other bits and pieces and I can't
figure it out. I've got RedHat Linux 5.1 installed, and a 2-year old
internal modem (i.e. not a Winmodem <spit>).

First, how do I check that Linux can "see" my modem? I think it can,
but I'd like to check.

I tried following the guidelines for setting up a PPP connection in
Linux Unleashed. I got to the bit on opening the /etc/rc.d/rc.inet1
file. Er, I couldn't find it - "ls - R rc.inet1" should find it if
it's there, shouldn't it?

I ran into the same problem when I go the "how to connect instructions
for Linux" from my ISP, it wanted me to do something with rc.inet1.

Also, I tried typing "chat" (with no qualifiers" - logged in as root
this was fine, but with my "normal" user I got a "command not found"
error. What's going on there? Don't I need to be able to run chat to
connect? What do I change to persuade my regular login to find chat?

Last question, then I'll shut up. There's lots about making a PPP
connection, nothing about disconnecting. I find this worrying... What
do I do to hang the modem up when I want to disconnect?

Thanks for any help, I'm floundering a bit at the moment (UNIX virgin,
me...)

Martin

2. WINNT/WIN95/DOS/LINUX DO IT LIKE THIS

3. Internet-Junkie Linux-Newbie Trying to Configure Cable Internet Connection

4. ksh script question

5. Shape Ups,Men's Shape Ups,Men's Skechers Shape Ups - new styles!

6. Apache implied cgi execution

7. Help with setting up my sympatico dsl internet connection.

8. ip_masq_ipsec.o or ip_masq_ipsec.c

9. internet connection set-up

10. Setting UP DialBack-Internet-Connection using ISDN & Suse Linux 5.2

11. Newbie - internet connection

12. newbie - 2 boxes, 1 dialup internet connexion

13. Setting up PPP for a internet connection