Re: [Ilugc] hi
we do not want responses from such people that is out right rude, and possibly you are missing a lot of people and information there. But, yeah I do agree that top posting is no good, but if that is the only option then apologising before doing it is fine I guess. And unfortunately there is more top posting in this thread that in any other I have seen in the recent times on the ILUGC list. Cheers Satish -- http://satisheerpini.net ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] system commands from Gtk
I have used the system( ) command to execute the system commands through the Gtk program... Please suggest me whether I can adhere to this or it's better to use the execv function... I am learning through the Gtk...pls suggest. you really did not mention what you are trying to do in the so called gtk programs. Anyway as a short description, system() : allows you to run a binary from inside a C program, but you don't have any control on the executing program, you just have to wait until the call to system returns there are other interfaces you can use though : popen() : is very similar to system, but it also allows you to either pipe input to the stdin of the binary you are executing, or pipe the stdout of the binary you are executing and access it via a file descriptor in the C program. You can only do one at a time and the program waits for popen() to return. the exec family of functions : allow you to run a binary executable and you can control the process since when you run it a new process is forked and you have control over the child. may be a little more info on what you are trying to do will allow you to decide better. Cheers Satish -- http://satisheerpini.net ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] USB device not recognized
I run Ubuntu 9.10 i386 arch. And no, I tried plugging it in a Windows 7 machine, it didn't get recognized. plug in the usb disk and then wait for a few seconds (~ 5 seconds) and see what you have in the kernel log ( run the command dmesg | tail -n 30 on a terminal). Copy paste the output of that command in a reply so that we can see if it is just an error with the partition table (or something similar) or a bigger issue. Cheers Satish -- http://satisheerpini.net ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] USB device not recognized
On Mon, Jun 14, 2010 at 10:14 PM, Satish Eerpini eerp...@gmail.com wrote: I run Ubuntu 9.10 i386 arch. And no, I tried plugging it in a Windows 7 machine, it didn't get recognized. plug in the usb disk and then wait for a few seconds (~ 5 seconds) and see what you have in the kernel log ( run the command dmesg | tail -n 30 on a terminal). Copy paste the output of that command in a reply so that we can see if it is just an error with the partition table (or something similar) or a bigger issue. oops , sorry I guess I missed out the links in the first mail, if you are looking at recovering the data on the drive the best thing to do is to create an image of the disk and then do whatever you want to do on that image. Use dd. For example , say your pen drive is attached to the node /dev/sda2 , do something like this : dd if=/dev/sda2 of=drive_backup then you will have all the data on the drive also on the file image drive_backup, you can then try recovery tools on the image. Cheers Satish -- http://satisheerpini.net ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] BOSS Linux Advertising
While I wouldn't really wish BOSS Linux on anyone and I am not a fan of the entire initiative, I would hope that advertising on these mediums increases awareness of Linux and FOSS in general and it is very much welcome IMO to engage in commercial activities if it serves that purpose. As this is a government sponsored initiative, my concern is for my tax money to be used in a effective way to improve the life of the people in this country and if by deploying FOSS we can accelerate the process, then it is money well spend. I have seen the BOSS Linux ad on other regional channels too, but the problem is they advertise it as Linux and not BOSS or atleast BOSS Linux , it reads as so and so program is sponsored by Linux, Rexona, Clinic Plus etc etc not good. Cheers Satish -- http://satisheerpini.net ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] Linux usage statistics
Most of my friends who try out Linux give up after it doesn't play *any* of the media they have. Your friends need VLC and they don't know it. You _must_ help them! +1 , atleast initially you need to show them how they can get things to work. Satish -- http://tuxitter.blogspot.com ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] Guidance needed
learning php from online tutor.Please suggest some job opportunities in India [I visited fossjobs.in website recently] and abroad. you asked for possible job opportunities here ? And how can i start to proceed towards doing research and ph.d in cloud computing.Kindly provide necessary guidance and details. and here about research, what exactly are your interests ? I am not into the web development sector much, but I guess you can start with simple/small free lancing projects if you are planning to do something with php. Or you could also think about something challenging and try to implement it as a way to learn those skills. ATB Satish ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [ilugc] Column Name display in terminal
On Wed, Feb 10, 2010 at 12:02 PM, depp fx dep...@gmail.com wrote: Is it possible to make bash display the column names of the output when I execute a command? I guess Bharathi has already answered your query, but I am just curious about what would be the need for something like that to be done ? , as in considering your example itself, if you are using ls -l , in all the cases the user know the output, then why display the header names ? am I missing something here, or do you think it will add some legible functionality ? Cheers Satish -- http://tuxitter.blogspot.com ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] How to get client machine ip address from server
How to find the client machine hardware address(MAC address) which doesn't have any OS installed from server. If I am understanding the question right, then you want to know the ip from a server machine to which the machine without an OS is connected as a client. As someone above has already pointed out, how can that machine without an OS possibly connect to a server ? And also , I am not sure if this is possible , but can someone point out if a machine can use a networking stack for simple communication without having to load an entire OS kernel ( no not even a modified kernel, just a networking software stack ). ? And if it is possible, are their any software stacks already available which do this ? Cheers Satish -- VIT Lug, Vellore http://tuxitter.blogspot.com ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] Re: How to trap key strokes
I had sometime ago tried writing a simple program to emulate mouse clicks based on the code given here : www.einfochips.com/download/dash_jan_tip.pdf but even after running the program, nothing happens, as in I don see the mouse clicks emualted. What might I be missing here ?? Satish -- http://satish.playdrupal.com ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] Re: How to trap key strokes
I had sometime ago tried writing a simple program to emulate mouse clicks based on the code given here : www.einfochips.com/download/dash_jan_tip.pdf the code given at the above link seems to use the uinput API directly and not the libsuinput. but even after running the program, nothing happens, as in I don see the mouse clicks emualted. What might I be missing here ?? and I had to change the input device from /dev/uinput to /dev/input/uinput. And ran the program as root. Satish -- http://satish.playdrupal.com ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] EVDO drivers for GNU/Linux
peripheral on GNU/Linux before I splurge on the card. Does anyone have experience with EVDO data cards on GNU/Linux? the generic usb serial driver worked well for me after 2.6.29 , and moreover I guess with the present distros( the latest ones) you will not face any problem configuring it. Satish -- http://satish.playdrupal.com ___ To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with quot;unsubscribe lt;passwordgt; lt;addressgt;quot; in the subject or body of the message. http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] Linux.com website
Wasn't the domain always there? I think the site has been revamped hugely though! it was bought not long ago by the Linux Foundation. Another interesting thing on the site , is the feature which allows one to create groups for LUGs and other groups and coordinate through the site on a global level. Also the most active member of the site gets a laptop signed by Linus every year, now isn't that enough bait to participate ?? ;) Cheers Satish ___ To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with unsubscribe password address in the subject or body of the message. http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] What software is missing in the Fedora repository?
Hi Rahul, nice initiative , below is a package I have not found in the repository, I am not sure whether it is affected by the patent problems, please let me know if it does. -- eucalyptus(http://open.eucalyptus.com/), which is used for building elastic clouds over clusters. I guess it is already available with the ubuntu package repository, but not sure of any rpms from other distros. Also, it is not a very commonly used software, but is of great importance to some power users, but anyway I feel it would be a good addition. Cheers Satish -- http://satish.playdrupal.com ___ To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with unsubscribe password address in the subject or body of the message. http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] How to know the memory size of processes
I don remember where I got this really neat python script from , but I generally use it to check out the memory usage, and have found it to be quite accurate : __ import sys, os, string if os.getuid() !=0: sys.stderr.write(Running as non-root user\n); #sys.exit(1) #if os.getuid() !=500: #sys.stderr.write(Other than root only Satish can run this script\n); #sys.exit(1) PAGESIZE=os.sysconf(SC_PAGE_SIZE)/1024 #KiB our_pid=os.getpid() #(major,minor,release) def kernel_ver(): kv=open(/proc/sys/kernel/osrelease).readline().split(.)[:3] for char in -_: kv[2]=kv[2].split(char)[0] return (int(kv[0]), int(kv[1]), int(kv[2])) kv=kernel_ver() have_pss=0 #return Private,Shared #Note shared is always a subset of rss (trs is not always) def getMemStats(pid): global have_pss Private_lines=[] Shared_lines=[] Pss_lines=[] Rss=int(open(/proc/+str(pid)+/statm).readline().split()[1])*PAGESIZE if os.path.exists(/proc/+str(pid)+/smaps): #stat for line in open(/proc/+str(pid)+/smaps).readlines(): #open if line.startswith(Shared): Shared_lines.append(line) elif line.startswith(Private): Private_lines.append(line) elif line.startswith(Pss): have_pss=1 Pss_lines.append(line) Shared=sum([int(line.split()[1]) for line in Shared_lines]) Private=sum([int(line.split()[1]) for line in Private_lines]) #Note Shared + Private = Rss above #The Rss in smaps includes video card mem etc. if have_pss: pss_adjust=0.5 #add 0.5KiB as this average error due to trunctation Pss=sum([float(line.split()[1])+pss_adjust for line in Pss_lines]) Shared = Pss - Private elif (2,6,1) = kv = (2,6,9): Shared=0 #lots of overestimation, but what can we do? Private = Rss else: Shared=int(open(/proc/+str(pid)+/statm).readline().split()[2]) Shared*=PAGESIZE Private = Rss - Shared return (Private, Shared) def getCmdName(pid): cmd = file(/proc/%d/status % pid).readline()[6:-1] exe = os.path.basename(os.path.realpath(/proc/%d/exe % pid)) if exe.startswith(cmd): cmd=exe #show non truncated version #Note because we show the non truncated name #one can have separated programs as follows: #584.0 KiB + 1.0 MiB = 1.6 MiBmozilla-thunder (exe - bash) # 56.0 MiB + 22.2 MiB = 78.2 MiBmozilla-thunderbird-bin return cmd cmds={} shareds={} count={} for pid in os.listdir(/proc/): try: pid = int(pid) #note Thread IDs not listed in /proc/ which is good if pid == our_pid: continue except: continue try: cmd = getCmdName(pid) except: #permission denied or #kernel threads don't have exe links or #process gone continue try: private, shared = getMemStats(pid) except: continue #process gone if shareds.get(cmd): if have_pss: #add shared portion of PSS together shareds[cmd]+=shared elif shareds[cmd] shared: #just take largest shared val shareds[cmd]=shared else: shareds[cmd]=shared cmds[cmd]=cmds.setdefault(cmd,0)+private if count.has_key(cmd): count[cmd] += 1 else: count[cmd] = 1 #Add shared mem for each program total=0 for cmd in cmds.keys(): cmds[cmd]=cmds[cmd]+shareds[cmd] total+=cmds[cmd] #valid if PSS available sort_list = cmds.items() sort_list.sort(lambda x,y:cmp(x[1],y[1])) sort_list=filter(lambda x:x[1],sort_list) #get rid of zero sized processes #The following matches du -h output #see also human.py def human(num, power=Ki): powers=[Ki,Mi,Gi,Ti] while num = 1000: #4 digits num /= 1024.0 power=powers[powers.index(power)+1] return %.1f %s % (num,power) def cmd_with_count(cmd, count): if count1: return %s (%u) % (cmd, count) else: return cmd print Private + Shared = RAM used\tProgram \n for cmd in sort_list: print %8sB + %8sB = %8sB\t%s % (human(cmd[1]-shareds[cmd[0]]), human(shareds[cmd[0]]), human(cmd[1]), cmd_with_count(cmd[0], count[cmd[0]])) if have_pss: print - * 33 print * 24 + %8sB % human(total) print = * 33 print \n Private + Shared = RAM used\tProgram \n #Warn of possible inaccuracies #2 = accurate can total #1 = accurate only considering each process in isolation #0 = some shared mem not reported #-1= all shared mem not reported def shared_val_accuracy(): http://wiki.apache.org/spamassassin/TopSharedMemoryBug; if kv[:2] == (2,4): if open(/proc/meminfo).read().find(Inact_) == -1: return 1 return 0 elif kv[:2] == (2,6): if
Re: [Ilugc] என் ஆர் சி பாஸ் - மின்பதிப்பாக்கப் பட் டறை
Is this important , ... if so , ... english translation please ?? Satish -- http://satish.playdrupal.com ___ To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with unsubscribe password address in the subject or body of the message. http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: Mixed environments (Was Re: [Ilugc] fossconf'09 talk slide)
Hello everyone , seems to be another flame in the making anyway just wanted to make it clear that . Microsoft Windows( or it being bad) is not the main reason why we use linux( atleast not me, I have never used windows). So microsoft is not our agenda, ... as was said in a mail on the list a month ago, we should talk about FOSS/Linux , rather than defacing Ms windows. This is not to suppose that using altered names is defacing. It might hurt someone's feelings, but mind you it is a common practice on the web to use altered names to imply sarcasm. So this discussion on personal conventions/styles seems to be as worthless ( as my reply to it :-), no hard feelings for anyone !).. Cheers Satish -- http://satish.playdrupal.com ___ To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with unsubscribe password address in the subject or body of the message. http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
[Ilugc] Event at VIT : Call for speakers
Hello Everyone , The lecturers and students from the School of Computing Sciences(VIT) are planning an event at VIT towards the end of this academic year. The event is being planned to focus on System Programming (*nix) and Linux kernel development, and encourage the students and the staff at VIT and the student community in the area to get involved in projects in the related technical areas. Technical speakers from the community in the related areas(System programming, Linux Kernel Development, Scripting) are requested to please contact Mrs S Menaka (smen...@vit.ac.in) if they are interested. Help is requested from all the community members for making the event and its purpose succeed. note : Vellore Institue of Technology ( http://www.vit.ac.in) is a University located at Vellore, Tamil Nadu. Thanks Satish member, l...@vit(http://vlug.playdrupal.com) Fedora Ambassador , Vellore -- http://satish.playdrupal.com ___ To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with unsubscribe password address in the subject or body of the message. http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
[Ilugc] using cat to print in a color scheme
Is it possible to 'cat' a file to the terminal in a particular color scheme, say like the color scheme used by vim or something. I mean instead of getting plain text when we run say : cat foo.c , can we obtain the output in a particular color scheme in the terminal ? Is this possible ?? Thanks Satish -- http://satish.playdrupal.com ___ To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with unsubscribe password address in the subject or body of the message. http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] using cat to print in a color scheme
Hi steve, .. that still seems to open the editor , though it reads from the STDIN, it still opens the editor, which was not exactly what I was looking for . I indeed found a better tool, it is called highlight, . A source code formatter( can be found in the Fedora repos). the following does the needful for me : highlight somefile -M --style=vim. anyway that was a nice hack, thanks Satish On 2/17/09, steve st...@lonetwin.net wrote: Hi Satish, Satish Eerpini wrote: Is it possible to 'cat' a file to the terminal in a particular color scheme, say like the color scheme used by vim or something. I mean instead of getting plain text when we run say : cat foo.c , can we obtain the output in a particular color scheme in the terminal ? Is this possible ?? Well, cat a tool for concatenating files. It does not know (or care) where it is cat-ing to (for that matter, it does not know or care, where it is cat-ing from either -- and still, or probably because of this, it is one of the most useful commands in the unix toolbox) OTOH, Pagers (like 'more' or 'less') are tools to view files on the terminal. That said, vim also behaves somewhat like a pager when invoked using the command 'view'. However, this does not do syntax highlighting, nor does it take input from stdin (ie: executing cat /some/file | view does not do what you expect) So, to view a file with syntax highlighting, you can use a vim trick. - Look for the file /usr/share/vim/vim*/macros/less.sh - create an alias for that script: $ alias vless='/usr/share/vim/vimversion/macros/less.sh' (you may also save the alias in ~/.bashrc if you like) - now use vless as you would use less $ vless foo.c $ cat /some/file | some_filter | vless HTH regards, - steve -- Linux Centric Marketplace: http://www.tuxcompatible.com ___ To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with unsubscribe password address in the subject or body of the message. http://www.ae.iitm.ac.in/mailman/listinfo/ilugc -- http://satish.playdrupal.com ___ To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with unsubscribe password address in the subject or body of the message. http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
[Ilugc] automatically updating resolv.conf
Hi everyone, I am using Fedora 10 and whenever I connect to the internet through my BSNL modem using wvdial , the resolv.conf file is not updated automatically . I have to manually enter the 'nameserver' details in resolv.conf file. While I have seen that this happens automatically in Ubuntu. Is there anyway the same can be done in Fedora as well ?? Thanks Satish -- http://satish.playdrupal.com ___ To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with unsubscribe password address in the subject or body of the message. http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] Your private message from Satish is about to expire
Hi Bhargava, supposedly this was sent from my account( god knows when I even visited FanIQ), but I did not recieve in in my inbox( until you reopened the topic) because I had created a filter. But anyway as it bears my email id in the subject , I would like to say sorry to all those opressed. The appropriate action may be taken, Thanks Satish On 2/15/09, Bhargav Prasanna bhargavprasa...@gmail.com wrote: I guess its high time someone compiled a set of rules to be followed when sending mails to the list and sent them to everyone on the list. We have to stop this. This should be treated as spam. Where is the list moderator?? -- Bhargav Prasanna bhargavprasa...@gmail.com ___ To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with unsubscribe password address in the subject or body of the message. http://www.ae.iitm.ac.in/mailman/listinfo/ilugc -- http://satish.playdrupal.com ___ To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with unsubscribe password address in the subject or body of the message. http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] firefox10 network manager does not know that network is running
Hi everyone, If this is a common problem because the NetworkManager is notifying the system that no network interface is connected. Then is there no way we can switch off the DBUS communication temporarily ?? Thanks Satish On 2/15/09, steve st...@lonetwin.net wrote: Hi Kenneth, Kenneth Gonsalves wrote: hi, I normally access the internet through my tata indicom usb modem. In fedora10 I go to system-network and activate the modem. Network is up, email, ssh, http etc all work, but network manager icon shows a red X. This is because, the configured network interface (your usb modem) is not 'controlled' by Network Manager (ie: if you run system-config-network, select the interface, and click on 'Edit', in the 'General' tab, you'll see 'Controlled by NetworkManager' unchecked) So if I try to run the gui software installer, it says 'no network found'. On starting firefox and kmail, both go into offline mode because network manager tells them that there is no network. I have to manually poke them to get them to work. This is a known issue with Firefox[1]. I demo'd the bug at gnunify, and the best brains of RH tried to do something. So far no success, but the asked me to post the bug here so they could reply when fixed. Workaround (or fix ...depends on the way you see it) is, a. In firefox, go to about:config b. search for toolkit.networkmanager.disable c. set it's value to True I am sorry, but i don't know about Kmail. ...but for those of you seeing the same problem in Thunderbird, you'd have to go to Edit-Preferences-Advanced-General-config editor and do steps (b) (c) above. Hope that helps, regards, - steve [1] http://kb.mozillazine.org/Toolkit.networkmanager.disable -- Linux Centric Marketplace: http://www.tuxcompatible.com ___ To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with unsubscribe password address in the subject or body of the message. http://www.ae.iitm.ac.in/mailman/listinfo/ilugc -- http://satish.playdrupal.com ___ To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with unsubscribe password address in the subject or body of the message. http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] automatically updating resolv.conf
Hi Steve, does adding usepeerdns allow for the updation of resolv.conf automatically or does it just direct the network to use the dns servers ? . I have been using wvdial since Fedora 6( long before NM was stable), .. some habits are not easy to lose... :-) .. I have removed the resolv.conf file and tried reconnecting with wvdial, but the file is not updated ( or rather created) automatically, and yeah I did add the ussepeerdns option to /etc/ppp/options . Satish -- http://satish.playdrupal.com ___ To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with unsubscribe password address in the subject or body of the message. http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] firefox10 network manager does not know that network is running
Yeah the problem seems to be that the specified applications were relying entirely on NM for deciding the network status of the Linux box, .. but the dbus suggestion was inspired from a Lenny issue I was looking at here , ... http://debian.org/releases/lenny/i386/release-notes/ch-information.en.html#nis. The NIS server in Lenny if not given the -no-dbus option relies on NetworkManager for deciding whether the system is connected, I thought it was a similar scenario and hence the suggestion, ... Satish On 2/15/09, steve st...@lonetwin.net wrote: Hi Satish, Satish Eerpini wrote: Hi everyone, If this is a common problem because the NetworkManager is notifying the system that no network interface is connected. Then is there no way we can switch off the DBUS communication temporarily ?? If i understand the problem correctly, the issue is not that NM is notifying the system that none of the interfaces under its control are connected, but the fact that firefox and thunderbird, rely solely on NM to gather status of the network connection (even though there is a possibility that some interface is not controlled by NM). The workaround I mentioned fixes that assumption made by FF TB. cheers, - steve -- Linux Centric Marketplace: http://www.tuxcompatible.com ___ To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with unsubscribe password address in the subject or body of the message. http://www.ae.iitm.ac.in/mailman/listinfo/ilugc -- http://satish.playdrupal.com ___ To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with unsubscribe password address in the subject or body of the message. http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] automatically updating resolv.conf
Hi steve .. I have added the options correctly and yeah the file /etc/ppp/peers/wvdial already has the option usepeerdns . Here is the output from 'cat /var/log/messages | tail' : Feb 15 23:56:39 localhost pppd[11644]: pppd 2.4.4 started by root, uid 0 Feb 15 23:56:39 localhost pppd[11644]: Using interface ppp0 Feb 15 23:56:39 localhost pppd[11644]: Connect: ppp0 -- /dev/ttyUSB0 Feb 15 23:56:43 localhost pppd[11644]: CHAP authentication succeeded Feb 15 23:56:43 localhost pppd[11644]: CHAP authentication succeeded Feb 15 23:56:43 localhost pppd[11644]: Could not determine remote IP address: defaulting to 10.64.64.64 Feb 15 23:56:43 localhost pppd[11644]: local IP address 10.3.0.8 Feb 15 23:56:43 localhost pppd[11644]: remote IP address 10.64.64.64 Feb 15 23:56:43 localhost pppd[11644]: primary DNS address 218.248.240.181 Feb 15 23:56:43 localhost pppd[11644]: secondary DNS address 218.248.240.180 I don see any details of the options being passed to pppd here, also even when the resolv.conf file exists, it is not being automatically updated . I will try checking the code in /etc/sysconfig/network-settings/ifup-ppp script and see if any modification can be done there. Thanks Satish -- http://satish.playdrupal.com ___ To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with unsubscribe password address in the subject or body of the message. http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] Webcam and Wifi in DELL laptop working with ubuntu 8.04 hardy heron
I am not sure if the same would work . But I set up the wireless card ( some broadcom variant ) in a Dell Vostro 1510 without using NDISWRAPPER. I downloaded the drivers from the broadcomm site and then compiled them and installed the module using insmod. Then added a modprobe command to rc.local so that the module is loaded everytime you reboot. This works fine now. I had found the solution for the same from some article on the internet, I don't remember the link so try searching for it. Thanks Satish -- http://satish.playdrupal.com ___ To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with unsubscribe password address in the subject or body of the message. http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] Webcam and Wifi in DELL laptop working with ubuntu 8.04 hardy heron
you can download the non-free driver from the broadcom site here : http://www.broadcom.com/support/802.11/linux_sta.php download the driver for your appropriate architecture ( 32bit or 64 bit) and compile it. I confirmed that the wireless card for which the driver I installed is the same as the one on your laptop which you are trying. Ask me if there are any further problems . Satish ___ To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with unsubscribe password address in the subject or body of the message. http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] movies in fedora10
Fedora 10 sucks. Change to Mandriva :-P trying to start a flame war, just ignore this highly personal opinion, ... Satish -- http://satish.playdrupal.com ___ To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with unsubscribe password address in the subject or body of the message. http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] Windows based FOSS software DVD for fossconf '09
hello Bhaskar , Can the pdf ( the winfoss list ) be redistributed among students at our college to tell them about the OSS softwares available for windows ? Thanks Satish Fedora Ambassador (VIT, Vellore) -- http://satish.playdrupal.com ___ To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with unsubscribe password address in the subject or body of the message. http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] re: fossconf 2009,
Hi Raaman, I am from VIT, can I reuqest that the posters and the brochures be sent to our college too, we have an encouraging FOSS community growing here through the efforts of the LUG here and the OSUM ( SUN) . Thanks Satish ___ To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with unsubscribe password address in the subject or body of the message. http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] Shahrukh Khan sent you a Friend Request on Yaari
it happens on some social sites that requests are sent to all the entries in the contacts book without allowing to choose, as happened with me a little while ago with FanIQ. Satish On Sun, Feb 8, 2009 at 11:41 PM, Shahrukh Khan shahrukh1...@gmail.com wrote: Sorry for the inconvenience, As i was not aware that ILUGC members were also on the list it just happened by mistake. I didnt done it on purpose but accidentally that site added my contacts which i was not aware of it.If Luggies think that i am not fit for this community then i can go off. I joined here to get help for my project which i am implementing in LAMP. So once again i sincerely apologise to all Luggies and assure them that it wont happen again in the future. Thanks ___ To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with unsubscribe password address in the subject or body of the message. http://www.ae.iitm.ac.in/mailman/listinfo/ilugc -- http://satish.playdrupal.com ___ To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with unsubscribe password address in the subject or body of the message. http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] Shahrukh Khan sent you a Friend Request on Yaari
There are very few ways how you can get voted off this list. Just follow mailing list etiquette so the list admins don't unsubscribe you. Until you understand how this group works, it's best to stay silent and observe how people interact here. very true, but this community is a lot more friendly compared to many other technical mailing lists , . so take the advantage of that and interact accordingly ! Satish -- http://satish.playdrupal.com ___ To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with unsubscribe password address in the subject or body of the message. http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
[Ilugc] changing the bootup welcome message in Fedora
The welcome message which appears on Fedora just before starting udev can be changed. The standard message is something like Welcome to Fedora, this can be changed to whatever you like, you will have to make changes to /etc/rc.sysinit, find the following section in that file : # Print a text banner. echo -en $\t\tWelcome to read -r redhat_release /etc/redhat-release if [[ $redhat_release =~ Red Hat ]]; then [ $BOOTUP = color ] echo -en \\033[0;31m echo -en Red Hat [ $BOOTUP = color ] echo -en \\033[0;39m PRODUCT=`sed s/Red Hat \(.*\) release.*/\1/ /etc/redhat-release` echo $PRODUCT elif [[ $redhat_release =~ Fedora ]]; then [ $BOOTUP = color ] echo -en \\033[0;34m echo -en Fedora [ $BOOTUP = color ] echo -en \\033[0;39m PRODUCT=`sed s/Fedora \(.*\) \?release.*/\1/ /etc/redhat-release` echo $PRODUCT else PRODUCT=`sed s/ release.*//g /etc/redhat-release` echo $PRODUCT fi if [ $PROMPT != no ]; then echo -en $\t\tPress 'I' to enter interactive startup. echo fi now comment out the whole section and add an echo statement just below it to print your own message, something like this : #printing my own message echo -en $\n [ $BOOTUP = color ] echo -en \\033[0;34m echo -en $Welcome to Satish's Linux Box [ $BOOTUP = color ] echo -en \\033[0;39m check out how the change looks here : http://satish.playdrupal.com/?q=node/84 (thats a screenshot while my system was booting on qemu) Thanks Satish -- http://satish.playdrupal.com ___ To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with unsubscribe password address in the subject or body of the message. http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] HI all people
go to the admin section and start playing around first, and ask around if you have any doubts !! Satish On 1/9/09, s.sudharsan siva sudhasiva2...@gmail.com wrote: Hi i am new to drupal i have installed it can anyone telll how to start with drupal and go ahead.. -- S.Sudharsan(be) http://techsudha.blogspot.com/ ___ To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with unsubscribe password address in the subject or body of the message. http://www.ae.iitm.ac.in/mailman/listinfo/ilugc -- http://satish.playdrupal.com ___ To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with unsubscribe password address in the subject or body of the message. http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] HI all people
please avoid top posting sorry didn't check the qouted text on gmail, ... won't happen again ! -- http://satish.playdrupal.com ___ To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with unsubscribe password address in the subject or body of the message. http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] Progressbar on shell
I stumbled upon the same problem a few months ago, and here is a consolidation of what i Found : http://satish.playdrupal.com/?q=node/37 but i think it is more or less, the sample code Arun posted above. But i have always een suspicious of how the \r carriage return works, can anyone give a clear view about the same ? On 12/25/08, Ashok Gautham thescriptde...@gmail.com wrote: On Thu, Dec 25, 2008 at 9:03 PM, kish realmai...@gmail.com wrote: rpm does it: http://fpaste.org/paste/237 http://fpaste.org/paste/236 That seems to be very specific. I feel progress or some general purpose library is better suited. Of course. Every distro's CLI installer will have some notion of a progress bar. --- Ashok `ScriptDevil` Gautham ___ To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with unsubscribe password address in the subject or body of the message. http://www.ae.iitm.ac.in/mailman/listinfo/ilugc -- http://satish.playdrupal.com ___ To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with unsubscribe password address in the subject or body of the message. http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] [OT] A future in quantum computing???
Hey Ashok, I am not expert to advice you on this, I am also a 3rd year CSE student from VIT. But thanks for the link, the article was awesome :) !! Regards Satish On 12/22/08, Ashok Gautham thescriptde...@gmail.com wrote: I have been wondering over a long course of time what I must specialize in during my MS (and possible PhD). I most certainly am not planning to work in a traditional IT company. I need a workplace that will be challenging and I most certainly dont mind a lil' risk. This news items provided one of those moments when I feel a tingling in me. *http://tinyurl.com/9m6n4w* I am an IT 3rd year student. I know that understanding of quantum physics might be essential for pursuing higher education in Quantum Computing. I am planning to work on algorithm development in QC. My groundwork told me that it was the closest edge to my current line. I have always been interested in algorithms and their analysis. So. Which are the universities that provide quality research in Quantum Sciences? What are the chances of getting into them. If they are not M.S. courses, what will be the qualifying P.G. degree for them? Also, I would like to understand the groundwork i have to do with respect to prepping for this choice of mine. Like what are the Physics books I have to dust out from the library? Is there a place that would provide project options for me to research on during my fourth year thereby being a little more than a student to gazed to the stars and said I could have been there I know this is way off topic. But this is the only place where there are diverse people together. I have the best chances of an answer here. :D --- Ashok `ScriptDevil` Gautham P.S. : I noticed there is hardly and research in India through some basic googling. I would be happy to be proven wrong here. ___ To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with unsubscribe password address in the subject or body of the message. http://www.ae.iitm.ac.in/mailman/listinfo/ilugc -- http://satish.playdrupal.com ___ To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with unsubscribe password address in the subject or body of the message. http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] Re: tata Indicom usb modem internet
How did you set it up ? On 12/22/08, Ashish Verma ashishverma1...@gmail.com wrote: On Mon, Dec 22, 2008 at 11:38 AM, பத்மநாதன் indianath...@gmail.com wrote: now wvdial shows that I have got an IP and DNS, however the resolv.conf does not show the new DNS and also I am unable to ping anything. I am also faced this type of problem. Enable port 53/udp and also check your file wall configuration. Padhu, Ooty. -- My issue was with the route set up. The system was using NIC instead of the modem to send packets. So I changed that and I was able to use everything fine. Regards, Ashish -- http://satish.playdrupal.com ___ To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with unsubscribe password address in the subject or body of the message. http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] tata Indicom usb modem internet
add the following to /etc/resolv.conf nameserver first dns address nameserver second dns address save the file and try pinging something again, should work ! On 12/20/08, Ashish Verma ashishverma1...@gmail.com wrote: On 12/20/08, Kenneth Gonsalves law...@thenilgiris.com wrote: On Saturday 20 Dec 2008 6:14:35 pm Ashish Verma wrote: I finally got the Tata Indicom Plug2Surf Whiz USB modem. Now I am unable to get it started. Below are some details. use kppp. set device to /dev/ttyUCM0 pap/chap authentication username internet password internet phone number #777 connect enjoy Hi Kenneth, I had inserted the SIM in wrong direction. Can you tell me whether any IF device is created in the network-scripts folder. Because now wvdial shows that I have got an IP and DNS, however the resolv.conf does not show the new DNS and also I am unable to ping anything. Regards, Ashish ___ To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with unsubscribe password address in the subject or body of the message. http://www.ae.iitm.ac.in/mailman/listinfo/ilugc -- http://satish.playdrupal.com ___ To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with unsubscribe password address in the subject or body of the message. http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] How to compile module
Hi ashish , they are the object files which were linked into the kernel module file(.ko), you need not worry about them , they should actually be gone if you run 'make clean' also for more info refer to LDD 3rd edition (Linux Device Drivers) , it is all explained there , .. .you should be able to find free versions of the book in PDF format on the web , .. Thanks Satish On 12/12/08, Ashish Verma ashishverma1...@gmail.com wrote: Hi Santosh, The problem was in the make file. I had put pcnet32.c instead of .o. The module has now been compiled. Now I got 4 files pcnet32.ko - I placed in /lib/modules/2.6.25.14/kernel/drivers/net What should I do with the rest. What are these for? I found similar file types in the /usr/src/linux-2.6.25.14/(different folders) pcnet32.mod.c pcnet32.mod.o pcnet32.o Regards Ashish On Fri, Dec 12, 2008 at 12:39 PM, Santosh ssant...@fossix.org wrote: Ashish Verma wrote: Hi, I dont know why this is not working for me. I was able to compile the hello world module without errors. I got the below error: make -C /lib/modules/2.6.25.14/build M=/root modules make[1]: Entering directory '/usr/src/linux-2.6.25.14' scripts/Makefile.build:217: target '/root/pcnet32.c' doesn't match the target pattern Building modules, stage 2. MODPOST 0 modules make[1]: leaving directory '/usr/src/linux-2.6.25.14' I got the pcnet32.c file from /usr/src/linux-2.6.25.14/drivers/net/pcnet32.c. 2.6.25.14 is a compiled kernel. Why is it that pcnet32.c did not get compiled when the kernel was compiled? or when the modules were compiled? Regards, Ashish I had a wrong idea, the actual error is with the makefile. Somewhere regexps are used, which could not match the specified pattern. Thats the problem. Thanks Santosh ___ To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with unsubscribe password address in the subject or body of the message. http://www.ae.iitm.ac.in/mailman/listinfo/ilugc ___ To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with unsubscribe password address in the subject or body of the message. http://www.ae.iitm.ac.in/mailman/listinfo/ilugc -- http://satish.playdrupal.com ___ To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with unsubscribe password address in the subject or body of the message. http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
[Ilugc] A simple script to clean up ( remove ) a kernel
I was removing the old kernel files ( the image , initrd , modules .. ) after i upgraded to the latest kernel , and as i saw it is a manual process where u have to delete a few files and then update the bootloader ( mostly grub ) , ... so i wrote this simple script which provided the kernel version removes all the concerned files from the system , ... I have tested this only on Fedora and i am not sure on how well this can work on other distributions ( as there can be minor differences in how the kernel image is named or how the initrd image is named ) : #!/bin/bash echo Script for rempoing a particular kernel version from the system echo NOTE: If the version being deleted is the latest kernel echo on use in the system then you will have to automatically echo update the soft links to /boot/vmlinuz and /boot/System.map echo USE AT YOUR OWN RISK echo send suggestions to [EMAIL PROTECTED] echo Press any key to continue !! read echo echo echo Enter the kernel version to be removed : read version if [ $version != ]; then #echo The given kernel version is installed echo Cleaning up the files echo echo /boot/vmlinuz-$version if [ -e /boot/vmlinuz-$verison ]; then echo cleaning up vmlinuz rm /boot/vmlinuz-$version else echo The kernel image was not found for the given version try again exit fi if [ -e /boot/initrd-$version.img ]; then echo cleaning up initrd rm /boot/initrd-$version.img else echo the file /boot/initrd-$version.img was not found ..ignoring ! fi if [ -e /boot/System.map-$version ]; then echo cleaning up System.map rm /boot/System.map-$version else echo The file /boot/System.map-$version was not found .. ignoring ! fi if [ -d /lib/modules/$version ]; then echo Deleting the module , do you really want to do this ? echo Press any key to continue : echo cleaning up the modules rm -r /lib/modules/$version/ else echo The modules directory seems to be missing ... echo Could not find /lib/modules/$version ...ignoring ! fi echo Updating grub ... running grubby.. removing options for kernel-$version grubby --remove-kernel=/boot/vmlinuz-$version clock echo Done ;-) else echo You have not entered anything , try again ! exit fi .. please let me know if this script works fine and whether it will be or is useful (??) and also can it be improved , .. are we here looking at something which is not fulfilled by any existing tool ?? the actual script can be downloaded from here : http://satish.playdrupal.com/files/kernel_clean_up, and my explanation here : http://satish.playdrupal.com/?q=node/68( I have given the same explanation , so not very important ;-)). Thanks Satish -- http://satish.playdrupal.com ___ To unsubscribe, email [EMAIL PROTECTED] with unsubscribe password address in the subject or body of the message. http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
[Ilugc] Fedora Logo : with DVDs
Well this might be the height of how crazy i can get about Fedora , ... but here is something i tried out , i laid down all the Linux Distro DVDs i had onto my bed in the shape of the Fedora Logo and took a snapshot of that ,. it looks great ( atleast to my eyes ) , .. The image is here http://satish.playdrupal.com/?q=node/67 . what do u say guys ? Thanks Satish -- http://satish.playdrupal.com ___ To unsubscribe, email [EMAIL PROTECTED] with unsubscribe password address in the subject or body of the message. http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
[Ilugc] A monopoly cycle ?
I was not quite active during the period when Microsoft ruled (1990-2000 ). But then the trend has been slowly changing , with the popularity of other open source technologies , and better options and not to forget how big a flop Vista was . Microsoft played a monopoly in the market for quite some time . They went from the OS to the browser and so on , ... Now there seems to be another player in the market ( even stronger a contender ).. GOOGLE ... it has come the other way round( from the internet to the system ) and is trying its hand at everything ( considering the news that even an OS might be out soon ) , Google's approach has been very different from Microsoft's but the final destination is the same . But I seriously think a Google monopoly will do a lot more harm , given the amount of user related data it collects !... Is this all a emMonopoly /emCycle, one firm takes a monopoly and then another comes up to break that ?? First Microsoft and now Google .. what next ? -- http://satish.playdrupal.com ___ To unsubscribe, email [EMAIL PROTECTED] with unsubscribe password address in the subject or body of the message. http://www.ae.iitm.ac.in/mailman/listinfo/ilugc