01110100110101010101011101100010
college
Ion Auto Login script in Python
Sep 16th
i was just thinking about making the very famous IAL script of DJ in python and here is it and its damn simple
import urllib, urllib2, time
username = "Your username"
password = "Your Password"
interval = 10
data = {"loginID":username,"loginpassword":password,"flag":"0","popcheck":"0","submit":"Sign In"}
value = urllib.urlencode(data)
request = urllib2.Request("http://192.168.150.2:8080/clntAuth/clntAuth_main.jsp",value)
print "Logging In\nMade by Ankur - http://ankurs.com"
while (1):
open = urllib2.urlopen(request)
responce = open.read()
for i in range (1,interval):
print (interval-i),"min Till Next Login"
time.sleep(60)
print "Logging In\nMade by Ankur - http://ankurs.com"
or downlaod
run it by typing python ial.py
it uses urllib, urllib2 and time which are the default module, you have to change the username and password to your username and password, changing the interval changes the time interval in which auto login takes place. enjoy!!
PS – current it does no check if your connection is active or not, will add that soon
Accessing any site blocked by sonic wall!!!
Aug 26th
Removed because of objection form ION
old text avaliable here
Accessing Internet Without use of mac address anywhere
Jul 30th
I have been noticing one thing from a long time that many internet providers ( like ION in manipal ) use mac addresses to limit other people from accessing their network but they dont actually have a proper knowledge of it, so here is the way to make any computer whose mac address in not there with the service provider to use the internet and you dont have to change any mac addresses or anything, well the steps are right below
1) Find any one using Internet on the particular ISP
2) See his connection details like his IP, Subnet, gateway ( or default route ), primary DNS, Secondery DNS
3) Now in your OS set a custom IP say you saw the persons IP as 10.49.3.23 so set your IP as say 10.49.4.203 and enter other details that you found like subnet as 255.255.0.0, gateway or default route as 10.49.0.1, primary DNS as 61.1.128.65 and secondary DNS as 218.248.47.30
4) now connect to the network and enjoy ( you might have to login and there are multiple logins allowed so you can use any of your friends username and password to login )
5) And you might want to check out this if you are on ION
Now to know how it works, if you want to know how it works then continue reading else there is no need to read further
By taking mac addresses they assign you IPs using DHCP based on the mac that they have so if you assign it yourself you have no need to use DHCP and everything works just fine
Enjoy!!!!
Note:- If you get IP conflict change your IP and try again
Automatic Login and pop-up block on I-ON
Apr 9th
Are you sick of the same I-ON login page that asks you to enable pop-ups every time you open your browser and try to access the Internet, are you sick of entering your username and password again and again. I think i have a very very simple solution for all your problems. Just copy the below code and save it as any name say ankur.html and just make it homepage of your browser and dont forget to replace “your username” and “your password” to the actual one you are using, now whenever you open your browser TaDa you are all set to go and one more thing if you dont want the pop-up you can just disable them no need to enable them
Copy from here
<script type="text/javascript">
function login()
{
document.loginframe.submit();
}
</script>
<body onload="login()" >
<form name="loginframe" method="post" action="http://192.168.150.2:8080/clntAuth/clntAuth_main.jsp">
<input type="submit" value="Sign In" >
<input type="hidden" name="loginID" value="your username">
<input type="hidden" name="loginpassword" value="your password">
<input type="hidden" name="flag" value="0">
<input type="hidden" name="popcheck" value="0">
</form>
</body>
Till here
This is a very simple method you can understand it just by reading the above code, i knew this method from a long time but have posted it now because of a recent event anyway dont forget to replace “your username” and “your password” to the actual one you are using
Happy Surfing!!!!!
PS – I will really be happy to hear if it helps you or not………..
LUG Manipal has a WIKI now
Feb 7th
LUG is a collaborative project with people coming from all walks of life to work to work together for a common project or cause. Inspired by Wikipedia’s success as a collaborative project we thought of having a wiki at our site so that we can have a platform for working together. We can have vast details and ideas put up on the wiki for everyone to view later.
The Wiki’s URL is http://wiki.lugmanipal.org
come on people lets make it WWW == Wild Wild Wiki
Fedora 8 Install Fest in MIT Manipal
Jan 28th
For the First time in History of Manipal a Linux ( Fedora 8 ) Install Fest took place on the Campus, it was organized by Linux user Group Manipal. It was Basically a 2 Day Fest, on 24th a Pre-Install Fest / Meet was there where participants were Informed about the requirements, advantages and Importance of GNU/Linux and what all we will be doing in the second day i.e. 25th , there were all information given about various events held by companies inviting students to innovate. The Day ended with the collection of DVD to be burned for 25th Main Fest and some 45+ DVD’s were collected with DVD’s still coming till start of Second day

Second day began with partitioning and distribution of DVD’s after which the main install fest began and all the steps were shown and explained, there was some DVD corruption / Improper burning but everything else was just fine, a script was prepared for upgrading Compiz and enabling 3D effects for the HP 6515b laptops, the script handled most of the task which were to be done in command line though all people were explained what it did but since most of the people were First Time users it really made the task of configuring the system very easy, rest laptops faced no problems so they directly booted in Graphical mode already being out of time the Install Fest was Finished with some problems still remaining which were solved



more photos here
Planet Manipal
Jan 2nd
well here is the alpha version of Planet Manipal http://planet.ankurs.com/index.html which is a feed agregator for all bloggers in Manipal University it will get hosted on a new domain and eventually get a new look as when i feel like its time well till then its hosted at the place it is and changes will be made to it in, as you can see its based on planet used by a lot of other pojects, if you would like your blog to be agregeted there please contact me……..
3D effects on ubuntu 7.10 on ati 1250
Dec 29th
Well after going through a large number of guides like this i finally thought about giving guide at cchtml a try, well the hings mentioned are really great but not all steps are needed so here is a simplified version
Here i assume that you have not done any of this step before and are doing it for the first time but if that is not the case then this might not work for you.
Ok so first step installation of drivers, there are two steps for this as mentioned in the cchtml wiki one automatic and other manual, for automatic you need to enable the restricted repositories by going to System>>Administration>>Software Sources, and the typing
sudo apt-get update
sudo apt-get install linux-restricted-modules-generic restricted-manager
sudo apt-get install xorg-driver-fglrx
which will install the drivers by downloading them from net, if you dont have the bandwidth to download that much you can go for the manual install where we will build those file, here i assumed that you have copy of the ati drivers .run file which if your Ubuntu is installed by me could be found at “/”, to build we need to install certain packages
sudo apt-get install module-assistant build-essential fakeroot dh-make debhelper debconf libstdc++5 linux-headers-generic dkms
to build the packages type
sudo bash ati-driver-installer-8.443.1-x86.x86_64.run --buildpkg Ubuntu/gutsy
in the directory where you have the ati-driver-installer-8.443.1-x86.x86_64.run file, this is the latest file at the time of writing but you might have a different file this will work with any driver after 8.38, as they have AIGLX support anyway now we need to install the packages made type
sudo dpkg -i xorg-driver-fglrx_8.443.1-1*.deb fglrx-kernel-source_8.443.1-1*.deb fglrx-amdcccle_8.443.1-1*.deb
when you do that you might be asked
Configuration file `/etc/xdg/compiz/compiz-manager'
==> Deleted (by you or by a script) since installation.
==> Package distributor has shipped an updated version.
What would you like to do about it ? Your options are:
Y or I : install the package maintainer's version
N or O : keep your currently-installed version
D : show the differences between the versions
Z : background this process to examine the situation
The default action is to keep your current version.
*** compiz-manager (Y/I/N/O/D/Z) [default=N] ?
just answer Y to the question and proceed, once this is done you now need to edit the xorg.conf file type (here — is [minus][minus] unlike a big [minus] as it appears to be )
aticonfig --initial
sudo gedit /etc/X11/xorg.conf
and replace
Section "Device"
Identifier "Generic Video Card"
Driver "vesa"
BusID "PCI:1:5:0"
EndSection
WITH
Section "Device" now just restart the X server but pressing Ctrl + ALT + Backspace, all done this will give you the Basic 3D effects but who is satisfied with that we need more so we will go for installing Compiz settings manager, for this type
Identifier "Generic Video Card"
#Driver "vesa"
BusID "PCI:1:5:0"
Option "VideoOverlay" "on"
Option "OpenGLOverlay" "off"
EndSection
sudo apt-get install compizconfig-settings-manager gcompizthemer subversion
svn ls https://svn.generation.no/emerald-themes
now accept the certificate and fetch the themes by going to System>>Preferances>>Emerald Themes Manager,
to enable 3D effects go to System>>Preferances>>Appearance then Visual Effects select Custom and edit your settings by Preferances
now you are all set to blow everyone up with your Linux box’s 3D effects enjoy
3D effects on fedora 8 on ati 1250
Dec 11th
First enable the Livna repositories type
su
rpm -Uhv http://rpm.livna.org/livna-release-8.rpm
then type
yum install kmod-fglrx xorg-x11-drv-fglrx xorg-x11-drv-fglrx-libs-32bit
yum update kmod-fglrx xorg-x11-drv-fglrx xorg-x11-drv-fglrx-libs-32bit
service fglrx restart
fglrx-config-display enable
now restart your xserver by pressing ctrl + alt + backspace , then after restarting go to terminal type
fglrxinfo
you should see something like this
display: :0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: ATI Radeon X1200 Series
OpenGL version string: 2.0.6958 Release
and then run
glxinfo
you should see some thing like this
name of display: :0.0
display: :0 screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
GLX_ARB_multisample, GLX_EXT_import_context, GLX_EXT_texture_from_pixmap,
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_OML_swap_method,
GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_visual_select_group
client glx vendor string: SGI
client glx version string: 1.4
.......................................................
now you can proceed with update of Compiz, for this add the compiz fusion repo login as root and type
wget http://www.dfm.uninsubria.it/compiz/fusion/compiz-fusion.repo
cp compiz-fusion.repo /etc/yum.repos.d/
before install remove the old packages type
rm -rf /home/*/.config/compiz
rm -rf /home/*/.gconf/apps/compiz
now install compiz
yum install compiz-all fusion-icon-all compiz-fusion-plugins-unsupported compiz-bcop ccsm emerald-themes
after this we have to downgrade xorg-x11-server-Xorg for all i386 (32bit) users type
wget http://koji.fedoraproject.org/packages/xorg-x11-server/1.3.0.0/9.fc7/i386/xorg-x11-server-Xorg-1.3.0.0-9.fc7.i386.rpm
rpm -U --oldpackage xorg-x11-server-Xorg-1.3.0.0-9.fc7.i386.rpm
For x86_64 (64bit) users type
wget http://koji.fedoraproject.org/packages/xorg-x11-server/1.3.0.0/9.fc7/x86_64/xorg-x11-server-Xorg-1.3.0.0-9.fc7.x86_64.rpm
rpm -U --oldpackage xorg-x11-server-Xorg-1.3.0.0-9.fc7.x86_64.rpm
now we have to prevent xorg-x11-server-Xorg from upgrading so we blacklist it
gedit /etc/yum.conf
add
exclude=xorg-x11-server-Xorg
at the end and enjoy your 3D effects ……………
PS:- Dont enable too many plugins it will slow things down and there is some problem that i face with the Expo plugin dont enable that
LUG finally!!!!!!!!!!!
Nov 13th
Finally there is a Linux User Group in Manipal which will really make things a lot easy for people interested in learning about Linux and Open Source in Manipal.
So how was this group formed???
well there is this rule which does not allow new clubs to be formed in Manipal, so making a group was not an easy task there was some really great thinking and tackling done to make this LUG Manipal possible.
First meeting of the group took place on 10th of this month,So what all happened in the First Ever meeting of LUG in manipal?????
The session was scheduled to start from 5:15pm and it began on 5:20pm with the room NLH303 was almost full with people still coming after the start of the session. At first when i was told about formation of LUG first thought was not many people are going to come but as the time of the meet came close we were thinking that people might not fit in the room and if this would have happened near Diwali there would have been huge turn up enough to fill 2 rooms, Anyway there were somewhere around 80 – 90 people. So first Shubendra (3rd year) and Ayush (3rd year) came and started with what are the objectives of the group and what all they planned to do, which was followed by Explanation of Open Source Philosophy by Manish (3rd year) , which was followed by Video of Vista vs Beryl which according to most was best part, a Question Answer round was there in the end in which i jumped in
and answered a lot of questions, there were some genuine questions like the audio/video codec support in Linux and some really shit questions like ” What if i get stuck while trying something on Linux and I dont have an internet connection, a phone to ask my friend for help and i dont want to look into help??? ” now what will some one answer him……..
here the end of the session was called and all the people who are interested in working on something were asked to stay back, here again there was surprise and some 35+ people stayed back for different work, which was really great
so the things LUG Manipal is working on are
- A Linux Install Fest – infact the meeting in next semester will be the time when this will happen
- Setting up of a Wiki ( this is the thing i am working on)
- Setting up a Web Site of Lug manipal
- More sessions on Linux and Open source
- Increasing the uptake of Linux in Manipal
- Starting up a Blog
- There are also plan for release of a monthly magazine
so well lets see how far this goes……….. Best Of Luck everyone
Ankur Shrivastava



