=== Guest5314 is now known as med_ | ||
=== markthomas is now known as markthomas|away | ||
=== denbeiren is now known as zz_denbeiren | ||
user___1 | Hi, I need help with setting up openvpn on ubuntu server. I've tried alot, getting help from others is my one last hope... can anybody help me? | 04:09 |
---|---|---|
sarnold | user___1: have you seen this yet? https://help.ubuntu.com/14.04/serverguide/openvpn.html | 04:41 |
user___1 | I've googled ALOT. I still have a problem that I cant solve | 04:47 |
sarnold | do you get any error messages? | 04:49 |
sarnold | check both endpoints | 04:49 |
user___1 | openvpn itself doesn't have an accounting system, I used a software called softether that supports openvpn too, I can create an account, and connect to it, no problem here, but I want to limit connections of an account to 1, so user can't user his/her account to use openvpn from more than one place at a time | 04:52 |
user___1 | softether has an opetion for it, but it doesn't work for openvpn, its reported, several times, but no answer | 04:53 |
user___1 | I want to use openvpn to bypass internet censorship, because it can't be blocked easily by government | 04:55 |
user___1 | I know I should talk to someone from sofether support, but they're not so active, my problem was asked on their froum by other people. but they got no answer from them | 04:58 |
sarnold | do they have an irc channel? forums are my absolute last choice.. | 04:59 |
user___1 | I don't think so... they are not so active, and im not limited to use their software if I can reach what I want by an other way | 05:00 |
sarnold | can you specify a specific IP address for each client? that might be sufficient to limit them to one connection at a time | 05:01 |
user___1 | user IPs here are dynamic, they always change | 05:01 |
sarnold | don't you have to create an rfc1918 network for the clients once they've connected? | 05:02 |
user___1 | what is it...? | 05:02 |
sarnold | one of the 10.x.x.x or 192.168.x.x or .. 176something? | 05:02 |
Starcraftmazter | hi | 06:30 |
Starcraftmazter | how would i upgrade from ubuntu server 12.04 | 06:30 |
Starcraftmazter | to latest | 06:30 |
Starcraftmazter | can i skip everything in between? | 06:30 |
sarnold | Starcraftmazter: yes, you should be able to upgrade with do-release-upgrade | 06:33 |
Lurchy | anyone awake? | 07:48 |
lordievader | Good morning. | 07:54 |
arcsky | hello all, does anyone know how i can do my ssh login to use the windows 2008 radius/nps ? | 08:19 |
=== cluelessperson is now known as LordChooChoo | ||
=== LordChooChoo is now known as CluelessPerson | ||
samba35 | how do i fix the banner name on server for postfix | 10:28 |
samba35 | when i run telnet my public ip 25 it show mail.abcd.com is that is my banner name ? | 10:28 |
dasjoe | Yes | 10:34 |
samba35 | then when i run mxtoolbox.com its same as the my rdns still its say banner is not correct | 10:38 |
samba35 | Reverse DNS does not match SMTP Banner | 10:40 |
=== ashleyd is now known as ashd | ||
=== ashleyd is now known as ashd | ||
JaguarDown | Hi all, newbie here. I have a home server on a LAN connected to ther outer via cat5 cable. Is there a quick answer as to why my router doesn't know the "device name" (host name) of my server? In other words is this a usual ubuntu server problem or is it my router's problem? | 13:45 |
JaguarDown | ther outer= the router*** | 13:45 |
RoyK | JaguarDown: hostnames are usually looked up with DNS. If you don't have your own DNS server and haven't added the hostname, it won't understand it as a hostname. Linux doesn't use broadcasts of hostnames the way windows/netbios does it | 13:47 |
JaguarDown | Ok | 13:50 |
=== arlen_ is now known as arlen | ||
=== cz2 is now known as czo | ||
Tazmain | hi all, is it acceptable to place a environment varaible in /etc/environment? Doesn't see that when I sudo su I can echo that variable, but as a normal user I can | 14:39 |
=== czo is now known as czo2 | ||
=== czo2 is now known as czo | ||
=== Tm_Tr is now known as Guest98434 | ||
=== markthomas|away is now known as markthomas | ||
=== rbanffy_ is now known as rbanffy | ||
jvwjgames | Hi I need help | 17:22 |
jvwjgames | My server has unstable networking | 17:22 |
jvwjgames | Pingdom the remote server monitoring station keeps on emailing me every few minutes saying your server is down no wait it is back up no it's down no wait it is backup | 17:24 |
jvwjgames | And if you want you can do a continuous ping on its static IP if you want | 17:26 |
Sling | if you want hundreds of people pinging you, sure :P | 17:26 |
Sling | but give some details, what kind of server, how is it hooked to the internet | 17:26 |
Sling | are you also noticing packetloss or is it just pingdom? | 17:26 |
jvwjgames | Here is the public static page | 17:32 |
jvwjgames | http://stats.pingdom.com/g5d44jvdauff | 17:32 |
teward | I.. don't think that was what's asked...? | 17:32 |
teward | oh | 17:32 |
teward | you pinged out | 17:32 |
teward | [2015-08-05 13:26:33] <Sling> if you want hundreds of people pinging you, sure :P | 17:32 |
teward | [2015-08-05 13:26:47] <Sling> but give some details, what kind of server, how is it hooked to the internet | 17:32 |
teward | [2015-08-05 13:26:55] <Sling> are you also noticing packetloss or is it just pingdom? | 17:32 |
teward | jvwjgames: ^ | 17:32 |
jvwjgames | Packet loss | 17:33 |
teward | what about the other requested data, such as what kind of server (VPS, virtual, physical box, etc.), and how it's connected to the 'net | 17:34 |
teward | or do you not know that | 17:34 |
jvwjgames | I do | 17:35 |
Sling | jvwjgames: feel free to query me the IP and I could run some mtr from a few spots on the internet | 17:36 |
Sling | also, how long has this been an issue? | 17:36 |
jvwjgames | It is a poweredge 1950 with 2 GB NIC's I have a block of 13 statics witch two are allocated to the server | 17:37 |
aditya | i'm not able to run my sh script through cron | 17:55 |
Sling | aditya: is it chmod +x'ed ? | 17:55 |
aditya | yes | 17:55 |
aditya | script is working fine manually | 17:56 |
Sling | so how did you add it to cron and what is happening? | 17:56 |
aditya | i added it to run every 15 min to backup my gitlab repos | 17:56 |
aditya | but its not working | 17:56 |
Sling | added it where | 17:56 |
Sling | how | 17:56 |
Sling | [ moar details plz ] | 17:56 |
aditya | i added it via crontab -e | 17:57 |
Sling | as root? | 17:57 |
aditya | yes | 17:57 |
Sling | okay and what does your crontab -l look like now/ | 17:57 |
aditya | like this | 17:57 |
aditya | 153***cd /root/; ./backup.sh > /tmp/repobackup | 17:57 |
Sling | use /root/backup.sh > /tmp/repobackup instead | 17:58 |
aditya | i used that also but not worked | 17:58 |
aditya | in my other server its working fine | 17:59 |
aditya | in same pattern | 17:59 |
Sling | it looks a bit weird, you can just use the full path :) | 18:00 |
Sling | but anyway, what do you mean with 'not working' | 18:00 |
Sling | do you know if its trying to run it? | 18:00 |
Sling | ie. did you check the logs | 18:00 |
aditya | yes i checked | 18:01 |
aditya | there is noting in logs | 18:01 |
Sling | so its not trying to run it | 18:01 |
aditya | no | 18:01 |
Sling | is crond or another cron daemon running? | 18:01 |
aditya | no there is only one c | 18:02 |
aditya | cron | 18:02 |
Sling | so is it running? what is the output of ps faux | grep cron ? | 18:02 |
aditya | yes running | 18:02 |
Sling | then it should be logging, what logs did you check? | 18:03 |
aditya | ps -aux | grep cron | 18:03 |
aditya | root 13273 0.0 0.0 23652 940 ? Ss Aug03 0:00 cron | 18:03 |
aditya | if i want to run it daily | 18:03 |
aditya | can i put it in cron.daily folder | 18:04 |
Sling | stop trying to randomly change things when you still don't know what the issue is | 18:04 |
Sling | thats not how you learn or troubleshoot | 18:04 |
Sling | also, are there any mails for root on your account? cron will generate mails when something goes wrong | 18:10 |
Sling | (check with 'mail') | 18:10 |
Sling | the > /tmp/repobackup will just redirect stdout but not stderr | 18:11 |
jvwjgames | I pm'd you sling | 18:13 |
Sling | yeah I noticed ;) | 18:13 |
jvwjgames | By now you are experiencing packet loss on last hop | 18:15 |
Sling | nope | 18:15 |
jvwjgames | Really the 210 | 18:16 |
jvwjgames | No packet loss | 18:16 |
Sling | well i cant ping your own router, doesn't respond to icmp it seems | 18:16 |
Sling | but the last hop before it, still no loss since our pm | 18:17 |
jvwjgames | The 210 is the server it is directly connected to the modem | 18:17 |
Sling | ok | 18:18 |
jvwjgames | The reason that you can't ping it is cause I accidently unplugged the power to the server | 18:18 |
jvwjgames | So it is rebooting | 18:18 |
jvwjgames | I am surprised that there is no packet loss | 18:19 |
Sling | again, I was seeing packet loss to the comcast router | 18:19 |
Sling | not to your own router or server | 18:19 |
jvwjgames | Oh | 18:19 |
jvwjgames | Sorry i misunderstood you | 18:19 |
jvwjgames | This is good news | 18:21 |
jvwjgames | When I logged in to my server | 18:21 |
jvwjgames | It is now showing the ip's of the interfaces | 18:21 |
jvwjgames | Before it didnt | 18:22 |
Sling | :/ | 18:23 |
Sling | that doesn't really make sense :) | 18:23 |
jvwjgames | Told you unstable networking | 18:23 |
Sling | ... | 18:23 |
Sling | you lack some understanding of networking, sorry to say :) | 18:24 |
jvwjgames | What I mean to say about unstable networking is sometimes I can't reach my server | 18:24 |
Sling | if your interface would be unconfigured, without an IP, it would not have packet loss, it would simply have no connection at all | 18:24 |
Sling | and IP's don't just disappear from your server | 18:25 |
jvwjgames | And during that time it also doesn't let me ping | 18:25 |
Sling | anyway, enough said about your issue | 18:25 |
jvwjgames | Also if they are static ip's doesn't it need gateways for both interfaces | 18:27 |
jvwjgames | Cause when I put in the gateways for both ip's it freaks out | 18:27 |
Sling | stop changing stuff you don't understand :( | 18:27 |
sarnold | strictly speaking, you don't need gateways at all.. that's just if you want it to talk to machines beyond the subnets that it's on.. | 18:28 |
Sling | all you need are the proper routes in your routing table | 18:28 |
jvwjgames | Ok | 18:28 |
Sling | again, this is not related to your issue | 18:28 |
jvwjgames | Sorry | 18:28 |
jvwjgames | And I didn't change anything | 18:29 |
jvwjgames | That's what happened in the past | 18:30 |
jvwjgames | Anyway past that | 18:30 |
jvwjgames | Pingdom just reported my server is offline again | 18:30 |
jvwjgames | OK sling I found the problem | 18:37 |
jvwjgames2 | OK this is just odd | 18:48 |
jvwjgames2 | 210 is no longer reachable | 18:48 |
jvwjgames2 | But 211 is it is like my server is rotating the ips | 18:49 |
jvwjgames2 | Sling: any idea | 18:50 |
Sling | about? | 18:50 |
jvwjgames2 | 210 is no longer reachable but 211 is it is like my server is rotating the two ips | 18:51 |
jvwjgames2 | So it is causing Pingdom to think my server is down | 18:52 |
sarnold | i haven't got a clue what you're doing here.. | 18:52 |
sarnold | .. but it sounds kind of like you've got two ips on one NIC? | 18:52 |
Sling | which should work perfectly fine if configured properly | 18:52 |
Sling | jvwjgames2: how is your networking configured on your server| | 18:52 |
jvwjgames2 | http://picpaste.com/pics/IMAG0006-XpPLDPj1.1438800960.jpg | 18:56 |
Sling | jvwjgames2: and are both eth1 and eth0 physically connected to your router? | 18:57 |
Sling | what does 'ip a' show | 18:57 |
jvwjgames2 | Yes | 18:57 |
sarnold | jvwjgames2: probably only one of those interfaces should have a gateway line | 18:57 |
jvwjgames2 | http://picpaste.com/pics/Screenshot_2015-08-05-12-59-46-0FbXP4wO.1438801259.png | 19:01 |
Sling | and 'ip r' finally, for the routes | 19:02 |
Sling | then we have sort of a complete picture | 19:02 |
jvwjgames2 | http://picpaste.com/pics/Screenshot_2015-08-05-13-04-58-Zn2IuAbL.1438801544.png | 19:06 |
jvwjgames2 | Sorry I didn't provide this earlier | 19:06 |
Sling | well this is not related to the packetloss to comcast's router, but there might be multiple issues | 19:06 |
Sling | you also seem to have split routing on your own server | 19:06 |
Sling | remove one of the gateway lines in your interfaces file | 19:06 |
jvwjgames2 | Did that | 19:07 |
jvwjgames2 | Anything else you need me to provide | 19:09 |
Sling | are you still experiencing network issues? | 19:10 |
jvwjgames2 | 210 still unreachable | 19:11 |
Sling | you might need to reset your server and router, or manually clear some arp tables | 19:11 |
Sling | so the new routing is in effect | 19:11 |
Sling | anyway, i gotta go, good luck | 19:12 |
jvwjgames2 | Ok | 19:12 |
jvwjgames2 | Thanks | 19:13 |
jvwjgames2 | Now 211 is unreachable | 19:21 |
jvwjgames2 | I want to get this issue resolved | 19:24 |
=== czo is now known as cz2 | ||
jvwjgames | Can anyone help | 20:16 |
patdk-lap | you have two nics, it won't work | 20:18 |
patdk-lap | you cannot put two nics on the same l2 network and expect it to work, without a LOT of pain and knowledge | 20:19 |
jvwjgames | So how do I configure my two statics from Comcast to work then | 20:23 |
patdk-lap | on one interface | 20:23 |
patdk-lap | why would you use two? | 20:23 |
jvwjgames | For dns load balancing and for failover | 20:24 |
patdk-lap | I have 12 statics on one interface | 20:24 |
patdk-lap | heh? | 20:24 |
jvwjgames | How did you do that | 20:24 |
patdk-lap | what do you mean dns load balancing? | 20:24 |
patdk-lap | your doing >1gigabit of dns? | 20:24 |
patdk-lap | not sure how failover will help, your issue is spof of the modem itself | 20:24 |
patdk-lap | don't see how two tables will help, vs one | 20:25 |
jvwjgames | Ok | 20:25 |
patdk-lap | two cables | 20:25 |
jvwjgames | What do you mean by that | 20:26 |
patdk-lap | modem going down, is atleast 50x more likely than a nic or cable having an issue | 20:26 |
jvwjgames | Ok | 20:26 |
jvwjgames | How did you do the 12 statics on one line | 20:26 |
patdk-lap | the normal way in ubuntu using the interfaces file | 20:27 |
jvwjgames | Oh ok | 20:27 |
patdk-lap | http://askubuntu.com/questions/313877/how-do-i-add-an-additional-ip-address-to-etc-network-interfaces | 20:27 |
patdk-lap | one such method | 20:27 |
jvwjgames | Also is it possible to have multiple statics on a different network | 20:27 |
patdk-lap | I use this method, up ip addr add fff.fff.fff.fff/prefixlen dev eth0 | 20:27 |
patdk-lap | that question makes no sense | 20:28 |
jvwjgames | So basically so I can have a traceroute like 1. 96.92.80.209 2. 96.92.80.210 3. 96.92.80.211 trace route complete | 20:29 |
patdk-lap | what? | 20:30 |
jvwjgames | Basically have multiple static IP across multiple routers | 20:31 |
patdk-lap | ok, everything your doing is wrong | 20:31 |
patdk-lap | scrape it | 20:31 |
patdk-lap | this is pointless to start from the ground up, like your doing | 20:32 |
patdk-lap | when you doin't know where your going | 20:32 |
patdk-lap | if you use all your ip's on *routers*, sure, but then you won't have any usable ip's | 20:32 |
patdk-lap | and they won't chain together ever to produce a traceroute result like that | 20:32 |
jvwjgames | I am not going to use all my 13 just 3 | 20:33 |
patdk-lap | why use any? | 20:33 |
patdk-lap | none of this makes so since, with no goal | 20:33 |
patdk-lap | how do you even think a traceroute like that could exist? | 20:34 |
patdk-lap | and why would you want it to exist at all? | 20:34 |
jvwjgames | Cause right now my server is directly connected to the modem | 20:34 |
patdk-lap | and? | 20:34 |
patdk-lap | there is a problem with that? | 20:34 |
jvwjgames | iSP do it | 20:34 |
jvwjgames | Security | 20:34 |
patdk-lap | what security? | 20:34 |
patdk-lap | routers don't provide security | 20:34 |
patdk-lap | isp | 20:35 |
patdk-lap | isp's don't provide ANY security | 20:35 |
jvwjgames | Traceroute | 20:35 |
patdk-lap | ok, just saying random words doesn't mean anything | 20:35 |
jvwjgames | ISP does traceroute like that | 20:35 |
jvwjgames | Sorry I am typing on a phone | 20:36 |
patdk-lap | so me ONE isp that does? and I will believe you | 20:36 |
patdk-lap | even one ISP that is clueless and has no idea what they are doing, couldn't even do that if they wanted to | 20:36 |
patdk-lap | just think about what you said some | 20:37 |
patdk-lap | 1. 96.92.80.209 2. 96.92.80.210 3. 96.92.80.211 | 20:37 |
patdk-lap | if you had a traceroute result like that | 20:37 |
patdk-lap | that means ANY one of those systems failed, OR your modem, your offline | 20:38 |
patdk-lap | no one, not even isp's would dream of doing that | 20:38 |
jvwjgames | http://picpaste.com/pics/Screenshot_2015-08-05-14-37-40-kRIAG2yI.1438807092.png | 20:38 |
jvwjgames | How 8 9 10 and 11 | 20:39 |
patdk-lap | that doesn't match what you requested | 20:39 |
patdk-lap | I don't see any ip's that are in a row at all | 20:39 |
jvwjgames | Hop* | 20:39 |
jvwjgames | Sorry let me rephrase | 20:39 |
patdk-lap | you see 3+ ip's in the same subnet? | 20:39 |
patdk-lap | I don't | 20:39 |
jvwjgames | Hop 8 and 9 are | 20:40 |
jvwjgames | seeDed you see the pic | 20:40 |
patdk-lap | yes, and you will ahve that too | 20:40 |
jvwjgames | Did* | 20:40 |
patdk-lap | your modem + your static | 20:40 |
patdk-lap | I don't seewhy you want a 3rd and 4th | 20:40 |
patdk-lap | that is just extreemly hard to do, and will give you lots of problems | 20:40 |
jvwjgames | OK I won't do it | 20:41 |
jvwjgames | I am just wanting it cause that will tell me where the issue is in the network | 20:42 |
jvwjgames | If any | 20:42 |
shauno | it won't tell you anymore than you already have; it'll just add more things to go wrong | 20:42 |
jvwjgames | OK thanks for the info | 20:43 |
jvwjgames | Back to the other issue at hand | 20:43 |
jvwjgames | Fixed my other network issue thanks to your post | 21:01 |
jvwjgames | patdk-lap: thanks | 21:02 |
jvwjgames | I can confirm that all networking is backup and working correctly | 21:17 |
holms | anybody got problem with upstart, that it never daemonize an application, it just stucks in there..? | 21:27 |
=== ideopathic_ is now known as ideopathic | ||
=== jvwjgames is now known as jvwjgames2 | ||
=== jvwjgames2 is now known as jvwjgames | ||
bitcoinassassin | Ubuntu headless server 14 upon log in states: "=> / is using 95.4% of 47.57GB" where the install takes less than 2 GB at most. $df-h yields a line that says "/dev/mapper/mediamagnate--vg-root [size]48G [used] 46G 0 100% /" | 21:53 |
bitcoinassassin | Am trying to find what is occupying the hard drive .... because it's not the OS -- at least not as configured | 21:55 |
bekks | bitcoinassassin: Narrow it down using du -sh on every directory besides dev, sys, proc, etc. in your / | 22:00 |
=== txomon|home_ is now known as txomon|home |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!