sg

Cumartesi, Aralık 10, 2005

[lug] Re: How to give static Ip adress in linux

vikram,
         how to check whether firewalls are there or not?
where  system services will be there?

Sunil

On 12/10/05, Vikram Malvi <vikram.malvi@hurix.com> wrote:
Sunil,

Can you please check any firewall is running or not.. If there any
please stop that and also do $iptables  -F
and  then type "setup"  at root prompt and then move to "system
services" and then please check that telnet is selected or not, if it is
not selected then select it and say "ok" and exit. Then at root prompt
type  /etc/init.d/xinetd restart  .

If it is not working then please let me know.

Regards

Vikram




sunil vvn wrote:

> Hi Vikram,
>                I had done as mentioned by you ,checking the telnet
> file in  /etc/xinetd.d, and executed the xinetd script using the
> restart parameter..............still I am unable telent from the other
> machine.
>             I will give  details of my  network one more time,I am
> having two machines ,in one machine suppose say machine1, I installed
> linux and windows xp. and suppose the second machine name is machine2
> ,in that one  I installed windows xp in machine2.
>           I connected machine1 and machine2 using cross cable. I am
> able to ping from machine2 to machine1 when the machine1 is in windows
>           But till now I am unable to connect the machine1 using
> telnet when the machine1 is in linux.
>             Could U tell me where I am missing. is there any changes
> we have to do in machine2.
> otherwise ,is my linux is not properly installed?
>
> Rgrds
> Sunil
>
>
> On 12/7/05, *Vikram Malvi* < vikram.malvi@hurix.com
> <mailto:vikram.malvi@hurix.com>> wrote:
>
>     Hi sunil,
>
>     Please follow below steps to enable telnet daemon in your linux
>     server:-
>
>     1) vi /etc/xinetd.d/telnet
>
>     2) service telnet
>     {
>             disable = no
>             flags           = REUSE
>             socket_type     = stream
>             wait            = no
>             user            = root
>             server          = /usr/sbin/in.telnetd
>             log_on_failure  += USERID
>     }
>     ##do these changes in telnet file
>     3) /etc/init.d/xinetd restart
>
>     And enjoy world of telnet :-)
>
>     If you have any problem regarding this please let me know.
>
>     Tnr
>
>     Vikram
>
>     sunil vvn wrote:
>
>     > I had done that one also.............1st I executed netconfig and I
>     > had given the  ip adress .
>     >           still I am unable to telnet from other machine
>     >
>     > Sunil
>     >
>     > On 12/7/05, *Sai Krishna* <psaikrishna.sai@gmail.com
>     <mailto:psaikrishna.sai@gmail.com>
>     > <mailto:psaikrishna.sai@gmail.com
>     <mailto: psaikrishna.sai@gmail.com>>> wrote:
>     >
>     >     Perm Solution Can also be done through simple comand
>     netconfig on
>     >     terminal
>     >     while tem solution remains the same
>     >
>     >
>     >     On 12/7/05, * sunil vvn* < sunil.vvn@gmail.com
>     <mailto: sunil.vvn@gmail.com>
>     >     <mailto:sunil.vvn@gmail.com <mailto:sunil.vvn@gmail.com>>>
>     wrote:
>     >
>     >         Hi Tim,
>     >                   There is a problem again............I had done all
>     >         the settings as u mentioned in the mail for the permanent
>     >         solution.
>     >                  Already all the data is existing in the file
>     >         /etc/sysconfig/network-scripts
>     >
>     >             /ifcfg-ethX as u mentioned .Only  BOOTPROTO variable was
>     >             different in that file,it was none in that file I
>     changed
>     >             to satic.
>     >
>     >
>     >                   I am unable to find out where it's going on error
>     >
>     >         Sunil
>     >
>     >
>     >
>     >
>     >
>     >
>     >         On 12/6/05, *Tim* < callmetimmay@comcast.net
>     <mailto:callmetimmay@comcast.net>
>     >         <mailto: callmetimmay@comcast.net
>     <mailto:callmetimmay@comcast.net>>> wrote:
>     >
>     >
>     >             I use redhat/fedora for the most part, and this
>     should be
>     >             the same for other
>     >             distro's...
>     >
>     >             To assign a static ip address...
>     >
>     >             X=Variable - change to your correct device/address
>     >
>     >             Temp. Solution:
>     >                     ifconfig ethX 192.168.XXX.XXX
>     >                     And make sure you can get out...
>     >                     Type route - if there is no default entry for
>     >             gateway...
>     >                     route add default gw 192.168.XXX.XXX (Your
>     router
>     >             address)
>     >
>     >             Perm. Solution
>     >                     edit your ethX configuration to set static ip...
>     >                     vi /etc/sysconfig/network-scripts/ifcfg-ethX
>     >                     make sure these lines are in the file:
>     >                             ONBOOT=yes
>     >                             DEVICE=ethX
>     >                             IPADDR=192.168.XXX.XXX
>     >                             NETMASK=255.255.XXX.XXX
>     >                             BOOTPROTO=static
>     >                     type a :wq to save and quit
>     >                     vi /etc/sysconfig/network
>     >                     make sure these lines are in the file:
>     >                             NETWORKING=yes
>     >                             HOSTNAME=whatever.whatever.com
>     <http://whatever.whatever.com>
>     >             <http://whatever.whatever.com>
>     >                             GATEWAY= 192.168.XXX.XXX
>     >                             GATEWAYDEV=ethX       (Optional...
>     >             depending if you have
>     >             multiple nics)
>     >
>     >
>     >             That should be it....
>     >             if you need to modify dns settings,
>     >                     vi /etc/resolv.conf
>     >                     make sure these lines exist:
>     >                             search 192.168.XXX.XXX (ROUTER)
>     >                             nameserver 68.87.66.196
>     <http://68.87.66.196>
>     >             <http://68.87.66.196> (DNS 1)
>     >                             nameserver 68.87.64.196
>     <http://68.87.64.196>
>     >             <http://68.87.64.196> (DNS 2)
>     >
>     >
>     >             Save it and you are golden!
>     >
>     >             -Tim
>     >
>     >             -----Original Message-----
>     >             From: linuxusersgroup@googlegroups.com
>     <mailto:linuxusersgroup@googlegroups.com>
>     >             <mailto: linuxusersgroup@googlegroups.com
>     <mailto:linuxusersgroup@googlegroups.com>>
>     >             [mailto: linuxusersgroup@googlegroups.com
>     <mailto:linuxusersgroup@googlegroups.com>
>     >             <mailto: linuxusersgroup@googlegroups.com
>     <mailto:linuxusersgroup@googlegroups.com>>] On Behalf Of
>     >             sunil vvn
>     >             Sent: Monday, December 05, 2005 9:03 AM
>     >             To: linuxusersgroup@googlegroups.com
>     <mailto:linuxusersgroup@googlegroups.com>
>     >             <mailto:linuxusersgroup@googlegroups.com
>     <mailto:linuxusersgroup@googlegroups.com>>
>     >             Subject: [lug] How to give static Ip adress in linux
>     >
>     >
>     >             Hi,
>     >                        I am having 2 pc's.In one pc In one
>     Pc(machine
>     >             1) there are
>     >             two operating systemsI  widows xp and linux server.
>     In other
>     >             machine(machine 2) windows xp is there,
>     >                     If the machine one is in windows xp
>     >             mode...........if i ping
>     >             from machine 2 to machine 1 .I am getting the reply
>     (that
>     >             means the
>     >             connection is established for the two machines)
>     >                    If I want to connect linux server from machine 2
>     >             through
>     >             telenet,what and all the prerequistes to be there in the
>     >             linux
>     >             machine.
>     >                  Like static ip adress ,I am new to this scenario.If
>     >             anybody knows
>     >             could U help me out.
>     >                    How to give static ip adress in linux?and other
>     >             than static Ip
>     >             adress we have to do anything else?
>     >
>     >                        How to go ahead?
>     >
>     >             Rgrds
>     >             Sunil
>     >
>     >
>     >
>     >
>     >
>     >     --
>     >     Sai Krishna
>     >
>     >
>
>
>
>
>




0 Comments:

Yorum Gönder

<< Home


Komik Videolar   islam  şarkı sözleri  yemek tarifleri  gelibolu  huzur   sağlık