How to find your IP Address

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



OK guys thanks for your answers. Some of them were way to technical for me
being a beginner. What I found instead of ifconfig was: ip addr show

As for the Samba problem I don't have the firewall turned on yet. I don't
want the problems while I learn linux. What I did was run the above command
and got the ip address. Once I did that I pinged it from windows then I was
able to ping the name to make sure I can see it. Once it worked I was able
to see the shares now. Part of the problem may have been the DHCP didn't
share the information with the DNS in a timely fashion. Thanks.

-----Original Message-----
From: centos-bounces@xxxxxxxxxx [mailto:centos-bounces@xxxxxxxxxx] On Behalf
Of Jim Perrin
Sent: Thursday, April 27, 2006 8:27 AM
To: CentOS mailing list
Subject: Re:  How to find your IP Address

On 4/27/06, Chris Peikert <c.peikert@xxxxxxxxxxxxxxxxxx> wrote:
>
>
>
> Ok guys a quick newb question. I have been reading up on the Red Hat
> Enterprise 4 for dummies book along with installing and playing with the
> configurations of Cent OS 4. I have yet been able to find any information
on
> how to find out what your IP address is. I have it set to use DHCP from
our
> Windows server and I looked under the network card configuration settings
> but can not find any command or GUI place that will show your IP Address.
> When I go to a windows machine and try to ping the Cent box by its name it
> cant find the host. Now I know I can go into the DHCP server but I need to
> learn how to find it on the Linux box.
>

/sbin/ifconfig ethX where X is the device number. If you're not sure
you can just do /sbin/ifconfig and it'll spit up all of them.

> Another question has to deal with Samba. I set up samba using the GUI
> interface then ran  service smb start command to start up samba. The book
> says I should be able to browse the network with a windows machine now and
> find the linux box but I am unable to. Any clues why its not showing up on
> the network?

The manual assumes that you don't have a firewall in the way. It's
possible that iptables is blocking access to other machines.


--
This message has been double ROT13 encoded for security. Anyone other
than the intended recipient attempting to decode this message will be
in violation of the DMCA
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux