DEV Community

Discussion on: This is how I turned my old laptop into a server.

Collapse
 
furyuri profile image
Uri Frazier • Edited

I was just trying to do this over the weekend, and hit some roadblocks, so I was very happy to see this as one of the links in the DEV newsletter. I would very much appreciate some help:

First: I setup an old version of Ubuntu Server, because the small amount of research I did showed that 15.10 would be compatible with my old Macbook. Here's where I found that: help.ubuntu.com/community/MacBook2...

Because I'm using a much older version of Ubuntu, it's not as easy to set the IP address and I have to write this "code" from scratch. Here are some instructions (below), but they require me to know what my IP address, netmask address, gateway address (?), and DNS server information are. Can I choose my own static IP address? I don't know what a netmask, or gateway are. I don't know what my DNS server address is. I feel like I have to learn everything about TCP/IP to even get started. Please help!

michael.mckinnon.id.au/2016/05/05/...

Second: You mentioned not port forwarding your server and just using it inside a private network. How do I do this? This is exactly what I want to do. I just want a "private server", but am not sure if this would just be a WAN? I want to practice using/managing a server...

Thanks!

Uri

Collapse
 
jayesh_w profile image
Jayesh Waghmare

Hey Uri configuring a static ip address is easy if you do it from your router rather than your server. what you need is the mac address of your machine. type ifconfig or log in into your router and check DHCP client list. After that select DHCP address reservation and select your suitable address. ( i chose 192.168.0.110)
When mentioned about private network that means all devices connected to my router (above dhcp clients) can only access my server. with address 192.168.0.110. Only LAN.

Collapse
 
furyuri profile image
Uri Frazier • Edited

Thanks Jayesh!

I was also able to get a very detailed explanation from a co-worker who is kind of an expert in networking. I appreciate you following up with me!