Let's talk a little bit about putting a computer on a network! I will try to remember to bring my laptop today It hasn't been updated in a long time ifconfig: We've been parsing the output forever ifconfig to bring interfaces up or down Setting a MAC address - Why? Usually to impersonate a different computer route: Usually you run this: route add defaulg gw wherever_your_gateway_is Can make other routes, depending DNS: /etc/resolv.conf That's where the nameserver goes The more automatic way: dhclient dhclient interface dhcpcd is sometimes around instead Depends on a DHCP server being present and willing to talk - You can run your own DHCP server if you like Wifi: iwconfig and iwlist For a "polite" network, that's all you need Trust has been on the decline - Lots of people won't give a stranger a lift either - A few ruin it for the rest - Were you there for CS101 augmented reality? wpa_supplicant: And lcsc config example Other types of authentication work differently Is this too much work? wicd NetworkManager Connect to strongest AP? - Most people run their systems that way - Strong cards and WWU VU - Hostap Drivers! Usually these aren't a problem, but they can be - Linux on macs (why? Why not?) Chipsets - There's nothing new under the sun It used to be a good idea to verify compatibility Making your computer a firewall/DHCP server/NAT/Router/etc I do this with orcrist sometimes - MAC addresses and dorms jen, fwstart scripts - These probably don't work anymore (new hardware, names change) - I did use orcrist as a firewall couple years ago How fast is your connection? Bandwidth - a byte is 8 bits - half a byte is a nibble (not joking) - Bandwidth can be rated in bits/second OR bytes/second + Gb = gigabit, GB = gigabyte, don't trust this - SI prefixes, kind of Latency Think about this when you decide to do something over a network! - LAN - Cable and DSL, wifi - Cell network - Dial-up X-forwarding is ok over LAN, but has latency issues rdesktop does a better job on bandwidth - GUI with latency is for the birds Internal computer interfaces are faster - Main memory, FSB, PCI-Express, etc Proprietary stuff is out there too CrayLink / NUMAlink More on configuration and filesystems mount: mountpoints, etc How to hide a file better than with .name Filesystem types - Varies a lot! automount daemons fstab uuid and devices Partitions, extended and primary Numbering: hd*, sd*, nvme fdisk will show you cfdisk = Curses Fdisk sshfs: Mount a filesystem over SSH Userspace mounting fuse Connections are NOT automatically re-established - Could use a loop...