This is an old revision of the document!
BSD
BSD related links
FreeBSD
Network stuff
Forcing link speed
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
creating interface vlans
ifconfig vlan0 create ifconfig vlan0 vlan 4 vlandev fxp0 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
ipfw list
OpenBSD
NetBSD
FruBSD
Going through heavy developing phase …