Linux and ip address

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Well it depends on the distro and whether you are running inetd or
something like it, or not. Usually inetd is used to manage all of
the tcp daemons. There is a file called /etc/inetd.conf See if you
have that and look for a line that says telnet. Make sure that this
line is NOT commented out (if it begins with a # then delete that).

If you had to change that, do a reboot. Just type ifconfig to see
what your IP address is set to. It will list all network interfaces.
Most likely you want eth0 so you can try ifconfig eth0 and look for
an IP address.

Try telnetting to the linux box from the linux box first. You can't
login as root, you need another user name.

There is tons of documentation on linux networking.
Did you look at http://www.tldp.org/

http://www.tldp.org/HOWTO/Net-HOWTO/index.html
http://www.tldp.org/HOWTO/Networking-Overview-HOWTO.html
http://www.tldp.org/HOWTO/Ethernet-HOWTO.html
http://www.tldp.org/HOWTO/Masquerading-Simple-HOWTO/index.html
http://www.tldp.org/HOWTO/FTP.html

Linux is actually just the kernel. The way that networking is
configured and services started is distribution specific. Look
at the docs for networking and services for your distro.

Some stuff is generic, for example I can configure an ethernet
device on the command line by doing

ifconfig eth0 down
(stops the interface)

ifconfig eth0 up
(starts the interface)

ifconfig eth0 192.168.1.2 netmask 255.255.255.0 up
(start eth0 with specific IP and netmask)
route add default gw 192.168.99.254
(add a default gateway)

The way these things are configured for specific systems at boot
time differs between redhat, slackware, debian, etc.

There is lots to learn. But there are lots of docs. Everything
you need to know about networking can be found on web sites.
Google is your friend.

   -- Doug





[Index of Archives]     [Linux for the Blind]     [Fedora Discussioin]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]
  Powered by Linux