[07:00:15] $ host -v login.tools.wmflabs.org [07:00:33] works fine I think [07:00:38] Trying "login.tools.wmflabs.org" ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 61794 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2 ;; QUESTION SECTION: ;login.tools.wmflabs.org. IN A ;; ANSWER SECTION: login.tools.wmflabs.org. 120 IN A 208.80.155.163 ;; AUTHORITY SECTION: wmflabs.org. 40679 IN NS labs-ns1.wikimedia.org. wmflabs.org. 40679 IN NS labs-ns0.wikimedia.org. ;; ADDITIONAL SECTION: [07:00:49] uh, can you paste somewhere? [07:01:05] nevermind [07:01:15] 208.80.155.163 is correct [07:01:33] ssh -vvv login.tools.wmflabs.org ? [07:02:22] OpenSSH_7.2p2 Ubuntu-4ubuntu2.2, OpenSSL 1.0.2g 1 Mar 2016 debug1: Reading configuration data /home/sid/.ssh/config debug1: Reading configuration data /etc/ssh/ssh_config debug1: /etc/ssh/ssh_config line 19: Applying options for * debug2: resolving "login.tools.wmflabs.org" port 22 debug2: ssh_connect_direct: needpriv 0 debug1: Connecting to login.tools.wmflabs.org [208.80.155.163] port 22. debug1: connect to address 208.80. [07:02:31] paste [07:02:48] it's extremely difficult to read without linebreaks [07:02:55] ok wait [07:04:00] https://jpst.it/10JEY [07:06:03] I tried ssh -o ProxyCommand='socat - SOCKS4A:myproxy:%h:%p,socksuser=myusername,socksport=myport' infobliss@tools-login.wmflabs.org -i ~/.ssh/id_rsa [07:06:24] but it just does not output anything at all. [07:07:05] So I need ctrl+C to terminate. [07:07:09] is there a firewall? [07:07:36] wait [07:08:10] sudo ufw allow 22 [07:08:16] ? [07:08:46] I disabled firewall for port 22 [07:09:01] I mean outgoing connection [07:09:22] How do I check that? [07:10:03] hmm [07:10:29] I'll give you my ip and can you try sshing into me? [07:10:45] ok [07:10:54] a sec [07:14:08] PM'ed [07:17:11] ssh: connect to host 101.229.144.88 port 2222: Connection refused [07:17:32] ... [07:18:41] let me switch a port [07:20:21] infobliss: change to port 80 [07:20:47] same result o_0 [07:21:00] unbelieveable [07:21:31] does it mean a firewall issue? [07:22:07] dunno [07:22:37] I'd love if I can test it with my own hands [07:22:48] There's a proxy we have to set in our browser and /etc/apt/apt.conf files [07:22:56] yeah sure [07:23:12] what's the proxy? [07:23:24] that might be the cause [07:23:27] 10.10.78.21 [07:23:33] port 3128 [07:23:49] HTTP proxy or socks proxy? [07:23:58] I have set it and can browse web and apt-get properly [07:24:07] both I think [07:24:19] it can't be both... [07:24:20] I set it for http, ftp, socks [07:24:37] Oh [07:24:41] I mean what proxy protocol does it use [07:25:15] let me find out [07:25:21] just a min [07:27:38] http I think [07:27:48] uh :/ [07:27:56] accessible using http in the browser [07:28:11] no not that [07:28:44] For non-browser Applications (Proxy_Name: proxy21.iitd.ac.in Proxy_IP: 10.10.78.21 Proxy_port: 3128) [07:30:25] https://en.wikipedia.org/wiki/SOCKS#Comparison_to_HTTP_proxying [07:31:14] can I see a screenshot of your proxy configuration? [07:32:01] just a min [07:33:40] https://ibb.co/mhLwxk [07:34:53] * zhuyifei1999_ facepalm [07:35:25] wait I will ask someone [07:35:29] k [07:36:43] also can you show me the relevant configuration in apt.conf? [07:36:51] it might hint something [07:37:40] just a min [07:42:01] https://ibb.co/eocbxk [07:42:35] * zhuyifei1999_ facepalm again [07:42:48] need a brb (bathroom break ) [07:42:53] k [07:54:15] I just talked to a friend who said the protocol is http [07:54:23] ok [07:54:31] hmm [07:54:57] he also said that there are some rules set by admin that may not allow me to ssh to some servers. [07:56:04] * zhuyifei1999_ hates these rules [07:56:10] some of the sites including torrent are also blocked [07:56:54] but the good news is that our campus wifi is a lot liberal [07:57:14] in that case can you switch to campus wifi? [07:57:21] In fact before my os went down I used to ssh using wifi [07:58:17] yeah but I am unable to take backup of my files since it is not mounting any external hard disk [07:58:35] so unable to reinstall ubuntu [07:58:40] sudo mount [07:58:57] [08:01:22] sorry net went off [08:01:38] it's okay [08:01:55] I basically said sudo mount [08:02:39] ? [08:03:29] the block/character files in /dev [08:03:41] eg. /dev/sda1 [08:03:43] ok [08:05:12] or, can you use ubuntu live so you get a GUI? [08:05:37] a.k.a. "try before install" [08:06:51] well yeah [08:07:01] that will be easy [08:07:14] you can mount the drive there right? [08:07:23] nope [08:07:32] why not? [08:08:01] I inserted my flash drive [08:08:15] and then? [08:08:29] now do I supposed to get one sda extra in the /dev? [08:08:41] should be sdb or sdc [08:08:46] if your main is sda [08:09:02] the 1 is the partition number [08:09:26] there's 2 [08:09:33] sdb and sdb1 [08:09:46] which is the flash drive? [08:10:04] before plugging in there are no sdb or shd1 right? [08:10:08] *sdb1 [08:10:39] ok let me reinsert [08:11:13] no sdb at all before plugging in [08:11:27] ok, then the device should be sdb1 [08:11:35] cool [08:11:47] mount point? [08:11:55] sdb is the entire drive, including the MBR. sdb1 is your partition [08:12:03] ok [08:12:11] just an empty folder owned by root [08:12:20] I usually use /mnt [08:12:21] ok [08:13:07] or if it's in use you can create a folder in /mnt with sudo and mount it to the new folder [08:13:58] thanks man I can access the flash drive [08:14:12] actually, why am I doing this in the old-fashioned way? I just remembered $ gnome-disks [08:14:42] it's a gui for doing stuffs with disks in gnome [08:15:30] ok nice [08:17:53] I will let you know once I have done the backup and have the new installation done. [08:17:58] k [08:18:13] I will be going for lunch [08:18:20] k [11:50:55] infobliss_: so how did things go? [11:58:25] hi [11:58:34] things are restored [11:59:07] In fact I just upgraded 14.04 to 16.04 without having to change any of my files :) [11:59:29] nice [11:59:41] Now I can focus on the task again [11:59:54] k [12:00:22] today I will read the youtube-dl code to find some inspiration there [12:00:30] k