/srv/irclogs.ubuntu.com/2017/08/05/#ubuntu-server.txt

drabdunno what your hw is, but thought I'd mention because after finally being able to install in EFI I thought I had it00:00
draband I was soooo wrong...00:00
drab:)00:00
drabyeah, sucked to be me that week00:00
drabon the up side I learned quite a bit through the process00:00
drabso I don't really mind, just need to take a step back for perspective, in the moment it quite sucked I admit00:00
sarnoldplus no nvme booting :/ on a machine that could probably stand to use some help booting more quickly :)00:04
drabnah, I think I got that covered, I put in a pci-e adapter and slapped a m2-ssd in it :P00:04
drabthat's one of the many nice things I found out about in that week00:05
sarnoldthat worked but the nvme didn't? o_O how's that different?00:05
drabthere's actually some surprisingly cheap things you can do with pci-e expansion slots and m200:05
drabyeah, the pci-e adapter still has a sata cable going to the sata port on the mobo00:06
drabso the disk is still presented to the bios as a sas device00:06
sarnoldreally? is that just for booting? or .. now.. now I'm confused again00:06
drabfor booting and OS, I got a dual card, one side is a m2sata, the other is nvme00:06
drabso the sata is for OS/booting, the nvme for app00:07
draball in one pci-e00:07
sarnoldohho00:07
sarnoldthat's clever00:07
draband the nvme is accessed through pci-e bus, which in the X9 feeds right into the CPU, it's pretty neat00:07
drabwhile the m2 goes through standard sata bus, but it's plenty for Os/boot00:07
drabit's both a headache and fun to find creative way to make the little donation money work00:08
drabbut you can build a 32cores, 128GB of ram with nvme for ~$700 on a good day00:09
draband beats in reliability, power comsumption and maintenance all the donated desktops they were using00:09
drab(moving some off to containers on that srv as I type... finishing cups instance up)00:10
sarnoldzounds nice work00:12
drabI'd rather be doing woodwork all the time :P00:13
sarnoldyou resisted the temptation to just keep looking at slightly newer and slightly newer gear..00:13
drabbut they need this more than they need work, so whatever, I'm here to help after all00:13
drabsarnold: well there just isn't the money... :P00:13
sarnolddrab: oh that helps00:13
drabat this point I figured that 2 generations old is the sweet spot... you get new features and relatively upgradable tech while costs have dropped substantially00:14
sarnoldI started out skimming ebay and deepdiscountservers and kept going for better efficiency and quieter and so on..00:14
drabin the case of SM for example the X10 and X11 have of course many improvements, but to this business case it really doesn't make a difference00:14
draband we have a remote basement :P00:15
drabwouldn't want this in a homelab for sure00:15
drabyeah, I've done that too, then I look at the budget I was given and hit the back button :)00:15
sarnold:)00:16
drabit's very time consuming to build custom like this tho, I'd never do it for a business00:16
drabyou can save quite a bit and get quite a lot out of each $$, but it's a huge time sink, you'd spend more in wages at that point00:16
sarnoldI was happy to pay thinkmate to build and test it for me; I don't have any parts tha I could use for troubleshooting, and that class of hardware was entirely new to me. I didn't want to wind up with a few thousand dollars worth of parts that didn't want to play well together00:18
drabyeah totally, I was on the edge for the whole week because no matter how much I gogoled I just couldn't be sure00:18
drabbut there's also 30 days return00:18
sarnoldwell done with the neato sata + pci mixed thing. crazy.00:19
drabthe worst part was to get the power cable over since the chassis aren't really designed for that...00:20
drabit's a SAS case with a backplane, no SATA business even tho it has sata connectors on the mobo00:20
sarnoldheh that was half of why I liked thinkmate there -- even though it's got a sas expander they were prepared to sell it with sata drives plugged in. :)00:21
rose_can someone tell me why downloading from an internet ip like using http is faster than using http from a local pc on the lan. the download speed from the internet is 3megabytes/s while local pc source is 30kb/s!! can someone tell me what's up? I'm downloading to a laptop pentium 3 with gigabit card from a iis web server on windows 7 that has also gigabit card00:55
cncr04ssomething is wrong then01:03
cncr04syou would need to diagnose the issue01:04
cncr04sits either the nic, cable, the server/config01:04
rose_I can test with samba if I knew how01:05
rose_cncr04s: do you know about iis01:05
cncr04sI used it once a long time ago, I'm an apache person01:08
rose_I know my nic is fine cause it can download a 3MB from the internet must be the iis01:11
rose_I'll use another pc good idea01:11
rose_a third laptop with windows 10 on wireless n downloads at 5mb/s is not iis01:15
rose_i'm using links2 to download the file could that be why? where to change download speed? I checked couldn't find01:25
sarnoldI guess that's a possibility; try wget or curl, those should hit almost-wire speeds no trouble01:27
sarnoldeven on a p301:27
sarnoldmaybe not full gig,but hopefullysomething better than 30kbps :)01:27
sarnoldthe next debugging steps might be to use tshark or wireshark or tcpdump to see what's actually being sent01:28
rose_sarnold: yea  I forgot about curl or wget! gez01:31
rose_sarnold: btw what mime type do I set for pk3 files01:31
rose_application/x-pk3?01:32
sarnoldrose_: sorry, no idea; what application would you use to read those?01:33
rose_urban terror01:33
rose_sarnold: I tried wget I have no curl and the speed is 50kb/s slow too01:36
sarnoldhrm, not much docs around the web about the mime type to set. I think I'd use application/octet-stream unless you can find something specific..01:36
rose_sarnold: why? is not iis why downloading from other lan pc is slow I can donwload faster from internet01:37
rose_sarnold: ok01:37
sarnoldrose_: you'll just have to figure out what's wrong one step at a time; you can try replacing components one at a time or maybe tcpdump, wireshark, tshark, etc., to watch the transfers and try to spot protocol problems, or excessive arps, or whatever01:38
rose_sarnold: unfortunately I don't know how I'll have to post it on like a forum01:40
rose_I can record with tcpdump but then I wouldn't know where to start01:41
sarnoldunless you're familiar with what normal looks like it could be hard to spot abnormal..01:41
rose_sarnold: do u know how to connect to my windows shares?01:46
rose_I type smbclient IP 10.0.0.6 and it shows help info01:46
sarnoldit's something like smbclient \\\\servername\\sharename01:47
sarnoldif you need to use an IP because the servername isn't automatically resolved then I think -I will let you specify the IP01:47
rose_I did that I'll try again01:54
rose_sarnold: it doesn't work01:59
rose_sarnold: I get the screen with all the swtiches01:59
rose_I'm typing smbclient -I 10.0.0.601:59
rose_I tried -p 445 too02:00
sarnoldI think the server name may be mandatory02:00
sarnoldeither smbclient -I 10.0.0.6 -L \\\\servername    or smbclient -I 10.0.0.6 \\\\servername\\sharename02:00
rose_sarnold: however -L and hostname shows my shares02:01
rose_yea I'll keep digging02:01
rose_sarnold: ok I'm in02:07
rose_sarnold: I typed get file.mp4 and it gave me an error02:08
rose_it kinda hanged for like 30sec02:08
sarnoldwhat error?02:08
rose_sarnold: I can download files from that share from other pcs02:08
rose_I'll know in a second02:08
rose_it says paralle read returned nt_status_io_timeout02:10
rose_sarnold: I got the same problem than a guy on superuser forum02:20
rose_nt timeouts and slow file sharing02:20
sarnoldrose_: maybe that means there's something in the windows event viewer02:21
rose_sarnold: not much02:41
rose_sarnold: just some errors not related to file sharing02:58
rose_sarnold: asI can share with like my laptop and phone02:58
sarnoldrose_: dang :/ time for me to run; good luck02:58
rose_cool02:59
=== gunix is now known as list
=== list is now known as gunix
lordievaderGood afternoon10:03
=== Tzunamii_ is now known as Tzunamii
hosashello. how do I setup my ubuntu 16.04 to use my school proxy? the normal gui just not working for me. thanks14:54
gunixhosas: i don't think this question is for ubuntu server, but i will help you anyway15:06
gunixhosas: you have 2 options of setting up your proxy. via GUI (write proxy or network in search box) and you will have a window to configure manual proxy. however, this will work for chromium/firefox but it might not always work for bash15:06
gunixhosas: for bash, you should run the following commands: "export http_proxy=http://10.10.10.10:8080/" and "export https_proxy=https://10.10.10.10:8080"15:07
gunixhosas: of course, replace 10.10.10.10 with your ip15:07
hosasgunix: thanks15:07
gunixhosas: adding the exports within the terminal will fix your proxy for stuff like apt and wget within the terminal, but not for stuff from the Desktop environment. you need to add them with the network interface in order to get proxy to work with chromium or whatever browse you use15:08
hosasgunix: the proxy has a username and password- how do I add that to the bash-option?15:13
gunixhosas: i forgot15:14
gunixhosas: there were multiple ways, but i found a proxy within my company that works without auth, so i use that15:15
hosasok15:16
hosasit's school proxy I just need to use to activate an academic license of a software15:16
gunixhosas: export http_proxy='username:password@http://proxy_hostname:proxy_port'15:17
gunixtry that15:17
hosasgunix:  wait in the network interface I can't see proxy option there15:17
hosasok15:17
hosasthanks15:18
gunixhosas: from GUI you should find this: https://i.stack.imgur.com/YkO3x.png15:18
hosasoh that15:18
gunixhosas: if this works for you, please confirm so you can make me happy i helped someone15:19
hosasI didn't work with the terminal15:19
hosasbut thanks15:19
gunixhosas: if your password has some special characters you might need to escape them15:20
hosasgunix: It doesn't have to work for to know you've helped. you've helped already by just replying me.15:20
hosasgunix: of course my password has special characters15:21
gunixhosas: i thought so ... that will give you some work :D try to do some "wget google.com" and you should receive the error from the proxy. if the credentials fail, try escaping the characters15:22
hosasok15:22
hosaslet me give it a try15:22
hosasthe proxy didn't work, but thanks man. I think it's because of the special character:-D16:09
gunix...16:09
gunixhosas: did you try to google it?16:10
hosasI did16:10
gunixhosas: and still nothing?16:10
hosassomeone suggest character encoding16:10
gunixhosas: give me your password so i can try it locally16:10
gunixcool joke, right?16:10
hosashahahahaha16:11
hosasmaybe I drink too much16:11
hosasgunix: would try it when I'm more sober. thanks again.16:12
gunixhosas: too much wine in paris and you have been tasked to clean all the bottles?16:13
hosas:)16:13
hosasit's weekend man16:13
gunixhosas: i don't judge16:14
shrouderhow does nm-applet do I.C.S. I want to copy over the settings for doing I.C.S. without the gui or x running.21:19
shroudersomething for #ubuntu-router21:20
PosterIf you're referring to Internet Connection Sharing, you can setup a very basic NAT system by enabling IP forwarding and applying one iptables rule21:33
Posterin /etc/sysctl.conf, set net.ipv4.ip_forward=1 (it may be commented out), you can activate it with "sudo sysctl -w net.ipv4.ip_forward=1" the last thing is to apply NAT on your external interface, assuming it's eth0, it would be "sudo iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE"21:34
Posterthere are much better ways to set all of this up, but that should get you started21:34

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!