You are currently browsing the category archive for the ‘Linux’ category.

After toiling for about 2 hrs i got this working , since someone in LUG was asking for it here is a howto.

Note: There is no need to have any linux knowledge for this howto . So njoi ;)

To check whether you have this card or not run the following command

lspci | grep Network

It should give some output similar to :-

05:02.0 Network controller: Broadcom Corporation BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller (rev 02)

Before doing the actual procedure install the latest versions of “gcc” “kernel-devel” and “compat-libstdc++-33″ .

This can be done by :-

yum -y install gcc kernel-devel compat-libstdc++-33″

Download the zip file for here .

unzip it :-

unzip fc7_4318.zip

Then run the following commands ( note: % are for comments remove content after that for running commands )

$cd fc7_ 4318

$cd ndiswrapper*

$make;make install %This installs ndiswrapper

$/usr/sbin/ndiswrapper -i ../bcmwl/bcmwl5.inf %This installs the driver through ndiswrapper

Now the driver has been installed . To verify whether everything went fine run the following command

$/usr/sbin/ndiswrapper -l

” bcmwl5 : driver installed” should be the output .

Now open the file /etc/modprobe.conf in your favourite editor .. i am using Vim.And add the following line:

alias wlan0 ndiswrapper

Go to “System” > “Administration” > “Network”, type your root password, click on “New” and in the “Select Device Type” dialog select “Wireless connection”. Click “Forward”. In the “Select Wireless Device” dialog select “ndiswrapper (wlan0)”. Click “Forward”. In the “Configure Wireless Connection” dialog fill in your wireless LAN information. Put the key before the hex key for your WEP encryption. Click “Forward”. In the “Configure Network Settings” dialog select “Automatically obtain IP address settings with DHCP or put your info in the appropriate boxes if you have a fixed IP address. Click “Forward”. Click “Apply”. In the “Network Configuration” dialog double click on “wlan0″ and fine tune the settings. Be sure to tick the checkbox for “Activate device when computer starts”, then click the “Wireless Settings” tab, select “Auto” in the “Mode” box, select “Specified” under “Network name (SSID)” and type in your SSID, channel and encryption hex key (if you have not already done so) and be sure to preface the hex key with “0x”, select “Auto” in the “Transmit rate:” box. Finally click “ok”. Then in the “Network Configuration” dialog click on the “Activate” button while “wlan0″ is selected to activate it. You may want to de-activate your normal Ethernet connection (eth0) at this point by highlighting it, selecting “edit”, unticking the “Activate device when computer starts” checkbox, clicking “ok”, and then disabling it by clicking on the “Deactivate” button while it is still highligthed.

For people who got some output like

bcmwl5 : driver installed
device (14E4:4318) present (alternate driver: b43)

This means you have alternate drivers for the same card which isnt working . So you need to blacklist them here is the command which will do that :-

echo “blacklist b43″ > /etc/modprobe.d/blacklist

Thats it .Reboot and you should be able to connect to your wireless network

NOTE: Tested for fedora core 7 ( Moonshine)  on Compaq Presario M2000.

PS: My second wireless howto :D

PS1: Will add some screenshots later .

PS2: Faculty v/s Students Cric match rocked !!

PS3: Congrats himank for getting Hip-Hip Hurray’s Directors comment :) . You surely deserve some bumps :D .

PS4: 5 sixes in last over :( Yuvi sucks .

After toiling for about a month , my wireless in now working in Fedora Core 4.I had tried everything from madwifi to ndiswrapper but nothing helped me.
Actually the D-link G510 card has Four versions rev A , B , C and D.The first
two are Atheros based cards , hence they can easily be used by using madwifi
drivers.But C and D are not atheros based , they have to be installed by using
Ra-link drivers ( i am not sure about D though :D ).So here is the procedure to install wireless drivers for D-Link G510 rev C.

1.Download the Ra-link drivers from http://www.ralink.com.tw/drivers/Linux/RT61_Linux_STA_Drv1.0.4.0.tar.gz

2.untar the file $tar -xvzf RT61_Linux_STA_Drv1.0.4.0.tar.gz

3.run the following commands :-

$ cd RT61_Linux_STA_Drv1.0.4.0/Modules
$ cp Makefile.6 Makefile
$ make all
$ mkdir /etc/Wireless/
$ mkdir /etc/Wireless/RT61STA/
$ cp *.bin /etc/Wireless/RT61STA/
$ dos2unix rt61sta.dat
$ cp rt61sta.dat /etc/Wireless/RT61STA/rt61sta.dat
$ /sbin/insmod rt61.ko
$ /sbin/ifconfig ra0 inet YOUR_IP up
$ /sbin/iwconfig ra0 ESSID “put the essid here”
$ dhclient ra0
4.Try to ping to some ip .If is pinging , voila you are connected. else , dont
worry even i was not able to ping .run the following commands :-

$ /sbin/iwpriv ra0 set SSID=”your essid” CxRate=12 NetworkType=Infra
( this depends on your connection , see man iwpriv for more options ,For
IIITians these will be enuf ;) )

$ /sbin/iwlist ra0 scanning

By running the last command , you should get some cells ( i.e Access Points )
If you are getting them this means your wireless card is now ready to use.Now
you just need to write the configuration script

5.Writing the configuration script
Go to the directory /etc/sysconfig/network-scripts
Open a new file named “ifcfg-ra0″ ( $ vi ifcfg-ra0 ) using any editor

Copy and Paste the following :-

STARTMODE=hotplug
MODE=Managed
DEVICE=ra0
ESSID=’your essid’
onBOOT=yes
USERCTL=yes
IPV6INIT=no
HWADDR=
BOOTPROTO=none
NETMASK=”your netmask”
DHCP_HOSTNAME=
IPADDR=”your ip address here”
DOMAIN=
PEERDNS=yes
GATEWAY=”your default gateway here”
TYPE=Wireless
ONBOOT=yes
RATE=Auto
CHANNEL=1

make sure you make the neccesary changes ( i.e ESSID , ip gateway ) ;)

6.run neat command and then activate the wirless from there.

7.run this command $kwifimanager

it will open a wifi manager. try to search for networks.It will automatically
connect to the network

8.Copy the rt61.ko file and keep it somewhere . every time you reboot , go to the directory and type

the following commands

/sbin/insmod rt61.ko

/sbin/ifconfig ra0 inet up

that’s enuf for the card to start working

PS: Looking forward to install dcpp ( dc++ for linux with better gui )
PS1: Yesterdays OS assignment rocked :D
PS2: I am thanful to kulbir for helping me in writing configuration scripts
PS3: Looking forward to help Nishant sir in Linux Cluster’s

powered by performancing firefox

Just wanted to show my present desktop ;) .Click below for bigger pic

desktop

Adios

Tifosi

There is a command line download manager “wget” ( to use it type $wget[enter] ) .This package is usually included in the Fedora distros dont know about others .i used to use this as it was really fast and easy to use . But then sometimes i used to get very slow speeds .So i thought of searching for a better download manager for linux ( preferably command-line ;) ).

With help from google ( ;) ) i managed to find two great download managers

1. AXEL ( command-line)
2. Prozilla ( GUI )

1. AXEL :-

It’s mecanism is simple .It opens more than one HTTP/FTP connection per download and each connection transfers its own, separate, part of the file. It may sound weird, but it works very well in practice. For example, some FTP sites limit the speed of each connection, therefore opening more than one connection at a time multiplies the allowable bandwidth. Be forewarned that some FTP operators don’t like it when you do this. It is better to open the additional connections on several servers and download from all of them simultaneously. Axel supports this feature too. You may either specify a list of mirrors to use or tell the program to search for mirrors.

Installing AXEL :-

For Debian users :-

# apt-get install axel

For Others :-

1. Download the tar file :-

wget http://wilmer.gaast.net/downloads/axel-1.0b.tar.gz

( you will use wget for the last time for this i gurantee u ;) )

2.Untar the tarball :-

tar -zxvf axel-1.0b.tar.gz

3.Configure and compile the code :-

./configure

4. Install Axel :-

make install

To download a file all you gotta do is :-

axel http://somesite.com/something.som

Its very fast than wget … as much as 400% ( varies frm server to sever , file to file :D )

2.Prozilla

One of the drawbacks of axel is that u cant specify the ftp user name and password .For this u can use prozilla an equally fast downloader comes with a decent gui.

u can either install by using apt ( debian users ) or yum ( others ).Or u can download it frm the offical website

u can use it by typing :-

$ proz http://somesite.com/something.som

SO happy downloading

If u have found a better downloader please inform me in the comments

PS:i am writing this post @ 4:44 am :(

PS2:I think i will sleep now , buzy day ahead

PS3: Finished top have to finish talk command :( ..today is the submission :(

PS4: It’s very hard to find a topic to write on :D

# of visitors ;)

  • 309,208 visitors till date
My current Mood
My Unkymood Punkymood (Unkymoods)
Also a part of :-



BEGIN GEEK CODE BLOCK
Version: 3.1
GCS d- s+:+>s++:s++ a--- C+++ UL++ P L++ E--- W+++ N-- o+ K++ w O-- M? V? PS+++ PE-- Y PGP- t 5? X R- tv b+ DI+ D+ G e h-- !r y?
END GEEK CODE BLOCK

www.That70sShow.com


Use OpenDNS

Kalendor

June 2012
S M T W T F S
« Feb    
 12
3456789
10111213141516
17181920212223
24252627282930
Follow

Get every new post delivered to your Inbox.

Join 370 other followers