Twitter Updates

    follow me on Twitter

    G-AVLN in front of her home

    G-AVLN in front of her home

    Mostly Unix and Linux topics. But flying might get a mention too.

    Friday, April 11, 2014

    Broadcom wireless on HP 6735s with Mint 16

    Last time I installed Linux on this laptop, it was Ubuntu 10.10. I can't remember what I did to get the wireless working, but it was painful. 

    So when I started Mint 16, and wireless didn't get recognised, I had a vision of big trouble. However, one of the first articles I found was linux mint tutorial.

    Followed the instructions and it all worked without a glitch.

    The only comment I will add is that (of course) you need to connect to the  Internet using a wired connection first. After that:

    (1) Identify your wireless chip:

    $ sudo lspci -nn | grep BCM
    06:00.0 Network controller [0280]: Broadcom Corporation BCM4312 802.11b/g LP-PHY [14e4:4315] (rev 01)

    (2) Confirm that it is supported, against the hardware compatibility list. Look for the item indexed by the highlighted number above. Here, I'm assuming your device is supported. If not, I can't help any further...

    (3) Install the driver with the following command:
    $ sudo apt-get install firmware-b43-installer

    Disconnect the wired cable, and wireless should pick up where Ethernet left off. Mind you, I had to restart GUI for the applet to refresh and show the wireless icon correctly.

    Wednesday, April 09, 2014

    Network fix for Red Hat 7 (Beta) in VMWare Workstation

    Having installed Red Hat 7 into VMWare Workstation 10, I was disappointed I wasn't able to connect to the network. Despite VMWare showing card as connected in the bridge mode, within the guest the was no interface available. On second thought, I should have expected it, since during the initial install anaconda reported "no network connection available".

    I googled the problem a lot, and the two prevailing solutions didn't do it for me. One was to re-install VM Tools (which I did - but no improvement). The other involved a spectacularly complex installation of a local repository in order to modify the install - I didn't attempt this, although there were users who said this worked for them. Instead, I tried a more basic solution, admittedly a somewhat hammer approach: beat the installation into accepting the card.

    The configuration below assumes your host is connected to the Internet, and somewhere on your LAN there is a DHCP server available.

    (1) We need to modify the guest's configuration and pass the e1000 card information into it. We will do this by modifying VM configuration, which should never be done whilst the VM guest is running. So, shut down the VM guest, then edit its .vmx file and append the following line:

    ethernet0.virtualDev = "e1000"

    The choice of e1000 as the assignment for the missing Ethernet interface card is just a guess - a decent default to use... Worked for me.

    (2) Start the VMWare Red Hat 7 guest.

    (3) NetworkManager is useful on laptops, where wireless discovery is needed. Other than that I always disable it (otherwise it is difficult to separate its functionality from the actions of the basic network service). May not be necessary, but always a good thing to do :-)

    # systemctl stop NetworkManager
    # systemctl disable NetworkManager
    # systemctl list-unit-files|grep Network
    NetworkManager-dispatcher.service          disabled
    NetworkManager-wait-online.service         disabled
    NetworkManager.service                     disabled

    (4) Identify the name assigned to the Ethernet interface, using ip command

    # ip  l l
    2: eno16777736: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT qlen 1000
        link/ether 00:0c:29:b4:14:9d brd ff:ff:ff:ff:ff:ff

    (5) Configure card script file

    # vi /etc/sysconfig/network-scripts/ifcfg-eno16777736


    (6) Create network script links; start the interface card; enable the network service

    # chkconfig --level 345 network on
    # /etc/sysconfig/network-scripts/ifup-eth eno16777736
    # /etc/init.d/network/start
    Starting network (via systemctl)


    (7) Test with ifconfig, ping and dig

    # ifconfig eno16777736
    eno16777736: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
            inet  netmask  broadcast
            inet6 fe80::20c:29ff:fe46:dcfd  prefixlen 64  scopeid 0x20<link>
            ether 00:0c:29:46:dc:fd  txqueuelen 1000  (Ethernet)
            RX packets 202  bytes 19631 (19.1 KiB)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 175  bytes 16269 (15.8 KiB)
            TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

    # ping
    PING ( 56(84) bytes of data.
    64 bytes from icmp_seq=1 ttl=44 time=36.0 ms
    64 bytes from icmp_seq=2 ttl=44 time=32.7 ms

    # dig
    [...]        600    IN    A

    Blog Archive