LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to configure IP address in linux (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-configure-ip-address-in-linux-4175496405/)

gonny95 02-27-2014 05:55 AM

How to configure IP address in linux
 
My router configuration page requires something strange

In Windows7 I did like this

http://i58.tinypic.com/29giltx.png

How to do the same thing using Linux commands

And I'm wondering why my router require changing IP

I want to know the principle

Isaac Velando 02-27-2014 06:02 AM

You can do the same thing the same way with graphical network managers in Linux. Depending on the desktop environment you're using (what distribution are you running?) you probably have an icon showing your active network connection somewhere where you can do something along the lines of Right Click -> Edit Connections and edit the connection you want to set a static IP for. If you want to use the terminal that's an option too of course, but using graphical options might be more comfortable.

gonny95 02-27-2014 06:34 AM

I'm using Slackware 14.1 for my Desktop and PuppyLinux for my USB

Since I'm using two different distributions I think it would be better to use general Linux commands rather than distribution-dependent network managers

DavidMcCann 02-27-2014 10:49 AM

There's no guarantee that they will have the same command, as Slackware is rather old fashioned and Puppy rather unconventional. Look at ip, or else ifconfig.

gonny95 02-28-2014 11:10 PM

ifconfig works thanks!


All times are GMT -5. The time now is 12:57 AM.