I first was trying to set up a static IP address, and can't get this to work. I can't even access the internet anymore.
this is what's written in interfaces:
#interfaces(5) file used by ifup(8) and ifdown(8)
auto eth0
iface lo inet loopback
iface eth0 inet static
address 192.168.1.101
netmask 255.255.255.0
gateway 192.168.1.1
And this command just causes the task bar to disappear:
sudo /etc/init.d/networking restart
I also have this weird error when I restart. It says that it's waiting for the network configuration for a while.
I have absolutely no idea what I am doing here. Can someone help? I think I got the server to work but it couldn't access the ports because it didn't have a static IP.
Are you following the guides for installing servers by any chance? I think the problem you're having is you're using a desktop distro but following guides that are geared towards server distros. So you have two options:
install Ubuntu Server, Debian or CentOS and learn to use the command line
or reinstall Ubuntu Desktop and use the GUI to manage some of the trickier operations and follow the guides for setting up a Linux desktop
If you're completely new to Linux, then I'd probably suggest going with the latter option. Server administration can be a headache at times, so at least with a desktop distro, you're going to have your hand held for some of the basics. Then as you're confidence grows, you can start playing around with remotely connecting to it via SSH (using PuTTY in Windows). Plus Ubuntu Desktop and Ubuntu Server are essentially the same OS anyway (the difference is just what comes preinstalled; with desktop you have a GUI and productivity tools like an office suite. With the server it's command line only). So it's not like you're using a lower quality or less functional version of Linux.
Also, the reason I suggest reinstalling Ubuntu is because you've made some changes to the config files manually which might not get overridden by the GUI tools. As Ubuntu only takes ~20mins to reinstall, it just means you have a clean base to work with - ie no past changes can break your set up.
Which version of Ubuntu are you running? 13.04 or 12.04 LTS? It doesn't really make too much difference, but if you're running a server I'd probably go with 12.04 as it's a Long Term Support release (ie support will last a couple of years).
What GUI tool will give me something that looks like this? Every guide just told me to go through the command line and do things, which I am really bad at.
What GUI tool will give me something that looks like this? Every guide just told me to go through the command line and do things, which I am really bad at.
I can't access the server when using this command:
./srcds_run -console -game garrysmod +maxplayers 16 +map gm_construct -autoupdate
When I try to use the startup script shown in this guide, when I use the command "screen -x" is says "there is no screen to be attached". If I use "screen -S Gmod" and then try to do "screen -x" again, it says "attaching from inside of screen?"
I can't access the server when using this command:
./srcds_run -console -game garrysmod +maxplayers 16 +map gm_construct -autoupdate
When I try to use the startup script shown in this guide, when I use the command "screen -x" is says "there is no screen to be attached". If I use "screen -S Gmod" and then try to do "screen -x" again, it says "attaching from inside of screen?"
screen is used to so that commands run inside that shell don't die when the shell is closed.
To refer that back to your problem, you use screen -S Gmod to create the screen (and you can put the ./srcds_run etc bits in next). Then if you log in via SSH and want to look at the output, you can run screen -x to "grab" the console screen. You dont need to run screen -x inside of screen -S (in fact you shouldn't run -x inside of -s)
Sounds like you're making good progress on this though
screen is used to so that commands run inside that shell don't die when the shell is closed.
To refer that back to your problem, you use screen -S Gmod to create the screen (and you can put the ./srcds_run etc bits in next). Then if you log in via SSH and want to look at the output, you can run screen -x to "grab" the console screen. You dont need to run screen -x inside of screen -S (in fact you shouldn't run -x inside of -s)
sort of... when I start the server, I get at ton of error messages. I also have to figure out how to update the game version, which I don't know how to do. Hopefully 32 bit will be easier on me.
Some guy on facepunch told me how to update the server.
if anyone knows how to fix this error, please tell me:
Code:
Code:
[ERROR] gamemodes/terrortown/gamemode/player.lua:1003: attempt to call global 'ValidEntity' (a nil value)
1. v - gamemodes/terrortown/gamemode/player.lua:1003
2. unknown - lua/includes/modules/hook.lua:82
edit: I downloaded the wrong version of the game mode.
Well, I've figured out all of the problems that I have been having that were caused by Linux. Thanks everyone.
The Gmod server's gonna be called Vandelay Industries, if anyone want to join when I figure some small things out.
This is an older thread, you may not receive a response, and could be reviving an old thread. Please consider creating a new thread.
Related Threads
?
?
?
?
?
Ask a question
Ask a question
Overclock.net
27.8M posts
541.2K members
Since 2004
A forum community dedicated to overclocking enthusiasts and testing the limits of computing. Come join the discussion about computing, builds, collections, displays, models, styles, scales, specifications, reviews, accessories, classifieds, and more!