March 25th, 2008
The Intel® PRO/Wireless 2200BG and 2100 Drivers for Linux project were created by Intel to enable support for the Intel PRO/Wireless 2915ABG Network Connection, Intel PRO/Wireless 2200BG Network Connection mini PCI adapters and Intel PRO/Wireless 2100 Network Connection mini PCI adapter. This projects (IPW2200) and (IPW2100) are intended to be a community effort as much as is possible given some working constraints (mainly, no HW documentation is available)
Requirements
This assumes you have a working Fedora installation and that you have configured yum to use rpm.livna.org
Doing the work
- Update your system
su -c "yum update"
If your kernel was among the items updated you will want to reboot.
- Next you need to determine which firmware is suited for your card.
su -c "/sbin/lspci | grep Wireless"
If your output is like the first line below you want to install ipw2200-firmeware, if it reads like the second line you want to install ipw2100-firmware
02:01.0 Network controller: Intel Corporation PRO/Wireless 2200BG (rev 05)
02:01.0 Network controller: Intel Corporation PRO/Wireless LAN 2100 3B Mini PCI Adapter (rev 04)
- Now that you have determined which firmware you need you need to install the firmware:
su -c "yum install ipw2xxx-firmware"
Substiute the correct firmware for your card (i.e. ipw2100 or ipw2200) This install the firmware required for you wireless network card.
- Once the firmware is installed reboot your machine.
- Configure your eth0 wireless card normally
su -c "system-config-network"
Troubleshooting
How to test
Open a terminal.
Then type:
ping yahoo.com
Then press Enter.
Results similar to the ones below should be displayed.
PING yahoo.com (216.109.112.135) 56(84) bytes of data.
64 bytes from w2.rc.vip.dcn.yahoo.com (216.109.112.135): icmp_seq=0 ttl=53 time=274 ms
64 bytes from w2.rc.vip.dcn.yahoo.com (216.109.112.135): icmp_seq=1 ttl=53 time=290 ms
64 bytes from w2.rc.vip.dcn.yahoo.com (216.109.112.135): icmp_seq=2 ttl=53 time=305 ms
64 bytes from w2.rc.vip.dcn.yahoo.com (216.109.112.135): icmp_seq=3 ttl=53 time=318 ms
64 bytes from w2.rc.vip.dcn.yahoo.com (216.109.112.135): icmp_seq=4 ttl=53 time=305 ms
--- yahoo.com ping statistics ---
5 packets transmitted,
5 received,
0% packet loss,
time 5018msrtt
min/avg/max/mdev = 274.589/298.836/318.172/14.934 ms,
pipe 2
Common problems and fixes
Check this link for known issues with IPW2200-Firmware http://ipw2200.sourceforge.net/#issues
Check this link for known issues with IPW2100-Firmware http://ipw2100.sourceforge.net/#issues
More Information
Disclaimer
We test this stuff on our own machines, really we do. But you may run into problems, if you do, come to #fedora on irc.freenode.net
Added Reading
Posted in Uncategorized | No Comments »
March 25th, 2008
Today I will go about Setting up subversion. I am not going to install subversion since it is already installed by fedora.
The version FC 4 installs is
svn, version 1.1.4 (r13838)
compiled Apr 13 2005, 12:20:50
Copyright (C) 2000-2004 CollabNet.
Subversion is open source software, see http://subversion.tigris.org/
This product includes software developed by CollabNet (http://www.Collab.Net/).
The following repository access (RA) modules are available:
* ra_dav : Module for accessing a repository via WebDAV (DeltaV) protocol.
- handles ‘http’ schema
- handles ‘https’ schema
* ra_local : Module for accessing a repository on local disk.
- handles ‘file’ schema
* ra_svn : Module for accessing a repository using the svn network protocol.
- handles ’svn’ schema
After doing yum update subversion
svn, version 1.2.3 (r15833)
compiled Aug 26 2005, 03:42:45
Copyright (C) 2000-2005 CollabNet.
Subversion is open source software, see http://subversion.tigris.org/
This product includes software developed by CollabNet (http://www.Collab.Net/).
The following repository access (RA) modules are available:
* ra_dav : Module for accessing a repository via WebDAV (DeltaV) protocol.
- handles ‘http’ scheme
- handles ‘https’ scheme
* ra_svn : Module for accessing a repository using the svn network protocol.
- handles ’svn’ scheme
* ra_local : Module for accessing a repository on local disk.
- handles ‘file’ scheme
- Now what I have to do is set up repositories
- Get a subversion dump from the old system.
- Import the Subversion Dump
Posted in Uncategorized | No Comments »
March 25th, 2008
Css can be pretty tricky. In this blog I will keep appending the quirks I notice in CSS.
:
When a Div is floated the div will cut across the containing div if the containing div is smaller than the floated div.
Fix:
Create
another inner div at the end of the containing div and give the Css
property clear:both. This will force the containing div to be bigger
than the inner div’s.
Posted in Uncategorized | No Comments »
March 25th, 2008
I tried it out today. The details of Java Policy which controls what each program can and cannot do.
However there were a some grey areas which I thought I needed to jot down for further reference.
- It is best to put the policies in ${user.home}/.java.policy
- If 1 is not possible then the confusion lies as to where to put the policy
- You could put it in any file as long as you add it to the ${java.home}/lib/security/java.security file.
- The entry to be made is policy.url.3=file:/D:/JavaTest/mypolicy (windows)
- This works for applet viewer but not mozilla
- Java usually downloads the latest version of JRE and installs it. Mozilla uses the latest version so. For Mozilla it is not enough to change ${java.home}/lib/security/java.security file but the /lib/security/java.security of the latest version of JRE.
Posted in Uncategorized | No Comments »
March 25th, 2008
I will start into intergrating Appfuse with XFire and JMS using ActiveMQ.
I have got to intergrating ActiveMQ with appfuse. Although it was quite a round about way.
Since ActiveMQ is concerned with the service Layer. I have all my classes and confiugration in this layer.
Steps involved:
Added applicationContext-messaging.xml with the following contents to src/service/com/trailsindia/xfire/service/ directory.
“http://www.springframework.org/dtd/spring-beans.dtd”>
value=”classpath:com/trailsindia/xfire/service/activemq.xml”>
Copied the activemq.xml from %ACTIVEMQ_HOME%/conf to src/service/com/trailsindia/xfire/service/
Created Directory /lib/activemq-4.0.1
Copied activemq-4.0.1.jar from %ACTIVEMQ_HOME% to /lib/activemq-4.0.1
appended the foll to lib.proporties
activemq.version=4.0.1activemq.dir=${lib.dir}/activemq-${activemq.version}activemq.jar=${clickstream.dir}/activemq-${activemq.version}.jar
Modified build.xml to include activemq.jar in war
Modified build.xml to include applicationContext-messaging.xml and activemq.xml in package service.
Posted in Uncategorized | No Comments »
March 25th, 2008
Yum Configuration
by Richard June and Bob Jensen —
last modified 2006-10-25 15:27
We suggest that the only repository you use is http://rpm.livna.org/ . Fortunately, it’s easy to setup, and contains most packages that you want, but can’t get from fedora core plus extras. This is because most other repositories do not mix well with extras, and in some cases(atRPMs) turn your machine into a hulk of useless metal.
Applicable to Fedora Versions
Requirements
This HOWTO requires a installation of fedora, preferably one with a default yum config(only fedora core and fedora extras).
Doing the work
Fedora Core 6
- Click here, Select open with install packages, then type in the root passwd.
or
Open a terminal and issue the following command
$ su -c 'rpm -Uvh http://rpm.livna.org/livna-release-6.rpm'
Fedora Core 5
- Click here, Select open with install packages, then type in the root passwd.
or
Open a terminal and issue the following command
$ su -c 'rpm -Uvh http://rpm.livna.org/livna-release5.rpm'
Troubleshooting
How to test
From a shell, run yum info xmms-mp3 if you get an error, livna is not configured properly
Common problems and fixes
Usually, the livna package didn’t get installed. rpm -q livna-release will tell you. If it’s not installed, try installing again, then test it again.
More Information
Disclaimer
We test this stuff on our own machines, really we do. But you may run into problems, if you do, come to #fedora on irc.freenode.net
Added Reading
Posted in Uncategorized | No Comments »
March 25th, 2008
Hi,
I’m comming to you live in from Sun Tech Summit.
Interesting Topics like Java Persistance 1.0
Oppertunity for creating very large communites online.
Eliminate the Digital Divide: 75% has not access to the IP network.
Strategy: Sharing (Open Source). Share it while it is useful. Sharing builds large communities.
6 Billion java device.
90% of the Cell phones has java on them.
Awesome. Just get Java.
Come in we’re Open.
25% of members of SDN are from India.
Ultra Spark T2 is Open Sourced.
Program for Multithreading.
Java FX
Java FX Mobile
Open JDK
netBeans
Check out DTrace.
On Wikipdeia
BigAdmin: Dtrace
Open Solaris:
Super Computing on Hire:
Register and get 200 Hrs. free and the rest @ $/hour.
SuperComputer
Open Source Cirricula:
Curriki
Check out OKI from MIT Labs. (Open Knowledge Initative
Posted in Uncategorized | No Comments »
March 25th, 2008
Today I looked into Outer Joins and Inner Joins. I have never used joins (Explicit) always relied on the Implicit joins created by the where clause.
In Outer Joins we have Right Outer Joins and Left Outer Joins and Full Outer Joins. What this basically means is that if there is as foll:
Left Outer Join:
All the records in the first table will be displayed even though there is no corresponding records in the second table.
Right Outer Join:
All the records in the second table will be displayed even though there is no corresponding record in the first table.
Full Outer join.
All the records of both the table will be displayed.
A Good example is given here.
Join (SQL) - Wikipedia, the free encyclopedia
Posted in Uncategorized | No Comments »
March 25th, 2008
Today I had a problem. I had a complex bean (Bean which contained other beans) which was being sent as JRBeanCollectionDataSource (JasperReports API version 2.0.2) to a Jasper Report.
This report had to have sub reports for the inner bean. I really could not find out how to pass the bean to the subreport from my main report.
Finally I cracked the nut.
What I did was set the DataSourceExpression in the Subreport element to
Where $F{taxBeanList} is a collection of Tax Beans.
In My subreport I do not have any datasource or queires. This sort of got it working.
I hope to add more to this post in future when I reread it and find some gaps.
Posted in Uncategorized | No Comments »
March 25th, 2008
I know the best way would be using ant or maven. But for those of you who whants to do it using the plain old scripting way here goes.
I wanted to show a colligue of mine how to compile java files using plain bash scripts. I rely hevealy on find command.
What I wanted was to write a script that will compile all the java files found (recursuvely in subfolders) in a folder.
I also wanted to add all the lib files found in another folder to the class path.
This is what I came up with.
Posted in Uncategorized | No Comments »