Changes

Scratchpaper.txt - the intestinal tract of linux notes

6,503 bytes added, 19:45, 26 June 2007
The following lines were added (+) and removed (-):
<nowiki>symbols for setting file permissions in symbolic mode</nowiki> <nowiki>-------------------------------------------------------------------------------</nowiki> <nowiki>Symbol        Function*      Description</nowiki> <nowiki>u      Who            User (owner)</nowiki> <nowiki>g      Who            Group</nowiki> <nowiki>o      Who            Others</nowiki> <nowiki>A      Who            All</nowiki> <nowiki>=      Operation      Assign</nowiki> <nowiki>+      Operation      Add</nowiki> <nowiki>-      Operation      Remove</nowiki> <nowiki>r      Permission      Read</nowiki> <nowiki>w      Permission      Write</nowiki> <nowiki>x      Permission      Execute</nowiki> <nowiki>l      Permission      Mandatory locking, setgid bit is on, group execution bit is off</nowiki> <nowiki>s      Permission      setuid or setgid bit is on</nowiki> <nowiki>S      Permission      suid bit is on, user execution bit is off</nowiki> <nowiki>t      Permission      Sticky bit is on, execution bit for others is on</nowiki> <nowiki>T      Permission      Sticky bit is on, execution bit for others is off</nowiki> <nowiki>-------------------------------------------------------------------------------</nowiki> <nowiki>The who, operator, and permissions designations in the function column specify</nowiki> <nowiki>the symbols that change the permissions on the file or directory.</nowiki>graphics:  netpbm----make pdf: from tiff, Use Tiff to PS  (in linux)  tiff2ps *.tiff > tiffs.psfrom PS to PDF  ps2pdf tiffs.ps----What it looks like when someone has a backdoor and they don't know it... 6969 TCP acmsoda acmsoda 2000 Cracks, Net Controller,IRC 3, GateCrasher, Danton, Priority, 2000Cracks, Bigorna Initiating SYN Stealth Scan against CPE-143-238-120-x.nsw.bigpond.net.au (143.238.120.x) (The 1541 ports scanned but not shown below are in state: filtered) Port      State      Service 6969/tcp  closed      acmsoda Services registered for this port (from Neohapsis) Protocol Service Name tcp 2000Cracks [trojan] 2000 Cracks tcp acmsoda tcp Danton [trojan] Danton tcp GateCrasher [trojan] GateCrasher tcp GateCrasher [trojan] GateCrasher tcp IRC3 [trojan] IRC 3 tcp NetController [trojan] Net Controller tcp Priority [trojan] Priority udp acmsoda "a daemon for monitoring the temperature of thesoda machine in the computer lab hall".----To check Hard Drive speed # /sbin/hdparm -Tt /dev/hdx /dev/hdy where 'x' and 'y' (etc.) are the drive letters you wish to test. It will giveyou a transfer rate readout.----using split to fit large archives on dvdr split -b 1048576k fresh-w2k-amd1k-2004091001.gz split_fresh-w2k-amd1k-2004091001.gz.----which - shows the full path of (shell) commands. lspci lsmod ifconfig -a/sbin/lspci -vvx  <-- which gives verbose info about the PCI bus.mknod -m 666 /dev/video1394/0 c 171 16  <-- making a device example&nbsp; &nbsp;---- Vitesse VSC8201RX VSC8201 VITESSE 8201 onboard ethernet----Ethernet PHY Device:Modern ethernet subsystems are often separated into two pieces, the media access controller (sometimes known as a MAC) and the physical device or line interface (often referred to as a PHY). In this case, the MAC handles generating and parsing physical frames and the PHY handles how this data is actually moved to/from the wire. The MAC and PHY communicate via a special protocol, known as MII. This MII protocol can handle control over the PHY which allows for selection of such transmission criteria as line speed, duplex mode, etc.Support for the Cicada 8201 PHY, a.k.a Vitesse VSC8201.  This PHY is present on the MPC8349mITX. drivers/net/phy/cicada.c lspci: Bridge: nVidia Corporation MCP51 Ethernet Controller (rev a1)*Network Controller 1 x VITESSE VSC8201RX 10/100/1000Mbps*nVidia nForce 430 chipsets*K8NGM2-FID Windows XP reports: -Network Adapters  +1394 Net Adapter  +NVIDIA nForce Networking Controller -NVIDIA Network Bus Enumerator  +NVIDIA Network Bus EnumeratorVitesse and Marvell likely won't without recompiling.The card is listed in the network preferences, but the actual device/dev/net/nforcedeth does not exist.it shows up in Devices as "Bridge Device" vendor id: 0x10de card id: 0x269http://ubuntuforums.org/showthread.php?t=164734&highlight=K8NGM2-FID:Ubuntu wants to use the forcedeth driver for the ethernet port:MSI K8NGM2-FID board. Ubuntu wants to use the forcedeth driver for the ethernet port, but (for me) that driver only works if I power down then boot into ubuntu (I dual boot with winxp). If I have been in xp and just reboot into ubuntu, it won't work. So, as a workaround, I have been using the NVIDIA nforce drivers (for the ethernet only, not the sound as it works with the ALSAdriver), and it works fine if you unload both drivers (forcedeth and nvnet), then modprobe nvnet, then reconfigure networking (sudo invoke-rc.d networking restart).forcedeth 23428  0compile and use Nvidia's nvnet network driver rather than forcedethNFORCE-Linux-x86_64-1.0-0306-pkg1.runnvnet.koMCP51 nvnet----tc command set Netem Network Emulation functionalityhttp://linux-net.osdl.org/index.php/Netem # tc qdisc add dev eth0 root netem delay 100msIn g4u Ghost For Unix ghost for unixNow set the IP address by running the command ifconfig <ip address> netmask<subnet mask>. For example, to set the IP address on interface pcn0, you wouldrun ifconfig pcn0 192.168.0.10 netmask 255.255.255.0.ifconfig xx0 1.2.3.4 netmask 255.255.255.0route add default 2.3.4.5 Now set the IP address by running the command ifconfig <ip address> netmask<subnet mask>. For example, to set the IP address on interface pcn0, you wouldrun ifconfig pcn0 192.168.0.10 netmask 255.255.255.0.Ports, Protocols, and DaemonsIn the /etc/services file you will find a few lines that refer to Sambaservices: #netbios-ns 137/tcp # NetBIOS Name Service#netbios-ns 137/udp#netbios-dgm 138/tcp # NetBIOS Datagram Service#netbios-dgm 138/udp#netbios-ssn 139/tcp # NetBIOS Session Service#netbios-ssn 139/udp#microsoft-ds 445/tcp # Microsoft Directory Service#microsoft-ds 445/udpThe picture this provides is somewhat deceiving, since the half of those linescould be removed and condensed to: *netbios-ns 137/udp # NetBIOS Name Service*netbios-dgm 138/udp # NetBIOS Datagram Service*netbios-ssn 139/tcp # NetBIOS Session Service*microsoft-ds 445/tcp # Microsoft Directory Service
Bureaucrat, administrator
16,192
edits