=== Lcawte is now known as Lcawte|Away === NegativeFlare_ is now known as NegativeFlare === hallyn_ is now known as hallyn [06:49] does anyone know how i would go about connecting my Ubuntu server to a PPTP server? === denbeiren_ is now known as denbeiren === Lcawte|Away is now known as Lcawte [09:27] does anyone know how i would go about connecting my Ubuntu server to a PPTP server? [10:55] Hi I have this in my auth.log (Ubuntu 14.04): http://paste.ubuntu.com/13556599/ [10:55] Is that something to be afraid of ? [10:55] Or what does is mean, I am new in Linux administration, and I just search for something weired === Lcawte is now known as Lcawte|Away [12:40] eahmedshendy: the POSSIBLE BREAK-IN ATTEMPT is just a ridiculous message you can ignore [12:41] Seveas: OK :) [12:41] th rest of the message means that your ISP (assuming it's your ip address in that message) has misconfigured their DNS. [12:42] openssh likes to whine about that while in reality many ISPs make mistakes there. === patsToms_ is now known as patsToms === klaas_ is now known as klaas [17:08] Hello [17:09] I get a new server and open up /etc/network/interfaces to add my new static IPs just like I have done a thousand times before and..... [17:09] the primary network interface goes like... [17:09] auto p1p2 [17:09] iface p1p2 inet static [17:10] That is the main IP already configured, and I tried auto eth0 down below with a new IP and all of that and it did not work. How do I add new static IPs [17:23] http://pastebin.com/71n0Rhfh === ezobn is now known as Guest29845 [17:46] Nevermind, fixed. === Lcawte|Away is now known as Lcawte === Piper-Off is now known as Monthrect [19:22] profall: You are running 15.10? === apb_ is now known as apb1963 === Lcawte is now known as Lcawte|Away [19:59] I have googled the 'snot' out this. I am trying to install tftp server on Ubuntu 14. I am following this guide: http://askubuntu.com/questions/201505/how-do-i-install-and-run-a-tftp-server but when I do an apt-get install xinetd tftpd tftp it gets to setting up xinetd and just hangs. [20:05] Ricky_Rat5005: setting up xinetd hanging is usually a DNS issue [20:05] make sure you can 'ping google.com' [20:05] you may need to wait, too [20:06] so try 'apt-get install xinetd' and wait for a while [20:07] ping google.com works fine. [20:08] Odd. I'm 100% sure that it works-for-me. Which isn't much of an answer, I know. [20:08] Should I ctrl-c and try the apt-get install xinetd then? It's been over 15 minutes installing so far with no change [20:08] Yes, just xinetd [20:08] you should also try rebooting first [20:08] something may be half started and be blocking [20:08] X-Rob rebooting now. [20:08] I realise that's not a unix-y thing to do, but you're obviously still in setup 8) [20:09] X-Rob LOL... whatever works! [20:11] says dpkg interrupted, run dpkg --configure -a (which I am doing now) [20:12] now it's setting up xnetd.... I'll wait... how long is 'normal'? (I know varies with server speed, but just a ballpark) [20:12] There was probably something hung before you started these installs [20:13] Which wouldn't clear until dpkg --configure a [20:13] So anything after that would install, but hang [20:13] ok, I'll let it run. About how long would you say (generally) [20:14] Are you seeing any output on the console? [20:14] drmessano nope [20:16] Ricky_Rat5005: On my ubuntu 14 machine, a small package like xinetd shouldn't take more than 30 secs or so to install [20:16] however, drmessano there is more knowledgeable about this stuff than I am. [20:16] X-Rob yeah, with most things it's pretty instant, but for some reason it doesn't like this. [20:17] drmessano: is there a debug on dpkg so you can see what it's hanging on? I'm guessing there's something in the install script that is doing something unexpected [20:18] Which package did you last install? Which Ubuntu release is this? [20:19] X-Rob: there is a dpkg log. [20:20] Really need to debug the process that's hanging.. Standard log files would apply [20:21] drmessano not sure which was b4 this one / 14.04 [20:22] drmessano what do I need to pastebin to help? [20:23] Try a Ctrl-C [20:23] Just curious if the script is just hung [20:23] ok, I am back at cli [20:24] so run that dpkg command again [20:27] going back to setting up xinetd [20:33] still stuck [20:33] Did you run that command again? [20:33] Before [20:33] yes [20:33] and it ran fine? [20:34] yes... [20:34] just ran again and I think it worked this time. [20:34] stby [20:35] Ok.. so that tells me your system state is fine.. Something with this install [20:35] xinetd start/running, process 3441 [20:36] Thats promising [20:37] drmessano yes. now to test tftp... [20:44] something still isn't right. /etc/init.d/xinetd staus returns * is not running === Lcawte|Away is now known as Lcawte [20:45] one sec... [20:45] Ricky_Rat5005: Try starting it manually, in a terminal. [20:45] Ricky_Rat5005: Without using /etc/init.d/xinetd [20:49] service xinetd start says start/running process xxxxx so looks like that part is working, however when i try tftp 10.0.0.20 and then get test (a file I placed in /tftpboot) it times out. [20:50] Use the xinetd binary, not the service facility. [20:51] bekks not sure what you mean by that. [20:51] Do not use /etc/init.d/xinetd or service xinetd, but use the xinetd binary itself for starting/stopping. [20:51] So you can check wether you have syntax errors in your config files, etc. [20:52] bekks what is the command for that please? [20:52] xinetd [20:52] xinetd returns nothing [20:53] Then look at the startup script in /etc/init.d/xinetd to see which parameters are needed. [20:55] bekks not sure what I am looking for in that file. [20:55] The parameters passed to the xinetd binary. [20:56] bekks I am a linux newbie... Still not following. I need the 'for dummies' version of that please. [20:57] That was the "for dummies" version... [20:57] In the /etc/init.d/xinetd file, the xinetd binary is called with some parameters. [20:58] bekks well that's an ego boost... Is this what you are asking: "Usage: /etc/init.d/xinetd {start|stop|reload|force-reload|restart|status}" [20:58] Ricky_Rat5005: No. [20:59] would a pastebin of the file help? [20:59] No. It is your job to find the parameters passed to the xinetd binary. [21:01] bekks ok, I am trying to provide the correct info... [21:02] Ricky_Rat5005: http://bfy.tw/31xv [21:03] RoyK Not helpful sir. I am trying. I have googled this. [21:03] I am not lazy, just new [21:04] Ricky_Rat5005: atftpd is far better than the old one, and runs as a daemon [21:05] (x)inetd is decades old - better use something better [21:06] Ricky_Rat5005: 'ps auxw | grep inetd' [21:06] is there an xinetd running? [21:07] if not, ps auxw | grep xxxxx , but replace xxxx with whatever process number you had earlier [21:07] X-Rob: pidof inetd, perhaps [21:07] still, I'd recommend using atftpd [21:08] Probably, if that's available on 14.04? [21:08] it is [21:09] it's old, but still far more updated than the old inetd-based inetd [21:10] * RoyK only uses (x)inetd at gunpoint [21:10] RoyK: the background you don't know is that this is a PBX In A Flash install. This is a pile of shellscripts that installs huge amounts of crap for no real reason (eg: iscsi terminator. On a PBX. WTF). It's quite possible that something NEEDS xinetd and has broken it as part of the install. [21:11] X-Rob: termiantor? or was that target? or initiator? [21:12] The guy who writes it doesn't accept bug reports, and bans you if you try to submit them. I'm not joking. [21:12] * RoyK has never heard of an iscsi terminaltor and wonders if it's made of liquid metal or not [21:12] X-Rob: So is that stuff running on some Ubuntu? [21:14] ok, atftpd installed now. X-Rob will it work with freepbx? [21:14] bekks: unfortunately [21:15] bekks: we've repeatedly sent him nasty tweets asking him to not allow his crap code to install on Ubuntu or even Debian, and he refuses [21:15] I told him "Slackware works for everyone" [21:15] But nooooo [21:16] Ricky_Rat5005: FreePBX doesn't care what tftd is running.. Nor does anything else [21:16] drmessano ok. [21:17] drmessano is configure same? [21:18] Ricky_Rat5005: it's tftpd. You install, put files there, it serves them [21:19] What is there really to configure? [21:19] drmessano in OSS Endpoint I now get "local tftp server is not correctly configured" [21:19] Do you have the permissions correct? [21:20] drmessano probably not! [21:20] So go look [21:22] drmessano A little help on that step please (or a lot of help) [21:29] I have apt-get install atftpd but there isn't much I can find to go to the next step...permissons, config, test... doesn't seem like it's the same as tftpd. [21:30] Ricky_Rat5005: its totally the same - do you know what TFTP is used for? [21:30] bekks yes [21:30] a TFTPd is a TFTPd [21:30] They all do the same thing [21:31] Ricky_Rat5005: So you know that aftftpd does the same thing as tftpd. [21:31] Check the permissions on the folder [21:31] the tftpboot folder? [21:31] * drmessano hates windows terms [21:31] Yes [21:32] Check the config in EPM.. make sure it's looking for the same location [21:32] ./tftpboot != /var/lib/tftpboot [21:33] So make sure that's not your issue [21:33] Yes it's looking for /tftpboot/ in EPM [21:33] Ricky_Rat5005: there's a command line tftp client. You want to test with that first. Make sur eyou get a file not found error [21:34] You need to fix that.. that's some Wart crap [21:34] Point EPM to /var/lib/tftpboot [21:34] Ricky_Rat5005: the tftp dir is configurable [21:34] Ricky_Rat5005: don't use something on the root [21:35] ok, /var/lib/tftpboot doesn't even exist, creating it now [21:40] I did chmod -R 777 /var/lib/tftpboot/ and chown -R nobody /var/lib/tftpboot/ OSS still says local tftp server not configured correctly [21:40] and it is set to that dir in EPM [21:42] tftp 10.0.0.20 though says /usr/bin/tftp No such file or dir. [21:43] So is there a binary named like that? [21:43] tftpd is not ftp [21:43] Try to grab a file [21:44] Ricky_Rat5005: apt-get install tftp [21:44] or tftp-client or whatever it's called [21:45] you can use apt-cache search tftp [21:45] So I need that in additon to atftpd or instead of? [21:46] You need a CLIENT to test [21:46] You dont have a CLIENT [21:46] You have a SERVER [21:48] ok, so I have tftp installed now. I tftp 10.0.0.20 (my server ip). I have a file called test in the /var/lib/tftp boot dir, but when I get test it says file not found [21:49] correction /var/lib/tftpboot dir [21:51] Verify atftpd is looking there [21:51] Check the config [21:51] ok, where does atftpd config file live? [21:52] Where would you think it resided? [21:52] Try /etc.. Look for it [21:53] I am asking as I did look there. [21:55] http://www.ubuntugeek.com/howto-setup-advanced-tftp-server-in-ubuntu.html [21:58] looks like it want's to use /tftpboot, but I am being told here to use /var/lib/tftpboot [21:58] What does? the config? [21:59] the config file on your system? [21:59] Be specific.. "it" doesn't tell me anything [22:00] sorry the link you sent says to create /tftpboot (from root) so I am assuming that is the default. The link says nothing (that I can see) about changing that. [22:00] Ricky_Rat5005: ??? [22:01] NO [22:01] NO [22:01] NO [22:01] I didnt send you the guide so you can change everything around [22:01] It shows you the key locations and permissions [22:02] Go check YOUR Config file [22:02] previously in this chat I was told not to use /tftpboot [22:02] YOU WERE [22:02] Go check YOUR Config file [22:03] is that /etc/default/atftpd ? [22:04] Right there in the guide [22:04] 10 mins to check your config for a path.. come on [22:08] this is the config file. I assume I need to change /srv/tftp to /var/lib/tftpboot is that right? http://pastebin.com/ZVTnLAru [22:09] Or you keep using /srv/tftp and configure the content in ther. [22:09] *there [22:10] ok === IdleOne is now known as Guest99089 === rmk` is now known as rmk === dasjoe_ is now known as dasjoe [22:18] ok, for simplicity I set it up exactly as the link suggests. /tftpboot I have the test file in /tftpboot Here is the config file http://pastebin.com/1eYbAzSP I am doing tftp 10.0.0.20 and then get test I still get file not found. === _Kai__ is now known as _Kai_ [22:20] And you are sure you started atftpd? === justizin_ is now known as justizin [22:20] ps -ef | grep atftpd [22:21] root 9130 2226 0 15:21 pts/0 00:00:00 grep --color=auto atftpd [22:22] Its not running... [22:29] bekks hmm, well that sucks... I have tried the start commands in the link. [22:29] In which link? [22:29] How about just starting ther service? [22:31] http://www.ubuntugeek.com/howto-setup-advanced-tftp-server-in-ubuntu.html [22:32] root@pbx:/etc/default# service atftpd start [22:32] Starting Advanced TFTP server: atftpd. [22:33] So check wether it is started. === mukhbiir is now known as neoark [22:34] same thing: [22:34] root@pbx:/etc/default# ps -ef | grep atftpd [22:34] root 9455 2226 0 15:33 pts/0 00:00:00 grep --color=auto atftpd [22:35] So look at the init script and see how atftpd is started, then start it manually. [22:35] Again, you need to get the parameters from the init script. [22:36] ps -ef | grep tftp [22:37] Probably has 3 or 4 tftpds running now lol [22:37] Well not running, installed [22:37] ps -ef | grep tftp [22:37] root 9504 2226 0 15:37 pts/0 00:00:00 grep --color=auto tftp [22:38] I'm wondering about what the big picture is - a PBX with tftp? [22:38] Yes [22:38] What for? :) [22:38] bekks yes, exactly [22:38] phone provisionoing [22:39] *provisioning* [22:39] ah, I see. [22:39] Need it to configure the phones [22:39] Is the path correct? [22:41] this is the path http://pastebin.com/1eYbAzSP === lordievader is now known as Guest72345 [22:42] Thats a config file, not a path. [22:42] Thats not /var/lib/tftpboot in the config [22:43] Not sure if you noticed [22:43] But /tftpboot != /var/lib/tftpboot [22:43] drmessano: Well, basically he can use /tftpboot as well, but he has to use a consistent configuration :) [22:44] I get that [22:44] Trying to set this up once, and in a way that can be easily supported [22:44] Because who knows what else is hosed on this box already [22:44] dr nothing, fresh install [22:44] I am just following this: http://www.ubuntugeek.com/howto-setup-advanced-tftp-server-in-ubuntu.html [22:45] ok [22:45] so I'm just trying to use the /tftpboot path [22:45] Ricky_Rat5005: So did you start atfftpd manually, as I told you? [22:45] Well sounds like you go it handled [22:45] drmessano is that sarcastic? I'm trying. [22:47] bekks how do I find the parameters from the init script so i can be sure? [22:47] Ricky_Rat5005: I told you multiple times. [22:48] Ricky_Rat5005: you need to read and understand the start script, and you need to look at the config file. [22:48] bekks I posted the config file... I don't see what I am missing in there. [22:48] Ricky_Rat5005: No one said you are missing things in there. [22:49] missing seeing [22:49] Unless you buy a phone that pulls config from Pastebin.com, you need to start doing what you're being asked [22:49] Ricky_Rat5005: but in the config file, there are a few parameters already. now look at the start script, get all additional parameters if there are any, and start the service manually. [22:50] drmessano dude, I am trying [22:50] drmessano: Or hire someone who does. [22:50] That too [22:52] bekks: there is nothing he needs here more than a simple working tftpd install. When tftpd is working, if ever, there's a web based manager that generates the config files for the phones. It simply needs to point to the valid tftpd directory and it spits the files there [22:52] if you want the "Whole picture" [22:52] So nothing fancy or custom or anything other than a 2 minute tftpd install === mikal_ is now known as mikal [22:52] ah ok. [22:53] Which I guess is more like 2 hours now [22:54] I've never had actual problems doing this on Ubuntu. It's documented ad nauseum and generally just works out of the box [22:54] Indeed. [22:55] Look guys, i appreciate your help, I am trying, and I am trying to follow what you are saying. [22:55] tftpd is every other file transfer protocols little broken that was dropped on its head when it was a baby and just sits around all day eating apples. There's really nothing to it [22:55] little brother* [22:55] ok, so how come it's not working? [22:56] Ricky_Rat5005: Did you do what I told you to do? [22:56] If no, do it. [22:56] If yes, whats the outcome? [22:57] wtf, we're still fighting with a tftp server? [22:57] bekks I don't know what the parameters are. I have looked at the config file. I am not understanding what you are telling me to do. [22:57] Ricky_Rat5005: So what do you think "OPTIONS" are from line 3: http://pastebin.com/1eYbAzSP ? [22:57] quantic: yes. [23:00] I see those, but not sure how to apply them into a cli to get it to start like you are asking. I have tried service atftpd (inserted those options) start [23:01] service atftpd is what I told you to NOT use. [23:01] look at the init script on how atftpd is actually started. [23:02] Then, insert all options, and start it, using the full path to the atftpd binary. NOT using servic whatever. === Chrisfu- is now known as Chrisfu [23:04] ok, like this then? /etc/init.d/atftpd start --tftpd-timeout 300 --retry-timeout 5 --mcast-port 1758 --mcast-addr 239.239.239.0-255 --mcast-ttl 1 --maxthread 100 --verbose=5 /tftpboot [23:05] No. [23:05] /etc/init.d/atftpd is the INITSCRIPT. It is NOT the BINARY. [23:05] * quantic facepalm. [23:09] I guess I don't understand why there are help channels if people are upset when others ask for help. [23:09] Well, we are telling you the same things for hourse now - and you arent even doing what you are told to do. [23:09] Wouldnt you get upset when that happens to you? [23:09] show me where you told me how to run the binary...and I will do it. [23:10] Ricky_Rat5005: for one, we absolutely HATE writing walkthroughs. there are tons online already, and configuring a tftp server is seriously basic. [23:10] I told you a gazillion of times. [23:10] Ricky_Rat5005: that proves that you dont even try to understand what people tell you. [23:10] I am out of that issue now. Good luck. [23:11] bekks no sir I am trying, but if you don't want to help, I appreicate your time in trying. [23:11] Ricky_Rat5005: I dont want to repeat myself a million times. [23:11] Ricky_Rat5005: I told you everything you need to know on how to start that thing manually. [23:11] For two different tftpd servers, already. [23:12] Dont blame me for your laziness of doing what you are told to. === IdleOne is now known as Guest28436 [23:12] bekks Name calling isn't helpful. I am not lazy. I am trying. [23:12] Then why didnt you try tp look at the init script, as I told you often enough? [23:13] Ricky_Rat5005: I think the frustration comes in that you're trying to have people help you set something up when you're not even competent with the OS on an administrative level. [23:13] Instead you are trying to discuss why people dont spoonfeed you. [23:13] quantic I am learning. [23:14] bekks I am trying dude. Sorry you are feeling frustrated. [23:14] Ricky_Rat5005: Never said you weren't, but you need to learn the platform before trying to deploy something on it. [23:15] Lookup the init script means nothing to me w/o knowing how to look up the script. [23:15] I'm a jerk about insisting on core OS competency when I help someone. I make no apologies for it. If you can't find and grep and cat and some of the other basics, there's no hope. Also, being able to take a suggestion and run with it shows troubleshooting competency. Asking over and over "how do I do that?" always means "paste what I need to type". [23:15] Nobody has time to do something FOR someone else. That's not helping. [23:16] Ricky_Rat5005: Then why on earth dont you just ASK whats the initscript? [23:16] Ricky_Rat5005: "find" "locate" [23:16] Google [23:16] Hours ago I told you to look at the initscript - and NOW you come up with "I dont know what that is"? [23:16] bekks what is the initscript please? [23:16] I told you. [23:16] /etc/init.d/atftpd [23:18] Ricky_Rat5005: Honestly, I think you've hit the limit of what you're going to get here. You need to become competent with Linux basics and Ubuntu server admin before you go further. === Tm_Tr is now known as Guest69999 === hxm is now known as Guest64164