upgrade to exim 3.10+
I tried to install exim 3.10 and its dependencies using dpkg over my existing debian os, which I assume is not at issue. However in installing many of the components, a string of warnings were issued. Here is the output from installing libc6_2.1.3-10.deb, which is typical: ldconfig: warning: can't open /usr/lib/libBrokenLocale.so (No such file or directory), skippingldconfig: warning: can't open /usr/lib/libcrypt.so (No such file or directory), skippingldconfig: warning: can't open /usr/lib/libdb.so (No such file or directory), skippingldconfig: warning: can't open /usr/lib/libdl.so (No such file or directory), skippingldconfig: warning: can't open /usr/lib/libm.so (No such file or directory), skippingldconfig: warning: can't open /usr/lib/libndbm.so (No such file or directory), skippingldconfig: warning: can't open /usr/lib/libnsl.so (No such file or directory), skippingldconfig: warning: can't open /usr/lib/libnss_compat.so (No such file or directory), skippingldconfig: warning: can't open /usr/lib/libnss_db.so (No such file or directory), skippingldconfig: warning: can't open /usr/lib/libnss_dns.so (No such file or directory), skippingldconfig: warning: can't open /usr/lib/libnss_files.so (No such file or directory), skippingldconfig: warning: can't open /usr/lib/libnss_nis.so (No such file or directory), skippingldconfig: warning: can't open /usr/lib/libpthread.so (No such file or directory), skippingldconfig: warning: can't open /usr/lib/libresolv.so (No such file or directory), skippingldconfig: warning: can't open /usr/lib/libutil.so (No such file or directory), skippingldconfig: warning: /usr/lib/libtcpwrapGK.so.1 is not a symlinkldconfig: warning: /usr/lib/libomnithread.so.2 is not a symlinkldconfig: warning: /usr/lib/libomniORB2.so.6 is not a symlinkldconfig: warning: /usr/lib/libomniLC.so.2 is not a symlink Does this point to some other module which is missing, though not listed as a dependency? Or what? David
Re: Frozen message
If your MTA was exim, you would find it in /var/spool/exim/input. Check /var/spool and see if you recognize your mail transport and look further in that directory path. It should be readily readable with any editor David www.richsob.com - Original Message - From: "Frederik" <[EMAIL PROTECTED]> To: Sent: Thursday, August 31, 2000 5:51 AM Subject: Frozen message > I received a notification of my mailing system saying a message was > frozen, cause it could not be delivered. It was send to @maui.kotnet.org > instead of @maui.iverlek.kotnet.org. > Any ideas where I can recover that message? (Most important) > Any idea how I can receive mail on these 2 addresses?
charset issues
On bouncing mail down from Windows/Outlook Express to debian/exim and back to Windows I find a line has been added and the resultant post no longer displays HTML under Outlook Express I am trying to set up a mailing list send out via debian/exim where some of the recipients will want to view the posts with HTML accurately rendered using Outlook Express. As a matter of convenience I prepare the post using Outlook Express, then mail it to my debian account, then distribute it The added line: Charset iso-8859-1 unsupported, filtering to ASCII Would appreciate any feedback David
Setting up Debian
I'm a newbie to Debian, but an old computer hand... experiencing considerable difficulty in setting up a Debian Linux system on my DELL Pentium III 34gb drive I set up a 8gb partition using fdisk and formated the lower 24gb with MS format. Then I used Partition Magic 5.0 to set up a 1,000mb root partition, "/", a 2gb /usr partition and a 1gb swap partition. I used Partition Magic to format each partition (root: Linux ex2; usr: Linux ex2; Swap partition: swap) Then I made the Linux logical partition active with fdisk, went into the bios and set the CD as the primary drive and then rebooted a Debian 2.1 bootable CD-Rom which I bought in a package with an O'Reilly book. Partition Magic is quite beautiful with its resources and I'm trying to avoid wiping out my W98 programs, but the Linux startup does not seem to recognize the partitions I've set up using PM, even after I reduced the size to just under 1gb, and does not seem to want to proceed unless I permit it to partition the system itself. The last time I allowed this, it wiped my disk clean and I spent the past few days rebuilding 6gb of programs I understand from the FAQs that the root partition cannot exceed 1gb. Partition Magic claims to be taking care of the alignment I've surfed the Debian web site, read the O'Reilly book ("Learning Debian Gnu/LINUX"), went out last night and bought another $100 in LINUX books (including the Red Hat Linux Bible and accompanying CD), and read the good documentation that comes with Partition Magic. What am I missing? Would be grateful for help in getting up and running David Turetsky
Re: Setting up Debian
Many thanks, Joe Yes, I saw some reference in the documentation to the first 1024 cylinders... but not entirely decipherable. I will follow your suggested course of action I appreciate the several feedbacks I've been getting. Would love to have the two OS's co-exist on this system. Welcome any help Can't say enought good things about Partition Magic 5.0. An upgrade from earlier version is available inexpensively via download David - Original Message - From: Joe Bouchard <[EMAIL PROTECTED]> To: davidturetsky <[EMAIL PROTECTED]>; Sent: Tuesday, February 01, 2000 6:37 PM Subject: Re: Setting up Debian > On Tue, Feb 01, 2000 at 03:51:54PM -0800, davidturetsky wrote: > > I'm a newbie to Debian, but an old computer hand... experiencing > > considerable difficulty in setting up a Debian Linux system on my DELL > > Pentium III 34gb drive I set up a 8gb partition using fdisk and > > formated the lower 24gb with MS format. Then I used Partition Magic > > 5.0 to set up a 1,000mb root partition, "/", a 2gb /usr partition and > > a 1gb swap partition. I used Partition Magic to format each partition > > (root: Linux ex2; usr: Linux ex2; Swap partition: swap) > > There is a rule that OS's must boot within the first 1024 cylinders of > the drive (I guess it's a BIOS limitation for PC style architecture). On > older computers like my P90, that mean the first 512mb, on newer ones > like your's I guess that is about 8gb. So having the lower 24gb as > windows won't work. > > You need to get that windows partition down to just below 8gb. You may > want to put a small /boot partition (like 10mb) next, a few gigs of > linux partitions, and then a big honking D: drive for windows. > > I don't have experience with partition magic. I guess it't pretty neat, > but I don't thing it will allow you to break the 1024 rule (I could be > wrong, I usually am...) > > And like someone else said 1gb of swap is an awful lot. The traditional > standard is 2x your RAM. > > -- > > Thank you, > Joe Bouchard > > Powered by Debian GNU/Linux
Re: Setting up Debian - II
I followed Joe's recommendation and partitioned my 32gb IBM hard drive as follows: c: 6,997.0 mb / 39.2mb swap 258.8mb /usr 5,004.6 mb e: 20,332.2 mb When I tried to install Debian, avoiding any further partitioning within the Debian install procedure, I ended up with: "Floppy error: The attempt to extract the Rescue Floppy failed" When I said, "go ahead, partition," I ended up with "Bad primary partition 0: Partition ends after the end-of-disk. Press any key to exit cfdisk" On exiting, the following message appeared, "cfdisk has failed while trying to repartition your disk. This may mean your disk's partition table is corrupt or your disk is 'factory clean.' I may wipe out your disk's current partition table and run cfdisk again..." (A few days ago when I allowed cfdisk to run again, it did indeed wipe out my entire disk--- which quite likely was not properly partitioned, if at all) When I tried to bypass all this and get in with a boot floppy generated several days earlier, with the thought that I could see what Debian thought the partitions looked like, I got, "kernel panic: No init found. Try passing init=option to kernel" I also tried to install using Red Hat 6.1 to see if the issue was unique to the Debian installer, but Red Hat also did not see any partition Helllppp! David - Original Message - From: Joe Bouchard <[EMAIL PROTECTED]> To: davidturetsky <[EMAIL PROTECTED]>; Sent: Tuesday, February 01, 2000 6:37 PM Subject: Re: Setting up Debian > On Tue, Feb 01, 2000 at 03:51:54PM -0800, davidturetsky wrote: > > I'm a newbie to Debian, but an old computer hand... experiencing > > considerable difficulty in setting up a Debian Linux system on my DELL > > Pentium III 34gb drive I set up a 8gb partition using fdisk and > > formated the lower 24gb with MS format. Then I used Partition Magic > > 5.0 to set up a 1,000mb root partition, "/", a 2gb /usr partition and > > a 1gb swap partition. I used Partition Magic to format each partition > > (root: Linux ex2; usr: Linux ex2; Swap partition: swap) > > There is a rule that OS's must boot within the first 1024 cylinders of > the drive (I guess it's a BIOS limitation for PC style architecture). On > older computers like my P90, that mean the first 512mb, on newer ones > like your's I guess that is about 8gb. So having the lower 24gb as > windows won't work. > > You need to get that windows partition down to just below 8gb. You may > want to put a small /boot partition (like 10mb) next, a few gigs of > linux partitions, and then a big honking D: drive for windows. > > I don't have experience with partition magic. I guess it't pretty neat, > but I don't thing it will allow you to break the 1024 rule (I could be > wrong, I usually am...) > > And like someone else said 1gb of swap is an awful lot. The traditional > standard is 2x your RAM. > > -- > > Thank you, > Joe Bouchard > > Powered by Debian GNU/Linux
Re: Setting up Debian - III
In response to below suggestion, I repartitioned as follows: c: 5,004.6 meg Extended: / 2,502.3 swap 502.0 /usr 5,004.6 e: 19,618.4 The Debian install takes me to the same problems as before: When I permit partitioning: "FATAL ERROR: Bad primary partition 0. Partition ends after end-of-disk. Press any key to exit cfdisk" When I view the partition table: "The following partitions have been detected /dev/hda1ActiveWIN95FAT32 /target /dev/hda2 WIN95 Extended (LBA) Apparently the system is not seeing my Linux partitions although Partition Magic confirms their presence When booting, I used DOS fdisk to make the second partition active, but this does not seem to be reflected to the Debian installer. All attempts within the installer to see any other partition fail The extended partition is a logical partition, which was recommended. Is this related to problem? David - Original Message - From: Philip Lehman <[EMAIL PROTECTED]> To: davidturetsky <[EMAIL PROTECTED]> Cc: Debian User Sent: Wednesday, February 02, 2000 1:40 AM Subject: Re: Setting up Debian - II > On Wed, 2 Feb 2000, davidturetsky <[EMAIL PROTECTED]> wrote: > > >I followed Joe's recommendation and partitioned my 32gb IBM hard drive as > >follows: > > c: 6,997.0 mb > > / 39.2mb > > swap 258.8mb > > /usr 5,004.6 mb > > e: 20,332.2 mb > > Is this a typo or are you trying to reserve 39.2 megs for the root > system? Keep in mind that this partition will contain everything below > / except /usr, so this setup would be unusable. > > -- > Philip Lehman <[EMAIL PROTECTED]> > > > -- > Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] < /dev/null > >
Re: Setting up Debian - II
Well, I just got up from a well-deserved (and overdue) nap and it occurred to me that even though Partition Magic took a long time (and therefore I assumed it was also formatting the new partitions), it might not in fact have formatted the partitions and that might be an underlying cause of my problems I will explicitly format the Unix partitions w PM. If that still leaves me w problems, I will download fdisk from Debian site and retry, but it seems to me unless I can get to fdisk through the install procedure, I am otherwise restricted to a DOS fdisk or the one in PM All the feedback provides encouragement and a basis to keep at it David - Original Message - From: David Wright <[EMAIL PROTECTED]> To: davidturetsky <[EMAIL PROTECTED]> Cc: debian-user Sent: Wednesday, February 02, 2000 8:51 AM Subject: Re: Setting up Debian - II > Quoting davidturetsky ([EMAIL PROTECTED]): > > I followed Joe's recommendation and partitioned my 32gb IBM hard drive as > > follows: > > c: 6,997.0 mb > > / 39.2mb > > swap 258.8mb > > /usr 5,004.6 mb > > e: 20,332.2 mb > > > > When I tried to install Debian, avoiding any further partitioning within the > > Debian install procedure, I ended up with: "Floppy error: The attempt to > > extract the Rescue Floppy failed" > > / is *just* big enough to hold base2_2.tar and no more. > But had you build a filesystem on it after partitioning the disk. > Partitioning just produces empty partitions. (Sorry if you know > all this.) > > > When I said, "go ahead, partition," I ended up with "Bad primary partition > > 0: Partition ends after the end-of-disk. Press any key to exit cfdisk" > > Most people use fdisk with big disks, not cfdisk. And run the most > up-to-date you can find. > > > When I tried to bypass all this and get in with a boot floppy generated > > several days earlier, with the thought that I could see what Debian thought > > the partitions looked like, I got, "kernel panic: No init found. Try passing > > init=option to kernel" > > You seem keen to hurry ahead. A boot floppy will load a kernel and then > try to find a root filesystem wherever it has been told one will be found. > This isn't much good unless you've installed one first. > > While it's true that people have had difficulties installing on big > disks whose size is beyond the capabilities of the [c]fdisk they > were then using, it's not clear to me that that's your only problem, > but you may be missing out steps in the installation. > > Did you find ftp:///debian/dists/ > /main/disks-i386/current/doc/* > > Cheers, > > -- > Email: [EMAIL PROTECTED] Tel: +44 1908 653 739 Fax: +44 1908 655 151 > Snail: David Wright, Earth Science Dept., Milton Keynes, England, MK7 6AA > Disclaimer: These addresses are only for reaching me, and do not signify > official stationery. Views expressed here are either my own or plagiarised.
Re: Setting up Debian - II
Many thanks, Paul Professor Brouwer's Large Disk HOWTO is great (really an understatement), highly readable, and quite thorough, and in fact specifically discusses the issues of my 34GB IBM hard drive DELL has done something in the current BIOS to restrict access to 32.x GB as a general workaround to this problem, so I will explore whether I may have inadevertently omitted formatting and with their BIOS workaround whether I can install the Debian 2.1 CD-ROM distribution in hand If not, I can always download 2.3.21 which apparently resolves the addressing issues All the feedback is much appreciated David - Original Message - From: paul <[EMAIL PROTECTED]> To: davidturetsky <[EMAIL PROTECTED]> Cc: Debian User Sent: Wednesday, February 02, 2000 8:42 AM Subject: Re: Setting up Debian - II > > On Wed, 2 Feb 2000, davidturetsky <[EMAIL PROTECTED]> wrote: > > > > >I followed Joe's recommendation and partitioned my 32gb IBM hard drive as > > >follows: > > > c: 6,997.0 mb > > > / 39.2mb > > > swap 258.8mb > > > /usr 5,004.6 mb > > > e: 20,332.2 mb > > > > Is this a typo or are you trying to reserve 39.2 megs for the root > > system? Keep in mind that this partition will contain everything below > > / except /usr, so this setup would be unusable. > > > I would reccomend you to read the Large Disk HowTo available from: > http://howto.tucows.com/LDP/HOWTO/Large-Disk-HOWTO.html > and the Linux Partition HowTo available from: > http://howto.tucows.com/LDP/HOWTO/mini/Partition.html > > These documents together should cover most of what is needed to make a custom > partitioning strategy that will cover your needs. >
Re: Setting up Debian - III
Thanks, Wouter. It becomes clearer that I need to use as recent a version of Debian as possible to deal with booting Linux from the the 34GB hard drive I have installed Another thought I had is to use the old 1.2GB hard drive from my old Gateway, but I observe (at least in Windows) a lot of system overhead and slower performance when I have it daisy-chained to the large drive. Among other things, the IBM drive is rotating at 7200 vs 5400 and has a huge on board buffer, making writing faster than reading, so I'm inclined to try to work matters out via partitioning. With the 34GB as my boot drive, I also suspect the problem of large disk addressing remains even is the second OS is otherwise on another drive. Or I could buy a <8GB drive and use that as the boot drive, and the issue evaporates David - Original Message - From: Wouter Hanegraaff <[EMAIL PROTECTED]> To: davidturetsky <[EMAIL PROTECTED]> Cc: Debian User Sent: Wednesday, February 02, 2000 9:56 AM Subject: Re: Setting up Debian - III > On Wed, Feb 02, 2000 at 10:02:01AM -0800, davidturetsky wrote: > > In response to below suggestion, I repartitioned as follows: > > > > c: 5,004.6 meg > > Extended: > > / 2,502.3 > > swap 502.0 > > /usr 5,004.6 > > e: 19,618.4 > > > > The Debian install takes me to the same problems as before: > > > > When I permit partitioning: > > "FATAL ERROR: Bad primary partition 0. Partition ends after end-of-disk. > > Press any key to exit cfdisk" > > Have you tried starting the installation with the slink r4 bootdisk yet? > I used them successfully on a 13G drive, where the standard bootdisks from > my release 3 cd failed. > > You can download them at > http://ftp.debian.org/debian/dists/Debian2.1r4/main/disks-i386/current/ > > The images are resc1400.bin and drv1440.bin > > HTH, > > Wouter
Re: Setting up Debian - II
If I recall correctly, the limitation is in the BIOS. This is well-documented at IBM's web site. The issue is also clearly identified on Andries Brouwer's web pages In his section "12.1 IDE problems with 34+ GB disks" he goes on to identify patches for 2.0.38 and 2.2.12. He further says that the 2.2.14 kernels do support these disks, and as I write I am downloading this version. He also indicates that the problem can be 'solved' in hardware by a clip, and referring to DELL's documentation, I see the clip configuration Once my download is complete, I may just reboot after changing the jumpers, check my partitioning, and see whether the Debian 2.1 CD-ROM loads, and if I'm still alive and playful, I can also check Red Hat 6.1, The Debian 2.1 download I finished earlier this evening, and/or the 2.2.14 I'm in the middle of now A veritable embarrassment of riches, eh? Thanks to all my correspondents (and I thought I was living dangerously riding around on my Harley!) David - Original Message - From: aphro <[EMAIL PROTECTED]> To: davidturetsky <[EMAIL PROTECTED]> Cc: paul <[EMAIL PROTECTED]>; Debian User ; Sent: Wednesday, February 02, 2000 2:23 PM Subject: Re: Setting up Debian - II > im not sure about your drive but i have a couple 37GB ibms and they have a > jumper on them that restricts access to 32GB and below, some bios's can't > handle going past 32GB. check to make sure, if you have a drive that has > the jumper that its not set. > > nate > > > On Wed, 2 Feb 2000, davidturetsky wrote: > > davidt >Many thanks, Paul > davidt > > davidt >Professor Brouwer's Large Disk HOWTO is great (really an understatement), > davidt >highly readable, and quite thorough, and in fact specifically discusses the > davidt >issues of my 34GB IBM hard drive > davidt > > davidt >DELL has done something in the current BIOS to restrict access to 32.x GB as > davidt >a general workaround to this problem, so I will explore whether I may have > davidt >inadevertently omitted formatting and with their BIOS workaround whether I > davidt >can install the Debian 2.1 CD-ROM distribution in hand > davidt > > davidt >If not, I can always download 2.3.21 which apparently resolves the > davidt >addressing issues > davidt > > davidt >All the feedback is much appreciated > davidt > > davidt >David > davidt > > davidt >- Original Message - > davidt >From: paul <[EMAIL PROTECTED]> > davidt >To: davidturetsky <[EMAIL PROTECTED]> > davidt >Cc: Debian User > davidt >Sent: Wednesday, February 02, 2000 8:42 AM > davidt >Subject: Re: Setting up Debian - II > davidt > > davidt > > davidt >> > On Wed, 2 Feb 2000, davidturetsky <[EMAIL PROTECTED]> wrote: > davidt >> > > davidt >> > >I followed Joe's recommendation and partitioned my 32gb IBM hard drive > davidt >as > davidt >> > >follows: > davidt >> > > c: 6,997.0 mb > davidt >> > > / 39.2mb > davidt >> > > swap 258.8mb > davidt >> > > /usr 5,004.6 mb > davidt >> > > e: 20,332.2 mb > davidt >> > > davidt >> > Is this a typo or are you trying to reserve 39.2 megs for the root > davidt >> > system? Keep in mind that this partition will contain everything below > davidt >> > / except /usr, so this setup would be unusable. > davidt >> > > davidt >> I would reccomend you to read the Large Disk HowTo available from: > davidt >> http://howto.tucows.com/LDP/HOWTO/Large-Disk-HOWTO.html > davidt >> and the Linux Partition HowTo available from: > davidt >> http://howto.tucows.com/LDP/HOWTO/mini/Partition.html > davidt >> > davidt >> These documents together should cover most of what is needed to make a > davidt >custom > davidt >> partitioning strategy that will cover your needs.
Up and Running!
What a difference a jumper makes! After changing the two jumpers to max out my 34GB drive at 32GB, I installed Debian 2.2.99 (?) without further issue. The installation process smoothly led me by the hand All of the partitions I created with Partition Magic were fully recognized My sincere thanks to all who responded, and to Andries Brouwer for his comprehensive discussion on his web site Now... I tried to use fdisk in Debian to enable me to switch back to W98, but this did not succeed, so I put in a W98 floppy boot disk and rebooted the system. I assume there is a more graceful way to do this I will next try to configure an X Window System, I assume Gnome and Enlightenment I would appreciate any feedback on how to access my Window files from Debian and any other suggestions anyone would care to help Many thanks David
Mount w98 partition
I'm trying to mount my Windows98 partition from Linux Cannot seem to work out the command I presume the idea is to mount the entire partition and then access the files there through ordinary Linux resources David
Compiled Emacs
I'm using emacs under Linux, mounting ms-dog files and writing html My attempts to install x-windows fail ( I assume some setting is making the installer unhappy, but I can't take more time to chase it now). I have also not installed browsers on the Linux side, but enjoy using Opera. Not sure if a Linux version is yet available It would be convenient if I could get a compiled version of emacs, but ftp://ftp.cs.washington.edu/pub/ntemacs/<... > is now password protected Any thoughts? David
Re: Serious problems with the installation.
I pass on Paul's post. With a 13.5GB drive, you have to be sure you've correctly addressed the large disk issues discuss there I particularly found Andries Brouwer discussion (http://www.win.tue.nl/~aeb/linux/Large-Disk.html invaluable David davidt >From: paul <[EMAIL PROTECTED]>davidt >To: davidturetsky <[EMAIL PROTECTED]>davidt >Cc: Debian User <debian-user@lists.debian.org>davidt >Sent: Wednesday, February 02, 2000 8:42 AMdavidt >Subject: Re: Setting up Debian - IIdavidt >davidt >davidt >> > On Wed, 2 Feb 2000, davidturetsky <[EMAIL PROTECTED]> wrote:davidt >> >davidt >> > >I followed Joe's recommendation and partitioned my 32gb IBM hard drivedavidt >asdavidt >> > >follows:davidt >> > > c: 6,997.0 mbdavidt >> > > / 39.2 mbdavidt >> > > swap 258.8 mbdavidt >> > > /usr 5,004.6 mbdavidt >> > > e: 20,332.2 mbdavidt >> >davidt >> > Is this a typo or are you trying to reserve 39.2 megs for the rootdavidt >> > system? Keep in mind that this partition will contain everything belowdavidt >> > / except /usr, so this setup would be unusable.davidt >> >davidt >> I would reccomend you to read the Large Disk HowTo available from:davidt >> http://howto.tucows.com/LDP/HOWTO/Large-Disk-HOWTO.htmldavidt >> and the Linux Partition HowTo available from:davidt >> http://howto.tucows.com/LDP/HOWTO/mini/Partition.htmldavidt >>davidt >> These documents together should cover most of what is needed to make adavidt >customdavidt >> partitioning strategy that will cover your needs. - Original Message - From: Alexander To: debian-user@lists.debian.org Sent: Friday, February 04, 2000 8:24 AM Subject: Serious problems with the installation. Hello, I'm having problems... BIG problems. I have been trying to install Debian on my computer for the past 2 days - attempting to get it to install is more like it. Here is what happens: Everything seems to go well up until the point where I need to mount? a partition or whatever. The problem is this (and I've tried various other Linux providers as well): None of the installation programs will recognize my hard drive at all. I'm on a Gateway. 13.5 gig IDE hard drive, and I have already partitioned it. Any help would GREATLY be appreciated! Thanks.
Opera
And Opera? Does it require X to run? David - Original Message - From: Kent West <[EMAIL PROTECTED]> To: Pee <[EMAIL PROTECTED]> Cc: Sent: Saturday, February 05, 2000 8:51 AM Subject: Re: SAMBA and X > > Pee wrote: > > > > Do I really need to install X to run Samba? > > TIA-Pee > > No. There are some configuration tools such as SWAT that need a browser, > but even at that the text-mode Lynx might do (I've never tried it, so > can't really say). > > But again, the short answer is "No; X is not required in any way to run > Samba." > > > -- > Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] < /dev/null > >
I am new to Linux. Just installed slink after resolving large disk issues. Answered setup questions as best I could and now would like to use email facilities. Setup asks for IP address, but not for telephone numbers for my provider, msn, and seems to behave as though it is directly hooked up to a network, which it is not. For example, using emacs, I sent myself a test message... emacs accepted it fine, but of course it never went anywhere How do I now go back in and set up an appropriate dial-up resource comparable to Outlook Express, etc, where messages are stored on my provider and downloaded when I dial in? David
Well, I went to Network Solutions and got msn's IP number and then fired up pppconfig (which did not again ask me for the DNS) I used emacs to edit in the IP numbers in /etc/resolv.conf As far as I can tell, after entering in pon msn, the system never dialed out. That seemed to be confirmed by a quick exit in /var/log/messages Suggestions? David
Re: email
ppp.log: Feb 6 14:28.21 debian pppd[157] pppd 2.3.5 started by root, uid 0 blah-blah-blahtcgetattr: Input/output error(5) Exit David - Original Message - From: <[EMAIL PROTECTED]> To: Cc: <[EMAIL PROTECTED]> Sent: Sunday, February 06, 2000 12:20 PM Subject: Re: email > > > |> As far as I can tell, after entering in pon msn, the system never > |> dialed = out. That seemed to be confirmed by a quick exit in > |> /var/log/messages > |> > |> Suggestions? > > There should be a file ppp.log in /var/log/ which contains a detailed > log of what happened in response to your entering the `pon' command. > > If you post that, people should be able to help. > > Jim > > > -- > Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] < /dev/null > >
Re: email
It's on COM2... US Robotics 56k Voice Win... ah... is the "win" suggestive of the culprit? I also have another 56K non-voice (and hopefully) non-win modem lying around from my old Gateway computer Is this starting to sound like I oughta install it in addition and (say) run it off of COM1 when on Linux? David - Original Message - From: Phil Brutsche <[EMAIL PROTECTED]> To: davidturetsky <[EMAIL PROTECTED]> Cc: Debian-User Sent: Sunday, February 06, 2000 8:33 PM Subject: Re: email > A long time ago, in a galaxy far, far way, someone said... > > > ppp.log: > > > > Feb 6 14:28.21 debian pppd[157] pppd 2.3.5 started by root, uid 0 > > blah-blah-blahtcgetattr: Input/output > > error(5) > > Exit > > Ok - the software handling the PPP link can't communicate with your modem > (essentially). What do you know about this modem? What port is it on (as > Windows calls it: COM1? COM2?) > > -- > -- > Phil Brutsche [EMAIL PROTECTED] > > "There are two things that are infinite; Human stupidity and the > universe. And I'm not sure about the universe." - Albert Einstein >
I installed my other US Robotics internal modem (not win)... the system got dial tone and dialed out to msn, but apparently something is amiss in the dialog with msn Here's the ppp.log Feb 7 12:58:36 debian pppd[905]: pppd 2.3.5 started by root, uid 0Feb 7 12:58:37 debian chat[906]: abort on (BUSY)Feb 7 12:58:37 debian chat[906]: abort on (NO CARRIER)Feb 7 12:58:37 debian chat[906]: abort on (VOICE)Feb 7 12:58:37 debian chat[906]: abort on (NO DIALTONE)Feb 7 12:58:37 debian chat[906]: abort on (NO ANSWER)Feb 7 12:58:37 debian chat[906]: send (ATZ^M)Feb 7 12:58:37 debian chat[906]: expect (OK)Feb 7 12:58:37 debian chat[906]: ATZ^M^MFeb 7 12:58:37 debian chat[906]: OKFeb 7 12:58:37 debian chat[906]: -- got it Feb 7 12:58:37 debian chat[906]: send (ATDT4107270315^M)Feb 7 12:58:37 debian chat[906]: expect (CONNECT)Feb 7 12:58:37 debian chat[906]: ^MFeb 7 12:59:04 debian chat[906]: ATDT4107270315^M^MFeb 7 12:59:04 debian chat[906]: CONNECTFeb 7 12:59:04 debian chat[906]: -- got it Feb 7 12:59:04 debian chat[906]: send (\d)Feb 7 12:59:05 debian pppd[905]: Serial connection established.Feb 7 12:59:06 debian pppd[905]: Using interface ppp0Feb 7 12:59:06 debian pppd[905]: Connect: ppp0 <--> /dev/ttyS1Feb 7 12:59:06 debian pppd[905]: sent [LCP ConfReq id=0x1 ]Feb 7 12:59:06 debian pppd[905]: rcvd [LCP ConfReq id=0x1 < 00 04 00 00> < 11 04 05 f4> < 13 09 03 00 c0 7b 7e 1d eb>]Feb 7 12:59:06 debian pppd[905]: sent [LCP ConfRej id=0x1 < 00 04 00 00> < 11 04 05 f4> < 13 09 03 00 c0 7b 7e 1d eb>]Feb 7 12:59:06 debian pppd[905]: rcvd [LCP ConfAck id=0x1 ]Feb 7 12:59:06 debian pppd[905]: rcvd [LCP ConfReq id=0x2 ]Feb 7 12:59:06 debian pppd[905]: sent [LCP ConfNak id=0x2 ]Feb 7 12:59:07 debian pppd[905]: rcvd [LCP ConfReq id=0x3 ]Feb 7 12:59:07 debian pppd[905]: sent [LCP ConfAck id=0x3 ]Feb 7 12:59:07 debian pppd[905]: sent [LCP EchoReq id=0x0 magic=0x69b67faf]Feb 7 12:59:07 debian pppd[905]: sent [PAP AuthReq id=0x1 user="MSN/davidturetsky" password="[omitted]"]Feb 7 12:59:07 debian pppd[905]: rcvd [LCP EchoRep id=0x0 magic=0x0]Feb 7 12:59:07 debian pppd[905]: rcvd [PAP AuthNak id=0x1 ""]Feb 7 12:59:07 debian pppd[905]: Remote message: Feb 7 12:59:07 debian pppd[905]: PAP authentication failedFeb 7 12:59:08 debian pppd[905]: rcvd [LCP TermReq id=0x4]Feb 7 12:59:08 debian pppd[905]: LCP terminated by peerFeb 7 12:59:08 debian pppd[905]: sent [LCP TermAck id=0x4]Feb 7 12:59:08 debian pppd[905]: rcvd [LCP ConfReq id=0x5]Feb 7 12:59:11 debian pppd[905]: Connection terminated.Feb 7 12:59:11 debian pppd[905]: Hangup (SIGHUP)Feb 7 12:59:11 debian pppd[905]: Exit. Is this a protocol problem with msn, or what? TIA David
Re: email
Not at all sure. I tried to do Chat (?), but who know the answers to all the setup questions, so I just went along with the suggestions I also tried variants on my login name... will try a few more... maybe even send a post to msn if I can find the right people to address Thanks for all the suggestions... had to back off to attend to some deadline stuff, but I will keep trying variants At least we know the other modem ("win" is non-compus-mendus to Linux, so I feel I'm making progress David - Original Message - From: aphro <[EMAIL PROTECTED]> To: davidturetsky <[EMAIL PROTECTED]> Cc: ; Sent: Monday, February 07, 2000 11:16 AM Subject: Re: email > probably that or a misconfiguration of ppp. you sure your POP uses PAP > and not CHAP ? some of those big name isps do weird things.(like IBM .. or > at least they used to) > > nate > > On Mon, 7 Feb 2000, davidturetsky wrote: > > davidt >I installed my other US Robotics internal modem (not win)... the system got dial tone and dialed out to msn, but apparently something is amiss in the dialog with msn > davidt > > davidt >Here's the ppp.log > davidt > > davidt > > davidt >Feb 7 12:58:36 debian pppd[905]: pppd 2.3.5 started by root, uid 0 > davidt >Feb 7 12:58:37 debian chat[906]: abort on (BUSY) > davidt >Feb 7 12:58:37 debian chat[906]: abort on (NO CARRIER) > davidt >Feb 7 12:58:37 debian chat[906]: abort on (VOICE) > davidt >Feb 7 12:58:37 debian chat[906]: abort on (NO DIALTONE) > davidt >Feb 7 12:58:37 debian chat[906]: abort on (NO ANSWER) > davidt >Feb 7 12:58:37 debian chat[906]: send (ATZ^M) > davidt >Feb 7 12:58:37 debian chat[906]: expect (OK) > davidt >Feb 7 12:58:37 debian chat[906]: ATZ^M^M > davidt >Feb 7 12:58:37 debian chat[906]: OK > davidt >Feb 7 12:58:37 debian chat[906]: -- got it > davidt >Feb 7 12:58:37 debian chat[906]: send (ATDT4107270315^M) > davidt >Feb 7 12:58:37 debian chat[906]: expect (CONNECT) > davidt >Feb 7 12:58:37 debian chat[906]: ^M > davidt >Feb 7 12:59:04 debian chat[906]: ATDT4107270315^M^M > davidt >Feb 7 12:59:04 debian chat[906]: CONNECT > davidt >Feb 7 12:59:04 debian chat[906]: -- got it > davidt >Feb 7 12:59:04 debian chat[906]: send (\d) > davidt >Feb 7 12:59:05 debian pppd[905]: Serial connection established. > davidt >Feb 7 12:59:06 debian pppd[905]: Using interface ppp0 > davidt >Feb 7 12:59:06 debian pppd[905]: Connect: ppp0 <--> /dev/ttyS1 > davidt >Feb 7 12:59:06 debian pppd[905]: sent [LCP ConfReq id=0x1 ] > davidt >Feb 7 12:59:06 debian pppd[905]: rcvd [LCP ConfReq id=0x1 < 00 04 00 00> < 11 04 05 f4> < 13 09 03 00 c0 7b 7e 1d eb>] > davidt >Feb 7 12:59:06 debian pppd[905]: sent [LCP ConfRej id=0x1 < 00 04 00 00> < 11 04 05 f4> < 13 09 03 00 c0 7b 7e 1d eb>] > davidt >Feb 7 12:59:06 debian pppd[905]: rcvd [LCP ConfAck id=0x1 ] > davidt >Feb 7 12:59:06 debian pppd[905]: rcvd [LCP ConfReq id=0x2 ] > davidt >Feb 7 12:59:06 debian pppd[905]: sent [LCP ConfNak id=0x2 ] > davidt >Feb 7 12:59:07 debian pppd[905]: rcvd [LCP ConfReq id=0x3 ] > davidt >Feb 7 12:59:07 debian pppd[905]: sent [LCP ConfAck id=0x3 ] > davidt >Feb 7 12:59:07 debian pppd[905]: sent [LCP EchoReq id=0x0 magic=0x69b67faf] > davidt >Feb 7 12:59:07 debian pppd[905]: sent [PAP AuthReq id=0x1 user="MSN/davidturetsky" password="[omitted]"] > davidt >Feb 7 12:59:07 debian pppd[905]: rcvd [LCP EchoRep id=0x0 magic=0x0] > davidt >Feb 7 12:59:07 debian pppd[905]: rcvd [PAP AuthNak id=0x1 ""] > davidt >Feb 7 12:59:07 debian pppd[905]: Remote message: > davidt >Feb 7 12:59:07 debian pppd[905]: PAP authentication failed > davidt >Feb 7 12:59:08 debian pppd[905]: rcvd [LCP TermReq id=0x4] > davidt >Feb 7 12:59:08 debian pppd[905]: LCP terminated by peer > davidt >Feb 7 12:59:08 debian pppd[905]: sent [LCP TermAck id=0x4] > davidt >Feb 7 12:59:08 debian pppd[905]: rcvd [LCP ConfReq id=0x5] > davidt >Feb 7 12:59:11 debian pppd[905]: Connection terminated. > davidt >Feb 7 12:59:11 debian pppd[905]: Hangup (SIGHUP) > davidt >Feb 7 12:59:11 debian pppd[905]: Exit. > davidt > > davidt >Is this a protocol problem with msn, or what? > davidt > > davidt >TIA > davidt > > davidt >David > davidt > > > [mailto:[EMAIL PROTECTED] ]-- >Vice President Network Operations http://www.firetrail.com/ > Firetrail Internet Services Limited http://www.aphroland.org/ >Everett, WA 425-348-7336http://www.linuxpowered.net/ > Powered By:http://comedy.aphroland.org/ > Debian 2.1 Linux 2.0.36 SMPhttp://yahoo.aphroland.org/ > -[mailto:[EMAIL PROTECTED] ]-- > 11:14am up 171 days, 23:27, 1 user, load average: 1.08, 1.06, 1.03 >
Re: email
Aha! The plot thickens! Tnx. Will fool with variants on this David - Original Message - From: paul <[EMAIL PROTECTED]> To: aphro <[EMAIL PROTECTED]> Cc: davidturetsky <[EMAIL PROTECTED]>; Sent: Monday, February 07, 2000 12:50 PM Subject: Re: email > > probably that or a misconfiguration of ppp. you sure your POP uses PAP > > and not CHAP ? some of those big name isps do weird things.(like IBM .. or > > at least they used to) > > > I believe that MSN uses mschap, which is Microsoft's own version of chap. I cannot at the moment recall where I saw this documented though, but I am fairly certain. > > -ptw > >
Re: Mailbox converter?
What a great thought! And is there a script to convert Outlook Express Addressbook too? David - Original Message - From: Marc Sherman <[EMAIL PROTECTED]> To: Sent: Tuesday, February 08, 2000 7:01 AM Subject: Mailbox converter? > Does anyone know of a script or program (for linux > or windows) that will convert an outlook express 5 > .dbx file to a standard linux mailbox format? > > Thanks in advance, > - Marc > > > > -- > Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] < /dev/null > >
x
I used xf86config to try to create an x platform, and with the failure of earlier attempts, reduced the screen choices. Lo and behold, when I just boot up, I came up to a screen (somewhat inelegant) with a big fat x toward the middle, but with the mouse and keyboard otherwise apparently frozen Earlier today on reading a related post, I downloaded XFree86 3.3.6 which seems to provide new support for my NVIDIA GeForce graphics card I'd now like to install it How to I get in and delete enough of the earlier install to get back a command line. I assume the way to start is by booting via a floppy Then what? David
Re: Java compiler
This may not be quite what you have in mind, but I believe this is now routinely done when locally invoking javac and by the latest browser under the rubric, "Just-In-Time Compiler." I believe the question is addressed at Sun's site, java.sun.com David - Original Message - From: Jozef Skvarcek <[EMAIL PROTECTED]> To: Sent: Wednesday, February 09, 2000 6:25 PM Subject: Java compiler > Hi, > > I heard that it is possible to speed-up Java programs by compiling them > into binaries (instead using JVM). Can someone point me into a place > where I could find more information? Which compiler should I use? > > Jozef Skvarcek _ > Dept. of Physics and Astronomy | [EMAIL PROTECTED] > Hunter College, City University of New York | 212-772-4032 > > > -- > Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] < /dev/null > >
Rebuild?
I just tried to boot from the floppy after previously finding keyboard and mouse frozen with my stab at installing x the boot process paused with "/dev/hda was not cleanly unmounted, check forced" Only Ctl-c got it to continue The login failed with, "unable to change tty /dev/tt1: Illegal seek Sounds like I may have to rebuild my Linux system... not a big problem, but if there is a quicker and more elegant fix, I would welcome hearing about it I plan to retry rebuilding x with the latest download from xfree once I'm up and running again David
gcc
I plan to convert some c/c++ from a Windows/Visual C++ environment to gcc under Linux. I may also use cgicc in some applications I've glanced through the info files and while helpful, omits a lot of information that would expedite the process Are there any good books or other documentation available Thanks, David
XFree86 3.3.6 installation problems
Following recent posts I got out of my inelegant screen with a Ctl-Alt-F1, logged in, copies over the XFree dowloads to a new directory "x" and proceeded to install it When I ran sh/x/postinst.sh, I got: line 33: 223 Segmentation fault $RUNDIR/bin/mkfontdir $RUNDIR/lib/X11/fonts/misc It issued the following warnings: /sbin/ldconfig: warning /usr/lib/libtcpwrapGK.so.1 is not a symlink and similarly for so.2 and so.6 When I then tried to run xf86config, I got Segmentation fault Any thoughts? David
Re: NO MOUSE
I had the same problem. Consider whether all of your devices are supported... I had a frozen kb and mouse... both of these devices on my system are Microsoft's "intelligent" versions I'm trying the route of using XFree86 as my x platform. Nothing helpful to report so far David - Original Message - From: jc To: debian-user@lists.debian.org Sent: Saturday, February 12, 2000 10:54 AM Subject: NO MOUSE I have recently purchased the book Learning Debian GNU/linux from O'reilly pub.I installed the system without any problems and got it up and running flawlessly but when I tried to install X my mouse would not respond.I've tried everything I could but nothing seems to work.Before installing Debian I was using Mandrake Linux and my mouse worked fine.What do I need to do to get my mouse working.My system is a Compaq 5304 with what I believe to be a 2-button ps/2 mouse by logitech.Any info at all would be extremely helpful. thank you and looking forward to the Hurd
Segmentation fault
I am executing a Linear Program program I wrote and compiled. It terminates without generating output (but creates the output file) with a "Segmentation fault" I'm trying to convert programs to run under g++ which I previously developed using Visual c 5.0 and would appreciate any help in sorting this out Is there a log which is generated which might provide further details? David
Re: Segmentation fault
Thanks, Pete I see from further investigation that gcc wants me to be more actively concerned with memory management than was required under Visual C, and I was logging on to apologize for bothering the list. I posted because this code ran cleanly under Visual C, so I thought I ran into a Linux nuance It looks as though I was running into problems when trying to scan an input file using c notation which is less efficient of memory, so I'm in the process of revising all of the I/O to use c++ resources. Still, it comes as a surprise, but I'm very early on the gcc learning curve This is a large theoretical problem I was attacking so my initial preference was not to alter anything that didn't requiring fixing, but the code is certainly cleaner after reworking In general, I am beginning to notice that gcc's posture is that you do more for yourself. It also seems to be strictly limited to ANSI c. For example, there doesn't seem to be any support for min, max, and itoa and I ended up writing/rewriting that portion of the code BTW, I notices that my non-working install of XFree86 3.3.6 (?) is also generating Segmentation faults, suggestive of bugs in the newest release. I've posted this to their developers Is there a separate users group for gcc? David - Original Message - From: Peter Ross <[EMAIL PROTECTED]> To: davidturetsky <[EMAIL PROTECTED]> Cc: Sent: Saturday, February 12, 2000 11:05 PM Subject: Re: Segmentation fault > On 13-Feb-2000, davidturetsky <[EMAIL PROTECTED]> wrote: > > I am executing a Linear Program program I wrote and compiled. It > > terminates without generating output (but creates the output file) > > with a "Segmentation fault" > > > A segmentation fault occurs when you attempt to access memory that you > are not allowed to (usually deferencing an invalid pointer). > > > I'm trying to convert programs to run under g++ which I previously > > developed using Visual c 5.0 and would appreciate any help in sorting > > this out > > > > Is there a log which is generated which might provide further details? > > > You can compile with the -g switch to turn debugging on, and then use > gdb to debug the program, and it will tell you which line caused the seg > fault. > > Pete
Re: Segmentation fault
Yes, quite right. I was not being critical of gcc, but of my own coding orientation. I've reached similar conclusions as you outline There is a rather large body of material I desperately need to read and absorb. That's exactly the problem I'm trying to contend with in trying to convert my work to Linux/gcc/x/ppp... and why some gentle assists from the list are so useful in helping me get started David - Original Message - From: Colin Watson <[EMAIL PROTECTED]> To: Sent: Sunday, February 13, 2000 2:54 AM Subject: Re: Segmentation fault > [EMAIL PROTECTED] (davidturetsky) wrote: > >I see from further investigation that gcc wants me to be more actively > >concerned with memory management than was required under Visual C, and I was > >logging on to apologize for bothering the list. I posted because this code > >ran cleanly under Visual C, so I thought I ran into a Linux nuance > > > >It looks as though I was running into problems when trying to scan an input > >file using c notation which is less efficient of memory, so I'm in the > >process of revising all of the I/O to use c++ resources. > > This surprises me; I'd have thought stdio was more memory-efficient than > iostreams, if it's an issue at all (which I rather doubt). Regardless, a > segmentation fault is an indication of a memory access bug in your > program rather than running out of memory (it may not have happened in > Visual C simply because you were lucky in the way Visual C allocated > memory for you), so you may be trying to fix the wrong problem by doing > all this rewriting. (Of course, you may be lucky and accidentally fix it > in the process, or the problem may have been that you didn't know how to > use stdio and are more successful in using iostreams, but I suppose it > depends whether you actually want to know what you're doing ...) > > >In general, I am beginning to notice that gcc's posture is that you do more > >for yourself. It also seems to be strictly limited to ANSI c. For example, > >there doesn't seem to be any support for min, max, and itoa and I ended up > >writing/rewriting that portion of the code > > I think you desperately need to read 'info gcc' and 'info libc'. gcc is > notoriously far from limited to ANSI C. :) > > Actually, your problem is not with gcc, it seems to be that the GNU C > Library (libc/glibc) doesn't have what you want; it's far from limited > to ANSI C either, but any C programmer worth his/her salt knows that if > you use extensions in your code you should expect them not to be > portable. glibc simply has different extensions to Visual C; in general > I've found it a much more helpful and much better documented C library > than the Microsoft one, but I may be biased. > > Besides, min(), max(), and itoa() are hardly difficult. How about: > > #define min(a,b) ((a) < (b) ? (a) : (b)) > #define max(a,b) ((a) > (b) ? (a) : (b)) > > ... or equivalent function definitions if the double evaluation bothers > you, and sprintf() instead of itoa()? If you program in ANSI C wherever > possible to start with rather than lazily using extensions, you'll have > a much easier time of it.
Iomega drives
Where is accessing IOmega 100mb floppies documented? David
Re: Newbie's experience Installing Debian
Check http://www.debian.org/distrib/vendors I crashed my disk repartitioning it for Debian Linux so I don't have all the details, but I believe I paid $19.95 plus shipping. I ordered online and the order fulfillment was provided by Brandon Carter, 714-505-8915, Loki Entertainment Software, 250 El Camino Real, Tustin, CA 92780. They shipped by FedEx. The price included a single very comprehensive CD plus "Learning Debian GNU/Linux" by McCarty, published by O'Reilly Those resources, a lot of pointers from this list, HOWTO files (web and CD) brought it all together David - Original Message - From: Darrington, John <[EMAIL PROTECTED]> To: Sent: Sunday, February 13, 2000 9:39 PM Subject: Newbie's experience Installing Debian > > OK, so after 5 years of playing with slackware and Red Hat, I decide that my > next OS will be Debian --- I've seen the web page, and like the philosophy > and want to get started. The usenet reports that Debian is so difficult to > install can't all be true can they? Unfortunately I've found they are. > > Not knowing much about Debian I look on the web site for advice. I find > this: > `It is recommended that first time installers buy the CD set as the > installation is more straightforward. Many of the vendors sell the > distribution for less than US$5 plus shipping (check their web page to see > if they ship internationally). ' > Fine I think US$5 == AUD8 plus let's say $10 for postage, I should be able > to get going for $18. Well I don't want to wait weeks for a shipment from > the US, so I phone my local software shop and ask them if they stock Debian > 2.1 . Yes, they have a 2 CD set for $25. Great says I . I don't really > mind paying an extra $7. The shop's got to make an honest profit, and I > don't have to wait. So I take home the 2 CDs, and one by one I put them in > my machine, and switch on. neither CD will boot. So I mount the CD and > take a look at them. After a while I figure that I've bought the source > CDs not the binarys. I have a look at the front and sure enough in tiny > writing I see that it does include the word `source'. Damn I say. Perhaps > it was my fault. I shouldn't have rushed in. Perhaps I need to be a > little more patient. I should have read up about it first. > I take another look at the Debian Web Site. I see that the words `Official' > are reserved for the set that the Debian team produce so I decide that I > ought to be getting these. I phone around my home town, but no-one has a > set of Debian CDs with the word `official' on the cover. Indeed the guy on > the phone seems to think I'm a bit wierd for insisting on this. After about > an hour of acute embarrassement I give up and have another look at the > Debian web site. > There's a list of recommened books which come with CDs. That's what I > really need thinks I. So I phone around the technical bookshops and low and > behold one of them has a product that I think will get me going: > Debian GNU/Linux: Guide to Installation and Usage > Author: John Goerzen and Ossama Othman > Publisher: New Riders Publishing > CD Included: one CD > > It's recommended on the web site and the title encourages me to think that > it should be easy to use. So, for $40 I buy this book. Take it home, read > through the first couple of chapters and am much more confident. I bung the > disk into the drive, and switch on. Hooray! it boots. A kernel runs and a > pretty menu of options appears. So, I step thought setting the colour, > selecting a keyboard, partitioning the disk . I set up a filesystem and > swap file everything appears to be fine. Then I come to the Install bit. > I choose to install off the CD (seems sensible to me). I see the following > message: > "Choose Debian archive path. Please choose the path inside the CD-ROM where > the Debian archive resides" > and the default appears to be /debian. I choose the default, not having any > other information. Then comes: > "Pleae select the directory containing the file resc1440tecra.bin" > This stumps me. How the hell should I know where that is? Being a > resourcefull character I back out of the menu wait until the CD is > unmounted, and place it in another machine and search for this file. It's > located at /debian/boot So back into the install procedure I go, enter > /debian/boot at the appropriate place. It seems to be denying the > existence of this file. --- but wait it's actually wanting the location of a > file with a similar name "drv1440tecra.bin". > I don't know where that is? I see there is an option `list' which > automatically detects it so I try that. Apparently it's not there. Back to > my other machine, and do a "find" . Sure enough it's not there. What do I > do now? I press like the start up screen told me. nothing happens. I > turn to the book. No hints. I spend the next 2 hours rebooting and trying > every possible path though the menu. including mounting the CD manually an
gcc OK
To my gcc correspondents and all I've been trying to port some code from Visual c to gcc with the usual newbie difficulties I rewrote some code to deal with library routines not provided by glibc and converted the c style i/o to c++ stream i/o but still ran into difficulties getting a clean compile til it suddenly occurred to me that a warning in Tom Swan's book (GNU C++ for Linux) about namespace not implemented at the time of his writing might still be the case Lo and behold I took the namespace reference out and the code took off like a bat out of hell, generating good output and a correct solution to a linear programming problem, needing only some further reworking to format the output I tried to print the output with a "lpr progout.dat" and got "parport0: detected irq 7; use procfs to enable interrupt-driven operation Would appreciate any enlightenment on how to proceed in response David
Re: Segmentation fault
I believe this is the code that was getting me into trouble, but it could be elsewhere fscanf (file, "%s", Title); fscanf (file, "%d %d %d %d %d %d", &m, &n, &it, <, &EQ, >); I was always uncomfortable with the notation esthetically, so I took advantage of the occasion to change all the i/o to stream style Once I got rid of "using namespace" it ran fine Don't go away. I'll be back whining about some other problem! Thanks, dancer. BTW, what's wrong with your code sample? I can see this is going to be daunting! David - Original Message - From: Junichi Uekawa <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]>; Sent: Sunday, February 13, 2000 9:56 PM Subject: Re: Segmentation fault > On Sun, 13 Feb 2000 03:45:55 -0800, "davidturetsky" <[EMAIL PROTECTED]> was crying out from somewhere > about: Re: Segmentation fault > > davidturetsky> It looks as though I was running into problems when trying to scan an input > davidturetsky> file using c notation which is less efficient of memory, so I'm in the > davidturetsky> process of revising all of the I/O to use c++ resources. Still, it comes as > davidturetsky> a surprise, but I'm very early on the gcc learning curve > > > Reading this I am wondering if you actually did allocate memory for the variables, or even did you do the right thing? > > for example, getting input for a double with scanf will require you doing something like > > double a; > scanf("%g", &a); > > You can even do double a; scanf("%g", a); and it might still work on MS compiler, it won't on gcc. > > > That was my personal experience migrating my own code. > I found many invalid pointers in my code. > MSC seems to be very "relaxed" in handling invalid pointers. > Linux is very harsh and kills your app with a segfault as soon as you try to > access it. > > For example, this code segfaults on Linux, which used to work perfectly fine on MSC: > > > char * bitsofmemory = malloc (BIG_SIZE); FILE*f =fopen(FILENAME, ATTRIBUTE); > if (!(bitsofmemory && f)) { >free(bitsofmemory); fclose(f) /* try to clean up and it dies...*/ >return ERROR; > }
Re: Segmentation fault
Thanks for all the feedback. I really don't know what the problem was here. The Title buffer was set to 80 char and the input was not 10 characters As I come up to speed, I'll get a better understanding of the nuances of gcc/g++. In the meantime, I think I'm much safer using safe practices, as below. In this particular case, it was useful for me to convert the code to c++ stream i/o, which reads very straightforwardly. I've since enhanced it with cgi code and it now outputs the results of its computation to a web page. For instance, the code below reads in>>Title; in>>m>>n>>it>>LT>>EQ>>GT; This will change again as I hand off the interface to the client terminal David - Original Message - From: Eric G . Miller To: Sent: Tuesday, February 15, 2000 8:10 PM Subject: Re: Segmentation fault > On Tue, Feb 15, 2000 at 11:08:21PM +0900, Junichi Uekawa wrote: > > On Mon, 14 Feb 2000 11:43:25 -0800, "davidturetsky" > > <[EMAIL PROTECTED]> was crying out from somewhere about: Re: > > Segmentation fault > > > > davidturetsky> I believe this is the code > >> that was getting me into trouble, but it could be > > davidturetsky> elsewhere > > davidturetsky> > > davidturetsky> fscanf (file, "%s", Title); > > davidturetsky> fscanf (file, "%d %d %d %d %d %d", > >> &m, &n, &it, <, &EQ, >); > > > Probably, the input string was too long for the char* Title? I don't > > know. MSC seems to let the stack be destroyed quite quietly. It's a > > feature, methinks. Not too many segfaults when developing, but > > occasional BOD on using. > > This is why, I think, that fgets is recommended over scanf/fscanf. > You'll always know the maximum of the data you read in. Of course, then > you still have to split it and check your input data matches what you > expected to receive. Also, newlines and whitespace can pile up in > scanf/fscanf. It's generally recognized as being unsafe (like C/C++ in > general!). >
Re: Modem doesn't respond
I had the same problem. It turned out I was trying to use a "Win" modem which is apparently generally not supported in Linux My problem went away when I installed a second USR "non-Win" modem. While I still have some configuring to do, it's clear I now get dial tone and dial out to my provider Check the model of your modem for the telltale "win" nomenclature David - Original Message - From: Pee To: debian-user@lists.debian.org Sent: Tuesday, February 15, 2000 9:05 PM Subject: Modem doesn't respond I have an internal 56k v90 USRobotic fax modem connected in Windows to COM2 and in Linux to ttyS1. It is working in Windows, but in Linux I always get a message saying that the modem does not respond. Do you know how to solve this problem? I tried on RedHat 6.1, Corel Linux, and Debian 2.1 and I always get the same message. TIA - Pee
Re: Your notice in Internet.
Would this be of any help in my coding? David - Original Message - From: Zygmunt Orlowski <[EMAIL PROTECTED]> To: debian-user Sent: Wednesday, February 16, 2000 11:21 AM Subject: Your notice in Internet. > You drive a car very often. Sometimes you must brake this car. > Have you got enough powerin your foot, your leg, your whole > body ? ? ? Y o u a r e t ow e a k . [Not strong enough } > That hydraulics Pascal's law helps y o u . > The hydraulics Pascal's law can help us to recive the clean > energy , too. It is possible !!! Please find : > http://www.nets.pl/~metozor [only seven pictures ] and after : > http://free.polbox.pl/m/metoz . Zygmunt Orlowski. >
c references
I have found anything by Herbert Schildt to be quite excellent and unusually comprehensible C: The Complete Reference C++: The Complete Reference both by Osborne/McGraw Hill David
Reading files from corrupted disk
I have a bunch of Windows95 files stranded on my old hard drives, not accessible from windows because the directory (I believe) has been corrupted How can I access them directly and copy them off onto the 34gb drive that came with my new system? If not readily accessible from simple script, does anyone know of some packages that retrieve files from a corrupted disk? TIA David
Re: pause page
man somesubject | more Press the spacebar when you want the next page. Press q to exit David - Original Message - From: Beavis To: debian-user@lists.debian.org Sent: Monday, February 28, 2000 8:49 PM Subject: pause page sometimes i try to read the help files, but they come down to fast how do you pause the scrolling text? the pause/ break button doesn't seem to respond i know this is a dumb question, but maybe somebody will get a good laugh!
Re: fips won't move hidden
I noticed something similar... I don't recall precisely how I dealt with it... check for options... perhaps it was Partition Magic which moved the upper files down to allow you to resize the partition in question David - Original Message - From: Constantin Vernicos <[EMAIL PROTECTED]> To: Brian J. Stults <[EMAIL PROTECTED]> Cc: debian Sent: Wednesday, March 08, 2000 11:09 AM Subject: Re: fips won't move hidden > On Wed, 8 Mar 2000, Brian J. Stults wrote: > > > I'm having trouble repartitioning a drive with a single FAT32 partition > > with FIPS. I defragged, did a clean boot, and ran it, but it gives an > > error that there are hidden or read-only files at the end of the > > partition. I tried disabling the swap file (which I probably should > > have done anyway.) That didn't help. Then I did "dir c:\ /s /a:h" to > > find all the hidden files and change them. That took forever and still > > didn't work. I don't want to shell out the money for Partition Magic. > > Does anyone have any suggestions? > > > > Thanks. > > > I think you should think again about using Partition Magic. I had the > same problem, and solved it by using PM, which did a wonderful job. > > Anyway, the probleme is with defrag, try and find another way to > defrag. > > Sorry if that doesn't help. > > Constantin Vernicos. > Institut Fourier. > tél: 04 76 51 46 56 > poste: 35 25 > mél: [EMAIL PROTECTED] > > > -- > Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] < /dev/null > >