Jump to content

chalex20

Members
  • Posts

    157
  • Joined

  • Last visited

Everything posted by chalex20

  1. There is even better programming technique : some function defined as having a return code? Check this return code each time you call this function. Some function defined as returning a pointer ( fopen, malloc)? Check for NULL. The list continues...
  2. And what if I want to know what is the current download speed? Or whether there is any traffic at all? Network connections are often subject to failures/disconnections/etc. Agree completely. To answer the original question : if you use KDE, try knetload. Very convenient systray app, IMHO.
  3. /bin - regular utilities necessary for boot. /sbin - system maintenance utilities necessary for boot /etc - system configuration files necessary for boot. /usr - Unix System Resources. Of those : /usr/bin - regular utilities /usr/sbin - system maintenance utilities /usr/share - shareable configuration files /usr/local - system resources LOCAL to this particular station ( /usr/ may reside on a network ). /var - variable ( quickly changing ) but important to keep data /tmp - temporary data
  4. Wouldn't it be preferable to copy this file to /usr/bin or /usr/local/bin? There is a difference, mind you. The /usr/bin and /bin directories have completely different goals. There is a very good reason such differentiation exists. As far as I understand, /bin and /sbin contain some utilities that are necessary for the system to boot and to function without a network ( /usr may be on the network ) or before the network is up. I don't think this game file is necessary to boot and therefore its place is in /usr/bin or even in /usr/local/bin.
  5. "-lasound" means the following : "find libasound.a or libasound.la or libasound.so within some predefined library directories". Within this : "-l" means "find a library" ( it is a linker switch ), "asound" is the key part of the library name. The full library name is made of the key part by prefixing it with "lib". Examples : -lm tells the linker to find libm.so. -lXm tells the linker to find libXm.so.
  6. When you are in the text console, try to run the following command : service dm start If that succeeds, just run chkconfig dm on and then chkconfig --list dm to ensure that dm is on for runlevel 5. That's all.
  7. into the Konqueror location bar :-)
  8. This may be an example when badly written GUI tools suck. Rightly written GUI tool should notify a user of its actions in proper GUI way, and not in console or not at all, like *drak* do.
  9. source comes originally from the csh/tcsh land :-)
  10. As far as I believe, they are part of wine.
  11. For one very simple reason - you can't pass environment variables "back" to parents - only "forward" to children. When you run the script, a separate shell is run, which gets all those variables ( LANG and such). When you run commands one by one, your current shell variables are reassigned. This /bin/bash runs to execute your script!!! And these variables would never get to your login shell!!! There is a way, though, to leave your terminal in Japanese. Don't run the script, but "source" it. . your_script_here And yes, it is exactly that : "dot space script name" :-) This way, your login shell and not a separate shell would run the script - the effect would be the same as of typing the commands one by one. Good luck!
  12. Linux Printing site http://www.linuxprinting.org contains a good database. If the printer is listed there as "Working", it would work. As far as I see, it is listed as "Working perfectly" :-)
  13. to integrate these "page checking" scripts into the print server. It seems to me the most natural thing to do. This would imply some change in the printing commands, though - they should inform user of "exceeding the quota".
  14. It may just mean that your CD audio cable is connected to some internal LINE-IN ( AUX or TAD, for example) of your card, instead of the CD-IN. As simple as that.
  15. Not removed but rather disabled - just think of USB modems/network adapters. Do you want to re-config it each time you connect it? IMHO, in most cases you would prefer re-enabling the previous configuration. One more issue to start a flame upon. Let's suppose I want to disable some device. What are the steps to do that in Mandrake 9.0/pre-9.1 versus one click in Windows since Windows 95?
  16. I was actually talking about integration of hardware and network config tools. If the hardware networking device is not there, hardware config tools should notify network configuration tools to remove/disable the appropriate interface. Period. It shouldn't even prompt in this case. Hardware is not there, don't remove it completely, but at least make it ONBOOT=no. It's not such a nuclear physics. It is. I've chosen expert mode. My opinion is that in expert mode it should ask. I'm not such a big specialist in iptables, and that's why I've chosen to configure ICS via drakconnect, but I think I do understand something in how networking works. Once more, expert mode. But this tool didn't even show me in GUI which packages were installed. This was seen only in console. If I were running it from menu, I wouldn't even see that I need to remove dhcpd, bind and all that. And I don't like any system standing in my way, much less in case it doesn't know its way around. And to get an additional headache with configuring bind on the gateway? I don't want to bother with it. It's not a problem for me to configure a client. ICS at its base is 10 lines of bash script at most, loading several modules and putting 1 instead of 0 in some /proc/sys/net entries. Why can't drakconnect do just that and ask about all the rest when in expert mode? Something along the lines - "Enable FTP forwarding", "Enable ICQ forwarding", "Enable HTTP forwarding", "DHCP network", "DNS configuration via DHCP". Several checkboxes, that's all. And BTW, can you tell me how one can configure VPN connection via DrakConnect? There is no way in hell to do that yet, even in recent Cooker version. Don't stop. Good tools are THE good thing . Good luck with your tool :-)
  17. Just another example of very bad integration between network config tools and hardware configuration tools. If eth1 device is no longer there, why this ifcfg-eth1 is not get removed? Underdevelopedness and over-"getting in your way" of DrakConnect just never ceases to amaze me, BTW. Not only in this case. I've tried recently to configure simple ICS via DrakConnect (recent Cooker version ). It installed dhcpcd ( for what a hell? I use dhcpxd), dhcpd ( why did not it ask? I wanted my little test home network to be static - just two computers), bind - once more, for what, tried to install and configure shorewall, one little error in configuration passed undetected - and the whole thing didn't work at the end. OK, I configured it manually after some search on the Internet. Who needs such automation tools? Who develops such misfeatured tools?
  18. chalex20

    Dependency Problem

    The best ( usually ) way to install Cooker packages is to download source Cooker RPM and to rebuild it against distribution packages.
  19. On your X server machine, type the following command : xhost +ip_address_or_hostname_of_your_client_machine
  20. It doesn't get well enough with Windows as well, hence NTFS :-) Linux has nothing to do with that. The FAT filesystem has been designed for DOS ( single-user, single-tasking, for standalone non-networked PC by definition ) and just doesn't provide for such things as file ownership, access permissions and such. More than that - long file names in Windows 95 were successfully introduced with no interference to existing DOS and windows software due to bug in FAT implementation, which became feature - some combination of flags, which should be considered an error, was just plainly ignored, so they made this very combination represent long file name element.
  21. chalex20

    /etc/hosts.deny

    I think you didn't understand him completely. He tries to say, that hosts.deny prevents some hosts from connecting to YOUR computer and from using services YOUR computer provides. It DOESN'T PREVENT your computer from connecting to those hosts and using THEIR services. You should either configure your browser or some firewall so that it blocks either outgoing or incoming connections with these hosts.
  22. What you needed to do is to add ALL the paths from /etc/X11/fs/config to /etc/X11/XF86Config-4. As far as I remember, /usr/X11R6/lib/X11/fonts/100dpi isn't enough, you need /usr/X11R6/lib/X11/fonts/misc there as well, as this is the directory containing the "fixed" font.
  23. Does xfs run ? Do either "ps aux | grep xfs" or "service xfs status". Post its output, if there is any. If there is none, or if the second command shows xfs not running, just issue "service xfs start" and then try "startx".
  24. Agree completely. Underdeveloped to say the least. Its Windows XP counterpart is a lot better.
×
×
  • Create New...