This is an old revision of the document!


BSD

FreeBSD

Network stuff

Forcing link speed

 ifconfig em0 media 100BaseFX mediaopt full-duplex
parameterdescription
autoselectEnables auto-negotiation for speed and duplex.
10baseT/UTPSets 10Mbps operation. Use the mediaopt option to select full-duplex mode.
100baseTXSets 100Mbps operation. Use the mediaopt option to select full-duplex mode.
1000baseSXSets 1000Mbps operation. Only full-duplex mode is supported at this speed.
1000baseTXSets 1000Mbps operation. Only full-duplex mode is supported at this speed.
full-duplexForces full-duplex operation
half-duplexForces 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 …

bsd.1227864103.txt.gz · Last modified: 2009/05/25 00:34 (external edit)
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0 ipv6 ready