Jump to content

PeterPanic

Members
  • Posts

    77
  • Joined

  • Last visited

Everything posted by PeterPanic

  1. To answer that question (BTW: konsole --help or man konsole would answer it, too :D ): konsole -e command and options starts it. you can also set the Session type, window size (--vt_sz), etc (see man) I run the su command, too... su needs "s, because it only wants "one argument" on the command line. This is how I "autostart" my Syslog in a new konsole window: #!/bin/bash konsole --vt_sz 118x40 -e su -c "tail -60f /var/log/syslog" & C U Panic.
  2. Wow! Right. I didn't think that far. Thanks. Of course... Has to work... 1) Because the LAN with 30 Win98/XP-Clients runs fine with DHCP dynamic IPs for over a year and I don't want to mess it all up with my "new" Linux box having one single static IP 2) Because a dynamic IP is less likely to get hacked as it changes e.g. every day. 3) Because I'm just testing the server and don't want to make big changes/efforts/costs as long as I'm not absolutely sure about what I'm doing in the end. 4) Why not? Not everyone does everything as you do. That's part of the spirit of Linux - freedom of choice. Oh, yes... Meanwhile I found out that obviously Windows uses WINE / NetBIOS for LAN name resolution while the Internet and lots of Linux PCs use DNS / bind / named (some Linux PCs use NIS) And they are not interoperable / compatible... So all Win PCs know the names of all other Win PCs (perhaps nmbd of Samba will tell the Lin name to the Win PCs...) and only know the Lin name if it's in the hosts-file or IF you have a DNS-Server set up (like dyndns, or a local Linux DNS server or (perhaps works) a Win 200x DNS server...) I had just thought the Fortigate-Firewall (which is based on Linux) which also does the DHCP will do DNS, too, but it doesn't... So I'll set up a bind9-Server on my linux box and hope that this won't mess up the Names in the LAN... :-) First I'll try the dnydns thing. Thanks for your help. Perhaps anyone has further ideas. See You. Panic.
  3. I don't know if you got me right: I'm running the Apache-Server on a (local) LAN... And the Windows-PCs in the same LAN should open the Apache-Pages when I enter the hostname of the Linux Box in the Browser's adress bar. It only works when I enter the IP. And the Mediawiki Software uses absolute links which link to the "hostname" of the Linux PC. So when the WinPCs access the Wiki via IP and open a linked page, their PCs try to open "http://linuxbox/wiki/....", but "Linuxbox" isn't found/resolved in the LAN. Thanks for your time. Panic.
  4. Meanwhile I found out that it uses the hostname (of the shell command "hostname") to generate its links. And as I didn't have one (used IP only) it used "localhost" as the default hostname. This was resolved on the client to 127.0.0.1 ... I didn't manage to establish a working DNS till now so i just set the hostname (!) to the string "192.168.1.31" which is the IP of the server. Now the links are resolved to "http://192.168.1.31/wiki/..." But that's just a trick and when my IP changes I'll have to change the hostname. The problem with DNS: I should not use my Linux PC as a DNS Server (named/bind), as the whole Network in this company runs with Windows without problems and the Win-Admin fears that the Win-PCs could have problems as soon as the Linux box starts acting as a DNS server. In the Windows LAN there seems to be no DNS server (only the one of the DSL-ISP, which can't resolve my hostname) Question: How do I make the Win-PCs find my Lin PC via the hostname in my LAN? The Win-PCs seem to resolve their names via Samba (nmbd) protocol. Of course I could edit the hosts-file on every PC to find my machine, but again: When my IP changes (DHCP), I'd have to edit host-files on 20 PCs... Any ideas? Cya. Panic.
  5. Well, but I want to use a higher level :D How to make Apache work correctly with security=higher? I want all my LAN to have full access, no Access for the WAN. Firewall is off. I guess that's my problem with MadiaWiki (Post: https://mandrivausers.org/index.php?showtop...ndpost&p=194015 ) It always tries to find everything under 127.0.0.1 .... Well, I can access the Apache pages under /var/www via LAN (entering the IP, because my Linux-PCs LAN-Name can't be found), even phpBB2 works, but the Wiki doesn't (I installed it on my ISPs web server, it works there)... Hmmm. Now trying to switch to standard security as a test... CU. Panic.
  6. Hi all! I'm desperate. Installed Mandrake 10.1OE with Apache2. LAN works fine. Then installed phpBB2 with mySQL. No problem at all. Can use the Forum from the whole LAN at 192.168.1.* and on the Linux Machine from 192.168.1.31 (the Linux Machine) and 127.0.0.1. Now I installed (untarred) mediawiki-1.4.5.tar.gz (the Engine that runs Wikipedia.org) from http://sourceforge.net/projects/wikipedia/ Not much instruction is given, people from the whole world say it runs without problems. I entered the correct settings, the config is created, the mySQL DB is filled (!) and I move the LocalSettings from config/ to ./ ... When I open the page from the LAN (WinXP with Firefox) it tries to connect, and says that 127.0.0.1 refused the connection. I don't want it to connect to 127.0.0.1, but to 192.168.1.31! I entered that. Locally (Konqueror on Linux) it runs fine (with all the links pointing at 127.0.0.1, which is OK on the Server) (EDIT:) I now tried the brand new Version 1.5ß - with the same result. I guess I'm doing something wrong - but what? Hope someone can help me. Bye. Peter
  7. Hi! I read 1000s of pages now, but obviously I'm too dumb. How do I synchronize two directories on two PCs (Linux-Linux; Linux-Windows; Windows-Windows - anything you like, I'd like Lin-Win best...) across the world? The PCs are both connected to the Internet via ADSL, have Routers and Firewalls, but can "surf" the internet in any way. I'm the admin of both (and the firewalls). I could use FTP on both PCs, to sync via my domain, but then the users on the remote PC would have to publish every change and read all of my changes. Perhaps this could be done automatially. But of course, FTP perhaps isn't the best way. It would be nice if my PC (usually WIN, dual boot) could somehow MAKE the remote LIN server (mdk 10.0CE) send his files to me and get my files. Both dial into DSL and so have IPs changing every some hours. So sometimes I can't find out the current IP of the remote LIN server. So now - what is the easiest way? Ideas: * FTP via my domain (expensive traffic...) * Some ICQ clone? * SAMBA via DSL? * FreeSWAN? * Unison? * RSH /SSH? I couldn't find out how to make ANY of them really work... Thanks. Panic.
  8. Hi... I still hope someone could help me...
  9. Hi! Today I switched from "guest ok = yes" to "guest ok = no" in Samba. My problem: When my Win98SE-Clients want to access a Samba3-share they first have to open the folder in an Explorer / MyComputer - window. If after booting they immediately* try to access a file on a share via a program (in my case a DB client which accesses the DB-Backend on the server), it fails. (I'm not in this office right now, so I can't post my smb.conf or the exact error message) When they open the \\LINUXSERVER\share\ in the explorer, it opens without any problems, as the user-password is saved by Windows and (i guess) transmitted to Samba automatically. After that, the user can use the DB-Program normally until he/she reboots the PC. What settings are responsible for that? Can I change anything on my Win98-PCs (except for opening the Folder in Autostart or assigning a drive letter - I'd prefer something that doesn't slow down system startup) or in my smb.conf? *) No, it's got nothing to do with opening the share too fast or so, it really works right after I opened the share in explorer... If someone could help fast I'd owe you something. Ciao, Panic
  10. Hi all! Well, the power supply/UPS thing never was my problem at all. Usually my Linux trashes, when something hangs and I use the SysReq (Raising tiny elephants...) to sync and term and kill and shutdown. Next time I boot, the fsck (Press "Y"...) appears. If I don't fsck, usually everything goes OK, if I do fsck, it messes up some read-only system files and Linux won't boot any more. If I refuse to do fsck, the "automatic" check will start after xxx (100?) bootings or after yyy days. And THEN everything goes down again... So what I have to do is 1) Only use Reiser 2) disable forced checks 3) say "N" to the check questions 4) use reiserchk from time to time Hmmm... OK. And I'll search the forum for how to backup my complete system. :-) Bye, PeterPanic
  11. Hi all! (This is a re-post, I hope someone can help me now...) The problem concerns Windowmaker. I'd like to dock an application (for example Konqueror) to the dock or clip multiple times. That's because I want to start the App with different command line arguments (for example a text editor with different files to open or Konqueror with different files/directories). So I have one without arguments, one with the HOWTOS and one with my Documents directory, I'd like to change the Icons to be able to distinguish them optically. A similar problem are the rxvt-terminals. I'd like to have different icons for font sizes and also start rxvt with commands (for example to show my tail -f /var/logs/syslog)... But when I change the Icon of one Konqueror, the icons of all Konquerors change... How do I do that correctly? Thanks, PeterPanic
  12. PeterPanic

    USB problem

    I have a similar problem: My Teledat usb 2ab (German USB ISDN device) works fine under Win98SE. But when I boot into linux after some seconds this device is completely hung. I mean, I can't telephone any more. I get a bip-bip-bip and the caller gets the same sound as if I just wouldn't answer the phone. If I want the telephone to work, I have to unplug the usb cable first. I don't even want to use the device in Linux as I also have DSL, but I use Windows as my answering machine and fax. so I'd like to leave the cable plugged in :-) Who can help? Ciao, Peter Panic
  13. OK, but shouldn't there be a 9.3 in the cooker? I mean, is 10 really such a new thing then? Do they re-invent mandrake? (Perhaps they reinstall the cool tools of 7.2, 8.0 and 9.0) :-) Cya, PeterPanic
  14. So there's no "cure" ? No way to repair my corrupted files? I really have to delete all of my Linux and re-install? OOfff.... Hard thing again... OK, I can access all of my partitions, so I'll (once more) TAR the homes to my Windows Partition and start with reiser from scratch. How do big companies do that? Do all of them use Reiser? Or will they just stop working for a day whenever there's a power problem? I guess I'll write a newbie installation guide for MDK so that newbies know from the start that they mustn't use ext2... One point in this guide, along with many, many others that made me work for months before I just found out how it works. From time to time Linux reminds me of a riddle that's hard to solve - if you don't know the solution - and which is a childs play if you do know it. Can any of you explain to me what exactly "fsck" does? Thanks all... PeterPanic
  15. Yes wall - I really never had a corrupt partition table in all my years and about 80 Win PCs I installed caused by shutdowns or anything like that - Only by viruses and HDs that were physically damaged. Hmmm..... Ciao, PeterPanic
  16. But I didn't "DO" anything :D Just a few shutdowns... Until today I had the opinion that Linux is "much more stable" than Windows. But I never had such problems in Windows, but always in Linux. I've got quite stupid customers which don't know that there's a "Start - Shutdown" in their Windows. They always simply switch off the PC with Programs running and stuff. Usually Scandisc fixes that all, from time to time it reports which files are corrupted and you reinstall these. In the worst case you simply install Win "over" your installed Win and is somehow works... Without installing all packets from scratch and losing e.g. your settings of the programs. There has to be such a way, even with ext2... Why doesn't some checking software tell me which programs are corrupted and how to reinstall them? OK, it's all open and free and I can't demand anything, but if lots of universities, governments and large companies use ext2, how do they manage all the damage ? I think, they can't just reinstall every week. So if Reiser is the only usable FS, why doesn't anyone warn you when installing Linux? I could have lost all of my company data if I just relied to the stability of Linux... And now I lost a lot of time again... But on the other hand - it doesn't seem as if the FS itself was broken. And the HDs are OK since a year on all of my Win/Lin machines - so why should they be faulty in Linux? I use standard parameters. Is there for example a hdparm or so that could be responsible for these errors? Because I thought the shutdowns couldn't corrupt e.g. grep, as in linux a command is read and then executed from ram, isn't it? So why should grep be corrupted when there hasn't been any write access on it? HMMM.... I don't understand that all... So all - Do you all think, Reiser is the best FS? What are the DISadvantages of reiser?
  17. Hi all! (I posted this on 31 Oct already, but my posting vanished.... Deleted by mods or fallen through holes in the new board... Never mind...) As I described in my first posting, after rebooting and a suggested FS check ("Press Y within 5 secs to check the FS on "/"... or so...) the checking process destroyed some of my files. When trying to boot again, I got messages such as "(etc/rc.d/rc.sysinit: line 44: 21 segmentation fault (...)grep (...) " So I thought my /bin/grep was damaged. I booted in rescue mode and compared the /bin/grep (in the rescue ramdisc) wirh my /mnt/bin/grep (which is my "normal" grep as it's mounted by the rescue mode) and the "normal" grep was 20kB larger. So I replaced it with the one from the rescue disc (which has the same size as the one on my other MDK 9.1 PC) and booted again. This time I had no errors any more, but the system hangs when booting at the message (One of the first): "Please wait while booting..." (If my memory is right) Nothing happens after that (Neither in the "Linux" LILO Option nor in the "Failsafe" {Whatever that is}) I can go to the next runlevel with ctrl+c, but then the devices are still in R/O and I can't really go on booting. So I shut everything down with the "Tiny Elephants" Key combinations... That's all... Who can help? How do I find out which files are damaged? Why are they damaged? I had the same problem on other Linux PCs... I'm re-installing Linux almost as often as Windows... I thought Linux stands for stability ?! How come that the fsck or whatever - or a simple power failure or system hangup can destroy important files without a chance of recovery? What can I do? :-) OK, next time I'll backup my whole "/", but that can't be it in the end. Can I somehow install the most important system files "over" the existing ones without having to reinstall all of my Linux with all RPMs? Thanks. PeterPanic
  18. :huh: Hi, all! When trying to boot my MDK 9.1 yesterday LILO started, I chose to run "Linux" and the graphical start (is that "Aurora") began. But a second later I get a /etc/rc.d/rc.sysinit: Line 44: 21 Segmentation Fault and then the Line containing grep I think. Then another segfault with egrep and then it hangs in "Booting Mandrake ..." When I press Ctrl-C it enters RL 5 or so and shows some more segfaults with grep. Is it possible that my grep is damaged? (I have an other pc with MDK 9.1 here, so could I just copy grep to a disc and boot in rescue mode and overwrite mine with the one from the disc?) What do you think? I can boot into rescue mode with my mdk CD, did fsck.ext3 on my "/" (currently only have "/", "/boot" and "swap") and it "optimized" some directories, but still has the same errors. What else could I do (in rescue mode or otherwise) to fix this? I had similar errors before on other PCs... When something hangs and the system shuts down uncleanly, it asks me if I'd like to check the FS (Hit Y within 5 secs) and when I do this it destroys files... Thanks, PeterPanic
  19. Hi! Without exaggerating: I tried about 20 HOWTOs, 5 Manuals (Books), The Wizards of MDK 9.0 and 9.1, about 100 man-pages, Google-Searches all over and again and almost died of anger. The only thing that did work was this HOWTO: http://tldp.org/HOWTO/IP-Masquerade-HOWTO/index.html (You can also find it here in the Tutorials section under Networking) Read it, understand it, do it, it works. MDK9[0/1]-Wizards always destroyed all my configuration files, as did Linuxconf. I'll do a little introduction tutorial for newbies on this HOWTO when I find the time. I always wonder why the Wizards work for anybody else, because they even put typos in the config files (In both MDK versions). They CAN'T work. Perhaps they work if you just click "next-next-next", but I wanted to have MY IP and no DHCP.... Thanks :-) Bye. PeterPanic
  20. Hi! The choice of your Window Manager (resp. Desktop Environment) depends on what you like and need. KDE and Gnome both get IMHO to a development where they try to "emulate" the look and feel of Windows XP and Mac OS X... I think they shouldn't, because they are unique and should stay with their own way. (OKOK you CAN configure them to look different, though...) If you want/need something that feels like WinXP or Mac, KDE is a bit ahead of Gnome, but Gnome is still a "bit" cooler. I use WindowMaker. It has a completely different feeling of usage and design. In the beginning it seems a bit unusual and hard to learn in depth, but then it's a lightning compared to KED and Gnome. You can even combine WindowMaker with KDE, Gnome or XFCE elements as you like, for example use their "task bars" as an add-on to WindowMaker. On my K6 II / 400MHz KDE needs about 80 seconds to start, WM needs 15 or so... And doesn't eat up so much processor power. I'm just installing "lots and lots" of window managers and will post my results of comparing them.... See ya. PeterPanic
  21. :) Thanks, seems cool. Should be in the MDK standard distro. I think I'll experiment with it a bit. Tkanks again PeterPanic
  22. Me again with WindowMaker... :-D (Perhaps I should ask all my WindowMaker questions somewhere on Windowmaker.org, but this board here helps me a lot and others don't. And I think the answer also applies to other WMs..., I guess even to X in general) So, my question: Is it possible to start an application by pressing a Key-Combination in WindowMaker? I just configured the multimedia keys of my keyboard and they work fine (Thanks to theYinYeti's post http://www.mandrakeusers.org/viewtopic.php...p?p=62856#62856.) So now I can e.g. switch my workspaces in WindowMaker with my <-- and --> keys (which usually are used for browsing) I've got a "calculator" key. How can I assign a calculator program to it? And the other thing: How can I actually USE the keys in their original functions (Browser next/prev/reload/stop, audio +/- volume, play, stop,...) And then: Can I assign simple characters to these keys? I'd like to have a key on my german Keyboard (on this it's AltGr+ß)... and perhaps some macros, as e.g. Make a "{ }" and put the cursor in the middle of the brackets... Any ideas? Thanks a lot. PeterPanic
  23. Hi! (Newbie question...) I just set up my DSL connection in MDK 9.0 and from time to time the DSL modem starts blinking and blinking even when I don't do any transfers I knew of. The connection bandwith that's "left" for me drops down a real lot. This PC doesn't contain any really "top secret" files, so I'm not in an emergancy, but I'd like to know who transfers what in which direction (Mozilla was open, perhaps it was OK...) Is there a log file of all transferred files that move over my eth1 or ppp0 - adapter? I configured this PC as a gateway for a Win98se-PC that is currently switched off. I don't have a special firewall (just iptables like it is described in the MASQ HOWTO in the tutorials) What do you suggest, resp. is there already a log running? Thanks. PeterPanic
  24. Thanks to all of you. I'm beginning to grow out of the newbie state by your help. This is great. I think I'll write some small MiniTutorials about this and see if you like to have them in the Tutorials section. Cya, PeterPanic
  25. :roll: Oh, yes, now I see... Konqueror does it, in fact. Mozilla only starts one instance. When I right-click my Mozilla icon and use "Launch..." I force it to start again, but it will only start if I choose a different user profile. So my question is answered in general, but especially for Mozilla: How do I start a new Mozilla Window (Like Ctrl+N) or Tab (Ctrl+T) with my URL in it by pressing a docked icon? And: Is there a config file with the docked / clipped icons in it? :-) [Added:] OK, still doing my experiments... When I have my 3 Konqueror Dockapps docked to my clip, one without arguments, one with the HOWTOS and one with my Documents directory, I'd like to change the Icons to be able to distinguish them optically. A similar problem are the rxvt-terminals. I'd like to have different icons for font sizes and also start rxvt with commands (for example to show my tail -f /var/logs/syslog)... But when I change the Icon of one Konqueror, the icons of all Konquerors change... How do I do that correctly? Cya. PeterPanic
×
×
  • Create New...