The command used to find the $cat /proc/version
Eg..
$ cat /proc/version
Linux version 2.6.24-16-generic (buildd@palmer) (gcc version 4.2.3 (Ubuntu 4.2.3-2ubuntu7)) #1 SMP Thu Apr 10 13:23:42 UTC 2008
Similarly for knowing the CPU information use the command
$cat /proc/cpuinfo
If you are using a Core 2 duo processor informations of both the processors will be listed separatly. Check it out…..
Similarly /proc/ directory has many files use cat command to many information line meory info, swap space informations, etc using appropriate files.
Bash
Bash, kernel
Yes the answer is Dynamic DNS. Dynamic DNS is nothing but a service, (probably free service many a times) provided my many domain holders. (Eg. www.dyndns.com, www.no-ip.net…).
Dynamic DNS is one of the services provided by them for free. Also the provide few more services in which few are free and few are of cost. Like email forwarding, url forwarding etc.
Dynamic DNS is nothing but a service, that lets you register your Dynamic IP to a url in the form http://user.provider-domain.com… They give many choices of theses domain names…. You will have to change the IP address as and when it changes. You can register with those providers and create mapping between you dynamic Ip and urls. You can edit the IP any time you wish, as the ip wont be constant. You can also mention the time limit for which the IP will exist.
Internet
DNS, dynamicip, IP
I wanted to allow all those who use internet to access the webpage hosted in my local webserver, when i am in a adsl dhcp broadband line. That is, by giving the IP address that is temporarily assigned to me, the user in the other end in internet should access my webpage . I wanted to know whether this works atleast for the few mins the IP address assigned to me.
I made a try, using ifconfig i found the system IP address. It said 192.168.1.33. And for editting the router setting, I used 192.168.1.1. so i found these Ip addresses are dummy, used just to establish a lan between the system and the router or modem.
Using www.whatsmyipaddress.com i found the real temporary dhcp ip assigned to me in the internet was something else. like ww.xxx.yy.zz. I gave the Ip address to my friend who was online and enabled my webserver service and i expected that my friend should get the page that was hosted with in my webserver. But my expectation went wrong. He got my router settings page requesting for username and password. I confirmed that it was my router settings page that i eddited sitting in my home. . .
Somebody could edit my router settings knowing my dhcp ip and my username and password. The same came when i gave the ww.xxx.yy.zz ip address in a browser of mine…. Still trying whether i could farward the request from my router to my system. Whether it is possible????
If some body could help comment me. . . .
May be my assemtion may be wrong in between correct me if i was wrong…..
During this try i Came across the word Dynamic DNS. Will tell you in details in my next post.
Internet
bsnl, dhcp, webserver
Mplayer is a good movie player that supports almost all video and audio codecs. Mplayer can be used to view the output of the webcam also can be used to take the snaps using the web cam in your laptop.
The following is the command to view the output of the webcam
$ mplayer tv:// -tv driver=v4l2:width=640:height=480:device=/dev/video0 -fps 30
and to take the snaps (to capture each frame) as a picture use the following command.
$ mplayer tv:// -tv driver=v4l2:width=640:height=480:device=/dev/video0 -fps 30 -vo jpeg tv://
where fps specifies the frame rate in both cases. and this will determine the number of snaps taken per second.
This probably works with other destros also.. check it out….
To save the output as a vedio file you can use the mencoder command.
Also you can use XawTv package included by default in ubuntu for the above purpose.
Do write ur comments….
Ubuntu
Ubuntu, webcam
For a Dell xps 1530 model laptop, Hardy (Ubuntu 8.04) doesnt support Nvidia driver directy. Instead you will have to download two packages and install it manually.
The packages are nvidia-glx-new-envy and nvidia-new-kernel-source-envy and pls note that the version of these packages should be 173.14.05+2.6.24.501-501.30 Hence the two packages
- nvidia-glx-new-envy 173.14.05+2.6.24.501-501.30
- nvidia-new-kernel-source-envy 173.14.05+2.6.24.501-501.30
The download links for both these packages are
- https://launchpad.net/ubuntu/hardy/i386/nvidia-new-kernel-source-envy/173.14.05+2.6.24.501-501.30
- https://launchpad.net/ubuntu/hardy/i386/nvidia-glx-new-envy/173.14.05+2.6.24.501-501.30
Also remove anyother nvidia kernel sources if installed….. This works well.
Hence the default package for nvidia-glx-new as old ubuntu versions doesnt support now…. Even if you try installing this default package you will have to run yuo hardy only in you Low Graphics Mode.
Note: Take a back of you /etc/X11/xorg.conf file before performing any operation. If any problem goto a shell using other run levels (pressing Alt+Ctlr+f4) and replace the back up file with the one in that location.
Ubuntu
Dell, Hardy, nvidia, Ubuntu
For writing colourful scraps, follow the steps below:
Step 1: Open any scrapbook.
Step 2: Write your message in the scrap. Do NOT click on submit.
Step 3: Copy the following text and paste it in your address bar
javascript:cor=new Array('aqua','blue','fuchsia','gold','gray','green','lime','maroon','navy','olive','orange','pink','purple','red','silver','teal','violet', 'yellow' );var z=0;txt=document.getElementsByTagName('textarea')[0];txt.value=txt.value.replace(/(.)/gi,"§$1");txt.value=txt.value.replace(/\§ /gi," ");for(y=0;y<txt.value.length;y++){txt.value=txt.value.replace(/\§/,'['+cor[z]+']');z++;if(z==cor.length){z=0}}void(0)
Step 4: Hit ENTER key .
Step 5: Click on Post Scarp.
Enjoy colourful scrapping
Internet
orkuttricks
Goto www.easycounter.com
Fill up the form in the page also select your counter style
select html or php and click ‘Create Counter’.
Copy the html code and paste in the source of your blog or website.
You can also see the daily , monthly or yearly statics of you site by logging into the easycounter website..
Internet
pagecounter
When using wvdial for connecting to Internet through a Airtel gprs, with a gprs enabled mobile, if the wvdial program continuously tries connecting and fails …. Add the following line in the /etc/wvdial.conf file
Init3 = AT+CGDCONT=1,””,”airtelgprs.com”
where airtelgprs.com is the accesspoint of Airtel
Hence the etc/wvidal.conf will look like
[Dialer Defaults]
Init3 = AT+CGDCONT=1,””,”airtelgprs.com”
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Modem Type = USB Modem
ISDN = 0
New PPPD = yes
Phone = *99***1#
Modem = /dev/ttyACM0
Username = ” “
Password = ” “
Baud = 460800
Connecting Internet
airtelgprs, wvdial
For connecting to Internet through Airtel GPRS, proceed the following steps
Step 1: use the command wvdialconf to configure the modem
wvdialconf /etc/wvdial.conf
step 2: If the previous step is sucessfull, the model of mobile will be displayed…
Edit the file /etc/wvdial.conf to change the following lines to (remove the semicolons in front)
Phone = *99***1#
Username = ” “
Password = ” ”
This dialup number works only for Airtel India. May differ accordingly for other opperators.
step 3: use wvdial command to connect
wvdial /etc/wvdial.conf
This will connect giving the Primary DNS, Secondary DNS, Local IP, Remote IP, if successful.
Enjoy Surfing.. This same procedure is to be followed even for connecting through any other dialups, using internal or external modem in the PC
Connecting Internet
airtelgprs, dialup, wvdial