Thursday, September 23, 2010

Android USB Tethering on Linux

Find it here:

http://www.humans-enabled.com/2009/12/how-to-tether-your-verizon-droid-as.html

http://code.google.com/p/azilink/

Simultaneous sound through both speaker and headphones

I installed Fedora a few days back.
I had the same problem of "speaker not muting when headphone plugged in"
I used the following line:
options snd-hda-intel model=laptop position_fix=1
I had used this to fix the issue with OpenSuSE last month.

But somehow it didn't work. I kept looking and looking.
Then http://ubuntu-ky.ubuntuforums.org/showthread.php?p=9405102 pointed out that I was looking in the wrong place.
I went to System -> Prefernces -> Sound -> Output
And selected "Analog Headphones" instead of "Analog Output"
And it worked.
Thanks to everyone who posted there. :)

Laptop: Asus K40AB
Sound Card: VIA VT1708S (00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA))

Sunday, September 19, 2010

Fedora Guide

Just installed Fedora 13.

Here is a great guide to optimize your computer after installing Fedora

http://fedoraguide.info/index.php?title=Main_Page

Happy hacking

Saturday, April 10, 2010

Creating a openSuSE repository

I gave a talk on "How to create a OpenSuSE repository" during the OpenSource Summit 2008. The talk didn't go that well but the topic was useful.

Just thought to put the ppt out. You can download it from here.

If you have any queries, just add a comment or drop a mail at blvdeer [at] gmail [dot] com

Monday, March 29, 2010

SDF - Super Dimension Fortress

SDF is a community network for teachers, students, visually and aural impaired. The network of computers combined giving 26.5 TeraFlops, not sure. It started as early as 1987 and it is maintained by its members. It is run by a not-for-profit organization.

It runs on NetBSD and provides UNIX shell for its members. It provides many softwares, games, bulletin boards, chatting platform, twitter access, etc.

It's actually fun to use. You get the feel of the old movies where a guy logs into some computer far far away and starts playing with it. Although trying to port scan and cracking against are against the terms of SDF. You still get to know a lot of other things.

SDF provides you a homepage, a gopher (never heard of it??), free irc on Sunday, pop mail also accessible by webmail. You can use pine, mutt for mails.

You have gcc, perl, python, etc installed.

All this for free.
If you want to use ftp you need to validate yourself by donating them $1. You can become a lifetime member for $36.

It's actually a great place to play and learn. Believe me when you don't have the luxury of a X windows or GUI, you start learning more commands and start enjoying it. You see that scripts make life so much easier. Plus no one understands what you are doing in a command shell (people just don't want to read the contents) so you look cool.

And if twitter is blocked in your organization, it is a great way to bypass the system. ;)

Links :
http://sdf.lonestar.org
http://www.freeshell.org

You can use it via the website or telnet or ssh.

I actually downloaded a SSH client for my mobile from here. Just 144KB. :)

If you find anything cool on it, let me know.

Sunday, July 26, 2009

Mobile Applications

Yeah I've been off for a long time.
I am at Infosys, Mysore under going training. Here are some mobile applications that I used.
1. Bolt Browser
2. BT File Manager
3. Dictionary v2.0
4. eBuddy
5. Gmail
6. Google Maps
7. ICICI Bank
8. LiteFTP
9. MobileNumberInfo
10. MobilePdfReader
11. MobileSmsLife
12. Opera Mini
13. Skype
14. Telenory
15. UCWEB 6.3
16. UtaIRC
17. YMTiny
18. Yong Reader

Bolt, Opera Mini and UCWEB are mobile web browser.
The new beta of Bolt has some great functions. You can install fonts, select and copy text from web pages. This is why I like it. It had some issues with navigation in the old version but the beta doesn't have that issue.

Opera Mini is a great browser. It supports several sites and it is perfect.

UCWEB is the ultimate browser. It comes with options like a full web browser. Multiple Tabs, Downloader, Copy text/image, File Explorer and many more. It beats Opera Mini and Bolt hollow.

Dictionary v2.0 and Telenory are actually same application. Both are dictionary only difference is the theme. ( I think one copied the other)

Gmail is the best application I think. Small size, multiple account support. Allows you to view docs, pdfs. Its great.

Google Map works great. Pinpoints your location if you have GPS else gives your location within 4000m. I was shocked to see it not working on my Samsung phone. It said some device missing. It would start but couldn't tell my location. Plus when I was in UP. In some places it showed that I was in Iceland and sometimes in Andhra Pradesh. Probably some towers have same name.

eBuddy is great for chatting multiple accounts. But if you need only yahoo chat then try YMLite. It is very small application and works great. But Airtel users may find it not working because Airtel has signed up with Yahoo for an offer for Rs10/week for mail and chat. If you start the Mobile Office (Rs.99/week or Rs.20/day) it works fine.

BTFileManager and LiteFTP are applications that allow you to connect to other device and copy, delete stuff from that device to your device and vice versa. It allows you to explore the other mobile device as if it were yours. LiteFTP has ads while BTFileManager is clean. But LiteFTP looks better.

ICICI Bank is ICICI banks application for mobile banking.

MobileNumberInfo takes mobile number as input and gives the operator details.

MobileSmsLife allows you to send 10 sms for free from mobile. (You need to sign up) The cost is gprs cost which is normally 30 paisa at maximum.

Yong Reader allows you to read doc and other formats but it is not perfect. Mobile Pdf Reader is for pdfs but it doesn't big files.

UtaIRC is Internet Relay Chat application. Its cool.

I haven't tried skype yet. I don't have anyone to call.

Monday, January 12, 2009

MAC spoofing

Of course it's not about spoofing your HP/Dell laptop as a MAC laptop. It is about Media Access Control. But before we understand what that is. What is spoofing?

Among several meanings of spoofing one is to deceive or to forge.

Wikipedia says MAC spoofing is a hacking technique of changing an assigned Media Access Control (MAC) address of a networked device to a different one.

Lets see it in simpler words. Now you may have heard of ethernet cards / lan cards. There are different ways of connecting to the internet. One is dial up(using modem), others are direct cable connection(DVS, CCNA, CityOnline, etc), ADSL(BSNL), wi-fi(klce-wifi, etc).

For the direct cable connection / ADSL, you need an ethernet card. Every ethernet card in the world is suppose to have a different MAC address.

MAC address, also known as Ethernet Hardware Address, is used as an identifier of the ethernet just like IP address are used in case of Internet. It usually encodes the manufacturer's registration number. Here is the mac vendor list if you want to see.

It is 6 bytes and normally written as xx:xx:xx:xx:xx:xx.

Some of the internet service providers control access using MAC address. They allow traffic only if the request is coming from the MAC addresses on their list. This is the place where MAC spoofing is useful.

Suppose you have internet connected to your desktop, you remove the connection and connect it to your laptop, change the ip address. You try to use the internet but you are not allowed. This is because the MAC address is different and your ISP doesn't allow this. Instead of calling your IP address to add you laptops MAC address, you can simply change the laptops MAC address to match to that of your desktops.

First, finding the MAC address:
On windows system type: ipconfig /all in the cmd prompt

On Mac OS X, in the System Preferences -> Network


On Linux, in the terminal type:
# ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:60:08:C4:99:AA
inet addr:131.225.84.67 Bcast:131.225.87.255 Mask:255.255.248.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:15647904 errors:0 dropped:0 overruns:0
TX packets:69559 errors:0 dropped:0 overruns:0
Interrupt:10 Base address:0x300
here the HWaddr is the mac address.

Second, changing the MAC address.

Windows

On windows there are several softwares to change the mac address, some of them are amac, smac, tmac, Technitium Mac Address Changer, etc. AMAC is a good software. It also includes a scanner that scans the network and shows the list of computer name, IP address and MAC address of those systems. So you can easily spoof the mac.
Most ethernet card / wifi device manufacturers provide this ability in the driver itself. So you can simply go to the Device Manager (devmgmt.msc in the Start -> Run), double click the ethernet card and check if they allow to type your own MAC address.

Linux

On Linux it is really simple. Open the terminal. Suppose your card is eth0 (if lan card, wireless card may have wlan0) then type the following:

ifconfig eth0 down
ifconfig eth0 ether 11:11:11:11:11:ab
ifconfig eth0 up

You also have a software: MAC changer to do this.

MAC OS X

ifconfig command should also work on MAC OS X. Someone please try and put a comment.

Now that we have successfully changed our MAC, we can enjoy the service. Changing MAC address can be useful in various places. Like if you have one connection of DVS Broadband or CCN Broadband but two systems, you can put the same IP address and MAC address and use internet on both of them. If your friend took an internet account (wifi) but went home, you can spoof his MAC address on your laptop and use internet from his account.

But keep in mind that MAC spoofing is against the Indian law as per the Information Technology Act, 2000. The material provided above is for educational purposes only.