restore data from hd
is there a possibility to recover data from a hd that is overwritten with dd?? thanks for any help kradi -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: restore data from hd
> is there a possibility to recover data from a hd that > is overwritten with dd?? No, as you have _overwritten_ it the previous data is gone. With kind regards, Wim Fournier -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Automated solutions for a small ISP
I work for a small Internet provider. I'm getting tired of entering the same information in many places (e.g., new client's IP into DHCP, DNS and /etc/ethers). I'd like to have a system which automates such tasks (OK, I've got a few scripts, but that's not enough). I have a few ideas - could you comment them? Idea 1) Write a system which keeps the hosts information (and in future - user information) in some kind of a database (file, MySQL or LDAP, probably I'll choose MySQL) and generates configuration files. Advantages: easy to implement. Disadvantages: limited use. Idea 2) Install a full-blown ISP managemant system, probably based on LDAP - for example the one described here: http://www.tldp.org/linuxfocus/English/September2000/article173.shtml Advantages: it fully automates many mundane tasks, scales very well, has a web interface that can be used by not-so-technical personnel. Disadvantages: hard to implement, such a complicated system can screw up the system in more ways then I can imagine, security hole in this system could cause a total breakdown. Or maybe there's another system I can use? Preferably something modular, so that I can LDAPize some things (it doesn't really need to be LDAP, but I feel it is the future) and keep good old config files for other stuff? Maybe it'll be better to write my own system (Idea 1), but with scalability in mind - that way I will know what it does and it will minimize the risk of screwing the system up? Best regards -- Igor Wawrzyniak| PGP public key: https://crypto.eu.org/key.asc -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Automated solutions for a small ISP
Hi, > Idea 1) Write a system which keeps the hosts information (and in > future - user information) in some kind of a database (file, > MySQL or LDAP, probably I'll choose MySQL) and generates configuration > files. Advantages: easy to implement. Disadvantages: limited use. This is the way I do it. I use Postgresql and PHP to store and write config. files. Then the config. file is sent to the remote machine. >> Disadvantages: limited use. How so ? A Relational database can store huge amounts of data. It's simple send a machine some config data. I use both Daemon's and Cron jobs to listen/check for new config data. I like this method and plan to stick with it. Regards Rudi. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Automated solutions for a small ISP
Igor Wawrzyniak wrote: I work for a small Internet provider. I'm getting tired of entering the same information in many places (e.g., new client's IP into DHCP, DNS and /etc/ethers). I'd like to have a system which automates such tasks (OK, I've got a few scripts, but that's not enough). I have a few ideas - could you comment them? No problem... Idea 1) Write a system which keeps the hosts information (and in future - user information) in some kind of a database (file, MySQL or LDAP, probably I'll choose MySQL) and generates configuration files. Advantages: easy to implement. Disadvantages: limited use. This is what I use. Only limited by programming skills (and time to code) ;-). We use two replicating mysql servers, some perl scripts (configuration agents for apache), and a web interface in PHP. This came with an extra bonus - as I store the custoer's id in most tables, I built a customer self-service portal on top of what I had in only a few hours :-). We also use freeradius, postfix, courier-imap and mydns, which authenticate/read their data directly from mysql, so we only need to generate apache's config files. Apache virtual host accounting is done through a perl script parsing mod_watch's output, so there's no need to parse those n GB of access_log every night... Works like a charm, but is non-free (since my boss was paying me, eventually). Idea 2) Install a full-blown ISP managemant system, probably based on LDAP - for example the one described here: http://www.tldp.org/linuxfocus/English/September2000/article173.shtml Advantages: it fully automates many mundane tasks, scales very well, has a web interface that can be used by not-so-technical personnel. Disadvantages: hard to implement, such a complicated system can screw up the system in more ways then I can imagine, security hole in this system could cause a total breakdown. Or maybe there's another system I can use? Preferably something modular, so that I can LDAPize some things (it doesn't really need to be LDAP, but I feel it is the future) and keep good old config files for other stuff? Maybe it'll be better to write my own system (Idea 1), but with scalability in mind - that way I will know what it does and it will minimize the risk of screwing the system up? Best regards Seems I have done (2) in mysql, and I don't regret it. IMHO there's too much relational data in such a system to implement it with a LDAP backend. After all, mysql has replication, too. Thomas -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Fwd: NDN: LDAP with htaccess file... problems.
Hi All, I am trying to use ldap in my .htaccess file to restrict access to users who have a valid uid and password in the ldap server. The package I installed is libapache_auth_ldap. This is in .htaccess file: AuthName "Students" AuthType Basic AuthLDAPURL ldap://ourserver:389/o=Princeton require valid-user Using this, the .htaccess file works enough to pop up the authentication box, but when I put in a valid uid/pass, the browser gives me an Internal Error message. In the apache error logs it says: Search must return exactly 1 entry; found 0 entries for search (&(objectclass=*)(uid=phoebe)): URI /testdirectory If I change my AuthLDAPURL to end with "?sn" and enter an appropriate surname/pass, then I either get: 1. an error message saying too many names came back, or, if i use a unique surname, then i get no error messages and the browswer just hangs forever. Inidicating, perhaps, that the search worked and then I am missing a step so that it grants me access to the webpage. When we search from the command line, we cannot see the UID. We cannot search on it, and it is not returned to us. It seems as though our LDAP does not have the UID available to search. The authentication is working somewhat, because of the surname search will return multiple entries and we can see the error logs. Is there a way I can change the permissions on our LDAP server? Thanks, Phoebe Reed [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: restore data from hd
On Wed, Oct 15, 2003 at 01:38:47PM +0200, Daniel Kradolfer - smile solutions gmbh wrote: > is there a possibility to recover data from a hd that > is overwritten with dd?? If the data was actually overwritten, then recovering it will require very specialized equipment, the sort that three-letter government agencies are rumoured to have. If the data you lost is really valuable (like the location of that $300 million lottery ticket), then it's probably worth it to talk to every data-recovery specialist to see if they have the equipment and expertise to recover overwritten data. It will cost a lot (I'd expect the price to be in the tens of thousands of dollars, and I would not be surprised to find the price is in the hundreds of thousands). For mere mortals like us, it's not possible to recover data from a hd that's been overwritten with dd. --- Wade -- /"\ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . \ / ASCII Ribbon Campaign| Wade Richards --- [EMAIL PROTECTED] X - NO HTML/RTF in e-mail | Fight SPAM! Join CAUCE. / \ - NO Word docs in e-mail | See http://www.cauce.org/ for details. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Automated solutions for a small ISP
Igor Wawrzyniak wrote: I work for a small Internet provider. I'm getting tired of entering the same information in many places (e.g., new client's IP into DHCP, DNS and /etc/ethers). I'd like to have a system which automates such tasks (OK, I've got a few scripts, but that's not enough). I have a few ideas - could you comment them? Idea 1) Write a system which keeps the hosts information (and in future - user information) in some kind of a database (file, MySQL or LDAP, probably I'll choose MySQL) and generates configuration files. Advantages: easy to implement. Disadvantages: limited use. Idea 2) Install a full-blown ISP managemant system, probably based on LDAP - for example the one described here: http://www.tldp.org/linuxfocus/English/September2000/article173.shtml Advantages: it fully automates many mundane tasks, scales very well, has a web interface that can be used by not-so-technical personnel. Disadvantages: hard to implement, such a complicated system can screw up the system in more ways then I can imagine, security hole in this system could cause a total breakdown. Or maybe there's another system I can use? Preferably something modular, so that I can LDAPize some things (it doesn't really need to be LDAP, but I feel it is the future) and keep good old config files for other stuff? Maybe it'll be better to write my own system (Idea 1), but with scalability in mind - that way I will know what it does and it will minimize the risk of screwing the system up? Best regards How small are you? How fast do you plan on growing? If you're planning on steady growth, it may be well worth your time to jump to a management system now, while it's still easy to import your existing data. We've been using Optigold here. You need to run their DB on a NT machine with Framemaker, but it does interface well with all our "real" servers (web, DNS, email, etc. all running Debian). Optigold supports LDAP, SQL, telnet, and arbitrary command line server actions, so you could probably migrate from your existing scripts easily. With web hosting, for instance, Adding a new web host can trigger a script on the web server which dumps the necessary VirtualHost section to httpd.conf. If something breaks, it's still easily editable. They used to have a trial program where you could use it for free with under 100 customers. The biggest advantage we found with Optigold, which should apply to any similar system, was the integrated billing. A dedicated system worked much smoother than Quickbooks, especially once our account base passed the 1K user point. --Rich _ Rich Puhek ETN Systems Inc. 2125 1st Ave East Hibbing MN 55746 tel: 218.262.1130 email: [EMAIL PROTECTED] _ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Duplicating machines
Hi there! I am now building two twin firewalls that will be taking care of one another with heartbeat, and was wondering how do you take care of having twin machines. fai, sysimager, mondo/mindi? What's your favourite approach? Thanks! -- I don't think you trust in my self-righteous suicide ._System Of A Down_-_Chop Suey_. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Automated solutions for a small ISP
On 15 Oct 2003, Igor Wawrzyniak wrote: > Idea 1) Write a system which keeps the hosts information (and in > future - user information) in some kind of a database (file, MySQL > or LDAP, probably I'll choose MySQL) and generates configuration > files. Advantages: easy to implement. Disadvantages: limited use. Exactly what I do. It is very flexible and extremely reliable. Unlike database servers, files rarely "go down". There's no point in having small and reliable services if they are directly tied (i.e. online) to huge applications such as database servers. Unless your configuration files are very big (e.g. you have hundreds of thousands of customers) it is also very fast. Regards, Oliver -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
mrtg on STM-16 makes strange graphs
Hello, I'm having a strange problem using mrtg (woody, kept uptodate with security) to monitor STM-16 interfaces on Cisco hardware. On some interfaces only (which I could not correlate to a different hardware or IOS version) I see the data in the log file, I can see the "min/avg/max" lines below all the images, but the graph is a flat line at 4b/s. I can see this effect on both sides of a link, on 2 different routers, using 2 different model of line card. This link is the only one having this effect at the moment, and it's actually the only one that has a constant rate above 1.5 Gb/s, with peaks up to 2.3. I've obviously tried to "clear counter" on the interface, to delete the logs and start from scratch nothing, after a while it's the same flat graph. Which is actually quite annoying when you have to point out a link that needs upgrade ;-) Anyone else ever seen this ? These are the first lines of the .log file: 1066233010 551948614209927 596551269291258 1066233010 257490042 280391210 257490042 280391210 1066232410 255561340 280607526 255561340 280607526 1066232400 255561340 280607526 255561340 280607526 1066232100 255505806 280665083 255561340 281935775 1066231800 254279798 281935775 254279798 281935775 1066231500 254288034 281922509 254526898 281935775 1066231200 254526898 281537817 254526898 281537817 1066230900 254477756 281493130 254526898 281537817 1066230600 253052643 280197210 253052643 280197210 1066230300 252860122 280324175 253052643 282101687 106623 250164831 282101687 250164831 282101687 1066229700 250042329 282176616 250164831 283830834 1066229400 247337883 283830834 247337883 283830834 1066229100 247179875 283606358 247337883 283830834 1066228800 243387702 278218950 243387702 278218950 1066228500 243025153 277536789 243387702 278218950 I have the doubt that rateup can't cope with numbers bigger than but I'm not sure. Ideas? Ciao Pf -- --- Pierfrancesco Caci | ik5pvx | mailto:[EMAIL PROTECTED] - http://gusp.dyndns.org Firenze - Italia | Office for the Complication of Otherwise Simple Affairs Linux penny 2.4.21-ac1 #1 Sat Jun 14 22:51:10 CEST 2003 i686 GNU/Linux -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: mrtg on STM-16 makes strange graphs
IIRC this is a variable type overflow which is fixed in mrtg_2.9.29-1 from unstable. I have backported mrtg to woody. Give em a try: deb: http://kloppeck.isa-geek.net/debian ./ -- [EMAIL PROTECTED] "I am not a Geek! I shower." -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Debian SNMP package to monitor Ascend MAX units
Does anyone know of any Debian packages that can use SNMP (or some other method) to monitor port usage on Ascend MAX 4000 series remote access units? If so, where can I find HOWTO pages on configuring this? -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
RE: IDE Raid Controller concerns
I'm looking to do something similar here but the major obstacle I've found so far is in finding a reasonably priced chassis that will hold 12 ide drives. I am on quite a strict budget but I'd prefer it to be rack mountable if I can get one cheap enough, otherwise a tower etc would do. Any suggestions? -Original Message- From: Chris G. [mailto:[EMAIL PROTECTED] Sent: Wednesday, 15 October 2003 11:12 a.m. To: [EMAIL PROTECTED] Subject: IDE Raid Controller concerns I've got a couple questions related to IDE raid that if I could get some feed back on, I would really appreciate it. A little bit ago, we suffered from a single drive (in software raid 5) causing data corruption and poluting the array before being ejected. This made almost all the data on the raid invalid and unusable. We knew that this was probably going to happen sooner or later, but I started wondering about hardware based raid cards, and if they would handle this any better. I'm looking at a raid to have a 12x120 gig 7200 RPM ide drive setup. 11 drives in the array, and the 12th drive as the spare. Controller wise we are looking at the 3Ware Escalade 7506-12 card, but I have never seen this card in action, and I have no idea how it might handle the above problem. If any of you have used this card, what have your thoughts been? What problems did you run into? Do you recommend a different card in the same price range ($400 to $600)? Thanks for any help you might be able to offer. Chris G. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
RE: IDE Raid Controller concerns
Check out http://www.akiwa.com/news.asp and their rack mount cases. They have some new ones that are quite nice and the price is pretty good for what they include. I would call them for up todate pricing, but when I called it was very competitive. (I think the 12 bay without power supply was about $300 or $400, but that was a while ago. The other place to check is www.rackmountpro.com. Their new RM2008, RM3012, and RM4016 are priced at ($789, $899, $1300 with power supply). That's what I have found so far. A tower will be a lot cheaper then rack mount. One thing to look at is if you really need the hot swap drive caddies, if you don't it can save you a bundle of money just getting a standard case with space for 12 drives. Hope it helps Chris G. On Thu, 16 Oct 2003, David Lawn wrote: > I'm looking to do something similar here but the major obstacle I've found > so far is in finding a reasonably priced chassis that will hold 12 ide > drives. I am on quite a strict budget but I'd prefer it to be rack mountable > if I can get one cheap enough, otherwise a tower etc would do. > Any suggestions? > > -Original Message- > From: Chris G. [mailto:[EMAIL PROTECTED] > Sent: Wednesday, 15 October 2003 11:12 a.m. > To: [EMAIL PROTECTED] > Subject: IDE Raid Controller concerns > > > I've got a couple questions related to IDE raid that if I could get some > feed back on, I would really appreciate it. > > A little bit ago, we suffered from a single drive (in software raid 5) > causing data corruption and poluting the array before being ejected. This > made almost all the data on the raid invalid and unusable. We knew that > this was probably going to happen sooner or later, but I started wondering > about hardware based raid cards, and if they would handle this any better. > > I'm looking at a raid to have a 12x120 gig 7200 RPM ide drive setup. 11 > drives in the array, and the 12th drive as the spare. > > Controller wise we are looking at the 3Ware Escalade 7506-12 card, but I > have never seen this card in action, and I have no idea how it might > handle the above problem. > > If any of you have used this card, what have your thoughts been? What > problems did you run into? Do you recommend a different card in the same > price range ($400 to $600)? > > Thanks for any help you might be able to offer. > > Chris G. > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact > [EMAIL PROTECTED] > > > -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: restore data from hd
On Wed, 15 Oct 2003 08:28:50 -0700, Wade Richards <[EMAIL PROTECTED]> wrote in message <[EMAIL PROTECTED]>: > On Wed, Oct 15, 2003 at 01:38:47PM +0200, Daniel Kradolfer - smile > solutions gmbh wrote: > > is there a possibility to recover data from a hd that > > is overwritten with dd?? > > If the data was actually overwritten, then recovering it will require > very specialized equipment, the sort that three-letter government > agencies are rumoured to have. > > If the data you lost is really valuable (like the location of that > $300 million lottery ticket), then it's probably worth it to talk to > every data-recovery specialist to see if they have the equipment and > expertise to recover overwritten data. It will cost a lot (I'd expect > the price to be in the tens of thousands of dollars, and I would not > be surprised to find the price is in the hundreds of thousands). > > For mere mortals like us, it's not possible to recover data from a hd > that's been overwritten with dd. ..how about us who screw up an ext3fs with fsck -y off a bad inode? ..It takes 3-letter-agency patience and 4 letter language, what else? -- ..med vennlig hilsen = with Kind Regards from Arnt... ;-) ...with a number of polar bear hunters in his ancestry... Scenarios always come in sets of three: best case, worst case, and just in case. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]