Console into MikrorTik - HyperTerminal Settings

A quick post on how to set Hyperterminal or any other Console Software
so you can console into a MikroTik routerboard router.

Port Settings

Bits per second: 115200
Data bits: 8
Parity: None
Stop bits: 1
Flow control: None



Console into mikrotik RouterOS from Windows - HyperTerminal Settings

VMware windows 7 missing ethernet adapter

Have you ever had problems seeing the drivers of a virtual piece of hardware like a network adapter under VMware?

Recently I came across this when I had to help a friend to fix networking on a windows 7 virtual machine on VMware Workstation. His virtual machine would could not find drivers for the Ethernet adapter and he kept on installing and uninstalling the vmware tools in hopes of fixing it.

I had to help him. Well with a little help from my friends I found out about the infamous

ethernet0.virtualDev = "e1000"

missing from the virtual machine's .vmx

So I did put virtualDevs for both of the ethernet adapters in his virtual machine's vmx file like:
ethernet0.virtualDev = "e1000"
ethernet1.virtualDev = "e1000"


For no particular reason I put it just before everything ethernet* related in the vmx file. Guess what! It did not fix it! I kept on rebooting his virtual machine ... tried safe mode , windows repair , you name it.

However, Coffee-persistence always prevails. There is another entry in the vmx file named guestOS. Well this was set to "other" like:
guestOS = "other"


I changed guestOS to:
guestOS = "windows7"
and then I did set:
VM ->
settings ->
Guest Operating System ->
Microsoft Windows ->
Version: Windows 7

Yes! that did it! The Ethereal Adapter has drivers and Networking works!

So if you are missing the Ethernet Adapter driver in your Windows 7 machine:
  • turn your VM off
  • locate your VM's *.vmx file
  • add the line ethernet0.virtualDev = "e1000" to your VM 's vmx file
  • make sure that guestOS = "windows7" in your VM's vmx file
  • turn on your virtual machine normally and don't let windows to attempt to fix anything themselves


VMware windows 7 missing adapter --linux

make etc-network-interfaces and resolv.conf stick on ubuntu 12.04 desktop

There are plenty of good reasons for GUI Network Managers and complicated local DNS `cache` settings on Popular Linux Desktop Systems like Ubuntu 12.04.

There are plenty of good reasons for a technical person to get pissed on all these and start cursing while trying to figure out how to stop the Network Manager network-manager overwriting /etc/network/interfaces and stop resolvconf overwriting /etc/resolv.conf.

Why do I want to make /etc/network/interfaces and /etc/resolv.conf stick? Well, if you don't get it there is no reason explaining it.

To disable network-manager -- Make /etc/network/interfaces stick.
$sudo -s
#stop network-manager
#echo "manual" > /etc/init/network-manager.override


To disable resolvconf -- Make /etc/resolv.conf stick --

I ended up not disabling it ( just in case )
In Ubuntu 12.04 /etc/resolv.conf is just a symlink so it would be easy to change it /etc/resolv.conf to a regular file or change /sbin/resolvconf
but ...
If you disable network-manager you could just use /etc/resolvconf/resolv.conf.d/base as your /etc/resolv.conf and leave resolvconf alone.

# cat /etc/resolvconf/resolv.conf.d/base 
nameserver 10.1.2.12
nameserver 10.1.2.13


Make /etc/network/interfaces and /etc/resolv.conf stick on ubuntu 12.04 LTS desktop

BCM4311 Network controller on debian like systems

This is a quick post of how to get the Broadcom BCM4311 wireless card working on debian based systems ( ubuntu , *ubuntu , etc ).

BCM4311 is a descent wireless adapter used in many laptop computers. The thing is that many times it just does not work right after an installation and I am tired of trying to figure it out ( searching for that one debian packet I need to apt-get install ) every time, hence this post.

First of all this is the adapter I am talking about:
# lspci | tail -1
0c:00.0 Network controller: Broadcom Corporation BCM4311 802.11b/g WLAN (rev 01)


You should see at least that much with an lshw:
# lshw -C network
  *-network               
       description: Network controller
       product: BCM4311 802.11b/g WLAN
       vendor: Broadcom Corporation
       physical id: 0
       bus info: pci@0000:0c:00.0
       version: 01
       width: 32 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list


To fix it for good do:
$ sudo -s
# apt-get update
# apt-get install firmware-b43-installer
# apt-get remove bcmwl-kernel-source
# shutdown -r now


Once your computer comes up you should be able to use your wireless interface.
# iwconfig
lo        no wireless extensions.

eth1      no wireless extensions.

wlan0     IEEE 802.11bg  ESSID:off/any  
          Mode:Managed  Access Point: Not-Associated   Tx-Power=20 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off


# ifconfig wlan0
wlan0     Link encap:Ethernet  HWaddr 00:19:7d:61:8e:ab  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)



Note: the one above is not my Mom's neither Nick's MAC. It is made up.
I am sorry if it's yours.



BCM4311 Network controller on debian like systems