Jump to content

Jza

Members
  • Posts

    333
  • Joined

  • Last visited

Everything posted by Jza

  1. Jza

    Using Shorewall

    Not sure what you mean, I have a hardware router. But that is not what I asked, I already mention I am on the DMZ zone from the Linksys router. I have my shorewall activated on my laptop and I want to configure it so I can open the ports to a LAN zone which includes my other 2 machines.
  2. I was watching youtube yesterday with no issue on my mandriva box.
  3. So I have a user who has an issue playing audio on Google Videos flash. It seems to be a problem with the audio wrapper artsd but I might be wrong. The audio played once, while Kaffeine was on, but after shutting down kaffeine the audio was gone. This lead me to think that is something going on with artsd. Real player plays stream with no prolblem. Can anyone help me regarding this.
  4. So i want to locate an application through top on a faster way that i am currently doing. For example I usually go to top, then to narrow the list of processes I type 'u' which stand for users and type the user that has the running application. Then I wait the application to appear on screen and then type 'k' for kill and the PID. However usually it takes some time waiting on the application to appear, sometimes I know the name of the application I want to kill but I need to wait untill it shows on screen to kill it. My question is this, is there a faster way to look for the application I am looking for? And if thats the case how can I do it, I guess if I list top and do a grep it might work but maybe I just need to learn top better.
  5. Jza

    Help with Xfsamba

    I use xfce however it has been a bit difficult to grasp how to use the xfsamba gui client. First I wanna know if this will help me to configure the samba server or is only a samba client tool. If thats the case, what are the main featurest hat it uses beside detecting shares. Can I bookmark them or copy paste from different shares? How can I authenticate under another user if it's the case? Regards.
  6. Jza

    Using Shorewall

    I have my laptop on DMZ from my LAN however I dont want to be completley unprotected so I want to configure shorewall and have some services active on my lan but blocked to the outside internet. I know shorewall does this by using zones, I havent been able to find much documentation of shorewall what I need is basically create and manage the zone on shorewall and then block the port on the WEB zone and open on the LAN one. Any suggestion?
  7. I got an external harddrive with a Fat32 filesystem. I am using Mandriva 2006.0 and I got the following problem. When I am editing text files with vi, i get the issue that the files can be edited and saved, but if they wanted to be edited again the file disapears. It actually gives me an error regarding the swp (swap) file: E325: ATTENTION Found a swap file by the name ".polls.py.swp" owned by: jza dated: Wed Jul 5 16:28:26 2006 file name: /mnt/DATOS/Projects/Django/djasite/polls/models/polls.py modified: no user name: jza host name: localhost process ID: 20176 While opening file "polls.py" dated: Wed Jul 5 16:28:26 2006 (1) Another program may be editing the same file. If this is the case, be careful not to end up with two different instances of the same file when making changes. Quit, or continue with caution. (2) An edit session for this file crashed. If this is the case, use ":recover" or "vim -r polls.py" to recover the changes (see ":help recovery"). If you did this already, delete the swap file ".polls.py.swp" to avoid this message. Swap file ".polls.py.swp" already exists! if I try to put vim -r file.py I get this error: Using swap file ".polls.py.swp" Original file "/mnt/DATOS/Projects/Django/djasite/polls/models/polls.py" E308: Warning: Original file may have been changed E309: Unable to read block 1 from .polls.py.swp I am not sure how to actually avoid this issue, I have tried the vim -r but this just recover the file I want to avoid getting this error at all. I think it has to do with the way my hd is mounted and currently this is what my fstab says: none /mnt/DATOS supermount dev=/dev/sda5,fs=vfat,--,umask=0,user,suid 0 0
  8. I hate being the political guy here, but lenovo latest announcement that they wont support linux and also announce a multi-milion dollar with Microsoft so who knows what went on that deal.
  9. I thnk you are confusing terminals with sells with commands. Bash is a shell terminal is a program that contains a command line interface and a command are small programs that you can install and run. Terminal apps include: Xterm Eterm Konsole GTerminal Shells there are: BASH ASH CSH KornShell And commands: ls, mv, cp, dir, traceroute, cut, etc.
  10. I actually had to install the rpms of the kernel and then install dkms-kqemu to make it work. Thanks.
  11. I want to think more as a qemu quesition question more than a windows one, but how do I enable audio when I boot an OS on Qemu. Windows comes wiht an error saying it doesnt find Sound components. Making many software instalation fail.
  12. Jza

    IPIP tunnel

    Ok I might be wasting your time here, but have you seen FUSE or SSHFS is basically a tunneling viia SSH but the OS mount it as a shared filesystem.
  13. Also you can try to share them but through http, you can do this installing gnump3d which will publish all your mp3 in a website running in your computer. So the users can just go to your internal ip 192.168.x.x:8888 and vioala your whole library to play.
  14. Yes you have something called Remote Places
  15. This is a general issue in Python and the Web, python usually have frameworks, they dont work like php or perl which means that usually you use pythong through an API which is builted for that. You can always have apache + mod_python but there are some issues with that since well you start getting into a threading system which means that you need to built an object for everything. At least that was my experience, which was a bit messy. However some frameworks are actually very easy and pleasant to use but another problem is that there are many of them and you really need to marry to one. However you can alwasy learn new ones and advance. So the first one I have heard as very clean and good for newbies is called CherryPy, another is Quixote is another one which also is different in a sense and is a bit more robust. Webware for python is also very extensible and well there are few things that you might like about this one. Finally if you want a CMS then you have to go with Plone which is build on top of Zope. If you think you are a bit overwelmed, dont worry we all have gone through this. But just like when you are making your mind about a CMS you just have to choose one and then go with it till you want to demand more. Another language that you might try is Ruby which is famous for Ruby on Rails, to get it just instlall ruby and then a package called RubyGems.
  16. I want my partitions to be writable by users by default. Currently I have to become root, unmount it and then mount it as a regular user. So I want the users to be able to write to it without going through that process I beleieve umask should be use but which values should I get on them. Regars.
  17. Great thanks I will do that. Which files can I check the zones from this 'net' and line.
  18. Mandriva Control Center GUI for Firewall management doesnt inlcude NFS which I use to network my boxes. But I don't know which ports to open them so I could build my LAN but with security enhaced. Could anyone tell me the command line sentence to open the necesary ports for NFS and ZeroConf through ShoreWall.
  19. So I want to do a less on my email (mbox) I have my email distributed across several folders such as accont#/ 200#/ <-- being year 04/ <-- Number of month 29/ <-- Number of day mail.mbs So what I want is a recursive use of less so I can read all the email with out having to hop on each directory, is there anyway i can do this somehting like: less -R * | grep <keyword> Regards.
  20. So I am doing a class on linux at the local college and the linux machines were run on Mandriva Live CD. Some machines were using a switch and then I tried to set up a network demo. The problem is that this demo didnt work because I couldnt even ping the machines between. At the begining I thought it was some firewall rules so I took 4 machines and put a switch and I couldnt still ping the machines. My question is if the default LiveCD configuration has the firwall blocking on this ports. I want to know if anyone has had experience with this livecd setup or what other things I cuold have done to check the network out.
  21. I urpmi qemu with no problems and I have been running it pretty good, however is not as fast and I would like and I know that there is kqemu layer to put qemu up to speed. However when I uprmi kqemu it couldnt load it into the kernel not sure why. I would like more information on how to correctly install kqemu in mandriva using urpmi or source. I know how to do it by source but I would also like to know if there is aditional info on doing this from the urpmi repository. I would also like to enable audio since for some reason installing stuff in win2k emulation is impossible unless you have sound support :S
  22. ok it doesnt has to be a one liner, what I want is to explain how the value of a parametar can be inserted into the script. I got this answer from other forum. #!/bin/bash ls -1 "$1" > uploadList until ! read cur_file do scp $cur_file foo@server.com:~/path/to/upload done < uploadList rm -f uploadList Here they used a temporary file to store filenames so I could send more than one file. That is what I wanted. The option that you present me is a bit different since you use fewer lines. What I need to understand is what is $1 is it a special variable, how is it populated by the parameter if there is no 'catcher'.
  23. Ok here is a doubt that I always had. I want to build a script but I want the script to be dinamic whnre is needed and static on the rest. Here is an example, when I use scp let say i want to have a script to upload images. So the string will look like this: scp *.jpg foo@server.com:~/path/to/upload What I want is to insert files instead of the *.jpg, but at the same time variables might not help unelss they are pre assigned. I want something like alias uploadAC='scp $a foo@ser.... and use something like $a='file'l; uploadAC OR if there's a way to make the script intelligent enough so I can just put something like: uploadAC *.jpg I hope this explain what I where I want to get at. Thanks.
  24. Jza

    Linux to MS VPN

    Microsoft VPN is crippled, and non standard thats why it doesnt authenticate for real. Try getting Cygwin on the windows machine so you can emulate ipsec and true standard VPN technology. Probably a GUI port for windows might also solve it.
  25. I used to use suse linux and the tight vnc is pre-configured so you can access the current desktop similar to a windows VNC connection. So this means the user can share his/her desktop with the vnc conection. In mandrake this seems to not happen, I have had issues configuing and running vnc server. I have a small laptop with not much memory so when I configured XVNC, and wrote the .wmrc to KDE suddently my computer got stomped by lots of processes it seems that when XVNC starts, it tries to run KDE from scratch so I got kded running like crazy on 2 different areas from top. This caused me to kill Xvnc to get my computer back to normal, I want to really understand how to properly configure VNC on my desktop so I can share my desktop and users also have the option of bring a new one when inserting a different terminal. Thanks. So far I have done this instructions with the same results: http://wiki.linuxquestions.org/wiki/VNC
×
×
  • Create New...