Updates from vijaykirann Toggle Comment Threads | Keyboard Shortcuts

  • vijaykirann 1:32 am on April 15, 2017 Permalink | Reply  

    RPI: Make a Printer Wireless 

    Im a diy’er with my hand on the RPI.just tried to do something useful with it apart from using it a well connected media box .

    You can search web for the multiple sites that does the same thing..This post also documents the issues I faced after installation ..

    The first thing in every RPI tutorial is update just to avoide any conflict

    sudo apt-get update

    Along with this couple of other packages are needed like

    sudo apt-get install avahi-daemon
    sudo apt-get install avahi-discover
    sudo apt-get install libnss-mdns
    sudo apt-get install cups
    sudo apt-get install cups-pdf
    sudo apt-get install python-cups

     

    Adding the username to CUPS

    sudo usermod -aG lpadmin pi

    Validate the installation by starting the CUPS and AVAHI services

    sudo /etc/init.d/cups start
    sudo /etc/init.d/avahi-daemon start

    Edits in CUPS Config

    Open the config file using

    sudo nano /etc/cups/cupsd.conf

    And comment out line “Listen localhost:631”. Add “Port 631”. It should look like

    #Listen localhost:631
    Port 631

    The config file will also need to be edited to control access to the server by adding “Allow @Local” in several places e.g.:

    # Restrict access to the server...
    Order allow,deny
    Allow @Local

    You need to include it in these areas of the config file:

    # Restrict access to the server...
    # Restrict access to the admin pages...
    # Restrict access to configuration files...

    Save the config file and restart the CUPS service:

    sudo /etc/init.d/cups restart

    Navigate to the CUPS configuration page by typing the IP address you just retrieved and the port number CUPS uses (so it’ll be an address like <RPI IP Addr>:631). A security exception message may pop up but that’s ok. Continue onwards!

     

    Install Samba on the Raspberry Pi which allows cross-platform file/printer sharing (basically allows Linux and Windows file systems to connect to each other)

    sudo apt-get install samba

    Navigate to the samba config file which can be found at- /etc/samba/smb.conf. Ensure it contains the following data:

    	# CUPS printing.  See also the cupsaddsmb(8) manpage in the
    	# cupsys-client package.
    	   printing = cups
    	   printcap name = cups
    	[printers]
    	   comment = All Printers
    	   browseable = no
    	   path = /var/spool/samba
    	   printable = yes
    	   guest ok = yes
    	   read only = yes
    	   create mask = 0700
    
    	# Windows clients look for this share name as a source of downloadable
    	# printer drivers
    	[print$]
    	   comment = Printer Drivers
    	   path = /usr/share/cups/drivers
    	   browseable = yes
    	   read only = yes
    	   guest ok = no

    Addons for Specific Printers

    I have tried this for Epson and HP printers though this settles the basic installation to get the printing done there are more steps to be added like installing the specific drivers

    For Epson

    For Epson to run with CUPS you need to install Gutenprint drivers using

    sudo apt-get update
    sudo apt-get dist-upgrade
    sudo apt-get install printer-driver-gutenprint

    For HP

    You can follow the Driver Installation page for the latest drivers and instructions.

    Issues Faced

    I have faced the issue of Error messages during boot after CUPS installation.

    the cups-filters.conf file contained the references to the modules that were throwing errors:

    # Parallel printer driver modules loading for cups
    # LOAD_LP_MODULE was 'yes' in /etc/default/cups
    lp
    ppdev
    parport_pc
    

    Making the message disappear

    Since RPI doesn’t come with parallel ports, I don’t need those modules. In any case, they couldn’t be loaded as they were not in /lib/modules/$(uname -r)

    I commented out those three lines (putting # at the start of the line in front of the module name for each one) and the error message disappeared.

    1. Parallel printer driver modules loading for cups
    2. LOAD_LP_MODULE was ‘yes’ in /etc/default/cups

    #lp
    #ppdev
    #parport_pc

     
  • vijaykirann 7:44 am on April 15, 2013 Permalink | Reply  

    White Beaches of India 

    Last week we have returned from the week long party kinda vacation.. So awesome and superb we stated missing it stone the day we returned..
    It all started with the spicejet offer.. One day we were talking about the holidays on Andaman and a coincidence that we got offer on the flight ticket. Without missing a moment we booked our ticket.. Didn’t bother about the return ticket then:-P
    I had investigated a lot and planned to return by govt operated cruise , but then we were couples and many suggested that fights are best to opt

    We had booked our hotels for 2 days.. One day in port Blair and other in Havelock(it’s a beach resort..and trust me it’s awesome)
    Sooner the day has come and we took off for Andaman from Chennai ..
    About 2hrs of flight over blue waters finally we could see some green islands ..we could see some small spread over islands totally covered by trees…I doubt if anyone’s living there.the islands are beautiful isolated by waters around them..after about 15 mins there comes Vir Savarkar..well…airport.named after one of renowned freedom fighter who was put up at Kala Pani cellular jail
    The airport was small and was commonly used for the defence activities..photos are prohibited there…
    We spent couple of mins there and went out.. There are plenty of taxis waiting out there..we paid 150 bucks(all in inr) to reach our hotel..taxi guy offered a city ride for about 800 bucks..but then it was public holiday and everything was closed.. So we went to carbyn coves beach…it was one of most shabby beachs I have been to…you can easily hire a auto on the road.. We are group six.. Had some time on the beach..and on return there were no autos.. Luckily we spotted a

     
  • vijaykirann 8:09 pm on March 21, 2013 Permalink | Reply  

    Xperia HTC Themer 

    For those folks who wanna theme their ARC/S here is a application.
    [B][CENTER][COLOR=”YellowGreen”][SIZE=”7″]Xperia HTC Themer (Standalone)[/SIZE][/COLOR][/CENTER][/B]

    [SIZE=”5″][COLOR=”RoyalBlue”]Its a flashable zip file ,just install thru the CWM ..and let it do the rest.[/COLOR][/SIZE]

    [B][SIZE=”2″][COLOR=”DarkOrange”]Credits:[/COLOR][/SIZE][/B]
    [LIST=1]
    [*]VillainROM
    [/LIST]

    [COLOR=”Red”][SIZE=”5″]Note:Do read the heading properly.This mod is ONLY FOR ARC/S.& YAPPY Flashing[/SIZE][/COLOR]
    [COLOR=”Red”][SIZE=”6″]Please do hit thanks if you find this useful and like me to take it further.[/SIZE][/COLOR]ImageC ThemerImage TtImage

     
  • vijaykirann 10:34 pm on March 7, 2013 Permalink | Reply  

    full_screeni.jpg 

    Xperia Battery Themer

     
  • vijaykirann 3:51 pm on July 15, 2011 Permalink | Reply
    Tags: android   

    [Techy] Swap / compcache / None 

    image

    image

    image

    After learning the android memory management was really looking at the effects of swap on my low memory device (HTC Wildfire) ..
    The memory management in android is greatly developed from froyo it actually holds the state of the application and kilss the application ..in contrast with traditional memory management where in it actually holds the application in RAM.
    In short when user close the application android system holds the present state of the application like URL in browser or coordinates in the maps and when user opens the application again it retrives the states and pretends as the application was never closed….
    To retain the states of application its generally moved to cache like compcache or swap..
    There are many forums where in there are mixed reaction on usage of these method’s …so I decided to take it and test it on different scenarios by taking the linpack scores under the conditions..here are 3 scenarios no compcach/swap , with compcache and finally with both compcache and swap enabled..
    Found that system without compcache and swap was very laggu and almost forced closed on many applications…and tolled very low(2.2) on the benchmark..on enabling the compcache the linpack score raised to 3.8 dats a prettty huge leap..but adding the swap on compcache djndnt show any great difference but was better though..
    May be its coz compcache is a compressed virtual memory and and system needed few cycles to compress and decompressing the pages..
    And it made the device responsive and snappier..

    Regards
    viCky

     
    • Vicky 4:00 pm on July 15, 2011 Permalink | Reply

      Sorry its 2.8 with none and 3.7 with compcache and 3.9 with both enabled ..

  • vijaykirann 2:03 am on March 30, 2011 Permalink | Reply  

    The way life takes me headon..!! 

    as promised on my first post I would be active on blogs … rather be on fourms reading/answering others..

    I tot of initally putting this as my FB status ..but wen putting it on real realized that its too big to be a status..

    Well actually my professional life started as the prank,I wasn’t planned to attend the interview from Wipro.as dad was intrested me sending for higher studies..hmm..I guess there was something else for me on the list…watever i got job..dad asked to leave aside the job..but there is something called EGO which always screw you up royally…did it for me..as it was self-earned have to stand by it..

    Later it bacme my responsibility to continue it..further necessity  to quit and move to other organization..finally became kind of livelihood now..

    Jus got tangled by something called Life..

     
  • vijaykirann 12:50 pm on December 21, 2010 Permalink | Reply
    Tags: Rootin HTC Wildfire (Cyanogen Mod)   

    Jus after getting a optimus one for my wife..I was pretty fasinated by the froyo os and the features available on it
    WIFI tethering,APP2SD(it was my fav as it spared lotsa space on the phone memory)..so was obiviously envious..

    I thought of holding myself for uptill I get the official FROYO from HTC…also mailed them for the same…mean while I was jus going thru the available roms and their features..Intially I dint liked any as ORM(Original rom Manufacturers) were doing far better than the custom mod roms..but among them felt that CyanogengenMod was better as it was popular and also had the OTA(Over the Air) updates available..and there are many apps available for the same like rom manager etc.I was totally fickel in deciding weather to root it if so which rom

    Then I recieved the mail from HTC regarding the official froyo release for Wildfire.the mail seem pretty much automated(may be htc guys automated it for this query”Froyo upgrade for wildfire”),I lost hopes on the official froyo rom..

    I starting collecting all the drives and software for the rooting.since I found cyanogenmod better among all the losers..so tried rooting it by installing the Clockworkmod Recovery.

    I tried it once and the process failed(it was on win xp all drivers installed and phone configured accordingly)..
    as I was searching for the cause for the failure I came across the european rom of htc wildfire..now this made me nerv as in the screen I could see that the recovery image has been flashed..

    den I kept aside rooting and started reading the forum abt the new rom and learned that if this is flashed there is no live wallpaper support and can’t be rooted again(as this point of time).as I was already inclined towards rooting the phone all good thing abt rooting came up to me..

    Noe I tried to root with the WIN7 tablet pc with all the drivers.. read it line by line and executed it again it failed.. now my phone was in pretty bad condition thought it was booting perfectly I was clearly not feeling good abt its recovery image as it was over written..

    At unrevoked website I culd see the package for rooting thru linux.I booted the tablet with Linux mint 10 and downloaded the file..and started the application..everthing went so smooth jus like hot knife thru butter.I dint have to install any custom drivrs or mess up with device manager..it was piece of cake(God knows when will Windows learn the comfortness of Linux and MAc)..

    After rooting was don I installed the ROM Manager and downloaded the Cyanogen Stable rom with GAPPS.It took abt 5~10 mins hardly after the download to install the Cyanogen with ROM MANAGER.but when it finally reebooted it was struck @ “Touch the Android” screen..again started to explore the cause ond solution of the issue.Learnd that wiping the rom and fresh install will do..

    BTW its time to OFC..will keep u posted abt the advances..
    Cyah all..

     
  • vijaykirann 10:06 pm on November 8, 2010 Permalink | Reply  

    Invitation to view Vijay Kiran’s Picasa Web Album – Diwali n Anniversary Pics 

    You are invited to view Vijay Kiran’s photo album: Diwali n Anniversary Pics

    Diwali n Anniversary Pics
    Nov 3, 2010
    by Vijay Kiran

    View Album
    Play slideshow
    Contribute photos to this album

    Message from Vijay Kiran:
    Check the Aniversary and Diwali pics from my(hehe !!!) latest Cannon DSLR 450D !!!

    If you are having problems viewing this email, copy and paste the following into your browser:
    http://picasaweb.google.com/lh/sredir?uname=vijay.chowdary99&target=ALBUM&id=5537217185714148417&authkey=Gv1sRgCLGs97yp_5K24AE&feat=email
    To share your photos or receive notification when your friends share photos, get your own free Picasa Web Albums account.

     
  • vijaykirann 3:31 pm on October 16, 2010 Permalink | Reply  

    My college farewell….but unfortunately I cudnt make up to the event …missing u all guyzz… 

    http://www.facebook.com/photo.php?pid=1215981&id=1574830490

     
  • vijaykirann 1:17 am on October 3, 2010 Permalink | Reply  

    These day I haven been much active on the WP..life like dat kinda thing …got pretty much occupied in corporate world…hmm…lets see I would make up a new tour outside …keep ya all updated abot it …till den Cya !!!

     
c
Compose new post
j
Next post/Next comment
k
Previous post/Previous comment
r
Reply
e
Edit
o
Show/Hide comments
t
Go to top
l
Go to login
h
Show/Hide help
shift + esc
Cancel