Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
bsd [2006/07/06 12:58]
a working with vlans
bsd [2008/11/28 10:21]
einherjar
Line 1: Line 1:
 ====== BSD ====== ====== BSD ======
 +<html><div float=right></html> 
 +<box 60% round orange right|**BSD related links**> 
 +   * [[http://www.netlife.co.za/content/view/34/34/|BSD Dual Wan Router (pfsense)]] 
 +   * [[http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-building.html|Building and Installing a Custom Kernel]] 
 +</box> 
 +<html></div></html>
 ===== FreeBSD ===== ===== FreeBSD =====
-[[http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-building.html|Building and Installing a Custom Kernel]]+  
 + 
  
 ==== Network stuff ==== ==== Network stuff ====
 +**Forcing link speed**
  
-**working with routes**+   ifconfig em0 media 100BaseFX mediaopt full-duplex 
 + 
 +^parameter^description^ 
 +|**autoselect**|Enables auto-negotiation for speed and duplex.| 
 +|**10baseT/UTP**|Sets 10Mbps operation.  Use the mediaopt option to select            full-duplex mode.| 
 +|**100baseTX**|Sets 100Mbps operation.  Use the mediaopt option to select                full-duplex mode.| 
 +|**1000baseSX**|Sets 1000Mbps operation.  Only full-duplex mode is supported                  at this speed.| 
 +|**1000baseTX**|Sets 1000Mbps operation.  Only full-duplex mode is supported                  at this speed.| 
 +|**full-duplex**|Forces full-duplex operation| 
 +|**half-duplex**|Forces half-duplex operation.| 
 + 
 +**working with routes (print routing table)**
    netstat -rn    netstat -rn
  
Line 13: Line 32:
   ifconfig vlan0 vlan 4 vlandev fxp0   ifconfig vlan0 vlan 4 vlandev fxp0
   ifconfig vlan0 inet a.a.a.a netmask x.x.x.x up   ifconfig vlan0 inet a.a.a.a netmask x.x.x.x up
 +
 +**Globetrotter UMTS Card**
 +  cd /usr/ports/comm/hso-kmod/
 +  make install clean
 +  kldload hso
 +  hsoctl -n -a internet -p PIN hso0 -u mobitel -k internet
 +  
 +  There is a problem with the code used from ports (at least for me it was). 
 +  If you'll get disconnected right after connection, go to http://www.shapeshifter.se/code/hso/ and download/install the code manually. 
 +  It's pretty trivial so no problems with it. 
  
 **Firewalling** **Firewalling**
  
   ipfw list   ipfw list
 +
  
 ===== OpenBSD ===== ===== OpenBSD =====
 +   * [[http://www.openbsd.org/faq/pf/carp.html|Firewall Redundancy with CARP and pfsync]]
 +   * [[http://www.benzedrine.cx/ackpri.html|Prioritizing empty TCP ACKs with pf and ALTQ]]
 +
 ===== NetBSD ===== ===== NetBSD =====
 ===== FruBSD ===== ===== FruBSD =====
 Going through heavy developing phase ...  Going through heavy developing phase ... 
bsd.txt · Last modified: 2010/06/08 13:50 by a
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0 ipv6 ready