Thursday, 17 September 2015

WiFi Debian HP ProBook 6360b

You need to get the right drivers , its pretty easy this one

Start up Debian and this shit happens....

The button on the laptop is orange(meaning off) and wont turn on WiFi when pressed, firstly switch user to root (su) then run this command to list the utility with the nn flag to show the vendor code then grep on network and ignore the case sensitivity with the i flag.

root@michael-debian:/home/michael# lspci -nn |grep -i network
00:19.0 Ethernet controller [0200]: Intel Corporation 82579V Gigabit Network Connection [8086:1503] (rev 04)
24:00.0 Network controller [0280]: Broadcom Corporation BCM43224 802.11a/b/g/n [14e4:4353] (rev 01)

So we know the broadcom is there, we can also see the Ethernet controller, could probably do something fancy with xargs or something to remove anything that contains Ethernet but that would just be sad.

Ok so we can see the wireless adapter which just means we need a driver, these are negative in the freedom dimension so we will have to edit the file /etc/apt/sources.lis and add this line. If you are a real noob then use this command

nano /etc/apt/sources.list

add this to the end of the sources list file

deb wheezy main contrib non-free

so now you have another source or repo to download contrib and non-free files from Debian is all free (as in freedom) software out of the box so you have to do this. Now you have the new source you can download your driver from it. Run an update && install the driver

# apt-get update && apt-get install firmware-brcm80211

OK lets probe the module:

root@michael-debian:/home/michael# modprobe -r brcmsmac ; modprobe brcmsmac

We can see the WiFi card in network manager but the switch is still orange on the laptop and doesn’t respond when pushed...restart PC(reboot command)

We have WiFi now working

OK once you have your WiFi on you can sit on the couch no need to be cabled in, here are some packages I add to the system before I get going, you should make up your own list then just it on a new install

Firstly back into the sources file and add this source, you can also remove the debian dvd from the top of the list if you want to keep things tidy.

deb wheezy main contrib non-free

Here's a good wee list to get you going put the -y flag on the end and apt will assume yes to all the yes/no questions.. My advice would be to keep a list of the programs you install then you can run them all at once if you have to reinstall or get a new computer.

apt-get install icedove filezilla dia wireshark bluefish cutecom putty cowsay fortune flashplugin-nonfree -y

There you have it, a laptop fit for a student or a workers or anyone really - no need to buy a dear macintosh or a dirty windows PC. I picked up the HP I'm using for about £250 on eBay, so far it's a great PC.

GNS3 Latest Version on Debian Unstable Sid

 GNS3 Latest Version on GNU/Debian Sid


Refined method of getting GNS3 on GNU/Debian unstable Strech/Sid, should also work on jessie, watch out for version numbers, just tab out the file names to avoid getting caught by a .1.2.3 etc, put the package installs into one liners. OK start off logging in as root, to save messing about with sudo, some people will disagree with this but i think fuck it, just log in as root ffs.

# install x86, update and get dependent software

$ su
$ dpkg --add-architechture i386
$ apt-get update && apt-get upgrade
$ apt-get install gcc python3-dev python3-setuptools python3-pyqt4 python3-ws4py python3-zmq python3-tornado python3-netifaces cmake libelf-dev uuid-dev libpcap-dev

#go to the website and get the latest version then cd to the downloads folder, then build dynamips
$ unzip
$ unzip
$ cd dynamips-0.2.14
$ mkdir build
$ cd build
$ cmake ..
$ make
$ make install
$ setcap cap_net_admin,cap_net_raw=ep /usr/local/bin/dynamips

#cd back to the Downloads folder and build GNS3 server
$ unzip
$ cd gns3-server-1.2.1
$ python3 install

#cd .. back to downloads and install GNS3 gui
$ unzip
$ cd gns3-gui-1.2.1
$ python3 install

#cd back to downloads and install IOU pre-reqs
$ apt-get install libssl1.0.0:i386
$ ln -s /usr/lib/i386-linux-gnu/ /usr/lib/
$ apt-get install bison flex git
$ git clone
$ cd iniparser
$ make
$ cp libiniparser.* /usr/lib/
$ cp src/iniparser.h /usr/local/include
$ cp src/dictionary.h /usr/local/include

#cd .. back to downloads and build the IOUYAP
$ unzip
$ cd iouyap-0.95
$ make install
$ cp iouyap /usr/local/bin/

#cd back to downloads and install VPCS
$ unzip
$ cd vpcs-0.6/src
$ ./
$ cp vpcs /usr/local/bin/
#start me up

$ gns3