Jump to content

Gowator

Platinum
  • Posts

    5668
  • Joined

  • Last visited

Everything posted by Gowator

  1. Ramfree17 hits the nail on the head really. A backup that didn't work is sometimes worse than no backup becuase you get a false sense of safely and take risks, shortcuts you might otherwise not. However, I think mounting RO is ok, Commercial backups are usually run from a seperate dedicated server. Some stuff will always change, specifically /var. Since your saving raw data from inodes then basically no guarantees exist things aren't moved around if you are mounted RW. There is usually a backup log file for instance so that iself will change during the backup. You can end up with a circular dependency (like tar myfile.tar * will try and include myfile.tar becuase its in the directory but is changing all the time.) If you are looking at restoring the system exactly you will presumably do this unmounted. Alternatively you might just want to back up data in which case a LIVE backup is OK so long as you make sure you don't include any changing files.
  2. Sarah ... thats OK for you because your a polar bear and no badger in the world is going to mess with you..... Your right, Perl is so forgiving you can write bad code that works. Still M$ write plenty of bad code in c++ !!
  3. Sorry, ive been away for the weekend :-) basking in the sun... OK your NIC config is correct, I have the realtek in my laptop so that works. Looking at your location I see its cyprus I should have looked ... I think we have another cypriot user... maybe the same ISP so they might know specifics for them. LAN connection is designed so if you were in a office where you had a permanent internet connection it would connect through that. In other words its non-specific, it assumaes the device on the other end knows how to send your request to the internet. When you choose ADSL its more specific, by default it uses pppoe. Its difficult to be very specific becuase so much is based on your ISP. There are different methods of authentification and I guess all your documentation is in greek. This makes it difficult to transfer acronyms and abbreviations directly. I'm not use how much they stick to the charecter sets in documentation. I'm used to French translations of abbreviations but it can be confusing when you don't know what the actual abbreviations stand for. You have an extra charecter set to deal with which adds an extra level of complexity. PPP means point to point but do they call it (Im to lazy to post greek charecters from NT sorry) Pi Pi Pi or do they translate it and use abbreviations??? ie. X, Y, Z (I guess Y would represent alpha for apo (alpha pi omega)..... Anyway, what Im trying to say is your authentification on your ISP is defined under a file called ppp.secrets. I don't know PPP specificaiton OR if they do charecterset transliteration. (Don't post your password/username becuase this board is open and ANYONE can read it although the memebers are very nice people, I agree :-)) Anyway, is your password username in GREEK or LATIN characters ??? I've tried and sucessfully used both LAN and ADSL from the same set-up toy have but it only asks for the password in ADSL setup. You can use the command line utility to do it but its more complicated. I had to becuase once I chose LAN it locked me in a loop where I couldn't get the ADSL config again.... In the end I deinstalled the RPM for the ADSL setup and everything else aDSL. from the rpmdrake remove (I did a search on DSL). Then I reinstalled the packages. Hope thats helpful..... After doing that it reprompted me for the password/username. edit: ooops, I forgot. When the buttons disappear and everything its OK. Its because its getting the IP address from the DSL modem and it just kinda takes a while.
  4. Firstly congrats andrewsi..... If your brand new to linux then one little suggesiton is to make sure you copy all the rpm's and updates. You might want to mess around and generally try and break your new system but theres nothing more annoying than destroying your patiently downloaded updates and customisations. So, I'd recommend trying to keep everything in a directory and keep notes of what you do in terms of anything you have to tweak. Then you don't need to worry about breaking anything. If you installed home on a different partition you can reinstall without touching it for isntance. In a couple of months you'd probably install differently with a bit more knowedlge and practice so plan to do it. Happy hacking ....
  5. But arTee said: If you don't know how to do it you shouldn't do it. Thats the whole point. Running a windows manager as root kicks off every GUI process as root. Every process has root access. Launching a cp-rp from a root console starts that process as root. The question is similar to my gas tank has a sensor that disables the ignition when its open but I find it inconvenient to have to get out and unlock it when I fill up, I prefer to leave the gas cap open, can you tell me how to disable the sensor. Its really not that difficult to run your window manager as root so implicitly its self protecting. I do it occaisionally but I realise what I'm doing and I wouldn't encourage anyone else to do it on principle that all the people I know that understand the consequences can do it without even thinking twice.
  6. rcxau: The message you get is becuase the desktop is owned by the user you log in as. As Steve Scrimpshire points out running xhost will allow you to give access to your sesktop to other users/hosts. This is something to consider the security implications of, i.e. its there for a reason. You can explicitly add a host or a user, try man xhost. You can allow a host with xhost+ <hostname> and removeit with xhost - <hostname>. Same for users. Try a man xhost. It probably means your running from a root console or you have su'd to another user.
  7. I still reprsent it!!! Ahh Im too lazy to spell. Actually, at least you can read a Perl program. You can practically write a book in it. Yours OLP
  8. I represent that remark :-) Lazy programmers rule, why reinvent the wheel !! Steve OLP (one Lazy Programmer)
  9. When you go through and select the pppoe it should prompt you with password/username. You also need to fill in your service providor. you might have to put : in my case its wandadoo wanadoo.fr With your username password you may ot may not need to add @wanadoo.fr on the end. Some need it others don't it depends on the ISP. If you haven't set username/password it won't work.. Your definately conencting if you get the delay (probably) type ifconfig as root. You should have a eth0 (assigned an IP) You should probably also have a ppp0 If you don't you can try stopping and starting the device ifdown etho (this will disable it) ifup eth0 (this should restart, watch for it finding the dhcp address) static: I checked the ADSL...its working right now and I redid it. I think,( im not sure this is needed to get it to add the pppsecrets....) When you get to the NIC config it warns you its already set up for Internet so don't touch anything, just next. This has just worked but it depends on you ISP exacly what to supply. The DHCP assigns you an IP address, it isn't mutually exclusive from pppoe. Your ISP might use the router to assign the password etc. instead of the connection, if you say where you are, what brand and model of MODEM and your ISP some helpful person will be better able to help. see statics questions.
  10. sorry all what Imeant to say was thats why I use it. The Kdevelop includes the Qt development stuff but its a pain to create a makefile via the included stuff. It looks like if I RTFM'd it might not be so involved though. perl is cheap and cheerful but I was trying to say the reason i use it is pure lazyness and familiarity. Sometimes starting simple is good. If you use glade for prottyping gtk stuff its alo nice, I prototype first in perl but then u can redo it in c or c++ as you choose. If you take the time to look thru the source you can learn something whilst your at it....
  11. You can try and do it via CUPS. I haven't done it but I know it finds my samba shared printers. It should be in the configuration/printing mandrake menu. If it acts up starting it this way I find it better to just connect direct from my browser. That way you can click administration and get it to authenticate you as root.
  12. If your OK to reinstall then why not try urmpe first??" If you check your make install log you can compare it to the filelist in the packages from the rpm.... If it looks nasty with library versions or doesn't work, well you were going to reinstall anyway :-)
  13. This really rocks. I havn't actually done anything serious in it, just a few interfaces but its a real nice IDE. Actual language wise its hard to say becuase it depends on the task. I have my personal favorites and I'll go through why but that might not be applicable to you. For database access I tend to lean towards PERL with DBI and DBD:Oracle. This is becuase I already knew perl when i was looking for what to write this in. PHP is very good for database access but its server based whereas perl is client server.... IF I was building a website connecting to a database I'd do it in php but I'd have to learn. For general interface, like to the above I stick with perl because it's easier to integrate witrh the dastabase access and good to prototype. Using glade as a IDE for this is pretty good although not as sophisticated as KDevelop/Qt you can pretty much start from scratch and learn as you go along. I still haven't needed to RTFM for glade.....wheras the Qt stuff will never work until you do RTFM. I think it might be easy but I didn't have the luxury of finding out. You can prototype your glade stuff in perl/python and then port to c++ very easiliy afterwards. Its amazing what can be achieved with a bash or csh script. Everything has a use. For games etc. obviously you'll want c/c++ All round I find perl is pretty flexible and not the best at anything. You can use it like a turbo bash script but you could just write the whole thing in c to make it faster. You can use it to access a database and its flexible in this respect but for a website php rocks. If its an oracle server then jsp is even better! Interfaces etc. same thing, but tend to comile them in C later, glade thoughtfully provides a makefile.... If your used to Delphi then obviously start with kylix... I don't know python but I believe its got the same strenghs as perl... I keep sticking with it becuase whatever I need to do someone else has already done most of the work for me .... check out the list of libaries and funtions at www.cpan.com Before anyone says the port of the installer and RPMDRAKE to perl was a disaster (IMHO) but Mandrake maintain its more maintainable. It comes down to what you wanna write, will you maintain it etc. You should check out the extra tools available in linux for collaborative development like CVS.
  14. Sorry, I had a meeting to go to and I abbreviated.... Glossary: NIC = Network Interface Card (network card) RFC = Request for Comments but in this context refers to reserved IP addresses which are not allowed on the www You can use these in your home/office etc. but then they are translated by your router. This is called NAT or Nwtwork address Translation. Now you see why we abbr. !!! OK, so are you using a DSL (modem) which connects to your network card? or a USB one. Its important to know which. If you sucessfully followed the instructions and it all worked while in the internet Conenction Wizard then you have internet access, you need to turn it on. I chose the start at boot option but its not the best security wise. I'm assuming you didn't ... I'm not usre exactly how you start it but I'll assume its a virtual device for PPP . Point to Point Protocol. PPPoe means PPP over ethernet. If this was a network card youd type (as root) ifup eth0 I guess you have a ppp zero so you could try ifup ppp0 You are right that you need to supply your password/username. Mine was prompted in the 9.1 I'm on NT right now so I can't be more sure. Perhaps theres a tag, if someone else want to please fell free cos I can't test this till I get home. My laptop is MDK 9.0 and this prompted me as well so im not sure why yours didn't prompt! Perhaps now you know let the wizard do its magic again. This time looking for the username password :-) You can stop once it says its connected and actually open a web browser. I did, then you know its really working, not just saying it does.
  15. Just some hints: I'd look into file ownership and permissions a little, its really important for security under linux. Google will help or I'll find something more direct: Look into what is a group/user and how they map to user id. Also its good to know about suid. Also /tmp runs a lot of proceses inclding tempory ones. These can be started from the internet etc. giving them root privelidges is not a good idea. Linux is half about learning why you do something so its always good to learn a little from everything you do.... Happy ripping
  16. Ramfree17 The green screen is the default tuning etc. When i start first time it automatically does the local tuning and scans channels. I've had problems with a blue screen (the colour is set by software) in Xawetv but I used the kde app (wkwintv I think and it worked). bttv is the generic driver to the booktree848 (and later) TV tuning chipset. This seems to be a standard, sorry, haven't seen your post yet for the details. If you can't get channels, and I can't becuase its in a different room, a good way to test if its working is to conenct to the composite or svhs if it has one. Then you source in xawtv or similar to composite.
  17. Well, i had a quick dabble last night. I tried 3 PC's and each one just used the defaults except i manually selected ADSL instread of my NIC. It all works for internet conenctions, except my router/bridge will only work on one at a time. I'm sure there are many ways round this but I'm going to try the simplest one (IMHO) which is to stick a 2nd NIC in the PC closest to the router/hub and connect it directly to it instead of through a hub. I'll give the second a static IP in my internal RFC range and use iptables to route across them.
  18. I just left it blank, This is coming to you over it so its working. It takes quite a while to find the dhcp though, 20-30 secs but I don't do it often!! However, I'm assuming you have an ethernet ASDL modem??? Drake will set a bridged device, mine was eth0:9 Then it routes packets for the default gateway through this. If this is what you have beware it gives me 2 IP addresses, one for the virtual eth. Its working but not optimal with regard to my internal NW.
  19. Gowator

    mupad

    Sorry Michel, did look at the post. What is it??
  20. Annoying that. I remember having it ages ago but I can't remember exactly what I did....or if it was a dirty fix or not. It wan't the bttv though. (I think if you do a new make_dep it should rebuild. or edit out in the modules.dep ) A temporary one is to add a S99fixbttv in the rc.d pointing to a /etc/init.d/ughthisisugly script with a rmmod bttv. I guess you'd need it in rc3.d through rc5.d.... Not very elegant I'm afraid. It removes by bluez so i can use it under vmware for wap access... If your search doesn't give you an answer you can always do this but its obviously really ugly. (thinking about it Im embarrassed to suggest it!) Another quick thought is its depped by another module so it keeps being added back.
  21. Sorry, my mistake small typo/brain misfunction on my part. First it assumes your in /home.... and your username is the same as the home directory. This is the default for mandrake so I'm assuming it is.... The , / stuff just forget, I deliberately broke it into a two stage operation so you'd understand each part, the problem was my typing/brain. In other words you can change owner and group at the same time using chown but the syntax is more complex so I chose the easy one. If I remember (and i'm sat at work on NT) the syntax is: chown <user> <file> chown -R does this recusively so if <file> is a directory it will do all the other directories too. so chown <user> <homedirectory> from /home will give you ownership of all those files but they will still have group root ownsership. The second command chgrp will sort that out. chgrp -R <user> <directory> Its a captial R by the way. tymes explaination is actually cleaner .. and the -R option is often not a good idea. It's OK in this actual instance but as a general rule its not a good thing. Same goes for chmod 777, generally you should set file permissions to the minimum you need but since this is your mp3 directory I figured other users having access to the same mp3's is OK. tyme, sorry just read your bit: daveclark: don't read this till youve done it or you might get more confused... (explaination to do it that way is I wasn't 100% sure if it was <owner> <file> or <file> <owner> If I hadn't put in the / it wouldn't have mattered :-) ) tyme, he's in the right directory for mp3. I had him chmod as his user, becuase of the exit, and just in case he wan't in is home directory before su - the cd <noargs> will take care of this !!
  22. COOL :D No point reinventing the wheel but I'llhave to read the full text later... tyme: good point apart from the package database can be accessible becuase it can be in the root of the chroot. (or just copied since from a 'normal console' the chroot'd tree exists but not from root from /usr...... etc. Hadn't actually considered it but the workaround s easy ! Still let me check out the c_m_f post first....
  23. tyme, Its a fairly inventive thing .. but pretty far out as far as getting your head round it. Believe me when I first started using the NIS automounter I was confused as hell. Wan't till my sysad was away and I had to learn it all very quickly that I suddenly understood how beautfully simple it is. (Like everything UNIX). p.s. not being sarcastic, I appreciate the abstract nature of this idea. But I think you actually answered your own question.... Thats the point, you can create any directory tree you want It only exists for that console but it represents the realtree. like a symlink on steroids for a single console. LVM is another poss. I need to look into it more... Yep, now my head is spinning... The original doesn't exist for that shell butr the whole chrooted tree does ... just in a different location. It would duplicate, you were right, but only during the actual install. A physical tree would be created (/usr/....wherever) and the files actually copied there. They would then be moved to their correct locations based on a script that understands the differences in the two trees. This script would have to be in the original environment. The script would also have to update the config files (preferably backing up the old ones) with the new location.... say a bizarre package had a different place for the conf file like say /etc/http.d/conf/httpd.conf (this is memory so don't check) now lets say the apache config put it in /var/http/conf instead, it would be moved and refrences pointing to it updated. Reason i chose that was the switch for apache from /home/apache or /usr/apache/htdocs to /var/http/html (I knw some distros' still put DocumentRoot in on of the first options wheras apache now state its preferred place is /var/httpd/ ANY CLEARER ??? I'll try and sketch it out and explain better but no tonight I'll be too drunk by the time I get home. Last day of exams for my girlfriend so its a compuslary get drunk night....
  24. Is this a laptop of DESKTOP I have yet to find an unsupported NIC but theres always a chance. In the end theyre $10 a go so desktop wise you can swap it out. The thing to realise on Linux is its a lot less fussy than Windows in many ways. NIC's tend to be supported by chipset. There are many STANDARDS like ATAPI etc. that linux just uses. Specific models are sometimes not specifically tested because really they will just work if they adhere to the standards. Graphics cards are an exception of course... What you'll find in Linux is the devices are probed to find the chipset. Like a TV tuner card using a BT-848 or whatever will be identified as that. In Windows the manufactuerers provde the drivers so you never reliase that your XYX-NIC is really just an ABC-NIC with another badge. You might need to suck it and see a little but consencus seems to be you'll be OK :-) Just becuase a device isn't supported doesn't mean it won't work becuase the drivers are usually available anyway!! Some exceptions are Winmodems and WinPrinters although even these are becoming increasingly supported. Congratulations on your choice of NEW OS. You'll find so many people ready to help ... like me a few years down the road you'll wonder why you didn't switch earlier ...
×
×
  • Create New...