Announcement

Collapse
No announcement yet.

How to assign static IP addresses?

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    How to assign static IP addresses?

    This falls into the category of things I've forgotten...I'm sure I knew how to do this...at some point...

    How do I assign a static IP address to each computer on my network? Right now, the IP addresses rotate depending on the order each computer comes back online after the router has been down. My addresses are in the 192.168.1.1xx range.
    Xenix/UNIX user since 1985 | Linux user since 1991 | Was registered Linux user #163544


    #2

    Comment


      #3
      Thanks, Steve!

      I must've done it via CLI back in the day, because your GUI example didn't look at all familiar to me. But it seems to be working.
      Xenix/UNIX user since 1985 | Linux user since 1991 | Was registered Linux user #163544

      Comment


        #4
        I make settings in my Cisco wireless router, with DD-WRT firmware burn in, to set the IP address of this Acer to 192.169.1.111 using the MAC address of the atheros wireless chip.
        "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
        – John F. Kennedy, February 26, 1962.

        Comment


          #5
          Well, I actually started typing the CLI instructions, and then thought, "Wait, she isn't using a server, there's a decent GUI for this!" So I used that instead.

          Comment


            #6
            Originally posted by SteveRiley View Post
            Well, I actually started typing the CLI instructions, and then thought, "Wait, she isn't using a server, there's a decent GUI for this!" So I used that instead.


            Looks like I spoke too soon. I don't THINK I screwed up anything in the config, but it's not working. The computers are still being assigned their IP addresses based on when they come up after the router is rebooted.

            One thing I'll admit to being baffled about: why WIRED? They're [almost] all wireless.
            Xenix/UNIX user since 1985 | Linux user since 1991 | Was registered Linux user #163544

            Comment


              #7
              I chose the wired interface in my screen shot because that's what I have on my PC.

              If you're using wireless, then you need to perform those steps on the wireless interfaces in Network Manager, not the wired interface.

              Comment


                #8
                Originally posted by SteveRiley View Post
                Well, I actually started typing the CLI instructions, and then thought, "Wait, she isn't using a server, there's a decent GUI for this!" So I used that instead.
                I used to have pretty good CLI skills but after a decade of using GUI's I'm pretty much limited to cd, mkdir, locate, updatedb, apt-get, grep, route, ifconfig iwconfig, ls, vdir, and some I can't remember right now.
                "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
                – John F. Kennedy, February 26, 1962.

                Comment


                  #9
                  I can--AND WILL--use my "I'd already taken my sleeping pills" excuse. Yep. That's it.

                  Thanks, Steve.
                  Xenix/UNIX user since 1985 | Linux user since 1991 | Was registered Linux user #163544

                  Comment


                    #10
                    Originally posted by GreyGeek View Post
                    I used to have pretty good CLI skills but after a decade of using GUI's I'm pretty much limited to cd, mkdir, locate, updatedb, apt-get, grep, route, ifconfig iwconfig, ls, vdir, and some I can't remember right now.
                    When I have REAL work to get done, such as processing hundreds or thousands of photos, you'll find me at a command line. For other stuff, I'm usually sitting in a GUI somewhere.
                    Xenix/UNIX user since 1985 | Linux user since 1991 | Was registered Linux user #163544

                    Comment


                      #11
                      Now that it's all done the GUI way, Steve, anyone?, want to outline the CLI way? Probably just identifying the file(s) that need to be modified would suffice.
                      Xenix/UNIX user since 1985 | Linux user since 1991 | Was registered Linux user #163544

                      Comment


                        #12
                        Setting up a wireless interface from the command line takes a number of steps. You have to remove it from NetworkManager's span of control in /etc/NetworkManager/NetworkManager.conf, configure the interface properties (address, mask, gateway, DNS servers) in /etc/network/interfaces, and then configure wpa-supplicant. It's actually a hassle. But if you really want to try it, then:

                        http://ubuntuguide.org/wiki/Ubuntu_T...e_command-line

                        Comment


                          #13
                          Thanks for the info, Steve.
                          Xenix/UNIX user since 1985 | Linux user since 1991 | Was registered Linux user #163544

                          Comment

                          Working...
                          X