ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Linux Help

    IT Discussion
    7
    49
    9.1k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • V
      voipmarkets
      last edited by

      i need some help in Linux.

      i have a gsm gateway runs with Linux system. the problem is every time i change the ip and i reboot the gateway the old ip comes back like i did not do any thing .
      so again i have to login via COM1 cable using Putty and change the ip . can some one tell me what is the problem. also i can not login via winspc to locate the network file so i can edit it

      1 Reply Last reply Reply Quote 0
      • StrongBadS
        StrongBad
        last edited by

        What file are you altering to change the IP address?

        What Linux distro is it? Linux itself is not a singular thing.

        V 1 Reply Last reply Reply Quote 0
        • V
          voipmarkets @StrongBad
          last edited by

          @StrongBad ummm.... i really dont know but i read on the internet that can be manual better then command line.

          and the thing is i dont know how to use linux.
          the linux in installed insaid the device (gsm gateway) its not installed in a pc

          StrongBadS 1 Reply Last reply Reply Quote 0
          • StrongBadS
            StrongBad
            last edited by

            How did you alter the IP address? Do you know what commands you ran?

            1 Reply Last reply Reply Quote 0
            • StrongBadS
              StrongBad @voipmarkets
              last edited by

              @voipmarkets said:

              the linux in installed insaid the device (gsm gateway) its not installed in a pc

              What is the output of uname -a

              1 Reply Last reply Reply Quote 0
              • MattSpellerM
                MattSpeller
                last edited by

                (also linux noob) Sounds like you're not saving the changes to the file you're editing???

                Welcome to ML 🙂

                V thanksajdotcomT 2 Replies Last reply Reply Quote 1
                • StrongBadS
                  StrongBad
                  last edited by

                  Also, what do you get from ls /etc | grep release

                  1 Reply Last reply Reply Quote 0
                  • V
                    voipmarkets @MattSpeller
                    last edited by

                    @MattSpeller ya i think this it ............... hehehe i dont know how to save it

                    StrongBadS 1 Reply Last reply Reply Quote -1
                    • thanksajdotcomT
                      thanksajdotcom @MattSpeller
                      last edited by

                      @MattSpeller said:

                      (also linux noob) Sounds like you're not saving the changes to the file you're editing???

                      Welcome to ML 🙂

                      Ditto this. If you're using CLI, it'd be

                      vi networking.conf
                      

                      Then, when you're done with the changes, Esc followed by :wq and Enter. It sounds like you're making the changes but they aren't applying.

                      StrongBadS 1 Reply Last reply Reply Quote -2
                      • MattSpellerM
                        MattSpeller
                        last edited by

                        shudder

                        try... what was it.... nano? instead of vi

                        this will probably bring the hate but vi is intolerable, ick.

                        thanksajdotcomT 1 Reply Last reply Reply Quote 0
                        • StrongBadS
                          StrongBad @voipmarkets
                          last edited by

                          @voipmarkets said:

                          @MattSpeller ya i think this it ............... hehehe i dont know how to save it

                          That would do it.

                          1 Reply Last reply Reply Quote 0
                          • StrongBadS
                            StrongBad @thanksajdotcom
                            last edited by

                            @thanksaj said:

                            @MattSpeller said:

                            (also linux noob) Sounds like you're not saving the changes to the file you're editing???

                            Welcome to ML 🙂

                            Ditto this. If you're using CLI, it'd be

                            vi networking.conf
                            

                            Then, when you're done with the changes, Esc followed by :wq and Enter. It sounds like you're making the changes but they aren't applying.

                            That's not normally where the configuration is. That's Ubuntu only, non-standard.

                            thanksajdotcomT 1 Reply Last reply Reply Quote 0
                            • thanksajdotcomT
                              thanksajdotcom @StrongBad
                              last edited by

                              @StrongBad said:

                              @thanksaj said:

                              @MattSpeller said:

                              (also linux noob) Sounds like you're not saving the changes to the file you're editing???

                              Welcome to ML 🙂

                              Ditto this. If you're using CLI, it'd be

                              vi networking.conf
                              

                              Then, when you're done with the changes, Esc followed by :wq and Enter. It sounds like you're making the changes but they aren't applying.

                              That's not normally where the configuration is. That's Ubuntu only, non-standard.

                              I was just using a generic name for the .conf file.

                              StrongBadS 1 Reply Last reply Reply Quote -2
                              • thanksajdotcomT
                                thanksajdotcom @MattSpeller
                                last edited by

                                @MattSpeller said:

                                shudder

                                try... what was it.... nano? instead of vi

                                this will probably bring the hate but vi is intolerable, ick.

                                I HATE nano. Besides, vi is a necessary thing every person who says they know Linux needs to learn. It comes bundled with all distros and all types of Linux, not just Ubuntu, which uses nano and gedit in addition to vi. However, CentOS and other RPM systems don't have either of those. Use what's universal.

                                1 Reply Last reply Reply Quote 1
                                • V
                                  voipmarkets
                                  last edited by

                                  Linux is really hard uhhhh,..................................................

                                  thanksajdotcomT StrongBadS 2 Replies Last reply Reply Quote -1
                                  • thanksajdotcomT
                                    thanksajdotcom @voipmarkets
                                    last edited by

                                    @voipmarkets said:

                                    Linux is really hard uhhhh,..................................................

                                    Not really. However, if you try to think like you do with Windows and use Linux, you will make it hard on yourself. Linux makes SO MUCH MORE sense than Windows. Windows is unstable in many ways because it doesn't do things like Linux. The registry? ICK! It's because Windows wants to be all proprietary, among other things.

                                    D 1 Reply Last reply Reply Quote 1
                                    • thanksajdotcomT
                                      thanksajdotcom
                                      last edited by

                                      Besides, @voipmarkets, if you think like that, it's a defeatist attitude. It's not hard. It's another challenge to conquer and overcome. It's another thing to learn. It's another skill to learn. If you claim to be IT, and you don't have at least A LITTLE experience and familiarity with Linux, I don't consider you IT. Learning things like the basics of vi, the essentials of how to navigate a Linux CLI, etc, are essential skills for anyone who claims to work IT.

                                      1 Reply Last reply Reply Quote -2
                                      • StrongBadS
                                        StrongBad @thanksajdotcom
                                        last edited by

                                        @thanksaj said:

                                        @StrongBad said:

                                        @thanksaj said:

                                        @MattSpeller said:

                                        (also linux noob) Sounds like you're not saving the changes to the file you're editing???

                                        Welcome to ML 🙂

                                        Ditto this. If you're using CLI, it'd be

                                        vi networking.conf
                                        

                                        Then, when you're done with the changes, Esc followed by :wq and Enter. It sounds like you're making the changes but they aren't applying.

                                        That's not normally where the configuration is. That's Ubuntu only, non-standard.

                                        I was just using a generic name for the .conf file.

                                        No single networking conf file in the Red Hat, Suse, Fedora world. It's by interface.

                                        thanksajdotcomT ? 2 Replies Last reply Reply Quote 1
                                        • StrongBadS
                                          StrongBad @voipmarkets
                                          last edited by

                                          @voipmarkets said:

                                          Linux is really hard uhhhh,..................................................

                                          Not really, just like anything you have to learn it before using it. Windows is incredibly hard for Linux people who are used to the easy, simple world of configuration text files with all data nice and obvious. Windows is very complex by comparison.

                                          thanksajdotcomT 1 Reply Last reply Reply Quote 1
                                          • thanksajdotcomT
                                            thanksajdotcom @StrongBad
                                            last edited by

                                            @StrongBad said:

                                            @thanksaj said:

                                            @StrongBad said:

                                            @thanksaj said:

                                            @MattSpeller said:

                                            (also linux noob) Sounds like you're not saving the changes to the file you're editing???

                                            Welcome to ML 🙂

                                            Ditto this. If you're using CLI, it'd be

                                            vi networking.conf
                                            

                                            Then, when you're done with the changes, Esc followed by :wq and Enter. It sounds like you're making the changes but they aren't applying.

                                            That's not normally where the configuration is. That's Ubuntu only, non-standard.

                                            I was just using a generic name for the .conf file.

                                            No single networking conf file in the Red Hat, Suse, Fedora world. It's by interface.

                                            I am aware of that. I was just using the word networking in place of example.conf or whatever.

                                            1 Reply Last reply Reply Quote -2
                                            • 1
                                            • 2
                                            • 3
                                            • 1 / 3
                                            • First post
                                              Last post