Give Read Write PErmissions to USB drive

PHOTO EMBED

Wed Mar 10 2021 23:41:43 GMT+0000 (UTC)

Saved by @dedicatedking #nodejs,angular

aviel@aihej-laptop:~$ ssh 172.252.16.1
^C
aviel@aihej-laptop:~$ ^C
aviel@aihej-laptop:~$ ^C
aviel@aihej-laptop:~$ ^C
aviel@aihej-laptop:~$ ssh 172.252.16.1
root ~# cd /media
root media# ls
content   sdc0s0    sdc0s2    sdc1s1    ssd1p1    ssd2p1    usbdisk1
rwvm      sdc0s1    sdc1s0    sdc1s2    ssd1p2    ucp
root media# cd content
root content# cd wireless
root wireless# ls
backupwebclient                 usb_loadable_data_versions.txt
html                            web_app_transfer_error
map                             webclient
root wireless# cd webcl
-bash: cd: webcl: No such file or directory
root wireless# cd webclient/
root webclient# ls
Web.config   content      fonts        images       lib          styles
branding     data         i18n         index.html   scripts      version.txt
root webclient# cd branding/
root branding# 
root branding# ls
DivXWebPlayerInstaller.dmg  landscape
DivXWebPlayerInstaller.exe  manifest.json
font                        portrait
icons                       settings.json
images
root branding# tail settings.json
  "app_url": "http://vir.mediasuite.zii.aero/webclient",
  "apk_url": "https://vir.mediasuite.zii.aero/apps/Android.apk",
  "pairing_url": "https://vir.mediasuite.zii.aero:11015",
  "pairing_code_length": 4,
  "app_title": "Virgin Atlantic",
  "airline_name": "Virgin Atlantic",
  "languages": ["eng", "chi"],
  "show_android": false,
  "favorites_enabled": "true"
}
root branding# vim
root branding# vim settings.json
root branding# vim settings.json
root branding# packet_write_wait: Connection to 172.16.252.1 port 22: Broken pipe
aviel@aihej-laptop:~$ lls

Command 'lls' not found, did you mean:

  command 'rls' from snap rustup (1.23.1)
  command 'hls' from deb hfsutils
  command 'llc' from deb llvm
  command 'ols' from deb speech-tools
  command 'bls' from deb bacula-sd
  command 'fls' from deb sleuthkit
  command 'ils' from deb sleuthkit
  command 'lli' from deb llvm-runtime
  command 'les' from deb atm-tools
  command 'ls' from deb coreutils
  command 'jls' from deb sleuthkit
  command 'llt' from deb storebackup
  command 'lvs' from deb lvm2
  command 'lrs' from deb lrslib
  command 'als' from deb atool

See 'snap info <snapname>' for additional versions.

aviel@aihej-laptop:~$ ll
total 216
drwxr-xr-x 33 aviel aviel  4096 Mar  2 16:50 ./
drwxr-xr-x  3 root  root   4096 Dec 14 01:40 ../
drwxr-xr-x  5 aviel aviel  4096 Feb 25 14:22 .android/
drwxr-xr-x  3 aviel aviel  4096 Feb 25 11:54 Android/
drwxr-xr-x  3 aviel aviel  4096 Feb 25 12:18 AndroidStudioProjects/
-rw-r--r--  1 aviel aviel    57 Jan  4 15:19 .angular-config.json
drwxr-xr-x  2 aviel aviel  4096 Feb 20 14:29 Applications/
-rw-------  1 aviel aviel 17310 Mar  4 15:57 .bash_history
-rw-r--r--  1 aviel aviel   220 Dec 14 01:40 .bash_logout
-rw-r--r--  1 aviel aviel  3771 Dec 14 01:40 .bashrc
drwx------ 30 aviel aviel  4096 Feb 25 14:22 .cache/
drwx------ 25 aviel aviel  4096 Feb 26 15:46 .config/
drwxr-xr-x  6 aviel aviel  4096 Feb 20 17:04 Desktop/
drwxr-xr-x  2 aviel aviel  4096 Mar  2 17:38 Docker/
drwxr-xr-x 10 aviel aviel  4096 Feb 20 17:29 Documents/
drwxr-xr-x 11 aviel aviel  4096 Mar  2 15:29 Downloads/
-rw-------  1 aviel aviel    16 Feb 25 14:22 .emulator_console_auth_token
-rw-r--r--  1 aviel aviel  8980 Dec 14 01:40 examples.desktop
-rw-rw-r--  1 aviel aviel    41 Feb  2 14:45 .gitconfig
drwx------  3 aviel aviel  4096 Jan 29 11:43 .gnome/
drwx------  3 aviel aviel  4096 Dec 14 10:22 .gnupg/
drwxr-xr-x  2 aviel aviel  4096 Jan 21 10:28 .gphoto/
drwxr-xr-x  7 aviel aviel  4096 Feb 25 12:20 .gradle/
-rw-------  1 aviel aviel  5130 Feb 24 13:57 .ICEauthority
drwxr-xr-x  4 aviel aviel  4096 Feb 25 11:54 .java/
drwx------  3 aviel aviel  4096 Dec 14 01:42 .local/
drwx------  5 aviel aviel  4096 Dec 14 01:45 .mozilla/
drwxr-xr-x  2 aviel aviel  4096 Dec 14 01:42 Music/
drwxr-xr-x  5 aviel aviel  4096 Jan  5 12:19 node_modules/
drwxr-xr-x  6 aviel aviel  4096 Mar  1 15:30 .npm/
-rw-r--r--  1 aviel aviel   635 Jan  5 12:15 package-lock.json
drwxr-xr-x  3 aviel aviel  4096 Mar  8 13:48 Pictures/
drwx------  3 aviel aviel  4096 Dec 14 12:46 .pki/
-rw-r--r--  1 aviel aviel   807 Dec 14 01:40 .profile
drwxr-xr-x  2 aviel aviel  4096 Dec 14 01:42 Public/
drwxr-xr-x  5 aviel aviel  4096 Mar  2 17:05 rave/
drwxr-xr-x  3 aviel aviel  4096 Feb 25 14:16 snap/
drwx------  2 aviel aviel  4096 Jan 27 14:36 .ssh/
drwxr-xr-x  3 aviel aviel  4096 Jan 29 11:13 .subversion/
-rw-r--r--  1 aviel aviel     0 Dec 14 13:20 .sudo_as_admin_successful
drwxr-xr-x  2 aviel aviel  4096 Dec 14 01:42 Templates/
drwx------  5 aviel aviel  4096 Jan 16 09:42 .thunderbird/
-rw-rw-r--  1 aviel aviel  9373 Jan  6 07:46 .v8flags.6.2.414.78.40aa9ebaf697f60ec44e8d91deeda685.json
drwxr-xr-x  2 aviel aviel  4096 Mar  2 10:58 Videos/
-rw-------  1 root  root   2621 Mar  2 16:50 .viminfo
drwxrwxr-x  3 aviel aviel  4096 Dec 14 12:55 .vscode/
aviel@aihej-laptop:~$ cpwd

Command 'cpwd' not found, did you mean:

  command 'hpwd' from deb hfsutils
  command 'pwd' from deb coreutils

Try: sudo apt install <deb name>

aviel@aihej-laptop:~$ ls
Android                Docker            Music              Public     Videos
AndroidStudioProjects  Documents         node_modules       rave
Applications           Downloads         package-lock.json  snap
Desktop                examples.desktop  Pictures           Templates
aviel@aihej-laptop:~$ cd users
bash: cd: users: No such file or directory
aviel@aihej-laptop:~$ ls
Android                Docker            Music              Public     Videos
AndroidStudioProjects  Documents         node_modules       rave
Applications           Downloads         package-lock.json  snap
Desktop                examples.desktop  Pictures           Templates
aviel@aihej-laptop:~$ lsblk
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
loop0    7:0    0   219M  1 loop /snap/gnome-3-34-1804/66
loop2    7:2    0   548K  1 loop /snap/gnome-logs/103
loop3    7:3    0 162.9M  1 loop /snap/gnome-3-28-1804/145
loop4    7:4    0  14.8M  1 loop /snap/gnome-characters/296
loop5    7:5    0  42.8M  1 loop /snap/gtk-common-themes/1313
loop6    7:6    0   2.2M  1 loop /snap/gnome-system-monitor/157
loop7    7:7    0  55.4M  1 loop /snap/core18/1944
loop8    7:8    0 149.9M  1 loop /snap/gnome-3-28-1804/67
loop9    7:9    0   956K  1 loop /snap/gnome-logs/100
loop10   7:10   0   2.5M  1 loop /snap/gnome-calculator/826
loop11   7:11   0  55.5M  1 loop /snap/core18/1988
loop12   7:12   0   276K  1 loop /snap/gnome-characters/570
loop13   7:13   0  64.8M  1 loop /snap/gtk-common-themes/1514
loop14   7:14   0 217.9M  1 loop /snap/gnome-3-34-1804/60
loop15   7:15   0   2.2M  1 loop /snap/gnome-system-monitor/148
loop16   7:16   0   2.5M  1 loop /snap/gnome-calculator/884
loop17   7:17   0  98.4M  1 loop /snap/core/10823
loop18   7:18   0  61.6M  1 loop /snap/core20/904
loop19   7:19   0 925.5M  1 loop /snap/android-studio/100
loop20   7:20   0  99.2M  1 loop /snap/core/10859
sda      8:0    0   477G  0 disk 
├─sda1   8:1    0   512M  0 part /boot/efi
└─sda2   8:2    0 476.4G  0 part /
sdc      8:32   1   7.5G  0 disk 
└─sdc1   8:33   1   7.5G  0 part 
aviel@aihej-laptop:~$ sudo untitled
[sudo] password for aviel: 
sudo: untitled: command not found
aviel@aihej-laptop:~$ ls
Android                Docker            Music              Public     Videos
AndroidStudioProjects  Documents         node_modules       rave
Applications           Downloads         package-lock.json  snap
Desktop                examples.desktop  Pictures           Templates
aviel@aihej-laptop:~$ sido -i

Command 'sido' not found, did you mean:

  command 'sudo' from deb sudo
  command 'sudo' from deb sudo-ldap

Try: sudo apt install <deb name>

aviel@aihej-laptop:~$ sudo -i
root@aihej-laptop:~# fsck -y
fsck from util-linux 2.31.1
e2fsck 1.44.1 (24-Mar-2018)
/dev/sda2 is mounted.
e2fsck: Cannot continue, aborting.


root@aihej-laptop:~# fsck -y /dev/sdc2
fsck from util-linux 2.31.1
e2fsck 1.44.1 (24-Mar-2018)
fsck.ext2: No such file or directory while trying to open /dev/sdc2
Possibly non-existent device?
root@aihej-laptop:~# fsck -y /dev/sdc1
fsck from util-linux 2.31.1
e2fsck 1.44.1 (24-Mar-2018)
untitled: recovering journal
JBD2: Invalid checksum recovering block 1 in log
Journal checksum error found in untitled
untitled was not cleanly unmounted, check forced.
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
Free blocks count wrong (1546035, counted=1545530).
Fix? yes

Free inodes count wrong (488592, counted=488591).
Fix? yes


untitled: ***** FILE SYSTEM WAS MODIFIED *****
untitled: 49/488640 files (2.0% non-contiguous), 408262/1953792 blocks
root@aihej-laptop:~# ls
snap
root@aihej-laptop:~# wpd

Command 'wpd' not found, did you mean:

  command 'wpe' from deb xwpe
  command 'lpd' from deb lpr
  command 'lpd' from deb lprng
  command 'spd' from deb spd
  command 'wmd' from deb wml
  command 'wld' from deb wcc
  command 'mpd' from deb mpd
  command 'pd' from deb puredata-core
  command 'pwd' from deb coreutils
  command 'wpp' from deb wpp

Try: apt install <deb name>

root@aihej-laptop:~# pwd
/root
root@aihej-laptop:~# pwd
/root
root@aihej-laptop:~# ls
snap
root@aihej-laptop:~# cd ..
root@aihej-laptop:/# ls
bin    dev   initrd.img      lib64       mnt   root  snap      sys  var
boot   etc   initrd.img.old  lost+found  opt   run   srv       tmp  vmlinuz
cdrom  home  lib             media       proc  sbin  swapfile  usr  vmlinuz.old
root@aihej-laptop:/# cd home
root@aihej-laptop:/home# ls
aviel
root@aihej-laptop:/home# cd aviel
root@aihej-laptop:/home/aviel# ls
Android                Desktop    Downloads         node_modules       Public  Templates
AndroidStudioProjects  Docker     examples.desktop  package-lock.json  rave    Videos
Applications           Documents  Music             Pictures           snap
root@aihej-laptop:/home/aviel# cd rave/
root@aihej-laptop:/home/aviel/rave# ls
shared                                   vir-2_WIRELESS_ANCILLARY_SW_PKG_3683089.tgz
vir-2_WIRELESS_ANCILLARY_SW_PKG_3683089  wireless
root@aihej-laptop:/home/aviel/rave# cd ..
root@aihej-laptop:/home/aviel# 
content_copyCOPY