Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
04-25-2012, 04:34 AM
|
#1
|
LQ Newbie
Registered: Feb 2009
Posts: 12
Rep:
|
Can't SSH to local ubuntu server after putting it into DMZ mode
So I put the ip of my server in DMZ mode because I am experimenting with hosting a website from home and now I cannot SSH into it.
|
|
|
04-25-2012, 04:48 AM
|
#2
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
ok, so... that's a bad thing..? you want help to make that not the case?
Might help to explain what you actually did... sounds like something a firewall widget would do... can you not walk up to the machine, login locally and change it back?
|
|
|
04-25-2012, 04:53 AM
|
#3
|
LQ Newbie
Registered: Feb 2009
Posts: 12
Original Poster
Rep:
|
Its working now I guess i just needed to reset the network connection?, I ended up just rebooting the server, I tired ifconfig down , ifconfig up , but this didn't work, I also tried dhclient which didn't work either, what is the best way to ipconfig/release renew in ubuntu server?
|
|
|
04-25-2012, 05:38 AM
|
#4
|
Senior Member
Registered: May 2010
Location: Palm Island
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,420
|
Quote:
what is the best way to ipconfig/release renew in ubuntu server?
|
Sorry, I didn't get. Can you explain it?
|
|
|
04-25-2012, 05:40 AM
|
#5
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
well, you should never be renewing a lease on a server, as a server shouldn't be using DHCP...
|
|
|
04-25-2012, 06:02 AM
|
#6
|
LQ Newbie
Registered: Feb 2009
Posts: 12
Original Poster
Rep:
|
Quote:
Originally Posted by Satyaveer Arya
Sorry, I didn't get. Can you explain it?
|
I don't understand what is so confusing. ipconfig/release , ipconfig/renew , how to do this on linux, as i mentioned i tried ifconfig eth1 down, ifconfig eth1 up, but this didn't work, i also tried using dhclient which didn't work either, as I already said. I ended up having to reboot the server completely which is what i was trying to avoid.
|
|
|
04-25-2012, 06:03 AM
|
#7
|
LQ Newbie
Registered: Feb 2009
Posts: 12
Original Poster
Rep:
|
Quote:
Originally Posted by acid_kewpie
well, you should never be renewing a lease on a server, as a server shouldn't be using DHCP...
|
I want to host a simple website from home, but I do not want to pay for an expensive business account for a static ip. As i understand from my reading so far this should be possible to do. My WAN ip changes once in a blue moon, and my lan ip is always the same 192.168.1.whatever. So i really dont see the point in paying for a business account from my isp, i actually dont mind having to go in and change things if the ip changes.
Last edited by weylin; 04-25-2012 at 06:18 AM.
|
|
|
04-25-2012, 06:06 AM
|
#8
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
you wouldn't use the tools directly, but use the wrapper services around them, as that's how the defined configuration files get into the question. I would personally just restart the network service - "sudo /etc/init.d/networking restart"
---------- Post added 25-04-12 at 11:07 AM ----------
Quote:
Originally Posted by weylin
as i said, i am experimenting with hosting a website from home for fun, so patronizing me about using dhcp isn't really answering my question or helping at all.
|
and accusing people helping you of being patronizing isn't a great idea.
|
|
|
All times are GMT -5. The time now is 08:00 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|