Re: ssh - cannot log in

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

 



On 6/27/07, David Katz <david@xxxxxxxxxxxxxxxxxxxxxxx> wrote:
I think you have identified at least part of my problem:

ifconfig says that my workstation is 192.168.1.2. To match my router's settings, I need it to be 192.168.1.140. Can I just:

ifconfig eth0 192.168.1.140

?

Thanks much!

man ifconfig is your best help on that one.  I typically configure it
via the GUI.  What you have is right except you don't have a subnet
mask or default gateway included.

Best to log onto your router and configure it from there as was
explained by someone else and as I noted in my initial posting.  If
you are going to statically assign it within Fedora, you have to make
sure that it's an IP that the router will not assign via DHCP to
another machine on the network.  Otherwise you'll have two machines
with the same IP.  Hence you either configure the router to assign a
static IP to MAC (whatever the MAC is for the machine in question), or
set it via Fedora and ensure that DHCP on the router is set up with a
range of IPs that does not contain the static IP you set on your
machine.

In other words if you set your machine to 192.168.1.140, ensure the
DHCP server only allocates 192.168.1.100 to 192.168.1.120 for example.
So 140 doesn't get allocated to a second machine on your network.

Jacques B.

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux