Linux Help
-
@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.
-
@StrongBad said:
@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.
This is so true!
-
Did you change the interface from DHCP to static in the config? Also which GSM gateway, it could also be that changes need to be wrote in some special way as to be stored to non-volatile memory.
-
Also what is happening if you save the file and then restart the network service? does it take or is it still using the old ip?
-
@StrongBad said:
No single networking conf file in the Red Hat, Suse, Fedora world. It's by interface.
And most firewall/gateway devices seem to be.
It's
/etc/sysconfig/network/ifcfg-device where you'd put eth0, eth1 etc (what ever your device is named, ifconfig should help in finding it) in place of device.