Posts

Curl --interface issue - Ask Ubuntu

i try specify wireless interface curl, not working properly. when lan cable disconnected, works expected. when lan cable plugged in, connection timed out. see log below, first attempt plugged in lan cable. user@user-latitude-e6410:~/downloads/ats$ sudo curl http://speedtest4.ziggo.nl/testfile_20g.bin -o /dev/null --retry 0 --limit-rate 500000 --speed-limit 3000 --speed-time 2 --connect-timeout 5 --interface wlp2s0 --verbose % total % received % xferd average speed time time time current dload upload total spent left speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* trying 212.54.52.11... * local interface wlp2s0 ip 192.168.2.73 using address family 2 * local port: 0 * connected speedtest4.ziggo.nl (212.54.52.11) port 80 (#0) > /testfile_20g.bin http/1.1 > host: speedtest4.ziggo.nl > user-agent: curl/7.47.0 > accept: */* > < http/1.1 200 o...

16.04 - Is there a command to recall last command for editing with memory of cursor position? - Ask Ubuntu

what mean like, if had command chain: (here | references cursor position before hit enter) $ youtube-dl -f |18 --yes-playlist https://blah.blah.com $ x what command x recall previous command cursor before 18 can edit number super-quickly ? i'm not aware of such shortcut, if want change first occurrence of 18 in line, can use history interaction : ^18^something-else for example: $ ls 18 ls: cannot access '18': no such file or directory $ ^18^2003^ ls 2003 ls: cannot access '2003': no such file or directory $ ^2003^a b^ ls b ls: cannot access 'a': no such file or directory ls: cannot access 'b': no such file or directory

dual boot - How to remove/hide $RECYCLE.BIN and System Volume Information folders? - Ask Ubuntu

i running dual boot (ubuntu 16.10 , windows 10). when boot ubuntu, see 2 folders $recycle.bin , system volume information . besides, in 1 drive see file named pagefile.sys . delete them all, every time boot ubuntu, appear again. can show me how permanently delete them, or @ least hide them because find them annoying. thanks create text file .hidden on hard drive, , add folders wish hide, this: found.000 $recycle.bin recycler system volume information pagefile.sys

networking - Slave steals IP meant for bonded interface - Ask Ubuntu

i'm having issue combo. i'm trying set lacp bond using ubuntu 16.04 , cisco sg-300. have cisco configured lacp on 2 server's ports . in ubuntu have following config: # /etc/network/interfaces auto lo iface lo inet loopback auto eno1 iface eno1 inet manual bond-master bond0 auto eno2 iface eno2 inet manual bond-master bond0 auto bond0 iface bond0 inet static address 10.0.0.5 gateway 10.0.0.1 netmask 255.255.255.0 dns-nameserver 8.8.8.8 bond-mode 4 bond-miimon 100 bond-lacp-rate 1 bond-slaves eno1 eno2 xmit_hash_policy 0 this works has 1 issue. whenever system started [eno1 seems grab static ip bond0 10.0.0.5 , 10.0.0.5 unreachable on network. if 'ifdown eno1 && ifup eno1' bond grab 10.0.0.5 , start working normally. have clue why slave device grabbing static ip meant bond0 that? there static configuration in /etc/dhcpcd.conf. not sure how got there since i've used static on box. removed offending lines file removing dhcpcd5 pack...

crash - Glitchy screen while running any Linux distro - Ask Ubuntu

Image
i crashing screen on linux computer. have tried many linux distros, same glitchy screen. how can solve problem?

bash - Startup script not running - Ask Ubuntu

this question has answer here: why won't rc.local run xinput? 1 answer “startup applications” not working 2 answers i trying run command on startup $ xinput set-prop "10" --type=float "coordinate transformation matrix" 0.5 0 0.5 0 1 0 0 0 1 i have in rc.local not running on startup. appreciated.

external hdd - Install Ubuntu on removable hard drive - Ask Ubuntu

this question has answer here: how install ubuntu on portable external hard drive? 3 answers i want install ubuntu on removable hard driver, when remove hard drive , turn on computer, there exist no signs of ubuntu (i mean no grub or else). when connect hard drive , turn on computer, can boot external hard drive , start ubuntu session. want ubuntu installed on external hard drive,creating live linux not answer. suggestions? yes, can. create livecd , install. the easiest way install unplug internal hard drive, plug in usb hard drive, , install on hard drive livecd. otherwise, have "something else", , create swap, data, , home partition manually. make sure install grub on hard drive, not internal hard drive.