|
|
(207 intermediate revisions by the same user not shown) |
Line 1: |
Line 1: |
| {| class="mw-collapsible mw-collapsed wikitable" | | {| class="mw-collapsible mw-collapsed wikitable" |
| ! general | | ! General tasks |
| |- | | |- |
| | | | | |
| {| class="mw-collapsible mw-collapsed wikitable" | | {| class="mw-collapsible mw-collapsed wikitable" |
| ! flash drives | | ! MIGRATION IN PROGRESS: config distro machine migration |
| |- | | |- |
| |[[File:Flash.png]] | | |Start to revamp config from [machine]/[distro] to [distro]/[machine] to match scripts. It's not hard even though it's dangerous. You can do each machine separately from others. Get on it! |
| * Q OpenELEC boot 9/2015
| | # DO THIS ALL IN ONE SESSION, do not log out |
| * L OS X Lion boot
| | cd development/config |
| * W win8.1 update
| | mkdir -p distro # prolly not needed |
| * A 32GB Cara (homeland)
| | git mv machine/distro distro/machine |
| * C 64GB Gary (movies)
| | setup_stow.sh # repeat until it doesn't fail; check each failure to make sure it is a symlink, and simply rm them as you go |
| * B openelec
| |
| * I Crucial M500 firmware flasher
| |
| * S toshiba msdos
| |
| * T tinywave 32GB lots of backups, star wars uncut
| |
| * U 8GB old ubuntu installer
| |
| * Y 2GB old photos
| |
| * red-on-black 1GB old msdos
| |
| * blue-on-black 4GB old photos
| |
| * D 2GB msdos found stuff
| |
| * P ABB 125MB empty
| |
| * X 4GB empty
| |
| * R 2GB homecoming 2014 playlist
| |
| * mellow mushroom GoT wolf 4GB need to add a 720p disney film!!
| |
| * PNY 16GB from bill, get it back to him!!
| |
| |} | | |} |
| | |
| | [[Maintenance of my music collection]] |
| | |
| | [[Restarting everything]] |
| | |
| | [[Add a new VM to melange]] - [[Clone a melange VM]] - [[Linux barebones quickstart]] |
| | |
| | [[Scripts]] - [[Add a user]] - [[Linux permissions]] - [[DNS]] |
| | |
| | [[Tune linux performance]] |
| | |
| | [[Turn off ubuntu gnome screenlock]] - [[Set ubuntu default browser]] |
| | |
| | [[Add a drive]] - [[Back up drive]] - [[Check disk]] - [[Check disk speed]] |
| | |
| | [[Bash basics]] - [[OS X basics]] - [[DOS basics]] - [[Update gentoo kernel]] |
| | |
| | [[SSL certificate instructions]] - [[Networking]] |
| | |
| | [[systemd]] - [[udev: Assign unique names to your devices]] |
| | |
| | [[Automatically mount and unmount your devices]] |
| | |
| | [[udev: Autorun programs when connecting your devices]] |
| | |
| {| class="mw-collapsible mw-collapsed wikitable" | | {| class="mw-collapsible mw-collapsed wikitable" |
| ! script favs | | ! master keyboard shortcuts map |
| |- | | |- |
| | COMMANDS WORTH REMEMBERING | | |See .i3/config. |
|
| |
|
| My scripts:
| | Typically you can press ctrl-shift-K to open it in editor. |
| sc show most-common quick-scripts
| |
| greplogs blah search all my log files (named ToDo.txt) for "blah"
| |
| greplogs blah -C 3 search all my log files (named ToDo.txt), and show 3 surrounding lines of context
| |
| grepcode blah -C 3 same, but search code files underneath the current dir (h|hpp|cpp|pl|php)
| |
| restart_process_as_needed.pl name=#path/file#
| |
| checks for process named 'file'; if not found, starts path/file
| |
| pk substring prompt to kill all processes with 'substring'
| |
| General-purpose:
| |
| cp -axv drive drive_backup clone an unmounted linux system
| |
| ps ax|grep blah show running processes with "blah" in them
| |
| lsof -c cp show open files for any process starting with "cp"
| |
| lspci list all the hardware using the PCI bus (video cards, etc)
| |
| watch #command# repeat the command every 2 secs (default), showing output
| |
| tail -f #logfile# display the tail end of the logfile, in realtime
| |
| shutdown -rF now reboot, forcing an fsck on startup (or, put a [forcefsck] file in drive root)
| |
| fuser -m /dev/hdb1 find open files on a drive, then processes that have the file(s) open
| |
| /dev/hdb1: 538
| |
| ps auxw|grep 538
| |
| donncha 538 0.4 2.7 219212 56792 ? SLl Feb11 11:25 rhythmbox
| |
| wc -l file count lines - can pipe to it too
| |
| find / -name "libjpeg*" brute-force find (in this case, all libraries starting with jpeg...)
| |
| iostat -dx 5 report on drive % utilization etc ("emerge systat" to get it)
| |
| iotop top for io, of course
| |
| hdparm -t /dev/sda tests actual speed of hard drive
| |
| Ubuntu-specific:
| |
| xrandr --output DVI-I-2 --off && xrandr --output DVI-I-2 --auto --right-of DVI-I-1 fixes lost monitor, also try arandr
| |
| sudo software-center [XXX.deb] to go to software center; specify a deb file to install (steam etc).
| |
| sudo unity-control-center all settings; also a pathway to upgrading and selecting nvidia driver
| |
| Gentoo-specific (see [http://news.thedigitalmachine.com/category/chatter/gentoo-notes/ blog] for USE flag notes):
| |
| elogviewer X app to list installed packages including installation notes
| |
| genlop -lu show the history of merged and unmerged packages
| |
| eix #search# search for all packages (available AND installed)
| |
| eix --world -c condensed list of all packages in your [world]
| |
| emerge -Davu blah emerge package blah (if needed), confirming first
| |
| dispatch-conf handles updating of config files after emerge, see /etc/dispatch-conf.conf
| |
| equery uses #package# show USE flags of package
| |
| equery depends #pkg# show packages that depend on package
| |
| equery belongs #file# show the package to which the file belongs
| |
| equery hasuse #flag# shows packages that have the USE flag
| |
| equery depgraph --depth=# #pkg# shows the entire dependency tree for pkg
| |
| eix-sync grabs latest package list, updates portage and eix (usually called via cron)
| |
| emerge --emptytree --update world CAREFUL, this reinstalls EVERYTHING :>
| |
| Apps:
| |
| alsamixer set 7.1-channel HD audio volume levels
| |
| alsa-config test, set optimal audio levels
| |
| mythfilldatabase fill TV listings database
| |
| For development:
| |
| git rebase --hard HEAD throw away your local changes that have not yet been committed
| |
| git rebase --hard master force the current branch to match master (losing ALL commits!)
| |
| cvs history -c [file] get list of revisions for [file]
| |
| cvs diff -r 1.2 [file] compare past revision to current
| |
| cvs diff -r 1.3 -r 1.2 [file] compare two revisions
| |
|
| |
|
| Run sc to get the latest list:
| | The local file usually points to the common version, here: |
| ----------------------------------------------- | | ~/development/config/common/home/m/.i3/config |
| /^\v/^\v/^\v/^\v/^\v/^\v/^\v/^\v/^\v/^\v/^\v/^\
| |
| -----------------------------------------------
| |
| useful commands and scripts
| |
| _______________________________________________
| |
| \v/^\v/^\v/^\v/^\v/^\v/^\v/^\v/^\v/^\v/^\v/^\v/
| |
| ---------------------------------------------
| |
|
| |
| i3[scriptname] run an i3-specific script
| |
| equery files pkg show package files, use |less
| |
| elogv[iewer] browse recent emerges and comments
| |
| edit_fluxbox_menu edit and apply fb menu changes
| |
| edit_firewall edit, restart iptables w/screen
| |
| mdb-[] access db tools
| |
| gtdm;gw;gd;gwa go to tdm|wimpy|dune|wally via ssh
| |
| greplogs [term] search logs for term [-C 3]
| |
| grepcode [term] search code in curr dir for term
| |
| ds [dir] get directory sizes
| |
| pk [proc_regex] kill matches - type ALL for -9
| |
| lsof -c [proc] show open files for process
| |
| which|whereis app show app location|paths
| |
| alsamixer adjust sound levels
| |
| eq finally an eq in linux, yay!
| |
| watch [command] repeatedly run command
| |
| rs restore screen (w/detach)
| |
| st;gt search/get torrents
| |
| post_torrent run from m@wimpy:rrip/flac (or mp3)
| |
| srd [#] show most recent downloads
| |
| move_and_resymlink symlink destdir
| |
| resymlink symlink destdir (if file is already there)
| |
| rm_torrent.pl torrent cleanup; run for usage
| |
| extract_tordir extract dir from .torrent
| |
| ls_broken_symlinks uses curr dir
| |
| ls_nonsymlinks uses curr dir
| |
| rm_broken_symlinks uses curr dir, WILL rm THEM
| |
| td;etd show/edit active todo w/cvs
| |
| top top resource-consuming procs
| |
| apachetop -f log site-specific apache requests
| |
| ex;em emacs with/without X
| |
| uc;cm cvs update/commit (no message)
| |
| sp;ep search/edit private data
| |
| edit_spam_[rules|settings] what it says
| |
| edit_sieve_rules edit mailfilter rules
| |
| tree -fid -L 1 great tree display of dir & files
| |
| edit_torrent_[] shows (common) or rss (rare)
| |
| search_xbmc_keys search key file for term
| |
| edit_world edit portage master pkg list
| |
| xscreensaver-demo then select Disable to turn off
| |
| recordmydesktop does what it says
| |
| bandwidth monitor current bw usage
| |
| edit_rsync_jobs edit bp<->tdm nightly rsync
| |
|
| |
| trac-tda $1 $2 trac admin tool, RUN AS ROOT
| |
| erase_trac_ticket_block 17 20 blah (run as root)
| |
| update_ampache_tda update music catalog, RUN AS ROOT
| |
| edit_gentoo_grub_cfg set up gentoo kernels on 3-boot
| |
|
| |
| htdj/*_scripts/push_release(.bat)
| |
| get_ampache_official changes
| |
| publish_hangthedj_ampache_module
| |
| get_ampache_official changes
| |
| cdh;huc;hcm;hpush scripts to manage hangthedj repos
| |
| also see scripts/git_* helpers
| |
| ec2-ubuntu-ssh ssh to amazon ec2 server
| |
| mp3search search (and optionally copy mp3s
| |
| |} | | |} |
| {| class="mw-collapsible mw-collapsed wikitable" | | {| class="mw-collapsible mw-collapsed wikitable" |
| ! Disabling xscreensaver | | ! Upgrade Ubuntu |
| |- | | |- |
| | | | | To update ubuntu from an i3 terminal: |
| emacs ~/.xscreensaver | | su - |
| timeout: 12:00:00 # the max timeout is 12 hours
| | apt-get update # Fetches the list of available updates |
| crontab -e | | apt-get upgrade # Strictly upgrades the current package |
| # So... I have .xscreensaver set to max delay (12 hours)
| | apt-get dist-upgrade # Installs updates (new major versions, i think) |
| # and I call this every ten hours to restart the idle timer. | | update-manager -d # kick off the update manager to migrate to new release when available |
| * */10 * * * /usr/bin/xscreensaver-command --deactivate >/dev/null
| | Or just call the script that does the same thing: |
| | upgrade_ubuntu |
| | I'm currently migrating everything to 16.04 Xenial Xerus. |
| |} | | |} |
| {| class="mw-collapsible mw-collapsed wikitable" | | {| class="mw-collapsible mw-collapsed wikitable" |
| ! linux software raid [mdraid] | | ! Test your drives - DO THIS OFTEN |
| |- | | |- |
| | mdraid has not received the polish it needs to Just Work. It has serious flaws that after hours of learning, still leave you unsure and hanging and most likely bailing out of the entire process. But it is the best thing we have on the planet, so let’s distill it down to the essentials. | | | Look at available tests: |
| * check S.M.A.R.T. data of drives – run tests and make sure they are completely healthy!
| | smartctl -c /dev/sdf # to peek at available tests and how long they typically take to run |
| * clean raid drives of superblock and partition data
| | Short test: |
| mdadm --misc --zero-superblock /dev/sdd && dd if=/dev/zero of=/dev/sdd bs=1M count=100 && mdadm --examine /dev/sdd
| | smartctl -t short /dev/sdf |
| mdadm: No md superblock detected on /dev/sdd.
| | watch -n 3 smartctl -l selftest /dev/sdf # you won't see anything until it finishes, takes about 1 minute |
| * use whole drives (not drive partitions) in a newly created raid
| | Long test: |
| mdadm --create --verbose /dev/md0 --level=mirror --raid-devices=2 /dev/sdd /dev/sde
| | smartctl -t long /dev/sdf |
| mdadm: size set to 3906887488K
| | watch -n 3 smartctl -l selftest /dev/sdf # takes about 5 minutes |
| mdadm: automatically enabling write-intent bitmap on large array
| |
| Continue creating array? yes
| |
| mdadm: Defaulting to version 1.2 metadata
| |
| mdadm: array /dev/md0 started.
| |
| watch -n 1 cat /proc/mdstat
| |
| # wait 400 FUCKING MINUTES for a GODDAMNED EMPTY 4TB DRIVE to sync with ANOTHER empty 4TB drive, FUCKSAKE
| |
| # IF YOU REBOOT BEFORE THAT, IT WILL BE AS IF YOU NEVER SET UP A RAID
| |
| * save and reboot and make sure the mdraid service restores the raid
| |
| mdadm --detail --scan >>/etc/mdadm.conf
| |
| rc-update add mdraid boot
| |
| # start then stop then start the /etc/init.d/mdraid service, make sure this works to restore your raid (check /proc/mdstat)
| |
| # format /dev/md0 as ext4 and set up an auto mount point in /etc/fstab
| |
| # reboot and pray
| |
| * hopefully much later, upon failure, to restore a single drive, set it up as a raid:
| |
| madadm -A /dev/sdd # I THINK! it's all very iffy. Which SUCKS.
| |
| |} | | |} |
| {| class="mw-collapsible mw-collapsed wikitable" | | {| class="mw-collapsible mw-collapsed wikitable" |
| ! Adding a new drive (with testing) | | ! Increase max open file handles |
| |- | | |- |
| | To add a new drive: | | | I do it here: |
| # ls /dev/sd* # and make note of what you have
| | ~/development/config/common/etc/sysctl.d/20_MDM_sysctl.conf |
| # stuff the new drive in the SATA tower or plug it into a SATA socket
| | That basically sets the user max when I do my stow thing. Alternatively, you can set it directly in |
| # ls /dev/sd* # you should now see something new, like [/dev/sdf]
| | /etc/sysctl.conf |
| # or do: cat /var/log/messages|grep sd # to see what it used
| | |} |
| # EITHER: parted /dev/sdf
| | {| class="mw-collapsible mw-collapsed wikitable" |
| ## print # should show nothing or errors
| | ! Mount an IMG file |
| ## mklabel gpt # this sets the drive up for "big" >2TGB partition labeling - WARNING: TRASHES EVERYTHING ON THE DRIVE
| | |- |
| ## mkpart primary ext4 0 -1s # makes an ext4 primary partition that goes from start (0) to end (-1s), yay
| | | You have to peek at the file with fdisk: |
| ## quit # yeah weird but that's how you exit, things are changed as you go (oops should have told you that before)
| | fdisk -lu /home/m/bitpost/download/torrents/OpenELEC-Generic.x86_64-5.0.8-efi.img |
| # OR USE: gpart /dev/sdg # a bit cleaner than parted it seems, either works
| | From that you can tell the "units" and "Start" offsets: |
| ## n
| | Device Start End Sectors Size Type |
| ## (use defaults, including 8300 for linux file type)
| | /home/m/bitpost/download/torrents/OpenELEC-Generic.x86_64-5.0.8-efi.img1 2048 526336 524289 256M Microsoft basic data |
| ## w
| | /home/m/bitpost/download/torrents/OpenELEC-Generic.x86_64-5.0.8-efi.img2 528384 593920 65537 32M Linux filesystem |
| # mkfs.ext4 -m 0 /dev/sdf1 # the [-m 0] is very important; without it, goofy ext4 wastes 5% "saved for root" wtf
| | From there you can mount with a little math. Multiply the units by Start to get offset (512x2048=1048576), and use it to mount that partition: |
| # mount /dev/sdf1 /somewhere # make sure it looks good!
| | mount -t auto -o loop,offset=1048576 /home/m/bitpost/download/torrents/OpenELEC-Generic.x86_64-5.0.8-efi.img /media/m/iso |
| # install smartctl tools | | aifol |
| smartctl -c /dev/sdf # to peek at available tests and how long they typically take to run | |
| smartctl -t short /dev/sdf | |
| watch -n 3 smartctl -l selftest /dev/sdf # until success, takes about 1 minute
| |
| # if you're feeling ambitious, rerun with [-t long]
| |
| # umount # we are NOT going to be manually mounting! we need to label the drive and put it in /etc/fstab
| |
| # e2label /dev/sdb1 box-type-sizename # what a stupid f'in name for that util
| |
| # emacs /etc/fstab - and put in an entry like this:
| |
| /dev/disk/by-label/box-type-sizename /my-mount-location ext4 noatime 0 2 | |
| # mount /my-mount-location # now it will be there when you reboot! but do this to get it NOW :-)
| |
| # Note that if you mount the new drive under /spiceflow, samba will already be serving it up, whoop!
| |
| |} | | |} |
| {| class="mw-collapsible mw-collapsed wikitable" | | {| class="mw-collapsible mw-collapsed wikitable" |
| ! Adding a user to the server | | ! Chroot into gentoo from (say) ubuntu |
| |- | | |- |
| | | | | |
| su - | | # These may already be done |
| useradd #newuser# -m -G wheel(,etc) | | mount /mnt/gentoo |
| | cp -L /etc/resolv.conf /mnt/gentoo/etc/ |
| | | |
| # Other possibilities (likely not needed): | | mount -t proc none /mnt/gentoo/proc |
| ## only needed if you want them to have their own group (otherwise use "users" group) | | mount --rbind /dev /mnt/gentoo/dev |
| #groupadd #newuser#
| | chroot /mnt/gentoo /bin/bash |
| ## the additional groups here are optional
| |
| #useradd #newuser# -m -g #newuser# -G users,wheel,audio,video,games,dvd,usb -s /bin/bash
| |
| ## Only needed if you didn't use [-m] option
| |
| #mkdir /home/#newuser# | |
| #chown #newuser#:users /home/#newuser#
| |
| | | |
| passwd #newuser# | | # ** NOW IN CHROOT ** |
| | env-update |
| | source /etc/profile |
| | export PS1="(chroot) $PS1" |
| | | |
| # grant ssh access by adding to "AllowUsers" | | # GET TO IT! :-) |
| em /etc/ssh/sshd_config
| |
| /etc/init.d/sshd restart
| |
|
| |
| # grant samba access to home folder
| |
| # it's already set up in /etc/samba/smb.conf
| |
| # but the user must be manually added to samba
| |
| # use same pwd as before to sync them
| |
| smbpasswd -a #newuser#
| |
| /etc/init.d/samba restart
| |
|
| |
| # YOU PROBABLY HAVE TO RESTART ANY STUPID WINDOWS BOX before it will see things correctly! crazy
| |
| # you can try this in Windows but it didn't work for me:
| |
| # net use
| |
| # net session \\samba.server.ip.address /delete
| |
| |} | | |} |
| {| class="mw-collapsible mw-collapsed wikitable" | | {| class="mw-collapsible mw-collapsed wikitable" |
| ! Check disk speed | | ! Windows symbolic links |
| |- | | |- |
| | To check SATA capability: | | | Windows symlinks - needed for config files, svn overlay, etc. |
| bitpost ~ # hdparm -I /dev/disk/by-label/reservoir-3g-mel |grep -i speed | | |
| * Gen1 signaling speed (1.5Gb/s)
| | I'm setting up hard links from sublime install folder to shared config settings: |
| * Gen2 signaling speed (3.0Gb/s)
| | mklink [/H /D /J] link_path Target_file/folder_path |
| * Gen3 signaling speed (6.0Gb/s)
| | We had to use a soft link, hard won't go across drives. And you have to run the cmd window as admin. Don't specify type, and it will create a soft file link: |
| To test read speed:
| | mklink "C:\Users\Michael\AppData\Roaming\Sublime Text 3\Packages\User\Default (Windows).sublime-keymap" "D:\Michael's Data\development\config\common\home\m\.config\sublime-text-3\Packages\User\Default (Windows).sublime-keymap" |
| bitpost ~ # hdparm -tT /dev/disk/by-label/reservoir-3g-mel
| | mklink "C:\Users\Michael\AppData\Roaming\Sublime Text 3\Packages\User\Preferences.sublime-settings" "D:\Michael's Data\development\config\common\home\m\.config\sublime-text-3\Packages\User\Preferences.sublime-settings" |
| | | Here is another example, setting up a link in an SVN repo folder to point to a git-controlled folder on another drive. SVN is OK with this, cool. |
| /dev/disk/by-label/reservoir-3g-mel:
| | (open ADMIN cmd prompt) |
| Timing cached reads: 33760 MB in 2.00 seconds = 16900.70 MB/sec
| | cd C:\CODE\QA\ContinuousIntegration\Trunk |
| Timing buffered disk reads: 274 MB in 3.00 seconds = 91.28 MB/sec
| | mklink /J scripts "D:\Michael's Data\development\power_analytics\scripts" |
| You can use dd to check speed, too:
| | Junction created for scripts <<===>> D:\Michael's Data\development\power_analytics\scripts |
| dd conv=fdatasync if=/dev/zero of=/spiceflow/newraid-4tb-bp/dd_test_output.dat bs=8k count=256k | |
| =256k
| |
| 262144+0 records in
| |
| 262144+0 records out
| |
| 2147483648 bytes (2.1 GB) copied, 4.57219 s, 470 MB/s
| |
| # don't forget to clean up..
| |
| rm /spiceflow/newraid-4tb-bp/dd_test_output.dat
| |
| |} | | |} |
| {| class="mw-collapsible mw-collapsed wikitable" | | {| class="mw-collapsible mw-collapsed wikitable" |
| ! Back up a linux system to a second bootable drive | | ! Windows route traffic to avoid VPN |
| |- | | |- |
| | Steps: | | | You can use "route" to assign paths to specific traffic. |
| # We want to copy all files from the root drive to a new drive.
| | So bitpost.com requests go through eth0 instead of VPN, eg... |
| # We also want to update the boot menu to boot off the new drive.
| | C:\WINDOWS\system32>route add 174.109.14.112 192.168.50.1 |
| # We also want to change /etc/fstab on the second drive to use the new root path.
| | Note that you can do this with [route] in linux too, syntax is a bit diff. |
| | |
| These are the steps for backup of the dune box to the /spiceflow/2.0tb-newmovies/ drive.
| |
| When we're done, we'll boot from that drive to prove we have a working standby system.
| |
| | |
| rsync does an excellent job of copying just what we need. Test it with this:
| |
| # a (archive mode -rlptgoD) v (verbose) x (don't cross filesystems) h (human-readable) n (dry run)
| |
| rsync -avxhn --progress / /spiceflow/2.0tb-newmovies/
| |
| Do the job with this:
| |
| rsync -avxh / /spiceflow/2.0tb-newmovies/
| |
|
| |
| sent 28.10G bytes received 8.64M bytes 15.63M bytes/sec
| |
| total size is 39.57G speedup is 1.41
| |
| There was def some old stuff in there worth cleaning up:
| |
| /home/m/development/svn/mythtv...
| |
| /var/tmp
| |
| xbmc log files
| |
| etc
| |
| Next we fix /etc/fstab on the new drive to use the drive as root. Original config:
| |
| /dev/disk/by-label/d-g2-root / ext3 noatime 0 1
| |
| /dev/disk/by-label/d-sp-20newmovies /spiceflow/2.0tb-newmovies ext4 noatime 0 2
| |
| New config (remember tho, we lose the 2gb drive):
| |
| /dev/disk/by-label/d-g2-root /root-hot-drive ext3 noatime 0 1
| |
| /dev/disk/by-label/d-sp-20newmovies / ext4 noatime 0 2
| |
| Note: this never worked out for me due to my system's mix of ext3 and ext4. | |
| I'll retry once I migrate everything to ext4.
| |
| Next, grub:
| |
| mount /boot
| |
| em /boot/grub/menu.lst
| |
| Orig entry:
| |
| title ----- linux-2.6.34-gentoo-r11_withext4
| |
| root (hd0,0)
| |
| kernel /boot/linux-2.6.34-gentoo-r11_withext4 root=/dev/sda4
| |
| Add a new "standby" entry under it - do a "df" to find the root:
| |
| title ----- ==STANDBY== linux-2.6.34-gentoo-r11_withext4
| |
| root (hd0,0)
| |
| kernel /boot/linux-2.6.34-gentoo-r11_withext4 root=/dev/hda1
| |
| Then reboot to standby and see what we have... (no "latest" video library etc., but otherwise the same?)
| |
| |} | | |} |
| {| class="mw-collapsible mw-collapsed wikitable" | | {| class="mw-collapsible mw-collapsed wikitable" |
| ! Mount an IMG file | | ! Windows command prompt FULL SCREEN |
| |- | | |- |
| | You have to peek at the file with fdisk: | | |Type cmd in start search box and right-click on the cmd shortcut which appears in the results. Select Run CMD as administrator. |
| fdisk -lu /home/m/bitpost/download/torrents/OpenELEC-Generic.x86_64-5.0.8-efi.img
| | Next, in the command prompt, type wmic and hit Enter. |
| From that you can tell the "units" and "Start" offsets:
| | Now try to maximize it! |
| Device Start End Sectors Size Type
| | Close it and again open it. It will open as a maximized window! |
| /home/m/bitpost/download/torrents/OpenELEC-Generic.x86_64-5.0.8-efi.img1 2048 526336 524289 256M Microsoft basic data
| | You may have to ensure that the Quick Edit Mode in the Options tab is checked. |
| /home/m/bitpost/download/torrents/OpenELEC-Generic.x86_64-5.0.8-efi.img2 528384 593920 65537 32M Linux filesystem
| |
| From there you can mount with a little math. Multiply the units by Start to get offset (512x2048=1048576), and use it to mount that partition:
| |
| mount -t auto -o loop,offset=1048576 /home/m/bitpost/download/torrents/OpenELEC-Generic.x86_64-5.0.8-efi.img /media/m/iso
| |
| aifol
| |
| |} | | |} |
| |} | | |} |
| | <!-- |
| | |
| | |
| | =========================================================================================================================================================================================================================================================================================== |
| | |
| | |
| | --> |
| | === Boxes === |
| | [[Bitpost]] - [[Melange]] - [[Cast]] - [[Bluto]] - [[Cobra]] - [[Case]] - [[Viper]] - [[Wimpy]] |
| | |
| | === Melange VMs === |
| | [[AbtDev1]] - [[Positronic]] - [[Morosoph]] - [[Glam]] - [[Hive]] - [[Bandit]] - [[Matryoshka]] - [[Hoard]] - [[Tornados]] - [[Matcha]] - [[Windozer]] |
| | |
| | === Devices and Hardware === |
| | |
| | [[My server rack]] |
| | |
| | Cable Modem - [https://www.sony.com/electronics/support/televisions-projectors-lcd-tvs/xbr-65x800b/specifications Sony 65" TV] - [https://www.tcl.com/us/en/products/home-theater/p-series/tcl-55-class-p-series-4k-uhd-hdr-roku-smart-tv-55p605 TCL 55' TV] - [https://www.asus.com/us/Networking/RT-ACRH13/ProductPrint/ ASUS router] |
| | |
| | IOTs: [[lime]] - [[carambola]] - [[Arduino]] |
| | |
| | [[Flash Drives]] - [[Stadia controller]] - [[Logitech F710 Controller]] |
| | |
| | [[Aeron chair]] - [[Jetson Electric Bike]] |
| | |
| | === Third Party Services === |
| | [[Cloudflare]] | [[LetsEncrypt]] | [[Sendgrid]] |
| | |
| <!-- | | <!-- |
|
| |
|
Line 346: |
Line 183: |
| --> | | --> |
| {| class="mw-collapsible mw-collapsed wikitable" | | {| class="mw-collapsible mw-collapsed wikitable" |
| ! Ubuntu | | ! Hardware notes |
| |- | | |- |
| | | | | |
| {| class="mw-collapsible mw-collapsed wikitable" | | {| class="mw-collapsible mw-collapsed wikitable" |
| ! Ubuntu 15.04 setup | | ! NO TEARING on Sony driven by nvidia (currently, case) |
| | |- |
| | |It's not really about Kodi settings, you have to set up nvidia settings, and they are HARD to get to stick because it's "automatic" but broken. |
| | * Ensure nvidia-settings is set to 4k at 60fps refresh rate - YOU HAVE TO DO THIS ON EVERY REBOOT until we set up an xorg.conf FML |
| | * Ensure Kodi has "sync video to display" turned ON |
| | |} |
| | {| class="mw-collapsible mw-collapsed wikitable" |
| | ! Copy from linux nautilus to android "Operation unsupported" |
| |- | | |- |
| | Throw Ubuntu on a USB stick following ubuntu instructions. | | | Weird assed linux prevents "SMB to USB" copies, FUCKOFF. Workaround is to copy to local drive, then copy to phone. Wow that is sickening. |
| Reboot, select to boot the thumb in BIOS, install, checking the [download as you go] and [install 3rd party stuff] boxes.
| | |} |
| Things to install ASAP:
| | |} |
| * (everything, then see more detailed notes, below)
| | <!-- |
| sudo apt-get install i3 i3lock i3status suckless-tools dunst openssh-server cifs-utils smbclient synergy arandr ubuntu-restricted-extras exfat-fuse exfat-utils hfsprogs acpi gparted chromium-browser p7zip-full k4dirstat screen urxvt grdesktop
| | |
|
| |
|
| * if ubuntu forced grub as the boot manager, download the refind zip file, unpack, and (re)run ./install.sh.
| | =========================================================================================================================================================================================================================================================================================== |
| * install i3
| |
| ** EITHER install i3 and i3 meta package through ubuntu: sudo software-center # then install i3 and i3 meta package
| |
| ** OR do it yourself: sudo apt-get install i3 i3lock i3status suckless-tools dunst
| |
| ** in .i3/config, set up nm-applet to run on login: exec --no-startup-id nm-applet
| |
| ** in .i3/config, set up synergy to run on login: exec --no-startup-id synergy
| |
| ** gsettings set org.gnome.desktop.background show-desktop-icons false # this disables the gnome desktop from opening when you run nautilus
| |
| ** then logout from unity and log back in to i3
| |
| ** sudo apt-get install urxvt # for a terminal that we can control (float, set geometry) with i3
| |
| * nvidia drivers
| |
| ** open unity-control-panel AS ROOT: sudo unity-control-panel
| |
| ** select Sofware and Updates
| |
| ** select Additional Drivers tab, click nvidia (and Intel mobo, etc as needed) proprietary driver, Apply
| |
| * set up ssh
| |
| sudo apt-get install openssh-server # default is ok but see /etc/ssh/sshd_config for details
| |
| cd ~m/.ssh
| |
| scp m@bitpost.com:/home/m/.ssh/id_rsa_3072_nopswd .
| |
| ln -s id_rsa_3072_nopswd id_rsa
| |
| * as root, create /root/samba_credentials (copy it from another machine)
| |
| * set up scripts repo
| |
| git clone ssh://bitpost.com/home/m/development/scripts
| |
| cd && ln -s development/scripts scripts
| |
| mkdir scripts/ubuntu/[new machine]
| |
| * set up config repo (remember we need files in git and symlinks to them from the system, YES THIS SUCKS, GIT!)
| |
| verify_ubuntu_config_symlinks # we need to turn ALL THESE into SYMLINKS
| |
| mkdir development && cd development
| |
| git clone ssh://bitpost.com/home/m/development/config
| |
| cd config
| |
| # DO ALL THE FOLLOWING AT ONCE or your system will be fubar
| |
| cp -r -p [wallee or whatever]/ubuntu [new machine]/ # be careful, this will need pruning/updating NOW
| |
| cd && ln -s /home/m/development/config/[new machine]/ubuntu config
| |
| cd && ln -s development/config/[new machine]/ubuntu/home/m/.bashrc .bashrc
| |
| subl .bashrc # update PATH to include custom scripts folder in path
| |
| cd .i3 && mv config config.backup && ln -s /home/m/development/config/common/home/m/.i3/config config # and press Mod+Shift+C to reload
| |
| cd .gconf/apps/gnome-terminal/profiles/Default && mv %gconf.xml %gconf.xml.backup && ln -s /home/m/development/config/common/home/m/.gconf/apps/gnome-terminal/profiles/Default/%gconf.xml %gconf.xml
| |
| # fix up fstab as/if needed
| |
| su -
| |
| cd /etc
| |
| mv fstab /home/m/config/etc/fstab
| |
| ln -s fstab /home/m/config/etc/fstab
| |
| diff /etc/hosts /home/m/config/etc/hosts (most important: make sure correct hostname is being used)
| |
| mv hosts /home/m/config/etc/hosts
| |
| ln -s hosts /home/m/config/etc/hosts
| |
| verify_ubuntu_config_symlinks # ALL THESE should now be SYMLINKS
| |
| * sudo apt-get install cifs-utils smbclient # and create /root/samba_credentials and all the samba /etc/fstab entries
| |
| * sudo apt-get install synergy # and configure it
| |
| * sudo apt-get install arandr # run to turn a monitor back on if it gets turned off during power cycling
| |
| * sudo apt-get install ubuntu-restricted-extras # for mp3s in firefox, etc.
| |
| * sudo apt-get install exfat-fuse exfat-utils # for access to modern exfat thumb drives (>4gb files)
| |
| * sudo apt-get install hfsprogs # if you want to access osx volumes
| |
| * sudo apt-get install acpi # for power management, so we can check battery level on laptop!
| |
| * sudo apt-get install gparted chromium-browser p7zip-full k4dirstat screen # more good tools
| |
| * sudo apt-get install grdesktop # remote desktop to windoze
| |
|
| |
|
| * # download steam .deb file, [sudo software-center ~m/Downloads/.....deb]
| |
| * # set up firefox sync, make sure adblock is installed, etc.
| |
| * from a running terminal, set scrollback buffer to unlimited: Edit -> Profile Preferences -> Scrolling
| |
|
| |
|
| '''Development setup'''
| | --> |
| * # install android studio manually from zips into development folder
| | {| class="mw-collapsible mw-collapsed wikitable" |
| * install eclipse
| | ! Old notes and dead boxes |
| ** use the eclipse installer to install into development/eclipse folder (be careful not to install to eclipse/eclipse, if so just move and fix eclipse.ini)
| | |- |
| ** put ~m/development/eclipse/eclipse.ini into config
| | | |
| ** run eclipse and create ~m/development/eclipse-workspace and select as default
| |
| ** use shared eclipse settings, to avoid problems like [http://stackoverflow.com/questions/13893942/eclipse-c-formatter-puts-new-line-before-method-identifiers this].
| |
| ** see [[Development reference]] for Eclipse installation specifics
| |
| * # unzip latest boost into development folder
| |
| ** # m@wimpy:~/development/boost_1_57_0$ ./bootstrap.sh
| |
| ** # m@wimpy:~/development/boost_1_57_0$ ./b2 install --prefix=/home/m/development/boost_1_57_0
| |
| ** add to .bashrc: export CPPFLAGS=-I/home/m/development/boost_1_57_0/include
| |
| ** add to .bashrc: export LDFLAGS=-L/home/m/development/boost_1_57_0/lib
| |
| ** add to .bashrc: export LD_LIBRARY_PATH="/home/m/development/boost_1_57_0/lib/" # to find libs at runtime
| |
| * (everything)
| |
| sudo apt-get install emacs build-essential automake libtool libssl-dev libbz2-dev python-dev curl libcurl4-openssl-dev php5-common php5-curl php5-cli php5-json php5-readline kdiff3 sqlite3 sqlitebrowser
| |
| * (or individually...)
| |
| * sudo apt-get install emacs
| |
| * sudo apt-get install build-essential automake libtool # for automake - build-essential may be there already
| |
| * sudo apt-get install libssl-dev # to get autotools "-lssl" to work
| |
| * sudo apt-get install libbz2-dev python-dev # used by boost
| |
| * sudo apt-get install curl libcurl4-openssl-dev php5-common php5-curl php5-cli php5-json php5-readline # for php with curl (for etrade PHP SDK etc)
| |
| * sudo apt-get install kdiff3 # will pull in a shit-ton of kde deps, i guess that's good
| |
| * sudo apt-get install sqlite3 sqlitebrowser
| |
| * sublime editor, WAY better than anything else out there on linux:
| |
| ** sudo add-apt-repository ppa:webupd8team/sublime-text-3
| |
| ** sudo apt-get update
| |
| ** sudo apt-get install sublime-text-installer
| |
| ** git config --global core.editor "subl -n -w" # to use sublime with -n(ew window) and -w(ait for exit)
| |
| * install Node.js using the "Node.js Version Manager" nvm [https://www.digitalocean.com/community/tutorials/how-to-install-node-js-on-an-ubuntu-14-04-server details]
| |
| ** find the [https://github.com/creationix/nvm/releases latest nvm version]
| |
| ** curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.29.0/install.sh | bash
| |
| ** source ~/.profile
| |
| ** nvm ls-remote
| |
| ** nvm install 4.2.1
| |
| ** npm install -g express # to set the package manager to use a globally shared location
| |
| *** also: nvm use 4.2.1; node -v; nvm ls; nvm alias default 0.11.13; nvm use default
| |
| *** also: You can create an .nvmrc file containing version number in the project root
| |
| directory and it will default to that version
| |
| * install boost
| |
| ** download the libraries to ~m/development/boost_1_59_0 (eg)
| |
| * install Oracle JDK 8 (9 is scheduled for release in 2016)
| |
| ** sudo add-apt-repository ppa:webupd8team/java
| |
| ** sudo apt-get update
| |
| ** sudo apt-get install oracle-java8-installer
| |
| ** sudo apt-get install oracle-java8-set-default
| |
| ** update-alternatives --config java # make note of path
| |
| ** update-alternatives --config javac # make note of path
| |
| ** sudo subl /etc/environment
| |
| JAVA_HOME="/usr/lib/jvm/java-8-oracle/jre/bin/java" # actually, use the path from above, of course
| |
| * now you can add to the Java stack as needed: play, sbt, activator...
| |
| * run setup_for_dev.node.js to pull down all active dev repos (in progress)
| |
| |} | |
| {| class="mw-collapsible mw-collapsed wikitable" | | {| class="mw-collapsible mw-collapsed wikitable" |
| ! Ubuntu i3 keybinding favs | | ! Oontz turn on dual pairing |
| |- | | |- |
| | See config/wimpy/home/m/.i3/config - clone it! TODO move to common | | | Turn them both on. One should be paired with your phone, the other should be flashing blue, trying to connect. |
| | |
| | On the Play Control Speaker (speaker with solid Blue Light) press and hold down the Play/Pause button for 5 seconds until the flashing White Light appears and the speaker says “Dual Pairing”. - The Play Control Speaker will then connect to the second speaker. |
| | |
| | There is NO WAY you can guess this. You'll be back here to re-learn... |
| |} | | |} |
| {| class="mw-collapsible mw-collapsed wikitable" | | {| class="mw-collapsible mw-collapsed wikitable" |
Line 509: |
Line 254: |
| |} | | |} |
| {| class="mw-collapsible mw-collapsed wikitable" | | {| class="mw-collapsible mw-collapsed wikitable" |
| ! Ubuntu repo management | | ! Fix things after IP changes |
| |- | | |- |
| | To see what repos Ubuntu is currently using: | | | Time Warner seems to keep giving the same IP back to my main linux router/server, as long as the NIC card doesn't change. It also happened when they upgraded my service (and started labeling my IP as dynamic to SpamHaus, fuckers...). |
|
| | |
| cat /etc/apt/sources.list | | If it changes, fix these things: |
| | * Update the IP at 1and1.com for ALL domains, bleh... |
| | * mod evasive has a whitelist, it needs the actual IP, bleh... |
| | -rw-r--r-- 1 m m 1.1K Mar 28 22:13 /home/m/config/etc/apache2/modules.d/10_mod_evasive.conf |
| | * reset cable modem (see specific steps) |
| |} | | |} |
| {| class="mw-collapsible mw-collapsed wikitable" | | {| class="mw-collapsible mw-collapsed wikitable" |
| ! Ubuntu upgrade from command line | | ! Reset 1020 cable modem so it grants a real IP address (not private) |
| |- | | |- |
| | To update ubuntu from an i3 terminal: | | | Resetting things sometimes has to be done in this precise order: |
| sudo apt-get update # Fetches the list of available updates
| | * cable modem -> blue cable -> **ONBOARD** bitpost NIC |
| sudo apt-get upgrade # Strictly upgrades the current package
| | * LAN switch -> yellow cable -> **ADDON CARD** bitpost NIC |
| sudo apt-get dist-upgrade # Installs updates (new ones)
| | * power off bitpost and cable modem |
| | * power up cable modem |
| | * wait 5 minutes |
| | * power up bitpost |
| | * verify that you can ping google.com, LAN works, etc. |
| |} | | |} |
| {| class="mw-collapsible mw-collapsed wikitable" | | {| class="mw-collapsible mw-collapsed wikitable" |
| ! Ubuntu synaptic driver (Macbook Pro trackpad) | | ! BOX: bitpost |
| |- | | |- |
| | | | |[[Update gentoo kernel]] |
| * use synclient to determine what works best
| |
| su -
| |
| synclient -l # lists all params
| |
| synclient PalmDetect=1 # temporarily change settings
| |
| * save what you like, here:
| |
| root@wallee:~# emacs /etc/X11/xorg.conf.d/60-synaptics.conf
| |
| |}
| |
| |}
| |
| <!--
| |
| | |
| | |
| ===========================================================================================================================================================================================================================================================================================
| |
| | |
| | |
| -->
| |
| {| class="mw-collapsible mw-collapsed wikitable" | | {| class="mw-collapsible mw-collapsed wikitable" |
| ! OpenELEC | | ! drives |
| |- | | |- |
| | | | | My primary server at Blount St |
| {| class="mw-collapsible mw-collapsed wikitable"
| |
| ! OpenELEC multi-boot install
| |
| |-
| |
| | The easiest way is to add a new drive just for OpenElec and install OpenElec to it with the installer. But if you want to SHARE ONE DRIVE with other boots, DO NOT DO THAT :-) Do this instead:
| |
| * On an existing refind-booted system, set up two new ext4 partitions
| |
| ** one about 2GB in size, labeled [SYSTEM], and marked as bootable
| |
| ** the other with 10GB or more, labeled [STORAGE]
| |
| ** [http://wiki.openelec.tv/index.php/Manual_Installation prep the drives] (no journal, ssd trim)
| |
| * download openelec and mount; there are a couple ways:
| |
| ** get the img and install to a thumb
| |
| ** get the img and mount (see below)
| |
| * Set up OE drives to mount in other OSes to /openelec-system and /openelec-storage
| |
| /dev/disk/by-label/SYSTEM /openelec-system ext4 noatime 0 0
| |
| /dev/disk/by-label/STORAGE /openelec-storage ext4 noatime 0 0
| |
| * copy target/KERNEL and target/SYSTEM to SYSTEM
| |
| cp OpenELEC_img/target/KERNEL /openelec-system/
| |
| cp OpenELEC_img/target/SYSTEM /openelec-system/
| |
| * set up UEFI boot
| |
| ** subl /boot/efi/EFI/refind/refind.conf (and add this block)
| |
| # MDM Trying this, from: http://openelec.tv/forum/64-installation/70783-how-to-efi-booting-openelec-on-new-pc-s-nuc-s
| |
| # Only I had to change BOOT to SYSTEM. and quiet to debugging.
| |
| menuentry OpenELEC {
| |
| icon EFI/refind/icons/os_openelec.png
| |
| volume SYSTEM
| |
| ostype Linux
| |
| loader KERNEL
| |
| # options "boot=LABEL=SYSTEM disk=LABEL=STORAGE debugging"
| |
| options "boot=LABEL=SYSTEM disk=LABEL=STORAGE quiet"
| |
| }
| |
| * I THINK you need one or more of these too, not sure!
| |
| cp target/boot/bootx64.efi /openelec-system/BOOT
| |
| cp target/boot/bootx64.efi /boot/efi/EFI/ubuntu/
| |
| cp target/boot/bootx64.efi /boot/efi/EFI/ubuntu/
| |
| |}
| |
| {| class="mw-collapsible mw-collapsed wikitable"
| |
| ! OpenELEC boot from thumb
| |
| |-
| |
| | NOTE: I have the image already on a white stick with red lettering... anyway...
| |
| * Get the latest dev version (stable didn't work for me although this may change)
| |
| * [http://wiki.openelec.tv/index.php/HOW-TO:Installing_OpenELEC/Creating_The_Install_Key dd it onto a thumb]
| |
| * reboot and select to boot to the thumb in BIOS
| |
| * when the boot: line comes up, type "live" to get run a live Kodi rather than run the crufty old installer
| |
| |}
| |
| |}
| |
| <!--
| |
| | |
| | |
| ===========================================================================================================================================================================================================================================================================================
| |
| | |
|
| |
|
| -->
| | bitpost ~ # df |
| {| class="mw-collapsible mw-collapsed wikitable"
| | Filesystem 1G-blocks Used Available Use% Mounted on |
| ! gentoo
| | /dev/sda7 171G 143G 19G 89% / |
| |-
| | /dev/sdb1 3668G 3343G 326G 92% /spiceflow/tvmind-4g-mel |
| |
| | /dev/sdc1 5545G 3585G 1681G 69% /spiceflow/film-6tb-bp |
| {| class="mw-collapsible mw-collapsed wikitable"
| | /dev/md0 3668G 1578G 1904G 46% /spiceflow/softraid |
| ! Chroot into gentoo from (say) ubuntu
| | (^sdd+sde) |
| |-
| | /dev/sdf1 3667G 1G 3667G 1% /spiceflow/hare-s3-4t |
| |
| |
| # These may already be done | |
| mount /mnt/gentoo | |
| cp -L /etc/resolv.conf /mnt/gentoo/etc/
| |
|
| |
| mount -t proc none /mnt/gentoo/proc | |
| mount --rbind /dev /mnt/gentoo/dev
| |
| chroot /mnt/gentoo /bin/bash
| |
| | | |
| # ** NOW IN CHROOT ** | | bitpost ~ # lsblk |
| env-update | | NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT |
| source /etc/profile | | sda 8:0 0 232.9G 0 disk |
| export PS1="(chroot) $PS1" | | ├─sda1 8:1 0 190M 0 part |
| | | ├─sda5 8:5 0 3.8G 0 part [SWAP] |
| # GET TO IT! :-) | | ├─sda6 8:6 0 55.9G 0 part |
| |}
| | └─sda7 8:7 0 173G 0 part / |
| |}
| | sdb 8:16 0 3.7T 0 disk |
| <!--
| | └─sdb1 8:17 0 3.7T 0 part /spiceflow/tvmind-4g-mel |
| | sdc 8:32 0 5.5T 0 disk |
| | └─sdc1 8:33 0 5.5T 0 part /spiceflow/film-6tb-bp |
| | sdd 8:48 0 3.7T 0 disk |
| | └─md0 9:0 0 3.7T 0 raid1 /spiceflow/softraid |
| | sde 8:64 0 3.7T 0 disk |
| | └─md0 9:0 0 3.7T 0 raid1 /spiceflow/softraid |
| | sdf 8:80 0 3.7T 0 disk |
| | └─sdf1 8:81 0 3.7T 0 part /spiceflow/hare-s3-4t |
|
| |
|
| | 2019/06/01 spicey-3g died just as its replacement arrived, cest la vie. lost a bit of everything, move on. replaced with hare-s3-4t: |
|
| |
|
| ===========================================================================================================================================================================================================================================================================================
| | Jun 2 17:40:54 bitpost kernel: ata8: hard resetting link |
| | Jun 2 17:40:55 bitpost kernel: ata8: SATA link up 6.0 Gbps (SStatus 133 SControl 300) |
| | Jun 2 17:40:55 bitpost kernel: ata8.00: supports DRM functions and may not be fully accessible |
| | Jun 2 17:40:55 bitpost kernel: ata8.00: ATA-11: Samsung SSD 860 QVO 4TB, RVQ01B6Q, max UDMA/133 |
| | Jun 2 17:40:55 bitpost kernel: ata8.00: 7814037168 sectors, multi 1: LBA48 NCQ (depth 31/32), AA |
| | Jun 2 17:40:55 bitpost kernel: ata8.00: supports DRM functions and may not be fully accessible |
| | Jun 2 17:40:55 bitpost kernel: ata8.00: configured for UDMA/133 |
| | Jun 2 17:40:55 bitpost kernel: ata8: EH complete |
| | Jun 2 17:40:55 bitpost kernel: scsi 7:0:0:0: Direct-Access ATA Samsung SSD 860 1B6Q PQ: 0 ANSI: 5 |
| | Jun 2 17:40:55 bitpost kernel: ata8.00: Enabling discard_zeroes_data |
| | Jun 2 17:40:55 bitpost kernel: sd 7:0:0:0: Attached scsi generic sg5 type 0 |
| | Jun 2 17:40:55 bitpost kernel: sd 7:0:0:0: [sdf] 7814037168 512-byte logical blocks: (4.00 TB/3.64 TiB) |
| | Jun 2 17:40:55 bitpost kernel: sd 7:0:0:0: [sdf] Write Protect is off |
| | Jun 2 17:40:55 bitpost kernel: sd 7:0:0:0: [sdf] Mode Sense: 00 3a 00 00 |
| | Jun 2 17:40:55 bitpost kernel: sd 7:0:0:0: [sdf] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA |
| | Jun 2 17:40:55 bitpost kernel: ata8.00: Enabling discard_zeroes_data |
| | Jun 2 17:40:55 bitpost kernel: ata8.00: Enabling discard_zeroes_data |
| | Jun 2 17:40:55 bitpost kernel: sd 7:0:0:0: [sdf] Attached SCSI disk |
|
| |
|
| | | Before, at Peace Street... |
| -->
| |
| {| class="mw-collapsible mw-collapsed wikitable"
| |
| ! Windows
| |
| |-
| |
| |
| |
| {| class="mw-collapsible mw-collapsed wikitable"
| |
| ! Windows 10 new setup
| |
| |-
| |
| |
| |
| * Create sublime symbolic links to preferences, typically here:
| |
| C:\Users\Michael\AppData\Roaming\Sublime Text 3\Packages\User
| |
| * etc.
| |
| |}
| |
| {| class="mw-collapsible mw-collapsed wikitable"
| |
| ! Symbolic links (symlinks - needed for config files, svn overlay)
| |
| |-
| |
| | i'm setting up hard links from sublime install folder to shared config settings:
| |
| mklink [/H /D /J] link_path Target_file/folder_path
| |
| We had to use a soft link, hard won't go across drives. And you have to run the cmd window as admin. Don't specify type, and it will create a soft file link:
| |
| mklink "C:\Users\Michael\AppData\Roaming\Sublime Text 3\Packages\User\Default (Windows).sublime-keymap" "D:\Michael's Data\development\config\common\home\m\.config\sublime-text-3\Packages\User\Default (Windows).sublime-keymap"
| |
| mklink "C:\Users\Michael\AppData\Roaming\Sublime Text 3\Packages\User\Preferences.sublime-settings" "D:\Michael's Data\development\config\common\home\m\.config\sublime-text-3\Packages\User\Preferences.sublime-settings"
| |
| Here is another example, setting up a link in an SVN repo folder to point to a git-controlled folder on another drive. SVN is OK with this, cool.
| |
| (open ADMIN cmd prompt)
| |
| cd C:\CODE\QA\ContinuousIntegration\Trunk
| |
| mklink /J scripts "D:\Michael's Data\development\power_analytics\scripts"
| |
| Junction created for scripts <<===>> D:\Michael's Data\development\power_analytics\scripts
| |
| |}
| |
| {| class="mw-collapsible mw-collapsed wikitable"
| |
| ! Route traffic to avoid VPN
| |
| |-
| |
| | You can use "route" to assign paths to specific traffic.
| |
| So bitpost.com requests go through eth0 instead of VPN, eg...
| |
| C:\WINDOWS\system32>route add 174.109.14.112 192.168.50.1
| |
| Note that you can do this with [route] in linux too, syntax is a bit diff.
| |
| |}
| |
| |}
| |
| <!--
| |
| | |
| | |
| ===========================================================================================================================================================================================================================================================================================
| |
| | |
| | |
| -->
| |
| {| class="mw-collapsible mw-collapsed wikitable"
| |
| ! Boxes
| |
| |-
| |
| |
| |
| {| class="mw-collapsible mw-collapsed wikitable"
| |
| ! BOX: bitpost
| |
| |-
| |
| |
| |
| {| class="mw-collapsible mw-collapsed wikitable"
| |
| ! drives
| |
| |-
| |
| | My primary server at Peace Street
| |
| I had to stuff the goddamned drives right into the case since the rosewill was giving me such shit. | | I had to stuff the goddamned drives right into the case since the rosewill was giving me such shit. |
| In hindsight, it might not have been the rosewill at all... | | In hindsight, it might not have been the rosewill at all... |
Line 757: |
Line 409: |
| ** create a symlink: ln -s .music/Fresh/ELO-Secret\ Messages ELO-Secret\ Messages | | ** create a symlink: ln -s .music/Fresh/ELO-Secret\ Messages ELO-Secret\ Messages |
| ** close the torrent files (ctrl-k), move the destination (ctrl-o), start again (ctrl-s) | | ** close the torrent files (ctrl-k), move the destination (ctrl-o), start again (ctrl-s) |
| |}
| |
| {| class="mw-collapsible mw-collapsed wikitable"
| |
| ! Updating mediawiki installation
| |
| |-
| |
| |
| |
| cd /var/www/localhost/htdocs/mediawiki
| |
| emacs LocalSettings_redirector.php (to hardcode each site)
| |
| php maintenance/update.php
| |
| (repeat for each site)
| |
| emacs LocalSettings_redirector.php (to reset dynamic behavior)
| |
| |} | | |} |
| {| class="mw-collapsible mw-collapsed wikitable" | | {| class="mw-collapsible mw-collapsed wikitable" |
Line 846: |
Line 488: |
| | | | | |
| cat /var/lib/misc/dnsmasq.leases | | cat /var/lib/misc/dnsmasq.leases |
| | |} |
| |} | | |} |
| {| class="mw-collapsible mw-collapsed wikitable" | | {| class="mw-collapsible mw-collapsed wikitable" |
| ! Updating mediawiki installation | | ! BOX: viper |
| |- | | |- |
| | | | | 2016 ASUS Republic of Gaming laptop |
| cd /var/www/localhost/htdocs/mediawiki
| | |
| emacs LocalSettings_redirector.php (to hardcode each site)
| |
| php maintenance/update.php
| |
| (repeat for each site)
| |
| emacs LocalSettings_redirector.php (to reset dynamic behavior)
| |
| |}
| |
| |}
| |
| {| class="mw-collapsible mw-collapsed wikitable" | | {| class="mw-collapsible mw-collapsed wikitable" |
| ! BOX: melange | | ! Boot from USB |
| |- | | |- |
| | My primary dev box | | | I had to flip bios switches: |
| 90% ubuntu for development
| | * Disable secure boot |
| 10% gaming machine, has steam, low end half-height video card that works fine for Risk of Rain etc.
| | * Enable CSM (some compatibility bullshit) |
| It has a mid-range video card, enough to drive 1080p x 2 for development.
| | * Reboot, THEN USB will show in boot options, just hit del to enter bios, go to save page, and select the USB you want to override on next boot. PITA! |
| This used to be the primary Kodi box up until 10/2015, should still be current.
| | |} |
| It has the same high-end i5 or i7 of other 2015 boxes, fast.
| |
| {| class="mw-collapsible mw-collapsed wikitable" | | {| class="mw-collapsible mw-collapsed wikitable" |
| ! drives | | ! Trackpad |
| |- | | |- |
| | | | | |
| * /dev/sda contains ubuntu, kodi, windows - using ubuntu 90% of the time | | * Toggle on/off: |
| * /dev/sdb melange_data | | toggle_trackpad.sh |
| ** formatted as exfat
| | * Dynamically adjust: |
| used gparted to remove existing partitions | | xinput list # recently, "Elan Touchpad" is #14 |
| used gdisk to create an EFI partition table and an 8300 "linux file system" | | xinput list-props 14 |
| mkfs.exfat /dev/sdb1 | | xinput --set-prop 14 "Trackpad Sensitivity" 55 # speed (55 good, 75 faster) |
| exfatlabel /dev/sdb1 melange-data
| | xinput --set-prop 14 "Trackpad Touch Pressure" 6 1 # finger (6 1) vs thumb (12 1) |
| emacs /etc/fstab | | * Persist settings here (note they kinda match up but diff names, sigh): |
| /dev/disk/by-label/melange-data /melange_data exfat noatime 0 0
| | /etc/X11/xorg.conf.d/60-synaptics.conf |
| | |} |
| |} | | |} |
| | {| class="mw-collapsible mw-collapsed wikitable" |
| | ! BOX: wimpy |
| | |- |
| | | My main gaming machine |
| | |
| | P8P67LE mobo Intel i5 quad core |
| | [http://www.asus.com/Motherboards/P8P67_LE/ website] |
| | |
| | * HARDWARE: |
| | ** Plug keyboard/mouse hub into TOP USB SLOT in back or BIOS won't recognize it |
| | ** Make sure you plug Vive usb into a USB 3.0 slot |
| | * ON BOOT: |
| | ** REMOVE USB KVM or the keyboard won't work - most of the time that's ok because we let it go through |
| | ** IF you boot into ubuntu, the USB hub didn't seem to work, i had to plug right into mobo |
| | |
| | * had to install from iso after windows update got stuck FUCK OFF |
| | it TOTALLY WENT ON A DIET |
| | my 148GB drive was only using 34GB AFTER the install and cleanup |
| | WAY better than before |
| | took the time to move EVERYTHING I COULD to fatboy |
| | steam base install, plus games |
| | origin base install, plus games |
| | visual studio ce, plus mobile, c++, game dev |
| | but it sucked up 36GB on "system drive", assholes |
| | they dump android stuff, ios stuff, all this bullshit there |
| | cest la vie |
| | installing: |
| | chrome (like pulling teeth to get it set as default) |
| | steam, games |
| | origin, games |
| | vs ce 2017 edition w/xamarin,c++,games,unity |
| | |
| | OLD NOTES: |
| | |
| | drives and partitions: |
| | * sda HDD, OLD OSes, need to wipe and reformat to ntfs; sda2 ntfs 1.1TB old?? |
| | * sdb |
| | ** sdb1 fat32 300MB wimpy-efi |
| | ** sdb2 ntfs 147GB windows10??? |
| | ** sdb3 fat32 287MB /boot/efi |
| | ** sdb4 linux-swap 7GB |
| | ** sdb5 ext4 wimpy-ubuntu-ssd 216GB |
| | ** sdb6 ext4 wimpy-gentoo-ssd 54GB |
| | ** sdb7 ext4 wimpy-openelec 19GB |
| | ** sdb9 fat32 "boot, esp" |
| | |
| | check in windows: |
| | wmic baseboard get product,Manufacturer,version,serialnumber |
| | |
| | boot is in /ubuntu/boot |
| | |
| |} | | |} |
| {| class="mw-collapsible mw-collapsed wikitable" | | {| class="mw-collapsible mw-collapsed wikitable" |
| ! BOX: case | | ! BOX: case |
| |- | | |- |
| | To install ubuntu, I had to add [... --- nomodeset] to the boot line in the grub booter. | | | |
| | ''' Fixing boot ''' |
| | Windows Updates tend to clobber the EFI boot setup. |
| | |
| | THen you have to set BIOS to boot with "UEFI+Legacy", and put the UEFI "USB" drive first in front of the "Windows Boot Manager" one. |
| | |
| | THen reboot, you should get grub. |
| | |
| | Go into Ubuntu and reinstall refind. |
| | |
| | Boot back into bios, and set back to UEFI boot. Leave the USB drive first. Reboot and yhou should get refind again. FU Bill. |
| | ''' Install Ubuntu ''' |
| | To originally install ubuntu, I had to add [... --- nomodeset] to the boot line in the grub booter. |
| | |
| Then I had to use a desktop 1080p monitor - the 4k Sony would not come up for some reason. | | Then I had to use a desktop 1080p monitor - the 4k Sony would not come up for some reason. |
| | |
| | The Seiki is working fine now, go figure. |
| |} | | |} |
| {| class="mw-collapsible mw-collapsed wikitable" | | {| class="mw-collapsible mw-collapsed wikitable" |
Line 924: |
Line 627: |
| # there is also the "turbo" thingee (that "voids warranty", hot!!) | | # there is also the "turbo" thingee (that "voids warranty", hot!!) |
| #force_turbo=1 | | #force_turbo=1 |
| | |} |
| | {| class="mw-collapsible mw-collapsed wikitable" |
| | ! BOX: melange |
| | |- |
| | | My primary dev box |
| | 90% ubuntu for development |
| | 10% gaming machine, has steam, low end half-height video card that works fine for Risk of Rain etc. |
| | It has a mid-range video card, enough to drive 1080p x 2 for development. |
| | This used to be the primary Kodi box up until 10/2015, should still be current. |
| | It has the same high-end i5 or i7 of other 2015 boxes, fast. |
| | {| class="mw-collapsible mw-collapsed wikitable" |
| | ! drives |
| | |- |
| | | |
| | * /dev/sda contains ubuntu, kodi, windows - using ubuntu 90% of the time |
| | * /dev/sdb melange_data |
| | ** formatted as exfat |
| | used gparted to remove existing partitions |
| | used gdisk to create an EFI partition table and an 8300 "linux file system" |
| | mkfs.exfat /dev/sdb1 |
| | exfatlabel /dev/sdb1 melange-data |
| | emacs /etc/fstab |
| | /dev/disk/by-label/melange-data /melange_data exfat noatime 0 0 |
| | |} |
| | |} |
| | {| class="mw-collapsible mw-collapsed wikitable" |
| | ! BOX: wallee |
| | |- |
| | | My 2009 MacbookPro 5.3 multi-boot laptop (see blog for multi-boot howto) |
| | |
| | '''Ubuntu''' |
| | Install all hardware-specific packages in one shot: |
| | sudo apt-get install firmware-b43-installer xserver-xorg-input-mtrack |
| | Post-install MUST-DOs: |
| | * broadcom "b43" wifi driver: |
| | sudo apt-get install firmware-b43-installer |
| | (reboot) |
| | * synaptic driver (for trackpad) |
| | sudo apt-get install xserver-xorg-input-mtrack |
| | # use synclient to determine what works best |
| | su - |
| | synclient -l # lists all params |
| | synclient PalmDetect=1 # temporarily change settings |
| | # save what you like, here: |
| | root@wallee:~# emacs /etc/X11/xorg.conf.d/60-synaptics.conf |
| | |
| | '''Windows 10''' |
| | ** Upgraded existing Windows 8.1 |
| | ** Hack the INF file of the nvidia driver to get it to install - runs PERFECTLY |
| | *** TODO add details |
| | ** Add bluetooth stack - or not - i think i ended up back at the default Windows |
| | ** keyboard driver to get function key working: /spiceflow/softraid/software/OS/windows/macbook_windows10_drivers/AppleKeyboardInstaller64.exe |
| | |
| | Then one day... it just stopped booting... Ten-Plus says the main board has a bad power circuit or something... sad day, MOVE ON. |
| | |
| |} | | |} |
| {| class="mw-collapsible mw-collapsed wikitable" | | {| class="mw-collapsible mw-collapsed wikitable" |
Line 977: |
Line 735: |
| reboot | | reboot |
|
| |
|
| |}
| |
| {| class="mw-collapsible mw-collapsed wikitable"
| |
| ! BOX: wimpy
| |
| |-
| |
| | My main development workstation
| |
|
| |
| P8P67LE mobo Intel i5 quad core
| |
| [http://www.asus.com/Motherboards/P8P67_LE/ website]
| |
|
| |
| drives and partitions:
| |
| * sda HDD, OLD OSes, need to wipe and reformat to ntfs; sda2 ntfs 1.1TB old??
| |
| * sdb
| |
| ** sdb1 fat32 300MB wimpy-efi
| |
| ** sdb2 ntfs 147GB windows10???
| |
| ** sdb3 fat32 287MB /boot/efi
| |
| ** sdb4 linux-swap 7GB
| |
| ** sdb5 ext4 wimpy-ubuntu-ssd 216GB
| |
| ** sdb6 ext4 wimpy-gentoo-ssd 54GB
| |
| ** sdb7 ext4 wimpy-openelec 19GB
| |
| ** sdb9 fat32 "boot, esp"
| |
|
| |
| check in windows:
| |
| wmic baseboard get product,Manufacturer,version,serialnumber
| |
|
| |
| boot is in /ubuntu/boot
| |
|
| |
|
| |
|
| |
|
| |
| grub menu: /ubuntu/boot/grub/menu.lst
| |
|
| |
| post-kernel tasks:
| |
|
| |
| make sure you update /etc/conf.d/modules for any new modules added
| |
| update-modules
| |
| module-rebuild populate
| |
| module-rebuild rebuild (if you feel brave)
| |
| module-rebuild list (if you want to do it manually)
| |
| emerge nvidia-drivers (etc)
| |
| update-modules
| |
| dispatch-conf
| |
| eselect opengl set nvidia
| |
| reboot
| |
|
| |
| if you break gentoo (or rather, if gentoo devs break gentoo, or open source hacks break gentoo, or whatever... but ultimately, you...)...
| |
| boot into ubuntu
| |
| su -
| |
| ./chroot_to_gentoo
| |
| (chroot) ./setup_chroot
| |
| ** FIX IT **
| |
|
| |
| to install a new kernel that ubuntu will serve up...
| |
| build it in a chroot
| |
| back in ubuntu, copy it:
| |
| cp /mnt/gentoo/usr/src/linux/arch/x86_64/boot/bzImage /boot/linux-blahblbahba
| |
| and update grub. you can change em both or just the second (and rerun grub-mkconfig >/boot/grub/grub.cfg):
| |
| emacs /boot/grub/grub.cfg
| |
| emacs /etc/grub.d/09_gentoo
| |
|
| |
| |}
| |
| {| class="mw-collapsible mw-collapsed wikitable"
| |
| ! BOX: wallee
| |
| |-
| |
| | My quad-boot laptop
| |
|
| |
| Macbook Pro quad boot (OS X Yosemite, Windows 10, Ubuntu 15.04, gentoo)
| |
|
| |
| see blog entry for quad boot instructions
| |
|
| |
| * Installing Windows 10
| |
| ** Upgraded existing Windows 8.1
| |
| ** Hack the INF file of the nvidia driver to get it to install - runs PERFECTLY
| |
| *** TODO add details
| |
| ** Add bluetooth stack - or not - i think i ended up back at the default Windows
| |
| ** keyboard driver to get function key working: /spiceflow/softraid/software/OS/windows/macbook_windows10_drivers/AppleKeyboardInstaller64.exe
| |
|
| |
| -- gentoo --
| |
| * see [http://en.gentoo-wiki.com/wiki/Apple_Macbook_Pro/Configuration_Files/Kernel this] for kernel parameters
| |
| ** emerge microcode-ctl (and made it a module in kernel)
| |
| ** also did everything else I could on this page (some EFI stuff was missing, who cares) - did i do too much?
| |
| * add m to a bunch of groups:
| |
| ** for x in wheel cdrom cdrw usb video ; do gpasswd -a m $x ; done
| |
| * using Xfce (everybody's doing it)
| |
| ** echo "exec startxfce4" > ~/.xinitrc
| |
| * using nvidia driver
| |
| ** eselect opengl set nvidia
| |
| ** run nvidia-xconfig
| |
| * using gdm
| |
| ** emacs /etc/conf.d/xdm
| |
| ** rc-update add xdm default
| |
| * using NetworkManager
| |
| ** + consolekit (needed for applet)
| |
| ** + nm-applet (for Xfce taskbar applet, where it all happens)
| |
| ** + networkmanager-openconnect
| |
| * network driver: broadcom-sta
| |
| ** Checking for suitable kernel configuration options...
| |
| ** CONFIG_MAC80211: should not be set. But it is.
| |
| ** Please check to make sure these options are set correctly.
| |
|
| |
| -- to update kernel --
| |
| * under gentoo, ubunbu should already be mounted; make sure it's available at /ubuntu
| |
| * cd /usr/src/linux
| |
| * build a new kernel as usual
| |
| ** make menuconfig, or make oldconfig, or whatever
| |
| ** make && make modules_install
| |
| ** emerge nvidia-drivers
| |
| ** cp arch/x86_64/boot/bzImage /ubuntu/boot/linux-3.10.7-gentoo_oldconfig
| |
| * carefully fix up grub, ubuntu grub is being used
| |
| ** we inject our gentoo boot lines into /boot/grub/grub.cfg through /etc/grub.d/11-gentoo-proxy
| |
| ** which gets its information from /etc/grub.d/proxifiedScripts/gentoo
| |
| ** we can modify grub directly from gentoo - you have to change both grub.cfg AND /etc/grub.d/proxifiedScripts/gentoo to keep things from getting clobbered later
| |
| ** or go into ubuntu and change /etc/grub.d/proxifiedScripts/gentoo and run this...
| |
| *** grub-mkconfig >/boot/grub/grub.cfg
| |
| * reboot!
| |
|
| |
| -- misc --
| |
| * heres what we need in fstab to mount ubuntu in gentoo with [mount /ubuntu]...
| |
| ** mount /dev/disk/by-path/pci-0000\:00\:0b.0-scsi-0\:0\:0\:0-part5 /ubuntu
| |
| {| class="mw-collapsible mw-collapsed wikitable"
| |
| ! old wallee gentoo networking notes - using ubuntu now!
| |
| |-
| |
| | Laptop has both wired and wifi adapters.
| |
|
| |
| We set up [http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=4&chap=2 custom network interface names] to make it more clear.
| |
|
| |
| I had installed several tools when attempting to get this going. DO NOT DO THAT, they interfere with one another. Removing NetworkManager and going with the highly-recommended wpa_supplicant and its graphical tools wpa_gui and wpa_cli.
| |
|
| |
| I'm documenting this since it's so basic yet such a bitch.
| |
|
| |
| /etc/udev/rules.d/76-mdm-net.rules
| |
| <pre>
| |
| # This file was automatically generated by the /lib/udev/write_net_rules
| |
| # program, run by the persistent-net-generator.rules rules file.
| |
| #
| |
| # You can modify it, as long as you keep each rule on a single
| |
| # line, and change only the value of the NAME= key.
| |
|
| |
| # MDM following this to change nw interface names:
| |
| # http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=4&chap=2
| |
| #
| |
| # verified MAC addresses
| |
| # changed eth0 line to lan0
| |
| # changed eth1 line to wifi0
| |
|
| |
| # PCI device 0x10de:0x0ab0 (forcedeth)
| |
| SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:26:4a:18:ed:58", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="lan0"
| |
|
| |
| # PCI device 0x14e4:0x432b (wl)
| |
| SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:26:bb:07:d3:7d", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="wifi0"
| |
| </pre>
| |
|
| |
| Next you have to set up these weird symlinks:
| |
| <pre>cd /etc/init.d
| |
| ln -s net.lo net.lan0
| |
| ln -s net.lo net.wifi0</pre>
| |
|
| |
| Now add them to runlevels:
| |
| <pre>rc-update add net.lan0 default
| |
| rc-update add net.wifi0 default</pre>
| |
|
| |
| Now add them to runlevels:
| |
| <pre>rc-update add net.lan0 default
| |
| rc-update add net.wifi0 default</pre>
| |
|
| |
| Fix the system so that only one is required for startup to work...
| |
| /etc/rc.conf
| |
| <pre>rc_depend_strict="NO"</pre>
| |
|
| |
| No, we're not even close to done yet...
| |
| We have to CUT the firmware out of the proprietary driver. Wow.
| |
| <pre>su -
| |
| emerge -av b43-fwcutter # NOT THIS, DAAAMN: bcm43xx-fwcutter
| |
| emerge -av sys-firmware/b43-firmware
| |
| export FIRMWARE_INSTALL_DIR="/lib/firmware"
| |
| mkdir macbook_bcm43xx_wireless_driver
| |
| cd macbook_bcm43xx_wireless_driver
| |
| wget http://www.lwfinger.com/b43-firmware/broadcom-wl-5.100.138.tar.bz2
| |
| tar xjf broadcom-wl-5.100.138.tar.bz2
| |
| b43-fwcutter -w "$FIRMWARE_INSTALL_DIR" broadcom-wl-5.100.138/linux/wl_apsta.o
| |
| modprobe b43
| |
| /etc/init.d/net.wifi0 start</pre>
| |
|
| |
| Nope. What a fuckbucket of retardedness.
| |
| Look at the [http://blog.xfce.org/2009/07/new-laptop-aka-gentoo-on-macbook-pro-55-4/ notes this guy made] - brief but heavy - i think i need to purge b43 and get the "wl" driver working instead.
| |
|
| |
| |}
| |
| |}
| |
| {| class="mw-collapsible mw-collapsed wikitable"
| |
| ! Reset 1020 cable modem so it grants a real IP address (not private)
| |
| |-
| |
| | Resetting things sometimes has to be done in this precise order:
| |
| * cable modem -> blue cable -> **ONBOARD** bitpost NIC
| |
| * LAN switch -> yellow cable -> **ADDON CARD** bitpost NIC
| |
| * power off bitpost and cable modem
| |
| * power up cable modem
| |
| * wait 5 minutes
| |
| * power up bitpost
| |
| * verify that you can ping google.com, LAN works, etc.
| |
| |} | | |} |
| |} | | |} |