Linux Help
-
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 -
What file are you altering to change the IP address?
What Linux distro is it? Linux itself is not a singular thing.
-
@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 -
How did you alter the IP address? Do you know what commands you ran?
-
@voipmarkets said:
the linux in installed insaid the device (gsm gateway) its not installed in a pc
What is the output of uname -a
-
(also linux noob) Sounds like you're not saving the changes to the file you're editing???
Welcome to ML
-
Also, what do you get from ls /etc | grep release
-
@MattSpeller ya i think this it ............... hehehe i dont know how to save it
-
@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.
-
shudder
try... what was it.... nano? instead of vi
this will probably bring the hate but vi is intolerable, ick.
-
@voipmarkets said:
@MattSpeller ya i think this it ............... hehehe i dont know how to save it
That would do it.
-
@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.
-
@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.
-
@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.
-
Linux is really hard uhhhh,..................................................
-
@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.
-
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.
-
@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.
-
@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.
-
@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.