{"id":1205,"date":"2009-12-18T05:49:24","date_gmt":"2009-12-18T10:49:24","guid":{"rendered":"http:\/\/g33kinfo.com\/info\/?p=1205"},"modified":"2009-12-18T05:49:24","modified_gmt":"2009-12-18T10:49:24","slug":"a-little-netwoking-shtuff","status":"publish","type":"post","link":"https:\/\/g33kinfo.com\/info\/a-little-netwoking-shtuff\/","title":{"rendered":"A little netwoking shtuff"},"content":{"rendered":"<p>Show the ethernet status<\/p>\n<p><code><br \/>\nethtool eth0<br \/>\n<\/code><\/p>\n<p>Force 100Mbit Full duplex<\/p>\n<p><code><br \/>\nethtool -s eth0 speed 100 duplex full<br \/>\n<\/code><\/p>\n<p>Disable auto negotiation<\/p>\n<p><code><br \/>\nethtool -s eth0 autoneg off<br \/>\n<\/code><\/p>\n<p>Blink the ethernet led<\/p>\n<p><code><br \/>\nethtool -p eth0<br \/>\n<\/code><\/p>\n<p>Display all interfaces (similar to ifconfig)<\/p>\n<p><code><br \/>\nip link show<br \/>\n<\/code><\/p>\n<p>Bring device up (or down). Same as &#8220;ifconfig eth0 up&#8221;<\/p>\n<p><code><br \/>\nip link set eth0 up<br \/>\n<\/code><\/p>\n<p> Display all IP addresses (similar to ifconfig)<\/p>\n<p><code><br \/>\nip addr show<br \/>\n<\/code><\/p>\n<p> Similar to arp -a<\/p>\n<p><code><br \/>\nip neigh show<br \/>\n<\/code><\/p>\n<p> Ping on ethernet layer<\/p>\n<p><code><br \/>\narping 192.168.16.254<br \/>\n<\/code><\/p>\n<p> uses tcp instead of icmp to trace throught firewalls (install via sudo apt-get install tcptraceroute)<\/p>\n<p><code><br \/>\ntcptraceroute -f 5 cb.vu<br \/>\n<\/code><\/p>\n<p>The netstat command is very versatile and can provide a limited report when used with the -i switch. This is useful for systems where mii-tool or ethtool are not available.<br \/>\n<code><br \/>\nnetstat -i<\/p>\n<p>#results<\/p>\n<p>Kernel Interface table<br \/>\nIface       MTU Met    RX-OK RX-ERR RX-DRP RX-OVR    TX-OK TX-ERR TX-DRP TX-OVR Flg<br \/>\nlo        16436   0   451490      0      0      0   451490      0      0      0 LRU<br \/>\nvenet0     1500   0   154868      0      0      0   127296      0      0      0 BOPRU<br \/>\nvenet0:0   1500   0      - no statistics available -                            BOPRU<br \/>\nvenet0:1   1500   0      - no statistics available -                            BOPRU<br \/>\nvenet0:2   1500   0      - no statistics available -                            BOPRU<br \/>\nvenet0:3   1500   0      - no statistics available -                            BOPRU<br \/>\n<\/code><\/p>\n<p>An easy way to tell if a remote server is listening on a specific TCP port is to use the telnet command. By default, telnet will try to connect on TCP port 23, but you can specify other TCP ports by typing them in after the target IP address. HTTP uses TCP port 80, HTTPS uses port 443.<\/p>\n<p>Here is an example of testing server 192.168.1.102 on the TCP port 22 reserved for SSH:<br \/>\n<code><br \/>\ntelnet 192.168.1.102 22<br \/>\nTrying 192.168.1.102...<br \/>\nConnected to 192.168.1.102.<br \/>\nEscape character is '^]'.<br \/>\n<\/code><\/p>\n<p>curl:<br \/>\nThe curl utility acts like a text based Web browser in which you can select to see either the header or complete body of a Web page&#8217;s HTML code displayed on your screen.<\/p>\n<p>A good start is to use the curl command with the -I flag to view just the Web page&#8217;s header and HTTP status code. By not using the -I command you will see all the Web page&#8217;s HTML code displayed on the screen. Either method can provide a good idea of your server&#8217;s performance.<br \/>\n<code><br \/>\ncurl -I www.linuxhomenetworking.com<br \/>\n HTTP\/1.1 200 OK<br \/>\n Date: Tue, 19 Oct 2004 05:11:22 GMT<br \/>\n Server: Apache\/2.0.51 (Fedora)<br \/>\n Accept-Ranges: bytes<br \/>\n Vary: Accept-Encoding,User-Agent<br \/>\n Connection: close<br \/>\n Content-Type: text\/html; charset=UTF-8<br \/>\n<\/code><\/p>\n<p>wget:<br \/>\nYou can use wget to recursively download a Web site&#8217;s Web pages, including the entire directory structure of the Web site, to a local directory.<\/p>\n<p>By not using recursion, and activating the timestamping feature (the -N switch), you view not only the HTML content of the Web site&#8217;s index page in your local directory, but also the download speed, file size and precise start and stop times for the download. This can be very helpful in providing a simple way to obtain snapshots of your server&#8217;s performance.<br \/>\n<code><br \/>\nwget -N www.linuxhomenetworking.com<br \/>\n --23:07:22--  http:\/\/www.linuxhomenetworking.com\/<br \/>\n            => `index.html'<br \/>\n Resolving www.linuxhomenetworking.com... done.<br \/>\n Connecting to www.linuxhomenetworking.com[65.115.71.34]:80... connected.<br \/>\n HTTP request sent, awaiting response... 200 OK<br \/>\n Length: unspecified [text\/html]<br \/>\n Last-modified header missing -- time-stamps turned off.<br \/>\n --23:07:22--  http:\/\/www.linuxhomenetworking.com\/<br \/>\n            => `index.html'<br \/>\n Connecting to www.linuxhomenetworking.com[65.115.71.34]:80... connected.<br \/>\n HTTP request sent, awaiting response... 200 OK<br \/>\n Length: unspecified [text\/html]<\/p>\n<p>    [   < =>                                         ] 122,150      279.36K\/s<\/p>\n<p> 23:07:22 (279.36 KB\/s) - `index.html' saved [122150]<br \/>\n<\/code><\/p>\n<p>nmap:<\/p>\n<p>You can use nmap to determine all the TCP\/IP ports on which a remote server is listening. It isn&#8217;t usually an important tool in the home environment, but it can be used in a corporate environment to detect vulnerabilities in your network, such as servers running unauthorized network applications. It is a favorite tool of malicious surfers and therefore should be used to test external as well as internal servers under your control.<\/p>\n<p>Whenever you are in doubt, you can get a list of available nmap options by just entering the command without arguments at the command prompt. <\/p>\n<p>-P0 \t Nmap first attempts to ping a host before scanning it. If the server is being protected from ping queries, then you can use this option to force it to scan anyway.<br \/>\n-T \tDefines the timing between the packets set during a port scan. Some firewalls can detect the arrival of too many non-standard packets within a predetermined time frame. This option can be used to send them from 60 seconds apart with a value of &#8220;5&#8221; also known as insane mode to 0.3 seconds with a value of &#8220;0&#8221; in paranoid mode.<br \/>\n-O \tThis will try to detect the operating system of the remote server based on known responses to various types of packets.<br \/>\n-p \tLists the TCP\/IP port range to scan.<br \/>\n-s \tDefines a variety of scan methods that use either packets that comply with the TCP\/IP standard or are in violation of it.<br \/>\n<code><br \/>\nnmap -sT -T 5 -p 1-5000 192.168.1.153<\/p>\n<p> Starting nmap V. 3.00 ( www.insecure.org\/nmap\/ )<br \/>\n Interesting ports on whoknows.my-site-int.com (192.168.1.153):<br \/>\n (The 4981 ports scanned but not shown below are in state: closed)<br \/>\n Port       State       Service<br \/>\n 21\/tcp     open        ftp<br \/>\n 25\/tcp     open        smtp<br \/>\n 139\/tcp    open        netbios-ssn<br \/>\n 199\/tcp    open        smux<br \/>\n 2105\/tcp   open        eklogin<br \/>\n 2301\/tcp   open        compaqdiag<br \/>\n 3300\/tcp   open        unknown<\/p>\n<p> Nmap run completed -- 1 IP address (1 host up) scanned in 8 seconds<br \/>\n<\/code><\/p>\n<p>netcat:<br \/>\nMost Linux distributions contain the netcat or nc packages which can be used to create a TCP socket over which you can transfer data. The syntax can also vary between distributions so you should refer to your system&#8217;s man pages if you have any questions.<\/p>\n<p>The netcat server can be easily created with the -l switch that signifies the program should listen, and not talk. The desired TCP port then follows. In this case the server is listening on TCP port 7777.<br \/>\n<code><br \/>\n [root@smallfry tmp]# nc -l 7777<br \/>\n<\/code><\/p>\n<p>The netcat client only needs to specify the server&#8217;s IP address followed by server&#8217;s the TCP listener port.<br \/>\n<code><br \/>\n [root@bigboy ~]# nc 192.168.2.50 7777<br \/>\n<\/code><\/p>\n<p>Any text typed to the console screen of the client;<br \/>\n<code><br \/>\n [root@bigboy ~]# nc 192.168.2.50 7777<br \/>\n This is a test of the NetCat program!<br \/>\n [root@bigboy ~]#<br \/>\n<\/code><\/p>\n<p>will also be visible on the server&#8217;s console.<br \/>\n<code><br \/>\n [root@smallfry tmp]# nc -l 7777<br \/>\n This is a test of the NetCat program!<br \/>\n [root@smallfry tmp]#<br \/>\n<\/code><\/p>\n<p>If you want to transfer a file, you only need to use some simple command line redirection. In this case, the server will output all data it receives on port 7777 to a file called FC-6-i386-disc1.iso, and the client pipes the output of the cat command to the netcat client that points to our server.<br \/>\n<code><br \/>\n [root@smallfry tmp]# nc -l 7777 > FC-6-i386-disc1.iso<br \/>\n <\/code><br \/>\n<code><br \/>\n [root@bigboy ~]# cat \/tmp\/FC-6-i386-disc1.iso | nc 192.168.2.50 7777<br \/>\n<\/code><\/p>\n<p>All Linux systems have a black hole file named \/dev\/null which automatically discards any data written to it. If you want to test file transfers without filling your disk storage, or having the server&#8217;s disk I\/O be a bottleneck, then use this as your output file instead.<br \/>\n<code><br \/>\n [root@smallfry tmp]# nc -l 7777 > \/dev\/null<br \/>\n<\/code><\/p>\n<p>All Linux systems also have a have a continuous random data source located at \/dev\/random. Instead of using a file in your tests, you can use this instead for a data stream or infinite duration.<br \/>\n<code><br \/>\n [root@bigboy ~]# cat \/dev\/random | nc 192.168.2.50 7777<br \/>\n<\/code><\/p>\n<p>Listening on open ports:<br \/>\n<code><br \/>\nnetstat -an | grep LISTEN<br \/>\n<\/code><br \/>\n lists all Internet connections<br \/>\n<code><br \/>\nlsof -i<br \/>\n<\/code><br \/>\ndisplays list of open sockets (use apt-get install procinfo)<br \/>\n<code><br \/>\nsocklist<br \/>\n<\/code><br \/>\nas does the socklist command<br \/>\n<code><br \/>\nnetstat -anp --udp --tcp | grep LISTEN<br \/>\n<\/code><br \/>\n List active connections to\/from system<br \/>\n<code><br \/>\nnetstat -tup<br \/>\n<\/code><br \/>\n List listening ports from system<br \/>\n<code><br \/>\nnetstat -tupl<br \/>\n<\/code><br \/>\nFor status<br \/>\n<code><br \/>\niptables -L -n -v<br \/>\n<\/code><br \/>\n Open everything<br \/>\n<code><br \/>\niptables -P INPUT       ACCEPT<br \/>\n<\/code><br \/>\n<code><br \/>\niptables -P FORWARD     ACCEPT<br \/>\n<\/code><br \/>\n<code><br \/>\niptables -P OUTPUT      ACCEPT<br \/>\n<\/code><br \/>\n Zero the packet and byte counters in all chains<br \/>\n<code><br \/>\niptables -Z<br \/>\n<\/code><br \/>\n Flush all chains<br \/>\n<code><br \/>\niptables -F<br \/>\n<\/code><br \/>\n Delete all chains<br \/>\n<code><br \/>\niptables -X<br \/>\n<\/code><\/p>\n<p>IP Forward for routing<\/p>\n<p> Check and then enable IP forward with:<\/p>\n<p> Check IP forward 0=off, 1=on<br \/>\n<code><br \/>\nnano -w \/proc\/sys\/net\/ipv4\/ip_forward<br \/>\n<\/code><br \/>\n<code><br \/>\necho 1 > \/proc\/sys\/net\/ipv4\/ip_forward<br \/>\n<\/code><br \/>\n or edit \/etc\/sysctl.conf with:<\/p>\n<p><code><br \/>\nnet.ipv4.ip_forward = 1<br \/>\n<\/code><\/p>\n<p>NAT Network Address Translation<\/p>\n<p> to activate NAT<br \/>\n<code><br \/>\niptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE<br \/>\n<\/code><\/p>\n<p> Port forward 20022 to internal IP port ssh<br \/>\n<code><br \/>\niptables -t nat -A PREROUTING -p tcp -d 78.31.70.238 --dport 20022 -j DNAT --to 192.168.16.44:22<br \/>\n<\/code><br \/>\n Port forward of range 993-995<br \/>\n<code><\/p>\n<p>iptables -t nat -A PREROUTING -p tcp -d 78.31.70.238 --dport 993:995 -j DNAT --to 192.168.16.254:993-995<br \/>\n<\/code><br \/>\n<code><br \/>\nip route flush cache<br \/>\n<\/code><br \/>\n Check NAT status<br \/>\n<code><br \/>\niptables -L -t nat<br \/>\n<\/code><\/p>\n<p>NOTE: You can delete a port forward with -D instead of -A.<\/p>\n<p>DNS<\/p>\n<p>On *nix the DNS entries are valid for all interfaces and are stored in \/etc\/resolv.conf.<br \/>\nThe domain to which the host belongs is also stored in this file. A minimal configuration is:<\/p>\n<p><code><br \/>\nnameserver 78.31.70.238<br \/>\nsearch mydomain.net intern.lab<br \/>\ndomain mydomain.net<br \/>\n<\/code><\/p>\n<p>Check the system domain name with:<\/p>\n<p> Same as dnsdomainname<br \/>\n<code><br \/>\nhostname -d<br \/>\n<\/code><\/p>\n<p>Forward queries<\/p>\n<p>Dig is used to test the DNS settings.<br \/>\nSee from which server the client receives the answer (simplified answer).<br \/>\nin this example, we use google.com<br \/>\n<code><br \/>\ndig google.com<br \/>\ngoogle.com.267INA64.233.187.99<br \/>\n;; SERVER: 192.168.1.25453(192.168.1.254)<br \/>\n<\/code><\/p>\n<p>The router 192.168.1.254 answered and the response is the A entry.<br \/>\nAny entry can be queried and the DNS server can be selected with @:<\/p>\n<p> To test the local server<br \/>\n<code><br \/>\ndig @127.0.0.1 NS sun.com<br \/>\n<\/code><br \/>\n Query an external server<br \/>\n<code><br \/>\ndig @204.97.212.10 NS MX heise.de<br \/>\n<\/code><br \/>\n Get the full zone (zone transfer)<br \/>\n<code><br \/>\ndig AXFR @ns1.xname.org cb.vu<br \/>\n<\/code><\/p>\n<p>The program host is also quite powerful.<\/p>\n<p> Get the mail MX entry<br \/>\n<code><br \/>\nhost -t MX google.com<br \/>\n<\/code><br \/>\n Get the NS record over a TCP connection<br \/>\n<code><br \/>\nhost -t NS -T google.com<br \/>\n<\/code><br \/>\n Get everything<br \/>\n<code><br \/>\nhost -a google.com<br \/>\n<\/code><\/p>\n<p>Reverse queries<\/p>\n<p>Find the name belonging to an IP address (in-addr.arpa.). This can be done with dig, host and nslookup:<\/p>\n<p><code><br \/>\ndig -x 78.31.70.238<br \/>\n<\/code><br \/>\n<code><br \/>\nhost 78.31.70.238<br \/>\n<\/code><br \/>\n<code><br \/>\nnslookup 78.31.70.238<br \/>\n<\/code><\/p>\n<p>Single hosts can be configured in the file \/etc\/hosts instead of running named locally<br \/>\nto resolve the hostname queries. The format is simple, for example:<\/p>\n<p>64.233.187.99 google.com google<\/p>\n<p>DHCP<\/p>\n<p>The default ubuntu dhcp client is dhclient, however, i like dhcpcd a lot better,<br \/>\nand that is what i will use in my examples<br \/>\n<code><br \/>\napt-get install dhcpcd to install it.<br \/>\n<\/code><br \/>\n Trigger a renew (does not always work)<br \/>\n<code><br \/>\ndhcpcd -n eth0<br \/>\n<\/code><br \/>\n release and shutdown<br \/>\n<code><br \/>\ndhcpcd -k eth0<br \/>\n<\/code><\/p>\n<p>The lease with the full information is stored in:<br \/>\n<code><br \/>\n\/var\/lib\/dhcpcd\/dhcpcd-eth0.info<br \/>\n<\/code><\/p>\n<p>For dhclient:<\/p>\n<p><code><br \/>\ndhclient eth0<br \/>\n<\/code><\/p>\n<p>The lease with the full information is stored in:<br \/>\n<code><br \/>\n\/var\/db\/dhclient.leases.eth0<\/p>\n<p>Use<br \/>\n<\/code><code><br \/>\n\/etc\/dhclient.conf<br \/>\n<\/code><br \/>\nto prepend options or force different options:<\/p>\n<p><code><br \/>\nnano -w \/etc\/dhclient.conf<\/p>\n<p>interface \"eth0\" {<br \/>\nprepend domain-name-servers 127.0.0.1;<br \/>\ndefault domain-name \"google.com\";<br \/>\nsupersede domain-name \"google.com\";<br \/>\n}<br \/>\n<\/code><\/p>\n<p>Traffic analysis<\/p>\n<p>Bmon http:\/\/people.suug.ch\/~tgr\/bmon\/ is a small console bandwidth monitor and can display the<br \/>\nflow on different interfaces. You can install it on ubuntu with apt-get install bmon<\/p>\n<p>Sniff with tcpdump (tcpdump comes with ubuntu)<\/p>\n<p><code><br \/>\ntcpdump -nl -i eth0 not port ssh and src \\(192.168.16.121 or 192.168.16.54\\)<br \/>\n<\/code><br \/>\n select to\/from a single IP<br \/>\n<code><br \/>\ntcpdump -n -i eth0 net 192.168.16.121<br \/>\n<\/code><code><br \/>\n select traffic to\/from a network<br \/>\n<\/code><br \/>\ntcpdump -n -i eth0 net 192.168.16.0\/24<\/p>\n<p>Buffered output<br \/>\n<code><br \/>\ntcpdump -l > dump && tail -f dump<br \/>\n<\/code><br \/>\n Write traffic headers in binary file<br \/>\n<code><br \/>\ntcpdump -i eth0 -w traffic.eth0<br \/>\n<\/code><br \/>\n Write traffic + payload in binary file<br \/>\n<code><br \/>\ntcpdump -i eth0 -s 0 -w traffic.eth0<br \/>\n<\/code><br \/>\n Read from file (also for ethereal<br \/>\n<code><br \/>\ntcpdump -r traffic.eth0<br \/>\n<\/code><br \/>\n The two classic commands<br \/>\n<code><br \/>\ntcpdump port 80<br \/>\n<\/code><br \/>\n Check if pop or imap is secure<br \/>\n<code><br \/>\ntcpdump host google.com<br \/>\n<\/code><br \/>\n<code><br \/>\ntcpdump -i eth0 -X port \\(110 or 143\\)<br \/>\n<\/code><br \/>\n Only catch pings<br \/>\n<code><br \/>\ntcpdump -n -i eth0 icmp<br \/>\n<\/code><br \/>\n -s 0 for full packet -A for ASCII<br \/>\n<code><br \/>\ntcpdump -i eth0 -s 0 -A port 80 | grep GET<br \/>\n<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Show the ethernet status ethtool eth0 Force 100Mbit Full duplex ethtool -s eth0 speed 100 duplex full Disable auto negotiation ethtool -s eth0 autoneg off Blink the ethernet led ethtool -p eth0 Display all interfaces (similar to ifconfig) ip link show Bring device up (or down). Same as &#8220;ifconfig eth0 up&#8221; ip link set eth0&#8230; <\/p>\n<div class=\"read-more navbutton\"><a href=\"https:\/\/g33kinfo.com\/info\/a-little-netwoking-shtuff\/\">Read More<i class=\"fa fa-angle-double-right\"><\/i><\/a><\/div>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[],"class_list":["post-1205","post","type-post","status-publish","format-standard","hentry","category-info"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>A little netwoking shtuff - Linux Shtuff<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/g33kinfo.com\/info\/a-little-netwoking-shtuff\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"A little netwoking shtuff - Linux Shtuff\" \/>\n<meta property=\"og:description\" content=\"Show the ethernet status ethtool eth0 Force 100Mbit Full duplex ethtool -s eth0 speed 100 duplex full Disable auto negotiation ethtool -s eth0 autoneg off Blink the ethernet led ethtool -p eth0 Display all interfaces (similar to ifconfig) ip link show Bring device up (or down). Same as &#8220;ifconfig eth0 up&#8221; ip link set eth0... Read More\" \/>\n<meta property=\"og:url\" content=\"https:\/\/g33kinfo.com\/info\/a-little-netwoking-shtuff\/\" \/>\n<meta property=\"og:site_name\" content=\"Linux Shtuff\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/fb.me\/g33kinf0\" \/>\n<meta property=\"article:author\" content=\"https:\/\/fb.me\/g33kinf0\" \/>\n<meta property=\"article:published_time\" content=\"2009-12-18T10:49:24+00:00\" \/>\n<meta name=\"author\" content=\"g33kadmin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/drsinger1111\" \/>\n<meta name=\"twitter:site\" content=\"@drsinger1111\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/a-little-netwoking-shtuff\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/a-little-netwoking-shtuff\\\/\"},\"author\":{\"name\":\"g33kadmin\",\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/#\\\/schema\\\/person\\\/c022e4c40b13ea1b678e6f020756f547\"},\"headline\":\"A little netwoking shtuff\",\"datePublished\":\"2009-12-18T10:49:24+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/a-little-netwoking-shtuff\\\/\"},\"wordCount\":1301,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/#\\\/schema\\\/person\\\/c022e4c40b13ea1b678e6f020756f547\"},\"articleSection\":[\"General Info\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/g33kinfo.com\\\/info\\\/a-little-netwoking-shtuff\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/a-little-netwoking-shtuff\\\/\",\"url\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/a-little-netwoking-shtuff\\\/\",\"name\":\"A little netwoking shtuff - Linux Shtuff\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/#website\"},\"datePublished\":\"2009-12-18T10:49:24+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/a-little-netwoking-shtuff\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/g33kinfo.com\\\/info\\\/a-little-netwoking-shtuff\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/a-little-netwoking-shtuff\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"A little netwoking shtuff\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/#website\",\"url\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/\",\"name\":\"Linux Shtuff\",\"description\":\"Because I have CRS Syndrome...\",\"publisher\":{\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/#\\\/schema\\\/person\\\/c022e4c40b13ea1b678e6f020756f547\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/#\\\/schema\\\/person\\\/c022e4c40b13ea1b678e6f020756f547\",\"name\":\"g33kadmin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/wp-content\\\/uploads\\\/2022\\\/07\\\/minion-researchA.gif\",\"url\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/wp-content\\\/uploads\\\/2022\\\/07\\\/minion-researchA.gif\",\"contentUrl\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/wp-content\\\/uploads\\\/2022\\\/07\\\/minion-researchA.gif\",\"width\":512,\"height\":512,\"caption\":\"g33kadmin\"},\"logo\":{\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/wp-content\\\/uploads\\\/2022\\\/07\\\/minion-researchA.gif\"},\"description\":\"I am a g33k, Linux blogger, developer, student and Tech Writer for Liquidweb.com\\\/kb. My passion for all things tech drives my hunt for all the coolz. I often need a vacation after I get back from vacation....\",\"sameAs\":[\"https:\\\/\\\/thelinuxreport.com\",\"https:\\\/\\\/fb.me\\\/g33kinf0\",\"https:\\\/\\\/x.com\\\/https:\\\/\\\/twitter.com\\\/drsinger1111\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"A little netwoking shtuff - Linux Shtuff","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/g33kinfo.com\/info\/a-little-netwoking-shtuff\/","og_locale":"en_US","og_type":"article","og_title":"A little netwoking shtuff - Linux Shtuff","og_description":"Show the ethernet status ethtool eth0 Force 100Mbit Full duplex ethtool -s eth0 speed 100 duplex full Disable auto negotiation ethtool -s eth0 autoneg off Blink the ethernet led ethtool -p eth0 Display all interfaces (similar to ifconfig) ip link show Bring device up (or down). Same as &#8220;ifconfig eth0 up&#8221; ip link set eth0... Read More","og_url":"https:\/\/g33kinfo.com\/info\/a-little-netwoking-shtuff\/","og_site_name":"Linux Shtuff","article_publisher":"https:\/\/fb.me\/g33kinf0","article_author":"https:\/\/fb.me\/g33kinf0","article_published_time":"2009-12-18T10:49:24+00:00","author":"g33kadmin","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/drsinger1111","twitter_site":"@drsinger1111","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/g33kinfo.com\/info\/a-little-netwoking-shtuff\/#article","isPartOf":{"@id":"https:\/\/g33kinfo.com\/info\/a-little-netwoking-shtuff\/"},"author":{"name":"g33kadmin","@id":"https:\/\/g33kinfo.com\/info\/#\/schema\/person\/c022e4c40b13ea1b678e6f020756f547"},"headline":"A little netwoking shtuff","datePublished":"2009-12-18T10:49:24+00:00","mainEntityOfPage":{"@id":"https:\/\/g33kinfo.com\/info\/a-little-netwoking-shtuff\/"},"wordCount":1301,"commentCount":0,"publisher":{"@id":"https:\/\/g33kinfo.com\/info\/#\/schema\/person\/c022e4c40b13ea1b678e6f020756f547"},"articleSection":["General Info"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/g33kinfo.com\/info\/a-little-netwoking-shtuff\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/g33kinfo.com\/info\/a-little-netwoking-shtuff\/","url":"https:\/\/g33kinfo.com\/info\/a-little-netwoking-shtuff\/","name":"A little netwoking shtuff - Linux Shtuff","isPartOf":{"@id":"https:\/\/g33kinfo.com\/info\/#website"},"datePublished":"2009-12-18T10:49:24+00:00","breadcrumb":{"@id":"https:\/\/g33kinfo.com\/info\/a-little-netwoking-shtuff\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/g33kinfo.com\/info\/a-little-netwoking-shtuff\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/g33kinfo.com\/info\/a-little-netwoking-shtuff\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/g33kinfo.com\/info\/"},{"@type":"ListItem","position":2,"name":"A little netwoking shtuff"}]},{"@type":"WebSite","@id":"https:\/\/g33kinfo.com\/info\/#website","url":"https:\/\/g33kinfo.com\/info\/","name":"Linux Shtuff","description":"Because I have CRS Syndrome...","publisher":{"@id":"https:\/\/g33kinfo.com\/info\/#\/schema\/person\/c022e4c40b13ea1b678e6f020756f547"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/g33kinfo.com\/info\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/g33kinfo.com\/info\/#\/schema\/person\/c022e4c40b13ea1b678e6f020756f547","name":"g33kadmin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/g33kinfo.com\/info\/wp-content\/uploads\/2022\/07\/minion-researchA.gif","url":"https:\/\/g33kinfo.com\/info\/wp-content\/uploads\/2022\/07\/minion-researchA.gif","contentUrl":"https:\/\/g33kinfo.com\/info\/wp-content\/uploads\/2022\/07\/minion-researchA.gif","width":512,"height":512,"caption":"g33kadmin"},"logo":{"@id":"https:\/\/g33kinfo.com\/info\/wp-content\/uploads\/2022\/07\/minion-researchA.gif"},"description":"I am a g33k, Linux blogger, developer, student and Tech Writer for Liquidweb.com\/kb. My passion for all things tech drives my hunt for all the coolz. I often need a vacation after I get back from vacation....","sameAs":["https:\/\/thelinuxreport.com","https:\/\/fb.me\/g33kinf0","https:\/\/x.com\/https:\/\/twitter.com\/drsinger1111"]}]}},"_links":{"self":[{"href":"https:\/\/g33kinfo.com\/info\/wp-json\/wp\/v2\/posts\/1205","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/g33kinfo.com\/info\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/g33kinfo.com\/info\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/g33kinfo.com\/info\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/g33kinfo.com\/info\/wp-json\/wp\/v2\/comments?post=1205"}],"version-history":[{"count":0,"href":"https:\/\/g33kinfo.com\/info\/wp-json\/wp\/v2\/posts\/1205\/revisions"}],"wp:attachment":[{"href":"https:\/\/g33kinfo.com\/info\/wp-json\/wp\/v2\/media?parent=1205"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/g33kinfo.com\/info\/wp-json\/wp\/v2\/categories?post=1205"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/g33kinfo.com\/info\/wp-json\/wp\/v2\/tags?post=1205"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}