Notes by woolf

Displaying keyword search results 1 - 7
Created by woolf on December 11, 2011 13:38:58    Last update: December 11, 2011 13:38:58
Install usb.essentials . Package usbutils is optional. # opkg update # opkg install kmod-usb2 # opk... Install usb printer support: # opkg install kmod-usb-printer Install p910nd print server: # opkg install p910nd Edit /etc/config/p910nd : config p910nd option device /dev... Configure firewall to allow port 9100 ( /etc/config/firewall ): # Allow printer con... If clients are connecting from wan then the first line should be: option src wan Enable automatic start of print server when router boots: #/etc/init.d/p910nd enable Restart router: # reboot
Created by woolf on July 19, 2011 09:06:49    Last update: September 30, 2011 11:52:19
Nmap port scan against host 10.2.1.3 , with TCP SYN scan ( -sS ), OS detection ( -O , capital O, not zero) and verbose output ( -v ): nmap -v -sS -O 10.2.1.3 If ping is blocked, add switch -PN : nmap -v -sS -O -PN 10.2.1.3 Shortcut option -A for version detection, Nmap Scripting Engine with the default set of scripts, remote OS detection, and traceroute (equivalent to: -sV -sC -O --traceroute ): nmap -A 10.2.1.3
Created by woolf on August 07, 2011 18:52:12    Last update: August 07, 2011 18:52:12
Running this command: # /usr/sbin/iptables -t nat -A PREROUTING -p tcp -... produced this error: iptables v1.4.6: unknown option `--to-ports' Tr... To fix: # opkg install iptables-mod-nat-extra
Created by woolf on July 31, 2011 12:43:21    Last update: July 31, 2011 12:43:21
Ports used by DHCP (Dynamic Host Configuration Protocol). Port Protocol Description 67 UDP Bootstrap Protocol (BOOTP) Server; also used by Dynamic Host Configuration Protocol (DHCP) 68 UDP Bootstrap Protocol (BOOTP) Client; also used by Dynamic Host Configuration Protocol (DHCP) 546 TCP/UDP DHCPv6 client 547 TCP/UDP DHCPv6 server 647 TCP DHCP Failover protocol 847 TCP DHCP Failover 2
Created by woolf on July 31, 2011 12:30:20    Last update: July 31, 2011 12:30:20
The DNS (Domain Name System) server uses port 53 (UDP and TCP). From Wikipedia : DNS primarily uses User Datagram Protocol (UDP) on port number 53 to serve requests. DNS queries consist of a single UDP request from the client followed by a single UDP reply from the server. The Transmission Control Protocol (TCP) is used when the response data size exceeds 512 bytes, or for tasks such as zone transfers. Some operating systems, such as HP-UX, are known to have resolver implementations that use TCP for all queries, even when UDP would suffice.
Created by woolf on July 05, 2011 15:38:52    Last update: July 05, 2011 15:39:55
By default VirtualBox enables one network adapter ("Adapter 1") with NAT. Connection from the guest OS to the outside world works natually when the guest network adapter is assigned an IP address by the VirtualBox DHCP server. Use VBoxManage to see a list of DHCP servers: $ VBoxManage list dhcpservers NetworkName: H... The guest IP address is not visible from the outside world. If you need to access a server on the guest OS, you need to set up port forwarding in VirtualBox settings: Settings -> Network -> Adapter 1 -> Advanced -> Port Forwarding . Beware that on Linux/Unix, port forwarding may not work if you bind to a privileged port (port number < 1024) but you are not root. Bridged networking can be...
Created by woolf on May 15, 2011 15:11:42    Last update: May 15, 2011 15:11:57
On windows, display IPv4 routing table: route -4 print On Linux: $ route Kernel IP routing table Destination ... This works for both Linux and Windows (" -r ": display routing table, " -n ": display address and port numbers in numerical form): netstat -rn