AKid 2017-01-25 13:50:29
am I invisible to you?
Ben64 2017-01-25 13:50:35
no
AKid 2017-01-25 13:50:44
thanks
fatfinger 2017-01-25 13:50:46
lol
AKid 2017-01-25 13:51:30
so people just ask programming questions on here and such?
Ben64 2017-01-25 13:51:41
ubuntu support questions
jnewt 2017-01-25 13:51:53
where do i tell nvidia X Server Settings window to save the X Configuration so that it will be used every time?
Ben64 2017-01-25 13:52:17
jnewt: /etc/X11/xorg.conf
jnewt 2017-01-25 13:53:29
ok, thanks Ben64
GladiaTeur 2017-01-25 13:58:29
Hello there guys can someone help me set cronjob to restart my server every 40 hours
PickledEggs 2017-01-25 14:02:12
GladiaTeur: does it have to be exactly 40 hours?
PickledEggs 2017-01-25 14:02:29
GladiaTeur: you could put something in /etc/cron.daily to have it done every day
GladiaTeur 2017-01-25 14:02:42
PickledEggs it can be two days for example
GladiaTeur 2017-01-25 14:02:52
Or everyday night
Ben64 2017-01-25 14:04:09
GladiaTeur: why reboot though? i'm curious
fatfinger 2017-01-25 14:04:18
heheheheh PickledEggs ... :)
GladiaTeur 2017-01-25 14:05:30
Ben64 just to sync the server and to be faster it's a nat server
GladiaTeur 2017-01-25 14:05:50
nat web server*
GladiaTeur 2017-01-25 14:05:54
using ubuntu 16.*
Ben64 2017-01-25 14:06:10
rebooting doesn't make it faster
Ben64 2017-01-25 14:06:22
and you can sync it when it is on
PickledEggs 2017-01-25 14:06:32
GladiaTeur: you'll want to edit your /etc/crontab file - for every other day the entry would look like this: "0 2 */2 * * root reboot"
PickledEggs 2017-01-25 14:06:39
that would reset it at 2am every other day
GladiaTeur 2017-01-25 14:07:13
Thank you PickledEggs for your help and being nice
PickledEggs 2017-01-25 14:08:39
you're welcome
PickledEggs 2017-01-25 14:08:52
"0 2 * * * root reboot" would do it nightly at 2am
GladiaTeur 2017-01-25 14:10:55
Ok thanks for the update too
guyFromWeb 2017-01-25 14:28:28
hey, finally got my assaultcube server working!!! can anyone help me setup static ip on Ubuntu??
wedgie 2017-01-25 14:29:00
out of curiosity, what was the problem from yesterday?
guyFromWeb 2017-01-25 14:29:09
i didn't have static ip :D :D
guyFromWeb 2017-01-25 14:29:20
so wrong internal ip to portforward
guyFromWeb 2017-01-25 14:29:29
well the static ip was the issue
guyFromWeb 2017-01-25 14:29:40
i can set it up on mac, not on ubuntu tho
fatfinger 2017-01-25 14:30:00
guyFromWeb, isnt that ISP related?
rbux 2017-01-25 14:30:01
dafuq..
wedgie 2017-01-25 14:30:02
so the portforward was wrong. Got it. You running desktop or server?
exad 2017-01-25 14:30:19
guyFromWeb: wouldn't it be easier to set up in the router?
guyFromWeb 2017-01-25 14:30:34
fatfinger: sorry, idk what ISP is...
rbux 2017-01-25 14:30:48
internet service provider
fatfinger 2017-01-25 14:30:57
idk what idk means
guyFromWeb 2017-01-25 14:31:03
exad: if i set it up on router, couldn
exad 2017-01-25 14:31:06
oh wan :/
rbux 2017-01-25 14:31:07
everything behind a router.. idk means i dont know
guyFromWeb 2017-01-25 14:31:18
exad: if i set it up on router, couldn't the Ubuntu still change its ip? sorry about these noob questions
rbux 2017-01-25 14:31:38
common examples: verizon AT&T Telekom O2
exad 2017-01-25 14:31:49
guyFromWeb: is this a server to access outside? or inside the local network?
wedgie 2017-01-25 14:31:51
guyFromWeb: it could. 2 ways of doing it: configure a dhcp reservation on your router, or set a static address in ubuntu
guyFromWeb 2017-01-25 14:32:24
the server will be accessed by people that will not be connected to my wifi, so outside
exad 2017-01-25 14:32:52
guyFromWeb: Then whoever provides your internet will need to provide you with a static ip. It's not usually free
guyFromWeb 2017-01-25 14:32:59
O.o
wedgie 2017-01-25 14:33:19
exad: i think his immediate problem is that his portforwards stop working when his computer gets a different internal ip from dhcp.
guyFromWeb 2017-01-25 14:33:21
i used to have a minecraft server, i had static ip setup ONLY on my mac, and it worked fine
exad 2017-01-25 14:33:21
Then you also need a static IP set up locally in your router to point the traffic
rbux 2017-01-25 14:33:23
dhcp reservation would be more secure IF you let DHCP manage your entire server-environment-network+subnet
guyFromWeb 2017-01-25 14:33:31
so idk why i would need to setup static ip on my router
guyFromWeb 2017-01-25 14:33:36
(i don't know) lol
guyFromWeb 2017-01-25 14:33:43
(laugh out loud)
rbux 2017-01-25 14:34:05
its for security reasons
guyFromWeb 2017-01-25 14:34:20
rbux: it's really just for 2-3 people in school xD
rbux 2017-01-25 14:34:36
if youre the kinda guy that just doesnt care about clean secure networking just set it up via ifconfig
exad 2017-01-25 14:34:39
guyFromWeb: computers have a local ip address to identify them on your personal network and a wan ip address to identify them on the internet
wedgie 2017-01-25 14:34:54
rbux: what do dhcp reservations have to do with security?
guyFromWeb 2017-01-25 14:34:56
ok
guyFromWeb 2017-01-25 14:35:06
i care about security... :D
exad 2017-01-25 14:35:12
both need to point to your server to forward the data properly guyFromWeb
guyFromWeb 2017-01-25 14:35:24
so i need to pay for it?
rbux 2017-01-25 14:35:46
@wedgie dhcp-configuration itself is highly relevant for securing networks in my opinion
wedgie 2017-01-25 14:35:53
guyFromWeb: no. These guys are getting ahead of themselves (they're not wrong, just that you have more immediate problems)
exad 2017-01-25 14:35:59
you may need to pay your isp to set up a static ip over the internet. but that depends on the ISP. you have to contact them and find out
wedgie 2017-01-25 14:36:07
rbux: howso?
guyFromWeb 2017-01-25 14:36:20
O.o ah ma
guyFromWeb 2017-01-25 14:36:24
*man
edgar 2017-01-25 14:36:37
edde222
guyFromWeb 2017-01-25 14:36:49
wouldn't this work? https://kb.netgear.com/25722/How-do-I-reserve-an-IP-address-on-my-NETGEAR-router?cid=wmt_netgear_organic
rbux 2017-01-25 14:36:51
never pay for anything.. just do everything yourself and get advice from pro's @guyFromWeb :P best way to educate yourself
guyFromWeb 2017-01-25 14:37:05
yeah lol
wedgie 2017-01-25 14:37:30
guyFromWeb: you have 2 ip addresses that you have to care about: the IP address assigned to your server, and the external ip address assigned to your router.
wedgie 2017-01-25 14:37:49
guyFromWeb: short of paying your ISP more money, you don't have any control over the latter, so we'll deal with that in a min
rbux 2017-01-25 14:38:13
@wedgie if im totally honest i use unknown protocols for securing networks.. but that would be too much information for guyFromWeb for now :P
guyFromWeb 2017-01-25 14:38:23
yes it would xD
wedgie 2017-01-25 14:38:25
guyFromWeb: you DO have control over what your server's IP is. And you can control it two ways: dhcp reservation on your router, or statically assigning it on your server
guyFromWeb 2017-01-25 14:38:55
wedgie: so if you said that dhcp reservation is paid, i could do the static assign?
rbux 2017-01-25 14:39:31
your server should definitely be registered if you use the DHCP-solution..
wedgie 2017-01-25 14:39:34
guyFromWeb: no, dhcp reservation is also free. Just something you have to configure in your router. Basically you tell your router to always assign your server the same IP address, based on the server's mac address
guyFromWeb 2017-01-25 14:40:09
wow ok i understand part of it, but how could i do that?
wedgie 2017-01-25 14:40:17
depends on your router.
guyFromWeb 2017-01-25 14:40:40
so can i use this? https://www.manualslib.com/manual/645728/Netgear-Wndr4500v2.html?page=39
guyFromWeb 2017-01-25 14:40:48
my router is WNDR4500v2
Jigbot 2017-01-25 14:41:01
Tired of niggers?
wedgie 2017-01-25 14:41:09
then that looks like what you want.
rbux 2017-01-25 14:41:10
if dhcp encounters errors it will not be possible for 'attackers' to hijack your servers IP.. ok.. its just taking them a little longer but its common network-security-guideline :)
kk4ewt 2017-01-25 14:41:28
and does your isp give you a dhcp ip or do they give you a static ip
guyFromWeb 2017-01-25 14:41:43
wedgie: so i will do the steps provided in the link, now do i still have to do something in Ubuntu? like do the static IP in Ubuntu?
wedgie 2017-01-25 14:42:14
guyFromWeb: no, ubuntu is getting its IP from DHCP. And that stuff you're doing on your router is controling what IP your ubuntu gets.
guyFromWeb 2017-01-25 14:42:16
kk4ewt: i really don't know, sorry :D
guyFromWeb 2017-01-25 14:42:36
wedgie: and it won't affect other users connected to the router, will it?
wedgie 2017-01-25 14:42:44
guyFromWeb: shouldn't.
guyFromWeb 2017-01-25 14:43:31
ok i'll do that right now
wedgie 2017-01-25 14:44:11
guyFromWeb: getting that set up is step 1. The next thing you have to worry about is your external IP (as the others have been talking about). This is the IP that you give to your friends in order for them to connect to your server
wedgie 2017-01-25 14:44:57
guyFromWeb: just know that that IP can change over time. In my experience they usually don't change more than a few times a year but there is no gurantee. When it changes you'll have to tell your friends the new address.